@copilotkit/vue 2.0.0-rc.6 → 2.0.0-rc.8

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 (128) hide show
  1. package/PARITY.md +1 -1
  2. package/dist/index.cjs +1 -73
  3. package/dist/index.cjs.map +1 -1
  4. package/dist/index.mjs +292 -16949
  5. package/dist/index.mjs.map +1 -1
  6. package/dist/use-render-activity-message-C5LCG9a9.js +16451 -0
  7. package/dist/use-render-activity-message-C5LCG9a9.js.map +1 -0
  8. package/dist/use-render-activity-message-CPzguixR.cjs +74 -0
  9. package/dist/use-render-activity-message-CPzguixR.cjs.map +1 -0
  10. package/dist/v2/components/LicenseWarningBanner.vue.d.ts.map +1 -1
  11. package/dist/v2/components/chat/CopilotChat.vue.d.ts.map +1 -1
  12. package/dist/v2/components/chat/CopilotChatAttachmentQueue.vue.d.ts.map +1 -1
  13. package/dist/v2/components/chat/CopilotChatAttachmentRenderer.vue.d.ts.map +1 -1
  14. package/dist/v2/components/chat/CopilotChatInput.vue.d.ts +6 -270
  15. package/dist/v2/components/chat/CopilotChatInput.vue.d.ts.map +1 -1
  16. package/dist/v2/components/chat/CopilotChatMessageView.vue.d.ts +1 -1
  17. package/dist/v2/components/chat/CopilotChatMessageView.vue.d.ts.map +1 -1
  18. package/dist/v2/components/chat/CopilotChatReasoningMessage.vue.d.ts.map +1 -1
  19. package/dist/v2/components/chat/CopilotChatToolCallGroup.vue.d.ts +1 -1
  20. package/dist/v2/components/chat/CopilotChatToolCallGroup.vue.d.ts.map +1 -1
  21. package/dist/v2/components/chat/CopilotChatToolCallItem.vue.d.ts.map +1 -1
  22. package/dist/v2/components/chat/CopilotChatToolCallsView.vue.d.ts +1 -1
  23. package/dist/v2/components/chat/CopilotChatToolCallsView.vue.d.ts.map +1 -1
  24. package/dist/v2/components/chat/CopilotChatView.vue.d.ts.map +1 -1
  25. package/dist/v2/components/chat/CopilotChatWorkSummary.vue.d.ts.map +1 -1
  26. package/dist/v2/components/chat/copilotChatToolCallItemRender.d.ts +0 -1
  27. package/dist/v2/components/chat/copilotChatToolCallItemRender.d.ts.map +1 -1
  28. package/dist/v2/components/chat/index.d.ts +0 -1
  29. package/dist/v2/components/chat/index.d.ts.map +1 -1
  30. package/dist/v2/components/chat/tool-call-display-context.d.ts +2 -19
  31. package/dist/v2/components/chat/tool-call-display-context.d.ts.map +1 -1
  32. package/dist/v2/components/chat/tool-call-group-parts.d.ts +7 -20
  33. package/dist/v2/components/chat/tool-call-group-parts.d.ts.map +1 -1
  34. package/dist/v2/components/chat/turn-work.d.ts +0 -2
  35. package/dist/v2/components/chat/turn-work.d.ts.map +1 -1
  36. package/dist/v2/components/chat/types.d.ts +1 -2
  37. package/dist/v2/components/chat/types.d.ts.map +1 -1
  38. package/dist/v2/components/chat/use-chat-labels.d.ts +8 -0
  39. package/dist/v2/components/chat/use-chat-labels.d.ts.map +1 -0
  40. package/dist/v2/components/icons/index.d.ts +968 -1
  41. package/dist/v2/components/icons/index.d.ts.map +1 -1
  42. package/dist/v2/hooks/use-frontend-tool.d.ts +5 -0
  43. package/dist/v2/hooks/use-frontend-tool.d.ts.map +1 -1
  44. package/dist/v2/hooks/use-render-activity-message.d.ts +13 -9
  45. package/dist/v2/hooks/use-render-activity-message.d.ts.map +1 -1
  46. package/dist/v2/hooks/use-render-custom-messages.d.ts +5 -7
  47. package/dist/v2/hooks/use-render-custom-messages.d.ts.map +1 -1
  48. package/dist/v2/index.cjs +1 -1
  49. package/dist/v2/index.mjs +196 -199
  50. package/dist/v2/index.mjs.map +1 -1
  51. package/dist/v2/lib/vue-core.d.ts +0 -1
  52. package/dist/v2/lib/vue-core.d.ts.map +1 -1
  53. package/dist/v2/providers/CopilotKitProvider.types.d.ts +0 -5
  54. package/dist/v2/providers/CopilotKitProvider.types.d.ts.map +1 -1
  55. package/dist/v2/providers/CopilotKitProvider.vue.d.ts.map +1 -1
  56. package/dist/v2/providers/types.d.ts +3 -46
  57. package/dist/v2/providers/types.d.ts.map +1 -1
  58. package/dist/v2/types/human-in-the-loop.d.ts +8 -29
  59. package/dist/v2/types/human-in-the-loop.d.ts.map +1 -1
  60. package/dist/v2/types/interrupt.d.ts +1 -22
  61. package/dist/v2/types/interrupt.d.ts.map +1 -1
  62. package/dist/v2/types/vue-activity-message-renderer.d.ts +16 -15
  63. package/dist/v2/types/vue-activity-message-renderer.d.ts.map +1 -1
  64. package/dist/v2/types/vue-custom-message-renderer.d.ts +7 -16
  65. package/dist/v2/types/vue-custom-message-renderer.d.ts.map +1 -1
  66. package/dist/v2/types/vue-tool-call-renderer.d.ts +16 -35
  67. package/dist/v2/types/vue-tool-call-renderer.d.ts.map +1 -1
  68. package/package.json +7 -8
  69. package/src/__tests__/build-entries.test.ts +27 -0
  70. package/src/v2/components/LicenseWarningBanner.vue +31 -15
  71. package/src/v2/components/__tests__/LicenseWarningBanner.test.ts +20 -0
  72. package/src/v2/components/chat/CopilotChat.vue +19 -40
  73. package/src/v2/components/chat/CopilotChatAttachmentQueue.vue +14 -10
  74. package/src/v2/components/chat/CopilotChatAttachmentRenderer.vue +14 -6
  75. package/src/v2/components/chat/CopilotChatInput.vue +40 -30
  76. package/src/v2/components/chat/CopilotChatMessageView.vue +72 -140
  77. package/src/v2/components/chat/CopilotChatReasoningMessage.vue +31 -13
  78. package/src/v2/components/chat/CopilotChatToolCallGroup.vue +60 -37
  79. package/src/v2/components/chat/CopilotChatToolCallItem.vue +3 -3
  80. package/src/v2/components/chat/CopilotChatToolCallsView.vue +15 -13
  81. package/src/v2/components/chat/CopilotChatView.vue +5 -5
  82. package/src/v2/components/chat/CopilotChatWorkSummary.vue +44 -18
  83. package/src/v2/components/chat/__tests__/CopilotChat.labels.test.ts +19 -4
  84. package/src/v2/components/chat/__tests__/CopilotChatInput.test.ts +33 -1
  85. package/src/v2/components/chat/__tests__/CopilotChatMessageView.test.ts +247 -403
  86. package/src/v2/components/chat/__tests__/CopilotChatMessageView.toolCallDisplay.test.ts +1 -99
  87. package/src/v2/components/chat/copilotChatToolCallItemRender.ts +3 -19
  88. package/src/v2/components/chat/index.ts +0 -1
  89. package/src/v2/components/chat/tool-call-display-context.ts +2 -23
  90. package/src/v2/components/chat/tool-call-group-parts.ts +44 -85
  91. package/src/v2/components/chat/turn-work.ts +0 -9
  92. package/src/v2/components/chat/types.ts +4 -4
  93. package/src/v2/components/chat/use-chat-labels.ts +16 -0
  94. package/src/v2/components/icons/__tests__/icons.test.ts +72 -68
  95. package/src/v2/components/icons/index.ts +109 -27
  96. package/src/v2/hooks/__tests__/use-frontend-tool.e2e.test.ts +62 -1
  97. package/src/v2/hooks/__tests__/use-render-activity-message.test.ts +105 -0
  98. package/src/v2/hooks/__tests__/use-render-tool.test.ts +3 -6
  99. package/src/v2/hooks/__tests__/zod-regression.test.ts +4 -3
  100. package/src/v2/hooks/use-frontend-tool.ts +10 -10
  101. package/src/v2/hooks/use-render-activity-message.ts +27 -48
  102. package/src/v2/hooks/use-render-custom-messages.ts +14 -35
  103. package/src/v2/lib/vue-core.ts +3 -5
  104. package/src/v2/providers/CopilotKitProvider.types.ts +0 -5
  105. package/src/v2/providers/CopilotKitProvider.vue +29 -80
  106. package/src/v2/providers/__tests__/CopilotKitProvider.headersAtSendTime.test.ts +3 -3
  107. package/src/v2/providers/__tests__/CopilotKitProvider.learning.test.ts +3 -1
  108. package/src/v2/providers/__tests__/CopilotKitProvider.test.ts +17 -33
  109. package/src/v2/providers/types.ts +3 -49
  110. package/src/v2/types/__tests__/defineToolCallRenderer.test.ts +28 -33
  111. package/src/v2/types/defineToolCallRenderer.ts +5 -4
  112. package/src/v2/types/human-in-the-loop.ts +8 -32
  113. package/src/v2/types/interrupt.ts +7 -31
  114. package/src/v2/types/vue-activity-message-renderer.ts +24 -15
  115. package/src/v2/types/vue-custom-message-renderer.ts +12 -16
  116. package/src/v2/types/vue-tool-call-renderer.ts +23 -38
  117. package/vite.config.ts +1 -2
  118. package/dist/v2/components/chat/BasicMarkdown.vue.d.ts +0 -9
  119. package/dist/v2/components/chat/BasicMarkdown.vue.d.ts.map +0 -1
  120. package/dist/v2/components/chat/tool-call-layout.d.ts +0 -115
  121. package/dist/v2/components/chat/tool-call-layout.d.ts.map +0 -1
  122. package/dist/v2/lib/transcription-client.d.ts +0 -19
  123. package/dist/v2/lib/transcription-client.d.ts.map +0 -1
  124. package/src/v2/components/chat/BasicMarkdown.vue +0 -160
  125. package/src/v2/components/chat/__tests__/BasicMarkdown.test.ts +0 -69
  126. package/src/v2/components/chat/tool-call-layout.ts +0 -304
  127. package/src/v2/lib/__tests__/transcription-client.test.ts +0 -67
  128. package/src/v2/lib/transcription-client.ts +0 -151
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/icons/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,IAAI,iBAAiB,EAClC,CAAC,IAAI,KAAK,EACV,WAAW,IAAI,eAAe,EAC9B,IAAI,IAAI,QAAQ,EAChB,GAAG,IAAI,OAAO,EACd,OAAO,IAAI,WAAW,EACtB,KAAK,IAAI,SAAS,EAClB,MAAM,IAAI,UAAU,EACpB,OAAO,IAAI,WAAW,EACtB,IAAI,IAAI,QAAQ,EAChB,QAAQ,IAAI,YAAY,EACxB,IAAI,IAAI,QAAQ,EAChB,WAAW,IAAI,eAAe,EAC9B,YAAY,IAAI,gBAAgB,EAChC,QAAQ,IAAI,YAAY,EACxB,UAAU,IAAI,cAAc,EAC5B,OAAO,IAAI,WAAW,EACtB,SAAS,IAAI,aAAa,EAC1B,WAAW,IAAI,eAAe,EAC9B,MAAM,IAAI,UAAU,EACpB,aAAa,IAAI,iBAAiB,EAClC,IAAI,IAAI,QAAQ,EAChB,MAAM,IAAI,UAAU,EACpB,MAAM,IAAI,UAAU,EACpB,MAAM,IAAI,UAAU,GACrB,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/icons/index.ts"],"names":[],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4EAsFa,CAAC;AACnD,eAAO,MAAM,UAAU;IA3FrB,sDAAsD;;;;;IAEtD,8CAA8C;;;;;IAE9C,mCAAmC;;;;;;;;IAJnC,sDAAsD;;;;;IAEtD,8CAA8C;;;;;IAE9C,mCAAmC;;;;;;;;;4EAuFS,CAAC;AAC/C,eAAO,MAAM,WAAW;IA5FtB,sDAAsD;;;;;IAEtD,8CAA8C;;;;;IAE9C,mCAAmC;;;;;;;;IAJnC,sDAAsD;;;;;IAEtD,8CAA8C;;;;;IAE9C,mCAAmC;;;;;;;;;4EAwFW,CAAC;AACjD,eAAO,MAAM,UAAU;IA7FrB,sDAAsD;;;;;IAEtD,8CAA8C;;;;;IAE9C,mCAAmC;;;;;;;;IAJnC,sDAAsD;;;;;IAEtD,8CAA8C;;;;;IAE9C,mCAAmC;;;;;;;;;4EAyFS,CAAC;AAC/C,eAAO,MAAM,KAAK;IA9FhB,sDAAsD;;;;;IAEtD,8CAA8C;;;;;IAE9C,mCAAmC;;;;;;;;IAJnC,sDAAsD;;;;;IAEtD,8CAA8C;;;;;IAE9C,mCAAmC;;;;;;;;;4EA0FD,CAAC"}
@@ -6,6 +6,11 @@ import type { VueFrontendTool } from "../types";
6
6
  * The tool registration is reactive to provided dependencies and is cleaned up
