dsh-bili-scroll
c1overzz
DSH 插件:每天替你刷一轮 B站,读字幕挑出值得的、写一份日报,值得的 @ 你
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:StarsHarryZhu/dsh-intelligent-UI
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Interactive widgets in DeepSeek Harness chats, the way Claude and ChatGPT draw them. The model writes a small web page — HTML, SVG, CSS, and JavaScript — and the chat runs it in a sandboxed frame right in the reply, styled like the host in both themes. Sliders, charts, diagrams, simulations, and quizzes respond in your browser without another model call, and a click can send your next message.
| Requires | DeepSeek Harness >= 0.2.1-rc.1 (below 0.3.0) |
| Platforms | Web UI, macOS desktop app, and Windows desktop app — one bundle, because both desktop apps load the same web client |
| Verified | This engine: the unit suite, headless Chrome on the built bundle, and a live run on the macOS desktop app — a model-written widget drew, its shipped Chart.js loaded offline, and its button sent the next message. Web UI and Windows live runs are pending (docs/VERIFY.md) |
| Install | Settings → Plugins → Add plugin → https://github.com/StarsHarryZhu/dsh-intelligent-UI (needs git on PATH), then restart the harness and reload the page |
Each image is this plugin drawing a widget its bundled skill teaches.
An estimate you adjust: the sliders redraw the chart and the total at once.
An algorithm traced line by line, with the data it works on.
A button that asks the follow-up question for you.
A diagram whose parts you click to ask about them.
A quiz whose answers go back to the model together.
An animation you play or step through.
A flowchart laid out by Mermaid, in the chat's colours.
ui_render, and one skill, dsh-intelligent-ui. The skill teaches the model when a widget beats prose, how to design one, which library fits, and how to fix one that failed; the Plugin Manager lists it as its own part of the plugin.data-prompt, a form with data-send, or sendPrompt() in a script sends your next message through the chat's own composer, only when you clicked.Fifteen libraries ship with the plugin. A widget names them by their usual CDN address, and the plugin loads its own copy instead, so they work offline and nothing is fetched from a CDN. Each is downloaded only when a widget uses it.
| Library | Version | License |
|---|---|---|
| Chart.js | 4.6.1 | MIT |
| ECharts | 5.6.0 | Apache-2.0 |
| D3 | 7.9.2 | ISC |
| topojson-client | 3.1.0 | ISC |
| KaTeX (with fonts and auto-render) | 0.16.47 | MIT |
| Three.js (r128 and 0.160 with OrbitControls) | 0.128.0, 0.160.1 | MIT |
| highlight.js | 11.12.0 | BSD-3-Clause |
| marked | 12.0.2 | MIT |
| Mermaid | 11.17.2 | MIT |
| math.js | 14.9.1 | Apache-2.0 |
| Tabler Icons (webfont) | 3.52.0 | MIT |
| Matter.js | 0.20.0 | MIT |
| Tone.js | 14.9.17 | MIT |
| anime.js | 3.2.2 | MIT |
Any other library loads from cdnjs, jsDelivr, unpkg, or esm.sh. Their license texts are in lib/licenses/.
The model's code never runs in the chat page. Each widget runs in its own sandboxed frame:
A widget can still run a heavy script; if one ever freezes, reload the page.
Earlier versions drew cards from a declarative language. Those cards now show the text version they stored, with a note; new answers use widgets.
node scripts/link-dev.mjs # link the toolchain from the sibling harness checkout
node scripts/vendor.mjs # download and check the pinned libraries
node build.js # type-check, build, and self-check the bundle
node node_modules/vitest/vitest.mjs run
AGENTS.md holds the rules of the tree, docs/PRINCIPLE.md the architecture, and docs/VERIFY.md the live checklist.
MIT License © 2026 Starfield. The shipped libraries keep their own licenses, listed above.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。