@burdenoff/fe-libs 2026.928.3 → 2026.930.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.
Files changed (129) hide show
  1. package/dist/shared/assistant/adminModeSendGate.d.ts +6 -5
  2. package/dist/shared/assistant/adminModeSendGate.d.ts.map +1 -1
  3. package/dist/shared/assistant/adminModeSendGate.js +11 -11
  4. package/dist/shared/assistant/api.d.ts +313 -28
  5. package/dist/shared/assistant/api.d.ts.map +1 -1
  6. package/dist/shared/assistant/api.js +351 -135
  7. package/dist/shared/assistant/autoRouting.d.ts +11 -3
  8. package/dist/shared/assistant/autoRouting.d.ts.map +1 -1
  9. package/dist/shared/assistant/autoRouting.js +7 -7
  10. package/dist/shared/assistant/capabilities.d.ts +28 -0
  11. package/dist/shared/assistant/capabilities.d.ts.map +1 -1
  12. package/dist/shared/assistant/capabilities.js +19 -10
  13. package/dist/shared/assistant/conversation.d.ts +24 -2
  14. package/dist/shared/assistant/conversation.d.ts.map +1 -1
  15. package/dist/shared/assistant/createSandboxAssistantTransport.d.ts.map +1 -1
  16. package/dist/shared/assistant/createSandboxAssistantTransport.js +67 -54
  17. package/dist/shared/assistant/history/historyList.js +1 -1
  18. package/dist/shared/assistant/history/historyMapping.d.ts.map +1 -1
  19. package/dist/shared/assistant/history/historyMapping.js +5 -1
  20. package/dist/shared/assistant/history/historyResume.js +7 -7
  21. package/dist/shared/assistant/i18nManifest.d.ts +53 -0
  22. package/dist/shared/assistant/i18nManifest.d.ts.map +1 -1
  23. package/dist/shared/assistant/i18nManifest.js +75 -16
  24. package/dist/shared/assistant/index.d.ts +15 -0
  25. package/dist/shared/assistant/index.d.ts.map +1 -1
  26. package/dist/shared/assistant/modeCapabilities.js +1 -1
  27. package/dist/shared/assistant/operations.d.ts +22 -0
  28. package/dist/shared/assistant/operations.d.ts.map +1 -1
  29. package/dist/shared/assistant/operations.js +2 -2
  30. package/dist/shared/assistant/prewarm.d.ts +7 -0
  31. package/dist/shared/assistant/prewarm.d.ts.map +1 -1
  32. package/dist/shared/assistant/prewarm.js +1 -1
  33. package/dist/shared/assistant/product.d.ts +80 -2
  34. package/dist/shared/assistant/product.d.ts.map +1 -1
  35. package/dist/shared/assistant/product.js +10 -6
  36. package/dist/shared/assistant/proposalWriteRules.d.ts +40 -0
  37. package/dist/shared/assistant/proposalWriteRules.d.ts.map +1 -0
  38. package/dist/shared/assistant/proposalWriteRules.js +14 -0
  39. package/dist/shared/assistant/store.d.ts +17 -0
  40. package/dist/shared/assistant/store.d.ts.map +1 -1
  41. package/dist/shared/assistant/store.js +50 -43
  42. package/dist/shared/assistant/turnOutcome.d.ts +34 -2
  43. package/dist/shared/assistant/turnOutcome.d.ts.map +1 -1
  44. package/dist/shared/assistant/turnOutcome.js +28 -17
  45. package/dist/shared/assistant/turnOutcomeCopy.d.ts +29 -7
  46. package/dist/shared/assistant/turnOutcomeCopy.d.ts.map +1 -1
  47. package/dist/shared/assistant/turnOutcomeCopy.js +18 -6
  48. package/dist/shared/assistant/types.d.ts +5 -1
  49. package/dist/shared/assistant/types.d.ts.map +1 -1
  50. package/dist/shared/assistant/ui/AssistantApiCallsConsentDialog.js +4 -4
  51. package/dist/shared/assistant/ui/AssistantChatArea.d.ts.map +1 -1
  52. package/dist/shared/assistant/ui/AssistantChatArea.js +992 -718
  53. package/dist/shared/assistant/ui/AssistantConversationList.js +6 -6
  54. package/dist/shared/assistant/ui/AssistantLanguageMenu.js +6 -6
  55. package/dist/shared/assistant/ui/AssistantMessageItem.d.ts +8 -1
  56. package/dist/shared/assistant/ui/AssistantMessageItem.d.ts.map +1 -1
  57. package/dist/shared/assistant/ui/AssistantMessageItem.js +77 -76
  58. package/dist/shared/assistant/ui/AssistantMessageList.d.ts +13 -1
  59. package/dist/shared/assistant/ui/AssistantMessageList.d.ts.map +1 -1
  60. package/dist/shared/assistant/ui/AssistantMessageList.js +15 -13
  61. package/dist/shared/assistant/ui/AssistantReplyLanguageSelector.js +5 -5
  62. package/dist/shared/assistant/ui/AssistantSpeechProvider.js +209 -209
  63. package/dist/shared/assistant/ui/AssistantWriteConfirmDialog.d.ts +62 -0
  64. package/dist/shared/assistant/ui/AssistantWriteConfirmDialog.d.ts.map +1 -0
  65. package/dist/shared/assistant/ui/AssistantWriteConfirmDialog.js +253 -0
  66. package/dist/shared/assistant/ui/AssistantWriteProposalCard.d.ts +72 -0
  67. package/dist/shared/assistant/ui/AssistantWriteProposalCard.d.ts.map +1 -0
  68. package/dist/shared/assistant/ui/AssistantWriteProposalCard.js +439 -0
  69. package/dist/shared/assistant/ui/AssistantWriteProposalSlot.d.ts +40 -0
  70. package/dist/shared/assistant/ui/AssistantWriteProposalSlot.d.ts.map +1 -0
  71. package/dist/shared/assistant/ui/AssistantWriteProposalSlot.js +35 -0
  72. package/dist/shared/assistant/ui/composer/AssistantComposer.js +8 -8
  73. package/dist/shared/assistant/ui/useVoiceSession.d.ts +28 -0
  74. package/dist/shared/assistant/ui/useVoiceSession.d.ts.map +1 -1
  75. package/dist/shared/assistant/ui/useVoiceSession.js +159 -110
  76. package/dist/shared/assistant/ui/useWriteProposalConfirm.d.ts +61 -0
  77. package/dist/shared/assistant/ui/useWriteProposalConfirm.d.ts.map +1 -0
  78. package/dist/shared/assistant/ui/useWriteProposalConfirm.js +109 -0
  79. package/dist/shared/assistant/ui/useWriteProposals.d.ts +128 -0
  80. package/dist/shared/assistant/ui/useWriteProposals.d.ts.map +1 -0
  81. package/dist/shared/assistant/ui/useWriteProposals.js +240 -0
  82. package/dist/shared/assistant/ui/voice/AssistantVoiceSession.d.ts +17 -1
  83. package/dist/shared/assistant/ui/voice/AssistantVoiceSession.d.ts.map +1 -1
  84. package/dist/shared/assistant/ui/voice/AssistantVoiceSession.js +141 -109
  85. package/dist/shared/assistant/ui/writeProposalPresentation.d.ts +76 -0
  86. package/dist/shared/assistant/ui/writeProposalPresentation.d.ts.map +1 -0
  87. package/dist/shared/assistant/ui/writeProposalPresentation.js +110 -0
  88. package/dist/shared/assistant/usageReporting.d.ts +108 -0
  89. package/dist/shared/assistant/usageReporting.d.ts.map +1 -0
  90. package/dist/shared/assistant/usageReporting.js +155 -0
  91. package/dist/shared/assistant/useAssistantApiAccess.d.ts +49 -14
  92. package/dist/shared/assistant/useAssistantApiAccess.d.ts.map +1 -1
  93. package/dist/shared/assistant/useAssistantApiAccess.js +43 -25
  94. package/dist/shared/assistant/useAssistantHeartbeat.d.ts.map +1 -1
  95. package/dist/shared/assistant/useAssistantHeartbeat.js +5 -5
  96. package/dist/shared/assistant/useWorkspaceWriteAccess.d.ts +5 -6
  97. package/dist/shared/assistant/useWorkspaceWriteAccess.d.ts.map +1 -1
  98. package/dist/shared/assistant/voice/voiceSession.d.ts +46 -0
  99. package/dist/shared/assistant/voice/voiceSession.d.ts.map +1 -1
  100. package/dist/shared/assistant/voice/voiceSession.js +35 -2
  101. package/dist/shared/assistant/writeConfirmSeam.d.ts +32 -0
  102. package/dist/shared/assistant/writeConfirmSeam.d.ts.map +1 -0
  103. package/dist/shared/assistant/writeConfirmSeam.js +23 -0
  104. package/dist/shared/assistant/writeModeConsent.d.ts +16 -8
  105. package/dist/shared/assistant/writeModeConsent.d.ts.map +1 -1
  106. package/dist/shared/assistant/writeModeConsent.js +2 -2
  107. package/dist/shared/assistant/writeProposalDiscovery.d.ts +187 -0
  108. package/dist/shared/assistant/writeProposalDiscovery.d.ts.map +1 -0
  109. package/dist/shared/assistant/writeProposalDiscovery.js +246 -0
  110. package/dist/shared/assistant/writeProposalErrorCopy.d.ts +135 -0
  111. package/dist/shared/assistant/writeProposalErrorCopy.d.ts.map +1 -0
  112. package/dist/shared/assistant/writeProposalErrorCopy.js +135 -0
  113. package/dist/shared/assistant/writeProposalVoice.d.ts +133 -0
  114. package/dist/shared/assistant/writeProposalVoice.d.ts.map +1 -0
  115. package/dist/shared/assistant/writeProposalVoice.js +66 -0
  116. package/dist/shared/assistant/writeProposals.d.ts +268 -0
  117. package/dist/shared/assistant/writeProposals.d.ts.map +1 -0
  118. package/dist/shared/assistant/writeProposals.js +445 -0
  119. package/dist/shared/assistant/writeReplyBinder.d.ts +166 -0
  120. package/dist/shared/assistant/writeReplyBinder.d.ts.map +1 -0
  121. package/dist/shared/assistant/writeReplyBinder.js +233 -0
  122. package/dist/shared/assistant/writeReplySend.d.ts +110 -0
  123. package/dist/shared/assistant/writeReplySend.d.ts.map +1 -0
  124. package/dist/shared/assistant/writeReplySend.js +93 -0
  125. package/dist/shared-assistant.js +168 -153
  126. package/dist/ui/modal-shell.d.ts +14 -1
  127. package/dist/ui/modal-shell.d.ts.map +1 -1
  128. package/dist/ui/modal-shell.js +8 -6
  129. package/package.json +1 -1
