dsh-notify-say 0.4.25 → 0.4.26
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/dev-reload.js +647 -617
- package/package.json +1 -1
- package/test/reload-verification.test.mjs +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-notify-say",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.26",
|
|
4
4
|
"description": "Desktop notifications for DSH Desktop that actually speak: Windows TTS out of the box (zero download), VOICEVOX voice packs optional, a selectable system-sound fallback, and an idle gate that waits for running subagents before saying the turn is done. Includes a settings-page GUI (sound source, per-event overrides, jump-back-to-session, cooldowns) and a self hot-reload for development.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -104,7 +104,7 @@ test('R4: enableFreshDependencies 让代际穿透到依赖(真实实现,非
|
|
|
104
104
|
// ② 用被测模块自己的实现装上穿透钩子
|
|
105
105
|
const { enableFreshDependencies } = await import('../lib/dev-reload.js');
|
|
106
106
|
const packageUrl = pathToFileURL(dir + '\\').href;
|
|
107
|
-
enableFreshDependencies(packageUrl);
|
|
107
|
+
await enableFreshDependencies(packageUrl); // 现在是异步注册(Node 20 兼容)
|
|
108
108
|
|
|
109
109
|
// ③ 导入带代际的入口,检查依赖是否也继承了代际
|
|
110
110
|
const gened = await import(entryBase + '?dns-reload=testgen-' + Date.now());
|