@copilotkitnext/angular 0.0.19-alpha.0 → 0.0.20

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 (26) hide show
  1. package/dist/esm2022/lib/agent-context.mjs +25 -0
  2. package/dist/esm2022/lib/components/chat/copilot-chat-user-message-branch-navigation.mjs +26 -6
  3. package/dist/esm2022/lib/components/chat/copilot-chat-user-message.mjs +34 -36
  4. package/dist/esm2022/lib/components/chat/copilot-chat-user-message.types.mjs +1 -1
  5. package/dist/esm2022/lib/copilotkit.mjs +7 -16
  6. package/dist/esm2022/lib/render-tool-calls.mjs +24 -6
  7. package/dist/esm2022/lib/tools.mjs +1 -1
  8. package/dist/esm2022/public-api.mjs +2 -1
  9. package/dist/fesm2022/copilotkitnext-angular.mjs +110 -60
  10. package/dist/fesm2022/copilotkitnext-angular.mjs.map +1 -1
  11. package/dist/lib/agent-context.d.ts +12 -0
  12. package/dist/lib/agent.d.ts +1 -16
  13. package/dist/lib/components/chat/copilot-chat-assistant-message.d.ts +2 -32
  14. package/dist/lib/components/chat/copilot-chat-message-view.d.ts +7 -112
  15. package/dist/lib/components/chat/copilot-chat-tool-calls-view.d.ts +1 -16
  16. package/dist/lib/components/chat/copilot-chat-user-message-branch-navigation.d.ts +2 -17
  17. package/dist/lib/components/chat/copilot-chat-user-message.d.ts +2 -18
  18. package/dist/lib/components/chat/copilot-chat-user-message.types.d.ts +7 -1
  19. package/dist/lib/components/chat/copilot-chat-view-scroll-view.d.ts +1 -16
  20. package/dist/lib/components/chat/copilot-chat-view.d.ts +3 -48
  21. package/dist/lib/components/chat/copilot-chat.d.ts +1 -16
  22. package/dist/lib/render-tool-calls.d.ts +1 -16
  23. package/dist/lib/tools.d.ts +5 -3
  24. package/dist/public-api.d.ts +1 -0
  25. package/package.json +5 -5
  26. package/vitest.config.mts.timestamp-1760727629337-603c9e5c1f334.mjs +49 -0
@@ -0,0 +1,12 @@
1
+ import { Injector, Signal } from "@angular/core";
2
+ import { Context } from "@ag-ui/client";
3
+ export interface ConnectAgentContextConfig {
4
+ injector?: Injector;
5
+ }
6
+ /**
7
+ * Connects context to the agent.
8
+ *
9
+ * @param context - The context (or a signal of context) to connect to the agent.
10
+ * @param config - Optional configuration for connecting the context.
11
+ */
12
+ export declare function connectAgentContext(context: Context | Signal<Context>, config?: ConnectAgentContextConfig): void;
@@ -31,17 +31,7 @@ export declare class AgentStore {
31
31
  } | {
32
32
  id: string;
33
33
  role: "user";
34
- content: string | ({
35
- type: "text";
36
- text: string;
37
- } | {
38
- type: "binary";
39
- mimeType: string;
40
- id?: string;
41
- url?: string;
42
- data?: string;
43
- filename?: string;
44
- })[];
34
+ content: string;
45
35
  name?: string;
46
36
  } | {
47
37
  id: string;
@@ -49,11 +39,6 @@ export declare class AgentStore {
49
39
  content: string;
50
40
  toolCallId: string;
51
41
  error?: string;
52
- } | {
53
- id: string;
54
- role: "activity";
55
- content: Record<string, any>;
56
- activityType: string;
57
42
  })[]>;
58
43
  readonly state: Signal<any>;
59
44
  constructor(abstractAgent: AbstractAgent, destroyRef: DestroyRef);
@@ -71,17 +71,7 @@ export declare class CopilotChatAssistantMessage {
71
71
  } | {
72
72
  id: string;
73
73
  role: "user";
74
- content: string | ({
75
- type: "text";
76
- text: string;
77
- } | {
78
- type: "binary";
79
- mimeType: string;
80
- id?: string;
81
- url?: string;
82
- data?: string;
83
- filename?: string;
84
- })[];
74
+ content: string;
85
75
  name?: string;
86
76
  } | {
87
77
  id: string;
@@ -89,11 +79,6 @@ export declare class CopilotChatAssistantMessage {
89
79
  content: string;
90
80
  toolCallId: string;
91
81
  error?: string;
92
- } | {
93
- id: string;
94
- role: "activity";
95
- content: Record<string, any>;
96
- activityType: string;
97
82
  })[]>;
