lody 0.114.1 → 0.115.0
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/README.md +2 -0
- package/dist/{session-access-DBWXcozo.js → access-Sut1_1-c.js} +263 -130
- package/dist/{acp-http-proxy-CEqdfPIb.js → acp-http-proxy-BeNRWwOZ.js} +2 -2
- package/dist/{acp-interaction-owner-C9DnwDek.js → acp-interaction-owner-uSfNzpiU.js} +14 -13
- package/dist/{agent-execution-KNblr7op.js → agent-execution-D1-dEIN6.js} +5 -5
- package/dist/{analytics-events-DgubpwYf.js → analytics-events-BQIrmfJp.js} +2 -2
- package/dist/{app-DO6nxrTQ.js → app-J2sTmsZo.js} +15 -14
- package/dist/{auth-BzBqWcHJ.js → auth-CTegS0TL.js} +2 -2
- package/dist/{automation-CaVyvwqU.js → automation-BL7x_nUm.js} +15 -14
- package/dist/chunks/{vendor-loro-repo-KiPOxZ47.js → vendor-loro-repo-B1zdQ8Qd.js} +3 -2
- package/dist/chunks/{vendor-undici-D9lUGEXQ.js → vendor-undici-Cm00wA7x.js} +3 -2
- package/dist/chunks/{vendor-undici-Dkj-EYtJ.js → vendor-undici-aSjjVk9-.js} +4 -3
- package/dist/claude-acp.js +3 -2
- package/dist/{cli-presence-application-BPo9zPWo.js → cli-presence-application-D2Dn0fPM.js} +7 -6
- package/dist/{client-CG7iYu4O.js → client-BsIzN-iC.js} +14 -13
- package/dist/codex-acp.js +3 -2
- package/dist/{command-runtime-CU9xs2mb.js → command-runtime-C7EPuHLe.js} +283 -153
- package/dist/{control-IZGSPxqh.js → control-CgRxpxvc.js} +18 -17
- package/dist/{fs-atomic-sI-5rfuh.js → cross-workspace-D6-aE1-w.js} +67 -7
- package/dist/{daemon-ChBsVK29.js → daemon-DWm2IzH9.js} +11 -10
- package/dist/{daemon-runner-Czhapxd-.js → daemon-runner-Bn8O9-a0.js} +9 -8
- package/dist/{daemon-session-tools-BkNAXJte.js → daemon-session-tools-BSAgq4O1.js} +25 -24
- package/dist/{daemon-shared-lCH0JHQD.js → daemon-shared-NcwWGSEj.js} +2 -2
- package/dist/{device-preview-rocdCptj.js → device-preview-BjqAbZ9g.js} +50 -25
- package/dist/devin-acp.js +3 -2
- package/dist/{discovery-query-hcHHutEn.js → discovery-query-C_7lyBI8.js} +2 -2
- package/dist/{dsh-BBMJN1_w.js → dsh-DVyIAYZ9.js} +5 -5
- package/dist/{dsh-plugins-DyDJ4nyX.js → dsh-plugins-Dfsqsiu7.js} +5 -4
- package/dist/{e2ee-Rp-kqqRV.js → e2ee-CslOKVIM.js} +2 -2
- package/dist/{e2ee-execution-intent-kcGw6188.js → e2ee-execution-intent-DYBEG410.js} +4 -4
- package/dist/{export-CW3tgEh5.js → export-C-zeWP1i.js} +19 -18
- package/dist/{feedback-DXHiE_SV.js → feedback-Dde39k5W.js} +15 -14
- package/dist/{feedback-wAp0AIne.js → feedback-jvl2Dz8w.js} +2 -2
- package/dist/{github-Ds3oR20B.js → github-BtMkInqL.js} +14 -13
- package/dist/grok-acp.js +3 -2
- package/dist/{http-transport-DDAJ_zUL.js → http-transport-C1f1XEnB.js} +3 -3
- package/dist/{index-BR78_63y.js → index-BTgKuz44.js} +7 -7
- package/dist/{index-cUL6BMen.js → index-BUam8GIX.js} +15 -14
- package/dist/{index-Z-zMjsvr.js → index-BsfKnSuo.js} +629 -731
- package/dist/{index-vrW0djgm.js → index-Ce9khNjj.js} +29 -28
- package/dist/{index-DNfm72S8.js → index-Dy-FYtdl.js} +20 -19
- package/dist/index.js +7 -6
- package/dist/{internal-BlRJVTRc.js → internal-BPOwohVc.js} +25 -24
- package/dist/{local-ipc-BQZPuSjl.js → local-ipc-B8vySppK.js} +12 -3
- package/dist/{local-project-control-client-vC7RtUIF.js → local-project-control-client-CIBpaXbo.js} +3 -3
- package/dist/{lody-mcp-http-protocol-d_6zEbk9.js → lody-mcp-http-protocol-DBLKn7SZ.js} +4 -4
- package/dist/{lody-mcp-server-DOkbYw6c.js → lody-mcp-server-B4OeNPT4.js} +22 -19
- package/dist/{login-Nwpcfzb7.js → login-Df1IkdeV.js} +7 -6
- package/dist/{login-shell-env-DiOZ-bog.js → login-shell-env-HKDW5zwx.js} +2 -2
- package/dist/{logout-C13Nc5pT.js → logout-gDuSiB0l.js} +7 -6
- package/dist/{machine-DJ0Pn0js.js → machine-bjdZ1hmy.js} +23 -22
- package/dist/{machine-protocol-capabilities-LN7bzFSN.js → machine-protocol-capabilities-DEhAj9SH.js} +80 -77
- package/dist/{mcp-z0JBqqIQ.js → mcp-DTnh_PAT.js} +20 -19
- package/dist/{migrate-DxEEhXQ9.js → migrate-CUdZ3XBR.js} +231 -73
- package/dist/{operation-CuFKC3x2.js → operation-CzLcjV3W.js} +16 -15
- package/dist/{operation-store-D1TdJgBc.js → operation-store-rllAX2mr.js} +3 -3
- package/dist/{presence-BGW-7JQJ.js → presence-CZco7UQH.js} +4 -4
- package/dist/{presence-legacy-BI0h0kBA.js → presence-legacy-DIYBtj5j.js} +3 -3
- package/dist/{project-BPuPcKZT.js → project-C_EZ2dLN.js} +21 -20
- package/dist/{register-hqq68K_S.js → register-VLBUVPh5.js} +26 -26
- package/dist/{remote-pairing-BixLRGZN.js → remote-pairing-D24xSpRh.js} +19 -18
- package/dist/{reset-identity-Arhv456z.js → reset-identity-DVubJrt0.js} +19 -18
- package/dist/{review-DDMytOEX.js → review-6aCgWEdv.js} +2 -2
- package/dist/{review-viewer-CkjhHGL8.js → review-viewer-CRYK94SE.js} +3 -3
- package/dist/{schedule-C2ooWjeY.js → schedule-CGTbG70S.js} +20 -19
- package/dist/{schedule-command-client-Dp2K-GDf.js → schedule-command-client-C6matZWn.js} +19 -18
- package/dist/{schedule-command-service-D7OwaAhZ.js → schedule-command-service-2gToipBI.js} +20 -19
- package/dist/{schedule-documents-7GqM7IcI.js → schedule-documents-DRc0byQm.js} +3 -3
- package/dist/{schedule-recurrence-CGZIb0Pu.js → schedule-recurrence-BVxMRfp4.js} +3 -3
- package/dist/{schedule-repository-D8Ui2jvb.js → schedule-repository-dz9iwR0x.js} +3 -3
- package/dist/{schedule-run-preparation-BEKS3RjW.js → schedule-run-preparation-1oSQ5i-A.js} +5 -5
- package/dist/{schedule-types-DTul4K9c.js → schedule-types-BquxGfza.js} +537 -391
- package/dist/{service-CTj21Cv2.js → service-D9xJKmI-.js} +4 -58
- package/dist/{session-file-blob-store-bjZk_Pby.js → session-file-blob-store-CBHDgf4e.js} +2 -2
- package/dist/{session-image-download-Bz47jmHy.js → session-image-download-DUwc2Fb4.js} +3 -3
- package/dist/{session-input-Bm4DZ_ah.js → session-input-MeZheBJ0.js} +2 -2
- package/dist/{session-link-CZ1z8J8d.js → session-link-demCF_Y_.js} +2 -2
- package/dist/{session-link-export-CF0aLI3O.js → session-link-export-BM1zZQRs.js} +3 -3
- package/dist/{session-p5D9mnGA.js → session-npaRR-y3.js} +170 -39
- package/dist/{session-operation-targets-yk7bQTAn.js → session-operation-targets-lq3rsTnV.js} +3 -3
- package/dist/{setting-CO0xphaD.js → setting-Cq6nKJgF.js} +8 -6
- package/dist/{start-DjcjoPvR.js → start-BolVcMOA.js} +391 -142
- package/dist/{sync-CUa0QP_M.js → sync-BrDYKZ4H.js} +15 -14
- package/dist/{workspace-DA-wPD10.js → workspace-Bthb-nhu.js} +17 -16
- package/dist/{workspace-legacy-UCwDS1Zb.js → workspace-legacy-jZ0D5Xl-.js} +184 -66
- package/package.json +1 -1
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { a as captureException, i as initCliAnalytics, d as closeLoginShellApplicationLegacy, f as flushTelemetry } from "./login-shell-env-
|
|
2
|
-
import { aH as LocalMachineRpcRequestSchema, k as remoteAutomationEncryptedResponseSchema, q as remoteAutomationSecretEnvelopeSchema, p as remoteAutomationRpcResultSchema, ak as FILE_PREVIEW_PROTOCOL_VERSION, B as AndroidEmulatorResponseSchema, aL as LocalProjectGitStateRpcResponseSchema, an as FileDownloadResponseSchema, at as FilePreviewV3ErrorSchema, as as FilePreviewV3ErrorCodeSchema, H as AndroidEmulatorRequestSchema, o as remoteAutomationProofSchema, n as remoteAutomationOperationSchema, l as remoteAutomationHandshakeSchema, aM as MachinePiExtensionsResponseSchema, u as SessionLiveStatusResponseSchema, b4 as SessionWithdrawInputResponseSchema, aw as FilePreviewV3ResponseSchema, b2 as SessionDirectoryListResponseSchema, a2 as CodeCollabReadBlobResponseSchema, a0 as CodeCollabOpenDiffManifestResponseSchema, G as AndroidEmulatorRemoteResponseSchema, aT as ProjectProbeLocalMemberResultSchema, L as LocalProjectListBranchesRpcResponseSchema, aI as LocalMachineRpcResponseSchema, t as makeLocalControlClientAuto, bu as IpcConnectError, bv as IpcTimeoutError, x as makeLocalProbeClientAuto, bw as IpcProtocolError } from "./local-ipc-
|
|
3
|
-
import { g as getLodyCLIVersion, A as AuthClient } from "./auth-
|
|
4
|
-
import { b as buildSessionImageApiUrl, cD as getSessionImageUploadApiPath, c as getSessionImageDownloadApiPath,
|
|
1
|
+
import { a as captureException, i as initCliAnalytics, d as closeLoginShellApplicationLegacy, f as flushTelemetry } from "./login-shell-env-HKDW5zwx.js";
|
|
2
|
+
import { aH as LocalMachineRpcRequestSchema, k as remoteAutomationEncryptedResponseSchema, q as remoteAutomationSecretEnvelopeSchema, p as remoteAutomationRpcResultSchema, ak as FILE_PREVIEW_PROTOCOL_VERSION, B as AndroidEmulatorResponseSchema, aL as LocalProjectGitStateRpcResponseSchema, an as FileDownloadResponseSchema, at as FilePreviewV3ErrorSchema, as as FilePreviewV3ErrorCodeSchema, H as AndroidEmulatorRequestSchema, o as remoteAutomationProofSchema, n as remoteAutomationOperationSchema, l as remoteAutomationHandshakeSchema, aM as MachinePiExtensionsResponseSchema, u as SessionLiveStatusResponseSchema, b4 as SessionWithdrawInputResponseSchema, aw as FilePreviewV3ResponseSchema, b2 as SessionDirectoryListResponseSchema, a2 as CodeCollabReadBlobResponseSchema, a0 as CodeCollabOpenDiffManifestResponseSchema, G as AndroidEmulatorRemoteResponseSchema, aT as ProjectProbeLocalMemberResultSchema, L as LocalProjectListBranchesRpcResponseSchema, aI as LocalMachineRpcResponseSchema, t as makeLocalControlClientAuto, bu as IpcConnectError, bv as IpcTimeoutError, x as makeLocalProbeClientAuto, bw as IpcProtocolError } from "./local-ipc-B8vySppK.js";
|
|
3
|
+
import { g as getLodyCLIVersion, A as AuthClient } from "./auth-CTegS0TL.js";
|
|
4
|
+
import { b as buildSessionImageApiUrl, cD as getSessionImageUploadApiPath, c as getSessionImageDownloadApiPath, d7 as isTextPreviewable, bM as buildSessionFileUploadMetadataHeaders, bK as buildSessionFileApiUrl, d as getSessionFileDownloadApiPath, cB as getSessionFileUploadApiPath, cx as getSessionFileMultipartCreateApiPath, cz as getSessionFilePartCount, bj as SESSION_FILE_PART_SIZE_BYTES, cy as getSessionFileMultipartPartApiPath, cw as getSessionFileMultipartCompleteApiPath, e5 as shouldUseSingleShotUpload, ae as BILLING_PLAN_TIERS, dr as parseGitHubRepo, bf as PreviewControlVerificationSchema, c1 as deriveLocationsFromToolCallContent, e8 as stripToolCallContentForHistory, a as addSessionTurnTokenUsage, r as readSessionTurnTokenUsage, aF as HistoryWriteError, l as parseHistoryWrite, H as HistoryEntryWriteSchema, cS as inheritHistoryStreamText, cR as historyUnionCandidates, d5 as isSessionHistoryPendingForDispatch, dS as resolveSessionHistoryStatus, dR as resolveSessionHistoryBackendKind, eu as notificationPresentationSchema, ea as targetLocalHistoryTargets, by as applyNotificationOnHistory, bx as applyMessageContentsBatch, q as getWorkspaceFlockDocId, dX as roomKey, aK as LOCAL_LORO_DATA_PLANE_PROTOCOL_VERSION, aI as LOCAL_LORO_DATA_PLANE_MAX_PAYLOAD_BYTES, bD as base64ToBytes, bX as decodeFlockVersion, az as DocUpdateChunkAssembler, df as mergeFlockVersions, bP as bytesToBase64, bE as buildDocUpdateChunkPayloads, bT as createDocUpdateTransferId, c6 as encodeFlockVersion, cW as isEmptyFlockBundle, bQ as chunkFlockBundle, aJ as LOCAL_LORO_DATA_PLANE_PAYLOAD_TOO_LARGE, aQ as LODY_MACHINE_MONITOR_STATE_TTL_MS, ec as toLodyMachineMonitorStreamUrl, dw as parseMachineMonitorStates, cs as getMachineMonitorSnapshotKey, aS as LODY_MACHINE_MONITOR_WINDOWS_SAMPLE_MS, aM as LODY_MACHINE_MONITOR_MACOS_SAMPLE_MS, aR as LODY_MACHINE_MONITOR_UNIX_SAMPLE_MS, k as getMachineFlockLocalProjects, f as readMachineFlockRowsFromFlock, g as getMachineFlockDocId, F as writeAgentConfigToFlock, bY as deleteAgentConfigFromFlock, e as isLoroRepoDocDeleted, ck as getMachineFlockBuiltinAgentOptOuts, z as getMachineFlockAgentConfigs, D as machineFlockKeys, dt as parseMachineFlockDocId, cH as getWorkspaceShortcutIndexStreamId, R as NEW_SESSION_HISTORY_BACKEND, y as getMachineFlockProviderSetupCancellations, B as getMachineFlockProviderSetups, I as SessionStatusFactory, aG as LEGACY_SESSION_HISTORY_BACKEND, C as writeMachineFlockRowToFlock, h as getMachineFlockAcpCapabilities, ei as writeAcpModelConfigOptionsToFlock, bJ as buildReplayPromptFromHistory, ao as DEFAULT_PREVIEW_CREATE_TIMEOUT_MS, be as PreviewControlProofSchema, bZ as deleteMachineFlockRowFromFlock, e3 as sessionHistoryWriteIntentDigest, _ as isContainedSession } from "./access-Sut1_1-c.js";
|
|
5
5
|
import { e as enablePatches, I as Immer2 } from "./chunks/vendor-immer-F2vkwr8n.js";
|
|
6
6
|
import { i as isContainer, b as LoroTree, c as LoroText, e as LoroMovableList, f as LoroList, g as LoroMap, V as VersionVector, E as EphemeralStore } from "./chunks/vendor-loro-crdt-2CFvB1HS.js";
|
|
7
7
|
import { s as schema, M as Mirror } from "./chunks/vendor-loro-mirror-kwb2EtZx.js";
|
|
8
|
-
import { B as SessionInputBlockSchema,
|
|
8
|
+
import { B as SessionInputBlockSchema, gf as uploadEncryptedAttachment, o as encryptedAttachmentPath, eJ as attachmentSha256, bN as BUG_REPORT_CLIENT_LOG_LIMITS, f_ as resolveLatestSessionGoalFromHistory, fo as isSessionGoalActive, de as MessageContentSchema, q as normalizeSessionTurnInputConfig, x as sha256Hex, eu as TaskProposalMetaSchema, z as SessionHistoryInputConfigSchema, ev as ToolCallContentSchema, dj as PermissionOutcomeSchema, ex as ToolCallMessageSchema, e6 as SessionForkOperationSchema, fm as isSensitiveAcpConfigOptionId, bX as CustomAcpLaunchSpecSchema, bR as BuiltinRuntimeOverridesSchema, eX as getAcpConfigOptionsModelId, eW as getAcpConfigOptionStructureKey, dt as ResumeFromExternalChatHistoryMetaSchema, ea as SessionHistoryChangesSchema, dI as SESSION_HISTORY_SUBSCRIPTION_TIMEOUT_MS, cI as MachineAcpBinaryProgressMessageSchema, cG as MachineAcpAuthenticationProgressMessageSchema, gd as sessionForkFailure, gc as sessionEditAndResendFailure, ag as LocalProjectControlRequestSchema, a6 as AgentConfigIdSchema, bQ as BugReportClientLogSchema, af as MemoryProviderRequestSchema, H as SessionIdSchema, a9 as SessionEditAndResendSpecSchema, a8 as SessionForkSpecSchema, aa as SESSION_GOAL_ACTIONS, ae as PreviewTargetSchema, a7 as SessionHistoryReadQuerySchema, ef as SessionHistorySubscriptionSchema, eg as SessionHistoryWriteOperationSchema, aj as MachineStatusResponseSchema, cU as MachinePreviewControlResponseSchema, ak as MachinePingResponseSchema, cY as MachineRestartResponseSchema, d0 as MachineUpgradeResponseSchema, aB as MachineProviderRateLimitsRefreshResponseSchema, aQ as MachineAcpCapabilitiesRefreshResponseSchema, cF as MachineAcpAuthenticateResponseSchema, al as MachineAcpBinaryStatusResponseSchema, aA as MachineAcpBinaryInstallResponseSchema, am as MemoryProviderResponseSchema, cM as MachineBugReportResponseSchema, an as SessionCancelResponseSchema, at as SessionSteerResponseSchema, ax as SessionGoalResponseSchema, ay as SessionTerminateResponseSchema, aq as SessionForkResponseSchema, ap as SessionEditAndResendResponseSchema, ao as SessionDispatchTurnResponseSchema, ah as SessionHistoryReadResponseSchema, ee as SessionHistorySubscriptionResponseSchema, ai as SessionHistoryWriteResponseSchema, aw as SessionPreviewStatusResponseSchema, au as SessionPreviewCreateResponseSchema, az as LocalProjectControlResponseSchema, av as SessionPreviewRevokeResponseSchema } from "./schedule-types-BquxGfza.js";
|
|
9
9
|
import { u as union, o as object, a as literal, c as string, _ as _null, n as number, k as discriminatedUnion, d as boolean, e as array, f as _enum, L as ZodOptional, M as ZodNullable, K as ZodUnion, s as safeParse, H as ZodObject, I as ZodLiteral, Q as ZodNever, P as ZodArray, r as record$6, B as json$1, h as unknown, Z as ZodIssueCode, C as custom } from "./chunks/vendor-zod-DAcQjQuC.js";
|
|
10
10
|
import { isDeepStrictEqual } from "node:util";
|
|
11
11
|
import { R as fnUntraced, a3 as make, b as flatMap, v as void_, a2 as gen, aa as close, bd as uninterruptible, a9 as exit, ad as isFailure, aN as done, as as _await, aH as makeUnsafe, ay as uninterruptibleMask, q as suspend, j as fail, af as andThen, b5 as forkIn, au as interruptible, aq as join, az as onInterrupt, cN as interrupt, ac as tap, d as sync, aL as addFinalizer, ao as isSuccess, a4 as provide, E as orDie, ab as void_$1, s as succeed, a_ as provideService, dx as runSync, aB as die, de as Effect, cE as scope, ba as currentTimeMillis, aE as sleep, cl as scoped, r as raceFirst, n as as, ag as succeed$1, b8 as never, d3 as tapError, dw as retry, y as map$1, dq as min, dr as exponential, ds as spaced, aP as onExit, dl as hasDies, aI as timeoutOrElse, ah as asVoid, C as acquireRelease, B as tryPromise, S as callback, Y as offer, dz as mapEffect, aG as promise, by as filter, bz as take, bA as runDrain, T as offerUnsafe, ar as forEach, aR as await_, d4 as fromReasons, cV as runPromise, aw as Service, x as effect, bj as make$1, p as fail$1, aj as doneUnsafe, aK as ensuring, bk as take$1, cM as forkDetach, ai as empty, ae as combine, aU as failCause, bi as shutdown, d2 as timeout, av as TaggedError, aM as catchCause, cX as isFailReason, dA as makeDieReason, dB as makeUnsafe$1, ax as succeed$2, c as callback$1, bf as make$2, cY as provide$1, dk as die$1, ap as hasInterruptsOnly, dd as unbounded, V as runFork, e as forever, bc as catch_, bb as isTimeoutError, d5 as isCause, cH as isDieReason, cj as runSyncExit, L as try_, cZ as mergeAll, ci as ChildProcessSpawner, F as FileSystem, aF as mapError, aJ as all, bx as catchTag, cI as result } from "./chunks/vendor-effect-CNM-5PoN.js";
|
|
12
12
|
import { f as formatErrorMessage, g as getLogger, L as LODY_LOG_DIR, i as listDailyLogFiles, j as readDailyLogFile, k as registerLoroSyncErrorFormatter, r as rootLogger } from "./logger-C-G7jpWR.js";
|
|
13
13
|
import { performance as performance$1 } from "perf_hooks";
|
|
14
14
|
import { a as WebSocket } from "./chunks/vendor-ws-D1QOrWHI.js";
|
|
15
|
-
import { S as SqliteRepoStore, c as createRepoStreamsPersistence, b as StreamsTransportAdapter, R as RepoTransportError, a as RepoSyncError, L as LoroRepo } from "./chunks/vendor-loro-repo-
|
|
16
|
-
import { e as createCliPresenceRuntimeLegacy, W as WorkspacePresenceLegacyFailure } from "./presence-legacy-
|
|
15
|
+
import { S as SqliteRepoStore, c as createRepoStreamsPersistence, b as StreamsTransportAdapter, R as RepoTransportError, a as RepoSyncError, L as LoroRepo } from "./chunks/vendor-loro-repo-B1zdQ8Qd.js";
|
|
16
|
+
import { e as createCliPresenceRuntimeLegacy, W as WorkspacePresenceLegacyFailure } from "./presence-legacy-DIYBtj5j.js";
|
|
17
17
|
import { f as EphemeralStreamCrdtLegacy, E as EphemeralStoreAdaptor, g as decompress, h as compress } from "./chunks/vendor-@loro-dev-streams-crdt-BOuVa3yO.js";
|
|
18
|
-
import { a7 as LoroStreamsTokenError, a$ as makeLoroStreamsTokenWebPorts, a_ as makeLoroStreamsTokenProvider, a8 as LoroStreamsTokenPorts,
|
|
18
|
+
import { a7 as LoroStreamsTokenError, a$ as makeLoroStreamsTokenWebPorts, a_ as makeLoroStreamsTokenProvider, a8 as LoroStreamsTokenPorts, H as getLoroStreamIdForDocId, aD as getLoroStreamsBaseUrl, x as createLoroStreamsTokenProviderLegacy, ar as describeLoroStreamsTokenCause, al as buildLoroStreamsTokenEndpoint, d as createLoroStreamUrl, f as LORO_STREAMS_BUCKET_ID, e as getLoroStreamsPresenceBaseUrl, h as getLoroMetaStreamId, aE as getLoroStreamsRemoteCursorUrlAliases, af as MACHINE_DOC_PREFIX, av as getAgentConfigRoomId, i as isMachineDocRoomId, aO as isAgentConfigDocRoomId, g as getScheduleRegistryFlockDocId, b7 as isWorkspaceCodeCollabFlockDocId, N as CODE_COLLAB_FILE_INDEX_FLOCK_TTL_MS, G as getLoroStreamsShardUrls, aP as isCodeCollabFileIndexFlockDocId, aQ as isCodeCollabFileIndexSignalFlockDocId, k as getSessionIdFromRoomId, b as getSessionRoomId, an as collectOnlineMachineIdsFromPresence, m as getMachineRoomId, D as isSessionDocRoomId } from "./presence-CZco7UQH.js";
|
|
19
19
|
import { g as getServerNow, s as syncTime, c as createServerTimeFetcher, i as isTimeSynced } from "./time-sync-D63wG9u-.js";
|
|
20
|
-
import { g as getCliHttpFetch, i as installCliHttpGlobalDispatcher, s as sanitizeUrlForLogging, h as resolveProxyAgent } from "./http-transport-
|
|
20
|
+
import { g as getCliHttpFetch, i as installCliHttpGlobalDispatcher, s as sanitizeUrlForLogging, h as resolveProxyAgent } from "./http-transport-C1f1XEnB.js";
|
|
21
21
|
import crypto__default, { randomUUID, createHash } from "node:crypto";
|
|
22
22
|
import fs__default$1 from "fs/promises";
|
|
23
23
|
import Database from "better-sqlite3";
|
|
@@ -51,7 +51,7 @@ import Zlib__default from "node:zlib";
|
|
|
51
51
|
import { n as normalizeBaseUrl, d as deriveConvexSiteUrl } from "./convex-site-url-Ca_MfzFd.js";
|
|
52
52
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
53
53
|
import { l as layer } from "./chunks/vendor-@effect-platform-node-shared-DkrmBObz.js";
|
|
54
|
-
import { a as machineSupportsProtocolCapability, M as MACHINE_PROTOCOL_CAPABILITIES, r as resolveNewSessionHistoryBackend,
|
|
54
|
+
import { a as machineSupportsProtocolCapability, M as MACHINE_PROTOCOL_CAPABILITIES, r as resolveNewSessionHistoryBackend, aC as machineSupportsSessionHistoryInspection } from "./machine-protocol-capabilities-DEhAj9SH.js";
|
|
55
55
|
function record$5(value) {
|
|
56
56
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
57
57
|
}
|
|
@@ -580,6 +580,9 @@ class SessionAttachmentTransfer {
|
|
|
580
580
|
this.serverBaseUrl = serverBaseUrl;
|
|
581
581
|
this.encrypted = encrypted;
|
|
582
582
|
}
|
|
583
|
+
get contentMode() {
|
|
584
|
+
return this.encrypted ? "protected" : "plaintext";
|
|
585
|
+
}
|
|
583
586
|
resolveServerBaseUrl() {
|
|
584
587
|
const url = this.serverBaseUrl?.trim();
|
|
585
588
|
if (!url) throw new Error("cloud_attachment_upload_unavailable");
|
|
@@ -12473,7 +12476,7 @@ function encryptedWorkspaceRoom(workspaceId, room) {
|
|
|
12473
12476
|
return { resource: `doc:${room.docId}`, model: "loro" };
|
|
12474
12477
|
if (room?.kind === "flock" && typeof room.flockDocId === "string" && room.flockDocId.length <= 1e3) {
|
|
12475
12478
|
const machine = parseMachineFlockDocId(room.flockDocId);
|
|
12476
|
-
if (machine && machine.workspaceId === workspaceId || room.flockDocId === getWorkspaceFlockDocId(workspaceId) || room.flockDocId === getScheduleRegistryFlockDocId(workspaceId) || isWorkspaceCodeCollabFlockDocId(workspaceId, room.flockDocId))
|
|
12479
|
+
if (machine && machine.workspaceId === workspaceId || room.flockDocId === getWorkspaceFlockDocId(workspaceId) || room.flockDocId === getScheduleRegistryFlockDocId(workspaceId) || isWorkspaceCodeCollabFlockDocId(workspaceId, room.flockDocId) || room.flockDocId === getWorkspaceShortcutIndexStreamId(workspaceId))
|
|
12477
12480
|
return { resource: `flock:${room.flockDocId}`, model: "flock" };
|
|
12478
12481
|
}
|
|
12479
12482
|
throw new WorkspaceStreamsConfigurationError("Encrypted workspace room is unavailable");
|
|
@@ -12490,7 +12493,7 @@ function encryptedWorkspaceResolver(workspaceId, provider) {
|
|
|
12490
12493
|
function workspaceSupports(content, feature) {
|
|
12491
12494
|
if (feature === "preview-comments" || feature === "code-collab-index" || feature === "remote-preview" || feature === "sharing")
|
|
12492
12495
|
return true;
|
|
12493
|
-
return content.mode === "plaintext" || feature === "presence" || feature === "export" || feature === "attachments" || feature === "schedules" || feature === "automations";
|
|
12496
|
+
return content.mode === "plaintext" || feature === "presence" || feature === "export" || feature === "attachments" || feature === "schedules" || feature === "automations" || feature === "shortcuts";
|
|
12494
12497
|
}
|
|
12495
12498
|
function createWorkspaceEpochTransitionLegacy(input) {
|
|
12496
12499
|
let epoch = input.epoch;
|
|
@@ -13081,6 +13084,23 @@ class LoroDocumentManager {
|
|
|
13081
13084
|
if (!this.encryptedWorkspace) throw new Error("e2ee_signature_unavailable");
|
|
13082
13085
|
return this.encryptedWorkspace.signScheduleDeclaration(document, manualRunKey);
|
|
13083
13086
|
}
|
|
13087
|
+
async verifyRoostInput(sessionId, entry, signer) {
|
|
13088
|
+
if (!this.encryptedWorkspace || entry.role !== "user" || !entry.e2eeIntent)
|
|
13089
|
+
throw new Error("e2ee_signature_missing");
|
|
13090
|
+
const result2 = await runPromise(
|
|
13091
|
+
this.encryptedWorkspace.resolveVerifiedExecutionOriginal(
|
|
13092
|
+
{
|
|
13093
|
+
workspaceId: this.workspaceId,
|
|
13094
|
+
sessionId,
|
|
13095
|
+
userTurnId: entry.id,
|
|
13096
|
+
inputConfig: entry.inputConfig
|
|
13097
|
+
},
|
|
13098
|
+
{ readUserTurn: async () => entry }
|
|
13099
|
+
)
|
|
13100
|
+
);
|
|
13101
|
+
if (!result2 || !("requesterDevice" in result2) || result2.requesterDevice !== signer)
|
|
13102
|
+
throw new Error("e2ee_signature_invalid");
|
|
13103
|
+
}
|
|
13084
13104
|
/** Encrypted workspaces: the signed intent for an input this machine writes itself, to
|
|
13085
13105
|
* store with it in the same commit. Ordinary workspaces need none. */
|
|
13086
13106
|
async signMachineInput(input) {
|
|
@@ -13970,9 +13990,12 @@ class LoroDocumentManager {
|
|
|
13970
13990
|
this.localFlockRoomBridges.delete(flockDocId);
|
|
13971
13991
|
});
|
|
13972
13992
|
}
|
|
13973
|
-
|
|
13974
|
-
if (this.encryptedWorkspace &&
|
|
13993
|
+
assertHistoryBackend(backend) {
|
|
13994
|
+
if (this.encryptedWorkspace && backend && backend !== "loro" && (backend !== "roost" || !this.encryptedWorkspace.repositoryDirectory))
|
|
13975
13995
|
throw new Error("e2ee_history_backend_unavailable");
|
|
13996
|
+
}
|
|
13997
|
+
async getOrCreateSessionDoc(sessionId, options = {}) {
|
|
13998
|
+
this.assertHistoryBackend(options.historyBackend);
|
|
13976
13999
|
const docId = getSessionRoomId(sessionId);
|
|
13977
14000
|
this.cancelLocalDocRoomBridge(docId);
|
|
13978
14001
|
const existing = this.sessions.get(sessionId);
|
|
@@ -14014,12 +14037,12 @@ class LoroDocumentManager {
|
|
|
14014
14037
|
sessionId,
|
|
14015
14038
|
(sessionDocId) => this.unloadDocRoom(sessionDocId),
|
|
14016
14039
|
this.logger,
|
|
14017
|
-
this.sessionHistoryFactory ?? this.ownerHistoryRouter
|
|
14040
|
+
this.sessionHistoryFactory ?? this.ownerHistoryRouter,
|
|
14041
|
+
this.encryptedWorkspace?.repositoryDirectory
|
|
14018
14042
|
);
|
|
14019
14043
|
const meta = options.historyBackend ? void 0 : await this.repo.getDocMeta(docId);
|
|
14020
14044
|
const historyBackend = options.historyBackend ?? (!isLoroRepoDocDeleted(meta) ? meta?.meta?.historyBackend : void 0);
|
|
14021
|
-
|
|
14022
|
-
throw new Error("e2ee_history_backend_unavailable");
|
|
14045
|
+
this.assertHistoryBackend(historyBackend);
|
|
14023
14046
|
await sessionDoc.init({
|
|
14024
14047
|
historyBackend,
|
|
14025
14048
|
skipAutoRead: options.skipAutoRead ?? Boolean(this.sessionHistoryFactory)
|
|
@@ -14059,12 +14082,12 @@ class LoroDocumentManager {
|
|
|
14059
14082
|
sessionId,
|
|
14060
14083
|
(snapshotDocId) => this.unloadDocRoom(snapshotDocId),
|
|
14061
14084
|
this.logger,
|
|
14062
|
-
this.sessionHistoryFactory ?? this.ownerHistoryRouter
|
|
14085
|
+
this.sessionHistoryFactory ?? this.ownerHistoryRouter,
|
|
14086
|
+
this.encryptedWorkspace?.repositoryDirectory
|
|
14063
14087
|
);
|
|
14064
14088
|
const meta = await this.repo.getDocMeta(docId);
|
|
14065
14089
|
const historyBackend = !isLoroRepoDocDeleted(meta) ? meta?.meta?.historyBackend : void 0;
|
|
14066
|
-
|
|
14067
|
-
throw new Error("e2ee_history_backend_unavailable");
|
|
14090
|
+
this.assertHistoryBackend(historyBackend);
|
|
14068
14091
|
await sessionDoc.init({
|
|
14069
14092
|
skipAutoRead: true,
|
|
14070
14093
|
...historyBackend ? { historyBackend } : {}
|
|
@@ -14104,12 +14127,12 @@ class LoroDocumentManager {
|
|
|
14104
14127
|
await this.unloadDocRoom(readDocId);
|
|
14105
14128
|
},
|
|
14106
14129
|
this.logger,
|
|
14107
|
-
this.sessionHistoryFactory ?? this.ownerHistoryRouter
|
|
14130
|
+
this.sessionHistoryFactory ?? this.ownerHistoryRouter,
|
|
14131
|
+
this.encryptedWorkspace?.repositoryDirectory
|
|
14108
14132
|
);
|
|
14109
14133
|
const meta = await this.repo.getDocMeta(docId);
|
|
14110
14134
|
const historyBackend = !isLoroRepoDocDeleted(meta) ? meta?.meta?.historyBackend : void 0;
|
|
14111
|
-
|
|
14112
|
-
throw new Error("e2ee_history_backend_unavailable");
|
|
14135
|
+
this.assertHistoryBackend(historyBackend);
|
|
14113
14136
|
await sessionDoc.init({
|
|
14114
14137
|
skipAutoRead: true,
|
|
14115
14138
|
remoteSync: false,
|
|
@@ -14394,6 +14417,17 @@ class LoroDocumentManager {
|
|
|
14394
14417
|
}
|
|
14395
14418
|
await this.machine.updateAcpAuthMethods(configId, authMethods);
|
|
14396
14419
|
}
|
|
14420
|
+
async recordObservedAcpModelConfigOptions(machineId, configId, sourceVersion, configOptions) {
|
|
14421
|
+
if (!this.machine) {
|
|
14422
|
+
this.machine = this.createMachineDocument(machineId);
|
|
14423
|
+
await this.machine.init();
|
|
14424
|
+
}
|
|
14425
|
+
return await this.machine.recordObservedAcpModelConfigOptions(
|
|
14426
|
+
configId,
|
|
14427
|
+
sourceVersion,
|
|
14428
|
+
configOptions
|
|
14429
|
+
);
|
|
14430
|
+
}
|
|
14397
14431
|
async getAcpCapabilities(machineId, configId) {
|
|
14398
14432
|
if (!this.machine) {
|
|
14399
14433
|
this.machine = this.createMachineDocument(machineId);
|
|
@@ -14611,12 +14645,13 @@ function subscribeSessionChanges(sessionDoc, listener, backend) {
|
|
|
14611
14645
|
return sessionDoc.subscribeAll(listener);
|
|
14612
14646
|
}
|
|
14613
14647
|
class SessionDocument {
|
|
14614
|
-
constructor(repo, sessionId, unloadDocRoom, logger = getLogger("loro"), historyBackendFactory) {
|
|
14648
|
+
constructor(repo, sessionId, unloadDocRoom, logger = getLogger("loro"), historyBackendFactory, encryptedRepositoryDirectory) {
|
|
14615
14649
|
this.repo = repo;
|
|
14616
14650
|
this.sessionId = sessionId;
|
|
14617
14651
|
this.unloadDocRoom = unloadDocRoom;
|
|
14618
14652
|
this.logger = logger;
|
|
14619
14653
|
this.historyBackendFactory = historyBackendFactory;
|
|
14654
|
+
this.encryptedRepositoryDirectory = encryptedRepositoryDirectory;
|
|
14620
14655
|
this.roomId = getSessionRoomId(this.sessionId);
|
|
14621
14656
|
}
|
|
14622
14657
|
static activityWritesByRepo = /* @__PURE__ */ new WeakMap();
|
|
@@ -16060,6 +16095,31 @@ class MachineDocument {
|
|
|
16060
16095
|
await handle.syncOnce().catch(() => void 0);
|
|
16061
16096
|
}
|
|
16062
16097
|
}
|
|
16098
|
+
/**
|
|
16099
|
+
* Passively records a model's live `configOptions` snapshot observed during an
|
|
16100
|
+
* active session (model switch or `config_option_update`). Skips when no matching
|
|
16101
|
+
* runtime capability row exists yet or when the stored per-model options are unchanged.
|
|
16102
|
+
*/
|
|
16103
|
+
async recordObservedAcpModelConfigOptions(configId, sourceVersion, configOptions) {
|
|
16104
|
+
const modelId = getAcpConfigOptionsModelId(configOptions);
|
|
16105
|
+
if (!modelId || !sourceVersion || configOptions.length === 0) return false;
|
|
16106
|
+
const handle = await this.openMachineFlockDoc();
|
|
16107
|
+
const existing = getMachineFlockAcpCapabilities(
|
|
16108
|
+
readMachineFlockRowsFromFlock(handle.flock, { families: ["acpCapability"] })
|
|
16109
|
+
)[getAcpCapabilityCacheKey(configId)];
|
|
16110
|
+
if (!existing || existing.sourceVersion !== sourceVersion) return false;
|
|
16111
|
+
const changed = writeAcpModelConfigOptionsToFlock(handle.flock, configId, sourceVersion, {
|
|
16112
|
+
[modelId]: configOptions
|
|
16113
|
+
});
|
|
16114
|
+
if (!changed) return false;
|
|
16115
|
+
await this.repo.flush();
|
|
16116
|
+
if (this.markMachineFlockDirty) {
|
|
16117
|
+
this.markMachineFlockDirty("acp-capability-update");
|
|
16118
|
+
} else {
|
|
16119
|
+
await handle.syncOnce().catch(() => void 0);
|
|
16120
|
+
}
|
|
16121
|
+
return true;
|
|
16122
|
+
}
|
|
16063
16123
|
async getAcpCapabilities(configId) {
|
|
16064
16124
|
const key2 = getAcpCapabilityCacheKey(configId);
|
|
16065
16125
|
const handle = await this.openMachineFlockDoc();
|
|
@@ -16069,6 +16129,7 @@ class MachineDocument {
|
|
|
16069
16129
|
return flockCapabilities[key2];
|
|
16070
16130
|
}
|
|
16071
16131
|
}
|
|
16132
|
+
const accepted = (id2) => object({ status: literal("accepted"), turnId: literal(id2), active: boolean() });
|
|
16072
16133
|
const historyEntriesSchema = array(
|
|
16073
16134
|
object({
|
|
16074
16135
|
id: string(),
|
|
@@ -16347,9 +16408,21 @@ function createRoostRpcSessionServices(doc, rpc) {
|
|
|
16347
16408
|
sessionData: createRoostSessionData({
|
|
16348
16409
|
sessionId: doc.sessionId,
|
|
16349
16410
|
history,
|
|
16411
|
+
...rpc.encryptedInputOwner ? {
|
|
16412
|
+
inputAcceptance: {
|
|
16413
|
+
targetMachineId: rpc.encryptedInputOwner,
|
|
16414
|
+
accept: async (entry) => accepted(entry.id).parse(await write("accept_input", { entry })),
|
|
16415
|
+
acceptAndDispatch: async (entry) => accepted(entry.id).parse(await write("accept_input_and_dispatch", { entry })),
|
|
16416
|
+
lookup: async (entry) => accepted(entry.id).or(object({ status: literal("unobserved") })).parse(await readResult({ kind: "inputAcceptance", entry }))
|
|
16417
|
+
}
|
|
16418
|
+
} : {},
|
|
16350
16419
|
commands: {
|
|
16351
16420
|
applyHistoryAction: (action) => write("apply_action", { action }),
|
|
16352
|
-
appendTurn: (entry) =>
|
|
16421
|
+
appendTurn: async (entry) => {
|
|
16422
|
+
if (rpc.encryptedInputOwner) {
|
|
16423
|
+
accepted(entry.id).parse(await write("accept_input", { entry }));
|
|
16424
|
+
} else await write("append", { entry });
|
|
16425
|
+
},
|
|
16353
16426
|
replaceTurn: (turnId, entry) => write("replace", { turnId, entry }),
|
|
16354
16427
|
respondPermission: (requestId2, outcome, options) => write("respond_permission", { requestId: requestId2, outcome, options }),
|
|
16355
16428
|
applyHistoryImport: (input) => write("apply_import", { input }),
|
|
@@ -16542,6 +16615,7 @@ const projectRead = { lane: "read", scope: "project" };
|
|
|
16542
16615
|
const sessionControl = { lane: "write", scope: "session", remoteControl: true };
|
|
16543
16616
|
const E2EE_RPC_POLICIES = {
|
|
16544
16617
|
"session/history-read": sessionRead,
|
|
16618
|
+
"session/history-write": { lane: "write", scope: "session" },
|
|
16545
16619
|
"session/live-status": sessionRead,
|
|
16546
16620
|
"code-collab/open-diff-manifest": sessionRead,
|
|
16547
16621
|
"code-collab/read-blob": sessionRead,
|
|
@@ -16565,6 +16639,8 @@ const E2EE_RPC_POLICIES = {
|
|
|
16565
16639
|
"session/goal": sessionControl,
|
|
16566
16640
|
"session/withdraw-input": sessionControl,
|
|
16567
16641
|
"session/edit-and-resend": machineWrite,
|
|
16642
|
+
"ios-simulator/control": { ...machineWrite, remoteControl: true },
|
|
16643
|
+
"android-emulator/control": { ...machineWrite, remoteControl: true },
|
|
16568
16644
|
"session/preview-create": machineWrite,
|
|
16569
16645
|
"session/preview-revoke": machineWrite,
|
|
16570
16646
|
"session/preview-status": machineWrite,
|
|
@@ -22587,6 +22663,59 @@ function createCommandSessionHistoryFactory(getManager, auth, workspaceId, withR
|
|
|
22587
22663
|
localProjectId: child.project?.kind === "local" ? child.project.localProjectId : void 0
|
|
22588
22664
|
};
|
|
22589
22665
|
};
|
|
22666
|
+
if (manager.isEncryptedWorkspace()) {
|
|
22667
|
+
if (!machineSupportsProtocolCapability(machine, MACHINE_PROTOCOL_CAPABILITIES.e2eeRoostHistory))
|
|
22668
|
+
throw new Error("Update the owner machine to access encrypted Roost history.");
|
|
22669
|
+
const send = async (request) => {
|
|
22670
|
+
const requester = getSessionHistoryRequester();
|
|
22671
|
+
const checkRequester = async () => {
|
|
22672
|
+
if (!requester || requester.userId === auth.userId) return;
|
|
22673
|
+
if (request.method !== "session/history-read" || requester.machineId !== auth.machineId || !await manager.authorizeEncryptedSessionRead({
|
|
22674
|
+
...await historyTarget(),
|
|
22675
|
+
machineId: meta.machineId,
|
|
22676
|
+
requesterUserId: requester.userId
|
|
22677
|
+
}))
|
|
22678
|
+
throw new Error("e2ee_feature_requester");
|
|
22679
|
+
};
|
|
22680
|
+
await checkRequester();
|
|
22681
|
+
const response = await manager.requestEncryptedFeature(request);
|
|
22682
|
+
if (!response?.ok) throw new Error(response?.error ?? "Encrypted owner history timed out");
|
|
22683
|
+
await checkRequester();
|
|
22684
|
+
return response.result;
|
|
22685
|
+
};
|
|
22686
|
+
const owner = { workspaceId, machineId: meta.machineId };
|
|
22687
|
+
return createRoostRpcSessionServices(doc, {
|
|
22688
|
+
coherentInspection: machineSupportsSessionHistoryInspection(machine),
|
|
22689
|
+
encryptedInputOwner: meta.machineId,
|
|
22690
|
+
read: async (query) => {
|
|
22691
|
+
const response = SessionHistoryReadResponseSchema.parse(
|
|
22692
|
+
await send({
|
|
22693
|
+
...owner,
|
|
22694
|
+
method: "session/history-read",
|
|
22695
|
+
params: {
|
|
22696
|
+
sessionId: doc.sessionId,
|
|
22697
|
+
query: SessionHistoryReadQuerySchema.parse(query)
|
|
22698
|
+
}
|
|
22699
|
+
})
|
|
22700
|
+
);
|
|
22701
|
+
return response;
|
|
22702
|
+
},
|
|
22703
|
+
write: async (operation, payload) => {
|
|
22704
|
+
if (operation !== "accept_input" && operation !== "accept_input_and_dispatch")
|
|
22705
|
+
throw new Error("Encrypted owner history operation unavailable");
|
|
22706
|
+
const entry = payload.entry;
|
|
22707
|
+
if (!entry || typeof entry !== "object" || Array.isArray(entry))
|
|
22708
|
+
throw new Error("Invalid encrypted history input");
|
|
22709
|
+
return SessionHistoryWriteResponseSchema.parse(
|
|
22710
|
+
await send({
|
|
22711
|
+
...owner,
|
|
22712
|
+
method: "session/history-write",
|
|
22713
|
+
params: { sessionId: doc.sessionId, operation, payload: { entry: { ...entry } } }
|
|
22714
|
+
})
|
|
22715
|
+
);
|
|
22716
|
+
}
|
|
22717
|
+
});
|
|
22718
|
+
}
|
|
22590
22719
|
const mintReadProof = async () => {
|
|
22591
22720
|
return await mintCliSessionHistoryReadProof({
|
|
22592
22721
|
...await historyTarget(),
|
|
@@ -22725,7 +22854,7 @@ async function withWorkspaceManager(auth, workspace, loggerName, fn) {
|
|
|
22725
22854
|
const removalOwner = new Promise((resolve) => {
|
|
22726
22855
|
resolveRemovalOwner = resolve;
|
|
22727
22856
|
});
|
|
22728
|
-
const e2ee = workspace.contentMode === "e2ee" ? await (await import("./workspace-legacy-
|
|
22857
|
+
const e2ee = workspace.contentMode === "e2ee" ? await (await import("./workspace-legacy-jZ0D5Xl-.js").then((n) => n.b_)).openCliE2eeWorkspaceLegacy({
|
|
22729
22858
|
machineId: commandAuth.machineId,
|
|
22730
22859
|
accountId: commandAuth.userId,
|
|
22731
22860
|
workspaceId: workspace.id,
|
|
@@ -23153,143 +23282,144 @@ export {
|
|
|
23153
23282
|
createRpcSecretRecipient as by,
|
|
23154
23283
|
decodeE2eePresenceBody as bz,
|
|
23155
23284
|
createRoostSessionData as c,
|
|
23156
|
-
|
|
23285
|
+
isLodyPromptSuggestion as c$,
|
|
23157
23286
|
sessionDocSchema as c0,
|
|
23158
23287
|
createHistoryWriter as c1,
|
|
23159
23288
|
historyValuesEqual as c2,
|
|
23160
23289
|
localProjectsLegacy as c3,
|
|
23161
23290
|
getLocalProjectNameFromRootPath as c4,
|
|
23162
23291
|
formatWorkspaceCandidate as c5,
|
|
23163
|
-
|
|
23164
|
-
|
|
23165
|
-
|
|
23292
|
+
requirePlaintextWorkspaceStreamsContent as c6,
|
|
23293
|
+
prepareCliStreamsGatewayBaseUrl as c7,
|
|
23294
|
+
encryptedWorkspaceNamespace as c8,
|
|
23166
23295
|
streamsSnapshotCodec as c9,
|
|
23167
|
-
|
|
23168
|
-
|
|
23169
|
-
|
|
23170
|
-
|
|
23171
|
-
|
|
23172
|
-
|
|
23173
|
-
|
|
23174
|
-
|
|
23175
|
-
|
|
23176
|
-
|
|
23177
|
-
|
|
23178
|
-
|
|
23179
|
-
|
|
23180
|
-
|
|
23181
|
-
|
|
23182
|
-
|
|
23183
|
-
|
|
23184
|
-
|
|
23185
|
-
|
|
23186
|
-
|
|
23187
|
-
|
|
23188
|
-
|
|
23189
|
-
|
|
23190
|
-
|
|
23191
|
-
|
|
23192
|
-
|
|
23193
|
-
|
|
23296
|
+
LocalDaemonAvailabilityError as cA,
|
|
23297
|
+
selectLocalProjectBranchSelector as cB,
|
|
23298
|
+
canUseMachineForCliToken as cC,
|
|
23299
|
+
canRequestMachineForCliToken as cD,
|
|
23300
|
+
canDelegateMachineUseForCliToken as cE,
|
|
23301
|
+
decryptShareDelivery as cF,
|
|
23302
|
+
createShareDeliveryKey as cG,
|
|
23303
|
+
ShareDeliveryPublicKeySchema as cH,
|
|
23304
|
+
WORKSPACE_SYNC_UNAVAILABLE_MESSAGE as cI,
|
|
23305
|
+
getCommandSessionSharingPort as cJ,
|
|
23306
|
+
runWithSessionHistoryRequester as cK,
|
|
23307
|
+
canReadSessionForCliRequester as cL,
|
|
23308
|
+
sharingReplySchemas as cM,
|
|
23309
|
+
sharingChangeSchema as cN,
|
|
23310
|
+
id$1 as cO,
|
|
23311
|
+
requestId as cP,
|
|
23312
|
+
isE2eeReadQuery as cQ,
|
|
23313
|
+
e2eeFeatureTarget as cR,
|
|
23314
|
+
isE2eeFeatureMethod as cS,
|
|
23315
|
+
E2eeFeatureInputSchema as cT,
|
|
23316
|
+
CloudE2eeLedgerOutage as cU,
|
|
23317
|
+
createWorkspaceEpochTransitionLegacy as cV,
|
|
23318
|
+
encryptedWorkspaceResolver as cW,
|
|
23319
|
+
isCloudE2eeMemberRemoved as cX,
|
|
23320
|
+
isCloudE2eeDeviceRevoked as cY,
|
|
23321
|
+
encryptedWorkspaceRoom as cZ,
|
|
23322
|
+
makeNodeLocalLoroWriterConnection as c_,
|
|
23194
23323
|
selectWorkspaceSummary as ca,
|
|
23195
|
-
|
|
23324
|
+
assertRetainedE2eeModeAllowsOpen as cb,
|
|
23196
23325
|
registerMachineAccessForCliToken as cc,
|
|
23197
|
-
|
|
23198
|
-
|
|
23199
|
-
|
|
23200
|
-
|
|
23201
|
-
|
|
23202
|
-
|
|
23203
|
-
|
|
23204
|
-
|
|
23205
|
-
|
|
23206
|
-
|
|
23207
|
-
|
|
23208
|
-
|
|
23209
|
-
|
|
23210
|
-
|
|
23211
|
-
|
|
23212
|
-
|
|
23213
|
-
|
|
23214
|
-
|
|
23215
|
-
|
|
23216
|
-
|
|
23217
|
-
|
|
23218
|
-
|
|
23219
|
-
|
|
23326
|
+
createCloudE2eePort as cd,
|
|
23327
|
+
describeEncryptedCommandFailure as ce,
|
|
23328
|
+
createCloudStreamsTokenPort as cf,
|
|
23329
|
+
SessionAttachmentTransfer as cg,
|
|
23330
|
+
workspaceSupports as ch,
|
|
23331
|
+
listWorkspaceCandidates as ci,
|
|
23332
|
+
syncWorkspaceMetaForRead as cj,
|
|
23333
|
+
listAliveSessionMetas as ck,
|
|
23334
|
+
syncDocForRead as cl,
|
|
23335
|
+
FlockSyncTimeoutError as cm,
|
|
23336
|
+
FlockSyncUnavailableError as cn,
|
|
23337
|
+
resolveContainedUploadPath as co,
|
|
23338
|
+
WorkspaceSyncUnavailableError as cp,
|
|
23339
|
+
readHistoryEntry as cq,
|
|
23340
|
+
readMachineLocalProjects as cr,
|
|
23341
|
+
withMachineRpcClient as cs,
|
|
23342
|
+
dispatchLocalControl as ct,
|
|
23343
|
+
upsertMachineAgentConfig as cu,
|
|
23344
|
+
deleteMachineAgentConfig as cv,
|
|
23345
|
+
syncCommandTime as cw,
|
|
23346
|
+
resolveDaemonTarget as cx,
|
|
23347
|
+
createCommandAttachmentTransfer as cy,
|
|
23348
|
+
readEncryptedMachineAccess as cz,
|
|
23220
23349
|
HistoryImportCursorSchema as d,
|
|
23221
|
-
|
|
23222
|
-
|
|
23223
|
-
|
|
23224
|
-
|
|
23225
|
-
|
|
23226
|
-
|
|
23227
|
-
|
|
23228
|
-
|
|
23229
|
-
|
|
23230
|
-
|
|
23231
|
-
|
|
23232
|
-
|
|
23233
|
-
|
|
23234
|
-
|
|
23235
|
-
|
|
23236
|
-
|
|
23237
|
-
|
|
23238
|
-
|
|
23239
|
-
|
|
23240
|
-
|
|
23241
|
-
|
|
23242
|
-
|
|
23243
|
-
|
|
23244
|
-
|
|
23245
|
-
|
|
23246
|
-
|
|
23247
|
-
|
|
23248
|
-
|
|
23249
|
-
|
|
23250
|
-
|
|
23251
|
-
|
|
23252
|
-
|
|
23253
|
-
|
|
23254
|
-
|
|
23255
|
-
|
|
23256
|
-
|
|
23257
|
-
|
|
23258
|
-
|
|
23259
|
-
|
|
23260
|
-
|
|
23261
|
-
|
|
23262
|
-
|
|
23263
|
-
|
|
23264
|
-
|
|
23265
|
-
|
|
23266
|
-
|
|
23267
|
-
|
|
23268
|
-
|
|
23269
|
-
|
|
23270
|
-
|
|
23271
|
-
|
|
23272
|
-
|
|
23273
|
-
|
|
23274
|
-
|
|
23275
|
-
|
|
23276
|
-
|
|
23277
|
-
|
|
23278
|
-
|
|
23279
|
-
|
|
23280
|
-
|
|
23281
|
-
|
|
23282
|
-
|
|
23283
|
-
|
|
23350
|
+
closeProcessLocalLoroWriterLegacy as d$,
|
|
23351
|
+
startTraceSpan as d0,
|
|
23352
|
+
withSlowOperationWarning as d1,
|
|
23353
|
+
withMachineCatalogWriteLock as d2,
|
|
23354
|
+
upsertMachineLocalProject as d3,
|
|
23355
|
+
redactUrlAuth as d4,
|
|
23356
|
+
simulatorRtcChunks as d5,
|
|
23357
|
+
SimulatorOfferSchema as d6,
|
|
23358
|
+
SimulatorIceServersSchema as d7,
|
|
23359
|
+
projectRunMetaPatch as d8,
|
|
23360
|
+
buildGitHubCloneUrl as d9,
|
|
23361
|
+
updateMachineLocalProjectGitSummaryFields as dA,
|
|
23362
|
+
reconcileMissingLocalProjectGitSummaries as dB,
|
|
23363
|
+
isSessionInLocalProjectRemovalScope as dC,
|
|
23364
|
+
resolveWorkspaceLocalProject as dD,
|
|
23365
|
+
shouldApplyMachineDeleteLocalProjectCommand as dE,
|
|
23366
|
+
isLocalProjectReferenced as dF,
|
|
23367
|
+
removeMachineLocalProject as dG,
|
|
23368
|
+
deriveRepoIdFromGitHubRepo as dH,
|
|
23369
|
+
runWithDaemonWorkspace as dI,
|
|
23370
|
+
runWithSessionCommandEnvironment as dJ,
|
|
23371
|
+
createLocalSessionCommandEnvironment as dK,
|
|
23372
|
+
resolveWorkspaceLocalProjectWithSyncOnMiss as dL,
|
|
23373
|
+
GitHubTokenFetchError as dM,
|
|
23374
|
+
isDispatchCandidate as dN,
|
|
23375
|
+
dispatchEntry as dO,
|
|
23376
|
+
selectDispatchHistory as dP,
|
|
23377
|
+
registerSessionBackendFactory as dQ,
|
|
23378
|
+
createRoostSessionBackendFactory as dR,
|
|
23379
|
+
captureStoredHistory as dS,
|
|
23380
|
+
matchesRollbackReceipt as dT,
|
|
23381
|
+
prepareReplacement as dU,
|
|
23382
|
+
latestSessionModel as dV,
|
|
23383
|
+
prepareStoredHistoryCopy as dW,
|
|
23384
|
+
routeRemoteOwnedSessionHistory as dX,
|
|
23385
|
+
createCommandSessionHistoryFactory as dY,
|
|
23386
|
+
LoroDocumentManager as dZ,
|
|
23387
|
+
localCatalogWorkspaceToWorkspaceListItem as d_,
|
|
23388
|
+
reconcileProjectMemberLink as da,
|
|
23389
|
+
removeProjectMemberLinks as db,
|
|
23390
|
+
streamsRoomBinding as dc,
|
|
23391
|
+
isRecoverableStreamsRoomStatus as dd,
|
|
23392
|
+
computeLoroReconnectDelayMs as de,
|
|
23393
|
+
withTimeout as df,
|
|
23394
|
+
ConcurrentQueue as dg,
|
|
23395
|
+
traceAsync as dh,
|
|
23396
|
+
getSteerOperationId as di,
|
|
23397
|
+
createLocalProjectBranchSelector as dj,
|
|
23398
|
+
resolveWorkspaceLocalProjectRootPathWithRetry as dk,
|
|
23399
|
+
readLocalProjectRootResolveSyncTimeoutMs as dl,
|
|
23400
|
+
resolveProjectFileRoots as dm,
|
|
23401
|
+
subscribeSessionChanges as dn,
|
|
23402
|
+
sameDispatchEntry as dp,
|
|
23403
|
+
isMemberAccessSnapshotFresh as dq,
|
|
23404
|
+
resolveProjectFileTarget as dr,
|
|
23405
|
+
readTimeoutEnv as ds,
|
|
23406
|
+
sanitizeAttachmentFileName as dt,
|
|
23407
|
+
ATTACHMENTS_DIR_RELATIVE as du,
|
|
23408
|
+
ensureAttachmentsGitExcluded as dv,
|
|
23409
|
+
buildAttachmentFileName as dw,
|
|
23410
|
+
buildAttachmentPromptText as dx,
|
|
23411
|
+
buildUnavailableAttachmentPromptText as dy,
|
|
23412
|
+
resolveWorkspaceLocalProjectRootPath as dz,
|
|
23284
23413
|
HistoryImportRefused as e,
|
|
23285
|
-
|
|
23286
|
-
|
|
23287
|
-
|
|
23288
|
-
|
|
23289
|
-
|
|
23290
|
-
|
|
23291
|
-
|
|
23292
|
-
|
|
23414
|
+
classifyRetainedE2eeMode as e0,
|
|
23415
|
+
reconcileMachineLocalProjectRootPaths as e1,
|
|
23416
|
+
E2eeModeConflictError as e2,
|
|
23417
|
+
E2eeBindingUnreadableError as e3,
|
|
23418
|
+
findWorkspacesBySelector as e4,
|
|
23419
|
+
createLocalCloudPort as e5,
|
|
23420
|
+
createCloudCliPort as e6,
|
|
23421
|
+
cloudCliPort as e7,
|
|
23422
|
+
commandRuntime as e8,
|
|
23293
23423
|
SESSION_DIRECTORY_SCALAR_KEYS as f,
|
|
23294
23424
|
applyHistoryAction as g,
|
|
23295
23425
|
applyMarkTurnSeen as h,
|
|
@@ -23312,4 +23442,4 @@ export {
|
|
|
23312
23442
|
hashHistoryEntryForVersion as y,
|
|
23313
23443
|
hashHistoryEntryV2 as z
|
|
23314
23444
|
};
|
|
23315
|
-
//# sourceMappingURL=command-runtime-
|
|
23445
|
+
//# sourceMappingURL=command-runtime-C7EPuHLe.js.map
|