@copilotkit/vue 1.75.1 → 1.76.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 (41) hide show
  1. package/dist/index.cjs +1 -1
  2. package/dist/index.mjs +272 -157
  3. package/dist/index.mjs.map +1 -1
  4. package/dist/use-render-activity-message-BTKmd3f3.cjs +110 -0
  5. package/dist/use-render-activity-message-BTKmd3f3.cjs.map +1 -0
  6. package/dist/use-render-activity-message-Eu6R2vGT.js +12801 -0
  7. package/dist/use-render-activity-message-Eu6R2vGT.js.map +1 -0
  8. package/dist/v2/components/chat/CopilotChat.vue.d.ts.map +1 -1
  9. package/dist/v2/components/chat/CopilotChatAssistantMessage.vue.d.ts +8 -152
  10. package/dist/v2/components/chat/CopilotChatAssistantMessage.vue.d.ts.map +1 -1
  11. package/dist/v2/components/chat/CopilotChatMessageView.vue.d.ts.map +1 -1
  12. package/dist/v2/components/chat/copilotChatToolCallItemRender.d.ts.map +1 -1
  13. package/dist/v2/hooks/use-agent.d.ts.map +1 -1
  14. package/dist/v2/index.cjs +1 -1
  15. package/dist/v2/index.d.cts +2 -0
  16. package/dist/v2/index.d.mts +2 -0
  17. package/dist/v2/index.d.ts +2 -0
  18. package/dist/v2/index.d.ts.map +1 -1
  19. package/dist/v2/index.mjs +187 -72
  20. package/dist/v2/index.mjs.map +1 -1
  21. package/package.json +7 -7
  22. package/src/v2/__tests__/utils/test-helpers.ts +26 -6
  23. package/src/v2/components/chat/CopilotChat.vue +100 -20
  24. package/src/v2/components/chat/CopilotChatMessageView.vue +41 -30
  25. package/src/v2/components/chat/__tests__/CopilotChat.clearOnFresh.test.ts +130 -2
  26. package/src/v2/components/chat/__tests__/CopilotChat.e2e.test.ts +6 -1
  27. package/src/v2/components/chat/__tests__/CopilotChatMessageView.slotMetaCost.test.ts +187 -0
  28. package/src/v2/components/chat/__tests__/CopilotChatToolRendering.e2e.test.ts +22 -40
  29. package/src/v2/components/chat/__tests__/CopilotChatToolRerenders.e2e.test.ts +12 -24
  30. package/src/v2/components/chat/copilotChatToolCallItemRender.ts +3 -2
  31. package/src/v2/hooks/__tests__/use-agent-headers.test.ts +83 -0
  32. package/src/v2/hooks/__tests__/use-agent-stability.test.ts +2 -0
  33. package/src/v2/hooks/__tests__/use-agent.e2e.test.ts +5 -3
  34. package/src/v2/hooks/__tests__/use-frontend-tool.e2e.test.ts +2 -2
  35. package/src/v2/hooks/use-agent.ts +3 -3
  36. package/src/v2/index.ts +5 -0
  37. package/src/v2/providers/__tests__/CopilotKitProvider.renderCustomMessages.e2e.test.ts +6 -4
  38. package/dist/use-render-activity-message-BOPauH9X.cjs +0 -85
  39. package/dist/use-render-activity-message-BOPauH9X.cjs.map +0 -1
  40. package/dist/use-render-activity-message-xvpuaGyf.js +0 -9807
  41. package/dist/use-render-activity-message-xvpuaGyf.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"CopilotChat.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/chat/CopilotChat.vue"],"names":[],"mappings":"AA83BA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAiBnD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAG3C,OAAO,KAAK,EACV,yBAAyB,EACzB,gBAAgB,EAChB,6BAA6B,EAC7B,kCAAkC,EAClC,gCAAgC,EAChC,iCAAiC,EAClC,MAAM,SAAS,CAAC;AAcjB,KAAK,WAAW,GAAG;IACjB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,gCAAgC,KAAK,OAAO,CAAC;IACnE,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE;QACvB,QAAQ,EAAE,OAAO,EAAE,CAAC;QACpB,SAAS,EAAE,OAAO,CAAC;KACpB,KAAK,OAAO,CAAC;IACd,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,6BAA6B,KAAK,OAAO,CAAC;IAC9D,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE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KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,OAAO,CAAC;IACtD,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,kCAAkC,KAAK,OAAO,CAAC;IAC3E,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,iCAAiC,KAAK,OAAO,CAAC;IACzE,iBAAiB,CAAC,EAAE,MAAM,OAAO,CAAC;IAElC,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,CAAC,KAAK,EAAE,GAAG,KAAK,OAAO,CAAC,GAAG,SAAS,CAAC;CACtD,CAAC;AAs8BF,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;6EAQnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -24,159 +24,15 @@ type __VLS_Slots = {
