dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
给 DeepSeek Harness 的康威生命游戏:侧栏一行面板入口,打开一块可绘制的中央棋盘,含四套规则、七个可盖章的图案与一条种群曲线。
Conway's Game of Life for DeepSeek Harness — a sidebar panel row and a full centre-column board.
| Seat | What you get |
|---|---|
sidebar.panellist / life-game | A sidebar row (glider glyph; the sidebar owns the button and its label) |
main / life-game | The board fills the centre column, auto-fitted to it |
shell.overlay / life-game-float | An optional floating window, for watching while you chat |
dsh plugin --profile web add /absolute/path/to/life-plugin
Then restart dsh once so the profile recomposes its bundle list.
node build.mjs # src/ -> lib/
node test/life.spec.mjs # the simulation, the seats, preferences, i18n
node test/bundle.spec.mjs # the built bundle, mounted in a fake page
src/game.js is one plain-JavaScript body shared by two hosts: the dynamic Cordis
runner (new Function(...), React as a closure symbol, nothing durable) and this
package's browser bundle (window.__ModuleLoader__.load, require("react"),
LIFE_DURABLE on). build.mjs is the only difference between them.
timer service and paints with canvas 2D.localStorage (key dsh-life-game:prefs) —
they are view state, not plugin configuration. The dynamic package writes none.MIT licensed.