@burdenoff/fe-libs 2026.1004.3 → 2026.1004.5

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 (79) hide show
  1. package/dist/chrome/mobileTabBar/useVisibleNavItems.d.ts +9 -0
  2. package/dist/chrome/mobileTabBar/useVisibleNavItems.d.ts.map +1 -1
  3. package/dist/chrome/mobileTabBar/useVisibleNavItems.js +3 -1
  4. package/dist/shared/assistant/api.d.ts +6 -0
  5. package/dist/shared/assistant/api.d.ts.map +1 -1
  6. package/dist/shared/assistant/api.js +5 -3
  7. package/dist/shared/assistant/i18nManifest.d.ts +13 -0
  8. package/dist/shared/assistant/i18nManifest.d.ts.map +1 -1
  9. package/dist/shared/assistant/i18nManifest.js +25 -12
  10. package/dist/shared/assistant/index.d.ts +11 -0
  11. package/dist/shared/assistant/index.d.ts.map +1 -1
  12. package/dist/shared/assistant/localUiCommandCopy.d.ts +18 -0
  13. package/dist/shared/assistant/localUiCommandCopy.d.ts.map +1 -1
  14. package/dist/shared/assistant/localUiCommandCopy.js +22 -2
  15. package/dist/shared/assistant/localUiCommands.d.ts +63 -26
  16. package/dist/shared/assistant/localUiCommands.d.ts.map +1 -1
  17. package/dist/shared/assistant/localUiCommands.js +128 -59
  18. package/dist/shared/assistant/store.d.ts +10 -0
  19. package/dist/shared/assistant/store.d.ts.map +1 -1
  20. package/dist/shared/assistant/store.js +52 -44
  21. package/dist/shared/assistant/ui/AssistantChatArea.d.ts.map +1 -1
  22. package/dist/shared/assistant/ui/AssistantChatArea.js +1023 -874
  23. package/dist/shared/assistant/ui/AssistantMarkdownRenderer.d.ts +3 -34
  24. package/dist/shared/assistant/ui/AssistantMarkdownRenderer.d.ts.map +1 -1
  25. package/dist/shared/assistant/ui/AssistantMarkdownRenderer.js +83 -119
  26. package/dist/shared/assistant/ui/AssistantMoreMenu.d.ts.map +1 -1
  27. package/dist/shared/assistant/ui/AssistantMoreMenu.js +58 -56
  28. package/dist/shared/assistant/ui/AssistantSpeechProvider.d.ts.map +1 -1
  29. package/dist/shared/assistant/ui/AssistantSpeechProvider.js +106 -105
  30. package/dist/shared/assistant/ui/composer/AssistantConnectSourceItem.js +2 -1
  31. package/dist/shared/assistant/ui/composer/AssistantVoiceGraceSelector.d.ts +20 -0
  32. package/dist/shared/assistant/ui/composer/AssistantVoiceGraceSelector.d.ts.map +1 -0
  33. package/dist/shared/assistant/ui/composer/AssistantVoiceGraceSelector.js +39 -0
  34. package/dist/shared/assistant/ui/composer/connectSource.js +2 -1
  35. package/dist/shared/assistant/ui/useVoiceSession.d.ts +35 -2
  36. package/dist/shared/assistant/ui/useVoiceSession.d.ts.map +1 -1
  37. package/dist/shared/assistant/ui/useVoiceSession.js +232 -171
  38. package/dist/shared/assistant/ui/voice/AssistantVoiceSession.d.ts +15 -1
  39. package/dist/shared/assistant/ui/voice/AssistantVoiceSession.d.ts.map +1 -1
  40. package/dist/shared/assistant/ui/voice/AssistantVoiceSession.js +121 -101
  41. package/dist/shared/assistant/uiActions/assistantHref.d.ts +36 -0
  42. package/dist/shared/assistant/uiActions/assistantHref.d.ts.map +1 -0
  43. package/dist/shared/assistant/uiActions/assistantHref.js +46 -0
  44. package/dist/shared/assistant/uiActions/deixis.d.ts +29 -0
  45. package/dist/shared/assistant/uiActions/deixis.d.ts.map +1 -0
  46. package/dist/shared/assistant/uiActions/deixis.js +54 -0
  47. package/dist/shared/assistant/uiActions/entityRoutes.d.ts +49 -0
  48. package/dist/shared/assistant/uiActions/entityRoutes.d.ts.map +1 -0
  49. package/dist/shared/assistant/uiActions/entityRoutes.js +53 -0
  50. package/dist/shared/assistant/uiActions/inAppLinks.d.ts +28 -0
  51. package/dist/shared/assistant/uiActions/inAppLinks.d.ts.map +1 -0
  52. package/dist/shared/assistant/uiActions/inAppLinks.js +51 -0
  53. package/dist/shared/assistant/uiActions/linkContext.d.ts +52 -0
  54. package/dist/shared/assistant/uiActions/linkContext.d.ts.map +1 -0
  55. package/dist/shared/assistant/uiActions/linkContext.js +60 -0
  56. package/dist/shared/assistant/uiActions/recordNames.d.ts +73 -0
  57. package/dist/shared/assistant/uiActions/recordNames.d.ts.map +1 -0
  58. package/dist/shared/assistant/uiActions/recordNames.js +75 -0
  59. package/dist/shared/assistant/uiActions/resolveTarget.d.ts +43 -0
  60. package/dist/shared/assistant/uiActions/resolveTarget.d.ts.map +1 -0
  61. package/dist/shared/assistant/uiActions/resolveTarget.js +49 -0
  62. package/dist/shared/assistant/uiActions/uiCatalogue.d.ts +30 -0
  63. package/dist/shared/assistant/uiActions/uiCatalogue.d.ts.map +1 -0
  64. package/dist/shared/assistant/uiActions/uiCatalogue.js +22 -0
  65. package/dist/shared/assistant/voice/handsFree.d.ts +160 -0
  66. package/dist/shared/assistant/voice/handsFree.d.ts.map +1 -0
  67. package/dist/shared/assistant/voice/handsFree.js +104 -0
  68. package/dist/shared/assistant/voice/supersededTurns.d.ts +29 -0
  69. package/dist/shared/assistant/voice/supersededTurns.d.ts.map +1 -0
  70. package/dist/shared/assistant/voice/supersededTurns.js +17 -0
  71. package/dist/shared/assistant/voice/useVoiceInput.d.ts +7 -0
  72. package/dist/shared/assistant/voice/useVoiceInput.d.ts.map +1 -1
  73. package/dist/shared/assistant/voice/useVoiceInput.js +13 -10
  74. package/dist/shared/assistant/voice/voiceSession.d.ts +64 -20
  75. package/dist/shared/assistant/voice/voiceSession.d.ts.map +1 -1
  76. package/dist/shared/assistant/voice/voiceSession.js +120 -67
  77. package/dist/shared/components/assistantWidget/MessageContent.js +4 -3
  78. package/dist/shared-assistant.js +206 -195
  79. package/package.json +3 -1
