lody 0.113.0 → 0.113.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/dist/{acp-interaction-owner-BAHHxo0y.js → acp-interaction-owner-CxbD83X1.js} +5 -5
  2. package/dist/{agent-execution-zG5hM7Bv.js → agent-execution-BY-bUbZS.js} +2 -2
  3. package/dist/{analytics-events-DwHr2sU9.js → analytics-events-DrydOjZn.js} +2 -2
  4. package/dist/{app-C8QzRPXC.js → app-ZgzUO46E.js} +6 -6
  5. package/dist/{auth-Bqieti55.js → auth-D8DEJf0E.js} +2 -2
  6. package/dist/{automation-D2QucdNR.js → automation-BW2QhZQK.js} +6 -6
  7. package/dist/{client-B2vYkND0.js → client-BG2nuyQa.js} +5 -5
  8. package/dist/{command-runtime-VfwbPymA.js → command-runtime-BHI2jLQX.js} +5 -5
  9. package/dist/{daemon-D4HCUakW.js → daemon-BLRFpsT-.js} +9 -9
  10. package/dist/{daemon-runner-SSxx_7cw.js → daemon-runner-CMOy2BZ3.js} +9 -9
  11. package/dist/{daemon-session-tools-AkbnxsmC.js → daemon-session-tools-CoB3UrAx.js} +12 -12
  12. package/dist/{daemon-shared-BNi1ikmL.js → daemon-shared-CNKUFVf0.js} +4 -4
  13. package/dist/{deepseek-harness-runtime-CbOnKwfr.js → deepseek-harness-runtime-wUSGm92F.js} +2 -2
  14. package/dist/{discovery-query-CWvbE5dl.js → discovery-query-BmwRCucz.js} +2 -2
  15. package/dist/{dsh-Bj6glS5i.js → dsh-DQW4DE5Q.js} +6 -6
  16. package/dist/{dsh-plugins-CHLMJC6I.js → dsh-plugins-DrlYpmn9.js} +3 -3
  17. package/dist/{e2ee-BKwSY7C4.js → e2ee-DEP6PUKk.js} +2 -2
  18. package/dist/{export-597OzrLs.js → export-DcsTb6ht.js} +6 -6
  19. package/dist/{feedback-DdLw7E5Y.js → feedback-Bji4hBX-.js} +2 -2
  20. package/dist/{feedback-uhwPEQ1L.js → feedback-CsaLJK5S.js} +6 -6
  21. package/dist/{github-CJlRz1Da.js → github-CbS9Z6Ch.js} +5 -5
  22. package/dist/{index-BuKDemv5.js → index-BG9PN54a.js} +9 -9
  23. package/dist/{index-DQXpb1cE.js → index-BtbmikJR.js} +5 -5
  24. package/dist/{index-CNl5-e7B.js → index-CHo5O4PZ.js} +19 -19
  25. package/dist/{index-CV9l1cOb.js → index-Dq2yIn1t.js} +6 -6
  26. package/dist/index.js +3 -3
  27. package/dist/{internal-Boor9DnB.js → internal-DZraq2-P.js} +12 -12
  28. package/dist/{local-cli-host-lease-IcXBuuBH.js → local-cli-host-lease-DhWOyjIr.js} +2 -2
  29. package/dist/{local-ipc-Yr1wkOv5.js → local-ipc-BTmrMizU.js} +2 -2
  30. package/dist/{local-project-control-client-ZEUA3eMm.js → local-project-control-client-DHR7mJco.js} +3 -3
  31. package/dist/{lody-mcp-http-protocol-BxyQN8_r.js → lody-mcp-http-protocol-CUvFyhIE.js} +2 -2
  32. package/dist/{lody-mcp-server-C_4Sxt19.js → lody-mcp-server-CgHTMd4c.js} +12 -12
  33. package/dist/{login-CBvvGhl-.js → login-BsJmMKOL.js} +4 -4
  34. package/dist/{logout-D6kvTomk.js → logout-BSRe5vV7.js} +4 -4
  35. package/dist/{machine-C753m6o9.js → machine-BRIc652R.js} +11 -11
  36. package/dist/{machine-identity-restore-CAW3DXJn.js → machine-identity-restore-32Iih5qV.js} +2 -2
  37. package/dist/{managed-daemon-release-uG8NndKj.js → managed-daemon-release-MZdNLRms.js} +2 -2
  38. package/dist/{mcp-CMerT6Ug.js → mcp-BcZyBmJh.js} +8 -8
  39. package/dist/{migrate-H4A7MClw.js → migrate-CPV9Fbeg.js} +6 -6
  40. package/dist/{operation-53KmR5TP.js → operation-BCDbB6yp.js} +7 -7
  41. package/dist/{operation-store-DuyTagUd.js → operation-store-Bf0Nji4b.js} +3 -3
  42. package/dist/{presence-legacy-DbhaEoPO.js → presence-legacy-DzBPpCi4.js} +6 -3
  43. package/dist/{project-qrsZEdPE.js → project-CLZQv2UB.js} +9 -9
  44. package/dist/{register-FjE4U4NA.js → register-Bgr_kqVk.js} +26 -26
  45. package/dist/{remote-pairing-BngVtfYr.js → remote-pairing-BrO68yht.js} +8 -8
  46. package/dist/{reset-identity-q47uXe5R.js → reset-identity-DDs7Wna5.js} +8 -8
  47. package/dist/{review-BCEEPrH2.js → review-DfuRCle0.js} +2 -2
  48. package/dist/{review-viewer-C8SWBQyq.js → review-viewer-Cw-3H2na.js} +2 -2
  49. package/dist/{runtime-diagnostics-BnxuMOgC.js → runtime-diagnostics-D9FAD6Fc.js} +2 -2
  50. package/dist/{schedule-EKcB3Vqq.js → schedule-DF0-cjbD.js} +8 -8
  51. package/dist/{schedule-command-client-f-qmyUyv.js → schedule-command-client-BW8ZpXw8.js} +7 -7
  52. package/dist/{schedule-command-service-Yx8TNQ0r.js → schedule-command-service-BRfuH2Bs.js} +8 -8
  53. package/dist/{schedule-documents-CFu6_d1R.js → schedule-documents-D9wdYQnL.js} +3 -3
  54. package/dist/{schedule-run-preparation-1yIixvnr.js → schedule-run-preparation-lIMncuHW.js} +3 -3
  55. package/dist/{session-Cgko1oWb.js → session-BpPyoIzy.js} +7 -7
  56. package/dist/{setting-CFDXd31y.js → setting-BD8f3HVc.js} +4 -4
  57. package/dist/{start-CYmK269V.js → start-sJETn-M0.js} +33 -33
  58. package/dist/{sync-BnVGqO29.js → sync-B1UVGZhv.js} +6 -6
  59. package/dist/{workspace-xDS0AU9A.js → workspace-BPkdngQ4.js} +5 -5
  60. package/dist/{workspace-legacy-CKXn-NL8.js → workspace-legacy-DLflcsJY.js} +15 -15
  61. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
- import { q as makeLocalControlClientAuto } from "./local-ipc-Yr1wkOv5.js";
2
- import { Q as getAuthContextOrThrow, U as resolveWorkspaceOrThrow, V as withWorkspaceManager, $ as makeLocalWorkspaceCatalog, a0 as classifyLocalDaemonIpcError } from "./command-runtime-VfwbPymA.js";
3
- import { assertScheduleCommandAllowed, executeScheduleCommand } from "./schedule-command-service-Yx8TNQ0r.js";
1
+ import { q as makeLocalControlClientAuto } from "./local-ipc-BTmrMizU.js";
2
+ import { Q as getAuthContextOrThrow, U as resolveWorkspaceOrThrow, V as withWorkspaceManager, $ as makeLocalWorkspaceCatalog, a0 as classifyLocalDaemonIpcError } from "./command-runtime-BHI2jLQX.js";
3
+ import { assertScheduleCommandAllowed, executeScheduleCommand } from "./schedule-command-service-BRfuH2Bs.js";
4
4
  import { L as LODY_AUTH_URL } from "./time-sync-LbTmJdMs.js";
5
- import { W as ScheduleProposalRuleSchema, X as SCHEDULE_CUSTOM_STEP_MAX, Y as ScheduleTriggerSchema, Z as applyScheduleRecurrence } from "./presence-legacy-DbhaEoPO.js";
5
+ import { W as ScheduleProposalRuleSchema, X as SCHEDULE_CUSTOM_STEP_MAX, Y as ScheduleTriggerSchema, Z as applyScheduleRecurrence } from "./presence-legacy-DzBPpCi4.js";
6
6
  import { cT as runPromise, cg as result } from "./chunks/vendor-effect-Bj6CkP8t.js";
7
7
  import "./chunks/vendor-zod-DsCtjbVN.js";
8
8
  import "node:crypto";
@@ -13,7 +13,7 @@ import "node:os";
13
13
  import "node:path";
14
14
  import "node:string_decoder";
15
15
  import "./installation-profile-DhA_EA7i.js";
16
- import "./auth-Bqieti55.js";
16
+ import "./auth-D8DEJf0E.js";
17
17
  import "fs";
18
18
  import "path";
19
19
  import "./chunks/vendor-chalk-MVIUzg44.js";
@@ -130,7 +130,7 @@ import "./cli-platform-BlncxKcC.js";
130
130
  import "node:async_hooks";
131
131
  import "./runtime-artifacts-CjowfwNS.js";
132
132
  import "./github-credential-runtime-Vuv6HxRs.js";
133
- import "./schedule-run-preparation-1yIixvnr.js";
133
+ import "./schedule-run-preparation-lIMncuHW.js";
134
134
  import "./chunks/vendor-loro-mirror-BkvqloJg.js";
135
135
  import "./chunks/vendor-croner-B5ClZHUj.js";
136
136
  import "./chunks/vendor-mdast-util-from-markdown-DQq6W3Ku.js";
@@ -261,4 +261,4 @@ export {
261
261
  sendDaemonScheduleCommand,
262
262
  sendScheduleCommand
263
263
  };
264
- //# sourceMappingURL=schedule-command-client-f-qmyUyv.js.map
264
+ //# sourceMappingURL=schedule-command-client-BW8ZpXw8.js.map
@@ -1,7 +1,7 @@
1
- import { K as ScheduleCommandSchema, ak as ScheduleRepository, a2 as getSessionRoomId, a3 as isLoroRepoDocDeleted, M as getScheduleRegistryFlockDocId, al as scheduleProposalRuleToTrigger, am as validateSchedulePrompt, an as ScheduleRuntimeRowSchema, ao as previewSchedule, ap as getMachineRoomId, aq as machineSupportsSchedulesProtocol, P as getMachineFlockDocId, ar as getMachineFlockLocalProjects, a5 as readMachineFlockRowsFromFlock, as as DEFAULT_SCHEDULE_DESTINATION, N as getScheduleRoomId } from "./presence-legacy-DbhaEoPO.js";
2
- import { a7 as ensureWorkspaceMetaSynced, a8 as createSessionBackend, a9 as readMergedAgentConfigById, aa as SYNC_CONFIRMATION_TIMEOUT_MS } from "./command-runtime-VfwbPymA.js";
1
+ import { K as ScheduleCommandSchema, ak as ScheduleRepository, a2 as getSessionRoomId, a3 as isLoroRepoDocDeleted, M as getScheduleRegistryFlockDocId, al as scheduleProposalRuleToTrigger, am as validateSchedulePrompt, an as ScheduleRuntimeRowSchema, ao as previewSchedule, ap as getMachineRoomId, aq as machineSupportsSchedulesProtocol, P as getMachineFlockDocId, ar as getMachineFlockLocalProjects, a5 as readMachineFlockRowsFromFlock, as as DEFAULT_SCHEDULE_DESTINATION, N as getScheduleRoomId } from "./presence-legacy-DzBPpCi4.js";
2
+ import { a7 as ensureWorkspaceMetaSynced, a8 as createSessionBackend, a9 as readMergedAgentConfigById, aa as SYNC_CONFIRMATION_TIMEOUT_MS } from "./command-runtime-BHI2jLQX.js";
3
3
  import { g as getServerNow } from "./time-sync-LbTmJdMs.js";
4
- import { s as scheduleDestinationSessionId, d as destinationSessionProblem } from "./schedule-run-preparation-1yIixvnr.js";
4
+ import { s as scheduleDestinationSessionId, d as destinationSessionProblem } from "./schedule-run-preparation-lIMncuHW.js";
5
5
  import "./chunks/vendor-zod-DsCtjbVN.js";
6
6
  import "./ios-simulator-BBiwP-Y6.js";
7
7
  import "./code-collab-CSLtmZ_w.js";
@@ -122,9 +122,9 @@ import "node:process";
122
122
  import "node:tty";
123
123
  import "./chunks/vendor-agent-base-Chp0lO_8.js";
124
124
  import "./chunks/vendor-proxy-from-env-agT35mrt.js";
125
- import "./local-ipc-Yr1wkOv5.js";
125
+ import "./local-ipc-BTmrMizU.js";
126
126
  import "node:string_decoder";
127
- import "./auth-Bqieti55.js";
127
+ import "./auth-D8DEJf0E.js";
128
128
  import "./chunks/vendor-chalk-MVIUzg44.js";
129
129
  import "./chunks/vendor-ora-VZtLV0pD.js";
130
130
  import "./chunks/vendor-cli-cursor-BxGMzrFe.js";
