@copilotkit/angular 0.3.2-canary.1785878925 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -4
- package/dist/README.md +10 -4
- package/dist/fesm2022/copilotkit-angular-mcp-apps.mjs +24 -19
- package/dist/fesm2022/copilotkit-angular-mcp-apps.mjs.map +1 -1
- package/dist/fesm2022/copilotkit-angular.mjs +2387 -1764
- package/dist/fesm2022/copilotkit-angular.mjs.map +1 -1
- package/dist/styles.css +0 -3
- package/dist/{mcp-apps/index.d.ts → types/copilotkit-angular-mcp-apps.d.ts} +63 -62
- package/dist/types/copilotkit-angular-mcp-apps.d.ts.map +1 -0
- package/dist/{index.d.ts → types/copilotkit-angular.d.ts} +457 -420
- package/dist/types/copilotkit-angular.d.ts.map +1 -0
- package/package.json +34 -48
- package/tsconfig.json +9 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { Type, Signal, InjectionToken, Provider, Injector, DestroyRef, WritableSignal, OnDestroy, NgZone, ElementRef, TemplateRef, ViewContainerRef, ComponentRef, EmbeddedViewRef, OnInit, OnChanges, ChangeDetectorRef, SimpleChanges, AfterViewInit, EventEmitter } from '@angular/core';
|
|
3
3
|
import * as _ag_ui_client from '@ag-ui/client';
|
|
4
|
-
import { AbstractAgent, ActivityMessage, ToolCall,
|
|
4
|
+
import { AbstractAgent, ActivityMessage, ToolCall, Interrupt, ResumeEntry, RunAgentResult, Message, Context, AssistantMessage } from '@ag-ui/client';
|
|
5
5
|
export { AssistantMessage, Message } from '@ag-ui/client';
|
|
6
6
|
import { FrontendTool, FrontendToolHandlerContext, SuggestionsConfig, CopilotKitCoreRuntimeConnectionStatus, CopilotRuntimeTransport, ThreadEndpointRuntimeInfo, IntelligenceRuntimeInfo, RuntimeLicenseStatus, CopilotKitCoreGetSuggestionsResult, CopilotKitCore, Suggestion, Memory, MemoryRealtimeStatus, NewMemory, MemoryChanges } from '@copilotkit/core';
|
|
7
7
|
export { DynamicSuggestionsConfig, Memory, MemoryChanges, MemoryKind, MemoryScope, NewMemory, StaticSuggestionsConfig, Suggestion, SuggestionsConfig } from '@copilotkit/core';
|
|
@@ -9,11 +9,11 @@ import { StandardSchemaV1, Attachment, TranscriptionErrorCode, AttachmentsConfig
|
|
|
9
9
|
export { Attachment, AttachmentModality, AttachmentUploadError, AttachmentUploadResult, AttachmentsConfig, TranscriptionErrorCode } from '@copilotkit/shared';
|
|
10
10
|
import { z } from 'zod';
|
|
11
11
|
import { Theme, Catalog, LitComponentImplementation, LitRenderable } from '@copilotkit/a2ui-renderer/web-components';
|
|
12
|
+
import { AgentCapabilities, UserMessage, Message as Message$1, ReasoningMessage, ActivityMessage as ActivityMessage$1 } from '@ag-ui/core';
|
|
12
13
|
import { ScrollDispatcher, ViewportRuler } from '@angular/cdk/scrolling';
|
|
13
14
|
import { Observable } from 'rxjs';
|
|
14
15
|
import { ClassValue } from 'clsx';
|
|
15
16
|
import * as _copilotkit_angular from '@copilotkit/angular';
|
|
16
|
-
import { UserMessage, Message as Message$1, ReasoningMessage, ActivityMessage as ActivityMessage$1 } from '@ag-ui/core';
|
|
17
17
|
import { DrawerThread } from '@copilotkit/web-components/threads-drawer';
|
|
18
18
|
import Websandbox from '@jetbrains/websandbox';
|
|
19
19
|
|
|
@@ -138,27 +138,27 @@ declare const OpenGenerativeUIContentSchema: z.ZodObject<{
|
|
|
138
138
|
jsExpressions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
139
139
|
jsExpressionsComplete: z.ZodOptional<z.ZodBoolean>;
|
|
140
140
|
}, "strip", z.ZodTypeAny, {
|
|
141
|
-
html?: string[];
|
|
142
|
-
initialHeight?: number;
|
|
143
|
-
generating?: boolean;
|
|
144
|
-
css?: string;
|
|
145
|
-
cssComplete?: boolean;
|
|
146
|
-
htmlComplete?: boolean;
|
|
147
|
-
jsFunctions?: string;
|
|
148
|
-
jsFunctionsComplete?: boolean;
|
|
149
|
-
jsExpressions?: string[];
|
|
150
|
-
jsExpressionsComplete?: boolean;
|
|
141
|
+
html?: string[] | undefined;
|
|
142
|
+
initialHeight?: number | undefined;
|
|
143
|
+
generating?: boolean | undefined;
|
|
144
|
+
css?: string | undefined;
|
|
145
|
+
cssComplete?: boolean | undefined;
|
|
146
|
+
htmlComplete?: boolean | undefined;
|
|
147
|
+
jsFunctions?: string | undefined;
|
|
148
|
+
jsFunctionsComplete?: boolean | undefined;
|
|
149
|
+
jsExpressions?: string[] | undefined;
|
|
150
|
+
jsExpressionsComplete?: boolean | undefined;
|
|
151
151
|
}, {
|
|
152
|
-
html?: string[];
|
|
153
|
-
initialHeight?: number;
|
|
154
|
-
generating?: boolean;
|
|
155
|
-
css?: string;
|
|
156
|
-
cssComplete?: boolean;
|
|
157
|
-
htmlComplete?: boolean;
|
|
158
|
-
jsFunctions?: string;
|
|
159
|
-
jsFunctionsComplete?: boolean;
|
|
160
|
-
jsExpressions?: string[];
|
|
161
|
-
jsExpressionsComplete?: boolean;
|
|
152
|
+
html?: string[] | undefined;
|
|
153
|
+
initialHeight?: number | undefined;
|
|
154
|
+
generating?: boolean | undefined;
|
|
155
|
+
css?: string | undefined;
|
|
156
|
+
cssComplete?: boolean | undefined;
|
|
157
|
+
htmlComplete?: boolean | undefined;
|
|
158
|
+
jsFunctions?: string | undefined;
|
|
159
|
+
jsFunctionsComplete?: boolean | undefined;
|
|
160
|
+
jsExpressions?: string[] | undefined;
|
|
161
|
+
jsExpressionsComplete?: boolean | undefined;
|
|
162
162
|
}>;
|
|
163
163
|
type OpenGenerativeUIContent = z.infer<typeof OpenGenerativeUIContentSchema>;
|
|
164
164
|
declare const GenerateSandboxedUiArgsSchema: z.ZodObject<{
|
|
@@ -169,19 +169,19 @@ declare const GenerateSandboxedUiArgsSchema: z.ZodObject<{
|
|
|
169
169
|
jsFunctions: z.ZodOptional<z.ZodString>;
|
|
170
170
|
jsExpressions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
171
171
|
}, "strip", z.ZodTypeAny, {
|
|
172
|
-
html?: string;
|
|
173
|
-
initialHeight?: number;
|
|
174
|
-
css?: string;
|
|
175
|
-
jsFunctions?: string;
|
|
176
|
-
jsExpressions?: string[];
|
|
177
|
-
placeholderMessages?: string[];
|
|
172
|
+
html?: string | undefined;
|
|
173
|
+
initialHeight?: number | undefined;
|
|
174
|
+
css?: string | undefined;
|
|
175
|
+
jsFunctions?: string | undefined;
|
|
176
|
+
jsExpressions?: string[] | undefined;
|
|
177
|
+
placeholderMessages?: string[] | undefined;
|
|
178
178
|
}, {
|
|
179
|
-
html?: string;
|
|
180
|
-
initialHeight?: number;
|
|
181
|
-
css?: string;
|
|
182
|
-
jsFunctions?: string;
|
|
183
|
-
jsExpressions?: string[];
|
|
184
|
-
placeholderMessages?: string[];
|
|
179
|
+
html?: string | undefined;
|
|
180
|
+
initialHeight?: number | undefined;
|
|
181
|
+
css?: string | undefined;
|
|
182
|
+
jsFunctions?: string | undefined;
|
|
183
|
+
jsExpressions?: string[] | undefined;
|
|
184
|
+
placeholderMessages?: string[] | undefined;
|
|
185
185
|
}>;
|
|
186
186
|
type GenerateSandboxedUiArgs = z.infer<typeof GenerateSandboxedUiArgsSchema>;
|
|
187
187
|
type SandboxFunction<Args extends Record<string, unknown> = Record<string, unknown>> = {
|
|
@@ -213,6 +213,8 @@ interface A2UIRecoveryOptions {
|
|
|
213
213
|
interface CopilotKitConfig {
|
|
214
214
|
runtimeUrl?: string;
|
|
215
215
|
headers?: Record<string, string>;
|
|
216
|
+
/** Fetch credentials mode used for CopilotKit runtime requests. */
|
|
217
|
+
credentials?: RequestCredentials;
|
|
216
218
|
licenseKey?: string;
|
|
217
219
|
properties?: Record<string, unknown>;
|
|
218
220
|
agents?: Record<string, AbstractAgent>;
|
|
@@ -227,6 +229,12 @@ interface CopilotKitConfig {
|
|
|
227
229
|
defaultToolRendering?: boolean;
|
|
228
230
|
a2ui?: A2UIConfig;
|
|
229
231
|
openGenerativeUI?: OpenGenerativeUIConfig;
|
|
232
|
+
/**
|
|
233
|
+
* Disable the CopilotKit Inspector in development.
|
|
234
|
+
* The Inspector is enabled by default in development browser builds and is
|
|
235
|
+
* always disabled in production and during server rendering.
|
|
236
|
+
*/
|
|
237
|
+
enableInspector?: boolean;
|
|
230
238
|
}
|
|
231
239
|
declare const COPILOT_KIT_CONFIG: InjectionToken<CopilotKitConfig>;
|
|
232
240
|
declare function injectCopilotKitConfig(): CopilotKitConfig;
|
|
@@ -238,16 +246,17 @@ declare class CopilotKit {
|
|
|
238
246
|
readonly defaultToolRenderingEnabled: boolean;
|
|
239
247
|
readonly agents: Signal<Record<string, AbstractAgent>>;
|
|
240
248
|
readonly runtimeConnectionStatus: Signal<CopilotKitCoreRuntimeConnectionStatus>;
|
|
241
|
-
readonly runtimeUrl: Signal<string>;
|
|
249
|
+
readonly runtimeUrl: Signal<string | undefined>;
|
|
242
250
|
readonly runtimeTransport: Signal<CopilotRuntimeTransport>;
|
|
243
251
|
readonly headers: Signal<Record<string, string>>;
|
|
252
|
+
readonly credentials: Signal<RequestCredentials | undefined>;
|
|
244
253
|
/**
|
|
245
254
|
* Thread-endpoint capability advertised by the connected runtime's `/info`
|
|
246
255
|
* response, or `undefined` before the runtime reports `Connected`. Exposed
|
|
247
256
|
* as a signal (rather than a plain `core.threadEndpoints` read) so reactive
|
|
248
257
|
* consumers re-run when `/info` lands.
|
|
249
258
|
*/
|
|
250
|
-
readonly threadEndpoints: Signal<ThreadEndpointRuntimeInfo>;
|
|
259
|
+
readonly threadEndpoints: Signal<ThreadEndpointRuntimeInfo | undefined>;
|
|
251
260
|
/**
|
|
252
261
|
* Intelligence runtime info advertised by the connected runtime's `/info`
|
|
253
262
|
* response, or `undefined` before the runtime reports `Connected`. Carries
|
|
@@ -255,14 +264,14 @@ declare class CopilotKit {
|
|
|
255
264
|
* when `/info` populates it — even if the connection status does not
|
|
256
265
|
* transition in the same turn.
|
|
257
266
|
*/
|
|
258
|
-
readonly intelligence: Signal<IntelligenceRuntimeInfo>;
|
|
267
|
+
readonly intelligence: Signal<IntelligenceRuntimeInfo | undefined>;
|
|
259
268
|
/**
|
|
260
269
|
* Server-reported license status from the connected runtime's `/info`
|
|
261
270
|
* response, or `undefined` before the runtime reports it. Exposed as a signal
|
|
262
271
|
* (rather than a plain `core.licenseStatus` read) so reactive consumers — e.g.
|
|
263
272
|
* the threads drawer's license gate — re-run once the status resolves.
|
|
264
273
|
*/
|
|
265
|
-
readonly licenseStatus: Signal<RuntimeLicenseStatus>;
|
|
274
|
+
readonly licenseStatus: Signal<RuntimeLicenseStatus | undefined>;
|
|
266
275
|
readonly suggestionsByAgent: Signal<Record<string, CopilotKitCoreGetSuggestionsResult>>;
|
|
267
276
|
readonly core: CopilotKitCore;
|
|
268
277
|
readonly toolCallRenderConfigs: Signal<RenderToolCallConfig[]>;
|
|
@@ -289,6 +298,7 @@ declare class CopilotKit {
|
|
|
289
298
|
runtimeUrl?: string;
|
|
290
299
|
runtimeTransport?: CopilotRuntimeTransport;
|
|
291
300
|
headers?: Record<string, string>;
|
|
301
|
+
credentials?: RequestCredentials;
|
|
292
302
|
properties?: Record<string, unknown>;
|
|
293
303
|
agents?: Record<string, AbstractAgent>;
|
|
294
304
|
selfManagedAgents?: Record<string, AbstractAgent>;
|
|
@@ -471,7 +481,7 @@ declare class RenderToolCalls {
|
|
|
471
481
|
encryptedValue?: string | undefined;
|
|
472
482
|
})[]>;
|
|
473
483
|
readonly isLoading: _angular_core.InputSignal<boolean>;
|
|
474
|
-
readonly agentId: _angular_core.InputSignal<string>;
|
|
484
|
+
readonly agentId: _angular_core.InputSignal<string | undefined>;
|
|
475
485
|
protected pickRenderer(name: string): ToolCallHandler | undefined;
|
|
476
486
|
protected buildToolCall<Args extends Record<string, unknown>>(toolCall: ToolCall): AngularToolCall<Args>;
|
|
477
487
|
protected buildRendererInputs<Args extends Record<string, unknown>>(toolCall: ToolCall, handler: RendererToolCallHandler | ClientToolCallHandler | BuiltInToolCallHandler): {
|
|
@@ -483,26 +493,13 @@ declare class RenderToolCalls {
|
|
|
483
493
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<RenderToolCalls, "copilot-render-tool-calls", never, { "message": { "alias": "message"; "required": true; "isSignal": true; }; "messages": { "alias": "messages"; "required": true; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; "agentId": { "alias": "agentId"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
484
494
|
}
|
|
485
495
|
|
|
486
|
-
/**
|
|
487
|
-
*
|
|
488
|
-
*
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
readonly isRunning: Signal<boolean>;
|
|
494
|
-
readonly messages: Signal<Message[]>;
|
|
495
|
-
readonly state: Signal<unknown>;
|
|
496
|
-
constructor(abstractAgent: AbstractAgent, destroyRef: DestroyRef, subscribeToAgent: SubscribeToAgentFn);
|
|
497
|
-
teardown(): void;
|
|
498
|
-
}
|
|
499
|
-
declare class CopilotkitAgentFactory {
|
|
500
|
-
#private;
|
|
501
|
-
createAgentStoreSignal(agentId: Signal<string | undefined>, destroyRef: DestroyRef): Signal<AgentStore>;
|
|
502
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotkitAgentFactory, never>;
|
|
503
|
-
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CopilotkitAgentFactory>;
|
|
504
|
-
}
|
|
505
|
-
declare function injectAgentStore(agentId: string | Signal<string | undefined>): Signal<AgentStore>;
|
|
496
|
+
/**
|
|
497
|
+
* Injection token that reports whether the Inspector treats the app as
|
|
498
|
+
* development. Tests can override it. Applications must not depend on it.
|
|
499
|
+
*
|
|
500
|
+
* @internal
|
|
501
|
+
*/
|
|
502
|
+
declare const ɵCOPILOTKIT_INSPECTOR_DEVELOPMENT_MODE: InjectionToken<boolean>;
|
|
506
503
|
|
|
507
504
|
/** Legacy custom-event interrupt payload. */
|
|
508
505
|
interface InterruptEvent<TValue = unknown> {
|
|
@@ -511,6 +508,7 @@ interface InterruptEvent<TValue = unknown> {
|
|
|
511
508
|
}
|
|
512
509
|
/** Options forwarded when resuming an interrupted agent. */
|
|
513
510
|
interface InterruptRunOptions {
|
|
511
|
+
runId?: string;
|
|
514
512
|
resume?: ResumeEntry[];
|
|
515
513
|
forwardedProps?: Record<string, unknown>;
|
|
516
514
|
}
|
|
@@ -549,7 +547,7 @@ declare class InterruptExpiredError extends Error {
|
|
|
549
547
|
*/
|
|
550
548
|
declare class InterruptController<TValue = unknown, TResult = never> {
|
|
551
549
|
#private;
|
|
552
|
-
readonly event: Signal<InterruptEvent<TValue
|
|
550
|
+
readonly event: Signal<InterruptEvent<TValue> | null>;
|
|
553
551
|
readonly interrupt: Signal<{
|
|
554
552
|
id: string;
|
|
555
553
|
reason: string;
|
|
@@ -558,7 +556,7 @@ declare class InterruptController<TValue = unknown, TResult = never> {
|
|
|
558
556
|
metadata?: Record<string, any> | undefined;
|
|
559
557
|
responseSchema?: Record<string, any> | undefined;
|
|
560
558
|
expiresAt?: string | undefined;
|
|
561
|
-
}>;
|
|
559
|
+
} | null>;
|
|
562
560
|
readonly interrupts: Signal<readonly {
|
|
563
561
|
id: string;
|
|
564
562
|
reason: string;
|
|
@@ -568,10 +566,10 @@ declare class InterruptController<TValue = unknown, TResult = never> {
|
|
|
568
566
|
responseSchema?: Record<string, any> | undefined;
|
|
569
567
|
expiresAt?: string | undefined;
|
|
570
568
|
}[]>;
|
|
571
|
-
readonly result: Signal<TResult>;
|
|
569
|
+
readonly result: Signal<TResult | null>;
|
|
572
570
|
readonly error: Signal<unknown>;
|
|
573
571
|
readonly hasInterrupt: Signal<boolean>;
|
|
574
|
-
readonly view: Signal<InterruptView<TValue, TResult
|
|
572
|
+
readonly view: Signal<InterruptView<TValue, TResult> | null>;
|
|
575
573
|
constructor(runner: InterruptRunner, options?: InjectInterruptOptions<TValue, TResult>);
|
|
576
574
|
/** Subscribe to an agent, replacing any previous lifecycle subscription. */
|
|
577
575
|
connect(agent: AbstractAgent): void;
|
|
@@ -588,17 +586,52 @@ declare class InterruptController<TValue = unknown, TResult = never> {
|
|
|
588
586
|
/** Release the agent subscription and clear sensitive pending state. */
|
|
589
587
|
destroy(): void;
|
|
590
588
|
}
|
|
589
|
+
|
|
590
|
+
/** Function signature for subscribing to an agent — derived from
|
|
591
|
+
* CopilotKitCore so the types stay in sync automatically. Injected
|
|
592
|
+
* by the factory so that AgentStore stays decoupled from the concrete class. */
|
|
593
|
+
type SubscribeToAgentFn = CopilotKitCore["subscribeToAgentWithOptions"];
|
|
594
|
+
declare class AgentStore {
|
|
595
|
+
#private;
|
|
596
|
+
readonly agent: AbstractAgent;
|
|
597
|
+
readonly isRunning: Signal<boolean>;
|
|
598
|
+
readonly messages: Signal<Message[]>;
|
|
599
|
+
readonly state: Signal<unknown>;
|
|
600
|
+
/** Unfiltered interrupt controller bound to this store's agent. */
|
|
601
|
+
readonly interruptController: InterruptController;
|
|
602
|
+
constructor(abstractAgent: AbstractAgent, destroyRef: DestroyRef, subscribeToAgent: SubscribeToAgentFn, interruptRunner?: InterruptRunner);
|
|
603
|
+
teardown(): void;
|
|
604
|
+
}
|
|
605
|
+
declare class CopilotkitAgentFactory {
|
|
606
|
+
#private;
|
|
607
|
+
createAgentStoreSignal(agentId: Signal<string | undefined>, destroyRef: DestroyRef): Signal<AgentStore>;
|
|
608
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotkitAgentFactory, never>;
|
|
609
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<CopilotkitAgentFactory>;
|
|
610
|
+
}
|
|
611
|
+
declare function injectAgentStore(agentId: string | Signal<string | undefined>): Signal<AgentStore>;
|
|
612
|
+
|
|
613
|
+
/**
|
|
614
|
+
* Returns the capabilities declared by the resolved AG-UI agent.
|
|
615
|
+
*
|
|
616
|
+
* @param agentId - Optional agent ID or signal. When omitted, agent resolution
|
|
617
|
+
* uses the ambient chat configuration and then the default agent.
|
|
618
|
+
*/
|
|
619
|
+
declare function injectCapabilities(agentId?: string | Signal<string | undefined>): Signal<AgentCapabilities | undefined>;
|
|
620
|
+
|
|
621
|
+
type InterruptAgentId = string | Signal<string | undefined>;
|
|
591
622
|
/**
|
|
592
623
|
* Create an interrupt controller in the current Angular injection context.
|
|
593
624
|
*
|
|
594
625
|
* The controller follows the ambient chat agent and thread unless an explicit
|
|
595
|
-
* agent is supplied. Bind its signals in a
|
|
596
|
-
* `cancel` from user-driven event handlers.
|
|
626
|
+
* agent id or signal is supplied as the first argument. Bind its signals in a
|
|
627
|
+
* template and call `resolve` or `cancel` from user-driven event handlers.
|
|
597
628
|
*/
|
|
629
|
+
declare function injectInterrupt<TValue = unknown, TResult = never>(agentId?: InterruptAgentId, options?: Omit<InjectInterruptOptions<TValue, TResult>, "agentId">): InterruptController<TValue, TResult>;
|
|
630
|
+
/** Compatibility overload for the original options-only call shape. */
|
|
598
631
|
declare function injectInterrupt<TValue = unknown, TResult = never>(options?: InjectInterruptOptions<TValue, TResult>): InterruptController<TValue, TResult>;
|
|
599
632
|
|
|
600
633
|
/**
|
|
601
|
-
* A conversation thread managed by
|
|
634
|
+
* A conversation thread managed by CopilotKit Intelligence.
|
|
602
635
|
*
|
|
603
636
|
* Each thread has a unique `id`, an optional human-readable `name`, and
|
|
604
637
|
* timestamp fields tracking creation and update times. This mirrors the
|
|
@@ -630,7 +663,7 @@ interface Thread {
|
|
|
630
663
|
* Configuration for {@link injectThreads}.
|
|
631
664
|
*
|
|
632
665
|
* Thread operations are scoped to the runtime-authenticated user and the
|
|
633
|
-
* provided agent on
|
|
666
|
+
* provided agent on CopilotKit Intelligence. Each field may be supplied as
|
|
634
667
|
* a plain value or a {@link Signal}; when a signal is used the underlying
|
|
635
668
|
* runtime context is re-synced whenever its value changes.
|
|
636
669
|
*/
|
|
@@ -764,7 +797,7 @@ declare class ThreadsStore implements InjectThreadsResult {
|
|
|
764
797
|
readonly threads: Signal<Thread[]>;
|
|
765
798
|
readonly error: Signal<Error | null>;
|
|
766
799
|
readonly listError: Signal<Error | null>;
|
|
767
|
-
readonly fetchMoreError: Signal<Error>;
|
|
800
|
+
readonly fetchMoreError: Signal<Error | null>;
|
|
768
801
|
readonly isLoading: Signal<boolean>;
|
|
769
802
|
readonly hasMoreThreads: Signal<boolean>;
|
|
770
803
|
readonly isFetchingMoreThreads: Signal<boolean>;
|
|
@@ -802,7 +835,7 @@ declare class CopilotkitThreadsFactory {
|
|
|
802
835
|
* the signal-based counterpart to react-core's `useThreads`.
|
|
803
836
|
*
|
|
804
837
|
* On creation the store fetches the thread list for the runtime-authenticated
|
|
805
|
-
* user and the given `agentId`. When
|
|
838
|
+
* user and the given `agentId`. When CopilotKit Intelligence exposes a
|
|
806
839
|
* WebSocket URL it also opens a realtime subscription so the `threads` signal
|
|
807
840
|
* stays current without polling. Mutation methods return promises that resolve
|
|
808
841
|
* once the platform confirms the operation and reject with an `Error` on
|
|
@@ -1433,7 +1466,7 @@ declare function getSlotConfig(): ReadonlyMap<string, SlotRegistryEntry> | null;
|
|
|
1433
1466
|
* renderSendButton(this.viewContainer, this.sendButtonOverride);
|
|
1434
1467
|
* ```
|
|
1435
1468
|
*/
|
|
1436
|
-
declare function createSlotRenderer<T>(defaultComponent: Type<T>, slotName?: string): (viewContainer: ViewContainerRef, slot?: SlotValue<T>, props?: Partial<T>, outputs?: Record<string, (event: any) => void>) => ComponentRef<T> | EmbeddedViewRef<T
|
|
1469
|
+
declare function createSlotRenderer<T>(defaultComponent: Type<T>, slotName?: string): (viewContainer: ViewContainerRef, slot?: SlotValue<T>, props?: Partial<T>, outputs?: Record<string, (event: any) => void>) => ComponentRef<T> | EmbeddedViewRef<T> | null;
|
|
1437
1470
|
|
|
1438
1471
|
/**
|
|
1439
1472
|
* @internal - This component is for internal use only.
|
|
@@ -1451,10 +1484,10 @@ declare function createSlotRenderer<T>(defaultComponent: Type<T>, slotName?: str
|
|
|
1451
1484
|
declare class CopilotSlot implements OnInit, OnChanges {
|
|
1452
1485
|
private viewContainer;
|
|
1453
1486
|
private cdr;
|
|
1454
|
-
slot: _angular_core.InputSignal<Type<any> | TemplateRef<any
|
|
1487
|
+
slot: _angular_core.InputSignal<Type<any> | TemplateRef<any> | undefined>;
|
|
1455
1488
|
context: _angular_core.InputSignal<any>;
|
|
1456
|
-
defaultComponent: _angular_core.InputSignal<Type<any
|
|
1457
|
-
outputs: _angular_core.InputSignal<Record<string, (event: any) => void
|
|
1489
|
+
defaultComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
1490
|
+
outputs: _angular_core.InputSignal<Record<string, (event: any) => void> | undefined>;
|
|
1458
1491
|
private slotContainer;
|
|
1459
1492
|
private componentRef?;
|
|
1460
1493
|
constructor(viewContainer: ViewContainerRef, cdr: ChangeDetectorRef);
|
|
@@ -1638,28 +1671,28 @@ declare class CopilotTooltip implements OnDestroy {
|
|
|
1638
1671
|
declare class CopilotChat extends ChatState {
|
|
1639
1672
|
private readonly attachmentsDirective;
|
|
1640
1673
|
readonly inputValue: _angular_core.WritableSignal<string>;
|
|
1641
|
-
readonly agentId: _angular_core.InputSignal<string>;
|
|
1642
|
-
readonly threadId: _angular_core.InputSignal<string>;
|
|
1643
|
-
readonly inputComponent: _angular_core.InputSignal<Type<any
|
|
1674
|
+
readonly agentId: _angular_core.InputSignal<string | undefined>;
|
|
1675
|
+
readonly threadId: _angular_core.InputSignal<string | undefined>;
|
|
1676
|
+
readonly inputComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
1644
1677
|
/** Component used to render each assistant message in the prebuilt chat. */
|
|
1645
|
-
readonly assistantMessageComponent: _angular_core.InputSignal<Type<any
|
|
1678
|
+
readonly assistantMessageComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
1646
1679
|
/** Template used to render each assistant message in the prebuilt chat. */
|
|
1647
|
-
readonly assistantMessageTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
1680
|
+
readonly assistantMessageTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
1648
1681
|
/** Class forwarded to the default or custom assistant-message renderer. */
|
|
1649
|
-
readonly assistantMessageClass: _angular_core.InputSignal<string>;
|
|
1682
|
+
readonly assistantMessageClass: _angular_core.InputSignal<string | undefined>;
|
|
1650
1683
|
/** Component used to render each reasoning message in the prebuilt chat. */
|
|
1651
|
-
readonly reasoningMessageComponent: _angular_core.InputSignal<Type<any
|
|
1684
|
+
readonly reasoningMessageComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
1652
1685
|
/** Template used to render each reasoning message in the prebuilt chat. */
|
|
1653
|
-
readonly reasoningMessageTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
1686
|
+
readonly reasoningMessageTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
1654
1687
|
/** Class forwarded to the default or custom reasoning-message renderer. */
|
|
1655
|
-
readonly reasoningMessageClass: _angular_core.InputSignal<string>;
|
|
1688
|
+
readonly reasoningMessageClass: _angular_core.InputSignal<string | undefined>;
|
|
1656
1689
|
/** Component rendered after the transcript messages and before the cursor. */
|
|
1657
|
-
readonly messageViewChildrenComponent: _angular_core.InputSignal<Type<any
|
|
1690
|
+
readonly messageViewChildrenComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
1658
1691
|
/** Template rendered after the transcript messages and before the cursor. */
|
|
1659
|
-
readonly messageViewChildrenTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
1692
|
+
readonly messageViewChildrenTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
1660
1693
|
/** Class forwarded to custom transcript-children renderers. */
|
|
1661
|
-
readonly messageViewChildrenClass: _angular_core.InputSignal<string>;
|
|
1662
|
-
readonly attachmentsConfig: _angular_core.InputSignal<AttachmentsConfig>;
|
|
1694
|
+
readonly messageViewChildrenClass: _angular_core.InputSignal<string | undefined>;
|
|
1695
|
+
readonly attachmentsConfig: _angular_core.InputSignal<AttachmentsConfig | undefined>;
|
|
1663
1696
|
/**
|
|
1664
1697
|
* Ambient chat configuration, when a {@link provideCopilotChatConfiguration}
|
|
1665
1698
|
* provider is in scope. Absent (`null`) for standalone
|
|
@@ -1933,7 +1966,7 @@ declare class CopilotChatToolCallsView {
|
|
|
1933
1966
|
id: string;
|
|
1934
1967
|
encryptedValue?: string | undefined;
|
|
1935
1968
|
})[]>;
|
|
1936
|
-
readonly agentId: _angular_core.InputSignal<string>;
|
|
1969
|
+
readonly agentId: _angular_core.InputSignal<string | undefined>;
|
|
1937
1970
|
readonly isLoading: _angular_core.InputSignal<boolean>;
|
|
1938
1971
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotChatToolCallsView, never>;
|
|
1939
1972
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotChatToolCallsView, "copilot-chat-tool-calls-view", never, { "message": { "alias": "message"; "required": true; "isSignal": true; }; "messages": { "alias": "messages"; "required": true; "isSignal": true; }; "agentId": { "alias": "agentId"; "required": false; "isSignal": true; }; "isLoading": { "alias": "isLoading"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -1971,7 +2004,7 @@ interface CopilotChatAssistantMessageOnRegenerateProps {
|
|
|
1971
2004
|
|
|
1972
2005
|
declare class CopilotChatAssistantMessageRenderer implements AfterViewInit {
|
|
1973
2006
|
readonly content: _angular_core.InputSignal<string>;
|
|
1974
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
2007
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
1975
2008
|
readonly labels: _copilotkit_angular.CopilotChatLabels;
|
|
1976
2009
|
markdownContainer?: ElementRef<HTMLDivElement>;
|
|
1977
2010
|
private elementRef;
|
|
@@ -2002,16 +2035,16 @@ type CopilotIconData = readonly CopilotIconNode[];
|
|
|
2002
2035
|
declare class CopilotChatAssistantMessageToolbarButton {
|
|
2003
2036
|
title: _angular_core.InputSignal<string>;
|
|
2004
2037
|
disabled: _angular_core.InputSignal<boolean>;
|
|
2005
|
-
inputClass: _angular_core.InputSignal<string>;
|
|
2038
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2006
2039
|
computedClass: _angular_core.Signal<string>;
|
|
2007
2040
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotChatAssistantMessageToolbarButton, never>;
|
|
2008
2041
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotChatAssistantMessageToolbarButton, "button[copilotChatAssistantMessageToolbarButton]", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "inputClass": { "alias": "inputClass"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof CopilotTooltip; inputs: { "copilotTooltip": "title"; "tooltipPosition": "tooltipPosition"; "tooltipDelay": "tooltipDelay"; }; outputs: {}; }]>;
|
|
2009
2042
|
}
|
|
2010
2043
|
declare class CopilotChatAssistantMessageCopyButton {
|
|
2011
|
-
readonly title: _angular_core.InputSignal<string>;
|
|
2044
|
+
readonly title: _angular_core.InputSignal<string | undefined>;
|
|
2012
2045
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
2013
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
2014
|
-
readonly content: _angular_core.InputSignal<string>;
|
|
2046
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2047
|
+
readonly content: _angular_core.InputSignal<string | undefined>;
|
|
2015
2048
|
readonly clicked: _angular_core.OutputEmitterRef<void>;
|
|
2016
2049
|
readonly CopyIcon: CopilotIconData;
|
|
2017
2050
|
readonly CheckIcon: CopilotIconData;
|
|
@@ -2022,9 +2055,9 @@ declare class CopilotChatAssistantMessageCopyButton {
|
|
|
2022
2055
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotChatAssistantMessageCopyButton, "copilot-chat-assistant-message-copy-button", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "inputClass": { "alias": "inputClass"; "required": false; "isSignal": true; }; "content": { "alias": "content"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
|
2023
2056
|
}
|
|
2024
2057
|
declare class CopilotChatAssistantMessageThumbsUpButton {
|
|
2025
|
-
readonly title: _angular_core.InputSignal<string>;
|
|
2058
|
+
readonly title: _angular_core.InputSignal<string | undefined>;
|
|
2026
2059
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
2027
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
2060
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2028
2061
|
readonly clicked: _angular_core.OutputEmitterRef<void>;
|
|
2029
2062
|
readonly ThumbsUpIcon: CopilotIconData;
|
|
2030
2063
|
readonly labels: _copilotkit_angular.CopilotChatLabels;
|
|
@@ -2033,9 +2066,9 @@ declare class CopilotChatAssistantMessageThumbsUpButton {
|
|
|
2033
2066
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotChatAssistantMessageThumbsUpButton, "copilot-chat-assistant-message-thumbs-up-button", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "inputClass": { "alias": "inputClass"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
|
2034
2067
|
}
|
|
2035
2068
|
declare class CopilotChatAssistantMessageThumbsDownButton {
|
|
2036
|
-
readonly title: _angular_core.InputSignal<string>;
|
|
2069
|
+
readonly title: _angular_core.InputSignal<string | undefined>;
|
|
2037
2070
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
2038
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
2071
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2039
2072
|
readonly clicked: _angular_core.OutputEmitterRef<void>;
|
|
2040
2073
|
readonly ThumbsDownIcon: CopilotIconData;
|
|
2041
2074
|
readonly labels: _copilotkit_angular.CopilotChatLabels;
|
|
@@ -2044,9 +2077,9 @@ declare class CopilotChatAssistantMessageThumbsDownButton {
|
|
|
2044
2077
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotChatAssistantMessageThumbsDownButton, "copilot-chat-assistant-message-thumbs-down-button", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "inputClass": { "alias": "inputClass"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
|
2045
2078
|
}
|
|
2046
2079
|
declare class CopilotChatAssistantMessageReadAloudButton {
|
|
2047
|
-
readonly title: _angular_core.InputSignal<string>;
|
|
2080
|
+
readonly title: _angular_core.InputSignal<string | undefined>;
|
|
2048
2081
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
2049
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
2082
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2050
2083
|
readonly clicked: _angular_core.OutputEmitterRef<void>;
|
|
2051
2084
|
readonly Volume2Icon: CopilotIconData;
|
|
2052
2085
|
readonly labels: _copilotkit_angular.CopilotChatLabels;
|
|
@@ -2055,9 +2088,9 @@ declare class CopilotChatAssistantMessageReadAloudButton {
|
|
|
2055
2088
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotChatAssistantMessageReadAloudButton, "copilot-chat-assistant-message-read-aloud-button", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "inputClass": { "alias": "inputClass"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
|
2056
2089
|
}
|
|
2057
2090
|
declare class CopilotChatAssistantMessageRegenerateButton {
|
|
2058
|
-
readonly title: _angular_core.InputSignal<string>;
|
|
2091
|
+
readonly title: _angular_core.InputSignal<string | undefined>;
|
|
2059
2092
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
2060
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
2093
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2061
2094
|
readonly clicked: _angular_core.OutputEmitterRef<void>;
|
|
2062
2095
|
readonly RefreshCwIcon: CopilotIconData;
|
|
2063
2096
|
readonly labels: _copilotkit_angular.CopilotChatLabels;
|
|
@@ -2067,7 +2100,7 @@ declare class CopilotChatAssistantMessageRegenerateButton {
|
|
|
2067
2100
|
}
|
|
2068
2101
|
|
|
2069
2102
|
declare class CopilotChatAssistantMessageToolbar {
|
|
2070
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
2103
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2071
2104
|
readonly computedClass: _angular_core.Signal<string>;
|
|
2072
2105
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotChatAssistantMessageToolbar, never>;
|
|
2073
2106
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CopilotChatAssistantMessageToolbar, "[copilotChatAssistantMessageToolbar]", never, { "inputClass": { "alias": "inputClass"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -2093,22 +2126,22 @@ declare class CopilotChatAssistantMessage {
|
|
|
2093
2126
|
readAloudButtonTemplate?: TemplateRef<ReadAloudButtonContext>;
|
|
2094
2127
|
regenerateButtonTemplate?: TemplateRef<RegenerateButtonContext>;
|
|
2095
2128
|
toolCallsViewTemplate?: TemplateRef<any>;
|
|
2096
|
-
readonly markdownRendererClass: _angular_core.InputSignal<string>;
|
|
2097
|
-
readonly toolbarClass: _angular_core.InputSignal<string>;
|
|
2098
|
-
readonly copyButtonClass: _angular_core.InputSignal<string>;
|
|
2099
|
-
readonly thumbsUpButtonClass: _angular_core.InputSignal<string>;
|
|
2100
|
-
readonly thumbsDownButtonClass: _angular_core.InputSignal<string>;
|
|
2101
|
-
readonly readAloudButtonClass: _angular_core.InputSignal<string>;
|
|
2102
|
-
readonly regenerateButtonClass: _angular_core.InputSignal<string>;
|
|
2103
|
-
readonly toolCallsViewClass: _angular_core.InputSignal<string>;
|
|
2104
|
-
readonly markdownRendererComponent: _angular_core.InputSignal<Type<any
|
|
2105
|
-
readonly toolbarComponent: _angular_core.InputSignal<Type<any
|
|
2106
|
-
readonly copyButtonComponent: _angular_core.InputSignal<Type<any
|
|
2107
|
-
readonly thumbsUpButtonComponent: _angular_core.InputSignal<Type<any
|
|
2108
|
-
readonly thumbsDownButtonComponent: _angular_core.InputSignal<Type<any
|
|
2109
|
-
readonly readAloudButtonComponent: _angular_core.InputSignal<Type<any
|
|
2110
|
-
readonly regenerateButtonComponent: _angular_core.InputSignal<Type<any
|
|
2111
|
-
readonly toolCallsViewComponent: _angular_core.InputSignal<Type<any
|
|
2129
|
+
readonly markdownRendererClass: _angular_core.InputSignal<string | undefined>;
|
|
2130
|
+
readonly toolbarClass: _angular_core.InputSignal<string | undefined>;
|
|
2131
|
+
readonly copyButtonClass: _angular_core.InputSignal<string | undefined>;
|
|
2132
|
+
readonly thumbsUpButtonClass: _angular_core.InputSignal<string | undefined>;
|
|
2133
|
+
readonly thumbsDownButtonClass: _angular_core.InputSignal<string | undefined>;
|
|
2134
|
+
readonly readAloudButtonClass: _angular_core.InputSignal<string | undefined>;
|
|
2135
|
+
readonly regenerateButtonClass: _angular_core.InputSignal<string | undefined>;
|
|
2136
|
+
readonly toolCallsViewClass: _angular_core.InputSignal<string | undefined>;
|
|
2137
|
+
readonly markdownRendererComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
2138
|
+
readonly toolbarComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
2139
|
+
readonly copyButtonComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
2140
|
+
readonly thumbsUpButtonComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
2141
|
+
readonly thumbsDownButtonComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
2142
|
+
readonly readAloudButtonComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
2143
|
+
readonly regenerateButtonComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
2144
|
+
readonly toolCallsViewComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
2112
2145
|
readonly message: _angular_core.InputSignal<{
|
|
2113
2146
|
role: "assistant";
|
|
2114
2147
|
id: string;
|
|
@@ -2234,18 +2267,18 @@ declare class CopilotChatAssistantMessage {
|
|
|
2234
2267
|
id: string;
|
|
2235
2268
|
encryptedValue?: string | undefined;
|
|
2236
2269
|
})[]>;
|
|
2237
|
-
readonly agentId: _angular_core.InputSignal<string>;
|
|
2270
|
+
readonly agentId: _angular_core.InputSignal<string | undefined>;
|
|
2238
2271
|
readonly isLoading: _angular_core.InputSignal<boolean>;
|
|
2239
|
-
readonly additionalToolbarItems: _angular_core.InputSignal<TemplateRef<any
|
|
2272
|
+
readonly additionalToolbarItems: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
2240
2273
|
readonly toolbarVisible: _angular_core.InputSignal<boolean>;
|
|
2241
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
2274
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2242
2275
|
handlers: CopilotChatViewHandlers;
|
|
2243
2276
|
constructor(handlers?: CopilotChatViewHandlers | null);
|
|
2244
2277
|
thumbsUp: _angular_core.OutputEmitterRef<CopilotChatAssistantMessageOnThumbsUpProps>;
|
|
2245
2278
|
thumbsDown: _angular_core.OutputEmitterRef<CopilotChatAssistantMessageOnThumbsDownProps>;
|
|
2246
2279
|
readAloud: _angular_core.OutputEmitterRef<CopilotChatAssistantMessageOnReadAloudProps>;
|
|
2247
2280
|
regenerate: _angular_core.OutputEmitterRef<CopilotChatAssistantMessageOnRegenerateProps>;
|
|
2248
|
-
customClass: _angular_core.WritableSignal<string>;
|
|
2281
|
+
customClass: _angular_core.WritableSignal<string | undefined>;
|
|
2249
2282
|
computedClass: _angular_core.Signal<string>;
|
|
2250
2283
|
protected readonly defaultThumbsUpButtonComponent: typeof CopilotChatAssistantMessageThumbsUpButton;
|
|
2251
2284
|
protected readonly defaultThumbsDownButtonComponent: typeof CopilotChatAssistantMessageThumbsDownButton;
|
|
@@ -2410,7 +2443,7 @@ declare class CopilotChatAssistantMessage {
|
|
|
2410
2443
|
|
|
2411
2444
|
declare class CopilotChatAttachmentQueue {
|
|
2412
2445
|
readonly attachments: _angular_core.InputSignal<Attachment[]>;
|
|
2413
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
2446
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2414
2447
|
readonly removeAttachment: _angular_core.OutputEmitterRef<string>;
|
|
2415
2448
|
readonly computedClass: _angular_core.Signal<string>;
|
|
2416
2449
|
itemClass(attachment: Attachment): string;
|
|
@@ -2432,8 +2465,8 @@ declare class CopilotChatAttachmentRenderer {
|
|
|
2432
2465
|
value: string;
|
|
2433
2466
|
mimeType?: string | undefined;
|
|
2434
2467
|
}>;
|
|
2435
|
-
readonly filename: _angular_core.InputSignal<string>;
|
|
2436
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
2468
|
+
readonly filename: _angular_core.InputSignal<string | undefined>;
|
|
2469
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2437
2470
|
readonly imageFailed: _angular_core.WritableSignal<boolean>;
|
|
2438
2471
|
readonly sourceUrl: _angular_core.Signal<string>;
|
|
2439
2472
|
readonly documentIcon: _angular_core.Signal<string>;
|
|
@@ -2447,7 +2480,7 @@ declare class CopilotChatAttachmentRenderer {
|
|
|
2447
2480
|
}
|
|
2448
2481
|
|
|
2449
2482
|
declare class CopilotChatAttachmentsDirective {
|
|
2450
|
-
readonly config: _angular_core.InputSignal<AttachmentsConfig>;
|
|
2483
|
+
readonly config: _angular_core.InputSignal<AttachmentsConfig | undefined>;
|
|
2451
2484
|
private readonly chat;
|
|
2452
2485
|
private readonly host;
|
|
2453
2486
|
private readonly renderer;
|
|
@@ -2600,7 +2633,7 @@ interface CopilotChatInputOutputs {
|
|
|
2600
2633
|
|
|
2601
2634
|
declare class CopilotChatAudioRecorder implements AfterViewInit {
|
|
2602
2635
|
private readonly canvasRef;
|
|
2603
|
-
inputClass: _angular_core.InputSignal<string>;
|
|
2636
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2604
2637
|
inputShowControls: _angular_core.InputSignal<boolean>;
|
|
2605
2638
|
stateChange: _angular_core.OutputEmitterRef<AudioRecorderState>;
|
|
2606
2639
|
error: _angular_core.OutputEmitterRef<AudioRecorderError>;
|
|
@@ -2711,12 +2744,12 @@ declare class CopilotChatTextarea implements AfterViewInit {
|
|
|
2711
2744
|
private elementRef;
|
|
2712
2745
|
private platformId;
|
|
2713
2746
|
get textareaRef(): ElementRef<any>;
|
|
2714
|
-
inputValue: _angular_core.InputSignal<string>;
|
|
2715
|
-
inputPlaceholder: _angular_core.InputSignal<string>;
|
|
2716
|
-
inputMaxRows: _angular_core.InputSignal<number>;
|
|
2717
|
-
inputAutoFocus: _angular_core.InputSignal<boolean>;
|
|
2718
|
-
inputDisabled: _angular_core.InputSignal<boolean>;
|
|
2719
|
-
inputClass: _angular_core.InputSignal<string>;
|
|
2747
|
+
inputValue: _angular_core.InputSignal<string | undefined>;
|
|
2748
|
+
inputPlaceholder: _angular_core.InputSignal<string | undefined>;
|
|
2749
|
+
inputMaxRows: _angular_core.InputSignal<number | undefined>;
|
|
2750
|
+
inputAutoFocus: _angular_core.InputSignal<boolean | undefined>;
|
|
2751
|
+
inputDisabled: _angular_core.InputSignal<boolean | undefined>;
|
|
2752
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2720
2753
|
valueChange: _angular_core.OutputEmitterRef<string>;
|
|
2721
2754
|
keyDown: _angular_core.OutputEmitterRef<KeyboardEvent>;
|
|
2722
2755
|
readonly chatLabels: _copilotkit_angular.CopilotChatLabels;
|
|
@@ -2749,7 +2782,7 @@ declare class CopilotChatTextarea implements AfterViewInit {
|
|
|
2749
2782
|
}
|
|
2750
2783
|
|
|
2751
2784
|
declare class CopilotChatToolbar {
|
|
2752
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
2785
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2753
2786
|
readonly computedClass: _angular_core.Signal<string>;
|
|
2754
2787
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotChatToolbar, never>;
|
|
2755
2788
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotChatToolbar, "div[copilotChatToolbar]", never, { "inputClass": { "alias": "inputClass"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
@@ -2758,15 +2791,15 @@ declare class CopilotChatToolbar {
|
|
|
2758
2791
|
declare class CopilotChatToolsMenu {
|
|
2759
2792
|
readonly PlusIcon: CopilotIconData;
|
|
2760
2793
|
readonly ChevronRightIcon: CopilotIconData;
|
|
2761
|
-
inputToolsMenu: _angular_core.InputSignal<(ToolsMenuItem | "-")[]>;
|
|
2762
|
-
inputDisabled: _angular_core.InputSignal<boolean>;
|
|
2763
|
-
inputClass: _angular_core.InputSignal<string>;
|
|
2764
|
-
inputAddFile: _angular_core.InputSignal<() => void>;
|
|
2794
|
+
inputToolsMenu: _angular_core.InputSignal<(ToolsMenuItem | "-")[] | undefined>;
|
|
2795
|
+
inputDisabled: _angular_core.InputSignal<boolean | undefined>;
|
|
2796
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2797
|
+
inputAddFile: _angular_core.InputSignal<(() => void) | undefined>;
|
|
2765
2798
|
private labels;
|
|
2766
2799
|
toolsMenu: _angular_core.Signal<(ToolsMenuItem | "-")[]>;
|
|
2767
2800
|
disabled: _angular_core.Signal<boolean>;
|
|
2768
|
-
customClass: _angular_core.Signal<string>;
|
|
2769
|
-
addFile: _angular_core.Signal<() => void>;
|
|
2801
|
+
customClass: _angular_core.Signal<string | undefined>;
|
|
2802
|
+
addFile: _angular_core.Signal<(() => void) | undefined>;
|
|
2770
2803
|
menuItems: _angular_core.Signal<(ToolsMenuItem | "-")[]>;
|
|
2771
2804
|
hasItems: _angular_core.Signal<boolean>;
|
|
2772
2805
|
triggerDisabled: _angular_core.Signal<boolean>;
|
|
@@ -2792,43 +2825,43 @@ interface ToolbarContext {
|
|
|
2792
2825
|
value: string;
|
|
2793
2826
|
}
|
|
2794
2827
|
declare class CopilotChatInput implements OnDestroy {
|
|
2795
|
-
readonly textAreaRef: _angular_core.Signal<CopilotChatTextarea>;
|
|
2796
|
-
readonly audioRecorderRef: _angular_core.Signal<CopilotChatAudioRecorder>;
|
|
2797
|
-
readonly sendButtonTemplate: _angular_core.Signal<TemplateRef<SendButtonContext
|
|
2798
|
-
readonly toolbarTemplate: _angular_core.Signal<TemplateRef<ToolbarContext
|
|
2799
|
-
readonly textAreaTemplate: _angular_core.Signal<TemplateRef<any
|
|
2800
|
-
readonly audioRecorderTemplate: _angular_core.Signal<TemplateRef<any
|
|
2801
|
-
readonly startTranscribeButtonTemplate: _angular_core.Signal<TemplateRef<any
|
|
2802
|
-
readonly cancelTranscribeButtonTemplate: _angular_core.Signal<TemplateRef<any
|
|
2803
|
-
readonly finishTranscribeButtonTemplate: _angular_core.Signal<TemplateRef<any
|
|
2804
|
-
readonly addFileButtonTemplate: _angular_core.Signal<TemplateRef<any
|
|
2805
|
-
readonly toolsButtonTemplate: _angular_core.Signal<TemplateRef<any
|
|
2806
|
-
sendButtonClass: _angular_core.InputSignal<string>;
|
|
2807
|
-
toolbarClass: _angular_core.InputSignal<string>;
|
|
2808
|
-
textAreaClass: _angular_core.InputSignal<string>;
|
|
2809
|
-
textAreaMaxRows: _angular_core.InputSignal<number>;
|
|
2810
|
-
textAreaPlaceholder: _angular_core.InputSignal<string>;
|
|
2811
|
-
audioRecorderClass: _angular_core.InputSignal<string>;
|
|
2812
|
-
startTranscribeButtonClass: _angular_core.InputSignal<string>;
|
|
2813
|
-
cancelTranscribeButtonClass: _angular_core.InputSignal<string>;
|
|
2814
|
-
finishTranscribeButtonClass: _angular_core.InputSignal<string>;
|
|
2815
|
-
addFileButtonClass: _angular_core.InputSignal<string>;
|
|
2816
|
-
toolsButtonClass: _angular_core.InputSignal<string>;
|
|
2817
|
-
sendButtonComponent: _angular_core.InputSignal<Type<any
|
|
2818
|
-
toolbarComponent: _angular_core.InputSignal<Type<any
|
|
2819
|
-
textAreaComponent: _angular_core.InputSignal<Type<any
|
|
2820
|
-
audioRecorderComponent: _angular_core.InputSignal<Type<any
|
|
2821
|
-
startTranscribeButtonComponent: _angular_core.InputSignal<Type<any
|
|
2822
|
-
cancelTranscribeButtonComponent: _angular_core.InputSignal<Type<any
|
|
2823
|
-
finishTranscribeButtonComponent: _angular_core.InputSignal<Type<any
|
|
2824
|
-
addFileButtonComponent: _angular_core.InputSignal<Type<any
|
|
2825
|
-
toolsButtonComponent: _angular_core.InputSignal<Type<any
|
|
2826
|
-
mode: _angular_core.InputSignal<CopilotChatInputMode>;
|
|
2827
|
-
toolsMenu: _angular_core.InputSignal<(ToolsMenuItem | "-")[]>;
|
|
2828
|
-
autoFocus: _angular_core.InputSignal<boolean>;
|
|
2829
|
-
value: _angular_core.InputSignal<string>;
|
|
2830
|
-
inputClass: _angular_core.InputSignal<string>;
|
|
2831
|
-
additionalToolbarItems: _angular_core.InputSignal<TemplateRef<any
|
|
2828
|
+
readonly textAreaRef: _angular_core.Signal<CopilotChatTextarea | undefined>;
|
|
2829
|
+
readonly audioRecorderRef: _angular_core.Signal<CopilotChatAudioRecorder | undefined>;
|
|
2830
|
+
readonly sendButtonTemplate: _angular_core.Signal<TemplateRef<SendButtonContext> | undefined>;
|
|
2831
|
+
readonly toolbarTemplate: _angular_core.Signal<TemplateRef<ToolbarContext> | undefined>;
|
|
2832
|
+
readonly textAreaTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
2833
|
+
readonly audioRecorderTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
2834
|
+
readonly startTranscribeButtonTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
2835
|
+
readonly cancelTranscribeButtonTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
2836
|
+
readonly finishTranscribeButtonTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
2837
|
+
readonly addFileButtonTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
2838
|
+
readonly toolsButtonTemplate: _angular_core.Signal<TemplateRef<any> | undefined>;
|
|
2839
|
+
sendButtonClass: _angular_core.InputSignal<string | undefined>;
|
|
2840
|
+
toolbarClass: _angular_core.InputSignal<string | undefined>;
|
|
2841
|
+
textAreaClass: _angular_core.InputSignal<string | undefined>;
|
|
2842
|
+
textAreaMaxRows: _angular_core.InputSignal<number | undefined>;
|
|
2843
|
+
textAreaPlaceholder: _angular_core.InputSignal<string | undefined>;
|
|
2844
|
+
audioRecorderClass: _angular_core.InputSignal<string | undefined>;
|
|
2845
|
+
startTranscribeButtonClass: _angular_core.InputSignal<string | undefined>;
|
|
2846
|
+
cancelTranscribeButtonClass: _angular_core.InputSignal<string | undefined>;
|
|
2847
|
+
finishTranscribeButtonClass: _angular_core.InputSignal<string | undefined>;
|
|
2848
|
+
addFileButtonClass: _angular_core.InputSignal<string | undefined>;
|
|
2849
|
+
toolsButtonClass: _angular_core.InputSignal<string | undefined>;
|
|
2850
|
+
sendButtonComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
2851
|
+
toolbarComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
2852
|
+
textAreaComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
2853
|
+
audioRecorderComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
2854
|
+
startTranscribeButtonComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
2855
|
+
cancelTranscribeButtonComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
2856
|
+
finishTranscribeButtonComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
2857
|
+
addFileButtonComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
2858
|
+
toolsButtonComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
2859
|
+
mode: _angular_core.InputSignal<CopilotChatInputMode | undefined>;
|
|
2860
|
+
toolsMenu: _angular_core.InputSignal<(ToolsMenuItem | "-")[] | undefined>;
|
|
2861
|
+
autoFocus: _angular_core.InputSignal<boolean | undefined>;
|
|
2862
|
+
value: _angular_core.InputSignal<string | undefined>;
|
|
2863
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2864
|
+
additionalToolbarItems: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
2832
2865
|
submitMessage: _angular_core.OutputEmitterRef<string>;
|
|
2833
2866
|
startTranscribe: _angular_core.OutputEmitterRef<void>;
|
|
2834
2867
|
cancelTranscribe: _angular_core.OutputEmitterRef<void>;
|
|
@@ -2843,7 +2876,7 @@ declare class CopilotChatInput implements OnDestroy {
|
|
|
2843
2876
|
modeSignal: _angular_core.WritableSignal<CopilotChatInputMode>;
|
|
2844
2877
|
toolsMenuSignal: _angular_core.WritableSignal<(ToolsMenuItem | "-")[]>;
|
|
2845
2878
|
autoFocusSignal: _angular_core.WritableSignal<boolean>;
|
|
2846
|
-
customClass: _angular_core.WritableSignal<string>;
|
|
2879
|
+
customClass: _angular_core.WritableSignal<string | undefined>;
|
|
2847
2880
|
defaultAudioRecorder: typeof CopilotChatAudioRecorder;
|
|
2848
2881
|
defaultSendButton: any;
|
|
2849
2882
|
CopilotChatToolbar: typeof CopilotChatToolbar;
|
|
@@ -2857,7 +2890,7 @@ declare class CopilotChatInput implements OnDestroy {
|
|
|
2857
2890
|
computedAutoFocus: _angular_core.Signal<boolean>;
|
|
2858
2891
|
computedValue: _angular_core.Signal<string>;
|
|
2859
2892
|
addFileButtonDisabled: _angular_core.Signal<boolean>;
|
|
2860
|
-
addFileMenuAction: _angular_core.Signal<() => void>;
|
|
2893
|
+
addFileMenuAction: _angular_core.Signal<(() => void) | undefined>;
|
|
2861
2894
|
sendButtonDisabled: _angular_core.Signal<boolean>;
|
|
2862
2895
|
computedClass: _angular_core.Signal<string>;
|
|
2863
2896
|
defaultTextAreaClass: _angular_core.Signal<string>;
|
|
@@ -2867,9 +2900,9 @@ declare class CopilotChatInput implements OnDestroy {
|
|
|
2867
2900
|
value: string;
|
|
2868
2901
|
autoFocus: boolean;
|
|
2869
2902
|
disabled: boolean;
|
|
2870
|
-
maxRows: number;
|
|
2871
|
-
placeholder: string;
|
|
2872
|
-
inputClass: string;
|
|
2903
|
+
maxRows: number | undefined;
|
|
2904
|
+
placeholder: string | undefined;
|
|
2905
|
+
inputClass: string | undefined;
|
|
2873
2906
|
onKeyDown: (event: KeyboardEvent) => void;
|
|
2874
2907
|
onChange: (value: string) => void;
|
|
2875
2908
|
}>;
|
|
@@ -2971,7 +3004,7 @@ interface UserMessageToolbarContext {
|
|
|
2971
3004
|
|
|
2972
3005
|
declare class CopilotChatUserMessageRenderer {
|
|
2973
3006
|
readonly content: _angular_core.InputSignal<string>;
|
|
2974
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
3007
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2975
3008
|
readonly computedClass: _angular_core.Signal<string>;
|
|
2976
3009
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotChatUserMessageRenderer, never>;
|
|
2977
3010
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotChatUserMessageRenderer, "copilot-chat-user-message-renderer", never, { "content": { "alias": "content"; "required": false; "isSignal": true; }; "inputClass": { "alias": "inputClass"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -2980,16 +3013,16 @@ declare class CopilotChatUserMessageRenderer {
|
|
|
2980
3013
|
declare class CopilotChatUserMessageToolbarButton {
|
|
2981
3014
|
title: _angular_core.InputSignal<string>;
|
|
2982
3015
|
disabled: _angular_core.InputSignal<boolean>;
|
|
2983
|
-
inputClass: _angular_core.InputSignal<string>;
|
|
3016
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
2984
3017
|
computedClass: _angular_core.Signal<string>;
|
|
2985
3018
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotChatUserMessageToolbarButton, never>;
|
|
2986
3019
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotChatUserMessageToolbarButton, "button[copilotChatUserMessageToolbarButton]", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "inputClass": { "alias": "inputClass"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof CopilotTooltip; inputs: { "copilotTooltip": "title"; "tooltipPosition": "tooltipPosition"; "tooltipDelay": "tooltipDelay"; }; outputs: {}; }]>;
|
|
2987
3020
|
}
|
|
2988
3021
|
declare class CopilotChatUserMessageCopyButton {
|
|
2989
|
-
readonly title: _angular_core.InputSignal<string>;
|
|
3022
|
+
readonly title: _angular_core.InputSignal<string | undefined>;
|
|
2990
3023
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
2991
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
2992
|
-
readonly content: _angular_core.InputSignal<string>;
|
|
3024
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
3025
|
+
readonly content: _angular_core.InputSignal<string | undefined>;
|
|
2993
3026
|
readonly clicked: _angular_core.OutputEmitterRef<void>;
|
|
2994
3027
|
readonly CopyIcon: CopilotIconData;
|
|
2995
3028
|
readonly CheckIcon: CopilotIconData;
|
|
@@ -3000,9 +3033,9 @@ declare class CopilotChatUserMessageCopyButton {
|
|
|
3000
3033
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotChatUserMessageCopyButton, "copilot-chat-user-message-copy-button", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "inputClass": { "alias": "inputClass"; "required": false; "isSignal": true; }; "content": { "alias": "content"; "required": false; "isSignal": true; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
|
3001
3034
|
}
|
|
3002
3035
|
declare class CopilotChatUserMessageEditButton {
|
|
3003
|
-
title: _angular_core.InputSignal<string>;
|
|
3036
|
+
title: _angular_core.InputSignal<string | undefined>;
|
|
3004
3037
|
disabled: _angular_core.InputSignal<boolean>;
|
|
3005
|
-
inputClass: _angular_core.InputSignal<string>;
|
|
3038
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
3006
3039
|
clicked: _angular_core.OutputEmitterRef<void>;
|
|
3007
3040
|
readonly EditIcon: CopilotIconData;
|
|
3008
3041
|
readonly labels: _copilotkit_angular.CopilotChatLabels;
|
|
@@ -3012,7 +3045,7 @@ declare class CopilotChatUserMessageEditButton {
|
|
|
3012
3045
|
}
|
|
3013
3046
|
|
|
3014
3047
|
declare class CopilotChatUserMessageToolbar {
|
|
3015
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
3048
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
3016
3049
|
readonly computedClass: _angular_core.Signal<string>;
|
|
3017
3050
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotChatUserMessageToolbar, never>;
|
|
3018
3051
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotChatUserMessageToolbar, "div[copilotChatUserMessageToolbar]", never, { "inputClass": { "alias": "inputClass"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
@@ -3085,8 +3118,8 @@ declare class CopilotChatUserMessageBranchNavigation {
|
|
|
3085
3118
|
id: string;
|
|
3086
3119
|
name?: string | undefined;
|
|
3087
3120
|
encryptedValue?: string | undefined;
|
|
3088
|
-
}>;
|
|
3089
|
-
inputClass: _angular_core.InputSignal<string>;
|
|
3121
|
+
} | undefined>;
|
|
3122
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
3090
3123
|
switchToBranch: _angular_core.OutputEmitterRef<CopilotChatUserMessageOnSwitchToBranchProps>;
|
|
3091
3124
|
readonly ChevronLeftIcon: CopilotIconData;
|
|
3092
3125
|
readonly ChevronRightIcon: CopilotIconData;
|
|
@@ -3109,16 +3142,16 @@ declare class CopilotChatUserMessage {
|
|
|
3109
3142
|
copyButtonTemplate?: TemplateRef<CopyButtonContext>;
|
|
3110
3143
|
editButtonTemplate?: TemplateRef<EditButtonContext>;
|
|
3111
3144
|
branchNavigationTemplate?: TemplateRef<BranchNavigationContext>;
|
|
3112
|
-
messageRendererClass: _angular_core.InputSignal<string>;
|
|
3113
|
-
toolbarClass: _angular_core.InputSignal<string>;
|
|
3114
|
-
copyButtonClass: _angular_core.InputSignal<string>;
|
|
3115
|
-
editButtonClass: _angular_core.InputSignal<string>;
|
|
3116
|
-
branchNavigationClass: _angular_core.InputSignal<string>;
|
|
3117
|
-
messageRendererComponent: _angular_core.InputSignal<Type<any
|
|
3118
|
-
toolbarComponent: _angular_core.InputSignal<Type<any
|
|
3119
|
-
copyButtonComponent: _angular_core.InputSignal<Type<any
|
|
3120
|
-
editButtonComponent: _angular_core.InputSignal<Type<any
|
|
3121
|
-
branchNavigationComponent: _angular_core.InputSignal<Type<any
|
|
3145
|
+
messageRendererClass: _angular_core.InputSignal<string | undefined>;
|
|
3146
|
+
toolbarClass: _angular_core.InputSignal<string | undefined>;
|
|
3147
|
+
copyButtonClass: _angular_core.InputSignal<string | undefined>;
|
|
3148
|
+
editButtonClass: _angular_core.InputSignal<string | undefined>;
|
|
3149
|
+
branchNavigationClass: _angular_core.InputSignal<string | undefined>;
|
|
3150
|
+
messageRendererComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
3151
|
+
toolbarComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
3152
|
+
copyButtonComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
3153
|
+
editButtonComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
3154
|
+
branchNavigationComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
3122
3155
|
message: _angular_core.InputSignal<{
|
|
3123
3156
|
role: "user";
|
|
3124
3157
|
content: string | ({
|
|
@@ -3183,11 +3216,11 @@ declare class CopilotChatUserMessage {
|
|
|
3183
3216
|
id: string;
|
|
3184
3217
|
name?: string | undefined;
|
|
3185
3218
|
encryptedValue?: string | undefined;
|
|
3186
|
-
}>;
|
|
3187
|
-
branchIndex: _angular_core.InputSignal<number>;
|
|
3188
|
-
numberOfBranches: _angular_core.InputSignal<number>;
|
|
3189
|
-
additionalToolbarItems: _angular_core.InputSignal<TemplateRef<any
|
|
3190
|
-
inputClass: _angular_core.InputSignal<string>;
|
|
3219
|
+
} | undefined>;
|
|
3220
|
+
branchIndex: _angular_core.InputSignal<number | undefined>;
|
|
3221
|
+
numberOfBranches: _angular_core.InputSignal<number | undefined>;
|
|
3222
|
+
additionalToolbarItems: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
3223
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
3191
3224
|
editMessage: _angular_core.OutputEmitterRef<CopilotChatUserMessageOnEditMessageProps>;
|
|
3192
3225
|
switchToBranch: _angular_core.OutputEmitterRef<CopilotChatUserMessageOnSwitchToBranchProps>;
|
|
3193
3226
|
branchIndexValue: _angular_core.Signal<number>;
|
|
@@ -3224,7 +3257,7 @@ declare class CopilotChatUserMessage {
|
|
|
3224
3257
|
* Shows a pulsing dot animation to indicate activity.
|
|
3225
3258
|
*/
|
|
3226
3259
|
declare class CopilotChatMessageViewCursor {
|
|
3227
|
-
inputClass: _angular_core.InputSignal<string>;
|
|
3260
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
3228
3261
|
computedClass: _angular_core.Signal<string>;
|
|
3229
3262
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotChatMessageViewCursor, never>;
|
|
3230
3263
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotChatMessageViewCursor, "copilot-chat-message-view-cursor", never, { "inputClass": { "alias": "inputClass"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -3347,7 +3380,7 @@ declare class CopilotChatReasoningMessage {
|
|
|
3347
3380
|
encryptedValue?: string | undefined;
|
|
3348
3381
|
})[]>;
|
|
3349
3382
|
readonly isRunning: _angular_core.InputSignal<boolean>;
|
|
3350
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
3383
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
3351
3384
|
private readonly userToggled;
|
|
3352
3385
|
protected readonly isLatest: _angular_core.Signal<boolean>;
|
|
3353
3386
|
protected readonly isStreaming: _angular_core.Signal<boolean>;
|
|
@@ -3483,23 +3516,23 @@ declare class CopilotChatMessageView {
|
|
|
3483
3516
|
state: _angular_core.InputSignal<unknown>;
|
|
3484
3517
|
showCursor: _angular_core.InputSignal<boolean>;
|
|
3485
3518
|
isLoading: _angular_core.InputSignal<boolean>;
|
|
3486
|
-
inputClass: _angular_core.InputSignal<string>;
|
|
3487
|
-
agentId: _angular_core.InputSignal<string>;
|
|
3488
|
-
assistantMessageComponent: _angular_core.InputSignal<Type<any
|
|
3489
|
-
assistantMessageTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
3490
|
-
assistantMessageClass: _angular_core.InputSignal<string>;
|
|
3491
|
-
reasoningMessageComponent: _angular_core.InputSignal<Type<any
|
|
3492
|
-
reasoningMessageTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
3493
|
-
reasoningMessageClass: _angular_core.InputSignal<string>;
|
|
3494
|
-
childrenComponent: _angular_core.InputSignal<Type<any
|
|
3495
|
-
childrenTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
3496
|
-
childrenClass: _angular_core.InputSignal<string>;
|
|
3497
|
-
userMessageComponent: _angular_core.InputSignal<Type<any
|
|
3498
|
-
userMessageTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
3499
|
-
userMessageClass: _angular_core.InputSignal<string>;
|
|
3500
|
-
cursorComponent: _angular_core.InputSignal<Type<any
|
|
3501
|
-
cursorTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
3502
|
-
cursorClass: _angular_core.InputSignal<string>;
|
|
3519
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
3520
|
+
agentId: _angular_core.InputSignal<string | undefined>;
|
|
3521
|
+
assistantMessageComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
3522
|
+
assistantMessageTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
3523
|
+
assistantMessageClass: _angular_core.InputSignal<string | undefined>;
|
|
3524
|
+
reasoningMessageComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
3525
|
+
reasoningMessageTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
3526
|
+
reasoningMessageClass: _angular_core.InputSignal<string | undefined>;
|
|
3527
|
+
childrenComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
3528
|
+
childrenTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
3529
|
+
childrenClass: _angular_core.InputSignal<string | undefined>;
|
|
3530
|
+
userMessageComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
3531
|
+
userMessageTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
3532
|
+
userMessageClass: _angular_core.InputSignal<string | undefined>;
|
|
3533
|
+
cursorComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
3534
|
+
cursorTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
3535
|
+
cursorClass: _angular_core.InputSignal<string | undefined>;
|
|
3503
3536
|
customLayoutTemplate?: TemplateRef<any>;
|
|
3504
3537
|
assistantMessageThumbsUp: _angular_core.OutputEmitterRef<{
|
|
3505
3538
|
message: Message$1;
|
|
@@ -3743,7 +3776,7 @@ declare class CopilotChatMessageView {
|
|
|
3743
3776
|
content: string;
|
|
3744
3777
|
id: string;
|
|
3745
3778
|
encryptedValue?: string | undefined;
|
|
3746
|
-
}>;
|
|
3779
|
+
} | undefined>;
|
|
3747
3780
|
computedClass: _angular_core.Signal<string>;
|
|
3748
3781
|
layoutContext: _angular_core.Signal<{
|
|
3749
3782
|
isLoading: boolean;
|
|
@@ -3858,18 +3891,6 @@ declare class CopilotChatMessageView {
|
|
|
3858
3891
|
})[];
|
|
3859
3892
|
showCursor: boolean;
|
|
3860
3893
|
messageElements: ({
|
|
3861
|
-
role: "developer";
|
|
3862
|
-
content: string;
|
|
3863
|
-
id: string;
|
|
3864
|
-
name?: string | undefined;
|
|
3865
|
-
encryptedValue?: string | undefined;
|
|
3866
|
-
} | {
|
|
3867
|
-
role: "system";
|
|
3868
|
-
content: string;
|
|
3869
|
-
id: string;
|
|
3870
|
-
name?: string | undefined;
|
|
3871
|
-
encryptedValue?: string | undefined;
|
|
3872
|
-
} | {
|
|
3873
3894
|
role: "assistant";
|
|
3874
3895
|
id: string;
|
|
3875
3896
|
name?: string | undefined;
|
|
@@ -3948,13 +3969,6 @@ declare class CopilotChatMessageView {
|
|
|
3948
3969
|
id: string;
|
|
3949
3970
|
name?: string | undefined;
|
|
3950
3971
|
encryptedValue?: string | undefined;
|
|
3951
|
-
} | {
|
|
3952
|
-
role: "tool";
|
|
3953
|
-
toolCallId: string;
|
|
3954
|
-
content: string;
|
|
3955
|
-
id: string;
|
|
3956
|
-
encryptedValue?: string | undefined;
|
|
3957
|
-
error?: string | undefined;
|
|
3958
3972
|
} | {
|
|
3959
3973
|
role: "activity";
|
|
3960
3974
|
content: Record<string, any>;
|
|
@@ -3967,9 +3981,9 @@ declare class CopilotChatMessageView {
|
|
|
3967
3981
|
encryptedValue?: string | undefined;
|
|
3968
3982
|
})[];
|
|
3969
3983
|
}>;
|
|
3970
|
-
assistantMessageSlot: _angular_core.Signal<string | Type<any
|
|
3971
|
-
userMessageSlot: _angular_core.Signal<string | Type<any
|
|
3972
|
-
cursorSlot: _angular_core.Signal<string | Type<any
|
|
3984
|
+
assistantMessageSlot: _angular_core.Signal<string | Type<any> | undefined>;
|
|
3985
|
+
userMessageSlot: _angular_core.Signal<string | Type<any> | undefined>;
|
|
3986
|
+
cursorSlot: _angular_core.Signal<string | Type<any> | undefined>;
|
|
3973
3987
|
mergeAssistantProps(message: Message$1): {
|
|
3974
3988
|
message: {
|
|
3975
3989
|
role: "developer";
|
|
@@ -4190,7 +4204,7 @@ declare class CopilotChatMessageView {
|
|
|
4190
4204
|
encryptedValue?: string | undefined;
|
|
4191
4205
|
})[];
|
|
4192
4206
|
isLoading: boolean;
|
|
4193
|
-
inputClass: string;
|
|
4207
|
+
inputClass: string | undefined;
|
|
4194
4208
|
};
|
|
4195
4209
|
mergeReasoningProps(message: ReasoningMessage): {
|
|
4196
4210
|
message: {
|
|
@@ -4309,7 +4323,7 @@ declare class CopilotChatMessageView {
|
|
|
4309
4323
|
encryptedValue?: string | undefined;
|
|
4310
4324
|
})[];
|
|
4311
4325
|
isRunning: boolean;
|
|
4312
|
-
inputClass: string;
|
|
4326
|
+
inputClass: string | undefined;
|
|
4313
4327
|
};
|
|
4314
4328
|
childrenContext(): {
|
|
4315
4329
|
messages: ({
|
|
@@ -4422,9 +4436,9 @@ declare class CopilotChatMessageView {
|
|
|
4422
4436
|
encryptedValue?: string | undefined;
|
|
4423
4437
|
})[];
|
|
4424
4438
|
state: unknown;
|
|
4425
|
-
agentId: string;
|
|
4439
|
+
agentId: string | undefined;
|
|
4426
4440
|
isRunning: boolean;
|
|
4427
|
-
inputClass: string;
|
|
4441
|
+
inputClass: string | undefined;
|
|
4428
4442
|
};
|
|
4429
4443
|
mergeUserProps(message: Message$1): {
|
|
4430
4444
|
message: {
|
|
@@ -4536,7 +4550,7 @@ declare class CopilotChatMessageView {
|
|
|
4536
4550
|
id: string;
|
|
4537
4551
|
encryptedValue?: string | undefined;
|
|
4538
4552
|
};
|
|
4539
|
-
inputClass: string;
|
|
4553
|
+
inputClass: string | undefined;
|
|
4540
4554
|
};
|
|
4541
4555
|
asReasoningMessage(message: Message$1): ReasoningMessage;
|
|
4542
4556
|
trackByMessageId(index: number, message: Message$1): string;
|
|
@@ -4552,9 +4566,9 @@ declare class CopilotChatMessageView {
|
|
|
4552
4566
|
id: string;
|
|
4553
4567
|
activityType: string;
|
|
4554
4568
|
};
|
|
4555
|
-
agent: _ag_ui_client.AbstractAgent;
|
|
4569
|
+
agent: _ag_ui_client.AbstractAgent | undefined;
|
|
4556
4570
|
};
|
|
4557
|
-
};
|
|
4571
|
+
} | undefined;
|
|
4558
4572
|
handleAssistantThumbsUp(event: {
|
|
4559
4573
|
message: Message$1;
|
|
4560
4574
|
}): void;
|
|
@@ -4602,7 +4616,7 @@ declare class CopilotChatSuggestionPill {
|
|
|
4602
4616
|
readonly title: _angular_core.InputSignal<string>;
|
|
4603
4617
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
4604
4618
|
readonly isLoading: _angular_core.InputSignal<boolean>;
|
|
4605
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
4619
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
4606
4620
|
readonly clicked: _angular_core.OutputEmitterRef<void>;
|
|
4607
4621
|
protected readonly computedClass: _angular_core.Signal<string>;
|
|
4608
4622
|
handleClick(): void;
|
|
@@ -4612,7 +4626,7 @@ declare class CopilotChatSuggestionPill {
|
|
|
4612
4626
|
|
|
4613
4627
|
declare class CopilotChatSuggestionView {
|
|
4614
4628
|
readonly suggestions: _angular_core.InputSignal<Suggestion[]>;
|
|
4615
|
-
readonly inputClass: _angular_core.InputSignal<string>;
|
|
4629
|
+
readonly inputClass: _angular_core.InputSignal<string | undefined>;
|
|
4616
4630
|
readonly selectSuggestion: _angular_core.OutputEmitterRef<{
|
|
4617
4631
|
suggestion: Suggestion;
|
|
4618
4632
|
index: number;
|
|
@@ -4628,9 +4642,9 @@ declare class CopilotChatSuggestionView {
|
|
|
4628
4642
|
* Matches React implementation exactly with same Tailwind classes
|
|
4629
4643
|
*/
|
|
4630
4644
|
declare class CopilotChatViewScrollToBottomButton {
|
|
4631
|
-
inputClass: _angular_core.InputSignal<string>;
|
|
4645
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
4632
4646
|
disabled: _angular_core.InputSignal<boolean>;
|
|
4633
|
-
onClick: _angular_core.InputSignal<() => void>;
|
|
4647
|
+
onClick: _angular_core.InputSignal<(() => void) | undefined>;
|
|
4634
4648
|
clicked: _angular_core.OutputEmitterRef<void>;
|
|
4635
4649
|
protected readonly ChevronDown: CopilotIconData;
|
|
4636
4650
|
get computedClass(): string;
|
|
@@ -4645,11 +4659,11 @@ declare class CopilotChatViewScrollToBottomButton {
|
|
|
4645
4659
|
*/
|
|
4646
4660
|
declare class CopilotChatViewScrollView implements AfterViewInit, OnDestroy {
|
|
4647
4661
|
private cdr;
|
|
4648
|
-
protected readonly chatState: ChatState;
|
|
4662
|
+
protected readonly chatState: ChatState | null;
|
|
4649
4663
|
autoScroll: _angular_core.InputSignal<boolean>;
|
|
4650
4664
|
inputContainerHeight: _angular_core.InputSignal<number>;
|
|
4651
4665
|
isResizing: _angular_core.InputSignal<boolean>;
|
|
4652
|
-
inputClass: _angular_core.InputSignal<string>;
|
|
4666
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
4653
4667
|
messages: _angular_core.InputSignal<({
|
|
4654
4668
|
role: "developer";
|
|
4655
4669
|
content: string;
|
|
@@ -4761,21 +4775,21 @@ declare class CopilotChatViewScrollView implements AfterViewInit, OnDestroy {
|
|
|
4761
4775
|
})[]>;
|
|
4762
4776
|
/** Current agent state forwarded to message-view extension slots. */
|
|
4763
4777
|
state: _angular_core.InputSignal<unknown>;
|
|
4764
|
-
agentId: _angular_core.InputSignal<string>;
|
|
4778
|
+
agentId: _angular_core.InputSignal<string | undefined>;
|
|
4765
4779
|
messageView: _angular_core.InputSignal<any>;
|
|
4766
|
-
messageViewClass: _angular_core.InputSignal<string>;
|
|
4767
|
-
assistantMessageComponent: _angular_core.InputSignal<Type<any
|
|
4768
|
-
assistantMessageTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
4769
|
-
assistantMessageClass: _angular_core.InputSignal<string>;
|
|
4770
|
-
reasoningMessageComponent: _angular_core.InputSignal<Type<any
|
|
4771
|
-
reasoningMessageTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
4772
|
-
reasoningMessageClass: _angular_core.InputSignal<string>;
|
|
4773
|
-
messageViewChildrenComponent: _angular_core.InputSignal<Type<any
|
|
4774
|
-
messageViewChildrenTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
4775
|
-
messageViewChildrenClass: _angular_core.InputSignal<string>;
|
|
4780
|
+
messageViewClass: _angular_core.InputSignal<string | undefined>;
|
|
4781
|
+
assistantMessageComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
4782
|
+
assistantMessageTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
4783
|
+
assistantMessageClass: _angular_core.InputSignal<string | undefined>;
|
|
4784
|
+
reasoningMessageComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
4785
|
+
reasoningMessageTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
4786
|
+
reasoningMessageClass: _angular_core.InputSignal<string | undefined>;
|
|
4787
|
+
messageViewChildrenComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
4788
|
+
messageViewChildrenTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
4789
|
+
messageViewChildrenClass: _angular_core.InputSignal<string | undefined>;
|
|
4776
4790
|
showCursor: _angular_core.InputSignal<boolean>;
|
|
4777
4791
|
scrollToBottomButton: _angular_core.InputSignal<any>;
|
|
4778
|
-
scrollToBottomButtonClass: _angular_core.InputSignal<string>;
|
|
4792
|
+
scrollToBottomButtonClass: _angular_core.InputSignal<string | undefined>;
|
|
4779
4793
|
assistantMessageThumbsUp: _angular_core.OutputEmitterRef<{
|
|
4780
4794
|
message: Message;
|
|
4781
4795
|
}>;
|
|
@@ -4841,10 +4855,10 @@ declare class CopilotChatViewScrollView implements AfterViewInit, OnDestroy {
|
|
|
4841
4855
|
* Matches React implementation exactly with same Tailwind classes
|
|
4842
4856
|
*/
|
|
4843
4857
|
declare class CopilotChatViewFeather {
|
|
4844
|
-
inputClass: _angular_core.InputSignal<string>;
|
|
4858
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
4845
4859
|
style: _angular_core.InputSignal<{
|
|
4846
4860
|
[key: string]: any;
|
|
4847
|
-
}>;
|
|
4861
|
+
} | undefined>;
|
|
4848
4862
|
get computedClass(): string;
|
|
4849
4863
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotChatViewFeather, never>;
|
|
4850
4864
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotChatViewFeather, "copilot-chat-view-feather", never, { "inputClass": { "alias": "inputClass"; "required": false; "isSignal": true; }; "style": { "alias": "style"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -4856,8 +4870,8 @@ declare class CopilotChatViewFeather {
|
|
|
4856
4870
|
* Integrates with CopilotChatConfigurationService for labels
|
|
4857
4871
|
*/
|
|
4858
4872
|
declare class CopilotChatViewDisclaimer {
|
|
4859
|
-
inputClass: _angular_core.InputSignal<string>;
|
|
4860
|
-
text: _angular_core.InputSignal<string>;
|
|
4873
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
4874
|
+
text: _angular_core.InputSignal<string | undefined>;
|
|
4861
4875
|
readonly labels: _copilotkit_angular.CopilotChatLabels;
|
|
4862
4876
|
get disclaimerText(): string;
|
|
4863
4877
|
get computedClass(): string;
|
|
@@ -4871,13 +4885,13 @@ declare class CopilotChatViewDisclaimer {
|
|
|
4871
4885
|
* Uses ForwardRef for DOM access
|
|
4872
4886
|
*/
|
|
4873
4887
|
declare class CopilotChatViewInputContainer extends ElementRef {
|
|
4874
|
-
readonly chatState: ChatState;
|
|
4875
|
-
inputContainerClass: _angular_core.InputSignal<string>;
|
|
4888
|
+
readonly chatState: ChatState | null;
|
|
4889
|
+
inputContainerClass: _angular_core.InputSignal<string | undefined>;
|
|
4876
4890
|
input: _angular_core.InputSignal<any>;
|
|
4877
|
-
inputClass: _angular_core.InputSignal<string>;
|
|
4891
|
+
inputClass: _angular_core.InputSignal<string | undefined>;
|
|
4878
4892
|
disclaimer: _angular_core.InputSignal<any>;
|
|
4879
|
-
disclaimerText: _angular_core.InputSignal<string>;
|
|
4880
|
-
disclaimerClass: _angular_core.InputSignal<string>;
|
|
4893
|
+
disclaimerText: _angular_core.InputSignal<string | undefined>;
|
|
4894
|
+
disclaimerClass: _angular_core.InputSignal<string | undefined>;
|
|
4881
4895
|
protected readonly defaultInputComponent: typeof CopilotChatInput;
|
|
4882
4896
|
protected readonly defaultDisclaimerComponent: typeof CopilotChatViewDisclaimer;
|
|
4883
4897
|
constructor(elementRef: ElementRef);
|
|
@@ -4899,11 +4913,9 @@ declare class CopilotChatViewInputContainer extends ElementRef {
|
|
|
4899
4913
|
* </copilot-chat-view>
|
|
4900
4914
|
* ```
|
|
4901
4915
|
*/
|
|
4902
|
-
declare class CopilotChatView implements OnInit, OnChanges
|
|
4903
|
-
private resizeObserverService;
|
|
4904
|
-
private cdr;
|
|
4916
|
+
declare class CopilotChatView implements OnInit, OnChanges {
|
|
4905
4917
|
private handlers;
|
|
4906
|
-
protected readonly chatState: ChatState;
|
|
4918
|
+
protected readonly chatState: ChatState | null;
|
|
4907
4919
|
protected readonly UploadIcon: CopilotIconData;
|
|
4908
4920
|
messages: _angular_core.InputSignal<({
|
|
4909
4921
|
role: "developer";
|
|
@@ -5016,40 +5028,40 @@ declare class CopilotChatView implements OnInit, OnChanges, AfterViewInit, OnDes
|
|
|
5016
5028
|
})[]>;
|
|
5017
5029
|
/** Current agent state forwarded to message-view extension slots. */
|
|
5018
5030
|
state: _angular_core.InputSignal<unknown>;
|
|
5019
|
-
agentId: _angular_core.InputSignal<string>;
|
|
5031
|
+
agentId: _angular_core.InputSignal<string | undefined>;
|
|
5020
5032
|
autoScroll: _angular_core.InputSignal<boolean>;
|
|
5021
5033
|
showCursor: _angular_core.InputSignal<boolean>;
|
|
5022
5034
|
hasExplicitThreadId: _angular_core.InputSignal<boolean>;
|
|
5023
|
-
messageViewComponent: _angular_core.InputSignal<Type<any
|
|
5024
|
-
messageViewTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
5025
|
-
messageViewClass: _angular_core.InputSignal<string>;
|
|
5026
|
-
assistantMessageComponent: _angular_core.InputSignal<Type<any
|
|
5027
|
-
assistantMessageTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
5028
|
-
assistantMessageClass: _angular_core.InputSignal<string>;
|
|
5029
|
-
reasoningMessageComponent: _angular_core.InputSignal<Type<any
|
|
5030
|
-
reasoningMessageTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
5031
|
-
reasoningMessageClass: _angular_core.InputSignal<string>;
|
|
5032
|
-
messageViewChildrenComponent: _angular_core.InputSignal<Type<any
|
|
5033
|
-
messageViewChildrenTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
5034
|
-
messageViewChildrenClass: _angular_core.InputSignal<string>;
|
|
5035
|
-
scrollViewComponent: _angular_core.InputSignal<Type<any
|
|
5036
|
-
scrollViewTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
5037
|
-
scrollViewClass: _angular_core.InputSignal<string>;
|
|
5038
|
-
scrollToBottomButtonComponent: _angular_core.InputSignal<Type<any
|
|
5039
|
-
scrollToBottomButtonTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
5040
|
-
scrollToBottomButtonClass: _angular_core.InputSignal<string>;
|
|
5041
|
-
inputComponent: _angular_core.InputSignal<Type<any
|
|
5042
|
-
inputTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
5043
|
-
inputContainerComponent: _angular_core.InputSignal<Type<any
|
|
5044
|
-
inputContainerTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
5045
|
-
inputContainerClass: _angular_core.InputSignal<string>;
|
|
5046
|
-
featherComponent: _angular_core.InputSignal<Type<any
|
|
5047
|
-
featherTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
5048
|
-
featherClass: _angular_core.InputSignal<string>;
|
|
5049
|
-
disclaimerComponent: _angular_core.InputSignal<Type<any
|
|
5050
|
-
disclaimerTemplate: _angular_core.InputSignal<TemplateRef<any
|
|
5051
|
-
disclaimerClass: _angular_core.InputSignal<string>;
|
|
5052
|
-
disclaimerText: _angular_core.InputSignal<string>;
|
|
5035
|
+
messageViewComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
5036
|
+
messageViewTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
5037
|
+
messageViewClass: _angular_core.InputSignal<string | undefined>;
|
|
5038
|
+
assistantMessageComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
5039
|
+
assistantMessageTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
5040
|
+
assistantMessageClass: _angular_core.InputSignal<string | undefined>;
|
|
5041
|
+
reasoningMessageComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
5042
|
+
reasoningMessageTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
5043
|
+
reasoningMessageClass: _angular_core.InputSignal<string | undefined>;
|
|
5044
|
+
messageViewChildrenComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
5045
|
+
messageViewChildrenTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
5046
|
+
messageViewChildrenClass: _angular_core.InputSignal<string | undefined>;
|
|
5047
|
+
scrollViewComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
5048
|
+
scrollViewTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
5049
|
+
scrollViewClass: _angular_core.InputSignal<string | undefined>;
|
|
5050
|
+
scrollToBottomButtonComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
5051
|
+
scrollToBottomButtonTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
5052
|
+
scrollToBottomButtonClass: _angular_core.InputSignal<string | undefined>;
|
|
5053
|
+
inputComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
5054
|
+
inputTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
5055
|
+
inputContainerComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
5056
|
+
inputContainerTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
5057
|
+
inputContainerClass: _angular_core.InputSignal<string | undefined>;
|
|
5058
|
+
featherComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
5059
|
+
featherTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
5060
|
+
featherClass: _angular_core.InputSignal<string | undefined>;
|
|
5061
|
+
disclaimerComponent: _angular_core.InputSignal<Type<any> | undefined>;
|
|
5062
|
+
disclaimerTemplate: _angular_core.InputSignal<TemplateRef<any> | undefined>;
|
|
5063
|
+
disclaimerClass: _angular_core.InputSignal<string | undefined>;
|
|
5064
|
+
disclaimerText: _angular_core.InputSignal<string | undefined>;
|
|
5053
5065
|
customLayoutTemplate?: TemplateRef<any>;
|
|
5054
5066
|
sendButtonTemplate?: TemplateRef<any>;
|
|
5055
5067
|
toolbarTemplate?: TemplateRef<any>;
|
|
@@ -5078,7 +5090,6 @@ declare class CopilotChatView implements OnInit, OnChanges, AfterViewInit, OnDes
|
|
|
5078
5090
|
userMessageEdit: _angular_core.OutputEmitterRef<{
|
|
5079
5091
|
message: Message;
|
|
5080
5092
|
}>;
|
|
5081
|
-
inputContainerSlotRef?: ElementRef;
|
|
5082
5093
|
protected readonly defaultScrollViewComponent: typeof CopilotChatViewScrollView;
|
|
5083
5094
|
protected readonly defaultScrollToBottomButtonComponent: typeof CopilotChatViewScrollToBottomButton;
|
|
5084
5095
|
protected readonly defaultInputContainerComponent: typeof CopilotChatViewInputContainer;
|
|
@@ -5197,24 +5208,25 @@ declare class CopilotChatView implements OnInit, OnChanges, AfterViewInit, OnDes
|
|
|
5197
5208
|
})[]>;
|
|
5198
5209
|
protected autoScrollSignal: _angular_core.Signal<boolean>;
|
|
5199
5210
|
protected showCursorSignal: _angular_core.Signal<boolean>;
|
|
5200
|
-
protected disclaimerTextSignal: _angular_core.Signal<string>;
|
|
5201
|
-
protected disclaimerClassSignal: _angular_core.Signal<string>;
|
|
5202
|
-
|
|
5203
|
-
protected
|
|
5211
|
+
protected disclaimerTextSignal: _angular_core.Signal<string | undefined>;
|
|
5212
|
+
protected disclaimerClassSignal: _angular_core.Signal<string | undefined>;
|
|
5213
|
+
private readonly inputMeasure;
|
|
5214
|
+
protected readonly inputContainerHeight: _angular_core.Signal<number>;
|
|
5215
|
+
protected readonly isResizing: _angular_core.Signal<boolean>;
|
|
5204
5216
|
protected shouldShowWelcomeScreen: _angular_core.Signal<boolean>;
|
|
5205
5217
|
protected computedClass: _angular_core.Signal<string>;
|
|
5206
5218
|
protected dropOverlayClass: _angular_core.Signal<string>;
|
|
5207
|
-
protected messageViewSlot: _angular_core.Signal<Type<any> | TemplateRef<any
|
|
5208
|
-
protected scrollViewSlot: _angular_core.Signal<Type<any> | TemplateRef<any
|
|
5209
|
-
protected scrollToBottomButtonSlot: _angular_core.Signal<Type<any> | TemplateRef<any
|
|
5210
|
-
protected inputSlot: _angular_core.Signal<Type<any> | TemplateRef<any
|
|
5211
|
-
protected inputContainerSlot: _angular_core.Signal<Type<any> | TemplateRef<any
|
|
5212
|
-
protected featherSlot: _angular_core.Signal<Type<any> | TemplateRef<any
|
|
5213
|
-
protected disclaimerSlot: _angular_core.Signal<Type<any> | TemplateRef<any
|
|
5219
|
+
protected messageViewSlot: _angular_core.Signal<Type<any> | TemplateRef<any> | undefined>;
|
|
5220
|
+
protected scrollViewSlot: _angular_core.Signal<Type<any> | TemplateRef<any> | undefined>;
|
|
5221
|
+
protected scrollToBottomButtonSlot: _angular_core.Signal<Type<any> | TemplateRef<any> | undefined>;
|
|
5222
|
+
protected inputSlot: _angular_core.Signal<Type<any> | TemplateRef<any> | undefined>;
|
|
5223
|
+
protected inputContainerSlot: _angular_core.Signal<Type<any> | TemplateRef<any> | undefined>;
|
|
5224
|
+
protected featherSlot: _angular_core.Signal<Type<any> | TemplateRef<any> | undefined>;
|
|
5225
|
+
protected disclaimerSlot: _angular_core.Signal<Type<any> | TemplateRef<any> | undefined>;
|
|
5214
5226
|
protected scrollViewContext: _angular_core.Signal<{
|
|
5215
5227
|
autoScroll: boolean;
|
|
5216
|
-
scrollToBottomButton: Type<any> | TemplateRef<any
|
|
5217
|
-
scrollToBottomButtonClass: string;
|
|
5228
|
+
scrollToBottomButton: Type<any> | TemplateRef<any> | undefined;
|
|
5229
|
+
scrollToBottomButtonClass: string | undefined;
|
|
5218
5230
|
inputContainerHeight: number;
|
|
5219
5231
|
isResizing: boolean;
|
|
5220
5232
|
messages: ({
|
|
@@ -5327,51 +5339,77 @@ declare class CopilotChatView implements OnInit, OnChanges, AfterViewInit, OnDes
|
|
|
5327
5339
|
encryptedValue?: string | undefined;
|
|
5328
5340
|
})[];
|
|
5329
5341
|
state: unknown;
|
|
5330
|
-
agentId: string;
|
|
5331
|
-
messageView: Type<any> | TemplateRef<any
|
|
5332
|
-
messageViewClass: string;
|
|
5333
|
-
assistantMessageComponent: Type<any
|
|
5334
|
-
assistantMessageTemplate: TemplateRef<any
|
|
5335
|
-
assistantMessageClass: string;
|
|
5336
|
-
reasoningMessageComponent: Type<any
|
|
5337
|
-
reasoningMessageTemplate: TemplateRef<any
|
|
5338
|
-
reasoningMessageClass: string;
|
|
5339
|
-
messageViewChildrenComponent: Type<any
|
|
5340
|
-
messageViewChildrenTemplate: TemplateRef<any
|
|
5341
|
-
messageViewChildrenClass: string;
|
|
5342
|
+
agentId: string | undefined;
|
|
5343
|
+
messageView: Type<any> | TemplateRef<any> | undefined;
|
|
5344
|
+
messageViewClass: string | undefined;
|
|
5345
|
+
assistantMessageComponent: Type<any> | undefined;
|
|
5346
|
+
assistantMessageTemplate: TemplateRef<any> | undefined;
|
|
5347
|
+
assistantMessageClass: string | undefined;
|
|
5348
|
+
reasoningMessageComponent: Type<any> | undefined;
|
|
5349
|
+
reasoningMessageTemplate: TemplateRef<any> | undefined;
|
|
5350
|
+
reasoningMessageClass: string | undefined;
|
|
5351
|
+
messageViewChildrenComponent: Type<any> | undefined;
|
|
5352
|
+
messageViewChildrenTemplate: TemplateRef<any> | undefined;
|
|
5353
|
+
messageViewChildrenClass: string | undefined;
|
|
5342
5354
|
}>;
|
|
5343
5355
|
protected inputContainerContext: _angular_core.Signal<{
|
|
5344
|
-
input: Type<any> | TemplateRef<any
|
|
5345
|
-
disclaimer: Type<any> | TemplateRef<any
|
|
5346
|
-
disclaimerText: string;
|
|
5347
|
-
disclaimerClass: string;
|
|
5348
|
-
inputContainerClass: string;
|
|
5356
|
+
input: Type<any> | TemplateRef<any> | undefined;
|
|
5357
|
+
disclaimer: Type<any> | TemplateRef<any> | undefined;
|
|
5358
|
+
disclaimerText: string | undefined;
|
|
5359
|
+
disclaimerClass: string | undefined;
|
|
5360
|
+
inputContainerClass: string | undefined;
|
|
5349
5361
|
}>;
|
|
5350
5362
|
protected layoutContext: _angular_core.Signal<{
|
|
5351
|
-
messageView: Type<any> | TemplateRef<any
|
|
5352
|
-
input: Type<any> | TemplateRef<any
|
|
5353
|
-
scrollView: Type<any> | TemplateRef<any
|
|
5354
|
-
scrollToBottomButton: Type<any> | TemplateRef<any
|
|
5355
|
-
feather: Type<any> | TemplateRef<any
|
|
5356
|
-
inputContainer: Type<any> | TemplateRef<any
|
|
5357
|
-
disclaimer: Type<any> | TemplateRef<any
|
|
5363
|
+
messageView: Type<any> | TemplateRef<any> | undefined;
|
|
5364
|
+
input: Type<any> | TemplateRef<any> | undefined;
|
|
5365
|
+
scrollView: Type<any> | TemplateRef<any> | undefined;
|
|
5366
|
+
scrollToBottomButton: Type<any> | TemplateRef<any> | undefined;
|
|
5367
|
+
feather: Type<any> | TemplateRef<any> | undefined;
|
|
5368
|
+
inputContainer: Type<any> | TemplateRef<any> | undefined;
|
|
5369
|
+
disclaimer: Type<any> | TemplateRef<any> | undefined;
|
|
5358
5370
|
}>;
|
|
5359
|
-
|
|
5360
|
-
private resizeTimeoutRef?;
|
|
5361
|
-
private measurementRetryTimeoutRef?;
|
|
5362
|
-
private readonly ngZone;
|
|
5363
|
-
private destroyed;
|
|
5364
|
-
constructor(resizeObserverService: ResizeObserverService, cdr: ChangeDetectorRef, handlers: CopilotChatViewHandlers);
|
|
5371
|
+
constructor(handlers: CopilotChatViewHandlers);
|
|
5365
5372
|
ngOnInit(): void;
|
|
5366
5373
|
ngOnChanges(): void;
|
|
5367
|
-
ngAfterViewInit(): void;
|
|
5368
|
-
/** Schedules a cancellable layout retry without triggering zone-wide ticks. */
|
|
5369
|
-
private scheduleMeasurementRetry;
|
|
5370
|
-
ngOnDestroy(): void;
|
|
5371
5374
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotChatView, never>;
|
|
5372
5375
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotChatView, "copilot-chat-view", never, { "messages": { "alias": "messages"; "required": false; "isSignal": true; }; "state": { "alias": "state"; "required": false; "isSignal": true; }; "agentId": { "alias": "agentId"; "required": false; "isSignal": true; }; "autoScroll": { "alias": "autoScroll"; "required": false; "isSignal": true; }; "showCursor": { "alias": "showCursor"; "required": false; "isSignal": true; }; "hasExplicitThreadId": { "alias": "hasExplicitThreadId"; "required": false; "isSignal": true; }; "messageViewComponent": { "alias": "messageViewComponent"; "required": false; "isSignal": true; }; "messageViewTemplate": { "alias": "messageViewTemplate"; "required": false; "isSignal": true; }; "messageViewClass": { "alias": "messageViewClass"; "required": false; "isSignal": true; }; "assistantMessageComponent": { "alias": "assistantMessageComponent"; "required": false; "isSignal": true; }; "assistantMessageTemplate": { "alias": "assistantMessageTemplate"; "required": false; "isSignal": true; }; "assistantMessageClass": { "alias": "assistantMessageClass"; "required": false; "isSignal": true; }; "reasoningMessageComponent": { "alias": "reasoningMessageComponent"; "required": false; "isSignal": true; }; "reasoningMessageTemplate": { "alias": "reasoningMessageTemplate"; "required": false; "isSignal": true; }; "reasoningMessageClass": { "alias": "reasoningMessageClass"; "required": false; "isSignal": true; }; "messageViewChildrenComponent": { "alias": "messageViewChildrenComponent"; "required": false; "isSignal": true; }; "messageViewChildrenTemplate": { "alias": "messageViewChildrenTemplate"; "required": false; "isSignal": true; }; "messageViewChildrenClass": { "alias": "messageViewChildrenClass"; "required": false; "isSignal": true; }; "scrollViewComponent": { "alias": "scrollViewComponent"; "required": false; "isSignal": true; }; "scrollViewTemplate": { "alias": "scrollViewTemplate"; "required": false; "isSignal": true; }; "scrollViewClass": { "alias": "scrollViewClass"; "required": false; "isSignal": true; }; "scrollToBottomButtonComponent": { "alias": "scrollToBottomButtonComponent"; "required": false; "isSignal": true; }; "scrollToBottomButtonTemplate": { "alias": "scrollToBottomButtonTemplate"; "required": false; "isSignal": true; }; "scrollToBottomButtonClass": { "alias": "scrollToBottomButtonClass"; "required": false; "isSignal": true; }; "inputComponent": { "alias": "inputComponent"; "required": false; "isSignal": true; }; "inputTemplate": { "alias": "inputTemplate"; "required": false; "isSignal": true; }; "inputContainerComponent": { "alias": "inputContainerComponent"; "required": false; "isSignal": true; }; "inputContainerTemplate": { "alias": "inputContainerTemplate"; "required": false; "isSignal": true; }; "inputContainerClass": { "alias": "inputContainerClass"; "required": false; "isSignal": true; }; "featherComponent": { "alias": "featherComponent"; "required": false; "isSignal": true; }; "featherTemplate": { "alias": "featherTemplate"; "required": false; "isSignal": true; }; "featherClass": { "alias": "featherClass"; "required": false; "isSignal": true; }; "disclaimerComponent": { "alias": "disclaimerComponent"; "required": false; "isSignal": true; }; "disclaimerTemplate": { "alias": "disclaimerTemplate"; "required": false; "isSignal": true; }; "disclaimerClass": { "alias": "disclaimerClass"; "required": false; "isSignal": true; }; "disclaimerText": { "alias": "disclaimerText"; "required": false; "isSignal": true; }; }, { "assistantMessageThumbsUp": "assistantMessageThumbsUp"; "assistantMessageThumbsDown": "assistantMessageThumbsDown"; "assistantMessageReadAloud": "assistantMessageReadAloud"; "assistantMessageRegenerate": "assistantMessageRegenerate"; "userMessageCopy": "userMessageCopy"; "userMessageEdit": "userMessageEdit"; }, ["customLayoutTemplate", "sendButtonTemplate", "toolbarTemplate", "textAreaTemplate", "audioRecorderTemplate", "assistantMessageMarkdownRendererTemplate", "thumbsUpButtonTemplate", "thumbsDownButtonTemplate", "readAloudButtonTemplate", "regenerateButtonTemplate"], never, true, never>;
|
|
5373
5376
|
}
|
|
5374
5377
|
|
|
5378
|
+
/**
|
|
5379
|
+
* Measures the chat view's floating input container and exposes its height
|
|
5380
|
+
* as a signal.
|
|
5381
|
+
*
|
|
5382
|
+
* Applied to the copilot-slot hosting the input container. Because the slot
|
|
5383
|
+
* only exists on the chat-view branch of the template (the welcome-screen
|
|
5384
|
+
* branch omits it), the directive's lifecycle mirrors the overlay's: it is
|
|
5385
|
+
* created when the overlay mounts — including after the user sends their
|
|
5386
|
+
* first message from the welcome screen — and torn down with it.
|
|
5387
|
+
*
|
|
5388
|
+
* Measurement is platform-driven: afterNextRender fires once the slot's
|
|
5389
|
+
* dynamically created content is in the DOM (and never during SSR), and the
|
|
5390
|
+
* ResizeObserver keeps the height current from there, including the initial
|
|
5391
|
+
* 0 → laid-out transition.
|
|
5392
|
+
*/
|
|
5393
|
+
declare class CopilotChatViewInputMeasure {
|
|
5394
|
+
private readonly host;
|
|
5395
|
+
private readonly resizeObserverService;
|
|
5396
|
+
private readonly destroyRef;
|
|
5397
|
+
/**
|
|
5398
|
+
* Root element of the input container component — its absolutely
|
|
5399
|
+
* positioned overlay wrapper — once it has been rendered into the slot.
|
|
5400
|
+
* Custom input containers without that element are left unmeasured.
|
|
5401
|
+
*/
|
|
5402
|
+
private readonly target;
|
|
5403
|
+
private readonly state;
|
|
5404
|
+
/** Measured height of the input container in px; 0 until first laid out. */
|
|
5405
|
+
readonly height: _angular_core.Signal<number>;
|
|
5406
|
+
/** True while the input container is resizing, false once it has settled. */
|
|
5407
|
+
readonly resizing: _angular_core.Signal<boolean>;
|
|
5408
|
+
constructor();
|
|
5409
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotChatViewInputMeasure, never>;
|
|
5410
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<CopilotChatViewInputMeasure, "[copilotChatViewInputMeasure]", never, {}, {}, never, never, true, never>;
|
|
5411
|
+
}
|
|
5412
|
+
|
|
5375
5413
|
/**
|
|
5376
5414
|
* Props for CopilotChatView component
|
|
5377
5415
|
*/
|
|
@@ -5447,7 +5485,7 @@ declare class CopilotThreadsDrawerRow {
|
|
|
5447
5485
|
* internally by {@link defineCopilotKitThreadsDrawer}) and projects it into the DOM
|
|
5448
5486
|
* via the `CUSTOM_ELEMENTS_SCHEMA`-enabled template.
|
|
5449
5487
|
*
|
|
5450
|
-
* Thread list state is fetched from
|
|
5488
|
+
* Thread list state is fetched from CopilotKit Intelligence via
|
|
5451
5489
|
* {@link injectThreads} and pushed onto the element's JS properties via an
|
|
5452
5490
|
* `effect`, following the imperative property-assignment pattern used elsewhere
|
|
5453
5491
|
* in this package (see `CopilotA2UIActivityRenderer`).
|
|
@@ -5467,7 +5505,7 @@ declare class CopilotThreadsDrawer {
|
|
|
5467
5505
|
* → ambient config's `agentId` → {@link DEFAULT_AGENT_ID}). NOT forwarded to
|
|
5468
5506
|
* the element (the element has no `agentId` property).
|
|
5469
5507
|
*/
|
|
5470
|
-
readonly agentId: _angular_core.InputSignal<string>;
|
|
5508
|
+
readonly agentId: _angular_core.InputSignal<string | undefined>;
|
|
5471
5509
|
/**
|
|
5472
5510
|
* Value applied as the `data-testid` attribute on the inner
|
|
5473
5511
|
* `<copilotkit-threads-drawer>` element. Defaults to `"copilot-threads-drawer"`.
|
|
@@ -5477,13 +5515,13 @@ declare class CopilotThreadsDrawer {
|
|
|
5477
5515
|
* Optional accessible/region + default-header label forwarded to the element's
|
|
5478
5516
|
* `label` property; defaults to the element's own `"Threads"` when unset.
|
|
5479
5517
|
*/
|
|
5480
|
-
readonly label: _angular_core.InputSignal<string>;
|
|
5518
|
+
readonly label: _angular_core.InputSignal<string | undefined>;
|
|
5481
5519
|
/**
|
|
5482
5520
|
* Optional heading for the "Recent Conversations" section, forwarded to the
|
|
5483
5521
|
* element's `recent-label` attribute; defaults to the element's own
|
|
5484
5522
|
* `"Recent Conversations"` when unset.
|
|
5485
5523
|
*/
|
|
5486
|
-
readonly recentLabel: _angular_core.InputSignal<string>;
|
|
5524
|
+
readonly recentLabel: _angular_core.InputSignal<string | undefined>;
|
|
5487
5525
|
/**
|
|
5488
5526
|
* Whether the drawer offers a collapse toggle. Pushed onto the element's
|
|
5489
5527
|
* `collapsible` PROPERTY (a default-true boolean, exactly like `licensed` — a
|
|
@@ -5491,7 +5529,7 @@ declare class CopilotThreadsDrawer {
|
|
|
5491
5529
|
* When `false`, the drawer has no collapse toggle and is always expanded.
|
|
5492
5530
|
* Defaults to the element's own `true` when unset.
|
|
5493
5531
|
*/
|
|
5494
|
-
readonly collapsible: _angular_core.InputSignal<boolean>;
|
|
5532
|
+
readonly collapsible: _angular_core.InputSignal<boolean | undefined>;
|
|
5495
5533
|
/**
|
|
5496
5534
|
* Emits the new collapsed state whenever the drawer's collapsed state changes
|
|
5497
5535
|
* (mirrors the element's `collapse-change` event).
|
|
@@ -5503,7 +5541,7 @@ declare class CopilotThreadsDrawer {
|
|
|
5503
5541
|
* When provided, this callback is invoked instead of driving
|
|
5504
5542
|
* `config.setActiveThreadId`. Bound via `[onThreadSelect]="fn"`.
|
|
5505
5543
|
*/
|
|
5506
|
-
readonly threadSelectHandler: _angular_core.InputSignal<(threadId: string) => void>;
|
|
5544
|
+
readonly threadSelectHandler: _angular_core.InputSignal<((threadId: string) => void) | undefined>;
|
|
5507
5545
|
/**
|
|
5508
5546
|
* Optional host override for the new-thread action.
|
|
5509
5547
|
*
|
|
@@ -5511,27 +5549,27 @@ declare class CopilotThreadsDrawer {
|
|
|
5511
5549
|
* `config.startNewThread`. The core `threads.startNewThread()` reset is
|
|
5512
5550
|
* always called regardless. Bound via `[onNewThread]="fn"`.
|
|
5513
5551
|
*/
|
|
5514
|
-
readonly newThreadHandler: _angular_core.InputSignal<() => void>;
|
|
5552
|
+
readonly newThreadHandler: _angular_core.InputSignal<(() => void) | undefined>;
|
|
5515
5553
|
/**
|
|
5516
5554
|
* Page size for thread pagination. When set, threads load in pages of this
|
|
5517
5555
|
* size and the element shows a "Load more" control while more remain. When
|
|
5518
5556
|
* unset, the full list loads at once and no pagination control shows.
|
|
5519
5557
|
*/
|
|
5520
|
-
readonly limit: _angular_core.InputSignal<number>;
|
|
5558
|
+
readonly limit: _angular_core.InputSignal<number | undefined>;
|
|
5521
5559
|
/**
|
|
5522
5560
|
* Destination the locked view's Upgrade CTA opens in a new tab. Forwarded to
|
|
5523
5561
|
* the element's `licenseUrl` property; defaults to the element's built-in
|
|
5524
5562
|
* CopilotKit Intelligence docs URL when unset. Set to an empty string to
|
|
5525
5563
|
* suppress the default navigation and handle the click via `onLicensed`.
|
|
5526
5564
|
*/
|
|
5527
|
-
readonly licenseUrl: _angular_core.InputSignal<string>;
|
|
5565
|
+
readonly licenseUrl: _angular_core.InputSignal<string | undefined>;
|
|
5528
5566
|
/**
|
|
5529
5567
|
* Optional host hook fired when the locked view's Upgrade CTA is clicked. The
|
|
5530
5568
|
* element still performs its default navigation unless `licenseUrl` is blank;
|
|
5531
5569
|
* use this for telemetry or to drive your own upgrade flow. Bound via
|
|
5532
5570
|
* `[onLicensed]="fn"`.
|
|
5533
5571
|
*/
|
|
5534
|
-
readonly licensedHandler: _angular_core.InputSignal<() => void>;
|
|
5572
|
+
readonly licensedHandler: _angular_core.InputSignal<(() => void) | undefined>;
|
|
5535
5573
|
private readonly config;
|
|
5536
5574
|
private readonly copilotkit;
|
|
5537
5575
|
private readonly drawerRef;
|
|
@@ -5541,7 +5579,7 @@ declare class CopilotThreadsDrawer {
|
|
|
5541
5579
|
* `<copilotkit-threads-drawer>` element for each thread, allowing the host to inject
|
|
5542
5580
|
* custom light-DOM content into each row slot.
|
|
5543
5581
|
*/
|
|
5544
|
-
protected readonly rowDirective: _angular_core.Signal<CopilotThreadsDrawerRow>;
|
|
5582
|
+
protected readonly rowDirective: _angular_core.Signal<CopilotThreadsDrawerRow | undefined>;
|
|
5545
5583
|
/**
|
|
5546
5584
|
* The resolved agent id for the threads store. Precedence:
|
|
5547
5585
|
* 1. `agentId` input prop.
|
|
@@ -5570,7 +5608,7 @@ declare class CopilotThreadsDrawer {
|
|
|
5570
5608
|
* licensed drawer never flashes (or strands) the Upgrade CTA mid-resolution.
|
|
5571
5609
|
*/
|
|
5572
5610
|
protected readonly licensePending: _angular_core.Signal<boolean>;
|
|
5573
|
-
/** Live thread list from
|
|
5611
|
+
/** Live thread list from CopilotKit Intelligence for the resolved agent. */
|
|
5574
5612
|
protected readonly threads: _copilotkit_angular.InjectThreadsResult;
|
|
5575
5613
|
/** Thread records mapped to the element's {@link DrawerThread} shape. */
|
|
5576
5614
|
protected readonly drawerThreads: _angular_core.Signal<DrawerThread[]>;
|
|
@@ -5580,18 +5618,18 @@ declare class CopilotThreadsDrawer {
|
|
|
5580
5618
|
* errors (missing runtime URL, runtime without thread endpoints) are excluded
|
|
5581
5619
|
* and never displayed to end users.
|
|
5582
5620
|
*/
|
|
5583
|
-
protected readonly errorMessage: _angular_core.Signal<string>;
|
|
5621
|
+
protected readonly errorMessage: _angular_core.Signal<string | null>;
|
|
5584
5622
|
/**
|
|
5585
5623
|
* The currently-active thread id, sourced from the ambient chat
|
|
5586
5624
|
* configuration, or `null` when no configuration is present.
|
|
5587
5625
|
*/
|
|
5588
|
-
protected readonly activeThreadId: _angular_core.Signal<string>;
|
|
5626
|
+
protected readonly activeThreadId: _angular_core.Signal<string | null>;
|
|
5589
5627
|
/**
|
|
5590
5628
|
* User-facing fetch-more error message from the dedicated fetch-more error
|
|
5591
5629
|
* signal, or `null`. Drives the element's inline "couldn't load more — retry"
|
|
5592
5630
|
* panel without disturbing the loaded list or the initial-list `error`.
|
|
5593
5631
|
*/
|
|
5594
|
-
protected readonly fetchMoreErrorMessage: _angular_core.Signal<string>;
|
|
5632
|
+
protected readonly fetchMoreErrorMessage: _angular_core.Signal<string | null>;
|
|
5595
5633
|
private readonly destroyRef;
|
|
5596
5634
|
/**
|
|
5597
5635
|
* Provider-less fallback open-state. Without a surrounding chat configuration
|
|
@@ -5718,7 +5756,7 @@ declare class CopilotPopup {
|
|
|
5718
5756
|
readonly height: _angular_core.InputSignal<string | number>;
|
|
5719
5757
|
readonly clickOutsideToClose: _angular_core.InputSignal<boolean>;
|
|
5720
5758
|
readonly chatComponent: _angular_core.InputSignal<Type<unknown>>;
|
|
5721
|
-
readonly headerComponent: _angular_core.InputSignal<Type<unknown
|
|
5759
|
+
readonly headerComponent: _angular_core.InputSignal<Type<unknown> | undefined>;
|
|
5722
5760
|
protected readonly dialogId: string;
|
|
5723
5761
|
protected readonly titleId: string;
|
|
5724
5762
|
protected readonly resolvedWidth: _angular_core.Signal<string>;
|
|
@@ -5745,7 +5783,7 @@ declare class CopilotSidebar {
|
|
|
5745
5783
|
readonly title: _angular_core.InputSignal<string>;
|
|
5746
5784
|
readonly clickOutsideToClose: _angular_core.InputSignal<boolean>;
|
|
5747
5785
|
readonly chatComponent: _angular_core.InputSignal<Type<unknown>>;
|
|
5748
|
-
readonly headerComponent: _angular_core.InputSignal<Type<unknown
|
|
5786
|
+
readonly headerComponent: _angular_core.InputSignal<Type<unknown> | undefined>;
|
|
5749
5787
|
protected readonly sidebarId: string;
|
|
5750
5788
|
protected readonly titleId: string;
|
|
5751
5789
|
protected readonly resolvedWidth: _angular_core.Signal<string>;
|
|
@@ -5781,7 +5819,7 @@ declare class CopilotA2UIActivityRenderer implements ActivityRenderer<unknown> {
|
|
|
5781
5819
|
id: string;
|
|
5782
5820
|
activityType: string;
|
|
5783
5821
|
}>;
|
|
5784
|
-
readonly agent: _angular_core.InputSignal<AbstractAgent>;
|
|
5822
|
+
readonly agent: _angular_core.InputSignal<AbstractAgent | undefined>;
|
|
5785
5823
|
private readonly surfaceRef;
|
|
5786
5824
|
private readonly copilotKit;
|
|
5787
5825
|
protected readonly config: _copilotkit_angular.CopilotKitConfig;
|
|
@@ -5832,7 +5870,7 @@ declare function readA2UILifecycleContent(content: unknown): A2UILifecycleConten
|
|
|
5832
5870
|
declare class CopilotA2UIRecovery {
|
|
5833
5871
|
#private;
|
|
5834
5872
|
readonly content: _angular_core.InputSignal<unknown>;
|
|
5835
|
-
readonly options: _angular_core.InputSignal<A2UIRecoveryOptions>;
|
|
5873
|
+
readonly options: _angular_core.InputSignal<A2UIRecoveryOptions | undefined>;
|
|
5836
5874
|
readonly lifecycle: _angular_core.Signal<A2UILifecycleContent>;
|
|
5837
5875
|
readonly retryRevealed: _angular_core.WritableSignal<boolean>;
|
|
5838
5876
|
readonly debugExposure: _angular_core.Signal<A2UIDebugExposure>;
|
|
@@ -5856,7 +5894,7 @@ interface RenderA2UIArgs extends Record<string, unknown> {
|
|
|
5856
5894
|
|
|
5857
5895
|
declare class CopilotA2UIToolRenderer implements ToolRenderer<RenderA2UIArgs> {
|
|
5858
5896
|
readonly toolCall: _angular_core.InputSignal<AngularToolCall<RenderA2UIArgs>>;
|
|
5859
|
-
readonly agent: _angular_core.InputSignal<AbstractAgent>;
|
|
5897
|
+
readonly agent: _angular_core.InputSignal<AbstractAgent | undefined>;
|
|
5860
5898
|
private readonly surfaceRef;
|
|
5861
5899
|
private readonly config;
|
|
5862
5900
|
private readonly copilotKit;
|
|
@@ -5876,16 +5914,16 @@ type WebsandboxConstructor = typeof Websandbox;
|
|
|
5876
5914
|
declare const OPEN_GENERATIVE_UI_WEBSANDBOX_LOADER: InjectionToken<() => Promise<WebsandboxConstructor>>;
|
|
5877
5915
|
declare class CopilotOpenGenerativeUIRenderer implements OnChanges {
|
|
5878
5916
|
readonly content: _angular_core.InputSignal<{
|
|
5879
|
-
html?: string[];
|
|
5880
|
-
initialHeight?: number;
|
|
5881
|
-
generating?: boolean;
|
|
5882
|
-
css?: string;
|
|
5883
|
-
cssComplete?: boolean;
|
|
5884
|
-
htmlComplete?: boolean;
|
|
5885
|
-
jsFunctions?: string;
|
|
5886
|
-
jsFunctionsComplete?: boolean;
|
|
5887
|
-
jsExpressions?: string[];
|
|
5888
|
-
jsExpressionsComplete?: boolean;
|
|
5917
|
+
html?: string[] | undefined;
|
|
5918
|
+
initialHeight?: number | undefined;
|
|
5919
|
+
generating?: boolean | undefined;
|
|
5920
|
+
css?: string | undefined;
|
|
5921
|
+
cssComplete?: boolean | undefined;
|
|
5922
|
+
htmlComplete?: boolean | undefined;
|
|
5923
|
+
jsFunctions?: string | undefined;
|
|
5924
|
+
jsFunctionsComplete?: boolean | undefined;
|
|
5925
|
+
jsExpressions?: string[] | undefined;
|
|
5926
|
+
jsExpressionsComplete?: boolean | undefined;
|
|
5889
5927
|
}>;
|
|
5890
5928
|
private readonly containerRef;
|
|
5891
5929
|
private readonly destroyRef;
|
|
@@ -5898,17 +5936,16 @@ declare class CopilotOpenGenerativeUIRenderer implements OnChanges {
|
|
|
5898
5936
|
private previewSandbox;
|
|
5899
5937
|
private sandboxReady;
|
|
5900
5938
|
private previewReady;
|
|
5901
|
-
private finalSandboxKey;
|
|
5902
5939
|
private executedExpressionIndex;
|
|
5903
5940
|
private pendingQueue;
|
|
5904
5941
|
private jsFunctionsInjected;
|
|
5905
5942
|
private heightMeasured;
|
|
5906
5943
|
private autoHeight;
|
|
5907
5944
|
private hasReceivedContent;
|
|
5908
|
-
protected readonly fullHtml: _angular_core.Signal<string>;
|
|
5909
|
-
protected readonly css: _angular_core.Signal<string>;
|
|
5910
|
-
protected readonly partialHtml: _angular_core.Signal<string>;
|
|
5911
|
-
protected readonly previewBody: _angular_core.Signal<string>;
|
|
5945
|
+
protected readonly fullHtml: _angular_core.Signal<string | undefined>;
|
|
5946
|
+
protected readonly css: _angular_core.Signal<string | undefined>;
|
|
5947
|
+
protected readonly partialHtml: _angular_core.Signal<string | undefined>;
|
|
5948
|
+
protected readonly previewBody: _angular_core.Signal<string | undefined>;
|
|
5912
5949
|
protected readonly previewStyles: _angular_core.Signal<string>;
|
|
5913
5950
|
protected readonly hasPreview: _angular_core.Signal<boolean>;
|
|
5914
5951
|
protected readonly hasVisibleSandbox: _angular_core.Signal<boolean>;
|
|
@@ -5926,7 +5963,6 @@ declare class CopilotOpenGenerativeUIRenderer implements OnChanges {
|
|
|
5926
5963
|
private createPreviewSandbox;
|
|
5927
5964
|
private updatePreviewSandbox;
|
|
5928
5965
|
private reconcileSandboxState;
|
|
5929
|
-
private getFinalSandboxKey;
|
|
5930
5966
|
private createFinalSandbox;
|
|
5931
5967
|
private resetFinalRuntimeState;
|
|
5932
5968
|
private injectJsFunctions;
|
|
@@ -5942,16 +5978,16 @@ declare class CopilotOpenGenerativeUIRenderer implements OnChanges {
|
|
|
5942
5978
|
declare class CopilotOpenGenerativeUIActivityRenderer implements ActivityRenderer<OpenGenerativeUIContent> {
|
|
5943
5979
|
readonly activityType: _angular_core.InputSignal<string>;
|
|
5944
5980
|
readonly content: _angular_core.InputSignal<{
|
|
5945
|
-
html?: string[];
|
|
5946
|
-
initialHeight?: number;
|
|
5947
|
-
generating?: boolean;
|
|
5948
|
-
css?: string;
|
|
5949
|
-
cssComplete?: boolean;
|
|
5950
|
-
htmlComplete?: boolean;
|
|
5951
|
-
jsFunctions?: string;
|
|
5952
|
-
jsFunctionsComplete?: boolean;
|
|
5953
|
-
jsExpressions?: string[];
|
|
5954
|
-
jsExpressionsComplete?: boolean;
|
|
5981
|
+
html?: string[] | undefined;
|
|
5982
|
+
initialHeight?: number | undefined;
|
|
5983
|
+
generating?: boolean | undefined;
|
|
5984
|
+
css?: string | undefined;
|
|
5985
|
+
cssComplete?: boolean | undefined;
|
|
5986
|
+
htmlComplete?: boolean | undefined;
|
|
5987
|
+
jsFunctions?: string | undefined;
|
|
5988
|
+
jsFunctionsComplete?: boolean | undefined;
|
|
5989
|
+
jsExpressions?: string[] | undefined;
|
|
5990
|
+
jsExpressionsComplete?: boolean | undefined;
|
|
5955
5991
|
}>;
|
|
5956
5992
|
readonly message: _angular_core.InputSignal<{
|
|
5957
5993
|
role: "activity";
|
|
@@ -5959,30 +5995,31 @@ declare class CopilotOpenGenerativeUIActivityRenderer implements ActivityRendere
|
|
|
5959
5995
|
id: string;
|
|
5960
5996
|
activityType: string;
|
|
5961
5997
|
}>;
|
|
5962
|
-
readonly agent: _angular_core.InputSignal<AbstractAgent>;
|
|
5998
|
+
readonly agent: _angular_core.InputSignal<AbstractAgent | undefined>;
|
|
5963
5999
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotOpenGenerativeUIActivityRenderer, never>;
|
|
5964
6000
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotOpenGenerativeUIActivityRenderer, "copilot-open-generative-ui-activity-renderer", never, { "activityType": { "alias": "activityType"; "required": true; "isSignal": true; }; "content": { "alias": "content"; "required": true; "isSignal": true; }; "message": { "alias": "message"; "required": true; "isSignal": true; }; "agent": { "alias": "agent"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5965
6001
|
}
|
|
5966
6002
|
|
|
5967
6003
|
declare class CopilotOpenGenerativeUIToolRenderer implements ToolRenderer<GenerateSandboxedUiArgs> {
|
|
5968
6004
|
readonly toolCall: _angular_core.InputSignal<AngularToolCall<{
|
|
5969
|
-
html?: string;
|
|
5970
|
-
initialHeight?: number;
|
|
5971
|
-
css?: string;
|
|
5972
|
-
jsFunctions?: string;
|
|
5973
|
-
jsExpressions?: string[];
|
|
5974
|
-
placeholderMessages?: string[];
|
|
6005
|
+
html?: string | undefined;
|
|
6006
|
+
initialHeight?: number | undefined;
|
|
6007
|
+
css?: string | undefined;
|
|
6008
|
+
jsFunctions?: string | undefined;
|
|
6009
|
+
jsExpressions?: string[] | undefined;
|
|
6010
|
+
placeholderMessages?: string[] | undefined;
|
|
5975
6011
|
}>>;
|
|
5976
6012
|
private readonly visibleMessageIndex;
|
|
5977
6013
|
private readonly destroyRef;
|
|
5978
6014
|
private previousMessageCount;
|
|
5979
6015
|
private interval;
|
|
5980
|
-
protected readonly visibleMessage: _angular_core.Signal<string>;
|
|
6016
|
+
protected readonly visibleMessage: _angular_core.Signal<string | undefined>;
|
|
5981
6017
|
constructor();
|
|
5982
6018
|
private clearTimer;
|
|
5983
6019
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CopilotOpenGenerativeUIToolRenderer, never>;
|
|
5984
6020
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CopilotOpenGenerativeUIToolRenderer, "copilot-open-generative-ui-tool-renderer", never, { "toolCall": { "alias": "toolCall"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
5985
6021
|
}
|
|
5986
6022
|
|
|
5987
|
-
export { AGUI_SEND_STATE_SNAPSHOT_TOOL_NAME, AgentStore, AudioRecorderError, COPILOT_CHAT_CONFIGURATION, COPILOT_CHAT_CONFIGURATION_OPTIONS, COPILOT_CHAT_DEFAULT_LABELS, COPILOT_CHAT_LABELS, COPILOT_KIT_CONFIG, ChatState, CopilotA2UIActivityRenderer, CopilotA2UIProgress, CopilotA2UIRecovery, CopilotA2UIToolRenderer, CopilotChat, CopilotChatAddFileButton, CopilotChatAssistantMessage, CopilotChatAssistantMessageCopyButton, CopilotChatAssistantMessageReadAloudButton, CopilotChatAssistantMessageRegenerateButton, CopilotChatAssistantMessageRenderer, CopilotChatAssistantMessageThumbsDownButton, CopilotChatAssistantMessageThumbsUpButton, CopilotChatAssistantMessageToolbar, CopilotChatAssistantMessageToolbarButton, CopilotChatAttachmentQueue, CopilotChatAttachmentRenderer, CopilotChatAttachmentsDirective, CopilotChatAudioRecorder, CopilotChatCancelTranscribeButton, CopilotChatConfiguration, CopilotChatFinishTranscribeButton, CopilotChatInput, CopilotChatInputDefaults, CopilotChatMessageView, CopilotChatMessageViewCursor, CopilotChatReasoningMessage, CopilotChatSendButton, CopilotChatStartTranscribeButton, CopilotChatSuggestionPill, CopilotChatSuggestionView, CopilotChatTextarea, CopilotChatToolCallsView, CopilotChatToolbar, CopilotChatToolbarButton, CopilotChatToolsMenu, CopilotChatUserMessage, CopilotChatUserMessageBranchNavigation, CopilotChatUserMessageCopyButton, CopilotChatUserMessageEditButton, CopilotChatUserMessageRenderer, CopilotChatUserMessageToolbar, CopilotChatUserMessageToolbarButton, CopilotChatView, CopilotChatViewDisclaimer, CopilotChatViewFeather, CopilotChatViewHandlers, CopilotChatViewInputContainer, CopilotChatViewScrollToBottomButton, CopilotChatViewScrollView, CopilotDefaultToolRenderer, CopilotKit, CopilotKitAgentContext, CopilotOpenGenerativeUIActivityRenderer, CopilotOpenGenerativeUIRenderer, CopilotOpenGenerativeUIToolRenderer, CopilotPopup, CopilotSidebar, CopilotSlot, CopilotThreadsDrawer, CopilotThreadsDrawerRow, CopilotTooltip, CopilotkitAgentFactory, CopilotkitThreadsFactory, DEFAULT_OPEN_GENERATIVE_UI_DESIGN_SKILL, GENERATE_SANDBOXED_UI_DESCRIPTION, GENERATE_SANDBOXED_UI_TOOL_NAME, GenerateSandboxedUiArgsSchema, InterruptController, InterruptExpiredError, OPEN_GENERATIVE_UI_ACTIVITY_TYPE, OPEN_GENERATIVE_UI_WEBSANDBOX_LOADER, OpenGenerativeUIContentSchema, RENDER_A2UI_TOOL_NAME, RenderA2UIArgsSchema, RenderToolCalls, ResizeObserverService, SLOT_CONFIG, ScrollPosition, StickToBottom, ThreadsStore, TooltipContent, TranscriptionError, anyActivityContentSchema, cn, connectAgentContext, createSlotConfig, createSlotRenderer, getSlotConfig, injectAgentStore, injectChatConfiguration, injectChatLabels, injectChatState, injectCopilotKitConfig, injectInterrupt, injectMemories, injectThreads, isComponentType, isSlotValue, normalizeSlotValue, parseToolCallArguments, pickToolCallHandler, provideCopilotChatConfiguration, provideCopilotChatLabels, provideCopilotKit, provideSlots, readA2UILifecycleContent, registerFrontendTool, registerHumanInTheLoop, registerRenderActivityMessage, registerRenderToolCall, renderSlot, safeToolValue, transcribeAudio, ɵCOPILOTKIT_BUILT_IN_ACTIVITY_RENDERERS };
|
|
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 };
|
|
5988
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 };
|
|
6025
|
+
//# sourceMappingURL=copilotkit-angular.d.ts.map
|