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

@yin52133/dsh-luban-plan

Approval-gated, durable plan workflow for DSH

AI Analysis

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

Package
@yin52133/dsh-luban-plan
Version
0.1.1
License
MIT
Last updated
Sep 1, 2026

Install

$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.