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.