xinvxueyuan/cordis-plugin-github ↗★ 0
@xinvxueyuan/cordis-plugin-github
Cordis (DeepSeek Harness) plugin: normalized GitHub API tools for the agent — gh CLI by default, native HTTP fallback when gh is unavailable 适合需让 DSH 智能体调用 GitHub API 的开发者,需配置令牌。
설치
검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗
配置(Config)
| 字段 | 默认 | 说明 |
|---|---|---|
mode | auto | auto:gh 已安装且已登录则走 gh,否则 HTTP;gh / http 强制后端 |
ghPath | gh | gh 可执行文件路径 |
host | api.github.com | HTTP 回退的 API 主机(企业版填 github.example.com) |
tokenEnv | `` | 持有 token 的环境变量名(如 GH_TOKEN);HTTP 回退时按 tokenEnv → GH_TOKEN → GITHUB_TOKEN → gh auth token 顺序解析 |
timeoutMs | 60000 | 单次调用超时(同时作为工具的 timeoutMs 预算) |
maxPages | 50 | 分页页数上限(防失控),超出截断 |
perPage | 100 | 分页每页条数 |