dsh-codex-subscription 3.2.8 → 3.2.10

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/lib/index.js CHANGED
@@ -439,6 +439,12 @@ const DEFAULT_SEARCH_PROVIDER = SEARCH_PROVIDER_AUTO;
439
439
  const FETCH_PROVIDER_FIELD = "fetchProvider";
440
440
  const FETCH_PROVIDER_CODEX = "codex";
441
441
  const normalizeFetchProvider = (value) => value === "codex" ? FETCH_PROVIDER_CODEX : "dsh";
442
+ const COMPOSER_MODEL_PICKER_MODES = Object.freeze([
443
+ "auto",
444
+ "dsh",
445
+ "legacy"
446
+ ]);
447
+ const normalizeComposerModelPicker = (value) => COMPOSER_MODEL_PICKER_MODES.includes(value) ? value : "auto";
442
448
  const SPEED_MODE_FIELD = "speedMode";
443
449
  const SPEED_MODE_STANDARD = "standard";
444
450
  const SPEED_MODE_FAST = "fast";
@@ -811,8 +817,8 @@ const PREFERENCE_FIELDS = Object.freeze({
811
817
  error: "Invalid input prediction setting"
812
818
  },
813
819
  composerModelPicker: {
814
- choices: ["dsh", "legacy"],
815
- default: "legacy",
820
+ choices: COMPOSER_MODEL_PICKER_MODES,
821
+ default: "auto",
816
822
  error: "Invalid composer model picker"
817
823
  },
818
824
  connectionMode: {
@@ -3129,7 +3135,9 @@ Object.freeze([
3129
3135
  "1.2.0",
3130
3136
  "1.3.0",
3131
3137
  "1.4.0",
3132
- "1.5.0"
3138
+ "1.5.0",
3139
+ "1.5.1",
3140
+ "1.5.2"
3133
3141
  ]);
3134
3142
  //#endregion
3135
3143
  //#region src/reasoning-json.js
@@ -4744,7 +4752,7 @@ function inheritedOriginalImageRef(session, assetId) {
4744
4752
  }
4745
4753
  //#endregion
4746
4754
  //#region src/version.js
4747
- const PACKAGE_VERSION = "3.2.8";
4755
+ const PACKAGE_VERSION = "3.2.10";
4748
4756
  const USER_AGENT = `dsh-codex-subscription/${PACKAGE_VERSION}`;
4749
4757
  //#endregion
4750
4758
  //#region src/codex-images.js
@@ -17791,7 +17799,7 @@ function apply(ctx, config = {}) {
17791
17799
  reviewModel: settings.get().reviewModel ?? "session",
17792
17800
  remoteControl: settings.get().remoteControl ?? "off",
17793
17801
  composerPredictions: settings.get().composerPredictions === "on" ? "on" : "off",
17794
- composerModelPicker: settings.get().composerModelPicker === "dsh" ? "dsh" : "legacy",
17802
+ composerModelPicker: normalizeComposerModelPicker(settings.get().composerModelPicker),
17795
17803
  otherModels: settings.get().otherModels === "off" ? "off" : "on",
17796
17804
  subagentBackend: settings.get().subagentBackend ?? "dsh",
17797
17805
  subagentDefaultModel: normalizeSubagentModel(settings.get().subagentDefaultModel),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-codex-subscription",
3
- "version": "3.2.8",
3
+ "version": "3.2.10",
4
4
  "description": "Use ChatGPT and Codex subscriptions in DeepSeek Harness with OAuth, quota, safe resets, web search, images and Fast mode, and control DSH from the ChatGPT mobile app (Beta)",
5
5
  "type": "module",
6
6
  "main": "./lib/index.js",
@@ -94,7 +94,7 @@
94
94
  "@deepseek-ai/dsh-tools": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-alpha.2 || 0.2.1-alpha.3 || 0.2.1-alpha.4 || 0.2.1-alpha.5 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-alpha.2 || 0.2.2-alpha.3 || 0.2.2-rc.1",
95
95
  "@deepseek-ai/dsh-web": "0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-alpha.1 || 0.2.1-alpha.2 || 0.2.1-alpha.3 || 0.2.1-alpha.4 || 0.2.1-alpha.5 || 0.2.1-rc.1 || 0.2.1-rc.2 || 0.2.1-rc.3 || 0.2.1-rc.4 || 0.2.1-rc.5 || 0.2.2-alpha.2 || 0.2.2-alpha.3 || 0.2.2-rc.1",
96
96
  "@deepseek-ai/schemastery": "3.18.1 || ^3.18.2 || 3.18.6-alpha.1",
97
- "@earendil-works/pi-ai": "0.85.1 || 0.87.1 || 1.1.0 || 1.2.0 || 1.3.0 || 1.4.0 || 1.5.0",
97
+ "@earendil-works/pi-ai": "0.85.1 || 0.87.1 || 1.1.0 || 1.2.0 || 1.3.0 || 1.4.0 || 1.5.0 || 1.5.1 || 1.5.2",
98
98
  "react": "^18.2.0",
99
99
  "react-dom": "^18.2.0"
100
100
  },