dsh-codex-subscription 3.1.5 → 3.1.6

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
@@ -66,7 +66,7 @@ This plugin supports the latest DeepSeek Harness release recorded in its package
66
66
  2. Paste this package name, with its version, into the **Package name or address** field:
67
67
 
68
68
  ```text
69
- dsh-codex-subscription@3.1.5
69
+ dsh-codex-subscription@3.1.6
70
70
  ```
71
71
 
72
72
  3. Click **Install** and wait for completion. Follow the page instructions; save your work before restarting if requested.
@@ -83,7 +83,7 @@ Why the version is included: DSH's plugin page only installs versions that are a
83
83
  <summary>Terminal installation (with an existing dsh command)</summary>
84
84
 
85
85
  ```sh
86
- dsh plugin --profile web add dsh-codex-subscription@3.1.5
86
+ dsh plugin --profile web add dsh-codex-subscription@3.1.6
87
87
  ```
88
88
 
89
89
  Follow the restart instructions, then sign in under **Settings → Codex**. Both the Plugins page and the terminal use DSH's installation management.
@@ -96,7 +96,7 @@ Follow the restart instructions, then sign in under **Settings → Codex**. Both
96
96
  After signing in and selecting a Codex model in Web, install the same plugin in the Headless profile:
97
97
 
98
98
  ```sh
99
- dsh plugin --profile headless add dsh-codex-subscription@3.1.5
99
+ dsh plugin --profile headless add dsh-codex-subscription@3.1.6
100
100
  dsh --profile headless "Reply with only the word: ok"
101
101
  ```
102
102
 
@@ -261,7 +261,7 @@ Model access and quota depend on your account.
261
261
  | **Speed tiers** | Switch supported models between Standard and Fast; Ultrafast (Beta) too when the account catalog offers it, with a lightning indicator | Standard by default; Fast and Ultrafast increase usage, and Ultrafast is Pro 500 only today |
262
262
  | **Response verbosity** | Request short, medium, or detailed responses | Follows the model default unless changed |
263
263
  | **Input image detail** | Choose Low, High, Original, or Auto detail for images sent to the chat model | Affects input tokens; Auto by default |
264
- | **Subscription web search** | Use Codex search or choose DSH search | Auto, DSH, and Codex sources; routed at search time without rewriting DSH's own search settings, so the official settings page keeps showing what you set; both the DeepSeek account route and the API-key route (new Search API / legacy) work; when one side is signed out or has no key the other is used |
264
+ | **Subscription web search** | Auto, DSH, and Codex sources | Auto prefers the source matching the session model and tries the other only for missing credentials or an unavailable service. Explicit DSH / Codex choices fix the source and report failures directly. With Other models off, non-Codex chats use native DSH search only. The plugin neither rewrites DSH search settings nor adds a DeepSeek account fallback; native search charges depend on the selected service |
265
265
  | **Other-models switch** | One switch that stops conversations on DeepSeek and other non-Codex models from using subscription web search, image generation and ChatGPT connectors | Settings → Codex subscription → Web & tools; on by default, Codex subscription models are not affected; phone remote control and voice are started by you and are not affected |
266
266
  | **Search scope** | Choose live / cached search, disable search, or restrict domains | Configure under Web & tools, in the search source group |
267
267
  | **Stream inactivity timeout** | Set how long a request can receive no streamed data before it is aborted | 10 minutes by default; not an overall response deadline |
@@ -353,7 +353,7 @@ Find this plugin on the DSH **Plugins** page and use its update or uninstall act
353
353
  <summary>Terminal commands</summary>
354
354
 
355
355
  ```sh
356
- dsh plugin --profile web update dsh-codex-subscription@3.1.5
356
+ dsh plugin --profile web update dsh-codex-subscription@3.1.6
357
357
  ```
358
358
 
359
359
  Run only when you want to uninstall:
package/README.md CHANGED
@@ -68,7 +68,7 @@
68
68
  2. 在 **包名或地址** 输入框中粘贴下面的包名(已带版本号):
