dsh-cc/dsh-cc--packages-interaction-command-version ↗★ 1

@dsh-cc/command-version

面向用户的斜杠命令,打印插件包与Harness版本。 适合查看插件包版本及宿主Harness版本的用户,离线可用。

包名
@dsh-cc/command-version
兼容性
待验证
Harness 依赖范围
>=0.1.5-rc.1
Cordis 依赖范围
>=0.1.5-rc.1
版本
0.7.1
许可证
Apache-2.0
最近更新
2026年9月16日

安装

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

@dsh-cc/command-version

English | 中文

Human-facing /version command that prints the plugin bundle version and, when the host surfaces one, the harness version. The plugin registers one global command through ctx.commands, so every composed command adapter discovers and executes it without a model turn.

Command contract

InputResult
/versionPrint @dsh-cc/plugins , plus a harness line when the host exposes one. No network.

The bundled version is read from this package's package.json at call time (with a compile-time fallback), so it is deterministic and offline-safe. The harness line appears only when a compatible host value is present.

Composition

The plugin injects commands. A custom app mounts the owners plus this plugin:

- id: commands
  name: '@deepseek-ai/dsh-commands'
- id: command-version
  name: '@dsh-cc/command-version'

Model Experience

The slash input and output are absent from model requests and consume no model tokens. Presentation text is never logged.

Known Limitations and Deferred Work

  • Harness version is optional — the line appears only when the host surfaces a version; a harness that exposes none still prints the plugin bundle line.