eightHundreds/dsh-plannotator ↗★ 0
dsh-plannotator
打开官方 Plannotator 应用以审查、批注、批准或退回 AI 代理的计划
AI 分析
核心用途是为 DSH 引入人类协同(HITL)机制,通过 Plannotator 界面审核 AI 计划。适合需要对 AI 代理的执行步骤进行严格把关和交互式引导的复杂任务。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:eightHundreds/dsh-plannotator说明文档
阅读完整 README ↗Configuration
Defaults work with a normal Plannotator install. Override only if the binary is not where the plugin looks.
| Variable | Purpose |
|---|---|
PLANNOTATOR_BIN | Absolute path to the plannotator executable. |
PLANNOTATOR_DSH_USE_SOURCE=1 | Run the Plannotator hook server from a local checkout via bun. |
PLANNOTATOR_DSH_SOURCE_ROOT | Directory to walk upward from when searching for that checkout. |
PLANNOTATOR_DSH_SOURCE_ENTRY | Exact path to apps/hook/server/index.ts. |
PLANNOTATOR_BUN / BUN | bun executable used in source mode. |
Without PLANNOTATOR_BIN, the plugin uses ~/.local/bin/plannotator when that file exists, otherwise plannotator on PATH. On Windows it also checks %LOCALAPPDATA%\plannotator\plannotator.exe.
The child process always gets PLANNOTATOR_ORIGIN=dsh and PLANNOTATOR_CWD=. The stock opencode-plan command still hard-codes an OpenCode origin in the UI badge; that is a Plannotator-side limit.