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

@dsh-cc/command-status

面向用户的斜杠命令,显示会话状态摘要。 适合快速查看当前模型、权限预设、会话ID与工作目录的用户。

包名
@dsh-cc/command-status
兼容性
待验证
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-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

InputResult
/statusShow 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/header event; before that the line is omitted.