@copilotkit/angular 0.4.0 → 0.5.1

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.
@@ -3,9 +3,9 @@ import { Type, Signal, InjectionToken, Provider, Injector, DestroyRef, WritableS
3
3
  import * as _ag_ui_client from '@ag-ui/client';
4
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
- import { FrontendTool, FrontendToolHandlerContext, SuggestionsConfig, CopilotKitCoreRuntimeConnectionStatus, CopilotRuntimeTransport, ThreadEndpointRuntimeInfo, IntelligenceRuntimeInfo, RuntimeLicenseStatus, CopilotKitCoreGetSuggestionsResult, CopilotKitCore, Suggestion, Memory, MemoryRealtimeStatus, NewMemory, MemoryChanges } from '@copilotkit/core';
6
+ import { FrontendTool, FrontendToolHandlerContext, WebMCPToolConfig, 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';
@@ -74,9 +74,41 @@ 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
- handler: (args: Args, context: FrontendToolHandlerContext) => Promise<unknown>;
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;
90
+ /**
91
+ * Also expose this tool to browser agents through the WebMCP API
92
+ * (`document.modelContext`). `true` uses default annotations;
93
+ * `{ annotations }` provides WebMCP annotations.
94
+ */
95
+ webmcp?: boolean | WebMCPToolConfig;
96
+ }
97
+ /**
98
+ * A component the agent can render in chat, with no application code behind it.
99
+ *
100
+ * The Angular counterpart of react-core's and vue's `useComponent`. It carries no
101
+ * `handler` field at all rather than an optional one: a display-only component
102
+ * that quietly ran application code would be a different feature, and a caller
103
+ * who wants both wants `registerFrontendTool`.
104
+ */
105
+ interface RegisterComponentConfig<Args extends Record<string, unknown> = Record<string, unknown>> {
106
+ name: string;
107
+ description?: string;
108
+ parameters: StandardSchemaV1<unknown, Args>;
109
+ component: Type<ToolRenderer<Args>>;
110
+ agentId?: string;
111
+ followUp?: boolean;
80
112
  }
81
113
  interface HumanInTheLoopConfig<Args extends Record<string, unknown> = Record<string, unknown>> {
82
114
  name: string;
@@ -87,6 +119,34 @@ interface HumanInTheLoopConfig<Args extends Record<string, unknown> = Record<str
87
119
  }
88
120
  declare function registerRenderToolCall<Args extends Record<string, unknown> = Record<string, unknown>>(renderToolCall: RenderToolCallConfig<Args>): void;
89
121
  declare function registerFrontendTool<Args extends Record<string, unknown> = Record<string, unknown>>(frontendTool: FrontendToolConfig<Args>): void;
122
+ /**
123
+ * Registers an Angular component as a tool the agent can call to display it.
124
+ *
125
+ * The simplest generative-UI registration there is, and the only one that needs
126
+ * nothing on the agent side: the tool is declared by the frontend and forwarded to
127
+ * the agent over AG-UI, so it works the same behind a Python agent as a TypeScript
128
+ * one. Contrast `registerRenderToolCall`, which draws a tool the agent already
129
+ * has and therefore requires that tool to exist in the agent.
130
+ *
131
+ * The component is an ordinary `ToolRenderer`: it takes the required `toolCall`
132
+ * signal input and reads `toolCall().args`, exactly as it would under
133
+ * `registerFrontendTool` or `registerRenderToolCall`.
134
+ *
135
+ * Registration is removed when the calling injector is destroyed.
136
+ *
137
+ * @param config - Name, parameter schema, and component to render.
138
+ *
139
+ * @example
140
+ * ```ts
141
+ * registerComponent({
142
+ * name: "show_incident",
143
+ * description: "Show one incident from the incident table.",
144
+ * parameters: z.object({ id: z.string(), severity: z.string() }),
145
+ * component: IncidentCardComponent,
146
+ * });
147
+ * ```
148
+ */
149
+ declare function registerComponent<Args extends Record<string, unknown> = Record<string, unknown>>(config: RegisterComponentConfig<Args>): void;
90
150
  declare function registerHumanInTheLoop<Args extends Record<string, unknown> = Record<string, unknown>>(humanInTheLoop: HumanInTheLoopConfig<Args>): void;
91
151
 
92
152
  type AngularActivityContentParseResult<T> = {
@@ -272,6 +332,16 @@ declare class CopilotKit {
272
332
  * the threads drawer's license gate — re-run once the status resolves.
273
333
  */
274
334
  readonly licenseStatus: Signal<RuntimeLicenseStatus | undefined>;
335
+ /**
336
+ * Structured entitlement authority from the connected runtime's `/info`
337
+ * response. Ready managed entitlements override legacy license status.
338
+ */
339
+ readonly runtimeEntitlements: Signal<RuntimeEntitlementResponse | undefined>;
340
+ /**
341
+ * Whether Core still owes the one bounded retry for a retryable entitlement
342
+ * lookup. Gated UI stays pending until that retry settles.
343
+ */
344
+ readonly runtimeEntitlementRetryPending: Signal<boolean>;
275
345
  readonly suggestionsByAgent: Signal<Record<string, CopilotKitCoreGetSuggestionsResult>>;
276
346
  readonly core: CopilotKitCore;
277
347
  readonly toolCallRenderConfigs: Signal<RenderToolCallConfig[]>;
@@ -356,11 +426,13 @@ declare function pickToolCallHandler(options: PickToolCallHandlerOptions): ToolC
356
426
  declare class RenderToolCalls {
357
427
  #private;
358
428
  readonly message: _angular_core.InputSignal<{
359
- role: "assistant";
360
429
  id: string;
430
+ role: "assistant";
361
431
  name?: string | undefined;
362
- content?: string | undefined;
363
432
  encryptedValue?: string | undefined;
433
+ metadata?: Record<string, any> | undefined;
434
+ content?: string | undefined;
435
+ subagentRunId?: string | undefined;
364
436
  toolCalls?: {
365
437
  function: {
366
438
  name: string;
@@ -369,26 +441,33 @@ declare class RenderToolCalls {
369
441
  type: "function";
370
442
  id: string;
371
443
  encryptedValue?: string | undefined;
444
+ metadata?: Record<string, any> | undefined;
372
445
  }[] | undefined;
373
446
  }>;
374
447
  readonly messages: _angular_core.InputSignal<({
448
+ id: string;
375
449
  role: "developer";
376
450
  content: string;
377
- id: string;
378
451
  name?: string | undefined;
379
452
  encryptedValue?: string | undefined;
453
+ metadata?: Record<string, any> | undefined;
454
+ subagentRunId?: string | undefined;
380
455
  } | {
456
+ id: string;
381
457
  role: "system";
382
458
  content: string;
383
- id: string;
384
459
  name?: string | undefined;
385
460
  encryptedValue?: string | undefined;
461
+ metadata?: Record<string, any> | undefined;
462
+ subagentRunId?: string | undefined;
386
463
  } | {
387
- role: "assistant";
388
464
  id: string;
465
+ role: "assistant";
389
466
  name?: string | undefined;
390
- content?: string | undefined;
391
467
  encryptedValue?: string | undefined;
468
+ metadata?: Record<string, any> | undefined;
469
+ content?: string | undefined;
470
+ subagentRunId?: string | undefined;
392
471
  toolCalls?: {
393
472
  function: {
394
473
  name: string;
@@ -397,8 +476,10 @@ declare class RenderToolCalls {
397
476
  type: "function";
398
477
  id: string;
399
478
  encryptedValue?: string | undefined;
479
+ metadata?: Record<string, any> | undefined;
400
480
  }[] | undefined;
401
481
  } | {
482
+ id: string;
402
483
  role: "user";
403
484
  content: string | ({
404
485
  type: "text";
@@ -406,48 +487,48 @@ declare class RenderToolCalls {
406
487
  } | {
407
488
  type: "image";
408
489
  source: {
409
- type: "data";
410
490
  value: string;
491
+ type: "data";
411
492
  mimeType: string;
412
493
  } | {
413
- type: "url";
414
494
  value: string;
495
+ type: "url";
415
496
  mimeType?: string | undefined;
416
497
  };
417
498
  metadata?: unknown;
418
499
  } | {
419
500
  type: "audio";
420
501
  source: {
421
- type: "data";
422
502
  value: string;
503
+ type: "data";
423
504
  mimeType: string;
424
505
  } | {
425
- type: "url";
426
506
  value: string;
507
+ type: "url";
427
508
  mimeType?: string | undefined;
428
509
  };
429
510
  metadata?: unknown;
430
511
  } | {
431
512
  type: "video";
432
513
  source: {
433
- type: "data";
434
514
  value: string;
515
+ type: "data";
435
516
  mimeType: string;
436
517
  } | {
437
- type: "url";
438
518
  value: string;
519
+ type: "url";
439
520
  mimeType?: string | undefined;
440
521
  };
441
522
  metadata?: unknown;
442
523
  } | {
443
524
  type: "document";
444
525
  source: {
445
- type: "data";
446
526
  value: string;
527
+ type: "data";
447
528
  mimeType: string;
448
529
  } | {
449
- type: "url";
450
530
  value: string;
531
+ type: "url";
451
532
  mimeType?: string | undefined;
452
533
  };
453
534
  metadata?: unknown;
@@ -459,26 +540,33 @@ declare class RenderToolCalls {
459
540
  url?: string | undefined;
460
541
  filename?: string | undefined;
461
542
  })[];
462
- id: string;
463
543
  name?: string | undefined;
464
544
  encryptedValue?: string | undefined;
545
+ metadata?: Record<string, any> | undefined;
546
+ subagentRunId?: string | undefined;
465
547
  } | {
548
+ id: string;
466
549
  role: "tool";
467
- toolCallId: string;
468
550
  content: string;
469
- id: string;
551
+ toolCallId: string;
470
552
  encryptedValue?: string | undefined;
553
+ metadata?: Record<string, any> | undefined;
554
+ subagentRunId?: string | undefined;
471
555
  error?: string | undefined;
472
556
  } | {
557
+ id: string;
473
558
  role: "activity";
474
559
  content: Record<string, any>;
475
- id: string;
476
560
  activityType: string;
561
+ metadata?: Record<string, any> | undefined;
562
+ subagentRunId?: string | undefined;
477
563
  } | {
564
+ id: string;
478
565
  role: "reasoning";
479
566
  content: string;
480
- id: string;
481
567
  encryptedValue?: string | undefined;
568
+ metadata?: Record<string, any> | undefined;
569
+ subagentRunId?: string | undefined;
482
570
  })[]>;
483
571
  readonly isLoading: _angular_core.InputSignal<boolean>;
484
572
  readonly agentId: _angular_core.InputSignal<string | undefined>;
@@ -552,8 +640,9 @@ declare class InterruptController<TValue = unknown, TResult = never> {
552
640
  id: string;
553
641
  reason: string;
554
642
  message?: string | undefined;
555
- toolCallId?: string | undefined;
556
643
  metadata?: Record<string, any> | undefined;
644
+ subagentRunId?: string | undefined;
645
+ toolCallId?: string | undefined;
557
646
  responseSchema?: Record<string, any> | undefined;
558
647
  expiresAt?: string | undefined;
559
648
  } | null>;
@@ -561,8 +650,9 @@ declare class InterruptController<TValue = unknown, TResult = never> {
561
650
  id: string;
562
651
  reason: string;
563
652
  message?: string | undefined;
564
- toolCallId?: string | undefined;
565
653
  metadata?: Record<string, any> | undefined;
654
+ subagentRunId?: string | undefined;
655
+ toolCallId?: string | undefined;
566
656
  responseSchema?: Record<string, any> | undefined;
567
657
  expiresAt?: string | undefined;
568
658
  }[]>;
@@ -1707,23 +1797,29 @@ declare class CopilotChat extends ChatState {
1707
1797
  readonly injector: Injector;
1708
1798
  private readonly destroyRef;
1709
1799
  protected messages: _angular_core.Signal<({
1800
+ id: string;
1710
1801
  role: "developer";
1711
1802
  content: string;
1712
- id: string;
1713
1803
  name?: string | undefined;
1714
1804
  encryptedValue?: string | undefined;
1805
+ metadata?: Record<string, any> | undefined;
1806
+ subagentRunId?: string | undefined;
1715
1807
  } | {
1808
+ id: string;
1716
1809
  role: "system";
1717
1810
  content: string;
1718
- id: string;
1719
1811
  name?: string | undefined;
1720
1812
  encryptedValue?: string | undefined;
1813
+ metadata?: Record<string, any> | undefined;
1814
+ subagentRunId?: string | undefined;
1721
1815
  } | {
1722
- role: "assistant";
1723
1816
  id: string;
1817
+ role: "assistant";
1724
1818
  name?: string | undefined;
1725
- content?: string | undefined;
1726
1819
  encryptedValue?: string | undefined;
1820
+ metadata?: Record<string, any> | undefined;
1821
+ content?: string | undefined;
1822
+ subagentRunId?: string | undefined;
1727
1823
  toolCalls?: {
1728
1824
  function: {
1729
1825
  name: string;
@@ -1732,8 +1828,10 @@ declare class CopilotChat extends ChatState {
1732
1828
  type: "function";
1733
1829
  id: string;
1734
1830
  encryptedValue?: string | undefined;
1831
+ metadata?: Record<string, any> | undefined;
1735
1832
  }[] | undefined;
1736
1833
  } | {
1834
+ id: string;
1737
1835
  role: "user";
1738
1836
  content: string | ({
1739
1837
  type: "text";
@@ -1741,48 +1839,48 @@ declare class CopilotChat extends ChatState {
1741
1839
  } | {
1742
1840
  type: "image";
1743
1841
  source: {
1744
- type: "data";
1745
1842
  value: string;
1843
+ type: "data";
1746
1844
  mimeType: string;
1747
1845
  } | {
1748
- type: "url";
1749
1846
  value: string;
1847
+ type: "url";
1750
1848
  mimeType?: string | undefined;
1751
1849
  };
1752
1850
  metadata?: unknown;
1753
1851
  } | {
1754
1852
  type: "audio";
1755
1853
  source: {
1756
- type: "data";
1757
1854
  value: string;
1855
+ type: "data";
1758
1856
  mimeType: string;
1759
1857
  } | {
1760
- type: "url";
1761
1858
  value: string;
1859
+ type: "url";
1762
1860
  mimeType?: string | undefined;
1763
1861
  };
1764
1862
  metadata?: unknown;
1765
1863
  } | {
1766
1864
  type: "video";
1767
1865
  source: {
1768
- type: "data";
1769
1866
  value: string;
1867
+ type: "data";
1770
1868
  mimeType: string;
1771
1869
  } | {
1772
- type: "url";
1773
1870
  value: string;
1871
+ type: "url";
1774
1872
  mimeType?: string | undefined;
1775
1873
  };
1776
1874
  metadata?: unknown;
1777
1875
  } | {
1778
1876
  type: "document";
1779
1877
  source: {
1780
- type: "data";
1781
1878
  value: string;
1879
+ type: "data";
1782
1880
  mimeType: string;
1783
1881
  } | {
1784
- type: "url";
1785
1882
  value: string;
1883
+ type: "url";
1786
1884
  mimeType?: string | undefined;
1787
1885
  };
1788
1886
  metadata?: unknown;
@@ -1794,26 +1892,33 @@ declare class CopilotChat extends ChatState {
1794
1892
  url?: string | undefined;
1795
1893
  filename?: string | undefined;
1796
1894
  })[];
1797
- id: string;
1798
1895
  name?: string | undefined;
1799
1896
  encryptedValue?: string | undefined;
1897
+ metadata?: Record<string, any> | undefined;
1898
+ subagentRunId?: string | undefined;
1800
1899
  } | {
1900
+ id: string;
1801
1901
  role: "tool";
1802
- toolCallId: string;
1803
1902
  content: string;
1804
- id: string;
1903
+ toolCallId: string;
1805
1904
  encryptedValue?: string | undefined;
1905
+ metadata?: Record<string, any> | undefined;
1906
+ subagentRunId?: string | undefined;
1806
1907
  error?: string | undefined;
1807
1908
  } | {
1909
+ id: string;
1808
1910
  role: "activity";
1809
1911
  content: Record<string, any>;
1810
- id: string;
1811
1912
  activityType: string;
1913
+ metadata?: Record<string, any> | undefined;
1914
+ subagentRunId?: string | undefined;
1812
1915
  } | {
1916
+ id: string;
1813
1917
  role: "reasoning";
1814
1918
  content: string;
1815
- id: string;
1816
1919
  encryptedValue?: string | undefined;
1920
+ metadata?: Record<string, any> | undefined;
1921
+ subagentRunId?: string | undefined;
1817
1922
  })[]>;
1818
1923
  protected agentState: _angular_core.Signal<unknown>;
1819
1924
  protected isRunning: _angular_core.Signal<boolean>;
@@ -1842,11 +1947,13 @@ declare class CopilotChat extends ChatState {
1842
1947
 
1843
1948
  declare class CopilotChatToolCallsView {
1844
1949
  readonly message: _angular_core.InputSignal<{
1845
- role: "assistant";
1846
1950
  id: string;
1951
+ role: "assistant";
1847
1952
  name?: string | undefined;
1848
- content?: string | undefined;
1849
1953
  encryptedValue?: string | undefined;
1954
+ metadata?: Record<string, any> | undefined;
1955
+ content?: string | undefined;
1956
+ subagentRunId?: string | undefined;
1850
1957
  toolCalls?: {
1851
1958
  function: {
1852
1959
  name: string;
@@ -1855,26 +1962,33 @@ declare class CopilotChatToolCallsView {
1855
1962
  type: "function";
1856
1963
  id: string;
1857
1964
  encryptedValue?: string | undefined;
1965
+ metadata?: Record<string, any> | undefined;
1858
1966
  }[] | undefined;
1859
1967
  }>;
1860
1968
  readonly messages: _angular_core.InputSignal<({
1969
+ id: string;
1861
1970
  role: "developer";
1862
1971
  content: string;
1863
- id: string;
1864
1972
  name?: string | undefined;
1865
1973
  encryptedValue?: string | undefined;
1974
+ metadata?: Record<string, any> | undefined;
1975
+ subagentRunId?: string | undefined;
1866
1976
  } | {
1977
+ id: string;
1867
1978
  role: "system";
1868
1979
  content: string;
1869
- id: string;
1870
1980
  name?: string | undefined;
1871
1981
  encryptedValue?: string | undefined;
1982
+ metadata?: Record<string, any> | undefined;
1983
+ subagentRunId?: string | undefined;
1872
1984
  } | {
1873
- role: "assistant";
1874
1985
  id: string;
1986
+ role: "assistant";
1875
1987
  name?: string | undefined;
1876
- content?: string | undefined;
1877
1988
  encryptedValue?: string | undefined;
1989
+ metadata?: Record<string, any> | undefined;
1990
+ content?: string | undefined;
1991
+ subagentRunId?: string | undefined;
1878
1992
  toolCalls?: {
1879
1993
  function: {
1880
1994
  name: string;
@@ -1883,8 +1997,10 @@ declare class CopilotChatToolCallsView {
1883
1997
  type: "function";
1884
1998
  id: string;
1885
1999
  encryptedValue?: string | undefined;
2000
+ metadata?: Record<string, any> | undefined;
1886
2001
  }[] | undefined;
1887
2002
  } | {
2003
+ id: string;
1888
2004
  role: "user";
1889
2005
  content: string | ({
1890
2006
  type: "text";
@@ -1892,48 +2008,48 @@ declare class CopilotChatToolCallsView {
1892
2008
  } | {
1893
2009
  type: "image";
1894
2010
  source: {
1895
- type: "data";
1896
2011
  value: string;
2012
+ type: "data";
1897
2013
  mimeType: string;
1898
2014
  } | {
1899
- type: "url";
1900
2015
  value: string;
2016
+ type: "url";
1901
2017
  mimeType?: string | undefined;
1902
2018
  };
1903
2019
  metadata?: unknown;
1904
2020
  } | {
1905
2021
  type: "audio";
1906
2022
  source: {
1907
- type: "data";
1908
2023
  value: string;
2024
+ type: "data";
1909
2025
  mimeType: string;
1910
2026
  } | {
1911
- type: "url";
1912
2027
  value: string;
2028
+ type: "url";
1913
2029
  mimeType?: string | undefined;
1914
2030
  };
1915
2031
  metadata?: unknown;
1916
2032
  } | {
1917
2033
  type: "video";
1918
2034
  source: {
1919
- type: "data";
1920
2035
  value: string;
2036
+ type: "data";
1921
2037
  mimeType: string;
1922
2038
  } | {
1923
- type: "url";
1924
2039
  value: string;
2040
+ type: "url";
1925
2041
  mimeType?: string | undefined;
1926
2042
  };
1927
2043
  metadata?: unknown;
1928
2044
  } | {
1929
2045
  type: "document";
1930
2046
  source: {
1931
- type: "data";
1932
2047
  value: string;
2048
+ type: "data";
1933
2049
  mimeType: string;
1934
2050
  } | {
1935
- type: "url";
1936
2051
  value: string;
2052
+ type: "url";
1937
2053
  mimeType?: string | undefined;
1938
2054
  };
1939
2055
  metadata?: unknown;
@@ -1945,26 +2061,33 @@ declare class CopilotChatToolCallsView {
1945
2061
  url?: string | undefined;
1946
2062
  filename?: string | undefined;
1947
2063
  })[];
1948
- id: string;
1949
2064
  name?: string | undefined;
1950
2065
  encryptedValue?: string | undefined;
2066
+ metadata?: Record<string, any> | undefined;
2067
+ subagentRunId?: string | undefined;
1951
2068
  } | {
2069
+ id: string;
1952
2070
  role: "tool";
1953
- toolCallId: string;
1954
2071
  content: string;
1955
- id: string;
2072
+ toolCallId: string;
1956
2073
  encryptedValue?: string | undefined;
2074
+ metadata?: Record<string, any> | undefined;
2075
+ subagentRunId?: string | undefined;
1957
2076
  error?: string | undefined;
1958
2077
  } | {
2078
+ id: string;
1959
2079
  role: "activity";
1960
2080
  content: Record<string, any>;
1961
- id: string;
1962
2081
  activityType: string;
2082
+ metadata?: Record<string, any> | undefined;
2083
+ subagentRunId?: string | undefined;
1963
2084
  } | {
2085
+ id: string;
1964
2086
  role: "reasoning";
1965
2087
  content: string;
1966
- id: string;
1967
2088
  encryptedValue?: string | undefined;
2089
+ metadata?: Record<string, any> | undefined;
2090
+ subagentRunId?: string | undefined;
1968
2091
  })[]>;
1969
2092
  readonly agentId: _angular_core.InputSignal<string | undefined>;
1970
2093
  readonly isLoading: _angular_core.InputSignal<boolean>;
@@ -2143,11 +2266,13 @@ declare class CopilotChatAssistantMessage {
2143
2266
  readonly regenerateButtonComponent: _angular_core.InputSignal<Type<any> | undefined>;
2144
2267
  readonly toolCallsViewComponent: _angular_core.InputSignal<Type<any> | undefined>;
2145
2268
  readonly message: _angular_core.InputSignal<{
2146
- role: "assistant";
2147
2269
  id: string;
2270
+ role: "assistant";
2148
2271
  name?: string | undefined;
2149
- content?: string | undefined;
2150
2272
  encryptedValue?: string | undefined;
2273
+ metadata?: Record<string, any> | undefined;
2274
+ content?: string | undefined;
2275
+ subagentRunId?: string | undefined;
2151
2276
  toolCalls?: {
2152
2277
  function: {
2153
2278
  name: string;
@@ -2156,26 +2281,33 @@ declare class CopilotChatAssistantMessage {
2156
2281
  type: "function";
2157
2282
  id: string;
2158
2283
  encryptedValue?: string | undefined;
2284
+ metadata?: Record<string, any> | undefined;
2159
2285
  }[] | undefined;
2160
2286
  }>;
2161
2287
  readonly messages: _angular_core.InputSignal<({
2288
+ id: string;
2162
2289
  role: "developer";
2163
2290
  content: string;
2164
- id: string;
2165
2291
  name?: string | undefined;
2166
2292
  encryptedValue?: string | undefined;
2293
+ metadata?: Record<string, any> | undefined;
2294
+ subagentRunId?: string | undefined;
2167
2295
  } | {
2296
+ id: string;
2168
2297
  role: "system";
2169
2298
  content: string;
2170
- id: string;
2171
2299
  name?: string | undefined;
2172
2300
  encryptedValue?: string | undefined;
2301
+ metadata?: Record<string, any> | undefined;
2302
+ subagentRunId?: string | undefined;
2173
2303
  } | {
2174
- role: "assistant";
2175
2304
  id: string;
2305
+ role: "assistant";
2176
2306
  name?: string | undefined;
2177
- content?: string | undefined;
2178
2307
  encryptedValue?: string | undefined;
2308
+ metadata?: Record<string, any> | undefined;
2309
+ content?: string | undefined;
2310
+ subagentRunId?: string | undefined;
2179
2311
  toolCalls?: {
2180
2312
  function: {
2181
2313
  name: string;
@@ -2184,8 +2316,10 @@ declare class CopilotChatAssistantMessage {
2184
2316
  type: "function";
2185
2317
  id: string;
2186
2318
  encryptedValue?: string | undefined;
2319
+ metadata?: Record<string, any> | undefined;
2187
2320
  }[] | undefined;
2188
2321
  } | {
2322
+ id: string;
2189
2323
  role: "user";
2190
2324
  content: string | ({
2191
2325
  type: "text";
@@ -2193,48 +2327,48 @@ declare class CopilotChatAssistantMessage {
2193
2327
  } | {
2194
2328
  type: "image";
2195
2329
  source: {
2196
- type: "data";
2197
2330
  value: string;
2331
+ type: "data";
2198
2332
  mimeType: string;
2199
2333
  } | {
2200
- type: "url";
2201
2334
  value: string;
2335
+ type: "url";
2202
2336
  mimeType?: string | undefined;
2203
2337
  };
2204
2338
  metadata?: unknown;
2205
2339
  } | {
2206
2340
  type: "audio";
2207
2341
  source: {
2208
- type: "data";
2209
2342
  value: string;
2343
+ type: "data";
2210
2344
  mimeType: string;
2211
2345
  } | {
2212
- type: "url";
2213
2346
  value: string;
2347
+ type: "url";
2214
2348
  mimeType?: string | undefined;
2215
2349
  };
2216
2350
  metadata?: unknown;
2217
2351
  } | {
2218
2352
  type: "video";
2219
2353
  source: {
2220
- type: "data";
2221
2354
  value: string;
2355
+ type: "data";
2222
2356
  mimeType: string;
2223
2357
  } | {
2224
- type: "url";
2225
2358
  value: string;
2359
+ type: "url";
2226
2360
  mimeType?: string | undefined;
2227
2361
  };
2228
2362
  metadata?: unknown;
2229
2363
  } | {
2230
2364
  type: "document";
2231
2365
  source: {
2232
- type: "data";
2233
2366
  value: string;
2367
+ type: "data";
2234
2368
  mimeType: string;
2235
2369
  } | {
2236
- type: "url";
2237
2370
  value: string;
2371
+ type: "url";
2238
2372
  mimeType?: string | undefined;
2239
2373
  };
2240
2374
  metadata?: unknown;
@@ -2246,26 +2380,33 @@ declare class CopilotChatAssistantMessage {
2246
2380
  url?: string | undefined;
2247
2381
  filename?: string | undefined;
2248
2382
  })[];
2249
- id: string;
2250
2383
  name?: string | undefined;
2251
2384
  encryptedValue?: string | undefined;
2385
+ metadata?: Record<string, any> | undefined;
2386
+ subagentRunId?: string | undefined;
2252
2387
  } | {
2388
+ id: string;
2253
2389
  role: "tool";
2254
- toolCallId: string;
2255
2390
  content: string;
2256
- id: string;
2391
+ toolCallId: string;
2257
2392
  encryptedValue?: string | undefined;
2393
+ metadata?: Record<string, any> | undefined;
2394
+ subagentRunId?: string | undefined;
2258
2395
  error?: string | undefined;
2259
2396
  } | {
2397
+ id: string;
2260
2398
  role: "activity";
2261
2399
  content: Record<string, any>;
2262
- id: string;
2263
2400
  activityType: string;
2401
+ metadata?: Record<string, any> | undefined;
2402
+ subagentRunId?: string | undefined;
2264
2403
  } | {
2404
+ id: string;
2265
2405
  role: "reasoning";
2266
2406
  content: string;
2267
- id: string;
2268
2407
  encryptedValue?: string | undefined;
2408
+ metadata?: Record<string, any> | undefined;
2409
+ subagentRunId?: string | undefined;
2269
2410
  })[]>;
2270
2411
  readonly agentId: _angular_core.InputSignal<string | undefined>;
2271
2412
  readonly isLoading: _angular_core.InputSignal<boolean>;
@@ -2306,11 +2447,13 @@ declare class CopilotChatAssistantMessage {
2306
2447
  hasMessageContent(): boolean;
2307
2448
  toolCallsViewContext: _angular_core.Signal<{
2308
2449
  message: {
2309
- role: "assistant";
2310
2450
  id: string;
2451
+ role: "assistant";
2311
2452
  name?: string | undefined;
2312
- content?: string | undefined;
2313
2453
  encryptedValue?: string | undefined;
2454
+ metadata?: Record<string, any> | undefined;
2455
+ content?: string | undefined;
2456
+ subagentRunId?: string | undefined;
2314
2457
  toolCalls?: {
2315
2458
  function: {
2316
2459
  name: string;
@@ -2319,26 +2462,33 @@ declare class CopilotChatAssistantMessage {
2319
2462
  type: "function";
2320
2463
  id: string;
2321
2464
  encryptedValue?: string | undefined;
2465
+ metadata?: Record<string, any> | undefined;
2322
2466
  }[] | undefined;
2323
2467
  };
2324
2468
  messages: ({
2469
+ id: string;
2325
2470
  role: "developer";
2326
2471
  content: string;
2327
- id: string;
2328
2472
  name?: string | undefined;
2329
2473
  encryptedValue?: string | undefined;
2474
+ metadata?: Record<string, any> | undefined;
2475
+ subagentRunId?: string | undefined;
2330
2476
  } | {
2477
+ id: string;
2331
2478
  role: "system";
2332
2479
  content: string;
2333
- id: string;
2334
2480
  name?: string | undefined;
2335
2481
  encryptedValue?: string | undefined;
2482
+ metadata?: Record<string, any> | undefined;
2483
+ subagentRunId?: string | undefined;
2336
2484
  } | {
2337
- role: "assistant";
2338
2485
  id: string;
2486
+ role: "assistant";
2339
2487
  name?: string | undefined;
2340
- content?: string | undefined;
2341
2488
  encryptedValue?: string | undefined;
2489
+ metadata?: Record<string, any> | undefined;
2490
+ content?: string | undefined;
2491
+ subagentRunId?: string | undefined;
2342
2492
  toolCalls?: {
2343
2493
  function: {
2344
2494
  name: string;
@@ -2347,8 +2497,10 @@ declare class CopilotChatAssistantMessage {
2347
2497
  type: "function";
2348
2498
  id: string;
2349
2499
  encryptedValue?: string | undefined;
2500
+ metadata?: Record<string, any> | undefined;
2350
2501
  }[] | undefined;
2351
2502
  } | {
2503
+ id: string;
2352
2504
  role: "user";
2353
2505
  content: string | ({
2354
2506
  type: "text";
@@ -2356,48 +2508,48 @@ declare class CopilotChatAssistantMessage {
2356
2508
  } | {
2357
2509
  type: "image";
2358
2510
  source: {
2359
- type: "data";
2360
2511
  value: string;
2512
+ type: "data";
2361
2513
  mimeType: string;
2362
2514
  } | {
2363
- type: "url";
2364
2515
  value: string;
2516
+ type: "url";
2365
2517
  mimeType?: string | undefined;
2366
2518
  };
2367
2519
  metadata?: unknown;
2368
2520
  } | {
2369
2521
  type: "audio";
2370
2522
  source: {
2371
- type: "data";
2372
2523
  value: string;
2524
+ type: "data";
2373
2525
  mimeType: string;
2374
2526
  } | {
2375
- type: "url";
2376
2527
  value: string;
2528
+ type: "url";
2377
2529
  mimeType?: string | undefined;
2378
2530
  };
2379
2531
  metadata?: unknown;
2380
2532
  } | {
2381
2533
  type: "video";
2382
2534
  source: {
2383
- type: "data";
2384
2535
  value: string;
2536
+ type: "data";
2385
2537
  mimeType: string;
2386
2538
  } | {
2387
- type: "url";
2388
2539
  value: string;
2540
+ type: "url";
2389
2541
  mimeType?: string | undefined;
2390
2542
  };
2391
2543
  metadata?: unknown;
2392
2544
  } | {
2393
2545
  type: "document";
2394
2546
  source: {
2395
- type: "data";
2396
2547
  value: string;
2548
+ type: "data";
2397
2549
  mimeType: string;
2398
2550
  } | {
2399
- type: "url";
2400
2551
  value: string;
2552
+ type: "url";
2401
2553
  mimeType?: string | undefined;
2402
2554
  };
2403
2555
  metadata?: unknown;
@@ -2409,26 +2561,33 @@ declare class CopilotChatAssistantMessage {
2409
2561
  url?: string | undefined;
2410
2562
  filename?: string | undefined;
2411
2563
  })[];
2412
- id: string;
2413
2564
  name?: string | undefined;
2414
2565
  encryptedValue?: string | undefined;
2566
+ metadata?: Record<string, any> | undefined;
2567
+ subagentRunId?: string | undefined;
2415
2568
  } | {
2569
+ id: string;
2416
2570
  role: "tool";
2417
- toolCallId: string;
2418
2571
  content: string;
2419
- id: string;
2572
+ toolCallId: string;
2420
2573
  encryptedValue?: string | undefined;
2574
+ metadata?: Record<string, any> | undefined;
2575
+ subagentRunId?: string | undefined;
2421
2576
  error?: string | undefined;
2422
2577
  } | {
2578
+ id: string;
2423
2579
  role: "activity";
2424
2580
  content: Record<string, any>;
2425
- id: string;
2426
2581
  activityType: string;
2582
+ metadata?: Record<string, any> | undefined;
2583
+ subagentRunId?: string | undefined;
2427
2584
  } | {
2585
+ id: string;
2428
2586
  role: "reasoning";
2429
2587
  content: string;
2430
- id: string;
2431
2588
  encryptedValue?: string | undefined;
2589
+ metadata?: Record<string, any> | undefined;
2590
+ subagentRunId?: string | undefined;
2432
2591
  })[];
2433
2592
  isLoading: boolean;
2434
2593
  }>;
@@ -3055,6 +3214,7 @@ declare class CopilotChatUserMessageBranchNavigation {
3055
3214
  currentBranch: _angular_core.InputSignal<number>;
3056
3215
  numberOfBranches: _angular_core.InputSignal<number>;
3057
3216
  message: _angular_core.InputSignal<{
3217
+ id: string;
3058
3218
  role: "user";
3059
3219
  content: string | ({
3060
3220
  type: "text";
@@ -3062,48 +3222,48 @@ declare class CopilotChatUserMessageBranchNavigation {
3062
3222
  } | {
3063
3223
  type: "image";
3064
3224
  source: {
3065
- type: "data";
3066
3225
  value: string;
3226
+ type: "data";
3067
3227
  mimeType: string;
3068
3228
  } | {
3069
- type: "url";
3070
3229
  value: string;
3230
+ type: "url";
3071
3231
  mimeType?: string | undefined;
3072
3232
  };
3073
3233
  metadata?: unknown;
3074
3234
  } | {
3075
3235
  type: "audio";
3076
3236
  source: {
3077
- type: "data";
3078
3237
  value: string;
3238
+ type: "data";
3079
3239
  mimeType: string;
3080
3240
  } | {
3081
- type: "url";
3082
3241
  value: string;
3242
+ type: "url";
3083
3243
  mimeType?: string | undefined;
3084
3244
  };
3085
3245
  metadata?: unknown;
3086
3246
  } | {
3087
3247
  type: "video";
3088
3248
  source: {
3089
- type: "data";
3090
3249
  value: string;
3250
+ type: "data";
3091
3251
  mimeType: string;
3092
3252
  } | {
3093
- type: "url";
3094
3253
  value: string;
3254
+ type: "url";
3095
3255
  mimeType?: string | undefined;
3096
3256
  };
3097
3257
  metadata?: unknown;
3098
3258
  } | {
3099
3259
  type: "document";
3100
3260
  source: {
3101
- type: "data";
3102
3261
  value: string;
3262
+ type: "data";
3103
3263
  mimeType: string;
3104
3264
  } | {
3105
- type: "url";
3106
3265
  value: string;
3266
+ type: "url";
3107
3267
  mimeType?: string | undefined;
3108
3268
  };
3109
3269
  metadata?: unknown;
@@ -3115,9 +3275,10 @@ declare class CopilotChatUserMessageBranchNavigation {
3115
3275
  url?: string | undefined;
3116
3276
  filename?: string | undefined;
3117
3277
  })[];
3118
- id: string;
3119
3278
  name?: string | undefined;
3120
3279
  encryptedValue?: string | undefined;
3280
+ metadata?: Record<string, any> | undefined;
3281
+ subagentRunId?: string | undefined;
3121
3282
  } | undefined>;
3122
3283
  inputClass: _angular_core.InputSignal<string | undefined>;
3123
3284
  switchToBranch: _angular_core.OutputEmitterRef<CopilotChatUserMessageOnSwitchToBranchProps>;
@@ -3153,6 +3314,7 @@ declare class CopilotChatUserMessage {
3153
3314
  editButtonComponent: _angular_core.InputSignal<Type<any> | undefined>;
3154
3315
  branchNavigationComponent: _angular_core.InputSignal<Type<any> | undefined>;
3155
3316
  message: _angular_core.InputSignal<{
3317
+ id: string;
3156
3318
  role: "user";
3157
3319
  content: string | ({
3158
3320
  type: "text";
@@ -3160,48 +3322,48 @@ declare class CopilotChatUserMessage {
3160
3322
  } | {
3161
3323
  type: "image";
3162
3324
  source: {
3163
- type: "data";
3164
3325
  value: string;
3326
+ type: "data";
3165
3327
  mimeType: string;
3166
3328
  } | {
3167
- type: "url";
3168
3329
  value: string;
3330
+ type: "url";
3169
3331
  mimeType?: string | undefined;
3170
3332
  };
3171
3333
  metadata?: unknown;
3172
3334
  } | {
3173
3335
  type: "audio";
3174
3336
  source: {
3175
- type: "data";
3176
3337
  value: string;
3338
+ type: "data";
3177
3339
  mimeType: string;
3178
3340
  } | {
3179
- type: "url";
3180
3341
  value: string;
3342
+ type: "url";
3181
3343
  mimeType?: string | undefined;
3182
3344
  };
3183
3345
  metadata?: unknown;
3184
3346
  } | {
3185
3347
  type: "video";
3186
3348
  source: {
3187
- type: "data";
3188
3349
  value: string;
3350
+ type: "data";
3189
3351
  mimeType: string;
3190
3352
  } | {
3191
- type: "url";
3192
3353
  value: string;
3354
+ type: "url";
3193
3355
  mimeType?: string | undefined;
3194
3356
  };
3195
3357
  metadata?: unknown;
3196
3358
  } | {
3197
3359
  type: "document";
3198
3360
  source: {
3199
- type: "data";
3200
3361
  value: string;
3362
+ type: "data";
3201
3363
  mimeType: string;
3202
3364
  } | {
3203
- type: "url";
3204
3365
  value: string;
3366
+ type: "url";
3205
3367
  mimeType?: string | undefined;
3206
3368
  };
3207
3369
  metadata?: unknown;
@@ -3213,9 +3375,10 @@ declare class CopilotChatUserMessage {
3213
3375
  url?: string | undefined;
3214
3376
  filename?: string | undefined;
3215
3377
  })[];
3216
- id: string;
3217
3378
  name?: string | undefined;
3218
3379
  encryptedValue?: string | undefined;
3380
+ metadata?: Record<string, any> | undefined;
3381
+ subagentRunId?: string | undefined;
3219
3382
  } | undefined>;
3220
3383
  branchIndex: _angular_core.InputSignal<number | undefined>;
3221
3384
  numberOfBranches: _angular_core.InputSignal<number | undefined>;
@@ -3265,29 +3428,37 @@ declare class CopilotChatMessageViewCursor {
3265
3428
 
3266
3429
  declare class CopilotChatReasoningMessage {
3267
3430
  readonly message: _angular_core.InputSignal<{
3431
+ id: string;
3268
3432
  role: "reasoning";
3269
3433
  content: string;
3270
- id: string;
3271
3434
  encryptedValue?: string | undefined;
3435
+ metadata?: Record<string, any> | undefined;
3436
+ subagentRunId?: string | undefined;
3272
3437
  }>;
3273
3438
  readonly messages: _angular_core.InputSignal<({
3439
+ id: string;
3274
3440
  role: "developer";
3275
3441
  content: string;
3276
- id: string;
3277
3442
  name?: string | undefined;
3278
3443
  encryptedValue?: string | undefined;
3444
+ metadata?: Record<string, any> | undefined;
3445
+ subagentRunId?: string | undefined;
3279
3446
  } | {
3447
+ id: string;
3280
3448
  role: "system";
3281
3449
  content: string;
3282
- id: string;
3283
3450
  name?: string | undefined;
3284
3451
  encryptedValue?: string | undefined;
3452
+ metadata?: Record<string, any> | undefined;
3453
+ subagentRunId?: string | undefined;
3285
3454
  } | {
3286
- role: "assistant";
3287
3455
  id: string;
3456
+ role: "assistant";
3288
3457
  name?: string | undefined;
3289
- content?: string | undefined;
3290
3458
  encryptedValue?: string | undefined;
3459
+ metadata?: Record<string, any> | undefined;
3460
+ content?: string | undefined;
3461
+ subagentRunId?: string | undefined;
3291
3462
  toolCalls?: {
3292
3463
  function: {
3293
3464
  name: string;
@@ -3296,8 +3467,10 @@ declare class CopilotChatReasoningMessage {
3296
3467
  type: "function";
3297
3468
  id: string;
3298
3469
  encryptedValue?: string | undefined;
3470
+ metadata?: Record<string, any> | undefined;
3299
3471
  }[] | undefined;
3300
3472
  } | {
3473
+ id: string;
3301
3474
  role: "user";
3302
3475
  content: string | ({
3303
3476
  type: "text";
@@ -3305,48 +3478,48 @@ declare class CopilotChatReasoningMessage {
3305
3478
  } | {
3306
3479
  type: "image";
3307
3480
  source: {
3308
- type: "data";
3309
3481
  value: string;
3482
+ type: "data";
3310
3483
  mimeType: string;
3311
3484
  } | {
3312
- type: "url";
3313
3485
  value: string;
3486
+ type: "url";
3314
3487
  mimeType?: string | undefined;
3315
3488
  };
3316
3489
  metadata?: unknown;
3317
3490
  } | {
3318
3491
  type: "audio";
3319
3492
  source: {
3320
- type: "data";
3321
3493
  value: string;
3494
+ type: "data";
3322
3495
  mimeType: string;
3323
3496
  } | {
3324
- type: "url";
3325
3497
  value: string;
3498
+ type: "url";
3326
3499
  mimeType?: string | undefined;
3327
3500
  };
3328
3501
  metadata?: unknown;
3329
3502
  } | {
3330
3503
  type: "video";
3331
3504
  source: {
3332
- type: "data";
3333
3505
  value: string;
3506
+ type: "data";
3334
3507
  mimeType: string;
3335
3508
  } | {
3336
- type: "url";
3337
3509
  value: string;
3510
+ type: "url";
3338
3511
  mimeType?: string | undefined;
3339
3512
  };
3340
3513
  metadata?: unknown;
3341
3514
  } | {
3342
3515
  type: "document";
3343
3516
  source: {
3344
- type: "data";
3345
3517
  value: string;
3518
+ type: "data";
3346
3519
  mimeType: string;
3347
3520
  } | {
3348
- type: "url";
3349
3521
  value: string;
3522
+ type: "url";
3350
3523
  mimeType?: string | undefined;
3351
3524
  };
3352
3525
  metadata?: unknown;
@@ -3358,26 +3531,33 @@ declare class CopilotChatReasoningMessage {
3358
3531
  url?: string | undefined;
3359
3532
  filename?: string | undefined;
3360
3533
  })[];
3361
- id: string;
3362
3534
  name?: string | undefined;
3363
3535
  encryptedValue?: string | undefined;
3536
+ metadata?: Record<string, any> | undefined;
3537
+ subagentRunId?: string | undefined;
3364
3538
  } | {
3539
+ id: string;
3365
3540
  role: "tool";
3366
- toolCallId: string;
3367
3541
  content: string;
3368
- id: string;
3542
+ toolCallId: string;
3369
3543
  encryptedValue?: string | undefined;
3544
+ metadata?: Record<string, any> | undefined;
3545
+ subagentRunId?: string | undefined;
3370
3546
  error?: string | undefined;
3371
3547
  } | {
3548
+ id: string;
3372
3549
  role: "activity";
3373
3550
  content: Record<string, any>;
3374
- id: string;
3375
3551
  activityType: string;
3552
+ metadata?: Record<string, any> | undefined;
3553
+ subagentRunId?: string | undefined;
3376
3554
  } | {
3555
+ id: string;
3377
3556
  role: "reasoning";
3378
3557
  content: string;
3379
- id: string;
3380
3558
  encryptedValue?: string | undefined;
3559
+ metadata?: Record<string, any> | undefined;
3560
+ subagentRunId?: string | undefined;
3381
3561
  })[]>;
3382
3562
  readonly isRunning: _angular_core.InputSignal<boolean>;
3383
3563
  readonly inputClass: _angular_core.InputSignal<string | undefined>;
@@ -3404,23 +3584,29 @@ declare class CopilotChatReasoningMessage {
3404
3584
  */
3405
3585
  declare class CopilotChatMessageView {
3406
3586
  messages: _angular_core.InputSignal<({
3587
+ id: string;
3407
3588
  role: "developer";
3408
3589
  content: string;
3409
- id: string;
3410
3590
  name?: string | undefined;
3411
3591
  encryptedValue?: string | undefined;
3592
+ metadata?: Record<string, any> | undefined;
3593
+ subagentRunId?: string | undefined;
3412
3594
  } | {
3595
+ id: string;
3413
3596
  role: "system";
3414
3597
  content: string;
3415
- id: string;
3416
3598
  name?: string | undefined;
3417
3599
  encryptedValue?: string | undefined;
3600
+ metadata?: Record<string, any> | undefined;
3601
+ subagentRunId?: string | undefined;
3418
3602
  } | {
3419
- role: "assistant";
3420
3603
  id: string;
3604
+ role: "assistant";
3421
3605
  name?: string | undefined;
3422
- content?: string | undefined;
3423
3606
  encryptedValue?: string | undefined;
3607
+ metadata?: Record<string, any> | undefined;
3608
+ content?: string | undefined;
3609
+ subagentRunId?: string | undefined;
3424
3610
  toolCalls?: {
3425
3611
  function: {
3426
3612
  name: string;
@@ -3429,8 +3615,10 @@ declare class CopilotChatMessageView {
3429
3615
  type: "function";
3430
3616
  id: string;
3431
3617
  encryptedValue?: string | undefined;
3618
+ metadata?: Record<string, any> | undefined;
3432
3619
  }[] | undefined;
3433
3620
  } | {
3621
+ id: string;
3434
3622
  role: "user";
3435
3623
  content: string | ({
3436
3624
  type: "text";
@@ -3438,48 +3626,48 @@ declare class CopilotChatMessageView {
3438
3626
  } | {
3439
3627
  type: "image";
3440
3628
  source: {
3441
- type: "data";
3442
3629
  value: string;
3630
+ type: "data";
3443
3631
  mimeType: string;
3444
3632
  } | {
3445
- type: "url";
3446
3633
  value: string;
3634
+ type: "url";
3447
3635
  mimeType?: string | undefined;
3448
3636
  };
3449
3637
  metadata?: unknown;
3450
3638
  } | {
3451
3639
  type: "audio";
3452
3640
  source: {
3453
- type: "data";
3454
3641
  value: string;
3642
+ type: "data";
3455
3643
  mimeType: string;
3456
3644
  } | {
3457
- type: "url";
3458
3645
  value: string;
3646
+ type: "url";
3459
3647
  mimeType?: string | undefined;
3460
3648
  };
3461
3649
  metadata?: unknown;
3462
3650
  } | {
3463
3651
  type: "video";
3464
3652
  source: {
3465
- type: "data";
3466
3653
  value: string;
3654
+ type: "data";
3467
3655
  mimeType: string;
3468
3656
  } | {
3469
- type: "url";
3470
3657
  value: string;
3658
+ type: "url";
3471
3659
  mimeType?: string | undefined;
3472
3660
  };
3473
3661
  metadata?: unknown;
3474
3662
  } | {
3475
3663
  type: "document";
3476
3664
  source: {
3477
- type: "data";
3478
3665
  value: string;
3666
+ type: "data";
3479
3667
  mimeType: string;
3480
3668
  } | {
3481
- type: "url";
3482
3669
  value: string;
3670
+ type: "url";
3483
3671
  mimeType?: string | undefined;
3484
3672
  };
3485
3673
  metadata?: unknown;
@@ -3491,26 +3679,33 @@ declare class CopilotChatMessageView {
3491
3679
  url?: string | undefined;
3492
3680
  filename?: string | undefined;
3493
3681
  })[];
3494
- id: string;
3495
3682
  name?: string | undefined;
3496
3683
  encryptedValue?: string | undefined;
3684
+ metadata?: Record<string, any> | undefined;
3685
+ subagentRunId?: string | undefined;
3497
3686
  } | {
3687
+ id: string;
3498
3688
  role: "tool";
3499
- toolCallId: string;
3500
3689
  content: string;
3501
- id: string;
3690
+ toolCallId: string;
3502
3691
  encryptedValue?: string | undefined;
3692
+ metadata?: Record<string, any> | undefined;
3693
+ subagentRunId?: string | undefined;
3503
3694
  error?: string | undefined;
3504
3695
  } | {
3696
+ id: string;
3505
3697
  role: "activity";
3506
3698
  content: Record<string, any>;
3507
- id: string;
3508
3699
  activityType: string;
3700
+ metadata?: Record<string, any> | undefined;
3701
+ subagentRunId?: string | undefined;
3509
3702
  } | {
3703
+ id: string;
3510
3704
  role: "reasoning";
3511
3705
  content: string;
3512
- id: string;
3513
3706
  encryptedValue?: string | undefined;
3707
+ metadata?: Record<string, any> | undefined;
3708
+ subagentRunId?: string | undefined;
3514
3709
  })[]>;
3515
3710
  /** Current agent state exposed to transcript-children slots. */
3516
3711
  state: _angular_core.InputSignal<unknown>;
@@ -3558,23 +3753,29 @@ declare class CopilotChatMessageView {
3558
3753
  protected readonly defaultCursorComponent: typeof CopilotChatMessageViewCursor;
3559
3754
  protected readonly copilotKit: CopilotKit;
3560
3755
  protected messagesValue: _angular_core.Signal<({
3756
+ id: string;
3561
3757
  role: "developer";
3562
3758
  content: string;
3563
- id: string;
3564
3759
  name?: string | undefined;
3565
3760
  encryptedValue?: string | undefined;
3761
+ metadata?: Record<string, any> | undefined;
3762
+ subagentRunId?: string | undefined;
3566
3763
  } | {
3764
+ id: string;
3567
3765
  role: "system";
3568
3766
  content: string;
3569
- id: string;
3570
3767
  name?: string | undefined;
3571
3768
  encryptedValue?: string | undefined;
3769
+ metadata?: Record<string, any> | undefined;
3770
+ subagentRunId?: string | undefined;
3572
3771
  } | {
3573
- role: "assistant";
3574
3772
  id: string;
3773
+ role: "assistant";
3575
3774
  name?: string | undefined;
3576
- content?: string | undefined;
3577
3775
  encryptedValue?: string | undefined;
3776
+ metadata?: Record<string, any> | undefined;
3777
+ content?: string | undefined;
3778
+ subagentRunId?: string | undefined;
3578
3779
  toolCalls?: {
3579
3780
  function: {
3580
3781
  name: string;
@@ -3583,8 +3784,10 @@ declare class CopilotChatMessageView {
3583
3784
  type: "function";
3584
3785
  id: string;
3585
3786
  encryptedValue?: string | undefined;
3787
+ metadata?: Record<string, any> | undefined;
3586
3788
  }[] | undefined;
3587
3789
  } | {
3790
+ id: string;
3588
3791
  role: "user";
3589
3792
  content: string | ({
3590
3793
  type: "text";
@@ -3592,48 +3795,48 @@ declare class CopilotChatMessageView {
3592
3795
  } | {
3593
3796
  type: "image";
3594
3797
  source: {
3595
- type: "data";
3596
3798
  value: string;
3799
+ type: "data";
3597
3800
  mimeType: string;
3598
3801
  } | {
3599
- type: "url";
3600
3802
  value: string;
3803
+ type: "url";
3601
3804
  mimeType?: string | undefined;
3602
3805
  };
3603
3806
  metadata?: unknown;
3604
3807
  } | {
3605
3808
  type: "audio";
3606
3809
  source: {
3607
- type: "data";
3608
3810
  value: string;
3811
+ type: "data";
3609
3812
  mimeType: string;
3610
3813
  } | {
3611
- type: "url";
3612
3814
  value: string;
3815
+ type: "url";
3613
3816
  mimeType?: string | undefined;
3614
3817
  };
3615
3818
  metadata?: unknown;
3616
3819
  } | {
3617
3820
  type: "video";
3618
3821
  source: {
3619
- type: "data";
3620
3822
  value: string;
3823
+ type: "data";
3621
3824
  mimeType: string;
3622
3825
  } | {
3623
- type: "url";
3624
3826
  value: string;
3827
+ type: "url";
3625
3828
  mimeType?: string | undefined;
3626
3829
  };
3627
3830
  metadata?: unknown;
3628
3831
  } | {
3629
3832
  type: "document";
3630
3833
  source: {
3631
- type: "data";
3632
3834
  value: string;
3835
+ type: "data";
3633
3836
  mimeType: string;
3634
3837
  } | {
3635
- type: "url";
3636
3838
  value: string;
3839
+ type: "url";
3637
3840
  mimeType?: string | undefined;
3638
3841
  };
3639
3842
  metadata?: unknown;
@@ -3645,47 +3848,60 @@ declare class CopilotChatMessageView {
3645
3848
  url?: string | undefined;
3646
3849
  filename?: string | undefined;
3647
3850
  })[];
3648
- id: string;
3649
3851
  name?: string | undefined;
3650
3852
  encryptedValue?: string | undefined;
3853
+ metadata?: Record<string, any> | undefined;
3854
+ subagentRunId?: string | undefined;
3651
3855
  } | {
3856
+ id: string;
3652
3857
  role: "tool";
3653
- toolCallId: string;
3654
3858
  content: string;
3655
- id: string;
3859
+ toolCallId: string;
3656
3860
  encryptedValue?: string | undefined;
3861
+ metadata?: Record<string, any> | undefined;
3862
+ subagentRunId?: string | undefined;
3657
3863
  error?: string | undefined;
3658
3864
  } | {
3865
+ id: string;
3659
3866
  role: "activity";
3660
3867
  content: Record<string, any>;
3661
- id: string;
3662
3868
  activityType: string;
3869
+ metadata?: Record<string, any> | undefined;
3870
+ subagentRunId?: string | undefined;
3663
3871
  } | {
3872
+ id: string;
3664
3873
  role: "reasoning";
3665
3874
  content: string;
3666
- id: string;
3667
3875
  encryptedValue?: string | undefined;
3876
+ metadata?: Record<string, any> | undefined;
3877
+ subagentRunId?: string | undefined;
3668
3878
  })[]>;
3669
3879
  protected showCursorValue: _angular_core.Signal<boolean>;
3670
3880
  protected isLoadingValue: _angular_core.Signal<boolean>;
3671
3881
  protected lastMessage: _angular_core.Signal<{
3882
+ id: string;
3672
3883
  role: "developer";
3673
3884
  content: string;
3674
- id: string;
3675
3885
  name?: string | undefined;
3676
3886
  encryptedValue?: string | undefined;
3887
+ metadata?: Record<string, any> | undefined;
3888
+ subagentRunId?: string | undefined;
3677
3889
  } | {
3890
+ id: string;
3678
3891
  role: "system";
3679
3892
  content: string;
3680
- id: string;
3681
3893
  name?: string | undefined;
3682
3894
  encryptedValue?: string | undefined;
3895
+ metadata?: Record<string, any> | undefined;
3896
+ subagentRunId?: string | undefined;
3683
3897
  } | {
3684
- role: "assistant";
3685
3898
  id: string;
3899
+ role: "assistant";
3686
3900
  name?: string | undefined;
3687
- content?: string | undefined;
3688
3901
  encryptedValue?: string | undefined;
3902
+ metadata?: Record<string, any> | undefined;
3903
+ content?: string | undefined;
3904
+ subagentRunId?: string | undefined;
3689
3905
  toolCalls?: {
3690
3906
  function: {
3691
3907
  name: string;
@@ -3694,8 +3910,10 @@ declare class CopilotChatMessageView {
3694
3910
  type: "function";
3695
3911
  id: string;
3696
3912
  encryptedValue?: string | undefined;
3913
+ metadata?: Record<string, any> | undefined;
3697
3914
  }[] | undefined;
3698
3915
  } | {
3916
+ id: string;
3699
3917
  role: "user";
3700
3918
  content: string | ({
3701
3919
  type: "text";
@@ -3703,48 +3921,48 @@ declare class CopilotChatMessageView {
3703
3921
  } | {
3704
3922
  type: "image";
3705
3923
  source: {
3706
- type: "data";
3707
3924
  value: string;
3925
+ type: "data";
3708
3926
  mimeType: string;
3709
3927
  } | {
3710
- type: "url";
3711
3928
  value: string;
3929
+ type: "url";
3712
3930
  mimeType?: string | undefined;
3713
3931
  };
3714
3932
  metadata?: unknown;
3715
3933
  } | {
3716
3934
  type: "audio";
3717
3935
  source: {
3718
- type: "data";
3719
3936
  value: string;
3937
+ type: "data";
3720
3938
  mimeType: string;
3721
3939
  } | {
3722
- type: "url";
3723
3940
  value: string;
3941
+ type: "url";
3724
3942
  mimeType?: string | undefined;
3725
3943
  };
3726
3944
  metadata?: unknown;
3727
3945
  } | {
3728
3946
  type: "video";
3729
3947
  source: {
3730
- type: "data";
3731
3948
  value: string;
3949
+ type: "data";
3732
3950
  mimeType: string;
3733
3951
  } | {
3734
- type: "url";
3735
3952
  value: string;
3953
+ type: "url";
3736
3954
  mimeType?: string | undefined;
3737
3955
  };
3738
3956
  metadata?: unknown;
3739
3957
  } | {
3740
3958
  type: "document";
3741
3959
  source: {
3742
- type: "data";
3743
3960
  value: string;
3961
+ type: "data";
3744
3962
  mimeType: string;
3745
3963
  } | {
3746
- type: "url";
3747
3964
  value: string;
3965
+ type: "url";
3748
3966
  mimeType?: string | undefined;
3749
3967
  };
3750
3968
  metadata?: unknown;
@@ -3756,48 +3974,61 @@ declare class CopilotChatMessageView {
3756
3974
  url?: string | undefined;
3757
3975
  filename?: string | undefined;
3758
3976
  })[];
3759
- id: string;
3760
3977
  name?: string | undefined;
3761
3978
  encryptedValue?: string | undefined;
3979
+ metadata?: Record<string, any> | undefined;
3980
+ subagentRunId?: string | undefined;
3762
3981
  } | {
3982
+ id: string;
3763
3983
  role: "tool";
3764
- toolCallId: string;
3765
3984
  content: string;
3766
- id: string;
3985
+ toolCallId: string;
3767
3986
  encryptedValue?: string | undefined;
3987
+ metadata?: Record<string, any> | undefined;
3988
+ subagentRunId?: string | undefined;
3768
3989
  error?: string | undefined;
3769
3990
  } | {
3991
+ id: string;
3770
3992
  role: "activity";
3771
3993
  content: Record<string, any>;
3772
- id: string;
3773
3994
  activityType: string;
3995
+ metadata?: Record<string, any> | undefined;
3996
+ subagentRunId?: string | undefined;
3774
3997
  } | {
3998
+ id: string;
3775
3999
  role: "reasoning";
3776
4000
  content: string;
3777
- id: string;
3778
4001
  encryptedValue?: string | undefined;
4002
+ metadata?: Record<string, any> | undefined;
4003
+ subagentRunId?: string | undefined;
3779
4004
  } | undefined>;
3780
4005
  computedClass: _angular_core.Signal<string>;
3781
4006
  layoutContext: _angular_core.Signal<{
3782
4007
  isLoading: boolean;
3783
4008
  messages: ({
4009
+ id: string;
3784
4010
  role: "developer";
3785
4011
  content: string;
3786
- id: string;
3787
4012
  name?: string | undefined;
3788
4013
  encryptedValue?: string | undefined;
4014
+ metadata?: Record<string, any> | undefined;
4015
+ subagentRunId?: string | undefined;
3789
4016
  } | {
4017
+ id: string;
3790
4018
  role: "system";
3791
4019
  content: string;
3792
- id: string;
3793
4020
  name?: string | undefined;
3794
4021
  encryptedValue?: string | undefined;
4022
+ metadata?: Record<string, any> | undefined;
4023
+ subagentRunId?: string | undefined;
3795
4024
  } | {
3796
- role: "assistant";
3797
4025
  id: string;
4026
+ role: "assistant";
3798
4027
  name?: string | undefined;
3799
- content?: string | undefined;
3800
4028
  encryptedValue?: string | undefined;
4029
+ metadata?: Record<string, any> | undefined;
4030
+ content?: string | undefined;
4031
+ subagentRunId?: string | undefined;
3801
4032
  toolCalls?: {
3802
4033
  function: {
3803
4034
  name: string;
@@ -3806,8 +4037,10 @@ declare class CopilotChatMessageView {
3806
4037
  type: "function";
3807
4038
  id: string;
3808
4039
  encryptedValue?: string | undefined;
4040
+ metadata?: Record<string, any> | undefined;
3809
4041
  }[] | undefined;
3810
4042
  } | {
4043
+ id: string;
3811
4044
  role: "user";
3812
4045
  content: string | ({
3813
4046
  type: "text";
@@ -3815,48 +4048,48 @@ declare class CopilotChatMessageView {
3815
4048
  } | {
3816
4049
  type: "image";
3817
4050
  source: {
3818
- type: "data";
3819
4051
  value: string;
4052
+ type: "data";
3820
4053
  mimeType: string;
3821
4054
  } | {
3822
- type: "url";
3823
4055
  value: string;
4056
+ type: "url";
3824
4057
  mimeType?: string | undefined;
3825
4058
  };
3826
4059
  metadata?: unknown;
3827
4060
  } | {
3828
4061
  type: "audio";
3829
4062
  source: {
3830
- type: "data";
3831
4063
  value: string;
4064
+ type: "data";
3832
4065
  mimeType: string;
3833
4066
  } | {
3834
- type: "url";
3835
4067
  value: string;
4068
+ type: "url";
3836
4069
  mimeType?: string | undefined;
3837
4070
  };
3838
4071
  metadata?: unknown;
3839
4072
  } | {
3840
4073
  type: "video";
3841
4074
  source: {
3842
- type: "data";
3843
4075
  value: string;
4076
+ type: "data";
3844
4077
  mimeType: string;
3845
4078
  } | {
3846
- type: "url";
3847
4079
  value: string;
4080
+ type: "url";
3848
4081
  mimeType?: string | undefined;
3849
4082
  };
3850
4083
  metadata?: unknown;
3851
4084
  } | {
3852
4085
  type: "document";
3853
4086
  source: {
3854
- type: "data";
3855
4087
  value: string;
4088
+ type: "data";
3856
4089
  mimeType: string;
3857
4090
  } | {
3858
- type: "url";
3859
4091
  value: string;
4092
+ type: "url";
3860
4093
  mimeType?: string | undefined;
3861
4094
  };
3862
4095
  metadata?: unknown;
@@ -3868,34 +4101,43 @@ declare class CopilotChatMessageView {
3868
4101
  url?: string | undefined;
3869
4102
  filename?: string | undefined;
3870
4103
  })[];
3871
- id: string;
3872
4104
  name?: string | undefined;
3873
4105
  encryptedValue?: string | undefined;
4106
+ metadata?: Record<string, any> | undefined;
4107
+ subagentRunId?: string | undefined;
3874
4108
  } | {
4109
+ id: string;
3875
4110
  role: "tool";
3876
- toolCallId: string;
3877
4111
  content: string;
3878
- id: string;
4112
+ toolCallId: string;
3879
4113
  encryptedValue?: string | undefined;
4114
+ metadata?: Record<string, any> | undefined;
4115
+ subagentRunId?: string | undefined;
3880
4116
  error?: string | undefined;
3881
4117
  } | {
4118
+ id: string;
3882
4119
  role: "activity";
3883
4120
  content: Record<string, any>;
3884
- id: string;
3885
4121
  activityType: string;
4122
+ metadata?: Record<string, any> | undefined;
4123
+ subagentRunId?: string | undefined;
3886
4124
  } | {
4125
+ id: string;
3887
4126
  role: "reasoning";
3888
4127
  content: string;
3889
- id: string;
3890
4128
  encryptedValue?: string | undefined;
4129
+ metadata?: Record<string, any> | undefined;
4130
+ subagentRunId?: string | undefined;
3891
4131
  })[];
3892
4132
  showCursor: boolean;
3893
4133
  messageElements: ({
3894
- role: "assistant";
3895
4134
  id: string;
4135
+ role: "assistant";
3896
4136
  name?: string | undefined;
3897
- content?: string | undefined;
3898
4137
  encryptedValue?: string | undefined;
4138
+ metadata?: Record<string, any> | undefined;
4139
+ content?: string | undefined;
4140
+ subagentRunId?: string | undefined;
3899
4141
  toolCalls?: {
3900
4142
  function: {
3901
4143
  name: string;
@@ -3904,8 +4146,10 @@ declare class CopilotChatMessageView {
3904
4146
  type: "function";
3905
4147
  id: string;
3906
4148
  encryptedValue?: string | undefined;
4149
+ metadata?: Record<string, any> | undefined;
3907
4150
  }[] | undefined;
3908
4151
  } | {
4152
+ id: string;
3909
4153
  role: "user";
3910
4154
  content: string | ({
3911
4155
  type: "text";
@@ -3913,48 +4157,48 @@ declare class CopilotChatMessageView {
3913
4157
  } | {
3914
4158
  type: "image";
3915
4159
  source: {
3916
- type: "data";
3917
4160
  value: string;
4161
+ type: "data";
3918
4162
  mimeType: string;
3919
4163
  } | {
3920
- type: "url";
3921
4164
  value: string;
4165
+ type: "url";
3922
4166
  mimeType?: string | undefined;
3923
4167
  };
3924
4168
  metadata?: unknown;
3925
4169
  } | {
3926
4170
  type: "audio";
3927
4171
  source: {
3928
- type: "data";
3929
4172
  value: string;
4173
+ type: "data";
3930
4174
  mimeType: string;
3931
4175
  } | {
3932
- type: "url";
3933
4176
  value: string;
4177
+ type: "url";
3934
4178
  mimeType?: string | undefined;
3935
4179
  };
3936
4180
  metadata?: unknown;
3937
4181
  } | {
3938
4182
  type: "video";
3939
4183
  source: {
3940
- type: "data";
3941
4184
  value: string;
4185
+ type: "data";
3942
4186
  mimeType: string;
3943
4187
  } | {
3944
- type: "url";
3945
4188
  value: string;
4189
+ type: "url";
3946
4190
  mimeType?: string | undefined;
3947
4191
  };
3948
4192
  metadata?: unknown;
3949
4193
  } | {
3950
4194
  type: "document";
3951
4195
  source: {
3952
- type: "data";
3953
4196
  value: string;
4197
+ type: "data";
3954
4198
  mimeType: string;
3955
4199
  } | {
3956
- type: "url";
3957
4200
  value: string;
4201
+ type: "url";
3958
4202
  mimeType?: string | undefined;
3959
4203
  };
3960
4204
  metadata?: unknown;
@@ -3966,19 +4210,24 @@ declare class CopilotChatMessageView {
3966
4210
  url?: string | undefined;
3967
4211
  filename?: string | undefined;
3968
4212
  })[];
3969
- id: string;
3970
4213
  name?: string | undefined;
3971
4214
  encryptedValue?: string | undefined;
4215
+ metadata?: Record<string, any> | undefined;
4216
+ subagentRunId?: string | undefined;
3972
4217
  } | {
4218
+ id: string;
3973
4219
  role: "activity";
3974
4220
  content: Record<string, any>;
3975
- id: string;
3976
4221
  activityType: string;
4222
+ metadata?: Record<string, any> | undefined;
4223
+ subagentRunId?: string | undefined;
3977
4224
  } | {
4225
+ id: string;
3978
4226
  role: "reasoning";
3979
4227
  content: string;
3980
- id: string;
3981
4228
  encryptedValue?: string | undefined;
4229
+ metadata?: Record<string, any> | undefined;
4230
+ subagentRunId?: string | undefined;
3982
4231
  })[];
3983
4232
  }>;
3984
4233
  assistantMessageSlot: _angular_core.Signal<string | Type<any> | undefined>;
@@ -3986,23 +4235,29 @@ declare class CopilotChatMessageView {
3986
4235
  cursorSlot: _angular_core.Signal<string | Type<any> | undefined>;
3987
4236
  mergeAssistantProps(message: Message$1): {
3988
4237
  message: {
4238
+ id: string;
3989
4239
  role: "developer";
3990
4240
  content: string;
3991
- id: string;
3992
4241
  name?: string | undefined;
3993
4242
  encryptedValue?: string | undefined;
4243
+ metadata?: Record<string, any> | undefined;
4244
+ subagentRunId?: string | undefined;
3994
4245
  } | {
4246
+ id: string;
3995
4247
  role: "system";
3996
4248
  content: string;
3997
- id: string;
3998
4249
  name?: string | undefined;
3999
4250
  encryptedValue?: string | undefined;
4251
+ metadata?: Record<string, any> | undefined;
4252
+ subagentRunId?: string | undefined;
4000
4253
  } | {
4001
- role: "assistant";
4002
4254
  id: string;
4255
+ role: "assistant";
4003
4256
  name?: string | undefined;
4004
- content?: string | undefined;
4005
4257
  encryptedValue?: string | undefined;
4258
+ metadata?: Record<string, any> | undefined;
4259
+ content?: string | undefined;
4260
+ subagentRunId?: string | undefined;
4006
4261
  toolCalls?: {
4007
4262
  function: {
4008
4263
  name: string;
@@ -4011,8 +4266,10 @@ declare class CopilotChatMessageView {
4011
4266
  type: "function";
4012
4267
  id: string;
4013
4268
  encryptedValue?: string | undefined;
4269
+ metadata?: Record<string, any> | undefined;
4014
4270
  }[] | undefined;
4015
4271
  } | {
4272
+ id: string;
4016
4273
  role: "user";
4017
4274
  content: string | ({
4018
4275
  type: "text";
@@ -4020,48 +4277,48 @@ declare class CopilotChatMessageView {
4020
4277
  } | {
4021
4278
  type: "image";
4022
4279
  source: {
4023
- type: "data";
4024
4280
  value: string;
4281
+ type: "data";
4025
4282
  mimeType: string;
4026
4283
  } | {
4027
- type: "url";
4028
4284
  value: string;
4285
+ type: "url";
4029
4286
  mimeType?: string | undefined;
4030
4287
  };
4031
4288
  metadata?: unknown;
4032
4289
  } | {
4033
4290
  type: "audio";
4034
4291
  source: {
4035
- type: "data";
4036
4292
  value: string;
4293
+ type: "data";
4037
4294
  mimeType: string;
4038
4295
  } | {
4039
- type: "url";
4040
4296
  value: string;
4297
+ type: "url";
4041
4298
  mimeType?: string | undefined;
4042
4299
  };
4043
4300
  metadata?: unknown;
4044
4301
  } | {
4045
4302
  type: "video";
4046
4303
  source: {
4047
- type: "data";
4048
4304
  value: string;
4305
+ type: "data";
4049
4306
  mimeType: string;
4050
4307
  } | {
4051
- type: "url";
4052
4308
  value: string;
4309
+ type: "url";
4053
4310
  mimeType?: string | undefined;
4054
4311
  };
4055
4312
  metadata?: unknown;
4056
4313
  } | {
4057
4314
  type: "document";
4058
4315
  source: {
4059
- type: "data";
4060
4316
  value: string;
4317
+ type: "data";
4061
4318
  mimeType: string;
4062
4319
  } | {
4063
- type: "url";
4064
4320
  value: string;
4321
+ type: "url";
4065
4322
  mimeType?: string | undefined;
4066
4323
  };
4067
4324
  metadata?: unknown;
@@ -4073,45 +4330,58 @@ declare class CopilotChatMessageView {
4073
4330
  url?: string | undefined;
4074
4331
  filename?: string | undefined;
4075
4332
  })[];
4076
- id: string;
4077
4333
  name?: string | undefined;
4078
4334
  encryptedValue?: string | undefined;
4335
+ metadata?: Record<string, any> | undefined;
4336
+ subagentRunId?: string | undefined;
4079
4337
  } | {
4338
+ id: string;
4080
4339
  role: "tool";
4081
- toolCallId: string;
4082
4340
  content: string;
4083
- id: string;
4341
+ toolCallId: string;
4084
4342
  encryptedValue?: string | undefined;
4343
+ metadata?: Record<string, any> | undefined;
4344
+ subagentRunId?: string | undefined;
4085
4345
  error?: string | undefined;
4086
4346
  } | {
4347
+ id: string;
4087
4348
  role: "activity";
4088
4349
  content: Record<string, any>;
4089
- id: string;
4090
4350
  activityType: string;
4351
+ metadata?: Record<string, any> | undefined;
4352
+ subagentRunId?: string | undefined;
4091
4353
  } | {
4354
+ id: string;
4092
4355
  role: "reasoning";
4093
4356
  content: string;
4094
- id: string;
4095
4357
  encryptedValue?: string | undefined;
4358
+ metadata?: Record<string, any> | undefined;
4359
+ subagentRunId?: string | undefined;
4096
4360
  };
4097
4361
  messages: ({
4362
+ id: string;
4098
4363
  role: "developer";
4099
4364
  content: string;
4100
- id: string;
4101
4365
  name?: string | undefined;
4102
4366
  encryptedValue?: string | undefined;
4367
+ metadata?: Record<string, any> | undefined;
4368
+ subagentRunId?: string | undefined;
4103
4369
  } | {
4370
+ id: string;
4104
4371
  role: "system";
4105
4372
  content: string;
4106
- id: string;
4107
4373
  name?: string | undefined;
4108
4374
  encryptedValue?: string | undefined;
4375
+ metadata?: Record<string, any> | undefined;
4376
+ subagentRunId?: string | undefined;
4109
4377
  } | {
4110
- role: "assistant";
4111
4378
  id: string;
4379
+ role: "assistant";
4112
4380
  name?: string | undefined;
4113
- content?: string | undefined;
4114
4381
  encryptedValue?: string | undefined;
4382
+ metadata?: Record<string, any> | undefined;
4383
+ content?: string | undefined;
4384
+ subagentRunId?: string | undefined;
4115
4385
  toolCalls?: {
4116
4386
  function: {
4117
4387
  name: string;
@@ -4120,8 +4390,10 @@ declare class CopilotChatMessageView {
4120
4390
  type: "function";
4121
4391
  id: string;
4122
4392
  encryptedValue?: string | undefined;
4393
+ metadata?: Record<string, any> | undefined;
4123
4394
  }[] | undefined;
4124
4395
  } | {
4396
+ id: string;
4125
4397
  role: "user";
4126
4398
  content: string | ({
4127
4399
  type: "text";
@@ -4129,48 +4401,48 @@ declare class CopilotChatMessageView {
4129
4401
  } | {
4130
4402
  type: "image";
4131
4403
  source: {
4132
- type: "data";
4133
4404
  value: string;
4405
+ type: "data";
4134
4406
  mimeType: string;
4135
4407
  } | {
4136
- type: "url";
4137
4408
  value: string;
4409
+ type: "url";
4138
4410
  mimeType?: string | undefined;
4139
4411
  };
4140
4412
  metadata?: unknown;
4141
4413
  } | {
4142
4414
  type: "audio";
4143
4415
  source: {
4144
- type: "data";
4145
4416
  value: string;
4417
+ type: "data";
4146
4418
  mimeType: string;
4147
4419
  } | {
4148
- type: "url";
4149
4420
  value: string;
4421
+ type: "url";
4150
4422
  mimeType?: string | undefined;
4151
4423
  };
4152
4424
  metadata?: unknown;
4153
4425
  } | {
4154
4426
  type: "video";
4155
4427
  source: {
4156
- type: "data";
4157
4428
  value: string;
4429
+ type: "data";
4158
4430
  mimeType: string;
4159
4431
  } | {
4160
- type: "url";
4161
4432
  value: string;
4433
+ type: "url";
4162
4434
  mimeType?: string | undefined;
4163
4435
  };
4164
4436
  metadata?: unknown;
4165
4437
  } | {
4166
4438
  type: "document";
4167
4439
  source: {
4168
- type: "data";
4169
4440
  value: string;
4441
+ type: "data";
4170
4442
  mimeType: string;
4171
4443
  } | {
4172
- type: "url";
4173
4444
  value: string;
4445
+ type: "url";
4174
4446
  mimeType?: string | undefined;
4175
4447
  };
4176
4448
  metadata?: unknown;
@@ -4182,55 +4454,70 @@ declare class CopilotChatMessageView {
4182
4454
  url?: string | undefined;
4183
4455
  filename?: string | undefined;
4184
4456
  })[];
4185
- id: string;
4186
4457
  name?: string | undefined;
4187
4458
  encryptedValue?: string | undefined;
4459
+ metadata?: Record<string, any> | undefined;
4460
+ subagentRunId?: string | undefined;
4188
4461
  } | {
4462
+ id: string;
4189
4463
  role: "tool";
4190
- toolCallId: string;
4191
4464
  content: string;
4192
- id: string;
4465
+ toolCallId: string;
4193
4466
  encryptedValue?: string | undefined;
4467
+ metadata?: Record<string, any> | undefined;
4468
+ subagentRunId?: string | undefined;
4194
4469
  error?: string | undefined;
4195
4470
  } | {
4471
+ id: string;
4196
4472
  role: "activity";
4197
4473
  content: Record<string, any>;
4198
- id: string;
4199
4474
  activityType: string;
4475
+ metadata?: Record<string, any> | undefined;
4476
+ subagentRunId?: string | undefined;
4200
4477
  } | {
4478
+ id: string;
4201
4479
  role: "reasoning";
4202
4480
  content: string;
4203
- id: string;
4204
4481
  encryptedValue?: string | undefined;
4482
+ metadata?: Record<string, any> | undefined;
4483
+ subagentRunId?: string | undefined;
4205
4484
  })[];
4206
4485
  isLoading: boolean;
4207
4486
  inputClass: string | undefined;
4208
4487
  };
4209
4488
  mergeReasoningProps(message: ReasoningMessage): {
4210
4489
  message: {
4490
+ id: string;
4211
4491
  role: "reasoning";
4212
4492
  content: string;
4213
- id: string;
4214
4493
  encryptedValue?: string | undefined;
4494
+ metadata?: Record<string, any> | undefined;
4495
+ subagentRunId?: string | undefined;
4215
4496
  };
4216
4497
  messages: ({
4498
+ id: string;
4217
4499
  role: "developer";
4218
4500
  content: string;
4219
- id: string;
4220
4501
  name?: string | undefined;
4221
4502
  encryptedValue?: string | undefined;
4503
+ metadata?: Record<string, any> | undefined;
4504
+ subagentRunId?: string | undefined;
4222
4505
  } | {
4506
+ id: string;
4223
4507
  role: "system";
4224
4508
  content: string;
4225
- id: string;
4226
4509
  name?: string | undefined;
4227
4510
  encryptedValue?: string | undefined;
4511
+ metadata?: Record<string, any> | undefined;
4512
+ subagentRunId?: string | undefined;
4228
4513
  } | {
4229
- role: "assistant";
4230
4514
  id: string;
4515
+ role: "assistant";
4231
4516
  name?: string | undefined;
4232
- content?: string | undefined;
4233
4517
  encryptedValue?: string | undefined;
4518
+ metadata?: Record<string, any> | undefined;
4519
+ content?: string | undefined;
4520
+ subagentRunId?: string | undefined;
4234
4521
  toolCalls?: {
4235
4522
  function: {
4236
4523
  name: string;
@@ -4239,8 +4526,10 @@ declare class CopilotChatMessageView {
4239
4526
  type: "function";
4240
4527
  id: string;
4241
4528
  encryptedValue?: string | undefined;
4529
+ metadata?: Record<string, any> | undefined;
4242
4530
  }[] | undefined;
4243
4531
  } | {
4532
+ id: string;
4244
4533
  role: "user";
4245
4534
  content: string | ({
4246
4535
  type: "text";
@@ -4248,48 +4537,48 @@ declare class CopilotChatMessageView {
4248
4537
  } | {
4249
4538
  type: "image";
4250
4539
  source: {
4251
- type: "data";
4252
4540
  value: string;
4541
+ type: "data";
4253
4542
  mimeType: string;
4254
4543
  } | {
4255
- type: "url";
4256
4544
  value: string;
4545
+ type: "url";
4257
4546
  mimeType?: string | undefined;
4258
4547
  };
4259
4548
  metadata?: unknown;
4260
4549
  } | {
4261
4550
  type: "audio";
4262
4551
  source: {
4263
- type: "data";
4264
4552
  value: string;
4553
+ type: "data";
4265
4554
  mimeType: string;
4266
4555
  } | {
4267
- type: "url";
4268
4556
  value: string;
4557
+ type: "url";
4269
4558
  mimeType?: string | undefined;
4270
4559
  };
4271
4560
  metadata?: unknown;
4272
4561
  } | {
4273
4562
  type: "video";
4274
4563
  source: {
4275
- type: "data";
4276
4564
  value: string;
4565
+ type: "data";
4277
4566
  mimeType: string;
4278
4567
  } | {
4279
- type: "url";
4280
4568
  value: string;
4569
+ type: "url";
4281
4570
  mimeType?: string | undefined;
4282
4571
  };
4283
4572
  metadata?: unknown;
4284
4573
  } | {
4285
4574
  type: "document";
4286
4575
  source: {
4287
- type: "data";
4288
4576
  value: string;
4577
+ type: "data";
4289
4578
  mimeType: string;
4290
4579
  } | {
4291
- type: "url";
4292
4580
  value: string;
4581
+ type: "url";
4293
4582
  mimeType?: string | undefined;
4294
4583
  };
4295
4584
  metadata?: unknown;
@@ -4301,49 +4590,62 @@ declare class CopilotChatMessageView {
4301
4590
  url?: string | undefined;
4302
4591
  filename?: string | undefined;
4303
4592
  })[];
4304
- id: string;
4305
4593
  name?: string | undefined;
4306
4594
  encryptedValue?: string | undefined;
4595
+ metadata?: Record<string, any> | undefined;
4596
+ subagentRunId?: string | undefined;
4307
4597
  } | {
4598
+ id: string;
4308
4599
  role: "tool";
4309
- toolCallId: string;
4310
4600
  content: string;
4311
- id: string;
4601
+ toolCallId: string;
4312
4602
  encryptedValue?: string | undefined;
4603
+ metadata?: Record<string, any> | undefined;
4604
+ subagentRunId?: string | undefined;
4313
4605
  error?: string | undefined;
4314
4606
  } | {
4607
+ id: string;
4315
4608
  role: "activity";
4316
4609
  content: Record<string, any>;
4317
- id: string;
4318
4610
  activityType: string;
4611
+ metadata?: Record<string, any> | undefined;
4612
+ subagentRunId?: string | undefined;
4319
4613
  } | {
4614
+ id: string;
4320
4615
  role: "reasoning";
4321
4616
  content: string;
4322
- id: string;
4323
4617
  encryptedValue?: string | undefined;
4618
+ metadata?: Record<string, any> | undefined;
4619
+ subagentRunId?: string | undefined;
4324
4620
  })[];
4325
4621
  isRunning: boolean;
4326
4622
  inputClass: string | undefined;
4327
4623
  };
4328
4624
  childrenContext(): {
4329
4625
  messages: ({
4626
+ id: string;
4330
4627
  role: "developer";
4331
4628
  content: string;
4332
- id: string;
4333
4629
  name?: string | undefined;
4334
4630
  encryptedValue?: string | undefined;
4631
+ metadata?: Record<string, any> | undefined;
4632
+ subagentRunId?: string | undefined;
4335
4633
  } | {
4634
+ id: string;
4336
4635
  role: "system";
4337
4636
  content: string;
4338
- id: string;
4339
4637
  name?: string | undefined;
4340
4638
  encryptedValue?: string | undefined;
4639
+ metadata?: Record<string, any> | undefined;
4640
+ subagentRunId?: string | undefined;
4341
4641
  } | {
4342
- role: "assistant";
4343
4642
  id: string;
4643
+ role: "assistant";
4344
4644
  name?: string | undefined;
4345
- content?: string | undefined;
4346
4645
  encryptedValue?: string | undefined;
4646
+ metadata?: Record<string, any> | undefined;
4647
+ content?: string | undefined;
4648
+ subagentRunId?: string | undefined;
4347
4649
  toolCalls?: {
4348
4650
  function: {
4349
4651
  name: string;
@@ -4352,8 +4654,10 @@ declare class CopilotChatMessageView {
4352
4654
  type: "function";
4353
4655
  id: string;
4354
4656
  encryptedValue?: string | undefined;
4657
+ metadata?: Record<string, any> | undefined;
4355
4658
  }[] | undefined;
4356
4659
  } | {
4660
+ id: string;
4357
4661
  role: "user";
4358
4662
  content: string | ({
4359
4663
  type: "text";
@@ -4361,48 +4665,48 @@ declare class CopilotChatMessageView {
4361
4665
  } | {
4362
4666
  type: "image";
4363
4667
  source: {
4364
- type: "data";
4365
4668
  value: string;
4669
+ type: "data";
4366
4670
  mimeType: string;
4367
4671
  } | {
4368
- type: "url";
4369
4672
  value: string;
4673
+ type: "url";
4370
4674
  mimeType?: string | undefined;
4371
4675
  };
4372
4676
  metadata?: unknown;
4373
4677
  } | {
4374
4678
  type: "audio";
4375
4679
  source: {
4376
- type: "data";
4377
4680
  value: string;
4681
+ type: "data";
4378
4682
  mimeType: string;
4379
4683
  } | {
4380
- type: "url";
4381
4684
  value: string;
4685
+ type: "url";
4382
4686
  mimeType?: string | undefined;
4383
4687
  };
4384
4688
  metadata?: unknown;
4385
4689
  } | {
4386
4690
  type: "video";
4387
4691
  source: {
4388
- type: "data";
4389
4692
  value: string;
4693
+ type: "data";
4390
4694
  mimeType: string;
4391
4695
  } | {
4392
- type: "url";
4393
4696
  value: string;
4697
+ type: "url";
4394
4698
  mimeType?: string | undefined;
4395
4699
  };
4396
4700
  metadata?: unknown;
4397
4701
  } | {
4398
4702
  type: "document";
4399
4703
  source: {
4400
- type: "data";
4401
4704
  value: string;
4705
+ type: "data";
4402
4706
  mimeType: string;
4403
4707
  } | {
4404
- type: "url";
4405
4708
  value: string;
4709
+ type: "url";
4406
4710
  mimeType?: string | undefined;
4407
4711
  };
4408
4712
  metadata?: unknown;
@@ -4414,26 +4718,33 @@ declare class CopilotChatMessageView {
4414
4718
  url?: string | undefined;
4415
4719
  filename?: string | undefined;
4416
4720
  })[];
4417
- id: string;
4418
4721
  name?: string | undefined;
4419
4722
  encryptedValue?: string | undefined;
4723
+ metadata?: Record<string, any> | undefined;
4724
+ subagentRunId?: string | undefined;
4420
4725
  } | {
4726
+ id: string;
4421
4727
  role: "tool";
4422
- toolCallId: string;
4423
4728
  content: string;
4424
- id: string;
4729
+ toolCallId: string;
4425
4730
  encryptedValue?: string | undefined;
4731
+ metadata?: Record<string, any> | undefined;
4732
+ subagentRunId?: string | undefined;
4426
4733
  error?: string | undefined;
4427
4734
  } | {
4735
+ id: string;
4428
4736
  role: "activity";
4429
4737
  content: Record<string, any>;
4430
- id: string;
4431
4738
  activityType: string;
4739
+ metadata?: Record<string, any> | undefined;
4740
+ subagentRunId?: string | undefined;
4432
4741
  } | {
4742
+ id: string;
4433
4743
  role: "reasoning";
4434
4744
  content: string;
4435
- id: string;
4436
4745
  encryptedValue?: string | undefined;
4746
+ metadata?: Record<string, any> | undefined;
4747
+ subagentRunId?: string | undefined;
4437
4748
  })[];
4438
4749
  state: unknown;
4439
4750
  agentId: string | undefined;
@@ -4442,23 +4753,29 @@ declare class CopilotChatMessageView {
4442
4753
  };
4443
4754
  mergeUserProps(message: Message$1): {
4444
4755
  message: {
4756
+ id: string;
4445
4757
  role: "developer";
4446
4758
  content: string;
4447
- id: string;
4448
4759
  name?: string | undefined;
4449
4760
  encryptedValue?: string | undefined;
4761
+ metadata?: Record<string, any> | undefined;
4762
+ subagentRunId?: string | undefined;
4450
4763
  } | {
4764
+ id: string;
4451
4765
  role: "system";
4452
4766
  content: string;
4453
- id: string;
4454
4767
  name?: string | undefined;
4455
4768
  encryptedValue?: string | undefined;
4769
+ metadata?: Record<string, any> | undefined;
4770
+ subagentRunId?: string | undefined;
4456
4771
  } | {
4457
- role: "assistant";
4458
4772
  id: string;
4773
+ role: "assistant";
4459
4774
  name?: string | undefined;
4460
- content?: string | undefined;
4461
4775
  encryptedValue?: string | undefined;
4776
+ metadata?: Record<string, any> | undefined;
4777
+ content?: string | undefined;
4778
+ subagentRunId?: string | undefined;
4462
4779
  toolCalls?: {
4463
4780
  function: {
4464
4781
  name: string;
@@ -4467,8 +4784,10 @@ declare class CopilotChatMessageView {
4467
4784
  type: "function";
4468
4785
  id: string;
4469
4786
  encryptedValue?: string | undefined;
4787
+ metadata?: Record<string, any> | undefined;
4470
4788
  }[] | undefined;
4471
4789
  } | {
4790
+ id: string;
4472
4791
  role: "user";
4473
4792
  content: string | ({
4474
4793
  type: "text";
@@ -4476,48 +4795,48 @@ declare class CopilotChatMessageView {
4476
4795
  } | {
4477
4796
  type: "image";
4478
4797
  source: {
4479
- type: "data";
4480
4798
  value: string;
4799
+ type: "data";
4481
4800
  mimeType: string;
4482
4801
  } | {
4483
- type: "url";
4484
4802
  value: string;
4803
+ type: "url";
4485
4804
  mimeType?: string | undefined;
4486
4805
  };
4487
4806
  metadata?: unknown;
4488
4807
  } | {
4489
4808
  type: "audio";
4490
4809
  source: {
4491
- type: "data";
4492
4810
  value: string;
4811
+ type: "data";
4493
4812
  mimeType: string;
4494
4813
  } | {
4495
- type: "url";
4496
4814
  value: string;
4815
+ type: "url";
4497
4816
  mimeType?: string | undefined;
4498
4817
  };
4499
4818
  metadata?: unknown;
4500
4819
  } | {
4501
4820
  type: "video";
4502
4821
  source: {
4503
- type: "data";
4504
4822
  value: string;
4823
+ type: "data";
4505
4824
  mimeType: string;
4506
4825
  } | {
4507
- type: "url";
4508
4826
  value: string;
4827
+ type: "url";
4509
4828
  mimeType?: string | undefined;
4510
4829
  };
4511
4830
  metadata?: unknown;
4512
4831
  } | {
4513
4832
  type: "document";
4514
4833
  source: {
4515
- type: "data";
4516
4834
  value: string;
4835
+ type: "data";
4517
4836
  mimeType: string;
4518
4837
  } | {
4519
- type: "url";
4520
4838
  value: string;
4839
+ type: "url";
4521
4840
  mimeType?: string | undefined;
4522
4841
  };
4523
4842
  metadata?: unknown;
@@ -4529,26 +4848,33 @@ declare class CopilotChatMessageView {
4529
4848
  url?: string | undefined;
4530
4849
  filename?: string | undefined;
4531
4850
  })[];
4532
- id: string;
4533
4851
  name?: string | undefined;
4534
4852
  encryptedValue?: string | undefined;
4853
+ metadata?: Record<string, any> | undefined;
4854
+ subagentRunId?: string | undefined;
4535
4855
  } | {
4856
+ id: string;
4536
4857
  role: "tool";
4537
- toolCallId: string;
4538
4858
  content: string;
4539
- id: string;
4859
+ toolCallId: string;
4540
4860
  encryptedValue?: string | undefined;
4861
+ metadata?: Record<string, any> | undefined;
4862
+ subagentRunId?: string | undefined;
4541
4863
  error?: string | undefined;
4542
4864
  } | {
4865
+ id: string;
4543
4866
  role: "activity";
4544
4867
  content: Record<string, any>;
4545
- id: string;
4546
4868
  activityType: string;
4869
+ metadata?: Record<string, any> | undefined;
4870
+ subagentRunId?: string | undefined;
4547
4871
  } | {
4872
+ id: string;
4548
4873
  role: "reasoning";
4549
4874
  content: string;
4550
- id: string;
4551
4875
  encryptedValue?: string | undefined;
4876
+ metadata?: Record<string, any> | undefined;
4877
+ subagentRunId?: string | undefined;
4552
4878
  };
4553
4879
  inputClass: string | undefined;
4554
4880
  };
@@ -4561,10 +4887,12 @@ declare class CopilotChatMessageView {
4561
4887
  activityType: string;
4562
4888
  content: unknown;
4563
4889
  message: {
4890
+ id: string;
4564
4891
  role: "activity";
4565
4892
  content: Record<string, any>;
4566
- id: string;
4567
4893
  activityType: string;
4894
+ metadata?: Record<string, any> | undefined;
4895
+ subagentRunId?: string | undefined;
4568
4896
  };
4569
4897
  agent: _ag_ui_client.AbstractAgent | undefined;
4570
4898
  };
@@ -4665,23 +4993,29 @@ declare class CopilotChatViewScrollView implements AfterViewInit, OnDestroy {
4665
4993
  isResizing: _angular_core.InputSignal<boolean>;
4666
4994
  inputClass: _angular_core.InputSignal<string | undefined>;
4667
4995
  messages: _angular_core.InputSignal<({
4996
+ id: string;
4668
4997
  role: "developer";
4669
4998
  content: string;
4670
- id: string;
4671
4999
  name?: string | undefined;
4672
5000
  encryptedValue?: string | undefined;
5001
+ metadata?: Record<string, any> | undefined;
5002
+ subagentRunId?: string | undefined;
4673
5003
  } | {
5004
+ id: string;
4674
5005
  role: "system";
4675
5006
  content: string;
4676
- id: string;
4677
5007
  name?: string | undefined;
4678
5008
  encryptedValue?: string | undefined;
5009
+ metadata?: Record<string, any> | undefined;
5010
+ subagentRunId?: string | undefined;
4679
5011
  } | {
4680
- role: "assistant";
4681
5012
  id: string;
5013
+ role: "assistant";
4682
5014
  name?: string | undefined;
4683
- content?: string | undefined;
4684
5015
  encryptedValue?: string | undefined;
5016
+ metadata?: Record<string, any> | undefined;
5017
+ content?: string | undefined;
5018
+ subagentRunId?: string | undefined;
4685
5019
  toolCalls?: {
4686
5020
  function: {
4687
5021
  name: string;
@@ -4690,8 +5024,10 @@ declare class CopilotChatViewScrollView implements AfterViewInit, OnDestroy {
4690
5024
  type: "function";
4691
5025
  id: string;
4692
5026
  encryptedValue?: string | undefined;
5027
+ metadata?: Record<string, any> | undefined;
4693
5028
  }[] | undefined;
4694
5029
  } | {
5030
+ id: string;
4695
5031
  role: "user";
4696
5032
  content: string | ({
4697
5033
  type: "text";
@@ -4699,48 +5035,48 @@ declare class CopilotChatViewScrollView implements AfterViewInit, OnDestroy {
4699
5035
  } | {
4700
5036
  type: "image";
4701
5037
  source: {
4702
- type: "data";
4703
5038
  value: string;
5039
+ type: "data";
4704
5040
  mimeType: string;
4705
5041
  } | {
4706
- type: "url";
4707
5042
  value: string;
5043
+ type: "url";
4708
5044
  mimeType?: string | undefined;
4709
5045
  };
4710
5046
  metadata?: unknown;
4711
5047
  } | {
4712
5048
  type: "audio";
4713
5049
  source: {
4714
- type: "data";
4715
5050
  value: string;
5051
+ type: "data";
4716
5052
  mimeType: string;
4717
5053
  } | {
4718
- type: "url";
4719
5054
  value: string;
5055
+ type: "url";
4720
5056
  mimeType?: string | undefined;
4721
5057
  };
4722
5058
  metadata?: unknown;
4723
5059
  } | {
4724
5060
  type: "video";
4725
5061
  source: {
4726
- type: "data";
4727
5062
  value: string;
5063
+ type: "data";
4728
5064
  mimeType: string;
4729
5065
  } | {
4730
- type: "url";
4731
5066
  value: string;
5067
+ type: "url";
4732
5068
  mimeType?: string | undefined;
4733
5069
  };
4734
5070
  metadata?: unknown;
4735
5071
  } | {
4736
5072
  type: "document";
4737
5073
  source: {
4738
- type: "data";
4739
5074
  value: string;
5075
+ type: "data";
4740
5076
  mimeType: string;
4741
5077
  } | {
4742
- type: "url";
4743
5078
  value: string;
5079
+ type: "url";
4744
5080
  mimeType?: string | undefined;
4745
5081
  };
4746
5082
  metadata?: unknown;
@@ -4752,26 +5088,33 @@ declare class CopilotChatViewScrollView implements AfterViewInit, OnDestroy {
4752
5088
  url?: string | undefined;
4753
5089
  filename?: string | undefined;
4754
5090
  })[];
4755
- id: string;
4756
5091
  name?: string | undefined;
4757
5092
  encryptedValue?: string | undefined;
5093
+ metadata?: Record<string, any> | undefined;
5094
+ subagentRunId?: string | undefined;
4758
5095
  } | {
5096
+ id: string;
4759
5097
  role: "tool";
4760
- toolCallId: string;
4761
5098
  content: string;
4762
- id: string;
5099
+ toolCallId: string;
4763
5100
  encryptedValue?: string | undefined;
5101
+ metadata?: Record<string, any> | undefined;
5102
+ subagentRunId?: string | undefined;
4764
5103
  error?: string | undefined;
4765
5104
  } | {
5105
+ id: string;
4766
5106
  role: "activity";
4767
5107
  content: Record<string, any>;
4768
- id: string;
4769
5108
  activityType: string;
5109
+ metadata?: Record<string, any> | undefined;
5110
+ subagentRunId?: string | undefined;
4770
5111
  } | {
5112
+ id: string;
4771
5113
  role: "reasoning";
4772
5114
  content: string;
4773
- id: string;
4774
5115
  encryptedValue?: string | undefined;
5116
+ metadata?: Record<string, any> | undefined;
5117
+ subagentRunId?: string | undefined;
4775
5118
  })[]>;
4776
5119
  /** Current agent state forwarded to message-view extension slots. */
4777
5120
  state: _angular_core.InputSignal<unknown>;
@@ -4918,23 +5261,29 @@ declare class CopilotChatView implements OnInit, OnChanges {
4918
5261
  protected readonly chatState: ChatState | null;
4919
5262
  protected readonly UploadIcon: CopilotIconData;
4920
5263
  messages: _angular_core.InputSignal<({
5264
+ id: string;
4921
5265
  role: "developer";
4922
5266
  content: string;
4923
- id: string;
4924
5267
  name?: string | undefined;
4925
5268
  encryptedValue?: string | undefined;
5269
+ metadata?: Record<string, any> | undefined;
5270
+ subagentRunId?: string | undefined;
4926
5271
  } | {
5272
+ id: string;
4927
5273
  role: "system";
4928
5274
  content: string;
4929
- id: string;
4930
5275
  name?: string | undefined;
4931
5276
  encryptedValue?: string | undefined;
5277
+ metadata?: Record<string, any> | undefined;
5278
+ subagentRunId?: string | undefined;
4932
5279
  } | {
4933
- role: "assistant";
4934
5280
  id: string;
5281
+ role: "assistant";
4935
5282
  name?: string | undefined;
4936
- content?: string | undefined;
4937
5283
  encryptedValue?: string | undefined;
5284
+ metadata?: Record<string, any> | undefined;
5285
+ content?: string | undefined;
5286
+ subagentRunId?: string | undefined;
4938
5287
  toolCalls?: {
4939
5288
  function: {
4940
5289
  name: string;
@@ -4943,8 +5292,10 @@ declare class CopilotChatView implements OnInit, OnChanges {
4943
5292
  type: "function";
4944
5293
  id: string;
4945
5294
  encryptedValue?: string | undefined;
5295
+ metadata?: Record<string, any> | undefined;
4946
5296
  }[] | undefined;
4947
5297
  } | {
5298
+ id: string;
4948
5299
  role: "user";
4949
5300
  content: string | ({
4950
5301
  type: "text";
@@ -4952,48 +5303,48 @@ declare class CopilotChatView implements OnInit, OnChanges {
4952
5303
  } | {
4953
5304
  type: "image";
4954
5305
  source: {
4955
- type: "data";
4956
5306
  value: string;
5307
+ type: "data";
4957
5308
  mimeType: string;
4958
5309
  } | {
4959
- type: "url";
4960
5310
  value: string;
5311
+ type: "url";
4961
5312
  mimeType?: string | undefined;
4962
5313
  };
4963
5314
  metadata?: unknown;
4964
5315
  } | {
4965
5316
  type: "audio";
4966
5317
  source: {
4967
- type: "data";
4968
5318
  value: string;
5319
+ type: "data";
4969
5320
  mimeType: string;
4970
5321
  } | {
4971
- type: "url";
4972
5322
  value: string;
5323
+ type: "url";
4973
5324
  mimeType?: string | undefined;
4974
5325
  };
4975
5326
  metadata?: unknown;
4976
5327
  } | {
4977
5328
  type: "video";
4978
5329
  source: {
4979
- type: "data";
4980
5330
  value: string;
5331
+ type: "data";
4981
5332
  mimeType: string;
4982
5333
  } | {
4983
- type: "url";
4984
5334
  value: string;
5335
+ type: "url";
4985
5336
  mimeType?: string | undefined;
4986
5337
  };
4987
5338
  metadata?: unknown;
4988
5339
  } | {
4989
5340
  type: "document";
4990
5341
  source: {
4991
- type: "data";
4992
5342
  value: string;
5343
+ type: "data";
4993
5344
  mimeType: string;
4994
5345
  } | {
4995
- type: "url";
4996
5346
  value: string;
5347
+ type: "url";
4997
5348
  mimeType?: string | undefined;
4998
5349
  };
4999
5350
  metadata?: unknown;
@@ -5005,26 +5356,33 @@ declare class CopilotChatView implements OnInit, OnChanges {
5005
5356
  url?: string | undefined;
5006
5357
  filename?: string | undefined;
5007
5358
  })[];
5008
- id: string;
5009
5359
  name?: string | undefined;
5010
5360
  encryptedValue?: string | undefined;
5361
+ metadata?: Record<string, any> | undefined;
5362
+ subagentRunId?: string | undefined;
5011
5363
  } | {
5364
+ id: string;
5012
5365
  role: "tool";
5013
- toolCallId: string;
5014
5366
  content: string;
5015
- id: string;
5367
+ toolCallId: string;
5016
5368
  encryptedValue?: string | undefined;
5369
+ metadata?: Record<string, any> | undefined;
5370
+ subagentRunId?: string | undefined;
5017
5371
  error?: string | undefined;
5018
5372
  } | {
5373
+ id: string;
5019
5374
  role: "activity";
5020
5375
  content: Record<string, any>;
5021
- id: string;
5022
5376
  activityType: string;
5377
+ metadata?: Record<string, any> | undefined;
5378
+ subagentRunId?: string | undefined;
5023
5379
  } | {
5380
+ id: string;
5024
5381
  role: "reasoning";
5025
5382
  content: string;
5026
- id: string;
5027
5383
  encryptedValue?: string | undefined;
5384
+ metadata?: Record<string, any> | undefined;
5385
+ subagentRunId?: string | undefined;
5028
5386
  })[]>;
5029
5387
  /** Current agent state forwarded to message-view extension slots. */
5030
5388
  state: _angular_core.InputSignal<unknown>;
@@ -5098,23 +5456,29 @@ declare class CopilotChatView implements OnInit, OnChanges {
5098
5456
  protected readonly defaultDisclaimerComponent: typeof CopilotChatViewDisclaimer;
5099
5457
  protected readonly labels: _copilotkit_angular.CopilotChatLabels;
5100
5458
  protected messagesValue: _angular_core.Signal<({
5459
+ id: string;
5101
5460
  role: "developer";
5102
5461
  content: string;
5103
- id: string;
5104
5462
  name?: string | undefined;
5105
5463
  encryptedValue?: string | undefined;
5464
+ metadata?: Record<string, any> | undefined;
5465
+ subagentRunId?: string | undefined;
5106
5466
  } | {
5467
+ id: string;
5107
5468
  role: "system";
5108
5469
  content: string;
5109
- id: string;
5110
5470
  name?: string | undefined;
5111
5471
  encryptedValue?: string | undefined;
5472
+ metadata?: Record<string, any> | undefined;
5473
+ subagentRunId?: string | undefined;
5112
5474
  } | {
5113
- role: "assistant";
5114
5475
  id: string;
5476
+ role: "assistant";
5115
5477
  name?: string | undefined;
5116
- content?: string | undefined;
5117
5478
  encryptedValue?: string | undefined;
5479
+ metadata?: Record<string, any> | undefined;
5480
+ content?: string | undefined;
5481
+ subagentRunId?: string | undefined;
5118
5482
  toolCalls?: {
5119
5483
  function: {
5120
5484
  name: string;
@@ -5123,8 +5487,10 @@ declare class CopilotChatView implements OnInit, OnChanges {
5123
5487
  type: "function";
5124
5488
  id: string;
5125
5489
  encryptedValue?: string | undefined;
5490
+ metadata?: Record<string, any> | undefined;
5126
5491
  }[] | undefined;
5127
5492
  } | {
5493
+ id: string;
5128
5494
  role: "user";
5129
5495
  content: string | ({
5130
5496
  type: "text";
@@ -5132,48 +5498,48 @@ declare class CopilotChatView implements OnInit, OnChanges {
5132
5498
  } | {
5133
5499
  type: "image";
5134
5500
  source: {
5135
- type: "data";
5136
5501
  value: string;
5502
+ type: "data";
5137
5503
  mimeType: string;
5138
5504
  } | {
5139
- type: "url";
5140
5505
  value: string;
5506
+ type: "url";
5141
5507
  mimeType?: string | undefined;
5142
5508
  };
5143
5509
  metadata?: unknown;
5144
5510
  } | {
5145
5511
  type: "audio";
5146
5512
  source: {
5147
- type: "data";
5148
5513
  value: string;
5514
+ type: "data";
5149
5515
  mimeType: string;
5150
5516
  } | {
5151
- type: "url";
5152
5517
  value: string;
5518
+ type: "url";
5153
5519
  mimeType?: string | undefined;
5154
5520
  };
5155
5521
  metadata?: unknown;
5156
5522
  } | {
5157
5523
  type: "video";
5158
5524
  source: {
5159
- type: "data";
5160
5525
  value: string;
5526
+ type: "data";
5161
5527
  mimeType: string;
5162
5528
  } | {
5163
- type: "url";
5164
5529
  value: string;
5530
+ type: "url";
5165
5531
  mimeType?: string | undefined;
5166
5532
  };
5167
5533
  metadata?: unknown;
5168
5534
  } | {
5169
5535
  type: "document";
5170
5536
  source: {
5171
- type: "data";
5172
5537
  value: string;
5538
+ type: "data";
5173
5539
  mimeType: string;
5174
5540
  } | {
5175
- type: "url";
5176
5541
  value: string;
5542
+ type: "url";
5177
5543
  mimeType?: string | undefined;
5178
5544
  };
5179
5545
  metadata?: unknown;
@@ -5185,26 +5551,33 @@ declare class CopilotChatView implements OnInit, OnChanges {
5185
5551
  url?: string | undefined;
5186
5552
  filename?: string | undefined;
5187
5553
  })[];
5188
- id: string;
5189
5554
  name?: string | undefined;
5190
5555
  encryptedValue?: string | undefined;
5556
+ metadata?: Record<string, any> | undefined;
5557
+ subagentRunId?: string | undefined;
5191
5558
  } | {
5559
+ id: string;
5192
5560
  role: "tool";
5193
- toolCallId: string;
5194
5561
  content: string;
5195
- id: string;
5562
+ toolCallId: string;
5196
5563
  encryptedValue?: string | undefined;
5564
+ metadata?: Record<string, any> | undefined;
5565
+ subagentRunId?: string | undefined;
5197
5566
  error?: string | undefined;
5198
5567
  } | {
5568
+ id: string;
5199
5569
  role: "activity";
5200
5570
  content: Record<string, any>;
5201
- id: string;
5202
5571
  activityType: string;
5572
+ metadata?: Record<string, any> | undefined;
5573
+ subagentRunId?: string | undefined;
5203
5574
  } | {
5575
+ id: string;
5204
5576
  role: "reasoning";
5205
5577
  content: string;
5206
- id: string;
5207
5578
  encryptedValue?: string | undefined;
5579
+ metadata?: Record<string, any> | undefined;
5580
+ subagentRunId?: string | undefined;
5208
5581
  })[]>;
5209
5582
  protected autoScrollSignal: _angular_core.Signal<boolean>;
5210
5583
  protected showCursorSignal: _angular_core.Signal<boolean>;
@@ -5230,23 +5603,29 @@ declare class CopilotChatView implements OnInit, OnChanges {
5230
5603
  inputContainerHeight: number;
5231
5604
  isResizing: boolean;
5232
5605
  messages: ({
5606
+ id: string;
5233
5607
  role: "developer";
5234
5608
  content: string;
5235
- id: string;
5236
5609
  name?: string | undefined;
5237
5610
  encryptedValue?: string | undefined;
5611
+ metadata?: Record<string, any> | undefined;
5612
+ subagentRunId?: string | undefined;
5238
5613
  } | {
5614
+ id: string;
5239
5615
  role: "system";
5240
5616
  content: string;
5241
- id: string;
5242
5617
  name?: string | undefined;
5243
5618
  encryptedValue?: string | undefined;
5619
+ metadata?: Record<string, any> | undefined;
5620
+ subagentRunId?: string | undefined;
5244
5621
  } | {
5245
- role: "assistant";
5246
5622
  id: string;
5623
+ role: "assistant";
5247
5624
  name?: string | undefined;
5248
- content?: string | undefined;
5249
5625
  encryptedValue?: string | undefined;
5626
+ metadata?: Record<string, any> | undefined;
5627
+ content?: string | undefined;
5628
+ subagentRunId?: string | undefined;
5250
5629
  toolCalls?: {
5251
5630
  function: {
5252
5631
  name: string;
@@ -5255,8 +5634,10 @@ declare class CopilotChatView implements OnInit, OnChanges {
5255
5634
  type: "function";
5256
5635
  id: string;
5257
5636
  encryptedValue?: string | undefined;
5637
+ metadata?: Record<string, any> | undefined;
5258
5638
  }[] | undefined;
5259
5639
  } | {
5640
+ id: string;
5260
5641
  role: "user";
5261
5642
  content: string | ({
5262
5643
  type: "text";
@@ -5264,48 +5645,48 @@ declare class CopilotChatView implements OnInit, OnChanges {
5264
5645
  } | {
5265
5646
  type: "image";
5266
5647
  source: {
5267
- type: "data";
5268
5648
  value: string;
5649
+ type: "data";
5269
5650
  mimeType: string;
5270
5651
  } | {
5271
- type: "url";
5272
5652
  value: string;
5653
+ type: "url";
5273
5654
  mimeType?: string | undefined;
5274
5655
  };
5275
5656
  metadata?: unknown;
5276
5657
  } | {
5277
5658
  type: "audio";
5278
5659
  source: {
5279
- type: "data";
5280
5660
  value: string;
5661
+ type: "data";
5281
5662
  mimeType: string;
5282
5663
  } | {
5283
- type: "url";
5284
5664
  value: string;
5665
+ type: "url";
5285
5666
  mimeType?: string | undefined;
5286
5667
  };
5287
5668
  metadata?: unknown;
5288
5669
  } | {
5289
5670
  type: "video";
5290
5671
  source: {
5291
- type: "data";
5292
5672
  value: string;
5673
+ type: "data";
5293
5674
  mimeType: string;
5294
5675
  } | {
5295
- type: "url";
5296
5676
  value: string;
5677
+ type: "url";
5297
5678
  mimeType?: string | undefined;
5298
5679
  };
5299
5680
  metadata?: unknown;
5300
5681
  } | {
5301
5682
  type: "document";
5302
5683
  source: {
5303
- type: "data";
5304
5684
  value: string;
5685
+ type: "data";
5305
5686
  mimeType: string;
5306
5687
  } | {
5307
- type: "url";
5308
5688
  value: string;
5689
+ type: "url";
5309
5690
  mimeType?: string | undefined;
5310
5691
  };
5311
5692
  metadata?: unknown;
@@ -5317,26 +5698,33 @@ declare class CopilotChatView implements OnInit, OnChanges {
5317
5698
  url?: string | undefined;
5318
5699
  filename?: string | undefined;
5319
5700
  })[];
5320
- id: string;
5321
5701
  name?: string | undefined;
5322
5702
  encryptedValue?: string | undefined;
5703
+ metadata?: Record<string, any> | undefined;
5704
+ subagentRunId?: string | undefined;
5323
5705
  } | {
5706
+ id: string;
5324
5707
  role: "tool";
5325
- toolCallId: string;
5326
5708
  content: string;
5327
- id: string;
5709
+ toolCallId: string;
5328
5710
  encryptedValue?: string | undefined;
5711
+ metadata?: Record<string, any> | undefined;
5712
+ subagentRunId?: string | undefined;
5329
5713
  error?: string | undefined;
5330
5714
  } | {
5715
+ id: string;
5331
5716
  role: "activity";
5332
5717
  content: Record<string, any>;
5333
- id: string;
5334
5718
  activityType: string;
5719
+ metadata?: Record<string, any> | undefined;
5720
+ subagentRunId?: string | undefined;
5335
5721
  } | {
5722
+ id: string;
5336
5723
  role: "reasoning";
5337
5724
  content: string;
5338
- id: string;
5339
5725
  encryptedValue?: string | undefined;
5726
+ metadata?: Record<string, any> | undefined;
5727
+ subagentRunId?: string | undefined;
5340
5728
  })[];
5341
5729
  state: unknown;
5342
5730
  agentId: string | undefined;
@@ -5588,8 +5976,8 @@ declare class CopilotThreadsDrawer {
5588
5976
  */
5589
5977
  protected readonly resolvedAgentId: _angular_core.Signal<string>;
5590
5978
  /**
5591
- * Normalized license context derived from the core's runtime-reported status,
5592
- * via the same `@copilotkit/shared` helper the React provider uses.
5979
+ * Normalized license context derived from Core's structured and legacy
5980
+ * Runtime authority, with the same precedence as the React provider.
5593
5981
  */
5594
5982
  private readonly licenseContext;
5595
5983
  /**
@@ -5814,10 +6202,12 @@ declare class CopilotA2UIActivityRenderer implements ActivityRenderer<unknown> {
5814
6202
  readonly activityType: _angular_core.InputSignal<string>;
5815
6203
  readonly content: _angular_core.InputSignal<unknown>;
5816
6204
  readonly message: _angular_core.InputSignal<{
6205
+ id: string;
5817
6206
  role: "activity";
5818
6207
  content: Record<string, any>;
5819
- id: string;
5820
6208
  activityType: string;
6209
+ metadata?: Record<string, any> | undefined;
6210
+ subagentRunId?: string | undefined;
5821
6211
  }>;
5822
6212
  readonly agent: _angular_core.InputSignal<AbstractAgent | undefined>;
5823
6213
  private readonly surfaceRef;
@@ -5990,10 +6380,12 @@ declare class CopilotOpenGenerativeUIActivityRenderer implements ActivityRendere
5990
6380
  jsExpressionsComplete?: boolean | undefined;
5991
6381
  }>;
5992
6382
  readonly message: _angular_core.InputSignal<{
6383
+ id: string;
5993
6384
  role: "activity";
5994
6385
  content: Record<string, any>;
5995
- id: string;
5996
6386
  activityType: string;
6387
+ metadata?: Record<string, any> | undefined;
6388
+ subagentRunId?: string | undefined;
5997
6389
  }>;
5998
6390
  readonly agent: _angular_core.InputSignal<AbstractAgent | undefined>;
5999
6391
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotOpenGenerativeUIActivityRenderer, never>;
@@ -6020,6 +6412,6 @@ declare class CopilotOpenGenerativeUIToolRenderer implements ToolRenderer<Genera
6020
6412
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotOpenGenerativeUIToolRenderer, "copilot-open-generative-ui-tool-renderer", never, { "toolCall": { "alias": "toolCall"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
6021
6413
  }
6022
6414
 
6023
- 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, registerFrontendTool, registerHumanInTheLoop, registerRenderActivityMessage, registerRenderToolCall, renderSlot, safeToolValue, transcribeAudio, ɵCOPILOTKIT_BUILT_IN_ACTIVITY_RENDERERS, ɵCOPILOTKIT_INSPECTOR_DEVELOPMENT_MODE };
6024
- 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 };
6415
+ 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 };
6416
+ 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 };
6025
6417
  //# sourceMappingURL=copilotkit-angular.d.ts.map