@runtypelabs/persona 4.32.2 → 4.33.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.d.cts +3 -3
- package/dist/activity-ui.d.ts +3 -3
- 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-BbXc58OA.js → chunk-6CUrH_jm.js} +1 -1
- package/dist/{chunk-B_H0l3u2.js → chunk-BRM3bHcJ.js} +1 -1
- package/dist/chunk-CEPM3FOp.js +1 -0
- package/dist/{chunk-D0tcIZJM.js → chunk-CXQJG7pb.js} +1 -1
- package/dist/{chunk-UWMfWW2a.js → chunk-D1G8tgYc.js} +1 -1
- package/dist/{chunk-BpjtKnGI.js → chunk-D6U0E82p.js} +1 -1
- package/dist/{chunk-2FnmZ9AA.js → chunk-DOZmcve8.js} +1 -1
- package/dist/chunk-DVgzoVCB.js +1 -0
- package/dist/{chunk-B9Zu-wrk.js → chunk-DW7Vg_l2.js} +1 -1
- package/dist/{chunk-B3l7TOOv.js → chunk-DbGLjU2P.js} +1 -1
- package/dist/{chunk-DTGvDx8o.js → chunk-Dj2a9f9w.js} +1 -1
- package/dist/{chunk-DgZZqy14.js → chunk-d54BJdKd.js} +1 -1
- package/dist/chunk-dLJWKfOb.js +1 -0
- package/dist/{chunk-DNdeIFJ6.js → chunk-gu34lr-P.js} +1 -1
- package/dist/chunk-i4qGOJAL.js +1 -0
- package/dist/{chunk-DVZ8ri1z.js → chunk-ql5N2I_t.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-dwg_o9Z-.d.cts → composer-input-DnqGCXZz.d.cts} +1 -1
- package/dist/{composer-input-dwg_o9Z-.d.ts → composer-input-DnqGCXZz.d.ts} +1 -1
- package/dist/{composer-store-Dw7Zbqxr.d.cts → composer-store-6Iwy6WLI.d.cts} +1 -1
- package/dist/{composer-store-Dw7Zbqxr.d.ts → composer-store-6Iwy6WLI.d.ts} +1 -1
- package/dist/{context-mention-manager-D2p0-JH-.d.cts → context-mention-manager-B-rHF98n.d.cts} +2 -2
- package/dist/{context-mention-manager-D2p0-JH-.d.ts → context-mention-manager-B-rHF98n.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-CjX0kKzb.d.ts → defaults-BuOjqUAG.d.cts} +2 -1
- package/dist/{defaults-CjX0kKzb.d.cts → defaults-BuOjqUAG.d.ts} +2 -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-DmF7MczI.d.cts → fallback-speech-engine-SqEfkGda.d.cts} +1 -1
- package/dist/{fallback-speech-engine-DmF7MczI.d.ts → fallback-speech-engine-SqEfkGda.d.ts} +1 -1
- package/dist/{feature-preferences-CVFDt9Xf.d.cts → feature-preferences-DqAmje-2.d.cts} +1 -1
- package/dist/{feature-preferences-CVFDt9Xf.d.ts → feature-preferences-DqAmje-2.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-DJEXsTyE.d.cts → history-confirm-dialog-B3L7QNcO.d.cts} +1 -1
- package/dist/{history-confirm-dialog-DJEXsTyE.d.ts → history-confirm-dialog-B3L7QNcO.d.ts} +1 -1
- package/dist/history-shell.cjs +1 -1
- package/dist/history-shell.d.cts +6 -6
- package/dist/history-shell.d.ts +6 -6
- package/dist/history-shell.js +1 -1
- package/dist/history-view.d.cts +1 -1
- package/dist/history-view.d.ts +1 -1
- package/dist/index.cjs +38 -38
- 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 +52 -52
- package/dist/index.js.map +1 -1
- package/dist/install.global.js +1 -1
- package/dist/launcher.global.js +2 -2
- package/dist/launcher.global.js.map +1 -1
- package/dist/{loading-label-runtime-loader-CPxnoaoi.d.cts → loading-label-runtime-loader-JecjOfJS.d.cts} +1 -1
- package/dist/{loading-label-runtime-loader-CPxnoaoi.d.ts → loading-label-runtime-loader-JecjOfJS.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-CkZGlCLC.d.ts → message-bubble-CBYtpDsT.d.cts} +2 -2
- package/dist/{message-bubble-CkZGlCLC.d.cts → message-bubble-CBYtpDsT.d.ts} +2 -2
- package/dist/preferences-runtime.d.cts +1 -1
- package/dist/preferences-runtime.d.ts +1 -1
- package/dist/{preview-DdUvoLb4.d.cts → preview-_UJwwt2L.d.cts} +2 -2
- package/dist/{preview-DdUvoLb4.d.ts → preview-_UJwwt2L.d.ts} +2 -2
- package/dist/{registry-Dz4iHNST.d.cts → registry-B5ZV3K-h.d.cts} +1 -1
- package/dist/{registry-Dz4iHNST.d.ts → registry-B5ZV3K-h.d.ts} +1 -1
- package/dist/{session-Baxp9iRK.d.cts → session-Bys8_XuB.d.cts} +10 -9
- package/dist/{session-Baxp9iRK.d.ts → session-Bys8_XuB.d.ts} +10 -9
- 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 +31 -31
- 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 -19
- package/dist/theme-editor.cjs +1 -1
- package/dist/theme-editor.d.cts +2 -2
- package/dist/theme-editor.d.ts +2 -2
- package/dist/theme-editor.js +1 -1
- package/dist/theme-reference.cjs +1 -1
- package/dist/theme-reference.d.cts +4 -2
- package/dist/theme-reference.d.ts +4 -2
- package/dist/theme-reference.js +1 -1
- package/dist/{tool-loading-animation-un3kA5Ur.d.cts → tool-loading-animation-d5qAQcwv.d.cts} +1 -1
- package/dist/{tool-loading-animation-un3kA5Ur.d.ts → tool-loading-animation-d5qAQcwv.d.ts} +1 -1
- package/dist/{turn-activity-ui-BGNhtMcH.d.cts → turn-activity-ui-q6fHVnx-.d.cts} +2 -2
- package/dist/{turn-activity-ui-BGNhtMcH.d.ts → turn-activity-ui-q6fHVnx-.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-BOZHQIk0.d.cts → types-B_mj21jg.d.cts} +91 -7
- package/dist/{types-BOZHQIk0.d.ts → types-B_mj21jg.d.ts} +91 -7
- 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-DuAG1_yF.d.cts → webmcp-runtime-entry-ClEO3qdI.d.cts} +1 -1
- package/dist/{webmcp-runtime-entry-DuAG1_yF.d.ts → webmcp-runtime-entry-ClEO3qdI.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/client-dispatch.ts +69 -16
- package/src/client.operator-role.test.ts +217 -0
- package/src/components/message-bubble.test.ts +169 -0
- package/src/components/message-bubble.ts +97 -28
- package/src/defaults-parity.test.ts +14 -0
- package/src/index-core.ts +7 -0
- package/src/session.resubmit-from.test.ts +27 -0
- package/src/session.test.ts +10 -0
- package/src/session.ts +8 -5
- package/src/styles/widget.css +23 -1
- package/src/theme-reference.ts +3 -1
- package/src/types/theme.ts +21 -0
- package/src/types.ts +71 -6
- package/src/ui.ask-user-question-plugin.test.ts +154 -0
- package/src/ui.operator-role.test.ts +336 -0
- package/src/ui.ts +37 -12
- package/src/utils/__snapshots__/tokens-parity.test.ts.snap +236 -0
- package/src/utils/brand.test.ts +14 -0
- package/src/utils/brand.ts +8 -4
- package/src/utils/history-messages.test.ts +30 -0
- package/src/utils/history-messages.ts +26 -8
- package/src/utils/message-fingerprint.ts +4 -0
- package/src/utils/resubmit-turn.test.ts +13 -0
- package/src/utils/resubmit-turn.ts +12 -1
- package/src/utils/tokens.ts +31 -0
- package/src/welcome.test.ts +16 -0
- package/src/welcome.ts +10 -2
- package/dist/chunk-BNE40cEG.js +0 -1
- package/dist/chunk-Bz9jAgba.js +0 -1
- package/dist/chunk-CdpVP6LZ.js +0 -1
- package/dist/chunk-CjkechxR.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-d5qAQcwv.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-d5qAQcwv.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-d5qAQcwv.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-d5qAQcwv.js";
|
|
2
2
|
export { applyLoadingAnimation, applyLoadingLabel, createLoadingLabelLifecycle };
|
|
3
3
|
export {}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ct as AgentWidgetMessage,
|
|
1
|
+
import { Ct as AgentWidgetMessage, Dt as AgentWidgetMessageLayoutConfig, Et as AgentWidgetMessageFeedback, Ot as AgentWidgetMessageRole, bo as MessageGeometryTokens, k as AgentWidgetConfig, wt as AgentWidgetMessageActionsConfig, xi as LoadingIndicatorRenderContext } from "./types-B_mj21jg.cjs";
|
|
2
2
|
//#region src/components/message-bubble.d.ts
|
|
3
3
|
type LoadingIndicatorRenderer = (context: LoadingIndicatorRenderContext) => HTMLElement | null;
|
|
4
4
|
type MessageTransform = (context: {
|
|
@@ -21,7 +21,7 @@ declare const renderLoadingIndicatorWithFallback: (location: 'inline' | 'standal
|
|
|
21
21
|
/**
|
|
22
22
|
* Get bubble classes based on layout preset
|
|
23
23
|
*/
|
|
24
|
-
declare const getBubbleClasses: (role:
|
|
24
|
+
declare const getBubbleClasses: (role: AgentWidgetMessageRole, layout?: AgentWidgetMessageLayoutConfig["layout"]) => string[];
|
|
25
25
|
/**
|
|
26
26
|
* Apply the `components.message.user/assistant` geometry tokens to a bubble.
|
|
27
27
|
* Written inline as var() chains so the per-layout default stays the fallback;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Ct as AgentWidgetMessage,
|
|
1
|
+
import { Ct as AgentWidgetMessage, Dt as AgentWidgetMessageLayoutConfig, Et as AgentWidgetMessageFeedback, Ot as AgentWidgetMessageRole, bo as MessageGeometryTokens, k as AgentWidgetConfig, wt as AgentWidgetMessageActionsConfig, xi as LoadingIndicatorRenderContext } from "./types-B_mj21jg.js";
|
|
2
2
|
//#region src/components/message-bubble.d.ts
|
|
3
3
|
type LoadingIndicatorRenderer = (context: LoadingIndicatorRenderContext) => HTMLElement | null;
|
|
4
4
|
type MessageTransform = (context: {
|
|
@@ -21,7 +21,7 @@ declare const renderLoadingIndicatorWithFallback: (location: 'inline' | 'standal
|
|
|
21
21
|
/**
|
|
22
22
|
* Get bubble classes based on layout preset
|
|
23
23
|
*/
|
|
24
|
-
declare const getBubbleClasses: (role:
|
|
24
|
+
declare const getBubbleClasses: (role: AgentWidgetMessageRole, layout?: AgentWidgetMessageLayoutConfig["layout"]) => string[];
|
|
25
25
|
/**
|
|
26
26
|
* Apply the `components.message.user/assistant` geometry tokens to a bubble.
|
|
27
27
|
* Written inline as var() chains so the per-layout default stays the fallback;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ct as AgentWidgetMessage,
|
|
2
|
-
import { Tn as AgentWidgetController } from "./session-
|
|
1
|
+
import { Ct as AgentWidgetMessage, So as PersonaTheme, _o as DeepPartial, k as AgentWidgetConfig } from "./types-B_mj21jg.cjs";
|
|
2
|
+
import { Tn as AgentWidgetController } from "./session-Bys8_XuB.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, So as PersonaTheme, _o as DeepPartial, k as AgentWidgetConfig } from "./types-B_mj21jg.js";
|
|
2
|
+
import { Tn as AgentWidgetController } from "./session-Bys8_XuB.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-B_mj21jg.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-B_mj21jg.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, $
|
|
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-B5ZV3K-h.cjs";
|
|
2
|
+
import { $ as AgentWidgetEvent, $i as TextContentPart, A as AgentWidgetConfigPatch, B as AgentWidgetContextMentionRef, Bi as ReadAloudState, C as AgentWidgetAttachmentsConfig, Ca as WebMcpToolResult, Co as PersonaThemePlugin, Ct as AgentWidgetMessage, E as AgentWidgetComponentRenderHandle, Fi as PersonaArtifactManualUpsert, Gt as AgentWidgetRunFinishedEvent, I as AgentWidgetContextMentionItem, Ir as ComposerQuote, Ji as SpeechCallbacks, Kn as AttachmentPreviewRenderContext, Kt as AgentWidgetRunStartedEvent, Li as PersonaArtifactRecord, Lr as ComposerResubmitOptions, N as AgentWidgetContextMentionCommandContext, Nn as AgentWidgetWebMcpConfig, Nr as ComposerOptionsPayload, Nt as AgentWidgetOpenConversationOptions, Pa as HistoryListResult, Q as AgentWidgetDockConfig, Qi as StreamAnimationPlugin, Qn as ClientFeedbackRequest, Ro as AgentWidgetPlugin, Rr as ComposerState, Sa as WebMcpConfirmInfo, So as PersonaTheme, Ta as WidgetHistoryInternals, U as AgentWidgetContextMentionSource, Ui as ResumableHandle, Un as AskUserQuestionPayload, Ur as ContentPart, Wr as ConversationExecutionState, Wt as AgentWidgetRevealToolCallOptions, Xi as SpeechRequest, Yi as SpeechEngine, Yr as DictationState, _a as VoiceResult, _i as InjectComponentDirectiveOptions, _n as AgentWidgetSuggestion, _o as DeepPartial, _t as AgentWidgetMarkdownConfig, ai as HistoryConversationPage, an as AgentWidgetStateSnapshot, ba as VoiceTranscriptMetadata, bi as InjectUserMessageOptions, ci as HistoryDisplayProjection, di as HistoryReturnSurface, do as BrandConfig, eo as RuntypeExecutionStreamEvent, f as AgentWidgetActionParser, fi as HistoryScope, g as AgentWidgetApprovalDecisionOptions, ga as VoiceProvider, gi as InjectAssistantMessageOptions, ha as VoicePriorToolResult, hi as ImageContentPart, hn as AgentWidgetStreamParser, ii as HistoryConversationDetail, it as AgentWidgetHeaderLayoutConfig, j as AgentWidgetContentSegment, k as AgentWidgetConfig, li as HistoryIdentityStatus, m as AgentWidgetApproval, mn as AgentWidgetStreamCheckpoint, n as AgentExecutionState, oi as HistoryConversationPatch, on as AgentWidgetStorageAdapter, pa as VoiceMetrics, q as AgentWidgetControllerEventMap, qn as AttachmentPreviewRenderHandle, ra as VoiceClientTools, rr as ClientToolDefinition, sa as VoiceConfig, si as HistoryConversationSummary, tr as ClientSession, u as AgentWidgetActionHandler, ut as AgentWidgetInitOptions, va as VoiceSessionBridge, vi as InjectMessageOptions, vt as AgentWidgetMarkdownOptions, wi as MessageContent, x as AgentWidgetAttachmentAdapter, xa as WebMcpConfirmHandler, ya as VoiceStatus, yi as InjectSystemMessageOptions, yt as AgentWidgetMarkdownRendererOverrides, zi as PreparedClientSession } from "./types-B_mj21jg.cjs";
|
|
3
|
+
import { n as MentionSubmitBundle } from "./context-mention-manager-B-rHF98n.cjs";
|
|
4
|
+
import { i as MessageTransform } from "./message-bubble-CBYtpDsT.cjs";
|
|
5
|
+
import "./feature-preferences-DqAmje-2.cjs";
|
|
6
|
+
import { t as WebMcpBridge$1 } from "./webmcp-runtime-entry-ClEO3qdI.cjs";
|
|
7
|
+
import "./fallback-speech-engine-SqEfkGda.cjs";
|
|
8
|
+
import "./defaults-BuOjqUAG.cjs";
|
|
9
9
|
import { IconNode as IconNode$1 } from "lucide";
|
|
10
10
|
import "marked";
|
|
11
11
|
//#region src/utils/legacy-diagnostics.d.ts
|
|
@@ -2406,7 +2406,8 @@ declare class AgentWidgetSession {
|
|
|
2406
2406
|
* the new attempt gets fresh message ids.
|
|
2407
2407
|
*
|
|
2408
2408
|
* Returns false when the id is unknown, is not a user message, or the rebuilt
|
|
2409
|
-
* turn would carry no content
|
|
2409
|
+
* turn would carry no content, or truncation would remove an operator reply;
|
|
2410
|
+
* nothing is truncated in those cases.
|
|
2410
2411
|
*/
|
|
2411
2412
|
resubmitFrom(messageId: string, options: ComposerResubmitOptions): boolean;
|
|
2412
2413
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as ComponentContext } from "./registry-
|
|
2
|
-
import { $ as AgentWidgetEvent, $
|
|
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-B5ZV3K-h.js";
|
|
2
|
+
import { $ as AgentWidgetEvent, $i as TextContentPart, A as AgentWidgetConfigPatch, B as AgentWidgetContextMentionRef, Bi as ReadAloudState, C as AgentWidgetAttachmentsConfig, Ca as WebMcpToolResult, Co as PersonaThemePlugin, Ct as AgentWidgetMessage, E as AgentWidgetComponentRenderHandle, Fi as PersonaArtifactManualUpsert, Gt as AgentWidgetRunFinishedEvent, I as AgentWidgetContextMentionItem, Ir as ComposerQuote, Ji as SpeechCallbacks, Kn as AttachmentPreviewRenderContext, Kt as AgentWidgetRunStartedEvent, Li as PersonaArtifactRecord, Lr as ComposerResubmitOptions, N as AgentWidgetContextMentionCommandContext, Nn as AgentWidgetWebMcpConfig, Nr as ComposerOptionsPayload, Nt as AgentWidgetOpenConversationOptions, Pa as HistoryListResult, Q as AgentWidgetDockConfig, Qi as StreamAnimationPlugin, Qn as ClientFeedbackRequest, Ro as AgentWidgetPlugin, Rr as ComposerState, Sa as WebMcpConfirmInfo, So as PersonaTheme, Ta as WidgetHistoryInternals, U as AgentWidgetContextMentionSource, Ui as ResumableHandle, Un as AskUserQuestionPayload, Ur as ContentPart, Wr as ConversationExecutionState, Wt as AgentWidgetRevealToolCallOptions, Xi as SpeechRequest, Yi as SpeechEngine, Yr as DictationState, _a as VoiceResult, _i as InjectComponentDirectiveOptions, _n as AgentWidgetSuggestion, _o as DeepPartial, _t as AgentWidgetMarkdownConfig, ai as HistoryConversationPage, an as AgentWidgetStateSnapshot, ba as VoiceTranscriptMetadata, bi as InjectUserMessageOptions, ci as HistoryDisplayProjection, di as HistoryReturnSurface, do as BrandConfig, eo as RuntypeExecutionStreamEvent, f as AgentWidgetActionParser, fi as HistoryScope, g as AgentWidgetApprovalDecisionOptions, ga as VoiceProvider, gi as InjectAssistantMessageOptions, ha as VoicePriorToolResult, hi as ImageContentPart, hn as AgentWidgetStreamParser, ii as HistoryConversationDetail, it as AgentWidgetHeaderLayoutConfig, j as AgentWidgetContentSegment, k as AgentWidgetConfig, li as HistoryIdentityStatus, m as AgentWidgetApproval, mn as AgentWidgetStreamCheckpoint, n as AgentExecutionState, oi as HistoryConversationPatch, on as AgentWidgetStorageAdapter, pa as VoiceMetrics, q as AgentWidgetControllerEventMap, qn as AttachmentPreviewRenderHandle, ra as VoiceClientTools, rr as ClientToolDefinition, sa as VoiceConfig, si as HistoryConversationSummary, tr as ClientSession, u as AgentWidgetActionHandler, ut as AgentWidgetInitOptions, va as VoiceSessionBridge, vi as InjectMessageOptions, vt as AgentWidgetMarkdownOptions, wi as MessageContent, x as AgentWidgetAttachmentAdapter, xa as WebMcpConfirmHandler, ya as VoiceStatus, yi as InjectSystemMessageOptions, yt as AgentWidgetMarkdownRendererOverrides, zi as PreparedClientSession } from "./types-B_mj21jg.js";
|
|
3
|
+
import { n as MentionSubmitBundle } from "./context-mention-manager-B-rHF98n.js";
|
|
4
|
+
import { i as MessageTransform } from "./message-bubble-CBYtpDsT.js";
|
|
5
|
+
import "./feature-preferences-DqAmje-2.js";
|
|
6
|
+
import { t as WebMcpBridge$1 } from "./webmcp-runtime-entry-ClEO3qdI.js";
|
|
7
|
+
import "./fallback-speech-engine-SqEfkGda.js";
|
|
8
|
+
import "./defaults-BuOjqUAG.js";
|
|
9
9
|
import { IconNode as IconNode$1 } from "lucide";
|
|
10
10
|
import "marked";
|
|
11
11
|
//#region src/utils/legacy-diagnostics.d.ts
|
|
@@ -2406,7 +2406,8 @@ declare class AgentWidgetSession {
|
|
|
2406
2406
|
* the new attempt gets fresh message ids.
|
|
2407
2407
|
*
|
|
2408
2408
|
* Returns false when the id is unknown, is not a user message, or the rebuilt
|
|
2409
|
-
* turn would carry no content
|
|
2409
|
+
* turn would carry no content, or truncation would remove an operator reply;
|
|
2410
|
+
* nothing is truncated in those cases.
|
|
2410
2411
|
*/
|
|
2411
2412
|
resubmitFrom(messageId: string, options: ComposerResubmitOptions): boolean;
|
|
2412
2413
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Ct as AgentWidgetMessage,
|
|
2
|
-
import { n as AgentWidgetSessionStatus } from "./session-
|
|
1
|
+
import { Ct as AgentWidgetMessage, Ui as ResumableHandle, k as AgentWidgetConfig } from "./types-B_mj21jg.cjs";
|
|
2
|
+
import { n as AgentWidgetSessionStatus } from "./session-Bys8_XuB.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, Ui as ResumableHandle, k as AgentWidgetConfig } from "./types-B_mj21jg.js";
|
|
2
|
+
import { n as AgentWidgetSessionStatus } from "./session-Bys8_XuB.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-B_mj21jg.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-B_mj21jg.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
|
/**
|