@michengai/dsh-automation 0.1.43 → 0.1.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/CHANGELOG.zh-CN.md +13 -0
- package/README.md +2 -2
- package/README.zh-CN.md +2 -2
- package/lib/client.js +241 -166
- package/lib/client.js.map +3 -3
- package/lib/index.js +16 -1
- package/lib/types/client/contracts.d.ts +8 -1
- package/lib/types/client/icons.d.ts +0 -3
- package/lib/types/client/locales.d.ts +7 -0
- package/lib/types/client/native-group-actions.d.ts +14 -1
- package/lib/types/client/native-session-list.d.ts +0 -1
- package/lib/types/client/native-session-menu.d.ts +0 -40
- package/lib/types/client/schedule-rail-model.d.ts +22 -0
- package/package.json +37 -37
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,19 @@
|
|
|
4
4
|
|
|
5
5
|
Upcoming changes and recent published versions are listed below. Git tags and GitHub Releases now mirror these entries; historical sections retain links to their original release commits.
|
|
6
6
|
|
|
7
|
+
## 0.1.45 - 2026-09-18
|
|
8
|
+
|
|
9
|
+
- Support DSH `0.1.6-alpha.2` while keeping older hosts. Open scheduled sessions through `uiWorkspace.openSession` when present, and fall back to `sessions.open` on older clients.
|
|
10
|
+
- Fix scheduled sessions that could not be opened from the sidebar on alpha.2: probe official `openSession` with `reflect.get('uiWorkspace')` instead of reading `ctx.uiWorkspace` (Cordis throws without inject) or the removed `sessions.open`.
|
|
11
|
+
- Resolve the selected session from `retainedBy.mainView` when the session list no longer exposes `current`.
|
|
12
|
+
- Align the scheduled session list with official WorkspaceBrowser chrome (indent, hover folder-to-chevron, scrollbar gutter, search and empty states). With archive-manager installed, session menus can delete.
|
|
13
|
+
- Forward host rename/archive/delete/fork onto the self-drawn scheduled list when no tab registry is present, so those menus match the hosted tab path.
|
|
14
|
+
|
|
15
|
+
## 0.1.44 - 2026-09-16
|
|
16
|
+
|
|
17
|
+
- Keep only turn-boundary events in the live run-summary buffer, dropping request headers and tool results.
|
|
18
|
+
- Treat plugin-fiber unload (`INACTIVE_EFFECT`) or an aborted run signal mid-execution as `cancelled`, not `executor_error`.
|
|
19
|
+
|
|
7
20
|
## 0.1.43 - 2026-09-16
|
|
8
21
|
|
|
9
22
|
- Add support for DSH `0.1.6-alpha.1`, retaining compatibility with `0.1.0-rc.8`, `0.1.1-rc.2`, `0.1.2-rc.1`, `0.1.5-rc.1`, and `0.1.5-rc.2`.
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -4,6 +4,19 @@
|
|
|
4
4
|
|
|
5
5
|
以下记录待发布变更及近期已发布版本。Git 标签与 GitHub Release 现已和这些条目同步;历史条目继续保留原始发布提交链接。
|
|
6
6
|
|
|
7
|
+
## 0.1.45 - 2026-09-18
|
|
8
|
+
|
|
9
|
+
- 支持 DSH `0.1.6-alpha.2`,继续兼容旧宿主。打开定时会话优先走官方 `uiWorkspace.openSession`,旧客户端回退 `sessions.open`。
|
|
10
|
+
- 修复 alpha.2 侧栏定时会话点不进去:不再依赖已删除的 `sessions.open`,点击时用 `reflect.get('uiWorkspace')` 取官方 `openSession`,禁止直接读 `ctx.uiWorkspace`(未 inject 会抛错)。
|
|
11
|
+
- 会话列表不再提供 `current` 时,按 `retainedBy.mainView` 识别当前主视图会话。
|
|
12
|
+
- 定时会话列表对齐官方工作区样式(缩进、悬停箭头、滚动槽、搜索/空态)。安装归档插件后,会话菜单支持删除。
|
|
13
|
+
- 没有协作页签注册表时,自绘定时列表也会转发宿主的重命名/归档/删除/派生,菜单不再缺项。
|
|
14
|
+
|
|
15
|
+
## 0.1.44 - 2026-09-16
|
|
16
|
+
|
|
17
|
+
- 运行摘要增量只保留 turn 边界事件,不再缓存 request/header 和工具结果。
|
|
18
|
+
- 插件 fiber 卸载抛出 `INACTIVE_EFFECT`,或运行中段已 abort 时,将运行记为 `cancelled`,而不是 `executor_error`。
|
|
19
|
+
|
|
7
20
|
## 0.1.43 - 2026-09-16
|
|
8
21
|
|
|
9
22
|
- 支持 DSH `0.1.6-alpha.1`,继续兼容 `0.1.0-rc.8`、`0.1.1-rc.2`、`0.1.2-rc.1`、`0.1.5-rc.1` 和 `0.1.5-rc.2`。
|
package/README.md
CHANGED
|
@@ -73,8 +73,8 @@ For a desktop workbench, download [DSH Codex Desktop](https://github.com/Micheng
|
|
|
73
73
|
|
|
74
74
|
## Prerequisites
|
|
75
75
|
|
|
76
|
-
- The current source uses DSH `0.1.6-alpha.
|
|
77
|
-
- Official DSH peerDependencies are exactly `0.1.0-rc.8 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.6-alpha.1`; development dependencies remain pinned to `0.1.6-alpha.
|
|
76
|
+
- The current source uses DSH `0.1.6-alpha.2` for development and real Host compatibility tests, while retaining the legacy Agent setup callback and session-list formats. Back up automation storage and sessions in the Profile before upgrading the Host; V3 sessions cannot be read after downgrading.
|
|
77
|
+
- Official DSH peerDependencies are exactly `0.1.0-rc.8 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2`; development dependencies remain pinned to `0.1.6-alpha.2`. Use one consistent official package version within each Host.
|
|
78
78
|
- Other versions are outside the declared compatibility range. Installers may warn, and strict peer validation rejects them. Extend and pass the version matrix before adding a new rc.
|
|
79
79
|
- The Connection patch replaces the Web bundle's configured injection list with `[webServer, webRuntime]`; Loader still merges dependencies declared by the plugin source. Custom Hosts with additional configured injections must retain these two entries and their extra dependencies in a later Profile patch. This patch does not automatically merge other bundles' lists.
|
|
80
80
|
- A working DeepSeek Harness Web installation with `dsh` available in PowerShell.
|
package/README.zh-CN.md
CHANGED
|
@@ -73,8 +73,8 @@
|
|
|
73
73
|
|
|
74
74
|
## 前置条件
|
|
75
75
|
|
|
76
|
-
- 当前源码以 DSH `0.1.6-alpha.
|
|
77
|
-
- 官方 DSH peerDependencies 精确限定为 `0.1.0-rc.8 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.6-alpha.1`;开发依赖固定为 `0.1.6-alpha.
|
|
76
|
+
- 当前源码以 DSH `0.1.6-alpha.2` 为开发和真实宿主测试基线,保留旧版 Agent 创建回调及会话列表格式的兼容。升级宿主前备份 Profile 中的自动化存储和会话目录;V3 会话不支持降级读取。
|
|
77
|
+
- 官方 DSH peerDependencies 精确限定为 `0.1.0-rc.8 || 0.1.1-rc.2 || 0.1.2-rc.1 || 0.1.5-rc.1 || 0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2`;开发依赖固定为 `0.1.6-alpha.2`。同一宿主中的官方包应使用一致版本。
|
|
78
78
|
- 其他版本不在声明兼容范围内;安装器可能提示 peer 警告,启用严格 peer 校验时会失败。支持新 rc 前需扩展版本矩阵并通过验证。
|
|
79
79
|
- Connection 补丁替换 Web bundle 的配置注入列表为 `[webServer, webRuntime]`,Loader 仍会合并插件源码声明的依赖。自定义宿主若增加了其他配置注入,需在后置 Profile 补丁中保留这两项并补齐自定义依赖;本补丁不自动合并其他 bundle 的列表。
|
|
80
80
|
- 已可正常运行 DeepSeek Harness Web,且可在 PowerShell 中使用 `dsh`。
|