@copilotkit/vue 1.76.0 → 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.
Files changed (28) hide show
  1. package/PARITY.md +93 -35
  2. package/dist/index.cjs +1 -1
  3. package/dist/index.cjs.map +1 -1
  4. package/dist/index.mjs +124 -122
  5. package/dist/index.mjs.map +1 -1
  6. package/dist/use-render-activity-message-JCCE1lgH.cjs +79 -0
  7. package/dist/use-render-activity-message-JCCE1lgH.cjs.map +1 -0
  8. package/dist/{use-render-activity-message-Eu6R2vGT.js → use-render-activity-message-bPlnHjQV.js} +4292 -4594
  9. package/dist/use-render-activity-message-bPlnHjQV.js.map +1 -0
  10. package/dist/v2/components/MCPAppsActivityRenderer.d.ts +10 -42
  11. package/dist/v2/components/MCPAppsActivityRenderer.d.ts.map +1 -1
  12. package/dist/v2/components/chat/CopilotChatView.vue.d.ts +1 -1
  13. package/dist/v2/components/chat/CopilotPopupViewInternal.vue.d.ts.map +1 -1
  14. package/dist/v2/components/chat/index.d.ts +3 -3
  15. package/dist/v2/index.cjs +1 -1
  16. package/dist/v2/index.mjs +125 -123
  17. package/dist/v2/index.mjs.map +1 -1
  18. package/package.json +6 -5
  19. package/src/v2/components/MCPAppsActivityRenderer.ts +175 -658
  20. package/src/v2/components/__tests__/MCPAppsActivityRenderer.test.ts +39 -20
  21. package/src/v2/components/__tests__/MCPAppsActivityRendererContentError.test.ts +122 -0
  22. package/src/v2/components/__tests__/MCPAppsActivityRendererSeed.test.ts +109 -0
  23. package/src/v2/components/chat/CopilotPopupViewInternal.vue +1 -1
  24. package/src/v2/components/chat/__tests__/CopilotPopupView.slots.e2e.test.ts +20 -0
  25. package/vite.config.ts +7 -0
  26. package/dist/use-render-activity-message-BTKmd3f3.cjs +0 -110
  27. package/dist/use-render-activity-message-BTKmd3f3.cjs.map +0 -1
  28. 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 declare const MCPAppsActivityType = "mcp-apps";
