DeepSHPlugins
dsh-github-picker 项目预览
GITHUB / COMMUNITY PROJECT

dsh-github-picker

UI EnhancementsJavaScriptMIT

Composer GitHub picker: click the GitHub icon at the bottom-right of the input box to search the workspace repository's issues and pull requests via the gh CLI, and insert the reference as a URL or @owner/repo#number mention.

2 Starsbitxeno Updated 2026-09-05
Open GitHub repository
dsh-github-picker 项目预览

About this project

Chinese

Composer GitHub picker: click the GitHub icon at the bottom-right of the input box to search the workspace repository's issues and pull requests via the gh CLI, and insert the reference as a URL or @owner/repo#number mention.

English

Composer GitHub picker: click the GitHub icon at the bottom-right of the input box to search the workspace repository's issues and pull requests via the gh CLI, and insert the reference as a URL or @owner/repo#number mention.

Project details & listing signals

Snapshot 2026-09-11
Creator / organization
bitxeno
Repository
bitxeno/dsh-github-picker
GitHub Stars
2
Forks
0
Programming language
JavaScript
License
MIT
Last push
2026-09-05
Manifest
Declaration found in the catalog

A public repository does not automatically permit commercial use. Check the project's license and compatibility. Manifests and catalog scores are not security certifications.

Catalog score

60/ 100
Maintenance activity
97
Documentation & practical information
100
Community interest
14
Installation signals
100
Project declarations
100

近 6 天仍在更新;README 含完整安装与使用说明;关注度尚低(2)。

Scores use five dimensions of the catalog snapshot. They are browsing aids, not hands-on reviews or security assessments.

Install & use

The respective GitHub repositories define project information and licensing.

dsh plugin --profile web add github:bitxeno/dsh-github-picker

Copying a command does not execute it. Read the repository documentation and check requirements and licensing first.

Project screenshots

Repository README

GitHub 原文

Saved repository documentation. Its capture date was not recorded and it may differ from the catalog description. Check the current repository before installing.

Repository documentation is preserved in its original language.

dsh-github-picker

English | 中文

GitHub issue and pull request references for the DeepSeek Harness web GUI. Click the GitHub icon next to the send button to search the current workspace repository's issues and PRs, and insert a reference — a GitHub URL or an @owner/repo#number mention.

dsh-github-picker in the DeepSeek Harness web GUI

Install

dsh plugin --profile web add dsh-github-picker

The same command updates an existing installation to the latest published version; append @<version> to pin one. Restart dsh web after installing.

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:

<github-reference repo="owner/name" number="125" />

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

Data Source

The gh CLI only: it reuses the local gh login and calls gh api search/issues (issues and PRs in one query). No device flow, OAuth app, or stored credential. The repository is resolved from the workspace's git remote get-url origin (https, ssh, git@ forms); without a resolvable remote, the popup shows a hint row on adding one.

Settings

The plugin card — titled "GitHub 引用" (or "GitHub Picker" in English) — lives in the official configurable-plugins tab. It shows the gh connection status (which accounts gh auth status reports) and the insert format (@owner/repo#number or GitHub URL). That is the only setting: there is no enable switch — the picker is always on — and no result limit.

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.

Development

pnpm install
pnpm run check

The check ladder is typecheck + tests + build with 100% coverage per source file; lib/ is committed, so profile installs run without a build. For a local checkout, add the package to ~/.dsh/profiles/web/package.json (dependency + dsh.profile.bundles), pnpm install, restart dsh web. The plugin serves at /plugins/dsh-github-picker/client.js, the gateway routes /api/githubPicker/*.

License

MIT

Before you begin

Check the current repository for installation, compatible versions and licensing. Stars and catalog scores are snapshot-based browsing signals.

Installation & troubleshooting · 项目问题反馈

Related projects