dsh-cc/dsh-cc--packages-interaction-command-status ↗★ 1
@dsh-cc/command-status
面向用户的斜杠命令,显示会话状态摘要。 适合快速查看当前模型、权限预设、会话ID与工作目录的用户。
安裝
此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗
說明文件
閱讀完整 README ↗@dsh-cc/command-status
English | 中文
Human-facing /status command: a session status summary showing the current model, permission preset, session id, and working directory. The plugin registers one global command through ctx.commands, so every composed command adapter discovers and executes it without a model turn.
Command contract
| Input | Result |
|---|---|
/status | Show the current provider/model (from the latest request/header), the effective permission preset (when the permission service is mounted), the session id, and the working directory. Lines whose source is absent in the current composition are omitted rather than shown empty. |
The model line reads the session's durable request/header log; the preset line reads ctx.permissionPresets when present. A composition without either source simply omits that line. Running /status consumes no model tokens.
Composition
The producer injects commands. A custom app mounts their owners plus this plugin:
- id: commands
name: '@deepseek-ai/dsh-commands'
- id: command-status
name: '@dsh-cc/command-status'
When the permission-presets stack is composed, its line appears automatically; otherwise it is omitted.
Model Experience
The slash input and the direct status output are absent from model requests and consume no model tokens. All lines are pure reads of the session log and composed services; presentation text is never logged.
Known Limitations and Deferred Work
- No MCP/hooks mount line — the harness has no runtime registry of mounted hooks or MCP servers to enumerate; that line is omitted until such a registry exists.
- Model is the last logged route — a header is only known after the first
request/headerevent; before that the line is omitted.