DeepSeek Harness Plugin Hub

Publish and manage complete Harness Profiles. Discover Plugins for your next setup.

Explore

PluginsPresetsDocsNews

Community

Publish a pluginContactReport an issue

Resources

Plugin Hub on GitHubDeepSeek HarnessSystem statusPrivacy notice
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

Independent and unofficial. Not affiliated with, authorized by, or endorsed by DeepSeek.

DeepSeek Harness Plugin Hub
ProfilesPluginsCategoriesNewsDocsSign inManage Profiles
ProfilesPluginsCategoriesNewsDocsSign in
← Plugins

@perrylink/dsh-github

Github

GitHub PRs, reviews, issues and CI for DeepSeek Harness: approval-gated write tools, a CI composite action, a polling review bot and a status-check gate.

The plugin will be installed here. Keep web if you are unsure.

npx -y @deepseek-ai/dsh plugin --profile web add @perrylink/dsh-github@0.7.34
READMECompatibilityVersions

Compatibility and provenance

Github is published as @perrylink/dsh-github and currently resolves to version 0.7.34. The Hub verifies its manifest and preserves the exact installation source for reproducible installs.

DSH compatibility
*
Runtime surfaces
web
Release source
npm
Registry updated
11/4/2026

Versions

0.7.34stable
11/3/2026
0.7.32stable
11/3/2026
0.7.33stable
11/3/2026
Show 38 more versionsCollapse versions
0.7.31stable
11/3/2026
0.7.30stable
11/2/2026
0.7.29stable
11/2/2026
0.7.28stable
10/27/2026
0.7.27stable
10/23/2026
0.7.26stable
10/22/2026
0.7.25stable
10/22/2026
0.7.24stable
10/18/2026
0.7.23stable
10/18/2026
0.7.22stable
10/18/2026
0.7.20stable
10/10/2026
0.7.19stable
10/5/2026
0.7.18stable
10/5/2026
0.7.17stable
10/5/2026
0.7.16stable
10/4/2026
0.7.15stable
9/24/2026
0.7.14stable
9/24/2026
0.7.13stable
9/23/2026
Latest
0.7.34
DSH
*
HMR
Process restart
Tree shaking
Safe tree shaking not declared
Unpacked size
719.7 kB
Files
96
Surface
web
License
Apache-2.0
Source
npm
GitHub
★ 1
Weekly downloads
2,312
Security scan
✓ v0.7.34 scan passed
Last push
11/4/2026
View source ↗Project homepage ↗
README badge

Click the badge to copy Markdown for your README.

Do you maintain this Plugin?Claim benefit · Priority security scan

Verify the GitHub repository declared in package.json to manage this listing. After you claim it, Hub will prioritize a security scan of the current version and publish the result when it passes.

Claim this Plugin →
Report an issue
0.7.12stable
9/22/2026
0.7.10stable
9/12/2026
0.7.9stable
9/10/2026
0.7.8stable
9/10/2026
0.7.7stable
9/9/2026
0.7.6stable
9/7/2026
0.7.5stable
9/7/2026
0.7.4stable
9/4/2026
0.7.3stable
9/2/2026
0.7.2stable
9/1/2026
0.7.1stable
8/30/2026
0.7.0stable
8/26/2026
0.6.5stable
8/23/2026
0.6.4stable
8/22/2026
0.6.3stable
8/21/2026
0.6.2stable
8/17/2026
0.6.1stable
8/16/2026
0.6.0stable
8/16/2026
0.4.1stable
8/14/2026
0.4.0stable
8/14/2026

README

@perrylink/dsh-github — renamed to dsh-github-bot

This package is the old scoped name of dsh-github-bot. It stays installable for compatibility; new releases are published under the bare name.

dsh plugin --profile <profile> add dsh-github-bot

Source: https://github.com/PerryLink/dsh-github-bot · Docs: https://perrylink.github.io/dsh-plugins/packages/dsh-github-bot.html


