@runtypelabs/persona 4.28.2 → 4.29.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/animations/glyph-cycle.d.cts +1 -1
- package/dist/animations/glyph-cycle.d.ts +1 -1
- package/dist/animations/wipe.d.cts +1 -1
- package/dist/animations/wipe.d.ts +1 -1
- package/dist/approval-ui.d.cts +1 -1
- package/dist/approval-ui.d.ts +1 -1
- package/dist/artifacts-ui.d.cts +2 -2
- package/dist/artifacts-ui.d.ts +2 -2
- package/dist/chunk-BkW8s3fj.js +2 -0
- package/dist/chunk-CIVsNcrk.js +1 -0
- package/dist/chunk-CKdlNyzM.js +9 -0
- package/dist/{chunk-DrYAfpvk.js → chunk-DjOvgFsn.js} +1 -1
- package/dist/chunk-lA5CJCgK.js +1 -0
- package/dist/client-history.js +1 -1
- package/dist/codegen.cjs +1 -1
- package/dist/codegen.js +1 -1
- package/dist/{composer-input-C39npJaz.d.cts → composer-input-D3sB8_P_.d.cts} +1 -1
- package/dist/{composer-input-C39npJaz.d.ts → composer-input-D3sB8_P_.d.ts} +1 -1
- package/dist/{context-mention-manager-DLCB1l9E.d.cts → context-mention-manager-D2qxE5op.d.cts} +1 -1
- package/dist/{context-mention-manager-DLCB1l9E.d.ts → context-mention-manager-D2qxE5op.d.ts} +1 -1
- package/dist/context-mentions-inline.d.cts +2 -2
- package/dist/context-mentions-inline.d.ts +2 -2
- package/dist/context-mentions.d.cts +3 -3
- package/dist/context-mentions.d.ts +3 -3
- package/dist/{defaults-DiAgWHXy.d.cts → defaults-Dsw66XqE.d.cts} +1 -1
- package/dist/{defaults-DiAgWHXy.d.ts → defaults-Dsw66XqE.d.ts} +1 -1
- package/dist/event-stream-view.d.cts +1 -1
- package/dist/event-stream-view.d.ts +1 -1
- package/dist/{fallback-speech-engine-C5_PUZjH.d.cts → fallback-speech-engine-DJpJcWAk.d.cts} +1 -1
- package/dist/{fallback-speech-engine-C5_PUZjH.d.ts → fallback-speech-engine-DJpJcWAk.d.ts} +1 -1
- package/dist/forms-ui.d.cts +2 -2
- package/dist/forms-ui.d.ts +2 -2
- package/dist/history-view.d.cts +1 -1
- package/dist/history-view.d.ts +1 -1
- package/dist/index.cjs +45 -44
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.global.js +1 -1
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +34 -33
- package/dist/index.js.map +1 -1
- package/dist/{markdown-parsers-loader-BBdyIEU7.d.cts → markdown-parsers-loader-CCY7T4Up.d.cts} +1 -1
- package/dist/{markdown-parsers-loader-BBdyIEU7.d.ts → markdown-parsers-loader-CCY7T4Up.d.ts} +1 -1
- package/dist/{preview-Chjb0bmI.d.cts → preview-DKKpfTo7.d.cts} +2 -2
- package/dist/{preview-Chjb0bmI.d.ts → preview-DKKpfTo7.d.ts} +2 -2
- package/dist/{session-a_qIp4xp.d.ts → session-DleMr9dZ.d.cts} +13 -7
- package/dist/{session-a_qIp4xp.d.cts → session-DleMr9dZ.d.ts} +13 -7
- package/dist/session-reconnect.d.cts +2 -2
- package/dist/session-reconnect.d.ts +2 -2
- package/dist/smart-dom-reader.d.cts +1 -1
- package/dist/smart-dom-reader.d.ts +1 -1
- package/dist/theme-editor-preview.cjs +41 -40
- package/dist/theme-editor-preview.d.cts +1 -1
- package/dist/theme-editor-preview.d.ts +1 -1
- package/dist/theme-editor-preview.js +20 -20
- package/dist/theme-editor.d.cts +2 -2
- package/dist/theme-editor.d.ts +2 -2
- package/dist/theme-reference.d.cts +2 -2
- package/dist/theme-reference.d.ts +2 -2
- package/dist/{types-BdO1jNRm.d.cts → types-oAZ1VReS.d.cts} +166 -21
- package/dist/{types-BdO1jNRm.d.ts → types-oAZ1VReS.d.ts} +166 -21
- package/dist/voice-client-tools.cjs +1 -0
- package/dist/voice-client-tools.d.cts +13 -0
- package/dist/voice-client-tools.d.ts +13 -0
- package/dist/voice-client-tools.js +1 -0
- package/dist/voice-runtime.cjs +3 -3
- package/dist/voice-runtime.d.cts +7 -3
- package/dist/voice-runtime.d.ts +7 -3
- package/dist/voice-runtime.js +4 -4
- package/dist/voice-worklet-player.d.cts +2 -2
- package/dist/voice-worklet-player.d.ts +2 -2
- package/dist/{webmcp-runtime-entry-B6bpVWSa.d.ts → webmcp-runtime-entry-Deg0NfmB.d.cts} +26 -5
- package/dist/{webmcp-runtime-entry-B6bpVWSa.d.cts → webmcp-runtime-entry-Deg0NfmB.d.ts} +26 -5
- package/dist/webmcp-runtime.cjs +2 -1
- package/dist/webmcp-runtime.d.cts +1 -1
- package/dist/webmcp-runtime.d.ts +1 -1
- package/dist/webmcp-runtime.js +2 -1
- package/package.json +6 -1
- package/src/client.ts +37 -0
- package/src/client.voice-tools.test.ts +65 -0
- package/src/generated/runtype-openapi-contract.ts +38 -0
- package/src/index-core.ts +11 -0
- package/src/index-global.ts +6 -0
- package/src/session.test.ts +26 -0
- package/src/session.ts +8 -1
- package/src/session.voice.test.ts +43 -0
- package/src/types.ts +141 -20
- package/src/voice/runtype-voice-provider.ts +85 -3
- package/src/voice/session-voice-wiring.ts +26 -1
- package/src/voice/voice-client-tools-session.ts +116 -0
- package/src/voice/voice-delegation.ts +9 -0
- package/src/voice/voice.test.ts +360 -0
- package/src/voice-client-tools-bundle.test.ts +37 -0
- package/src/voice-client-tools-loader.ts +24 -0
- package/src/voice-client-tools.ts +9 -0
- package/src/webmcp-bridge.test.ts +152 -1
- package/src/webmcp-bridge.ts +5 -6
- package/src/webmcp-polyfill.integration.test.ts +5 -1
- package/src/webmcp-runtime-entry.ts +151 -26
- package/dist/chunk-CztSjKHK.js +0 -9
- package/dist/chunk-HUOUif-P.js +0 -1
- package/dist/chunk-UlcxdHef.js +0 -1
package/dist/theme-editor.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as createPreviewMessages, C as applySceneConfig, D as buildShellCss, E as buildPreviewConfigWithMessages, F as presetStreamsText, M as escapeHtml, N as getPreviewTranscriptPresetLabel, O as buildSrcdoc, P as getShellPalette, S as appendPreviewTranscriptEntry, T as buildPreviewConfig, _ as PreviewTranscriptEntryPreset, b as ZOOM_MAX, c as BuildTranscriptStreamFramesOptions, d as MOCK_BROWSER_CONTENT, f as MOCK_WORKSPACE_CONTENT, g as PreviewShellPalette, h as PreviewScene, i as PreviewShellMode, j as createPreviewTranscriptEntry, k as buildTranscriptStreamFrames, l as DEVICE_DIMENSIONS, m as PreviewConfigOptions, p as PREVIEW_STORAGE_ADAPTER, t as CompareMode, u as HOME_SUGGESTION_CHIPS, v as SHELL_STYLE_ID, w as applyShellTheme, x as ZOOM_MIN, y as TranscriptStreamFrame } from "./preview-
|
|
1
|
+
import { Fi as WidgetPreferenceCapabilities, Ii as WidgetPreferenceSlice, T as AgentWidgetConfig, va as ColorShade, wa as PersonaTheme, xa as DeepPartial } from "./types-oAZ1VReS.cjs";
|
|
2
|
+
import { A as createPreviewMessages, C as applySceneConfig, D as buildShellCss, E as buildPreviewConfigWithMessages, F as presetStreamsText, M as escapeHtml, N as getPreviewTranscriptPresetLabel, O as buildSrcdoc, P as getShellPalette, S as appendPreviewTranscriptEntry, T as buildPreviewConfig, _ as PreviewTranscriptEntryPreset, b as ZOOM_MAX, c as BuildTranscriptStreamFramesOptions, d as MOCK_BROWSER_CONTENT, f as MOCK_WORKSPACE_CONTENT, g as PreviewShellPalette, h as PreviewScene, i as PreviewShellMode, j as createPreviewTranscriptEntry, k as buildTranscriptStreamFrames, l as DEVICE_DIMENSIONS, m as PreviewConfigOptions, p as PREVIEW_STORAGE_ADAPTER, t as CompareMode, u as HOME_SUGGESTION_CHIPS, v as SHELL_STYLE_ID, w as applyShellTheme, x as ZOOM_MIN, y as TranscriptStreamFrame } from "./preview-DKKpfTo7.cjs";
|
|
3
3
|
//#region src/theme-editor/types.d.ts
|
|
4
4
|
type FieldType = 'color' | 'slider' | 'toggle' | 'select' | 'text' | 'chip-list' | 'color-scale' | 'token-ref' | 'role-assignment';
|
|
5
5
|
interface SliderOptions {
|
package/dist/theme-editor.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { A as createPreviewMessages, C as applySceneConfig, D as buildShellCss, E as buildPreviewConfigWithMessages, F as presetStreamsText, M as escapeHtml, N as getPreviewTranscriptPresetLabel, O as buildSrcdoc, P as getShellPalette, S as appendPreviewTranscriptEntry, T as buildPreviewConfig, _ as PreviewTranscriptEntryPreset, b as ZOOM_MAX, c as BuildTranscriptStreamFramesOptions, d as MOCK_BROWSER_CONTENT, f as MOCK_WORKSPACE_CONTENT, g as PreviewShellPalette, h as PreviewScene, i as PreviewShellMode, j as createPreviewTranscriptEntry, k as buildTranscriptStreamFrames, l as DEVICE_DIMENSIONS, m as PreviewConfigOptions, p as PREVIEW_STORAGE_ADAPTER, t as CompareMode, u as HOME_SUGGESTION_CHIPS, v as SHELL_STYLE_ID, w as applyShellTheme, x as ZOOM_MIN, y as TranscriptStreamFrame } from "./preview-
|
|
1
|
+
import { Fi as WidgetPreferenceCapabilities, Ii as WidgetPreferenceSlice, T as AgentWidgetConfig, va as ColorShade, wa as PersonaTheme, xa as DeepPartial } from "./types-oAZ1VReS.js";
|
|
2
|
+
import { A as createPreviewMessages, C as applySceneConfig, D as buildShellCss, E as buildPreviewConfigWithMessages, F as presetStreamsText, M as escapeHtml, N as getPreviewTranscriptPresetLabel, O as buildSrcdoc, P as getShellPalette, S as appendPreviewTranscriptEntry, T as buildPreviewConfig, _ as PreviewTranscriptEntryPreset, b as ZOOM_MAX, c as BuildTranscriptStreamFramesOptions, d as MOCK_BROWSER_CONTENT, f as MOCK_WORKSPACE_CONTENT, g as PreviewShellPalette, h as PreviewScene, i as PreviewShellMode, j as createPreviewTranscriptEntry, k as buildTranscriptStreamFrames, l as DEVICE_DIMENSIONS, m as PreviewConfigOptions, p as PREVIEW_STORAGE_ADAPTER, t as CompareMode, u as HOME_SUGGESTION_CHIPS, v as SHELL_STYLE_ID, w as applyShellTheme, x as ZOOM_MIN, y as TranscriptStreamFrame } from "./preview-DKKpfTo7.js";
|
|
3
3
|
//#region src/theme-editor/types.d.ts
|
|
4
4
|
type FieldType = 'color' | 'slider' | 'toggle' | 'select' | 'text' | 'chip-list' | 'color-scale' | 'token-ref' | 'role-assignment';
|
|
5
5
|
interface SliderOptions {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { it as AgentWidgetLauncherConfig,
|
|
2
|
-
import { i as DefaultsVersion, u as ThemeDefaultsVersion } from "./defaults-
|
|
1
|
+
import { it as AgentWidgetLauncherConfig, wa as PersonaTheme, xa as DeepPartial } from "./types-oAZ1VReS.cjs";
|
|
2
|
+
import { i as DefaultsVersion, u as ThemeDefaultsVersion } from "./defaults-Dsw66XqE.cjs";
|
|
3
3
|
//#region src/theme-reference.d.ts
|
|
4
4
|
export declare const THEME_TOKEN_DOCS: {
|
|
5
5
|
overview: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { it as AgentWidgetLauncherConfig,
|
|
2
|
-
import { i as DefaultsVersion, u as ThemeDefaultsVersion } from "./defaults-
|
|
1
|
+
import { it as AgentWidgetLauncherConfig, wa as PersonaTheme, xa as DeepPartial } from "./types-oAZ1VReS.js";
|
|
2
|
+
import { i as DefaultsVersion, u as ThemeDefaultsVersion } from "./defaults-Dsw66XqE.js";
|
|
3
3
|
//#region src/theme-reference.d.ts
|
|
4
4
|
export declare const THEME_TOKEN_DOCS: {
|
|
5
5
|
overview: string;
|
|
@@ -1778,6 +1778,7 @@ type RuntypeExecutionStreamEvent = ({
|
|
|
1778
1778
|
finalOutput?: string;
|
|
1779
1779
|
iterations?: number;
|
|
1780
1780
|
kind: "agent" | "flow";
|
|
1781
|
+
outcome?: "completed" | "error" | "aborted";
|
|
1781
1782
|
seq: number;
|
|
1782
1783
|
stepErrorCount?: number;
|
|
1783
1784
|
stopReason?: string;
|
|
@@ -1803,6 +1804,7 @@ type RuntypeExecutionStreamEvent = ({
|
|
|
1803
1804
|
executionId: string;
|
|
1804
1805
|
finalOutput?: string;
|
|
1805
1806
|
kind: "agent" | "flow";
|
|
1807
|
+
outcome?: "completed" | "error" | "aborted";
|
|
1806
1808
|
seq: number;
|
|
1807
1809
|
stopReason?: string;
|
|
1808
1810
|
type: "execution_error";
|
|
@@ -2122,6 +2124,15 @@ type RuntypeExecutionStreamEvent = ({
|
|
|
2122
2124
|
seq: number;
|
|
2123
2125
|
type: "state_delta";
|
|
2124
2126
|
}) | ({
|
|
2127
|
+
annotations?: {
|
|
2128
|
+
consequentialHint?: boolean;
|
|
2129
|
+
debugging?: boolean;
|
|
2130
|
+
destructiveHint?: boolean;
|
|
2131
|
+
idempotentHint?: boolean;
|
|
2132
|
+
openWorldHint?: boolean;
|
|
2133
|
+
readOnlyHint?: boolean;
|
|
2134
|
+
untrustedContentHint?: boolean;
|
|
2135
|
+
};
|
|
2125
2136
|
executionId: string;
|
|
2126
2137
|
hiddenParameterNames?: Array<string>;
|
|
2127
2138
|
iteration?: number;
|
|
@@ -2220,6 +2231,15 @@ type RuntypeExecutionStreamEvent = ({
|
|
|
2220
2231
|
seq: number;
|
|
2221
2232
|
type: "approval_complete";
|
|
2222
2233
|
}) | ({
|
|
2234
|
+
annotations?: {
|
|
2235
|
+
consequentialHint?: boolean;
|
|
2236
|
+
debugging?: boolean;
|
|
2237
|
+
destructiveHint?: boolean;
|
|
2238
|
+
idempotentHint?: boolean;
|
|
2239
|
+
openWorldHint?: boolean;
|
|
2240
|
+
readOnlyHint?: boolean;
|
|
2241
|
+
untrustedContentHint?: boolean;
|
|
2242
|
+
};
|
|
2223
2243
|
awaitReason?: string;
|
|
2224
2244
|
awaitedAt?: string;
|
|
2225
2245
|
crawlId?: string;
|
|
@@ -2371,6 +2391,15 @@ type RuntypeClientInitResponse = {
|
|
|
2371
2391
|
type RuntypeClientChatRequest = {
|
|
2372
2392
|
assistantMessageId?: string;
|
|
2373
2393
|
clientTools?: Array<{
|
|
2394
|
+
annotations?: {
|
|
2395
|
+
consequentialHint?: boolean;
|
|
2396
|
+
debugging?: boolean;
|
|
2397
|
+
destructiveHint?: boolean;
|
|
2398
|
+
idempotentHint?: boolean;
|
|
2399
|
+
openWorldHint?: boolean;
|
|
2400
|
+
readOnlyHint?: boolean;
|
|
2401
|
+
untrustedContentHint?: boolean;
|
|
2402
|
+
};
|
|
2374
2403
|
description: string;
|
|
2375
2404
|
name: string;
|
|
2376
2405
|
origin?: "webmcp" | "sdk";
|
|
@@ -2422,6 +2451,15 @@ type RuntypeClientResumeRequest = {
|
|
|
2422
2451
|
after?: string;
|
|
2423
2452
|
assistantMessageId?: string;
|
|
2424
2453
|
clientTools?: Array<{
|
|
2454
|
+
annotations?: {
|
|
2455
|
+
consequentialHint?: boolean;
|
|
2456
|
+
debugging?: boolean;
|
|
2457
|
+
destructiveHint?: boolean;
|
|
2458
|
+
idempotentHint?: boolean;
|
|
2459
|
+
openWorldHint?: boolean;
|
|
2460
|
+
readOnlyHint?: boolean;
|
|
2461
|
+
untrustedContentHint?: boolean;
|
|
2462
|
+
};
|
|
2425
2463
|
description: string;
|
|
2426
2464
|
name: string;
|
|
2427
2465
|
origin?: "webmcp" | "sdk";
|
|
@@ -3492,14 +3530,17 @@ type AgentWidgetAgentRequestPayload = {
|
|
|
3492
3530
|
/** See {@link AgentWidgetRequestPayload.composerOptions}. */
|
|
3493
3531
|
composerOptions?: ComposerOptionsPayload;
|
|
3494
3532
|
};
|
|
3495
|
-
/**
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3533
|
+
/** Advisory WebMCP and MCP hints. These do not grant approval or safe retry. */
|
|
3534
|
+
type ToolAnnotations = {
|
|
3535
|
+
readOnlyHint?: boolean;
|
|
3536
|
+
destructiveHint?: boolean;
|
|
3537
|
+
consequentialHint?: boolean;
|
|
3538
|
+
untrustedContentHint?: boolean;
|
|
3539
|
+
idempotentHint?: boolean;
|
|
3540
|
+
openWorldHint?: boolean;
|
|
3541
|
+
debugging?: boolean;
|
|
3542
|
+
};
|
|
3543
|
+
/** Wire metadata for a client-side tool; its execute function stays in the browser. */
|
|
3503
3544
|
type ClientToolDefinition = {
|
|
3504
3545
|
/** Bare tool name; the server prepends `webmcp:` on the wire. */
|
|
3505
3546
|
name: string;
|
|
@@ -3516,20 +3557,16 @@ type ClientToolDefinition = {
|
|
|
3516
3557
|
/** Origin of the page that registered the tool: for server-side audit. */
|
|
3517
3558
|
pageOrigin?: string;
|
|
3518
3559
|
/**
|
|
3519
|
-
* WebMCP
|
|
3520
|
-
*
|
|
3521
|
-
* `readOnlyHint` / `untrustedContentHint` on tool-call records.
|
|
3560
|
+
* WebMCP hints and MCP compatibility hints forwarded to runtime tool metadata
|
|
3561
|
+
* and confirmation callbacks. No hint skips the default confirmation gate.
|
|
3522
3562
|
*/
|
|
3523
|
-
annotations?:
|
|
3524
|
-
readOnlyHint?: boolean;
|
|
3525
|
-
untrustedContentHint?: boolean;
|
|
3526
|
-
};
|
|
3563
|
+
annotations?: ToolAnnotations;
|
|
3527
3564
|
/**
|
|
3528
3565
|
* Hoisted copy of `annotations.untrustedContentHint`. This is the field the
|
|
3529
3566
|
* server actually acts on (`InlineClientToolSchema`): it spotlights the
|
|
3530
3567
|
* tool's output before the model reads it, so instructions embedded in
|
|
3531
3568
|
* page-provided content (reviews, comments, emails) are not treated as
|
|
3532
|
-
* instructions.
|
|
3569
|
+
* instructions. A nested true hint also opts into output protection.
|
|
3533
3570
|
*/
|
|
3534
3571
|
untrustedContentHint?: boolean;
|
|
3535
3572
|
};
|
|
@@ -3548,16 +3585,19 @@ type WebMcpConfirmInfo = {
|
|
|
3548
3585
|
* didn't declare one.
|
|
3549
3586
|
*/
|
|
3550
3587
|
title?: string;
|
|
3551
|
-
annotations?:
|
|
3552
|
-
readOnlyHint?: boolean;
|
|
3553
|
-
untrustedContentHint?: boolean;
|
|
3554
|
-
};
|
|
3588
|
+
annotations?: ToolAnnotations;
|
|
3555
3589
|
/**
|
|
3556
3590
|
* Why the confirm was requested. Currently always `'gate'`: the default
|
|
3557
3591
|
* confirm-by-default gate that fires before every `webmcp:*` call. Tool
|
|
3558
3592
|
* callbacks on v6 receive an AbortSignal, not a nested confirmation API.
|
|
3559
3593
|
*/
|
|
3560
3594
|
reason: 'gate';
|
|
3595
|
+
/**
|
|
3596
|
+
* Aborts when the call no longer needs an answer (its deadline passed, or it
|
|
3597
|
+
* was cancelled). A confirm UI should close and resolve `false`; the tool
|
|
3598
|
+
* never runs after it aborts either way.
|
|
3599
|
+
*/
|
|
3600
|
+
signal?: AbortSignal;
|
|
3561
3601
|
};
|
|
3562
3602
|
/**
|
|
3563
3603
|
* Resolves to `true` if the user approves the tool call; `false` to decline.
|
|
@@ -7797,7 +7837,112 @@ interface VoiceSessionBridge {
|
|
|
7797
7837
|
* declined too, as the approval TTL would.
|
|
7798
7838
|
*/
|
|
7799
7839
|
dropDelegation?(delegationId: string, expired?: boolean): void;
|
|
7840
|
+
/**
|
|
7841
|
+
* The page tools a voice call may offer the server's fast tier
|
|
7842
|
+
* (`client_tools` / `client_tool_call`). Returns `null` when WebMCP is not
|
|
7843
|
+
* enabled on this widget; the provider then does not declare `client_tools`.
|
|
7844
|
+
*/
|
|
7845
|
+
clientTools?(): VoiceClientTools | null;
|
|
7846
|
+
/**
|
|
7847
|
+
* The server answered a delegation itself (`delegation_completed.route ===
|
|
7848
|
+
* 'direct'`): record the visitor's turn and the spoken answer in the chat,
|
|
7849
|
+
* as a delegated turn would have. `assistantText` may be empty (no readout).
|
|
7850
|
+
*/
|
|
7851
|
+
recordDirectTurn?(turn: VoiceDirectTurn): void;
|
|
7800
7852
|
}
|
|
7853
|
+
/** A delegation the server answered on its fast tier, for the chat history. */
|
|
7854
|
+
type VoiceDirectTurn = {
|
|
7855
|
+
delegationId: string;
|
|
7856
|
+
userText: string;
|
|
7857
|
+
userUtteranceIds: string[];
|
|
7858
|
+
assistantText: string;
|
|
7859
|
+
};
|
|
7860
|
+
/** `client_tool_result.status` (open enum on the wire). */
|
|
7861
|
+
type VoiceClientToolStatus = 'completed' | 'failed' | 'denied' | 'stale' | 'timeout' | (string & {});
|
|
7862
|
+
/** What running one `client_tool_call` produced. */
|
|
7863
|
+
type VoiceClientToolOutcome = {
|
|
7864
|
+
status: VoiceClientToolStatus;
|
|
7865
|
+
/** The page tool's return value (any JSON), on `completed`. */
|
|
7866
|
+
result?: unknown;
|
|
7867
|
+
error?: {
|
|
7868
|
+
message: string;
|
|
7869
|
+
};
|
|
7870
|
+
};
|
|
7871
|
+
/** The page's tool set as of now, plus its content fingerprint. */
|
|
7872
|
+
type VoiceClientToolsSnapshot = {
|
|
7873
|
+
/** Exactly what `/v1/client/chat` would send as `clientTools[]` (bare names). */
|
|
7874
|
+
tools: ClientToolDefinition[];
|
|
7875
|
+
fingerprint: string;
|
|
7876
|
+
};
|
|
7877
|
+
/** WebMCP access for a voice call (see {@link VoiceSessionBridge.clientTools}). */
|
|
7878
|
+
interface VoiceClientTools {
|
|
7879
|
+
snapshot(): Promise<VoiceClientToolsSnapshot>;
|
|
7880
|
+
/** Subscribe to registry changes; returns an unsubscribe. */
|
|
7881
|
+
onChange(listener: () => void): () => void;
|
|
7882
|
+
/**
|
|
7883
|
+
* Run a page tool. `autoConfirmReadOnly`: skip the confirm gate when the
|
|
7884
|
+
* tool's registry entry has `annotations.readOnlyHint === true`.
|
|
7885
|
+
*/
|
|
7886
|
+
execute(name: string, args: Record<string, unknown>, options: {
|
|
7887
|
+
signal: AbortSignal;
|
|
7888
|
+
autoConfirmReadOnly: boolean;
|
|
7889
|
+
}): Promise<VoiceClientToolOutcome>;
|
|
7890
|
+
/**
|
|
7891
|
+
* Start the call's fast-tier session (loads its lazy chunk): it sends
|
|
7892
|
+
* `client_tools` through `channel` now and on every change, and answers
|
|
7893
|
+
* the `client_tool_call` frames handed to it.
|
|
7894
|
+
*/
|
|
7895
|
+
open(channel: VoiceClientToolsChannel): Promise<VoiceClientToolsSession>;
|
|
7896
|
+
}
|
|
7897
|
+
/** The call socket, as the fast-tier session sees it. */
|
|
7898
|
+
type VoiceClientToolsChannel = {
|
|
7899
|
+
/** Send a frame; `false` when the call (socket) is gone. */
|
|
7900
|
+
send(frame: ClientToolsFrame | ClientToolResultFrame): boolean;
|
|
7901
|
+
/** The server cancelled this delegation: its tool results are not sent. */
|
|
7902
|
+
cancelled(delegationId: string): boolean;
|
|
7903
|
+
};
|
|
7904
|
+
/** A call's fast-tier session (see {@link VoiceClientTools.open}). */
|
|
7905
|
+
interface VoiceClientToolsSession {
|
|
7906
|
+
call(frame: Partial<ClientToolCallFrame>): void;
|
|
7907
|
+
/** Abort running tool calls (of one delegation, or all); they send nothing. */
|
|
7908
|
+
abort(delegationId?: string): void;
|
|
7909
|
+
close(): void;
|
|
7910
|
+
}
|
|
7911
|
+
/**
|
|
7912
|
+
* Client → server (`runtype-browser-v1`, `client_tools` capability): the page's
|
|
7913
|
+
* tool set, after `session_config` and whenever its fingerprint changes. Names
|
|
7914
|
+
* are the FULL names the server calls back with: `webmcp:` prefixed for
|
|
7915
|
+
* `origin: 'webmcp'`, bare for `sdk`.
|
|
7916
|
+
*/
|
|
7917
|
+
type ClientToolsFrame = {
|
|
7918
|
+
type: 'client_tools';
|
|
7919
|
+
/** The content fingerprint the chat path computes for the same `clientTools[]`. */
|
|
7920
|
+
fingerprint: string;
|
|
7921
|
+
tools: ClientToolDefinition[];
|
|
7922
|
+
};
|
|
7923
|
+
/** Server → client: the fast tier picked a page tool for this delegation. */
|
|
7924
|
+
type ClientToolCallFrame = {
|
|
7925
|
+
type: 'client_tool_call';
|
|
7926
|
+
delegationId: string;
|
|
7927
|
+
toolCallId: string;
|
|
7928
|
+
/** `webmcp:<name>` or bare; the client accepts both. */
|
|
7929
|
+
name: string;
|
|
7930
|
+
arguments: Record<string, unknown>;
|
|
7931
|
+
/** The `client_tools` fingerprint the call was chosen from. */
|
|
7932
|
+
fingerprint: string;
|
|
7933
|
+
timeoutMs: number;
|
|
7934
|
+
};
|
|
7935
|
+
/** Client → server: the answer to one {@link ClientToolCallFrame}. */
|
|
7936
|
+
type ClientToolResultFrame = {
|
|
7937
|
+
type: 'client_tool_result';
|
|
7938
|
+
delegationId: string;
|
|
7939
|
+
toolCallId: string;
|
|
7940
|
+
status: VoiceClientToolStatus;
|
|
7941
|
+
result?: unknown;
|
|
7942
|
+
error?: {
|
|
7943
|
+
message: string;
|
|
7944
|
+
};
|
|
7945
|
+
};
|
|
7801
7946
|
/**
|
|
7802
7947
|
* Extra context for an approval decision, surfaced to `onDecision` and to the
|
|
7803
7948
|
* `approve`/`deny` callbacks passed to the `renderApproval` plugin hook.
|
|
@@ -11016,5 +11161,5 @@ type AgentWidgetInitOptions = {
|
|
|
11016
11161
|
debugTools?: boolean;
|
|
11017
11162
|
};
|
|
11018
11163
|
//#endregion
|
|
11019
|
-
export { AgentWidgetHistoryCopy as $, RuntypeStopReasonKind as $i, ComposerResubmitOptions as $n, SlotRenderer as $r, AgentWidgetSuggestionSurfaceConfig as $t, AgentWidgetContextMentionComposerCapability as A, AgentWidgetRailSection as Aa, HistoryListOptions as Ai, ComposerActionContributionContext as An, LoadingIndicatorRenderContext as Ar, AgentWidgetScrollBehaviorFeature as At, AgentWidgetContextMentionTokenRenderContext as B, ResolvedTarget as Bi, ComposerDisabledOption as Bn, PersonaArtifactFilesDisplayRules as Br, AgentWidgetStoredState as Bt, AgentWidgetComponentRenderer as C, TextStyleTokens as Ca, WidgetLayoutSlot as Ci, ClientInitResponse as Cn, IdleIndicatorRenderContext as Cr, AgentWidgetRenderHistoryOpenErrorContext as Ct, AgentWidgetContentSegment as D, TokenReference as Da, registerIcons as Di, ComposerAction as Dn, InjectMessageOptions as Dr, AgentWidgetResolvedSuggestion as Dt, AgentWidgetConfigPatch as E, ToggleGroupTokens as Ea, IconName as Ei, ClientVisitorGrant as En, InjectComponentDirectiveOptions as Er, AgentWidgetRequestPayload as Et, AgentWidgetContextMentionPayload as F, AgentWidgetTransformSuggestionsContext as Fa, HistoryProvider as Fi, ComposerActionVisibility as Fn, PersonaArtifactCustomAction as Fr, AgentWidgetSessionInitTrigger as Ft, AgentWidgetCustomMessageAction as G, RuntypeClientFeedbackResponse as Gi, ComposerModeGroup as Gn, PersonaArtifactStatusLabelContext as Gr, AgentWidgetStreamAnimationType as Gt, AgentWidgetContextProviderContext as H, RuntypeClientChatRequest as Hi, ComposerLayout as Hn, PersonaArtifactManualUpsert as Hr, AgentWidgetStreamAnimationBuiltinType as Ht, AgentWidgetContextMentionRef as I, AgentWidgetPluginStorage as Ia, HistoryProviderError as Ii, ComposerAttachmentState as In, PersonaArtifactDisplayMode as Ir, AgentWidgetStarterSuggestionsConfig as It, AgentWidgetEvent as J, RuntypeClientInitResponse as Ji, ComposerModelPickerConfig as Jn, ResolvedHistoryCopy as Jr, AgentWidgetSuggestion as Jt, AgentWidgetCustomMessageActionRole as K, RuntypeClientFeedbackType as Ki, ComposerModeGroupPresentation as Kn, PreparedClientSession as Kr, AgentWidgetStreamParser as Kt, AgentWidgetContextMentionResolveContext as L, ResolvedWelcomeConfig as La, HistoryProviderErrorCode as Li, ComposerBeforeSendResult as Ln, PersonaArtifactDisplayModeInput as Lr, AgentWidgetStateSnapshot as Lt, AgentWidgetContextMentionItem as M, AgentWidgetRenderSuggestionContext as Ma, HistoryOperationContext as Mi, ComposerActionPlacement as Mn, MessageRenderContext as Mr, AgentWidgetScrollRestorePosition as Mt, AgentWidgetContextMentionItemRenderContext as N, AgentWidgetRenderWelcomeContext as Na, HistoryPageOptions as Ni, ComposerActionPresentation as Nn, PcmStreamPlayer as Nr, AgentWidgetScrollToBottomFeature as Nt, AgentWidgetContextMentionChipRenderContext as O, TypographyScale as Oa, renderLucideIcon as Oi, ComposerActionBase as On, InjectSystemMessageOptions as Or, AgentWidgetSSEEventParser as Ot, AgentWidgetContextMentionMenuRenderContext as P, AgentWidgetSuggestionSelectContext as Pa, HistoryPageResult as Pi, ComposerActionRenderContext as Pn, PersonaArtifactActionContext as Pr, AgentWidgetSessionInitHook as Pt, AgentWidgetHeadersFunction as Q, RuntypeStepCompleteEvent as Qi, ComposerQuote as Qn, SlotRenderContext as Qr, AgentWidgetSuggestionSurface as Qt, AgentWidgetContextMentionSearchContext as R, isWelcomeVisible as Ra, PreparedHistoryActivation as Ri, ComposerButtonAction as Rn, PersonaArtifactDisplayRules as Rr, AgentWidgetStorageAdapter as Rt, AgentWidgetAvatarConfig as S, SpacingScale as Sa, WidgetHistoryInternals as Si, ClientFeedbackType as Sn, HistoryViewState as Sr, AgentWidgetRenderHistoryHeaderContext as St, AgentWidgetConfig as T, ThemeValidationResult as Ta, WidgetPreferenceSlice as Ti, ClientToolDefinition as Tn, InjectAssistantMessageOptions as Tr, AgentWidgetRenderHistoryViewContext as Tt, AgentWidgetControllerEventMap as U, RuntypeClientChatStreamEvent as Ui, ComposerMode as Un, PersonaArtifactPresentation as Ur, AgentWidgetStreamAnimationFeature as Ut, AgentWidgetContextProvider as V, TargetResolver as Vi, ComposerInputAttributes as Vn, PersonaArtifactKind as Vr, AgentWidgetStreamAnimationBuffer as Vt, AgentWidgetCustomFetch as W, RuntypeClientFeedbackRequest as Wi, ComposerModeChipVisibility as Wn, PersonaArtifactRecord as Wr, AgentWidgetStreamAnimationPlaceholder as Wt, AgentWidgetFollowUpSuggestionsConfig as X, RuntypeClientResumeStreamEvent as Xi, ComposerOptionsPayload as Xn, ResumableHandle as Xr, AgentWidgetSuggestionChipsConfig as Xt, AgentWidgetFeatureFlags as Y, RuntypeClientResumeRequest as Yi, ComposerModelPickerPresentation as Yn, ResolvedHistoryPresentation as Yr, AgentWidgetSuggestionBehavior as Yt, AgentWidgetHeaderLayoutConfig as Z, RuntypeExecutionStreamEvent as Zi, ComposerPhase as Zn, SSEEventRecord as Zr, AgentWidgetSuggestionSource as Zt, AgentWidgetArtifactsLayoutConfig as _, SemanticColors as _a, VoiceTranscriptMetadata as _i, AskUserQuestionPayload as _n, HistoryDisplayProjection as _r, AgentWidgetMessageLayoutConfig as _t, AgentRequestOptions as a, BorderScale as aa, TextContentPart as ai, AgentWidgetVoicePrewarmTrigger as an, ContentPart as ar, AgentWidgetLauncherTeaserConfig as at, AgentWidgetAttachmentAdapter as b, SemanticTypography as ba, WebMcpToolResult as bi, ClientChatRequest as bn, HistoryReturnSurface as br, AgentWidgetReadAloudEvent as bt, AgentWidgetActionEventPayload as c, ComponentTokens as ca, VoiceDelegationRequest as ci, AgentWidgetWelcomeAlign as cn, EventStreamPayloadRenderContext as cr, AgentWidgetMarkdownConfig as ct, AgentWidgetActionParser as d, IconButtonTokens as da, VoiceMetrics as di, AgentWidgetWelcomeIcon as dn, EventStreamViewRenderContext as dr, AgentWidgetMentionLlmEntry as dt, RuntypeStreamEventOf as ea, SpeechCallbacks as ei, AgentWidgetSuggestionVariant as en, ComposerState as er, AgentWidgetHistoryFeature as et, AgentWidgetAgentRequestPayload as f, LabelButtonTokens as fa, VoicePlaybackEngine as fi, AgentWidgetWelcomeIconBase as fn, HeaderRenderContext as fr, AgentWidgetMentionTriggerChannel as ft, AgentWidgetArtifactsFeature as g, ResolvedToken as ga, VoiceStatus as gi, AskUserQuestionOption as gn, HistoryConversationSummary as gr, AgentWidgetMessageFeedback as gt, AgentWidgetApprovalDecisionOptions as h, RadiusScale as ha, VoiceSessionBridge as hi, ArtifactConfigPayload as hn, HistoryConversationPatch as hr, AgentWidgetMessageActionsConfig as ht, AgentMessageMetadata as i, ArtifactToolbarTokens as ia, StreamAnimationPlugin as ii, AgentWidgetVoicePrewarmHook as in, ComposerSubmitKey as ir, AgentWidgetLauncherConfig as it, AgentWidgetContextMentionConfig as j, AgentWidgetRailSectionContext as ja, HistoryListResult as ji, ComposerActionOverflowConfig as jn, MessageContent as jr, AgentWidgetScrollMode as jt, AgentWidgetContextMentionCommandContext as k, AgentWidgetPlugin as ka, HistoryDeleteAllOptions as ki, ComposerActionContext as kn, InjectUserMessageOptions as kr, AgentWidgetSSEEventResult as kt, AgentWidgetActionHandler as l, CreateThemeOptions as la, VoiceDelegationResult as li, AgentWidgetWelcomeConfig as ln, EventStreamRowRenderContext as lr, AgentWidgetMarkdownOptions as lt, AgentWidgetApprovalConfig as m, PersonaThemePlugin as ma, VoiceResult as mi, AgentWidgetWelcomeVariant as mn, HistoryConversationPage as mr, AgentWidgetMessage as mt, AgentExecutionState as n, ArtifactPaneTokens as na, SpeechRequest as ni, AgentWidgetTimestampConfig as nn, ComposerSubmissionOptions as nr, AgentWidgetHistoryRenderActions as nt, AgentToolsConfig as o, ColorPalette as oa, VoiceConfig as oi, AgentWidgetVoiceStatusEvent as on, EventStreamBadgeColor as or, AgentWidgetLayoutConfig as ot, AgentWidgetApproval as p, PersonaTheme as pa, VoiceProvider as pi, AgentWidgetWelcomeIconPlacement as pn, HistoryConversationDetail as pr, AgentWidgetMentionTriggerPosition as pt, AgentWidgetDockConfig as q, RuntypeClientInitRequest as qi, ComposerModel as qn, ReadAloudState as qr, AgentWidgetStreamParserResult as qt, AgentLoopConfig as r, ArtifactTabTokens as ra, StreamAnimationContext as ri, AgentWidgetTooltipConfig as rn, ComposerSubmissionSnapshot as rr, AgentWidgetInitOptions as rt, AgentWidgetActionContext as s, ColorShade as sa, VoiceDelegationFollowUp as si, AgentWidgetWebMcpConfig as sn, EventStreamConfig as sr, AgentWidgetLoadingIndicatorConfig as st, AgentConfig as t, RuntypeTurnCompleteEvent as ta, SpeechEngine as ti, AgentWidgetSuggestionsConfig as tn, ComposerStreamingSubmitBehavior as tr, AgentWidgetHistoryListAction as tt, AgentWidgetActionHandlerResult as u, DeepPartial as ua, VoiceDelegationStatus as ui, AgentWidgetWelcomeDismiss as un, EventStreamToolbarRenderContext as ur, AgentWidgetMarkdownRendererOverrides as ut, AgentWidgetAskUserQuestionFeature as v, SemanticSpacing as va, WebMcpConfirmHandler as vi, AskUserQuestionPrompt as vn, HistoryIdentityStatus as vr, AgentWidgetMessageRoleLayout as vt, AgentWidgetComposerConfig as w, ThemeValidationError as wa, WidgetPreferenceCapabilities as wi, ClientSession as wn, ImageContentPart as wr, AgentWidgetRenderHistoryStateContext as wt, AgentWidgetAttachmentsConfig as x, ShadowScale as xa, WidgetArtifactLayoutPreference as xi, ClientFeedbackRequest as xn, HistoryScope as xr, AgentWidgetRenderHistoryConversationContext as xt, AgentWidgetAskUserQuestionStyles as y, SemanticTokens as ya, WebMcpConfirmInfo as yi, AttachmentUploadContext as yn, HistoryPendingAction as yr, AgentWidgetParsedAction as yt, AgentWidgetContextMentionSource as z, resolveWelcomeConfig as za, isHistoryProviderError as zi, ComposerCustomAction as zn, PersonaArtifactFileMeta as zr, AgentWidgetStoredDraft as zt };
|
|
11164
|
+
export { AgentWidgetHistoryCopy as $, RuntypeClientChatRequest as $i, ComposerOptionsPayload as $n, ResumableHandle as $r, AgentWidgetSuggestionSurfaceConfig as $t, AgentWidgetContextMentionComposerCapability as A, SemanticTokens as Aa, WebMcpConfirmInfo as Ai, ComposerAction as An, InjectMessageOptions as Ar, AgentWidgetScrollBehaviorFeature as At, AgentWidgetContextMentionTokenRenderContext as B, AgentWidgetPlugin as Ba, HistoryDeleteAllOptions as Bi, ComposerBeforeSendResult as Bn, PersonaArtifactDisplayModeInput as Br, AgentWidgetStoredState as Bt, AgentWidgetComponentRenderer as C, LabelButtonTokens as Ca, VoicePlaybackEngine as Ci, ClientInitResponse as Cn, HistoryReturnSurface as Cr, AgentWidgetRenderHistoryOpenErrorContext as Ct, AgentWidgetContentSegment as D, ResolvedToken as Da, VoiceStatus as Di, ClientToolResultFrame as Dn, ImageContentPart as Dr, AgentWidgetResolvedSuggestion as Dt, AgentWidgetConfigPatch as E, RadiusScale as Ea, VoiceSessionBridge as Ei, ClientToolDefinition as En, IdleIndicatorRenderContext as Er, AgentWidgetRequestPayload as Et, AgentWidgetContextMentionPayload as F, ThemeValidationError as Fa, WidgetPreferenceCapabilities as Fi, ComposerActionPlacement as Fn, MessageRenderContext as Fr, AgentWidgetSessionInitTrigger as Ft, AgentWidgetCustomMessageAction as G, AgentWidgetSuggestionSelectContext as Ga, HistoryPageResult as Gi, ComposerLayout as Gn, PersonaArtifactManualUpsert as Gr, AgentWidgetStreamAnimationType as Gt, AgentWidgetContextProviderContext as H, AgentWidgetRailSectionContext as Ha, HistoryListResult as Hi, ComposerCustomAction as Hn, PersonaArtifactFileMeta as Hr, AgentWidgetStreamAnimationBuiltinType as Ht, AgentWidgetContextMentionRef as I, ThemeValidationResult as Ia, WidgetPreferenceSlice as Ii, ComposerActionPresentation as In, PcmStreamPlayer as Ir, AgentWidgetStarterSuggestionsConfig as It, AgentWidgetEvent as J, ResolvedWelcomeConfig as Ja, HistoryProviderErrorCode as Ji, ComposerModeGroup as Jn, PersonaArtifactStatusLabelContext as Jr, AgentWidgetSuggestion as Jt, AgentWidgetCustomMessageActionRole as K, AgentWidgetTransformSuggestionsContext as Ka, HistoryProvider as Ki, ComposerMode as Kn, PersonaArtifactPresentation as Kr, AgentWidgetStreamParser as Kt, AgentWidgetContextMentionResolveContext as L, ToggleGroupTokens as La, IconName as Li, ComposerActionRenderContext as Ln, PersonaArtifactActionContext as Lr, AgentWidgetStateSnapshot as Lt, AgentWidgetContextMentionItem as M, ShadowScale as Ma, WidgetArtifactLayoutPreference as Mi, ComposerActionContext as Mn, InjectUserMessageOptions as Mr, AgentWidgetScrollRestorePosition as Mt, AgentWidgetContextMentionItemRenderContext as N, SpacingScale as Na, WidgetHistoryInternals as Ni, ComposerActionContributionContext as Nn, LoadingIndicatorRenderContext as Nr, AgentWidgetScrollToBottomFeature as Nt, AgentWidgetContextMentionChipRenderContext as O, SemanticColors as Oa, VoiceTranscriptMetadata as Oi, ClientToolsFrame as On, InjectAssistantMessageOptions as Or, AgentWidgetSSEEventParser as Ot, AgentWidgetContextMentionMenuRenderContext as P, TextStyleTokens as Pa, WidgetLayoutSlot as Pi, ComposerActionOverflowConfig as Pn, MessageContent as Pr, AgentWidgetSessionInitHook as Pt, AgentWidgetHeadersFunction as Q, TargetResolver as Qi, ComposerModelPickerPresentation as Qn, ResolvedHistoryPresentation as Qr, AgentWidgetSuggestionSurface as Qt, AgentWidgetContextMentionSearchContext as R, TokenReference as Ra, registerIcons as Ri, ComposerActionVisibility as Rn, PersonaArtifactCustomAction as Rr, AgentWidgetStorageAdapter as Rt, AgentWidgetAvatarConfig as S, IconButtonTokens as Sa, VoiceMetrics as Si, ClientFeedbackType as Sn, HistoryPendingAction as Sr, AgentWidgetRenderHistoryHeaderContext as St, AgentWidgetConfig as T, PersonaThemePlugin as Ta, VoiceResult as Ti, ClientToolCallFrame as Tn, HistoryViewState as Tr, AgentWidgetRenderHistoryViewContext as Tt, AgentWidgetControllerEventMap as U, AgentWidgetRenderSuggestionContext as Ua, HistoryOperationContext as Ui, ComposerDisabledOption as Un, PersonaArtifactFilesDisplayRules as Ur, AgentWidgetStreamAnimationFeature as Ut, AgentWidgetContextProvider as V, AgentWidgetRailSection as Va, HistoryListOptions as Vi, ComposerButtonAction as Vn, PersonaArtifactDisplayRules as Vr, AgentWidgetStreamAnimationBuffer as Vt, AgentWidgetCustomFetch as W, AgentWidgetRenderWelcomeContext as Wa, HistoryPageOptions as Wi, ComposerInputAttributes as Wn, PersonaArtifactKind as Wr, AgentWidgetStreamAnimationPlaceholder as Wt, AgentWidgetFollowUpSuggestionsConfig as X, resolveWelcomeConfig as Xa, isHistoryProviderError as Xi, ComposerModel as Xn, ReadAloudState as Xr, AgentWidgetSuggestionChipsConfig as Xt, AgentWidgetFeatureFlags as Y, isWelcomeVisible as Ya, PreparedHistoryActivation as Yi, ComposerModeGroupPresentation as Yn, PreparedClientSession as Yr, AgentWidgetSuggestionBehavior as Yt, AgentWidgetHeaderLayoutConfig as Z, ResolvedTarget as Zi, ComposerModelPickerConfig as Zn, ResolvedHistoryCopy as Zr, AgentWidgetSuggestionSource as Zt, AgentWidgetArtifactsLayoutConfig as _, ColorPalette as _a, VoiceDelegationFollowUp as _i, AskUserQuestionPayload as _n, HistoryConversationPage as _r, AgentWidgetMessageLayoutConfig as _t, AgentRequestOptions as a, RuntypeClientInitResponse as aa, SpeechRequest as ai, AgentWidgetVoicePrewarmTrigger as an, ComposerSubmissionOptions as ar, AgentWidgetLauncherTeaserConfig as at, AgentWidgetAttachmentAdapter as b, CreateThemeOptions as ba, VoiceDelegationStatus as bi, ClientChatRequest as bn, HistoryDisplayProjection as br, AgentWidgetReadAloudEvent as bt, AgentWidgetActionEventPayload as c, RuntypeExecutionStreamEvent as ca, TextContentPart as ci, AgentWidgetWelcomeAlign as cn, ContentPart as cr, AgentWidgetMarkdownConfig as ct, AgentWidgetActionParser as d, RuntypeStreamEventOf as da, VoiceClientToolStatus as di, AgentWidgetWelcomeIcon as dn, EventStreamPayloadRenderContext as dr, AgentWidgetMentionLlmEntry as dt, RuntypeClientChatStreamEvent as ea, SSEEventRecord as ei, AgentWidgetSuggestionVariant as en, ComposerPhase as er, AgentWidgetHistoryFeature as et, AgentWidgetAgentRequestPayload as f, RuntypeTurnCompleteEvent as fa, VoiceClientTools as fi, AgentWidgetWelcomeIconBase as fn, EventStreamRowRenderContext as fr, AgentWidgetMentionTriggerChannel as ft, AgentWidgetArtifactsFeature as g, BorderScale as ga, VoiceConfig as gi, AskUserQuestionOption as gn, HistoryConversationDetail as gr, AgentWidgetMessageFeedback as gt, AgentWidgetApprovalDecisionOptions as h, ArtifactToolbarTokens as ha, VoiceClientToolsSnapshot as hi, ArtifactConfigPayload as hn, HeaderRenderContext as hr, AgentWidgetMessageActionsConfig as ht, AgentMessageMetadata as i, RuntypeClientInitRequest as ia, SpeechEngine as ii, AgentWidgetVoicePrewarmHook as in, ComposerStreamingSubmitBehavior as ir, AgentWidgetLauncherConfig as it, AgentWidgetContextMentionConfig as j, SemanticTypography as ja, WebMcpToolResult as ji, ComposerActionBase as jn, InjectSystemMessageOptions as jr, AgentWidgetScrollMode as jt, AgentWidgetContextMentionCommandContext as k, SemanticSpacing as ka, WebMcpConfirmHandler as ki, ClientVisitorGrant as kn, InjectComponentDirectiveOptions as kr, AgentWidgetSSEEventResult as kt, AgentWidgetActionHandler as l, RuntypeStepCompleteEvent as la, ToolAnnotations as li, AgentWidgetWelcomeConfig as ln, EventStreamBadgeColor as lr, AgentWidgetMarkdownOptions as lt, AgentWidgetApprovalConfig as m, ArtifactTabTokens as ma, VoiceClientToolsSession as mi, AgentWidgetWelcomeVariant as mn, EventStreamViewRenderContext as mr, AgentWidgetMessage as mt, AgentExecutionState as n, RuntypeClientFeedbackResponse as na, SlotRenderer as ni, AgentWidgetTimestampConfig as nn, ComposerResubmitOptions as nr, AgentWidgetHistoryRenderActions as nt, AgentToolsConfig as o, RuntypeClientResumeRequest as oa, StreamAnimationContext as oi, AgentWidgetVoiceStatusEvent as on, ComposerSubmissionSnapshot as or, AgentWidgetLayoutConfig as ot, AgentWidgetApproval as p, ArtifactPaneTokens as pa, VoiceClientToolsChannel as pi, AgentWidgetWelcomeIconPlacement as pn, EventStreamToolbarRenderContext as pr, AgentWidgetMentionTriggerPosition as pt, AgentWidgetDockConfig as q, AgentWidgetPluginStorage as qa, HistoryProviderError as qi, ComposerModeChipVisibility as qn, PersonaArtifactRecord as qr, AgentWidgetStreamParserResult as qt, AgentLoopConfig as r, RuntypeClientFeedbackType as ra, SpeechCallbacks as ri, AgentWidgetTooltipConfig as rn, ComposerState as rr, AgentWidgetInitOptions as rt, AgentWidgetActionContext as s, RuntypeClientResumeStreamEvent as sa, StreamAnimationPlugin as si, AgentWidgetWebMcpConfig as sn, ComposerSubmitKey as sr, AgentWidgetLoadingIndicatorConfig as st, AgentConfig as t, RuntypeClientFeedbackRequest as ta, SlotRenderContext as ti, AgentWidgetSuggestionsConfig as tn, ComposerQuote as tr, AgentWidgetHistoryListAction as tt, AgentWidgetActionHandlerResult as u, RuntypeStopReasonKind as ua, VoiceClientToolOutcome as ui, AgentWidgetWelcomeDismiss as un, EventStreamConfig as ur, AgentWidgetMarkdownRendererOverrides as ut, AgentWidgetAskUserQuestionFeature as v, ColorShade as va, VoiceDelegationRequest as vi, AskUserQuestionPrompt as vn, HistoryConversationPatch as vr, AgentWidgetMessageRoleLayout as vt, AgentWidgetComposerConfig as w, PersonaTheme as wa, VoiceProvider as wi, ClientSession as wn, HistoryScope as wr, AgentWidgetRenderHistoryStateContext as wt, AgentWidgetAttachmentsConfig as x, DeepPartial as xa, VoiceDirectTurn as xi, ClientFeedbackRequest as xn, HistoryIdentityStatus as xr, AgentWidgetRenderHistoryConversationContext as xt, AgentWidgetAskUserQuestionStyles as y, ComponentTokens as ya, VoiceDelegationResult as yi, AttachmentUploadContext as yn, HistoryConversationSummary as yr, AgentWidgetParsedAction as yt, AgentWidgetContextMentionSource as z, TypographyScale as za, renderLucideIcon as zi, ComposerAttachmentState as zn, PersonaArtifactDisplayMode as zr, AgentWidgetStoredDraft as zt };
|
|
11020
11165
|
export {}
|