@runtypelabs/persona 4.31.0 → 4.32.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/activity-ui.cjs +2 -2
- package/dist/activity-ui.d.cts +11 -3
- package/dist/activity-ui.d.ts +11 -3
- package/dist/activity-ui.js +1 -1
- 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 +2 -2
- package/dist/approval-ui.d.ts +2 -2
- package/dist/artifacts-ui.d.cts +3 -3
- package/dist/artifacts-ui.d.ts +3 -3
- package/dist/background-runtime.d.cts +1 -1
- package/dist/background-runtime.d.ts +1 -1
- package/dist/chunk-CkE90FtA.js +2 -0
- package/dist/{chunk-Co4LmTFv.js → chunk-CzZBmTLd.js} +1 -1
- package/dist/chunk-DDAwu89-.js +1 -0
- package/dist/{chunk-WA9UucGf.js → chunk-DZg9bFK6.js} +1 -1
- package/dist/{chunk-BBtVdcKU.js → chunk-FEzOcZof.js} +1 -1
- package/dist/client-dispatch.js +1 -1
- package/dist/client-history.js +1 -1
- package/dist/codegen.cjs +1 -1
- package/dist/codegen.js +1 -1
- package/dist/composer-actions-runtime.d.cts +2 -2
- package/dist/composer-actions-runtime.d.ts +2 -2
- package/dist/{composer-input-C2_WizXV.d.cts → composer-input-dwg_o9Z-.d.cts} +1 -1
- package/dist/{composer-input-C2_WizXV.d.ts → composer-input-dwg_o9Z-.d.ts} +1 -1
- package/dist/{composer-store-BV6kTlKv.d.cts → composer-store-Dw7Zbqxr.d.cts} +1 -1
- package/dist/{composer-store-BV6kTlKv.d.ts → composer-store-Dw7Zbqxr.d.ts} +1 -1
- package/dist/{context-mention-manager-BfZzcydV.d.cts → context-mention-manager-D2p0-JH-.d.cts} +2 -2
- package/dist/{context-mention-manager-BfZzcydV.d.ts → context-mention-manager-D2p0-JH-.d.ts} +2 -2
- 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-DiTeXyr3.d.cts → defaults-CjX0kKzb.d.cts} +1 -1
- package/dist/{defaults-DiTeXyr3.d.ts → defaults-CjX0kKzb.d.ts} +1 -1
- package/dist/dictation-runtime.d.cts +2 -2
- package/dist/dictation-runtime.d.ts +2 -2
- package/dist/event-stream-view.d.cts +1 -1
- package/dist/event-stream-view.d.ts +1 -1
- package/dist/{fallback-speech-engine-DZ6Of7VU.d.cts → fallback-speech-engine-DmF7MczI.d.cts} +1 -1
- package/dist/{fallback-speech-engine-DZ6Of7VU.d.ts → fallback-speech-engine-DmF7MczI.d.ts} +1 -1
- package/dist/{feature-preferences-BT549D_E.d.cts → feature-preferences-CVFDt9Xf.d.cts} +1 -1
- package/dist/{feature-preferences-BT549D_E.d.ts → feature-preferences-CVFDt9Xf.d.ts} +1 -1
- package/dist/forms-ui.d.cts +2 -2
- package/dist/forms-ui.d.ts +2 -2
- package/dist/{history-confirm-dialog-Cm4oK4am.d.cts → history-confirm-dialog-DJEXsTyE.d.cts} +1 -1
- package/dist/{history-confirm-dialog-Cm4oK4am.d.ts → history-confirm-dialog-DJEXsTyE.d.ts} +1 -1
- package/dist/history-shell.d.cts +6 -6
- package/dist/history-shell.d.ts +6 -6
- package/dist/history-view.d.cts +1 -1
- package/dist/history-view.d.ts +1 -1
- package/dist/index.cjs +10 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.global.js +1 -1
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +23 -22
- package/dist/index.js.map +1 -1
- package/dist/{loading-label-runtime-loader-DmiPDkBu.d.cts → loading-label-runtime-loader-CPxnoaoi.d.cts} +1 -1
- package/dist/{loading-label-runtime-loader-DmiPDkBu.d.ts → loading-label-runtime-loader-CPxnoaoi.d.ts} +1 -1
- package/dist/loading-label-runtime.d.cts +1 -1
- package/dist/loading-label-runtime.d.ts +1 -1
- package/dist/{message-bubble-D0rosKuK.d.cts → message-bubble-CkZGlCLC.d.cts} +1 -1
- package/dist/{message-bubble-D0rosKuK.d.ts → message-bubble-CkZGlCLC.d.ts} +1 -1
- package/dist/preferences-runtime.d.cts +1 -1
- package/dist/preferences-runtime.d.ts +1 -1
- package/dist/{preview-DRU27q-X.d.cts → preview-DdUvoLb4.d.cts} +2 -2
- package/dist/{preview-DRU27q-X.d.ts → preview-DdUvoLb4.d.ts} +2 -2
- package/dist/{registry-DRk3VMFc.d.cts → registry-Dz4iHNST.d.cts} +1 -1
- package/dist/{registry-DRk3VMFc.d.ts → registry-Dz4iHNST.d.ts} +1 -1
- package/dist/{session-Dj4bOm5y.d.cts → session-Baxp9iRK.d.cts} +14 -8
- package/dist/{session-Dj4bOm5y.d.ts → session-Baxp9iRK.d.ts} +14 -8
- 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 +46 -45
- package/dist/theme-editor-preview.d.cts +1 -1
- package/dist/theme-editor-preview.d.ts +1 -1
- package/dist/theme-editor-preview.js +19 -18
- 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/{tool-loading-animation-D1MS5Ace.d.cts → tool-loading-animation-un3kA5Ur.d.cts} +1 -1
- package/dist/{tool-loading-animation-D1MS5Ace.d.ts → tool-loading-animation-un3kA5Ur.d.ts} +1 -1
- package/dist/{turn-activity-ui-CorwdlI0.d.cts → turn-activity-ui-BGNhtMcH.d.cts} +2 -2
- package/dist/{turn-activity-ui-CorwdlI0.d.ts → turn-activity-ui-BGNhtMcH.d.ts} +2 -2
- package/dist/turn-activity-ui.d.cts +1 -1
- package/dist/turn-activity-ui.d.ts +1 -1
- package/dist/{types-CSXHl5cN.d.cts → types-BOZHQIk0.d.cts} +8 -1
- package/dist/{types-CSXHl5cN.d.ts → types-BOZHQIk0.d.ts} +8 -1
- package/dist/voice-client-tools.d.cts +1 -1
- package/dist/voice-client-tools.d.ts +1 -1
- package/dist/voice-runtime.cjs +1 -1
- package/dist/voice-runtime.d.cts +2 -2
- package/dist/voice-runtime.d.ts +2 -2
- package/dist/voice-runtime.js +1 -1
- package/dist/voice-worklet-player.d.cts +2 -2
- package/dist/voice-worklet-player.d.ts +2 -2
- package/dist/{webmcp-runtime-entry-DpDN6k-6.d.cts → webmcp-runtime-entry-DuAG1_yF.d.cts} +1 -1
- package/dist/{webmcp-runtime-entry-DpDN6k-6.d.ts → webmcp-runtime-entry-DuAG1_yF.d.ts} +1 -1
- package/dist/webmcp-runtime.d.cts +1 -1
- package/dist/webmcp-runtime.d.ts +1 -1
- package/dist/widget.css +1 -1
- package/package.json +1 -1
- package/src/activity-ui.ts +23 -0
- package/src/components/disclosure-animation.ts +5 -0
- package/src/components/tool-bubble.ts +1 -0
- package/src/index-core.ts +1 -0
- package/src/styles/widget.css +6 -0
- package/src/types.ts +8 -0
- package/src/ui.footer-visibility.test.ts +54 -0
- package/src/ui.reveal-tool-call.test.ts +258 -0
- package/src/ui.ts +127 -5
- package/dist/chunk-B3OrH9Ng.js +0 -2
- package/dist/chunk-CjhA_5Jk.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as createLoadingLabelLifecycle, r as applyLoadingLabel, t as applyLoadingAnimation } from "./tool-loading-animation-
|
|
1
|
+
import { n as createLoadingLabelLifecycle, r as applyLoadingLabel, t as applyLoadingAnimation } from "./tool-loading-animation-un3kA5Ur.cjs";
|
|
2
2
|
//#region src/loading-label-runtime-loader.d.ts
|
|
3
3
|
/** Internal contract: resolve/decorate fresh labels, then manage committed hooks.
|
|
4
4
|
* A future renderer replacement must preserve this lifecycle and readiness boundary.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as createLoadingLabelLifecycle, r as applyLoadingLabel, t as applyLoadingAnimation } from "./tool-loading-animation-
|
|
1
|
+
import { n as createLoadingLabelLifecycle, r as applyLoadingLabel, t as applyLoadingAnimation } from "./tool-loading-animation-un3kA5Ur.js";
|
|
2
2
|
//#region src/loading-label-runtime-loader.d.ts
|
|
3
3
|
/** Internal contract: resolve/decorate fresh labels, then manage committed hooks.
|
|
4
4
|
* A future renderer replacement must preserve this lifecycle and readiness boundary.
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as createLoadingLabelLifecycle, r as applyLoadingLabel, t as applyLoadingAnimation } from "./tool-loading-animation-
|
|
1
|
+
import { n as createLoadingLabelLifecycle, r as applyLoadingLabel, t as applyLoadingAnimation } from "./tool-loading-animation-un3kA5Ur.cjs";
|
|
2
2
|
export { applyLoadingAnimation, applyLoadingLabel, createLoadingLabelLifecycle };
|
|
3
3
|
export {}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as createLoadingLabelLifecycle, r as applyLoadingLabel, t as applyLoadingAnimation } from "./tool-loading-animation-
|
|
1
|
+
import { n as createLoadingLabelLifecycle, r as applyLoadingLabel, t as applyLoadingAnimation } from "./tool-loading-animation-un3kA5Ur.js";
|
|
2
2
|
export { applyLoadingAnimation, applyLoadingLabel, createLoadingLabelLifecycle };
|
|
3
3
|
export {}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ct as AgentWidgetMessage, Et as AgentWidgetMessageLayoutConfig, Tt as AgentWidgetMessageFeedback,
|
|
1
|
+
import { Ct as AgentWidgetMessage, Et as AgentWidgetMessageLayoutConfig, Tt as AgentWidgetMessageFeedback, gi as LoadingIndicatorRenderContext, ho as MessageGeometryTokens, k as AgentWidgetConfig, wt as AgentWidgetMessageActionsConfig } from "./types-BOZHQIk0.cjs";
|
|
2
2
|
//#region src/components/message-bubble.d.ts
|
|
3
3
|
type LoadingIndicatorRenderer = (context: LoadingIndicatorRenderContext) => HTMLElement | null;
|
|
4
4
|
type MessageTransform = (context: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ct as AgentWidgetMessage, Et as AgentWidgetMessageLayoutConfig, Tt as AgentWidgetMessageFeedback,
|
|
1
|
+
import { Ct as AgentWidgetMessage, Et as AgentWidgetMessageLayoutConfig, Tt as AgentWidgetMessageFeedback, gi as LoadingIndicatorRenderContext, ho as MessageGeometryTokens, k as AgentWidgetConfig, wt as AgentWidgetMessageActionsConfig } from "./types-BOZHQIk0.js";
|
|
2
2
|
//#region src/components/message-bubble.d.ts
|
|
3
3
|
type LoadingIndicatorRenderer = (context: LoadingIndicatorRenderContext) => HTMLElement | null;
|
|
4
4
|
type MessageTransform = (context: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ct as AgentWidgetMessage,
|
|
2
|
-
import { Tn as AgentWidgetController } from "./session-
|
|
1
|
+
import { Ct as AgentWidgetMessage, fo as DeepPartial, go as PersonaTheme, k as AgentWidgetConfig } from "./types-BOZHQIk0.cjs";
|
|
2
|
+
import { Tn as AgentWidgetController } from "./session-Baxp9iRK.cjs";
|
|
3
3
|
//#region src/theme-editor/preview-utils.d.ts
|
|
4
4
|
declare const DEVICE_DIMENSIONS: Record<string, {
|
|
5
5
|
w: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ct as AgentWidgetMessage,
|
|
2
|
-
import { Tn as AgentWidgetController } from "./session-
|
|
1
|
+
import { Ct as AgentWidgetMessage, fo as DeepPartial, go as PersonaTheme, k as AgentWidgetConfig } from "./types-BOZHQIk0.js";
|
|
2
|
+
import { Tn as AgentWidgetController } from "./session-Baxp9iRK.js";
|
|
3
3
|
//#region src/theme-editor/preview-utils.d.ts
|
|
4
4
|
declare const DEVICE_DIMENSIONS: Record<string, {
|
|
5
5
|
w: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as AgentWidgetComponentRenderer, T as AgentWidgetComponentRenderContext } from "./types-
|
|
1
|
+
import { D as AgentWidgetComponentRenderer, T as AgentWidgetComponentRenderContext } from "./types-BOZHQIk0.cjs";
|
|
2
2
|
import { Marked } from "marked";
|
|
3
3
|
import DOMPurify from "dompurify";
|
|
4
4
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as AgentWidgetComponentRenderer, T as AgentWidgetComponentRenderContext } from "./types-
|
|
1
|
+
import { D as AgentWidgetComponentRenderer, T as AgentWidgetComponentRenderContext } from "./types-BOZHQIk0.js";
|
|
2
2
|
import { Marked } from "marked";
|
|
3
3
|
import DOMPurify from "dompurify";
|
|
4
4
|
//#endregion
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as ComponentContext } from "./registry-
|
|
2
|
-
import { $ as AgentWidgetEvent, $r as
|
|
3
|
-
import { n as MentionSubmitBundle } from "./context-mention-manager-
|
|
4
|
-
import { i as MessageTransform } from "./message-bubble-
|
|
5
|
-
import "./feature-preferences-
|
|
6
|
-
import { t as WebMcpBridge$1 } from "./webmcp-runtime-entry-
|
|
7
|
-
import "./fallback-speech-engine-
|
|
8
|
-
import "./defaults-
|
|
1
|
+
import { t as ComponentContext } from "./registry-Dz4iHNST.cjs";
|
|
2
|
+
import { $ as AgentWidgetEvent, $r as HistoryConversationDetail, A as AgentWidgetConfigPatch, Ai as PersonaArtifactManualUpsert, B as AgentWidgetContextMentionRef, Bt as AgentWidgetRunFinishedEvent, C as AgentWidgetAttachmentsConfig, Ct as AgentWidgetMessage, E as AgentWidgetComponentRenderHandle, Fi as ReadAloudState, Gi as SpeechRequest, Hn as AttachmentPreviewRenderHandle, I as AgentWidgetContextMentionItem, Ji as TextContentPart, Mi as PersonaArtifactRecord, Mo as AgentWidgetPlugin, Mr as ComposerResubmitOptions, N as AgentWidgetContextMentionCommandContext, Nr as ComposerState, On as AgentWidgetWebMcpConfig, Or as ComposerOptionsPayload, Ot as AgentWidgetOpenConversationOptions, Pi as PreparedClientSession, Q as AgentWidgetDockConfig, Qi as VoiceClientTools, Qn as ClientToolDefinition, Ri as ResumableHandle, Rn as AskUserQuestionPayload, Rr as ContentPart, U as AgentWidgetContextMentionSource, Ui as SpeechCallbacks, Vn as AttachmentPreviewRenderContext, Vt as AgentWidgetRunStartedEvent, Wi as SpeechEngine, Wr as DictationState, Xn as ClientSession, Ya as RuntypeExecutionStreamEvent, _a as WebMcpConfirmInfo, _o as PersonaThemePlugin, _t as AgentWidgetMarkdownConfig, ba as WidgetHistoryInternals, ca as VoiceMetrics, da as VoiceProvider, di as InjectAssistantMessageOptions, ei as HistoryConversationPage, en as AgentWidgetStateSnapshot, f as AgentWidgetActionParser, fa as VoiceResult, fi as InjectComponentDirectiveOptions, fn as AgentWidgetSuggestion, fo as DeepPartial, g as AgentWidgetApprovalDecisionOptions, ga as WebMcpConfirmHandler, go as PersonaTheme, ha as VoiceTranscriptMetadata, hi as InjectUserMessageOptions, ii as HistoryIdentityStatus, it as AgentWidgetHeaderLayoutConfig, j as AgentWidgetContentSegment, jr as ComposerQuote, k as AgentWidgetConfig, ka as HistoryListResult, ln as AgentWidgetStreamCheckpoint, m as AgentWidgetApproval, ma as VoiceStatus, mi as InjectSystemMessageOptions, n as AgentExecutionState, na as VoiceConfig, ni as HistoryConversationSummary, oi as HistoryReturnSurface, oo as BrandConfig, pa as VoiceSessionBridge, pi as InjectMessageOptions, q as AgentWidgetControllerEventMap, qi as StreamAnimationPlugin, qn as ClientFeedbackRequest, ri as HistoryDisplayProjection, si as HistoryScope, ti as HistoryConversationPatch, tn as AgentWidgetStorageAdapter, u as AgentWidgetActionHandler, ua as VoicePriorToolResult, ui as ImageContentPart, un as AgentWidgetStreamParser, ut as AgentWidgetInitOptions, va as WebMcpToolResult, vt as AgentWidgetMarkdownOptions, x as AgentWidgetAttachmentAdapter, yi as MessageContent, yt as AgentWidgetMarkdownRendererOverrides, zr as ConversationExecutionState, zt as AgentWidgetRevealToolCallOptions } from "./types-BOZHQIk0.cjs";
|
|
3
|
+
import { n as MentionSubmitBundle } from "./context-mention-manager-D2p0-JH-.cjs";
|
|
4
|
+
import { i as MessageTransform } from "./message-bubble-CkZGlCLC.cjs";
|
|
5
|
+
import "./feature-preferences-CVFDt9Xf.cjs";
|
|
6
|
+
import { t as WebMcpBridge$1 } from "./webmcp-runtime-entry-DuAG1_yF.cjs";
|
|
7
|
+
import "./fallback-speech-engine-DmF7MczI.cjs";
|
|
8
|
+
import "./defaults-CjX0kKzb.cjs";
|
|
9
9
|
import { IconNode as IconNode$1 } from "lucide";
|
|
10
10
|
import "marked";
|
|
11
11
|
//#region src/utils/legacy-diagnostics.d.ts
|
|
@@ -240,6 +240,12 @@ type Controller = {
|
|
|
240
240
|
* (launcher mode) or textarea is unavailable.
|
|
241
241
|
*/
|
|
242
242
|
focusInput: () => boolean;
|
|
243
|
+
/**
|
|
244
|
+
* Bring a tool call into view: opens any collapsed group holding it, expands its details
|
|
245
|
+
* (unless `expand: false`), scrolls it to the center of the transcript and briefly marks it
|
|
246
|
+
* with `data-persona-revealed`. Returns false when no rendered tool bubble has that id.
|
|
247
|
+
*/
|
|
248
|
+
revealToolCall: (toolCallId: string, options?: AgentWidgetRevealToolCallOptions) => boolean;
|
|
243
249
|
/**
|
|
244
250
|
* Programmatically resolve a pending approval.
|
|
245
251
|
* @param approvalId - The approval ID to resolve
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as ComponentContext } from "./registry-
|
|
2
|
-
import { $ as AgentWidgetEvent, $r as
|
|
3
|
-
import { n as MentionSubmitBundle } from "./context-mention-manager-
|
|
4
|
-
import { i as MessageTransform } from "./message-bubble-
|
|
5
|
-
import "./feature-preferences-
|
|
6
|
-
import { t as WebMcpBridge$1 } from "./webmcp-runtime-entry-
|
|
7
|
-
import "./fallback-speech-engine-
|
|
8
|
-
import "./defaults-
|
|
1
|
+
import { t as ComponentContext } from "./registry-Dz4iHNST.js";
|
|
2
|
+
import { $ as AgentWidgetEvent, $r as HistoryConversationDetail, A as AgentWidgetConfigPatch, Ai as PersonaArtifactManualUpsert, B as AgentWidgetContextMentionRef, Bt as AgentWidgetRunFinishedEvent, C as AgentWidgetAttachmentsConfig, Ct as AgentWidgetMessage, E as AgentWidgetComponentRenderHandle, Fi as ReadAloudState, Gi as SpeechRequest, Hn as AttachmentPreviewRenderHandle, I as AgentWidgetContextMentionItem, Ji as TextContentPart, Mi as PersonaArtifactRecord, Mo as AgentWidgetPlugin, Mr as ComposerResubmitOptions, N as AgentWidgetContextMentionCommandContext, Nr as ComposerState, On as AgentWidgetWebMcpConfig, Or as ComposerOptionsPayload, Ot as AgentWidgetOpenConversationOptions, Pi as PreparedClientSession, Q as AgentWidgetDockConfig, Qi as VoiceClientTools, Qn as ClientToolDefinition, Ri as ResumableHandle, Rn as AskUserQuestionPayload, Rr as ContentPart, U as AgentWidgetContextMentionSource, Ui as SpeechCallbacks, Vn as AttachmentPreviewRenderContext, Vt as AgentWidgetRunStartedEvent, Wi as SpeechEngine, Wr as DictationState, Xn as ClientSession, Ya as RuntypeExecutionStreamEvent, _a as WebMcpConfirmInfo, _o as PersonaThemePlugin, _t as AgentWidgetMarkdownConfig, ba as WidgetHistoryInternals, ca as VoiceMetrics, da as VoiceProvider, di as InjectAssistantMessageOptions, ei as HistoryConversationPage, en as AgentWidgetStateSnapshot, f as AgentWidgetActionParser, fa as VoiceResult, fi as InjectComponentDirectiveOptions, fn as AgentWidgetSuggestion, fo as DeepPartial, g as AgentWidgetApprovalDecisionOptions, ga as WebMcpConfirmHandler, go as PersonaTheme, ha as VoiceTranscriptMetadata, hi as InjectUserMessageOptions, ii as HistoryIdentityStatus, it as AgentWidgetHeaderLayoutConfig, j as AgentWidgetContentSegment, jr as ComposerQuote, k as AgentWidgetConfig, ka as HistoryListResult, ln as AgentWidgetStreamCheckpoint, m as AgentWidgetApproval, ma as VoiceStatus, mi as InjectSystemMessageOptions, n as AgentExecutionState, na as VoiceConfig, ni as HistoryConversationSummary, oi as HistoryReturnSurface, oo as BrandConfig, pa as VoiceSessionBridge, pi as InjectMessageOptions, q as AgentWidgetControllerEventMap, qi as StreamAnimationPlugin, qn as ClientFeedbackRequest, ri as HistoryDisplayProjection, si as HistoryScope, ti as HistoryConversationPatch, tn as AgentWidgetStorageAdapter, u as AgentWidgetActionHandler, ua as VoicePriorToolResult, ui as ImageContentPart, un as AgentWidgetStreamParser, ut as AgentWidgetInitOptions, va as WebMcpToolResult, vt as AgentWidgetMarkdownOptions, x as AgentWidgetAttachmentAdapter, yi as MessageContent, yt as AgentWidgetMarkdownRendererOverrides, zr as ConversationExecutionState, zt as AgentWidgetRevealToolCallOptions } from "./types-BOZHQIk0.js";
|
|
3
|
+
import { n as MentionSubmitBundle } from "./context-mention-manager-D2p0-JH-.js";
|
|
4
|
+
import { i as MessageTransform } from "./message-bubble-CkZGlCLC.js";
|
|
5
|
+
import "./feature-preferences-CVFDt9Xf.js";
|
|
6
|
+
import { t as WebMcpBridge$1 } from "./webmcp-runtime-entry-DuAG1_yF.js";
|
|
7
|
+
import "./fallback-speech-engine-DmF7MczI.js";
|
|
8
|
+
import "./defaults-CjX0kKzb.js";
|
|
9
9
|
import { IconNode as IconNode$1 } from "lucide";
|
|
10
10
|
import "marked";
|
|
11
11
|
//#region src/utils/legacy-diagnostics.d.ts
|
|
@@ -240,6 +240,12 @@ type Controller = {
|
|
|
240
240
|
* (launcher mode) or textarea is unavailable.
|
|
241
241
|
*/
|
|
242
242
|
focusInput: () => boolean;
|
|
243
|
+
/**
|
|
244
|
+
* Bring a tool call into view: opens any collapsed group holding it, expands its details
|
|
245
|
+
* (unless `expand: false`), scrolls it to the center of the transcript and briefly marks it
|
|
246
|
+
* with `data-persona-revealed`. Returns false when no rendered tool bubble has that id.
|
|
247
|
+
*/
|
|
248
|
+
revealToolCall: (toolCallId: string, options?: AgentWidgetRevealToolCallOptions) => boolean;
|
|
243
249
|
/**
|
|
244
250
|
* Programmatically resolve a pending approval.
|
|
245
251
|
* @param approvalId - The approval ID to resolve
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ct as AgentWidgetMessage,
|
|
2
|
-
import { n as AgentWidgetSessionStatus } from "./session-
|
|
1
|
+
import { Ct as AgentWidgetMessage, Ri as ResumableHandle, k as AgentWidgetConfig } from "./types-BOZHQIk0.cjs";
|
|
2
|
+
import { n as AgentWidgetSessionStatus } from "./session-Baxp9iRK.cjs";
|
|
3
3
|
//#region src/session-reconnect.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* The narrow surface the reconnect loop needs from the owning session. The
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ct as AgentWidgetMessage,
|
|
2
|
-
import { n as AgentWidgetSessionStatus } from "./session-
|
|
1
|
+
import { Ct as AgentWidgetMessage, Ri as ResumableHandle, k as AgentWidgetConfig } from "./types-BOZHQIk0.js";
|
|
2
|
+
import { n as AgentWidgetSessionStatus } from "./session-Baxp9iRK.js";
|
|
3
3
|
//#region src/session-reconnect.d.ts
|
|
4
4
|
/**
|
|
5
5
|
* The narrow surface the reconnect loop needs from the owning session. The
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as AgentWidgetContextProvider, I as AgentWidgetContextMentionItem, U as AgentWidgetContextMentionSource } from "./types-
|
|
1
|
+
import { G as AgentWidgetContextProvider, I as AgentWidgetContextMentionItem, U as AgentWidgetContextMentionSource } from "./types-BOZHQIk0.cjs";
|
|
2
2
|
import { r as EnrichedPageElement } from "./dom-context-DHTabIn7.cjs";
|
|
3
3
|
//#region src/vendor/smart-dom-reader/index.d.ts
|
|
4
4
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as AgentWidgetContextProvider, I as AgentWidgetContextMentionItem, U as AgentWidgetContextMentionSource } from "./types-
|
|
1
|
+
import { G as AgentWidgetContextProvider, I as AgentWidgetContextMentionItem, U as AgentWidgetContextMentionSource } from "./types-BOZHQIk0.js";
|
|
2
2
|
import { r as EnrichedPageElement } from "./dom-context-DHTabIn7.js";
|
|
3
3
|
//#region src/vendor/smart-dom-reader/index.d.ts
|
|
4
4
|
/**
|