@burdenoff/fe-libs 2026.1004.7 → 2026.1005.1

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