@@ -6,156 +6,171 @@ import { AssistantMarkdownImage as m, imageHostLabel as h, isRemoteImageSrc as g
6
6
  import { AssistantMarkdownRenderer as _, AssistantNavigateProvider as v, assistantRoutePath as y, assistantUrlTransform as b, browserShouldHandle as x, classifyAssistantHref as S, useAssistantNavigate as C } from "./shared/assistant/ui/AssistantMarkdownRenderer.js";
7
7
  import { classifyQuotaError as w, describeQuotaError as T, extensionObjectsIn as E, isQuotaExhaustedError as D, quotaExhaustedEventName as O } from "./shared/assistant/quota.js";
8
8
  import { buildSandboxContextInput as k, executeAssistantGraphQLOnce as A, executeSandboxGraphQL as j } from "./shared/assistant/gatewayClient.js";
9
- import { CHECK_AI_CREDITS as M, CREATE_SANDBOX as N, EXTEND_SANDBOX_TTL as P, GET_ACTIVE_SANDBOXES as F, GET_SANDBOX as I, PROXY_SANDBOX_REQUEST as L, REPORT_AI_TOKEN_USAGE as R, REPORT_MY_ASSISTANT_TURN_TIMINGS as z, STOP_ASSISTANT_SANDBOX as B, WAIT_FOR_SANDBOX_RUNNING as V } from "./shared/assistant/operations.js";
10
- import { ASSISTANT_MODE_FALLBACK_LABELS as H, ASSISTANT_MODE_IDS as U, assistantModeFallbackLabel as W, isBuiltInAssistantMode as G } from "./shared/assistant/modeCopy.js";
11
- import { PRODUCT_ASSISTANT_MODE_ID_MAX_LENGTH as K, PRODUCT_ASSISTANT_MODE_ID_PATTERN as q, builtInModeExtendedBy as J, declareAssistantMode as Y, isAssistantModeId as X, isProductAssistantModeId as Z } from "./shared/assistant/modeIds.js";
12
- import { ASSISTANT_API_AUTH_STRATEGY as Q, getImageForMode as $, getImageTagForMode as ee, getResourcesForMode as te, getSandboxImageRegistry as ne, resolveSandboxAssistantMode as re, sandboxBaseModeFor as ie } from "./shared/assistant/images.js";
13
- import { getCapability as ae, isUnknownFieldError as oe, markSupported as se, markUnsupported as ce } from "./shared/assistant/capabilities.js";
14
- import { MAX_INLINE_IMAGE_BASE64_BYTES as le, MAX_REQUEST_BODY_BYTES as ue, REQUEST_TOO_LARGE_REFUSAL as de } from "./shared/assistant/gatewayLimits.js";
15
- import { abortAssistantTurn as fe, approvePendingWrite as pe, buildAssistantSandboxEnv as me, buildPromptGatewayRequest as he, buildPromptRequestBody as ge, checkAssistantAiCredits as _e, createAssistantSandbox as ve, createAssistantSession as ye, downloadAssistantArtifact as be, extendAssistantSandboxTTL as xe, findExistingSandbox as Se, findExistingSandboxWithStatus as Ce, forwardsUserTokensToSandbox as we, getAssistantArtifacts as Te, getAssistantMessages as Ee, getAssistantSession as De, getAssistantStreamAccess as Oe, modeRequiresConfirmWrites as ke, promptGatewayRequestBytes as Ae, releaseSupersededAssistantSandboxes as je, reportAssistantAiTokenUsage as Me, sandboxStatusOf as Ne, selectExistingAssistantSandbox as Pe, selectSupersededAssistantSandboxes as Fe, sendAssistantPromptAsync as Ie, sendHeartbeat as Le, stopReapedAssistantSandbox as Re, waitForAssistantServiceReady as ze, waitForSandboxRunning as Be } from "./shared/assistant/api.js";
16
- import { AssistantRuntimeManager as Ve } from "./shared/assistant/runtime.js";
17
- import { buildProgress as He, getAssistantMedia as Ue, getAssistantText as We, getRawMessageCreatedAt as Ge, getToolProgress as Ke, isReapedSandboxConnectionError as qe, isRecoverable as Je, mapSessionToHistory as Ye, mergeMessagesById as Xe, sanitize as Ze } from "./shared/assistant/progress.js";
18
- import { createSandboxAssistantTransport as Qe } from "./shared/assistant/createSandboxAssistantTransport.js";
19
- import { useSandboxAssistantTransport as $e } from "./shared/assistant/useSandboxAssistantTransport.js";
20
- import { TURN_OUTCOME_COPY as et } from "./shared/assistant/turnOutcomeCopy.js";
21
- import { BUILT_IN_MODE_CAPABILITIES as tt, MAX_ASSISTANT_STREAM_BUDGET_MS as nt, UNAVAILABLE_MODE_REFUSAL as rt, UNDECLARED_MODE_CAPABILITIES as it, adminOnlyModeSendRefusal as at, findAssistantModeConfig as ot, resolveAssistantModeCapabilities as st, unofferedModeSendRefusal as ct } from "./shared/assistant/modeCapabilities.js";
22
- import { DEFAULT_STREAM_BUDGET_MS as lt, INCOMPLETE_TURN_NOTICES as ut, STREAM_BUDGET_MS as dt, incompleteTurnNotice as ft, streamBudgetMs as pt, withIncompleteTurnNotice as mt } from "./shared/assistant/streamBudget.js";
23
- import { chatTurns as ht, groupBySession as gt, groupConsecutiveBySession as _t, isVoiceTurn as vt, voiceMarker as yt, voiceSessionIdOf as bt, voiceTurnsOnly as xt } from "./shared/assistant/voice/turnVisibility.js";
24
- import { browserSpeechEngine as St } from "./shared/assistant/speech/browserSpeechEngine.js";
25
- import { HOSTED_TTS_TIER as Ct, HOSTED_VOICES as wt, hostedLocaleFor as Tt, hostedSupportsLanguage as Et } from "./shared/assistant/speech/hostedVoiceCatalogue.js";
26
- import { HOSTED_DISABLE_MS as Dt, HOSTED_TTS_MAX_CHARS as Ot, SPEAKING_RATE_MAX as kt, SPEAKING_RATE_MAX_STREAMING as At, SPEAKING_RATE_MAX_SYNC as jt, SPEAKING_RATE_MIN as Mt, base64ToBytes as Nt, buildRequest as Pt, classifyHttpFailure as Ft, decodeAudioResponse as It, disableDurationMs as Lt, shouldDisableEngine as Rt, speakableChunks as zt, splitForVendor as Bt } from "./shared/assistant/speech/hostedTtsProtocol.js";
27
- import { createHostedTtsEngine as Vt, retryDelayMs as Ht } from "./shared/assistant/speech/hostedTtsSpeechEngine.js";
28
- import { HOSTED_VOICE_RANK as Ut, SPEECH_LANG as Wt, VOICE_LIST_TIMEOUT_MS as Gt, isHostedVoice as Kt, isSpeechBlocked as qt, languageDisplayName as Jt, normalizeLangTag as Yt, primaryLanguageSubtag as Xt, selectVoiceForLocale as Zt, speechGate as Qt, speechLangForLocale as $t, voiceAvailability as en, voiceQualityRank as tn, voicesForLocale as nn } from "./shared/assistant/voice/speechVoices.js";
29
- import { createRoutingSpeechEngine as rn } from "./shared/assistant/speech/routingSpeechEngine.js";
30
- import { configureSpeechEngine as an, createSpeechEngines as on, getSpeechEngine as sn, readSpeechEngineConfig as cn, resetSpeechEngine as ln, subscribeSpeechEngine as un } from "./shared/assistant/speech/createSpeechEngine.js";
31
- import { micIsInterrupt as dn, showsAssistantCaption as fn, showsUserCaption as pn, voiceStageState as mn, waveformIsActive as hn, waveformIsSettled as gn } from "./shared/assistant/voice/voiceStageState.js";
32
- import { PHRASE_ROTATE_MS as _n, STAGE_COPY as vn, THINKING_PHRASES as yn, stageText as bn, statusStageCopy as xn, thinkingPhrase as Sn, thinkingPhraseEntry as Cn } from "./shared/assistant/stageCopy.js";
33
- import { VOICE_MUTED_LABEL as wn, VOICE_THINKING_LABEL as Tn, composeVoiceStatus as En, voiceStatusParts as Dn, voiceStatusSuffix as On } from "./shared/assistant/voice/voiceStatus.js";
34
- import { IDLE_ROTATION_CLOCK as kn, advanceRotationClock as An, rotationElapsedMs as jn, startRotationTicker as Mn, syncRotationClock as Nn } from "./shared/assistant/voice/rotationClock.js";
35
- import { ENDPOINT_GRACE_MS as Pn, INITIAL_SESSION as Fn, INTERRUPT_MAX_MS as In, INTERRUPT_MIN_MS as Ln, NOTHING_HEARD as Rn, SILENCE_SUBMIT_MS as zn, advanceHeardClock as Bn, isCapturing as Vn, isEcho as Hn, isSubmittable as Un, orbMode as Wn, planReplyConsumption as Gn, spokenSoFar as Kn, voiceSessionReducer as qn } from "./shared/assistant/voice/voiceSession.js";
36
- import { buildContinuedFromVoiceNote as Jn, buildVoiceTranscriptMarkdown as Yn, voiceTranscriptFilename as Xn } from "./shared/assistant/voice/voiceTranscript.js";
37
- import { DEFAULT_SPEAKABLE_LABELS as Zn, MAX_SPEAKABLE_CHARS as Qn, MAX_SPOKEN_TABLE_ROWS as $n, SPEECH_CHUNK_CHARS as er, SPEECH_CHUNK_CJK_CHARS as tr, chunkForSpeech as nr, containsCjk as rr, speakableEmail as ir, splitTableRow as ar, toSpeakableText as or } from "./shared/assistant/voice/speakableText.js";
38
- import { PREVIEW_LANGUAGES as sr, voicePreviewText as cr } from "./shared/assistant/voice/voicePreview.js";
39
- import { MINI_CAPTION_BUDGET as lr, showPreviousChunk as ur } from "./shared/assistant/voice/miniCaptionBudget.js";
40
- import { POLL_FAST_MS as dr, POLL_FAST_UNTIL_MS as fr, POLL_SLOW_MS as pr, POLL_STEADY_MS as mr, POLL_STEADY_UNTIL_MS as hr, pollDelayMs as gr } from "./shared/assistant/voice/assistantPollSchedule.js";
41
- import { toCaptionText as _r } from "./shared/assistant/voice/captionText.js";
42
- import { ASSISTANT_LANGUAGES as vr, DEFAULT_SPEECH_RATE as yr, findAssistantLanguage as br, resolveAssistantLanguage as xr } from "./shared/assistant/voice/languages.js";
43
- import { replyFollowsInput as Sr, resolveLanguagePair as Cr } from "./shared/assistant/voice/languagePair.js";
44
- import { INITIAL_TRANSCRIPT_AUTO_OPEN as wr, maySendSpokenTurn as Tr, planTranscriptAutoOpen as Er, planVoiceSessionBinding as Dr } from "./shared/assistant/voice/voiceReopen.js";
45
- import { findPendingWrite as Or, parseConfirmationRefusal as kr } from "./shared/assistant/pendingWrite.js";
46
- import { PENDING_WRITE_APPROVAL_WINDOW_MS as Ar, approvalFollowUpReplyIds as jr, approvedPendingWriteIds as Mr, beginApprovalInFlight as Nr, endApprovalInFlight as Pr, forgetLiveTurns as Fr, getApprovalInFlight as Ir, goAheadSentReplyIds as Lr, isLiveTurn as Rr, markLiveTurn as zr, newestModelReplyId as Br, resolveApprovablePendingWrite as Vr, resolveRetryableMessageId as Hr, subscribeApprovalInFlight as Ur } from "./shared/assistant/liveTurns.js";
47
- import { BOILERPLATE_PAGE_SHARE as Wr, MAX_BOILERPLATE_LINE_CHARS as Gr, MAX_EXTRACTED_CHARS as Kr, MAX_PDF_PAGES_SCANNED as qr, MIN_PAGE_TEXT_CHARS as Jr, MIN_TEXT_PAGE_SHARE as Yr, columnLetterToIndex as Xr, decodeXmlEntities as Zr, docxXmlToText as Qr, fitPdfPages as $r, formatPageRanges as ei, isMostlyImagePages as ti, joinSheets as ni, pageMarker as ri, parseSharedStrings as ii, parseWorkbookSheets as ai, pdfTextItemsToPage as oi, sheetXmlToRows as si, summarisePageText as ci, truncatePagesForInline as li } from "./shared/assistant/documentText.js";
48
- import { ATTACHMENT_ACCEPT as ui, AttachmentRejectedError as di, DEFAULT_INLINE_LIMITS as fi, INLINE_IMAGE_MAX_DIM as pi, INLINE_IMAGE_QUALITY as mi, MAX_ATTACHMENTS as hi, MAX_CONFIGURABLE_INLINE_CHARS as gi, MAX_FILE_BYTES as _i, MAX_INLINE_CHARS_PER_FILE as vi, MAX_INLINE_CHARS_TOTAL as yi, MAX_INLINE_IMAGE_BASE64_CHARS as bi, MAX_INLINE_IMAGE_PARTS as xi, MAX_INLINE_TURN_BODY_BYTES as Si, MAX_TURN_BODY_BYTES as Ci, PROMPT_ENVELOPE_RESERVE_BYTES as wi, PROVIDER_READABLE_FILE_MEDIA_TYPES as Ti, TURN_BODY_HEADROOM_BYTES as Ei, buildAttachmentPromptBlock as Di, buildPromptParts as Oi, buildPromptWithAttachments as ki, classifyAttachment as Ai, countInlineImageCandidates as ji, countInlinedImageParts as Mi, detectDocumentFormat as Ni, estimateTurnBodyBytes as Pi, formatBytes as Fi, getAttachmentSendBlocker as Ii, getExtension as Li, getSendableAttachments as Ri, hasAttachmentWorkInFlight as zi, isProviderReadableFilePart as Bi, largestInlineCharsPerFile as Vi, parseDataUrl as Hi, resolveAssistantInlineLimits as Ui, toMessageAttachment as Wi, truncateForInline as Gi, validateFile as Ki } from "./shared/assistant/attachments.js";
49
- import { ATTACHMENT_SOURCES as qi, availableAttachmentSources as Ji, deviceHasCamera as Yi } from "./shared/assistant/attachmentSources.js";
50
- import { ASSISTANT_I18N_COMPUTED_COPY as Xi, ASSISTANT_I18N_LITERAL_COPY as Zi, ASSISTANT_I18N_MANIFEST as Qi, assistantI18nSeedCopy as $i, assistantModeI18nCopy as ea } from "./shared/assistant/i18nManifest.js";
51
- import { describePermissionError as ta, permissionRefusalMessage as na } from "./shared/assistant/permissionError.js";
52
- import { AssistantSendRefusal as ra, classifyTurnFailure as ia, turnOutcomeCopy as aa } from "./shared/assistant/turnOutcome.js";
53
- import { ADMIN_MODE_ACCESS_WAIT_MS as oa, adminOnlyModeSendRefusalAfterAccess as sa, createAdminModeAccessGate as ca, resolveAssistantSendModeAfterAccess as la, unofferedModeSendRefusalAfterAccess as ua } from "./shared/assistant/adminModeSendGate.js";
54
- import { buildBoundedAttachmentTurn as da } from "./shared/assistant/attachmentTurn.js";
55
- import { LEGACY_WRITE_CONSENT_KEY as fa, TAKE_ACTION_ENGLISH as pa, isWriteModeAcknowledged as ma, restoreAcknowledgedWriteModes as ha, withWriteModeAcknowledged as ga, writeModeConsentCopy as _a, writeModeSendRefusal as va, writeModeSendRefusalReason as ya } from "./shared/assistant/writeModeConsent.js";
56
- import { SPOKEN_LABEL_LANGUAGES as ba, speechLabelsFor as xa } from "./shared/assistant/voice/speechLabels.js";
57
- import { detectScriptLocale as Sa, resolveSpeechLocale as Ca } from "./shared/assistant/voice/replyLanguage.js";
58
- import { IDLE_PLAYBACK as wa, isSpeakingMessage as Ta, publishedChunks as Ea, requiresCancel as Da, speechPlaybackReducer as Oa } from "./shared/assistant/voice/speechPlayback.js";
59
- import { AUTO_CARRY_OVER_MAX_CHARS as ka, AUTO_CARRY_OVER_MAX_CHARS_PER_MESSAGE as Aa, AUTO_CARRY_OVER_MAX_MESSAGES as ja, AUTO_READ_MODE as Ma, AUTO_WRITE_MODE as Na, autoCarryOverFor as Pa, autoSuggestions as Fa, buildAutoCarryOver as Ia, classifyAssistantIntent as La, escalationToUndo as Ra, isAutoRoutingOffered as za, resolveAutoRoute as Ba, restoreAutoRouting as Va } from "./shared/assistant/autoRouting.js";
60
- import { createGuardedAssistantStorage as Ha } from "./shared/assistant/guardedStorage.js";
61
- import { getHistoryStamp as Ua, historyOpenFilter as Wa, isHistoryConversationBusy as Ga, notifyAssistantStorageFull as Ka, setAssistantStorageFullHandler as qa, setHistoryBusyProbe as Ja, setHistoryOpenFilterSource as Ya, setHistoryStampSource as Xa } from "./shared/assistant/history/stampRegistry.js";
62
- import { mergePersistedAssistantState as Za, resolveActiveModeSandbox as Qa, useAssistantStore as $a } from "./shared/assistant/store.js";
63
- import { isTurnInFlight as eo, planAbandonedTurn as to, planTurnAbort as no } from "./shared/assistant/turnState.js";
64
- import { isLegacyFiller as ro, isLegacyStopped as io, isStageCopy as ao, stripLegacyFillerPrefix as oo } from "./shared/assistant/legacyFiller.js";
65
- import { getAssistantDisplayContent as so } from "./shared/assistant/displayContent.js";
66
- import { elapsedSince as co, msUntilNextPhrase as lo, startPhraseTicker as uo, turnActivityCopy as fo, turnActivityStage as po } from "./shared/assistant/turnActivity.js";
67
- import { NO_FIRST_TEXT as mo, buildAssistantProgress as ho, readAheadFor as go, snapshotReplyFloor as _o, startSessionReadAhead as vo, trackFirstText as yo } from "./shared/assistant/turnProgress.js";
68
- import { AssistantToolActivity as bo, parseToolActivity as xo } from "./shared/assistant/ui/AssistantToolActivity.js";
69
- import { countSpokenTurns as So, spokenMessagesSinceContinueNote as Co, spokenTurnText as wo } from "./shared/assistant/spokenTurns.js";
70
- import { AssistantAvatar as To } from "./shared/assistant/ui/AssistantAvatar.js";
71
- import { TURN_MILESTONES as Eo, TURN_SEGMENTS as Do, TURN_TIMELINE_EVENT as Oo, beginTurn as ko, describeTurn as Ao, detectTurnDevice as jo, isComparableTurn as Mo, markTurn as No, recentTurnTimelines as Po, resetTurnTimelines as Fo, restartAttempt as Io, segmentStats as Lo, subscribeTurnTimelines as Ro, summariseTurnTimelines as zo, turnClockMs as Bo, turnSegments as Vo, turnTimeline as Ho } from "./shared/assistant/turnTimeline.js";
72
- import { AssistantSpeechProvider as Uo, useAssistantSpeech as Wo } from "./shared/assistant/ui/AssistantSpeechProvider.js";
73
- import { useVoiceSession as Go } from "./shared/assistant/ui/useVoiceSession.js";
74
- import { getActorId as Ko, getOrganizationId as qo, getWorkspaceId as Jo } from "./shared/assistant/context.js";
75
- import { isMultimodalBodyRejection as Yo, isNeverRecoverableAssistantError as Xo, isRecoverableAssistantError as Zo } from "./shared/assistant/transportErrors.js";
76
- import { SANDBOX_READY_TTL_MS as Qo, createReadinessTracker as $o, isRecentlyVerified as es, planAfterTransportFailure as ts, planTrustedSandboxFailure as ns } from "./shared/assistant/sandboxReadiness.js";
77
- import { AssistantAutoSpeakToggle as rs } from "./shared/assistant/ui/AssistantAutoSpeakToggle.js";
78
- import { AssistantMessageAttachments as is } from "./shared/assistant/ui/AssistantMessageAttachments.js";
79
- import { AssistantPendingWriteCard as as } from "./shared/assistant/ui/AssistantPendingWriteCard.js";
80
- import { AssistantLanguageMenu as os } from "./shared/assistant/ui/AssistantLanguageMenu.js";
81
- import { AssistantReplyLanguageSelector as ss } from "./shared/assistant/ui/AssistantReplyLanguageSelector.js";
82
- import { AssistantSpeakButton as cs } from "./shared/assistant/ui/AssistantSpeakButton.js";
83
- import { AssistantSpokenTurnsNotice as ls } from "./shared/assistant/ui/AssistantSpokenTurnsNotice.js";
84
- import { AssistantConnectSourceProvider as us, connectSourceHrefRenders as ds, hasConnectSource as fs, useAssistantConnectSource as ps } from "./shared/assistant/ui/composer/connectSource.js";
85
- import { AssistantConnectSourceItem as ms, connectSourceActivation as hs } from "./shared/assistant/ui/composer/AssistantConnectSourceItem.js";
86
- import { ASSISTANT_OVERLAY_ATTR as gs, ASSISTANT_PANEL_ATTR as _s, ASSISTANT_VOICE_SESSION_ATTR as vs, NO_PANEL_OVERLAY as ys, activePanelOverlay as bs, assistantPanelOwnsEscape as xs, escapeDismisses as Ss, focusIsInsidePanel as Cs, nextPanelOverlays as ws, panelOwnsEscape as Ts, voiceSessionOwnsEscape as Es } from "./shared/assistant/ui/panelOverlays.js";
87
- import { useDropdownEscape as Ds } from "./shared/assistant/ui/useDropdownEscape.js";
88
- import { AssistantAttachmentButton as Os } from "./shared/assistant/ui/composer/AssistantAttachmentButton.js";
89
- import { AssistantAttachmentChips as ks } from "./shared/assistant/ui/composer/AssistantAttachmentChips.js";
90
- import { AssistantPreviewProvider as As, useAssistantPreview as js } from "./shared/assistant/preview/context.js";
91
- import { IDLE_PREVIEW_STATE as Ms, isBlankProse as Ns, isRunningStatus as Ps, nextPreviewEvents as Fs } from "./shared/assistant/preview/previewTransitions.js";
92
- import { IDLE_PREVIEW as Is, NO_OWNER as Ls, applyPreviewEvent as Rs, createAssistantPreviewSurface as zs, currentPreviewOwner as Bs, runBelongsTo as Vs, sameOwner as Hs } from "./shared/assistant/preview/surfaceState.js";
93
- import { createRunIdentityCache as Us, runIdentities as Ws } from "./shared/assistant/preview/runIdentity.js";
94
- import { IDLE_ACTIVE_TAB as Gs, nextActiveTab as Ks, pinActiveTab as qs, shouldPinOnMove as Js, shouldPinOnSelect as Ys, stepsFromToolActivity as Xs, tabForArrowKey as Zs } from "./shared/assistant/preview/entity/entityPreviewState.js";
95
- import { AssistantStepRail as Qs } from "./shared/assistant/preview/entity/AssistantStepRail.js";
96
- import { AssistantEntityPreview as $s } from "./shared/assistant/preview/entity/AssistantEntityPreview.js";
97
- import { useOverlayFocus as ec } from "./shared/assistant/ui/useOverlayFocus.js";
98
- import { REDUCED_MOTION_ATTRIBUTE as tc, REDUCED_MOTION_QUERY as nc, readReducedMotion as rc, subscribeReducedMotion as ic, usePrefersReducedMotion as ac } from "./shared/assistant/ui/usePrefersReducedMotion.js";
99
- import { useAssistantPreviewBridge as oc } from "./shared/assistant/preview/useAssistantPreviewBridge.js";
100
- import { HostedPreviewBridgeContext as sc, panelOwnedPreviewBridge as cc, useHostedAssistantPreviewBridge as lc } from "./shared/assistant/preview/bridgeHostContext.js";
101
- import { AssistantPreviewBridgeHost as uc } from "./shared/assistant/preview/bridgeHost.js";
102
- import { AssistantPreviewOverlay as dc } from "./shared/assistant/preview/AssistantPreviewOverlay.js";
103
- import { AssistantLanguageSelector as fc, FOLLOW_APP_LOCALE as pc } from "./shared/assistant/ui/composer/AssistantLanguageSelector.js";
104
- import { ASSISTANT_MODE_META as mc, AUTO_MODE_OPTION_ID as hc, AssistantModeSelector as gc, assistantModeMeta as _c, nextModeIndex as vc } from "./shared/assistant/ui/composer/AssistantModeSelector.js";
105
- import { AssistantVoiceButton as yc } from "./shared/assistant/ui/composer/AssistantVoiceButton.js";
106
- import { AUTO_VOICE as bc, AssistantVoiceSelector as xc } from "./shared/assistant/ui/composer/AssistantVoiceSelector.js";
107
- import { AssistantVoiceOrb as Sc } from "./shared/assistant/ui/voice/AssistantVoiceOrb.js";
108
- import { AssistantVoiceSessionButton as Cc } from "./shared/assistant/ui/voice/AssistantVoiceSessionButton.js";
109
- import { CAPTION_SCROLL_ATTR as wc, VoiceCaption as Tc } from "./shared/assistant/ui/voice/VoiceCaption.js";
110
- import { VoiceConversationView as Ec } from "./shared/assistant/ui/voice/VoiceConversationView.js";
111
- import { VoiceWaveform as Dc } from "./shared/assistant/ui/voice/VoiceWaveform.js";
112
- import { VoiceStatusLine as Oc, VoiceStatusText as kc } from "./shared/assistant/ui/voice/VoiceStatusText.js";
113
- import { VoiceMiniController as Ac } from "./shared/assistant/ui/voice/VoiceMiniController.js";
114
- import { VoiceStage as jc } from "./shared/assistant/ui/voice/VoiceStage.js";
115
- import { AssistantHistoryDeletedNotice as Mc, AssistantHistoryLoadState as Nc, AssistantHistoryReadOnlyBanner as Pc, AssistantHistoryShowEarlier as Fc, AssistantHistoryUnsavedDeleteNotice as Ic } from "./shared/assistant/ui/AssistantHistoryNotices.js";
116
- import { VoiceTranscriptDrawer as Lc } from "./shared/assistant/ui/voice/VoiceTranscriptDrawer.js";
117
- import { ASSISTANT_BOTTOM_CHROME_CLEARANCE as Rc, ASSISTANT_DIALOG_SELECTOR as zc, ASSISTANT_DOCKED_DESKTOP_CLASS as Bc, ASSISTANT_DOCK_WIDTH_PX as Vc, ASSISTANT_DOCK_WIDTH_VAR as Hc, ASSISTANT_FLOATING_DESKTOP_CLASS as Uc, ASSISTANT_OVERLAY_DEFAULT_TOP_PX as Wc, ASSISTANT_OVERLAY_DESKTOP_QUERY as Gc, ASSISTANT_OVERLAY_TOP_VAR as Kc, ASSISTANT_SHEET_BASE_CLASS as qc, ASSISTANT_SHEET_COMPACT_CLASS as Jc, ASSISTANT_SHEET_EXPANDED_CLASS as Yc, ASSISTANT_TOGGLE_SHORTCUT_LABEL as Xc, aboveAssistantBottomChrome as Zc, assistantOverlayClassName as Qc, assistantOverlayEscapeAction as $c, assistantOverlayKeys as el, assistantQuotaKindOf as tl, closestAround as nl, createAssistantNavigate as rl, isAssistantToggleShortcut as il, nextAssistantOpenState as al, publishedAssistantDockWidth as ol, readAssistantOverlayFlag as sl, requestedAssistantOpenState as cl, writeAssistantOverlayFlag as ll } from "./shared/assistant/ui/assistantOverlayState.js";
118
- import { VOICE_ESCAPE_LAYER_SELECTOR as ul, VOICE_ESCAPE_MODAL_SELECTOR as dl, escapeBelongsToLayerAbove as fl, voiceSessionEscapeAction as pl } from "./shared/assistant/ui/voice/voiceSessionEscape.js";
119
- import { downloadFile as ml, exportConversation as hl } from "./shared/assistant/exportConversation.js";
120
- import { AssistantMoreMenu as gl } from "./shared/assistant/ui/AssistantMoreMenu.js";
121
- import { AssistantHeader as _l } from "./shared/assistant/ui/AssistantHeader.js";
122
- import { ASSISTANT_HISTORY_CHANGES_OPERATION as vl, ASSISTANT_HISTORY_CHANGES_QUERY as yl, ASSISTANT_HISTORY_CONVERSATIONS_OPERATION as bl, ASSISTANT_HISTORY_CONVERSATIONS_QUERY as xl, ASSISTANT_HISTORY_DELETE_MUTATION as Sl, ASSISTANT_HISTORY_DELETE_OPERATION as Cl, ASSISTANT_HISTORY_ENTRIES_OPERATION as wl, ASSISTANT_HISTORY_ENTRIES_QUERY as Tl, ASSISTANT_HISTORY_OPERATIONS as El, ASSISTANT_HISTORY_SAVE_MUTATION as Dl, ASSISTANT_HISTORY_SAVE_OPERATION as Ol, buildHistoryDeleteVariables as kl, buildHistoryEntriesVariables as Al, buildHistoryPageVariables as jl, buildHistorySaveVariables as Ml } from "./shared/assistant/history/historyOperations.js";
123
- import { historyTimestampToIso as Nl } from "./shared/assistant/history/historyTimestamps.js";
124
- import { AssistantHistoryResponseError as Pl, AssistantHistoryScopeInactiveError as Fl, createGatewayHistoryTransport as Il } from "./shared/assistant/history/historyApi.js";
125
- import { ASSISTANT_HISTORY_BACKOFF_BASE_MS as Ll, ASSISTANT_HISTORY_BACKOFF_MAX_MS as Rl, ASSISTANT_HISTORY_QUOTA_RETRY_MS as zl, ASSISTANT_HISTORY_REJECTION_KEYS as Bl, ASSISTANT_HISTORY_SCHEMA_PAUSE_MS as Vl, assistantHistoryBackoffMs as Hl, classifyAssistantHistoryError as Ul, planAssistantHistoryRetry as Wl } from "./shared/assistant/history/historyErrors.js";
126
- import { LEGACY_HISTORY_KEY_PREFIX as Gl, assistantHistoryScopeKey as Kl, completeAssistantHistoryScope as ql, isLegacyHistoryConvKey as Jl, legacyHistoryConvKey as Yl } from "./shared/assistant/history/historyTypes.js";
127
- import { ASSISTANT_HISTORY_MAX_CACHED_CONVERSATIONS as Xl, conversationHasHistory as Zl, historyConvKeyOf as Ql, historyHeaderOf as $l, historyScopeKeyOfStamp as eu, isOtherScopeHistoryConversation as tu, isReadOnlyHistoryConversation as nu, isReusableHistoryDraft as ru, materializeHistoryHeader as iu, resolveHistoryReopenMode as au, selectAssistantHistoryList as ou, selectHistoryEvictions as su } from "./shared/assistant/history/historyList.js";
128
- import { HISTORY_CLIENT_ID_PATTERN as cu, HISTORY_ENTRY_CONTENT_CAP_BYTES as lu, HISTORY_MAX_CONTENT_BYTES as uu, HISTORY_METADATA_ENVELOPE_MAX_BYTES as du, HISTORY_METADATA_KEYS as fu, HISTORY_REQUEST_HEADROOM_BYTES as pu, HISTORY_SAVE_REQUEST_BUDGET_BYTES as mu, HISTORY_TRUNCATION_MARKER as hu, filterHistoryMetadata as gu, fitHistoryMetadataEnvelope as _u, fromHistoryEntry as vu, historyEntriesMatchKind as yu, isHistoryClientId as bu, measureHistorySaveRequest as xu, toHistoryEntries as Su, toStorableHistoryText as Cu, truncateUtf8 as wu, utf8ByteLength as Tu } from "./shared/assistant/history/historyMapping.js";
129
- import { HISTORY_CATCH_UP_MAX_GAP as Eu, HISTORY_CATCH_UP_PAGE as Du, HISTORY_LOAD_PAGE as Ou, applyHistoryPage as ku, highestContiguousHistorySeq as Au, mergeHistoryMessages as ju, planHistoryEarlierLoad as Mu, planHistoryOpenLoad as Nu } from "./shared/assistant/history/historyMerge.js";
130
- import { assistantHistoryGenerationOf as Pu, createAssistantHistoryStatusStore as Fu, isCurrentAssistantHistoryGeneration as Iu, useAssistantHistoryStatus as Lu } from "./shared/assistant/history/historyStatus.js";
131
- import { createProfileBoundStorage as Ru } from "./shared/assistant/history/profileBoundStorage.js";
132
- import { ASSISTANT_HISTORY_DONE_TTL_MS as zu, ASSISTANT_HISTORY_MAX_HEADERS as Bu, ASSISTANT_HISTORY_MAX_TOMBSTONES as Vu, ASSISTANT_HISTORY_STORAGE_NAME as Hu, ASSISTANT_HISTORY_TOMBSTONE_TTL_MS as Uu, assistantHistoryStore as Wu, boundAssistantHistoryHeaders as Gu, createAssistantHistoryStore as Ku, emptyAssistantHistoryPersisted as qu, emptyAssistantHistoryScopeState as Ju, isNewerAssistantHistoryFormat as Yu, mergeAssistantHistoryPersisted as Xu, mergeAssistantHistoryWithStored as Zu, pruneAssistantHistoryPersisted as Qu, readAssistantHistoryPersisted as $u, settleAssistantHistory as ed, useAssistantHistoryStore as td } from "./shared/assistant/history/historyStore.js";
133
- import { ASSISTANT_HISTORY_RESET_TRUST_MS as nd, assistantHistory as rd, createAssistantHistoryEngine as id, createSystemHistoryClock as ad } from "./shared/assistant/history/historyEngine.js";
134
- import { AssistantConversationList as od } from "./shared/assistant/ui/AssistantConversationList.js";
135
- import { AssistantEmptyState as sd } from "./shared/assistant/ui/AssistantEmptyState.js";
136
- import { HISTORY_RESUME_CLOSE as cd, HISTORY_RESUME_MAX_ANSWER_CHARS as ld, HISTORY_RESUME_MAX_CHARS as ud, HISTORY_RESUME_MAX_EXCHANGES as dd, HISTORY_RESUME_MAX_PROMPT_CHARS as fd, HISTORY_RESUME_OPEN as pd, buildHistoryResumePreamble as md, isKnownReadOnlyMode as hd, resumeContextFor as gd } from "./shared/assistant/history/historyResume.js";
137
- import { useAssistantServerHistory as _d } from "./shared/assistant/history/useAssistantServerHistory.js";
138
- import { AssistantTurnActivity as vd, TurnActivityLine as yd } from "./shared/assistant/ui/AssistantTurnActivity.js";
139
- import { AssistantMessageItem as bd } from "./shared/assistant/ui/AssistantMessageItem.js";
140
- import { AssistantMessageList as xd } from "./shared/assistant/ui/AssistantMessageList.js";
141
- import { AssistantVoiceSession as Sd } from "./shared/assistant/ui/voice/AssistantVoiceSession.js";
142
- import { useAssistantApiAccess as Cd } from "./shared/assistant/useAssistantApiAccess.js";
143
- import { useConversationTurns as wd } from "./shared/assistant/useConversationTurns.js";
144
- import { ABANDONED_TURN_OUTCOME as Td, MAX_REPORTED_TURN_MS as Ed, TURN_TIMING_REPORT_FIELDS as Dd, TURN_TIMING_STAGES as Od, buildAbandonedTurnReport as kd, buildTurnTimingReport as Ad, isFinishedTurn as jd } from "./shared/assistant/turnTimingReport.js";
145
- import { TURN_TIMING_REPORTING as Md, createTurnTimingNonce as Nd, createTurnTimingReporter as Pd, resetTurnTimingReporting as Fd, sendAssistantTurnTimings as Id, startTurnTimingReporting as Ld } from "./shared/assistant/turnTimingReporter.js";
146
- import { PREWARM_COOLDOWN_MS as Rd, WarmCancelled as zd, consumeWarm as Bd, prewarmTarget as Vd, resetWarmsForTest as Hd, settleWarmBeforeSend as Ud, startWarm as Wd, warmState as Gd } from "./shared/assistant/prewarm.js";
147
- import { isAlreadyThere as Kd, isCurrentPath as qd, matchLocalUiCommand as Jd, navDestinations as Yd, normaliseUtterance as Xd, planThemeChange as Zd } from "./shared/assistant/localUiCommands.js";
148
- import { chooseDestinationCopy as Qd, navigationCommandCopy as $d, themeCommandCopy as ef } from "./shared/assistant/localUiCommandCopy.js";
149
- import { aiCreditsUpdatedEventName as tf, dispatchAssistantQuotaExhausted as nf, notifyAiCreditsUpdated as rf } from "./shared/assistant/aiCredits.js";
150
- import { useWorkspaceWriteAccess as af } from "./shared/assistant/useWorkspaceWriteAccess.js";
151
- import { extractDocumentText as of } from "./shared/assistant/documentExtract.js";
152
- import { useAssistantAttachments as sf } from "./shared/assistant/useAssistantAttachments.js";
153
- import { AssistantComposer as cf } from "./shared/assistant/ui/composer/AssistantComposer.js";
154
- import { isProdRuntime as lf } from "./shared/assistant/env.js";
155
- import { useAssistantHeartbeat as uf } from "./shared/assistant/useAssistantHeartbeat.js";
156
- import { useAssistantKeyboardShortcuts as df } from "./shared/assistant/useAssistantKeyboardShortcuts.js";
157
- import { AssistantApiCallsConsentDialog as ff } from "./shared/assistant/ui/AssistantApiCallsConsentDialog.js";
158
- import { AssistantChatArea as pf } from "./shared/assistant/ui/AssistantChatArea.js";
159
- import { AIAssistantPanel as mf } from "./shared/assistant/ui/AIAssistantPanel.js";
160
- import { AssistantOverlay as hf, AssistantOverlayProvider as gf, useAssistantDockWidth as _f, useAssistantOverlayOrNull as vf, useAssistantQuotaExhausted as yf } from "./shared/assistant/ui/AssistantOverlay.js";
161
- export { Td as ABANDONED_TURN_OUTCOME, oa as ADMIN_MODE_ACCESS_WAIT_MS, mf as AIAssistantPanel, Q as ASSISTANT_API_AUTH_STRATEGY, Rc as ASSISTANT_BOTTOM_CHROME_CLEARANCE, zc as ASSISTANT_DIALOG_SELECTOR, Bc as ASSISTANT_DOCKED_DESKTOP_CLASS, Vc as ASSISTANT_DOCK_WIDTH_PX, Hc as ASSISTANT_DOCK_WIDTH_VAR, Uc as ASSISTANT_FLOATING_DESKTOP_CLASS, Ll as ASSISTANT_HISTORY_BACKOFF_BASE_MS, Rl as ASSISTANT_HISTORY_BACKOFF_MAX_MS, vl as ASSISTANT_HISTORY_CHANGES_OPERATION, yl as ASSISTANT_HISTORY_CHANGES_QUERY, bl as ASSISTANT_HISTORY_CONVERSATIONS_OPERATION, xl as ASSISTANT_HISTORY_CONVERSATIONS_QUERY, Sl as ASSISTANT_HISTORY_DELETE_MUTATION, Cl as ASSISTANT_HISTORY_DELETE_OPERATION, zu as ASSISTANT_HISTORY_DONE_TTL_MS, wl as ASSISTANT_HISTORY_ENTRIES_OPERATION, Tl as ASSISTANT_HISTORY_ENTRIES_QUERY, Xl as ASSISTANT_HISTORY_MAX_CACHED_CONVERSATIONS, Bu as ASSISTANT_HISTORY_MAX_HEADERS, Vu as ASSISTANT_HISTORY_MAX_TOMBSTONES, El as ASSISTANT_HISTORY_OPERATIONS, zl as ASSISTANT_HISTORY_QUOTA_RETRY_MS, Bl as ASSISTANT_HISTORY_REJECTION_KEYS, nd as ASSISTANT_HISTORY_RESET_TRUST_MS, Dl as ASSISTANT_HISTORY_SAVE_MUTATION, Ol as ASSISTANT_HISTORY_SAVE_OPERATION, Vl as ASSISTANT_HISTORY_SCHEMA_PAUSE_MS, Hu as ASSISTANT_HISTORY_STORAGE_NAME, Uu as ASSISTANT_HISTORY_TOMBSTONE_TTL_MS, Xi as ASSISTANT_I18N_COMPUTED_COPY, Zi as ASSISTANT_I18N_LITERAL_COPY, Qi as ASSISTANT_I18N_MANIFEST, vr as ASSISTANT_LANGUAGES, H as ASSISTANT_MODE_FALLBACK_LABELS, U as ASSISTANT_MODE_IDS, mc as ASSISTANT_MODE_META, gs as ASSISTANT_OVERLAY_ATTR, Wc as ASSISTANT_OVERLAY_DEFAULT_TOP_PX, Gc as ASSISTANT_OVERLAY_DESKTOP_QUERY, Kc as ASSISTANT_OVERLAY_TOP_VAR, _s as ASSISTANT_PANEL_ATTR, qc as ASSISTANT_SHEET_BASE_CLASS, Jc as ASSISTANT_SHEET_COMPACT_CLASS, Yc as ASSISTANT_SHEET_EXPANDED_CLASS, Xc as ASSISTANT_TOGGLE_SHORTCUT_LABEL, vs as ASSISTANT_VOICE_SESSION_ATTR, ui as ATTACHMENT_ACCEPT, qi as ATTACHMENT_SOURCES, ka as AUTO_CARRY_OVER_MAX_CHARS, Aa as AUTO_CARRY_OVER_MAX_CHARS_PER_MESSAGE, ja as AUTO_CARRY_OVER_MAX_MESSAGES, hc as AUTO_MODE_OPTION_ID, Ma as AUTO_READ_MODE, bc as AUTO_VOICE, Na as AUTO_WRITE_MODE, ff as AssistantApiCallsConsentDialog, Os as AssistantAttachmentButton, ks as AssistantAttachmentChips, rs as AssistantAutoSpeakToggle, To as AssistantAvatar, pf as AssistantChatArea, cf as AssistantComposer, ms as AssistantConnectSourceItem, us as AssistantConnectSourceProvider, od as AssistantConversationList, sd as AssistantEmptyState, $s as AssistantEntityPreview, _l as AssistantHeader, Mc as AssistantHistoryDeletedNotice, Nc as AssistantHistoryLoadState, Pc as AssistantHistoryReadOnlyBanner, Pl as AssistantHistoryResponseError, Fl as AssistantHistoryScopeInactiveError, Fc as AssistantHistoryShowEarlier, Ic as AssistantHistoryUnsavedDeleteNotice, l as AssistantI18nProvider, os as AssistantLanguageMenu, fc as AssistantLanguageSelector, m as AssistantMarkdownImage, _ as AssistantMarkdownRenderer, is as AssistantMessageAttachments, bd as AssistantMessageItem, xd as AssistantMessageList, gc as AssistantModeSelector, gl as AssistantMoreMenu, v as AssistantNavigateProvider, hf as AssistantOverlay, gf as AssistantOverlayProvider, as as AssistantPendingWriteCard, uc as AssistantPreviewBridgeHost, dc as AssistantPreviewOverlay, As as AssistantPreviewProvider, r as AssistantProductProvider, ss as AssistantReplyLanguageSelector, Ve as AssistantRuntimeManager, ra as AssistantSendRefusal, cs as AssistantSpeakButton, Uo as AssistantSpeechProvider, ls as AssistantSpokenTurnsNotice, Qs as AssistantStepRail, bo as AssistantToolActivity, vd as AssistantTurnActivity, yc as AssistantVoiceButton, Sc as AssistantVoiceOrb, xc as AssistantVoiceSelector, Sd as AssistantVoiceSession, Cc as AssistantVoiceSessionButton, di as AttachmentRejectedError, Wr as BOILERPLATE_PAGE_SHARE, tt as BUILT_IN_MODE_CAPABILITIES, wc as CAPTION_SCROLL_ATTR, M as CHECK_AI_CREDITS, N as CREATE_SANDBOX, fi as DEFAULT_INLINE_LIMITS, Zn as DEFAULT_SPEAKABLE_LABELS, yr as DEFAULT_SPEECH_RATE, lt as DEFAULT_STREAM_BUDGET_MS, Pn as ENDPOINT_GRACE_MS, P as EXTEND_SANDBOX_TTL, pc as FOLLOW_APP_LOCALE, F as GET_ACTIVE_SANDBOXES, I as GET_SANDBOX, Eu as HISTORY_CATCH_UP_MAX_GAP, Du as HISTORY_CATCH_UP_PAGE, cu as HISTORY_CLIENT_ID_PATTERN, lu as HISTORY_ENTRY_CONTENT_CAP_BYTES, Ou as HISTORY_LOAD_PAGE, uu as HISTORY_MAX_CONTENT_BYTES, du as HISTORY_METADATA_ENVELOPE_MAX_BYTES, fu as HISTORY_METADATA_KEYS, pu as HISTORY_REQUEST_HEADROOM_BYTES, cd as HISTORY_RESUME_CLOSE, ld as HISTORY_RESUME_MAX_ANSWER_CHARS, ud as HISTORY_RESUME_MAX_CHARS, dd as HISTORY_RESUME_MAX_EXCHANGES, fd as HISTORY_RESUME_MAX_PROMPT_CHARS, pd as HISTORY_RESUME_OPEN, mu as HISTORY_SAVE_REQUEST_BUDGET_BYTES, hu as HISTORY_TRUNCATION_MARKER, Dt as HOSTED_DISABLE_MS, Ot as HOSTED_TTS_MAX_CHARS, Ct as HOSTED_TTS_TIER, wt as HOSTED_VOICES, Ut as HOSTED_VOICE_RANK, sc as HostedPreviewBridgeContext, Gs as IDLE_ACTIVE_TAB, wa as IDLE_PLAYBACK, Is as IDLE_PREVIEW, Ms as IDLE_PREVIEW_STATE, kn as IDLE_ROTATION_CLOCK, ut as INCOMPLETE_TURN_NOTICES, Fn as INITIAL_SESSION, wr as INITIAL_TRANSCRIPT_AUTO_OPEN, pi as INLINE_IMAGE_MAX_DIM, mi as INLINE_IMAGE_QUALITY, In as INTERRUPT_MAX_MS, Ln as INTERRUPT_MIN_MS, Gl as LEGACY_HISTORY_KEY_PREFIX, fa as LEGACY_WRITE_CONSENT_KEY, nt as MAX_ASSISTANT_STREAM_BUDGET_MS, hi as MAX_ATTACHMENTS, Gr as MAX_BOILERPLATE_LINE_CHARS, gi as MAX_CONFIGURABLE_INLINE_CHARS, Kr as MAX_EXTRACTED_CHARS, _i as MAX_FILE_BYTES, vi as MAX_INLINE_CHARS_PER_FILE, yi as MAX_INLINE_CHARS_TOTAL, le as MAX_INLINE_IMAGE_BASE64_BYTES, bi as MAX_INLINE_IMAGE_BASE64_CHARS, xi as MAX_INLINE_IMAGE_PARTS, Si as MAX_INLINE_TURN_BODY_BYTES, qr as MAX_PDF_PAGES_SCANNED, Ed as MAX_REPORTED_TURN_MS, ue as MAX_REQUEST_BODY_BYTES, Qn as MAX_SPEAKABLE_CHARS, $n as MAX_SPOKEN_TABLE_ROWS, Ci as MAX_TURN_BODY_BYTES, lr as MINI_CAPTION_BUDGET, Jr as MIN_PAGE_TEXT_CHARS, Yr as MIN_TEXT_PAGE_SHARE, Rn as NOTHING_HEARD, mo as NO_FIRST_TEXT, Ls as NO_OWNER, ys as NO_PANEL_OVERLAY, Ar as PENDING_WRITE_APPROVAL_WINDOW_MS, _n as PHRASE_ROTATE_MS, dr as POLL_FAST_MS, fr as POLL_FAST_UNTIL_MS, pr as POLL_SLOW_MS, mr as POLL_STEADY_MS, hr as POLL_STEADY_UNTIL_MS, sr as PREVIEW_LANGUAGES, Rd as PREWARM_COOLDOWN_MS, K as PRODUCT_ASSISTANT_MODE_ID_MAX_LENGTH, q as PRODUCT_ASSISTANT_MODE_ID_PATTERN, wi as PROMPT_ENVELOPE_RESERVE_BYTES, Ti as PROVIDER_READABLE_FILE_MEDIA_TYPES, L as PROXY_SANDBOX_REQUEST, tc as REDUCED_MOTION_ATTRIBUTE, nc as REDUCED_MOTION_QUERY, R as REPORT_AI_TOKEN_USAGE, z as REPORT_MY_ASSISTANT_TURN_TIMINGS, de as REQUEST_TOO_LARGE_REFUSAL, Qo as SANDBOX_READY_TTL_MS, zn as SILENCE_SUBMIT_MS, kt as SPEAKING_RATE_MAX, At as SPEAKING_RATE_MAX_STREAMING, jt as SPEAKING_RATE_MAX_SYNC, Mt as SPEAKING_RATE_MIN, er as SPEECH_CHUNK_CHARS, tr as SPEECH_CHUNK_CJK_CHARS, Wt as SPEECH_LANG, ba as SPOKEN_LABEL_LANGUAGES, vn as STAGE_COPY, e as START_RETRY_COOLDOWN_MS, B as STOP_ASSISTANT_SANDBOX, dt as STREAM_BUDGET_MS, pa as TAKE_ACTION_ENGLISH, yn as THINKING_PHRASES, Ei as TURN_BODY_HEADROOM_BYTES, Eo as TURN_MILESTONES, et as TURN_OUTCOME_COPY, Do as TURN_SEGMENTS, Oo as TURN_TIMELINE_EVENT, Md as TURN_TIMING_REPORTING, Dd as TURN_TIMING_REPORT_FIELDS, Od as TURN_TIMING_STAGES, yd as TurnActivityLine, rt as UNAVAILABLE_MODE_REFUSAL, it as UNDECLARED_MODE_CAPABILITIES, ul as VOICE_ESCAPE_LAYER_SELECTOR, dl as VOICE_ESCAPE_MODAL_SELECTOR, Gt as VOICE_LIST_TIMEOUT_MS, wn as VOICE_MUTED_LABEL, Tn as VOICE_THINKING_LABEL, Tc as VoiceCaption, Ec as VoiceConversationView, Ac as VoiceMiniController, jc as VoiceStage, Oc as VoiceStatusLine, kc as VoiceStatusText, Lc as VoiceTranscriptDrawer, Dc as VoiceWaveform, V as WAIT_FOR_SANDBOX_RUNNING, zd as WarmCancelled, fe as abortAssistantTurn, Zc as aboveAssistantBottomChrome, bs as activePanelOverlay, at as adminOnlyModeSendRefusal, sa as adminOnlyModeSendRefusalAfterAccess, Bn as advanceHeardClock, An as advanceRotationClock, tf as aiCreditsUpdatedEventName, ku as applyHistoryPage, Rs as applyPreviewEvent, jr as approvalFollowUpReplyIds, pe as approvePendingWrite, Mr as approvedPendingWriteIds, rd as assistantHistory, Hl as assistantHistoryBackoffMs, Pu as assistantHistoryGenerationOf, Kl as assistantHistoryScopeKey, Wu as assistantHistoryStore, $i as assistantI18nSeedCopy, W as assistantModeFallbackLabel, ea as assistantModeI18nCopy, _c as assistantModeMeta, Qc as assistantOverlayClassName, $c as assistantOverlayEscapeAction, el as assistantOverlayKeys, xs as assistantPanelOwnsEscape, tl as assistantQuotaKindOf, y as assistantRoutePath, u as assistantTranslationKey, b as assistantUrlTransform, Pa as autoCarryOverFor, Fa as autoSuggestions, Ji as availableAttachmentSources, Nt as base64ToBytes, Nr as beginApprovalInFlight, ko as beginTurn, Gu as boundAssistantHistoryHeaders, x as browserShouldHandle, St as browserSpeechEngine, kd as buildAbandonedTurnReport, ho as buildAssistantProgress, me as buildAssistantSandboxEnv, Di as buildAttachmentPromptBlock, Ia as buildAutoCarryOver, da as buildBoundedAttachmentTurn, Jn as buildContinuedFromVoiceNote, kl as buildHistoryDeleteVariables, Al as buildHistoryEntriesVariables, jl as buildHistoryPageVariables, md as buildHistoryResumePreamble, Ml as buildHistorySaveVariables, He as buildProgress, he as buildPromptGatewayRequest, Oi as buildPromptParts, ge as buildPromptRequestBody, ki as buildPromptWithAttachments, Pt as buildRequest, k as buildSandboxContextInput, Ad as buildTurnTimingReport, Yn as buildVoiceTranscriptMarkdown, J as builtInModeExtendedBy, ht as chatTurns, _e as checkAssistantAiCredits, Qd as chooseDestinationCopy, nr as chunkForSpeech, Ul as classifyAssistantHistoryError, S as classifyAssistantHref, La as classifyAssistantIntent, Ai as classifyAttachment, Ft as classifyHttpFailure, w as classifyQuotaError, ia as classifyTurnFailure, nl as closestAround, Xr as columnLetterToIndex, ql as completeAssistantHistoryScope, En as composeVoiceStatus, an as configureSpeechEngine, hs as connectSourceActivation, ds as connectSourceHrefRenders, Bd as consumeWarm, rr as containsCjk, Zl as conversationHasHistory, p as copyToClipboard, ji as countInlineImageCandidates, Mi as countInlinedImageParts, So as countSpokenTurns, ca as createAdminModeAccessGate, id as createAssistantHistoryEngine, Fu as createAssistantHistoryStatusStore, Ku as createAssistantHistoryStore, rl as createAssistantNavigate, zs as createAssistantPreviewSurface, ve as createAssistantSandbox, ye as createAssistantSession, Il as createGatewayHistoryTransport, Ha as createGuardedAssistantStorage, Vt as createHostedTtsEngine, Ru as createProfileBoundStorage, $o as createReadinessTracker, rn as createRoutingSpeechEngine, Us as createRunIdentityCache, Qe as createSandboxAssistantTransport, on as createSpeechEngines, ad as createSystemHistoryClock, Nd as createTurnTimingNonce, Pd as createTurnTimingReporter, Bs as currentPreviewOwner, Y as declareAssistantMode, It as decodeAudioResponse, Zr as decodeXmlEntities, ta as describePermissionError, T as describeQuotaError, Ao as describeTurn, Ni as detectDocumentFormat, Sa as detectScriptLocale, jo as detectTurnDevice, Yi as deviceHasCamera, Lt as disableDurationMs, nf as dispatchAssistantQuotaExhausted, Qr as docxXmlToText, be as downloadAssistantArtifact, ml as downloadFile, co as elapsedSince, qu as emptyAssistantHistoryPersisted, Ju as emptyAssistantHistoryScopeState, Pr as endApprovalInFlight, Ra as escalationToUndo, fl as escapeBelongsToLayerAbove, Ss as escapeDismisses, Pi as estimateTurnBodyBytes, A as executeAssistantGraphQLOnce, j as executeSandboxGraphQL, hl as exportConversation, xe as extendAssistantSandboxTTL, E as extensionObjectsIn, of as extractDocumentText, gu as filterHistoryMetadata, br as findAssistantLanguage, ot as findAssistantModeConfig, Se as findExistingSandbox, Ce as findExistingSandboxWithStatus, Or as findPendingWrite, _u as fitHistoryMetadataEnvelope, $r as fitPdfPages, Cs as focusIsInsidePanel, Fr as forgetLiveTurns, Fi as formatBytes, ei as formatPageRanges, we as forwardsUserTokensToSandbox, vu as fromHistoryEntry, Ko as getActorId, Ir as getApprovalInFlight, Te as getAssistantArtifacts, so as getAssistantDisplayContent, Ue as getAssistantMedia, Ee as getAssistantMessages, De as getAssistantSession, Oe as getAssistantStreamAccess, We as getAssistantText, Ii as getAttachmentSendBlocker, ae as getCapability, Li as getExtension, Ua as getHistoryStamp, $ as getImageForMode, ee as getImageTagForMode, qo as getOrganizationId, Ge as getRawMessageCreatedAt, te as getResourcesForMode, ne as getSandboxImageRegistry, Ri as getSendableAttachments, sn as getSpeechEngine, Ke as getToolProgress, Jo as getWorkspaceId, Lr as goAheadSentReplyIds, gt as groupBySession, _t as groupConsecutiveBySession, zi as hasAttachmentWorkInFlight, fs as hasConnectSource, Au as highestContiguousHistorySeq, Ql as historyConvKeyOf, yu as historyEntriesMatchKind, $l as historyHeaderOf, Wa as historyOpenFilter, eu as historyScopeKeyOfStamp, Nl as historyTimestampToIso, Tt as hostedLocaleFor, Et as hostedSupportsLanguage, h as imageHostLabel, ft as incompleteTurnNotice, Kd as isAlreadyThere, X as isAssistantModeId, il as isAssistantToggleShortcut, za as isAutoRoutingOffered, Ns as isBlankProse, G as isBuiltInAssistantMode, Vn as isCapturing, Mo as isComparableTurn, Iu as isCurrentAssistantHistoryGeneration, qd as isCurrentPath, Hn as isEcho, jd as isFinishedTurn, bu as isHistoryClientId, Ga as isHistoryConversationBusy, Kt as isHostedVoice, hd as isKnownReadOnlyMode, ro as isLegacyFiller, Jl as isLegacyHistoryConvKey, io as isLegacyStopped, Rr as isLiveTurn, ti as isMostlyImagePages, Yo as isMultimodalBodyRejection, Xo as isNeverRecoverableAssistantError, Yu as isNewerAssistantHistoryFormat, tu as isOtherScopeHistoryConversation, lf as isProdRuntime, Z as isProductAssistantModeId, Bi as isProviderReadableFilePart, D as isQuotaExhaustedError, nu as isReadOnlyHistoryConversation, qe as isReapedSandboxConnectionError, es as isRecentlyVerified, Je as isRecoverable, Zo as isRecoverableAssistantError, g as isRemoteImageSrc, ru as isReusableHistoryDraft, Ps as isRunningStatus, Ta as isSpeakingMessage, qt as isSpeechBlocked, ao as isStageCopy, Un as isSubmittable, eo as isTurnInFlight, oe as isUnknownFieldError, vt as isVoiceTurn, ma as isWriteModeAcknowledged, ni as joinSheets, Jt as languageDisplayName, Vi as largestInlineCharsPerFile, Yl as legacyHistoryConvKey, Ye as mapSessionToHistory, zr as markLiveTurn, se as markSupported, No as markTurn, ce as markUnsupported, Jd as matchLocalUiCommand, iu as materializeHistoryHeader, Tr as maySendSpokenTurn, xu as measureHistorySaveRequest, Xu as mergeAssistantHistoryPersisted, Zu as mergeAssistantHistoryWithStored, ju as mergeHistoryMessages, Xe as mergeMessagesById, Za as mergePersistedAssistantState, dn as micIsInterrupt, ke as modeRequiresConfirmWrites, lo as msUntilNextPhrase, Yd as navDestinations, $d as navigationCommandCopy, Br as newestModelReplyId, Ks as nextActiveTab, al as nextAssistantOpenState, vc as nextModeIndex, ws as nextPanelOverlays, Fs as nextPreviewEvents, Xd as normaliseUtterance, Yt as normalizeLangTag, rf as notifyAiCreditsUpdated, Ka as notifyAssistantStorageFull, Wn as orbMode, ri as pageMarker, cc as panelOwnedPreviewBridge, Ts as panelOwnsEscape, kr as parseConfirmationRefusal, Hi as parseDataUrl, ii as parseSharedStrings, xo as parseToolActivity, ai as parseWorkbookSheets, oi as pdfTextItemsToPage, na as permissionRefusalMessage, qs as pinActiveTab, to as planAbandonedTurn, ts as planAfterTransportFailure, Wl as planAssistantHistoryRetry, Mu as planHistoryEarlierLoad, Nu as planHistoryOpenLoad, Gn as planReplyConsumption, Zd as planThemeChange, Er as planTranscriptAutoOpen, ns as planTrustedSandboxFailure, no as planTurnAbort, Dr as planVoiceSessionBinding, gr as pollDelayMs, Vd as prewarmTarget, Xt as primaryLanguageSubtag, Ae as promptGatewayRequestBytes, Qu as pruneAssistantHistoryPersisted, ol as publishedAssistantDockWidth, Ea as publishedChunks, O as quotaExhaustedEventName, go as readAheadFor, $u as readAssistantHistoryPersisted, sl as readAssistantOverlayFlag, rc as readReducedMotion, cn as readSpeechEngineConfig, Po as recentTurnTimelines, je as releaseSupersededAssistantSandboxes, Sr as replyFollowsInput, Me as reportAssistantAiTokenUsage, cl as requestedAssistantOpenState, Da as requiresCancel, ln as resetSpeechEngine, Fo as resetTurnTimelines, Fd as resetTurnTimingReporting, Hd as resetWarmsForTest, Qa as resolveActiveModeSandbox, Vr as resolveApprovablePendingWrite, Ui as resolveAssistantInlineLimits, xr as resolveAssistantLanguage, st as resolveAssistantModeCapabilities, la as resolveAssistantSendModeAfterAccess, Ba as resolveAutoRoute, au as resolveHistoryReopenMode, Cr as resolveLanguagePair, i as resolveModeConfig, Hr as resolveRetryableMessageId, re as resolveSandboxAssistantMode, Ca as resolveSpeechLocale, Io as restartAttempt, ha as restoreAcknowledgedWriteModes, Va as restoreAutoRouting, gd as resumeContextFor, Ht as retryDelayMs, jn as rotationElapsedMs, Vs as runBelongsTo, Ws as runIdentities, Hs as sameOwner, ie as sandboxBaseModeFor, Ne as sandboxStatusOf, Ze as sanitize, Lo as segmentStats, ou as selectAssistantHistoryList, Pe as selectExistingAssistantSandbox, su as selectHistoryEvictions, Fe as selectSupersededAssistantSandboxes, Zt as selectVoiceForLocale, Ie as sendAssistantPromptAsync, Id as sendAssistantTurnTimings, Le as sendHeartbeat, qa as setAssistantStorageFullHandler, Ja as setHistoryBusyProbe, Ya as setHistoryOpenFilterSource, Xa as setHistoryStampSource, ed as settleAssistantHistory, Ud as settleWarmBeforeSend, si as sheetXmlToRows, Rt as shouldDisableEngine, Js as shouldPinOnMove, Ys as shouldPinOnSelect, ur as showPreviousChunk, fn as showsAssistantCaption, pn as showsUserCaption, _o as snapshotReplyFloor, zt as speakableChunks, ir as speakableEmail, Qt as speechGate, xa as speechLabelsFor, $t as speechLangForLocale, Oa as speechPlaybackReducer, Bt as splitForVendor, ar as splitTableRow, Co as spokenMessagesSinceContinueNote, Kn as spokenSoFar, wo as spokenTurnText, bn as stageText, t as startIsCoolingDown, uo as startPhraseTicker, Mn as startRotationTicker, vo as startSessionReadAhead, Ld as startTurnTimingReporting, Wd as startWarm, xn as statusStageCopy, Xs as stepsFromToolActivity, Re as stopReapedAssistantSandbox, pt as streamBudgetMs, oo as stripLegacyFillerPrefix, Ur as subscribeApprovalInFlight, ic as subscribeReducedMotion, un as subscribeSpeechEngine, Ro as subscribeTurnTimelines, ci as summarisePageText, zo as summariseTurnTimelines, Nn as syncRotationClock, Zs as tabForArrowKey, ef as themeCommandCopy, Sn as thinkingPhrase, Cn as thinkingPhraseEntry, _r as toCaptionText, Su as toHistoryEntries, Wi as toMessageAttachment, or as toSpeakableText, Cu as toStorableHistoryText, yo as trackFirstText, Gi as truncateForInline, li as truncatePagesForInline, wu as truncateUtf8, fo as turnActivityCopy, po as turnActivityStage, Bo as turnClockMs, aa as turnOutcomeCopy, Vo as turnSegments, Ho as turnTimeline, ct as unofferedModeSendRefusal, ua as unofferedModeSendRefusalAfterAccess, Cd as useAssistantApiAccess, sf as useAssistantAttachments, ps as useAssistantConnectSource, _f as useAssistantDockWidth, uf as useAssistantHeartbeat, Lu as useAssistantHistoryStatus, td as useAssistantHistoryStore, d as useAssistantI18nNamespace, df as useAssistantKeyboardShortcuts, C as useAssistantNavigate, vf as useAssistantOverlayOrNull, a as useAssistantPageLabel, js as useAssistantPreview, oc as useAssistantPreviewBridge, o as useAssistantProduct, s as useAssistantProductOrNull, yf as useAssistantQuotaExhausted, _d as useAssistantServerHistory, Wo as useAssistantSpeech, c as useAssistantStorageFolders, $a as useAssistantStore, f as useAssistantTr, wd as useConversationTurns, Ds as useDropdownEscape, lc as useHostedAssistantPreviewBridge, ec as useOverlayFocus, ac as usePrefersReducedMotion, $e as useSandboxAssistantTransport, n as useVoiceInput, Go as useVoiceSession, af as useWorkspaceWriteAccess, Tu as utf8ByteLength, Ki as validateFile, en as voiceAvailability, yt as voiceMarker, cr as voicePreviewText, tn as voiceQualityRank, pl as voiceSessionEscapeAction, bt as voiceSessionIdOf, Es as voiceSessionOwnsEscape, qn as voiceSessionReducer, mn as voiceStageState, Dn as voiceStatusParts, On as voiceStatusSuffix, Xn as voiceTranscriptFilename, xt as voiceTurnsOnly, nn as voicesForLocale, ze as waitForAssistantServiceReady, Be as waitForSandboxRunning, Gd as warmState, hn as waveformIsActive, gn as waveformIsSettled, mt as withIncompleteTurnNotice, ga as withWriteModeAcknowledged, ll as writeAssistantOverlayFlag, _a as writeModeConsentCopy, va as writeModeSendRefusal, ya as writeModeSendRefusalReason };
9
+ import { CHECK_AI_CREDITS as M, CREATE_SANDBOX as N, EXTEND_MY_ASSISTANT_SANDBOX_TTL as P, EXTEND_SANDBOX_TTL as F, GET_ACTIVE_SANDBOXES as I, GET_SANDBOX as L, PROVISION_ASSISTANT_SANDBOX as R, PROXY_SANDBOX_REQUEST as z, REPORT_AI_TOKEN_USAGE as B, REPORT_MY_ASSISTANT_TURN_TIMINGS as V, STOP_ASSISTANT_SANDBOX as H, STOP_MY_ASSISTANT_SANDBOX as U, WAIT_FOR_SANDBOX_RUNNING as W } from "./shared/assistant/operations.js";
10
+ import { ASSISTANT_MODE_FALLBACK_LABELS as G, ASSISTANT_MODE_IDS as K, assistantModeFallbackLabel as q, isBuiltInAssistantMode as J } from "./shared/assistant/modeCopy.js";
11
+ import { PRODUCT_ASSISTANT_MODE_ID_MAX_LENGTH as Y, PRODUCT_ASSISTANT_MODE_ID_PATTERN as X, builtInModeExtendedBy as Z, declareAssistantMode as Q, isAssistantModeId as $, isProductAssistantModeId as ee } from "./shared/assistant/modeIds.js";
12
+ import { ASSISTANT_API_AUTH_STRATEGY as te, getImageForMode as ne, getImageTagForMode as re, getResourcesForMode as ie, getSandboxImageRegistry as ae, resolveSandboxAssistantMode as oe, sandboxBaseModeFor as se } from "./shared/assistant/images.js";
13
+ import { getCapability as ce, isMissingGatewayFieldError as le, isUnknownFieldError as ue, markSupported as de, markUnsupported as fe } from "./shared/assistant/capabilities.js";
14
+ import { AUTO_CARRY_OVER_MAX_CHARS as pe, AUTO_CARRY_OVER_MAX_CHARS_PER_MESSAGE as me, AUTO_CARRY_OVER_MAX_MESSAGES as he, AUTO_READ_MODE as ge, AUTO_WRITE_MODE as _e, autoCarryOverFor as ve, autoSuggestions as ye, buildAutoCarryOver as be, classifyAssistantIntent as xe, escalationToUndo as Se, isAutoRoutingOffered as Ce, resolveAutoRoute as we, restoreAutoRouting as Te } from "./shared/assistant/autoRouting.js";
15
+ import { createGuardedAssistantStorage as Ee } from "./shared/assistant/guardedStorage.js";
16
+ import { getHistoryStamp as De, historyOpenFilter as Oe, isHistoryConversationBusy as ke, notifyAssistantStorageFull as Ae, setAssistantStorageFullHandler as je, setHistoryBusyProbe as Me, setHistoryOpenFilterSource as Ne, setHistoryStampSource as Pe } from "./shared/assistant/history/stampRegistry.js";
17
+ import { PENDING_WRITE_APPROVAL_WINDOW_MS as Fe, approvalFollowUpReplyIds as Ie, approvedPendingWriteIds as Le, beginApprovalInFlight as Re, endApprovalInFlight as ze, forgetLiveTurns as Be, getApprovalInFlight as Ve, goAheadSentReplyIds as He, isLiveTurn as Ue, markLiveTurn as We, newestModelReplyId as Ge, resolveApprovablePendingWrite as Ke, resolveRetryableMessageId as qe, subscribeApprovalInFlight as Je } from "./shared/assistant/liveTurns.js";
18
+ import { TURN_OUTCOME_COPY as Ye } from "./shared/assistant/turnOutcomeCopy.js";
19
+ import { LEGACY_WRITE_CONSENT_KEY as Xe, TAKE_ACTION_ENGLISH as Ze, isWriteModeAcknowledged as Qe, restoreAcknowledgedWriteModes as $e, withWriteModeAcknowledged as et, writeModeConsentCopy as tt, writeModeSendRefusal as nt, writeModeSendRefusalReason as rt } from "./shared/assistant/writeModeConsent.js";
20
+ import { mergePersistedAssistantState as it, resolveActiveModeSandbox as at, useAssistantStore as ot } from "./shared/assistant/store.js";
21
+ import { MAX_INLINE_IMAGE_BASE64_BYTES as st, MAX_REQUEST_BODY_BYTES as ct, REQUEST_TOO_LARGE_REFUSAL as lt } from "./shared/assistant/gatewayLimits.js";
22
+ import { PROMPT_CONVERSATION_ID_PATTERN as ut, abortAssistantTurn as dt, approvePendingWrite as ft, askReuseMatchesProvisioning as pt, buildAssistantSandboxEnv as mt, buildPromptGatewayRequest as ht, buildPromptRequestBody as gt, buildProvisionAssistantSandboxInput as _t, checkAssistantAiCredits as vt, createAssistantSandbox as yt, createAssistantSession as bt, downloadAssistantArtifact as xt, extendAssistantSandboxTTL as St, findExistingSandbox as Ct, findExistingSandboxWithStatus as wt, forwardsUserTokensToSandbox as Tt, getAssistantArtifacts as Et, getAssistantMessages as Dt, getAssistantSession as Ot, getAssistantStreamAccess as kt, isAssistantProvisioningUnavailable as At, isDedicatedAssistantSandbox as jt, isDedicatedAssistantSandboxRow as Mt, modeRequiresConfirmWrites as Nt, promptGatewayRequestBytes as Pt, proxySandboxRaw as Ft, readSandboxWriteCapabilities as It, readSandboxWriteCapabilitiesOnce as Lt, releaseSupersededAssistantSandboxes as Rt, reportAssistantAiTokenUsage as zt, sandboxStatusOf as Bt, selectExistingAssistantSandbox as Vt, selectSupersededAssistantSandboxes as Ht, sendAssistantPromptAsync as Ut, sendHeartbeat as Wt, stopReapedAssistantSandbox as Gt, usesDedicatedAssistantProvisioning as Kt, waitForAssistantServiceReady as qt, waitForSandboxRunning as Jt, writeApprovalModeOf as Yt, writeApprovalReuseMatches as Xt, writeExecutionOf as Zt } from "./shared/assistant/api.js";
23
+ import { AssistantRuntimeManager as Qt } from "./shared/assistant/runtime.js";
24
+ import { buildProgress as $t, getAssistantMedia as en, getAssistantText as tn, getRawMessageCreatedAt as nn, getToolProgress as rn, isReapedSandboxConnectionError as an, isRecoverable as on, mapSessionToHistory as sn, mergeMessagesById as cn, sanitize as ln } from "./shared/assistant/progress.js";
25
+ import { describePermissionError as un, permissionRefusalMessage as dn } from "./shared/assistant/permissionError.js";
26
+ import { AssistantSendRefusal as fn, classifyTurnFailure as pn, turnConfirmsNoAction as mn, turnOutcomeCopy as hn } from "./shared/assistant/turnOutcome.js";
27
+ import { USAGE_REPORT_FAILED_EVENT as gn, USAGE_REPORT_RETRY_DELAYS_MS as _n, assistantUsageLedger as vn, classifyUsageReportFailure as yn, getUsageBlock as bn, hasPendingUsageReports as xn, reportUsageWithRetry as Sn, retryPendingUsageReports as Cn, usagePendingStorageKey as wn, usageReportClock as Tn, usageSendRefusal as En } from "./shared/assistant/usageReporting.js";
28
+ import { createSandboxAssistantTransport as Dn } from "./shared/assistant/createSandboxAssistantTransport.js";
29
+ import { useSandboxAssistantTransport as On } from "./shared/assistant/useSandboxAssistantTransport.js";
30
+ import { BUILT_IN_MODE_CAPABILITIES as kn, MAX_ASSISTANT_STREAM_BUDGET_MS as An, UNAVAILABLE_MODE_REFUSAL as jn, UNDECLARED_MODE_CAPABILITIES as Mn, adminOnlyModeSendRefusal as Nn, findAssistantModeConfig as Pn, resolveAssistantModeCapabilities as Fn, unofferedModeSendRefusal as In } from "./shared/assistant/modeCapabilities.js";
31
+ import { DEFAULT_STREAM_BUDGET_MS as Ln, INCOMPLETE_TURN_NOTICES as Rn, STREAM_BUDGET_MS as zn, incompleteTurnNotice as Bn, streamBudgetMs as Vn, withIncompleteTurnNotice as Hn } from "./shared/assistant/streamBudget.js";
32
+ import { chatTurns as Un, groupBySession as Wn, groupConsecutiveBySession as Gn, isVoiceTurn as Kn, voiceMarker as qn, voiceSessionIdOf as Jn, voiceTurnsOnly as Yn } from "./shared/assistant/voice/turnVisibility.js";
33
+ import { browserSpeechEngine as Xn } from "./shared/assistant/speech/browserSpeechEngine.js";
34
+ import { HOSTED_TTS_TIER as Zn, HOSTED_VOICES as Qn, hostedLocaleFor as $n, hostedSupportsLanguage as er } from "./shared/assistant/speech/hostedVoiceCatalogue.js";
35
+ import { HOSTED_DISABLE_MS as tr, HOSTED_TTS_MAX_CHARS as nr, SPEAKING_RATE_MAX as rr, SPEAKING_RATE_MAX_STREAMING as ir, SPEAKING_RATE_MAX_SYNC as ar, SPEAKING_RATE_MIN as or, base64ToBytes as sr, buildRequest as cr, classifyHttpFailure as lr, decodeAudioResponse as ur, disableDurationMs as dr, shouldDisableEngine as fr, speakableChunks as pr, splitForVendor as mr } from "./shared/assistant/speech/hostedTtsProtocol.js";
36
+ import { createHostedTtsEngine as hr, retryDelayMs as gr } from "./shared/assistant/speech/hostedTtsSpeechEngine.js";
37
+ import { HOSTED_VOICE_RANK as _r, SPEECH_LANG as vr, VOICE_LIST_TIMEOUT_MS as yr, isHostedVoice as br, isSpeechBlocked as xr, languageDisplayName as Sr, normalizeLangTag as Cr, primaryLanguageSubtag as wr, selectVoiceForLocale as Tr, speechGate as Er, speechLangForLocale as Dr, voiceAvailability as Or, voiceQualityRank as kr, voicesForLocale as Ar } from "./shared/assistant/voice/speechVoices.js";
38
+ import { createRoutingSpeechEngine as jr } from "./shared/assistant/speech/routingSpeechEngine.js";
39
+ import { configureSpeechEngine as Mr, createSpeechEngines as Nr, getSpeechEngine as Pr, readSpeechEngineConfig as Fr, resetSpeechEngine as Ir, subscribeSpeechEngine as Lr } from "./shared/assistant/speech/createSpeechEngine.js";
40
+ import { micIsInterrupt as Rr, showsAssistantCaption as zr, showsUserCaption as Br, voiceStageState as Vr, waveformIsActive as Hr, waveformIsSettled as Ur } from "./shared/assistant/voice/voiceStageState.js";
41
+ import { PHRASE_ROTATE_MS as Wr, STAGE_COPY as Gr, THINKING_PHRASES as Kr, stageText as qr, statusStageCopy as Jr, thinkingPhrase as Yr, thinkingPhraseEntry as Xr } from "./shared/assistant/stageCopy.js";
42
+ import { VOICE_MUTED_LABEL as Zr, VOICE_THINKING_LABEL as Qr, composeVoiceStatus as $r, voiceStatusParts as ei, voiceStatusSuffix as ti } from "./shared/assistant/voice/voiceStatus.js";
43
+ import { IDLE_ROTATION_CLOCK as ni, advanceRotationClock as ri, rotationElapsedMs as ii, startRotationTicker as ai, syncRotationClock as oi } from "./shared/assistant/voice/rotationClock.js";
44
+ import { ENDPOINT_GRACE_MS as si, INITIAL_SESSION as ci, INTERRUPT_MAX_MS as li, INTERRUPT_MIN_MS as ui, NOTHING_HEARD as di, SILENCE_SUBMIT_MS as fi, advanceHeardClock as pi, isCapturing as mi, isEcho as hi, isSubmittable as gi, orbMode as _i, planListeningHold as vi, planReplyConsumption as yi, planVoiceAnnouncement as bi, spokenSoFar as xi, voiceSessionReducer as Si } from "./shared/assistant/voice/voiceSession.js";
45
+ import { buildContinuedFromVoiceNote as Ci, buildVoiceTranscriptMarkdown as wi, voiceTranscriptFilename as Ti } from "./shared/assistant/voice/voiceTranscript.js";
46
+ import { DEFAULT_SPEAKABLE_LABELS as Ei, MAX_SPEAKABLE_CHARS as Di, MAX_SPOKEN_TABLE_ROWS as Oi, SPEECH_CHUNK_CHARS as ki, SPEECH_CHUNK_CJK_CHARS as Ai, chunkForSpeech as ji, containsCjk as Mi, speakableEmail as Ni, splitTableRow as Pi, toSpeakableText as Fi } from "./shared/assistant/voice/speakableText.js";
47
+ import { PREVIEW_LANGUAGES as Ii, voicePreviewText as Li } from "./shared/assistant/voice/voicePreview.js";
48
+ import { MINI_CAPTION_BUDGET as Ri, showPreviousChunk as zi } from "./shared/assistant/voice/miniCaptionBudget.js";
49
+ import { POLL_FAST_MS as Bi, POLL_FAST_UNTIL_MS as Vi, POLL_SLOW_MS as Hi, POLL_STEADY_MS as Ui, POLL_STEADY_UNTIL_MS as Wi, pollDelayMs as Gi } from "./shared/assistant/voice/assistantPollSchedule.js";
50
+ import { toCaptionText as Ki } from "./shared/assistant/voice/captionText.js";
51
+ import { ASSISTANT_LANGUAGES as qi, DEFAULT_SPEECH_RATE as Ji, findAssistantLanguage as Yi, resolveAssistantLanguage as Xi } from "./shared/assistant/voice/languages.js";
52
+ import { replyFollowsInput as Zi, resolveLanguagePair as Qi } from "./shared/assistant/voice/languagePair.js";
53
+ import { INITIAL_TRANSCRIPT_AUTO_OPEN as $i, maySendSpokenTurn as ea, planTranscriptAutoOpen as ta, planVoiceSessionBinding as na } from "./shared/assistant/voice/voiceReopen.js";
54
+ import { findPendingWrite as ra, parseConfirmationRefusal as ia } from "./shared/assistant/pendingWrite.js";
55
+ import { BOILERPLATE_PAGE_SHARE as aa, MAX_BOILERPLATE_LINE_CHARS as oa, MAX_EXTRACTED_CHARS as sa, MAX_PDF_PAGES_SCANNED as ca, MIN_PAGE_TEXT_CHARS as la, MIN_TEXT_PAGE_SHARE as ua, columnLetterToIndex as da, decodeXmlEntities as fa, docxXmlToText as pa, fitPdfPages as ma, formatPageRanges as ha, isMostlyImagePages as ga, joinSheets as _a, pageMarker as va, parseSharedStrings as ya, parseWorkbookSheets as ba, pdfTextItemsToPage as xa, sheetXmlToRows as Sa, summarisePageText as Ca, truncatePagesForInline as wa } from "./shared/assistant/documentText.js";
56
+ import { ATTACHMENT_ACCEPT as Ta, AttachmentRejectedError as Ea, DEFAULT_INLINE_LIMITS as Da, INLINE_IMAGE_MAX_DIM as Oa, INLINE_IMAGE_QUALITY as ka, MAX_ATTACHMENTS as Aa, MAX_CONFIGURABLE_INLINE_CHARS as ja, MAX_FILE_BYTES as Ma, MAX_INLINE_CHARS_PER_FILE as Na, MAX_INLINE_CHARS_TOTAL as Pa, MAX_INLINE_IMAGE_BASE64_CHARS as Fa, MAX_INLINE_IMAGE_PARTS as Ia, MAX_INLINE_TURN_BODY_BYTES as La, MAX_TURN_BODY_BYTES as Ra, PROMPT_ENVELOPE_RESERVE_BYTES as za, PROVIDER_READABLE_FILE_MEDIA_TYPES as Ba, TURN_BODY_HEADROOM_BYTES as Va, buildAttachmentPromptBlock as Ha, buildPromptParts as Ua, buildPromptWithAttachments as Wa, classifyAttachment as Ga, countInlineImageCandidates as Ka, countInlinedImageParts as qa, detectDocumentFormat as Ja, estimateTurnBodyBytes as Ya, formatBytes as Xa, getAttachmentSendBlocker as Za, getExtension as Qa, getSendableAttachments as $a, hasAttachmentWorkInFlight as eo, isProviderReadableFilePart as to, largestInlineCharsPerFile as no, parseDataUrl as ro, resolveAssistantInlineLimits as io, toMessageAttachment as ao, truncateForInline as oo, validateFile as so } from "./shared/assistant/attachments.js";
57
+ import { ATTACHMENT_SOURCES as co, availableAttachmentSources as lo, deviceHasCamera as uo } from "./shared/assistant/attachmentSources.js";
58
+ import { WRITE_REPLY_COPY as fo, WRITE_REPLY_LEXICON as po, analyseWriteReply as mo, classifyWriteReply as ho, decideWriteReply as go, isUserOriginatedWriteReply as _o } from "./shared/assistant/writeReplyBinder.js";
59
+ import { WRITE_PROPOSAL_ERROR_COPY as vo, writeProposalErrorLine as yo } from "./shared/assistant/writeProposalErrorCopy.js";
60
+ import { VOICE_PROPOSAL_MODE as bo, WRITE_PROPOSAL_READBACK_HIDDEN as xo, WRITE_PROPOSAL_VOICE_COPY as So, isVoiceProposalBound as Co, renderWriteProposalReadback as wo, voiceProposalChip as To, voiceProposalChipText as Eo, voiceReadbacksDue as Do, voiceWaitingProposals as Oo, writeProposalVoiceLine as ko, writeProposalVoiceReadback as Ao } from "./shared/assistant/writeProposalVoice.js";
61
+ import { ASSISTANT_I18N_COMPUTED_COPY as jo, ASSISTANT_I18N_LITERAL_COPY as Mo, ASSISTANT_I18N_MANIFEST as No, assistantI18nSeedCopy as Po, assistantModeI18nCopy as Fo } from "./shared/assistant/i18nManifest.js";
62
+ import { ADMIN_MODE_ACCESS_WAIT_MS as Io, adminOnlyModeSendRefusalAfterAccess as Lo, createAdminModeAccessGate as Ro, resolveAssistantSendModeAfterAccess as zo, unofferedModeSendRefusalAfterAccess as Bo } from "./shared/assistant/adminModeSendGate.js";
63
+ import { buildBoundedAttachmentTurn as Vo } from "./shared/assistant/attachmentTurn.js";
64
+ import { SPOKEN_LABEL_LANGUAGES as Ho, speechLabelsFor as Uo } from "./shared/assistant/voice/speechLabels.js";
65
+ import { detectScriptLocale as Wo, resolveSpeechLocale as Go } from "./shared/assistant/voice/replyLanguage.js";
66
+ import { IDLE_PLAYBACK as Ko, isSpeakingMessage as qo, publishedChunks as Jo, requiresCancel as Yo, speechPlaybackReducer as Xo } from "./shared/assistant/voice/speechPlayback.js";
67
+ import { isTurnInFlight as Zo, planAbandonedTurn as Qo, planTurnAbort as $o } from "./shared/assistant/turnState.js";
68
+ import { isLegacyFiller as es, isLegacyStopped as ts, isStageCopy as ns, stripLegacyFillerPrefix as rs } from "./shared/assistant/legacyFiller.js";
69
+ import { getAssistantDisplayContent as is } from "./shared/assistant/displayContent.js";
70
+ import { elapsedSince as as, msUntilNextPhrase as os, startPhraseTicker as ss, turnActivityCopy as cs, turnActivityStage as ls } from "./shared/assistant/turnActivity.js";
71
+ import { NO_FIRST_TEXT as us, buildAssistantProgress as ds, readAheadFor as fs, snapshotReplyFloor as ps, startSessionReadAhead as ms, trackFirstText as hs } from "./shared/assistant/turnProgress.js";
72
+ import { AssistantToolActivity as gs, parseToolActivity as _s } from "./shared/assistant/ui/AssistantToolActivity.js";
73
+ import { countSpokenTurns as vs, spokenMessagesSinceContinueNote as ys, spokenTurnText as bs } from "./shared/assistant/spokenTurns.js";
74
+ import { AssistantAvatar as xs } from "./shared/assistant/ui/AssistantAvatar.js";
75
+ import { TURN_MILESTONES as Ss, TURN_SEGMENTS as Cs, TURN_TIMELINE_EVENT as ws, beginTurn as Ts, describeTurn as Es, detectTurnDevice as Ds, isComparableTurn as Os, markTurn as ks, recentTurnTimelines as As, resetTurnTimelines as js, restartAttempt as Ms, segmentStats as Ns, subscribeTurnTimelines as Ps, summariseTurnTimelines as Fs, turnClockMs as Is, turnSegments as Ls, turnTimeline as Rs } from "./shared/assistant/turnTimeline.js";
76
+ import { AssistantSpeechProvider as zs, useAssistantSpeech as Bs } from "./shared/assistant/ui/AssistantSpeechProvider.js";
77
+ import { useVoiceSession as Vs } from "./shared/assistant/ui/useVoiceSession.js";
78
+ import { getActorId as Hs, getOrganizationId as Us, getWorkspaceId as Ws } from "./shared/assistant/context.js";
79
+ import { isMultimodalBodyRejection as Gs, isNeverRecoverableAssistantError as Ks, isRecoverableAssistantError as qs } from "./shared/assistant/transportErrors.js";
80
+ import { SANDBOX_READY_TTL_MS as Js, createReadinessTracker as Ys, isRecentlyVerified as Xs, planAfterTransportFailure as Zs, planTrustedSandboxFailure as Qs } from "./shared/assistant/sandboxReadiness.js";
81
+ import { AssistantAutoSpeakToggle as $s } from "./shared/assistant/ui/AssistantAutoSpeakToggle.js";
82
+ import { AssistantMessageAttachments as ec } from "./shared/assistant/ui/AssistantMessageAttachments.js";
83
+ import { AssistantPendingWriteCard as tc } from "./shared/assistant/ui/AssistantPendingWriteCard.js";
84
+ import { REDUCED_MOTION_ATTRIBUTE as nc, REDUCED_MOTION_QUERY as rc, readReducedMotion as ic, subscribeReducedMotion as ac, usePrefersReducedMotion as oc } from "./shared/assistant/ui/usePrefersReducedMotion.js";
85
+ import { WRITE_PROPOSAL_MASK as sc, formatWriteProposalValue as cc, redactWriteProposalText as lc, useWriteProposalRemainingMs as uc, writeProposalArgumentValues as dc, writeProposalConfirmState as fc, writeProposalCountdownText as pc, writeProposalGatewayText as mc, writeProposalKindText as hc, writeProposalRootFieldName as gc, writeProposalSensitiveTexts as _c, writeProposalVariableValues as vc } from "./shared/assistant/ui/writeProposalPresentation.js";
86
+ import { AssistantWriteProposalCard as yc, WRITE_PROPOSAL_DIALOG_KINDS as bc, WRITE_PROPOSAL_PRESENTED_AFTER_MS as xc, writeProposalUsesDialog as Sc } from "./shared/assistant/ui/AssistantWriteProposalCard.js";
87
+ import { AssistantWriteConfirmDialog as Cc, WRITE_CONFIRM_ARM_MS as wc } from "./shared/assistant/ui/AssistantWriteConfirmDialog.js";
88
+ import { askProductToConfirmWrite as Tc } from "./shared/assistant/writeConfirmSeam.js";
89
+ import { useWriteProposalConfirm as Ec } from "./shared/assistant/ui/useWriteProposalConfirm.js";
90
+ import { AssistantWriteProposalSlot as Dc } from "./shared/assistant/ui/AssistantWriteProposalSlot.js";
91
+ import { WRITE_PROPOSAL_ERROR_CODES as Oc, WRITE_PROPOSAL_SANDBOX_MODE as kc, WriteProposalError as Ac, createSandboxWriteProposalClient as jc, isWriteProposalError as Mc, parseWriteProposalView as Nc } from "./shared/assistant/writeProposals.js";
92
+ import { WRITE_PROPOSAL_MAX_POLL_FAILURES as Pc, WRITE_PROPOSAL_POLL_MS as Fc, asWriteProposalError as Ic, createWriteProposalDiscovery as Lc, newWriteProposalRequestId as Rc, readWriteProposalRefs as zc, writeProposalBelongsTo as Bc, writeProposalSessionsToReopen as Vc, writeProposalsEnabledFor as Hc } from "./shared/assistant/writeProposalDiscovery.js";
93
+ import { WRITE_REPLY_DECLINE_WAIT_MS as Uc, planWriteReply as Wc, promptWriteApproval as Gc, settleWithin as Kc, writeReplyLiveState as qc } from "./shared/assistant/writeReplySend.js";
94
+ import { useWriteProposals as Jc } from "./shared/assistant/ui/useWriteProposals.js";
95
+ import { AssistantLanguageMenu as Yc } from "./shared/assistant/ui/AssistantLanguageMenu.js";
96
+ import { AssistantReplyLanguageSelector as Xc } from "./shared/assistant/ui/AssistantReplyLanguageSelector.js";
97
+ import { AssistantSpeakButton as Zc } from "./shared/assistant/ui/AssistantSpeakButton.js";
98
+ import { AssistantSpokenTurnsNotice as Qc } from "./shared/assistant/ui/AssistantSpokenTurnsNotice.js";
99
+ import { AssistantConnectSourceProvider as $c, connectSourceHrefRenders as el, hasConnectSource as tl, useAssistantConnectSource as nl } from "./shared/assistant/ui/composer/connectSource.js";
100
+ import { AssistantConnectSourceItem as rl, connectSourceActivation as il } from "./shared/assistant/ui/composer/AssistantConnectSourceItem.js";
101
+ import { ASSISTANT_OVERLAY_ATTR as al, ASSISTANT_PANEL_ATTR as ol, ASSISTANT_VOICE_SESSION_ATTR as sl, NO_PANEL_OVERLAY as cl, activePanelOverlay as ll, assistantPanelOwnsEscape as ul, escapeDismisses as dl, focusIsInsidePanel as fl, nextPanelOverlays as pl, panelOwnsEscape as ml, voiceSessionOwnsEscape as hl } from "./shared/assistant/ui/panelOverlays.js";
102
+ import { useDropdownEscape as gl } from "./shared/assistant/ui/useDropdownEscape.js";
103
+ import { AssistantAttachmentButton as _l } from "./shared/assistant/ui/composer/AssistantAttachmentButton.js";
104
+ import { AssistantAttachmentChips as vl } from "./shared/assistant/ui/composer/AssistantAttachmentChips.js";
105
+ import { AssistantPreviewProvider as yl, useAssistantPreview as bl } from "./shared/assistant/preview/context.js";
106
+ import { IDLE_PREVIEW_STATE as xl, isBlankProse as Sl, isRunningStatus as Cl, nextPreviewEvents as wl } from "./shared/assistant/preview/previewTransitions.js";
107
+ import { IDLE_PREVIEW as Tl, NO_OWNER as El, applyPreviewEvent as Dl, createAssistantPreviewSurface as Ol, currentPreviewOwner as kl, runBelongsTo as Al, sameOwner as jl } from "./shared/assistant/preview/surfaceState.js";
108
+ import { createRunIdentityCache as Ml, runIdentities as Nl } from "./shared/assistant/preview/runIdentity.js";
109
+ import { IDLE_ACTIVE_TAB as Pl, nextActiveTab as Fl, pinActiveTab as Il, shouldPinOnMove as Ll, shouldPinOnSelect as Rl, stepsFromToolActivity as zl, tabForArrowKey as Bl } from "./shared/assistant/preview/entity/entityPreviewState.js";
110
+ import { AssistantStepRail as Vl } from "./shared/assistant/preview/entity/AssistantStepRail.js";
111
+ import { AssistantEntityPreview as Hl } from "./shared/assistant/preview/entity/AssistantEntityPreview.js";
112
+ import { useOverlayFocus as Ul } from "./shared/assistant/ui/useOverlayFocus.js";
113
+ import { useAssistantPreviewBridge as Wl } from "./shared/assistant/preview/useAssistantPreviewBridge.js";
114
+ import { HostedPreviewBridgeContext as Gl, panelOwnedPreviewBridge as Kl, useHostedAssistantPreviewBridge as ql } from "./shared/assistant/preview/bridgeHostContext.js";
115
+ import { AssistantPreviewBridgeHost as Jl } from "./shared/assistant/preview/bridgeHost.js";
116
+ import { AssistantPreviewOverlay as Yl } from "./shared/assistant/preview/AssistantPreviewOverlay.js";
117
+ import { AssistantLanguageSelector as Xl, FOLLOW_APP_LOCALE as Zl } from "./shared/assistant/ui/composer/AssistantLanguageSelector.js";
118
+ import { ASSISTANT_MODE_META as Ql, AUTO_MODE_OPTION_ID as $l, AssistantModeSelector as eu, assistantModeMeta as tu, nextModeIndex as nu } from "./shared/assistant/ui/composer/AssistantModeSelector.js";
119
+ import { AssistantVoiceButton as ru } from "./shared/assistant/ui/composer/AssistantVoiceButton.js";
120
+ import { AUTO_VOICE as iu, AssistantVoiceSelector as au } from "./shared/assistant/ui/composer/AssistantVoiceSelector.js";
121
+ import { AssistantVoiceOrb as ou } from "./shared/assistant/ui/voice/AssistantVoiceOrb.js";
122
+ import { AssistantVoiceSessionButton as su } from "./shared/assistant/ui/voice/AssistantVoiceSessionButton.js";
123
+ import { CAPTION_SCROLL_ATTR as cu, VoiceCaption as lu } from "./shared/assistant/ui/voice/VoiceCaption.js";
124
+ import { VoiceConversationView as uu } from "./shared/assistant/ui/voice/VoiceConversationView.js";
125
+ import { VoiceWaveform as du } from "./shared/assistant/ui/voice/VoiceWaveform.js";
126
+ import { VoiceStatusLine as fu, VoiceStatusText as pu } from "./shared/assistant/ui/voice/VoiceStatusText.js";
127
+ import { VoiceMiniController as mu } from "./shared/assistant/ui/voice/VoiceMiniController.js";
128
+ import { VoiceStage as hu } from "./shared/assistant/ui/voice/VoiceStage.js";
129
+ import { AssistantHistoryDeletedNotice as gu, AssistantHistoryLoadState as _u, AssistantHistoryReadOnlyBanner as vu, AssistantHistoryShowEarlier as yu, AssistantHistoryUnsavedDeleteNotice as bu } from "./shared/assistant/ui/AssistantHistoryNotices.js";
130
+ import { VoiceTranscriptDrawer as xu } from "./shared/assistant/ui/voice/VoiceTranscriptDrawer.js";
131
+ import { ASSISTANT_BOTTOM_CHROME_CLEARANCE as Su, ASSISTANT_DIALOG_SELECTOR as Cu, ASSISTANT_DOCKED_DESKTOP_CLASS as wu, ASSISTANT_DOCK_WIDTH_PX as Tu, ASSISTANT_DOCK_WIDTH_VAR as Eu, ASSISTANT_FLOATING_DESKTOP_CLASS as Du, ASSISTANT_OVERLAY_DEFAULT_TOP_PX as Ou, ASSISTANT_OVERLAY_DESKTOP_QUERY as ku, ASSISTANT_OVERLAY_TOP_VAR as Au, ASSISTANT_SHEET_BASE_CLASS as ju, ASSISTANT_SHEET_COMPACT_CLASS as Mu, ASSISTANT_SHEET_EXPANDED_CLASS as Nu, ASSISTANT_TOGGLE_SHORTCUT_LABEL as Pu, aboveAssistantBottomChrome as Fu, assistantOverlayClassName as Iu, assistantOverlayEscapeAction as Lu, assistantOverlayKeys as Ru, assistantQuotaKindOf as zu, closestAround as Bu, createAssistantNavigate as Vu, isAssistantToggleShortcut as Hu, nextAssistantOpenState as Uu, publishedAssistantDockWidth as Wu, readAssistantOverlayFlag as Gu, requestedAssistantOpenState as Ku, writeAssistantOverlayFlag as qu } from "./shared/assistant/ui/assistantOverlayState.js";
132
+ import { VOICE_ESCAPE_LAYER_SELECTOR as Ju, VOICE_ESCAPE_MODAL_SELECTOR as Yu, escapeBelongsToLayerAbove as Xu, voiceSessionEscapeAction as Zu } from "./shared/assistant/ui/voice/voiceSessionEscape.js";
133
+ import { downloadFile as Qu, exportConversation as $u } from "./shared/assistant/exportConversation.js";
134
+ import { AssistantMoreMenu as ed } from "./shared/assistant/ui/AssistantMoreMenu.js";
135
+ import { AssistantHeader as td } from "./shared/assistant/ui/AssistantHeader.js";
136
+ import { ASSISTANT_HISTORY_CHANGES_OPERATION as nd, ASSISTANT_HISTORY_CHANGES_QUERY as rd, ASSISTANT_HISTORY_CONVERSATIONS_OPERATION as id, ASSISTANT_HISTORY_CONVERSATIONS_QUERY as ad, ASSISTANT_HISTORY_DELETE_MUTATION as od, ASSISTANT_HISTORY_DELETE_OPERATION as sd, ASSISTANT_HISTORY_ENTRIES_OPERATION as cd, ASSISTANT_HISTORY_ENTRIES_QUERY as ld, ASSISTANT_HISTORY_OPERATIONS as ud, ASSISTANT_HISTORY_SAVE_MUTATION as dd, ASSISTANT_HISTORY_SAVE_OPERATION as fd, buildHistoryDeleteVariables as pd, buildHistoryEntriesVariables as md, buildHistoryPageVariables as hd, buildHistorySaveVariables as gd } from "./shared/assistant/history/historyOperations.js";
137
+ import { historyTimestampToIso as _d } from "./shared/assistant/history/historyTimestamps.js";
138
+ import { AssistantHistoryResponseError as vd, AssistantHistoryScopeInactiveError as yd, createGatewayHistoryTransport as bd } from "./shared/assistant/history/historyApi.js";
139
+ import { ASSISTANT_HISTORY_BACKOFF_BASE_MS as xd, ASSISTANT_HISTORY_BACKOFF_MAX_MS as Sd, ASSISTANT_HISTORY_QUOTA_RETRY_MS as Cd, ASSISTANT_HISTORY_REJECTION_KEYS as wd, ASSISTANT_HISTORY_SCHEMA_PAUSE_MS as Td, assistantHistoryBackoffMs as Ed, classifyAssistantHistoryError as Dd, planAssistantHistoryRetry as Od } from "./shared/assistant/history/historyErrors.js";
140
+ import { LEGACY_HISTORY_KEY_PREFIX as kd, assistantHistoryScopeKey as Ad, completeAssistantHistoryScope as jd, isLegacyHistoryConvKey as Md, legacyHistoryConvKey as Nd } from "./shared/assistant/history/historyTypes.js";
141
+ import { ASSISTANT_HISTORY_MAX_CACHED_CONVERSATIONS as Pd, conversationHasHistory as Fd, historyConvKeyOf as Id, historyHeaderOf as Ld, historyScopeKeyOfStamp as Rd, isOtherScopeHistoryConversation as zd, isReadOnlyHistoryConversation as Bd, isReusableHistoryDraft as Vd, materializeHistoryHeader as Hd, resolveHistoryReopenMode as Ud, selectAssistantHistoryList as Wd, selectHistoryEvictions as Gd } from "./shared/assistant/history/historyList.js";
142
+ import { HISTORY_CLIENT_ID_PATTERN as Kd, HISTORY_ENTRY_CONTENT_CAP_BYTES as qd, HISTORY_MAX_CONTENT_BYTES as Jd, HISTORY_METADATA_ENVELOPE_MAX_BYTES as Yd, HISTORY_METADATA_KEYS as Xd, HISTORY_REQUEST_HEADROOM_BYTES as Zd, HISTORY_SAVE_REQUEST_BUDGET_BYTES as Qd, HISTORY_TRUNCATION_MARKER as $d, filterHistoryMetadata as ef, fitHistoryMetadataEnvelope as tf, fromHistoryEntry as nf, historyEntriesMatchKind as rf, isHistoryClientId as af, measureHistorySaveRequest as of, toHistoryEntries as sf, toStorableHistoryText as cf, truncateUtf8 as lf, utf8ByteLength as uf } from "./shared/assistant/history/historyMapping.js";
143
+ import { HISTORY_CATCH_UP_MAX_GAP as df, HISTORY_CATCH_UP_PAGE as ff, HISTORY_LOAD_PAGE as pf, applyHistoryPage as mf, highestContiguousHistorySeq as hf, mergeHistoryMessages as gf, planHistoryEarlierLoad as _f, planHistoryOpenLoad as vf } from "./shared/assistant/history/historyMerge.js";
144
+ import { assistantHistoryGenerationOf as yf, createAssistantHistoryStatusStore as bf, isCurrentAssistantHistoryGeneration as xf, useAssistantHistoryStatus as Sf } from "./shared/assistant/history/historyStatus.js";
145
+ import { createProfileBoundStorage as Cf } from "./shared/assistant/history/profileBoundStorage.js";
146
+ import { ASSISTANT_HISTORY_DONE_TTL_MS as wf, ASSISTANT_HISTORY_MAX_HEADERS as Tf, ASSISTANT_HISTORY_MAX_TOMBSTONES as Ef, ASSISTANT_HISTORY_STORAGE_NAME as Df, ASSISTANT_HISTORY_TOMBSTONE_TTL_MS as Of, assistantHistoryStore as kf, boundAssistantHistoryHeaders as Af, createAssistantHistoryStore as jf, emptyAssistantHistoryPersisted as Mf, emptyAssistantHistoryScopeState as Nf, isNewerAssistantHistoryFormat as Pf, mergeAssistantHistoryPersisted as Ff, mergeAssistantHistoryWithStored as If, pruneAssistantHistoryPersisted as Lf, readAssistantHistoryPersisted as Rf, settleAssistantHistory as zf, useAssistantHistoryStore as Bf } from "./shared/assistant/history/historyStore.js";
147
+ import { ASSISTANT_HISTORY_RESET_TRUST_MS as Vf, assistantHistory as Hf, createAssistantHistoryEngine as Uf, createSystemHistoryClock as Wf } from "./shared/assistant/history/historyEngine.js";
148
+ import { AssistantConversationList as Gf } from "./shared/assistant/ui/AssistantConversationList.js";
149
+ import { AssistantEmptyState as Kf } from "./shared/assistant/ui/AssistantEmptyState.js";
150
+ import { HISTORY_RESUME_CLOSE as qf, HISTORY_RESUME_MAX_ANSWER_CHARS as Jf, HISTORY_RESUME_MAX_CHARS as Yf, HISTORY_RESUME_MAX_EXCHANGES as Xf, HISTORY_RESUME_MAX_PROMPT_CHARS as Zf, HISTORY_RESUME_OPEN as Qf, buildHistoryResumePreamble as $f, isKnownReadOnlyMode as ep, resumeContextFor as tp } from "./shared/assistant/history/historyResume.js";
151
+ import { useAssistantServerHistory as np } from "./shared/assistant/history/useAssistantServerHistory.js";
152
+ import { AssistantTurnActivity as rp, TurnActivityLine as ip } from "./shared/assistant/ui/AssistantTurnActivity.js";
153
+ import { AssistantMessageItem as ap } from "./shared/assistant/ui/AssistantMessageItem.js";
154
+ import { AssistantMessageList as op } from "./shared/assistant/ui/AssistantMessageList.js";
155
+ import { AssistantVoiceSession as sp } from "./shared/assistant/ui/voice/AssistantVoiceSession.js";
156
+ import { ASSISTANT_ADMIN_ACTION as cp, ASSISTANT_ADMIN_RESOURCE_TYPE as lp, WORKSPACE_ASSISTANT_ADMIN_QUERY as up, probeWorkspaceAssistantAdmin as dp, useAssistantApiAccess as fp } from "./shared/assistant/useAssistantApiAccess.js";
157
+ import { useConversationTurns as pp } from "./shared/assistant/useConversationTurns.js";
158
+ import { ABANDONED_TURN_OUTCOME as mp, MAX_REPORTED_TURN_MS as hp, TURN_TIMING_REPORT_FIELDS as gp, TURN_TIMING_STAGES as _p, buildAbandonedTurnReport as vp, buildTurnTimingReport as yp, isFinishedTurn as bp } from "./shared/assistant/turnTimingReport.js";
159
+ import { TURN_TIMING_REPORTING as xp, createTurnTimingNonce as Sp, createTurnTimingReporter as Cp, resetTurnTimingReporting as wp, sendAssistantTurnTimings as Tp, startTurnTimingReporting as Ep } from "./shared/assistant/turnTimingReporter.js";
160
+ import { PREWARM_COOLDOWN_MS as Dp, WarmCancelled as Op, consumeWarm as kp, prewarmTarget as Ap, resetWarmsForTest as jp, settleWarmBeforeSend as Mp, startWarm as Np, warmState as Pp } from "./shared/assistant/prewarm.js";
161
+ import { isAlreadyThere as Fp, isCurrentPath as Ip, matchLocalUiCommand as Lp, navDestinations as Rp, normaliseUtterance as zp, planThemeChange as Bp } from "./shared/assistant/localUiCommands.js";
162
+ import { chooseDestinationCopy as Vp, navigationCommandCopy as Hp, themeCommandCopy as Up } from "./shared/assistant/localUiCommandCopy.js";
163
+ import { aiCreditsUpdatedEventName as Wp, dispatchAssistantQuotaExhausted as Gp, notifyAiCreditsUpdated as Kp } from "./shared/assistant/aiCredits.js";
164
+ import { PROPOSAL_WRITE_RULES as qp } from "./shared/assistant/proposalWriteRules.js";
165
+ import { useWorkspaceWriteAccess as Jp } from "./shared/assistant/useWorkspaceWriteAccess.js";
166
+ import { extractDocumentText as Yp } from "./shared/assistant/documentExtract.js";
167
+ import { useAssistantAttachments as Xp } from "./shared/assistant/useAssistantAttachments.js";
168
+ import { AssistantComposer as Zp } from "./shared/assistant/ui/composer/AssistantComposer.js";
169
+ import { isProdRuntime as Qp } from "./shared/assistant/env.js";
170
+ import { useAssistantHeartbeat as $p } from "./shared/assistant/useAssistantHeartbeat.js";
171
+ import { useAssistantKeyboardShortcuts as em } from "./shared/assistant/useAssistantKeyboardShortcuts.js";
172
+ import { AssistantApiCallsConsentDialog as tm } from "./shared/assistant/ui/AssistantApiCallsConsentDialog.js";
173
+ import { AssistantChatArea as nm } from "./shared/assistant/ui/AssistantChatArea.js";
174
+ import { AIAssistantPanel as rm } from "./shared/assistant/ui/AIAssistantPanel.js";
175
+ import { AssistantOverlay as im, AssistantOverlayProvider as am, useAssistantDockWidth as om, useAssistantOverlayOrNull as sm, useAssistantQuotaExhausted as cm } from "./shared/assistant/ui/AssistantOverlay.js";
176
+ export { mp as ABANDONED_TURN_OUTCOME, Io as ADMIN_MODE_ACCESS_WAIT_MS, rm as AIAssistantPanel, cp as ASSISTANT_ADMIN_ACTION, lp as ASSISTANT_ADMIN_RESOURCE_TYPE, te as ASSISTANT_API_AUTH_STRATEGY, Su as ASSISTANT_BOTTOM_CHROME_CLEARANCE, Cu as ASSISTANT_DIALOG_SELECTOR, wu as ASSISTANT_DOCKED_DESKTOP_CLASS, Tu as ASSISTANT_DOCK_WIDTH_PX, Eu as ASSISTANT_DOCK_WIDTH_VAR, Du as ASSISTANT_FLOATING_DESKTOP_CLASS, xd as ASSISTANT_HISTORY_BACKOFF_BASE_MS, Sd as ASSISTANT_HISTORY_BACKOFF_MAX_MS, nd as ASSISTANT_HISTORY_CHANGES_OPERATION, rd as ASSISTANT_HISTORY_CHANGES_QUERY, id as ASSISTANT_HISTORY_CONVERSATIONS_OPERATION, ad as ASSISTANT_HISTORY_CONVERSATIONS_QUERY, od as ASSISTANT_HISTORY_DELETE_MUTATION, sd as ASSISTANT_HISTORY_DELETE_OPERATION, wf as ASSISTANT_HISTORY_DONE_TTL_MS, cd as ASSISTANT_HISTORY_ENTRIES_OPERATION, ld as ASSISTANT_HISTORY_ENTRIES_QUERY, Pd as ASSISTANT_HISTORY_MAX_CACHED_CONVERSATIONS, Tf as ASSISTANT_HISTORY_MAX_HEADERS, Ef as ASSISTANT_HISTORY_MAX_TOMBSTONES, ud as ASSISTANT_HISTORY_OPERATIONS, Cd as ASSISTANT_HISTORY_QUOTA_RETRY_MS, wd as ASSISTANT_HISTORY_REJECTION_KEYS, Vf as ASSISTANT_HISTORY_RESET_TRUST_MS, dd as ASSISTANT_HISTORY_SAVE_MUTATION, fd as ASSISTANT_HISTORY_SAVE_OPERATION, Td as ASSISTANT_HISTORY_SCHEMA_PAUSE_MS, Df as ASSISTANT_HISTORY_STORAGE_NAME, Of as ASSISTANT_HISTORY_TOMBSTONE_TTL_MS, jo as ASSISTANT_I18N_COMPUTED_COPY, Mo as ASSISTANT_I18N_LITERAL_COPY, No as ASSISTANT_I18N_MANIFEST, qi as ASSISTANT_LANGUAGES, G as ASSISTANT_MODE_FALLBACK_LABELS, K as ASSISTANT_MODE_IDS, Ql as ASSISTANT_MODE_META, al as ASSISTANT_OVERLAY_ATTR, Ou as ASSISTANT_OVERLAY_DEFAULT_TOP_PX, ku as ASSISTANT_OVERLAY_DESKTOP_QUERY, Au as ASSISTANT_OVERLAY_TOP_VAR, ol as ASSISTANT_PANEL_ATTR, ju as ASSISTANT_SHEET_BASE_CLASS, Mu as ASSISTANT_SHEET_COMPACT_CLASS, Nu as ASSISTANT_SHEET_EXPANDED_CLASS, Pu as ASSISTANT_TOGGLE_SHORTCUT_LABEL, sl as ASSISTANT_VOICE_SESSION_ATTR, Ta as ATTACHMENT_ACCEPT, co as ATTACHMENT_SOURCES, pe as AUTO_CARRY_OVER_MAX_CHARS, me as AUTO_CARRY_OVER_MAX_CHARS_PER_MESSAGE, he as AUTO_CARRY_OVER_MAX_MESSAGES, $l as AUTO_MODE_OPTION_ID, ge as AUTO_READ_MODE, iu as AUTO_VOICE, _e as AUTO_WRITE_MODE, tm as AssistantApiCallsConsentDialog, _l as AssistantAttachmentButton, vl as AssistantAttachmentChips, $s as AssistantAutoSpeakToggle, xs as AssistantAvatar, nm as AssistantChatArea, Zp as AssistantComposer, rl as AssistantConnectSourceItem, $c as AssistantConnectSourceProvider, Gf as AssistantConversationList, Kf as AssistantEmptyState, Hl as AssistantEntityPreview, td as AssistantHeader, gu as AssistantHistoryDeletedNotice, _u as AssistantHistoryLoadState, vu as AssistantHistoryReadOnlyBanner, vd as AssistantHistoryResponseError, yd as AssistantHistoryScopeInactiveError, yu as AssistantHistoryShowEarlier, bu as AssistantHistoryUnsavedDeleteNotice, l as AssistantI18nProvider, Yc as AssistantLanguageMenu, Xl as AssistantLanguageSelector, m as AssistantMarkdownImage, _ as AssistantMarkdownRenderer, ec as AssistantMessageAttachments, ap as AssistantMessageItem, op as AssistantMessageList, eu as AssistantModeSelector, ed as AssistantMoreMenu, v as AssistantNavigateProvider, im as AssistantOverlay, am as AssistantOverlayProvider, tc as AssistantPendingWriteCard, Jl as AssistantPreviewBridgeHost, Yl as AssistantPreviewOverlay, yl as AssistantPreviewProvider, r as AssistantProductProvider, Xc as AssistantReplyLanguageSelector, Qt as AssistantRuntimeManager, fn as AssistantSendRefusal, Zc as AssistantSpeakButton, zs as AssistantSpeechProvider, Qc as AssistantSpokenTurnsNotice, Vl as AssistantStepRail, gs as AssistantToolActivity, rp as AssistantTurnActivity, ru as AssistantVoiceButton, ou as AssistantVoiceOrb, au as AssistantVoiceSelector, sp as AssistantVoiceSession, su as AssistantVoiceSessionButton, Cc as AssistantWriteConfirmDialog, yc as AssistantWriteProposalCard, Dc as AssistantWriteProposalSlot, Ea as AttachmentRejectedError, aa as BOILERPLATE_PAGE_SHARE, kn as BUILT_IN_MODE_CAPABILITIES, cu as CAPTION_SCROLL_ATTR, M as CHECK_AI_CREDITS, N as CREATE_SANDBOX, Da as DEFAULT_INLINE_LIMITS, Ei as DEFAULT_SPEAKABLE_LABELS, Ji as DEFAULT_SPEECH_RATE, Ln as DEFAULT_STREAM_BUDGET_MS, si as ENDPOINT_GRACE_MS, P as EXTEND_MY_ASSISTANT_SANDBOX_TTL, F as EXTEND_SANDBOX_TTL, Zl as FOLLOW_APP_LOCALE, I as GET_ACTIVE_SANDBOXES, L as GET_SANDBOX, df as HISTORY_CATCH_UP_MAX_GAP, ff as HISTORY_CATCH_UP_PAGE, Kd as HISTORY_CLIENT_ID_PATTERN, qd as HISTORY_ENTRY_CONTENT_CAP_BYTES, pf as HISTORY_LOAD_PAGE, Jd as HISTORY_MAX_CONTENT_BYTES, Yd as HISTORY_METADATA_ENVELOPE_MAX_BYTES, Xd as HISTORY_METADATA_KEYS, Zd as HISTORY_REQUEST_HEADROOM_BYTES, qf as HISTORY_RESUME_CLOSE, Jf as HISTORY_RESUME_MAX_ANSWER_CHARS, Yf as HISTORY_RESUME_MAX_CHARS, Xf as HISTORY_RESUME_MAX_EXCHANGES, Zf as HISTORY_RESUME_MAX_PROMPT_CHARS, Qf as HISTORY_RESUME_OPEN, Qd as HISTORY_SAVE_REQUEST_BUDGET_BYTES, $d as HISTORY_TRUNCATION_MARKER, tr as HOSTED_DISABLE_MS, nr as HOSTED_TTS_MAX_CHARS, Zn as HOSTED_TTS_TIER, Qn as HOSTED_VOICES, _r as HOSTED_VOICE_RANK, Gl as HostedPreviewBridgeContext, Pl as IDLE_ACTIVE_TAB, Ko as IDLE_PLAYBACK, Tl as IDLE_PREVIEW, xl as IDLE_PREVIEW_STATE, ni as IDLE_ROTATION_CLOCK, Rn as INCOMPLETE_TURN_NOTICES, ci as INITIAL_SESSION, $i as INITIAL_TRANSCRIPT_AUTO_OPEN, Oa as INLINE_IMAGE_MAX_DIM, ka as INLINE_IMAGE_QUALITY, li as INTERRUPT_MAX_MS, ui as INTERRUPT_MIN_MS, kd as LEGACY_HISTORY_KEY_PREFIX, Xe as LEGACY_WRITE_CONSENT_KEY, An as MAX_ASSISTANT_STREAM_BUDGET_MS, Aa as MAX_ATTACHMENTS, oa as MAX_BOILERPLATE_LINE_CHARS, ja as MAX_CONFIGURABLE_INLINE_CHARS, sa as MAX_EXTRACTED_CHARS, Ma as MAX_FILE_BYTES, Na as MAX_INLINE_CHARS_PER_FILE, Pa as MAX_INLINE_CHARS_TOTAL, st as MAX_INLINE_IMAGE_BASE64_BYTES, Fa as MAX_INLINE_IMAGE_BASE64_CHARS, Ia as MAX_INLINE_IMAGE_PARTS, La as MAX_INLINE_TURN_BODY_BYTES, ca as MAX_PDF_PAGES_SCANNED, hp as MAX_REPORTED_TURN_MS, ct as MAX_REQUEST_BODY_BYTES, Di as MAX_SPEAKABLE_CHARS, Oi as MAX_SPOKEN_TABLE_ROWS, Ra as MAX_TURN_BODY_BYTES, Ri as MINI_CAPTION_BUDGET, la as MIN_PAGE_TEXT_CHARS, ua as MIN_TEXT_PAGE_SHARE, di as NOTHING_HEARD, us as NO_FIRST_TEXT, El as NO_OWNER, cl as NO_PANEL_OVERLAY, Fe as PENDING_WRITE_APPROVAL_WINDOW_MS, Wr as PHRASE_ROTATE_MS, Bi as POLL_FAST_MS, Vi as POLL_FAST_UNTIL_MS, Hi as POLL_SLOW_MS, Ui as POLL_STEADY_MS, Wi as POLL_STEADY_UNTIL_MS, Ii as PREVIEW_LANGUAGES, Dp as PREWARM_COOLDOWN_MS, Y as PRODUCT_ASSISTANT_MODE_ID_MAX_LENGTH, X as PRODUCT_ASSISTANT_MODE_ID_PATTERN, ut as PROMPT_CONVERSATION_ID_PATTERN, za as PROMPT_ENVELOPE_RESERVE_BYTES, qp as PROPOSAL_WRITE_RULES, Ba as PROVIDER_READABLE_FILE_MEDIA_TYPES, R as PROVISION_ASSISTANT_SANDBOX, z as PROXY_SANDBOX_REQUEST, nc as REDUCED_MOTION_ATTRIBUTE, rc as REDUCED_MOTION_QUERY, B as REPORT_AI_TOKEN_USAGE, V as REPORT_MY_ASSISTANT_TURN_TIMINGS, lt as REQUEST_TOO_LARGE_REFUSAL, Js as SANDBOX_READY_TTL_MS, fi as SILENCE_SUBMIT_MS, rr as SPEAKING_RATE_MAX, ir as SPEAKING_RATE_MAX_STREAMING, ar as SPEAKING_RATE_MAX_SYNC, or as SPEAKING_RATE_MIN, ki as SPEECH_CHUNK_CHARS, Ai as SPEECH_CHUNK_CJK_CHARS, vr as SPEECH_LANG, Ho as SPOKEN_LABEL_LANGUAGES, Gr as STAGE_COPY, e as START_RETRY_COOLDOWN_MS, H as STOP_ASSISTANT_SANDBOX, U as STOP_MY_ASSISTANT_SANDBOX, zn as STREAM_BUDGET_MS, Ze as TAKE_ACTION_ENGLISH, Kr as THINKING_PHRASES, Va as TURN_BODY_HEADROOM_BYTES, Ss as TURN_MILESTONES, Ye as TURN_OUTCOME_COPY, Cs as TURN_SEGMENTS, ws as TURN_TIMELINE_EVENT, xp as TURN_TIMING_REPORTING, gp as TURN_TIMING_REPORT_FIELDS, _p as TURN_TIMING_STAGES, ip as TurnActivityLine, jn as UNAVAILABLE_MODE_REFUSAL, Mn as UNDECLARED_MODE_CAPABILITIES, gn as USAGE_REPORT_FAILED_EVENT, _n as USAGE_REPORT_RETRY_DELAYS_MS, Ju as VOICE_ESCAPE_LAYER_SELECTOR, Yu as VOICE_ESCAPE_MODAL_SELECTOR, yr as VOICE_LIST_TIMEOUT_MS, Zr as VOICE_MUTED_LABEL, bo as VOICE_PROPOSAL_MODE, Qr as VOICE_THINKING_LABEL, lu as VoiceCaption, uu as VoiceConversationView, mu as VoiceMiniController, hu as VoiceStage, fu as VoiceStatusLine, pu as VoiceStatusText, xu as VoiceTranscriptDrawer, du as VoiceWaveform, W as WAIT_FOR_SANDBOX_RUNNING, up as WORKSPACE_ASSISTANT_ADMIN_QUERY, wc as WRITE_CONFIRM_ARM_MS, bc as WRITE_PROPOSAL_DIALOG_KINDS, Oc as WRITE_PROPOSAL_ERROR_CODES, vo as WRITE_PROPOSAL_ERROR_COPY, sc as WRITE_PROPOSAL_MASK, Pc as WRITE_PROPOSAL_MAX_POLL_FAILURES, Fc as WRITE_PROPOSAL_POLL_MS, xc as WRITE_PROPOSAL_PRESENTED_AFTER_MS, xo as WRITE_PROPOSAL_READBACK_HIDDEN, kc as WRITE_PROPOSAL_SANDBOX_MODE, So as WRITE_PROPOSAL_VOICE_COPY, fo as WRITE_REPLY_COPY, Uc as WRITE_REPLY_DECLINE_WAIT_MS, po as WRITE_REPLY_LEXICON, Op as WarmCancelled, Ac as WriteProposalError, dt as abortAssistantTurn, Fu as aboveAssistantBottomChrome, ll as activePanelOverlay, Nn as adminOnlyModeSendRefusal, Lo as adminOnlyModeSendRefusalAfterAccess, pi as advanceHeardClock, ri as advanceRotationClock, Wp as aiCreditsUpdatedEventName, mo as analyseWriteReply, mf as applyHistoryPage, Dl as applyPreviewEvent, Ie as approvalFollowUpReplyIds, ft as approvePendingWrite, Le as approvedPendingWriteIds, Ic as asWriteProposalError, Tc as askProductToConfirmWrite, pt as askReuseMatchesProvisioning, Hf as assistantHistory, Ed as assistantHistoryBackoffMs, yf as assistantHistoryGenerationOf, Ad as assistantHistoryScopeKey, kf as assistantHistoryStore, Po as assistantI18nSeedCopy, q as assistantModeFallbackLabel, Fo as assistantModeI18nCopy, tu as assistantModeMeta, Iu as assistantOverlayClassName, Lu as assistantOverlayEscapeAction, Ru as assistantOverlayKeys, ul as assistantPanelOwnsEscape, zu as assistantQuotaKindOf, y as assistantRoutePath, u as assistantTranslationKey, b as assistantUrlTransform, vn as assistantUsageLedger, ve as autoCarryOverFor, ye as autoSuggestions, lo as availableAttachmentSources, sr as base64ToBytes, Re as beginApprovalInFlight, Ts as beginTurn, Af as boundAssistantHistoryHeaders, x as browserShouldHandle, Xn as browserSpeechEngine, vp as buildAbandonedTurnReport, ds as buildAssistantProgress, mt as buildAssistantSandboxEnv, Ha as buildAttachmentPromptBlock, be as buildAutoCarryOver, Vo as buildBoundedAttachmentTurn, Ci as buildContinuedFromVoiceNote, pd as buildHistoryDeleteVariables, md as buildHistoryEntriesVariables, hd as buildHistoryPageVariables, $f as buildHistoryResumePreamble, gd as buildHistorySaveVariables, $t as buildProgress, ht as buildPromptGatewayRequest, Ua as buildPromptParts, gt as buildPromptRequestBody, Wa as buildPromptWithAttachments, _t as buildProvisionAssistantSandboxInput, cr as buildRequest, k as buildSandboxContextInput, yp as buildTurnTimingReport, wi as buildVoiceTranscriptMarkdown, Z as builtInModeExtendedBy, Un as chatTurns, vt as checkAssistantAiCredits, Vp as chooseDestinationCopy, ji as chunkForSpeech, Dd as classifyAssistantHistoryError, S as classifyAssistantHref, xe as classifyAssistantIntent, Ga as classifyAttachment, lr as classifyHttpFailure, w as classifyQuotaError, pn as classifyTurnFailure, yn as classifyUsageReportFailure, ho as classifyWriteReply, Bu as closestAround, da as columnLetterToIndex, jd as completeAssistantHistoryScope, $r as composeVoiceStatus, Mr as configureSpeechEngine, il as connectSourceActivation, el as connectSourceHrefRenders, kp as consumeWarm, Mi as containsCjk, Fd as conversationHasHistory, p as copyToClipboard, Ka as countInlineImageCandidates, qa as countInlinedImageParts, vs as countSpokenTurns, Ro as createAdminModeAccessGate, Uf as createAssistantHistoryEngine, bf as createAssistantHistoryStatusStore, jf as createAssistantHistoryStore, Vu as createAssistantNavigate, Ol as createAssistantPreviewSurface, yt as createAssistantSandbox, bt as createAssistantSession, bd as createGatewayHistoryTransport, Ee as createGuardedAssistantStorage, hr as createHostedTtsEngine, Cf as createProfileBoundStorage, Ys as createReadinessTracker, jr as createRoutingSpeechEngine, Ml as createRunIdentityCache, Dn as createSandboxAssistantTransport, jc as createSandboxWriteProposalClient, Nr as createSpeechEngines, Wf as createSystemHistoryClock, Sp as createTurnTimingNonce, Cp as createTurnTimingReporter, Lc as createWriteProposalDiscovery, kl as currentPreviewOwner, go as decideWriteReply, Q as declareAssistantMode, ur as decodeAudioResponse, fa as decodeXmlEntities, un as describePermissionError, T as describeQuotaError, Es as describeTurn, Ja as detectDocumentFormat, Wo as detectScriptLocale, Ds as detectTurnDevice, uo as deviceHasCamera, dr as disableDurationMs, Gp as dispatchAssistantQuotaExhausted, pa as docxXmlToText, xt as downloadAssistantArtifact, Qu as downloadFile, as as elapsedSince, Mf as emptyAssistantHistoryPersisted, Nf as emptyAssistantHistoryScopeState, ze as endApprovalInFlight, Se as escalationToUndo, Xu as escapeBelongsToLayerAbove, dl as escapeDismisses, Ya as estimateTurnBodyBytes, A as executeAssistantGraphQLOnce, j as executeSandboxGraphQL, $u as exportConversation, St as extendAssistantSandboxTTL, E as extensionObjectsIn, Yp as extractDocumentText, ef as filterHistoryMetadata, Yi as findAssistantLanguage, Pn as findAssistantModeConfig, Ct as findExistingSandbox, wt as findExistingSandboxWithStatus, ra as findPendingWrite, tf as fitHistoryMetadataEnvelope, ma as fitPdfPages, fl as focusIsInsidePanel, Be as forgetLiveTurns, Xa as formatBytes, ha as formatPageRanges, cc as formatWriteProposalValue, Tt as forwardsUserTokensToSandbox, nf as fromHistoryEntry, Hs as getActorId, Ve as getApprovalInFlight, Et as getAssistantArtifacts, is as getAssistantDisplayContent, en as getAssistantMedia, Dt as getAssistantMessages, Ot as getAssistantSession, kt as getAssistantStreamAccess, tn as getAssistantText, Za as getAttachmentSendBlocker, ce as getCapability, Qa as getExtension, De as getHistoryStamp, ne as getImageForMode, re as getImageTagForMode, Us as getOrganizationId, nn as getRawMessageCreatedAt, ie as getResourcesForMode, ae as getSandboxImageRegistry, $a as getSendableAttachments, Pr as getSpeechEngine, rn as getToolProgress, bn as getUsageBlock, Ws as getWorkspaceId, He as goAheadSentReplyIds, Wn as groupBySession, Gn as groupConsecutiveBySession, eo as hasAttachmentWorkInFlight, tl as hasConnectSource, xn as hasPendingUsageReports, hf as highestContiguousHistorySeq, Id as historyConvKeyOf, rf as historyEntriesMatchKind, Ld as historyHeaderOf, Oe as historyOpenFilter, Rd as historyScopeKeyOfStamp, _d as historyTimestampToIso, $n as hostedLocaleFor, er as hostedSupportsLanguage, h as imageHostLabel, Bn as incompleteTurnNotice, Fp as isAlreadyThere, $ as isAssistantModeId, At as isAssistantProvisioningUnavailable, Hu as isAssistantToggleShortcut, Ce as isAutoRoutingOffered, Sl as isBlankProse, J as isBuiltInAssistantMode, mi as isCapturing, Os as isComparableTurn, xf as isCurrentAssistantHistoryGeneration, Ip as isCurrentPath, jt as isDedicatedAssistantSandbox, Mt as isDedicatedAssistantSandboxRow, hi as isEcho, bp as isFinishedTurn, af as isHistoryClientId, ke as isHistoryConversationBusy, br as isHostedVoice, ep as isKnownReadOnlyMode, es as isLegacyFiller, Md as isLegacyHistoryConvKey, ts as isLegacyStopped, Ue as isLiveTurn, le as isMissingGatewayFieldError, ga as isMostlyImagePages, Gs as isMultimodalBodyRejection, Ks as isNeverRecoverableAssistantError, Pf as isNewerAssistantHistoryFormat, zd as isOtherScopeHistoryConversation, Qp as isProdRuntime, ee as isProductAssistantModeId, to as isProviderReadableFilePart, D as isQuotaExhaustedError, Bd as isReadOnlyHistoryConversation, an as isReapedSandboxConnectionError, Xs as isRecentlyVerified, on as isRecoverable, qs as isRecoverableAssistantError, g as isRemoteImageSrc, Vd as isReusableHistoryDraft, Cl as isRunningStatus, qo as isSpeakingMessage, xr as isSpeechBlocked, ns as isStageCopy, gi as isSubmittable, Zo as isTurnInFlight, ue as isUnknownFieldError, _o as isUserOriginatedWriteReply, Co as isVoiceProposalBound, Kn as isVoiceTurn, Qe as isWriteModeAcknowledged, Mc as isWriteProposalError, _a as joinSheets, Sr as languageDisplayName, no as largestInlineCharsPerFile, Nd as legacyHistoryConvKey, sn as mapSessionToHistory, We as markLiveTurn, de as markSupported, ks as markTurn, fe as markUnsupported, Lp as matchLocalUiCommand, Hd as materializeHistoryHeader, ea as maySendSpokenTurn, of as measureHistorySaveRequest, Ff as mergeAssistantHistoryPersisted, If as mergeAssistantHistoryWithStored, gf as mergeHistoryMessages, cn as mergeMessagesById, it as mergePersistedAssistantState, Rr as micIsInterrupt, Nt as modeRequiresConfirmWrites, os as msUntilNextPhrase, Rp as navDestinations, Hp as navigationCommandCopy, Rc as newWriteProposalRequestId, Ge as newestModelReplyId, Fl as nextActiveTab, Uu as nextAssistantOpenState, nu as nextModeIndex, pl as nextPanelOverlays, wl as nextPreviewEvents, zp as normaliseUtterance, Cr as normalizeLangTag, Kp as notifyAiCreditsUpdated, Ae as notifyAssistantStorageFull, _i as orbMode, va as pageMarker, Kl as panelOwnedPreviewBridge, ml as panelOwnsEscape, ia as parseConfirmationRefusal, ro as parseDataUrl, ya as parseSharedStrings, _s as parseToolActivity, ba as parseWorkbookSheets, Nc as parseWriteProposalView, xa as pdfTextItemsToPage, dn as permissionRefusalMessage, Il as pinActiveTab, Qo as planAbandonedTurn, Zs as planAfterTransportFailure, Od as planAssistantHistoryRetry, _f as planHistoryEarlierLoad, vf as planHistoryOpenLoad, vi as planListeningHold, yi as planReplyConsumption, Bp as planThemeChange, ta as planTranscriptAutoOpen, Qs as planTrustedSandboxFailure, $o as planTurnAbort, bi as planVoiceAnnouncement, na as planVoiceSessionBinding, Wc as planWriteReply, Gi as pollDelayMs, Ap as prewarmTarget, wr as primaryLanguageSubtag, dp as probeWorkspaceAssistantAdmin, Pt as promptGatewayRequestBytes, Gc as promptWriteApproval, Ft as proxySandboxRaw, Lf as pruneAssistantHistoryPersisted, Wu as publishedAssistantDockWidth, Jo as publishedChunks, O as quotaExhaustedEventName, fs as readAheadFor, Rf as readAssistantHistoryPersisted, Gu as readAssistantOverlayFlag, ic as readReducedMotion, It as readSandboxWriteCapabilities, Lt as readSandboxWriteCapabilitiesOnce, Fr as readSpeechEngineConfig, zc as readWriteProposalRefs, As as recentTurnTimelines, lc as redactWriteProposalText, Rt as releaseSupersededAssistantSandboxes, wo as renderWriteProposalReadback, Zi as replyFollowsInput, zt as reportAssistantAiTokenUsage, Sn as reportUsageWithRetry, Ku as requestedAssistantOpenState, Yo as requiresCancel, Ir as resetSpeechEngine, js as resetTurnTimelines, wp as resetTurnTimingReporting, jp as resetWarmsForTest, at as resolveActiveModeSandbox, Ke as resolveApprovablePendingWrite, io as resolveAssistantInlineLimits, Xi as resolveAssistantLanguage, Fn as resolveAssistantModeCapabilities, zo as resolveAssistantSendModeAfterAccess, we as resolveAutoRoute, Ud as resolveHistoryReopenMode, Qi as resolveLanguagePair, i as resolveModeConfig, qe as resolveRetryableMessageId, oe as resolveSandboxAssistantMode, Go as resolveSpeechLocale, Ms as restartAttempt, $e as restoreAcknowledgedWriteModes, Te as restoreAutoRouting, tp as resumeContextFor, gr as retryDelayMs, Cn as retryPendingUsageReports, ii as rotationElapsedMs, Al as runBelongsTo, Nl as runIdentities, jl as sameOwner, se as sandboxBaseModeFor, Bt as sandboxStatusOf, ln as sanitize, Ns as segmentStats, Wd as selectAssistantHistoryList, Vt as selectExistingAssistantSandbox, Gd as selectHistoryEvictions, Ht as selectSupersededAssistantSandboxes, Tr as selectVoiceForLocale, Ut as sendAssistantPromptAsync, Tp as sendAssistantTurnTimings, Wt as sendHeartbeat, je as setAssistantStorageFullHandler, Me as setHistoryBusyProbe, Ne as setHistoryOpenFilterSource, Pe as setHistoryStampSource, zf as settleAssistantHistory, Mp as settleWarmBeforeSend, Kc as settleWithin, Sa as sheetXmlToRows, fr as shouldDisableEngine, Ll as shouldPinOnMove, Rl as shouldPinOnSelect, zi as showPreviousChunk, zr as showsAssistantCaption, Br as showsUserCaption, ps as snapshotReplyFloor, pr as speakableChunks, Ni as speakableEmail, Er as speechGate, Uo as speechLabelsFor, Dr as speechLangForLocale, Xo as speechPlaybackReducer, mr as splitForVendor, Pi as splitTableRow, ys as spokenMessagesSinceContinueNote, xi as spokenSoFar, bs as spokenTurnText, qr as stageText, t as startIsCoolingDown, ss as startPhraseTicker, ai as startRotationTicker, ms as startSessionReadAhead, Ep as startTurnTimingReporting, Np as startWarm, Jr as statusStageCopy, zl as stepsFromToolActivity, Gt as stopReapedAssistantSandbox, Vn as streamBudgetMs, rs as stripLegacyFillerPrefix, Je as subscribeApprovalInFlight, ac as subscribeReducedMotion, Lr as subscribeSpeechEngine, Ps as subscribeTurnTimelines, Ca as summarisePageText, Fs as summariseTurnTimelines, oi as syncRotationClock, Bl as tabForArrowKey, Up as themeCommandCopy, Yr as thinkingPhrase, Xr as thinkingPhraseEntry, Ki as toCaptionText, sf as toHistoryEntries, ao as toMessageAttachment, Fi as toSpeakableText, cf as toStorableHistoryText, hs as trackFirstText, oo as truncateForInline, wa as truncatePagesForInline, lf as truncateUtf8, cs as turnActivityCopy, ls as turnActivityStage, Is as turnClockMs, mn as turnConfirmsNoAction, hn as turnOutcomeCopy, Ls as turnSegments, Rs as turnTimeline, In as unofferedModeSendRefusal, Bo as unofferedModeSendRefusalAfterAccess, wn as usagePendingStorageKey, Tn as usageReportClock, En as usageSendRefusal, fp as useAssistantApiAccess, Xp as useAssistantAttachments, nl as useAssistantConnectSource, om as useAssistantDockWidth, $p as useAssistantHeartbeat, Sf as useAssistantHistoryStatus, Bf as useAssistantHistoryStore, d as useAssistantI18nNamespace, em as useAssistantKeyboardShortcuts, C as useAssistantNavigate, sm as useAssistantOverlayOrNull, a as useAssistantPageLabel, bl as useAssistantPreview, Wl as useAssistantPreviewBridge, o as useAssistantProduct, s as useAssistantProductOrNull, cm as useAssistantQuotaExhausted, np as useAssistantServerHistory, Bs as useAssistantSpeech, c as useAssistantStorageFolders, ot as useAssistantStore, f as useAssistantTr, pp as useConversationTurns, gl as useDropdownEscape, ql as useHostedAssistantPreviewBridge, Ul as useOverlayFocus, oc as usePrefersReducedMotion, On as useSandboxAssistantTransport, n as useVoiceInput, Vs as useVoiceSession, Jp as useWorkspaceWriteAccess, Ec as useWriteProposalConfirm, uc as useWriteProposalRemainingMs, Jc as useWriteProposals, Kt as usesDedicatedAssistantProvisioning, uf as utf8ByteLength, so as validateFile, Or as voiceAvailability, qn as voiceMarker, Li as voicePreviewText, To as voiceProposalChip, Eo as voiceProposalChipText, kr as voiceQualityRank, Do as voiceReadbacksDue, Zu as voiceSessionEscapeAction, Jn as voiceSessionIdOf, hl as voiceSessionOwnsEscape, Si as voiceSessionReducer, Vr as voiceStageState, ei as voiceStatusParts, ti as voiceStatusSuffix, Ti as voiceTranscriptFilename, Yn as voiceTurnsOnly, Oo as voiceWaitingProposals, Ar as voicesForLocale, qt as waitForAssistantServiceReady, Jt as waitForSandboxRunning, Pp as warmState, Hr as waveformIsActive, Ur as waveformIsSettled, Hn as withIncompleteTurnNotice, et as withWriteModeAcknowledged, Yt as writeApprovalModeOf, Xt as writeApprovalReuseMatches, qu as writeAssistantOverlayFlag, Zt as writeExecutionOf, tt as writeModeConsentCopy, nt as writeModeSendRefusal, rt as writeModeSendRefusalReason, dc as writeProposalArgumentValues, Bc as writeProposalBelongsTo, fc as writeProposalConfirmState, pc as writeProposalCountdownText, yo as writeProposalErrorLine, mc as writeProposalGatewayText, hc as writeProposalKindText, gc as writeProposalRootFieldName, _c as writeProposalSensitiveTexts, Vc as writeProposalSessionsToReopen, Sc as writeProposalUsesDialog, vc as writeProposalVariableValues, ko as writeProposalVoiceLine, Ao as writeProposalVoiceReadback, Hc as writeProposalsEnabledFor, qc as writeReplyLiveState };
@@ -7,6 +7,19 @@ export interface ModalShellProps {
7
7
  children: ReactNode;
8
8
  size?: 'sm' | 'md' | 'lg' | 'xl';
9
9
  footer?: ReactNode;
10
+ /**
11
+ * `alertdialog` for a modal that interrupts to ask for a decision (WAI-ARIA
12
+ * alert dialog). Absent, the content keeps the primitive's own `dialog` role.
13
+ */
14
+ role?: 'dialog' | 'alertdialog';
15
+ /**
16
+ * Called as the modal opens, before focus moves into it. Call
17
+ * `event.preventDefault()` and focus an element yourself to choose where focus
18
+ * starts; absent, it goes to the first focusable element.
19
+ */
20
+ onOpenAutoFocus?: (event: Event) => void;
21
+ /** `data-testid` on the modal's content. */
22
+ testId?: string;
10
23
  }
11
24
  /**
12
25
  * Title / body / footer scaffold over `ResponsiveDialog` — centred on desktop,
@@ -18,5 +31,5 @@ export interface ModalShellProps {
18
31
  * primitives (which already own the scrim, Escape, focus trap and scroll lock);
19
32
  * it does not replace them.
20
33
  */
21
- export declare function ModalShell({ open, onClose, title, description, children, size, footer, }: ModalShellProps): import("react/jsx-runtime").JSX.Element;
34
+ export declare function ModalShell({ open, onClose, title, description, children, size, footer, role, onOpenAutoFocus, testId, }: ModalShellProps): import("react/jsx-runtime").JSX.Element;
22
35
  //# sourceMappingURL=modal-shell.d.ts.map