codex-slot 0.1.4 → 0.1.5

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.
@@ -71,8 +71,10 @@ 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
- `http_headers = { Authorization = "Bearer ${config.server.api_key}" }`,
75
74
  'wire_api = "responses"',
75
+ "",
76
+ "[model_providers.cslot.http_headers]",
77
+ `Authorization = "Bearer ${config.server.api_key}"`,
76
78
  PROVIDER_BLOCK_END_MARKER
77
79
  ].join(eol);
78
80
  }
@@ -338,6 +340,5 @@ function deactivateManagedCodexConfig() {
338
340
  const restored = restoreManagedContent(current, managedState);
339
341
  writeFileAtomic(targetFile, restored);
340
342
  (0, state_1.clearManagedCodexConfigState)();
341
- console.log((0, text_1.bi)(`已恢复: ${targetFile}`, `Restored: ${targetFile}`));
342
343
  return targetFile;
343
344
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codex-slot",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "本地 Codex 多账号切换与状态管理工具",
5
5
  "type": "commonjs",
6
6
  "main": "dist/cli.js",