dsh-github-bot

Renamed from @perrylink/dsh-github. The old scoped package is deprecated; install dsh-github-bot.

Release stamp: 0.8.0 (2026-11-02).

Package name. This project publishes to npm as dsh-github-bot. The bare npm name dsh-github belongs to a different, unrelated project — installing it does not install this plugin. OpenSSF Scorecard

GitHub PRs, reviews, issues, and CI for DeepSeek Harness — every write gated by human approval, token never logged.

Create, review, merge, and search GitHub from the agent, with a CI composite action, polling review bot, and status-check gate.

Official repository. This is the only official repository of dsh-github-bot, maintained by PerryLink. Same-name repositories under other accounts are not affiliated.

DSH Market

  • 1024 store channel: npm i -g dsh1024 once, then dsh1024 plugin --profile web add dsh-github-bot (counts toward the deepseek1024.com install ranking).

English · 简体中文 · Español · Português · हिन्दी

dsh plugin --profile <name> add dsh-github-bot

Install & uninstall

  • git channel (latest main): dsh plugin --profile web add github:PerryLink/dsh-github-bot — the prepare script builds with production dependencies only.
  • npm channel (published releases): dsh plugin --profile web add dsh-github-bot.
  • tarball channel: pnpm pack in this repo, then dsh plugin --profile web add ./perrylink-dsh-github-bot-<version>.tgz.
  • uninstall: dsh plugin --profile web remove dsh-github-bot (or remove the row from the profile patch).

What is dsh-github-bot?

GitHub PRs, reviews, issues, and CI for DeepSeek Harness — every write gated by human approval, token never logged.

Create, review, merge, and search GitHub from the agent, with a CI composite action, polling review bot, and status-check gate.

Workflow diagram for dsh-github-bot: request → policy / review → verdict.

Workflow overview: request → policy / review → verdict. The examples below use the real command surface.

📚 Table of contents

  • What is dsh-github-bot?
  • Compatibility
  • What you get
  • Quick start
  • Install & uninstall
  • Configuration
  • Tools & surfaces
  • Architecture
  • Permissions & data
  • Security boundaries
  • Known limitations
  • Development
  • Repository layout
  • Interoperability with other DSH plugins
  • Topics
  • Contributors
  • PerryLink DSH Plugin Family
  • License

Compatibility

SurfaceStatus
HarnessDeepSeek Harness dsh-v0.2.1-rc.2 (verified 2026-10-18): engines.dsh >=0.2.1-0 <0.3.0; the P0 compatibility paths have regression tests.
Node^22.19.0 || >=24.0.0
PlatformsAll (host plugin; outbound network to GitHub)
ModelAny (static review is deterministic; reviewMode: "model" is optional)

What you get

dsh-github-bot fills the GitHub gap between dsh and tools like Claude Code and Codex: your agent can read, review, open, update, and merge pull requests, read repository metadata and files, comment on and close issues, and search — while a human approves every write and the token stays secret.

  • 15 tools — pr_create, pr_merge, pr_update, gh_review, review_post, gh_issue, issue_open, issue_comment, issue_close, gh_search, gh_repo, gh_file, gh_repo_search, gh_checks, all canonical JSON via defineTool, plus the one-shot ci_run when ci.enabled is on.
  • 4 command families — /pr create, /review (start/stop/post), /issue open, and /ci (scan/status/start/stop/run <pr>, registered under ci.enabled).
  • Full PR lifecycle — create → review → update (title/body/state/base) → merge (merge/squash/rebase, optional head-branch delete).
  • Inline reviews — review_post posts one summary comment or line-anchored review comments against the PR head commit.
  • Approval-gated writes — every GitHub write goes through ctx.approval (default ask, fail-closed); approval reasons preview titles, body sizes, and comment overrides.
  • Token secrecy — credentials seam → environment → gh CLI, resolved per operation, never in logs, events, renders, or errors.
  • Background review jobs — /review runs on ctx.jobs with the host's own job_list / job_output / job_kill surface.
  • Resilience — 429 retry with Retry-After/x-ratelimit-reset backoff; read tools are concurrency-safe; all calls honor cancellation.
  • CI surface — the one-shot ci_run tool, a polling review bot, and a status-check gate (composite action action.yml).

