@copilotkit/vue 1.59.4 → 1.59.5-canary.1781104893

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.
@@ -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-BxkQ_mQ0.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-CCdCVec7.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.4",
3
+ "version": "1.59.5-canary.1781104893",
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/core": "1.59.4",
74
- "@copilotkit/web-inspector": "1.59.4",
75
- "@copilotkit/shared": "1.59.4"
73
+ "@copilotkit/core": "1.59.5-canary.1781104893",
74
+ "@copilotkit/web-inspector": "1.59.5-canary.1781104893",
75
+ "@copilotkit/shared": "1.59.5-canary.1781104893"
76
76
  },
77
77
  "devDependencies": {
78
78
  "@eslint/js": "^9.39.2",
@@ -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":
@@ -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>;