dsh-codex-subscription 2.1.6 → 2.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.en.md +2 -2
- package/README.md +2 -2
- package/lib/client.js +1 -1
- package/lib/index.js +2 -2
- package/package.json +1 -1
package/README.en.md
CHANGED
|
@@ -78,7 +78,7 @@ This plugin supports the latest DeepSeek Harness release recorded in its package
|
|
|
78
78
|
3. Click **Install** and wait for completion. Follow the page instructions; save your work before restarting if requested.
|
|
79
79
|
4. Open **Settings → Codex**, sign in to ChatGPT, then select a Codex model in your conversation.
|
|
80
80
|
|
|
81
|
-
The unversioned package name installs the latest stable release. To select a version, enter `dsh-codex-subscription@2.1.
|
|
81
|
+
The unversioned package name installs the latest stable release. To select a version, enter `dsh-codex-subscription@2.1.8`; for a beta, use the complete version from its release notes. Enter only the package name here, not a terminal command. This plugin can be installed using its npm package name; no GitHub URL or local directory is needed.
|
|
82
82
|
|
|
83
83
|
<details>
|
|
84
84
|
<summary>Terminal installation (with an existing dsh command)</summary>
|
|
@@ -244,7 +244,7 @@ In **Settings → Codex → Advanced → Independent subtasks**, click **Install
|
|
|
244
244
|
|
|
245
245
|

|
|
246
246
|
|
|
247
|
-
Prefer **Install component** above. Stable release **2.1.
|
|
247
|
+
Prefer **Install component** above. Stable release **2.1.8** selects a component matching the current DSH version: DSH `0.1.7-rc.1` installs component `0.1.7-rc.1`, while DSH `0.1.5-rc.2` installs component `0.1.5-rc.2`. An existing `0.1.5-rc.3` component is recognized only on a matching host. Do not omit the component version or substitute `@next`.
|
|
248
248
|
|
|
249
249
|
<details>
|
|
250
250
|
<summary>Manual installation on older hosts and offline preparation</summary>
|
package/README.md
CHANGED
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
3. 点击 **安装**,等待安装完成;按页面提示操作,需要重启时先保存工作。
|
|
80
80
|
4. 打开 **设置 → Codex 订阅**,登录 ChatGPT,然后在会话中选择 Codex 模型。
|
|
81
81
|
|
|
82
|
-
包名不带版本号时安装最新正式版。指定版本时填写 `dsh-codex-subscription@2.1.
|
|
82
|
+
包名不带版本号时安装最新正式版。指定版本时填写 `dsh-codex-subscription@2.1.8`;测试版则使用对应发布说明中的完整版本号。此处只填包名,不要粘贴整条终端命令。安装本插件使用上面的 npm 包名即可,无需填写 GitHub 地址或本地目录。
|
|
83
83
|
|
|
84
84
|
<details>
|
|
85
85
|
<summary>终端安装(已能运行 dsh 命令)</summary>
|
|
@@ -243,7 +243,7 @@ ChatGPT 返回可用重置卡时,设置页会把每张卡分别显示为紧凑
|
|
|
243
243
|
|
|
244
244
|

|
|
245
245
|
|
|
246
|
-
优先使用上面的 **安装组件** 按钮。正式版 **2.1.
|
|
246
|
+
优先使用上面的 **安装组件** 按钮。正式版 **2.1.8** 会按当前 DSH 版本选择对应组件:DSH `0.1.7-rc.1` 安装组件 `0.1.7-rc.1`,DSH `0.1.5-rc.2` 安装组件 `0.1.5-rc.2`;已安装的 `0.1.5-rc.3` 组件仅在同版本宿主上识别。请不要省略组件版本号或自行改用 `@next`。
|
|
247
247
|
|
|
248
248
|
<details>
|
|
249
249
|
<summary>旧版宿主手动安装与离线准备</summary>
|
package/lib/client.js
CHANGED
|
@@ -7276,7 +7276,7 @@ window.__ModuleLoader__.load({
|
|
|
7276
7276
|
}
|
|
7277
7277
|
//#endregion
|
|
7278
7278
|
//#region src/version.js
|
|
7279
|
-
const PACKAGE_VERSION = "2.1.
|
|
7279
|
+
const PACKAGE_VERSION = "2.1.8";
|
|
7280
7280
|
//#endregion
|
|
7281
7281
|
//#region src/client-recovery.js
|
|
7282
7282
|
async function recoveryCall(rpc, endpoint, payload = {}, timeoutMs = 1e4) {
|
package/lib/index.js
CHANGED
|
@@ -2828,7 +2828,7 @@ function openaiCodexSubscriptionProvider({ resolveSpeedMode = () => void 0, reso
|
|
|
2828
2828
|
Object.freeze(["0.82.1", "0.85.1"]);
|
|
2829
2829
|
//#endregion
|
|
2830
2830
|
//#region src/version.js
|
|
2831
|
-
const PACKAGE_VERSION = "2.1.
|
|
2831
|
+
const PACKAGE_VERSION = "2.1.8";
|
|
2832
2832
|
const USER_AGENT = `dsh-codex-subscription/${PACKAGE_VERSION}`;
|
|
2833
2833
|
//#endregion
|
|
2834
2834
|
//#region src/model-catalog.js
|
|
@@ -5107,7 +5107,7 @@ const settingsFields = {
|
|
|
5107
5107
|
[CUSTOM_CONTEXT_WINDOW_FIELD]: z.number().step(1).min(128e3).max(1e6).default(DEFAULT_CUSTOM_CONTEXT_WINDOW),
|
|
5108
5108
|
...Object.fromEntries(Object.entries(CUSTOM_CONTEXT_MODEL_FIELDS).map(([modelKey, field]) => [field, z.number().step(1).min(128e3).max(CUSTOM_CONTEXT_MODEL_CAPS[modelKey]).default(CUSTOM_CONTEXT_MODEL_DEFAULTS[modelKey])]))
|
|
5109
5109
|
};
|
|
5110
|
-
const Config = z.object(Object.fromEntries(Object.entries(settingsFields).map(([key, field]) => [key,
|
|
5110
|
+
const Config = z.object(Object.fromEntries(Object.entries(settingsFields).map(([key, field]) => [key, field.extra("volatile", true)])));
|
|
5111
5111
|
function apply(ctx, config = {}) {
|
|
5112
5112
|
const settings = createSettingsAdapter(ctx, z.object(settingsFields), config, SETTINGS_NAMESPACE);
|
|
5113
5113
|
const searchProvider = createSearchProviderSwitcher(ctx.loader);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-codex-subscription",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.8",
|
|
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",
|