@copilotkit/vue 1.59.5 → 1.60.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.
@@ -1 +1 @@
1
- {"version":3,"file":"A2UICatalogContext.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/a2ui/A2UICatalogContext.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACtC,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAMjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAyG5D;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,UAAU,CAAC,iBAAiB,CAAC,EACzC,OAAO,EAAE;IACP,OAAO,EAAE,MAAM,OAAO,CAAC;IACvB,OAAO,EAAE,MAAM,OAAO,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;IACjD,aAAa,EAAE,MAAM,OAAO,CAAC;CAC9B,GACA,IAAI,CA6DN"}
1
+ {"version":3,"file":"A2UICatalogContext.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/a2ui/A2UICatalogContext.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACtC,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAMjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAyG5D;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,UAAU,CAAC,iBAAiB,CAAC,EACzC,OAAO,EAAE;IACP,OAAO,EAAE,MAAM,OAAO,CAAC;IACvB,OAAO,EAAE,MAAM,OAAO,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC;IACjD,aAAa,EAAE,MAAM,OAAO,CAAC;CAC9B,GACA,IAAI,CAsEN"}
@@ -21,11 +21,11 @@ type __VLS_Slots = {
21
21
  };
22
22
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
23
23
  "thumbs-up": (message: {
24
- role: "assistant";
25
24
  id: string;
25
+ role: "assistant";
26
26
  name?: string | undefined;
27
- content?: string | undefined;
28
27
  encryptedValue?: string | undefined;
28
+ content?: string | undefined;
29
29
  toolCalls?: {
30
30
  function: {
31
31
  name: string;
@@ -37,11 +37,11 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
37
37
  }[] | undefined;
38
38
  }) => any;
39
39
  "thumbs-down": (message: {
40
- role: "assistant";
41
40
  id: string;
41
+ role: "assistant";
42
42
  name?: string | undefined;
43
- content?: string | undefined;
44
43
  encryptedValue?: string | undefined;
44
+ content?: string | undefined;
45
45
  toolCalls?: {
46
46
  function: {
47
47
  name: string;
@@ -53,11 +53,11 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
53
53
  }[] | undefined;
54
54
  }) => any;
55
55
  "read-aloud": (message: {
56
- role: "assistant";
57
56
  id: string;
57
+ role: "assistant";
58
58
  name?: string | undefined;
59
- content?: string | undefined;
60
59
  encryptedValue?: string | undefined;
60
+ content?: string | undefined;
61
61
  toolCalls?: {
62
62
  function: {
63
63
  name: string;
@@ -69,11 +69,11 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
69
69
  }[] | undefined;
70
70
  }) => any;
71
71
  regenerate: (message: {
72
- role: "assistant";
73
72
  id: string;
73
+ role: "assistant";
74
74
  name?: string | undefined;
75
- content?: string | undefined;
76
75
  encryptedValue?: string | undefined;
76
+ content?: string | undefined;
77
77
  toolCalls?: {
78
78
  function: {
79
79
  name: string;
@@ -86,11 +86,11 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
86
86
  }) => any;
87
87
  }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
88
88
  "onThumbs-up"?: ((message: {
89
- role: "assistant";
90
89
  id: string;
90
+ role: "assistant";
91
91
  name?: string | undefined;
92
- content?: string | undefined;
93
92
  encryptedValue?: string | undefined;
93
+ content?: string | undefined;
94
94
  toolCalls?: {
95
95
  function: {
96
96
  name: string;
@@ -102,11 +102,11 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
102
102
  }[] | undefined;
103
103
  }) => any) | undefined;
104
104
  "onThumbs-down"?: ((message: {
105
- role: "assistant";
106
105
  id: string;
106
+ role: "assistant";
107
107
  name?: string | undefined;
108
- content?: string | undefined;
109
108
  encryptedValue?: string | undefined;
109
+ content?: string | undefined;
110
110
  toolCalls?: {
111
111
  function: {
112
112
  name: string;
@@ -118,11 +118,11 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
118
118
  }[] | undefined;
119
119
  }) => any) | undefined;
120
120
  "onRead-aloud"?: ((message: {
121
- role: "assistant";
122
121
  id: string;
122
+ role: "assistant";
123
123
  name?: string | undefined;
124
- content?: string | undefined;
125
124
  encryptedValue?: string | undefined;
125
+ content?: string | undefined;
126
126
  toolCalls?: {
127
127
  function: {
128
128
  name: string;
@@ -134,11 +134,11 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}
134
134
  }[] | undefined;
135
135
  }) => any) | undefined;
136
136
  onRegenerate?: ((message: {
137
- role: "assistant";
138
137
  id: string;
138
+ role: "assistant";
139
139
  name?: string | undefined;
140
- content?: string | undefined;
141
140
  encryptedValue?: string | undefined;
141
+ content?: string | undefined;
142
142
  toolCalls?: {
143
143
  function: {
144
144
  name: string;
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-CiFAWxYV.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.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;Object.defineProperty(exports,"createLicenseContextValue",{enumerable:!0,get:()=>n.createLicenseContextValue});Object.keys(o).forEach(t=>{t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:()=>o[t]})});Object.keys(i).forEach(t=>{t!=="default"&&!Object.prototype.hasOwnProperty.call(exports,t)&&Object.defineProperty(exports,t,{enumerable:!0,get:()=>i[t]})});
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("@copilotkit/core"),i=require("@ag-ui/client"),e=require("../use-render-activity-message-9WEAK73b.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.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;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]})});
2
2
  //# sourceMappingURL=index.cjs.map
package/dist/v2/index.mjs CHANGED
@@ -1,6 +1,6 @@
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 S, l as m, m as v, 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 K, z as O, G as w, L as G, M as L, B as H, D as B, O as D, E as F, F as Q, H as j, I as k, U as q, J 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 } from "../use-render-activity-message-C6mweDb2.js";
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 S, l as m, m as v, 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 K, z as O, G as w, L as G, M as L, B as H, D as B, O as D, E as F, F as Q, H as j, I as k, U as q, J 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 } from "../use-render-activity-message-Dw44JCPl.js";
4
4
  import { createLicenseContextValue as me } from "@copilotkit/shared";
5
5
  export {
6
6
  o as A2UIActivityContentSchema,
@@ -12,7 +12,7 @@ export interface CopilotKitProviderProps {
12
12
  publicLicenseKey?: string;
13
13
  /**
14
14
  * Signed license token for offline verification of premium features.
15
- * Obtain from https://cloud.copilotkit.ai.
15
+ * Obtain from https://dashboard.operations.copilotkit.ai.
16
16
  */
17
17
  licenseToken?: string;
18
18
  properties?: Record<string, unknown>;
@@ -1 +1 @@
1
- {"version":3,"file":"CopilotKitProvider.vue.d.ts","sourceRoot":"","sources":["../../../src/v2/providers/CopilotKitProvider.vue"],"names":[],"mappings":"AAypBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAgCnD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAC1E,OAAO,KAAK,EACV,eAAe,EACf,0BAA0B,EAC1B,eAAe,EACf,iBAAiB,EAElB,MAAM,UAAU,CAAC;AA2pBlB,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AA2B/C,QAAA,MAAM,eAAe;;;;;;;;;;;wBAzuBrB,CAvmBqB;mBAumBrB,CAtmB8B;;;;aAsmB9B,CAlmBK;eAkmBL,CAjmBW;wBAimBX,CAhmBS;qBAgmBT,CA9lBA;;6EA80CE,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":"CopilotKitProvider.vue.d.ts","sourceRoot":"","sources":["../../../src/v2/providers/CopilotKitProvider.vue"],"names":[],"mappings":"AAypBA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAgCnD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAC1E,OAAO,KAAK,EACV,eAAe,EACf,0BAA0B,EAC1B,eAAe,EACf,iBAAiB,EAElB,MAAM,UAAU,CAAC;AA2pBlB,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AA2B/C,QAAA,MAAM,eAAe;;;;;;;;;;;wBAzuBrB,CAtmBQ;mBAsmBR,CAtmB6C;;;;aAsmB7C,CAjmBC;eAimBD,CAjmB0B;wBAimB1B,CA/lBK;qBA+lBL,CA9lBe;;6EA80Cb,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAa1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@copilotkit/vue",
3
- "version": "1.59.5",
3
+ "version": "1.60.0",
4
4
  "private": false,
5
5
  "description": "Vue 3 components and composables for CopilotKit",
6
6
  "keywords": [
@@ -62,17 +62,17 @@
62
62
  },
63
63
  "dependencies": {
64
64
  "@a2ui/web_core": "0.9.0",
65
- "@ag-ui/client": "0.0.53",
66
- "@ag-ui/core": "0.0.53",
65
+ "@ag-ui/client": "0.0.56",
66
+ "@ag-ui/core": "0.0.56",
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/shared": "1.59.5",
74
- "@copilotkit/core": "1.59.5",
75
- "@copilotkit/web-inspector": "1.59.5"
73
+ "@copilotkit/core": "1.60.0",
74
+ "@copilotkit/web-inspector": "1.60.0",
75
+ "@copilotkit/shared": "1.60.0"
76
76
  },
77
77
  "devDependencies": {
78
78
  "@eslint/js": "^9.39.2",
@@ -7,7 +7,7 @@ import type { CopilotKitProviderProps } from "../../v2/providers/CopilotKitProvi
7
7
  */
8
8
  export interface CopilotKitProps extends CopilotKitProviderProps {
9
9
  /**
10
- * Your Copilot Cloud API key.
10
+ * Your CopilotKit public license key.
11
11
  * @deprecated Use publicLicenseKey with the v2 CopilotKitProvider instead.
12
12
  */
13
13
  publicApiKey?: string;
@@ -61,7 +61,7 @@ const spec = computed<BannerSpec | null>(() => {
61
61
  severity: "warning",
62
62
  message: `Your CopilotKit license expires in ${days} ${dayLabel}. Please renew.`,
63
63
  actionLabel: "Renew",
64
- actionUrl: "https://cloud.copilotkit.ai",
64
+ actionUrl: "https://dashboard.operations.copilotkit.ai",
65
65
  };
66
66
  }
67
67
  case "expired":
@@ -100,7 +100,7 @@ function extractCatalogComponentSchemas(catalog?: Catalog<ComponentApi>): {
100
100
  {
101
101
  properties: {
102
102
  component: { const: name },
103
- ...(zodSchema.properties ?? {}),
103
+ ...zodSchema.properties,
104
104
  },
105
105
  required: ["component", ...(zodSchema.required ?? [])],
106
106
  },
@@ -135,11 +135,15 @@ export function registerA2UICatalogContext(
135
135
  [() => copilotkit.value, options.enabled, contextValue],
136
136
  ([core, isEnabled, value], _prev, onCleanup) => {
137
137
  if (!isEnabled) return;
138
+ // Scope to the agents the runtime applies A2UI to (#5369), so other
139
+ // agents on the endpoint don't receive the catalog payload.
140
+ const agentIds = core.a2uiAgents;
138
141
  const id = core.addContext({
139
142
  description:
140
143
  "A2UI catalog capabilities: available catalog IDs and " +
141
144
  "custom component definitions the client can render.",
142
145
  value,
146
+ ...(agentIds ? { agentIds } : {}),
143
147
  });
144
148
  onCleanup(() => core.removeContext(id));
145
149
  },
@@ -156,11 +160,14 @@ export function registerA2UICatalogContext(
156
160
  [() => copilotkit.value, options.enabled, schemaValue],
157
161
  ([core, isEnabled, schema], _prev, onCleanup) => {
158
162
  if (!isEnabled || !schema) return;
163
+ const agentIds = core.a2uiAgents;
164
+ const scope = agentIds ? { agentIds } : {};
159
165
  const ids: string[] = [];
160
166
  ids.push(
161
167
  core.addContext({
162
168
  description: A2UI_SCHEMA_CONTEXT_DESCRIPTION,
163
169
  value: schema,
170
+ ...scope,
164
171
  }),
165
172
  );
166
173
  ids.push(
@@ -170,6 +177,7 @@ export function registerA2UICatalogContext(
170
177
  "path rules, data model format, and " +
171
178
  "form/two-way-binding instructions.",
172
179
  value: A2UI_DEFAULT_GENERATION_GUIDELINES,
180
+ ...scope,
173
181
  }),
174
182
  );
175
183
  ids.push(
@@ -178,6 +186,7 @@ export function registerA2UICatalogContext(
178
186
  "A2UI design guidelines — visual design rules, component " +
179
187
  "hierarchy tips, and action handler patterns.",
180
188
  value: A2UI_DEFAULT_DESIGN_GUIDELINES,
189
+ ...scope,
181
190
  }),
182
191
  );
183
192
  onCleanup(() => {
@@ -21,7 +21,7 @@ export interface CopilotKitProviderProps {
21
21
  publicLicenseKey?: string;
22
22
  /**
23
23
  * Signed license token for offline verification of premium features.
24
- * Obtain from https://cloud.copilotkit.ai.
24
+ * Obtain from https://dashboard.operations.copilotkit.ai.
25
25
  */
26
26
  licenseToken?: string;
27
27
  properties?: Record<string, unknown>;