@kira905/dsh-butler-panel 0.9.4 → 0.9.5

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.
Files changed (2) hide show
  1. package/lib/client.js +7 -1
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -15,7 +15,13 @@
15
15
  // 前缀 hack;拿不到 slots/React 时自动回落旧 self-heal 注入路径(规范 docs\侧边栏UI按钮对齐规范.md)。
16
16
  // 跳转为实验特性(主包 sessionRow 行 React onClick 模拟点击),失败降级复制会话 id。
17
17
  window.__ModuleLoader__.load({
18
- id: "dsh-butler-panel",
18
+ // 🔴【0.9.5 · 2026-11-09】这里的 id 必须是 **package.json#name**(带 scope)。
19
+ // 客户端模块表按这个 id 登记,而宿主的 boot graph 行 id 也来自包的真名 ——
20
+ // 写成不带 scope 的 "dsh-butler-panel" 会对不上行 id,宿主直接报
21
+ // `…/client.js already executed without registering "@kira905/dsh-butler-panel"`
22
+ // 然后**整个桌面版起不来**(2026-11-09 A-8 关 4 真机实测那份崩溃弹窗)。
23
+ // 同一个病根在本包一共三处:挂载条目 name、这句 id、require 适配层的名字。
24
+ id: "@kira905/dsh-butler-panel",
19
25
  factory: (require) => {
20
26
  var module = { exports: {} };
21
27
  var exports = module.exports;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kira905/dsh-butler-panel",
3
- "version": "0.9.4",
3
+ "version": "0.9.5",
4
4
  "description": "大管家的可视化面板:在 DSH 侧边栏看今天该看什么(结论 / 待处理 / 资产 / 流水 / 健康),只读为主;另带 P5 写入守门人(可挂可摘)。",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",