@jiugeqqqqq/dsh-house 0.4.2 → 0.4.4

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/CHANGELOG.md +8 -0
  2. package/package.json +2 -3
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  > 每次发版都必须在这里写一条:改了什么、为什么改、别人要不要跟着动。
4
4
  > 版本号跟 `package.json` 走,`npm i` 的人看这里就知道升了什么。
5
5
 
6
+ ## 0.4.4 — 2026-10-30
7
+
8
+ - 找到真正的原因:**0.2.2 的 `dsh.client.inject` 写的是完整服务名 `@deepseek-ai/dsh-client-ui-slots`,0.3.0 起改成了短名 `slots`**。对方 DSH 版本不认短名,客户端入口解析失败 → `web boot: 1 entry did not activate / import failed`。0.2.2 能跑、0.3.x 全崩,就差这一个字段。0.4.4 改回完整名(本机新版本也认)。
9
+
10
+ ## 0.4.3 — 2026-10-30
11
+
12
+ - 去掉 `dsh.client.immediately: true`。跟 dsh-affection 逐行对比后,客户端入口里唯一的结构性差异就是这个:它让 house 的客户端在 web boot 最早期就加载,那时 `require('react')` 还没就绪,直接 `import failed`(别人机器上必崩,本机碰巧顺序不同才活)。affection 没有这个字段,所以从不崩。
13
+
6
14
  ## 0.4.2 — 2026-10-30
7
15
 
8
16
  - 0.4.1 也错:patch 只留注释(不 insert)同样导致宿主不加载插件。实测结论是**这段 insert 是插件被加载的唯一入口**,不能拿掉。0.4.2 恢复原来的 insert;重复注册的问题改从安装层面解(别让同一个包同时出现在 bundles 和自带 patch 两条路径里)。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jiugeqqqqq/dsh-house",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
4
4
  "description": "房子 — 常驻的资产/能力清单,配一个侧边栏页面。清单会自动进系统提示(装了就生效);房子只记有没有、到哪一步,细节放 knowledge 和日志里。",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -20,12 +20,11 @@
20
20
  },
21
21
  "client": {
22
22
  "platform": "web",
23
- "immediately": true,
24
23
  "external": [
25
24
  "react"
26
25
  ],
27
26
  "inject": [
28
- "slots"
27
+ "@deepseek-ai/dsh-client-ui-slots"
29
28
  ]
30
29
  },
31
30
  "manifestVersion": 1