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

包名
@weekit/dsh-delegate-agent
版本
0.1.0
许可证
MIT
最近更新
2026年9月9日

安装

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

配置

默认配置适合先以只读模式验证。插件依赖 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 文件。