bitxeno/dsh-github-picker0

dsh-github-picker

GitHub issue and pull request references for the DeepSeek Harness web GUI: click the GitHub icon at the bottom-right of the input box to search the workspace repository and insert issue/PR references. Data comes from the gh CLI.

包名
dsh-github-picker
版本
0.4.0
许可证
MIT
最近更新
2026年8月19日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:bitxeno/dsh-github-picker

Usage

Click the GitHub icon in the composer's tool row. The popup lists the repository's recent issues and PRs — 12 per page, loading the next page as you scroll to the bottom, no result cap — filtered locally as you type by number or title (a number prefix ranks first). Click a row to insert the reference; Escape or a click outside closes the popup. A search failure (gh CLI missing, not authenticated, rate limited, network error, unresolved repository) renders as one localized hint row instead of a silent close.

Each row shows GitHub's state icon, the title, and the #number tag:

StateIcon
Open issueissue-opened (green)
Closed issueissue-closed (purple)
Open PRgit-pull-request (green)
Draft PRgit-pull-request-draft (gray)
Closed, unmerged PRgit-pull-request-closed (red)
Merged PRgit-merge (purple)

Picking inserts the text chosen as insert format in Settings:

@owner/name#125                                 # ref (default)
https://github.com/owner/name/issues/125        # url

Before each step, the Host scans the draft for GitHub references — URLs, @owner/repo#number, and bare #number — and adds a short message per match:

Only the repository and number are passed; issue bodies are never fetched.

Configuration

Host options go into the selected profile's cordis.patch.yml:

- id: dsh-github-picker
  config:
    searchTimeoutMs: 15000
    repoCacheTtl: 30000
  • searchTimeoutMs bounds provider calls (default 15000).
  • repoCacheTtl caches the resolved repository per workspace (default 30000 ms).

A Host config change needs a dsh web restart; a client-only change just needs a browser refresh.