yin52133/dsh-luban--packages-dsh-luban-plan0

@yin52133/dsh-luban-plan

为 DSH 提供需审批授权的、持久化的计划工作流插件。

AI 分析

核心用途是让 Agent 生成执行计划,并在执行敏感操作(如 bash、写入)前强制人工审批。适合需要对 Agent 行为进行安全管控的用户。需配合 auth 插件使用。

套件
@yin52133/dsh-luban-plan
版本
0.1.1
授權
MIT
最近更新
2026年9月1日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yin52133/dsh-luban#fd42aad0a6c5628a3bee24796f0caba131fb0252&path:packages/dsh-luban-plan

Configuration

- insert:
    - id: luban-plan
      name: @yin52133/dsh-luban-plan
      config:
        plansDir: docs/plans
        stateFile: ~/.dsh/luban/plan/plans.json
        requireApprovalFor: [edit, bash, write]
        autoApproveFor: []
        template: bundled-default

plansDir must remain workspace-relative. requireApprovalFor accepts exact names, * globs, and the edit, bash, and write categories. Exemptions are deliberately empty by default.