@copilotkitnext/angular 1.52.0-next.7 → 1.52.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 (73) hide show
  1. package/README.md +225 -432
  2. package/dist/README.md +225 -432
  3. package/dist/fesm2022/copilotkitnext-angular.mjs +312 -161
  4. package/dist/fesm2022/copilotkitnext-angular.mjs.map +1 -1
  5. package/dist/lib/agent.d.ts +20 -20
  6. package/dist/lib/components/chat/copilot-chat-assistant-message.d.ts +46 -46
  7. package/dist/lib/components/chat/copilot-chat-message-view.d.ts +126 -126
  8. package/dist/lib/components/chat/copilot-chat-tool-calls-view.d.ts +23 -23
  9. package/dist/lib/components/chat/copilot-chat-user-message-branch-navigation.d.ts +6 -6
  10. package/dist/lib/components/chat/copilot-chat-user-message.d.ts +6 -6
  11. package/dist/lib/components/chat/copilot-chat-view-scroll-view.d.ts +18 -18
  12. package/dist/lib/components/chat/copilot-chat-view.d.ts +54 -54
  13. package/dist/lib/components/chat/copilot-chat.d.ts +18 -18
  14. package/dist/lib/config.d.ts +1 -0
  15. package/dist/lib/copilotkit.d.ts +6 -1
  16. package/dist/lib/license-watermark.d.ts +1 -0
  17. package/dist/lib/render-tool-calls.d.ts +23 -23
  18. package/dist/styles.css +3 -0
  19. package/package.json +18 -18
  20. package/dist/esm2022/copilotkitnext-angular.mjs +0 -5
  21. package/dist/esm2022/index.mjs +0 -2
  22. package/dist/esm2022/lib/agent-context.mjs +0 -25
  23. package/dist/esm2022/lib/agent.mjs +0 -73
  24. package/dist/esm2022/lib/chat-config.mjs +0 -35
  25. package/dist/esm2022/lib/chat-state.mjs +0 -18
  26. package/dist/esm2022/lib/components/chat/copilot-chat-assistant-message-buttons.mjs +0 -344
  27. package/dist/esm2022/lib/components/chat/copilot-chat-assistant-message-renderer.mjs +0 -260
  28. package/dist/esm2022/lib/components/chat/copilot-chat-assistant-message-toolbar.mjs +0 -22
  29. package/dist/esm2022/lib/components/chat/copilot-chat-assistant-message.mjs +0 -415
  30. package/dist/esm2022/lib/components/chat/copilot-chat-assistant-message.types.mjs +0 -2
  31. package/dist/esm2022/lib/components/chat/copilot-chat-audio-recorder.mjs +0 -196
  32. package/dist/esm2022/lib/components/chat/copilot-chat-buttons.mjs +0 -299
  33. package/dist/esm2022/lib/components/chat/copilot-chat-input-defaults.mjs +0 -39
  34. package/dist/esm2022/lib/components/chat/copilot-chat-input.mjs +0 -634
  35. package/dist/esm2022/lib/components/chat/copilot-chat-input.types.mjs +0 -10
  36. package/dist/esm2022/lib/components/chat/copilot-chat-message-view-cursor.mjs +0 -27
  37. package/dist/esm2022/lib/components/chat/copilot-chat-message-view.mjs +0 -269
  38. package/dist/esm2022/lib/components/chat/copilot-chat-message-view.types.mjs +0 -2
  39. package/dist/esm2022/lib/components/chat/copilot-chat-textarea.mjs +0 -139
  40. package/dist/esm2022/lib/components/chat/copilot-chat-tool-calls-view.mjs +0 -36
  41. package/dist/esm2022/lib/components/chat/copilot-chat-toolbar.mjs +0 -20
  42. package/dist/esm2022/lib/components/chat/copilot-chat-tools-menu.mjs +0 -203
  43. package/dist/esm2022/lib/components/chat/copilot-chat-user-message-branch-navigation.mjs +0 -118
  44. package/dist/esm2022/lib/components/chat/copilot-chat-user-message-buttons.mjs +0 -182
  45. package/dist/esm2022/lib/components/chat/copilot-chat-user-message-renderer.mjs +0 -28
  46. package/dist/esm2022/lib/components/chat/copilot-chat-user-message-toolbar.mjs +0 -25
  47. package/dist/esm2022/lib/components/chat/copilot-chat-user-message.mjs +0 -328
  48. package/dist/esm2022/lib/components/chat/copilot-chat-user-message.types.mjs +0 -2
  49. package/dist/esm2022/lib/components/chat/copilot-chat-view-disclaimer.mjs +0 -48
  50. package/dist/esm2022/lib/components/chat/copilot-chat-view-feather.mjs +0 -41
  51. package/dist/esm2022/lib/components/chat/copilot-chat-view-handlers.mjs +0 -19
  52. package/dist/esm2022/lib/components/chat/copilot-chat-view-input-container.mjs +0 -96
  53. package/dist/esm2022/lib/components/chat/copilot-chat-view-scroll-to-bottom-button.mjs +0 -89
  54. package/dist/esm2022/lib/components/chat/copilot-chat-view-scroll-view.mjs +0 -456
  55. package/dist/esm2022/lib/components/chat/copilot-chat-view.mjs +0 -404
  56. package/dist/esm2022/lib/components/chat/copilot-chat-view.types.mjs +0 -2
  57. package/dist/esm2022/lib/components/chat/copilot-chat.mjs +0 -165
  58. package/dist/esm2022/lib/config.mjs +0 -9
  59. package/dist/esm2022/lib/copilotkit.mjs +0 -125
  60. package/dist/esm2022/lib/directives/copilotkit-agent-context.mjs +0 -130
  61. package/dist/esm2022/lib/directives/stick-to-bottom.mjs +0 -170
  62. package/dist/esm2022/lib/directives/tooltip.mjs +0 -217
  63. package/dist/esm2022/lib/human-in-the-loop.mjs +0 -19
  64. package/dist/esm2022/lib/render-tool-calls.mjs +0 -167
  65. package/dist/esm2022/lib/resize-observer.mjs +0 -152
  66. package/dist/esm2022/lib/scroll-position.mjs +0 -123
  67. package/dist/esm2022/lib/slots/copilot-slot.mjs +0 -156
  68. package/dist/esm2022/lib/slots/index.mjs +0 -4
  69. package/dist/esm2022/lib/slots/slot.types.mjs +0 -6
  70. package/dist/esm2022/lib/slots/slot.utils.mjs +0 -235
  71. package/dist/esm2022/lib/tools.mjs +0 -31
  72. package/dist/esm2022/lib/utils.mjs +0 -10
  73. package/dist/esm2022/public-api.mjs +0 -48
