@michengai/dsh-simplify 1.0.12 → 1.0.13
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/CHANGELOG.md +8 -0
- package/CHANGELOG.zh-CN.md +8 -0
- package/README.de.md +2 -2
- package/README.en.md +3 -3
- package/README.es.md +2 -2
- package/README.fr.md +2 -2
- package/README.ja.md +2 -2
- package/README.md +3 -3
- package/README.pt.md +2 -2
- package/README.ru.md +2 -2
- package/README.zh-CN.md +3 -3
- package/lib/client.d.ts +1 -1
- package/lib/client.js +1 -1
- package/lib/client.js.map +3 -3
- package/package.json +41 -41
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.13 - 2026-11-24
|
|
4
|
+
|
|
5
|
+
- Align with official DSH `0.2.3-alpha.2` host environment; upgrade development dependencies and complete compatibility regression across all supported hosts.
|
|
6
|
+
- Improve client command menu lifecycle management, supporting clean state restoration upon plugin uninstallation and reload.
|
|
7
|
+
- Enhance interface locale detection to support updated host snapshot access, ensuring accurate localized command titles across all languages.
|
|
8
|
+
|
|
9
|
+
[简体中文](CHANGELOG.zh-CN.md)
|
|
10
|
+
|
|
3
11
|
## 1.0.12 - 2026-11-22
|
|
4
12
|
|
|
5
13
|
- Fix the `/simplify` entry in the `/` command menu showing nothing but the bare `simplify` name, with no icon and no localized title. It now looks like the built-in commands (`Compact`, `Permission`, …): a glyph plus a title in your interface language.
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# 变更记录
|
|
2
2
|
|
|
3
|
+
## 1.0.13 - 2026-11-24
|
|
4
|
+
|
|
5
|
+
- 对齐官方最新 DSH `0.2.3-alpha.2` 宿主环境,更新开发依赖并完成全系宿主兼容性回归验证。
|
|
6
|
+
- 优化客户端命令菜单生命周期管理,支持插件卸载与热更新时的平滑清理,恢复原生命令菜单状态。
|
|
7
|
+
- 完善界面语言识别,支持新版宿主语言快照获取方式,确保多语言界面标题准确显示。
|
|
8
|
+
|
|
9
|
+
[English](CHANGELOG.md)
|
|
10
|
+
|
|
3
11
|
## 1.0.12 - 2026-11-22
|
|
4
12
|
|
|
5
13
|
- 修复在输入框敲 `/` 时,`/simplify` 那一行只剩一个 `simplify` 字样、既不显示图标也没有「简化」标题的问题;现在它和「压缩 compact」等内置指令一样,显示图标与当前界面语言的标题。
|
package/README.de.md
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
[](LICENSE)
|
|
16
16
|
[](https://www.npmjs.com/package/@michengai/dsh-simplify)
|
|
17
17
|
[](https://github.com/deepseek-ai/deepseek-harness)
|
|
18
|
-
[](#installation)
|
|
19
19
|
[](https://nodejs.org/)
|
|
20
20
|
|
|
21
21
|
</div>
|
|
@@ -50,7 +50,7 @@ Aufgaben-Prompts an den Agenten bleiben in vereinfachtem Chinesisch, während Be
|
|
|
50
50
|
|
|
51
51
|
## Voraussetzungen
|
|
52
52
|
|
|
53
|
-
- DeepSeek Harness `0.2.x` (`>=0.2.2-rc.1 <0.3.0-0`), getestet mit `0.2.2-rc.1`, `0.2.2-rc.2`, `0.2.2-rc.3`, `0.2.2-rc.4`, `0.2.2-rc.5`.
|
|
53
|
+
- DeepSeek Harness `0.2.x` (`>=0.2.2-rc.1 <0.3.0-0`), getestet mit `0.2.2-rc.1`, `0.2.2-rc.2`, `0.2.2-rc.3`, `0.2.2-rc.4`, `0.2.2-rc.5`, `0.2.3-alpha.2`.
|
|
54
54
|
- Frühere Versionen vor `0.2.2-rc.1` werden abgewiesen. Bei DSH `0.1.x` installieren Sie bitte Version `0.1.16`.
|
|
55
55
|
- Node.js >= 22.19, Git im PATH verfügbar.
|
|
56
56
|
- Sitzung mit lokalem Git-Projekt verknüpft.
|
package/README.en.md
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
[](LICENSE)
|
|
16
16
|
[](https://www.npmjs.com/package/@michengai/dsh-simplify)
|
|
17
17
|
[](https://github.com/deepseek-ai/deepseek-harness)
|
|
18
|
-
[](#installation)
|
|
19
19
|
[](https://nodejs.org/)
|
|
20
20
|
|
|
21
21
|
</div>
|
|
@@ -56,7 +56,7 @@ For a desktop workbench, download [DSH Codex Desktop](https://github.com/Micheng
|
|
|
56
56
|
|
|
57
57
|
## Prerequisites
|
|
58
58
|
|
|
59
|
-
- Host compatibility: DeepSeek Harness `0.2.x` line (`>=0.2.2-rc.1 <0.3.0-0`), verified with `0.2.2-rc.1`, `0.2.2-rc.2`, `0.2.2-rc.3`, `0.2.2-rc.4`,
|
|
59
|
+
- Host compatibility: DeepSeek Harness `0.2.x` line (`>=0.2.2-rc.1 <0.3.0-0`), verified with `0.2.2-rc.1`, `0.2.2-rc.2`, `0.2.2-rc.3`, `0.2.2-rc.4`, `0.2.2-rc.5`, and `0.2.3-alpha.2`, and forwards-compatible with subsequent `0.2.x` RC releases without requiring routine plugin version bumps.
|
|
60
60
|
- Legacy hosts prior to `0.2.2-rc.1` are rejected by the version gate. The version gate cleanly intercepts breaking changes in the `0.3.0` generation. Users on `0.1.x` hosts should install `0.1.16`.
|
|
61
61
|
- Node.js >= 22.19, git available in PATH.
|
|
62
62
|
- Active conversation linked to a local git repository.
|
|
@@ -203,7 +203,7 @@ GitHub and npm both include a ready-to-run `lib`. After changing source, run `np
|
|
|
203
203
|
|
|
204
204
|
### Verification
|
|
205
205
|
|
|
206
|
-
Development dependencies align with DSH `0.2.
|
|
206
|
+
Development dependencies align with DSH `0.2.3-alpha.2`. `npm run test:compat` reruns real command and Git tests across all supported isolated host versions (`0.2.2-rc.1`, `0.2.2-rc.2`, `0.2.2-rc.3`, `0.2.2-rc.4`, `0.2.2-rc.5`, and `0.2.3-alpha.2`).
|
|
207
207
|
|
|
208
208
|
```powershell
|
|
209
209
|
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
|
package/README.es.md
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
[](LICENSE)
|
|
16
16
|
[](https://www.npmjs.com/package/@michengai/dsh-simplify)
|
|
17
17
|
[](https://github.com/deepseek-ai/deepseek-harness)
|
|
18
|
-
[](#instalación)
|
|
19
19
|
[](https://nodejs.org/)
|
|
20
20
|
|
|
21
21
|
</div>
|
|
@@ -52,7 +52,7 @@ Después de una sesión de programación, usa `/simplify` para solicitar al Agen
|
|
|
52
52
|
|
|
53
53
|
## Requisitos previos
|
|
54
54
|
|
|
55
|
-
- Compatibilidad con DeepSeek Harness `0.2.x` (`>=0.2.2-rc.1 <0.3.0-0`), probado con `0.2.2-rc.1`, `0.2.2-rc.2`, `0.2.2-rc.3`, `0.2.2-rc.4`, `0.2.2-rc.5`.
|
|
55
|
+
- Compatibilidad con DeepSeek Harness `0.2.x` (`>=0.2.2-rc.1 <0.3.0-0`), probado con `0.2.2-rc.1`, `0.2.2-rc.2`, `0.2.2-rc.3`, `0.2.2-rc.4`, `0.2.2-rc.5`, `0.2.3-alpha.2`.
|
|
56
56
|
- Los entornos anteriores a `0.2.2-rc.1` son rechazados por el control de versiones. Si utilizas `0.1.x`, instala la versión `0.1.16`.
|
|
57
57
|
- Node.js >= 22.19 con Git disponible en PATH.
|
|
58
58
|
- Sesión vinculada a un repositorio Git local.
|
package/README.fr.md
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
[](LICENSE)
|
|
16
16
|
[](https://www.npmjs.com/package/@michengai/dsh-simplify)
|
|
17
17
|
[](https://github.com/deepseek-ai/deepseek-harness)
|
|
18
|
-
[](#installation)
|
|
19
19
|
[](https://nodejs.org/)
|
|
20
20
|
|
|
21
21
|
</div>
|
|
@@ -50,7 +50,7 @@ Les invites envoyées à l'Agent restent en chinois simplifié, tandis que les l
|
|
|
50
50
|
|
|
51
51
|
## Prérequis
|
|
52
52
|
|
|
53
|
-
- DeepSeek Harness `0.2.x` (`>=0.2.2-rc.1 <0.3.0-0`), vérifié avec `0.2.2-rc.1`, `0.2.2-rc.2`, `0.2.2-rc.3`, `0.2.2-rc.4`, `0.2.2-rc.5`.
|
|
53
|
+
- DeepSeek Harness `0.2.x` (`>=0.2.2-rc.1 <0.3.0-0`), vérifié avec `0.2.2-rc.1`, `0.2.2-rc.2`, `0.2.2-rc.3`, `0.2.2-rc.4`, `0.2.2-rc.5`, `0.2.3-alpha.2`.
|
|
54
54
|
- Les versions antérieures à `0.2.2-rc.1` sont rejetées. Si vous utilisez `0.1.x`, installez la version `0.1.16`.
|
|
55
55
|
- Node.js >= 22.19, Git accessible dans le PATH.
|
|
56
56
|
- Session liée à un dépôt Git local.
|
package/README.ja.md
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
[](LICENSE)
|
|
16
16
|
[](https://www.npmjs.com/package/@michengai/dsh-simplify)
|
|
17
17
|
[](https://github.com/deepseek-ai/deepseek-harness)
|
|
18
|
-
[](#インストール)
|
|
19
19
|
[](https://nodejs.org/)
|
|
20
20
|
|
|
21
21
|
</div>
|
|
@@ -56,7 +56,7 @@ Agent に送信されるタスクプロンプトは簡体字中国語のまま
|
|
|
56
56
|
|
|
57
57
|
## 前提条件
|
|
58
58
|
|
|
59
|
-
- ホスト対応範囲:DeepSeek Harness `0.2.x` シリーズ(`>=0.2.2-rc.1 <0.3.0-0`)。`0.2.2-rc.1`、`0.2.2-rc.2`、`0.2.2-rc.3`、`0.2.2-rc.4`、`0.2.2-rc.5` で互換性検証済み。
|
|
59
|
+
- ホスト対応範囲:DeepSeek Harness `0.2.x` シリーズ(`>=0.2.2-rc.1 <0.3.0-0`)。`0.2.2-rc.1`、`0.2.2-rc.2`、`0.2.2-rc.3`、`0.2.2-rc.4`、`0.2.2-rc.5`、`0.2.3-alpha.2` で互換性検証済み。
|
|
60
60
|
- `0.2.2-rc.1` より前の旧ホストはバージョンゲートにより拒否されます。`0.1.x` をお使いの場合はプラグインバージョン `0.1.16` をインストールしてください。
|
|
61
61
|
- Node.js >= 22.19、PATH 内で Git が実行可能であること。
|
|
62
62
|
- 現在のセッションがローカル Git リポジトリに関連付けられていること。
|
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
[](LICENSE)
|
|
16
16
|
[](https://www.npmjs.com/package/@michengai/dsh-simplify)
|
|
17
17
|
[](https://github.com/deepseek-ai/deepseek-harness)
|
|
18
|
-
[](#安装)
|
|
19
19
|
[](https://nodejs.org/)
|
|
20
20
|
|
|
21
21
|
</div>
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
|
|
57
57
|
## 前置条件
|
|
58
58
|
|
|
59
|
-
- 宿主支持范围:DeepSeek Harness `0.2.x` 系列(`>=0.2.2-rc.1 <0.3.0-0`),已验证兼容 `0.2.2-rc.1`、`0.2.2-rc.2`、`0.2.2-rc.3`、`0.2.2-rc.4`、`0.2.2-rc.5`,并自动支持后续全部 0.2.x RC 版本,同代宿主升级无需重复等待发版。
|
|
59
|
+
- 宿主支持范围:DeepSeek Harness `0.2.x` 系列(`>=0.2.2-rc.1 <0.3.0-0`),已验证兼容 `0.2.2-rc.1`、`0.2.2-rc.2`、`0.2.2-rc.3`、`0.2.2-rc.4`、`0.2.2-rc.5`、`0.2.3-alpha.2`,并自动支持后续全部 0.2.x RC 版本,同代宿主升级无需重复等待发版。
|
|
60
60
|
- `0.2.2-rc.1` 之前的早期宿主会被版本门拒绝,`0.3.0` 代际破坏性更新由版本门拦截。仍在使用 `0.1.x` 的用户请安装插件 `0.1.16`。
|
|
61
61
|
- Node.js >= 22.19,PATH 中可执行 Git。
|
|
62
62
|
- 当前会话关联本地 Git 项目。
|
|
@@ -203,7 +203,7 @@ GitHub 与 npm 都包含可直接运行的 `lib`。改了源码后,提交前
|
|
|
203
203
|
|
|
204
204
|
### 验证
|
|
205
205
|
|
|
206
|
-
开发依赖对齐 DSH `0.2.
|
|
206
|
+
开发依赖对齐 DSH `0.2.3-alpha.2`。`npm run test:compat` 在 `0.2.2-rc.1`、`0.2.2-rc.2`、`0.2.2-rc.3`、`0.2.2-rc.4`、`0.2.2-rc.5`、`0.2.3-alpha.2` 等各版本隔离宿主上重跑真实命令与 Git 测试。
|
|
207
207
|
|
|
208
208
|
```powershell
|
|
209
209
|
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
|
package/README.pt.md
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
[](LICENSE)
|
|
16
16
|
[](https://www.npmjs.com/package/@michengai/dsh-simplify)
|
|
17
17
|
[](https://github.com/deepseek-ai/deepseek-harness)
|
|
18
|
-
[](#instalação)
|
|
19
19
|
[](https://nodejs.org/)
|
|
20
20
|
|
|
21
21
|
</div>
|
|
@@ -50,7 +50,7 @@ Os prompts de tarefas enviados ao Agent permanecem em chinês simplificado, enqu
|
|
|
50
50
|
|
|
51
51
|
## Pré-requisitos
|
|
52
52
|
|
|
53
|
-
- Compatibilidade com DeepSeek Harness `0.2.x` (`>=0.2.2-rc.1 <0.3.0-0`), validado em `0.2.2-rc.1`, `0.2.2-rc.2`, `0.2.2-rc.3`, `0.2.2-rc.4`, `0.2.2-rc.5`.
|
|
53
|
+
- Compatibilidade com DeepSeek Harness `0.2.x` (`>=0.2.2-rc.1 <0.3.0-0`), validado em `0.2.2-rc.1`, `0.2.2-rc.2`, `0.2.2-rc.3`, `0.2.2-rc.4`, `0.2.2-rc.5`, `0.2.3-alpha.2`.
|
|
54
54
|
- Versões anteriores a `0.2.2-rc.1` são rejeitadas. Se estiver no DSH `0.1.x`, instale a versão `0.1.16`.
|
|
55
55
|
- Node.js >= 22.19, Git acessível no PATH.
|
|
56
56
|
- Sessão vinculada a um repositório Git local.
|
package/README.ru.md
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
[](LICENSE)
|
|
16
16
|
[](https://www.npmjs.com/package/@michengai/dsh-simplify)
|
|
17
17
|
[](https://github.com/deepseek-ai/deepseek-harness)
|
|
18
|
-
[](#установка)
|
|
19
19
|
[](https://nodejs.org/)
|
|
20
20
|
|
|
21
21
|
</div>
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
|
|
51
51
|
## Требования
|
|
52
52
|
|
|
53
|
-
- DeepSeek Harness `0.2.x` (`>=0.2.2-rc.1 <0.3.0-0`), проверено на `0.2.2-rc.1`, `0.2.2-rc.2`, `0.2.2-rc.3`, `0.2.2-rc.4`, `0.2.2-rc.5`.
|
|
53
|
+
- DeepSeek Harness `0.2.x` (`>=0.2.2-rc.1 <0.3.0-0`), проверено на `0.2.2-rc.1`, `0.2.2-rc.2`, `0.2.2-rc.3`, `0.2.2-rc.4`, `0.2.2-rc.5`, `0.2.3-alpha.2`.
|
|
54
54
|
- Версии до `0.2.2-rc.1` отклоняются шлюзом версий. Для DSH `0.1.x` используйте версию `0.1.16`.
|
|
55
55
|
- Node.js >= 22.19, Git доступен в PATH.
|
|
56
56
|
- Сессия привязана к локальному репозиторию Git.
|
package/README.zh-CN.md
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
[](LICENSE)
|
|
16
16
|
[](https://www.npmjs.com/package/@michengai/dsh-simplify)
|
|
17
17
|
[](https://github.com/deepseek-ai/deepseek-harness)
|
|
18
|
-
[](#安装)
|
|
19
19
|
[](https://nodejs.org/)
|
|
20
20
|
|
|
21
21
|
</div>
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
|
|
57
57
|
## 前置条件
|
|
58
58
|
|
|
59
|
-
- 宿主支持范围:DeepSeek Harness `0.2.x` 系列(`>=0.2.2-rc.1 <0.3.0-0`),已验证兼容 `0.2.2-rc.1`、`0.2.2-rc.2`、`0.2.2-rc.3`、`0.2.2-rc.4`、`0.2.2-rc.5`,并自动支持后续全部 0.2.x RC 版本,同代宿主升级无需重复等待发版。
|
|
59
|
+
- 宿主支持范围:DeepSeek Harness `0.2.x` 系列(`>=0.2.2-rc.1 <0.3.0-0`),已验证兼容 `0.2.2-rc.1`、`0.2.2-rc.2`、`0.2.2-rc.3`、`0.2.2-rc.4`、`0.2.2-rc.5`、`0.2.3-alpha.2`,并自动支持后续全部 0.2.x RC 版本,同代宿主升级无需重复等待发版。
|
|
60
60
|
- `0.2.2-rc.1` 之前的早期宿主会被版本门拒绝,`0.3.0` 代际破坏性更新由版本门拦截。仍在使用 `0.1.x` 的用户请安装插件 `0.1.16`。
|
|
61
61
|
- Node.js >= 22.19,PATH 中可执行 Git。
|
|
62
62
|
- 当前会话关联本地 Git 项目。
|
|
@@ -203,7 +203,7 @@ GitHub 与 npm 都包含可直接运行的 `lib`。改了源码后,提交前
|
|
|
203
203
|
|
|
204
204
|
### 验证
|
|
205
205
|
|
|
206
|
-
开发依赖对齐 DSH `0.2.
|
|
206
|
+
开发依赖对齐 DSH `0.2.3-alpha.2`。`npm run test:compat` 在 `0.2.2-rc.1`、`0.2.2-rc.2`、`0.2.2-rc.3`、`0.2.2-rc.4`、`0.2.2-rc.5`、`0.2.3-alpha.2` 等各版本隔离宿主上重跑真实命令与 Git 测试。
|
|
207
207
|
|
|
208
208
|
```powershell
|
|
209
209
|
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
|
package/lib/client.d.ts
CHANGED
package/lib/client.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
window.__ModuleLoader__.load({id:"@michengai/dsh-simplify",factory:(require)=>{var module={exports:{}};var exports=module.exports;
|
|
2
|
-
"use strict";var s=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var
|
|
2
|
+
"use strict";var s=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var y=(i,n)=>{for(var e in n)s(i,e,{get:n[e],enumerable:!0})},k=(i,n,e,t)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of g(n))!h.call(i,o)&&o!==e&&s(i,o,{get:()=>n[o],enumerable:!(t=b(n,o))||t.enumerable});return i};var v=i=>k(s({},"__esModule",{value:!0}),i);var j={};y(j,{apply:()=>w});module.exports=v(j);var f=require("@deepseek-ai/dsh-client-ui-primitives"),p={icon:f.IconEnhanceOutlineRegular,zh:{label:"\u7B80\u5316",description:"\u7B80\u5316\u6700\u8FD1\u6539\u52A8\u7684\u4EE3\u7801\uFF0C\u4FDD\u6301\u529F\u80FD\u5E76\u9650\u5B9A\u4FEE\u6539\u8303\u56F4"},en:{label:"Simplify",description:"Simplify recent code changes, preserve behavior, and limit the edit scope."},ja:{label:"\u7C21\u7D20\u5316",description:"\u6700\u8FD1\u306E\u5909\u66F4\u30B3\u30FC\u30C9\u3092\u7C21\u7D20\u5316\u3057\u3001\u6A5F\u80FD\u3092\u7DAD\u6301\u3057\u306A\u304C\u3089\u5909\u66F4\u7BC4\u56F2\u3092\u9650\u5B9A"},es:{label:"Simplificar",description:"Simplifica los cambios recientes de c\xF3digo, preservando el comportamiento y limitando el alcance."},fr:{label:"Simplifier",description:"Simplifier les modifications r\xE9centes du code, pr\xE9server le comportement et limiter la port\xE9e."},de:{label:"Vereinfachen",description:"K\xFCrzliche Code\xE4nderungen vereinfachen, Verhalten beibehalten und Bearbeitungsbereich einschr\xE4nken."},ru:{label:"\u0423\u043F\u0440\u043E\u0441\u0442\u0438\u0442\u044C",description:"\u0423\u043F\u0440\u043E\u0441\u0442\u0438\u0442\u044C \u043D\u0435\u0434\u0430\u0432\u043D\u0438\u0435 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u043A\u043E\u0434\u0430 \u0441 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435\u043C \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u0438 \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u0435\u043C \u043E\u0431\u043B\u0430\u0441\u0442\u0438 \u043F\u0440\u0430\u0432\u043E\u043A."},pt:{label:"Simplificar",description:"Simplificar altera\xE7\xF5es recentes de c\xF3digo, preservando o comportamento e limitando o escopo."}},u=Symbol.for("michengai.simplify.slashFace");function S(i){let n=i.get?.("locale"),e=n?.snapshot?.active??n?.getSnapshot?.()?.active;if(typeof e!="string")return"zh";let t=e.replace(/_/g,"-").toLowerCase();return/^zh\b/.test(t)?"zh":/^ja\b/.test(t)?"ja":/^es\b/.test(t)?"es":/^fr\b/.test(t)?"fr":/^de\b/.test(t)?"de":/^ru\b/.test(t)?"ru":/^pt\b/.test(t)?"pt":"en"}function d(i,n){let e=i,t=e?.candidates;if(!e||typeof t!="function")return()=>{};if(t[u]===!0)return()=>{};let o=async(...m)=>{let c=await t.apply(e,m);if(!Array.isArray(c))return c;let l=p[S(n)];return c.map(r=>{if(!r||typeof r!="object"||!("name"in r)||typeof r.name!="string")return r;let a=r;return a.name!=="simplify"?a:{...a,...a.icon===void 0?{icon:p.icon}:{},label:l.label,description:l.description}})};return o[u]=!0,e.candidates=o,()=>{e.candidates===o&&(e.candidates=t)}}function w(i){let n=e=>typeof e.effect=="function"?e.effect(()=>d(e.get?.("commandUi"),e))??(()=>{}):d(e.get?.("commandUi"),e);if(typeof i.inject=="function"){let e=i.inject(["commandUi"],t=>n(t));return typeof e=="function"?e:()=>{}}return n(i)}
|
|
3
3
|
return module.exports;}});
|
|
4
4
|
//# sourceMappingURL=client.js.map
|
package/lib/client.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/client.ts"],
|
|
4
|
-
"sourcesContent": ["import { IconEnhanceOutlineRegular } from '@deepseek-ai/dsh-client-ui-primitives';\n\nexport type SupportedLocale = 'zh' | 'en' | 'ja' | 'es' | 'fr' | 'de' | 'ru' | 'pt';\n\n/** Host `/` \u884C\u6CA1\u6709\u53EF\u672C\u5730\u5316\u7684\u8BF4\u660E\uFF1B\u540C\u540D\u8D21\u732E\u4F1A\u649E\u8F66\uFF0C\u53EA\u80FD\u5728\u6BCF\u6B21 candidates \u4E0A\u8986\u76D6 /simplify\u3002 */\nconst FACE: {\n icon: typeof IconEnhanceOutlineRegular;\n} & Record<SupportedLocale, { label: string; description: string }> = {\n icon: IconEnhanceOutlineRegular,\n zh: { label: '\u7B80\u5316', description: '\u7B80\u5316\u6700\u8FD1\u6539\u52A8\u7684\u4EE3\u7801\uFF0C\u4FDD\u6301\u529F\u80FD\u5E76\u9650\u5B9A\u4FEE\u6539\u8303\u56F4' },\n en: { label: 'Simplify', description: 'Simplify recent code changes, preserve behavior, and limit the edit scope.' },\n ja: { label: '\u7C21\u7D20\u5316', description: '\u6700\u8FD1\u306E\u5909\u66F4\u30B3\u30FC\u30C9\u3092\u7C21\u7D20\u5316\u3057\u3001\u6A5F\u80FD\u3092\u7DAD\u6301\u3057\u306A\u304C\u3089\u5909\u66F4\u7BC4\u56F2\u3092\u9650\u5B9A' },\n es: { label: 'Simplificar', description: 'Simplifica los cambios recientes de c\u00F3digo, preservando el comportamiento y limitando el alcance.' },\n fr: { label: 'Simplifier', description: 'Simplifier les modifications r\u00E9centes du code, pr\u00E9server le comportement et limiter la port\u00E9e.' },\n de: { label: 'Vereinfachen', description: 'K\u00FCrzliche Code\u00E4nderungen vereinfachen, Verhalten beibehalten und Bearbeitungsbereich einschr\u00E4nken.' },\n ru: { label: '\u0423\u043F\u0440\u043E\u0441\u0442\u0438\u0442\u044C', description: '\u0423\u043F\u0440\u043E\u0441\u0442\u0438\u0442\u044C \u043D\u0435\u0434\u0430\u0432\u043D\u0438\u0435 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u043A\u043E\u0434\u0430 \u0441 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435\u043C \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u0438 \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u0435\u043C \u043E\u0431\u043B\u0430\u0441\u0442\u0438 \u043F\u0440\u0430\u0432\u043E\u043A.' },\n pt: { label: 'Simplificar', description: 'Simplificar altera\u00E7\u00F5es recentes de c\u00F3digo, preservando o comportamento e limitando o escopo.' },\n};\n\ntype Lookup = { get?: (name: string) => unknown };\n\n/** \u88C5\u9970\u8FC7\u7684\u5305\u88C5\u51FD\u6570\u6807\u8BB0\uFF0C\u670D\u52A1\u91CD\u5EFA\u6216\u91CD\u590D\u6CE8\u5165\u65F6\u636E\u6B64\u907F\u514D\u591A\u5C42\u5305\u88F9\u3002 */\nconst WRAPPED = Symbol.for('michengai.simplify.slashFace');\n\n/** \u8BC6\u522B\u5BBF\u4E3B\u754C\u9762\u5F53\u524D\u751F\u6548\u7684\u8BED\u8A00\uFF1B\u672A\u6307\u5B9A\u9ED8\u8BA4\u4E2D\u6587\uFF0C\u975E\u4E2D\u6587\u672A\u77E5\u8BED\u79CD\u56DE\u843D\u82F1\u6587\u3002 */\nfunction resolveLocale(ctx: Lookup): SupportedLocale {\n const locale = ctx.get?.('locale') as { snapshot?: { active?: unknown } } | undefined;\n const active = locale?.snapshot?.active;\n if (typeof active !== 'string') return 'zh';\n const tag = active.replace(/_/g, '-').toLowerCase();\n if (/^zh\\b/.test(tag)) return 'zh';\n if (/^ja\\b/.test(tag)) return 'ja';\n if (/^es\\b/.test(tag)) return 'es';\n if (/^fr\\b/.test(tag)) return 'fr';\n if (/^de\\b/.test(tag)) return 'de';\n if (/^ru\\b/.test(tag)) return 'ru';\n if (/^pt\\b/.test(tag)) return 'pt';\n return 'en';\n}\n\nfunction decorateSlashFace(commandUi: unknown, ctx: Lookup): () => void {\n const live = commandUi as { candidates?: unknown } | undefined;\n const original = live?.candidates;\n if (!live || typeof original !== 'function') return () => {};\n if ((original as unknown as Record<symbol, unknown>)[WRAPPED] === true) return () => {};\n const wrapper = async (...args: unknown[]) => {\n const rows = await (original as (...rest: unknown[]) => unknown).apply(live, args);\n if (!Array.isArray(rows)) return rows;\n const copy = FACE[resolveLocale(ctx)];\n return rows.map((row: unknown) => {\n if (!row || typeof row !== 'object' || !('name' in row) || typeof (row as { name: unknown }).name !== 'string') return row;\n const item = row as { name: string; icon?: unknown };\n if (item.name !== 'simplify') return item;\n return {\n ...item,\n ...(item.icon === undefined ? { icon: FACE.icon } : {}),\n label: copy.label,\n description: copy.description,\n };\n });\n };\n (wrapper as unknown as Record<symbol, unknown>)[WRAPPED] = true;\n live.candidates = wrapper;\n return () => {\n if (live.candidates === wrapper) live.candidates = original;\n };\n}\n\ninterface ClientScope extends Lookup {\n effect?(fn: () => (() => void) | void): unknown;\n inject?(deps: string[], callback: (scope: ClientScope) => void): unknown;\n}\n\n/**\n * \u7B49 `commandUi` \u5C31\u7EEA\u540E\u518D\u88C5\u9970 `/simplify` \u7684\u884C\u9762\u3002\n *\n * \u5BA2\u6237\u7AEF\u63D2\u4EF6\u7684 apply \u65E9\u4E8E UI \u670D\u52A1\u6FC0\u6D3B\uFF0C\u6B64\u65F6\u76F4\u63A5 `ctx.get('commandUi')` \u53EA\u4F1A\u62FF\u5230\n * undefined \u5E76\u9759\u9ED8\u5931\u6548\uFF1B`inject` \u4F1A\u5728\u670D\u52A1\u5C31\u7EEA\u65F6\u56DE\u8C03\uFF0C\u5E76\u5728\u670D\u52A1\u91CD\u5EFA\u540E\u518D\u6B21\u56DE\u8C03\uFF0C\n * \u56E0\u6B64\u8FD9\u91CC\u540C\u65F6\u627F\u62C5\u91CD\u6302\u8F7D\u8D23\u4EFB\u3002\n */\nexport function apply(ctx: ClientScope):
|
|
5
|
-
"mappings": ";yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,WAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAA0C,iDAKpCC,EAEgE,CACpE,KAAM,4BACN,GAAI,CAAE,MAAO,eAAM,YAAa,gIAAwB,EACxD,GAAI,CAAE,MAAO,WAAY,YAAa,4EAA6E,EACnH,GAAI,CAAE,MAAO,qBAAO,YAAa,sLAAiC,EAClE,GAAI,CAAE,MAAO,cAAe,YAAa,sGAAoG,EAC7I,GAAI,CAAE,MAAO,aAAc,YAAa,yGAAiG,EACzI,GAAI,CAAE,MAAO,eAAgB,YAAa,6GAAqG,EAC/I,GAAI,CAAE,MAAO,yDAAa,YAAa,2dAA2F,EAClI,GAAI,CAAE,MAAO,cAAe,YAAa,uGAA+F,CAC1I,EAKMC,EAAU,OAAO,IAAI,8BAA8B,EAGzD,SAASC,EAAcC,EAA8B,
|
|
6
|
-
"names": ["client_exports", "__export", "apply", "__toCommonJS", "import_dsh_client_ui_primitives", "FACE", "WRAPPED", "resolveLocale", "ctx", "active", "tag", "decorateSlashFace", "commandUi", "live", "original", "wrapper", "args", "rows", "copy", "row", "item", "decorate", "scope"]
|
|
4
|
+
"sourcesContent": ["import { IconEnhanceOutlineRegular } from '@deepseek-ai/dsh-client-ui-primitives';\n\nexport type SupportedLocale = 'zh' | 'en' | 'ja' | 'es' | 'fr' | 'de' | 'ru' | 'pt';\n\n/** Host `/` \u884C\u6CA1\u6709\u53EF\u672C\u5730\u5316\u7684\u8BF4\u660E\uFF1B\u540C\u540D\u8D21\u732E\u4F1A\u649E\u8F66\uFF0C\u53EA\u80FD\u5728\u6BCF\u6B21 candidates \u4E0A\u8986\u76D6 /simplify\u3002 */\nconst FACE: {\n icon: typeof IconEnhanceOutlineRegular;\n} & Record<SupportedLocale, { label: string; description: string }> = {\n icon: IconEnhanceOutlineRegular,\n zh: { label: '\u7B80\u5316', description: '\u7B80\u5316\u6700\u8FD1\u6539\u52A8\u7684\u4EE3\u7801\uFF0C\u4FDD\u6301\u529F\u80FD\u5E76\u9650\u5B9A\u4FEE\u6539\u8303\u56F4' },\n en: { label: 'Simplify', description: 'Simplify recent code changes, preserve behavior, and limit the edit scope.' },\n ja: { label: '\u7C21\u7D20\u5316', description: '\u6700\u8FD1\u306E\u5909\u66F4\u30B3\u30FC\u30C9\u3092\u7C21\u7D20\u5316\u3057\u3001\u6A5F\u80FD\u3092\u7DAD\u6301\u3057\u306A\u304C\u3089\u5909\u66F4\u7BC4\u56F2\u3092\u9650\u5B9A' },\n es: { label: 'Simplificar', description: 'Simplifica los cambios recientes de c\u00F3digo, preservando el comportamiento y limitando el alcance.' },\n fr: { label: 'Simplifier', description: 'Simplifier les modifications r\u00E9centes du code, pr\u00E9server le comportement et limiter la port\u00E9e.' },\n de: { label: 'Vereinfachen', description: 'K\u00FCrzliche Code\u00E4nderungen vereinfachen, Verhalten beibehalten und Bearbeitungsbereich einschr\u00E4nken.' },\n ru: { label: '\u0423\u043F\u0440\u043E\u0441\u0442\u0438\u0442\u044C', description: '\u0423\u043F\u0440\u043E\u0441\u0442\u0438\u0442\u044C \u043D\u0435\u0434\u0430\u0432\u043D\u0438\u0435 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u044F \u043A\u043E\u0434\u0430 \u0441 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435\u043C \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u0438 \u043E\u0433\u0440\u0430\u043D\u0438\u0447\u0435\u043D\u0438\u0435\u043C \u043E\u0431\u043B\u0430\u0441\u0442\u0438 \u043F\u0440\u0430\u0432\u043E\u043A.' },\n pt: { label: 'Simplificar', description: 'Simplificar altera\u00E7\u00F5es recentes de c\u00F3digo, preservando o comportamento e limitando o escopo.' },\n};\n\ntype Lookup = { get?: (name: string) => unknown };\n\n/** \u88C5\u9970\u8FC7\u7684\u5305\u88C5\u51FD\u6570\u6807\u8BB0\uFF0C\u670D\u52A1\u91CD\u5EFA\u6216\u91CD\u590D\u6CE8\u5165\u65F6\u636E\u6B64\u907F\u514D\u591A\u5C42\u5305\u88F9\u3002 */\nconst WRAPPED = Symbol.for('michengai.simplify.slashFace');\n\n/** \u8BC6\u522B\u5BBF\u4E3B\u754C\u9762\u5F53\u524D\u751F\u6548\u7684\u8BED\u8A00\uFF1B\u672A\u6307\u5B9A\u9ED8\u8BA4\u4E2D\u6587\uFF0C\u975E\u4E2D\u6587\u672A\u77E5\u8BED\u79CD\u56DE\u843D\u82F1\u6587\u3002 */\nfunction resolveLocale(ctx: Lookup): SupportedLocale {\n const locale = ctx.get?.('locale') as { snapshot?: { active?: unknown }; getSnapshot?: () => { active?: unknown } } | undefined;\n const active = locale?.snapshot?.active ?? locale?.getSnapshot?.()?.active;\n if (typeof active !== 'string') return 'zh';\n const tag = active.replace(/_/g, '-').toLowerCase();\n if (/^zh\\b/.test(tag)) return 'zh';\n if (/^ja\\b/.test(tag)) return 'ja';\n if (/^es\\b/.test(tag)) return 'es';\n if (/^fr\\b/.test(tag)) return 'fr';\n if (/^de\\b/.test(tag)) return 'de';\n if (/^ru\\b/.test(tag)) return 'ru';\n if (/^pt\\b/.test(tag)) return 'pt';\n return 'en';\n}\n\nfunction decorateSlashFace(commandUi: unknown, ctx: Lookup): () => void {\n const live = commandUi as { candidates?: unknown } | undefined;\n const original = live?.candidates;\n if (!live || typeof original !== 'function') return () => {};\n if ((original as unknown as Record<symbol, unknown>)[WRAPPED] === true) return () => {};\n const wrapper = async (...args: unknown[]) => {\n const rows = await (original as (...rest: unknown[]) => unknown).apply(live, args);\n if (!Array.isArray(rows)) return rows;\n const copy = FACE[resolveLocale(ctx)];\n return rows.map((row: unknown) => {\n if (!row || typeof row !== 'object' || !('name' in row) || typeof (row as { name: unknown }).name !== 'string') return row;\n const item = row as { name: string; icon?: unknown };\n if (item.name !== 'simplify') return item;\n return {\n ...item,\n ...(item.icon === undefined ? { icon: FACE.icon } : {}),\n label: copy.label,\n description: copy.description,\n };\n });\n };\n (wrapper as unknown as Record<symbol, unknown>)[WRAPPED] = true;\n live.candidates = wrapper;\n return () => {\n if (live.candidates === wrapper) live.candidates = original;\n };\n}\n\ninterface ClientScope extends Lookup {\n effect?(fn: () => (() => void) | void): unknown;\n inject?(deps: string[], callback: (scope: ClientScope) => void): unknown;\n}\n\n/**\n * \u7B49 `commandUi` \u5C31\u7EEA\u540E\u518D\u88C5\u9970 `/simplify` \u7684\u884C\u9762\u3002\n *\n * \u5BA2\u6237\u7AEF\u63D2\u4EF6\u7684 apply \u65E9\u4E8E UI \u670D\u52A1\u6FC0\u6D3B\uFF0C\u6B64\u65F6\u76F4\u63A5 `ctx.get('commandUi')` \u53EA\u4F1A\u62FF\u5230\n * undefined \u5E76\u9759\u9ED8\u5931\u6548\uFF1B`inject` \u4F1A\u5728\u670D\u52A1\u5C31\u7EEA\u65F6\u56DE\u8C03\uFF0C\u5E76\u5728\u670D\u52A1\u91CD\u5EFA\u540E\u518D\u6B21\u56DE\u8C03\uFF0C\n * \u56E0\u6B64\u8FD9\u91CC\u540C\u65F6\u627F\u62C5\u91CD\u6302\u8F7D\u8D23\u4EFB\u3002\n */\nexport function apply(ctx: ClientScope): () => void {\n // \u5BBF\u4E3B effect \u8FD4\u56DE\u5378\u8F7D\u5668\uFF1B\u628A\u5B83\u4EA4\u56DE\u5BBF\u4E3B\uFF0C\u670D\u52A1\u91CD\u5EFA\u6216\u63D2\u4EF6\u5378\u8F7D\u65F6\u624D\u80FD\u6062\u590D\u539F\u65B9\u6CD5\u3002\n const decorate = (scope: ClientScope): (() => void) => {\n if (typeof scope.effect === 'function') {\n return (scope.effect(() => decorateSlashFace(scope.get?.('commandUi'), scope)) as () => void) ?? (() => {});\n }\n return decorateSlashFace(scope.get?.('commandUi'), scope);\n };\n if (typeof ctx.inject === 'function') {\n const uninject = ctx.inject(['commandUi'], scope => decorate(scope));\n return typeof uninject === 'function' ? (uninject as () => void) : () => {};\n }\n // \u517C\u5BB9\u4E0D\u5E26 inject \u7684\u6700\u5C0F\u5939\u5177\uFF1A\u9000\u5316\u4E3A\u4E00\u6B21\u6027\u5C1D\u8BD5\u3002\n return decorate(ctx);\n}\n"],
|
|
5
|
+
"mappings": ";yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,WAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAA0C,iDAKpCC,EAEgE,CACpE,KAAM,4BACN,GAAI,CAAE,MAAO,eAAM,YAAa,gIAAwB,EACxD,GAAI,CAAE,MAAO,WAAY,YAAa,4EAA6E,EACnH,GAAI,CAAE,MAAO,qBAAO,YAAa,sLAAiC,EAClE,GAAI,CAAE,MAAO,cAAe,YAAa,sGAAoG,EAC7I,GAAI,CAAE,MAAO,aAAc,YAAa,yGAAiG,EACzI,GAAI,CAAE,MAAO,eAAgB,YAAa,6GAAqG,EAC/I,GAAI,CAAE,MAAO,yDAAa,YAAa,2dAA2F,EAClI,GAAI,CAAE,MAAO,cAAe,YAAa,uGAA+F,CAC1I,EAKMC,EAAU,OAAO,IAAI,8BAA8B,EAGzD,SAASC,EAAcC,EAA8B,CACnD,IAAMC,EAASD,EAAI,MAAM,QAAQ,EAC3BE,EAASD,GAAQ,UAAU,QAAUA,GAAQ,cAAc,GAAG,OACpE,GAAI,OAAOC,GAAW,SAAU,MAAO,KACvC,IAAMC,EAAMD,EAAO,QAAQ,KAAM,GAAG,EAAE,YAAY,EAClD,MAAI,QAAQ,KAAKC,CAAG,EAAU,KAC1B,QAAQ,KAAKA,CAAG,EAAU,KAC1B,QAAQ,KAAKA,CAAG,EAAU,KAC1B,QAAQ,KAAKA,CAAG,EAAU,KAC1B,QAAQ,KAAKA,CAAG,EAAU,KAC1B,QAAQ,KAAKA,CAAG,EAAU,KAC1B,QAAQ,KAAKA,CAAG,EAAU,KACvB,IACT,CAEA,SAASC,EAAkBC,EAAoBL,EAAyB,CACtE,IAAMM,EAAOD,EACPE,EAAWD,GAAM,WACvB,GAAI,CAACA,GAAQ,OAAOC,GAAa,WAAY,MAAO,IAAM,CAAC,EAC3D,GAAKA,EAAgDT,CAAO,IAAM,GAAM,MAAO,IAAM,CAAC,EACtF,IAAMU,EAAU,SAAUC,IAAoB,CAC5C,IAAMC,EAAO,MAAOH,EAA6C,MAAMD,EAAMG,CAAI,EACjF,GAAI,CAAC,MAAM,QAAQC,CAAI,EAAG,OAAOA,EACjC,IAAMC,EAAOd,EAAKE,EAAcC,CAAG,CAAC,EACpC,OAAOU,EAAK,IAAKE,GAAiB,CAChC,GAAI,CAACA,GAAO,OAAOA,GAAQ,UAAY,EAAE,SAAUA,IAAQ,OAAQA,EAA0B,MAAS,SAAU,OAAOA,EACvH,IAAMC,EAAOD,EACb,OAAIC,EAAK,OAAS,WAAmBA,EAC9B,CACL,GAAGA,EACH,GAAIA,EAAK,OAAS,OAAY,CAAE,KAAMhB,EAAK,IAAK,EAAI,CAAC,EACrD,MAAOc,EAAK,MACZ,YAAaA,EAAK,WACpB,CACF,CAAC,CACH,EACA,OAACH,EAA+CV,CAAO,EAAI,GAC3DQ,EAAK,WAAaE,EACX,IAAM,CACPF,EAAK,aAAeE,IAASF,EAAK,WAAaC,EACrD,CACF,CAcO,SAASb,EAAMM,EAA8B,CAElD,IAAMc,EAAYC,GACZ,OAAOA,EAAM,QAAW,WAClBA,EAAM,OAAO,IAAMX,EAAkBW,EAAM,MAAM,WAAW,EAAGA,CAAK,CAAC,IAAqB,IAAM,CAAC,GAEpGX,EAAkBW,EAAM,MAAM,WAAW,EAAGA,CAAK,EAE1D,GAAI,OAAOf,EAAI,QAAW,WAAY,CACpC,IAAMgB,EAAWhB,EAAI,OAAO,CAAC,WAAW,EAAGe,GAASD,EAASC,CAAK,CAAC,EACnE,OAAO,OAAOC,GAAa,WAAcA,EAA0B,IAAM,CAAC,CAC5E,CAEA,OAAOF,EAASd,CAAG,CACrB",
|
|
6
|
+
"names": ["client_exports", "__export", "apply", "__toCommonJS", "import_dsh_client_ui_primitives", "FACE", "WRAPPED", "resolveLocale", "ctx", "locale", "active", "tag", "decorateSlashFace", "commandUi", "live", "original", "wrapper", "args", "rows", "copy", "row", "item", "decorate", "scope", "uninject"]
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@michengai/dsh-simplify",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
4
4
|
"description": "DSH Simplify — 为 DeepSeek Harness 提供限定 Git 变更范围的代码简化,支持未跟踪文件、跨平台路径与可靠的 Git 异常处理 · Git-scoped code simplification with untracked-file support, cross-platform paths, and reliable Git error handling for DeepSeek Harness",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -104,49 +104,49 @@
|
|
|
104
104
|
}
|
|
105
105
|
},
|
|
106
106
|
"devDependencies": {
|
|
107
|
-
"@deepseek-ai/cordis": "4.
|
|
108
|
-
"@deepseek-ai/dsh-client-ui-commands": "0.2.
|
|
109
|
-
"@deepseek-ai/dsh-client-ui-primitives": "0.2.
|
|
110
|
-
"@deepseek-ai/dsh-commands": "0.2.
|
|
111
|
-
"@deepseek-ai/dsh-error": "0.2.
|
|
112
|
-
"@deepseek-ai/dsh-llm": "0.2.
|
|
113
|
-
"@deepseek-ai/dsh-subprocess": "0.2.
|
|
114
|
-
"@deepseek-ai/dsh-subprocess-local": "0.2.
|
|
107
|
+
"@deepseek-ai/cordis": "4.2.0-alpha.1",
|
|
108
|
+
"@deepseek-ai/dsh-client-ui-commands": "0.2.3-alpha.2",
|
|
109
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.2.3-alpha.2",
|
|
110
|
+
"@deepseek-ai/dsh-commands": "0.2.3-alpha.2",
|
|
111
|
+
"@deepseek-ai/dsh-error": "0.2.3-alpha.2",
|
|
112
|
+
"@deepseek-ai/dsh-llm": "0.2.3-alpha.2",
|
|
113
|
+
"@deepseek-ai/dsh-subprocess": "0.2.3-alpha.2",
|
|
114
|
+
"@deepseek-ai/dsh-subprocess-local": "0.2.3-alpha.2",
|
|
115
115
|
"@types/node": "^22.19.0",
|
|
116
116
|
"esbuild": "^0.25.0",
|
|
117
117
|
"typescript": "~5.7.2",
|
|
118
118
|
"semver": "^7.7.3",
|
|
119
|
-
"@deepseek-ai/dsh-attachment": "0.2.
|
|
120
|
-
"@deepseek-ai/dsh-scope": "0.2.
|
|
121
|
-
"@deepseek-ai/dsh-agent": "0.2.
|
|
122
|
-
"@deepseek-ai/dsh-agent-loop": "0.2.
|
|
123
|
-
"@deepseek-ai/dsh-session": "0.2.
|
|
124
|
-
"@deepseek-ai/dsh-session-persistence": "0.2.
|
|
125
|
-
"@deepseek-ai/dsh-session-projection": "0.2.
|
|
126
|
-
"@deepseek-ai/dsh-settings": "0.2.
|
|
127
|
-
"@deepseek-ai/dsh-subagent": "0.2.
|
|
128
|
-
"@deepseek-ai/dsh-subagent-spawn-in-process": "0.2.
|
|
129
|
-
"@deepseek-ai/dsh-system-prompt": "0.2.
|
|
130
|
-
"@deepseek-ai/dsh-tools": "0.2.
|
|
131
|
-
"@deepseek-ai/dsh-user-approval": "0.2.
|
|
132
|
-
"@deepseek-ai/dsh-user-questions": "0.2.
|
|
133
|
-
"@deepseek-ai/dsh-api-gateway": "0.2.
|
|
134
|
-
"@deepseek-ai/dsh-api-session-controller": "0.2.
|
|
135
|
-
"@deepseek-ai/dsh-client-connection": "0.2.
|
|
136
|
-
"@deepseek-ai/dsh-client-locale": "0.2.
|
|
137
|
-
"@deepseek-ai/dsh-client-ui-chat": "0.2.
|
|
138
|
-
"@deepseek-ai/dsh-client-ui-conversation": "0.2.
|
|
139
|
-
"@deepseek-ai/dsh-client-ui-input-trigger": "0.2.
|
|
140
|
-
"@deepseek-ai/dsh-client-ui-renderer": "0.2.
|
|
141
|
-
"@deepseek-ai/dsh-client-ui-slots": "0.2.
|
|
142
|
-
"@deepseek-ai/dsh-client-ui-theme": "0.2.
|
|
143
|
-
"@deepseek-ai/dsh-ptc-runtime": "0.2.
|
|
144
|
-
"@deepseek-ai/dsh-sandbox": "0.2.
|
|
145
|
-
"@deepseek-ai/dsh-sandbox-policy": "0.2.
|
|
146
|
-
"@deepseek-ai/dsh-subagent-fork-in-process": "0.2.
|
|
147
|
-
"@deepseek-ai/dsh-typert-protocol": "0.2.
|
|
148
|
-
"@deepseek-ai/dsh-typert-registry": "0.2.
|
|
149
|
-
"@deepseek-ai/dsh-util-time": "0.2.
|
|
150
|
-
"@deepseek-ai/dsh-http-proxy": "0.2.
|
|
119
|
+
"@deepseek-ai/dsh-attachment": "0.2.3-alpha.2",
|
|
120
|
+
"@deepseek-ai/dsh-scope": "0.2.3-alpha.2",
|
|
121
|
+
"@deepseek-ai/dsh-agent": "0.2.3-alpha.2",
|
|
122
|
+
"@deepseek-ai/dsh-agent-loop": "0.2.3-alpha.2",
|
|
123
|
+
"@deepseek-ai/dsh-session": "0.2.3-alpha.2",
|
|
124
|
+
"@deepseek-ai/dsh-session-persistence": "0.2.3-alpha.2",
|
|
125
|
+
"@deepseek-ai/dsh-session-projection": "0.2.3-alpha.2",
|
|
126
|
+
"@deepseek-ai/dsh-settings": "0.2.3-alpha.2",
|
|
127
|
+
"@deepseek-ai/dsh-subagent": "0.2.3-alpha.2",
|
|
128
|
+
"@deepseek-ai/dsh-subagent-spawn-in-process": "0.2.3-alpha.2",
|
|
129
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.3-alpha.2",
|
|
130
|
+
"@deepseek-ai/dsh-tools": "0.2.3-alpha.2",
|
|
131
|
+
"@deepseek-ai/dsh-user-approval": "0.2.3-alpha.2",
|
|
132
|
+
"@deepseek-ai/dsh-user-questions": "0.2.3-alpha.2",
|
|
133
|
+
"@deepseek-ai/dsh-api-gateway": "0.2.3-alpha.2",
|
|
134
|
+
"@deepseek-ai/dsh-api-session-controller": "0.2.3-alpha.2",
|
|
135
|
+
"@deepseek-ai/dsh-client-connection": "0.2.3-alpha.2",
|
|
136
|
+
"@deepseek-ai/dsh-client-locale": "0.2.3-alpha.2",
|
|
137
|
+
"@deepseek-ai/dsh-client-ui-chat": "0.2.3-alpha.2",
|
|
138
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.2.3-alpha.2",
|
|
139
|
+
"@deepseek-ai/dsh-client-ui-input-trigger": "0.2.3-alpha.2",
|
|
140
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.2.3-alpha.2",
|
|
141
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.2.3-alpha.2",
|
|
142
|
+
"@deepseek-ai/dsh-client-ui-theme": "0.2.3-alpha.2",
|
|
143
|
+
"@deepseek-ai/dsh-ptc-runtime": "0.2.3-alpha.2",
|
|
144
|
+
"@deepseek-ai/dsh-sandbox": "0.2.3-alpha.2",
|
|
145
|
+
"@deepseek-ai/dsh-sandbox-policy": "0.2.3-alpha.2",
|
|
146
|
+
"@deepseek-ai/dsh-subagent-fork-in-process": "0.2.3-alpha.2",
|
|
147
|
+
"@deepseek-ai/dsh-typert-protocol": "0.2.3-alpha.2",
|
|
148
|
+
"@deepseek-ai/dsh-typert-registry": "0.2.3-alpha.2",
|
|
149
|
+
"@deepseek-ai/dsh-util-time": "0.2.3-alpha.2",
|
|
150
|
+
"@deepseek-ai/dsh-http-proxy": "0.2.3-alpha.2"
|
|
151
151
|
}
|
|
152
152
|
}
|