@copilotkit/vue 1.76.0 → 1.77.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/PARITY.md +93 -35
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +124 -122
- package/dist/index.mjs.map +1 -1
- package/dist/{use-render-activity-message-Eu6R2vGT.js → use-render-activity-message-C5XGgWI-.js} +4317 -4628
- package/dist/use-render-activity-message-C5XGgWI-.js.map +1 -0
- package/dist/use-render-activity-message-N-zuj24U.cjs +70 -0
- package/dist/use-render-activity-message-N-zuj24U.cjs.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/CopilotChatView.vue.d.ts +1 -1
- package/dist/v2/components/chat/CopilotPopupViewInternal.vue.d.ts.map +1 -1
- package/dist/v2/components/chat/index.d.ts +3 -3
- package/dist/v2/index.cjs +1 -1
- package/dist/v2/index.mjs +125 -123
- package/dist/v2/index.mjs.map +1 -1
- package/dist/v2/providers/CopilotKitProvider.vue.d.ts.map +1 -1
- package/package.json +8 -7
- 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/CopilotPopupViewInternal.vue +1 -1
- package/src/v2/components/chat/__tests__/CopilotPopupView.slots.e2e.test.ts +20 -0
- package/src/v2/providers/CopilotKitProvider.vue +1 -14
- package/vite.config.ts +7 -0
- package/dist/use-render-activity-message-BTKmd3f3.cjs +0 -110
- package/dist/use-render-activity-message-BTKmd3f3.cjs.map +0 -1
- package/dist/use-render-activity-message-Eu6R2vGT.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"}
|
|
@@ -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"}
|
|
@@ -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>;
|
package/dist/v2/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("@copilotkit/core"),a=require("@ag-ui/client"),e=require("../use-render-activity-message-BTKmd3f3.cjs"),o=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.MCPAppsActivityContentSchema=e.MCPAppsActivityContentSchema;exports.MCPAppsActivityRenderer=e.MCPAppsActivityRenderer;exports.MCPAppsActivityType=e.MCPAppsActivityType;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,"createLicenseContextValue",{enumerable:!0,get:()=>o.createLicenseContextValue});Object.keys(n).forEach(t=>{t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:()=>n[t]})});Object.keys(a).forEach(t=>{t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:()=>a[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-N-zuj24U.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.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export * from "@copilotkit/core";
|
|
2
2
|
export * from "@ag-ui/client";
|
|
3
3
|
import { PROTOCOL_VERSION as n } from "@ag-ui/client";
|
|
4
|
-
import { A as i, _ as c, a as S, b as h, c as m, d as u, e as r, f as
|
|
5
|
-
import {
|
|
4
|
+
import { A as i, _ as c, a as S, b as h, c as m, d as u, e as r, f as p, g as l, h as C, i as b, i as g, i as d, B as v, j as E, C as R, k as I, l as A, m as T, n as M, o as y, p as O, q as x, r as P, s as f, t as U, u as F, v as V, w as D, x as w, y as L, z as K, D as B, E as G, F as H, G as k, H as J, I as j, J as q, K as z, L as N, M as Q, N as _, O as W, P as X, Q as Y, R as Z, S as $, T as aa, T as ea, T as ta, U as sa, U as na, V as oa, W as ia, X as ca, Y as Sa, Z as ha, $ as ma, a0 as ua, a1 as ra, a1 as pa, a1 as la, R as Ca, C as ba, a2 as ga, a3 as da, a4 as va, a5 as Ea, a6 as Ra, a7 as Ia, a8 as Aa, a9 as Ta, aa as Ma, ab as ya, ac as Oa, ad as xa, ae as Pa, af as fa, ag as Ua, ah as Fa, ai as Va, aj as Da, ak as wa, al as La, am as Ka, an as Ba, ao as Ga, a2 as Ha, ap as ka, aq as Ja, ar as ja, as as qa, at as za, au as Na, av as Qa, aw as _a, ax as Wa, ay as Xa, az as Ya, aA as Za, aB as $a, aC as ae, aD as ee, aE as te, aF as se, aG as ne, aH as oe, aI as ie, aJ as ce, aK as Se, aL as he, aM as me, aN as ue, aO as re, aP as pe, aQ as le, aR as Ce, aS as be, aT as ge, aU as de, aV as ve, aW as Ee, aX as Re, aY as Ie, aZ as Ae, a_ as Te, a$ as Me, b0 as ye, b1 as Oe, b2 as xe, b3 as Pe, b4 as fe, b5 as Ue, b0 as Fe, b6 as Ve, b7 as De, b8 as we, b9 as Le, ba as Ke, bb as Be, bc as Ge, bd as He, be as ke, bf as Je, bg as je, a3 as qe, bh as ze, bi as Ne, bj as Qe, bj as _e, bj as We, bk as Xe, bl as Ye, bm as Ze, bn as $e, bo as at, bp as et, bq as tt, br as st, bs as nt, bt as ot, bu as it, bv as ct, bw as St, bx as ht, by as mt, bz as ut, bA as rt, bB as pt, bC as lt, bD as Ct, bE as bt, bF as gt, bG as dt, bH as vt, bI as Et, bJ as Rt, bK as It, bL as At } from "../use-render-activity-message-C5XGgWI-.js";
|
|
5
|
+
import { MCPAppsActivityContentSchema as Mt, MCPAppsActivityType as yt, ɵrunMcpFollowUp as Ot } from "@copilotkit/mcp-apps-renderer/activity";
|
|
6
|
+
import { createLicenseContextValue as Pt } from "@copilotkit/shared";
|
|
6
7
|
export {
|
|
7
8
|
i as A2UIActivityContentSchema,
|
|
8
9
|
c as A2UISurfaceActivityRenderer,
|
|
@@ -11,8 +12,8 @@ export {
|
|
|
11
12
|
m as ActivityMessageSchema,
|
|
12
13
|
u as ActivitySnapshotEventSchema,
|
|
13
14
|
r as AddOperationSchema,
|
|
14
|
-
|
|
15
|
-
|
|
15
|
+
p as AgentCapabilitiesSchema,
|
|
16
|
+
l as AssistantMessageSchema,
|
|
16
17
|
C as AttributableSchema,
|
|
17
18
|
b as AudioInputContentSchema,
|
|
18
19
|
g as AudioInputPartSchema,
|
|
@@ -26,8 +27,8 @@ export {
|
|
|
26
27
|
M as CopilotChatAttachmentQueue,
|
|
27
28
|
y as CopilotChatAttachmentRenderer,
|
|
28
29
|
O as CopilotChatAudioRecorder,
|
|
29
|
-
|
|
30
|
-
|
|
30
|
+
x as CopilotChatConfigurationProvider,
|
|
31
|
+
P as CopilotChatDefaultLabels,
|
|
31
32
|
f as CopilotChatInput,
|
|
32
33
|
U as CopilotChatMessageView,
|
|
33
34
|
F as CopilotChatReasoningMessage,
|
|
@@ -41,10 +42,10 @@ export {
|
|
|
41
42
|
H as CopilotChatView,
|
|
42
43
|
k as CopilotKitCoreVue,
|
|
43
44
|
J as CopilotKitInspector,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
j as CopilotKitProvider,
|
|
46
|
+
q as CopilotModalHeader,
|
|
47
|
+
z as CopilotPopup,
|
|
48
|
+
N as CopilotPopupView,
|
|
48
49
|
Q as CopilotSidebar,
|
|
49
50
|
_ as CopilotSidebarView,
|
|
50
51
|
W as CopilotThreadsDrawer,
|
|
@@ -65,8 +66,8 @@ export {
|
|
|
65
66
|
ma as HumanInTheLoopCapabilitiesSchema,
|
|
66
67
|
ua as IdentityCapabilitiesSchema,
|
|
67
68
|
ra as ImageInputContentSchema,
|
|
68
|
-
|
|
69
|
-
|
|
69
|
+
pa as ImageInputPartSchema,
|
|
70
|
+
la as ImagePartSchema,
|
|
70
71
|
Ca as InputContentDataSourceSchema,
|
|
71
72
|
ba as InputContentSchema,
|
|
72
73
|
ga as InputContentSourceSchema,
|
|
@@ -76,117 +77,118 @@ export {
|
|
|
76
77
|
Ra as JsonPatchSchema,
|
|
77
78
|
Ia as JsonPointerSchema,
|
|
78
79
|
Aa as LicenseContextKey,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
80
|
+
Mt as MCPAppsActivityContentSchema,
|
|
81
|
+
Ta as MCPAppsActivityRenderer,
|
|
82
|
+
yt as MCPAppsActivityType,
|
|
83
|
+
Ma as MessageSchema,
|
|
84
|
+
ya as MessagesSnapshotEventSchema,
|
|
85
|
+
Oa as MetadataSchema,
|
|
86
|
+
xa as MoveOperationSchema,
|
|
87
|
+
Pa as MultiAgentCapabilitiesSchema,
|
|
88
|
+
fa as MultimodalCapabilitiesSchema,
|
|
89
|
+
Ua as MultimodalInputCapabilitiesSchema,
|
|
90
|
+
Fa as MultimodalOutputCapabilitiesSchema,
|
|
91
|
+
Va as OpenGenerativeUIActivityRenderer,
|
|
92
|
+
Da as OpenGenerativeUIActivityType,
|
|
93
|
+
wa as OpenGenerativeUIContentSchema,
|
|
94
|
+
La as OpenGenerativeUIRenderer,
|
|
95
|
+
Ka as OpenGenerativeUIToolRenderer,
|
|
96
|
+
Ba as OptionalMetadataSchema,
|
|
97
|
+
Ga as OutputCapabilitiesSchema,
|
|
97
98
|
n as PROTOCOL_VERSION,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
99
|
+
Ha as PartSourceSchema,
|
|
100
|
+
ka as RawEventSchema,
|
|
101
|
+
Ja as ReasoningCapabilitiesSchema,
|
|
102
|
+
ja as ReasoningEncryptedValueEventSchema,
|
|
103
|
+
qa as ReasoningEncryptedValueSubtypeSchema,
|
|
104
|
+
za as ReasoningEndEventSchema,
|
|
105
|
+
Na as ReasoningMessageChunkEventSchema,
|
|
106
|
+
Qa as ReasoningMessageContentEventSchema,
|
|
107
|
+
_a as ReasoningMessageEndEventSchema,
|
|
108
|
+
Wa as ReasoningMessageSchema,
|
|
109
|
+
Xa as ReasoningMessageStartEventSchema,
|
|
110
|
+
Ya as ReasoningStartEventSchema,
|
|
111
|
+
Za as RemoveOperationSchema,
|
|
112
|
+
$a as ReplaceOperationSchema,
|
|
113
|
+
ae as ResumeEntrySchema,
|
|
114
|
+
ee as RoleSchema,
|
|
115
|
+
te as RunAgentInputSchema,
|
|
116
|
+
se as RunErrorEventSchema,
|
|
117
|
+
ne as RunFinishedCancelledOutcomeSchema,
|
|
118
|
+
oe as RunFinishedEventSchema,
|
|
119
|
+
ie as RunFinishedInterruptOutcomeSchema,
|
|
120
|
+
ce as RunFinishedOutcomeSchema,
|
|
121
|
+
Se as RunFinishedSuccessOutcomeSchema,
|
|
122
|
+
he as RunStartedEventSchema,
|
|
123
|
+
me as StateCapabilitiesSchema,
|
|
124
|
+
ue as StateDeltaEventSchema,
|
|
125
|
+
re as StateSchema,
|
|
126
|
+
pe as StateSnapshotEventSchema,
|
|
127
|
+
le as StepFinishedEventSchema,
|
|
128
|
+
Ce as StepStartedEventSchema,
|
|
129
|
+
be as SubagentErrorEventSchema,
|
|
130
|
+
ge as SubagentFinishedEventSchema,
|
|
131
|
+
de as SubagentFinishedOutcomeSchema,
|
|
132
|
+
ve as SubagentFinishedSuccessOutcomeSchema,
|
|
133
|
+
Ee as SubagentFinishedSuspendedOutcomeSchema,
|
|
134
|
+
Re as SubagentInfoSchema,
|
|
135
|
+
Ie as SubagentRunIdSchema,
|
|
136
|
+
Ae as SubagentStartedEventSchema,
|
|
137
|
+
Te as SystemMessageSchema,
|
|
138
|
+
Me as TestOperationSchema,
|
|
139
|
+
ye as TextInputContentSchema,
|
|
140
|
+
Oe as TextMessageChunkEventSchema,
|
|
141
|
+
xe as TextMessageContentEventSchema,
|
|
142
|
+
Pe as TextMessageEndEventSchema,
|
|
143
|
+
fe as TextMessageRoleSchema,
|
|
144
|
+
Ue as TextMessageStartEventSchema,
|
|
145
|
+
Fe as TextPartSchema,
|
|
146
|
+
Ve as TokenUsageSchema,
|
|
147
|
+
De as ToolCallArgsEventSchema,
|
|
148
|
+
we as ToolCallChunkEventSchema,
|
|
149
|
+
Le as ToolCallEndEventSchema,
|
|
150
|
+
Ke as ToolCallResultEventSchema,
|
|
151
|
+
Be as ToolCallSchema,
|
|
152
|
+
Ge as ToolCallStartEventSchema,
|
|
153
|
+
He as ToolMessageSchema,
|
|
154
|
+
ke as ToolSchema,
|
|
155
|
+
Je as ToolsCapabilitiesSchema,
|
|
156
|
+
je as TransportCapabilitiesSchema,
|
|
157
|
+
qe as UrlSourceSchema,
|
|
158
|
+
ze as UseAgentUpdate,
|
|
159
|
+
Ne as UserMessageSchema,
|
|
160
|
+
Qe as VideoInputContentSchema,
|
|
161
|
+
_e as VideoInputPartSchema,
|
|
162
|
+
We as VideoPartSchema,
|
|
163
|
+
Xe as createA2UIMessageRenderer,
|
|
164
|
+
Ye as createDefaultLicenseRef,
|
|
165
|
+
Pt as createLicenseContextValue,
|
|
166
|
+
Ze as defineToolCallRenderer,
|
|
167
|
+
$e as extractCompleteStyles,
|
|
168
|
+
at as getOperationSurfaceId,
|
|
169
|
+
et as processPartialHtml,
|
|
170
|
+
tt as useAgent,
|
|
171
|
+
st as useAgentContext,
|
|
172
|
+
nt as useAttachments,
|
|
173
|
+
ot as useCapabilities,
|
|
174
|
+
it as useComponent,
|
|
175
|
+
ct as useConfigureSuggestions,
|
|
176
|
+
St as useCopilotChatConfiguration,
|
|
177
|
+
ht as useCopilotKit,
|
|
178
|
+
mt as useDefaultRenderTool,
|
|
179
|
+
ut as useFrontendTool,
|
|
180
|
+
rt as useHumanInTheLoop,
|
|
181
|
+
pt as useInterrupt,
|
|
182
|
+
lt as useKatexStyles,
|
|
183
|
+
Ct as useKeyboardHeight,
|
|
184
|
+
bt as useLicenseContext,
|
|
185
|
+
gt as useRenderActivityMessage,
|
|
186
|
+
dt as useRenderCustomMessages,
|
|
187
|
+
vt as useRenderTool,
|
|
188
|
+
Et as useSandboxFunctions,
|
|
189
|
+
Rt as useSuggestions,
|
|
190
|
+
It as useThreads,
|
|
191
|
+
At as vueBasicCatalog,
|
|
192
|
+
Ot as ɵrunMcpFollowUp
|
|
191
193
|
};
|
|
192
194
|
//# sourceMappingURL=index.mjs.map
|
package/dist/v2/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CopilotKitProvider.vue.d.ts","sourceRoot":"","sources":["../../../src/v2/providers/CopilotKitProvider.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CopilotKitProvider.vue.d.ts","sourceRoot":"","sources":["../../../src/v2/providers/CopilotKitProvider.vue"],"names":[],"mappings":"AAoyBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAsCnD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAC1E,OAAO,KAAK,EACV,eAAe,EACf,0BAA0B,EAC1B,eAAe,EAGhB,MAAM,UAAU,CAAC;AA4xBlB,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AA4B/C,QAAA,MAAM,eAAe;;;;;;;;;;;wBAn3BrB,CAxtBa;mBAwtBb,CAttBA;;;;aAstBA,CA9sBkB;eA8sBlB,CA7sBE;wBA6sBF,CA7sB8B;qBA6sB9B,CA7sB6D;;6EAukD3D,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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@copilotkit/vue",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.77.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Vue 3 components and composables for CopilotKit",
|
|
6
6
|
"keywords": [
|
|
@@ -62,18 +62,19 @@
|
|
|
62
62
|
},
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"@a2ui/web_core": "0.10.4",
|
|
65
|
-
"@ag-ui/client": "1.0.
|
|
66
|
-
"@ag-ui/core": "1.0.
|
|
65
|
+
"@ag-ui/client": "1.0.2",
|
|
66
|
+
"@ag-ui/core": "1.0.2",
|
|
67
67
|
"@jetbrains/websandbox": "^1.1.3",
|
|
68
68
|
"katex": "^0.16.27",
|
|
69
69
|
"lucide-vue-next": "^0.525.0",
|
|
70
70
|
"streamdown-vue": "^1.0.29",
|
|
71
71
|
"zod": "^3.25.75",
|
|
72
72
|
"zod-to-json-schema": "^3.24.5",
|
|
73
|
-
"@copilotkit/
|
|
74
|
-
"@copilotkit/
|
|
75
|
-
"@copilotkit/
|
|
76
|
-
"@copilotkit/
|
|
73
|
+
"@copilotkit/core": "1.77.1",
|
|
74
|
+
"@copilotkit/mcp-apps-renderer": "1.77.1",
|
|
75
|
+
"@copilotkit/shared": "1.77.1",
|
|
76
|
+
"@copilotkit/web-inspector": "1.77.1",
|
|
77
|
+
"@copilotkit/web-components": "1.77.1"
|
|
77
78
|
},
|
|
78
79
|
"devDependencies": {
|
|
79
80
|
"@eslint/js": "^9.39.2",
|