@xapp/stentor-chat-widget 1.102.0 → 1.103.1
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/WidgetEnv.d.ts +9 -0
- package/package.json +4 -4
package/lib/WidgetEnv.d.ts
CHANGED
|
@@ -335,6 +335,15 @@ export interface WidgetEnv extends WidgetEnvDeprecated {
|
|
|
335
335
|
* @default false
|
|
336
336
|
*/
|
|
337
337
|
readonly agentNotice?: boolean;
|
|
338
|
+
/**
|
|
339
|
+
* Register the tenant's public MCP tools (business info, knowledge search, request a
|
|
340
|
+
* callback) as WebMCP "site tools" on the host page, for the AI agent in the visitor's own
|
|
341
|
+
* browser (ChatGPT's browser, Chrome's origin trial). Each call goes to the same
|
|
342
|
+
* `{agentMcpHost}/{appId}/mcp` server the discovery tags advertise. Opt-in: set true to
|
|
343
|
+
* turn it on; a browser without WebMCP ignores it.
|
|
344
|
+
* @default false
|
|
345
|
+
*/
|
|
346
|
+
readonly webmcp?: boolean;
|
|
338
347
|
}
|
|
339
348
|
export interface WidgetAutoOpenOnPattern {
|
|
340
349
|
readonly patterns?: string[];
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.
|
|
7
|
+
"version": "1.103.1",
|
|
8
8
|
"description": "Chat Widget channel for stentor",
|
|
9
9
|
"types": "lib/index",
|
|
10
10
|
"main": "lib/index",
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
"mocha": "9.2.2",
|
|
27
27
|
"sinon": "13.0.2",
|
|
28
28
|
"sinon-chai": "3.7.0",
|
|
29
|
-
"stentor-models": "1.
|
|
30
|
-
"ts-jest": "29.4.
|
|
29
|
+
"stentor-models": "1.82.0",
|
|
30
|
+
"ts-jest": "29.4.15",
|
|
31
31
|
"ts-node": "10.9.2",
|
|
32
32
|
"typescript": "5.9.3"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"stentor-guards": "1.74.
|
|
35
|
+
"stentor-guards": "1.74.8"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"react": "^18.0.0 || ^19.0.0",
|