pax-beehive/dsh-hub-cli--packages-cli2

@dsh-plugin-hub/cli

dsh-hub 命令行客户端:用于发现、创建、搜索、安装和应用带有版本锁定的 DeepSeek Harness 插件和配置文件,支持回滚。

AI 分析

提供命令行工具来管理 DSH 插件和配置文件的生命周期。适合需要快速检索、安装插件以及备份/回滚配置文件的 DSH 高级用户和系统管理员。

包名
@dsh-plugin-hub/cli
版本
0.2.0
许可证
MIT
最近更新
2026年9月2日

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 README ↗

@dsh-plugin-hub/cli

The dsh-hub command-line client for discovering DSH plugins, sharing complete version-locked Profiles, applying them safely, and rolling back local revisions.

Version 0.2.0 adds reviewable lifecycle plans, Profile diff/doctor/upgrade, recoverable history and rollback, and the telemetry controls documented below.

Install

Requires Node.js 22.13 or later and pnpm on PATH.

npm install --global @dsh-plugin-hub/cli
dsh-hub --help

You can also run it without a global install:

npx @dsh-plugin-hub/cli --help

Quick start

dsh-hub search vision
dsh-hub info 
 --version latest
dsh-hub install 
 --profile web --dry-run

dsh-hub profile search team
dsh-hub profile capture my-profile --profile web
dsh-hub profile share my-profile --version 1.0.0 --profile web
dsh-hub profile apply 
 --profile web --dry-run
dsh-hub profile history --profile web
dsh-hub profile rollback --profile web

A Profile Release locks the DSH runtime, Plugin versions, sources, integrity, and user-confirmed sequence. Apply uses a staging Profile, validation, atomic switch, recoverable local revisions, and an auditable build-script allowlist derived from each pinned GitHub source.

Anonymous CLI telemetry

On first run the CLI prints a notice, saves an enabled preference for later eligible commands, and sends no event. You can turn telemetry off before the next run. Successful and failed Plugin install and Profile apply, upgrade, rollback, share, and doctor operations then send aggregate usage data to the Hub. Payloads contain the public package or Profile identifier and version, command outcome, a stable error category, duration, platform, architecture, and CLI version. They contain no account, machine ID, IP-address field, local path, Profile contents, configuration value, environment value, or secret. The API immediately folds events into daily aggregates and retains them for 365 days. Hosting and security providers still process source IPs to deliver and protect HTTP requests; the API keeps only hour-rotating rate-limit HMAC keys for the current and previous hour.

Control the persistent setting with:

dsh-hub telemetry state
dsh-hub telemetry off
dsh-hub telemetry on

--no-telemetry, DSH_HUB_TELEMETRY=0, and DO_NOT_TRACK=1 disable one invocation without changing the saved preference. To inspect the complete next event without sending it, run the command with DSH_HUB_TELEMETRY_DEBUG=1. Normal delivery uses HTTPS in a detached process with a 1.5-second timeout and never changes the requested command's result. See the hosted privacy notice for the complete disclosure.

This is an independent community project and is not affiliated with or endorsed by DeepSeek.