@dsh-cc/command-status 0.8.1 → 0.8.2-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.i18n.yaml +2 -2
- package/README.md +2 -2
- package/README.zh.md +2 -2
- package/package.json +7 -7
package/README.i18n.yaml
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
3
|
# after editing either side, bring the other along and re-record with:
|
|
4
4
|
# pnpm check:readme --write
|
|
5
|
-
README.md:
|
|
6
|
-
README.zh.md:
|
|
5
|
+
README.md: a57917ac5694c6b52d9c029af3ed448fbb7fa8b6
|
|
6
|
+
README.zh.md: 957b53c3e5bb4dc3625aa486326dc2f4906b8e6a
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
English | [中文](README.zh.md)
|
|
4
4
|
|
|
5
|
-
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
|
|
5
|
+
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.
|
|
6
6
|
|
|
7
7
|
## Command contract
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ Human-facing `/status` command: a session status summary showing the current mod
|
|
|
10
10
|
|---|---|
|
|
11
11
|
| `/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. |
|
|
12
12
|
|
|
13
|
-
The model line reads the session's durable `request/header` log; the preset line reads
|
|
13
|
+
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.
|
|
14
14
|
|
|
15
15
|
## Composition
|
|
16
16
|
|
package/README.zh.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[English](README.md) | 中文
|
|
4
4
|
|
|
5
|
-
面向用户的 `/status` 命令:显示当前模型、权限 preset、会话 id 与工作目录的会话状态摘要。该插件通过
|
|
5
|
+
面向用户的 `/status` 命令:显示当前模型、权限 preset、会话 id 与工作目录的会话状态摘要。该插件通过 `ctx.commands` 注册一个全局命令,因此每个已组合的命令适配器都能发现并执行它,无需模型轮次。
|
|
6
6
|
|
|
7
7
|
## 命令约定
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|---|---|
|
|
11
11
|
| `/status` | 显示当前 `provider/model`(来自最新 `request/header`)、生效的权限 preset(挂载了权限服务时)、会话 id 与工作目录。在当前组合中来源缺失的条目行会被省略,而不是显示为空。 |
|
|
12
12
|
|
|
13
|
-
模型行读取会话的持久 `request/header` 日志;preset 行在存在时读取
|
|
13
|
+
模型行读取会话的持久 `request/header` 日志;preset 行在存在时读取 `ctx.permissionPresets`。两种来源都缺失的组合只会省略对应行。运行 `/status` 不消耗模型 token。
|
|
14
14
|
|
|
15
15
|
## 组合
|
|
16
16
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dsh-cc/command-status",
|
|
3
3
|
"description": "Human-facing slash command for a session status summary",
|
|
4
|
-
"version": "0.8.1",
|
|
4
|
+
"version": "0.8.2-rc.1",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/dsh-cc/dsh-cc.git",
|
|
@@ -25,14 +25,14 @@
|
|
|
25
25
|
],
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@dsh-cc/command-usage": "^0.8.1"
|
|
28
|
+
"@dsh-cc/command-usage": "^0.8.2-rc.1"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"@deepseek-ai/dsh-commands": ">=0.1.
|
|
32
|
-
"@deepseek-ai/dsh-invariants": ">=0.1.
|
|
33
|
-
"@deepseek-ai/dsh-permission-presets": ">=0.1.
|
|
34
|
-
"@deepseek-ai/dsh-session": ">=0.1.
|
|
35
|
-
"@deepseek-ai/cordis": ">=0.1.
|
|
31
|
+
"@deepseek-ai/dsh-commands": ">=0.1.7-rc.2",
|
|
32
|
+
"@deepseek-ai/dsh-invariants": ">=0.1.7-rc.2",
|
|
33
|
+
"@deepseek-ai/dsh-permission-presets": ">=0.1.7-rc.2",
|
|
34
|
+
"@deepseek-ai/dsh-session": ">=0.1.7-rc.2",
|
|
35
|
+
"@deepseek-ai/cordis": ">=0.1.7-rc.2"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@deepseek-ai/cordis-plugin-loader": "link:../../../../deepseek-harness/vendor/loader",
|