Skip to content

feat: parallel tool execution + RTK-inspired tool result compressor#64

Open
veerareddyvishal144 wants to merge 2 commits intomainfrom
feat/parallel-tool-execution
Open

feat: parallel tool execution + RTK-inspired tool result compressor#64
veerareddyvishal144 wants to merge 2 commits intomainfrom
feat/parallel-tool-execution

Conversation

@veerareddyvishal144
Copy link
Copy Markdown
Contributor

  • Universal tool→shell converter handles arbitrary tool counts (model decides)
  • Unique tool_use ID generation with sequential counter to prevent collisions when models batch many calls
  • New src/context/tool-result-compressor.js: 10 RTK-inspired compressors for test output, git diff/status/log, lint output, build output, directory listings, large file skeletons, JSON, container output
  • Tier-adaptive compression thresholds (SIMPLE/MEDIUM/COMPLEX/REASONING)
  • Tee recovery cache (5min) — full output retrievable via /tee/:id
  • Compression metrics endpoint /metrics/tool-compression
  • Skip JSON compression on web_search/web_fetch results (preserve search content)
  • Convert Anthropic web_search_20XXXX server tools to function tools so non-Anthropic providers can execute them
  • Map item.content alongside snippet/summary/excerpt for SearXNG result parsing
  • Diagnostic logging for incoming tool types

vishal veerareddy and others added 2 commits April 28, 2026 18:41
- Universal tool→shell converter handles arbitrary tool counts (model decides)
- Unique tool_use ID generation with sequential counter to prevent collisions when models batch many calls
- New src/context/tool-result-compressor.js: 10 RTK-inspired compressors for test output, git diff/status/log, lint output, build output, directory listings, large file skeletons, JSON, container output
- Tier-adaptive compression thresholds (SIMPLE/MEDIUM/COMPLEX/REASONING)
- Tee recovery cache (5min) — full output retrievable via /tee/:id
- Compression metrics endpoint /metrics/tool-compression
- Skip JSON compression on web_search/web_fetch results (preserve search content)
- Convert Anthropic web_search_20XXXX server tools to function tools so non-Anthropic providers can execute them
- Map item.content alongside snippet/summary/excerpt for SearXNG result parsing
- Diagnostic logging for incoming tool types

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add curl install command to README Quick Start and Deployment sections
- Fix install.sh repo URLs (vishalveerareddy123 → Fast-Editor)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant