@copilotkitnext/angular 1.51.4 → 1.51.5-next.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.
@@ -6,20 +6,23 @@ export declare class AgentStore {
6
6
  readonly agent: AbstractAgent;
7
7
  readonly isRunning: Signal<boolean>;
8
8
  readonly messages: Signal<({
9
- id: string;
10
9
  role: "developer";
11
10
  content: string;
11
+ id: string;
12
12
  name?: string;
13
+ encryptedValue?: string;
13
14
  } | {
14
- id: string;
15
15
  role: "system";
16
16
  content: string;
17
+ id: string;
17
18
  name?: string;
19
+ encryptedValue?: string;
18
20
  } | {
19
- id: string;
20
21
  role: "assistant";
21
- name?: string;
22
+ id: string;
22
23
  content?: string;
24
+ name?: string;
25
+ encryptedValue?: string;
23
26
  toolCalls?: {
24
27
  function: {
25
28
  name: string;
@@ -27,9 +30,9 @@ export declare class AgentStore {
27
30
  };
28
31
  type: "function";
29
32
  id: string;
33
+ encryptedValue?: string;
30
34
  }[];
31
35
  } | {
32
- id: string;
33
36
  role: "user";
34
37
  content: string | ({
35
38
  type: "text";
@@ -42,18 +45,26 @@ export declare class AgentStore {
42
45
  data?: string;
43
46
  filename?: string;
44
47
  })[];
48
+ id: string;
45
49
  name?: string;
50
+ encryptedValue?: string;
46
51
  } | {
47
- id: string;
48
52
  role: "tool";
49
- content: string;
50
53
  toolCallId: string;
54
+ content: string;
55
+ id: string;
56
+ encryptedValue?: string;
51
57
  error?: string;
52
58
  } | {
53
- id: string;
54
59
  role: "activity";
55
60
  content: Record<string, any>;
61
+ id: string;
56
62
  activityType: string;
63
+ } | {
64
+ role: "reasoning";
65
+ content: string;
66
+ id: string;
67
+ encryptedValue?: string;
57
68
  })[]>;
58
69
  readonly state: Signal<any>;
59
70
  constructor(abstractAgent: AbstractAgent, destroyRef: DestroyRef);
@@ -32,10 +32,11 @@ export declare class CopilotChatAssistantMessage {
32
32
  readonly regenerateButtonComponent: import("@angular/core").InputSignal<Type<any>>;
33
33
  readonly toolCallsViewComponent: import("@angular/core").InputSignal<Type<any>>;
34
34
  readonly message: import("@angular/core").InputSignal<{
35
- id: string;
36
35
  role: "assistant";
37
- name?: string;
36
+ id: string;
38
37
  content?: string;
38
+ name?: string;
39
+ encryptedValue?: string;
39
40
  toolCalls?: {
40
41
  function: {
41
42
  name: string;
@@ -43,23 +44,27 @@ export declare class CopilotChatAssistantMessage {
43
44
  };
44
45
  type: "function";
45
46
  id: string;
47
+ encryptedValue?: string;
46
48
  }[];
47
49
  }>;
48
50
  readonly messages: import("@angular/core").InputSignal<({
49
- id: string;
50
51
  role: "developer";
51
52
  content: string;
53
+ id: string;
52
54
  name?: string;
55
+ encryptedValue?: string;
53
56
  } | {
54
- id: string;
55
57
  role: "system";
56
58
  content: string;
59
+ id: string;
57
60
  name?: string;
61
+ encryptedValue?: string;
58
62
  } | {
59
- id: string;
60
63
  role: "assistant";
61
- name?: string;
64
+ id: string;
62
65
  content?: string;
66
+ name?: string;
67
+ encryptedValue?: string;
63
68
  toolCalls?: {
64
69
  function: {
65
70
  name: string;
@@ -67,9 +72,9 @@ export declare class CopilotChatAssistantMessage {
67
72
  };
68
73
  type: "function";
69
74
  id: string;
75
+ encryptedValue?: string;
70
76
  }[];
71
77
  } | {
72
- id: string;
73
78
  role: "user";
74
79
  content: string | ({
75
80
  type: "text";
@@ -82,18 +87,26 @@ export declare class CopilotChatAssistantMessage {
82
87
  data?: string;
83
88
  filename?: string;
84
89
  })[];
90
+ id: string;
85
91
  name?: string;
92
+ encryptedValue?: string;
86
93
  } | {
87
- id: string;
88
94
  role: "tool";
89
- content: string;
90
95
  toolCallId: string;
96
+ content: string;
97
+ id: string;
98
+ encryptedValue?: string;
91
99
  error?: string;
92
100
  } | {
93
- id: string;
94
101
  role: "activity";
95
102
  content: Record<string, any>;
103
+ id: string;
96
104
  activityType: string;
105
+ } | {
106
+ role: "reasoning";
107
+ content: string;
108
+ id: string;
109
+ encryptedValue?: string;
97
110
  })[]>;
98
111
  readonly isLoading: import("@angular/core").InputSignal<boolean>;
99
112
  readonly additionalToolbarItems: import("@angular/core").InputSignal<TemplateRef<any>>;
@@ -133,10 +146,11 @@ export declare class CopilotChatAssistantMessage {
133
146
  hasMessageContent(): boolean;
134
147
  toolCallsViewContext: import("@angular/core").Signal<{
135
148
  message: {
136
- id: string;
137
149
  role: "assistant";
138
- name?: string;
150
+ id: string;
139
151
  content?: string;
152
+ name?: string;
153
+ encryptedValue?: string;
140
154
  toolCalls?: {
141
155
  function: {
142
156
  name: string;
@@ -144,23 +158,27 @@ export declare class CopilotChatAssistantMessage {
144
158
  };
145
159
  type: "function";
146
160
  id: string;
161
+ encryptedValue?: string;
147
162
  }[];
148
163
  };
149
164
  messages: ({
150
- id: string;
151
165
  role: "developer";
152
166
  content: string;
167
+ id: string;
153
168
  name?: string;
169
+ encryptedValue?: string;
154
170
  } | {
155
- id: string;
156
171
  role: "system";
157
172
  content: string;
173
+ id: string;
158
174
  name?: string;
175
+ encryptedValue?: string;
159
176
  } | {
160
- id: string;
161
177
  role: "assistant";
162
- name?: string;
178
+ id: string;
163
179
  content?: string;
180
+ name?: string;
181
+ encryptedValue?: string;
164
182
  toolCalls?: {
165
183
  function: {
166
184
  name: string;
@@ -168,9 +186,9 @@ export declare class CopilotChatAssistantMessage {
168
186
  };
169
187
  type: "function";
170
188
  id: string;
189
+ encryptedValue?: string;
171
190
  }[];
172
191
  } | {
173
- id: string;
174
192
  role: "user";
175
193
  content: string | ({
176
194
  type: "text";
@@ -183,18 +201,26 @@ export declare class CopilotChatAssistantMessage {
183
201
  data?: string;
184
202
  filename?: string;
185
203
  })[];
204
+ id: string;
186
205
  name?: string;
206
+ encryptedValue?: string;
187
207
  } | {
188
- id: string;
189
208
  role: "tool";
190
- content: string;
191
209
  toolCallId: string;
210
+ content: string;
211
+ id: string;
212
+ encryptedValue?: string;
192
213
  error?: string;
193
214
  } | {
194
- id: string;
195
215
  role: "activity";
196
216
  content: Record<string, any>;
217
+ id: string;
197
218
  activityType: string;
219
+ } | {
220
+ role: "reasoning";
221
+ content: string;
222
+ id: string;
223
+ encryptedValue?: string;
198
224
  })[];
199
225
  isLoading: boolean;
200
226
  }>;
@@ -11,20 +11,23 @@ import * as i0 from "@angular/core";
11
11
  */
12
12
  export declare class CopilotChatMessageView {
13
13
  messages: import("@angular/core").InputSignal<({
14
- id: string;
15
14
  role: "developer";
16
15
  content: string;
16
+ id: string;
17
17
  name?: string;
18
+ encryptedValue?: string;
18
19
  } | {
19
- id: string;
20
20
  role: "system";
21
21
  content: string;
22
+ id: string;
22
23
  name?: string;
24
+ encryptedValue?: string;
23
25
  } | {
24
- id: string;
25
26
  role: "assistant";
26
- name?: string;
27
+ id: string;
27
28
  content?: string;
29
+ name?: string;
30
+ encryptedValue?: string;
28
31
  toolCalls?: {
29
32
  function: {
30
33
  name: string;
@@ -32,9 +35,9 @@ export declare class CopilotChatMessageView {
32
35
  };
33
36
  type: "function";
34
37
  id: string;
38
+ encryptedValue?: string;
35
39
  }[];
36
40
  } | {
37
- id: string;
38
41
  role: "user";
39
42
  content: string | ({
40
43
  type: "text";
@@ -47,18 +50,26 @@ export declare class CopilotChatMessageView {
47
50
  data?: string;
48
51
  filename?: string;
49
52
  })[];
53
+ id: string;
50
54
  name?: string;
55
+ encryptedValue?: string;
51
56
  } | {
52
- id: string;
53
57
  role: "tool";
54
- content: string;
55
58
  toolCallId: string;
59
+ content: string;
60
+ id: string;
61
+ encryptedValue?: string;
56
62
  error?: string;
57
63
  } | {
58
- id: string;
59
64
  role: "activity";
60
65
  content: Record<string, any>;
66
+ id: string;
61
67
  activityType: string;
68
+ } | {
69
+ role: "reasoning";
70
+ content: string;
71
+ id: string;
72
+ encryptedValue?: string;
62
73
  })[]>;
63
74
  showCursor: import("@angular/core").InputSignal<boolean>;
64
75
  isLoading: import("@angular/core").InputSignal<boolean>;
@@ -95,20 +106,23 @@ export declare class CopilotChatMessageView {
95
106
  protected readonly defaultUserComponent: typeof CopilotChatUserMessage;
96
107
  protected readonly defaultCursorComponent: typeof CopilotChatMessageViewCursor;
97
108
  protected messagesValue: import("@angular/core").Signal<({
98
- id: string;
99
109
  role: "developer";
100
110
  content: string;
111
+ id: string;
101
112
  name?: string;
113
+ encryptedValue?: string;
102
114
  } | {
103
- id: string;
104
115
  role: "system";
105
116
  content: string;
117
+ id: string;
106
118
  name?: string;
119
+ encryptedValue?: string;
107
120
  } | {
108
- id: string;
109
121
  role: "assistant";
110
- name?: string;
122
+ id: string;
111
123
  content?: string;
124
+ name?: string;
125
+ encryptedValue?: string;
112
126
  toolCalls?: {
113
127
  function: {
114
128
  name: string;
@@ -116,9 +130,9 @@ export declare class CopilotChatMessageView {
116
130
  };
117
131
  type: "function";
118
132
  id: string;
133
+ encryptedValue?: string;
119
134
  }[];
120
135
  } | {
121
- id: string;
122
136
  role: "user";
123
137
  content: string | ({
124
138
  type: "text";
@@ -131,18 +145,26 @@ export declare class CopilotChatMessageView {
131
145
  data?: string;
132
146
  filename?: string;
133
147
  })[];
148
+ id: string;
134
149
  name?: string;
150
+ encryptedValue?: string;
135
151
  } | {
136
- id: string;
137
152
  role: "tool";
138
- content: string;
139
153
  toolCallId: string;
154
+ content: string;
155
+ id: string;
156
+ encryptedValue?: string;
140
157
  error?: string;
141
158
  } | {
142
- id: string;
143
159
  role: "activity";
144
160
  content: Record<string, any>;
161
+ id: string;
145
162
  activityType: string;
163
+ } | {
164
+ role: "reasoning";
165
+ content: string;
166
+ id: string;
167
+ encryptedValue?: string;
146
168
  })[]>;
147
169
  protected showCursorValue: import("@angular/core").Signal<boolean>;
148
170
  protected isLoadingValue: import("@angular/core").Signal<boolean>;
@@ -150,20 +172,23 @@ export declare class CopilotChatMessageView {
150
172
  layoutContext: import("@angular/core").Signal<{
151
173
  isLoading: boolean;
152
174
  messages: ({
153
- id: string;
154
175
  role: "developer";
155
176
  content: string;
177
+ id: string;
156
178
  name?: string;
179
+ encryptedValue?: string;
157
180
  } | {
158
- id: string;
159
181
  role: "system";
160
182
  content: string;
183
+ id: string;
161
184
  name?: string;
185
+ encryptedValue?: string;
162
186
  } | {
163
- id: string;
164
187
  role: "assistant";
165
- name?: string;
188
+ id: string;
166
189
  content?: string;
190
+ name?: string;
191
+ encryptedValue?: string;
167
192
  toolCalls?: {
168
193
  function: {
169
194
  name: string;
@@ -171,9 +196,9 @@ export declare class CopilotChatMessageView {
171
196
  };
172
197
  type: "function";
173
198
  id: string;
199
+ encryptedValue?: string;
174
200
  }[];
175
201
  } | {
176
- id: string;
177
202
  role: "user";
178
203
  content: string | ({
179
204
  type: "text";
@@ -186,35 +211,46 @@ export declare class CopilotChatMessageView {
186
211
  data?: string;
187
212
  filename?: string;
188
213
  })[];
214
+ id: string;
189
215
  name?: string;
216
+ encryptedValue?: string;
190
217
  } | {
191
- id: string;
192
218
  role: "tool";
193
- content: string;
194
219
  toolCallId: string;
220
+ content: string;
221
+ id: string;
222
+ encryptedValue?: string;
195
223
  error?: string;
196
224
  } | {
197
- id: string;
198
225
  role: "activity";
199
226
  content: Record<string, any>;
227
+ id: string;
200
228
  activityType: string;
229
+ } | {
230
+ role: "reasoning";
231
+ content: string;
232
+ id: string;
233
+ encryptedValue?: string;
201
234
  })[];
202
235
  showCursor: boolean;
203
236
  messageElements: ({
204
- id: string;
205
237
  role: "developer";
206
238
  content: string;
239
+ id: string;
207
240
  name?: string;
241
+ encryptedValue?: string;
208
242
  } | {
209
- id: string;
210
243
  role: "system";
211
244
  content: string;
245
+ id: string;
212
246
  name?: string;
247
+ encryptedValue?: string;
213
248
  } | {
214
- id: string;
215
249
  role: "assistant";
216
- name?: string;
250
+ id: string;
217
251
  content?: string;
252
+ name?: string;
253
+ encryptedValue?: string;
218
254
  toolCalls?: {
219
255
  function: {
220
256
  name: string;
@@ -222,9 +258,9 @@ export declare class CopilotChatMessageView {
222
258
  };
223
259
  type: "function";
224
260
  id: string;
261
+ encryptedValue?: string;
225
262
  }[];
226
263
  } | {
227
- id: string;
228
264
  role: "user";
229
265
  content: string | ({
230
266
  type: "text";
@@ -237,18 +273,26 @@ export declare class CopilotChatMessageView {
237
273
  data?: string;
238
274
  filename?: string;
239
275
  })[];
276
+ id: string;
240
277
  name?: string;
278
+ encryptedValue?: string;
241
279
  } | {
242
- id: string;
243
280
  role: "tool";
244
- content: string;
245
281
  toolCallId: string;
282
+ content: string;
283
+ id: string;
284
+ encryptedValue?: string;
246
285
  error?: string;
247
286
  } | {
248
- id: string;
249
287
  role: "activity";
250
288
  content: Record<string, any>;
289
+ id: string;
251
290
  activityType: string;
291
+ } | {
292
+ role: "reasoning";
293
+ content: string;
294
+ id: string;
295
+ encryptedValue?: string;
252
296
  })[];
253
297
  }>;
254
298
  assistantMessageSlot: import("@angular/core").Signal<string | Type<any>>;
@@ -256,20 +300,23 @@ export declare class CopilotChatMessageView {
256
300
  cursorSlot: import("@angular/core").Signal<string | Type<any>>;
257
301
  mergeAssistantProps(message: Message): {
258
302
  message: {
259
- id: string;
260
303
  role: "developer";
261
304
  content: string;
305
+ id: string;
262
306
  name?: string;
307
+ encryptedValue?: string;
263
308
  } | {
264
- id: string;
265
309
  role: "system";
266
310
  content: string;
311
+ id: string;
267
312
  name?: string;
313
+ encryptedValue?: string;
268
314
  } | {
269
- id: string;
270
315
  role: "assistant";
271
- name?: string;
316
+ id: string;
272
317
  content?: string;
318
+ name?: string;
319
+ encryptedValue?: string;
273
320
  toolCalls?: {
274
321
  function: {
275
322
  name: string;
@@ -277,9 +324,9 @@ export declare class CopilotChatMessageView {
277
324
  };
278
325
  type: "function";
279
326
  id: string;
327
+ encryptedValue?: string;
280
328
  }[];
281
329
  } | {
282
- id: string;
283
330
  role: "user";
284
331
  content: string | ({
285
332
  type: "text";
@@ -292,34 +339,45 @@ export declare class CopilotChatMessageView {
292
339
  data?: string;
293
340
  filename?: string;
294
341
  })[];
342
+ id: string;
295
343
  name?: string;
344
+ encryptedValue?: string;
296
345
  } | {
297
- id: string;
298
346
  role: "tool";
299
- content: string;
300
347
  toolCallId: string;
348
+ content: string;
349
+ id: string;
350
+ encryptedValue?: string;
301
351
  error?: string;
302
352
  } | {
303
- id: string;
304
353
  role: "activity";
305
354
  content: Record<string, any>;
355
+ id: string;
306
356
  activityType: string;
357
+ } | {
358
+ role: "reasoning";
359
+ content: string;
360
+ id: string;
361
+ encryptedValue?: string;
307
362
  };
308
363
  messages: ({
309
- id: string;
310
364
  role: "developer";
311
365
  content: string;
366
+ id: string;
312
367
  name?: string;
368
+ encryptedValue?: string;
313
369
  } | {
314
- id: string;
315
370
  role: "system";
316
371
  content: string;
372
+ id: string;
317
373
  name?: string;
374
+ encryptedValue?: string;
318
375
  } | {
319
- id: string;
320
376
  role: "assistant";
321
- name?: string;
377
+ id: string;
322
378
  content?: string;
379
+ name?: string;
380
+ encryptedValue?: string;
323
381
  toolCalls?: {
324
382
  function: {
325
383
  name: string;
@@ -327,9 +385,9 @@ export declare class CopilotChatMessageView {
327
385
  };
328
386
  type: "function";
329
387
  id: string;
388
+ encryptedValue?: string;
330
389
  }[];
331
390
  } | {
332
- id: string;
333
391
  role: "user";
334
392
  content: string | ({
335
393
  type: "text";
@@ -342,38 +400,49 @@ export declare class CopilotChatMessageView {
342
400
  data?: string;
343
401
  filename?: string;
344
402
  })[];
403
+ id: string;
345
404
  name?: string;
405
+ encryptedValue?: string;
346
406
  } | {
347
- id: string;
348
407
  role: "tool";
349
- content: string;
350
408
  toolCallId: string;
409
+ content: string;
410
+ id: string;
411
+ encryptedValue?: string;
351
412
  error?: string;
352
413
  } | {
353
- id: string;
354
414
  role: "activity";
355
415
  content: Record<string, any>;
416
+ id: string;
356
417
  activityType: string;
418
+ } | {
419
+ role: "reasoning";
420
+ content: string;
421
+ id: string;
422
+ encryptedValue?: string;
357
423
  })[];
358
424
  isLoading: boolean;
359
425
  inputClass: string;
360
426
  };
361
427
  mergeUserProps(message: Message): {
362
428
  message: {
363
- id: string;
364
429
  role: "developer";
365
430
  content: string;
431
+ id: string;
366
432
  name?: string;
433
+ encryptedValue?: string;
367
434
  } | {
368
- id: string;
369
435
  role: "system";
370
436
  content: string;
437
+ id: string;
371
438
  name?: string;
439
+ encryptedValue?: string;
372
440
  } | {
373
- id: string;
374
441
  role: "assistant";
375
- name?: string;
442
+ id: string;
376
443
  content?: string;
444
+ name?: string;
445
+ encryptedValue?: string;
377
446
  toolCalls?: {
378
447
  function: {
379
448
  name: string;
@@ -381,9 +450,9 @@ export declare class CopilotChatMessageView {
381
450
  };
382
451
  type: "function";
383
452
  id: string;
453
+ encryptedValue?: string;
384
454
  }[];
385
455
  } | {
386
- id: string;
387
456
  role: "user";
388
457
  content: string | ({
389
458
  type: "text";
@@ -396,18 +465,26 @@ export declare class CopilotChatMessageView {
396
465
  data?: string;
397
466
  filename?: string;
398
467
  })[];
468
+ id: string;
399
469
  name?: string;
470
+ encryptedValue?: string;
400
471
  } | {
401
- id: string;
402
472
  role: "tool";
403
- content: string;
404
473
  toolCallId: string;
474
+ content: string;
475
+ id: string;
476
+ encryptedValue?: string;
405
477
  error?: string;
406
478
  } | {
407
- id: string;
408
479
  role: "activity";
409
480
  content: Record<string, any>;
481
+ id: string;
410
482
  activityType: string;
483
+ } | {
484
+ role: "reasoning";
485
+ content: string;
486
+ id: string;
487
+ encryptedValue?: string;
411
488
  };
412
489
  inputClass: string;
413
490
  };
@@ -1,10 +1,11 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class CopilotChatToolCallsView {
3
3
  readonly message: import("@angular/core").InputSignal<{
4
- id: string;
5
4
  role: "assistant";
6
- name?: string;
5
+ id: string;
7
6
  content?: string;
7
+ name?: string;
8
+ encryptedValue?: string;
8
9
  toolCalls?: {
9
10
  function: {
10
11
  name: string;
@@ -12,23 +13,27 @@ export declare class CopilotChatToolCallsView {
12
13
  };
13
14
  type: "function";
14
15
  id: string;
16
+ encryptedValue?: string;
15
17
  }[];
16
18
  }>;
17
19
  readonly messages: import("@angular/core").InputSignal<({
18
- id: string;
19
20
  role: "developer";
20
21
  content: string;
22
+ id: string;
21
23
  name?: string;
24
+ encryptedValue?: string;
22
25
  } | {
23
- id: string;
24
26
  role: "system";
25
27
  content: string;
28
+ id: string;
26
29
  name?: string;
30
+ encryptedValue?: string;
27
31
  } | {
28
- id: string;
29
32
  role: "assistant";
30
- name?: string;
33
+ id: string;
31
34
  content?: string;
35
+ name?: string;
36
+ encryptedValue?: string;
32
37
  toolCalls?: {
33
38
  function: {
34
39
  name: string;
@@ -36,9 +41,9 @@ export declare class CopilotChatToolCallsView {
36
41
  };
37
42
  type: "function";
38
43
  id: string;
44
+ encryptedValue?: string;
39
45
  }[];
40
46
  } | {
41
- id: string;
42
47
  role: "user";
43
48
  content: string | ({
44
49
  type: "text";
@@ -51,18 +56,26 @@ export declare class CopilotChatToolCallsView {
51
56
  data?: string;
52
57
  filename?: string;
53
58
  })[];
59
+ id: string;
54
60
  name?: string;
61
+ encryptedValue?: string;
55
62
  } | {
56
- id: string;
57
63
  role: "tool";
58
- content: string;
59
64
  toolCallId: string;
65
+ content: string;
66
+ id: string;
67
+ encryptedValue?: string;
60
68
  error?: string;
61
69
  } | {
62
- id: string;
63
70
  role: "activity";
64
71
  content: Record<string, any>;
72
+ id: string;
65
73
  activityType: string;
74
+ } | {
75
+ role: "reasoning";
76
+ content: string;
77
+ id: string;
78
+ encryptedValue?: string;
66
79
  })[]>;
67
80
  readonly isLoading: import("@angular/core").InputSignal<boolean>;
68
81
  static ɵfac: i0.ɵɵFactoryDeclaration<CopilotChatToolCallsView, never>;
@@ -4,7 +4,6 @@ export declare class CopilotChatUserMessageBranchNavigation {
4
4
  currentBranch: import("@angular/core").InputSignal<number>;
5
5
  numberOfBranches: import("@angular/core").InputSignal<number>;
6
6
  message: import("@angular/core").InputSignal<{
7
- id: string;
8
7
  role: "user";
9
8
  content: string | ({
10
9
  type: "text";
@@ -17,7 +16,9 @@ export declare class CopilotChatUserMessageBranchNavigation {
17
16
  data?: string;
18
17
  filename?: string;
19
18
  })[];
19
+ id: string;
20
20
  name?: string;
21
+ encryptedValue?: string;
21
22
  }>;
22
23
  inputClass: import("@angular/core").InputSignal<string>;
23
24
  switchToBranch: import("@angular/core").OutputEmitterRef<CopilotChatUserMessageOnSwitchToBranchProps>;
@@ -22,7 +22,6 @@ export declare class CopilotChatUserMessage {
22
22
  editButtonComponent: import("@angular/core").InputSignal<Type<any>>;
23
23
  branchNavigationComponent: import("@angular/core").InputSignal<Type<any>>;
24
24
  message: import("@angular/core").InputSignal<{
25
- id: string;
26
25
  role: "user";
27
26
  content: string | ({
28
27
  type: "text";
@@ -35,7 +34,9 @@ export declare class CopilotChatUserMessage {
35
34
  data?: string;
36
35
  filename?: string;
37
36
  })[];
37
+ id: string;
38
38
  name?: string;
39
+ encryptedValue?: string;
39
40
  }>;
40
41
  branchIndex: import("@angular/core").InputSignal<number>;
41
42
  numberOfBranches: import("@angular/core").InputSignal<number>;
@@ -15,20 +15,23 @@ export declare class CopilotChatViewScrollView implements OnInit, AfterViewInit,
15
15
  isResizing: import("@angular/core").InputSignal<boolean>;
16
16
  inputClass: import("@angular/core").InputSignal<string>;
17
17
  messages: import("@angular/core").InputSignal<({
18
- id: string;
19
18
  role: "developer";
20
19
  content: string;
20
+ id: string;
21
21
  name?: string;
22
+ encryptedValue?: string;
22
23
  } | {
23
- id: string;
24
24
  role: "system";
25
25
  content: string;
26
+ id: string;
26
27
  name?: string;
28
+ encryptedValue?: string;
27
29
  } | {
28
- id: string;
29
30
  role: "assistant";
30
- name?: string;
31
+ id: string;
31
32
  content?: string;
33
+ name?: string;
34
+ encryptedValue?: string;
32
35
  toolCalls?: {
33
36
  function: {
34
37
  name: string;
@@ -36,9 +39,9 @@ export declare class CopilotChatViewScrollView implements OnInit, AfterViewInit,
36
39
  };
37
40
  type: "function";
38
41
  id: string;
42
+ encryptedValue?: string;
39
43
  }[];
40
44
  } | {
41
- id: string;
42
45
  role: "user";
43
46
  content: string | ({
44
47
  type: "text";
@@ -51,18 +54,26 @@ export declare class CopilotChatViewScrollView implements OnInit, AfterViewInit,
51
54
  data?: string;
52
55
  filename?: string;
53
56
  })[];
57
+ id: string;
54
58
  name?: string;
59
+ encryptedValue?: string;
55
60
  } | {
56
- id: string;
57
61
  role: "tool";
58
- content: string;
59
62
  toolCallId: string;
63
+ content: string;
64
+ id: string;
65
+ encryptedValue?: string;
60
66
  error?: string;
61
67
  } | {
62
- id: string;
63
68
  role: "activity";
64
69
  content: Record<string, any>;
70
+ id: string;
65
71
  activityType: string;
72
+ } | {
73
+ role: "reasoning";
74
+ content: string;
75
+ id: string;
76
+ encryptedValue?: string;
66
77
  })[]>;
67
78
  messageView: import("@angular/core").InputSignal<any>;
68
79
  messageViewClass: import("@angular/core").InputSignal<string>;
@@ -26,20 +26,23 @@ export declare class CopilotChatView implements OnInit, OnChanges, AfterViewInit
26
26
  private cdr;
27
27
  private handlers;
28
28
  messages: import("@angular/core").InputSignal<({
29
- id: string;
30
29
  role: "developer";
31
30
  content: string;
31
+ id: string;
32
32
  name?: string;
33
+ encryptedValue?: string;
33
34
  } | {
34
- id: string;
35
35
  role: "system";
36
36
  content: string;
37
+ id: string;
37
38
  name?: string;
39
+ encryptedValue?: string;
38
40
  } | {
39
- id: string;
40
41
  role: "assistant";
41
- name?: string;
42
+ id: string;
42
43
  content?: string;
44
+ name?: string;
45
+ encryptedValue?: string;
43
46
  toolCalls?: {
44
47
  function: {
45
48
  name: string;
@@ -47,9 +50,9 @@ export declare class CopilotChatView implements OnInit, OnChanges, AfterViewInit
47
50
  };
48
51
  type: "function";
49
52
  id: string;
53
+ encryptedValue?: string;
50
54
  }[];
51
55
  } | {
52
- id: string;
53
56
  role: "user";
54
57
  content: string | ({
55
58
  type: "text";
@@ -62,18 +65,26 @@ export declare class CopilotChatView implements OnInit, OnChanges, AfterViewInit
62
65
  data?: string;
63
66
  filename?: string;
64
67
  })[];
68
+ id: string;
65
69
  name?: string;
70
+ encryptedValue?: string;
66
71
  } | {
67
- id: string;
68
72
  role: "tool";
69
- content: string;
70
73
  toolCallId: string;
74
+ content: string;
75
+ id: string;
76
+ encryptedValue?: string;
71
77
  error?: string;
72
78
  } | {
73
- id: string;
74
79
  role: "activity";
75
80
  content: Record<string, any>;
81
+ id: string;
76
82
  activityType: string;
83
+ } | {
84
+ role: "reasoning";
85
+ content: string;
86
+ id: string;
87
+ encryptedValue?: string;
77
88
  })[]>;
78
89
  autoScroll: import("@angular/core").InputSignal<boolean>;
79
90
  showCursor: import("@angular/core").InputSignal<boolean>;
@@ -133,20 +144,23 @@ export declare class CopilotChatView implements OnInit, OnChanges, AfterViewInit
133
144
  protected readonly defaultFeatherComponent: typeof CopilotChatViewFeather;
134
145
  protected readonly defaultDisclaimerComponent: typeof CopilotChatViewDisclaimer;
135
146
  protected messagesValue: import("@angular/core").Signal<({
136
- id: string;
137
147
  role: "developer";
138
148
  content: string;
149
+ id: string;
139
150
  name?: string;
151
+ encryptedValue?: string;
140
152
  } | {
141
- id: string;
142
153
  role: "system";
143
154
  content: string;
155
+ id: string;
144
156
  name?: string;
157
+ encryptedValue?: string;
145
158
  } | {
146
- id: string;
147
159
  role: "assistant";
148
- name?: string;
160
+ id: string;
149
161
  content?: string;
162
+ name?: string;
163
+ encryptedValue?: string;
150
164
  toolCalls?: {
151
165
  function: {
152
166
  name: string;
@@ -154,9 +168,9 @@ export declare class CopilotChatView implements OnInit, OnChanges, AfterViewInit
154
168
  };
155
169
  type: "function";
156
170
  id: string;
171
+ encryptedValue?: string;
157
172
  }[];
158
173
  } | {
159
- id: string;
160
174
  role: "user";
161
175
  content: string | ({
162
176
  type: "text";
@@ -169,18 +183,26 @@ export declare class CopilotChatView implements OnInit, OnChanges, AfterViewInit
169
183
  data?: string;
170
184
  filename?: string;
171
185
  })[];
186
+ id: string;
172
187
  name?: string;
188
+ encryptedValue?: string;
173
189
  } | {
174
- id: string;
175
190
  role: "tool";
176
- content: string;
177
191
  toolCallId: string;
192
+ content: string;
193
+ id: string;
194
+ encryptedValue?: string;
178
195
  error?: string;
179
196
  } | {
180
- id: string;
181
197
  role: "activity";
182
198
  content: Record<string, any>;
199
+ id: string;
183
200
  activityType: string;
201
+ } | {
202
+ role: "reasoning";
203
+ content: string;
204
+ id: string;
205
+ encryptedValue?: string;
184
206
  })[]>;
185
207
  protected autoScrollSignal: import("@angular/core").Signal<boolean>;
186
208
  protected showCursorSignal: import("@angular/core").Signal<boolean>;
@@ -204,20 +226,23 @@ export declare class CopilotChatView implements OnInit, OnChanges, AfterViewInit
204
226
  inputContainerHeight: number;
205
227
  isResizing: boolean;
206
228
  messages: ({
207
- id: string;
208
229
  role: "developer";
209
230
  content: string;
231
+ id: string;
210
232
  name?: string;
233
+ encryptedValue?: string;
211
234
  } | {
212
- id: string;
213
235
  role: "system";
214
236
  content: string;
237
+ id: string;
215
238
  name?: string;
239
+ encryptedValue?: string;
216
240
  } | {
217
- id: string;
218
241
  role: "assistant";
219
- name?: string;
242
+ id: string;
220
243
  content?: string;
244
+ name?: string;
245
+ encryptedValue?: string;
221
246
  toolCalls?: {
222
247
  function: {
223
248
  name: string;
@@ -225,9 +250,9 @@ export declare class CopilotChatView implements OnInit, OnChanges, AfterViewInit
225
250
  };
226
251
  type: "function";
227
252
  id: string;
253
+ encryptedValue?: string;
228
254
  }[];
229
255
  } | {
230
- id: string;
231
256
  role: "user";
232
257
  content: string | ({
233
258
  type: "text";
@@ -240,18 +265,26 @@ export declare class CopilotChatView implements OnInit, OnChanges, AfterViewInit
240
265
  data?: string;
241
266
  filename?: string;
242
267
  })[];
268
+ id: string;
243
269
  name?: string;
270
+ encryptedValue?: string;
244
271
  } | {
245
- id: string;
246
272
  role: "tool";
247
- content: string;
248
273
  toolCallId: string;
274
+ content: string;
275
+ id: string;
276
+ encryptedValue?: string;
249
277
  error?: string;
250
278
  } | {
251
- id: string;
252
279
  role: "activity";
253
280
  content: Record<string, any>;
281
+ id: string;
254
282
  activityType: string;
283
+ } | {
284
+ role: "reasoning";
285
+ content: string;
286
+ id: string;
287
+ encryptedValue?: string;
255
288
  })[];
256
289
  messageView: Type<any> | TemplateRef<any>;
257
290
  messageViewClass: string;
@@ -21,20 +21,23 @@ export declare class CopilotChat implements ChatState {
21
21
  readonly cdr: ChangeDetectorRef;
22
22
  readonly injector: Injector;
23
23
  protected messages: import("@angular/core").Signal<({
24
- id: string;
25
24
  role: "developer";
26
25
  content: string;
26
+ id: string;
27
27
  name?: string;
28
+ encryptedValue?: string;
28
29
  } | {
29
- id: string;
30
30
  role: "system";
31
31
  content: string;
32
+ id: string;
32
33
  name?: string;
34
+ encryptedValue?: string;
33
35
  } | {
34
- id: string;
35
36
  role: "assistant";
36
- name?: string;
37
+ id: string;
37
38
  content?: string;
39
+ name?: string;
40
+ encryptedValue?: string;
38
41
  toolCalls?: {
39
42
  function: {
40
43
  name: string;
@@ -42,9 +45,9 @@ export declare class CopilotChat implements ChatState {
42
45
  };
43
46
  type: "function";
44
47
  id: string;
48
+ encryptedValue?: string;
45
49
  }[];
46
50
  } | {
47
- id: string;
48
51
  role: "user";
49
52
  content: string | ({
50
53
  type: "text";
@@ -57,18 +60,26 @@ export declare class CopilotChat implements ChatState {
57
60
  data?: string;
58
61
  filename?: string;
59
62
  })[];
63
+ id: string;
60
64
  name?: string;
65
+ encryptedValue?: string;
61
66
  } | {
62
- id: string;
63
67
  role: "tool";
64
- content: string;
65
68
  toolCallId: string;
69
+ content: string;
70
+ id: string;
71
+ encryptedValue?: string;
66
72
  error?: string;
67
73
  } | {
68
- id: string;
69
74
  role: "activity";
70
75
  content: Record<string, any>;
76
+ id: string;
71
77
  activityType: string;
78
+ } | {
79
+ role: "reasoning";
80
+ content: string;
81
+ id: string;
82
+ encryptedValue?: string;
72
83
  })[]>;
73
84
  protected isRunning: import("@angular/core").Signal<boolean>;
74
85
  protected showCursor: import("@angular/core").WritableSignal<boolean>;
@@ -17,10 +17,11 @@ type ToolCallHandler = RendererToolCallHandler | ClientToolCallHandler | HumanIn
17
17
  export declare class RenderToolCalls {
18
18
  #private;
19
19
  readonly message: import("@angular/core").InputSignal<{
20
- id: string;
21
20
  role: "assistant";
22
- name?: string;
21
+ id: string;
23
22
  content?: string;
23
+ name?: string;
24
+ encryptedValue?: string;
24
25
  toolCalls?: {
25
26
  function: {
26
27
  name: string;
@@ -28,23 +29,27 @@ export declare class RenderToolCalls {
28
29
  };
29
30
  type: "function";
30
31
  id: string;
32
+ encryptedValue?: string;
31
33
  }[];
32
34
  }>;
33
35
  readonly messages: import("@angular/core").InputSignal<({
34
- id: string;
35
36
  role: "developer";
36
37
  content: string;
38
+ id: string;
37
39
  name?: string;
40
+ encryptedValue?: string;
38
41
  } | {
39
- id: string;
40
42
  role: "system";
41
43
  content: string;
44
+ id: string;
42
45
  name?: string;
46
+ encryptedValue?: string;
43
47
  } | {
44
- id: string;
45
48
  role: "assistant";
46
- name?: string;
49
+ id: string;
47
50
  content?: string;
51
+ name?: string;
52
+ encryptedValue?: string;
48
53
  toolCalls?: {
49
54
  function: {
50
55
  name: string;
@@ -52,9 +57,9 @@ export declare class RenderToolCalls {
52
57
  };
53
58
  type: "function";
54
59
  id: string;
60
+ encryptedValue?: string;
55
61
  }[];
56
62
  } | {
57
- id: string;
58
63
  role: "user";
59
64
  content: string | ({
60
65
  type: "text";
@@ -67,18 +72,26 @@ export declare class RenderToolCalls {
67
72
  data?: string;
68
73
  filename?: string;
69
74
  })[];
75
+ id: string;
70
76
  name?: string;
77
+ encryptedValue?: string;
71
78
  } | {
72
- id: string;
73
79
  role: "tool";
74
- content: string;
75
80
  toolCallId: string;
81
+ content: string;
82
+ id: string;
83
+ encryptedValue?: string;
76
84
  error?: string;
77
85
  } | {
78
- id: string;
79
86
  role: "activity";
80
87
  content: Record<string, any>;
88
+ id: string;
81
89
  activityType: string;
90
+ } | {
91
+ role: "reasoning";
92
+ content: string;
93
+ id: string;
94
+ encryptedValue?: string;
82
95
  })[]>;
83
96
  readonly isLoading: import("@angular/core").InputSignal<boolean>;
84
97
  protected pickRenderer(name: string): ToolCallHandler | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@copilotkitnext/angular",
3
- "version": "1.51.4",
3
+ "version": "1.51.5-next.0",
4
4
  "description": "Angular library for CopilotKit",
5
5
  "main": "dist/fesm2022/copilotkitnext-angular.mjs",
6
6
  "module": "dist/fesm2022/copilotkitnext-angular.mjs",
@@ -19,8 +19,8 @@
19
19
  "./styles.css": "./dist/styles.css"
20
20
  },
21
21
  "dependencies": {
22
- "@ag-ui/client": "0.0.42",
23
- "@ag-ui/core": "0.0.42",
22
+ "@ag-ui/client": "0.0.45",
23
+ "@ag-ui/core": "0.0.45",
24
24
  "clsx": "^2.1.1",
25
25
  "highlight.js": "^11.11.1",
26
26
  "katex": "^0.16.22",
@@ -29,8 +29,8 @@
29
29
  "rxjs": "^7.8.1",
30
30
  "tailwind-merge": "^2.6.0",
31
31
  "zod": "^3.22.4",
32
- "@copilotkitnext/core": "1.51.4",
33
- "@copilotkitnext/shared": "1.51.4"
32
+ "@copilotkitnext/core": "1.51.5-next.0",
33
+ "@copilotkitnext/shared": "1.51.5-next.0"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "@angular/cdk": "^18.0.0 || ^19.0.0",
@@ -74,8 +74,8 @@
74
74
  "vite": "^7.1.4",
75
75
  "vitest": "^2.0.5",
76
76
  "zone.js": "^0.14.0",
77
- "@copilotkitnext/eslint-config": "1.51.4",
78
- "@copilotkitnext/typescript-config": "1.51.4"
77
+ "@copilotkitnext/eslint-config": "1.51.5-next.0",
78
+ "@copilotkitnext/typescript-config": "1.51.5-next.0"
79
79
  },
80
80
  "publishConfig": {
81
81
  "access": "public"