证据快照复核于 2026-09-10GitHub 数据核对日期: 2026-08-21
证据已验证Plugin Bundle自动化与智能体Web Profile

DSH Automation

在隔离的 DeepSeek Harness 会话中按计划运行独立编码任务。

快速了解

它能做什么

在隔离的 DeepSeek Harness 会话中按计划运行独立编码任务。

本站提供的是中文说明,不代表该项目或 Plugin 自身提供中文界面;语言支持请以上游文档为准。

使用场景
自动化与智能体自动化智能体编码
适配技术
deepseek-harnessWeb
兼容性

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

有代码证据的贡献

它为 DSH 增加什么

定时任务 Agent 工具

让 Agent 通过宿主的审批流程创建和管理定时编码任务规则。

机制证据
定时任务界面

增加 Scheduled 侧边栏及用于管理任务规则和运行历史的设置页面。

机制证据

选择前先看

这是一个社区维护的 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

查看 commit f1bc91a 对应的 README
维护者编写的上游内容原文于 2026/9/6README.md 获取,正文和仓库相对媒体固定到 commit f1bc91a3437f,内容哈希为 db1266e42991。以下是未经 DSHub 翻译的上游原文,语言可能与当前页面不同;第三方托管的 badge 可能独立更新。
<p align="center"> <img src="assets/branding/dsh-banner.png" alt="DSH Automation" width="100%"> </p><div align="center">

DSH Automation

Run standalone coding tasks on a schedule in DeepSeek Harness

简体中文 · Changelog · Apache-2.0

License: Apache-2.0 npm package npm downloads DSH Web Plugin Node.js 22 or later

</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:

Scheduled sidebar

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

Scheduled tasks settings

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

Create a scheduled task from chat

Official approval for automation_create

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

Scheduled task created

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

Run history

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 dsh available in PowerShell.
  • Examples use the web profile; replace it with the target profile.
  • Source installation and development require Node.js 22.19+. npm installation does not require running npm install in 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

检查兼容性证据

风险事实

scheduled-code-execution

Scheduled runs can execute saved coding prompts in selected workspaces under Host permission presets.

证据
isolated-sessions

Each occurrence starts a fresh root Agent and session; source-chat history is not inherited.

证据
证据与编辑审查Manifest、Bundle patch、分发与新鲜度

不可变证据

审查状态与源码活动

AI 已审查

启用周期性规则前,请选择适合无人值守代码执行的权限预设,并检查保存的提示词、工作区选择和运行历史。

AI 审查于 2026/9/10 UTC 11:36GitHub 事实核对日期: 2026/9/10 UTC 11:36

自当前证据基线以来,没有记录到重要源码变化。

下一步

按 Plugin 安装流程操作

订阅重要变化: DSH Automation