98
83
  readonly isLoading: import("@angular/core").InputSignal<boolean>;
99
84
  readonly additionalToolbarItems: import("@angular/core").InputSignal<TemplateRef<any>>;
@@ -172,17 +157,7 @@ export declare class CopilotChatAssistantMessage {
172
157
  } | {
173
158
  id: string;
174
159
  role: "user";
175
- content: string | ({
176
- type: "text";
177
- text: string;
178
- } | {
179
- type: "binary";
180
- mimeType: string;
181
- id?: string;
182
- url?: string;
183
- data?: string;
184
- filename?: string;
185
- })[];
160
+ content: string;
186
161
  name?: string;
187
162
  } | {
188
163
  id: string;
@@ -190,11 +165,6 @@ export declare class CopilotChatAssistantMessage {
190
165
  content: string;
191
166
  toolCallId: string;
192
167
  error?: string;
193
- } | {
194
- id: string;
195
- role: "activity";
196
- content: Record<string, any>;
197
- activityType: string;
198
168
  })[];
199
169
  isLoading: boolean;
200
170
  }>;
@@ -36,17 +36,7 @@ export declare class CopilotChatMessageView {
36
36
  } | {
37
37
  id: string;
38
38
  role: "user";
39
- content: string | ({
40
- type: "text";
41
- text: string;
42
- } | {
43
- type: "binary";
44
- mimeType: string;
45
- id?: string;
46
- url?: string;
47
- data?: string;
48
- filename?: string;
49
- })[];
39
+ content: string;
50
40
  name?: string;
51
41
  } | {
52
42
  id: string;
@@ -54,11 +44,6 @@ export declare class CopilotChatMessageView {
54
44
  content: string;
55
45
  toolCallId: string;
56
46
  error?: string;
57
- } | {
58
- id: string;
59
- role: "activity";
60
- content: Record<string, any>;
61
- activityType: string;
62
47
  })[]>;
63
48
  showCursor: import("@angular/core").InputSignal<boolean>;
64
49
  isLoading: import("@angular/core").InputSignal<boolean>;
@@ -120,17 +105,7 @@ export declare class CopilotChatMessageView {
120
105
  } | {
121
106
  id: string;
122
107
  role: "user";
123
- content: string | ({
124
- type: "text";
125
- text: string;
126
- } | {
127
- type: "binary";
128
- mimeType: string;
129
- id?: string;
130
- url?: string;
131
- data?: string;
132
- filename?: string;
133
- })[];
108
+ content: string;
134
109
  name?: string;
135
110
  } | {
136
111
  id: string;
@@ -138,11 +113,6 @@ export declare class CopilotChatMessageView {
138
113
  content: string;
139
114
  toolCallId: string;
140
115
  error?: string;
141
- } | {
142
- id: string;
143
- role: "activity";
144
- content: Record<string, any>;
145
- activityType: string;
146
116
  })[]>;
147
117
  protected showCursorValue: import("@angular/core").Signal<boolean>;
148
118
  protected isLoadingValue: import("@angular/core").Signal<boolean>;
@@ -175,17 +145,7 @@ export declare class CopilotChatMessageView {
175
145
  } | {
176
146
  id: string;
177
147
  role: "user";
178
- content: string | ({
179
- type: "text";
180
- text: string;
181
- } | {
182
- type: "binary";
183
- mimeType: string;
184
- id?: string;
185
- url?: string;
186
- data?: string;
187
- filename?: string;
188
- })[];
148
+ content: string;
189
149
  name?: string;
190
150
  } | {
191
151
  id: string;
@@ -193,11 +153,6 @@ export declare class CopilotChatMessageView {
193
153
  content: string;
194
154
  toolCallId: string;
195
155
  error?: string;
196
- } | {
197
- id: string;
198
- role: "activity";
199
- content: Record<string, any>;
200
- activityType: string;
201
156
  })[];
202
157
  showCursor: boolean;
