@copilotkit/core 2.0.0-rc.42 → 2.0.0-rc.43

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.
@@ -427,8 +427,8 @@ declare class AgentRegistry {
427
427
  private inspectorMetadataCredentialsGeneration;
428
428
  private inspectorMetadataAbortController?;
429
429
  private inspectorMetadataNotificationQueue;
430
- private _a2uiEnabled;
431
- private _a2uiAgents?;
430
+ private _generativeUIEnabled;
431
+ private _generativeUIAgents?;
432
432
  private _openGenerativeUIEnabled;
433
433
  private _licenseStatus?;
434
434
  private _runtimeEntitlements?;
@@ -474,12 +474,13 @@ declare class AgentRegistry {
474
474
  get suggestions(): boolean | undefined;
475
475
  get inspectorLearning(): boolean;
476
476
  get inspectorMetadata(): InspectorMetadataV1 | undefined;
477
- get a2uiEnabled(): boolean;
477
+ /** Whether the runtime turns generative UI (A2UI 1.0) on. */
478
+ get generativeUIEnabled(): boolean;
478
479
  /**
479
- * Agent ids the runtime applies A2UI to (#5369). `undefined` means A2UI
480
- * applies to every agent — or is disabled entirely; check `a2uiEnabled`.
480
+ * Agent ids the runtime limits generative UI to. `undefined` means every
481
+ * agent, or off; check `generativeUIEnabled`.
481
482
  */
482
- get a2uiAgents(): string[] | undefined;
483
+ get generativeUIAgents(): string[] | undefined;
483
484
  get openGenerativeUIEnabled(): boolean;
484
485
  get licenseStatus(): RuntimeLicenseStatus | undefined;
485
486
  /** Structured Runtime entitlement authority advertised by `/info`. */
@@ -1838,7 +1839,7 @@ interface ɵRendererRegistryInit<TTool, TActivity, TCustom> {
1838
1839
  * Tool-call renderers come from three places. Prop renderers are the list the
1839
1840
  * provider was given (`setPropToolCalls`). Hook renderers are added one at a
1840
1841
  * time (`addHookToolCall`), for example by `useRenderTool`. Built-in
1841
- * renderers are added by CopilotKit features such as A2UI
1842
+ * renderers are added by CopilotKit features such as generative UI
1842
1843
  * (`addBuiltInToolCall`). Each renderer has a key made of its `agentId` and
1843
1844
  * `name`. A hook renderer replaces a prop renderer with the same key, and a
1844
1845
  * later hook renderer replaces an earlier one with the same key, so the
@@ -1922,7 +1923,7 @@ declare class ɵRendererRegistry<TTool extends {
1922
1923
  removeToolCall(name: string, agentId?: string): void;
1923
1924
  /**
1924
1925
  * Add a built-in renderer, for a tool that a CopilotKit feature owns (for
1925
- * example the A2UI render tool). Prop and hook renderers with the same
1926
+ * example the generative UI render tool). Prop and hook renderers with the same
1926
1927
  * `agentId` and `name` win over it, and setting the prop renderers never
1927
1928
  * removes it.
1928
1929
  *
@@ -1933,7 +1934,7 @@ declare class ɵRendererRegistry<TTool extends {
1933
1934
  *
1934
1935
  * @example
1935
1936
  * ```ts
1936
- * const remove = registry.addBuiltInToolCall({ name: "render_a2ui", render: Nothing });
1937
+ * const remove = registry.addBuiltInToolCall({ name: "render_ui", render: Nothing });
1937
1938
  * // when the feature turns off
1938
1939
  * remove();
1939
1940
  * ```
@@ -2598,8 +2599,6 @@ interface ɵProviderConfigInput {
2598
2599
  agents__unsafe_dev_only?: Readonly<Record<string, AbstractAgent>>;
2599
2600
  selfManagedAgents?: Readonly<Record<string, AbstractAgent>>;
2600
2601
  properties?: Record<string, unknown>;
2601
- /** The `a2ui.catalog` option. Any truthy value counts as a catalog. */
2602
- a2uiCatalog?: unknown;
2603
2602
  }
2604
2603
  /** @internal Codes of the problems {@link ɵresolveProviderConfig} reports. */
2605
2604
  type ɵProviderConfigDiagnosticCode = "missing_runtime_config" | "self_managed_agents_without_license";
@@ -2630,8 +2629,7 @@ declare function ɵpublicKeyHeaderDefaults(publicKey: string | undefined): Recor
2630
2629
  * - The transport is `runtimeTransport`, else `useSingleEndpoint` mapped to
2631
2630
  * `"single"` (true), `"rest"` (false) or `"auto"` (unset).
2632
2631
  * - The agents are the dev agents with `selfManagedAgents` on top.
2633
- * - The properties get `a2uiCatalogAvailable: true` when a catalog is set.
2634
- * Without a catalog the input object is returned as is.
2632
+ * - The properties are the input object, or a shared empty object.
2635
2633
  * - The header defaults carry the public key header when a key is set.
2636
2634
  *
2637
2635
  * It does not log or throw. The provider reports `diagnostics` (see
@@ -2824,65 +2822,75 @@ declare function ɵassembleProviderToolRenderers<TRenderer, TRender>(input: {
2824
2822
  builtInFrontendTools?: readonly ɵProviderFrontendTool<TRender>[];
2825
2823
  humanInTheLoop: Pick<ɵAssembledHumanInTheLoop<TRender>, "renderToolCalls">;
2826
2824
  }): Array<TRenderer | ɵProviderToolRenderer<TRender>>;
2827
- /** @internal The input of {@link ɵresolveA2UIActivation}. */
2828
- interface ɵA2UIActivationInput {
2829
- /** The runtime reports `a2uiEnabled`. */
2825
+ /** @internal The input of {@link ɵresolveGenerativeUIDefault}. */
2826
+ interface ɵGenerativeUIDefaultInput {
2827
+ /** The runtime reports generative UI as on (`ɵruntimeInfo.generativeUIEnabled`). */
2830
2828
  runtimeEnabled: boolean;
2831
- /** The provider has an `a2ui.catalog`. */
2832
- hasCatalog: boolean;
2833
2829
  /**
2834
- * Keep A2UI off without a catalog, even when the runtime enables it.
2835
- * Angular sets it: it has no default catalog to render surfaces with.
2830
+ * The agents the runtime limits generative UI to
2831
+ * (`ɵruntimeInfo.generativeUIAgents`). `undefined` means every agent.
2836
2832
  */
2837
- requireCatalog?: boolean;
2833
+ runtimeAgents?: string[] | undefined;
2834
+ /** The provider has a `generativeUI` config with a `ui` of its own. */
2835
+ hasUI: boolean;
2838
2836
  }
2839
2837
  /**
2840
- * @internal Whether the provider turns on A2UI: its built-in renderers and
2841
- * its agent context.
2838
+ * @internal The result of {@link ɵresolveGenerativeUIDefault}. When `active`,
2839
+ * the provider renders generative UI with the standard UI (`standardUI`),
2840
+ * scoped to `agentIds` (`undefined` means every agent).
2841
+ */
2842
+ type ɵGenerativeUIDefault = {
2843
+ active: false;
2844
+ } | {
2845
+ active: true;
2846
+ agentIds: string[] | undefined;
2847
+ };
2848
+ /**
2849
+ * @internal Whether the provider falls back to the standard UI for generative
2850
+ * UI. That is when the provider has no `generativeUI` UI of its own and the
2851
+ * runtime turns generative UI on. A UI of the app always wins, with its own
2852
+ * `agentIds`.
2842
2853
  *
2843
- * A2UI is active when the runtime enables it or the provider has a catalog.
2844
- * With `requireCatalog`, only a catalog turns it on. `missingCatalog` is
2845
- * true when the runtime enables A2UI but `requireCatalog` keeps it off;
2846
- * the provider should tell the developer to configure a catalog.
2854
+ * The fallback is scoped to the agents of the runtime: pass `agentIds` on as
2855
+ * the `agentIds` of the generative UI config, so only those agents get the
2856
+ * envelope.
2847
2857
  *
2848
2858
  * @example
2849
- * ɵresolveA2UIActivation({ runtimeEnabled: true, hasCatalog: false });
2850
- * // { active: true, missingCatalog: false }
2851
- * ɵresolveA2UIActivation({ runtimeEnabled: true, hasCatalog: false, requireCatalog: true });
2852
- * // { active: false, missingCatalog: true }
2859
+ * const fallback = ɵresolveGenerativeUIDefault({
2860
+ * runtimeEnabled: runtimeInfo.generativeUIEnabled,
2861
+ * runtimeAgents: runtimeInfo.generativeUIAgents,
2862
+ * hasUI: !!generativeUI?.ui,
2863
+ * });
2864
+ * const config =
2865
+ * generativeUI ??
2866
+ * (fallback.active
2867
+ * ? { ui: standardUI, agentIds: fallback.agentIds }
2868
+ * : undefined);
2853
2869
  */
2854
- declare function ɵresolveA2UIActivation({
2870
+ declare function ɵresolveGenerativeUIDefault({
2855
2871
  runtimeEnabled,
2856
- hasCatalog,
2857
- requireCatalog
2858
- }: ɵA2UIActivationInput): {
2859
- active: boolean;
2860
- missingCatalog: boolean;
2861
- };
2872
+ runtimeAgents,
2873
+ hasUI
2874
+ }: ɵGenerativeUIDefaultInput): ɵGenerativeUIDefault;
2862
2875
  /** @internal The input of {@link ɵassembleActivityRenderers}. */
2863
2876
  interface ɵActivityRenderersInput<R> {
2864
2877
  /** The app's activity renderers. They come first, so they win. */
2865
2878
  app?: readonly R[];
2866
- /** The A2UI surface renderer, when A2UI is active. */
2867
- a2ui?: R;
2868
2879
  /** The other built-in renderers, in order. */
2869
2880
  builtIns?: readonly (R | undefined | false)[];
2870
2881
  }
2871
2882
  /**
2872
2883
  * @internal The provider's activity renderer list: the app's renderers, then
2873
- * the A2UI renderer, then the other built-in renderers. Missing entries are
2874
- * left out.
2884
+ * the built-in renderers. Missing entries are left out.
2875
2885
  *
2876
2886
  * @example
2877
2887
  * ɵassembleActivityRenderers({
2878
2888
  * app: props.renderActivityMessages,
2879
- * a2ui: a2uiActive ? a2uiRenderer : undefined,
2880
- * builtIns: [mcpAppsRenderer, openGenUIActive && openGenUIRenderer],
2889
+ * * builtIns: [mcpAppsRenderer, openGenUIActive && openGenUIRenderer],
2881
2890
  * });
2882
2891
  */
2883
2892
  declare function ɵassembleActivityRenderers<R>({
2884
2893
  app,
2885
- a2ui,
2886
2894
  builtIns
2887
2895
  }: ɵActivityRenderersInput<R>): R[];
2888
2896
  /** @internal The object form of the provider `learning` option. */
@@ -2900,25 +2908,6 @@ type ɵCopilotKitLearningOptions = LearningConfig & {
2900
2908
  */
2901
2909
  learningContainerIds?: string[];
2902
2910
  };
2903
- /** @internal The `a2ui` provider options every framework shares. */
2904
- interface ɵA2UIBaseOptions {
2905
- /**
2906
- * When true (the default), the full component schemas from the catalog are
2907
- * sent as agent context so the agent knows what components and props are
2908
- * available. The A2UI middleware can overwrite this with a server-side
2909
- * schema if configured.
2910
- *
2911
- * When false, the agent context still describes the catalog, but only by its
2912
- * catalog ID and the names of its custom components, without their JSON
2913
- * schemas. The component schema entry and the A2UI generation and design
2914
- * guidelines are not sent. With the CopilotKit LangGraph middleware's
2915
- * injected A2UI tool, the A2UI subagent then gets the component names only;
2916
- * a host can still give it a composition guide through the middleware's
2917
- * guidelines (`a2uiParams.guidelines.compositionGuide` in TypeScript,
2918
- * `a2ui_params["guidelines"]["composition_guide"]` in Python).
2919
- */
2920
- includeSchema?: boolean;
2921
- }
2922
2911
  /**
2923
2912
  * @internal The provider options that React, Vue and React Native share with
2924
2913
  * the same names. The framework props extend this type, so the docs live in
@@ -3139,10 +3128,11 @@ declare function ɵresetAgentThreadBaseline(agent: AbstractAgent, options?: ɵTh
3139
3128
  */
3140
3129
  interface ɵRuntimeInfo {
3141
3130
  readonly status: CopilotKitCoreRuntimeConnectionStatus;
3142
- readonly a2uiEnabled: boolean;
3143
- /** `undefined` means A2UI applies to every agent (or is off). */
3144
- readonly a2uiAgents: string[] | undefined;
3145
3131
  readonly openGenerativeUIEnabled: boolean;
3132
+ /** The runtime reports generative UI (`render_ui`) as on. */
3133
+ readonly generativeUIEnabled: boolean;
3134
+ /** `undefined` means generative UI applies to every agent (or is off). */
3135
+ readonly generativeUIAgents: string[] | undefined;
3146
3136
  readonly licenseStatus: RuntimeLicenseStatus$1 | undefined;
3147
3137
  readonly runtimeEntitlements: RuntimeEntitlementResponse | undefined;
3148
3138
  readonly runtimeEntitlementRetryPending: boolean;
@@ -4538,393 +4528,6 @@ type SurfaceSegment = {
4538
4528
  */
4539
4529
  declare function segmentSurfaceProse(components: Record<string, unknown>[], options?: ChildWalkOptions): SurfaceSegment[];
4540
4530
  //#endregion
4541
- //#region src/a2ui/constants.d.ts
4542
- /**
4543
- * The content key that carries A2UI operations, on `a2ui-surface` activities
4544
- * and on render tool results. Must match `A2UI_OPERATIONS_KEY` in
4545
- * `@ag-ui/a2ui-middleware` and `copilotkit_runtime.a2ui` (Python).
4546
- */
4547
- declare const A2UI_OPERATIONS_KEY = "a2ui_operations";
4548
- /** The activity type the A2UI middleware streams surfaces and their lifecycle on. */
4549
- declare const A2UI_SURFACE_ACTIVITY_TYPE = "a2ui-surface";
4550
- /** The tool the A2UI middleware injects so the model can generate a surface. */
4551
- declare const RENDER_A2UI_TOOL_NAME = "render_a2ui";
4552
- /** The surface an operation that names no surface is filed under. */
4553
- declare const A2UI_DEFAULT_SURFACE_ID = "default";
4554
- /**
4555
- * The component id every renderer starts from when it walks a surface. A2UI
4556
- * v0.9 gives a payload no way to name its own entry point, so it is fixed.
4557
- * `@copilotkit/a2ui-renderer` exports the same value as `ROOT_COMPONENT_ID`.
4558
- */
4559
- declare const A2UI_ROOT_COMPONENT_ID = "root";
4560
- //#endregion
4561
- //#region src/a2ui/operations.d.ts
4562
- /** One A2UI operation as it arrives on the wire, before validation. */
4563
- type A2UIOperation$1 = Record<string, unknown>;
4564
- /**
4565
- * Reads the A2UI operations from activity content or a tool result payload.
4566
- * The `a2ui_operations` key wins; a bare `operations` key is accepted too.
4567
- * Entries that are not objects are dropped.
4568
- *
4569
- * @param content - Activity content or a parsed tool result, of any shape.
4570
- * @returns The operations, or an empty list when there are none.
4571
- */
4572
- declare function getA2UIOperations(content: unknown): Record<string, unknown>[];
4573
- /**
4574
- * Resolves the surface an operation addresses.
4575
- *
4576
- * The nested `surfaceId` wins, because that is the id `MessageProcessor`
4577
- * creates the surface under. Grouping by a top-level `surfaceId` instead files
4578
- * the operations against a surface that never exists, which paints nothing
4579
- * (OSS-1048). A top-level `surfaceId` is honoured only when no nested id is
4580
- * present.
4581
- *
4582
- * @param operation - One A2UI operation, of any shape.
4583
- * @returns The surface id, or null when the operation names none.
4584
- */
4585
- declare function getA2UIOperationSurfaceId(operation: unknown): string | null;
4586
- /**
4587
- * Groups operations by the surface they address, in first-seen order. An
4588
- * operation that names no surface goes under `"default"`.
4589
- *
4590
- * @param operations - Operations in arrival order.
4591
- */
4592
- declare function groupA2UIOperationsBySurface(operations: readonly A2UIOperation$1[]): Map<string, A2UIOperation$1[]>;
4593
- /**
4594
- * Whether operations are enough to paint a visible card yet. A data-bound
4595
- * surface addresses its values by `path` (`@path` in A2UI 1.0) and draws
4596
- * nothing until a data model update, or a native create's inline data model,
4597
- * carries a non-empty value; a static surface paints from its components
4598
- * alone. Times the loader → surface hand-off to real content rather than a
4599
- * fixed delay (OSS-162).
4600
- *
4601
- * @param operations - The operations of one surface or of a whole activity.
4602
- */
4603
- declare function surfaceHasRenderableContent(operations: readonly A2UIOperation$1[]): boolean;
4604
- //#endregion
4605
- //#region src/a2ui/diagnostics.d.ts
4606
- /**
4607
- * How long a surface may take to report its first paint before the loader
4608
- * hand-off gives up and shows it anyway. Reaching it with no paint is also the
4609
- * moment the unpainted and unresolved-root diagnostics fire.
4610
- */
4611
- declare const A2UI_PAINT_FALLBACK_MS = 8000;
4612
- /** The live surface model, as far as the diagnostics read it. */
4613
- interface A2UIDiagnosedSurface {
4614
- componentsModel: {
4615
- get(componentId: string): unknown;
4616
- };
4617
- }
4618
- /**
4619
- * Explains why a surface that received operations never painted, or returns
4620
- * null when its operations are enough to paint.
4621
- *
4622
- * Reaching {@link A2UI_PAINT_FALLBACK_MS} with no paint means the operations
4623
- * were accepted and still put nothing on screen. Left alone that is
4624
- * invisible, so the message says which half is missing.
4625
- *
4626
- * @param surfaceId - The surface the operations address.
4627
- * @param operations - The operations grouped under that surface.
4628
- */
4629
- declare function diagnoseUnpaintedSurface(surfaceId: string, operations: readonly A2UIOperation$1[]): string | null;
4630
- /**
4631
- * Explains a surface that never got created although operations addressed
4632
- * it. The usual cause is operations sent to one surface id while the surface
4633
- * was created under another, or operations that were all dropped as invalid.
4634
- *
4635
- * @param surfaceId - The surface the operations address.
4636
- * @param operations - The operations processed for that surface.
4637
- */
4638
- declare function diagnoseMissingSurface(surfaceId: string, operations: readonly A2UIOperation$1[]): string;
4639
- /**
4640
- * Explains a surface still waiting for its root component once operations
4641
- * have stopped arriving, or returns null when the root resolved (or when no
4642
- * components arrived at all, which {@link diagnoseUnpaintedSurface} explains
4643
- * better).
4644
- *
4645
- * Renderers begin walking a surface at the root id and treat an id they cannot
4646
- * find as not arrived yet, so a payload without it animates a placeholder
4647
- * forever while every other check calls it healthy. Reads the live components
4648
- * model, so it covers every way the root can fail to resolve.
4649
- *
4650
- * @param surfaceId - The surface the operations address.
4651
- * @param operations - The operations processed for that surface.
4652
- * @param surface - The live surface model.
4653
- */
4654
- declare function diagnoseUnresolvedRoot(surfaceId: string, operations: readonly A2UIOperation$1[], surface: A2UIDiagnosedSurface): string | null;
4655
- //#endregion
4656
- //#region src/a2ui/actions.d.ts
4657
- /** A user action dispatched by an A2UI component (button click, form submit). */
4658
- type A2UIUserAction = {
4659
- name: string;
4660
- sourceComponentId: string;
4661
- surfaceId: string;
4662
- timestamp: string;
4663
- context?: Record<string, unknown>;
4664
- dataContextPath?: string; /** Optional native (A2UI 1.0) action details, kept when forwarding to the agent. */
4665
- catalogId?: string;
4666
- userMessage?: string;
4667
- metadata?: {
4668
- extensions?: Record<string, unknown>;
4669
- };
4670
- };
4671
- /**
4672
- * The A2UI client-event envelope. The runtimes read it from
4673
- * `forwardedProps.a2uiAction.userAction` (`@ag-ui/a2ui-middleware` and
4674
- * `copilotkit_runtime.a2ui`), so an action must reach the agent wrapped in it.
4675
- */
4676
- interface A2UIClientEvent {
4677
- userAction: A2UIUserAction;
4678
- }
4679
- /**
4680
- * Intercept an A2UI user action before it reaches the agent.
4681
- *
4682
- * Called with the dispatched action and a `forward` helper that runs the agent
4683
- * with the (optionally modified) action. The return value drives the default
4684
- * forwarding:
4685
- * - return `null` → the app handled it client-side (e.g. a `navigate` event);
4686
- * the action is NOT forwarded to the agent.
4687
- * - return an `A2UIUserAction` → that (possibly modified) action is forwarded.
4688
- * - return `undefined` / `void` → the original action is forwarded unchanged.
4689
- *
4690
- * `forward` is provided for advanced cases where you want to do async work and
4691
- * forward manually; if you call it yourself, return `null` to suppress the
4692
- * default forward and avoid running the agent twice.
4693
- */
4694
- type A2UIActionInterceptor = (action: A2UIUserAction, forward: (action?: A2UIUserAction) => Promise<void>) => void | A2UIUserAction | null | Promise<void | A2UIUserAction | null>;
4695
- /** The raw action a web_core `MessageProcessor` hands its action handler. */
4696
- interface A2UIProcessorAction {
4697
- name?: string;
4698
- surfaceId?: string;
4699
- sourceComponentId?: string;
4700
- context?: Record<string, unknown>;
4701
- timestamp?: string;
4702
- dataContextPath?: string;
4703
- catalogId?: string;
4704
- userMessage?: string;
4705
- metadata?: {
4706
- extensions?: Record<string, unknown>;
4707
- };
4708
- }
4709
- /**
4710
- * Wraps a raw processor action in the client-event envelope the runtimes read,
4711
- * filling the fields a partial action leaves out. Other fields the action
4712
- * carries, such as a native action's `userMessage`, are kept.
4713
- *
4714
- * @param action - What the `MessageProcessor` action handler received.
4715
- */
4716
- declare function toA2UIClientEvent(action: A2UIProcessorAction): A2UIClientEvent;
4717
- /** The core members an A2UI action needs. */
4718
- type A2UIActionCore = Pick<CopilotKitCore, "properties" | "setProperties" | "runAgent">;
4719
- /** The agent an A2UI action runs. */
4720
- type A2UIActionAgent = Parameters<CopilotKitCore["runAgent"]>[0]["agent"];
4721
- /**
4722
- * Sends one A2UI user action to the agent: runs the optional `onAction`
4723
- * interceptor first, then sets the `a2uiAction` run property and runs the
4724
- * agent unless the interceptor suppressed it (returned `null`). The
4725
- * `a2uiAction` property is always removed afterwards so it does not leak into
4726
- * later runs.
4727
- *
4728
- * Does nothing when there is no agent (a surface rendered outside a chat).
4729
- *
4730
- * @example
4731
- * ```ts
4732
- * new MessageProcessor([catalog], (action) =>
4733
- * ɵrunA2UIAction({ message: ɵtoA2UIClientEvent(action), agent, core }),
4734
- * );
4735
- * ```
4736
- */
4737
- declare function runA2UIAction({
4738
- message,
4739
- agent,
4740
- core,
4741
- onAction
4742
- }: {
4743
- message: A2UIClientEvent;
4744
- agent: A2UIActionAgent | undefined;
4745
- core: A2UIActionCore;
4746
- onAction?: A2UIActionInterceptor;
4747
- }): Promise<void>;
4748
- //#endregion
4749
- //#region src/a2ui/lifecycle.d.ts
4750
- type A2UIDebugExposure = "hidden" | "collapsed" | "verbose";
4751
- type A2UILifecycleStatus = "building" | "retrying" | "failed";
4752
- /** The lifecycle fields the middleware stamps on `a2ui-surface` content. */
4753
- interface A2UILifecycle {
4754
- status: A2UILifecycleStatus;
4755
- attempt?: number;
4756
- maxAttempts?: number;
4757
- progressTokens?: number;
4758
- error?: string;
4759
- errors?: unknown[];
4760
- attempts?: unknown[];
4761
- debugExposure?: A2UIDebugExposure;
4762
- }
4763
- /** Client options for the pre-paint recovery and loading UX. */
4764
- interface A2UIRecoveryOptions {
4765
- /** Delay (ms) before the "Retrying…" label becomes visible. Default 2000. */
4766
- showAfterMs?: number;
4767
- /** Show the "Retrying…" label at once when `attempt` reaches this. Default 2. */
4768
- showAfterAttempts?: number;
4769
- /** How much retry and debug detail to show. Default "collapsed". */
4770
- debugExposure?: A2UIDebugExposure;
4771
- }
4772
- declare const A2UI_RECOVERY_DEFAULTS: {
4773
- showAfterMs: number;
4774
- showAfterAttempts: number;
4775
- debugExposure: "collapsed";
4776
- paintFallbackMs: number;
4777
- };
4778
- /** User-visible text of the lifecycle states. */
4779
- declare const A2UI_LIFECYCLE_TEXT: {
4780
- building: string;
4781
- retrying: string;
4782
- failureTitle: string;
4783
- failureDescription: string;
4784
- failureDetails: string;
4785
- retryDetails: string;
4786
- };
4787
- /**
4788
- * Reads the lifecycle fields from activity content. An unknown or missing
4789
- * `status` reads as "building"; fields of the wrong type are left out.
4790
- *
4791
- * @param content - `a2ui-surface` activity content, of any shape.
4792
- */
4793
- declare function readA2UILifecycle(content: unknown): A2UILifecycle;
4794
- /**
4795
- * `a2ui-surface` activity content: lifecycle fields before paint,
4796
- * `a2ui_operations` on paint, and any future fields.
4797
- */
4798
- type A2UISurfaceContent = Record<string, unknown>;
4799
- /**
4800
- * Validates `a2ui-surface` activity content for activity renderer
4801
- * registration. Any object passes: {@link readA2UILifecycle} and
4802
- * `getA2UIOperations` read the fields and ignore mistyped ones, so a field
4803
- * a newer middleware adds can never hide the surface.
4804
- */
4805
- declare const A2UI_SURFACE_CONTENT_SCHEMA: StandardSchemaV1<unknown, A2UISurfaceContent>;
4806
- /**
4807
- * The debug exposure to use: the server-stamped one wins, then the client
4808
- * option, then "collapsed".
4809
- */
4810
- declare function resolveA2UIDebugExposure(lifecycle: A2UILifecycle, option?: A2UIDebugExposure): A2UIDebugExposure;
4811
- /** The skeleton rows a progress phase reveals; 0 is the first row pair. */
4812
- type A2UIProgressPhase = 0 | 1 | 2 | 3;
4813
- /**
4814
- * How much of the skeleton to reveal for an estimated token count. With no
4815
- * count yet the full skeleton shows rather than an empty box.
4816
- *
4817
- * @param tokens - The streamed token estimate, if the server sent one.
4818
- */
4819
- declare function getA2UIProgressPhase(tokens: number | undefined): A2UIProgressPhase;
4820
- /**
4821
- * The label under the skeleton: "Building interface" until a retry is
4822
- * revealed, then "Retrying generation…", with the attempt count when known.
4823
- */
4824
- declare function formatA2UIRetryLabel(lifecycle: A2UILifecycle, retryRevealed: boolean): string;
4825
- /**
4826
- * Serializes a debug payload for display. Never throws: circular references,
4827
- * functions, bigints and symbols get placeholder text.
4828
- */
4829
- declare function formatA2UIDebugPayload(value: unknown): string;
4830
- /** One skeleton bar: width (px), colour and animation delay (s). */
4831
- interface A2UISkeletonBar {
4832
- readonly w: number;
4833
- readonly bg: string;
4834
- readonly anim: number;
4835
- }
4836
- type A2UISkeletonPart = "dot" | "spacer" | A2UISkeletonBar;
4837
- /** The skeleton rows; each row shows once the progress phase reaches `phase`. */
4838
- declare const A2UI_SKELETON_ROWS: readonly {
4839
- readonly phase: A2UIProgressPhase;
4840
- readonly delay: number;
4841
- readonly parts: readonly A2UISkeletonPart[];
4842
- }[];
4843
- /**
4844
- * What an `a2ui-surface` activity shows:
4845
- * - "lifecycle": no operations yet; render the lifecycle state.
4846
- * - "handoff": operations arrived; render the surface hidden and keep the
4847
- * lifecycle state on top until the surface paints.
4848
- * - "surface": render the surface only.
4849
- */
4850
- type A2UIActivityView = "lifecycle" | "handoff" | "surface";
4851
- interface A2UIActivitySnapshot {
4852
- view: A2UIActivityView;
4853
- /** The operations of the current content. */
4854
- operations: readonly A2UIOperation$1[];
4855
- /** The lifecycle state to show: the current one, or the last before paint. */
4856
- lifecycle: A2UILifecycle;
4857
- debugExposure: A2UIDebugExposure;
4858
- /** Whether a retry has become perceptible. */
4859
- retryRevealed: boolean;
4860
- /** The label under the skeleton. */
4861
- label: string;
4862
- progressPhase: A2UIProgressPhase;
4863
- /** Whether to show the debug details expander. */
4864
- showDebugDetails: boolean;
4865
- /** Whether the debug details expander starts open. */
4866
- debugDetailsOpen: boolean;
4867
- /** The summary text of the debug details expander. */
4868
- debugDetailsLabel: string;
4869
- /** The formatted debug payload. */
4870
- debugPayload: string;
4871
- }
4872
- /** Runs `callback` after `ms`; returns a function that cancels it. */
4873
- type A2UIScheduler = (callback: () => void, ms: number) => () => void;
4874
- interface A2UIActivityControllerOptions {
4875
- recovery?: A2UIRecoveryOptions;
4876
- /**
4877
- * Receives development diagnostics (a surface that never painted). Pass
4878
- * `console.warn` in development builds; leave it out in production.
4879
- */
4880
- warn?: (message: string) => void;
4881
- /** Timer to use. Default `setTimeout`. Pass a no-op one during SSR. */
4882
- schedule?: A2UIScheduler;
4883
- /** Runs `callback` after the next paint. Default `requestAnimationFrame`. */
4884
- requestFrame?: (callback: () => void) => void;
4885
- }
4886
- /**
4887
- * Drives what an `a2ui-surface` activity shows: the lifecycle state before
4888
- * paint, the hand-off while the surface paints hidden, then the surface.
4889
- *
4890
- * Give it each content snapshot with `setContent()`, and call `markRendered()`
4891
- * every time the surface applied operations. A surface counts as painted once
4892
- * its operations are renderable (see `surfaceHasRenderableContent`) and a
4893
- * frame has passed; if that never happens the hand-off ends after 8 s anyway
4894
- * and `warn` reports why.
4895
- *
4896
- * @example
4897
- * ```ts
4898
- * const controller = new ɵA2UIActivityController({ recovery });
4899
- * controller.subscribe(() => render(controller.getSnapshot()));
4900
- * controller.setContent(content);
4901
- * // after the surface processed operations:
4902
- * controller.markRendered();
4903
- * // on unmount:
4904
- * controller.dispose();
4905
- * ```
4906
- */
4907
- declare class A2UIActivityController {
4908
- #private;
4909
- constructor(options?: A2UIActivityControllerOptions);
4910
- /** The current snapshot. The same object until something changes. */
4911
- getSnapshot: () => A2UIActivitySnapshot;
4912
- /** Calls `listener` when the snapshot changes. Returns the unsubscribe function. */
4913
- subscribe: (listener: () => void) => () => void;
4914
- /** Sets the latest activity content. */
4915
- setContent(content: unknown): void;
4916
- /**
4917
- * Reports that the surface applied operations. Ends the hand-off after the
4918
- * next frame once the operations can paint something.
4919
- */
4920
- markRendered(): void;
4921
- /**
4922
- * Stops the timers and forgets the content. A later `setContent()` starts
4923
- * again, so a component that remounts can keep using the controller.
4924
- */
4925
- dispose(): void;
4926
- }
4927
- //#endregion
4928
4531
  //#region src/chat/labels.d.ts
4929
4532
  /**
4930
4533
  * The default English text for every word the chat UI shows. React, Vue and
@@ -10464,12 +10067,13 @@ declare class CopilotKitCore {
10464
10067
  get inspectorMetadata(): InspectorMetadataV1$1 | undefined;
10465
10068
  /** Refresh trusted inspector metadata without reconnecting runtime agents. */
10466
10069
  refreshInspectorMetadata(): Promise<void>;
10467
- get a2uiEnabled(): boolean;
10070
+ /** Whether the runtime turns generative UI (A2UI 1.0) on. */
10071
+ get generativeUIEnabled(): boolean;
10468
10072
  /**
10469
- * Agent ids the runtime applies A2UI to. `undefined` means A2UI applies to
10470
- * every agent (or is disabled — check `a2uiEnabled`).
10073
+ * Agent ids the runtime limits generative UI to. `undefined` means every
10074
+ * agent (or off; check `generativeUIEnabled`).
10471
10075
  */
10472
- get a2uiAgents(): string[] | undefined;
10076
+ get generativeUIAgents(): string[] | undefined;
10473
10077
  get openGenerativeUIEnabled(): boolean;
10474
10078
  get licenseStatus(): RuntimeLicenseStatus$1 | undefined;
10475
10079
  /** Structured Runtime entitlement authority advertised by `/info`. */
@@ -10928,5 +10532,5 @@ interface OpenThreadRegistration {
10928
10532
  unregister(): void;
10929
10533
  }
10930
10534
  //#endregion
10931
- export { isOpenGenerativeUIActive as $, getToolCallRowStatus as $a, ɵobservePhoenixEvent$ as $c, RunHandler as $d, ɵChatRunScope as $i, ɵAssembledHumanInTheLoop as $l, ɵINLINE_FEATURE_WARNING_STYLE as $n, A2UISurfaceContent as $o, ɵComposerAutosizeOptions as $r, emitInspectorActiveThread as $s, ɵStickToBottom as $t, InterruptHandlerProps as $u, ɵThreadSelectors as A, TOOL_CALL_STATUS_ICONS as Aa, ɵmemoryRestEvents as Ac, ɵAgentResolver as Ad, WebMCPToolConfig as Af, ɵresolveSlashKey as Ai, on as Al, ɵsubscribeToLearningFeedbackEnabled as An, ɵgetCustomMessageRenderProps as Ao, ɵbindDialogFocus as Ar, A2UI_SURFACE_ACTIVITY_TYPE as As, ɵAssistantToolbarInput as At, ɵSuggestionsConfigInput as Au, ɵthreadAdapterEvents as B, TurnOpenState as Ba, MemoryErrorCode as Bc, WebMCPRegistry as Bd, ɵcreateMessageViewModel as Bi, isContentPart as Bl, ɵThreadSummary as Bn, ɵformatLabel as Bo, ɵisFocusVisible as Br, flattenInformationalCards as Bs, ɵformatReasoningDurationLabel as Bt, CustomMessageRendererDef as Bu, createThreadStore as C, ɵAttachmentQueue as Ca, ɵMemoryRuntimeContext as Cc, ɵAgentContextInput as Cd, StaticSuggestionsConfig as Cf, ɵfilterCommands as Ci, createActionGroup as Cl, ɵMessageFeedbackScope as Cn, ɵtoDefaultToolCallStatus as Co, ɵPopupDismissOptions as Cr, getA2UIOperationSurfaceId as Cs, ɵInspectorKiteArtwork as Ct, ɵresolveA2UIActivation as Cu, ɵThreadEnvironment as D, ɵmessagesFingerprint as Da, ɵmemoryAdapterEvents as Dc, ɵALL_AGENT_UPDATES as Dd, ThreadEndpointRuntimeInfo$1 as Df, ɵnormalizeToolsMenu as Di, createStore as Dl, ɵisOwnFeedbackThumb as Dn, ɵCustomMessageRunSource as Do, ɵSIDEBAR_TRANSITION_MS as Dr, A2UI_DEFAULT_SURFACE_ID as Ds, ɵinspectorKiteFill as Dt, ɵStaticSuggestionInput as Du, ɵThread as E, ɵdeduplicateMessages as Ea, ɵmapMemoryMetadataEvent as Ec, ɵserializeContextValue as Ed, SuggestionsConfig as Ef, ɵnextSlashIndex as Ei, createSelector as El, ɵisLearningFeedbackEnabled as En, ɵActivityRendererQuery as Eo, ɵSIDEBAR_DEFAULT_WIDTH as Er, surfaceHasRenderableContent as Es, ɵInspectorKiteStop as Et, ɵtoolRendererShapeChanged as Eu, ɵselectIsFetchingNextPage as F, ToolCallLayout as Fa, ɵselectMemoriesIsMutating as Fc, ɵresolveAgentThreadId as Fd, ɵcreateLastUserMessageTracker as Fi, IntelligenceAgentConfig as Fl, ɵThreadsDrawerThreads as Fn, ɵresolveCustomMessageRenderers as Fo, ɵcreateObjectUrlFromSource as Fr, SurfaceSegment as Fs, ɵReasoningDisclosureOptions as Ft, ɵbuildHumanInTheLoopTool as Fu, PlaceholderCycler as G, formatToolNames as Ga, ɵPhoenixChannelSession as Gc, CopilotKitHeadersSource as Gd, ɵChatConnectionHandle as Gi, ɵThreadBaselineResetOptions as Gl, ɵprojectThread as Gn, A2UIDebugExposure as Go, ɵwatchElementWidth as Gr, MarkdownSegment as Gs, ɵgetWorkSummaryText as Gt, ɵInterruptController as Gu, cn as H, WorkTime as Ha, isRetryableStatus as Hc, SuggestionEngine as Hd, ɵshouldShowMessageCursor as Hi, ɵregisterFrontendTools as Hl, ɵThreadsCore as Hn, A2UIActivityControllerOptions as Ho, ɵmorphViewTransition as Hr, prepareSurfaceOperations as Hs, ɵgetReasoningHeaderLabel as Ht, HumanInTheLoopRenderProps as Hu, ɵselectIsMutating as I, ToolCallRendererNames as Ia, ɵselectMemoriesRealtimeStatus as Ic, ɵsnapshotAgentState as Id, ɵgetChatViewState as Ii, RunCompletionAware as Il, ɵcreateThreadsDrawerActions as In, ɵresolveToolCallRenderer as Io, ɵdecodeTextSource as Ir, classifySurfaceCards as Is, ɵReasoningDisclosureState as It, ɵhitlRenderProps as Iu, OPEN_GENERATIVE_UI_SANDBOX_FUNCTIONS_CONTEXT_DESCRIPTION as J, getLatestTurnKey as Ja, ɵPhoenixSocketLike as Jc, CopilotKitCoreConnectAgentParams as Jd, ɵChatErrorEvent as Ji, ɵLearningAutoStarter as Jl, CopilotIconName as Jn, A2UIProgressPhase as Jo, ɵAudioRecorderState as Jr, InspectorActiveThreadPayload as Js, ɵAutoScrollMode as Jt, ɵInterruptRunner as Ju, PlaceholderCyclerSnapshot as K, formatWorkDuration as Ka, ɵPhoenixJoinOutcome as Kc, ɵwithHeaderDefaults as Kd, ɵChatConnectionOptions as Ki, ɵclearAgentThreadCursors as Kl, CopilotIconData as Kn, A2UILifecycle as Ko, ɵAudioRecorder as Kr, splitA2UIMarkdown as Ks, ɵhasAssistantMessageText as Kt, ɵInterruptControllerOptions as Ku, ɵselectThreads as L, ToolCallRendererNamesOptions as La, MEMORY_ERROR_REGISTRY as Lc, ɵsubscribeToAgentUpdates as Ld, ɵgetLastUserMessageId as Li, isRunCompletionAware as Ll, ɵfindChatInput as Ln, CopilotChatDefaultLabels as Lo, ɵdimensionToCss as Lr, extractCompleteArrayItems as Ls, ɵUserMessageMediaPart as Lt, ActivityMessageRenderProps as Lu, ɵcreateThreadSelectors as M, ToolCallDisplayContextValue as Ma, ɵselectMemoriesAvailable as Mc, ɵagentUpdateHandlers as Md, ɵsyncRecorderToMode as Mi, select as Ml, ɵDrawerThread as Mn, ɵmatchActivityRenderer as Mo, ɵcanPreviewDocument as Mr, A2UIMarkdownOperation as Ms, ɵCOPY_FEEDBACK_RESET_MS as Mt, ɵsubscribeToAgentSuggestions as Mu, ɵselectFetchMoreError as N, ToolCallEntry as Na, ɵselectMemoriesError as Nc, ɵgetAgentResolver as Nd, ɵChatViewStateInput as Ni, AgentThreadLockedError as Nl, ɵThreadsDrawerCallbacks as Nn, ɵresolveActivityRenderer as No, ɵcreateDockedSidebar as Nr, ChildIdsOf as Ns, ɵCopyFeedback as Nt, ɵHITL_ABORTED_MESSAGE as Nu, ɵThreadMetadataEvent as O, CopilotChatToolCallDisplay as Oa, ɵmemoryDomainEvents as Oc, ɵAgentBindingInput as Od, ToolCallStatus as Of, ɵparseSlashQuery as Oi, empty as Ol, ɵresetMessageFeedbackCache as On, ɵdescribeActivityRendererFailure as Oo, ɵSidebarPosition as Or, A2UI_OPERATIONS_KEY as Os, ɵinspectorKiteIcon as Ot, ɵSuggestionsBinding as Ou, ɵselectHasNextPage as P, ToolCallGroupAppearance as Pa, ɵselectMemoriesIsLoading as Pc, ɵresolveAgentId as Pd, ɵLastUserMessageState as Pi, IntelligenceAgent as Pl, ɵThreadsDrawerConfig as Pn, ɵresolveCustomMessageRenderContext as Po, ɵcreateExitPresence as Pr, ChildWalkOptions as Ps, ɵReasoningDisclosure as Pt, ɵHumanInTheLoopRegistry as Pu, createOpenGenerativeUITool as Q, getToolCallRendererNames as Qa, ɵjoinPhoenixChannel$ as Qc, CopilotKitCoreRunToolResult as Qd, ɵChatNotice as Qi, ɵActivityRenderersInput as Ql, LicenseStateInput as Qn, A2UISkeletonPart as Qo, ɵComposerAutosize as Qr, createInspectorThreadRequestId as Qs, ɵPinMessageToTopOptions as Qt, InterruptEvent as Qu, ɵselectThreadsError as R, ToolCallRowStatus as Ra, MemoryError as Rc, ɵvalidateAgentBinding as Rd, ɵMessageViewInput as Ri, ɵisHttpAgent as Rl, ɵgetThreadsDrawerElementProps as Rn, CopilotChatLabels as Ro, ɵdockedSidebarRegistryFor as Rr, extractFenceOperations as Rs, ɵWorkSummaryInput as Rt, ActivityMessageRendererDef as Ru, ThreadRunActivityNotification as S, ɵThreadSwitchCoordinator as Sa, ɵMemoryMetadataEvent as Sc, ɵrecordAnnotation as Sd, RuntimeMode$1 as Sf, ɵcomposerButtonState as Si, StoreLifecycleAction as Sl, ɵMessageFeedbackRating as Sn, ɵresolveToolCallAgentId as So, ɵPOPUP_DEFAULT_WIDTH as Sr, A2UIOperation$1 as Ss, ɵHoverMenuState as St, ɵreportProviderConfigDiagnostics as Su, ɵTHREAD_REQUEST_TIMEOUT_MS as T, ɵbuildUserMessageContent as Ta, ɵMemoryStore as Tc, ɵgetAgentCapabilities as Td, SuggestionAvailability as Tf, ɵflattenToolsMenuForDisplay as Ti, createReducer as Tl, ɵgetMessageFeedbackControls as Tn, ɵActivityRendererLookup as To, ɵSCROLL_BOTTOM_THRESHOLD_PX as Tr, groupA2UIOperationsBySurface as Ts, ɵInspectorKitePath as Tt, ɵstableArrayPropWarning as Tu, shallowEqualRecord as U, countFailedToolCalls as Ua, ɵPhoenixChannelLike as Uc, isAbortError as Ud, ɵChatConnectHooks as Ui, ɵRuntimeInfo as Ul, ɵThreadsInput as Un, A2UIActivitySnapshot as Uo, ɵnextTabStop as Ur, segmentSurfaceProse as Us, ɵgetUserMessageMediaFilename as Ut, ToolCallRenderProps as Uu, ClassValue as V, TurnWork as Va, MemoryErrorRegistryEntry as Vc, getWebMCPModelContext as Vd, ɵduplicateMessagesWarning as Vi, ɵFrontendToolRenderer as Vl, ɵThreadsController as Vn, A2UIActivityController as Vo, ɵisScrolledToBottom as Vr, getMarkdownOperationSurfaceId as Vs, ɵgetBranchNavState as Vt, CustomMessageRendererPosition as Vu, PLACEHOLDER_CYCLE_MS as W, formatReasoningDuration as Wa, ɵPhoenixChannelOptions as Wc, CopilotKitHeaderResolutionError as Wd, ɵChatConnection as Wi, ɵRuntimeInfoStore as Wl, ɵThreadsSnapshot as Wn, A2UIActivityView as Wo, ɵwatchElementHeight as Wr, A2UI_FENCE_LANGUAGE as Ws, ɵgetUserMessageMediaParts as Wt, ToolCallRendererDef as Wu, addOpenGenerativeUIContexts as X, getToolCallLayouts as Xa, ɵPhoenixSocketSession as Xc, CopilotKitCoreRunAgentParams as Xd, ɵimplementsConnect as Xi, ɵA2UIActivationInput as Xl, ɵcopilotIconSvgAttributes as Xn, A2UIScheduler as Xo, ɵrmsAmplitude as Xr, InspectorViewThreadPayload as Xs, ɵKeyboardState as Xt, INTERRUPT_EVENT_NAME as Xu, OpenGenerativeUISandboxFunction as Y, getToolCallGroupState as Ya, ɵPhoenixSocketOptions as Yc, CopilotKitCoreGetToolParams as Yd, ɵFreshThreadId as Yi, ɵtoLearningConfig as Yl, CopilotIconNode as Yn, A2UIRecoveryOptions as Yo, ɵcreateWaveformRenderer as Yr, InspectorStopViewingPayload as Ys, ɵKEYBOARD_OPEN_THRESHOLD_PX as Yt, ɵInterruptSnapshot as Yu, buildOpenGenerativeUIContexts as Z, getToolCallPreview as Za, ɵPhoenixSocketSignal as Zc, CopilotKitCoreRunToolParams as Zd, ɵsubscribeToAgentErrors as Zi, ɵA2UIBaseOptions as Zl, ɵcopilotIcons as Zn, A2UISkeletonBar as Zo, ɵCOMPOSER_DEFAULT_MAX_ROWS as Zr, InspectorViewThreadResultPayload as Zs, ɵMOBILE_MAX_WIDTH_QUERY as Zt, InterruptCancelFn as Zu, ScopedProperties as _, ɵtranscribeAudio as _a, MemoryRealtimeStatus as _c, ɵRendererRegistryInit as _d, FrontendToolHandlerContext as _f, ɵRunnableCommand as _i, NonDispatchingEffectOptions as _l, ɵFeedbackThumbHandlers as _n, ɵfindToolMessage as _o, ɵElementHeightState as _r, A2UIDiagnosedSurface as _s, GenerateSandboxedUiArgs as _t, ɵassembleHumanInTheLoop as _u, CopilotKitCore as a, ɵbuildUserMessage as aa, onInspectorStopViewing as ac, ɵInterruptToolResult as ad, ScopedContext as af, ɵmeasureTextarea as ai, ActionConfig as al, ɵpinMessageToTop as an, pluralize as ao, ɵLicenseBannerType as ar, formatA2UIRetryLabel as as, OpenGenerativeUIPhase as at, ɵProviderConfigDiagnosticCode as au, SubscribeToAgentSubscriber as b, ɵThreadSelection as ba, createMemoryStore as bc, ɵRecordAnnotationResult as bd, IntelligenceRuntimeInfo$1 as bf, ɵToolsMenuDisplayEntry as bi, Selector as bl, ɵMessageFeedback as bn, ɵnormalizeToolCallStatus as bo, ɵPOPUP_ANIMATION_MS as br, diagnoseUnpaintedSurface as bs, ɵHOVER_MENU_CLOSE_DELAY_MS as bt, ɵassembleProviderTools as bu, CopilotKitCoreErrorEvent as c, ɵstopAgentWithFallback as ca, ɵInspectorThreadOverride as cc, ɵgetAgentInterruptState as cd, CopilotKitCoreRegisterProxiedAgentParams as cf, ɵComposerControllerInputs as ci, ActionFromCreators as cl, ɵwatchMobileViewport as cn, stringifyToolCallPayload as co, ɵreserveLicenseBannerOffset as cr, resolveA2UIDebugExposure as cs, SandboxLocalApi as ct, ɵProviderHumanInTheLoop as cu, CopilotKitCoreGetSuggestionsResult as d, TranscriptionCore as da, ɵCOPILOTKIT_FEATURES as dc, ɵGenerativeUIDebugRun as dd, ProxiedCopilotRuntimeAgent as df, ɵComposerKeyAction as di, AnyAction as dl, ɵFeedbackCommentControllerOptions as dn, ɵRawToolCallRenderProps as do, ɵDialogFocusOptions as dr, A2UIActionInterceptor as ds, WebsandboxLoader as dt, ɵReportProviderConfigDiagnosticsOptions as du, ɵChatSubmitter as ea, emitInspectorStopViewing as ec, InterruptRenderProps as ed, ensureObjectArgs as ef, ɵComposerElements as ei, ɵobservePhoenixJoinOutcome$ as el, ɵStickToBottomOptions as en, getToolResults as eo, ɵLICENSE_BANNER_OFFSET as er, A2UI_LIFECYCLE_TEXT as es, GENERATE_SANDBOXED_UI_ARGS_SCHEMA as et, ɵCOPILOT_CLOUD_PUBLIC_API_KEY_HEADER as eu, CopilotKitCoreRuntimeConnectionStatus as f, TranscriptionError as fa, ɵCopilotKitFeature as fc, ɵGenerativeUIDebugSnapshot as fd, ProxiedCopilotRuntimeAgentConfig as ff, ɵComposerKeyDownResult as fi, DispatchingEffect as fl, ɵFeedbackCommentState as fn, ɵToolCallCardStatus as fo, ɵDockedSidebar as fr, A2UIClientEvent as fs, loadWebsandbox as ft, ɵResolvedProviderConfig as fu, JsonValue$1 as g, ɵTranscriptionErrorLabelKey as ga, MemoryKind as gc, ɵRendererRegistry as gd, FrontendTool as gf, ɵModeRecorder as gi, NonDispatchingEffect as gl, ɵFeedbackThumbAttributes as gn, ɵdescribeUnrenderedToolCalls as go, ɵDockedSidebarTransition as gr, toA2UIClientEvent as gs, GENERATE_SANDBOXED_UI_TOOL_NAME as gt, ɵassembleActivityRenderers as gu, CopilotKitCoreSubscription as h, TranscriptionResult as ha, MemoryChanges as hc, ɵRendererKind as hd, DynamicSuggestionsConfig as hf, ɵComposerSnapshot as hi, EmptyActionConfig as hl, ɵFeedbackThumb as hn, ɵcomponentToolDescription as ho, ɵDockedSidebarState as hr, runA2UIAction as hs, DEFAULT_OPEN_GENERATIVE_UI_DESIGN_SKILL as ht, ɵToolRendererShape as hu, TrajectoryStartOptions as i, ɵappendTranscript as ia, onInspectorActiveThread as ic, ɵInterruptState as id, ContextStore as if, ɵfitTextareaHeight as ii, ɵphoenixSocket$ as il, ɵnormalizeAutoScroll as in, isTurnWorking as io, ɵLicenseBannerSpec as ir, formatA2UIDebugPayload as is, OpenGenerativeUIControllerOptions as it, ɵProviderConfigDiagnostic as iu, ɵThreadStore as j, TOOL_CALL_STATUS_LABEL_KEYS as ja, ɵselectMemories as jc, ɵAgentUpdateFlag as jd, ɵshowsComposerDisclaimer as ji, props as jl, ɵsubscribeToMessageFeedback as jn, ɵgetMessageRunStateSnapshot as jo, ɵbindPopupDismiss as jr, RENDER_A2UI_TOOL_NAME as js, ɵBranchNavInput as jt, ɵbindSuggestionsConfig as ju, ɵThreadRuntimeContext as k, ReasoningDuration as ka, ɵmemoryReducer as kc, ɵAgentResolveInput as kd, WebMCPToolAnnotations as kf, ɵresolveComposerKey as ki, ofType as kl, ɵsetMessageFeedback as kn, ɵfindActivityRenderer as ko, ɵTAB_STOP_SELECTOR as kr, A2UI_ROOT_COMPONENT_ID as ks, ɵinspectorShortcuts as kt, ɵSuggestionsBindingOptions as ku, CopilotKitCoreErrorHandler as l, ɵtranscriptionErrorNotice as la, ɵInspectorThreadOverrideInput as lc, ɵGenerativeUIDebugFunction as ld, CopilotKitCoreRegisterProxiedAgentResult as lf, ɵComposerControllerOptions as li, ActionGroupConfig as ll, ɵFEEDBACK_COMMENT_CLOSE_DELAY_MS as ln, toolCallAppearance as lo, ɵresolveLicenseState as lr, A2UIActionAgent as ls, WebsandboxConstructor as lt, ɵProviderRegistryInput as lu, CopilotKitCoreSubscriber as m, TranscriptionErrorInfo as ma, Memory as mc, ɵGenerativeUIDebugSurface as md, CopilotRuntimeTransport as mf, ɵComposerMode as mi, Effect as ml, ɵFeedbackKeyEvent as mn, ɵbuildToolCallRenderProps as mo, ɵDockedSidebarRegistry as mr, A2UIUserAction as ms, processPartialHtml as mt, ɵStableArrayProp as mu, LegacyLearningConfig as n, ɵChatSubmitterSnapshot as na, emitInspectorViewThreadResult as nc, ɵInterruptDecision as nd, CopilotKitCoreContinuationHandoff as nf, ɵTextareaMetrics as ni, ɵobservePhoenixSocketSignals$ as nl, ɵinitialKeyboardState as nn, getWorkOpenState as no, ɵLicenseBannerDetails as nr, A2UI_SKELETON_ROWS as ns, OpenGenerativeUISchema as nt, ɵCopilotKitLearningOptions as nu, CopilotKitCoreConfig as o, ɵcreateChatSubmitter as oa, onInspectorViewThread as oc, ɵPendingInterrupt as od, AgentRegistry as of, ɵCommandMenuItem as oi, ActionCreator as ol, ɵreadKeyboardState as on, recordWorkTime as oo, ɵgetInlineFeatureWarningSpec as or, getA2UIProgressPhase as os, OpenGenerativeUIState as ot, ɵProviderConfigInput as ou, CopilotKitCoreStopAgentParams as p, TranscriptionErrorCode as pa, ɵisCopilotKitFeature as pc, ɵGenerativeUIDebugSource as pd, CopilotKitMessageFilter as pf, ɵComposerKeyEvent as pi, DispatchingEffectOptions as pl, ɵFeedbackCommentVia as pn, ɵadaptDefaultToolCallRenderProps as po, ɵDockedSidebarPlacement as pr, A2UIProcessorAction as ps, extractCompleteStyles as pt, ɵSTABLE_ARRAY_WARNINGS as pu, OPEN_GENERATIVE_UI_DESIGN_CONTEXT_DESCRIPTION as q, getArgumentPreview as qa, ɵPhoenixPushLike as qc, CopilotKitCoreCatalogComponent as qd, ɵChatConnectionSnapshot as qi, ɵresetAgentThreadBaseline as ql, CopilotIconDefinition as qn, A2UILifecycleStatus as qo, ɵAudioRecorderError as qr, INSPECTOR_THREAD_BRIDGE_PLUGIN_ID as qs, ɵshouldShowAssistantToolbar as qt, ɵInterruptExpiredError as qu, OpenThreadRegistration as r, ɵTRANSCRIPTION_ERROR_TIMEOUT_MS as ra, isInspectorThreadBridgeEnabled as rc, ɵInterruptEvent as rd, StateManager as rf, ɵcreateComposerAutosize as ri, ɵphoenixChannel$ as rl, ɵisMobileViewport as rn, isTurnWorkOpen as ro, ɵLicenseBannerSeverity as rr, A2UI_SURFACE_CONTENT_SCHEMA as rs, OpenGenerativeUIController as rt, ɵCopilotKitProviderBaseOptions as ru, CopilotKitCoreErrorCode as s, ɵresolveChatNotice as sa, onInspectorViewThreadResult as sc, ɵclearAgentInterruptState as sd, CopilotKitCoreAddAgentParams as sf, ɵComposerController as si, ActionFromCreator as sl, ɵwatchKeyboardState as sn, stringifyToolCallAttr as so, ɵgetLicenseBannerSpec as sr, readA2UILifecycle as ss, SandboxFunctionHandle as st, ɵProviderFrontendTool as su, LearningConfig as t, ɵChatSubmitterOptions as ta, emitInspectorViewThread as tc, InterruptResolveFn as td, parseToolArguments as tf, ɵComposerLayout as ti, ɵobservePhoenixSocketHealth$ as tl, ɵcreateStickToBottom as tn, getTurnWork as to, ɵLICENSE_BANNER_STYLE as tr, A2UI_RECOVERY_DEFAULTS as ts, OPEN_GENERATIVE_UI_CONTENT_SCHEMA as tt, ɵCOPILOT_CLOUD_RUNTIME_URL as tu, CopilotKitCoreFriendsAccess as u, ɵwaitForActiveRun as ua, ɵInspectorThreadOverrideSnapshot as uc, ɵGenerativeUIDebugPromptSection as ud, ɵRUNTIME_PROBE_TIMEOUT_MS as uf, ɵComposerInput as ui, ActionGroupResult as ul, ɵFeedbackCommentController as un, ɵDefaultToolCallRenderProps as uo, ɵresolveThreadsLicense as ur, A2UIActionCore as us, WebsandboxInstance as ut, ɵProviderToolRenderer as uu, StartResult$1 as v, ɵtranscriptionErrorMessageKey as va, MemoryScope as vc, ɵLearnFromUserActionFields as vd, FrontendToolReconnectBehavior as vf, ɵSlashKeyResult as vi, PropsActionConfig as vl, ɵMESSAGE_FEEDBACK_EVENT_NAME as vn, ɵgetToolCallBadge as vo, ɵExitPresence as vr, A2UI_PAINT_FALLBACK_MS as vs, OPEN_GENERATIVE_UI_ACTIVITY_TYPE as vt, ɵassembleProviderRegistry as vu, ɵMAX_SOCKET_RETRIES as w, ɵClipboardItem as wa, ɵMemoryState as wc, ɵJsonSerializable as wd, Suggestion as wf, ɵflattenCommandItems as wi, createEffect as wl, ɵgetMessageFeedback as wn, ɵActivityRendererFailureReason as wo, ɵRESIZE_SETTLE_MS as wr, getA2UIOperations as ws, ɵInspectorKiteGradient as wt, ɵresolveProviderConfig as wu, ɵCopilotKitCoreConfigPatch as x, ɵThreadSelectionInput as xa, ɵMemoryEnvironment as xc, ɵbuildLearnFromUserActionPayload as xd, RuntimeLicenseStatus$1 as xf, ɵclampSlashIndex as xi, Store as xl, ɵMessageFeedbackControls as xn, ɵparseToolCallArguments as xo, ɵPOPUP_DEFAULT_HEIGHT as xr, diagnoseUnresolvedRoot as xs, ɵHoverMenuController as xt, ɵpublicKeyHeaderDefaults as xu, SubscribeToAgentOptions as y, ɵConnectionWaitResult as ya, NewMemory as yc, ɵRecordAnnotationArgs as yd, InspectorMetadataV1$1 as yf, ɵSlashMenuState as yi, Reducer as yl, ɵMESSAGE_FEEDBACK_MAX_COMMENT_LENGTH as yn, ɵgetToolCallStatus as yo, ɵExitPresenceState as yr, diagnoseMissingSurface as ys, OpenGenerativeUIContent as yt, ɵassembleProviderToolRenderers as yu, ɵselectThreadsIsLoading as z, ToolCallSegment as za, MemoryErrorCategory as zc, WebMCPModelContext as zd, ɵMessageViewModel as zi, completePartialMarkdown as zl, ɵtoDrawerThread as zn, ɵformatCountLabel as zo, ɵisContentScrolledToBottom as zr, extractStringField as zs, ɵflattenUserMessageContent as zt, CustomMessageRenderProps as zu };
10932
- //# sourceMappingURL=learning-bridge-DNdPfyx2.d.mts.map
10535
+ export { isOpenGenerativeUIActive as $, getToolCallRowStatus as $a, ɵRuntimeInfoStore as $c, ɵChatRunScope as $i, ToolCallRendererDef as $l, ɵINLINE_FEATURE_WARNING_STYLE as $n, A2UI_FENCE_LANGUAGE as $o, ɵComposerAutosizeOptions as $r, ɵPhoenixChannelOptions as $s, ɵStickToBottom as $t, CopilotKitHeaderResolutionError as $u, ɵThreadSelectors as A, TOOL_CALL_STATUS_ICONS as Aa, Store as Ac, RuntimeLicenseStatus$1 as Ad, ɵresolveSlashKey as Ai, ɵpublicKeyHeaderDefaults as Al, ɵsubscribeToLearningFeedbackEnabled as An, ɵgetCustomMessageRenderProps as Ao, ɵbindDialogFocus as Ar, ɵMemoryEnvironment as As, ɵAssistantToolbarInput as At, ɵbuildLearnFromUserActionPayload as Au, ɵthreadAdapterEvents as B, TurnOpenState as Ba, props as Bc, ɵcreateMessageViewModel as Bi, ɵbindSuggestionsConfig as Bl, ɵThreadSummary as Bn, ɵformatLabel as Bo, ɵisFocusVisible as Br, ɵselectMemories as Bs, ɵformatReasoningDurationLabel as Bt, ɵAgentUpdateFlag as Bu, createThreadStore as C, ɵAttachmentQueue as Ca, Effect as Cc, CopilotRuntimeTransport as Cd, ɵfilterCommands as Ci, ɵStableArrayProp as Cl, ɵMessageFeedbackScope as Cn, ɵtoDefaultToolCallStatus as Co, ɵPopupDismissOptions as Cr, Memory as Cs, ɵInspectorKiteArtwork as Ct, ɵGenerativeUIDebugSurface as Cu, ɵThreadEnvironment as D, ɵmessagesFingerprint as Da, PropsActionConfig as Dc, FrontendToolReconnectBehavior as Dd, ɵnormalizeToolsMenu as Di, ɵassembleProviderRegistry as Dl, ɵisOwnFeedbackThumb as Dn, ɵCustomMessageRunSource as Do, ɵSIDEBAR_TRANSITION_MS as Dr, MemoryScope as Ds, ɵinspectorKiteFill as Dt, ɵLearnFromUserActionFields as Du, ɵThread as E, ɵdeduplicateMessages as Ea, NonDispatchingEffectOptions as Ec, FrontendToolHandlerContext as Ed, ɵnextSlashIndex as Ei, ɵassembleHumanInTheLoop as El, ɵisLearningFeedbackEnabled as En, ɵActivityRendererQuery as Eo, ɵSIDEBAR_DEFAULT_WIDTH as Er, MemoryRealtimeStatus as Es, ɵInspectorKiteStop as Et, ɵRendererRegistryInit as Eu, ɵselectIsFetchingNextPage as F, ToolCallLayout as Fa, createSelector as Fc, SuggestionsConfig as Fd, ɵcreateLastUserMessageTracker as Fi, ɵtoolRendererShapeChanged as Fl, ɵThreadsDrawerThreads as Fn, ɵresolveCustomMessageRenderers as Fo, ɵcreateObjectUrlFromSource as Fr, ɵmapMemoryMetadataEvent as Fs, ɵReasoningDisclosureOptions as Ft, ɵserializeContextValue as Fu, PlaceholderCycler as G, formatToolNames as Ga, RunCompletionAware as Gc, ɵChatConnectionHandle as Gi, ɵhitlRenderProps as Gl, ɵprojectThread as Gn, classifySurfaceCards as Go, ɵwatchElementWidth as Gr, ɵselectMemoriesRealtimeStatus as Gs, ɵgetWorkSummaryText as Gt, ɵsnapshotAgentState as Gu, cn as H, WorkTime as Ha, AgentThreadLockedError as Hc, ɵshouldShowMessageCursor as Hi, ɵHITL_ABORTED_MESSAGE as Hl, ɵThreadsCore as Hn, ChildIdsOf as Ho, ɵmorphViewTransition as Hr, ɵselectMemoriesError as Hs, ɵgetReasoningHeaderLabel as Ht, ɵgetAgentResolver as Hu, ɵselectIsMutating as I, ToolCallRendererNames as Ia, createStore as Ic, ThreadEndpointRuntimeInfo$1 as Id, ɵgetChatViewState as Ii, ɵStaticSuggestionInput as Il, ɵcreateThreadsDrawerActions as In, ɵresolveToolCallRenderer as Io, ɵdecodeTextSource as Ir, ɵmemoryAdapterEvents as Is, ɵReasoningDisclosureState as It, ɵALL_AGENT_UPDATES as Iu, OPEN_GENERATIVE_UI_SANDBOX_FUNCTIONS_CONTEXT_DESCRIPTION as J, getLatestTurnKey as Ja, completePartialMarkdown as Jc, ɵChatErrorEvent as Ji, CustomMessageRenderProps as Jl, CopilotIconName as Jn, extractStringField as Jo, ɵAudioRecorderState as Jr, MemoryErrorCategory as Js, ɵAutoScrollMode as Jt, WebMCPModelContext as Ju, PlaceholderCyclerSnapshot as K, formatWorkDuration as Ka, isRunCompletionAware as Kc, ɵChatConnectionOptions as Ki, ActivityMessageRenderProps as Kl, CopilotIconData as Kn, extractCompleteArrayItems as Ko, ɵAudioRecorder as Kr, MEMORY_ERROR_REGISTRY as Ks, ɵhasAssistantMessageText as Kt, ɵsubscribeToAgentUpdates as Ku, ɵselectThreads as L, ToolCallRendererNamesOptions as La, empty as Lc, ToolCallStatus as Ld, ɵgetLastUserMessageId as Li, ɵSuggestionsBinding as Ll, ɵfindChatInput as Ln, CopilotChatDefaultLabels as Lo, ɵdimensionToCss as Lr, ɵmemoryDomainEvents as Ls, ɵUserMessageMediaPart as Lt, ɵAgentBindingInput as Lu, ɵcreateThreadSelectors as M, ToolCallDisplayContextValue as Ma, createActionGroup as Mc, StaticSuggestionsConfig as Md, ɵsyncRecorderToMode as Mi, ɵresolveGenerativeUIDefault as Ml, ɵDrawerThread as Mn, ɵmatchActivityRenderer as Mo, ɵcanPreviewDocument as Mr, ɵMemoryRuntimeContext as Ms, ɵCOPY_FEEDBACK_RESET_MS as Mt, ɵAgentContextInput as Mu, ɵselectFetchMoreError as N, ToolCallEntry as Na, createEffect as Nc, Suggestion as Nd, ɵChatViewStateInput as Ni, ɵresolveProviderConfig as Nl, ɵThreadsDrawerCallbacks as Nn, ɵresolveActivityRenderer as No, ɵcreateDockedSidebar as Nr, ɵMemoryState as Ns, ɵCopyFeedback as Nt, ɵJsonSerializable as Nu, ɵThreadMetadataEvent as O, CopilotChatToolCallDisplay as Oa, Reducer as Oc, InspectorMetadataV1$1 as Od, ɵparseSlashQuery as Oi, ɵassembleProviderToolRenderers as Ol, ɵresetMessageFeedbackCache as On, ɵdescribeActivityRendererFailure as Oo, ɵSidebarPosition as Or, NewMemory as Os, ɵinspectorKiteIcon as Ot, ɵRecordAnnotationArgs as Ou, ɵselectHasNextPage as P, ToolCallGroupAppearance as Pa, createReducer as Pc, SuggestionAvailability as Pd, ɵLastUserMessageState as Pi, ɵstableArrayPropWarning as Pl, ɵThreadsDrawerConfig as Pn, ɵresolveCustomMessageRenderContext as Po, ɵcreateExitPresence as Pr, ɵMemoryStore as Ps, ɵReasoningDisclosure as Pt, ɵgetAgentCapabilities as Pu, createOpenGenerativeUITool as Q, getToolCallRendererNames as Qa, ɵRuntimeInfo as Qc, ɵChatNotice as Qi, ToolCallRenderProps as Ql, LicenseStateInput as Qn, segmentSurfaceProse as Qo, ɵComposerAutosize as Qr, ɵPhoenixChannelLike as Qs, ɵPinMessageToTopOptions as Qt, isAbortError as Qu, ɵselectThreadsError as R, ToolCallRowStatus as Ra, ofType as Rc, WebMCPToolAnnotations as Rd, ɵMessageViewInput as Ri, ɵSuggestionsBindingOptions as Rl, ɵgetThreadsDrawerElementProps as Rn, CopilotChatLabels as Ro, ɵdockedSidebarRegistryFor as Rr, ɵmemoryReducer as Rs, ɵWorkSummaryInput as Rt, ɵAgentResolveInput as Ru, ThreadRunActivityNotification as S, ɵThreadSwitchCoordinator as Sa, DispatchingEffectOptions as Sc, CopilotKitMessageFilter as Sd, ɵcomposerButtonState as Si, ɵSTABLE_ARRAY_WARNINGS as Sl, ɵMessageFeedbackRating as Sn, ɵresolveToolCallAgentId as So, ɵPOPUP_DEFAULT_WIDTH as Sr, ɵisCopilotKitFeature as Ss, ɵHoverMenuState as St, ɵGenerativeUIDebugSource as Su, ɵTHREAD_REQUEST_TIMEOUT_MS as T, ɵbuildUserMessageContent as Ta, NonDispatchingEffect as Tc, FrontendTool as Td, ɵflattenToolsMenuForDisplay as Ti, ɵassembleActivityRenderers as Tl, ɵgetMessageFeedbackControls as Tn, ɵActivityRendererLookup as To, ɵSCROLL_BOTTOM_THRESHOLD_PX as Tr, MemoryKind as Ts, ɵInspectorKitePath as Tt, ɵRendererRegistry as Tu, shallowEqualRecord as U, countFailedToolCalls as Ua, IntelligenceAgent as Uc, ɵChatConnectHooks as Ui, ɵHumanInTheLoopRegistry as Ul, ɵThreadsInput as Un, ChildWalkOptions as Uo, ɵnextTabStop as Ur, ɵselectMemoriesIsLoading as Us, ɵgetUserMessageMediaFilename as Ut, ɵresolveAgentId as Uu, ClassValue as V, TurnWork as Va, select as Vc, ɵduplicateMessagesWarning as Vi, ɵsubscribeToAgentSuggestions as Vl, ɵThreadsController as Vn, A2UIMarkdownOperation as Vo, ɵisScrolledToBottom as Vr, ɵselectMemoriesAvailable as Vs, ɵgetBranchNavState as Vt, ɵagentUpdateHandlers as Vu, PLACEHOLDER_CYCLE_MS as W, formatReasoningDuration as Wa, IntelligenceAgentConfig as Wc, ɵChatConnection as Wi, ɵbuildHumanInTheLoopTool as Wl, ɵThreadsSnapshot as Wn, SurfaceSegment as Wo, ɵwatchElementHeight as Wr, ɵselectMemoriesIsMutating as Ws, ɵgetUserMessageMediaParts as Wt, ɵresolveAgentThreadId as Wu, addOpenGenerativeUIContexts as X, getToolCallLayouts as Xa, ɵFrontendToolRenderer as Xc, ɵimplementsConnect as Xi, CustomMessageRendererPosition as Xl, ɵcopilotIconSvgAttributes as Xn, getMarkdownOperationSurfaceId as Xo, ɵrmsAmplitude as Xr, MemoryErrorRegistryEntry as Xs, ɵKeyboardState as Xt, getWebMCPModelContext as Xu, OpenGenerativeUISandboxFunction as Y, getToolCallGroupState as Ya, isContentPart as Yc, ɵFreshThreadId as Yi, CustomMessageRendererDef as Yl, CopilotIconNode as Yn, flattenInformationalCards as Yo, ɵcreateWaveformRenderer as Yr, MemoryErrorCode as Ys, ɵKEYBOARD_OPEN_THRESHOLD_PX as Yt, WebMCPRegistry as Yu, buildOpenGenerativeUIContexts as Z, getToolCallPreview as Za, ɵregisterFrontendTools as Zc, ɵsubscribeToAgentErrors as Zi, HumanInTheLoopRenderProps as Zl, ɵcopilotIcons as Zn, prepareSurfaceOperations as Zo, ɵCOMPOSER_DEFAULT_MAX_ROWS as Zr, isRetryableStatus as Zs, ɵMOBILE_MAX_WIDTH_QUERY as Zt, SuggestionEngine as Zu, ScopedProperties as _, ɵtranscribeAudio as _a, ActionFromCreators as _c, CopilotKitCoreRegisterProxiedAgentParams as _d, ɵRunnableCommand as _i, ɵProviderHumanInTheLoop as _l, ɵFeedbackThumbHandlers as _n, ɵfindToolMessage as _o, ɵElementHeightState as _r, ɵInspectorThreadOverride as _s, GenerateSandboxedUiArgs as _t, ɵgetAgentInterruptState as _u, CopilotKitCore as a, ɵbuildUserMessage as aa, ɵPhoenixSocketSession as ac, CopilotKitCoreRunAgentParams as ad, ɵmeasureTextarea as ai, ɵActivityRenderersInput as al, ɵpinMessageToTop as an, pluralize as ao, ɵLicenseBannerType as ar, InspectorViewThreadPayload as as, OpenGenerativeUIPhase as at, INTERRUPT_EVENT_NAME as au, SubscribeToAgentSubscriber as b, ɵThreadSelection as ba, AnyAction as bc, ProxiedCopilotRuntimeAgent as bd, ɵToolsMenuDisplayEntry as bi, ɵReportProviderConfigDiagnosticsOptions as bl, ɵMessageFeedback as bn, ɵnormalizeToolCallStatus as bo, ɵPOPUP_ANIMATION_MS as br, ɵCOPILOTKIT_FEATURES as bs, ɵHOVER_MENU_CLOSE_DELAY_MS as bt, ɵGenerativeUIDebugRun as bu, CopilotKitCoreErrorEvent as c, ɵstopAgentWithFallback as ca, ɵobservePhoenixEvent$ as cc, RunHandler as cd, ɵComposerControllerInputs as ci, ɵCOPILOT_CLOUD_RUNTIME_URL as cl, ɵwatchMobileViewport as cn, stringifyToolCallPayload as co, ɵreserveLicenseBannerOffset as cr, emitInspectorActiveThread as cs, SandboxLocalApi as ct, InterruptHandlerProps as cu, CopilotKitCoreGetSuggestionsResult as d, TranscriptionCore as da, ɵobservePhoenixSocketSignals$ as dc, CopilotKitCoreContinuationHandoff as dd, ɵComposerKeyAction as di, ɵGenerativeUIDefault as dl, ɵFeedbackCommentControllerOptions as dn, ɵRawToolCallRenderProps as do, ɵDialogFocusOptions as dr, emitInspectorViewThreadResult as ds, WebsandboxLoader as dt, ɵInterruptDecision as du, ɵChatSubmitter as ea, ɵPhoenixChannelSession as ec, CopilotKitHeadersSource as ed, ɵComposerElements as ei, ɵThreadBaselineResetOptions as el, ɵStickToBottomOptions as en, getToolResults as eo, ɵLICENSE_BANNER_OFFSET as er, MarkdownSegment as es, GENERATE_SANDBOXED_UI_ARGS_SCHEMA as et, ɵInterruptController as eu, CopilotKitCoreRuntimeConnectionStatus as f, TranscriptionError as fa, ɵphoenixChannel$ as fc, StateManager as fd, ɵComposerKeyDownResult as fi, ɵGenerativeUIDefaultInput as fl, ɵFeedbackCommentState as fn, ɵToolCallCardStatus as fo, ɵDockedSidebar as fr, isInspectorThreadBridgeEnabled as fs, loadWebsandbox as ft, ɵInterruptEvent as fu, JsonValue$1 as g, ɵTranscriptionErrorLabelKey as ga, ActionFromCreator as gc, CopilotKitCoreAddAgentParams as gd, ɵModeRecorder as gi, ɵProviderFrontendTool as gl, ɵFeedbackThumbAttributes as gn, ɵdescribeUnrenderedToolCalls as go, ɵDockedSidebarTransition as gr, onInspectorViewThreadResult as gs, GENERATE_SANDBOXED_UI_TOOL_NAME as gt, ɵclearAgentInterruptState as gu, CopilotKitCoreSubscription as h, TranscriptionResult as ha, ActionCreator as hc, AgentRegistry as hd, ɵComposerSnapshot as hi, ɵProviderConfigInput as hl, ɵFeedbackThumb as hn, ɵcomponentToolDescription as ho, ɵDockedSidebarState as hr, onInspectorViewThread as hs, DEFAULT_OPEN_GENERATIVE_UI_DESIGN_SKILL as ht, ɵPendingInterrupt as hu, TrajectoryStartOptions as i, ɵappendTranscript as ia, ɵPhoenixSocketOptions as ic, CopilotKitCoreGetToolParams as id, ɵfitTextareaHeight as ii, ɵtoLearningConfig as il, ɵnormalizeAutoScroll as in, isTurnWorking as io, ɵLicenseBannerSpec as ir, InspectorStopViewingPayload as is, OpenGenerativeUIControllerOptions as it, ɵInterruptSnapshot as iu, ɵThreadStore as j, TOOL_CALL_STATUS_LABEL_KEYS as ja, StoreLifecycleAction as jc, RuntimeMode$1 as jd, ɵshowsComposerDisclaimer as ji, ɵreportProviderConfigDiagnostics as jl, ɵsubscribeToMessageFeedback as jn, ɵgetMessageRunStateSnapshot as jo, ɵbindPopupDismiss as jr, ɵMemoryMetadataEvent as js, ɵBranchNavInput as jt, ɵrecordAnnotation as ju, ɵThreadRuntimeContext as k, ReasoningDuration as ka, Selector as kc, IntelligenceRuntimeInfo$1 as kd, ɵresolveComposerKey as ki, ɵassembleProviderTools as kl, ɵsetMessageFeedback as kn, ɵfindActivityRenderer as ko, ɵTAB_STOP_SELECTOR as kr, createMemoryStore as ks, ɵinspectorShortcuts as kt, ɵRecordAnnotationResult as ku, CopilotKitCoreErrorHandler as l, ɵtranscriptionErrorNotice as la, ɵobservePhoenixJoinOutcome$ as lc, ensureObjectArgs as ld, ɵComposerControllerOptions as li, ɵCopilotKitLearningOptions as ll, ɵFEEDBACK_COMMENT_CLOSE_DELAY_MS as ln, toolCallAppearance as lo, ɵresolveLicenseState as lr, emitInspectorStopViewing as ls, WebsandboxConstructor as lt, InterruptRenderProps as lu, CopilotKitCoreSubscriber as m, TranscriptionErrorInfo as ma, ActionConfig as mc, ScopedContext as md, ɵComposerMode as mi, ɵProviderConfigDiagnosticCode as ml, ɵFeedbackKeyEvent as mn, ɵbuildToolCallRenderProps as mo, ɵDockedSidebarRegistry as mr, onInspectorStopViewing as ms, processPartialHtml as mt, ɵInterruptToolResult as mu, LegacyLearningConfig as n, ɵChatSubmitterSnapshot as na, ɵPhoenixPushLike as nc, CopilotKitCoreCatalogComponent as nd, ɵTextareaMetrics as ni, ɵresetAgentThreadBaseline as nl, ɵinitialKeyboardState as nn, getWorkOpenState as no, ɵLicenseBannerDetails as nr, INSPECTOR_THREAD_BRIDGE_PLUGIN_ID as ns, OpenGenerativeUISchema as nt, ɵInterruptExpiredError as nu, CopilotKitCoreConfig as o, ɵcreateChatSubmitter as oa, ɵPhoenixSocketSignal as oc, CopilotKitCoreRunToolParams as od, ɵCommandMenuItem as oi, ɵAssembledHumanInTheLoop as ol, ɵreadKeyboardState as on, recordWorkTime as oo, ɵgetInlineFeatureWarningSpec as or, InspectorViewThreadResultPayload as os, OpenGenerativeUIState as ot, InterruptCancelFn as ou, CopilotKitCoreStopAgentParams as p, TranscriptionErrorCode as pa, ɵphoenixSocket$ as pc, ContextStore as pd, ɵComposerKeyEvent as pi, ɵProviderConfigDiagnostic as pl, ɵFeedbackCommentVia as pn, ɵadaptDefaultToolCallRenderProps as po, ɵDockedSidebarPlacement as pr, onInspectorActiveThread as ps, extractCompleteStyles as pt, ɵInterruptState as pu, OPEN_GENERATIVE_UI_DESIGN_CONTEXT_DESCRIPTION as q, getArgumentPreview as qa, ɵisHttpAgent as qc, ɵChatConnectionSnapshot as qi, ActivityMessageRendererDef as ql, CopilotIconDefinition as qn, extractFenceOperations as qo, ɵAudioRecorderError as qr, MemoryError as qs, ɵshouldShowAssistantToolbar as qt, ɵvalidateAgentBinding as qu, OpenThreadRegistration as r, ɵTRANSCRIPTION_ERROR_TIMEOUT_MS as ra, ɵPhoenixSocketLike as rc, CopilotKitCoreConnectAgentParams as rd, ɵcreateComposerAutosize as ri, ɵLearningAutoStarter as rl, ɵisMobileViewport as rn, isTurnWorkOpen as ro, ɵLicenseBannerSeverity as rr, InspectorActiveThreadPayload as rs, OpenGenerativeUIController as rt, ɵInterruptRunner as ru, CopilotKitCoreErrorCode as s, ɵresolveChatNotice as sa, ɵjoinPhoenixChannel$ as sc, CopilotKitCoreRunToolResult as sd, ɵComposerController as si, ɵCOPILOT_CLOUD_PUBLIC_API_KEY_HEADER as sl, ɵwatchKeyboardState as sn, stringifyToolCallAttr as so, ɵgetLicenseBannerSpec as sr, createInspectorThreadRequestId as ss, SandboxFunctionHandle as st, InterruptEvent as su, LearningConfig as t, ɵChatSubmitterOptions as ta, ɵPhoenixJoinOutcome as tc, ɵwithHeaderDefaults as td, ɵComposerLayout as ti, ɵclearAgentThreadCursors as tl, ɵcreateStickToBottom as tn, getTurnWork as to, ɵLICENSE_BANNER_STYLE as tr, splitA2UIMarkdown as ts, OPEN_GENERATIVE_UI_CONTENT_SCHEMA as tt, ɵInterruptControllerOptions as tu, CopilotKitCoreFriendsAccess as u, ɵwaitForActiveRun as ua, ɵobservePhoenixSocketHealth$ as uc, parseToolArguments as ud, ɵComposerInput as ui, ɵCopilotKitProviderBaseOptions as ul, ɵFeedbackCommentController as un, ɵDefaultToolCallRenderProps as uo, ɵresolveThreadsLicense as ur, emitInspectorViewThread as us, WebsandboxInstance as ut, InterruptResolveFn as uu, StartResult$1 as v, ɵtranscriptionErrorMessageKey as va, ActionGroupConfig as vc, CopilotKitCoreRegisterProxiedAgentResult as vd, ɵSlashKeyResult as vi, ɵProviderRegistryInput as vl, ɵMESSAGE_FEEDBACK_EVENT_NAME as vn, ɵgetToolCallBadge as vo, ɵExitPresence as vr, ɵInspectorThreadOverrideInput as vs, OPEN_GENERATIVE_UI_ACTIVITY_TYPE as vt, ɵGenerativeUIDebugFunction as vu, ɵMAX_SOCKET_RETRIES as w, ɵClipboardItem as wa, EmptyActionConfig as wc, DynamicSuggestionsConfig as wd, ɵflattenCommandItems as wi, ɵToolRendererShape as wl, ɵgetMessageFeedback as wn, ɵActivityRendererFailureReason as wo, ɵRESIZE_SETTLE_MS as wr, MemoryChanges as ws, ɵInspectorKiteGradient as wt, ɵRendererKind as wu, ɵCopilotKitCoreConfigPatch as x, ɵThreadSelectionInput as xa, DispatchingEffect as xc, ProxiedCopilotRuntimeAgentConfig as xd, ɵclampSlashIndex as xi, ɵResolvedProviderConfig as xl, ɵMessageFeedbackControls as xn, ɵparseToolCallArguments as xo, ɵPOPUP_DEFAULT_HEIGHT as xr, ɵCopilotKitFeature as xs, ɵHoverMenuController as xt, ɵGenerativeUIDebugSnapshot as xu, SubscribeToAgentOptions as y, ɵConnectionWaitResult as ya, ActionGroupResult as yc, ɵRUNTIME_PROBE_TIMEOUT_MS as yd, ɵSlashMenuState as yi, ɵProviderToolRenderer as yl, ɵMESSAGE_FEEDBACK_MAX_COMMENT_LENGTH as yn, ɵgetToolCallStatus as yo, ɵExitPresenceState as yr, ɵInspectorThreadOverrideSnapshot as ys, OpenGenerativeUIContent as yt, ɵGenerativeUIDebugPromptSection as yu, ɵselectThreadsIsLoading as z, ToolCallSegment as za, on as zc, WebMCPToolConfig as zd, ɵMessageViewModel as zi, ɵSuggestionsConfigInput as zl, ɵtoDrawerThread as zn, ɵformatCountLabel as zo, ɵisContentScrolledToBottom as zr, ɵmemoryRestEvents as zs, ɵflattenUserMessageContent as zt, ɵAgentResolver as zu };
10536
+ //# sourceMappingURL=learning-bridge-DbE4J5tK.d.mts.map