@henryqw/pi-multi-codex 0.3.8 → 0.3.10
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.
- package/README.md +38 -14
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,19 +1,43 @@
|
|
|
1
|
-
#
|
|
1
|
+
# `@henryqw/pi-multi-codex`
|
|
2
2
|
|
|
3
|
-
Use multiple ChatGPT Codex OAuth
|
|
3
|
+
Use multiple ChatGPT Codex OAuth accounts in Pi.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
Codex for slot 1. Run `/codex-add`, then `/login` and select reported numbered
|
|
7
|
-
slot for each additional Codex OAuth credential.
|
|
5
|
+
## Install
|
|
8
6
|
|
|
9
|
-
|
|
7
|
+
```bash
|
|
8
|
+
pi install npm:@henryqw/pi-multi-codex
|
|
9
|
+
```
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
status never waits for network. Credential-free snapshots live in
|
|
13
|
-
`config/pi-multi-codex/usage.json` under Pi agent directory.
|
|
11
|
+
## With
|
|
14
12
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
13
|
+
| Package | Why |
|
|
14
|
+
| --- | --- |
|
|
15
|
+
| `@henryqw/pi-model-thinking` | Improves. Thinking level follows the model across slots. |
|
|
16
|
+
| `@henryqw/pi-task-models` | Improves. Numbered slots share one profile route. |
|
|
17
|
+
| `@henryqw/pi-subagent` | Improves. Isolated children keep Main's active Codex slot. |
|
|
18
|
+
|
|
19
|
+
## Use
|
|
20
|
+
|
|
21
|
+
| Surface | Type | Purpose |
|
|
22
|
+
| --- | --- | --- |
|
|
23
|
+
| `/codex-add` | command | Create the next numbered slot, then authenticate that slot. |
|
|
24
|
+
| `/codex-status` | command | Show shared seven-day quota snapshots. Never waits on network. |
|
|
25
|
+
| `/codex-switch` | command | Pick an authenticated slot. |
|
|
26
|
+
|
|
27
|
+
Extension reads `auth.json` and never writes or refreshes credentials. Before the first agent start, a fresh snapshot routes a managed Codex model to the slot with the most seven-day quota. Routing preserves model ID and never changes in-progress work. Footer shows the active slot and fresh seven-day quota. Scoped sessions can switch only to exact scoped aliases; restart or update model scope after adding a slot.
|
|
28
|
+
|
|
29
|
+
Quota snapshots live in `~/.pi/agent/config/pi-multi-codex/usage.json`. They are credential-free cache, not user-edited config.
|
|
30
|
+
|
|
31
|
+
## Remove
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
pi remove npm:@henryqw/pi-multi-codex
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Development
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
npm test --workspace @henryqw/pi-multi-codex
|
|
41
|
+
npm run typecheck --workspace @henryqw/pi-multi-codex
|
|
42
|
+
npm run pack:check --workspace @henryqw/pi-multi-codex
|
|
43
|
+
```
|