codex-slot 0.1.6 → 0.1.8

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 CHANGED
@@ -130,8 +130,8 @@ Instead it:
130
130
  [model_providers.cslot]
131
131
  name = "cslot"
132
132
  base_url = "http://127.0.0.1:4399/v1"
133
- http_headers = { Authorization = "Bearer <your-local-api-key>" }
134
133
  wire_api = "responses"
134
+ experimental_bearer_token = "<your-local-api-key>"
135
135
  ```
136
136
 
137
137
  Behavior:
@@ -72,7 +72,7 @@ function buildManagedProviderBlock(eol, config) {
72
72
  'name = "cslot"',
73
73
  `base_url = "http://${config.server.host}:${config.server.port}/v1"`,
74
74
  'wire_api = "responses"',
75
- `http_headers = { Authorization = "Bearer ${config.server.api_key}" }`,
75
+ `experimental_bearer_token = "${config.server.api_key}"`,
76
76
  PROVIDER_BLOCK_END_MARKER
77
77
  ].join(eol);
78
78
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codex-slot",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "description": "本地 Codex 多账号切换与状态管理工具",
5
5
  "type": "commonjs",
6
6
  "main": "dist/cli.js",