203
158
  messageElements: ({
@@ -226,17 +181,7 @@ export declare class CopilotChatMessageView {
226
181
  } | {
227
182
  id: string;
228
183
  role: "user";
229
- content: string | ({
230
- type: "text";
231
- text: string;
232
- } | {
233
- type: "binary";
234
- mimeType: string;
235
- id?: string;
236
- url?: string;
237
- data?: string;
238
- filename?: string;
239
- })[];
184
+ content: string;
240
185
  name?: string;
241
186
  } | {
242
187
  id: string;
@@ -244,11 +189,6 @@ export declare class CopilotChatMessageView {
244
189
  content: string;
245
190
  toolCallId: string;
246
191
  error?: string;
247
- } | {
248
- id: string;
249
- role: "activity";
250
- content: Record<string, any>;
251
- activityType: string;
252
192
  })[];
253
193
  }>;
254
194
  assistantMessageSlot: import("@angular/core").Signal<string | Type<any>>;
@@ -281,17 +221,7 @@ export declare class CopilotChatMessageView {
281
221
  } | {
282
222
  id: string;
283
223
  role: "user";
284
- content: string | ({
285
- type: "text";
286
- text: string;
287
- } | {
288
- type: "binary";
289
- mimeType: string;
290
- id?: string;
291
- url?: string;
292
- data?: string;
293
- filename?: string;
294
- })[];
224
+ content: string;
295
225
  name?: string;
296
226
  } | {
297
227
  id: string;
@@ -299,11 +229,6 @@ export declare class CopilotChatMessageView {
299
229
  content: string;
300
230
  toolCallId: string;
301
231
  error?: string;
302
- } | {
303
- id: string;
304
- role: "activity";
305
- content: Record<string, any>;
306
- activityType: string;
307
232
  };
308
233
  messages: ({
309
234
  id: string;
@@ -331,17 +256,7 @@ export declare class CopilotChatMessageView {
331
256
  } | {
332
257
  id: string;
333
258
  role: "user";
334
- content: string | ({
335
- type: "text";
336
- text: string;
337
- } | {
338
- type: "binary";
339
- mimeType: string;
340
- id?: string;
341
- url?: string;
342
- data?: string;
343
- filename?: string;
344
- })[];
259
+ content: string;
345
260
  name?: string;
346
261
  } | {
347
262
  id: string;
@@ -349,11 +264,6 @@ export declare class CopilotChatMessageView {
349
264
  content: string;
350
265
  toolCallId: string;
351
266
  error?: string;
352
- } | {
353
- id: string;
354
- role: "activity";
355
- content: Record<string, any>;
356
- activityType: string;
357
267
  })[];
358
268
  isLoading: boolean;
359
269
  inputClass: string;
@@ -385,17 +295,7 @@ export declare class CopilotChatMessageView {
385
295
  } | {
386
296
  id: string;
387
297
  role: "user";
388
- content: string | ({
389
- type: "text";
390
- text: string;
391
- } | {
392
- type: "binary";
393
- mimeType: string;
394
- id?: string;
395
- url?: string;
396
- data?: string;
397
- filename?: string;
398
- })[];
298
+ content: string;
399
299
  name?: string;
400
300
  } | {
401
301
  id: string;
@@ -403,11 +303,6 @@ export declare class CopilotChatMessageView {
403
303
  content: string;
404
304
  toolCallId: string;
405
305
  error?: string;
406
- } | {
407
- id: string;
408
- role: "activity";
409
- content: Record<string, any>;
410
- activityType: string;
411
306
  };
412
307
  inputClass: string;
413
308
  };
@@ -40,17 +40,7 @@ export declare class CopilotChatToolCallsView {
40
40
  } | {
41
41
  id: string;
42
42
  role: "user";
43
- content: string | ({
44
- type: "text";
45
- text: string;
46
- } | {
47
- type: "binary";
48
- mimeType: string;
49
- id?: string;
50
- url?: string;
51
- data?: string;
52
- filename?: string;
53
- })[];
43
+ content: string;
54
44
  name?: string;
55
45
  } | {
56
46
  id: string;
@@ -58,11 +48,6 @@ export declare class CopilotChatToolCallsView {
58
48
  content: string;
59
49
  toolCallId: string;
60
50
  error?: string;
61
- } | {
62
- id: string;
63
- role: "activity";
64
- content: Record<string, any>;
65
- activityType: string;
66
51
  })[]>;
67
52
  readonly isLoading: import("@angular/core").InputSignal<boolean>;
68
53
  static ɵfac: i0.ɵɵFactoryDeclaration<CopilotChatToolCallsView, never>;
@@ -1,24 +1,9 @@
1
- import { type CopilotChatUserMessageOnSwitchToBranchProps } from "./copilot-chat-user-message.types";
1
+ import { type UserMessage, type CopilotChatUserMessageOnSwitchToBranchProps } from "./copilot-chat-user-message.types";
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class CopilotChatUserMessageBranchNavigation {
4
4
  currentBranch: import("@angular/core").InputSignal<number>;
5
5
  numberOfBranches: import("@angular/core").InputSignal<number>;
6
- message: import("@angular/core").InputSignal<{
7
- id: string;
8
- role: "user";
9
- content: string | ({
10
- type: "text";
11
- text: string;
12
- } | {
13
- type: "binary";
14
- mimeType: string;
15
- id?: string;
16
- url?: string;
17
- data?: string;
18
- filename?: string;
19
- })[];
20
- name?: string;
21
- }>;
6
+ message: import("@angular/core").InputSignal<UserMessage>;
22
7
  inputClass: import("@angular/core").InputSignal<string>;
23
8
  switchToBranch: import("@angular/core").OutputEmitterRef<CopilotChatUserMessageOnSwitchToBranchProps>;
24
9
  readonly ChevronLeftIcon: import("lucide-angular").LucideIconData;
@@ -1,5 +1,5 @@
1
1
  import { TemplateRef, Type } from "@angular/core";
2
- import { type CopilotChatUserMessageOnEditMessageProps, type CopilotChatUserMessageOnSwitchToBranchProps, type MessageRendererContext, type CopyButtonContext, type EditButtonContext, type BranchNavigationContext, type UserMessageToolbarContext } from "./copilot-chat-user-message.types";
2
+ import { type UserMessage, type CopilotChatUserMessageOnEditMessageProps, type CopilotChatUserMessageOnSwitchToBranchProps, type MessageRendererContext, type CopyButtonContext, type EditButtonContext, type BranchNavigationContext, type UserMessageToolbarContext } from "./copilot-chat-user-message.types";
3
3
  import { CopilotChatUserMessageRenderer } from "./copilot-chat-user-message-renderer";
4
4
  import { CopilotChatUserMessageCopyButton, CopilotChatUserMessageEditButton } from "./copilot-chat-user-message-buttons";
5
5
  import { CopilotChatUserMessageToolbar } from "./copilot-chat-user-message-toolbar";
@@ -21,22 +21,7 @@ export declare class CopilotChatUserMessage {
21
21
  copyButtonComponent: import("@angular/core").InputSignal<Type<any>>;
22
22
  editButtonComponent: import("@angular/core").InputSignal<Type<any>>;
23
23
  branchNavigationComponent: import("@angular/core").InputSignal<Type<any>>;
24
- message: import("@angular/core").InputSignal<{
25
- id: string;
26
- role: "user";
27
- content: string | ({
28
- type: "text";
29
- text: string;
30
- } | {
31
- type: "binary";
32
- mimeType: string;
33
- id?: string;
34
- url?: string;
35
- data?: string;
36
- filename?: string;
37
- })[];
38
- name?: string;
39
- }>;
24
+ message: import("@angular/core").InputSignal<UserMessage>;
40
25
  branchIndex: import("@angular/core").InputSignal<number>;
41
26
  numberOfBranches: import("@angular/core").InputSignal<number>;
42
27
  additionalToolbarItems: import("@angular/core").InputSignal<TemplateRef<any>>;
@@ -52,7 +37,6 @@ export declare class CopilotChatUserMessage {
52
37
  CopilotChatUserMessageBranchNavigation: typeof CopilotChatUserMessageBranchNavigation;
53
38
  showBranchNavigation: import("@angular/core").Signal<boolean>;
54
39
  computedClass: import("@angular/core").Signal<string>;
55
- flattenedContent: import("@angular/core").Signal<string>;
56
40
  messageRendererContext: import("@angular/core").Signal<MessageRendererContext>;
57
41
  copyButtonOutputs: {
58
42
  clicked: () => void;
@@ -1,4 +1,10 @@
1
- import type { UserMessage } from "@ag-ui/core";
1
+ export interface UserMessage {
2
+ id: string;
3
+ content?: string;
4
+ role: "user";
5
+ timestamp?: Date;
6
+ [key: string]: any;
7
+ }
2
8
  export interface CopilotChatUserMessageOnEditMessageProps {
3
9
  message: UserMessage;
4
10
  }
@@ -40,17 +40,7 @@ export declare class CopilotChatViewScrollView implements OnInit, AfterViewInit,
40
40
  } | {
41
41
  id: string;
42
42
  role: "user";
43
- content: string | ({
44
- type: "text";
45
- text: string;
46
- } | {
47
- type: "binary";
48
- mimeType: string;
49
- id?: string;
50
- url?: string;
51
- data?: string;
52
- filename?: string;
53
- })[];
43
+ content: string;
54
44
  name?: string;
55
45
  } | {
56
46
  id: string;
@@ -58,11 +48,6 @@ export declare class CopilotChatViewScrollView implements OnInit, AfterViewInit,
58
48
  content: string;
59
49
  toolCallId: string;
60
50
  error?: string;
61
- } | {
62
- id: string;
63
- role: "activity";
64
- content: Record<string, any>;
65
- activityType: string;
66
51
  })[]>;
67
52
  messageView: import("@angular/core").InputSignal<any>;
68
53
  messageViewClass: import("@angular/core").InputSignal<string>;
@@ -51,17 +51,7 @@ export declare class CopilotChatView implements OnInit, OnChanges, AfterViewInit
51
51
  } | {
52
52
  id: string;
53
53
  role: "user";
54
- content: string | ({
55
- type: "text";
56
- text: string;
57
- } | {
58
- type: "binary";
59
- mimeType: string;
60
- id?: string;
61
- url?: string;
62
- data?: string;
63
- filename?: string;
64
- })[];
54
+ content: string;
65
55
  name?: string;
66
56
  } | {
67
57
  id: string;
@@ -69,11 +59,6 @@ export declare class CopilotChatView implements OnInit, OnChanges, AfterViewInit
69
59
  content: string;
70
60
  toolCallId: string;
71
61
  error?: string;
72
- } | {
73
- id: string;
74
- role: "activity";
75
- content: Record<string, any>;
76
- activityType: string;
77
62
  })[]>;
78
63
  autoScroll: import("@angular/core").InputSignal<boolean>;
79
64
  showCursor: import("@angular/core").InputSignal<boolean>;
@@ -158,17 +143,7 @@ export declare class CopilotChatView implements OnInit, OnChanges, AfterViewInit
158
143
  } | {
159
144
  id: string;
160
145
  role: "user";
161
- content: string | ({
162
- type: "text";
163
- text: string;
164
- } | {
165
- type: "binary";
166
- mimeType: string;
167
- id?: string;
168
- url?: string;
169
- data?: string;
170
- filename?: string;
171
- })[];
146
+ content: string;
172
147
  name?: string;
173
148
  } | {
174
149
  id: string;
@@ -176,11 +151,6 @@ export declare class CopilotChatView implements OnInit, OnChanges, AfterViewInit
176
151
  content: string;
177
152
  toolCallId: string;
178
153
  error?: string;
179
- } | {
180
- id: string;
181
- role: "activity";
182
- content: Record<string, any>;
183
- activityType: string;
184
154
  })[]>;
185
155
  protected autoScrollSignal: import("@angular/core").Signal<boolean>;
186
156
  protected showCursorSignal: import("@angular/core").Signal<boolean>;
@@ -229,17 +199,7 @@ export declare class CopilotChatView implements OnInit, OnChanges, AfterViewInit
229
199
  } | {
230
200
  id: string;
231
201
  role: "user";
232
- content: string | ({
233
- type: "text";
234
- text: string;
235
- } | {
236
- type: "binary";
237
- mimeType: string;
238
- id?: string;
239
- url?: string;
240
- data?: string;
241
- filename?: string;
242
- })[];
202
+ content: string;
243
203
  name?: string;
244
204
  } | {
245
205
  id: string;
@@ -247,11 +207,6 @@ export declare class CopilotChatView implements OnInit, OnChanges, AfterViewInit
247
207
  content: string;
248
208
  toolCallId: string;
249
209
  error?: string;
250
- } | {
251
- id: string;
252
- role: "activity";
253
- content: Record<string, any>;
254
- activityType: string;
255
210
  })[];
