@copilotkit/vue 2.0.0-rc.8 → 2.0.0-rc.9
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/hooks/use-copilot-action.d.ts.map +1 -1
- package/dist/hooks/use-frontend-tool.d.ts +1 -1
- package/dist/hooks/use-frontend-tool.d.ts.map +1 -1
- package/dist/hooks/zod-parameters.d.ts +14 -0
- package/dist/hooks/zod-parameters.d.ts.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +392 -290
- package/dist/index.mjs.map +1 -1
- package/dist/use-render-activity-message-B59A4R48.js +18097 -0
- package/dist/use-render-activity-message-B59A4R48.js.map +1 -0
- package/dist/use-render-activity-message-u0OVXjd8.cjs +92 -0
- package/dist/use-render-activity-message-u0OVXjd8.cjs.map +1 -0
- package/dist/v2/components/OpenGenerativeUIRenderer.d.ts +13 -45
- package/dist/v2/components/OpenGenerativeUIRenderer.d.ts.map +1 -1
- package/dist/v2/components/a2ui/A2UICatalogContext.d.ts +1 -1
- package/dist/v2/components/a2ui/A2UICatalogContext.d.ts.map +1 -1
- package/dist/v2/components/a2ui/A2UIRecoveryStates.d.ts +13 -5
- package/dist/v2/components/a2ui/A2UIRecoveryStates.d.ts.map +1 -1
- package/dist/v2/components/a2ui.d.ts +3 -7
- package/dist/v2/components/a2ui.d.ts.map +1 -1
- package/dist/v2/index.cjs +1 -1
- package/dist/v2/index.mjs +173 -173
- package/dist/v2/lib/processPartialHtml.d.ts +1 -2
- package/dist/v2/lib/processPartialHtml.d.ts.map +1 -1
- package/dist/v2/providers/CopilotKitProvider.vue.d.ts +1 -1
- package/dist/v2/providers/CopilotKitProvider.vue.d.ts.map +1 -1
- package/package.json +10 -10
- package/src/hooks/__tests__/zod-parameters.test.ts +520 -0
- package/src/hooks/use-copilot-action.ts +2 -1
- package/src/hooks/use-frontend-tool.ts +3 -6
- package/src/hooks/zod-parameters.ts +162 -0
- package/src/v2/components/A2UIMessageRenderer.ts +3 -3
- package/src/v2/components/OpenGenerativeUIRenderer.ts +51 -373
- package/src/v2/components/__tests__/A2UICatalogContext.test.ts +1 -1
- package/src/v2/components/__tests__/OpenGenerativeUIRenderer.test.ts +55 -6
- package/src/v2/components/a2ui/A2UIBuiltInToolCallRenderer.ts +1 -1
- package/src/v2/components/a2ui/A2UICatalogContext.ts +10 -102
- package/src/v2/components/a2ui/A2UIRecoveryStates.ts +1 -1
- package/src/v2/components/a2ui.ts +1 -1
- package/src/v2/components/chat/__tests__/CopilotChatActivityRendering.e2e.test.ts +26 -9
- package/src/v2/hooks/__tests__/zod-regression.test.ts +1 -1
- package/src/v2/lib/processPartialHtml.ts +6 -21
- package/src/v2/providers/CopilotKitProvider.vue +26 -34
- package/src/v2/providers/__tests__/CopilotKitProvider.a2ui.test.ts +1 -1
- package/vite.config.ts +2 -2
- package/dist/use-render-activity-message-C5LCG9a9.js +0 -16451
- package/dist/use-render-activity-message-C5LCG9a9.js.map +0 -1
- package/dist/use-render-activity-message-CPzguixR.cjs +0 -74
- package/dist/use-render-activity-message-CPzguixR.cjs.map +0 -1
- package/src/v2/lib/__tests__/processPartialHtml.test.ts +0 -84
package/dist/index.mjs
CHANGED
|
@@ -1,161 +1,263 @@
|
|
|
1
1
|
export * from "@copilotkit/core";
|
|
2
|
-
import { CopilotChatDefaultLabels as
|
|
2
|
+
import { CopilotChatDefaultLabels as G, ɵextractCompleteStyles as N, ɵprocessPartialHtml as W } from "@copilotkit/core";
|
|
3
3
|
export * from "@ag-ui/client";
|
|
4
|
-
import { PROTOCOL_VERSION as
|
|
5
|
-
import {
|
|
6
|
-
import { A as
|
|
7
|
-
import { ref as
|
|
8
|
-
import { MCPAppsActivityContentSchema as
|
|
9
|
-
import {
|
|
10
|
-
import { createLicenseContextValue as
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
4
|
+
import { PROTOCOL_VERSION as Y } from "@ag-ui/client";
|
|
5
|
+
import { bK as g, bD as A, bC as f, bA as I, J as R } from "./use-render-activity-message-B59A4R48.js";
|
|
6
|
+
import { A as q, _ as j, a as ee, b as ae, c as te, d as ne, e as se, f as oe, g as re, h as ie, i as le, i as ce, i as pe, B as ue, j as me, C as de, k as he, l as Se, m as Ce, n as be, o as ge, p as fe, q as ve, r as ye, s as Ae, t as Ie, u as Re, v as Ee, w as Te, x as Me, y as Oe, z as Pe, D as xe, E as we, F as Ue, G as ke, H as Fe, I as Ve, K as Ke, L as De, M as _e, N as ze, O as Be, P as $e, Q as Le, R as He, S as Je, T as Ge, U as Ne, V as We, V as Ze, V as Qe, W as Ye, W as Xe, X as qe, Y as je, Z as ea, $ as aa, a0 as ta, a1 as na, a2 as sa, a3 as oa, a3 as ra, a3 as ia, T as la, C as ca, a4 as pa, a5 as ua, a6 as ma, a7 as da, a8 as ha, a9 as Sa, aa as Ca, ab as ba, ac as ga, ad as fa, ae as va, af as ya, ag as Aa, ah as Ia, ai as Ra, aj as Ea, ak as Ta, al as Ma, am as Oa, an as Pa, ao as xa, ap as wa, aq as Ua, ar as ka, a4 as Fa, as as Va, at as Ka, au as Da, av as _a, aw as za, ax as Ba, ay as $a, az as La, aA as Ha, aB as Ja, aC as Ga, aD as Na, aE as Wa, aF as Za, aG as Qa, aH as Ya, aI as Xa, aJ as qa, aK as ja, aL as et, aM as at, aN as tt, aO as nt, aP as st, aQ as ot, aR as rt, aS as it, aT as lt, aU as ct, aV as pt, aW as ut, aX as mt, aY as dt, aZ as ht, a_ as St, a$ as Ct, b0 as bt, b1 as gt, b2 as ft, b3 as vt, b4 as yt, b5 as At, b6 as It, b7 as Rt, b8 as Et, b9 as Tt, b4 as Mt, ba as Ot, bb as Pt, bc as xt, bd as wt, be as Ut, bf as kt, bg as Ft, bh as Vt, bi as Kt, bj as Dt, bk as _t, a5 as zt, bl as Bt, bm as $t, bn as Lt, bn as Ht, bn as Jt, bo as Gt, bp as Nt, bq as Wt, br as Zt, bs as Qt, bt as Yt, bu as Xt, bv as qt, bw as jt, bx as en, by as an, bz as tn, bB as nn, bE as sn, bF as on, bG as rn, bH as ln, bI as cn, bJ as pn, bL as un, bM as mn, bN as dn, bO as hn } from "./use-render-activity-message-B59A4R48.js";
|
|
7
|
+
import { ref as E, watch as T, defineComponent as M, openBlock as O, createBlock as P, normalizeProps as x, guardReactiveProps as w, withCtx as U, renderSlot as k } from "vue";
|
|
8
|
+
import { MCPAppsActivityContentSchema as Cn, MCPAppsActivityType as bn, ɵrunMcpFollowUp as gn } from "@copilotkit/mcp-apps-renderer/activity";
|
|
9
|
+
import { actionParametersToJsonSchema as F, parseJson as v } from "@copilotkit/shared";
|
|
10
|
+
import { createLicenseContextValue as vn } from "@copilotkit/shared";
|
|
11
|
+
import * as l from "zod";
|
|
12
|
+
function h(e, t, o, a) {
|
|
13
|
+
if (e.$ref && o) {
|
|
14
|
+
const n = e.$ref.replace(
|
|
15
|
+
/^#\/\$defs\/|^#\/definitions\//,
|
|
16
|
+
""
|
|
17
|
+
), s = a ?? /* @__PURE__ */ new Set();
|
|
18
|
+
if (s.has(n)) {
|
|
19
|
+
console.warn(
|
|
20
|
+
`[CopilotKit] Circular $ref detected for "${n}" — falling back to z.any()`
|
|
21
|
+
);
|
|
22
|
+
let r = l.any();
|
|
23
|
+
return e.description && (r = r.describe(e.description)), t ? r : r.optional();
|
|
24
|
+
}
|
|
25
|
+
const i = o[n];
|
|
26
|
+
if (i) {
|
|
27
|
+
const r = new Set(s);
|
|
28
|
+
return r.add(n), h(
|
|
29
|
+
i,
|
|
30
|
+
t,
|
|
31
|
+
o,
|
|
32
|
+
r
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
const m = o ?? e.$defs ?? e.definitions;
|
|
37
|
+
if (Array.isArray(e.type)) {
|
|
38
|
+
const n = e.type, s = n.includes("null"), i = n.filter((p) => p !== "null"), r = i.length > 0 ? i[0] : "string", S = h(
|
|
39
|
+
{ ...e, type: r },
|
|
40
|
+
!0,
|
|
41
|
+
m,
|
|
42
|
+
a
|
|
43
|
+
);
|
|
44
|
+
let d = s ? l.union([S, l.null()]) : S;
|
|
45
|
+
return e.description && (d = d.describe(e.description)), t ? d : d.optional();
|
|
46
|
+
}
|
|
47
|
+
const c = e.anyOf ?? e.oneOf;
|
|
48
|
+
if (Array.isArray(c) && c.length > 0) {
|
|
49
|
+
if (c.length === 1)
|
|
50
|
+
return h(
|
|
51
|
+
c[0],
|
|
52
|
+
t,
|
|
53
|
+
m,
|
|
54
|
+
a
|
|
55
|
+
);
|
|
56
|
+
const n = c.map(
|
|
57
|
+
(i) => h(i, !0, m, a)
|
|
58
|
+
);
|
|
59
|
+
let s = l.union(
|
|
60
|
+
n
|
|
61
|
+
);
|
|
62
|
+
return e.description && (s = s.describe(e.description)), t ? s : s.optional();
|
|
63
|
+
}
|
|
64
|
+
if (e.type === "object") {
|
|
65
|
+
const n = {};
|
|
66
|
+
if (!e.properties || !Object.keys(e.properties).length)
|
|
67
|
+
return t ? l.object(n) : l.object(n).optional();
|
|
68
|
+
for (const [i, r] of Object.entries(e.properties))
|
|
69
|
+
n[i] = h(
|
|
70
|
+
r,
|
|
71
|
+
e.required ? e.required.includes(i) : !1,
|
|
72
|
+
m,
|
|
73
|
+
a
|
|
74
|
+
);
|
|
75
|
+
let s = l.object(n).describe(e.description);
|
|
76
|
+
return t ? s : s.optional();
|
|
77
|
+
} else if (e.type === "string") {
|
|
78
|
+
if (e.enum && e.enum.length > 0) {
|
|
79
|
+
let s = l.enum(e.enum).describe(e.description);
|
|
80
|
+
return t ? s : s.optional();
|
|
81
|
+
}
|
|
82
|
+
let n = l.string().describe(e.description);
|
|
83
|
+
return t ? n : n.optional();
|
|
84
|
+
} else if (e.type === "number" || e.type === "integer") {
|
|
85
|
+
let n = l.number().describe(e.description);
|
|
86
|
+
return t ? n : n.optional();
|
|
87
|
+
} else if (e.type === "boolean") {
|
|
88
|
+
let n = l.boolean().describe(e.description);
|
|
89
|
+
return t ? n : n.optional();
|
|
90
|
+
} else if (e.type === "array") {
|
|
91
|
+
let n = h(
|
|
92
|
+
e.items,
|
|
93
|
+
!0,
|
|
94
|
+
m,
|
|
95
|
+
a
|
|
96
|
+
), s = l.array(n).describe(e.description);
|
|
97
|
+
return t ? s : s.optional();
|
|
98
|
+
} else if (e.type === "null") {
|
|
99
|
+
let n = l.null().describe(e.description);
|
|
100
|
+
return t ? n : n.optional();
|
|
101
|
+
}
|
|
102
|
+
console.warn(
|
|
103
|
+
`[CopilotKit] Unsupported JSON schema type "${e.type ?? "unknown"}" — falling back to z.any()`
|
|
104
|
+
);
|
|
105
|
+
let u = l.any();
|
|
106
|
+
return e.description && (u = u.describe(e.description)), t ? u : u.optional();
|
|
107
|
+
}
|
|
108
|
+
function y(e) {
|
|
109
|
+
if (!e) return l.object({});
|
|
110
|
+
const t = F(e);
|
|
111
|
+
return h(t, !0);
|
|
112
|
+
}
|
|
113
|
+
function C(e) {
|
|
114
|
+
return typeof e != "function" ? e : ((t) => {
|
|
115
|
+
const o = typeof t.result == "string" ? { ...t, result: v(t.result, t.result) } : t;
|
|
116
|
+
return e(o);
|
|
15
117
|
});
|
|
16
118
|
}
|
|
17
|
-
function
|
|
18
|
-
const
|
|
19
|
-
if (
|
|
20
|
-
|
|
119
|
+
function _(e, t) {
|
|
120
|
+
const o = "parameters" in e ? y(e.parameters) : void 0;
|
|
121
|
+
if (e.name === "*") {
|
|
122
|
+
g(
|
|
21
123
|
{
|
|
22
124
|
name: "*",
|
|
23
|
-
render:
|
|
24
|
-
|
|
125
|
+
render: C(
|
|
126
|
+
e.render
|
|
25
127
|
),
|
|
26
|
-
..."agentId" in
|
|
128
|
+
..."agentId" in e ? { agentId: e.agentId } : {}
|
|
27
129
|
},
|
|
28
130
|
t
|
|
29
131
|
);
|
|
30
132
|
return;
|
|
31
133
|
}
|
|
32
|
-
const
|
|
33
|
-
if ("renderAndWaitForResponse" in
|
|
34
|
-
const
|
|
35
|
-
if (!
|
|
134
|
+
const a = e;
|
|
135
|
+
if ("renderAndWaitForResponse" in a || "renderAndWait" in a) {
|
|
136
|
+
const u = a.render ?? a.renderAndWaitForResponse ?? a.renderAndWait;
|
|
137
|
+
if (!u) {
|
|
36
138
|
console.warn(
|
|
37
|
-
`[CopilotKit] useCopilotAction: HITL action '${
|
|
139
|
+
`[CopilotKit] useCopilotAction: HITL action '${a.name}' has no render function. Skipping.`
|
|
38
140
|
);
|
|
39
141
|
return;
|
|
40
142
|
}
|
|
41
|
-
|
|
143
|
+
A(
|
|
42
144
|
{
|
|
43
|
-
name:
|
|
44
|
-
description:
|
|
45
|
-
parameters:
|
|
46
|
-
render:
|
|
47
|
-
agentId:
|
|
145
|
+
name: a.name,
|
|
146
|
+
description: a.description,
|
|
147
|
+
parameters: o,
|
|
148
|
+
render: C(u),
|
|
149
|
+
agentId: a.agentId
|
|
48
150
|
},
|
|
49
151
|
t
|
|
50
152
|
);
|
|
51
153
|
return;
|
|
52
154
|
}
|
|
53
|
-
if (
|
|
54
|
-
|
|
155
|
+
if (a.available === "frontend" || a.available === "disabled") {
|
|
156
|
+
a.render && o ? g(
|
|
55
157
|
{
|
|
56
|
-
name:
|
|
57
|
-
parameters:
|
|
58
|
-
render:
|
|
59
|
-
|
|
158
|
+
name: a.name,
|
|
159
|
+
parameters: o,
|
|
160
|
+
render: C(
|
|
161
|
+
a.render
|
|
60
162
|
),
|
|
61
|
-
agentId:
|
|
163
|
+
agentId: a.agentId
|
|
62
164
|
},
|
|
63
165
|
t
|
|
64
166
|
) : console.warn(
|
|
65
|
-
`[CopilotKit] useCopilotAction: action '${
|
|
167
|
+
`[CopilotKit] useCopilotAction: action '${a.name}' with available="${a.available}" requires both 'render' and 'parameters'. Skipping registration.`
|
|
66
168
|
);
|
|
67
169
|
return;
|
|
68
170
|
}
|
|
69
|
-
const m =
|
|
70
|
-
let
|
|
71
|
-
|
|
171
|
+
const m = a.handler ? (u) => Promise.resolve(a.handler(u)) : void 0;
|
|
172
|
+
let c;
|
|
173
|
+
a.available === "remote" ? c = !1 : a.available !== void 0 && (c = !0), f(
|
|
72
174
|
{
|
|
73
|
-
name:
|
|
74
|
-
description:
|
|
75
|
-
parameters:
|
|
175
|
+
name: a.name,
|
|
176
|
+
description: a.description,
|
|
177
|
+
parameters: o,
|
|
76
178
|
handler: m,
|
|
77
|
-
followUp:
|
|
78
|
-
render:
|
|
79
|
-
available:
|
|
80
|
-
agentId:
|
|
179
|
+
followUp: a.followUp,
|
|
180
|
+
render: C(a.render),
|
|
181
|
+
available: c,
|
|
182
|
+
agentId: a.agentId,
|
|
81
183
|
// Read webmcp at watch time: the action object may expose it as a getter
|
|
82
184
|
// over reactive state, and capturing the initial value here would
|
|
83
185
|
// re-register a stale configuration.
|
|
84
186
|
get webmcp() {
|
|
85
|
-
return
|
|
187
|
+
return a.webmcp;
|
|
86
188
|
}
|
|
87
189
|
},
|
|
88
190
|
t
|
|
89
191
|
);
|
|
90
192
|
}
|
|
91
|
-
function
|
|
193
|
+
function z(e, t) {
|
|
92
194
|
const {
|
|
93
|
-
name:
|
|
94
|
-
description:
|
|
195
|
+
name: o,
|
|
196
|
+
description: a,
|
|
95
197
|
parameters: m,
|
|
96
|
-
handler:
|
|
97
|
-
followUp:
|
|
98
|
-
available:
|
|
99
|
-
render:
|
|
100
|
-
agentId:
|
|
101
|
-
} =
|
|
102
|
-
|
|
198
|
+
handler: c,
|
|
199
|
+
followUp: u,
|
|
200
|
+
available: n,
|
|
201
|
+
render: s,
|
|
202
|
+
agentId: i
|
|
203
|
+
} = e, r = y(m);
|
|
204
|
+
f(
|
|
103
205
|
{
|
|
104
|
-
name:
|
|
105
|
-
description:
|
|
106
|
-
parameters:
|
|
107
|
-
handler:
|
|
108
|
-
followUp:
|
|
109
|
-
render: typeof
|
|
110
|
-
const
|
|
111
|
-
return
|
|
112
|
-
} :
|
|
113
|
-
available:
|
|
114
|
-
agentId:
|
|
206
|
+
name: o,
|
|
207
|
+
description: a,
|
|
208
|
+
parameters: r,
|
|
209
|
+
handler: c ? (p) => Promise.resolve(c(p)) : void 0,
|
|
210
|
+
followUp: u,
|
|
211
|
+
render: typeof s == "function" ? (p) => {
|
|
212
|
+
const b = typeof p.result == "string" ? { ...p, result: v(p.result, p.result) } : p;
|
|
213
|
+
return s(b);
|
|
214
|
+
} : s,
|
|
215
|
+
available: n === void 0 ? void 0 : n !== "disabled",
|
|
216
|
+
agentId: i,
|
|
115
217
|
// Read webmcp at watch time: the v1 args may expose it as a getter over
|
|
116
218
|
// reactive state, and capturing the initial value here would re-register
|
|
117
219
|
// a stale configuration.
|
|
118
220
|
get webmcp() {
|
|
119
|
-
return
|
|
221
|
+
return e.webmcp;
|
|
120
222
|
}
|
|
121
223
|
},
|
|
122
224
|
t
|
|
123
225
|
);
|
|
124
226
|
}
|
|
125
|
-
function
|
|
126
|
-
const { copilotkit:
|
|
127
|
-
return
|
|
227
|
+
function B(e, t) {
|
|
228
|
+
const { copilotkit: o } = I(), a = E(void 0);
|
|
229
|
+
return T(
|
|
128
230
|
[
|
|
129
|
-
() =>
|
|
130
|
-
() =>
|
|
131
|
-
() =>
|
|
132
|
-
() =>
|
|
231
|
+
() => e.description,
|
|
232
|
+
() => e.value,
|
|
233
|
+
() => e.convert,
|
|
234
|
+
() => e.available,
|
|
133
235
|
...t ?? []
|
|
134
236
|
],
|
|
135
|
-
(
|
|
136
|
-
const
|
|
137
|
-
if (!
|
|
138
|
-
const { description:
|
|
139
|
-
let
|
|
237
|
+
(c, u, n) => {
|
|
238
|
+
const s = o.value;
|
|
239
|
+
if (!s) return;
|
|
240
|
+
const { description: i, value: r, convert: S, available: d } = e;
|
|
241
|
+
let p;
|
|
140
242
|
try {
|
|
141
|
-
|
|
142
|
-
} catch (
|
|
243
|
+
p = S ? S(i, r) : JSON.stringify(r);
|
|
244
|
+
} catch (b) {
|
|
143
245
|
console.warn(
|
|
144
|
-
`[CopilotKit] useCopilotReadable: failed to serialize value for "${
|
|
145
|
-
|
|
146
|
-
),
|
|
246
|
+
`[CopilotKit] useCopilotReadable: failed to serialize value for "${i}":`,
|
|
247
|
+
b
|
|
248
|
+
), p = String(r);
|
|
147
249
|
}
|
|
148
|
-
d !== "disabled" && (
|
|
149
|
-
description:
|
|
150
|
-
value:
|
|
151
|
-
}),
|
|
152
|
-
|
|
250
|
+
d !== "disabled" && (a.value = s.addContext({
|
|
251
|
+
description: i,
|
|
252
|
+
value: p
|
|
253
|
+
}), n(() => {
|
|
254
|
+
a.value && s.removeContext(a.value);
|
|
153
255
|
}));
|
|
154
256
|
},
|
|
155
257
|
{ immediate: !0 }
|
|
156
|
-
),
|
|
258
|
+
), a;
|
|
157
259
|
}
|
|
158
|
-
const
|
|
260
|
+
const $ = /* @__PURE__ */ M({
|
|
159
261
|
__name: "CopilotKit",
|
|
160
262
|
props: {
|
|
161
263
|
publicApiKey: {},
|
|
@@ -186,210 +288,210 @@ const k = /* @__PURE__ */ y({
|
|
|
186
288
|
debug: { type: [Boolean, Object] },
|
|
187
289
|
learning: { type: [Boolean, Object] }
|
|
188
290
|
},
|
|
189
|
-
setup(
|
|
190
|
-
const t =
|
|
191
|
-
return (
|
|
192
|
-
default:
|
|
193
|
-
|
|
291
|
+
setup(e) {
|
|
292
|
+
const t = e;
|
|
293
|
+
return (o, a) => (O(), P(R, x(w(t)), {
|
|
294
|
+
default: U(() => [
|
|
295
|
+
k(o.$slots, "default")
|
|
194
296
|
]),
|
|
195
297
|
_: 3
|
|
196
298
|
}, 16));
|
|
197
299
|
}
|
|
198
300
|
});
|
|
199
301
|
export {
|
|
200
|
-
|
|
302
|
+
q as A2UIActivityContentSchema,
|
|
201
303
|
j as A2UISurfaceActivityRenderer,
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
304
|
+
ee as A2UISurfaceActivityType,
|
|
305
|
+
ae as ActivityDeltaEventSchema,
|
|
306
|
+
te as ActivityMessageSchema,
|
|
307
|
+
ne as ActivitySnapshotEventSchema,
|
|
308
|
+
se as AddOperationSchema,
|
|
309
|
+
oe as AgentCapabilitiesSchema,
|
|
310
|
+
re as AssistantMessageSchema,
|
|
311
|
+
ie as AttributableSchema,
|
|
312
|
+
le as AudioInputContentSchema,
|
|
313
|
+
ce as AudioInputPartSchema,
|
|
314
|
+
pe as AudioPartSchema,
|
|
315
|
+
ue as BaseEventSchema,
|
|
316
|
+
me as BaseMessageSchema,
|
|
317
|
+
de as ContentPartSchema,
|
|
318
|
+
he as ContextSchema,
|
|
319
|
+
Se as CopilotChat,
|
|
320
|
+
Ce as CopilotChatAssistantMessage,
|
|
321
|
+
be as CopilotChatAttachmentQueue,
|
|
322
|
+
ge as CopilotChatAttachmentRenderer,
|
|
323
|
+
fe as CopilotChatAudioRecorder,
|
|
324
|
+
ve as CopilotChatConfigurationProvider,
|
|
325
|
+
G as CopilotChatDefaultLabels,
|
|
326
|
+
ye as CopilotChatInput,
|
|
327
|
+
Ae as CopilotChatMessageView,
|
|
328
|
+
Ie as CopilotChatReasoningMessage,
|
|
329
|
+
Re as CopilotChatSuggestionPill,
|
|
330
|
+
Ee as CopilotChatSuggestionView,
|
|
331
|
+
Te as CopilotChatToggleButton,
|
|
332
|
+
Me as CopilotChatToggleButtonCloseIcon,
|
|
333
|
+
Oe as CopilotChatToggleButtonOpenIcon,
|
|
334
|
+
Pe as CopilotChatToolCallGroup,
|
|
335
|
+
xe as CopilotChatToolCallsView,
|
|
336
|
+
we as CopilotChatUserMessage,
|
|
337
|
+
Ue as CopilotChatView,
|
|
338
|
+
ke as CopilotChatWorkSummary,
|
|
339
|
+
$ as CopilotKit,
|
|
340
|
+
Fe as CopilotKitCoreVue,
|
|
341
|
+
Ve as CopilotKitInspector,
|
|
342
|
+
R as CopilotKitProvider,
|
|
343
|
+
Ke as CopilotKitStyles,
|
|
344
|
+
De as CopilotModalHeader,
|
|
345
|
+
_e as CopilotPopup,
|
|
346
|
+
ze as CopilotPopupView,
|
|
347
|
+
Be as CopilotSidebar,
|
|
348
|
+
$e as CopilotSidebarView,
|
|
349
|
+
Le as CopilotThreadsDrawer,
|
|
350
|
+
He as CopyOperationSchema,
|
|
351
|
+
Je as CustomEventSchema,
|
|
352
|
+
Ge as DataSourceSchema,
|
|
353
|
+
Ne as DeveloperMessageSchema,
|
|
354
|
+
We as DocumentInputContentSchema,
|
|
355
|
+
Ze as DocumentInputPartSchema,
|
|
356
|
+
Qe as DocumentPartSchema,
|
|
357
|
+
Ye as EventSchema,
|
|
358
|
+
Xe as EventSchemas,
|
|
359
|
+
qe as EventTypeSchema,
|
|
258
360
|
je as ExecutionCapabilitiesSchema,
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
361
|
+
ea as FileSourceSchema,
|
|
362
|
+
aa as FunctionCallSchema,
|
|
363
|
+
ta as GenerateSandboxedUiArgsSchema,
|
|
364
|
+
na as HumanInTheLoopCapabilitiesSchema,
|
|
365
|
+
sa as IdentityCapabilitiesSchema,
|
|
366
|
+
oa as ImageInputContentSchema,
|
|
367
|
+
ra as ImageInputPartSchema,
|
|
368
|
+
ia as ImagePartSchema,
|
|
369
|
+
la as InputContentDataSourceSchema,
|
|
370
|
+
ca as InputContentSchema,
|
|
371
|
+
pa as InputContentSourceSchema,
|
|
372
|
+
ua as InputContentUrlSourceSchema,
|
|
373
|
+
ma as InterruptSchema,
|
|
374
|
+
da as JsonPatchOperationSchema,
|
|
375
|
+
ha as JsonPatchSchema,
|
|
376
|
+
Sa as JsonPointerSchema,
|
|
377
|
+
Ca as LicenseContextKey,
|
|
378
|
+
ba as MARKDOWN_RENDERER_KEY,
|
|
379
|
+
Cn as MCPAppsActivityContentSchema,
|
|
380
|
+
ga as MCPAppsActivityRenderer,
|
|
381
|
+
bn as MCPAppsActivityType,
|
|
382
|
+
fa as MessageSchema,
|
|
383
|
+
va as MessagesSnapshotEventSchema,
|
|
384
|
+
ya as MetadataSchema,
|
|
385
|
+
Aa as MoveOperationSchema,
|
|
386
|
+
Ia as MultiAgentCapabilitiesSchema,
|
|
387
|
+
Ra as MultimodalCapabilitiesSchema,
|
|
388
|
+
Ea as MultimodalInputCapabilitiesSchema,
|
|
389
|
+
Ta as MultimodalOutputCapabilitiesSchema,
|
|
390
|
+
Ma as OpenGenerativeUIActivityRenderer,
|
|
391
|
+
Oa as OpenGenerativeUIActivityType,
|
|
392
|
+
Pa as OpenGenerativeUIContentSchema,
|
|
393
|
+
xa as OpenGenerativeUIRenderer,
|
|
394
|
+
wa as OpenGenerativeUIToolRenderer,
|
|
395
|
+
Ua as OptionalMetadataSchema,
|
|
396
|
+
ka as OutputCapabilitiesSchema,
|
|
397
|
+
Y as PROTOCOL_VERSION,
|
|
398
|
+
Fa as PartSourceSchema,
|
|
399
|
+
Va as RawEventSchema,
|
|
400
|
+
Ka as ReasoningCapabilitiesSchema,
|
|
401
|
+
Da as ReasoningEncryptedValueEventSchema,
|
|
402
|
+
_a as ReasoningEncryptedValueSubtypeSchema,
|
|
403
|
+
za as ReasoningEndEventSchema,
|
|
404
|
+
Ba as ReasoningMessageChunkEventSchema,
|
|
405
|
+
$a as ReasoningMessageContentEventSchema,
|
|
406
|
+
La as ReasoningMessageEndEventSchema,
|
|
407
|
+
Ha as ReasoningMessageSchema,
|
|
408
|
+
Ja as ReasoningMessageStartEventSchema,
|
|
409
|
+
Ga as ReasoningStartEventSchema,
|
|
410
|
+
Na as RemoveOperationSchema,
|
|
411
|
+
Wa as ReplaceOperationSchema,
|
|
412
|
+
Za as ResumeEntrySchema,
|
|
413
|
+
Qa as RoleSchema,
|
|
414
|
+
Ya as RunAgentInputSchema,
|
|
415
|
+
Xa as RunErrorEventSchema,
|
|
416
|
+
qa as RunFinishedCancelledOutcomeSchema,
|
|
315
417
|
ja as RunFinishedEventSchema,
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
418
|
+
et as RunFinishedInterruptOutcomeSchema,
|
|
419
|
+
at as RunFinishedOutcomeSchema,
|
|
420
|
+
tt as RunFinishedSuccessOutcomeSchema,
|
|
421
|
+
nt as RunStartedEventSchema,
|
|
422
|
+
st as StateCapabilitiesSchema,
|
|
423
|
+
ot as StateDeltaEventSchema,
|
|
424
|
+
rt as StateSchema,
|
|
425
|
+
it as StateSnapshotEventSchema,
|
|
426
|
+
lt as StepFinishedEventSchema,
|
|
427
|
+
ct as StepStartedEventSchema,
|
|
428
|
+
pt as StreamingMarkdownDefault,
|
|
429
|
+
ut as SubagentErrorEventSchema,
|
|
430
|
+
mt as SubagentFinishedEventSchema,
|
|
431
|
+
dt as SubagentFinishedOutcomeSchema,
|
|
432
|
+
ht as SubagentFinishedSuccessOutcomeSchema,
|
|
433
|
+
St as SubagentFinishedSuspendedOutcomeSchema,
|
|
434
|
+
Ct as SubagentInfoSchema,
|
|
435
|
+
bt as SubagentRunIdSchema,
|
|
436
|
+
gt as SubagentStartedEventSchema,
|
|
437
|
+
ft as SystemMessageSchema,
|
|
438
|
+
vt as TestOperationSchema,
|
|
439
|
+
yt as TextInputContentSchema,
|
|
440
|
+
At as TextMessageChunkEventSchema,
|
|
441
|
+
It as TextMessageContentEventSchema,
|
|
442
|
+
Rt as TextMessageEndEventSchema,
|
|
443
|
+
Et as TextMessageRoleSchema,
|
|
444
|
+
Tt as TextMessageStartEventSchema,
|
|
445
|
+
Mt as TextPartSchema,
|
|
446
|
+
Ot as TokenUsageSchema,
|
|
447
|
+
Pt as ToolCallArgsEventSchema,
|
|
448
|
+
xt as ToolCallChunkEventSchema,
|
|
449
|
+
wt as ToolCallEndEventSchema,
|
|
450
|
+
Ut as ToolCallResultEventSchema,
|
|
451
|
+
kt as ToolCallSchema,
|
|
452
|
+
Ft as ToolCallStartEventSchema,
|
|
453
|
+
Vt as ToolMessageSchema,
|
|
454
|
+
Kt as ToolSchema,
|
|
455
|
+
Dt as ToolsCapabilitiesSchema,
|
|
456
|
+
_t as TransportCapabilitiesSchema,
|
|
457
|
+
zt as UrlSourceSchema,
|
|
458
|
+
Bt as UseAgentUpdate,
|
|
459
|
+
$t as UserMessageSchema,
|
|
460
|
+
Lt as VideoInputContentSchema,
|
|
461
|
+
Ht as VideoInputPartSchema,
|
|
462
|
+
Jt as VideoPartSchema,
|
|
463
|
+
Gt as createA2UIMessageRenderer,
|
|
464
|
+
Nt as createDefaultLicenseRef,
|
|
465
|
+
vn as createLicenseContextValue,
|
|
466
|
+
Wt as defineToolCallRenderer,
|
|
467
|
+
N as extractCompleteStyles,
|
|
468
|
+
Zt as getOperationSurfaceId,
|
|
469
|
+
Qt as isVueComponentRenderer,
|
|
470
|
+
W as processPartialHtml,
|
|
471
|
+
Yt as useAgent,
|
|
472
|
+
Xt as useAgentContext,
|
|
371
473
|
qt as useAttachments,
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
474
|
+
jt as useCapabilities,
|
|
475
|
+
en as useComponent,
|
|
476
|
+
an as useConfigureSuggestions,
|
|
477
|
+
_ as useCopilotAction,
|
|
478
|
+
tn as useCopilotChatConfiguration,
|
|
479
|
+
I as useCopilotKit,
|
|
480
|
+
B as useCopilotReadable,
|
|
481
|
+
nn as useDefaultRenderTool,
|
|
482
|
+
z as useFrontendTool,
|
|
483
|
+
A as useHumanInTheLoop,
|
|
484
|
+
sn as useInterrupt,
|
|
485
|
+
on as useKeyboardHeight,
|
|
486
|
+
rn as useLicenseContext,
|
|
487
|
+
ln as useMarkdownRenderer,
|
|
488
|
+
cn as useRenderActivityMessage,
|
|
489
|
+
pn as useRenderCustomMessages,
|
|
490
|
+
g as useRenderTool,
|
|
491
|
+
un as useSandboxFunctions,
|
|
492
|
+
mn as useSuggestions,
|
|
493
|
+
dn as useThreads,
|
|
494
|
+
hn as vueBasicCatalog,
|
|
495
|
+
gn as ɵrunMcpFollowUp
|
|
394
496
|
};
|
|
395
497
|
//# sourceMappingURL=index.mjs.map
|