@copilotkit/vue 1.75.2 → 1.77.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/PARITY.md +93 -35
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +275 -158
- package/dist/index.mjs.map +1 -1
- package/dist/use-render-activity-message-JCCE1lgH.cjs +79 -0
- package/dist/use-render-activity-message-JCCE1lgH.cjs.map +1 -0
- package/dist/use-render-activity-message-bPlnHjQV.js +12499 -0
- package/dist/use-render-activity-message-bPlnHjQV.js.map +1 -0
- package/dist/v2/components/MCPAppsActivityRenderer.d.ts +10 -42
- package/dist/v2/components/MCPAppsActivityRenderer.d.ts.map +1 -1
- package/dist/v2/components/chat/CopilotChat.vue.d.ts.map +1 -1
- package/dist/v2/components/chat/CopilotChatAssistantMessage.vue.d.ts +8 -152
- package/dist/v2/components/chat/CopilotChatAssistantMessage.vue.d.ts.map +1 -1
- package/dist/v2/components/chat/CopilotChatView.vue.d.ts +1 -1
- package/dist/v2/components/chat/CopilotPopupViewInternal.vue.d.ts.map +1 -1
- package/dist/v2/components/chat/copilotChatToolCallItemRender.d.ts.map +1 -1
- package/dist/v2/components/chat/index.d.ts +3 -3
- package/dist/v2/hooks/use-agent.d.ts.map +1 -1
- package/dist/v2/index.cjs +1 -1
- package/dist/v2/index.d.cts +2 -0
- package/dist/v2/index.d.mts +2 -0
- package/dist/v2/index.d.ts +2 -0
- package/dist/v2/index.d.ts.map +1 -1
- package/dist/v2/index.mjs +189 -72
- package/dist/v2/index.mjs.map +1 -1
- package/package.json +8 -7
- package/src/v2/__tests__/utils/test-helpers.ts +26 -6
- package/src/v2/components/MCPAppsActivityRenderer.ts +175 -658
- package/src/v2/components/__tests__/MCPAppsActivityRenderer.test.ts +39 -20
- package/src/v2/components/__tests__/MCPAppsActivityRendererContentError.test.ts +122 -0
- package/src/v2/components/__tests__/MCPAppsActivityRendererSeed.test.ts +109 -0
- package/src/v2/components/chat/CopilotChat.vue +100 -20
- package/src/v2/components/chat/CopilotPopupViewInternal.vue +1 -1
- package/src/v2/components/chat/__tests__/CopilotChat.clearOnFresh.test.ts +130 -2
- package/src/v2/components/chat/__tests__/CopilotChat.e2e.test.ts +6 -1
- package/src/v2/components/chat/__tests__/CopilotChatToolRendering.e2e.test.ts +22 -40
- package/src/v2/components/chat/__tests__/CopilotChatToolRerenders.e2e.test.ts +12 -24
- package/src/v2/components/chat/__tests__/CopilotPopupView.slots.e2e.test.ts +20 -0
- package/src/v2/components/chat/copilotChatToolCallItemRender.ts +3 -2
- package/src/v2/hooks/__tests__/use-agent-headers.test.ts +83 -0
- package/src/v2/hooks/__tests__/use-agent-stability.test.ts +2 -0
- package/src/v2/hooks/__tests__/use-agent.e2e.test.ts +5 -3
- package/src/v2/hooks/__tests__/use-frontend-tool.e2e.test.ts +2 -2
- package/src/v2/hooks/use-agent.ts +3 -3
- package/src/v2/index.ts +5 -0
- package/src/v2/providers/__tests__/CopilotKitProvider.renderCustomMessages.e2e.test.ts +6 -4
- package/vite.config.ts +7 -0
- package/dist/use-render-activity-message-CGdS03Xj.cjs +0 -85
- package/dist/use-render-activity-message-CGdS03Xj.cjs.map +0 -1
- package/dist/use-render-activity-message-XmuT9fKy.js +0 -9799
- package/dist/use-render-activity-message-XmuT9fKy.js.map +0 -1
|
@@ -1,48 +1,16 @@
|
|
|
1
1
|
import type { PropType } from "vue";
|
|
2
|
-
import { z } from "zod";
|
|
3
2
|
import type { AbstractAgent } from "@ag-ui/client";
|
|
4
3
|
import type { VueActivityMessageRendererProps } from "../types";
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}, {
|
|
16
|
-
content?: any[] | undefined;
|
|
17
|
-
structuredContent?: any;
|
|
18
|
-
isError?: boolean | undefined;
|
|
19
|
-
}>;
|
|
20
|
-
resourceUri: z.ZodString;
|
|
21
|
-
serverHash: z.ZodString;
|
|
22
|
-
serverId: z.ZodOptional<z.ZodString>;
|
|
23
|
-
toolInput: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
24
|
-
}, "strip", z.ZodTypeAny, {
|
|
25
|
-
result: {
|
|
26
|
-
content?: any[] | undefined;
|
|
27
|
-
structuredContent?: any;
|
|
28
|
-
isError?: boolean | undefined;
|
|
29
|
-
};
|
|
30
|
-
resourceUri: string;
|
|
31
|
-
serverHash: string;
|
|
32
|
-
serverId?: string | undefined;
|
|
33
|
-
toolInput?: Record<string, unknown> | undefined;
|
|
34
|
-
}, {
|
|
35
|
-
result: {
|
|
36
|
-
content?: any[] | undefined;
|
|
37
|
-
structuredContent?: any;
|
|
38
|
-
isError?: boolean | undefined;
|
|
39
|
-
};
|
|
40
|
-
resourceUri: string;
|
|
41
|
-
serverHash: string;
|
|
42
|
-
serverId?: string | undefined;
|
|
43
|
-
toolInput?: Record<string, unknown> | undefined;
|
|
44
|
-
}>;
|
|
45
|
-
export type MCPAppsActivityContent = z.infer<typeof MCPAppsActivityContentSchema>;
|
|
4
|
+
export { MCPAppsActivityType, MCPAppsActivityContentSchema, ɵrunMcpFollowUp, } from "@copilotkit/mcp-apps-renderer/activity";
|
|
5
|
+
export type { MCPAppsActivityContent, ɵMcpFollowUpHost, } from "@copilotkit/mcp-apps-renderer/activity";
|
|
6
|
+
import type { MCPAppsActivityContent } from "@copilotkit/mcp-apps-renderer/activity";
|
|
7
|
+
/**
|
|
8
|
+
* MCP Apps Extension Activity Renderer
|
|
9
|
+
*
|
|
10
|
+
* Renders MCP Apps UI in a sandboxed iframe with full protocol support.
|
|
11
|
+
* Fetches resource content on-demand via proxied MCP requests. The Vue shell
|
|
12
|
+
* owns the iframe; `bindMcpApp` owns the protocol.
|
|
13
|
+
*/
|
|
46
14
|
export declare const MCPAppsActivityRenderer: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
47
15
|
activityType: {
|
|
48
16
|
type: StringConstructor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MCPAppsActivityRenderer.d.ts","sourceRoot":"","sources":["../../../src/v2/components/MCPAppsActivityRenderer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,
|
|
1
|
+
{"version":3,"file":"MCPAppsActivityRenderer.d.ts","sourceRoot":"","sources":["../../../src/v2/components/MCPAppsActivityRenderer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,UAAU,CAAC;AAehE,OAAO,EACL,mBAAmB,EACnB,4BAA4B,EAC5B,eAAe,GAChB,MAAM,wCAAwC,CAAC;AAChD,YAAY,EACV,sBAAsB,EACtB,gBAAgB,GACjB,MAAM,wCAAwC,CAAC;AAEhD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAQrF;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB;;;;;;cAQd,QAAQ,CAAC,sBAAsB,CAAC;;;;cAIhC,QAAQ,CACtB,+BAA+B,CAAC,sBAAsB,CAAC,CAAC,SAAS,CAAC,CACnE;;;;cAIe,QAAQ,CAAC,aAAa,GAAG,SAAS,CAAC;;;;;;;;;;;;cAVnC,QAAQ,CAAC,sBAAsB,CAAC;;;;cAIhC,QAAQ,CACtB,+BAA+B,CAAC,sBAAsB,CAAC,CAAC,SAAS,CAAC,CACnE;;;;cAIe,QAAQ,CAAC,aAAa,GAAG,SAAS,CAAC;;;;;;4EA2OvD,CAAC;AAEH,eAAe,uBAAuB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CopilotChat.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/chat/CopilotChat.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CopilotChat.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/chat/CopilotChat.vue"],"names":[],"mappings":"AA08BA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAiBnD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAG3C,OAAO,KAAK,EACV,yBAAyB,EACzB,gBAAgB,EAChB,6BAA6B,EAC7B,kCAAkC,EAClC,gCAAgC,EAChC,iCAAiC,EAClC,MAAM,SAAS,CAAC;AAcjB,KAAK,WAAW,GAAG;IACjB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,gCAAgC,KAAK,OAAO,CAAC;IACnE,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE;QACvB,QAAQ,EAAE,OAAO,EAAE,CAAC;QACpB,SAAS,EAAE,OAAO,CAAC;KACpB,KAAK,OAAO,CAAC;IACd,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,6BAA6B,KAAK,OAAO,CAAC;IAC9D,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,OAAO,CAAC;IACtD,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,kCAAkC,KAAK,OAAO,CAAC;IAC3E,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,iCAAiC,KAAK,OAAO,CAAC;IACzE,iBAAiB,CAAC,EAAE,MAAM,OAAO,CAAC;IAElC,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,CAAC,KAAK,EAAE,GAAG,KAAK,OAAO,CAAC,GAAG,SAAS,CAAC;CACtD,CAAC;AAs8BF,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;6EAQnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -24,159 +24,15 @@ type __VLS_Slots = {
|
|
|
24
24
|
[key: string]: ((props: any) => unknown) | undefined;
|
|
25
25
|
};
|
|
26
26
|
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
|
-
"thumbs-up": (message:
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
encryptedValue?: string | undefined;
|
|
32
|
-
metadata?: Record<string, any> | undefined;
|
|
33
|
-
content?: string | undefined;
|
|
34
|
-
subagentRunId?: string | undefined;
|
|
35
|
-
toolCalls?: {
|
|
36
|
-
function: {
|
|
37
|
-
name: string;
|
|
38
|
-
arguments: string;
|
|
39
|
-
};
|
|
40
|
-
type: "function";
|
|
41
|
-
id: string;
|
|
42
|
-
encryptedValue?: string | undefined;
|
|
43
|
-
metadata?: Record<string, any> | undefined;
|
|
44
|
-
}[] | undefined;
|
|
45
|
-
}) => any;
|
|
46
|
-
"thumbs-down": (message: {
|
|
47
|
-
id: string;
|
|
48
|
-
role: "assistant";
|
|
49
|
-
name?: string | undefined;
|
|
50
|
-
encryptedValue?: string | undefined;
|
|
51
|
-
metadata?: Record<string, any> | undefined;
|
|
52
|
-
content?: string | undefined;
|
|
53
|
-
subagentRunId?: string | undefined;
|
|
54
|
-
toolCalls?: {
|
|
55
|
-
function: {
|
|
56
|
-
name: string;
|
|
57
|
-
arguments: string;
|
|
58
|
-
};
|
|
59
|
-
type: "function";
|
|
60
|
-
id: string;
|
|
61
|
-
encryptedValue?: string | undefined;
|
|
62
|
-
metadata?: Record<string, any> | undefined;
|
|
63
|
-
}[] | undefined;
|
|
64
|
-
}) => any;
|
|
65
|
-
"read-aloud": (message: {
|
|
66
|
-
id: string;
|
|
67
|
-
role: "assistant";
|
|
68
|
-
name?: string | undefined;
|
|
69
|
-
encryptedValue?: string | undefined;
|
|
70
|
-
metadata?: Record<string, any> | undefined;
|
|
71
|
-
content?: string | undefined;
|
|
72
|
-
subagentRunId?: string | undefined;
|
|
73
|
-
toolCalls?: {
|
|
74
|
-
function: {
|
|
75
|
-
name: string;
|
|
76
|
-
arguments: string;
|
|
77
|
-
};
|
|
78
|
-
type: "function";
|
|
79
|
-
id: string;
|
|
80
|
-
encryptedValue?: string | undefined;
|
|
81
|
-
metadata?: Record<string, any> | undefined;
|
|
82
|
-
}[] | undefined;
|
|
83
|
-
}) => any;
|
|
84
|
-
regenerate: (message: {
|
|
85
|
-
id: string;
|
|
86
|
-
role: "assistant";
|
|
87
|
-
name?: string | undefined;
|
|
88
|
-
encryptedValue?: string | undefined;
|
|
89
|
-
metadata?: Record<string, any> | undefined;
|
|
90
|
-
content?: string | undefined;
|
|
91
|
-
subagentRunId?: string | undefined;
|
|
92
|
-
toolCalls?: {
|
|
93
|
-
function: {
|
|
94
|
-
name: string;
|
|
95
|
-
arguments: string;
|
|
96
|
-
};
|
|
97
|
-
type: "function";
|
|
98
|
-
id: string;
|
|
99
|
-
encryptedValue?: string | undefined;
|
|
100
|
-
metadata?: Record<string, any> | undefined;
|
|
101
|
-
}[] | undefined;
|
|
102
|
-
}) => any;
|
|
27
|
+
"thumbs-up": (message: AssistantMessage) => any;
|
|
28
|
+
"thumbs-down": (message: AssistantMessage) => any;
|
|
29
|
+
"read-aloud": (message: AssistantMessage) => any;
|
|
30
|
+
regenerate: (message: AssistantMessage) => any;
|
|
103
31
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
104
|
-
"onThumbs-up"?: ((message:
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
encryptedValue?: string | undefined;
|
|
109
|
-
metadata?: Record<string, any> | undefined;
|
|
110
|
-
content?: string | undefined;
|
|
111
|
-
subagentRunId?: string | undefined;
|
|
112
|
-
toolCalls?: {
|
|
113
|
-
function: {
|
|
114
|
-
name: string;
|
|
115
|
-
arguments: string;
|
|
116
|
-
};
|
|
117
|
-
type: "function";
|
|
118
|
-
id: string;
|
|
119
|
-
encryptedValue?: string | undefined;
|
|
120
|
-
metadata?: Record<string, any> | undefined;
|
|
121
|
-
}[] | undefined;
|
|
122
|
-
}) => any) | undefined;
|
|
123
|
-
"onThumbs-down"?: ((message: {
|
|
124
|
-
id: string;
|
|
125
|
-
role: "assistant";
|
|
126
|
-
name?: string | undefined;
|
|
127
|
-
encryptedValue?: string | undefined;
|
|
128
|
-
metadata?: Record<string, any> | undefined;
|
|
129
|
-
content?: string | undefined;
|
|
130
|
-
subagentRunId?: string | undefined;
|
|
131
|
-
toolCalls?: {
|
|
132
|
-
function: {
|
|
133
|
-
name: string;
|
|
134
|
-
arguments: string;
|
|
135
|
-
};
|
|
136
|
-
type: "function";
|
|
137
|
-
id: string;
|
|
138
|
-
encryptedValue?: string | undefined;
|
|
139
|
-
metadata?: Record<string, any> | undefined;
|
|
140
|
-
}[] | undefined;
|
|
141
|
-
}) => any) | undefined;
|
|
142
|
-
"onRead-aloud"?: ((message: {
|
|
143
|
-
id: string;
|
|
144
|
-
role: "assistant";
|
|
145
|
-
name?: string | undefined;
|
|
146
|
-
encryptedValue?: string | undefined;
|
|
147
|
-
metadata?: Record<string, any> | undefined;
|
|
148
|
-
content?: string | undefined;
|
|
149
|
-
subagentRunId?: string | undefined;
|
|
150
|
-
toolCalls?: {
|
|
151
|
-
function: {
|
|
152
|
-
name: string;
|
|
153
|
-
arguments: string;
|
|
154
|
-
};
|
|
155
|
-
type: "function";
|
|
156
|
-
id: string;
|
|
157
|
-
encryptedValue?: string | undefined;
|
|
158
|
-
metadata?: Record<string, any> | undefined;
|
|
159
|
-
}[] | undefined;
|
|
160
|
-
}) => any) | undefined;
|
|
161
|
-
onRegenerate?: ((message: {
|
|
162
|
-
id: string;
|
|
163
|
-
role: "assistant";
|
|
164
|
-
name?: string | undefined;
|
|
165
|
-
encryptedValue?: string | undefined;
|
|
166
|
-
metadata?: Record<string, any> | undefined;
|
|
167
|
-
content?: string | undefined;
|
|
168
|
-
subagentRunId?: string | undefined;
|
|
169
|
-
toolCalls?: {
|
|
170
|
-
function: {
|
|
171
|
-
name: string;
|
|
172
|
-
arguments: string;
|
|
173
|
-
};
|
|
174
|
-
type: "function";
|
|
175
|
-
id: string;
|
|
176
|
-
encryptedValue?: string | undefined;
|
|
177
|
-
metadata?: Record<string, any> | undefined;
|
|
178
|
-
}[] | undefined;
|
|
179
|
-
}) => any) | undefined;
|
|
32
|
+
"onThumbs-up"?: ((message: AssistantMessage) => any) | undefined;
|
|
33
|
+
"onThumbs-down"?: ((message: AssistantMessage) => any) | undefined;
|
|
34
|
+
"onRead-aloud"?: ((message: AssistantMessage) => any) | undefined;
|
|
35
|
+
onRegenerate?: ((message: AssistantMessage) => any) | undefined;
|
|
180
36
|
}>, {
|
|
181
37
|
messages: Message[];
|
|
182
38
|
isRunning: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CopilotChatAssistantMessage.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/chat/CopilotChatAssistantMessage.vue"],"names":[],"mappings":"AA43BA,OAAO,KAAK,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAc7D,OAAO,KAAK,EACV,8CAA8C,EAC9C,0CAA0C,EAC1C,mDAAmD,EACnD,mDAAmD,EACnD,oDAAoD,EACpD,oDAAoD,EACpD,kDAAkD,EAClD,iDAAiD,EACjD,2CAA2C,EAC5C,MAAM,SAAS,CAAC;AAKjB,KAAK,WAAW,GAAG;IACf,OAAO,EAAE,gBAAgB,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACjD,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACnD,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAClD,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,gBAAgB,KAAK,IAAI,CAAC;CACpD,CAAC;AAUJ,KAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,0CAA0C,KAAK,OAAO,CAAC;IACxE,kBAAkB,CAAC,EAAE,CACnB,KAAK,EAAE,mDAAmD,KACvD,OAAO,CAAC;IACb,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,2CAA2C,KAAK,OAAO,CAAC;IAC1E,aAAa,CAAC,EAAE,CACd,KAAK,EAAE,8CAA8C,KAClD,OAAO,CAAC;IACb,kBAAkB,CAAC,EAAE,CACnB,KAAK,EAAE,kDAAkD,KACtD,OAAO,CAAC;IACb,oBAAoB,CAAC,EAAE,CACrB,KAAK,EAAE,oDAAoD,KACxD,OAAO,CAAC;IACb,mBAAmB,CAAC,EAAE,CACpB,KAAK,EAAE,mDAAmD,KACvD,OAAO,CAAC;IACb,mBAAmB,CAAC,EAAE,CACpB,KAAK,EAAE,oDAAoD,KACxD,OAAO,CAAC;IACb,iBAAiB,CAAC,EAAE,CAClB,KAAK,EAAE,iDAAiD,KACrD,OAAO,CAAC;IACb,eAAe,CAAC,EAAE,MAAM,OAAO,CAAC;IAChC,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,CAAC,KAAK,EAAE,GAAG,KAAK,OAAO,CAAC,GAAG,SAAS,CAAC;CACtD,CAAC;AA86BF,QAAA,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"CopilotChatAssistantMessage.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/chat/CopilotChatAssistantMessage.vue"],"names":[],"mappings":"AA43BA,OAAO,KAAK,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAc7D,OAAO,KAAK,EACV,8CAA8C,EAC9C,0CAA0C,EAC1C,mDAAmD,EACnD,mDAAmD,EACnD,oDAAoD,EACpD,oDAAoD,EACpD,kDAAkD,EAClD,iDAAiD,EACjD,2CAA2C,EAC5C,MAAM,SAAS,CAAC;AAKjB,KAAK,WAAW,GAAG;IACf,OAAO,EAAE,gBAAgB,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACjD,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACnD,WAAW,CAAC,EAAE,CAAC,OAAO,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAClD,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,gBAAgB,KAAK,IAAI,CAAC;CACpD,CAAC;AAUJ,KAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,0CAA0C,KAAK,OAAO,CAAC;IACxE,kBAAkB,CAAC,EAAE,CACnB,KAAK,EAAE,mDAAmD,KACvD,OAAO,CAAC;IACb,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,2CAA2C,KAAK,OAAO,CAAC;IAC1E,aAAa,CAAC,EAAE,CACd,KAAK,EAAE,8CAA8C,KAClD,OAAO,CAAC;IACb,kBAAkB,CAAC,EAAE,CACnB,KAAK,EAAE,kDAAkD,KACtD,OAAO,CAAC;IACb,oBAAoB,CAAC,EAAE,CACrB,KAAK,EAAE,oDAAoD,KACxD,OAAO,CAAC;IACb,mBAAmB,CAAC,EAAE,CACpB,KAAK,EAAE,mDAAmD,KACvD,OAAO,CAAC;IACb,mBAAmB,CAAC,EAAE,CACpB,KAAK,EAAE,oDAAoD,KACxD,OAAO,CAAC;IACb,iBAAiB,CAAC,EAAE,CAClB,KAAK,EAAE,iDAAiD,KACrD,OAAO,CAAC;IACb,eAAe,CAAC,EAAE,MAAM,OAAO,CAAC;IAChC,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,CAAC,KAAK,EAAE,GAAG,KAAK,OAAO,CAAC,GAAG,SAAS,CAAC;CACtD,CAAC;AA86BF,QAAA,MAAM,eAAe;;;;;;;;;;;cAz9BN,OAAO,EAAE;eACR,OAAO;oBACF,OAAO;6EA+9B1B,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -89,8 +89,8 @@ declare const __VLS_component: import("vue").DefineComponent<CopilotChatViewProp
|
|
|
89
89
|
"onSelect-suggestion"?: ((suggestion: Suggestion, index: number) => any) | undefined;
|
|
90
90
|
"onInput-change"?: ((value: string) => any) | undefined;
|
|
91
91
|
}>, {
|
|
92
|
-
messages: Message[];
|
|
93
92
|
hasExplicitThreadId: boolean;
|
|
93
|
+
messages: Message[];
|
|
94
94
|
isRunning: boolean;
|
|
95
95
|
suggestions: Suggestion[];
|
|
96
96
|
suggestionLoadingIndexes: ReadonlyArray<number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CopilotPopupViewInternal.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/chat/CopilotPopupViewInternal.vue"],"names":[],"mappings":"AAucA,OAAO,KAAK,EACV,2BAA2B,EAC3B,+BAA+B,EAC/B,wCAAwC,EACxC,8BAA8B,EAC9B,iCAAiC,EACjC,+BAA+B,EAC/B,qBAAqB,EACrB,qCAAqC,EACrC,yCAAyC,EACzC,kDAAkD,EACnD,MAAM,SAAS,CAAC;AAQjB,KAAK,WAAW,GAAG,IAAI,CAAC,qBAAqB,EAAE,aAAa,CAAC,CAAC;AAoB9D,KAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,+BAA+B,KAAK,OAAO,CAAC;IAC7D,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,qCAAqC,KAAK,OAAO,CAAC;IAC5E,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,+BAA+B,KAAK,OAAO,CAAC;IACrE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,8BAA8B,KAAK,OAAO,CAAC;IACnE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,2BAA2B,KAAK,OAAO,CAAC;IAC1D,yBAAyB,CAAC,EAAE,CAC1B,KAAK,EAAE,wCAAwC,KAC5C,OAAO,CAAC;IACb,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,yCAAyC,KAAK,OAAO,CAAC;IACtE,iBAAiB,CAAC,EAAE,CAClB,KAAK,EAAE,kDAAkD,KACtD,OAAO,CAAC;IACb,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,iCAAiC,KAAK,OAAO,CAAC;IACzE,iBAAiB,CAAC,EAAE,MAAM,OAAO,CAAC;CACnC,CAAC;
|
|
1
|
+
{"version":3,"file":"CopilotPopupViewInternal.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/chat/CopilotPopupViewInternal.vue"],"names":[],"mappings":"AAucA,OAAO,KAAK,EACV,2BAA2B,EAC3B,+BAA+B,EAC/B,wCAAwC,EACxC,8BAA8B,EAC9B,iCAAiC,EACjC,+BAA+B,EAC/B,qBAAqB,EACrB,qCAAqC,EACrC,yCAAyC,EACzC,kDAAkD,EACnD,MAAM,SAAS,CAAC;AAQjB,KAAK,WAAW,GAAG,IAAI,CAAC,qBAAqB,EAAE,aAAa,CAAC,CAAC;AAoB9D,KAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,+BAA+B,KAAK,OAAO,CAAC;IAC7D,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,qCAAqC,KAAK,OAAO,CAAC;IAC5E,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,+BAA+B,KAAK,OAAO,CAAC;IACrE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,8BAA8B,KAAK,OAAO,CAAC;IACnE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,2BAA2B,KAAK,OAAO,CAAC;IAC1D,yBAAyB,CAAC,EAAE,CAC1B,KAAK,EAAE,wCAAwC,KAC5C,OAAO,CAAC;IACb,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,yCAAyC,KAAK,OAAO,CAAC;IACtE,iBAAiB,CAAC,EAAE,CAClB,KAAK,EAAE,kDAAkD,KACtD,OAAO,CAAC;IACb,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,iCAAiC,KAAK,OAAO,CAAC;IACzE,iBAAiB,CAAC,EAAE,MAAM,OAAO,CAAC;CACnC,CAAC;AAihBF,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAQnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"copilotChatToolCallItemRender.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/chat/copilotChatToolCallItemRender.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"copilotChatToolCallItemRender.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/chat/copilotChatToolCallItemRender.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAKlE,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,SAAS,CAAC;AAClE,OAAO,KAAK,EACV,mBAAmB,EACnB,8BAA8B,EAC/B,MAAM,aAAa,CAAC;AAErB,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,OAAO,EAAE,EACnB,UAAU,EAAE,MAAM,GACjB,WAAW,GAAG,SAAS,CAMzB;AAED,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,aAAa,MAAM,EAAE,CAE3E;AAED,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,QAAQ,EAClB,eAAe,EAAE,SAAS,mBAAmB,CAAC,OAAO,CAAC,EAAE,EACxD,OAAO,EAAE,MAAM,GACd,mBAAmB,CAAC,OAAO,CAAC,GAAG,SAAS,CAW1C;AAED,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,OAAO,EAAE,EACnB,oBAAoB,EAAE,WAAW,CAAC,MAAM,CAAC,GACxC,kCAAkC,CAwBpC;AAED,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,OAAO,EAAE,EACnB,oBAAoB,EAAE,WAAW,CAAC,MAAM,CAAC,GACxC,8BAA8B,CAAC,OAAO,CAAC,CAgCzC;AAED,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,OAAO,EAAE,EACnB,oBAAoB,EAAE,WAAW,CAAC,MAAM,CAAC,EACzC,eAAe,EAAE,SAAS,mBAAmB,CAAC,OAAO,CAAC,EAAE,EACxD,OAAO,GAAE,MAAyB,GACjC,OAAO,EAAE,CASX"}
|
|
@@ -127,8 +127,8 @@ export declare const CopilotChat: {
|
|
|
127
127
|
"select-suggestion": (suggestion: import("@copilotkit/core").Suggestion, index: number) => any;
|
|
128
128
|
"input-change": (value: string) => any;
|
|
129
129
|
}, import("vue").PublicProps, {
|
|
130
|
-
messages: import("@ag-ui/core").Message[];
|
|
131
130
|
hasExplicitThreadId: boolean;
|
|
131
|
+
messages: import("@ag-ui/core").Message[];
|
|
132
132
|
isRunning: boolean;
|
|
133
133
|
suggestions: import("@copilotkit/core").Suggestion[];
|
|
134
134
|
suggestionLoadingIndexes: ReadonlyArray<number>;
|
|
@@ -156,8 +156,8 @@ export declare const CopilotChat: {
|
|
|
156
156
|
"onSelect-suggestion"?: ((suggestion: import("@copilotkit/core").Suggestion, index: number) => any) | undefined;
|
|
157
157
|
"onInput-change"?: ((value: string) => any) | undefined;
|
|
158
158
|
}>, {}, {}, {}, {}, {
|
|
159
|
-
messages: import("@ag-ui/core").Message[];
|
|
160
159
|
hasExplicitThreadId: boolean;
|
|
160
|
+
messages: import("@ag-ui/core").Message[];
|
|
161
161
|
isRunning: boolean;
|
|
162
162
|
suggestions: import("@copilotkit/core").Suggestion[];
|
|
163
163
|
suggestionLoadingIndexes: ReadonlyArray<number>;
|
|
@@ -191,8 +191,8 @@ export declare const CopilotChat: {
|
|
|
191
191
|
"select-suggestion": (suggestion: import("@copilotkit/core").Suggestion, index: number) => any;
|
|
192
192
|
"input-change": (value: string) => any;
|
|
193
193
|
}, string, {
|
|
194
|
-
messages: import("@ag-ui/core").Message[];
|
|
195
194
|
hasExplicitThreadId: boolean;
|
|
195
|
+
messages: import("@ag-ui/core").Message[];
|
|
196
196
|
isRunning: boolean;
|
|
197
197
|
suggestions: import("@copilotkit/core").Suggestion[];
|
|
198
198
|
suggestionLoadingIndexes: ReadonlyArray<number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-agent.d.ts","sourceRoot":"","sources":["../../../src/v2/hooks/use-agent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"use-agent.d.ts","sourceRoot":"","sources":["../../../src/v2/hooks/use-agent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAC;AAE5C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAanD,oBAAY,cAAc;IACxB,iBAAiB,sBAAsB;IACvC,cAAc,mBAAmB;IACjC,kBAAkB,uBAAuB;CAC1C;AAQD,UAAU,iBAAiB;IACzB,OAAO,CAAC,EAAE,cAAc,EAAE,CAAC;IAC3B;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,UAAU,CAAC,EAAE,gBAAgB,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACnD;AAED;;;;;GAKG;AACH,UAAU,yBAAyB;IACjC;;;;OAIG;IACH,OAAO,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;IAClC;;;;;;;;OAQG;IACH,cAAc,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;IACzC;;;;;;OAMG;IACH,QAAQ,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;CACpC;AAED;;;;;;;;GAQG;AACH,UAAU,qBAAqB;IAC7B;;;OAGG;IACH,OAAO,CAAC,EAAE,gBAAgB,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C,iFAAiF;IACjF,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,iFAAiF;IACjF,cAAc,CAAC,EAAE,SAAS,CAAC;CAC5B;AAED;;;;;;;;;;GAUG;AACH,MAAM,MAAM,aAAa,GAAG,iBAAiB,GAC3C,CAAC,yBAAyB,GAAG,qBAAqB,CAAC,CAAC;AAEtD;;;;;;;;;;;GAWG;AACH,wBAAgB,QAAQ,CAAC,KAAK,GAAE,aAAkB;;EAmVjD"}
|
package/dist/v2/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("@copilotkit/core"),i=require("@ag-ui/client"),e=require("../use-render-activity-message-CGdS03Xj.cjs"),n=require("@copilotkit/shared");exports.A2UIActivityContentSchema=e.A2UIActivityContentSchema;exports.A2UISurfaceActivityRenderer=e._sfc_main;exports.A2UISurfaceActivityType=e.A2UISurfaceActivityType;exports.CopilotChat=e.CopilotChat;exports.CopilotChatAssistantMessage=e._sfc_main$1;exports.CopilotChatAttachmentQueue=e._sfc_main$2;exports.CopilotChatAttachmentRenderer=e._sfc_main$3;exports.CopilotChatAudioRecorder=e._sfc_main$4;exports.CopilotChatConfigurationProvider=e._sfc_main$5;exports.CopilotChatDefaultLabels=e.CopilotChatDefaultLabels;exports.CopilotChatInput=e._sfc_main$6;exports.CopilotChatMessageView=e._sfc_main$7;exports.CopilotChatReasoningMessage=e._sfc_main$8;exports.CopilotChatSuggestionPill=e._sfc_main$9;exports.CopilotChatSuggestionView=e._sfc_main$10;exports.CopilotChatToggleButton=e.CopilotChatToggleButton;exports.CopilotChatToggleButtonCloseIcon=e.CopilotChatToggleButtonCloseIcon;exports.CopilotChatToggleButtonOpenIcon=e.CopilotChatToggleButtonOpenIcon;exports.CopilotChatToolCallsView=e._sfc_main$11;exports.CopilotChatUserMessage=e._sfc_main$12;exports.CopilotChatView=e._sfc_main$13;exports.CopilotKitCoreVue=e.CopilotKitCoreVue;exports.CopilotKitInspector=e._sfc_main$14;exports.CopilotKitProvider=e._sfc_main$15;exports.CopilotModalHeader=e.CopilotModalHeader;exports.CopilotPopup=e._sfc_main$16;exports.CopilotPopupView=e.CopilotPopupView;exports.CopilotSidebar=e._sfc_main$17;exports.CopilotSidebarView=e.CopilotSidebarView;exports.CopilotThreadsDrawer=e._sfc_main$18;exports.GenerateSandboxedUiArgsSchema=e.GenerateSandboxedUiArgsSchema;exports.LicenseContextKey=e.LicenseContextKey;exports.MCPAppsActivityContentSchema=e.MCPAppsActivityContentSchema;exports.MCPAppsActivityRenderer=e.MCPAppsActivityRenderer;exports.MCPAppsActivityType=e.MCPAppsActivityType;exports.OpenGenerativeUIActivityRenderer=e.OpenGenerativeUIActivityRenderer;exports.OpenGenerativeUIActivityType=e.OpenGenerativeUIActivityType;exports.OpenGenerativeUIContentSchema=e.OpenGenerativeUIContentSchema;exports.OpenGenerativeUIRenderer=e.OpenGenerativeUIRenderer;exports.OpenGenerativeUIToolRenderer=e.OpenGenerativeUIToolRenderer;exports.UseAgentUpdate=e.UseAgentUpdate;exports.createA2UIMessageRenderer=e.createA2UIMessageRenderer;exports.createDefaultLicenseRef=e.createDefaultLicenseRef;exports.defineToolCallRenderer=e.defineToolCallRenderer;exports.extractCompleteStyles=e.extractCompleteStyles;exports.getOperationSurfaceId=e.getOperationSurfaceId;exports.processPartialHtml=e.processPartialHtml;exports.useAgent=e.useAgent;exports.useAgentContext=e.useAgentContext;exports.useAttachments=e.useAttachments;exports.useCapabilities=e.useCapabilities;exports.useComponent=e.useComponent;exports.useConfigureSuggestions=e.useConfigureSuggestions;exports.useCopilotChatConfiguration=e.useCopilotChatConfiguration;exports.useCopilotKit=e.useCopilotKit;exports.useDefaultRenderTool=e.useDefaultRenderTool;exports.useFrontendTool=e.useFrontendTool;exports.useHumanInTheLoop=e.useHumanInTheLoop;exports.useInterrupt=e.useInterrupt;exports.useKatexStyles=e.useKatexStyles;exports.useKeyboardHeight=e.useKeyboardHeight;exports.useLicenseContext=e.useLicenseContext;exports.useRenderActivityMessage=e.useRenderActivityMessage;exports.useRenderCustomMessages=e.useRenderCustomMessages;exports.useRenderTool=e.useRenderTool;exports.useSandboxFunctions=e.useSandboxFunctions;exports.useSuggestions=e.useSuggestions;exports.useThreads=e.useThreads;exports.vueBasicCatalog=e.vueBasicCatalog;Object.defineProperty(exports,"createLicenseContextValue",{enumerable:!0,get:()=>n.createLicenseContextValue});Object.keys(o).forEach(t=>{t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:()=>o[t]})});Object.keys(i).forEach(t=>{t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:()=>i[t]})});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("@copilotkit/core"),a=require("@ag-ui/client"),e=require("../use-render-activity-message-JCCE1lgH.cjs"),n=require("@copilotkit/mcp-apps-renderer/activity"),c=require("@copilotkit/shared");Object.defineProperty(exports,"PROTOCOL_VERSION",{enumerable:!0,get:()=>a.PROTOCOL_VERSION});exports.A2UIActivityContentSchema=e.A2UIActivityContentSchema;exports.A2UISurfaceActivityRenderer=e._sfc_main;exports.A2UISurfaceActivityType=e.A2UISurfaceActivityType;exports.ActivityDeltaEventSchema=e.ActivityDeltaEventSchema;exports.ActivityMessageSchema=e.ActivityMessageSchema;exports.ActivitySnapshotEventSchema=e.ActivitySnapshotEventSchema;exports.AddOperationSchema=e.AddOperationSchema;exports.AgentCapabilitiesSchema=e.AgentCapabilitiesSchema;exports.AssistantMessageSchema=e.AssistantMessageSchema;exports.AttributableSchema=e.AttributableSchema;exports.AudioInputContentSchema=e.AudioPartSchema;exports.AudioInputPartSchema=e.AudioPartSchema;exports.AudioPartSchema=e.AudioPartSchema;exports.BaseEventSchema=e.BaseEventSchema;exports.BaseMessageSchema=e.BaseMessageSchema;exports.ContentPartSchema=e.ContentPartSchema;exports.ContextSchema=e.ContextSchema;exports.CopilotChat=e.CopilotChat;exports.CopilotChatAssistantMessage=e._sfc_main$1;exports.CopilotChatAttachmentQueue=e._sfc_main$2;exports.CopilotChatAttachmentRenderer=e._sfc_main$3;exports.CopilotChatAudioRecorder=e._sfc_main$4;exports.CopilotChatConfigurationProvider=e._sfc_main$5;exports.CopilotChatDefaultLabels=e.CopilotChatDefaultLabels;exports.CopilotChatInput=e._sfc_main$6;exports.CopilotChatMessageView=e._sfc_main$7;exports.CopilotChatReasoningMessage=e._sfc_main$8;exports.CopilotChatSuggestionPill=e._sfc_main$9;exports.CopilotChatSuggestionView=e._sfc_main$10;exports.CopilotChatToggleButton=e.CopilotChatToggleButton;exports.CopilotChatToggleButtonCloseIcon=e.CopilotChatToggleButtonCloseIcon;exports.CopilotChatToggleButtonOpenIcon=e.CopilotChatToggleButtonOpenIcon;exports.CopilotChatToolCallsView=e._sfc_main$11;exports.CopilotChatUserMessage=e._sfc_main$12;exports.CopilotChatView=e._sfc_main$13;exports.CopilotKitCoreVue=e.CopilotKitCoreVue;exports.CopilotKitInspector=e._sfc_main$14;exports.CopilotKitProvider=e._sfc_main$15;exports.CopilotModalHeader=e.CopilotModalHeader;exports.CopilotPopup=e._sfc_main$16;exports.CopilotPopupView=e.CopilotPopupView;exports.CopilotSidebar=e._sfc_main$17;exports.CopilotSidebarView=e.CopilotSidebarView;exports.CopilotThreadsDrawer=e._sfc_main$18;exports.CopyOperationSchema=e.CopyOperationSchema;exports.CustomEventSchema=e.CustomEventSchema;exports.DataSourceSchema=e.DataSourceSchema;exports.DeveloperMessageSchema=e.DeveloperMessageSchema;exports.DocumentInputContentSchema=e.DocumentPartSchema;exports.DocumentInputPartSchema=e.DocumentPartSchema;exports.DocumentPartSchema=e.DocumentPartSchema;exports.EventSchema=e.EventSchema;exports.EventSchemas=e.EventSchema;exports.EventTypeSchema=e.EventTypeSchema;exports.ExecutionCapabilitiesSchema=e.ExecutionCapabilitiesSchema;exports.FileSourceSchema=e.FileSourceSchema;exports.FunctionCallSchema=e.FunctionCallSchema;exports.GenerateSandboxedUiArgsSchema=e.GenerateSandboxedUiArgsSchema;exports.HumanInTheLoopCapabilitiesSchema=e.HumanInTheLoopCapabilitiesSchema;exports.IdentityCapabilitiesSchema=e.IdentityCapabilitiesSchema;exports.ImageInputContentSchema=e.ImagePartSchema;exports.ImageInputPartSchema=e.ImagePartSchema;exports.ImagePartSchema=e.ImagePartSchema;exports.InputContentDataSourceSchema=e.DataSourceSchema;exports.InputContentSchema=e.ContentPartSchema;exports.InputContentSourceSchema=e.PartSourceSchema;exports.InputContentUrlSourceSchema=e.UrlSourceSchema;exports.InterruptSchema=e.InterruptSchema;exports.JsonPatchOperationSchema=e.JsonPatchOperationSchema;exports.JsonPatchSchema=e.JsonPatchSchema;exports.JsonPointerSchema=e.JsonPointerSchema;exports.LicenseContextKey=e.LicenseContextKey;exports.MCPAppsActivityRenderer=e.MCPAppsActivityRenderer;exports.MessageSchema=e.MessageSchema;exports.MessagesSnapshotEventSchema=e.MessagesSnapshotEventSchema;exports.MetadataSchema=e.MetadataSchema;exports.MoveOperationSchema=e.MoveOperationSchema;exports.MultiAgentCapabilitiesSchema=e.MultiAgentCapabilitiesSchema;exports.MultimodalCapabilitiesSchema=e.MultimodalCapabilitiesSchema;exports.MultimodalInputCapabilitiesSchema=e.MultimodalInputCapabilitiesSchema;exports.MultimodalOutputCapabilitiesSchema=e.MultimodalOutputCapabilitiesSchema;exports.OpenGenerativeUIActivityRenderer=e.OpenGenerativeUIActivityRenderer;exports.OpenGenerativeUIActivityType=e.OpenGenerativeUIActivityType;exports.OpenGenerativeUIContentSchema=e.OpenGenerativeUIContentSchema;exports.OpenGenerativeUIRenderer=e.OpenGenerativeUIRenderer;exports.OpenGenerativeUIToolRenderer=e.OpenGenerativeUIToolRenderer;exports.OptionalMetadataSchema=e.OptionalMetadataSchema;exports.OutputCapabilitiesSchema=e.OutputCapabilitiesSchema;exports.PartSourceSchema=e.PartSourceSchema;exports.RawEventSchema=e.RawEventSchema;exports.ReasoningCapabilitiesSchema=e.ReasoningCapabilitiesSchema;exports.ReasoningEncryptedValueEventSchema=e.ReasoningEncryptedValueEventSchema;exports.ReasoningEncryptedValueSubtypeSchema=e.ReasoningEncryptedValueSubtypeSchema;exports.ReasoningEndEventSchema=e.ReasoningEndEventSchema;exports.ReasoningMessageChunkEventSchema=e.ReasoningMessageChunkEventSchema;exports.ReasoningMessageContentEventSchema=e.ReasoningMessageContentEventSchema;exports.ReasoningMessageEndEventSchema=e.ReasoningMessageEndEventSchema;exports.ReasoningMessageSchema=e.ReasoningMessageSchema;exports.ReasoningMessageStartEventSchema=e.ReasoningMessageStartEventSchema;exports.ReasoningStartEventSchema=e.ReasoningStartEventSchema;exports.RemoveOperationSchema=e.RemoveOperationSchema;exports.ReplaceOperationSchema=e.ReplaceOperationSchema;exports.ResumeEntrySchema=e.ResumeEntrySchema;exports.RoleSchema=e.RoleSchema;exports.RunAgentInputSchema=e.RunAgentInputSchema;exports.RunErrorEventSchema=e.RunErrorEventSchema;exports.RunFinishedCancelledOutcomeSchema=e.RunFinishedCancelledOutcomeSchema;exports.RunFinishedEventSchema=e.RunFinishedEventSchema;exports.RunFinishedInterruptOutcomeSchema=e.RunFinishedInterruptOutcomeSchema;exports.RunFinishedOutcomeSchema=e.RunFinishedOutcomeSchema;exports.RunFinishedSuccessOutcomeSchema=e.RunFinishedSuccessOutcomeSchema;exports.RunStartedEventSchema=e.RunStartedEventSchema;exports.StateCapabilitiesSchema=e.StateCapabilitiesSchema;exports.StateDeltaEventSchema=e.StateDeltaEventSchema;exports.StateSchema=e.StateSchema;exports.StateSnapshotEventSchema=e.StateSnapshotEventSchema;exports.StepFinishedEventSchema=e.StepFinishedEventSchema;exports.StepStartedEventSchema=e.StepStartedEventSchema;exports.SubagentErrorEventSchema=e.SubagentErrorEventSchema;exports.SubagentFinishedEventSchema=e.SubagentFinishedEventSchema;exports.SubagentFinishedOutcomeSchema=e.SubagentFinishedOutcomeSchema;exports.SubagentFinishedSuccessOutcomeSchema=e.SubagentFinishedSuccessOutcomeSchema;exports.SubagentFinishedSuspendedOutcomeSchema=e.SubagentFinishedSuspendedOutcomeSchema;exports.SubagentInfoSchema=e.SubagentInfoSchema;exports.SubagentRunIdSchema=e.SubagentRunIdSchema;exports.SubagentStartedEventSchema=e.SubagentStartedEventSchema;exports.SystemMessageSchema=e.SystemMessageSchema;exports.TestOperationSchema=e.TestOperationSchema;exports.TextInputContentSchema=e.TextPartSchema;exports.TextMessageChunkEventSchema=e.TextMessageChunkEventSchema;exports.TextMessageContentEventSchema=e.TextMessageContentEventSchema;exports.TextMessageEndEventSchema=e.TextMessageEndEventSchema;exports.TextMessageRoleSchema=e.TextMessageRoleSchema;exports.TextMessageStartEventSchema=e.TextMessageStartEventSchema;exports.TextPartSchema=e.TextPartSchema;exports.TokenUsageSchema=e.TokenUsageSchema;exports.ToolCallArgsEventSchema=e.ToolCallArgsEventSchema;exports.ToolCallChunkEventSchema=e.ToolCallChunkEventSchema;exports.ToolCallEndEventSchema=e.ToolCallEndEventSchema;exports.ToolCallResultEventSchema=e.ToolCallResultEventSchema;exports.ToolCallSchema=e.ToolCallSchema;exports.ToolCallStartEventSchema=e.ToolCallStartEventSchema;exports.ToolMessageSchema=e.ToolMessageSchema;exports.ToolSchema=e.ToolSchema;exports.ToolsCapabilitiesSchema=e.ToolsCapabilitiesSchema;exports.TransportCapabilitiesSchema=e.TransportCapabilitiesSchema;exports.UrlSourceSchema=e.UrlSourceSchema;exports.UseAgentUpdate=e.UseAgentUpdate;exports.UserMessageSchema=e.UserMessageSchema;exports.VideoInputContentSchema=e.VideoPartSchema;exports.VideoInputPartSchema=e.VideoPartSchema;exports.VideoPartSchema=e.VideoPartSchema;exports.createA2UIMessageRenderer=e.createA2UIMessageRenderer;exports.createDefaultLicenseRef=e.createDefaultLicenseRef;exports.defineToolCallRenderer=e.defineToolCallRenderer;exports.extractCompleteStyles=e.extractCompleteStyles;exports.getOperationSurfaceId=e.getOperationSurfaceId;exports.processPartialHtml=e.processPartialHtml;exports.useAgent=e.useAgent;exports.useAgentContext=e.useAgentContext;exports.useAttachments=e.useAttachments;exports.useCapabilities=e.useCapabilities;exports.useComponent=e.useComponent;exports.useConfigureSuggestions=e.useConfigureSuggestions;exports.useCopilotChatConfiguration=e.useCopilotChatConfiguration;exports.useCopilotKit=e.useCopilotKit;exports.useDefaultRenderTool=e.useDefaultRenderTool;exports.useFrontendTool=e.useFrontendTool;exports.useHumanInTheLoop=e.useHumanInTheLoop;exports.useInterrupt=e.useInterrupt;exports.useKatexStyles=e.useKatexStyles;exports.useKeyboardHeight=e.useKeyboardHeight;exports.useLicenseContext=e.useLicenseContext;exports.useRenderActivityMessage=e.useRenderActivityMessage;exports.useRenderCustomMessages=e.useRenderCustomMessages;exports.useRenderTool=e.useRenderTool;exports.useSandboxFunctions=e.useSandboxFunctions;exports.useSuggestions=e.useSuggestions;exports.useThreads=e.useThreads;exports.vueBasicCatalog=e.vueBasicCatalog;Object.defineProperty(exports,"MCPAppsActivityContentSchema",{enumerable:!0,get:()=>n.MCPAppsActivityContentSchema});Object.defineProperty(exports,"MCPAppsActivityType",{enumerable:!0,get:()=>n.MCPAppsActivityType});Object.defineProperty(exports,"ɵrunMcpFollowUp",{enumerable:!0,get:()=>n.ɵrunMcpFollowUp});Object.defineProperty(exports,"createLicenseContextValue",{enumerable:!0,get:()=>c.createLicenseContextValue});Object.keys(o).forEach(t=>{t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:()=>o[t]})});Object.keys(a).forEach(t=>{t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:()=>a[t]})});
|
|
2
2
|
//# sourceMappingURL=index.cjs.map
|
package/dist/v2/index.d.cts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from "@copilotkit/core";
|
|
2
2
|
export * from "@ag-ui/client";
|
|
3
|
+
export * from "@ag-ui/core/schemas";
|
|
4
|
+
export { PROTOCOL_VERSION } from "@ag-ui/client";
|
|
3
5
|
export * from "./components";
|
|
4
6
|
export { vueBasicCatalog } from "./components/a2ui/catalog";
|
|
5
7
|
export * from "./hooks";
|
package/dist/v2/index.d.mts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from "@copilotkit/core";
|
|
2
2
|
export * from "@ag-ui/client";
|
|
3
|
+
export * from "@ag-ui/core/schemas";
|
|
4
|
+
export { PROTOCOL_VERSION } from "@ag-ui/client";
|
|
3
5
|
export * from "./components";
|
|
4
6
|
export { vueBasicCatalog } from "./components/a2ui/catalog";
|
|
5
7
|
export * from "./hooks";
|
package/dist/v2/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export * from "@copilotkit/core";
|
|
2
2
|
export * from "@ag-ui/client";
|
|
3
|
+
export * from "@ag-ui/core/schemas";
|
|
4
|
+
export { PROTOCOL_VERSION } from "@ag-ui/client";
|
|
3
5
|
export * from "./components";
|
|
4
6
|
export { vueBasicCatalog } from "./components/a2ui/catalog";
|
|
5
7
|
export * from "./hooks";
|
package/dist/v2/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/v2/index.ts"],"names":[],"mappings":"AACA,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/v2/index.ts"],"names":[],"mappings":"AACA,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAI9B,cAAc,qBAAqB,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAGjD,cAAc,cAAc,CAAC;AAK7B,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC"}
|