24
24
  [key: string]: ((props: any) => unknown) | undefined;
25
25
  };
26
26
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
27
- "thumbs-up": (message: {
28
- id: string;
29
- role: "assistant";
30
- name?: string | undefined;
31
- encryptedValue?: string | undefined;
32
- metadata?: Record<string, any> | undefined;
33
- content?: string | undefined;
34
- subagentRunId?: string | undefined;
35
- toolCalls?: {
36
- function: {
37
- name: string;
38
- arguments: string;
39
- };
40
- type: "function";
41
- id: string;
42
- encryptedValue?: string | undefined;
43
- metadata?: Record<string, any> | undefined;
44
- }[] | undefined;
45
- }) => any;
46
- "thumbs-down": (message: {
47
- id: string;
48
- role: "assistant";
49
- name?: string | undefined;
50
- encryptedValue?: string | undefined;
51
- metadata?: Record<string, any> | undefined;
52
- content?: string | undefined;
53
- subagentRunId?: string | undefined;
54
- toolCalls?: {
55
- function: {
56
- name: string;
57
- arguments: string;
58
- };
59
- type: "function";
60
- id: string;
61
- encryptedValue?: string | undefined;
62
- metadata?: Record<string, any> | undefined;
63
- }[] | undefined;
64
- }) => any;
65
- "read-aloud": (message: {
66
- id: string;
67
- role: "assistant";
68
- name?: string | undefined;
69
- encryptedValue?: string | undefined;
70
- metadata?: Record<string, any> | undefined;
71
- content?: string | undefined;
72
- subagentRunId?: string | undefined;
73
- toolCalls?: {
74
- function: {
75
- name: string;
76
- arguments: string;
77
- };
78
- type: "function";
79
- id: string;
80
- encryptedValue?: string | undefined;
81
- metadata?: Record<string, any> | undefined;
82
- }[] | undefined;
83
- }) => any;
84
- regenerate: (message: {
85
- id: string;
86
- role: "assistant";
87
- name?: string | undefined;
88
- encryptedValue?: string | undefined;
89
- metadata?: Record<string, any> | undefined;
90
- content?: string | undefined;
91
- subagentRunId?: string | undefined;
92
- toolCalls?: {
93
- function: {
94
- name: string;
95
- arguments: string;
96
- };
97
- type: "function";
98
- id: string;
99
- encryptedValue?: string | undefined;
100
- metadata?: Record<string, any> | undefined;
101
- }[] | undefined;
102
- }) => any;
27
+ "thumbs-up": (message: AssistantMessage) => any;
28
+ "thumbs-down": (message: AssistantMessage) => any;
29
+ "read-aloud": (message: AssistantMessage) => any;
30
+ regenerate: (message: AssistantMessage) => any;
103
31
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
104
- "onThumbs-up"?: ((message: {
105
- id: string;
106
- role: "assistant";
107
- name?: string | undefined;
108
- encryptedValue?: string | undefined;
109
- metadata?: Record<string, any> | undefined;
110
- content?: string | undefined;
111
- subagentRunId?: string | undefined;
112
- toolCalls?: {
113
- function: {
114
- name: string;
115
- arguments: string;
116
- };
117
- type: "function";
118
- id: string;
119
- encryptedValue?: string | undefined;
120
- metadata?: Record<string, any> | undefined;
121
- }[] | undefined;
122
- }) => any) | undefined;
123
- "onThumbs-down"?: ((message: {
124
- id: string;
125
- role: "assistant";
126
- name?: string | undefined;
127
- encryptedValue?: string | undefined;
128
- metadata?: Record<string, any> | undefined;
129
- content?: string | undefined;
130
- subagentRunId?: string | undefined;
131
- toolCalls?: {
132
- function: {
133
- name: string;
134
- arguments: string;
135
- };
136
- type: "function";
137
- id: string;
138
- encryptedValue?: string | undefined;
139
- metadata?: Record<string, any> | undefined;
140
- }[] | undefined;
141
- }) => any) | undefined;
142
- "onRead-aloud"?: ((message: {
143
- id: string;
144
- role: "assistant";
145
- name?: string | undefined;
146
- encryptedValue?: string | undefined;
147
- metadata?: Record<string, any> | undefined;
148
- content?: string | undefined;
149
- subagentRunId?: string | undefined;
150
- toolCalls?: {
151
- function: {
152
- name: string;
153
- arguments: string;
154
- };
155
- type: "function";
156
- id: string;
157
- encryptedValue?: string | undefined;
158
- metadata?: Record<string, any> | undefined;
159
- }[] | undefined;
160
- }) => any) | undefined;
161
- onRegenerate?: ((message: {
162
- id: string;
163
- role: "assistant";
164
- name?: string | undefined;
165
- encryptedValue?: string | undefined;
166
- metadata?: Record<string, any> | undefined;
167
- content?: string | undefined;
168
- subagentRunId?: string | undefined;
169
- toolCalls?: {
170
- function: {
171
- name: string;
172
- arguments: string;
173
- };
174
- type: "function";
175
- id: string;
176
- encryptedValue?: string | undefined;
177
- metadata?: Record<string, any> | undefined;
178
- }[] | undefined;
179
- }) => any) | undefined;
32
+ "onThumbs-up"?: ((message: AssistantMessage) => any) | undefined;
33
+ "onThumbs-down"?: ((message: AssistantMessage) => any) | undefined;
34
+ "onRead-aloud"?: ((message: AssistantMessage) => any) | undefined;
35
+ onRegenerate?: ((message: AssistantMessage) => any) | undefined;
180
36
  }>, {
181
37
  messages: Message[];
182
38
  isRunning: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"CopilotChatAssistantMessage.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/chat/CopilotChatAssistantMessage.vue"],"names":[],"mappings":"AA43BA,OAAO,KAAK,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,aAAa,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B,CAAC,EAAE,CAClB,KAAK,EAAE,iDAAiD,KACrD,OAAO,CAAC;IACb,eAAe,CAAC,EAAE,MAAM,OAAO,CAAC;IAChC,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,CAAC,KAAK,EAAE,GAAG,KAAK,OAAO,CAAC,GAAG,SAAS,CAAC;CACtD,CAAC;AA86BF,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;0BAhgCrB,CAlF6B;oBAkF7B,CAlFgE;;;;;;;;;;;;;;;;;;0BAkFhE,CAlF6B;oBAkF7B,CAlFgE;;;;;;;;;;;;;;;;;;0BAkFhE,CAlF6B;oBAkF7B,CAlFgE;;;;;;;;;;;;;;;;;;0BAkFhE,CAlF6B;oBAkF7B,CAlFgE;;;;;;;;;;;;;;;;;;;0BAkFhE,CAlF6B;oBAkF7B,CAlFgE;;;;;;;;;;;;;;;;;;0BAkFhE,CAlF6B;oBAkF7B,CAlFgE;;;;;;;;;;;;;;;;;;0BAkFhE,CAlF6B;oBAkF7B,CAlFgE;;;;;;;;;;;;;;;;;;0BAkFhE,CAlF6B;oBAkF7B,CAlFgE;;;;cAyHjD,OAAO,EAAE;eACR,OAAO;oBACF,OAAO;6EA+9B1B,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"CopilotChatAssistantMessage.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/chat/CopilotChatAssistantMessage.vue"],"names":[],"mappings":"AA43BA,OAAO,KAAK,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAc7D,OAAO,KAAK,EACV,8CAA8C,EAC9C,0CAA0C,EAC1C,mDAAmD,EACnD,mDAAmD,EACnD,oDAAoD,EACpD,oDAA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C,GAAG,EAAE,MAAM,GAAG,CAAC,CAAC,KAAK,EAAE,GAAG,KAAK,OAAO,CAAC,GAAG,SAAS,CAAC;CACtD,CAAC;AA86BF,QAAA,MAAM,eAAe;;;;;;;;;;;cAz9BN,OAAO,EAAE;eACR,OAAO;oBACF,OAAO;6EA+9B1B,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CopilotChatMessageView.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/chat/CopilotChatMessageView.vue"],"names":[],"mappings":"AA2fA,OAAO,KAAK,EACV,eAAe,EACf,gBAAgB,EAChB,OAAO,EACP,gBAAgB,EAChB,WAAW,EACX,WAAW,EACZ,MAAM,aAAa,CAAC;AAOrB,OAAO,KAAK,EACV,oBAAoB,EAErB,MAAM,aAAa,CAAC;AAOrB,UAAU,gBAAgB;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,UAAU,iBAAiB;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,eAAe,CAAC;IACzB,KAAK,EAAE,OAAO,CAAC;CAChB;AAED,KAAK,kBAAkB,GAAG,oBAAoB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;AASjE,KAAK,WAAW,GAAG;IACf,QAAQ,CAAC,E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AAC,GAAG,EAAE,aAAa,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE;QACpC,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,OAAO,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;QAC3B,QAAQ,EAAE,OAAO,CAAC;QAClB,WAAW,EAAE,WAAW,GAAG,SAAS,CAAC;KACtC,KAAK,OAAO,CAAC;CACf,CAAC;AAueF,QAAA,MAAM,eAAe;cAphBN,OAAO,EAAE;eACR,OAAO;6EA0hBrB,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":"CopilotChatMessageView.vue.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/chat/CopilotChatMessageView.vue"],"names":[],"mappings":"AAsgBA,OAAO,KAAK,EACV,eAAe,EACf,gBAAgB,EAChB,OAAO,EACP,gBAAgB,EAChB,WAAW,EACX,WAAW,EACZ,MAAM,aAAa,CAAC;AAOrB,OAAO,KAAK,EACV,oBAAoB,EAErB,MAAM,aAAa,CAAC;AAOrB,UAAU,gBAAgB;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,qBAAqB,EAAE,MAAM,CAAC;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,OAAO,CAAC;CACxB;AAED,UAAU,iBAAiB;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,eAAe,C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M,CAAC;QACf,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;QAC3B,QAAQ,EAAE,OAAO,CAAC;QAClB,WAAW,EAAE,WAAW,GAAG,SAAS,CAAC;KACtC,KAAK,OAAO,CAAC;IACd,CAAC,GAAG,EAAE,aAAa,MAAM,EAAE,GAAG,CAAC,KAAK,EAAE;QACpC,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,OAAO,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;QAC3B,QAAQ,EAAE,OAAO,CAAC;QAClB,WAAW,EAAE,WAAW,GAAG,SAAS,CAAC;KACtC,KAAK,OAAO,CAAC;CACf,CAAC;AAmgBF,QAAA,MAAM,eAAe;cAhjBN,OAAO,EAAE;eACR,OAAO;6EAsjBrB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"copilotChatToolCallItemRender.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/chat/copilotChatToolCallItemRender.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAIlE,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,SAAS,CAAC;AAClE,OAAO,KAAK,EACV,mBAAmB,EACnB,8BAA8B,EAC/B,MAAM,aAAa,CAAC;AAErB,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,OAAO,EAAE,EACnB,UAAU,EAAE,MAAM,GACjB,WAAW,GAAG,SAAS,CAMzB;AAED,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,aAAa,MAAM,EAAE,CAE3E;AAED,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,QAAQ,EAClB,eAAe,EAAE,SAAS,mBAAmB,CAAC,OAAO,CAAC,EAAE,EACxD,OAAO,EAAE,MAAM,GACd,mBAAmB,CAAC,OAAO,CAAC,GAAG,SAAS,CAW1C;AAED,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,OAAO,EAAE,EACnB,oBAAoB,EAAE,WAAW,CAAC,MAAM,CAAC,GACxC,kCAAkC,CAwBpC;AAED,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,OAAO,EAAE,EACnB,oBAAoB,EAAE,WAAW,CAAC,MAAM,CAAC,GACxC,8BAA8B,CAAC,OAAO,CAAC,CAgCzC;AAED,wBAAgB,mBAAmB,CACjC,QAAQ,EAAE,QAAQ,EAClB,QAAQ,EAAE,OAAO,EAAE,EACnB,oBAAoB,EAAE,WAAW,CAAC,MAAM,CAAC,EACzC,eAAe,EAAE,SAAS,mBAAmB,CAAC,OAAO,CAAC,EAAE,EACxD,OAAO,GAAE,MAAyB,GACjC,OAAO,EAAE,CASX"}
