@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.
- package/lib/client.js +7 -1
- 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
|
-
|
|
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;
|