@lingda-ai/dsh-plugin-skyport 0.1.0 → 0.1.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.md +7 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
| 岗位 | 服务名 | 它提供什么 |
|
|
8
8
|
| --- | --- | --- |
|
|
9
|
-
| 黑匣子 · Recorder | `replay` | `listSessions()`:会话、金额、节省、步骤 |
|
|
9
|
+
| 黑匣子 · Recorder | `replay` | `list()`(= listSessions)、`summarize(sid)`:会话、金额、节省、步骤 |
|
|
10
10
|
| 航油 · Fuel | `quota` | `snapshot()`:周期预算、已用、预测、到线动作 |
|
|
11
11
|
| 机库 · Hangar | `vault` | `list()`:备份列表与最近一份 |
|
|
12
12
|
|
|
@@ -57,20 +57,22 @@ GET /dsh-skyport/api?summary=1
|
|
|
57
57
|
## 安装
|
|
58
58
|
|
|
59
59
|
```bash
|
|
60
|
-
|
|
60
|
+
# 装完重启宿主即生效,不用手改 bundles(cordis.patch.yml 会自动组合)
|
|
61
|
+
dsh plugin add @lingda-ai/dsh-plugin-skyport --profile <你的 profile>
|
|
61
62
|
```
|
|
62
63
|
|
|
64
|
+
> 前提:profile 里已有宿主壳(`@deepseek-ai/dsh-base` + `dsh-acp-app` 或 `dsh-web-app`)。
|
|
65
|
+
|
|
63
66
|
想看到完整数据,再装:
|
|
64
67
|
|
|
65
68
|
```bash
|
|
66
|
-
dsh plugin
|
|
67
|
-
npx dsh-vault create # 机库需要 CLI,装 @lingda-ai/dsh-plugin-vault
|
|
69
|
+
dsh plugin add @lingda-ai/dsh-plugin-replay @lingda-ai/dsh-plugin-quota @lingda-ai/dsh-plugin-vault --profile <你的 profile>
|
|
68
70
|
```
|
|
69
71
|
|
|
70
72
|
## 测试
|
|
71
73
|
|
|
72
74
|
```bash
|
|
73
|
-
npm test #
|
|
75
|
+
npm test # 16 项:聚合口径、缺失降级、提醒规则、HTTP 只读、客户端契约
|
|
74
76
|
npm run check # 收录前自检
|
|
75
77
|
npm run verify # 真机:在 acp profile 里确认工具注册与面板契约
|
|
76
78
|
```
|