Skip to content

Feat/codexsaver inspired routing#66

Merged
veerareddyvishal144 merged 9 commits into
mainfrom
feat/codexsaver-inspired-routing
May 20, 2026
Merged

Feat/codexsaver inspired routing#66
veerareddyvishal144 merged 9 commits into
mainfrom
feat/codexsaver-inspired-routing

Conversation

@veerareddyvishal144
Copy link
Copy Markdown
Contributor

No description provided.

vishal veerareddy and others added 7 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>
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>
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>
…red-routing

# Conflicts:
#	.claude/settings.local.json
vishal veerareddy and others added 2 commits May 20, 2026 15:36
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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>
@veerareddyvishal144 veerareddyvishal144 merged commit 4a91418 into main May 20, 2026
3 checks passed
@veerareddyvishal144 veerareddyvishal144 deleted the feat/codexsaver-inspired-routing branch May 20, 2026 22:51
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