You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,31 @@
2
2
3
3
All notable changes to this project will be documented in this file.
4
4
5
+
## [0.1.8] - 2026-05-09
6
+
7
+
### Fixed
8
+
- Renamed base exception class from `RouterSmitError` to `RoutesmithError` (typo fix).
9
+
- Removed unused `import time` from `metrics.py` and `import os` from `state.py`.
10
+
- Moved `import math` from inside function body to module level in `planner.py`.
11
+
- Fixed TOML fallback parser not parsing float values (e.g. `7.5` stayed as a string).
12
+
13
+
### Changed
14
+
-`hosts/__init__.py` now exports all host adapters (Aider, ClaudeCode, Codex, Copilot, Cursor, GeminiCLI, Generic) instead of only GeminiCLI.
15
+
16
+
## [0.1.7] - 2026-05-09
17
+
18
+
### Added
19
+
- Token-efficient install guidance for Claude Code, Codex, Gemini CLI, Copilot, Cursor, VS Code, and Aider with delegation tiers, spawn depth rules, preferred tool selection, and context-management recommendations.
20
+
- Project-scoped Claude Code settings generation for `CLAUDE_AUTOCOMPACT_PCT_OVERRIDE` and `CLAUDE_CODE_DISABLE_1M_CONTEXT`, merged additively into `.claude/settings.json`.
21
+
- Concrete Aider context defaults for chat history limits, prompt caching, and repo-map size.
22
+
- New `SkillConfig` fields for `context_window_limit`, `autocompact_threshold`, and `max_spawn_depth`.
23
+
- New `HostCapabilities.supports_context_management` flag.
24
+
- Delegation-tier, task-complexity, and tool-cost advisories.
-`context_window_limit = true` tells install adapters to prefer leaner context defaults when the host exposes a real setting. Today this produces concrete settings for Claude Code and advisory guidance for the other hosts.
181
+
-`autocompact_threshold = 80` lowers the context usage percentage at which auto-compaction should kick in for hosts that support it. Today Claude Code uses this to write `CLAUDE_AUTOCOMPACT_PCT_OVERRIDE`.
182
+
-`max_spawn_depth = 2` controls the advisory spawn-depth limit written into generated host instruction files so subagents do not recurse into wasteful coordination trees.
183
+
145
184
Recommended config shape:
146
185
147
186
- Add a `[routesmith]` section with values such as `default_mode = "auto"`, `allow_model_switch = true`, and `routing_preference = "cost"` when you want cheaper model selection.
187
+
- Add token-efficiency settings such as `context_window_limit`, `autocompact_threshold`, and `max_spawn_depth` when you want generated host configs to bias toward smaller contexts and shallower delegation.
148
188
- Add a `[routesmith.policy_overrides]` section when you want static remaps such as `planning = "balanced"` or `documentation = "fast"`.
149
189
- Add a `policy_plugins` list when you want importable Python hooks such as `my_project.routing:plugin` or `my_project.routing:CustomPlugin` to participate in route resolution.
150
190
- Add performance settings such as `performance_routing_enabled = true`, `performance_store_file = ".routesmith/performance.json"`, `performance_max_records = 500`, and `performance_max_age_days = 30` when you want tighter telemetry control.
@@ -175,12 +215,12 @@ When a model's historical success rate drops below 70% or average latency exceed
175
215
176
216
Generate host-specific configuration files:
177
217
178
-
-`routesmith install claude` writes `CLAUDE.md`.
218
+
-`routesmith install claude` writes `CLAUDE.md` and merges token-saving settings into `.claude/settings.json`.
Copy file name to clipboardExpand all lines: pyproject.toml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
5
5
[project]
6
6
name = "routesmith"
7
-
version = "0.1.6"
7
+
version = "0.1.8"
8
8
description = "Auto-route coding agent tasks to the best model in your IDE. Python library + MCP server for Claude Code, Codex, Gemini CLI, Copilot, Cursor, and Aider."
0 commit comments