@luosuqwq/dsh-diagram 0.1.1 → 0.1.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/AGENTS.md CHANGED
@@ -11,6 +11,8 @@ A DSH bundle that adds four model-facing tools for turning HTML, a web page or a
11
11
  ## Install
12
12
 
13
13
  ```sh
14
+ dsh plugin --profile <profile> add @luosuqwq/dsh-diagram
15
+
14
16
  git clone https://github.com/LuosuQWQ/dsh-diagram.git
15
17
  dsh plugin --profile <profile> add link:<absolute path>/dsh-diagram
16
18
  # restart DSH; settings shows nothing extra, the tools are simply mounted
@@ -78,4 +80,4 @@ dsh plugin --profile <profile> add link:<本地绝对路径>/dsh-diagram
78
80
  - 不引入 npm 依赖,只用 Node 内置模块和浏览器 CDP;
79
81
  - 不写死浏览器路径,用 `DSH_DIAGRAM_BROWSER` 或探测列表;
80
82
  - 输出保持可移植:相对路径按会话 cwd 解析;
81
- - 没有 `npm test`;最低门槛是 `node --check index.js lib/*.js`。
83
+ - 没有 `npm test`;最低门槛是 `node --check index.js lib/*.js`。
package/README.md CHANGED
@@ -43,16 +43,18 @@ Install it from the checkout with the plugin manager:
43
43
  plugin_manager: { action: "install_bundle", target: "<path-to-checkout>" }
44
44
  ```
45
45
 
46
+ dsh plugin --profile <profile> add @luosuqwq/dsh-diagram
47
+
46
48
  Or add it to a profile by hand — in the profile's `package.json`:
47
49
 
48
50
  ```json
49
51
  {
50
52
  "dependencies": {
51
- "dsh-diagram": "link:<path-to-checkout>"
53
+ "@luosuqwq/dsh-diagram": "link:<path-to-checkout>"
52
54
  },
53
55
  "dsh": {
54
56
  "profile": {
55
- "bundles": ["dsh-diagram"]
57
+ "bundles": ["@luosuqwq/dsh-diagram"]
56
58
  }
57
59
  }
58
60
  }
@@ -139,4 +141,4 @@ node test/tool-path.mjs
139
141
 
140
142
  ## License
141
143
 
142
- MIT. See [LICENSE](LICENSE).
144
+ MIT. See [LICENSE](LICENSE).
package/README.zh-CN.md CHANGED
@@ -139,4 +139,4 @@ node test/tool-path.mjs
139
139
 
140
140
  ## 许可证
141
141
 
142
- MIT,见 [LICENSE](LICENSE)。
142
+ MIT,见 [LICENSE](LICENSE)。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luosuqwq/dsh-diagram",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Renders explanatory diagrams, web pages and annotated images to PNG, and shows them inline in answers.",
5
5
  "author": "LuoSu <2681153600@qq.com>",
6
6
  "keywords": [