1
+ {"version":3,"file":"copilotChatToolCallItemRender.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/chat/copilotChatToolCallItemRender.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAKlE,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,SAAS,CAAC;AAClE,OAAO,KAAK,EACV,mBAAmB,EACnB,8BAA8B,EAC/B,MAAM,aAAa,CAAC;AAErB,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,OAAO,EAAE,EACnB,UAAU,EAAE,MAAM,GACjB,WAAW,GAAG,SAAS,CAMzB;AAED,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,aAAa,MAAM,EAAE,CAE3E;AAED,wB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AAC,MAAM,CAAC,CAAC;IACzC;;;;;;OAMG;IACH,QAAQ,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;CACpC;AAED;;;;;;;;GAQG;AACH,UAAU,qBAAqB;IAC7B;;;OAGG;IACH,OAAO,CAAC,EAAE,gBAAgB,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C,iFAAiF;IACjF,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,iFAAiF;IACjF,cAAc,CAAC,EAAE,SAAS,CAAC;CAC5B;AAED;;;;;;;;;;GAUG;AACH,MAAM,MAAM,aAAa,GAAG,iBAAiB,GAC3C,CAAC,yBAAyB,GAAG,qBAAqB,CAAC,CAAC;AAEtD;;;;;;;;;;;GAWG;AACH,wBAAgB,QAAQ,CAAC,KAAK,GAAE,aAAkB;;EAmVjD"}
package/dist/v2/index.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("@copilotkit/core"),i=require("@ag-ui/client"),e=require("../use-render-activity-message-BOPauH9X.cjs"),n=require("@copilotkit/shared");exports.A2UIActivityContentSchema=e.A2UIActivityContentSchema;exports.A2UISurfaceActivityRenderer=e._sfc_main;exports.A2UISurfaceActivityType=e.A2UISurfaceActivityType;exports.CopilotChat=e.CopilotChat;exports.CopilotChatAssistantMessage=e._sfc_main$1;exports.CopilotChatAttachmentQueue=e._sfc_main$2;exports.CopilotChatAttachmentRenderer=e._sfc_main$3;exports.CopilotChatAudioRecorder=e._sfc_main$4;exports.CopilotChatConfigurationProvider=e._sfc_main$5;exports.CopilotChatDefaultLabels=e.CopilotChatDefaultLabels;exports.CopilotChatInput=e._sfc_main$6;exports.CopilotChatMessageView=e._sfc_main$7;exports.CopilotChatReasoningMessage=e._sfc_main$8;exports.CopilotChatSuggestionPill=e._sfc_main$9;exports.CopilotChatSuggestionView=e._sfc_main$10;exports.CopilotChatToggleButton=e.CopilotChatToggleButton;exports.CopilotChatToggleButtonCloseIcon=e.CopilotChatToggleButtonCloseIcon;exports.CopilotChatToggleButtonOpenIcon=e.CopilotChatToggleButtonOpenIcon;exports.CopilotChatToolCallsView=e._sfc_main$11;exports.CopilotChatUserMessage=e._sfc_main$12;exports.CopilotChatView=e._sfc_main$13;exports.CopilotKitCoreVue=e.CopilotKitCoreVue;exports.CopilotKitInspector=e._sfc_main$14;exports.CopilotKitProvider=e._sfc_main$15;exports.CopilotModalHeader=e.CopilotModalHeader;exports.CopilotPopup=e._sfc_main$16;exports.CopilotPopupView=e.CopilotPopupView;exports.CopilotSidebar=e._sfc_main$17;exports.CopilotSidebarView=e.CopilotSidebarView;exports.CopilotThreadsDrawer=e._sfc_main$18;exports.GenerateSandboxedUiArgsSchema=e.GenerateSandboxedUiArgsSchema;exports.LicenseContextKey=e.LicenseContextKey;exports.MCPAppsActivityContentSchema=e.MCPAppsActivityContentSchema;exports.MCPAppsActivityRenderer=e.MCPAppsActivityRenderer;exports.MCPAppsActivityType=e.MCPAppsActivityType;exports.OpenGenerativeUIActivityRenderer=e.OpenGenerativeUIActivityRenderer;exports.OpenGenerativeUIActivityType=e.OpenGenerativeUIActivityType;exports.OpenGenerativeUIContentSchema=e.OpenGenerativeUIContentSchema;exports.OpenGenerativeUIRenderer=e.OpenGenerativeUIRenderer;exports.OpenGenerativeUIToolRenderer=e.OpenGenerativeUIToolRenderer;exports.UseAgentUpdate=e.UseAgentUpdate;exports.createA2UIMessageRenderer=e.createA2UIMessageRenderer;exports.createDefaultLicenseRef=e.createDefaultLicenseRef;exports.defineToolCallRenderer=e.defineToolCallRenderer;exports.extractCompleteStyles=e.extractCompleteStyles;exports.getOperationSurfaceId=e.getOperationSurfaceId;exports.processPartialHtml=e.processPartialHtml;exports.useAgent=e.useAgent;exports.useAgentContext=e.useAgentContext;exports.useAttachments=e.useAttachments;exports.useCapabilities=e.useCapabilities;exports.useComponent=e.useComponent;exports.useConfigureSuggestions=e.useConfigureSuggestions;exports.useCopilotChatConfiguration=e.useCopilotChatConfiguration;exports.useCopilotKit=e.useCopilotKit;exports.useDefaultRenderTool=e.useDefaultRenderTool;exports.useFrontendTool=e.useFrontendTool;exports.useHumanInTheLoop=e.useHumanInTheLoop;exports.useInterrupt=e.useInterrupt;exports.useKatexStyles=e.useKatexStyles;exports.useKeyboardHeight=e.useKeyboardHeight;exports.useLicenseContext=e.useLicenseContext;exports.useRenderActivityMessage=e.useRenderActivityMessage;exports.useRenderCustomMessages=e.useRenderCustomMessages;exports.useRenderTool=e.useRenderTool;exports.useSandboxFunctions=e.useSandboxFunctions;exports.useSuggestions=e.useSuggestions;exports.useThreads=e.useThreads;exports.vueBasicCatalog=e.vueBasicCatalog;Object.defineProperty(exports,"createLicenseContextValue",{enumerable:!0,get:()=>n.createLicenseContextValue});Object.keys(o).forEach(t=>{t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:()=>o[t]})});Object.keys(i).forEach(t=>{t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:()=>i[t]})});
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const 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]})});
2
2
  //# sourceMappingURL=index.cjs.map
