@burdenoff/fe-libs 2026.920.1 → 2026.920.3
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.
- package/dist/shared/assistant/api.d.ts +17 -0
- package/dist/shared/assistant/api.d.ts.map +1 -1
- package/dist/shared/assistant/api.js +88 -66
- package/dist/shared/assistant/attachmentTurn.d.ts +21 -0
- package/dist/shared/assistant/attachmentTurn.d.ts.map +1 -0
- package/dist/shared/assistant/attachmentTurn.js +48 -0
- package/dist/shared/assistant/attachments.d.ts +85 -6
- package/dist/shared/assistant/attachments.d.ts.map +1 -1
- package/dist/shared/assistant/attachments.js +165 -112
- package/dist/shared/assistant/conversation.d.ts +21 -0
- package/dist/shared/assistant/conversation.d.ts.map +1 -1
- package/dist/shared/assistant/documentExtract.d.ts +11 -2
- package/dist/shared/assistant/documentExtract.d.ts.map +1 -1
- package/dist/shared/assistant/documentExtract.js +39 -37
- package/dist/shared/assistant/gatewayLimits.d.ts +10 -0
- package/dist/shared/assistant/gatewayLimits.d.ts.map +1 -1
- package/dist/shared/assistant/gatewayLimits.js +2 -2
- package/dist/shared/assistant/index.d.ts +3 -0
- package/dist/shared/assistant/index.d.ts.map +1 -1
- package/dist/shared/assistant/preview/bridgeHost.d.ts +26 -0
- package/dist/shared/assistant/preview/bridgeHost.d.ts.map +1 -0
- package/dist/shared/assistant/preview/bridgeHost.js +16 -0
- package/dist/shared/assistant/preview/bridgeHostContext.d.ts +17 -0
- package/dist/shared/assistant/preview/bridgeHostContext.d.ts.map +1 -0
- package/dist/shared/assistant/preview/bridgeHostContext.js +11 -0
- package/dist/shared/assistant/preview/useAssistantPreviewBridge.d.ts.map +1 -1
- package/dist/shared/assistant/ui/AIAssistantPanel.d.ts +4 -0
- package/dist/shared/assistant/ui/AIAssistantPanel.d.ts.map +1 -1
- package/dist/shared/assistant/ui/AIAssistantPanel.js +63 -62
- package/dist/shared/assistant/ui/AssistantChatArea.d.ts.map +1 -1
- package/dist/shared/assistant/ui/AssistantChatArea.js +342 -325
- package/dist/shared/assistant/ui/AssistantOverlay.d.ts +6 -0
- package/dist/shared/assistant/ui/AssistantOverlay.d.ts.map +1 -1
- package/dist/shared/assistant/ui/AssistantOverlay.js +93 -89
- package/dist/shared/assistant/ui/composer/AssistantComposer.d.ts +12 -0
- package/dist/shared/assistant/ui/composer/AssistantComposer.d.ts.map +1 -1
- package/dist/shared/assistant/ui/composer/AssistantComposer.js +57 -57
- package/dist/shared/assistant/useAssistantAttachments.d.ts +12 -1
- package/dist/shared/assistant/useAssistantAttachments.d.ts.map +1 -1
- package/dist/shared/assistant/useAssistantAttachments.js +98 -98
- package/dist/shared-assistant.js +118 -115
- package/package.json +1 -1
package/dist/shared-assistant.js
CHANGED
|
@@ -11,118 +11,121 @@ import { ASSISTANT_MODE_FALLBACK_LABELS as L, ASSISTANT_MODE_IDS as R, assistant
|
|
|
11
11
|
import { PRODUCT_ASSISTANT_MODE_ID_MAX_LENGTH as V, PRODUCT_ASSISTANT_MODE_ID_PATTERN as H, builtInModeExtendedBy as U, declareAssistantMode as W, isAssistantModeId as G, isProductAssistantModeId as K } from "./shared/assistant/modeIds.js";
|
|
12
12
|
import { ASSISTANT_API_AUTH_STRATEGY as q, getImageForMode as J, getImageTagForMode as Y, getResourcesForMode as X, getSandboxImageRegistry as Z, resolveSandboxAssistantMode as Q, sandboxBaseModeFor as $ } from "./shared/assistant/images.js";
|
|
13
13
|
import { getCapability as ee, isUnknownFieldError as te, markSupported as ne, markUnsupported as re } from "./shared/assistant/capabilities.js";
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import { BOILERPLATE_PAGE_SHARE as
|
|
45
|
-
import { ATTACHMENT_ACCEPT as
|
|
46
|
-
import { ATTACHMENT_SOURCES as
|
|
47
|
-
import { ASSISTANT_I18N_COMPUTED_COPY as
|
|
48
|
-
import { ADMIN_MODE_ACCESS_WAIT_MS as
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
import {
|
|
128
|
-
export { vi as ADMIN_MODE_ACCESS_WAIT_MS, us as AIAssistantPanel, q as ASSISTANT_API_AUTH_STRATEGY, ds as ASSISTANT_BOTTOM_CHROME_CLEARANCE, fs as ASSISTANT_DIALOG_SELECTOR, ps as ASSISTANT_DOCKED_DESKTOP_CLASS, ms as ASSISTANT_DOCK_WIDTH_PX, hs as ASSISTANT_DOCK_WIDTH_VAR, gs as ASSISTANT_FLOATING_DESKTOP_CLASS, pi as ASSISTANT_I18N_COMPUTED_COPY, mi as ASSISTANT_I18N_LITERAL_COPY, hi as ASSISTANT_I18N_MANIFEST, tr as ASSISTANT_LANGUAGES, L as ASSISTANT_MODE_FALLBACK_LABELS, R as ASSISTANT_MODE_IDS, yo as ASSISTANT_MODE_META, Ea as ASSISTANT_OVERLAY_ATTR, _s as ASSISTANT_OVERLAY_DEFAULT_TOP_PX, vs as ASSISTANT_OVERLAY_DESKTOP_QUERY, ys as ASSISTANT_OVERLAY_TOP_VAR, Da as ASSISTANT_PANEL_ATTR, bs as ASSISTANT_SHEET_BASE_CLASS, xs as ASSISTANT_SHEET_COMPACT_CLASS, Ss as ASSISTANT_SHEET_EXPANDED_CLASS, Cs as ASSISTANT_TOGGLE_SHORTCUT_LABEL, jr as ATTACHMENT_ACCEPT, ui as ATTACHMENT_SOURCES, wo as AUTO_VOICE, cs as AssistantApiCallsConsentDialog, Ia as AssistantAttachmentButton, La as AssistantAttachmentChips, ga as AssistantAutoSpeakToggle, oa as AssistantAvatar, ls as AssistantChatArea, is as AssistantComposer, Ta as AssistantConnectSourceItem, Ca as AssistantConnectSourceProvider, Vo as AssistantConversationList, Ho as AssistantEmptyState, so as AssistantEntityPreview, Bo as AssistantHeader, s as AssistantI18nProvider, ya as AssistantLanguageMenu, _o as AssistantLanguageSelector, f as AssistantMarkdownImage, h as AssistantMarkdownRenderer, _a as AssistantMessageAttachments, Go as AssistantMessageItem, Ko as AssistantMessageList, bo as AssistantModeSelector, zo as AssistantMoreMenu, g as AssistantNavigateProvider, Is as AssistantOverlay, Ls as AssistantOverlayProvider, va as AssistantPendingWriteCard, go as AssistantPreviewOverlay, Ra as AssistantPreviewProvider, t as AssistantProductProvider, ba as AssistantReplyLanguageSelector, ke as AssistantRuntimeManager, xa as AssistantSpeakButton, sa as AssistantSpeechProvider, Sa as AssistantSpokenTurnsNotice, oo as AssistantStepRail, na as AssistantToolActivity, Uo as AssistantTurnActivity, Co as AssistantVoiceButton, Eo as AssistantVoiceOrb, To as AssistantVoiceSelector, qo as AssistantVoiceSession, Do as AssistantVoiceSessionButton, Mr as AttachmentRejectedError, dr as BOILERPLATE_PAGE_SHARE, He as BUILT_IN_MODE_CAPABILITIES, Oo as CAPTION_SCROLL_ATTR, O as CHECK_AI_CREDITS, k as CREATE_SANDBOX, Pn as DEFAULT_SPEAKABLE_LABELS, nr as DEFAULT_SPEECH_RATE, Xe as DEFAULT_STREAM_BUDGET_MS, yn as ENDPOINT_GRACE_MS, A as EXTEND_SANDBOX_TTL, vo as FOLLOW_APP_LOCALE, j as GET_ACTIVE_SANDBOXES, M as GET_SANDBOX, mt as HOSTED_DISABLE_MS, ht as HOSTED_TTS_MAX_CHARS, ut as HOSTED_TTS_TIER, dt as HOSTED_VOICES, Ot as HOSTED_VOICE_RANK, $a as IDLE_ACTIVE_TAB, Pi as IDLE_PLAYBACK, Wa as IDLE_PREVIEW, Ba as IDLE_PREVIEW_STATE, mn as IDLE_ROTATION_CLOCK, Ze as INCOMPLETE_TURN_NOTICES, bn as INITIAL_SESSION, Nr as INLINE_IMAGE_MAX_DIM, Pr as INLINE_IMAGE_QUALITY, xn as INTERRUPT_MAX_MS, Sn as INTERRUPT_MIN_MS, Ci as LEGACY_WRITE_CONSENT_KEY, Ue as MAX_ASSISTANT_STREAM_BUDGET_MS, Fr as MAX_ATTACHMENTS, fr as MAX_BOILERPLATE_LINE_CHARS, pr as MAX_EXTRACTED_CHARS, Ir as MAX_FILE_BYTES, Lr as MAX_INLINE_CHARS_PER_FILE, Rr as MAX_INLINE_CHARS_TOTAL, lr as MAX_INLINE_IMAGE_BASE64_BYTES, zr as MAX_INLINE_IMAGE_BASE64_CHARS, Br as MAX_INLINE_IMAGE_PARTS, Vr as MAX_INLINE_TURN_BODY_BYTES, mr as MAX_PDF_PAGES_SCANNED, ur as MAX_REQUEST_BODY_BYTES, Fn as MAX_SPEAKABLE_CHARS, In as MAX_SPOKEN_TABLE_ROWS, Hr as MAX_TURN_BODY_BYTES, Kn as MINI_CAPTION_BUDGET, hr as MIN_PAGE_TEXT_CHARS, gr as MIN_TEXT_PAGE_SHARE, Ga as NO_OWNER, Oa as NO_PANEL_OVERLAY, tn as PHRASE_ROTATE_MS, Jn as POLL_FAST_MS, Yn as POLL_FAST_UNTIL_MS, Xn as POLL_SLOW_MS, Zn as POLL_STEADY_MS, Qn as POLL_STEADY_UNTIL_MS, Wn as PREVIEW_LANGUAGES, V as PRODUCT_ASSISTANT_MODE_ID_MAX_LENGTH, H as PRODUCT_ASSISTANT_MODE_ID_PATTERN, Ur as PROMPT_ENVELOPE_RESERVE_BYTES, Wr as PROVIDER_READABLE_FILE_MEDIA_TYPES, N as PROXY_SANDBOX_REQUEST, lo as REDUCED_MOTION_ATTRIBUTE, uo as REDUCED_MOTION_QUERY, P as REPORT_AI_TOKEN_USAGE, pa as SANDBOX_READY_TTL_MS, Cn as SILENCE_SUBMIT_MS, gt as SPEAKING_RATE_MAX, _t as SPEAKING_RATE_MAX_STREAMING, vt as SPEAKING_RATE_MAX_SYNC, yt as SPEAKING_RATE_MIN, Ln as SPEECH_CHUNK_CHARS, Rn as SPEECH_CHUNK_CJK_CHARS, kt as SPEECH_LANG, Ai as SPOKEN_LABEL_LANGUAGES, nn as STAGE_COPY, F as STOP_ASSISTANT_SANDBOX, Qe as STREAM_BUDGET_MS, wi as TAKE_ACTION_ENGLISH, rn as THINKING_PHRASES, Gr as TURN_BODY_HEADROOM_BYTES, Wo as TurnActivityLine, We as UNAVAILABLE_MODE_REFUSAL, Ge as UNDECLARED_MODE_CAPABILITIES, At as VOICE_LIST_TIMEOUT_MS, ln as VOICE_MUTED_LABEL, un as VOICE_THINKING_LABEL, ko as VoiceCaption, Ao as VoiceConversationView, Po as VoiceMiniController, Fo as VoiceStage, Mo as VoiceStatusLine, No as VoiceStatusText, Io as VoiceTranscriptDrawer, jo as VoiceWaveform, I as WAIT_FOR_SANDBOX_RUNNING, ie as abortAssistantTurn, ws as aboveAssistantBottomChrome, ka as activePanelOverlay, Ke as adminOnlyModeSendRefusal, yi as adminOnlyModeSendRefusalAfterAccess, hn as advanceRotationClock, Qo as aiCreditsUpdatedEventName, Ka as applyPreviewEvent, ae as approvePendingWrite, gi as assistantI18nSeedCopy, z as assistantModeFallbackLabel, _i as assistantModeI18nCopy, xo as assistantModeMeta, Ts as assistantOverlayClassName, Es as assistantOverlayEscapeAction, Ds as assistantOverlayKeys, Aa as assistantPanelOwnsEscape, Os as assistantQuotaKindOf, _ as assistantRoutePath, c as assistantTranslationKey, v as assistantUrlTransform, di as availableAttachmentSources, bt as base64ToBytes, y as browserShouldHandle, lt as browserSpeechEngine, ta as buildAssistantProgress, oe as buildAssistantSandboxEnv, Kr as buildAttachmentPromptBlock, jn as buildContinuedFromVoiceNote, Ae as buildProgress, qr as buildPromptParts, se as buildPromptRequestBody, Jr as buildPromptWithAttachments, xt as buildRequest, E as buildSandboxContextInput, Mn as buildVoiceTranscriptMarkdown, U as builtInModeExtendedBy, nt as chatTurns, ce as checkAssistantAiCredits, zn as chunkForSpeech, b as classifyAssistantHref, Yr as classifyAttachment, St as classifyHttpFailure, S as classifyQuotaError, _r as columnLetterToIndex, dn as composeVoiceStatus, Ut as configureSpeechEngine, Bn as containsCjk, d as copyToClipboard, Xr as countInlineImageCandidates, Zr as countInlinedImageParts, ia as countSpokenTurns, bi as createAdminModeAccessGate, ks as createAssistantNavigate, qa as createAssistantPreviewSurface, le as createAssistantSandbox, ue as createAssistantSession, Dt as createHostedTtsEngine, ma as createReadinessTracker, Ht as createRoutingSpeechEngine, Za as createRunIdentityCache, Be as createSandboxAssistantTransport, Wt as createSpeechEngines, Ja as currentPreviewOwner, W as declareAssistantMode, Ct as decodeAudioResponse, vr as decodeXmlEntities, C as describeQuotaError, Qr as detectDocumentFormat, Mi as detectScriptLocale, fi as deviceHasCamera, wt as disableDurationMs, $o as dispatchAssistantQuotaExhausted, yr as docxXmlToText, de as downloadAssistantArtifact, Lo as downloadFile, Xi as elapsedSince, ja as escapeDismisses, $r as estimateTurnBodyBytes, D as executeSandboxGraphQL, Ro as exportConversation, fe as extendAssistantSandboxTTL, ns as extractDocumentText, rr as findAssistantLanguage, qe as findAssistantModeConfig, pe as findExistingSandbox, sr as findPendingWrite, br as fitPdfPages, Ma as focusIsInsidePanel, ei as formatBytes, xr as formatPageRanges, me as forwardsUserTokensToSandbox, ua as getActorId, he as getAssistantArtifacts, Yi as getAssistantDisplayContent, je as getAssistantMedia, ge as getAssistantMessages, _e as getAssistantSession, ve as getAssistantStreamAccess, Me as getAssistantText, ti as getAttachmentSendBlocker, ee as getCapability, ni as getExtension, J as getImageForMode, Y as getImageTagForMode, da as getOrganizationId, Ne as getRawMessageCreatedAt, X as getResourcesForMode, Z as getSandboxImageRegistry, ri as getSendableAttachments, Gt as getSpeechEngine, Pe as getToolProgress, fa as getWorkspaceId, rt as groupBySession, it as groupConsecutiveBySession, ii as hasAttachmentWorkInFlight, ft as hostedLocaleFor, pt as hostedSupportsLanguage, p as imageHostLabel, $e as incompleteTurnNotice, G as isAssistantModeId, As as isAssistantToggleShortcut, Va as isBlankProse, B as isBuiltInAssistantMode, wn as isCapturing, Tn as isEcho, jt as isHostedVoice, Gi as isLegacyFiller, Ki as isLegacyStopped, Sr as isMostlyImagePages, Xo as isMultimodalBodyRejection, as as isProdRuntime, K as isProductAssistantModeId, ai as isProviderReadableFilePart, w as isQuotaExhaustedError, Fe as isReapedSandboxConnectionError, ha as isRecentlyVerified, Ie as isRecoverable, Zo as isRecoverableAssistantError, m as isRemoteImageSrc, Ha as isRunningStatus, Fi as isSpeakingMessage, Mt as isSpeechBlocked, qi as isStageCopy, En as isSubmittable, Hi as isTurnInFlight, te as isUnknownFieldError, at as isVoiceTurn, Ti as isWriteModeAcknowledged, Cr as joinSheets, Nt as languageDisplayName, Le as mapSessionToHistory, ne as markSupported, re as markUnsupported, Re as mergeMessagesById, zi as mergePersistedAssistantState, Yt as micIsInterrupt, ye as modeRequiresConfirmWrites, Zi as msUntilNextPhrase, eo as nextActiveTab, js as nextAssistantOpenState, So as nextModeIndex, Na as nextPanelOverlays, Ua as nextPreviewEvents, Pt as normalizeLangTag, es as notifyAiCreditsUpdated, Dn as orbMode, wr as pageMarker, Pa as panelOwnsEscape, cr as parseConfirmationRefusal, oi as parseDataUrl, Tr as parseSharedStrings, ra as parseToolActivity, Er as parseWorkbookSheets, Dr as pdfTextItemsToPage, to as pinActiveTab, Ui as planAbandonedTurn, On as planReplyConsumption, Wi as planTurnAbort, $n as pollDelayMs, Ft as primaryLanguageSubtag, Ms as publishedAssistantDockWidth, Ii as publishedChunks, T as quotaExhaustedEventName, Ns as readAssistantOverlayFlag, fo as readReducedMotion, Kt as readSpeechEngineConfig, be as releaseSupersededAssistantSandboxes, ar as replyFollowsInput, xe as reportAssistantAiTokenUsage, Ps as requestedAssistantOpenState, Li as requiresCancel, qt as resetSpeechEngine, Bi as resolveActiveModeSandbox, ir as resolveAssistantLanguage, Je as resolveAssistantModeCapabilities, xi as resolveAssistantSendModeAfterAccess, or as resolveLanguagePair, n as resolveModeConfig, Q as resolveSandboxAssistantMode, Ni as resolveSpeechLocale, Ei as restoreAcknowledgedWriteModes, gn as rotationElapsedMs, Ya as runBelongsTo, Qa as runIdentities, Xa as sameOwner, $ as sandboxBaseModeFor, ze as sanitize, Se as selectExistingAssistantSandbox, Ce as selectSupersededAssistantSandboxes, It as selectVoiceForLocale, we as sendAssistantPromptAsync, Te as sendHeartbeat, Or as sheetXmlToRows, Tt as shouldDisableEngine, no as shouldPinOnMove, ro as shouldPinOnSelect, qn as showPreviousChunk, Xt as showsAssistantCaption, Zt as showsUserCaption, Vn as speakableEmail, Lt as speechGate, ji as speechLabelsFor, Rt as speechLangForLocale, Ri as speechPlaybackReducer, Et as splitForVendor, Hn as splitTableRow, kn as spokenSoFar, aa as spokenTurnText, an as stageText, Qi as startPhraseTicker, _n as startRotationTicker, on as statusStageCopy, io as stepsFromToolActivity, Ee as stopReapedAssistantSandbox, et as streamBudgetMs, Ji as stripLegacyFillerPrefix, po as subscribeReducedMotion, Jt as subscribeSpeechEngine, kr as summarisePageText, vn as syncRotationClock, ao as tabForArrowKey, sn as thinkingPhrase, cn as thinkingPhraseEntry, er as toCaptionText, si as toMessageAttachment, Un as toSpeakableText, ci as truncateForInline, Ar as truncatePagesForInline, $i as turnActivityCopy, ea as turnActivityStage, Ye as unofferedModeSendRefusal, Si as unofferedModeSendRefusalAfterAccess, Jo as useAssistantApiAccess, rs as useAssistantAttachments, wa as useAssistantConnectSource, Rs as useAssistantDockWidth, os as useAssistantHeartbeat, l as useAssistantI18nNamespace, ss as useAssistantKeyboardShortcuts, x as useAssistantNavigate, zs as useAssistantOverlayOrNull, r as useAssistantPageLabel, za as useAssistantPreview, ho as useAssistantPreviewBridge, i as useAssistantProduct, a as useAssistantProductOrNull, Bs as useAssistantQuotaExhausted, ca as useAssistantSpeech, o as useAssistantStorageFolders, Vi as useAssistantStore, u as useAssistantTr, Yo as useConversationTurns, Fa as useDropdownEscape, co as useOverlayFocus, mo as usePrefersReducedMotion, Ve as useSandboxAssistantTransport, e as useVoiceInput, la as useVoiceSession, ts as useWorkspaceWriteAccess, li as validateFile, zt as voiceAvailability, ot as voiceMarker, Gn as voicePreviewText, Bt as voiceQualityRank, st as voiceSessionIdOf, An as voiceSessionReducer, Qt as voiceStageState, fn as voiceStatusParts, pn as voiceStatusSuffix, Nn as voiceTranscriptFilename, ct as voiceTurnsOnly, Vt as voicesForLocale, De as waitForAssistantServiceReady, Oe as waitForSandboxRunning, $t as waveformIsActive, en as waveformIsSettled, tt as withIncompleteTurnNotice, Di as withWriteModeAcknowledged, Fs as writeAssistantOverlayFlag, Oi as writeModeConsentCopy, ki as writeModeSendRefusal };
|
|
14
|
+
import { MAX_INLINE_IMAGE_BASE64_BYTES as ie, MAX_REQUEST_BODY_BYTES as ae, REQUEST_TOO_LARGE_REFUSAL as oe } from "./shared/assistant/gatewayLimits.js";
|
|
15
|
+
import { abortAssistantTurn as se, approvePendingWrite as ce, buildAssistantSandboxEnv as le, buildPromptGatewayRequest as ue, buildPromptRequestBody as de, checkAssistantAiCredits as fe, createAssistantSandbox as pe, createAssistantSession as me, downloadAssistantArtifact as he, extendAssistantSandboxTTL as ge, findExistingSandbox as _e, forwardsUserTokensToSandbox as ve, getAssistantArtifacts as ye, getAssistantMessages as be, getAssistantSession as xe, getAssistantStreamAccess as Se, modeRequiresConfirmWrites as Ce, promptGatewayRequestBytes as we, releaseSupersededAssistantSandboxes as Te, reportAssistantAiTokenUsage as Ee, selectExistingAssistantSandbox as De, selectSupersededAssistantSandboxes as Oe, sendAssistantPromptAsync as ke, sendHeartbeat as Ae, stopReapedAssistantSandbox as je, waitForAssistantServiceReady as Me, waitForSandboxRunning as Ne } from "./shared/assistant/api.js";
|
|
16
|
+
import { AssistantRuntimeManager as Pe } from "./shared/assistant/runtime.js";
|
|
17
|
+
import { buildProgress as Fe, getAssistantMedia as Ie, getAssistantText as Le, getRawMessageCreatedAt as Re, getToolProgress as ze, isReapedSandboxConnectionError as Be, isRecoverable as Ve, mapSessionToHistory as He, mergeMessagesById as Ue, sanitize as We } from "./shared/assistant/progress.js";
|
|
18
|
+
import { createSandboxAssistantTransport as Ge } from "./shared/assistant/createSandboxAssistantTransport.js";
|
|
19
|
+
import { useSandboxAssistantTransport as Ke } from "./shared/assistant/useSandboxAssistantTransport.js";
|
|
20
|
+
import { BUILT_IN_MODE_CAPABILITIES as qe, MAX_ASSISTANT_STREAM_BUDGET_MS as Je, UNAVAILABLE_MODE_REFUSAL as Ye, UNDECLARED_MODE_CAPABILITIES as Xe, adminOnlyModeSendRefusal as Ze, findAssistantModeConfig as Qe, resolveAssistantModeCapabilities as $e, unofferedModeSendRefusal as et } from "./shared/assistant/modeCapabilities.js";
|
|
21
|
+
import { DEFAULT_STREAM_BUDGET_MS as tt, INCOMPLETE_TURN_NOTICES as nt, STREAM_BUDGET_MS as rt, incompleteTurnNotice as it, streamBudgetMs as at, withIncompleteTurnNotice as ot } from "./shared/assistant/streamBudget.js";
|
|
22
|
+
import { chatTurns as st, groupBySession as ct, groupConsecutiveBySession as lt, isVoiceTurn as ut, voiceMarker as dt, voiceSessionIdOf as ft, voiceTurnsOnly as pt } from "./shared/assistant/voice/turnVisibility.js";
|
|
23
|
+
import { browserSpeechEngine as mt } from "./shared/assistant/speech/browserSpeechEngine.js";
|
|
24
|
+
import { HOSTED_TTS_TIER as ht, HOSTED_VOICES as gt, hostedLocaleFor as _t, hostedSupportsLanguage as vt } from "./shared/assistant/speech/hostedVoiceCatalogue.js";
|
|
25
|
+
import { HOSTED_DISABLE_MS as yt, HOSTED_TTS_MAX_CHARS as bt, SPEAKING_RATE_MAX as xt, SPEAKING_RATE_MAX_STREAMING as St, SPEAKING_RATE_MAX_SYNC as Ct, SPEAKING_RATE_MIN as wt, base64ToBytes as Tt, buildRequest as Et, classifyHttpFailure as Dt, decodeAudioResponse as Ot, disableDurationMs as kt, shouldDisableEngine as At, splitForVendor as jt } from "./shared/assistant/speech/hostedTtsProtocol.js";
|
|
26
|
+
import { createHostedTtsEngine as Mt } from "./shared/assistant/speech/hostedTtsSpeechEngine.js";
|
|
27
|
+
import { HOSTED_VOICE_RANK as Nt, SPEECH_LANG as Pt, VOICE_LIST_TIMEOUT_MS as Ft, isHostedVoice as It, isSpeechBlocked as Lt, languageDisplayName as Rt, normalizeLangTag as zt, primaryLanguageSubtag as Bt, selectVoiceForLocale as Vt, speechGate as Ht, speechLangForLocale as Ut, voiceAvailability as Wt, voiceQualityRank as Gt, voicesForLocale as Kt } from "./shared/assistant/voice/speechVoices.js";
|
|
28
|
+
import { createRoutingSpeechEngine as qt } from "./shared/assistant/speech/routingSpeechEngine.js";
|
|
29
|
+
import { configureSpeechEngine as Jt, createSpeechEngines as Yt, getSpeechEngine as Xt, readSpeechEngineConfig as Zt, resetSpeechEngine as Qt, subscribeSpeechEngine as $t } from "./shared/assistant/speech/createSpeechEngine.js";
|
|
30
|
+
import { micIsInterrupt as en, showsAssistantCaption as tn, showsUserCaption as nn, voiceStageState as rn, waveformIsActive as an, waveformIsSettled as on } from "./shared/assistant/voice/voiceStageState.js";
|
|
31
|
+
import { PHRASE_ROTATE_MS as sn, STAGE_COPY as cn, THINKING_PHRASES as ln, stageText as un, statusStageCopy as dn, thinkingPhrase as fn, thinkingPhraseEntry as pn } from "./shared/assistant/stageCopy.js";
|
|
32
|
+
import { VOICE_MUTED_LABEL as mn, VOICE_THINKING_LABEL as hn, composeVoiceStatus as gn, voiceStatusParts as _n, voiceStatusSuffix as vn } from "./shared/assistant/voice/voiceStatus.js";
|
|
33
|
+
import { IDLE_ROTATION_CLOCK as yn, advanceRotationClock as bn, rotationElapsedMs as xn, startRotationTicker as Sn, syncRotationClock as Cn } from "./shared/assistant/voice/rotationClock.js";
|
|
34
|
+
import { ENDPOINT_GRACE_MS as wn, INITIAL_SESSION as Tn, INTERRUPT_MAX_MS as En, INTERRUPT_MIN_MS as Dn, SILENCE_SUBMIT_MS as On, isCapturing as kn, isEcho as An, isSubmittable as jn, orbMode as Mn, planReplyConsumption as Nn, spokenSoFar as Pn, voiceSessionReducer as Fn } from "./shared/assistant/voice/voiceSession.js";
|
|
35
|
+
import { buildContinuedFromVoiceNote as In, buildVoiceTranscriptMarkdown as Ln, voiceTranscriptFilename as Rn } from "./shared/assistant/voice/voiceTranscript.js";
|
|
36
|
+
import { DEFAULT_SPEAKABLE_LABELS as zn, MAX_SPEAKABLE_CHARS as Bn, MAX_SPOKEN_TABLE_ROWS as Vn, SPEECH_CHUNK_CHARS as Hn, SPEECH_CHUNK_CJK_CHARS as Un, chunkForSpeech as Wn, containsCjk as Gn, speakableEmail as Kn, splitTableRow as qn, toSpeakableText as Jn } from "./shared/assistant/voice/speakableText.js";
|
|
37
|
+
import { PREVIEW_LANGUAGES as Yn, voicePreviewText as Xn } from "./shared/assistant/voice/voicePreview.js";
|
|
38
|
+
import { MINI_CAPTION_BUDGET as Zn, showPreviousChunk as Qn } from "./shared/assistant/voice/miniCaptionBudget.js";
|
|
39
|
+
import { POLL_FAST_MS as $n, POLL_FAST_UNTIL_MS as er, POLL_SLOW_MS as tr, POLL_STEADY_MS as nr, POLL_STEADY_UNTIL_MS as rr, pollDelayMs as ir } from "./shared/assistant/voice/assistantPollSchedule.js";
|
|
40
|
+
import { toCaptionText as ar } from "./shared/assistant/voice/captionText.js";
|
|
41
|
+
import { ASSISTANT_LANGUAGES as or, DEFAULT_SPEECH_RATE as sr, findAssistantLanguage as cr, resolveAssistantLanguage as lr } from "./shared/assistant/voice/languages.js";
|
|
42
|
+
import { replyFollowsInput as ur, resolveLanguagePair as dr } from "./shared/assistant/voice/languagePair.js";
|
|
43
|
+
import { findPendingWrite as fr, parseConfirmationRefusal as pr } from "./shared/assistant/pendingWrite.js";
|
|
44
|
+
import { BOILERPLATE_PAGE_SHARE as mr, MAX_BOILERPLATE_LINE_CHARS as hr, MAX_EXTRACTED_CHARS as gr, MAX_PDF_PAGES_SCANNED as _r, MIN_PAGE_TEXT_CHARS as vr, MIN_TEXT_PAGE_SHARE as yr, columnLetterToIndex as br, decodeXmlEntities as xr, docxXmlToText as Sr, fitPdfPages as Cr, formatPageRanges as wr, isMostlyImagePages as Tr, joinSheets as Er, pageMarker as Dr, parseSharedStrings as Or, parseWorkbookSheets as kr, pdfTextItemsToPage as Ar, sheetXmlToRows as jr, summarisePageText as Mr, truncatePagesForInline as Nr } from "./shared/assistant/documentText.js";
|
|
45
|
+
import { ATTACHMENT_ACCEPT as Pr, AttachmentRejectedError as Fr, DEFAULT_INLINE_LIMITS as Ir, INLINE_IMAGE_MAX_DIM as Lr, INLINE_IMAGE_QUALITY as Rr, MAX_ATTACHMENTS as zr, MAX_CONFIGURABLE_INLINE_CHARS as Br, MAX_FILE_BYTES as Vr, MAX_INLINE_CHARS_PER_FILE as Hr, MAX_INLINE_CHARS_TOTAL as Ur, MAX_INLINE_IMAGE_BASE64_CHARS as Wr, MAX_INLINE_IMAGE_PARTS as Gr, MAX_INLINE_TURN_BODY_BYTES as Kr, MAX_TURN_BODY_BYTES as qr, PROMPT_ENVELOPE_RESERVE_BYTES as Jr, PROVIDER_READABLE_FILE_MEDIA_TYPES as Yr, TURN_BODY_HEADROOM_BYTES as Xr, buildAttachmentPromptBlock as Zr, buildPromptParts as Qr, buildPromptWithAttachments as $r, classifyAttachment as ei, countInlineImageCandidates as ti, countInlinedImageParts as ni, detectDocumentFormat as ri, estimateTurnBodyBytes as ii, formatBytes as ai, getAttachmentSendBlocker as oi, getExtension as si, getSendableAttachments as ci, hasAttachmentWorkInFlight as li, isProviderReadableFilePart as ui, largestInlineCharsPerFile as di, parseDataUrl as fi, resolveAssistantInlineLimits as pi, toMessageAttachment as mi, truncateForInline as hi, validateFile as gi } from "./shared/assistant/attachments.js";
|
|
46
|
+
import { ATTACHMENT_SOURCES as _i, availableAttachmentSources as vi, deviceHasCamera as yi } from "./shared/assistant/attachmentSources.js";
|
|
47
|
+
import { ASSISTANT_I18N_COMPUTED_COPY as bi, ASSISTANT_I18N_LITERAL_COPY as xi, ASSISTANT_I18N_MANIFEST as Si, assistantI18nSeedCopy as Ci, assistantModeI18nCopy as wi } from "./shared/assistant/i18nManifest.js";
|
|
48
|
+
import { ADMIN_MODE_ACCESS_WAIT_MS as Ti, adminOnlyModeSendRefusalAfterAccess as Ei, createAdminModeAccessGate as Di, resolveAssistantSendModeAfterAccess as Oi, unofferedModeSendRefusalAfterAccess as ki } from "./shared/assistant/adminModeSendGate.js";
|
|
49
|
+
import { buildBoundedAttachmentTurn as Ai } from "./shared/assistant/attachmentTurn.js";
|
|
50
|
+
import { LEGACY_WRITE_CONSENT_KEY as ji, TAKE_ACTION_ENGLISH as Mi, isWriteModeAcknowledged as Ni, restoreAcknowledgedWriteModes as Pi, withWriteModeAcknowledged as Fi, writeModeConsentCopy as Ii, writeModeSendRefusal as Li } from "./shared/assistant/writeModeConsent.js";
|
|
51
|
+
import { SPOKEN_LABEL_LANGUAGES as Ri, speechLabelsFor as zi } from "./shared/assistant/voice/speechLabels.js";
|
|
52
|
+
import { detectScriptLocale as Bi, resolveSpeechLocale as Vi } from "./shared/assistant/voice/replyLanguage.js";
|
|
53
|
+
import { IDLE_PLAYBACK as Hi, isSpeakingMessage as Ui, publishedChunks as Wi, requiresCancel as Gi, speechPlaybackReducer as Ki } from "./shared/assistant/voice/speechPlayback.js";
|
|
54
|
+
import { mergePersistedAssistantState as qi, resolveActiveModeSandbox as Ji, useAssistantStore as Yi } from "./shared/assistant/store.js";
|
|
55
|
+
import { isTurnInFlight as Xi, planAbandonedTurn as Zi, planTurnAbort as Qi } from "./shared/assistant/turnState.js";
|
|
56
|
+
import { isLegacyFiller as $i, isLegacyStopped as ea, isStageCopy as ta, stripLegacyFillerPrefix as na } from "./shared/assistant/legacyFiller.js";
|
|
57
|
+
import { getAssistantDisplayContent as ra } from "./shared/assistant/displayContent.js";
|
|
58
|
+
import { elapsedSince as ia, msUntilNextPhrase as aa, startPhraseTicker as oa, turnActivityCopy as sa, turnActivityStage as ca } from "./shared/assistant/turnActivity.js";
|
|
59
|
+
import { buildAssistantProgress as la } from "./shared/assistant/turnProgress.js";
|
|
60
|
+
import { AssistantToolActivity as ua, parseToolActivity as da } from "./shared/assistant/ui/AssistantToolActivity.js";
|
|
61
|
+
import { countSpokenTurns as fa, spokenTurnText as pa } from "./shared/assistant/spokenTurns.js";
|
|
62
|
+
import { AssistantAvatar as ma } from "./shared/assistant/ui/AssistantAvatar.js";
|
|
63
|
+
import { AssistantSpeechProvider as ha, useAssistantSpeech as ga } from "./shared/assistant/ui/AssistantSpeechProvider.js";
|
|
64
|
+
import { useVoiceSession as _a } from "./shared/assistant/ui/useVoiceSession.js";
|
|
65
|
+
import { getActorId as va, getOrganizationId as ya, getWorkspaceId as ba } from "./shared/assistant/context.js";
|
|
66
|
+
import { SANDBOX_READY_TTL_MS as xa, createReadinessTracker as Sa, isRecentlyVerified as Ca } from "./shared/assistant/sandboxReadiness.js";
|
|
67
|
+
import { AssistantAutoSpeakToggle as wa } from "./shared/assistant/ui/AssistantAutoSpeakToggle.js";
|
|
68
|
+
import { AssistantMessageAttachments as Ta } from "./shared/assistant/ui/AssistantMessageAttachments.js";
|
|
69
|
+
import { AssistantPendingWriteCard as Ea } from "./shared/assistant/ui/AssistantPendingWriteCard.js";
|
|
70
|
+
import { AssistantLanguageMenu as Da } from "./shared/assistant/ui/AssistantLanguageMenu.js";
|
|
71
|
+
import { AssistantReplyLanguageSelector as Oa } from "./shared/assistant/ui/AssistantReplyLanguageSelector.js";
|
|
72
|
+
import { AssistantSpeakButton as ka } from "./shared/assistant/ui/AssistantSpeakButton.js";
|
|
73
|
+
import { AssistantSpokenTurnsNotice as Aa } from "./shared/assistant/ui/AssistantSpokenTurnsNotice.js";
|
|
74
|
+
import { AssistantConnectSourceProvider as ja, useAssistantConnectSource as Ma } from "./shared/assistant/ui/composer/connectSource.js";
|
|
75
|
+
import { AssistantConnectSourceItem as Na } from "./shared/assistant/ui/composer/AssistantConnectSourceItem.js";
|
|
76
|
+
import { ASSISTANT_OVERLAY_ATTR as Pa, ASSISTANT_PANEL_ATTR as Fa, NO_PANEL_OVERLAY as Ia, activePanelOverlay as La, assistantPanelOwnsEscape as Ra, escapeDismisses as za, focusIsInsidePanel as Ba, nextPanelOverlays as Va, panelOwnsEscape as Ha } from "./shared/assistant/ui/panelOverlays.js";
|
|
77
|
+
import { useDropdownEscape as Ua } from "./shared/assistant/ui/useDropdownEscape.js";
|
|
78
|
+
import { AssistantAttachmentButton as Wa } from "./shared/assistant/ui/composer/AssistantAttachmentButton.js";
|
|
79
|
+
import { AssistantAttachmentChips as Ga } from "./shared/assistant/ui/composer/AssistantAttachmentChips.js";
|
|
80
|
+
import { AssistantPreviewProvider as Ka, useAssistantPreview as qa } from "./shared/assistant/preview/context.js";
|
|
81
|
+
import { IDLE_PREVIEW_STATE as Ja, isBlankProse as Ya, isRunningStatus as Xa, nextPreviewEvents as Za } from "./shared/assistant/preview/previewTransitions.js";
|
|
82
|
+
import { IDLE_PREVIEW as Qa, NO_OWNER as $a, applyPreviewEvent as eo, createAssistantPreviewSurface as to, currentPreviewOwner as no, runBelongsTo as ro, sameOwner as io } from "./shared/assistant/preview/surfaceState.js";
|
|
83
|
+
import { createRunIdentityCache as ao, runIdentities as oo } from "./shared/assistant/preview/runIdentity.js";
|
|
84
|
+
import { IDLE_ACTIVE_TAB as so, nextActiveTab as co, pinActiveTab as lo, shouldPinOnMove as uo, shouldPinOnSelect as fo, stepsFromToolActivity as po, tabForArrowKey as mo } from "./shared/assistant/preview/entity/entityPreviewState.js";
|
|
85
|
+
import { AssistantStepRail as ho } from "./shared/assistant/preview/entity/AssistantStepRail.js";
|
|
86
|
+
import { AssistantEntityPreview as go } from "./shared/assistant/preview/entity/AssistantEntityPreview.js";
|
|
87
|
+
import { useOverlayFocus as _o } from "./shared/assistant/ui/useOverlayFocus.js";
|
|
88
|
+
import { REDUCED_MOTION_ATTRIBUTE as vo, REDUCED_MOTION_QUERY as yo, readReducedMotion as bo, subscribeReducedMotion as xo, usePrefersReducedMotion as So } from "./shared/assistant/ui/usePrefersReducedMotion.js";
|
|
89
|
+
import { useAssistantPreviewBridge as Co } from "./shared/assistant/preview/useAssistantPreviewBridge.js";
|
|
90
|
+
import { HostedPreviewBridgeContext as wo, panelOwnedPreviewBridge as To, useHostedAssistantPreviewBridge as Eo } from "./shared/assistant/preview/bridgeHostContext.js";
|
|
91
|
+
import { AssistantPreviewBridgeHost as Do } from "./shared/assistant/preview/bridgeHost.js";
|
|
92
|
+
import { AssistantPreviewOverlay as Oo } from "./shared/assistant/preview/AssistantPreviewOverlay.js";
|
|
93
|
+
import { AssistantLanguageSelector as ko, FOLLOW_APP_LOCALE as Ao } from "./shared/assistant/ui/composer/AssistantLanguageSelector.js";
|
|
94
|
+
import { ASSISTANT_MODE_META as jo, AssistantModeSelector as Mo, assistantModeMeta as No, nextModeIndex as Po } from "./shared/assistant/ui/composer/AssistantModeSelector.js";
|
|
95
|
+
import { AssistantVoiceButton as Fo } from "./shared/assistant/ui/composer/AssistantVoiceButton.js";
|
|
96
|
+
import { AUTO_VOICE as Io, AssistantVoiceSelector as Lo } from "./shared/assistant/ui/composer/AssistantVoiceSelector.js";
|
|
97
|
+
import { AssistantVoiceOrb as Ro } from "./shared/assistant/ui/voice/AssistantVoiceOrb.js";
|
|
98
|
+
import { AssistantVoiceSessionButton as zo } from "./shared/assistant/ui/voice/AssistantVoiceSessionButton.js";
|
|
99
|
+
import { CAPTION_SCROLL_ATTR as Bo, VoiceCaption as Vo } from "./shared/assistant/ui/voice/VoiceCaption.js";
|
|
100
|
+
import { VoiceConversationView as Ho } from "./shared/assistant/ui/voice/VoiceConversationView.js";
|
|
101
|
+
import { VoiceWaveform as Uo } from "./shared/assistant/ui/voice/VoiceWaveform.js";
|
|
102
|
+
import { VoiceStatusLine as Wo, VoiceStatusText as Go } from "./shared/assistant/ui/voice/VoiceStatusText.js";
|
|
103
|
+
import { VoiceMiniController as Ko } from "./shared/assistant/ui/voice/VoiceMiniController.js";
|
|
104
|
+
import { VoiceStage as qo } from "./shared/assistant/ui/voice/VoiceStage.js";
|
|
105
|
+
import { VoiceTranscriptDrawer as Jo } from "./shared/assistant/ui/voice/VoiceTranscriptDrawer.js";
|
|
106
|
+
import { downloadFile as Yo, exportConversation as Xo } from "./shared/assistant/exportConversation.js";
|
|
107
|
+
import { AssistantMoreMenu as Zo } from "./shared/assistant/ui/AssistantMoreMenu.js";
|
|
108
|
+
import { AssistantHeader as Qo } from "./shared/assistant/ui/AssistantHeader.js";
|
|
109
|
+
import { AssistantConversationList as $o } from "./shared/assistant/ui/AssistantConversationList.js";
|
|
110
|
+
import { AssistantEmptyState as es } from "./shared/assistant/ui/AssistantEmptyState.js";
|
|
111
|
+
import { AssistantTurnActivity as ts, TurnActivityLine as ns } from "./shared/assistant/ui/AssistantTurnActivity.js";
|
|
112
|
+
import { AssistantMessageItem as rs } from "./shared/assistant/ui/AssistantMessageItem.js";
|
|
113
|
+
import { AssistantMessageList as is } from "./shared/assistant/ui/AssistantMessageList.js";
|
|
114
|
+
import { AssistantVoiceSession as as } from "./shared/assistant/ui/voice/AssistantVoiceSession.js";
|
|
115
|
+
import { useAssistantApiAccess as os } from "./shared/assistant/useAssistantApiAccess.js";
|
|
116
|
+
import { useConversationTurns as ss } from "./shared/assistant/useConversationTurns.js";
|
|
117
|
+
import { isMultimodalBodyRejection as cs, isRecoverableAssistantError as ls } from "./shared/assistant/transportErrors.js";
|
|
118
|
+
import { aiCreditsUpdatedEventName as us, dispatchAssistantQuotaExhausted as ds, notifyAiCreditsUpdated as fs } from "./shared/assistant/aiCredits.js";
|
|
119
|
+
import { useWorkspaceWriteAccess as ps } from "./shared/assistant/useWorkspaceWriteAccess.js";
|
|
120
|
+
import { extractDocumentText as ms } from "./shared/assistant/documentExtract.js";
|
|
121
|
+
import { useAssistantAttachments as hs } from "./shared/assistant/useAssistantAttachments.js";
|
|
122
|
+
import { AssistantComposer as gs } from "./shared/assistant/ui/composer/AssistantComposer.js";
|
|
123
|
+
import { isProdRuntime as _s } from "./shared/assistant/env.js";
|
|
124
|
+
import { useAssistantHeartbeat as vs } from "./shared/assistant/useAssistantHeartbeat.js";
|
|
125
|
+
import { useAssistantKeyboardShortcuts as ys } from "./shared/assistant/useAssistantKeyboardShortcuts.js";
|
|
126
|
+
import { AssistantApiCallsConsentDialog as bs } from "./shared/assistant/ui/AssistantApiCallsConsentDialog.js";
|
|
127
|
+
import { AssistantChatArea as xs } from "./shared/assistant/ui/AssistantChatArea.js";
|
|
128
|
+
import { AIAssistantPanel as Ss } from "./shared/assistant/ui/AIAssistantPanel.js";
|
|
129
|
+
import { ASSISTANT_BOTTOM_CHROME_CLEARANCE as Cs, ASSISTANT_DIALOG_SELECTOR as ws, ASSISTANT_DOCKED_DESKTOP_CLASS as Ts, ASSISTANT_DOCK_WIDTH_PX as Es, ASSISTANT_DOCK_WIDTH_VAR as Ds, ASSISTANT_FLOATING_DESKTOP_CLASS as Os, ASSISTANT_OVERLAY_DEFAULT_TOP_PX as ks, ASSISTANT_OVERLAY_DESKTOP_QUERY as As, ASSISTANT_OVERLAY_TOP_VAR as js, ASSISTANT_SHEET_BASE_CLASS as Ms, ASSISTANT_SHEET_COMPACT_CLASS as Ns, ASSISTANT_SHEET_EXPANDED_CLASS as Ps, ASSISTANT_TOGGLE_SHORTCUT_LABEL as Fs, aboveAssistantBottomChrome as Is, assistantOverlayClassName as Ls, assistantOverlayEscapeAction as Rs, assistantOverlayKeys as zs, assistantQuotaKindOf as Bs, createAssistantNavigate as Vs, isAssistantToggleShortcut as Hs, nextAssistantOpenState as Us, publishedAssistantDockWidth as Ws, readAssistantOverlayFlag as Gs, requestedAssistantOpenState as Ks, writeAssistantOverlayFlag as qs } from "./shared/assistant/ui/assistantOverlayState.js";
|
|
130
|
+
import { AssistantOverlay as Js, AssistantOverlayProvider as Ys, useAssistantDockWidth as Xs, useAssistantOverlayOrNull as Zs, useAssistantQuotaExhausted as Qs } from "./shared/assistant/ui/AssistantOverlay.js";
|
|
131
|
+
export { Ti as ADMIN_MODE_ACCESS_WAIT_MS, Ss as AIAssistantPanel, q as ASSISTANT_API_AUTH_STRATEGY, Cs as ASSISTANT_BOTTOM_CHROME_CLEARANCE, ws as ASSISTANT_DIALOG_SELECTOR, Ts as ASSISTANT_DOCKED_DESKTOP_CLASS, Es as ASSISTANT_DOCK_WIDTH_PX, Ds as ASSISTANT_DOCK_WIDTH_VAR, Os as ASSISTANT_FLOATING_DESKTOP_CLASS, bi as ASSISTANT_I18N_COMPUTED_COPY, xi as ASSISTANT_I18N_LITERAL_COPY, Si as ASSISTANT_I18N_MANIFEST, or as ASSISTANT_LANGUAGES, L as ASSISTANT_MODE_FALLBACK_LABELS, R as ASSISTANT_MODE_IDS, jo as ASSISTANT_MODE_META, Pa as ASSISTANT_OVERLAY_ATTR, ks as ASSISTANT_OVERLAY_DEFAULT_TOP_PX, As as ASSISTANT_OVERLAY_DESKTOP_QUERY, js as ASSISTANT_OVERLAY_TOP_VAR, Fa as ASSISTANT_PANEL_ATTR, Ms as ASSISTANT_SHEET_BASE_CLASS, Ns as ASSISTANT_SHEET_COMPACT_CLASS, Ps as ASSISTANT_SHEET_EXPANDED_CLASS, Fs as ASSISTANT_TOGGLE_SHORTCUT_LABEL, Pr as ATTACHMENT_ACCEPT, _i as ATTACHMENT_SOURCES, Io as AUTO_VOICE, bs as AssistantApiCallsConsentDialog, Wa as AssistantAttachmentButton, Ga as AssistantAttachmentChips, wa as AssistantAutoSpeakToggle, ma as AssistantAvatar, xs as AssistantChatArea, gs as AssistantComposer, Na as AssistantConnectSourceItem, ja as AssistantConnectSourceProvider, $o as AssistantConversationList, es as AssistantEmptyState, go as AssistantEntityPreview, Qo as AssistantHeader, s as AssistantI18nProvider, Da as AssistantLanguageMenu, ko as AssistantLanguageSelector, f as AssistantMarkdownImage, h as AssistantMarkdownRenderer, Ta as AssistantMessageAttachments, rs as AssistantMessageItem, is as AssistantMessageList, Mo as AssistantModeSelector, Zo as AssistantMoreMenu, g as AssistantNavigateProvider, Js as AssistantOverlay, Ys as AssistantOverlayProvider, Ea as AssistantPendingWriteCard, Do as AssistantPreviewBridgeHost, Oo as AssistantPreviewOverlay, Ka as AssistantPreviewProvider, t as AssistantProductProvider, Oa as AssistantReplyLanguageSelector, Pe as AssistantRuntimeManager, ka as AssistantSpeakButton, ha as AssistantSpeechProvider, Aa as AssistantSpokenTurnsNotice, ho as AssistantStepRail, ua as AssistantToolActivity, ts as AssistantTurnActivity, Fo as AssistantVoiceButton, Ro as AssistantVoiceOrb, Lo as AssistantVoiceSelector, as as AssistantVoiceSession, zo as AssistantVoiceSessionButton, Fr as AttachmentRejectedError, mr as BOILERPLATE_PAGE_SHARE, qe as BUILT_IN_MODE_CAPABILITIES, Bo as CAPTION_SCROLL_ATTR, O as CHECK_AI_CREDITS, k as CREATE_SANDBOX, Ir as DEFAULT_INLINE_LIMITS, zn as DEFAULT_SPEAKABLE_LABELS, sr as DEFAULT_SPEECH_RATE, tt as DEFAULT_STREAM_BUDGET_MS, wn as ENDPOINT_GRACE_MS, A as EXTEND_SANDBOX_TTL, Ao as FOLLOW_APP_LOCALE, j as GET_ACTIVE_SANDBOXES, M as GET_SANDBOX, yt as HOSTED_DISABLE_MS, bt as HOSTED_TTS_MAX_CHARS, ht as HOSTED_TTS_TIER, gt as HOSTED_VOICES, Nt as HOSTED_VOICE_RANK, wo as HostedPreviewBridgeContext, so as IDLE_ACTIVE_TAB, Hi as IDLE_PLAYBACK, Qa as IDLE_PREVIEW, Ja as IDLE_PREVIEW_STATE, yn as IDLE_ROTATION_CLOCK, nt as INCOMPLETE_TURN_NOTICES, Tn as INITIAL_SESSION, Lr as INLINE_IMAGE_MAX_DIM, Rr as INLINE_IMAGE_QUALITY, En as INTERRUPT_MAX_MS, Dn as INTERRUPT_MIN_MS, ji as LEGACY_WRITE_CONSENT_KEY, Je as MAX_ASSISTANT_STREAM_BUDGET_MS, zr as MAX_ATTACHMENTS, hr as MAX_BOILERPLATE_LINE_CHARS, Br as MAX_CONFIGURABLE_INLINE_CHARS, gr as MAX_EXTRACTED_CHARS, Vr as MAX_FILE_BYTES, Hr as MAX_INLINE_CHARS_PER_FILE, Ur as MAX_INLINE_CHARS_TOTAL, ie as MAX_INLINE_IMAGE_BASE64_BYTES, Wr as MAX_INLINE_IMAGE_BASE64_CHARS, Gr as MAX_INLINE_IMAGE_PARTS, Kr as MAX_INLINE_TURN_BODY_BYTES, _r as MAX_PDF_PAGES_SCANNED, ae as MAX_REQUEST_BODY_BYTES, Bn as MAX_SPEAKABLE_CHARS, Vn as MAX_SPOKEN_TABLE_ROWS, qr as MAX_TURN_BODY_BYTES, Zn as MINI_CAPTION_BUDGET, vr as MIN_PAGE_TEXT_CHARS, yr as MIN_TEXT_PAGE_SHARE, $a as NO_OWNER, Ia as NO_PANEL_OVERLAY, sn as PHRASE_ROTATE_MS, $n as POLL_FAST_MS, er as POLL_FAST_UNTIL_MS, tr as POLL_SLOW_MS, nr as POLL_STEADY_MS, rr as POLL_STEADY_UNTIL_MS, Yn as PREVIEW_LANGUAGES, V as PRODUCT_ASSISTANT_MODE_ID_MAX_LENGTH, H as PRODUCT_ASSISTANT_MODE_ID_PATTERN, Jr as PROMPT_ENVELOPE_RESERVE_BYTES, Yr as PROVIDER_READABLE_FILE_MEDIA_TYPES, N as PROXY_SANDBOX_REQUEST, vo as REDUCED_MOTION_ATTRIBUTE, yo as REDUCED_MOTION_QUERY, P as REPORT_AI_TOKEN_USAGE, oe as REQUEST_TOO_LARGE_REFUSAL, xa as SANDBOX_READY_TTL_MS, On as SILENCE_SUBMIT_MS, xt as SPEAKING_RATE_MAX, St as SPEAKING_RATE_MAX_STREAMING, Ct as SPEAKING_RATE_MAX_SYNC, wt as SPEAKING_RATE_MIN, Hn as SPEECH_CHUNK_CHARS, Un as SPEECH_CHUNK_CJK_CHARS, Pt as SPEECH_LANG, Ri as SPOKEN_LABEL_LANGUAGES, cn as STAGE_COPY, F as STOP_ASSISTANT_SANDBOX, rt as STREAM_BUDGET_MS, Mi as TAKE_ACTION_ENGLISH, ln as THINKING_PHRASES, Xr as TURN_BODY_HEADROOM_BYTES, ns as TurnActivityLine, Ye as UNAVAILABLE_MODE_REFUSAL, Xe as UNDECLARED_MODE_CAPABILITIES, Ft as VOICE_LIST_TIMEOUT_MS, mn as VOICE_MUTED_LABEL, hn as VOICE_THINKING_LABEL, Vo as VoiceCaption, Ho as VoiceConversationView, Ko as VoiceMiniController, qo as VoiceStage, Wo as VoiceStatusLine, Go as VoiceStatusText, Jo as VoiceTranscriptDrawer, Uo as VoiceWaveform, I as WAIT_FOR_SANDBOX_RUNNING, se as abortAssistantTurn, Is as aboveAssistantBottomChrome, La as activePanelOverlay, Ze as adminOnlyModeSendRefusal, Ei as adminOnlyModeSendRefusalAfterAccess, bn as advanceRotationClock, us as aiCreditsUpdatedEventName, eo as applyPreviewEvent, ce as approvePendingWrite, Ci as assistantI18nSeedCopy, z as assistantModeFallbackLabel, wi as assistantModeI18nCopy, No as assistantModeMeta, Ls as assistantOverlayClassName, Rs as assistantOverlayEscapeAction, zs as assistantOverlayKeys, Ra as assistantPanelOwnsEscape, Bs as assistantQuotaKindOf, _ as assistantRoutePath, c as assistantTranslationKey, v as assistantUrlTransform, vi as availableAttachmentSources, Tt as base64ToBytes, y as browserShouldHandle, mt as browserSpeechEngine, la as buildAssistantProgress, le as buildAssistantSandboxEnv, Zr as buildAttachmentPromptBlock, Ai as buildBoundedAttachmentTurn, In as buildContinuedFromVoiceNote, Fe as buildProgress, ue as buildPromptGatewayRequest, Qr as buildPromptParts, de as buildPromptRequestBody, $r as buildPromptWithAttachments, Et as buildRequest, E as buildSandboxContextInput, Ln as buildVoiceTranscriptMarkdown, U as builtInModeExtendedBy, st as chatTurns, fe as checkAssistantAiCredits, Wn as chunkForSpeech, b as classifyAssistantHref, ei as classifyAttachment, Dt as classifyHttpFailure, S as classifyQuotaError, br as columnLetterToIndex, gn as composeVoiceStatus, Jt as configureSpeechEngine, Gn as containsCjk, d as copyToClipboard, ti as countInlineImageCandidates, ni as countInlinedImageParts, fa as countSpokenTurns, Di as createAdminModeAccessGate, Vs as createAssistantNavigate, to as createAssistantPreviewSurface, pe as createAssistantSandbox, me as createAssistantSession, Mt as createHostedTtsEngine, Sa as createReadinessTracker, qt as createRoutingSpeechEngine, ao as createRunIdentityCache, Ge as createSandboxAssistantTransport, Yt as createSpeechEngines, no as currentPreviewOwner, W as declareAssistantMode, Ot as decodeAudioResponse, xr as decodeXmlEntities, C as describeQuotaError, ri as detectDocumentFormat, Bi as detectScriptLocale, yi as deviceHasCamera, kt as disableDurationMs, ds as dispatchAssistantQuotaExhausted, Sr as docxXmlToText, he as downloadAssistantArtifact, Yo as downloadFile, ia as elapsedSince, za as escapeDismisses, ii as estimateTurnBodyBytes, D as executeSandboxGraphQL, Xo as exportConversation, ge as extendAssistantSandboxTTL, ms as extractDocumentText, cr as findAssistantLanguage, Qe as findAssistantModeConfig, _e as findExistingSandbox, fr as findPendingWrite, Cr as fitPdfPages, Ba as focusIsInsidePanel, ai as formatBytes, wr as formatPageRanges, ve as forwardsUserTokensToSandbox, va as getActorId, ye as getAssistantArtifacts, ra as getAssistantDisplayContent, Ie as getAssistantMedia, be as getAssistantMessages, xe as getAssistantSession, Se as getAssistantStreamAccess, Le as getAssistantText, oi as getAttachmentSendBlocker, ee as getCapability, si as getExtension, J as getImageForMode, Y as getImageTagForMode, ya as getOrganizationId, Re as getRawMessageCreatedAt, X as getResourcesForMode, Z as getSandboxImageRegistry, ci as getSendableAttachments, Xt as getSpeechEngine, ze as getToolProgress, ba as getWorkspaceId, ct as groupBySession, lt as groupConsecutiveBySession, li as hasAttachmentWorkInFlight, _t as hostedLocaleFor, vt as hostedSupportsLanguage, p as imageHostLabel, it as incompleteTurnNotice, G as isAssistantModeId, Hs as isAssistantToggleShortcut, Ya as isBlankProse, B as isBuiltInAssistantMode, kn as isCapturing, An as isEcho, It as isHostedVoice, $i as isLegacyFiller, ea as isLegacyStopped, Tr as isMostlyImagePages, cs as isMultimodalBodyRejection, _s as isProdRuntime, K as isProductAssistantModeId, ui as isProviderReadableFilePart, w as isQuotaExhaustedError, Be as isReapedSandboxConnectionError, Ca as isRecentlyVerified, Ve as isRecoverable, ls as isRecoverableAssistantError, m as isRemoteImageSrc, Xa as isRunningStatus, Ui as isSpeakingMessage, Lt as isSpeechBlocked, ta as isStageCopy, jn as isSubmittable, Xi as isTurnInFlight, te as isUnknownFieldError, ut as isVoiceTurn, Ni as isWriteModeAcknowledged, Er as joinSheets, Rt as languageDisplayName, di as largestInlineCharsPerFile, He as mapSessionToHistory, ne as markSupported, re as markUnsupported, Ue as mergeMessagesById, qi as mergePersistedAssistantState, en as micIsInterrupt, Ce as modeRequiresConfirmWrites, aa as msUntilNextPhrase, co as nextActiveTab, Us as nextAssistantOpenState, Po as nextModeIndex, Va as nextPanelOverlays, Za as nextPreviewEvents, zt as normalizeLangTag, fs as notifyAiCreditsUpdated, Mn as orbMode, Dr as pageMarker, To as panelOwnedPreviewBridge, Ha as panelOwnsEscape, pr as parseConfirmationRefusal, fi as parseDataUrl, Or as parseSharedStrings, da as parseToolActivity, kr as parseWorkbookSheets, Ar as pdfTextItemsToPage, lo as pinActiveTab, Zi as planAbandonedTurn, Nn as planReplyConsumption, Qi as planTurnAbort, ir as pollDelayMs, Bt as primaryLanguageSubtag, we as promptGatewayRequestBytes, Ws as publishedAssistantDockWidth, Wi as publishedChunks, T as quotaExhaustedEventName, Gs as readAssistantOverlayFlag, bo as readReducedMotion, Zt as readSpeechEngineConfig, Te as releaseSupersededAssistantSandboxes, ur as replyFollowsInput, Ee as reportAssistantAiTokenUsage, Ks as requestedAssistantOpenState, Gi as requiresCancel, Qt as resetSpeechEngine, Ji as resolveActiveModeSandbox, pi as resolveAssistantInlineLimits, lr as resolveAssistantLanguage, $e as resolveAssistantModeCapabilities, Oi as resolveAssistantSendModeAfterAccess, dr as resolveLanguagePair, n as resolveModeConfig, Q as resolveSandboxAssistantMode, Vi as resolveSpeechLocale, Pi as restoreAcknowledgedWriteModes, xn as rotationElapsedMs, ro as runBelongsTo, oo as runIdentities, io as sameOwner, $ as sandboxBaseModeFor, We as sanitize, De as selectExistingAssistantSandbox, Oe as selectSupersededAssistantSandboxes, Vt as selectVoiceForLocale, ke as sendAssistantPromptAsync, Ae as sendHeartbeat, jr as sheetXmlToRows, At as shouldDisableEngine, uo as shouldPinOnMove, fo as shouldPinOnSelect, Qn as showPreviousChunk, tn as showsAssistantCaption, nn as showsUserCaption, Kn as speakableEmail, Ht as speechGate, zi as speechLabelsFor, Ut as speechLangForLocale, Ki as speechPlaybackReducer, jt as splitForVendor, qn as splitTableRow, Pn as spokenSoFar, pa as spokenTurnText, un as stageText, oa as startPhraseTicker, Sn as startRotationTicker, dn as statusStageCopy, po as stepsFromToolActivity, je as stopReapedAssistantSandbox, at as streamBudgetMs, na as stripLegacyFillerPrefix, xo as subscribeReducedMotion, $t as subscribeSpeechEngine, Mr as summarisePageText, Cn as syncRotationClock, mo as tabForArrowKey, fn as thinkingPhrase, pn as thinkingPhraseEntry, ar as toCaptionText, mi as toMessageAttachment, Jn as toSpeakableText, hi as truncateForInline, Nr as truncatePagesForInline, sa as turnActivityCopy, ca as turnActivityStage, et as unofferedModeSendRefusal, ki as unofferedModeSendRefusalAfterAccess, os as useAssistantApiAccess, hs as useAssistantAttachments, Ma as useAssistantConnectSource, Xs as useAssistantDockWidth, vs as useAssistantHeartbeat, l as useAssistantI18nNamespace, ys as useAssistantKeyboardShortcuts, x as useAssistantNavigate, Zs as useAssistantOverlayOrNull, r as useAssistantPageLabel, qa as useAssistantPreview, Co as useAssistantPreviewBridge, i as useAssistantProduct, a as useAssistantProductOrNull, Qs as useAssistantQuotaExhausted, ga as useAssistantSpeech, o as useAssistantStorageFolders, Yi as useAssistantStore, u as useAssistantTr, ss as useConversationTurns, Ua as useDropdownEscape, Eo as useHostedAssistantPreviewBridge, _o as useOverlayFocus, So as usePrefersReducedMotion, Ke as useSandboxAssistantTransport, e as useVoiceInput, _a as useVoiceSession, ps as useWorkspaceWriteAccess, gi as validateFile, Wt as voiceAvailability, dt as voiceMarker, Xn as voicePreviewText, Gt as voiceQualityRank, ft as voiceSessionIdOf, Fn as voiceSessionReducer, rn as voiceStageState, _n as voiceStatusParts, vn as voiceStatusSuffix, Rn as voiceTranscriptFilename, pt as voiceTurnsOnly, Kt as voicesForLocale, Me as waitForAssistantServiceReady, Ne as waitForSandboxRunning, an as waveformIsActive, on as waveformIsSettled, ot as withIncompleteTurnNotice, Fi as withWriteModeAcknowledged, qs as writeAssistantOverlayFlag, Ii as writeModeConsentCopy, Li as writeModeSendRefusal };
|