Repository navigation
dsh-structured 0.9.1
dsh-structured 0.9.1
Structured output for DSH: a no-label title card first, then tables/lists/steps; per-session toggle and style.md override.
What changed
- 代码 / diff 隔离:
```diff/patch代码块、[data-diff]/.md-diff/ GenUI diff 区域不套插件的 code/table chrome;diff 行色与宿主渲染保持原样。代码 / diff 回复允许代码块或 diff 卡直接作首块,不强制标题卡。 - 设置中心:
theme、visual、defaultEnabled、tailReminder、includeSubagents、genui六个 profile 级 Config 字段,全部.volatile(),带中英双语 description;标准 bundle 详情表单优先,不新增 React 依赖。 - 主题系统:
theme(deepseek / codex / anthropic,默认 deepseek)三套明暗 token;暗色跟随宿主body[data-ds-dark-theme];client 通过configForms读取 theme。 statusText显示主题与视觉层;/structured on|off仍只控制按会话提示词;state.json只存会话开关。- 写入 active profile 的 Cordis patch;home patch / CLI overlay 优先,表单
writable=false时不静默成功。
Verification
npm test: 49/49;node scripts/desktop-check.mjs: PASS。node scripts/theme-contrast.mjs: PASS 60 checks(3 套主题 × 明暗,全组 ≥4.5)。npm pack: 42 文件 / 770432 B / unpacked 997070 B,sha1fa8d8703…,sha2565b48c3a0…。- 仓库
grep "不做主题菜单"(打包范围)0 命中;lib 与 src 一致。
Install
- npm:
dsh plugin --profile <profile> add dsh-structured@0.9.1 - 插件市场:条目已指向 v0.9.1。
Full changelog: https://github.com/feigo313/dsh-structured/blob/main/CHANGELOG.md