@copilotkit/angular 0.3.2-canary.1785878925 → 0.5.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.
- package/README.md +10 -4
- package/dist/README.md +10 -4
- package/dist/fesm2022/copilotkit-angular-mcp-apps.mjs +24 -19
- package/dist/fesm2022/copilotkit-angular-mcp-apps.mjs.map +1 -1
- package/dist/fesm2022/copilotkit-angular.mjs +2487 -1770
- package/dist/fesm2022/copilotkit-angular.mjs.map +1 -1
- package/dist/styles.css +0 -3
- package/dist/{mcp-apps/index.d.ts → types/copilotkit-angular-mcp-apps.d.ts} +66 -63
- package/dist/types/copilotkit-angular-mcp-apps.d.ts.map +1 -0
- package/dist/{index.d.ts → types/copilotkit-angular.d.ts} +1215 -792
- package/dist/types/copilotkit-angular.d.ts.map +1 -0
- package/package.json +36 -50
- package/tsconfig.json +9 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { Type, Signal, InjectionToken, Provider, Injector, DestroyRef, WritableSignal, OnDestroy, NgZone, ElementRef, TemplateRef, ViewContainerRef, ComponentRef, EmbeddedViewRef, OnInit, OnChanges, ChangeDetectorRef, SimpleChanges, AfterViewInit, EventEmitter } from '@angular/core';
|
|
3
3
|
import * as _ag_ui_client from '@ag-ui/client';
|
|
4
|
-
import { AbstractAgent, ActivityMessage, ToolCall,
|
|
4
|
+
import { AbstractAgent, ActivityMessage, ToolCall, Interrupt, ResumeEntry, RunAgentResult, Message, Context, AssistantMessage } from '@ag-ui/client';
|
|
5
5
|
export { AssistantMessage, Message } from '@ag-ui/client';
|
|
6
6
|
import { FrontendTool, FrontendToolHandlerContext, SuggestionsConfig, CopilotKitCoreRuntimeConnectionStatus, CopilotRuntimeTransport, ThreadEndpointRuntimeInfo, IntelligenceRuntimeInfo, RuntimeLicenseStatus, CopilotKitCoreGetSuggestionsResult, CopilotKitCore, Suggestion, Memory, MemoryRealtimeStatus, NewMemory, MemoryChanges } from '@copilotkit/core';
|
|
7
7
|
export { DynamicSuggestionsConfig, Memory, MemoryChanges, MemoryKind, MemoryScope, NewMemory, StaticSuggestionsConfig, Suggestion, SuggestionsConfig } from '@copilotkit/core';
|
|
8
|
-
import { StandardSchemaV1, Attachment, TranscriptionErrorCode, AttachmentsConfig, AttachmentModality, InputContent, ImageInputPart, AudioInputPart, VideoInputPart, DocumentInputPart } from '@copilotkit/shared';
|
|
8
|
+
import { StandardSchemaV1, RuntimeEntitlementResponse, Attachment, TranscriptionErrorCode, AttachmentsConfig, AttachmentModality, InputContent, ImageInputPart, AudioInputPart, VideoInputPart, DocumentInputPart } from '@copilotkit/shared';
|
|
9
9
|
export { Attachment, AttachmentModality, AttachmentUploadError, AttachmentUploadResult, AttachmentsConfig, TranscriptionErrorCode } from '@copilotkit/shared';
|
|
10
10
|
import { z } from 'zod';
|
|
11
11
|
import { Theme, Catalog, LitComponentImplementation, LitRenderable } from '@copilotkit/a2ui-renderer/web-components';
|
|
12
|
+
import { AgentCapabilities, UserMessage, Message as Message$1, ReasoningMessage, ActivityMessage as ActivityMessage$1 } from '@ag-ui/core';
|
|
12
13
|
import { ScrollDispatcher, ViewportRuler } from '@angular/cdk/scrolling';
|
|
13
14
|
import { Observable } from 'rxjs';
|
|
14
15
|
import { ClassValue } from 'clsx';
|
|
15
16
|
import * as _copilotkit_angular from '@copilotkit/angular';
|
|
16
|
-
import { UserMessage, Message as Message$1, ReasoningMessage, ActivityMessage as ActivityMessage$1 } from '@ag-ui/core';
|
|
17
17
|
import { DrawerThread } from '@copilotkit/web-components/threads-drawer';
|
|
18
18
|
import Websandbox from '@jetbrains/websandbox';
|
|
19
19
|
|
|
@@ -74,10 +74,36 @@ interface FrontendToolConfig<Args extends Record<string, unknown> = Record<strin
|
|
|
74
74
|
description: string;
|
|
75
75
|
parameters: StandardSchemaV1<unknown, Args>;
|
|
76
76
|
component?: Type<ToolRenderer<Args>>;
|
|
77
|
-
|
|
77
|
+
/**
|
|
78
|
+
* Application code the agent runs by calling this tool.
|
|
79
|
+
*
|
|
80
|
+
* Optional, because a display-only registration has none: the agent calls the
|
|
81
|
+
* tool to show `component` and nothing else happens. Core inserts an empty tool
|
|
82
|
+
* result for a tool that declares no handler, so leaving this out completes the
|
|
83
|
+
* turn without writing an invented result into the thread. Prefer
|
|
84
|
+
* `registerComponent` for that case -- it is this shape with the model-facing
|
|
85
|
+
* description built for you.
|
|
86
|
+
*/
|
|
87
|
+
handler?: (args: Args, context: FrontendToolHandlerContext) => Promise<unknown>;
|
|
78
88
|
followUp?: boolean;
|
|
79
89
|
agentId?: string;
|
|
80
90
|
}
|
|
91
|
+
/**
|
|
92
|
+
* A component the agent can render in chat, with no application code behind it.
|
|
93
|
+
*
|
|
94
|
+
* The Angular counterpart of react-core's and vue's `useComponent`. It carries no
|
|
95
|
+
* `handler` field at all rather than an optional one: a display-only component
|
|
96
|
+
* that quietly ran application code would be a different feature, and a caller
|
|
97
|
+
* who wants both wants `registerFrontendTool`.
|
|
98
|
+
*/
|
|
99
|
+
interface RegisterComponentConfig<Args extends Record<string, unknown> = Record<string, unknown>> {
|
|
100
|
+
name: string;
|
|
101
|
+
description?: string;
|
|
102
|
+
parameters: StandardSchemaV1<unknown, Args>;
|
|
103
|
+
component: Type<ToolRenderer<Args>>;
|
|
104
|
+
agentId?: string;
|
|
105
|
+
followUp?: boolean;
|
|
106
|
+
}
|
|
81
107
|
interface HumanInTheLoopConfig<Args extends Record<string, unknown> = Record<string, unknown>> {
|
|
82
108
|
name: string;
|
|
83
109
|
description: string;
|
|
@@ -87,6 +113,34 @@ interface HumanInTheLoopConfig<Args extends Record<string, unknown> = Record<str
|
|
|
87
113
|
}
|
|
88
114
|
declare function registerRenderToolCall<Args extends Record<string, unknown> = Record<string, unknown>>(renderToolCall: RenderToolCallConfig<Args>): void;
|
|
89
115
|
declare function registerFrontendTool<Args extends Record<string, unknown> = Record<string, unknown>>(frontendTool: FrontendToolConfig<Args>): void;
|
|
116
|
+
/**
|
|
117
|
+
* Registers an Angular component as a tool the agent can call to display it.
|
|
118
|
+
*
|
|
119
|
+
* The simplest generative-UI registration there is, and the only one that needs
|
|
120
|
+
* nothing on the agent side: the tool is declared by the frontend and forwarded to
|
|
121
|
+
* the agent over AG-UI, so it works the same behind a Python agent as a TypeScript
|
|
122
|
+
* one. Contrast `registerRenderToolCall`, which draws a tool the agent already
|
|
123
|
+
* has and therefore requires that tool to exist in the agent.
|
|
124
|
+
*
|
|
125
|
+
* The component is an ordinary `ToolRenderer`: it takes the required `toolCall`
|
|
126
|
+
* signal input and reads `toolCall().args`, exactly as it would under
|
|
127
|
+
* `registerFrontendTool` or `registerRenderToolCall`.
|
|
128
|
+
*
|
|
129
|
+
* Registration is removed when the calling injector is destroyed.
|
|
130
|
+
*
|
|
131
|
+
* @param config - Name, parameter schema, and component to render.
|
|
132
|
+
*
|
|
133
|
+
* @example
|
|
134
|
+
* ```ts
|
|
135
|
+
* registerComponent({
|
|
136
|
+
* name: "show_incident",
|
|
137
|
+
* description: "Show one incident from the incident table.",
|
|
138
|
+
* parameters: z.object({ id: z.string(), severity: z.string() }),
|
|
139
|
+
* component: IncidentCardComponent,
|
|
140
|
+
* });
|
|
141
|
+
* ```
|
|
142
|
+
*/
|
|
143
|
+
declare function registerComponent<Args extends Record<string, unknown> = Record<string, unknown>>(config: RegisterComponentConfig<Args>): void;
|
|
90
144
|
declare function registerHumanInTheLoop<Args extends Record<string, unknown> = Record<string, unknown>>(humanInTheLoop: HumanInTheLoopConfig<Args>): void;
|
|
91
145
|
|
|
92
146
|
type AngularActivityContentParseResult<T> = {
|
|
@@ -138,27 +192,27 @@ declare const OpenGenerativeUIContentSchema: z.ZodObject<{
|
|
|
138
192
|
jsExpressions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
139
193
|
jsExpressionsComplete: z.ZodOptional<z.ZodBoolean>;
|
|
140
194
|
}, "strip", z.ZodTypeAny, {
|
|
141
|
-
html?: string[];
|
|
142
|
-
initialHeight?: number;
|
|
143
|
-
generating?: boolean;
|
|
144
|
-
css?: string;
|
|
145
|
-
cssComplete?: boolean;
|
|
146
|
-
htmlComplete?: boolean;
|
|
147
|
-
jsFunctions?: string;
|
|
148
|
-
jsFunctionsComplete?: boolean;
|
|
149
|
-
jsExpressions?: string[];
|
|
150
|
-
jsExpressionsComplete?: boolean;
|
|
195
|
+
html?: string[] | undefined;
|
|
196
|
+
initialHeight?: number | undefined;
|
|
197
|
+
generating?: boolean | undefined;
|
|
198
|
+
css?: string | undefined;
|
|
199
|
+
cssComplete?: boolean | undefined;
|
|
200
|
+
htmlComplete?: boolean | undefined;
|
|
201
|
+
jsFunctions?: string | undefined;
|
|
202
|
+
jsFunctionsComplete?: boolean | undefined;
|
|
203
|
+
jsExpressions?: string[] | undefined;
|
|
204
|
+
jsExpressionsComplete?: boolean | undefined;
|
|
151
205
|
}, {
|
|
152
|
-
html?: string[];
|
|
153
|
-
initialHeight?: number;
|
|
154
|
-
generating?: boolean;
|
|
155
|
-
css?: string;
|
|
156
|
-
cssComplete?: boolean;
|
|
157
|
-
htmlComplete?: boolean;
|
|
158
|
-
jsFunctions?: string;
|
|
159
|
-
jsFunctionsComplete?: boolean;
|
|
160
|
-
jsExpressions?: string[];
|
|
161
|
-
jsExpressionsComplete?: boolean;
|
|
206
|
+
html?: string[] | undefined;
|
|
207
|
+
initialHeight?: number | undefined;
|
|
208
|
+
generating?: boolean | undefined;
|
|
209
|
+
css?: string | undefined;
|
|
210
|
+
cssComplete?: boolean | undefined;
|
|
211
|
+
htmlComplete?: boolean | undefined;
|
|
212
|
+
jsFunctions?: string | undefined;
|
|
213
|
+
jsFunctionsComplete?: boolean | undefined;
|
|
214
|
+
jsExpressions?: string[] | undefined;
|
|
215
|
+
jsExpressionsComplete?: boolean | undefined;
|
|
162
216
|
}>;
|
|
163
217
|
type OpenGenerativeUIContent = z.infer<typeof OpenGenerativeUIContentSchema>;
|
|
164
218
|
declare const GenerateSandboxedUiArgsSchema: z.ZodObject<{
|
|
@@ -169,19 +223,19 @@ declare const GenerateSandboxedUiArgsSchema: z.ZodObject<{
|
|
|
169
223
|
jsFunctions: z.ZodOptional<z.ZodString>;
|
|
170
224
|
jsExpressions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
171
225
|
}, "strip", z.ZodTypeAny, {
|
|
172
|
-
html?: string;
|
|
173
|
-
initialHeight?: number;
|
|
174
|
-
css?: string;
|
|
175
|
-
jsFunctions?: string;
|
|
176
|
-
jsExpressions?: string[];
|
|
177
|
-
placeholderMessages?: string[];
|
|
226
|
+
html?: string | undefined;
|
|
227
|
+
initialHeight?: number | undefined;
|
|
228
|
+
css?: string | undefined;
|
|
229
|
+
jsFunctions?: string | undefined;
|
|
230
|
+
jsExpressions?: string[] | undefined;
|
|
231
|
+
placeholderMessages?: string[] | undefined;
|
|
178
232
|
}, {
|
|
179
|
-
html?: string;
|
|
180
|
-
initialHeight?: number;
|
|
181
|
-
css?: string;
|
|
182
|
-
jsFunctions?: string;
|
|
183
|
-
jsExpressions?: string[];
|
|
184
|
-
placeholderMessages?: string[];
|
|
233
|
+
html?: string | undefined;
|
|
234
|
+
initialHeight?: number | undefined;
|
|
235
|
+
css?: string | undefined;
|
|
236
|
+
jsFunctions?: string | undefined;
|
|
237
|
+
jsExpressions?: string[] | undefined;
|
|
238
|
+
placeholderMessages?: string[] | undefined;
|
|
185
239
|
}>;
|
|
186
240
|
type GenerateSandboxedUiArgs = z.infer<typeof GenerateSandboxedUiArgsSchema>;
|
|
187
241
|
type SandboxFunction<Args extends Record<string, unknown> = Record<string, unknown>> = {
|
|
@@ -213,6 +267,8 @@ interface A2UIRecoveryOptions {
|
|
|
213
267
|
interface CopilotKitConfig {
|
|
214
268
|
runtimeUrl?: string;
|
|
215
269
|
headers?: Record<string, string>;
|
|
270
|
+
/** Fetch credentials mode used for CopilotKit runtime requests. */
|
|
271
|
+
credentials?: RequestCredentials;
|
|
216
272
|
licenseKey?: string;
|
|
217
273
|
properties?: Record<string, unknown>;
|
|
218
274
|
agents?: Record<string, AbstractAgent>;
|
|
@@ -227,6 +283,12 @@ interface CopilotKitConfig {
|
|
|
227
283
|
defaultToolRendering?: boolean;
|
|
228
284
|
a2ui?: A2UIConfig;
|
|
229
285
|
openGenerativeUI?: OpenGenerativeUIConfig;
|
|
286
|
+
/**
|
|
287
|
+
* Disable the CopilotKit Inspector in development.
|
|
288
|
+
* The Inspector is enabled by default in development browser builds and is
|
|
289
|
+
* always disabled in production and during server rendering.
|
|
290
|
+
*/
|
|
291
|
+
enableInspector?: boolean;
|
|
230
292
|
}
|
|
231
293
|
declare const COPILOT_KIT_CONFIG: InjectionToken<CopilotKitConfig>;
|
|
232
294
|
declare function injectCopilotKitConfig(): CopilotKitConfig;
|
|
@@ -238,16 +300,17 @@ declare class CopilotKit {
|
|
|
238
300
|
readonly defaultToolRenderingEnabled: boolean;
|
|
239
301
|
readonly agents: Signal<Record<string, AbstractAgent>>;
|
|
240
302
|
readonly runtimeConnectionStatus: Signal<CopilotKitCoreRuntimeConnectionStatus>;
|
|
241
|
-
readonly runtimeUrl: Signal<string>;
|
|
303
|
+
readonly runtimeUrl: Signal<string | undefined>;
|
|
242
304
|
readonly runtimeTransport: Signal<CopilotRuntimeTransport>;
|
|
243
305
|
readonly headers: Signal<Record<string, string>>;
|
|
306
|
+
readonly credentials: Signal<RequestCredentials | undefined>;
|
|
244
307
|
/**
|
|
245
308
|
* Thread-endpoint capability advertised by the connected runtime's `/info`
|
|
246
309
|
* response, or `undefined` before the runtime reports `Connected`. Exposed
|
|
247
310
|
* as a signal (rather than a plain `core.threadEndpoints` read) so reactive
|
|
248
311
|
* consumers re-run when `/info` lands.
|
|
249
312
|
*/
|
|
250
|
-
readonly threadEndpoints: Signal<ThreadEndpointRuntimeInfo>;
|
|
313
|
+
readonly threadEndpoints: Signal<ThreadEndpointRuntimeInfo | undefined>;
|
|
251
314
|
/**
|
|
252
315
|
* Intelligence runtime info advertised by the connected runtime's `/info`
|
|
253
316
|
* response, or `undefined` before the runtime reports `Connected`. Carries
|
|
@@ -255,14 +318,24 @@ declare class CopilotKit {
|
|
|
255
318
|
* when `/info` populates it — even if the connection status does not
|
|
256
319
|
* transition in the same turn.
|
|
257
320
|
*/
|
|
258
|
-
readonly intelligence: Signal<IntelligenceRuntimeInfo>;
|
|
321
|
+
readonly intelligence: Signal<IntelligenceRuntimeInfo | undefined>;
|
|
259
322
|
/**
|
|
260
323
|
* Server-reported license status from the connected runtime's `/info`
|
|
261
324
|
* response, or `undefined` before the runtime reports it. Exposed as a signal
|
|
262
325
|
* (rather than a plain `core.licenseStatus` read) so reactive consumers — e.g.
|
|
263
326
|
* the threads drawer's license gate — re-run once the status resolves.
|
|
264
327
|
*/
|
|
265
|
-
readonly licenseStatus: Signal<RuntimeLicenseStatus>;
|
|
328
|
+
readonly licenseStatus: Signal<RuntimeLicenseStatus | undefined>;
|
|
329
|
+
/**
|
|
330
|
+
* Structured entitlement authority from the connected runtime's `/info`
|
|
331
|
+
* response. Ready managed entitlements override legacy license status.
|
|
332
|
+
*/
|
|
333
|
+
readonly runtimeEntitlements: Signal<RuntimeEntitlementResponse | undefined>;
|
|
334
|
+
/**
|
|
335
|
+
* Whether Core still owes the one bounded retry for a retryable entitlement
|
|
336
|
+
* lookup. Gated UI stays pending until that retry settles.
|
|
337
|
+
*/
|
|
338
|
+
readonly runtimeEntitlementRetryPending: Signal<boolean>;
|
|
266
339
|
readonly suggestionsByAgent: Signal<Record<string, CopilotKitCoreGetSuggestionsResult>>;
|
|
267
340
|
readonly core: CopilotKitCore;
|
|
268
341
|
readonly toolCallRenderConfigs: Signal<RenderToolCallConfig[]>;
|
|
@@ -289,6 +362,7 @@ declare class CopilotKit {
|
|
|
289
362
|
runtimeUrl?: string;
|
|
290
363
|
runtimeTransport?: CopilotRuntimeTransport;
|
|
291
364
|
headers?: Record<string, string>;
|
|
365
|
+
credentials?: RequestCredentials;
|
|
292
366
|
properties?: Record<string, unknown>;
|
|
293
367
|
agents?: Record<string, AbstractAgent>;
|
|
294
368
|
selfManagedAgents?: Record<string, AbstractAgent>;
|
|
@@ -346,11 +420,13 @@ declare function pickToolCallHandler(options: PickToolCallHandlerOptions): ToolC
|
|
|
346
420
|
declare class RenderToolCalls {
|
|
347
421
|
#private;
|
|
348
422
|
readonly message: _angular_core.InputSignal<{
|
|
349
|
-
role: "assistant";
|
|
350
423
|
id: string;
|
|
424
|
+
role: "assistant";
|
|
351
425
|
name?: string | undefined;
|
|
352
|
-
content?: string | undefined;
|
|
353
426
|
encryptedValue?: string | undefined;
|
|
427
|
+
metadata?: Record<string, any> | undefined;
|
|
428
|
+
content?: string | undefined;
|
|
429
|
+
subagentRunId?: string | undefined;
|
|
354
430
|
toolCalls?: {
|
|
355
431
|
function: {
|
|
356
432
|
name: string;
|
|
@@ -359,26 +435,33 @@ declare class RenderToolCalls {
|
|
|
359
435
|
type: "function";
|
|
360
436
|
id: string;
|
|
361
437
|
encryptedValue?: string | undefined;
|
|
438
|
+
metadata?: Record<string, any> | undefined;
|
|
362
439
|
}[] | undefined;
|
|
363
440
|
}>;
|
|
364
441
|
readonly messages: _angular_core.InputSignal<({
|
|
442
|
+
id: string;
|
|
365
443
|
role: "developer";
|
|
366
444
|
content: string;
|
|
367
|
-
id: string;
|
|
368
445
|
name?: string | undefined;
|
|
369
446
|
encryptedValue?: string | undefined;
|
|
447
|
+
metadata?: Record<string, any> | undefined;
|
|
448
|
+
subagentRunId?: string | undefined;
|
|
370
449
|
} | {
|
|
450
|
+
id: string;
|
|
371
451
|
role: "system";
|
|
372
452
|
content: string;
|
|
373
|
-
id: string;
|
|
374
453
|
name?: string | undefined;
|
|
375
454
|
encryptedValue?: string | undefined;
|
|
455
|
+
metadata?: Record<string, any> | undefined;
|
|
456
|
+
subagentRunId?: string | undefined;
|
|
376
457
|
} | {
|
|
377
|
-
role: "assistant";
|
|
378
458
|
id: string;
|
|
459
|
+
role: "assistant";
|
|
379
460
|
name?: string | undefined;
|
|
380
|
-
content?: string | undefined;
|
|
381
461
|
encryptedValue?: string | undefined;
|
|
462
|
+
metadata?: Record<string, any> | undefined;
|
|
463
|
+
content?: string | undefined;
|
|
464
|
+
subagentRunId?: string | undefined;
|
|
382
465
|
toolCalls?: {
|
|
383
466
|
function: {
|
|
384
467
|
name: string;
|
|
@@ -387,8 +470,10 @@ declare class RenderToolCalls {
|
|
|
387
470
|
type: "function";
|
|
388
471
|
id: string;
|
|
389
472
|
encryptedValue?: string | undefined;
|
|
473
|
+
metadata?: Record<string, any> | undefined;
|
|
390
474
|
}[] | undefined;
|
|
391
475
|
} | {
|
|
476
|
+
id: string;
|
|
392
477
|
role: "user";
|
|
393
478
|
content: string | ({
|
|
394
479
|
type: "text";
|
|
@@ -396,48 +481,48 @@ declare class RenderToolCalls {
|
|
|
396
481
|
} | {
|
|
397
482
|
type: "image";
|
|
398
483
|
source: {
|
|
399
|
-
type: "data";
|
|
400
484
|
value: string;
|
|
485
|
+
type: "data";
|
|
401
486
|
mimeType: string;
|
|
402
487
|
} | {
|
|
403
|
-
type: "url";
|
|
404
488
|
value: string;
|
|
489
|
+
type: "url";
|
|
405
490
|
mimeType?: string | undefined;
|
|
406
491
|
};
|
|
407
492
|
metadata?: unknown;
|
|
408
493
|
} | {
|
|
409
494
|
type: "audio";
|
|
410
495
|
source: {
|
|
411
|
-
type: "data";
|
|
412
496
|
value: string;
|
|
497
|
+
type: "data";
|
|
413
498
|
mimeType: string;
|
|
414
499
|
} | {
|
|
415
|
-
type: "url";
|
|
416
500
|
value: string;
|
|
501
|
+
type: "url";
|
|
417
502
|
mimeType?: string | undefined;
|
|
418
503
|
};
|
|
419
504
|
metadata?: unknown;
|
|
420
505
|
} | {
|
|
421
506
|
type: "video";
|
|
422
507
|
source: {
|
|
423
|
-
type: "data";
|
|
424
508
|
value: string;
|
|
509
|
+
type: "data";
|
|
425
510
|
mimeType: string;
|
|
426
511
|
} | {
|
|
427
|
-
type: "url";
|
|
428
512
|
value: string;
|
|
513
|
+
type: "url";
|
|
429
514
|
mimeType?: string | undefined;
|
|
430
515
|
};
|
|
431
516
|
metadata?: unknown;
|
|
432
517
|
} | {
|
|
433
518
|
type: "document";
|
|
434
519
|
source: {
|
|
435
|
-
type: "data";
|
|
436
520
|
value: string;
|
|
521
|
+
type: "data";
|
|
437
522
|
mimeType: string;
|
|
438
523
|
} | {
|
|
439
|
-
type: "url";
|
|
440
524
|
value: string;
|
|
525
|
+
type: "url";
|
|
441
526
|
mimeType?: string | undefined;
|
|
442
527
|
};
|
|
443
528
|
metadata?: unknown;
|
|
@@ -449,29 +534,36 @@ declare class RenderToolCalls {
|
|
|
449
534
|
url?: string | undefined;
|
|
450
535
|
filename?: string | undefined;
|
|
451
536
|
})[];
|
|
452
|
-
id: string;
|
|
453
537
|
name?: string | undefined;
|
|
454
538
|
encryptedValue?: string | undefined;
|
|
539
|
+
metadata?: Record<string, any> | undefined;
|
|
540
|
+
subagentRunId?: string | undefined;
|
|
455
541
|
} | {
|
|
542
|
+
id: string;
|
|
456
543
|
role: "tool";
|
|
457
|
-
toolCallId: string;
|
|
458
544
|
content: string;
|
|
459
|
-
|
|
545
|
+
toolCallId: string;
|
|
460
546
|
encryptedValue?: string | undefined;
|
|
547
|
+
metadata?: Record<string, any> | undefined;
|
|
548
|
+
subagentRunId?: string | undefined;
|
|
461
549
|
error?: string | undefined;
|
|
462
550
|
} | {
|
|
551
|
+
id: string;
|
|
463
552
|
role: "activity";
|
|
464
553
|
content: Record<string, any>;
|
|
465
|
-
id: string;
|
|
466
554
|
activityType: string;
|
|
555
|
+
metadata?: Record<string, any> | undefined;
|
|
556
|
+
subagentRunId?: string | undefined;
|
|
467
557
|
} | {
|
|
558
|
+
id: string;
|
|
468
559
|
role: "reasoning";
|
|
469
560
|
content: string;
|
|
470
|
-
id: string;
|
|
471
561
|
encryptedValue?: string | undefined;
|
|
562
|
+
metadata?: Record<string, any> | undefined;
|
|
563
|
+
subagentRunId?: string | undefined;
|
|
472
564
|
})[]>;
|
|
473
565
|
readonly isLoading: _angular_core.InputSignal<boolean>;
|
|
474
|
-
readonly agentId: _angular_core.InputSignal<string>;
|
|
566
|
+
readonly agentId: _angular_core.InputSignal<string | undefined>;
|
|
475
567
|
protected pickRenderer(name: string): ToolCallHandler | undefined;
|
|
476
568
|
protected buildToolCall<Args extends Record<string, unknown>>(toolCall: ToolCall): AngularToolCall<Args>;
|
|
477
569
|
protected buildRendererInputs<Args extends Record<string, unknown>>(toolCall: ToolCall, handler: RendererToolCallHandler | ClientToolCallHandler | BuiltInToolCallHandler): {
|
|
@@ -483,26 +575,13 @@ declare class RenderToolCalls {
|
|
|
483
575
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RenderToolCalls, "copilot-render-tool-calls", never, { "message": { "alias": "message"; "required": true; "isSignal": true; }; "messages": { "alias": "messages"; "required": true; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "agentId": { "alias": "agentId"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
484
576
|
}
|
|
485
577
|
|
|
486
|
-
/**
|
|
487
|
-
*
|
|
488
|
-
*
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
readonly isRunning: Signal<boolean>;
|
|
494
|
-
readonly messages: Signal<Message[]>;
|
|
495
|
-
readonly state: Signal<unknown>;
|
|
496
|
-
constructor(abstractAgent: AbstractAgent, destroyRef: DestroyRef, subscribeToAgent: SubscribeToAgentFn);
|
|
497
|
-
teardown(): void;
|
|
498
|
-
}
|
|
499
|
-
declare class CopilotkitAgentFactory {
|
|
500
|
-
#private;
|
|
501
|
-
createAgentStoreSignal(agentId: Signal<string | undefined>, destroyRef: DestroyRef): Signal<AgentStore>;
|
|
502
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotkitAgentFactory, never>;
|
|
503
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CopilotkitAgentFactory>;
|
|
504
|
-
}
|
|
505
|
-
declare function injectAgentStore(agentId: string | Signal<string | undefined>): Signal<AgentStore>;
|
|
578
|
+
/**
|
|
579
|
+
* Injection token that reports whether the Inspector treats the app as
|
|
580
|
+
* development. Tests can override it. Applications must not depend on it.
|
|
581
|
+
*
|
|
582
|
+
* @internal
|
|
583
|
+
*/
|
|
584
|
+
declare const ɵCOPILOTKIT_INSPECTOR_DEVELOPMENT_MODE: InjectionToken<boolean>;
|
|
506
585
|
|
|
507
586
|
/** Legacy custom-event interrupt payload. */
|
|
508
587
|
interface InterruptEvent<TValue = unknown> {
|
|
@@ -511,6 +590,7 @@ interface InterruptEvent<TValue = unknown> {
|
|
|
511
590
|
}
|
|
512
591
|
/** Options forwarded when resuming an interrupted agent. */
|
|
513
592
|
interface InterruptRunOptions {
|
|
593
|
+
runId?: string;
|
|
514
594
|
resume?: ResumeEntry[];
|
|
515
595
|
forwardedProps?: Record<string, unknown>;
|
|
516
596
|
}
|
|
@@ -549,29 +629,31 @@ declare class InterruptExpiredError extends Error {
|
|
|
549
629
|
*/
|
|
550
630
|
declare class InterruptController<TValue = unknown, TResult = never> {
|
|
551
631
|
#private;
|
|
552
|
-
readonly event: Signal<InterruptEvent<TValue
|
|
632
|
+
readonly event: Signal<InterruptEvent<TValue> | null>;
|
|
553
633
|
readonly interrupt: Signal<{
|
|
554
634
|
id: string;
|
|
555
635
|
reason: string;
|
|
556
636
|
message?: string | undefined;
|
|
557
|
-
toolCallId?: string | undefined;
|
|
558
637
|
metadata?: Record<string, any> | undefined;
|
|
638
|
+
subagentRunId?: string | undefined;
|
|
639
|
+
toolCallId?: string | undefined;
|
|
559
640
|
responseSchema?: Record<string, any> | undefined;
|
|
560
641
|
expiresAt?: string | undefined;
|
|
561
|
-
}>;
|
|
642
|
+
} | null>;
|
|
562
643
|
readonly interrupts: Signal<readonly {
|
|
563
644
|
id: string;
|
|
564
645
|
reason: string;
|
|
565
646
|
message?: string | undefined;
|
|
566
|
-
toolCallId?: string | undefined;
|
|
567
647
|
metadata?: Record<string, any> | undefined;
|
|
648
|
+
subagentRunId?: string | undefined;
|
|
649
|
+
toolCallId?: string | undefined;
|
|
568
650
|
responseSchema?: Record<string, any> | undefined;
|
|
569
651
|
expiresAt?: string | undefined;
|
|
570
652
|
}[]>;
|
|
571
|
-
readonly result: Signal<TResult>;
|
|
653
|
+
readonly result: Signal<TResult | null>;
|
|
572
654
|
readonly error: Signal<unknown>;
|
|
573
655
|
readonly hasInterrupt: Signal<boolean>;
|
|
574
|
-
readonly view: Signal<InterruptView<TValue, TResult
|
|
656
|
+
readonly view: Signal<InterruptView<TValue, TResult> | null>;
|
|
575
657
|
constructor(runner: InterruptRunner, options?: InjectInterruptOptions<TValue, TResult>);
|
|
576
658
|
/** Subscribe to an agent, replacing any previous lifecycle subscription. */
|
|
577
659
|
connect(agent: AbstractAgent): void;
|
|
@@ -588,17 +670,52 @@ declare class InterruptController<TValue = unknown, TResult = never> {
|
|
|
588
670
|
/** Release the agent subscription and clear sensitive pending state. */
|
|
589
671
|
destroy(): void;
|
|
590
672
|
}
|
|
673
|
+
|
|
674
|
+
/** Function signature for subscribing to an agent — derived from
|
|
675
|
+
* CopilotKitCore so the types stay in sync automatically. Injected
|
|
676
|
+
* by the factory so that AgentStore stays decoupled from the concrete class. */
|
|
677
|
+
type SubscribeToAgentFn = CopilotKitCore["subscribeToAgentWithOptions"];
|
|
678
|
+
declare class AgentStore {
|
|
679
|
+
#private;
|
|
680
|
+
readonly agent: AbstractAgent;
|
|
681
|
+
readonly isRunning: Signal<boolean>;
|
|
682
|
+
readonly messages: Signal<Message[]>;
|
|
683
|
+
readonly state: Signal<unknown>;
|
|
684
|
+
/** Unfiltered interrupt controller bound to this store's agent. */
|
|
685
|
+
readonly interruptController: InterruptController;
|
|
686
|
+
constructor(abstractAgent: AbstractAgent, destroyRef: DestroyRef, subscribeToAgent: SubscribeToAgentFn, interruptRunner?: InterruptRunner);
|
|
687
|
+
teardown(): void;
|
|
688
|
+
}
|
|
689
|
+
declare class CopilotkitAgentFactory {
|
|
690
|
+
#private;
|
|
691
|
+
createAgentStoreSignal(agentId: Signal<string | undefined>, destroyRef: DestroyRef): Signal<AgentStore>;
|
|
692
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotkitAgentFactory, never>;
|
|
693
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CopilotkitAgentFactory>;
|
|
694
|
+
}
|
|
695
|
+
declare function injectAgentStore(agentId: string | Signal<string | undefined>): Signal<AgentStore>;
|
|
696
|
+
|
|
697
|
+
/**
|
|
698
|
+
* Returns the capabilities declared by the resolved AG-UI agent.
|
|
699
|
+
*
|
|
700
|
+
* @param agentId - Optional agent ID or signal. When omitted, agent resolution
|
|
701
|
+
* uses the ambient chat configuration and then the default agent.
|
|
702
|
+
*/
|
|
703
|
+
declare function injectCapabilities(agentId?: string | Signal<string | undefined>): Signal<AgentCapabilities | undefined>;
|
|
704
|
+
|
|
705
|
+
type InterruptAgentId = string | Signal<string | undefined>;
|
|
591
706
|
/**
|
|
592
707
|
* Create an interrupt controller in the current Angular injection context.
|
|
593
708
|
*
|
|
594
709
|
* The controller follows the ambient chat agent and thread unless an explicit
|
|
595
|
-
* agent is supplied. Bind its signals in a
|
|
596
|
-
* `cancel` from user-driven event handlers.
|
|
710
|
+
* agent id or signal is supplied as the first argument. Bind its signals in a
|
|
711
|
+
* template and call `resolve` or `cancel` from user-driven event handlers.
|
|
597
712
|
*/
|
|
713
|
+
declare function injectInterrupt<TValue = unknown, TResult = never>(agentId?: InterruptAgentId, options?: Omit<InjectInterruptOptions<TValue, TResult>, "agentId">): InterruptController<TValue, TResult>;
|
|
714
|
+
/** Compatibility overload for the original options-only call shape. */
|
|
598
715
|
declare function injectInterrupt<TValue = unknown, TResult = never>(options?: InjectInterruptOptions<TValue, TResult>): InterruptController<TValue, TResult>;
|
|
599
716
|
|
|
600
717
|
/**
|
|
601
|
-
* A conversation thread managed by
|
|
718
|
+
* A conversation thread managed by CopilotKit Intelligence.
|
|
602
719
|
*
|
|
603
720
|
* Each thread has a unique `id`, an optional human-readable `name`, and
|
|
604
721
|
* timestamp fields tracking creation and update times. This mirrors the
|
|
@@ -630,7 +747,7 @@ interface Thread {
|
|
|
630
747
|
* Configuration for {@link injectThreads}.
|
|
631
748
|
*
|
|
632
749
|
* Thread operations are scoped to the runtime-authenticated user and the
|
|
633
|
-
* provided agent on
|
|
750
|
+
* provided agent on CopilotKit Intelligence. Each field may be supplied as
|
|
634
751
|
* a plain value or a {@link Signal}; when a signal is used the underlying
|
|
635
752
|
* runtime context is re-synced whenever its value changes.
|
|
636
753
|
*/
|
|
@@ -764,7 +881,7 @@ declare class ThreadsStore implements InjectThreadsResult {
|
|
|
764
881
|
readonly threads: Signal<Thread[]>;
|
|
765
882
|
readonly error: Signal<Error | null>;
|
|
766
883
|
readonly listError: Signal<Error | null>;
|
|
767
|
-
readonly fetchMoreError: Signal<Error>;
|
|
884
|
+
readonly fetchMoreError: Signal<Error | null>;
|
|
768
885
|
readonly isLoading: Signal<boolean>;
|
|
769
886
|
readonly hasMoreThreads: Signal<boolean>;
|
|
770
887
|
readonly isFetchingMoreThreads: Signal<boolean>;
|
|
@@ -802,7 +919,7 @@ declare class CopilotkitThreadsFactory {
|
|
|
802
919
|
* the signal-based counterpart to react-core's `useThreads`.
|
|
803
920
|
*
|
|
804
921
|
* On creation the store fetches the thread list for the runtime-authenticated
|
|
805
|
-
* user and the given `agentId`. When
|
|
922
|
+
* user and the given `agentId`. When CopilotKit Intelligence exposes a
|
|
806
923
|
* WebSocket URL it also opens a realtime subscription so the `threads` signal
|
|
807
924
|
* stays current without polling. Mutation methods return promises that resolve
|
|
808
925
|
* once the platform confirms the operation and reject with an `Error` on
|
|
@@ -1433,7 +1550,7 @@ declare function getSlotConfig(): ReadonlyMap<string, SlotRegistryEntry> | null;
|
|
|
1433
1550
|
* renderSendButton(this.viewContainer, this.sendButtonOverride);
|
|
1434
1551
|
* ```
|
|
1435
1552
|
*/
|
|
1436
|
-
declare function createSlotRenderer<T>(defaultComponent: Type<T>, slotName?: string): (viewContainer: ViewContainerRef, slot?: SlotValue<T>, props?: Partial<T>, outputs?: Record<string, (event: any) => void>) => ComponentRef<T> | EmbeddedViewRef<T
|
|
1553
|
+
declare function createSlotRenderer<T>(defaultComponent: Type<T>, slotName?: string): (viewContainer: ViewContainerRef, slot?: SlotValue<T>, props?: Partial<T>, outputs?: Record<string, (event: any) => void>) => ComponentRef<T> | EmbeddedViewRef<T> | null;
|
|
1437
1554
|
|
|
1438
1555
|
/**
|
|
1439
1556
|
* @internal - This component is for internal use only.
|
|
@@ -1451,10 +1568,10 @@ declare function createSlotRenderer<T>(defaultComponent: Type<T>, slotName?: str
|
|
|
1451
1568
|
declare class CopilotSlot implements OnInit, OnChanges {
|
|
1452
1569
|
private viewContainer;
|
|
1453
1570
|
private cdr;
|
|
1454
|
-
slot: _angular_core.InputSignal<Type<any> | TemplateRef<any
|
|
1571
|
+
slot: _angular_core.InputSignal<Type<any> | TemplateRef<any> | undefined>;
|
|
1455
1572
|
context: _angular_core.InputSignal<any>;
|
|
1456
|
-
defaultComponent: _angular_core.InputSignal<Type<any
|
|
1457
|
-
outputs: _angular_core.InputSignal<Record<string, (event: any) => void
|
|
1573
|
+
defaultComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
1574
|
+
outputs: _angular_core.InputSignal<Record<string, (event: any) => void> | undefined>;
|
|
1458
1575
|
private slotContainer;
|
|
1459
1576
|
private componentRef?;
|
|
1460
1577
|
constructor(viewContainer: ViewContainerRef, cdr: ChangeDetectorRef);
|
|
@@ -1638,28 +1755,28 @@ declare class CopilotTooltip implements OnDestroy {
|
|
|
1638
1755
|
declare class CopilotChat extends ChatState {
|
|
1639
1756
|
private readonly attachmentsDirective;
|
|
1640
1757
|
readonly inputValue: _angular_core.WritableSignal<string>;
|
|
1641
|
-
readonly agentId: _angular_core.InputSignal<string>;
|
|
1642
|
-
readonly threadId: _angular_core.InputSignal<string>;
|
|
1643
|
-
readonly inputComponent: _angular_core.InputSignal<Type<any
|
|
1758
|
+
readonly agentId: _angular_core.InputSignal<string | undefined>;
|
|
1759
|
+
readonly threadId: _angular_core.InputSignal<string | undefined>;
|
|
1760
|
+
readonly inputComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
1644
1761
|
/** Component used to render each assistant message in the prebuilt chat. */
|
|
1645
|
-
readonly assistantMessageComponent: _angular_core.InputSignal<Type<any
|
|
1762
|
+
readonly assistantMessageComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
1646
1763
|
/** Template used to render each assistant message in the prebuilt chat. */
|
|
1647
|
-
readonly assistantMessageTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
1764
|
+
readonly assistantMessageTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
1648
1765
|
/** Class forwarded to the default or custom assistant-message renderer. */
|
|
1649
|
-
readonly assistantMessageClass: _angular_core.InputSignal<string>;
|
|
1766
|
+
readonly assistantMessageClass: _angular_core.InputSignal<string | undefined>;
|
|
1650
1767
|
/** Component used to render each reasoning message in the prebuilt chat. */
|
|
1651
|
-
readonly reasoningMessageComponent: _angular_core.InputSignal<Type<any
|
|
1768
|
+
readonly reasoningMessageComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
1652
1769
|
/** Template used to render each reasoning message in the prebuilt chat. */
|
|
1653
|
-
readonly reasoningMessageTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
1770
|
+
readonly reasoningMessageTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
1654
1771
|
/** Class forwarded to the default or custom reasoning-message renderer. */
|
|
1655
|
-
readonly reasoningMessageClass: _angular_core.InputSignal<string>;
|
|
1772
|
+
readonly reasoningMessageClass: _angular_core.InputSignal<string | undefined>;
|
|
1656
1773
|
/** Component rendered after the transcript messages and before the cursor. */
|
|
1657
|
-
readonly messageViewChildrenComponent: _angular_core.InputSignal<Type<any
|
|
1774
|
+
readonly messageViewChildrenComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
1658
1775
|
/** Template rendered after the transcript messages and before the cursor. */
|
|
1659
|
-
readonly messageViewChildrenTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
1776
|
+
readonly messageViewChildrenTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
1660
1777
|
/** Class forwarded to custom transcript-children renderers. */
|
|
1661
|
-
readonly messageViewChildrenClass: _angular_core.InputSignal<string>;
|
|
1662
|
-
readonly attachmentsConfig: _angular_core.InputSignal<AttachmentsConfig>;
|
|
1778
|
+
readonly messageViewChildrenClass: _angular_core.InputSignal<string | undefined>;
|
|
1779
|
+
readonly attachmentsConfig: _angular_core.InputSignal<AttachmentsConfig | undefined>;
|
|
1663
1780
|
/**
|
|
1664
1781
|
* Ambient chat configuration, when a {@link provideCopilotChatConfiguration}
|
|
1665
1782
|
* provider is in scope. Absent (`null`) for standalone
|
|
@@ -1674,23 +1791,29 @@ declare class CopilotChat extends ChatState {
|
|
|
1674
1791
|
readonly injector: Injector;
|
|
1675
1792
|
private readonly destroyRef;
|
|
1676
1793
|
protected messages: _angular_core.Signal<({
|
|
1794
|
+
id: string;
|
|
1677
1795
|
role: "developer";
|
|
1678
1796
|
content: string;
|
|
1679
|
-
id: string;
|
|
1680
1797
|
name?: string | undefined;
|
|
1681
1798
|
encryptedValue?: string | undefined;
|
|
1799
|
+
metadata?: Record<string, any> | undefined;
|
|
1800
|
+
subagentRunId?: string | undefined;
|
|
1682
1801
|
} | {
|
|
1802
|
+
id: string;
|
|
1683
1803
|
role: "system";
|
|
1684
1804
|
content: string;
|
|
1685
|
-
id: string;
|
|
1686
1805
|
name?: string | undefined;
|
|
1687
1806
|
encryptedValue?: string | undefined;
|
|
1807
|
+
metadata?: Record<string, any> | undefined;
|
|
1808
|
+
subagentRunId?: string | undefined;
|
|
1688
1809
|
} | {
|
|
1689
|
-
role: "assistant";
|
|
1690
1810
|
id: string;
|
|
1811
|
+
role: "assistant";
|
|
1691
1812
|
name?: string | undefined;
|
|
1692
|
-
content?: string | undefined;
|
|
1693
1813
|
encryptedValue?: string | undefined;
|
|
1814
|
+
metadata?: Record<string, any> | undefined;
|
|
1815
|
+
content?: string | undefined;
|
|
1816
|
+
subagentRunId?: string | undefined;
|
|
1694
1817
|
toolCalls?: {
|
|
1695
1818
|
function: {
|
|
1696
1819
|
name: string;
|
|
@@ -1699,8 +1822,10 @@ declare class CopilotChat extends ChatState {
|
|
|
1699
1822
|
type: "function";
|
|
1700
1823
|
id: string;
|
|
1701
1824
|
encryptedValue?: string | undefined;
|
|
1825
|
+
metadata?: Record<string, any> | undefined;
|
|
1702
1826
|
}[] | undefined;
|
|
1703
1827
|
} | {
|
|
1828
|
+
id: string;
|
|
1704
1829
|
role: "user";
|
|
1705
1830
|
content: string | ({
|
|
1706
1831
|
type: "text";
|
|
@@ -1708,48 +1833,48 @@ declare class CopilotChat extends ChatState {
|
|
|
1708
1833
|
} | {
|
|
1709
1834
|
type: "image";
|
|
1710
1835
|
source: {
|
|
1711
|
-
type: "data";
|
|
1712
1836
|
value: string;
|
|
1837
|
+
type: "data";
|
|
1713
1838
|
mimeType: string;
|
|
1714
1839
|
} | {
|
|
1715
|
-
type: "url";
|
|
1716
1840
|
value: string;
|
|
1841
|
+
type: "url";
|
|
1717
1842
|
mimeType?: string | undefined;
|
|
1718
1843
|
};
|
|
1719
1844
|
metadata?: unknown;
|
|
1720
1845
|
} | {
|
|
1721
1846
|
type: "audio";
|
|
1722
1847
|
source: {
|
|
1723
|
-
type: "data";
|
|
1724
1848
|
value: string;
|
|
1849
|
+
type: "data";
|
|
1725
1850
|
mimeType: string;
|
|
1726
1851
|
} | {
|
|
1727
|
-
type: "url";
|
|
1728
1852
|
value: string;
|
|
1853
|
+
type: "url";
|
|
1729
1854
|
mimeType?: string | undefined;
|
|
1730
1855
|
};
|
|
1731
1856
|
metadata?: unknown;
|
|
1732
1857
|
} | {
|
|
1733
1858
|
type: "video";
|
|
1734
1859
|
source: {
|
|
1735
|
-
type: "data";
|
|
1736
1860
|
value: string;
|
|
1861
|
+
type: "data";
|
|
1737
1862
|
mimeType: string;
|
|
1738
1863
|
} | {
|
|
1739
|
-
type: "url";
|
|
1740
1864
|
value: string;
|
|
1865
|
+
type: "url";
|
|
1741
1866
|
mimeType?: string | undefined;
|
|
1742
1867
|
};
|
|
1743
1868
|
metadata?: unknown;
|
|
1744
1869
|
} | {
|
|
1745
1870
|
type: "document";
|
|
1746
1871
|
source: {
|
|
1747
|
-
type: "data";
|
|
1748
1872
|
value: string;
|
|
1873
|
+
type: "data";
|
|
1749
1874
|
mimeType: string;
|
|
1750
1875
|
} | {
|
|
1751
|
-
type: "url";
|
|
1752
1876
|
value: string;
|
|
1877
|
+
type: "url";
|
|
1753
1878
|
mimeType?: string | undefined;
|
|
1754
1879
|
};
|
|
1755
1880
|
metadata?: unknown;
|
|
@@ -1761,26 +1886,33 @@ declare class CopilotChat extends ChatState {
|
|
|
1761
1886
|
url?: string | undefined;
|
|
1762
1887
|
filename?: string | undefined;
|
|
1763
1888
|
})[];
|
|
1764
|
-
id: string;
|
|
1765
1889
|
name?: string | undefined;
|
|
1766
1890
|
encryptedValue?: string | undefined;
|
|
1891
|
+
metadata?: Record<string, any> | undefined;
|
|
1892
|
+
subagentRunId?: string | undefined;
|
|
1767
1893
|
} | {
|
|
1894
|
+
id: string;
|
|
1768
1895
|
role: "tool";
|
|
1769
|
-
toolCallId: string;
|
|
1770
1896
|
content: string;
|
|
1771
|
-
|
|
1897
|
+
toolCallId: string;
|
|
1772
1898
|
encryptedValue?: string | undefined;
|
|
1899
|
+
metadata?: Record<string, any> | undefined;
|
|
1900
|
+
subagentRunId?: string | undefined;
|
|
1773
1901
|
error?: string | undefined;
|
|
1774
1902
|
} | {
|
|
1903
|
+
id: string;
|
|
1775
1904
|
role: "activity";
|
|
1776
1905
|
content: Record<string, any>;
|
|
1777
|
-
id: string;
|
|
1778
1906
|
activityType: string;
|
|
1907
|
+
metadata?: Record<string, any> | undefined;
|
|
1908
|
+
subagentRunId?: string | undefined;
|
|
1779
1909
|
} | {
|
|
1910
|
+
id: string;
|
|
1780
1911
|
role: "reasoning";
|
|
1781
1912
|
content: string;
|
|
1782
|
-
id: string;
|
|
1783
1913
|
encryptedValue?: string | undefined;
|
|
1914
|
+
metadata?: Record<string, any> | undefined;
|
|
1915
|
+
subagentRunId?: string | undefined;
|
|
1784
1916
|
})[]>;
|
|
1785
1917
|
protected agentState: _angular_core.Signal<unknown>;
|
|
1786
1918
|
protected isRunning: _angular_core.Signal<boolean>;
|
|
@@ -1809,11 +1941,13 @@ declare class CopilotChat extends ChatState {
|
|
|
1809
1941
|
|
|
1810
1942
|
declare class CopilotChatToolCallsView {
|
|
1811
1943
|
readonly message: _angular_core.InputSignal<{
|
|
1812
|
-
role: "assistant";
|
|
1813
1944
|
id: string;
|
|
1945
|
+
role: "assistant";
|
|
1814
1946
|
name?: string | undefined;
|
|
1815
|
-
content?: string | undefined;
|
|
1816
1947
|
encryptedValue?: string | undefined;
|
|
1948
|
+
metadata?: Record<string, any> | undefined;
|
|
1949
|
+
content?: string | undefined;
|
|
1950
|
+
subagentRunId?: string | undefined;
|
|
1817
1951
|
toolCalls?: {
|
|
1818
1952
|
function: {
|
|
1819
1953
|
name: string;
|
|
@@ -1822,26 +1956,33 @@ declare class CopilotChatToolCallsView {
|
|
|
1822
1956
|
type: "function";
|
|
1823
1957
|
id: string;
|
|
1824
1958
|
encryptedValue?: string | undefined;
|
|
1959
|
+
metadata?: Record<string, any> | undefined;
|
|
1825
1960
|
}[] | undefined;
|
|
1826
1961
|
}>;
|
|
1827
1962
|
readonly messages: _angular_core.InputSignal<({
|
|
1963
|
+
id: string;
|
|
1828
1964
|
role: "developer";
|
|
1829
1965
|
content: string;
|
|
1830
|
-
id: string;
|
|
1831
1966
|
name?: string | undefined;
|
|
1832
1967
|
encryptedValue?: string | undefined;
|
|
1968
|
+
metadata?: Record<string, any> | undefined;
|
|
1969
|
+
subagentRunId?: string | undefined;
|
|
1833
1970
|
} | {
|
|
1971
|
+
id: string;
|
|
1834
1972
|
role: "system";
|
|
1835
1973
|
content: string;
|
|
1836
|
-
id: string;
|
|
1837
1974
|
name?: string | undefined;
|
|
1838
1975
|
encryptedValue?: string | undefined;
|
|
1976
|
+
metadata?: Record<string, any> | undefined;
|
|
1977
|
+
subagentRunId?: string | undefined;
|
|
1839
1978
|
} | {
|
|
1840
|
-
role: "assistant";
|
|
1841
1979
|
id: string;
|
|
1980
|
+
role: "assistant";
|
|
1842
1981
|
name?: string | undefined;
|
|
1843
|
-
content?: string | undefined;
|
|
1844
1982
|
encryptedValue?: string | undefined;
|
|
1983
|
+
metadata?: Record<string, any> | undefined;
|
|
1984
|
+
content?: string | undefined;
|
|
1985
|
+
subagentRunId?: string | undefined;
|
|
1845
1986
|
toolCalls?: {
|
|
1846
1987
|
function: {
|
|
1847
1988
|
name: string;
|
|
@@ -1850,8 +1991,10 @@ declare class CopilotChatToolCallsView {
|
|
|
1850
1991
|
type: "function";
|
|
1851
1992
|
id: string;
|
|
1852
1993
|
encryptedValue?: string | undefined;
|
|
1994
|
+
metadata?: Record<string, any> | undefined;
|
|
1853
1995
|
}[] | undefined;
|
|
1854
1996
|
} | {
|
|
1997
|
+
id: string;
|
|
1855
1998
|
role: "user";
|
|
1856
1999
|
content: string | ({
|
|
1857
2000
|
type: "text";
|
|
@@ -1859,48 +2002,48 @@ declare class CopilotChatToolCallsView {
|
|
|
1859
2002
|
} | {
|
|
1860
2003
|
type: "image";
|
|
1861
2004
|
source: {
|
|
1862
|
-
type: "data";
|
|
1863
2005
|
value: string;
|
|
2006
|
+
type: "data";
|
|
1864
2007
|
mimeType: string;
|
|
1865
2008
|
} | {
|
|
1866
|
-
type: "url";
|
|
1867
2009
|
value: string;
|
|
2010
|
+
type: "url";
|
|
1868
2011
|
mimeType?: string | undefined;
|
|
1869
2012
|
};
|
|
1870
2013
|
metadata?: unknown;
|
|
1871
2014
|
} | {
|
|
1872
2015
|
type: "audio";
|
|
1873
2016
|
source: {
|
|
1874
|
-
type: "data";
|
|
1875
2017
|
value: string;
|
|
2018
|
+
type: "data";
|
|
1876
2019
|
mimeType: string;
|
|
1877
2020
|
} | {
|
|
1878
|
-
type: "url";
|
|
1879
2021
|
value: string;
|
|
2022
|
+
type: "url";
|
|
1880
2023
|
mimeType?: string | undefined;
|
|
1881
2024
|
};
|
|
1882
2025
|
metadata?: unknown;
|
|
1883
2026
|
} | {
|
|
1884
2027
|
type: "video";
|
|
1885
2028
|
source: {
|
|
1886
|
-
type: "data";
|
|
1887
2029
|
value: string;
|
|
2030
|
+
type: "data";
|
|
1888
2031
|
mimeType: string;
|
|
1889
2032
|
} | {
|
|
1890
|
-
type: "url";
|
|
1891
2033
|
value: string;
|
|
2034
|
+
type: "url";
|
|
1892
2035
|
mimeType?: string | undefined;
|
|
1893
2036
|
};
|
|
1894
2037
|
metadata?: unknown;
|
|
1895
2038
|
} | {
|
|
1896
2039
|
type: "document";
|
|
1897
2040
|
source: {
|
|
1898
|
-
type: "data";
|
|
1899
2041
|
value: string;
|
|
2042
|
+
type: "data";
|
|
1900
2043
|
mimeType: string;
|
|
1901
2044
|
} | {
|
|
1902
|
-
type: "url";
|
|
1903
2045
|
value: string;
|
|
2046
|
+
type: "url";
|
|
1904
2047
|
mimeType?: string | undefined;
|
|
1905
2048
|
};
|
|
1906
2049
|
metadata?: unknown;
|
|
@@ -1912,28 +2055,35 @@ declare class CopilotChatToolCallsView {
|
|
|
1912
2055
|
url?: string | undefined;
|
|
1913
2056
|
filename?: string | undefined;
|
|
1914
2057
|
})[];
|
|
1915
|
-
id: string;
|
|
1916
2058
|
name?: string | undefined;
|
|
1917
2059
|
encryptedValue?: string | undefined;
|
|
2060
|
+
metadata?: Record<string, any> | undefined;
|
|
2061
|
+
subagentRunId?: string | undefined;
|
|
1918
2062
|
} | {
|
|
2063
|
+
id: string;
|
|
1919
2064
|
role: "tool";
|
|
1920
|
-
toolCallId: string;
|
|
1921
2065
|
content: string;
|
|
1922
|
-
|
|
2066
|
+
toolCallId: string;
|
|
1923
2067
|
encryptedValue?: string | undefined;
|
|
2068
|
+
metadata?: Record<string, any> | undefined;
|
|
2069
|
+
subagentRunId?: string | undefined;
|
|
1924
2070
|
error?: string | undefined;
|
|
1925
2071
|
} | {
|
|
2072
|
+
id: string;
|
|
1926
2073
|
role: "activity";
|
|
1927
2074
|
content: Record<string, any>;
|
|
1928
|
-
id: string;
|
|
1929
2075
|
activityType: string;
|
|
2076
|
+
metadata?: Record<string, any> | undefined;
|
|
2077
|
+
subagentRunId?: string | undefined;
|
|
1930
2078
|
} | {
|
|
2079
|
+
id: string;
|
|
1931
2080
|
role: "reasoning";
|
|
1932
2081
|
content: string;
|
|
1933
|
-
id: string;
|
|
1934
2082
|
encryptedValue?: string | undefined;
|
|
2083
|
+
metadata?: Record<string, any> | undefined;
|
|
2084
|
+
subagentRunId?: string | undefined;
|
|
1935
2085
|
})[]>;
|
|
1936
|
-
readonly agentId: _angular_core.InputSignal<string>;
|
|
2086
|
+
readonly agentId: _angular_core.InputSignal<string | undefined>;
|
|
1937
2087
|
readonly isLoading: _angular_core.InputSignal<boolean>;
|
|
1938
2088
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotChatToolCallsView, never>;
|
|
1939
2089
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotChatToolCallsView, "copilot-chat-tool-calls-view", never, { "message": { "alias": "message"; "required": true; "isSignal": true; }; "messages": { "alias": "messages"; "required": true; "isSignal": true; }; "agentId": { "alias": "agentId"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -1971,7 +2121,7 @@ interface CopilotChatAssistantMessageOnRegenerateProps {
|
|
|
1971
2121
|
|
|
1972
2122
|
declare class CopilotChatAssistantMessageRenderer implements AfterViewInit {
|
|
1973
2123
|
readonly content: _angular_core.InputSignal<string>;
|
|
1974
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
2124
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
1975
2125
|
readonly labels: _copilotkit_angular.CopilotChatLabels;
|
|
1976
2126
|
markdownContainer?: ElementRef<HTMLDivElement>;
|
|
1977
2127
|
private elementRef;
|
|
@@ -2002,16 +2152,16 @@ type CopilotIconData = readonly CopilotIconNode[];
|
|
|
2002
2152
|
declare class CopilotChatAssistantMessageToolbarButton {
|
|
2003
2153
|
title: _angular_core.InputSignal<string>;
|
|
2004
2154
|
disabled: _angular_core.InputSignal<boolean>;
|
|
2005
|
-
inputClass: _angular_core.InputSignal<string>;
|
|
2155
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2006
2156
|
computedClass: _angular_core.Signal<string>;
|
|
2007
2157
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotChatAssistantMessageToolbarButton, never>;
|
|
2008
2158
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotChatAssistantMessageToolbarButton, "button[copilotChatAssistantMessageToolbarButton]", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "inputClass": { "alias": "inputClass"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof CopilotTooltip; inputs: { "copilotTooltip": "title"; "tooltipPosition": "tooltipPosition"; "tooltipDelay": "tooltipDelay"; }; outputs: {}; }]>;
|
|
2009
2159
|
}
|
|
2010
2160
|
declare class CopilotChatAssistantMessageCopyButton {
|
|
2011
|
-
readonly title: _angular_core.InputSignal<string>;
|
|
2161
|
+
readonly title: _angular_core.InputSignal<string | undefined>;
|
|
2012
2162
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
2013
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
2014
|
-
readonly content: _angular_core.InputSignal<string>;
|
|
2163
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2164
|
+
readonly content: _angular_core.InputSignal<string | undefined>;
|
|
2015
2165
|
readonly clicked: _angular_core.OutputEmitterRef<void>;
|
|
2016
2166
|
readonly CopyIcon: CopilotIconData;
|
|
2017
2167
|
readonly CheckIcon: CopilotIconData;
|
|
@@ -2022,9 +2172,9 @@ declare class CopilotChatAssistantMessageCopyButton {
|
|
|
2022
2172
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotChatAssistantMessageCopyButton, "copilot-chat-assistant-message-copy-button", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "inputClass": { "alias": "inputClass"; "required": false; "isSignal": true; }; "content": { "alias": "content"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
|
2023
2173
|
}
|
|
2024
2174
|
declare class CopilotChatAssistantMessageThumbsUpButton {
|
|
2025
|
-
readonly title: _angular_core.InputSignal<string>;
|
|
2175
|
+
readonly title: _angular_core.InputSignal<string | undefined>;
|
|
2026
2176
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
2027
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
2177
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2028
2178
|
readonly clicked: _angular_core.OutputEmitterRef<void>;
|
|
2029
2179
|
readonly ThumbsUpIcon: CopilotIconData;
|
|
2030
2180
|
readonly labels: _copilotkit_angular.CopilotChatLabels;
|
|
@@ -2033,9 +2183,9 @@ declare class CopilotChatAssistantMessageThumbsUpButton {
|
|
|
2033
2183
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotChatAssistantMessageThumbsUpButton, "copilot-chat-assistant-message-thumbs-up-button", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "inputClass": { "alias": "inputClass"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
|
2034
2184
|
}
|
|
2035
2185
|
declare class CopilotChatAssistantMessageThumbsDownButton {
|
|
2036
|
-
readonly title: _angular_core.InputSignal<string>;
|
|
2186
|
+
readonly title: _angular_core.InputSignal<string | undefined>;
|
|
2037
2187
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
2038
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
2188
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2039
2189
|
readonly clicked: _angular_core.OutputEmitterRef<void>;
|
|
2040
2190
|
readonly ThumbsDownIcon: CopilotIconData;
|
|
2041
2191
|
readonly labels: _copilotkit_angular.CopilotChatLabels;
|
|
@@ -2044,9 +2194,9 @@ declare class CopilotChatAssistantMessageThumbsDownButton {
|
|
|
2044
2194
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotChatAssistantMessageThumbsDownButton, "copilot-chat-assistant-message-thumbs-down-button", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "inputClass": { "alias": "inputClass"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
|
2045
2195
|
}
|
|
2046
2196
|
declare class CopilotChatAssistantMessageReadAloudButton {
|
|
2047
|
-
readonly title: _angular_core.InputSignal<string>;
|
|
2197
|
+
readonly title: _angular_core.InputSignal<string | undefined>;
|
|
2048
2198
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
2049
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
2199
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2050
2200
|
readonly clicked: _angular_core.OutputEmitterRef<void>;
|
|
2051
2201
|
readonly Volume2Icon: CopilotIconData;
|
|
2052
2202
|
readonly labels: _copilotkit_angular.CopilotChatLabels;
|
|
@@ -2055,9 +2205,9 @@ declare class CopilotChatAssistantMessageReadAloudButton {
|
|
|
2055
2205
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotChatAssistantMessageReadAloudButton, "copilot-chat-assistant-message-read-aloud-button", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "inputClass": { "alias": "inputClass"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
|
2056
2206
|
}
|
|
2057
2207
|
declare class CopilotChatAssistantMessageRegenerateButton {
|
|
2058
|
-
readonly title: _angular_core.InputSignal<string>;
|
|
2208
|
+
readonly title: _angular_core.InputSignal<string | undefined>;
|
|
2059
2209
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
2060
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
2210
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2061
2211
|
readonly clicked: _angular_core.OutputEmitterRef<void>;
|
|
2062
2212
|
readonly RefreshCwIcon: CopilotIconData;
|
|
2063
2213
|
readonly labels: _copilotkit_angular.CopilotChatLabels;
|
|
@@ -2067,7 +2217,7 @@ declare class CopilotChatAssistantMessageRegenerateButton {
|
|
|
2067
2217
|
}
|
|
2068
2218
|
|
|
2069
2219
|
declare class CopilotChatAssistantMessageToolbar {
|
|
2070
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
2220
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2071
2221
|
readonly computedClass: _angular_core.Signal<string>;
|
|
2072
2222
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotChatAssistantMessageToolbar, never>;
|
|
2073
2223
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CopilotChatAssistantMessageToolbar, "[copilotChatAssistantMessageToolbar]", never, { "inputClass": { "alias": "inputClass"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -2093,28 +2243,30 @@ declare class CopilotChatAssistantMessage {
|
|
|
2093
2243
|
readAloudButtonTemplate?: TemplateRef<ReadAloudButtonContext>;
|
|
2094
2244
|
regenerateButtonTemplate?: TemplateRef<RegenerateButtonContext>;
|
|
2095
2245
|
toolCallsViewTemplate?: TemplateRef<any>;
|
|
2096
|
-
readonly markdownRendererClass: _angular_core.InputSignal<string>;
|
|
2097
|
-
readonly toolbarClass: _angular_core.InputSignal<string>;
|
|
2098
|
-
readonly copyButtonClass: _angular_core.InputSignal<string>;
|
|
2099
|
-
readonly thumbsUpButtonClass: _angular_core.InputSignal<string>;
|
|
2100
|
-
readonly thumbsDownButtonClass: _angular_core.InputSignal<string>;
|
|
2101
|
-
readonly readAloudButtonClass: _angular_core.InputSignal<string>;
|
|
2102
|
-
readonly regenerateButtonClass: _angular_core.InputSignal<string>;
|
|
2103
|
-
readonly toolCallsViewClass: _angular_core.InputSignal<string>;
|
|
2104
|
-
readonly markdownRendererComponent: _angular_core.InputSignal<Type<any
|
|
2105
|
-
readonly toolbarComponent: _angular_core.InputSignal<Type<any
|
|
2106
|
-
readonly copyButtonComponent: _angular_core.InputSignal<Type<any
|
|
2107
|
-
readonly thumbsUpButtonComponent: _angular_core.InputSignal<Type<any
|
|
2108
|
-
readonly thumbsDownButtonComponent: _angular_core.InputSignal<Type<any
|
|
2109
|
-
readonly readAloudButtonComponent: _angular_core.InputSignal<Type<any
|
|
2110
|
-
readonly regenerateButtonComponent: _angular_core.InputSignal<Type<any
|
|
2111
|
-
readonly toolCallsViewComponent: _angular_core.InputSignal<Type<any
|
|
2246
|
+
readonly markdownRendererClass: _angular_core.InputSignal<string | undefined>;
|
|
2247
|
+
readonly toolbarClass: _angular_core.InputSignal<string | undefined>;
|
|
2248
|
+
readonly copyButtonClass: _angular_core.InputSignal<string | undefined>;
|
|
2249
|
+
readonly thumbsUpButtonClass: _angular_core.InputSignal<string | undefined>;
|
|
2250
|
+
readonly thumbsDownButtonClass: _angular_core.InputSignal<string | undefined>;
|
|
2251
|
+
readonly readAloudButtonClass: _angular_core.InputSignal<string | undefined>;
|
|
2252
|
+
readonly regenerateButtonClass: _angular_core.InputSignal<string | undefined>;
|
|
2253
|
+
readonly toolCallsViewClass: _angular_core.InputSignal<string | undefined>;
|
|
2254
|
+
readonly markdownRendererComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
2255
|
+
readonly toolbarComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
2256
|
+
readonly copyButtonComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
2257
|
+
readonly thumbsUpButtonComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
2258
|
+
readonly thumbsDownButtonComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
2259
|
+
readonly readAloudButtonComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
2260
|
+
readonly regenerateButtonComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
2261
|
+
readonly toolCallsViewComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
2112
2262
|
readonly message: _angular_core.InputSignal<{
|
|
2113
|
-
role: "assistant";
|
|
2114
2263
|
id: string;
|
|
2264
|
+
role: "assistant";
|
|
2115
2265
|
name?: string | undefined;
|
|
2116
|
-
content?: string | undefined;
|
|
2117
2266
|
encryptedValue?: string | undefined;
|
|
2267
|
+
metadata?: Record<string, any> | undefined;
|
|
2268
|
+
content?: string | undefined;
|
|
2269
|
+
subagentRunId?: string | undefined;
|
|
2118
2270
|
toolCalls?: {
|
|
2119
2271
|
function: {
|
|
2120
2272
|
name: string;
|
|
@@ -2123,26 +2275,33 @@ declare class CopilotChatAssistantMessage {
|
|
|
2123
2275
|
type: "function";
|
|
2124
2276
|
id: string;
|
|
2125
2277
|
encryptedValue?: string | undefined;
|
|
2278
|
+
metadata?: Record<string, any> | undefined;
|
|
2126
2279
|
}[] | undefined;
|
|
2127
2280
|
}>;
|
|
2128
2281
|
readonly messages: _angular_core.InputSignal<({
|
|
2282
|
+
id: string;
|
|
2129
2283
|
role: "developer";
|
|
2130
2284
|
content: string;
|
|
2131
|
-
id: string;
|
|
2132
2285
|
name?: string | undefined;
|
|
2133
2286
|
encryptedValue?: string | undefined;
|
|
2287
|
+
metadata?: Record<string, any> | undefined;
|
|
2288
|
+
subagentRunId?: string | undefined;
|
|
2134
2289
|
} | {
|
|
2290
|
+
id: string;
|
|
2135
2291
|
role: "system";
|
|
2136
2292
|
content: string;
|
|
2137
|
-
id: string;
|
|
2138
2293
|
name?: string | undefined;
|
|
2139
2294
|
encryptedValue?: string | undefined;
|
|
2295
|
+
metadata?: Record<string, any> | undefined;
|
|
2296
|
+
subagentRunId?: string | undefined;
|
|
2140
2297
|
} | {
|
|
2141
|
-
role: "assistant";
|
|
2142
2298
|
id: string;
|
|
2299
|
+
role: "assistant";
|
|
2143
2300
|
name?: string | undefined;
|
|
2144
|
-
content?: string | undefined;
|
|
2145
2301
|
encryptedValue?: string | undefined;
|
|
2302
|
+
metadata?: Record<string, any> | undefined;
|
|
2303
|
+
content?: string | undefined;
|
|
2304
|
+
subagentRunId?: string | undefined;
|
|
2146
2305
|
toolCalls?: {
|
|
2147
2306
|
function: {
|
|
2148
2307
|
name: string;
|
|
@@ -2151,8 +2310,10 @@ declare class CopilotChatAssistantMessage {
|
|
|
2151
2310
|
type: "function";
|
|
2152
2311
|
id: string;
|
|
2153
2312
|
encryptedValue?: string | undefined;
|
|
2313
|
+
metadata?: Record<string, any> | undefined;
|
|
2154
2314
|
}[] | undefined;
|
|
2155
2315
|
} | {
|
|
2316
|
+
id: string;
|
|
2156
2317
|
role: "user";
|
|
2157
2318
|
content: string | ({
|
|
2158
2319
|
type: "text";
|
|
@@ -2160,48 +2321,48 @@ declare class CopilotChatAssistantMessage {
|
|
|
2160
2321
|
} | {
|
|
2161
2322
|
type: "image";
|
|
2162
2323
|
source: {
|
|
2163
|
-
type: "data";
|
|
2164
2324
|
value: string;
|
|
2325
|
+
type: "data";
|
|
2165
2326
|
mimeType: string;
|
|
2166
2327
|
} | {
|
|
2167
|
-
type: "url";
|
|
2168
2328
|
value: string;
|
|
2329
|
+
type: "url";
|
|
2169
2330
|
mimeType?: string | undefined;
|
|
2170
2331
|
};
|
|
2171
2332
|
metadata?: unknown;
|
|
2172
2333
|
} | {
|
|
2173
2334
|
type: "audio";
|
|
2174
2335
|
source: {
|
|
2175
|
-
type: "data";
|
|
2176
2336
|
value: string;
|
|
2337
|
+
type: "data";
|
|
2177
2338
|
mimeType: string;
|
|
2178
2339
|
} | {
|
|
2179
|
-
type: "url";
|
|
2180
2340
|
value: string;
|
|
2341
|
+
type: "url";
|
|
2181
2342
|
mimeType?: string | undefined;
|
|
2182
2343
|
};
|
|
2183
2344
|
metadata?: unknown;
|
|
2184
2345
|
} | {
|
|
2185
2346
|
type: "video";
|
|
2186
2347
|
source: {
|
|
2187
|
-
type: "data";
|
|
2188
2348
|
value: string;
|
|
2349
|
+
type: "data";
|
|
2189
2350
|
mimeType: string;
|
|
2190
2351
|
} | {
|
|
2191
|
-
type: "url";
|
|
2192
2352
|
value: string;
|
|
2353
|
+
type: "url";
|
|
2193
2354
|
mimeType?: string | undefined;
|
|
2194
2355
|
};
|
|
2195
2356
|
metadata?: unknown;
|
|
2196
2357
|
} | {
|
|
2197
2358
|
type: "document";
|
|
2198
2359
|
source: {
|
|
2199
|
-
type: "data";
|
|
2200
2360
|
value: string;
|
|
2361
|
+
type: "data";
|
|
2201
2362
|
mimeType: string;
|
|
2202
2363
|
} | {
|
|
2203
|
-
type: "url";
|
|
2204
2364
|
value: string;
|
|
2365
|
+
type: "url";
|
|
2205
2366
|
mimeType?: string | undefined;
|
|
2206
2367
|
};
|
|
2207
2368
|
metadata?: unknown;
|
|
@@ -2213,39 +2374,46 @@ declare class CopilotChatAssistantMessage {
|
|
|
2213
2374
|
url?: string | undefined;
|
|
2214
2375
|
filename?: string | undefined;
|
|
2215
2376
|
})[];
|
|
2216
|
-
id: string;
|
|
2217
2377
|
name?: string | undefined;
|
|
2218
2378
|
encryptedValue?: string | undefined;
|
|
2379
|
+
metadata?: Record<string, any> | undefined;
|
|
2380
|
+
subagentRunId?: string | undefined;
|
|
2219
2381
|
} | {
|
|
2382
|
+
id: string;
|
|
2220
2383
|
role: "tool";
|
|
2221
|
-
toolCallId: string;
|
|
2222
2384
|
content: string;
|
|
2223
|
-
|
|
2385
|
+
toolCallId: string;
|
|
2224
2386
|
encryptedValue?: string | undefined;
|
|
2387
|
+
metadata?: Record<string, any> | undefined;
|
|
2388
|
+
subagentRunId?: string | undefined;
|
|
2225
2389
|
error?: string | undefined;
|
|
2226
2390
|
} | {
|
|
2391
|
+
id: string;
|
|
2227
2392
|
role: "activity";
|
|
2228
2393
|
content: Record<string, any>;
|
|
2229
|
-
id: string;
|
|
2230
2394
|
activityType: string;
|
|
2395
|
+
metadata?: Record<string, any> | undefined;
|
|
2396
|
+
subagentRunId?: string | undefined;
|
|
2231
2397
|
} | {
|
|
2398
|
+
id: string;
|
|
2232
2399
|
role: "reasoning";
|
|
2233
2400
|
content: string;
|
|
2234
|
-
id: string;
|
|
2235
2401
|
encryptedValue?: string | undefined;
|
|
2402
|
+
metadata?: Record<string, any> | undefined;
|
|
2403
|
+
subagentRunId?: string | undefined;
|
|
2236
2404
|
})[]>;
|
|
2237
|
-
readonly agentId: _angular_core.InputSignal<string>;
|
|
2405
|
+
readonly agentId: _angular_core.InputSignal<string | undefined>;
|
|
2238
2406
|
readonly isLoading: _angular_core.InputSignal<boolean>;
|
|
2239
|
-
readonly additionalToolbarItems: _angular_core.InputSignal<TemplateRef<any
|
|
2407
|
+
readonly additionalToolbarItems: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
2240
2408
|
readonly toolbarVisible: _angular_core.InputSignal<boolean>;
|
|
2241
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
2409
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2242
2410
|
handlers: CopilotChatViewHandlers;
|
|
2243
2411
|
constructor(handlers?: CopilotChatViewHandlers | null);
|
|
2244
2412
|
thumbsUp: _angular_core.OutputEmitterRef<CopilotChatAssistantMessageOnThumbsUpProps>;
|
|
2245
2413
|
thumbsDown: _angular_core.OutputEmitterRef<CopilotChatAssistantMessageOnThumbsDownProps>;
|
|
2246
2414
|
readAloud: _angular_core.OutputEmitterRef<CopilotChatAssistantMessageOnReadAloudProps>;
|
|
2247
2415
|
regenerate: _angular_core.OutputEmitterRef<CopilotChatAssistantMessageOnRegenerateProps>;
|
|
2248
|
-
customClass: _angular_core.WritableSignal<string>;
|
|
2416
|
+
customClass: _angular_core.WritableSignal<string | undefined>;
|
|
2249
2417
|
computedClass: _angular_core.Signal<string>;
|
|
2250
2418
|
protected readonly defaultThumbsUpButtonComponent: typeof CopilotChatAssistantMessageThumbsUpButton;
|
|
2251
2419
|
protected readonly defaultThumbsDownButtonComponent: typeof CopilotChatAssistantMessageThumbsDownButton;
|
|
@@ -2273,11 +2441,13 @@ declare class CopilotChatAssistantMessage {
|
|
|
2273
2441
|
hasMessageContent(): boolean;
|
|
2274
2442
|
toolCallsViewContext: _angular_core.Signal<{
|
|
2275
2443
|
message: {
|
|
2276
|
-
role: "assistant";
|
|
2277
2444
|
id: string;
|
|
2445
|
+
role: "assistant";
|
|
2278
2446
|
name?: string | undefined;
|
|
2279
|
-
content?: string | undefined;
|
|
2280
2447
|
encryptedValue?: string | undefined;
|
|
2448
|
+
metadata?: Record<string, any> | undefined;
|
|
2449
|
+
content?: string | undefined;
|
|
2450
|
+
subagentRunId?: string | undefined;
|
|
2281
2451
|
toolCalls?: {
|
|
2282
2452
|
function: {
|
|
2283
2453
|
name: string;
|
|
@@ -2286,26 +2456,33 @@ declare class CopilotChatAssistantMessage {
|
|
|
2286
2456
|
type: "function";
|
|
2287
2457
|
id: string;
|
|
2288
2458
|
encryptedValue?: string | undefined;
|
|
2459
|
+
metadata?: Record<string, any> | undefined;
|
|
2289
2460
|
}[] | undefined;
|
|
2290
2461
|
};
|
|
2291
2462
|
messages: ({
|
|
2463
|
+
id: string;
|
|
2292
2464
|
role: "developer";
|
|
2293
2465
|
content: string;
|
|
2294
|
-
id: string;
|
|
2295
2466
|
name?: string | undefined;
|
|
2296
2467
|
encryptedValue?: string | undefined;
|
|
2468
|
+
metadata?: Record<string, any> | undefined;
|
|
2469
|
+
subagentRunId?: string | undefined;
|
|
2297
2470
|
} | {
|
|
2471
|
+
id: string;
|
|
2298
2472
|
role: "system";
|
|
2299
2473
|
content: string;
|
|
2300
|
-
id: string;
|
|
2301
2474
|
name?: string | undefined;
|
|
2302
2475
|
encryptedValue?: string | undefined;
|
|
2476
|
+
metadata?: Record<string, any> | undefined;
|
|
2477
|
+
subagentRunId?: string | undefined;
|
|
2303
2478
|
} | {
|
|
2304
|
-
role: "assistant";
|
|
2305
2479
|
id: string;
|
|
2480
|
+
role: "assistant";
|
|
2306
2481
|
name?: string | undefined;
|
|
2307
|
-
content?: string | undefined;
|
|
2308
2482
|
encryptedValue?: string | undefined;
|
|
2483
|
+
metadata?: Record<string, any> | undefined;
|
|
2484
|
+
content?: string | undefined;
|
|
2485
|
+
subagentRunId?: string | undefined;
|
|
2309
2486
|
toolCalls?: {
|
|
2310
2487
|
function: {
|
|
2311
2488
|
name: string;
|
|
@@ -2314,8 +2491,10 @@ declare class CopilotChatAssistantMessage {
|
|
|
2314
2491
|
type: "function";
|
|
2315
2492
|
id: string;
|
|
2316
2493
|
encryptedValue?: string | undefined;
|
|
2494
|
+
metadata?: Record<string, any> | undefined;
|
|
2317
2495
|
}[] | undefined;
|
|
2318
2496
|
} | {
|
|
2497
|
+
id: string;
|
|
2319
2498
|
role: "user";
|
|
2320
2499
|
content: string | ({
|
|
2321
2500
|
type: "text";
|
|
@@ -2323,48 +2502,48 @@ declare class CopilotChatAssistantMessage {
|
|
|
2323
2502
|
} | {
|
|
2324
2503
|
type: "image";
|
|
2325
2504
|
source: {
|
|
2326
|
-
type: "data";
|
|
2327
2505
|
value: string;
|
|
2506
|
+
type: "data";
|
|
2328
2507
|
mimeType: string;
|
|
2329
2508
|
} | {
|
|
2330
|
-
type: "url";
|
|
2331
2509
|
value: string;
|
|
2510
|
+
type: "url";
|
|
2332
2511
|
mimeType?: string | undefined;
|
|
2333
2512
|
};
|
|
2334
2513
|
metadata?: unknown;
|
|
2335
2514
|
} | {
|
|
2336
2515
|
type: "audio";
|
|
2337
2516
|
source: {
|
|
2338
|
-
type: "data";
|
|
2339
2517
|
value: string;
|
|
2518
|
+
type: "data";
|
|
2340
2519
|
mimeType: string;
|
|
2341
2520
|
} | {
|
|
2342
|
-
type: "url";
|
|
2343
2521
|
value: string;
|
|
2522
|
+
type: "url";
|
|
2344
2523
|
mimeType?: string | undefined;
|
|
2345
2524
|
};
|
|
2346
2525
|
metadata?: unknown;
|
|
2347
2526
|
} | {
|
|
2348
2527
|
type: "video";
|
|
2349
2528
|
source: {
|
|
2350
|
-
type: "data";
|
|
2351
2529
|
value: string;
|
|
2530
|
+
type: "data";
|
|
2352
2531
|
mimeType: string;
|
|
2353
2532
|
} | {
|
|
2354
|
-
type: "url";
|
|
2355
2533
|
value: string;
|
|
2534
|
+
type: "url";
|
|
2356
2535
|
mimeType?: string | undefined;
|
|
2357
2536
|
};
|
|
2358
2537
|
metadata?: unknown;
|
|
2359
2538
|
} | {
|
|
2360
2539
|
type: "document";
|
|
2361
2540
|
source: {
|
|
2362
|
-
type: "data";
|
|
2363
2541
|
value: string;
|
|
2542
|
+
type: "data";
|
|
2364
2543
|
mimeType: string;
|
|
2365
2544
|
} | {
|
|
2366
|
-
type: "url";
|
|
2367
2545
|
value: string;
|
|
2546
|
+
type: "url";
|
|
2368
2547
|
mimeType?: string | undefined;
|
|
2369
2548
|
};
|
|
2370
2549
|
metadata?: unknown;
|
|
@@ -2376,26 +2555,33 @@ declare class CopilotChatAssistantMessage {
|
|
|
2376
2555
|
url?: string | undefined;
|
|
2377
2556
|
filename?: string | undefined;
|
|
2378
2557
|
})[];
|
|
2379
|
-
id: string;
|
|
2380
2558
|
name?: string | undefined;
|
|
2381
2559
|
encryptedValue?: string | undefined;
|
|
2560
|
+
metadata?: Record<string, any> | undefined;
|
|
2561
|
+
subagentRunId?: string | undefined;
|
|
2382
2562
|
} | {
|
|
2563
|
+
id: string;
|
|
2383
2564
|
role: "tool";
|
|
2384
|
-
toolCallId: string;
|
|
2385
2565
|
content: string;
|
|
2386
|
-
|
|
2566
|
+
toolCallId: string;
|
|
2387
2567
|
encryptedValue?: string | undefined;
|
|
2568
|
+
metadata?: Record<string, any> | undefined;
|
|
2569
|
+
subagentRunId?: string | undefined;
|
|
2388
2570
|
error?: string | undefined;
|
|
2389
2571
|
} | {
|
|
2572
|
+
id: string;
|
|
2390
2573
|
role: "activity";
|
|
2391
2574
|
content: Record<string, any>;
|
|
2392
|
-
id: string;
|
|
2393
2575
|
activityType: string;
|
|
2576
|
+
metadata?: Record<string, any> | undefined;
|
|
2577
|
+
subagentRunId?: string | undefined;
|
|
2394
2578
|
} | {
|
|
2579
|
+
id: string;
|
|
2395
2580
|
role: "reasoning";
|
|
2396
2581
|
content: string;
|
|
2397
|
-
id: string;
|
|
2398
2582
|
encryptedValue?: string | undefined;
|
|
2583
|
+
metadata?: Record<string, any> | undefined;
|
|
2584
|
+
subagentRunId?: string | undefined;
|
|
2399
2585
|
})[];
|
|
2400
2586
|
isLoading: boolean;
|
|
2401
2587
|
}>;
|
|
@@ -2410,7 +2596,7 @@ declare class CopilotChatAssistantMessage {
|
|
|
2410
2596
|
|
|
2411
2597
|
declare class CopilotChatAttachmentQueue {
|
|
2412
2598
|
readonly attachments: _angular_core.InputSignal<Attachment[]>;
|
|
2413
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
2599
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2414
2600
|
readonly removeAttachment: _angular_core.OutputEmitterRef<string>;
|
|
2415
2601
|
readonly computedClass: _angular_core.Signal<string>;
|
|
2416
2602
|
itemClass(attachment: Attachment): string;
|
|
@@ -2432,8 +2618,8 @@ declare class CopilotChatAttachmentRenderer {
|
|
|
2432
2618
|
value: string;
|
|
2433
2619
|
mimeType?: string | undefined;
|
|
2434
2620
|
}>;
|
|
2435
|
-
readonly filename: _angular_core.InputSignal<string>;
|
|
2436
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
2621
|
+
readonly filename: _angular_core.InputSignal<string | undefined>;
|
|
2622
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2437
2623
|
readonly imageFailed: _angular_core.WritableSignal<boolean>;
|
|
2438
2624
|
readonly sourceUrl: _angular_core.Signal<string>;
|
|
2439
2625
|
readonly documentIcon: _angular_core.Signal<string>;
|
|
@@ -2447,7 +2633,7 @@ declare class CopilotChatAttachmentRenderer {
|
|
|
2447
2633
|
}
|
|
2448
2634
|
|
|
2449
2635
|
declare class CopilotChatAttachmentsDirective {
|
|
2450
|
-
readonly config: _angular_core.InputSignal<AttachmentsConfig>;
|
|
2636
|
+
readonly config: _angular_core.InputSignal<AttachmentsConfig | undefined>;
|
|
2451
2637
|
private readonly chat;
|
|
2452
2638
|
private readonly host;
|
|
2453
2639
|
private readonly renderer;
|
|
@@ -2600,7 +2786,7 @@ interface CopilotChatInputOutputs {
|
|
|
2600
2786
|
|
|
2601
2787
|
declare class CopilotChatAudioRecorder implements AfterViewInit {
|
|
2602
2788
|
private readonly canvasRef;
|
|
2603
|
-
inputClass: _angular_core.InputSignal<string>;
|
|
2789
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2604
2790
|
inputShowControls: _angular_core.InputSignal<boolean>;
|
|
2605
2791
|
stateChange: _angular_core.OutputEmitterRef<AudioRecorderState>;
|
|
2606
2792
|
error: _angular_core.OutputEmitterRef<AudioRecorderError>;
|
|
@@ -2711,12 +2897,12 @@ declare class CopilotChatTextarea implements AfterViewInit {
|
|
|
2711
2897
|
private elementRef;
|
|
2712
2898
|
private platformId;
|
|
2713
2899
|
get textareaRef(): ElementRef<any>;
|
|
2714
|
-
inputValue: _angular_core.InputSignal<string>;
|
|
2715
|
-
inputPlaceholder: _angular_core.InputSignal<string>;
|
|
2716
|
-
inputMaxRows: _angular_core.InputSignal<number>;
|
|
2717
|
-
inputAutoFocus: _angular_core.InputSignal<boolean>;
|
|
2718
|
-
inputDisabled: _angular_core.InputSignal<boolean>;
|
|
2719
|
-
inputClass: _angular_core.InputSignal<string>;
|
|
2900
|
+
inputValue: _angular_core.InputSignal<string | undefined>;
|
|
2901
|
+
inputPlaceholder: _angular_core.InputSignal<string | undefined>;
|
|
2902
|
+
inputMaxRows: _angular_core.InputSignal<number | undefined>;
|
|
2903
|
+
inputAutoFocus: _angular_core.InputSignal<boolean | undefined>;
|
|
2904
|
+
inputDisabled: _angular_core.InputSignal<boolean | undefined>;
|
|
2905
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2720
2906
|
valueChange: _angular_core.OutputEmitterRef<string>;
|
|
2721
2907
|
keyDown: _angular_core.OutputEmitterRef<KeyboardEvent>;
|
|
2722
2908
|
readonly chatLabels: _copilotkit_angular.CopilotChatLabels;
|
|
@@ -2749,7 +2935,7 @@ declare class CopilotChatTextarea implements AfterViewInit {
|
|
|
2749
2935
|
}
|
|
2750
2936
|
|
|
2751
2937
|
declare class CopilotChatToolbar {
|
|
2752
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
2938
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2753
2939
|
readonly computedClass: _angular_core.Signal<string>;
|
|
2754
2940
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotChatToolbar, never>;
|
|
2755
2941
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotChatToolbar, "div[copilotChatToolbar]", never, { "inputClass": { "alias": "inputClass"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
@@ -2758,15 +2944,15 @@ declare class CopilotChatToolbar {
|
|
|
2758
2944
|
declare class CopilotChatToolsMenu {
|
|
2759
2945
|
readonly PlusIcon: CopilotIconData;
|
|
2760
2946
|
readonly ChevronRightIcon: CopilotIconData;
|
|
2761
|
-
inputToolsMenu: _angular_core.InputSignal<(ToolsMenuItem | "-")[]>;
|
|
2762
|
-
inputDisabled: _angular_core.InputSignal<boolean>;
|
|
2763
|
-
inputClass: _angular_core.InputSignal<string>;
|
|
2764
|
-
inputAddFile: _angular_core.InputSignal<() => void>;
|
|
2947
|
+
inputToolsMenu: _angular_core.InputSignal<(ToolsMenuItem | "-")[] | undefined>;
|
|
2948
|
+
inputDisabled: _angular_core.InputSignal<boolean | undefined>;
|
|
2949
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2950
|
+
inputAddFile: _angular_core.InputSignal<(() => void) | undefined>;
|
|
2765
2951
|
private labels;
|
|
2766
2952
|
toolsMenu: _angular_core.Signal<(ToolsMenuItem | "-")[]>;
|
|
2767
2953
|
disabled: _angular_core.Signal<boolean>;
|
|
2768
|
-
customClass: _angular_core.Signal<string>;
|
|
2769
|
-
addFile: _angular_core.Signal<() => void>;
|
|
2954
|
+
customClass: _angular_core.Signal<string | undefined>;
|
|
2955
|
+
addFile: _angular_core.Signal<(() => void) | undefined>;
|
|
2770
2956
|
menuItems: _angular_core.Signal<(ToolsMenuItem | "-")[]>;
|
|
2771
2957
|
hasItems: _angular_core.Signal<boolean>;
|
|
2772
2958
|
triggerDisabled: _angular_core.Signal<boolean>;
|
|
@@ -2792,43 +2978,43 @@ interface ToolbarContext {
|
|
|
2792
2978
|
value: string;
|
|
2793
2979
|
}
|
|
2794
2980
|
declare class CopilotChatInput implements OnDestroy {
|
|
2795
|
-
readonly textAreaRef: _angular_core.Signal<CopilotChatTextarea>;
|
|
2796
|
-
readonly audioRecorderRef: _angular_core.Signal<CopilotChatAudioRecorder>;
|
|
2797
|
-
readonly sendButtonTemplate: _angular_core.Signal<TemplateRef<SendButtonContext
|
|
2798
|
-
readonly toolbarTemplate: _angular_core.Signal<TemplateRef<ToolbarContext
|
|
2799
|
-
readonly textAreaTemplate: _angular_core.Signal<TemplateRef<any
|
|
2800
|
-
readonly audioRecorderTemplate: _angular_core.Signal<TemplateRef<any
|
|
2801
|
-
readonly startTranscribeButtonTemplate: _angular_core.Signal<TemplateRef<any
|
|
2802
|
-
readonly cancelTranscribeButtonTemplate: _angular_core.Signal<TemplateRef<any
|
|
2803
|
-
readonly finishTranscribeButtonTemplate: _angular_core.Signal<TemplateRef<any
|
|
2804
|
-
readonly addFileButtonTemplate: _angular_core.Signal<TemplateRef<any
|
|
2805
|
-
readonly toolsButtonTemplate: _angular_core.Signal<TemplateRef<any
|
|
2806
|
-
sendButtonClass: _angular_core.InputSignal<string>;
|
|
2807
|
-
toolbarClass: _angular_core.InputSignal<string>;
|
|
2808
|
-
textAreaClass: _angular_core.InputSignal<string>;
|
|
2809
|
-
textAreaMaxRows: _angular_core.InputSignal<number>;
|
|
2810
|
-
textAreaPlaceholder: _angular_core.InputSignal<string>;
|
|
2811
|
-
audioRecorderClass: _angular_core.InputSignal<string>;
|
|
2812
|
-
startTranscribeButtonClass: _angular_core.InputSignal<string>;
|
|
2813
|
-
cancelTranscribeButtonClass: _angular_core.InputSignal<string>;
|
|
2814
|
-
finishTranscribeButtonClass: _angular_core.InputSignal<string>;
|
|
2815
|
-
addFileButtonClass: _angular_core.InputSignal<string>;
|
|
2816
|
-
toolsButtonClass: _angular_core.InputSignal<string>;
|
|
2817
|
-
sendButtonComponent: _angular_core.InputSignal<Type<any
|
|
2818
|
-
toolbarComponent: _angular_core.InputSignal<Type<any
|
|
2819
|
-
textAreaComponent: _angular_core.InputSignal<Type<any
|
|
2820
|
-
audioRecorderComponent: _angular_core.InputSignal<Type<any
|
|
2821
|
-
startTranscribeButtonComponent: _angular_core.InputSignal<Type<any
|
|
2822
|
-
cancelTranscribeButtonComponent: _angular_core.InputSignal<Type<any
|
|
2823
|
-
finishTranscribeButtonComponent: _angular_core.InputSignal<Type<any
|
|
2824
|
-
addFileButtonComponent: _angular_core.InputSignal<Type<any
|
|
2825
|
-
toolsButtonComponent: _angular_core.InputSignal<Type<any
|
|
2826
|
-
mode: _angular_core.InputSignal<CopilotChatInputMode>;
|
|
2827
|
-
toolsMenu: _angular_core.InputSignal<(ToolsMenuItem | "-")[]>;
|
|
2828
|
-
autoFocus: _angular_core.InputSignal<boolean>;
|
|
2829
|
-
value: _angular_core.InputSignal<string>;
|
|
2830
|
-
inputClass: _angular_core.InputSignal<string>;
|
|
2831
|
-
additionalToolbarItems: _angular_core.InputSignal<TemplateRef<any
|
|
2981
|
+
readonly textAreaRef: _angular_core.Signal<CopilotChatTextarea | undefined>;
|
|
2982
|
+
readonly audioRecorderRef: _angular_core.Signal<CopilotChatAudioRecorder | undefined>;
|
|
2983
|
+
readonly sendButtonTemplate: _angular_core.Signal<TemplateRef<SendButtonContext> | undefined>;
|
|
2984
|
+
readonly toolbarTemplate: _angular_core.Signal<TemplateRef<ToolbarContext> | undefined>;
|
|
2985
|
+
readonly textAreaTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
2986
|
+
readonly audioRecorderTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
2987
|
+
readonly startTranscribeButtonTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
2988
|
+
readonly cancelTranscribeButtonTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
2989
|
+
readonly finishTranscribeButtonTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
2990
|
+
readonly addFileButtonTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
2991
|
+
readonly toolsButtonTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
2992
|
+
sendButtonClass: _angular_core.InputSignal<string | undefined>;
|
|
2993
|
+
toolbarClass: _angular_core.InputSignal<string | undefined>;
|
|
2994
|
+
textAreaClass: _angular_core.InputSignal<string | undefined>;
|
|
2995
|
+
textAreaMaxRows: _angular_core.InputSignal<number | undefined>;
|
|
2996
|
+
textAreaPlaceholder: _angular_core.InputSignal<string | undefined>;
|
|
2997
|
+
audioRecorderClass: _angular_core.InputSignal<string | undefined>;
|
|
2998
|
+
startTranscribeButtonClass: _angular_core.InputSignal<string | undefined>;
|
|
2999
|
+
cancelTranscribeButtonClass: _angular_core.InputSignal<string | undefined>;
|
|
3000
|
+
finishTranscribeButtonClass: _angular_core.InputSignal<string | undefined>;
|
|
3001
|
+
addFileButtonClass: _angular_core.InputSignal<string | undefined>;
|
|
3002
|
+
toolsButtonClass: _angular_core.InputSignal<string | undefined>;
|
|
3003
|
+
sendButtonComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
3004
|
+
toolbarComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
3005
|
+
textAreaComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
3006
|
+
audioRecorderComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
3007
|
+
startTranscribeButtonComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
3008
|
+
cancelTranscribeButtonComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
3009
|
+
finishTranscribeButtonComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
3010
|
+
addFileButtonComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
3011
|
+
toolsButtonComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
3012
|
+
mode: _angular_core.InputSignal<CopilotChatInputMode | undefined>;
|
|
3013
|
+
toolsMenu: _angular_core.InputSignal<(ToolsMenuItem | "-")[] | undefined>;
|
|
3014
|
+
autoFocus: _angular_core.InputSignal<boolean | undefined>;
|
|
3015
|
+
value: _angular_core.InputSignal<string | undefined>;
|
|
3016
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
3017
|
+
additionalToolbarItems: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
2832
3018
|
submitMessage: _angular_core.OutputEmitterRef<string>;
|
|
2833
3019
|
startTranscribe: _angular_core.OutputEmitterRef<void>;
|
|
2834
3020
|
cancelTranscribe: _angular_core.OutputEmitterRef<void>;
|
|
@@ -2843,7 +3029,7 @@ declare class CopilotChatInput implements OnDestroy {
|
|
|
2843
3029
|
modeSignal: _angular_core.WritableSignal<CopilotChatInputMode>;
|
|
2844
3030
|
toolsMenuSignal: _angular_core.WritableSignal<(ToolsMenuItem | "-")[]>;
|
|
2845
3031
|
autoFocusSignal: _angular_core.WritableSignal<boolean>;
|
|
2846
|
-
customClass: _angular_core.WritableSignal<string>;
|
|
3032
|
+
customClass: _angular_core.WritableSignal<string | undefined>;
|
|
2847
3033
|
defaultAudioRecorder: typeof CopilotChatAudioRecorder;
|
|
2848
3034
|
defaultSendButton: any;
|
|
2849
3035
|
CopilotChatToolbar: typeof CopilotChatToolbar;
|
|
@@ -2857,7 +3043,7 @@ declare class CopilotChatInput implements OnDestroy {
|
|
|
2857
3043
|
computedAutoFocus: _angular_core.Signal<boolean>;
|
|
2858
3044
|
computedValue: _angular_core.Signal<string>;
|
|
2859
3045
|
addFileButtonDisabled: _angular_core.Signal<boolean>;
|
|
2860
|
-
addFileMenuAction: _angular_core.Signal<() => void>;
|
|
3046
|
+
addFileMenuAction: _angular_core.Signal<(() => void) | undefined>;
|
|
2861
3047
|
sendButtonDisabled: _angular_core.Signal<boolean>;
|
|
2862
3048
|
computedClass: _angular_core.Signal<string>;
|
|
2863
3049
|
defaultTextAreaClass: _angular_core.Signal<string>;
|
|
@@ -2867,9 +3053,9 @@ declare class CopilotChatInput implements OnDestroy {
|
|
|
2867
3053
|
value: string;
|
|
2868
3054
|
autoFocus: boolean;
|
|
2869
3055
|
disabled: boolean;
|
|
2870
|
-
maxRows: number;
|
|
2871
|
-
placeholder: string;
|
|
2872
|
-
inputClass: string;
|
|
3056
|
+
maxRows: number | undefined;
|
|
3057
|
+
placeholder: string | undefined;
|
|
3058
|
+
inputClass: string | undefined;
|
|
2873
3059
|
onKeyDown: (event: KeyboardEvent) => void;
|
|
2874
3060
|
onChange: (value: string) => void;
|
|
2875
3061
|
}>;
|
|
@@ -2971,7 +3157,7 @@ interface UserMessageToolbarContext {
|
|
|
2971
3157
|
|
|
2972
3158
|
declare class CopilotChatUserMessageRenderer {
|
|
2973
3159
|
readonly content: _angular_core.InputSignal<string>;
|
|
2974
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
3160
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2975
3161
|
readonly computedClass: _angular_core.Signal<string>;
|
|
2976
3162
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotChatUserMessageRenderer, never>;
|
|
2977
3163
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotChatUserMessageRenderer, "copilot-chat-user-message-renderer", never, { "content": { "alias": "content"; "required": false; "isSignal": true; }; "inputClass": { "alias": "inputClass"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -2980,16 +3166,16 @@ declare class CopilotChatUserMessageRenderer {
|
|
|
2980
3166
|
declare class CopilotChatUserMessageToolbarButton {
|
|
2981
3167
|
title: _angular_core.InputSignal<string>;
|
|
2982
3168
|
disabled: _angular_core.InputSignal<boolean>;
|
|
2983
|
-
inputClass: _angular_core.InputSignal<string>;
|
|
3169
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2984
3170
|
computedClass: _angular_core.Signal<string>;
|
|
2985
3171
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotChatUserMessageToolbarButton, never>;
|
|
2986
3172
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotChatUserMessageToolbarButton, "button[copilotChatUserMessageToolbarButton]", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "inputClass": { "alias": "inputClass"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof CopilotTooltip; inputs: { "copilotTooltip": "title"; "tooltipPosition": "tooltipPosition"; "tooltipDelay": "tooltipDelay"; }; outputs: {}; }]>;
|
|
2987
3173
|
}
|
|
2988
3174
|
declare class CopilotChatUserMessageCopyButton {
|
|
2989
|
-
readonly title: _angular_core.InputSignal<string>;
|
|
3175
|
+
readonly title: _angular_core.InputSignal<string | undefined>;
|
|
2990
3176
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
2991
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
2992
|
-
readonly content: _angular_core.InputSignal<string>;
|
|
3177
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
3178
|
+
readonly content: _angular_core.InputSignal<string | undefined>;
|
|
2993
3179
|
readonly clicked: _angular_core.OutputEmitterRef<void>;
|
|
2994
3180
|
readonly CopyIcon: CopilotIconData;
|
|
2995
3181
|
readonly CheckIcon: CopilotIconData;
|
|
@@ -3000,9 +3186,9 @@ declare class CopilotChatUserMessageCopyButton {
|
|
|
3000
3186
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotChatUserMessageCopyButton, "copilot-chat-user-message-copy-button", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "inputClass": { "alias": "inputClass"; "required": false; "isSignal": true; }; "content": { "alias": "content"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
|
3001
3187
|
}
|
|
3002
3188
|
declare class CopilotChatUserMessageEditButton {
|
|
3003
|
-
title: _angular_core.InputSignal<string>;
|
|
3189
|
+
title: _angular_core.InputSignal<string | undefined>;
|
|
3004
3190
|
disabled: _angular_core.InputSignal<boolean>;
|
|
3005
|
-
inputClass: _angular_core.InputSignal<string>;
|
|
3191
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
3006
3192
|
clicked: _angular_core.OutputEmitterRef<void>;
|
|
3007
3193
|
readonly EditIcon: CopilotIconData;
|
|
3008
3194
|
readonly labels: _copilotkit_angular.CopilotChatLabels;
|
|
@@ -3012,7 +3198,7 @@ declare class CopilotChatUserMessageEditButton {
|
|
|
3012
3198
|
}
|
|
3013
3199
|
|
|
3014
3200
|
declare class CopilotChatUserMessageToolbar {
|
|
3015
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
3201
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
3016
3202
|
readonly computedClass: _angular_core.Signal<string>;
|
|
3017
3203
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotChatUserMessageToolbar, never>;
|
|
3018
3204
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotChatUserMessageToolbar, "div[copilotChatUserMessageToolbar]", never, { "inputClass": { "alias": "inputClass"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
@@ -3022,6 +3208,7 @@ declare class CopilotChatUserMessageBranchNavigation {
|
|
|
3022
3208
|
currentBranch: _angular_core.InputSignal<number>;
|
|
3023
3209
|
numberOfBranches: _angular_core.InputSignal<number>;
|
|
3024
3210
|
message: _angular_core.InputSignal<{
|
|
3211
|
+
id: string;
|
|
3025
3212
|
role: "user";
|
|
3026
3213
|
content: string | ({
|
|
3027
3214
|
type: "text";
|
|
@@ -3029,48 +3216,48 @@ declare class CopilotChatUserMessageBranchNavigation {
|
|
|
3029
3216
|
} | {
|
|
3030
3217
|
type: "image";
|
|
3031
3218
|
source: {
|
|
3032
|
-
type: "data";
|
|
3033
3219
|
value: string;
|
|
3220
|
+
type: "data";
|
|
3034
3221
|
mimeType: string;
|
|
3035
3222
|
} | {
|
|
3036
|
-
type: "url";
|
|
3037
3223
|
value: string;
|
|
3224
|
+
type: "url";
|
|
3038
3225
|
mimeType?: string | undefined;
|
|
3039
3226
|
};
|
|
3040
3227
|
metadata?: unknown;
|
|
3041
3228
|
} | {
|
|
3042
3229
|
type: "audio";
|
|
3043
3230
|
source: {
|
|
3044
|
-
type: "data";
|
|
3045
3231
|
value: string;
|
|
3232
|
+
type: "data";
|
|
3046
3233
|
mimeType: string;
|
|
3047
3234
|
} | {
|
|
3048
|
-
type: "url";
|
|
3049
3235
|
value: string;
|
|
3236
|
+
type: "url";
|
|
3050
3237
|
mimeType?: string | undefined;
|
|
3051
3238
|
};
|
|
3052
3239
|
metadata?: unknown;
|
|
3053
3240
|
} | {
|
|
3054
3241
|
type: "video";
|
|
3055
3242
|
source: {
|
|
3056
|
-
type: "data";
|
|
3057
3243
|
value: string;
|
|
3244
|
+
type: "data";
|
|
3058
3245
|
mimeType: string;
|
|
3059
3246
|
} | {
|
|
3060
|
-
type: "url";
|
|
3061
3247
|
value: string;
|
|
3248
|
+
type: "url";
|
|
3062
3249
|
mimeType?: string | undefined;
|
|
3063
3250
|
};
|
|
3064
3251
|
metadata?: unknown;
|
|
3065
3252
|
} | {
|
|
3066
3253
|
type: "document";
|
|
3067
3254
|
source: {
|
|
3068
|
-
type: "data";
|
|
3069
3255
|
value: string;
|
|
3256
|
+
type: "data";
|
|
3070
3257
|
mimeType: string;
|
|
3071
3258
|
} | {
|
|
3072
|
-
type: "url";
|
|
3073
3259
|
value: string;
|
|
3260
|
+
type: "url";
|
|
3074
3261
|
mimeType?: string | undefined;
|
|
3075
3262
|
};
|
|
3076
3263
|
metadata?: unknown;
|
|
@@ -3082,11 +3269,12 @@ declare class CopilotChatUserMessageBranchNavigation {
|
|
|
3082
3269
|
url?: string | undefined;
|
|
3083
3270
|
filename?: string | undefined;
|
|
3084
3271
|
})[];
|
|
3085
|
-
id: string;
|
|
3086
3272
|
name?: string | undefined;
|
|
3087
3273
|
encryptedValue?: string | undefined;
|
|
3088
|
-
|
|
3089
|
-
|
|
3274
|
+
metadata?: Record<string, any> | undefined;
|
|
3275
|
+
subagentRunId?: string | undefined;
|
|
3276
|
+
} | undefined>;
|
|
3277
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
3090
3278
|
switchToBranch: _angular_core.OutputEmitterRef<CopilotChatUserMessageOnSwitchToBranchProps>;
|
|
3091
3279
|
readonly ChevronLeftIcon: CopilotIconData;
|
|
3092
3280
|
readonly ChevronRightIcon: CopilotIconData;
|
|
@@ -3109,17 +3297,18 @@ declare class CopilotChatUserMessage {
|
|
|
3109
3297
|
copyButtonTemplate?: TemplateRef<CopyButtonContext>;
|
|
3110
3298
|
editButtonTemplate?: TemplateRef<EditButtonContext>;
|
|
3111
3299
|
branchNavigationTemplate?: TemplateRef<BranchNavigationContext>;
|
|
3112
|
-
messageRendererClass: _angular_core.InputSignal<string>;
|
|
3113
|
-
toolbarClass: _angular_core.InputSignal<string>;
|
|
3114
|
-
copyButtonClass: _angular_core.InputSignal<string>;
|
|
3115
|
-
editButtonClass: _angular_core.InputSignal<string>;
|
|
3116
|
-
branchNavigationClass: _angular_core.InputSignal<string>;
|
|
3117
|
-
messageRendererComponent: _angular_core.InputSignal<Type<any
|
|
3118
|
-
toolbarComponent: _angular_core.InputSignal<Type<any
|
|
3119
|
-
copyButtonComponent: _angular_core.InputSignal<Type<any
|
|
3120
|
-
editButtonComponent: _angular_core.InputSignal<Type<any
|
|
3121
|
-
branchNavigationComponent: _angular_core.InputSignal<Type<any
|
|
3300
|
+
messageRendererClass: _angular_core.InputSignal<string | undefined>;
|
|
3301
|
+
toolbarClass: _angular_core.InputSignal<string | undefined>;
|
|
3302
|
+
copyButtonClass: _angular_core.InputSignal<string | undefined>;
|
|
3303
|
+
editButtonClass: _angular_core.InputSignal<string | undefined>;
|
|
3304
|
+
branchNavigationClass: _angular_core.InputSignal<string | undefined>;
|
|
3305
|
+
messageRendererComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
3306
|
+
toolbarComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
3307
|
+
copyButtonComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
3308
|
+
editButtonComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
3309
|
+
branchNavigationComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
3122
3310
|
message: _angular_core.InputSignal<{
|
|
3311
|
+
id: string;
|
|
3123
3312
|
role: "user";
|
|
3124
3313
|
content: string | ({
|
|
3125
3314
|
type: "text";
|
|
@@ -3127,48 +3316,48 @@ declare class CopilotChatUserMessage {
|
|
|
3127
3316
|
} | {
|
|
3128
3317
|
type: "image";
|
|
3129
3318
|
source: {
|
|
3130
|
-
type: "data";
|
|
3131
3319
|
value: string;
|
|
3320
|
+
type: "data";
|
|
3132
3321
|
mimeType: string;
|
|
3133
3322
|
} | {
|
|
3134
|
-
type: "url";
|
|
3135
3323
|
value: string;
|
|
3324
|
+
type: "url";
|
|
3136
3325
|
mimeType?: string | undefined;
|
|
3137
3326
|
};
|
|
3138
3327
|
metadata?: unknown;
|
|
3139
3328
|
} | {
|
|
3140
3329
|
type: "audio";
|
|
3141
3330
|
source: {
|
|
3142
|
-
type: "data";
|
|
3143
3331
|
value: string;
|
|
3332
|
+
type: "data";
|
|
3144
3333
|
mimeType: string;
|
|
3145
3334
|
} | {
|
|
3146
|
-
type: "url";
|
|
3147
3335
|
value: string;
|
|
3336
|
+
type: "url";
|
|
3148
3337
|
mimeType?: string | undefined;
|
|
3149
3338
|
};
|
|
3150
3339
|
metadata?: unknown;
|
|
3151
3340
|
} | {
|
|
3152
3341
|
type: "video";
|
|
3153
3342
|
source: {
|
|
3154
|
-
type: "data";
|
|
3155
3343
|
value: string;
|
|
3344
|
+
type: "data";
|
|
3156
3345
|
mimeType: string;
|
|
3157
3346
|
} | {
|
|
3158
|
-
type: "url";
|
|
3159
3347
|
value: string;
|
|
3348
|
+
type: "url";
|
|
3160
3349
|
mimeType?: string | undefined;
|
|
3161
3350
|
};
|
|
3162
3351
|
metadata?: unknown;
|
|
3163
3352
|
} | {
|
|
3164
3353
|
type: "document";
|
|
3165
3354
|
source: {
|
|
3166
|
-
type: "data";
|
|
3167
3355
|
value: string;
|
|
3356
|
+
type: "data";
|
|
3168
3357
|
mimeType: string;
|
|
3169
3358
|
} | {
|
|
3170
|
-
type: "url";
|
|
3171
3359
|
value: string;
|
|
3360
|
+
type: "url";
|
|
3172
3361
|
mimeType?: string | undefined;
|
|
3173
3362
|
};
|
|
3174
3363
|
metadata?: unknown;
|
|
@@ -3180,14 +3369,15 @@ declare class CopilotChatUserMessage {
|
|
|
3180
3369
|
url?: string | undefined;
|
|
3181
3370
|
filename?: string | undefined;
|
|
3182
3371
|
})[];
|
|
3183
|
-
id: string;
|
|
3184
3372
|
name?: string | undefined;
|
|
3185
3373
|
encryptedValue?: string | undefined;
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3374
|
+
metadata?: Record<string, any> | undefined;
|
|
3375
|
+
subagentRunId?: string | undefined;
|
|
3376
|
+
} | undefined>;
|
|
3377
|
+
branchIndex: _angular_core.InputSignal<number | undefined>;
|
|
3378
|
+
numberOfBranches: _angular_core.InputSignal<number | undefined>;
|
|
3379
|
+
additionalToolbarItems: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
3380
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
3191
3381
|
editMessage: _angular_core.OutputEmitterRef<CopilotChatUserMessageOnEditMessageProps>;
|
|
3192
3382
|
switchToBranch: _angular_core.OutputEmitterRef<CopilotChatUserMessageOnSwitchToBranchProps>;
|
|
3193
3383
|
branchIndexValue: _angular_core.Signal<number>;
|
|
@@ -3224,7 +3414,7 @@ declare class CopilotChatUserMessage {
|
|
|
3224
3414
|
* Shows a pulsing dot animation to indicate activity.
|
|
3225
3415
|
*/
|
|
3226
3416
|
declare class CopilotChatMessageViewCursor {
|
|
3227
|
-
inputClass: _angular_core.InputSignal<string>;
|
|
3417
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
3228
3418
|
computedClass: _angular_core.Signal<string>;
|
|
3229
3419
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotChatMessageViewCursor, never>;
|
|
3230
3420
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotChatMessageViewCursor, "copilot-chat-message-view-cursor", never, { "inputClass": { "alias": "inputClass"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -3232,29 +3422,37 @@ declare class CopilotChatMessageViewCursor {
|
|
|
3232
3422
|
|
|
3233
3423
|
declare class CopilotChatReasoningMessage {
|
|
3234
3424
|
readonly message: _angular_core.InputSignal<{
|
|
3425
|
+
id: string;
|
|
3235
3426
|
role: "reasoning";
|
|
3236
3427
|
content: string;
|
|
3237
|
-
id: string;
|
|
3238
3428
|
encryptedValue?: string | undefined;
|
|
3429
|
+
metadata?: Record<string, any> | undefined;
|
|
3430
|
+
subagentRunId?: string | undefined;
|
|
3239
3431
|
}>;
|
|
3240
3432
|
readonly messages: _angular_core.InputSignal<({
|
|
3433
|
+
id: string;
|
|
3241
3434
|
role: "developer";
|
|
3242
3435
|
content: string;
|
|
3243
|
-
id: string;
|
|
3244
3436
|
name?: string | undefined;
|
|
3245
3437
|
encryptedValue?: string | undefined;
|
|
3438
|
+
metadata?: Record<string, any> | undefined;
|
|
3439
|
+
subagentRunId?: string | undefined;
|
|
3246
3440
|
} | {
|
|
3441
|
+
id: string;
|
|
3247
3442
|
role: "system";
|
|
3248
3443
|
content: string;
|
|
3249
|
-
id: string;
|
|
3250
3444
|
name?: string | undefined;
|
|
3251
3445
|
encryptedValue?: string | undefined;
|
|
3446
|
+
metadata?: Record<string, any> | undefined;
|
|
3447
|
+
subagentRunId?: string | undefined;
|
|
3252
3448
|
} | {
|
|
3253
|
-
role: "assistant";
|
|
3254
3449
|
id: string;
|
|
3450
|
+
role: "assistant";
|
|
3255
3451
|
name?: string | undefined;
|
|
3256
|
-
content?: string | undefined;
|
|
3257
3452
|
encryptedValue?: string | undefined;
|
|
3453
|
+
metadata?: Record<string, any> | undefined;
|
|
3454
|
+
content?: string | undefined;
|
|
3455
|
+
subagentRunId?: string | undefined;
|
|
3258
3456
|
toolCalls?: {
|
|
3259
3457
|
function: {
|
|
3260
3458
|
name: string;
|
|
@@ -3263,8 +3461,10 @@ declare class CopilotChatReasoningMessage {
|
|
|
3263
3461
|
type: "function";
|
|
3264
3462
|
id: string;
|
|
3265
3463
|
encryptedValue?: string | undefined;
|
|
3464
|
+
metadata?: Record<string, any> | undefined;
|
|
3266
3465
|
}[] | undefined;
|
|
3267
3466
|
} | {
|
|
3467
|
+
id: string;
|
|
3268
3468
|
role: "user";
|
|
3269
3469
|
content: string | ({
|
|
3270
3470
|
type: "text";
|
|
@@ -3272,48 +3472,48 @@ declare class CopilotChatReasoningMessage {
|
|
|
3272
3472
|
} | {
|
|
3273
3473
|
type: "image";
|
|
3274
3474
|
source: {
|
|
3275
|
-
type: "data";
|
|
3276
3475
|
value: string;
|
|
3476
|
+
type: "data";
|
|
3277
3477
|
mimeType: string;
|
|
3278
3478
|
} | {
|
|
3279
|
-
type: "url";
|
|
3280
3479
|
value: string;
|
|
3480
|
+
type: "url";
|
|
3281
3481
|
mimeType?: string | undefined;
|
|
3282
3482
|
};
|
|
3283
3483
|
metadata?: unknown;
|
|
3284
3484
|
} | {
|
|
3285
3485
|
type: "audio";
|
|
3286
3486
|
source: {
|
|
3287
|
-
type: "data";
|
|
3288
3487
|
value: string;
|
|
3488
|
+
type: "data";
|
|
3289
3489
|
mimeType: string;
|
|
3290
3490
|
} | {
|
|
3291
|
-
type: "url";
|
|
3292
3491
|
value: string;
|
|
3492
|
+
type: "url";
|
|
3293
3493
|
mimeType?: string | undefined;
|
|
3294
3494
|
};
|
|
3295
3495
|
metadata?: unknown;
|
|
3296
3496
|
} | {
|
|
3297
3497
|
type: "video";
|
|
3298
3498
|
source: {
|
|
3299
|
-
type: "data";
|
|
3300
3499
|
value: string;
|
|
3500
|
+
type: "data";
|
|
3301
3501
|
mimeType: string;
|
|
3302
3502
|
} | {
|
|
3303
|
-
type: "url";
|
|
3304
3503
|
value: string;
|
|
3504
|
+
type: "url";
|
|
3305
3505
|
mimeType?: string | undefined;
|
|
3306
3506
|
};
|
|
3307
3507
|
metadata?: unknown;
|
|
3308
3508
|
} | {
|
|
3309
3509
|
type: "document";
|
|
3310
3510
|
source: {
|
|
3311
|
-
type: "data";
|
|
3312
3511
|
value: string;
|
|
3512
|
+
type: "data";
|
|
3313
3513
|
mimeType: string;
|
|
3314
3514
|
} | {
|
|
3315
|
-
type: "url";
|
|
3316
3515
|
value: string;
|
|
3516
|
+
type: "url";
|
|
3317
3517
|
mimeType?: string | undefined;
|
|
3318
3518
|
};
|
|
3319
3519
|
metadata?: unknown;
|
|
@@ -3325,29 +3525,36 @@ declare class CopilotChatReasoningMessage {
|
|
|
3325
3525
|
url?: string | undefined;
|
|
3326
3526
|
filename?: string | undefined;
|
|
3327
3527
|
})[];
|
|
3328
|
-
id: string;
|
|
3329
3528
|
name?: string | undefined;
|
|
3330
3529
|
encryptedValue?: string | undefined;
|
|
3530
|
+
metadata?: Record<string, any> | undefined;
|
|
3531
|
+
subagentRunId?: string | undefined;
|
|
3331
3532
|
} | {
|
|
3533
|
+
id: string;
|
|
3332
3534
|
role: "tool";
|
|
3333
|
-
toolCallId: string;
|
|
3334
3535
|
content: string;
|
|
3335
|
-
|
|
3536
|
+
toolCallId: string;
|
|
3336
3537
|
encryptedValue?: string | undefined;
|
|
3538
|
+
metadata?: Record<string, any> | undefined;
|
|
3539
|
+
subagentRunId?: string | undefined;
|
|
3337
3540
|
error?: string | undefined;
|
|
3338
3541
|
} | {
|
|
3542
|
+
id: string;
|
|
3339
3543
|
role: "activity";
|
|
3340
3544
|
content: Record<string, any>;
|
|
3341
|
-
id: string;
|
|
3342
3545
|
activityType: string;
|
|
3546
|
+
metadata?: Record<string, any> | undefined;
|
|
3547
|
+
subagentRunId?: string | undefined;
|
|
3343
3548
|
} | {
|
|
3549
|
+
id: string;
|
|
3344
3550
|
role: "reasoning";
|
|
3345
3551
|
content: string;
|
|
3346
|
-
id: string;
|
|
3347
3552
|
encryptedValue?: string | undefined;
|
|
3553
|
+
metadata?: Record<string, any> | undefined;
|
|
3554
|
+
subagentRunId?: string | undefined;
|
|
3348
3555
|
})[]>;
|
|
3349
3556
|
readonly isRunning: _angular_core.InputSignal<boolean>;
|
|
3350
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
3557
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
3351
3558
|
private readonly userToggled;
|
|
3352
3559
|
protected readonly isLatest: _angular_core.Signal<boolean>;
|
|
3353
3560
|
protected readonly isStreaming: _angular_core.Signal<boolean>;
|
|
@@ -3371,23 +3578,29 @@ declare class CopilotChatReasoningMessage {
|
|
|
3371
3578
|
*/
|
|
3372
3579
|
declare class CopilotChatMessageView {
|
|
3373
3580
|
messages: _angular_core.InputSignal<({
|
|
3581
|
+
id: string;
|
|
3374
3582
|
role: "developer";
|
|
3375
3583
|
content: string;
|
|
3376
|
-
id: string;
|
|
3377
3584
|
name?: string | undefined;
|
|
3378
3585
|
encryptedValue?: string | undefined;
|
|
3586
|
+
metadata?: Record<string, any> | undefined;
|
|
3587
|
+
subagentRunId?: string | undefined;
|
|
3379
3588
|
} | {
|
|
3589
|
+
id: string;
|
|
3380
3590
|
role: "system";
|
|
3381
3591
|
content: string;
|
|
3382
|
-
id: string;
|
|
3383
3592
|
name?: string | undefined;
|
|
3384
3593
|
encryptedValue?: string | undefined;
|
|
3594
|
+
metadata?: Record<string, any> | undefined;
|
|
3595
|
+
subagentRunId?: string | undefined;
|
|
3385
3596
|
} | {
|
|
3386
|
-
role: "assistant";
|
|
3387
3597
|
id: string;
|
|
3598
|
+
role: "assistant";
|
|
3388
3599
|
name?: string | undefined;
|
|
3389
|
-
content?: string | undefined;
|
|
3390
3600
|
encryptedValue?: string | undefined;
|
|
3601
|
+
metadata?: Record<string, any> | undefined;
|
|
3602
|
+
content?: string | undefined;
|
|
3603
|
+
subagentRunId?: string | undefined;
|
|
3391
3604
|
toolCalls?: {
|
|
3392
3605
|
function: {
|
|
3393
3606
|
name: string;
|
|
@@ -3396,8 +3609,10 @@ declare class CopilotChatMessageView {
|
|
|
3396
3609
|
type: "function";
|
|
3397
3610
|
id: string;
|
|
3398
3611
|
encryptedValue?: string | undefined;
|
|
3612
|
+
metadata?: Record<string, any> | undefined;
|
|
3399
3613
|
}[] | undefined;
|
|
3400
3614
|
} | {
|
|
3615
|
+
id: string;
|
|
3401
3616
|
role: "user";
|
|
3402
3617
|
content: string | ({
|
|
3403
3618
|
type: "text";
|
|
@@ -3405,48 +3620,48 @@ declare class CopilotChatMessageView {
|
|
|
3405
3620
|
} | {
|
|
3406
3621
|
type: "image";
|
|
3407
3622
|
source: {
|
|
3408
|
-
type: "data";
|
|
3409
3623
|
value: string;
|
|
3624
|
+
type: "data";
|
|
3410
3625
|
mimeType: string;
|
|
3411
3626
|
} | {
|
|
3412
|
-
type: "url";
|
|
3413
3627
|
value: string;
|
|
3628
|
+
type: "url";
|
|
3414
3629
|
mimeType?: string | undefined;
|
|
3415
3630
|
};
|
|
3416
3631
|
metadata?: unknown;
|
|
3417
3632
|
} | {
|
|
3418
3633
|
type: "audio";
|
|
3419
3634
|
source: {
|
|
3420
|
-
type: "data";
|
|
3421
3635
|
value: string;
|
|
3636
|
+
type: "data";
|
|
3422
3637
|
mimeType: string;
|
|
3423
3638
|
} | {
|
|
3424
|
-
type: "url";
|
|
3425
3639
|
value: string;
|
|
3640
|
+
type: "url";
|
|
3426
3641
|
mimeType?: string | undefined;
|
|
3427
3642
|
};
|
|
3428
3643
|
metadata?: unknown;
|
|
3429
3644
|
} | {
|
|
3430
3645
|
type: "video";
|
|
3431
3646
|
source: {
|
|
3432
|
-
type: "data";
|
|
3433
3647
|
value: string;
|
|
3648
|
+
type: "data";
|
|
3434
3649
|
mimeType: string;
|
|
3435
3650
|
} | {
|
|
3436
|
-
type: "url";
|
|
3437
3651
|
value: string;
|
|
3652
|
+
type: "url";
|
|
3438
3653
|
mimeType?: string | undefined;
|
|
3439
3654
|
};
|
|
3440
3655
|
metadata?: unknown;
|
|
3441
3656
|
} | {
|
|
3442
3657
|
type: "document";
|
|
3443
3658
|
source: {
|
|
3444
|
-
type: "data";
|
|
3445
3659
|
value: string;
|
|
3660
|
+
type: "data";
|
|
3446
3661
|
mimeType: string;
|
|
3447
3662
|
} | {
|
|
3448
|
-
type: "url";
|
|
3449
3663
|
value: string;
|
|
3664
|
+
type: "url";
|
|
3450
3665
|
mimeType?: string | undefined;
|
|
3451
3666
|
};
|
|
3452
3667
|
metadata?: unknown;
|
|
@@ -3458,48 +3673,55 @@ declare class CopilotChatMessageView {
|
|
|
3458
3673
|
url?: string | undefined;
|
|
3459
3674
|
filename?: string | undefined;
|
|
3460
3675
|
})[];
|
|
3461
|
-
id: string;
|
|
3462
3676
|
name?: string | undefined;
|
|
3463
3677
|
encryptedValue?: string | undefined;
|
|
3678
|
+
metadata?: Record<string, any> | undefined;
|
|
3679
|
+
subagentRunId?: string | undefined;
|
|
3464
3680
|
} | {
|
|
3681
|
+
id: string;
|
|
3465
3682
|
role: "tool";
|
|
3466
|
-
toolCallId: string;
|
|
3467
3683
|
content: string;
|
|
3468
|
-
|
|
3684
|
+
toolCallId: string;
|
|
3469
3685
|
encryptedValue?: string | undefined;
|
|
3686
|
+
metadata?: Record<string, any> | undefined;
|
|
3687
|
+
subagentRunId?: string | undefined;
|
|
3470
3688
|
error?: string | undefined;
|
|
3471
3689
|
} | {
|
|
3690
|
+
id: string;
|
|
3472
3691
|
role: "activity";
|
|
3473
3692
|
content: Record<string, any>;
|
|
3474
|
-
id: string;
|
|
3475
3693
|
activityType: string;
|
|
3694
|
+
metadata?: Record<string, any> | undefined;
|
|
3695
|
+
subagentRunId?: string | undefined;
|
|
3476
3696
|
} | {
|
|
3697
|
+
id: string;
|
|
3477
3698
|
role: "reasoning";
|
|
3478
3699
|
content: string;
|
|
3479
|
-
id: string;
|
|
3480
3700
|
encryptedValue?: string | undefined;
|
|
3701
|
+
metadata?: Record<string, any> | undefined;
|
|
3702
|
+
subagentRunId?: string | undefined;
|
|
3481
3703
|
})[]>;
|
|
3482
3704
|
/** Current agent state exposed to transcript-children slots. */
|
|
3483
3705
|
state: _angular_core.InputSignal<unknown>;
|
|
3484
3706
|
showCursor: _angular_core.InputSignal<boolean>;
|
|
3485
3707
|
isLoading: _angular_core.InputSignal<boolean>;
|
|
3486
|
-
inputClass: _angular_core.InputSignal<string>;
|
|
3487
|
-
agentId: _angular_core.InputSignal<string>;
|
|
3488
|
-
assistantMessageComponent: _angular_core.InputSignal<Type<any
|
|
3489
|
-
assistantMessageTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
3490
|
-
assistantMessageClass: _angular_core.InputSignal<string>;
|
|
3491
|
-
reasoningMessageComponent: _angular_core.InputSignal<Type<any
|
|
3492
|
-
reasoningMessageTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
3493
|
-
reasoningMessageClass: _angular_core.InputSignal<string>;
|
|
3494
|
-
childrenComponent: _angular_core.InputSignal<Type<any
|
|
3495
|
-
childrenTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
3496
|
-
childrenClass: _angular_core.InputSignal<string>;
|
|
3497
|
-
userMessageComponent: _angular_core.InputSignal<Type<any
|
|
3498
|
-
userMessageTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
3499
|
-
userMessageClass: _angular_core.InputSignal<string>;
|
|
3500
|
-
cursorComponent: _angular_core.InputSignal<Type<any
|
|
3501
|
-
cursorTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
3502
|
-
cursorClass: _angular_core.InputSignal<string>;
|
|
3708
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
3709
|
+
agentId: _angular_core.InputSignal<string | undefined>;
|
|
3710
|
+
assistantMessageComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
3711
|
+
assistantMessageTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
3712
|
+
assistantMessageClass: _angular_core.InputSignal<string | undefined>;
|
|
3713
|
+
reasoningMessageComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
3714
|
+
reasoningMessageTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
3715
|
+
reasoningMessageClass: _angular_core.InputSignal<string | undefined>;
|
|
3716
|
+
childrenComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
3717
|
+
childrenTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
3718
|
+
childrenClass: _angular_core.InputSignal<string | undefined>;
|
|
3719
|
+
userMessageComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
3720
|
+
userMessageTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
3721
|
+
userMessageClass: _angular_core.InputSignal<string | undefined>;
|
|
3722
|
+
cursorComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
3723
|
+
cursorTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
3724
|
+
cursorClass: _angular_core.InputSignal<string | undefined>;
|
|
3503
3725
|
customLayoutTemplate?: TemplateRef<any>;
|
|
3504
3726
|
assistantMessageThumbsUp: _angular_core.OutputEmitterRef<{
|
|
3505
3727
|
message: Message$1;
|
|
@@ -3525,23 +3747,29 @@ declare class CopilotChatMessageView {
|
|
|
3525
3747
|
protected readonly defaultCursorComponent: typeof CopilotChatMessageViewCursor;
|
|
3526
3748
|
protected readonly copilotKit: CopilotKit;
|
|
3527
3749
|
protected messagesValue: _angular_core.Signal<({
|
|
3750
|
+
id: string;
|
|
3528
3751
|
role: "developer";
|
|
3529
3752
|
content: string;
|
|
3530
|
-
id: string;
|
|
3531
3753
|
name?: string | undefined;
|
|
3532
3754
|
encryptedValue?: string | undefined;
|
|
3755
|
+
metadata?: Record<string, any> | undefined;
|
|
3756
|
+
subagentRunId?: string | undefined;
|
|
3533
3757
|
} | {
|
|
3758
|
+
id: string;
|
|
3534
3759
|
role: "system";
|
|
3535
3760
|
content: string;
|
|
3536
|
-
id: string;
|
|
3537
3761
|
name?: string | undefined;
|
|
3538
3762
|
encryptedValue?: string | undefined;
|
|
3763
|
+
metadata?: Record<string, any> | undefined;
|
|
3764
|
+
subagentRunId?: string | undefined;
|
|
3539
3765
|
} | {
|
|
3540
|
-
role: "assistant";
|
|
3541
3766
|
id: string;
|
|
3767
|
+
role: "assistant";
|
|
3542
3768
|
name?: string | undefined;
|
|
3543
|
-
content?: string | undefined;
|
|
3544
3769
|
encryptedValue?: string | undefined;
|
|
3770
|
+
metadata?: Record<string, any> | undefined;
|
|
3771
|
+
content?: string | undefined;
|
|
3772
|
+
subagentRunId?: string | undefined;
|
|
3545
3773
|
toolCalls?: {
|
|
3546
3774
|
function: {
|
|
3547
3775
|
name: string;
|
|
@@ -3550,8 +3778,10 @@ declare class CopilotChatMessageView {
|
|
|
3550
3778
|
type: "function";
|
|
3551
3779
|
id: string;
|
|
3552
3780
|
encryptedValue?: string | undefined;
|
|
3781
|
+
metadata?: Record<string, any> | undefined;
|
|
3553
3782
|
}[] | undefined;
|
|
3554
3783
|
} | {
|
|
3784
|
+
id: string;
|
|
3555
3785
|
role: "user";
|
|
3556
3786
|
content: string | ({
|
|
3557
3787
|
type: "text";
|
|
@@ -3559,48 +3789,48 @@ declare class CopilotChatMessageView {
|
|
|
3559
3789
|
} | {
|
|
3560
3790
|
type: "image";
|
|
3561
3791
|
source: {
|
|
3562
|
-
type: "data";
|
|
3563
3792
|
value: string;
|
|
3793
|
+
type: "data";
|
|
3564
3794
|
mimeType: string;
|
|
3565
3795
|
} | {
|
|
3566
|
-
type: "url";
|
|
3567
3796
|
value: string;
|
|
3797
|
+
type: "url";
|
|
3568
3798
|
mimeType?: string | undefined;
|
|
3569
3799
|
};
|
|
3570
3800
|
metadata?: unknown;
|
|
3571
3801
|
} | {
|
|
3572
3802
|
type: "audio";
|
|
3573
3803
|
source: {
|
|
3574
|
-
type: "data";
|
|
3575
3804
|
value: string;
|
|
3805
|
+
type: "data";
|
|
3576
3806
|
mimeType: string;
|
|
3577
3807
|
} | {
|
|
3578
|
-
type: "url";
|
|
3579
3808
|
value: string;
|
|
3809
|
+
type: "url";
|
|
3580
3810
|
mimeType?: string | undefined;
|
|
3581
3811
|
};
|
|
3582
3812
|
metadata?: unknown;
|
|
3583
3813
|
} | {
|
|
3584
3814
|
type: "video";
|
|
3585
3815
|
source: {
|
|
3586
|
-
type: "data";
|
|
3587
3816
|
value: string;
|
|
3817
|
+
type: "data";
|
|
3588
3818
|
mimeType: string;
|
|
3589
3819
|
} | {
|
|
3590
|
-
type: "url";
|
|
3591
3820
|
value: string;
|
|
3821
|
+
type: "url";
|
|
3592
3822
|
mimeType?: string | undefined;
|
|
3593
3823
|
};
|
|
3594
3824
|
metadata?: unknown;
|
|
3595
3825
|
} | {
|
|
3596
3826
|
type: "document";
|
|
3597
3827
|
source: {
|
|
3598
|
-
type: "data";
|
|
3599
3828
|
value: string;
|
|
3829
|
+
type: "data";
|
|
3600
3830
|
mimeType: string;
|
|
3601
3831
|
} | {
|
|
3602
|
-
type: "url";
|
|
3603
3832
|
value: string;
|
|
3833
|
+
type: "url";
|
|
3604
3834
|
mimeType?: string | undefined;
|
|
3605
3835
|
};
|
|
3606
3836
|
metadata?: unknown;
|
|
@@ -3612,47 +3842,60 @@ declare class CopilotChatMessageView {
|
|
|
3612
3842
|
url?: string | undefined;
|
|
3613
3843
|
filename?: string | undefined;
|
|
3614
3844
|
})[];
|
|
3615
|
-
id: string;
|
|
3616
3845
|
name?: string | undefined;
|
|
3617
3846
|
encryptedValue?: string | undefined;
|
|
3847
|
+
metadata?: Record<string, any> | undefined;
|
|
3848
|
+
subagentRunId?: string | undefined;
|
|
3618
3849
|
} | {
|
|
3850
|
+
id: string;
|
|
3619
3851
|
role: "tool";
|
|
3620
|
-
toolCallId: string;
|
|
3621
3852
|
content: string;
|
|
3622
|
-
|
|
3853
|
+
toolCallId: string;
|
|
3623
3854
|
encryptedValue?: string | undefined;
|
|
3855
|
+
metadata?: Record<string, any> | undefined;
|
|
3856
|
+
subagentRunId?: string | undefined;
|
|
3624
3857
|
error?: string | undefined;
|
|
3625
3858
|
} | {
|
|
3859
|
+
id: string;
|
|
3626
3860
|
role: "activity";
|
|
3627
3861
|
content: Record<string, any>;
|
|
3628
|
-
id: string;
|
|
3629
3862
|
activityType: string;
|
|
3863
|
+
metadata?: Record<string, any> | undefined;
|
|
3864
|
+
subagentRunId?: string | undefined;
|
|
3630
3865
|
} | {
|
|
3866
|
+
id: string;
|
|
3631
3867
|
role: "reasoning";
|
|
3632
3868
|
content: string;
|
|
3633
|
-
id: string;
|
|
3634
3869
|
encryptedValue?: string | undefined;
|
|
3870
|
+
metadata?: Record<string, any> | undefined;
|
|
3871
|
+
subagentRunId?: string | undefined;
|
|
3635
3872
|
})[]>;
|
|
3636
3873
|
protected showCursorValue: _angular_core.Signal<boolean>;
|
|
3637
3874
|
protected isLoadingValue: _angular_core.Signal<boolean>;
|
|
3638
3875
|
protected lastMessage: _angular_core.Signal<{
|
|
3876
|
+
id: string;
|
|
3639
3877
|
role: "developer";
|
|
3640
3878
|
content: string;
|
|
3641
|
-
id: string;
|
|
3642
3879
|
name?: string | undefined;
|
|
3643
3880
|
encryptedValue?: string | undefined;
|
|
3881
|
+
metadata?: Record<string, any> | undefined;
|
|
3882
|
+
subagentRunId?: string | undefined;
|
|
3644
3883
|
} | {
|
|
3884
|
+
id: string;
|
|
3645
3885
|
role: "system";
|
|
3646
3886
|
content: string;
|
|
3647
|
-
id: string;
|
|
3648
3887
|
name?: string | undefined;
|
|
3649
3888
|
encryptedValue?: string | undefined;
|
|
3889
|
+
metadata?: Record<string, any> | undefined;
|
|
3890
|
+
subagentRunId?: string | undefined;
|
|
3650
3891
|
} | {
|
|
3651
|
-
role: "assistant";
|
|
3652
3892
|
id: string;
|
|
3893
|
+
role: "assistant";
|
|
3653
3894
|
name?: string | undefined;
|
|
3654
|
-
content?: string | undefined;
|
|
3655
3895
|
encryptedValue?: string | undefined;
|
|
3896
|
+
metadata?: Record<string, any> | undefined;
|
|
3897
|
+
content?: string | undefined;
|
|
3898
|
+
subagentRunId?: string | undefined;
|
|
3656
3899
|
toolCalls?: {
|
|
3657
3900
|
function: {
|
|
3658
3901
|
name: string;
|
|
@@ -3661,8 +3904,10 @@ declare class CopilotChatMessageView {
|
|
|
3661
3904
|
type: "function";
|
|
3662
3905
|
id: string;
|
|
3663
3906
|
encryptedValue?: string | undefined;
|
|
3907
|
+
metadata?: Record<string, any> | undefined;
|
|
3664
3908
|
}[] | undefined;
|
|
3665
3909
|
} | {
|
|
3910
|
+
id: string;
|
|
3666
3911
|
role: "user";
|
|
3667
3912
|
content: string | ({
|
|
3668
3913
|
type: "text";
|
|
@@ -3670,48 +3915,48 @@ declare class CopilotChatMessageView {
|
|
|
3670
3915
|
} | {
|
|
3671
3916
|
type: "image";
|
|
3672
3917
|
source: {
|
|
3673
|
-
type: "data";
|
|
3674
3918
|
value: string;
|
|
3919
|
+
type: "data";
|
|
3675
3920
|
mimeType: string;
|
|
3676
3921
|
} | {
|
|
3677
|
-
type: "url";
|
|
3678
3922
|
value: string;
|
|
3923
|
+
type: "url";
|
|
3679
3924
|
mimeType?: string | undefined;
|
|
3680
3925
|
};
|
|
3681
3926
|
metadata?: unknown;
|
|
3682
3927
|
} | {
|
|
3683
3928
|
type: "audio";
|
|
3684
3929
|
source: {
|
|
3685
|
-
type: "data";
|
|
3686
3930
|
value: string;
|
|
3931
|
+
type: "data";
|
|
3687
3932
|
mimeType: string;
|
|
3688
3933
|
} | {
|
|
3689
|
-
type: "url";
|
|
3690
3934
|
value: string;
|
|
3935
|
+
type: "url";
|
|
3691
3936
|
mimeType?: string | undefined;
|
|
3692
3937
|
};
|
|
3693
3938
|
metadata?: unknown;
|
|
3694
3939
|
} | {
|
|
3695
3940
|
type: "video";
|
|
3696
3941
|
source: {
|
|
3697
|
-
type: "data";
|
|
3698
3942
|
value: string;
|
|
3943
|
+
type: "data";
|
|
3699
3944
|
mimeType: string;
|
|
3700
3945
|
} | {
|
|
3701
|
-
type: "url";
|
|
3702
3946
|
value: string;
|
|
3947
|
+
type: "url";
|
|
3703
3948
|
mimeType?: string | undefined;
|
|
3704
3949
|
};
|
|
3705
3950
|
metadata?: unknown;
|
|
3706
3951
|
} | {
|
|
3707
3952
|
type: "document";
|
|
3708
3953
|
source: {
|
|
3709
|
-
type: "data";
|
|
3710
3954
|
value: string;
|
|
3955
|
+
type: "data";
|
|
3711
3956
|
mimeType: string;
|
|
3712
3957
|
} | {
|
|
3713
|
-
type: "url";
|
|
3714
3958
|
value: string;
|
|
3959
|
+
type: "url";
|
|
3715
3960
|
mimeType?: string | undefined;
|
|
3716
3961
|
};
|
|
3717
3962
|
metadata?: unknown;
|
|
@@ -3723,48 +3968,61 @@ declare class CopilotChatMessageView {
|
|
|
3723
3968
|
url?: string | undefined;
|
|
3724
3969
|
filename?: string | undefined;
|
|
3725
3970
|
})[];
|
|
3726
|
-
id: string;
|
|
3727
3971
|
name?: string | undefined;
|
|
3728
3972
|
encryptedValue?: string | undefined;
|
|
3973
|
+
metadata?: Record<string, any> | undefined;
|
|
3974
|
+
subagentRunId?: string | undefined;
|
|
3729
3975
|
} | {
|
|
3976
|
+
id: string;
|
|
3730
3977
|
role: "tool";
|
|
3731
|
-
toolCallId: string;
|
|
3732
3978
|
content: string;
|
|
3733
|
-
|
|
3979
|
+
toolCallId: string;
|
|
3734
3980
|
encryptedValue?: string | undefined;
|
|
3981
|
+
metadata?: Record<string, any> | undefined;
|
|
3982
|
+
subagentRunId?: string | undefined;
|
|
3735
3983
|
error?: string | undefined;
|
|
3736
3984
|
} | {
|
|
3985
|
+
id: string;
|
|
3737
3986
|
role: "activity";
|
|
3738
3987
|
content: Record<string, any>;
|
|
3739
|
-
id: string;
|
|
3740
3988
|
activityType: string;
|
|
3989
|
+
metadata?: Record<string, any> | undefined;
|
|
3990
|
+
subagentRunId?: string | undefined;
|
|
3741
3991
|
} | {
|
|
3992
|
+
id: string;
|
|
3742
3993
|
role: "reasoning";
|
|
3743
3994
|
content: string;
|
|
3744
|
-
id: string;
|
|
3745
3995
|
encryptedValue?: string | undefined;
|
|
3746
|
-
|
|
3996
|
+
metadata?: Record<string, any> | undefined;
|
|
3997
|
+
subagentRunId?: string | undefined;
|
|
3998
|
+
} | undefined>;
|
|
3747
3999
|
computedClass: _angular_core.Signal<string>;
|
|
3748
4000
|
layoutContext: _angular_core.Signal<{
|
|
3749
4001
|
isLoading: boolean;
|
|
3750
4002
|
messages: ({
|
|
4003
|
+
id: string;
|
|
3751
4004
|
role: "developer";
|
|
3752
4005
|
content: string;
|
|
3753
|
-
id: string;
|
|
3754
4006
|
name?: string | undefined;
|
|
3755
4007
|
encryptedValue?: string | undefined;
|
|
4008
|
+
metadata?: Record<string, any> | undefined;
|
|
4009
|
+
subagentRunId?: string | undefined;
|
|
3756
4010
|
} | {
|
|
4011
|
+
id: string;
|
|
3757
4012
|
role: "system";
|
|
3758
4013
|
content: string;
|
|
3759
|
-
id: string;
|
|
3760
4014
|
name?: string | undefined;
|
|
3761
4015
|
encryptedValue?: string | undefined;
|
|
4016
|
+
metadata?: Record<string, any> | undefined;
|
|
4017
|
+
subagentRunId?: string | undefined;
|
|
3762
4018
|
} | {
|
|
3763
|
-
role: "assistant";
|
|
3764
4019
|
id: string;
|
|
4020
|
+
role: "assistant";
|
|
3765
4021
|
name?: string | undefined;
|
|
3766
|
-
content?: string | undefined;
|
|
3767
4022
|
encryptedValue?: string | undefined;
|
|
4023
|
+
metadata?: Record<string, any> | undefined;
|
|
4024
|
+
content?: string | undefined;
|
|
4025
|
+
subagentRunId?: string | undefined;
|
|
3768
4026
|
toolCalls?: {
|
|
3769
4027
|
function: {
|
|
3770
4028
|
name: string;
|
|
@@ -3773,8 +4031,10 @@ declare class CopilotChatMessageView {
|
|
|
3773
4031
|
type: "function";
|
|
3774
4032
|
id: string;
|
|
3775
4033
|
encryptedValue?: string | undefined;
|
|
4034
|
+
metadata?: Record<string, any> | undefined;
|
|
3776
4035
|
}[] | undefined;
|
|
3777
4036
|
} | {
|
|
4037
|
+
id: string;
|
|
3778
4038
|
role: "user";
|
|
3779
4039
|
content: string | ({
|
|
3780
4040
|
type: "text";
|
|
@@ -3782,48 +4042,48 @@ declare class CopilotChatMessageView {
|
|
|
3782
4042
|
} | {
|
|
3783
4043
|
type: "image";
|
|
3784
4044
|
source: {
|
|
3785
|
-
type: "data";
|
|
3786
4045
|
value: string;
|
|
4046
|
+
type: "data";
|
|
3787
4047
|
mimeType: string;
|
|
3788
4048
|
} | {
|
|
3789
|
-
type: "url";
|
|
3790
4049
|
value: string;
|
|
4050
|
+
type: "url";
|
|
3791
4051
|
mimeType?: string | undefined;
|
|
3792
4052
|
};
|
|
3793
4053
|
metadata?: unknown;
|
|
3794
4054
|
} | {
|
|
3795
4055
|
type: "audio";
|
|
3796
4056
|
source: {
|
|
3797
|
-
type: "data";
|
|
3798
4057
|
value: string;
|
|
4058
|
+
type: "data";
|
|
3799
4059
|
mimeType: string;
|
|
3800
4060
|
} | {
|
|
3801
|
-
type: "url";
|
|
3802
4061
|
value: string;
|
|
4062
|
+
type: "url";
|
|
3803
4063
|
mimeType?: string | undefined;
|
|
3804
4064
|
};
|
|
3805
4065
|
metadata?: unknown;
|
|
3806
4066
|
} | {
|
|
3807
4067
|
type: "video";
|
|
3808
4068
|
source: {
|
|
3809
|
-
type: "data";
|
|
3810
4069
|
value: string;
|
|
4070
|
+
type: "data";
|
|
3811
4071
|
mimeType: string;
|
|
3812
4072
|
} | {
|
|
3813
|
-
type: "url";
|
|
3814
4073
|
value: string;
|
|
4074
|
+
type: "url";
|
|
3815
4075
|
mimeType?: string | undefined;
|
|
3816
4076
|
};
|
|
3817
4077
|
metadata?: unknown;
|
|
3818
4078
|
} | {
|
|
3819
4079
|
type: "document";
|
|
3820
4080
|
source: {
|
|
3821
|
-
type: "data";
|
|
3822
4081
|
value: string;
|
|
4082
|
+
type: "data";
|
|
3823
4083
|
mimeType: string;
|
|
3824
4084
|
} | {
|
|
3825
|
-
type: "url";
|
|
3826
4085
|
value: string;
|
|
4086
|
+
type: "url";
|
|
3827
4087
|
mimeType?: string | undefined;
|
|
3828
4088
|
};
|
|
3829
4089
|
metadata?: unknown;
|
|
@@ -3835,46 +4095,43 @@ declare class CopilotChatMessageView {
|
|
|
3835
4095
|
url?: string | undefined;
|
|
3836
4096
|
filename?: string | undefined;
|
|
3837
4097
|
})[];
|
|
3838
|
-
id: string;
|
|
3839
4098
|
name?: string | undefined;
|
|
3840
4099
|
encryptedValue?: string | undefined;
|
|
4100
|
+
metadata?: Record<string, any> | undefined;
|
|
4101
|
+
subagentRunId?: string | undefined;
|
|
3841
4102
|
} | {
|
|
4103
|
+
id: string;
|
|
3842
4104
|
role: "tool";
|
|
3843
|
-
toolCallId: string;
|
|
3844
4105
|
content: string;
|
|
3845
|
-
|
|
4106
|
+
toolCallId: string;
|
|
3846
4107
|
encryptedValue?: string | undefined;
|
|
4108
|
+
metadata?: Record<string, any> | undefined;
|
|
4109
|
+
subagentRunId?: string | undefined;
|
|
3847
4110
|
error?: string | undefined;
|
|
3848
4111
|
} | {
|
|
4112
|
+
id: string;
|
|
3849
4113
|
role: "activity";
|
|
3850
4114
|
content: Record<string, any>;
|
|
3851
|
-
id: string;
|
|
3852
4115
|
activityType: string;
|
|
4116
|
+
metadata?: Record<string, any> | undefined;
|
|
4117
|
+
subagentRunId?: string | undefined;
|
|
3853
4118
|
} | {
|
|
4119
|
+
id: string;
|
|
3854
4120
|
role: "reasoning";
|
|
3855
4121
|
content: string;
|
|
3856
|
-
id: string;
|
|
3857
4122
|
encryptedValue?: string | undefined;
|
|
4123
|
+
metadata?: Record<string, any> | undefined;
|
|
4124
|
+
subagentRunId?: string | undefined;
|
|
3858
4125
|
})[];
|
|
3859
4126
|
showCursor: boolean;
|
|
3860
4127
|
messageElements: ({
|
|
3861
|
-
role: "developer";
|
|
3862
|
-
content: string;
|
|
3863
|
-
id: string;
|
|
3864
|
-
name?: string | undefined;
|
|
3865
|
-
encryptedValue?: string | undefined;
|
|
3866
|
-
} | {
|
|
3867
|
-
role: "system";
|
|
3868
|
-
content: string;
|
|
3869
4128
|
id: string;
|
|
3870
|
-
name?: string | undefined;
|
|
3871
|
-
encryptedValue?: string | undefined;
|
|
3872
|
-
} | {
|
|
3873
4129
|
role: "assistant";
|
|
3874
|
-
id: string;
|
|
3875
4130
|
name?: string | undefined;
|
|
3876
|
-
content?: string | undefined;
|
|
3877
4131
|
encryptedValue?: string | undefined;
|
|
4132
|
+
metadata?: Record<string, any> | undefined;
|
|
4133
|
+
content?: string | undefined;
|
|
4134
|
+
subagentRunId?: string | undefined;
|
|
3878
4135
|
toolCalls?: {
|
|
3879
4136
|
function: {
|
|
3880
4137
|
name: string;
|
|
@@ -3883,8 +4140,10 @@ declare class CopilotChatMessageView {
|
|
|
3883
4140
|
type: "function";
|
|
3884
4141
|
id: string;
|
|
3885
4142
|
encryptedValue?: string | undefined;
|
|
4143
|
+
metadata?: Record<string, any> | undefined;
|
|
3886
4144
|
}[] | undefined;
|
|
3887
4145
|
} | {
|
|
4146
|
+
id: string;
|
|
3888
4147
|
role: "user";
|
|
3889
4148
|
content: string | ({
|
|
3890
4149
|
type: "text";
|
|
@@ -3892,48 +4151,48 @@ declare class CopilotChatMessageView {
|
|
|
3892
4151
|
} | {
|
|
3893
4152
|
type: "image";
|
|
3894
4153
|
source: {
|
|
3895
|
-
type: "data";
|
|
3896
4154
|
value: string;
|
|
4155
|
+
type: "data";
|
|
3897
4156
|
mimeType: string;
|
|
3898
4157
|
} | {
|
|
3899
|
-
type: "url";
|
|
3900
4158
|
value: string;
|
|
4159
|
+
type: "url";
|
|
3901
4160
|
mimeType?: string | undefined;
|
|
3902
4161
|
};
|
|
3903
4162
|
metadata?: unknown;
|
|
3904
4163
|
} | {
|
|
3905
4164
|
type: "audio";
|
|
3906
4165
|
source: {
|
|
3907
|
-
type: "data";
|
|
3908
4166
|
value: string;
|
|
4167
|
+
type: "data";
|
|
3909
4168
|
mimeType: string;
|
|
3910
4169
|
} | {
|
|
3911
|
-
type: "url";
|
|
3912
4170
|
value: string;
|
|
4171
|
+
type: "url";
|
|
3913
4172
|
mimeType?: string | undefined;
|
|
3914
4173
|
};
|
|
3915
4174
|
metadata?: unknown;
|
|
3916
4175
|
} | {
|
|
3917
4176
|
type: "video";
|
|
3918
4177
|
source: {
|
|
3919
|
-
type: "data";
|
|
3920
4178
|
value: string;
|
|
4179
|
+
type: "data";
|
|
3921
4180
|
mimeType: string;
|
|
3922
4181
|
} | {
|
|
3923
|
-
type: "url";
|
|
3924
4182
|
value: string;
|
|
4183
|
+
type: "url";
|
|
3925
4184
|
mimeType?: string | undefined;
|
|
3926
4185
|
};
|
|
3927
4186
|
metadata?: unknown;
|
|
3928
4187
|
} | {
|
|
3929
4188
|
type: "document";
|
|
3930
4189
|
source: {
|
|
3931
|
-
type: "data";
|
|
3932
4190
|
value: string;
|
|
4191
|
+
type: "data";
|
|
3933
4192
|
mimeType: string;
|
|
3934
4193
|
} | {
|
|
3935
|
-
type: "url";
|
|
3936
4194
|
value: string;
|
|
4195
|
+
type: "url";
|
|
3937
4196
|
mimeType?: string | undefined;
|
|
3938
4197
|
};
|
|
3939
4198
|
metadata?: unknown;
|
|
@@ -3945,50 +4204,54 @@ declare class CopilotChatMessageView {
|
|
|
3945
4204
|
url?: string | undefined;
|
|
3946
4205
|
filename?: string | undefined;
|
|
3947
4206
|
})[];
|
|
3948
|
-
id: string;
|
|
3949
4207
|
name?: string | undefined;
|
|
3950
4208
|
encryptedValue?: string | undefined;
|
|
4209
|
+
metadata?: Record<string, any> | undefined;
|
|
4210
|
+
subagentRunId?: string | undefined;
|
|
3951
4211
|
} | {
|
|
3952
|
-
role: "tool";
|
|
3953
|
-
toolCallId: string;
|
|
3954
|
-
content: string;
|
|
3955
4212
|
id: string;
|
|
3956
|
-
encryptedValue?: string | undefined;
|
|
3957
|
-
error?: string | undefined;
|
|
3958
|
-
} | {
|
|
3959
4213
|
role: "activity";
|
|
3960
4214
|
content: Record<string, any>;
|
|
3961
|
-
id: string;
|
|
3962
4215
|
activityType: string;
|
|
4216
|
+
metadata?: Record<string, any> | undefined;
|
|
4217
|
+
subagentRunId?: string | undefined;
|
|
3963
4218
|
} | {
|
|
4219
|
+
id: string;
|
|
3964
4220
|
role: "reasoning";
|
|
3965
4221
|
content: string;
|
|
3966
|
-
id: string;
|
|
3967
4222
|
encryptedValue?: string | undefined;
|
|
4223
|
+
metadata?: Record<string, any> | undefined;
|
|
4224
|
+
subagentRunId?: string | undefined;
|
|
3968
4225
|
})[];
|
|
3969
4226
|
}>;
|
|
3970
|
-
assistantMessageSlot: _angular_core.Signal<string | Type<any
|
|
3971
|
-
userMessageSlot: _angular_core.Signal<string | Type<any
|
|
3972
|
-
cursorSlot: _angular_core.Signal<string | Type<any
|
|
4227
|
+
assistantMessageSlot: _angular_core.Signal<string | Type<any> | undefined>;
|
|
4228
|
+
userMessageSlot: _angular_core.Signal<string | Type<any> | undefined>;
|
|
4229
|
+
cursorSlot: _angular_core.Signal<string | Type<any> | undefined>;
|
|
3973
4230
|
mergeAssistantProps(message: Message$1): {
|
|
3974
4231
|
message: {
|
|
4232
|
+
id: string;
|
|
3975
4233
|
role: "developer";
|
|
3976
4234
|
content: string;
|
|
3977
|
-
id: string;
|
|
3978
4235
|
name?: string | undefined;
|
|
3979
4236
|
encryptedValue?: string | undefined;
|
|
4237
|
+
metadata?: Record<string, any> | undefined;
|
|
4238
|
+
subagentRunId?: string | undefined;
|
|
3980
4239
|
} | {
|
|
4240
|
+
id: string;
|
|
3981
4241
|
role: "system";
|
|
3982
4242
|
content: string;
|
|
3983
|
-
id: string;
|
|
3984
4243
|
name?: string | undefined;
|
|
3985
4244
|
encryptedValue?: string | undefined;
|
|
4245
|
+
metadata?: Record<string, any> | undefined;
|
|
4246
|
+
subagentRunId?: string | undefined;
|
|
3986
4247
|
} | {
|
|
3987
|
-
role: "assistant";
|
|
3988
4248
|
id: string;
|
|
4249
|
+
role: "assistant";
|
|
3989
4250
|
name?: string | undefined;
|
|
3990
|
-
content?: string | undefined;
|
|
3991
4251
|
encryptedValue?: string | undefined;
|
|
4252
|
+
metadata?: Record<string, any> | undefined;
|
|
4253
|
+
content?: string | undefined;
|
|
4254
|
+
subagentRunId?: string | undefined;
|
|
3992
4255
|
toolCalls?: {
|
|
3993
4256
|
function: {
|
|
3994
4257
|
name: string;
|
|
@@ -3997,8 +4260,10 @@ declare class CopilotChatMessageView {
|
|
|
3997
4260
|
type: "function";
|
|
3998
4261
|
id: string;
|
|
3999
4262
|
encryptedValue?: string | undefined;
|
|
4263
|
+
metadata?: Record<string, any> | undefined;
|
|
4000
4264
|
}[] | undefined;
|
|
4001
4265
|
} | {
|
|
4266
|
+
id: string;
|
|
4002
4267
|
role: "user";
|
|
4003
4268
|
content: string | ({
|
|
4004
4269
|
type: "text";
|
|
@@ -4006,48 +4271,48 @@ declare class CopilotChatMessageView {
|
|
|
4006
4271
|
} | {
|
|
4007
4272
|
type: "image";
|
|
4008
4273
|
source: {
|
|
4009
|
-
type: "data";
|
|
4010
4274
|
value: string;
|
|
4275
|
+
type: "data";
|
|
4011
4276
|
mimeType: string;
|
|
4012
4277
|
} | {
|
|
4013
|
-
type: "url";
|
|
4014
4278
|
value: string;
|
|
4279
|
+
type: "url";
|
|
4015
4280
|
mimeType?: string | undefined;
|
|
4016
4281
|
};
|
|
4017
4282
|
metadata?: unknown;
|
|
4018
4283
|
} | {
|
|
4019
4284
|
type: "audio";
|
|
4020
4285
|
source: {
|
|
4021
|
-
type: "data";
|
|
4022
4286
|
value: string;
|
|
4287
|
+
type: "data";
|
|
4023
4288
|
mimeType: string;
|
|
4024
4289
|
} | {
|
|
4025
|
-
type: "url";
|
|
4026
4290
|
value: string;
|
|
4291
|
+
type: "url";
|
|
4027
4292
|
mimeType?: string | undefined;
|
|
4028
4293
|
};
|
|
4029
4294
|
metadata?: unknown;
|
|
4030
4295
|
} | {
|
|
4031
4296
|
type: "video";
|
|
4032
4297
|
source: {
|
|
4033
|
-
type: "data";
|
|
4034
4298
|
value: string;
|
|
4299
|
+
type: "data";
|
|
4035
4300
|
mimeType: string;
|
|
4036
4301
|
} | {
|
|
4037
|
-
type: "url";
|
|
4038
4302
|
value: string;
|
|
4303
|
+
type: "url";
|
|
4039
4304
|
mimeType?: string | undefined;
|
|
4040
4305
|
};
|
|
4041
4306
|
metadata?: unknown;
|
|
4042
4307
|
} | {
|
|
4043
4308
|
type: "document";
|
|
4044
4309
|
source: {
|
|
4045
|
-
type: "data";
|
|
4046
4310
|
value: string;
|
|
4311
|
+
type: "data";
|
|
4047
4312
|
mimeType: string;
|
|
4048
4313
|
} | {
|
|
4049
|
-
type: "url";
|
|
4050
4314
|
value: string;
|
|
4315
|
+
type: "url";
|
|
4051
4316
|
mimeType?: string | undefined;
|
|
4052
4317
|
};
|
|
4053
4318
|
metadata?: unknown;
|
|
@@ -4059,45 +4324,58 @@ declare class CopilotChatMessageView {
|
|
|
4059
4324
|
url?: string | undefined;
|
|
4060
4325
|
filename?: string | undefined;
|
|
4061
4326
|
})[];
|
|
4062
|
-
id: string;
|
|
4063
4327
|
name?: string | undefined;
|
|
4064
4328
|
encryptedValue?: string | undefined;
|
|
4329
|
+
metadata?: Record<string, any> | undefined;
|
|
4330
|
+
subagentRunId?: string | undefined;
|
|
4065
4331
|
} | {
|
|
4332
|
+
id: string;
|
|
4066
4333
|
role: "tool";
|
|
4067
|
-
toolCallId: string;
|
|
4068
4334
|
content: string;
|
|
4069
|
-
|
|
4335
|
+
toolCallId: string;
|
|
4070
4336
|
encryptedValue?: string | undefined;
|
|
4337
|
+
metadata?: Record<string, any> | undefined;
|
|
4338
|
+
subagentRunId?: string | undefined;
|
|
4071
4339
|
error?: string | undefined;
|
|
4072
4340
|
} | {
|
|
4341
|
+
id: string;
|
|
4073
4342
|
role: "activity";
|
|
4074
4343
|
content: Record<string, any>;
|
|
4075
|
-
id: string;
|
|
4076
4344
|
activityType: string;
|
|
4345
|
+
metadata?: Record<string, any> | undefined;
|
|
4346
|
+
subagentRunId?: string | undefined;
|
|
4077
4347
|
} | {
|
|
4348
|
+
id: string;
|
|
4078
4349
|
role: "reasoning";
|
|
4079
4350
|
content: string;
|
|
4080
|
-
id: string;
|
|
4081
4351
|
encryptedValue?: string | undefined;
|
|
4352
|
+
metadata?: Record<string, any> | undefined;
|
|
4353
|
+
subagentRunId?: string | undefined;
|
|
4082
4354
|
};
|
|
4083
4355
|
messages: ({
|
|
4356
|
+
id: string;
|
|
4084
4357
|
role: "developer";
|
|
4085
4358
|
content: string;
|
|
4086
|
-
id: string;
|
|
4087
4359
|
name?: string | undefined;
|
|
4088
4360
|
encryptedValue?: string | undefined;
|
|
4361
|
+
metadata?: Record<string, any> | undefined;
|
|
4362
|
+
subagentRunId?: string | undefined;
|
|
4089
4363
|
} | {
|
|
4364
|
+
id: string;
|
|
4090
4365
|
role: "system";
|
|
4091
4366
|
content: string;
|
|
4092
|
-
id: string;
|
|
4093
4367
|
name?: string | undefined;
|
|
4094
4368
|
encryptedValue?: string | undefined;
|
|
4369
|
+
metadata?: Record<string, any> | undefined;
|
|
4370
|
+
subagentRunId?: string | undefined;
|
|
4095
4371
|
} | {
|
|
4096
|
-
role: "assistant";
|
|
4097
4372
|
id: string;
|
|
4373
|
+
role: "assistant";
|
|
4098
4374
|
name?: string | undefined;
|
|
4099
|
-
content?: string | undefined;
|
|
4100
4375
|
encryptedValue?: string | undefined;
|
|
4376
|
+
metadata?: Record<string, any> | undefined;
|
|
4377
|
+
content?: string | undefined;
|
|
4378
|
+
subagentRunId?: string | undefined;
|
|
4101
4379
|
toolCalls?: {
|
|
4102
4380
|
function: {
|
|
4103
4381
|
name: string;
|
|
@@ -4106,8 +4384,10 @@ declare class CopilotChatMessageView {
|
|
|
4106
4384
|
type: "function";
|
|
4107
4385
|
id: string;
|
|
4108
4386
|
encryptedValue?: string | undefined;
|
|
4387
|
+
metadata?: Record<string, any> | undefined;
|
|
4109
4388
|
}[] | undefined;
|
|
4110
4389
|
} | {
|
|
4390
|
+
id: string;
|
|
4111
4391
|
role: "user";
|
|
4112
4392
|
content: string | ({
|
|
4113
4393
|
type: "text";
|
|
@@ -4115,48 +4395,48 @@ declare class CopilotChatMessageView {
|
|
|
4115
4395
|
} | {
|
|
4116
4396
|
type: "image";
|
|
4117
4397
|
source: {
|
|
4118
|
-
type: "data";
|
|
4119
4398
|
value: string;
|
|
4399
|
+
type: "data";
|
|
4120
4400
|
mimeType: string;
|
|
4121
4401
|
} | {
|
|
4122
|
-
type: "url";
|
|
4123
4402
|
value: string;
|
|
4403
|
+
type: "url";
|
|
4124
4404
|
mimeType?: string | undefined;
|
|
4125
4405
|
};
|
|
4126
4406
|
metadata?: unknown;
|
|
4127
4407
|
} | {
|
|
4128
4408
|
type: "audio";
|
|
4129
4409
|
source: {
|
|
4130
|
-
type: "data";
|
|
4131
4410
|
value: string;
|
|
4411
|
+
type: "data";
|
|
4132
4412
|
mimeType: string;
|
|
4133
4413
|
} | {
|
|
4134
|
-
type: "url";
|
|
4135
4414
|
value: string;
|
|
4415
|
+
type: "url";
|
|
4136
4416
|
mimeType?: string | undefined;
|
|
4137
4417
|
};
|
|
4138
4418
|
metadata?: unknown;
|
|
4139
4419
|
} | {
|
|
4140
4420
|
type: "video";
|
|
4141
4421
|
source: {
|
|
4142
|
-
type: "data";
|
|
4143
4422
|
value: string;
|
|
4423
|
+
type: "data";
|
|
4144
4424
|
mimeType: string;
|
|
4145
4425
|
} | {
|
|
4146
|
-
type: "url";
|
|
4147
4426
|
value: string;
|
|
4427
|
+
type: "url";
|
|
4148
4428
|
mimeType?: string | undefined;
|
|
4149
4429
|
};
|
|
4150
4430
|
metadata?: unknown;
|
|
4151
4431
|
} | {
|
|
4152
4432
|
type: "document";
|
|
4153
4433
|
source: {
|
|
4154
|
-
type: "data";
|
|
4155
4434
|
value: string;
|
|
4435
|
+
type: "data";
|
|
4156
4436
|
mimeType: string;
|
|
4157
4437
|
} | {
|
|
4158
|
-
type: "url";
|
|
4159
4438
|
value: string;
|
|
4439
|
+
type: "url";
|
|
4160
4440
|
mimeType?: string | undefined;
|
|
4161
4441
|
};
|
|
4162
4442
|
metadata?: unknown;
|
|
@@ -4168,55 +4448,70 @@ declare class CopilotChatMessageView {
|
|
|
4168
4448
|
url?: string | undefined;
|
|
4169
4449
|
filename?: string | undefined;
|
|
4170
4450
|
})[];
|
|
4171
|
-
id: string;
|
|
4172
4451
|
name?: string | undefined;
|
|
4173
4452
|
encryptedValue?: string | undefined;
|
|
4453
|
+
metadata?: Record<string, any> | undefined;
|
|
4454
|
+
subagentRunId?: string | undefined;
|
|
4174
4455
|
} | {
|
|
4456
|
+
id: string;
|
|
4175
4457
|
role: "tool";
|
|
4176
|
-
toolCallId: string;
|
|
4177
4458
|
content: string;
|
|
4178
|
-
|
|
4459
|
+
toolCallId: string;
|
|
4179
4460
|
encryptedValue?: string | undefined;
|
|
4461
|
+
metadata?: Record<string, any> | undefined;
|
|
4462
|
+
subagentRunId?: string | undefined;
|
|
4180
4463
|
error?: string | undefined;
|
|
4181
4464
|
} | {
|
|
4465
|
+
id: string;
|
|
4182
4466
|
role: "activity";
|
|
4183
4467
|
content: Record<string, any>;
|
|
4184
|
-
id: string;
|
|
4185
4468
|
activityType: string;
|
|
4469
|
+
metadata?: Record<string, any> | undefined;
|
|
4470
|
+
subagentRunId?: string | undefined;
|
|
4186
4471
|
} | {
|
|
4472
|
+
id: string;
|
|
4187
4473
|
role: "reasoning";
|
|
4188
4474
|
content: string;
|
|
4189
|
-
id: string;
|
|
4190
4475
|
encryptedValue?: string | undefined;
|
|
4476
|
+
metadata?: Record<string, any> | undefined;
|
|
4477
|
+
subagentRunId?: string | undefined;
|
|
4191
4478
|
})[];
|
|
4192
4479
|
isLoading: boolean;
|
|
4193
|
-
inputClass: string;
|
|
4480
|
+
inputClass: string | undefined;
|
|
4194
4481
|
};
|
|
4195
4482
|
mergeReasoningProps(message: ReasoningMessage): {
|
|
4196
4483
|
message: {
|
|
4484
|
+
id: string;
|
|
4197
4485
|
role: "reasoning";
|
|
4198
4486
|
content: string;
|
|
4199
|
-
id: string;
|
|
4200
4487
|
encryptedValue?: string | undefined;
|
|
4488
|
+
metadata?: Record<string, any> | undefined;
|
|
4489
|
+
subagentRunId?: string | undefined;
|
|
4201
4490
|
};
|
|
4202
4491
|
messages: ({
|
|
4492
|
+
id: string;
|
|
4203
4493
|
role: "developer";
|
|
4204
4494
|
content: string;
|
|
4205
|
-
id: string;
|
|
4206
4495
|
name?: string | undefined;
|
|
4207
4496
|
encryptedValue?: string | undefined;
|
|
4497
|
+
metadata?: Record<string, any> | undefined;
|
|
4498
|
+
subagentRunId?: string | undefined;
|
|
4208
4499
|
} | {
|
|
4500
|
+
id: string;
|
|
4209
4501
|
role: "system";
|
|
4210
4502
|
content: string;
|
|
4211
|
-
id: string;
|
|
4212
4503
|
name?: string | undefined;
|
|
4213
4504
|
encryptedValue?: string | undefined;
|
|
4505
|
+
metadata?: Record<string, any> | undefined;
|
|
4506
|
+
subagentRunId?: string | undefined;
|
|
4214
4507
|
} | {
|
|
4215
|
-
role: "assistant";
|
|
4216
4508
|
id: string;
|
|
4509
|
+
role: "assistant";
|
|
4217
4510
|
name?: string | undefined;
|
|
4218
|
-
content?: string | undefined;
|
|
4219
4511
|
encryptedValue?: string | undefined;
|
|
4512
|
+
metadata?: Record<string, any> | undefined;
|
|
4513
|
+
content?: string | undefined;
|
|
4514
|
+
subagentRunId?: string | undefined;
|
|
4220
4515
|
toolCalls?: {
|
|
4221
4516
|
function: {
|
|
4222
4517
|
name: string;
|
|
@@ -4225,8 +4520,10 @@ declare class CopilotChatMessageView {
|
|
|
4225
4520
|
type: "function";
|
|
4226
4521
|
id: string;
|
|
4227
4522
|
encryptedValue?: string | undefined;
|
|
4523
|
+
metadata?: Record<string, any> | undefined;
|
|
4228
4524
|
}[] | undefined;
|
|
4229
4525
|
} | {
|
|
4526
|
+
id: string;
|
|
4230
4527
|
role: "user";
|
|
4231
4528
|
content: string | ({
|
|
4232
4529
|
type: "text";
|
|
@@ -4234,48 +4531,48 @@ declare class CopilotChatMessageView {
|
|
|
4234
4531
|
} | {
|
|
4235
4532
|
type: "image";
|
|
4236
4533
|
source: {
|
|
4237
|
-
type: "data";
|
|
4238
4534
|
value: string;
|
|
4535
|
+
type: "data";
|
|
4239
4536
|
mimeType: string;
|
|
4240
4537
|
} | {
|
|
4241
|
-
type: "url";
|
|
4242
4538
|
value: string;
|
|
4539
|
+
type: "url";
|
|
4243
4540
|
mimeType?: string | undefined;
|
|
4244
4541
|
};
|
|
4245
4542
|
metadata?: unknown;
|
|
4246
4543
|
} | {
|
|
4247
4544
|
type: "audio";
|
|
4248
4545
|
source: {
|
|
4249
|
-
type: "data";
|
|
4250
4546
|
value: string;
|
|
4547
|
+
type: "data";
|
|
4251
4548
|
mimeType: string;
|
|
4252
4549
|
} | {
|
|
4253
|
-
type: "url";
|
|
4254
4550
|
value: string;
|
|
4551
|
+
type: "url";
|
|
4255
4552
|
mimeType?: string | undefined;
|
|
4256
4553
|
};
|
|
4257
4554
|
metadata?: unknown;
|
|
4258
4555
|
} | {
|
|
4259
4556
|
type: "video";
|
|
4260
4557
|
source: {
|
|
4261
|
-
type: "data";
|
|
4262
4558
|
value: string;
|
|
4559
|
+
type: "data";
|
|
4263
4560
|
mimeType: string;
|
|
4264
4561
|
} | {
|
|
4265
|
-
type: "url";
|
|
4266
4562
|
value: string;
|
|
4563
|
+
type: "url";
|
|
4267
4564
|
mimeType?: string | undefined;
|
|
4268
4565
|
};
|
|
4269
4566
|
metadata?: unknown;
|
|
4270
4567
|
} | {
|
|
4271
4568
|
type: "document";
|
|
4272
4569
|
source: {
|
|
4273
|
-
type: "data";
|
|
4274
4570
|
value: string;
|
|
4571
|
+
type: "data";
|
|
4275
4572
|
mimeType: string;
|
|
4276
4573
|
} | {
|
|
4277
|
-
type: "url";
|
|
4278
4574
|
value: string;
|
|
4575
|
+
type: "url";
|
|
4279
4576
|
mimeType?: string | undefined;
|
|
4280
4577
|
};
|
|
4281
4578
|
metadata?: unknown;
|
|
@@ -4287,49 +4584,62 @@ declare class CopilotChatMessageView {
|
|
|
4287
4584
|
url?: string | undefined;
|
|
4288
4585
|
filename?: string | undefined;
|
|
4289
4586
|
})[];
|
|
4290
|
-
id: string;
|
|
4291
4587
|
name?: string | undefined;
|
|
4292
4588
|
encryptedValue?: string | undefined;
|
|
4589
|
+
metadata?: Record<string, any> | undefined;
|
|
4590
|
+
subagentRunId?: string | undefined;
|
|
4293
4591
|
} | {
|
|
4592
|
+
id: string;
|
|
4294
4593
|
role: "tool";
|
|
4295
|
-
toolCallId: string;
|
|
4296
4594
|
content: string;
|
|
4297
|
-
|
|
4595
|
+
toolCallId: string;
|
|
4298
4596
|
encryptedValue?: string | undefined;
|
|
4597
|
+
metadata?: Record<string, any> | undefined;
|
|
4598
|
+
subagentRunId?: string | undefined;
|
|
4299
4599
|
error?: string | undefined;
|
|
4300
4600
|
} | {
|
|
4601
|
+
id: string;
|
|
4301
4602
|
role: "activity";
|
|
4302
4603
|
content: Record<string, any>;
|
|
4303
|
-
id: string;
|
|
4304
4604
|
activityType: string;
|
|
4605
|
+
metadata?: Record<string, any> | undefined;
|
|
4606
|
+
subagentRunId?: string | undefined;
|
|
4305
4607
|
} | {
|
|
4608
|
+
id: string;
|
|
4306
4609
|
role: "reasoning";
|
|
4307
4610
|
content: string;
|
|
4308
|
-
id: string;
|
|
4309
4611
|
encryptedValue?: string | undefined;
|
|
4612
|
+
metadata?: Record<string, any> | undefined;
|
|
4613
|
+
subagentRunId?: string | undefined;
|
|
4310
4614
|
})[];
|
|
4311
4615
|
isRunning: boolean;
|
|
4312
|
-
inputClass: string;
|
|
4616
|
+
inputClass: string | undefined;
|
|
4313
4617
|
};
|
|
4314
4618
|
childrenContext(): {
|
|
4315
4619
|
messages: ({
|
|
4620
|
+
id: string;
|
|
4316
4621
|
role: "developer";
|
|
4317
4622
|
content: string;
|
|
4318
|
-
id: string;
|
|
4319
4623
|
name?: string | undefined;
|
|
4320
4624
|
encryptedValue?: string | undefined;
|
|
4625
|
+
metadata?: Record<string, any> | undefined;
|
|
4626
|
+
subagentRunId?: string | undefined;
|
|
4321
4627
|
} | {
|
|
4628
|
+
id: string;
|
|
4322
4629
|
role: "system";
|
|
4323
4630
|
content: string;
|
|
4324
|
-
id: string;
|
|
4325
4631
|
name?: string | undefined;
|
|
4326
4632
|
encryptedValue?: string | undefined;
|
|
4633
|
+
metadata?: Record<string, any> | undefined;
|
|
4634
|
+
subagentRunId?: string | undefined;
|
|
4327
4635
|
} | {
|
|
4328
|
-
role: "assistant";
|
|
4329
4636
|
id: string;
|
|
4637
|
+
role: "assistant";
|
|
4330
4638
|
name?: string | undefined;
|
|
4331
|
-
content?: string | undefined;
|
|
4332
4639
|
encryptedValue?: string | undefined;
|
|
4640
|
+
metadata?: Record<string, any> | undefined;
|
|
4641
|
+
content?: string | undefined;
|
|
4642
|
+
subagentRunId?: string | undefined;
|
|
4333
4643
|
toolCalls?: {
|
|
4334
4644
|
function: {
|
|
4335
4645
|
name: string;
|
|
@@ -4338,8 +4648,10 @@ declare class CopilotChatMessageView {
|
|
|
4338
4648
|
type: "function";
|
|
4339
4649
|
id: string;
|
|
4340
4650
|
encryptedValue?: string | undefined;
|
|
4651
|
+
metadata?: Record<string, any> | undefined;
|
|
4341
4652
|
}[] | undefined;
|
|
4342
4653
|
} | {
|
|
4654
|
+
id: string;
|
|
4343
4655
|
role: "user";
|
|
4344
4656
|
content: string | ({
|
|
4345
4657
|
type: "text";
|
|
@@ -4347,48 +4659,48 @@ declare class CopilotChatMessageView {
|
|
|
4347
4659
|
} | {
|
|
4348
4660
|
type: "image";
|
|
4349
4661
|
source: {
|
|
4350
|
-
type: "data";
|
|
4351
4662
|
value: string;
|
|
4663
|
+
type: "data";
|
|
4352
4664
|
mimeType: string;
|
|
4353
4665
|
} | {
|
|
4354
|
-
type: "url";
|
|
4355
4666
|
value: string;
|
|
4667
|
+
type: "url";
|
|
4356
4668
|
mimeType?: string | undefined;
|
|
4357
4669
|
};
|
|
4358
4670
|
metadata?: unknown;
|
|
4359
4671
|
} | {
|
|
4360
4672
|
type: "audio";
|
|
4361
4673
|
source: {
|
|
4362
|
-
type: "data";
|
|
4363
4674
|
value: string;
|
|
4675
|
+
type: "data";
|
|
4364
4676
|
mimeType: string;
|
|
4365
4677
|
} | {
|
|
4366
|
-
type: "url";
|
|
4367
4678
|
value: string;
|
|
4679
|
+
type: "url";
|
|
4368
4680
|
mimeType?: string | undefined;
|
|
4369
4681
|
};
|
|
4370
4682
|
metadata?: unknown;
|
|
4371
4683
|
} | {
|
|
4372
4684
|
type: "video";
|
|
4373
4685
|
source: {
|
|
4374
|
-
type: "data";
|
|
4375
4686
|
value: string;
|
|
4687
|
+
type: "data";
|
|
4376
4688
|
mimeType: string;
|
|
4377
4689
|
} | {
|
|
4378
|
-
type: "url";
|
|
4379
4690
|
value: string;
|
|
4691
|
+
type: "url";
|
|
4380
4692
|
mimeType?: string | undefined;
|
|
4381
4693
|
};
|
|
4382
4694
|
metadata?: unknown;
|
|
4383
4695
|
} | {
|
|
4384
4696
|
type: "document";
|
|
4385
4697
|
source: {
|
|
4386
|
-
type: "data";
|
|
4387
4698
|
value: string;
|
|
4699
|
+
type: "data";
|
|
4388
4700
|
mimeType: string;
|
|
4389
4701
|
} | {
|
|
4390
|
-
type: "url";
|
|
4391
4702
|
value: string;
|
|
4703
|
+
type: "url";
|
|
4392
4704
|
mimeType?: string | undefined;
|
|
4393
4705
|
};
|
|
4394
4706
|
metadata?: unknown;
|
|
@@ -4400,51 +4712,64 @@ declare class CopilotChatMessageView {
|
|
|
4400
4712
|
url?: string | undefined;
|
|
4401
4713
|
filename?: string | undefined;
|
|
4402
4714
|
})[];
|
|
4403
|
-
id: string;
|
|
4404
4715
|
name?: string | undefined;
|
|
4405
4716
|
encryptedValue?: string | undefined;
|
|
4717
|
+
metadata?: Record<string, any> | undefined;
|
|
4718
|
+
subagentRunId?: string | undefined;
|
|
4406
4719
|
} | {
|
|
4720
|
+
id: string;
|
|
4407
4721
|
role: "tool";
|
|
4408
|
-
toolCallId: string;
|
|
4409
4722
|
content: string;
|
|
4410
|
-
|
|
4723
|
+
toolCallId: string;
|
|
4411
4724
|
encryptedValue?: string | undefined;
|
|
4725
|
+
metadata?: Record<string, any> | undefined;
|
|
4726
|
+
subagentRunId?: string | undefined;
|
|
4412
4727
|
error?: string | undefined;
|
|
4413
4728
|
} | {
|
|
4729
|
+
id: string;
|
|
4414
4730
|
role: "activity";
|
|
4415
4731
|
content: Record<string, any>;
|
|
4416
|
-
id: string;
|
|
4417
4732
|
activityType: string;
|
|
4733
|
+
metadata?: Record<string, any> | undefined;
|
|
4734
|
+
subagentRunId?: string | undefined;
|
|
4418
4735
|
} | {
|
|
4736
|
+
id: string;
|
|
4419
4737
|
role: "reasoning";
|
|
4420
4738
|
content: string;
|
|
4421
|
-
id: string;
|
|
4422
4739
|
encryptedValue?: string | undefined;
|
|
4740
|
+
metadata?: Record<string, any> | undefined;
|
|
4741
|
+
subagentRunId?: string | undefined;
|
|
4423
4742
|
})[];
|
|
4424
4743
|
state: unknown;
|
|
4425
|
-
agentId: string;
|
|
4744
|
+
agentId: string | undefined;
|
|
4426
4745
|
isRunning: boolean;
|
|
4427
|
-
inputClass: string;
|
|
4746
|
+
inputClass: string | undefined;
|
|
4428
4747
|
};
|
|
4429
4748
|
mergeUserProps(message: Message$1): {
|
|
4430
4749
|
message: {
|
|
4750
|
+
id: string;
|
|
4431
4751
|
role: "developer";
|
|
4432
4752
|
content: string;
|
|
4433
|
-
id: string;
|
|
4434
4753
|
name?: string | undefined;
|
|
4435
4754
|
encryptedValue?: string | undefined;
|
|
4755
|
+
metadata?: Record<string, any> | undefined;
|
|
4756
|
+
subagentRunId?: string | undefined;
|
|
4436
4757
|
} | {
|
|
4758
|
+
id: string;
|
|
4437
4759
|
role: "system";
|
|
4438
4760
|
content: string;
|
|
4439
|
-
id: string;
|
|
4440
4761
|
name?: string | undefined;
|
|
4441
4762
|
encryptedValue?: string | undefined;
|
|
4763
|
+
metadata?: Record<string, any> | undefined;
|
|
4764
|
+
subagentRunId?: string | undefined;
|
|
4442
4765
|
} | {
|
|
4443
|
-
role: "assistant";
|
|
4444
4766
|
id: string;
|
|
4767
|
+
role: "assistant";
|
|
4445
4768
|
name?: string | undefined;
|
|
4446
|
-
content?: string | undefined;
|
|
4447
4769
|
encryptedValue?: string | undefined;
|
|
4770
|
+
metadata?: Record<string, any> | undefined;
|
|
4771
|
+
content?: string | undefined;
|
|
4772
|
+
subagentRunId?: string | undefined;
|
|
4448
4773
|
toolCalls?: {
|
|
4449
4774
|
function: {
|
|
4450
4775
|
name: string;
|
|
@@ -4453,8 +4778,10 @@ declare class CopilotChatMessageView {
|
|
|
4453
4778
|
type: "function";
|
|
4454
4779
|
id: string;
|
|
4455
4780
|
encryptedValue?: string | undefined;
|
|
4781
|
+
metadata?: Record<string, any> | undefined;
|
|
4456
4782
|
}[] | undefined;
|
|
4457
4783
|
} | {
|
|
4784
|
+
id: string;
|
|
4458
4785
|
role: "user";
|
|
4459
4786
|
content: string | ({
|
|
4460
4787
|
type: "text";
|
|
@@ -4462,48 +4789,48 @@ declare class CopilotChatMessageView {
|
|
|
4462
4789
|
} | {
|
|
4463
4790
|
type: "image";
|
|
4464
4791
|
source: {
|
|
4465
|
-
type: "data";
|
|
4466
4792
|
value: string;
|
|
4793
|
+
type: "data";
|
|
4467
4794
|
mimeType: string;
|
|
4468
4795
|
} | {
|
|
4469
|
-
type: "url";
|
|
4470
4796
|
value: string;
|
|
4797
|
+
type: "url";
|
|
4471
4798
|
mimeType?: string | undefined;
|
|
4472
4799
|
};
|
|
4473
4800
|
metadata?: unknown;
|
|
4474
4801
|
} | {
|
|
4475
4802
|
type: "audio";
|
|
4476
4803
|
source: {
|
|
4477
|
-
type: "data";
|
|
4478
4804
|
value: string;
|
|
4805
|
+
type: "data";
|
|
4479
4806
|
mimeType: string;
|
|
4480
4807
|
} | {
|
|
4481
|
-
type: "url";
|
|
4482
4808
|
value: string;
|
|
4809
|
+
type: "url";
|
|
4483
4810
|
mimeType?: string | undefined;
|
|
4484
4811
|
};
|
|
4485
4812
|
metadata?: unknown;
|
|
4486
4813
|
} | {
|
|
4487
4814
|
type: "video";
|
|
4488
4815
|
source: {
|
|
4489
|
-
type: "data";
|
|
4490
4816
|
value: string;
|
|
4817
|
+
type: "data";
|
|
4491
4818
|
mimeType: string;
|
|
4492
4819
|
} | {
|
|
4493
|
-
type: "url";
|
|
4494
4820
|
value: string;
|
|
4821
|
+
type: "url";
|
|
4495
4822
|
mimeType?: string | undefined;
|
|
4496
4823
|
};
|
|
4497
4824
|
metadata?: unknown;
|
|
4498
4825
|
} | {
|
|
4499
4826
|
type: "document";
|
|
4500
4827
|
source: {
|
|
4501
|
-
type: "data";
|
|
4502
4828
|
value: string;
|
|
4829
|
+
type: "data";
|
|
4503
4830
|
mimeType: string;
|
|
4504
4831
|
} | {
|
|
4505
|
-
type: "url";
|
|
4506
4832
|
value: string;
|
|
4833
|
+
type: "url";
|
|
4507
4834
|
mimeType?: string | undefined;
|
|
4508
4835
|
};
|
|
4509
4836
|
metadata?: unknown;
|
|
@@ -4515,28 +4842,35 @@ declare class CopilotChatMessageView {
|
|
|
4515
4842
|
url?: string | undefined;
|
|
4516
4843
|
filename?: string | undefined;
|
|
4517
4844
|
})[];
|
|
4518
|
-
id: string;
|
|
4519
4845
|
name?: string | undefined;
|
|
4520
4846
|
encryptedValue?: string | undefined;
|
|
4847
|
+
metadata?: Record<string, any> | undefined;
|
|
4848
|
+
subagentRunId?: string | undefined;
|
|
4521
4849
|
} | {
|
|
4850
|
+
id: string;
|
|
4522
4851
|
role: "tool";
|
|
4523
|
-
toolCallId: string;
|
|
4524
4852
|
content: string;
|
|
4525
|
-
|
|
4853
|
+
toolCallId: string;
|
|
4526
4854
|
encryptedValue?: string | undefined;
|
|
4855
|
+
metadata?: Record<string, any> | undefined;
|
|
4856
|
+
subagentRunId?: string | undefined;
|
|
4527
4857
|
error?: string | undefined;
|
|
4528
4858
|
} | {
|
|
4859
|
+
id: string;
|
|
4529
4860
|
role: "activity";
|
|
4530
4861
|
content: Record<string, any>;
|
|
4531
|
-
id: string;
|
|
4532
4862
|
activityType: string;
|
|
4863
|
+
metadata?: Record<string, any> | undefined;
|
|
4864
|
+
subagentRunId?: string | undefined;
|
|
4533
4865
|
} | {
|
|
4866
|
+
id: string;
|
|
4534
4867
|
role: "reasoning";
|
|
4535
4868
|
content: string;
|
|
4536
|
-
id: string;
|
|
4537
4869
|
encryptedValue?: string | undefined;
|
|
4870
|
+
metadata?: Record<string, any> | undefined;
|
|
4871
|
+
subagentRunId?: string | undefined;
|
|
4538
4872
|
};
|
|
4539
|
-
inputClass: string;
|
|
4873
|
+
inputClass: string | undefined;
|
|
4540
4874
|
};
|
|
4541
4875
|
asReasoningMessage(message: Message$1): ReasoningMessage;
|
|
4542
4876
|
trackByMessageId(index: number, message: Message$1): string;
|
|
@@ -4547,14 +4881,16 @@ declare class CopilotChatMessageView {
|
|
|
4547
4881
|
activityType: string;
|
|
4548
4882
|
content: unknown;
|
|
4549
4883
|
message: {
|
|
4884
|
+
id: string;
|
|
4550
4885
|
role: "activity";
|
|
4551
4886
|
content: Record<string, any>;
|
|
4552
|
-
id: string;
|
|
4553
4887
|
activityType: string;
|
|
4888
|
+
metadata?: Record<string, any> | undefined;
|
|
4889
|
+
subagentRunId?: string | undefined;
|
|
4554
4890
|
};
|
|
4555
|
-
agent: _ag_ui_client.AbstractAgent;
|
|
4891
|
+
agent: _ag_ui_client.AbstractAgent | undefined;
|
|
4556
4892
|
};
|
|
4557
|
-
};
|
|
4893
|
+
} | undefined;
|
|
4558
4894
|
handleAssistantThumbsUp(event: {
|
|
4559
4895
|
message: Message$1;
|
|
4560
4896
|
}): void;
|
|
@@ -4602,7 +4938,7 @@ declare class CopilotChatSuggestionPill {
|
|
|
4602
4938
|
readonly title: _angular_core.InputSignal<string>;
|
|
4603
4939
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
4604
4940
|
readonly isLoading: _angular_core.InputSignal<boolean>;
|
|
4605
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
4941
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
4606
4942
|
readonly clicked: _angular_core.OutputEmitterRef<void>;
|
|
4607
4943
|
protected readonly computedClass: _angular_core.Signal<string>;
|
|
4608
4944
|
handleClick(): void;
|
|
@@ -4612,7 +4948,7 @@ declare class CopilotChatSuggestionPill {
|
|
|
4612
4948
|
|
|
4613
4949
|
declare class CopilotChatSuggestionView {
|
|
4614
4950
|
readonly suggestions: _angular_core.InputSignal<Suggestion[]>;
|
|
4615
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
4951
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
4616
4952
|
readonly selectSuggestion: _angular_core.OutputEmitterRef<{
|
|
4617
4953
|
suggestion: Suggestion;
|
|
4618
4954
|
index: number;
|
|
@@ -4628,9 +4964,9 @@ declare class CopilotChatSuggestionView {
|
|
|
4628
4964
|
* Matches React implementation exactly with same Tailwind classes
|
|
4629
4965
|
*/
|
|
4630
4966
|
declare class CopilotChatViewScrollToBottomButton {
|
|
4631
|
-
inputClass: _angular_core.InputSignal<string>;
|
|
4967
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
4632
4968
|
disabled: _angular_core.InputSignal<boolean>;
|
|
4633
|
-
onClick: _angular_core.InputSignal<() => void>;
|
|
4969
|
+
onClick: _angular_core.InputSignal<(() => void) | undefined>;
|
|
4634
4970
|
clicked: _angular_core.OutputEmitterRef<void>;
|
|
4635
4971
|
protected readonly ChevronDown: CopilotIconData;
|
|
4636
4972
|
get computedClass(): string;
|
|
@@ -4645,29 +4981,35 @@ declare class CopilotChatViewScrollToBottomButton {
|
|
|
4645
4981
|
*/
|
|
4646
4982
|
declare class CopilotChatViewScrollView implements AfterViewInit, OnDestroy {
|
|
4647
4983
|
private cdr;
|
|
4648
|
-
protected readonly chatState: ChatState;
|
|
4984
|
+
protected readonly chatState: ChatState | null;
|
|
4649
4985
|
autoScroll: _angular_core.InputSignal<boolean>;
|
|
4650
4986
|
inputContainerHeight: _angular_core.InputSignal<number>;
|
|
4651
4987
|
isResizing: _angular_core.InputSignal<boolean>;
|
|
4652
|
-
inputClass: _angular_core.InputSignal<string>;
|
|
4988
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
4653
4989
|
messages: _angular_core.InputSignal<({
|
|
4990
|
+
id: string;
|
|
4654
4991
|
role: "developer";
|
|
4655
4992
|
content: string;
|
|
4656
|
-
id: string;
|
|
4657
4993
|
name?: string | undefined;
|
|
4658
4994
|
encryptedValue?: string | undefined;
|
|
4995
|
+
metadata?: Record<string, any> | undefined;
|
|
4996
|
+
subagentRunId?: string | undefined;
|
|
4659
4997
|
} | {
|
|
4998
|
+
id: string;
|
|
4660
4999
|
role: "system";
|
|
4661
5000
|
content: string;
|
|
4662
|
-
id: string;
|
|
4663
5001
|
name?: string | undefined;
|
|
4664
5002
|
encryptedValue?: string | undefined;
|
|
5003
|
+
metadata?: Record<string, any> | undefined;
|
|
5004
|
+
subagentRunId?: string | undefined;
|
|
4665
5005
|
} | {
|
|
4666
|
-
role: "assistant";
|
|
4667
5006
|
id: string;
|
|
5007
|
+
role: "assistant";
|
|
4668
5008
|
name?: string | undefined;
|
|
4669
|
-
content?: string | undefined;
|
|
4670
5009
|
encryptedValue?: string | undefined;
|
|
5010
|
+
metadata?: Record<string, any> | undefined;
|
|
5011
|
+
content?: string | undefined;
|
|
5012
|
+
subagentRunId?: string | undefined;
|
|
4671
5013
|
toolCalls?: {
|
|
4672
5014
|
function: {
|
|
4673
5015
|
name: string;
|
|
@@ -4676,8 +5018,10 @@ declare class CopilotChatViewScrollView implements AfterViewInit, OnDestroy {
|
|
|
4676
5018
|
type: "function";
|
|
4677
5019
|
id: string;
|
|
4678
5020
|
encryptedValue?: string | undefined;
|
|
5021
|
+
metadata?: Record<string, any> | undefined;
|
|
4679
5022
|
}[] | undefined;
|
|
4680
5023
|
} | {
|
|
5024
|
+
id: string;
|
|
4681
5025
|
role: "user";
|
|
4682
5026
|
content: string | ({
|
|
4683
5027
|
type: "text";
|
|
@@ -4685,48 +5029,48 @@ declare class CopilotChatViewScrollView implements AfterViewInit, OnDestroy {
|
|
|
4685
5029
|
} | {
|
|
4686
5030
|
type: "image";
|
|
4687
5031
|
source: {
|
|
4688
|
-
type: "data";
|
|
4689
5032
|
value: string;
|
|
5033
|
+
type: "data";
|
|
4690
5034
|
mimeType: string;
|
|
4691
5035
|
} | {
|
|
4692
|
-
type: "url";
|
|
4693
5036
|
value: string;
|
|
5037
|
+
type: "url";
|
|
4694
5038
|
mimeType?: string | undefined;
|
|
4695
5039
|
};
|
|
4696
5040
|
metadata?: unknown;
|
|
4697
5041
|
} | {
|
|
4698
5042
|
type: "audio";
|
|
4699
5043
|
source: {
|
|
4700
|
-
type: "data";
|
|
4701
5044
|
value: string;
|
|
5045
|
+
type: "data";
|
|
4702
5046
|
mimeType: string;
|
|
4703
5047
|
} | {
|
|
4704
|
-
type: "url";
|
|
4705
5048
|
value: string;
|
|
5049
|
+
type: "url";
|
|
4706
5050
|
mimeType?: string | undefined;
|
|
4707
5051
|
};
|
|
4708
5052
|
metadata?: unknown;
|
|
4709
5053
|
} | {
|
|
4710
5054
|
type: "video";
|
|
4711
5055
|
source: {
|
|
4712
|
-
type: "data";
|
|
4713
5056
|
value: string;
|
|
5057
|
+
type: "data";
|
|
4714
5058
|
mimeType: string;
|
|
4715
5059
|
} | {
|
|
4716
|
-
type: "url";
|
|
4717
5060
|
value: string;
|
|
5061
|
+
type: "url";
|
|
4718
5062
|
mimeType?: string | undefined;
|
|
4719
5063
|
};
|
|
4720
5064
|
metadata?: unknown;
|
|
4721
5065
|
} | {
|
|
4722
5066
|
type: "document";
|
|
4723
5067
|
source: {
|
|
4724
|
-
type: "data";
|
|
4725
5068
|
value: string;
|
|
5069
|
+
type: "data";
|
|
4726
5070
|
mimeType: string;
|
|
4727
5071
|
} | {
|
|
4728
|
-
type: "url";
|
|
4729
5072
|
value: string;
|
|
5073
|
+
type: "url";
|
|
4730
5074
|
mimeType?: string | undefined;
|
|
4731
5075
|
};
|
|
4732
5076
|
metadata?: unknown;
|
|
@@ -4738,44 +5082,51 @@ declare class CopilotChatViewScrollView implements AfterViewInit, OnDestroy {
|
|
|
4738
5082
|
url?: string | undefined;
|
|
4739
5083
|
filename?: string | undefined;
|
|
4740
5084
|
})[];
|
|
4741
|
-
id: string;
|
|
4742
5085
|
name?: string | undefined;
|
|
4743
5086
|
encryptedValue?: string | undefined;
|
|
5087
|
+
metadata?: Record<string, any> | undefined;
|
|
5088
|
+
subagentRunId?: string | undefined;
|
|
4744
5089
|
} | {
|
|
5090
|
+
id: string;
|
|
4745
5091
|
role: "tool";
|
|
4746
|
-
toolCallId: string;
|
|
4747
5092
|
content: string;
|
|
4748
|
-
|
|
5093
|
+
toolCallId: string;
|
|
4749
5094
|
encryptedValue?: string | undefined;
|
|
5095
|
+
metadata?: Record<string, any> | undefined;
|
|
5096
|
+
subagentRunId?: string | undefined;
|
|
4750
5097
|
error?: string | undefined;
|
|
4751
5098
|
} | {
|
|
5099
|
+
id: string;
|
|
4752
5100
|
role: "activity";
|
|
4753
5101
|
content: Record<string, any>;
|
|
4754
|
-
id: string;
|
|
4755
5102
|
activityType: string;
|
|
5103
|
+
metadata?: Record<string, any> | undefined;
|
|
5104
|
+
subagentRunId?: string | undefined;
|
|
4756
5105
|
} | {
|
|
5106
|
+
id: string;
|
|
4757
5107
|
role: "reasoning";
|
|
4758
5108
|
content: string;
|
|
4759
|
-
id: string;
|
|
4760
5109
|
encryptedValue?: string | undefined;
|
|
5110
|
+
metadata?: Record<string, any> | undefined;
|
|
5111
|
+
subagentRunId?: string | undefined;
|
|
4761
5112
|
})[]>;
|
|
4762
5113
|
/** Current agent state forwarded to message-view extension slots. */
|
|
4763
5114
|
state: _angular_core.InputSignal<unknown>;
|
|
4764
|
-
agentId: _angular_core.InputSignal<string>;
|
|
5115
|
+
agentId: _angular_core.InputSignal<string | undefined>;
|
|
4765
5116
|
messageView: _angular_core.InputSignal<any>;
|
|
4766
|
-
messageViewClass: _angular_core.InputSignal<string>;
|
|
4767
|
-
assistantMessageComponent: _angular_core.InputSignal<Type<any
|
|
4768
|
-
assistantMessageTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
4769
|
-
assistantMessageClass: _angular_core.InputSignal<string>;
|
|
4770
|
-
reasoningMessageComponent: _angular_core.InputSignal<Type<any
|
|
4771
|
-
reasoningMessageTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
4772
|
-
reasoningMessageClass: _angular_core.InputSignal<string>;
|
|
4773
|
-
messageViewChildrenComponent: _angular_core.InputSignal<Type<any
|
|
4774
|
-
messageViewChildrenTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
4775
|
-
messageViewChildrenClass: _angular_core.InputSignal<string>;
|
|
5117
|
+
messageViewClass: _angular_core.InputSignal<string | undefined>;
|
|
5118
|
+
assistantMessageComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
5119
|
+
assistantMessageTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
5120
|
+
assistantMessageClass: _angular_core.InputSignal<string | undefined>;
|
|
5121
|
+
reasoningMessageComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
5122
|
+
reasoningMessageTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
5123
|
+
reasoningMessageClass: _angular_core.InputSignal<string | undefined>;
|
|
5124
|
+
messageViewChildrenComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
5125
|
+
messageViewChildrenTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
5126
|
+
messageViewChildrenClass: _angular_core.InputSignal<string | undefined>;
|
|
4776
5127
|
showCursor: _angular_core.InputSignal<boolean>;
|
|
4777
5128
|
scrollToBottomButton: _angular_core.InputSignal<any>;
|
|
4778
|
-
scrollToBottomButtonClass: _angular_core.InputSignal<string>;
|
|
5129
|
+
scrollToBottomButtonClass: _angular_core.InputSignal<string | undefined>;
|
|
4779
5130
|
assistantMessageThumbsUp: _angular_core.OutputEmitterRef<{
|
|
4780
5131
|
message: Message;
|
|
4781
5132
|
}>;
|
|
@@ -4841,10 +5192,10 @@ declare class CopilotChatViewScrollView implements AfterViewInit, OnDestroy {
|
|
|
4841
5192
|
* Matches React implementation exactly with same Tailwind classes
|
|
4842
5193
|
*/
|
|
4843
5194
|
declare class CopilotChatViewFeather {
|
|
4844
|
-
inputClass: _angular_core.InputSignal<string>;
|
|
5195
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
4845
5196
|
style: _angular_core.InputSignal<{
|
|
4846
5197
|
[key: string]: any;
|
|
4847
|
-
}>;
|
|
5198
|
+
} | undefined>;
|
|
4848
5199
|
get computedClass(): string;
|
|
4849
5200
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotChatViewFeather, never>;
|
|
4850
5201
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotChatViewFeather, "copilot-chat-view-feather", never, { "inputClass": { "alias": "inputClass"; "required": false; "isSignal": true; }; "style": { "alias": "style"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -4856,8 +5207,8 @@ declare class CopilotChatViewFeather {
|
|
|
4856
5207
|
* Integrates with CopilotChatConfigurationService for labels
|
|
4857
5208
|
*/
|
|
4858
5209
|
declare class CopilotChatViewDisclaimer {
|
|
4859
|
-
inputClass: _angular_core.InputSignal<string>;
|
|
4860
|
-
text: _angular_core.InputSignal<string>;
|
|
5210
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
5211
|
+
text: _angular_core.InputSignal<string | undefined>;
|
|
4861
5212
|
readonly labels: _copilotkit_angular.CopilotChatLabels;
|
|
4862
5213
|
get disclaimerText(): string;
|
|
4863
5214
|
get computedClass(): string;
|
|
@@ -4871,13 +5222,13 @@ declare class CopilotChatViewDisclaimer {
|
|
|
4871
5222
|
* Uses ForwardRef for DOM access
|
|
4872
5223
|
*/
|
|
4873
5224
|
declare class CopilotChatViewInputContainer extends ElementRef {
|
|
4874
|
-
readonly chatState: ChatState;
|
|
4875
|
-
inputContainerClass: _angular_core.InputSignal<string>;
|
|
5225
|
+
readonly chatState: ChatState | null;
|
|
5226
|
+
inputContainerClass: _angular_core.InputSignal<string | undefined>;
|
|
4876
5227
|
input: _angular_core.InputSignal<any>;
|
|
4877
|
-
inputClass: _angular_core.InputSignal<string>;
|
|
5228
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
4878
5229
|
disclaimer: _angular_core.InputSignal<any>;
|
|
4879
|
-
disclaimerText: _angular_core.InputSignal<string>;
|
|
4880
|
-
disclaimerClass: _angular_core.InputSignal<string>;
|
|
5230
|
+
disclaimerText: _angular_core.InputSignal<string | undefined>;
|
|
5231
|
+
disclaimerClass: _angular_core.InputSignal<string | undefined>;
|
|
4881
5232
|
protected readonly defaultInputComponent: typeof CopilotChatInput;
|
|
4882
5233
|
protected readonly defaultDisclaimerComponent: typeof CopilotChatViewDisclaimer;
|
|
4883
5234
|
constructor(elementRef: ElementRef);
|
|
@@ -4899,30 +5250,34 @@ declare class CopilotChatViewInputContainer extends ElementRef {
|
|
|
4899
5250
|
* </copilot-chat-view>
|
|
4900
5251
|
* ```
|
|
4901
5252
|
*/
|
|
4902
|
-
declare class CopilotChatView implements OnInit, OnChanges
|
|
4903
|
-
private resizeObserverService;
|
|
4904
|
-
private cdr;
|
|
5253
|
+
declare class CopilotChatView implements OnInit, OnChanges {
|
|
4905
5254
|
private handlers;
|
|
4906
|
-
protected readonly chatState: ChatState;
|
|
5255
|
+
protected readonly chatState: ChatState | null;
|
|
4907
5256
|
protected readonly UploadIcon: CopilotIconData;
|
|
4908
5257
|
messages: _angular_core.InputSignal<({
|
|
5258
|
+
id: string;
|
|
4909
5259
|
role: "developer";
|
|
4910
5260
|
content: string;
|
|
4911
|
-
id: string;
|
|
4912
5261
|
name?: string | undefined;
|
|
4913
5262
|
encryptedValue?: string | undefined;
|
|
5263
|
+
metadata?: Record<string, any> | undefined;
|
|
5264
|
+
subagentRunId?: string | undefined;
|
|
4914
5265
|
} | {
|
|
5266
|
+
id: string;
|
|
4915
5267
|
role: "system";
|
|
4916
5268
|
content: string;
|
|
4917
|
-
id: string;
|
|
4918
5269
|
name?: string | undefined;
|
|
4919
5270
|
encryptedValue?: string | undefined;
|
|
5271
|
+
metadata?: Record<string, any> | undefined;
|
|
5272
|
+
subagentRunId?: string | undefined;
|
|
4920
5273
|
} | {
|
|
4921
|
-
role: "assistant";
|
|
4922
5274
|
id: string;
|
|
5275
|
+
role: "assistant";
|
|
4923
5276
|
name?: string | undefined;
|
|
4924
|
-
content?: string | undefined;
|
|
4925
5277
|
encryptedValue?: string | undefined;
|
|
5278
|
+
metadata?: Record<string, any> | undefined;
|
|
5279
|
+
content?: string | undefined;
|
|
5280
|
+
subagentRunId?: string | undefined;
|
|
4926
5281
|
toolCalls?: {
|
|
4927
5282
|
function: {
|
|
4928
5283
|
name: string;
|
|
@@ -4931,8 +5286,10 @@ declare class CopilotChatView implements OnInit, OnChanges, AfterViewInit, OnDes
|
|
|
4931
5286
|
type: "function";
|
|
4932
5287
|
id: string;
|
|
4933
5288
|
encryptedValue?: string | undefined;
|
|
5289
|
+
metadata?: Record<string, any> | undefined;
|
|
4934
5290
|
}[] | undefined;
|
|
4935
5291
|
} | {
|
|
5292
|
+
id: string;
|
|
4936
5293
|
role: "user";
|
|
4937
5294
|
content: string | ({
|
|
4938
5295
|
type: "text";
|
|
@@ -4940,48 +5297,48 @@ declare class CopilotChatView implements OnInit, OnChanges, AfterViewInit, OnDes
|
|
|
4940
5297
|
} | {
|
|
4941
5298
|
type: "image";
|
|
4942
5299
|
source: {
|
|
4943
|
-
type: "data";
|
|
4944
5300
|
value: string;
|
|
5301
|
+
type: "data";
|
|
4945
5302
|
mimeType: string;
|
|
4946
5303
|
} | {
|
|
4947
|
-
type: "url";
|
|
4948
5304
|
value: string;
|
|
5305
|
+
type: "url";
|
|
4949
5306
|
mimeType?: string | undefined;
|
|
4950
5307
|
};
|
|
4951
5308
|
metadata?: unknown;
|
|
4952
5309
|
} | {
|
|
4953
5310
|
type: "audio";
|
|
4954
5311
|
source: {
|
|
4955
|
-
type: "data";
|
|
4956
5312
|
value: string;
|
|
5313
|
+
type: "data";
|
|
4957
5314
|
mimeType: string;
|
|
4958
5315
|
} | {
|
|
4959
|
-
type: "url";
|
|
4960
5316
|
value: string;
|
|
5317
|
+
type: "url";
|
|
4961
5318
|
mimeType?: string | undefined;
|
|
4962
5319
|
};
|
|
4963
5320
|
metadata?: unknown;
|
|
4964
5321
|
} | {
|
|
4965
5322
|
type: "video";
|
|
4966
5323
|
source: {
|
|
4967
|
-
type: "data";
|
|
4968
5324
|
value: string;
|
|
5325
|
+
type: "data";
|
|
4969
5326
|
mimeType: string;
|
|
4970
5327
|
} | {
|
|
4971
|
-
type: "url";
|
|
4972
5328
|
value: string;
|
|
5329
|
+
type: "url";
|
|
4973
5330
|
mimeType?: string | undefined;
|
|
4974
5331
|
};
|
|
4975
5332
|
metadata?: unknown;
|
|
4976
5333
|
} | {
|
|
4977
5334
|
type: "document";
|
|
4978
5335
|
source: {
|
|
4979
|
-
type: "data";
|
|
4980
5336
|
value: string;
|
|
5337
|
+
type: "data";
|
|
4981
5338
|
mimeType: string;
|
|
4982
5339
|
} | {
|
|
4983
|
-
type: "url";
|
|
4984
5340
|
value: string;
|
|
5341
|
+
type: "url";
|
|
4985
5342
|
mimeType?: string | undefined;
|
|
4986
5343
|
};
|
|
4987
5344
|
metadata?: unknown;
|
|
@@ -4993,63 +5350,70 @@ declare class CopilotChatView implements OnInit, OnChanges, AfterViewInit, OnDes
|
|
|
4993
5350
|
url?: string | undefined;
|
|
4994
5351
|
filename?: string | undefined;
|
|
4995
5352
|
})[];
|
|
4996
|
-
id: string;
|
|
4997
5353
|
name?: string | undefined;
|
|
4998
5354
|
encryptedValue?: string | undefined;
|
|
5355
|
+
metadata?: Record<string, any> | undefined;
|
|
5356
|
+
subagentRunId?: string | undefined;
|
|
4999
5357
|
} | {
|
|
5358
|
+
id: string;
|
|
5000
5359
|
role: "tool";
|
|
5001
|
-
toolCallId: string;
|
|
5002
5360
|
content: string;
|
|
5003
|
-
|
|
5361
|
+
toolCallId: string;
|
|
5004
5362
|
encryptedValue?: string | undefined;
|
|
5363
|
+
metadata?: Record<string, any> | undefined;
|
|
5364
|
+
subagentRunId?: string | undefined;
|
|
5005
5365
|
error?: string | undefined;
|
|
5006
5366
|
} | {
|
|
5367
|
+
id: string;
|
|
5007
5368
|
role: "activity";
|
|
5008
5369
|
content: Record<string, any>;
|
|
5009
|
-
id: string;
|
|
5010
5370
|
activityType: string;
|
|
5371
|
+
metadata?: Record<string, any> | undefined;
|
|
5372
|
+
subagentRunId?: string | undefined;
|
|
5011
5373
|
} | {
|
|
5374
|
+
id: string;
|
|
5012
5375
|
role: "reasoning";
|
|
5013
5376
|
content: string;
|
|
5014
|
-
id: string;
|
|
5015
5377
|
encryptedValue?: string | undefined;
|
|
5378
|
+
metadata?: Record<string, any> | undefined;
|
|
5379
|
+
subagentRunId?: string | undefined;
|
|
5016
5380
|
})[]>;
|
|
5017
5381
|
/** Current agent state forwarded to message-view extension slots. */
|
|
5018
5382
|
state: _angular_core.InputSignal<unknown>;
|
|
5019
|
-
agentId: _angular_core.InputSignal<string>;
|
|
5383
|
+
agentId: _angular_core.InputSignal<string | undefined>;
|
|
5020
5384
|
autoScroll: _angular_core.InputSignal<boolean>;
|
|
5021
5385
|
showCursor: _angular_core.InputSignal<boolean>;
|
|
5022
5386
|
hasExplicitThreadId: _angular_core.InputSignal<boolean>;
|
|
5023
|
-
messageViewComponent: _angular_core.InputSignal<Type<any
|
|
5024
|
-
messageViewTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
5025
|
-
messageViewClass: _angular_core.InputSignal<string>;
|
|
5026
|
-
assistantMessageComponent: _angular_core.InputSignal<Type<any
|
|
5027
|
-
assistantMessageTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
5028
|
-
assistantMessageClass: _angular_core.InputSignal<string>;
|
|
5029
|
-
reasoningMessageComponent: _angular_core.InputSignal<Type<any
|
|
5030
|
-
reasoningMessageTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
5031
|
-
reasoningMessageClass: _angular_core.InputSignal<string>;
|
|
5032
|
-
messageViewChildrenComponent: _angular_core.InputSignal<Type<any
|
|
5033
|
-
messageViewChildrenTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
5034
|
-
messageViewChildrenClass: _angular_core.InputSignal<string>;
|
|
5035
|
-
scrollViewComponent: _angular_core.InputSignal<Type<any
|
|
5036
|
-
scrollViewTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
5037
|
-
scrollViewClass: _angular_core.InputSignal<string>;
|
|
5038
|
-
scrollToBottomButtonComponent: _angular_core.InputSignal<Type<any
|
|
5039
|
-
scrollToBottomButtonTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
5040
|
-
scrollToBottomButtonClass: _angular_core.InputSignal<string>;
|
|
5041
|
-
inputComponent: _angular_core.InputSignal<Type<any
|
|
5042
|
-
inputTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
5043
|
-
inputContainerComponent: _angular_core.InputSignal<Type<any
|
|
5044
|
-
inputContainerTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
5045
|
-
inputContainerClass: _angular_core.InputSignal<string>;
|
|
5046
|
-
featherComponent: _angular_core.InputSignal<Type<any
|
|
5047
|
-
featherTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
5048
|
-
featherClass: _angular_core.InputSignal<string>;
|
|
5049
|
-
disclaimerComponent: _angular_core.InputSignal<Type<any
|
|
5050
|
-
disclaimerTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
5051
|
-
disclaimerClass: _angular_core.InputSignal<string>;
|
|
5052
|
-
disclaimerText: _angular_core.InputSignal<string>;
|
|
5387
|
+
messageViewComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
5388
|
+
messageViewTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
5389
|
+
messageViewClass: _angular_core.InputSignal<string | undefined>;
|
|
5390
|
+
assistantMessageComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
5391
|
+
assistantMessageTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
5392
|
+
assistantMessageClass: _angular_core.InputSignal<string | undefined>;
|
|
5393
|
+
reasoningMessageComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
5394
|
+
reasoningMessageTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
5395
|
+
reasoningMessageClass: _angular_core.InputSignal<string | undefined>;
|
|
5396
|
+
messageViewChildrenComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
5397
|
+
messageViewChildrenTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
5398
|
+
messageViewChildrenClass: _angular_core.InputSignal<string | undefined>;
|
|
5399
|
+
scrollViewComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
5400
|
+
scrollViewTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
5401
|
+
scrollViewClass: _angular_core.InputSignal<string | undefined>;
|
|
5402
|
+
scrollToBottomButtonComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
5403
|
+
scrollToBottomButtonTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
5404
|
+
scrollToBottomButtonClass: _angular_core.InputSignal<string | undefined>;
|
|
5405
|
+
inputComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
5406
|
+
inputTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
5407
|
+
inputContainerComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
5408
|
+
inputContainerTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
5409
|
+
inputContainerClass: _angular_core.InputSignal<string | undefined>;
|
|
5410
|
+
featherComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
5411
|
+
featherTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
5412
|
+
featherClass: _angular_core.InputSignal<string | undefined>;
|
|
5413
|
+
disclaimerComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
5414
|
+
disclaimerTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
5415
|
+
disclaimerClass: _angular_core.InputSignal<string | undefined>;
|
|
5416
|
+
disclaimerText: _angular_core.InputSignal<string | undefined>;
|
|
5053
5417
|
customLayoutTemplate?: TemplateRef<any>;
|
|
5054
5418
|
sendButtonTemplate?: TemplateRef<any>;
|
|
5055
5419
|
toolbarTemplate?: TemplateRef<any>;
|
|
@@ -5078,7 +5442,6 @@ declare class CopilotChatView implements OnInit, OnChanges, AfterViewInit, OnDes
|
|
|
5078
5442
|
userMessageEdit: _angular_core.OutputEmitterRef<{
|
|
5079
5443
|
message: Message;
|
|
5080
5444
|
}>;
|
|
5081
|
-
inputContainerSlotRef?: ElementRef;
|
|
5082
5445
|
protected readonly defaultScrollViewComponent: typeof CopilotChatViewScrollView;
|
|
5083
5446
|
protected readonly defaultScrollToBottomButtonComponent: typeof CopilotChatViewScrollToBottomButton;
|
|
5084
5447
|
protected readonly defaultInputContainerComponent: typeof CopilotChatViewInputContainer;
|
|
@@ -5087,23 +5450,29 @@ declare class CopilotChatView implements OnInit, OnChanges, AfterViewInit, OnDes
|
|
|
5087
5450
|
protected readonly defaultDisclaimerComponent: typeof CopilotChatViewDisclaimer;
|
|
5088
5451
|
protected readonly labels: _copilotkit_angular.CopilotChatLabels;
|
|
5089
5452
|
protected messagesValue: _angular_core.Signal<({
|
|
5453
|
+
id: string;
|
|
5090
5454
|
role: "developer";
|
|
5091
5455
|
content: string;
|
|
5092
|
-
id: string;
|
|
5093
5456
|
name?: string | undefined;
|
|
5094
5457
|
encryptedValue?: string | undefined;
|
|
5458
|
+
metadata?: Record<string, any> | undefined;
|
|
5459
|
+
subagentRunId?: string | undefined;
|
|
5095
5460
|
} | {
|
|
5461
|
+
id: string;
|
|
5096
5462
|
role: "system";
|
|
5097
5463
|
content: string;
|
|
5098
|
-
id: string;
|
|
5099
5464
|
name?: string | undefined;
|
|
5100
5465
|
encryptedValue?: string | undefined;
|
|
5466
|
+
metadata?: Record<string, any> | undefined;
|
|
5467
|
+
subagentRunId?: string | undefined;
|
|
5101
5468
|
} | {
|
|
5102
|
-
role: "assistant";
|
|
5103
5469
|
id: string;
|
|
5470
|
+
role: "assistant";
|
|
5104
5471
|
name?: string | undefined;
|
|
5105
|
-
content?: string | undefined;
|
|
5106
5472
|
encryptedValue?: string | undefined;
|
|
5473
|
+
metadata?: Record<string, any> | undefined;
|
|
5474
|
+
content?: string | undefined;
|
|
5475
|
+
subagentRunId?: string | undefined;
|
|
5107
5476
|
toolCalls?: {
|
|
5108
5477
|
function: {
|
|
5109
5478
|
name: string;
|
|
@@ -5112,8 +5481,10 @@ declare class CopilotChatView implements OnInit, OnChanges, AfterViewInit, OnDes
|
|
|
5112
5481
|
type: "function";
|
|
5113
5482
|
id: string;
|
|
5114
5483
|
encryptedValue?: string | undefined;
|
|
5484
|
+
metadata?: Record<string, any> | undefined;
|
|
5115
5485
|
}[] | undefined;
|
|
5116
5486
|
} | {
|
|
5487
|
+
id: string;
|
|
5117
5488
|
role: "user";
|
|
5118
5489
|
content: string | ({
|
|
5119
5490
|
type: "text";
|
|
@@ -5121,48 +5492,48 @@ declare class CopilotChatView implements OnInit, OnChanges, AfterViewInit, OnDes
|
|
|
5121
5492
|
} | {
|
|
5122
5493
|
type: "image";
|
|
5123
5494
|
source: {
|
|
5124
|
-
type: "data";
|
|
5125
5495
|
value: string;
|
|
5496
|
+
type: "data";
|
|
5126
5497
|
mimeType: string;
|
|
5127
5498
|
} | {
|
|
5128
|
-
type: "url";
|
|
5129
5499
|
value: string;
|
|
5500
|
+
type: "url";
|
|
5130
5501
|
mimeType?: string | undefined;
|
|
5131
5502
|
};
|
|
5132
5503
|
metadata?: unknown;
|
|
5133
5504
|
} | {
|
|
5134
5505
|
type: "audio";
|
|
5135
5506
|
source: {
|
|
5136
|
-
type: "data";
|
|
5137
5507
|
value: string;
|
|
5508
|
+
type: "data";
|
|
5138
5509
|
mimeType: string;
|
|
5139
5510
|
} | {
|
|
5140
|
-
type: "url";
|
|
5141
5511
|
value: string;
|
|
5512
|
+
type: "url";
|
|
5142
5513
|
mimeType?: string | undefined;
|
|
5143
5514
|
};
|
|
5144
5515
|
metadata?: unknown;
|
|
5145
5516
|
} | {
|
|
5146
5517
|
type: "video";
|
|
5147
5518
|
source: {
|
|
5148
|
-
type: "data";
|
|
5149
5519
|
value: string;
|
|
5520
|
+
type: "data";
|
|
5150
5521
|
mimeType: string;
|
|
5151
5522
|
} | {
|
|
5152
|
-
type: "url";
|
|
5153
5523
|
value: string;
|
|
5524
|
+
type: "url";
|
|
5154
5525
|
mimeType?: string | undefined;
|
|
5155
5526
|
};
|
|
5156
5527
|
metadata?: unknown;
|
|
5157
5528
|
} | {
|
|
5158
5529
|
type: "document";
|
|
5159
5530
|
source: {
|
|
5160
|
-
type: "data";
|
|
5161
5531
|
value: string;
|
|
5532
|
+
type: "data";
|
|
5162
5533
|
mimeType: string;
|
|
5163
5534
|
} | {
|
|
5164
|
-
type: "url";
|
|
5165
5535
|
value: string;
|
|
5536
|
+
type: "url";
|
|
5166
5537
|
mimeType?: string | undefined;
|
|
5167
5538
|
};
|
|
5168
5539
|
metadata?: unknown;
|
|
@@ -5174,67 +5545,81 @@ declare class CopilotChatView implements OnInit, OnChanges, AfterViewInit, OnDes
|
|
|
5174
5545
|
url?: string | undefined;
|
|
5175
5546
|
filename?: string | undefined;
|
|
5176
5547
|
})[];
|
|
5177
|
-
id: string;
|
|
5178
5548
|
name?: string | undefined;
|
|
5179
5549
|
encryptedValue?: string | undefined;
|
|
5550
|
+
metadata?: Record<string, any> | undefined;
|
|
5551
|
+
subagentRunId?: string | undefined;
|
|
5180
5552
|
} | {
|
|
5553
|
+
id: string;
|
|
5181
5554
|
role: "tool";
|
|
5182
|
-
toolCallId: string;
|
|
5183
5555
|
content: string;
|
|
5184
|
-
|
|
5556
|
+
toolCallId: string;
|
|
5185
5557
|
encryptedValue?: string | undefined;
|
|
5558
|
+
metadata?: Record<string, any> | undefined;
|
|
5559
|
+
subagentRunId?: string | undefined;
|
|
5186
5560
|
error?: string | undefined;
|
|
5187
5561
|
} | {
|
|
5562
|
+
id: string;
|
|
5188
5563
|
role: "activity";
|
|
5189
5564
|
content: Record<string, any>;
|
|
5190
|
-
id: string;
|
|
5191
5565
|
activityType: string;
|
|
5566
|
+
metadata?: Record<string, any> | undefined;
|
|
5567
|
+
subagentRunId?: string | undefined;
|
|
5192
5568
|
} | {
|
|
5569
|
+
id: string;
|
|
5193
5570
|
role: "reasoning";
|
|
5194
5571
|
content: string;
|
|
5195
|
-
id: string;
|
|
5196
5572
|
encryptedValue?: string | undefined;
|
|
5573
|
+
metadata?: Record<string, any> | undefined;
|
|
5574
|
+
subagentRunId?: string | undefined;
|
|
5197
5575
|
})[]>;
|
|
5198
5576
|
protected autoScrollSignal: _angular_core.Signal<boolean>;
|
|
5199
5577
|
protected showCursorSignal: _angular_core.Signal<boolean>;
|
|
5200
|
-
protected disclaimerTextSignal: _angular_core.Signal<string>;
|
|
5201
|
-
protected disclaimerClassSignal: _angular_core.Signal<string>;
|
|
5202
|
-
|
|
5203
|
-
protected
|
|
5578
|
+
protected disclaimerTextSignal: _angular_core.Signal<string | undefined>;
|
|
5579
|
+
protected disclaimerClassSignal: _angular_core.Signal<string | undefined>;
|
|
5580
|
+
private readonly inputMeasure;
|
|
5581
|
+
protected readonly inputContainerHeight: _angular_core.Signal<number>;
|
|
5582
|
+
protected readonly isResizing: _angular_core.Signal<boolean>;
|
|
5204
5583
|
protected shouldShowWelcomeScreen: _angular_core.Signal<boolean>;
|
|
5205
5584
|
protected computedClass: _angular_core.Signal<string>;
|
|
5206
5585
|
protected dropOverlayClass: _angular_core.Signal<string>;
|
|
5207
|
-
protected messageViewSlot: _angular_core.Signal<Type<any> | TemplateRef<any
|
|
5208
|
-
protected scrollViewSlot: _angular_core.Signal<Type<any> | TemplateRef<any
|
|
5209
|
-
protected scrollToBottomButtonSlot: _angular_core.Signal<Type<any> | TemplateRef<any
|
|
5210
|
-
protected inputSlot: _angular_core.Signal<Type<any> | TemplateRef<any
|
|
5211
|
-
protected inputContainerSlot: _angular_core.Signal<Type<any> | TemplateRef<any
|
|
5212
|
-
protected featherSlot: _angular_core.Signal<Type<any> | TemplateRef<any
|
|
5213
|
-
protected disclaimerSlot: _angular_core.Signal<Type<any> | TemplateRef<any
|
|
5586
|
+
protected messageViewSlot: _angular_core.Signal<Type<any> | TemplateRef<any> | undefined>;
|
|
5587
|
+
protected scrollViewSlot: _angular_core.Signal<Type<any> | TemplateRef<any> | undefined>;
|
|
5588
|
+
protected scrollToBottomButtonSlot: _angular_core.Signal<Type<any> | TemplateRef<any> | undefined>;
|
|
5589
|
+
protected inputSlot: _angular_core.Signal<Type<any> | TemplateRef<any> | undefined>;
|
|
5590
|
+
protected inputContainerSlot: _angular_core.Signal<Type<any> | TemplateRef<any> | undefined>;
|
|
5591
|
+
protected featherSlot: _angular_core.Signal<Type<any> | TemplateRef<any> | undefined>;
|
|
5592
|
+
protected disclaimerSlot: _angular_core.Signal<Type<any> | TemplateRef<any> | undefined>;
|
|
5214
5593
|
protected scrollViewContext: _angular_core.Signal<{
|
|
5215
5594
|
autoScroll: boolean;
|
|
5216
|
-
scrollToBottomButton: Type<any> | TemplateRef<any
|
|
5217
|
-
scrollToBottomButtonClass: string;
|
|
5595
|
+
scrollToBottomButton: Type<any> | TemplateRef<any> | undefined;
|
|
5596
|
+
scrollToBottomButtonClass: string | undefined;
|
|
5218
5597
|
inputContainerHeight: number;
|
|
5219
5598
|
isResizing: boolean;
|
|
5220
5599
|
messages: ({
|
|
5600
|
+
id: string;
|
|
5221
5601
|
role: "developer";
|
|
5222
5602
|
content: string;
|
|
5223
|
-
id: string;
|
|
5224
5603
|
name?: string | undefined;
|
|
5225
5604
|
encryptedValue?: string | undefined;
|
|
5605
|
+
metadata?: Record<string, any> | undefined;
|
|
5606
|
+
subagentRunId?: string | undefined;
|
|
5226
5607
|
} | {
|
|
5608
|
+
id: string;
|
|
5227
5609
|
role: "system";
|
|
5228
5610
|
content: string;
|
|
5229
|
-
id: string;
|
|
5230
5611
|
name?: string | undefined;
|
|
5231
5612
|
encryptedValue?: string | undefined;
|
|
5613
|
+
metadata?: Record<string, any> | undefined;
|
|
5614
|
+
subagentRunId?: string | undefined;
|
|
5232
5615
|
} | {
|
|
5233
|
-
role: "assistant";
|
|
5234
5616
|
id: string;
|
|
5617
|
+
role: "assistant";
|
|
5235
5618
|
name?: string | undefined;
|
|
5236
|
-
content?: string | undefined;
|
|
5237
5619
|
encryptedValue?: string | undefined;
|
|
5620
|
+
metadata?: Record<string, any> | undefined;
|
|
5621
|
+
content?: string | undefined;
|
|
5622
|
+
subagentRunId?: string | undefined;
|
|
5238
5623
|
toolCalls?: {
|
|
5239
5624
|
function: {
|
|
5240
5625
|
name: string;
|
|
@@ -5243,8 +5628,10 @@ declare class CopilotChatView implements OnInit, OnChanges, AfterViewInit, OnDes
|
|
|
5243
5628
|
type: "function";
|
|
5244
5629
|
id: string;
|
|
5245
5630
|
encryptedValue?: string | undefined;
|
|
5631
|
+
metadata?: Record<string, any> | undefined;
|
|
5246
5632
|
}[] | undefined;
|
|
5247
5633
|
} | {
|
|
5634
|
+
id: string;
|
|
5248
5635
|
role: "user";
|
|
5249
5636
|
content: string | ({
|
|
5250
5637
|
type: "text";
|
|
@@ -5252,48 +5639,48 @@ declare class CopilotChatView implements OnInit, OnChanges, AfterViewInit, OnDes
|
|
|
5252
5639
|
} | {
|
|
5253
5640
|
type: "image";
|
|
5254
5641
|
source: {
|
|
5255
|
-
type: "data";
|
|
5256
5642
|
value: string;
|
|
5643
|
+
type: "data";
|
|
5257
5644
|
mimeType: string;
|
|
5258
5645
|
} | {
|
|
5259
|
-
type: "url";
|
|
5260
5646
|
value: string;
|
|
5647
|
+
type: "url";
|
|
5261
5648
|
mimeType?: string | undefined;
|
|
5262
5649
|
};
|
|
5263
5650
|
metadata?: unknown;
|
|
5264
5651
|
} | {
|
|
5265
5652
|
type: "audio";
|
|
5266
5653
|
source: {
|
|
5267
|
-
type: "data";
|
|
5268
5654
|
value: string;
|
|
5655
|
+
type: "data";
|
|
5269
5656
|
mimeType: string;
|
|
5270
5657
|
} | {
|
|
5271
|
-
type: "url";
|
|
5272
5658
|
value: string;
|
|
5659
|
+
type: "url";
|
|
5273
5660
|
mimeType?: string | undefined;
|
|
5274
5661
|
};
|
|
5275
5662
|
metadata?: unknown;
|
|
5276
5663
|
} | {
|
|
5277
5664
|
type: "video";
|
|
5278
5665
|
source: {
|
|
5279
|
-
type: "data";
|
|
5280
5666
|
value: string;
|
|
5667
|
+
type: "data";
|
|
5281
5668
|
mimeType: string;
|
|
5282
5669
|
} | {
|
|
5283
|
-
type: "url";
|
|
5284
5670
|
value: string;
|
|
5671
|
+
type: "url";
|
|
5285
5672
|
mimeType?: string | undefined;
|
|
5286
5673
|
};
|
|
5287
5674
|
metadata?: unknown;
|
|
5288
5675
|
} | {
|
|
5289
5676
|
type: "document";
|
|
5290
5677
|
source: {
|
|
5291
|
-
type: "data";
|
|
5292
5678
|
value: string;
|
|
5679
|
+
type: "data";
|
|
5293
5680
|
mimeType: string;
|
|
5294
5681
|
} | {
|
|
5295
|
-
type: "url";
|
|
5296
5682
|
value: string;
|
|
5683
|
+
type: "url";
|
|
5297
5684
|
mimeType?: string | undefined;
|
|
5298
5685
|
};
|
|
5299
5686
|
metadata?: unknown;
|
|
@@ -5305,73 +5692,106 @@ declare class CopilotChatView implements OnInit, OnChanges, AfterViewInit, OnDes
|
|
|
5305
5692
|
url?: string | undefined;
|
|
5306
5693
|
filename?: string | undefined;
|
|
5307
5694
|
})[];
|
|
5308
|
-
id: string;
|
|
5309
5695
|
name?: string | undefined;
|
|
5310
5696
|
encryptedValue?: string | undefined;
|
|
5697
|
+
metadata?: Record<string, any> | undefined;
|
|
5698
|
+
subagentRunId?: string | undefined;
|
|
5311
5699
|
} | {
|
|
5700
|
+
id: string;
|
|
5312
5701
|
role: "tool";
|
|
5313
|
-
toolCallId: string;
|
|
5314
5702
|
content: string;
|
|
5315
|
-
|
|
5703
|
+
toolCallId: string;
|
|
5316
5704
|
encryptedValue?: string | undefined;
|
|
5705
|
+
metadata?: Record<string, any> | undefined;
|
|
5706
|
+
subagentRunId?: string | undefined;
|
|
5317
5707
|
error?: string | undefined;
|
|
5318
5708
|
} | {
|
|
5709
|
+
id: string;
|
|
5319
5710
|
role: "activity";
|
|
5320
5711
|
content: Record<string, any>;
|
|
5321
|
-
id: string;
|
|
5322
5712
|
activityType: string;
|
|
5713
|
+
metadata?: Record<string, any> | undefined;
|
|
5714
|
+
subagentRunId?: string | undefined;
|
|
5323
5715
|
} | {
|
|
5716
|
+
id: string;
|
|
5324
5717
|
role: "reasoning";
|
|
5325
5718
|
content: string;
|
|
5326
|
-
id: string;
|
|
5327
5719
|
encryptedValue?: string | undefined;
|
|
5720
|
+
metadata?: Record<string, any> | undefined;
|
|
5721
|
+
subagentRunId?: string | undefined;
|
|
5328
5722
|
})[];
|
|
5329
5723
|
state: unknown;
|
|
5330
|
-
agentId: string;
|
|
5331
|
-
messageView: Type<any> | TemplateRef<any
|
|
5332
|
-
messageViewClass: string;
|
|
5333
|
-
assistantMessageComponent: Type<any
|
|
5334
|
-
assistantMessageTemplate: TemplateRef<any
|
|
5335
|
-
assistantMessageClass: string;
|
|
5336
|
-
reasoningMessageComponent: Type<any
|
|
5337
|
-
reasoningMessageTemplate: TemplateRef<any
|
|
5338
|
-
reasoningMessageClass: string;
|
|
5339
|
-
messageViewChildrenComponent: Type<any
|
|
5340
|
-
messageViewChildrenTemplate: TemplateRef<any
|
|
5341
|
-
messageViewChildrenClass: string;
|
|
5724
|
+
agentId: string | undefined;
|
|
5725
|
+
messageView: Type<any> | TemplateRef<any> | undefined;
|
|
5726
|
+
messageViewClass: string | undefined;
|
|
5727
|
+
assistantMessageComponent: Type<any> | undefined;
|
|
5728
|
+
assistantMessageTemplate: TemplateRef<any> | undefined;
|
|
5729
|
+
assistantMessageClass: string | undefined;
|
|
5730
|
+
reasoningMessageComponent: Type<any> | undefined;
|
|
5731
|
+
reasoningMessageTemplate: TemplateRef<any> | undefined;
|
|
5732
|
+
reasoningMessageClass: string | undefined;
|
|
5733
|
+
messageViewChildrenComponent: Type<any> | undefined;
|
|
5734
|
+
messageViewChildrenTemplate: TemplateRef<any> | undefined;
|
|
5735
|
+
messageViewChildrenClass: string | undefined;
|
|
5342
5736
|
}>;
|
|
5343
5737
|
protected inputContainerContext: _angular_core.Signal<{
|
|
5344
|
-
input: Type<any> | TemplateRef<any
|
|
5345
|
-
disclaimer: Type<any> | TemplateRef<any
|
|
5346
|
-
disclaimerText: string;
|
|
5347
|
-
disclaimerClass: string;
|
|
5348
|
-
inputContainerClass: string;
|
|
5738
|
+
input: Type<any> | TemplateRef<any> | undefined;
|
|
5739
|
+
disclaimer: Type<any> | TemplateRef<any> | undefined;
|
|
5740
|
+
disclaimerText: string | undefined;
|
|
5741
|
+
disclaimerClass: string | undefined;
|
|
5742
|
+
inputContainerClass: string | undefined;
|
|
5349
5743
|
}>;
|
|
5350
5744
|
protected layoutContext: _angular_core.Signal<{
|
|
5351
|
-
messageView: Type<any> | TemplateRef<any
|
|
5352
|
-
input: Type<any> | TemplateRef<any
|
|
5353
|
-
scrollView: Type<any> | TemplateRef<any
|
|
5354
|
-
scrollToBottomButton: Type<any> | TemplateRef<any
|
|
5355
|
-
feather: Type<any> | TemplateRef<any
|
|
5356
|
-
inputContainer: Type<any> | TemplateRef<any
|
|
5357
|
-
disclaimer: Type<any> | TemplateRef<any
|
|
5745
|
+
messageView: Type<any> | TemplateRef<any> | undefined;
|
|
5746
|
+
input: Type<any> | TemplateRef<any> | undefined;
|
|
5747
|
+
scrollView: Type<any> | TemplateRef<any> | undefined;
|
|
5748
|
+
scrollToBottomButton: Type<any> | TemplateRef<any> | undefined;
|
|
5749
|
+
feather: Type<any> | TemplateRef<any> | undefined;
|
|
5750
|
+
inputContainer: Type<any> | TemplateRef<any> | undefined;
|
|
5751
|
+
disclaimer: Type<any> | TemplateRef<any> | undefined;
|
|
5358
5752
|
}>;
|
|
5359
|
-
|
|
5360
|
-
private resizeTimeoutRef?;
|
|
5361
|
-
private measurementRetryTimeoutRef?;
|
|
5362
|
-
private readonly ngZone;
|
|
5363
|
-
private destroyed;
|
|
5364
|
-
constructor(resizeObserverService: ResizeObserverService, cdr: ChangeDetectorRef, handlers: CopilotChatViewHandlers);
|
|
5753
|
+
constructor(handlers: CopilotChatViewHandlers);
|
|
5365
5754
|
ngOnInit(): void;
|
|
5366
5755
|
ngOnChanges(): void;
|
|
5367
|
-
ngAfterViewInit(): void;
|
|
5368
|
-
/** Schedules a cancellable layout retry without triggering zone-wide ticks. */
|
|
5369
|
-
private scheduleMeasurementRetry;
|
|
5370
|
-
ngOnDestroy(): void;
|
|
5371
5756
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotChatView, never>;
|
|
5372
5757
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotChatView, "copilot-chat-view", never, { "messages": { "alias": "messages"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "agentId": { "alias": "agentId"; "required": false; "isSignal": true; }; "autoScroll": { "alias": "autoScroll"; "required": false; "isSignal": true; }; "showCursor": { "alias": "showCursor"; "required": false; "isSignal": true; }; "hasExplicitThreadId": { "alias": "hasExplicitThreadId"; "required": false; "isSignal": true; }; "messageViewComponent": { "alias": "messageViewComponent"; "required": false; "isSignal": true; }; "messageViewTemplate": { "alias": "messageViewTemplate"; "required": false; "isSignal": true; }; "messageViewClass": { "alias": "messageViewClass"; "required": false; "isSignal": true; }; "assistantMessageComponent": { "alias": "assistantMessageComponent"; "required": false; "isSignal": true; }; "assistantMessageTemplate": { "alias": "assistantMessageTemplate"; "required": false; "isSignal": true; }; "assistantMessageClass": { "alias": "assistantMessageClass"; "required": false; "isSignal": true; }; "reasoningMessageComponent": { "alias": "reasoningMessageComponent"; "required": false; "isSignal": true; }; "reasoningMessageTemplate": { "alias": "reasoningMessageTemplate"; "required": false; "isSignal": true; }; "reasoningMessageClass": { "alias": "reasoningMessageClass"; "required": false; "isSignal": true; }; "messageViewChildrenComponent": { "alias": "messageViewChildrenComponent"; "required": false; "isSignal": true; }; "messageViewChildrenTemplate": { "alias": "messageViewChildrenTemplate"; "required": false; "isSignal": true; }; "messageViewChildrenClass": { "alias": "messageViewChildrenClass"; "required": false; "isSignal": true; }; "scrollViewComponent": { "alias": "scrollViewComponent"; "required": false; "isSignal": true; }; "scrollViewTemplate": { "alias": "scrollViewTemplate"; "required": false; "isSignal": true; }; "scrollViewClass": { "alias": "scrollViewClass"; "required": false; "isSignal": true; }; "scrollToBottomButtonComponent": { "alias": "scrollToBottomButtonComponent"; "required": false; "isSignal": true; }; "scrollToBottomButtonTemplate": { "alias": "scrollToBottomButtonTemplate"; "required": false; "isSignal": true; }; "scrollToBottomButtonClass": { "alias": "scrollToBottomButtonClass"; "required": false; "isSignal": true; }; "inputComponent": { "alias": "inputComponent"; "required": false; "isSignal": true; }; "inputTemplate": { "alias": "inputTemplate"; "required": false; "isSignal": true; }; "inputContainerComponent": { "alias": "inputContainerComponent"; "required": false; "isSignal": true; }; "inputContainerTemplate": { "alias": "inputContainerTemplate"; "required": false; "isSignal": true; }; "inputContainerClass": { "alias": "inputContainerClass"; "required": false; "isSignal": true; }; "featherComponent": { "alias": "featherComponent"; "required": false; "isSignal": true; }; "featherTemplate": { "alias": "featherTemplate"; "required": false; "isSignal": true; }; "featherClass": { "alias": "featherClass"; "required": false; "isSignal": true; }; "disclaimerComponent": { "alias": "disclaimerComponent"; "required": false; "isSignal": true; }; "disclaimerTemplate": { "alias": "disclaimerTemplate"; "required": false; "isSignal": true; }; "disclaimerClass": { "alias": "disclaimerClass"; "required": false; "isSignal": true; }; "disclaimerText": { "alias": "disclaimerText"; "required": false; "isSignal": true; }; }, { "assistantMessageThumbsUp": "assistantMessageThumbsUp"; "assistantMessageThumbsDown": "assistantMessageThumbsDown"; "assistantMessageReadAloud": "assistantMessageReadAloud"; "assistantMessageRegenerate": "assistantMessageRegenerate"; "userMessageCopy": "userMessageCopy"; "userMessageEdit": "userMessageEdit"; }, ["customLayoutTemplate", "sendButtonTemplate", "toolbarTemplate", "textAreaTemplate", "audioRecorderTemplate", "assistantMessageMarkdownRendererTemplate", "thumbsUpButtonTemplate", "thumbsDownButtonTemplate", "readAloudButtonTemplate", "regenerateButtonTemplate"], never, true, never>;
|
|
5373
5758
|
}
|
|
5374
5759
|
|
|
5760
|
+
/**
|
|
5761
|
+
* Measures the chat view's floating input container and exposes its height
|
|
5762
|
+
* as a signal.
|
|
5763
|
+
*
|
|
5764
|
+
* Applied to the copilot-slot hosting the input container. Because the slot
|
|
5765
|
+
* only exists on the chat-view branch of the template (the welcome-screen
|
|
5766
|
+
* branch omits it), the directive's lifecycle mirrors the overlay's: it is
|
|
5767
|
+
* created when the overlay mounts — including after the user sends their
|
|
5768
|
+
* first message from the welcome screen — and torn down with it.
|
|
5769
|
+
*
|
|
5770
|
+
* Measurement is platform-driven: afterNextRender fires once the slot's
|
|
5771
|
+
* dynamically created content is in the DOM (and never during SSR), and the
|
|
5772
|
+
* ResizeObserver keeps the height current from there, including the initial
|
|
5773
|
+
* 0 → laid-out transition.
|
|
5774
|
+
*/
|
|
5775
|
+
declare class CopilotChatViewInputMeasure {
|
|
5776
|
+
private readonly host;
|
|
5777
|
+
private readonly resizeObserverService;
|
|
5778
|
+
private readonly destroyRef;
|
|
5779
|
+
/**
|
|
5780
|
+
* Root element of the input container component — its absolutely
|
|
5781
|
+
* positioned overlay wrapper — once it has been rendered into the slot.
|
|
5782
|
+
* Custom input containers without that element are left unmeasured.
|
|
5783
|
+
*/
|
|
5784
|
+
private readonly target;
|
|
5785
|
+
private readonly state;
|
|
5786
|
+
/** Measured height of the input container in px; 0 until first laid out. */
|
|
5787
|
+
readonly height: _angular_core.Signal<number>;
|
|
5788
|
+
/** True while the input container is resizing, false once it has settled. */
|
|
5789
|
+
readonly resizing: _angular_core.Signal<boolean>;
|
|
5790
|
+
constructor();
|
|
5791
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotChatViewInputMeasure, never>;
|
|
5792
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CopilotChatViewInputMeasure, "[copilotChatViewInputMeasure]", never, {}, {}, never, never, true, never>;
|
|
5793
|
+
}
|
|
5794
|
+
|
|
5375
5795
|
/**
|
|
5376
5796
|
* Props for CopilotChatView component
|
|
5377
5797
|
*/
|
|
@@ -5447,7 +5867,7 @@ declare class CopilotThreadsDrawerRow {
|
|
|
5447
5867
|
* internally by {@link defineCopilotKitThreadsDrawer}) and projects it into the DOM
|
|
5448
5868
|
* via the `CUSTOM_ELEMENTS_SCHEMA`-enabled template.
|
|
5449
5869
|
*
|
|
5450
|
-
* Thread list state is fetched from
|
|
5870
|
+
* Thread list state is fetched from CopilotKit Intelligence via
|
|
5451
5871
|
* {@link injectThreads} and pushed onto the element's JS properties via an
|
|
5452
5872
|
* `effect`, following the imperative property-assignment pattern used elsewhere
|
|
5453
5873
|
* in this package (see `CopilotA2UIActivityRenderer`).
|
|
@@ -5467,7 +5887,7 @@ declare class CopilotThreadsDrawer {
|
|
|
5467
5887
|
* → ambient config's `agentId` → {@link DEFAULT_AGENT_ID}). NOT forwarded to
|
|
5468
5888
|
* the element (the element has no `agentId` property).
|
|
5469
5889
|
*/
|
|
5470
|
-
readonly agentId: _angular_core.InputSignal<string>;
|
|
5890
|
+
readonly agentId: _angular_core.InputSignal<string | undefined>;
|
|
5471
5891
|
/**
|
|
5472
5892
|
* Value applied as the `data-testid` attribute on the inner
|
|
5473
5893
|
* `<copilotkit-threads-drawer>` element. Defaults to `"copilot-threads-drawer"`.
|
|
@@ -5477,13 +5897,13 @@ declare class CopilotThreadsDrawer {
|
|
|
5477
5897
|
* Optional accessible/region + default-header label forwarded to the element's
|
|
5478
5898
|
* `label` property; defaults to the element's own `"Threads"` when unset.
|
|
5479
5899
|
*/
|
|
5480
|
-
readonly label: _angular_core.InputSignal<string>;
|
|
5900
|
+
readonly label: _angular_core.InputSignal<string | undefined>;
|
|
5481
5901
|
/**
|
|
5482
5902
|
* Optional heading for the "Recent Conversations" section, forwarded to the
|
|
5483
5903
|
* element's `recent-label` attribute; defaults to the element's own
|
|
5484
5904
|
* `"Recent Conversations"` when unset.
|
|
5485
5905
|
*/
|
|
5486
|
-
readonly recentLabel: _angular_core.InputSignal<string>;
|
|
5906
|
+
readonly recentLabel: _angular_core.InputSignal<string | undefined>;
|
|
5487
5907
|
/**
|
|
5488
5908
|
* Whether the drawer offers a collapse toggle. Pushed onto the element's
|
|
5489
5909
|
* `collapsible` PROPERTY (a default-true boolean, exactly like `licensed` — a
|
|
@@ -5491,7 +5911,7 @@ declare class CopilotThreadsDrawer {
|
|
|
5491
5911
|
* When `false`, the drawer has no collapse toggle and is always expanded.
|
|
5492
5912
|
* Defaults to the element's own `true` when unset.
|
|
5493
5913
|
*/
|
|
5494
|
-
readonly collapsible: _angular_core.InputSignal<boolean>;
|
|
5914
|
+
readonly collapsible: _angular_core.InputSignal<boolean | undefined>;
|
|
5495
5915
|
/**
|
|
5496
5916
|
* Emits the new collapsed state whenever the drawer's collapsed state changes
|
|
5497
5917
|
* (mirrors the element's `collapse-change` event).
|
|
@@ -5503,7 +5923,7 @@ declare class CopilotThreadsDrawer {
|
|
|
5503
5923
|
* When provided, this callback is invoked instead of driving
|
|
5504
5924
|
* `config.setActiveThreadId`. Bound via `[onThreadSelect]="fn"`.
|
|
5505
5925
|
*/
|
|
5506
|
-
readonly threadSelectHandler: _angular_core.InputSignal<(threadId: string) => void>;
|
|
5926
|
+
readonly threadSelectHandler: _angular_core.InputSignal<((threadId: string) => void) | undefined>;
|
|
5507
5927
|
/**
|
|
5508
5928
|
* Optional host override for the new-thread action.
|
|
5509
5929
|
*
|
|
@@ -5511,27 +5931,27 @@ declare class CopilotThreadsDrawer {
|
|
|
5511
5931
|
* `config.startNewThread`. The core `threads.startNewThread()` reset is
|
|
5512
5932
|
* always called regardless. Bound via `[onNewThread]="fn"`.
|
|
5513
5933
|
*/
|
|
5514
|
-
readonly newThreadHandler: _angular_core.InputSignal<() => void>;
|
|
5934
|
+
readonly newThreadHandler: _angular_core.InputSignal<(() => void) | undefined>;
|
|
5515
5935
|
/**
|
|
5516
5936
|
* Page size for thread pagination. When set, threads load in pages of this
|
|
5517
5937
|
* size and the element shows a "Load more" control while more remain. When
|
|
5518
5938
|
* unset, the full list loads at once and no pagination control shows.
|
|
5519
5939
|
*/
|
|
5520
|
-
readonly limit: _angular_core.InputSignal<number>;
|
|
5940
|
+
readonly limit: _angular_core.InputSignal<number | undefined>;
|
|
5521
5941
|
/**
|
|
5522
5942
|
* Destination the locked view's Upgrade CTA opens in a new tab. Forwarded to
|
|
5523
5943
|
* the element's `licenseUrl` property; defaults to the element's built-in
|
|
5524
5944
|
* CopilotKit Intelligence docs URL when unset. Set to an empty string to
|
|
5525
5945
|
* suppress the default navigation and handle the click via `onLicensed`.
|
|
5526
5946
|
*/
|
|
5527
|
-
readonly licenseUrl: _angular_core.InputSignal<string>;
|
|
5947
|
+
readonly licenseUrl: _angular_core.InputSignal<string | undefined>;
|
|
5528
5948
|
/**
|
|
5529
5949
|
* Optional host hook fired when the locked view's Upgrade CTA is clicked. The
|
|
5530
5950
|
* element still performs its default navigation unless `licenseUrl` is blank;
|
|
5531
5951
|
* use this for telemetry or to drive your own upgrade flow. Bound via
|
|
5532
5952
|
* `[onLicensed]="fn"`.
|
|
5533
5953
|
*/
|
|
5534
|
-
readonly licensedHandler: _angular_core.InputSignal<() => void>;
|
|
5954
|
+
readonly licensedHandler: _angular_core.InputSignal<(() => void) | undefined>;
|
|
5535
5955
|
private readonly config;
|
|
5536
5956
|
private readonly copilotkit;
|
|
5537
5957
|
private readonly drawerRef;
|
|
@@ -5541,7 +5961,7 @@ declare class CopilotThreadsDrawer {
|
|
|
5541
5961
|
* `<copilotkit-threads-drawer>` element for each thread, allowing the host to inject
|
|
5542
5962
|
* custom light-DOM content into each row slot.
|
|
5543
5963
|
*/
|
|
5544
|
-
protected readonly rowDirective: _angular_core.Signal<CopilotThreadsDrawerRow>;
|
|
5964
|
+
protected readonly rowDirective: _angular_core.Signal<CopilotThreadsDrawerRow | undefined>;
|
|
5545
5965
|
/**
|
|
5546
5966
|
* The resolved agent id for the threads store. Precedence:
|
|
5547
5967
|
* 1. `agentId` input prop.
|
|
@@ -5550,8 +5970,8 @@ declare class CopilotThreadsDrawer {
|
|
|
5550
5970
|
*/
|
|
5551
5971
|
protected readonly resolvedAgentId: _angular_core.Signal<string>;
|
|
5552
5972
|
/**
|
|
5553
|
-
* Normalized license context derived from
|
|
5554
|
-
*
|
|
5973
|
+
* Normalized license context derived from Core's structured and legacy
|
|
5974
|
+
* Runtime authority, with the same precedence as the React provider.
|
|
5555
5975
|
*/
|
|
5556
5976
|
private readonly licenseContext;
|
|
5557
5977
|
/**
|
|
@@ -5570,7 +5990,7 @@ declare class CopilotThreadsDrawer {
|
|
|
5570
5990
|
* licensed drawer never flashes (or strands) the Upgrade CTA mid-resolution.
|
|
5571
5991
|
*/
|
|
5572
5992
|
protected readonly licensePending: _angular_core.Signal<boolean>;
|
|
5573
|
-
/** Live thread list from
|
|
5993
|
+
/** Live thread list from CopilotKit Intelligence for the resolved agent. */
|
|
5574
5994
|
protected readonly threads: _copilotkit_angular.InjectThreadsResult;
|
|
5575
5995
|
/** Thread records mapped to the element's {@link DrawerThread} shape. */
|
|
5576
5996
|
protected readonly drawerThreads: _angular_core.Signal<DrawerThread[]>;
|
|
@@ -5580,18 +6000,18 @@ declare class CopilotThreadsDrawer {
|
|
|
5580
6000
|
* errors (missing runtime URL, runtime without thread endpoints) are excluded
|
|
5581
6001
|
* and never displayed to end users.
|
|
5582
6002
|
*/
|
|
5583
|
-
protected readonly errorMessage: _angular_core.Signal<string>;
|
|
6003
|
+
protected readonly errorMessage: _angular_core.Signal<string | null>;
|
|
5584
6004
|
/**
|
|
5585
6005
|
* The currently-active thread id, sourced from the ambient chat
|
|
5586
6006
|
* configuration, or `null` when no configuration is present.
|
|
5587
6007
|
*/
|
|
5588
|
-
protected readonly activeThreadId: _angular_core.Signal<string>;
|
|
6008
|
+
protected readonly activeThreadId: _angular_core.Signal<string | null>;
|
|
5589
6009
|
/**
|
|
5590
6010
|
* User-facing fetch-more error message from the dedicated fetch-more error
|
|
5591
6011
|
* signal, or `null`. Drives the element's inline "couldn't load more — retry"
|
|
5592
6012
|
* panel without disturbing the loaded list or the initial-list `error`.
|
|
5593
6013
|
*/
|
|
5594
|
-
protected readonly fetchMoreErrorMessage: _angular_core.Signal<string>;
|
|
6014
|
+
protected readonly fetchMoreErrorMessage: _angular_core.Signal<string | null>;
|
|
5595
6015
|
private readonly destroyRef;
|
|
5596
6016
|
/**
|
|
5597
6017
|
* Provider-less fallback open-state. Without a surrounding chat configuration
|
|
@@ -5718,7 +6138,7 @@ declare class CopilotPopup {
|
|
|
5718
6138
|
readonly height: _angular_core.InputSignal<string | number>;
|
|
5719
6139
|
readonly clickOutsideToClose: _angular_core.InputSignal<boolean>;
|
|
5720
6140
|
readonly chatComponent: _angular_core.InputSignal<Type<unknown>>;
|
|
5721
|
-
readonly headerComponent: _angular_core.InputSignal<Type<unknown
|
|
6141
|
+
readonly headerComponent: _angular_core.InputSignal<Type<unknown> | undefined>;
|
|
5722
6142
|
protected readonly dialogId: string;
|
|
5723
6143
|
protected readonly titleId: string;
|
|
5724
6144
|
protected readonly resolvedWidth: _angular_core.Signal<string>;
|
|
@@ -5745,7 +6165,7 @@ declare class CopilotSidebar {
|
|
|
5745
6165
|
readonly title: _angular_core.InputSignal<string>;
|
|
5746
6166
|
readonly clickOutsideToClose: _angular_core.InputSignal<boolean>;
|
|
5747
6167
|
readonly chatComponent: _angular_core.InputSignal<Type<unknown>>;
|
|
5748
|
-
readonly headerComponent: _angular_core.InputSignal<Type<unknown
|
|
6168
|
+
readonly headerComponent: _angular_core.InputSignal<Type<unknown> | undefined>;
|
|
5749
6169
|
protected readonly sidebarId: string;
|
|
5750
6170
|
protected readonly titleId: string;
|
|
5751
6171
|
protected readonly resolvedWidth: _angular_core.Signal<string>;
|
|
@@ -5776,12 +6196,14 @@ declare class CopilotA2UIActivityRenderer implements ActivityRenderer<unknown> {
|
|
|
5776
6196
|
readonly activityType: _angular_core.InputSignal<string>;
|
|
5777
6197
|
readonly content: _angular_core.InputSignal<unknown>;
|
|
5778
6198
|
readonly message: _angular_core.InputSignal<{
|
|
6199
|
+
id: string;
|
|
5779
6200
|
role: "activity";
|
|
5780
6201
|
content: Record<string, any>;
|
|
5781
|
-
id: string;
|
|
5782
6202
|
activityType: string;
|
|
6203
|
+
metadata?: Record<string, any> | undefined;
|
|
6204
|
+
subagentRunId?: string | undefined;
|
|
5783
6205
|
}>;
|
|
5784
|
-
readonly agent: _angular_core.InputSignal<AbstractAgent>;
|
|
6206
|
+
readonly agent: _angular_core.InputSignal<AbstractAgent | undefined>;
|
|
5785
6207
|
private readonly surfaceRef;
|
|
5786
6208
|
private readonly copilotKit;
|
|
5787
6209
|
protected readonly config: _copilotkit_angular.CopilotKitConfig;
|
|
@@ -5832,7 +6254,7 @@ declare function readA2UILifecycleContent(content: unknown): A2UILifecycleConten
|
|
|
5832
6254
|
declare class CopilotA2UIRecovery {
|
|
5833
6255
|
#private;
|
|
5834
6256
|
readonly content: _angular_core.InputSignal<unknown>;
|
|
5835
|
-
readonly options: _angular_core.InputSignal<A2UIRecoveryOptions>;
|
|
6257
|
+
readonly options: _angular_core.InputSignal<A2UIRecoveryOptions | undefined>;
|
|
5836
6258
|
readonly lifecycle: _angular_core.Signal<A2UILifecycleContent>;
|
|
5837
6259
|
readonly retryRevealed: _angular_core.WritableSignal<boolean>;
|
|
5838
6260
|
readonly debugExposure: _angular_core.Signal<A2UIDebugExposure>;
|
|
@@ -5856,7 +6278,7 @@ interface RenderA2UIArgs extends Record<string, unknown> {
|
|
|
5856
6278
|
|
|
5857
6279
|
declare class CopilotA2UIToolRenderer implements ToolRenderer<RenderA2UIArgs> {
|
|
5858
6280
|
readonly toolCall: _angular_core.InputSignal<AngularToolCall<RenderA2UIArgs>>;
|
|
5859
|
-
readonly agent: _angular_core.InputSignal<AbstractAgent>;
|
|
6281
|
+
readonly agent: _angular_core.InputSignal<AbstractAgent | undefined>;
|
|
5860
6282
|
private readonly surfaceRef;
|
|
5861
6283
|
private readonly config;
|
|
5862
6284
|
private readonly copilotKit;
|
|
@@ -5876,16 +6298,16 @@ type WebsandboxConstructor = typeof Websandbox;
|
|
|
5876
6298
|
declare const OPEN_GENERATIVE_UI_WEBSANDBOX_LOADER: InjectionToken<() => Promise<WebsandboxConstructor>>;
|
|
5877
6299
|
declare class CopilotOpenGenerativeUIRenderer implements OnChanges {
|
|
5878
6300
|
readonly content: _angular_core.InputSignal<{
|
|
5879
|
-
html?: string[];
|
|
5880
|
-
initialHeight?: number;
|
|
5881
|
-
generating?: boolean;
|
|
5882
|
-
css?: string;
|
|
5883
|
-
cssComplete?: boolean;
|
|
5884
|
-
htmlComplete?: boolean;
|
|
5885
|
-
jsFunctions?: string;
|
|
5886
|
-
jsFunctionsComplete?: boolean;
|
|
5887
|
-
jsExpressions?: string[];
|
|
5888
|
-
jsExpressionsComplete?: boolean;
|
|
6301
|
+
html?: string[] | undefined;
|
|
6302
|
+
initialHeight?: number | undefined;
|
|
6303
|
+
generating?: boolean | undefined;
|
|
6304
|
+
css?: string | undefined;
|
|
6305
|
+
cssComplete?: boolean | undefined;
|
|
6306
|
+
htmlComplete?: boolean | undefined;
|
|
6307
|
+
jsFunctions?: string | undefined;
|
|
6308
|
+
jsFunctionsComplete?: boolean | undefined;
|
|
6309
|
+
jsExpressions?: string[] | undefined;
|
|
6310
|
+
jsExpressionsComplete?: boolean | undefined;
|
|
5889
6311
|
}>;
|
|
5890
6312
|
private readonly containerRef;
|
|
5891
6313
|
private readonly destroyRef;
|
|
@@ -5898,17 +6320,16 @@ declare class CopilotOpenGenerativeUIRenderer implements OnChanges {
|
|
|
5898
6320
|
private previewSandbox;
|
|
5899
6321
|
private sandboxReady;
|
|
5900
6322
|
private previewReady;
|
|
5901
|
-
private finalSandboxKey;
|
|
5902
6323
|
private executedExpressionIndex;
|
|
5903
6324
|
private pendingQueue;
|
|
5904
6325
|
private jsFunctionsInjected;
|
|
5905
6326
|
private heightMeasured;
|
|
5906
6327
|
private autoHeight;
|
|
5907
6328
|
private hasReceivedContent;
|
|
5908
|
-
protected readonly fullHtml: _angular_core.Signal<string>;
|
|
5909
|
-
protected readonly css: _angular_core.Signal<string>;
|
|
5910
|
-
protected readonly partialHtml: _angular_core.Signal<string>;
|
|
5911
|
-
protected readonly previewBody: _angular_core.Signal<string>;
|
|
6329
|
+
protected readonly fullHtml: _angular_core.Signal<string | undefined>;
|
|
6330
|
+
protected readonly css: _angular_core.Signal<string | undefined>;
|
|
6331
|
+
protected readonly partialHtml: _angular_core.Signal<string | undefined>;
|
|
6332
|
+
protected readonly previewBody: _angular_core.Signal<string | undefined>;
|
|
5912
6333
|
protected readonly previewStyles: _angular_core.Signal<string>;
|
|
5913
6334
|
protected readonly hasPreview: _angular_core.Signal<boolean>;
|
|
5914
6335
|
protected readonly hasVisibleSandbox: _angular_core.Signal<boolean>;
|
|
@@ -5926,7 +6347,6 @@ declare class CopilotOpenGenerativeUIRenderer implements OnChanges {
|
|
|
5926
6347
|
private createPreviewSandbox;
|
|
5927
6348
|
private updatePreviewSandbox;
|
|
5928
6349
|
private reconcileSandboxState;
|
|
5929
|
-
private getFinalSandboxKey;
|
|
5930
6350
|
private createFinalSandbox;
|
|
5931
6351
|
private resetFinalRuntimeState;
|
|
5932
6352
|
private injectJsFunctions;
|
|
@@ -5942,47 +6362,50 @@ declare class CopilotOpenGenerativeUIRenderer implements OnChanges {
|
|
|
5942
6362
|
declare class CopilotOpenGenerativeUIActivityRenderer implements ActivityRenderer<OpenGenerativeUIContent> {
|
|
5943
6363
|
readonly activityType: _angular_core.InputSignal<string>;
|
|
5944
6364
|
readonly content: _angular_core.InputSignal<{
|
|
5945
|
-
html?: string[];
|
|
5946
|
-
initialHeight?: number;
|
|
5947
|
-
generating?: boolean;
|
|
5948
|
-
css?: string;
|
|
5949
|
-
cssComplete?: boolean;
|
|
5950
|
-
htmlComplete?: boolean;
|
|
5951
|
-
jsFunctions?: string;
|
|
5952
|
-
jsFunctionsComplete?: boolean;
|
|
5953
|
-
jsExpressions?: string[];
|
|
5954
|
-
jsExpressionsComplete?: boolean;
|
|
6365
|
+
html?: string[] | undefined;
|
|
6366
|
+
initialHeight?: number | undefined;
|
|
6367
|
+
generating?: boolean | undefined;
|
|
6368
|
+
css?: string | undefined;
|
|
6369
|
+
cssComplete?: boolean | undefined;
|
|
6370
|
+
htmlComplete?: boolean | undefined;
|
|
6371
|
+
jsFunctions?: string | undefined;
|
|
6372
|
+
jsFunctionsComplete?: boolean | undefined;
|
|
6373
|
+
jsExpressions?: string[] | undefined;
|
|
6374
|
+
jsExpressionsComplete?: boolean | undefined;
|
|
5955
6375
|
}>;
|
|
5956
6376
|
readonly message: _angular_core.InputSignal<{
|
|
6377
|
+
id: string;
|
|
5957
6378
|
role: "activity";
|
|
5958
6379
|
content: Record<string, any>;
|
|
5959
|
-
id: string;
|
|
5960
6380
|
activityType: string;
|
|
6381
|
+
metadata?: Record<string, any> | undefined;
|
|
6382
|
+
subagentRunId?: string | undefined;
|
|
5961
6383
|
}>;
|
|
5962
|
-
readonly agent: _angular_core.InputSignal<AbstractAgent>;
|
|
6384
|
+
readonly agent: _angular_core.InputSignal<AbstractAgent | undefined>;
|
|
5963
6385
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotOpenGenerativeUIActivityRenderer, never>;
|
|
5964
6386
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotOpenGenerativeUIActivityRenderer, "copilot-open-generative-ui-activity-renderer", never, { "activityType": { "alias": "activityType"; "required": true; "isSignal": true; }; "content": { "alias": "content"; "required": true; "isSignal": true; }; "message": { "alias": "message"; "required": true; "isSignal": true; }; "agent": { "alias": "agent"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5965
6387
|
}
|
|
5966
6388
|
|
|
5967
6389
|
declare class CopilotOpenGenerativeUIToolRenderer implements ToolRenderer<GenerateSandboxedUiArgs> {
|
|
5968
6390
|
readonly toolCall: _angular_core.InputSignal<AngularToolCall<{
|
|
5969
|
-
html?: string;
|
|
5970
|
-
initialHeight?: number;
|
|
5971
|
-
css?: string;
|
|
5972
|
-
jsFunctions?: string;
|
|
5973
|
-
jsExpressions?: string[];
|
|
5974
|
-
placeholderMessages?: string[];
|
|
6391
|
+
html?: string | undefined;
|
|
6392
|
+
initialHeight?: number | undefined;
|
|
6393
|
+
css?: string | undefined;
|
|
6394
|
+
jsFunctions?: string | undefined;
|
|
6395
|
+
jsExpressions?: string[] | undefined;
|
|
6396
|
+
placeholderMessages?: string[] | undefined;
|
|
5975
6397
|
}>>;
|
|
5976
6398
|
private readonly visibleMessageIndex;
|
|
5977
6399
|
private readonly destroyRef;
|
|
5978
6400
|
private previousMessageCount;
|
|
5979
6401
|
private interval;
|
|
5980
|
-
protected readonly visibleMessage: _angular_core.Signal<string>;
|
|
6402
|
+
protected readonly visibleMessage: _angular_core.Signal<string | undefined>;
|
|
5981
6403
|
constructor();
|
|
5982
6404
|
private clearTimer;
|
|
5983
6405
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotOpenGenerativeUIToolRenderer, never>;
|
|
5984
6406
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotOpenGenerativeUIToolRenderer, "copilot-open-generative-ui-tool-renderer", never, { "toolCall": { "alias": "toolCall"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5985
6407
|
}
|
|
5986
6408
|
|
|
5987
|
-
export { AGUI_SEND_STATE_SNAPSHOT_TOOL_NAME, AgentStore, AudioRecorderError, COPILOT_CHAT_CONFIGURATION, COPILOT_CHAT_CONFIGURATION_OPTIONS, COPILOT_CHAT_DEFAULT_LABELS, COPILOT_CHAT_LABELS, COPILOT_KIT_CONFIG, ChatState, CopilotA2UIActivityRenderer, CopilotA2UIProgress, CopilotA2UIRecovery, CopilotA2UIToolRenderer, CopilotChat, CopilotChatAddFileButton, CopilotChatAssistantMessage, CopilotChatAssistantMessageCopyButton, CopilotChatAssistantMessageReadAloudButton, CopilotChatAssistantMessageRegenerateButton, CopilotChatAssistantMessageRenderer, CopilotChatAssistantMessageThumbsDownButton, CopilotChatAssistantMessageThumbsUpButton, CopilotChatAssistantMessageToolbar, CopilotChatAssistantMessageToolbarButton, CopilotChatAttachmentQueue, CopilotChatAttachmentRenderer, CopilotChatAttachmentsDirective, CopilotChatAudioRecorder, CopilotChatCancelTranscribeButton, CopilotChatConfiguration, CopilotChatFinishTranscribeButton, CopilotChatInput, CopilotChatInputDefaults, CopilotChatMessageView, CopilotChatMessageViewCursor, CopilotChatReasoningMessage, CopilotChatSendButton, CopilotChatStartTranscribeButton, CopilotChatSuggestionPill, CopilotChatSuggestionView, CopilotChatTextarea, CopilotChatToolCallsView, CopilotChatToolbar, CopilotChatToolbarButton, CopilotChatToolsMenu, CopilotChatUserMessage, CopilotChatUserMessageBranchNavigation, CopilotChatUserMessageCopyButton, CopilotChatUserMessageEditButton, CopilotChatUserMessageRenderer, CopilotChatUserMessageToolbar, CopilotChatUserMessageToolbarButton, CopilotChatView, CopilotChatViewDisclaimer, CopilotChatViewFeather, CopilotChatViewHandlers, CopilotChatViewInputContainer, CopilotChatViewScrollToBottomButton, CopilotChatViewScrollView, CopilotDefaultToolRenderer, CopilotKit, CopilotKitAgentContext, CopilotOpenGenerativeUIActivityRenderer, CopilotOpenGenerativeUIRenderer, CopilotOpenGenerativeUIToolRenderer, CopilotPopup, CopilotSidebar, CopilotSlot, CopilotThreadsDrawer, CopilotThreadsDrawerRow, CopilotTooltip, CopilotkitAgentFactory, CopilotkitThreadsFactory, DEFAULT_OPEN_GENERATIVE_UI_DESIGN_SKILL, GENERATE_SANDBOXED_UI_DESCRIPTION, GENERATE_SANDBOXED_UI_TOOL_NAME, GenerateSandboxedUiArgsSchema, InterruptController, InterruptExpiredError, OPEN_GENERATIVE_UI_ACTIVITY_TYPE, OPEN_GENERATIVE_UI_WEBSANDBOX_LOADER, OpenGenerativeUIContentSchema, RENDER_A2UI_TOOL_NAME, RenderA2UIArgsSchema, RenderToolCalls, ResizeObserverService, SLOT_CONFIG, ScrollPosition, StickToBottom, ThreadsStore, TooltipContent, TranscriptionError, anyActivityContentSchema, cn, connectAgentContext, createSlotConfig, createSlotRenderer, getSlotConfig, injectAgentStore, injectChatConfiguration, injectChatLabels, injectChatState, injectCopilotKitConfig, injectInterrupt, injectMemories, injectThreads, isComponentType, isSlotValue, normalizeSlotValue, parseToolCallArguments, pickToolCallHandler, provideCopilotChatConfiguration, provideCopilotChatLabels, provideCopilotKit, provideSlots, readA2UILifecycleContent, registerFrontendTool, registerHumanInTheLoop, registerRenderActivityMessage, registerRenderToolCall, renderSlot, safeToolValue, transcribeAudio, ɵCOPILOTKIT_BUILT_IN_ACTIVITY_RENDERERS };
|
|
5988
|
-
export type { A2UIConfig, A2UIDebugExposure, A2UILifecycleContent, A2UILifecycleStatus, A2UIRecoveryOptions, ActivityRenderer, AngularActivityContentParseResult, AngularActivityContentSchema, AngularToolCall, AssistantMessageCopyButtonContext, AssistantMessageMarkdownRendererContext, AssistantMessageToolbarContext, AudioRecorderState, BranchNavigationContext, ClientTool, ConnectAgentContextConfig, CopilotChatAssistantMessageOnReadAloudProps, CopilotChatAssistantMessageOnRegenerateProps, CopilotChatAssistantMessageOnThumbsDownProps, CopilotChatAssistantMessageOnThumbsUpProps, CopilotChatAudioRecorderProps, CopilotChatButtonProps, CopilotChatConfigurationOptions, CopilotChatInputConfig, CopilotChatInputMode, CopilotChatInputOutputs, CopilotChatInputSlots, CopilotChatLabels, CopilotChatMessageViewProps, CopilotChatTextareaProps, CopilotChatToolbarButtonProps, CopilotChatToolbarProps, CopilotChatToolsButtonProps, CopilotChatUserMessageOnEditMessageProps, CopilotChatUserMessageOnSwitchToBranchProps, CopilotChatViewLayoutContext, CopilotChatViewProps, CopilotKitConfig, CopilotSidebarMode, CopilotSidebarPosition, CopyButtonContext, CursorContext, EditButtonContext, FrontendToolConfig, GenerateSandboxedUiArgs, HumanInTheLoopConfig, HumanInTheLoopToolCall, HumanInTheLoopToolRenderer, InjectInterruptOptions, InjectThreadsInput, InjectThreadsResult, InterruptEvent, InterruptHandlerProps, InterruptRunOptions, InterruptRunner, InterruptView, MemoriesController, MessageRendererContext, MessageViewContext, OpenGenerativeUIConfig, OpenGenerativeUIContent, ReadAloudButtonContext, RegenerateButtonContext, RenderA2UIArgs, RenderActivityMessageConfig, RenderSlotOptions, RenderToolCallConfig, ResizeState, SandboxFunction, ScrollBehavior, ScrollState, SendButtonContext, SlotConfig, SlotContext, SlotRegistryEntry, SlotValue, Thread, ThumbsDownButtonContext, ThumbsUpButtonContext, ToolCallHandler, ToolRenderer, ToolbarContext, ToolsMenuItem, TranscriptionErrorInfo, TranscriptionResult, UserMessageToolbarContext, WithSlots };
|
|
6409
|
+
export { AGUI_SEND_STATE_SNAPSHOT_TOOL_NAME, AgentStore, AudioRecorderError, COPILOT_CHAT_CONFIGURATION, COPILOT_CHAT_CONFIGURATION_OPTIONS, COPILOT_CHAT_DEFAULT_LABELS, COPILOT_CHAT_LABELS, COPILOT_KIT_CONFIG, ChatState, CopilotA2UIActivityRenderer, CopilotA2UIProgress, CopilotA2UIRecovery, CopilotA2UIToolRenderer, CopilotChat, CopilotChatAddFileButton, CopilotChatAssistantMessage, CopilotChatAssistantMessageCopyButton, CopilotChatAssistantMessageReadAloudButton, CopilotChatAssistantMessageRegenerateButton, CopilotChatAssistantMessageRenderer, CopilotChatAssistantMessageThumbsDownButton, CopilotChatAssistantMessageThumbsUpButton, CopilotChatAssistantMessageToolbar, CopilotChatAssistantMessageToolbarButton, CopilotChatAttachmentQueue, CopilotChatAttachmentRenderer, CopilotChatAttachmentsDirective, CopilotChatAudioRecorder, CopilotChatCancelTranscribeButton, CopilotChatConfiguration, CopilotChatFinishTranscribeButton, CopilotChatInput, CopilotChatInputDefaults, CopilotChatMessageView, CopilotChatMessageViewCursor, CopilotChatReasoningMessage, CopilotChatSendButton, CopilotChatStartTranscribeButton, CopilotChatSuggestionPill, CopilotChatSuggestionView, CopilotChatTextarea, CopilotChatToolCallsView, CopilotChatToolbar, CopilotChatToolbarButton, CopilotChatToolsMenu, CopilotChatUserMessage, CopilotChatUserMessageBranchNavigation, CopilotChatUserMessageCopyButton, CopilotChatUserMessageEditButton, CopilotChatUserMessageRenderer, CopilotChatUserMessageToolbar, CopilotChatUserMessageToolbarButton, CopilotChatView, CopilotChatViewDisclaimer, CopilotChatViewFeather, CopilotChatViewHandlers, CopilotChatViewInputContainer, CopilotChatViewInputMeasure, CopilotChatViewScrollToBottomButton, CopilotChatViewScrollView, CopilotDefaultToolRenderer, CopilotKit, CopilotKitAgentContext, CopilotOpenGenerativeUIActivityRenderer, CopilotOpenGenerativeUIRenderer, CopilotOpenGenerativeUIToolRenderer, CopilotPopup, CopilotSidebar, CopilotSlot, CopilotThreadsDrawer, CopilotThreadsDrawerRow, CopilotTooltip, CopilotkitAgentFactory, CopilotkitThreadsFactory, DEFAULT_OPEN_GENERATIVE_UI_DESIGN_SKILL, GENERATE_SANDBOXED_UI_DESCRIPTION, GENERATE_SANDBOXED_UI_TOOL_NAME, GenerateSandboxedUiArgsSchema, InterruptController, InterruptExpiredError, OPEN_GENERATIVE_UI_ACTIVITY_TYPE, OPEN_GENERATIVE_UI_WEBSANDBOX_LOADER, OpenGenerativeUIContentSchema, RENDER_A2UI_TOOL_NAME, RenderA2UIArgsSchema, RenderToolCalls, ResizeObserverService, SLOT_CONFIG, ScrollPosition, StickToBottom, ThreadsStore, TooltipContent, TranscriptionError, anyActivityContentSchema, cn, connectAgentContext, createSlotConfig, createSlotRenderer, getSlotConfig, injectAgentStore, injectCapabilities, injectChatConfiguration, injectChatLabels, injectChatState, injectCopilotKitConfig, injectInterrupt, injectMemories, injectThreads, isComponentType, isSlotValue, normalizeSlotValue, parseToolCallArguments, pickToolCallHandler, provideCopilotChatConfiguration, provideCopilotChatLabels, provideCopilotKit, provideSlots, readA2UILifecycleContent, registerComponent, registerFrontendTool, registerHumanInTheLoop, registerRenderActivityMessage, registerRenderToolCall, renderSlot, safeToolValue, transcribeAudio, ɵCOPILOTKIT_BUILT_IN_ACTIVITY_RENDERERS, ɵCOPILOTKIT_INSPECTOR_DEVELOPMENT_MODE };
|
|
6410
|
+
export type { A2UIConfig, A2UIDebugExposure, A2UILifecycleContent, A2UILifecycleStatus, A2UIRecoveryOptions, ActivityRenderer, AngularActivityContentParseResult, AngularActivityContentSchema, AngularToolCall, AssistantMessageCopyButtonContext, AssistantMessageMarkdownRendererContext, AssistantMessageToolbarContext, AudioRecorderState, BranchNavigationContext, ClientTool, ConnectAgentContextConfig, CopilotChatAssistantMessageOnReadAloudProps, CopilotChatAssistantMessageOnRegenerateProps, CopilotChatAssistantMessageOnThumbsDownProps, CopilotChatAssistantMessageOnThumbsUpProps, CopilotChatAudioRecorderProps, CopilotChatButtonProps, CopilotChatConfigurationOptions, CopilotChatInputConfig, CopilotChatInputMode, CopilotChatInputOutputs, CopilotChatInputSlots, CopilotChatLabels, CopilotChatMessageViewProps, CopilotChatTextareaProps, CopilotChatToolbarButtonProps, CopilotChatToolbarProps, CopilotChatToolsButtonProps, CopilotChatUserMessageOnEditMessageProps, CopilotChatUserMessageOnSwitchToBranchProps, CopilotChatViewLayoutContext, CopilotChatViewProps, CopilotKitConfig, CopilotSidebarMode, CopilotSidebarPosition, CopyButtonContext, CursorContext, EditButtonContext, FrontendToolConfig, GenerateSandboxedUiArgs, HumanInTheLoopConfig, HumanInTheLoopToolCall, HumanInTheLoopToolRenderer, InjectInterruptOptions, InjectThreadsInput, InjectThreadsResult, InterruptEvent, InterruptHandlerProps, InterruptRunOptions, InterruptRunner, InterruptView, MemoriesController, MessageRendererContext, MessageViewContext, OpenGenerativeUIConfig, OpenGenerativeUIContent, ReadAloudButtonContext, RegenerateButtonContext, RegisterComponentConfig, RenderA2UIArgs, RenderActivityMessageConfig, RenderSlotOptions, RenderToolCallConfig, ResizeState, SandboxFunction, ScrollBehavior, ScrollState, SendButtonContext, SlotConfig, SlotContext, SlotRegistryEntry, SlotValue, Thread, ThumbsDownButtonContext, ThumbsUpButtonContext, ToolCallHandler, ToolRenderer, ToolbarContext, ToolsMenuItem, TranscriptionErrorInfo, TranscriptionResult, UserMessageToolbarContext, WithSlots };
|
|
6411
|
+
//# sourceMappingURL=copilotkit-angular.d.ts.map
|