@michengai/dsh-automation 0.1.66 → 1.0.1
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 +22 -1
- package/CHANGELOG.zh-CN.md +22 -1
- package/README.md +2 -2
- package/README.zh-CN.md +2 -2
- package/lib/client.js +78 -334
- package/lib/client.js.map +3 -3
- package/lib/index.js +163 -5
- package/lib/types/client/contracts.d.ts +0 -2
- package/lib/types/client/host-icon-resolve.d.ts +1 -1
- package/lib/types/client/host-icons.d.ts +5 -2
- package/lib/types/client/icons.d.ts +2 -0
- package/lib/types/client/locales.d.ts +13 -1
- package/lib/types/client/menu-select.d.ts +30 -0
- package/lib/types/client/native-group-actions.d.ts +2 -0
- package/lib/types/client/native-session-menu.d.ts +2 -2
- package/lib/types/client/plugin-ui.d.ts +9 -0
- package/lib/types/client/schedule-overview.d.ts +6 -0
- package/lib/types/client/schedule-rail-model.d.ts +2 -6
- package/lib/types/client/sort-menu.d.ts +1 -2
- package/lib/types/client/workspace-create.d.ts +17 -34
- package/lib/types/executor.d.ts +1 -1
- package/lib/types/plugin-updater.d.ts +3 -0
- package/package.json +40 -41
- package/lib/types/client/antd-locale.d.ts +0 -2
- package/lib/types/client/antd-ui.d.ts +0 -42
- package/lib/types/client/host-theme.d.ts +0 -4
package/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,28 @@
|
|
|
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
|
-
##
|
|
7
|
+
## 1.0.1 - 2026-10-18
|
|
8
|
+
|
|
9
|
+
- Migrated primary sidebar tabs (Tasks/Channels/Schedule) and secondary view switcher (Records/Tasks) to official host `SegmentedTabs` primitives.
|
|
10
|
+
- Styled outer segment tracks with subtle transparent borders, matching concentric pill radiuses and symmetric 12px margins.
|
|
11
|
+
- Simplified secondary view labels to Records and Tasks with dedicated line icons.
|
|
12
|
+
- Aligned task overview card bounds to match segment controls precisely.
|
|
13
|
+
- Added explicit WAI-ARIA tabpanel bindings (`SHELL_PANEL_ID` and `SCHEDULE_VIEW_PANEL_ID`) and safe tab fallback on unregistration.
|
|
14
|
+
|
|
15
|
+
## 1.0.0 - 2026-10-17
|
|
16
|
+
|
|
17
|
+
- This line starts at `1.0.0` and requires DeepSeek Harness `0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-rc.1`, or `0.2.1-rc.2`. Development dependencies are pinned to `0.2.1-rc.2`, Cordis to `4.0.5`, and Schemastery to `3.18.5`. Hosts still on `0.1.x` should stay on plugin `0.1.66`.
|
|
18
|
+
- Completely dropped Ant Design in favor of host native primitives (buttons, switches, inputs, menus, segmented tabs, and dialog modals).
|
|
19
|
+
- Switched settings page tabs and sidebar view switcher to official `SegmentedTabs`, featuring pill segments, smooth sliding indicators, and wireframe icons.
|
|
20
|
+
- Fully aligned sidebar icons and controls with host design system: folders use `IconFolderClose` and `IconFolderOpen`, chevrons use `IconTriangleRightFill`, unarchive uses `IconUnarchiveOutline`, pulse statuses use official `StateDot`, and overview controls use `IconSlidersTwoOutline` with 28px borderless circular hover styling.
|
|
21
|
+
- Added Hide archived (`IconArchiveOffOutline`) to view options filter menu, matching official 3-way radio selection and default state.
|
|
22
|
+
- Aligned session ellipsis menus with official slots, supporting Copy Session ID; group rows support Restore all conversations and batch restore dialogs; archived sessions guarantee restore and deletion fallbacks.
|
|
23
|
+
- Aligned destructive action buttons with skills manager and archive manager: deletion and group archive confirm buttons use red outlined buttons (`variant="outline"` with `.dsh-st-btn-danger`) instead of filled primary buttons.
|
|
24
|
+
- Aligned model select dropdown with official Chat: `deepseek-account` is prioritized at top, localized to DeepSeek 账号 in Chinese, and official Flash models mount the 1017 blue badge.
|
|
25
|
+
- Aligned workspace directory picking with IM Assistant: dynamically probes `__DSH_DIRECTORY_PICKER__`, `uiWorkspace`, `dialog`, and `workspaces`, supporting creation directly through `workspaces.create`.
|
|
26
|
+
- Successful self-update automatically records the exact version in the profile release-age allowlist to prevent subsequent install rejections.
|
|
27
|
+
- Scheduled session opening strictly uses `uiWorkspace.openSession`.
|
|
28
|
+
- Dialog confirmations place instructions in host modal descriptions rather than body text.
|
|
8
29
|
|
|
9
30
|
## 0.1.66 - 2026-10-15
|
|
10
31
|
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -4,7 +4,28 @@
|
|
|
4
4
|
|
|
5
5
|
以下记录待发布变更及近期已发布版本。Git 标签与 GitHub Release 现已和这些条目同步;历史条目继续保留原始发布提交链接。
|
|
6
6
|
|
|
7
|
-
##
|
|
7
|
+
## 1.0.1 - 2026-10-18
|
|
8
|
+
|
|
9
|
+
- 侧边栏一级导航(任务/频道/定时)与二级视图切换器(记录/任务)全面迁移换用宿主官方 `SegmentedTabs` 原语组件。
|
|
10
|
+
- 采用微透描边外壳与弱底槽轨道样式,同心圆角嵌套,并严格保证左右 12px 物理对称居中。
|
|
11
|
+
- 二级切换选项标签精简为「记录」与「任务」,并补齐原生列表与工作区树线框图标。
|
|
12
|
+
- 任务总览卡片区域(`.dsh-st-overview`)左右两端宽度与上方分段器 100% 垂直对齐。
|
|
13
|
+
- 补齐 WAI-ARIA 无障碍可访问性面板绑定(`SHELL_PANEL_ID` 与 `SCHEDULE_VIEW_PANEL_ID`),并在历史页签注销时安全回落至任务页。
|
|
14
|
+
|
|
15
|
+
## 1.0.0 - 2026-10-17
|
|
16
|
+
|
|
17
|
+
- 插件版本从 `1.0.0` 起算,支持 DeepSeek Harness `0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-rc.1`、`0.2.1-rc.2`。开发依赖对齐 `0.2.1-rc.2`,Cordis 对齐 `4.0.5`,Schemastery 对齐 `3.18.5`。仍停在 `0.1.x` 的宿主请继续使用插件 `0.1.66`。
|
|
18
|
+
- 彻底去除 Ant Design,全量改用宿主原生原语(按钮、开关、输入、菜单、分段页签和对话框)。
|
|
19
|
+
- 设置页面切换栏及侧边栏视图切换器换用官方 `SegmentedTabs` 范围分段页签(对齐技能管理),具备药丸胶囊、独立滑动指示器与原生线框图标。
|
|
20
|
+
- 侧边栏图标与操作全量对齐官方设计规范:工作区文件夹使用原生 `IconFolderClose` 与 `IconFolderOpen`,折叠展开使用 `IconTriangleRightFill`,取消归档使用 `IconUnarchiveOutline`,运行状态统一使用官方 `StateDot`,任务总览与排序按钮全面对齐官方原生调音台双滑块图标(`IconSlidersTwoOutline`)与无边框圆形悬停规范。
|
|
21
|
+
- 侧边栏视图选项(调音台菜单)筛选会话补齐「隐藏已归档」(`IconArchiveOffOutline`),对齐官方三态单选与默认选中状态。
|
|
22
|
+
- 会话行三个点菜单对齐官方全量条目,支持复制 Session ID 与扩展条目;分组行补齐「恢复整组会话」及批量恢复弹窗,已归档会话确保包含恢复、复制 ID 与删除会话保底。
|
|
23
|
+
- 对齐技能管理器与归档管理器的危险操作规范:删除任务、删除会话与整组归档确认按钮统一采用带红色的描边线框样式(`variant="outline"` + `.dsh-st-btn-danger`),不再使用实心蓝色主按钮。
|
|
24
|
+
- 模型下拉菜单对齐官方 Chat 规范:提供方按 `deepseek-account` 优先置顶,名称本地化为「DeepSeek 账号」,官方 Flash 模型选项挂载 `1017` 蓝色版本徽标,并完善双语兜底与无障碍回退链条。
|
|
25
|
+
- 新增工作区完全对齐 IM 机制:运行时动态探测 `__DSH_DIRECTORY_PICKER__`、`uiWorkspace`、`dialog`、`workspaces` 四重来源,支持在宿主 `workspaces.create` 中直接创建并联动登记。
|
|
26
|
+
- 自更新成功后自动把精确版本写入 profile 的发布年龄白名单,避免之后安装或卸载插件被拒绝。
|
|
27
|
+
- 打开定时会话只走宿主 `uiWorkspace.openSession`,不再回退已删除的 `sessions.open`。
|
|
28
|
+
- 确认弹窗的说明改放到宿主对话框的 description,不再被正文间距压到按钮上。
|
|
8
29
|
|
|
9
30
|
## 0.1.66 - 2026-10-15
|
|
10
31
|
|
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.2.1-
|
|
77
|
-
- Official DSH peerDependencies are exactly `0.
|
|
76
|
+
- The current source uses DSH `0.2.1-rc.2` for development and real Host compatibility tests, and declares support for `0.2.0-rc.1`, `0.2.0-rc.2`, `0.2.1-rc.1`, and `0.2.1-rc.2`. Hosts still on `0.1.x` should stay on plugin `0.1.66`. Back up automation storage and sessions in the Profile before upgrading the Host. `0.2.0` writes V4 sessions, and V4 sessions cannot be read after downgrading.
|
|
77
|
+
- Official DSH peerDependencies are exactly `0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2`. Intermediate `0.2.1-alpha` releases are no longer supported. `0.1.x` is no longer supported because the current UI uses host primitives that those hosts do not provide. `@deepseek-ai/dsh-agent-presets` and `@deepseek-ai/dsh-agent-preset-registry` are not peers: scheduled tasks use the host `agentPresets` service, and the install gate checks every `@deepseek-ai/dsh-*` peer against the running version. Development dependencies are pinned to `0.2.1-rc.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 automation bundle does not override the official Connection entry. Each Host keeps its own startup dependencies, trusted-host expressions, and custom configuration; automation registers its RPC channel in its own plugin scope.
|
|
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.2.1-
|
|
77
|
-
- 官方 DSH peerDependencies 精确限定为 `0.
|
|
76
|
+
- 当前源码以 DSH `0.2.1-rc.2` 为开发和真实宿主测试基线,声明支持 `0.2.0-rc.1`、`0.2.0-rc.2`、`0.2.1-rc.1`、`0.2.1-rc.2`。仍停在 `0.1.x` 的宿主请继续使用插件 `0.1.66`。升级宿主前备份 Profile 中的自动化存储和会话目录。`0.2.0` 写入 V4 会话,V4 会话不支持降级读取。
|
|
77
|
+
- 官方 DSH peerDependencies 精确限定为 `0.2.0-rc.1 || 0.2.0-rc.2 || 0.2.1-rc.1 || 0.2.1-rc.2`。中间的 `0.2.1-alpha` 预发布不再支持。`0.1.x` 不再支持,因为当前界面使用的宿主原语在那些宿主上不存在。`@deepseek-ai/dsh-agent-presets` 和 `@deepseek-ai/dsh-agent-preset-registry` 都不写入 peer:定时任务使用宿主的 `agentPresets` 服务,安装门会拿每一个 `@deepseek-ai/dsh-*` peer 去对当前版本。开发依赖固定为 `0.2.1-rc.2`。同一宿主中的官方包应使用一致版本。
|
|
78
78
|
- 其他版本不在声明兼容范围内;安装器可能提示 peer 警告,启用严格 peer 校验时会失败。支持新 rc 前需扩展版本矩阵并通过验证。
|
|
79
79
|
- 自动化 bundle 不覆盖官方 Connection 条目,各版宿主保留自己的启动依赖、可信地址表达式和自定义配置;自动化在自身插件作用域注册 RPC 路由。
|
|
80
80
|
- 已可正常运行 DeepSeek Harness Web,且可在 PowerShell 中使用 `dsh`。
|