@runtypelabs/persona 4.28.2 → 4.29.1
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.cjs +3 -3
- package/dist/approval-ui.d.cts +1 -1
- package/dist/approval-ui.d.ts +1 -1
- package/dist/approval-ui.js +3 -3
- package/dist/artifacts-ui.d.cts +2 -2
- package/dist/artifacts-ui.d.ts +2 -2
- package/dist/chunk-B1-_pp-Y.js +4 -0
- package/dist/{chunk-DrYAfpvk.js → chunk-BcLIgi1h.js} +1 -1
- package/dist/chunk-BkW8s3fj.js +2 -0
- package/dist/chunk-Bm2-bemv.js +1 -0
- package/dist/chunk-BvhTpG6k.js +1 -0
- package/dist/chunk-Csks3Qw1.js +1 -0
- package/dist/chunk-D5B629Mj.js +1 -0
- package/dist/chunk-DGlFKA0r.js +9 -0
- package/dist/chunk-DO9_WSpy.js +1 -0
- package/dist/chunk-DTDHeUsG.js +1 -0
- package/dist/chunk-DjFpGFGA.js +1 -0
- package/dist/{chunk-dRBlrLd7.js → chunk-DtmtfIkd.js} +1 -1
- package/dist/chunk-lA5CJCgK.js +1 -0
- package/dist/client-history.js +1 -1
- package/dist/client-stream.js +1 -1
- package/dist/codegen.cjs +1 -1
- package/dist/codegen.js +1 -1
- package/dist/{composer-input-C39npJaz.d.cts → composer-input-B0P4OtNi.d.cts} +1 -1
- package/dist/{composer-input-C39npJaz.d.ts → composer-input-B0P4OtNi.d.ts} +1 -1
- package/dist/{context-mention-manager-DLCB1l9E.d.cts → context-mention-manager-DmLI_RM6.d.cts} +1 -1
- package/dist/{context-mention-manager-DLCB1l9E.d.ts → context-mention-manager-DmLI_RM6.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-DVo1wbZs.d.cts} +1 -1
- package/dist/{defaults-DiAgWHXy.d.ts → defaults-DVo1wbZs.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-BMnlmKnY.d.cts} +1 -1
- package/dist/{fallback-speech-engine-C5_PUZjH.d.ts → fallback-speech-engine-BMnlmKnY.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 +50 -49
- 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 +2 -3
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +38 -37
- package/dist/index.js.map +1 -1
- package/dist/{markdown-parsers-loader-BBdyIEU7.d.cts → markdown-parsers-loader-CeovcyYf.d.cts} +1 -1
- package/dist/{markdown-parsers-loader-BBdyIEU7.d.ts → markdown-parsers-loader-CeovcyYf.d.ts} +1 -1
- package/dist/{preview-Chjb0bmI.d.cts → preview-Bkb4UrQC.d.cts} +2 -2
- package/dist/{preview-Chjb0bmI.d.ts → preview-Bkb4UrQC.d.ts} +2 -2
- package/dist/session-actions.js +1 -1
- package/dist/{session-a_qIp4xp.d.ts → session-iLyKipoM.d.cts} +28 -10
- package/dist/{session-a_qIp4xp.d.cts → session-iLyKipoM.d.ts} +28 -10
- package/dist/session-reconnect.cjs +1 -1
- package/dist/session-reconnect.d.cts +8 -2
- package/dist/session-reconnect.d.ts +8 -2
- package/dist/session-reconnect.js +1 -1
- package/dist/smart-dom-reader.d.cts +1 -1
- package/dist/smart-dom-reader.d.ts +1 -1
- package/dist/theme-editor-preview.cjs +61 -60
- package/dist/theme-editor-preview.d.cts +1 -1
- package/dist/theme-editor-preview.d.ts +1 -1
- package/dist/theme-editor-preview.js +40 -40
- 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-BuDirJkQ.d.cts} +200 -23
- package/dist/{types-BdO1jNRm.d.ts → types-BuDirJkQ.d.ts} +200 -23
- 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 +15 -5
- package/dist/voice-runtime.d.ts +15 -5
- package/dist/voice-runtime.js +5 -5
- 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-CXLjRt1k.d.cts} +26 -5
- package/dist/{webmcp-runtime-entry-B6bpVWSa.d.cts → webmcp-runtime-entry-CXLjRt1k.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/dist/widget.css +1 -1
- package/package.json +6 -1
- package/src/client-approve.test.ts +17 -1
- package/src/client-resume.ts +15 -3
- package/src/client.interrupt.test.ts +21 -0
- package/src/client.ts +61 -4
- package/src/client.voice-tools.test.ts +65 -0
- package/src/components/activity-row.ts +3 -2
- package/src/components/approval-actions.test.ts +8 -0
- package/src/components/approval-actions.ts +6 -2
- package/src/components/approval-bubble.test.ts +14 -0
- package/src/components/approval-bubble.ts +8 -1
- package/src/components/tool-bubble.ts +8 -5
- package/src/generated/runtype-openapi-contract.ts +39 -1
- package/src/index-core.ts +11 -0
- package/src/index-global.ts +6 -0
- package/src/resume-dedupe-local-only.test.ts +273 -0
- package/src/runtime/persist-state.test.ts +86 -0
- package/src/session-actions.ts +20 -6
- package/src/session-reconnect.ts +18 -1
- package/src/session.restored-browser-tools.test.ts +272 -0
- package/src/session.test.ts +26 -0
- package/src/session.ts +185 -31
- package/src/session.voice.test.ts +212 -0
- package/src/styles/widget.css +4 -2
- package/src/types.ts +178 -22
- package/src/ui.restored-browser-tools.test.ts +128 -0
- package/src/ui.ts +32 -18
- package/src/utils/formatting.test.ts +9 -1
- package/src/utils/formatting.ts +4 -0
- package/src/utils/local-only-message.ts +15 -0
- package/src/utils/restored-browser-state.ts +50 -0
- package/src/utils/storage.ts +12 -1
- package/src/utils/voice-prior-tool-results.ts +37 -0
- package/src/voice/runtype-voice-provider.ts +94 -7
- package/src/voice/session-voice-wiring.ts +27 -3
- package/src/voice/voice-client-tools-session.ts +116 -0
- package/src/voice/voice-delegation.ts +19 -3
- package/src/voice/voice.test.ts +396 -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-B6zZsT6F.js +0 -1
- package/dist/chunk-CztSjKHK.js +0 -9
- package/dist/chunk-DbhxjyOB.js +0 -4
- package/dist/chunk-DsdqLStH.js +0 -1
- package/dist/chunk-GIqbL2Eg.js +0 -1
- 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 { Ii as WidgetPreferenceCapabilities, Li as WidgetPreferenceSlice, Sa as DeepPartial, T as AgentWidgetConfig, Ta as PersonaTheme, ya as ColorShade } from "./types-BuDirJkQ.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-Bkb4UrQC.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 { Ii as WidgetPreferenceCapabilities, Li as WidgetPreferenceSlice, Sa as DeepPartial, T as AgentWidgetConfig, Ta as PersonaTheme, ya as ColorShade } from "./types-BuDirJkQ.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-Bkb4UrQC.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 {
|
|
2
|
-
import { i as DefaultsVersion, u as ThemeDefaultsVersion } from "./defaults-
|
|
1
|
+
import { Sa as DeepPartial, Ta as PersonaTheme, it as AgentWidgetLauncherConfig } from "./types-BuDirJkQ.cjs";
|
|
2
|
+
import { i as DefaultsVersion, u as ThemeDefaultsVersion } from "./defaults-DVo1wbZs.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 {
|
|
2
|
-
import { i as DefaultsVersion, u as ThemeDefaultsVersion } from "./defaults-
|
|
1
|
+
import { Sa as DeepPartial, Ta as PersonaTheme, it as AgentWidgetLauncherConfig } from "./types-BuDirJkQ.js";
|
|
2
|
+
import { i as DefaultsVersion, u as ThemeDefaultsVersion } from "./defaults-DVo1wbZs.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";
|
|
@@ -2411,7 +2440,7 @@ type RuntypeClientChatRequest = {
|
|
|
2411
2440
|
}>;
|
|
2412
2441
|
metadata?: Record<string, unknown>;
|
|
2413
2442
|
sessionId: string;
|
|
2414
|
-
submitMode?: "normal" | "interrupt" | "steer";
|
|
2443
|
+
submitMode?: "normal" | "interrupt" | "steer" | "auto";
|
|
2415
2444
|
turnId?: string;
|
|
2416
2445
|
voice?: {
|
|
2417
2446
|
spoken?: boolean;
|
|
@@ -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.
|
|
@@ -7714,6 +7754,13 @@ type VoiceDelegationRequest = {
|
|
|
7714
7754
|
role: string;
|
|
7715
7755
|
content: unknown;
|
|
7716
7756
|
}>;
|
|
7757
|
+
/**
|
|
7758
|
+
* `delegation_started.input.priorToolResults` as received: page tools the
|
|
7759
|
+
* server already ran for this turn, each `{ toolCallId, name, arguments,
|
|
7760
|
+
* result }`. Unvalidated. The chat turn records them as completed calls and
|
|
7761
|
+
* never runs them again.
|
|
7762
|
+
*/
|
|
7763
|
+
priorToolResults?: unknown;
|
|
7717
7764
|
/**
|
|
7718
7765
|
* Set when the server streams delegated answers (`delegation_stream`): called
|
|
7719
7766
|
* with each speakable piece of the turn's answer, in order, while it renders.
|
|
@@ -7797,7 +7844,112 @@ interface VoiceSessionBridge {
|
|
|
7797
7844
|
* declined too, as the approval TTL would.
|
|
7798
7845
|
*/
|
|
7799
7846
|
dropDelegation?(delegationId: string, expired?: boolean): void;
|
|
7847
|
+
/**
|
|
7848
|
+
* The page tools a voice call may offer the server's fast tier
|
|
7849
|
+
* (`client_tools` / `client_tool_call`). Returns `null` when WebMCP is not
|
|
7850
|
+
* enabled on this widget; the provider then does not declare `client_tools`.
|
|
7851
|
+
*/
|
|
7852
|
+
clientTools?(): VoiceClientTools | null;
|
|
7853
|
+
/**
|
|
7854
|
+
* The server answered a delegation itself (`delegation_completed.route ===
|
|
7855
|
+
* 'direct'`): record the visitor's turn and the spoken answer in the chat,
|
|
7856
|
+
* as a delegated turn would have. `assistantText` may be empty (no readout).
|
|
7857
|
+
*/
|
|
7858
|
+
recordDirectTurn?(turn: VoiceDirectTurn): void;
|
|
7859
|
+
}
|
|
7860
|
+
/** A delegation the server answered on its fast tier, for the chat history. */
|
|
7861
|
+
type VoiceDirectTurn = {
|
|
7862
|
+
delegationId: string;
|
|
7863
|
+
userText: string;
|
|
7864
|
+
userUtteranceIds: string[];
|
|
7865
|
+
assistantText: string;
|
|
7866
|
+
};
|
|
7867
|
+
/** `client_tool_result.status` (open enum on the wire). */
|
|
7868
|
+
type VoiceClientToolStatus = 'completed' | 'failed' | 'denied' | 'stale' | 'timeout' | (string & {});
|
|
7869
|
+
/** What running one `client_tool_call` produced. */
|
|
7870
|
+
type VoiceClientToolOutcome = {
|
|
7871
|
+
status: VoiceClientToolStatus;
|
|
7872
|
+
/** The page tool's return value (any JSON), on `completed`. */
|
|
7873
|
+
result?: unknown;
|
|
7874
|
+
error?: {
|
|
7875
|
+
message: string;
|
|
7876
|
+
};
|
|
7877
|
+
};
|
|
7878
|
+
/** The page's tool set as of now, plus its content fingerprint. */
|
|
7879
|
+
type VoiceClientToolsSnapshot = {
|
|
7880
|
+
/** Exactly what `/v1/client/chat` would send as `clientTools[]` (bare names). */
|
|
7881
|
+
tools: ClientToolDefinition[];
|
|
7882
|
+
fingerprint: string;
|
|
7883
|
+
};
|
|
7884
|
+
/** WebMCP access for a voice call (see {@link VoiceSessionBridge.clientTools}). */
|
|
7885
|
+
interface VoiceClientTools {
|
|
7886
|
+
snapshot(): Promise<VoiceClientToolsSnapshot>;
|
|
7887
|
+
/** Subscribe to registry changes; returns an unsubscribe. */
|
|
7888
|
+
onChange(listener: () => void): () => void;
|
|
7889
|
+
/**
|
|
7890
|
+
* Run a page tool. `autoConfirmReadOnly`: skip the confirm gate when the
|
|
7891
|
+
* tool's registry entry has `annotations.readOnlyHint === true`.
|
|
7892
|
+
*/
|
|
7893
|
+
execute(name: string, args: Record<string, unknown>, options: {
|
|
7894
|
+
signal: AbortSignal;
|
|
7895
|
+
autoConfirmReadOnly: boolean;
|
|
7896
|
+
}): Promise<VoiceClientToolOutcome>;
|
|
7897
|
+
/**
|
|
7898
|
+
* Start the call's fast-tier session (loads its lazy chunk): it sends
|
|
7899
|
+
* `client_tools` through `channel` now and on every change, and answers
|
|
7900
|
+
* the `client_tool_call` frames handed to it.
|
|
7901
|
+
*/
|
|
7902
|
+
open(channel: VoiceClientToolsChannel): Promise<VoiceClientToolsSession>;
|
|
7903
|
+
}
|
|
7904
|
+
/** The call socket, as the fast-tier session sees it. */
|
|
7905
|
+
type VoiceClientToolsChannel = {
|
|
7906
|
+
/** Send a frame; `false` when the call (socket) is gone. */
|
|
7907
|
+
send(frame: ClientToolsFrame | ClientToolResultFrame): boolean;
|
|
7908
|
+
/** The server cancelled this delegation: its tool results are not sent. */
|
|
7909
|
+
cancelled(delegationId: string): boolean;
|
|
7910
|
+
};
|
|
7911
|
+
/** A call's fast-tier session (see {@link VoiceClientTools.open}). */
|
|
7912
|
+
interface VoiceClientToolsSession {
|
|
7913
|
+
call(frame: Partial<ClientToolCallFrame>): void;
|
|
7914
|
+
/** Abort running tool calls (of one delegation, or all); they send nothing. */
|
|
7915
|
+
abort(delegationId?: string): void;
|
|
7916
|
+
close(): void;
|
|
7800
7917
|
}
|
|
7918
|
+
/**
|
|
7919
|
+
* Client → server (`runtype-browser-v1`, `client_tools` capability): the page's
|
|
7920
|
+
* tool set, after `session_config` and whenever its fingerprint changes. Names
|
|
7921
|
+
* are the FULL names the server calls back with: `webmcp:` prefixed for
|
|
7922
|
+
* `origin: 'webmcp'`, bare for `sdk`.
|
|
7923
|
+
*/
|
|
7924
|
+
type ClientToolsFrame = {
|
|
7925
|
+
type: 'client_tools';
|
|
7926
|
+
/** The content fingerprint the chat path computes for the same `clientTools[]`. */
|
|
7927
|
+
fingerprint: string;
|
|
7928
|
+
tools: ClientToolDefinition[];
|
|
7929
|
+
};
|
|
7930
|
+
/** Server → client: the fast tier picked a page tool for this delegation. */
|
|
7931
|
+
type ClientToolCallFrame = {
|
|
7932
|
+
type: 'client_tool_call';
|
|
7933
|
+
delegationId: string;
|
|
7934
|
+
toolCallId: string;
|
|
7935
|
+
/** `webmcp:<name>` or bare; the client accepts both. */
|
|
7936
|
+
name: string;
|
|
7937
|
+
arguments: Record<string, unknown>;
|
|
7938
|
+
/** The `client_tools` fingerprint the call was chosen from. */
|
|
7939
|
+
fingerprint: string;
|
|
7940
|
+
timeoutMs: number;
|
|
7941
|
+
};
|
|
7942
|
+
/** Client → server: the answer to one {@link ClientToolCallFrame}. */
|
|
7943
|
+
type ClientToolResultFrame = {
|
|
7944
|
+
type: 'client_tool_result';
|
|
7945
|
+
delegationId: string;
|
|
7946
|
+
toolCallId: string;
|
|
7947
|
+
status: VoiceClientToolStatus;
|
|
7948
|
+
result?: unknown;
|
|
7949
|
+
error?: {
|
|
7950
|
+
message: string;
|
|
7951
|
+
};
|
|
7952
|
+
};
|
|
7801
7953
|
/**
|
|
7802
7954
|
* Extra context for an approval decision, surfaced to `onDecision` and to the
|
|
7803
7955
|
* `approve`/`deny` callbacks passed to the `renderApproval` plugin hook.
|
|
@@ -8676,8 +8828,21 @@ type ClientChatRequest = {
|
|
|
8676
8828
|
*/
|
|
8677
8829
|
voice?: {
|
|
8678
8830
|
spoken: true;
|
|
8831
|
+
/**
|
|
8832
|
+
* Page tools the voice server already ran for this hand-back
|
|
8833
|
+
* (`delegation_started.input.priorToolResults`), sent only when it carried
|
|
8834
|
+
* some. The agent narrates their results instead of calling them again.
|
|
8835
|
+
*/
|
|
8836
|
+
priorToolResults?: VoicePriorToolResult[];
|
|
8679
8837
|
};
|
|
8680
8838
|
};
|
|
8839
|
+
/** A page tool call the voice server already ran, as `/v1/client/chat` takes it. */
|
|
8840
|
+
type VoicePriorToolResult = {
|
|
8841
|
+
toolCallId: string;
|
|
8842
|
+
name: string;
|
|
8843
|
+
arguments: Record<string, unknown>;
|
|
8844
|
+
result: unknown;
|
|
8845
|
+
};
|
|
8681
8846
|
/**
|
|
8682
8847
|
* Feedback types supported by the API
|
|
8683
8848
|
*/
|
|
@@ -9439,7 +9604,8 @@ type AgentWidgetPersistStateConfig = {
|
|
|
9439
9604
|
*/
|
|
9440
9605
|
storage?: 'local' | 'session';
|
|
9441
9606
|
/**
|
|
9442
|
-
* Prefix for storage keys.
|
|
9607
|
+
* Prefix for storage keys. Also scopes the default transcript key
|
|
9608
|
+
* (`${keyPrefix}state` in localStorage) when no `storageAdapter` is given.
|
|
9443
9609
|
* @default 'persona-'
|
|
9444
9610
|
*/
|
|
9445
9611
|
keyPrefix?: string;
|
|
@@ -10562,6 +10728,8 @@ type AgentWidgetReasoning = {
|
|
|
10562
10728
|
type AgentWidgetToolCall = {
|
|
10563
10729
|
/** Optional approval state for activity-row status chrome. */
|
|
10564
10730
|
approvalStatus?: "pending" | "approved" | "denied" | "timeout";
|
|
10731
|
+
/** Terminal browser work whose callback was lost when the chat restarted. */
|
|
10732
|
+
interrupted?: boolean;
|
|
10565
10733
|
id: string;
|
|
10566
10734
|
name?: string;
|
|
10567
10735
|
status: "pending" | "running" | "complete";
|
|
@@ -10588,6 +10756,8 @@ type AgentWidgetToolCall = {
|
|
|
10588
10756
|
type AgentWidgetApproval = {
|
|
10589
10757
|
id: string;
|
|
10590
10758
|
status: "pending" | "approved" | "denied" | "timeout";
|
|
10759
|
+
/** A browser callback lost on restart. The approval expires with status `timeout`. */
|
|
10760
|
+
interrupted?: boolean;
|
|
10591
10761
|
agentId: string;
|
|
10592
10762
|
executionId: string;
|
|
10593
10763
|
toolName: string;
|
|
@@ -10709,6 +10879,13 @@ type AgentWidgetMessage = {
|
|
|
10709
10879
|
* model as conversation.
|
|
10710
10880
|
*/
|
|
10711
10881
|
voiceCaption?: boolean;
|
|
10882
|
+
/**
|
|
10883
|
+
* Set on widget-generated failure notices (a failed dispatch, a rejected
|
|
10884
|
+
* approval decision, a reconnect that gave up). The bubble renders in this
|
|
10885
|
+
* browser only: it is never sent to the model as conversation history and
|
|
10886
|
+
* never written to the storage adapter.
|
|
10887
|
+
*/
|
|
10888
|
+
localOnly?: boolean;
|
|
10712
10889
|
/**
|
|
10713
10890
|
* Raw structured payload for this message (e.g., JSON action response).
|
|
10714
10891
|
* Populated automatically when structured parsers run.
|
|
@@ -11016,5 +11193,5 @@ type AgentWidgetInitOptions = {
|
|
|
11016
11193
|
debugTools?: boolean;
|
|
11017
11194
|
};
|
|
11018
11195
|
//#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 };
|
|
11196
|
+
export { AgentWidgetHistoryCopy as $, TargetResolver as $i, ComposerOptionsPayload as $n, ResumableHandle as $r, AgentWidgetSuggestionSurfaceConfig as $t, AgentWidgetContextMentionComposerCapability as A, SemanticSpacing as Aa, WebMcpConfirmHandler as Ai, ComposerAction as An, InjectMessageOptions as Ar, AgentWidgetScrollBehaviorFeature as At, AgentWidgetContextMentionTokenRenderContext as B, TypographyScale as Ba, renderLucideIcon as Bi, ComposerBeforeSendResult as Bn, PersonaArtifactDisplayModeInput as Br, AgentWidgetStoredState as Bt, AgentWidgetComponentRenderer as C, IconButtonTokens as Ca, VoicePlaybackEngine as Ci, ClientInitResponse as Cn, HistoryReturnSurface as Cr, AgentWidgetRenderHistoryOpenErrorContext as Ct, AgentWidgetContentSegment as D, RadiusScale as Da, VoiceSessionBridge as Di, ClientToolResultFrame as Dn, ImageContentPart as Dr, AgentWidgetResolvedSuggestion as Dt, AgentWidgetConfigPatch as E, PersonaThemePlugin as Ea, VoiceResult as Ei, ClientToolDefinition as En, IdleIndicatorRenderContext as Er, AgentWidgetRequestPayload as Et, AgentWidgetContextMentionPayload as F, TextStyleTokens as Fa, WidgetLayoutSlot as Fi, ComposerActionPlacement as Fn, MessageRenderContext as Fr, AgentWidgetSessionInitTrigger as Ft, AgentWidgetCustomMessageAction as G, AgentWidgetRenderWelcomeContext as Ga, HistoryPageOptions as Gi, ComposerLayout as Gn, PersonaArtifactManualUpsert as Gr, AgentWidgetStreamAnimationType as Gt, AgentWidgetContextProviderContext as H, AgentWidgetRailSection as Ha, HistoryListOptions as Hi, ComposerCustomAction as Hn, PersonaArtifactFileMeta as Hr, AgentWidgetStreamAnimationBuiltinType as Ht, AgentWidgetContextMentionRef as I, ThemeValidationError as Ia, WidgetPreferenceCapabilities as Ii, ComposerActionPresentation as In, PcmStreamPlayer as Ir, AgentWidgetStarterSuggestionsConfig as It, AgentWidgetEvent as J, AgentWidgetPluginStorage as Ja, HistoryProviderError as Ji, ComposerModeGroup as Jn, PersonaArtifactStatusLabelContext as Jr, AgentWidgetSuggestion as Jt, AgentWidgetCustomMessageActionRole as K, AgentWidgetSuggestionSelectContext as Ka, HistoryPageResult as Ki, ComposerMode as Kn, PersonaArtifactPresentation as Kr, AgentWidgetStreamParser as Kt, AgentWidgetContextMentionResolveContext as L, ThemeValidationResult as La, WidgetPreferenceSlice as Li, ComposerActionRenderContext as Ln, PersonaArtifactActionContext as Lr, AgentWidgetStateSnapshot as Lt, AgentWidgetContextMentionItem as M, SemanticTypography as Ma, WebMcpToolResult as Mi, ComposerActionContext as Mn, InjectUserMessageOptions as Mr, AgentWidgetScrollRestorePosition as Mt, AgentWidgetContextMentionItemRenderContext as N, ShadowScale as Na, WidgetArtifactLayoutPreference as Ni, ComposerActionContributionContext as Nn, LoadingIndicatorRenderContext as Nr, AgentWidgetScrollToBottomFeature as Nt, AgentWidgetContextMentionChipRenderContext as O, ResolvedToken as Oa, VoiceStatus as Oi, ClientToolsFrame as On, InjectAssistantMessageOptions as Or, AgentWidgetSSEEventParser as Ot, AgentWidgetContextMentionMenuRenderContext as P, SpacingScale as Pa, WidgetHistoryInternals as Pi, ComposerActionOverflowConfig as Pn, MessageContent as Pr, AgentWidgetSessionInitHook as Pt, AgentWidgetHeadersFunction as Q, ResolvedTarget as Qi, ComposerModelPickerPresentation as Qn, ResolvedHistoryPresentation as Qr, AgentWidgetSuggestionSurface as Qt, AgentWidgetContextMentionSearchContext as R, ToggleGroupTokens as Ra, IconName as Ri, ComposerActionVisibility as Rn, PersonaArtifactCustomAction as Rr, AgentWidgetStorageAdapter as Rt, AgentWidgetAvatarConfig as S, DeepPartial as Sa, VoiceMetrics as Si, ClientFeedbackType as Sn, HistoryPendingAction as Sr, AgentWidgetRenderHistoryHeaderContext as St, AgentWidgetConfig as T, PersonaTheme as Ta, VoiceProvider as Ti, ClientToolCallFrame as Tn, HistoryViewState as Tr, AgentWidgetRenderHistoryViewContext as Tt, AgentWidgetControllerEventMap as U, AgentWidgetRailSectionContext as Ua, HistoryListResult as Ui, ComposerDisabledOption as Un, PersonaArtifactFilesDisplayRules as Ur, AgentWidgetStreamAnimationFeature as Ut, AgentWidgetContextProvider as V, AgentWidgetPlugin as Va, HistoryDeleteAllOptions as Vi, ComposerButtonAction as Vn, PersonaArtifactDisplayRules as Vr, AgentWidgetStreamAnimationBuffer as Vt, AgentWidgetCustomFetch as W, AgentWidgetRenderSuggestionContext as Wa, HistoryOperationContext as Wi, ComposerInputAttributes as Wn, PersonaArtifactKind as Wr, AgentWidgetStreamAnimationPlaceholder as Wt, AgentWidgetFollowUpSuggestionsConfig as X, isWelcomeVisible as Xa, PreparedHistoryActivation as Xi, ComposerModel as Xn, ReadAloudState as Xr, AgentWidgetSuggestionChipsConfig as Xt, AgentWidgetFeatureFlags as Y, ResolvedWelcomeConfig as Ya, HistoryProviderErrorCode as Yi, ComposerModeGroupPresentation as Yn, PreparedClientSession as Yr, AgentWidgetSuggestionBehavior as Yt, AgentWidgetHeaderLayoutConfig as Z, resolveWelcomeConfig as Za, isHistoryProviderError as Zi, ComposerModelPickerConfig as Zn, ResolvedHistoryCopy as Zr, AgentWidgetSuggestionSource as Zt, AgentWidgetArtifactsLayoutConfig as _, BorderScale as _a, VoiceDelegationFollowUp as _i, AskUserQuestionPayload as _n, HistoryConversationPage as _r, AgentWidgetMessageLayoutConfig as _t, AgentRequestOptions as a, RuntypeClientInitRequest as aa, SpeechRequest as ai, AgentWidgetVoicePrewarmTrigger as an, ComposerSubmissionOptions as ar, AgentWidgetLauncherTeaserConfig as at, AgentWidgetAttachmentAdapter as b, ComponentTokens as ba, VoiceDelegationStatus as bi, ClientChatRequest as bn, HistoryDisplayProjection as br, AgentWidgetReadAloudEvent as bt, AgentWidgetActionEventPayload as c, RuntypeClientResumeStreamEvent as ca, TextContentPart as ci, AgentWidgetWelcomeAlign as cn, ContentPart as cr, AgentWidgetMarkdownConfig as ct, AgentWidgetActionParser as d, RuntypeStopReasonKind as da, VoiceClientToolStatus as di, AgentWidgetWelcomeIcon as dn, EventStreamPayloadRenderContext as dr, AgentWidgetMentionLlmEntry as dt, RuntypeClientChatRequest as ea, SSEEventRecord as ei, AgentWidgetSuggestionVariant as en, ComposerPhase as er, AgentWidgetHistoryFeature as et, AgentWidgetAgentRequestPayload as f, RuntypeStreamEventOf as fa, VoiceClientTools as fi, AgentWidgetWelcomeIconBase as fn, EventStreamRowRenderContext as fr, AgentWidgetMentionTriggerChannel as ft, AgentWidgetArtifactsFeature as g, ArtifactToolbarTokens as ga, VoiceConfig as gi, AskUserQuestionOption as gn, HistoryConversationDetail as gr, AgentWidgetMessageFeedback as gt, AgentWidgetApprovalDecisionOptions as h, ArtifactTabTokens as ha, VoiceClientToolsSnapshot as hi, ArtifactConfigPayload as hn, HeaderRenderContext as hr, AgentWidgetMessageActionsConfig as ht, AgentMessageMetadata as i, RuntypeClientFeedbackType as ia, SpeechEngine as ii, AgentWidgetVoicePrewarmHook as in, ComposerStreamingSubmitBehavior as ir, AgentWidgetLauncherConfig as it, AgentWidgetContextMentionConfig as j, SemanticTokens as ja, WebMcpConfirmInfo as ji, ComposerActionBase as jn, InjectSystemMessageOptions as jr, AgentWidgetScrollMode as jt, AgentWidgetContextMentionCommandContext as k, SemanticColors as ka, VoiceTranscriptMetadata as ki, ClientVisitorGrant as kn, InjectComponentDirectiveOptions as kr, AgentWidgetSSEEventResult as kt, AgentWidgetActionHandler as l, RuntypeExecutionStreamEvent as la, ToolAnnotations as li, AgentWidgetWelcomeConfig as ln, EventStreamBadgeColor as lr, AgentWidgetMarkdownOptions as lt, AgentWidgetApprovalConfig as m, ArtifactPaneTokens as ma, VoiceClientToolsSession as mi, AgentWidgetWelcomeVariant as mn, EventStreamViewRenderContext as mr, AgentWidgetMessage as mt, AgentExecutionState as n, RuntypeClientFeedbackRequest as na, SlotRenderer as ni, AgentWidgetTimestampConfig as nn, ComposerResubmitOptions as nr, AgentWidgetHistoryRenderActions as nt, AgentToolsConfig as o, RuntypeClientInitResponse as oa, StreamAnimationContext as oi, AgentWidgetVoiceStatusEvent as on, ComposerSubmissionSnapshot as or, AgentWidgetLayoutConfig as ot, AgentWidgetApproval as p, RuntypeTurnCompleteEvent as pa, VoiceClientToolsChannel as pi, AgentWidgetWelcomeIconPlacement as pn, EventStreamToolbarRenderContext as pr, AgentWidgetMentionTriggerPosition as pt, AgentWidgetDockConfig as q, AgentWidgetTransformSuggestionsContext as qa, HistoryProvider as qi, ComposerModeChipVisibility as qn, PersonaArtifactRecord as qr, AgentWidgetStreamParserResult as qt, AgentLoopConfig as r, RuntypeClientFeedbackResponse as ra, SpeechCallbacks as ri, AgentWidgetTooltipConfig as rn, ComposerState as rr, AgentWidgetInitOptions as rt, AgentWidgetActionContext as s, RuntypeClientResumeRequest as sa, StreamAnimationPlugin as si, AgentWidgetWebMcpConfig as sn, ComposerSubmitKey as sr, AgentWidgetLoadingIndicatorConfig as st, AgentConfig as t, RuntypeClientChatStreamEvent as ta, SlotRenderContext as ti, AgentWidgetSuggestionsConfig as tn, ComposerQuote as tr, AgentWidgetHistoryListAction as tt, AgentWidgetActionHandlerResult as u, RuntypeStepCompleteEvent as ua, VoiceClientToolOutcome as ui, AgentWidgetWelcomeDismiss as un, EventStreamConfig as ur, AgentWidgetMarkdownRendererOverrides as ut, AgentWidgetAskUserQuestionFeature as v, ColorPalette as va, VoiceDelegationRequest as vi, AskUserQuestionPrompt as vn, HistoryConversationPatch as vr, AgentWidgetMessageRoleLayout as vt, AgentWidgetComposerConfig as w, LabelButtonTokens as wa, VoicePriorToolResult as wi, ClientSession as wn, HistoryScope as wr, AgentWidgetRenderHistoryStateContext as wt, AgentWidgetAttachmentsConfig as x, CreateThemeOptions as xa, VoiceDirectTurn as xi, ClientFeedbackRequest as xn, HistoryIdentityStatus as xr, AgentWidgetRenderHistoryConversationContext as xt, AgentWidgetAskUserQuestionStyles as y, ColorShade as ya, VoiceDelegationResult as yi, AttachmentUploadContext as yn, HistoryConversationSummary as yr, AgentWidgetParsedAction as yt, AgentWidgetContextMentionSource as z, TokenReference as za, registerIcons as zi, ComposerAttachmentState as zn, PersonaArtifactDisplayMode as zr, AgentWidgetStoredDraft as zt };
|
|
11020
11197
|
export {}
|