@@ -1,5 +1,7 @@
1
1
  export * from "@copilotkit/core";
2
2
  export * from "@ag-ui/client";
3
+ export * from "@ag-ui/core/schemas";
4
+ export { PROTOCOL_VERSION } from "@ag-ui/client";
3
5
  export * from "./components";
4
6
  export { vueBasicCatalog } from "./components/a2ui/catalog";
5
7
  export * from "./hooks";
@@ -1,5 +1,7 @@
1
1
  export * from "@copilotkit/core";
2
2
  export * from "@ag-ui/client";
3
+ export * from "@ag-ui/core/schemas";
4
+ export { PROTOCOL_VERSION } from "@ag-ui/client";
3
5
  export * from "./components";
4
6
  export { vueBasicCatalog } from "./components/a2ui/catalog";
5
7
  export * from "./hooks";
@@ -1,5 +1,7 @@
1
1
  export * from "@copilotkit/core";
2
2
  export * from "@ag-ui/client";
3
+ export * from "@ag-ui/core/schemas";
4
+ export { PROTOCOL_VERSION } from "@ag-ui/client";
3
5
  export * from "./components";
4
6
  export { vueBasicCatalog } from "./components/a2ui/catalog";
5
7
  export * from "./hooks";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/v2/index.ts"],"names":[],"mappings":"AACA,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAG9B,cAAc,cAAc,CAAC;AAK7B,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/v2/index.ts"],"names":[],"mappings":"AACA,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAI9B,cAAc,qBAAqB,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAGjD,cAAc,cAAc,CAAC;AAK7B,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAC;AAC5D,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,0BAA0B,CAAC"}
