claude-code-router 0.1.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. ccr/__init__.py +0 -0
  2. ccr/__main__.py +4 -0
  3. ccr/cli.py +595 -0
  4. ccr/config.py +518 -0
  5. ccr/detect/__init__.py +123 -0
  6. ccr/doctor.py +208 -0
  7. ccr/entry.py +23 -0
  8. ccr/evaluate/__init__.py +13 -0
  9. ccr/evaluate/classify.py +335 -0
  10. ccr/evaluate/llm.py +182 -0
  11. ccr/evaluate/locate.py +359 -0
  12. ccr/evaluate/risk.py +285 -0
  13. ccr/evaluate/text.py +190 -0
  14. ccr/graph/__init__.py +15 -0
  15. ccr/graph/build.py +475 -0
  16. ccr/graph/db.py +88 -0
  17. ccr/graph/files.py +169 -0
  18. ccr/graph/git.py +90 -0
  19. ccr/graph/parse.py +510 -0
  20. ccr/graph/query.py +359 -0
  21. ccr/graph/resolve.py +256 -0
  22. ccr/headless.py +363 -0
  23. ccr/history/__init__.py +172 -0
  24. ccr/history/calibrate.py +161 -0
  25. ccr/history/dashboard.py +374 -0
  26. ccr/history/feedback.py +91 -0
  27. ccr/history/learn.py +184 -0
  28. ccr/history/prompts.py +120 -0
  29. ccr/history/redact.py +45 -0
  30. ccr/history/savings.py +187 -0
  31. ccr/history/shadow.py +114 -0
  32. ccr/history/stats.py +172 -0
  33. ccr/history/tune.py +80 -0
  34. ccr/history/why.py +186 -0
  35. ccr/hooks/__init__.py +134 -0
  36. ccr/hooks/bg.py +68 -0
  37. ccr/hooks/common.py +159 -0
  38. ccr/hooks/prompt.py +322 -0
  39. ccr/hooks/session_start.py +91 -0
  40. ccr/hooks/stop.py +52 -0
  41. ccr/hooks/tasks.py +170 -0
  42. ccr/install/__init__.py +388 -0
  43. ccr/install/agents.py +200 -0
  44. ccr/install/command.py +159 -0
  45. ccr/install/settings.py +175 -0
  46. ccr/memory/__init__.py +87 -0
  47. ccr/memory/signals.py +210 -0
  48. ccr/memory/sources.py +422 -0
  49. ccr/report.py +40 -0
  50. ccr/route/__init__.py +527 -0
  51. ccr/route/budget.py +166 -0
  52. ccr/statusline.py +143 -0
  53. ccr/transcript.py +98 -0
  54. claude_code_router-0.1.1.dist-info/METADATA +291 -0
  55. claude_code_router-0.1.1.dist-info/RECORD +58 -0
  56. claude_code_router-0.1.1.dist-info/WHEEL +4 -0
  57. claude_code_router-0.1.1.dist-info/entry_points.txt +2 -0
  58. claude_code_router-0.1.1.dist-info/licenses/LICENSE +21 -0
