DeepSHPlugins
dsh-cli-store 專案預覽
GITHUB / COMMUNITY PROJECT

dsh-cli-store

生態與開發JavaScriptMIT

包含 64 個條目的外部 CLI 清單,支援受限公開來源發現,並透過 DSH 工具和獨立命令列提供受保護的包管理器或官方手動安裝。

2 StarsHarzva 更新時間 2026-08-25
訪問 GitHub 倉庫
dsh-cli-store 專案預覽

專案介紹

中文

包含 64 個條目的外部 CLI 清單,支援受限公開來源發現,並透過 DSH 工具和獨立命令列提供受保護的包管理器或官方手動安裝。

English

64-entry external CLI catalog with bounded public discovery and guarded package-manager or manual official installation, exposed through DSH tools and a standalone command.

專案資訊與收錄訊號

快照 2026-09-11
作者 / 組織
Harzva
倉庫
Harzva/dsh-cli-store
GitHub Stars
2
Forks
0
開發語言
JavaScript
許可證
MIT
最近推送
2026-08-25
Manifest
資料中檢測到宣告

公開倉庫不自動等於可商用;許可證與當前相容性以原專案文件為準。Manifest 和資料評分不構成安裝安全認證。

資料評分

57/ 100
維護活躍
89
文件與實用資訊
85
生態關注度
14
安裝便捷訊號
100
專案宣告訊號
100

近 17 天仍在更新;README 含完整安裝與使用說明;關注度尚低(2)。

評分來自已有資料快照的五維模型,僅作瀏覽參考,不是實際使用評測或安全檢測結論。

安裝與使用

所有專案資料與許可均以對應 GitHub 倉庫為準。

dsh plugin --profile web add "https://github.com/Harzva/dsh-cli-store/releases/latest/download/dsh-cli-store-0.3.0.tgz"

複製命令不會自動執行。請先閱讀倉庫文件,確認環境要求與許可證。

專案截圖

倉庫 README

GitHub 原文

已儲存的倉庫文件快照;文件抓取時間未記錄,可能與上方目錄介紹處於不同版本。安裝前請核對當前倉庫說明。

儲存庫檔案保留原文,指令與授權文字不作自動改寫。

dsh-cli-store

dsh-cli-store is a DeepSeek Harness plugin and a small command-line client for discovering, checking, and installing external CLI tools.

It is intentionally not another DSH plugin marketplace. A DSH marketplace installs DSH bundles; this store describes binaries that run outside the Harness, such as gh, rg, jq, and ffmpeg. The DSH bundle is the integration layer that makes the catalog available to the agent.

Install into DSH

dsh plugin --profile web add https://github.com/Harzva/dsh-cli-store/releases/latest/download/dsh-cli-store-0.3.0.tgz

The plugin registers seven tools:

  • dsh_cli_search searches the checked-in catalog for the current platform.
  • dsh_cli_list lists the complete catalog for the current platform.
  • dsh_cli_discover searches public CLI sources and can save results locally when explicitly requested.
  • dsh_cli_saved reads locally saved discoveries without network access.
  • dsh_cli_install_discovered can install only source-verified saved entries after confirmation; other discoveries stop at review-required.
  • dsh_cli_doctor checks whether a catalogued CLI responds to its version flag.
  • dsh_cli_install shows an install plan and can execute it only after explicit confirmation.

The package also exposes a local CLI:

dsh-cli-store search workbench
dsh-cli-store list --json
dsh-cli-store discover "image cli" --source github --limit 10 --save
dsh-cli-store saved image --json
dsh-cli-store install-discovered homebrew:ffmpeg --confirm --no-dry-run
dsh-cli-store doctor gh
dsh-cli-store plan install gh
dsh-cli-store install gh --confirm --no-dry-run
dsh-cli-store plan install workbench

The CLI accepts multi-word search queries and --json output for automation. A confirmed package-manager installation is followed by a version check; a package-manager success with no responding CLI is reported as installed-unverified. Manual official installers return instructions and leave execution to the user.

Curated catalog

The registry currently contains 64 curated CLI entries. The catalog covers Alibaba Cloud, AWS, Azure, Kubernetes, Docker, Git, JavaScript/TypeScript, Python, databases, networking, media, document conversion, security, shell utilities, and terminal interfaces. The first expansion batch adds 59 Homebrew-backed entries for macOS and Linux; each record keeps its executable name, upstream homepage, license, capabilities, and explicit brew install <formula> plan.

Internet discovery

discover currently queries four public sources through bounded adapters:

  • npm public registry for JavaScript packages.
  • GitHub repository search for repositories tagged with cli.
  • Homebrew Formulae metadata for formulae that declare executables.
  • crates.io for Rust packages.

“全网搜索”在工程上不是无边界爬取任意网页,而是通过可审计、可限流的公开来源适配器不断扩展覆盖面。每条结果保留来源、来源 ID、URL、版本和来源元数据;网络结果默认是 unreviewed,不会自动进入可执行安装清单。--save 只写入当前用户的本地发现目录,后续可用 saved 查看。Homebrew 和 crates.io 结果可以显示建议安装计划,但仍标记为需要审核。

Safety model

  • Registry entries and installer arguments are reviewed data, not shell snippets.
  • Child processes use shell: false; arbitrary shell strings are never evaluated.
  • Executable installers are restricted to the package-manager commands allowlisted by the code; manual official installers are documentation-only.
  • Registry validation also restricts each manager to its install action (brew install, winget install, cargo install, npm install, or pnpm add).
  • The DSH tool defaults to a dry-run and requires confirm=true plus dryRun=false for a write.
  • Doctor only calls the declared CLI with its declared version arguments.
  • Child-process output is capped while it is collected, and timed-out processes are terminated.
  • Network discovery is read-only unless save=true / --save is explicitly requested.
  • Discovery responses are treated as untrusted metadata and are rendered as data, not instructions.

The initial registry supports Homebrew on macOS/Linux and winget on Windows. Workbench CLI is included as an official manual installer because its upstream distribution is an OSS-hosted script/archive rather than a package-manager formula; the store displays the official instructions but never auto-executes a remote script. New entries should include a verified homepage, license, platform list, capabilities, and either a constrained package-manager installer or a documented manual installer. Feishu integrations should be added only after the exact CLI or bridge contract is verified; a Node long-connection bridge is not silently presented as an official Feishu CLI.

Development

pnpm check
pnpm run pack:dsh
pnpm run verify:dsh-offline

The offline verification creates an isolated temporary DSH_HOME, installs the freshly packed tarball into a temporary TUI profile, and checks the composed DSH configuration. It does not touch the user's normal DSH profile.

Adding a curated CLI

Add one record to data/registry.json, add tests for platform selection and the installer command, then run the three commands above. Keep the record factual and prefer upstream package-manager documentation for installer metadata.

Use discovery adapters for broad candidate collection. Promote an item into data/registry.json only after checking its upstream project, license, executable name, installer arguments, platform support, and installation behavior.

License

MIT

使用前核對

安裝步驟、相容版本與授權範圍以原專案當前文件為準。Stars 和評分是快照中的導航訊號。

安裝與排錯 · 專案問題反饋

同類專案