@@ -321,7 +321,7 @@ async function executeScheduleCommand(context, input) {
321
321
  const now = getServerNow();
322
322
  if (command.action === "create" || command.action === "edit") {
323
323
  if (!machine) throw new Error("Target machine is unavailable");
324
- const { resolveTurnDispatchConfig, validateSessionCreateOptions } = await import("./session-Cgko1oWb.js").then((n) => n.aa);
324
+ const { resolveTurnDispatchConfig, validateSessionCreateOptions } = await import("./session-BpPyoIzy.js").then((n) => n.aa);
325
325
  const draft = command.draft;
326
326
  const configId = draft.agent.agentConfigId;
327
327
  const agent = await readMergedAgentConfigById(manager.repo, workspaceId, machine.id, configId);
@@ -354,7 +354,7 @@ async function executeScheduleCommand(context, input) {
354
354
  );
355
355
  }
356
356
  if (!localOnly) {
357
- const { buildProjectOptions } = await import("./schedule-run-preparation-1yIixvnr.js").then((n) => n.e);
357
+ const { buildProjectOptions } = await import("./schedule-run-preparation-lIMncuHW.js").then((n) => n.e);
358
358
  await validateSessionCreateOptions({
359
359
  auth,
360
360
  workspace: context.workspace,
@@ -433,4 +433,4 @@ export {
433
433
  assertScheduleCommandAllowed,
434
434
  executeScheduleCommand
435
435
  };
436
- //# sourceMappingURL=schedule-command-service-Yx8TNQ0r.js.map
436
+ //# sourceMappingURL=schedule-command-service-BRfuH2Bs.js.map
@@ -1,5 +1,5 @@
1
- import { W as listAliveRoomIds } from "./command-runtime-VfwbPymA.js";
2
- import { M as getScheduleRegistryFlockDocId, T as collectScheduleIds } from "./presence-legacy-DbhaEoPO.js";
1
+ import { W as listAliveRoomIds } from "./command-runtime-BHI2jLQX.js";
2
+ import { M as getScheduleRegistryFlockDocId, T as collectScheduleIds } from "./presence-legacy-DzBPpCi4.js";
3
3
  async function listWorkspaceScheduleIds(manager, workspaceId) {
4
4
  const registry = await manager.repo.openFlockDoc(getScheduleRegistryFlockDocId(workspaceId));
5
5
  return collectScheduleIds(await listAliveRoomIds(manager, () => true), registry.flock.scan());
@@ -7,4 +7,4 @@ async function listWorkspaceScheduleIds(manager, workspaceId) {
7
7
  export {
8
8
  listWorkspaceScheduleIds as l
9
9
  };
10
- //# sourceMappingURL=schedule-documents-CFu6_d1R.js.map
10
+ //# sourceMappingURL=schedule-documents-D9wdYQnL.js.map
@@ -1,4 +1,4 @@
1
- import { ac as normalizeLegacyScheduleAgent, ad as inputBlocksToHistoryItems, ae as scheduleOwnSessionId } from "./presence-legacy-DbhaEoPO.js";
1
+ import { ac as normalizeLegacyScheduleAgent, ad as inputBlocksToHistoryItems, ae as scheduleOwnSessionId } from "./presence-legacy-DzBPpCi4.js";
2
2
  const buildProjectOptions = (project) => {
3
3
  if (!project) {
4
4
  return {};
@@ -57,7 +57,7 @@ function destinationSessionProblem(args) {
57
57
  }
58
58
  async function resolveScheduleAgentRunConfig(manager, workspaceId, machineId, agent) {
59
59
  if (!agent.configOptionValues) return agent;
60
- const { readAgentAcpCapability } = await import("./session-Cgko1oWb.js").then((n) => n.aa);
60
+ const { readAgentAcpCapability } = await import("./session-BpPyoIzy.js").then((n) => n.aa);
61
61
  const capability = await readAgentAcpCapability({
62
62
  manager,
63
63
  workspaceId,
@@ -89,4 +89,4 @@ export {
89
89
  scheduleDestinationSessionId as s,
90
90
  withScheduledMessageInput as w
91
91
  };
92
- //# sourceMappingURL=schedule-run-preparation-1yIixvnr.js.map
92
+ //# sourceMappingURL=schedule-run-preparation-lIMncuHW.js.map
@@ -1,6 +1,6 @@
1
1
  import { f as formatErrorMessage, i as formatErrorWithCauses, r as rootLogger, j as routeLoggerToStderr, g as getLogger } from "./process-options-D0e5JGor.js";
2
- import { bX as FlockSyncTimeoutError, bY as FlockSyncUnavailableError, bR as SessionAttachmentTransfer, bZ as resolveContainedUploadPath, Y as normalizeCliValue, b_ as WorkspaceSyncUnavailableError, a8 as createSessionBackend, D as readSessionHistoryMetadata, b$ as readHistoryEntry, N as runOneShotCommand, $ as makeLocalWorkspaceCatalog, Q as getAuthContextOrThrow$1, U as resolveWorkspaceOrThrow, a0 as classifyLocalDaemonIpcError, O as printJson, a4 as getDaemonWorkspace, bU as syncWorkspaceMetaForRead, Z as listWorkspaceGitHubRepositoriesForCliToken, c0 as readMachineLocalProjects, c1 as withMachineRpcClient, a6 as listMergedAgentConfigs, a5 as getSessionCommandEnvironment, X as listAliveDocMetas, V as withWorkspaceManager$1, P as resolveStructuredOutputMode$1, c2 as dispatchLocalControl, c3 as upsertMachineAgentConfig, a7 as ensureWorkspaceMetaSynced, c4 as deleteMachineAgentConfig, c5 as syncCommandTime, bW as syncDocForRead, c6 as createCommandAttachmentTransfer, c7 as readBoundDaemonOwnerAccess, c8 as readEncryptedMachineAccess, W as listAliveRoomIds, bH as localProjectsLegacy, c9 as LocalDaemonAvailabilityError, ca as selectLocalProjectBranchSelector, cb as canUseMachineForCliToken, cc as canRequestMachineForCliToken, cd as canDelegateMachineUseForCliToken, bO as selectWorkspaceSummary, T as listWorkspacesForToken, bT as listWorkspaceCandidates, bV as listAliveSessionMetas } from "./command-runtime-VfwbPymA.js";
3
- import { bp as SessionImagePayloadSchema, bq as EncryptedAttachmentSchema, ab as SESSION_FILE_MAX_COUNT, aQ as SESSION_FILE_MAX_SIZE_BYTES, br as SESSION_IMAGE_MAX_SIZE_BYTES, bs as SESSION_IMAGE_ALLOWED_MIME_TYPES, aL as listWorkspaceAgentRoles, aM as readWorkspaceFlockRowsFromFlock, aN as snapshotAgentRole, aK as getWorkspaceFlockDocId, bt as isMultiTargetAgentRole, bu as getAgentRoleTargets, bv as bindAgentRoleTarget, bw as listWorkspaceMcpServers, bx as getProjectMcpKey, by as getEffectiveDefaultMcpIds, bz as getProjectMcpDefaults, bA as deleteWorkspaceMcpServerFromFlock, bB as writeWorkspaceMcpServerToFlock, a2 as getSessionRoomId, a3 as isLoroRepoDocDeleted, bC as normalizeSessionTurnInputConfig, bD as parseMagpieImportLink, bE as normalizeMagpieGateway, bF as MAGPIE_TARGETS, bG as machineSupportsProtocolCapability, bH as magpieProviderSettings, a5 as readMachineFlockRowsFromFlock, bI as getMachineFlockProviderSetupCancellations, bJ as getMachineFlockAgentConfigs, bK as getMachineFlockProviderSetups, bL as supportsBuiltinProviderSetup, bM as writeMachineFlockRowToFlock, bN as machineFlockKeys, bO as writeAgentConfigToFlock, bP as AgentRoleProposalCommandSchema, a4 as SessionToolResultSchema, bQ as canReadAgentRole, bR as findAgentRoleRunConfigIssue, bS as normalizeAgentRoleRunConfig, bT as getReadableAcpCapabilityCacheEntryForRuntimeOverrides, bU as getAcpCapabilityCacheKey, a9 as parseRateLimitEntryKey, bV as summarizeAgentRunConfigCapabilities, P as getMachineFlockDocId, a8 as getMachineFlockRateLimits, a7 as getMachineFlockAcpCapabilities, bW as MACHINE_PROTOCOL_CAPABILITIES, O as isMachineDocRoomId, bX as negotiatedAcpCapabilitiesRefreshForce, bY as MachineAcpCapabilitiesRefreshResponseSchema, bZ as readChatFailureNotice, b_ as hasPendingUserTurnActivation, J as flushTelemetry, b$ as SessionStatusFactory, c0 as getBuiltinDefaultModeId, c1 as resolveSessionConversationConfig, c2 as resolveActiveAssistantTurnId, c3 as readSessionOperationTargets, c4 as resolveProjectGitHubRepo, c5 as deriveDraftSessionTitle, c6 as resolveNewSessionHistoryBackend, ad as inputBlocksToHistoryItems, c7 as machineSupportsPreparedSessionInputProtocol, c8 as isBillingQuotaExempt, c9 as evaluateBillingQuota, ca as countBillableSessionTurns, a6 as ACP_CAPABILITY_ROW_FAMILIES, cb as getReadableAcpCapabilityCacheEntry, cc as withAcpConfigOptionsForModel, cd as normalizeMcpServerIdSelection, ap as getMachineRoomId, aP as isSessionDocRoomId, ce as evaluateSessionCreateQuota, cf as resolveBaseBranchPreference, cg as machineSupportsMemoryProviders, ch as hasAgentRunConfigSelection, ci as NEW_SESSION_HISTORY_BACKEND, cj as formatSessionQuotaRejection, ck as getAcpModelEffortChoices, cl as getAcpModelFastSupport, cm as isAcpFastModeConfigId, cn as ACP_CONFIG_OPTION_ON_VALUE, co as ACP_CONFIG_OPTION_OFF_VALUE, cp as OPERATION_INBOX_PROTOCOL_VERSION, cq as SessionCancelResponseSchema, cr as resolveAgentRunConfigSelection, cs as getDeclaredModelControls, ct as isAcpThoughtLevelConfigOption, cu as MachineStatusResponseSchema, cv as FREE_SESSION_TURN_LIMIT, cw as getSessionIdFromRoomId, H as selectTranscriptHistoryPositions } from "./presence-legacy-DbhaEoPO.js";
2
+ import { bX as FlockSyncTimeoutError, bY as FlockSyncUnavailableError, bR as SessionAttachmentTransfer, bZ as resolveContainedUploadPath, Y as normalizeCliValue, b_ as WorkspaceSyncUnavailableError, a8 as createSessionBackend, D as readSessionHistoryMetadata, b$ as readHistoryEntry, N as runOneShotCommand, $ as makeLocalWorkspaceCatalog, Q as getAuthContextOrThrow$1, U as resolveWorkspaceOrThrow, a0 as classifyLocalDaemonIpcError, O as printJson, a4 as getDaemonWorkspace, bU as syncWorkspaceMetaForRead, Z as listWorkspaceGitHubRepositoriesForCliToken, c0 as readMachineLocalProjects, c1 as withMachineRpcClient, a6 as listMergedAgentConfigs, a5 as getSessionCommandEnvironment, X as listAliveDocMetas, V as withWorkspaceManager$1, P as resolveStructuredOutputMode$1, c2 as dispatchLocalControl, c3 as upsertMachineAgentConfig, a7 as ensureWorkspaceMetaSynced, c4 as deleteMachineAgentConfig, c5 as syncCommandTime, bW as syncDocForRead, c6 as createCommandAttachmentTransfer, c7 as readBoundDaemonOwnerAccess, c8 as readEncryptedMachineAccess, W as listAliveRoomIds, bH as localProjectsLegacy, c9 as LocalDaemonAvailabilityError, ca as selectLocalProjectBranchSelector, cb as canUseMachineForCliToken, cc as canRequestMachineForCliToken, cd as canDelegateMachineUseForCliToken, bO as selectWorkspaceSummary, T as listWorkspacesForToken, bT as listWorkspaceCandidates, bV as listAliveSessionMetas } from "./command-runtime-BHI2jLQX.js";
3
+ import { bp as SessionImagePayloadSchema, bq as EncryptedAttachmentSchema, ab as SESSION_FILE_MAX_COUNT, aQ as SESSION_FILE_MAX_SIZE_BYTES, br as SESSION_IMAGE_MAX_SIZE_BYTES, bs as SESSION_IMAGE_ALLOWED_MIME_TYPES, aL as listWorkspaceAgentRoles, aM as readWorkspaceFlockRowsFromFlock, aN as snapshotAgentRole, aK as getWorkspaceFlockDocId, bt as isMultiTargetAgentRole, bu as getAgentRoleTargets, bv as bindAgentRoleTarget, bw as listWorkspaceMcpServers, bx as getProjectMcpKey, by as getEffectiveDefaultMcpIds, bz as getProjectMcpDefaults, bA as deleteWorkspaceMcpServerFromFlock, bB as writeWorkspaceMcpServerToFlock, a2 as getSessionRoomId, a3 as isLoroRepoDocDeleted, bC as normalizeSessionTurnInputConfig, bD as parseMagpieImportLink, bE as normalizeMagpieGateway, bF as MAGPIE_TARGETS, bG as machineSupportsProtocolCapability, bH as magpieProviderSettings, a5 as readMachineFlockRowsFromFlock, bI as getMachineFlockProviderSetupCancellations, bJ as getMachineFlockAgentConfigs, bK as getMachineFlockProviderSetups, bL as supportsBuiltinProviderSetup, bM as writeMachineFlockRowToFlock, bN as machineFlockKeys, bO as writeAgentConfigToFlock, bP as AgentRoleProposalCommandSchema, a4 as SessionToolResultSchema, bQ as canReadAgentRole, bR as findAgentRoleRunConfigIssue, bS as normalizeAgentRoleRunConfig, bT as getReadableAcpCapabilityCacheEntryForRuntimeOverrides, bU as getAcpCapabilityCacheKey, a9 as parseRateLimitEntryKey, bV as summarizeAgentRunConfigCapabilities, P as getMachineFlockDocId, a8 as getMachineFlockRateLimits, a7 as getMachineFlockAcpCapabilities, bW as MACHINE_PROTOCOL_CAPABILITIES, O as isMachineDocRoomId, bX as negotiatedAcpCapabilitiesRefreshForce, bY as MachineAcpCapabilitiesRefreshResponseSchema, bZ as readChatFailureNotice, b_ as hasPendingUserTurnActivation, J as flushTelemetry, b$ as SessionStatusFactory, c0 as getBuiltinDefaultModeId, c1 as resolveSessionConversationConfig, c2 as resolveActiveAssistantTurnId, c3 as readSessionOperationTargets, c4 as resolveProjectGitHubRepo, c5 as deriveDraftSessionTitle, c6 as resolveNewSessionHistoryBackend, ad as inputBlocksToHistoryItems, c7 as machineSupportsPreparedSessionInputProtocol, c8 as isBillingQuotaExempt, c9 as evaluateBillingQuota, ca as countBillableSessionTurns, a6 as ACP_CAPABILITY_ROW_FAMILIES, cb as getReadableAcpCapabilityCacheEntry, cc as withAcpConfigOptionsForModel, cd as normalizeMcpServerIdSelection, ap as getMachineRoomId, aP as isSessionDocRoomId, ce as evaluateSessionCreateQuota, cf as resolveBaseBranchPreference, cg as machineSupportsMemoryProviders, ch as hasAgentRunConfigSelection, ci as NEW_SESSION_HISTORY_BACKEND, cj as formatSessionQuotaRejection, ck as getAcpModelEffortChoices, cl as getAcpModelFastSupport, cm as isAcpFastModeConfigId, cn as ACP_CONFIG_OPTION_ON_VALUE, co as ACP_CONFIG_OPTION_OFF_VALUE, cp as OPERATION_INBOX_PROTOCOL_VERSION, cq as SessionCancelResponseSchema, cr as resolveAgentRunConfigSelection, cs as getDeclaredModelControls, ct as isAcpThoughtLevelConfigOption, cu as MachineStatusResponseSchema, cv as FREE_SESSION_TURN_LIMIT, cw as getSessionIdFromRoomId, H as selectTranscriptHistoryPositions } from "./presence-legacy-DzBPpCi4.js";
4
4
  import { R as RepoTransportError, a as RepoSyncError } from "./chunks/vendor-loro-repo-DTfL-Eq-.js";
5
5
  import { au as TaggedError, cT as runPromise, cg as result, R as fnUntraced, B as tryPromise, d0 as timeout, cS as seconds, bx as catchTag, j as fail, b as flatMap, v as void_, d1 as tapError, d as sync, de as min, df as exponential, dg as spaced, dh as minutes, di as jittered, dj as while_, dk as retry, dl as runSync, a3 as make, a2 as gen, C as acquireRelease, aD as promise, s as succeed, b2 as provideService, bl as Scope, aa as close, av as void_$1, cp as scoped } from "./chunks/vendor-effect-Bj6CkP8t.js";
6
6
  import fs__default$1, { readFile } from "node:fs/promises";
@@ -14,14 +14,14 @@ import path__default from "path";
14
14
  import { a as getLodyDataDir } from "./installation-profile-DhA_EA7i.js";
15
15
  import { g as getServerNow } from "./time-sync-LbTmJdMs.js";
16
16
  import { c as string, o as object, a as literal } from "./chunks/vendor-zod-DsCtjbVN.js";
17
- import { R as ResourceListSchemas, m as matchesDiscoveryQuery, a as discoveryPage, b as buildCommandInputBlocks, c as SessionDiscoveryFilterShape, e as matchesSessionDiscovery } from "./discovery-query-CWvbE5dl.js";
17
+ import { R as ResourceListSchemas, m as matchesDiscoveryQuery, a as discoveryPage, b as buildCommandInputBlocks, c as SessionDiscoveryFilterShape, e as matchesSessionDiscovery } from "./discovery-query-BmwRCucz.js";
18
18
  import { isDeepStrictEqual } from "node:util";
19
19
  import { C as Command, O as Option } from "./chunks/vendor-commander-B86VeeRa.js";
20
- import { A as AuthClient } from "./auth-Bqieti55.js";
20
+ import { A as AuthClient } from "./auth-D8DEJf0E.js";
21
21
  import { r as renderTerminalTable } from "./terminal-table-DSTeeT1J.js";
22
22
  import { g as getCliPlatformKind, f as fileLocksLegacy } from "./cli-platform-BlncxKcC.js";
23
- import { q as makeLocalControlClientAuto } from "./local-ipc-Yr1wkOv5.js";
24
- import { d as captureSessionCommandEvent } from "./analytics-events-DwHr2sU9.js";
23
+ import { q as makeLocalControlClientAuto } from "./local-ipc-BTmrMizU.js";
24
+ import { d as captureSessionCommandEvent } from "./analytics-events-DrydOjZn.js";
25
25
  import { v as v4 } from "./chunks/vendor-uuid-ZvTlSCzA.js";
26
26
  import { m as mapWithConcurrency } from "./bounded-concurrency-JZXr8Xjv.js";
27
27
  const MACHINE_CATALOG_RETRY_GUIDANCE = " If no active Operation handle was returned, wait at least 5 seconds between attempts, make at most 3 total attempts (the initial call plus 2 retries), and reuse the identical request and operationId when present. Then stop and report the catalog blocker; do not create a new operationId to retry. If an active Operation handle was returned, let the daemon recover it and await automatic completion.";
@@ -7251,4 +7251,4 @@ export {
7251
7251
  prepareSessionInputAttachments as y,
7252
7252
  validateSessionChatTarget as z
7253
7253
  };
7254
- //# sourceMappingURL=session-Cgko1oWb.js.map
7254
+ //# sourceMappingURL=session-BpPyoIzy.js.map
@@ -1,10 +1,10 @@
1
- import { getCliNodeExecutable } from "./managed-daemon-release-uG8NndKj.js";
1
+ import { getCliNodeExecutable } from "./managed-daemon-release-MZdNLRms.js";
2
2
  import { rmSync, readdirSync, readFileSync, existsSync, createWriteStream, createReadStream, lstatSync, statSync, unlinkSync, symlinkSync, linkSync, copyFileSync, accessSync, constants } from "node:fs";
3
3
  import { createHash, randomUUID } from "node:crypto";
4
4
  import { mkdir, writeFile, rename, rm, realpath, symlink, mkdtemp, chmod, readdir, readFile, stat, lstat } from "node:fs/promises";
5
5
  import path__default$1, { join, resolve, dirname, relative, isAbsolute, sep, basename, delimiter, normalize } from "node:path";
6
6
  import { a as getLodyDataDir } from "./installation-profile-DhA_EA7i.js";
7
- import { bE as normalizeMagpieGateway, cx as MAGPIE_TOKEN, cy as getRegistryAcpLaunchKind, bc as getCliHttpFetch, cz as resolveProxyUrl, cA as resolveCliHttpTransportConfig, cB as getManagedBuiltinRuntimeByRuntimeName, cC as CURRENT_MACHINE_PROTOCOL_CAPABILITIES, bW as MACHINE_PROTOCOL_CAPABILITIES, cD as PI_EXTENSIONS_PROTOCOL_VERSION, Q as captureCli, cE as isManagedBuiltinAgentType, cF as getManagedBuiltinRuntimeByAgentType, cG as isBuiltinAgentType, cH as REGISTRY_ACP_AGENTS, cI as getBuiltinRuntimeOverrideSourceVersionSuffix, cJ as serializeCustomAcpLaunchSpec, cK as DEEPSEEK_HARNESS_BASE_URL_ENV } from "./presence-legacy-DbhaEoPO.js";
7
+ import { bE as normalizeMagpieGateway, cx as MAGPIE_TOKEN, cy as getRegistryAcpLaunchKind, bc as getCliHttpFetch, cz as resolveProxyUrl, cA as resolveCliHttpTransportConfig, cB as getManagedBuiltinRuntimeByRuntimeName, cC as CURRENT_MACHINE_PROTOCOL_CAPABILITIES, bW as MACHINE_PROTOCOL_CAPABILITIES, cD as PI_EXTENSIONS_PROTOCOL_VERSION, Q as captureCli, cE as isManagedBuiltinAgentType, cF as getManagedBuiltinRuntimeByAgentType, cG as isBuiltinAgentType, cH as REGISTRY_ACP_AGENTS, cI as getBuiltinRuntimeOverrideSourceVersionSuffix, cJ as serializeCustomAcpLaunchSpec, cK as DEEPSEEK_HARNESS_BASE_URL_ENV } from "./presence-legacy-DzBPpCi4.js";
8
8
  import { o as object, a as literal, e as array, c as string, n as number, f as _enum, d as boolean, h as unknown } from "./chunks/vendor-zod-DsCtjbVN.js";
9
9
  import { homedir } from "node:os";
10
10
  import { fileURLToPath } from "node:url";
@@ -21,7 +21,7 @@ import { c as claudeSdkManifestJson, a as claudeSdkPackageJson } from "./chunks/
21
21
  import { createHash as createHash$1 } from "crypto";
22
22
  import { g as githubCredentialRuntime } from "./github-credential-runtime-Vuv6HxRs.js";
23
23
  import { execFileSync } from "node:child_process";
24
- import { resolveDeepSeekHarnessProcessLaunch, DEEPSEEK_HARNESS_CAPABILITY_SOURCE_VERSION } from "./deepseek-harness-runtime-CbOnKwfr.js";
24
+ import { resolveDeepSeekHarnessProcessLaunch, DEEPSEEK_HARNESS_CAPABILITY_SOURCE_VERSION } from "./deepseek-harness-runtime-wUSGm92F.js";
25
25
  const LOOPBACK_NO_PROXY_HOSTS = ["localhost", "127.0.0.1", "::1"];
26
26
  LOOPBACK_NO_PROXY_HOSTS.join(",");
27
27
  function mergeLoopbackNoProxy(upper, lower) {
@@ -4683,4 +4683,4 @@ export {
4683
4683
  getManagedAgentRuntimeManager as y,
4684
4684
  getAcpCapabilitySourceVersion as z
4685
4685
  };
4686
- //# sourceMappingURL=setting-CFDXd31y.js.map
4686
+ //# sourceMappingURL=setting-BD8f3HVc.js.map
@@ -1,14 +1,14 @@
1
- import { e as applyExecutionProcessResourceProfile, w as withMachineEncryption, v as verifyMachineLifecycleRequest, b as EXIT_CODE_REMOTE_RESTART, f as normalizeMachineUpgradeTargetVersion, a as EXIT_CODE_REMOTE_UPGRADE, E as EXIT_CODE_RETRYABLE_STARTUP, d as EXIT_CODE_SUPERVISOR_CONTRACT_MISMATCH, r as resolveMachineLifecycleCapability, g as getRuntimeDiagnostics, c as EXIT_CODE_AUTH_FAILURE, h as requestManagedPreparation, n as normalizeCurrentProcessResourceProfile } from "./runtime-diagnostics-BnxuMOgC.js";
1
+ import { e as applyExecutionProcessResourceProfile, w as withMachineEncryption, v as verifyMachineLifecycleRequest, b as EXIT_CODE_REMOTE_RESTART, f as normalizeMachineUpgradeTargetVersion, a as EXIT_CODE_REMOTE_UPGRADE, E as EXIT_CODE_RETRYABLE_STARTUP, d as EXIT_CODE_SUPERVISOR_CONTRACT_MISMATCH, r as resolveMachineLifecycleCapability, g as getRuntimeDiagnostics, c as EXIT_CODE_AUTH_FAILURE, h as requestManagedPreparation, n as normalizeCurrentProcessResourceProfile } from "./runtime-diagnostics-D9FAD6Fc.js";
2
2
  import { p as platformLayer, f as formatErrorMessage, t as toShared, g as getLogger, w as withSpawn, n as truncateLogText, i as formatErrorWithCauses, o as formatReportedError, q as observeManagedProcessTree, a as createHybridLogger, h as getManagedWorkerLaunchContext, s as pruneManagedProcessTrees, u as confirmManagedProcessTreesGone, L as LODY_LOG_DIR } from "./process-options-D0e5JGor.js";
3
- import { fH as LoroStreamsTokenAuthError, at as LocalMachineRpcRequestSchema, au as LocalMachineRpcResponseSchema, fo as AndroidEmulatorRemoteResponseSchema, fI as FilePreviewV3RequestSchema, fJ as filePreviewV3Error, fK as SessionDirectoryListRequestSchema, fL as FileDownloadRequestSchema, fM as CodeCollabReadBlobRequestSchema, fN as CodeCollabOpenDiffManifestRequestSchema, bC as normalizeSessionTurnInputConfig, eO as FilePreviewV3ErrorCodeSchema, eR as LocalProjectControlRequestSchema, b0 as LOCAL_SCHEDULE_CONTROL_PATH, fO as ScheduleControlRequestSchema, a$ as LOCAL_MACHINE_RPC_PATH, fP as safeParseLocalSessionControlRequest, b1 as LocalSessionControlResponseSchema, fQ as safeParseLocalMachineRpcRequest, fR as safeParseLocalProjectControlRequest, b2 as LocalProjectControlResponseSchema, fS as createJsonLineSplitter, fT as LOCAL_LORO_DATA_PLANE_MAX_FRAME_BYTES, dU as LOCAL_LORO_DATA_PLANE_PROTOCOL_VERSION, fU as LocalLoroDataPlaneClientMessageSchema, fV as applyProjectSkillsResultBudget, fW as isBinaryImagePath, fX as deriveRepoIdFromGitHubRepo, fY as getWorktreeHostPathFromDotlodyPath, fZ as ALL_KNOWN_GLOBAL_SKILL_DIRS, f_ as ALL_KNOWN_SYSTEM_SKILL_DIRS, f$ as buildProjectSkill, g0 as LODY_SUBAGENT_EVENT_METHOD, g1 as isLodySubagentEvent, g2 as isLodyPromptSuggestion, g3 as isAskUserQuestionPermissionRequest, g4 as SorbetProviderIdSchema, g5 as SORBET_CREDENTIALS_MAX_COUNT, g6 as SorbetCustomProviderProtocolSchema, g7 as SORBET_CUSTOM_PROVIDER_MODELS_MAX_COUNT, g8 as SorbetCredentialTypeSchema, Q as captureCli, g9 as readAcpModelCapabilitiesMeta, ga as deriveModelReasoningEffortsFromLegacyModelIds, gb as formatMcpResolutionProblem, gc as parseAskUserQuestionElicitationRequest, gd as buildAskUserQuestionElicitationResponse, ge as parseDevinSubagentTaskMeta, gf as getDevinSubagentContextId, gg as hasOtherDevinSubagentMeta, gh as parseSessionNotification, gi as sanitizeGoalObjective, gj as trustsUntaggedAcpSessionTitle, gk as ACP_INIT_TIMEOUT_MS, gl as ACP_NEW_SESSION_TIMEOUT_MS, gm as MODEL_THOUGHT_LEVEL_META_KEY, gn as ACP_NPX_STARTUP_MAX_ATTEMPTS, go as ACP_COLD_NPX_INIT_TIMEOUT_MS, gp as assertManagedCodexProfileConfig, gq as CodexAuthProfileSchema, gr as normalizeCodexEndpoint, gs as getLoginShellEnvLegacy, gt as ACP_STARTUP_QUEUE_WAIT_TIMEOUT_MS, ev as isSensitiveAcpConfigOptionId, gu as getLocalProjectHistoryProviderKey, gv as getExternalAcpHistoryImportKey, a2 as getSessionRoomId, a3 as isLoroRepoDocDeleted, gw as isActiveSessionStatus, gx as matchesHistoryProviderBinding, ap as getMachineRoomId, ci as NEW_SESSION_HISTORY_BACKEND, b$ as SessionStatusFactory, gy as getLocalProjectHistoryCatalogKey, gz as buildHistoryReplayImport, dK as isSessionHistoryPendingForDispatch, aP as isSessionDocRoomId, gA as sanitizeLodyInternalInstructions, gB as createUtf8StreamDecoder, gC as TerminalClientMessageSchema, gD as FILE_DOWNLOAD_MAX_BYTES, gE as FILE_DOWNLOAD_CHUNK_BYTES, gF as SessionLocalAttachmentSchema, bc as getCliHttpFetch, gG as buildManagedPreviewViewerUrl, gH as setPreviewQueryParamInUrl, gI as classifyBrowserHostname, gJ as removePreviewQueryParamFromSearch, gK as VISUAL_ANNOTATION_INSPECTOR_BROWSER_SCRIPT, gL as PREVIEW_ACCESS_TOKEN_QUERY_PARAM, gM as sanitizePreviewProxyResponseHeaders, gN as applyPreviewEmbeddingHeaders, gO as DEFAULT_PREVIEW_RESOURCE_LIMITS, gP as PREVIEW_ACCESS_TOKEN_COOKIE, gQ as DEFAULT_PREVIEW_IDLE_TIMEOUT_MS, gR as DevicePreviewControlRequestSchema, ak as ScheduleRepository, gS as scheduleDefinitionFingerprint, b_ as hasPendingUserTurnActivation, c3 as readSessionOperationTargets, eV as MemoryProviderRequestSchema, aG as MemoryBindingSchema, n as addSessionTurnTokenUsage, y as isEmptySessionTurnTokenUsage, _ as version$3, gT as isMissingEmail, gU as getCachedLoginShellEnvSyncLegacy, bL as supportsBuiltinProviderSetup, gV as hasBuiltinRuntimeOverrideValues, cE as isManagedBuiltinAgentType, gW as hasEmptyModelSelectOption, P as getMachineFlockDocId, bK as getMachineFlockProviderSetups, a5 as readMachineFlockRowsFromFlock, bI as getMachineFlockProviderSetupCancellations, gX as applyProviderSetupCancellationToFlock, bJ as getMachineFlockAgentConfigs, bN as machineFlockKeys, bM as writeMachineFlockRowToFlock, ft as deleteMachineFlockRowFromFlock, gY as encodeCodexProfileConfig, gZ as findBuiltinAgentOptOutToRetract, g_ as isLodySubagentOutput, g$ as MessageContentSchema, dI as parseHistoryWrite, h0 as ToolCallContentSchema, dL as HistoryWriteError, h1 as captureMessage, dB as deriveLocationsFromToolCallContent, h2 as parseLodyTaskMeta, h3 as buildMessageContentFromNotification, h4 as truncateTerminalOutputForHistory, h5 as usesAcpProtocolAuthentication, h6 as hasBuiltinEnvAuthentication, cF as getManagedBuiltinRuntimeByAgentType, h7 as ACP_AUTH_ID_MAX_LENGTH, h8 as ACP_AUTH_TEXT_MAX_LENGTH, h9 as ACP_AUTHENTICATION_FORM_MAX_BYTES, ha as ACP_AUTHORIZATION_URL_MAX_LENGTH, hb as ACP_AUTH_FORM_FIELD_MAX_COUNT, hc as ACP_AUTH_LABEL_MAX_LENGTH, hd as getLodyElicitationMeta, he as ACP_AUTH_SELECT_OPTION_MAX_COUNT, hf as isAcpAuthenticationFormWithinByteLimit, ey as getAcpConfigOptionsModelId, hg as parseLodyMessagePhase, hh as computeTitleGenerationDefaults, hi as DEFAULT_TITLE_GENERATION_PROMPT, hj as LODY_PRESENCE_HEARTBEAT_MS, hk as isErrorReportingEnabled, hl as hashAnalyticsId, hm as getWorktreeSetupScriptForShell, hn as resolveWorktreeSetupShellForPlatform, ho as DEFAULT_WORKTREE_SETUP_TIMEOUT_MS, hp as DEFAULT_WORKTREE_CLEANUP_TIMEOUT_MS, hq as PiExtensionDiscoverySchema, dN as resolveSessionHistoryStatus, hr as resolveSessionAcpTargetId, hs as isSessionCancelRequestMarker, ht as getSessionCancelRequestMarker, hu as normalizeSessionInputBlocks, hv as extractPromptPreviewFromInputBlocks, hw as historyItemsToInputBlocks, hx as isMissingHistoryUserTurn, hy as getPendingUserTurnActivationId, hz as getSessionLaunchConfigLegacyFields, hA as buildSessionLaunchConfig, hB as mergeSessionLaunchConfig, hC as getMachineFlockSessionLaunchConfig, hD as isSubscriptionQuotaEligible, hE as resolveSessionExecutionInputBlocks, c4 as resolveProjectGitHubRepo, cY as isSessionCollaborationStopped, u as findProgressMessageId, hF as createReplayPromptBuilder, hG as isReplayEntryExcluded, cf as resolveBaseBranchPreference, hH as resolveResumableAcpSessionId, hI as hasRecentResumeNotice, hJ as acpOwnsSessionTitleGeneration, hK as resolveSessionAuthoredText, c2 as resolveActiveAssistantTurnId, hL as decideAcpCapabilityRefreshCache, cB as getManagedBuiltinRuntimeByRuntimeName, cJ as serializeCustomAcpLaunchSpec, cH as REGISTRY_ACP_AGENTS, hM as SESSION_DOC_PREFIX, hN as buildPendingUserHistoryEntry, hO as buildMissingEmail, hP as buildSessionTurnInputConfig, cd as normalizeMcpServerIdSelection, hQ as AgentConfigCliTypeSchema, hR as ProjectRefSchema, eK as sessionForkFailure, et as LEGACY_SESSION_HISTORY_BACKEND, hS as resolveSessionMcpSelection, c1 as resolveSessionConversationConfig, hT as resolveSessionAcpRuntimeConfig, eL as sessionEditAndResendFailure, D as resolveEditableTail, hU as isSessionGoalActive, v as getOperationProgressTargetKey, bZ as readChatFailureNotice, cU as describeChatFailure, d0 as makeLodyError, w as getOperationProgressTurnId, d5 as resolveSessionPullRequests, cm as isAcpFastModeConfigId, hV as ACP_REASONING_EFFORT_CONFIG_ID, hW as isAcpPlanModeConfigOption, ct as isAcpThoughtLevelConfigOption, hX as ACP_PLAN_PERMISSION_MODE_ID, hY as CODE_COLLAB_DIFF_BLOB_LIMITS, hZ as FILE_PREVIEW_V3_LIMITS, eG as FILE_PREVIEW_PROTOCOL_VERSION, h_ as getImageMimeTypeForPath, aQ as SESSION_FILE_MAX_SIZE_BYTES, da as SESSION_FILE_PREVIEW_SNIFF_BYTES, db as isTextPreviewable, br as SESSION_IMAGE_MAX_SIZE_BYTES, bs as SESSION_IMAGE_ALLOWED_MIME_TYPES, eQ as PreviewControlProofSchema, h$ as PREVIEW_CREATE_RATE_LIMIT_MAX, i0 as DEFAULT_PREVIEW_MAX_ACTIVE_TUNNELS_PER_MACHINE, i1 as PREVIEW_CREATE_RATE_LIMIT_WINDOW_MS, i2 as assertEncryptedImageReference, i3 as readEncryptedAttachment, b4 as buildSessionImageApiUrl, b5 as getSessionImageDownloadApiPath, dm as encryptedAttachmentPath, de as getSessionFileDownloadApiPath, i4 as getCodeCollabFileIndexSignalFlockDocId, i5 as getCodeCollabFileIndexFlockDocId, fv as sessionHistoryWriteIntentDigest, i6 as getProjectRefBranch, aJ as readMessageAuthor, cG as isBuiltinAgentType, dd as buildSessionFileApiUrl, i7 as formatAgentSenderHeader, i8 as formatCommentReferenceForPrompt, i9 as formatVisualAnnotationReferenceForPrompt, ch as hasAgentRunConfigSelection, d8 as shouldBypassSessionQuota, L as getDeviceTimeZone, ia as SORBET_PROVIDERS_REMOTE_PROTOCOL_VERSION, ib as SORBET_CREDENTIALS_REMOTE_PROTOCOL_VERSION, ic as SORBET_PROVIDERS_PROTOCOL_VERSION, id as SORBET_CREDENTIALS_PROTOCOL_VERSION, ie as E2EE_SESSION_EDIT_AND_RESEND_PROTOCOL_VERSION, ig as E2EE_SESSION_FORK_PROTOCOL_VERSION, ih as E2EE_ACP_INTERACTION_PROTOCOL_VERSION, cw as getSessionIdFromRoomId, ii as parseMachineFlockKey, aK as getWorkspaceFlockDocId, ij as listWorkspaceProjects, aM as readWorkspaceFlockRowsFromFlock, ik as truncateToolTitleForHistory, I as summarizeHistoryQuery, fi as SessionHistoryReadResponseSchema, d7 as isContainedSession, dJ as HistoryEntryWriteSchema, dM as PermissionOutcomeSchema, cW as SESSION_IMAGE_MAX_COUNT, ad as inputBlocksToHistoryItems, ab as SESSION_FILE_MAX_COUNT, il as parseAskUserQuestionPermissionMeta, im as PERMISSION_REQUEST_TIMEOUT_MS, io as getAskUserQuestionPermissionDisplayTitle, ip as resolveNotificationPresentation, iq as notificationReplyPreview, ir as buildLiveActivityConversationItems, is as countLiveActivityConversationStatuses, it as countLiveActivityConversationCandidates, iu as buildLodyConversationsLiveActivityId, aY as LORO_STREAMS_BUCKET_ID, iv as getMachineFlockDeleteLocalProjectEntries, iw as LODY_CONVERSATIONS_LIVE_ACTIVITY_SCHEMA_VERSION, ix as McpLocalAuthenticationSchema, iy as publicMcpServer, iz as resolveSessionMcpServers, iA as assertPublicMcpServer, iB as getWorkspaceMcpCatalog, S as SessionHistoryContentPatchSchema, x as historyQueryRow, dH as resolveLatestSessionGoalFromHistory, iC as captureStoredHistory, B as planEditableTailReplacement, iD as matchesRollbackReceipt, iE as prepareReplacement, iF as isSessionHistoryStatusAwaitingStart, z as markTurnSeenBlocked, o as applyMarkTurnSeen, iG as inheritHistoryStreamText, G as selectHistoryActionRows, iH as prepareStoredHistoryCopy, dQ as targetLocalHistoryTargets, F as selectAgentHistoryRows, iI as planAgentHistoryMutation, t as createAssistantTurn, p as applyOpenAssistantTurn, H as selectTranscriptHistoryPositions, ax as pkg, N as getScheduleRoomId, iJ as readPullRequestLifecycle, iK as planPullRequestLifecycle, d1 as collectViewedSessionIdsFromPresence, iL as TERMINAL_MAX_PER_SESSION, e9 as LODY_MACHINE_MONITOR_WINDOWS_SAMPLE_MS, ea as LODY_MACHINE_MONITOR_MACOS_SAMPLE_MS, eb as LODY_MACHINE_MONITOR_UNIX_SAMPLE_MS, iM as evaluateSchedule, iN as scheduleRunKey, iO as scheduleRunIds, iP as manualScheduleRunKey, iQ as SCHEDULE_RETRY_DELAYS_MS, iR as quotaReservationIdentity, M as getScheduleRegistryFlockDocId, iS as scheduleRegistryKeys, an as ScheduleRuntimeRowSchema, iT as canonicalScheduleJson, iU as ScheduledMessageSchema, iV as notificationLabel, ar as getMachineFlockLocalProjects, h as automationRuleDraftSchema, d as automationEventSchema, c as automationContinuationSchema, f as automationInvocationSchema, g as automationOriginSchema, iW as startTimeSyncLegacy, cV as initCliAnalytics, iX as SUPPORTED_CLI_TYPES, iY as CLI_STORAGE_WRITE_FAILED_ISSUE_CODE, J as flushTelemetry, U as ManagedDaemonUpgradeOptionsSchema, bj as closeLoginShellApplicationLegacy } from "./presence-legacy-DbhaEoPO.js";
3
+ import { fH as LoroStreamsTokenAuthError, at as LocalMachineRpcRequestSchema, au as LocalMachineRpcResponseSchema, fo as AndroidEmulatorRemoteResponseSchema, fI as FilePreviewV3RequestSchema, fJ as filePreviewV3Error, fK as SessionDirectoryListRequestSchema, fL as FileDownloadRequestSchema, fM as CodeCollabReadBlobRequestSchema, fN as CodeCollabOpenDiffManifestRequestSchema, bC as normalizeSessionTurnInputConfig, eO as FilePreviewV3ErrorCodeSchema, eR as LocalProjectControlRequestSchema, b0 as LOCAL_SCHEDULE_CONTROL_PATH, fO as ScheduleControlRequestSchema, a$ as LOCAL_MACHINE_RPC_PATH, fP as safeParseLocalSessionControlRequest, b1 as LocalSessionControlResponseSchema, fQ as safeParseLocalMachineRpcRequest, fR as safeParseLocalProjectControlRequest, b2 as LocalProjectControlResponseSchema, fS as createJsonLineSplitter, fT as LOCAL_LORO_DATA_PLANE_MAX_FRAME_BYTES, dU as LOCAL_LORO_DATA_PLANE_PROTOCOL_VERSION, fU as LocalLoroDataPlaneClientMessageSchema, fV as applyProjectSkillsResultBudget, fW as isBinaryImagePath, fX as deriveRepoIdFromGitHubRepo, fY as getWorktreeHostPathFromDotlodyPath, fZ as ALL_KNOWN_GLOBAL_SKILL_DIRS, f_ as ALL_KNOWN_SYSTEM_SKILL_DIRS, f$ as buildProjectSkill, g0 as LODY_SUBAGENT_EVENT_METHOD, g1 as isLodySubagentEvent, g2 as isLodyPromptSuggestion, g3 as isAskUserQuestionPermissionRequest, g4 as SorbetProviderIdSchema, g5 as SORBET_CREDENTIALS_MAX_COUNT, g6 as SorbetCustomProviderProtocolSchema, g7 as SORBET_CUSTOM_PROVIDER_MODELS_MAX_COUNT, g8 as SorbetCredentialTypeSchema, Q as captureCli, g9 as readAcpModelCapabilitiesMeta, ga as deriveModelReasoningEffortsFromLegacyModelIds, gb as formatMcpResolutionProblem, gc as parseAskUserQuestionElicitationRequest, gd as buildAskUserQuestionElicitationResponse, ge as parseDevinSubagentTaskMeta, gf as getDevinSubagentContextId, gg as hasOtherDevinSubagentMeta, gh as parseSessionNotification, gi as sanitizeGoalObjective, gj as trustsUntaggedAcpSessionTitle, gk as ACP_INIT_TIMEOUT_MS, gl as ACP_NEW_SESSION_TIMEOUT_MS, gm as MODEL_THOUGHT_LEVEL_META_KEY, gn as ACP_NPX_STARTUP_MAX_ATTEMPTS, go as ACP_COLD_NPX_INIT_TIMEOUT_MS, gp as assertManagedCodexProfileConfig, gq as CodexAuthProfileSchema, gr as normalizeCodexEndpoint, gs as getLoginShellEnvLegacy, gt as ACP_STARTUP_QUEUE_WAIT_TIMEOUT_MS, ev as isSensitiveAcpConfigOptionId, gu as getLocalProjectHistoryProviderKey, gv as getExternalAcpHistoryImportKey, a2 as getSessionRoomId, a3 as isLoroRepoDocDeleted, gw as isActiveSessionStatus, gx as matchesHistoryProviderBinding, ap as getMachineRoomId, ci as NEW_SESSION_HISTORY_BACKEND, b$ as SessionStatusFactory, gy as getLocalProjectHistoryCatalogKey, gz as buildHistoryReplayImport, dK as isSessionHistoryPendingForDispatch, aP as isSessionDocRoomId, gA as sanitizeLodyInternalInstructions, gB as createUtf8StreamDecoder, gC as TerminalClientMessageSchema, gD as FILE_DOWNLOAD_MAX_BYTES, gE as FILE_DOWNLOAD_CHUNK_BYTES, gF as SessionLocalAttachmentSchema, bc as getCliHttpFetch, gG as buildManagedPreviewViewerUrl, gH as setPreviewQueryParamInUrl, gI as classifyBrowserHostname, gJ as removePreviewQueryParamFromSearch, gK as VISUAL_ANNOTATION_INSPECTOR_BROWSER_SCRIPT, gL as PREVIEW_ACCESS_TOKEN_QUERY_PARAM, gM as sanitizePreviewProxyResponseHeaders, gN as applyPreviewEmbeddingHeaders, gO as DEFAULT_PREVIEW_RESOURCE_LIMITS, gP as PREVIEW_ACCESS_TOKEN_COOKIE, gQ as DEFAULT_PREVIEW_IDLE_TIMEOUT_MS, gR as DevicePreviewControlRequestSchema, ak as ScheduleRepository, gS as scheduleDefinitionFingerprint, b_ as hasPendingUserTurnActivation, c3 as readSessionOperationTargets, eV as MemoryProviderRequestSchema, aG as MemoryBindingSchema, n as addSessionTurnTokenUsage, y as isEmptySessionTurnTokenUsage, _ as version$3, gT as isMissingEmail, gU as getCachedLoginShellEnvSyncLegacy, bL as supportsBuiltinProviderSetup, gV as hasBuiltinRuntimeOverrideValues, cE as isManagedBuiltinAgentType, gW as hasEmptyModelSelectOption, P as getMachineFlockDocId, bK as getMachineFlockProviderSetups, a5 as readMachineFlockRowsFromFlock, bI as getMachineFlockProviderSetupCancellations, gX as applyProviderSetupCancellationToFlock, bJ as getMachineFlockAgentConfigs, bN as machineFlockKeys, bM as writeMachineFlockRowToFlock, ft as deleteMachineFlockRowFromFlock, gY as encodeCodexProfileConfig, gZ as findBuiltinAgentOptOutToRetract, g_ as isLodySubagentOutput, g$ as MessageContentSchema, dI as parseHistoryWrite, h0 as ToolCallContentSchema, dL as HistoryWriteError, h1 as captureMessage, dB as deriveLocationsFromToolCallContent, h2 as parseLodyTaskMeta, h3 as buildMessageContentFromNotification, h4 as truncateTerminalOutputForHistory, h5 as usesAcpProtocolAuthentication, h6 as hasBuiltinEnvAuthentication, cF as getManagedBuiltinRuntimeByAgentType, h7 as ACP_AUTH_ID_MAX_LENGTH, h8 as ACP_AUTH_TEXT_MAX_LENGTH, h9 as ACP_AUTHENTICATION_FORM_MAX_BYTES, ha as ACP_AUTHORIZATION_URL_MAX_LENGTH, hb as ACP_AUTH_FORM_FIELD_MAX_COUNT, hc as ACP_AUTH_LABEL_MAX_LENGTH, hd as getLodyElicitationMeta, he as ACP_AUTH_SELECT_OPTION_MAX_COUNT, hf as isAcpAuthenticationFormWithinByteLimit, ey as getAcpConfigOptionsModelId, hg as parseLodyMessagePhase, hh as computeTitleGenerationDefaults, hi as DEFAULT_TITLE_GENERATION_PROMPT, hj as LODY_PRESENCE_HEARTBEAT_MS, hk as isErrorReportingEnabled, hl as hashAnalyticsId, hm as getWorktreeSetupScriptForShell, hn as resolveWorktreeSetupShellForPlatform, ho as DEFAULT_WORKTREE_SETUP_TIMEOUT_MS, hp as DEFAULT_WORKTREE_CLEANUP_TIMEOUT_MS, hq as PiExtensionDiscoverySchema, dN as resolveSessionHistoryStatus, hr as resolveSessionAcpTargetId, hs as isSessionCancelRequestMarker, ht as getSessionCancelRequestMarker, hu as normalizeSessionInputBlocks, hv as extractPromptPreviewFromInputBlocks, hw as historyItemsToInputBlocks, hx as isMissingHistoryUserTurn, hy as getPendingUserTurnActivationId, hz as getSessionLaunchConfigLegacyFields, hA as buildSessionLaunchConfig, hB as mergeSessionLaunchConfig, hC as getMachineFlockSessionLaunchConfig, hD as isSubscriptionQuotaEligible, hE as resolveSessionExecutionInputBlocks, c4 as resolveProjectGitHubRepo, cY as isSessionCollaborationStopped, u as findProgressMessageId, hF as createReplayPromptBuilder, hG as isReplayEntryExcluded, cf as resolveBaseBranchPreference, hH as resolveResumableAcpSessionId, hI as hasRecentResumeNotice, hJ as acpOwnsSessionTitleGeneration, hK as resolveSessionAuthoredText, c2 as resolveActiveAssistantTurnId, hL as decideAcpCapabilityRefreshCache, cB as getManagedBuiltinRuntimeByRuntimeName, cJ as serializeCustomAcpLaunchSpec, cH as REGISTRY_ACP_AGENTS, hM as SESSION_DOC_PREFIX, hN as buildPendingUserHistoryEntry, hO as buildMissingEmail, hP as buildSessionTurnInputConfig, cd as normalizeMcpServerIdSelection, hQ as AgentConfigCliTypeSchema, hR as ProjectRefSchema, eK as sessionForkFailure, et as LEGACY_SESSION_HISTORY_BACKEND, hS as resolveSessionMcpSelection, c1 as resolveSessionConversationConfig, hT as resolveSessionAcpRuntimeConfig, eL as sessionEditAndResendFailure, D as resolveEditableTail, hU as isSessionGoalActive, v as getOperationProgressTargetKey, bZ as readChatFailureNotice, cU as describeChatFailure, d0 as makeLodyError, w as getOperationProgressTurnId, d5 as resolveSessionPullRequests, cm as isAcpFastModeConfigId, hV as ACP_REASONING_EFFORT_CONFIG_ID, hW as isAcpPlanModeConfigOption, ct as isAcpThoughtLevelConfigOption, hX as ACP_PLAN_PERMISSION_MODE_ID, hY as CODE_COLLAB_DIFF_BLOB_LIMITS, hZ as FILE_PREVIEW_V3_LIMITS, eG as FILE_PREVIEW_PROTOCOL_VERSION, h_ as getImageMimeTypeForPath, aQ as SESSION_FILE_MAX_SIZE_BYTES, da as SESSION_FILE_PREVIEW_SNIFF_BYTES, db as isTextPreviewable, br as SESSION_IMAGE_MAX_SIZE_BYTES, bs as SESSION_IMAGE_ALLOWED_MIME_TYPES, eQ as PreviewControlProofSchema, h$ as PREVIEW_CREATE_RATE_LIMIT_MAX, i0 as DEFAULT_PREVIEW_MAX_ACTIVE_TUNNELS_PER_MACHINE, i1 as PREVIEW_CREATE_RATE_LIMIT_WINDOW_MS, i2 as assertEncryptedImageReference, i3 as readEncryptedAttachment, b4 as buildSessionImageApiUrl, b5 as getSessionImageDownloadApiPath, dm as encryptedAttachmentPath, de as getSessionFileDownloadApiPath, i4 as getCodeCollabFileIndexSignalFlockDocId, i5 as getCodeCollabFileIndexFlockDocId, fv as sessionHistoryWriteIntentDigest, i6 as getProjectRefBranch, aJ as readMessageAuthor, cG as isBuiltinAgentType, dd as buildSessionFileApiUrl, i7 as formatAgentSenderHeader, i8 as formatCommentReferenceForPrompt, i9 as formatVisualAnnotationReferenceForPrompt, ch as hasAgentRunConfigSelection, d8 as shouldBypassSessionQuota, L as getDeviceTimeZone, ia as SORBET_PROVIDERS_REMOTE_PROTOCOL_VERSION, ib as SORBET_CREDENTIALS_REMOTE_PROTOCOL_VERSION, ic as SORBET_PROVIDERS_PROTOCOL_VERSION, id as SORBET_CREDENTIALS_PROTOCOL_VERSION, ie as E2EE_SESSION_EDIT_AND_RESEND_PROTOCOL_VERSION, ig as E2EE_SESSION_FORK_PROTOCOL_VERSION, ih as E2EE_ACP_INTERACTION_PROTOCOL_VERSION, cw as getSessionIdFromRoomId, ii as parseMachineFlockKey, aK as getWorkspaceFlockDocId, ij as listWorkspaceProjects, aM as readWorkspaceFlockRowsFromFlock, ik as truncateToolTitleForHistory, I as summarizeHistoryQuery, fi as SessionHistoryReadResponseSchema, d7 as isContainedSession, dJ as HistoryEntryWriteSchema, dM as PermissionOutcomeSchema, cW as SESSION_IMAGE_MAX_COUNT, ad as inputBlocksToHistoryItems, ab as SESSION_FILE_MAX_COUNT, il as parseAskUserQuestionPermissionMeta, im as PERMISSION_REQUEST_TIMEOUT_MS, io as getAskUserQuestionPermissionDisplayTitle, ip as resolveNotificationPresentation, iq as notificationReplyPreview, ir as buildLiveActivityConversationItems, is as countLiveActivityConversationStatuses, it as countLiveActivityConversationCandidates, iu as buildLodyConversationsLiveActivityId, aY as LORO_STREAMS_BUCKET_ID, iv as getMachineFlockDeleteLocalProjectEntries, iw as LODY_CONVERSATIONS_LIVE_ACTIVITY_SCHEMA_VERSION, ix as McpLocalAuthenticationSchema, iy as publicMcpServer, iz as resolveSessionMcpServers, iA as assertPublicMcpServer, iB as getWorkspaceMcpCatalog, S as SessionHistoryContentPatchSchema, x as historyQueryRow, dH as resolveLatestSessionGoalFromHistory, iC as captureStoredHistory, B as planEditableTailReplacement, iD as matchesRollbackReceipt, iE as prepareReplacement, iF as isSessionHistoryStatusAwaitingStart, z as markTurnSeenBlocked, o as applyMarkTurnSeen, iG as inheritHistoryStreamText, G as selectHistoryActionRows, iH as prepareStoredHistoryCopy, dQ as targetLocalHistoryTargets, F as selectAgentHistoryRows, iI as planAgentHistoryMutation, t as createAssistantTurn, p as applyOpenAssistantTurn, H as selectTranscriptHistoryPositions, ax as pkg, N as getScheduleRoomId, iJ as readPullRequestLifecycle, iK as planPullRequestLifecycle, d1 as collectViewedSessionIdsFromPresence, iL as TERMINAL_MAX_PER_SESSION, e9 as LODY_MACHINE_MONITOR_WINDOWS_SAMPLE_MS, ea as LODY_MACHINE_MONITOR_MACOS_SAMPLE_MS, eb as LODY_MACHINE_MONITOR_UNIX_SAMPLE_MS, iM as evaluateSchedule, iN as scheduleRunKey, iO as scheduleRunIds, iP as manualScheduleRunKey, iQ as SCHEDULE_RETRY_DELAYS_MS, iR as quotaReservationIdentity, M as getScheduleRegistryFlockDocId, iS as scheduleRegistryKeys, an as ScheduleRuntimeRowSchema, iT as canonicalScheduleJson, iU as ScheduledMessageSchema, iV as notificationLabel, ar as getMachineFlockLocalProjects, h as automationRuleDraftSchema, d as automationEventSchema, c as automationContinuationSchema, f as automationInvocationSchema, g as automationOriginSchema, iW as startTimeSyncLegacy, cV as initCliAnalytics, iX as SUPPORTED_CLI_TYPES, iY as CLI_STORAGE_WRITE_FAILED_ISSUE_CODE, J as flushTelemetry, U as ManagedDaemonUpgradeOptionsSchema, bj as closeLoginShellApplicationLegacy } from "./presence-legacy-DzBPpCi4.js";
4
4
  import { C as Command } from "./chunks/vendor-commander-B86VeeRa.js";
5
5
  import { c as chalk } from "./chunks/vendor-chalk-MVIUzg44.js";
6
6
  import * as os from "os";
7
7
  import os__default$1 from "os";
8
8
  import { createHash, randomBytes, randomUUID as randomUUID$1, timingSafeEqual } from "node:crypto";
9
9
  import { r as reportError, m as makeApplicationRuntime, f as formatLocalLogDate, p as pickDailyLogAppendName, b as formatDailyLogLine, c as registerProcessExitTrace, d as registerProcessCleanup, u as unregisterProcessCleanup } from "./index.js";
10
- import { w as writePrivateCredentialFile, A as AuthClient, p as performLoginWithAuthCredential, i as isMachinePairingCredential, c as performLogin } from "./auth-Bqieti55.js";
11
- import { bB as getLoroMachineRpcRequestStreamId, an as LORO_STREAMS_RPC_RETENTION_SECONDS, bd as LoroStreamsGatewayError, bi as LoroStreamsRpcRequestSchema, ao as LORO_STREAMS_RPC_VERSION, am as LORO_STREAMS_RPC_ERROR_CODES, ab as isE2eeReadQuery, ac as isOwnerScopedEncryptedRpcMethod, ae as encryptCodeCollabV2RpcPayload, ad as decryptCodeCollabV2RpcPayload, bk as LoroStreamsRpcResponseSchema, bg as LoroStreamsRpcHandlerError, bx as encryptRpcSecret, by as getAndroidEmulatorViewerSecretContext, bA as getIosSimulatorViewerSecretContext, af as CodeCollabV2LspRpcParamsSchema, bm as SessionHistoryWriteRpcPayloadSchema, bl as SessionHistoryReadRpcPayloadSchema, bo as createRpcSecretRecipient, bF as getMachineAcpAuthorizationCodeSecretContext, bE as getMachineAcpAuthenticationInputSecretContext, aY as LoroSessionAutomationControlPayloadSchema, bz as getAutomationResponseSecretContext, cy as makeNodeLocalLoroWriterConnection, bH as localProjectsLegacy, bI as getLocalProjectNameFromRootPath, b_ as WorkspaceSyncUnavailableError, cz as startTraceSpan, cA as withSlowOperationWarning, a8 as createSessionBackend, h as areStringArraysEqual, K as storedBaselineHashes, r as hashHistoryForStoredVersion, m as decideHistoryConflictResolution, aa as SYNC_CONFIRMATION_TIMEOUT_MS, cB as withMachineCatalogWriteLock, c0 as readMachineLocalProjects, cC as upsertMachineLocalProject, q as hashHistoryEntryV2, H as HASH_VERSION, s as hashText, E as resolveImportHashVersion, F as resolveImportedTurnHashes, cD as redactUrlAuth, cE as simulatorRtcChunks, cF as SimulatorOfferSchema, cG as SimulatorIceServersSchema, cH as projectRunMetaPatch, cI as buildGitHubCloneUrl, cJ as reconcileProjectMemberLink, cK as removeProjectMemberLinks, cL as streamsRoomBinding, cM as isRecoverableStreamsRoomStatus, cN as computeLoroReconnectDelayMs, cO as withTimeout$2, cP as ConcurrentQueue, cQ as traceAsync, cR as getSteerOperationId, cS as createLocalProjectBranchSelector, cT as resolveWorkspaceLocalProjectRootPathWithRetry, cU as readLocalProjectRootResolveSyncTimeoutMs, cV as resolveProjectFileRoots, cW as subscribeSessionChanges, W as listAliveRoomIds, cX as sameDispatchEntry, D as readSessionHistoryMetadata, cY as isMemberAccessSnapshotFresh, cZ as resolveProjectFileTarget, c_ as readTimeoutEnv, c$ as sanitizeAttachmentFileName, Z as listWorkspaceGitHubRepositoriesForCliToken, $ as makeLocalWorkspaceCatalog, bn as createLoroStreamsJsonStreamClient, bR as SessionAttachmentTransfer, d0 as ATTACHMENTS_DIR_RELATIVE, d1 as ensureAttachmentsGitExcluded, d2 as buildAttachmentFileName, d3 as buildAttachmentPromptText, d4 as buildUnavailableAttachmentPromptText, d5 as resolveWorkspaceLocalProjectRootPath, a5 as getSessionCommandEnvironment, U as resolveWorkspaceOrThrow, bV as listAliveSessionMetas, d6 as isSessionInLocalProjectRemovalScope, d7 as resolveWorkspaceLocalProject, d8 as shouldApplyMachineDeleteLocalProjectCommand, d9 as isLocalProjectReferenced, da as removeMachineLocalProject, db as deriveRepoIdFromGitHubRepo$1, dc as runWithDaemonWorkspace, dd as runWithSessionCommandEnvironment, de as createLocalSessionCommandEnvironment, b$ as readHistoryEntry, B as readLatestUserId, bM as prepareCliStreamsGatewayBaseUrl, df as resolveWorkspaceLocalProjectWithSyncOnMiss, dg as GitHubTokenFetchError, S as SESSION_DIRECTORY_INPUT_CONFIG_KEYS, z as projectRoostSegments, dh as isDispatchCandidate, di as dispatchEntry, dj as selectDispatchHistory, v as pickDirectoryInputConfig, w as pickDirectoryScalars, dk as registerSessionBackendFactory, dl as createRoostSessionBackendFactory, y as planHistoryImport, p as hashHistoryEntryForVersion, i as createImportCursor, R as ROOST_CLEAR_FIELDS_KEY, k as createRoostDirectoryRow, dm as latestSessionModel, x as planHistoryAction, t as historyActionTarget, I as selectTurnOutput, dn as assertRetainedE2eeModeAllowsOpen, bS as workspaceSupports, dp as routeRemoteOwnedSessionHistory, dq as createCommandSessionHistoryFactory, dr as LoroDocumentManager, a9 as readMergedAgentConfigById, ds as localCatalogWorkspaceToWorkspaceListItem, dt as closeProcessLocalLoroWriterLegacy, du as classifyRetainedE2eeMode, dv as reconcileMachineLocalProjectRootPaths, dw as E2eeModeConflictError, dx as E2eeBindingUnreadableError, a6 as listMergedAgentConfigs, dy as findWorkspacesBySelector, bJ as formatWorkspaceCandidate, cw as isCloudE2eeMemberRemoved, cs as isCloudE2eeDeviceRevoked, dz as createLocalCloudPort, dA as createCloudCliPort } from "./command-runtime-VfwbPymA.js";
10
+ import { w as writePrivateCredentialFile, A as AuthClient, p as performLoginWithAuthCredential, i as isMachinePairingCredential, c as performLogin } from "./auth-D8DEJf0E.js";
11
+ import { bB as getLoroMachineRpcRequestStreamId, an as LORO_STREAMS_RPC_RETENTION_SECONDS, bd as LoroStreamsGatewayError, bi as LoroStreamsRpcRequestSchema, ao as LORO_STREAMS_RPC_VERSION, am as LORO_STREAMS_RPC_ERROR_CODES, ab as isE2eeReadQuery, ac as isOwnerScopedEncryptedRpcMethod, ae as encryptCodeCollabV2RpcPayload, ad as decryptCodeCollabV2RpcPayload, bk as LoroStreamsRpcResponseSchema, bg as LoroStreamsRpcHandlerError, bx as encryptRpcSecret, by as getAndroidEmulatorViewerSecretContext, bA as getIosSimulatorViewerSecretContext, af as CodeCollabV2LspRpcParamsSchema, bm as SessionHistoryWriteRpcPayloadSchema, bl as SessionHistoryReadRpcPayloadSchema, bo as createRpcSecretRecipient, bF as getMachineAcpAuthorizationCodeSecretContext, bE as getMachineAcpAuthenticationInputSecretContext, aY as LoroSessionAutomationControlPayloadSchema, bz as getAutomationResponseSecretContext, cy as makeNodeLocalLoroWriterConnection, bH as localProjectsLegacy, bI as getLocalProjectNameFromRootPath, b_ as WorkspaceSyncUnavailableError, cz as startTraceSpan, cA as withSlowOperationWarning, a8 as createSessionBackend, h as areStringArraysEqual, K as storedBaselineHashes, r as hashHistoryForStoredVersion, m as decideHistoryConflictResolution, aa as SYNC_CONFIRMATION_TIMEOUT_MS, cB as withMachineCatalogWriteLock, c0 as readMachineLocalProjects, cC as upsertMachineLocalProject, q as hashHistoryEntryV2, H as HASH_VERSION, s as hashText, E as resolveImportHashVersion, F as resolveImportedTurnHashes, cD as redactUrlAuth, cE as simulatorRtcChunks, cF as SimulatorOfferSchema, cG as SimulatorIceServersSchema, cH as projectRunMetaPatch, cI as buildGitHubCloneUrl, cJ as reconcileProjectMemberLink, cK as removeProjectMemberLinks, cL as streamsRoomBinding, cM as isRecoverableStreamsRoomStatus, cN as computeLoroReconnectDelayMs, cO as withTimeout$2, cP as ConcurrentQueue, cQ as traceAsync, cR as getSteerOperationId, cS as createLocalProjectBranchSelector, cT as resolveWorkspaceLocalProjectRootPathWithRetry, cU as readLocalProjectRootResolveSyncTimeoutMs, cV as resolveProjectFileRoots, cW as subscribeSessionChanges, W as listAliveRoomIds, cX as sameDispatchEntry, D as readSessionHistoryMetadata, cY as isMemberAccessSnapshotFresh, cZ as resolveProjectFileTarget, c_ as readTimeoutEnv, c$ as sanitizeAttachmentFileName, Z as listWorkspaceGitHubRepositoriesForCliToken, $ as makeLocalWorkspaceCatalog, bn as createLoroStreamsJsonStreamClient, bR as SessionAttachmentTransfer, d0 as ATTACHMENTS_DIR_RELATIVE, d1 as ensureAttachmentsGitExcluded, d2 as buildAttachmentFileName, d3 as buildAttachmentPromptText, d4 as buildUnavailableAttachmentPromptText, d5 as resolveWorkspaceLocalProjectRootPath, a5 as getSessionCommandEnvironment, U as resolveWorkspaceOrThrow, bV as listAliveSessionMetas, d6 as isSessionInLocalProjectRemovalScope, d7 as resolveWorkspaceLocalProject, d8 as shouldApplyMachineDeleteLocalProjectCommand, d9 as isLocalProjectReferenced, da as removeMachineLocalProject, db as deriveRepoIdFromGitHubRepo$1, dc as runWithDaemonWorkspace, dd as runWithSessionCommandEnvironment, de as createLocalSessionCommandEnvironment, b$ as readHistoryEntry, B as readLatestUserId, bM as prepareCliStreamsGatewayBaseUrl, df as resolveWorkspaceLocalProjectWithSyncOnMiss, dg as GitHubTokenFetchError, S as SESSION_DIRECTORY_INPUT_CONFIG_KEYS, z as projectRoostSegments, dh as isDispatchCandidate, di as dispatchEntry, dj as selectDispatchHistory, v as pickDirectoryInputConfig, w as pickDirectoryScalars, dk as registerSessionBackendFactory, dl as createRoostSessionBackendFactory, y as planHistoryImport, p as hashHistoryEntryForVersion, i as createImportCursor, R as ROOST_CLEAR_FIELDS_KEY, k as createRoostDirectoryRow, dm as latestSessionModel, x as planHistoryAction, t as historyActionTarget, I as selectTurnOutput, dn as assertRetainedE2eeModeAllowsOpen, bS as workspaceSupports, dp as routeRemoteOwnedSessionHistory, dq as createCommandSessionHistoryFactory, dr as LoroDocumentManager, a9 as readMergedAgentConfigById, ds as localCatalogWorkspaceToWorkspaceListItem, dt as closeProcessLocalLoroWriterLegacy, du as classifyRetainedE2eeMode, dv as reconcileMachineLocalProjectRootPaths, dw as E2eeModeConflictError, dx as E2eeBindingUnreadableError, a6 as listMergedAgentConfigs, dy as findWorkspacesBySelector, bJ as formatWorkspaceCandidate, cw as isCloudE2eeMemberRemoved, cs as isCloudE2eeDeviceRevoked, dz as createLocalCloudPort, dA as createCloudCliPort } from "./command-runtime-BHI2jLQX.js";
12
12
  import * as path$2 from "node:path";
13
13
  import path__default$1, { resolve, relative, isAbsolute, join, delimiter, dirname } from "node:path";
14
14
  import { d as runCommand, k as errnoCode, C as CommandTimedOut, l as runPromiseSquashedLegacy, o as ProcessCleanupFailed, P as ProcessReleaseFailed, s as startProcessLegacy, i as isPidAliveSyncLegacy, b as runCommandTextLegacy, t as terminateChildTreeLegacy, a as runCommandOk, e as processLayer, g as terminateTree, N as NodeProcess, S as SpawnFailed, T as TerminationFailed, q as spawnProcess, m as makeProcessRunnerLegacy, n as nodeProcessLive, u as unwrapSpawnFailure, r as runCommandTextSyncLegacy, R as READ_ONLY_ABANDON_POLICY, v as CommandOutputTooLarge, w as posixGroupTree, x as waitUntilGone } from "./process-BR92kt3O.js";
@@ -16,13 +16,13 @@ import { aw as Service, cd as provideMerge, cW as mergeAll, ax as succeed, d as
16
16
  import { l as layer } from "./chunks/vendor-@effect-platform-node-shared-BrdfjJx4.js";
17
17
  import { C as CodeCollabV2RpcContentEnvelopeSchema, y as CodeCollabV2InitDirectoryRequestSchema, x as CodeCollabV2OpenTurnDiffRequestSchema, w as CodeCollabV2OpenAllChangesDiffRequestSchema, v as CodeCollabV2OpenCurrentDiffRequestSchema, u as CodeCollabV2SaveTextRequestSchema, t as CodeCollabV2RefreshTextRequestSchema, s as CodeCollabV2OpenTextRequestSchema, e as CodeCollabV2ErrorCodeSchema, b0 as getProjectRepositoryFullName, r as resolveSessionFilePath, i as isSafeProjectPath, bc as projectRepositoryUrlIdentity, k as SessionProjectRunSchema, ba as pickProjectRepositoryLocalCopy, aK as deduplicateProjectMembers, aP as encodeProjectPreparationProgress, aj as PROJECT_SUBMODULE_BASE, bf as readCodeCollabFileIndexSignalFromFlock, bm as writeCodeCollabFileIndexSignalToFlock, be as readCodeCollabFileIndexFromFlock, bd as readCodeCollabFileGenerations, K as CODE_COLLAB_FILE_GENERATION_MAX_BYTES, aG as codeCollabFileIndexValuesEqual, bb as planCodeCollabFileIndexFlockWrite, at as applyCodeCollabFileIndexFlockWriteBatch, aQ as encodeSessionFilePath, j as decodeSessionFilePath, aw as buildCodeCollabFileIndexState, T as CODE_COLLAB_V2_TEXT_LIMITS, N as CODE_COLLAB_V2_ALL_CHANGES_DIFF_LIMITS, b as buildBoundedCodeCollabFileIndexState, aC as codeCollabFileIndexStatesEqual, a as CODE_COLLAB_FILE_INDEX_LIMITS, p as parseGitHubPullRequestUrl, a_ as getCurrentPullRequestsByRepository } from "./code-collab-CSLtmZ_w.js";
18
18
  import { b as FileLockCleanupFailed, L as LockReleaseFailed, c as LockOwnershipLost, F as FileLocks, f as fileLocksLegacy, s as squashFileLockFailure, d as LockIoError, e as LockReentrant, h as LockTimeout, i as ensureImplicitLocalWorkspace, g as getCliPlatformKind, j as applyLocalPlatformEnv, l as loadOrCreateLocalIdentity } from "./cli-platform-BlncxKcC.js";
19
- import { getCliNodeExecutable, readManagedOperation } from "./managed-daemon-release-uG8NndKj.js";
19
+ import { getCliNodeExecutable, readManagedOperation } from "./managed-daemon-release-MZdNLRms.js";
20
20
  import fs__default$1, { existsSync, writeFileSync, createWriteStream, createReadStream, mkdirSync as mkdirSync$1, openSync, constants, fchmodSync, closeSync, statSync, mkdtempSync, rmSync, realpathSync, watch, chmodSync } from "node:fs";
21
21
  import * as fs$2 from "node:fs/promises";
22
22
  import fs__default$2, { realpath, readdir, rm, mkdir, lstat, writeFile, readFile, rename, mkdtemp, chmod, access, rmdir, open, unlink, opendir, stat as stat$1 } from "node:fs/promises";
23
23
  import { fileURLToPath, pathToFileURL } from "node:url";
24
24
  import { a as parseWorkspaceWatchChildMessage } from "./workspace-watch-protocol-CKvroybp.js";
25
- import { o as remoteAutomationSecretEnvelopeSchema, A as AUTOMATION_CONTROL_PATH, b as automationControlRequestSchema, w as LOCAL_E2EE_RESET_PATH, x as LocalE2eeResetRequestSchema, y as LocalE2eeResetResponseSchema, z as LOCAL_E2EE_PAIRING_PATH, B as LocalE2eePairingRequestSchema, C as LocalE2eePrepareReplySchema, D as LocalE2eeActivateResponseSchema, E as LocalE2eeRecoveryFailureSchema, F as LocalE2eePairingFailureSchema, G as LOCAL_SESSION_CONTROL_PATH, H as LOCAL_PROJECT_CONTROL_PATH, J as LOCAL_CONTROL_HEADER, K as LOCAL_SESSION_CONTROL_STREAM_MEDIA_TYPE, M as getLocalLoroDataPlaneSocketPath, N as getLocalProbeSocketPath, O as getLocalControlSocketPath, P as getLocalDaemonRunFilePath, Q as getLocalDaemonLockFilePath, R as ensureLocalDaemonRunDir, S as writeLocalDaemonRunFile, T as getLocalIpcServerCredentials, U as matchesLocalIpcToken, V as LOCAL_IPC_TOKEN_HEADER, W as removeLocalDaemonRunFile, X as getLocalDaemonSocketPath, f as automationRegistrationSchema, g as automationResultSchema, a as automationCommandSchema, l as remoteAutomationOperationSchema, m as remoteAutomationProofSchema, k as remoteAutomationIntentSchema } from "./local-ipc-Yr1wkOv5.js";
25
+ import { o as remoteAutomationSecretEnvelopeSchema, A as AUTOMATION_CONTROL_PATH, b as automationControlRequestSchema, w as LOCAL_E2EE_RESET_PATH, x as LocalE2eeResetRequestSchema, y as LocalE2eeResetResponseSchema, z as LOCAL_E2EE_PAIRING_PATH, B as LocalE2eePairingRequestSchema, C as LocalE2eePrepareReplySchema, D as LocalE2eeActivateResponseSchema, E as LocalE2eeRecoveryFailureSchema, F as LocalE2eePairingFailureSchema, G as LOCAL_SESSION_CONTROL_PATH, H as LOCAL_PROJECT_CONTROL_PATH, J as LOCAL_CONTROL_HEADER, K as LOCAL_SESSION_CONTROL_STREAM_MEDIA_TYPE, M as getLocalLoroDataPlaneSocketPath, N as getLocalProbeSocketPath, O as getLocalControlSocketPath, P as getLocalDaemonRunFilePath, Q as getLocalDaemonLockFilePath, R as ensureLocalDaemonRunDir, S as writeLocalDaemonRunFile, T as getLocalIpcServerCredentials, U as matchesLocalIpcToken, V as LOCAL_IPC_TOKEN_HEADER, W as removeLocalDaemonRunFile, X as getLocalDaemonSocketPath, f as automationRegistrationSchema, g as automationResultSchema, a as automationCommandSchema, l as remoteAutomationOperationSchema, m as remoteAutomationProofSchema, k as remoteAutomationIntentSchema } from "./local-ipc-BTmrMizU.js";
26
26
  import http, { createServer } from "node:http";
27
27
  import { d as daemonLossObserver, c as createDaemonLossTasks, a as authorityStamp, w as withinAuthorityLimit, b as authorityTimeLeft } from "./authority-clock-CbOcllMG.js";
28
28
  import net__default, { isIP, Socket } from "node:net";
@@ -41,16 +41,16 @@ import fs__default, { promises, mkdirSync, existsSync as existsSync$1, readFileS
41
41
  import crypto__default, { randomUUID, randomBytes as randomBytes$1, createHash as createHash$1, timingSafeEqual as timingSafeEqual$1 } from "crypto";
42
42
  import { performance as performance$1 } from "perf_hooks";
43
43
  import { once, EventEmitter } from "node:events";
44
- import { g as MCP_HTTP_PREFERRED_PORT_ENV, M as MCP_HTTP_TOKEN_ENV, o as McpHttpHostHandshakeSchema, p as buildLodyMcpHttpHeaders, L as LODY_HELP_INSTRUCTIONS, t as turnNotificationAudience, r as resolveSessionMessageAuthor, f as canReadProcNetTcp, l as lookupLoopbackPeerUid, d as automationReadRequestSchema, a as automationEmptyReadParametersSchema, b as automationEventReadParametersSchema, e as automationReadResponseSchema } from "./lody-mcp-http-protocol-BxyQN8_r.js";
44
+ import { g as MCP_HTTP_PREFERRED_PORT_ENV, M as MCP_HTTP_TOKEN_ENV, o as McpHttpHostHandshakeSchema, p as buildLodyMcpHttpHeaders, L as LODY_HELP_INSTRUCTIONS, t as turnNotificationAudience, r as resolveSessionMessageAuthor, f as canReadProcNetTcp, l as lookupLoopbackPeerUid, d as automationReadRequestSchema, a as automationEmptyReadParametersSchema, b as automationEventReadParametersSchema, e as automationReadResponseSchema } from "./lody-mcp-http-protocol-CUvFyhIE.js";
45
45
  import { i as iconv } from "./chunks/vendor-iconv-lite-HWexUuLF.js";
46
- import { i as isNpxCommand, p as parseNpxPackageSpecFromArgs, g as getConfiguredNpxCacheRoot, a as inspectNpxInstallState, b as purgeBrokenNpxInstall, c as isLikelyNpmCacheCorruption, d as purgeBrokenNpxCache, e as purgeLodyNpmCache, f as isLikelyBrokenNpxInstall, r as resolveBuiltinAuthenticationProcessLaunch, h as resolveACPProcessLaunchAsync, m as mergeLoginShellEnv, w as withLoopbackNoProxy, j as withLodyNpmCacheForNpx, k as withDefaultAcpPathEntries, l as mergeACPProcessEnv, n as resolveACPProcessLaunch, G as GITHUB_CREDENTIAL_ENV_KEYS, o as ensureGhShimScript, q as prependGhShimBinDirToPath, s as getGhShimHostBinDir, t as toSingleQuotedShellString, u as writeIfChanged, v as clearGitHubTokenEnv, x as normalizeAgentProcessEnv, P as PI_EXTENSIONS_SUPPORTED, y as getManagedAgentRuntimeManager, z as getAcpCapabilitySourceVersion, A as getAcpBinaryManager, M as ManagedRuntimeUnsupportedPlatformError, B as formatManagedRuntimeFailureMessage, C as classifyManagedRuntimeFailureReason, D as AcpBinaryUnsupportedPlatformError, E as resolveExpectedAcpCapabilitySourceVersion, F as getHostMachineProtocolCapabilities, H as normalizeComparablePath, I as ManagedRuntimeError, J as clearManagedGhTokenEnv, L as LODY_MANAGED_GH_TOKEN_SHA256_ENV, K as configureManagedAgentRuntimeManager, N as configureManagedRuntimeUpdateCoordinator } from "./setting-CFDXd31y.js";
47
- import { resolveDeepSeekHarnessSpawn } from "./deepseek-harness-runtime-CbOnKwfr.js";
46
+ import { i as isNpxCommand, p as parseNpxPackageSpecFromArgs, g as getConfiguredNpxCacheRoot, a as inspectNpxInstallState, b as purgeBrokenNpxInstall, c as isLikelyNpmCacheCorruption, d as purgeBrokenNpxCache, e as purgeLodyNpmCache, f as isLikelyBrokenNpxInstall, r as resolveBuiltinAuthenticationProcessLaunch, h as resolveACPProcessLaunchAsync, m as mergeLoginShellEnv, w as withLoopbackNoProxy, j as withLodyNpmCacheForNpx, k as withDefaultAcpPathEntries, l as mergeACPProcessEnv, n as resolveACPProcessLaunch, G as GITHUB_CREDENTIAL_ENV_KEYS, o as ensureGhShimScript, q as prependGhShimBinDirToPath, s as getGhShimHostBinDir, t as toSingleQuotedShellString, u as writeIfChanged, v as clearGitHubTokenEnv, x as normalizeAgentProcessEnv, P as PI_EXTENSIONS_SUPPORTED, y as getManagedAgentRuntimeManager, z as getAcpCapabilitySourceVersion, A as getAcpBinaryManager, M as ManagedRuntimeUnsupportedPlatformError, B as formatManagedRuntimeFailureMessage, C as classifyManagedRuntimeFailureReason, D as AcpBinaryUnsupportedPlatformError, E as resolveExpectedAcpCapabilitySourceVersion, F as getHostMachineProtocolCapabilities, H as normalizeComparablePath, I as ManagedRuntimeError, J as clearManagedGhTokenEnv, L as LODY_MANAGED_GH_TOKEN_SHA256_ENV, K as configureManagedAgentRuntimeManager, N as configureManagedRuntimeUpdateCoordinator } from "./setting-BD8f3HVc.js";
47
+ import { resolveDeepSeekHarnessSpawn } from "./deepseek-harness-runtime-wUSGm92F.js";
48
48
  import { Readable, Transform } from "node:stream";
49
49
  import { pipeline } from "node:stream/promises";
50
50
  import { v as v4, a as validate } from "./chunks/vendor-uuid-ZvTlSCzA.js";
51
51
  import { g as githubCredentialRuntime } from "./github-credential-runtime-Vuv6HxRs.js";
52
52
  import { setTimeout as setTimeout$1 } from "node:timers/promises";
53
- import { J as buildSessionArchiveMetaPatch, K as verifyMachineAccessWithRetry, L as getSessionFileBlobPath, N as readLocalSessionImage, h as createSessionResult, j as sendSessionChatResult, O as storeLocalSessionImage, P as copyIntoSessionFileBlobStore, Q as readLocalSessionImageReceipt, R as sessionFileBlobExists, T as readSessionFileBlobBackfillReceipt, U as markSessionFileBlobBackfilled, V as getSessionFileBlobAgeMs, W as getDraftSessionFileBlobMaxAgeMs, X as removeSessionFileBlob, Y as writeSessionFileBlobBackfillMarker, Z as listLocalSessionImages, _ as listPendingLocalSessionFiles, $ as writeLocalSessionImageReceipt, a0 as waitForMcpCatalogBaseline, a1 as commitPreparedSessionDispatch, a2 as isPreparedSessionDispatched, a3 as materializePreparedSessionInput, a4 as resolveTurnDispatchDefaultsFromHistory, a5 as resolveAgentRoleCreateFromCatalog, a6 as applyAgentRoleCreateTarget, a7 as prepareSessionInput } from "./session-Cgko1oWb.js";
53
+ import { J as buildSessionArchiveMetaPatch, K as verifyMachineAccessWithRetry, L as getSessionFileBlobPath, N as readLocalSessionImage, h as createSessionResult, j as sendSessionChatResult, O as storeLocalSessionImage, P as copyIntoSessionFileBlobStore, Q as readLocalSessionImageReceipt, R as sessionFileBlobExists, T as readSessionFileBlobBackfillReceipt, U as markSessionFileBlobBackfilled, V as getSessionFileBlobAgeMs, W as getDraftSessionFileBlobMaxAgeMs, X as removeSessionFileBlob, Y as writeSessionFileBlobBackfillMarker, Z as listLocalSessionImages, _ as listPendingLocalSessionFiles, $ as writeLocalSessionImageReceipt, a0 as waitForMcpCatalogBaseline, a1 as commitPreparedSessionDispatch, a2 as isPreparedSessionDispatched, a3 as materializePreparedSessionInput, a4 as resolveTurnDispatchDefaultsFromHistory, a5 as resolveAgentRoleCreateFromCatalog, a6 as applyAgentRoleCreateTarget, a7 as prepareSessionInput } from "./session-BpPyoIzy.js";
54
54
  import { e as extract } from "./chunks/vendor-tar-BULehfr0.js";
55
55
  import "./chunks/vendor-minipass-Demp-FcY.js";
56
56
  import { C as CloudflaredError } from "./cloudflared-native-DFHZEFsj.js";
@@ -73,7 +73,7 @@ import { I as Identity, d as decodeBatch, t as toApplicationJson, f as fromAppli
73
73
  import { E as EventEmitter$1 } from "./chunks/vendor-eventemitter3-BTaPclo1.js";
74
74
  import { Transform as Transform$1 } from "stream";
75
75
  import { stripVTControlCharacters, promisify, isDeepStrictEqual } from "node:util";
76
- import { b as batchHistoryMembers, c as batchPreview, i as inboxScopeKey, I as InboxAdmissionRejected, d as inboxFailureDiagnostic, e as INBOX_INLINE_MEMBERS, f as OrchestrationDatabase, L as LodyOperationStore, g as getLodyOperationStorePath, a as LodyOperationStoreError, h as OrchestrationConnection } from "./operation-store-DuyTagUd.js";
76
+ import { b as batchHistoryMembers, c as batchPreview, i as inboxScopeKey, I as InboxAdmissionRejected, d as inboxFailureDiagnostic, e as INBOX_INLINE_MEMBERS, f as OrchestrationDatabase, L as LodyOperationStore, g as getLodyOperationStorePath, a as LodyOperationStoreError, h as OrchestrationConnection } from "./operation-store-Bf0Nji4b.js";
77
77
  import { m as mapWithConcurrency } from "./bounded-concurrency-JZXr8Xjv.js";
78
78
  import { d as computeAllChanges, r as resolveProjectGitDirectory, f as resolveAllChangesDiffBase, g as summarizeAllChanges, h as computeProjectAllChangesSnapshot, l as listGitIgnoredPaths, k as gitDiffBaseRefCandidates, s as scanGitDirectoryEntries, c as createGitIgnoreScanFilter, a as relativeScanDirectory, e as closeDirectoryQuietly } from "./file-index-scan-core-DMr4DAMg.js";
79
79
  import { c as createTwoFilesPatch } from "./chunks/vendor-diff-CPHd5agL.js";
@@ -87,13 +87,13 @@ import "./chunks/vendor-loro-crdt-CcUjyH5H.js";
87
87
  import { AsyncEntry } from "@napi-rs/keyring";
88
88
  import { a as auth, d as discoverOAuthServerInfo, c as checkResourceAllowed, r as resourceUrlFromServerUrl, e as extractWWWAuthenticateParams, S as StreamableHTTPClientTransport, b as StdioClientTransport, C as Client } from "./chunks/vendor-@modelcontextprotocol-client-rfV8zMGo.js";
89
89
  import { createRequire } from "node:module";
90
- import { r as resolveScheduleAgentRunConfig, b as buildScheduleSessionCreateOptions, w as withScheduledMessageInput, a as scheduleRequiredLocalProjectId, s as scheduleDestinationSessionId, d as destinationSessionProblem, c as buildScheduleRunTarget } from "./schedule-run-preparation-1yIixvnr.js";
90
+ import { r as resolveScheduleAgentRunConfig, b as buildScheduleSessionCreateOptions, w as withScheduledMessageInput, a as scheduleRequiredLocalProjectId, s as scheduleDestinationSessionId, d as destinationSessionProblem, c as buildScheduleRunTarget } from "./schedule-run-preparation-lIMncuHW.js";
91
91
  import { m as make$5, a as make$6 } from "./chunks/vendor-@opencode-codemode-CEUPFJ2B.js";
92
92
  import { p as parse } from "./chunks/vendor-acorn-FBr7vWTA.js";
93
93
  import v8 from "node:v8";
94
94
  import { d as LODY_SUPERVISOR_CONTRACT_ENV, h as LOCAL_CLI_SUPERVISOR_CONTRACT_VERSION, c as LODY_SUPERVISOR_TOKEN_ENV, L as LODY_SUPERVISOR_PID_ENV, b as LODY_SUPERVISOR_INSTANCE_ID_ENV, i as isLocalCliSupervisorShutdownMessage } from "./local-cli-supervisor-B9g3UlUg.js";
95
- import { a as acquireLocalCliHostLease } from "./local-cli-host-lease-IcXBuuBH.js";
96
- import { e as captureAgentServiceEvent, f as captureCliActiveUser, g as captureCliActivePing, A as ACTIVE_PING_MIN_INTERVAL_MS$1 } from "./analytics-events-DwHr2sU9.js";
95
+ import { a as acquireLocalCliHostLease } from "./local-cli-host-lease-DhWOyjIr.js";
96
+ import { e as captureAgentServiceEvent, f as captureCliActiveUser, g as captureCliActivePing, A as ACTIVE_PING_MIN_INTERVAL_MS$1 } from "./analytics-events-DrydOjZn.js";
97
97
  const LODY_EXTENSION_METHODS = {
98
98
  sessionPromptSuggestion: "_lody/session/prompt_suggestion",
99
99
  sessionUsageUpdate: "_lody/session/usage_update",
@@ -63311,9 +63311,9 @@ class MessageHandler {
63311
63311
  throw new Error("e2ee_feature_unavailable");
63312
63312
  if (!this.acpInteractionOwner) {
63313
63313
  this.acpInteractionOwner = Promise.all([
63314
- import("./acp-interaction-owner-BAHHxo0y.js"),
63315
- import("./index-CNl5-e7B.js"),
63316
- import("./presence-legacy-DbhaEoPO.js").then((n) => n.i_)
63314
+ import("./acp-interaction-owner-CxbD83X1.js"),
63315
+ import("./index-CHo5O4PZ.js"),
63316
+ import("./presence-legacy-DzBPpCi4.js").then((n) => n.i_)
63317
63317
  ]).then(
63318
63318
  ([{ createAcpInteractionOwner }, { createRpcSecretRecipient: createRpcSecretRecipient2, encryptRpcSecret: encryptRpcSecret2 }, shared]) => createAcpInteractionOwner({
63319
63319
  workspaceId: this.workspaceId,
@@ -63542,7 +63542,7 @@ class MessageHandler {
63542
63542
  throw new Error("Sorbet credentials configuration unavailable");
63543
63543
  if (!this.sorbetCredentials) throw new Error("Sorbet credentials unsupported");
63544
63544
  try {
63545
- const { SorbetCredentialsResultSchema, SorbetProvidersResultSchema } = await import("./presence-legacy-DbhaEoPO.js").then((n) => n.iZ);
63545
+ const { SorbetCredentialsResultSchema, SorbetProvidersResultSchema } = await import("./presence-legacy-DzBPpCi4.js").then((n) => n.iZ);
63546
63546
  if (request.method === "sorbet/credentials-list") {
63547
63547
  return SorbetCredentialsResultSchema.parse({
63548
63548
  type: "sorbet/credentials-list",
@@ -63588,7 +63588,7 @@ class MessageHandler {
63588
63588
  const { sessionId, name, arguments: args } = request.params;
63589
63589
  if (request.workspaceId !== this.workspaceId || request.machineId !== this.machineId || request.ownerSessionId !== sessionId)
63590
63590
  throw new Error("Session tool scope mismatch");
63591
- const { executeDaemonSessionTool } = await import("./daemon-session-tools-AkbnxsmC.js");
63591
+ const { executeDaemonSessionTool } = await import("./daemon-session-tools-CoB3UrAx.js");
63592
63592
  const sourceWorkdir = this.resolveSessionWorkspaceRoot(sessionId);
63593
63593
  if (!sourceWorkdir && args && typeof args === "object" && "attachments" in args)
63594
63594
  throw new Error("Requester Session workspace is unavailable");
@@ -65462,7 +65462,7 @@ class MessageHandler {
65462
65462
  "Stop all tasks on this daemon before restoring its identity."
65463
65463
  );
65464
65464
  }
65465
- const { prepareMachineIdentityRestore, cancelPreparedMachineIdentityRestore } = await import("./machine-identity-restore-CAW3DXJn.js");
65465
+ const { prepareMachineIdentityRestore, cancelPreparedMachineIdentityRestore } = await import("./machine-identity-restore-32Iih5qV.js");
65466
65466
  const prepared = await prepareMachineIdentityRestore({
65467
65467
  workspaceId: this.workspaceId,
65468
65468
  sourceMachineId: this.machineId,
@@ -75087,7 +75087,7 @@ const createNodeServicesForLease = async (sessionDoc, lease) => {
75087
75087
  if (!await dispatchIndex().checkpoint(cursor, 0))
75088
75088
  await rebuildDispatchIndex(dispatchIndex(), cursor);
75089
75089
  }
75090
- const { createRoostSessionData } = await import("./index-CV9l1cOb.js");
75090
+ const { createRoostSessionData } = await import("./index-Dq2yIn1t.js");
75091
75091
  syncModelSummary = async () => {
75092
75092
  const position = latestModelTurnId ? positionById.get(latestModelTurnId) : void 0;
75093
75093
  const cached2 = position === void 0 ? void 0 : entries[position];
@@ -76837,7 +76837,7 @@ class Lody {
76837
76837
  e2ee = options.encryptedWorkspace;
76838
76838
  e2ee.adopt(callbacks);
76839
76839
  } else {
76840
- const { openCliE2eeWorkspaceLegacy } = await import("./workspace-legacy-CKXn-NL8.js").then((n) => n.b_);
76840
+ const { openCliE2eeWorkspaceLegacy } = await import("./workspace-legacy-DLflcsJY.js").then((n) => n.b_);
76841
76841
  e2ee = await openCliE2eeWorkspaceLegacy({
76842
76842
  machineId: options.machineId,
76843
76843
  accountId: options.userId,
@@ -76856,7 +76856,7 @@ class Lody {
76856
76856
  if (!options.genesisHash) throw new Error("e2ee_workspace_unavailable");
76857
76857
  const { join: join2 } = await import("node:path");
76858
76858
  const { Effect } = await import("./chunks/vendor-effect-Bj6CkP8t.js").then((n) => n.eD);
76859
- const { makeEncryptedAgentExecution, lazyExecutionJournal } = await import("./agent-execution-zG5hM7Bv.js");
76859
+ const { makeEncryptedAgentExecution, lazyExecutionJournal } = await import("./agent-execution-BY-bUbZS.js");
76860
76860
  encryptedExecution = makeEncryptedAgentExecution({
76861
76861
  genesis: options.genesisHash,
76862
76862
  workspaceId: options.workspaceId,
@@ -81119,7 +81119,7 @@ async function createScheduleWorkspace(args) {
81119
81119
  await resolveTarget(run2);
81120
81120
  },
81121
81121
  prepare: async (run2) => {
81122
- const { prepareSessionInput: prepareSessionInput2, resolveTurnDispatchConfig } = await import("./session-Cgko1oWb.js").then((n) => n.aa);
81122
+ const { prepareSessionInput: prepareSessionInput2, resolveTurnDispatchConfig } = await import("./session-BpPyoIzy.js").then((n) => n.aa);
81123
81123
  const target = await resolveTarget(run2);
81124
81124
  const agent = await resolveScheduleAgentRunConfig(
81125
81125
  manager,
@@ -84452,7 +84452,7 @@ class LodyFleet {
84452
84452
  dispatchE2eePairing: (message) => this.dispatchLocalE2eePairing(message),
84453
84453
  dispatchSchedule: async (message) => {
84454
84454
  const runtime = await this.resolveWorkspaceRuntime(message.workspaceId);
84455
- const { executeScheduleCommand } = await import("./schedule-command-service-Yx8TNQ0r.js");
84455
+ const { executeScheduleCommand } = await import("./schedule-command-service-BRfuH2Bs.js");
84456
84456
  try {
84457
84457
  const result2 = await executeScheduleCommand(
84458
84458
  {
@@ -85138,7 +85138,7 @@ class LodyFleet {
85138
85138
  const automation = this.runtimes.get(workspace.id)?.automations;
85139
85139
  if (!automation) throw new Error("AUTOMATION_OWNER_UNAVAILABLE");
85140
85140
  const result2 = await automation.remoteControl(input);
85141
- const { remoteAutomationResultSchema } = await import("./index-DQXpb1cE.js");
85141
+ const { remoteAutomationResultSchema } = await import("./index-BtbmikJR.js");
85142
85142
  return {
85143
85143
  type: "session/automation-control_response",
85144
85144
  sessionId: input.sessionId,
@@ -86112,7 +86112,7 @@ class LodyFleet {
86112
86112
  throw new Error("e2ee_account_unavailable");
86113
86113
  if (this.e2eeResets.has(workspace.id)) throw new Error("e2ee_identity_busy");
86114
86114
  const completion = (async () => {
86115
- const { resetCliE2eeIdentity, completedCliE2eeIdentityReset } = await import("./reset-identity-q47uXe5R.js");
86115
+ const { resetCliE2eeIdentity, completedCliE2eeIdentityReset } = await import("./reset-identity-DDs7Wna5.js");
86116
86116
  const previous = await runPromise(completedCliE2eeIdentityReset(message));
86117
86117
  if (previous)
86118
86118
  return { ok: true, resetId: message.resetId, archive: previous.archive };
@@ -86163,7 +86163,7 @@ class LodyFleet {
86163
86163
  activateAndPromoteCliE2eeWorkspaceLegacy,
86164
86164
  prepareCliE2eeMachineLegacy,
86165
86165
  validateCliE2eePairingIntentLegacy
86166
- } = await import("./workspace-legacy-CKXn-NL8.js").then((n) => n.b_);
86166
+ } = await import("./workspace-legacy-DLflcsJY.js").then((n) => n.b_);
86167
86167
  if (this.e2eeResets.has(message.workspaceId)) throw new Error("e2ee_identity_busy");
86168
86168
  if (message.type === "prepare") {
86169
86169
  const material = await prepareCliE2eeMachineLegacy({ ...message, cloud: e2eeCloud });
@@ -87579,7 +87579,7 @@ const startCommand = new Command("start").description("Start agent service in na
87579
87579
  const supervisorIdentity = identityResolution.status === "supervised" ? identityResolution.identity : null;
87580
87580
  if (managedCandidate) pauseMachineTurnsIfIdle();
87581
87581
  if (supervisorIdentity?.launchMode === "daemon" && getCliPlatformKind() === "cloud") {
87582
- const { applyPendingMachineIdentityRestore, machineIdentityRestoreStartupExitCode } = await import("./machine-identity-restore-CAW3DXJn.js");
87582
+ const { applyPendingMachineIdentityRestore, machineIdentityRestoreStartupExitCode } = await import("./machine-identity-restore-32Iih5qV.js");
87583
87583
  try {
87584
87584
  await applyPendingMachineIdentityRestore({ readOnly: managedCandidate });
87585
87585
  } catch (error) {
@@ -87769,7 +87769,7 @@ const startCommand = new Command("start").description("Start agent service in na
87769
87769
  process.exit(1);
87770
87770
  }
87771
87771
  if (options.pairedWorkspace) {
87772
- const { loadCliE2eeMachineBootstrapLegacy } = await import("./workspace-legacy-CKXn-NL8.js").then((n) => n.b_);
87772
+ const { loadCliE2eeMachineBootstrapLegacy } = await import("./workspace-legacy-DLflcsJY.js").then((n) => n.b_);
87773
87773
  machineId = await getOrCreateStableMachineIdAsync();
87774
87774
  const paired = await loadCliE2eeMachineBootstrapLegacy(options.pairedWorkspace, machineId);
87775
87775
  token = "";
@@ -87947,9 +87947,9 @@ async function startAgentService(options, token, userId, machineName, machineId,
87947
87947
  if (!LODY_SERVER_URL) {
87948
87948
  throw new Error("Cloud platform startup requires LODY_SERVER_URL");
87949
87949
  }
87950
- const { loadCliE2eeMachineBootstrapLegacy } = await import("./workspace-legacy-CKXn-NL8.js").then((n) => n.b_);
87950
+ const { loadCliE2eeMachineBootstrapLegacy } = await import("./workspace-legacy-DLflcsJY.js").then((n) => n.b_);
87951
87951
  const paired = await loadCliE2eeMachineBootstrapLegacy(options.pairedWorkspace, machineId);
87952
- const { createCloudE2eeMachinePort } = await import("./command-runtime-VfwbPymA.js").then((n) => n.dB);
87952
+ const { createCloudE2eeMachinePort } = await import("./command-runtime-BHI2jLQX.js").then((n) => n.dB);
87953
87953
  cloudPort = createCloudE2eeMachinePort({
87954
87954
  accountId: userId,
87955
87955
  workspaceId: paired.bootstrap.workspaceId,
@@ -88266,4 +88266,4 @@ export {
88266
88266
  SESSION_HISTORY_PRECONDITION_CODES as S,
88267
88267
  start as s
88268
88268
  };
88269
- //# sourceMappingURL=start-CYmK269V.js.map
88269
+ //# sourceMappingURL=start-sJETn-M0.js.map
@@ -1,7 +1,7 @@
1
1
  import { C as Command } from "./chunks/vendor-commander-B86VeeRa.js";
2
- import { M as getScheduleRegistryFlockDocId, N as getScheduleRoomId, O as isMachineDocRoomId, P as getMachineFlockDocId } from "./presence-legacy-DbhaEoPO.js";
3
- import { l as listWorkspaceScheduleIds } from "./schedule-documents-CFu6_d1R.js";
4
- import { N as runOneShotCommand, P as resolveStructuredOutputMode, Q as getAuthContextOrThrow, T as listWorkspacesForToken, U as resolveWorkspaceOrThrow, O as printJson, V as withWorkspaceManager, W as listAliveRoomIds, X as listAliveDocMetas } from "./command-runtime-VfwbPymA.js";
2
+ import { M as getScheduleRegistryFlockDocId, N as getScheduleRoomId, O as isMachineDocRoomId, P as getMachineFlockDocId } from "./presence-legacy-DzBPpCi4.js";
3
+ import { l as listWorkspaceScheduleIds } from "./schedule-documents-D9wdYQnL.js";
4
+ import { N as runOneShotCommand, P as resolveStructuredOutputMode, Q as getAuthContextOrThrow, T as listWorkspacesForToken, U as resolveWorkspaceOrThrow, O as printJson, V as withWorkspaceManager, W as listAliveRoomIds, X as listAliveDocMetas } from "./command-runtime-BHI2jLQX.js";
5
5
  import { m as mapWithConcurrency } from "./bounded-concurrency-JZXr8Xjv.js";
6
6
  import { f as formatErrorMessage } from "./process-options-D0e5JGor.js";
7
7
  import "node:events";
@@ -97,9 +97,9 @@ import "./chunks/vendor-supports-color-Ddvw3sLl.js";
97
97
  import "node:tty";
98
98
  import "./chunks/vendor-agent-base-Chp0lO_8.js";
99
99
  import "./chunks/vendor-proxy-from-env-agT35mrt.js";
100
- import "./local-ipc-Yr1wkOv5.js";
100
+ import "./local-ipc-BTmrMizU.js";
101
101
  import "node:string_decoder";
102
- import "./auth-Bqieti55.js";
102
+ import "./auth-D8DEJf0E.js";
103
103
  import "./chunks/vendor-chalk-MVIUzg44.js";
104
104
  import "./chunks/vendor-ora-VZtLV0pD.js";
105
105
  import "./chunks/vendor-cli-cursor-BxGMzrFe.js";
@@ -415,4 +415,4 @@ export {
415
415
  syncCommand,
416
416
  syncItems
417
417
  };
418
- //# sourceMappingURL=sync-BnVGqO29.js.map
418
+ //# sourceMappingURL=sync-B1UVGZhv.js.map
@@ -1,11 +1,11 @@
1
1
  import { randomUUID } from "node:crypto";
2
- import { q as makeLocalControlClientAuto } from "./local-ipc-Yr1wkOv5.js";
2
+ import { q as makeLocalControlClientAuto } from "./local-ipc-BTmrMizU.js";
3
3
  import { C as Command } from "./chunks/vendor-commander-B86VeeRa.js";
4
- import { N as runOneShotCommand, Q as getAuthContextOrThrow, T as listWorkspacesForToken, O as printJson } from "./command-runtime-VfwbPymA.js";
4
+ import { N as runOneShotCommand, Q as getAuthContextOrThrow, T as listWorkspacesForToken, O as printJson } from "./command-runtime-BHI2jLQX.js";
5
5
  import { r as renderTerminalTable } from "./terminal-table-DSTeeT1J.js";
6
6
  import { cT as runPromise } from "./chunks/vendor-effect-Bj6CkP8t.js";
7
7
  import "./chunks/vendor-zod-DsCtjbVN.js";
8
- import "./presence-legacy-DbhaEoPO.js";
8
+ import "./presence-legacy-DzBPpCi4.js";
9
9
  import "./ios-simulator-BBiwP-Y6.js";
10
10
  import "./code-collab-CSLtmZ_w.js";
11
11
  import "./chunks/vendor-immer-F2vkwr8n.js";
@@ -125,7 +125,7 @@ import "node:tty";
125
125
  import "./chunks/vendor-agent-base-Chp0lO_8.js";
126
126
  import "./chunks/vendor-proxy-from-env-agT35mrt.js";
127
127
  import "node:string_decoder";
128
- import "./auth-Bqieti55.js";
128
+ import "./auth-D8DEJf0E.js";
129
129
  import "./chunks/vendor-chalk-MVIUzg44.js";
130
130
  import "./chunks/vendor-ora-VZtLV0pD.js";
131
131
  import "./chunks/vendor-cli-cursor-BxGMzrFe.js";
@@ -245,4 +245,4 @@ export {
245
245
  sortWorkspaceSummaries,
246
246
  workspaceCommand
247
247
  };
248
- //# sourceMappingURL=workspace-xDS0AU9A.js.map
248
+ //# sourceMappingURL=workspace-BPkdngQ4.js.map