@linxin666/dsh-pet 0.4.13 → 0.4.15
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 +2 -2
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/lib/client.js +1 -1
- package/lib/client.js.map +1 -1
- package/lib/types/client/web-extension-page.d.ts +1 -1
- package/lib/types/client/web-extension-page.d.ts.map +1 -1
- package/package.json +27 -27
- package/src/client/web-extension-page.ts +2 -2
|
@@ -39,7 +39,7 @@ export interface WebExtensionPageSlots {
|
|
|
39
39
|
export interface WebExtensionPageContext {
|
|
40
40
|
slots: WebExtensionPageSlots;
|
|
41
41
|
get?(name: string): unknown;
|
|
42
|
-
on?(event:
|
|
42
|
+
on?(event: never, listener: never): unknown;
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
45
|
* Keep exactly one reachable page contribution while the parent loads or
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web-extension-page.d.ts","sourceRoot":"","sources":["../../../src/client/web-extension-page.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,oDAAoD;AACpD,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAA;IAC1B,YAAY,CAAC,IAAI,EAAE,oBAAoB,GAAG,MAAM,IAAI,CAAA;CACrD;AAED,0CAA0C;AAC1C,MAAM,WAAW,oBAAoB;IACnC,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,IAAI,MAAM,CAAA;IACf,MAAM,IAAI,MAAM,CAAA;IAChB,SAAS,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE;QAAE,IAAI,EAAE,OAAO,GAAG,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;CACrE;AAED,gEAAgE;AA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,KAAK,GAAG,OAAO,CAAA;IACnD,IAAI,CAAC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;IAC3B,OAAO,CAAC,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS;QAAE,SAAS,CAAC,EAAE,OAAO,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE,EAAE,CAAA;CAC5F;AAED,iDAAiD;AACjD,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,qBAAqB,CAAA;IAC5B,GAAG,CAAC,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAA;IAC3B,EAAE,CAAC,CAAC,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,GAAG,OAAO,CAAA;CAC5C;AA4BD;;;;;GAKG;AACH,wBAAgB,uBAAuB,CACrC,GAAG,EAAE,uBAAuB,EAC5B,IAAI,EAAE,oBAAoB,GACzB,MAAM,IAAI,CAwEZ"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@linxin666/dsh-pet",
|
|
3
3
|
"description": "Multi-pet companion plugin for the dsh web GUI: a registry-driven floating pet that reacts to model activity, with per-pet naming, petting/feeding interactions and an affinity score",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.15",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"type": "module",
|
|
10
10
|
"packageManager": "pnpm@11.7.0",
|
|
11
11
|
"engines": {
|
|
12
|
-
"node": "
|
|
12
|
+
"node": ">=24.9.0"
|
|
13
13
|
},
|
|
14
14
|
"scripts": {
|
|
15
15
|
"build": "tsc -b && tsdown",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"license": "Apache-2.0",
|
|
51
51
|
"dsh": {
|
|
52
52
|
"engines": {
|
|
53
|
-
"dsh": ">=0.2.
|
|
53
|
+
"dsh": ">=0.2.2-rc.1"
|
|
54
54
|
},
|
|
55
55
|
"bundle": {
|
|
56
56
|
"patch": "./cordis.patch.yml"
|
|
@@ -67,37 +67,37 @@
|
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@deepseek-ai/schemastery": "~3.
|
|
70
|
+
"@deepseek-ai/schemastery": "~3.19.0",
|
|
71
71
|
"clsx": "^2.1.1"
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
|
-
"@deepseek-ai/dsh": ">=0.2.
|
|
74
|
+
"@deepseek-ai/dsh": ">=0.2.2-rc.1",
|
|
75
75
|
"react": "^18.2.0",
|
|
76
76
|
"react-dom": "^18.2.0"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
|
-
"@deepseek-ai/cordis": "~4.0
|
|
80
|
-
"@deepseek-ai/dsh-agent": "^0.2.
|
|
81
|
-
"@deepseek-ai/dsh-api-remotes": "^0.2.
|
|
82
|
-
"@deepseek-ai/dsh-api-session-controller": "^0.2.
|
|
83
|
-
"@deepseek-ai/dsh-api-workspace-controller": "^0.2.
|
|
84
|
-
"@deepseek-ai/dsh-client-locale": "^0.2.
|
|
85
|
-
"@deepseek-ai/dsh-client-store": "^0.2.
|
|
86
|
-
"@deepseek-ai/dsh-client-ui-conversation": "^0.2.
|
|
87
|
-
"@deepseek-ai/dsh-client-ui-renderer": "^0.2.
|
|
88
|
-
"@deepseek-ai/dsh-client-ui-settings": "^0.2.
|
|
89
|
-
"@deepseek-ai/dsh-client-ui-slots": "^0.2.
|
|
90
|
-
"@deepseek-ai/dsh-client-ui-workspace": "^0.2.
|
|
91
|
-
"@deepseek-ai/dsh-host-webserver": "^0.2.
|
|
92
|
-
"@deepseek-ai/dsh-llm": "^0.2.
|
|
93
|
-
"@deepseek-ai/dsh-scope": "^0.2.
|
|
94
|
-
"@deepseek-ai/dsh-session": "^0.2.
|
|
95
|
-
"@deepseek-ai/dsh-settings": "^0.2.
|
|
96
|
-
"@deepseek-ai/dsh-subagent": "^0.2.
|
|
97
|
-
"@deepseek-ai/dsh-timeout": "^0.2.
|
|
98
|
-
"@deepseek-ai/dsh-tools": "^0.2.
|
|
99
|
-
"@deepseek-ai/dsh-util-time": "^0.2.
|
|
100
|
-
"@deepseek-ai/dsh-util-values": "^0.2.
|
|
79
|
+
"@deepseek-ai/cordis": "~4.1.0",
|
|
80
|
+
"@deepseek-ai/dsh-agent": "^0.2.2-rc.1",
|
|
81
|
+
"@deepseek-ai/dsh-api-remotes": "^0.2.2-rc.1",
|
|
82
|
+
"@deepseek-ai/dsh-api-session-controller": "^0.2.2-rc.1",
|
|
83
|
+
"@deepseek-ai/dsh-api-workspace-controller": "^0.2.2-rc.1",
|
|
84
|
+
"@deepseek-ai/dsh-client-locale": "^0.2.2-rc.1",
|
|
85
|
+
"@deepseek-ai/dsh-client-store": "^0.2.2-rc.1",
|
|
86
|
+
"@deepseek-ai/dsh-client-ui-conversation": "^0.2.2-rc.1",
|
|
87
|
+
"@deepseek-ai/dsh-client-ui-renderer": "^0.2.2-rc.1",
|
|
88
|
+
"@deepseek-ai/dsh-client-ui-settings": "^0.2.2-rc.1",
|
|
89
|
+
"@deepseek-ai/dsh-client-ui-slots": "^0.2.2-rc.1",
|
|
90
|
+
"@deepseek-ai/dsh-client-ui-workspace": "^0.2.2-rc.1",
|
|
91
|
+
"@deepseek-ai/dsh-host-webserver": "^0.2.2-rc.1",
|
|
92
|
+
"@deepseek-ai/dsh-llm": "^0.2.2-rc.1",
|
|
93
|
+
"@deepseek-ai/dsh-scope": "^0.2.2-rc.1",
|
|
94
|
+
"@deepseek-ai/dsh-session": "^0.2.2-rc.1",
|
|
95
|
+
"@deepseek-ai/dsh-settings": "^0.2.2-rc.1",
|
|
96
|
+
"@deepseek-ai/dsh-subagent": "^0.2.2-rc.1",
|
|
97
|
+
"@deepseek-ai/dsh-timeout": "^0.2.2-rc.1",
|
|
98
|
+
"@deepseek-ai/dsh-tools": "^0.2.2-rc.1",
|
|
99
|
+
"@deepseek-ai/dsh-util-time": "^0.2.2-rc.1",
|
|
100
|
+
"@deepseek-ai/dsh-util-values": "^0.2.2-rc.1",
|
|
101
101
|
"@testing-library/dom": "^10.4.1",
|
|
102
102
|
"@testing-library/react": "^16.3.2",
|
|
103
103
|
"@types/node": "^22.20.0",
|
|
@@ -37,7 +37,7 @@ export interface WebExtensionPageSlots {
|
|
|
37
37
|
export interface WebExtensionPageContext {
|
|
38
38
|
slots: WebExtensionPageSlots
|
|
39
39
|
get?(name: string): unknown
|
|
40
|
-
on?(event:
|
|
40
|
+
on?(event: never, listener: never): unknown
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
const SETTINGS_SECTION = 'settings.section'
|
|
@@ -137,7 +137,7 @@ export function installWebExtensionPage(
|
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
if (typeof ctx.on === 'function') {
|
|
140
|
-
try { ctx.on('slots/changed', reconcile) } catch { /* the initial entry remains usable */ }
|
|
140
|
+
try { ctx.on('slots/changed' as never, reconcile as never) } catch { /* the initial entry remains usable */ }
|
|
141
141
|
}
|
|
142
142
|
reconcile()
|
|
143
143
|
return () => {
|