快速了解
它能做什么
在隔离的 DeepSeek Harness 会话中按计划运行独立编码任务。
本站提供的是中文说明,不代表该项目或 Plugin 自身提供中文界面;语言支持请以上游文档为准。
Web Profile
DSH peers: >=0.1.0-rc.5 <0.2.0; Cordis: >=4.0.1 <5.0.0
证据已验证
核对日期 2026/9/6 UTC 13:50
选择前先看
这是一个社区维护的 DeepSeek Harness 插件,用于创建、暂停、恢复、立即运行和删除定时编码任务规则。它增加 Scheduled 侧边栏、规则与持久运行历史设置页,并可在聊天中经由宿主审批流程创建规则。
适合谁
希望把一次性或周期性编码工作作为独立会话管理的 DeepSeek Harness Web 用户。
常见任务
- 按一次、间隔、每小时、每天、每周、每月或每 N 天运行编码提示词。
- 为定时运行选择工作区、模型、技能和宿主权限预设。
- 暂停、恢复、立即触发或删除规则,并筛选已记录的运行历史。
- 在聊天中描述计划,并通过宿主审批卡确认创建。
权限与数据
定时运行使用宿主提供的工具、权限预设和审批检查。
权限- 用户从宿主提供的权限预设中选择,也可使用自定义预设。
- 完全访问预设遵循宿主风险确认;文档称无人值守运行采用失败关闭的 `never`。
- 保存持久化的任务定义和运行历史状态。
- 每次运行使用已保存的提示词、工作区、模型和权限边界,不继承源聊天历史。
- 需要已可用的 DeepSeek Harness Web 安装及其配置的模型或提供方服务。
- 未声明插件专用凭据要求;供宿主或模型使用的凭据未在所提供证据中说明。
局限
- 这是社区维护的插件,不是 DeepSeek AI 官方产品。
- 每条规则只允许一个活动运行;重叠触发会记录为跳过。
- 已启动的运行不会自动重试。
- 宿主重启时,遗留的排队或运行中记录会标为 `host_interrupted` 失败。
- 本次整理未实际执行安装或运行时行为。
DSHub 已核对
- 已验证固定 Git 源码及 DSH Bundle 结构。
- 已验证 @michengai/dsh-automation 0.1.32 的 npm 注册表身份。
- 清单声明 Apache-2.0 许可证,以及 Node.js ^22.19.0 或 >=24.0.0。
DSHub 未核对
- 未在 DSH 配置中实际完成安装。
- 未执行仓库测试、构建、界面、调度或权限行为验证。
- 未审计已发布 npm 包的内容。
固定版本安装
安装 DSH Automation
这个Plugin Bundle没有 DSH Plugin 安装操作,请根据源码文档使用真实交付方式。
维护者原文
项目 README
DSH Automation
Run standalone coding tasks on a schedule in DeepSeek Harness
简体中文 · Changelog · Apache-2.0
</div>DSH Automation is a community-maintained DeepSeek Harness (DSH) plugin, not an official DeepSeek AI product.
Features
- Manage scheduled tasks from Settings → Scheduled Tasks.
- Create, pause, resume, run now, and delete rules from the Web UI or Agent tools.
- Start each occurrence in a fresh root Agent and Session. Source-chat history is not inherited.
- Support once, interval, hourly, daily, weekly, monthly, and custom-every-N-days schedules.
- Pick workspace, model, skills, and any permission preset exposed by the Host.
- Create from chat: describe the schedule in any conversation, then confirm with the official approval card.
- Keep durable run history:
queued,running,succeeded,failed,skipped,cancelled. - 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.
Interface
Scheduled tasks live in the workspace Scheduled tab, next to Tasks and Channels:

Open Settings → Scheduled Tasks to search, create, pause, and inspect rules:

Describe the job in chat. The agent calls automation_create and asks through the official approval card:


After approval, the rule is saved and summarized in the conversation:

Run history stays in Settings and can be filtered by day, week, month, task, or status:

DSH product ecosystem
This product can be installed independently or used through the desktop app or Web suite. They share the same DSH core but serve different ways of working; on stock DSH, this product does not depend on Codex UI:
| Product | Relationship to this product |
|---|---|
| DeepSeek Harness | The host runtime that provides models, sessions, tools, and the plugin system |
| DSH Codex Desktop | A ready-to-install desktop product with this product and the other five feature products built in |
| Six feature products | Codex UI · IM Connect · Automation · Skills Manager · Archive Manager · Agency Agents |
Prerequisites
- A working DeepSeek Harness Web installation with
dshavailable in PowerShell. - Examples use the
webprofile; replace it with the target profile. - Source installation and development require Node.js 22.19+. npm installation does not require running
npm installin an arbitrary directory.
Installation
dsh plugin add forwards to pnpm add in the profile directory. If you omit a version or the official registry, a local mirror may leave you on an old build.
Install from npm
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
$OutputEncoding = [System.Text.Encoding]::UTF8
dsh plugin --profile web add @michengai/dsh-automation@latest --registry=https://registry.npmjs.org/
dsh --profile web --dump-config
Restart DSH Web and hard-refresh the browser. Pin a version with @0.1.5 instead of @latest when needed.
Install from source
Use this for debugging or unpublished changes. The cloned directory becomes the plugin source path:
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
$OutputEncoding = [System.Text.Encoding]::UTF8
Set-Location D:\Repository\deepseek-harness-plugin
git clone https://github.com/MichengAI/dsh-automation.git
Set-Location .\dsh-automation
pnpm install
pnpm test
pnpm build
dsh plugin --profile web add .
dsh --profile web --dump-config
Restart DSH Web and hard-refresh the browser. Local installation reads and applies cordis.patch.yml; do not copy lib files manually.
Usage
Open Settings → Scheduled Tasks, then use the panel as follows:
| Goal | Action | Scope |
|---|---|---|
| Create a rule | Select New scheduled task, then set name, schedule, prompt, workspace, model, skills, and permission. | Host-wide |
| Create from chat | Describe the schedule in any conversation, or select Create in chat. | Current conversation |
| Pause or resume | Use the switch on a task card. | One rule |
| Run now | Open the card menu and select Run now. | One rule |
| Delete | Open the card menu and select Delete task. Run history is kept. | Definition only |
| Inspect runs | Open Run history, then filter by day, week, month, task, or status. | Host-wide |
Each dispatched run uses the saved prompt, workspace, model, and permission boundary. It does not reuse approvals from the source chat.
Safety boundary
| Item | Behavior |
|---|---|
| Permission | Options and the default come directly from the Host permissionPresets service, including custom presets. |
| Tool calls | Follow Host tool availability, permission, and approval checks without an additional fixed tool allowlist or a background-shell ban. The Host manages background processes. |
| Full access | The official danger-full-access option uses the same risk confirmation and orange warning as Chat. |
| Approval | Chat create follows the session policy. Full access (never) proceeds; Workspace Write / Read Only (ask) shows the official card. Unattended runs stay fail-closed never. |
| Retry | No automatic retry after a started run. |
| Host restart | Leftover queued / running records become failed(host_interrupted). |
| Overlap | One active run per rule. A colliding occurrence is recorded as skipped(overlap). |
A schedule stores future intent. It is not a cached permission grant.
Development
Current sources live in src and build into lib:
- src\index.ts: Host plugin, tools, and RPC.
- src\service.ts: Durable definitions, clock, and run admission.
- src\client\index.ts: Settings page and chat prefill.
tests\*.test.ts: Domain, recurrence, service, client, and package-contract tests.
After changing files, run tests, rebuild, and reinstall from the local directory:
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
$OutputEncoding = [System.Text.Encoding]::UTF8
pnpm check
dsh plugin --profile web add .
Keep the at-most-once dispatch policy, workspace scoping for Agent tools, and fail-closed unattended approval when changing execution code.
Verification
[Console]::OutputEncoding = [System.Text.Encoding]::UTF8
$OutputEncoding = [System.Text.Encoding]::UTF8
pnpm test
pnpm build
pnpm check runs typecheck, tests, and build together.
Project docs and license
Start from the documentation entry for project status, architecture, and the current iteration. Product notes live in NOTICE.
This project uses Apache License 2.0.
有意识地管理
安装与管理
前置条件与目标 Profile
目标: Web Profile
交付方式: Git Bundle — MichengAI/dsh-automation#f1bc91a3437f0b952631a46a8363089587b9ae6a。
验证、更新与移除
显示生命周期命令
dsh plugin --profile web list兼容性与访问范围
DeepSeek Harness DSH Web plugin; Node.js 22.19+ for source work: DSH peers: >=0.1.0-rc.5 <0.2.0; Cordis: >=4.0.1 <5.0.0。
风险事实
证据与编辑审查Manifest、Bundle patch、分发与新鲜度
不可变证据
审查状态与源码活动
启用周期性规则前,请选择适合无人值守代码执行的权限预设,并检查保存的提示词、工作区选择和运行历史。
AI 审查于 2026/9/10 UTC 11:36。GitHub 事实核对日期: 2026/9/10 UTC 11:36。
自当前证据基线以来,没有记录到重要源码变化。