Repository navigation
Releases
dsh-prompt-assembler v1.2.0
适配 DSH 0.2.2-rc.1。要求 Node >=24.9.0、Cordis 4.1.0,支持范围为 DSH >=0.2.2-rc.1 <0.2.3-0。
- 独立预览与历史策略改用公开会话观察接口,读取后释放句柄,不激活 Agent。
- 提供共享 session-reader 接口,保持独立生命周期和已有存储。
- 标准装配继续受支持;历史 Advanced 扩展保持冻结。
下载附件 dsh-prompt-assembler-1.2.0.tgz,通过 DSH 插件管理安装。配套 Tavern 3.2.0,请先安装并启用 Assembler,再安装 Tavern。无需安装 npm 包或 Advanced 扩展。
验证:221 项通过、14 项因可选环境未提供而跳过;构建、安装包及官方 Web Host 验收通过。桌面与外部 Memory Manager 组合未验收。
Targets DSH 0.2.2-rc.1 with Node >=24.9.0 and Cordis 4.1.0. The supported DSH range is >=0.2.2-rc.1 <0.2.3-0.
Standalone preview and history-policy reads now use public session observation leases without activating Agents. Consumers can reuse the session-reader API. Existing storage and the independent plugin lifecycle are preserved. Standard assembly remains supported; the historical Advanced addon stays frozen.
Install the attached dsh-prompt-assembler-1.2.0.tgz through DSH plugin management before installing Tavern 3.2.0. No npm publication or Advanced addon is required.
Validation: 221 tests passed, 14 optional-environment tests skipped; build, package and official Web Host acceptance passed. Desktop and external Memory Manager combinations were not verified.
Assembler 1.1.3 — shared plugin and first-turn greeting fix
Assembler 1.1.3 修复标准 native-slots / native-roles 首轮开场白引用缺失(Tavern #24)。保留主/备选开场选择、宏展开与 Trace 来源;引用进入 system 装配,不伪造 assistant 历史,后续轮次不重复注入。
新增公开服务 dshPromptAssembler.version,供消费者核对实际运行版本。Assembler 独立安装和启用,可由 Tavern 3.1.5 及其他插件共享;停用或移除 Tavern 不会移除本服务。默认策略数据目录保持不变。
在 GUI「插件 → 添加插件」中粘贴 1.1.3 预构建安装包直链,安装并启用,再安装 Tavern 3.1.5。本次不发布到 npm。从旧 Tavern 内嵌版本升级时,保留数据并卸载旧 Tavern 软件包后重新安装,避免 pnpm 残留旧 SDK;自定义存储与安全设置见安装升级说明。
支持 DSH 0.2.1-rc.2 / rc.3 标准接口,进阶扩展保持冻结。已验证两版官方 Host 的实际请求与冷历史、独立消费者生命周期,以及 Node 20 / 22 / 24 CI。
Restores first-turn character greeting references for Standard native-slots and native-roles, including primary/alternate selection, macros and Trace provenance, without forged assistant history or later-turn reinjection. Exposes dshPromptAssembler.version for actual-service admission.
Install and enable the prebuilt attachment independently before Tavern 3.1.5. Multiple plugins share the service; removing Tavern retains Assembler. Existing default strategy storage is preserved. When upgrading from a formerly bundled copy, retain data, remove the old Tavern package and reinstall it to clear leftover SDK files. See the English installation guide. This release is distributed through GitHub, without npm publication.
文档版本更正:实际配套 Tavern 版本为 3.1.5。1.1.3 安装包内文档中的 Tavern 4.0.0 是未发布的候选标记;安装以本文链接的修订说明为准。Assembler 1.1.3 的代码、tag 与安装包保持不变。
Documentation correction: the paired Tavern version is 3.1.5. References to Tavern 4.0.0 in the packaged docs describe an unpublished candidate label; use the corrected installation guide linked above. Assembler code, tag and attachment bytes are unchanged.
dsh-prompt-assembler v1.1.2
Standard Assembler 1.1.2 supports DSH >=0.2.1-rc.2 <0.2.2-0. Both rc.2 and rc.3 were verified; later 0.2.1 RCs and the final release are admitted by policy, while 0.2.2 and its prereleases require reassessment.
dsh plugin --profile web add dsh-prompt-assembler@1.1.2- Update Host and DSH LLM peer declarations without changing the Standard assembly implementation.
- Preserve the rc.2 development baseline and verify admission boundaries with the official evaluator.
- Advanced remains frozen at Assembler 1.1.0 / DSH 0.2.0-rc.2; no new core addon is included.
Validation: build and package checks passed. On each official rc.2/rc.3 runtime, 211 tests passed and 14 optional/prepared-core tests were skipped. rc.3 Web Host acceptance covered standalone and Tavern composition, configuration entry, actual request assembly and history. Official desktop and external Memory Manager were not validated in this run.
标准 Assembler 1.1.2 将 Host 与 DSH LLM peer 范围调整为 >=0.2.1-rc.2 <0.2.2-0。已验证 rc.2、rc.3;后续 0.2.1 RC 和正式版按策略准入,0.2.2 及其预发布需重新评估。标准装配实现保持不变。
两个官方运行时各通过 211 项测试,14 项可选或进阶夹具跳过。rc.3 Web Host 验证了独立安装、与 Tavern 组合、配置入口、实际请求装配和历史。官方桌面端与外部 Memory Manager 未纳入本次验收。进阶扩展仍冻结在 Assembler 1.1.0 / DSH 0.2.0-rc.2。
Assembler v1.1.1
DSH 0.2.1-rc.2 compatibility for the Standard Assembler package.
- Use public DSH extension points, preserving cwd text strategies and required runtime facts.
- Open configuration from Plugins → Installed plugins → dsh-prompt-assembler → Configure current session. The compact button includes hover feedback and opens the existing guarded editor.
- Composition hosts can own the same configuration entry without duplicating the controller or strategy store.
- Advanced core support is frozen at Assembler 1.1.0 / DSH 0.2.0-rc.2. This release includes no core patch, preparation tool or new core addon, and makes no commitment to future advanced adaptation.
Install: dsh plugin --profile web add dsh-prompt-assembler@1.1.1.
Validation: build and package inspection passed; 211 tests passed with 14 historical/optional Host fixtures skipped. Stock DSH 0.2.1-rc.2 browser acceptance covered configuration launch/close, session binding, compact width and hover feedback. No advanced compatibility is claimed on the new Host.
标准 Assembler 现支持 DSH 0.2.1-rc.2。配置入口位于“插件 → 已安装插件 → dsh-prompt-assembler → 配置当前会话”,复用现有策略编辑器与未保存保护。紧凑按钮随文字调整宽度并提供悬停反馈。
进阶核心扩展冻结在 Assembler 1.1.0 / DSH 0.2.0-rc.2;本次仅发布标准包,不包含新版核心改动,不承诺后续进阶适配。
DSH Prompt Assembler v1.1.0
DSH Prompt Assembler v1.1.0
独立配置每次模型请求的指令、资源、上下文、排序和历史筛选,无需安装 Tavern 或 Memory Manager。
- 排序策略现在可由第三方独立注册,按预设数组依次执行;界面支持添加、移除和拖拽重排。
- 第三方可注册可撤销的预设目录、原生插槽来源及能力匹配的隐式依赖,共用现有装配路径。
- 请求捕获注册快照,结果保留策略名称与阶段归属;提供方缺失时保留配置并明确说明。
面向 DSH 0.2.0-rc.2。标准版使用官方接口;进阶版需另行安装匹配的 1.1.0 addon 并显式准备核心,不由标准安装自动启用。
标准版安装 / 更新
停止目标 Host 后执行(将 web 改为你的 profile 名称),再重启 Host:
dsh plugin --profile web add github:Player-MINEPIG/dsh-prompt-assembler#v1.1.0打开“设置 → 提示词装配”选择策略,预览后保存并应用到当前会话。
可选进阶版安装
先安装上面的标准版,再取得同一标签的源码:
git clone --branch v1.1.0 --depth 1 https://github.com/Player-MINEPIG/dsh-prompt-assembler.git
cd dsh-prompt-assembler
npm ci
node core-extension/scripts/prepare-request-assembly.mjs /path/to/dsh-rc2-source /path/to/prepared-coredsh-rc2-source 是官方 DSH 0.2.0-rc.2 的完整源码;输出目录须与源码分离。停止目标 Host 后执行:
node core-extension/scripts/switch-runtime.mjs install --runtime /path/to/runtime --home /path/to/dsh-home --profile web --prepared /path/to/prepared-core --stock-runtime /path/to/stock-runtime替换以上路径;runtime 是目标 Host 的运行时目录,home 是对应 DSH_HOME,stock-runtime 是未修改的官方 rc.2 运行时。工具安装 addon、切换核心并保存回退文件。重启 Host 后选择“进阶版 · 核心扩展”,预览并应用;已有策略不会自动切换。
已知显示限制仍在:标准历史清理会在官方轨迹留下空上下文审计条目,按来源折叠等待官方接口。
DSH Prompt Assembler v1.0.0
独立的 DSH 提示词装配插件,统一配置每次模型请求中的指令、上下文与历史。无需安装 Tavern 或 Memory Manager,也可通过公开来源接口接入它们及第三方插件。
- 配置模块、自定义文本、资源位置、消息角色与排序,预览装配结果。
- 保存、导入和导出策略,应用到当前会话或用策略创建新会话。
- 标准版支持可恢复的历史来源清理;可选进阶版筛选请求副本并保存装配证据,保留 DSH 原始历史。
适配 DSH 0.2.0-rc.2;Host 需要 Node ^22.19.0 || >=24。标准安装不会安装或启用 core addon。进阶版需另行安装 dsh-prompt-assembler-core 并准备协议 1 核心,标准包与 addon 均为 1.0.0。
已知限制:标准历史清理在官方轨迹中显示空上下文条目,可整轮折叠;按来源处理等待官方提供展示接口。