bitxeno/dsh-at-github0

dsh-at-github

GitHub issue and pull request references for the DeepSeek Harness web GUI: type # in the composer to search the workspace repository and insert #number references. Data comes from the gh CLI by default, or from the GitHub REST API after device-flow authorization.

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

安装

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

Usage

Type @ in the composer. The standard trigger menu appears with the repository's recent issues and pull requests, grouped under the github header; keep typing to filter by number or title. Arrow keys navigate, Enter (or a click) picks, Escape closes. A search failure (gh CLI missing, not authenticated, rate limited, network error, unresolved repository) renders as one hint row instead of silently closing the menu.

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

StateIconColor
Open issueissue-openedgreen
Closed issueissue-closed (check)purple
Open PRgit-pull-requestgreen
Draft PRgit-pull-request-draftgray
Closed, unmerged PRgit-pull-request-closed (×)red
Merged PRgit-mergepurple

Picking inserts one of two texts, chosen in Settings (Insert format):

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

Before the agent starts a step, the Host scans the draft for GitHub references — URLs, @owner/repo#number forms, and bare #number tokens — and adds a short reference message for each:

The plugin passes the repository and number only — it never fetches issue bodies. The agent can inspect a reference with its available tools when the task requires it.

Configuration

Host plugin configuration goes into the selected profile's cordis.patch.yml:

- id: dsh-at-github
  config:
    defaultLimit: 20
    searchTimeoutMs: 15000
    repoCacheTtl: 30000
  • defaultLimit caps entries per search (default 20).
  • searchTimeoutMs bounds provider calls (default 15000).
  • repoCacheTtl caches the resolved repository per workspace (default 30000 ms).