feat(skill_mcp): add dynamic truncation and grep filtering

- Add skill_mcp and webfetch to TRUNCATABLE_TOOLS list
- Add grep parameter for regex filtering of output lines
- Prevents token overflow from large MCP responses

🤖 GENERATED WITH ASSISTANCE OF [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
This commit is contained in:
YeonGyu-Kim
2026-01-01 23:43:00 +09:00
parent a82575b55f
commit bd05f5b434
4 changed files with 92 additions and 4 deletions

View File

@@ -16,6 +16,9 @@ const TRUNCATABLE_TOOLS = [
"ast_grep_search",
"interactive_bash",
"Interactive_bash",
"skill_mcp",
"webfetch",
"WebFetch",
]
interface ToolOutputTruncatorOptions {