@jiugeqqqqq/dsh-house 0.3.7 → 0.3.9

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/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  > 每次发版都必须在这里写一条:改了什么、为什么改、别人要不要跟着动。
4
4
  > 版本号跟 `package.json` 走,`npm i` 的人看这里就知道升了什么。
5
5
 
6
+ ## 0.3.9 — 2026-10-29
7
+
8
+ - 修「import failed」启动失败:`lib/client.js` 里是 `require('react')`,但 package.json 的 `dsh.client` 没声明 `external: ["react"]`——本机碰巧能解析到,别人装就 web boot 加载失败(`@jiugeqqqqq/dsh-house: import failed`)。现在补上 external 声明(跟 dsh-fish-memory 同款写法)。
9
+
10
+ ## 0.3.8 — 2026-10-29
11
+
12
+ - 修「装了就崩」:patch 里原来还带一段 `- id: compaction-basic`(把压缩阈值 0.8 改成 0.5),那是这个插件唯一会去改宿主配置的地方。别人 DSH 没有这个服务或 id 对不上,整层 patch 就炸,表现是「打开文件夹」报 workspaceController unavailable。现在删掉了,房子插件只插自己那一行;想调压缩阈值自己写进 profile patch。
13
+
6
14
  ## 0.3.7 — 2026-10-29
7
15
 
8
16
  - 用法提示里加一句「每轮收尾、换会话之前先想一下:手上这件事做完了没有?做完了就压一行,没做完别建」——以前这条规矩写在某个桥接的收尾提醒里,不装桥接的人就没有;现在插件自带,装上就生效。
package/cordis.patch.yml CHANGED
@@ -23,9 +23,8 @@
23
23
  pendingGroup: '正在长出来的'
24
24
  rotateCooldownMs: 600000
25
25
 
26
- # 2026-10-26:装了房子就把压缩阈值调早一点。
27
- # 默认 0.8(窗口 80% 才压),这里 0.5(一半就压),让「房子当索引、旧原文丢掉」更早发生。
28
- # 被压缩的原文不会丢:session.v4.jsonl.zstd 是 append-only,页面的「搜历史」就是去那里翻。
29
- - id: compaction-basic
30
- config:
31
- thresholdRatio: 0.5
26
+ # 2026-10-29:删掉了原来这里那段 `- id: compaction-basic`(把压缩阈值 0.8 改成 0.5)。
27
+ # 别的电脑装这个插件后「打开文件夹」报 workspaceController unavailable,卸了就好;
28
+ # 而它是这个 patch 里唯一会去改宿主配置的地方 —— 人家 DSH 版本没有这个服务/或者 id 对不上,
29
+ # 整层 patch 就炸。房子插件只该插自己那一行,压缩阈值谁想调自己在 profile patch 里调。
30
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jiugeqqqqq/dsh-house",
3
- "version": "0.3.7",
3
+ "version": "0.3.9",
4
4
  "description": "房子 — 常驻的资产/能力清单,配一个侧边栏页面。清单会自动进系统提示(装了就生效);房子只记有没有、到哪一步,细节放 knowledge 和日志里。",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -21,6 +21,9 @@
21
21
  "client": {
22
22
  "platform": "web",
23
23
  "immediately": true,
24
+ "external": [
25
+ "react"
26
+ ],
24
27
  "inject": [
25
28
  "slots"
26
29
  ]