dsh-codex-subscription 3.2.1 → 3.2.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/README.en.md +7 -6
- package/README.md +7 -6
- package/compatibility.json +3 -2
- package/lib/client.js +58 -12
- package/lib/index.js +202 -24
- package/package.json +36 -36
package/README.en.md
CHANGED
|
@@ -47,7 +47,7 @@ Web search and webpage reading sources, ChatGPT connectors and official Codex in
|
|
|
47
47
|
|
|
48
48
|
## Prepare DSH
|
|
49
49
|
|
|
50
|
-
Verified against DSH `0.2.1-rc.
|
|
50
|
+
Verified against DSH `0.2.1-rc.5`, with `0.2.1-rc.3` and `0.2.1-rc.2` still supported; the minimum supported version is `0.1.7-rc.2`. Please upgrade older DSH releases first.
|
|
51
51
|
|
|
52
52
|
Also supports the preview host `0.2.2-alpha.2`. See the [compatibility notes](docs/dsh-022-alpha2-compatibility.md) for scope and validation limits.
|
|
53
53
|
|
|
@@ -70,7 +70,7 @@ This plugin supports the latest DeepSeek Harness release recorded in its package
|
|
|
70
70
|
2. Paste this package name, with its version, into the **Package name or address** field:
|
|
71
71
|
|
|
72
72
|
```text
|
|
73
|
-
dsh-codex-subscription@3.2.
|
|
73
|
+
dsh-codex-subscription@3.2.2
|
|
74
74
|
```
|
|
75
75
|
|
|
76
76
|
3. Click **Install** and wait for completion. Follow the page instructions; save your work before restarting if requested.
|
|
@@ -87,7 +87,7 @@ Why the version is included: DSH's plugin page only installs versions that are a
|
|
|
87
87
|
<summary>Terminal installation (with an existing dsh command)</summary>
|
|
88
88
|
|
|
89
89
|
```sh
|
|
90
|
-
dsh plugin --profile web add dsh-codex-subscription@3.2.
|
|
90
|
+
dsh plugin --profile web add dsh-codex-subscription@3.2.2
|
|
91
91
|
```
|
|
92
92
|
|
|
93
93
|
Follow the restart instructions, then sign in under **Settings → Codex**. Both the Plugins page and the terminal use DSH's installation management.
|
|
@@ -100,7 +100,7 @@ Follow the restart instructions, then sign in under **Settings → Codex**. Both
|
|
|
100
100
|
After signing in and selecting a Codex model in Web, install the same plugin in the Headless profile:
|
|
101
101
|
|
|
102
102
|
```sh
|
|
103
|
-
dsh plugin --profile headless add dsh-codex-subscription@3.2.
|
|
103
|
+
dsh plugin --profile headless add dsh-codex-subscription@3.2.2
|
|
104
104
|
dsh --profile headless "Reply with only the word: ok"
|
|
105
105
|
```
|
|
106
106
|
|
|
@@ -152,7 +152,7 @@ Open **Settings → Codex** to manage accounts and preferences. Screenshots and
|
|
|
152
152
|
|
|
153
153
|
Voice conversation is off by default. Enable it under **Phone & more**, then start a call from the composer. If a native window, including Linux, does not support WebRTC, DSH offers to continue the same conversation in a browser. Voice samples remain available, and your existing subscription is used without an API key.
|
|
154
154
|
|
|
155
|
-
**Model-aware context** follows your account's model directory; refreshing preserves your unsaved draft. Quota groups use backend-provided values, including separate buckets such as Spark.
|
|
155
|
+
**Model-aware context** follows your account's model directory; refreshing preserves your unsaved draft. Settings show the raw window; conversation budgets reserve headroom using the official percentage (5% when omitted), then DSH manages output reservations and compaction. No manual subtraction is needed. Quota groups use backend-provided values, including separate buckets such as Spark.
|
|
156
156
|
|
|
157
157
|
Subscription failures remain visible: no silent fallback to another paid route.
|
|
158
158
|
|
|
@@ -365,7 +365,7 @@ Find this plugin on the DSH **Plugins** page and use its update or uninstall act
|
|
|
365
365
|
<summary>Terminal commands</summary>
|
|
366
366
|
|
|
367
367
|
```sh
|
|
368
|
-
dsh plugin --profile web update dsh-codex-subscription@3.2.
|
|
368
|
+
dsh plugin --profile web update dsh-codex-subscription@3.2.2
|
|
369
369
|
```
|
|
370
370
|
|
|
371
371
|
Run only when you want to uninstall:
|
|
@@ -430,6 +430,7 @@ This community project is not affiliated with or endorsed by DeepSeek or OpenAI.
|
|
|
430
430
|
- Use the [bug report form](https://github.com/WSL043/dsh-codex-subscription/issues/new?template=install-problem.yml) for project feedback.
|
|
431
431
|
- Use the [feature request form](https://github.com/WSL043/dsh-codex-subscription/issues/new?template=feature-request.yml) for focused product suggestions.
|
|
432
432
|
- Focused fixes and compatibility improvements are welcome; see [CONTRIBUTING.md](CONTRIBUTING.md).
|
|
433
|
+
- Help [maintain and develop the project](CONTRIBUTING.md#help-maintain): take ongoing responsibility for a module, follow up on related issues or review code. [Open an issue](https://github.com/WSL043/dsh-codex-subscription/issues/new?template=help-maintain.yml) to discuss.
|
|
433
434
|
- For DSH plugin discussion, visit [DeepSeek Harness Discussions](https://github.com/deepseek-ai/deepseek-harness/discussions).
|
|
434
435
|
- Read [SECURITY.md](SECURITY.md) before reporting sensitive issues.
|
|
435
436
|
|
package/README.md
CHANGED
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
|
|
48
48
|
## 准备 DSH
|
|
49
49
|
|
|
50
|
-
已验证兼容 DSH `0.2.1-rc.
|
|
50
|
+
已验证兼容 DSH `0.2.1-rc.5`,继续支持 `0.2.1-rc.3` 和 `0.2.1-rc.2`,最低支持 `0.1.7-rc.2`;更早的 DSH 请先升级。
|
|
51
51
|
|
|
52
52
|
另支持预览宿主 `0.2.2-alpha.2`;范围与验收边界见[兼容性记录](docs/dsh-022-alpha2-compatibility.md)。
|
|
53
53
|
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
2. 在 **包名或地址** 输入框中粘贴下面的包名(已带版本号):
|
|
71
71
|
|
|
72
72
|
```text
|
|
73
|
-
dsh-codex-subscription@3.2.
|
|
73
|
+
dsh-codex-subscription@3.2.2
|
|
74
74
|
```
|
|
75
75
|
|
|
76
76
|
3. 点击 **安装**,等待安装完成;按页面提示操作,需要重启时先保存工作。
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
<summary>终端安装(已能运行 dsh 命令)</summary>
|
|
88
88
|
|
|
89
89
|
```sh
|
|
90
|
-
dsh plugin --profile web add dsh-codex-subscription@3.2.
|
|
90
|
+
dsh plugin --profile web add dsh-codex-subscription@3.2.2
|
|
91
91
|
```
|
|
92
92
|
|
|
93
93
|
安装完成后按提示重启 DSH,再到 **设置 → Codex 订阅** 登录。插件页面和终端均由 DSH 管理安装。
|
|
@@ -100,7 +100,7 @@ dsh plugin --profile web add dsh-codex-subscription@3.2.1
|
|
|
100
100
|
先在 Web 中完成登录并选择一次 Codex 模型,再把同一个插件安装到 Headless profile:
|
|
101
101
|
|
|
102
102
|
```sh
|
|
103
|
-
dsh plugin --profile headless add dsh-codex-subscription@3.2.
|
|
103
|
+
dsh plugin --profile headless add dsh-codex-subscription@3.2.2
|
|
104
104
|
dsh --profile headless "只回复:ok"
|
|
105
105
|
```
|
|
106
106
|
|
|
@@ -152,7 +152,7 @@ dsh --profile headless "只回复:ok"
|
|
|
152
152
|
|
|
153
153
|
语音对话默认关闭,在 **手机与更多** 开启后可从输入框发起。Linux 等原生窗口不支持 WebRTC 时,会提供在浏览器中继续同一会话的入口;音色试听仍可使用,继续使用现有订阅,无需 API Key。
|
|
154
154
|
|
|
155
|
-
|
|
155
|
+
**模型感知上下文**跟随账号模型目录,刷新不会覆盖未保存的草稿。设置显示原始窗口,对话预算按官方系数预留安全空间(目录未提供时为 5%),再由 DSH 管理输出预留和压缩,无需手动扣除。额度分组以服务端实际返回为准,包括 Spark 等独立额度。
|
|
156
156
|
|
|
157
157
|
订阅请求失败时会明确报错,不会静默切换到其他付费路由。
|
|
158
158
|
|
|
@@ -365,7 +365,7 @@ Agent 先在画板绘制可编辑草图,再以该草图为参考调用订阅
|
|
|
365
365
|
<summary>终端方式</summary>
|
|
366
366
|
|
|
367
367
|
```sh
|
|
368
|
-
dsh plugin --profile web update dsh-codex-subscription@3.2.
|
|
368
|
+
dsh plugin --profile web update dsh-codex-subscription@3.2.2
|
|
369
369
|
```
|
|
370
370
|
|
|
371
371
|
仅在需要卸载时运行:
|
|
@@ -430,6 +430,7 @@ dsh plugin --profile web remove dsh-codex-subscription
|
|
|
430
430
|
- 本项目的问题反馈请使用[使用问题表单](https://github.com/WSL043/dsh-codex-subscription/issues/new?template=install-problem.yml);
|
|
431
431
|
- 明确的产品建议请使用[功能建议表单](https://github.com/WSL043/dsh-codex-subscription/issues/new?template=feature-request.yml);
|
|
432
432
|
- 欢迎提交聚焦的修复和兼容性改进,具体要求见 [CONTRIBUTING.md](CONTRIBUTING.md);
|
|
433
|
+
- 欢迎[共同维护与开发](CONTRIBUTING.md#help-maintain):长期负责某个模块、跟进相关问题或参与代码审查,可以[开个 Issue 聊聊](https://github.com/WSL043/dsh-codex-subscription/issues/new?template=help-maintain.yml);
|
|
433
434
|
- DSH 插件交流可前往 [DeepSeek Harness Discussions](https://github.com/deepseek-ai/deepseek-harness/discussions)。
|
|
434
435
|
- 敏感问题请先阅读 [SECURITY.md](SECURITY.md)。
|
|
435
436
|
|
package/compatibility.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"latestTested": "0.2.1-rc.
|
|
2
|
+
"latestTested": "0.2.1-rc.5",
|
|
3
3
|
"supported": [
|
|
4
4
|
"0.1.7-rc.2",
|
|
5
5
|
"0.2.0-rc.1",
|
|
@@ -7,7 +7,8 @@
|
|
|
7
7
|
"0.2.1-rc.1",
|
|
8
8
|
"0.2.1-rc.2",
|
|
9
9
|
"0.2.1-rc.3",
|
|
10
|
-
"0.2.1-rc.4"
|
|
10
|
+
"0.2.1-rc.4",
|
|
11
|
+
"0.2.1-rc.5"
|
|
11
12
|
],
|
|
12
13
|
"previews": [
|
|
13
14
|
"0.2.1-alpha.1",
|
package/lib/client.js
CHANGED
|
@@ -1551,6 +1551,7 @@ window.__ModuleLoader__.load({
|
|
|
1551
1551
|
subagentBackend_dsh: "DSH",
|
|
1552
1552
|
subagentBackend_codex: "Codex",
|
|
1553
1553
|
connectionTitle: "连接方式",
|
|
1554
|
+
state_connection_cloud: "已开启云端压缩,本次请求实际使用 SSE。",
|
|
1554
1555
|
diagnosticsLog: "运行日志",
|
|
1555
1556
|
diagnosticsLogHint: "按时间记录运行中发生的事,错误和警告在最上面的筛选里。内容已去掉令牌、邮箱和路径。",
|
|
1556
1557
|
logLevel_all: "全部",
|
|
@@ -1622,7 +1623,7 @@ window.__ModuleLoader__.load({
|
|
|
1622
1623
|
reviewModel_session: "当前模型",
|
|
1623
1624
|
reviewModel_official: "Codex 官方审查模型",
|
|
1624
1625
|
reviewModelHint: "默认使用当前模型。选择官方后,DSH Auto review 用 Codex 自带的审查模型判断工具调用(账号目录提供时),审查规则与放行、拒绝流程仍由 DSH 负责;不可用时沿用当前模型。",
|
|
1625
|
-
connectionHint: "默认 SSE。WebSocket
|
|
1626
|
+
connectionHint: "默认 SSE。WebSocket 实验性复用连接与上下文传输;开始输出前连接失败可回退 SSE。开启云端压缩时实际使用 SSE。下次请求生效,不扩大上下文容量。",
|
|
1626
1627
|
streamIdleTimeoutTitle: "流无响应超时",
|
|
1627
1628
|
streamIdleTimeoutHint: "连续多久没有收到任何流式数据时中断本次请求,不是整体回答时限。调低可能中断较慢但仍在推理的回答,并交由 DSH 重试处理。默认 10 分钟。",
|
|
1628
1629
|
streamIdleTimeout_2: "2 分钟",
|
|
@@ -2056,11 +2057,11 @@ window.__ModuleLoader__.load({
|
|
|
2056
2057
|
quickQuotaForecastHint: "输入框仅显示剩余额度,悬浮或点击查看预测。按最近两小时用量估算何时用完;未来用量变化会影响结果,仅供参考。历史保存在本机。",
|
|
2057
2058
|
contextTitle: "上下文窗口",
|
|
2058
2059
|
contextStandard: "标准",
|
|
2059
|
-
contextStandardHint: "
|
|
2060
|
+
contextStandardHint: "使用当前账号模型目录的默认窗口。实际对话预算会按官方系数预留安全空间(未提供时为 5%),再由 DSH 管理输出预留和压缩。",
|
|
2060
2061
|
contextExtended: "扩展",
|
|
2061
|
-
contextExtendedHint: "
|
|
2062
|
+
contextExtendedHint: "使用当前账号模型目录允许的最大窗口,实际可用性由服务端决定。设置值为原始容量;对话预算会预留与标准档相同的安全空间。",
|
|
2062
2063
|
contextCustom: "自定义",
|
|
2063
|
-
contextCustomHint: "输入完整 Token
|
|
2064
|
+
contextCustomHint: "输入完整 Token 数值,不超过当前模型上限;安全空间会自动预留,无需手动扣除。较低数值会更早触发压缩。",
|
|
2064
2065
|
contextTokens: "Token 上限",
|
|
2065
2066
|
contextFixed: "固定 {value}",
|
|
2066
2067
|
contextMaximum: "范围 {minimum}–{value}",
|
|
@@ -2539,7 +2540,8 @@ window.__ModuleLoader__.load({
|
|
|
2539
2540
|
reviewModel_session: "Current model",
|
|
2540
2541
|
reviewModel_official: "Codex reviewer",
|
|
2541
2542
|
reviewModelHint: "Uses the current model by default. With Codex reviewer, DSH Auto review judges tool calls with Codex's own review model when your account catalog offers it. DSH keeps its review policy and allow/deny flow; otherwise the current model is used.",
|
|
2542
|
-
connectionHint: "SSE by default. Experimental WebSocket reuses connections and context transfers
|
|
2543
|
+
connectionHint: "SSE by default. Experimental WebSocket reuses connections and context transfers; connection failure before output can fall back to SSE. Cloud compaction uses SSE even when WebSocket is selected. Applies to the next request; context limits stay the same.",
|
|
2544
|
+
state_connection_cloud: "Cloud compaction is on; this request uses SSE.",
|
|
2543
2545
|
streamIdleTimeoutTitle: "Stream inactivity timeout",
|
|
2544
2546
|
streamIdleTimeoutHint: "How long a request may receive no streamed data before it is aborted. This is not an overall response deadline. Lower values can abort slow but valid reasoning and hand the request to DSH retry handling. Default: 10 minutes.",
|
|
2545
2547
|
streamIdleTimeout_2: "2 min",
|
|
@@ -2973,11 +2975,11 @@ window.__ModuleLoader__.load({
|
|
|
2973
2975
|
quickQuotaForecastHint: "Shows remaining quota in the composer; hover or click for the forecast. Estimates run-out time from recent two-hour usage. Future usage affects the result. History stays local.",
|
|
2974
2976
|
contextTitle: "Context window",
|
|
2975
2977
|
contextStandard: "Standard",
|
|
2976
|
-
contextStandardHint: "Use the
|
|
2978
|
+
contextStandardHint: "Use the current account catalog default. The conversation budget reserves headroom using the official percentage (5% when omitted); DSH then manages output reservations and compaction.",
|
|
2977
2979
|
contextExtended: "Extended",
|
|
2978
|
-
contextExtendedHint: "
|
|
2980
|
+
contextExtendedHint: "Use the maximum window allowed by the current account catalog; availability depends on the service. Settings show raw capacity; conversations reserve the same headroom as Standard.",
|
|
2979
2981
|
contextCustom: "Custom",
|
|
2980
|
-
contextCustomHint: "Enter the full token count;
|
|
2982
|
+
contextCustomHint: "Enter the full token count within the model limit. Headroom is reserved automatically; do not subtract it manually. Lower values trigger compaction sooner.",
|
|
2981
2983
|
contextTokens: "Token limit",
|
|
2982
2984
|
contextFixed: "Fixed {value}",
|
|
2983
2985
|
contextMaximum: "{minimum}–{value}",
|
|
@@ -3483,6 +3485,9 @@ window.__ModuleLoader__.load({
|
|
|
3483
3485
|
@container (max-width:480px){.codexSubscriptionAccountRow,.codexSubscriptionSectionHead{align-items:flex-start;flex-direction:column}
|
|
3484
3486
|
.codexSubscriptionActions{width:100%}
|
|
3485
3487
|
.codexSubscriptionSearchChoices{grid-template-columns:1fr}}
|
|
3488
|
+
/* Reserve the account buttons' natural width and let email/quota text shrink.
|
|
3489
|
+
Match the narrow layout's boundary exactly, including fractional CSS widths. */
|
|
3490
|
+
@container (width > 480px){.codexSubscriptionAccount>.codexSubscriptionActions{flex-wrap:nowrap;flex:0 0 auto}}
|
|
3486
3491
|
.codexSubscriptionRuntime{font-size:12px;line-height:1.6;margin-top:12px;color:var(--dsw-alias-label-secondary)}
|
|
3487
3492
|
.codexSubscriptionRuntime summary{cursor:pointer;width:fit-content;color:var(--dsw-alias-label-primary);border-radius:6px}
|
|
3488
3493
|
.codexSubscriptionRuntime summary:focus-visible{outline:2px solid currentColor;outline-offset:4px}
|
|
@@ -5125,7 +5130,7 @@ a.codexVoiceCall{display:flex;align-items:center;justify-content:center;box-sizi
|
|
|
5125
5130
|
}
|
|
5126
5131
|
//#endregion
|
|
5127
5132
|
//#region src/version.js
|
|
5128
|
-
const PACKAGE_VERSION = "3.2.
|
|
5133
|
+
const PACKAGE_VERSION = "3.2.2";
|
|
5129
5134
|
//#endregion
|
|
5130
5135
|
//#region src/client-recovery.js
|
|
5131
5136
|
async function recoveryCall(rpc, endpoint, payload = {}, timeoutMs = 1e4) {
|
|
@@ -10532,6 +10537,46 @@ void main(){
|
|
|
10532
10537
|
return `${stamp} ${entry.level.toUpperCase().padEnd(5)} [${entry.area}] ${entry.message}${entry.detail ? ` — ${entry.detail}` : ""}${repeat}`;
|
|
10533
10538
|
}
|
|
10534
10539
|
//#endregion
|
|
10540
|
+
//#region src/model-stream-health.js
|
|
10541
|
+
function safeStreamHealth(value) {
|
|
10542
|
+
if (!Array.isArray(value)) return [];
|
|
10543
|
+
return value.slice(-20).filter((item) => [
|
|
10544
|
+
"completed",
|
|
10545
|
+
"failed",
|
|
10546
|
+
"cancelled"
|
|
10547
|
+
].includes(item?.status)).map((item) => ({
|
|
10548
|
+
status: item.status,
|
|
10549
|
+
...Object.fromEntries([
|
|
10550
|
+
"configured",
|
|
10551
|
+
"selected",
|
|
10552
|
+
"effective"
|
|
10553
|
+
].filter((key) => [
|
|
10554
|
+
"sse",
|
|
10555
|
+
"websocket",
|
|
10556
|
+
"unknown"
|
|
10557
|
+
].includes(item[key])).map((key) => [key, item[key]])),
|
|
10558
|
+
...Object.fromEntries([
|
|
10559
|
+
"durationMs",
|
|
10560
|
+
"firstEventMs",
|
|
10561
|
+
"lastEventAgoMs",
|
|
10562
|
+
"eventCount",
|
|
10563
|
+
"consecutiveFailures",
|
|
10564
|
+
"httpStatus"
|
|
10565
|
+
].filter((key) => Number.isSafeInteger(item[key]) && item[key] >= 0).map((key) => [key, item[key]])),
|
|
10566
|
+
...["provider", "adapter"].includes(item.eventSource) ? { eventSource: item.eventSource } : {},
|
|
10567
|
+
...typeof item.outputStarted === "boolean" ? { outputStarted: item.outputStarted } : {},
|
|
10568
|
+
...[
|
|
10569
|
+
"ECONNRESET",
|
|
10570
|
+
"ETIMEDOUT",
|
|
10571
|
+
"ECONNREFUSED",
|
|
10572
|
+
"ERR_STREAM_PREMATURE_CLOSE",
|
|
10573
|
+
"TIMEOUT",
|
|
10574
|
+
"WS_CLOSED",
|
|
10575
|
+
"OTHER"
|
|
10576
|
+
].includes(item.code) ? { code: item.code } : {}
|
|
10577
|
+
}));
|
|
10578
|
+
}
|
|
10579
|
+
//#endregion
|
|
10535
10580
|
//#region src/diagnostic-compact.js
|
|
10536
10581
|
function compactDiagnostic(report) {
|
|
10537
10582
|
const summary = report.summary ?? { findings: [] };
|
|
@@ -10548,6 +10593,7 @@ void main(){
|
|
|
10548
10593
|
refresh: report.catalog.refresh
|
|
10549
10594
|
} : void 0,
|
|
10550
10595
|
configuration: report.configuration,
|
|
10596
|
+
...report.streamHealth ? { streamHealth: safeStreamHealth(report.streamHealth).slice(-5) } : {},
|
|
10551
10597
|
findings: summary.findings.map((item) => ({
|
|
10552
10598
|
code: item.code,
|
|
10553
10599
|
severity: item.severity,
|
|
@@ -11844,16 +11890,16 @@ void main(){
|
|
|
11844
11890
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", { className: "codexSubscriptionDivider" }),
|
|
11845
11891
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
11846
11892
|
className: "codexSubscriptionPreference",
|
|
11847
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.
|
|
11893
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
11848
11894
|
className: "codexSubscriptionPreferenceCopy",
|
|
11849
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(SettingsLabel, {
|
|
11895
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(SettingsLabel, {
|
|
11850
11896
|
description: t("connectionHint"),
|
|
11851
11897
|
children: [
|
|
11852
11898
|
t("connectionTitle"),
|
|
11853
11899
|
" ",
|
|
11854
11900
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("small", { children: "Beta" })
|
|
11855
11901
|
]
|
|
11856
|
-
})
|
|
11902
|
+
}), snapshot.compactionMode === "cloud" && snapshot.connectionMode === "websocket" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Hint, { children: t("state_connection_cloud") }) : null]
|
|
11857
11903
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Radios, {
|
|
11858
11904
|
snapshot,
|
|
11859
11905
|
preference,
|
package/lib/index.js
CHANGED
|
@@ -1431,6 +1431,27 @@ function createSubscriptionConnection({ resolveMode = () => "sse", resolveProxy
|
|
|
1431
1431
|
};
|
|
1432
1432
|
}
|
|
1433
1433
|
//#endregion
|
|
1434
|
+
//#region src/context-budget.js
|
|
1435
|
+
const effectiveContextPercent = (value) => Number.isInteger(value) && value > 0 && value <= 100 ? value : 95;
|
|
1436
|
+
function effectiveContextWindow(window, percent) {
|
|
1437
|
+
return Number.isSafeInteger(window) && window > 0 ? Math.floor(window * effectiveContextPercent(percent) / 100) : window;
|
|
1438
|
+
}
|
|
1439
|
+
/** Match DSH basic compaction's default pressure budget, using an already effective window.
|
|
1440
|
+
* maxTokens is the routed request's local output reservation, not the model's output ceiling.
|
|
1441
|
+
* Ratio and headroom are alternative pressure limits: do not subtract them successively.
|
|
1442
|
+
*/
|
|
1443
|
+
function compactionThreshold(window, maxTokens, configured) {
|
|
1444
|
+
if (configured !== void 0 && (!Number.isSafeInteger(configured) || configured < 1e3)) throw new Error("Invalid compaction threshold");
|
|
1445
|
+
const reserved = maxTokens ?? 0;
|
|
1446
|
+
if (!Number.isSafeInteger(reserved) || reserved < 0) throw new Error("Invalid compaction output reservation");
|
|
1447
|
+
if (window === void 0 || window === null) return configured ?? 1e5;
|
|
1448
|
+
if (!Number.isSafeInteger(window) || window <= 0) throw new Error("Invalid Codex context window");
|
|
1449
|
+
const pressure = window - reserved - 65536;
|
|
1450
|
+
const limit = Math.floor(Math.min(window * .8, pressure, configured ?? Infinity));
|
|
1451
|
+
if (limit < 1e3) throw new Error("Codex context budget is too small for the requested output reservation and compaction headroom");
|
|
1452
|
+
return limit;
|
|
1453
|
+
}
|
|
1454
|
+
//#endregion
|
|
1434
1455
|
//#region src/subscription-compaction.js
|
|
1435
1456
|
/** Experimental SSE bridge; callers must explicitly opt in. */
|
|
1436
1457
|
const clone$2 = (value) => JSON.parse(JSON.stringify(value));
|
|
@@ -1453,7 +1474,7 @@ function createCompactionBridge({ enabled = () => false, threshold, accountScope
|
|
|
1453
1474
|
checkpointsSaved: 0,
|
|
1454
1475
|
checkpointsReused: 0
|
|
1455
1476
|
};
|
|
1456
|
-
const wrapStream = (factory, options) => (async function* () {
|
|
1477
|
+
const wrapStream = (factory, options, modelInfo) => (async function* () {
|
|
1457
1478
|
if (!enabled() || options.provider !== "openai-codex") {
|
|
1458
1479
|
yield* factory(options);
|
|
1459
1480
|
return;
|
|
@@ -1465,7 +1486,8 @@ function createCompactionBridge({ enabled = () => false, threshold, accountScope
|
|
|
1465
1486
|
original: options.messages,
|
|
1466
1487
|
blocks: [],
|
|
1467
1488
|
suffix: void 0,
|
|
1468
|
-
completed: false
|
|
1489
|
+
completed: false,
|
|
1490
|
+
outputReserve: options.maxTokens ?? modelInfo?.defaultMaxTokens
|
|
1469
1491
|
};
|
|
1470
1492
|
let messages = options.messages;
|
|
1471
1493
|
for (let i = messages.length - 1; i >= 0; i--) {
|
|
@@ -1524,19 +1546,29 @@ function createCompactionBridge({ enabled = () => false, threshold, accountScope
|
|
|
1524
1546
|
snapshot: () => ({ ...stats }),
|
|
1525
1547
|
wrapAdapter(adapter) {
|
|
1526
1548
|
return new Proxy(adapter, { get(target, property) {
|
|
1527
|
-
if (property === "stream") return (options) =>
|
|
1549
|
+
if (property === "stream") return (options) => (async function* () {
|
|
1550
|
+
if (!enabled() || options.provider !== "openai-codex") {
|
|
1551
|
+
yield* target.stream(options);
|
|
1552
|
+
return;
|
|
1553
|
+
}
|
|
1554
|
+
const call = typeof target.prepareCall === "function" ? await target.prepareCall(options.provider, options.model, options.signal) : {
|
|
1555
|
+
model: await target.resolveModel?.(options.provider, options.model),
|
|
1556
|
+
stream: (o) => target.stream(o)
|
|
1557
|
+
};
|
|
1558
|
+
yield* wrapStream((o) => call.stream(o), options, call.model);
|
|
1559
|
+
})();
|
|
1528
1560
|
if (property === "prepareCall") return async (...args) => {
|
|
1529
1561
|
const call = await target.prepareCall(...args);
|
|
1530
1562
|
return {
|
|
1531
1563
|
...call,
|
|
1532
|
-
stream: (options) => wrapStream((o) => call.stream(o), options)
|
|
1564
|
+
stream: (options) => wrapStream((o) => call.stream(o), options, call.model)
|
|
1533
1565
|
};
|
|
1534
1566
|
};
|
|
1535
1567
|
const value = Reflect.get(target, property, target);
|
|
1536
1568
|
return typeof value === "function" ? value.bind(target) : value;
|
|
1537
1569
|
} });
|
|
1538
1570
|
},
|
|
1539
|
-
preparePayload(payload, contextWindow) {
|
|
1571
|
+
preparePayload(payload, contextWindow, maxTokens) {
|
|
1540
1572
|
const state = scope.getStore();
|
|
1541
1573
|
if (!state) return payload;
|
|
1542
1574
|
if (!state.counted) {
|
|
@@ -1544,12 +1576,7 @@ function createCompactionBridge({ enabled = () => false, threshold, accountScope
|
|
|
1544
1576
|
stats.requests = Math.min(Number.MAX_SAFE_INTEGER, stats.requests + 1);
|
|
1545
1577
|
if (state.suffix) stats.checkpointsReused = Math.min(Number.MAX_SAFE_INTEGER, stats.checkpointsReused + 1);
|
|
1546
1578
|
}
|
|
1547
|
-
const
|
|
1548
|
-
const configured = threshold?.();
|
|
1549
|
-
if (configured !== void 0 && (!Number.isSafeInteger(configured) || configured < 1e3)) throw new Error("Invalid compaction threshold");
|
|
1550
|
-
const byWindow = windowKnown ? Math.floor(Math.min(contextWindow * .8, contextWindow - Math.min(65536, contextWindow / 4))) : 1e5;
|
|
1551
|
-
const limit = configured === void 0 ? byWindow : windowKnown ? Math.min(configured, Math.floor(contextWindow / 2)) : configured;
|
|
1552
|
-
if (!Number.isSafeInteger(limit) || limit < 1e3) throw new Error("Invalid compaction threshold");
|
|
1579
|
+
const limit = compactionThreshold(contextWindow, maxTokens ?? state.outputReserve, threshold?.());
|
|
1553
1580
|
return {
|
|
1554
1581
|
...payload,
|
|
1555
1582
|
input: [...state.suffix ?? [], ...payload.input],
|
|
@@ -1922,6 +1949,134 @@ function createModelRetryBridge() {
|
|
|
1922
1949
|
};
|
|
1923
1950
|
}
|
|
1924
1951
|
//#endregion
|
|
1952
|
+
//#region src/model-stream-health.js
|
|
1953
|
+
const transportOf = (value) => value?.startsWith("websocket") ? "websocket" : value === "sse" ? "sse" : "unknown";
|
|
1954
|
+
const failureCode = (error) => {
|
|
1955
|
+
const text = String(error?.errorMessage ?? error?.message ?? "");
|
|
1956
|
+
return [
|
|
1957
|
+
"ECONNRESET",
|
|
1958
|
+
"ETIMEDOUT",
|
|
1959
|
+
"ECONNREFUSED",
|
|
1960
|
+
"ERR_STREAM_PREMATURE_CLOSE"
|
|
1961
|
+
].find((code) => error?.code === code || text.includes(code)) ?? (/timeout/i.test(text) ? "TIMEOUT" : /WebSocket closed/i.test(text) ? "WS_CLOSED" : "OTHER");
|
|
1962
|
+
};
|
|
1963
|
+
/** Bounded request-level facts; no prompts, response bodies, credentials or public session ids. */
|
|
1964
|
+
function createModelStreamHealth({ now = Date.now, log = () => {} } = {}) {
|
|
1965
|
+
const recent = [], streaks = /* @__PURE__ */ new Map();
|
|
1966
|
+
return {
|
|
1967
|
+
snapshot: () => recent.map((value) => ({ ...value })),
|
|
1968
|
+
begin({ sessionId, configured, selected }) {
|
|
1969
|
+
const start = now(), configuredTransport = transportOf(configured), selectedTransport = transportOf(selected);
|
|
1970
|
+
let done = false, providerEvents = false, lastEvent, firstEvent, count = 0, output = false, httpStatus;
|
|
1971
|
+
let effectiveTransport = "unknown";
|
|
1972
|
+
const event = () => {
|
|
1973
|
+
const at = now();
|
|
1974
|
+
firstEvent ??= at;
|
|
1975
|
+
lastEvent = at;
|
|
1976
|
+
count++;
|
|
1977
|
+
};
|
|
1978
|
+
return {
|
|
1979
|
+
response(info) {
|
|
1980
|
+
effectiveTransport = "sse";
|
|
1981
|
+
if (Number.isInteger(info?.status)) httpStatus = info.status;
|
|
1982
|
+
},
|
|
1983
|
+
providerEvent() {
|
|
1984
|
+
providerEvents = true;
|
|
1985
|
+
event();
|
|
1986
|
+
if (effectiveTransport === "unknown" && selectedTransport === "websocket") effectiveTransport = "websocket";
|
|
1987
|
+
},
|
|
1988
|
+
observe(value) {
|
|
1989
|
+
if (value?.type?.endsWith("_delta")) output = true;
|
|
1990
|
+
if (!providerEvents && ![
|
|
1991
|
+
"start",
|
|
1992
|
+
"error",
|
|
1993
|
+
"done"
|
|
1994
|
+
].includes(value?.type)) {
|
|
1995
|
+
event();
|
|
1996
|
+
if (effectiveTransport === "unknown" && selectedTransport === "websocket") effectiveTransport = "websocket";
|
|
1997
|
+
}
|
|
1998
|
+
},
|
|
1999
|
+
finish(status, error) {
|
|
2000
|
+
if (done) return;
|
|
2001
|
+
done = true;
|
|
2002
|
+
const end = now(), code = status === "failed" ? failureCode(error) : void 0;
|
|
2003
|
+
const previous = typeof sessionId === "string" ? streaks.get(sessionId) : void 0;
|
|
2004
|
+
const signature = `${effectiveTransport}:${code}`;
|
|
2005
|
+
const consecutiveFailures = status === "failed" && typeof sessionId === "string" ? previous?.signature === signature ? Math.min(previous.count + 1, 1e3) : 1 : 0;
|
|
2006
|
+
if (typeof sessionId === "string") {
|
|
2007
|
+
streaks.delete(sessionId);
|
|
2008
|
+
if (consecutiveFailures) streaks.set(sessionId, {
|
|
2009
|
+
signature,
|
|
2010
|
+
count: consecutiveFailures
|
|
2011
|
+
});
|
|
2012
|
+
if (streaks.size > 100) streaks.delete(streaks.keys().next().value);
|
|
2013
|
+
}
|
|
2014
|
+
const value = {
|
|
2015
|
+
status,
|
|
2016
|
+
configured: configuredTransport,
|
|
2017
|
+
selected: selectedTransport,
|
|
2018
|
+
effective: effectiveTransport,
|
|
2019
|
+
durationMs: Math.max(0, end - start),
|
|
2020
|
+
eventCount: count,
|
|
2021
|
+
eventSource: providerEvents ? "provider" : "adapter",
|
|
2022
|
+
outputStarted: output,
|
|
2023
|
+
...firstEvent === void 0 ? {} : {
|
|
2024
|
+
firstEventMs: Math.max(0, firstEvent - start),
|
|
2025
|
+
lastEventAgoMs: Math.max(0, end - lastEvent)
|
|
2026
|
+
},
|
|
2027
|
+
...httpStatus === void 0 ? {} : { httpStatus },
|
|
2028
|
+
...code === void 0 ? {} : {
|
|
2029
|
+
code,
|
|
2030
|
+
consecutiveFailures
|
|
2031
|
+
}
|
|
2032
|
+
};
|
|
2033
|
+
recent.push(value);
|
|
2034
|
+
if (recent.length > 20) recent.shift();
|
|
2035
|
+
if (status !== "cancelled") log(status === "failed" ? "warn" : "info", `stream ${status}: configured=${configuredTransport} selected=${selectedTransport} effective=${effectiveTransport} duration_ms=${value.durationMs} first_event_ms=${value.firstEventMs ?? "none"} last_event_ago_ms=${value.lastEventAgoMs ?? "none"} events=${count}${code ? ` failure=${code} consecutive=${consecutiveFailures}` : ""}`);
|
|
2036
|
+
}
|
|
2037
|
+
};
|
|
2038
|
+
}
|
|
2039
|
+
};
|
|
2040
|
+
}
|
|
2041
|
+
function safeStreamHealth(value) {
|
|
2042
|
+
if (!Array.isArray(value)) return [];
|
|
2043
|
+
return value.slice(-20).filter((item) => [
|
|
2044
|
+
"completed",
|
|
2045
|
+
"failed",
|
|
2046
|
+
"cancelled"
|
|
2047
|
+
].includes(item?.status)).map((item) => ({
|
|
2048
|
+
status: item.status,
|
|
2049
|
+
...Object.fromEntries([
|
|
2050
|
+
"configured",
|
|
2051
|
+
"selected",
|
|
2052
|
+
"effective"
|
|
2053
|
+
].filter((key) => [
|
|
2054
|
+
"sse",
|
|
2055
|
+
"websocket",
|
|
2056
|
+
"unknown"
|
|
2057
|
+
].includes(item[key])).map((key) => [key, item[key]])),
|
|
2058
|
+
...Object.fromEntries([
|
|
2059
|
+
"durationMs",
|
|
2060
|
+
"firstEventMs",
|
|
2061
|
+
"lastEventAgoMs",
|
|
2062
|
+
"eventCount",
|
|
2063
|
+
"consecutiveFailures",
|
|
2064
|
+
"httpStatus"
|
|
2065
|
+
].filter((key) => Number.isSafeInteger(item[key]) && item[key] >= 0).map((key) => [key, item[key]])),
|
|
2066
|
+
...["provider", "adapter"].includes(item.eventSource) ? { eventSource: item.eventSource } : {},
|
|
2067
|
+
...typeof item.outputStarted === "boolean" ? { outputStarted: item.outputStarted } : {},
|
|
2068
|
+
...[
|
|
2069
|
+
"ECONNRESET",
|
|
2070
|
+
"ETIMEDOUT",
|
|
2071
|
+
"ECONNREFUSED",
|
|
2072
|
+
"ERR_STREAM_PREMATURE_CLOSE",
|
|
2073
|
+
"TIMEOUT",
|
|
2074
|
+
"WS_CLOSED",
|
|
2075
|
+
"OTHER"
|
|
2076
|
+
].includes(item.code) ? { code: item.code } : {}
|
|
2077
|
+
}));
|
|
2078
|
+
}
|
|
2079
|
+
//#endregion
|
|
1925
2080
|
//#region src/pi-ai-runtime.js
|
|
1926
2081
|
const FAST_SERVICE_TIER = "priority";
|
|
1927
2082
|
const ULTRAFAST_SERVICE_TIER = "ultrafast";
|
|
@@ -1993,6 +2148,7 @@ function isDshAutoReview(context) {
|
|
|
1993
2148
|
*/
|
|
1994
2149
|
function openaiCodexSubscriptionProvider({ resolveSpeedMode = () => void 0, resolveOutputVerbosity = () => OUTPUT_VERBOSITY_DEFAULT, resolveInputImageDetail = () => void 0, resolveReasoningSummary = () => void 0, resolveContextMode = () => void 0, resolveCustomContextWindow = () => void 0, resolveReviewModel = () => REVIEW_MODEL_SESSION, catalog, connection, compaction, reasoning, ultra, runNetwork = (_area, operation) => operation() } = {}) {
|
|
1995
2150
|
const provider = createOpenAICodexProvider();
|
|
2151
|
+
const streamHealth = createModelStreamHealth({ log: (level, message) => diagnosticLog.log(level, "model-stream", message) });
|
|
1996
2152
|
const retryBridge = createModelRetryBridge();
|
|
1997
2153
|
const requestToken = Object.freeze({
|
|
1998
2154
|
name: "DSH-managed Codex OAuth request token",
|
|
@@ -2005,7 +2161,7 @@ function openaiCodexSubscriptionProvider({ resolveSpeedMode = () => void 0, reso
|
|
|
2005
2161
|
};
|
|
2006
2162
|
}
|
|
2007
2163
|
});
|
|
2008
|
-
const modelMetadata = (model) => catalog?.metadata(model?.id);
|
|
2164
|
+
const modelMetadata = (model) => catalog?.metadata?.(model?.id);
|
|
2009
2165
|
const supportsVerbosity = (model) => modelMetadata(model)?.supportVerbosity ?? model?.id !== "gpt-5.3-codex-spark";
|
|
2010
2166
|
const withPreferences = (model, options = {}) => {
|
|
2011
2167
|
const metadata = modelMetadata(model);
|
|
@@ -2030,7 +2186,7 @@ function openaiCodexSubscriptionProvider({ resolveSpeedMode = () => void 0, reso
|
|
|
2030
2186
|
} },
|
|
2031
2187
|
...serviceTier === void 0 ? {} : { service_tier: serviceTier }
|
|
2032
2188
|
};
|
|
2033
|
-
const managed = compaction?.preparePayload(preferred, model?.contextWindow) ?? preferred;
|
|
2189
|
+
const managed = compaction?.preparePayload(preferred, model?.contextWindow, options.maxTokens) ?? preferred;
|
|
2034
2190
|
const next = await onPayload?.(managed, requestModel);
|
|
2035
2191
|
const detailed = inputImageDetail === "auto" ? next ?? managed : withInputImageDetail(next ?? managed, inputImageDetail);
|
|
2036
2192
|
const { temperature: _dropped, ...accepted } = withReasoningSummary(detailed, reasoningSummary);
|
|
@@ -2050,18 +2206,14 @@ function openaiCodexSubscriptionProvider({ resolveSpeedMode = () => void 0, reso
|
|
|
2050
2206
|
const getModels = () => (catalog?.getModels() ?? provider.getModels()).map((model) => {
|
|
2051
2207
|
const maximum = modelContextMaximum(model);
|
|
2052
2208
|
const mode = resolveContextMode();
|
|
2053
|
-
|
|
2054
|
-
if (
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
...model,
|
|
2058
|
-
contextWindow
|
|
2059
|
-
};
|
|
2209
|
+
let window = model.contextWindow;
|
|
2210
|
+
if (model.id !== "gpt-5.3-codex-spark") {
|
|
2211
|
+
if (mode === "extended") window = maximum;
|
|
2212
|
+
else if (mode === "custom") window = clampModelContext(resolveCustomContextWindow(customContextModelKey(model.id)), maximum, window);
|
|
2060
2213
|
}
|
|
2061
|
-
|
|
2062
|
-
return {
|
|
2214
|
+
return window === void 0 ? model : {
|
|
2063
2215
|
...model,
|
|
2064
|
-
contextWindow:
|
|
2216
|
+
contextWindow: effectiveContextWindow(window, modelMetadata(model)?.effectiveContextWindowPercent)
|
|
2065
2217
|
};
|
|
2066
2218
|
});
|
|
2067
2219
|
const review = {
|
|
@@ -2157,6 +2309,7 @@ function openaiCodexSubscriptionProvider({ resolveSpeedMode = () => void 0, reso
|
|
|
2157
2309
|
};
|
|
2158
2310
|
const networkIterable = (factory, options, direct = false, source) => {
|
|
2159
2311
|
let iterator;
|
|
2312
|
+
let health;
|
|
2160
2313
|
let prepared;
|
|
2161
2314
|
let stage = "prepare";
|
|
2162
2315
|
const retryHint = direct ? void 0 : retryBridge.current();
|
|
@@ -2166,12 +2319,22 @@ function openaiCodexSubscriptionProvider({ resolveSpeedMode = () => void 0, reso
|
|
|
2166
2319
|
if (stage === "prepare") stage = "request";
|
|
2167
2320
|
const result = await runNetwork("model", () => {
|
|
2168
2321
|
const next = direct ? request.options : compaction?.requestOptions(request.options) ?? request.options;
|
|
2322
|
+
health ??= streamHealth.begin({
|
|
2323
|
+
sessionId: direct ? void 0 : options?.sessionId,
|
|
2324
|
+
configured: request.options?.transport,
|
|
2325
|
+
selected: next.transport
|
|
2326
|
+
});
|
|
2169
2327
|
iterator ??= factory({
|
|
2170
2328
|
...next,
|
|
2171
2329
|
async onResponse(info, requestModel) {
|
|
2330
|
+
health.response(info);
|
|
2172
2331
|
retryHint?.onResponse(info);
|
|
2173
2332
|
return next.onResponse?.(info, requestModel);
|
|
2174
2333
|
},
|
|
2334
|
+
onProviderStreamEvent(event) {
|
|
2335
|
+
health.providerEvent();
|
|
2336
|
+
return next.onProviderStreamEvent?.(event);
|
|
2337
|
+
},
|
|
2175
2338
|
async onPayload(payload, requestModel) {
|
|
2176
2339
|
stage = "payload";
|
|
2177
2340
|
return next.onPayload?.(payload, requestModel);
|
|
@@ -2183,15 +2346,21 @@ function openaiCodexSubscriptionProvider({ resolveSpeedMode = () => void 0, reso
|
|
|
2183
2346
|
}));
|
|
2184
2347
|
}, direct ? request.network : compaction?.networkOptions(request.network) ?? request.network);
|
|
2185
2348
|
if (!result.done) {
|
|
2349
|
+
health?.observe(result.value);
|
|
2350
|
+
if (result.value?.type === "error") health?.finish(request.options?.signal?.aborted ? "cancelled" : "failed", result.value.error);
|
|
2351
|
+
else if (result.value?.type === "done") health?.finish("completed");
|
|
2186
2352
|
retryHint?.observe(result.value, request.options?.signal);
|
|
2187
2353
|
if (result.value?.type === "error" && !request.options?.signal?.aborted) noteStreamFailure(stage, void 0, source);
|
|
2188
2354
|
else if (stage === "payload") stage = "stream";
|
|
2189
2355
|
}
|
|
2356
|
+
if (method === "return") health?.finish("cancelled");
|
|
2357
|
+
else if (result.done) health?.finish(request.options?.signal?.aborted ? "cancelled" : "completed");
|
|
2190
2358
|
return result.done ? result : {
|
|
2191
2359
|
...result,
|
|
2192
2360
|
value: normalizeTransportEvent(result.value, request.options?.signal)
|
|
2193
2361
|
};
|
|
2194
2362
|
} catch (error) {
|
|
2363
|
+
health?.finish(options?.signal?.aborted ? "cancelled" : "failed", error);
|
|
2195
2364
|
noteStreamFailure(stage, error, source);
|
|
2196
2365
|
throw error;
|
|
2197
2366
|
}
|
|
@@ -2231,6 +2400,7 @@ function openaiCodexSubscriptionProvider({ resolveSpeedMode = () => void 0, reso
|
|
|
2231
2400
|
streamSimple: (model, context, options) => routed("streamSimple", model, context, options),
|
|
2232
2401
|
reviewCounters: () => ({ ...review }),
|
|
2233
2402
|
streamFailure: () => ({ ...streamFailure }),
|
|
2403
|
+
streamHealth: streamHealth.snapshot,
|
|
2234
2404
|
noteAdapterFailure,
|
|
2235
2405
|
wrapRetryAdapter: (adapter) => retryBridge.wrapAdapter(adapter)
|
|
2236
2406
|
});
|
|
@@ -2903,6 +3073,7 @@ const SUPPORTED_RUNTIME_VERSIONS = Object.freeze([
|
|
|
2903
3073
|
"0.2.1-rc.2",
|
|
2904
3074
|
"0.2.1-rc.3",
|
|
2905
3075
|
"0.2.1-rc.4",
|
|
3076
|
+
"0.2.1-rc.5",
|
|
2906
3077
|
"0.2.2-alpha.2"
|
|
2907
3078
|
]);
|
|
2908
3079
|
const require = createRequire(import.meta.url);
|
|
@@ -3724,7 +3895,7 @@ function inheritedOriginalImageRef(session, assetId) {
|
|
|
3724
3895
|
}
|
|
3725
3896
|
//#endregion
|
|
3726
3897
|
//#region src/version.js
|
|
3727
|
-
const PACKAGE_VERSION = "3.2.
|
|
3898
|
+
const PACKAGE_VERSION = "3.2.2";
|
|
3728
3899
|
const USER_AGENT = `dsh-codex-subscription/${PACKAGE_VERSION}`;
|
|
3729
3900
|
//#endregion
|
|
3730
3901
|
//#region src/codex-images.js
|
|
@@ -11242,6 +11413,7 @@ function visibleModel(value, displayNames, now) {
|
|
|
11242
11413
|
priority: Number.isFinite(value.priority) ? value.priority : 0,
|
|
11243
11414
|
input: input.length > 0 ? input : ["text"],
|
|
11244
11415
|
contextWindow: positiveInteger(value.context_window) ?? positiveInteger(value.max_context_window),
|
|
11416
|
+
effectiveContextWindowPercent: effectiveContextPercent(value.effective_context_window_percent),
|
|
11245
11417
|
...positiveInteger(value.max_context_window) === void 0 ? {} : { maxContextWindow: value.max_context_window },
|
|
11246
11418
|
reasoning: supported.length > 0,
|
|
11247
11419
|
supportsReasoningEffortUpdates: value.supports_reasoning_effort_updates === true,
|
|
@@ -12669,6 +12841,11 @@ async function createSubscriptionDiagnostics({ auth, preferences, login = { phas
|
|
|
12669
12841
|
};
|
|
12670
12842
|
}
|
|
12671
12843
|
],
|
|
12844
|
+
[
|
|
12845
|
+
"streamHealth",
|
|
12846
|
+
"transport",
|
|
12847
|
+
() => typeof review?.streamHealth === "function" ? safeStreamHealth(review.streamHealth()) : void 0
|
|
12848
|
+
],
|
|
12672
12849
|
[
|
|
12673
12850
|
"operations",
|
|
12674
12851
|
"transport",
|
|
@@ -12775,6 +12952,7 @@ async function createSubscriptionDiagnostics({ auth, preferences, login = { phas
|
|
|
12775
12952
|
...collected.compaction ? { compaction: collected.compaction } : {},
|
|
12776
12953
|
...collected.review ? { review: collected.review } : {},
|
|
12777
12954
|
...collected.streamFailure ? { streamFailure: collected.streamFailure } : {},
|
|
12955
|
+
...collected.streamHealth?.length ? { streamHealth: collected.streamHealth } : {},
|
|
12778
12956
|
...catalog && [
|
|
12779
12957
|
"unavailable",
|
|
12780
12958
|
"cached",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-codex-subscription",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.2",
|
|
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",
|
|
@@ -78,22 +78,22 @@
|
|
|
78
78
|
},
|
|
79
79
|
"peerDependencies": {
|
|
80
80
|
"@deepseek-ai/cordis": "4.0.4 || 4.0.5-alpha.1 || 4.0.5-alpha.2 || 4.0.5 || 4.0.6-alpha.1",
|
|
81
|
-
"@deepseek-ai/dsh-api-remotes": "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.2-alpha.2",
|
|
82
|
-
"@deepseek-ai/dsh-client-connection": "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.2-alpha.2",
|
|
83
|
-
"@deepseek-ai/dsh-client-locale": "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.2-alpha.2",
|
|
84
|
-
"@deepseek-ai/dsh-client-ui-conversation": "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.2-alpha.2",
|
|
85
|
-
"@deepseek-ai/dsh-client-ui-model-selection": "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.2-alpha.2",
|
|
86
|
-
"@deepseek-ai/dsh-client-ui-primitives": "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.2-alpha.2",
|
|
87
|
-
"@deepseek-ai/dsh-client-ui-settings": "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.2-alpha.2",
|
|
88
|
-
"@deepseek-ai/dsh-client-ui-slots": "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.2-alpha.2",
|
|
89
|
-
"@deepseek-ai/dsh-client-ui-tool": "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.2-alpha.2",
|
|
90
|
-
"@deepseek-ai/dsh-credentials": "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.2-alpha.2",
|
|
91
|
-
"@deepseek-ai/dsh-llm": "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.2-alpha.2",
|
|
92
|
-
"@deepseek-ai/dsh-llm-pi-ai": "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.2-alpha.2",
|
|
93
|
-
"@deepseek-ai/dsh-settings": "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.2-alpha.2",
|
|
94
|
-
"@deepseek-ai/dsh-subagent-codex": "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.2-alpha.2",
|
|
95
|
-
"@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.2-alpha.2",
|
|
96
|
-
"@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.2-alpha.2",
|
|
81
|
+
"@deepseek-ai/dsh-api-remotes": "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",
|
|
82
|
+
"@deepseek-ai/dsh-client-connection": "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",
|
|
83
|
+
"@deepseek-ai/dsh-client-locale": "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",
|
|
84
|
+
"@deepseek-ai/dsh-client-ui-conversation": "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",
|
|
85
|
+
"@deepseek-ai/dsh-client-ui-model-selection": "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",
|
|
86
|
+
"@deepseek-ai/dsh-client-ui-primitives": "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",
|
|
87
|
+
"@deepseek-ai/dsh-client-ui-settings": "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",
|
|
88
|
+
"@deepseek-ai/dsh-client-ui-slots": "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",
|
|
89
|
+
"@deepseek-ai/dsh-client-ui-tool": "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",
|
|
90
|
+
"@deepseek-ai/dsh-credentials": "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",
|
|
91
|
+
"@deepseek-ai/dsh-llm": "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",
|
|
92
|
+
"@deepseek-ai/dsh-llm-pi-ai": "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",
|
|
93
|
+
"@deepseek-ai/dsh-settings": "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",
|
|
94
|
+
"@deepseek-ai/dsh-subagent-codex": "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",
|
|
95
|
+
"@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",
|
|
96
|
+
"@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",
|
|
97
97
|
"@deepseek-ai/schemastery": "3.18.1 || ^3.18.2 || 3.18.6-alpha.1",
|
|
98
98
|
"@earendil-works/pi-ai": "0.85.1 || 0.87.1 || 1.1.0 || 1.2.0 || 1.3.0 || 1.4.0",
|
|
99
99
|
"react": "^18.2.0",
|
|
@@ -101,25 +101,25 @@
|
|
|
101
101
|
},
|
|
102
102
|
"devDependencies": {
|
|
103
103
|
"@deepseek-ai/cordis": "4.0.4",
|
|
104
|
-
"@deepseek-ai/dsh-api-remotes": "0.2.1-rc.
|
|
105
|
-
"@deepseek-ai/dsh-client-connection": "0.2.1-rc.
|
|
106
|
-
"@deepseek-ai/dsh-client-locale": "0.2.1-rc.
|
|
107
|
-
"@deepseek-ai/dsh-client-ui-chat": "0.2.1-rc.
|
|
108
|
-
"@deepseek-ai/dsh-client-ui-conversation": "0.2.1-rc.
|
|
109
|
-
"@deepseek-ai/dsh-client-ui-model-selection": "0.2.1-rc.
|
|
110
|
-
"@deepseek-ai/dsh-client-ui-primitives": "0.2.1-rc.
|
|
111
|
-
"@deepseek-ai/dsh-client-ui-settings": "0.2.1-rc.
|
|
112
|
-
"@deepseek-ai/dsh-client-ui-slots": "0.2.1-rc.
|
|
113
|
-
"@deepseek-ai/dsh-client-ui-tool": "0.2.1-rc.
|
|
114
|
-
"@deepseek-ai/dsh-credentials": "0.2.1-rc.
|
|
104
|
+
"@deepseek-ai/dsh-api-remotes": "0.2.1-rc.5",
|
|
105
|
+
"@deepseek-ai/dsh-client-connection": "0.2.1-rc.5",
|
|
106
|
+
"@deepseek-ai/dsh-client-locale": "0.2.1-rc.5",
|
|
107
|
+
"@deepseek-ai/dsh-client-ui-chat": "0.2.1-rc.5",
|
|
108
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.2.1-rc.5",
|
|
109
|
+
"@deepseek-ai/dsh-client-ui-model-selection": "0.2.1-rc.5",
|
|
110
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.2.1-rc.5",
|
|
111
|
+
"@deepseek-ai/dsh-client-ui-settings": "0.2.1-rc.5",
|
|
112
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.2.1-rc.5",
|
|
113
|
+
"@deepseek-ai/dsh-client-ui-tool": "0.2.1-rc.5",
|
|
114
|
+
"@deepseek-ai/dsh-credentials": "0.2.1-rc.5",
|
|
115
115
|
"@deepseek-ai/dsh-invariants": "0.2.0-rc.2",
|
|
116
|
-
"@deepseek-ai/dsh-llm": "0.2.1-rc.
|
|
117
|
-
"@deepseek-ai/dsh-llm-pi-ai": "0.2.1-rc.
|
|
118
|
-
"@deepseek-ai/dsh-session": "0.2.1-rc.
|
|
119
|
-
"@deepseek-ai/dsh-settings": "0.2.1-rc.
|
|
120
|
-
"@deepseek-ai/dsh-subagent-codex": "0.2.1-rc.
|
|
121
|
-
"@deepseek-ai/dsh-tools": "0.2.1-rc.
|
|
122
|
-
"@deepseek-ai/dsh-web": "0.2.1-rc.
|
|
116
|
+
"@deepseek-ai/dsh-llm": "0.2.1-rc.5",
|
|
117
|
+
"@deepseek-ai/dsh-llm-pi-ai": "0.2.1-rc.5",
|
|
118
|
+
"@deepseek-ai/dsh-session": "0.2.1-rc.5",
|
|
119
|
+
"@deepseek-ai/dsh-settings": "0.2.1-rc.5",
|
|
120
|
+
"@deepseek-ai/dsh-subagent-codex": "0.2.1-rc.5",
|
|
121
|
+
"@deepseek-ai/dsh-tools": "0.2.1-rc.5",
|
|
122
|
+
"@deepseek-ai/dsh-web": "0.2.1-rc.5",
|
|
123
123
|
"@deepseek-ai/schemastery": "3.18.4",
|
|
124
124
|
"@earendil-works/pi-ai": "0.85.1",
|
|
125
125
|
"@heroicons/react": "2.2.0",
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
"tsdown": "0.22.2"
|
|
132
132
|
},
|
|
133
133
|
"dependencies": {
|
|
134
|
-
"@deepseek-ai/dsh-home-paths": "0.2.1-rc.
|
|
134
|
+
"@deepseek-ai/dsh-home-paths": "0.2.1-rc.5",
|
|
135
135
|
"https-proxy-agent": "7.0.6",
|
|
136
136
|
"ws": "8.21.3"
|
|
137
137
|
},
|