dsh-codex-subscription 1.12.1 → 1.12.2

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/AGENTS.md CHANGED
@@ -6,7 +6,7 @@ Use this guide when a user asks an Agent to install, update, verify, or remove
6
6
  ## Safety
7
7
 
8
8
  - Confirm the target DSH installation and profile. Use `web` only when it is the user's target.
9
- - Use the exact `1.12.1` package below; do not install a moving branch.
9
+ - Use the exact `1.12.2` package below; do not install a moving branch.
10
10
  - Never print OAuth credentials, account IDs, authorization callbacks, or credential-store contents.
11
11
  - Preserve the DSH profile, unrelated plugins, sessions, and saved sign-in.
12
12
  - Do not start, stop, or restart DSH without explicit permission.
@@ -34,13 +34,13 @@ For an official DSH installation run through npm, keep the complete `npx` prefix
34
34
  run command does not create a global `dsh` command:
35
35
 
36
36
  ```sh
37
- npx -y @deepseek-ai/dsh@0.1.2-rc.1 plugin --profile web add dsh-codex-subscription@1.12.1
37
+ npx -y @deepseek-ai/dsh@0.1.2-rc.1 plugin --profile web add dsh-codex-subscription@1.12.2
38
38
  ```
39
39
 
40
40
  With an existing global `dsh` command:
41
41
 
42
42
  ```sh
43
- dsh plugin --profile web add dsh-codex-subscription@1.12.1
43
+ dsh plugin --profile web add dsh-codex-subscription@1.12.2
44
44
  ```
45
45
 
46
46
  Use the same `add` command to update or repair. This is the complete package-changing operation.
@@ -58,7 +58,7 @@ dsh --profile web --dump-config
58
58
 
59
59
  For the official npm route, run the same checks with `npx -y @deepseek-ai/dsh@0.1.2-rc.1` in place of `dsh`.
60
60
 
61
- 1. `dsh-codex-subscription` version `1.12.1` appears exactly once.
61
+ 1. `dsh-codex-subscription` version `1.12.2` appears exactly once.
62
62
  2. `codex-subscription` appears exactly once in the composed config.
63
63
  3. No unrelated plugin or profile was changed and DSH was not restarted.
64
64
 
package/lib/index.js CHANGED
@@ -1265,7 +1265,7 @@ function openaiCodexSubscriptionProvider({ resolveSpeedMode = () => void 0, reso
1265
1265
  }
1266
1266
  //#endregion
1267
1267
  //#region src/version.js
1268
- const PACKAGE_VERSION = "1.12.1";
1268
+ const PACKAGE_VERSION = "1.12.2";
1269
1269
  const USER_AGENT = `dsh-codex-subscription/${PACKAGE_VERSION}`;
1270
1270
  //#endregion
1271
1271
  //#region src/model-catalog.js
@@ -1292,7 +1292,7 @@ function reasoningMap(levels) {
1292
1292
  function visibleModel(value) {
1293
1293
  if (!record$4(value)) return void 0;
1294
1294
  const id = nonEmpty$2(value.slug);
1295
- if (id === void 0 || value.supported_in_api !== true || value.visibility !== "list") return void 0;
1295
+ if (id === void 0 || value.visibility !== "list") return void 0;
1296
1296
  const supported = Array.isArray(value.supported_reasoning_levels) ? value.supported_reasoning_levels : [];
1297
1297
  const input = Array.isArray(value.input_modalities) ? value.input_modalities.filter((item) => ["text", "image"].includes(item)) : ["text", "image"];
1298
1298
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-codex-subscription",
3
- "version": "1.12.1",
3
+ "version": "1.12.2",
4
4
  "description": "Use ChatGPT and Codex subscriptions in DeepSeek Harness with OAuth, quota, safe resets, web search, images, and Fast mode",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",