@copilotkit/angular 0.4.0 → 0.5.0

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