@michengai/dsh-automation 0.1.32 → 0.1.35
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 +15 -0
- package/CHANGELOG.zh-CN.md +15 -0
- package/README.md +50 -34
- package/README.zh-CN.md +50 -34
- package/lib/client.js +333 -11
- package/lib/client.js.map +4 -4
- package/lib/index.js +412 -154
- package/lib/types/client/plugin-update-ui.d.ts +20 -0
- package/lib/types/plugin-updater.d.ts +21 -0
- package/package.json +6 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,21 @@
|
|
|
4
4
|
|
|
5
5
|
The five most 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.35 - 2026-09-09
|
|
8
|
+
|
|
9
|
+
- Adjust model menu sizing and hint containers, and simplify model rows.
|
|
10
|
+
|
|
11
|
+
- Unified settings headings, descriptions, and action layouts; maintenance controls no longer squeeze titles or versions. The layout adapts to native DSH settings without Codex UI.
|
|
12
|
+
|
|
13
|
+
## 0.1.34 - 2026-09-07
|
|
14
|
+
|
|
15
|
+
- Aligned the release workflow's pnpm version with the package-declared version so tag publishing can start its checks.
|
|
16
|
+
|
|
17
|
+
## 0.1.33 - 2026-09-07
|
|
18
|
+
|
|
19
|
+
- Added independent in-product update checks with automatic updates when a verified DSH update service is available and a profile-specific manual fallback otherwise.
|
|
20
|
+
- Removed the update-button dependency on `react-dom/client` so the client can load on Hosts that do not register that module id.
|
|
21
|
+
|
|
7
22
|
## 0.1.32 — 2026-09-06
|
|
8
23
|
|
|
9
24
|
- Removed the fixed unattended tool allowlist and background-shell ban so tool calls and background process management follow DSH. Retained automatic rejection of approval requests and task timeout cancellation.
|
package/CHANGELOG.zh-CN.md
CHANGED
|
@@ -4,6 +4,21 @@
|
|
|
4
4
|
|
|
5
5
|
以下记录最近发布的五个版本。Git 标签与 GitHub Release 现已和这些条目同步;历史条目继续保留原始发布提交链接。
|
|
6
6
|
|
|
7
|
+
## 0.1.35 - 2026-09-09
|
|
8
|
+
|
|
9
|
+
- 调整模型菜单的宽度及辅助文本容器,精简模型条目显示。
|
|
10
|
+
|
|
11
|
+
- 统一设置页标题、说明与操作布局,标题及版本不再被维护按钮挤压;适配原生 DSH 设置内容区,无需安装 Codex UI。
|
|
12
|
+
|
|
13
|
+
## 0.1.34 - 2026-09-07
|
|
14
|
+
|
|
15
|
+
- 将发布工作流的 pnpm 版本与包内声明对齐,使标签发布能够进入完整校验。
|
|
16
|
+
|
|
17
|
+
## 0.1.33 - 2026-09-07
|
|
18
|
+
|
|
19
|
+
- 新增独立的插件内检查更新能力:仅在已验证的 DSH 更新服务可用时自动更新,其余环境提供与 Profile 对应的手工更新命令。
|
|
20
|
+
- 更新按钮图标不再依赖 `react-dom/client`,避免宿主未注册该模块 id 时客户端无法加载。
|
|
21
|
+
|
|
7
22
|
## 0.1.32 — 2026-09-06
|
|
8
23
|
|
|
9
24
|
- 移除无人值守自动化的固定工具白名单和后台 shell 禁令,工具调用及后台进程管理统一遵循 DSH;保留需要审批即拒绝和任务超时取消约束。
|
package/README.md
CHANGED
|
@@ -21,14 +21,13 @@
|
|
|
21
21
|
|
|
22
22
|
## Features
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
- Keep
|
|
31
|
-
- Add a sidebar **Scheduled** tab. Folders are task names and child sessions are run times. On stock DSH it wraps the official workspace tree and does not depend on `dsh-codex-ui`.
|
|
24
|
+
Let DSH handle work on a schedule. Set up tasks in Settings or describe the timing and requirements in a conversation, then review each run.
|
|
25
|
+
|
|
26
|
+
- **Run once or repeat**: choose intervals, hourly, daily, weekly, monthly, or every N days.
|
|
27
|
+
- **Choose the working environment**: set the directory, model, skills, and permissions.
|
|
28
|
+
- **Adjust the schedule anytime**: create, pause, resume, run immediately, or delete tasks.
|
|
29
|
+
- **Review results**: browse task conversations by name and run time in the **Scheduled** tab, or filter run history in Settings.
|
|
30
|
+
- **Keep each run independent**: each run uses the saved task instructions and does not inherit the conversation that created it.
|
|
32
31
|
|
|
33
32
|
## Interface
|
|
34
33
|
|
|
@@ -40,7 +39,7 @@ Open **Settings → Scheduled Tasks** to search, create, pause, and inspect rule
|
|
|
40
39
|
|
|
41
40
|