7
7
  * automatically when the current scope is disposed.
8
8
  *
9
+ * A tool with the same name and `agentId` as a tool that is already
10
+ * registered (for example a provider `frontendTools` entry) takes its place
11
+ * while this scope is active. When the scope is disposed, the earlier tool is
12
+ * active again.
13
+ *
9
14
  * @example
10
15
  * ```ts
11
16
  * useFrontendTool({
@@ -1 +1 @@
1
- {"version":3,"file":"use-frontend-tool.d.ts","sourceRoot":"","sources":["../../../src/v2/hooks/use-frontend-tool.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,KAAK,CAAC;AAEvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAKhD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,eAAe,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/D,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC,EACxB,IAAI,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,EAAE,QA6C9B"}
1
+ {"version":3,"file":"use-frontend-tool.d.ts","sourceRoot":"","sources":["../../../src/v2/hooks/use-frontend-tool.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,KAAK,CAAC;AAEvC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAKhD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,eAAe,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/D,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC,EACxB,IAAI,CAAC,EAAE,WAAW,CAAC,OAAO,CAAC,EAAE,QAwC9B"}
@@ -1,21 +1,25 @@
1
1
  import type { Component } from "vue";
2
2
  import type { ActivityMessage } from "@ag-ui/core";
3
- import type { VueActivityMessageRenderer, VueActivityMessageRendererProps } from "../types";
4
- interface ActivityRendererResult {
5
- renderer: Component<VueActivityMessageRendererProps<unknown>>;
6
- props: VueActivityMessageRendererProps<unknown>;
7
- }
3
+ import type { VueActivityMessageRendererProps } from "../types";
8
4
  /**
9
5
  * Returns helpers for rendering activity messages.
10
6
  *
11
7
  * Matches the React `useRenderActivityMessage` API: `findRenderer` locates a
12
8
  * registered renderer by activity type (preferring agent-scoped over global,
13
9
  * with `"*"` as a wildcard fallback), and `renderActivityMessage` resolves the
14
- * renderer and validates the content schema.
10
+ * renderer and validates the content with the renderer's `content` schema
11
+ * (any Standard Schema, such as zod).
15
12
  */
16
13
  export declare function useRenderActivityMessage(): {
17
- renderActivityMessage: (message: ActivityMessage) => ActivityRendererResult | null;
18
- findRenderer: (activityType: string) => VueActivityMessageRenderer<unknown> | null;
14
+ renderActivityMessage: (message: ActivityMessage) => {
15
+ renderer: Component<VueActivityMessageRendererProps<unknown>>;
16
+ props: {
17
+ activityType: string;
18
+ content: unknown;
19
+ message: ActivityMessage;
20
+ agent: import("@ag-ui/client").AbstractAgent | undefined;
21
+ };
22
+ } | null;
23
+ findRenderer: (activityType: string) => import("..").VueActivityMessageRenderer<unknown> | null;
19
24
  };
20
- export {};
21
25
  //# sourceMappingURL=use-render-activity-message.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-render-activity-message.d.ts","sourceRoot":"","sources":["../../../src/v2/hooks/use-render-activity-message.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAKnD,OAAO,KAAK,EACV,0BAA0B,EAC1B,+BAA+B,EAChC,MAAM,UAAU,CAAC;AAElB,UAAU,sBAAsB;IAC9B,QAAQ,EAAE,SAAS,CAAC,+BAA+B,CAAC,OAAO,CAAC,CAAC,CAAC;IAC9D,KAAK,EAAE,+BAA+B,CAAC,OAAO,CAAC,CAAC;CACjD;AAED;;;;;;;GAOG;AACH,wBAAgB,wBAAwB;qCA8B3B,eAAe,KACvB,sBAAsB,GAAG,IAAI;iCArBhB,MAAM,KACnB,0BAA0B,CAAC,OAAO,CAAC,GAAG,IAAI;EAwD9C"}
1
+ {"version":3,"file":"use-render-activity-message.d.ts","sourceRoot":"","sources":["../../../src/v2/hooks/use-render-activity-message.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAKnD,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,UAAU,CAAC;AAEhE;;;;;;;;GAQG;AACH,wBAAgB,wBAAwB;qCAmBE,eAAe;kBAqBhB,SAAS,CAC1C,+BAA+B,CAAC,OAAO,CAAC,CACzC;;;;;;;;iCArC+B,MAAM;EAgD3C"}
@@ -1,14 +1,9 @@
1
- import type { Component, VNodeChild } from "vue";
2
1
  import type { Message } from "@ag-ui/core";
3
- import type { VueCustomMessageRendererPosition, VueCustomMessageRendererProps } from "../types";
2
+ import type { VueCustomMessageRendererPosition } from "../types";
4
3
  interface UseRenderCustomMessagesParams {
5
4
  message: Message;
6
5
  position: VueCustomMessageRendererPosition;
7
6
  }
8
- interface CustomMessageRendererResult {
9
- renderer: Component<VueCustomMessageRendererProps> | ((props: VueCustomMessageRendererProps) => VNodeChild);
10
- props: VueCustomMessageRendererProps;
11
- }
12
7
  /**
13
8
  * Returns a function that resolves the appropriate custom message renderer for
14
9
  * a given message and position.
@@ -22,6 +17,9 @@ interface CustomMessageRendererResult {
22
17
  * (i.e. when called outside a `CopilotChat` component tree) or if no
23
18
  * matching renderer is found.
24
19
  */
25
- export declare function useRenderCustomMessages(): (params: UseRenderCustomMessagesParams) => CustomMessageRendererResult | null;
20
+ export declare function useRenderCustomMessages(): (params: UseRenderCustomMessagesParams) => {
21
+ renderer: import("..").VueCustomMessageRendererRenderFn;
22
+ props: import("@copilotkit/core").CustomMessageRenderProps;
23
+ } | null;
26
24
  export {};
27
25
  //# sourceMappingURL=use-render-custom-messages.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-render-custom-messages.d.ts","sourceRoot":"","sources":["../../../src/v2/hooks/use-render-custom-messages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAI3C,OAAO,KAAK,EACV,gCAAgC,EAChC,6BAA6B,EAC9B,MAAM,UAAU,CAAC;AAElB,UAAU,6BAA6B;IACrC,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,gCAAgC,CAAC;CAC5C;AAED,UAAU,2BAA2B;IACnC,QAAQ,EACJ,SAAS,CAAC,6BAA6B,CAAC,GACxC,CAAC,CAAC,KAAK,EAAE,6BAA6B,KAAK,UAAU,CAAC,CAAC;IAC3D,KAAK,EAAE,6BAA6B,CAAC;CACtC;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,uBAAuB,KAKnC,QAAQ,6BAA6B,KACpC,2BAA2B,GAAG,IAAI,CAuFtC"}
1
+ {"version":3,"file":"use-render-custom-messages.d.ts","sourceRoot":"","sources":["../../../src/v2/hooks/use-render-custom-messages.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAK3C,OAAO,KAAK,EACV,gCAAgC,EAEjC,MAAM,UAAU,CAAC;AAElB,UAAU,6BAA6B;IACrC,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,gCAAgC,CAAC;CAC5C;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,uBAAuB,KAID,QAAQ,6BAA6B;;;SA2E1E"}
package/dist/v2/index.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index.cjs"),a=require("@ag-ui/client"),o=require("@copilotkit/core"),n=require("@copilotkit/mcp-apps-renderer/activity"),i=require("@copilotkit/shared");exports.A2UIActivityContentSchema=e.A2UIActivityContentSchema;exports.A2UISurfaceActivityRenderer=e.A2UISurfaceActivityRenderer;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.AudioInputContentSchema;exports.AudioInputPartSchema=e.AudioInputContentSchema;exports.AudioPartSchema=e.AudioInputContentSchema;exports.BaseEventSchema=e.BaseEventSchema;exports.BaseMessageSchema=e.BaseMessageSchema;exports.BasicMarkdown=e.BasicMarkdown;exports.ContentPartSchema=e.ContentPartSchema;exports.ContextSchema=e.ContextSchema;exports.CopilotChat=e.CopilotChat;exports.CopilotChatAssistantMessage=e.CopilotChatAssistantMessage;exports.CopilotChatAttachmentQueue=e.CopilotChatAttachmentQueue;exports.CopilotChatAttachmentRenderer=e.CopilotChatAttachmentRenderer;exports.CopilotChatAudioRecorder=e.CopilotChatAudioRecorder;exports.CopilotChatConfigurationProvider=e.CopilotChatConfigurationProvider;exports.CopilotChatDefaultLabels=e.CopilotChatDefaultLabels;exports.CopilotChatInput=e.CopilotChatInput;exports.CopilotChatMessageView=e.CopilotChatMessageView;exports.CopilotChatReasoningMessage=e.CopilotChatReasoningMessage;exports.CopilotChatSuggestionPill=e.CopilotChatSuggestionPill;exports.CopilotChatSuggestionView=e.CopilotChatSuggestionView;exports.CopilotChatToggleButton=e.CopilotChatToggleButton;exports.CopilotChatToggleButtonCloseIcon=e.CopilotChatToggleButtonCloseIcon;exports.CopilotChatToggleButtonOpenIcon=e.CopilotChatToggleButtonOpenIcon;exports.CopilotChatToolCallGroup=e.CopilotChatToolCallGroup;exports.CopilotChatToolCallsView=e.CopilotChatToolCallsView;exports.CopilotChatUserMessage=e.CopilotChatUserMessage;exports.CopilotChatView=e.CopilotChatView;exports.CopilotChatWorkSummary=e.CopilotChatWorkSummary;exports.CopilotKit=e.CopilotKit;exports.CopilotKitCoreVue=e.CopilotKitCoreVue;exports.CopilotKitInspector=e.CopilotKitInspector;exports.CopilotKitProvider=e.CopilotKitProvider;exports.CopilotKitStyles=e.CopilotKitStyles;exports.CopilotModalHeader=e.CopilotModalHeader;exports.CopilotPopup=e.CopilotPopup;exports.CopilotPopupView=e.CopilotPopupView;exports.CopilotSidebar=e.CopilotSidebar;exports.CopilotSidebarView=e.CopilotSidebarView;exports.CopilotThreadsDrawer=e.CopilotThreadsDrawer;exports.CopyOperationSchema=e.CopyOperationSchema;exports.CustomEventSchema=e.CustomEventSchema;exports.DataSourceSchema=e.DataSourceSchema;exports.DeveloperMessageSchema=e.DeveloperMessageSchema;exports.DocumentInputContentSchema=e.DocumentInputContentSchema;exports.DocumentInputPartSchema=e.DocumentInputContentSchema;exports.DocumentPartSchema=e.DocumentInputContentSchema;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.ImageInputContentSchema;exports.ImageInputPartSchema=e.ImageInputContentSchema;exports.ImagePartSchema=e.ImageInputContentSchema;exports.InputContentDataSourceSchema=e.DataSourceSchema;exports.InputContentSchema=e.ContentPartSchema;exports.InputContentSourceSchema=e.InputContentSourceSchema;exports.InputContentUrlSourceSchema=e.InputContentUrlSourceSchema;exports.InterruptSchema=e.InterruptSchema;exports.JsonPatchOperationSchema=e.JsonPatchOperationSchema;exports.JsonPatchSchema=e.JsonPatchSchema;exports.JsonPointerSchema=e.JsonPointerSchema;exports.LicenseContextKey=e.LicenseContextKey;exports.MARKDOWN_RENDERER_KEY=e.MARKDOWN_RENDERER_KEY;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.InputContentSourceSchema;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.StreamingMarkdownDefault=e.StreamingMarkdownDefault;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.TextInputContentSchema;exports.TextMessageChunkEventSchema=e.TextMessageChunkEventSchema;exports.TextMessageContentEventSchema=e.TextMessageContentEventSchema;exports.TextMessageEndEventSchema=e.TextMessageEndEventSchema;exports.TextMessageRoleSchema=e.TextMessageRoleSchema;exports.TextMessageStartEventSchema=e.TextMessageStartEventSchema;exports.TextPartSchema=e.TextInputContentSchema;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.InputContentUrlSourceSchema;exports.UseAgentUpdate=e.UseAgentUpdate;exports.UserMessageSchema=e.UserMessageSchema;exports.VideoInputContentSchema=e.VideoInputContentSchema;exports.VideoInputPartSchema=e.VideoInputContentSchema;exports.VideoPartSchema=e.VideoInputContentSchema;exports.createA2UIMessageRenderer=e.createA2UIMessageRenderer;exports.createDefaultLicenseRef=e.createDefaultLicenseRef;exports.defineToolCallRenderer=e.defineToolCallRenderer;exports.extractCompleteStyles=e.extractCompleteStyles;exports.getOperationSurfaceId=e.getOperationSurfaceId;exports.isVueComponentRenderer=e.isVueComponentRenderer;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.useCopilotAction=e.useCopilotAction;exports.useCopilotChatConfiguration=e.useCopilotChatConfiguration;exports.useCopilotKit=e.useCopilotKit;exports.useCopilotReadable=e.useCopilotReadable;exports.useDefaultRenderTool=e.useDefaultRenderTool;exports.useFrontendTool=e.useFrontendTool;exports.useHumanInTheLoop=e.useHumanInTheLoop;exports.useInterrupt=e.useInterrupt;exports.useKeyboardHeight=e.useKeyboardHeight;exports.useLicenseContext=e.useLicenseContext;exports.useMarkdownRenderer=e.useMarkdownRenderer;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,"PROTOCOL_VERSION",{enumerable:!0,get:()=>a.PROTOCOL_VERSION});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:()=>i.createLicenseContextValue});Object.keys(a).forEach(t=>{t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:()=>a[t]})});Object.keys(o).forEach(t=>{t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:()=>o[t]})});
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("@copilotkit/core"),n=require("@ag-ui/client"),e=require("../use-render-activity-message-CPzguixR.cjs"),o=require("@copilotkit/mcp-apps-renderer/activity"),c=require("@copilotkit/shared");Object.defineProperty(exports,"CopilotChatDefaultLabels",{enumerable:!0,get:()=>a.CopilotChatDefaultLabels});Object.defineProperty(exports,"PROTOCOL_VERSION",{enumerable:!0,get:()=>n.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.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.CopilotChatToolCallGroup=e._sfc_main$11;exports.CopilotChatToolCallsView=e._sfc_main$12;exports.CopilotChatUserMessage=e._sfc_main$13;exports.CopilotChatView=e._sfc_main$14;exports.CopilotChatWorkSummary=e._sfc_main$15;exports.CopilotKitCoreVue=e.CopilotKitCoreVue;exports.CopilotKitInspector=e._sfc_main$16;exports.CopilotKitProvider=e._sfc_main$17;exports.CopilotKitStyles=e.CopilotKitStyles;exports.CopilotModalHeader=e.CopilotModalHeader;exports.CopilotPopup=e._sfc_main$18;exports.CopilotPopupView=e.CopilotPopupView;exports.CopilotSidebar=e._sfc_main$19;exports.CopilotSidebarView=e.CopilotSidebarView;exports.CopilotThreadsDrawer=e._sfc_main$20;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.MARKDOWN_RENDERER_KEY=e.MARKDOWN_RENDERER_KEY;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.StreamingMarkdownDefault=e._sfc_main$21;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.isVueComponentRenderer=e.isVueComponentRenderer;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.useKeyboardHeight=e.useKeyboardHeight;exports.useLicenseContext=e.useLicenseContext;exports.useMarkdownRenderer=e.useMarkdownRenderer;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:()=>o.MCPAppsActivityContentSchema});Object.defineProperty(exports,"MCPAppsActivityType",{enumerable:!0,get:()=>o.MCPAppsActivityType});Object.defineProperty(exports,"ɵrunMcpFollowUp",{enumerable:!0,get:()=>o.ɵrunMcpFollowUp});Object.defineProperty(exports,"createLicenseContextValue",{enumerable:!0,get:()=>c.createLicenseContextValue});Object.keys(a).forEach(t=>{t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:()=>a[t]})});Object.keys(n).forEach(t=>{t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:()=>n[t]})});
2
2
  //# sourceMappingURL=index.cjs.map
package/dist/v2/index.mjs CHANGED
@@ -1,204 +1,201 @@
1
- import { A2UIActivityContentSchema as a, A2UISurfaceActivityRenderer as n, A2UISurfaceActivityType as o, ActivityDeltaEventSchema as i, ActivityMessageSchema as c, ActivitySnapshotEventSchema as s, AddOperationSchema as S, AgentCapabilitiesSchema as h, AssistantMessageSchema as m, AttributableSchema as u, AudioInputContentSchema as r, AudioInputContentSchema as p, AudioInputContentSchema as C, BaseEventSchema as l, BaseMessageSchema as g, BasicMarkdown as d, ContentPartSchema as v, ContextSchema as I, CopilotChat as E, CopilotChatAssistantMessage as R, CopilotChatAttachmentQueue as A, CopilotChatAttachmentRenderer as M, CopilotChatAudioRecorder as T, CopilotChatConfigurationProvider as b, CopilotChatDefaultLabels as O, CopilotChatInput as y, CopilotChatMessageView as P, CopilotChatReasoningMessage as x, CopilotChatSuggestionPill as f, CopilotChatSuggestionView as U, CopilotChatToggleButton as D, CopilotChatToggleButtonCloseIcon as V, CopilotChatToggleButtonOpenIcon as F, CopilotChatToolCallGroup as w, CopilotChatToolCallsView as K, CopilotChatUserMessage as k, CopilotChatView as L, CopilotChatWorkSummary as B, CopilotKit as G, CopilotKitCoreVue as H, CopilotKitInspector as J, CopilotKitProvider as N, CopilotKitStyles as _, CopilotModalHeader as W, CopilotPopup as Q, CopilotPopupView as Y, CopilotSidebar as j, CopilotSidebarView as q, CopilotThreadsDrawer as z, CopyOperationSchema as X, CustomEventSchema as Z, DataSourceSchema as $, DeveloperMessageSchema as ee, DocumentInputContentSchema as te, DocumentInputContentSchema as ae, DocumentInputContentSchema as ne, EventSchema as oe, EventSchema as ie, EventTypeSchema as ce, ExecutionCapabilitiesSchema as se, FileSourceSchema as Se, FunctionCallSchema as he, GenerateSandboxedUiArgsSchema as me, HumanInTheLoopCapabilitiesSchema as ue, IdentityCapabilitiesSchema as re, ImageInputContentSchema as pe, ImageInputContentSchema as Ce, ImageInputContentSchema as le, DataSourceSchema as ge, ContentPartSchema as de, InputContentSourceSchema as ve, InputContentUrlSourceSchema as Ie, InterruptSchema as Ee, JsonPatchOperationSchema as Re, JsonPatchSchema as Ae, JsonPointerSchema as Me, LicenseContextKey as Te, MARKDOWN_RENDERER_KEY as be, MCPAppsActivityRenderer as Oe, MessageSchema as ye, MessagesSnapshotEventSchema as Pe, MetadataSchema as xe, MoveOperationSchema as fe, MultiAgentCapabilitiesSchema as Ue, MultimodalCapabilitiesSchema as De, MultimodalInputCapabilitiesSchema as Ve, MultimodalOutputCapabilitiesSchema as Fe, OpenGenerativeUIActivityRenderer as we, OpenGenerativeUIActivityType as Ke, OpenGenerativeUIContentSchema as ke, OpenGenerativeUIRenderer as Le, OpenGenerativeUIToolRenderer as Be, OptionalMetadataSchema as Ge, OutputCapabilitiesSchema as He, InputContentSourceSchema as Je, RawEventSchema as Ne, ReasoningCapabilitiesSchema as _e, ReasoningEncryptedValueEventSchema as We, ReasoningEncryptedValueSubtypeSchema as Qe, ReasoningEndEventSchema as Ye, ReasoningMessageChunkEventSchema as je, ReasoningMessageContentEventSchema as qe, ReasoningMessageEndEventSchema as ze, ReasoningMessageSchema as Xe, ReasoningMessageStartEventSchema as Ze, ReasoningStartEventSchema as $e, RemoveOperationSchema as et, ReplaceOperationSchema as tt, ResumeEntrySchema as at, RoleSchema as nt, RunAgentInputSchema as ot, RunErrorEventSchema as it, RunFinishedCancelledOutcomeSchema as ct, RunFinishedEventSchema as st, RunFinishedInterruptOutcomeSchema as St, RunFinishedOutcomeSchema as ht, RunFinishedSuccessOutcomeSchema as mt, RunStartedEventSchema as ut, StateCapabilitiesSchema as rt, StateDeltaEventSchema as pt, StateSchema as Ct, StateSnapshotEventSchema as lt, StepFinishedEventSchema as gt, StepStartedEventSchema as dt, StreamingMarkdownDefault as vt, SubagentErrorEventSchema as It, SubagentFinishedEventSchema as Et, SubagentFinishedOutcomeSchema as Rt, SubagentFinishedSuccessOutcomeSchema as At, SubagentFinishedSuspendedOutcomeSchema as Mt, SubagentInfoSchema as Tt, SubagentRunIdSchema as bt, SubagentStartedEventSchema as Ot, SystemMessageSchema as yt, TestOperationSchema as Pt, TextInputContentSchema as xt, TextMessageChunkEventSchema as ft, TextMessageContentEventSchema as Ut, TextMessageEndEventSchema as Dt, TextMessageRoleSchema as Vt, TextMessageStartEventSchema as Ft, TextInputContentSchema as wt, TokenUsageSchema as Kt, ToolCallArgsEventSchema as kt, ToolCallChunkEventSchema as Lt, ToolCallEndEventSchema as Bt, ToolCallResultEventSchema as Gt, ToolCallSchema as Ht, ToolCallStartEventSchema as Jt, ToolMessageSchema as Nt, ToolSchema as _t, ToolsCapabilitiesSchema as Wt, TransportCapabilitiesSchema as Qt, InputContentUrlSourceSchema as Yt, UseAgentUpdate as jt, UserMessageSchema as qt, VideoInputContentSchema as zt, VideoInputContentSchema as Xt, VideoInputContentSchema as Zt, createA2UIMessageRenderer as $t, createDefaultLicenseRef as ea, defineToolCallRenderer as ta, extractCompleteStyles as aa, getOperationSurfaceId as na, isVueComponentRenderer as oa, processPartialHtml as ia, useAgent as ca, useAgentContext as sa, useAttachments as Sa, useCapabilities as ha, useComponent as ma, useConfigureSuggestions as ua, useCopilotAction as ra, useCopilotChatConfiguration as pa, useCopilotKit as Ca, useCopilotReadable as la, useDefaultRenderTool as ga, useFrontendTool as da, useHumanInTheLoop as va, useInterrupt as Ia, useKeyboardHeight as Ea, useLicenseContext as Ra, useMarkdownRenderer as Aa, useRenderActivityMessage as Ma, useRenderCustomMessages as Ta, useRenderTool as ba, useSandboxFunctions as Oa, useSuggestions as ya, useThreads as Pa, vueBasicCatalog as xa } from "../index.mjs";
2
- export * from "@ag-ui/client";
3
- import { PROTOCOL_VERSION as Da } from "@ag-ui/client";
4
1
  export * from "@copilotkit/core";
5
- import { MCPAppsActivityContentSchema as wa, MCPAppsActivityType as Ka, ɵrunMcpFollowUp as ka } from "@copilotkit/mcp-apps-renderer/activity";
6
- import { createLicenseContextValue as Ba } from "@copilotkit/shared";
2
+ import { CopilotChatDefaultLabels as s } from "@copilotkit/core";
3
+ export * from "@ag-ui/client";
4
+ import { PROTOCOL_VERSION as i } from "@ag-ui/client";
5
+ import { A as S, _ as h, a as m, b as r, c as u, d as p, e as l, f as C, g as b, h as g, i as d, i as v, i as E, B as R, j as I, C as M, k as A, l as T, m as O, n as y, o as P, p as x, q as f, r as U, s as V, t as D, u as F, v as w, w as K, x as L, y as k, z as G, D as B, E as H, F as J, G as N, H as W, I as _, J as Q, K as j, L as q, M as z, N as Y, O as X, P as Z, Q as $, R as aa, S as ea, T as ta, U as sa, V as na, V as oa, V as ia, W as ca, W as Sa, X as ha, Y as ma, Z as ra, $ as ua, a0 as pa, a1 as la, a2 as Ca, a3 as ba, a3 as ga, a3 as da, T as va, C as Ea, a4 as Ra, a5 as Ia, a6 as Ma, a7 as Aa, a8 as Ta, a9 as Oa, aa as ya, ab as Pa, ac as xa, ad as fa, ae as Ua, af as Va, ag as Da, ah as Fa, ai as wa, aj as Ka, ak as La, al as ka, am as Ga, an as Ba, ao as Ha, ap as Ja, aq as Na, ar as Wa, a4 as _a, as as Qa, at as ja, au as qa, av as za, aw as Ya, ax as Xa, ay as Za, az as $a, aA as ae, aB as ee, aC as te, aD as se, aE as ne, aF as oe, aG as ie, aH as ce, aI as Se, aJ as he, aK as me, aL as re, aM as ue, aN as pe, aO as le, aP as Ce, aQ as be, aR as ge, aS as de, aT as ve, aU as Ee, aV as Re, aW as Ie, aX as Me, aY as Ae, aZ as Te, a_ as Oe, a$ as ye, b0 as Pe, b1 as xe, b2 as fe, b3 as Ue, b4 as Ve, b5 as De, b6 as Fe, b7 as we, b8 as Ke, b9 as Le, b4 as ke, ba as Ge, bb as Be, bc as He, bd as Je, be as Ne, bf as We, bg as _e, bh as Qe, bi as je, bj as qe, bk as ze, a5 as Ye, bl as Xe, bm as Ze, bn as $e, bn as at, bn as et, bo as tt, bp as st, bq as nt, br as ot, bs as it, bt as ct, bu as St, bv as ht, bw as mt, bx as rt, by as ut, bz as pt, bA as lt, bB as Ct, bC as bt, bD as gt, bE as dt, bF as vt, bG as Et, bH as Rt, bI as It, bJ as Mt, bK as At, bL as Tt, bM as Ot, bN as yt, bO as Pt, bP as xt, bQ as ft } from "../use-render-activity-message-C5LCG9a9.js";
6
+ import { MCPAppsActivityContentSchema as Vt, MCPAppsActivityType as Dt, ɵrunMcpFollowUp as Ft } from "@copilotkit/mcp-apps-renderer/activity";
7
+ import { createLicenseContextValue as Kt } from "@copilotkit/shared";
7
8
  export {
8
- a as A2UIActivityContentSchema,
9
- n as A2UISurfaceActivityRenderer,
10
- o as A2UISurfaceActivityType,
11
- i as ActivityDeltaEventSchema,
12
- c as ActivityMessageSchema,
13
- s as ActivitySnapshotEventSchema,
14
- S as AddOperationSchema,
15
- h as AgentCapabilitiesSchema,
16
- m as AssistantMessageSchema,
17
- u as AttributableSchema,
18
- r as AudioInputContentSchema,
19
- p as AudioInputPartSchema,
20
- C as AudioPartSchema,
21
- l as BaseEventSchema,
22
- g as BaseMessageSchema,
23
- d as BasicMarkdown,
24
- v as ContentPartSchema,
25
- I as ContextSchema,
26
- E as CopilotChat,
27
- R as CopilotChatAssistantMessage,
28
- A as CopilotChatAttachmentQueue,
29
- M as CopilotChatAttachmentRenderer,
30
- T as CopilotChatAudioRecorder,
31
- b as CopilotChatConfigurationProvider,
32
- O as CopilotChatDefaultLabels,
33
- y as CopilotChatInput,
34
- P as CopilotChatMessageView,
35
- x as CopilotChatReasoningMessage,
36
- f as CopilotChatSuggestionPill,
37
- U as CopilotChatSuggestionView,
38
- D as CopilotChatToggleButton,
39
- V as CopilotChatToggleButtonCloseIcon,
40
- F as CopilotChatToggleButtonOpenIcon,
41
- w as CopilotChatToolCallGroup,
42
- K as CopilotChatToolCallsView,
43
- k as CopilotChatUserMessage,
44
- L as CopilotChatView,
45
- B as CopilotChatWorkSummary,
46
- G as CopilotKit,
47
- H as CopilotKitCoreVue,
48
- J as CopilotKitInspector,
49
- N as CopilotKitProvider,
50
- _ as CopilotKitStyles,
51
- W as CopilotModalHeader,
52
- Q as CopilotPopup,
9
+ S as A2UIActivityContentSchema,
10
+ h as A2UISurfaceActivityRenderer,
11
+ m as A2UISurfaceActivityType,
12
+ r as ActivityDeltaEventSchema,
13
+ u as ActivityMessageSchema,
14
+ p as ActivitySnapshotEventSchema,
15
+ l as AddOperationSchema,
16
+ C as AgentCapabilitiesSchema,
17
+ b as AssistantMessageSchema,
18
+ g as AttributableSchema,
19
+ d as AudioInputContentSchema,
20
+ v as AudioInputPartSchema,
21
+ E as AudioPartSchema,
22
+ R as BaseEventSchema,
23
+ I as BaseMessageSchema,
24
+ M as ContentPartSchema,
25
+ A as ContextSchema,
26
+ T as CopilotChat,
27
+ O as CopilotChatAssistantMessage,
28
+ y as CopilotChatAttachmentQueue,
29
+ P as CopilotChatAttachmentRenderer,
30
+ x as CopilotChatAudioRecorder,
31
+ f as CopilotChatConfigurationProvider,
32
+ s as CopilotChatDefaultLabels,
33
+ U as CopilotChatInput,
34
+ V as CopilotChatMessageView,
35
+ D as CopilotChatReasoningMessage,
36
+ F as CopilotChatSuggestionPill,
37
+ w as CopilotChatSuggestionView,
38
+ K as CopilotChatToggleButton,
39
+ L as CopilotChatToggleButtonCloseIcon,
40
+ k as CopilotChatToggleButtonOpenIcon,
41
+ G as CopilotChatToolCallGroup,
42
+ B as CopilotChatToolCallsView,
43
+ H as CopilotChatUserMessage,
44
+ J as CopilotChatView,
45
+ N as CopilotChatWorkSummary,
46
+ W as CopilotKitCoreVue,
47
+ _ as CopilotKitInspector,
48
+ Q as CopilotKitProvider,
49
+ j as CopilotKitStyles,
50
+ q as CopilotModalHeader,
51
+ z as CopilotPopup,
53
52
  Y as CopilotPopupView,
54
- j as CopilotSidebar,
55
- q as CopilotSidebarView,
56
- z as CopilotThreadsDrawer,
57
- X as CopyOperationSchema,
58
- Z as CustomEventSchema,
59
- $ as DataSourceSchema,
60
- ee as DeveloperMessageSchema,
61
- te as DocumentInputContentSchema,
62
- ae as DocumentInputPartSchema,
63
- ne as DocumentPartSchema,
64
- oe as EventSchema,
65
- ie as EventSchemas,
66
- ce as EventTypeSchema,
67
- se as ExecutionCapabilitiesSchema,
68
- Se as FileSourceSchema,
69
- he as FunctionCallSchema,
70
- me as GenerateSandboxedUiArgsSchema,
71
- ue as HumanInTheLoopCapabilitiesSchema,
72
- re as IdentityCapabilitiesSchema,
73
- pe as ImageInputContentSchema,
74
- Ce as ImageInputPartSchema,
75
- le as ImagePartSchema,
76
- ge as InputContentDataSourceSchema,
77
- de as InputContentSchema,
78
- ve as InputContentSourceSchema,
79
- Ie as InputContentUrlSourceSchema,
80
- Ee as InterruptSchema,
81
- Re as JsonPatchOperationSchema,
82
- Ae as JsonPatchSchema,
83
- Me as JsonPointerSchema,
84
- Te as LicenseContextKey,
85
- be as MARKDOWN_RENDERER_KEY,
86
- wa as MCPAppsActivityContentSchema,
87
- Oe as MCPAppsActivityRenderer,
88
- Ka as MCPAppsActivityType,
89
- ye as MessageSchema,
90
- Pe as MessagesSnapshotEventSchema,
91
- xe as MetadataSchema,
92
- fe as MoveOperationSchema,
93
- Ue as MultiAgentCapabilitiesSchema,
94
- De as MultimodalCapabilitiesSchema,
95
- Ve as MultimodalInputCapabilitiesSchema,
96
- Fe as MultimodalOutputCapabilitiesSchema,
97
- we as OpenGenerativeUIActivityRenderer,
98
- Ke as OpenGenerativeUIActivityType,
99
- ke as OpenGenerativeUIContentSchema,
100
- Le as OpenGenerativeUIRenderer,
101
- Be as OpenGenerativeUIToolRenderer,
102
- Ge as OptionalMetadataSchema,
103
- He as OutputCapabilitiesSchema,
104
- Da as PROTOCOL_VERSION,
105
- Je as PartSourceSchema,
106
- Ne as RawEventSchema,
107
- _e as ReasoningCapabilitiesSchema,
108
- We as ReasoningEncryptedValueEventSchema,
109
- Qe as ReasoningEncryptedValueSubtypeSchema,
110
- Ye as ReasoningEndEventSchema,
111
- je as ReasoningMessageChunkEventSchema,
112
- qe as ReasoningMessageContentEventSchema,
113
- ze as ReasoningMessageEndEventSchema,
114
- Xe as ReasoningMessageSchema,
115
- Ze as ReasoningMessageStartEventSchema,
116
- $e as ReasoningStartEventSchema,
117
- et as RemoveOperationSchema,
118
- tt as ReplaceOperationSchema,
119
- at as ResumeEntrySchema,
120
- nt as RoleSchema,
121
- ot as RunAgentInputSchema,
122
- it as RunErrorEventSchema,
123
- ct as RunFinishedCancelledOutcomeSchema,
124
- st as RunFinishedEventSchema,
125
- St as RunFinishedInterruptOutcomeSchema,
126
- ht as RunFinishedOutcomeSchema,
127
- mt as RunFinishedSuccessOutcomeSchema,
128
- ut as RunStartedEventSchema,
129
- rt as StateCapabilitiesSchema,
130
- pt as StateDeltaEventSchema,
131
- Ct as StateSchema,
132
- lt as StateSnapshotEventSchema,
133
- gt as StepFinishedEventSchema,
134
- dt as StepStartedEventSchema,
135
- vt as StreamingMarkdownDefault,
136
- It as SubagentErrorEventSchema,
137
- Et as SubagentFinishedEventSchema,
138
- Rt as SubagentFinishedOutcomeSchema,
139
- At as SubagentFinishedSuccessOutcomeSchema,
140
- Mt as SubagentFinishedSuspendedOutcomeSchema,
141
- Tt as SubagentInfoSchema,
142
- bt as SubagentRunIdSchema,
143
- Ot as SubagentStartedEventSchema,
144
- yt as SystemMessageSchema,
145
- Pt as TestOperationSchema,
146
- xt as TextInputContentSchema,
147
- ft as TextMessageChunkEventSchema,
148
- Ut as TextMessageContentEventSchema,
149
- Dt as TextMessageEndEventSchema,
150
- Vt as TextMessageRoleSchema,
151
- Ft as TextMessageStartEventSchema,
152
- wt as TextPartSchema,
153
- Kt as TokenUsageSchema,
154
- kt as ToolCallArgsEventSchema,
155
- Lt as ToolCallChunkEventSchema,
156
- Bt as ToolCallEndEventSchema,
157
- Gt as ToolCallResultEventSchema,
158
- Ht as ToolCallSchema,
159
- Jt as ToolCallStartEventSchema,
160
- Nt as ToolMessageSchema,
161
- _t as ToolSchema,
162
- Wt as ToolsCapabilitiesSchema,
163
- Qt as TransportCapabilitiesSchema,
164
- Yt as UrlSourceSchema,
165
- jt as UseAgentUpdate,
166
- qt as UserMessageSchema,
167
- zt as VideoInputContentSchema,
168
- Xt as VideoInputPartSchema,
169
- Zt as VideoPartSchema,
170
- $t as createA2UIMessageRenderer,
171
- ea as createDefaultLicenseRef,
172
- Ba as createLicenseContextValue,
173
- ta as defineToolCallRenderer,
174
- aa as extractCompleteStyles,
175
- na as getOperationSurfaceId,
176
- oa as isVueComponentRenderer,
177
- ia as processPartialHtml,
178
- ca as useAgent,
179
- sa as useAgentContext,
180
- Sa as useAttachments,
181
- ha as useCapabilities,
182
- ma as useComponent,
183
- ua as useConfigureSuggestions,
184
- ra as useCopilotAction,
185
- pa as useCopilotChatConfiguration,
186
- Ca as useCopilotKit,
187
- la as useCopilotReadable,
188
- ga as useDefaultRenderTool,
189
- da as useFrontendTool,
190
- va as useHumanInTheLoop,
191
- Ia as useInterrupt,
192
- Ea as useKeyboardHeight,
193
- Ra as useLicenseContext,
194
- Aa as useMarkdownRenderer,
195
- Ma as useRenderActivityMessage,
196
- Ta as useRenderCustomMessages,
197
- ba as useRenderTool,
198
- Oa as useSandboxFunctions,
199
- ya as useSuggestions,
200
- Pa as useThreads,
201
- xa as vueBasicCatalog,
202
- ka as ɵrunMcpFollowUp
53
+ X as CopilotSidebar,
54
+ Z as CopilotSidebarView,
55
+ $ as CopilotThreadsDrawer,
56
+ aa as CopyOperationSchema,
57
+ ea as CustomEventSchema,
58
+ ta as DataSourceSchema,
59
+ sa as DeveloperMessageSchema,
60
+ na as DocumentInputContentSchema,
61
+ oa as DocumentInputPartSchema,
62
+ ia as DocumentPartSchema,
63
+ ca as EventSchema,
64
+ Sa as EventSchemas,
65
+ ha as EventTypeSchema,
66
+ ma as ExecutionCapabilitiesSchema,
67
+ ra as FileSourceSchema,
68
+ ua as FunctionCallSchema,
69
+ pa as GenerateSandboxedUiArgsSchema,
70
+ la as HumanInTheLoopCapabilitiesSchema,
71
+ Ca as IdentityCapabilitiesSchema,
72
+ ba as ImageInputContentSchema,
73
+ ga as ImageInputPartSchema,
74
+ da as ImagePartSchema,
75
+ va as InputContentDataSourceSchema,
76
+ Ea as InputContentSchema,
77
+ Ra as InputContentSourceSchema,
78
+ Ia as InputContentUrlSourceSchema,
79
+ Ma as InterruptSchema,
80
+ Aa as JsonPatchOperationSchema,
81
+ Ta as JsonPatchSchema,
82
+ Oa as JsonPointerSchema,
83
+ ya as LicenseContextKey,
84
+ Pa as MARKDOWN_RENDERER_KEY,
85
+ Vt as MCPAppsActivityContentSchema,
86
+ xa as MCPAppsActivityRenderer,
87
+ Dt as MCPAppsActivityType,
88
+ fa as MessageSchema,
89
+ Ua as MessagesSnapshotEventSchema,
90
+ Va as MetadataSchema,
91
+ Da as MoveOperationSchema,
92
+ Fa as MultiAgentCapabilitiesSchema,
93
+ wa as MultimodalCapabilitiesSchema,
94
+ Ka as MultimodalInputCapabilitiesSchema,
95
+ La as MultimodalOutputCapabilitiesSchema,
96
+ ka as OpenGenerativeUIActivityRenderer,
97
+ Ga as OpenGenerativeUIActivityType,
98
+ Ba as OpenGenerativeUIContentSchema,
99
+ Ha as OpenGenerativeUIRenderer,
100
+ Ja as OpenGenerativeUIToolRenderer,
101
+ Na as OptionalMetadataSchema,
102
+ Wa as OutputCapabilitiesSchema,
103
+ i as PROTOCOL_VERSION,
104
+ _a as PartSourceSchema,
105
+ Qa as RawEventSchema,
106
+ ja as ReasoningCapabilitiesSchema,
107
+ qa as ReasoningEncryptedValueEventSchema,
108
+ za as ReasoningEncryptedValueSubtypeSchema,
109
+ Ya as ReasoningEndEventSchema,
110
+ Xa as ReasoningMessageChunkEventSchema,
111
+ Za as ReasoningMessageContentEventSchema,
112
+ $a as ReasoningMessageEndEventSchema,
113
+ ae as ReasoningMessageSchema,
114
+ ee as ReasoningMessageStartEventSchema,
115
+ te as ReasoningStartEventSchema,
116
+ se as RemoveOperationSchema,
117
+ ne as ReplaceOperationSchema,
118
+ oe as ResumeEntrySchema,
119
+ ie as RoleSchema,
120
+ ce as RunAgentInputSchema,
121
+ Se as RunErrorEventSchema,
122
+ he as RunFinishedCancelledOutcomeSchema,
123
+ me as RunFinishedEventSchema,
124
+ re as RunFinishedInterruptOutcomeSchema,
125
+ ue as RunFinishedOutcomeSchema,
126
+ pe as RunFinishedSuccessOutcomeSchema,
127
+ le as RunStartedEventSchema,
128
+ Ce as StateCapabilitiesSchema,
129
+ be as StateDeltaEventSchema,
130
+ ge as StateSchema,
131
+ de as StateSnapshotEventSchema,
132
+ ve as StepFinishedEventSchema,
133
+ Ee as StepStartedEventSchema,
134
+ Re as StreamingMarkdownDefault,
135
+ Ie as SubagentErrorEventSchema,
136
+ Me as SubagentFinishedEventSchema,
137
+ Ae as SubagentFinishedOutcomeSchema,
138
+ Te as SubagentFinishedSuccessOutcomeSchema,
139
+ Oe as SubagentFinishedSuspendedOutcomeSchema,
140
+ ye as SubagentInfoSchema,
141
+ Pe as SubagentRunIdSchema,
142
+ xe as SubagentStartedEventSchema,
143
+ fe as SystemMessageSchema,
144
+ Ue as TestOperationSchema,
145
+ Ve as TextInputContentSchema,
146
+ De as TextMessageChunkEventSchema,
147
+ Fe as TextMessageContentEventSchema,
148
+ we as TextMessageEndEventSchema,
149
+ Ke as TextMessageRoleSchema,
150
+ Le as TextMessageStartEventSchema,
151
+ ke as TextPartSchema,
152
+ Ge as TokenUsageSchema,
153
+ Be as ToolCallArgsEventSchema,
154
+ He as ToolCallChunkEventSchema,
155
+ Je as ToolCallEndEventSchema,
156
+ Ne as ToolCallResultEventSchema,
157
+ We as ToolCallSchema,
158
+ _e as ToolCallStartEventSchema,
159
+ Qe as ToolMessageSchema,
160
+ je as ToolSchema,
161
+ qe as ToolsCapabilitiesSchema,
162
+ ze as TransportCapabilitiesSchema,
163
+ Ye as UrlSourceSchema,
164
+ Xe as UseAgentUpdate,
165
+ Ze as UserMessageSchema,
166
+ $e as VideoInputContentSchema,
167
+ at as VideoInputPartSchema,
168
+ et as VideoPartSchema,
169
+ tt as createA2UIMessageRenderer,
170
+ st as createDefaultLicenseRef,
171
+ Kt as createLicenseContextValue,
172
+ nt as defineToolCallRenderer,
173
+ ot as extractCompleteStyles,
174
+ it as getOperationSurfaceId,
175
+ ct as isVueComponentRenderer,
176
+ St as processPartialHtml,
177
+ ht as useAgent,
178
+ mt as useAgentContext,
179
+ rt as useAttachments,
180
+ ut as useCapabilities,
181
+ pt as useComponent,
182
+ lt as useConfigureSuggestions,
183
+ Ct as useCopilotChatConfiguration,
184
+ bt as useCopilotKit,
185
+ gt as useDefaultRenderTool,
186
+ dt as useFrontendTool,
187
+ vt as useHumanInTheLoop,
188
+ Et as useInterrupt,
189
+ Rt as useKeyboardHeight,
190
+ It as useLicenseContext,
191
+ Mt as useMarkdownRenderer,
192
+ At as useRenderActivityMessage,
193
+ Tt as useRenderCustomMessages,
194
+ Ot as useRenderTool,
195
+ yt as useSandboxFunctions,
196
+ Pt as useSuggestions,
197
+ xt as useThreads,
198
+ ft as vueBasicCatalog,
199
+ Ft as ɵrunMcpFollowUp
203
200
  };
204
201
  //# 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":";;;;;;;"}
@@ -42,6 +42,5 @@ export declare class CopilotKitCoreVue extends CopilotKitCore {
42
42
  private _notifyRenderToolCallsChanged;
43
43
  setInterruptState(interruptState: InterruptRenderProps<unknown, unknown> | null): void;
44
44
  subscribe(subscriber: CopilotKitCoreVueSubscriber): CopilotKitCoreSubscription;
45
- waitForPendingFrameworkUpdates(): Promise<void>;
46
45
  }
47
46
  //# sourceMappingURL=vue-core.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"vue-core.d.ts","sourceRoot":"","sources":["../../../src/v2/lib/vue-core.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,0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,4BAA4B,CAC7B;IACP,OAAO,CAAC,qBAAqB,CAAkC;IAC/D,OAAO,CAAC,uBAAuB,CAA6C;IAC5E,OAAO,CAAC,eAAe,CAAuD;gBAElE,MAAM,EAAE,uBAAuB;IAS3C,IAAI,oBAAoB,IAAI,QAAQ,CAAC,wBAAwB,EAAE,CAAC,CAE/D;IAED,IAAI,sBAAsB,IAAI,QAAQ,CACpC,0BAA0B,CAAC,OAAO,CAAC,EAAE,CACtC,CAEA;IAED,yBAAyB,CACvB,SAAS,EAAE,0BAA0B,CAAC,OAAO,CAAC,EAAE,GAC/C,IAAI;IAIP,uBAAuB,CAAC,SAAS,EAAE,wBAAwB,EAAE,GAAG,IAAI;IAWpE,IAAI,mBAAmB,IAAI,QAAQ,CAAC,mBAAmB,CAAC,OAAO,CAAC,EAAE,CAAC,CAElE;IAED,IAAI,eAAe,IAAI,QAAQ,CAAC,mBAAmB,CAAC,OAAO,CAAC,EAAE,CAAC,CAgB9D;IAED,IAAI,cAAc,IAAI,oBAAoB,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG,IAAI,CAElE;IAED,kBAAkB,CAAC,eAAe,EAAE,mBAAmB,CAAC,OAAO,CAAC,EAAE,GAAG,IAAI;IAMzE,qBAAqB,CAAC,KAAK,EAAE,mBAAmB,CAAC,OAAO,CAAC,GAAG,IAAI;IAOhE,wBAAwB,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI;IAQ9D,OAAO,CAAC,6BAA6B;IAYrC,iBAAiB,CACf,cAAc,EAAE,oBAAoB,CAAC,OAAO,EAAE,OAAO,CAAC,GAAG,IAAI,GAC5D,IAAI;IAWP,SAAS,CACP,UAAU,EAAE,2BAA2B,GACtC,0BAA0B;CAG9B"}
@@ -70,11 +70,6 @@ export interface CopilotKitProviderProps {
70
70
  sandboxFunctions?: SandboxFunction[];
71
71
  designSkill?: string;
72
72
  };
73
- /**
74
- * @deprecated This prop no longer controls the Inspector. Use
75
- * `enableInspector` instead.
76
- */
77
- showDevConsole?: boolean | "auto";
78
73
  /**
79
74
  * Disable the CopilotKit Inspector in development.
80
75
  * The Inspector is enabled by default in development browser builds and is