@burdenoff/fe-libs 2026.1004.4 → 2026.1004.5

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