dsh-motion-ui 0.8.7 → 0.8.9
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/CHANGELOG.md +9 -1
- package/DESIGN.zh-CN.md +2 -2
- package/README.en.md +86 -0
- package/README.md +53 -364
- package/VERIFICATION.md +23 -10
- package/client.js +1 -1
- package/lib/assets/katex.css +1 -1
- package/lib/assets/mermaid.js +2 -2
- package/lib/assets/standalone-runtime.js +3 -3
- package/lib/assets/visual.js +21 -21
- package/lib/build-info.js +1 -1
- package/lib/catalog.js +94 -94
- package/lib/mechanism-css.js +1 -1
- package/lib/mechanism-geometry.js +2 -2
- package/lib/mechanism-scenes.js +1 -1
- package/lib/protocol.js +352 -352
- package/lib/scene-entry.js +1 -1
- package/lib/third-party/anatomy-NOTICE.md +1 -1
- package/lib/third-party/dsh-genui-LICENSE.txt +21 -21
- package/lib/third-party/lucian-uxui-LICENSE.txt +21 -21
- package/lib/ui-skill.js +29 -29
- package/lib/visual.js +1 -1
- package/package.json +10 -7
- package/skills/motion-design/upstream.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# DSH Motion UI
|
|
2
2
|
|
|
3
|
+
## 0.8.9 — 2026-10-31
|
|
4
|
+
|
|
5
|
+
### DSH 兼容性
|
|
6
|
+
|
|
7
|
+
- 支持 DSH Web / Desktop 0.2.1-rc.4 和 0.2.1-rc.5,保留此前声明的宿主版本。
|
|
8
|
+
- 将开发 SDK 更新到 rc.5 并重新构建客户端;本插件未使用宿主本次调整的推理内容展示接口。
|
|
9
|
+
- 149 项单元与集成测试及 29 项发布验证通过;rc.4、rc.5 隔离 Web 宿主的安装和插件页面检查通过。本次未实测原生 Desktop。
|
|
10
|
+
|
|
3
11
|
## 0.8.7 — 2026-10-18
|
|
4
12
|
|
|
5
13
|
### 补齐原生组件的皮肤兼容
|
|
@@ -118,7 +126,7 @@
|
|
|
118
126
|
|
|
119
127
|
### 验证
|
|
120
128
|
|
|
121
|
-
148 项单元/集成测试、24 组构建与浏览器回归,以及 18 项播放器检查。Desktop 原生通道额外验证了真实鼠标拖动、解码帧时间、画面像素变化、播放状态和离开页面后的资源释放,未仅以进度数字变化判定成功。
|
|
129
|
+
148 项单元/集成测试、24 组构建与浏览器回归,以及 18 项播放器检查。Desktop 原生通道额外验证了真实鼠标拖动、解码帧时间、画面像素变化、播放状态和离开页面后的资源释放,未仅以进度数字变化判定成功。
|
|
122
130
|
|
|
123
131
|
|
|
124
132
|
## 0.8.0 — 2026-10-17
|
package/DESIGN.zh-CN.md
CHANGED
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
|
|
38
38
|
## 实测范围
|
|
39
39
|
|
|
40
|
-
五组预览:原显存预算规划器、计算器、比较图表、条件预算示例、语义配色/负数/全零图表。分别检查浅色、深色、390px;浏览器无 pageerror,无整页横向溢出。真实 Web 聊天还要验证历史恢复和主题继承,不能只以独立预览代替。
|
|
40
|
+
五组预览:原显存预算规划器、计算器、比较图表、条件预算示例、语义配色/负数/全零图表。分别检查浅色、深色、390px;浏览器无 pageerror,无整页横向溢出。真实 Web 聊天还要验证历史恢复和主题继承,不能只以独立预览代替。
|
|
41
41
|
|
|
42
42
|
## 0.3 — 动态曲线与恢复操作
|
|
43
43
|
|
|
44
44
|
线图按数据范围自动设置纵轴,柱图始终包含零基线。数字横轴可声明 xScale:linear,按实际采样距离放置点;分类轴保持旧版等距行为。曲线端点数值向绘图区内对齐,避免与坐标刻度叠字。精确值始终保留在展开数据表中。
|
|
45
45
|
|
|
46
|
-
读取失败时控件保持禁用并提供重新读取;保存失败时保留本页参数并提供重试;冲突时明确提供“使用已保存参数”和“保留本页参数并重试”。恢复操作继承统一的次级按钮样式。无效数值草稿不会因失焦悄悄消失。
|
|
46
|
+
读取失败时控件保持禁用并提供重新读取;保存失败时保留本页参数并提供重试;冲突时明确提供“使用已保存参数”和“保留本页参数并重试”。恢复操作继承统一的次级按钮样式。无效数值草稿不会因失焦悄悄消失。
|
|
47
47
|
|
|
48
48
|
## 0.4 — 六种场景设计与生成预览
|
|
49
49
|
|
package/README.en.md
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# DSH Motion UI
|
|
2
|
+
|
|
3
|
+
[简体中文](README.md) | English
|
|
4
|
+
|
|
5
|
+
Turn [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) responses into **interactive interfaces, diagrams and animations** when useful: from comparisons, quizzes and parameter calculators to HTML/SVG canvases, mechanical illustrations and local video production. The model can still answer in ordinary text; interface generation depends on the task, model and settings.
|
|
6
|
+
|
|
7
|
+
## What can it do?
|
|
8
|
+
|
|
9
|
+
| Use case | Capabilities |
|
|
10
|
+
| --- | --- |
|
|
11
|
+
| Everyday explanations | Cards, comparisons, flows, timelines, code, formulas and tabs |
|
|
12
|
+
| Data exploration | Table filtering / sorting, CSV export, charts and adjustable parameters |
|
|
13
|
+
| Learning and input | Local quizzes, forms, function plots and structural diagrams |
|
|
14
|
+
| Freeform expression | Model-authored HTML/SVG, animations, basic 3D and interactive canvases |
|
|
15
|
+
| Mechanical illustrations | Adjustable assembly, gear and crank-linkage demonstrations |
|
|
16
|
+
| Video production | Motion timelines, storyboard previews, MP4 export, editing, and optional voice and captions |
|
|
17
|
+
|
|
18
|
+
Interfaces appear in the response and the **Smart UI** sidebar. Compatible parameters and some view state can be saved, and the model can later edit an existing interface. Controls respond locally; parameters are sent to the Agent only when a follow-up is explicitly submitted.
|
|
19
|
+
|
|
20
|
+
## Examples from real generations
|
|
21
|
+
|
|
22
|
+
These screenshots come from real DSH development sessions. The first was proactively generated by DeepSeek V4.1 Flash Fast for a circuit question; the second was generated by DeepSeek V4.1 Flash from an animation request. Both are static captures. Results depend on the model and prompt, and illustrations are not precision simulations.
|
|
23
|
+
|
|
24
|
+

