@240xu/dsh-message-ops 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -237,3 +237,9 @@ MIT
237
237
  (`> ` 前缀)插入输入框,零 DOM hack。
238
238
  - 槽按钮收敛为两个:**⏱ 回撤到此** 与 **❝ 引用**;删除/分支保留在对话框
239
239
  (官方分支按钮已覆盖最后一条消息场景)。
240
+
241
+ ### 0.5.1 · 修复 0.5.0 客户端激活失败
242
+
243
+ - 0.4.2 的 dock 重写误删了 `INPUT_DOCK_SLOT/ID` 常量声明——apply() 引用未定义
244
+ 标识符导致**整个客户端激活失败**(页面横幅 Failed to load plugins)。
245
+ 已恢复常量;新增 vm 冒烟自测路径(见 .e2e/)。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@240xu/dsh-message-ops",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "Roll back, branch, and export any DSH conversation — from the UI or straight from the agent via a message_ops tool. Non-destructive: logs stay append-only and recoverable. 消息回滚/删除/分支/导出四合一,内置 message_ops agent 工具;非破坏语义,日志只追加可恢复。",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/client.js CHANGED
@@ -22,6 +22,8 @@ window.__ModuleLoader__.load({
22
22
  const SLOT = 'conversation.session.header.actions'
23
23
  const ROW_ID = 'message-ops'
24
24
  const OVERLAY_SLOT = 'shell.overlay'
25
+ const INPUT_DOCK_SLOT = 'conversation.input.dock'
26
+ const INPUT_DOCK_ID = 'message-ops-revert-dock'
25
27
  const DIALOG_ID = 'message-ops-dialog'
26
28
  const EVENT = 'dsh-message-ops:open'
27
29
  const NS = 'dsh-message-ops'