256
211
  messageView: Type<any> | TemplateRef<any>;
257
212
  messageViewClass: string;
@@ -45,17 +45,7 @@ export declare class CopilotChat implements ChatState {
45
45
  } | {
46
46
  id: string;
47
47
  role: "user";
48
- content: string | ({
49
- type: "text";
50
- text: string;
51
- } | {
52
- type: "binary";
53
- mimeType: string;
54
- id?: string;
55
- url?: string;
56
- data?: string;
57
- filename?: string;
58
- })[];
48
+ content: string;
59
49
  name?: string;
60
50
  } | {
61
51
  id: string;
@@ -63,11 +53,6 @@ export declare class CopilotChat implements ChatState {
63
53
  content: string;
64
54
  toolCallId: string;
65
55
  error?: string;
66
- } | {
67
- id: string;
68
- role: "activity";
69
- content: Record<string, any>;
70
- activityType: string;
71
56
  })[]>;
72
57
  protected isRunning: import("@angular/core").Signal<boolean>;
73
58
  protected showCursor: import("@angular/core").WritableSignal<boolean>;
@@ -56,17 +56,7 @@ export declare class RenderToolCalls {
56
56
  } | {
57
57
  id: string;
58
58
  role: "user";
59
- content: string | ({
60
- type: "text";
61
- text: string;
62
- } | {
63
- type: "binary";
64
- mimeType: string;
65
- id?: string;
66
- url?: string;
67
- data?: string;
68
- filename?: string;
69
- })[];
59
+ content: string;
70
60
  name?: string;
71
61
  } | {
72
62
  id: string;
@@ -74,11 +64,6 @@ export declare class RenderToolCalls {
74
64
  content: string;
75
65
  toolCallId: string;
76
66
  error?: string;
77
- } | {
78
- id: string;
79
- role: "activity";
80
- content: Record<string, any>;
81
- activityType: string;
82
67
  })[]>;
