@240xu/dsh-plugin-hub 0.3.0 → 0.3.2
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 +9 -6
- package/package.json +1 -2
package/README.md
CHANGED
|
@@ -21,12 +21,15 @@ dsh web
|
|
|
21
21
|
| x240-message-ops | @240xu/dsh-plugin-hub/message-ops | @240xu/dsh-message-ops ^0.11.0 |
|
|
22
22
|
| x240-session-lazy-view | @240xu/dsh-plugin-hub/session-lazy-view | @240xu/dsh-session-lazy-view ^0.3.5 |
|
|
23
23
|
| x240-session-search | @240xu/dsh-plugin-hub/session-search | @240xu/dsh-session-search ^0.1.10 |
|
|
24
|
-
| experimental-inspector | `@deepseek-ai/dsh-experimental-inspector` | 官方 Inspector(DevTools
|
|
25
|
-
| session-inspector | `@deepseek-ai/dsh-experimental-session-inspector` | 官方 Session
|
|
24
|
+
| experimental-inspector | `@deepseek-ai/dsh-experimental-inspector` | 官方 Inspector Worker(DevTools/请求抓取/session 日志) |
|
|
25
|
+
| session-inspector | `@deepseek-ai/dsh-experimental-session-inspector` | 官方 Session 检查面板 |
|
|
26
26
|
|
|
27
27
|
`x240-suite` 只承载 client graph entry 与观测路由;禁用它会关闭浏览器 UI
|
|
28
28
|
(四条 host 行仍继续工作)。只想关某个 UI 时,disable 对应的 family 行即可。
|
|
29
29
|
|
|
30
|
+
**当前不含 devkit**:`devkit` 已于 0.1.3 出列,`exports["./devkit"]` 也在 0.3.2 移除;
|
|
31
|
+
下方早期验证表中出现 devkit 的段落属于历史记录。
|
|
32
|
+
|
|
30
33
|
## 已知强耦合(web 接线行)
|
|
31
34
|
|
|
32
35
|
`web` 行无条件把 `searchProvider` 置为 `unified`(websearch 的 PROVIDER_ID)。
|
|
@@ -119,7 +122,7 @@ header 按钮、一个 panel)。**宿主半**的四条 shell 行仍会挂载
|
|
|
119
122
|
## 端到端验证步骤(发布前必做)
|
|
120
123
|
|
|
121
124
|
1. `cd ~/dsh-plugins-src/dsh-plugin-hub && rm -rf node_modules`(清掉 PoC fixtures,
|
|
122
|
-
|
|
125
|
+
换真实依赖:把四个社区子包与 Inspector 依赖装齐(pnpm install / link)。
|
|
123
126
|
2. `dsh plugin --profile web add link:$(pwd)`(测试 profile 更稳:
|
|
124
127
|
`--profile suitetest`)。
|
|
125
128
|
3. `dsh --profile suitetest --dump-config`:确认裸锚 `x240-suite` + 四条
|
|
@@ -140,12 +143,12 @@ header 按钮、一个 panel)。**宿主半**的四条 shell 行仍会挂载
|
|
|
140
143
|
|
|
141
144
|
| 步骤 | 结果 |
|
|
142
145
|
|---|---|
|
|
143
|
-
| 1. link
|
|
146
|
+
| 1. link 四个社区子包 + Inspector | ✅(lazy-view 源码在 slv-check 目录,symlink 指向该处) |
|
|
144
147
|
| 2. `dsh plugin add link:` | ✅ suite 注册为 bundle |
|
|
145
148
|
| 3. dump-config | ✅ 四条 x240-* 行、name=shell 子路径、config.plugin=真实包名 |
|
|
146
149
|
| 4. `dsh --profile=suitetest --port 3999` | ✅ http=401、degraded 空、五端点全响应(400/200/200/401/200 均为预期值) |
|
|
147
150
|
| 5. 故障注入(session-search index.js 抛错) | ✅ **隔离生效**:服务正常启动(401),degraded 仅列 `@240xu/dsh-session-search [import]`,其余四行端点全部存活 |
|
|
148
|
-
| 6. standalone 共存(suite 内
|
|
151
|
+
| 6. standalone 共存(suite 内 message-ops + standalone message-ops 同 profile) | ✅ 浏览器半单份;宿主工具可能有一行 already registered 警告(只保留一份) |
|
|
149
152
|
|
|
150
153
|
### 实测发现的运维事实(发布前须知)
|
|
151
154
|
1. **slv-check 裸克隆需要 node_modules shim**:`@deepseek-ai/schemastery` 指向 profile 安装(`ln -sfn <profile>/node_modules/@deepseek-ai/schemastery slv-check/node_modules/@deepseek-ai/schemastery`)。npm 发布版无此问题(真实安装由 pnpm hoisted 提供)。
|
|
@@ -157,7 +160,7 @@ header 按钮、一个 panel)。**宿主半**的四条 shell 行仍会挂载
|
|
|
157
160
|
|
|
158
161
|
前置修正:上轮验证用的是手工 symlink;本轮改为**真实 pnpm 安装**(suite dependencies caret 刷新到
|
|
159
162
|
当前版本,node_modules/.pnpm 布局)。结果:
|
|
160
|
-
1.
|
|
163
|
+
1. `pnpm install` 拉齐四个社区子包 + 官方 Inspector bundle ✅
|
|
161
164
|
2. profile `pnpm install` 级联(link: suite 保持自带 node_modules,shell 动态 import 从 suite 目录解析)✅
|
|
162
165
|
3. `dsh --profile=suitetest --port 3999` 启动 → degraded 空、五端点全响应 ✅
|
|
163
166
|
4. **故障注入(对 .pnpm 真实副本写 throw)** → degraded 精确列出该行,其余四行存活 ✅(隔离在 npm 布局下复验)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@240xu/dsh-plugin-hub",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "One-line DSH plugin bundle: aggregates websearch, message-ops, session-lazy-view and session-search with per-row failure isolation. 一键安装的 DSH 插件聚合包。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
"./websearch": "./src/shell.js",
|
|
17
17
|
"./message-ops": "./src/shell.js",
|
|
18
18
|
"./session-lazy-view": "./src/shell.js",
|
|
19
|
-
"./devkit": "./src/shell.js",
|
|
20
19
|
"./session-search": "./src/shell.js",
|
|
21
20
|
"./degraded": "./src/shell.js",
|
|
22
21
|
"./package.json": "./package.json"
|