`。调用点:`dsh web --profile ` 的 `prepareProfileEntries`(必经路径)、`profile.ts`(bundle 行,异常被吞成 skip,该 bundle 不再贡献 patch 层)、`agent-preset-registry/src/mount.ts`(预置行),以及 plugin-manager 的安装前/安装后校验。**四个要点**:(a) 它**只读 peer,不读 `engines.dsh` / `dsh.manifestVersion`**(那两个字段仍然零读者,见第 11 条);(b) `peerDependenciesMeta.optional` **没有任何豁免**(我们那条 optional 的 `@deepseek-ai/dsh-client-ui-sidebar-right` 照样参与判定);(c) `includePrerelease` 被强制打开,判定比 npm 宽松(`^0.1.6-alpha.2` 也能满足 `0.1.7-rc.1`),但**精确版本号、或没有预发布子句的范围(如 `^0.1.7`)一定不过**——且这条宽松只在**同一 minor 内**成立(AGENTS.md §3);(d) 豁免只能写 profile 自己的 `compatibility.json`(`dsh plugin allow-version --dsh-version --accept-risk`),没有全局开关也没有环境变量。**`pnpm peers check` 看不到这个失败模式**:它校验的是解析出来的 dev 树,不是宿主会读的范围形状。
+12. **宿主版本兼容性是启动期硬约束**:alpha.5 先读插件 `package.json#engines.dsh`;字段存在时只按该范围判定,DSH peer 不再拓宽或收窄结果。字段缺席时回退检查名字为 `@deepseek-ai/dsh` 或以 `@deepseek-ai/dsh-` 开头的 peer,按 `semver.satisfies(宿主版本, range, { includePrerelease: true })` 判定。本插件刻意不新增该字段,仍由 13 条 DSH peer 的 `^0.2.1-alpha.5` 支持线约束,optional peer 没有豁免。`engines` 非对象或 `engines.dsh` 非字符串会导致兼容性清单不可读并拒绝加载;`workspace:` 仅在 peer 中有效。安装与 profile 启动拒绝可能禁用整行,需读 `disabling profile plugin` 日志;拒绝记录字段已由 `peers` 改为 `requirements`,其中 key 为 `engines.dsh` 或回退检查的 peer 包名。`pnpm peers check` 校验的是 dev 依赖树,不能证明宿主启动预检通过。[官方升级指南](https://github.com/deepseek-ai/deepseek-harness/blob/dsh-v0.2.1-alpha.5/docs/upgrade-guide/v0.2.1-alpha.3/plugin-engines-dsh/guide.md)。
diff --git a/docs/plans/2026-10-16-dsh-0.2.1-alpha.5-adaptation.md b/docs/plans/2026-10-16-dsh-0.2.1-alpha.5-adaptation.md
new file mode 100644
index 00000000..270f285e
--- /dev/null
+++ b/docs/plans/2026-10-16-dsh-0.2.1-alpha.5-adaptation.md
@@ -0,0 +1,62 @@
+# DSH 0.2.1-alpha.5 适配记录(v0.28.0-alpha.0)
+
+> 状态:本地适配验证完成,未发布。以下结果由主线程执行并确认;未修改 DSH 源码或升级真实用户 profile。
+
+## 1. 已批准范围
+
+- 宿主精确目标:DSH `0.2.1-alpha.5`;插件版本:`0.28.0-alpha.0`。
+- 单支持线:13 条 DSH peer 下限为 `^0.2.1-alpha.5`,开发依赖与 CI / 安装脚本钉精确宿主版本;不写旧版运行时兼容层。
+- DSH `0.2.0-rc.2` 用户继续使用 npm 已发布的插件 `0.26.1`;`0.27.0` 尚未发布到 npm。`0.2.0-rc.1` 用 `0.24.1`,`0.1.7` 线用 `0.22.1`。
+- alpha 发布后使用 `dsh plugin --profile web add dsh-better-sidebar@0.28.0-alpha.0`;`latest` 不是本 alpha 的安装目标。
+- 不修改 DSH 源码,不升级真实用户 profile,不发布 npm。
+
+## 2. 两项删除型迁移
+
+### Connection admission
+
+alpha.5 删除 `webRuntime`。插件注入改为 `connection`;所有 `/sidebar` HTTP/WS 路由调用 `ctx.connection.requestRejection(req)`,仅返回 `undefined` 才继续。Host/Origin 与浏览器认证由宿主裁决,不复制 trusted-host 列表或恢复插件自建例外;拒绝应发生在读取请求体或升级之前。
+
+### Runtime invariants
+
+[官方升级指南](https://github.com/deepseek-ai/deepseek-harness/blob/dsh-v0.2.1-alpha.5/docs/upgrade-guide/v0.2.0-rc.2/remove-runtime-invariants/guide.md) 明确移除 `@deepseek-ai/dsh-invariants`、`ctx.invariants` 与各宿主包的 `/invariant` 子路径,无替代包。不能把不存在的版本钉成 alpha.5,也不保留 rc.2 包混入新支持线。
+
+本插件同步移除 invariant companion、类型、包导出与打包清单。压缩种子回归移除上游 `/invariant` 导入,继续以公开 surface fold、seed validator 和事件结构断言覆盖原行为,不自建 invariant 框架。
+
+## 3. 当前执行目录、labels 与兼容性判定
+
+用户已选择文件 / Git / 终端与新建 sidechat 跟随会话 `working_directory`。live 读 `ctx.workingDirectory.get(session)`;cold 通过 `ctx.sessionQuery.observeSession` 的 `projectionMode: 'all'` 读取当前目录,lease 在 `finally` 释放。linked worktree 仍按 base 目录记账;sidechat seed 尾部 stamp 当前 cwd,避免历史 seed 目录覆盖新线程当前目录。
+
+alpha.5 的 `TerminalBlockLabels` 新增必填 `commandLine(line)`,两个消费者已补,全 21 份词典 key 同步。伴随更新 Cordis `4.0.5`、schemastery `~3.18.5-alpha.2`、group `1.0.5-alpha.2`、include `1.0.10`。稳定 Cordis 同时满足 alpha 宿主与稳定传递 loader 的范围,无需 override;剩余 4 条 peer 警告仅来自可选 better-locale 的旧 DSH 支持线。
+
+[官方兼容性升级指南](https://github.com/deepseek-ai/deepseek-harness/blob/dsh-v0.2.1-alpha.5/docs/upgrade-guide/v0.2.1-alpha.3/plugin-engines-dsh/guide.md) 描述 alpha.3 之后的规则变化:package 自有 `engines.dsh` 存在时独立决定兼容性,否则才读 DSH peers;拒绝记录由 `peers` 更名 `requirements`。本插件不新增 `package.json#engines.dsh`,仍用 13 peers;第三方 `dsh.plugin.json#engines.dsh` 不参与宿主判定。
+
+## 4. 同步面
+
+- 依赖、lockfile、插件版本与 manifest。
+- Connection 注入、路由准入、结构化类型及测试夹具。
+- CI、e2e 默认/预期宿主版本、两个安装脚本。
+- 当前 README、接入指南、宿主契约、开发规则及本次 CHANGELOG 新条目;历史记录不改写。
+
+## 5. 验证矩阵(主线程执行并确认)
+
+| 检查 | 状态 |
+| --- | --- |
+| 安装 alpha.5 依赖并检查 lockfile 收敛 | 已执行;最终伴随版本见上文 |
+| `pnpm peers check` | 仅可选 better-locale 的 4 条旧 DSH peer 警告,无 loader 未定项 |
+| 消费宿主包类型面与裸 import 差集 | 已审计 74 个 primitives 消费符号与 27 个宿主包;必填变化为 commandLine;新增裸 import 均由宿主包或平台模块表提供 |
+| 会话格式、子代理描述符版本、web profile inject | 主线程实跑常量仍为 4 / 3;surface 与 sidebar-right 的 6 份消费声明逐字节相同;独立 tag 审计确认客户端 roster 只增不减,真实挂载通过 |
+| `pnpm typecheck` / `pnpm lint` | 新鲜通过 |
+| `pnpm test`(默认 CI 入口) | 219 文件全部通过;2634 passed / 17 skipped,20.29 s,无 unhandled errors |
+| `pnpm test --maxWorkers=1` | 219 文件全部通过;2634 passed / 17 skipped(共 2651),96.1 s |
+| `pnpm build` / `pnpm check:consumer-types` | 新鲜通过;浏览器 consumer 不泄漏 Node 类型 |
+| `pnpm check:engines` | rg 通过;fd 缺失,未执行 fd 检查 |
+| `pnpm pack` 与 tarball 内容检查 | 通过:467 项、版本 0.28.0-alpha.0;废弃 invariant / trust-fence 源码、产物与声明均 0 项 |
+| 精确 alpha.5 宿主的 `pnpm test:mount` | 最终交付 tarball 重跑 13/13 通过,2.5 min;此前一轮亦为 13/13 |
+| 精确 alpha.5 宿主的 `pnpm test:mount:aggregate` | 通过:settings.get 返回 ok:true,未知路由 404,无重复路由 |
+| Windows 原生运行验证 | 未执行 |
+
+排查期间默认并发曾出现 watch / GC 相关失败,保留为历史而非当前阻塞;最终默认入口与单 worker 完整重跑均通过。默认入口日志为 `/tmp/bsb-alpha-tests-default-final.log`,单 worker 日志为 `/tmp/bsb-alpha-tests-final.log`。默认目录、同 base live 增量 epoch 与 sidechat seed cwd stamp 真实测试均通过;cold 外进程同 base 更新仍受既有 15 s TTL 约束。
+
+消费类型通过 `/// ` 保留 disposal 标准类型引用,浏览器 consumer 验证不引入 Node 类型。
+
+真实挂载必须使用隔离 scratch profile 与精确 `@deepseek-ai/dsh@0.2.1-alpha.5`,不使用会覆盖 `DSH_HOME` 的桌面 shim。网络或安装失败应记录原始失败,不以旧宿主测试替代 alpha.5 证据。
diff --git a/dsh.plugin.json b/dsh.plugin.json
index 0f4dd61e..d4472fa7 100644
--- a/dsh.plugin.json
+++ b/dsh.plugin.json
@@ -1,10 +1,10 @@
{
"id": "dsh-external/dsh-better-sidebar",
- "version": "0.27.0",
+ "version": "0.28.0-alpha.0",
"main": "./lib/index.js",
"description": "更好用的右侧边栏——文件树、编辑器、文件变动、任务和侧边对话都收在这一栏里,每个会话互不干扰。暴露服务供其他插件注册侧边栏页面与文件预览器",
"engines": {
- "dsh": ">=0.2.0-rc.2"
+ "dsh": ">=0.2.1-alpha.5"
},
"contributes": {
"tools": [],
diff --git a/package.json b/package.json
index ee5b30e6..c1e4418a 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "dsh-better-sidebar",
- "version": "0.27.0",
+ "version": "0.28.0-alpha.0",
"description": "Better Sidebar for DSH — file tree, editor, changes, tasks and side chat in one column, separate for every conversation. Also exposes a service other plugins use to register sidebar tabs and file viewers.",
"type": "module",
"repository": {
@@ -17,10 +17,6 @@
"types": "./lib/types/index.d.ts",
"default": "./lib/index.js"
},
- "./invariant": {
- "types": "./lib/types/invariant.d.ts",
- "default": "./lib/invariant.js"
- },
"./client": {
"types": "./lib/types/client/index.d.ts",
"default": "./lib/client.js"
@@ -59,7 +55,6 @@
},
"files": [
"lib/index.js",
- "lib/invariant.js",
"lib/client.js",
"lib/client-registry.js",
"lib/client-editor.js",
@@ -95,21 +90,20 @@
},
"license": "MIT",
"peerDependencies": {
- "@deepseek-ai/cordis": "^4.0.4",
- "@deepseek-ai/dsh-agent": "^0.2.0-rc.2",
- "@deepseek-ai/dsh-client-locale": "^0.2.0-rc.2",
- "@deepseek-ai/dsh-client-ui-conversation": "^0.2.0-rc.2",
- "@deepseek-ai/dsh-client-ui-primitives": "^0.2.0-rc.2",
- "@deepseek-ai/dsh-client-ui-settings": "^0.2.0-rc.2",
- "@deepseek-ai/dsh-client-ui-sidebar-right": "^0.2.0-rc.2",
- "@deepseek-ai/dsh-client-ui-slots": "^0.2.0-rc.2",
- "@deepseek-ai/dsh-host-webserver": "^0.2.0-rc.2",
- "@deepseek-ai/dsh-invariants": "^0.2.0-rc.2",
- "@deepseek-ai/dsh-llm": "^0.2.0-rc.2",
- "@deepseek-ai/dsh-session": "^0.2.0-rc.2",
- "@deepseek-ai/dsh-settings": "^0.2.0-rc.2",
- "@deepseek-ai/dsh-subagent": "^0.2.0-rc.2",
- "@deepseek-ai/dsh-tools": "^0.2.0-rc.2",
+ "@deepseek-ai/cordis": "^4.0.5-alpha.2",
+ "@deepseek-ai/dsh-agent": "^0.2.1-alpha.5",
+ "@deepseek-ai/dsh-client-locale": "^0.2.1-alpha.5",
+ "@deepseek-ai/dsh-client-ui-conversation": "^0.2.1-alpha.5",
+ "@deepseek-ai/dsh-client-ui-primitives": "^0.2.1-alpha.5",
+ "@deepseek-ai/dsh-client-ui-settings": "^0.2.1-alpha.5",
+ "@deepseek-ai/dsh-client-ui-sidebar-right": "^0.2.1-alpha.5",
+ "@deepseek-ai/dsh-client-ui-slots": "^0.2.1-alpha.5",
+ "@deepseek-ai/dsh-host-webserver": "^0.2.1-alpha.5",
+ "@deepseek-ai/dsh-llm": "^0.2.1-alpha.5",
+ "@deepseek-ai/dsh-session": "^0.2.1-alpha.5",
+ "@deepseek-ai/dsh-settings": "^0.2.1-alpha.5",
+ "@deepseek-ai/dsh-subagent": "^0.2.1-alpha.5",
+ "@deepseek-ai/dsh-tools": "^0.2.1-alpha.5",
"@huanlin/dsh-plugin-better-locale": "^0.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0"
@@ -144,7 +138,7 @@
"@codemirror/search": "^6.7.1",
"@codemirror/state": "^6.7.1",
"@codemirror/view": "^6.43.8",
- "@deepseek-ai/schemastery": "^3.18.4",
+ "@deepseek-ai/schemastery": "~3.18.5-alpha.2",
"@formkit/auto-animate": "^0.10.0",
"@lezer/highlight": "^1.2.3",
"@xterm/addon-fit": "^0.11.0",
@@ -159,37 +153,37 @@
},
"devDependencies": {
"@cordisjs/plugin-loader": "^1.0.0-rc.5",
- "@deepseek-ai/cordis": "4.0.4",
- "@deepseek-ai/cordis-plugin-group": "1.0.4",
- "@deepseek-ai/cordis-plugin-include": "1.0.9",
- "@deepseek-ai/dsh-agent": "0.2.0-rc.2",
- "@deepseek-ai/dsh-agent-loop": "0.2.0-rc.2",
- "@deepseek-ai/dsh-attachment": "0.2.0-rc.2",
- "@deepseek-ai/dsh-client-locale": "0.2.0-rc.2",
- "@deepseek-ai/dsh-client-store": "0.2.0-rc.2",
- "@deepseek-ai/dsh-client-ui-conversation": "0.2.0-rc.2",
- "@deepseek-ai/dsh-client-ui-primitives": "0.2.0-rc.2",
- "@deepseek-ai/dsh-client-ui-settings": "0.2.0-rc.2",
- "@deepseek-ai/dsh-client-ui-sidebar-right": "0.2.0-rc.2",
- "@deepseek-ai/dsh-client-ui-slots": "0.2.0-rc.2",
- "@deepseek-ai/dsh-host-webserver": "0.2.0-rc.2",
- "@deepseek-ai/dsh-invariants": "0.2.0-rc.2",
- "@deepseek-ai/dsh-llm": "0.2.0-rc.2",
- "@deepseek-ai/dsh-ptc-runtime": "0.2.0-rc.2",
- "@deepseek-ai/dsh-sandbox": "0.2.0-rc.2",
- "@deepseek-ai/dsh-sandbox-policy": "0.2.0-rc.2",
- "@deepseek-ai/dsh-scope": "0.2.0-rc.2",
- "@deepseek-ai/dsh-session": "0.2.0-rc.2",
- "@deepseek-ai/dsh-session-persistence": "0.2.0-rc.2",
- "@deepseek-ai/dsh-session-projection": "0.2.0-rc.2",
- "@deepseek-ai/dsh-settings": "0.2.0-rc.2",
- "@deepseek-ai/dsh-subagent": "0.2.0-rc.2",
- "@deepseek-ai/dsh-system-prompt": "0.2.0-rc.2",
- "@deepseek-ai/dsh-tools": "0.2.0-rc.2",
- "@deepseek-ai/dsh-user-approval": "0.2.0-rc.2",
- "@deepseek-ai/dsh-util-code-language": "0.2.0-rc.2",
- "@deepseek-ai/dsh-util-time": "0.2.0-rc.2",
- "@deepseek-ai/dsh-util-workspace-path": "0.2.0-rc.2",
+ "@deepseek-ai/cordis": "4.0.5",
+ "@deepseek-ai/cordis-plugin-group": "1.0.5-alpha.2",
+ "@deepseek-ai/cordis-plugin-include": "1.0.10",
+ "@deepseek-ai/dsh-agent": "0.2.1-alpha.5",
+ "@deepseek-ai/dsh-agent-loop": "0.2.1-alpha.5",
+ "@deepseek-ai/dsh-attachment": "0.2.1-alpha.5",
+ "@deepseek-ai/dsh-client-locale": "0.2.1-alpha.5",
+ "@deepseek-ai/dsh-client-store": "0.2.1-alpha.5",
+ "@deepseek-ai/dsh-client-ui-conversation": "0.2.1-alpha.5",
+ "@deepseek-ai/dsh-client-ui-primitives": "0.2.1-alpha.5",
+ "@deepseek-ai/dsh-client-ui-settings": "0.2.1-alpha.5",
+ "@deepseek-ai/dsh-client-ui-sidebar-right": "0.2.1-alpha.5",
+ "@deepseek-ai/dsh-client-ui-slots": "0.2.1-alpha.5",
+ "@deepseek-ai/dsh-host-webserver": "0.2.1-alpha.5",
+ "@deepseek-ai/dsh-llm": "0.2.1-alpha.5",
+ "@deepseek-ai/dsh-ptc-runtime": "0.2.1-alpha.5",
+ "@deepseek-ai/dsh-sandbox": "0.2.1-alpha.5",
+ "@deepseek-ai/dsh-sandbox-policy": "0.2.1-alpha.5",
+ "@deepseek-ai/dsh-scope": "0.2.1-alpha.5",
+ "@deepseek-ai/dsh-session": "0.2.1-alpha.5",
+ "@deepseek-ai/dsh-session-persistence": "0.2.1-alpha.5",
+ "@deepseek-ai/dsh-session-projection": "0.2.1-alpha.5",
+ "@deepseek-ai/dsh-settings": "0.2.1-alpha.5",
+ "@deepseek-ai/dsh-subagent": "0.2.1-alpha.5",
+ "@deepseek-ai/dsh-system-prompt": "0.2.1-alpha.5",
+ "@deepseek-ai/dsh-tools": "0.2.1-alpha.5",
+ "@deepseek-ai/dsh-user-approval": "0.2.1-alpha.5",
+ "@deepseek-ai/dsh-util-code-language": "0.2.1-alpha.5",
+ "@deepseek-ai/dsh-util-time": "0.2.1-alpha.5",
+ "@deepseek-ai/dsh-util-workspace-path": "0.2.1-alpha.5",
+ "@deepseek-ai/dsh-working-directory": "0.2.1-alpha.5",
"@eslint/js": "^10.0.1",
"@huanlin/dsh-plugin-better-locale": "^0.1.0",
"@playwright/test": "^1.62.1",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 6d7fd3cd..81b144d2 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -72,8 +72,8 @@ importers:
specifier: ^6.43.8
version: 6.43.9
'@deepseek-ai/schemastery':
- specifier: ^3.18.4
- version: 3.18.4
+ specifier: ~3.18.5-alpha.2
+ version: 3.18.5
'@formkit/auto-animate':
specifier: ^0.10.0
version: 0.10.0
@@ -110,106 +110,106 @@ importers:
devDependencies:
'@cordisjs/plugin-loader':
specifier: ^1.0.0-rc.5
- version: 1.0.0-rc.5(cordis@4.0.0-rc.8)(node-addon-require-builtin@0.1.6)
+ version: 1.0.0-rc.5(cordis@4.0.0-rc.8)(node-addon-require-builtin@0.1.9)
'@deepseek-ai/cordis':
- specifier: 4.0.4
- version: 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
+ specifier: 4.0.5
+ version: 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
'@deepseek-ai/cordis-plugin-group':
- specifier: 1.0.4
- version: 1.0.4(@deepseek-ai/cordis-plugin-loader@1.0.5)(@deepseek-ai/cordis@4.0.4)
+ specifier: 1.0.5-alpha.2
+ version: 1.0.5-alpha.2(@deepseek-ai/cordis-plugin-loader@1.0.6)(@deepseek-ai/cordis@4.0.5)
'@deepseek-ai/cordis-plugin-include':
- specifier: 1.0.9
- version: 1.0.9(@deepseek-ai/cordis-plugin-loader@1.0.5)(@deepseek-ai/cordis@4.0.4)
+ specifier: 1.0.10
+ version: 1.0.10(@deepseek-ai/cordis-plugin-loader@1.0.6)(@deepseek-ai/cordis@4.0.5)
'@deepseek-ai/dsh-agent':
- specifier: 0.2.0-rc.2
- version: 0.2.0-rc.2(b872d4d836bb263e5b3a50782f98c977)
+ specifier: 0.2.1-alpha.5
+ version: 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-session-projection@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))))(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))(@deepseek-ai/dsh-system-prompt@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))(@deepseek-ai/dsh-typert-protocol@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-util-values@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
'@deepseek-ai/dsh-agent-loop':
- specifier: 0.2.0-rc.2
- version: 0.2.0-rc.2(c47258f3b7a14cf357cbffd5a60d7454)
+ specifier: 0.2.1-alpha.5
+ version: 0.2.1-alpha.5(6f096d4a2b19285aeba2fd7ab3158d90)
'@deepseek-ai/dsh-attachment':
- specifier: 0.2.0-rc.2
- version: 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-brand@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))
+ specifier: 0.2.1-alpha.5
+ version: 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-brand@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
'@deepseek-ai/dsh-client-locale':
- specifier: 0.2.0-rc.2
- version: 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
+ specifier: 0.2.1-alpha.5
+ version: 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
'@deepseek-ai/dsh-client-store':
- specifier: 0.2.0-rc.2
- version: 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
+ specifier: 0.2.1-alpha.5
+ version: 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
'@deepseek-ai/dsh-client-ui-conversation':
- specifier: 0.2.0-rc.2
- version: 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
+ specifier: 0.2.1-alpha.5
+ version: 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
'@deepseek-ai/dsh-client-ui-primitives':
- specifier: 0.2.0-rc.2
- version: 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
+ specifier: 0.2.1-alpha.5
+ version: 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
'@deepseek-ai/dsh-client-ui-settings':
- specifier: 0.2.0-rc.2
- version: 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
+ specifier: 0.2.1-alpha.5
+ version: 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
'@deepseek-ai/dsh-client-ui-sidebar-right':
- specifier: 0.2.0-rc.2
- version: 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
+ specifier: 0.2.1-alpha.5
+ version: 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
'@deepseek-ai/dsh-client-ui-slots':
- specifier: 0.2.0-rc.2
- version: 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
+ specifier: 0.2.1-alpha.5
+ version: 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
'@deepseek-ai/dsh-host-webserver':
- specifier: 0.2.0-rc.2
- version: 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-invariants':
- specifier: 0.2.0-rc.2
- version: 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
+ specifier: 0.2.1-alpha.5
+ version: 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
'@deepseek-ai/dsh-llm':
- specifier: 0.2.0-rc.2
- version: 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
+ specifier: 0.2.1-alpha.5
+ version: 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
'@deepseek-ai/dsh-ptc-runtime':
- specifier: 0.2.0-rc.2
- version: 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-sandbox@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-llm@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-session@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)))))
+ specifier: 0.2.1-alpha.5
+ version: 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-sandbox@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))))
'@deepseek-ai/dsh-sandbox':
- specifier: 0.2.0-rc.2
- version: 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-llm@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-session@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))))
+ specifier: 0.2.1-alpha.5
+ version: 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))
'@deepseek-ai/dsh-sandbox-policy':
- specifier: 0.2.0-rc.2
- version: 0.2.0-rc.2(86f6fd7d6eb5d5ef0468bcbf88da8d4d)
+ specifier: 0.2.1-alpha.5
+ version: 0.2.1-alpha.5(7e8b18dd4468323d90db0d3100c4feea)
'@deepseek-ai/dsh-scope':
- specifier: 0.2.0-rc.2
- version: 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))
+ specifier: 0.2.1-alpha.5
+ version: 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
'@deepseek-ai/dsh-session':
- specifier: 0.2.0-rc.2
- version: 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)))
+ specifier: 0.2.1-alpha.5
+ version: 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
'@deepseek-ai/dsh-session-persistence':
- specifier: 0.2.0-rc.2
- version: 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-brand@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-session@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))))(@deepseek-ai/dsh-timeout@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))
+ specifier: 0.2.1-alpha.5
+ version: 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-brand@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))(@deepseek-ai/dsh-timeout@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
'@deepseek-ai/dsh-session-projection':
- specifier: 0.2.0-rc.2
- version: 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-session@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))))
+ specifier: 0.2.1-alpha.5
+ version: 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))
'@deepseek-ai/dsh-settings':
- specifier: 0.2.0-rc.2
- version: 0.2.0-rc.2(cf472db12c7a30b750f93070b7128298)
+ specifier: 0.2.1-alpha.5
+ version: 0.2.1-alpha.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-app-boot@0.2.1-alpha.5(@deepseek-ai/cordis-plugin-group@1.0.5-alpha.2(@deepseek-ai/cordis-plugin-loader@1.0.6)(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-home-paths@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-launch-environment@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))(@deepseek-ai/dsh-brand@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))(@deepseek-ai/schemastery@3.18.5)(node-addon-require-builtin@0.1.9)
'@deepseek-ai/dsh-subagent':
- specifier: 0.2.0-rc.2
- version: 0.2.0-rc.2(5b83b5bd501ad363dbcf5ae708eaabce)
+ specifier: 0.2.1-alpha.5
+ version: 0.2.1-alpha.5(1d40ffef8ee4b0ccdd028083d78f4ed1)
'@deepseek-ai/dsh-system-prompt':
- specifier: 0.2.0-rc.2
- version: 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-llm@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)))
+ specifier: 0.2.1-alpha.5
+ version: 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
'@deepseek-ai/dsh-tools':
- specifier: 0.2.0-rc.2
- version: 0.2.0-rc.2(c6e351a6a6cfd1c2a664558bffcd410d)
+ specifier: 0.2.1-alpha.5
+ version: 0.2.1-alpha.5(105de7c2e436ac2ca43e2c126f1d1c57)
'@deepseek-ai/dsh-user-approval':
- specifier: 0.2.0-rc.2
- version: 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-agent@0.2.0-rc.2(b872d4d836bb263e5b3a50782f98c977))(@deepseek-ai/dsh-brand@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-llm@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)))(@deepseek-ai/dsh-session@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))))(@deepseek-ai/dsh-system-prompt@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-llm@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))))
+ specifier: 0.2.1-alpha.5
+ version: 0.2.1-alpha.5(8323edf548205bd5fbadbabf208496dc)
'@deepseek-ai/dsh-util-code-language':
- specifier: 0.2.0-rc.2
- version: 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
+ specifier: 0.2.1-alpha.5
+ version: 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
'@deepseek-ai/dsh-util-time':
- specifier: 0.2.0-rc.2
- version: 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
+ specifier: 0.2.1-alpha.5
+ version: 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
'@deepseek-ai/dsh-util-workspace-path':
- specifier: 0.2.0-rc.2
- version: 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
+ specifier: 0.2.1-alpha.5
+ version: 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-working-directory':
+ specifier: 0.2.1-alpha.5
+ version: 0.2.1-alpha.5(2551dab2fffb86044e83a3eb9a2cd246)
'@eslint/js':
specifier: ^10.0.1
version: 10.0.1(eslint@10.9.1)
'@huanlin/dsh-plugin-better-locale':
specifier: ^0.1.0
- version: 0.1.0(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-client-locale@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-client-ui-primitives@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-client-ui-settings@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-client-ui-slots@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)
+ version: 0.1.0(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-client-locale@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-client-ui-primitives@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-client-ui-settings@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-client-ui-slots@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)
'@playwright/test':
specifier: ^1.62.1
version: 1.62.1
@@ -539,271 +539,264 @@ packages:
resolution: {integrity: sha512-QxULHAm7cNu72w97JUNCBFODFaXpbDg+dP8b/oWFAZ2MTRppA3U00Y2L1HqaS4J6yBqxwa/Y3nMBaxVKbB/NsA==}
engines: {node: '>=20.19.0'}
- '@deepseek-ai/cordis-plugin-group@1.0.4':
- resolution: {integrity: sha512-/7tuY5pMQetHava4v6QUeOa4CwZA+mleNvbIoj+iqEmzkYUtlXbLqhzJIcbnDa/Hxgr1jaCwROrI77nuLyeCFg==}
+ '@deepseek-ai/cordis-plugin-group@1.0.5-alpha.2':
+ resolution: {integrity: sha512-tcaqkeddocVTaRjBxNWcaiY3NHG7PbexjbvpPVPSHgX1/dpt9XMjS1hVArbsE5SHd7RBZIzta7e5R+rzzidY6w==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
- '@deepseek-ai/cordis-plugin-loader': ~1.0.5
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
+ '@deepseek-ai/cordis-plugin-loader': ~1.0.6-alpha.2
- '@deepseek-ai/cordis-plugin-include@1.0.9':
- resolution: {integrity: sha512-Xmekm7u5Kpeym6nABL4T1/Mg6aQYFZxsipB0WycmCctvX1DqAv8nCFwRmg2XMx/f7EbZgNEbXQwJfabcMu8zxQ==}
+ '@deepseek-ai/cordis-plugin-include@1.0.10':
+ resolution: {integrity: sha512-Rdo6Uqf9WfDbfN3dsYkYj/EW+SGuWCSfthz1PoOtZYUr6qrRpqD7ND4Gj3nUYj8XhSGIo8E3xpsck6J5nM5BYQ==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
- '@deepseek-ai/cordis-plugin-loader': ~1.0.5
+ '@deepseek-ai/cordis': ~4.0.5
+ '@deepseek-ai/cordis-plugin-loader': ~1.0.6
- '@deepseek-ai/cordis-plugin-loader@1.0.5':
- resolution: {integrity: sha512-200huL2ttWcjyeYllvPYn+qMR7I89qy8MhZasbHltPzB/KMrSfsyoCYKdCGc5KqPGj5iJugcmibQzjINMO9I+Q==}
+ '@deepseek-ai/cordis-plugin-loader@1.0.6':
+ resolution: {integrity: sha512-fr011A782oEjkJXCY4pePt2qaPpkGvem7Rmst6Rhwgg6icgwI4eN9QBRb6S/q9XOYGVQUdvL0wXUWyNxO8WipA==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
- node-addon-require-builtin: ^0.1.6
+ '@deepseek-ai/cordis': ~4.0.5
+ node-addon-require-builtin: ^0.1.9
peerDependenciesMeta:
node-addon-require-builtin:
optional: true
- '@deepseek-ai/cordis@4.0.4':
- resolution: {integrity: sha512-obgyxqWAmFn3Re8kvsuUnyW+ihrz6eJCnJO4fh1cQzDtmPYz/zzVeUkH9R94I0OwSVOocK67Kgakm04j/oQXzg==}
+ '@deepseek-ai/cordis@4.0.5':
+ resolution: {integrity: sha512-Sktq5axy0owk9PdnivBRNOJjHEVEibCt0+TDDZcv0+UH2KS1M910fX4kn5y45YFsrpZIi1mJf/1s5VzywMUnyg==}
hasBin: true
peerDependencies:
- '@deepseek-ai/cordis-plugin-include': ~1.0.9
- '@deepseek-ai/cordis-plugin-loader': ~1.0.5
+ '@deepseek-ai/cordis-plugin-include': ~1.0.10
+ '@deepseek-ai/cordis-plugin-loader': ~1.0.6
peerDependenciesMeta:
'@deepseek-ai/cordis-plugin-include':
optional: true
'@deepseek-ai/cordis-plugin-loader':
optional: true
- '@deepseek-ai/cosmokit@1.8.5':
- resolution: {integrity: sha512-LXsrlem9z8dq4sLflj2yuCuYX7KqhdzF5hZly3eZyuTo8d6oDSOXuEgC5DbQWKW+lksm6zmOutQLsP/ma6wR6A==}
+ '@deepseek-ai/cosmokit@1.8.6':
+ resolution: {integrity: sha512-ZSD/fN52L498LBIOYwjIOlaLv5veY6ZEwI2yzvZUKQtctn0QAPqu8tKdJ+OF5+Tv6NBq1U+wJWH+QI6OGy5EvQ==}
- '@deepseek-ai/dsh-agent-loop@0.2.0-rc.2':
- resolution: {integrity: sha512-Ayi1L7s1LIJAq3iCCRFDCGM9Y2lriGlV6nblIYXhKrq+J8bUFQtOdfBYNE1N39WcYb3CwSvTNHDtzZ4oW6MZ6A==}
+ '@deepseek-ai/dsh-agent-loop@0.2.1-alpha.5':
+ resolution: {integrity: sha512-0uhpsPxaThUf/pgjogK/4VC7cHsqsAQKzXC2NRfGf+1+YHW/bI7bgvnN3yndlYos/Z0movwA2RDL1TL2m+LYFA==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
- '@deepseek-ai/dsh-agent': 0.2.0-rc.2
- '@deepseek-ai/dsh-invariants': 0.2.0-rc.2
- '@deepseek-ai/dsh-llm': 0.2.0-rc.2
- '@deepseek-ai/dsh-scope': 0.2.0-rc.2
- '@deepseek-ai/dsh-session': 0.2.0-rc.2
- '@deepseek-ai/dsh-session-persistence': 0.2.0-rc.2
- '@deepseek-ai/dsh-session-projection': 0.2.0-rc.2
- '@deepseek-ai/dsh-system-prompt': 0.2.0-rc.2
- '@deepseek-ai/dsh-tools': 0.2.0-rc.2
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
+ '@deepseek-ai/dsh-agent': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-llm': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-scope': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-session': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-session-persistence': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-session-projection': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-system-prompt': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-tools': 0.2.1-alpha.5
- '@deepseek-ai/dsh-agent@0.2.0-rc.2':
- resolution: {integrity: sha512-CUkbU+c1G0ETXkpoLkpAFo5midz66FQGtlgQOP9pzvU9H3zJQVl4H5LrhhGVbEXKLFgdbtQiOynEW8hpWn3y0Q==}
+ '@deepseek-ai/dsh-agent@0.2.1-alpha.5':
+ resolution: {integrity: sha512-jk8Yod2L6h9B5OUAgLWIt9bM2nlu7RZrTfQOfic4wtB7XMJ/T11oxUytCaN1RK2xpnXGhozYe+E7UWhy5c5K7A==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
- '@deepseek-ai/dsh-invariants': 0.2.0-rc.2
- '@deepseek-ai/dsh-llm': 0.2.0-rc.2
- '@deepseek-ai/dsh-scope': 0.2.0-rc.2
- '@deepseek-ai/dsh-session': 0.2.0-rc.2
- '@deepseek-ai/dsh-session-projection': 0.2.0-rc.2
- '@deepseek-ai/dsh-system-prompt': 0.2.0-rc.2
- '@deepseek-ai/dsh-typert-protocol': 0.2.0-rc.2
- '@deepseek-ai/dsh-util-values': 0.2.0-rc.2
- '@deepseek-ai/dsh-workspace': 0.2.0-rc.2
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
+ '@deepseek-ai/dsh-llm': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-scope': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-session': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-session-projection': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-system-prompt': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-typert-protocol': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-util-values': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-workspace': 0.2.1-alpha.5
peerDependenciesMeta:
'@deepseek-ai/dsh-workspace':
optional: true
- '@deepseek-ai/dsh-app-boot@0.2.0-rc.2':
- resolution: {integrity: sha512-WvgNhBHSj85Z7u9vC1oQr9C7yZQ/L/JS+eVK4bueWEkaoqdEna504V5bi7qtWXxAz5JkeVZTy1sX86p8XG7LJg==}
+ '@deepseek-ai/dsh-app-boot@0.2.1-alpha.5':
+ resolution: {integrity: sha512-w95St3DeBLPs6nFBRpbTXClefGh54qpWDrdog9orN8LWP7T2lYm3i1V0ReKp2aL+H6nndpkkh1yBhg84tGxHxA==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
- '@deepseek-ai/cordis-plugin-group': ~1.0.4
- '@deepseek-ai/cordis-plugin-include': ~1.0.9
- '@deepseek-ai/cordis-plugin-loader': ~1.0.5
- '@deepseek-ai/dsh-home-paths': 0.2.0-rc.2
- '@deepseek-ai/dsh-launch-environment': 0.2.0-rc.2
- '@deepseek-ai/dsh-system-prompt': 0.2.0-rc.2
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
+ '@deepseek-ai/cordis-plugin-group': ~1.0.5-alpha.2
+ '@deepseek-ai/cordis-plugin-include': ~1.0.10-alpha.2
+ '@deepseek-ai/cordis-plugin-loader': ~1.0.6-alpha.2
+ '@deepseek-ai/dsh-home-paths': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-launch-environment': 0.2.1-alpha.5
- '@deepseek-ai/dsh-atomic-write@0.2.0-rc.2':
- resolution: {integrity: sha512-CezxdPmADDnOyG/ed9R18In/NifnLgu8hfJEjTBKxd7kbu0XXenyqnk25jeWD6bJYwu8AWAwcpVFuf438EJPJA==}
+ '@deepseek-ai/dsh-atomic-write@0.2.1-alpha.5':
+ resolution: {integrity: sha512-g2aOASn28arEI339fSjWSTE8Yef2FXMN6UdmeIf8XT75sdfV7FGHEz93J69B9n+SvpMhR5LSPoeLYvNjB21UBQ==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
- '@deepseek-ai/dsh-attachment@0.2.0-rc.2':
- resolution: {integrity: sha512-asUDLv+mfb30vjjlQtMI9aBnC+kmPoUxS1ooadhwAd8wssIlLetq97nzC5W1qd0GQGwZtPG/gpljVAMcSwPr1g==}
+ '@deepseek-ai/dsh-attachment@0.2.1-alpha.5':
+ resolution: {integrity: sha512-VKtULJAMMoS+t/nK8dWz9KjXouC0arFL56U65HF+pwWZbtt/nPAQphI37xjAm4hdbfkdZSUXPOeybFu7k1VtMw==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
- '@deepseek-ai/dsh-brand': 0.2.0-rc.2
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
+ '@deepseek-ai/dsh-brand': 0.2.1-alpha.5
- '@deepseek-ai/dsh-brand@0.2.0-rc.2':
- resolution: {integrity: sha512-A5XlN4tIgP0qObkYFhcZ7Oz/tM2oESEZqLwS0Qq+sM1ivGx6o4AMPgJdfKQlwLzqk0cMLNtAaVBHfiYoElt4lw==}
+ '@deepseek-ai/dsh-brand@0.2.1-alpha.5':
+ resolution: {integrity: sha512-BfOPg8MMlmbzWq4zL3f/Dlwqk3PjsIwjQVzF+uiEzFkOdXo5nPXEqP/9mso1cn7d7eTVfO0eXkCsPD1Py9AoJQ==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
- '@deepseek-ai/dsh-chunked-list@0.2.0-rc.2':
- resolution: {integrity: sha512-3KJhtGoWL39UIY6dyQ/FNuwRssPzxf3Abe6BuYdGwEh8FJcEG1JgSFIltKL+mfhbp4idV3cF7EnTVutGlurMDw==}
+ '@deepseek-ai/dsh-chunked-list@0.2.1-alpha.5':
+ resolution: {integrity: sha512-B13P7zJmnCYf90oT60LgmVAqyGtN0VWFllL5sRWt7YIBQeRwOl+48V6VdC2XXkfhAnOOfrmHHheDzHhvnpyzmw==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
- '@deepseek-ai/dsh-client-locale@0.2.0-rc.2':
- resolution: {integrity: sha512-JdZPMv/8hLOQNxHk1dM6YbNbChB5S6lGaGAPtraP0670i9Tb4dX+yKOAUgkS7nSoO5TYZztXgI1kgcEregRPJA==}
+ '@deepseek-ai/dsh-client-locale@0.2.1-alpha.5':
+ resolution: {integrity: sha512-3k0IOZviWHefsfLmI3ZZbtbLyGuXeMMygCvEyTJXyedz+ZjvWyipWjOU+xXW1tkqUaJuOXKtsrpZdD0uZOMuJw==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
- '@deepseek-ai/dsh-client-store@0.2.0-rc.2':
- resolution: {integrity: sha512-unHIDNnHudDIj05W99m+dVPXLYy7qNvMJ/D5FWb7cov0CbiQvliqbvFeMAU6LzC+u3vTkVJgSMIAwAVdQgYHEA==}
+ '@deepseek-ai/dsh-client-store@0.2.1-alpha.5':
+ resolution: {integrity: sha512-6sWqY7bTbTstwdIWvYJcqPNDwmh+4IgmMIQ66EtJcdrV7KHryQ2M8Lc3EzB3VQ4yv482yEdIViRd97GaeI/nKQ==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
- '@deepseek-ai/dsh-client-ui-conversation@0.2.0-rc.2':
- resolution: {integrity: sha512-Y1eWKVeh84cbB0fcV0MFOMUHBeptlzBCzsw6xslZS7p1a8l9PeFcjx5ZVTkKFuFMCfwEHWTeV9HcYqWLYH0bhw==}
+ '@deepseek-ai/dsh-client-ui-conversation@0.2.1-alpha.5':
+ resolution: {integrity: sha512-BhA//rJmsMNuM/qdt1BkB2MC4zCV/GI1Vh2PGgkpsmfua5DcoW+ERcg9RE5d/JGTdUbHq7uT+f2QBwPkfnM8Sg==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
- '@deepseek-ai/dsh-client-ui-primitives@0.2.0-rc.2':
- resolution: {integrity: sha512-Zx/MRT8NH6rYEvPnk4FQaHrADM6Dh1PQCprieqdvKj6yFhD/CJUVjSN08suGF6FPQekfVTJtS0WxY1XbQ5Ed9Q==}
+ '@deepseek-ai/dsh-client-ui-primitives@0.2.1-alpha.5':
+ resolution: {integrity: sha512-cgkd0BPKcHY5kT0Fj8zSAG0Uin/37vyw9xJOwZQrL6xVtYXQUZWFcxWFNM5/YK7sZ7pv6mZh2hbauzIylBj5Xw==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
- '@deepseek-ai/dsh-client-ui-settings@0.2.0-rc.2':
- resolution: {integrity: sha512-Kyho8FvRGYb7Ok1t7T429d4Dj/XF8+tE/+MX6T1s41RkXCe7v0sP89i4DUMo6OeUxyE+/uGoAVa5QZXY4O/y+g==}
+ '@deepseek-ai/dsh-client-ui-settings@0.2.1-alpha.5':
+ resolution: {integrity: sha512-VBB3vqY4RAFcSqUKJwbeI9nWrk4QQe37n44EpRrXY2pDY9sIWbqmn8sf1Mb++iJ605GHknL+Wec656uUIB7r/g==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
- '@deepseek-ai/dsh-client-ui-sidebar-right@0.2.0-rc.2':
- resolution: {integrity: sha512-ocVUP6v3X7vShYeJ5I1Z3t1lDC02hJdZ49/kIRj29Xbe+BIfMY9HSDyUVUUDdijdd3jP8dpmhmbHbDJudwFUtQ==}
+ '@deepseek-ai/dsh-client-ui-sidebar-right@0.2.1-alpha.5':
+ resolution: {integrity: sha512-neEBsks/mrZIuflTGjJWp/V39zbnED3B0XMV5Fp/HTXAXr2xzg3d9R3BwIn/TKCaUR63MK79z6eZuDSdWD3dIA==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
- '@deepseek-ai/dsh-client-ui-slots@0.2.0-rc.2':
- resolution: {integrity: sha512-zfILCyG3ijHT7S8+WDXFz4RMxBJtG9A3ngtDBnqcLbD5wzKz8H7E+HC657USa6RgG13C2RGSs73sfKcSs4WtWQ==}
+ '@deepseek-ai/dsh-client-ui-slots@0.2.1-alpha.5':
+ resolution: {integrity: sha512-0cSukUOpbcfcD19DgTtJyFdWSGenF3Gwt1yJsqN7H3SaBVnsc+Dt1aUwENanotB7bRr3RW0bin46v+24cG16WA==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
- '@deepseek-ai/dsh-config-editor@0.2.0-rc.2':
- resolution: {integrity: sha512-LG/4EyMMBEwcUAsewqn9+6m9+mFeXVGaze0gaz3YOO/bCnJRI/2f4iuejsk/n+yMI9CNczOaIfWT5b3s7zyhfA==}
+ '@deepseek-ai/dsh-config-editor@0.2.1-alpha.5':
+ resolution: {integrity: sha512-CX/WHq01n7L0CW4QS1z+NtCmvgMARV9ubtDe5xnG5l8iPDv75JbVYDcwJbALwwjxIQ+RYbnaG5Z67nF4ZRUoqA==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
- '@deepseek-ai/cordis-plugin-include': ~1.0.9
- '@deepseek-ai/cordis-plugin-loader': ~1.0.5
- '@deepseek-ai/dsh-app-boot': 0.2.0-rc.2
- '@deepseek-ai/dsh-hmr': 0.2.0-rc.2
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
+ '@deepseek-ai/cordis-plugin-include': ~1.0.10-alpha.2
+ '@deepseek-ai/cordis-plugin-loader': ~1.0.6-alpha.2
+ '@deepseek-ai/dsh-app-boot': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-hmr': 0.2.1-alpha.5
peerDependenciesMeta:
'@deepseek-ai/dsh-hmr':
optional: true
- '@deepseek-ai/dsh-home-paths@0.2.0-rc.2':
- resolution: {integrity: sha512-n4O5C9pNIVWbBklB5RzSTc3kr9hmUnDlZ6Leqj3TIk+CO593DTAmDGTt0rHMQe8H+1Ur+Jqj9Hqgsug/WRkkvQ==}
+ '@deepseek-ai/dsh-fs@0.2.1-alpha.5':
+ resolution: {integrity: sha512-o6IfZ2BFdMLlvEXwjhHTg44O5DYJDSJGntMB4ShZp25g46UawA8po5y1fcaUlWXCQf/LAfAhoXMc23ZMY5GzsQ==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
+ '@deepseek-ai/dsh-brand': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-llm': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-sandbox': 0.2.1-alpha.5
- '@deepseek-ai/dsh-host-webserver@0.2.0-rc.2':
- resolution: {integrity: sha512-0zvI44emJMRr928Tfl//cPJlx/hiTGWfD1zaDlXu35eGIgOATFJlTPkJLApJvJOPVPPAlSOSdhI2L+j1TnzStw==}
+ '@deepseek-ai/dsh-home-paths@0.2.1-alpha.5':
+ resolution: {integrity: sha512-SK5YCago0XfsqxbSrsqwvYiai+TiAkCy2pm6+eDLnUCILBxqfGk/lPg0YPYT6Va8wd5oU/QdJd8laJEsKPmqBg==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
- '@deepseek-ai/dsh-invariants@0.2.0-rc.2':
- resolution: {integrity: sha512-QOVc0HpRsS8ekvprb45FlxieDvgR/cAMaxW289HASjMoV/U/B54FpbkHuPBw4EnTw07/sPkjx2B/23+YqE0cbg==}
+ '@deepseek-ai/dsh-host-webserver@0.2.1-alpha.5':
+ resolution: {integrity: sha512-bII1J93zTGJx/ZyAQw1w8imtHgar74QdHLSD/watvjoi9q2l2cPumkSQXpBa4PaNGrBqrtW3qK/5wWnADTjedA==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
- '@deepseek-ai/dsh-launch-environment@0.2.0-rc.2':
- resolution: {integrity: sha512-IyhZjJJQ7RVLcKlc4pPPjojOKrr2XCYm7VRpslFq7bvGj3DGt8WMTSCCZUWxCThY2jg6kFF1ujiTGunELfRO6Q==}
+ '@deepseek-ai/dsh-launch-environment@0.2.1-alpha.5':
+ resolution: {integrity: sha512-uQE32L2HVZyR958OLOpXHYknLaRPmPvA0wm5jRK/reJUy+LoEa9CTSDhLgqjoC8UGiSJ52FTLQNuIqol2fpF5Q==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
- '@deepseek-ai/dsh-llm@0.2.0-rc.2':
- resolution: {integrity: sha512-6QFrQn/h0iNqCfPpgQidnHtLSpA99A7ZND/uYKaGSd/4BGP8KBhuRd0w63e9s4u+hfW8jc3j29WKcNLIOeUfcA==}
+ '@deepseek-ai/dsh-llm@0.2.1-alpha.5':
+ resolution: {integrity: sha512-bb8oQ37OCkc7PTjsfnmeZtVpXuXsXTEzHd7zi/l78Qt/3mwCIA8JbHDs5+tSyOzOOEPyI32Ej7llw1/B8iiQhA==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
- '@deepseek-ai/dsh-package-manifest@0.2.0-rc.2':
- resolution: {integrity: sha512-CFycoLxUT4g4w1IGjaHi/IjTzTRgnQ2PQVeHHSWoEppD+0NTZ1rHHW3ofkh74ZgQagoeo7n+91Yjl0rDGuWE3g==}
+ '@deepseek-ai/dsh-package-manifest@0.2.1-alpha.5':
+ resolution: {integrity: sha512-R/q6oCV+HAG0JD4esS3b/++6jxUet5A0y7Ly5fNZq5U5Fih1ZEYb6ZpPHIUdxdmDwjpgQoTHwdB6C5RVzAzFVQ==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
- '@deepseek-ai/dsh-ptc-runtime@0.2.0-rc.2':
- resolution: {integrity: sha512-HR/3h1VFRcNlAAjCtCAxZ4V3F5pViYicXcLBuYLGjzXWpOhr4zKzeFKh9+UMLjsc9XWIarJMoSvxl662nDV/xQ==}
+ '@deepseek-ai/dsh-ptc-runtime@0.2.1-alpha.5':
+ resolution: {integrity: sha512-A802HRRloXWgr7GKe1tgNUk9fEWin04vT2GK1ke4ni5C5nvl/ZVdLkba13kjXR+wep8ZM9OPad0dWn1ymYosHg==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
- '@deepseek-ai/dsh-sandbox': 0.2.0-rc.2
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
+ '@deepseek-ai/dsh-sandbox': 0.2.1-alpha.5
- '@deepseek-ai/dsh-sandbox-policy@0.2.0-rc.2':
- resolution: {integrity: sha512-0xXVqWw908/V6scohMyyU9SZSiQJYji+S1hMPulcUNLb3iew89d+WPWMIkWQBJRvcJzdQ2ghHwCESRkONXTJnQ==}
+ '@deepseek-ai/dsh-sandbox-policy@0.2.1-alpha.5':
+ resolution: {integrity: sha512-i7bUHCc3R9HM1QILeVmwHqIx+obbree7vMgb617pIAbWDMdZW7IgeV2FNvUtSQiTm1QomFW+aD4KXVrUb6FI2A==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
- '@deepseek-ai/dsh-agent': 0.2.0-rc.2
- '@deepseek-ai/dsh-invariants': 0.2.0-rc.2
- '@deepseek-ai/dsh-sandbox': 0.2.0-rc.2
- '@deepseek-ai/dsh-session': 0.2.0-rc.2
- '@deepseek-ai/dsh-session-projection': 0.2.0-rc.2
- '@deepseek-ai/dsh-system-prompt': 0.2.0-rc.2
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
+ '@deepseek-ai/dsh-agent': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-sandbox': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-session': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-session-projection': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-system-prompt': 0.2.1-alpha.5
- '@deepseek-ai/dsh-sandbox@0.2.0-rc.2':
- resolution: {integrity: sha512-luKF7ey6HRZkGhImqLCB5Npt4f4omDRk1r+x5qQNqqdNOuN9LXciKDMNPfnSbHfKCcqSZbH3sK+APOmKzRAhVA==}
+ '@deepseek-ai/dsh-sandbox@0.2.1-alpha.5':
+ resolution: {integrity: sha512-D8J5pua766fJO9C4PspRjahB0E70Vb6Czx/8hyd6Dd3ozmlIvkYj+S+iQWHdc0LuORUqJV4F90taCqWlovzxLw==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
- '@deepseek-ai/dsh-llm': 0.2.0-rc.2
- '@deepseek-ai/dsh-session': 0.2.0-rc.2
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
+ '@deepseek-ai/dsh-llm': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-session': 0.2.1-alpha.5
- '@deepseek-ai/dsh-scope@0.2.0-rc.2':
- resolution: {integrity: sha512-066p7Wv74GNWt4xA5Cyvl+7c/i9KrNEDALYh2/hu0VsJPLb4T9He+TY7y1bld9OgungmqyTy1n/cB2ZrVskvxA==}
+ '@deepseek-ai/dsh-scope@0.2.1-alpha.5':
+ resolution: {integrity: sha512-zHmy+rqqvg/m7YNDAUkXxayC5sh5rbTQOo9Kv4qum4LFBTET9caLVMemrpxyE+edd3TX1BfxQ3ut3nrjBwhqpg==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
- '@deepseek-ai/dsh-invariants': 0.2.0-rc.2
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
- '@deepseek-ai/dsh-session-persistence@0.2.0-rc.2':
- resolution: {integrity: sha512-2OoRHZYWi5Vy0+1bPU37Y/NTh6uQiZ3VdpvDmW1oCgsapQr2JS/Lbody1gXOMJ1KXglCSLmePgTMC00uKw/UIg==}
+ '@deepseek-ai/dsh-session-persistence@0.2.1-alpha.5':
+ resolution: {integrity: sha512-3NCIQJ3mzFPPLfezg9FH/Bhgex/pkX4tzbBGow8C8Y3mo6/qS9v1kwAw68bMHB9FSEfO5HqRfkHPwu5cgUv+JQ==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
- '@deepseek-ai/dsh-brand': 0.2.0-rc.2
- '@deepseek-ai/dsh-session': 0.2.0-rc.2
- '@deepseek-ai/dsh-timeout': 0.2.0-rc.2
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
+ '@deepseek-ai/dsh-brand': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-session': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-timeout': 0.2.1-alpha.5
- '@deepseek-ai/dsh-session-projection@0.2.0-rc.2':
- resolution: {integrity: sha512-caJ+XGjmR8ouws0LrvuXrabrzi21akB2l8CniUHdx4IpT6GkLapFYlWLbjZlDYqEWB3ktR+q32nxW2s+f27GSA==}
+ '@deepseek-ai/dsh-session-projection@0.2.1-alpha.5':
+ resolution: {integrity: sha512-yPYE7bQskUiFlhh/eQfVkJBREcClo7j5EWcmLy354v8YuR2xCg6Y2LO+sTKZZ6F+6GKXGmaZKZDneWAavIRDBQ==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
- '@deepseek-ai/dsh-session': 0.2.0-rc.2
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
+ '@deepseek-ai/dsh-session': 0.2.1-alpha.5
- '@deepseek-ai/dsh-session@0.2.0-rc.2':
- resolution: {integrity: sha512-wj+6MeqCYbDcbEvKH3puHyEGdjyu51JwBoN6Ua2tz6griLufDgLM5HpSU40L5xgpbOfrYVhXZs4vRgOrMlFY2g==}
+ '@deepseek-ai/dsh-session@0.2.1-alpha.5':
+ resolution: {integrity: sha512-ATXy590TD6uY8Ih3rt6jCZ9d+JctY1hR5IUdVa8Wpj5vu0Sutv/BQB5JizoIpr5fo1HBf5PICLRZ+DbChbZhhQ==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
- '@deepseek-ai/dsh-scope': 0.2.0-rc.2
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
+ '@deepseek-ai/dsh-scope': 0.2.1-alpha.5
- '@deepseek-ai/dsh-settings@0.2.0-rc.2':
- resolution: {integrity: sha512-Py4ZbCyady6st+h8wlsPJxrAOg9VrT1+tltymnJUiAmdnZjMADZKWec9JrB2KwUuo27R+IbibxzaYQOvnZdUkg==}
+ '@deepseek-ai/dsh-settings@0.2.1-alpha.5':
+ resolution: {integrity: sha512-wzI8S3sZDrEm/rIYzgNE8R19kIVpNZ+pCElZVn3mu1ULNz3dkmrJ62a/alXdHHo6GnFPtsBRUKON3ZkDWNs0ag==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
- '@deepseek-ai/dsh-brand': 0.2.0-rc.2
- '@deepseek-ai/dsh-invariants': 0.2.0-rc.2
- '@deepseek-ai/dsh-session': 0.2.0-rc.2
- '@deepseek-ai/schemastery': ~3.18.4
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
+ '@deepseek-ai/dsh-brand': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-session': 0.2.1-alpha.5
+ '@deepseek-ai/schemastery': ~3.18.5-alpha.2
- '@deepseek-ai/dsh-subagent@0.2.0-rc.2':
- resolution: {integrity: sha512-33izf4xhq03RzolYUjv223tKmeOBl8fMnvnRN15zZB3GWfNRcBTVUUxuu99rCN8TSRRt5A5ABTwYbObb1Isjqw==}
+ '@deepseek-ai/dsh-subagent@0.2.1-alpha.5':
+ resolution: {integrity: sha512-4yfog/RMLqXuUYHu3IpNalchtUNN5moEjLIScatYgu3sUphBBryuE/xe2TDs1R4Io9TE9zGeER5S/ryNLmtnlg==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
- '@deepseek-ai/dsh-agent': 0.2.0-rc.2
- '@deepseek-ai/dsh-agent-preset-registry': 0.2.0-rc.2
- '@deepseek-ai/dsh-attachment': 0.2.0-rc.2
- '@deepseek-ai/dsh-invariants': 0.2.0-rc.2
- '@deepseek-ai/dsh-jobs': 0.2.0-rc.2
- '@deepseek-ai/dsh-llm': 0.2.0-rc.2
- '@deepseek-ai/dsh-permission-presets': 0.2.0-rc.2
- '@deepseek-ai/dsh-sandbox': 0.2.0-rc.2
- '@deepseek-ai/dsh-sandbox-policy': 0.2.0-rc.2
- '@deepseek-ai/dsh-scope': 0.2.0-rc.2
- '@deepseek-ai/dsh-session': 0.2.0-rc.2
- '@deepseek-ai/dsh-session-persistence': 0.2.0-rc.2
- '@deepseek-ai/dsh-session-projection': 0.2.0-rc.2
- '@deepseek-ai/dsh-session-query': 0.2.0-rc.2
- '@deepseek-ai/dsh-settings': '*'
- '@deepseek-ai/dsh-system-prompt': 0.2.0-rc.2
- '@deepseek-ai/dsh-tools': 0.2.0-rc.2
- '@deepseek-ai/dsh-typert-protocol': 0.2.0-rc.2
- '@deepseek-ai/dsh-user-approval': 0.2.0-rc.2
- '@deepseek-ai/dsh-util-time': 0.2.0-rc.2
- '@deepseek-ai/dsh-workspace': 0.2.0-rc.2
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
+ '@deepseek-ai/dsh-agent': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-agent-preset-registry': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-attachment': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-llm': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-permission-presets': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-sandbox': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-sandbox-policy': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-scope': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-session': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-session-persistence': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-session-projection': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-session-query': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-system-prompt': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-tools': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-typert-protocol': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-user-approval': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-util-time': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-working-directory': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-workspace': 0.2.1-alpha.5
peerDependenciesMeta:
'@deepseek-ai/dsh-agent-preset-registry':
optional: true
- '@deepseek-ai/dsh-jobs':
- optional: true
'@deepseek-ai/dsh-permission-presets':
optional: true
'@deepseek-ai/dsh-sandbox':
@@ -816,85 +809,92 @@ packages:
optional: true
'@deepseek-ai/dsh-session-query':
optional: true
- '@deepseek-ai/dsh-settings':
- optional: true
'@deepseek-ai/dsh-user-approval':
optional: true
'@deepseek-ai/dsh-workspace':
optional: true
- '@deepseek-ai/dsh-system-prompt@0.2.0-rc.2':
- resolution: {integrity: sha512-ZZNk2gkXFV8CIT0IOZXS+pFaxNVJaRknYyH2vc4ZgZAiHKT+RqUYNr8e1F5Kp0AaN0DNlcTkjOGP5MCxeXfDjg==}
+ '@deepseek-ai/dsh-system-prompt@0.2.1-alpha.5':
+ resolution: {integrity: sha512-n/lELMhoPs3HmpMGZ/shHG1yFAj6UWLIpZTnZwGxQjMZSKXhrLuZYw1B4P+DP73KDzDrTYL6A8hheubyIzyPfQ==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
- '@deepseek-ai/dsh-invariants': 0.2.0-rc.2
- '@deepseek-ai/dsh-llm': 0.2.0-rc.2
- '@deepseek-ai/dsh-scope': 0.2.0-rc.2
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
+ '@deepseek-ai/dsh-llm': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-scope': 0.2.1-alpha.5
- '@deepseek-ai/dsh-timeout@0.2.0-rc.2':
- resolution: {integrity: sha512-NDob8b8DJDB/sDPz3P7xhrkxOh1O9FbN1EZRKsxP4fuTfp4hrQU7aekYS5qZENFKoR8dBJMTh/zcEBw4m31glQ==}
+ '@deepseek-ai/dsh-timeout@0.2.1-alpha.5':
+ resolution: {integrity: sha512-oNJ7cpT9XWsk0sSmdEx32kJ2G5Vu8CbPxxjr9gkR/cfVbq8Z0AOWsgM3nipZ/Pt1E8RvlSBMU23JetbK8R2qkg==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
- '@deepseek-ai/dsh-tools@0.2.0-rc.2':
- resolution: {integrity: sha512-vquUz8PjHWE4zaS3wH70IpYjL441p2UlUcG8TN2yJZN1RhDkuiHum4bWCsjEPyWLS/aB1QJvzdXC2EK/PRkbsQ==}
+ '@deepseek-ai/dsh-tools@0.2.1-alpha.5':
+ resolution: {integrity: sha512-ISTbD4ChSb20KJzJ8zVKRjKa6SB0TIFh1z/H580hkKOfhAe0hCr4UGxk8Ea7uMJY96fwIvGeRdlJt6Xswdr2rA==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
- '@deepseek-ai/dsh-agent': 0.2.0-rc.2
- '@deepseek-ai/dsh-invariants': 0.2.0-rc.2
- '@deepseek-ai/dsh-llm': 0.2.0-rc.2
- '@deepseek-ai/dsh-ptc-runtime': 0.2.0-rc.2
- '@deepseek-ai/dsh-sandbox': 0.2.0-rc.2
- '@deepseek-ai/dsh-sandbox-policy': 0.2.0-rc.2
- '@deepseek-ai/dsh-scope': 0.2.0-rc.2
- '@deepseek-ai/dsh-session': 0.2.0-rc.2
- '@deepseek-ai/dsh-system-prompt': 0.2.0-rc.2
- '@deepseek-ai/dsh-user-approval': 0.2.0-rc.2
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
+ '@deepseek-ai/dsh-agent': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-llm': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-ptc-runtime': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-sandbox': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-sandbox-policy': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-scope': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-session': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-system-prompt': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-user-approval': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-working-directory': 0.2.1-alpha.5
- '@deepseek-ai/dsh-typert-protocol@0.2.0-rc.2':
- resolution: {integrity: sha512-95RvIDcVac2BWdv1IxN6yKlRV+8eEvkofqSxV+d0r8x1kx2EIWEsbdxz6C+coYIm+8e03MiN+rwOt8J7sLfe7Q==}
+ '@deepseek-ai/dsh-typert-protocol@0.2.1-alpha.5':
+ resolution: {integrity: sha512-WkVbS2x9gsWkxwxMe72DxJKwMeOaapif0pyCC6PE82qUKvcNqpsWrLQZMEwxxikdW3MJGYOTBfeqizQq/qvX5w==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
- '@deepseek-ai/dsh-user-approval@0.2.0-rc.2':
- resolution: {integrity: sha512-fZMfDp4IeWZMwAKEQkuAYCiGRrwoVWNObvAbpdmQNUavjfYCtwwduWqYQz+5lMQq8vENdczBj7cxnO/pOQ1oZQ==}
+ '@deepseek-ai/dsh-user-approval@0.2.1-alpha.5':
+ resolution: {integrity: sha512-VexyjKxzK80rFe9VPgeGBjb7/taI8n0ffffH/ylIXMbyYZ0AHbCj6gM1nwYJr0oPlj3qOcCFHsnLF6M8e3UI0g==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
- '@deepseek-ai/dsh-agent': 0.2.0-rc.2
- '@deepseek-ai/dsh-brand': 0.2.0-rc.2
- '@deepseek-ai/dsh-invariants': 0.2.0-rc.2
- '@deepseek-ai/dsh-llm': 0.2.0-rc.2
- '@deepseek-ai/dsh-scope': 0.2.0-rc.2
- '@deepseek-ai/dsh-session': 0.2.0-rc.2
- '@deepseek-ai/dsh-system-prompt': 0.2.0-rc.2
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
+ '@deepseek-ai/dsh-agent': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-brand': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-llm': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-scope': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-session': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-system-prompt': 0.2.1-alpha.5
- '@deepseek-ai/dsh-util-code-language@0.2.0-rc.2':
- resolution: {integrity: sha512-MYp8KlKWKgwxRfwwMbji4zweDZxVJ1smaneMAKjJvexDc9v+C40o1pJL5Ch/atny8a7O4aiBM1uSvC4bo7/S3g==}
+ '@deepseek-ai/dsh-util-code-language@0.2.1-alpha.5':
+ resolution: {integrity: sha512-XYdwIulCSQevkkBdNBz0M+ZFegAbNZ1WCQ2RoHO2gb4blkmgkTgIUVPB9qEha+P5YUsI7y6Nk2KcsWUfoxDy5Q==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
- '@deepseek-ai/dsh-util-crypto@0.2.0-rc.2':
- resolution: {integrity: sha512-5OvvmepY69uXTagUMlnoHqg7euI4ZMifLgfdV8xZO20OslWGGiRCkJbZRyDtcJG9GsXWz9UimfWmUu52zKXJ5w==}
+ '@deepseek-ai/dsh-util-crypto@0.2.1-alpha.5':
+ resolution: {integrity: sha512-22att1gQVYqLN1fRYym8OIIMSR1eQPlGpvA48a4ycilI2ccvvGBFHZqfh/KnARJfOumYld3CuDUIBlTFkj0jcg==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
- '@deepseek-ai/dsh-util-time@0.2.0-rc.2':
- resolution: {integrity: sha512-x+b6PJ7BQ5HnNs0wa+eojmwkveR5X77VzhfKJ8p7ndB0TAdFGBshji30nxNjn/8aNWMdE90gsIvbtazsrGZn+w==}
+ '@deepseek-ai/dsh-util-time@0.2.1-alpha.5':
+ resolution: {integrity: sha512-2k0gSqOHG6npIWVRb96MpW0cjCrdmDaAZYnp1gXiTJIXFnIuEFvXzbxFW3qnuCJg3W/Nam1wPXKaoW9B/FaLew==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
- '@deepseek-ai/dsh-util-values@0.2.0-rc.2':
- resolution: {integrity: sha512-qgpsbgiZABuE9UvgNaVo9b2HiWwLeU93CTl9PFXqE0jN8ap1ALxzQsLGvr/q2MJuWDYqnFBg60XnqnY8ZxPWEg==}
+ '@deepseek-ai/dsh-util-values@0.2.1-alpha.5':
+ resolution: {integrity: sha512-RiKa0vkqNKqwKcZkEs68kcE1HfXzvLswt+dr35xlNMsiGEhNSLirEcm8r16uGEVUIAtQEici4oI1KFKlYeXoZQ==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
- '@deepseek-ai/dsh-util-workspace-path@0.2.0-rc.2':
- resolution: {integrity: sha512-pjjpi+hN29dVf9HMitxo5gUAXKNdYcJ75vNVjKp2T6sdBy0wxcMKlfddu/bYx/xDL3teNBhh17EH7w1asYNNZQ==}
+ '@deepseek-ai/dsh-util-workspace-path@0.2.1-alpha.5':
+ resolution: {integrity: sha512-VVgVRV+/U33BLpTXcoL1wbFFRAMUXXuLs9clZRnYavKhWQVwEw27cogGYQpAPOp2sjUSMt68NAJYpHwnuCuikw==}
peerDependencies:
- '@deepseek-ai/cordis': ~4.0.4
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
- '@deepseek-ai/schemastery@3.18.4':
- resolution: {integrity: sha512-SSXO6tYuyrIqKVbmOnIq0s+riUywYzouFMcnBluHF9n4KMo2G8HvEzhCYj6pj2617/glOjbJuVInJ9hfONsjkg==}
+ '@deepseek-ai/dsh-working-directory@0.2.1-alpha.5':
+ resolution: {integrity: sha512-N2FZ2XUzVNqBJ9sJeDr1ehpy3UN4yQjlFBpmALXFceOfnc4gx5sRIIl8hUCOZx/rwRZWSf899qq7cOk/od+dsA==}
+ peerDependencies:
+ '@deepseek-ai/cordis': ~4.0.5-alpha.2
+ '@deepseek-ai/dsh-agent': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-fs': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-llm': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-session': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-session-projection': 0.2.1-alpha.5
+ '@deepseek-ai/dsh-system-prompt': 0.2.1-alpha.5
+
+ '@deepseek-ai/schemastery@3.18.5':
+ resolution: {integrity: sha512-Mnobvqf9rHsZYv4g5edj5ddxS1oF1kIdSlz0DunUgnY3LWG5F26MqvH3YOOsSaodCgyzJ16OMN9O99/s5Crtdw==}
'@emnapi/core@1.10.0':
resolution: {integrity: sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw==}
@@ -2362,6 +2362,10 @@ packages:
resolution: {integrity: sha512-5Hh7Y1wQbvY5ooGgPbDaL5iYLAPzMTUrjMulskHLH6wnv/A+1q5rgEaiuqEjB+oxGXIVZs1FF+R/KPN3ZSQYYg==}
engines: {node: '>=12'}
+ ipaddr.js@2.5.0:
+ resolution: {integrity: sha512-aq+t5NAc+cS6rZQQVWC2x98CPqGtKKTMDd4Gaodv0wShnItdKg/51djkGJ1hqH+Oy0ivDftCbSLCQob8zso01w==}
+ engines: {node: '>= 10'}
+
is-extglob@2.1.1:
resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==}
engines: {node: '>=0.10.0'}
@@ -2728,56 +2732,70 @@ packages:
resolution: {integrity: sha512-NMPBRMJgiQHjbd8phG3Vebdx4kZ1H121rbl5IkMqeOsahptB9BKo/d7oJ3zTXqTgagn2bWlNSXkh0QUGM31RYg==}
engines: {node: '>=18'}
- node-addon-native-custom-loader@0.1.6:
- resolution: {integrity: sha512-QaW7d8lTcGCXrpNVyFDtID3vrpa7vFdpcY9pql2/9FGFSe7tcSnhQOKZX+1aOWq+pB1d2ZwNnKAdQI5nD9wAXA==}
+ node-addon-native-custom-loader@0.1.9:
+ resolution: {integrity: sha512-Zh87aubSc1UF8CzZsRws1KtSwXiPDH0tbcg8V/2OA8Tcq9yGJRESFcEOC5NGLFama5IGfC3aJhubZbrj9Un2qA==}
engines: {node: '>=20'}
- node-addon-require-builtin-darwin-arm64@0.1.6:
- resolution: {integrity: sha512-KpaAh0mDcIScoJs7gD/mjXREcENJ023/DgWW3GrlLXFVzCE6bK6wFrTFpNfnkxZZP8yWsEWOg1o5T+uQ7olgTQ==}
+ node-addon-require-builtin-darwin-arm64@0.1.9:
+ resolution: {integrity: sha512-n45xEILQVOLZ2hVhzRXesTMYS4odHquyI/B/IkPMPUCONa8PjNfBag6lYBH4wDrhgpLNNBwMsUD8d8O/13QPPA==}
engines: {node: '>=20'}
cpu: [arm64]
os: [darwin]
- node-addon-require-builtin-darwin-x64@0.1.6:
- resolution: {integrity: sha512-lh9o5rCvmkH8MZgBBmhyKzJRc1M1hJzgXLTFzB6iomRXNH9P1DKjN2nAJLmvGrdTij47Wcch1JVnlV5AG0cRCQ==}
+ node-addon-require-builtin-darwin-x64@0.1.9:
+ resolution: {integrity: sha512-Sm4Liqh1uo9zgJB2F/pACPPZdHu+fj9Qniyr1Q99dDQB0v71VgZgkAgv3K0/E1iPQBlZq9rakFkY7MGUIfWc0A==}
engines: {node: '>=20'}
cpu: [x64]
os: [darwin]
- node-addon-require-builtin-linux-arm64-gnu@0.1.6:
- resolution: {integrity: sha512-DrQA3aS1LBn4NgrewbZkzSAWdSSRPD/fYO5AkQfvriQ/TQD3E2adB012sZ5eac6p9TAcTjUIYhk395AYVxo4Zw==}
+ node-addon-require-builtin-linux-arm64-gnu@0.1.9:
+ resolution: {integrity: sha512-ToU4wGtOD/069i2y4fJ3cjDJiiWtcjSQTZMf0YKlotb5BmTM7FjhR3X1aub8J/YjlOwl6665J/XAYuvCaDO5sA==}
engines: {node: '>=20'}
cpu: [arm64]
os: [linux]
libc: [glibc]
- node-addon-require-builtin-linux-x64-gnu@0.1.6:
- resolution: {integrity: sha512-8wCxrFlB2Ld5DhxIm2P+nNFnQ0wjzDE5sXF68EUhLH0X+z313B07TUQFMBKCOkyhZIIBh590dBmhHCuA43No2A==}
+ node-addon-require-builtin-linux-arm64-musl@0.1.9:
+ resolution: {integrity: sha512-85Z5Avp++wfa9iiTIH8LC/r6qvlC/CiwpifiwIz0gYQ9PzajTSkz06gX7YDqf1oUqWYxU9uwNEOmo7mktHOOfA==}
+ engines: {node: '>=20'}
+ cpu: [arm64]
+ os: [linux]
+ libc: [musl]
+
+ node-addon-require-builtin-linux-x64-gnu@0.1.9:
+ resolution: {integrity: sha512-fh3K3/JvBfSYwU8vEOpp4Wdp4N/jX0EnZYq5GsaftlQin1FVqgve/yDNoh+asxBMOQyHOG8F4dXlV1WCierrfg==}
engines: {node: '>=20'}
cpu: [x64]
os: [linux]
libc: [glibc]
- node-addon-require-builtin-win32-arm64-msvc@0.1.6:
- resolution: {integrity: sha512-NET6DiLnKrK2DHuO4NNN+zJz0CFas+RwpJlGY0d3A3A3tc5dJQqZXgw8DzLOn4cSTAQCaDq6+LbPyYX7jE2F3Q==}
+ node-addon-require-builtin-linux-x64-musl@0.1.9:
+ resolution: {integrity: sha512-B6fu/5xmbRxnifM7nWz0IESkYnUl8dwFZmRDMsxdhzv2nb+EtBRFAXg4lf73qhX3yoZD4SnWJILBQMlIAwBCzw==}
+ engines: {node: '>=20'}
+ cpu: [x64]
+ os: [linux]
+ libc: [musl]
+
+ node-addon-require-builtin-win32-arm64-msvc@0.1.9:
+ resolution: {integrity: sha512-FOQuzNe8B1BANu886rJgdbQuRxPGUQmewkykw87wSr32U0ibQ3AWGuUM/Gh7LG4RekjFaifj7gEI/tq2+6GU6g==}
engines: {node: '>=20'}
cpu: [arm64]
os: [win32]
- node-addon-require-builtin-win32-ia32-msvc@0.1.6:
- resolution: {integrity: sha512-oj4G51r81kJ3E2t5KknKhBNb8TmTWzc/t9x7jkBF9JeRd+1a0kr99mVJVYwJNxq9d3jpt7dgBdI8mxaomuXOEQ==}
+ node-addon-require-builtin-win32-ia32-msvc@0.1.9:
+ resolution: {integrity: sha512-N29P0kmIBT6hnkNNFYzxn+o9ydT6OYZe9RFAi8dSxV1rNSul1FlxtuKWYe8w2sQpbQGYuGDEtpOwdeFtq2iFTg==}
engines: {node: '>=20 <23'}
cpu: [ia32]
os: [win32]
- node-addon-require-builtin-win32-x64-msvc@0.1.6:
- resolution: {integrity: sha512-ZQ+6thVzQBOFamW7s3t2YqHsw99EEPBNH1uAjvCx4QfnjFJTsu6I/H3prpN8i6cSt6gjnQtArfWc2LXN2ufcJQ==}
+ node-addon-require-builtin-win32-x64-msvc@0.1.9:
+ resolution: {integrity: sha512-+i6N4A7m7txjbw8pDYESdWXiKO9EEVq0SzTzwPS0WZuV4F1MzQnaDJwJJnO7T6zAc0BvqHXBOkpharCrUjFhbQ==}
engines: {node: '>=20'}
cpu: [x64]
os: [win32]
- node-addon-require-builtin@0.1.6:
- resolution: {integrity: sha512-P9ZGMDkloktirLJSggfpxsJ9jog5FItE1Omxpj50UBn3LhD6TS6/yx0jEBXsCGK3P9EtW1EpQVA1QL5gb11GaQ==}
+ node-addon-require-builtin@0.1.9:
+ resolution: {integrity: sha512-BCxXCMZDs/VLLh64SwKNw/me7Qx1I7Be4qxWwYVRRm8tJoOB8fL7qg6CmXhSXeUqsKt72t8RaKCX4EN+5nocVg==}
engines: {node: '>=20'}
node-releases@2.0.54:
@@ -2912,8 +2930,8 @@ packages:
resolve-pkg-maps@1.0.0:
resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==}
- resolve.exports@2.0.3:
- resolution: {integrity: sha512-OcXjMsGdhL4XnbShKpAcSqPMzQoYkYyhbEaeSko47MjRP9NfEQMhZkXL1DoFlt9LWQn4YttrdnV6X2OiyzBi+A==}
+ resolve.exports@2.0.4:
+ resolution: {integrity: sha512-zepuGL0ulf+nt+XaFrlKeaiTJeyPFPLLY62+ncq1/VTHBdt3HsfXOH60priZ6tnXQozdGcDeIF5JVTanvIcYWQ==}
engines: {node: '>=10'}
rimraf@5.0.5:
@@ -3719,12 +3737,12 @@ snapshots:
style-mod: 4.1.3
w3c-keyname: 2.2.8
- '@cordisjs/plugin-loader@1.0.0-rc.5(cordis@4.0.0-rc.8)(node-addon-require-builtin@0.1.6)':
+ '@cordisjs/plugin-loader@1.0.0-rc.5(cordis@4.0.0-rc.8)(node-addon-require-builtin@0.1.9)':
dependencies:
cordis: 4.0.0-rc.8(@cordisjs/plugin-loader@1.0.0-rc.5)
cosmokit: 1.8.1
optionalDependencies:
- node-addon-require-builtin: 0.1.6
+ node-addon-require-builtin: 0.1.9
'@csstools/color-helpers@6.1.1': {}
@@ -3750,241 +3768,238 @@ snapshots:
'@csstools/css-tokenizer@4.0.0': {}
- '@deepseek-ai/cordis-plugin-group@1.0.4(@deepseek-ai/cordis-plugin-loader@1.0.5)(@deepseek-ai/cordis@4.0.4)':
+ '@deepseek-ai/cordis-plugin-group@1.0.5-alpha.2(@deepseek-ai/cordis-plugin-loader@1.0.6)(@deepseek-ai/cordis@4.0.5)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
- '@deepseek-ai/cordis-plugin-loader': 1.0.5(@deepseek-ai/cordis@4.0.4)(node-addon-require-builtin@0.1.6)
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
+ '@deepseek-ai/cordis-plugin-loader': 1.0.6(@deepseek-ai/cordis@4.0.5)(node-addon-require-builtin@0.1.9)
- '@deepseek-ai/cordis-plugin-include@1.0.9(@deepseek-ai/cordis-plugin-loader@1.0.5)(@deepseek-ai/cordis@4.0.4)':
+ '@deepseek-ai/cordis-plugin-include@1.0.10(@deepseek-ai/cordis-plugin-loader@1.0.6)(@deepseek-ai/cordis@4.0.5)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
- '@deepseek-ai/cordis-plugin-loader': 1.0.5(@deepseek-ai/cordis@4.0.4)(node-addon-require-builtin@0.1.6)
- '@deepseek-ai/cosmokit': 1.8.5
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
+ '@deepseek-ai/cordis-plugin-loader': 1.0.6(@deepseek-ai/cordis@4.0.5)(node-addon-require-builtin@0.1.9)
+ '@deepseek-ai/cosmokit': 1.8.6
js-yaml: 4.3.2
- '@deepseek-ai/cordis-plugin-loader@1.0.5(@deepseek-ai/cordis@4.0.4)(node-addon-require-builtin@0.1.6)':
+ '@deepseek-ai/cordis-plugin-loader@1.0.6(@deepseek-ai/cordis@4.0.5)(node-addon-require-builtin@0.1.9)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
- '@deepseek-ai/cosmokit': 1.8.5
- '@deepseek-ai/schemastery': 3.18.4
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
+ '@deepseek-ai/cosmokit': 1.8.6
+ '@deepseek-ai/schemastery': 3.18.5
optionalDependencies:
- node-addon-require-builtin: 0.1.6
+ node-addon-require-builtin: 0.1.9
- '@deepseek-ai/cordis@4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)':
+ '@deepseek-ai/cordis@4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)':
dependencies:
- '@deepseek-ai/cosmokit': 1.8.5
+ '@deepseek-ai/cosmokit': 1.8.6
'@standard-schema/spec': 1.1.0
optionalDependencies:
- '@deepseek-ai/cordis-plugin-include': 1.0.9(@deepseek-ai/cordis-plugin-loader@1.0.5)(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/cordis-plugin-loader': 1.0.5(@deepseek-ai/cordis@4.0.4)(node-addon-require-builtin@0.1.6)
+ '@deepseek-ai/cordis-plugin-include': 1.0.10(@deepseek-ai/cordis-plugin-loader@1.0.6)(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/cordis-plugin-loader': 1.0.6(@deepseek-ai/cordis@4.0.5)(node-addon-require-builtin@0.1.9)
- '@deepseek-ai/cosmokit@1.8.5': {}
+ '@deepseek-ai/cosmokit@1.8.6': {}
- '@deepseek-ai/dsh-agent-loop@0.2.0-rc.2(c47258f3b7a14cf357cbffd5a60d7454)':
+ '@deepseek-ai/dsh-agent-loop@0.2.1-alpha.5(6f096d4a2b19285aeba2fd7ab3158d90)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
- '@deepseek-ai/dsh-agent': 0.2.0-rc.2(b872d4d836bb263e5b3a50782f98c977)
- '@deepseek-ai/dsh-brand': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-invariants': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-llm': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-scope': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))
- '@deepseek-ai/dsh-session': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)))
- '@deepseek-ai/dsh-session-persistence': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-brand@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-session@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))))(@deepseek-ai/dsh-timeout@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))
- '@deepseek-ai/dsh-session-projection': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-session@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))))
- '@deepseek-ai/dsh-system-prompt': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-llm@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)))
- '@deepseek-ai/dsh-tools': 0.2.0-rc.2(c6e351a6a6cfd1c2a664558bffcd410d)
- '@deepseek-ai/dsh-util-values': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/schemastery': 3.18.4
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
+ '@deepseek-ai/dsh-agent': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-session-projection@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))))(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))(@deepseek-ai/dsh-system-prompt@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))(@deepseek-ai/dsh-typert-protocol@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-util-values@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
+ '@deepseek-ai/dsh-brand': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-llm': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-scope': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-session': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
+ '@deepseek-ai/dsh-session-persistence': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-brand@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))(@deepseek-ai/dsh-timeout@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
+ '@deepseek-ai/dsh-session-projection': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))
+ '@deepseek-ai/dsh-system-prompt': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
+ '@deepseek-ai/dsh-tools': 0.2.1-alpha.5(105de7c2e436ac2ca43e2c126f1d1c57)
+ '@deepseek-ai/dsh-util-values': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/schemastery': 3.18.5
zod: 4.4.3
- '@deepseek-ai/dsh-agent@0.2.0-rc.2(b872d4d836bb263e5b3a50782f98c977)':
+ '@deepseek-ai/dsh-agent@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-session-projection@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))))(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))(@deepseek-ai/dsh-system-prompt@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))(@deepseek-ai/dsh-typert-protocol@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-util-values@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
- '@deepseek-ai/dsh-invariants': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-llm': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-scope': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))
- '@deepseek-ai/dsh-session': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)))
- '@deepseek-ai/dsh-session-projection': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-session@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))))
- '@deepseek-ai/dsh-system-prompt': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-llm@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)))
- '@deepseek-ai/dsh-typert-protocol': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-util-values': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
+ '@deepseek-ai/dsh-llm': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-scope': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-session': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
+ '@deepseek-ai/dsh-session-projection': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))
+ '@deepseek-ai/dsh-system-prompt': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
+ '@deepseek-ai/dsh-typert-protocol': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-util-values': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
- '@deepseek-ai/dsh-app-boot@0.2.0-rc.2(@deepseek-ai/cordis-plugin-group@1.0.4(@deepseek-ai/cordis-plugin-loader@1.0.5)(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-home-paths@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-launch-environment@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-system-prompt@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-llm@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))))':
+ '@deepseek-ai/dsh-app-boot@0.2.1-alpha.5(@deepseek-ai/cordis-plugin-group@1.0.5-alpha.2(@deepseek-ai/cordis-plugin-loader@1.0.6)(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-home-paths@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-launch-environment@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
- '@deepseek-ai/cordis-plugin-group': 1.0.4(@deepseek-ai/cordis-plugin-loader@1.0.5)(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/cordis-plugin-include': 1.0.9(@deepseek-ai/cordis-plugin-loader@1.0.5)(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/cordis-plugin-loader': 1.0.5(@deepseek-ai/cordis@4.0.4)(node-addon-require-builtin@0.1.6)
- '@deepseek-ai/dsh-atomic-write': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-home-paths': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-launch-environment': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-package-manifest': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-system-prompt': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-llm@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)))
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
+ '@deepseek-ai/cordis-plugin-group': 1.0.5-alpha.2(@deepseek-ai/cordis-plugin-loader@1.0.6)(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/cordis-plugin-include': 1.0.10(@deepseek-ai/cordis-plugin-loader@1.0.6)(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/cordis-plugin-loader': 1.0.6(@deepseek-ai/cordis@4.0.5)(node-addon-require-builtin@0.1.9)
+ '@deepseek-ai/dsh-atomic-write': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-home-paths': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-launch-environment': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-package-manifest': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
'@eslint-community/regexpp': 4.12.2
ajv: 8.20.0
js-yaml: 4.3.2
- node-addon-require-builtin: 0.1.6
- resolve.exports: 2.0.3
+ node-addon-require-builtin: 0.1.9
+ resolve.exports: 2.0.4
semver: 7.8.5
- '@deepseek-ai/dsh-atomic-write@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)':
+ '@deepseek-ai/dsh-atomic-write@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
- '@deepseek-ai/dsh-attachment@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-brand@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))':
+ '@deepseek-ai/dsh-attachment@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-brand@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
- '@deepseek-ai/dsh-brand': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
+ '@deepseek-ai/dsh-brand': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
- '@deepseek-ai/dsh-brand@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)':
+ '@deepseek-ai/dsh-brand@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
- '@deepseek-ai/dsh-chunked-list@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)':
+ '@deepseek-ai/dsh-chunked-list@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
zod: 4.4.3
- '@deepseek-ai/dsh-client-locale@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)':
+ '@deepseek-ai/dsh-client-locale@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
- '@deepseek-ai/schemastery': 3.18.4
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
+ '@deepseek-ai/schemastery': 3.18.5
- '@deepseek-ai/dsh-client-store@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)':
+ '@deepseek-ai/dsh-client-store@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
- '@deepseek-ai/dsh-client-ui-conversation@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)':
+ '@deepseek-ai/dsh-client-ui-conversation@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
- '@deepseek-ai/schemastery': 3.18.4
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
+ '@deepseek-ai/schemastery': 3.18.5
- '@deepseek-ai/dsh-client-ui-primitives@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)':
+ '@deepseek-ai/dsh-client-ui-primitives@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
- '@deepseek-ai/dsh-client-ui-settings@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)':
+ '@deepseek-ai/dsh-client-ui-settings@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
- '@deepseek-ai/schemastery': 3.18.4
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
+ '@deepseek-ai/schemastery': 3.18.5
- '@deepseek-ai/dsh-client-ui-sidebar-right@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)':
+ '@deepseek-ai/dsh-client-ui-sidebar-right@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
- '@deepseek-ai/dsh-client-ui-slots@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)':
+ '@deepseek-ai/dsh-client-ui-slots@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
- '@deepseek-ai/dsh-config-editor@0.2.0-rc.2(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-app-boot@0.2.0-rc.2(@deepseek-ai/cordis-plugin-group@1.0.4(@deepseek-ai/cordis-plugin-loader@1.0.5)(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-home-paths@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-launch-environment@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-system-prompt@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-llm@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)))))':
+ '@deepseek-ai/dsh-config-editor@0.2.1-alpha.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-app-boot@0.2.1-alpha.5(@deepseek-ai/cordis-plugin-group@1.0.5-alpha.2(@deepseek-ai/cordis-plugin-loader@1.0.6)(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-home-paths@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-launch-environment@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
- '@deepseek-ai/cordis-plugin-include': 1.0.9(@deepseek-ai/cordis-plugin-loader@1.0.5)(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/cordis-plugin-loader': 1.0.5(@deepseek-ai/cordis@4.0.4)(node-addon-require-builtin@0.1.6)
- '@deepseek-ai/dsh-app-boot': 0.2.0-rc.2(@deepseek-ai/cordis-plugin-group@1.0.4(@deepseek-ai/cordis-plugin-loader@1.0.5)(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-home-paths@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-launch-environment@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-system-prompt@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-llm@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))))
- '@deepseek-ai/dsh-atomic-write': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
+ '@deepseek-ai/cordis-plugin-include': 1.0.10(@deepseek-ai/cordis-plugin-loader@1.0.6)(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/cordis-plugin-loader': 1.0.6(@deepseek-ai/cordis@4.0.5)(node-addon-require-builtin@0.1.9)
+ '@deepseek-ai/dsh-app-boot': 0.2.1-alpha.5(@deepseek-ai/cordis-plugin-group@1.0.5-alpha.2(@deepseek-ai/cordis-plugin-loader@1.0.6)(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-home-paths@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-launch-environment@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
+ '@deepseek-ai/dsh-atomic-write': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
js-yaml: 4.3.2
yaml: 2.9.1
- '@deepseek-ai/dsh-home-paths@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)':
+ '@deepseek-ai/dsh-fs@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-brand@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-sandbox@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))))':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
+ '@deepseek-ai/dsh-brand': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-llm': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-sandbox': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))
- '@deepseek-ai/dsh-host-webserver@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)':
+ '@deepseek-ai/dsh-home-paths@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
- '@deepseek-ai/schemastery': 3.18.4
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
+
+ '@deepseek-ai/dsh-host-webserver@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)':
+ dependencies:
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
+ '@deepseek-ai/schemastery': 3.18.5
compression: 1.8.2
+ ipaddr.js: 2.5.0
negotiator: 1.1.0
transitivePeerDependencies:
- supports-color
- '@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)':
+ '@deepseek-ai/dsh-launch-environment@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
- '@deepseek-ai/schemastery': 3.18.4
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
- '@deepseek-ai/dsh-launch-environment@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)':
+ '@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
-
- '@deepseek-ai/dsh-llm@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)':
- dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
- '@deepseek-ai/dsh-brand': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-timeout': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-typert-protocol': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-util-crypto': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-util-values': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/schemastery': 3.18.4
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
+ '@deepseek-ai/dsh-brand': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-timeout': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-typert-protocol': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-util-crypto': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-util-values': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/schemastery': 3.18.5
zod: 4.4.3
- '@deepseek-ai/dsh-package-manifest@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)':
+ '@deepseek-ai/dsh-package-manifest@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
- '@deepseek-ai/dsh-ptc-runtime@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-sandbox@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-llm@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-session@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)))))':
+ '@deepseek-ai/dsh-ptc-runtime@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-sandbox@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))))':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
- '@deepseek-ai/dsh-sandbox': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-llm@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-session@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))))
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
+ '@deepseek-ai/dsh-sandbox': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))
- '@deepseek-ai/dsh-sandbox-policy@0.2.0-rc.2(86f6fd7d6eb5d5ef0468bcbf88da8d4d)':
+ '@deepseek-ai/dsh-sandbox-policy@0.2.1-alpha.5(7e8b18dd4468323d90db0d3100c4feea)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
- '@deepseek-ai/dsh-agent': 0.2.0-rc.2(b872d4d836bb263e5b3a50782f98c977)
- '@deepseek-ai/dsh-invariants': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-sandbox': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-llm@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-session@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))))
- '@deepseek-ai/dsh-session': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)))
- '@deepseek-ai/dsh-session-projection': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-session@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))))
- '@deepseek-ai/dsh-system-prompt': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-llm@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)))
- '@deepseek-ai/schemastery': 3.18.4
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
+ '@deepseek-ai/dsh-agent': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-session-projection@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))))(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))(@deepseek-ai/dsh-system-prompt@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))(@deepseek-ai/dsh-typert-protocol@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-util-values@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
+ '@deepseek-ai/dsh-sandbox': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))
+ '@deepseek-ai/dsh-session': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
+ '@deepseek-ai/dsh-session-projection': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))
+ '@deepseek-ai/dsh-system-prompt': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
+ '@deepseek-ai/schemastery': 3.18.5
zod: 4.4.3
- '@deepseek-ai/dsh-sandbox@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-llm@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-session@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))))':
+ '@deepseek-ai/dsh-sandbox@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
- '@deepseek-ai/dsh-llm': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-session': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)))
- '@deepseek-ai/dsh-util-values': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
+ '@deepseek-ai/dsh-llm': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-session': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
+ '@deepseek-ai/dsh-util-values': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
- '@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))':
+ '@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
- '@deepseek-ai/dsh-invariants': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
- '@deepseek-ai/dsh-session-persistence@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-brand@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-session@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))))(@deepseek-ai/dsh-timeout@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))':
+ '@deepseek-ai/dsh-session-persistence@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-brand@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))(@deepseek-ai/dsh-timeout@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
- '@deepseek-ai/dsh-brand': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-session': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)))
- '@deepseek-ai/dsh-timeout': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-util-values': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
+ '@deepseek-ai/dsh-brand': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-session': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
+ '@deepseek-ai/dsh-timeout': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-util-values': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
- '@deepseek-ai/dsh-session-projection@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-session@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))))':
+ '@deepseek-ai/dsh-session-projection@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
- '@deepseek-ai/dsh-session': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)))
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
+ '@deepseek-ai/dsh-session': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
zod: 4.4.3
- '@deepseek-ai/dsh-session@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)))':
+ '@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
- '@deepseek-ai/dsh-brand': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-llm': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-scope': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))
- '@deepseek-ai/dsh-util-values': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
+ '@deepseek-ai/dsh-brand': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-llm': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-scope': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-util-values': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
- '@deepseek-ai/dsh-settings@0.2.0-rc.2(cf472db12c7a30b750f93070b7128298)':
+ '@deepseek-ai/dsh-settings@0.2.1-alpha.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-app-boot@0.2.1-alpha.5(@deepseek-ai/cordis-plugin-group@1.0.5-alpha.2(@deepseek-ai/cordis-plugin-loader@1.0.6)(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-home-paths@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-launch-environment@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))(@deepseek-ai/dsh-brand@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))(@deepseek-ai/schemastery@3.18.5)(node-addon-require-builtin@0.1.9)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
- '@deepseek-ai/cordis-plugin-loader': 1.0.5(@deepseek-ai/cordis@4.0.4)(node-addon-require-builtin@0.1.6)
- '@deepseek-ai/cosmokit': 1.8.5
- '@deepseek-ai/dsh-brand': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-config-editor': 0.2.0-rc.2(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-app-boot@0.2.0-rc.2(@deepseek-ai/cordis-plugin-group@1.0.4(@deepseek-ai/cordis-plugin-loader@1.0.5)(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-home-paths@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-launch-environment@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-system-prompt@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-llm@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)))))
- '@deepseek-ai/dsh-invariants': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-session': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)))
- '@deepseek-ai/dsh-util-values': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/schemastery': 3.18.4
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
+ '@deepseek-ai/cordis-plugin-loader': 1.0.6(@deepseek-ai/cordis@4.0.5)(node-addon-require-builtin@0.1.9)
+ '@deepseek-ai/cosmokit': 1.8.6
+ '@deepseek-ai/dsh-brand': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-config-editor': 0.2.1-alpha.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-app-boot@0.2.1-alpha.5(@deepseek-ai/cordis-plugin-group@1.0.5-alpha.2(@deepseek-ai/cordis-plugin-loader@1.0.6)(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-home-paths@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-launch-environment@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))
+ '@deepseek-ai/dsh-session': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
+ '@deepseek-ai/dsh-util-values': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/schemastery': 3.18.5
yaml: 2.9.1
transitivePeerDependencies:
- '@deepseek-ai/cordis-plugin-include'
@@ -3992,101 +4007,111 @@ snapshots:
- '@deepseek-ai/dsh-hmr'
- node-addon-require-builtin
- '@deepseek-ai/dsh-subagent@0.2.0-rc.2(5b83b5bd501ad363dbcf5ae708eaabce)':
+ '@deepseek-ai/dsh-subagent@0.2.1-alpha.5(1d40ffef8ee4b0ccdd028083d78f4ed1)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
- '@deepseek-ai/dsh-agent': 0.2.0-rc.2(b872d4d836bb263e5b3a50782f98c977)
- '@deepseek-ai/dsh-attachment': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-brand@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))
- '@deepseek-ai/dsh-brand': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-chunked-list': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-invariants': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-llm': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-scope': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))
- '@deepseek-ai/dsh-session': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)))
- '@deepseek-ai/dsh-system-prompt': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-llm@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)))
- '@deepseek-ai/dsh-tools': 0.2.0-rc.2(c6e351a6a6cfd1c2a664558bffcd410d)
- '@deepseek-ai/dsh-typert-protocol': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-util-time': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-util-values': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/schemastery': 3.18.4
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
+ '@deepseek-ai/dsh-agent': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-session-projection@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))))(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))(@deepseek-ai/dsh-system-prompt@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))(@deepseek-ai/dsh-typert-protocol@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-util-values@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
+ '@deepseek-ai/dsh-attachment': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-brand@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
+ '@deepseek-ai/dsh-brand': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-chunked-list': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-llm': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-scope': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-session': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
+ '@deepseek-ai/dsh-system-prompt': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
+ '@deepseek-ai/dsh-tools': 0.2.1-alpha.5(105de7c2e436ac2ca43e2c126f1d1c57)
+ '@deepseek-ai/dsh-typert-protocol': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-util-time': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-util-values': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-working-directory': 0.2.1-alpha.5(2551dab2fffb86044e83a3eb9a2cd246)
+ '@deepseek-ai/schemastery': 3.18.5
zod: 4.4.3
optionalDependencies:
- '@deepseek-ai/dsh-sandbox': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-llm@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-session@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))))
- '@deepseek-ai/dsh-sandbox-policy': 0.2.0-rc.2(86f6fd7d6eb5d5ef0468bcbf88da8d4d)
- '@deepseek-ai/dsh-session-persistence': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-brand@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-session@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))))(@deepseek-ai/dsh-timeout@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))
- '@deepseek-ai/dsh-session-projection': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-session@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))))
- '@deepseek-ai/dsh-settings': 0.2.0-rc.2(cf472db12c7a30b750f93070b7128298)
- '@deepseek-ai/dsh-user-approval': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-agent@0.2.0-rc.2(b872d4d836bb263e5b3a50782f98c977))(@deepseek-ai/dsh-brand@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-llm@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)))(@deepseek-ai/dsh-session@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))))(@deepseek-ai/dsh-system-prompt@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-llm@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))))
+ '@deepseek-ai/dsh-sandbox': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))
+ '@deepseek-ai/dsh-sandbox-policy': 0.2.1-alpha.5(7e8b18dd4468323d90db0d3100c4feea)
+ '@deepseek-ai/dsh-session-persistence': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-brand@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))(@deepseek-ai/dsh-timeout@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
+ '@deepseek-ai/dsh-session-projection': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))
+ '@deepseek-ai/dsh-user-approval': 0.2.1-alpha.5(8323edf548205bd5fbadbabf208496dc)
- '@deepseek-ai/dsh-system-prompt@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-llm@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)))':
+ '@deepseek-ai/dsh-system-prompt@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
- '@deepseek-ai/dsh-invariants': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-llm': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-scope': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))
- '@deepseek-ai/schemastery': 3.18.4
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
+ '@deepseek-ai/dsh-llm': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-scope': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/schemastery': 3.18.5
- '@deepseek-ai/dsh-timeout@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)':
+ '@deepseek-ai/dsh-timeout@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
- '@deepseek-ai/dsh-tools@0.2.0-rc.2(c6e351a6a6cfd1c2a664558bffcd410d)':
+ '@deepseek-ai/dsh-tools@0.2.1-alpha.5(105de7c2e436ac2ca43e2c126f1d1c57)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
- '@deepseek-ai/dsh-agent': 0.2.0-rc.2(b872d4d836bb263e5b3a50782f98c977)
- '@deepseek-ai/dsh-brand': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-invariants': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-llm': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-ptc-runtime': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-sandbox@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-llm@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-session@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)))))
- '@deepseek-ai/dsh-sandbox': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-llm@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-session@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))))
- '@deepseek-ai/dsh-sandbox-policy': 0.2.0-rc.2(86f6fd7d6eb5d5ef0468bcbf88da8d4d)
- '@deepseek-ai/dsh-scope': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))
- '@deepseek-ai/dsh-session': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)))
- '@deepseek-ai/dsh-system-prompt': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-llm@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)))
- '@deepseek-ai/dsh-user-approval': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-agent@0.2.0-rc.2(b872d4d836bb263e5b3a50782f98c977))(@deepseek-ai/dsh-brand@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-llm@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)))(@deepseek-ai/dsh-session@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))))(@deepseek-ai/dsh-system-prompt@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-llm@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))))
- '@deepseek-ai/dsh-util-values': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/schemastery': 3.18.4
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
+ '@deepseek-ai/dsh-agent': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-session-projection@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))))(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))(@deepseek-ai/dsh-system-prompt@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))(@deepseek-ai/dsh-typert-protocol@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-util-values@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
+ '@deepseek-ai/dsh-brand': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-llm': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-ptc-runtime': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-sandbox@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))))
+ '@deepseek-ai/dsh-sandbox': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))
+ '@deepseek-ai/dsh-sandbox-policy': 0.2.1-alpha.5(7e8b18dd4468323d90db0d3100c4feea)
+ '@deepseek-ai/dsh-scope': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-session': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
+ '@deepseek-ai/dsh-system-prompt': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
+ '@deepseek-ai/dsh-user-approval': 0.2.1-alpha.5(8323edf548205bd5fbadbabf208496dc)
+ '@deepseek-ai/dsh-util-values': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-working-directory': 0.2.1-alpha.5(2551dab2fffb86044e83a3eb9a2cd246)
+ '@deepseek-ai/schemastery': 3.18.5
- '@deepseek-ai/dsh-typert-protocol@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)':
+ '@deepseek-ai/dsh-typert-protocol@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
- '@deepseek-ai/dsh-brand': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
+ '@deepseek-ai/dsh-brand': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ zod: 4.4.3
- '@deepseek-ai/dsh-user-approval@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-agent@0.2.0-rc.2(b872d4d836bb263e5b3a50782f98c977))(@deepseek-ai/dsh-brand@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-llm@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)))(@deepseek-ai/dsh-session@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))))(@deepseek-ai/dsh-system-prompt@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-llm@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))))':
+ '@deepseek-ai/dsh-user-approval@0.2.1-alpha.5(8323edf548205bd5fbadbabf208496dc)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
- '@deepseek-ai/dsh-agent': 0.2.0-rc.2(b872d4d836bb263e5b3a50782f98c977)
- '@deepseek-ai/dsh-brand': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-invariants': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-llm': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-scope': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))
- '@deepseek-ai/dsh-session': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)))
- '@deepseek-ai/dsh-system-prompt': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-llm@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-scope@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)))
- '@deepseek-ai/schemastery': 3.18.4
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
+ '@deepseek-ai/dsh-agent': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-session-projection@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))))(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))(@deepseek-ai/dsh-system-prompt@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))(@deepseek-ai/dsh-typert-protocol@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-util-values@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
+ '@deepseek-ai/dsh-brand': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-llm': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-scope': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-session': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
+ '@deepseek-ai/dsh-system-prompt': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
+ '@deepseek-ai/schemastery': 3.18.5
- '@deepseek-ai/dsh-util-code-language@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)':
+ '@deepseek-ai/dsh-util-code-language@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
- '@deepseek-ai/dsh-util-crypto@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)':
+ '@deepseek-ai/dsh-util-crypto@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
- '@deepseek-ai/dsh-util-time@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)':
+ '@deepseek-ai/dsh-util-time@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
- '@deepseek-ai/dsh-util-values@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)':
+ '@deepseek-ai/dsh-util-values@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
- '@deepseek-ai/dsh-util-workspace-path@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)':
+ '@deepseek-ai/dsh-util-workspace-path@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
- '@deepseek-ai/schemastery@3.18.4':
+ '@deepseek-ai/dsh-working-directory@0.2.1-alpha.5(2551dab2fffb86044e83a3eb9a2cd246)':
dependencies:
- '@deepseek-ai/cosmokit': 1.8.5
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
+ '@deepseek-ai/dsh-agent': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-session-projection@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))))(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))(@deepseek-ai/dsh-system-prompt@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))(@deepseek-ai/dsh-typert-protocol@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-util-values@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
+ '@deepseek-ai/dsh-fs': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-brand@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-sandbox@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))))
+ '@deepseek-ai/dsh-llm': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-session': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
+ '@deepseek-ai/dsh-session-projection': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-session@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)))
+ '@deepseek-ai/dsh-system-prompt': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-llm@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-scope@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))
+ '@deepseek-ai/schemastery': 3.18.5
+ zod: 4.4.3
+
+ '@deepseek-ai/schemastery@3.18.5':
+ dependencies:
+ '@deepseek-ai/cosmokit': 1.8.6
'@standard-schema/spec': 1.1.0
'@emnapi/core@1.10.0':
@@ -4143,15 +4168,14 @@ snapshots:
'@formkit/auto-animate@0.10.0': {}
- '@huanlin/dsh-plugin-better-locale@0.1.0(@deepseek-ai/cordis@4.0.4)(@deepseek-ai/dsh-client-locale@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-client-ui-primitives@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-client-ui-settings@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-client-ui-slots@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(@deepseek-ai/dsh-invariants@0.2.0-rc.2(@deepseek-ai/cordis@4.0.4))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)':
+ '@huanlin/dsh-plugin-better-locale@0.1.0(@deepseek-ai/cordis@4.0.5)(@deepseek-ai/dsh-client-locale@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-client-ui-primitives@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-client-ui-settings@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(@deepseek-ai/dsh-client-ui-slots@0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5))(react-dom@18.2.0(react@18.2.0))(react@18.2.0)':
dependencies:
- '@deepseek-ai/cordis': 4.0.4(@deepseek-ai/cordis-plugin-include@1.0.9)(@deepseek-ai/cordis-plugin-loader@1.0.5)
+ '@deepseek-ai/cordis': 4.0.5(@deepseek-ai/cordis-plugin-include@1.0.10)(@deepseek-ai/cordis-plugin-loader@1.0.6)
optionalDependencies:
- '@deepseek-ai/dsh-client-locale': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-client-ui-primitives': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-client-ui-settings': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-client-ui-slots': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
- '@deepseek-ai/dsh-invariants': 0.2.0-rc.2(@deepseek-ai/cordis@4.0.4)
+ '@deepseek-ai/dsh-client-locale': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-client-ui-primitives': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-client-ui-settings': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
+ '@deepseek-ai/dsh-client-ui-slots': 0.2.1-alpha.5(@deepseek-ai/cordis@4.0.5)
react: 18.2.0
react-dom: 18.2.0(react@18.2.0)
@@ -4986,7 +5010,7 @@ snapshots:
'@standard-schema/spec': 1.1.0
cosmokit: 1.8.1
optionalDependencies:
- '@cordisjs/plugin-loader': 1.0.0-rc.5(cordis@4.0.0-rc.8)(node-addon-require-builtin@0.1.6)
+ '@cordisjs/plugin-loader': 1.0.0-rc.5(cordis@4.0.0-rc.8)(node-addon-require-builtin@0.1.9)
cose-base@1.0.3:
dependencies:
@@ -5470,6 +5494,8 @@ snapshots:
internmap@2.0.3: {}
+ ipaddr.js@2.5.0: {}
+
is-extglob@2.1.1: {}
is-fullwidth-code-point@3.0.0: {}
@@ -6015,54 +6041,66 @@ snapshots:
dependencies:
content-type: 2.1.0
- node-addon-native-custom-loader@0.1.6: {}
+ node-addon-native-custom-loader@0.1.9: {}
- node-addon-require-builtin-darwin-arm64@0.1.6:
+ node-addon-require-builtin-darwin-arm64@0.1.9:
dependencies:
- node-addon-native-custom-loader: 0.1.6
+ node-addon-native-custom-loader: 0.1.9
optional: true
- node-addon-require-builtin-darwin-x64@0.1.6:
+ node-addon-require-builtin-darwin-x64@0.1.9:
dependencies:
- node-addon-native-custom-loader: 0.1.6
+ node-addon-native-custom-loader: 0.1.9
optional: true
- node-addon-require-builtin-linux-arm64-gnu@0.1.6:
+ node-addon-require-builtin-linux-arm64-gnu@0.1.9:
dependencies:
- node-addon-native-custom-loader: 0.1.6
+ node-addon-native-custom-loader: 0.1.9
optional: true
- node-addon-require-builtin-linux-x64-gnu@0.1.6:
+ node-addon-require-builtin-linux-arm64-musl@0.1.9:
dependencies:
- node-addon-native-custom-loader: 0.1.6
+ node-addon-native-custom-loader: 0.1.9
optional: true
- node-addon-require-builtin-win32-arm64-msvc@0.1.6:
+ node-addon-require-builtin-linux-x64-gnu@0.1.9:
dependencies:
- node-addon-native-custom-loader: 0.1.6
+ node-addon-native-custom-loader: 0.1.9
optional: true
- node-addon-require-builtin-win32-ia32-msvc@0.1.6:
+ node-addon-require-builtin-linux-x64-musl@0.1.9:
dependencies:
- node-addon-native-custom-loader: 0.1.6
+ node-addon-native-custom-loader: 0.1.9
optional: true
- node-addon-require-builtin-win32-x64-msvc@0.1.6:
+ node-addon-require-builtin-win32-arm64-msvc@0.1.9:
dependencies:
- node-addon-native-custom-loader: 0.1.6
+ node-addon-native-custom-loader: 0.1.9
optional: true
- node-addon-require-builtin@0.1.6:
+ node-addon-require-builtin-win32-ia32-msvc@0.1.9:
dependencies:
- node-addon-native-custom-loader: 0.1.6
+ node-addon-native-custom-loader: 0.1.9
+ optional: true
+
+ node-addon-require-builtin-win32-x64-msvc@0.1.9:
+ dependencies:
+ node-addon-native-custom-loader: 0.1.9
+ optional: true
+
+ node-addon-require-builtin@0.1.9:
+ dependencies:
+ node-addon-native-custom-loader: 0.1.9
optionalDependencies:
- node-addon-require-builtin-darwin-arm64: 0.1.6
- node-addon-require-builtin-darwin-x64: 0.1.6
- node-addon-require-builtin-linux-arm64-gnu: 0.1.6
- node-addon-require-builtin-linux-x64-gnu: 0.1.6
- node-addon-require-builtin-win32-arm64-msvc: 0.1.6
- node-addon-require-builtin-win32-ia32-msvc: 0.1.6
- node-addon-require-builtin-win32-x64-msvc: 0.1.6
+ node-addon-require-builtin-darwin-arm64: 0.1.9
+ node-addon-require-builtin-darwin-x64: 0.1.9
+ node-addon-require-builtin-linux-arm64-gnu: 0.1.9
+ node-addon-require-builtin-linux-arm64-musl: 0.1.9
+ node-addon-require-builtin-linux-x64-gnu: 0.1.9
+ node-addon-require-builtin-linux-x64-musl: 0.1.9
+ node-addon-require-builtin-win32-arm64-msvc: 0.1.9
+ node-addon-require-builtin-win32-ia32-msvc: 0.1.9
+ node-addon-require-builtin-win32-x64-msvc: 0.1.9
node-releases@2.0.54: {}
@@ -6179,7 +6217,7 @@ snapshots:
resolve-pkg-maps@1.0.0: {}
- resolve.exports@2.0.3: {}
+ resolve.exports@2.0.4: {}
rimraf@5.0.5:
dependencies:
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 4ca5cbe3..532f21a6 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -38,7 +38,6 @@ minimumReleaseAgeExclude:
- '@deepseek-ai/dsh-host-apiproxy@0.0.1-rc.1'
- '@deepseek-ai/dsh-host-directory-picker@0.0.1-rc.1'
- '@deepseek-ai/dsh-host-webserver@0.0.1-rc.1'
- - '@deepseek-ai/dsh-invariants@0.0.1-rc.1'
- '@deepseek-ai/dsh-llm-retry@0.0.1-rc.1'
- '@deepseek-ai/dsh-llm@0.0.1-rc.1'
- '@deepseek-ai/dsh-native-command@0.0.1-rc.1'
diff --git a/scripts/e2e-common.sh b/scripts/e2e-common.sh
index c563a671..65cb7229 100644
--- a/scripts/e2e-common.sh
+++ b/scripts/e2e-common.sh
@@ -41,13 +41,10 @@ e2e_require_cmd() {
# PATH 上的 dsh 优先,否则 npx 拉官方包(同 scripts/install.sh)。DSH_CMD
# 缺省值(`dsh`)由调用方从环境变量取好传入。
#
-# 回退的 npx 版本是显式钉死的:不钉就会解析 npm 的 `latest` dist-tag,而
-# 0.2.0 线目前只有预发布(`latest` 仍是 0.1.7-rc.2,0.2.0-rc.2 走 `next`),
-# 冒烟会静静地挂到一个插件已不支持的宿主上。**必须写精确版本,不能写
-# `@next`/`@alpha` 之类的 dist-tag**:0.1.7-rc.1 上线时 `alpha` 指的是
-# 0.1.7-alpha.2,0.2.0-rc.2 又只挂在 `next` 上。钉版必须与 package.json 的
-# peer 下限同步(caret 跨 minor 不成立:`^0.1.7-rc.1` 实测不满足 0.2.0-rc.2)。
-DSH_NPX_SPEC="${DSH_NPX_SPEC:-@deepseek-ai/dsh@0.2.0-rc.2}"
+# 回退的 npx 版本是显式钉死的:不钉就会解析 npm 的 dist-tag,可能静默挂到
+# 插件不支持的宿主上。**必须写精确版本,不能写 `@next`/`@alpha` 等 dist-tag**。
+# 该版本必须与 package.json 的 DSH peer 基线同步。
+DSH_NPX_SPEC="${DSH_NPX_SPEC:-@deepseek-ai/dsh@0.2.1-alpha.5}"
e2e_resolve_dsh_cmd() {
local explicit="${DSH_CMD}"
if ! command -v "$DSH_CMD" >/dev/null 2>&1; then
@@ -69,7 +66,7 @@ e2e_resolve_dsh_cmd() {
# 己在挂什么),只告警。
e2e_check_dsh_version() {
local explicit="$1" actual expected
- expected="${DSH_EXPECT_VERSION:-0.2.0-rc.2}"
+ expected="${DSH_EXPECT_VERSION:-0.2.1-alpha.5}"
# `dsh --version` 冷启动要走 npx,给足预算;拿不到版本就只告警。
actual="$($DSH_CMD --version 2>/dev/null | tr -d '[:space:]' | head -c 64 || true)"
case "$actual" in
diff --git a/scripts/install.ps1 b/scripts/install.ps1
index 44a3422c..a8ba22e6 100644
--- a/scripts/install.ps1
+++ b/scripts/install.ps1
@@ -28,7 +28,7 @@
# 环境变量(均可省略):
# DSH_HOME 默认 %USERPROFILE%\.dsh
# REGISTRY 默认 https://registry.npmjs.org
-# DSH_CMD 默认优先 PATH 上的 dsh,缺省回退 npx -y --package @deepseek-ai/dsh
+# DSH_CMD 默认优先 PATH 上的 dsh,缺省回退 npx -y --package @deepseek-ai/dsh@0.2.1-alpha.5
#
# 说明:
# - pnpm 11 的 minimumReleaseAge 会拒绝发布 <24h 的新版本。脚本会预写
@@ -173,7 +173,7 @@ Ensure-WorkspaceSettings
if ($CLI -eq 'dsh') {
$cliArgs = @('plugin', '--profile', $Profile, 'add', "$PKG@$SPEC")
} else {
- $cliArgs = @('-y', '--package', '@deepseek-ai/dsh', 'dsh', 'plugin', '--profile', $Profile, 'add', "$PKG@$SPEC")
+ $cliArgs = @('-y', '--package', '@deepseek-ai/dsh@0.2.1-alpha.5', 'dsh', 'plugin', '--profile', $Profile, 'add', "$PKG@$SPEC")
}
Say "执行 $CLI plugin --profile $Profile add $PKG@$SPEC ..."
$addOut = & $CLI @cliArgs 2>&1
diff --git a/scripts/install.sh b/scripts/install.sh
index 69e4183f..ec6bfd37 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -24,7 +24,7 @@
# 环境(均可省略,脚本会自动探测):
# DSH_HOME 默认 ~/.dsh(Windows Git Bash 下回退 $USERPROFILE/.dsh)
# REGISTRY 默认 https://registry.npmjs.org(发布源;装依赖仍走 pnpm 配置)
-# DSH_CMD 默认优先用 PATH 上的 `dsh`,缺省回退 npx -y --package @deepseek-ai/dsh
+# DSH_CMD 默认优先用 PATH 上的 `dsh`,缺省回退 npx -y --package @deepseek-ai/dsh@0.2.1-alpha.5
#
# 说明:
# - pnpm 11 的 minimumReleaseAge 会拒绝发布 <24h 的新版本。脚本会预写
@@ -140,7 +140,7 @@ dsh_cli() {
if command -v "$DSH_CMD" >/dev/null 2>&1; then
printf '%s' "$DSH_CMD"
elif command -v npx >/dev/null 2>&1; then
- printf 'npx -y --package @deepseek-ai/dsh@0.1.7-alpha.1 dsh'
+ printf 'npx -y --package @deepseek-ai/dsh@0.2.1-alpha.5 dsh'
else
die "未找到 dsh 或 npx。请先安装 DSH(并确保 Node/npm 可用),或用 DSH_CMD 指定 dsh 路径。"
fi
diff --git a/scripts/package-registry.mjs b/scripts/package-registry.mjs
index dfa3c474..4ce33f46 100644
--- a/scripts/package-registry.mjs
+++ b/scripts/package-registry.mjs
@@ -26,7 +26,6 @@ const out = join(root, 'registry')
const files = [
'dsh.plugin.json',
'lib/index.js',
- 'lib/invariant.js',
'lib/client-registry.js',
'lib/client-registry.js.map',
// Lazy chunks: the client fetches these from the host's /sidebar/bundle
diff --git a/src/active-worktree.ts b/src/active-worktree.ts
index b6f76bb2..3a6ecdb2 100644
--- a/src/active-worktree.ts
+++ b/src/active-worktree.ts
@@ -1,10 +1,11 @@
/**
* Follow the linked git worktree a session is ACTUALLY working in.
*
- * The explorer is rooted at the session's stored header cwd, which never
- * changes. A session can move into a linked git worktree (`git worktree add`)
+ * The explorer starts from the host's committed workingDirectory, which can
+ * change independently of the immutable header. It can also follow a linked
+ * git worktree (`git worktree add`)
* during its life including a worktree of a repository that is not the one
- * the header cwd points at and the sidebar should follow it.
+ * the current directory points at and the sidebar should follow it.
*
* The active root is derived from the session's own `tool/call` arguments:
* absolute paths are collected newest-event-first (structured `cwd` / `workdir`
@@ -14,7 +15,8 @@
* and only top levels whose `--absolute-git-dir` differs from their
* `--git-common-dir` (i.e. real LINKED worktrees, not the main checkout and
* not submodules) are adopted. The highest-scoring linked worktree of the
- * newest event that has one wins; when there is no evidence the session cwd is
+ * newest event that has one wins, but only evidence after the last committed
+ * working-directory/change is eligible. When there is no evidence the cwd is
* kept (lifted to the repository top level for subdirectory sessions).
*
* Resolutions are cached process-wide ({@link ACTIVE_ROOT_TTL_MS}), concurrent
@@ -72,7 +74,7 @@ const ACTIVE_ROOT_PATH_PATTERN = /[A-Za-z]:(?:\\|\/)[^\\/\s"'\x60,;|)<>*?]+(?:[\
* (`undefined` = "no git top level here"), which is what keeps a non-repo
* session cheap; those entries are evictable like any other.
*/
-const activeWorktreeRootCache = new Map()
+const activeWorktreeRootCache = new Map()
const pathTopCache = new Map()
const linkedWorktreeCache = new Map()
@@ -106,6 +108,34 @@ function cachePut(map: Map, key: K, value: V, max: number): void {
}
}
+/** Latest committed directory change, observed incrementally per live Session. */
+const directoryEpochs = new WeakMap()
+
+/**
+ * Cache identity must notice explicit cd even when its resulting base equals
+ * the old base (an old tool may have temporarily selected a linked worktree).
+ * Indexed reads inspect only newly appended events, with zero snapshot copies;
+ * unchanged live cursors cost O(1). A first read only needs the same bounded
+ * history window used by the worktree evidence scan.
+ */
+function directoryEpochOf(ctx: Context, sessionId: string): number | undefined {
+ const session = ctx.sessions.get(sessionId)
+ if (session?.seq === undefined || session.eventAt === undefined) return undefined
+ const end = session.seq
+ const previous = directoryEpochs.get(session)
+ if (previous?.through === end) return previous.epoch
+ const start = previous?.through ?? Math.max(0, end - ACTIVE_ROOT_MAX_EVENTS)
+ let epoch = previous?.epoch ?? -1
+ for (let index = end - 1; index >= start; index -= 1) {
+ const event = session.eventAt(index)
+ if (event?.type !== 'working-directory/change') continue
+ epoch = event.seq
+ break
+ }
+ directoryEpochs.set(session, { through: end, epoch })
+ return epoch
+}
+
/**
* Normalized IDENTITY of a path (case- and separator-insensitive), for
* comparisons and cache keys only: it lowercases, so it must never be handed
@@ -280,6 +310,9 @@ async function activeRootFromEvents(events: readonly SidebarSessionEvent[], base
let probes = 0
for (let index = events.length - 1; index >= start; index -= 1) {
const event = events[index]
+ // An explicit directory transition is the authority boundary. Older tool
+ // paths belong to the previous execution context and must not override it.
+ if (event?.type === 'working-directory/change') break
if (event === undefined || event.type !== 'tool/call') continue
const weights = new Map()
collectActivePaths(event.data, weights, false)
@@ -342,17 +375,18 @@ export async function activeWorktreeRootOf(ctx: Context, sessionId: string, base
const override = (process.env[ACTIVE_ROOT_OVERRIDE_ENV] ?? '').trim()
if (override !== '' && isAbsolute(override)) return requireAbsolute(override)
// The comparison is on the raw base, so a session whose caller switched base
- // (the `/sidebar/*` routes pass the client's own) never reuses the other
+ // (a committed working_directory change) never reuses the other
// one's root.
+ const directoryEpoch = directoryEpochOf(ctx, sessionId)
const cached = activeWorktreeRootCache.get(sessionId)
- if (cached !== undefined && cached.expires > Date.now() && cached.base === base) {
+ if (cached !== undefined && cached.expires > Date.now() && cached.base === base && cached.directoryEpoch === directoryEpoch) {
cachePut(activeWorktreeRootCache, sessionId, cached, ACTIVE_ROOT_CACHE_MAX)
return cached.root
}
- const flightKey = `${sessionId}\0${base}`
+ const flightKey = `${sessionId}\0${base}\0${directoryEpoch ?? ''}`
const pending = activeRootInFlight.get(flightKey)
if (pending !== undefined) return pending
- const promise = resolveActiveWorktreeRoot(ctx, sessionId, base).then(
+ const promise = resolveActiveWorktreeRoot(ctx, sessionId, base, directoryEpoch).then(
(root) => {
activeRootInFlight.delete(flightKey)
return root
@@ -367,18 +401,18 @@ export async function activeWorktreeRootOf(ctx: Context, sessionId: string, base
}
/** One uncached resolution (see {@link activeWorktreeRootOf}). */
-async function resolveActiveWorktreeRoot(ctx: Context, sessionId: string, base: string): Promise {
+async function resolveActiveWorktreeRoot(ctx: Context, sessionId: string, base: string, directoryEpoch: number | undefined): Promise {
const top = await topLevelOf(base)
if (top === undefined) {
// "Not inside a repository" is an answer too (the base itself), and caching
// it is what keeps a non-repo session from re-probing on every ask.
- cachePut(activeWorktreeRootCache, sessionId, { root: base, base, expires: Date.now() + ACTIVE_ROOT_TTL_MS }, ACTIVE_ROOT_CACHE_MAX)
+ cachePut(activeWorktreeRootCache, sessionId, { root: base, base, directoryEpoch, expires: Date.now() + ACTIVE_ROOT_TTL_MS }, ACTIVE_ROOT_CACHE_MAX)
return base
}
const canonicalTop = requireAbsolute(top)
const effectiveBase = pathUnderOf(base, canonicalTop) ? base : canonicalTop
const active = await activeRootFromEvents(await sessionEventsOf(ctx, sessionId), effectiveBase)
const root = active ?? effectiveBase
- cachePut(activeWorktreeRootCache, sessionId, { root, base, expires: Date.now() + ACTIVE_ROOT_TTL_MS }, ACTIVE_ROOT_CACHE_MAX)
+ cachePut(activeWorktreeRootCache, sessionId, { root, base, directoryEpoch, expires: Date.now() + ACTIVE_ROOT_TTL_MS }, ACTIVE_ROOT_CACHE_MAX)
return root
}
diff --git a/src/client/SideChatView.tsx b/src/client/SideChatView.tsx
index dcd57e31..42ff2384 100644
--- a/src/client/SideChatView.tsx
+++ b/src/client/SideChatView.tsx
@@ -585,6 +585,7 @@ export function SideChatView(props: {
injectionLabel: t('sideChatInjection'),
terminal: {
...shared,
+ commandLine: (line: number) => t('sideChatBlockCommandLine', { line }),
signal: (signal: string) => t('sideChatBlockSignal', { signal }),
exitCode: (exitCode: number) => t('sideChatBlockExitCode', { code: exitCode }),
// DSH 0.1.6-alpha.2 added this pill text: a settle the view cannot
diff --git a/src/client/block-labels.ts b/src/client/block-labels.ts
index 1bca825f..ad61a2f6 100644
--- a/src/client/block-labels.ts
+++ b/src/client/block-labels.ts
@@ -37,6 +37,7 @@ export function blockLabels(): BlockLabels {
/** The `TerminalBlockLabels` shape (structural mirror; the host owns the type). */
export interface TerminalLabels {
+ commandLine: (line: number) => string
signal: (signal: string) => string
exitCode: (exitCode: number) => string
noExitCode: string
@@ -56,6 +57,7 @@ export interface TerminalLabels {
export function terminalBlockLabels(): TerminalLabels {
return {
...blockLabels(),
+ commandLine: (line: number) => t('sideChatBlockCommandLine', { line }),
signal: (signal: string) => t('sideChatBlockSignal', { signal }),
exitCode: (exitCode: number) => t('sideChatBlockExitCode', { code: exitCode }),
// DSH 0.1.6-alpha.2 added this pill text: a settle the view cannot
diff --git a/src/client/locales-ar.ts b/src/client/locales-ar.ts
index 918c626a..bb9e6ffd 100644
--- a/src/client/locales-ar.ts
+++ b/src/client/locales-ar.ts
@@ -451,6 +451,7 @@ export const ar: Record = {
sideChatBlockFailed: 'فشل',
sideChatBlockDone: 'اكتمل',
sideChatBlockNoOutput: '(لا يوجد إخراج)',
+ sideChatBlockCommandLine: 'سطر الأمر {line}',
codeBlockTitle: 'كتلة التعليمات البرمجية',
codeBlockWrap: 'التفاف الأسطر',
codeBlockUnwrap: 'بدون التفاف للأسطر',
diff --git a/src/client/locales-de.ts b/src/client/locales-de.ts
index 7a3dbc04..aa7a8828 100644
--- a/src/client/locales-de.ts
+++ b/src/client/locales-de.ts
@@ -436,6 +436,7 @@ export const de: Record = {
sideChatBlockFailed: 'Fehlgeschlagen',
sideChatBlockDone: 'Fertig',
sideChatBlockNoOutput: '(keine Ausgabe)',
+ sideChatBlockCommandLine: 'Befehlszeile {line}',
codeBlockTitle: 'Codeblock',
codeBlockWrap: 'Zeilen umbrechen',
codeBlockUnwrap: 'Zeilen nicht umbrechen',
diff --git a/src/client/locales-fr.ts b/src/client/locales-fr.ts
index 0c5b931a..7b1311fe 100644
--- a/src/client/locales-fr.ts
+++ b/src/client/locales-fr.ts
@@ -443,6 +443,7 @@ export const fr: Record = {
sideChatBlockFailed: 'Échec',
sideChatBlockDone: 'Terminé',
sideChatBlockNoOutput: '(aucune sortie)',
+ sideChatBlockCommandLine: 'Ligne de commande {line}',
codeBlockTitle: 'Bloc de code',
codeBlockWrap: 'Retour à la ligne',
codeBlockUnwrap: 'Ne pas retourner à la ligne',
diff --git a/src/client/locales-hi.ts b/src/client/locales-hi.ts
index f99fafaa..45fd3325 100644
--- a/src/client/locales-hi.ts
+++ b/src/client/locales-hi.ts
@@ -450,6 +450,7 @@ export const hi: Record = {
sideChatBlockFailed: 'विफल',
sideChatBlockDone: 'पूर्ण',
sideChatBlockNoOutput: '(कोई आउटपुट नहीं)',
+ sideChatBlockCommandLine: 'कमांड की पंक्ति {line}',
codeBlockTitle: 'कोड ब्लॉक',
codeBlockWrap: 'पंक्तियाँ लपेटें',
codeBlockUnwrap: 'पंक्तियाँ न लपेटें',
diff --git a/src/client/locales-id.ts b/src/client/locales-id.ts
index 8d0316c2..f2a14dc3 100644
--- a/src/client/locales-id.ts
+++ b/src/client/locales-id.ts
@@ -448,6 +448,7 @@ export const id: Record = {
sideChatBlockFailed: 'Gagal',
sideChatBlockDone: 'Selesai',
sideChatBlockNoOutput: '(tanpa output)',
+ sideChatBlockCommandLine: 'Baris perintah {line}',
codeBlockTitle: 'Blok kode',
codeBlockWrap: 'Bungkus baris',
codeBlockUnwrap: 'Jangan bungkus baris',
diff --git a/src/client/locales-it.ts b/src/client/locales-it.ts
index 247f4015..5f9b5baa 100644
--- a/src/client/locales-it.ts
+++ b/src/client/locales-it.ts
@@ -441,6 +441,7 @@ export const it: Record = {
sideChatBlockFailed: 'Non riuscito',
sideChatBlockDone: 'Completato',
sideChatBlockNoOutput: '(nessun output)',
+ sideChatBlockCommandLine: 'Riga di comando {line}',
codeBlockTitle: 'Blocco di codice',
codeBlockWrap: 'A capo automatico',
codeBlockUnwrap: 'Nessun a capo',
diff --git a/src/client/locales-ja.ts b/src/client/locales-ja.ts
index 786818c0..708caa31 100644
--- a/src/client/locales-ja.ts
+++ b/src/client/locales-ja.ts
@@ -450,6 +450,7 @@ export const ja: Record = {
sideChatBlockFailed: '失敗',
sideChatBlockDone: '完了',
sideChatBlockNoOutput: '(出力なし)',
+ sideChatBlockCommandLine: 'コマンド行 {line}',
codeBlockTitle: 'コードブロック',
codeBlockWrap: '折り返しを有効にする',
codeBlockUnwrap: '折り返しを無効にする',
diff --git a/src/client/locales-ko.ts b/src/client/locales-ko.ts
index 5671ed9c..deb046ed 100644
--- a/src/client/locales-ko.ts
+++ b/src/client/locales-ko.ts
@@ -442,6 +442,7 @@ export const ko: Record = {
sideChatBlockFailed: '실패',
sideChatBlockDone: '완료',
sideChatBlockNoOutput: '(출력 없음)',
+ sideChatBlockCommandLine: '명령어 {line}행',
codeBlockTitle: '코드 블록',
codeBlockWrap: '줄 바꿈',
codeBlockUnwrap: '줄 바꿈 해제',
diff --git a/src/client/locales-nl.ts b/src/client/locales-nl.ts
index 1df6e911..a6c2b84a 100644
--- a/src/client/locales-nl.ts
+++ b/src/client/locales-nl.ts
@@ -448,6 +448,7 @@ export const nl: Record = {
sideChatBlockFailed: 'Mislukt',
sideChatBlockDone: 'Voltooid',
sideChatBlockNoOutput: '(geen uitvoer)',
+ sideChatBlockCommandLine: 'Opdrachtregel {line}',
codeBlockTitle: 'Codeblok',
codeBlockWrap: 'Regels afbreken',
codeBlockUnwrap: 'Regels niet afbreken',
diff --git a/src/client/locales-pl.ts b/src/client/locales-pl.ts
index 1093f7f0..ecfa1002 100644
--- a/src/client/locales-pl.ts
+++ b/src/client/locales-pl.ts
@@ -452,6 +452,7 @@ export const pl: Record = {
sideChatBlockFailed: 'Niepowodzenie',
sideChatBlockDone: 'Zakończono',
sideChatBlockNoOutput: '(brak wyniku)',
+ sideChatBlockCommandLine: 'Wiersz polecenia {line}',
codeBlockTitle: 'Blok kodu',
codeBlockWrap: 'Zawijanie wierszy',
codeBlockUnwrap: 'Bez zawijania wierszy',
diff --git a/src/client/locales-pt.ts b/src/client/locales-pt.ts
index 7025b965..94853296 100644
--- a/src/client/locales-pt.ts
+++ b/src/client/locales-pt.ts
@@ -433,6 +433,7 @@ export const pt: Record = {
sideChatBlockFailed: 'Falhou',
sideChatBlockDone: 'Concluído',
sideChatBlockNoOutput: '(sem saída)',
+ sideChatBlockCommandLine: 'Linha de comando {line}',
codeBlockTitle: 'Bloco de código',
codeBlockWrap: 'Quebrar linhas',
codeBlockUnwrap: 'Não quebrar linhas',
diff --git a/src/client/locales-ru.ts b/src/client/locales-ru.ts
index d09dd12f..0b9a928e 100644
--- a/src/client/locales-ru.ts
+++ b/src/client/locales-ru.ts
@@ -448,6 +448,7 @@ export const ru: Record = {
sideChatBlockFailed: 'Ошибка',
sideChatBlockDone: 'Готово',
sideChatBlockNoOutput: '(нет вывода)',
+ sideChatBlockCommandLine: 'Строка команды {line}',
codeBlockTitle: 'Блок кода',
codeBlockWrap: 'Переносить строки',
codeBlockUnwrap: 'Не переносить строки',
diff --git a/src/client/locales-sv.ts b/src/client/locales-sv.ts
index 12c2ef3f..ed8edb0b 100644
--- a/src/client/locales-sv.ts
+++ b/src/client/locales-sv.ts
@@ -433,6 +433,7 @@ export const sv: Record = {
sideChatBlockFailed: 'Misslyckades',
sideChatBlockDone: 'Klar',
sideChatBlockNoOutput: '(ingen utdata)',
+ sideChatBlockCommandLine: 'Kommandorad {line}',
codeBlockTitle: 'Kodblock',
codeBlockWrap: 'Radbrytning',
codeBlockUnwrap: 'Ingen radbrytning',
diff --git a/src/client/locales-th.ts b/src/client/locales-th.ts
index 7005042d..5a334b20 100644
--- a/src/client/locales-th.ts
+++ b/src/client/locales-th.ts
@@ -450,6 +450,7 @@ export const th: Record = {
sideChatBlockFailed: 'ล้มเหลว',
sideChatBlockDone: 'เสร็จสิ้น',
sideChatBlockNoOutput: '(ไม่มีเอาต์พุต)',
+ sideChatBlockCommandLine: 'บรรทัดคำสั่ง {line}',
codeBlockTitle: 'บล็อกโค้ด',
codeBlockWrap: 'ตัดบรรทัดอัตโนมัติ',
codeBlockUnwrap: 'ไม่ตัดบรรทัด',
diff --git a/src/client/locales-tr.ts b/src/client/locales-tr.ts
index ed69fefc..46278809 100644
--- a/src/client/locales-tr.ts
+++ b/src/client/locales-tr.ts
@@ -450,6 +450,7 @@ export const tr: Record = {
sideChatBlockFailed: 'Başarısız',
sideChatBlockDone: 'Tamamlandı',
sideChatBlockNoOutput: '(çıktı yok)',
+ sideChatBlockCommandLine: 'Komut satırı {line}',
codeBlockTitle: 'Kod bloğu',
codeBlockWrap: 'Satırları kaydır',
codeBlockUnwrap: 'Satırları kaydırma',
diff --git a/src/client/locales-vi.ts b/src/client/locales-vi.ts
index 10a6ac74..afef8e4f 100644
--- a/src/client/locales-vi.ts
+++ b/src/client/locales-vi.ts
@@ -450,6 +450,7 @@ export const vi: Record = {
sideChatBlockFailed: 'Thất bại',
sideChatBlockDone: 'Hoàn tất',
sideChatBlockNoOutput: '(không có đầu ra)',
+ sideChatBlockCommandLine: 'Dòng lệnh {line}',
codeBlockTitle: 'Khối mã',
codeBlockWrap: 'Ngắt dòng',
codeBlockUnwrap: 'Không ngắt dòng',
diff --git a/src/client/locales-zh-HK.ts b/src/client/locales-zh-HK.ts
index b7ecb1bb..83a8d94b 100644
--- a/src/client/locales-zh-HK.ts
+++ b/src/client/locales-zh-HK.ts
@@ -465,6 +465,7 @@ export const zhHK: Record = {
sideChatBlockFailed: '失敗',
sideChatBlockDone: '完成',
sideChatBlockNoOutput: '(無輸出)',
+ sideChatBlockCommandLine: '指令第 {line} 行',
codeBlockTitle: '程式碼區塊',
codeBlockWrap: '自動換行',
codeBlockUnwrap: '取消自動換行',
diff --git a/src/client/locales-zh-MO.ts b/src/client/locales-zh-MO.ts
index 02f8b11c..89022d35 100644
--- a/src/client/locales-zh-MO.ts
+++ b/src/client/locales-zh-MO.ts
@@ -465,6 +465,7 @@ export const zhMO: Record = {
sideChatBlockFailed: '失敗',
sideChatBlockDone: '完成',
sideChatBlockNoOutput: '(無輸出)',
+ sideChatBlockCommandLine: '指令第 {line} 行',
codeBlockTitle: '程式碼區塊',
codeBlockWrap: '自動換行',
codeBlockUnwrap: '取消自動換行',
diff --git a/src/client/locales-zh-TW.ts b/src/client/locales-zh-TW.ts
index 9e6ae0e6..5b2ab48e 100644
--- a/src/client/locales-zh-TW.ts
+++ b/src/client/locales-zh-TW.ts
@@ -465,6 +465,7 @@ export const zhTW: Record = {
sideChatBlockFailed: '失敗',
sideChatBlockDone: '完成',
sideChatBlockNoOutput: '(無輸出)',
+ sideChatBlockCommandLine: '指令第 {line} 行',
codeBlockTitle: '程式碼區塊',
codeBlockWrap: '自動換行',
codeBlockUnwrap: '取消自動換行',
diff --git a/src/client/locales.ts b/src/client/locales.ts
index f58d35dc..83062b0b 100644
--- a/src/client/locales.ts
+++ b/src/client/locales.ts
@@ -462,6 +462,7 @@ export const zh = {
sideChatBlockFailed: '失败',
sideChatBlockDone: '完成',
sideChatBlockNoOutput: '(无输出)',
+ sideChatBlockCommandLine: '命令第 {line} 行',
codeBlockTitle: '代码块',
codeBlockWrap: '自动换行',
codeBlockUnwrap: '取消自动换行',
@@ -1084,6 +1085,7 @@ export const en: Record = {
sideChatBlockFailed: 'Failed',
sideChatBlockDone: 'Done',
sideChatBlockNoOutput: '(no output)',
+ sideChatBlockCommandLine: 'Command line {line}',
codeBlockTitle: 'Code block',
codeBlockWrap: 'Wrap lines',
codeBlockUnwrap: 'Do not wrap lines',
diff --git a/src/client/service.ts b/src/client/service.ts
index fd87cc0a..fd850c1e 100644
--- a/src/client/service.ts
+++ b/src/client/service.ts
@@ -819,7 +819,7 @@ export function matchUrlTarget(tabs: readonly TabDescriptor[], url: URL): TabDes
* The plugin version this service instance reports. Keep in lockstep with
* `package.json`'s version — `tests/service.spec.ts` asserts the pair.
*/
-export const SIDEBAR_SERVICE_VERSION = '0.27.0'
+export const SIDEBAR_SERVICE_VERSION = '0.28.0-alpha.0'
/**
* Monotonic capability list consumers use to gate new API usage (features
diff --git a/src/context-types.ts b/src/context-types.ts
index d5703403..122bb90d 100644
--- a/src/context-types.ts
+++ b/src/context-types.ts
@@ -1,3 +1,5 @@
+///
+
/**
* Structural types for the cordis services this plugin consumes, plus the
* Context face both halves share.
@@ -90,7 +92,7 @@ export interface SidebarWebServer {
registerUpgrade(route: SidebarWebUpgradeRoute): () => void
}
-/** A published session's header slice the sidebar reads (authoritative cwd). */
+/** A published session's immutable original-project metadata. */
export interface SidebarSessionHeader {
cwd?: string
}
@@ -99,6 +101,9 @@ export interface SidebarSessionHeader {
export interface SidebarSessionStore {
get(id: string): {
header: SidebarSessionHeader
+ /** Live cursor and indexed reads avoid copying the whole log for cache identity. */
+ readonly seq?: number
+ eventAt?(seq: number): SidebarSessionEvent | undefined
/**
* The live session's append-only event log as an immutable snapshot.
* Read-only access — the jobs.output route replays `job_output`
@@ -110,13 +115,16 @@ export interface SidebarSessionStore {
}
/**
- * The web runtime service face (mirror of @deepseek-ai/dsh-web-app's
- * WebRuntimeValues): the bind-derived trust list the /api gateway's fence
- * accepts — LAN IP literals sampled when the server binds all interfaces,
- * plus explicit `--trusted-host` authorities.
+ * Host request admission plus the client transport recovery face.
*/
-export interface SidebarWebRuntime {
- trustedHosts: readonly string[]
+export interface SidebarConnectionService {
+ /** Public Host/Origin and authentication policy (DSH 0.2.0-rc.2+). */
+ requestRejection(request: { headers: Record }): 401 | 403 | undefined
+ state: {
+ getSnapshot(): 'connected' | 'disconnected' | 'connecting' | undefined
+ subscribe(listener: () => void): () => void
+ }
+ reconnect(): void
}
/** Registration options the sidebar passes to `ctx.slots.register` (subset of the real options). */
@@ -685,20 +693,6 @@ export interface SidebarWorkspacesService {
}
}
-/**
- * The invariant service face (mirror of @deepseek-ai/dsh-invariants'
- * InvariantRegistry). The upstream augmentation does not reach this Context
- * (dual-cordis-instance resolution), so the register signature is restated
- * structurally, exactly like the other service faces above.
- */
-export interface SidebarInvariantsService {
- /** Reserve one package's checks and install them in the service's child fiber. */
- register(
- packageName: string,
- installer: (ctx: Context, fail: (message: string) => never) => void | Promise,
- ): () => void
-}
-
/**
* The settings service face (mirror of `@deepseek-ai/dsh-settings`'
* `SettingsForms`).
@@ -799,14 +793,25 @@ export interface SidebarContextShape {
webServer: SidebarWebServer
/** The session store (host `.get`) and the client list feed (`.list`) faces. */
sessions: SidebarSessionStore & SidebarSessionsService
- /** The web runtime trust list (bind-derived). */
- webRuntime: SidebarWebRuntime
+ /** Committed current execution directory; the header keeps the original project. */
+ workingDirectory: {
+ readonly defaultDirectory?: string
+ get(session: { header: SidebarSessionHeader }): string
+ }
+ /** Host-owned live/prepared observation, including cold-session projections. */
+ sessionQuery: {
+ observeSession(id: string, options: { projectionMode: 'all' }): Promise<{
+ header: SidebarSessionHeader
+ projections?: { values: { workingDirectory?: string | null } }
+ [Symbol.dispose](): void
+ }>
+ }
+ /** Native host request admission and client transport recovery. */
+ connection: SidebarConnectionService
/** The client slot registry (register/inject). */
slots: SidebarSlotsService
/** The settings service face (prefs persistence + namespace reads). */
settings: SidebarSettingsService
- /** The invariant registry face. */
- invariants: SidebarInvariantsService
/** The tool registry face. */
tools: SidebarToolsService
/** The client locale service face. */
@@ -839,19 +844,6 @@ export interface SidebarContextShape {
sessionTitle: SidebarSessionTitleService
/** The host session-persistence service (optional; side chat cold resume). */
sessionPersistence: SidebarSessionPersistenceService
- /**
- * The client connection lifecycle (DSH 0.1.2-alpha.2+; optional so older
- * hosts and test fakes simply hide the disconnect banner): the observable
- * recovery state of the Remote transport (`undefined` before the first
- * connection outcome) and an immediate-reconnect request.
- */
- connection?: {
- state: {
- getSnapshot(): 'connected' | 'disconnected' | 'connecting' | undefined
- subscribe(listener: () => void): () => void
- }
- reconnect(): void
- }
/** The composer draft face (client ui-conversation, lazy `ctx.get` probe). */
conversation: SidebarConversation
/** Host-authoritative workspace membership; resolved lazily at reference insertion. */
diff --git a/src/index.ts b/src/index.ts
index c305cdc7..e7bb19ce 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -2,12 +2,9 @@
* dsh-better-sidebar host half: the /sidebar JSON API (explorer listing, file
* read/write, git), the /sidebar/file media route (images), the /sidebar/html
* preview route, the /sidebar/bundle lazy-chunk route (client code splits),
- * and the two WebSocket upgrades (sidebar_open pushes). Every route passes the same
- * browser-trust fence as the /api gateway — Host-header loopback or the
- * web runtime's `trustedHosts` (LAN IP literals sampled at boot plus
- * `--trusted-host` authorities), read per request from the live service
- * value so the fence tracks the same trust source the /api gateway derives
- * its list from.
+ * and the WebSocket upgrades. Every route delegates admission to the same
+ * public Connection service as the /api gateway (Host/Origin and browser
+ * authentication), read per request.
*
* All operations are conversation-scoped: requests carry a sessionId and the
* session's authoritative cwd comes from the session store.
@@ -36,7 +33,6 @@ import { ensureWorkspacePath } from './path-security.ts'
import { searchFiles } from './fs-search.ts'
import { compileExcludePatterns } from './exclude-patterns.ts'
import { decodeHtmlUrl } from './html-route.ts'
-import { isTrustedApiRequest } from './trust-fence.ts'
import { registerBundleRoute } from './bundle-route.ts'
import { createDirectoryWatchers, type DirectoryWatchers } from './fs-watch.ts'
import { createSidechatPushHub } from './sidechat-push.ts'
@@ -112,8 +108,8 @@ export interface SidebarFsLevel {
error?: string
}
-/** Services required before mounting: the webserver routes, the session store, the web runtime's trusted hosts, and the tool registry. */
-export const inject = ['webServer', 'sessions', 'webRuntime', 'tools']
+/** Services required before mounting: routes, sessions, native request admission, and tools. */
+export const inject = ['webServer', 'sessions', 'connection', 'tools']
/** Content types for the media route, by extension. */
const MEDIA_TYPES: Record = {
@@ -137,24 +133,31 @@ export function mediaTypeForPath(path: string): string {
}
/**
- * Resolve a session's authoritative working directory. The attached session
- * header wins; while the session is still hydrating from persistence (the
- * web client attaches the current conversation a moment after page load, so
- * the very first sidebar requests can arrive detached) the caller's own
- * list-summary cwd is used; the session-persistence index is queried as a
- * last resort for cold (not-yet-attached) sessions so a detached first
- * request still resolves the correct project instead of the host process
- * cwd (which on Windows is the DSH source root after `dsh.cmd`'s `pushd`,
- * causing every user-project path to be misclassified as "outside
- * workspace"). The host process cwd is the FINAL fallback for deployments
- * without persistence (tests / stripped-down hosts); production always
- * provides persistence, so the bug-fix path (header → client → persistence)
- * always resolves the real session cwd before reaching it.
+ * Resolve the committed execution directory before client or original-header
+ * hints. Live reads are synchronous; detached reads use the host observation
+ * lease and its revision-keyed projection cache, never a plugin-owned log fold
+ * or TTL that could hide a working_directory change.
*/
async function sessionCwdOf(ctx: Context, sessionId: string, clientCwd?: string): Promise {
const session = ctx.sessions.get(sessionId)
- const headerCwd = session?.header.cwd
- if (headerCwd !== undefined && headerCwd !== '') return headerCwd
+ // The immutable header is the original project, not the current execution
+ // directory. Read the host's committed value on every request (no TTL).
+ if (session !== undefined) {
+ const cwd = ctx.get('workingDirectory')?.get(session) ?? session.header.cwd
+ if (cwd !== undefined && cwd !== '') return cwd
+ }
+ const query = ctx.get('sessionQuery')
+ if (query !== undefined) {
+ const observation = await query.observeSession(sessionId, { projectionMode: 'all' })
+ try {
+ const cwd = observation.projections?.values.workingDirectory
+ ?? observation.header.cwd
+ ?? ctx.get('workingDirectory')?.defaultDirectory
+ if (cwd !== undefined && cwd !== '') return requireAbsolute(cwd)
+ } finally {
+ observation[Symbol.dispose]()
+ }
+ }
if (clientCwd !== undefined && clientCwd !== '') {
try {
return requireAbsolute(clientCwd)
@@ -1301,18 +1304,16 @@ async function importLegacyPrefs(
/**
* Plugin body: mount the fenced routes and the sidebar_open push socket.
- * @param ctx - host plugin context (webServer, sessions, webRuntime).
+ * @param ctx - host plugin context (webServer, sessions, connection).
* @param config - deployment-provided limits; the Loader validates against
* {@link Config} and fills defaults, direct callers get them from
* {@link resolveSidebarConfig}.
*/
export function apply(ctx: Context, config?: SidebarConfig): void {
const resolved = resolveSidebarConfig(config)
- // The web runtime's bind-derived trust list (boot-sampled LAN literals
- // plus --trusted-host authorities) — the authoritative source the /api
- // gateway fence derives its list from. Read per request from the live
- // service value; a replaced list takes effect without a plugin restart.
- const fence = (req: SidebarHttpRequest): boolean => isTrustedApiRequest(req, ctx.webRuntime.trustedHosts)
+ // Connection owns both deployment trust and authentication; never infer or
+ // bypass its policy from invocation flags or a copied trust list.
+ const fence = (req: SidebarHttpRequest): boolean => ctx.connection.requestRejection(req) === undefined
// The model-facing open-request registry: queues `sidebar_open` requests
// per session and pushes them to connected sidebar views over the
// `/sidebar/ws/agent-opens` socket.
diff --git a/src/invariant.ts b/src/invariant.ts
deleted file mode 100644
index 8b6a5aea..00000000
--- a/src/invariant.ts
+++ /dev/null
@@ -1,32 +0,0 @@
-/**
- * Package-owned invariant companion for `dsh-better-sidebar`.
- * @module dsh-better-sidebar/invariant
- */
-
-/* jscpd:ignore-start */
-import type { Context } from './context-types.ts'
-
-const PACKAGE_NAME = 'dsh-better-sidebar'
-
-/** Cordis companion plugin name. */
-export const name = 'dsh-better-sidebar-invariant'
-/** Service required before the companion can reserve package ownership. */
-export const inject = ['invariants']
-
-/**
- * No runtime invariant: the sidebar owns no service state or event protocol
- * of its own — every route is mounted under the host's webServer fence, the
- * pty lifecycle is exercised by the smoke spec, and the panel's store is a
- * plain snapshot registry asserted by the behavior specs. The route fence,
- * pty quota, and store semantics are each observed through their seams.
- */
-const install: () => void = () => {}
-
-/**
- * Register this package's invariant companion.
- * @param ctx - Cordis context carrying the invariant service.
- * @returns the installed registration's disposer after setup succeeds.
- */
-export const apply = (ctx: Context): Promise<() => void> =>
- Promise.resolve(ctx.invariants.register(PACKAGE_NAME, install))
-/* jscpd:ignore-end */
diff --git a/src/sidechat-routes.ts b/src/sidechat-routes.ts
index 8ffc1d0e..b75b6d1b 100644
--- a/src/sidechat-routes.ts
+++ b/src/sidechat-routes.ts
@@ -616,6 +616,8 @@ export function buildSidechatApi(ctx: Context, live?: AssistantLiveBuffer): Side
throw new SidebarError('sidechat-error', `parent session "${sessionId}" is not running`, 409)
}
const parentSession = parent.session
+ const workingDirectory = ctx.get('workingDirectory')
+ const parentCwd = workingDirectory?.get(parentSession) ?? parentSession.header.cwd
// The parent's CURRENT model route. agent.options freezes the
// creation-time deployment default — a composer model switch rides
// `model/selection` events + the session-local selection and never
@@ -651,13 +653,24 @@ export function buildSidechatApi(ctx: Context, live?: AssistantLiveBuffer): Side
...(routeProvider === undefined ? {} : { agentProvider: routeProvider }),
...(routeModel === undefined ? {} : { agentModel: routeModel }),
})
+ // A truncated inheritance can end before the parent's last directory
+ // change. Header cwd alone cannot win: the host projection replays seed
+ // working-directory/change events over it. Stamp the committed directory
+ // at the seed boundary, using the host-owned event rather than refolding
+ // its history or asking set() to enqueue a synthetic user notice.
+ const directorySeed: SeedEvent[] = workingDirectory === undefined ? [] : [{
+ type: 'working-directory/change',
+ seq: inheritance.seed.length,
+ time: Date.now(),
+ data: { cwd: parentCwd },
+ }]
const descriptorEvent: SeedEvent = {
type: 'subagent/descriptor',
- seq: inheritance.seed.length,
+ seq: inheritance.seed.length + directorySeed.length,
time: Date.now(),
data: descriptor as unknown as Record,
}
- const seed = [...inheritance.seed, descriptorEvent]
+ const seed = [...inheritance.seed, ...directorySeed, descriptorEvent]
// Fork-marker fields (the exact shape the host's own session.fork uses,
// api-session-controller): without `isSeeded` + `inheritedEventCount` the
// session treats the whole seed as the child's OWN events, so the child's
@@ -684,7 +697,7 @@ export function buildSidechatApi(ctx: Context, live?: AssistantLiveBuffer): Side
const options: CreateAgentOptions = {
sessionId: childId,
meta: {
- ...(parentSession.header.cwd === undefined ? {} : { cwd: parentSession.header.cwd }),
+ ...(parentCwd === undefined ? {} : { cwd: parentCwd }),
parentSession: parentSession.id,
isSeeded: true,
origin: 'subagent',
diff --git a/src/trust-fence.ts b/src/trust-fence.ts
deleted file mode 100644
index 26259da2..00000000
--- a/src/trust-fence.ts
+++ /dev/null
@@ -1,126 +0,0 @@
-/**
- * Browser-trust fence for the sidebar routes, copied from the /api gateway's
- * fence in @deepseek-ai/dsh-client-connection
- * (src/api-request-trust.ts + src/loopback-hostname.ts, BSD-3-Clause,
- * copied here because the package does not export these helpers and the
- * plugin must not depend on its internals) with one addition: the desktop
- * shell's application origin, which reaches only the routes the shell does not
- * forward. Host-header loopback or a configured trusted authority passes;
- * cross-site browser markers refuse.
- * This is a DNS-rebinding / cross-site defense, not authentication.
- */
-import type { IncomingHttpHeaders } from 'node:http'
-
-/** The request facts the fence reads (structural subset of IncomingMessage). */
-interface ApiTrustRequest {
- headers: IncomingHttpHeaders
- /** Present on a real node request; the bfcache exception is media-route only. */
- method?: string
- url?: string
-}
-
-function header(headers: IncomingHttpHeaders, name: string): string | undefined {
- const value = headers[name]
- return typeof value === 'string' ? value : undefined
-}
-
-/**
- * Origin of the Electron desktop shell's application page. The shell serves the
- * GUI from the `dsh-app:` scheme, so a page-initiated WebSocket handshake
- * carries this origin while the socket itself targets the Host's loopback
- * authority — an authority match is impossible by construction. The shell's own
- * request forwarder admits exactly this non-null origin and refuses every other
- * one; WebSocket upgrades bypass that forwarder (the scheme handler does not
- * carry them), which is why this fence is the first place the shell origin is
- * ever compared against a request.
- */
-const SHELL_APP_ORIGIN = 'dsh-app://app'
-
-/** Normalized URL of a Host-header authority, or undefined when unparsable. */
-function parseAuthority(authority: string): URL | undefined {
- try {
- return new URL(`http://${authority}`)
- } catch {
- return undefined
- }
-}
-
-/** Whether a normalized URL hostname names the local loopback authority. */
-export function isLoopbackHostname(hostname: string): boolean {
- if (hostname === 'localhost' || hostname === '[::1]') return true
- const parts = hostname.split('.')
- return parts.length === 4
- && parts[0] === '127'
- && parts.every(part => /^\d{1,3}$/.test(part) && Number(part) <= 255)
-}
-
-/** Canonical authority form: hostname, or hostname:port when a port was written. */
-function canonicalAuthority(entry: string, entryUrl: URL): string {
- const port = entryUrl.port !== '' ? entryUrl.port : new URL(`https://${entry}`).port
- return port === '' ? entryUrl.hostname : `${entryUrl.hostname}:${port}`
-}
-
-/** Whether the request authority matches a trustedHosts entry (exact or port-less). */
-function isTrustedAuthority(hostUrl: URL, trustedHosts: readonly string[]): boolean {
- return trustedHosts.some((entry) => {
- const entryUrl = parseAuthority(entry)
- if (entryUrl === undefined) return false
- return canonicalAuthority(entry, entryUrl) === entryUrl.hostname
- ? entryUrl.hostname === hostUrl.hostname
- : entryUrl.host === hostUrl.host
- })
-}
-
-/**
- * Decide whether one sidebar request may reach the plugin routes.
- * @param request - node HTTP request facts (headers, and the method/url the
- * media-route exception is scoped to).
- * @param trustedHosts - non-loopback authorities this deployment serves.
- * @returns true when the Host is ours (loopback or trusted) and browser markers are same-origin.
- */
-export function isTrustedApiRequest(request: ApiTrustRequest, trustedHosts: readonly string[]): boolean {
- const host = header(request.headers, 'host')
- if (host === undefined) return false
- const hostUrl = parseAuthority(host)
- if (hostUrl === undefined) return false
- if (!isLoopbackHostname(hostUrl.hostname) && !isTrustedAuthority(hostUrl, trustedHosts)) return false
- const fetchSite = header(request.headers, 'sec-fetch-site')
- if (fetchSite === 'cross-site') {
- // Chromium can restore a same-origin image from bfcache with a stale
- // cross-site marker. The exception is deliberately narrow: the media route
- // only, browser image subresources only (`no-cors` + `image`), and the
- // unforgeable Referer must name this exact authority. API requests, uploads,
- // HTML previews, foreign embeds and Referer-less requests stay refused.
- const referer = header(request.headers, 'referer')
- const mediaRequest = request.method === 'GET' && (request.url ?? '').startsWith('/sidebar/file')
- const restoredImage = mediaRequest
- && header(request.headers, 'sec-fetch-mode') === 'no-cors'
- && header(request.headers, 'sec-fetch-dest') === 'image'
- && referer !== undefined
- && (() => {
- try {
- return new URL(referer).host === hostUrl.host
- } catch {
- return false
- }
- })()
- if (!restoredImage) return false
- }
- // Origin fence: when a browser attaches an Origin it must name this
- // hostname (the Host fence above already bound the authority, so the port
- // must not re-decide trust). Comparing hostname, not host: some Chromium
- // builds (Edge 151) serialize the Origin of a non-default-port loopback page
- // without the port, and refusing those bricks every /sidebar route. Absent
- // Origin is fine — the Host fence above already bound the request. The
- // literal "null" (sandboxed iframes, file: pages) is an opaque origin, refused.
- const origin = header(request.headers, 'origin')
- if (origin === undefined) return true
- // Checked only after the Host fence above bound the authority: the shell
- // page's fixed origin is admitted as itself, never as an authority.
- if (origin === SHELL_APP_ORIGIN) return true
- try {
- return new URL(origin).hostname === hostUrl.hostname
- } catch {
- return false
- }
-}
diff --git a/tests/active-worktree.spec.ts b/tests/active-worktree.spec.ts
index c9d406fb..b2e29710 100644
--- a/tests/active-worktree.spec.ts
+++ b/tests/active-worktree.spec.ts
@@ -75,26 +75,27 @@ function sessionCtx(cwd: string, calls: Array>): Context
}
/**
- * The same live-session face with the session LOOKUP counted. The root cache is
- * consulted before the session is ever read, so `lookups()` is the observable
- * difference between "answered from the TTL cache" and "scanned the event log
- * again" — which is what makes the no-rescan assertion below discriminative.
+ * Count actual event-log snapshots, not cheap session scans. Alpha.5 reads the
+ * live cursor to invalidate explicit directory changes, even on a cache hit;
+ * that must not copy or rescan the log during the TTL window.
*/
-function countingSessionCtx(cwd: string, calls: Array>): { ctx: Context; lookups: () => number } {
- let lookups = 0
+function countingSessionCtx(cwd: string, calls: Array>): { ctx: Context; scans: () => number } {
+ let scans = 0
const ctx = {
sessions: {
get: () => {
- lookups += 1
return {
header: { cwd },
- snapshotEvents: () => calls.map((data, index) => ({ type: 'tool/call', seq: index, time: index, data })),
+ snapshotEvents: () => {
+ scans += 1
+ return calls.map((data, index) => ({ type: 'tool/call', seq: index, time: index, data }))
+ },
}
},
},
get: () => undefined,
} as never
- return { ctx: ctx as Context, lookups: () => lookups }
+ return { ctx: ctx as Context, scans: () => scans }
}
describe('active worktree root', () => {
@@ -165,7 +166,7 @@ describe('active worktree root', () => {
const repo = join(root, 'repo')
try {
initRepo(repo, 'a.txt')
- const { ctx, lookups } = countingSessionCtx(repo, [])
+ const { ctx, scans } = countingSessionCtx(repo, [])
probed.length = 0
const answers = await Promise.all(
Array.from({ length: 8 }, () => activeWorktreeRootOf(ctx, 's-burst', repo)),
@@ -173,7 +174,7 @@ describe('active worktree root', () => {
expect(probed).toEqual([repo])
// The whole resolution is shared, not just the spawn: the event log is
// read (and scanned) once for the burst.
- expect(lookups()).toBe(1)
+ expect(scans()).toBe(1)
// Every concurrent caller still gets the resolved answer.
expect(new Set(answers)).toEqual(new Set([realpathSync.native(repo)]))
} finally {
@@ -192,13 +193,13 @@ describe('active worktree root', () => {
const repo = join(root, 'repo')
try {
initRepo(repo, 'a.txt')
- const { ctx, lookups } = countingSessionCtx(repo, [])
+ const { ctx, scans } = countingSessionCtx(repo, [])
probed.length = 0
await Promise.all(
Array.from({ length: 6 }, (_unused, index) => activeWorktreeRootOf(ctx, `s-shared-${index}`, repo)),
)
expect(probed).toEqual([repo])
- expect(lookups()).toBe(6)
+ expect(scans()).toBe(6)
} finally {
removeTree(root)
}
@@ -213,18 +214,17 @@ describe('active worktree root', () => {
mkdirSync(join(repo, 'src'))
// A tool call INSIDE the repository: scanning it costs a probe, and the
// answer is the repository top level.
- const { ctx, lookups } = countingSessionCtx(repo, [{ cwd: join(repo, 'src') }])
+ const { ctx, scans } = countingSessionCtx(repo, [{ cwd: join(repo, 'src') }])
const first = await activeWorktreeRootOf(ctx, 's-ttl', repo)
expect(first).toBe(realpathSync.native(repo))
- expect(lookups()).toBe(1)
+ expect(scans()).toBe(1)
expect(probed.length).toBeGreaterThan(0)
probed.length = 0
await expect(activeWorktreeRootOf(ctx, 's-ttl', repo)).resolves.toBe(first)
- // No spawn AND no event-log scan (the cache is consulted before the
- // session is read, so the scan never starts).
+ // No spawn AND no event-log snapshot/scan, despite checking the live cursor.
expect(probed).toEqual([])
- expect(lookups()).toBe(1)
+ expect(scans()).toBe(1)
} finally {
removeTree(root)
}
@@ -240,7 +240,7 @@ describe('active worktree root', () => {
const repo = join(root, 'repo')
try {
initRepo(repo, 'a.txt')
- const { ctx, lookups } = countingSessionCtx(repo, [])
+ const { ctx, scans } = countingSessionCtx(repo, [])
const first = await activeWorktreeRootOf(ctx, 's-ttl-span', repo)
probed.length = 0
const clock = vi.spyOn(Date, 'now').mockReturnValue(Date.now() + 10_000)
@@ -250,7 +250,7 @@ describe('active worktree root', () => {
clock.mockRestore()
}
expect(probed).toEqual([])
- expect(lookups()).toBe(1)
+ expect(scans()).toBe(1)
} finally {
removeTree(root)
}
diff --git a/tests/archive.spec.ts b/tests/archive.spec.ts
index 70e7093b..7b470512 100644
--- a/tests/archive.spec.ts
+++ b/tests/archive.spec.ts
@@ -177,7 +177,7 @@ function responseRecorder(): { res: SidebarHttpResponse; wire: Wire } {
function mountHost(): { api: SidebarWebRoute; download: SidebarWebRoute } {
const routes: SidebarWebRoute[] = []
const ctx = {
- webRuntime: { trustedHosts: [] },
+ connection: { requestRejection: () => undefined },
webServer: {
register: (route: SidebarWebRoute) => { routes.push(route); return () => {} },
registerUpgrade: (route: SidebarWebUpgradeRoute) => { void route; return () => {} },
diff --git a/tests/block-labels.spec.ts b/tests/block-labels.spec.ts
new file mode 100644
index 00000000..3c1e6dfd
--- /dev/null
+++ b/tests/block-labels.spec.ts
@@ -0,0 +1,16 @@
+/** alpha.5 requires an accessible name for each authored terminal command line. */
+import { afterEach, describe, expect, it } from 'vitest'
+import { terminalBlockLabels } from '../src/client/block-labels.ts'
+import { attachLocale } from '../src/client/locales.ts'
+
+afterEach(() => { attachLocale(undefined) })
+
+describe('terminal command line labels', () => {
+ it.each([
+ ['en', 'Command line 2'],
+ ['zh', '命令第 2 行'],
+ ])('localizes the one-based line number in %s', (active, expected) => {
+ attachLocale({ getSnapshot: () => ({ active }) })
+ expect(terminalBlockLabels().commandLine(2)).toBe(expected)
+ })
+})
diff --git a/tests/changes-tab.spec.tsx b/tests/changes-tab.spec.tsx
index 741e2711..cddfd96c 100644
--- a/tests/changes-tab.spec.tsx
+++ b/tests/changes-tab.spec.tsx
@@ -552,6 +552,7 @@ describe('ChangesTab', () => {
it('renders exactly one clean empty state, and the graph has its own', async () => {
mockGit([])
mockGraphEmpty()
+ vi.spyOn(api, 'changesOps').mockResolvedValue({ events: [], lastSeq: 0 })
const container = document.createElement('div')
document.body.append(container)
@@ -565,9 +566,11 @@ describe('ChangesTab', () => {
// A clean repository says it ONCE: both sections (unstaged/staged) used
// to print their own "no changes" line under the same message. The Graph
// area says its own (it is a separate section, with its own route).
- const empties = [...container.querySelectorAll('[data-kind="empty"]')]
+ const gitLens = container.querySelector('[data-git-root]')!
+ const empties = [...gitLens.querySelectorAll('[data-kind="empty"]')]
.map(node => node.textContent)
expect(empties).toEqual([t('changesClean')])
+ expect(container.querySelector('[aria-labelledby$="-session"]')!.textContent).toContain(t('changesSessionEmpty'))
expect(container.querySelector('[data-scm-section="graph"]')!.textContent).toContain(t('graphEmpty'))
// No resource group or tree row is rendered when nothing changed.
expect(container.querySelectorAll('[data-group]')).toHaveLength(0)
diff --git a/tests/dsh-baseline.spec.ts b/tests/dsh-baseline.spec.ts
new file mode 100644
index 00000000..71819ffd
--- /dev/null
+++ b/tests/dsh-baseline.spec.ts
@@ -0,0 +1,51 @@
+/**
+ * Host baseline contract: package DSH peers/dev pins, standalone installers,
+ * e2e fallback/version check and CI must move together, without floating CLI tags.
+ */
+import { readFileSync } from 'node:fs'
+import { describe, expect, it } from 'vitest'
+
+const baseline = '0.2.1-alpha.5'
+const pkg = JSON.parse(readFileSync(new URL('../package.json', import.meta.url), 'utf8'))
+const bash = readFileSync(new URL('../scripts/install.sh', import.meta.url), 'utf8')
+const powershell = readFileSync(new URL('../scripts/install.ps1', import.meta.url), 'utf8')
+const e2e = readFileSync(new URL('../scripts/e2e-common.sh', import.meta.url), 'utf8')
+const ci = readFileSync(new URL('../.github/workflows/ci.yml', import.meta.url), 'utf8')
+
+describe('DSH host baseline', () => {
+ it('keeps all DSH package peers and dev pins on the exact baseline', () => {
+ for (const [section, prefix] of [['peerDependencies', '^'], ['devDependencies', '']] as const) {
+ const entries = Object.entries(pkg[section]).filter(([name]) => name.startsWith('@deepseek-ai/dsh-'))
+ expect(entries.length, section).toBeGreaterThan(0)
+ for (const [name, version] of entries) {
+ expect(version, `${section}.${name}`).toBe(`${prefix}${baseline}`)
+ }
+ }
+ })
+
+ it('does not publish or depend on the retired invariant companion', () => {
+ expect(pkg.exports).not.toHaveProperty('./invariant')
+ expect(pkg.files).not.toContain('lib/invariant.js')
+ for (const section of ['peerDependencies', 'devDependencies', 'dependencies']) {
+ expect(pkg[section]).not.toHaveProperty('@deepseek-ai/dsh-invariants')
+ }
+ })
+
+ it('pins both standalone installer npx fallbacks', () => {
+ expect(bash).toContain(`printf 'npx -y --package @deepseek-ai/dsh@${baseline} dsh'`)
+ expect(powershell).toContain(`$cliArgs = @('-y', '--package', '@deepseek-ai/dsh@${baseline}', 'dsh', 'plugin'`)
+ for (const source of [bash, powershell]) {
+ expect(source).not.toMatch(/^\s*(?:source|\.)\s+[^\r\n]*e2e-common/m)
+ }
+ })
+
+ it('pins the e2e fallback and expected version to the same baseline', () => {
+ expect(e2e).toContain('DSH_NPX_SPEC="${DSH_NPX_SPEC:-@deepseek-ai/dsh@' + baseline + '}"')
+ expect(e2e).toContain('expected="${DSH_EXPECT_VERSION:-' + baseline + '}"')
+ })
+
+ it('pins CI with its heap budget and peer resolution intact', () => {
+ expect(ci).toContain(`NODE_OPTIONS: --max-old-space-size=4096\n run: npm install -g @deepseek-ai/dsh@${baseline}\n`)
+ expect(ci).not.toMatch(/^\s*run:.*--legacy-peer-deps/m)
+ })
+})
diff --git a/tests/e2e/blank-session-dock-entry.e2e.ts b/tests/e2e/blank-session-dock-entry.e2e.ts
index 9daa27f5..9053f955 100644
--- a/tests/e2e/blank-session-dock-entry.e2e.ts
+++ b/tests/e2e/blank-session-dock-entry.e2e.ts
@@ -14,7 +14,7 @@ import { mkdirSync, writeFileSync } from 'node:fs'
import { tmpdir } from 'node:os'
import { join } from 'node:path'
import { test, expect, type APIRequestContext, type Page } from '@playwright/test'
-import { PAGE_URL, createHostApi, hostRpc, sendFirstMessage } from './host'
+import { PAGE_URL, createHostApi, dismissOnboarding, hostRpc, sendFirstMessage } from './host'
/** 本用例自己的 workspace(与其它 spec 互不干扰)。 */
const WORKSPACE_PATH = join(tmpdir(), 'dsh-e2e-blank-session-workspace')
@@ -36,31 +36,6 @@ test.afterAll(async () => {
await api?.dispose()
})
-/** keyless 启动会叠一层 onboarding 浮层(吃掉指针事件):先等它出现,再反复点掉。 */
-async function dismissOnboarding(page: Page): Promise {
- try {
- await expect
- .poll(() => page.getByRole('button', { name: /^(Continue|Configure later)$/ }).count(), { timeout: 60_000 })
- .toBeGreaterThan(0)
- } catch {
- return
- }
- for (let round = 0; round < 10; round++) {
- let dismissed = false
- for (const name of ['Continue', 'Configure later']) {
- const button = page.getByRole('button', { name, exact: true }).first()
- if ((await button.count()) === 0) continue
- try {
- await button.click({ timeout: 4_000 })
- dismissed = true
- await page.waitForTimeout(1_000)
- } catch {
- // 被更上层浮层挡住:下一轮换另一个按钮再试。
- }
- }
- if (!dismissed) break
- }
-}
/** 屏幕内可见的底部入口数量(与插件探针同一判据:rect 与视口相交)。 */
async function onScreenCount(page: Page): Promise {
diff --git a/tests/e2e/git-graph.e2e.ts b/tests/e2e/git-graph.e2e.ts
index 30c371d2..5b80e602 100644
--- a/tests/e2e/git-graph.e2e.ts
+++ b/tests/e2e/git-graph.e2e.ts
@@ -3,7 +3,7 @@ import { mkdtempSync, writeFileSync } from 'node:fs'
import { tmpdir } from 'node:os'
import { join } from 'node:path'
import { test, expect } from '@playwright/test'
-import { createHostApi, gotoPage, hostRpc, sendFirstMessage, sidebarApi } from './host'
+import { createHostApi, dismissOnboarding, gotoPage, hostRpc, sendFirstMessage, sidebarApi } from './host'
// A dedicated fixture: never initialize or write the caller's working repository.
test('read-only Git Graph renders merge history and filters without checkout', async ({ page }, testInfo) => {
@@ -35,10 +35,7 @@ test('read-only Git Graph renders merge history and filters without checkout', a
expect(response.ok()).toBe(true)
await gotoPage(page)
await expect(page.locator('[data-dsh-better-sidebar]')).toBeAttached({ timeout: 90_000 })
- for (const label of [/^Continue$/, /^Configure later$/]) {
- const button = page.getByRole('button', { name: label }).first()
- try { await button.click({ timeout: 8_000 }) } catch { /* onboarding may already be dismissed */ }
- }
+ await dismissOnboarding(page)
await sendFirstMessage(page)
await page.locator('[data-sidebar-right-expand]').first().click()
await page.locator('[data-sidebar-right-guide-entry="git"]').click()
diff --git a/tests/e2e/git-layout.e2e.ts b/tests/e2e/git-layout.e2e.ts
index c9e70fa4..e3bae15f 100644
--- a/tests/e2e/git-layout.e2e.ts
+++ b/tests/e2e/git-layout.e2e.ts
@@ -3,7 +3,7 @@ import { mkdirSync, mkdtempSync, writeFileSync } from 'node:fs'
import { tmpdir } from 'node:os'
import { join } from 'node:path'
import { test, expect, type Page } from '@playwright/test'
-import { createHostApi, gotoPage, hostRpc, sendFirstMessage } from './host'
+import { createHostApi, dismissOnboarding, gotoPage, hostRpc, sendFirstMessage } from './host'
/**
* A SELECTED change row must stay an in-flow 28px band inside its own
@@ -120,10 +120,7 @@ function rowGeometryProblems(page: Page, expected: SelectedRow | null): Promise<
* the expand control is gone once the sidebar is open). */
async function openGitPage(page: Page): Promise {
await expect(page.locator('[data-dsh-better-sidebar]')).toBeAttached({ timeout: 90_000 })
- for (const label of [/^Continue$/, /^Configure later$/]) {
- const button = page.getByRole('button', { name: label }).first()
- try { await button.click({ timeout: 8_000 }) } catch { /* onboarding may already be dismissed */ }
- }
+ await dismissOnboarding(page)
await sendFirstMessage(page)
await page.locator('[data-sidebar-right-expand]').first().click()
await page.locator('[data-sidebar-right-guide-entry="git"]').click()
diff --git a/tests/e2e/host.ts b/tests/e2e/host.ts
index 4857494f..ca1fdac7 100644
--- a/tests/e2e/host.ts
+++ b/tests/e2e/host.ts
@@ -117,6 +117,41 @@ export async function gotoPage(page: Page, extra: Record = {}):
await page.goto(pageUrl(extra), { waitUntil: 'domcontentloaded' })
}
+/** Dismiss keyless onboarding before interacting with the shell. */
+export async function dismissOnboarding(page: Page): Promise {
+ // alpha.5's Close belongs to Get started, not to another panel or dialog.
+ const getStarted = page.getByRole('dialog', { name: 'Get started', exact: true })
+ const buttons = [
+ getStarted.getByRole('button', { name: 'Close', exact: true }),
+ page.getByRole('button', { name: 'Continue', exact: true }),
+ page.getByRole('button', { name: 'Configure later', exact: true }),
+ ]
+ try {
+ await expect.poll(async () => {
+ const counts = await Promise.all(buttons.map(button => button.count()))
+ return counts.reduce((total, count) => total + count, 0)
+ }, { timeout: 60_000 }).toBeGreaterThan(0)
+ } catch {
+ // A previously acknowledged onboarding may not appear again.
+ return
+ }
+ for (let round = 0; round < 8; round++) {
+ let dismissed = false
+ for (const button of buttons) {
+ if (await button.count() === 0) continue
+ try {
+ await button.click({ timeout: 4_000 })
+ dismissed = true
+ await page.waitForTimeout(1_000)
+ } catch {
+ // A stacked welcome notice can mask another onboarding step.
+ }
+ }
+ if (!dismissed) break
+ }
+ await expect(getStarted).not.toBeVisible()
+}
+
/** Authenticated request context for host RPC seeding (cookie attached). */
export async function createHostApi(): Promise {
return request.newContext({
diff --git a/tests/e2e/mount.e2e.ts b/tests/e2e/mount.e2e.ts
index 562f7792..596c3921 100644
--- a/tests/e2e/mount.e2e.ts
+++ b/tests/e2e/mount.e2e.ts
@@ -30,8 +30,8 @@
import { mkdirSync, writeFileSync } from 'node:fs'
import { tmpdir } from 'node:os'
import { join } from 'node:path'
-import { test, expect, type APIRequestContext, type Page } from '@playwright/test'
-import { PAGE_URL, createHostApi, gotoPage, hostRpc, sendFirstMessage, sidebarApi } from './host'
+import { test, expect, type APIRequestContext } from '@playwright/test'
+import { PAGE_URL, createHostApi, dismissOnboarding, gotoPage, hostRpc, sendFirstMessage, sidebarApi } from './host'
/** Workspace the sidebar renders against (created by the lane's seeding). */
const WORKSPACE_PATH = process.env.DSH_E2E_WORKSPACE ?? join(tmpdir(), 'dsh-e2e-workspace')
@@ -155,44 +155,6 @@ test.beforeAll(async () => {
await seedSession()
})
-/**
- * Dismiss the keyless boot's onboarding takeovers, which mask the whole shell:
- * a versioned welcome notice ("Continue", persists its acknowledgement to
- * settings) and, once that is acknowledged, a provider-config dialog
- * ("Configure later", session-only — always present while no credential is
- * configured). Both mount only after the settings join resolves. Wait
- * (bounded) for one to appear; a DSH build without onboarding proceeds
- * straight on.
- *
- * Dismissal loops until none remain, in any stacking order — a masked click is
- * retried next round instead of failing.
- * @param page - the lane's page.
- */
-async function dismissOnboarding(page: Page): Promise {
- try {
- await expect
- .poll(() => page.getByRole('button', { name: /^(Continue|Configure later)$/ }).count(), { timeout: 60_000 })
- .toBeGreaterThan(0)
- } catch {
- console.warn('[e2e] no onboarding takeover appeared; proceeding without dismissal')
- }
- for (let round = 0; round < 8; round++) {
- let dismissed = false
- for (const name of ['Continue', 'Configure later']) {
- const button = page.getByRole('button', { name, exact: true }).first()
- if ((await button.count()) === 0) continue
- try {
- await button.click({ timeout: 4_000 })
- dismissed = true
- await page.waitForTimeout(1_000)
- } catch {
- // Masked by the takeover stacked above it; the next round tries the
- // other button first.
- }
- }
- if (!dismissed) break
- }
-}
test.afterAll(async () => {
await api?.dispose()
diff --git a/tests/e2e/native-reload.e2e.ts b/tests/e2e/native-reload.e2e.ts
index 50871072..09d7c4ae 100644
--- a/tests/e2e/native-reload.e2e.ts
+++ b/tests/e2e/native-reload.e2e.ts
@@ -27,7 +27,7 @@ import { mkdirSync, utimesSync, writeFileSync } from 'node:fs'
import { tmpdir } from 'node:os'
import { join } from 'node:path'
import { test, expect, type APIRequestContext } from '@playwright/test'
-import { PAGE_URL, createHostApi, hostRpc, sendFirstMessage } from './host'
+import { PAGE_URL, createHostApi, dismissOnboarding, hostRpc, sendFirstMessage } from './host'
/** Workspace the sidebar renders against (created by this lane's seeding). */
const WORKSPACE_PATH = process.env.DSH_E2E_WORKSPACE ?? join(tmpdir(), 'dsh-e2e-workspace')
@@ -80,32 +80,7 @@ test('the native tab types survive an in-page client entry replacement', async (
const sidebar = page.locator('[data-dsh-better-sidebar]')
await expect(sidebar).toBeAttached({ timeout: 90_000 })
- // A keyless boot stacks onboarding takeovers over the shell (versioned
- // welcome notice, then the provider-config dialog). Same bounded dismissal
- // loop as the mount lane: a masked click is retried, an absent takeover is
- // fine.
- try {
- await expect
- .poll(() => page.getByRole('button', { name: /^(Continue|Configure later)$/ }).count(), { timeout: 60_000 })
- .toBeGreaterThan(0)
- } catch {
- console.warn('[e2e] no onboarding takeover appeared; proceeding without dismissal')
- }
- for (let round = 0; round < 8; round++) {
- let dismissed = false
- for (const name of ['Continue', 'Configure later']) {
- const button = page.getByRole('button', { name, exact: true }).first()
- if ((await button.count()) === 0) continue
- try {
- await button.click({ timeout: 4_000 })
- dismissed = true
- await page.waitForTimeout(1_000)
- } catch {
- // Masked by the takeover stacked above it; the next round tries again.
- }
- }
- if (!dismissed) break
- }
+ await dismissOnboarding(page)
// The session header (and with it the native right sidebar's controls) only
// exists once the session has a turn — the mount lane does the same.
diff --git a/tests/e2e/perf.e2e.ts b/tests/e2e/perf.e2e.ts
index cd39a9c3..d1ba5487 100644
--- a/tests/e2e/perf.e2e.ts
+++ b/tests/e2e/perf.e2e.ts
@@ -37,8 +37,8 @@
import { mkdirSync, writeFileSync } from 'node:fs'
import { tmpdir } from 'node:os'
import { join } from 'node:path'
-import { test, expect, type APIRequestContext, type Page } from '@playwright/test'
-import { PAGE_URL, createHostApi, hostRpc, sendFirstMessage } from './host'
+import { test, expect, type APIRequestContext } from '@playwright/test'
+import { PAGE_URL, createHostApi, dismissOnboarding, hostRpc, sendFirstMessage } from './host'
/** This lane's own workspace (lanes run serially against one server — never
* share seed paths with mount/drag). */
@@ -104,32 +104,6 @@ interface ResourceStat {
duration: number
}
-/** Dismiss whatever onboarding takeover is present (same dance as the other
- * lanes) so the pointer can reach the sidebar's controls. */
-async function dismissOnboarding(page: Page): Promise {
- try {
- await expect
- .poll(() => page.getByRole('button', { name: /^(Continue|Configure later)$/ }).count(), { timeout: 60_000 })
- .toBeGreaterThan(0)
- } catch {
- console.warn('[e2e-perf] no onboarding takeover appeared; proceeding')
- }
- for (let round = 0; round < 8; round++) {
- let dismissed = false
- for (const name of ['Continue', 'Configure later']) {
- const button = page.getByRole('button', { name, exact: true }).first()
- if ((await button.count()) === 0) continue
- try {
- await button.click({ timeout: 4_000 })
- dismissed = true
- await page.waitForTimeout(1_000)
- } catch {
- // Masked by a takeover stacked above; retry in the next round.
- }
- }
- if (!dismissed) break
- }
-}
test('measure: mount latency, longtasks and bundle cost through a full tab sweep', async ({ page }) => {
await page.addInitScript(PERF_PROBE)
diff --git a/tests/e2e/tree-scroll.e2e.ts b/tests/e2e/tree-scroll.e2e.ts
index 34d243fc..5fc37324 100644
--- a/tests/e2e/tree-scroll.e2e.ts
+++ b/tests/e2e/tree-scroll.e2e.ts
@@ -19,7 +19,7 @@ import { execFileSync } from 'node:child_process'
import { tmpdir } from 'node:os'
import { basename, join } from 'node:path'
import { test, expect, type APIRequestContext, type Page } from '@playwright/test'
-import { PAGE_URL, createHostApi, hostRpc, sendFirstMessage } from './host'
+import { PAGE_URL, createHostApi, dismissOnboarding, hostRpc, sendFirstMessage } from './host'
/** Git must not pick up the developer's identity/config inside the lane. */
const GIT_ENV = {
@@ -110,31 +110,6 @@ test.afterAll(async () => {
await api?.dispose()
})
-/** Dismiss whatever onboarding takeover is present (the other lanes' dance). */
-async function dismissOnboarding(page: Page): Promise {
- try {
- await expect
- .poll(() => page.getByRole('button', { name: /^(Continue|Configure later)$/ }).count(), { timeout: 60_000 })
- .toBeGreaterThan(0)
- } catch {
- console.warn('[e2e-scroll] no onboarding takeover appeared; proceeding')
- }
- for (let round = 0; round < 8; round++) {
- let dismissed = false
- for (const name of ['Continue', 'Configure later']) {
- const button = page.getByRole('button', { name, exact: true }).first()
- if ((await button.count()) === 0) continue
- try {
- await button.click({ timeout: 4_000 })
- dismissed = true
- await page.waitForTimeout(1_000)
- } catch {
- // Masked by the takeover stacked above; retry in the next round.
- }
- }
- if (!dismissed) break
- }
-}
/** Open the native Sidebar, then the plugin's Files page inside it. */
async function openFiles(page: Page): Promise {
diff --git a/tests/e2e/zz-expand-refresh.e2e.ts b/tests/e2e/zz-expand-refresh.e2e.ts
index 216bf707..fb71b0e5 100644
--- a/tests/e2e/zz-expand-refresh.e2e.ts
+++ b/tests/e2e/zz-expand-refresh.e2e.ts
@@ -44,8 +44,8 @@
import { mkdirSync, writeFileSync } from 'node:fs'
import { tmpdir } from 'node:os'
import { join } from 'node:path'
-import { test, expect, type APIRequestContext, type Page } from '@playwright/test'
-import { PAGE_URL, createHostApi, hostRpc, sendFirstMessage } from './host'
+import { test, expect, type APIRequestContext } from '@playwright/test'
+import { PAGE_URL, createHostApi, dismissOnboarding, hostRpc, sendFirstMessage } from './host'
import { removeTree } from '../temp-tree.ts'
/** This lane's own workspace: a 40-child directory plus a small sibling. */
@@ -84,22 +84,6 @@ test.beforeAll(async () => {
test.afterAll(async () => { await api?.dispose() })
-async function dismissOnboarding(page: Page): Promise {
- try {
- await expect
- .poll(() => page.getByRole('button', { name: /^(Continue|Configure later)$/ }).count(), { timeout: 60_000 })
- .toBeGreaterThan(0)
- } catch { /* a build without onboarding proceeds straight to the tree */ }
- for (let round = 0; round < 8; round++) {
- let dismissed = false
- for (const name of ['Continue', 'Configure later']) {
- const button = page.getByRole('button', { name, exact: true }).first()
- if ((await button.count()) === 0) continue
- try { await button.click({ timeout: 4_000 }); dismissed = true; await page.waitForTimeout(1_000) } catch { /* masked */ }
- }
- if (!dismissed) break
- }
-}
/**
* Install the census: follow the pane's tree body (through a replacement, so a
diff --git a/tests/file-stream-route.spec.ts b/tests/file-stream-route.spec.ts
index 8afd971e..b2a86bc9 100644
--- a/tests/file-stream-route.spec.ts
+++ b/tests/file-stream-route.spec.ts
@@ -26,7 +26,7 @@ import type { SidebarWebRoute } from '../src/context-types.ts'
import { removeTree } from './temp-tree.ts'
interface FakeContext {
- webRuntime: { trustedHosts: readonly string[] }
+ connection: { requestRejection: () => undefined }
webServer: {
register: (route: SidebarWebRoute) => () => void
registerUpgrade: () => () => void
@@ -67,7 +67,7 @@ function workspace(name: string): string {
async function serve(workspace: string): Promise<{ origin: string; routes: SidebarWebRoute[] }> {
const routes: SidebarWebRoute[] = []
const ctx: FakeContext = {
- webRuntime: { trustedHosts: [] },
+ connection: { requestRejection: () => undefined },
webServer: { register: (route) => { routes.push(route); return () => {} }, registerUpgrade: () => () => {} },
sessions: { get: () => ({ header: { cwd: workspace } }) },
tools: { register: () => () => {} },
diff --git a/tests/fs-create-file.spec.ts b/tests/fs-create-file.spec.ts
index 0503aa5b..fab40ac6 100644
--- a/tests/fs-create-file.spec.ts
+++ b/tests/fs-create-file.spec.ts
@@ -143,7 +143,7 @@ describe('createWorkspaceFile', () => {
* editor reads.
*/
interface FakeContext {
- webRuntime: { trustedHosts: readonly string[] }
+ connection: { requestRejection: () => undefined }
webServer: {
register: (route: SidebarWebRoute) => () => void
registerUpgrade: () => () => void
@@ -160,7 +160,7 @@ interface FakeContext {
function mountApi(workspace: string): SidebarWebRoute {
const routes: SidebarWebRoute[] = []
const ctx: FakeContext = {
- webRuntime: { trustedHosts: [] },
+ connection: { requestRejection: () => undefined },
webServer: { register: (route) => { routes.push(route); return () => {} }, registerUpgrade: () => () => {} },
sessions: { get: () => ({ header: { cwd: workspace } }) },
tools: { register: () => () => {} },
diff --git a/tests/fs-read-page.spec.ts b/tests/fs-read-page.spec.ts
index b6200e19..1d3f228c 100644
--- a/tests/fs-read-page.spec.ts
+++ b/tests/fs-read-page.spec.ts
@@ -26,7 +26,7 @@ import type { SidebarWebRoute } from '../src/context-types.ts'
import { removeTree } from './temp-tree.ts'
interface FakeContext {
- webRuntime: { trustedHosts: readonly string[] }
+ connection: { requestRejection: () => undefined }
webServer: {
register: (route: SidebarWebRoute) => () => void
registerUpgrade: () => () => void
@@ -56,7 +56,7 @@ function workspaceWith(name: string, contents: Buffer | string): string {
function mountApi(workspace: string): SidebarWebRoute {
const routes: SidebarWebRoute[] = []
const ctx: FakeContext = {
- webRuntime: { trustedHosts: [] },
+ connection: { requestRejection: () => undefined },
webServer: { register: (route) => { routes.push(route); return () => {} }, registerUpgrade: () => () => {} },
sessions: { get: () => ({ header: { cwd: workspace } }) },
tools: { register: () => () => {} },
diff --git a/tests/fs-write-route.spec.ts b/tests/fs-write-route.spec.ts
index 7b881981..a7a0404d 100644
--- a/tests/fs-write-route.spec.ts
+++ b/tests/fs-write-route.spec.ts
@@ -32,7 +32,7 @@ import type { SidebarWebRoute } from '../src/context-types.ts'
import { removeTree } from './temp-tree.ts'
interface FakeContext {
- webRuntime: { trustedHosts: readonly string[] }
+ connection: { requestRejection: () => undefined }
webServer: {
register: (route: SidebarWebRoute) => () => void
registerUpgrade: () => () => void
@@ -56,7 +56,7 @@ interface Mounted {
function mountApi(workspace: string): Mounted {
const routes: SidebarWebRoute[] = []
const ctx: FakeContext = {
- webRuntime: { trustedHosts: [] },
+ connection: { requestRejection: () => undefined },
webServer: { register: (route) => { routes.push(route); return () => {} }, registerUpgrade: () => () => {} },
sessions: { get: () => ({ header: { cwd: workspace } }) },
tools: { register: () => () => {} },
diff --git a/tests/git-remote-actions.spec.ts b/tests/git-remote-actions.spec.ts
index 4c23850d..490c7dcb 100644
--- a/tests/git-remote-actions.spec.ts
+++ b/tests/git-remote-actions.spec.ts
@@ -92,7 +92,7 @@ function makeRemoteFixture(): RemoteFixture {
function mount(): { route: SidebarWebRoute } {
const routes: SidebarWebRoute[] = []
const ctx = {
- webRuntime: { trustedHosts: [] },
+ connection: { requestRejection: () => undefined },
webServer: {
register: (route: SidebarWebRoute) => { routes.push(route); return () => {} },
registerUpgrade: (_route: SidebarWebUpgradeRoute) => () => {},
diff --git a/tests/git-suggest-route.spec.ts b/tests/git-suggest-route.spec.ts
index 1b1c652e..dba9d2de 100644
--- a/tests/git-suggest-route.spec.ts
+++ b/tests/git-suggest-route.spec.ts
@@ -208,7 +208,7 @@ function mount(setup: {
},
logger: { info: () => {}, warn: () => {} },
profileContext: undefined,
- webRuntime: { trustedHosts: [] },
+ connection: { requestRejection: () => undefined },
webServer: {
register: (route: SidebarWebRoute) => { routes.push(route); return () => {} },
registerUpgrade: (_route: SidebarWebUpgradeRoute) => () => {},
diff --git a/tests/market-manifest.spec.ts b/tests/market-manifest.spec.ts
index 6cd73bd1..024bdc81 100644
--- a/tests/market-manifest.spec.ts
+++ b/tests/market-manifest.spec.ts
@@ -142,7 +142,7 @@ describe('DSH community-market manifest compatibility', () => {
const dshPeers = Object.keys(peers).filter(name => name === '@deepseek-ai/dsh' || name.startsWith('@deepseek-ai/dsh-'))
expect(dshPeers.length).toBeGreaterThan(10)
for (const name of dshPeers) {
- expect(peers[name], name).toMatch(/^\^0\.2\.0-[a-z0-9.]+$/)
+ expect(peers[name], name).toMatch(/^\^0\.2\.1-alpha\.5$/)
}
})
})
diff --git a/tests/plugin-shape.spec.ts b/tests/plugin-shape.spec.ts
index 6a35c348..f2a4005c 100644
--- a/tests/plugin-shape.spec.ts
+++ b/tests/plugin-shape.spec.ts
@@ -17,7 +17,7 @@ describe('dsh-better-sidebar plugin export shape', () => {
const unwrapped = loader.unwrapExports(sidebar) as Record
expect(unwrapped).toBe(sidebar)
expect(unwrapped.name).toBe('dsh-better-sidebar')
- expect(unwrapped.inject).toEqual(['webServer', 'sessions', 'webRuntime', 'tools'])
+ expect(unwrapped.inject).toEqual(['webServer', 'sessions', 'connection', 'tools'])
expect(unwrapped.Config).toBeDefined()
expect(typeof unwrapped.apply).toBe('function')
})
diff --git a/tests/sidechat-compaction-seed.spec.ts b/tests/sidechat-compaction-seed.spec.ts
index 3e1fa8b5..ea72c608 100644
--- a/tests/sidechat-compaction-seed.spec.ts
+++ b/tests/sidechat-compaction-seed.spec.ts
@@ -9,14 +9,12 @@
* conversation, same provider context-cache prefix — while the shadowed
* bulk never lands in the durable copy. The construction is verified with
* the REAL fold (`foldSurface` from `@deepseek-ai/dsh-session/surface`) and
- * pinned against the REAL session relational invariants
- * (`@deepseek-ai/dsh-session/invariant`): when the tail cannot be proven
+ * checked by the real session seed validator: when the tail cannot be proven
* equivalent, the builder falls back to today's verbatim full copy.
*/
import { describe, expect, it } from 'vitest'
import { deriveEventMessage, foldSurface } from '@deepseek-ai/dsh-session/surface'
import { Session, SessionLogOffset, SESSION_FORMAT_VERSION } from '@deepseek-ai/dsh-session'
-import * as SessionInvariant from '@deepseek-ai/dsh-session/invariant'
import type { SessionEvent, SessionId } from '@deepseek-ai/dsh-session'
import { buildSidechatInheritance } from '../src/sidechat-core.ts'
import type { SidebarSessionEvent } from '../src/context-types.ts'
@@ -264,23 +262,18 @@ function expectContiguous(seed: readonly { seq: number }[]): void {
seed.forEach((event, index) => expect(event.seq).toBe(index))
}
-/** Run the REAL session relational invariants over one candidate log and
- * return the failure messages (empty = the log satisfies them). */
-function invariantFailures(log: readonly SidebarSessionEvent[]): string[] {
- const failures: string[] = []
- const session = { snapshotEvents: () => log }
- const ctx = {
- sessions: { list: () => [session] },
- on: () => {},
- invariants: {
- register: (_pkg: string, installer: (c: unknown, f: (m: string) => void) => void) => {
- installer(ctx, (message: string) => { failures.push(message) })
- return () => {}
- },
- },
- }
- void SessionInvariant.apply(ctx as never)
- return failures
+/** Validate a complete inherited seed through the same real constructor as the routes. */
+function expectAcceptedSeed(seed: readonly SidebarSessionEvent[]): void {
+ const id = 'session-compaction-seed-acceptance' as SessionId
+ const session = Session.create(
+ id,
+ seed as unknown as readonly SessionEvent[],
+ { version: SESSION_FORMAT_VERSION, id, createdAt: Date.now(), isSeeded: true },
+ SessionLogOffset(seed.length),
+ )
+ expect(session.snapshotEvents()).toHaveLength(seed.length + 1)
+ expect(session.ownEvents()).toHaveLength(1)
+ expect(session.ownEvents()[0]?.type).toBe('session/end-seed')
}
describe('buildSidechatInheritance compaction tail', () => {
@@ -322,15 +315,6 @@ describe('buildSidechatInheritance compaction tail', () => {
expect(child).toEqual(parent)
})
- it('satisfies the real session relational invariants', () => {
- const events = compactedLog()
- const { seed } = buildSidechatInheritance(events)
- expect(seed.length).toBeLessThan(events.length)
- expect(invariantFailures(events)).toEqual([])
- expect(invariantFailures(seed)).toEqual([])
- expect(invariantFailures(buildSidechatInheritance(turn(0, 1, { callId: 'c1' }).events).seed)).toEqual([])
- })
-
it('is accepted by the real dsh-session seed validator', () => {
const events = compactedLog()
const { seed } = buildSidechatInheritance(events)
@@ -338,19 +322,8 @@ describe('buildSidechatInheritance compaction tail', () => {
// inherited cut) — this is the layer that once rejected a seed whose
// surfaceOp markers were stripped, so it gates every envelope decision
// the rebasing makes.
- const id = 'session-compaction-seed-acceptance'
- const session = Session.create(
- id as SessionId,
- seed as never,
- { version: SESSION_FORMAT_VERSION, id: id as SessionId, createdAt: Date.now(), isSeeded: true },
- SessionLogOffset(seed.length),
- )
- // The constructor appends the inherited-cut marker right after the seed,
- // and that marker is the child's first own event (log position = the
- // inherited count) — same shape as today's full-copy threads.
- expect(session.snapshotEvents()).toHaveLength(seed.length + 1)
- expect(session.ownEvents()).toHaveLength(1)
- expect(session.ownEvents()[0]?.type).toBe('session/end-seed')
+ // The constructor also appends the child's first own end-seed marker.
+ expectAcceptedSeed(seed)
})
it('falls back to the verbatim full copy when the log has no compaction', () => {
@@ -417,7 +390,7 @@ describe('buildSidechatInheritance compaction tail', () => {
expect(seed.at(-2)?.type).toBe('step/end')
expect(seed.at(-1)?.type).toBe('turn/end')
expect((seed.at(-1) as { data?: { reason?: { kind?: string } } }).data?.reason?.kind).toBe('interrupted')
- expect(invariantFailures(seed)).toEqual([])
+ expectAcceptedSeed(seed)
})
it('delivers the dangling-tool snapshot on the trimmed tail (mid-turn compaction)', () => {
@@ -432,6 +405,7 @@ describe('buildSidechatInheritance compaction tail', () => {
expect(seed.at(-1)?.type).not.toBe('tool/call')
expect(snapshot).not.toBeNull()
expect(JSON.stringify(snapshot)).toContain('bash')
+ expectAcceptedSeed(seed)
})
it('skips shadowed nodes and orphaned calls when the region ends mid-turn', () => {
@@ -448,8 +422,8 @@ describe('buildSidechatInheritance compaction tail', () => {
expect(seed.some(event => JSON.stringify(event).includes('mid result'))).toBe(false)
expect(seed.some(event => JSON.stringify(event).includes('a2 kept'))).toBe(true)
expect(visibleSequence(seed)).toEqual(visibleSequence(events))
+ expectAcceptedSeed(seed)
expectContiguous(seed)
- expect(invariantFailures(seed)).toEqual([])
})
it('remaps replace operations that stay inside the tail', () => {
@@ -484,6 +458,7 @@ describe('buildSidechatInheritance compaction tail', () => {
expect(rebased).toBeDefined()
expect(rebased?.surfaceOp?.startSeq).toBeLessThan(rebased?.seq ?? 0)
expect(rebased?.surfaceOp?.endSeq).toBeLessThan(rebased?.seq ?? 0)
+ expectAcceptedSeed(seed)
})
it('trims when the protected head was rewritten mid-session (turn 1, later step)', () => {
@@ -528,7 +503,7 @@ describe('buildSidechatInheritance compaction tail', () => {
expect(head?.data?.turn).toBe(1)
expect(head?.data?.step).toBe(1)
expect(visibleSequence(seed)).toEqual(visibleSequence(events))
- expect(invariantFailures(seed)).toEqual([])
+ expectAcceptedSeed(seed)
})
it('trims when the pruner rewrote a keep-window tool result mid-turn', () => {
@@ -578,7 +553,7 @@ describe('buildSidechatInheritance compaction tail', () => {
const record = seed.find(event => event.type === 'compaction/prune') as { data?: { shadowedSeqs?: number[] } }
expect(record?.data?.shadowedSeqs?.[0]).toBe(replacement?.surfaceOp?.startSeq)
expect(visibleSequence(seed)).toEqual(visibleSequence(events))
- expect(invariantFailures(seed)).toEqual([])
+ expectAcceptedSeed(seed)
})
it('trims when the keep window opens on a turn whose inbox insert precedes its turn/start', () => {
@@ -612,16 +587,9 @@ describe('buildSidechatInheritance compaction tail', () => {
const splices = seed.filter(event => event.type === 'agent/inbox/spliced')
expect(splices.length).toBeGreaterThanOrEqual(2)
expect(visibleSequence(seed)).toEqual(visibleSequence(events))
- expect(invariantFailures(seed)).toEqual([])
// The real validator accepts (this is the layer that rejected the
// pre-fix seed on the real session).
- const id = 'session-inbox-splice-acceptance'
- Session.create(
- id as SessionId,
- seed as never,
- { version: SESSION_FORMAT_VERSION, id: id as SessionId, createdAt: Date.now(), isSeeded: true },
- SessionLogOffset(seed.length),
- )
+ expectAcceptedSeed(seed)
})
it('drops a mid-keep compaction group atomically when its citations fall in the dropped span', () => {
@@ -685,12 +653,13 @@ describe('buildSidechatInheritance compaction tail', () => {
const seedGroups = seed.filter(event => event.type === 'compaction/start' || event.type === 'compaction/summary' || event.type === 'compaction/end')
expect(seedGroups).toEqual([])
expect(visibleSequence(seed)).toEqual(visibleSequence(events))
- expect(invariantFailures(seed)).toEqual([])
+ expectAcceptedSeed(seed)
// Control: the same log without the consumed group (its four trailing
// events) cuts at cp0 instead and also trims.
const control = events.slice(0, -4)
const controlSeed = buildSidechatInheritance(control).seed
expect(controlSeed.length).toBeLessThan(control.length)
+ expectAcceptedSeed(controlSeed)
})
it('drops a command/done atomically when its run falls in the dropped span', () => {
@@ -732,7 +701,7 @@ describe('buildSidechatInheritance compaction tail', () => {
expect(seed.some(event => event.type === 'command/done')).toBe(false)
expect(seed.some(event => event.type === 'command/run')).toBe(false)
expect(visibleSequence(seed)).toEqual(visibleSequence(events))
- expect(invariantFailures(seed)).toEqual([])
+ expectAcceptedSeed(seed)
// Together: a command that runs INSIDE the keep window and settles
// there — both records ride, and the done's citation remaps onto the
@@ -759,7 +728,7 @@ describe('buildSidechatInheritance compaction tail', () => {
// The citation names a non-command event (the user message), not the run.
expect(trimmed.seed[citedIdx]?.type).toBe('user/message')
expect(visibleSequence(trimmed.seed)).toEqual(visibleSequence(together))
- expect(invariantFailures(trimmed.seed)).toEqual([])
+ expectAcceptedSeed(trimmed.seed)
})
it('reuses the previous compaction when the newest summary is orphaned', () => {
diff --git a/tests/sidechat-routes.spec.ts b/tests/sidechat-routes.spec.ts
index fad1103e..acaf5496 100644
--- a/tests/sidechat-routes.spec.ts
+++ b/tests/sidechat-routes.spec.ts
@@ -8,10 +8,14 @@
* afterSeq deltas, tail cap, live/persisted sources).
*/
import { describe, expect, it, vi } from 'vitest'
+import { resolve } from 'node:path'
+import WorkingDirectoryService from '@deepseek-ai/dsh-working-directory'
+import { Session, SessionLogOffset, SESSION_FORMAT_VERSION } from '@deepseek-ai/dsh-session'
+import type { SessionEvent, SessionHeader, SessionId } from '@deepseek-ai/dsh-session'
import { SUBAGENT_DESCRIPTOR_VERSION } from '@deepseek-ai/dsh-subagent'
import { buildSidechatApi } from '../src/sidechat-routes.ts'
import { SidebarError } from '../src/wire.ts'
-import { SIDE_BOUNDARY_PROMPT, SIDE_INJECTION_SOURCE_KIND, SIDE_NEW_THREAD_TITLE, sideLabel } from '../src/sidechat-core.ts'
+import { buildSidechatInheritance, SIDE_BOUNDARY_PROMPT, SIDE_INJECTION_SOURCE_KIND, SIDE_NEW_THREAD_TITLE, sideLabel } from '../src/sidechat-core.ts'
import type { Context } from '../src/context-types.ts'
/** A fake live agent (inject/followup/cancel/inbox spied). */
@@ -107,8 +111,10 @@ function ctxWith(services: {
sessionPersistence?: unknown
llm?: unknown
sessionController?: unknown
+ workingDirectory?: unknown
}): Context {
const table: Record = {
+ ...(services.workingDirectory === undefined ? {} : { workingDirectory: services.workingDirectory }),
...(services.agents === undefined ? {} : { agents: services.agents }),
...(services.agentPresets === undefined ? {} : { agentPresets: services.agentPresets }),
...(services.sessionTitle === undefined ? {} : { sessionTitle: services.sessionTitle }),
@@ -130,6 +136,75 @@ function ev(type: string, seq: number, data: Record = {}): { ty
}
describe('sidechat.start', () => {
+ it('creates a sidechat in the current execution directory, not the original header cwd', async () => {
+ const parent = agent('parent')
+ const services = happyServices(parent, agent('child'))
+ const get = vi.fn((session: unknown) => {
+ expect(session).toBe(parent.session)
+ return '/current-execution-directory'
+ })
+ const api = buildSidechatApi(ctxWith({ ...services, workingDirectory: { get } }))
+ await api['sidechat.start']({ sessionId: 'parent', question: 'current project' })
+ expect(services.create.mock.calls[0]![0]).toMatchObject({ meta: { cwd: '/current-execution-directory' } })
+ expect(get).toHaveBeenCalledOnce()
+ })
+
+ it('stamps current cwd after a truncated seed so the real working-directory projection cannot restore an older cwd', async () => {
+ const original = resolve('/original-project')
+ const previous = resolve('/previous-execution')
+ const current = resolve('/current-execution')
+ const parent = agent('parent', {
+ header: { cwd: original },
+ events: [
+ ev('working-directory/change', 0, { cwd: previous }),
+ ev('turn/start', 1, { turn: 1 }),
+ ev('step/start', 2, { turn: 1, step: 1 }),
+ ev('working-directory/change', 3, { cwd: current }),
+ ev('tool/call', 4, { turn: 1, step: 1, callId: 'pending', name: 'bash', arguments: '{}' }),
+ ],
+ })
+ type DirectoryProjection = {
+ init(header: { cwd?: string }): string | null
+ apply(state: string | null, event: SessionEvent): string | null
+ }
+ let registered: DirectoryProjection | undefined
+ // Capture the REAL alpha.5 unit contributed by the host service. These
+ // context seams do not run system-prompt assembly, fs checks, or notices.
+ const workingDirectory = new WorkingDirectoryService({
+ reflect: { provide: () => {} },
+ sessionProjections: {
+ register: (definition: DirectoryProjection) => { registered = definition },
+ stateOf: (session: { header: { cwd?: string }; snapshotEvents(): SessionEvent[] }) => {
+ if (registered === undefined) throw new Error('working-directory unit not registered')
+ return session.snapshotEvents().reduce((cwd, event) => registered!.apply(cwd, event), registered.init(session.header))
+ },
+ },
+ systemPrompt: { context: () => {}, getContextOrder: () => 0 },
+ on: () => {},
+ effect: () => {},
+ } as never, {})
+ expect(workingDirectory.get(parent.session as never)).toBe(current)
+ const services = happyServices(parent, agent('child'))
+ await buildSidechatApi(ctxWith({ ...services, workingDirectory }))['sidechat.start']({ sessionId: 'parent' })
+ const options = services.create.mock.calls[0]![0] as {
+ sessionId: SessionId; meta: Partial; seed: readonly SessionEvent[]; inheritedEventCount: number
+ }
+ const projection = registered!
+ // Control proves that merely changing meta.cwd is insufficient: the
+ // dangling-call cut dropped current but retained previous in the seed.
+ const unstamped = buildSidechatInheritance(parent.session.snapshotEvents() as never).seed
+ expect(unstamped.map(event => event.type)).toEqual(['working-directory/change'])
+ expect(unstamped.reduce((cwd, event) => projection.apply(cwd, event as SessionEvent), projection.init({ cwd: current }))).toBe(previous)
+ const child = Session.create(options.sessionId, options.seed, {
+ ...options.meta, id: options.sessionId, version: SESSION_FORMAT_VERSION, createdAt: Date.now(), isSeeded: true,
+ }, SessionLogOffset(options.inheritedEventCount))
+ expect(child.header.cwd).toBe(current)
+ expect(options.seed.every((event, index) => event.seq === index)).toBe(true)
+ expect(child.ownEvents()[0]?.type).toBe('session/end-seed')
+ expect(workingDirectory.get(child)).toBe(current)
+ expect(options.seed.at(-2)).toMatchObject({ type: 'working-directory/change', data: { cwd: current } })
+ })
+
it('creates a seeded subagent-origin child and admits the boundary + question', async () => {
const parent = agent('parent', {
events: [
diff --git a/tests/smoke.spec.ts b/tests/smoke.spec.ts
index f5032c31..cf36bd74 100644
--- a/tests/smoke.spec.ts
+++ b/tests/smoke.spec.ts
@@ -54,7 +54,7 @@ const canCreateSymlink = (() => {
})()
interface FakeContext {
- webRuntime: { trustedHosts: readonly string[] }
+ connection: { requestRejection: () => undefined }
webServer: {
register: (route: SidebarWebRoute) => () => void
registerUpgrade: (route: SidebarWebUpgradeRoute) => () => void
@@ -95,7 +95,7 @@ describe('host plugin smoke', () => {
const upgrades: SidebarWebUpgradeRoute[] = []
const effects: Array<() => void | (() => void)> = []
const ctx: FakeContext = {
- webRuntime: { trustedHosts: [] },
+ connection: { requestRejection: () => undefined },
webServer: {
register: (route) => { routes.push(route); return () => {} },
registerUpgrade: (route) => { upgrades.push(route); return () => {} },
@@ -147,7 +147,7 @@ describe('host plugin smoke', () => {
const upgrades: SidebarWebUpgradeRoute[] = []
const effects: Array<() => void | (() => void)> = []
const ctx: FakeContext = {
- webRuntime: { trustedHosts: [] },
+ connection: { requestRejection: () => undefined },
webServer: {
register: () => () => {},
registerUpgrade: (route) => { upgrades.push(route); return () => {} },
@@ -197,7 +197,7 @@ describe('host plugin smoke', () => {
const routes: SidebarWebRoute[] = []
const effects: Array<() => void | (() => void)> = []
const ctx: FakeContext = {
- webRuntime: { trustedHosts: [] },
+ connection: { requestRejection: () => undefined },
webServer: {
register: (route) => { routes.push(route); return () => {} },
registerUpgrade: () => () => {},
@@ -495,6 +495,8 @@ describe('git destructive operations (scratch repository)', () => {
describe('session cwd resolution over the API route', () => {
interface CtxOverrides {
+ workingDirectory?: { readonly defaultDirectory?: string; get: (session: { header: { cwd?: string } }) => string }
+ sessionQuery?: { observeSession: (id: string, options: { projectionMode: 'all' }) => Promise<{ header: { cwd?: string }; projections?: { values: { workingDirectory?: string | null } }; [Symbol.dispose](): void }> }
sessions?: { get: (id: string) => { header: { cwd?: string } } | undefined }
sessionPersistence?: { open: (id: string, access: 'read' | 'write') => Promise<{ header: { cwd?: string }; read: () => Promise<{ events: never[] }>; close: () => Promise }> }
}
@@ -503,7 +505,7 @@ describe('session cwd resolution over the API route', () => {
const routes: SidebarWebRoute[] = []
lastMountedRoutes = routes
const ctx = {
- webRuntime: { trustedHosts: [] },
+ connection: { requestRejection: () => undefined },
webServer: {
register: (route: SidebarWebRoute) => { routes.push(route); return () => {} },
registerUpgrade: (route: SidebarWebUpgradeRoute) => { void route; return () => {} },
@@ -517,7 +519,7 @@ describe('session cwd resolution over the API route', () => {
// The session/agent event feeds: nothing emits in these tests.
on: () => () => {},
// No jobs/agents services in the smoke context: the routes degrade.
- get: (key: string) => key === 'sessionPersistence' ? overrides.sessionPersistence : undefined,
+ get: (key: string) => overrides[key as keyof CtxOverrides],
}
apply(ctx as never)
return routes
@@ -693,6 +695,161 @@ describe('session cwd resolution over the API route', () => {
}
})
+ it('follows committed working-directory changes immediately, without reusing the old active-root cache', async () => {
+ const first = resolvePath('/working-directory-first')
+ const second = resolvePath('/working-directory-second')
+ let current = first
+ const session = { header: { cwd: resolvePath('/original-project') } }
+ const route = mount({
+ sessions: { get: () => session },
+ workingDirectory: { get: (received) => { expect(received).toBe(session); return current } },
+ })
+ expect(await invoke(route, 'session.cwd', { sessionId: 'wd-switch', cwd: '/stale-client' })).toMatchObject({ ok: true, value: { cwd: first } })
+ current = second
+ expect(await invoke(route, 'session.cwd', { sessionId: 'wd-switch', cwd: '/stale-client' })).toMatchObject({ ok: true, value: { cwd: second } })
+ })
+
+ it('routes file and Git reads to the new execution directory immediately after a switch', async () => {
+ const scratch = realpathSync.native(mkdtempSync(join(tmpdir(), 'sidebar-wd-switch-')))
+ const first = join(scratch, 'first')
+ const second = join(scratch, 'second')
+ let current = first
+ try {
+ for (const [directory, branch] of [[first, 'first-project'], [second, 'second-project']]) {
+ mkdirSync(directory!)
+ writeFileSync(join(directory!, 'directory.txt'), branch!)
+ const result = spawnSync('git', ['init', '-q', '-b', branch!, directory!], { encoding: 'utf8' })
+ if (result.status !== 0) throw new Error(result.stderr)
+ }
+ const route = mount({
+ sessions: { get: () => ({ header: { cwd: first } }) },
+ workingDirectory: { get: () => current },
+ })
+ const payload = { sessionId: 'wd-files-git', cwd: first }
+ expect(await invoke(route, 'fs.read', { ...payload, path: 'directory.txt' })).toMatchObject({ ok: true, value: { content: 'first-project' } })
+ expect(await invoke(route, 'git.status', payload)).toMatchObject({ ok: true, value: { branch: 'first-project' } })
+ current = second
+ expect(await invoke(route, 'fs.read', { ...payload, path: 'directory.txt' })).toMatchObject({ ok: true, value: { content: 'second-project' } })
+ expect(await invoke(route, 'git.status', payload)).toMatchObject({ ok: true, value: { branch: 'second-project' } })
+ } finally {
+ removeTree(scratch)
+ }
+ })
+
+ it('does not let historical linked-worktree tool evidence override a committed directory change back to the main checkout', async () => {
+ const scratch = realpathSync.native(mkdtempSync(join(tmpdir(), 'sidebar-wd-linked-')))
+ const main = join(scratch, 'main')
+ const linked = join(scratch, 'linked')
+ const run = (cwd: string, args: string[]): void => {
+ const result = spawnSync('git', ['-C', cwd, '-c', 'user.name=Test', '-c', 'user.email=test@dsh.invalid', ...args], { encoding: 'utf8' })
+ if (result.status !== 0) throw new Error(result.stderr)
+ }
+ try {
+ run(scratch, ['init', '-q', '-b', 'main', main])
+ run(main, ['commit', '-q', '--allow-empty', '-m', 'initial'])
+ run(main, ['worktree', 'add', '-q', '-b', 'linked', linked])
+ let current = linked
+ const events = [{ type: 'tool/call', seq: 0, time: 0, data: { cwd: linked } }] as Array<{ type: string; seq: number; time: number; data: { cwd: string } }>
+ const route = mount({
+ sessions: { get: () => ({ header: { cwd: main }, snapshotEvents: () => events }) },
+ workingDirectory: { get: () => current },
+ })
+ expect(await invoke(route, 'session.cwd', { sessionId: 'wd-linked' })).toMatchObject({ ok: true, value: { cwd: linked } })
+ events.push({ type: 'working-directory/change', seq: 1, time: 1, data: { cwd: main } })
+ current = main
+ expect(await invoke(route, 'session.cwd', { sessionId: 'wd-linked' })).toMatchObject({ ok: true, value: { cwd: main } })
+ expect(await invoke(route, 'git.status', { sessionId: 'wd-linked', cwd: linked })).toMatchObject({ ok: true, value: { branch: 'main' } })
+ // Same base: old tool evidence selected linked while the host cwd was
+ // still main. Explicit cd to main must invalidate that cached override.
+ const sameBaseEvents = events.slice(0, 1)
+ const snapshotEvents = vi.fn(() => sameBaseEvents)
+ const eventAt = vi.fn((seq: number) => sameBaseEvents[seq])
+ const session = { header: { cwd: main }, get seq() { return sameBaseEvents.length }, eventAt, snapshotEvents }
+ const sameBaseRoute = mount({
+ sessions: { get: () => session }, workingDirectory: { get: () => main },
+ })
+ const payload = { sessionId: 'wd-same-base' }
+ expect(await invoke(sameBaseRoute, 'session.cwd', payload)).toMatchObject({ ok: true, value: { cwd: linked } })
+ expect(await invoke(sameBaseRoute, 'session.cwd', payload)).toMatchObject({ ok: true, value: { cwd: linked } })
+ sameBaseEvents.push({ type: 'turn/start', seq: 1, time: 1, data: { cwd: main } })
+ expect(await invoke(sameBaseRoute, 'session.cwd', payload)).toMatchObject({ ok: true, value: { cwd: linked } })
+ expect(snapshotEvents).toHaveBeenCalledTimes(1)
+ sameBaseEvents.push({ type: 'working-directory/change', seq: 2, time: 2, data: { cwd: main } })
+ expect(await invoke(sameBaseRoute, 'session.cwd', payload)).toMatchObject({ ok: true, value: { cwd: main } })
+ expect(await invoke(sameBaseRoute, 'session.cwd', payload)).toMatchObject({ ok: true, value: { cwd: main } })
+ expect(snapshotEvents).toHaveBeenCalledTimes(2)
+ expect(eventAt).toHaveBeenCalledTimes(3)
+
+ } finally {
+ removeTree(scratch)
+ }
+ })
+
+ it('uses cold observation working-directory projections before stale client/header hints and releases every lease', async () => {
+ let current = resolvePath('/cold-execution-first')
+ let releases = 0
+ const route = mount({ sessionQuery: {
+ observeSession: async (id, options) => {
+ expect(id).toBe('wd-cold')
+ expect(options).toEqual({ projectionMode: 'all' })
+ return {
+ header: { cwd: resolvePath('/original-project') },
+ projections: { values: { workingDirectory: current } },
+ [Symbol.dispose]: () => { releases += 1 },
+ }
+ },
+ } })
+ expect(await invoke(route, 'session.cwd', { sessionId: 'wd-cold', cwd: '/stale-client' })).toMatchObject({ ok: true, value: { cwd: current } })
+ current = resolvePath('/cold-execution-second')
+ expect(await invoke(route, 'session.cwd', { sessionId: 'wd-cold', cwd: '/stale-client' })).toMatchObject({ ok: true, value: { cwd: current } })
+ expect(releases).toBe(2)
+ })
+
+ it('uses the host custom default for a null cold working-directory projection before a stale client hint', async () => {
+ const defaultDirectory = resolvePath('/configured-execution-default')
+ let releases = 0
+ const route = mount({
+ workingDirectory: { defaultDirectory, get: () => { throw new Error('cold reads must not call get without a live session') } },
+ sessionQuery: { observeSession: async () => ({
+ header: {}, projections: { values: { workingDirectory: null } },
+ [Symbol.dispose]: () => { releases += 1 },
+ }) },
+ })
+ expect(await invoke(route, 'session.cwd', { sessionId: 'wd-cold-default', cwd: '/stale-client' })).toMatchObject({ ok: true, value: { cwd: defaultDirectory } })
+ expect(releases).toBe(1)
+ })
+
+ it('releases the cold observation lease when the working-directory projection cannot be read', async () => {
+ let releases = 0
+ const route = mount({ sessionQuery: {
+ observeSession: async () => ({
+ header: { cwd: resolvePath('/original-project') },
+ get projections(): never { throw new Error('working-directory projection failed') },
+ [Symbol.dispose]: () => { releases += 1 },
+ }),
+ } })
+ expect(await invoke(route, 'session.cwd', { sessionId: 'wd-projection-failure', cwd: '/stale-client' })).toMatchObject({
+ ok: false, error: { message: 'working-directory projection failed' },
+ })
+ expect(releases).toBe(1)
+ })
+
+ it('does not mask failed authoritative working-directory reads with stale header or client hints', async () => {
+ const live = mount({
+ sessions: { get: () => ({ header: { cwd: resolvePath('/original-project') } }) },
+ workingDirectory: { get: () => { throw new Error('working-directory service failed') } },
+ })
+ expect(await invoke(live, 'session.cwd', { sessionId: 'wd-live-error', cwd: '/stale-client' })).toMatchObject({
+ ok: false, error: { message: 'working-directory service failed' },
+ })
+ const cold = mount({ sessionQuery: {
+ observeSession: async () => { throw new Error('working-directory observation failed') },
+ } })
+ expect(await invoke(cold, 'session.cwd', { sessionId: 'wd-cold-error', cwd: '/stale-client' })).toMatchObject({
+ ok: false, error: { message: 'working-directory observation failed' },
+ })
+ })
+
it('uses the client summary cwd while the session is detached', async () => {
const route = mount()
const result = await invoke(route, 'session.cwd', { sessionId: 's-detached', cwd: '/tmp/summary-cwd' })
@@ -1515,7 +1672,7 @@ const mountWithSettings = (settings?: unknown, home?: string): SidebarWebRoute =
const routes: SidebarWebRoute[] = []
lastMountedRoutes = routes
const ctx = {
- webRuntime: { trustedHosts: [] },
+ connection: { requestRejection: () => undefined },
webServer: {
register: (route: SidebarWebRoute) => { routes.push(route); return () => {} },
registerUpgrade: (route: SidebarWebUpgradeRoute) => { void route; return () => {} },
@@ -1755,7 +1912,7 @@ describe('agent sidebar-open tool gating', () => {
configure: () => () => {},
}
const ctx = {
- webRuntime: { trustedHosts: [] },
+ connection: { requestRejection: () => undefined },
webServer: {
register: (route: SidebarWebRoute) => { routes.push(route); return () => {} },
registerUpgrade: (route: SidebarWebUpgradeRoute) => { void route; return () => {} },
diff --git a/tests/trusted-hosts.spec.ts b/tests/trusted-hosts.spec.ts
index 5ce21710..cc3ce2a3 100644
--- a/tests/trusted-hosts.spec.ts
+++ b/tests/trusted-hosts.spec.ts
@@ -1,108 +1,17 @@
-/**
- * Remote-access trust regression tests: the /sidebar fence must accept a
- * reverse-proxy domain or LAN IP listed in the DSH web runtime's
- * `webRuntime.trustedHosts` — the same trust list the /api gateway accepts
- * (LAN IP literals sampled at bind plus `--trusted-host` authorities).
- *
- * Regression: the fence used to read the connection row's trustedHosts
- * through the Loader (`entry.options.name === 'connection'`, which never
- * matched the row's module-specifier name), so trustedHosts stayed empty and
- * every remote /sidebar request was 403 "forbidden".
- *
- * A second group pins the one origin the fence admits without an authority
- * match: the desktop shell's `dsh-app://app` page, whose WebSocket upgrades
- * reach the Host directly and therefore carry an origin no Host authority can
- * name.
- */
-import { describe, expect, it } from 'vitest'
-import { mkdtempSync, writeFileSync } from 'node:fs'
-import { Writable } from 'node:stream'
-import type { IncomingMessage, ServerResponse } from 'node:http'
-import { tmpdir } from 'node:os'
-import { join } from 'node:path'
+/** The sidebar must use native Connection admission, never a reconstructed trust list. */
+import { describe, expect, it, vi } from 'vitest'
import { apply } from '../src/index.ts'
-import type { SidebarWebRoute, SidebarWebUpgradeRoute } from '../src/context-types.ts'
-import { removeTree } from './temp-tree.ts'
+import type { SidebarHttpRequest, SidebarWebRoute, SidebarWebUpgradeRoute } from '../src/context-types.ts'
-interface FakeRes {
- status: number
- headers: Record
- body: string
- writeHead(status: number, headers?: Record): void
- end(body?: string | Buffer): void
-}
-
-/**
- * The response face these fence assertions read, backed by a REAL Writable.
- *
- * `/sidebar/file` STREAMS now (`createReadStream` → `pipeline` into the
- * response), and `pipeline` needs an actual writable destination rather than a
- * plain object with an `end`. The status/header/body facade the assertions use
- * is layered on the same object, so the media cases keep reading exactly what
- * they read before.
- */
-function fakeRes(): FakeRes {
- const chunks: Buffer[] = []
- const stream = new Writable({
- write(chunk: Buffer, _encoding, callback) {
- chunks.push(Buffer.from(chunk))
- callback()
- },
- })
- // Captured BEFORE the facade shadows the method: `facade === stream`, so
- // calling `stream.end()` from the replacement would recurse into itself.
- const finishStream = Writable.prototype.end.bind(stream)
- const facade = stream as unknown as FakeRes
- facade.status = 0
- facade.headers = {}
- facade.body = ''
- const collect = (): void => { facade.body = Buffer.concat(chunks).toString('utf8') }
- facade.writeHead = (status, headers = {}) => {
- facade.status = status
- facade.headers = headers
- }
- facade.end = (body) => {
- if (body !== undefined) chunks.push(Buffer.from(body))
- collect()
- finishStream()
- }
- // `stream.end()` from the pipeline path never goes through `facade.end`, so
- // the body is also harvested once the writable finishes.
- stream.on('finish', collect)
- return facade
-}
-
-function req(
- method: string,
- url: string,
- headers: Record,
- body = '{}',
-): IncomingMessage {
- const chunks = [Buffer.from(body)]
- return {
- method,
- url,
- headers,
- [Symbol.asyncIterator]: async function* () {
- for (const chunk of chunks) yield chunk
- },
- } as unknown as IncomingMessage
-}
-
-/** Mount apply() against a fake context with a replaceable webRuntime trust list. */
-function mount(initialTrustedHosts: readonly string[] = []): {
- api: (r: IncomingMessage, s: ServerResponse) => Promise
- upgrade: (path: string) => SidebarWebUpgradeRoute['handler']
- media: (r: IncomingMessage, s: ServerResponse) => Promise
- setTrustedHosts: (hosts: readonly string[]) => void
- cleanup: () => void
-} {
- const runtime = { trustedHosts: [...initialTrustedHosts] }
+/** No retired webRuntime service: rc.2 and newer both expose Connection admission. */
+function mount(initialRejection: 401 | 403 | undefined = undefined) {
+ let rejection = initialRejection
+ const connection = { requestRejection: vi.fn((_request: SidebarHttpRequest) => rejection) }
const routes: SidebarWebRoute[] = []
const upgrades: SidebarWebUpgradeRoute[] = []
- const effects: Array<() => void | (() => void)> = []
- const ctx = {
- webRuntime: runtime,
+ const effects: Array<() => void> = []
+ apply({
+ connection,
webServer: {
register: (route: SidebarWebRoute) => { routes.push(route); return () => {} },
registerUpgrade: (route: SidebarWebUpgradeRoute) => { upgrades.push(route); return () => {} },
@@ -114,317 +23,169 @@ function mount(initialTrustedHosts: readonly string[] = []): {
if (typeof cleanup === 'function') effects.push(cleanup)
},
inject: () => () => {},
- // The session/agent event feeds: nothing emits in these tests.
on: () => () => {},
get: () => undefined,
- }
- apply(ctx as never)
- const api = routes.find(route => route.path === '/sidebar/api')?.handler
- if (api === undefined) throw new Error('test setup: /sidebar/api route not registered')
- const media = routes.find(route => route.path === '/sidebar/file')?.handler
- if (media === undefined) throw new Error('test setup: /sidebar/file route not registered')
+ } as never)
return {
- api: api as (r: IncomingMessage, s: ServerResponse) => Promise,
- upgrade: (path) => {
- const handler = upgrades.find(route => route.path === path)?.handler
- if (handler === undefined) throw new Error(`test setup: ${path} upgrade route not registered`)
- return handler
- },
- media: media as (r: IncomingMessage, s: ServerResponse) => Promise,
- setTrustedHosts: (hosts) => { runtime.trustedHosts = [...hosts] },
+ connection,
+ routes,
+ upgrades,
+ setRejection: (next: 401 | 403 | undefined) => { rejection = next },
cleanup: () => { for (const cleanup of effects) cleanup() },
}
}
-/** A remote-domain request with the browser markers a same-origin fetch sends. */
-function remoteDomainRequest(): IncomingMessage {
- return req('POST', '/sidebar/api/session.cwd', {
- host: 'example.com',
- 'sec-fetch-site': 'same-origin',
- origin: 'https://example.com',
- }, '{"sessionId":"test-session"}')
+function request(url: string, headers: SidebarHttpRequest['headers'] = { host: '127.0.0.1:3080' }) {
+ let reads = 0
+ const req: SidebarHttpRequest = {
+ method: 'POST',
+ url,
+ headers,
+ [Symbol.asyncIterator]: async function* () {
+ reads += 1
+ yield JSON.stringify({ sessionId: 'test-session' })
+ },
+ }
+ return { req, reads: () => reads }
}
-/** A LAN-IP request with the browser markers a same-origin fetch sends. */
-function lanRequest(): IncomingMessage {
- return req('POST', '/sidebar/api/session.cwd', {
- host: '192.0.2.1:3080',
- 'sec-fetch-site': 'same-origin',
- origin: 'http://192.0.2.1:3080',
- }, '{"sessionId":"test-session"}')
+function response() {
+ const out = { status: 0, body: '' }
+ return {
+ out,
+ res: {
+ writeHead: (status: number) => { out.status = status },
+ end: (body?: string | Uint8Array) => { out.body += String(body ?? '') },
+ } as never,
+ }
}
-describe('remote-access trust (webRuntime.trustedHosts)', () => {
- it('accepts a reverse-proxy domain configured in webRuntime.trustedHosts', async () => {
- const { api, cleanup } = mount(['example.com'])
+describe('native Connection admission', () => {
+ it('accepts the native verdict without webRuntime and preserves the request and method receiver', async () => {
+ const mounted = mount()
try {
- const res = fakeRes()
- await api(remoteDomainRequest(), res as unknown as ServerResponse)
- expect(res.status).toBe(200)
+ const { req } = request('/sidebar/api/session.cwd', {
+ host: 'example.com',
+ origin: 'https://example.com',
+ cookie: 'native-authenticated-session',
+ })
+ const { res, out } = response()
+ await mounted.routes.find(route => route.path === '/sidebar/api')!.handler(req, res)
+ expect(out.status).toBe(200)
+ expect(mounted.connection.requestRejection).toHaveBeenCalledExactlyOnceWith(req)
+ expect(mounted.connection.requestRejection.mock.contexts[0]).toBe(mounted.connection)
} finally {
- cleanup()
+ mounted.cleanup()
}
})
- it('accepts LAN IP literals from webRuntime.trustedHosts', async () => {
- const { api, cleanup } = mount(['192.0.2.1'])
+ it.each([401, 403] as const)('refuses native %s on every HTTP route and WebSocket before consuming data', async (rejection) => {
+ const mounted = mount(rejection)
try {
- const res = fakeRes()
- await api(lanRequest(), res as unknown as ServerResponse)
- expect(res.status).toBe(200)
+ expect(mounted.routes.map(route => route.path)).toEqual([
+ '/sidebar/api', '/sidebar/upload', '/sidebar/write', '/sidebar/bundle',
+ '/sidebar/archive', '/sidebar/file', '/sidebar/html',
+ ])
+ expect(mounted.upgrades.map(route => route.path)).toEqual([
+ '/sidebar/ws/agent-opens', '/sidebar/ws/fs-watch', '/sidebar/ws/sidechat',
+ ])
+ for (const route of mounted.routes) {
+ const input = request(route.path)
+ const { res, out } = response()
+ await route.handler(input.req, res)
+ expect(out.status, route.path).toBe(403)
+ expect(input.reads(), route.path).toBe(0)
+ expect(mounted.connection.requestRejection).toHaveBeenLastCalledWith(input.req)
+ }
+ for (const route of mounted.upgrades) {
+ const input = request(route.path)
+ const socket = { destroy: vi.fn() }
+ await route.handler(input.req, socket, new Uint8Array())
+ expect(socket.destroy, route.path).toHaveBeenCalledOnce()
+ expect(input.reads(), route.path).toBe(0)
+ expect(mounted.connection.requestRejection).toHaveBeenLastCalledWith(input.req)
+ }
+ expect(mounted.connection.requestRejection).toHaveBeenCalledTimes(10)
} finally {
- cleanup()
+ mounted.cleanup()
}
})
- it('stays loopback-only when webRuntime.trustedHosts is empty', async () => {
- const { api, cleanup } = mount([])
+ it.each([null, false, 0, ''])('does not treat an unexpected falsy verdict (%s) as admission', async (verdict) => {
+ const mounted = mount()
try {
- const remote = fakeRes()
- await api(remoteDomainRequest(), remote as unknown as ServerResponse)
- expect(remote.status).toBe(403)
- const loopback = fakeRes()
- await api(req('POST', '/sidebar/api/session.cwd', {
- host: '127.0.0.1:3080',
- 'sec-fetch-site': 'same-origin',
- }, '{"sessionId":"test-session"}'), loopback as unknown as ServerResponse)
- expect(loopback.status).toBe(200)
+ mounted.connection.requestRejection.mockReturnValue(verdict as never)
+ for (const route of mounted.routes) {
+ const input = request(route.path)
+ const { res, out } = response()
+ await route.handler(input.req, res)
+ expect(out.status, route.path).toBe(403)
+ expect(input.reads(), route.path).toBe(0)
+ }
+ for (const route of mounted.upgrades) {
+ const input = request(route.path)
+ const socket = { destroy: vi.fn() }
+ await route.handler(input.req, socket, new Uint8Array())
+ expect(socket.destroy, route.path).toHaveBeenCalledOnce()
+ expect(input.reads(), route.path).toBe(0)
+ }
} finally {
- cleanup()
+ mounted.cleanup()
}
})
- it('accepts an Origin that names the Host hostname without its port (Edge 151 serialization)', async () => {
- // Some Chromium builds serialize the Origin of a non-default-port loopback
- // page without the port; refusing those bricks every /sidebar route.
- const { api, cleanup } = mount([])
+ it('has no old-host fallback when native admission is missing', async () => {
+ const mounted = mount()
try {
- const res = fakeRes()
- await api(req('POST', '/sidebar/api/session.cwd', {
- host: '127.0.0.1:3080',
- 'sec-fetch-site': 'same-origin',
- origin: 'http://127.0.0.1',
- }, '{"sessionId":"test-session"}'), res as unknown as ServerResponse)
- expect(res.status).toBe(200)
+ Reflect.deleteProperty(mounted.connection, 'requestRejection')
+ const input = request('/sidebar/api/session.cwd')
+ const { res, out } = response()
+ await expect(mounted.routes.find(route => route.path === '/sidebar/api')!.handler(input.req, res)).rejects.toThrow(TypeError)
+ expect(out.status).toBe(0)
+ expect(input.reads()).toBe(0)
} finally {
- cleanup()
+ mounted.cleanup()
}
})
- it('rejects an Origin whose hostname differs from the Host even on loopback', async () => {
- // hostname, not port, re-decides trust: a same-127/8 address that is not
- // the page's own hostname is still a different authority.
- const { api, cleanup } = mount([])
+ it('does not bypass native refusals for former desktop, image, or port exceptions', async () => {
+ const mounted = mount(403)
try {
- const res = fakeRes()
- await api(req('POST', '/sidebar/api/session.cwd', {
- host: '127.0.0.1:3080',
- 'sec-fetch-site': 'same-origin',
- origin: 'http://127.0.0.2',
- }, '{"sessionId":"test-session"}'), res as unknown as ServerResponse)
- expect(res.status).toBe(403)
+ for (const headers of [
+ { host: '127.0.0.1:3080', origin: 'dsh-app://app' },
+ { host: '127.0.0.1:3080', origin: 'http://127.0.0.1' },
+ {
+ host: '127.0.0.1:3080', 'sec-fetch-site': 'cross-site',
+ 'sec-fetch-mode': 'no-cors', 'sec-fetch-dest': 'image', referer: 'http://127.0.0.1:3080/',
+ },
+ ]) {
+ const { req } = request('/sidebar/file', headers)
+ req.method = 'GET'
+ const { res, out } = response()
+ await mounted.routes.find(route => route.path === '/sidebar/file')!.handler(req, res)
+ expect(out.status).toBe(403)
+ expect(mounted.connection.requestRejection).toHaveBeenLastCalledWith(req)
+ expect(req.headers).toBe(headers)
+ }
} finally {
- cleanup()
+ mounted.cleanup()
}
})
- it('rejects the opaque "null" origin', async () => {
- const { api, cleanup } = mount([])
+ it('reads native admission on every request, including authentication expiry', async () => {
+ const mounted = mount()
try {
- const res = fakeRes()
- await api(req('POST', '/sidebar/api/session.cwd', {
- host: '127.0.0.1:3080',
- 'sec-fetch-site': 'same-origin',
- origin: 'null',
- }, '{"sessionId":"test-session"}'), res as unknown as ServerResponse)
- expect(res.status).toBe(403)
+ const route = mounted.routes.find(route => route.path === '/sidebar/api')!
+ const { req } = request('/sidebar/api/session.cwd')
+ for (const [rejection, expected] of [[undefined, 200], [401, 403], [403, 403], [undefined, 200]] as const) {
+ mounted.setRejection(rejection)
+ const { res, out } = response()
+ await route.handler(req, res)
+ expect(out.status).toBe(expected)
+ }
+ expect(mounted.connection.requestRejection).toHaveBeenCalledTimes(4)
} finally {
- cleanup()
- }
- })
-
- /**
- * The four headers a same-origin ` ` carries after Chromium restores it
- * from bfcache: the stale cross-site marker plus the real Referer. The
- * `Sec-Fetch-*` and `Referer` headers are forbidden request headers, so a
- * foreign page cannot forge them.
- */
- function restoredImageHeaders(host: string, referer: string): Record {
- return {
- host,
- 'sec-fetch-site': 'cross-site',
- 'sec-fetch-mode': 'no-cors',
- 'sec-fetch-dest': 'image',
- referer,
- }
- }
-
- /** One real GET /sidebar/file for a temp PNG with `headers` on the request. */
- async function mediaRequestWith(
- headers: Record,
- trustedHosts: readonly string[] = [],
- ): Promise<{ status: number; headers: Record }> {
- const directory = mkdtempSync(join(tmpdir(), 'dsh-sidebar-fence-'))
- const file = join(directory, 'shot.png')
- writeFileSync(file, Buffer.from([0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a]))
- const { media, cleanup } = mount(trustedHosts)
- try {
- const query = new URLSearchParams({ sessionId: 'test-session', cwd: directory, path: file }).toString()
- const res = fakeRes()
- await media(req('GET', `/sidebar/file?${query}`, headers), res as unknown as ServerResponse)
- return { status: res.status, headers: res.headers }
- } finally {
- cleanup()
- removeTree(directory)
- }
- }
-
- it('accepts a restored same-origin image on the media route (Chromium stale cross-site marker)', async () => {
- const res = await mediaRequestWith(restoredImageHeaders('127.0.0.1:3080', 'http://127.0.0.1:3080/'))
- expect(res.status).toBe(200)
- expect(res.headers['content-type']).toBe('image/png')
- })
-
- it('accepts the same restored image on a trusted remote host', async () => {
- const res = await mediaRequestWith(restoredImageHeaders('example.com', 'https://example.com/'), ['example.com'])
- expect(res.status).toBe(200)
- })
-
- it('refuses a cross-site image without a Referer', async () => {
- const headers = restoredImageHeaders('127.0.0.1:3080', 'http://127.0.0.1:3080/')
- delete headers.referer
- expect((await mediaRequestWith(headers)).status).toBe(403)
- })
-
- it.each([
- ['a non-image no-cors subresource', { ...restoredImageHeaders('127.0.0.1:3080', 'http://127.0.0.1:3080/'), 'sec-fetch-dest': 'script' }],
- ['a CORS image read', { ...restoredImageHeaders('127.0.0.1:3080', 'http://127.0.0.1:3080/'), 'sec-fetch-mode': 'cors' }],
- ['a foreign Referer', restoredImageHeaders('127.0.0.1:3080', 'https://attacker.invalid/')],
- ['a look-alike Referer host', restoredImageHeaders('127.0.0.1:3080', 'http://127.0.0.1.attacker.invalid/')],
- ['a userinfo-spoofed Referer', restoredImageHeaders('127.0.0.1:3080', 'http://127.0.0.1@attacker.invalid/')],
- ['a malformed Referer', restoredImageHeaders('127.0.0.1:3080', 'null')],
- ['a Referer on a different port', restoredImageHeaders('127.0.0.1:3080', 'http://127.0.0.1:9999/')],
- ['a Referer naming localhost instead of the Host', restoredImageHeaders('127.0.0.1:3080', 'http://localhost:3080/')],
- ])('refuses a restored image carrying %s', async (_case, headers) => {
- expect((await mediaRequestWith(headers)).status).toBe(403)
- })
-
- it('still refuses a matching-Referer image whose Origin is foreign or opaque', async () => {
- const base = restoredImageHeaders('127.0.0.1:3080', 'http://127.0.0.1:3080/')
- expect((await mediaRequestWith({ ...base, origin: 'https://attacker.invalid' })).status).toBe(403)
- expect((await mediaRequestWith({ ...base, origin: 'null' })).status).toBe(403)
- })
-
- it('keeps the exception off the API and non-GET media paths', async () => {
- const headers = restoredImageHeaders('127.0.0.1:3080', 'http://127.0.0.1:3080/')
- const { api, media, cleanup } = mount([])
- try {
- const onApi = fakeRes()
- await api(req('POST', '/sidebar/api/session.cwd', headers, '{"sessionId":"test-session"}'), onApi as unknown as ServerResponse)
- expect(onApi.status).toBe(403)
- const onMediaPost = fakeRes()
- await media(req('POST', '/sidebar/file', headers, ''), onMediaPost as unknown as ServerResponse)
- expect(onMediaPost.status).toBe(403)
- } finally {
- cleanup()
- }
- })
-
-
- it('reads webRuntime.trustedHosts per request, not once at apply', async () => {
- const { api, setTrustedHosts, cleanup } = mount([])
- try {
- const before = fakeRes()
- await api(remoteDomainRequest(), before as unknown as ServerResponse)
- expect(before.status).toBe(403)
- // The trust list gains an authority after mount (e.g. config reload):
- // the already-mounted fence must pick it up without a plugin restart.
- setTrustedHosts(['example.com'])
- const after = fakeRes()
- await api(remoteDomainRequest(), after as unknown as ServerResponse)
- expect(after.status).toBe(200)
- } finally {
- cleanup()
- }
- })
-})
-
-/**
- * The desktop shell serves the GUI from `dsh-app://app`, and its WebSocket
- * upgrades reach the Host directly (the scheme handler does not carry
- * upgrades), so a handshake carries an origin no Host authority can name.
- * Refusing it destroys every /sidebar/ws socket — agent-opens pushes, fs-watch
- * refreshes — while the forwarded HTTP routes keep working, because the shell
- * strips the origin header before forwarding those.
- */
-describe('desktop shell application origin', () => {
- /** The shell page's own origin, as its handshakes and fetches present it. */
- const SHELL_ORIGIN = 'dsh-app://app'
-
- it('accepts the shell page origin on a loopback Host', async () => {
- const { api, cleanup } = mount([])
- try {
- const res = fakeRes()
- await api(req('POST', '/sidebar/api/session.cwd', {
- host: '127.0.0.1:19488',
- origin: SHELL_ORIGIN,
- }, '{"sessionId":"test-session"}'), res as unknown as ServerResponse)
- expect(res.status).toBe(200)
- } finally {
- cleanup()
- }
- })
-
- it('never carries the shell origin past the Host fence', async () => {
- // The addition is an origin exception, not an authority: an untrusted Host
- // must still refuse even when the request wears the shell's own origin.
- const { api, cleanup } = mount([])
- try {
- const res = fakeRes()
- await api(req('POST', '/sidebar/api/session.cwd', {
- host: 'evil.example',
- origin: SHELL_ORIGIN,
- }, '{"sessionId":"test-session"}'), res as unknown as ServerResponse)
- expect(res.status).toBe(403)
- } finally {
- cleanup()
- }
- })
-
- it('matches the shell origin exactly, not by scheme and not by suffix', async () => {
- const { api, cleanup } = mount([])
- try {
- for (const origin of ['dsh-app://evil', 'dsh-app://app.evil.example', 'http://evil.example']) {
- const res = fakeRes()
- await api(req('POST', '/sidebar/api/session.cwd', {
- host: '127.0.0.1:19488',
- origin,
- }, '{"sessionId":"test-session"}'), res as unknown as ServerResponse)
- expect(res.status, origin).toBe(403)
- }
- } finally {
- cleanup()
- }
- })
-
- it('destroys a cross-site handshake before the upgrade completes', async () => {
- // The fence runs ahead of ws's own handshake handling, so its verdict on
- // the upgrade path is observable as whether the socket gets destroyed.
- const { upgrade, cleanup } = mount([])
- try {
- const socket = {
- destroyed: false,
- destroy(): void { this.destroyed = true },
- }
- await upgrade('/sidebar/ws/agent-opens')(req('GET', '/sidebar/ws/agent-opens?sessionId=test-session', {
- host: '127.0.0.1:19488',
- origin: 'http://evil.example',
- connection: 'Upgrade',
- upgrade: 'websocket',
- }), socket, new Uint8Array())
- expect(socket.destroyed).toBe(true)
- } finally {
- cleanup()
+ mounted.cleanup()
}
})
})
diff --git a/tsdown.config.ts b/tsdown.config.ts
index cba0c019..9caa63e9 100644
--- a/tsdown.config.ts
+++ b/tsdown.config.ts
@@ -1,6 +1,5 @@
/**
- * tsdown build for dsh-better-sidebar: the host-half lib (lib/index.js and
- * the lib/invariant.js companion, ESM node) plus the two browser client
+ * tsdown build for dsh-better-sidebar: the host-half lib (lib/index.js, ESM node) plus the two browser client
* bundles (lib/client.js and lib/client-registry.js, CJS closure factory) —
* one per install channel:
*
@@ -328,7 +327,7 @@ const CHUNKS = ['editor', 'mermaid', 'locale', 'terminal']
export default [
{
- entry: { index: 'src/index.ts', invariant: 'src/invariant.ts' },
+ entry: { index: 'src/index.ts' },
outDir: 'lib',
format: ['esm'],
platform: 'node',