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