feat: introduced Worker-based subagent execution with BUILTIN_TOOLS registry

- Added ToolSession interface and Bun Worker-based subagent execution replacing subprocess spawning.
- Added BUILTIN_TOOLS registry and createTools factory function replacing individual tool exports.
- Added toolNames parameter for filtering which built-in tools to include in agent sessions.
- Removed deprecated tool exports (codingTools, readOnlyTools, createCodingTools, createReadOnlyTools).
- Removed subagent custom tool example and question custom tool example.
This commit is contained in:
can1357
2026-01-07 03:03:34 +01:00
parent 3d4ace30d8
commit 753be5d87f
80 changed files with 5481 additions and 4221 deletions
+13 -3
View File
@@ -18,10 +18,19 @@
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "tab",
"indentWidth": 3,
"lineWidth": 120
"lineWidth": 120,
"lineEnding": "lf"
},
"javascript": {
"formatter": {
"semicolons": "always",
"quoteStyle": "double",
"trailingCommas": "all",
"bracketSpacing": true,
"arrowParentheses": "always"
}
},
"files": {
"includes": [
@@ -38,5 +47,6 @@
"!packages/mom/data/**/*",
"!!**/node_modules"
]
}
},
"assist": { "actions": { "source": { "organizeImports": "on" } } }
}