codex-slot 0.1.23 → 0.1.24
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 +2 -0
- package/dist/codex-config.js +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -133,6 +133,7 @@ Instead it:
|
|
|
133
133
|
name = "cslot"
|
|
134
134
|
base_url = "http://127.0.0.1:4399/v1"
|
|
135
135
|
wire_api = "responses"
|
|
136
|
+
requires_openai_auth = true
|
|
136
137
|
```
|
|
137
138
|
|
|
138
139
|
Behavior:
|
|
@@ -142,6 +143,7 @@ Behavior:
|
|
|
142
143
|
- Other providers and settings in `config.toml` are left untouched
|
|
143
144
|
- If you start with `--port`, the port is saved to `~/.cslot/config.yaml`
|
|
144
145
|
- If you start without `--port`, `4399` is preferred first and the next free port is chosen automatically on conflict, and the actual chosen port is written back to `~/.cslot/config.yaml` and the managed provider block
|
|
146
|
+
- `requires_openai_auth = true` keeps Codex App treating the local cslot provider as a ChatGPT-authenticated provider, so plugin navigation and trusted plugin runtimes are not disabled as API-key/custom-provider mode
|
|
145
147
|
- `/backend-api/*` requests are forwarded to ChatGPT backend with the current selected account's upstream token; client `Authorization` headers are not forwarded upstream
|
|
146
148
|
|
|
147
149
|
## Codex App Plugins
|
package/dist/codex-config.js
CHANGED
|
@@ -71,7 +71,8 @@ function buildManagedProviderBlock(eol, config) {
|
|
|
71
71
|
"[model_providers.cslot]",
|
|
72
72
|
'name = "cslot"',
|
|
73
73
|
`base_url = "http://${config.server.host}:${config.server.port}/v1"`,
|
|
74
|
-
'wire_api = "responses"'
|
|
74
|
+
'wire_api = "responses"',
|
|
75
|
+
"requires_openai_auth = true"
|
|
75
76
|
];
|
|
76
77
|
lines.push(PROVIDER_BLOCK_END_MARKER);
|
|
77
78
|
return lines.join(eol);
|