Commit 4a91418
Feat/codexsaver inspired routing (#66)
* feat: parallel tool execution + RTK-inspired tool result compressor
- 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>
* docs: add curl one-line installer to README, fix repo URLs in install.sh
- 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>
* feat: add web dashboard UI at /dashboard
Adds a zero-dependency, no-build-step SPA dashboard served by Express:
- Overview: stat cards (requests/tokens/cost/saved), provider health,
recent requests table with live timestamps
- Usage: 1d/7d/30d/all window selector, stacked bar chart by tier,
breakdown tables by tier / provider / model
- Routing: tier definition cards, routing accuracy panel,
per-provider stats table, circuit breaker states
- Logs: filterable 100-row request log with provider/tier/error filters
Auto-detects the active time window (24h → 7d → 30d → all) so panels
never show empty when no requests were made in the last 24h.
Provider stats are derived from actual DB rows rather than config,
so any provider that handled traffic appears automatically.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* added united
* chore: remove local tooling artifacts from PR
Untrack .claude/, .claw/, .deepsec/, .lynkr/ and add them to .gitignore.
These directories contain local session state, settings, and telemetry
that shouldn't be checked into the repo.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* added token saving
* chore: drop CodexSaver work_packet.py URL from preflight.js docstring
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* chore: remove remaining CodexSaver attribution comments
Strips four upstream attribution comments from risk-analyzer.js,
interaction.js, config/index.js, and .env.example. No behavior change.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: vishal veerareddy <vishalveera.reddy@servicenow.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 4ae5a77 commit 4a91418
136 files changed
Lines changed: 1805 additions & 3935 deletions
File tree
- .claude
- .claw/sessions/036613fb41cdedd8
- .deepsec
- findings
- BUG
- CRITICAL
- HIGH_BUG
- HIGH
- LOW
- MEDIUM
- .lynkr
- docs
- src
- api
- config
- orchestrator
- routing
- test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
This file was deleted.
Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 0 additions & 2 deletions
This file was deleted.
Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 0 additions & 65 deletions
This file was deleted.
Lines changed: 0 additions & 3 deletions
This file was deleted.
0 commit comments