@tinyforge/dsh-plugin-manager-wj 1.3.0 → 1.3.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 +3 -2
- package/README.zh.md +3 -2
- package/cordis.patch.yml +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -49,11 +49,11 @@ npm install @tinyforge/dsh-plugin-manager-wj
|
|
|
49
49
|
## Release
|
|
50
50
|
|
|
51
51
|
```sh
|
|
52
|
-
npm test # node --test: 4
|
|
52
|
+
npm test # node --test: 4 view tests + 3 patch checks
|
|
53
53
|
npm publish --access public # writes to registry.npmjs.org
|
|
54
54
|
```
|
|
55
55
|
|
|
56
|
-
The package name is scoped, so publishing a new version needs maintainer access to the `@tinyforge` npm scope. Tag the published commit (`git tag v1.3.
|
|
56
|
+
The package name is scoped, so publishing a new version needs maintainer access to the `@tinyforge` npm scope. Tag the published commit (`git tag v1.3.1 && git push --tags`) so the GitHub history matches the registry.
|
|
57
57
|
|
|
58
58
|
## Development
|
|
59
59
|
|
|
@@ -61,6 +61,7 @@ The package is an ES module. `index.js` is the Host entry point and `client.js`
|
|
|
61
61
|
|
|
62
62
|
- `node --test` runs the bundle behavior checks in `tests/client.test.js`: the four views render and switch, the visited views stay mounted, search and enable/disable act on the active view, a secret configuration object stays out of the editor, opening a session loads the skill catalog without a refresh, a renamed skills namespace is discovered, and a transient catalog failure recovers from the inline retry.
|
|
63
63
|
- `node --check client.js` checks the browser bundle syntax.
|
|
64
|
+
- `tests/patch.test.js` parses `cordis.patch.yml` and asserts no plain scalar starts with a reserved YAML indicator — the scoped package name must stay quoted, or the Host rejects the bundle patch.
|
|
64
65
|
- `tests/harness.html` mounts the real `client.js` against fixtures in a browser and asserts the same behavior without Node; open it directly from disk and read the JSON report.
|
|
65
66
|
- `tests/parse-check.html` is a minimal browser smoke page: it confirms `client.js` parses and registers `settings.plugins.tab`.
|
|
66
67
|
|
package/README.zh.md
CHANGED
|
@@ -49,11 +49,11 @@ npm install @tinyforge/dsh-plugin-manager-wj
|
|
|
49
49
|
## 发布
|
|
50
50
|
|
|
51
51
|
```sh
|
|
52
|
-
npm test # node --test:4
|
|
52
|
+
npm test # node --test:4 个视图测试 + 3 个 patch 检查
|
|
53
53
|
npm publish --access public # 发布到 registry.npmjs.org
|
|
54
54
|
```
|
|
55
55
|
|
|
56
|
-
包名带 scope,发布新版本需要 `@tinyforge` npm scope 的维护者权限。发布后给对应提交打 tag(`git tag v1.3.
|
|
56
|
+
包名带 scope,发布新版本需要 `@tinyforge` npm scope 的维护者权限。发布后给对应提交打 tag(`git tag v1.3.1 && git push --tags`),让 GitHub 历史与 registry 版本对应。
|
|
57
57
|
|
|
58
58
|
## 开发
|
|
59
59
|
|
|
@@ -61,6 +61,7 @@ npm publish --access public # 发布到 registry.npmjs.org
|
|
|
61
61
|
|
|
62
62
|
- `node --test` 运行 `tests/client.test.js` 的行为检查:四个视图渲染并可切换、访问过的视图保持挂载、搜索与启停作用于当前视图、密钥配置对象不会进入编辑器、打开会话后无需刷新即加载 Skill 目录、改名后的 skills 命名空间能被发现,以及瞬时目录失败可就地重试恢复。
|
|
63
63
|
- `node --check client.js` 检查浏览器 bundle 语法。
|
|
64
|
+
- `tests/patch.test.js` 解析 `cordis.patch.yml`,确保没有裸标量以 YAML 保留字符开头 —— 带 scope 的包名必须保持加引号,否则 Host 会拒绝该 bundle patch。
|
|
64
65
|
- `tests/harness.html` 在浏览器中用测试夹具挂载真实 `client.js`,不依赖 Node 也能断言同一批行为;直接从磁盘打开并读取 JSON 报告。
|
|
65
66
|
- `tests/parse-check.html` 是最小的浏览器冒烟页:确认 `client.js` 能解析并注册 `settings.plugins.tab`。
|
|
66
67
|
|
package/cordis.patch.yml
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinyforge/dsh-plugin-manager-wj",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.1",
|
|
4
4
|
"description": "Switchable plugin, configuration, skill and MCP views with health diagnostics, configuration provenance, and tool/MCP inventory for DeepSeek Harness.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|