dsh-codex-subscription 2.2.10 → 2.2.11

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 CHANGED
@@ -101,16 +101,16 @@ This plugin supports the latest DeepSeek Harness release recorded in its package
101
101
  ### Install from the Plugins page (recommended)
102
102
 
103
103
  1. Open **Plugins → Add plugin** in DSH.
104
- 2. Paste this package name into the **Package name or address** field:
104
+ 2. Paste this package name, with its version, into the **Package name or address** field:
105
105
 
106
106
  ```text
107
- dsh-codex-subscription
107
+ dsh-codex-subscription@2.2.11
108
108
  ```
109
109
 
110
110
  3. Click **Install** and wait for completion. Follow the page instructions; save your work before restarting if requested.
111
111
  4. Open **Settings → Codex**, sign in to ChatGPT, then select a Codex model in your conversation.
112
112
 
113
- The package name installs the latest stable release. For a specific version, enter `dsh-codex-subscription@version`; find version numbers on the [releases page](https://github.com/WSL043/dsh-codex-subscription/releases).
113
+ Why the version is included: DSH's plugin page only installs versions that are at least 24 hours old, so the bare package name can install an older release during the first day after a new one, and that older release may not support your DSH. With the version you get exactly this release; a day after release the bare `dsh-codex-subscription` also resolves to the latest stable release. Other version numbers are on the [releases page](https://github.com/WSL043/dsh-codex-subscription/releases).
114
114
 
115
115
  <details>
116
116
  <summary>Terminal installation (with an existing dsh command)</summary>
@@ -273,9 +273,9 @@ dsh plugin --profile web remove dsh-codex-subscription
273
273
  ## Troubleshooting
274
274
 
275
275
  <details>
276
- <summary>DSH 0.2.0-rc.2 reports plugin 2.2.4 as incompatible?</summary>
276
+ <summary>DSH 0.2.0-rc.2 reports the plugin as incompatible?</summary>
277
277
 
278
- DSH 0.2.0-rc.2 did not exist when 2.2.4 and earlier were published, and a published package's compatibility declaration cannot be changed. Update to 2.2.5 or later from the **Plugins** page, or run `dsh plugin --profile web update dsh-codex-subscription`, then restart DSH.
278
+ DSH 0.2.0-rc.2 did not exist when any release before 2.2.10 was published, and a published package's compatibility declaration cannot be changed. Install 2.2.10 or later (a bare package name can resolve to an older release during the first 24 hours, so enter `dsh-codex-subscription@2.2.10`) from the **Plugins** page, or run `dsh plugin --profile web update dsh-codex-subscription`, then restart DSH.
279
279
 
280
280
  </details>
281
281
 
package/README.md CHANGED
@@ -101,16 +101,16 @@
101
101
  ### 在插件页面安装(推荐)
102
102
 
103
103
  1. 打开 DSH 的 **插件 → 添加插件**。
104
- 2. 在 **包名或地址** 输入框中粘贴下面的包名:
104
+ 2. 在 **包名或地址** 输入框中粘贴下面的包名(已带版本号):
105
105
 
106
106
  ```text
107
- dsh-codex-subscription
107
+ dsh-codex-subscription@2.2.11
108
108
  ```
109
109
 
110
110
  3. 点击 **安装**,等待安装完成;按页面提示操作,需要重启时先保存工作。
111
111
  4. 打开 **设置 → Codex 订阅**,登录 ChatGPT,然后在会话中选择 Codex 模型。
112
112
 
113
- 默认安装最新正式版。指定版本时填 `dsh-codex-subscription@版本号`,版本号见[发布页](https://github.com/WSL043/dsh-codex-subscription/releases)。
113
+ 为什么要带版本号:DSH 的插件页只会安装发布满 24 小时的版本,只填包名时,新版本发布后的第一天可能装到更早的旧版,而旧版不一定兼容你的 DSH。带上版本号可以直接装到这一版;发布一天后只填 `dsh-codex-subscription` 也会装到最新正式版。其他版本号见[发布页](https://github.com/WSL043/dsh-codex-subscription/releases)。
114
114
 
115
115
  <details>
116
116
  <summary>终端安装(已能运行 dsh 命令)</summary>
@@ -273,9 +273,9 @@ dsh plugin --profile web remove dsh-codex-subscription
273
273
  ## 常见问题
274
274
 
275
275
  <details>
276
- <summary>DSH 0.2.0-rc.2 提示插件 2.2.4 不兼容?</summary>
276
+ <summary>DSH 0.2.0-rc.2 提示插件不兼容?</summary>
277
277
 
278
- 2.2.4 及更早版本发布时 DSH 0.2.0-rc.2 还不存在,其兼容声明无法事后修改。请更新到 2.2.5 或更高版本:在 **插件** 页面更新,或运行 `dsh plugin --profile web update dsh-codex-subscription`,然后重启 DSH。
278
+ 2.2.10 之前的所有版本发布时 DSH 0.2.0-rc.2 还不存在,其兼容声明无法事后修改。请安装 2.2.10 或更高版本(只填包名时,发布满 24 小时前可能装到旧版,请直接填 `dsh-codex-subscription@2.2.10`):在 **插件** 页面更新,或运行 `dsh plugin --profile web update dsh-codex-subscription`,然后重启 DSH。
279
279
 
280
280
  </details>
281
281
 
package/lib/client.js CHANGED
@@ -7660,7 +7660,7 @@ window.__ModuleLoader__.load({
7660
7660
  }
7661
7661
  //#endregion
7662
7662
  //#region src/version.js
7663
- const PACKAGE_VERSION = "2.2.10";
7663
+ const PACKAGE_VERSION = "2.2.11";
7664
7664
  //#endregion
7665
7665
  //#region src/client-recovery.js
7666
7666
  async function recoveryCall(rpc, endpoint, payload = {}, timeoutMs = 1e4) {
package/lib/index.js CHANGED
@@ -3051,7 +3051,7 @@ async function readSubscriptionCredentials(getAuth, readCredential, signal) {
3051
3051
  }
3052
3052
  //#endregion
3053
3053
  //#region src/version.js
3054
- const PACKAGE_VERSION = "2.2.10";
3054
+ const PACKAGE_VERSION = "2.2.11";
3055
3055
  const USER_AGENT = `dsh-codex-subscription/${PACKAGE_VERSION}`;
3056
3056
  //#endregion
3057
3057
  //#region src/model-catalog.js
@@ -3981,10 +3981,7 @@ function createCodexImageTool(options) {
3981
3981
  };
3982
3982
  if (exec.parent !== void 0) exec.deferContext(createUserMessage({
3983
3983
  content: imageContent(result),
3984
- source: {
3985
- kind: "plugin",
3986
- plugin: "codex-subscription"
3987
- }
3984
+ source: { kind: "codex-subscription-image" }
3988
3985
  }));
3989
3986
  return result;
3990
3987
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-codex-subscription",
3
- "version": "2.2.10",
3
+ "version": "2.2.11",
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",