Repository navigation
Releases: Shiro-Design-16/dsh-daily-chat-config
Releases · Shiro-Design-16/dsh-daily-chat-config
Release list
v0.2.0 — 在「插件」页编辑 daily 的 persona 与工具组合
「日常」聊天模式的配置,现在在 DSH 的「插件」页里编辑。
0.2.0 把编辑入口从设置页搬到了新版桌面左侧的**「插件」页**:在 daily-chat-config 那一栏里直接编辑 daily preset 的子条目列表(persona 与工具组合),保存后立即挂到运行中的 preset 上,开个新会话就能看到。
安装
profile 在 $DSH_HOME/profiles/<name>(桌面的默认 profile 是 ~/.dsh/profiles/desktop)。
- 「插件」页 → 添加插件 → 填
github:Shiro-Design-16/dsh-daily-chat-config - 重启 DSH
- 「插件」页 → daily-chat-config 那一栏 →「日常配置」
命令行等价做法:
dsh plugin --profile desktop add github:Shiro-Design-16/dsh-daily-chat-config环境要求:DSH 0.2.0-rc.2 或更高;上游插件 dsh-daily-chat——本插件编辑的就是它声明的 daily preset。
这一版做了什么
- 编辑入口改成「插件」页里每个插件自己的配置栏(keyed 根槽
plugins.bundle.config),不再占用设置页的导航坐席 - 包名从
@local/dsh-daily-chat-config改为dsh-daily-chat-config - 值仍然只走官方设置服务(内置
remote.settings),改动落在 profile patch 里本插件那一行;插件本身不写任何文件 - 契约对齐 0.2.0-rc.2:volatile 设置字段、
loader/volatile-update事件、fiber.update(config, true)内存挂载
从 0.1.x 升级
把 dependencies 与 dsh.profile.bundles 里的 @local/dsh-daily-chat-config 换成 dsh-daily-chat-config(来源写 github:Shiro-Design-16/dsh-daily-chat-config)。如果你 profile patch 里那一行还写着旧 name,它会因为名字断言不匹配被跳过——改成新名字,或者到插件页里重新保存一次。
验证
- 宿主半边 85 项断言(
node test/host-harness.mjs):schema、校验、应用语义、挂载顺序、日志与隐私、零文件写入 - 客户端半边 23 项断言(
node test/client-harness.mjs):激活安全、降级视图、信封语义、读写与冲突恢复 - 真机:装进隔离 profile 启动,日志出现
[daily-chat-config] applied N rows to preset-daily (source=mount),无未激活条目
完整说明见 README。