69
69
 
70
70
  ```text
71
- dsh-codex-subscription@3.1.5
71
+ dsh-codex-subscription@3.1.6
72
72
  ```
73
73
 
74
74
  3. 点击 **安装**,等待安装完成;按页面提示操作,需要重启时先保存工作。
@@ -85,7 +85,7 @@
85
85
  <summary>终端安装(已能运行 dsh 命令)</summary>
86
86
 
87
87
  ```sh
88
- dsh plugin --profile web add dsh-codex-subscription@3.1.5
88
+ dsh plugin --profile web add dsh-codex-subscription@3.1.6
89
89
  ```
90
90
 
91
91
  安装完成后按提示重启 DSH,再到 **设置 → Codex 订阅** 登录。插件页面和终端均由 DSH 管理安装。
@@ -98,7 +98,7 @@ dsh plugin --profile web add dsh-codex-subscription@3.1.5
98
98
  先在 Web 中完成登录并选择一次 Codex 模型,再把同一个插件安装到 Headless profile:
99
99
 
100
100
  ```sh
101
- dsh plugin --profile headless add dsh-codex-subscription@3.1.5
101
+ dsh plugin --profile headless add dsh-codex-subscription@3.1.6
102
102
  dsh --profile headless "只回复:ok"
103
103
  ```
104
104
 
@@ -263,7 +263,7 @@ Agent 先在画板绘制可编辑草图,再以该草图为参考调用订阅
263
263
  | **速度档位** | 在支持的模型上切换标准 / Fast;账号目录提供时还有 Ultrafast(Beta),输入框显示闪电标识 | 默认标准;Fast 和 Ultrafast 会增加用量消耗,Ultrafast 目前仅 Pro 500 |
264
264
  | **输出详略** | 选择简短、适中或详细的回答偏好 | 默认跟随模型 |
265
265
  | **输入图片精度** | 为发送给聊天模型的图片选择低、高、原图或自动精度 | 影响输入 token 用量;默认自动 |
266
- | **订阅联网搜索** | 使用 Codex 搜索,或选择 DSH 搜索 | 可选自动、DSH、Codex 来源;在搜索发生时分流,不改写 DSH 自己的搜索设置,所以官方设置页的开关保持你设的样子;DeepSeek 账号路线和填了 API Key 的路线(新版 Search API / 旧版)都兼容;一方未登录或没有 Key 时自动改用另一方 |
266
+ | **订阅联网搜索** | 自动、DSH、Codex 三种来源 | 自动按会话模型优先选择来源,仅缺少凭据或服务不可用时尝试另一方;手动选择 DSH / Codex 则固定来源,失败直接报错。关闭“其他模型”后,非 Codex 会话只用 DSH 原生搜索。插件不改写 DSH 搜索设置,也不额外使用 DeepSeek 账号回退;原生搜索费用由所选服务决定 |
267
267
  | **其他模型总开关** | 一键让 DeepSeek 等非 Codex 模型的对话不再使用订阅的联网搜索、图片生成和 ChatGPT 连接器 | 设置 → Codex 订阅 → 联网与工具;默认开启,Codex 订阅模型不受影响;手机远程控制和语音由你主动开启或发起,不受它影响 |
268
268
  | **搜索范围** | 选择实时 / 缓存搜索、关闭搜索,或限定域名 | 在“联网与工具”的搜索来源下 |
269
269
  | **流无响应超时** | 设置连续没有收到流式数据时中断请求的时长 | 默认 10 分钟;不是整体回答时限 |
@@ -355,7 +355,7 @@ Agent 先在画板绘制可编辑草图,再以该草图为参考调用订阅
355
355
  <summary>终端方式</summary>
356
356
 
357
357
  ```sh
358
- dsh plugin --profile web update dsh-codex-subscription@3.1.5
358
+ dsh plugin --profile web update dsh-codex-subscription@3.1.6
359
359
  ```
360
360
 
361
361
  仅在需要卸载时运行:
