Nico0713520/dsh-github-cli0

dsh-github-cli

在 DeepSeek Harness 中复用本地 GitHub CLI (gh) 的插件,提供只读、审计友好的仓库、PR、Issue 和工作流管理工具。

AI 分析

核心用途是在 DSH 中调用本地 GitHub CLI。适合需要让 Agent 辅助管理 GitHub 仓库、PR 和 Issue 的开发者,默认安全只读。

包名
dsh-github-cli
版本
0.1.0
许可证
MIT
最近更新
2026年8月17日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Nico0713520/dsh-github-cli

配置

插件读取 GhCliConfig(在 profile 的插件配置里设置):

interface GhCliConfig {
  ghPath?: string        // gh 路径,默认 PATH 上的 `gh`
  fullAccess?: boolean   // 允许写命令,默认 false
  extraReadOnly?: string[]  // 额外放行的只读前缀,如 ['gist create']
  timeoutMs?: number     // 单次调用超时,默认 60_000
}

cordis patch 示例:

- insert:
    - id: gh-cli
      name: gh-cli
      config:
        fullAccess: false
        timeoutMs: 120000