|
|
25
|
+
|
|
26
|
+

|
|
27
|
+
|
|
28
|
+
[View all screenshots and their provenance](docs/screenshots/README.md).
|
|
29
|
+
|
|
30
|
+
## Compatibility and installation
|
|
31
|
+
|
|
32
|
+
- Supports DSH **Web / Desktop**. The current repository explicitly declares compatibility with `0.2.0-rc.2`, `0.2.1-rc.1`, `0.2.1-rc.2`, `0.2.1-rc.3`, `0.2.1-rc.4` and `0.2.1-rc.5`; see [package.json](package.json).
|
|
33
|
+
- Requires Node.js `>=22.19`. Everyday interfaces do not require the video toolchain; see video requirements below.
|
|
34
|
+
|
|
35
|
+
For Desktop, install its `dsh` command through **Application → Manage dsh Command** first:
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
dsh plugin --profile desktop add dsh-motion-ui
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Replace `desktop` with `web` for Web. Restart DSH after installation; Web users should also reload the browser page. Settings are under **Plugins → Installed → dsh-motion-ui**. You can also install it through the [Enhancement Suite](https://github.com/Scorp1o117/dsh-enhancement-suite).
|
|
42
|
+
|
|
43
|
+
If the development plugin `dsh-generative-ui` is installed, remove it before installing Motion UI. They register the same tools and should not run together. Older interface documents remain readable, but settings must be selected again under the new plugin entry.
|
|
44
|
+
|
|
45
|
+
## Quick start
|
|
46
|
+
|
|
47
|
+
Ask for a task that benefits from a visual, for example:
|
|
48
|
+
|
|
49
|
+
- “Explain voltage, current and power with adjustable parameters.”
|
|
50
|
+
- “Compare these two options and let me adjust the budget.”
|
|
51
|
+
- “Make a local quiz with answer explanations.”
|
|
52
|
+
- “Animate a gear drive with speed and pause controls.”
|
|
53
|
+
|
|
54
|
+
In plugin settings, choose **Guided** or **Free** mode. Guided mode supplies design guidance, style and examples; Free mode leaves the design to the model without injecting those styles and examples. Whether the model invokes tools, as well as interface quality and correctness, depends on the model and request.
|
|
55
|
+
|
|
56
|
+
## Tools and behavior
|
|
57
|
+
|
|
58
|
+
| Tool | Purpose |
|
|
59
|
+
| --- | --- |
|
|
60
|
+
| `render_text` / `render_scene` | Quick typography or common flow, comparison, allocation and budget scenes |
|
|
61
|
+
| `render_ui` | Validated native components, charts, quizzes and forms |
|
|
62
|
+
| `render_canvas` | Freeform HTML / SVG canvases and animation |
|
|
63
|
+
| `render_mechanism` | Assembly, gear and crank-linkage illustrations |
|
|
64
|
+
| `ui_catalog` | Retrieve protocol, fields and examples on demand |
|
|
65
|
+
| `inspect_ui` / `update_ui` / `patch_ui` | Inspect and continue editing an existing interface |
|
|
66
|
+
|
|
67
|
+
Completed content can appear progressively during generation. Full interaction starts after a successful result and state restoration. Some PTC / composite tool paths may show the text fallback instead. Removing the plugin does not automatically delete locally saved interface state.
|
|
68
|
+
|
|
69
|
+
## Video production
|
|
70
|
+
|
|
71
|
+
When explicitly asked to make a video, the model can preview a timeline, render MP4, inspect a video or join clips, and deliver editable source and project files. Install **Chrome / Edge or Playwright Chromium, FFmpeg and FFprobe** locally first; the plugin does not download a browser or encoders automatically. The plugin settings can check the video environment.
|
|
72
|
+
|
|
73
|
+
Optional voice synthesis uses MiniMax, requires separate authentication and may incur API charges. Silent motion videos work without it. Ordinary conversations are not automatically exported as video. Frame sampling checks only selected moments; it is not a complete visual, audio or content review.
|
|
74
|
+
|
|
75
|
+
## Limits and safety
|
|
76
|
+
|
|
77
|
+
- The correctness of charts, calculations and illustrations depends on supplied data, model output and implementation. Verify results for professional use.
|
|
78
|
+
- Freeform canvases run in an isolated iframe with restrictions on host-page and network access. Isolation does not provide hard CPU or memory limits; complex or problematic code can still affect responsiveness.
|
|
79
|
+
- Do not supply unrelated credentials or private data to generated canvases. External services, models and assets have their own terms.
|
|
80
|
+
- This project does not claim to implement ChatGPT's proprietary UI protocol or compiler.
|
|
81
|
+
|
|
82
|
+
## More information
|
|
83
|
+
|
|
84
|
+
- [Changelog](CHANGELOG.md) · [Verification](VERIFICATION.md) · [Historical detailed documentation](https://github.com/Scorp1o117/dsh-motion-ui/blob/52ad63919cd1b40b26f80a65102ca1459b4a7ec4/README.md) (protocol and examples; older installation and compatibility notes may be outdated)
|
|
85
|
+
- The extended component core reuses [dsh-genui](https://github.com/omdsh-dev/dsh-genui); mechanical illustrations reference Anatomy; the motion skill comes from OpenDesign. See [dsh-genui NOTICE](lib/third-party/dsh-genui-NOTICE.md), [Anatomy NOTICE](lib/third-party/anatomy-NOTICE.md) and [motion-design NOTICE](skills/motion-design/NOTICE.md) for versions, attribution and licenses.
|
|
86
|
+
- [npm](https://www.npmjs.com/package/dsh-motion-ui) · [Issues](https://github.com/Scorp1o117/dsh-motion-ui/issues) · [MIT License](LICENSE)
|