weekitmo/oh-my-dsh-plugins--plugins-dsh-delegate-agent0

@weekit/dsh-delegate-agent

DSH Web task delegation for local Pi, Codex, and Grok agent CLIs

AI 分析

核心用途是实现任务的多 Agent 委派执行。适合需要借助本地专业 CLI 代理处理特定子任务的用户。必要条件是 Web Profile 需提供连接、子进程和工作区注册表服务。

パッケージ
@weekit/dsh-delegate-agent
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/09/09

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:weekitmo/oh-my-dsh-plugins#ebcc9414574e5273fbc0e032bc32499fcbdd6349&path:plugins/dsh-delegate-agent

ドキュメント

README 全文を読む ↗

配置

默认配置适合先以只读模式验证。插件依赖 Web profile 已提供 connectionsubprocessworkspaceRegistry 服务。

- name: '@weekit/dsh-delegate-agent'
  config:
    maxConcurrentRuns: 3
    defaultTimeoutMs: 1800000
    terminateGraceMs: 3000
    maxLogBytes: 2097152
    maxEventCount: 2000
    retentionDays: 30
    defaultPermissionMode: read-only
    allowedWorkspaceRoots:
      - ~/development
    adapters:
      pi:
        command: pi
        enabled: true
      codex:
        command: codex
        enabled: true
      grok:
        command: ~/.grok/bin/grok
        enabled: true

每个 adapter 还可配置显式 env。DSH subprocess 会清除环境中名称匹配 KEYPASSWORDSECRETTOKENDSH_* 的隐式变量;只有 adapter env 中显式配置的值会重新传入。不要把密钥提交到 composition 文件。