king-bcolor / dsh-gh-plugin

목록에 있음

DeepSeek Harness plugin wrapping the GitHub CLI (gh).

main도구 소스 보기

설치

npx -y @deepseek-ai/dsh plugin --profile web add github:king-bcolor/dsh-gh-plugin

이 설치 명령은 GitHub 저장소 주소에서 생성된 확인되지 않은 시작점입니다.

README

유지 관리자가 작성한 문서 스냅샷입니다.

GitHub에서 보기 ↗
커밋 3bd5618동기화 2026. 8. 18.

dsh-gh-plugin

中文文档README.zh-CN.md

A DeepSeek Harness plugin that wraps the GitHub CLI (gh) as model-callable tools.

What it is

dsh-gh-plugin exposes GitHub operations to DSH agents: repositories, issues, pull requests, search, Actions, releases, and the GitHub API — all through structured JSON-backed tools.

Features

  • Browser settings page GitHub: auth status, generic forms for every gh_* tool, confirmations, and JSON/text results.
  • Session GitHub view tab: profile, contribution heatmap, repository list with actions, inbox, and local/remote Git branches.
  • Auth status and login guidance.
  • Repository create/view/list/edit/delete with topic management.
  • Issue create/list/view/close/reopen/comment/edit.
  • Pull request create/list/view/merge/checkout/review.
  • Search repos/issues/prs/code.
  • Actions workflow/run views; release create/list/view.
  • Raw gh api tool for advanced use.
  • Dangerous operations require explicit confirmation.

Use cases

  • Ask the agent to list open issues and summarize them.
  • Create an issue or PR from a conversation.
  • Search GitHub for repositories matching a topic.
  • Check CI run status and logs.
  • Create a release with generated notes.

See docs/用例目录/README.md for the full command/use-case/parameter catalog (Chinese).

Installation

Preconditions

  • Node.js 22+, dsh CLI installed.
  • gh installed and authenticated (gh auth login).

Install from GitHub

dsh plugin --profile default add github:<owner>/dsh-gh-plugin
# allowlist build in $DSH_HOME/profiles/default/pnpm-workspace.yaml if requested

Install locally

git clone https://github.com/<owner>/dsh-gh-plugin.git
cd dsh-gh-plugin
dsh plugin --profile default add .

Usage

dsh --profile default
# or: dsh web

Open the GitHub tab in a session for heatmap/repositories/inbox/branches, or Settings → GitHub to run every gh tool.

Example prompts:

  • Use gh_issue_list to list open issues in this repo.
  • Search GitHub for dsh-plugin repositories sorted by stars.

Configuration

- id: gh
  name: dsh-gh-plugin
  config:
    ghBin: /usr/local/bin/gh
    timeoutMs: 30000
    confirmDangerous: true

Development

TDD is mandatory:

pnpm install
npm test

License

MIT

프로젝트 파일 및 신호

표시된 항목은 디렉터리 스냅샷에서 감지된 공개 저장소 신호입니다.

테스트감지됨
문서감지됨

저장소 정보

언어
JavaScript
라이선스
보고되지 않음
최신 릴리스
v0.3.0
마지막 업데이트
2026. 8. 16. 오후 9:08

신중하게 설치하기

소스 코드, 권한, 수명 주기 스크립트, 의존성 및 네트워크 접근을 검토하고 신뢰하지 않는 플러그인은 격리 환경에서 테스트하세요.