coderouter 0.2.2__py3-none-win_amd64.whl → 0.3.0__py3-none-win_amd64.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.
- coderouter-0.3.0.data/scripts/coderouter.exe +0 -0
- coderouter-0.3.0.data/scripts/cr.exe +0 -0
- {coderouter-0.2.2.dist-info → coderouter-0.3.0.dist-info}/METADATA +77 -51
- coderouter-0.3.0.dist-info/RECORD +6 -0
- {coderouter-0.2.2.dist-info → coderouter-0.3.0.dist-info}/sboms/coderouter.cyclonedx.json +16 -49
- coderouter-0.2.2.data/scripts/coderouter.exe +0 -0
- coderouter-0.2.2.data/scripts/cr.exe +0 -0
- coderouter-0.2.2.dist-info/RECORD +0 -6
- {coderouter-0.2.2.dist-info → coderouter-0.3.0.dist-info}/WHEEL +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: coderouter
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: coderouter - route Codex/Claude Code traffic across multiple ChatGPT Pro/Claude Max/OpenCode subscriptions and API keys.
|
|
5
5
|
License: MIT
|
|
6
6
|
Requires-Python: >=3.9
|
|
@@ -8,54 +8,80 @@ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
|
8
8
|
Project-URL: Homepage, https://cmux.com/coderouter
|
|
9
9
|
Project-URL: Repository, https://github.com/manaflow-ai/coderouter-releases
|
|
10
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
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
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
|
+
cr capabilities --json report credential-free CLI capabilities
|
|
42
|
+
cr org current show the active organization
|
|
43
|
+
cr org list list authorized coderouter organizations
|
|
44
|
+
cr org switch <name-or-id> switch organization and routing credentials
|
|
45
|
+
cr upgrade open cmux Pro and Team pricing
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Organization switching is fail-closed. The server returns only organizations
|
|
49
|
+
where the signed-in user can use or manage coderouter, and the CLI persists the
|
|
50
|
+
new scope only after receiving a new organization-scoped route token.
|
|
51
|
+
|
|
52
|
+
The Ratatui add flow supports direct Codex OAuth/PKCE and OpenCode Go device
|
|
53
|
+
authorization. Direct Codex authentication has an explicit portable-PTY
|
|
54
|
+
fallback through the official CLI. Normal agent credentials are untouched.
|
|
55
|
+
|
|
56
|
+
The production control plane is `https://coderouter.dev`. coderouter uses a
|
|
57
|
+
separate session config and never overwrites normal agent configuration.
|
|
58
|
+
`CODEROUTER_API_URL` can override the origin for staging and loopback tests.
|
|
59
|
+
|
|
60
|
+
## Privacy-safe analytics
|
|
61
|
+
|
|
62
|
+
Signed-in CLI commands send a short, best-effort lifecycle event to the
|
|
63
|
+
authenticated CodeRouter server. The closed schema contains only coarse
|
|
64
|
+
command/agent/mode/outcome/failure/exit/duration/context categories and the CLI
|
|
65
|
+
version. It never includes command arguments, prompts, output, credentials,
|
|
66
|
+
tokens, account/team/user identifiers, names, labels, email, paths, URLs, or
|
|
67
|
+
free-form errors. Delivery cannot fail a command and uses a 200 ms deadline.
|
|
68
|
+
|
|
69
|
+
Disable CLI analytics with either:
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
export DO_NOT_TRACK=1
|
|
73
|
+
# or
|
|
74
|
+
export CODEROUTER_TELEMETRY_DISABLED=1
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
## Routing
|
|
78
|
+
|
|
79
|
+
The CLI routes directly to the Vercel data plane at `coderouter.dev`. It does
|
|
80
|
+
not install Subrouter, a local daemon, Go code, or GCP tooling.
|
|
81
|
+
|
|
82
|
+
`cr pi` creates an ephemeral Pi provider extension for the current process. It
|
|
83
|
+
captures the route token during extension startup and immediately removes it
|
|
84
|
+
from Pi's process environment before tools can inherit it. It never writes the
|
|
85
|
+
token to Pi config and leaves normal providers, settings, extensions, and
|
|
86
|
+
sessions untouched.
|
|
61
87
|
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
coderouter-0.3.0.data/scripts/coderouter.exe,sha256=C95Q2hEu8KSeWo98gT6whGpoUME9XoCLwyvwhMeI7yw,5042176
|
|
2
|
+
coderouter-0.3.0.data/scripts/cr.exe,sha256=1BvEE2j0vywHhNXOEyR6I9Er8moRqq_k3jVxp9IUH3E,5042176
|
|
3
|
+
coderouter-0.3.0.dist-info/METADATA,sha256=kpUn1kXS8FHVvEO94e0UbwvK2faWst7xR4hIb5odfBQ,3740
|
|
4
|
+
coderouter-0.3.0.dist-info/WHEEL,sha256=2zDlIYIdD4m4N3p5DVEG3iJhGLdhsBQgdH-FqVkAur8,94
|
|
5
|
+
coderouter-0.3.0.dist-info/sboms/coderouter.cyclonedx.json,sha256=DedWaJlSvqGuJ9lzjFLBgCVkCHYUryGj5dLT1YiOtro,307378
|
|
6
|
+
coderouter-0.3.0.dist-info/RECORD,,
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"bomFormat": "CycloneDX",
|
|
3
3
|
"specVersion": "1.5",
|
|
4
4
|
"version": 1,
|
|
5
|
-
"serialNumber": "urn:uuid:
|
|
5
|
+
"serialNumber": "urn:uuid:35fab08b-9023-4b2e-9be7-2c06557da478",
|
|
6
6
|
"metadata": {
|
|
7
|
-
"timestamp": "2026-08-
|
|
7
|
+
"timestamp": "2026-08-20T03:57:04.681685400Z",
|
|
8
8
|
"tools": [
|
|
9
9
|
{
|
|
10
10
|
"vendor": "CycloneDX",
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
],
|
|
15
15
|
"component": {
|
|
16
16
|
"type": "application",
|
|
17
|
-
"bom-ref": "path+file:///
|
|
17
|
+
"bom-ref": "path+file:///C:/runner/_work/coderouter/coderouter/coderouter#0.3.0",
|
|
18
18
|
"name": "coderouter",
|
|
19
|
-
"version": "0.
|
|
19
|
+
"version": "0.3.0",
|
|
20
20
|
"description": "coderouter - route Codex/Claude Code traffic across multiple ChatGPT Pro/Claude Max/OpenCode subscriptions and API keys.",
|
|
21
21
|
"scope": "required",
|
|
22
22
|
"licenses": [
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"expression": "MIT"
|
|
25
25
|
}
|
|
26
26
|
],
|
|
27
|
-
"purl": "pkg:cargo/coderouter@0.
|
|
27
|
+
"purl": "pkg:cargo/coderouter@0.3.0?download_url=file://.",
|
|
28
28
|
"externalReferences": [
|
|
29
29
|
{
|
|
30
30
|
"type": "vcs",
|
|
@@ -34,24 +34,24 @@
|
|
|
34
34
|
"components": [
|
|
35
35
|
{
|
|
36
36
|
"type": "library",
|
|
37
|
-
"bom-ref": "path+file:///
|
|
37
|
+
"bom-ref": "path+file:///C:/runner/_work/coderouter/coderouter/coderouter#0.3.0 bin-target-0",
|
|
38
38
|
"name": "coderouter",
|
|
39
|
-
"version": "0.
|
|
40
|
-
"purl": "pkg:cargo/coderouter@0.
|
|
39
|
+
"version": "0.3.0",
|
|
40
|
+
"purl": "pkg:cargo/coderouter@0.3.0?download_url=file://.#src/lib.rs"
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
"type": "application",
|
|
44
|
-
"bom-ref": "path+file:///
|
|
44
|
+
"bom-ref": "path+file:///C:/runner/_work/coderouter/coderouter/coderouter#0.3.0 bin-target-1",
|
|
45
45
|
"name": "coderouter",
|
|
46
|
-
"version": "0.
|
|
47
|
-
"purl": "pkg:cargo/coderouter@0.
|
|
46
|
+
"version": "0.3.0",
|
|
47
|
+
"purl": "pkg:cargo/coderouter@0.3.0?download_url=file://.#src/main.rs"
|
|
48
48
|
},
|
|
49
49
|
{
|
|
50
50
|
"type": "application",
|
|
51
|
-
"bom-ref": "path+file:///
|
|
51
|
+
"bom-ref": "path+file:///C:/runner/_work/coderouter/coderouter/coderouter#0.3.0 bin-target-2",
|
|
52
52
|
"name": "cr",
|
|
53
|
-
"version": "0.
|
|
54
|
-
"purl": "pkg:cargo/coderouter@0.
|
|
53
|
+
"version": "0.3.0",
|
|
54
|
+
"purl": "pkg:cargo/coderouter@0.3.0?download_url=file://.#src/bin/cr.rs"
|
|
55
55
|
}
|
|
56
56
|
]
|
|
57
57
|
},
|
|
@@ -7508,33 +7508,6 @@
|
|
|
7508
7508
|
}
|
|
7509
7509
|
]
|
|
7510
7510
|
},
|
|
7511
|
-
{
|
|
7512
|
-
"type": "library",
|
|
7513
|
-
"bom-ref": "registry+https://github.com/rust-lang/crates.io-index#winapi-x86_64-pc-windows-gnu@0.4.0",
|
|
7514
|
-
"author": "Peter Atashian <retep998@gmail.com>",
|
|
7515
|
-
"name": "winapi-x86_64-pc-windows-gnu",
|
|
7516
|
-
"version": "0.4.0",
|
|
7517
|
-
"description": "Import libraries for the x86_64-pc-windows-gnu target. Please don't use this crate directly, depend on winapi instead.",
|
|
7518
|
-
"scope": "required",
|
|
7519
|
-
"hashes": [
|
|
7520
|
-
{
|
|
7521
|
-
"alg": "SHA-256",
|
|
7522
|
-
"content": "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|
|
7523
|
-
}
|
|
7524
|
-
],
|
|
7525
|
-
"licenses": [
|
|
7526
|
-
{
|
|
7527
|
-
"expression": "MIT OR Apache-2.0"
|
|
7528
|
-
}
|
|
7529
|
-
],
|
|
7530
|
-
"purl": "pkg:cargo/winapi-x86_64-pc-windows-gnu@0.4.0",
|
|
7531
|
-
"externalReferences": [
|
|
7532
|
-
{
|
|
7533
|
-
"type": "vcs",
|
|
7534
|
-
"url": "https://github.com/retep998/winapi-rs"
|
|
7535
|
-
}
|
|
7536
|
-
]
|
|
7537
|
-
},
|
|
7538
7511
|
{
|
|
7539
7512
|
"type": "library",
|
|
7540
7513
|
"bom-ref": "registry+https://github.com/rust-lang/crates.io-index#winapi@0.3.9",
|
|
@@ -7965,7 +7938,7 @@
|
|
|
7965
7938
|
],
|
|
7966
7939
|
"dependencies": [
|
|
7967
7940
|
{
|
|
7968
|
-
"ref": "path+file:///
|
|
7941
|
+
"ref": "path+file:///C:/runner/_work/coderouter/coderouter/coderouter#0.3.0",
|
|
7969
7942
|
"dependsOn": [
|
|
7970
7943
|
"registry+https://github.com/rust-lang/crates.io-index#base64@0.22.1",
|
|
7971
7944
|
"registry+https://github.com/rust-lang/crates.io-index#crossterm@0.29.0",
|
|
@@ -9545,13 +9518,7 @@
|
|
|
9545
9518
|
]
|
|
9546
9519
|
},
|
|
9547
9520
|
{
|
|
9548
|
-
"ref": "registry+https://github.com/rust-lang/crates.io-index#winapi
|
|
9549
|
-
},
|
|
9550
|
-
{
|
|
9551
|
-
"ref": "registry+https://github.com/rust-lang/crates.io-index#winapi@0.3.9",
|
|
9552
|
-
"dependsOn": [
|
|
9553
|
-
"registry+https://github.com/rust-lang/crates.io-index#winapi-x86_64-pc-windows-gnu@0.4.0"
|
|
9554
|
-
]
|
|
9521
|
+
"ref": "registry+https://github.com/rust-lang/crates.io-index#winapi@0.3.9"
|
|
9555
9522
|
},
|
|
9556
9523
|
{
|
|
9557
9524
|
"ref": "registry+https://github.com/rust-lang/crates.io-index#windows-link@0.2.1"
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
coderouter-0.2.2.data/scripts/coderouter.exe,sha256=oq3XV0Rd5vVbYTqaMhSsGeTdVj7hQ34aFcjQiVIJzfc,7086080
|
|
2
|
-
coderouter-0.2.2.data/scripts/cr.exe,sha256=oq3XV0Rd5vVbYTqaMhSsGeTdVj7hQ34aFcjQiVIJzfc,7086080
|
|
3
|
-
coderouter-0.2.2.dist-info/METADATA,sha256=5Cnz7e-oX38sbnMlMc83EMAMsWPWGx8p_UqBooLEmgw,2504
|
|
4
|
-
coderouter-0.2.2.dist-info/WHEEL,sha256=2zDlIYIdD4m4N3p5DVEG3iJhGLdhsBQgdH-FqVkAur8,94
|
|
5
|
-
coderouter-0.2.2.dist-info/sboms/coderouter.cyclonedx.json,sha256=uFO7TvVVAnvUyZl4CwQyvIkjYn1hy71wOaA_M7jL5gg,308486
|
|
6
|
-
coderouter-0.2.2.dist-info/RECORD,,
|
|
File without changes
|