package/dist/v2/index.mjs CHANGED
@@ -1,77 +1,192 @@
1
1
  export * from "@copilotkit/core";
2
2
  export * from "@ag-ui/client";
3
- import { A as o, _ as i, a as n, C, b as r, c as p, d as l, e as u, f as c, g, h as d, i as h, j as A, k as v, l as S, m, n as y, o as I, p as f, q as R, r as T, s as U, t as x, u as M, v as P, w as b, x as V, y as w, z as K, B as O, G, L, M as B, D, E as H, O as F, F as Q, H as j, I as k, J as q, U as z, K as E, N as J, P as N, Q as W, R as X, S as Y, T as Z, V as _, W as $, X as ee, Y as ae, Z as te, $ as se, a0 as oe, a1 as ie, a2 as ne, a3 as Ce, a4 as re, a5 as pe, a6 as le, a7 as ue, a8 as ce, a9 as ge, aa as de, ab as he, ac as Ae, ad as ve, ae as Se } from "../use-render-activity-message-xvpuaGyf.js";
4
- import { createLicenseContextValue as ye } from "@copilotkit/shared";
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";
5
6
  export {
6
- o as A2UIActivityContentSchema,
7
- i as A2UISurfaceActivityRenderer,
8
- n as A2UISurfaceActivityType,
9
- C as CopilotChat,
10
- r as CopilotChatAssistantMessage,
11
- p as CopilotChatAttachmentQueue,
12
- l as CopilotChatAttachmentRenderer,
13
- u as CopilotChatAudioRecorder,
14
- c as CopilotChatConfigurationProvider,
15
- g as CopilotChatDefaultLabels,
16
- d as CopilotChatInput,
17
- h as CopilotChatMessageView,
18
- A as CopilotChatReasoningMessage,
19
- v as CopilotChatSuggestionPill,
20
- S as CopilotChatSuggestionView,
21
- m as CopilotChatToggleButton,
22
- y as CopilotChatToggleButtonCloseIcon,
23
- I as CopilotChatToggleButtonOpenIcon,
24
- f as CopilotChatToolCallsView,
25
- R as CopilotChatUserMessage,
26
- T as CopilotChatView,
27
- U as CopilotKitCoreVue,
28
- x as CopilotKitInspector,
29
- M as CopilotKitProvider,
30
- P as CopilotModalHeader,
31
- b as CopilotPopup,
32
- V as CopilotPopupView,
33
- w as CopilotSidebar,
34
- K as CopilotSidebarView,
35
- O as CopilotThreadsDrawer,
36
- G as GenerateSandboxedUiArgsSchema,
37
- L as LicenseContextKey,
38
- B as MCPAppsActivityContentSchema,
39
- D as MCPAppsActivityRenderer,
40
- H as MCPAppsActivityType,
41
- F as OpenGenerativeUIActivityRenderer,
42
- Q as OpenGenerativeUIActivityType,
43
- j as OpenGenerativeUIContentSchema,
44
- k as OpenGenerativeUIRenderer,
45
- q as OpenGenerativeUIToolRenderer,
46
- z as UseAgentUpdate,
47
- E as createA2UIMessageRenderer,
48
- J as createDefaultLicenseRef,
49
- ye as createLicenseContextValue,
50
- N as defineToolCallRenderer,
51
- W as extractCompleteStyles,
52
- X as getOperationSurfaceId,
53
- Y as processPartialHtml,
54
- Z as useAgent,
55
- _ as useAgentContext,
56
- $ as useAttachments,
57
- ee as useCapabilities,
58
- ae as useComponent,
59
- te as useConfigureSuggestions,
60
- se as useCopilotChatConfiguration,
61
- oe as useCopilotKit,
62
- ie as useDefaultRenderTool,
63
- ne as useFrontendTool,
64
- Ce as useHumanInTheLoop,
65
- re as useInterrupt,
66
- pe as useKatexStyles,
67
- le as useKeyboardHeight,
68
- ue as useLicenseContext,
69
- ce as useRenderActivityMessage,
70
- ge as useRenderCustomMessages,
71
- de as useRenderTool,
72
- he as useSandboxFunctions,
73
- Ae as useSuggestions,
74
- ve as useThreads,
75
- Se as vueBasicCatalog
7
+ i as A2UIActivityContentSchema,
8
+ c as A2UISurfaceActivityRenderer,
9
+ S as A2UISurfaceActivityType,
10
+ h as ActivityDeltaEventSchema,
11
+ m as ActivityMessageSchema,
12
+ u as ActivitySnapshotEventSchema,
13
+ r as AddOperationSchema,
14
+ l as AgentCapabilitiesSchema,
15
+ p as AssistantMessageSchema,
16
+ C as AttributableSchema,
17
+ b as AudioInputContentSchema,
18
+ g as AudioInputPartSchema,
19
+ d as AudioPartSchema,
20
+ v as BaseEventSchema,
21
+ E as BaseMessageSchema,
22
+ R as ContentPartSchema,
23
+ I as ContextSchema,
24
+ A as CopilotChat,
25
+ T as CopilotChatAssistantMessage,
26
+ M as CopilotChatAttachmentQueue,
27
+ y as CopilotChatAttachmentRenderer,
28
+ O as CopilotChatAudioRecorder,
29
+ P as CopilotChatConfigurationProvider,
30
+ x as CopilotChatDefaultLabels,
31
+ f as CopilotChatInput,
32
+ U as CopilotChatMessageView,
33
+ F as CopilotChatReasoningMessage,
34
+ V as CopilotChatSuggestionPill,
35
+ D as CopilotChatSuggestionView,
36
+ w as CopilotChatToggleButton,
37
+ L as CopilotChatToggleButtonCloseIcon,
38
+ K as CopilotChatToggleButtonOpenIcon,
39
+ B as CopilotChatToolCallsView,
40
+ G as CopilotChatUserMessage,
41
+ H as CopilotChatView,
42
+ k as CopilotKitCoreVue,
43
+ J as CopilotKitInspector,
44
+ N as CopilotKitProvider,
45
+ j as CopilotModalHeader,
46
+ q as CopilotPopup,
47
+ z as CopilotPopupView,
48
+ Q as CopilotSidebar,
49
+ _ as CopilotSidebarView,
50
+ W as CopilotThreadsDrawer,
51
+ X as CopyOperationSchema,
52
+ Y as CustomEventSchema,
53
+ Z as DataSourceSchema,
54
+ $ as DeveloperMessageSchema,
55
+ aa as DocumentInputContentSchema,
56
+ ea as DocumentInputPartSchema,
57
+ ta as DocumentPartSchema,
58
+ sa as EventSchema,
59
+ na as EventSchemas,
60
+ oa as EventTypeSchema,
61
+ ia as ExecutionCapabilitiesSchema,
62
+ ca as FileSourceSchema,
63
+ Sa as FunctionCallSchema,
64
+ ha as GenerateSandboxedUiArgsSchema,
65
+ ma as HumanInTheLoopCapabilitiesSchema,
66
+ ua as IdentityCapabilitiesSchema,
67
+ ra as ImageInputContentSchema,
68
+ la as ImageInputPartSchema,
69
+ pa as ImagePartSchema,
70
+ Ca as InputContentDataSourceSchema,
71
+ ba as InputContentSchema,
72
+ ga as InputContentSourceSchema,
73
+ da as InputContentUrlSourceSchema,
74
+ va as InterruptSchema,
75
+ Ea as JsonPatchOperationSchema,
76
+ Ra as JsonPatchSchema,
77
+ Ia as JsonPointerSchema,
78
+ 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,
97
+ 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
76
191
  };
77
192
  //# 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.75.1",
3
+ "version": "1.76.0",
4
4
  "private": false,
5
5
  "description": "Vue 3 components and composables for CopilotKit",
6
6
  "keywords": [
@@ -62,18 +62,18 @@
62
62
  },
63
63
  "dependencies": {
64
64
  "@a2ui/web_core": "0.10.4",
65
- "@ag-ui/client": "0.0.59",
66
- "@ag-ui/core": "0.0.59",
65
+ "@ag-ui/client": "1.0.1",
66
+ "@ag-ui/core": "1.0.1",
67
67
  "@jetbrains/websandbox": "^1.1.3",
68
68
  "katex": "^0.16.27",
69
69
  "lucide-vue-next": "^0.525.0",
70
70
  "streamdown-vue": "^1.0.29",
71
71
  "zod": "^3.25.75",
72
72
  "zod-to-json-schema": "^3.24.5",
73
- "@copilotkit/core": "1.75.1",
74
- "@copilotkit/shared": "1.75.1",
75
- "@copilotkit/web-inspector": "1.75.1",
76
- "@copilotkit/web-components": "1.75.1"
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"
77
77
  },
78
78
  "devDependencies": {
79
79
  "@eslint/js": "^9.39.2",