oc-chatgpt-multi-auth 5.2.0 → 5.2.3
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 +21 -18
- package/config/README.md +10 -8
- package/config/opencode-legacy.json +47 -73
- package/config/opencode-modern.json +32 -38
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +589 -193
- package/dist/index.js.map +1 -1
- package/dist/lib/accounts.d.ts +8 -0
- package/dist/lib/accounts.d.ts.map +1 -1
- package/dist/lib/accounts.js +145 -28
- package/dist/lib/accounts.js.map +1 -1
- package/dist/lib/config.d.ts +1 -0
- package/dist/lib/config.d.ts.map +1 -1
- package/dist/lib/config.js +5 -0
- package/dist/lib/config.js.map +1 -1
- package/dist/lib/logger.d.ts +1 -0
- package/dist/lib/logger.d.ts.map +1 -1
- package/dist/lib/logger.js +25 -2
- package/dist/lib/logger.js.map +1 -1
- package/dist/lib/prompts/codex-opencode-bridge.d.ts +4 -3
- package/dist/lib/prompts/codex-opencode-bridge.d.ts.map +1 -1
- package/dist/lib/prompts/codex-opencode-bridge.js +73 -105
- package/dist/lib/prompts/codex-opencode-bridge.js.map +1 -1
- package/dist/lib/prompts/codex.d.ts +4 -4
- package/dist/lib/prompts/codex.d.ts.map +1 -1
- package/dist/lib/prompts/codex.js +35 -37
- package/dist/lib/prompts/codex.js.map +1 -1
- package/dist/lib/prompts/opencode-codex.d.ts.map +1 -1
- package/dist/lib/prompts/opencode-codex.js +100 -25
- package/dist/lib/prompts/opencode-codex.js.map +1 -1
- package/dist/lib/recovery.d.ts.map +1 -1
- package/dist/lib/recovery.js +10 -5
- package/dist/lib/recovery.js.map +1 -1
- package/dist/lib/request/fetch-helpers.d.ts +2 -1
- package/dist/lib/request/fetch-helpers.d.ts.map +1 -1
- package/dist/lib/request/fetch-helpers.js +57 -6
- package/dist/lib/request/fetch-helpers.js.map +1 -1
- package/dist/lib/request/helpers/model-map.d.ts.map +1 -1
- package/dist/lib/request/helpers/model-map.js +35 -25
- package/dist/lib/request/helpers/model-map.js.map +1 -1
- package/dist/lib/request/request-transformer.d.ts +3 -3
- package/dist/lib/request/request-transformer.d.ts.map +1 -1
- package/dist/lib/request/request-transformer.js +73 -35
- package/dist/lib/request/request-transformer.js.map +1 -1
- package/dist/lib/request/response-handler.d.ts.map +1 -1
- package/dist/lib/request/response-handler.js +101 -10
- package/dist/lib/request/response-handler.js.map +1 -1
- package/dist/lib/schemas.d.ts +19 -9
- package/dist/lib/schemas.d.ts.map +1 -1
- package/dist/lib/schemas.js +5 -0
- package/dist/lib/schemas.js.map +1 -1
- package/dist/lib/storage/migrations.d.ts +8 -0
- package/dist/lib/storage/migrations.d.ts.map +1 -1
- package/dist/lib/storage/migrations.js +3 -9
- package/dist/lib/storage/migrations.js.map +1 -1
- package/dist/lib/storage/paths.d.ts.map +1 -1
- package/dist/lib/storage/paths.js +14 -2
- package/dist/lib/storage/paths.js.map +1 -1
- package/dist/lib/storage.d.ts +1 -0
- package/dist/lib/storage.d.ts.map +1 -1
- package/dist/lib/storage.js +124 -84
- package/dist/lib/storage.js.map +1 -1
- package/package.json +26 -12
- package/scripts/audit-dev-allowlist.js +114 -0
- package/dist/lib/request/local-fast-path.d.ts +0 -15
- package/dist/lib/request/local-fast-path.d.ts.map +0 -1
- package/dist/lib/request/local-fast-path.js +0 -164
- package/dist/lib/request/local-fast-path.js.map +0 -1
package/README.md
CHANGED
|
@@ -2,23 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/oc-chatgpt-multi-auth)
|
|
4
4
|
[](https://www.npmjs.com/package/oc-chatgpt-multi-auth)
|
|
5
|
-
[](https://github.com/ndycode/oc-chatgpt-multi-auth/actions)
|
|
6
|
-
[](LICENSE)
|
|
7
5
|
|
|
8
|
-
OAuth plugin for OpenCode that lets you use ChatGPT Plus/Pro rate limits with models like `gpt-5.2`, `gpt-5
|
|
6
|
+
OAuth plugin for OpenCode that lets you use ChatGPT Plus/Pro rate limits with models like `gpt-5.2`, `gpt-5-codex`, and `gpt-5.1-codex-max` (plus optional entitlement-gated Spark IDs and legacy Codex aliases).
|
|
9
7
|
|
|
10
8
|
> [!NOTE]
|
|
11
9
|
> **Renamed from `opencode-openai-codex-auth-multi`** — If you were using the old package, update your config to use `oc-chatgpt-multi-auth` instead. The rename was necessary because OpenCode blocks plugins containing `opencode-openai-codex-auth` in the name.
|
|
12
10
|
|
|
13
11
|
## What You Get
|
|
14
12
|
|
|
15
|
-
- **GPT-5.2, GPT-5
|
|
13
|
+
- **GPT-5.2, GPT-5 Codex, GPT-5.1 Codex Max** and all GPT-5.x variants via ChatGPT OAuth
|
|
16
14
|
- **Multi-account support** — Add up to 20 ChatGPT accounts, health-aware rotation with automatic failover
|
|
17
15
|
- **Per-project accounts** — Each project gets its own account storage (new in v4.10.0)
|
|
18
16
|
- **Click-to-switch** — Switch accounts directly from the OpenCode TUI
|
|
19
17
|
- **Strict tool validation** — Automatically cleans schemas for compatibility with strict models
|
|
20
18
|
- **Auto-update notifications** — Get notified when a new version is available
|
|
21
|
-
- **
|
|
19
|
+
- **21 template model presets** — Full variant system with reasoning levels (none/low/medium/high/xhigh)
|
|
22
20
|
- **Prompt caching** — Session-based caching for faster multi-turn conversations
|
|
23
21
|
- **Usage-aware errors** — Friendly messages with rate limit reset timing
|
|
24
22
|
- **Plugin compatible** — Works alongside other OpenCode plugins (oh-my-opencode, dcp, etc.)
|
|
@@ -130,7 +128,7 @@ opencode run "Hello" --model=openai/gpt-5.2 --variant=medium
|
|
|
130
128
|
| Model | Variants | Notes |
|
|
131
129
|
|-------|----------|-------|
|
|
132
130
|
| `gpt-5.2` | none, low, medium, high, xhigh | Latest GPT-5.2 with reasoning levels |
|
|
133
|
-
| `gpt-5
|
|
131
|
+
| `gpt-5-codex` | low, medium, high | Canonical Codex model for code generation (default: high) |
|
|
134
132
|
| `gpt-5.3-codex-spark` | low, medium, high, xhigh | Spark IDs are supported by the plugin, but access is entitlement-gated by account/workspace |
|
|
135
133
|
| `gpt-5.1-codex-max` | low, medium, high, xhigh | Maximum context Codex |
|
|
136
134
|
| `gpt-5.1-codex` | low, medium, high | Standard Codex |
|
|
@@ -179,18 +177,17 @@ Add this to your `~/.config/opencode/opencode.json`:
|
|
|
179
177
|
"xhigh": { "reasoningEffort": "xhigh" }
|
|
180
178
|
}
|
|
181
179
|
},
|
|
182
|
-
"gpt-5
|
|
183
|
-
"name": "GPT 5
|
|
180
|
+
"gpt-5-codex": {
|
|
181
|
+
"name": "GPT 5 Codex (OAuth)",
|
|
184
182
|
"limit": { "context": 272000, "output": 128000 },
|
|
185
183
|
"modalities": { "input": ["text", "image", "pdf"], "output": ["text"] },
|
|
186
184
|
"variants": {
|
|
187
185
|
"low": { "reasoningEffort": "low" },
|
|
188
186
|
"medium": { "reasoningEffort": "medium" },
|
|
189
|
-
"high": { "reasoningEffort": "high" }
|
|
190
|
-
"xhigh": { "reasoningEffort": "xhigh" }
|
|
187
|
+
"high": { "reasoningEffort": "high" }
|
|
191
188
|
},
|
|
192
189
|
"options": {
|
|
193
|
-
"reasoningEffort": "
|
|
190
|
+
"reasoningEffort": "high",
|
|
194
191
|
"reasoningSummary": "detailed"
|
|
195
192
|
}
|
|
196
193
|
},
|
|
@@ -598,14 +595,15 @@ OpenCode uses `~/.config/opencode/` on **all platforms** including Windows.
|
|
|
598
595
|
"unsupportedCodexPolicy": "fallback",
|
|
599
596
|
"fallbackOnUnsupportedCodexModel": true,
|
|
600
597
|
"unsupportedCodexFallbackChain": {
|
|
601
|
-
"gpt-5
|
|
602
|
-
"gpt-5.3-codex
|
|
598
|
+
"gpt-5-codex": ["gpt-5.2-codex"],
|
|
599
|
+
"gpt-5.3-codex": ["gpt-5-codex", "gpt-5.2-codex"],
|
|
600
|
+
"gpt-5.3-codex-spark": ["gpt-5-codex", "gpt-5.3-codex", "gpt-5.2-codex"]
|
|
603
601
|
}
|
|
604
602
|
}
|
|
605
603
|
```
|
|
606
604
|
5. Verify effective upstream model when needed:
|
|
607
605
|
```bash
|
|
608
|
-
ENABLE_PLUGIN_REQUEST_LOGGING=1 opencode run "ping" --model=openai/gpt-5.3-codex-spark
|
|
606
|
+
ENABLE_PLUGIN_REQUEST_LOGGING=1 CODEX_PLUGIN_LOG_BODIES=1 opencode run "ping" --model=openai/gpt-5.3-codex-spark
|
|
609
607
|
```
|
|
610
608
|
The UI can keep showing your selected model while fallback is applied internally.
|
|
611
609
|
|
|
@@ -709,7 +707,8 @@ Create `~/.opencode/openai-codex-auth-config.json` for optional settings:
|
|
|
709
707
|
|
|
710
708
|
| Option | Default | What It Does |
|
|
711
709
|
|--------|---------|--------------|
|
|
712
|
-
| `
|
|
710
|
+
| `requestTransformMode` | `native` | Request shaping mode: `native` keeps OpenCode payloads unchanged; `legacy` enables Codex compatibility rewrites |
|
|
711
|
+
| `codexMode` | `true` | Legacy-only bridge prompt behavior (applies when `requestTransformMode=legacy`) |
|
|
713
712
|
| `codexTuiV2` | `true` | Enables Codex-style terminal UI output (set `false` for legacy output) |
|
|
714
713
|
| `codexTuiColorProfile` | `truecolor` | Terminal color profile for Codex UI (`truecolor`, `ansi256`, `ansi16`) |
|
|
715
714
|
| `codexTuiGlyphMode` | `ascii` | Glyph mode for Codex UI (`ascii`, `unicode`, `auto`) |
|
|
@@ -739,15 +738,19 @@ Create `~/.opencode/openai-codex-auth-config.json` for optional settings:
|
|
|
739
738
|
| `streamStallTimeoutMs` | `45000` | Abort non-stream parsing if SSE stalls (ms) |
|
|
740
739
|
|
|
741
740
|
Default unsupported-model fallback chain (used when `unsupportedCodexPolicy` is `fallback`):
|
|
742
|
-
- `gpt-5.3-codex -> gpt-5.2-codex`
|
|
743
|
-
- `gpt-5.3-codex-spark -> gpt-5.3-codex -> gpt-5.2-codex` (applies if you manually select Spark model IDs)
|
|
741
|
+
- `gpt-5.3-codex -> gpt-5-codex -> gpt-5.2-codex`
|
|
742
|
+
- `gpt-5.3-codex-spark -> gpt-5-codex -> gpt-5.3-codex -> gpt-5.2-codex` (applies if you manually select Spark model IDs)
|
|
743
|
+
- `gpt-5.2-codex -> gpt-5-codex`
|
|
744
|
+
- `gpt-5.1-codex -> gpt-5-codex`
|
|
744
745
|
|
|
745
746
|
### Environment Variables
|
|
746
747
|
|
|
747
748
|
```bash
|
|
748
749
|
DEBUG_CODEX_PLUGIN=1 opencode # Enable debug logging
|
|
749
|
-
ENABLE_PLUGIN_REQUEST_LOGGING=1 opencode # Log
|
|
750
|
+
ENABLE_PLUGIN_REQUEST_LOGGING=1 opencode # Log request metadata
|
|
751
|
+
CODEX_PLUGIN_LOG_BODIES=1 opencode # Include raw request/response payloads in request logs (sensitive)
|
|
750
752
|
CODEX_PLUGIN_LOG_LEVEL=debug opencode # Set log level (debug|info|warn|error)
|
|
753
|
+
CODEX_AUTH_REQUEST_TRANSFORM_MODE=legacy opencode # Re-enable legacy Codex request rewrites
|
|
751
754
|
CODEX_MODE=0 opencode # Temporarily disable bridge prompt
|
|
752
755
|
CODEX_TUI_V2=0 opencode # Disable Codex-style UI (legacy output)
|
|
753
756
|
CODEX_TUI_COLOR_PROFILE=ansi16 opencode # Force UI color profile
|
package/config/README.md
CHANGED
|
@@ -6,8 +6,8 @@ This directory contains the official OpenCode config templates for the ChatGPT C
|
|
|
6
6
|
|
|
7
7
|
| File | OpenCode version | Description |
|
|
8
8
|
|------|------------------|-------------|
|
|
9
|
-
| [`opencode-modern.json`](./opencode-modern.json) | **v1.0.210+** | Variant-based config: 6 base models with
|
|
10
|
-
| [`opencode-legacy.json`](./opencode-legacy.json) | **v1.0.209 and below** | Legacy explicit entries:
|
|
9
|
+
| [`opencode-modern.json`](./opencode-modern.json) | **v1.0.210+** | Variant-based config: 6 base models with 21 total presets |
|
|
10
|
+
| [`opencode-legacy.json`](./opencode-legacy.json) | **v1.0.209 and below** | Legacy explicit entries: 21 individual model definitions |
|
|
11
11
|
|
|
12
12
|
## Quick pick
|
|
13
13
|
|
|
@@ -34,7 +34,7 @@ opencode --version
|
|
|
34
34
|
OpenCode v1.0.210+ added model `variants`, so one model entry can expose multiple reasoning levels. That keeps modern config much smaller while preserving the same effective presets.
|
|
35
35
|
|
|
36
36
|
Both templates include:
|
|
37
|
-
- GPT-5.2, GPT-5
|
|
37
|
+
- GPT-5.2, GPT-5 Codex, GPT-5.1, GPT-5.1 Codex, GPT-5.1 Codex Max, GPT-5.1 Codex Mini
|
|
38
38
|
- Reasoning variants per model family
|
|
39
39
|
- `store: false` and `include: ["reasoning.encrypted_content"]`
|
|
40
40
|
- Context metadata (272k context / 128k output)
|
|
@@ -51,14 +51,14 @@ Modern template (v1.0.210+):
|
|
|
51
51
|
|
|
52
52
|
```bash
|
|
53
53
|
opencode run "task" --model=openai/gpt-5.2 --variant=medium
|
|
54
|
-
opencode run "task" --model=openai/gpt-5
|
|
54
|
+
opencode run "task" --model=openai/gpt-5-codex --variant=high
|
|
55
55
|
```
|
|
56
56
|
|
|
57
57
|
Legacy template (v1.0.209 and below):
|
|
58
58
|
|
|
59
59
|
```bash
|
|
60
60
|
opencode run "task" --model=openai/gpt-5.2-medium
|
|
61
|
-
opencode run "task" --model=openai/gpt-5
|
|
61
|
+
opencode run "task" --model=openai/gpt-5-codex-high
|
|
62
62
|
```
|
|
63
63
|
|
|
64
64
|
## Minimal config (advanced)
|
|
@@ -74,11 +74,13 @@ Current defaults are strict entitlement handling:
|
|
|
74
74
|
- `unsupportedCodexFallbackChain` lets you override fallback order per model
|
|
75
75
|
|
|
76
76
|
Default fallback chain (when policy is `fallback`):
|
|
77
|
-
- `gpt-5.3-codex -> gpt-5.2-codex`
|
|
78
|
-
- `gpt-5.3-codex-spark -> gpt-5.3-codex -> gpt-5.2-codex` (only relevant if Spark IDs are added manually)
|
|
77
|
+
- `gpt-5.3-codex -> gpt-5-codex -> gpt-5.2-codex`
|
|
78
|
+
- `gpt-5.3-codex-spark -> gpt-5-codex -> gpt-5.3-codex -> gpt-5.2-codex` (only relevant if Spark IDs are added manually)
|
|
79
|
+
- `gpt-5.2-codex -> gpt-5-codex`
|
|
80
|
+
- `gpt-5.1-codex -> gpt-5-codex`
|
|
79
81
|
|
|
80
82
|
## Additional docs
|
|
81
83
|
|
|
82
84
|
- Main config reference: [`docs/configuration.md`](../docs/configuration.md)
|
|
83
85
|
- Getting started: [`docs/getting-started.md`](../docs/getting-started.md)
|
|
84
|
-
- Troubleshooting: [`docs/troubleshooting.md`](../docs/troubleshooting.md)
|
|
86
|
+
- Troubleshooting: [`docs/troubleshooting.md`](../docs/troubleshooting.md)
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
"plugin": [
|
|
4
4
|
"oc-chatgpt-multi-auth"
|
|
5
5
|
],
|
|
6
|
-
|
|
7
6
|
"provider": {
|
|
8
7
|
"openai": {
|
|
9
8
|
"options": {
|
|
@@ -141,8 +140,8 @@
|
|
|
141
140
|
"store": false
|
|
142
141
|
}
|
|
143
142
|
},
|
|
144
|
-
"gpt-5.
|
|
145
|
-
"name": "GPT 5.
|
|
143
|
+
"gpt-5.1-codex-max-low": {
|
|
144
|
+
"name": "GPT 5.1 Codex Max Low (OAuth)",
|
|
146
145
|
"limit": {
|
|
147
146
|
"context": 272000,
|
|
148
147
|
"output": 128000
|
|
@@ -158,7 +157,7 @@
|
|
|
158
157
|
},
|
|
159
158
|
"options": {
|
|
160
159
|
"reasoningEffort": "low",
|
|
161
|
-
"reasoningSummary": "
|
|
160
|
+
"reasoningSummary": "detailed",
|
|
162
161
|
"textVerbosity": "medium",
|
|
163
162
|
"include": [
|
|
164
163
|
"reasoning.encrypted_content"
|
|
@@ -166,8 +165,8 @@
|
|
|
166
165
|
"store": false
|
|
167
166
|
}
|
|
168
167
|
},
|
|
169
|
-
"gpt-5.
|
|
170
|
-
"name": "GPT 5.
|
|
168
|
+
"gpt-5.1-codex-max-medium": {
|
|
169
|
+
"name": "GPT 5.1 Codex Max Medium (OAuth)",
|
|
171
170
|
"limit": {
|
|
172
171
|
"context": 272000,
|
|
173
172
|
"output": 128000
|
|
@@ -183,7 +182,7 @@
|
|
|
183
182
|
},
|
|
184
183
|
"options": {
|
|
185
184
|
"reasoningEffort": "medium",
|
|
186
|
-
"reasoningSummary": "
|
|
185
|
+
"reasoningSummary": "detailed",
|
|
187
186
|
"textVerbosity": "medium",
|
|
188
187
|
"include": [
|
|
189
188
|
"reasoning.encrypted_content"
|
|
@@ -191,8 +190,8 @@
|
|
|
191
190
|
"store": false
|
|
192
191
|
}
|
|
193
192
|
},
|
|
194
|
-
"gpt-5.
|
|
195
|
-
"name": "GPT 5.
|
|
193
|
+
"gpt-5.1-codex-max-high": {
|
|
194
|
+
"name": "GPT 5.1 Codex Max High (OAuth)",
|
|
196
195
|
"limit": {
|
|
197
196
|
"context": 272000,
|
|
198
197
|
"output": 128000
|
|
@@ -216,8 +215,8 @@
|
|
|
216
215
|
"store": false
|
|
217
216
|
}
|
|
218
217
|
},
|
|
219
|
-
"gpt-5.
|
|
220
|
-
"name": "GPT 5.
|
|
218
|
+
"gpt-5.1-codex-max-xhigh": {
|
|
219
|
+
"name": "GPT 5.1 Codex Max Extra High (OAuth)",
|
|
221
220
|
"limit": {
|
|
222
221
|
"context": 272000,
|
|
223
222
|
"output": 128000
|
|
@@ -241,8 +240,8 @@
|
|
|
241
240
|
"store": false
|
|
242
241
|
}
|
|
243
242
|
},
|
|
244
|
-
"gpt-5.1-codex-
|
|
245
|
-
"name": "GPT 5.1 Codex
|
|
243
|
+
"gpt-5.1-codex-low": {
|
|
244
|
+
"name": "GPT 5.1 Codex Low (OAuth)",
|
|
246
245
|
"limit": {
|
|
247
246
|
"context": 272000,
|
|
248
247
|
"output": 128000
|
|
@@ -258,7 +257,7 @@
|
|
|
258
257
|
},
|
|
259
258
|
"options": {
|
|
260
259
|
"reasoningEffort": "low",
|
|
261
|
-
"reasoningSummary": "
|
|
260
|
+
"reasoningSummary": "auto",
|
|
262
261
|
"textVerbosity": "medium",
|
|
263
262
|
"include": [
|
|
264
263
|
"reasoning.encrypted_content"
|
|
@@ -266,8 +265,8 @@
|
|
|
266
265
|
"store": false
|
|
267
266
|
}
|
|
268
267
|
},
|
|
269
|
-
"gpt-5.1-codex-
|
|
270
|
-
"name": "GPT 5.1 Codex
|
|
268
|
+
"gpt-5.1-codex-medium": {
|
|
269
|
+
"name": "GPT 5.1 Codex Medium (OAuth)",
|
|
271
270
|
"limit": {
|
|
272
271
|
"context": 272000,
|
|
273
272
|
"output": 128000
|
|
@@ -283,7 +282,7 @@
|
|
|
283
282
|
},
|
|
284
283
|
"options": {
|
|
285
284
|
"reasoningEffort": "medium",
|
|
286
|
-
"reasoningSummary": "
|
|
285
|
+
"reasoningSummary": "auto",
|
|
287
286
|
"textVerbosity": "medium",
|
|
288
287
|
"include": [
|
|
289
288
|
"reasoning.encrypted_content"
|
|
@@ -291,8 +290,8 @@
|
|
|
291
290
|
"store": false
|
|
292
291
|
}
|
|
293
292
|
},
|
|
294
|
-
"gpt-5.1-codex-
|
|
295
|
-
"name": "GPT 5.1 Codex
|
|
293
|
+
"gpt-5.1-codex-high": {
|
|
294
|
+
"name": "GPT 5.1 Codex High (OAuth)",
|
|
296
295
|
"limit": {
|
|
297
296
|
"context": 272000,
|
|
298
297
|
"output": 128000
|
|
@@ -316,8 +315,8 @@
|
|
|
316
315
|
"store": false
|
|
317
316
|
}
|
|
318
317
|
},
|
|
319
|
-
"gpt-5.1-codex-
|
|
320
|
-
"name": "GPT 5.1 Codex
|
|
318
|
+
"gpt-5.1-codex-mini-medium": {
|
|
319
|
+
"name": "GPT 5.1 Codex Mini Medium (OAuth)",
|
|
321
320
|
"limit": {
|
|
322
321
|
"context": 272000,
|
|
323
322
|
"output": 128000
|
|
@@ -332,8 +331,8 @@
|
|
|
332
331
|
]
|
|
333
332
|
},
|
|
334
333
|
"options": {
|
|
335
|
-
"reasoningEffort": "
|
|
336
|
-
"reasoningSummary": "
|
|
334
|
+
"reasoningEffort": "medium",
|
|
335
|
+
"reasoningSummary": "auto",
|
|
337
336
|
"textVerbosity": "medium",
|
|
338
337
|
"include": [
|
|
339
338
|
"reasoning.encrypted_content"
|
|
@@ -341,8 +340,8 @@
|
|
|
341
340
|
"store": false
|
|
342
341
|
}
|
|
343
342
|
},
|
|
344
|
-
"gpt-5.1-codex-
|
|
345
|
-
"name": "GPT 5.1 Codex
|
|
343
|
+
"gpt-5.1-codex-mini-high": {
|
|
344
|
+
"name": "GPT 5.1 Codex Mini High (OAuth)",
|
|
346
345
|
"limit": {
|
|
347
346
|
"context": 272000,
|
|
348
347
|
"output": 128000
|
|
@@ -357,8 +356,8 @@
|
|
|
357
356
|
]
|
|
358
357
|
},
|
|
359
358
|
"options": {
|
|
360
|
-
"reasoningEffort": "
|
|
361
|
-
"reasoningSummary": "
|
|
359
|
+
"reasoningEffort": "high",
|
|
360
|
+
"reasoningSummary": "detailed",
|
|
362
361
|
"textVerbosity": "medium",
|
|
363
362
|
"include": [
|
|
364
363
|
"reasoning.encrypted_content"
|
|
@@ -366,8 +365,8 @@
|
|
|
366
365
|
"store": false
|
|
367
366
|
}
|
|
368
367
|
},
|
|
369
|
-
"gpt-5.1-
|
|
370
|
-
"name": "GPT 5.1
|
|
368
|
+
"gpt-5.1-none": {
|
|
369
|
+
"name": "GPT 5.1 None (OAuth)",
|
|
371
370
|
"limit": {
|
|
372
371
|
"context": 272000,
|
|
373
372
|
"output": 128000
|
|
@@ -382,7 +381,7 @@
|
|
|
382
381
|
]
|
|
383
382
|
},
|
|
384
383
|
"options": {
|
|
385
|
-
"reasoningEffort": "
|
|
384
|
+
"reasoningEffort": "none",
|
|
386
385
|
"reasoningSummary": "auto",
|
|
387
386
|
"textVerbosity": "medium",
|
|
388
387
|
"include": [
|
|
@@ -391,8 +390,8 @@
|
|
|
391
390
|
"store": false
|
|
392
391
|
}
|
|
393
392
|
},
|
|
394
|
-
"gpt-5.1-
|
|
395
|
-
"name": "GPT 5.1
|
|
393
|
+
"gpt-5.1-low": {
|
|
394
|
+
"name": "GPT 5.1 Low (OAuth)",
|
|
396
395
|
"limit": {
|
|
397
396
|
"context": 272000,
|
|
398
397
|
"output": 128000
|
|
@@ -407,17 +406,17 @@
|
|
|
407
406
|
]
|
|
408
407
|
},
|
|
409
408
|
"options": {
|
|
410
|
-
"reasoningEffort": "
|
|
411
|
-
"reasoningSummary": "
|
|
412
|
-
"textVerbosity": "
|
|
409
|
+
"reasoningEffort": "low",
|
|
410
|
+
"reasoningSummary": "auto",
|
|
411
|
+
"textVerbosity": "low",
|
|
413
412
|
"include": [
|
|
414
413
|
"reasoning.encrypted_content"
|
|
415
414
|
],
|
|
416
415
|
"store": false
|
|
417
416
|
}
|
|
418
417
|
},
|
|
419
|
-
"gpt-5.1-
|
|
420
|
-
"name": "GPT 5.1
|
|
418
|
+
"gpt-5.1-medium": {
|
|
419
|
+
"name": "GPT 5.1 Medium (OAuth)",
|
|
421
420
|
"limit": {
|
|
422
421
|
"context": 272000,
|
|
423
422
|
"output": 128000
|
|
@@ -441,8 +440,8 @@
|
|
|
441
440
|
"store": false
|
|
442
441
|
}
|
|
443
442
|
},
|
|
444
|
-
"gpt-5.1-
|
|
445
|
-
"name": "GPT 5.1
|
|
443
|
+
"gpt-5.1-high": {
|
|
444
|
+
"name": "GPT 5.1 High (OAuth)",
|
|
446
445
|
"limit": {
|
|
447
446
|
"context": 272000,
|
|
448
447
|
"output": 128000
|
|
@@ -459,40 +458,15 @@
|
|
|
459
458
|
"options": {
|
|
460
459
|
"reasoningEffort": "high",
|
|
461
460
|
"reasoningSummary": "detailed",
|
|
462
|
-
"textVerbosity": "
|
|
463
|
-
"include": [
|
|
464
|
-
"reasoning.encrypted_content"
|
|
465
|
-
],
|
|
466
|
-
"store": false
|
|
467
|
-
}
|
|
468
|
-
},
|
|
469
|
-
"gpt-5.1-none": {
|
|
470
|
-
"name": "GPT 5.1 None (OAuth)",
|
|
471
|
-
"limit": {
|
|
472
|
-
"context": 272000,
|
|
473
|
-
"output": 128000
|
|
474
|
-
},
|
|
475
|
-
"modalities": {
|
|
476
|
-
"input": [
|
|
477
|
-
"text",
|
|
478
|
-
"image"
|
|
479
|
-
],
|
|
480
|
-
"output": [
|
|
481
|
-
"text"
|
|
482
|
-
]
|
|
483
|
-
},
|
|
484
|
-
"options": {
|
|
485
|
-
"reasoningEffort": "none",
|
|
486
|
-
"reasoningSummary": "auto",
|
|
487
|
-
"textVerbosity": "medium",
|
|
461
|
+
"textVerbosity": "high",
|
|
488
462
|
"include": [
|
|
489
463
|
"reasoning.encrypted_content"
|
|
490
464
|
],
|
|
491
465
|
"store": false
|
|
492
466
|
}
|
|
493
467
|
},
|
|
494
|
-
"gpt-5
|
|
495
|
-
"name": "GPT 5
|
|
468
|
+
"gpt-5-codex-low": {
|
|
469
|
+
"name": "GPT 5 Codex Low (OAuth)",
|
|
496
470
|
"limit": {
|
|
497
471
|
"context": 272000,
|
|
498
472
|
"output": 128000
|
|
@@ -509,15 +483,15 @@
|
|
|
509
483
|
"options": {
|
|
510
484
|
"reasoningEffort": "low",
|
|
511
485
|
"reasoningSummary": "auto",
|
|
512
|
-
"textVerbosity": "
|
|
486
|
+
"textVerbosity": "medium",
|
|
513
487
|
"include": [
|
|
514
488
|
"reasoning.encrypted_content"
|
|
515
489
|
],
|
|
516
490
|
"store": false
|
|
517
491
|
}
|
|
518
492
|
},
|
|
519
|
-
"gpt-5
|
|
520
|
-
"name": "GPT 5
|
|
493
|
+
"gpt-5-codex-medium": {
|
|
494
|
+
"name": "GPT 5 Codex Medium (OAuth)",
|
|
521
495
|
"limit": {
|
|
522
496
|
"context": 272000,
|
|
523
497
|
"output": 128000
|
|
@@ -541,8 +515,8 @@
|
|
|
541
515
|
"store": false
|
|
542
516
|
}
|
|
543
517
|
},
|
|
544
|
-
"gpt-5
|
|
545
|
-
"name": "GPT 5
|
|
518
|
+
"gpt-5-codex-high": {
|
|
519
|
+
"name": "GPT 5 Codex High (OAuth)",
|
|
546
520
|
"limit": {
|
|
547
521
|
"context": 272000,
|
|
548
522
|
"output": 128000
|
|
@@ -559,7 +533,7 @@
|
|
|
559
533
|
"options": {
|
|
560
534
|
"reasoningEffort": "high",
|
|
561
535
|
"reasoningSummary": "detailed",
|
|
562
|
-
"textVerbosity": "
|
|
536
|
+
"textVerbosity": "medium",
|
|
563
537
|
"include": [
|
|
564
538
|
"reasoning.encrypted_content"
|
|
565
539
|
],
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
"plugin": [
|
|
4
4
|
"oc-chatgpt-multi-auth"
|
|
5
5
|
],
|
|
6
|
-
|
|
7
6
|
"provider": {
|
|
8
7
|
"openai": {
|
|
9
8
|
"options": {
|
|
@@ -59,8 +58,8 @@
|
|
|
59
58
|
}
|
|
60
59
|
}
|
|
61
60
|
},
|
|
62
|
-
"gpt-5.
|
|
63
|
-
"name": "GPT 5.
|
|
61
|
+
"gpt-5.1-codex-max": {
|
|
62
|
+
"name": "GPT 5.1 Codex Max (OAuth)",
|
|
64
63
|
"limit": {
|
|
65
64
|
"context": 272000,
|
|
66
65
|
"output": 128000
|
|
@@ -77,12 +76,12 @@
|
|
|
77
76
|
"variants": {
|
|
78
77
|
"low": {
|
|
79
78
|
"reasoningEffort": "low",
|
|
80
|
-
"reasoningSummary": "
|
|
79
|
+
"reasoningSummary": "detailed",
|
|
81
80
|
"textVerbosity": "medium"
|
|
82
81
|
},
|
|
83
82
|
"medium": {
|
|
84
83
|
"reasoningEffort": "medium",
|
|
85
|
-
"reasoningSummary": "
|
|
84
|
+
"reasoningSummary": "detailed",
|
|
86
85
|
"textVerbosity": "medium"
|
|
87
86
|
},
|
|
88
87
|
"high": {
|
|
@@ -95,15 +94,10 @@
|
|
|
95
94
|
"reasoningSummary": "detailed",
|
|
96
95
|
"textVerbosity": "medium"
|
|
97
96
|
}
|
|
98
|
-
},
|
|
99
|
-
"options": {
|
|
100
|
-
"reasoningEffort": "xhigh",
|
|
101
|
-
"reasoningSummary": "detailed",
|
|
102
|
-
"textVerbosity": "medium"
|
|
103
97
|
}
|
|
104
98
|
},
|
|
105
|
-
"gpt-5.1-codex
|
|
106
|
-
"name": "GPT 5.1 Codex
|
|
99
|
+
"gpt-5.1-codex": {
|
|
100
|
+
"name": "GPT 5.1 Codex (OAuth)",
|
|
107
101
|
"limit": {
|
|
108
102
|
"context": 272000,
|
|
109
103
|
"output": 128000
|
|
@@ -120,28 +114,23 @@
|
|
|
120
114
|
"variants": {
|
|
121
115
|
"low": {
|
|
122
116
|
"reasoningEffort": "low",
|
|
123
|
-
"reasoningSummary": "
|
|
117
|
+
"reasoningSummary": "auto",
|
|
124
118
|
"textVerbosity": "medium"
|
|
125
119
|
},
|
|
126
120
|
"medium": {
|
|
127
121
|
"reasoningEffort": "medium",
|
|
128
|
-
"reasoningSummary": "
|
|
122
|
+
"reasoningSummary": "auto",
|
|
129
123
|
"textVerbosity": "medium"
|
|
130
124
|
},
|
|
131
125
|
"high": {
|
|
132
126
|
"reasoningEffort": "high",
|
|
133
127
|
"reasoningSummary": "detailed",
|
|
134
128
|
"textVerbosity": "medium"
|
|
135
|
-
},
|
|
136
|
-
"xhigh": {
|
|
137
|
-
"reasoningEffort": "xhigh",
|
|
138
|
-
"reasoningSummary": "detailed",
|
|
139
|
-
"textVerbosity": "medium"
|
|
140
129
|
}
|
|
141
130
|
}
|
|
142
131
|
},
|
|
143
|
-
"gpt-5.1-codex": {
|
|
144
|
-
"name": "GPT 5.1 Codex (OAuth)",
|
|
132
|
+
"gpt-5.1-codex-mini": {
|
|
133
|
+
"name": "GPT 5.1 Codex Mini (OAuth)",
|
|
145
134
|
"limit": {
|
|
146
135
|
"context": 272000,
|
|
147
136
|
"output": 128000
|
|
@@ -156,11 +145,6 @@
|
|
|
156
145
|
]
|
|
157
146
|
},
|
|
158
147
|
"variants": {
|
|
159
|
-
"low": {
|
|
160
|
-
"reasoningEffort": "low",
|
|
161
|
-
"reasoningSummary": "auto",
|
|
162
|
-
"textVerbosity": "medium"
|
|
163
|
-
},
|
|
164
148
|
"medium": {
|
|
165
149
|
"reasoningEffort": "medium",
|
|
166
150
|
"reasoningSummary": "auto",
|
|
@@ -173,8 +157,8 @@
|
|
|
173
157
|
}
|
|
174
158
|
}
|
|
175
159
|
},
|
|
176
|
-
"gpt-5.1
|
|
177
|
-
"name": "GPT 5.1
|
|
160
|
+
"gpt-5.1": {
|
|
161
|
+
"name": "GPT 5.1 (OAuth)",
|
|
178
162
|
"limit": {
|
|
179
163
|
"context": 272000,
|
|
180
164
|
"output": 128000
|
|
@@ -189,6 +173,16 @@
|
|
|
189
173
|
]
|
|
190
174
|
},
|
|
191
175
|
"variants": {
|
|
176
|
+
"none": {
|
|
177
|
+
"reasoningEffort": "none",
|
|
178
|
+
"reasoningSummary": "auto",
|
|
179
|
+
"textVerbosity": "medium"
|
|
180
|
+
},
|
|
181
|
+
"low": {
|
|
182
|
+
"reasoningEffort": "low",
|
|
183
|
+
"reasoningSummary": "auto",
|
|
184
|
+
"textVerbosity": "low"
|
|
185
|
+
},
|
|
192
186
|
"medium": {
|
|
193
187
|
"reasoningEffort": "medium",
|
|
194
188
|
"reasoningSummary": "auto",
|
|
@@ -197,12 +191,12 @@
|
|
|
197
191
|
"high": {
|
|
198
192
|
"reasoningEffort": "high",
|
|
199
193
|
"reasoningSummary": "detailed",
|
|
200
|
-
"textVerbosity": "
|
|
194
|
+
"textVerbosity": "high"
|
|
201
195
|
}
|
|
202
196
|
}
|
|
203
197
|
},
|
|
204
|
-
"gpt-5
|
|
205
|
-
"name": "GPT 5
|
|
198
|
+
"gpt-5-codex": {
|
|
199
|
+
"name": "GPT 5 Codex (OAuth)",
|
|
206
200
|
"limit": {
|
|
207
201
|
"context": 272000,
|
|
208
202
|
"output": 128000
|
|
@@ -217,15 +211,10 @@
|
|
|
217
211
|
]
|
|
218
212
|
},
|
|
219
213
|
"variants": {
|
|
220
|
-
"none": {
|
|
221
|
-
"reasoningEffort": "none",
|
|
222
|
-
"reasoningSummary": "auto",
|
|
223
|
-
"textVerbosity": "medium"
|
|
224
|
-
},
|
|
225
214
|
"low": {
|
|
226
215
|
"reasoningEffort": "low",
|
|
227
216
|
"reasoningSummary": "auto",
|
|
228
|
-
"textVerbosity": "
|
|
217
|
+
"textVerbosity": "medium"
|
|
229
218
|
},
|
|
230
219
|
"medium": {
|
|
231
220
|
"reasoningEffort": "medium",
|
|
@@ -235,8 +224,13 @@
|
|
|
235
224
|
"high": {
|
|
236
225
|
"reasoningEffort": "high",
|
|
237
226
|
"reasoningSummary": "detailed",
|
|
238
|
-
"textVerbosity": "
|
|
227
|
+
"textVerbosity": "medium"
|
|
239
228
|
}
|
|
229
|
+
},
|
|
230
|
+
"options": {
|
|
231
|
+
"reasoningEffort": "high",
|
|
232
|
+
"reasoningSummary": "detailed",
|
|
233
|
+
"textVerbosity": "medium"
|
|
240
234
|
}
|
|
241
235
|
}
|
|
242
236
|
}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAGH,OAAO,KAAK,EAAE,MAAM,EAAe,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAGH,OAAO,KAAK,EAAE,MAAM,EAAe,MAAM,qBAAqB,CAAC;AA0I/D;;;;;;;;;;;;;;;GAeG;AAEH,eAAO,MAAM,iBAAiB,EAAE,MAogG/B,CAAC;AAEF,eAAO,MAAM,gBAAgB,QAAoB,CAAC;AAElD,eAAe,iBAAiB,CAAC"}
|