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 和评分是快照中的导航信号。

安装与排错 · 项目问题反馈

同类项目