83
68
  readonly isLoading: import("@angular/core").InputSignal<boolean>;
84
69
  protected pickRenderer(name: string): ToolCallHandler | undefined;
@@ -18,6 +18,7 @@ export type HumanInTheLoopToolCall<Args extends Record<string, unknown> = Record
18
18
  args: Partial<Args>;
19
19
  status: "in-progress";
20
20
  result: undefined;
21
+ respond: (result: unknown) => void;
21
22
  } | {
22
23
  args: Args;
23
24
  status: "executing";
@@ -27,6 +28,7 @@ export type HumanInTheLoopToolCall<Args extends Record<string, unknown> = Record
27
28
  args: Args;
28
29
  status: "complete";
29
30
  result: string;
31
+ respond: (result: unknown) => void;
30
32
  };
31
33
  export interface ToolRenderer<Args extends Record<string, unknown> = Record<string, unknown>> {
32
34
  toolCall: Signal<AngularToolCall<Args>>;
@@ -46,16 +48,16 @@ export interface RenderToolCallConfig<Args extends Record<string, unknown> = Rec
46
48
  export interface FrontendToolConfig<Args extends Record<string, unknown> = Record<string, unknown>> {
47
49
  name: string;
48
50
  description: string;
49
- args: z.ZodType<Args>;
51
+ parameters: z.ZodType<Args>;
50
52
  component?: Type<ToolRenderer<Args>>;
51
53
  handler: (args: Args) => Promise<unknown>;
52
54
  agentId?: string;
53
55
  }
54
56
  export interface HumanInTheLoopConfig<Args extends Record<string, unknown> = Record<string, unknown>> {
55
57
  name: string;
56
- args: z.ZodType<Args>;
58
+ description: string;
59
+ parameters: z.ZodType<Args>;
57
60
  component: Type<HumanInTheLoopToolRenderer<Args>>;
58
- toolCall: Signal<HumanInTheLoopToolCall<Args>>;
59
61
  agentId?: string;
60
62
  }
61
63
  export declare function registerRenderToolCall<Args extends Record<string, unknown> = Record<string, unknown>>(renderToolCall: RenderToolCallConfig<Args>): void;
@@ -8,6 +8,7 @@ export * from "./lib/chat-state";
8
8
  export * from "./lib/scroll-position";
9
9
  export * from "./lib/resize-observer";
10
10
  export * from "./lib/utils";
11
+ export * from "./lib/agent-context";
11
12
  export * from "./lib/slots";
12
13
  export * from "./lib/directives/copilotkit-agent-context";
13
14
  export * from "./lib/directives/stick-to-bottom";