@salesforce/sdk-chat 1.85.0 → 1.87.0
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/dist/index.js +99 -79
- package/dist/mcpapps.d.ts +3 -1
- package/dist/mcpapps.d.ts.map +1 -1
- package/dist/openai.d.ts +1 -0
- package/dist/openai.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
import { getSurface as l, Surface as
|
|
2
|
-
class
|
|
3
|
-
constructor(
|
|
4
|
-
this.session =
|
|
1
|
+
import { getSurface as l, Surface as n, McpAppsSession as u } from "@salesforce/sdk-core";
|
|
2
|
+
class c {
|
|
3
|
+
constructor(t) {
|
|
4
|
+
this.session = t;
|
|
5
|
+
const e = t.getHostContext();
|
|
6
|
+
e.toolOutput !== void 0 && (this.globals.toolOutput = e.toolOutput), e.toolStructuredContent !== void 0 && (this.globals.toolStructuredContent = e.toolStructuredContent), e.toolInput !== void 0 && (this.globals.toolInput = e.toolInput), e.toolResponseMetadata !== void 0 && (this.globals.toolResponseMetadata = e.toolResponseMetadata), e.widgetState !== void 0 && (this.globals.widgetState = e.widgetState), t.registerNotificationHandler(
|
|
5
7
|
"ui/notifications/host-context-changed",
|
|
6
8
|
() => this.notifySubscribers()
|
|
7
|
-
),
|
|
9
|
+
), t.registerNotificationHandler(
|
|
8
10
|
"ui/notifications/tool-result",
|
|
9
|
-
(
|
|
10
|
-
),
|
|
11
|
+
(o) => this.handleToolResult(o)
|
|
12
|
+
), t.registerNotificationHandler(
|
|
11
13
|
"ui/notifications/tool-input",
|
|
12
|
-
(
|
|
13
|
-
),
|
|
14
|
+
(o) => this.handleToolInput(o)
|
|
15
|
+
), t.registerNotificationHandler(
|
|
14
16
|
"ui/notifications/tool-cancelled",
|
|
15
|
-
(
|
|
17
|
+
(o) => this.handleToolCancelled(o)
|
|
16
18
|
);
|
|
17
19
|
}
|
|
18
20
|
globals = {};
|
|
@@ -22,72 +24,86 @@ class u {
|
|
|
22
24
|
* Handle tool result notifications from the host
|
|
23
25
|
* @param params - Tool result data from the host
|
|
24
26
|
*/
|
|
25
|
-
handleToolResult(
|
|
26
|
-
const
|
|
27
|
-
|
|
27
|
+
handleToolResult(t) {
|
|
28
|
+
const e = t;
|
|
29
|
+
let o = !1;
|
|
30
|
+
e.content !== void 0 && (this.globals.toolOutput = e.content, o = !0), e.structuredContent !== void 0 && (this.globals.toolStructuredContent = e.structuredContent, o = !0), e._meta !== void 0 && (this.globals.toolResponseMetadata = e._meta, o = !0), o && this.notifySubscribers();
|
|
28
31
|
}
|
|
29
32
|
/**
|
|
30
33
|
* Handle tool input notifications from the host
|
|
31
34
|
* @param params - Tool input data from the host
|
|
32
35
|
*/
|
|
33
|
-
handleToolInput(
|
|
34
|
-
const
|
|
35
|
-
|
|
36
|
+
handleToolInput(t) {
|
|
37
|
+
const e = t;
|
|
38
|
+
e.arguments !== void 0 && Object.keys(e.arguments).length > 0 && (this.globals.toolInput = e.arguments, this.notifySubscribers());
|
|
36
39
|
}
|
|
37
40
|
/**
|
|
38
41
|
* Handle tool cancelled notifications from the host
|
|
39
42
|
* @param params - Tool cancellation data from the host
|
|
40
43
|
*/
|
|
41
|
-
handleToolCancelled(
|
|
42
|
-
const
|
|
43
|
-
this.canceledCallbacks.forEach((r) => r(
|
|
44
|
+
handleToolCancelled(t) {
|
|
45
|
+
const o = t.reason ?? "";
|
|
46
|
+
this.canceledCallbacks.forEach((r) => r(o));
|
|
44
47
|
}
|
|
45
48
|
/**
|
|
46
49
|
* Request display mode change from host
|
|
47
50
|
* @param mode - The requested display mode
|
|
48
51
|
* @returns Promise with the new display mode (confirmed by host)
|
|
49
52
|
*/
|
|
50
|
-
async setDisplayMode(
|
|
53
|
+
async setDisplayMode(t) {
|
|
51
54
|
return await this.session.request("ui/request-display-mode", {
|
|
52
|
-
displayMode:
|
|
55
|
+
displayMode: t
|
|
53
56
|
});
|
|
54
57
|
}
|
|
55
|
-
async sendMessageToHost(
|
|
58
|
+
async sendMessageToHost(t) {
|
|
56
59
|
await this.session.request("ui/message", {
|
|
57
60
|
role: "user",
|
|
58
61
|
content: [
|
|
59
62
|
{
|
|
60
63
|
type: "text",
|
|
61
|
-
text:
|
|
64
|
+
text: t.content
|
|
62
65
|
}
|
|
63
66
|
]
|
|
64
67
|
});
|
|
65
68
|
}
|
|
66
|
-
async callTool(
|
|
69
|
+
async callTool(t) {
|
|
67
70
|
return await this.session.request("tools/call", {
|
|
68
|
-
name:
|
|
69
|
-
arguments:
|
|
71
|
+
name: t.toolName,
|
|
72
|
+
arguments: t.params ?? {}
|
|
70
73
|
});
|
|
71
74
|
}
|
|
72
|
-
async readResource(
|
|
75
|
+
async readResource(t) {
|
|
73
76
|
return await this.session.request("resources/read", {
|
|
74
|
-
uri:
|
|
77
|
+
uri: t.uri
|
|
75
78
|
});
|
|
76
79
|
}
|
|
77
|
-
async openLink(
|
|
78
|
-
await this.session.request("ui/open-link", { url:
|
|
80
|
+
async openLink(t) {
|
|
81
|
+
await this.session.request("ui/open-link", { url: t });
|
|
79
82
|
}
|
|
80
83
|
accessToolInput() {
|
|
81
|
-
const
|
|
82
|
-
return
|
|
84
|
+
const t = this.globals.toolInput;
|
|
85
|
+
return t ? { data: t } : null;
|
|
83
86
|
}
|
|
84
87
|
accessToolOutput() {
|
|
88
|
+
const t = this.globals.toolStructuredContent;
|
|
89
|
+
if (t)
|
|
90
|
+
return { data: t };
|
|
85
91
|
const e = this.globals.toolOutput;
|
|
86
92
|
return e ? { data: e } : null;
|
|
87
93
|
}
|
|
88
94
|
accessToolMetadata() {
|
|
89
|
-
|
|
90
|
-
|
|
95
|
+
if (this.globals.toolResponseMetadata)
|
|
96
|
+
return this.globals.toolResponseMetadata;
|
|
97
|
+
const t = this.session.getHostContext().toolInfo;
|
|
98
|
+
return t || null;
|
|
99
|
+
}
|
|
100
|
+
getWidgetState() {
|
|
101
|
+
const t = this.globals.widgetState;
|
|
102
|
+
return t || null;
|
|
103
|
+
}
|
|
104
|
+
setWidgetState(t) {
|
|
105
|
+
this.globals.widgetState = t, this.session.request("ui/update-model-context", { state: t }).catch(() => {
|
|
106
|
+
}), this.notifySubscribers();
|
|
91
107
|
}
|
|
92
108
|
/**
|
|
93
109
|
* Get the current host context.
|
|
@@ -96,67 +112,71 @@ class u {
|
|
|
96
112
|
* Always returns an object (empty `{}` when no context has been received).
|
|
97
113
|
*/
|
|
98
114
|
getHostContext() {
|
|
99
|
-
const
|
|
100
|
-
if (
|
|
101
|
-
const
|
|
102
|
-
|
|
115
|
+
const t = this.session.getHostContext(), e = {};
|
|
116
|
+
if (t.theme !== void 0 && (e.theme = t.theme), t.displayMode !== void 0 && (e.displayMode = t.displayMode), t.containerDimensions !== void 0) {
|
|
117
|
+
const o = t.containerDimensions.maxHeight ?? t.containerDimensions.height;
|
|
118
|
+
o !== void 0 && (e.maxHeight = o);
|
|
103
119
|
}
|
|
104
|
-
return
|
|
120
|
+
return t.safeAreaInsets !== void 0 && (e.safeArea = t.safeAreaInsets), t.userAgent !== void 0 && (e.userAgent = t.userAgent), t.locale !== void 0 && (e.locale = t.locale), t.deviceCapabilities !== void 0 && (e.deviceCapabilities = t.deviceCapabilities), e;
|
|
105
121
|
}
|
|
106
|
-
onToolCanceled(
|
|
107
|
-
return this.canceledCallbacks.add(
|
|
108
|
-
this.canceledCallbacks.delete(
|
|
122
|
+
onToolCanceled(t) {
|
|
123
|
+
return this.canceledCallbacks.add(t), () => {
|
|
124
|
+
this.canceledCallbacks.delete(t);
|
|
109
125
|
};
|
|
110
126
|
}
|
|
111
|
-
subscribe(
|
|
112
|
-
return this.subscriptions.add(
|
|
113
|
-
this.subscriptions.delete(
|
|
127
|
+
subscribe(t) {
|
|
128
|
+
return this.subscriptions.add(t), () => {
|
|
129
|
+
this.subscriptions.delete(t);
|
|
114
130
|
};
|
|
115
131
|
}
|
|
116
132
|
notifySubscribers() {
|
|
117
|
-
this.subscriptions.forEach((
|
|
133
|
+
this.subscriptions.forEach((t) => t());
|
|
118
134
|
}
|
|
119
135
|
}
|
|
120
|
-
const
|
|
121
|
-
class
|
|
122
|
-
sendMessageToHost(
|
|
123
|
-
return window.openai.sendFollowUpMessage({ prompt:
|
|
136
|
+
const a = "openai:set_globals";
|
|
137
|
+
class i {
|
|
138
|
+
sendMessageToHost(t) {
|
|
139
|
+
return window.openai.sendFollowUpMessage({ prompt: t.content });
|
|
124
140
|
}
|
|
125
|
-
callTool(
|
|
126
|
-
return window.openai.callTool(
|
|
141
|
+
callTool(t) {
|
|
142
|
+
return window.openai.callTool(t.toolName, t.params ?? {});
|
|
127
143
|
}
|
|
128
144
|
accessToolInput() {
|
|
129
|
-
const
|
|
130
|
-
return
|
|
145
|
+
const t = window.openai.toolInput;
|
|
146
|
+
return t ? { data: t } : null;
|
|
131
147
|
}
|
|
132
148
|
accessToolOutput() {
|
|
133
|
-
const
|
|
134
|
-
return
|
|
149
|
+
const t = window.openai.toolOutput;
|
|
150
|
+
return t ? { data: t } : null;
|
|
135
151
|
}
|
|
136
152
|
accessToolMetadata() {
|
|
137
|
-
const
|
|
138
|
-
return
|
|
153
|
+
const t = window.openai.toolResponseMetadata;
|
|
154
|
+
return t || null;
|
|
139
155
|
}
|
|
140
156
|
getWidgetState() {
|
|
141
|
-
const
|
|
142
|
-
return
|
|
157
|
+
const t = window.openai.widgetState;
|
|
158
|
+
return t || null;
|
|
159
|
+
}
|
|
160
|
+
setWidgetState(t) {
|
|
161
|
+
window.openai.setWidgetState(t);
|
|
143
162
|
}
|
|
144
|
-
|
|
145
|
-
window.openai
|
|
163
|
+
async openLink(t) {
|
|
164
|
+
const e = window.openai;
|
|
165
|
+
typeof e?.openExternal == "function" ? await e.openExternal({ href: t }) : window.open(t, "_blank", "noopener,noreferrer");
|
|
146
166
|
}
|
|
147
|
-
async setDisplayMode(
|
|
148
|
-
return window.openai.requestDisplayMode({ mode:
|
|
167
|
+
async setDisplayMode(t) {
|
|
168
|
+
return window.openai.requestDisplayMode({ mode: t });
|
|
149
169
|
}
|
|
150
|
-
subscribe(
|
|
151
|
-
const
|
|
152
|
-
return window.addEventListener(
|
|
153
|
-
window.removeEventListener(
|
|
170
|
+
subscribe(t) {
|
|
171
|
+
const e = () => t();
|
|
172
|
+
return window.addEventListener(a, e), () => {
|
|
173
|
+
window.removeEventListener(a, e);
|
|
154
174
|
};
|
|
155
175
|
}
|
|
156
176
|
}
|
|
157
177
|
class d {
|
|
158
|
-
async sendMessageToHost(
|
|
159
|
-
throw console.warn("SalesforceACCChatSDK.sendMessageToHost: stub implementation",
|
|
178
|
+
async sendMessageToHost(t) {
|
|
179
|
+
throw console.warn("SalesforceACCChatSDK.sendMessageToHost: stub implementation", t), new Error("SalesforceACCChatSDK.sendMessageToHost not yet implemented");
|
|
160
180
|
}
|
|
161
181
|
followUpActions() {
|
|
162
182
|
return console.warn("SalesforceACCChatSDK.followUpActions: stub implementation"), [];
|
|
@@ -164,22 +184,22 @@ class d {
|
|
|
164
184
|
}
|
|
165
185
|
async function h(s) {
|
|
166
186
|
switch (l(s?.surface)) {
|
|
167
|
-
case
|
|
168
|
-
return new
|
|
169
|
-
case
|
|
170
|
-
case
|
|
187
|
+
case n.OpenAI:
|
|
188
|
+
return new i();
|
|
189
|
+
case n.WebApp:
|
|
190
|
+
case n.MicroFrontend:
|
|
171
191
|
return {};
|
|
172
|
-
case
|
|
192
|
+
case n.SalesforceACC:
|
|
173
193
|
return new d();
|
|
174
|
-
case
|
|
175
|
-
const
|
|
176
|
-
return
|
|
194
|
+
case n.MCPApps: {
|
|
195
|
+
const e = await u.getInstance(s?.mcpApps);
|
|
196
|
+
return e.handshakeSucceeded ? new c(e) : window.openai ? new i() : {};
|
|
177
197
|
}
|
|
178
198
|
default:
|
|
179
199
|
return {};
|
|
180
200
|
}
|
|
181
201
|
}
|
|
182
202
|
export {
|
|
183
|
-
|
|
203
|
+
c as MCPAppsChatSDK,
|
|
184
204
|
h as createChatSDK
|
|
185
205
|
};
|
package/dist/mcpapps.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { ChatSDK, HostContext, ChatMessage, ResourceRequest, ToolCall, ToolState
|
|
|
3
3
|
* Chat SDK implementation for MCP Apps surface using the shared McpAppsSession.
|
|
4
4
|
*
|
|
5
5
|
* Supports: sendMessageToHost, callTool, readResource, openLink, accessToolInput, accessToolOutput,
|
|
6
|
-
* accessToolMetadata, onToolCanceled, subscribe
|
|
6
|
+
* accessToolMetadata, getWidgetState, setWidgetState, onToolCanceled, subscribe
|
|
7
7
|
*
|
|
8
8
|
* Uses a shared {@link McpAppsSession} for JSON-RPC 2.0 transport instead of
|
|
9
9
|
* owning its own postMessage listener, avoiding duplicate listeners and ID
|
|
@@ -45,6 +45,8 @@ export declare class MCPAppsChatSDK implements ChatSDK {
|
|
|
45
45
|
accessToolInput<T>(): ToolState<T> | null;
|
|
46
46
|
accessToolOutput<T>(): ToolState<T> | null;
|
|
47
47
|
accessToolMetadata<T>(): T | null;
|
|
48
|
+
getWidgetState<T>(): T | null;
|
|
49
|
+
setWidgetState<T>(state: T): void;
|
|
48
50
|
/**
|
|
49
51
|
* Get the current host context.
|
|
50
52
|
*
|
package/dist/mcpapps.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mcpapps.d.ts","sourceRoot":"","sources":["../src/mcpapps.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EACX,OAAO,EACP,WAAW,EACX,WAAW,EACX,eAAe,EACf,QAAQ,EACR,SAAS,EACT,WAAW,EACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D;;;;;;;;;GASG;AACH,qBAAa,cAAe,YAAW,OAAO;
|
|
1
|
+
{"version":3,"file":"mcpapps.d.ts","sourceRoot":"","sources":["../src/mcpapps.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EACX,OAAO,EACP,W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,CAAC,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,GAAG,MAAM,IAAI;IAS9D,SAAS,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,MAAM,IAAI;IAQ3C,OAAO,CAAC,iBAAiB;CAGzB"}
|
package/dist/openai.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ export declare class OpenAIChatSDK implements ChatSDK {
|
|
|
16
16
|
accessToolMetadata<T>(): T | null;
|
|
17
17
|
getWidgetState<T>(): T | null;
|
|
18
18
|
setWidgetState<T>(state: T): void;
|
|
19
|
+
openLink(url: string): Promise<void>;
|
|
19
20
|
setDisplayMode(mode: DisplayMode): Promise<{
|
|
20
21
|
mode: DisplayMode;
|
|
21
22
|
}>;
|
package/dist/openai.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openai.d.ts","sourceRoot":"","sources":["../src/openai.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEnG;;GAEG;AACH,eAAO,MAAM,sBAAsB,uBAAuB,CAAC;AAE3D;;;;GAIG;AACH,qBAAa,aAAc,YAAW,OAAO;IAC5C,iBAAiB,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IAItD,QAAQ,CAAC,CAAC,EAAE,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,CAAC,CAAC;IAI3C,eAAe,CAAC,CAAC,KAAK,SAAS,CAAC,CAAC,CAAC,GAAG,IAAI;IAMzC,gBAAgB,CAAC,CAAC,KAAK,SAAS,CAAC,CAAC,CAAC,GAAG,IAAI;IAM1C,kBAAkB,CAAC,CAAC,KAAK,CAAC,GAAG,IAAI;IAMjC,cAAc,CAAC,CAAC,KAAK,CAAC,GAAG,IAAI;IAM7B,cAAc,CAAC,CAAC,EAAE,KA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
|
{
|
|
2
2
|
"name": "@salesforce/sdk-chat",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.87.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"test:coverage": "vitest run --coverage"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@salesforce/sdk-core": "^1.
|
|
29
|
+
"@salesforce/sdk-core": "^1.87.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"vite": "^7.3.1",
|