Quick start

dsh plugin --profile web add github:PerryLink/dsh-github-bot
# 1. install the bundle into your profile
dsh plugin --profile web add github:PerryLink/dsh-github-bot

# or from npm (published releases)
dsh plugin --profile web add dsh-github-bot

# 2. restart and verify the row
dsh --profile web --dump-config | grep -A3 'id: dsh-github-bot'

Examples

These are the plugin's real entry points; install once, then call one.

Detailed example

Command

pr_create

Input

{
  "title": "feat: shiny",
  "body": "desc"
}

Output

created pull request #7: https://github.com/o/r/pull/7 (main ← feat/shiny)

Observed from plugins/dsh-github-bot/test/tools.test.ts:69-74 (fixture + assertions); renderer at plugins/dsh-github-bot/src/tools.ts:189

Failure branch

Input

{"title":"x"} (credentials seam empty; GITHUB_TOKEN unset; gh not logged in)

Output

{
  "status": "error",
  "code": "no-token",
  "message": "no GitHub token found (source: credentials/env/gh)",
  "guidance": "Configure one of: 1) a dsh credential for this reference (recommended; $DSH_HOME/.credentials.yaml), 2) the same-named environment variable, or 3) `gh auth login` for the gh CLI. Set `tokenSource` in cordis.yml to pin one source."
}

Observed from plugins/dsh-github-bot/src/credential.ts:96-104; plugins/dsh-github-bot/test/tools.test.ts:88-93

Brief examples

  • pr_merge
  • gh_review

Configuration

All tunables are Schemastery Config fields (changeable from cordis.yml). An id-targeted override replaces the whole row — restate every key you need. cordis.patch.yml documents each key inline. In the GUI, the Plugins page settings card (Official group) reads tokenRef from the entry's own configuration form — the 0.1.7-alpha.1 host removed the ctx.settingsScope binding and the namespace-registration seam behind it, so the card no longer owns a settings namespace. The token itself is the entry's githubToken field: the card writes it there, and the host half resolves it ahead of the credentials file, the environment, and the gh CLI.