package/lib/client.js CHANGED
@@ -7673,13 +7673,13 @@ window.__ModuleLoader__.load({
7673
7673
  hideEmail: "隐藏邮箱",
7674
7674
  emailUnavailable: "邮箱不可用",
7675
7675
  searchTitle: "搜索来源",
7676
- searchScope: "自动按当前会话模型分流;手动选择会覆盖所有模型和会话。",
7676
+ searchScope: "自动按当前会话模型分流;手动选择固定来源。关闭“其他模型”后,非 Codex 会话只用 DSH 原生搜索。",
7677
7677
  searchAuto: "自动",
7678
- searchAutoHint: "Codex 模型用订阅搜索,其他模型用 DSH;一方未登录或没有 Key 时自动改用另一方。",
7678
+ searchAutoHint: "Codex 模型优先订阅搜索,其他模型优先 DSH;仅缺少登录、Key 或服务不可用时尝试另一方。关闭“其他模型”后,非 Codex 会话只用 DSH 原生搜索。",
7679
7679
  searchDsh: "DSH 默认",
7680
- searchDshHint: "所有模型使用 DSH 当前搜索服务;没有 API Key 时用已登录的 DeepSeek 账号",
7680
+ searchDshHint: "只使用 DSH 当前配置的搜索服务,失败直接报错;插件不再额外使用 DeepSeek 账号回退。费用由 DSH 所选服务决定。",
7681
7681
  searchCodex: "Codex 订阅",
7682
- searchCodexHint: "所有模型通过已登录的 ChatGPT 订阅搜索",
7682
+ searchCodexHint: "固定使用 ChatGPT 订阅搜索,失败直接报错。关闭“其他模型”后,非 Codex 会话只用 DSH 原生搜索。",
7683
7683
  preferenceFailed: "设置未保存。",
7684
7684
  preferenceRetry: "重试",
7685
7685
  usage: "订阅额度",
@@ -8523,13 +8523,13 @@ window.__ModuleLoader__.load({
8523
8523
  hideEmail: "Hide email",
8524
8524
  emailUnavailable: "Email unavailable",
8525
8525
  searchTitle: "Search source",
8526
- searchScope: "Auto follows the current session model; an explicit choice overrides every model and session.",
8526
+ searchScope: "Auto follows the current session model; explicit choices fix the source. With Other models off, non-Codex chats use native DSH search only.",
8527
8527
  searchAuto: "Auto",
8528
- searchAutoHint: "Codex models use subscription search; other models use DSH; if one side is not signed in or has no key, the other is used.",
8528
+ searchAutoHint: "Codex models prefer subscription search; other models prefer DSH. Only missing sign-in, keys or an unavailable service trigger the other source. With Other models off, non-Codex chats use native DSH search only.",
8529
8529
  searchDsh: "DSH default",
8530
- searchDshHint: "Use DSH's current search service for every model; without an API key the signed-in DeepSeek account is used",
8530
+ searchDshHint: "Use only DSH's configured search service and report failures directly. The plugin adds no DeepSeek account fallback. Charges depend on the service selected in DSH.",
8531
8531
  searchCodex: "Codex subscription",
8532
- searchCodexHint: "Search through the signed-in ChatGPT subscription for every model",
8532
+ searchCodexHint: "Use ChatGPT subscription search and report failures directly. With Other models off, non-Codex chats use native DSH search only.",
8533
8533
  preferenceFailed: "The setting was not saved.",
8534
8534
  preferenceRetry: "Retry",
8535
8535
  usage: "Subscription quota",
@@ -11636,7 +11636,7 @@ window.__ModuleLoader__.load({
11636
11636
  }
11637
11637
  //#endregion
11638
11638
  //#region src/version.js
11639
- const PACKAGE_VERSION = "3.1.5";
11639
+ const PACKAGE_VERSION = "3.1.6";
11640
11640
  //#endregion
11641
11641
  //#region src/client-recovery.js
11642
11642
  async function recoveryCall(rpc, endpoint, payload = {}, timeoutMs = 1e4) {