DeepSHPlugins
dsh-automation 專案預覽
GITHUB / COMMUNITY PROJECT

dsh-automation

Agent 與自動化JavaScriptApache-2.0

在獨立會話裡按計劃執行編碼任務,可在設定頁或對話裡管理。

16 StarsMichengAI 更新時間 2026-09-09
訪問 GitHub 倉庫
dsh-automation 專案預覽
dsh-automation 介面截圖dsh-automation 介面截圖dsh-automation 介面截圖dsh-automation 介面截圖dsh-automation 介面截圖

專案介紹

中文

在獨立會話裡按計劃執行編碼任務,可在設定頁或對話裡管理。

English

Runs scheduled coding tasks in isolated DeepSeek Harness sessions, managed from Settings or the agent.

專案資訊與收錄訊號

快照 2026-09-11
作者 / 組織
MichengAI
倉庫
MichengAI/dsh-automation
GitHub Stars
16
Forks
1
開發語言
JavaScript
許可證
Apache-2.0
最近推送
2026-09-09
Manifest
資料中檢測到宣告

公開倉庫不自動等於可商用;許可證與當前相容性以原專案文件為準。Manifest 和資料評分不構成安裝安全認證。

資料評分

82/ 100
維護活躍
99
文件與實用資訊
100
生態關注度
37
安裝便捷訊號
100
專案宣告訊號
100

近 2 天仍在更新;README 含完整安裝與使用說明;標準命令一鍵安裝。

評分來自已有資料快照的五維模型,僅作瀏覽參考,不是實際使用評測或安全檢測結論。

安裝與使用

所有專案資料與許可均以對應 GitHub 倉庫為準。

dsh plugin --profile web add @michengai/dsh-automation

複製命令不會自動執行。請先閱讀倉庫文件,確認環境要求與許可證。

專案截圖

倉庫 README

GitHub 原文

已儲存的倉庫文件快照;文件抓取時間未記錄,可能與上方目錄介紹處於不同版本。安裝前請核對當前倉庫說明。

儲存庫檔案保留原文,指令與授權文字不作自動改寫。

DSH Automation

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

DSH Automation is a community-maintained DeepSeek Harness (DSH) plugin, not an official DeepSeek AI product.

Features

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.

  • Run once or repeat: choose intervals, hourly, daily, weekly, monthly, or every N days.
  • Choose the working environment: set the directory, model, skills, and permissions.
  • Adjust the schedule anytime: create, pause, resume, run immediately, or delete tasks.
  • Review results: browse task conversations by name and run time in the Scheduled tab, or filter run history in Settings.
  • Keep each run independent: each run uses the saved task instructions and does not inherit the conversation that created it.

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. DSH handles approval according to the selected permission mode:

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

For a ready-to-use workbench, download DSH Codex Desktop. If you already use DeepSeek Harness, install any of these eight plugins individually. The desktop app includes all eight.

PluginWhat you can do
Codex UIOrganize projects and conversations, search tasks, and navigate chat turns
IM ConnectSend tasks and receive replies through your usual messenger
AutomationSchedule tasks and review each run
Skills ManagerFind, enable, create, and import local skills
Archive ManagerSearch, restore, or clean up archived conversations
Agency AgentsChoose and summon specialists for your task
BTWAsk side questions without interrupting the main task
SimplifyUse /simplify to improve code within your Git changes

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

The installation commands below use the official npm registry.

Ask an agent to install it (recommended)

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.

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.

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.

Updates

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.

Usage

Open Settings → Scheduled Tasks, then use the panel as follows:

GoalActionScope
Create a ruleSelect New scheduled task, then set name, schedule, prompt, workspace, model, skills, and permission.Host-wide
Create from chatDescribe the schedule in any conversation, or select Create in chat.Current conversation
Pause or resumeUse the switch on a task card.One rule
Run nowOpen the card menu and select Run now.One rule
DeleteOpen the card menu and select Delete task. Run history is kept.Definition only
Inspect runsOpen 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

ItemBehavior
PermissionOptions and the default come directly from the Host permissionPresets service, including custom presets.
Tool callsFollow Host tool availability, permission, and approval checks without an additional fixed tool allowlist or a background-shell ban. The Host manages background processes.
Full accessThe official danger-full-access option uses the same risk confirmation and orange warning as Chat.
ApprovalChat create follows the session policy. Full access (never) proceeds; Workspace Write / Read Only (ask) shows the official card. Unattended runs stay fail-closed never.
RetryNo automatic retry after a started run.
Host restartLeftover queued / running records become failed(host_interrupted).
OverlapOne 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

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.

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.

License

Additional notices are in NOTICE.

This project uses Apache License 2.0.

使用前核對

安裝步驟、相容版本與授權範圍以原專案當前文件為準。Stars 和評分是快照中的導航訊號。

安裝與排錯 · 專案問題反饋

同類專案