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

@dsh-cc/command-version

Human-facing slash command that prints the plugin bundle and harness versions 适合查看插件包版本及宿主Harness版本的用户,离线可用。

パッケージ
@dsh-cc/command-version
互換性
未検証
Harness ピア範囲
>=0.1.5-rc.1
Cordis ピア範囲
>=0.1.5-rc.1
バージョン
0.7.1
ライセンス
Apache-2.0
最終更新
2026/09/16

インストール

検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗

ドキュメント

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.