Commit f3a08bc
refactor: extract tool classification sets to module-level constants
Moves READ_ONLY_TOOLS and DESTRUCTIVE_TOOLS from inline arrays to
module-level Set constants for better maintainability.
Agent-Logs-Url: https://github.com/objectstack-ai/framework/sessions/5eb90a65-846f-4f24-947f-1c0e7ea5090e
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>1 parent a31c298 commit f3a08bc
File tree
1 file changed
+21
-2
lines changed- packages/plugins/plugin-mcp-server/src
1 file changed
+21
-2
lines changedLines changed: 21 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
36 | 55 | | |
37 | 56 | | |
38 | 57 | | |
| |||
191 | 210 | | |
192 | 211 | | |
193 | 212 | | |
194 | | - | |
| 213 | + | |
195 | 214 | | |
196 | 215 | | |
197 | 216 | | |
198 | 217 | | |
199 | 218 | | |
200 | 219 | | |
201 | | - | |
| 220 | + | |
202 | 221 | | |
203 | 222 | | |
204 | 223 | | |
| |||
0 commit comments