KeyDefaultMeaning
tokenSourceautoauto (page field → credentials → env → gh) or one of config / credentials / env / gh
tokenRefGITHUB_TOKENCredential-seam reference / environment-variable name
githubToken—Token saved from the Plugins page; plain text in the profile configuration, tried first while non-empty
defaultOwnerRepo—Fallback owner/repo when a call names none and git has no origin
autoCommitfalseWhether /pr create may instruct the model to commit+push first
maxDiffChars8000Character cap for PR diffs read into reviews
renderExcerptChars2000Character cap for the diff excerpt rendered into tool output
maxComments20Cap for PR comments listed by gh_review
reviewJobTimeoutMs600000Deadline for one background review job (fails with timeout)
maxReviewRecords50Cap for in-memory review-job records; oldest settled records evict first
maxFileChars12000Character cap for file contents read by gh_file
maxFindings50Cap for analyzer findings per review
maxLineLength300Line length beyond which the analyzer flags a long-line finding
reviewModestaticReview engine: static (deterministic analyzer) or model (one-shot subagent through the host's seam; fails loud when the seam is absent)

Tools & surfaces

SurfaceKindNotes
pr_createtoolCreate a pull request (write; approval-gated)
pr_mergetoolMerge a PR (merge/squash/rebase, optional head-branch delete)
pr_updatetoolUpdate a PR (title/body/state/base)
gh_reviewtoolRead a PR: metadata, capped diff, comments, CI, static findings
review_posttoolPublish a review comment (summary or line-anchored inline)
gh_issuetoolList / get / comment on issues (PRs marked kind: "pr")
issue_opentoolCreate an issue
issue_commenttoolComment on an issue or PR
issue_closetoolClose an issue (optional state reason)
gh_searchtoolSearch issues and PRs (separate search quota)
gh_repotoolRead repository metadata
gh_filetoolRead one file at a branch/tag/commit
gh_repo_searchtoolGraphQL repository search (separate search quota)
gh_checkstoolGraphQL PR status checks (check runs + commit statuses)
/pr createcommandRead git state and queue a pr_create instruction
/reviewcommandStart / stop / post a background review job
/issue opencommandQueue an issue_open instruction
ci_runtoolOne-shot CI review run by the composite action / CI driver
review botsurfacePolling review bot with idempotent inline comments ()

Architecture

  • Credential seam. tokenSource: auto resolves per operation in the order credentials seam (GITHUB_TOKEN reference) → environment variable → gh CLI token. The value is a local variable handed to the REST client; it never enters canonical values, renders, cards, command outputs, injected notices, job output, approval reasons, or error messages.
  • Approval gate. All writes flow through model tools. A tools/pre-execute waterfall listener returns ask for the write tools, so the registry asks the human through ctx.approval (the host logs the approval/asked + approval/decided audit pair) and fails closed without an answerer. Commands never write directly: a write command gathers read-only context, then wakes the agent so the model runs the gated tool inside a turn.
  • Background review job. /review <pr> starts a github-review job on ctx.jobs; the job fetches metadata (capturing the head-commit SHA for inline posting), the capped diff, CI checks, and existing comments, then runs the deterministic multi-file analyzer (src/review.ts). The job is owned by the calling agent's bare SessionId — 0.1.7-alpha.1 fences the registry on SessionId with no Agent union — so dsh-tool-jobs must be composed or start refuses. With reviewMode: "model", the job hands the capped diff to a one-shot subagent through the host's subagents seam. Completion reaches the session through the host's dsh-tool-jobs consumer; the model reads it with job_output and publishes it with review_post.
  • CI composite action / review bot / status-check gate. The repo ships a composite action (action.yml) that reviews PRs, fixes CI, and writes the report; a polling review bot posts idempotent inline comments; and a status-check gate publishes the verdict per PR head commit. The one-shot ci_run tool drives the headless run. Every write stays approval-gated.

Permissions & data

  • Permissions: writes ride the official approval seam; nothing is re-implemented or bypassed. The plugin declares network:outbound and filesystem:write in its workshop manifest.
  • Data: the review report lives in process memory keyed by job id; nothing durable is written to disk.
  • Session log: the plugin adds no custom session event types; all model-visible content flows through host-logged surfaces (tool/result, user/message, command/run, approval/asked…). The notices commands queue carry the plugin's own merge-extensible source kind, { kind: 'dsh-github-bot', form: 'notice', summary } — the host has no catch-all plugin kind, and its session-format admission path refuses one outright.

Security boundaries

  • Approval, not enforcement. Writes only produce ask/deny decisions on the official seam; the sandbox and approval systems remain the enforcement authorities.
  • Fail closed. Missing approval answerer degrades to the strictest decision — never to silent pass-through.
  • The token never leaves the process. It is read per operation and sent only in the Authorization header; never logged, rendered, injected, or surfaced in errors.
  • No writes outside approval. /pr create never commits or pushes by itself; with autoCommit: true, the model performs those writes through the bash tool's own approval gate. The review job performs no writes; only review_post publishes, after approval.
  • Untrusted content is escaped and marked. formatPostBody backtick- and HTML-escapes diff-derived file names, and external GitHub content (files, bodies, comments, search results) is marked as external in renders.
  • Bounded work and rate limits. 429s are retried with backoff; the remaining quota is surfaced on every result, including failures.

Known limitations

  • No custom session events — deliberate (see Architecture); audit trails rely on the host's own event vocabulary.
  • Static analyzer by default — deterministic rules (src/review.ts), zero tokens, reproducible. reviewMode: "model" costs tokens and requires the subagents seam and a registered provider.
  • Jobs and records are process-local — the review report lives in plugin memory keyed by job id; the record map is capped by maxReviewRecords (oldest settled records evict first).
  • npm latest dist-tags are stale — install through the profile closure dsh-base provides; never bare npm i @deepseek-ai/dsh-tools.

Development

pnpm install             # node ^22.19 || >=24
pnpm run build           # tsc --noEmitOnError → lib/
pnpm run prepare         # self-contained git-install build (scripts/prepare.mjs)
pnpm run prepublishOnly  # build + test before publishing
pnpm test                # vitest run
pnpm run typecheck       # tsc --noEmit
pnpm run check:readmes   # cross-checks TOC anchors, tools, and config keys in all 5 READMEs

Repository layout

src/index.ts          plugin entry (name/inject/apply, applyWithDeps for tests)
src/config.ts         Schemastery Config
src/types.ts          local structural views of host services + Context merging
src/credential.ts     token resolution (seam → env → gh), per operation
src/github.ts         REST client: 429 retry, rate limits, diff media type
src/git.ts            read-only git inspection + origin parsing for any API host
src/review.ts         deterministic diff analyzer + sanitized comment drafting
src/jobs.ts           github-review background job producer (metadata + diff + CI + comments)
src/approval-gate.ts  tools/pre-execute ask/deny gate with write previews
src/tools.ts          the fourteen model-facing tools (plus `ci_run` under src/ci/)
src/commands.ts       /pr, /review, /issue
src/present.ts        pure UI-card presenters
test/                 vitest suite + mock host scaffolding + opt-in e2e smoke
cordis.patch.yml      bundle patch (one insert row)
scripts/prepare.mjs   self-contained git-install build

Interoperability with other DSH plugins

Verified against DSH 0.2.0-rc.2 (the runtime this README ships for) and the high-star plugin set surveyed on 2026-10-05.

This plugin does not interfere with other plugins, including the widely installed high-star ones:

  • No tool-name collision. Every tool is namespaced; no bare name owned by a shipped tool or another plugin is registered.
  • No service-key collision. It provides no service key at all, so it cannot collide on one.
  • No slot collision. It registers no client slot key, so it cannot contend for a shadows-shipped-ui seat.
  • No HTTP route collision. It registers no webServer prefix.
  • No patch-layer collision. The bundle patch only inserts its own row; it never overrides a built-in row's config.
  • No global mutation. It does not patch prototypes, rewrite process.env, or replace the global fetch dispatcher.

Shared event listeners are non-interfering by construction. It observes the ordering-sensitive event tools/pre-execute with ctx.on() — Cordis's broadcast registration, where every listener runs and none can starve another. Every listener here delegates through next(), so the chain is never short-circuited, and a mutation is applied to the value next() produced rather than returned in its place:

  • tools/pre-execute — also used by cc-safety-net (1576★).

Static evidence: dsh-plugin-doctor K10–K13 report pass for every check on this repository.

Topics

dsh · dsh-plugin · deepseek-harness · github · pull-request · code-review · issue-tracker

Contributors

  • @JosephTian876 — the unbundled lib/client.js report (#11).
  • @womeimingzi11 — the browser-half module-loader registration report (#14); the factory-wrapped bundle shipped in later releases.
  • @PerryLink — creator and maintainer: the GitHub tool surface, approval gate, background review jobs, CI composite action, review bot, status-check gate, and the five-language docs.
  • @AraragiEro — the GitHub token settings card in the Plugins settings page (#6).
  • @alexchenzl — invited the plugin onto the DSH Directory (#5).

PerryLink DSH Plugin Family

This project is part of the DeepSeek Harness plugin family from PerryLink. The roster stays collapsed below so every README keeps a short first screen; expand it to see every row and its status.

Expand all plugins
PluginStatus
dsh-aqua-input-check
dsh-archive-check
dsh-auto-review
dsh-autotier
dsh-bid-ca-precheck
dsh-bid-qual-check
dsh-cert-mcp
dsh-checkpoint-rewind
dsh-click
dsh-composer-history
dsh-contract-stance
dsh-customs-doc-check
dsh-data-quality

License

Apache License 2.0 © 2026 dsh-github-bot contributors

subagents
modelReviewProvider—Subagent provider name for reviewMode: "model"; defaults to the first registered provider
maxRetries3429 retry attempts per request
retryBaseMs500Retry backoff base (doubles per attempt)
retryMaxWaitMs60000Retry backoff ceiling
requestTimeoutMs30000Hard per-request timeout; aborts the fetch when exceeded
apiBaseUrlhttps://api.github.comGitHub REST base URL (GitHub Enterprise)
allowedActions['pr.create','pr.merge','pr.update','review.post','issue.create','issue.comment','issue.close','ci.run']Write-action whitelist; anything else is denied before approval
workspaceDirprocess cwdWorking directory for read-only git inspection
ci{ enabled: false, … }CI integration section: polling review bot, status-check gate, and the one-shot ci_run tool (all ci.* keys live inside it)
ci.*
status-check gatesurfacePublishes the success / needs-changes verdict per PR head commit (action.yml)
dsh-demurrage-ledger
dsh-doublecheck
dsh-drill-script-check
dsh-eia-guide-check
dsh-emergency-plan
dsh-essay-rubric-check
dsh-evidence-check
dsh-export-ctl-check
dsh-fast
dsh-fmea-table-check
dsh-forecast-penalty
dsh-fund-research
dsh-github-bot
dsh-gongwen-flow-check
dsh-gongwen-word-check
dsh-guard-plan-qc
dsh-hazchem-check
dsh-hazplan-check
dsh-hidden-risk-map
dsh-hs-classify
dsh-icd-rule-check
dsh-industry-research
dsh-lawcite-adapter
dsh-laya
dsh-lc-doc-check
dsh-learning-gap-check
dsh-library
dsh-local-ai
dsh-lsp-actions
dsh-mask
dsh-mcp-panel
dsh-medrec-qc
dsh-memento
dsh-nsfc-form-check
dsh-nurse-record-check
dsh-observe
dsh-origin-rvc-check
dsh-ota-review-check
dsh-output-styles
dsh-paper-doc-adapter
dsh-permission-rules
dsh-permit-report-check
dsh-pipeline-check
dsh-pleading-draft
dsh-plugin-doctor
dsh-plugin-guide
dsh-plugin-kit
dsh-plugin-upgrade
dsh-policy-brief-draft
dsh-power-loss-split
dsh-power-ticket-check
dsh-ppap-check
dsh-protest-deadline
dsh-railway-window
dsh-repair-order-qc
dsh-research-report
dsh-review-reply-check
dsh-rulefile-check
dsh-safety-brief-check
dsh-score
dsh-session-sync
dsh-site-log-check
dsh-skill-pack-security
dsh-soe-decision-check
dsh-soilwater-check
dsh-sop-sync-check
dsh-spc-gbt-adapter
dsh-talk
dsh-tender-extract
dsh-tender-matrix
dsh-test-drive
dsh-ticktick
dsh-translate
dsh-warranty-calc
dsh-budget🧊 FROZEN — see the repo README
dsh-claude-move🧊 FROZEN — see the repo README
dsh-defend🧊 FROZEN — see the repo README
dsh-draw🧊 FROZEN — see the repo README
dsh-reach🧊 FROZEN — see the repo README
dsh-background-agents🚫 RETIRED — see the repo README
dsh-session-pin🚫 RETIRED — see the repo README
dsh-team-rooms🚫 RETIRED — see the repo README