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 的开发者,需配置令牌。

패키지
@xinvxueyuan/cordis-plugin-github
호환성
미검증
Harness peer 범위
^0.1.0-rc.6
Cordis peer 범위
^4.0.1
버전
0.1.1
라이선스
Apache-2.0
최근 업데이트
2026. 8. 17.

설치

검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗

配置(Config)

字段默认说明
modeautoauto:gh 已安装且已登录则走 gh,否则 HTTP;gh / http 强制后端
ghPathghgh 可执行文件路径
hostapi.github.comHTTP 回退的 API 主机(企业版填 github.example.com)
tokenEnv``持有 token 的环境变量名(如 GH_TOKEN);HTTP 回退时按 tokenEnv → GH_TOKEN → GITHUB_TOKEN → gh auth token 顺序解析
timeoutMs60000单次调用超时(同时作为工具的 timeoutMs 预算)
maxPages50分页页数上限(防失控),超出截断
perPage100分页每页条数