coderouter 0.2.2__py3-none-macosx_11_0_arm64.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.
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: coderouter
|
|
3
|
+
Version: 0.2.2
|
|
4
|
+
Summary: coderouter - route Codex/Claude Code traffic across multiple ChatGPT Pro/Claude Max/OpenCode subscriptions and API keys.
|
|
5
|
+
License: MIT
|
|
6
|
+
Requires-Python: >=3.9
|
|
7
|
+
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
8
|
+
Project-URL: Homepage, https://cmux.com/coderouter
|
|
9
|
+
Project-URL: Repository, https://github.com/manaflow-ai/coderouter-releases
|
|
10
|
+
|
|
11
|
+
# coderouter CLI
|
|
12
|
+
|
|
13
|
+
coderouter - route Codex/Claude Code traffic across multiple ChatGPT Pro/Claude Max/OpenCode subscriptions and API keys.
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
cr add
|
|
17
|
+
cr codex
|
|
18
|
+
cr pi
|
|
19
|
+
cr naked
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
`coderouter` and `cr` are equivalent executable names. With no command, they
|
|
23
|
+
show the account and usage summary. Agent routing is always explicit.
|
|
24
|
+
|
|
25
|
+
## Commands
|
|
26
|
+
|
|
27
|
+
```text
|
|
28
|
+
cr account and usage summary
|
|
29
|
+
cr codex [arguments...] Codex through coderouter
|
|
30
|
+
cr opencode [arguments...] OpenCode through coderouter
|
|
31
|
+
cr pi [arguments...] Pi through coderouter (experimental)
|
|
32
|
+
cr naked [arguments...] ordinary Codex, with coderouter bypassed
|
|
33
|
+
cr direct [arguments...] alias for naked
|
|
34
|
+
cr add add Codex or OpenCode Go interactively
|
|
35
|
+
cr remove [account] [--yes] remove a subscription
|
|
36
|
+
cr accounts list available subscriptions
|
|
37
|
+
cr usage show quota state
|
|
38
|
+
cr doctor diagnose login and the Vercel data plane
|
|
39
|
+
cr login / cr logout manage this machine's coderouter session
|
|
40
|
+
cr login --device-auth copy a code into coderouter.dev/authorize
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
The Ratatui add flow supports direct Codex OAuth/PKCE and OpenCode Go device
|
|
44
|
+
authorization. Direct Codex authentication has an explicit portable-PTY
|
|
45
|
+
fallback through the official CLI. Normal agent credentials are untouched.
|
|
46
|
+
|
|
47
|
+
The production control plane is `https://coderouter.dev`. coderouter uses a
|
|
48
|
+
separate session config and never overwrites normal agent configuration.
|
|
49
|
+
`CODEROUTER_API_URL` can override the origin for staging and loopback tests.
|
|
50
|
+
|
|
51
|
+
## Routing
|
|
52
|
+
|
|
53
|
+
The CLI routes directly to the Vercel data plane at `coderouter.dev`. It does
|
|
54
|
+
not install Subrouter, a local daemon, Go code, or GCP tooling.
|
|
55
|
+
|
|
56
|
+
`cr pi` creates an ephemeral Pi provider extension for the current process. It
|
|
57
|
+
captures the route token during extension startup and immediately removes it
|
|
58
|
+
from Pi's process environment before tools can inherit it. It never writes the
|
|
59
|
+
token to Pi config and leaves normal providers, settings, extensions, and
|
|
60
|
+
sessions untouched.
|
|
61
|
+
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
coderouter-0.2.2.data/scripts/coderouter,sha256=_ejMcN9o9nP4oOLrPWROcUlYkXO3vw1bn01JmbopXMs,4532208
|
|
2
|
+
coderouter-0.2.2.data/scripts/cr,sha256=ER84Q_uHviGZWbkSvx0U_Gordfl3nj7DEbN07xDJksI,4532208
|
|
3
|
+
coderouter-0.2.2.dist-info/METADATA,sha256=5Cnz7e-oX38sbnMlMc83EMAMsWPWGx8p_UqBooLEmgw,2504
|
|
4
|
+
coderouter-0.2.2.dist-info/WHEEL,sha256=7m8kjhP_K0tQ6qXK8P1IG2YeRznSaoXUEpeK3IfZx-I,102
|
|
5
|
+
coderouter-0.2.2.dist-info/sboms/coderouter.cyclonedx.json,sha256=iiZhK_heHwMJUb0DEkEjv0ADTHI9GaqFZnx-KZgAcAY,321527
|
|
6
|
+
coderouter-0.2.2.dist-info/RECORD,,
|