|
|
42
41
|
|
|
43
|
-
Describe the job in chat.
|
|
42
|
+
Describe the job in chat. DSH handles approval according to the selected permission mode:
|
|
44
43
|
|
|
45
44
|

|
|
46
45
|
|
|
@@ -56,13 +55,18 @@ Run history stays in Settings and can be filtered by day, week, month, task, or
|
|
|
56
55
|
|
|
57
56
|
## DSH product ecosystem
|
|
58
57
|
|
|
59
|
-
|
|
58
|
+
For a ready-to-use workbench, download [DSH Codex Desktop](https://github.com/MichengAI/dsh-codex-desktop/releases). If you already use [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness), install any of these eight plugins individually. The desktop app includes all eight.
|
|
60
59
|
|
|
61
|
-
|
|
|
60
|
+
| Plugin | What you can do |
|
|
62
61
|
| --- | --- |
|
|
63
|
-
| [
|
|
64
|
-
| [
|
|
65
|
-
|
|
|
62
|
+
| [Codex UI](https://github.com/MichengAI/dsh-codex-ui) | Organize projects and conversations, search tasks, and navigate chat turns |
|
|
63
|
+
| [IM Connect](https://github.com/MichengAI/dsh-im-connect) | Send tasks and receive replies through your usual messenger |
|
|
64
|
+
| [Automation](https://github.com/MichengAI/dsh-automation) | Schedule tasks and review each run |
|
|
65
|
+
| [Skills Manager](https://github.com/MichengAI/dsh-skills-manager) | Find, enable, create, and import local skills |
|
|
66
|
+
| [Archive Manager](https://github.com/MichengAI/dsh-archive-manager) | Search, restore, or clean up archived conversations |
|
|
67
|
+
| [Agency Agents](https://github.com/MichengAI/dsh-agency-agents) | Choose and summon specialists for your task |
|
|
68
|
+
| [BTW](https://github.com/MichengAI/dsh-btw) | Ask side questions without interrupting the main task |
|
|
69
|
+
| [Simplify](https://github.com/MichengAI/dsh-simplify) | Use /simplify to improve code within your Git changes |
|
|
66
70
|
|
|
67
71
|
## Prerequisites
|
|
68
72
|
|
|
@@ -72,7 +76,15 @@ This product can be installed independently or used through the desktop app or W
|
|
|
72
76
|
|
|
73
77
|
## Installation
|
|
74
78
|
|
|
75
|
-
|
|
79
|
+
The installation commands below use the official npm registry.
|
|
80
|
+
|
|
81
|
+
### Ask an agent to install it (recommended)
|
|
82
|
+
|
|
83
|
+
Send the prompt below to any agent that can run terminal commands on your computer. Replace `web` with your actual profile. Once installed, use the plugin in DSH.
|
|
84
|
+
|
|
85
|
+
```text
|
|
86
|
+
Install the DSH plugin @michengai/dsh-automation into my local web profile by running: dsh plugin --profile web add @michengai/dsh-automation@latest --registry=https://registry.npmjs.org/. Then run dsh --profile web --dump-config, confirm the configuration includes dsh-automation, and explain how to reload DSH and start using the plugin.
|
|
87
|
+
```
|
|
76
88
|
|
|
77
89
|
### Install from npm
|
|
78
90
|
|
|
@@ -85,24 +97,9 @@ dsh --profile web --dump-config
|
|
|
85
97
|
|
|
86
98
|
Restart DSH Web and hard-refresh the browser. Pin a version with `@0.1.5` instead of `@latest` when needed.
|
|
87
99
|
|
|
88
|
-
|
|
100
|
+
## Updates
|
|
89
101
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
```powershell
|
|
93
|
-
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
|
|
94
|
-
$OutputEncoding = [System.Text.Encoding]::UTF8
|
|
95
|
-
Set-Location D:\Repository\deepseek-harness-plugin
|
|
96
|
-
git clone https://github.com/MichengAI/dsh-automation.git
|
|
97
|
-
Set-Location .\dsh-automation
|
|
98
|
-
pnpm install
|
|
99
|
-
pnpm test
|
|
100
|
-
pnpm build
|
|
101
|
-
dsh plugin --profile web add .
|
|
102
|
-
dsh --profile web --dump-config
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
Restart DSH Web and hard-refresh the browser. Local installation reads and applies `cordis.patch.yml`; do not copy `lib` files manually.
|
|
102
|
+
The settings title shows the installed version and a **Check for updates** button. When a newer release is available, **Update automatically** runs only when the DSH CLI or Desktop update service is available; otherwise, the dialog provides a profile-specific manual command to copy and run.
|
|
106
103
|
|
|
107
104
|
## Usage
|
|
108
105
|
|
|
@@ -135,6 +132,25 @@ A schedule stores future intent. It is not a cached permission grant.
|
|
|
135
132
|
|
|
136
133
|
## Development
|
|
137
134
|
|
|
135
|
+
### Install from source
|
|
136
|
+
|
|
137
|
+
Use this for debugging or unpublished changes. The cloned directory becomes the plugin source path:
|
|
138
|
+
|
|
139
|
+
```powershell
|
|
140
|
+
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
|
|
141
|
+
$OutputEncoding = [System.Text.Encoding]::UTF8
|
|
142
|
+
Set-Location D:\Repository\deepseek-harness-plugin
|
|
143
|
+
git clone https://github.com/MichengAI/dsh-automation.git
|
|
144
|
+
Set-Location .\dsh-automation
|
|
145
|
+
pnpm install
|
|
146
|
+
pnpm test
|
|
147
|
+
pnpm build
|
|
148
|
+
dsh plugin --profile web add .
|
|
149
|
+
dsh --profile web --dump-config
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
Restart DSH Web and hard-refresh the browser. Local installation reads and applies `cordis.patch.yml`; do not copy `lib` files manually.
|
|
153
|
+
|
|
138
154
|
Current sources live in `src` and build into `lib`:
|
|
139
155
|
|
|
140
156
|
- [src\index.ts](src/index.ts): Host plugin, tools, and RPC.
|
|
@@ -164,8 +180,8 @@ pnpm build
|
|
|
164
180
|
|
|
165
181
|
`pnpm check` runs typecheck, tests, and build together.
|
|
166
182
|
|
|
167
|
-
##
|
|
183
|
+
## License
|
|
168
184
|
|
|
169
|
-
|
|
185
|
+
Additional notices are in [NOTICE](NOTICE).
|
|
170
186
|
|
|
171
187
|
This project uses [Apache License 2.0](LICENSE).
|
package/README.zh-CN.md
CHANGED
|
@@ -21,14 +21,13 @@
|
|
|
21
21
|
|
|
22
22
|
## 功能概览
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
-
|
|
31
|
-
- 侧栏提供「定时」页签:文件夹是任务名称,子会话是执行时间。原生下只包裹官方任务树,不依赖 `dsh-codex-ui`。
|
|
24
|
+
把需要按时重复的工作交给 DSH。你可以在设置页安排任务,也可以在对话中说明执行时间和要求,再回看每次运行的结果。
|
|
25
|
+
|
|
26
|
+
- **安排一次或重复执行**:支持间隔、每小时、每天、每周、每月和自定义间隔天数。
|
|
27
|
+
- **选择工作环境**:设置工作目录、模型、技能和权限。
|
|
28
|
+
- **随时调整安排**:创建、暂停、恢复、立即运行或删除任务。
|
|
29
|
+
- **查看执行结果**:在侧栏「定时」中按任务和执行时间回看会话,在设置页筛选运行记录。
|
|
30
|
+
- **每次独立运行**:使用已保存的任务说明,不继承创建任务时的整段对话。
|
|
32
31
|
|
|
33
32
|
## 界面预览
|
|
34
33
|
|
|
@@ -40,7 +39,7 @@
|
|
|
40
39
|
|
|
41
40
|

|
|
42
41
|
|
|
43
|
-
在对话里描述任务。
|
|
42
|
+
在对话里描述任务。DSH 会按所选权限模式处理授权:
|
|
44
43
|
|
|
45
44
|

|
|
46
45
|
|
|
@@ -56,13 +55,18 @@
|
|
|
56
55
|
|
|
57
56
|
## DSH 产品生态
|
|
58
57
|
|
|
59
|
-
|
|
58
|
+
想直接使用完整工作台,可下载 [DSH Codex Desktop](https://github.com/MichengAI/dsh-codex-desktop/releases);已有 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) 环境,可按需独立安装以下 8 个自研插件。桌面端已随附这些插件。
|
|
60
59
|
|
|
61
|
-
|
|
|
60
|
+
| 插件 | 你可以用它做什么 |
|
|
62
61
|
| --- | --- |
|
|
63
|
-
| [
|
|
64
|
-
| [
|
|
65
|
-
|
|
|
62
|
+
| [Codex UI](https://github.com/MichengAI/dsh-codex-ui) | 整理项目与会话、搜索任务、跳转对话轮次 |
|
|
63
|
+
| [IM Connect](https://github.com/MichengAI/dsh-im-connect) | 从微信、飞书、钉钉等消息平台下任务、收回复 |
|
|
64
|
+
| [Automation](https://github.com/MichengAI/dsh-automation) | 按计划执行任务,查看每次运行的结果 |
|
|
65
|
+
| [Skills Manager](https://github.com/MichengAI/dsh-skills-manager) | 统一查找、启停、创建和导入本机技能 |
|
|
66
|
+
| [Archive Manager](https://github.com/MichengAI/dsh-archive-manager) | 搜索、恢复或清理已归档会话 |
|
|
67
|
+
| [Agency Agents](https://github.com/MichengAI/dsh-agency-agents) | 按任务选择并召唤专业角色 |
|
|
68
|
+
| [BTW](https://github.com/MichengAI/dsh-btw) | 在当前上下文中临时旁问,不打断主任务 |
|
|
69
|
+
| [Simplify](https://github.com/MichengAI/dsh-simplify) | 用 /simplify 整理 Git 改动范围内的代码 |
|
|
66
70
|
|
|
67
71
|
## 前置条件
|
|
68
72
|
|
|
@@ -72,7 +76,15 @@
|
|
|
72
76
|
|
|
73
77
|
## 安装
|
|
74
78
|
|
|
75
|
-
|
|
79
|
+
以下安装命令使用官方 npm 源。
|
|
80
|
+
|
|
81
|
+
### 让 Agent 帮你安装(推荐)
|
|
82
|
+
|
|
83
|
+
把下面这段话发给任意能够执行本机终端命令的 Agent。将 `web` 替换为实际使用的 profile;安装完成后,在 DSH 中使用本插件。
|
|
84
|
+
|
|
85
|
+
```text
|
|
86
|
+
请将 DSH 插件 @michengai/dsh-automation 安装到本机 web profile,执行:dsh plugin --profile web add @michengai/dsh-automation@latest --registry=https://registry.npmjs.org/。安装后执行 dsh --profile web --dump-config,确认配置包含 dsh-automation,并告诉我如何重新加载 DSH 和开始使用。
|
|
87
|
+
```
|
|
76
88
|
|
|
77
89
|
### 从 npm 安装
|
|
78
90
|
|
|
@@ -85,24 +97,9 @@ dsh --profile web --dump-config
|
|
|
85
97
|
|
|
86
98
|
安装后重启 DSH Web,并在浏览器硬刷新。需要钉死某一版时,把 `@latest` 换成 `@0.1.5`。
|
|
87
99
|
|
|
88
|
-
|
|
100
|
+
## 在线更新
|
|
89
101
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
```powershell
|
|
93
|
-
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
|
|
94
|
-
$OutputEncoding = [System.Text.Encoding]::UTF8
|
|
95
|
-
Set-Location D:\Repository\deepseek-harness-plugin
|
|
96
|
-
git clone https://github.com/MichengAI/dsh-automation.git
|
|
97
|
-
Set-Location .\dsh-automation
|
|
98
|
-
pnpm install
|
|
99
|
-
pnpm test
|
|
100
|
-
pnpm build
|
|
101
|
-
dsh plugin --profile web add .
|
|
102
|
-
dsh --profile web --dump-config
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
完成后重启 DSH Web 并硬刷新浏览器。`dsh plugin ... add .` 会自动读取并应用 `cordis.patch.yml`;不要手工复制 `lib` 文件。
|
|
102
|
+
设置标题会显示当前版本和“检查更新”按钮。发现新版后,只有检测到 DSH CLI 或 Desktop 更新服务时才可使用“自动更新”;其他环境会在弹窗中提供可复制、与当前 Profile 对应的手工更新命令。
|
|
106
103
|
|
|
107
104
|
## 使用
|
|
108
105
|
|
|
@@ -135,6 +132,25 @@ dsh --profile web --dump-config
|
|
|
135
132
|
|
|
136
133
|
## 二次开发
|
|
137
134
|
|
|
135
|
+
### 从源码安装
|
|
136
|
+
|
|
137
|
+
适用于调试或使用未发布改动。克隆后的目录会直接作为插件安装路径:
|
|
138
|
+
|
|
139
|
+
```powershell
|
|
140
|
+
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
|
|
141
|
+
$OutputEncoding = [System.Text.Encoding]::UTF8
|
|
142
|
+
Set-Location D:\Repository\deepseek-harness-plugin
|
|
143
|
+
git clone https://github.com/MichengAI/dsh-automation.git
|
|
144
|
+
Set-Location .\dsh-automation
|
|
145
|
+
pnpm install
|
|
146
|
+
pnpm test
|
|
147
|
+
pnpm build
|
|
148
|
+
dsh plugin --profile web add .
|
|
149
|
+
dsh --profile web --dump-config
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
完成后重启 DSH Web 并硬刷新浏览器。`dsh plugin ... add .` 会自动读取并应用 `cordis.patch.yml`;不要手工复制 `lib` 文件。
|
|
153
|
+
|
|
138
154
|
当前源码在 `src`,构建产物在 `lib`:
|
|
139
155
|
|
|
140
156
|
- [src\index.ts](src/index.ts):Host 插件、工具和 RPC。
|
|
@@ -164,8 +180,8 @@ pnpm build
|
|
|
164
180
|
|
|
165
181
|
`pnpm check` 会连续执行类型检查、测试和构建。
|
|
166
182
|
|
|
167
|
-
##
|
|
183
|
+
## 许可证
|
|
168
184
|
|
|
169
|
-
|
|
185
|
+
补充说明见 [NOTICE](NOTICE)。
|
|
170
186
|
|
|
171
187
|
本项目采用 [Apache License 2.0](LICENSE)。
|