TommyFang2077/gh-tea-npm-dsh ↗★ 3

@tommyfang/gh-tea-npm-dsh

集成GitHub、Gitea和npm命令行工具与授权 适合需要Agent直接操作Git仓库、管理Issue、发布npm包并进行引导式授权的场景。

套件
@tommyfang/gh-tea-npm-dsh
相容性
待驗證
版本
0.1.0
授權
MIT
最近更新
2026年8月15日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:TommyFang2077/gh-tea-npm-dsh

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:

  1. gitclis_configure method=auto → current state + next-step menu
  2. 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=poll to verify
    • manual → gitclis_set_token
  3. verify with gitclis_status

npm — npm_configure:

  1. npm_configure method=auto → current state + next-step menu
  2. browser OAuth → method=web (returns a login URL) → method=poll to verify, or automation token → method=token
  3. publish with npm_publish (or npm_publish dry_run=true)