@@ -1,195 +1,206 @@
1
- import { START_RETRY_COOLDOWN_MS as e, startIsCoolingDown as t, useVoiceInput as n } from "./shared/assistant/voice/useVoiceInput.js";
2
- import { AssistantProductProvider as r, resolveModeConfig as i, useAssistantPageLabel as a, useAssistantProduct as o, useAssistantProductOrNull as s, useAssistantStorageFolders as c } from "./shared/assistant/product.js";
3
- import { AssistantI18nProvider as l, assistantTranslationKey as u, useAssistantI18nNamespace as d, useAssistantTr as f } from "./shared/assistant/i18n.js";
4
- import { copyToClipboard as p } from "./shared/assistant/clipboard.js";
5
- import { AssistantMarkdownImage as m, imageHostLabel as h, isRemoteImageSrc as g } from "./shared/assistant/ui/AssistantMarkdownImage.js";
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
- import { ASSISTANT_LLM_TERMINAL_CODES as w, SandboxProxyError as T, assistantLlmTerminalCodeOf as E, isAssistantLlmTerminalCode as D, sandboxProxyErrorFromBody as O, sandboxProxyErrorFromTurnTerminal as k, terminalCodeRecoverability as A } from "./shared/assistant/sandboxProxyError.js";
8
- import { classifyQuotaError as j, describeQuotaError as M, extensionObjectsIn as N, isQuotaExhaustedError as P, quotaExhaustedEventName as F } from "./shared/assistant/quota.js";
9
- import { buildSandboxContextInput as I, executeAssistantGraphQLOnce as L, executeSandboxGraphQL as R } from "./shared/assistant/gatewayClient.js";
10
- import { CHECK_AI_CREDITS as z, CREATE_SANDBOX as B, EXTEND_MY_ASSISTANT_SANDBOX_TTL as V, EXTEND_SANDBOX_TTL as H, GET_ACTIVE_SANDBOXES as U, GET_SANDBOX as W, PROVISION_ASSISTANT_SANDBOX as G, PROXY_SANDBOX_REQUEST as K, REPORT_AI_TOKEN_USAGE as q, REPORT_MY_ASSISTANT_TURN_TIMINGS as J, STOP_ASSISTANT_SANDBOX as Y, STOP_MY_ASSISTANT_SANDBOX as X, WAIT_FOR_SANDBOX_RUNNING as Z } from "./shared/assistant/operations.js";
11
- import { ASSISTANT_MODE_FALLBACK_LABELS as Q, ASSISTANT_MODE_IDS as $, assistantModeFallbackLabel as ee, isBuiltInAssistantMode as te } from "./shared/assistant/modeCopy.js";
12
- import { PRODUCT_ASSISTANT_MODE_ID_MAX_LENGTH as ne, PRODUCT_ASSISTANT_MODE_ID_PATTERN as re, builtInModeExtendedBy as ie, declareAssistantMode as ae, isAssistantModeId as oe, isProductAssistantModeId as se } from "./shared/assistant/modeIds.js";
13
- import { ASSISTANT_API_AUTH_STRATEGY as ce, getImageForMode as le, getImageTagForMode as ue, getResourcesForMode as de, getSandboxImageRegistry as fe, resolveSandboxAssistantMode as pe, sandboxBaseModeFor as me } from "./shared/assistant/images.js";
14
- import { getCapability as he, isMissingGatewayFieldError as ge, isUnknownFieldError as _e, markSupported as ve, markUnsupported as ye } from "./shared/assistant/capabilities.js";
15
- import { AUTO_CARRY_OVER_MAX_CHARS as be, AUTO_CARRY_OVER_MAX_CHARS_PER_MESSAGE as xe, AUTO_CARRY_OVER_MAX_MESSAGES as Se, AUTO_READ_MODE as Ce, AUTO_WRITE_MODE as we, autoCarryOverFor as Te, autoSuggestions as Ee, buildAutoCarryOver as De, classifyAssistantIntent as Oe, escalationToUndo as ke, isAutoRoutingOffered as Ae, resolveAutoRoute as je, restoreAutoRouting as Me } from "./shared/assistant/autoRouting.js";
16
- import { createGuardedAssistantStorage as Ne } from "./shared/assistant/guardedStorage.js";
17
- import { DEFAULT_HISTORY_LIST_FILTER as Pe, HISTORY_TITLE_MAX_CODE_POINTS as Fe, MAX_PINNED as Ie, clampToCodePoints as Le, coalesceUpdatePatch as Re, codePointLength as ze, collapseHistoryText as Be, historyFilterEmptyKind as Ve, historyFilterKey as He, isDefaultHistoryFilter as Ue, isValidUpdatePatch as We, localChannelOf as Ge, matchesHistoryFilter as Ke, normaliseHistoryTitle as qe, pendingUpdatesByConversation as Je, resolveRowControls as Ye } from "./shared/assistant/history/historyControls.js";
18
- import { getHistoryStamp as Xe, historyOpenFilter as Ze, isHistoryConversationBusy as Qe, notifyAssistantStorageFull as $e, offerHistoryRename as et, setAssistantStorageFullHandler as tt, setHistoryBusyProbe as nt, setHistoryOpenFilterSource as rt, setHistoryRenameSink as it, setHistoryStampSource as at } from "./shared/assistant/history/stampRegistry.js";
19
- import { PENDING_WRITE_APPROVAL_WINDOW_MS as ot, approvalFollowUpReplyIds as st, approvedPendingWriteIds as ct, beginApprovalInFlight as lt, endApprovalInFlight as ut, forgetLiveTurns as dt, getApprovalInFlight as ft, goAheadSentReplyIds as pt, isLiveTurn as mt, markLiveTurn as ht, newestModelReplyId as gt, resolveApprovablePendingWrite as _t, resolveRetryableMessageId as vt, subscribeApprovalInFlight as yt } from "./shared/assistant/liveTurns.js";
20
- import { TURN_OUTCOME_COPY as bt } from "./shared/assistant/turnOutcomeCopy.js";
21
- import { LEGACY_WRITE_CONSENT_KEY as xt, TAKE_ACTION_ENGLISH as St, isWriteModeAcknowledged as Ct, restoreAcknowledgedWriteModes as wt, withWriteModeAcknowledged as Tt, writeModeConsentCopy as Et, writeModeSendRefusal as Dt, writeModeSendRefusalReason as Ot } from "./shared/assistant/writeModeConsent.js";
22
- import { mergePersistedAssistantState as kt, resolveActiveModeSandbox as At, useAssistantStore as jt } from "./shared/assistant/store.js";
23
- import { MAX_INLINE_IMAGE_BASE64_BYTES as Mt, MAX_REQUEST_BODY_BYTES as Nt, REQUEST_TOO_LARGE_REFUSAL as Pt } from "./shared/assistant/gatewayLimits.js";
24
- import { PROMPT_CONVERSATION_ID_PATTERN as Ft, abortAssistantTurn as It, approvePendingWrite as Lt, askReuseMatchesProvisioning as Rt, buildAssistantSandboxEnv as zt, buildPromptGatewayRequest as Bt, buildPromptRequestBody as Vt, buildProvisionAssistantSandboxInput as Ht, checkAssistantAiCredits as Ut, createAssistantSandbox as Wt, createAssistantSession as Gt, downloadAssistantArtifact as Kt, extendAssistantSandboxTTL as qt, findExistingSandbox as Jt, findExistingSandboxWithStatus as Yt, forwardsUserTokensToSandbox as Xt, getAssistantArtifacts as Zt, getAssistantMessages as Qt, getAssistantSession as $t, getAssistantStreamAccess as en, isAssistantProvisioningUnavailable as tn, isDedicatedAssistantSandbox as nn, isDedicatedAssistantSandboxRow as rn, modeRequiresConfirmWrites as an, promptGatewayRequestBytes as on, proxySandboxRaw as sn, readSandboxWriteCapabilities as cn, readSandboxWriteCapabilitiesOnce as ln, releaseSupersededAssistantSandboxes as un, reportAssistantAiTokenUsage as dn, sandboxStatusOf as fn, selectExistingAssistantSandbox as pn, selectSupersededAssistantSandboxes as mn, sendAssistantPromptAsync as hn, sendHeartbeat as gn, stopReapedAssistantSandbox as _n, usesDedicatedAssistantProvisioning as vn, waitForAssistantServiceReady as yn, waitForSandboxRunning as bn, writeApprovalModeOf as xn, writeApprovalReuseMatches as Sn, writeExecutionOf as Cn } from "./shared/assistant/api.js";
25
- import { AssistantRuntimeManager as wn } from "./shared/assistant/runtime.js";
26
- import { buildProgress as Tn, getAssistantMedia as En, getAssistantText as Dn, getRawMessageCreatedAt as On, getToolProgress as kn, isReapedSandboxConnectionError as An, isRecoverable as jn, mapSessionToHistory as Mn, mergeMessagesById as Nn, sanitize as Pn } from "./shared/assistant/progress.js";
27
- import { PROVISIONING_NOT_PERMITTED_I18N_KEY as Fn, describePermissionError as In, permissionRefusalCopyId as Ln, permissionRefusalMessage as Rn } from "./shared/assistant/permissionError.js";
28
- import { AssistantSendRefusal as zn, classifyTurnFailure as Bn, formatDailyLimitResetTime as Vn, turnConfirmsNoAction as Hn, turnOutcomeCopy as Un } from "./shared/assistant/turnOutcome.js";
29
- import { USAGE_REPORT_FAILED_EVENT as Wn, USAGE_REPORT_RETRY_DELAYS_MS as Gn, assistantUsageLedger as Kn, classifyUsageReportFailure as qn, getUsageBlock as Jn, hasPendingUsageReports as Yn, reportUsageWithRetry as Xn, retryPendingUsageReports as Zn, usagePendingStorageKey as Qn, usageReportClock as $n, usageSendRefusal as er } from "./shared/assistant/usageReporting.js";
30
- import { createSandboxAssistantTransport as tr } from "./shared/assistant/createSandboxAssistantTransport.js";
31
- import { useSandboxAssistantTransport as nr } from "./shared/assistant/useSandboxAssistantTransport.js";
32
- import { BUILT_IN_MODE_CAPABILITIES as rr, MAX_ASSISTANT_STREAM_BUDGET_MS as ir, UNAVAILABLE_MODE_REFUSAL as ar, UNDECLARED_MODE_CAPABILITIES as or, adminOnlyModeSendRefusal as sr, findAssistantModeConfig as cr, resolveAssistantModeCapabilities as lr, unofferedModeSendRefusal as ur } from "./shared/assistant/modeCapabilities.js";
33
- import { DEFAULT_STREAM_BUDGET_MS as dr, INCOMPLETE_TURN_NOTICES as fr, STREAM_BUDGET_MS as pr, incompleteTurnNotice as mr, streamBudgetMs as hr, withIncompleteTurnNotice as gr } from "./shared/assistant/streamBudget.js";
34
- import { chatTurns as _r, groupBySession as vr, groupConsecutiveBySession as yr, isVoiceTurn as br, voiceMarker as xr, voiceSessionIdOf as Sr, voiceTurnsOnly as Cr } from "./shared/assistant/voice/turnVisibility.js";
35
- import { browserSpeechEngine as wr } from "./shared/assistant/speech/browserSpeechEngine.js";
36
- import { HOSTED_TTS_TIER as Tr, HOSTED_VOICES as Er, hostedLocaleFor as Dr, hostedSupportsLanguage as Or } from "./shared/assistant/speech/hostedVoiceCatalogue.js";
37
- import { HOSTED_DISABLE_MS as kr, HOSTED_TTS_MAX_CHARS as Ar, SPEAKING_RATE_MAX as jr, SPEAKING_RATE_MAX_STREAMING as Mr, SPEAKING_RATE_MAX_SYNC as Nr, SPEAKING_RATE_MIN as Pr, base64ToBytes as Fr, buildRequest as Ir, classifyHttpFailure as Lr, decodeAudioResponse as Rr, disableDurationMs as zr, shouldDisableEngine as Br, speakableChunks as Vr, splitForVendor as Hr } from "./shared/assistant/speech/hostedTtsProtocol.js";
38
- import { createHostedTtsEngine as Ur, retryDelayMs as Wr } from "./shared/assistant/speech/hostedTtsSpeechEngine.js";
39
- import { HOSTED_VOICE_RANK as Gr, SPEECH_LANG as Kr, VOICE_LIST_TIMEOUT_MS as qr, isHostedVoice as Jr, isSpeechBlocked as Yr, languageDisplayName as Xr, normalizeLangTag as Zr, primaryLanguageSubtag as Qr, selectVoiceForLocale as $r, speechGate as ei, speechLangForLocale as ti, voiceAvailability as ni, voiceQualityRank as ri, voicesForLocale as ii } from "./shared/assistant/voice/speechVoices.js";
40
- import { createRoutingSpeechEngine as ai } from "./shared/assistant/speech/routingSpeechEngine.js";
41
- import { configureSpeechEngine as oi, createSpeechEngines as si, getSpeechEngine as ci, readSpeechEngineConfig as li, resetSpeechEngine as ui, subscribeSpeechEngine as di } from "./shared/assistant/speech/createSpeechEngine.js";
42
- import { resetSpeechFeedForTest as fi, speechFeed as pi } from "./shared/assistant/speech/speechFeed.js";
43
- import { micIsInterrupt as mi, showsAssistantCaption as hi, showsUserCaption as gi, voiceStageState as _i, waveformIsActive as vi, waveformIsSettled as yi } from "./shared/assistant/voice/voiceStageState.js";
44
- import { PHRASE_ROTATE_MS as bi, STAGE_COPY as xi, THINKING_PHRASES as Si, stageText as Ci, statusStageCopy as wi, thinkingPhrase as Ti, thinkingPhraseEntry as Ei } from "./shared/assistant/stageCopy.js";
45
- import { VOICE_MUTED_LABEL as Di, VOICE_THINKING_LABEL as Oi, composeVoiceStatus as ki, voiceStatusParts as Ai, voiceStatusSuffix as ji } from "./shared/assistant/voice/voiceStatus.js";
46
- import { IDLE_ROTATION_CLOCK as Mi, advanceRotationClock as Ni, rotationElapsedMs as Pi, startRotationTicker as Fi, syncRotationClock as Ii } from "./shared/assistant/voice/rotationClock.js";
47
- import { ENDPOINT_GRACE_MS as Li, INITIAL_SESSION as Ri, INTERRUPT_MAX_MS as zi, INTERRUPT_MIN_MS as Bi, NOTHING_HEARD as Vi, SILENCE_SUBMIT_MS as Hi, advanceHeardClock as Ui, isCapturing as Wi, isEcho as Gi, isSubmittable as Ki, orbMode as qi, planListeningHold as Ji, planReplyConsumption as Yi, planVoiceAnnouncement as Xi, spokenSoFar as Zi, voiceSessionReducer as Qi } from "./shared/assistant/voice/voiceSession.js";
48
- import { buildContinuedFromVoiceNote as $i, buildVoiceTranscriptMarkdown as ea, voiceTranscriptFilename as ta } from "./shared/assistant/voice/voiceTranscript.js";
49
- import { DEFAULT_SPEAKABLE_LABELS as na, MAX_SPEAKABLE_CHARS as ra, MAX_SPOKEN_TABLE_ROWS as ia, SPEECH_CHUNK_CHARS as aa, SPEECH_CHUNK_CJK_CHARS as oa, SPEECH_FIRST_CHUNK_MAX_CHARS as sa, chunkForSpeech as ca, containsCjk as la, speakableEmail as ua, splitTableRow as da, toSpeakableText as fa } from "./shared/assistant/voice/speakableText.js";
50
- import { PREVIEW_LANGUAGES as pa, voicePreviewText as ma } from "./shared/assistant/voice/voicePreview.js";
51
- import { MINI_CAPTION_BUDGET as ha, showPreviousChunk as ga } from "./shared/assistant/voice/miniCaptionBudget.js";
52
- import { POLL_FAST_MS as _a, POLL_FAST_UNTIL_MS as va, POLL_SLOW_MS as ya, POLL_STEADY_MS as ba, POLL_STEADY_UNTIL_MS as xa, pollDelayMs as Sa } from "./shared/assistant/voice/assistantPollSchedule.js";
53
- import { toCaptionText as Ca } from "./shared/assistant/voice/captionText.js";
54
- import { ASSISTANT_LANGUAGES as wa, DEFAULT_SPEECH_RATE as Ta, findAssistantLanguage as Ea, resolveAssistantLanguage as Da } from "./shared/assistant/voice/languages.js";
55
- import { replyFollowsInput as Oa, resolveLanguagePair as ka } from "./shared/assistant/voice/languagePair.js";
56
- import { INITIAL_TRANSCRIPT_AUTO_OPEN as Aa, isAwaitingOwnConversation as ja, maySendSpokenTurn as Ma, planTranscriptAutoOpen as Na, planVoiceSessionBinding as Pa, planVoiceSessionStart as Fa, planVoiceSpokenEntry as Ia, voiceBindingAtStart as La, voiceBindingConversationId as Ra } from "./shared/assistant/voice/voiceReopen.js";
57
- import { findPendingWrite as za, parseConfirmationRefusal as Ba } from "./shared/assistant/pendingWrite.js";
58
- import { BOILERPLATE_PAGE_SHARE as Va, MAX_BOILERPLATE_LINE_CHARS as Ha, MAX_EXTRACTED_CHARS as Ua, MAX_PDF_PAGES_SCANNED as Wa, MIN_PAGE_TEXT_CHARS as Ga, MIN_TEXT_PAGE_SHARE as Ka, columnLetterToIndex as qa, decodeXmlEntities as Ja, docxXmlToText as Ya, fitPdfPages as Xa, formatPageRanges as Za, isMostlyImagePages as Qa, joinSheets as $a, pageMarker as eo, parseSharedStrings as to, parseWorkbookSheets as no, pdfTextItemsToPage as ro, sheetXmlToRows as io, summarisePageText as ao, truncatePagesForInline as oo } from "./shared/assistant/documentText.js";
59
- import { ATTACHMENT_ACCEPT as so, AttachmentRejectedError as co, DEFAULT_INLINE_LIMITS as lo, INLINE_IMAGE_MAX_DIM as uo, INLINE_IMAGE_QUALITY as fo, MAX_ATTACHMENTS as po, MAX_CONFIGURABLE_INLINE_CHARS as mo, MAX_FILE_BYTES as ho, MAX_INLINE_CHARS_PER_FILE as go, MAX_INLINE_CHARS_TOTAL as _o, MAX_INLINE_IMAGE_BASE64_CHARS as vo, MAX_INLINE_IMAGE_PARTS as yo, MAX_INLINE_TURN_BODY_BYTES as bo, MAX_TURN_BODY_BYTES as xo, PROMPT_ENVELOPE_RESERVE_BYTES as So, PROVIDER_READABLE_FILE_MEDIA_TYPES as Co, TURN_BODY_HEADROOM_BYTES as wo, buildAttachmentPromptBlock as To, buildPromptParts as Eo, buildPromptWithAttachments as Do, classifyAttachment as Oo, countInlineImageCandidates as ko, countInlinedImageParts as Ao, detectDocumentFormat as jo, estimateTurnBodyBytes as Mo, formatBytes as No, getAttachmentSendBlocker as Po, getExtension as Fo, getSendableAttachments as Io, hasAttachmentWorkInFlight as Lo, isProviderReadableFilePart as Ro, largestInlineCharsPerFile as zo, parseDataUrl as Bo, resolveAssistantInlineLimits as Vo, toMessageAttachment as Ho, truncateForInline as Uo, validateFile as Wo } from "./shared/assistant/attachments.js";
60
- import { ATTACHMENT_SOURCES as Go, availableAttachmentSources as Ko, deviceHasCamera as qo } from "./shared/assistant/attachmentSources.js";
61
- import { WRITE_REPLY_COPY as Jo, WRITE_REPLY_LEXICON as Yo, analyseWriteReply as Xo, classifyWriteReply as Zo, decideWriteReply as Qo, isUserOriginatedWriteReply as $o } from "./shared/assistant/writeReplyBinder.js";
62
- import { WRITE_PROPOSAL_ERROR_COPY as es, writeProposalErrorLine as ts } from "./shared/assistant/writeProposalErrorCopy.js";
63
- import { VOICE_PROPOSAL_MODE as ns, WRITE_PROPOSAL_READBACK_HIDDEN as rs, WRITE_PROPOSAL_VOICE_COPY as is, isVoiceProposalBound as as, renderWriteProposalReadback as os, voiceProposalChip as ss, voiceProposalChipText as cs, voiceReadbacksDue as ls, voiceWaitingProposals as us, writeProposalVoiceLine as ds, writeProposalVoiceReadback as fs } from "./shared/assistant/writeProposalVoice.js";
64
- import { ASSISTANT_I18N_COMPUTED_COPY as ps, ASSISTANT_I18N_LITERAL_COPY as ms, ASSISTANT_I18N_MANIFEST as hs, ASSISTANT_I18N_SEED_COMPAT_COPY as gs, assistantI18nSeedCopy as _s, assistantModeI18nCopy as vs } from "./shared/assistant/i18nManifest.js";
65
- import { ADMIN_MODE_ACCESS_WAIT_MS as ys, adminOnlyModeSendRefusalAfterAccess as bs, createAdminModeAccessGate as xs, resolveAssistantSendModeAfterAccess as Ss, unofferedModeSendRefusalAfterAccess as Cs } from "./shared/assistant/adminModeSendGate.js";
66
- import { buildBoundedAttachmentTurn as ws } from "./shared/assistant/attachmentTurn.js";
67
- import { SPOKEN_LABEL_LANGUAGES as Ts, speechLabelsFor as Es } from "./shared/assistant/voice/speechLabels.js";
68
- import { detectScriptLocale as Ds, resolveSpeechLocale as Os } from "./shared/assistant/voice/replyLanguage.js";
69
- import { AWAITING_FIRST_CHUNK as ks, IDLE_PLAYBACK as As, captionChunks as js, isAwaitingFirstChunk as Ms, isSpeakingMessage as Ns, publishedChunks as Ps, requiresCancel as Fs, speechPlaybackReducer as Is } from "./shared/assistant/voice/speechPlayback.js";
70
- import { isTurnInFlight as Ls, planAbandonedTurn as Rs, planTurnAbort as zs } from "./shared/assistant/turnState.js";
71
- import { isLegacyFiller as Bs, isLegacyStopped as Vs, isStageCopy as Hs, stripLegacyFillerPrefix as Us } from "./shared/assistant/legacyFiller.js";
72
- import { getAssistantDisplayContent as Ws } from "./shared/assistant/displayContent.js";
73
- import { elapsedSince as Gs, msUntilNextPhrase as Ks, startPhraseTicker as qs, turnActivityCopy as Js, turnActivityStage as Ys } from "./shared/assistant/turnActivity.js";
74
- import { NO_FIRST_TEXT as Xs, buildAssistantProgress as Zs, readAheadFor as Qs, snapshotReplyFloor as $s, startSessionReadAhead as ec, trackFirstText as tc } from "./shared/assistant/turnProgress.js";
75
- import { AssistantToolActivity as nc, parseToolActivity as rc } from "./shared/assistant/ui/AssistantToolActivity.js";
76
- import { countSpokenTurns as ic, spokenMessagesSinceContinueNote as ac, spokenTurnText as oc } from "./shared/assistant/spokenTurns.js";
77
- import { REDUCED_MOTION_ATTRIBUTE as sc, REDUCED_MOTION_QUERY as cc, readReducedMotion as lc, subscribeReducedMotion as uc, usePrefersReducedMotion as dc } from "./shared/assistant/ui/usePrefersReducedMotion.js";
78
- import { AssistantAvatar as fc } from "./shared/assistant/ui/AssistantAvatar.js";
79
- import { TURN_MILESTONES as pc, TURN_SEGMENTS as mc, TURN_TIMELINE_EVENT as hc, beginTurn as gc, describeTurn as _c, detectTurnDevice as vc, isComparableTurn as yc, markTurn as bc, recentTurnTimelines as xc, resetTurnTimelines as Sc, restartAttempt as Cc, segmentStats as wc, subscribeTurnTimelines as Tc, summariseTurnTimelines as Ec, turnClockMs as Dc, turnSegments as Oc, turnTimeline as kc } from "./shared/assistant/turnTimeline.js";
80
- import { AssistantSpeechProvider as Ac, useAssistantSpeech as jc } from "./shared/assistant/ui/AssistantSpeechProvider.js";
81
- import { useVoiceSession as Mc } from "./shared/assistant/ui/useVoiceSession.js";
82
- import { getActorId as Nc, getOrganizationId as Pc, getWorkspaceId as Fc } from "./shared/assistant/context.js";
83
- import { isMultimodalBodyRejection as Ic, isNeverRecoverableAssistantError as Lc, isRecoverableAssistantError as Rc } from "./shared/assistant/transportErrors.js";
84
- import { SANDBOX_READY_TTL_MS as zc, createReadinessTracker as Bc, isRecentlyVerified as Vc, planAfterTransportFailure as Hc, planTrustedSandboxFailure as Uc } from "./shared/assistant/sandboxReadiness.js";
85
- import { AssistantAutoSpeakToggle as Wc } from "./shared/assistant/ui/AssistantAutoSpeakToggle.js";
86
- import { AssistantMessageAttachments as Gc } from "./shared/assistant/ui/AssistantMessageAttachments.js";
87
- import { AssistantPendingWriteCard as Kc } from "./shared/assistant/ui/AssistantPendingWriteCard.js";
88
- import { WRITE_PROPOSAL_MASK as qc, formatWriteProposalValue as Jc, redactWriteProposalText as Yc, useWriteProposalRemainingMs as Xc, writeProposalArgumentValues as Zc, writeProposalConfirmState as Qc, writeProposalCountdownText as $c, writeProposalGatewayText as el, writeProposalKindText as tl, writeProposalRemainingMs as nl, writeProposalRootFieldName as rl, writeProposalSensitiveTexts as il, writeProposalVariableValues as al } from "./shared/assistant/ui/writeProposalPresentation.js";
89
- import { AssistantWriteProposalCard as ol, WRITE_PROPOSAL_DIALOG_KINDS as sl, WRITE_PROPOSAL_PRESENTED_AFTER_MS as cl, writeProposalUsesDialog as ll } from "./shared/assistant/ui/AssistantWriteProposalCard.js";
90
- import { AssistantWriteConfirmDialog as ul, WRITE_CONFIRM_ARM_MS as dl } from "./shared/assistant/ui/AssistantWriteConfirmDialog.js";
91
- import { askProductToConfirmWrite as fl } from "./shared/assistant/writeConfirmSeam.js";
92
- import { useWriteProposalConfirm as pl } from "./shared/assistant/ui/useWriteProposalConfirm.js";
93
- import { AssistantWriteProposalSlot as ml } from "./shared/assistant/ui/AssistantWriteProposalSlot.js";
94
- import { AssistantPreviewProvider as hl, useAssistantPreview as gl } from "./shared/assistant/preview/context.js";
95
- import { IDLE_PREVIEW_STATE as _l, isBlankProse as vl, isRunningStatus as yl, nextPreviewEvents as bl } from "./shared/assistant/preview/previewTransitions.js";
96
- import { IDLE_PREVIEW as xl, NO_OWNER as Sl, applyPreviewEvent as Cl, createAssistantPreviewSurface as wl, currentPreviewOwner as Tl, runBelongsTo as El, sameOwner as Dl } from "./shared/assistant/preview/surfaceState.js";
97
- import { createRunIdentityCache as Ol, runIdentities as kl } from "./shared/assistant/preview/runIdentity.js";
98
- import { deliverPreviewEvent as Al, useAssistantPreviewBridge as jl } from "./shared/assistant/preview/useAssistantPreviewBridge.js";
99
- import { writeActionResultEvents as Ml } from "./shared/assistant/preview/writeActionResults.js";
100
- import { WRITE_PROPOSAL_ERROR_CODES as Nl, WRITE_PROPOSAL_SANDBOX_MODE as Pl, WriteProposalError as Fl, createSandboxWriteProposalClient as Il, isWriteProposalError as Ll, parseWriteProposalView as Rl } from "./shared/assistant/writeProposals.js";
101
- import { WRITE_PROPOSAL_MAX_POLL_FAILURES as zl, WRITE_PROPOSAL_POLL_MS as Bl, asWriteProposalError as Vl, createWriteProposalDiscovery as Hl, newWriteProposalRequestId as Ul, readWriteProposalRefs as Wl, writeProposalBelongsTo as Gl, writeProposalSessionsToReopen as Kl, writeProposalsEnabledFor as ql } from "./shared/assistant/writeProposalDiscovery.js";
102
- import { WRITE_REPLY_DECLINE_WAIT_MS as Jl, planWriteReply as Yl, promptWriteApproval as Xl, settleWithin as Zl, writeReplyLiveState as Ql } from "./shared/assistant/writeReplySend.js";
103
- import { useWriteProposals as $l } from "./shared/assistant/ui/useWriteProposals.js";
104
- import { AssistantLanguageMenu as eu } from "./shared/assistant/ui/AssistantLanguageMenu.js";
105
- import { AssistantReplyLanguageSelector as tu } from "./shared/assistant/ui/AssistantReplyLanguageSelector.js";
106
- import { AssistantSpeakButton as nu } from "./shared/assistant/ui/AssistantSpeakButton.js";
107
- import { AssistantSpokenTurnsNotice as ru } from "./shared/assistant/ui/AssistantSpokenTurnsNotice.js";
108
- import { AssistantConnectSourceProvider as iu, connectSourceHrefRenders as au, hasConnectSource as ou, useAssistantConnectSource as su } from "./shared/assistant/ui/composer/connectSource.js";
109
- import { AssistantConnectSourceItem as cu, connectSourceActivation as lu } from "./shared/assistant/ui/composer/AssistantConnectSourceItem.js";
110
- import { ASSISTANT_OVERLAY_ATTR as uu, ASSISTANT_PANEL_ATTR as du, ASSISTANT_VOICE_SESSION_ATTR as fu, NO_PANEL_OVERLAY as pu, activePanelOverlay as mu, assistantPanelOwnsEscape as hu, escapeDismisses as gu, focusIsInsidePanel as _u, nextPanelOverlays as vu, panelOwnsEscape as yu, voiceSessionOwnsEscape as bu } from "./shared/assistant/ui/panelOverlays.js";
111
- import { useDropdownEscape as xu } from "./shared/assistant/ui/useDropdownEscape.js";
112
- import { AssistantAttachmentButton as Su } from "./shared/assistant/ui/composer/AssistantAttachmentButton.js";
113
- import { AssistantAttachmentChips as Cu } from "./shared/assistant/ui/composer/AssistantAttachmentChips.js";
114
- import { hasAssistantPreviewSurface as wu } from "./shared/assistant/preview/types.js";
115
- import { IDLE_ACTIVE_TAB as Tu, nextActiveTab as Eu, pinActiveTab as Du, shouldPinOnMove as Ou, shouldPinOnSelect as ku, stepsFromToolActivity as Au, tabForArrowKey as ju } from "./shared/assistant/preview/entity/entityPreviewState.js";
116
- import { AssistantStepRail as Mu } from "./shared/assistant/preview/entity/AssistantStepRail.js";
117
- import { AssistantEntityPreview as Nu } from "./shared/assistant/preview/entity/AssistantEntityPreview.js";
118
- import { useOverlayFocus as Pu } from "./shared/assistant/ui/useOverlayFocus.js";
119
- import { HostedPreviewBridgeContext as Fu, panelOwnedPreviewBridge as Iu, useHostedAssistantPreviewBridge as Lu } from "./shared/assistant/preview/bridgeHostContext.js";
120
- import { AssistantPreviewBridgeHost as Ru } from "./shared/assistant/preview/bridgeHost.js";
121
- import { AssistantPreviewOverlay as zu } from "./shared/assistant/preview/AssistantPreviewOverlay.js";
122
- import { AssistantLanguageSelector as Bu, FOLLOW_APP_LOCALE as Vu } from "./shared/assistant/ui/composer/AssistantLanguageSelector.js";
123
- import { ASSISTANT_MODE_META as Hu, AUTO_MODE_OPTION_ID as Uu, AssistantModeSelector as Wu, assistantModeMeta as Gu, nextModeIndex as Ku } from "./shared/assistant/ui/composer/AssistantModeSelector.js";
124
- import { AssistantVoiceButton as qu, ListeningDot as Ju } from "./shared/assistant/ui/composer/AssistantVoiceButton.js";
125
- import { AUTO_VOICE as Yu, AssistantVoiceSelector as Xu } from "./shared/assistant/ui/composer/AssistantVoiceSelector.js";
126
- import { AssistantVoiceOrb as Zu } from "./shared/assistant/ui/voice/AssistantVoiceOrb.js";
127
- import { AssistantVoiceSessionButton as Qu } from "./shared/assistant/ui/voice/AssistantVoiceSessionButton.js";
128
- import { CAPTION_SCROLL_ATTR as $u, VoiceCaption as ed } from "./shared/assistant/ui/voice/VoiceCaption.js";
129
- import { VoiceConversationView as td } from "./shared/assistant/ui/voice/VoiceConversationView.js";
130
- import { VoiceWaveform as nd } from "./shared/assistant/ui/voice/VoiceWaveform.js";
131
- import { VoiceStatusLine as rd, VoiceStatusText as id } from "./shared/assistant/ui/voice/VoiceStatusText.js";
132
- import { VoiceMiniController as ad } from "./shared/assistant/ui/voice/VoiceMiniController.js";
133
- import { VoiceStage as od } from "./shared/assistant/ui/voice/VoiceStage.js";
134
- import { AssistantHistoryArchivedNotice as sd, AssistantHistoryDeletedNotice as cd, AssistantHistoryLoadState as ld, AssistantHistoryPinLimitBanner as ud, AssistantHistoryReadOnlyBanner as dd, AssistantHistoryShowEarlier as fd, AssistantHistoryUnsavedDeleteNotice as pd } from "./shared/assistant/ui/AssistantHistoryNotices.js";
135
- import { VoiceTranscriptDrawer as md } from "./shared/assistant/ui/voice/VoiceTranscriptDrawer.js";
136
- import { ASSISTANT_BOTTOM_CHROME_CLEARANCE as hd, ASSISTANT_DIALOG_SELECTOR as gd, ASSISTANT_DOCKED_DESKTOP_CLASS as _d, ASSISTANT_DOCK_WIDTH_PX as vd, ASSISTANT_DOCK_WIDTH_VAR as yd, ASSISTANT_FLOATING_DESKTOP_CLASS as bd, ASSISTANT_FLOATING_RIGHT_PX as xd, ASSISTANT_FLOATING_WIDTH_PX as Sd, ASSISTANT_OVERLAY_DEFAULT_TOP_PX as Cd, ASSISTANT_OVERLAY_DESKTOP_QUERY as wd, ASSISTANT_OVERLAY_TOP_VAR as Td, ASSISTANT_PANEL_INSET_VAR as Ed, ASSISTANT_SHEET_BASE_CLASS as Dd, ASSISTANT_SHEET_COMPACT_CLASS as Od, ASSISTANT_SHEET_EXPANDED_CLASS as kd, ASSISTANT_TOGGLE_SHORTCUT_LABEL as Ad, aboveAssistantBottomChrome as jd, assistantOverlayClassName as Md, assistantOverlayEscapeAction as Nd, assistantOverlayKeys as Pd, assistantQuotaKindOf as Fd, closestAround as Id, createAssistantNavigate as Ld, isAssistantToggleShortcut as Rd, nextAssistantOpenState as zd, publishedAssistantDockWidth as Bd, publishedAssistantPanelInset as Vd, readAssistantOverlayFlag as Hd, requestedAssistantOpenState as Ud, writeAssistantOverlayFlag as Wd } from "./shared/assistant/ui/assistantOverlayState.js";
137
- import { VOICE_ESCAPE_LAYER_SELECTOR as Gd, VOICE_ESCAPE_MODAL_SELECTOR as Kd, escapeBelongsToLayerAbove as qd, voiceSessionEscapeAction as Jd } from "./shared/assistant/ui/voice/voiceSessionEscape.js";
138
- import { downloadFile as Yd, exportConversation as Xd } from "./shared/assistant/exportConversation.js";
139
- import { AssistantMoreMenu as Zd } from "./shared/assistant/ui/AssistantMoreMenu.js";
140
- import { AssistantHeader as Qd } from "./shared/assistant/ui/AssistantHeader.js";
141
- import { AssistantHistoryControlsUnavailableError as $d, AssistantHistoryResponseError as ef, AssistantHistoryScopeInactiveError as tf, AssistantHistorySearchQueryError as nf, AssistantHistorySearchUnavailableError as rf } from "./shared/assistant/history/historyTransportErrors.js";
142
- import { ASSISTANT_HISTORY_BACKOFF_BASE_MS as af, ASSISTANT_HISTORY_BACKOFF_MAX_MS as of, ASSISTANT_HISTORY_QUOTA_RETRY_MS as sf, ASSISTANT_HISTORY_REJECTION_KEYS as cf, ASSISTANT_HISTORY_SCHEMA_PAUSE_MS as lf, assistantHistoryBackoffMs as uf, classifyAssistantHistoryError as df, isAssistantHistoryControlsDrift as ff, planAssistantHistoryRetry as pf } from "./shared/assistant/history/historyErrors.js";
143
- import { ASSISTANT_HISTORY_CHANGES_OPERATION as mf, ASSISTANT_HISTORY_CHANGES_QUERY as hf, ASSISTANT_HISTORY_CHANGES_QUERY_BASE as gf, ASSISTANT_HISTORY_CONVERSATIONS_OPERATION as _f, ASSISTANT_HISTORY_CONVERSATIONS_QUERY as vf, ASSISTANT_HISTORY_CONVERSATIONS_QUERY_BASE as yf, ASSISTANT_HISTORY_DELETE_MUTATION as bf, ASSISTANT_HISTORY_DELETE_MUTATION_BASE as xf, ASSISTANT_HISTORY_DELETE_OPERATION as Sf, ASSISTANT_HISTORY_ENTRIES_OPERATION as Cf, ASSISTANT_HISTORY_ENTRIES_QUERY as wf, ASSISTANT_HISTORY_ENTRIES_QUERY_BASE as Tf, ASSISTANT_HISTORY_OPERATIONS as Ef, ASSISTANT_HISTORY_SAVE_MUTATION as Df, ASSISTANT_HISTORY_SAVE_MUTATION_BASE as Of, ASSISTANT_HISTORY_SAVE_OPERATION as kf, ASSISTANT_HISTORY_SEARCH_OPERATION as Af, ASSISTANT_HISTORY_SEARCH_QUERY as jf, ASSISTANT_HISTORY_UPDATE_MUTATION as Mf, ASSISTANT_HISTORY_UPDATE_OPERATION as Nf, buildHistoryDeleteVariables as Pf, buildHistoryEntriesVariables as Ff, buildHistoryListVariables as If, buildHistoryPageVariables as Lf, buildHistorySaveVariables as Rf, buildHistorySearchVariables as zf, buildHistoryUpdateVariables as Bf } from "./shared/assistant/history/historyOperations.js";
144
- import { ASSISTANT_HISTORY_SEARCH_DEBOUNCE_MS as Vf, ASSISTANT_HISTORY_SEARCH_MAX_CODE_POINTS as Hf, ASSISTANT_HISTORY_SEARCH_MIN_CODE_POINTS as Uf, ASSISTANT_HISTORY_SEARCH_PAGE_SIZE as Wf, clampHistorySearchText as Gf, createHistorySearchMatcher as Kf, foldHistorySearchText as qf, isServerHistorySearchQuery as Jf, normaliseHistorySearchQuery as Yf } from "./shared/assistant/history/historySearchQuery.js";
145
- import { historyTimestampToIso as Xf } from "./shared/assistant/history/historyTimestamps.js";
146
- import { ASSISTANT_HISTORY_CONTROLS_RECHECK_MS as Zf, ASSISTANT_HISTORY_MASKED_DRIFT_STREAK as Qf, createGatewayHistoryTransport as $f } from "./shared/assistant/history/historyApi.js";
147
- import { LEGACY_HISTORY_KEY_PREFIX as ep, assistantHistoryScopeKey as tp, completeAssistantHistoryScope as np, isLegacyHistoryConvKey as rp, legacyHistoryConvKey as ip } from "./shared/assistant/history/historyTypes.js";
148
- import { ASSISTANT_HISTORY_MAX_CACHED_CONVERSATIONS as ap, conversationHasHistory as op, historyConvKeyOf as sp, historyHeaderOf as cp, historyListRowOf as lp, historyRowAcceptsControls as up, historyScopeKeyOfStamp as dp, isOtherScopeHistoryConversation as fp, isReadOnlyHistoryConversation as pp, isReusableHistoryDraft as mp, materializeHistoryHeader as hp, resolveHistoryReopenMode as gp, selectAssistantHistoryList as _p, selectHistoryEvictions as vp } from "./shared/assistant/history/historyList.js";
149
- import { HISTORY_CLIENT_ID_PATTERN as yp, HISTORY_ENTRY_CONTENT_CAP_BYTES as bp, HISTORY_MAX_CONTENT_BYTES as xp, HISTORY_METADATA_ENVELOPE_MAX_BYTES as Sp, HISTORY_METADATA_KEYS as Cp, HISTORY_REQUEST_HEADROOM_BYTES as wp, HISTORY_SAVE_REQUEST_BUDGET_BYTES as Tp, HISTORY_TRUNCATION_MARKER as Ep, filterHistoryMetadata as Dp, fitHistoryMetadataEnvelope as Op, fromHistoryEntry as kp, historyEntriesMatchKind as Ap, isHistoryClientId as jp, measureHistorySaveRequest as Mp, toHistoryEntries as Np, toStorableHistoryText as Pp, truncateUtf8 as Fp, utf8ByteLength as Ip } from "./shared/assistant/history/historyMapping.js";
150
- import { HISTORY_CATCH_UP_MAX_GAP as Lp, HISTORY_CATCH_UP_PAGE as Rp, HISTORY_LOAD_PAGE as zp, applyHistoryPage as Bp, highestContiguousHistorySeq as Vp, mergeHistoryMessages as Hp, planHistoryEarlierLoad as Up, planHistoryOpenLoad as Wp } from "./shared/assistant/history/historyMerge.js";
151
- import { assistantHistoryGenerationOf as Gp, createAssistantHistoryStatusStore as Kp, isCurrentAssistantHistoryGeneration as qp, useAssistantHistoryStatus as Jp } from "./shared/assistant/history/historyStatus.js";
152
- import { createProfileBoundStorage as Yp } from "./shared/assistant/history/profileBoundStorage.js";
153
- import { ASSISTANT_HISTORY_DONE_TTL_MS as Xp, ASSISTANT_HISTORY_MAX_HEADERS as Zp, ASSISTANT_HISTORY_MAX_TOMBSTONES as Qp, ASSISTANT_HISTORY_STORAGE_NAME as $p, ASSISTANT_HISTORY_TOMBSTONE_TTL_MS as em, assistantHistoryStore as tm, boundAssistantHistoryHeaders as nm, createAssistantHistoryStore as rm, emptyAssistantHistoryPersisted as im, emptyAssistantHistoryScopeState as am, headerHasControls as om, isNewerAssistantHistoryFormat as sm, mergeAssistantHistoryPersisted as cm, mergeAssistantHistoryWithStored as lm, pruneAssistantHistoryPersisted as um, readAssistantHistoryPersisted as dm, settleAssistantHistory as fm, useAssistantHistoryStore as pm } from "./shared/assistant/history/historyStore.js";
154
- import { ASSISTANT_HISTORY_RESET_TRUST_MS as mm, assistantHistory as hm, createAssistantHistoryEngine as gm, createSystemHistoryClock as _m } from "./shared/assistant/history/historyEngine.js";
155
- import { ASSISTANT_HISTORY_SEARCH_MAX_RETRY_MS as vm, createHistorySearchController as ym, historySearchBusyDelay as bm, newestHistoryHeader as xm, selectHistorySearchList as Sm } from "./shared/assistant/history/historySearch.js";
156
- import { useAssistantHistorySearch as Cm } from "./shared/assistant/history/useAssistantHistorySearch.js";
157
- import { AssistantConversationFilters as wm } from "./shared/assistant/ui/AssistantConversationFilters.js";
158
- import { AssistantHistorySearchBox as Tm } from "./shared/assistant/ui/AssistantHistorySearchBox.js";
159
- import { AssistantConversationList as Em } from "./shared/assistant/ui/AssistantConversationList.js";
160
- import { AssistantEmptyState as Dm } from "./shared/assistant/ui/AssistantEmptyState.js";
161
- import { AssistantDeleteConversationDialog as Om, AssistantNothingToDeleteNotice as km, DELETE_CONFIRM_ARM_MS as Am } from "./shared/assistant/ui/AssistantDeleteConversationDialog.js";
162
- import { assistantHistoryIsOn as jm, deleteAssistantConversation as Mm } from "./shared/assistant/ui/conversationDelete.js";
163
- import { AssistantConversationDeleteDialogProvider as Nm, useConversationDeleteDialog as Pm } from "./shared/assistant/ui/conversationDeleteDialog.js";
164
- import { resolveConversationDeleteTarget as Fm } from "./shared/assistant/conversationDeleteCommand.js";
165
- import { HISTORY_RESUME_CLOSE as Im, HISTORY_RESUME_MAX_ANSWER_CHARS as Lm, HISTORY_RESUME_MAX_CHARS as Rm, HISTORY_RESUME_MAX_EXCHANGES as zm, HISTORY_RESUME_MAX_PROMPT_CHARS as Bm, HISTORY_RESUME_OPEN as Vm, buildHistoryResumePreamble as Hm, isKnownReadOnlyMode as Um, resumeContextFor as Wm } from "./shared/assistant/history/historyResume.js";
166
- import { useAssistantServerHistory as Gm } from "./shared/assistant/history/useAssistantServerHistory.js";
167
- import { useHistoryRowControlsFor as Km } from "./shared/assistant/history/useHistoryRowControls.js";
168
- import { AssistantTurnActivity as qm, TurnActivityLine as Jm } from "./shared/assistant/ui/AssistantTurnActivity.js";
169
- import { AssistantMessageItem as Ym, StreamingCaret as Xm } from "./shared/assistant/ui/AssistantMessageItem.js";
170
- import { AssistantMessageList as Zm } from "./shared/assistant/ui/AssistantMessageList.js";
171
- import { AssistantVoiceSession as Qm } from "./shared/assistant/ui/voice/AssistantVoiceSession.js";
172
- import { ASSISTANT_ADMIN_ACTION as $m, ASSISTANT_ADMIN_RESOURCE_TYPE as eh, WORKSPACE_ASSISTANT_ADMIN_QUERY as th, probeWorkspaceAssistantAdmin as nh, useAssistantApiAccess as rh } from "./shared/assistant/useAssistantApiAccess.js";
173
- import { useConversationTurns as ih } from "./shared/assistant/useConversationTurns.js";
174
- import { ABANDONED_TURN_OUTCOME as ah, MAX_REPORTED_TURN_MS as oh, TURN_TIMING_REPORT_FIELDS as sh, TURN_TIMING_STAGES as ch, buildAbandonedTurnReport as lh, buildTurnTimingReport as uh, isFinishedTurn as dh } from "./shared/assistant/turnTimingReport.js";
175
- import { TURN_TIMING_REPORTING as fh, createTurnTimingNonce as ph, createTurnTimingReporter as mh, resetTurnTimingReporting as hh, sendAssistantTurnTimings as gh, startTurnTimingReporting as _h } from "./shared/assistant/turnTimingReporter.js";
176
- import { PREOPEN_MAX_AGE_MS as vh, PREOPEN_MAX_ENTRIES as yh, PREWARM_COOLDOWN_MS as bh, QuarantineSet as xh, WarmCancelled as Sh, claimPreopenedSession as Ch, consumeWarm as wh, dropPreopenedFor as Th, preopenKey as Eh, preopenWanted as Dh, preopenedCountForTest as Oh, prewarmTarget as kh, resetWarmsForTest as Ah, settleWarmBeforeSend as jh, startPreopen as Mh, startWarm as Nh, warmState as Ph } from "./shared/assistant/prewarm.js";
177
- import { isAlreadyThere as Fh, isCurrentPath as Ih, matchLocalUiCommand as Lh, navDestinations as Rh, normaliseUtterance as zh, planThemeChange as Bh, singularVariants as Vh } from "./shared/assistant/localUiCommands.js";
178
- import { backDoneCopy as Hh, chooseDestinationCopy as Uh, chooseLinkedCopy as Wh, linkNotOpenableCopy as Gh, navigationCommandCopy as Kh, navigationOutcomeCopy as qh, pickFromListCopy as Jh, themeCommandCopy as Yh } from "./shared/assistant/localUiCommandCopy.js";
179
- import { NAVIGATION_CEILING_MS as Xh, NAVIGATION_POLL_MS as Zh, NAVIGATION_QUIET_MS as Qh, pathnameOf as $h, runNavigation as eg } from "./shared/assistant/uiActions/navigationOutcome.js";
180
- import { BACK_STACK_CAPACITY as tg, assistantBackStack as ng, createBackStack as rg, isBackRunnable as ig } from "./shared/assistant/uiActions/backStack.js";
181
- import { NAVIGATE_RECORD_BUDGET_BYTES as ag, buildNavigateAction as og, destinationForPath as sg, labelForPath as cg, newestAssistantOnSurface as lg, outcomeStatus as ug } from "./shared/assistant/uiActions/navigateAction.js";
182
- import { aiCreditsUpdatedEventName as dg, dispatchAssistantQuotaExhausted as fg, notifyAiCreditsUpdated as pg } from "./shared/assistant/aiCredits.js";
183
- import { PROPOSAL_WRITE_RULES as mg } from "./shared/assistant/proposalWriteRules.js";
184
- import { useWorkspaceWriteAccess as hg } from "./shared/assistant/useWorkspaceWriteAccess.js";
185
- import { extractDocumentText as gg } from "./shared/assistant/documentExtract.js";
186
- import { useAssistantAttachments as _g } from "./shared/assistant/useAssistantAttachments.js";
187
- import { AssistantComposer as vg } from "./shared/assistant/ui/composer/AssistantComposer.js";
188
- import { isProdRuntime as yg } from "./shared/assistant/env.js";
189
- import { useAssistantHeartbeat as bg } from "./shared/assistant/useAssistantHeartbeat.js";
190
- import { useAssistantKeyboardShortcuts as xg } from "./shared/assistant/useAssistantKeyboardShortcuts.js";
191
- import { AssistantApiCallsConsentDialog as Sg } from "./shared/assistant/ui/AssistantApiCallsConsentDialog.js";
192
- import { AssistantChatArea as Cg } from "./shared/assistant/ui/AssistantChatArea.js";
193
- import { AIAssistantPanel as wg } from "./shared/assistant/ui/AIAssistantPanel.js";
194
- import { AssistantOverlay as Tg, AssistantOverlayProvider as Eg, useAssistantDockWidth as Dg, useAssistantOverlayOrNull as Og, useAssistantPanelInset as kg, useAssistantQuotaExhausted as Ag } from "./shared/assistant/ui/AssistantOverlay.js";
195
- export { ah as ABANDONED_TURN_OUTCOME, ys as ADMIN_MODE_ACCESS_WAIT_MS, wg as AIAssistantPanel, $m as ASSISTANT_ADMIN_ACTION, eh as ASSISTANT_ADMIN_RESOURCE_TYPE, ce as ASSISTANT_API_AUTH_STRATEGY, hd as ASSISTANT_BOTTOM_CHROME_CLEARANCE, gd as ASSISTANT_DIALOG_SELECTOR, _d as ASSISTANT_DOCKED_DESKTOP_CLASS, vd as ASSISTANT_DOCK_WIDTH_PX, yd as ASSISTANT_DOCK_WIDTH_VAR, bd as ASSISTANT_FLOATING_DESKTOP_CLASS, xd as ASSISTANT_FLOATING_RIGHT_PX, Sd as ASSISTANT_FLOATING_WIDTH_PX, af as ASSISTANT_HISTORY_BACKOFF_BASE_MS, of as ASSISTANT_HISTORY_BACKOFF_MAX_MS, mf as ASSISTANT_HISTORY_CHANGES_OPERATION, hf as ASSISTANT_HISTORY_CHANGES_QUERY, gf as ASSISTANT_HISTORY_CHANGES_QUERY_BASE, Zf as ASSISTANT_HISTORY_CONTROLS_RECHECK_MS, _f as ASSISTANT_HISTORY_CONVERSATIONS_OPERATION, vf as ASSISTANT_HISTORY_CONVERSATIONS_QUERY, yf as ASSISTANT_HISTORY_CONVERSATIONS_QUERY_BASE, bf as ASSISTANT_HISTORY_DELETE_MUTATION, xf as ASSISTANT_HISTORY_DELETE_MUTATION_BASE, Sf as ASSISTANT_HISTORY_DELETE_OPERATION, Xp as ASSISTANT_HISTORY_DONE_TTL_MS, Cf as ASSISTANT_HISTORY_ENTRIES_OPERATION, wf as ASSISTANT_HISTORY_ENTRIES_QUERY, Tf as ASSISTANT_HISTORY_ENTRIES_QUERY_BASE, Qf as ASSISTANT_HISTORY_MASKED_DRIFT_STREAK, ap as ASSISTANT_HISTORY_MAX_CACHED_CONVERSATIONS, Zp as ASSISTANT_HISTORY_MAX_HEADERS, Qp as ASSISTANT_HISTORY_MAX_TOMBSTONES, Ef as ASSISTANT_HISTORY_OPERATIONS, sf as ASSISTANT_HISTORY_QUOTA_RETRY_MS, cf as ASSISTANT_HISTORY_REJECTION_KEYS, mm as ASSISTANT_HISTORY_RESET_TRUST_MS, Df as ASSISTANT_HISTORY_SAVE_MUTATION, Of as ASSISTANT_HISTORY_SAVE_MUTATION_BASE, kf as ASSISTANT_HISTORY_SAVE_OPERATION, lf as ASSISTANT_HISTORY_SCHEMA_PAUSE_MS, Vf as ASSISTANT_HISTORY_SEARCH_DEBOUNCE_MS, Hf as ASSISTANT_HISTORY_SEARCH_MAX_CODE_POINTS, vm as ASSISTANT_HISTORY_SEARCH_MAX_RETRY_MS, Uf as ASSISTANT_HISTORY_SEARCH_MIN_CODE_POINTS, Af as ASSISTANT_HISTORY_SEARCH_OPERATION, Wf as ASSISTANT_HISTORY_SEARCH_PAGE_SIZE, jf as ASSISTANT_HISTORY_SEARCH_QUERY, $p as ASSISTANT_HISTORY_STORAGE_NAME, em as ASSISTANT_HISTORY_TOMBSTONE_TTL_MS, Mf as ASSISTANT_HISTORY_UPDATE_MUTATION, Nf as ASSISTANT_HISTORY_UPDATE_OPERATION, ps as ASSISTANT_I18N_COMPUTED_COPY, ms as ASSISTANT_I18N_LITERAL_COPY, hs as ASSISTANT_I18N_MANIFEST, gs as ASSISTANT_I18N_SEED_COMPAT_COPY, wa as ASSISTANT_LANGUAGES, w as ASSISTANT_LLM_TERMINAL_CODES, Q as ASSISTANT_MODE_FALLBACK_LABELS, $ as ASSISTANT_MODE_IDS, Hu as ASSISTANT_MODE_META, uu as ASSISTANT_OVERLAY_ATTR, Cd as ASSISTANT_OVERLAY_DEFAULT_TOP_PX, wd as ASSISTANT_OVERLAY_DESKTOP_QUERY, Td as ASSISTANT_OVERLAY_TOP_VAR, du as ASSISTANT_PANEL_ATTR, Ed as ASSISTANT_PANEL_INSET_VAR, Dd as ASSISTANT_SHEET_BASE_CLASS, Od as ASSISTANT_SHEET_COMPACT_CLASS, kd as ASSISTANT_SHEET_EXPANDED_CLASS, Ad as ASSISTANT_TOGGLE_SHORTCUT_LABEL, fu as ASSISTANT_VOICE_SESSION_ATTR, so as ATTACHMENT_ACCEPT, Go as ATTACHMENT_SOURCES, be as AUTO_CARRY_OVER_MAX_CHARS, xe as AUTO_CARRY_OVER_MAX_CHARS_PER_MESSAGE, Se as AUTO_CARRY_OVER_MAX_MESSAGES, Uu as AUTO_MODE_OPTION_ID, Ce as AUTO_READ_MODE, Yu as AUTO_VOICE, we as AUTO_WRITE_MODE, ks as AWAITING_FIRST_CHUNK, Sg as AssistantApiCallsConsentDialog, Su as AssistantAttachmentButton, Cu as AssistantAttachmentChips, Wc as AssistantAutoSpeakToggle, fc as AssistantAvatar, Cg as AssistantChatArea, vg as AssistantComposer, cu as AssistantConnectSourceItem, iu as AssistantConnectSourceProvider, Nm as AssistantConversationDeleteDialogProvider, wm as AssistantConversationFilters, Em as AssistantConversationList, Om as AssistantDeleteConversationDialog, Dm as AssistantEmptyState, Nu as AssistantEntityPreview, Qd as AssistantHeader, sd as AssistantHistoryArchivedNotice, $d as AssistantHistoryControlsUnavailableError, cd as AssistantHistoryDeletedNotice, ld as AssistantHistoryLoadState, ud as AssistantHistoryPinLimitBanner, dd as AssistantHistoryReadOnlyBanner, ef as AssistantHistoryResponseError, tf as AssistantHistoryScopeInactiveError, Tm as AssistantHistorySearchBox, nf as AssistantHistorySearchQueryError, rf as AssistantHistorySearchUnavailableError, fd as AssistantHistoryShowEarlier, pd as AssistantHistoryUnsavedDeleteNotice, l as AssistantI18nProvider, eu as AssistantLanguageMenu, Bu as AssistantLanguageSelector, m as AssistantMarkdownImage, _ as AssistantMarkdownRenderer, Gc as AssistantMessageAttachments, Ym as AssistantMessageItem, Zm as AssistantMessageList, Wu as AssistantModeSelector, Zd as AssistantMoreMenu, v as AssistantNavigateProvider, km as AssistantNothingToDeleteNotice, Tg as AssistantOverlay, Eg as AssistantOverlayProvider, Kc as AssistantPendingWriteCard, Ru as AssistantPreviewBridgeHost, zu as AssistantPreviewOverlay, hl as AssistantPreviewProvider, r as AssistantProductProvider, tu as AssistantReplyLanguageSelector, wn as AssistantRuntimeManager, zn as AssistantSendRefusal, nu as AssistantSpeakButton, Ac as AssistantSpeechProvider, ru as AssistantSpokenTurnsNotice, Mu as AssistantStepRail, nc as AssistantToolActivity, qm as AssistantTurnActivity, qu as AssistantVoiceButton, Zu as AssistantVoiceOrb, Xu as AssistantVoiceSelector, Qm as AssistantVoiceSession, Qu as AssistantVoiceSessionButton, ul as AssistantWriteConfirmDialog, ol as AssistantWriteProposalCard, ml as AssistantWriteProposalSlot, co as AttachmentRejectedError, tg as BACK_STACK_CAPACITY, Va as BOILERPLATE_PAGE_SHARE, rr as BUILT_IN_MODE_CAPABILITIES, $u as CAPTION_SCROLL_ATTR, z as CHECK_AI_CREDITS, B as CREATE_SANDBOX, Pe as DEFAULT_HISTORY_LIST_FILTER, lo as DEFAULT_INLINE_LIMITS, na as DEFAULT_SPEAKABLE_LABELS, Ta as DEFAULT_SPEECH_RATE, dr as DEFAULT_STREAM_BUDGET_MS, Am as DELETE_CONFIRM_ARM_MS, Li as ENDPOINT_GRACE_MS, V as EXTEND_MY_ASSISTANT_SANDBOX_TTL, H as EXTEND_SANDBOX_TTL, Vu as FOLLOW_APP_LOCALE, U as GET_ACTIVE_SANDBOXES, W as GET_SANDBOX, Lp as HISTORY_CATCH_UP_MAX_GAP, Rp as HISTORY_CATCH_UP_PAGE, yp as HISTORY_CLIENT_ID_PATTERN, bp as HISTORY_ENTRY_CONTENT_CAP_BYTES, zp as HISTORY_LOAD_PAGE, xp as HISTORY_MAX_CONTENT_BYTES, Sp as HISTORY_METADATA_ENVELOPE_MAX_BYTES, Cp as HISTORY_METADATA_KEYS, wp as HISTORY_REQUEST_HEADROOM_BYTES, Im as HISTORY_RESUME_CLOSE, Lm as HISTORY_RESUME_MAX_ANSWER_CHARS, Rm as HISTORY_RESUME_MAX_CHARS, zm as HISTORY_RESUME_MAX_EXCHANGES, Bm as HISTORY_RESUME_MAX_PROMPT_CHARS, Vm as HISTORY_RESUME_OPEN, Tp as HISTORY_SAVE_REQUEST_BUDGET_BYTES, Fe as HISTORY_TITLE_MAX_CODE_POINTS, Ep as HISTORY_TRUNCATION_MARKER, kr as HOSTED_DISABLE_MS, Ar as HOSTED_TTS_MAX_CHARS, Tr as HOSTED_TTS_TIER, Er as HOSTED_VOICES, Gr as HOSTED_VOICE_RANK, Fu as HostedPreviewBridgeContext, Tu as IDLE_ACTIVE_TAB, As as IDLE_PLAYBACK, xl as IDLE_PREVIEW, _l as IDLE_PREVIEW_STATE, Mi as IDLE_ROTATION_CLOCK, fr as INCOMPLETE_TURN_NOTICES, Ri as INITIAL_SESSION, Aa as INITIAL_TRANSCRIPT_AUTO_OPEN, uo as INLINE_IMAGE_MAX_DIM, fo as INLINE_IMAGE_QUALITY, zi as INTERRUPT_MAX_MS, Bi as INTERRUPT_MIN_MS, ep as LEGACY_HISTORY_KEY_PREFIX, xt as LEGACY_WRITE_CONSENT_KEY, Ju as ListeningDot, ir as MAX_ASSISTANT_STREAM_BUDGET_MS, po as MAX_ATTACHMENTS, Ha as MAX_BOILERPLATE_LINE_CHARS, mo as MAX_CONFIGURABLE_INLINE_CHARS, Ua as MAX_EXTRACTED_CHARS, ho as MAX_FILE_BYTES, go as MAX_INLINE_CHARS_PER_FILE, _o as MAX_INLINE_CHARS_TOTAL, Mt as MAX_INLINE_IMAGE_BASE64_BYTES, vo as MAX_INLINE_IMAGE_BASE64_CHARS, yo as MAX_INLINE_IMAGE_PARTS, bo as MAX_INLINE_TURN_BODY_BYTES, Wa as MAX_PDF_PAGES_SCANNED, Ie as MAX_PINNED, oh as MAX_REPORTED_TURN_MS, Nt as MAX_REQUEST_BODY_BYTES, ra as MAX_SPEAKABLE_CHARS, ia as MAX_SPOKEN_TABLE_ROWS, xo as MAX_TURN_BODY_BYTES, ha as MINI_CAPTION_BUDGET, Ga as MIN_PAGE_TEXT_CHARS, Ka as MIN_TEXT_PAGE_SHARE, ag as NAVIGATE_RECORD_BUDGET_BYTES, Xh as NAVIGATION_CEILING_MS, Zh as NAVIGATION_POLL_MS, Qh as NAVIGATION_QUIET_MS, Vi as NOTHING_HEARD, Xs as NO_FIRST_TEXT, Sl as NO_OWNER, pu as NO_PANEL_OVERLAY, ot as PENDING_WRITE_APPROVAL_WINDOW_MS, bi as PHRASE_ROTATE_MS, _a as POLL_FAST_MS, va as POLL_FAST_UNTIL_MS, ya as POLL_SLOW_MS, ba as POLL_STEADY_MS, xa as POLL_STEADY_UNTIL_MS, vh as PREOPEN_MAX_AGE_MS, yh as PREOPEN_MAX_ENTRIES, pa as PREVIEW_LANGUAGES, bh as PREWARM_COOLDOWN_MS, ne as PRODUCT_ASSISTANT_MODE_ID_MAX_LENGTH, re as PRODUCT_ASSISTANT_MODE_ID_PATTERN, Ft as PROMPT_CONVERSATION_ID_PATTERN, So as PROMPT_ENVELOPE_RESERVE_BYTES, mg as PROPOSAL_WRITE_RULES, Co as PROVIDER_READABLE_FILE_MEDIA_TYPES, Fn as PROVISIONING_NOT_PERMITTED_I18N_KEY, G as PROVISION_ASSISTANT_SANDBOX, K as PROXY_SANDBOX_REQUEST, xh as QuarantineSet, sc as REDUCED_MOTION_ATTRIBUTE, cc as REDUCED_MOTION_QUERY, q as REPORT_AI_TOKEN_USAGE, J as REPORT_MY_ASSISTANT_TURN_TIMINGS, Pt as REQUEST_TOO_LARGE_REFUSAL, zc as SANDBOX_READY_TTL_MS, Hi as SILENCE_SUBMIT_MS, jr as SPEAKING_RATE_MAX, Mr as SPEAKING_RATE_MAX_STREAMING, Nr as SPEAKING_RATE_MAX_SYNC, Pr as SPEAKING_RATE_MIN, aa as SPEECH_CHUNK_CHARS, oa as SPEECH_CHUNK_CJK_CHARS, sa as SPEECH_FIRST_CHUNK_MAX_CHARS, Kr as SPEECH_LANG, Ts as SPOKEN_LABEL_LANGUAGES, xi as STAGE_COPY, e as START_RETRY_COOLDOWN_MS, Y as STOP_ASSISTANT_SANDBOX, X as STOP_MY_ASSISTANT_SANDBOX, pr as STREAM_BUDGET_MS, T as SandboxProxyError, Xm as StreamingCaret, St as TAKE_ACTION_ENGLISH, Si as THINKING_PHRASES, wo as TURN_BODY_HEADROOM_BYTES, pc as TURN_MILESTONES, bt as TURN_OUTCOME_COPY, mc as TURN_SEGMENTS, hc as TURN_TIMELINE_EVENT, fh as TURN_TIMING_REPORTING, sh as TURN_TIMING_REPORT_FIELDS, ch as TURN_TIMING_STAGES, Jm as TurnActivityLine, ar as UNAVAILABLE_MODE_REFUSAL, or as UNDECLARED_MODE_CAPABILITIES, Wn as USAGE_REPORT_FAILED_EVENT, Gn as USAGE_REPORT_RETRY_DELAYS_MS, Gd as VOICE_ESCAPE_LAYER_SELECTOR, Kd as VOICE_ESCAPE_MODAL_SELECTOR, qr as VOICE_LIST_TIMEOUT_MS, Di as VOICE_MUTED_LABEL, ns as VOICE_PROPOSAL_MODE, Oi as VOICE_THINKING_LABEL, ed as VoiceCaption, td as VoiceConversationView, ad as VoiceMiniController, od as VoiceStage, rd as VoiceStatusLine, id as VoiceStatusText, md as VoiceTranscriptDrawer, nd as VoiceWaveform, Z as WAIT_FOR_SANDBOX_RUNNING, th as WORKSPACE_ASSISTANT_ADMIN_QUERY, dl as WRITE_CONFIRM_ARM_MS, sl as WRITE_PROPOSAL_DIALOG_KINDS, Nl as WRITE_PROPOSAL_ERROR_CODES, es as WRITE_PROPOSAL_ERROR_COPY, qc as WRITE_PROPOSAL_MASK, zl as WRITE_PROPOSAL_MAX_POLL_FAILURES, Bl as WRITE_PROPOSAL_POLL_MS, cl as WRITE_PROPOSAL_PRESENTED_AFTER_MS, rs as WRITE_PROPOSAL_READBACK_HIDDEN, Pl as WRITE_PROPOSAL_SANDBOX_MODE, is as WRITE_PROPOSAL_VOICE_COPY, Jo as WRITE_REPLY_COPY, Jl as WRITE_REPLY_DECLINE_WAIT_MS, Yo as WRITE_REPLY_LEXICON, Sh as WarmCancelled, Fl as WriteProposalError, It as abortAssistantTurn, jd as aboveAssistantBottomChrome, mu as activePanelOverlay, sr as adminOnlyModeSendRefusal, bs as adminOnlyModeSendRefusalAfterAccess, Ui as advanceHeardClock, Ni as advanceRotationClock, dg as aiCreditsUpdatedEventName, Xo as analyseWriteReply, Bp as applyHistoryPage, Cl as applyPreviewEvent, st as approvalFollowUpReplyIds, Lt as approvePendingWrite, ct as approvedPendingWriteIds, Vl as asWriteProposalError, fl as askProductToConfirmWrite, Rt as askReuseMatchesProvisioning, ng as assistantBackStack, hm as assistantHistory, uf as assistantHistoryBackoffMs, Gp as assistantHistoryGenerationOf, jm as assistantHistoryIsOn, tp as assistantHistoryScopeKey, tm as assistantHistoryStore, _s as assistantI18nSeedCopy, E as assistantLlmTerminalCodeOf, ee as assistantModeFallbackLabel, vs as assistantModeI18nCopy, Gu as assistantModeMeta, Md as assistantOverlayClassName, Nd as assistantOverlayEscapeAction, Pd as assistantOverlayKeys, hu as assistantPanelOwnsEscape, Fd as assistantQuotaKindOf, y as assistantRoutePath, u as assistantTranslationKey, b as assistantUrlTransform, Kn as assistantUsageLedger, Te as autoCarryOverFor, Ee as autoSuggestions, Ko as availableAttachmentSources, Hh as backDoneCopy, Fr as base64ToBytes, lt as beginApprovalInFlight, gc as beginTurn, nm as boundAssistantHistoryHeaders, x as browserShouldHandle, wr as browserSpeechEngine, lh as buildAbandonedTurnReport, Zs as buildAssistantProgress, zt as buildAssistantSandboxEnv, To as buildAttachmentPromptBlock, De as buildAutoCarryOver, ws as buildBoundedAttachmentTurn, $i as buildContinuedFromVoiceNote, Pf as buildHistoryDeleteVariables, Ff as buildHistoryEntriesVariables, If as buildHistoryListVariables, Lf as buildHistoryPageVariables, Hm as buildHistoryResumePreamble, Rf as buildHistorySaveVariables, zf as buildHistorySearchVariables, Bf as buildHistoryUpdateVariables, og as buildNavigateAction, Tn as buildProgress, Bt as buildPromptGatewayRequest, Eo as buildPromptParts, Vt as buildPromptRequestBody, Do as buildPromptWithAttachments, Ht as buildProvisionAssistantSandboxInput, Ir as buildRequest, I as buildSandboxContextInput, uh as buildTurnTimingReport, ea as buildVoiceTranscriptMarkdown, ie as builtInModeExtendedBy, js as captionChunks, _r as chatTurns, Ut as checkAssistantAiCredits, Uh as chooseDestinationCopy, Wh as chooseLinkedCopy, ca as chunkForSpeech, Ch as claimPreopenedSession, Gf as clampHistorySearchText, Le as clampToCodePoints, df as classifyAssistantHistoryError, S as classifyAssistantHref, Oe as classifyAssistantIntent, Oo as classifyAttachment, Lr as classifyHttpFailure, j as classifyQuotaError, Bn as classifyTurnFailure, qn as classifyUsageReportFailure, Zo as classifyWriteReply, Id as closestAround, Re as coalesceUpdatePatch, ze as codePointLength, Be as collapseHistoryText, qa as columnLetterToIndex, np as completeAssistantHistoryScope, ki as composeVoiceStatus, oi as configureSpeechEngine, lu as connectSourceActivation, au as connectSourceHrefRenders, wh as consumeWarm, la as containsCjk, op as conversationHasHistory, p as copyToClipboard, ko as countInlineImageCandidates, Ao as countInlinedImageParts, ic as countSpokenTurns, xs as createAdminModeAccessGate, gm as createAssistantHistoryEngine, Kp as createAssistantHistoryStatusStore, rm as createAssistantHistoryStore, Ld as createAssistantNavigate, wl as createAssistantPreviewSurface, Wt as createAssistantSandbox, Gt as createAssistantSession, rg as createBackStack, $f as createGatewayHistoryTransport, Ne as createGuardedAssistantStorage, ym as createHistorySearchController, Kf as createHistorySearchMatcher, Ur as createHostedTtsEngine, Yp as createProfileBoundStorage, Bc as createReadinessTracker, ai as createRoutingSpeechEngine, Ol as createRunIdentityCache, tr as createSandboxAssistantTransport, Il as createSandboxWriteProposalClient, si as createSpeechEngines, _m as createSystemHistoryClock, ph as createTurnTimingNonce, mh as createTurnTimingReporter, Hl as createWriteProposalDiscovery, Tl as currentPreviewOwner, Qo as decideWriteReply, ae as declareAssistantMode, Rr as decodeAudioResponse, Ja as decodeXmlEntities, Mm as deleteAssistantConversation, Al as deliverPreviewEvent, In as describePermissionError, M as describeQuotaError, _c as describeTurn, sg as destinationForPath, jo as detectDocumentFormat, Ds as detectScriptLocale, vc as detectTurnDevice, qo as deviceHasCamera, zr as disableDurationMs, fg as dispatchAssistantQuotaExhausted, Ya as docxXmlToText, Kt as downloadAssistantArtifact, Yd as downloadFile, Th as dropPreopenedFor, Gs as elapsedSince, im as emptyAssistantHistoryPersisted, am as emptyAssistantHistoryScopeState, ut as endApprovalInFlight, ke as escalationToUndo, qd as escapeBelongsToLayerAbove, gu as escapeDismisses, Mo as estimateTurnBodyBytes, L as executeAssistantGraphQLOnce, R as executeSandboxGraphQL, Xd as exportConversation, qt as extendAssistantSandboxTTL, N as extensionObjectsIn, gg as extractDocumentText, Dp as filterHistoryMetadata, Ea as findAssistantLanguage, cr as findAssistantModeConfig, Jt as findExistingSandbox, Yt as findExistingSandboxWithStatus, za as findPendingWrite, Op as fitHistoryMetadataEnvelope, Xa as fitPdfPages, _u as focusIsInsidePanel, qf as foldHistorySearchText, dt as forgetLiveTurns, No as formatBytes, Vn as formatDailyLimitResetTime, Za as formatPageRanges, Jc as formatWriteProposalValue, Xt as forwardsUserTokensToSandbox, kp as fromHistoryEntry, Nc as getActorId, ft as getApprovalInFlight, Zt as getAssistantArtifacts, Ws as getAssistantDisplayContent, En as getAssistantMedia, Qt as getAssistantMessages, $t as getAssistantSession, en as getAssistantStreamAccess, Dn as getAssistantText, Po as getAttachmentSendBlocker, he as getCapability, Fo as getExtension, Xe as getHistoryStamp, le as getImageForMode, ue as getImageTagForMode, Pc as getOrganizationId, On as getRawMessageCreatedAt, de as getResourcesForMode, fe as getSandboxImageRegistry, Io as getSendableAttachments, ci as getSpeechEngine, kn as getToolProgress, Jn as getUsageBlock, Fc as getWorkspaceId, pt as goAheadSentReplyIds, vr as groupBySession, yr as groupConsecutiveBySession, wu as hasAssistantPreviewSurface, Lo as hasAttachmentWorkInFlight, ou as hasConnectSource, Yn as hasPendingUsageReports, om as headerHasControls, Vp as highestContiguousHistorySeq, sp as historyConvKeyOf, Ap as historyEntriesMatchKind, Ve as historyFilterEmptyKind, He as historyFilterKey, cp as historyHeaderOf, lp as historyListRowOf, Ze as historyOpenFilter, up as historyRowAcceptsControls, dp as historyScopeKeyOfStamp, bm as historySearchBusyDelay, Xf as historyTimestampToIso, Dr as hostedLocaleFor, Or as hostedSupportsLanguage, h as imageHostLabel, mr as incompleteTurnNotice, Fh as isAlreadyThere, ff as isAssistantHistoryControlsDrift, D as isAssistantLlmTerminalCode, oe as isAssistantModeId, tn as isAssistantProvisioningUnavailable, Rd as isAssistantToggleShortcut, Ae as isAutoRoutingOffered, Ms as isAwaitingFirstChunk, ja as isAwaitingOwnConversation, ig as isBackRunnable, vl as isBlankProse, te as isBuiltInAssistantMode, Wi as isCapturing, yc as isComparableTurn, qp as isCurrentAssistantHistoryGeneration, Ih as isCurrentPath, nn as isDedicatedAssistantSandbox, rn as isDedicatedAssistantSandboxRow, Ue as isDefaultHistoryFilter, Gi as isEcho, dh as isFinishedTurn, jp as isHistoryClientId, Qe as isHistoryConversationBusy, Jr as isHostedVoice, Um as isKnownReadOnlyMode, Bs as isLegacyFiller, rp as isLegacyHistoryConvKey, Vs as isLegacyStopped, mt as isLiveTurn, ge as isMissingGatewayFieldError, Qa as isMostlyImagePages, Ic as isMultimodalBodyRejection, Lc as isNeverRecoverableAssistantError, sm as isNewerAssistantHistoryFormat, fp as isOtherScopeHistoryConversation, yg as isProdRuntime, se as isProductAssistantModeId, Ro as isProviderReadableFilePart, P as isQuotaExhaustedError, pp as isReadOnlyHistoryConversation, An as isReapedSandboxConnectionError, Vc as isRecentlyVerified, jn as isRecoverable, Rc as isRecoverableAssistantError, g as isRemoteImageSrc, mp as isReusableHistoryDraft, yl as isRunningStatus, Jf as isServerHistorySearchQuery, Ns as isSpeakingMessage, Yr as isSpeechBlocked, Hs as isStageCopy, Ki as isSubmittable, Ls as isTurnInFlight, _e as isUnknownFieldError, $o as isUserOriginatedWriteReply, We as isValidUpdatePatch, as as isVoiceProposalBound, br as isVoiceTurn, Ct as isWriteModeAcknowledged, Ll as isWriteProposalError, $a as joinSheets, cg as labelForPath, Xr as languageDisplayName, zo as largestInlineCharsPerFile, ip as legacyHistoryConvKey, Gh as linkNotOpenableCopy, Ge as localChannelOf, Mn as mapSessionToHistory, ht as markLiveTurn, ve as markSupported, bc as markTurn, ye as markUnsupported, Lh as matchLocalUiCommand, Ke as matchesHistoryFilter, hp as materializeHistoryHeader, Ma as maySendSpokenTurn, Mp as measureHistorySaveRequest, cm as mergeAssistantHistoryPersisted, lm as mergeAssistantHistoryWithStored, Hp as mergeHistoryMessages, Nn as mergeMessagesById, kt as mergePersistedAssistantState, mi as micIsInterrupt, an as modeRequiresConfirmWrites, Ks as msUntilNextPhrase, Rh as navDestinations, Kh as navigationCommandCopy, qh as navigationOutcomeCopy, Ul as newWriteProposalRequestId, lg as newestAssistantOnSurface, xm as newestHistoryHeader, gt as newestModelReplyId, Eu as nextActiveTab, zd as nextAssistantOpenState, Ku as nextModeIndex, vu as nextPanelOverlays, bl as nextPreviewEvents, Yf as normaliseHistorySearchQuery, qe as normaliseHistoryTitle, zh as normaliseUtterance, Zr as normalizeLangTag, pg as notifyAiCreditsUpdated, $e as notifyAssistantStorageFull, et as offerHistoryRename, qi as orbMode, ug as outcomeStatus, eo as pageMarker, Iu as panelOwnedPreviewBridge, yu as panelOwnsEscape, Ba as parseConfirmationRefusal, Bo as parseDataUrl, to as parseSharedStrings, rc as parseToolActivity, no as parseWorkbookSheets, Rl as parseWriteProposalView, $h as pathnameOf, ro as pdfTextItemsToPage, Je as pendingUpdatesByConversation, Ln as permissionRefusalCopyId, Rn as permissionRefusalMessage, Jh as pickFromListCopy, Du as pinActiveTab, Rs as planAbandonedTurn, Hc as planAfterTransportFailure, pf as planAssistantHistoryRetry, Up as planHistoryEarlierLoad, Wp as planHistoryOpenLoad, Ji as planListeningHold, Yi as planReplyConsumption, Bh as planThemeChange, Na as planTranscriptAutoOpen, Uc as planTrustedSandboxFailure, zs as planTurnAbort, Xi as planVoiceAnnouncement, Pa as planVoiceSessionBinding, Fa as planVoiceSessionStart, Ia as planVoiceSpokenEntry, Yl as planWriteReply, Sa as pollDelayMs, Eh as preopenKey, Dh as preopenWanted, Oh as preopenedCountForTest, kh as prewarmTarget, Qr as primaryLanguageSubtag, nh as probeWorkspaceAssistantAdmin, on as promptGatewayRequestBytes, Xl as promptWriteApproval, sn as proxySandboxRaw, um as pruneAssistantHistoryPersisted, Bd as publishedAssistantDockWidth, Vd as publishedAssistantPanelInset, Ps as publishedChunks, F as quotaExhaustedEventName, Qs as readAheadFor, dm as readAssistantHistoryPersisted, Hd as readAssistantOverlayFlag, lc as readReducedMotion, cn as readSandboxWriteCapabilities, ln as readSandboxWriteCapabilitiesOnce, li as readSpeechEngineConfig, Wl as readWriteProposalRefs, xc as recentTurnTimelines, Yc as redactWriteProposalText, un as releaseSupersededAssistantSandboxes, os as renderWriteProposalReadback, Oa as replyFollowsInput, dn as reportAssistantAiTokenUsage, Xn as reportUsageWithRetry, Ud as requestedAssistantOpenState, Fs as requiresCancel, ui as resetSpeechEngine, fi as resetSpeechFeedForTest, Sc as resetTurnTimelines, hh as resetTurnTimingReporting, Ah as resetWarmsForTest, At as resolveActiveModeSandbox, _t as resolveApprovablePendingWrite, Vo as resolveAssistantInlineLimits, Da as resolveAssistantLanguage, lr as resolveAssistantModeCapabilities, Ss as resolveAssistantSendModeAfterAccess, je as resolveAutoRoute, Fm as resolveConversationDeleteTarget, gp as resolveHistoryReopenMode, ka as resolveLanguagePair, i as resolveModeConfig, vt as resolveRetryableMessageId, Ye as resolveRowControls, pe as resolveSandboxAssistantMode, Os as resolveSpeechLocale, Cc as restartAttempt, wt as restoreAcknowledgedWriteModes, Me as restoreAutoRouting, Wm as resumeContextFor, Wr as retryDelayMs, Zn as retryPendingUsageReports, Pi as rotationElapsedMs, El as runBelongsTo, kl as runIdentities, eg as runNavigation, Dl as sameOwner, me as sandboxBaseModeFor, O as sandboxProxyErrorFromBody, k as sandboxProxyErrorFromTurnTerminal, fn as sandboxStatusOf, Pn as sanitize, wc as segmentStats, _p as selectAssistantHistoryList, pn as selectExistingAssistantSandbox, vp as selectHistoryEvictions, Sm as selectHistorySearchList, mn as selectSupersededAssistantSandboxes, $r as selectVoiceForLocale, hn as sendAssistantPromptAsync, gh as sendAssistantTurnTimings, gn as sendHeartbeat, tt as setAssistantStorageFullHandler, nt as setHistoryBusyProbe, rt as setHistoryOpenFilterSource, it as setHistoryRenameSink, at as setHistoryStampSource, fm as settleAssistantHistory, jh as settleWarmBeforeSend, Zl as settleWithin, io as sheetXmlToRows, Br as shouldDisableEngine, Ou as shouldPinOnMove, ku as shouldPinOnSelect, ga as showPreviousChunk, hi as showsAssistantCaption, gi as showsUserCaption, Vh as singularVariants, $s as snapshotReplyFloor, Vr as speakableChunks, ua as speakableEmail, pi as speechFeed, ei as speechGate, Es as speechLabelsFor, ti as speechLangForLocale, Is as speechPlaybackReducer, Hr as splitForVendor, da as splitTableRow, ac as spokenMessagesSinceContinueNote, Zi as spokenSoFar, oc as spokenTurnText, Ci as stageText, t as startIsCoolingDown, qs as startPhraseTicker, Mh as startPreopen, Fi as startRotationTicker, ec as startSessionReadAhead, _h as startTurnTimingReporting, Nh as startWarm, wi as statusStageCopy, Au as stepsFromToolActivity, _n as stopReapedAssistantSandbox, hr as streamBudgetMs, Us as stripLegacyFillerPrefix, yt as subscribeApprovalInFlight, uc as subscribeReducedMotion, di as subscribeSpeechEngine, Tc as subscribeTurnTimelines, ao as summarisePageText, Ec as summariseTurnTimelines, Ii as syncRotationClock, ju as tabForArrowKey, A as terminalCodeRecoverability, Yh as themeCommandCopy, Ti as thinkingPhrase, Ei as thinkingPhraseEntry, Ca as toCaptionText, Np as toHistoryEntries, Ho as toMessageAttachment, fa as toSpeakableText, Pp as toStorableHistoryText, tc as trackFirstText, Uo as truncateForInline, oo as truncatePagesForInline, Fp as truncateUtf8, Js as turnActivityCopy, Ys as turnActivityStage, Dc as turnClockMs, Hn as turnConfirmsNoAction, Un as turnOutcomeCopy, Oc as turnSegments, kc as turnTimeline, ur as unofferedModeSendRefusal, Cs as unofferedModeSendRefusalAfterAccess, Qn as usagePendingStorageKey, $n as usageReportClock, er as usageSendRefusal, rh as useAssistantApiAccess, _g as useAssistantAttachments, su as useAssistantConnectSource, Dg as useAssistantDockWidth, bg as useAssistantHeartbeat, Cm as useAssistantHistorySearch, Jp as useAssistantHistoryStatus, pm as useAssistantHistoryStore, d as useAssistantI18nNamespace, xg as useAssistantKeyboardShortcuts, C as useAssistantNavigate, Og as useAssistantOverlayOrNull, a as useAssistantPageLabel, kg as useAssistantPanelInset, gl as useAssistantPreview, jl as useAssistantPreviewBridge, o as useAssistantProduct, s as useAssistantProductOrNull, Ag as useAssistantQuotaExhausted, Gm as useAssistantServerHistory, jc as useAssistantSpeech, c as useAssistantStorageFolders, jt as useAssistantStore, f as useAssistantTr, Pm as useConversationDeleteDialog, ih as useConversationTurns, xu as useDropdownEscape, Km as useHistoryRowControlsFor, Lu as useHostedAssistantPreviewBridge, Pu as useOverlayFocus, dc as usePrefersReducedMotion, nr as useSandboxAssistantTransport, n as useVoiceInput, Mc as useVoiceSession, hg as useWorkspaceWriteAccess, pl as useWriteProposalConfirm, Xc as useWriteProposalRemainingMs, $l as useWriteProposals, vn as usesDedicatedAssistantProvisioning, Ip as utf8ByteLength, Wo as validateFile, ni as voiceAvailability, La as voiceBindingAtStart, Ra as voiceBindingConversationId, xr as voiceMarker, ma as voicePreviewText, ss as voiceProposalChip, cs as voiceProposalChipText, ri as voiceQualityRank, ls as voiceReadbacksDue, Jd as voiceSessionEscapeAction, Sr as voiceSessionIdOf, bu as voiceSessionOwnsEscape, Qi as voiceSessionReducer, _i as voiceStageState, Ai as voiceStatusParts, ji as voiceStatusSuffix, ta as voiceTranscriptFilename, Cr as voiceTurnsOnly, us as voiceWaitingProposals, ii as voicesForLocale, yn as waitForAssistantServiceReady, bn as waitForSandboxRunning, Ph as warmState, vi as waveformIsActive, yi as waveformIsSettled, gr as withIncompleteTurnNotice, Tt as withWriteModeAcknowledged, Ml as writeActionResultEvents, xn as writeApprovalModeOf, Sn as writeApprovalReuseMatches, Wd as writeAssistantOverlayFlag, Cn as writeExecutionOf, Et as writeModeConsentCopy, Dt as writeModeSendRefusal, Ot as writeModeSendRefusalReason, Zc as writeProposalArgumentValues, Gl as writeProposalBelongsTo, Qc as writeProposalConfirmState, $c as writeProposalCountdownText, ts as writeProposalErrorLine, el as writeProposalGatewayText, tl as writeProposalKindText, nl as writeProposalRemainingMs, rl as writeProposalRootFieldName, il as writeProposalSensitiveTexts, Kl as writeProposalSessionsToReopen, ll as writeProposalUsesDialog, al as writeProposalVariableValues, ds as writeProposalVoiceLine, fs as writeProposalVoiceReadback, ql as writeProposalsEnabledFor, Ql as writeReplyLiveState };
1
+ import { START_RETRY_COOLDOWN_MS as e, isSpeechRecognitionSupported as t, startIsCoolingDown as n, useVoiceInput as r } from "./shared/assistant/voice/useVoiceInput.js";
2
+ import { AssistantProductProvider as i, resolveModeConfig as a, useAssistantPageLabel as o, useAssistantProduct as s, useAssistantProductOrNull as c, useAssistantStorageFolders as l } from "./shared/assistant/product.js";
3
+ import { AssistantI18nProvider as u, assistantTranslationKey as d, useAssistantI18nNamespace as f, useAssistantTr as p } from "./shared/assistant/i18n.js";
4
+ import { copyToClipboard as m } from "./shared/assistant/clipboard.js";
5
+ import { AssistantMarkdownImage as h, imageHostLabel as g, isRemoteImageSrc as _ } from "./shared/assistant/ui/AssistantMarkdownImage.js";
6
+ import { assistantRoutePath as v, assistantUrlTransform as y, classifyAssistantHref as b, transformAssistantUrl as x } from "./shared/assistant/uiActions/assistantHref.js";
7
+ import { AssistantMarkdownRenderer as S, AssistantNavigateProvider as C, browserShouldHandle as w, useAssistantNavigate as T } from "./shared/assistant/ui/AssistantMarkdownRenderer.js";
8
+ import { ASSISTANT_LLM_TERMINAL_CODES as E, SandboxProxyError as D, assistantLlmTerminalCodeOf as O, isAssistantLlmTerminalCode as k, sandboxProxyErrorFromBody as A, sandboxProxyErrorFromTurnTerminal as j, terminalCodeRecoverability as M } from "./shared/assistant/sandboxProxyError.js";
9
+ import { classifyQuotaError as N, describeQuotaError as P, extensionObjectsIn as F, isQuotaExhaustedError as I, quotaExhaustedEventName as L } from "./shared/assistant/quota.js";
10
+ import { buildSandboxContextInput as R, executeAssistantGraphQLOnce as z, executeSandboxGraphQL as B } from "./shared/assistant/gatewayClient.js";
11
+ import { CHECK_AI_CREDITS as V, CREATE_SANDBOX as H, EXTEND_MY_ASSISTANT_SANDBOX_TTL as U, EXTEND_SANDBOX_TTL as W, GET_ACTIVE_SANDBOXES as G, GET_SANDBOX as K, PROVISION_ASSISTANT_SANDBOX as q, PROXY_SANDBOX_REQUEST as J, REPORT_AI_TOKEN_USAGE as Y, REPORT_MY_ASSISTANT_TURN_TIMINGS as X, STOP_ASSISTANT_SANDBOX as Z, STOP_MY_ASSISTANT_SANDBOX as Q, WAIT_FOR_SANDBOX_RUNNING as $ } from "./shared/assistant/operations.js";
12
+ import { ASSISTANT_MODE_FALLBACK_LABELS as ee, ASSISTANT_MODE_IDS as te, assistantModeFallbackLabel as ne, isBuiltInAssistantMode as re } from "./shared/assistant/modeCopy.js";
13
+ import { PRODUCT_ASSISTANT_MODE_ID_MAX_LENGTH as ie, PRODUCT_ASSISTANT_MODE_ID_PATTERN as ae, builtInModeExtendedBy as oe, declareAssistantMode as se, isAssistantModeId as ce, isProductAssistantModeId as le } from "./shared/assistant/modeIds.js";
14
+ import { ASSISTANT_API_AUTH_STRATEGY as ue, getImageForMode as de, getImageTagForMode as fe, getResourcesForMode as pe, getSandboxImageRegistry as me, resolveSandboxAssistantMode as he, sandboxBaseModeFor as ge } from "./shared/assistant/images.js";
15
+ import { getCapability as _e, isMissingGatewayFieldError as ve, isUnknownFieldError as ye, markSupported as be, markUnsupported as xe } from "./shared/assistant/capabilities.js";
16
+ import { AUTO_CARRY_OVER_MAX_CHARS as Se, AUTO_CARRY_OVER_MAX_CHARS_PER_MESSAGE as Ce, AUTO_CARRY_OVER_MAX_MESSAGES as we, AUTO_READ_MODE as Te, AUTO_WRITE_MODE as Ee, autoCarryOverFor as De, autoSuggestions as Oe, buildAutoCarryOver as ke, classifyAssistantIntent as Ae, escalationToUndo as je, isAutoRoutingOffered as Me, resolveAutoRoute as Ne, restoreAutoRouting as Pe } from "./shared/assistant/autoRouting.js";
17
+ import { createGuardedAssistantStorage as Fe } from "./shared/assistant/guardedStorage.js";
18
+ import { WRITE_REPLY_COPY as Ie, WRITE_REPLY_LEXICON as Le, analyseWriteReply as Re, classifyWriteReply as ze, decideWriteReply as Be, isUserOriginatedWriteReply as Ve } from "./shared/assistant/writeReplyBinder.js";
19
+ import { DEFAULT_VOICE_GRACE_MS as He, TRAILING_RESULT_WINDOW_MS as Ue, VOICE_GRACE_CHOICES_MS as We, isGenuineUserSpeech as Ge, isTrailingResultOfSubmitted as Ke, mergeFinalPhrase as qe, planSubmitTimer as Je, planThinkingSpeech as Ye, resolveVoiceGraceMs as Xe, speechWords as Ze, stripSubmittedPrefix as Qe } from "./shared/assistant/voice/handsFree.js";
20
+ import { DEFAULT_HISTORY_LIST_FILTER as $e, HISTORY_TITLE_MAX_CODE_POINTS as et, MAX_PINNED as tt, clampToCodePoints as nt, coalesceUpdatePatch as rt, codePointLength as it, collapseHistoryText as at, historyFilterEmptyKind as ot, historyFilterKey as st, isDefaultHistoryFilter as ct, isValidUpdatePatch as lt, localChannelOf as ut, matchesHistoryFilter as dt, normaliseHistoryTitle as ft, pendingUpdatesByConversation as pt, resolveRowControls as mt } from "./shared/assistant/history/historyControls.js";
21
+ import { getHistoryStamp as ht, historyOpenFilter as gt, isHistoryConversationBusy as _t, notifyAssistantStorageFull as vt, offerHistoryRename as yt, setAssistantStorageFullHandler as bt, setHistoryBusyProbe as xt, setHistoryOpenFilterSource as St, setHistoryRenameSink as Ct, setHistoryStampSource as wt } from "./shared/assistant/history/stampRegistry.js";
22
+ import { PENDING_WRITE_APPROVAL_WINDOW_MS as Tt, approvalFollowUpReplyIds as Et, approvedPendingWriteIds as Dt, beginApprovalInFlight as Ot, endApprovalInFlight as kt, forgetLiveTurns as At, getApprovalInFlight as jt, goAheadSentReplyIds as Mt, isLiveTurn as Nt, markLiveTurn as Pt, newestModelReplyId as Ft, resolveApprovablePendingWrite as It, resolveRetryableMessageId as Lt, subscribeApprovalInFlight as Rt } from "./shared/assistant/liveTurns.js";
23
+ import { TURN_OUTCOME_COPY as zt } from "./shared/assistant/turnOutcomeCopy.js";
24
+ import { LEGACY_WRITE_CONSENT_KEY as Bt, TAKE_ACTION_ENGLISH as Vt, isWriteModeAcknowledged as Ht, restoreAcknowledgedWriteModes as Ut, withWriteModeAcknowledged as Wt, writeModeConsentCopy as Gt, writeModeSendRefusal as Kt, writeModeSendRefusalReason as qt } from "./shared/assistant/writeModeConsent.js";
25
+ import { mergePersistedAssistantState as Jt, resolveActiveModeSandbox as Yt, useAssistantStore as Xt } from "./shared/assistant/store.js";
26
+ import { MAX_INLINE_IMAGE_BASE64_BYTES as Zt, MAX_REQUEST_BODY_BYTES as Qt, REQUEST_TOO_LARGE_REFUSAL as $t } from "./shared/assistant/gatewayLimits.js";
27
+ import { PROMPT_CONVERSATION_ID_PATTERN as en, abortAssistantTurn as tn, approvePendingWrite as nn, askReuseMatchesProvisioning as rn, buildAssistantSandboxEnv as an, buildPromptGatewayRequest as on, buildPromptRequestBody as sn, buildProvisionAssistantSandboxInput as cn, checkAssistantAiCredits as ln, createAssistantSandbox as un, createAssistantSession as dn, downloadAssistantArtifact as fn, extendAssistantSandboxTTL as pn, findExistingSandbox as mn, findExistingSandboxWithStatus as hn, forwardsUserTokensToSandbox as gn, getAssistantArtifacts as _n, getAssistantMessages as vn, getAssistantSession as yn, getAssistantStreamAccess as bn, isAssistantProvisioningUnavailable as xn, isDedicatedAssistantSandbox as Sn, isDedicatedAssistantSandboxRow as Cn, modeRequiresConfirmWrites as wn, promptGatewayRequestBytes as Tn, proxySandboxRaw as En, readSandboxWriteCapabilities as Dn, readSandboxWriteCapabilitiesOnce as On, releaseSupersededAssistantSandboxes as kn, reportAssistantAiTokenUsage as An, sandboxStatusOf as jn, selectExistingAssistantSandbox as Mn, selectSupersededAssistantSandboxes as Nn, sendAssistantPromptAsync as Pn, sendHeartbeat as Fn, stopReapedAssistantSandbox as In, usesDedicatedAssistantProvisioning as Ln, waitForAssistantServiceReady as Rn, waitForSandboxRunning as zn, writeApprovalModeOf as Bn, writeApprovalReuseMatches as Vn, writeExecutionOf as Hn } from "./shared/assistant/api.js";
28
+ import { AssistantRuntimeManager as Un } from "./shared/assistant/runtime.js";
29
+ import { buildProgress as Wn, getAssistantMedia as Gn, getAssistantText as Kn, getRawMessageCreatedAt as qn, getToolProgress as Jn, isReapedSandboxConnectionError as Yn, isRecoverable as Xn, mapSessionToHistory as Zn, mergeMessagesById as Qn, sanitize as $n } from "./shared/assistant/progress.js";
30
+ import { PROVISIONING_NOT_PERMITTED_I18N_KEY as er, describePermissionError as tr, permissionRefusalCopyId as nr, permissionRefusalMessage as rr } from "./shared/assistant/permissionError.js";
31
+ import { AssistantSendRefusal as ir, classifyTurnFailure as ar, formatDailyLimitResetTime as or, turnConfirmsNoAction as sr, turnOutcomeCopy as cr } from "./shared/assistant/turnOutcome.js";
32
+ import { USAGE_REPORT_FAILED_EVENT as lr, USAGE_REPORT_RETRY_DELAYS_MS as ur, assistantUsageLedger as dr, classifyUsageReportFailure as fr, getUsageBlock as pr, hasPendingUsageReports as mr, reportUsageWithRetry as hr, retryPendingUsageReports as gr, usagePendingStorageKey as _r, usageReportClock as vr, usageSendRefusal as yr } from "./shared/assistant/usageReporting.js";
33
+ import { createSandboxAssistantTransport as br } from "./shared/assistant/createSandboxAssistantTransport.js";
34
+ import { useSandboxAssistantTransport as xr } from "./shared/assistant/useSandboxAssistantTransport.js";
35
+ import { BUILT_IN_MODE_CAPABILITIES as Sr, MAX_ASSISTANT_STREAM_BUDGET_MS as Cr, UNAVAILABLE_MODE_REFUSAL as wr, UNDECLARED_MODE_CAPABILITIES as Tr, adminOnlyModeSendRefusal as Er, findAssistantModeConfig as Dr, resolveAssistantModeCapabilities as Or, unofferedModeSendRefusal as kr } from "./shared/assistant/modeCapabilities.js";
36
+ import { DEFAULT_STREAM_BUDGET_MS as Ar, INCOMPLETE_TURN_NOTICES as jr, STREAM_BUDGET_MS as Mr, incompleteTurnNotice as Nr, streamBudgetMs as Pr, withIncompleteTurnNotice as Fr } from "./shared/assistant/streamBudget.js";
37
+ import { chatTurns as Ir, groupBySession as Lr, groupConsecutiveBySession as Rr, isVoiceTurn as zr, voiceMarker as Br, voiceSessionIdOf as Vr, voiceTurnsOnly as Hr } from "./shared/assistant/voice/turnVisibility.js";
38
+ import { browserSpeechEngine as Ur } from "./shared/assistant/speech/browserSpeechEngine.js";
39
+ import { HOSTED_TTS_TIER as Wr, HOSTED_VOICES as Gr, hostedLocaleFor as Kr, hostedSupportsLanguage as qr } from "./shared/assistant/speech/hostedVoiceCatalogue.js";
40
+ import { HOSTED_DISABLE_MS as Jr, HOSTED_TTS_MAX_CHARS as Yr, SPEAKING_RATE_MAX as Xr, SPEAKING_RATE_MAX_STREAMING as Zr, SPEAKING_RATE_MAX_SYNC as Qr, SPEAKING_RATE_MIN as $r, base64ToBytes as ei, buildRequest as ti, classifyHttpFailure as ni, decodeAudioResponse as ri, disableDurationMs as ii, shouldDisableEngine as ai, speakableChunks as oi, splitForVendor as si } from "./shared/assistant/speech/hostedTtsProtocol.js";
41
+ import { createHostedTtsEngine as ci, retryDelayMs as li } from "./shared/assistant/speech/hostedTtsSpeechEngine.js";
42
+ import { HOSTED_VOICE_RANK as ui, SPEECH_LANG as di, VOICE_LIST_TIMEOUT_MS as fi, isHostedVoice as pi, isSpeechBlocked as mi, languageDisplayName as hi, normalizeLangTag as gi, primaryLanguageSubtag as _i, selectVoiceForLocale as vi, speechGate as yi, speechLangForLocale as bi, voiceAvailability as xi, voiceQualityRank as Si, voicesForLocale as Ci } from "./shared/assistant/voice/speechVoices.js";
43
+ import { createRoutingSpeechEngine as wi } from "./shared/assistant/speech/routingSpeechEngine.js";
44
+ import { configureSpeechEngine as Ti, createSpeechEngines as Ei, getSpeechEngine as Di, readSpeechEngineConfig as Oi, resetSpeechEngine as ki, subscribeSpeechEngine as Ai } from "./shared/assistant/speech/createSpeechEngine.js";
45
+ import { resetSpeechFeedForTest as ji, speechFeed as Mi } from "./shared/assistant/speech/speechFeed.js";
46
+ import { micIsInterrupt as Ni, showsAssistantCaption as Pi, showsUserCaption as Fi, voiceStageState as Ii, waveformIsActive as Li, waveformIsSettled as Ri } from "./shared/assistant/voice/voiceStageState.js";
47
+ import { PHRASE_ROTATE_MS as zi, STAGE_COPY as Bi, THINKING_PHRASES as Vi, stageText as Hi, statusStageCopy as Ui, thinkingPhrase as Wi, thinkingPhraseEntry as Gi } from "./shared/assistant/stageCopy.js";
48
+ import { VOICE_MUTED_LABEL as Ki, VOICE_THINKING_LABEL as qi, composeVoiceStatus as Ji, voiceStatusParts as Yi, voiceStatusSuffix as Xi } from "./shared/assistant/voice/voiceStatus.js";
49
+ import { IDLE_ROTATION_CLOCK as Zi, advanceRotationClock as Qi, rotationElapsedMs as $i, startRotationTicker as ea, syncRotationClock as ta } from "./shared/assistant/voice/rotationClock.js";
50
+ import { ENDPOINT_GRACE_MS as na, INITIAL_SESSION as ra, INTERRUPT_MAX_MS as ia, INTERRUPT_MIN_MS as aa, NOTHING_HEARD as oa, advanceHeardClock as sa, isCapturing as ca, isEcho as la, isSubmittable as ua, orbMode as da, planListeningHold as fa, planReplyConsumption as pa, planVoiceAnnouncement as ma, shouldRecognise as ha, spokenSoFar as ga, voiceSessionReducer as _a } from "./shared/assistant/voice/voiceSession.js";
51
+ import { isTurnSuperseded as va, markTurnSuperseded as ya, resetSupersededTurnsForTest as ba } from "./shared/assistant/voice/supersededTurns.js";
52
+ import { buildContinuedFromVoiceNote as xa, buildVoiceTranscriptMarkdown as Sa, voiceTranscriptFilename as Ca } from "./shared/assistant/voice/voiceTranscript.js";
53
+ import { DEFAULT_SPEAKABLE_LABELS as wa, MAX_SPEAKABLE_CHARS as Ta, MAX_SPOKEN_TABLE_ROWS as Ea, SPEECH_CHUNK_CHARS as Da, SPEECH_CHUNK_CJK_CHARS as Oa, SPEECH_FIRST_CHUNK_MAX_CHARS as ka, chunkForSpeech as Aa, containsCjk as ja, speakableEmail as Ma, splitTableRow as Na, toSpeakableText as Pa } from "./shared/assistant/voice/speakableText.js";
54
+ import { PREVIEW_LANGUAGES as Fa, voicePreviewText as Ia } from "./shared/assistant/voice/voicePreview.js";
55
+ import { MINI_CAPTION_BUDGET as La, showPreviousChunk as Ra } from "./shared/assistant/voice/miniCaptionBudget.js";
56
+ import { POLL_FAST_MS as za, POLL_FAST_UNTIL_MS as Ba, POLL_SLOW_MS as Va, POLL_STEADY_MS as Ha, POLL_STEADY_UNTIL_MS as Ua, pollDelayMs as Wa } from "./shared/assistant/voice/assistantPollSchedule.js";
57
+ import { toCaptionText as Ga } from "./shared/assistant/voice/captionText.js";
58
+ import { ASSISTANT_LANGUAGES as Ka, DEFAULT_SPEECH_RATE as qa, findAssistantLanguage as Ja, resolveAssistantLanguage as Ya } from "./shared/assistant/voice/languages.js";
59
+ import { replyFollowsInput as Xa, resolveLanguagePair as Za } from "./shared/assistant/voice/languagePair.js";
60
+ import { INITIAL_TRANSCRIPT_AUTO_OPEN as Qa, isAwaitingOwnConversation as $a, maySendSpokenTurn as eo, planTranscriptAutoOpen as to, planVoiceSessionBinding as no, planVoiceSessionStart as ro, planVoiceSpokenEntry as io, voiceBindingAtStart as ao, voiceBindingConversationId as oo } from "./shared/assistant/voice/voiceReopen.js";
61
+ import { findPendingWrite as so, parseConfirmationRefusal as co } from "./shared/assistant/pendingWrite.js";
62
+ import { BOILERPLATE_PAGE_SHARE as lo, MAX_BOILERPLATE_LINE_CHARS as uo, MAX_EXTRACTED_CHARS as fo, MAX_PDF_PAGES_SCANNED as po, MIN_PAGE_TEXT_CHARS as mo, MIN_TEXT_PAGE_SHARE as ho, columnLetterToIndex as go, decodeXmlEntities as _o, docxXmlToText as vo, fitPdfPages as yo, formatPageRanges as bo, isMostlyImagePages as xo, joinSheets as So, pageMarker as Co, parseSharedStrings as wo, parseWorkbookSheets as To, pdfTextItemsToPage as Eo, sheetXmlToRows as Do, summarisePageText as Oo, truncatePagesForInline as ko } from "./shared/assistant/documentText.js";
63
+ import { ATTACHMENT_ACCEPT as Ao, AttachmentRejectedError as jo, DEFAULT_INLINE_LIMITS as Mo, INLINE_IMAGE_MAX_DIM as No, INLINE_IMAGE_QUALITY as Po, MAX_ATTACHMENTS as Fo, MAX_CONFIGURABLE_INLINE_CHARS as Io, MAX_FILE_BYTES as Lo, MAX_INLINE_CHARS_PER_FILE as Ro, MAX_INLINE_CHARS_TOTAL as zo, MAX_INLINE_IMAGE_BASE64_CHARS as Bo, MAX_INLINE_IMAGE_PARTS as Vo, MAX_INLINE_TURN_BODY_BYTES as Ho, MAX_TURN_BODY_BYTES as Uo, PROMPT_ENVELOPE_RESERVE_BYTES as Wo, PROVIDER_READABLE_FILE_MEDIA_TYPES as Go, TURN_BODY_HEADROOM_BYTES as Ko, buildAttachmentPromptBlock as qo, buildPromptParts as Jo, buildPromptWithAttachments as Yo, classifyAttachment as Xo, countInlineImageCandidates as Zo, countInlinedImageParts as Qo, detectDocumentFormat as $o, estimateTurnBodyBytes as es, formatBytes as ts, getAttachmentSendBlocker as ns, getExtension as rs, getSendableAttachments as is, hasAttachmentWorkInFlight as as, isProviderReadableFilePart as os, largestInlineCharsPerFile as ss, parseDataUrl as cs, resolveAssistantInlineLimits as ls, toMessageAttachment as us, truncateForInline as ds, validateFile as fs } from "./shared/assistant/attachments.js";
64
+ import { ATTACHMENT_SOURCES as ps, availableAttachmentSources as ms, deviceHasCamera as hs } from "./shared/assistant/attachmentSources.js";
65
+ import { WRITE_PROPOSAL_ERROR_COPY as gs, writeProposalErrorLine as _s } from "./shared/assistant/writeProposalErrorCopy.js";
66
+ import { VOICE_PROPOSAL_MODE as vs, WRITE_PROPOSAL_READBACK_HIDDEN as ys, WRITE_PROPOSAL_VOICE_COPY as bs, isVoiceProposalBound as xs, renderWriteProposalReadback as Ss, voiceProposalChip as Cs, voiceProposalChipText as ws, voiceReadbacksDue as Ts, voiceWaitingProposals as Es, writeProposalVoiceLine as Ds, writeProposalVoiceReadback as Os } from "./shared/assistant/writeProposalVoice.js";
67
+ import { ASSISTANT_I18N_COMPUTED_COPY as ks, ASSISTANT_I18N_LITERAL_COPY as As, ASSISTANT_I18N_MANIFEST as js, ASSISTANT_I18N_SEED_COMPAT_COPY as Ms, assistantI18nSeedCopy as Ns, assistantModeI18nCopy as Ps } from "./shared/assistant/i18nManifest.js";
68
+ import { ADMIN_MODE_ACCESS_WAIT_MS as Fs, adminOnlyModeSendRefusalAfterAccess as Is, createAdminModeAccessGate as Ls, resolveAssistantSendModeAfterAccess as Rs, unofferedModeSendRefusalAfterAccess as zs } from "./shared/assistant/adminModeSendGate.js";
69
+ import { buildBoundedAttachmentTurn as Bs } from "./shared/assistant/attachmentTurn.js";
70
+ import { SPOKEN_LABEL_LANGUAGES as Vs, speechLabelsFor as Hs } from "./shared/assistant/voice/speechLabels.js";
71
+ import { detectScriptLocale as Us, resolveSpeechLocale as Ws } from "./shared/assistant/voice/replyLanguage.js";
72
+ import { AWAITING_FIRST_CHUNK as Gs, IDLE_PLAYBACK as Ks, captionChunks as qs, isAwaitingFirstChunk as Js, isSpeakingMessage as Ys, publishedChunks as Xs, requiresCancel as Zs, speechPlaybackReducer as Qs } from "./shared/assistant/voice/speechPlayback.js";
73
+ import { isTurnInFlight as $s, planAbandonedTurn as ec, planTurnAbort as tc } from "./shared/assistant/turnState.js";
74
+ import { isLegacyFiller as nc, isLegacyStopped as rc, isStageCopy as ic, stripLegacyFillerPrefix as ac } from "./shared/assistant/legacyFiller.js";
75
+ import { getAssistantDisplayContent as oc } from "./shared/assistant/displayContent.js";
76
+ import { elapsedSince as sc, msUntilNextPhrase as cc, startPhraseTicker as lc, turnActivityCopy as uc, turnActivityStage as dc } from "./shared/assistant/turnActivity.js";
77
+ import { NO_FIRST_TEXT as fc, buildAssistantProgress as pc, readAheadFor as mc, snapshotReplyFloor as hc, startSessionReadAhead as gc, trackFirstText as _c } from "./shared/assistant/turnProgress.js";
78
+ import { AssistantToolActivity as vc, parseToolActivity as yc } from "./shared/assistant/ui/AssistantToolActivity.js";
79
+ import { countSpokenTurns as bc, spokenMessagesSinceContinueNote as xc, spokenTurnText as Sc } from "./shared/assistant/spokenTurns.js";
80
+ import { REDUCED_MOTION_ATTRIBUTE as Cc, REDUCED_MOTION_QUERY as wc, readReducedMotion as Tc, subscribeReducedMotion as Ec, usePrefersReducedMotion as Dc } from "./shared/assistant/ui/usePrefersReducedMotion.js";
81
+ import { AssistantAvatar as Oc } from "./shared/assistant/ui/AssistantAvatar.js";
82
+ import { TURN_MILESTONES as kc, TURN_SEGMENTS as Ac, TURN_TIMELINE_EVENT as jc, beginTurn as Mc, describeTurn as Nc, detectTurnDevice as Pc, isComparableTurn as Fc, markTurn as Ic, recentTurnTimelines as Lc, resetTurnTimelines as Rc, restartAttempt as zc, segmentStats as Bc, subscribeTurnTimelines as Vc, summariseTurnTimelines as Hc, turnClockMs as Uc, turnSegments as Wc, turnTimeline as Gc } from "./shared/assistant/turnTimeline.js";
83
+ import { AssistantSpeechProvider as Kc, useAssistantSpeech as qc } from "./shared/assistant/ui/AssistantSpeechProvider.js";
84
+ import { useVoiceSession as Jc } from "./shared/assistant/ui/useVoiceSession.js";
85
+ import { getActorId as Yc, getOrganizationId as Xc, getWorkspaceId as Zc } from "./shared/assistant/context.js";
86
+ import { isMultimodalBodyRejection as Qc, isNeverRecoverableAssistantError as $c, isRecoverableAssistantError as el } from "./shared/assistant/transportErrors.js";
87
+ import { SANDBOX_READY_TTL_MS as tl, createReadinessTracker as nl, isRecentlyVerified as rl, planAfterTransportFailure as il, planTrustedSandboxFailure as al } from "./shared/assistant/sandboxReadiness.js";
88
+ import { AssistantAutoSpeakToggle as ol } from "./shared/assistant/ui/AssistantAutoSpeakToggle.js";
89
+ import { AssistantMessageAttachments as sl } from "./shared/assistant/ui/AssistantMessageAttachments.js";
90
+ import { AssistantPendingWriteCard as cl } from "./shared/assistant/ui/AssistantPendingWriteCard.js";
91
+ import { WRITE_PROPOSAL_MASK as ll, formatWriteProposalValue as ul, redactWriteProposalText as dl, useWriteProposalRemainingMs as fl, writeProposalArgumentValues as pl, writeProposalConfirmState as ml, writeProposalCountdownText as hl, writeProposalGatewayText as gl, writeProposalKindText as _l, writeProposalRemainingMs as vl, writeProposalRootFieldName as yl, writeProposalSensitiveTexts as bl, writeProposalVariableValues as xl } from "./shared/assistant/ui/writeProposalPresentation.js";
92
+ import { AssistantWriteProposalCard as Sl, WRITE_PROPOSAL_DIALOG_KINDS as Cl, WRITE_PROPOSAL_PRESENTED_AFTER_MS as wl, writeProposalUsesDialog as Tl } from "./shared/assistant/ui/AssistantWriteProposalCard.js";
93
+ import { AssistantWriteConfirmDialog as El, WRITE_CONFIRM_ARM_MS as Dl } from "./shared/assistant/ui/AssistantWriteConfirmDialog.js";
94
+ import { askProductToConfirmWrite as Ol } from "./shared/assistant/writeConfirmSeam.js";
95
+ import { useWriteProposalConfirm as kl } from "./shared/assistant/ui/useWriteProposalConfirm.js";
96
+ import { AssistantWriteProposalSlot as Al } from "./shared/assistant/ui/AssistantWriteProposalSlot.js";
97
+ import { AssistantPreviewProvider as jl, useAssistantPreview as Ml } from "./shared/assistant/preview/context.js";
98
+ import { IDLE_PREVIEW_STATE as Nl, isBlankProse as Pl, isRunningStatus as Fl, nextPreviewEvents as Il } from "./shared/assistant/preview/previewTransitions.js";
99
+ import { IDLE_PREVIEW as Ll, NO_OWNER as Rl, applyPreviewEvent as zl, createAssistantPreviewSurface as Bl, currentPreviewOwner as Vl, runBelongsTo as Hl, sameOwner as Ul } from "./shared/assistant/preview/surfaceState.js";
100
+ import { createRunIdentityCache as Wl, runIdentities as Gl } from "./shared/assistant/preview/runIdentity.js";
101
+ import { deliverPreviewEvent as Kl, useAssistantPreviewBridge as ql } from "./shared/assistant/preview/useAssistantPreviewBridge.js";
102
+ import { writeActionResultEvents as Jl } from "./shared/assistant/preview/writeActionResults.js";
103
+ import { WRITE_PROPOSAL_ERROR_CODES as Yl, WRITE_PROPOSAL_SANDBOX_MODE as Xl, WriteProposalError as Zl, createSandboxWriteProposalClient as Ql, isWriteProposalError as $l, parseWriteProposalView as eu } from "./shared/assistant/writeProposals.js";
104
+ import { WRITE_PROPOSAL_MAX_POLL_FAILURES as tu, WRITE_PROPOSAL_POLL_MS as nu, asWriteProposalError as ru, createWriteProposalDiscovery as iu, newWriteProposalRequestId as au, readWriteProposalRefs as ou, writeProposalBelongsTo as su, writeProposalSessionsToReopen as cu, writeProposalsEnabledFor as lu } from "./shared/assistant/writeProposalDiscovery.js";
105
+ import { WRITE_REPLY_DECLINE_WAIT_MS as uu, planWriteReply as du, promptWriteApproval as fu, settleWithin as pu, writeReplyLiveState as mu } from "./shared/assistant/writeReplySend.js";
106
+ import { useWriteProposals as hu } from "./shared/assistant/ui/useWriteProposals.js";
107
+ import { AssistantLanguageMenu as gu } from "./shared/assistant/ui/AssistantLanguageMenu.js";
108
+ import { AssistantReplyLanguageSelector as _u } from "./shared/assistant/ui/AssistantReplyLanguageSelector.js";
109
+ import { AssistantSpeakButton as vu } from "./shared/assistant/ui/AssistantSpeakButton.js";
110
+ import { AssistantSpokenTurnsNotice as yu } from "./shared/assistant/ui/AssistantSpokenTurnsNotice.js";
111
+ import { AssistantConnectSourceProvider as bu, connectSourceHrefRenders as xu, hasConnectSource as Su, useAssistantConnectSource as Cu } from "./shared/assistant/ui/composer/connectSource.js";
112
+ import { AssistantConnectSourceItem as wu, connectSourceActivation as Tu } from "./shared/assistant/ui/composer/AssistantConnectSourceItem.js";
113
+ import { ASSISTANT_OVERLAY_ATTR as Eu, ASSISTANT_PANEL_ATTR as Du, ASSISTANT_VOICE_SESSION_ATTR as Ou, NO_PANEL_OVERLAY as ku, activePanelOverlay as Au, assistantPanelOwnsEscape as ju, escapeDismisses as Mu, focusIsInsidePanel as Nu, nextPanelOverlays as Pu, panelOwnsEscape as Fu, voiceSessionOwnsEscape as Iu } from "./shared/assistant/ui/panelOverlays.js";
114
+ import { useDropdownEscape as Lu } from "./shared/assistant/ui/useDropdownEscape.js";
115
+ import { AssistantAttachmentButton as Ru } from "./shared/assistant/ui/composer/AssistantAttachmentButton.js";
116
+ import { AssistantAttachmentChips as zu } from "./shared/assistant/ui/composer/AssistantAttachmentChips.js";
117
+ import { hasAssistantPreviewSurface as Bu } from "./shared/assistant/preview/types.js";
118
+ import { IDLE_ACTIVE_TAB as Vu, nextActiveTab as Hu, pinActiveTab as Uu, shouldPinOnMove as Wu, shouldPinOnSelect as Gu, stepsFromToolActivity as Ku, tabForArrowKey as qu } from "./shared/assistant/preview/entity/entityPreviewState.js";
119
+ import { AssistantStepRail as Ju } from "./shared/assistant/preview/entity/AssistantStepRail.js";
120
+ import { AssistantEntityPreview as Yu } from "./shared/assistant/preview/entity/AssistantEntityPreview.js";
121
+ import { useOverlayFocus as Xu } from "./shared/assistant/ui/useOverlayFocus.js";
122
+ import { HostedPreviewBridgeContext as Zu, panelOwnedPreviewBridge as Qu, useHostedAssistantPreviewBridge as $u } from "./shared/assistant/preview/bridgeHostContext.js";
123
+ import { AssistantPreviewBridgeHost as ed } from "./shared/assistant/preview/bridgeHost.js";
124
+ import { AssistantPreviewOverlay as td } from "./shared/assistant/preview/AssistantPreviewOverlay.js";
125
+ import { AssistantLanguageSelector as nd, FOLLOW_APP_LOCALE as rd } from "./shared/assistant/ui/composer/AssistantLanguageSelector.js";
126
+ import { ASSISTANT_MODE_META as id, AUTO_MODE_OPTION_ID as ad, AssistantModeSelector as od, assistantModeMeta as sd, nextModeIndex as cd } from "./shared/assistant/ui/composer/AssistantModeSelector.js";
127
+ import { AssistantVoiceButton as ld, ListeningDot as ud } from "./shared/assistant/ui/composer/AssistantVoiceButton.js";
128
+ import { AUTO_VOICE as dd, AssistantVoiceSelector as fd } from "./shared/assistant/ui/composer/AssistantVoiceSelector.js";
129
+ import { AssistantVoiceGraceSelector as pd } from "./shared/assistant/ui/composer/AssistantVoiceGraceSelector.js";
130
+ import { AssistantVoiceOrb as md } from "./shared/assistant/ui/voice/AssistantVoiceOrb.js";
131
+ import { AssistantVoiceSessionButton as hd } from "./shared/assistant/ui/voice/AssistantVoiceSessionButton.js";
132
+ import { CAPTION_SCROLL_ATTR as gd, VoiceCaption as _d } from "./shared/assistant/ui/voice/VoiceCaption.js";
133
+ import { VoiceConversationView as vd } from "./shared/assistant/ui/voice/VoiceConversationView.js";
134
+ import { VoiceWaveform as yd } from "./shared/assistant/ui/voice/VoiceWaveform.js";
135
+ import { VoiceStatusLine as bd, VoiceStatusText as xd } from "./shared/assistant/ui/voice/VoiceStatusText.js";
136
+ import { VoiceMiniController as Sd } from "./shared/assistant/ui/voice/VoiceMiniController.js";
137
+ import { VoiceStage as Cd } from "./shared/assistant/ui/voice/VoiceStage.js";
138
+ import { AssistantHistoryArchivedNotice as wd, AssistantHistoryDeletedNotice as Td, AssistantHistoryLoadState as Ed, AssistantHistoryPinLimitBanner as Dd, AssistantHistoryReadOnlyBanner as Od, AssistantHistoryShowEarlier as kd, AssistantHistoryUnsavedDeleteNotice as Ad } from "./shared/assistant/ui/AssistantHistoryNotices.js";
139
+ import { VoiceTranscriptDrawer as jd } from "./shared/assistant/ui/voice/VoiceTranscriptDrawer.js";
140
+ import { ASSISTANT_BOTTOM_CHROME_CLEARANCE as Md, ASSISTANT_DIALOG_SELECTOR as Nd, ASSISTANT_DOCKED_DESKTOP_CLASS as Pd, ASSISTANT_DOCK_WIDTH_PX as Fd, ASSISTANT_DOCK_WIDTH_VAR as Id, ASSISTANT_FLOATING_DESKTOP_CLASS as Ld, ASSISTANT_FLOATING_RIGHT_PX as Rd, ASSISTANT_FLOATING_WIDTH_PX as zd, ASSISTANT_OVERLAY_DEFAULT_TOP_PX as Bd, ASSISTANT_OVERLAY_DESKTOP_QUERY as Vd, ASSISTANT_OVERLAY_TOP_VAR as Hd, ASSISTANT_PANEL_INSET_VAR as Ud, ASSISTANT_SHEET_BASE_CLASS as Wd, ASSISTANT_SHEET_COMPACT_CLASS as Gd, ASSISTANT_SHEET_EXPANDED_CLASS as Kd, ASSISTANT_TOGGLE_SHORTCUT_LABEL as qd, aboveAssistantBottomChrome as Jd, assistantOverlayClassName as Yd, assistantOverlayEscapeAction as Xd, assistantOverlayKeys as Zd, assistantQuotaKindOf as Qd, closestAround as $d, createAssistantNavigate as ef, isAssistantToggleShortcut as tf, nextAssistantOpenState as nf, publishedAssistantDockWidth as rf, publishedAssistantPanelInset as af, readAssistantOverlayFlag as of, requestedAssistantOpenState as sf, writeAssistantOverlayFlag as cf } from "./shared/assistant/ui/assistantOverlayState.js";
141
+ import { VOICE_ESCAPE_LAYER_SELECTOR as lf, VOICE_ESCAPE_MODAL_SELECTOR as uf, escapeBelongsToLayerAbove as df, voiceSessionEscapeAction as ff } from "./shared/assistant/ui/voice/voiceSessionEscape.js";
142
+ import { downloadFile as pf, exportConversation as mf } from "./shared/assistant/exportConversation.js";
143
+ import { AssistantMoreMenu as hf } from "./shared/assistant/ui/AssistantMoreMenu.js";
144
+ import { AssistantHeader as gf } from "./shared/assistant/ui/AssistantHeader.js";
145
+ import { AssistantHistoryControlsUnavailableError as _f, AssistantHistoryResponseError as vf, AssistantHistoryScopeInactiveError as yf, AssistantHistorySearchQueryError as bf, AssistantHistorySearchUnavailableError as xf } from "./shared/assistant/history/historyTransportErrors.js";
146
+ import { ASSISTANT_HISTORY_BACKOFF_BASE_MS as Sf, ASSISTANT_HISTORY_BACKOFF_MAX_MS as Cf, ASSISTANT_HISTORY_QUOTA_RETRY_MS as wf, ASSISTANT_HISTORY_REJECTION_KEYS as Tf, ASSISTANT_HISTORY_SCHEMA_PAUSE_MS as Ef, assistantHistoryBackoffMs as Df, classifyAssistantHistoryError as Of, isAssistantHistoryControlsDrift as kf, planAssistantHistoryRetry as Af } from "./shared/assistant/history/historyErrors.js";
147
+ import { ASSISTANT_HISTORY_CHANGES_OPERATION as jf, ASSISTANT_HISTORY_CHANGES_QUERY as Mf, ASSISTANT_HISTORY_CHANGES_QUERY_BASE as Nf, ASSISTANT_HISTORY_CONVERSATIONS_OPERATION as Pf, ASSISTANT_HISTORY_CONVERSATIONS_QUERY as Ff, ASSISTANT_HISTORY_CONVERSATIONS_QUERY_BASE as If, ASSISTANT_HISTORY_DELETE_MUTATION as Lf, ASSISTANT_HISTORY_DELETE_MUTATION_BASE as Rf, ASSISTANT_HISTORY_DELETE_OPERATION as zf, ASSISTANT_HISTORY_ENTRIES_OPERATION as Bf, ASSISTANT_HISTORY_ENTRIES_QUERY as Vf, ASSISTANT_HISTORY_ENTRIES_QUERY_BASE as Hf, ASSISTANT_HISTORY_OPERATIONS as Uf, ASSISTANT_HISTORY_SAVE_MUTATION as Wf, ASSISTANT_HISTORY_SAVE_MUTATION_BASE as Gf, ASSISTANT_HISTORY_SAVE_OPERATION as Kf, ASSISTANT_HISTORY_SEARCH_OPERATION as qf, ASSISTANT_HISTORY_SEARCH_QUERY as Jf, ASSISTANT_HISTORY_UPDATE_MUTATION as Yf, ASSISTANT_HISTORY_UPDATE_OPERATION as Xf, buildHistoryDeleteVariables as Zf, buildHistoryEntriesVariables as Qf, buildHistoryListVariables as $f, buildHistoryPageVariables as ep, buildHistorySaveVariables as tp, buildHistorySearchVariables as np, buildHistoryUpdateVariables as rp } from "./shared/assistant/history/historyOperations.js";
148
+ import { ASSISTANT_HISTORY_SEARCH_DEBOUNCE_MS as ip, ASSISTANT_HISTORY_SEARCH_MAX_CODE_POINTS as ap, ASSISTANT_HISTORY_SEARCH_MIN_CODE_POINTS as op, ASSISTANT_HISTORY_SEARCH_PAGE_SIZE as sp, clampHistorySearchText as cp, createHistorySearchMatcher as lp, foldHistorySearchText as up, isServerHistorySearchQuery as dp, normaliseHistorySearchQuery as fp } from "./shared/assistant/history/historySearchQuery.js";
149
+ import { historyTimestampToIso as pp } from "./shared/assistant/history/historyTimestamps.js";
150
+ import { ASSISTANT_HISTORY_CONTROLS_RECHECK_MS as mp, ASSISTANT_HISTORY_MASKED_DRIFT_STREAK as hp, createGatewayHistoryTransport as gp } from "./shared/assistant/history/historyApi.js";
151
+ import { LEGACY_HISTORY_KEY_PREFIX as _p, assistantHistoryScopeKey as vp, completeAssistantHistoryScope as yp, isLegacyHistoryConvKey as bp, legacyHistoryConvKey as xp } from "./shared/assistant/history/historyTypes.js";
152
+ import { ASSISTANT_HISTORY_MAX_CACHED_CONVERSATIONS as Sp, conversationHasHistory as Cp, historyConvKeyOf as wp, historyHeaderOf as Tp, historyListRowOf as Ep, historyRowAcceptsControls as Dp, historyScopeKeyOfStamp as Op, isOtherScopeHistoryConversation as kp, isReadOnlyHistoryConversation as Ap, isReusableHistoryDraft as jp, materializeHistoryHeader as Mp, resolveHistoryReopenMode as Np, selectAssistantHistoryList as Pp, selectHistoryEvictions as Fp } from "./shared/assistant/history/historyList.js";
153
+ import { HISTORY_CLIENT_ID_PATTERN as Ip, HISTORY_ENTRY_CONTENT_CAP_BYTES as Lp, HISTORY_MAX_CONTENT_BYTES as Rp, HISTORY_METADATA_ENVELOPE_MAX_BYTES as zp, HISTORY_METADATA_KEYS as Bp, HISTORY_REQUEST_HEADROOM_BYTES as Vp, HISTORY_SAVE_REQUEST_BUDGET_BYTES as Hp, HISTORY_TRUNCATION_MARKER as Up, filterHistoryMetadata as Wp, fitHistoryMetadataEnvelope as Gp, fromHistoryEntry as Kp, historyEntriesMatchKind as qp, isHistoryClientId as Jp, measureHistorySaveRequest as Yp, toHistoryEntries as Xp, toStorableHistoryText as Zp, truncateUtf8 as Qp, utf8ByteLength as $p } from "./shared/assistant/history/historyMapping.js";
154
+ import { HISTORY_CATCH_UP_MAX_GAP as em, HISTORY_CATCH_UP_PAGE as tm, HISTORY_LOAD_PAGE as nm, applyHistoryPage as rm, highestContiguousHistorySeq as im, mergeHistoryMessages as am, planHistoryEarlierLoad as om, planHistoryOpenLoad as sm } from "./shared/assistant/history/historyMerge.js";
155
+ import { assistantHistoryGenerationOf as cm, createAssistantHistoryStatusStore as lm, isCurrentAssistantHistoryGeneration as um, useAssistantHistoryStatus as dm } from "./shared/assistant/history/historyStatus.js";
156
+ import { createProfileBoundStorage as fm } from "./shared/assistant/history/profileBoundStorage.js";
157
+ import { ASSISTANT_HISTORY_DONE_TTL_MS as pm, ASSISTANT_HISTORY_MAX_HEADERS as mm, ASSISTANT_HISTORY_MAX_TOMBSTONES as hm, ASSISTANT_HISTORY_STORAGE_NAME as gm, ASSISTANT_HISTORY_TOMBSTONE_TTL_MS as _m, assistantHistoryStore as vm, boundAssistantHistoryHeaders as ym, createAssistantHistoryStore as bm, emptyAssistantHistoryPersisted as xm, emptyAssistantHistoryScopeState as Sm, headerHasControls as Cm, isNewerAssistantHistoryFormat as wm, mergeAssistantHistoryPersisted as Tm, mergeAssistantHistoryWithStored as Em, pruneAssistantHistoryPersisted as Dm, readAssistantHistoryPersisted as Om, settleAssistantHistory as km, useAssistantHistoryStore as Am } from "./shared/assistant/history/historyStore.js";
158
+ import { ASSISTANT_HISTORY_RESET_TRUST_MS as jm, assistantHistory as Mm, createAssistantHistoryEngine as Nm, createSystemHistoryClock as Pm } from "./shared/assistant/history/historyEngine.js";
159
+ import { ASSISTANT_HISTORY_SEARCH_MAX_RETRY_MS as Fm, createHistorySearchController as Im, historySearchBusyDelay as Lm, newestHistoryHeader as Rm, selectHistorySearchList as zm } from "./shared/assistant/history/historySearch.js";
160
+ import { useAssistantHistorySearch as Bm } from "./shared/assistant/history/useAssistantHistorySearch.js";
161
+ import { AssistantConversationFilters as Vm } from "./shared/assistant/ui/AssistantConversationFilters.js";
162
+ import { AssistantHistorySearchBox as Hm } from "./shared/assistant/ui/AssistantHistorySearchBox.js";
163
+ import { AssistantConversationList as Um } from "./shared/assistant/ui/AssistantConversationList.js";
164
+ import { AssistantEmptyState as Wm } from "./shared/assistant/ui/AssistantEmptyState.js";
165
+ import { AssistantDeleteConversationDialog as Gm, AssistantNothingToDeleteNotice as Km, DELETE_CONFIRM_ARM_MS as qm } from "./shared/assistant/ui/AssistantDeleteConversationDialog.js";
166
+ import { assistantHistoryIsOn as Jm, deleteAssistantConversation as Ym } from "./shared/assistant/ui/conversationDelete.js";
167
+ import { AssistantConversationDeleteDialogProvider as Xm, useConversationDeleteDialog as Zm } from "./shared/assistant/ui/conversationDeleteDialog.js";
168
+ import { resolveConversationDeleteTarget as Qm } from "./shared/assistant/conversationDeleteCommand.js";
169
+ import { HISTORY_RESUME_CLOSE as $m, HISTORY_RESUME_MAX_ANSWER_CHARS as eh, HISTORY_RESUME_MAX_CHARS as th, HISTORY_RESUME_MAX_EXCHANGES as nh, HISTORY_RESUME_MAX_PROMPT_CHARS as rh, HISTORY_RESUME_OPEN as ih, buildHistoryResumePreamble as ah, isKnownReadOnlyMode as oh, resumeContextFor as sh } from "./shared/assistant/history/historyResume.js";
170
+ import { useAssistantServerHistory as ch } from "./shared/assistant/history/useAssistantServerHistory.js";
171
+ import { useHistoryRowControlsFor as lh } from "./shared/assistant/history/useHistoryRowControls.js";
172
+ import { AssistantTurnActivity as uh, TurnActivityLine as dh } from "./shared/assistant/ui/AssistantTurnActivity.js";
173
+ import { AssistantMessageItem as fh, StreamingCaret as ph } from "./shared/assistant/ui/AssistantMessageItem.js";
174
+ import { AssistantMessageList as mh } from "./shared/assistant/ui/AssistantMessageList.js";
175
+ import { AssistantVoiceSession as hh } from "./shared/assistant/ui/voice/AssistantVoiceSession.js";
176
+ import { ASSISTANT_ADMIN_ACTION as gh, ASSISTANT_ADMIN_RESOURCE_TYPE as _h, WORKSPACE_ASSISTANT_ADMIN_QUERY as vh, probeWorkspaceAssistantAdmin as yh, useAssistantApiAccess as bh } from "./shared/assistant/useAssistantApiAccess.js";
177
+ import { useConversationTurns as xh } from "./shared/assistant/useConversationTurns.js";
178
+ import { ABANDONED_TURN_OUTCOME as Sh, MAX_REPORTED_TURN_MS as Ch, TURN_TIMING_REPORT_FIELDS as wh, TURN_TIMING_STAGES as Th, buildAbandonedTurnReport as Eh, buildTurnTimingReport as Dh, isFinishedTurn as Oh } from "./shared/assistant/turnTimingReport.js";
179
+ import { TURN_TIMING_REPORTING as kh, createTurnTimingNonce as Ah, createTurnTimingReporter as jh, resetTurnTimingReporting as Mh, sendAssistantTurnTimings as Nh, startTurnTimingReporting as Ph } from "./shared/assistant/turnTimingReporter.js";
180
+ import { PREOPEN_MAX_AGE_MS as Fh, PREOPEN_MAX_ENTRIES as Ih, PREWARM_COOLDOWN_MS as Lh, QuarantineSet as Rh, WarmCancelled as zh, claimPreopenedSession as Bh, consumeWarm as Vh, dropPreopenedFor as Hh, preopenKey as Uh, preopenWanted as Wh, preopenedCountForTest as Gh, prewarmTarget as Kh, resetWarmsForTest as qh, settleWarmBeforeSend as Jh, startPreopen as Yh, startWarm as Xh, warmState as Zh } from "./shared/assistant/prewarm.js";
181
+ import { BACK_GRAMMAR as Qh, isBackRequest as $h, isThereRequest as eg, parseChoice as tg } from "./shared/assistant/uiActions/deixis.js";
182
+ import { fillEntityRoute as ng, matchEntityRoute as rg } from "./shared/assistant/uiActions/entityRoutes.js";
183
+ import { ENTITY_TARGET_PREFIX as ig, isEntityTarget as ag, navEntryIds as og, resolveInAppLinks as sg, resolveUiTarget as cg } from "./shared/assistant/uiActions/resolveTarget.js";
184
+ import { RECORD_CHOICE_MAX as lg, parseRecordRequest as ug, planRecordResolution as dg } from "./shared/assistant/uiActions/recordNames.js";
185
+ import { LINKED_CHOICE_MAX as fg, isAlreadyThere as pg, isCurrentPath as mg, matchLocalUiCommand as hg, navDestinations as gg, normaliseUtterance as _g, planThemeChange as vg, singularVariants as yg } from "./shared/assistant/localUiCommands.js";
186
+ import { backDoneCopy as bg, chooseDestinationCopy as xg, chooseLinkedCopy as Sg, entityNounText as Cg, linkNotOpenableCopy as wg, navigationCommandCopy as Tg, navigationOutcomeCopy as Eg, pickFromListCopy as Dg, recordChoiceCopy as Og, recordKindsCopy as kg, themeCommandCopy as Ag } from "./shared/assistant/localUiCommandCopy.js";
187
+ import { NAVIGATION_CEILING_MS as jg, NAVIGATION_POLL_MS as Mg, NAVIGATION_QUIET_MS as Ng, pathnameOf as Pg, runNavigation as Fg } from "./shared/assistant/uiActions/navigationOutcome.js";
188
+ import { BACK_STACK_CAPACITY as Ig, assistantBackStack as Lg, createBackStack as Rg, isBackRunnable as zg } from "./shared/assistant/uiActions/backStack.js";
189
+ import { NAVIGATE_RECORD_BUDGET_BYTES as Bg, buildNavigateAction as Vg, destinationForPath as Hg, labelForPath as Ug, newestAssistantOnSurface as Wg, outcomeStatus as Gg } from "./shared/assistant/uiActions/navigateAction.js";
190
+ import { LINK_TEXT_MAX as Kg, extractInAppLinks as qg } from "./shared/assistant/uiActions/inAppLinks.js";
191
+ import { buildNavigationContext as Jg, clearPresentedLists as Yg, latestReplyOnSurface as Xg, presentedListFor as Zg, rememberPresentedList as Qg } from "./shared/assistant/uiActions/linkContext.js";
192
+ import { UI_CATALOGUE_MAX_BYTES as $g, UI_CATALOGUE_MAX_ENTRIES as e_, buildUiCatalogue as t_ } from "./shared/assistant/uiActions/uiCatalogue.js";
193
+ import { aiCreditsUpdatedEventName as n_, dispatchAssistantQuotaExhausted as r_, notifyAiCreditsUpdated as i_ } from "./shared/assistant/aiCredits.js";
194
+ import { PROPOSAL_WRITE_RULES as a_ } from "./shared/assistant/proposalWriteRules.js";
195
+ import { useWorkspaceWriteAccess as o_ } from "./shared/assistant/useWorkspaceWriteAccess.js";
196
+ import { extractDocumentText as s_ } from "./shared/assistant/documentExtract.js";
197
+ import { useAssistantAttachments as c_ } from "./shared/assistant/useAssistantAttachments.js";
198
+ import { AssistantComposer as l_ } from "./shared/assistant/ui/composer/AssistantComposer.js";
199
+ import { isProdRuntime as u_ } from "./shared/assistant/env.js";
200
+ import { useAssistantHeartbeat as d_ } from "./shared/assistant/useAssistantHeartbeat.js";
201
+ import { useAssistantKeyboardShortcuts as f_ } from "./shared/assistant/useAssistantKeyboardShortcuts.js";
202
+ import { AssistantApiCallsConsentDialog as p_ } from "./shared/assistant/ui/AssistantApiCallsConsentDialog.js";
203
+ import { AssistantChatArea as m_ } from "./shared/assistant/ui/AssistantChatArea.js";
204
+ import { AIAssistantPanel as h_ } from "./shared/assistant/ui/AIAssistantPanel.js";
205
+ import { AssistantOverlay as g_, AssistantOverlayProvider as __, useAssistantDockWidth as v_, useAssistantOverlayOrNull as y_, useAssistantPanelInset as b_, useAssistantQuotaExhausted as x_ } from "./shared/assistant/ui/AssistantOverlay.js";
206
+ export { Sh as ABANDONED_TURN_OUTCOME, Fs as ADMIN_MODE_ACCESS_WAIT_MS, h_ as AIAssistantPanel, gh as ASSISTANT_ADMIN_ACTION, _h as ASSISTANT_ADMIN_RESOURCE_TYPE, ue as ASSISTANT_API_AUTH_STRATEGY, Md as ASSISTANT_BOTTOM_CHROME_CLEARANCE, Nd as ASSISTANT_DIALOG_SELECTOR, Pd as ASSISTANT_DOCKED_DESKTOP_CLASS, Fd as ASSISTANT_DOCK_WIDTH_PX, Id as ASSISTANT_DOCK_WIDTH_VAR, Ld as ASSISTANT_FLOATING_DESKTOP_CLASS, Rd as ASSISTANT_FLOATING_RIGHT_PX, zd as ASSISTANT_FLOATING_WIDTH_PX, Sf as ASSISTANT_HISTORY_BACKOFF_BASE_MS, Cf as ASSISTANT_HISTORY_BACKOFF_MAX_MS, jf as ASSISTANT_HISTORY_CHANGES_OPERATION, Mf as ASSISTANT_HISTORY_CHANGES_QUERY, Nf as ASSISTANT_HISTORY_CHANGES_QUERY_BASE, mp as ASSISTANT_HISTORY_CONTROLS_RECHECK_MS, Pf as ASSISTANT_HISTORY_CONVERSATIONS_OPERATION, Ff as ASSISTANT_HISTORY_CONVERSATIONS_QUERY, If as ASSISTANT_HISTORY_CONVERSATIONS_QUERY_BASE, Lf as ASSISTANT_HISTORY_DELETE_MUTATION, Rf as ASSISTANT_HISTORY_DELETE_MUTATION_BASE, zf as ASSISTANT_HISTORY_DELETE_OPERATION, pm as ASSISTANT_HISTORY_DONE_TTL_MS, Bf as ASSISTANT_HISTORY_ENTRIES_OPERATION, Vf as ASSISTANT_HISTORY_ENTRIES_QUERY, Hf as ASSISTANT_HISTORY_ENTRIES_QUERY_BASE, hp as ASSISTANT_HISTORY_MASKED_DRIFT_STREAK, Sp as ASSISTANT_HISTORY_MAX_CACHED_CONVERSATIONS, mm as ASSISTANT_HISTORY_MAX_HEADERS, hm as ASSISTANT_HISTORY_MAX_TOMBSTONES, Uf as ASSISTANT_HISTORY_OPERATIONS, wf as ASSISTANT_HISTORY_QUOTA_RETRY_MS, Tf as ASSISTANT_HISTORY_REJECTION_KEYS, jm as ASSISTANT_HISTORY_RESET_TRUST_MS, Wf as ASSISTANT_HISTORY_SAVE_MUTATION, Gf as ASSISTANT_HISTORY_SAVE_MUTATION_BASE, Kf as ASSISTANT_HISTORY_SAVE_OPERATION, Ef as ASSISTANT_HISTORY_SCHEMA_PAUSE_MS, ip as ASSISTANT_HISTORY_SEARCH_DEBOUNCE_MS, ap as ASSISTANT_HISTORY_SEARCH_MAX_CODE_POINTS, Fm as ASSISTANT_HISTORY_SEARCH_MAX_RETRY_MS, op as ASSISTANT_HISTORY_SEARCH_MIN_CODE_POINTS, qf as ASSISTANT_HISTORY_SEARCH_OPERATION, sp as ASSISTANT_HISTORY_SEARCH_PAGE_SIZE, Jf as ASSISTANT_HISTORY_SEARCH_QUERY, gm as ASSISTANT_HISTORY_STORAGE_NAME, _m as ASSISTANT_HISTORY_TOMBSTONE_TTL_MS, Yf as ASSISTANT_HISTORY_UPDATE_MUTATION, Xf as ASSISTANT_HISTORY_UPDATE_OPERATION, ks as ASSISTANT_I18N_COMPUTED_COPY, As as ASSISTANT_I18N_LITERAL_COPY, js as ASSISTANT_I18N_MANIFEST, Ms as ASSISTANT_I18N_SEED_COMPAT_COPY, Ka as ASSISTANT_LANGUAGES, E as ASSISTANT_LLM_TERMINAL_CODES, ee as ASSISTANT_MODE_FALLBACK_LABELS, te as ASSISTANT_MODE_IDS, id as ASSISTANT_MODE_META, Eu as ASSISTANT_OVERLAY_ATTR, Bd as ASSISTANT_OVERLAY_DEFAULT_TOP_PX, Vd as ASSISTANT_OVERLAY_DESKTOP_QUERY, Hd as ASSISTANT_OVERLAY_TOP_VAR, Du as ASSISTANT_PANEL_ATTR, Ud as ASSISTANT_PANEL_INSET_VAR, Wd as ASSISTANT_SHEET_BASE_CLASS, Gd as ASSISTANT_SHEET_COMPACT_CLASS, Kd as ASSISTANT_SHEET_EXPANDED_CLASS, qd as ASSISTANT_TOGGLE_SHORTCUT_LABEL, Ou as ASSISTANT_VOICE_SESSION_ATTR, Ao as ATTACHMENT_ACCEPT, ps as ATTACHMENT_SOURCES, Se as AUTO_CARRY_OVER_MAX_CHARS, Ce as AUTO_CARRY_OVER_MAX_CHARS_PER_MESSAGE, we as AUTO_CARRY_OVER_MAX_MESSAGES, ad as AUTO_MODE_OPTION_ID, Te as AUTO_READ_MODE, dd as AUTO_VOICE, Ee as AUTO_WRITE_MODE, Gs as AWAITING_FIRST_CHUNK, p_ as AssistantApiCallsConsentDialog, Ru as AssistantAttachmentButton, zu as AssistantAttachmentChips, ol as AssistantAutoSpeakToggle, Oc as AssistantAvatar, m_ as AssistantChatArea, l_ as AssistantComposer, wu as AssistantConnectSourceItem, bu as AssistantConnectSourceProvider, Xm as AssistantConversationDeleteDialogProvider, Vm as AssistantConversationFilters, Um as AssistantConversationList, Gm as AssistantDeleteConversationDialog, Wm as AssistantEmptyState, Yu as AssistantEntityPreview, gf as AssistantHeader, wd as AssistantHistoryArchivedNotice, _f as AssistantHistoryControlsUnavailableError, Td as AssistantHistoryDeletedNotice, Ed as AssistantHistoryLoadState, Dd as AssistantHistoryPinLimitBanner, Od as AssistantHistoryReadOnlyBanner, vf as AssistantHistoryResponseError, yf as AssistantHistoryScopeInactiveError, Hm as AssistantHistorySearchBox, bf as AssistantHistorySearchQueryError, xf as AssistantHistorySearchUnavailableError, kd as AssistantHistoryShowEarlier, Ad as AssistantHistoryUnsavedDeleteNotice, u as AssistantI18nProvider, gu as AssistantLanguageMenu, nd as AssistantLanguageSelector, h as AssistantMarkdownImage, S as AssistantMarkdownRenderer, sl as AssistantMessageAttachments, fh as AssistantMessageItem, mh as AssistantMessageList, od as AssistantModeSelector, hf as AssistantMoreMenu, C as AssistantNavigateProvider, Km as AssistantNothingToDeleteNotice, g_ as AssistantOverlay, __ as AssistantOverlayProvider, cl as AssistantPendingWriteCard, ed as AssistantPreviewBridgeHost, td as AssistantPreviewOverlay, jl as AssistantPreviewProvider, i as AssistantProductProvider, _u as AssistantReplyLanguageSelector, Un as AssistantRuntimeManager, ir as AssistantSendRefusal, vu as AssistantSpeakButton, Kc as AssistantSpeechProvider, yu as AssistantSpokenTurnsNotice, Ju as AssistantStepRail, vc as AssistantToolActivity, uh as AssistantTurnActivity, ld as AssistantVoiceButton, pd as AssistantVoiceGraceSelector, md as AssistantVoiceOrb, fd as AssistantVoiceSelector, hh as AssistantVoiceSession, hd as AssistantVoiceSessionButton, El as AssistantWriteConfirmDialog, Sl as AssistantWriteProposalCard, Al as AssistantWriteProposalSlot, jo as AttachmentRejectedError, Qh as BACK_GRAMMAR, Ig as BACK_STACK_CAPACITY, lo as BOILERPLATE_PAGE_SHARE, Sr as BUILT_IN_MODE_CAPABILITIES, gd as CAPTION_SCROLL_ATTR, V as CHECK_AI_CREDITS, H as CREATE_SANDBOX, $e as DEFAULT_HISTORY_LIST_FILTER, Mo as DEFAULT_INLINE_LIMITS, wa as DEFAULT_SPEAKABLE_LABELS, qa as DEFAULT_SPEECH_RATE, Ar as DEFAULT_STREAM_BUDGET_MS, He as DEFAULT_VOICE_GRACE_MS, qm as DELETE_CONFIRM_ARM_MS, na as ENDPOINT_GRACE_MS, ig as ENTITY_TARGET_PREFIX, U as EXTEND_MY_ASSISTANT_SANDBOX_TTL, W as EXTEND_SANDBOX_TTL, rd as FOLLOW_APP_LOCALE, G as GET_ACTIVE_SANDBOXES, K as GET_SANDBOX, em as HISTORY_CATCH_UP_MAX_GAP, tm as HISTORY_CATCH_UP_PAGE, Ip as HISTORY_CLIENT_ID_PATTERN, Lp as HISTORY_ENTRY_CONTENT_CAP_BYTES, nm as HISTORY_LOAD_PAGE, Rp as HISTORY_MAX_CONTENT_BYTES, zp as HISTORY_METADATA_ENVELOPE_MAX_BYTES, Bp as HISTORY_METADATA_KEYS, Vp as HISTORY_REQUEST_HEADROOM_BYTES, $m as HISTORY_RESUME_CLOSE, eh as HISTORY_RESUME_MAX_ANSWER_CHARS, th as HISTORY_RESUME_MAX_CHARS, nh as HISTORY_RESUME_MAX_EXCHANGES, rh as HISTORY_RESUME_MAX_PROMPT_CHARS, ih as HISTORY_RESUME_OPEN, Hp as HISTORY_SAVE_REQUEST_BUDGET_BYTES, et as HISTORY_TITLE_MAX_CODE_POINTS, Up as HISTORY_TRUNCATION_MARKER, Jr as HOSTED_DISABLE_MS, Yr as HOSTED_TTS_MAX_CHARS, Wr as HOSTED_TTS_TIER, Gr as HOSTED_VOICES, ui as HOSTED_VOICE_RANK, Zu as HostedPreviewBridgeContext, Vu as IDLE_ACTIVE_TAB, Ks as IDLE_PLAYBACK, Ll as IDLE_PREVIEW, Nl as IDLE_PREVIEW_STATE, Zi as IDLE_ROTATION_CLOCK, jr as INCOMPLETE_TURN_NOTICES, ra as INITIAL_SESSION, Qa as INITIAL_TRANSCRIPT_AUTO_OPEN, No as INLINE_IMAGE_MAX_DIM, Po as INLINE_IMAGE_QUALITY, ia as INTERRUPT_MAX_MS, aa as INTERRUPT_MIN_MS, _p as LEGACY_HISTORY_KEY_PREFIX, Bt as LEGACY_WRITE_CONSENT_KEY, fg as LINKED_CHOICE_MAX, Kg as LINK_TEXT_MAX, ud as ListeningDot, Cr as MAX_ASSISTANT_STREAM_BUDGET_MS, Fo as MAX_ATTACHMENTS, uo as MAX_BOILERPLATE_LINE_CHARS, Io as MAX_CONFIGURABLE_INLINE_CHARS, fo as MAX_EXTRACTED_CHARS, Lo as MAX_FILE_BYTES, Ro as MAX_INLINE_CHARS_PER_FILE, zo as MAX_INLINE_CHARS_TOTAL, Zt as MAX_INLINE_IMAGE_BASE64_BYTES, Bo as MAX_INLINE_IMAGE_BASE64_CHARS, Vo as MAX_INLINE_IMAGE_PARTS, Ho as MAX_INLINE_TURN_BODY_BYTES, po as MAX_PDF_PAGES_SCANNED, tt as MAX_PINNED, Ch as MAX_REPORTED_TURN_MS, Qt as MAX_REQUEST_BODY_BYTES, Ta as MAX_SPEAKABLE_CHARS, Ea as MAX_SPOKEN_TABLE_ROWS, Uo as MAX_TURN_BODY_BYTES, La as MINI_CAPTION_BUDGET, mo as MIN_PAGE_TEXT_CHARS, ho as MIN_TEXT_PAGE_SHARE, Bg as NAVIGATE_RECORD_BUDGET_BYTES, jg as NAVIGATION_CEILING_MS, Mg as NAVIGATION_POLL_MS, Ng as NAVIGATION_QUIET_MS, oa as NOTHING_HEARD, fc as NO_FIRST_TEXT, Rl as NO_OWNER, ku as NO_PANEL_OVERLAY, Tt as PENDING_WRITE_APPROVAL_WINDOW_MS, zi as PHRASE_ROTATE_MS, za as POLL_FAST_MS, Ba as POLL_FAST_UNTIL_MS, Va as POLL_SLOW_MS, Ha as POLL_STEADY_MS, Ua as POLL_STEADY_UNTIL_MS, Fh as PREOPEN_MAX_AGE_MS, Ih as PREOPEN_MAX_ENTRIES, Fa as PREVIEW_LANGUAGES, Lh as PREWARM_COOLDOWN_MS, ie as PRODUCT_ASSISTANT_MODE_ID_MAX_LENGTH, ae as PRODUCT_ASSISTANT_MODE_ID_PATTERN, en as PROMPT_CONVERSATION_ID_PATTERN, Wo as PROMPT_ENVELOPE_RESERVE_BYTES, a_ as PROPOSAL_WRITE_RULES, Go as PROVIDER_READABLE_FILE_MEDIA_TYPES, er as PROVISIONING_NOT_PERMITTED_I18N_KEY, q as PROVISION_ASSISTANT_SANDBOX, J as PROXY_SANDBOX_REQUEST, Rh as QuarantineSet, lg as RECORD_CHOICE_MAX, Cc as REDUCED_MOTION_ATTRIBUTE, wc as REDUCED_MOTION_QUERY, Y as REPORT_AI_TOKEN_USAGE, X as REPORT_MY_ASSISTANT_TURN_TIMINGS, $t as REQUEST_TOO_LARGE_REFUSAL, tl as SANDBOX_READY_TTL_MS, Xr as SPEAKING_RATE_MAX, Zr as SPEAKING_RATE_MAX_STREAMING, Qr as SPEAKING_RATE_MAX_SYNC, $r as SPEAKING_RATE_MIN, Da as SPEECH_CHUNK_CHARS, Oa as SPEECH_CHUNK_CJK_CHARS, ka as SPEECH_FIRST_CHUNK_MAX_CHARS, di as SPEECH_LANG, Vs as SPOKEN_LABEL_LANGUAGES, Bi as STAGE_COPY, e as START_RETRY_COOLDOWN_MS, Z as STOP_ASSISTANT_SANDBOX, Q as STOP_MY_ASSISTANT_SANDBOX, Mr as STREAM_BUDGET_MS, D as SandboxProxyError, ph as StreamingCaret, Vt as TAKE_ACTION_ENGLISH, Vi as THINKING_PHRASES, Ue as TRAILING_RESULT_WINDOW_MS, Ko as TURN_BODY_HEADROOM_BYTES, kc as TURN_MILESTONES, zt as TURN_OUTCOME_COPY, Ac as TURN_SEGMENTS, jc as TURN_TIMELINE_EVENT, kh as TURN_TIMING_REPORTING, wh as TURN_TIMING_REPORT_FIELDS, Th as TURN_TIMING_STAGES, dh as TurnActivityLine, $g as UI_CATALOGUE_MAX_BYTES, e_ as UI_CATALOGUE_MAX_ENTRIES, wr as UNAVAILABLE_MODE_REFUSAL, Tr as UNDECLARED_MODE_CAPABILITIES, lr as USAGE_REPORT_FAILED_EVENT, ur as USAGE_REPORT_RETRY_DELAYS_MS, lf as VOICE_ESCAPE_LAYER_SELECTOR, uf as VOICE_ESCAPE_MODAL_SELECTOR, We as VOICE_GRACE_CHOICES_MS, fi as VOICE_LIST_TIMEOUT_MS, Ki as VOICE_MUTED_LABEL, vs as VOICE_PROPOSAL_MODE, qi as VOICE_THINKING_LABEL, _d as VoiceCaption, vd as VoiceConversationView, Sd as VoiceMiniController, Cd as VoiceStage, bd as VoiceStatusLine, xd as VoiceStatusText, jd as VoiceTranscriptDrawer, yd as VoiceWaveform, $ as WAIT_FOR_SANDBOX_RUNNING, vh as WORKSPACE_ASSISTANT_ADMIN_QUERY, Dl as WRITE_CONFIRM_ARM_MS, Cl as WRITE_PROPOSAL_DIALOG_KINDS, Yl as WRITE_PROPOSAL_ERROR_CODES, gs as WRITE_PROPOSAL_ERROR_COPY, ll as WRITE_PROPOSAL_MASK, tu as WRITE_PROPOSAL_MAX_POLL_FAILURES, nu as WRITE_PROPOSAL_POLL_MS, wl as WRITE_PROPOSAL_PRESENTED_AFTER_MS, ys as WRITE_PROPOSAL_READBACK_HIDDEN, Xl as WRITE_PROPOSAL_SANDBOX_MODE, bs as WRITE_PROPOSAL_VOICE_COPY, Ie as WRITE_REPLY_COPY, uu as WRITE_REPLY_DECLINE_WAIT_MS, Le as WRITE_REPLY_LEXICON, zh as WarmCancelled, Zl as WriteProposalError, tn as abortAssistantTurn, Jd as aboveAssistantBottomChrome, Au as activePanelOverlay, Er as adminOnlyModeSendRefusal, Is as adminOnlyModeSendRefusalAfterAccess, sa as advanceHeardClock, Qi as advanceRotationClock, n_ as aiCreditsUpdatedEventName, Re as analyseWriteReply, rm as applyHistoryPage, zl as applyPreviewEvent, Et as approvalFollowUpReplyIds, nn as approvePendingWrite, Dt as approvedPendingWriteIds, ru as asWriteProposalError, Ol as askProductToConfirmWrite, rn as askReuseMatchesProvisioning, Lg as assistantBackStack, Mm as assistantHistory, Df as assistantHistoryBackoffMs, cm as assistantHistoryGenerationOf, Jm as assistantHistoryIsOn, vp as assistantHistoryScopeKey, vm as assistantHistoryStore, Ns as assistantI18nSeedCopy, O as assistantLlmTerminalCodeOf, ne as assistantModeFallbackLabel, Ps as assistantModeI18nCopy, sd as assistantModeMeta, Yd as assistantOverlayClassName, Xd as assistantOverlayEscapeAction, Zd as assistantOverlayKeys, ju as assistantPanelOwnsEscape, Qd as assistantQuotaKindOf, v as assistantRoutePath, d as assistantTranslationKey, y as assistantUrlTransform, dr as assistantUsageLedger, De as autoCarryOverFor, Oe as autoSuggestions, ms as availableAttachmentSources, bg as backDoneCopy, ei as base64ToBytes, Ot as beginApprovalInFlight, Mc as beginTurn, ym as boundAssistantHistoryHeaders, w as browserShouldHandle, Ur as browserSpeechEngine, Eh as buildAbandonedTurnReport, pc as buildAssistantProgress, an as buildAssistantSandboxEnv, qo as buildAttachmentPromptBlock, ke as buildAutoCarryOver, Bs as buildBoundedAttachmentTurn, xa as buildContinuedFromVoiceNote, Zf as buildHistoryDeleteVariables, Qf as buildHistoryEntriesVariables, $f as buildHistoryListVariables, ep as buildHistoryPageVariables, ah as buildHistoryResumePreamble, tp as buildHistorySaveVariables, np as buildHistorySearchVariables, rp as buildHistoryUpdateVariables, Vg as buildNavigateAction, Jg as buildNavigationContext, Wn as buildProgress, on as buildPromptGatewayRequest, Jo as buildPromptParts, sn as buildPromptRequestBody, Yo as buildPromptWithAttachments, cn as buildProvisionAssistantSandboxInput, ti as buildRequest, R as buildSandboxContextInput, Dh as buildTurnTimingReport, t_ as buildUiCatalogue, Sa as buildVoiceTranscriptMarkdown, oe as builtInModeExtendedBy, qs as captionChunks, Ir as chatTurns, ln as checkAssistantAiCredits, xg as chooseDestinationCopy, Sg as chooseLinkedCopy, Aa as chunkForSpeech, Bh as claimPreopenedSession, cp as clampHistorySearchText, nt as clampToCodePoints, Of as classifyAssistantHistoryError, b as classifyAssistantHref, Ae as classifyAssistantIntent, Xo as classifyAttachment, ni as classifyHttpFailure, N as classifyQuotaError, ar as classifyTurnFailure, fr as classifyUsageReportFailure, ze as classifyWriteReply, Yg as clearPresentedLists, $d as closestAround, rt as coalesceUpdatePatch, it as codePointLength, at as collapseHistoryText, go as columnLetterToIndex, yp as completeAssistantHistoryScope, Ji as composeVoiceStatus, Ti as configureSpeechEngine, Tu as connectSourceActivation, xu as connectSourceHrefRenders, Vh as consumeWarm, ja as containsCjk, Cp as conversationHasHistory, m as copyToClipboard, Zo as countInlineImageCandidates, Qo as countInlinedImageParts, bc as countSpokenTurns, Ls as createAdminModeAccessGate, Nm as createAssistantHistoryEngine, lm as createAssistantHistoryStatusStore, bm as createAssistantHistoryStore, ef as createAssistantNavigate, Bl as createAssistantPreviewSurface, un as createAssistantSandbox, dn as createAssistantSession, Rg as createBackStack, gp as createGatewayHistoryTransport, Fe as createGuardedAssistantStorage, Im as createHistorySearchController, lp as createHistorySearchMatcher, ci as createHostedTtsEngine, fm as createProfileBoundStorage, nl as createReadinessTracker, wi as createRoutingSpeechEngine, Wl as createRunIdentityCache, br as createSandboxAssistantTransport, Ql as createSandboxWriteProposalClient, Ei as createSpeechEngines, Pm as createSystemHistoryClock, Ah as createTurnTimingNonce, jh as createTurnTimingReporter, iu as createWriteProposalDiscovery, Vl as currentPreviewOwner, Be as decideWriteReply, se as declareAssistantMode, ri as decodeAudioResponse, _o as decodeXmlEntities, Ym as deleteAssistantConversation, Kl as deliverPreviewEvent, tr as describePermissionError, P as describeQuotaError, Nc as describeTurn, Hg as destinationForPath, $o as detectDocumentFormat, Us as detectScriptLocale, Pc as detectTurnDevice, hs as deviceHasCamera, ii as disableDurationMs, r_ as dispatchAssistantQuotaExhausted, vo as docxXmlToText, fn as downloadAssistantArtifact, pf as downloadFile, Hh as dropPreopenedFor, sc as elapsedSince, xm as emptyAssistantHistoryPersisted, Sm as emptyAssistantHistoryScopeState, kt as endApprovalInFlight, Cg as entityNounText, je as escalationToUndo, df as escapeBelongsToLayerAbove, Mu as escapeDismisses, es as estimateTurnBodyBytes, z as executeAssistantGraphQLOnce, B as executeSandboxGraphQL, mf as exportConversation, pn as extendAssistantSandboxTTL, F as extensionObjectsIn, s_ as extractDocumentText, qg as extractInAppLinks, ng as fillEntityRoute, Wp as filterHistoryMetadata, Ja as findAssistantLanguage, Dr as findAssistantModeConfig, mn as findExistingSandbox, hn as findExistingSandboxWithStatus, so as findPendingWrite, Gp as fitHistoryMetadataEnvelope, yo as fitPdfPages, Nu as focusIsInsidePanel, up as foldHistorySearchText, At as forgetLiveTurns, ts as formatBytes, or as formatDailyLimitResetTime, bo as formatPageRanges, ul as formatWriteProposalValue, gn as forwardsUserTokensToSandbox, Kp as fromHistoryEntry, Yc as getActorId, jt as getApprovalInFlight, _n as getAssistantArtifacts, oc as getAssistantDisplayContent, Gn as getAssistantMedia, vn as getAssistantMessages, yn as getAssistantSession, bn as getAssistantStreamAccess, Kn as getAssistantText, ns as getAttachmentSendBlocker, _e as getCapability, rs as getExtension, ht as getHistoryStamp, de as getImageForMode, fe as getImageTagForMode, Xc as getOrganizationId, qn as getRawMessageCreatedAt, pe as getResourcesForMode, me as getSandboxImageRegistry, is as getSendableAttachments, Di as getSpeechEngine, Jn as getToolProgress, pr as getUsageBlock, Zc as getWorkspaceId, Mt as goAheadSentReplyIds, Lr as groupBySession, Rr as groupConsecutiveBySession, Bu as hasAssistantPreviewSurface, as as hasAttachmentWorkInFlight, Su as hasConnectSource, mr as hasPendingUsageReports, Cm as headerHasControls, im as highestContiguousHistorySeq, wp as historyConvKeyOf, qp as historyEntriesMatchKind, ot as historyFilterEmptyKind, st as historyFilterKey, Tp as historyHeaderOf, Ep as historyListRowOf, gt as historyOpenFilter, Dp as historyRowAcceptsControls, Op as historyScopeKeyOfStamp, Lm as historySearchBusyDelay, pp as historyTimestampToIso, Kr as hostedLocaleFor, qr as hostedSupportsLanguage, g as imageHostLabel, Nr as incompleteTurnNotice, pg as isAlreadyThere, kf as isAssistantHistoryControlsDrift, k as isAssistantLlmTerminalCode, ce as isAssistantModeId, xn as isAssistantProvisioningUnavailable, tf as isAssistantToggleShortcut, Me as isAutoRoutingOffered, Js as isAwaitingFirstChunk, $a as isAwaitingOwnConversation, $h as isBackRequest, zg as isBackRunnable, Pl as isBlankProse, re as isBuiltInAssistantMode, ca as isCapturing, Fc as isComparableTurn, um as isCurrentAssistantHistoryGeneration, mg as isCurrentPath, Sn as isDedicatedAssistantSandbox, Cn as isDedicatedAssistantSandboxRow, ct as isDefaultHistoryFilter, la as isEcho, ag as isEntityTarget, Oh as isFinishedTurn, Ge as isGenuineUserSpeech, Jp as isHistoryClientId, _t as isHistoryConversationBusy, pi as isHostedVoice, oh as isKnownReadOnlyMode, nc as isLegacyFiller, bp as isLegacyHistoryConvKey, rc as isLegacyStopped, Nt as isLiveTurn, ve as isMissingGatewayFieldError, xo as isMostlyImagePages, Qc as isMultimodalBodyRejection, $c as isNeverRecoverableAssistantError, wm as isNewerAssistantHistoryFormat, kp as isOtherScopeHistoryConversation, u_ as isProdRuntime, le as isProductAssistantModeId, os as isProviderReadableFilePart, I as isQuotaExhaustedError, Ap as isReadOnlyHistoryConversation, Yn as isReapedSandboxConnectionError, rl as isRecentlyVerified, Xn as isRecoverable, el as isRecoverableAssistantError, _ as isRemoteImageSrc, jp as isReusableHistoryDraft, Fl as isRunningStatus, dp as isServerHistorySearchQuery, Ys as isSpeakingMessage, mi as isSpeechBlocked, t as isSpeechRecognitionSupported, ic as isStageCopy, ua as isSubmittable, eg as isThereRequest, Ke as isTrailingResultOfSubmitted, $s as isTurnInFlight, va as isTurnSuperseded, ye as isUnknownFieldError, Ve as isUserOriginatedWriteReply, lt as isValidUpdatePatch, xs as isVoiceProposalBound, zr as isVoiceTurn, Ht as isWriteModeAcknowledged, $l as isWriteProposalError, So as joinSheets, Ug as labelForPath, hi as languageDisplayName, ss as largestInlineCharsPerFile, Xg as latestReplyOnSurface, xp as legacyHistoryConvKey, wg as linkNotOpenableCopy, ut as localChannelOf, Zn as mapSessionToHistory, Pt as markLiveTurn, be as markSupported, Ic as markTurn, ya as markTurnSuperseded, xe as markUnsupported, rg as matchEntityRoute, hg as matchLocalUiCommand, dt as matchesHistoryFilter, Mp as materializeHistoryHeader, eo as maySendSpokenTurn, Yp as measureHistorySaveRequest, Tm as mergeAssistantHistoryPersisted, Em as mergeAssistantHistoryWithStored, qe as mergeFinalPhrase, am as mergeHistoryMessages, Qn as mergeMessagesById, Jt as mergePersistedAssistantState, Ni as micIsInterrupt, wn as modeRequiresConfirmWrites, cc as msUntilNextPhrase, gg as navDestinations, og as navEntryIds, Tg as navigationCommandCopy, Eg as navigationOutcomeCopy, au as newWriteProposalRequestId, Wg as newestAssistantOnSurface, Rm as newestHistoryHeader, Ft as newestModelReplyId, Hu as nextActiveTab, nf as nextAssistantOpenState, cd as nextModeIndex, Pu as nextPanelOverlays, Il as nextPreviewEvents, fp as normaliseHistorySearchQuery, ft as normaliseHistoryTitle, _g as normaliseUtterance, gi as normalizeLangTag, i_ as notifyAiCreditsUpdated, vt as notifyAssistantStorageFull, yt as offerHistoryRename, da as orbMode, Gg as outcomeStatus, Co as pageMarker, Qu as panelOwnedPreviewBridge, Fu as panelOwnsEscape, tg as parseChoice, co as parseConfirmationRefusal, cs as parseDataUrl, ug as parseRecordRequest, wo as parseSharedStrings, yc as parseToolActivity, To as parseWorkbookSheets, eu as parseWriteProposalView, Pg as pathnameOf, Eo as pdfTextItemsToPage, pt as pendingUpdatesByConversation, nr as permissionRefusalCopyId, rr as permissionRefusalMessage, Dg as pickFromListCopy, Uu as pinActiveTab, ec as planAbandonedTurn, il as planAfterTransportFailure, Af as planAssistantHistoryRetry, om as planHistoryEarlierLoad, sm as planHistoryOpenLoad, fa as planListeningHold, dg as planRecordResolution, pa as planReplyConsumption, Je as planSubmitTimer, vg as planThemeChange, Ye as planThinkingSpeech, to as planTranscriptAutoOpen, al as planTrustedSandboxFailure, tc as planTurnAbort, ma as planVoiceAnnouncement, no as planVoiceSessionBinding, ro as planVoiceSessionStart, io as planVoiceSpokenEntry, du as planWriteReply, Wa as pollDelayMs, Uh as preopenKey, Wh as preopenWanted, Gh as preopenedCountForTest, Zg as presentedListFor, Kh as prewarmTarget, _i as primaryLanguageSubtag, yh as probeWorkspaceAssistantAdmin, Tn as promptGatewayRequestBytes, fu as promptWriteApproval, En as proxySandboxRaw, Dm as pruneAssistantHistoryPersisted, rf as publishedAssistantDockWidth, af as publishedAssistantPanelInset, Xs as publishedChunks, L as quotaExhaustedEventName, mc as readAheadFor, Om as readAssistantHistoryPersisted, of as readAssistantOverlayFlag, Tc as readReducedMotion, Dn as readSandboxWriteCapabilities, On as readSandboxWriteCapabilitiesOnce, Oi as readSpeechEngineConfig, ou as readWriteProposalRefs, Lc as recentTurnTimelines, Og as recordChoiceCopy, kg as recordKindsCopy, dl as redactWriteProposalText, kn as releaseSupersededAssistantSandboxes, Qg as rememberPresentedList, Ss as renderWriteProposalReadback, Xa as replyFollowsInput, An as reportAssistantAiTokenUsage, hr as reportUsageWithRetry, sf as requestedAssistantOpenState, Zs as requiresCancel, ki as resetSpeechEngine, ji as resetSpeechFeedForTest, ba as resetSupersededTurnsForTest, Rc as resetTurnTimelines, Mh as resetTurnTimingReporting, qh as resetWarmsForTest, Yt as resolveActiveModeSandbox, It as resolveApprovablePendingWrite, ls as resolveAssistantInlineLimits, Ya as resolveAssistantLanguage, Or as resolveAssistantModeCapabilities, Rs as resolveAssistantSendModeAfterAccess, Ne as resolveAutoRoute, Qm as resolveConversationDeleteTarget, Np as resolveHistoryReopenMode, sg as resolveInAppLinks, Za as resolveLanguagePair, a as resolveModeConfig, Lt as resolveRetryableMessageId, mt as resolveRowControls, he as resolveSandboxAssistantMode, Ws as resolveSpeechLocale, cg as resolveUiTarget, Xe as resolveVoiceGraceMs, zc as restartAttempt, Ut as restoreAcknowledgedWriteModes, Pe as restoreAutoRouting, sh as resumeContextFor, li as retryDelayMs, gr as retryPendingUsageReports, $i as rotationElapsedMs, Hl as runBelongsTo, Gl as runIdentities, Fg as runNavigation, Ul as sameOwner, ge as sandboxBaseModeFor, A as sandboxProxyErrorFromBody, j as sandboxProxyErrorFromTurnTerminal, jn as sandboxStatusOf, $n as sanitize, Bc as segmentStats, Pp as selectAssistantHistoryList, Mn as selectExistingAssistantSandbox, Fp as selectHistoryEvictions, zm as selectHistorySearchList, Nn as selectSupersededAssistantSandboxes, vi as selectVoiceForLocale, Pn as sendAssistantPromptAsync, Nh as sendAssistantTurnTimings, Fn as sendHeartbeat, bt as setAssistantStorageFullHandler, xt as setHistoryBusyProbe, St as setHistoryOpenFilterSource, Ct as setHistoryRenameSink, wt as setHistoryStampSource, km as settleAssistantHistory, Jh as settleWarmBeforeSend, pu as settleWithin, Do as sheetXmlToRows, ai as shouldDisableEngine, Wu as shouldPinOnMove, Gu as shouldPinOnSelect, ha as shouldRecognise, Ra as showPreviousChunk, Pi as showsAssistantCaption, Fi as showsUserCaption, yg as singularVariants, hc as snapshotReplyFloor, oi as speakableChunks, Ma as speakableEmail, Mi as speechFeed, yi as speechGate, Hs as speechLabelsFor, bi as speechLangForLocale, Qs as speechPlaybackReducer, Ze as speechWords, si as splitForVendor, Na as splitTableRow, xc as spokenMessagesSinceContinueNote, ga as spokenSoFar, Sc as spokenTurnText, Hi as stageText, n as startIsCoolingDown, lc as startPhraseTicker, Yh as startPreopen, ea as startRotationTicker, gc as startSessionReadAhead, Ph as startTurnTimingReporting, Xh as startWarm, Ui as statusStageCopy, Ku as stepsFromToolActivity, In as stopReapedAssistantSandbox, Pr as streamBudgetMs, ac as stripLegacyFillerPrefix, Qe as stripSubmittedPrefix, Rt as subscribeApprovalInFlight, Ec as subscribeReducedMotion, Ai as subscribeSpeechEngine, Vc as subscribeTurnTimelines, Oo as summarisePageText, Hc as summariseTurnTimelines, ta as syncRotationClock, qu as tabForArrowKey, M as terminalCodeRecoverability, Ag as themeCommandCopy, Wi as thinkingPhrase, Gi as thinkingPhraseEntry, Ga as toCaptionText, Xp as toHistoryEntries, us as toMessageAttachment, Pa as toSpeakableText, Zp as toStorableHistoryText, _c as trackFirstText, x as transformAssistantUrl, ds as truncateForInline, ko as truncatePagesForInline, Qp as truncateUtf8, uc as turnActivityCopy, dc as turnActivityStage, Uc as turnClockMs, sr as turnConfirmsNoAction, cr as turnOutcomeCopy, Wc as turnSegments, Gc as turnTimeline, kr as unofferedModeSendRefusal, zs as unofferedModeSendRefusalAfterAccess, _r as usagePendingStorageKey, vr as usageReportClock, yr as usageSendRefusal, bh as useAssistantApiAccess, c_ as useAssistantAttachments, Cu as useAssistantConnectSource, v_ as useAssistantDockWidth, d_ as useAssistantHeartbeat, Bm as useAssistantHistorySearch, dm as useAssistantHistoryStatus, Am as useAssistantHistoryStore, f as useAssistantI18nNamespace, f_ as useAssistantKeyboardShortcuts, T as useAssistantNavigate, y_ as useAssistantOverlayOrNull, o as useAssistantPageLabel, b_ as useAssistantPanelInset, Ml as useAssistantPreview, ql as useAssistantPreviewBridge, s as useAssistantProduct, c as useAssistantProductOrNull, x_ as useAssistantQuotaExhausted, ch as useAssistantServerHistory, qc as useAssistantSpeech, l as useAssistantStorageFolders, Xt as useAssistantStore, p as useAssistantTr, Zm as useConversationDeleteDialog, xh as useConversationTurns, Lu as useDropdownEscape, lh as useHistoryRowControlsFor, $u as useHostedAssistantPreviewBridge, Xu as useOverlayFocus, Dc as usePrefersReducedMotion, xr as useSandboxAssistantTransport, r as useVoiceInput, Jc as useVoiceSession, o_ as useWorkspaceWriteAccess, kl as useWriteProposalConfirm, fl as useWriteProposalRemainingMs, hu as useWriteProposals, Ln as usesDedicatedAssistantProvisioning, $p as utf8ByteLength, fs as validateFile, xi as voiceAvailability, ao as voiceBindingAtStart, oo as voiceBindingConversationId, Br as voiceMarker, Ia as voicePreviewText, Cs as voiceProposalChip, ws as voiceProposalChipText, Si as voiceQualityRank, Ts as voiceReadbacksDue, ff as voiceSessionEscapeAction, Vr as voiceSessionIdOf, Iu as voiceSessionOwnsEscape, _a as voiceSessionReducer, Ii as voiceStageState, Yi as voiceStatusParts, Xi as voiceStatusSuffix, Ca as voiceTranscriptFilename, Hr as voiceTurnsOnly, Es as voiceWaitingProposals, Ci as voicesForLocale, Rn as waitForAssistantServiceReady, zn as waitForSandboxRunning, Zh as warmState, Li as waveformIsActive, Ri as waveformIsSettled, Fr as withIncompleteTurnNotice, Wt as withWriteModeAcknowledged, Jl as writeActionResultEvents, Bn as writeApprovalModeOf, Vn as writeApprovalReuseMatches, cf as writeAssistantOverlayFlag, Hn as writeExecutionOf, Gt as writeModeConsentCopy, Kt as writeModeSendRefusal, qt as writeModeSendRefusalReason, pl as writeProposalArgumentValues, su as writeProposalBelongsTo, ml as writeProposalConfirmState, hl as writeProposalCountdownText, _s as writeProposalErrorLine, gl as writeProposalGatewayText, _l as writeProposalKindText, vl as writeProposalRemainingMs, yl as writeProposalRootFieldName, bl as writeProposalSensitiveTexts, cu as writeProposalSessionsToReopen, Tl as writeProposalUsesDialog, xl as writeProposalVariableValues, Ds as writeProposalVoiceLine, Os as writeProposalVoiceReadback, lu as writeProposalsEnabledFor, mu as writeReplyLiveState };