@@ -14,20 +14,20 @@ export declare class CopilotChatMessageView {
14
14
  role: "developer";
15
15
  content: string;
16
16
  id: string;
17
- name?: string;
18
- encryptedValue?: string;
17
+ name?: string | undefined;
18
+ encryptedValue?: string | undefined;
19
19
  } | {
20
20
  role: "system";
21
21
  content: string;
22
22
  id: string;
23
- name?: string;
24
- encryptedValue?: string;
23
+ name?: string | undefined;
24
+ encryptedValue?: string | undefined;
25
25
  } | {
26
26
  role: "assistant";
27
27
  id: string;
28
- content?: string;
29
- name?: string;
30
- encryptedValue?: string;
28
+ content?: string | undefined;
29
+ name?: string | undefined;
30
+ encryptedValue?: string | undefined;
31
31
  toolCalls?: {
32
32
  function: {
33
33
  name: string;
@@ -35,8 +35,8 @@ export declare class CopilotChatMessageView {
35
35
  };
36
36
  type: "function";
37
37
  id: string;
38
- encryptedValue?: string;
39
- }[];
38
+ encryptedValue?: string | undefined;
39
+ }[] | undefined;
40
40
  } | {
41
41
  role: "user";
42
42
  content: string | ({
@@ -45,21 +45,21 @@ export declare class CopilotChatMessageView {
45
45
  } | {
46
46
  type: "binary";
47
47
  mimeType: string;
48
- id?: string;
49
- url?: string;
50
- data?: string;
51
- filename?: string;
48
+ id?: string | undefined;
49
+ url?: string | undefined;
50
+ data?: string | undefined;
51
+ filename?: string | undefined;
52
52
  })[];
53
53
  id: string;
54
- name?: string;
55
- encryptedValue?: string;
54
+ name?: string | undefined;
55
+ encryptedValue?: string | undefined;
56
56
  } | {
57
57
  role: "tool";
58
58
  toolCallId: string;
59
59
  content: string;
60
60
  id: string;
61
- encryptedValue?: string;
62
- error?: string;
61
+ encryptedValue?: string | undefined;
62
+ error?: string | undefined;
63
63
  } | {
64
64
  role: "activity";
65
65
  content: Record<string, any>;
@@ -69,7 +69,7 @@ export declare class CopilotChatMessageView {
69
69
  role: "reasoning";
70
70
  content: string;
71
71
  id: string;
72
- encryptedValue?: string;
72
+ encryptedValue?: string | undefined;
73
73
  })[]>;
74
74
  showCursor: import("@angular/core").InputSignal<boolean>;
75
75
  isLoading: import("@angular/core").InputSignal<boolean>;
@@ -109,20 +109,20 @@ export declare class CopilotChatMessageView {
109
109
  role: "developer";
110
110
  content: string;
111
111
  id: string;
112
- name?: string;
113
- encryptedValue?: string;
112
+ name?: string | undefined;
113
+ encryptedValue?: string | undefined;
114
114
  } | {
115
115
  role: "system";
116
116
  content: string;
117
117
  id: string;
118
- name?: string;
119
- encryptedValue?: string;
118
+ name?: string | undefined;
119
+ encryptedValue?: string | undefined;
120
120
  } | {
121
121
  role: "assistant";
122
122
  id: string;
123
- content?: string;
124
- name?: string;
125
- encryptedValue?: string;
123
+ content?: string | undefined;
124
+ name?: string | undefined;
125
+ encryptedValue?: string | undefined;
126
126
  toolCalls?: {
127
127
  function: {
128
128
  name: string;
@@ -130,8 +130,8 @@ export declare class CopilotChatMessageView {
130
130
  };
131
131
  type: "function";
132
132
  id: string;
133
- encryptedValue?: string;
134
- }[];
133
+ encryptedValue?: string | undefined;
134
+ }[] | undefined;
135
135
  } | {
136
136
  role: "user";
137
137
  content: string | ({
@@ -140,21 +140,21 @@ export declare class CopilotChatMessageView {
140
140
  } | {
141
141
  type: "binary";
142
142
  mimeType: string;
143
- id?: string;
144
- url?: string;
145
- data?: string;
146
- filename?: string;
143
+ id?: string | undefined;
144
+ url?: string | undefined;
145
+ data?: string | undefined;
146
+ filename?: string | undefined;
147
147
  })[];
148
148
  id: string;
149
- name?: string;
150
- encryptedValue?: string;
149
+ name?: string | undefined;
150
+ encryptedValue?: string | undefined;
151
151
  } | {
152
152
  role: "tool";
153
153
  toolCallId: string;
154
154
  content: string;
155
155
  id: string;
156
- encryptedValue?: string;
157
- error?: string;
156
+ encryptedValue?: string | undefined;
157
+ error?: string | undefined;
158
158
  } | {
159
159
  role: "activity";
160
160
  content: Record<string, any>;
@@ -164,7 +164,7 @@ export declare class CopilotChatMessageView {
164
164
  role: "reasoning";
165
165
  content: string;
166
166
  id: string;
167
- encryptedValue?: string;
167
+ encryptedValue?: string | undefined;
168
168
  })[]>;
169
169
  protected showCursorValue: import("@angular/core").Signal<boolean>;
170
170
  protected isLoadingValue: import("@angular/core").Signal<boolean>;
@@ -175,20 +175,20 @@ export declare class CopilotChatMessageView {
175
175
  role: "developer";
176
176
  content: string;
177
177
  id: string;
178
- name?: string;
179
- encryptedValue?: string;
178
+ name?: string | undefined;
179
+ encryptedValue?: string | undefined;
180
180
  } | {
181
181
  role: "system";
182
182
  content: string;
183
183
  id: string;
184
- name?: string;
185
- encryptedValue?: string;
184
+ name?: string | undefined;
185
+ encryptedValue?: string | undefined;
186
186
  } | {
187
187
  role: "assistant";
188
188
  id: string;
189
- content?: string;
190
- name?: string;
191
- encryptedValue?: string;
189
+ content?: string | undefined;
190
+ name?: string | undefined;
191
+ encryptedValue?: string | undefined;
192
192
  toolCalls?: {
193
193
  function: {
194
194
  name: string;
@@ -196,8 +196,8 @@ export declare class CopilotChatMessageView {
196
196
  };
197
197
  type: "function";
198
198
  id: string;
199
- encryptedValue?: string;
200
- }[];
199
+ encryptedValue?: string | undefined;
200
+ }[] | undefined;
201
201
  } | {
202
202
  role: "user";
203
203
  content: string | ({
@@ -206,21 +206,21 @@ export declare class CopilotChatMessageView {
206
206
  } | {
207
207
  type: "binary";
208
208
  mimeType: string;
209
- id?: string;
210
- url?: string;
211
- data?: string;
212
- filename?: string;
209
+ id?: string | undefined;
210
+ url?: string | undefined;
211
+ data?: string | undefined;
212
+ filename?: string | undefined;
213
213
  })[];
214
214
  id: string;
215
- name?: string;
216
- encryptedValue?: string;
215
+ name?: string | undefined;
216
+ encryptedValue?: string | undefined;
217
217
  } | {
218
218
  role: "tool";
219
219
  toolCallId: string;
220
220
  content: string;
221
221
  id: string;
222
- encryptedValue?: string;
223
- error?: string;
222
+ encryptedValue?: string | undefined;
223
+ error?: string | undefined;
224
224
  } | {
225
225
  role: "activity";
226
226
  content: Record<string, any>;
@@ -230,27 +230,27 @@ export declare class CopilotChatMessageView {
230
230
  role: "reasoning";
231
231
  content: string;
232
232
  id: string;
233
- encryptedValue?: string;
233
+ encryptedValue?: string | undefined;
234
234
  })[];
235
235
  showCursor: boolean;
236
236
  messageElements: ({
237
237
  role: "developer";
238
238
  content: string;
239
239
  id: string;
240
- name?: string;
241
- encryptedValue?: string;
240
+ name?: string | undefined;
241
+ encryptedValue?: string | undefined;
242
242
  } | {
243
243
  role: "system";
244
244
  content: string;
245
245
  id: string;
246
- name?: string;
247
- encryptedValue?: string;
246
+ name?: string | undefined;
247
+ encryptedValue?: string | undefined;
248
248
  } | {
249
249
  role: "assistant";
250
250
  id: string;
251
- content?: string;
252
- name?: string;
253
- encryptedValue?: string;
251
+ content?: string | undefined;
252
+ name?: string | undefined;
253
+ encryptedValue?: string | undefined;
254
254
  toolCalls?: {
255
255
  function: {
256
256
  name: string;
@@ -258,8 +258,8 @@ export declare class CopilotChatMessageView {
258
258
  };
259
259
  type: "function";
260
260
  id: string;
261
- encryptedValue?: string;
262
- }[];
261
+ encryptedValue?: string | undefined;
262
+ }[] | undefined;
263
263
  } | {
264
264
  role: "user";
265
265
  content: string | ({
@@ -268,21 +268,21 @@ export declare class CopilotChatMessageView {
268
268
  } | {
269
269
  type: "binary";
270
270
  mimeType: string;
271
- id?: string;
272
- url?: string;
273
- data?: string;
274
- filename?: string;
271
+ id?: string | undefined;
272
+ url?: string | undefined;
273
+ data?: string | undefined;
274
+ filename?: string | undefined;
275
275
  })[];
276
276
  id: string;
277
- name?: string;
278
- encryptedValue?: string;
277
+ name?: string | undefined;
278
+ encryptedValue?: string | undefined;
279
279
  } | {
280
280
  role: "tool";
281
281
  toolCallId: string;
282
282
  content: string;
283
283
  id: string;
284
- encryptedValue?: string;
285
- error?: string;
284
+ encryptedValue?: string | undefined;
285
+ error?: string | undefined;
286
286
  } | {
287
287
  role: "activity";
288
288
  content: Record<string, any>;
@@ -292,7 +292,7 @@ export declare class CopilotChatMessageView {
292
292
  role: "reasoning";
293
293
  content: string;
294
294
  id: string;
295
- encryptedValue?: string;
295
+ encryptedValue?: string | undefined;
296
296
  })[];
297
297
  }>;
298
298
  assistantMessageSlot: import("@angular/core").Signal<string | Type<any>>;
@@ -303,20 +303,20 @@ export declare class CopilotChatMessageView {
303
303
  role: "developer";
304
304
  content: string;
305
305
  id: string;
306
- name?: string;
307
- encryptedValue?: string;
306
+ name?: string | undefined;
307
+ encryptedValue?: string | undefined;
308
308
  } | {
309
309
  role: "system";
310
310
  content: string;
311
311
  id: string;
312
- name?: string;
313
- encryptedValue?: string;
312
+ name?: string | undefined;
313
+ encryptedValue?: string | undefined;
314
314
  } | {
315
315
  role: "assistant";
316
316
  id: string;
317
- content?: string;
318
- name?: string;
319
- encryptedValue?: string;
317
+ content?: string | undefined;
318
+ name?: string | undefined;
319
+ encryptedValue?: string | undefined;
320
320
  toolCalls?: {
321
321
  function: {
322
322
  name: string;
@@ -324,8 +324,8 @@ export declare class CopilotChatMessageView {
324
324
  };
325
325
  type: "function";
326
326
  id: string;
327
- encryptedValue?: string;
328
- }[];
327
+ encryptedValue?: string | undefined;
328
+ }[] | undefined;
329
329
  } | {
330
330
  role: "user";
331
331
  content: string | ({
@@ -334,21 +334,21 @@ export declare class CopilotChatMessageView {
334
334
  } | {
335
335
  type: "binary";
336
336
  mimeType: string;
337
- id?: string;
338
- url?: string;
339
- data?: string;
340
- filename?: string;
337
+ id?: string | undefined;
338
+ url?: string | undefined;
339
+ data?: string | undefined;
340
+ filename?: string | undefined;
341
341
  })[];
342
342
  id: string;
343
- name?: string;
344
- encryptedValue?: string;
343
+ name?: string | undefined;
344
+ encryptedValue?: string | undefined;
345
345
  } | {
346
346
  role: "tool";
347
347
  toolCallId: string;
348
348
  content: string;
349
349
  id: string;
350
- encryptedValue?: string;
351
- error?: string;
350
+ encryptedValue?: string | undefined;
351
+ error?: string | undefined;
352
352
  } | {
353
353
  role: "activity";
354
354
  content: Record<string, any>;
@@ -358,26 +358,26 @@ export declare class CopilotChatMessageView {
358
358
  role: "reasoning";
359
359
  content: string;
360
360
  id: string;
361
- encryptedValue?: string;
361
+ encryptedValue?: string | undefined;
362
362
  };
363
363
  messages: ({
364
364
  role: "developer";
365
365
  content: string;
366
366
  id: string;
367
- name?: string;
368
- encryptedValue?: string;
367
+ name?: string | undefined;
368
+ encryptedValue?: string | undefined;
369
369
  } | {
370
370
  role: "system";
371
371
  content: string;
372
372
  id: string;
373
- name?: string;
374
- encryptedValue?: string;
373
+ name?: string | undefined;
374
+ encryptedValue?: string | undefined;
375
375
  } | {
376
376
  role: "assistant";
377
377
  id: string;
378
- content?: string;
379
- name?: string;
380
- encryptedValue?: string;
378
+ content?: string | undefined;
379
+ name?: string | undefined;
380
+ encryptedValue?: string | undefined;
381
381
  toolCalls?: {
382
382
  function: {
383
383
  name: string;
@@ -385,8 +385,8 @@ export declare class CopilotChatMessageView {
385
385
  };
386
386
  type: "function";
387
387
  id: string;
388
- encryptedValue?: string;
389
- }[];
388
+ encryptedValue?: string | undefined;
389
+ }[] | undefined;
390
390
  } | {
391
391
  role: "user";
392
392
  content: string | ({
@@ -395,21 +395,21 @@ export declare class CopilotChatMessageView {
395
395
  } | {
396
396
  type: "binary";
397
397
  mimeType: string;
398
- id?: string;
399
- url?: string;
400
- data?: string;
401
- filename?: string;
398
+ id?: string | undefined;
399
+ url?: string | undefined;
400
+ data?: string | undefined;
401
+ filename?: string | undefined;
402
402
  })[];
403
403
  id: string;
404
- name?: string;
405
- encryptedValue?: string;
404
+ name?: string | undefined;
405
+ encryptedValue?: string | undefined;
406
406
  } | {
407
407
  role: "tool";
408
408
  toolCallId: string;
409
409
  content: string;
410
410
  id: string;
411
- encryptedValue?: string;
412
- error?: string;
411
+ encryptedValue?: string | undefined;
412
+ error?: string | undefined;
413
413
  } | {
414
414
  role: "activity";
415
415
  content: Record<string, any>;
@@ -419,7 +419,7 @@ export declare class CopilotChatMessageView {
419
419
  role: "reasoning";
420
420
  content: string;
421
421
  id: string;
422
- encryptedValue?: string;
422
+ encryptedValue?: string | undefined;
423
423
  })[];
424
424
  isLoading: boolean;
425
425
  inputClass: string;
@@ -429,20 +429,20 @@ export declare class CopilotChatMessageView {
429
429
  role: "developer";
430
430
  content: string;
431
431
  id: string;
432
- name?: string;
433
- encryptedValue?: string;
432
+ name?: string | undefined;
433
+ encryptedValue?: string | undefined;
434
434
  } | {
435
435
  role: "system";
436
436
  content: string;
437
437
  id: string;
438
- name?: string;
439
- encryptedValue?: string;
438
+ name?: string | undefined;
439
+ encryptedValue?: string | undefined;
440
440
  } | {
441
441
  role: "assistant";
442
442
  id: string;
443
- content?: string;
444
- name?: string;
445
- encryptedValue?: string;
443
+ content?: string | undefined;
444
+ name?: string | undefined;
445
+ encryptedValue?: string | undefined;
446
446
  toolCalls?: {
447
447
  function: {
448
448
  name: string;
@@ -450,8 +450,8 @@ export declare class CopilotChatMessageView {
450
450
  };
451
451
  type: "function";
452
452
  id: string;
453
- encryptedValue?: string;
454
- }[];
453
+ encryptedValue?: string | undefined;
454
+ }[] | undefined;
455
455
  } | {
456
456
  role: "user";
457
457
  content: string | ({
@@ -460,21 +460,21 @@ export declare class CopilotChatMessageView {
460
460
  } | {
461
461
  type: "binary";
462
462
  mimeType: string;
463
- id?: string;
464
- url?: string;
465
- data?: string;
466
- filename?: string;
463
+ id?: string | undefined;
464
+ url?: string | undefined;
465
+ data?: string | undefined;
466
+ filename?: string | undefined;
467
467
  })[];
468
468
  id: string;
469
- name?: string;
470
- encryptedValue?: string;
469
+ name?: string | undefined;
470
+ encryptedValue?: string | undefined;
471
471
  } | {
472
472
  role: "tool";
473
473
  toolCallId: string;
474
474
  content: string;
475
475
  id: string;
476
- encryptedValue?: string;
477
- error?: string;
476
+ encryptedValue?: string | undefined;
477
+ error?: string | undefined;
478
478
  } | {
479
479
  role: "activity";
480
480
  content: Record<string, any>;
@@ -484,7 +484,7 @@ export declare class CopilotChatMessageView {
484
484
  role: "reasoning";
485
485
  content: string;
486
486
  id: string;
487
- encryptedValue?: string;
487
+ encryptedValue?: string | undefined;
488
488
  };
489
489
  inputClass: string;
490
490
  };
@@ -3,9 +3,9 @@ export declare class CopilotChatToolCallsView {
3
3
  readonly message: import("@angular/core").InputSignal<{
4
4
  role: "assistant";
5
5
  id: string;
6
- content?: string;
7
- name?: string;
8
- encryptedValue?: string;
6
+ content?: string | undefined;
7
+ name?: string | undefined;
8
+ encryptedValue?: string | undefined;
9
9
  toolCalls?: {
10
10
  function: {
11
11
  name: string;
@@ -13,27 +13,27 @@ export declare class CopilotChatToolCallsView {
13
13
  };
14
14
  type: "function";
15
15
  id: string;
16
- encryptedValue?: string;
17
- }[];
16
+ encryptedValue?: string | undefined;
17
+ }[] | undefined;
18
18
  }>;
19
19
  readonly messages: import("@angular/core").InputSignal<({
20
20
  role: "developer";
21
21
  content: string;
22
22
  id: string;
23
- name?: string;
24
- encryptedValue?: string;
23
+ name?: string | undefined;
24
+ encryptedValue?: string | undefined;
25
25
  } | {
26
26
  role: "system";
27
27
  content: string;
28
28
  id: string;
29
- name?: string;
30
- encryptedValue?: string;
29
+ name?: string | undefined;
30
+ encryptedValue?: string | undefined;
31
31
  } | {
32
32
  role: "assistant";
33
33
  id: string;
34
- content?: string;
35
- name?: string;
36
- encryptedValue?: string;
34
+ content?: string | undefined;
35
+ name?: string | undefined;
36
+ encryptedValue?: string | undefined;
37
37
  toolCalls?: {
38
38
  function: {
39
39
  name: string;
@@ -41,8 +41,8 @@ export declare class CopilotChatToolCallsView {
41
41
  };
42
42
  type: "function";
43
43
  id: string;
44
- encryptedValue?: string;
45
- }[];
44
+ encryptedValue?: string | undefined;
45
+ }[] | undefined;
46
46
  } | {
47
47
  role: "user";
48
48
  content: string | ({
@@ -51,21 +51,21 @@ export declare class CopilotChatToolCallsView {
51
51
  } | {
52
52
  type: "binary";
53
53
  mimeType: string;
54
- id?: string;
55
- url?: string;
56
- data?: string;
57
- filename?: string;
54
+ id?: string | undefined;
55
+ url?: string | undefined;
56
+ data?: string | undefined;
57
+ filename?: string | undefined;
58
58
  })[];
59
59
  id: string;
60
- name?: string;
61
- encryptedValue?: string;
60
+ name?: string | undefined;
61
+ encryptedValue?: string | undefined;
62
62
  } | {
63
63
  role: "tool";
64
64
  toolCallId: string;
65
65
  content: string;
66
66
  id: string;
67
- encryptedValue?: string;
68
- error?: string;
67
+ encryptedValue?: string | undefined;
68
+ error?: string | undefined;
69
69
  } | {
70
70
  role: "activity";
71
71
  content: Record<string, any>;
@@ -75,7 +75,7 @@ export declare class CopilotChatToolCallsView {
75
75
  role: "reasoning";
76
76
  content: string;
77
77
  id: string;
78
- encryptedValue?: string;
78
+ encryptedValue?: string | undefined;
79
79
  })[]>;
80
80
  readonly isLoading: import("@angular/core").InputSignal<boolean>;
81
81
  static ɵfac: i0.ɵɵFactoryDeclaration<CopilotChatToolCallsView, never>;
@@ -11,14 +11,14 @@ export declare class CopilotChatUserMessageBranchNavigation {
11
11
  } | {
12
12
  type: "binary";
13
13
  mimeType: string;
14
- id?: string;
15
- url?: string;
16
- data?: string;
17
- filename?: string;
14
+ id?: string | undefined;
15
+ url?: string | undefined;
16
+ data?: string | undefined;
17
+ filename?: string | undefined;
18
18
  })[];
19
19
  id: string;
20
- name?: string;
21
- encryptedValue?: string;
20
+ name?: string | undefined;
21
+ encryptedValue?: string | undefined;
22
22
  }>;
23
23
  inputClass: import("@angular/core").InputSignal<string>;
24
24
  switchToBranch: import("@angular/core").OutputEmitterRef<CopilotChatUserMessageOnSwitchToBranchProps>;
@@ -29,14 +29,14 @@ export declare class CopilotChatUserMessage {
29
29
  } | {
30
30
  type: "binary";
31
31
  mimeType: string;
32
- id?: string;
33
- url?: string;
34
- data?: string;
35
- filename?: string;
32
+ id?: string | undefined;
33
+ url?: string | undefined;
34
+ data?: string | undefined;
35
+ filename?: string | undefined;
36
36
  })[];
37
37
  id: string;
38
- name?: string;
39
- encryptedValue?: string;
38
+ name?: string | undefined;
39
+ encryptedValue?: string | undefined;
40
40
  }>;
41
41
  branchIndex: import("@angular/core").InputSignal<number>;
42
42
  numberOfBranches: import("@angular/core").InputSignal<number>;