@luosuqwq/dsh-diagram 0.1.2 → 0.1.4

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 CHANGED
@@ -17,6 +17,10 @@ A DeepSeek Harness answer is text, but some explanations are really about a flow
17
17
  - **Inline in chat.** Every tool returns a `markdown` line served from the bundle's own asset route; paste it as-is and the picture appears in the answer.
18
18
  - **Real files on disk.** Each render is also saved as a file, by default under `.dsh/diagram/` in the session working directory.
19
19
 
20
+ ![Annotations drawn one by one](docs/preview/annotate.gif)
21
+
22
+ One `image_annotate` call per step: the focal point, the gaze line, the body diagonal, negative space, then the warm/cool accent — all shapes, arrows and labels are drawn at render time.
23
+
20
24
  ## Example
21
25
 
22
26
  ![An annotated composition study](docs/preview/annotation.jpg)
package/README.zh-CN.md CHANGED
@@ -17,6 +17,10 @@ DeepSeek Harness 的回答本身是文字,但有些解释说的是流程、结
17
17
  - **直接内联。** 每个工具都返回一行 `markdown`,指向本 bundle 自己的取图路由;原样放进回答,图就出现在对话里。
18
18
  - **文件真实落盘。** 每次出图同时写一个文件,默认在会话工作目录的 `.dsh/diagram/` 下。
19
19
 
20
+ ![逐层添加的标注](docs/preview/annotate.gif)
21
+
22
+ 每一步一次 `image_annotate` 调用:焦点、视线、对角线、负空间,最后是冷暖对比——框、箭头、文字都是渲染时画上去的。
23
+
20
24
  ## 示例
21
25
 
22
26
  ![构图要点标注](docs/preview/annotation.jpg)
package/cordis.patch.yml CHANGED
@@ -2,4 +2,5 @@
2
2
  # whole bundle, and the per-row switch writes `{ id, disabled }` here.
3
3
  - insert:
4
4
  - id: dsh-diagram
5
- name: @luosuqwq/dsh-diagram
5
+ name: '@luosuqwq/dsh-diagram'
6
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luosuqwq/dsh-diagram",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
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": [