@deepseek-ai/dsh-hmr 0.2.0-rc.1 → 0.2.0-rc.2

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.i18n.yaml CHANGED
@@ -39,8 +39,8 @@
39
39
  en: 89e0624fafd701fb
40
40
  zh: 19d36a33c1d9af9d
41
41
  /deepseek-ai-dsh-hmr/known-limitations-and-deferred-work:
42
- en: 75e861bd7c91e37b
43
- zh: d209c33dd5b16182
42
+ en: 379bc2c72fd9e53e
43
+ zh: 1fff1e0e676bb161
44
44
  /deepseek-ai-dsh-hmr/known-limitations-and-deferred-work/dev-note:
45
45
  en: 7972e4b2005ec9a4
46
46
  zh: 754c49ec538c164c
package/README.md CHANGED
@@ -87,6 +87,7 @@ Reloading a contributing plugin can change later request prefixes; HMR does not
87
87
 
88
88
  - Module replacement requires Node loader internals. Framework dependency changes call the host-provided `loader.exit()` hook; HMR itself does not restart the process.
89
89
  - Replacing installed package versions still requires a restart through Plugin Manager. The browser Client module graph retains its separate browser-side loading mechanism.
90
+ - `watchConfig()` resolves when Chokidar reports readiness. On darwin, libuv starts the FSEvents stream afterwards on its own thread, so a write that lands within milliseconds of registration is not reported until the next event in that directory; edits made after startup are unaffected.
90
91
 
91
92
  ### Dev Note
92
93
 
package/README.zh.md CHANGED
@@ -87,6 +87,7 @@ App-boot 负责 profile 解析和 patch 优先级规则。HMR 读取启动器提
87
87
 
88
88
  - 模块替换需要 Node loader 内部接口。框架依赖变化调用宿主提供的 `loader.exit()` 钩子;HMR 本身不重启进程。
89
89
  - 通过插件管理器替换已安装包版本仍需要重启。浏览器 Client 模块图保留独立的浏览器侧加载机制。
90
+ - `watchConfig()` 在 Chokidar 报告就绪时 resolve。darwin 上 libuv 随后才在自己的线程启动 FSEvents 流,因此注册后数毫秒内落地的写入要等到该目录的下一个事件才会被报告;启动之后的编辑不受影响。
90
91
 
91
92
  ### 开发备注
92
93
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-hmr",
3
3
  "description": "Coordinated module and profile configuration hot reload",
4
- "version": "0.2.0-rc.1",
4
+ "version": "0.2.0-rc.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -28,12 +28,12 @@
28
28
  "author": "Shigma <shigma10826@gmail.com>",
29
29
  "license": "MIT",
30
30
  "peerDependencies": {
31
+ "@deepseek-ai/cordis-plugin-timer": "~1.1.6",
32
+ "@deepseek-ai/cordis": "~4.0.4",
31
33
  "@deepseek-ai/cordis-plugin-loader": "~1.0.5",
32
34
  "@deepseek-ai/cordis-plugin-include": "~1.0.9",
33
- "@deepseek-ai/dsh-app-boot": "0.2.0-rc.1",
34
- "@deepseek-ai/dsh-cmdline": "0.2.0-rc.1",
35
- "@deepseek-ai/cordis-plugin-timer": "~1.1.6",
36
- "@deepseek-ai/cordis": "~4.0.4"
35
+ "@deepseek-ai/dsh-app-boot": "0.2.0-rc.2",
36
+ "@deepseek-ai/dsh-cmdline": "0.2.0-rc.2"
37
37
  },
38
38
  "dependencies": {
39
39
  "@babel/code-frame": "^7.29.0",
@@ -45,12 +45,12 @@
45
45
  "@types/babel__code-frame": "^7.27.0",
46
46
  "@types/picomatch": "^3.0.2",
47
47
  "esbuild": "^0.28.1",
48
- "@deepseek-ai/cordis-plugin-timer": "~1.1.6",
49
48
  "@deepseek-ai/cordis": "~4.0.4",
50
49
  "@deepseek-ai/cordis-plugin-loader": "~1.0.5",
51
50
  "@deepseek-ai/cordis-plugin-include": "~1.0.9",
52
- "@deepseek-ai/dsh-app-boot": "0.2.0-rc.1",
53
- "@deepseek-ai/dsh-atomic-write": "0.2.0-rc.1",
54
- "@deepseek-ai/dsh-cmdline": "0.2.0-rc.1"
51
+ "@deepseek-ai/dsh-app-boot": "0.2.0-rc.2",
52
+ "@deepseek-ai/cordis-plugin-timer": "~1.1.6",
53
+ "@deepseek-ai/dsh-atomic-write": "0.2.0-rc.2",
54
+ "@deepseek-ai/dsh-cmdline": "0.2.0-rc.2"
55
55
  }
56
56
  }