@burdenoff/fe-libs 2026.1004.5 → 2026.1004.7

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