6
- export declare const MCPAppsActivityContentSchema: z.ZodObject<{
7
- result: z.ZodObject<{
8
- content: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
9
- structuredContent: z.ZodOptional<z.ZodAny>;
10
- isError: z.ZodOptional<z.ZodBoolean>;
11
- }, "strip", z.ZodTypeAny, {
12
- content?: any[] | undefined;
13
- structuredContent?: any;
14
- isError?: boolean | undefined;
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,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,aAAa,EAAkB,MAAM,eAAe,CAAC;AAEnE,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,UAAU,CAAC;AAmKhE,eAAO,MAAM,mBAAmB,aAAa,CAAC;AAE9C,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUvC,CAAC;AAEH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,4BAA4B,CACpC,CAAC;AAkDF,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;;;;;;4EA+gBvD,CAAC;AAEH,eAAe,uBAAuB,CAAC"}
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;AAghBF,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
+ {"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-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.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 l, g as p, 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 P, r as x, 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 N, J as j, K as q, L as z, 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 la, a1 as pa, 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 Pa, ae as xa, 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, ap as Ha, aq as ka, a2 as Ja, ar as Na, as as ja, at as qa, au as za, 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 le, aQ as pe, 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 Pe, b3 as xe, b4 as fe, b5 as Ue, b6 as Fe, b7 as Ve, b2 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 Ne, bh as je, bi as qe, a3 as ze, bj as Qe, bk as _e, bl as We, bl 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 lt, bC as pt, 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, bM as Tt, bN as Mt } from "../use-render-activity-message-Eu6R2vGT.js";
5
- import { createLicenseContextValue as Ot } from "@copilotkit/shared";
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-bPlnHjQV.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
- l as AgentCapabilitiesSchema,
15
- p as AssistantMessageSchema,
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
- P as CopilotChatConfigurationProvider,
30
- x as CopilotChatDefaultLabels,
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
- N as CopilotKitProvider,
45
- j as CopilotModalHeader,
46
- q as CopilotPopup,
47
- z as CopilotPopupView,
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
- la as ImageInputPartSchema,
69
- pa as ImagePartSchema,
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
- Ta as MCPAppsActivityContentSchema,
80
- Ma as MCPAppsActivityRenderer,
81
- ya as MCPAppsActivityType,
82
- Oa as MessageSchema,
83
- Pa as MessagesSnapshotEventSchema,
84
- xa as MetadataSchema,
85
- fa as MoveOperationSchema,
86
- Ua as MultiAgentCapabilitiesSchema,
87
- Fa as MultimodalCapabilitiesSchema,
88
- Va as MultimodalInputCapabilitiesSchema,
89
- Da as MultimodalOutputCapabilitiesSchema,
90
- wa as OpenGenerativeUIActivityRenderer,
91
- La as OpenGenerativeUIActivityType,
92
- Ka as OpenGenerativeUIContentSchema,
93
- Ba as OpenGenerativeUIRenderer,
94
- Ga as OpenGenerativeUIToolRenderer,
95
- Ha as OptionalMetadataSchema,
96
- ka as OutputCapabilitiesSchema,
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
- Ja as PartSourceSchema,
99
- Na as RawEventSchema,
100
- ja as ReasoningCapabilitiesSchema,
101
- qa as ReasoningEncryptedValueEventSchema,
102
- za as ReasoningEncryptedValueSubtypeSchema,
103
- Qa as ReasoningEndEventSchema,
104
- _a as ReasoningMessageChunkEventSchema,
105
- Wa as ReasoningMessageContentEventSchema,
106
- Xa as ReasoningMessageEndEventSchema,
107
- Ya as ReasoningMessageSchema,
108
- Za as ReasoningMessageStartEventSchema,
109
- $a as ReasoningStartEventSchema,
110
- ae as RemoveOperationSchema,
111
- ee as ReplaceOperationSchema,
112
- te as ResumeEntrySchema,
113
- se as RoleSchema,
114
- ne as RunAgentInputSchema,
115
- oe as RunErrorEventSchema,
116
- ie as RunFinishedCancelledOutcomeSchema,
117
- ce as RunFinishedEventSchema,
118
- Se as RunFinishedInterruptOutcomeSchema,
119
- he as RunFinishedOutcomeSchema,
120
- me as RunFinishedSuccessOutcomeSchema,
121
- ue as RunStartedEventSchema,
122
- re as StateCapabilitiesSchema,
123
- le as StateDeltaEventSchema,
124
- pe as StateSchema,
125
- Ce as StateSnapshotEventSchema,
126
- be as StepFinishedEventSchema,
127
- ge as StepStartedEventSchema,
128
- de as SubagentErrorEventSchema,
129
- ve as SubagentFinishedEventSchema,
130
- Ee as SubagentFinishedOutcomeSchema,
131
- Re as SubagentFinishedSuccessOutcomeSchema,
132
- Ie as SubagentFinishedSuspendedOutcomeSchema,
133
- Ae as SubagentInfoSchema,
134
- Te as SubagentRunIdSchema,
135
- Me as SubagentStartedEventSchema,
136
- ye as SystemMessageSchema,
137
- Oe as TestOperationSchema,
138
- Pe as TextInputContentSchema,
139
- xe as TextMessageChunkEventSchema,
140
- fe as TextMessageContentEventSchema,
141
- Ue as TextMessageEndEventSchema,
142
- Fe as TextMessageRoleSchema,
143
- Ve as TextMessageStartEventSchema,
144
- De as TextPartSchema,
145
- we as TokenUsageSchema,
146
- Le as ToolCallArgsEventSchema,
147
- Ke as ToolCallChunkEventSchema,
148
- Be as ToolCallEndEventSchema,
149
- Ge as ToolCallResultEventSchema,
150
- He as ToolCallSchema,
151
- ke as ToolCallStartEventSchema,
152
- Je as ToolMessageSchema,
153
- Ne as ToolSchema,
154
- je as ToolsCapabilitiesSchema,
155
- qe as TransportCapabilitiesSchema,
156
- ze as UrlSourceSchema,
157
- Qe as UseAgentUpdate,
158
- _e as UserMessageSchema,
159
- We as VideoInputContentSchema,
160
- Xe as VideoInputPartSchema,
161
- Ye as VideoPartSchema,
162
- Ze as createA2UIMessageRenderer,
163
- $e as createDefaultLicenseRef,
164
- Ot as createLicenseContextValue,
165
- at as defineToolCallRenderer,
166
- et as extractCompleteStyles,
167
- tt as getOperationSurfaceId,
168
- st as processPartialHtml,
169
- nt as useAgent,
170
- ot as useAgentContext,
171
- it as useAttachments,
172
- ct as useCapabilities,
173
- St as useComponent,
174
- ht as useConfigureSuggestions,
175
- mt as useCopilotChatConfiguration,
176
- ut as useCopilotKit,
177
- rt as useDefaultRenderTool,
178
- lt as useFrontendTool,
179
- pt as useHumanInTheLoop,
180
- Ct as useInterrupt,
181
- bt as useKatexStyles,
182
- gt as useKeyboardHeight,
183
- dt as useLicenseContext,
184
- vt as useRenderActivityMessage,
185
- Et as useRenderCustomMessages,
186
- Rt as useRenderTool,
187
- It as useSandboxFunctions,
188
- At as useSuggestions,
189
- Tt as useThreads,
190
- Mt as vueBasicCatalog
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
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@copilotkit/vue",
3
- "version": "1.76.0",
3
+ "version": "1.77.0",
4
4
  "private": false,
5
5
  "description": "Vue 3 components and composables for CopilotKit",
6
6
  "keywords": [
@@ -70,10 +70,11 @@
70
70
  "streamdown-vue": "^1.0.29",
71
71
  "zod": "^3.25.75",
72
72
  "zod-to-json-schema": "^3.24.5",
73
- "@copilotkit/shared": "1.76.0",
74
- "@copilotkit/web-inspector": "1.76.0",
75
- "@copilotkit/web-components": "1.76.0",
76
- "@copilotkit/core": "1.76.0"
73
+ "@copilotkit/core": "1.77.0",
74
+ "@copilotkit/mcp-apps-renderer": "1.77.0",
75
+ "@copilotkit/shared": "1.77.0",
76
+ "@copilotkit/web-inspector": "1.77.0",
77
+ "@copilotkit/web-components": "1.77.0"
77
78
  },
78
79
  "devDependencies": {
79
80
  "@eslint/js": "^9.39.2",