@falling-ts/dsh-web-ding 0.1.2 → 0.1.3
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/package.json +12 -2
- package/web/client.js +4 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@falling-ts/dsh-web-ding",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "DSH Cordis plugin: announces the moment an agent finishes (turns idle) by pushing a 'done' signal from the Host half into the falling-ts-web-ding settings namespace, which the browser client half mirrors live and answers with a synthesized 'ding' tone via the Web Audio API. The tone is played ENTIRELY by front-end JS in the browser — the Host/node backend never emits audio and no Windows/system notification is used.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -17,6 +17,15 @@
|
|
|
17
17
|
"cordis.patch.yml"
|
|
18
18
|
],
|
|
19
19
|
"license": "MIT",
|
|
20
|
+
"peerDependencies": {
|
|
21
|
+
"@deepseek-ai/cordis": "^4.0.1",
|
|
22
|
+
"@deepseek-ai/dsh-settings": "^0.1.0-rc.7 || ^0.1.1-rc.2"
|
|
23
|
+
},
|
|
24
|
+
"peerDependenciesMeta": {
|
|
25
|
+
"@deepseek-ai/dsh-settings": {
|
|
26
|
+
"optional": true
|
|
27
|
+
}
|
|
28
|
+
},
|
|
20
29
|
"publishConfig": {
|
|
21
30
|
"access": "public"
|
|
22
31
|
},
|
|
@@ -27,7 +36,8 @@
|
|
|
27
36
|
"client": {
|
|
28
37
|
"platform": "web",
|
|
29
38
|
"inject": [
|
|
30
|
-
"@deepseek-ai/dsh-client-ui-settings"
|
|
39
|
+
"@deepseek-ai/dsh-client-ui-settings",
|
|
40
|
+
"@deepseek-ai/dsh-client-store"
|
|
31
41
|
]
|
|
32
42
|
}
|
|
33
43
|
},
|
package/web/client.js
CHANGED
|
@@ -37,7 +37,10 @@ window.__ModuleLoader__.load({
|
|
|
37
37
|
const React = require("react");
|
|
38
38
|
const h = React.createElement;
|
|
39
39
|
// 基线外部(web 平台预载):把 settingsScope 镜像成 uSES 安全的 SnapshotStore。
|
|
40
|
-
|
|
40
|
+
// `createSnapshotStore` 的正确来源是 PLATFORM_MODULES seed 表内的静态包
|
|
41
|
+
// `@deepseek-ai/dsh-client-store`;`@deepseek-ai/dsh-client-runtime` 不在共享模块表
|
|
42
|
+
// 里,require 它会命中 client-modules 的 "missed the module table" 落空错误。
|
|
43
|
+
const { createSnapshotStore } = require("@deepseek-ai/dsh-client-store");
|
|
41
44
|
|
|
42
45
|
/** 宿主侧设置命名空间(settings.get 读取的键)。 */
|
|
43
46
|
const NS_SETTINGS = "falling-ts-web-ding";
|