gh-tea-npm-dsh
Manifest valid★ 3GitHub (gh) + Gitea (tea) + npm CLIs for DeepSeek Harness (dsh): guided auth/config, issue & package tools
gh-tea-npm-dsh
A DeepSeek Harness (dsh) plugin that brings GitHub (gh), Gitea (tea), and npm into the agent. It detects and installs the CLIs, guides the user through authentication with explicit choices, and operates issues and publishes packages.
Features
gh / tea
- detect installation, version, auth status, and token environment variables (values masked)
- one-command install — Homebrew when available, otherwise a no-sudo binary into
~/.local/bin - guided auth: import from env, browser OAuth device flow, or manual token
- issues:
list·view·create·comment·close·reopen
npm
- detect node/npm, login state (
npm whoami), and registry - guided login: browser OAuth device flow (
npm login --auth-type=web) or automation token - publish packages (
npm publish --access public) - 90-day token expiry notice and rotation guidance
Skill
- registers a companion
gh-tea-npmskill that documents the workflows and points at each CLI's own--helpas the authoritative command surface
Requirements
- Node.js ≥ 18 and npm (for the npm tools)
ghandteaare optional — the plugin installs them if missing
Install
npx -y @deepseek-ai/dsh plugin add @tommyfang/gh-tea-npm-dsh
This is a host-only bundle: cordis.patch.yml (referenced by the package's dsh.bundle manifest) inserts the plugin row, and dsh/index.js registers the tools and the skill.
Guided configuration
The plugin never poses open-ended questions. It returns a menu, the agent presents it as options, and the user advances one step at a time.
gh / tea — gitclis_configure:
gitclis_configure method=auto→ current state + next-step menu- install a missing CLI with
gitclis_install, or pick a token source:- env import →
method=env - browser OAuth (GitHub) →
method=web(returns a device code) →method=pollto verify - manual →
gitclis_set_token
- env import →
- verify with
gitclis_status
npm — npm_configure:
npm_configure method=auto→ current state + next-step menu- browser OAuth →
method=web(returns a login URL) →method=pollto verify, or automation token →method=token - publish with
npm_publish(ornpm_publish dry_run=true)
npm token policy (90 days)
npm now caps access tokens — including automation tokens — at a 90-day lifetime. An expired token breaks npm publish, so rotate before it lapses:
- generate a new Automation token at
https://www.npmjs.com/settings/<user>/tokens/new, thennpm_configure method=token; or - re-run
npm_configure method=web.
npm_status surfaces this policy and npm_configure walks through rotation.
Tools
| Tool | Description |
|---|---|
gitclis_status | detect gh/tea install, version, auth, env tokens (masked) |
gitclis_configure | guided gh/tea config — auto/env/web/manual/poll |
gitclis_install | install gh and/or tea |
gitclis_set_token | store a gh/tea token (never echoed) |
gitclis_token_env | read/import token environment variables |
gitclis_issue_list | list issues |
gitclis_issue_view | view one issue, optionally with comments |
gitclis_issue_create | create an issue |
gitclis_issue_comment | comment on an issue |
gitclis_issue_close | close an issue |
gitclis_issue_reopen | reopen an issue |
npm_status | detect node/npm, login state, registry |
npm_configure | guided npm auth — auto/web/token/poll |
npm_publish | publish to npm |
Issue tools take a provider argument: github → gh, gitea → tea.
Skill
The companion skill is registered at runtime and shipped on disk at skills/gh-tea-npm/SKILL.md. It documents issue-workflow recipes, the auth flows, and the npm token policy, and defers to gh <cmd> --help, tea <cmd> --help, and npm <cmd> --help for exact flags.
Repository layout
dsh/index.js Host Cordis plugin — registers tools + the gh-tea-npm skill
cordis.patch.yml dsh bundle layer — inserts this package
skills/gh-tea-npm/ companion skill markdown
package.json dsh + exports manifest
License
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.0 | — | — |
Comments
Loading…
Similar plugins
by YannZhou
About section for the DeepSeek Harness settings: version info, npm latest/next update check with one-click install and auto-restart, and GitHub release history.
★ 6
↓ 198/wk
MIT
JavaScript
Oct 6, 2026
dsh plugin --profile web add @yannzhou/dsh-aboutby GooDAnDReaDY
Gitea and Forgejo integration for DeepSeek Harness with issue, pull-request and worktree tools plus a Git status chip.
★ 4
↓ 512/wk
MIT
JavaScript
Oct 21, 2026
dsh plugin --profile web add @goodandready/dsh-giteaby revive
DeepSeek Harness plugin: GitLab and GitHub API tokens stay out of the model context — encrypted at rest (AES-256-GCM), tools on demand, web settings panel.
★ 3
↓ 267/wk
MIT
TypeScript
Oct 22, 2026
dsh plugin --profile web add dsh-git-credentialsby moxingovo
DeepSeek Harness plugin: GitHub repository & issue search, repo/issue details, and file reading tools (github_search / github_get) · DeepSeek Harness 插件:GitHub 仓库与 issue 检索、详情与文件读取,匿名可用,可选只读 token 解锁代码搜索
★ 3
MIT
TypeScript
Oct 15, 2026
dsh plugin --profile web add dsh-plugin-githubby sakthiveltofficial
dsh-git: Git & source-control plugin suite for DeepSeek Harness — local git + GitHub/GitLab/Bitbucket/Azure DevOps/Gitea + self-evolving memory
★ 4
MIT
TypeScript
Aug 25, 2026
dsh plugin --profile web add dsh-git-pluginsby loker66fan
DeepSeek Harness 插件商城:启动页入口 + GitHub topic:dsh-plugin 实时搜索、一键安装/重启 · In-harness plugin market with real-time GitHub search
★ 3
NOASSERTION
TypeScript
Aug 16, 2026
dsh plugin --profile web add dsh-market-github