@@ -0,0 +1,291 @@
1
+ Metadata-Version: 2.5
2
+ Name: claude-code-router
3
+ Version: 0.1.1
4
+ Summary: Route Claude Code tasks to the cheapest sufficient model and effort
5
+ Project-URL: Homepage, https://github.com/ai-solution-architect-roadmap/claude-code-router
6
+ Project-URL: Documentation, https://github.com/ai-solution-architect-roadmap/claude-code-router/blob/main/docs/REFERENCE.md
7
+ Project-URL: Changelog, https://github.com/ai-solution-architect-roadmap/claude-code-router/blob/main/CHANGELOG.md
8
+ Project-URL: Issues, https://github.com/ai-solution-architect-roadmap/claude-code-router/issues
9
+ Author: Satya Prakash Tiwari
10
+ License-Expression: MIT
11
+ License-File: LICENSE
12
+ Keywords: claude-code,cli,cost-optimization,llm,model-routing,routing
13
+ Classifier: Development Status :: 4 - Beta
14
+ Classifier: Environment :: Console
15
+ Classifier: Intended Audience :: Developers
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Topic :: Software Development
21
+ Classifier: Topic :: Utilities
22
+ Requires-Python: >=3.10
23
+ Requires-Dist: pyyaml>=6
24
+ Requires-Dist: tree-sitter-language-pack>=0.2
25
+ Requires-Dist: typer>=0.12
26
+ Description-Content-Type: text/markdown
27
+
28
+ # ccr: the cheapest sufficient model for Claude Code
29
+
30
+ [![CI](https://github.com/ai-solution-architect-roadmap/claude-code-router/actions/workflows/ci.yml/badge.svg)](https://github.com/ai-solution-architect-roadmap/claude-code-router/actions/workflows/ci.yml)
31
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/ai-solution-architect-roadmap/claude-code-router/blob/main/LICENSE)
32
+ [![Python 3.10+](https://img.shields.io/badge/python-3.10%2B-blue.svg)](https://github.com/ai-solution-architect-roadmap/claude-code-router/blob/main/pyproject.toml)
33
+ [![Built for Claude Code](https://img.shields.io/badge/built%20for-Claude%20Code-d97757.svg)](https://claude.com/claude-code)
34
+ [![Rule-based](https://img.shields.io/badge/routing-rule--based%20%26%20local-success.svg)](#how-it-works)
35
+ [![Last commit](https://img.shields.io/github/last-commit/ai-solution-architect-roadmap/claude-code-router)](https://github.com/ai-solution-architect-roadmap/claude-code-router/commits/main)
36
+
37
+ `ccr` routes each Claude Code task to the cheapest model and effort level that should be
38
+ enough for it, so your subscription goes further without you picking models by hand. You keep
39
+ typing plain `claude`.
40
+
41
+ ```
42
+ ccr: T2 (sonnet/medium) — touches app/payments/ledger.py, 2 dependents, no tests found,
43
+ critical path: payments. Delegate implementation to ccr-implement; use Explore (haiku) for search.
44
+ ```
45
+
46
+ ## Screenshots
47
+
48
+ `ccr explain` shows the tier and exactly why, without running anything:
49
+
50
+ ![ccr explain output](https://raw.githubusercontent.com/ai-solution-architect-roadmap/claude-code-router/main/docs/images/explain.png)
51
+
52
+ `ccr dashboard` writes a self-contained HTML report of tiers, success rate, estimated savings and
53
+ every routing decision:
54
+
55
+ ![ccr dashboard](https://raw.githubusercontent.com/ai-solution-architect-roadmap/claude-code-router/main/docs/images/dashboard.png)
56
+
57
+ ## How it works
58
+
59
+ For every prompt, a hook decides a tier using local, rule-based checks (no tokens spent, under
60
+ half a second):
61
+
62
+ 1. **Classify** the task: question, bugfix, feature, refactor, migration, security, and so on.
63
+ 2. **Locate** the code it touches, using a local tree-sitter code graph (`.ccr/graph.db`).
64
+ 3. **Score risk**: dependents, complexity, test coverage, churn, critical paths (auth, payments,
65
+ migrations, infra, secrets) and notes in `CLAUDE.md` or memory.
66
+ 4. **Adjust** with your team's past outcomes and your weekly usage.
67
+ 5. **Hint** Claude with one line, which delegates the work to a tiered `ccr-*` subagent.
68
+
69
+ | Tier | Model / effort | Agent | Typical work |
70
+ |------|-----------------|-----------------|--------------|
71
+ | T0 | haiku / low | `ccr-quick` | questions, lookups, typos, renames |
72
+ | T1 | sonnet / low | `ccr-small` | tests, clear bug fixes, small edits |
73
+ | T2 | sonnet / medium | `ccr-implement` | features, refactors, perf work |
74
+ | T2H | sonnet / high | `ccr-senior` | risky or complex multi-file changes |
75
+ | T3 | opus / high | `ccr-architect` | migrations, security, unclear bugs, design |
76
+ | T4 | opus / xhigh | `ccr-critical` | critical-path changes only |
77
+
78
+ ## Install
79
+
80
+ Requires Python 3.10+, git, and Claude Code (`claude`) on PATH.
81
+
82
+ ```sh
83
+ uv tool install claude-code-router
84
+ # or
85
+ pipx install claude-code-router
86
+ # or
87
+ pip install claude-code-router
88
+
89
+ ccr --help
90
+ ```
91
+
92
+ The package is `claude-code-router`; the command it installs is `ccr`. To install the latest
93
+ unreleased code instead, use `uv tool install git+https://github.com/ai-solution-architect-roadmap/claude-code-router.git`.
94
+
95
+ > Name clash: the npm package *claude-code-router* also installs a `ccr` command. Install
96
+ > this tool so `ccr` on your PATH is this one. `ccr doctor` checks.
97
+
98
+ The `.claude/` folder in this repo is a working example of what `ccr init` generates (agents and
99
+ settings), because ccr routes its own development.
100
+
101
+ ## Quick start
102
+
103
+ ```sh
104
+ cd your-project
105
+ ccr init --dry-run # show the exact diff of every file it would touch; writes nothing
106
+ ccr init # apply it (modified files are backed up to .ccr/backups/)
107
+ ccr doctor # check the setup
108
+ ccr explain "Fix the off-by-one in paginate() in app/api/pagination.py" # preview a decision
109
+ claude # work as usual
110
+ ```
111
+
112
+ Re-running `ccr init` is safe. To skip routing for one prompt, put `!noroute` at the end of it.
113
+
114
+ ## Commands
115
+
116
+ Every command accepts `--path DIR` (project root, default `.`) and `--help`. Run `ccr --help`
117
+ for the list.
118
+
119
+ ### Setup
120
+
121
+ **`ccr init`** installs settings (model, hooks, status line), the `ccr-*` agents and
122
+ `.ccr/config.yaml`. Safe to re-run; modified files are backed up to `.ccr/backups/`.
123
+
124
+ | Option | Effect |
125
+ |--------|--------|
126
+ | `--dry-run` | Print the exact diff; write nothing |
127
+ | `--force` | Override your `model`/`effortLevel` and regenerate edited ccr agent files (with backups) |
128
+ | `--local` | Write settings to `.claude/settings.local.json` (personal, uncommitted) |
129
+ | `--no-statusline` | Do not install the status line relay |
130
+ | `--no-graph` | Skip building the code graph |
131
+ | `--command CMD` | Command prefix the hooks use to run ccr (default: auto-detect) |
132
+
133
+ ```sh
134
+ ccr init --dry-run
135
+ ccr init --local --no-statusline
136
+ ```
137
+
138
+ **`ccr profile [PATH]`** prints the detected languages, frameworks, file count and LOC, and the
139
+ suggested session default model/effort.
140
+
141
+ | Option | Effect |
142
+ |--------|--------|
143
+ | `--apply` | Write the suggestion into `.claude/settings.json` (overrides existing values) |
144
+ | `--dry-run` | With `--apply`: print the diff only |
145
+ | `--local` | With `--apply`: write `.claude/settings.local.json` instead |
146
+
147
+ **`ccr doctor`** checks the environment and project setup. `--verbose` logs details to
148
+ `.ccr/local/ccr.log`.
149
+
150
+ **`ccr graph`** builds or refreshes the code graph incrementally, or inspects it.
151
+
152
+ | Option | Effect |
153
+ |--------|--------|
154
+ | `--rebuild` | Drop and rebuild the graph |
155
+ | `--stats` | Show graph statistics |
156
+ | `--query SYMBOL` | Look up a symbol |
157
+ | `--offline` | Never download tree-sitter grammars |
158
+
159
+ ### Routing
160
+
161
+ **`ccr explain "<task>"`** shows the tier, scores, touched files and reasoning. Runs nothing.
162
+ `--json` gives machine-readable output; `--llm` asks haiku (your `claude` CLI) when rule
163
+ confidence is low.
164
+
165
+ ```sh
166
+ ccr explain "Fix the off-by-one in paginate() in app/api/pagination.py"
167
+ ```
168
+
169
+ **`ccr run "<task>"`** runs the task headlessly with `claude -p` at the routed tier and climbs
170
+ one tier if the attempt fails. Omit the task or pass `-` to read it from stdin.
171
+
172
+ | Option | Effect |
173
+ |--------|--------|
174
+ | `--tier T0..T4` | Start at this tier instead of the routed one |
175
+ | `--max-turns N` | Turn cap per attempt (default `run.max_turns`) |
176
+ | `--max-budget-usd X` | Spend cap for the whole run, all attempts |
177
+ | `--max-escalations N` | Tiers to climb after a failure, 0 to 4 (default 1) |
178
+ | `--test-command CMD` | Shell command that must exit 0 for success (default `run.test_command`) |
179
+ | `--no-test` | Skip the test command |
180
+ | `--permission-mode MODE` | Passed to claude, e.g. `acceptEdits` |
181
+ | `--no-llm` | Rules only; never ask haiku to help classify |
182
+ | `--dry-run` | Show the routing and the command; run nothing |
183
+ | `--json` | Print a JSON summary instead of the result text |
184
+
185
+ ```sh
186
+ ccr run "add a --dry-run flag to app/main.py" --test-command "pytest -q" --max-budget-usd 2
187
+ ```
188
+
189
+ ### Feedback, stats and learning
190
+
191
+ **`ccr feedback [good|bad]`** marks the last routed task good or bad (a correction record is
192
+ appended; history is never rewritten). With no verdict it shows the last task. Use `--id PREFIX`
193
+ to target a task by id instead of the most recent one.
194
+
195
+ **`ccr stats`** shows usage, estimated savings, misroutes, tier distribution, and success and
196
+ escalation rates per tier, area and task class.
197
+
198
+ | Option | Effect |
199
+ |--------|--------|
200
+ | `--days N` | Only the last N days |
201
+ | `--misroutes` | List each over- and under-routed task |
202
+ | `--json` | Machine-readable output |
203
+
204
+ **`ccr dashboard`** writes a self-contained HTML dashboard (charts, savings, misroutes, recent
205
+ tasks). Options: `--days N`, `--out FILE` (default `.ccr/local/dashboard.html`), `--open` to open
206
+ it in the browser.
207
+
208
+ **`ccr calibrate`** fits failure odds on the routing signals and compares them with the rules.
209
+ Report only; it never changes routing. Needs about 30 decided tasks. `--json` for machine output.
210
+
211
+ **`ccr tune`** proposes config edits from misroute evidence as a diff. Nothing changes unless
212
+ you pass `--apply`, which backs up the config first.
213
+
214
+ **`ccr shadow`** re-runs sampled deep-tier tasks at a lower tier in a throwaway git worktree to
215
+ measure over-routing. Opt-in and costs real usage; without `--yes` it only prints the plan.
216
+ Needs `hooks.store_prompts`.
217
+
218
+ | Option | Effect |
219
+ |--------|--------|
220
+ | `--from-tier T` | Sample tasks routed to this tier or above (default `T3`) |
221
+ | `--shadow-tier T` | Tier to try instead (default: one below the task's tier) |
222
+ | `--sample N` | How many tasks to re-run, 1 to 50 (default 3) |
223
+ | `--max-budget-usd X` | Total spend cap across the sample |
224
+ | `--test-command CMD` | Must exit 0 for a shadow run to count as success |
225
+ | `--yes` | Actually run |
226
+
227
+ **`ccr export-benchmark`** writes a replay set from decided tasks with stored prompts to
228
+ `--out FILE` (default `ccr-benchmark.json`). Replay it with
229
+ `uv run python scripts/bench_routing.py --prompts FILE`.
230
+
231
+ ### Privacy
232
+
233
+ **`ccr purge`** deletes or scrubs locally stored prompts and shadow results. It shows what it
234
+ would do first and deletes only with `--yes`.
235
+
236
+ | Option | Effect |
237
+ |--------|--------|
238
+ | `--prompts` | Stored prompts and decisions |
239
+ | `--shadow` | Shadow-run results |
240
+ | `--older-than N` | Only prompts older than N days |
241
+ | `--redact` | Re-scrub existing stored prompts |
242
+ | `--yes` | Actually delete |
243
+
244
+ ### Internal (called by Claude Code, not by you)
245
+
246
+ - **`ccr hook session-start|prompt|stop`** is the hook entry. It reads hook JSON on stdin and
247
+ always exits 0.
248
+ - **`ccr statusline`** is the status line relay. It records model, effort and rate limits, and
249
+ prints a short line. `--wrap "<cmd>"` runs your own status line command and prints its output.
250
+
251
+ ## Configuration
252
+
253
+ `ccr init` creates `.ccr/config.yaml`; commit it. Any key you leave out uses the default. You
254
+ can change the tiers, class base tiers, critical paths and terms, risk weights, budget limits
255
+ and learning thresholds. See the [full reference](https://github.com/ai-solution-architect-roadmap/claude-code-router/blob/main/docs/REFERENCE.md).
256
+
257
+ ## Accuracy
258
+
259
+ `scripts/bench_routing.py` replays a labelled prompt set against a fixture project with no API
260
+ calls. It reports under-routed and over-routed prompts and the estimated cost against all-Opus
261
+ and all-Sonnet baselines. The labels are judgment calls, so edit them to match your own work.
262
+ It measures routing quality, not answer quality.
263
+
264
+ Routing is strongest for clearly worded prompts in a supported language with a fresh graph.
265
+ It is weaker for prompts that name no code and for projects with unusual folder names until
266
+ you add your own `critical_paths`, `critical_terms` and `hard_terms`.
267
+
268
+ ## Privacy
269
+
270
+ All routing decisions run locally. The only model call ccr makes on its own is an optional,
271
+ opt-in classification by haiku through your own `claude` CLI. Local state lives in `.ccr/`.
272
+
273
+ ## Documentation
274
+
275
+ The [reference](https://github.com/ai-solution-architect-roadmap/claude-code-router/blob/main/docs/REFERENCE.md) covers the full configuration, team workflow, status line and
276
+ budget pressure, hooks and fail-open behavior, headless runs, feedback and learning, privacy,
277
+ limitations and troubleshooting.
278
+
279
+ ## Development
280
+
281
+ See [CONTRIBUTING.md](https://github.com/ai-solution-architect-roadmap/claude-code-router/blob/main/CONTRIBUTING.md) and the [changelog](https://github.com/ai-solution-architect-roadmap/claude-code-router/blob/main/CHANGELOG.md).
282
+
283
+ ```sh
284
+ uv sync
285
+ uv run pytest
286
+ uv run python scripts/bench_routing.py
287
+ ```
288
+
289
+ ## License
290
+
291
+ [MIT](https://github.com/ai-solution-architect-roadmap/claude-code-router/blob/main/LICENSE)
@@ -0,0 +1,58 @@
1
+ ccr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ ccr/__main__.py,sha256=GNHlKcrqWHt5iRGX-ZwVqFXgxfm3ARr4QbZn4_SXai4,112
3
+ ccr/cli.py,sha256=34c9Js_1ZwxR92Hi9zMuVZl1MTgscLwwVnZbO9H7HcQ,29390
4
+ ccr/config.py,sha256=4mMqd1jjzwoFDo7Sgs7rhJZmZ_EoSS8MEHrJQlA3bhY,23634
5
+ ccr/doctor.py,sha256=tkdDbBK6J_a8HDm4Fj6Y7mau6PwD6Wr86oCs7w_fEw8,9035
6
+ ccr/entry.py,sha256=pgqo75o_AJL3p5LLZho35D2zJl2lPYPWWDKD1OwE-cE,727
7
+ ccr/headless.py,sha256=ITwSaQ0wTYi1tz3c7rJoxDP7ZRlwOy5eXe7zt3nc1NA,16568
8
+ ccr/report.py,sha256=N20U-6DKST5sOX92V-Etcv35lsW4bD92-pNoU6sBlUQ,2103
9
+ ccr/statusline.py,sha256=UU-5hVOq__bavlStbvK5LlFnAZS2a7VEkWNq_vp_-Cw,5748
10
+ ccr/transcript.py,sha256=iUEccrD9TuKWXDu0kIXZyqTQrzV-GNl7u4_gKamtn8E,3912
11
+ ccr/detect/__init__.py,sha256=WKtPQuIliB48kjSBFqTc48uuc1hupvCBMYHbtm9SC5A,4507
12
+ ccr/evaluate/__init__.py,sha256=-W9SHIhGLezT2M9ElF5xBurb8vrXkcrrMbOjsRZCSPc,547
13
+ ccr/evaluate/classify.py,sha256=h3xuxT4POuJ7Tt_AYhovrF26Zng7biKbyBgFT4aMzNQ,18647
14
+ ccr/evaluate/llm.py,sha256=AVKLbeubBOp3KFZRmcTnpTWkCl7q1t-Lrqxm_Ooiprg,7150
15
+ ccr/evaluate/locate.py,sha256=Xoh_8tZoAhPtGeKqKzeW2Y3Kz81JcODijodWyNQq_xU,14630
16
+ ccr/evaluate/risk.py,sha256=gV5GfsqNfzgXDSp3EzPiyK0e5RYb4sfDD7ydtmbewBs,11111
17
+ ccr/evaluate/text.py,sha256=e583bzFNPp3WXhqyMKy6ubo_1aWYJxELc_Ch6bIOBzA,8507
18
+ ccr/graph/__init__.py,sha256=DWGbz9kJ6_zOthASjK5CzfpX5rNLr6ZQAufuBfoa_gY,567
19
+ ccr/graph/build.py,sha256=aKIrD5nbyYpA2ddfcPj9ts64whSuEtOXxhVeibUeaFo,21842
20
+ ccr/graph/db.py,sha256=l4LuAerY7rU8pAEfTVbcjUxAXgicw66PALB9iRTE54g,3663
21
+ ccr/graph/files.py,sha256=E2jxlNVyOlVU0ZaSTfK5e8xb_r32154QFI0TI5kawOo,6083
22
+ ccr/graph/git.py,sha256=r5-afebLL7rJr8ZI2oF3UFvHtQoA3AwtZrag42Z45aE,3111
23
+ ccr/graph/parse.py,sha256=0d4RfSk6N6Y8jrrDA0KZkvz4-ve5cVupYVI5b7jDMyg,22614
24
+ ccr/graph/query.py,sha256=bYNezn_ZDQ6b1eK9ybvItcBTjdw1hr7i0S1tZlpXhs8,15586
25
+ ccr/graph/resolve.py,sha256=2juAM6UMXKGr9uaIFWK6Ju_Q4m6FYUSOj8gH1NPWOjA,10921
26
+ ccr/history/__init__.py,sha256=L_CjXxDZBF1omUQKhlCbg9dwFWk3HGfTmdTJR31eJnM,7097
27
+ ccr/history/calibrate.py,sha256=oNnMb5ahYZw5P1LN572Fo9iCAb3h13jCh3aEftftxcA,7797
28
+ ccr/history/dashboard.py,sha256=CkujOPg7LYEGkJruXFzXaB-qDUcq5n96d7QN5ILUh08,34149
29
+ ccr/history/feedback.py,sha256=PhdKQQGU0hE52nhLydWs8YwYqf8Lu2bB_raosDHK4_Q,3197
30
+ ccr/history/learn.py,sha256=cUu2SMpGzUs4hWaPgi-VG2Fq0NAVHS31Bj6XZL8yypk,8980
31
+ ccr/history/prompts.py,sha256=VJxGSryaWufB82LE-f7WQ0UOhTfpou09Vts1EYqHLf4,4491
32
+ ccr/history/redact.py,sha256=mwVVKThSZG9-3z2MgZ3gZ7JWf-xfyHeS6qtfpVaHY2E,2108
33
+ ccr/history/savings.py,sha256=znuOZR07jXvF9pAD-JfjHcoPJ-3jZO-HshEXZ7X9S2Y,9004
34
+ ccr/history/shadow.py,sha256=LL8YDvj5hwRGodiMUsc5U1A4WYW2labub4_VSEOOqeU,4784
35
+ ccr/history/stats.py,sha256=46ZZbZSl46qAKGhsR3KPANob8qjOYn6hHxGfq_qDuMg,7976
36
+ ccr/history/tune.py,sha256=P_tij004K8w30fcZOFlL7M3GEzQm6NSXIKHjWAFbjPM,3554
37
+ ccr/history/why.py,sha256=ZhAEqG6LzQM9_tlSX5EMsEVfYy19nhqz-2HcBh9thxQ,10849
38
+ ccr/hooks/__init__.py,sha256=xSvSyrVRAFF57QuE2uPXYAB2ACMo-mUbSqs9oHOtTjQ,4853
39
+ ccr/hooks/bg.py,sha256=63PcFXIz_Nmf_jtgtokM7PU4DMma8QzzxxPbnQ22t0A,1861
40
+ ccr/hooks/common.py,sha256=Op1Cyym_lFCzGil91hqYL-o1NUncsIH-IMvCDLkcOJI,5284
41
+ ccr/hooks/prompt.py,sha256=xybYIYSj3x8iJQA0oq8dhgSimPBlsX54qq8KptFOOLk,15298
42
+ ccr/hooks/session_start.py,sha256=-MlSElAYXt13cF2j1-h2euMquNdl1EPjfbgJtoCSAFM,3707
43
+ ccr/hooks/stop.py,sha256=uHKv9G5kIkUEeU1sNziGyotjyKkQBy3kpROmhx2TZEU,2530
44
+ ccr/hooks/tasks.py,sha256=f9oWSmU5LIbKJz468vzIm8Jn7uH1y0DaQRio265wbXs,7285
45
+ ccr/install/__init__.py,sha256=xqwVAJiUmDrOIwNSLBFYwF6yQ3fiEFY2I-ZOs722KM0,17002
46
+ ccr/install/agents.py,sha256=S9NFyelYSgKwTAm62D4IAuwJQ_KkVl751L6UtKBUjmc,9445
47
+ ccr/install/command.py,sha256=AmS5lpgZ9iOpJMzamVSN6EfCwgC2V5k5ynVGO903Gcg,5690
48
+ ccr/install/settings.py,sha256=psxtONJYhy_K1f0HL9jI7Uw46aRZzwLeAgZ4x8CFZhw,6619
49
+ ccr/memory/__init__.py,sha256=MvYBwCeWmzMBtQKLRoj4SUnxaJcP-xIw4GhIy1p-XXk,3384
50
+ ccr/memory/signals.py,sha256=Gx4T--YDP7fVbhZLuHQCDpqcKQY-AwqcYgzvurKSfJE,8748
51
+ ccr/memory/sources.py,sha256=7bgnS8I_2iHRuVsMBD9H5yX_e12NWcWUVmd3GBsg3y0,15396
52
+ ccr/route/__init__.py,sha256=pPMLKo5Dkfx2JI9hI63hLYNh4RbT0lgOgcEfw7ZOTtU,24622
53
+ ccr/route/budget.py,sha256=57jSK62QlK6QkP4vRaehrSwzQ9jM8DJ5_D24U61yOw4,6363
54
+ claude_code_router-0.1.1.dist-info/METADATA,sha256=d4iaNeRGaoufya6vwDXvAbJNMmOHjGmoT5Vm8pFu28s,13269
55
+ claude_code_router-0.1.1.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
56
+ claude_code_router-0.1.1.dist-info/entry_points.txt,sha256=jMG21jvZ1fTujWZCIBVm_tZyINVCrA7OCPiIvEPtrZU,39
57
+ claude_code_router-0.1.1.dist-info/licenses/LICENSE,sha256=XK6bxhXF7PFBM97LF5dqSKeKlFO5O6TLzC9xzraUCXQ,1077
58
+ claude_code_router-0.1.1.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.4
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ ccr = ccr.entry:main
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Satya Prakash Tiwari
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.