@runtypelabs/persona 4.21.0 → 4.22.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/dist/{approval-ui-RNNBR5R3.js → approval-ui-K7R5Q5OC.js} +1 -1
- package/dist/approval-ui.cjs +2 -2
- package/dist/approval-ui.d.cts +73 -2
- package/dist/approval-ui.d.ts +73 -2
- package/dist/approval-ui.js +2 -2
- package/dist/artifacts-ui-F4N6VMKF.js +7 -0
- package/dist/artifacts-ui.cjs +1 -1
- package/dist/artifacts-ui.d.cts +73 -2
- package/dist/artifacts-ui.d.ts +73 -2
- package/dist/artifacts-ui.js +1 -1
- package/dist/chunk-NQLDCJAP.js +4 -0
- package/dist/codegen.cjs +1 -1
- package/dist/codegen.js +1 -1
- package/dist/context-mentions.d.cts +73 -2
- package/dist/context-mentions.d.ts +73 -2
- package/dist/event-stream-view-FKWDY3UB.js +1 -0
- package/dist/event-stream-view.cjs +1 -1
- package/dist/event-stream-view.d.cts +73 -2
- package/dist/event-stream-view.d.ts +73 -2
- package/dist/event-stream-view.js +1 -1
- package/dist/forms-ui.d.cts +73 -2
- package/dist/forms-ui.d.ts +73 -2
- package/dist/index.cjs +66 -66
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +136 -5
- package/dist/index.d.ts +136 -5
- package/dist/index.global.js +50 -50
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +67 -67
- package/dist/index.js.map +1 -1
- package/dist/launcher.global.js +2 -2
- package/dist/launcher.global.js.map +1 -1
- package/dist/session-reconnect.d.cts +73 -2
- package/dist/session-reconnect.d.ts +73 -2
- package/dist/smart-dom-reader.d.cts +73 -2
- package/dist/smart-dom-reader.d.ts +73 -2
- package/dist/theme-editor-preview.cjs +65 -65
- package/dist/theme-editor-preview.d.cts +73 -2
- package/dist/theme-editor-preview.d.ts +73 -2
- package/dist/theme-editor-preview.js +49 -49
- package/dist/theme-editor.cjs +4 -4
- package/dist/theme-editor.d.cts +73 -2
- package/dist/theme-editor.d.ts +73 -2
- package/dist/theme-editor.js +2 -2
- package/dist/theme-reference.cjs +1 -1
- package/dist/theme-reference.d.cts +65 -1
- package/dist/theme-reference.d.ts +65 -1
- package/dist/theme-reference.js +1 -1
- package/dist/webmcp-polyfill.js +1 -4
- package/dist/webmcp-runtime-JI7T4QYF.js +6 -0
- package/dist/webmcp-runtime.cjs +2 -2
- package/dist/webmcp-runtime.d.cts +34 -2
- package/dist/webmcp-runtime.d.ts +34 -2
- package/dist/webmcp-runtime.js +2 -2
- package/package.json +2 -2
- package/src/client-visitor-history.test.ts +131 -0
- package/src/components/artifact-preview.ts +5 -0
- package/src/components/event-stream-badge-theming.test.ts +159 -0
- package/src/components/event-stream-view.ts +50 -20
- package/src/generated/runtype-openapi-contract.ts +8 -0
- package/src/index-core.ts +2 -0
- package/src/runtime/init.registry.test.ts +56 -0
- package/src/runtime/init.ts +17 -0
- package/src/types/theme.ts +41 -1
- package/src/types.ts +38 -1
- package/src/ui.reasoning-display.test.ts +136 -2
- package/src/ui.ts +69 -21
- package/src/utils/__snapshots__/tokens-parity.test.ts.snap +1740 -0
- package/src/utils/formatting.ts +22 -0
- package/src/utils/theme.ts +16 -0
- package/src/utils/tokens.ts +59 -0
- package/src/webmcp-bridge.test.ts +132 -23
- package/src/webmcp-bridge.ts +26 -2
- package/src/webmcp-runtime-entry.ts +71 -11
- package/dist/artifacts-ui-J6AKUGTS.js +0 -7
- package/dist/chunk-HBE7LFNT.js +0 -4
- package/dist/event-stream-view-73NWKWVQ.js +0 -1
- package/dist/webmcp-runtime-P3CHZRHF.js +0 -6
package/dist/index.d.cts
CHANGED
|
@@ -632,7 +632,11 @@ interface ColorPalette {
|
|
|
632
632
|
warning: ColorShade;
|
|
633
633
|
error: ColorShade;
|
|
634
634
|
info: ColorShade;
|
|
635
|
-
|
|
635
|
+
/** Event-stream tool badge family. */
|
|
636
|
+
purple?: ColorShade;
|
|
637
|
+
/** Event-stream agent badge family. */
|
|
638
|
+
teal?: ColorShade;
|
|
639
|
+
[key: string]: ColorShade | undefined;
|
|
636
640
|
}
|
|
637
641
|
interface SpacingScale {
|
|
638
642
|
0: string;
|
|
@@ -1204,6 +1208,38 @@ interface ToolBubbleTokens {
|
|
|
1204
1208
|
interface ReasoningBubbleTokens {
|
|
1205
1209
|
shadow: string;
|
|
1206
1210
|
}
|
|
1211
|
+
/** One event-stream badge chip: fill + text pair. The chip border derives
|
|
1212
|
+
* from `foreground` at ~31% alpha. */
|
|
1213
|
+
interface EventStreamBadgePairTokens {
|
|
1214
|
+
background: TokenReference<'color'>;
|
|
1215
|
+
foreground: TokenReference<'color'>;
|
|
1216
|
+
}
|
|
1217
|
+
/**
|
|
1218
|
+
* Event-stream inspector badge chips (`features.eventStream`), one pair per
|
|
1219
|
+
* unified event family. Materialized into every theme and emitted as
|
|
1220
|
+
* `--persona-event-badge-<family>-{bg,fg}`, with scheme-appropriate defaults:
|
|
1221
|
+
* light themes pair a 100-tone fill with a 700-tone text, the built-in dark
|
|
1222
|
+
* layer flips to a 900-tone fill with a 300-tone text. `badge.default` colors
|
|
1223
|
+
* event types no family matches.
|
|
1224
|
+
*/
|
|
1225
|
+
interface EventStreamTokens {
|
|
1226
|
+
badge: {
|
|
1227
|
+
/** `flow_*` events. */
|
|
1228
|
+
flow: EventStreamBadgePairTokens;
|
|
1229
|
+
/** `step_*` events. */
|
|
1230
|
+
step: EventStreamBadgePairTokens;
|
|
1231
|
+
/** `reasoning_*` events. */
|
|
1232
|
+
reasoning: EventStreamBadgePairTokens;
|
|
1233
|
+
/** `tool_*` events. */
|
|
1234
|
+
tool: EventStreamBadgePairTokens;
|
|
1235
|
+
/** `agent_*` events. */
|
|
1236
|
+
agent: EventStreamBadgePairTokens;
|
|
1237
|
+
/** `error` / `execution_error` events. */
|
|
1238
|
+
error: EventStreamBadgePairTokens;
|
|
1239
|
+
/** Any event type no other family matches. */
|
|
1240
|
+
default: EventStreamBadgePairTokens;
|
|
1241
|
+
};
|
|
1242
|
+
}
|
|
1207
1243
|
/** Scrollbar appearance shared by every scroller in the widget. */
|
|
1208
1244
|
interface ScrollbarTokens {
|
|
1209
1245
|
/** Thumb color. @default semantic.colors.border */
|
|
@@ -1552,6 +1588,8 @@ interface ComponentTokens {
|
|
|
1552
1588
|
attachment: AttachmentTokens;
|
|
1553
1589
|
toolBubble: ToolBubbleTokens;
|
|
1554
1590
|
reasoningBubble: ReasoningBubbleTokens;
|
|
1591
|
+
/** Event-stream inspector badge chips. */
|
|
1592
|
+
eventStream?: EventStreamTokens;
|
|
1555
1593
|
composer: ComposerChromeTokens;
|
|
1556
1594
|
/** Shared motion timing for composer chrome animation. */
|
|
1557
1595
|
motion?: MotionTokens;
|
|
@@ -2047,12 +2085,14 @@ type RuntypeTurnCompleteEvent = RuntypeStreamEventOf<RuntypeExecutionStreamEvent
|
|
|
2047
2085
|
type RuntypeStepCompleteEvent = RuntypeStreamEventOf<RuntypeExecutionStreamEvent, "step_complete">;
|
|
2048
2086
|
type RuntypeStopReasonKind = NonNullable<RuntypeTurnCompleteEvent["stopReason"] | RuntypeStepCompleteEvent["stopReason"]>;
|
|
2049
2087
|
type RuntypeClientInitRequest = {
|
|
2088
|
+
durableRecovery?: boolean;
|
|
2050
2089
|
flowId?: string;
|
|
2051
2090
|
identityProof?: string;
|
|
2052
2091
|
token: string;
|
|
2053
2092
|
visitorHistory?: boolean;
|
|
2054
2093
|
visitorToken?: string;
|
|
2055
2094
|
} | {
|
|
2095
|
+
durableRecovery?: boolean;
|
|
2056
2096
|
flowId?: string;
|
|
2057
2097
|
identityProof?: string;
|
|
2058
2098
|
sessionId: string;
|
|
@@ -2061,6 +2101,7 @@ type RuntypeClientInitRequest = {
|
|
|
2061
2101
|
visitorToken?: string;
|
|
2062
2102
|
} | {
|
|
2063
2103
|
conversationId: string;
|
|
2104
|
+
durableRecovery?: boolean;
|
|
2064
2105
|
flowId?: string;
|
|
2065
2106
|
identityProof?: string;
|
|
2066
2107
|
token: string;
|
|
@@ -2068,6 +2109,7 @@ type RuntypeClientInitRequest = {
|
|
|
2068
2109
|
visitorToken: string;
|
|
2069
2110
|
} | {
|
|
2070
2111
|
conversationId: string;
|
|
2112
|
+
durableRecovery?: boolean;
|
|
2071
2113
|
flowId?: string;
|
|
2072
2114
|
identityProof: string;
|
|
2073
2115
|
token: string;
|
|
@@ -2085,6 +2127,9 @@ type RuntypeClientInitResponse = {
|
|
|
2085
2127
|
};
|
|
2086
2128
|
conversationId: string;
|
|
2087
2129
|
conversationRevision: string;
|
|
2130
|
+
durableRecovery?: {
|
|
2131
|
+
enabled: boolean;
|
|
2132
|
+
};
|
|
2088
2133
|
expiresAt: string;
|
|
2089
2134
|
flow?: {
|
|
2090
2135
|
description?: string | null;
|
|
@@ -2149,6 +2194,7 @@ type RuntypeClientChatRequest = {
|
|
|
2149
2194
|
};
|
|
2150
2195
|
type RuntypeClientChatStreamEvent = RuntypeExecutionStreamEvent;
|
|
2151
2196
|
type RuntypeClientResumeRequest = {
|
|
2197
|
+
after?: string;
|
|
2152
2198
|
assistantMessageId?: string;
|
|
2153
2199
|
clientTools?: Array<{
|
|
2154
2200
|
description: string;
|
|
@@ -3135,6 +3181,14 @@ type ClientToolDefinition = {
|
|
|
3135
3181
|
readOnlyHint?: boolean;
|
|
3136
3182
|
untrustedContentHint?: boolean;
|
|
3137
3183
|
};
|
|
3184
|
+
/**
|
|
3185
|
+
* Hoisted copy of `annotations.untrustedContentHint`. This is the field the
|
|
3186
|
+
* server actually acts on (`InlineClientToolSchema`): it spotlights the
|
|
3187
|
+
* tool's output before the model reads it, so instructions embedded in
|
|
3188
|
+
* page-provided content (reviews, comments, emails) are not treated as
|
|
3189
|
+
* instructions. `annotations` itself is trace/dashboard metadata only.
|
|
3190
|
+
*/
|
|
3191
|
+
untrustedContentHint?: boolean;
|
|
3138
3192
|
};
|
|
3139
3193
|
/**
|
|
3140
3194
|
* Information passed to the confirm-bubble handler before a `webmcp:*` tool
|
|
@@ -4502,6 +4556,16 @@ type AgentWidgetToolCallDisplayFeature = {
|
|
|
4502
4556
|
* @default "stack"
|
|
4503
4557
|
*/
|
|
4504
4558
|
groupedMode?: "stack" | "summary";
|
|
4559
|
+
/**
|
|
4560
|
+
* What happens to a tool call row once it completes.
|
|
4561
|
+
*
|
|
4562
|
+
* - `"kept"` (default): the finished row stays in the transcript.
|
|
4563
|
+
* - `"removed"`: no row is rendered at all, so the transcript gap closes with
|
|
4564
|
+
* it. The tool call stays on the message and in `getMessages()`.
|
|
4565
|
+
*
|
|
4566
|
+
* @default "kept"
|
|
4567
|
+
*/
|
|
4568
|
+
completedVisibility?: AgentWidgetToolCallCompletedVisibility;
|
|
4505
4569
|
/**
|
|
4506
4570
|
* When false, tool call bubbles show only the collapsed summary with no
|
|
4507
4571
|
* expand/collapse toggle. Users see tool awareness without full details.
|
|
@@ -4519,6 +4583,8 @@ type AgentWidgetToolCallDisplayFeature = {
|
|
|
4519
4583
|
*/
|
|
4520
4584
|
loadingAnimation?: AgentWidgetToolCallLoadingAnimation;
|
|
4521
4585
|
};
|
|
4586
|
+
/** See `features.toolCallDisplay.completedVisibility`. */
|
|
4587
|
+
type AgentWidgetToolCallCompletedVisibility = "kept" | "removed";
|
|
4522
4588
|
type AgentWidgetReasoningDisplayFeature = {
|
|
4523
4589
|
/**
|
|
4524
4590
|
* When true, active collapsed reasoning rows can render a lightweight preview block.
|
|
@@ -4564,13 +4630,26 @@ type AgentWidgetReasoningDisplayFeature = {
|
|
|
4564
4630
|
* - `"kept"` (default): the finished row stays in the transcript.
|
|
4565
4631
|
* - `"removed"`: no row is rendered at all, so the transcript gap closes with
|
|
4566
4632
|
* it. The reasoning text stays on the message and in `getMessages()`.
|
|
4633
|
+
* - `"removed-when-short"`: behaves as `"removed"` when the completed trace
|
|
4634
|
+
* is short (see `shortThinkThreshold`), and as `"kept"` otherwise.
|
|
4567
4635
|
*
|
|
4568
4636
|
* @default "kept"
|
|
4569
4637
|
*/
|
|
4570
4638
|
completedVisibility?: AgentWidgetReasoningCompletedVisibility;
|
|
4639
|
+
/**
|
|
4640
|
+
* Thresholds used by `completedVisibility: "removed-when-short"` to decide
|
|
4641
|
+
* whether a completed trace counts as short. Duration is checked first when
|
|
4642
|
+
* the reasoning reports one; the character count is a fallback for traces
|
|
4643
|
+
* with no reported duration.
|
|
4644
|
+
* @default { durationMs: 15000, chars: 1200 }
|
|
4645
|
+
*/
|
|
4646
|
+
shortThinkThreshold?: {
|
|
4647
|
+
durationMs?: number;
|
|
4648
|
+
chars?: number;
|
|
4649
|
+
};
|
|
4571
4650
|
};
|
|
4572
4651
|
/** See `features.reasoningDisplay.completedVisibility`. */
|
|
4573
|
-
type AgentWidgetReasoningCompletedVisibility = "kept" | "removed";
|
|
4652
|
+
type AgentWidgetReasoningCompletedVisibility = "kept" | "removed" | "removed-when-short";
|
|
4574
4653
|
/**
|
|
4575
4654
|
* Reveal animation applied to assistant message text while it is streaming.
|
|
4576
4655
|
*
|
|
@@ -12181,6 +12260,8 @@ type AgentWidgetController = Controller;
|
|
|
12181
12260
|
type AgentWidgetInitHandle = AgentWidgetController & {
|
|
12182
12261
|
host: HTMLElement;
|
|
12183
12262
|
};
|
|
12263
|
+
/** Handles of all currently mounted widgets, oldest first. */
|
|
12264
|
+
declare const getAgentWidgetHandles: () => AgentWidgetInitHandle[];
|
|
12184
12265
|
declare const initAgentWidget: (options: AgentWidgetInitOptions) => AgentWidgetInitHandle;
|
|
12185
12266
|
|
|
12186
12267
|
/** Canonicalize the deprecated `"card"` alias to `"collapsed"`. */
|
|
@@ -12535,8 +12616,22 @@ declare const WEBMCP_TOOL_PREFIX = "webmcp:";
|
|
|
12535
12616
|
interface ModelContextToolInfo {
|
|
12536
12617
|
name: string;
|
|
12537
12618
|
description: string;
|
|
12538
|
-
/**
|
|
12539
|
-
|
|
12619
|
+
/**
|
|
12620
|
+
* JSON Schema for the tool's input, in EITHER generation of the WebMCP
|
|
12621
|
+
* contract. Never read it raw: `normalizeInputSchema` in
|
|
12622
|
+
* `webmcp-runtime-entry.ts` collapses both shapes to the object the wire
|
|
12623
|
+
* needs.
|
|
12624
|
+
*
|
|
12625
|
+
* `webmcp#241` changed this from a JSON-encoded string to a JSON Schema
|
|
12626
|
+
* object. `@mcp-b/webmcp-polyfill` made the switch in v5, and Chrome ships it
|
|
12627
|
+
* from 154.0.8013 (cross-document tools first) -- but Chrome 149-153, most of
|
|
12628
|
+
* the Origin Trial population, and 154's same-document tools still emit the
|
|
12629
|
+
* string. Both are live in the field, so we accept both.
|
|
12630
|
+
*
|
|
12631
|
+
* Absent when the tool registered no schema: v5 omits the member, where v4
|
|
12632
|
+
* always emitted a `{"type":"object"}` string.
|
|
12633
|
+
*/
|
|
12634
|
+
inputSchema?: object | string;
|
|
12540
12635
|
/**
|
|
12541
12636
|
* Display title declared on the tool (`ToolDescriptor.title` in the WebMCP
|
|
12542
12637
|
* spec). The polyfill returns `""` when the tool didn't declare one. Note:
|
|
@@ -12545,6 +12640,16 @@ interface ModelContextToolInfo {
|
|
|
12545
12640
|
* channel available to us.
|
|
12546
12641
|
*/
|
|
12547
12642
|
title?: string;
|
|
12643
|
+
/**
|
|
12644
|
+
* WebMCP `Tool.annotations`. Returned by `getTools()` since
|
|
12645
|
+
* `@mcp-b/webmcp-polyfill` v5 (and by Chrome's native implementation);
|
|
12646
|
+
* absent on v4 and whenever the tool declared none -- the spec omits the
|
|
12647
|
+
* member rather than emitting an empty object.
|
|
12648
|
+
*/
|
|
12649
|
+
annotations?: {
|
|
12650
|
+
readOnlyHint?: boolean;
|
|
12651
|
+
untrustedContentHint?: boolean;
|
|
12652
|
+
};
|
|
12548
12653
|
}
|
|
12549
12654
|
/** The slice of `@mcp-b/webmcp-polyfill` the bridge consumes on install. */
|
|
12550
12655
|
type WebMcpPolyfillModule = {
|
|
@@ -13613,6 +13718,32 @@ declare const DEFAULT_PALETTE: {
|
|
|
13613
13718
|
900: string;
|
|
13614
13719
|
950: string;
|
|
13615
13720
|
};
|
|
13721
|
+
purple: {
|
|
13722
|
+
50: string;
|
|
13723
|
+
100: string;
|
|
13724
|
+
200: string;
|
|
13725
|
+
300: string;
|
|
13726
|
+
400: string;
|
|
13727
|
+
500: string;
|
|
13728
|
+
600: string;
|
|
13729
|
+
700: string;
|
|
13730
|
+
800: string;
|
|
13731
|
+
900: string;
|
|
13732
|
+
950: string;
|
|
13733
|
+
};
|
|
13734
|
+
teal: {
|
|
13735
|
+
50: string;
|
|
13736
|
+
100: string;
|
|
13737
|
+
200: string;
|
|
13738
|
+
300: string;
|
|
13739
|
+
400: string;
|
|
13740
|
+
500: string;
|
|
13741
|
+
600: string;
|
|
13742
|
+
700: string;
|
|
13743
|
+
800: string;
|
|
13744
|
+
900: string;
|
|
13745
|
+
950: string;
|
|
13746
|
+
};
|
|
13616
13747
|
};
|
|
13617
13748
|
spacing: Record<0 | 24 | 2 | 1 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 16 | 20 | 32 | 40 | 48 | 56 | 64, string>;
|
|
13618
13749
|
typography: {
|
|
@@ -14430,4 +14561,4 @@ interface RovingTablistController {
|
|
|
14430
14561
|
}
|
|
14431
14562
|
declare function createRovingTablist(container: HTMLElement, options: RovingTablistOptions): RovingTablistController;
|
|
14432
14563
|
|
|
14433
|
-
export { ASK_USER_QUESTION_CLIENT_TOOL, ASK_USER_QUESTION_PARAMETERS_SCHEMA, ASK_USER_QUESTION_TOOL_NAME, type AgentConfig, type AgentExecutionState, type AgentLoopConfig, type AgentMessageMetadata, type AgentRequestOptions, type AgentToolsConfig, type AgentWidgetActionContext, type AgentWidgetActionEventPayload, type AgentWidgetActionHandler, type AgentWidgetActionHandlerResult, type AgentWidgetActionParser, type AgentWidgetAgentRequestPayload, type AgentWidgetApproval, type AgentWidgetApprovalConfig, type AgentWidgetApprovalDecisionOptions, type AgentWidgetArtifactsFeature, type AgentWidgetArtifactsLayoutConfig, type AgentWidgetAskUserQuestionFeature, type AgentWidgetAskUserQuestionStyles, type AgentWidgetAttachmentAdapter, type AgentWidgetAttachmentsConfig, type AgentWidgetAvatarConfig, AgentWidgetClient, type AgentWidgetComponentRenderer, type AgentWidgetComposerConfig, type AgentWidgetConfig, type AgentWidgetConfigPatch, type AgentWidgetContextMentionChipRenderContext, type AgentWidgetContextMentionCommandContext, type AgentWidgetContextMentionComposerCapability, type AgentWidgetContextMentionConfig, type AgentWidgetContextMentionItem, type AgentWidgetContextMentionItemRenderContext, type AgentWidgetContextMentionMenuRenderContext, type AgentWidgetContextMentionPayload, type AgentWidgetContextMentionRef, type AgentWidgetContextMentionResolveContext, type AgentWidgetContextMentionSearchContext, type AgentWidgetContextMentionSource, type AgentWidgetContextMentionTokenRenderContext, type AgentWidgetContextProvider, type AgentWidgetContextProviderContext, type AgentWidgetController, type AgentWidgetControllerEventMap, type AgentWidgetCustomFetch, type AgentWidgetCustomMessageAction, type AgentWidgetCustomMessageActionRole, type AgentWidgetDockConfig, type AgentWidgetEvent, type AgentWidgetFeatureFlags, type AgentWidgetFollowUpSuggestionsConfig, type AgentWidgetHeaderLayoutConfig, type AgentWidgetHeadersFunction, type AgentWidgetHistoryCopy, type AgentWidgetHistoryFeature, type AgentWidgetHistoryListAction, type AgentWidgetHistoryRenderActions, type AgentWidgetInitHandle, type AgentWidgetInitOptions, type AgentWidgetLauncherConfig, type AgentWidgetLauncherTeaserConfig, type AgentWidgetLayoutConfig, type AgentWidgetLoadingIndicatorConfig, type AgentWidgetMarkdownConfig, type AgentWidgetMarkdownOptions, type AgentWidgetMarkdownRendererOverrides, type AgentWidgetMentionLlmEntry, type AgentWidgetMentionTriggerChannel, type AgentWidgetMentionTriggerPosition, type AgentWidgetMessage, type AgentWidgetMessageActionsConfig, type AgentWidgetMessageFeedback, type AgentWidgetMessageLayoutConfig, type AgentWidgetMessageRoleLayout, type AgentWidgetParsedAction, type AgentWidgetPlugin, type AgentWidgetPluginStorage, type AgentWidgetRailSection, type AgentWidgetRailSectionContext, type AgentWidgetReadAloudEvent, type AgentWidgetRenderHistoryConversationContext, type AgentWidgetRenderHistoryHeaderContext, type AgentWidgetRenderHistoryOpenErrorContext, type AgentWidgetRenderHistoryStateContext, type AgentWidgetRenderHistoryViewContext, type AgentWidgetRenderSuggestionContext, type AgentWidgetRenderWelcomeContext, type AgentWidgetRequestPayload, type AgentWidgetResolvedSuggestion, type AgentWidgetSSEEventParser, type AgentWidgetSSEEventResult, type AgentWidgetScrollBehaviorFeature, type AgentWidgetScrollMode, type AgentWidgetScrollRestorePosition, type AgentWidgetScrollToBottomFeature, AgentWidgetSession, type AgentWidgetSessionStatus, type AgentWidgetStarterSuggestionsConfig, type AgentWidgetStorageAdapter, type AgentWidgetStoredDraft, type AgentWidgetStoredState, type AgentWidgetStreamAnimationBuffer, type AgentWidgetStreamAnimationBuiltinType, type AgentWidgetStreamAnimationFeature, type AgentWidgetStreamAnimationPlaceholder, type AgentWidgetStreamAnimationType, type AgentWidgetStreamParser, type AgentWidgetStreamParserResult, type AgentWidgetSuggestion, type AgentWidgetSuggestionBehavior, type AgentWidgetSuggestionChipsConfig, type AgentWidgetSuggestionSelectContext, type AgentWidgetSuggestionSource, type AgentWidgetSuggestionSurface, type AgentWidgetSuggestionSurfaceConfig, type AgentWidgetSuggestionVariant, type AgentWidgetSuggestionsConfig, type AgentWidgetTimestampConfig, type AgentWidgetTooltipConfig, type AgentWidgetTransformSuggestionsContext, type AgentWidgetVoiceStatusEvent, type AgentWidgetWebMcpConfig, type AgentWidgetWelcomeAlign, type AgentWidgetWelcomeConfig, type AgentWidgetWelcomeDismiss, type AgentWidgetWelcomeIcon, type AgentWidgetWelcomeIconBase, type AgentWidgetWelcomeIconPlacement, type AgentWidgetWelcomeVariant, type ArtifactConfigPayload, type ArtifactPaneTokens, type ArtifactTabTokens, type ArtifactToolbarTokens, type AskUserQuestionOption, type AskUserQuestionPayload, type AskUserQuestionPrompt, AttachmentManager, type AttachmentManagerConfig, type AttachmentUploadContext, type BorderScale, BrowserSpeechEngine, type BrowserSpeechEngineOptions, type CSATFeedbackOptions, type ClientChatRequest, type ClientFeedbackRequest, type ClientFeedbackType, type ClientInitResponse, type ClientSession, type ClientToolDefinition, type ClientVisitorGrant, type CodeFormat, type CodeGeneratorHooks, type CodeGeneratorOptions, type ColorPalette, type ColorShade, type ComboButtonHandle, type ComponentContext, type ComponentDirective, type ComponentRegistrationOptions, type ComponentRenderer, type ComponentTokens, type ComposerAction, type ComposerActionBase, type ComposerActionContext, type ComposerActionContributionContext, type ComposerActionOverflowConfig, type ComposerActionPlacement, type ComposerActionPresentation, type ComposerActionRenderContext, type ComposerActionVisibility, type ComposerAttachmentState, type ComposerBeforeSendResult, type ComposerBuildContext, type ComposerButtonAction, type ComposerCustomAction, type ComposerDisabledOption, type ComposerElements, type ComposerInputAttributes, type ComposerLayout, type ComposerMode, type ComposerModeChipVisibility, type ComposerModeGroup, type ComposerModeGroupPresentation, type ComposerModel, type ComposerModelPickerConfig, type ComposerModelPickerPresentation, type ComposerPhase, type ComposerQuote, type ComposerResubmitOptions, type ComposerState, type ComposerStreamingSubmitBehavior, type ComposerSubmissionOptions, type ComposerSubmissionSnapshot, type ComposerSubmitKey, type ContentPart, type CreateComboButtonOptions, type CreateDropdownOptions, type CreateIconButtonOptions, type CreateLabelButtonOptions, type CreateStandardBubbleOptions, type CreateThemeOptions, type CreateToggleGroupOptions, DEFAULT_COMPONENTS, DEFAULT_FLOATING_LAUNCHER_MAX_WIDTH, DEFAULT_FLOATING_LAUNCHER_WIDTH, DEFAULT_PALETTE, DEFAULT_SEMANTIC, DEFAULT_WIDGET_CONFIG, type DeepPartial, type DemoCarouselHandle, type DemoCarouselItem, type DemoCarouselOptions, type DomContextMode, type DomContextOptions, type DropdownMenuHandle, type DropdownMenuItem, type EnrichedPageElement, type EventStreamBadgeColor, type EventStreamConfig, type EventStreamPayloadRenderContext, type EventStreamRowRenderContext, type EventStreamToolbarRenderContext, type EventStreamViewRenderContext, type FallbackSpeechEngineOptions, type FormatEnrichedContextOptions, type HeaderBuildContext, type HeaderElements, type HeaderLayoutContext, type HeaderLayoutRenderer, type HeaderRenderContext, type HistoryConversationDetail, type HistoryConversationPage, type HistoryConversationPatch, type HistoryConversationSummary, type HistoryDeleteAllOptions, type HistoryDisplayProjection, type HistoryIdentityStatus, type HistoryListOptions, type HistoryListResult, type HistoryOperationContext, type HistoryPageOptions, type HistoryPageResult, type HistoryPendingAction, type HistoryProvider, HistoryProviderError, type HistoryProviderErrorCode, type HistoryReturnSurface, type HistoryScope, type HistoryViewState, type IconButtonTokens, type IconName, type IdleIndicatorRenderContext, type ImageContentPart, type InjectAssistantMessageOptions, type InjectComponentDirectiveOptions, type InjectMessageOptions, type InjectSystemMessageOptions, type InjectUserMessageOptions, type LabelButtonTokens, type LoadingIndicatorRenderContext, type LoadingIndicatorRenderer, type MarkdownParsersModule, type MarkdownProcessorOptions, type MessageActionCallbacks, type MessageContent, type MessageRenderContext, type MessageTransform, type NPSFeedbackOptions, PRESETS, PRESET_FULLSCREEN, PRESET_MINIMAL, PRESET_SHOP, type ParseOptionsConfig, type ParseRule, type PcmStreamPlayer, type PendingAttachment, type PersonaArtifactActionContext, type PersonaArtifactCustomAction, type PersonaArtifactDisplayDescriptor, type PersonaArtifactDisplayMatch, type PersonaArtifactDisplayMode, type PersonaArtifactDisplayModeInput, type PersonaArtifactDisplayResolution, type PersonaArtifactDisplayRules, type PersonaArtifactFilesDisplayRules, type PersonaArtifactKind, type PersonaArtifactManualUpsert, type PersonaArtifactPresentation, type PersonaArtifactRecord, type PersonaArtifactStatusLabelContext, type PersonaTheme, type PersonaThemePlugin, type PreparedClientSession, type PreparedHistoryActivation, type RadiusScale, ReadAloudController, type ReadAloudListener, type ReadAloudState, type ResolvedHistoryCopy, type ResolvedHistoryPresentation, type ResolvedTarget, type ResolvedWelcomeConfig, type RovingTablistController, type RovingTablistOptions, type RuleScoringContext, type RuntypeClientChatRequest, type RuntypeClientChatStreamEvent, type RuntypeClientFeedbackRequest, type RuntypeClientFeedbackResponse, type RuntypeClientFeedbackType, type RuntypeClientInitRequest, type RuntypeClientInitResponse, type RuntypeClientResumeRequest, type RuntypeClientResumeStreamEvent, type RuntypeExecutionStreamEvent, type RuntypeFlowSSEEvent, type RuntypeStepCompleteEvent, type RuntypeStopReasonKind, type RuntypeStreamEventOf, type RuntypeTurnCompleteEvent, type SSEEventCallback, type SSEEventRecord, SUGGEST_REPLIES_CLIENT_TOOL, SUGGEST_REPLIES_PARAMETERS_SCHEMA, SUGGEST_REPLIES_TOOL_NAME, type SanitizeFunction, type SemanticColors, type SemanticSpacing, type SemanticTypography, type ShadowScale, type SlashCommandDefinition, type SlotRenderContext, type SlotRenderer, type SpacingScale, type SpeechCallbacks, type SpeechEngine, type SpeechRequest, type StreamAnimationContext, type StreamAnimationPlugin, THEME_ZONES, type TargetResolver, type TextContentPart, type TextStyleTokens, type ThemeValidationError, type ThemeValidationResult, type ThemeZone, type ToggleGroupHandle, type ToggleGroupItem, type ToggleGroupTokens, type TokenReference, type TypographyScale, VERSION, type VoiceConfig, type VoiceMetrics, type VoicePlaybackEngine, type VoiceProvider, type VoiceResult, type VoiceStatus, WEBMCP_TOOL_PREFIX, WebMcpBridge, type WebMcpConfirmHandler, type WebMcpConfirmInfo, type WebMcpToolResult, type WidgetArtifactLayoutPreference, type WidgetHostLayout, type WidgetHostLayoutMode, type WidgetLayoutSlot, type WidgetPreferenceCapabilities, type WidgetPreferenceParseIssue, type WidgetPreferenceParseIssueCode, type WidgetPreferenceParseResult, type WidgetPreferenceSlice, type WidgetPreset, accessibilityPlugin, animationsPlugin, applyFeaturePreferences, applyThemeVariables, attachHeaderToContainer, brandPlugin, buildComposer, buildDefaultHeader, buildHeader, buildHeaderWithLayout, buildMinimalHeader, builtInClientToolsForDispatch, canonicalArtifactDisplayMode, collectEnrichedPageContext, componentRegistry, createActionManager, createAgentExperience, createAskUserQuestionBubble, createBestAvailableVoiceProvider, createBubbleWithLayout, createCSATFeedback, createComboButton, createComponentMiddleware, createComponentStreamParser, createDefaultSanitizer, createDemoCarousel, createDirectivePostprocessor, createDropdownMenu, createFlexibleJsonStreamParser, createIconButton, createImagePart, createJsonStreamParser, createLabelButton, createLocalStorageAdapter, createMarkdownProcessor, createMarkdownProcessorFromConfig, createMessageActions, createNPSFeedback, createPlainTextParser, createPlugin, createRegexJsonParser, createRovingTablist, createSlashCommandsSource, createSplitButton, createStandardBubble, createStaticMentionSource, createTextPart, createTheme, createThemeObserver, createToggleGroup, createTypingIndicator, createVoiceProvider, createWidgetHostLayout, createXmlParser, initAgentWidget as default, defaultActionHandlers, defaultJsonActionParser, defaultMentionFilter, defaultParseRules, detectColorScheme, directivePostprocessor, ensureAskUserQuestionSheet, escapeHtml, extractComponentDirectiveFromMessage, fileToImagePart, formatEnrichedContext, generateAssistantMessageId, generateCodeSnippet, generateMessageId, generateStableSelector, generateUserMessageId, getActiveTheme, getColorScheme, getDisplayText, getHeaderLayout, getImageParts, getPreset, hasComponentDirective, hasImages, headerLayouts, highContrastPlugin, initAgentWidget, isAskUserQuestionMessage, isComponentDirectiveType, isDockedMountMode, isHistoryProviderError, isSuggestRepliesMessage, isVoiceSupported, isWebMcpToolName, isWelcomeVisible, latestAgentSuggestions, listRegisteredStreamAnimations, loadMarkdownParsers, markdownPostprocessor, mergeWithDefaults, normalizeContent, normalizeMediaType, onMarkdownParsersReady, parseAskUserQuestionPayload, parseSuggestRepliesPayload, parseWidgetPreferenceSlice, pickBestVoice, pluginRegistry, reducedMotionPlugin, registerIcons, registerStreamAnimationPlugin, removeAskUserQuestionSheet, renderComponentDirective, renderLoadingIndicatorWithFallback, renderLucideIcon, resolveArtifactDisplay, resolveArtifactDisplayMode, resolveConfigPreferences, resolveDockConfig, resolveSanitizer, resolveTokens, resolveWelcomeConfig, stripWebMcpPrefix, themeToCssVariables, unregisterStreamAnimationPlugin, validateImageFile, validateTheme };
|
|
14564
|
+
export { ASK_USER_QUESTION_CLIENT_TOOL, ASK_USER_QUESTION_PARAMETERS_SCHEMA, ASK_USER_QUESTION_TOOL_NAME, type AgentConfig, type AgentExecutionState, type AgentLoopConfig, type AgentMessageMetadata, type AgentRequestOptions, type AgentToolsConfig, type AgentWidgetActionContext, type AgentWidgetActionEventPayload, type AgentWidgetActionHandler, type AgentWidgetActionHandlerResult, type AgentWidgetActionParser, type AgentWidgetAgentRequestPayload, type AgentWidgetApproval, type AgentWidgetApprovalConfig, type AgentWidgetApprovalDecisionOptions, type AgentWidgetArtifactsFeature, type AgentWidgetArtifactsLayoutConfig, type AgentWidgetAskUserQuestionFeature, type AgentWidgetAskUserQuestionStyles, type AgentWidgetAttachmentAdapter, type AgentWidgetAttachmentsConfig, type AgentWidgetAvatarConfig, AgentWidgetClient, type AgentWidgetComponentRenderer, type AgentWidgetComposerConfig, type AgentWidgetConfig, type AgentWidgetConfigPatch, type AgentWidgetContextMentionChipRenderContext, type AgentWidgetContextMentionCommandContext, type AgentWidgetContextMentionComposerCapability, type AgentWidgetContextMentionConfig, type AgentWidgetContextMentionItem, type AgentWidgetContextMentionItemRenderContext, type AgentWidgetContextMentionMenuRenderContext, type AgentWidgetContextMentionPayload, type AgentWidgetContextMentionRef, type AgentWidgetContextMentionResolveContext, type AgentWidgetContextMentionSearchContext, type AgentWidgetContextMentionSource, type AgentWidgetContextMentionTokenRenderContext, type AgentWidgetContextProvider, type AgentWidgetContextProviderContext, type AgentWidgetController, type AgentWidgetControllerEventMap, type AgentWidgetCustomFetch, type AgentWidgetCustomMessageAction, type AgentWidgetCustomMessageActionRole, type AgentWidgetDockConfig, type AgentWidgetEvent, type AgentWidgetFeatureFlags, type AgentWidgetFollowUpSuggestionsConfig, type AgentWidgetHeaderLayoutConfig, type AgentWidgetHeadersFunction, type AgentWidgetHistoryCopy, type AgentWidgetHistoryFeature, type AgentWidgetHistoryListAction, type AgentWidgetHistoryRenderActions, type AgentWidgetInitHandle, type AgentWidgetInitOptions, type AgentWidgetLauncherConfig, type AgentWidgetLauncherTeaserConfig, type AgentWidgetLayoutConfig, type AgentWidgetLoadingIndicatorConfig, type AgentWidgetMarkdownConfig, type AgentWidgetMarkdownOptions, type AgentWidgetMarkdownRendererOverrides, type AgentWidgetMentionLlmEntry, type AgentWidgetMentionTriggerChannel, type AgentWidgetMentionTriggerPosition, type AgentWidgetMessage, type AgentWidgetMessageActionsConfig, type AgentWidgetMessageFeedback, type AgentWidgetMessageLayoutConfig, type AgentWidgetMessageRoleLayout, type AgentWidgetParsedAction, type AgentWidgetPlugin, type AgentWidgetPluginStorage, type AgentWidgetRailSection, type AgentWidgetRailSectionContext, type AgentWidgetReadAloudEvent, type AgentWidgetRenderHistoryConversationContext, type AgentWidgetRenderHistoryHeaderContext, type AgentWidgetRenderHistoryOpenErrorContext, type AgentWidgetRenderHistoryStateContext, type AgentWidgetRenderHistoryViewContext, type AgentWidgetRenderSuggestionContext, type AgentWidgetRenderWelcomeContext, type AgentWidgetRequestPayload, type AgentWidgetResolvedSuggestion, type AgentWidgetSSEEventParser, type AgentWidgetSSEEventResult, type AgentWidgetScrollBehaviorFeature, type AgentWidgetScrollMode, type AgentWidgetScrollRestorePosition, type AgentWidgetScrollToBottomFeature, AgentWidgetSession, type AgentWidgetSessionStatus, type AgentWidgetStarterSuggestionsConfig, type AgentWidgetStorageAdapter, type AgentWidgetStoredDraft, type AgentWidgetStoredState, type AgentWidgetStreamAnimationBuffer, type AgentWidgetStreamAnimationBuiltinType, type AgentWidgetStreamAnimationFeature, type AgentWidgetStreamAnimationPlaceholder, type AgentWidgetStreamAnimationType, type AgentWidgetStreamParser, type AgentWidgetStreamParserResult, type AgentWidgetSuggestion, type AgentWidgetSuggestionBehavior, type AgentWidgetSuggestionChipsConfig, type AgentWidgetSuggestionSelectContext, type AgentWidgetSuggestionSource, type AgentWidgetSuggestionSurface, type AgentWidgetSuggestionSurfaceConfig, type AgentWidgetSuggestionVariant, type AgentWidgetSuggestionsConfig, type AgentWidgetTimestampConfig, type AgentWidgetTooltipConfig, type AgentWidgetTransformSuggestionsContext, type AgentWidgetVoiceStatusEvent, type AgentWidgetWebMcpConfig, type AgentWidgetWelcomeAlign, type AgentWidgetWelcomeConfig, type AgentWidgetWelcomeDismiss, type AgentWidgetWelcomeIcon, type AgentWidgetWelcomeIconBase, type AgentWidgetWelcomeIconPlacement, type AgentWidgetWelcomeVariant, type ArtifactConfigPayload, type ArtifactPaneTokens, type ArtifactTabTokens, type ArtifactToolbarTokens, type AskUserQuestionOption, type AskUserQuestionPayload, type AskUserQuestionPrompt, AttachmentManager, type AttachmentManagerConfig, type AttachmentUploadContext, type BorderScale, BrowserSpeechEngine, type BrowserSpeechEngineOptions, type CSATFeedbackOptions, type ClientChatRequest, type ClientFeedbackRequest, type ClientFeedbackType, type ClientInitResponse, type ClientSession, type ClientToolDefinition, type ClientVisitorGrant, type CodeFormat, type CodeGeneratorHooks, type CodeGeneratorOptions, type ColorPalette, type ColorShade, type ComboButtonHandle, type ComponentContext, type ComponentDirective, type ComponentRegistrationOptions, type ComponentRenderer, type ComponentTokens, type ComposerAction, type ComposerActionBase, type ComposerActionContext, type ComposerActionContributionContext, type ComposerActionOverflowConfig, type ComposerActionPlacement, type ComposerActionPresentation, type ComposerActionRenderContext, type ComposerActionVisibility, type ComposerAttachmentState, type ComposerBeforeSendResult, type ComposerBuildContext, type ComposerButtonAction, type ComposerCustomAction, type ComposerDisabledOption, type ComposerElements, type ComposerInputAttributes, type ComposerLayout, type ComposerMode, type ComposerModeChipVisibility, type ComposerModeGroup, type ComposerModeGroupPresentation, type ComposerModel, type ComposerModelPickerConfig, type ComposerModelPickerPresentation, type ComposerPhase, type ComposerQuote, type ComposerResubmitOptions, type ComposerState, type ComposerStreamingSubmitBehavior, type ComposerSubmissionOptions, type ComposerSubmissionSnapshot, type ComposerSubmitKey, type ContentPart, type CreateComboButtonOptions, type CreateDropdownOptions, type CreateIconButtonOptions, type CreateLabelButtonOptions, type CreateStandardBubbleOptions, type CreateThemeOptions, type CreateToggleGroupOptions, DEFAULT_COMPONENTS, DEFAULT_FLOATING_LAUNCHER_MAX_WIDTH, DEFAULT_FLOATING_LAUNCHER_WIDTH, DEFAULT_PALETTE, DEFAULT_SEMANTIC, DEFAULT_WIDGET_CONFIG, type DeepPartial, type DemoCarouselHandle, type DemoCarouselItem, type DemoCarouselOptions, type DomContextMode, type DomContextOptions, type DropdownMenuHandle, type DropdownMenuItem, type EnrichedPageElement, type EventStreamBadgeColor, type EventStreamConfig, type EventStreamPayloadRenderContext, type EventStreamRowRenderContext, type EventStreamToolbarRenderContext, type EventStreamViewRenderContext, type FallbackSpeechEngineOptions, type FormatEnrichedContextOptions, type HeaderBuildContext, type HeaderElements, type HeaderLayoutContext, type HeaderLayoutRenderer, type HeaderRenderContext, type HistoryConversationDetail, type HistoryConversationPage, type HistoryConversationPatch, type HistoryConversationSummary, type HistoryDeleteAllOptions, type HistoryDisplayProjection, type HistoryIdentityStatus, type HistoryListOptions, type HistoryListResult, type HistoryOperationContext, type HistoryPageOptions, type HistoryPageResult, type HistoryPendingAction, type HistoryProvider, HistoryProviderError, type HistoryProviderErrorCode, type HistoryReturnSurface, type HistoryScope, type HistoryViewState, type IconButtonTokens, type IconName, type IdleIndicatorRenderContext, type ImageContentPart, type InjectAssistantMessageOptions, type InjectComponentDirectiveOptions, type InjectMessageOptions, type InjectSystemMessageOptions, type InjectUserMessageOptions, type LabelButtonTokens, type LoadingIndicatorRenderContext, type LoadingIndicatorRenderer, type MarkdownParsersModule, type MarkdownProcessorOptions, type MessageActionCallbacks, type MessageContent, type MessageRenderContext, type MessageTransform, type NPSFeedbackOptions, PRESETS, PRESET_FULLSCREEN, PRESET_MINIMAL, PRESET_SHOP, type ParseOptionsConfig, type ParseRule, type PcmStreamPlayer, type PendingAttachment, type PersonaArtifactActionContext, type PersonaArtifactCustomAction, type PersonaArtifactDisplayDescriptor, type PersonaArtifactDisplayMatch, type PersonaArtifactDisplayMode, type PersonaArtifactDisplayModeInput, type PersonaArtifactDisplayResolution, type PersonaArtifactDisplayRules, type PersonaArtifactFilesDisplayRules, type PersonaArtifactKind, type PersonaArtifactManualUpsert, type PersonaArtifactPresentation, type PersonaArtifactRecord, type PersonaArtifactStatusLabelContext, type PersonaTheme, type PersonaThemePlugin, type PreparedClientSession, type PreparedHistoryActivation, type RadiusScale, ReadAloudController, type ReadAloudListener, type ReadAloudState, type ResolvedHistoryCopy, type ResolvedHistoryPresentation, type ResolvedTarget, type ResolvedWelcomeConfig, type RovingTablistController, type RovingTablistOptions, type RuleScoringContext, type RuntypeClientChatRequest, type RuntypeClientChatStreamEvent, type RuntypeClientFeedbackRequest, type RuntypeClientFeedbackResponse, type RuntypeClientFeedbackType, type RuntypeClientInitRequest, type RuntypeClientInitResponse, type RuntypeClientResumeRequest, type RuntypeClientResumeStreamEvent, type RuntypeExecutionStreamEvent, type RuntypeFlowSSEEvent, type RuntypeStepCompleteEvent, type RuntypeStopReasonKind, type RuntypeStreamEventOf, type RuntypeTurnCompleteEvent, type SSEEventCallback, type SSEEventRecord, SUGGEST_REPLIES_CLIENT_TOOL, SUGGEST_REPLIES_PARAMETERS_SCHEMA, SUGGEST_REPLIES_TOOL_NAME, type SanitizeFunction, type SemanticColors, type SemanticSpacing, type SemanticTypography, type ShadowScale, type SlashCommandDefinition, type SlotRenderContext, type SlotRenderer, type SpacingScale, type SpeechCallbacks, type SpeechEngine, type SpeechRequest, type StreamAnimationContext, type StreamAnimationPlugin, THEME_ZONES, type TargetResolver, type TextContentPart, type TextStyleTokens, type ThemeValidationError, type ThemeValidationResult, type ThemeZone, type ToggleGroupHandle, type ToggleGroupItem, type ToggleGroupTokens, type TokenReference, type TypographyScale, VERSION, type VoiceConfig, type VoiceMetrics, type VoicePlaybackEngine, type VoiceProvider, type VoiceResult, type VoiceStatus, WEBMCP_TOOL_PREFIX, WebMcpBridge, type WebMcpConfirmHandler, type WebMcpConfirmInfo, type WebMcpToolResult, type WidgetArtifactLayoutPreference, type WidgetHostLayout, type WidgetHostLayoutMode, type WidgetLayoutSlot, type WidgetPreferenceCapabilities, type WidgetPreferenceParseIssue, type WidgetPreferenceParseIssueCode, type WidgetPreferenceParseResult, type WidgetPreferenceSlice, type WidgetPreset, accessibilityPlugin, animationsPlugin, applyFeaturePreferences, applyThemeVariables, attachHeaderToContainer, brandPlugin, buildComposer, buildDefaultHeader, buildHeader, buildHeaderWithLayout, buildMinimalHeader, builtInClientToolsForDispatch, canonicalArtifactDisplayMode, collectEnrichedPageContext, componentRegistry, createActionManager, createAgentExperience, createAskUserQuestionBubble, createBestAvailableVoiceProvider, createBubbleWithLayout, createCSATFeedback, createComboButton, createComponentMiddleware, createComponentStreamParser, createDefaultSanitizer, createDemoCarousel, createDirectivePostprocessor, createDropdownMenu, createFlexibleJsonStreamParser, createIconButton, createImagePart, createJsonStreamParser, createLabelButton, createLocalStorageAdapter, createMarkdownProcessor, createMarkdownProcessorFromConfig, createMessageActions, createNPSFeedback, createPlainTextParser, createPlugin, createRegexJsonParser, createRovingTablist, createSlashCommandsSource, createSplitButton, createStandardBubble, createStaticMentionSource, createTextPart, createTheme, createThemeObserver, createToggleGroup, createTypingIndicator, createVoiceProvider, createWidgetHostLayout, createXmlParser, initAgentWidget as default, defaultActionHandlers, defaultJsonActionParser, defaultMentionFilter, defaultParseRules, detectColorScheme, directivePostprocessor, ensureAskUserQuestionSheet, escapeHtml, extractComponentDirectiveFromMessage, fileToImagePart, formatEnrichedContext, generateAssistantMessageId, generateCodeSnippet, generateMessageId, generateStableSelector, generateUserMessageId, getActiveTheme, getAgentWidgetHandles, getColorScheme, getDisplayText, getHeaderLayout, getImageParts, getPreset, hasComponentDirective, hasImages, headerLayouts, highContrastPlugin, initAgentWidget, isAskUserQuestionMessage, isComponentDirectiveType, isDockedMountMode, isHistoryProviderError, isSuggestRepliesMessage, isVoiceSupported, isWebMcpToolName, isWelcomeVisible, latestAgentSuggestions, listRegisteredStreamAnimations, loadMarkdownParsers, markdownPostprocessor, mergeWithDefaults, normalizeContent, normalizeMediaType, onMarkdownParsersReady, parseAskUserQuestionPayload, parseSuggestRepliesPayload, parseWidgetPreferenceSlice, pickBestVoice, pluginRegistry, reducedMotionPlugin, registerIcons, registerStreamAnimationPlugin, removeAskUserQuestionSheet, renderComponentDirective, renderLoadingIndicatorWithFallback, renderLucideIcon, resolveArtifactDisplay, resolveArtifactDisplayMode, resolveConfigPreferences, resolveDockConfig, resolveSanitizer, resolveTokens, resolveWelcomeConfig, stripWebMcpPrefix, themeToCssVariables, unregisterStreamAnimationPlugin, validateImageFile, validateTheme };
|
package/dist/index.d.ts
CHANGED
|
@@ -632,7 +632,11 @@ interface ColorPalette {
|
|
|
632
632
|
warning: ColorShade;
|
|
633
633
|
error: ColorShade;
|
|
634
634
|
info: ColorShade;
|
|
635
|
-
|
|
635
|
+
/** Event-stream tool badge family. */
|
|
636
|
+
purple?: ColorShade;
|
|
637
|
+
/** Event-stream agent badge family. */
|
|
638
|
+
teal?: ColorShade;
|
|
639
|
+
[key: string]: ColorShade | undefined;
|
|
636
640
|
}
|
|
637
641
|
interface SpacingScale {
|
|
638
642
|
0: string;
|
|
@@ -1204,6 +1208,38 @@ interface ToolBubbleTokens {
|
|
|
1204
1208
|
interface ReasoningBubbleTokens {
|
|
1205
1209
|
shadow: string;
|
|
1206
1210
|
}
|
|
1211
|
+
/** One event-stream badge chip: fill + text pair. The chip border derives
|
|
1212
|
+
* from `foreground` at ~31% alpha. */
|
|
1213
|
+
interface EventStreamBadgePairTokens {
|
|
1214
|
+
background: TokenReference<'color'>;
|
|
1215
|
+
foreground: TokenReference<'color'>;
|
|
1216
|
+
}
|
|
1217
|
+
/**
|
|
1218
|
+
* Event-stream inspector badge chips (`features.eventStream`), one pair per
|
|
1219
|
+
* unified event family. Materialized into every theme and emitted as
|
|
1220
|
+
* `--persona-event-badge-<family>-{bg,fg}`, with scheme-appropriate defaults:
|
|
1221
|
+
* light themes pair a 100-tone fill with a 700-tone text, the built-in dark
|
|
1222
|
+
* layer flips to a 900-tone fill with a 300-tone text. `badge.default` colors
|
|
1223
|
+
* event types no family matches.
|
|
1224
|
+
*/
|
|
1225
|
+
interface EventStreamTokens {
|
|
1226
|
+
badge: {
|
|
1227
|
+
/** `flow_*` events. */
|
|
1228
|
+
flow: EventStreamBadgePairTokens;
|
|
1229
|
+
/** `step_*` events. */
|
|
1230
|
+
step: EventStreamBadgePairTokens;
|
|
1231
|
+
/** `reasoning_*` events. */
|
|
1232
|
+
reasoning: EventStreamBadgePairTokens;
|
|
1233
|
+
/** `tool_*` events. */
|
|
1234
|
+
tool: EventStreamBadgePairTokens;
|
|
1235
|
+
/** `agent_*` events. */
|
|
1236
|
+
agent: EventStreamBadgePairTokens;
|
|
1237
|
+
/** `error` / `execution_error` events. */
|
|
1238
|
+
error: EventStreamBadgePairTokens;
|
|
1239
|
+
/** Any event type no other family matches. */
|
|
1240
|
+
default: EventStreamBadgePairTokens;
|
|
1241
|
+
};
|
|
1242
|
+
}
|
|
1207
1243
|
/** Scrollbar appearance shared by every scroller in the widget. */
|
|
1208
1244
|
interface ScrollbarTokens {
|
|
1209
1245
|
/** Thumb color. @default semantic.colors.border */
|
|
@@ -1552,6 +1588,8 @@ interface ComponentTokens {
|
|
|
1552
1588
|
attachment: AttachmentTokens;
|
|
1553
1589
|
toolBubble: ToolBubbleTokens;
|
|
1554
1590
|
reasoningBubble: ReasoningBubbleTokens;
|
|
1591
|
+
/** Event-stream inspector badge chips. */
|
|
1592
|
+
eventStream?: EventStreamTokens;
|
|
1555
1593
|
composer: ComposerChromeTokens;
|
|
1556
1594
|
/** Shared motion timing for composer chrome animation. */
|
|
1557
1595
|
motion?: MotionTokens;
|
|
@@ -2047,12 +2085,14 @@ type RuntypeTurnCompleteEvent = RuntypeStreamEventOf<RuntypeExecutionStreamEvent
|
|
|
2047
2085
|
type RuntypeStepCompleteEvent = RuntypeStreamEventOf<RuntypeExecutionStreamEvent, "step_complete">;
|
|
2048
2086
|
type RuntypeStopReasonKind = NonNullable<RuntypeTurnCompleteEvent["stopReason"] | RuntypeStepCompleteEvent["stopReason"]>;
|
|
2049
2087
|
type RuntypeClientInitRequest = {
|
|
2088
|
+
durableRecovery?: boolean;
|
|
2050
2089
|
flowId?: string;
|
|
2051
2090
|
identityProof?: string;
|
|
2052
2091
|
token: string;
|
|
2053
2092
|
visitorHistory?: boolean;
|
|
2054
2093
|
visitorToken?: string;
|
|
2055
2094
|
} | {
|
|
2095
|
+
durableRecovery?: boolean;
|
|
2056
2096
|
flowId?: string;
|
|
2057
2097
|
identityProof?: string;
|
|
2058
2098
|
sessionId: string;
|
|
@@ -2061,6 +2101,7 @@ type RuntypeClientInitRequest = {
|
|
|
2061
2101
|
visitorToken?: string;
|
|
2062
2102
|
} | {
|
|
2063
2103
|
conversationId: string;
|
|
2104
|
+
durableRecovery?: boolean;
|
|
2064
2105
|
flowId?: string;
|
|
2065
2106
|
identityProof?: string;
|
|
2066
2107
|
token: string;
|
|
@@ -2068,6 +2109,7 @@ type RuntypeClientInitRequest = {
|
|
|
2068
2109
|
visitorToken: string;
|
|
2069
2110
|
} | {
|
|
2070
2111
|
conversationId: string;
|
|
2112
|
+
durableRecovery?: boolean;
|
|
2071
2113
|
flowId?: string;
|
|
2072
2114
|
identityProof: string;
|
|
2073
2115
|
token: string;
|
|
@@ -2085,6 +2127,9 @@ type RuntypeClientInitResponse = {
|
|
|
2085
2127
|
};
|
|
2086
2128
|
conversationId: string;
|
|
2087
2129
|
conversationRevision: string;
|
|
2130
|
+
durableRecovery?: {
|
|
2131
|
+
enabled: boolean;
|
|
2132
|
+
};
|
|
2088
2133
|
expiresAt: string;
|
|
2089
2134
|
flow?: {
|
|
2090
2135
|
description?: string | null;
|
|
@@ -2149,6 +2194,7 @@ type RuntypeClientChatRequest = {
|
|
|
2149
2194
|
};
|
|
2150
2195
|
type RuntypeClientChatStreamEvent = RuntypeExecutionStreamEvent;
|
|
2151
2196
|
type RuntypeClientResumeRequest = {
|
|
2197
|
+
after?: string;
|
|
2152
2198
|
assistantMessageId?: string;
|
|
2153
2199
|
clientTools?: Array<{
|
|
2154
2200
|
description: string;
|
|
@@ -3135,6 +3181,14 @@ type ClientToolDefinition = {
|
|
|
3135
3181
|
readOnlyHint?: boolean;
|
|
3136
3182
|
untrustedContentHint?: boolean;
|
|
3137
3183
|
};
|
|
3184
|
+
/**
|
|
3185
|
+
* Hoisted copy of `annotations.untrustedContentHint`. This is the field the
|
|
3186
|
+
* server actually acts on (`InlineClientToolSchema`): it spotlights the
|
|
3187
|
+
* tool's output before the model reads it, so instructions embedded in
|
|
3188
|
+
* page-provided content (reviews, comments, emails) are not treated as
|
|
3189
|
+
* instructions. `annotations` itself is trace/dashboard metadata only.
|
|
3190
|
+
*/
|
|
3191
|
+
untrustedContentHint?: boolean;
|
|
3138
3192
|
};
|
|
3139
3193
|
/**
|
|
3140
3194
|
* Information passed to the confirm-bubble handler before a `webmcp:*` tool
|
|
@@ -4502,6 +4556,16 @@ type AgentWidgetToolCallDisplayFeature = {
|
|
|
4502
4556
|
* @default "stack"
|
|
4503
4557
|
*/
|
|
4504
4558
|
groupedMode?: "stack" | "summary";
|
|
4559
|
+
/**
|
|
4560
|
+
* What happens to a tool call row once it completes.
|
|
4561
|
+
*
|
|
4562
|
+
* - `"kept"` (default): the finished row stays in the transcript.
|
|
4563
|
+
* - `"removed"`: no row is rendered at all, so the transcript gap closes with
|
|
4564
|
+
* it. The tool call stays on the message and in `getMessages()`.
|
|
4565
|
+
*
|
|
4566
|
+
* @default "kept"
|
|
4567
|
+
*/
|
|
4568
|
+
completedVisibility?: AgentWidgetToolCallCompletedVisibility;
|
|
4505
4569
|
/**
|
|
4506
4570
|
* When false, tool call bubbles show only the collapsed summary with no
|
|
4507
4571
|
* expand/collapse toggle. Users see tool awareness without full details.
|
|
@@ -4519,6 +4583,8 @@ type AgentWidgetToolCallDisplayFeature = {
|
|
|
4519
4583
|
*/
|
|
4520
4584
|
loadingAnimation?: AgentWidgetToolCallLoadingAnimation;
|
|
4521
4585
|
};
|
|
4586
|
+
/** See `features.toolCallDisplay.completedVisibility`. */
|
|
4587
|
+
type AgentWidgetToolCallCompletedVisibility = "kept" | "removed";
|
|
4522
4588
|
type AgentWidgetReasoningDisplayFeature = {
|
|
4523
4589
|
/**
|
|
4524
4590
|
* When true, active collapsed reasoning rows can render a lightweight preview block.
|
|
@@ -4564,13 +4630,26 @@ type AgentWidgetReasoningDisplayFeature = {
|
|
|
4564
4630
|
* - `"kept"` (default): the finished row stays in the transcript.
|
|
4565
4631
|
* - `"removed"`: no row is rendered at all, so the transcript gap closes with
|
|
4566
4632
|
* it. The reasoning text stays on the message and in `getMessages()`.
|
|
4633
|
+
* - `"removed-when-short"`: behaves as `"removed"` when the completed trace
|
|
4634
|
+
* is short (see `shortThinkThreshold`), and as `"kept"` otherwise.
|
|
4567
4635
|
*
|
|
4568
4636
|
* @default "kept"
|
|
4569
4637
|
*/
|
|
4570
4638
|
completedVisibility?: AgentWidgetReasoningCompletedVisibility;
|
|
4639
|
+
/**
|
|
4640
|
+
* Thresholds used by `completedVisibility: "removed-when-short"` to decide
|
|
4641
|
+
* whether a completed trace counts as short. Duration is checked first when
|
|
4642
|
+
* the reasoning reports one; the character count is a fallback for traces
|
|
4643
|
+
* with no reported duration.
|
|
4644
|
+
* @default { durationMs: 15000, chars: 1200 }
|
|
4645
|
+
*/
|
|
4646
|
+
shortThinkThreshold?: {
|
|
4647
|
+
durationMs?: number;
|
|
4648
|
+
chars?: number;
|
|
4649
|
+
};
|
|
4571
4650
|
};
|
|
4572
4651
|
/** See `features.reasoningDisplay.completedVisibility`. */
|
|
4573
|
-
type AgentWidgetReasoningCompletedVisibility = "kept" | "removed";
|
|
4652
|
+
type AgentWidgetReasoningCompletedVisibility = "kept" | "removed" | "removed-when-short";
|
|
4574
4653
|
/**
|
|
4575
4654
|
* Reveal animation applied to assistant message text while it is streaming.
|
|
4576
4655
|
*
|
|
@@ -12181,6 +12260,8 @@ type AgentWidgetController = Controller;
|
|
|
12181
12260
|
type AgentWidgetInitHandle = AgentWidgetController & {
|
|
12182
12261
|
host: HTMLElement;
|
|
12183
12262
|
};
|
|
12263
|
+
/** Handles of all currently mounted widgets, oldest first. */
|
|
12264
|
+
declare const getAgentWidgetHandles: () => AgentWidgetInitHandle[];
|
|
12184
12265
|
declare const initAgentWidget: (options: AgentWidgetInitOptions) => AgentWidgetInitHandle;
|
|
12185
12266
|
|
|
12186
12267
|
/** Canonicalize the deprecated `"card"` alias to `"collapsed"`. */
|
|
@@ -12535,8 +12616,22 @@ declare const WEBMCP_TOOL_PREFIX = "webmcp:";
|
|
|
12535
12616
|
interface ModelContextToolInfo {
|
|
12536
12617
|
name: string;
|
|
12537
12618
|
description: string;
|
|
12538
|
-
/**
|
|
12539
|
-
|
|
12619
|
+
/**
|
|
12620
|
+
* JSON Schema for the tool's input, in EITHER generation of the WebMCP
|
|
12621
|
+
* contract. Never read it raw: `normalizeInputSchema` in
|
|
12622
|
+
* `webmcp-runtime-entry.ts` collapses both shapes to the object the wire
|
|
12623
|
+
* needs.
|
|
12624
|
+
*
|
|
12625
|
+
* `webmcp#241` changed this from a JSON-encoded string to a JSON Schema
|
|
12626
|
+
* object. `@mcp-b/webmcp-polyfill` made the switch in v5, and Chrome ships it
|
|
12627
|
+
* from 154.0.8013 (cross-document tools first) -- but Chrome 149-153, most of
|
|
12628
|
+
* the Origin Trial population, and 154's same-document tools still emit the
|
|
12629
|
+
* string. Both are live in the field, so we accept both.
|
|
12630
|
+
*
|
|
12631
|
+
* Absent when the tool registered no schema: v5 omits the member, where v4
|
|
12632
|
+
* always emitted a `{"type":"object"}` string.
|
|
12633
|
+
*/
|
|
12634
|
+
inputSchema?: object | string;
|
|
12540
12635
|
/**
|
|
12541
12636
|
* Display title declared on the tool (`ToolDescriptor.title` in the WebMCP
|
|
12542
12637
|
* spec). The polyfill returns `""` when the tool didn't declare one. Note:
|
|
@@ -12545,6 +12640,16 @@ interface ModelContextToolInfo {
|
|
|
12545
12640
|
* channel available to us.
|
|
12546
12641
|
*/
|
|
12547
12642
|
title?: string;
|
|
12643
|
+
/**
|
|
12644
|
+
* WebMCP `Tool.annotations`. Returned by `getTools()` since
|
|
12645
|
+
* `@mcp-b/webmcp-polyfill` v5 (and by Chrome's native implementation);
|
|
12646
|
+
* absent on v4 and whenever the tool declared none -- the spec omits the
|
|
12647
|
+
* member rather than emitting an empty object.
|
|
12648
|
+
*/
|
|
12649
|
+
annotations?: {
|
|
12650
|
+
readOnlyHint?: boolean;
|
|
12651
|
+
untrustedContentHint?: boolean;
|
|
12652
|
+
};
|
|
12548
12653
|
}
|
|
12549
12654
|
/** The slice of `@mcp-b/webmcp-polyfill` the bridge consumes on install. */
|
|
12550
12655
|
type WebMcpPolyfillModule = {
|
|
@@ -13613,6 +13718,32 @@ declare const DEFAULT_PALETTE: {
|
|
|
13613
13718
|
900: string;
|
|
13614
13719
|
950: string;
|
|
13615
13720
|
};
|
|
13721
|
+
purple: {
|
|
13722
|
+
50: string;
|
|
13723
|
+
100: string;
|
|
13724
|
+
200: string;
|
|
13725
|
+
300: string;
|
|
13726
|
+
400: string;
|
|
13727
|
+
500: string;
|
|
13728
|
+
600: string;
|
|
13729
|
+
700: string;
|
|
13730
|
+
800: string;
|
|
13731
|
+
900: string;
|
|
13732
|
+
950: string;
|
|
13733
|
+
};
|
|
13734
|
+
teal: {
|
|
13735
|
+
50: string;
|
|
13736
|
+
100: string;
|
|
13737
|
+
200: string;
|
|
13738
|
+
300: string;
|
|
13739
|
+
400: string;
|
|
13740
|
+
500: string;
|
|
13741
|
+
600: string;
|
|
13742
|
+
700: string;
|
|
13743
|
+
800: string;
|
|
13744
|
+
900: string;
|
|
13745
|
+
950: string;
|
|
13746
|
+
};
|
|
13616
13747
|
};
|
|
13617
13748
|
spacing: Record<0 | 24 | 2 | 1 | 3 | 4 | 5 | 6 | 8 | 10 | 12 | 16 | 20 | 32 | 40 | 48 | 56 | 64, string>;
|
|
13618
13749
|
typography: {
|
|
@@ -14430,4 +14561,4 @@ interface RovingTablistController {
|
|
|
14430
14561
|
}
|
|
14431
14562
|
declare function createRovingTablist(container: HTMLElement, options: RovingTablistOptions): RovingTablistController;
|
|
14432
14563
|
|
|
14433
|
-
export { ASK_USER_QUESTION_CLIENT_TOOL, ASK_USER_QUESTION_PARAMETERS_SCHEMA, ASK_USER_QUESTION_TOOL_NAME, type AgentConfig, type AgentExecutionState, type AgentLoopConfig, type AgentMessageMetadata, type AgentRequestOptions, type AgentToolsConfig, type AgentWidgetActionContext, type AgentWidgetActionEventPayload, type AgentWidgetActionHandler, type AgentWidgetActionHandlerResult, type AgentWidgetActionParser, type AgentWidgetAgentRequestPayload, type AgentWidgetApproval, type AgentWidgetApprovalConfig, type AgentWidgetApprovalDecisionOptions, type AgentWidgetArtifactsFeature, type AgentWidgetArtifactsLayoutConfig, type AgentWidgetAskUserQuestionFeature, type AgentWidgetAskUserQuestionStyles, type AgentWidgetAttachmentAdapter, type AgentWidgetAttachmentsConfig, type AgentWidgetAvatarConfig, AgentWidgetClient, type AgentWidgetComponentRenderer, type AgentWidgetComposerConfig, type AgentWidgetConfig, type AgentWidgetConfigPatch, type AgentWidgetContextMentionChipRenderContext, type AgentWidgetContextMentionCommandContext, type AgentWidgetContextMentionComposerCapability, type AgentWidgetContextMentionConfig, type AgentWidgetContextMentionItem, type AgentWidgetContextMentionItemRenderContext, type AgentWidgetContextMentionMenuRenderContext, type AgentWidgetContextMentionPayload, type AgentWidgetContextMentionRef, type AgentWidgetContextMentionResolveContext, type AgentWidgetContextMentionSearchContext, type AgentWidgetContextMentionSource, type AgentWidgetContextMentionTokenRenderContext, type AgentWidgetContextProvider, type AgentWidgetContextProviderContext, type AgentWidgetController, type AgentWidgetControllerEventMap, type AgentWidgetCustomFetch, type AgentWidgetCustomMessageAction, type AgentWidgetCustomMessageActionRole, type AgentWidgetDockConfig, type AgentWidgetEvent, type AgentWidgetFeatureFlags, type AgentWidgetFollowUpSuggestionsConfig, type AgentWidgetHeaderLayoutConfig, type AgentWidgetHeadersFunction, type AgentWidgetHistoryCopy, type AgentWidgetHistoryFeature, type AgentWidgetHistoryListAction, type AgentWidgetHistoryRenderActions, type AgentWidgetInitHandle, type AgentWidgetInitOptions, type AgentWidgetLauncherConfig, type AgentWidgetLauncherTeaserConfig, type AgentWidgetLayoutConfig, type AgentWidgetLoadingIndicatorConfig, type AgentWidgetMarkdownConfig, type AgentWidgetMarkdownOptions, type AgentWidgetMarkdownRendererOverrides, type AgentWidgetMentionLlmEntry, type AgentWidgetMentionTriggerChannel, type AgentWidgetMentionTriggerPosition, type AgentWidgetMessage, type AgentWidgetMessageActionsConfig, type AgentWidgetMessageFeedback, type AgentWidgetMessageLayoutConfig, type AgentWidgetMessageRoleLayout, type AgentWidgetParsedAction, type AgentWidgetPlugin, type AgentWidgetPluginStorage, type AgentWidgetRailSection, type AgentWidgetRailSectionContext, type AgentWidgetReadAloudEvent, type AgentWidgetRenderHistoryConversationContext, type AgentWidgetRenderHistoryHeaderContext, type AgentWidgetRenderHistoryOpenErrorContext, type AgentWidgetRenderHistoryStateContext, type AgentWidgetRenderHistoryViewContext, type AgentWidgetRenderSuggestionContext, type AgentWidgetRenderWelcomeContext, type AgentWidgetRequestPayload, type AgentWidgetResolvedSuggestion, type AgentWidgetSSEEventParser, type AgentWidgetSSEEventResult, type AgentWidgetScrollBehaviorFeature, type AgentWidgetScrollMode, type AgentWidgetScrollRestorePosition, type AgentWidgetScrollToBottomFeature, AgentWidgetSession, type AgentWidgetSessionStatus, type AgentWidgetStarterSuggestionsConfig, type AgentWidgetStorageAdapter, type AgentWidgetStoredDraft, type AgentWidgetStoredState, type AgentWidgetStreamAnimationBuffer, type AgentWidgetStreamAnimationBuiltinType, type AgentWidgetStreamAnimationFeature, type AgentWidgetStreamAnimationPlaceholder, type AgentWidgetStreamAnimationType, type AgentWidgetStreamParser, type AgentWidgetStreamParserResult, type AgentWidgetSuggestion, type AgentWidgetSuggestionBehavior, type AgentWidgetSuggestionChipsConfig, type AgentWidgetSuggestionSelectContext, type AgentWidgetSuggestionSource, type AgentWidgetSuggestionSurface, type AgentWidgetSuggestionSurfaceConfig, type AgentWidgetSuggestionVariant, type AgentWidgetSuggestionsConfig, type AgentWidgetTimestampConfig, type AgentWidgetTooltipConfig, type AgentWidgetTransformSuggestionsContext, type AgentWidgetVoiceStatusEvent, type AgentWidgetWebMcpConfig, type AgentWidgetWelcomeAlign, type AgentWidgetWelcomeConfig, type AgentWidgetWelcomeDismiss, type AgentWidgetWelcomeIcon, type AgentWidgetWelcomeIconBase, type AgentWidgetWelcomeIconPlacement, type AgentWidgetWelcomeVariant, type ArtifactConfigPayload, type ArtifactPaneTokens, type ArtifactTabTokens, type ArtifactToolbarTokens, type AskUserQuestionOption, type AskUserQuestionPayload, type AskUserQuestionPrompt, AttachmentManager, type AttachmentManagerConfig, type AttachmentUploadContext, type BorderScale, BrowserSpeechEngine, type BrowserSpeechEngineOptions, type CSATFeedbackOptions, type ClientChatRequest, type ClientFeedbackRequest, type ClientFeedbackType, type ClientInitResponse, type ClientSession, type ClientToolDefinition, type ClientVisitorGrant, type CodeFormat, type CodeGeneratorHooks, type CodeGeneratorOptions, type ColorPalette, type ColorShade, type ComboButtonHandle, type ComponentContext, type ComponentDirective, type ComponentRegistrationOptions, type ComponentRenderer, type ComponentTokens, type ComposerAction, type ComposerActionBase, type ComposerActionContext, type ComposerActionContributionContext, type ComposerActionOverflowConfig, type ComposerActionPlacement, type ComposerActionPresentation, type ComposerActionRenderContext, type ComposerActionVisibility, type ComposerAttachmentState, type ComposerBeforeSendResult, type ComposerBuildContext, type ComposerButtonAction, type ComposerCustomAction, type ComposerDisabledOption, type ComposerElements, type ComposerInputAttributes, type ComposerLayout, type ComposerMode, type ComposerModeChipVisibility, type ComposerModeGroup, type ComposerModeGroupPresentation, type ComposerModel, type ComposerModelPickerConfig, type ComposerModelPickerPresentation, type ComposerPhase, type ComposerQuote, type ComposerResubmitOptions, type ComposerState, type ComposerStreamingSubmitBehavior, type ComposerSubmissionOptions, type ComposerSubmissionSnapshot, type ComposerSubmitKey, type ContentPart, type CreateComboButtonOptions, type CreateDropdownOptions, type CreateIconButtonOptions, type CreateLabelButtonOptions, type CreateStandardBubbleOptions, type CreateThemeOptions, type CreateToggleGroupOptions, DEFAULT_COMPONENTS, DEFAULT_FLOATING_LAUNCHER_MAX_WIDTH, DEFAULT_FLOATING_LAUNCHER_WIDTH, DEFAULT_PALETTE, DEFAULT_SEMANTIC, DEFAULT_WIDGET_CONFIG, type DeepPartial, type DemoCarouselHandle, type DemoCarouselItem, type DemoCarouselOptions, type DomContextMode, type DomContextOptions, type DropdownMenuHandle, type DropdownMenuItem, type EnrichedPageElement, type EventStreamBadgeColor, type EventStreamConfig, type EventStreamPayloadRenderContext, type EventStreamRowRenderContext, type EventStreamToolbarRenderContext, type EventStreamViewRenderContext, type FallbackSpeechEngineOptions, type FormatEnrichedContextOptions, type HeaderBuildContext, type HeaderElements, type HeaderLayoutContext, type HeaderLayoutRenderer, type HeaderRenderContext, type HistoryConversationDetail, type HistoryConversationPage, type HistoryConversationPatch, type HistoryConversationSummary, type HistoryDeleteAllOptions, type HistoryDisplayProjection, type HistoryIdentityStatus, type HistoryListOptions, type HistoryListResult, type HistoryOperationContext, type HistoryPageOptions, type HistoryPageResult, type HistoryPendingAction, type HistoryProvider, HistoryProviderError, type HistoryProviderErrorCode, type HistoryReturnSurface, type HistoryScope, type HistoryViewState, type IconButtonTokens, type IconName, type IdleIndicatorRenderContext, type ImageContentPart, type InjectAssistantMessageOptions, type InjectComponentDirectiveOptions, type InjectMessageOptions, type InjectSystemMessageOptions, type InjectUserMessageOptions, type LabelButtonTokens, type LoadingIndicatorRenderContext, type LoadingIndicatorRenderer, type MarkdownParsersModule, type MarkdownProcessorOptions, type MessageActionCallbacks, type MessageContent, type MessageRenderContext, type MessageTransform, type NPSFeedbackOptions, PRESETS, PRESET_FULLSCREEN, PRESET_MINIMAL, PRESET_SHOP, type ParseOptionsConfig, type ParseRule, type PcmStreamPlayer, type PendingAttachment, type PersonaArtifactActionContext, type PersonaArtifactCustomAction, type PersonaArtifactDisplayDescriptor, type PersonaArtifactDisplayMatch, type PersonaArtifactDisplayMode, type PersonaArtifactDisplayModeInput, type PersonaArtifactDisplayResolution, type PersonaArtifactDisplayRules, type PersonaArtifactFilesDisplayRules, type PersonaArtifactKind, type PersonaArtifactManualUpsert, type PersonaArtifactPresentation, type PersonaArtifactRecord, type PersonaArtifactStatusLabelContext, type PersonaTheme, type PersonaThemePlugin, type PreparedClientSession, type PreparedHistoryActivation, type RadiusScale, ReadAloudController, type ReadAloudListener, type ReadAloudState, type ResolvedHistoryCopy, type ResolvedHistoryPresentation, type ResolvedTarget, type ResolvedWelcomeConfig, type RovingTablistController, type RovingTablistOptions, type RuleScoringContext, type RuntypeClientChatRequest, type RuntypeClientChatStreamEvent, type RuntypeClientFeedbackRequest, type RuntypeClientFeedbackResponse, type RuntypeClientFeedbackType, type RuntypeClientInitRequest, type RuntypeClientInitResponse, type RuntypeClientResumeRequest, type RuntypeClientResumeStreamEvent, type RuntypeExecutionStreamEvent, type RuntypeFlowSSEEvent, type RuntypeStepCompleteEvent, type RuntypeStopReasonKind, type RuntypeStreamEventOf, type RuntypeTurnCompleteEvent, type SSEEventCallback, type SSEEventRecord, SUGGEST_REPLIES_CLIENT_TOOL, SUGGEST_REPLIES_PARAMETERS_SCHEMA, SUGGEST_REPLIES_TOOL_NAME, type SanitizeFunction, type SemanticColors, type SemanticSpacing, type SemanticTypography, type ShadowScale, type SlashCommandDefinition, type SlotRenderContext, type SlotRenderer, type SpacingScale, type SpeechCallbacks, type SpeechEngine, type SpeechRequest, type StreamAnimationContext, type StreamAnimationPlugin, THEME_ZONES, type TargetResolver, type TextContentPart, type TextStyleTokens, type ThemeValidationError, type ThemeValidationResult, type ThemeZone, type ToggleGroupHandle, type ToggleGroupItem, type ToggleGroupTokens, type TokenReference, type TypographyScale, VERSION, type VoiceConfig, type VoiceMetrics, type VoicePlaybackEngine, type VoiceProvider, type VoiceResult, type VoiceStatus, WEBMCP_TOOL_PREFIX, WebMcpBridge, type WebMcpConfirmHandler, type WebMcpConfirmInfo, type WebMcpToolResult, type WidgetArtifactLayoutPreference, type WidgetHostLayout, type WidgetHostLayoutMode, type WidgetLayoutSlot, type WidgetPreferenceCapabilities, type WidgetPreferenceParseIssue, type WidgetPreferenceParseIssueCode, type WidgetPreferenceParseResult, type WidgetPreferenceSlice, type WidgetPreset, accessibilityPlugin, animationsPlugin, applyFeaturePreferences, applyThemeVariables, attachHeaderToContainer, brandPlugin, buildComposer, buildDefaultHeader, buildHeader, buildHeaderWithLayout, buildMinimalHeader, builtInClientToolsForDispatch, canonicalArtifactDisplayMode, collectEnrichedPageContext, componentRegistry, createActionManager, createAgentExperience, createAskUserQuestionBubble, createBestAvailableVoiceProvider, createBubbleWithLayout, createCSATFeedback, createComboButton, createComponentMiddleware, createComponentStreamParser, createDefaultSanitizer, createDemoCarousel, createDirectivePostprocessor, createDropdownMenu, createFlexibleJsonStreamParser, createIconButton, createImagePart, createJsonStreamParser, createLabelButton, createLocalStorageAdapter, createMarkdownProcessor, createMarkdownProcessorFromConfig, createMessageActions, createNPSFeedback, createPlainTextParser, createPlugin, createRegexJsonParser, createRovingTablist, createSlashCommandsSource, createSplitButton, createStandardBubble, createStaticMentionSource, createTextPart, createTheme, createThemeObserver, createToggleGroup, createTypingIndicator, createVoiceProvider, createWidgetHostLayout, createXmlParser, initAgentWidget as default, defaultActionHandlers, defaultJsonActionParser, defaultMentionFilter, defaultParseRules, detectColorScheme, directivePostprocessor, ensureAskUserQuestionSheet, escapeHtml, extractComponentDirectiveFromMessage, fileToImagePart, formatEnrichedContext, generateAssistantMessageId, generateCodeSnippet, generateMessageId, generateStableSelector, generateUserMessageId, getActiveTheme, getColorScheme, getDisplayText, getHeaderLayout, getImageParts, getPreset, hasComponentDirective, hasImages, headerLayouts, highContrastPlugin, initAgentWidget, isAskUserQuestionMessage, isComponentDirectiveType, isDockedMountMode, isHistoryProviderError, isSuggestRepliesMessage, isVoiceSupported, isWebMcpToolName, isWelcomeVisible, latestAgentSuggestions, listRegisteredStreamAnimations, loadMarkdownParsers, markdownPostprocessor, mergeWithDefaults, normalizeContent, normalizeMediaType, onMarkdownParsersReady, parseAskUserQuestionPayload, parseSuggestRepliesPayload, parseWidgetPreferenceSlice, pickBestVoice, pluginRegistry, reducedMotionPlugin, registerIcons, registerStreamAnimationPlugin, removeAskUserQuestionSheet, renderComponentDirective, renderLoadingIndicatorWithFallback, renderLucideIcon, resolveArtifactDisplay, resolveArtifactDisplayMode, resolveConfigPreferences, resolveDockConfig, resolveSanitizer, resolveTokens, resolveWelcomeConfig, stripWebMcpPrefix, themeToCssVariables, unregisterStreamAnimationPlugin, validateImageFile, validateTheme };
|
|
14564
|
+
export { ASK_USER_QUESTION_CLIENT_TOOL, ASK_USER_QUESTION_PARAMETERS_SCHEMA, ASK_USER_QUESTION_TOOL_NAME, type AgentConfig, type AgentExecutionState, type AgentLoopConfig, type AgentMessageMetadata, type AgentRequestOptions, type AgentToolsConfig, type AgentWidgetActionContext, type AgentWidgetActionEventPayload, type AgentWidgetActionHandler, type AgentWidgetActionHandlerResult, type AgentWidgetActionParser, type AgentWidgetAgentRequestPayload, type AgentWidgetApproval, type AgentWidgetApprovalConfig, type AgentWidgetApprovalDecisionOptions, type AgentWidgetArtifactsFeature, type AgentWidgetArtifactsLayoutConfig, type AgentWidgetAskUserQuestionFeature, type AgentWidgetAskUserQuestionStyles, type AgentWidgetAttachmentAdapter, type AgentWidgetAttachmentsConfig, type AgentWidgetAvatarConfig, AgentWidgetClient, type AgentWidgetComponentRenderer, type AgentWidgetComposerConfig, type AgentWidgetConfig, type AgentWidgetConfigPatch, type AgentWidgetContextMentionChipRenderContext, type AgentWidgetContextMentionCommandContext, type AgentWidgetContextMentionComposerCapability, type AgentWidgetContextMentionConfig, type AgentWidgetContextMentionItem, type AgentWidgetContextMentionItemRenderContext, type AgentWidgetContextMentionMenuRenderContext, type AgentWidgetContextMentionPayload, type AgentWidgetContextMentionRef, type AgentWidgetContextMentionResolveContext, type AgentWidgetContextMentionSearchContext, type AgentWidgetContextMentionSource, type AgentWidgetContextMentionTokenRenderContext, type AgentWidgetContextProvider, type AgentWidgetContextProviderContext, type AgentWidgetController, type AgentWidgetControllerEventMap, type AgentWidgetCustomFetch, type AgentWidgetCustomMessageAction, type AgentWidgetCustomMessageActionRole, type AgentWidgetDockConfig, type AgentWidgetEvent, type AgentWidgetFeatureFlags, type AgentWidgetFollowUpSuggestionsConfig, type AgentWidgetHeaderLayoutConfig, type AgentWidgetHeadersFunction, type AgentWidgetHistoryCopy, type AgentWidgetHistoryFeature, type AgentWidgetHistoryListAction, type AgentWidgetHistoryRenderActions, type AgentWidgetInitHandle, type AgentWidgetInitOptions, type AgentWidgetLauncherConfig, type AgentWidgetLauncherTeaserConfig, type AgentWidgetLayoutConfig, type AgentWidgetLoadingIndicatorConfig, type AgentWidgetMarkdownConfig, type AgentWidgetMarkdownOptions, type AgentWidgetMarkdownRendererOverrides, type AgentWidgetMentionLlmEntry, type AgentWidgetMentionTriggerChannel, type AgentWidgetMentionTriggerPosition, type AgentWidgetMessage, type AgentWidgetMessageActionsConfig, type AgentWidgetMessageFeedback, type AgentWidgetMessageLayoutConfig, type AgentWidgetMessageRoleLayout, type AgentWidgetParsedAction, type AgentWidgetPlugin, type AgentWidgetPluginStorage, type AgentWidgetRailSection, type AgentWidgetRailSectionContext, type AgentWidgetReadAloudEvent, type AgentWidgetRenderHistoryConversationContext, type AgentWidgetRenderHistoryHeaderContext, type AgentWidgetRenderHistoryOpenErrorContext, type AgentWidgetRenderHistoryStateContext, type AgentWidgetRenderHistoryViewContext, type AgentWidgetRenderSuggestionContext, type AgentWidgetRenderWelcomeContext, type AgentWidgetRequestPayload, type AgentWidgetResolvedSuggestion, type AgentWidgetSSEEventParser, type AgentWidgetSSEEventResult, type AgentWidgetScrollBehaviorFeature, type AgentWidgetScrollMode, type AgentWidgetScrollRestorePosition, type AgentWidgetScrollToBottomFeature, AgentWidgetSession, type AgentWidgetSessionStatus, type AgentWidgetStarterSuggestionsConfig, type AgentWidgetStorageAdapter, type AgentWidgetStoredDraft, type AgentWidgetStoredState, type AgentWidgetStreamAnimationBuffer, type AgentWidgetStreamAnimationBuiltinType, type AgentWidgetStreamAnimationFeature, type AgentWidgetStreamAnimationPlaceholder, type AgentWidgetStreamAnimationType, type AgentWidgetStreamParser, type AgentWidgetStreamParserResult, type AgentWidgetSuggestion, type AgentWidgetSuggestionBehavior, type AgentWidgetSuggestionChipsConfig, type AgentWidgetSuggestionSelectContext, type AgentWidgetSuggestionSource, type AgentWidgetSuggestionSurface, type AgentWidgetSuggestionSurfaceConfig, type AgentWidgetSuggestionVariant, type AgentWidgetSuggestionsConfig, type AgentWidgetTimestampConfig, type AgentWidgetTooltipConfig, type AgentWidgetTransformSuggestionsContext, type AgentWidgetVoiceStatusEvent, type AgentWidgetWebMcpConfig, type AgentWidgetWelcomeAlign, type AgentWidgetWelcomeConfig, type AgentWidgetWelcomeDismiss, type AgentWidgetWelcomeIcon, type AgentWidgetWelcomeIconBase, type AgentWidgetWelcomeIconPlacement, type AgentWidgetWelcomeVariant, type ArtifactConfigPayload, type ArtifactPaneTokens, type ArtifactTabTokens, type ArtifactToolbarTokens, type AskUserQuestionOption, type AskUserQuestionPayload, type AskUserQuestionPrompt, AttachmentManager, type AttachmentManagerConfig, type AttachmentUploadContext, type BorderScale, BrowserSpeechEngine, type BrowserSpeechEngineOptions, type CSATFeedbackOptions, type ClientChatRequest, type ClientFeedbackRequest, type ClientFeedbackType, type ClientInitResponse, type ClientSession, type ClientToolDefinition, type ClientVisitorGrant, type CodeFormat, type CodeGeneratorHooks, type CodeGeneratorOptions, type ColorPalette, type ColorShade, type ComboButtonHandle, type ComponentContext, type ComponentDirective, type ComponentRegistrationOptions, type ComponentRenderer, type ComponentTokens, type ComposerAction, type ComposerActionBase, type ComposerActionContext, type ComposerActionContributionContext, type ComposerActionOverflowConfig, type ComposerActionPlacement, type ComposerActionPresentation, type ComposerActionRenderContext, type ComposerActionVisibility, type ComposerAttachmentState, type ComposerBeforeSendResult, type ComposerBuildContext, type ComposerButtonAction, type ComposerCustomAction, type ComposerDisabledOption, type ComposerElements, type ComposerInputAttributes, type ComposerLayout, type ComposerMode, type ComposerModeChipVisibility, type ComposerModeGroup, type ComposerModeGroupPresentation, type ComposerModel, type ComposerModelPickerConfig, type ComposerModelPickerPresentation, type ComposerPhase, type ComposerQuote, type ComposerResubmitOptions, type ComposerState, type ComposerStreamingSubmitBehavior, type ComposerSubmissionOptions, type ComposerSubmissionSnapshot, type ComposerSubmitKey, type ContentPart, type CreateComboButtonOptions, type CreateDropdownOptions, type CreateIconButtonOptions, type CreateLabelButtonOptions, type CreateStandardBubbleOptions, type CreateThemeOptions, type CreateToggleGroupOptions, DEFAULT_COMPONENTS, DEFAULT_FLOATING_LAUNCHER_MAX_WIDTH, DEFAULT_FLOATING_LAUNCHER_WIDTH, DEFAULT_PALETTE, DEFAULT_SEMANTIC, DEFAULT_WIDGET_CONFIG, type DeepPartial, type DemoCarouselHandle, type DemoCarouselItem, type DemoCarouselOptions, type DomContextMode, type DomContextOptions, type DropdownMenuHandle, type DropdownMenuItem, type EnrichedPageElement, type EventStreamBadgeColor, type EventStreamConfig, type EventStreamPayloadRenderContext, type EventStreamRowRenderContext, type EventStreamToolbarRenderContext, type EventStreamViewRenderContext, type FallbackSpeechEngineOptions, type FormatEnrichedContextOptions, type HeaderBuildContext, type HeaderElements, type HeaderLayoutContext, type HeaderLayoutRenderer, type HeaderRenderContext, type HistoryConversationDetail, type HistoryConversationPage, type HistoryConversationPatch, type HistoryConversationSummary, type HistoryDeleteAllOptions, type HistoryDisplayProjection, type HistoryIdentityStatus, type HistoryListOptions, type HistoryListResult, type HistoryOperationContext, type HistoryPageOptions, type HistoryPageResult, type HistoryPendingAction, type HistoryProvider, HistoryProviderError, type HistoryProviderErrorCode, type HistoryReturnSurface, type HistoryScope, type HistoryViewState, type IconButtonTokens, type IconName, type IdleIndicatorRenderContext, type ImageContentPart, type InjectAssistantMessageOptions, type InjectComponentDirectiveOptions, type InjectMessageOptions, type InjectSystemMessageOptions, type InjectUserMessageOptions, type LabelButtonTokens, type LoadingIndicatorRenderContext, type LoadingIndicatorRenderer, type MarkdownParsersModule, type MarkdownProcessorOptions, type MessageActionCallbacks, type MessageContent, type MessageRenderContext, type MessageTransform, type NPSFeedbackOptions, PRESETS, PRESET_FULLSCREEN, PRESET_MINIMAL, PRESET_SHOP, type ParseOptionsConfig, type ParseRule, type PcmStreamPlayer, type PendingAttachment, type PersonaArtifactActionContext, type PersonaArtifactCustomAction, type PersonaArtifactDisplayDescriptor, type PersonaArtifactDisplayMatch, type PersonaArtifactDisplayMode, type PersonaArtifactDisplayModeInput, type PersonaArtifactDisplayResolution, type PersonaArtifactDisplayRules, type PersonaArtifactFilesDisplayRules, type PersonaArtifactKind, type PersonaArtifactManualUpsert, type PersonaArtifactPresentation, type PersonaArtifactRecord, type PersonaArtifactStatusLabelContext, type PersonaTheme, type PersonaThemePlugin, type PreparedClientSession, type PreparedHistoryActivation, type RadiusScale, ReadAloudController, type ReadAloudListener, type ReadAloudState, type ResolvedHistoryCopy, type ResolvedHistoryPresentation, type ResolvedTarget, type ResolvedWelcomeConfig, type RovingTablistController, type RovingTablistOptions, type RuleScoringContext, type RuntypeClientChatRequest, type RuntypeClientChatStreamEvent, type RuntypeClientFeedbackRequest, type RuntypeClientFeedbackResponse, type RuntypeClientFeedbackType, type RuntypeClientInitRequest, type RuntypeClientInitResponse, type RuntypeClientResumeRequest, type RuntypeClientResumeStreamEvent, type RuntypeExecutionStreamEvent, type RuntypeFlowSSEEvent, type RuntypeStepCompleteEvent, type RuntypeStopReasonKind, type RuntypeStreamEventOf, type RuntypeTurnCompleteEvent, type SSEEventCallback, type SSEEventRecord, SUGGEST_REPLIES_CLIENT_TOOL, SUGGEST_REPLIES_PARAMETERS_SCHEMA, SUGGEST_REPLIES_TOOL_NAME, type SanitizeFunction, type SemanticColors, type SemanticSpacing, type SemanticTypography, type ShadowScale, type SlashCommandDefinition, type SlotRenderContext, type SlotRenderer, type SpacingScale, type SpeechCallbacks, type SpeechEngine, type SpeechRequest, type StreamAnimationContext, type StreamAnimationPlugin, THEME_ZONES, type TargetResolver, type TextContentPart, type TextStyleTokens, type ThemeValidationError, type ThemeValidationResult, type ThemeZone, type ToggleGroupHandle, type ToggleGroupItem, type ToggleGroupTokens, type TokenReference, type TypographyScale, VERSION, type VoiceConfig, type VoiceMetrics, type VoicePlaybackEngine, type VoiceProvider, type VoiceResult, type VoiceStatus, WEBMCP_TOOL_PREFIX, WebMcpBridge, type WebMcpConfirmHandler, type WebMcpConfirmInfo, type WebMcpToolResult, type WidgetArtifactLayoutPreference, type WidgetHostLayout, type WidgetHostLayoutMode, type WidgetLayoutSlot, type WidgetPreferenceCapabilities, type WidgetPreferenceParseIssue, type WidgetPreferenceParseIssueCode, type WidgetPreferenceParseResult, type WidgetPreferenceSlice, type WidgetPreset, accessibilityPlugin, animationsPlugin, applyFeaturePreferences, applyThemeVariables, attachHeaderToContainer, brandPlugin, buildComposer, buildDefaultHeader, buildHeader, buildHeaderWithLayout, buildMinimalHeader, builtInClientToolsForDispatch, canonicalArtifactDisplayMode, collectEnrichedPageContext, componentRegistry, createActionManager, createAgentExperience, createAskUserQuestionBubble, createBestAvailableVoiceProvider, createBubbleWithLayout, createCSATFeedback, createComboButton, createComponentMiddleware, createComponentStreamParser, createDefaultSanitizer, createDemoCarousel, createDirectivePostprocessor, createDropdownMenu, createFlexibleJsonStreamParser, createIconButton, createImagePart, createJsonStreamParser, createLabelButton, createLocalStorageAdapter, createMarkdownProcessor, createMarkdownProcessorFromConfig, createMessageActions, createNPSFeedback, createPlainTextParser, createPlugin, createRegexJsonParser, createRovingTablist, createSlashCommandsSource, createSplitButton, createStandardBubble, createStaticMentionSource, createTextPart, createTheme, createThemeObserver, createToggleGroup, createTypingIndicator, createVoiceProvider, createWidgetHostLayout, createXmlParser, initAgentWidget as default, defaultActionHandlers, defaultJsonActionParser, defaultMentionFilter, defaultParseRules, detectColorScheme, directivePostprocessor, ensureAskUserQuestionSheet, escapeHtml, extractComponentDirectiveFromMessage, fileToImagePart, formatEnrichedContext, generateAssistantMessageId, generateCodeSnippet, generateMessageId, generateStableSelector, generateUserMessageId, getActiveTheme, getAgentWidgetHandles, getColorScheme, getDisplayText, getHeaderLayout, getImageParts, getPreset, hasComponentDirective, hasImages, headerLayouts, highContrastPlugin, initAgentWidget, isAskUserQuestionMessage, isComponentDirectiveType, isDockedMountMode, isHistoryProviderError, isSuggestRepliesMessage, isVoiceSupported, isWebMcpToolName, isWelcomeVisible, latestAgentSuggestions, listRegisteredStreamAnimations, loadMarkdownParsers, markdownPostprocessor, mergeWithDefaults, normalizeContent, normalizeMediaType, onMarkdownParsersReady, parseAskUserQuestionPayload, parseSuggestRepliesPayload, parseWidgetPreferenceSlice, pickBestVoice, pluginRegistry, reducedMotionPlugin, registerIcons, registerStreamAnimationPlugin, removeAskUserQuestionSheet, renderComponentDirective, renderLoadingIndicatorWithFallback, renderLucideIcon, resolveArtifactDisplay, resolveArtifactDisplayMode, resolveConfigPreferences, resolveDockConfig, resolveSanitizer, resolveTokens, resolveWelcomeConfig, stripWebMcpPrefix, themeToCssVariables, unregisterStreamAnimationPlugin, validateImageFile, validateTheme };
|