lody 0.111.2-next.0 → 0.111.2-next.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 (21) hide show
  1. package/dist/{acp-interaction-owner-DK2dXGPq.js → acp-interaction-owner-BOB7MjTp.js} +2 -2
  2. package/dist/{agent-execution-wyY_20dj.js → agent-execution-DPICba52.js} +3 -3
  3. package/dist/{authority-clock-YIVdHT4y.js → authority-clock-C_4KGNe9.js} +2 -2
  4. package/dist/{client-DKgCydR1.js → client-DFs0mXC8.js} +2 -2
  5. package/dist/{daemon-session-tools-PZV1PLfX.js → daemon-session-tools-D5fImuIw.js} +2 -2
  6. package/dist/{dsh-plugins-USLgdmAE.js → dsh-plugins-d6ddvhfN.js} +6 -6
  7. package/dist/{file-lock-yOQQBtqa.js → file-lock-xgtIgq-n.js} +3 -3
  8. package/dist/{index-C1O07bhK.js → index--dqdSE2V.js} +3 -3
  9. package/dist/{index-uSRAGBc-.js → index-BCzmvmty.js} +7 -7
  10. package/dist/{index-DsQYoKQ2.js → index-DsfFke9m.js} +6 -6
  11. package/dist/{index-RFliQGDD.js → index-DtCzEbTn.js} +3 -3
  12. package/dist/index.js +2 -2
  13. package/dist/{machine-identity-restore-BWpv7f9D.js → machine-identity-restore-ABcJZ0P_.js} +6 -6
  14. package/dist/{register-CufZlhT9.js → register-CJg9Eqac.js} +33 -33
  15. package/dist/{remote-pairing-CY6W6R8O.js → remote-pairing-6CByOSYv.js} +5 -5
  16. package/dist/{reset-identity-DZIX4A5a.js → reset-identity-Dy4gmEqR.js} +5 -5
  17. package/dist/{review-viewer-GakvZFYc.js → review-viewer-BKPytmIU.js} +2 -2
  18. package/dist/{schedule-command-client-CEcx8MjE.js → schedule-command-client-B9Ublc5-.js} +4 -4
  19. package/dist/{telemetry-_bjS2EY9.js → telemetry-BvcbNShC.js} +6 -6
  20. package/dist/{workspace-legacy-BXA2kfWm.js → workspace-legacy-CE0748tV.js} +11 -11
  21. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { createHash } from "node:crypto";
2
- import { aW as e2eeAcpInteractionInputContext, aX as e2eeAcpInteractionResponseContext } from "./telemetry-_bjS2EY9.js";
2
+ import { aW as e2eeAcpInteractionInputContext, aX as e2eeAcpInteractionResponseContext } from "./telemetry-BvcbNShC.js";
3
3
  import "./chunks/vendor-effect-ygutZ0OR.js";
4
4
  import "./chunks/vendor-commander-B86VeeRa.js";
5
5
  import "node:events";
@@ -503,4 +503,4 @@ function createAcpInteractionOwner(options) {
503
503
  export {
504
504
  createAcpInteractionOwner
505
505
  };
506
- //# sourceMappingURL=acp-interaction-owner-DK2dXGPq.js.map
506
+ //# sourceMappingURL=acp-interaction-owner-BOB7MjTp.js.map
@@ -1,6 +1,6 @@
1
1
  import { existsSync } from "node:fs";
2
2
  import { RealtimeJournal, RealtimeJournalError } from "./realtime-journal-3xRwHQnE.js";
3
- import { D as DERIVED_START_GRACE_MS, M as MAX_DERIVED_TURNS_PER_ORIGIN } from "./authority-clock-YIVdHT4y.js";
3
+ import { D as DERIVED_START_GRACE_MS, M as MAX_DERIVED_TURNS_PER_ORIGIN } from "./authority-clock-C_4KGNe9.js";
4
4
  import { f as fnUntraced, b as fail, H as currentTimeMillis, w as try_, a2 as map, a1 as succeed } from "./chunks/vendor-effect-ygutZ0OR.js";
5
5
  import { o as object, f as array, c as string, j as unknown, u as union, z as tuple, a as literal } from "./chunks/vendor-zod-CBWGVFD-.js";
6
6
  import "node:crypto";
@@ -71,7 +71,7 @@ import "./chunks/vendor-object-hash-HzXrbOJn.js";
71
71
  import "./chunks/vendor-file-stream-rotator-CxV9o5zx.js";
72
72
  import "./chunks/vendor-moment-CvzSeL6T.js";
73
73
  import "node:util";
74
- import "./telemetry-_bjS2EY9.js";
74
+ import "./telemetry-BvcbNShC.js";
75
75
  import "./chunks/vendor-commander-B86VeeRa.js";
76
76
  import "node:process";
77
77
  import "./chunks/vendor-@loro-dev-streams-client-DzUskix-.js";
@@ -436,4 +436,4 @@ export {
436
436
  lazyExecutionJournal,
437
437
  makeEncryptedAgentExecution
438
438
  };
439
- //# sourceMappingURL=agent-execution-wyY_20dj.js.map
439
+ //# sourceMappingURL=agent-execution-DPICba52.js.map
@@ -3,7 +3,7 @@ import path__default from "node:path";
3
3
  import { randomUUID, createHash } from "node:crypto";
4
4
  import { gunzipSync } from "node:zlib";
5
5
  import { g as getLodyDataDir } from "./process-options-CHoYaJLg.js";
6
- import { d4 as ManagedDaemonUpgradeOptionsSchema, d5 as DaemonReleaseSchema, d6 as resolveRuntimeArtifactsBaseUrl } from "./telemetry-_bjS2EY9.js";
6
+ import { d4 as ManagedDaemonUpgradeOptionsSchema, d5 as DaemonReleaseSchema, d6 as resolveRuntimeArtifactsBaseUrl } from "./telemetry-BvcbNShC.js";
7
7
  import { o as object, c as string, a as literal, n as number, g as _enum } from "./chunks/vendor-zod-CBWGVFD-.js";
8
8
  const digest = (bytes) => createHash("sha256").update(bytes).digest("hex");
9
9
  const hash = string().regex(/^[a-f0-9]{64}$/);
@@ -477,4 +477,4 @@ export {
477
477
  saveManagedOperation as s,
478
478
  withinAuthorityLimit as w
479
479
  };
480
- //# sourceMappingURL=authority-clock-YIVdHT4y.js.map
480
+ //# sourceMappingURL=authority-clock-C_4KGNe9.js.map
@@ -1,4 +1,4 @@
1
- import { aN as makeLocalControlClientAuto, aO as classifyLocalDaemonIpcError, aP as LODY_AUTH_URL, aQ as getAuthContextOrThrow, aR as resolveWorkspaceOrThrow, aS as makeLocalWorkspaceCatalog } from "./telemetry-_bjS2EY9.js";
1
+ import { aN as makeLocalControlClientAuto, aO as classifyLocalDaemonIpcError, aP as LODY_AUTH_URL, aQ as getAuthContextOrThrow, aR as resolveWorkspaceOrThrow, aS as makeLocalWorkspaceCatalog } from "./telemetry-BvcbNShC.js";
2
2
  import { cz as runPromise, cf as result } from "./chunks/vendor-effect-ygutZ0OR.js";
3
3
  import "./chunks/vendor-commander-B86VeeRa.js";
4
4
  import "node:events";
@@ -206,4 +206,4 @@ export {
206
206
  sendAutomationCommand,
207
207
  sendDaemonAutomationCommand
208
208
  };
209
- //# sourceMappingURL=client-DKgCydR1.js.map
209
+ //# sourceMappingURL=client-DFs0mXC8.js.map
@@ -1,4 +1,4 @@
1
- import { aY as getDaemonWorkspace, aZ as getSessionCommandEnvironment, a_ as getSessionRoomId, a$ as isLoroRepoDocDeleted, b0 as runWithMcpSessionContext, b1 as SessionToolResultSchema, b2 as buildSessionToolServer } from "./telemetry-_bjS2EY9.js";
1
+ import { aY as getDaemonWorkspace, aZ as getSessionCommandEnvironment, a_ as getSessionRoomId, a$ as isLoroRepoDocDeleted, b0 as runWithMcpSessionContext, b1 as SessionToolResultSchema, b2 as buildSessionToolServer } from "./telemetry-BvcbNShC.js";
2
2
  import "./chunks/vendor-effect-ygutZ0OR.js";
3
3
  import "./chunks/vendor-commander-B86VeeRa.js";
4
4
  import "node:events";
@@ -193,4 +193,4 @@ async function executeDaemonSessionTool(context, name, args) {
193
193
  export {
194
194
  executeDaemonSessionTool
195
195
  };
196
- //# sourceMappingURL=daemon-session-tools-PZV1PLfX.js.map
196
+ //# sourceMappingURL=daemon-session-tools-D5fImuIw.js.map
@@ -1,6 +1,6 @@
1
1
  import { join } from "node:path";
2
- import { p as prepareDeepSeekNodeEnvironment, r as resolveDeepSeekHarnessSpawn, d as dshProfileLockName } from "./register-CufZlhT9.js";
3
- import { w as withFileLock } from "./telemetry-_bjS2EY9.js";
2
+ import { p as prepareDeepSeekNodeEnvironment, r as resolveDeepSeekHarnessSpawn, d as dshProfileLockName } from "./register-CJg9Eqac.js";
3
+ import { w as withFileLock } from "./telemetry-BvcbNShC.js";
4
4
  import { f as fnUntraced, h as gen, bV as ChildProcessSpawner, bX as make, cu as scoped } from "./chunks/vendor-effect-ygutZ0OR.js";
5
5
  import "./chunks/vendor-zod-CBWGVFD-.js";
6
6
  import "./process-options-CHoYaJLg.js";
@@ -75,7 +75,7 @@ import "node:process";
75
75
  import "./chunks/vendor-chalk-MVIUzg44.js";
76
76
  import "node:tty";
77
77
  import "./code-collab-COUEig0Z.js";
78
- import "./authority-clock-YIVdHT4y.js";
78
+ import "./authority-clock-C_4KGNe9.js";
79
79
  import "./workspace-watch-protocol-CKvroybp.js";
80
80
  import "node:http";
81
81
  import "fs/promises";
@@ -177,7 +177,7 @@ import "./chunks/vendor-pkce-challenge-Cq0elRmW.js";
177
177
  import "./chunks/vendor-eventsource-parser-CGZtgUzy.js";
178
178
  import "./chunks/vendor-@modelcontextprotocol-core-C9sSLfHz.js";
179
179
  import "node:module";
180
- import "./schedule-command-client-CEcx8MjE.js";
180
+ import "./schedule-command-client-B9Ublc5-.js";
181
181
  import "./chunks/vendor-@opencode-codemode-B9CuiPYU.js";
182
182
  import "./chunks/vendor-acorn-FBr7vWTA.js";
183
183
  import "node:v8";
@@ -215,7 +215,7 @@ import "./chunks/vendor-@inquirer-confirm-D7lwNwaw.js";
215
215
  import "./chunks/vendor-@inquirer-number-DhrV0vfi.js";
216
216
  import "./chunks/vendor-@inquirer-select-jTTdJraN.js";
217
217
  import "./chunks/vendor-@inquirer-input-BB6hkJwe.js";
218
- import "./client-DKgCydR1.js";
218
+ import "./client-DFs0mXC8.js";
219
219
  import "./chunks/vendor-@loro-dev-streams-client-DzUskix-.js";
220
220
  import "./chunks/vendor-convex-wRAQitRr.js";
221
221
  import "module";
@@ -309,4 +309,4 @@ const runDshPlugin = fnUntraced(function* (launch, cwd, hostEnv = process.env) {
309
309
  export {
310
310
  runDshPlugin
311
311
  };
312
- //# sourceMappingURL=dsh-plugins-USLgdmAE.js.map
312
+ //# sourceMappingURL=dsh-plugins-d6ddvhfN.js.map
@@ -1,5 +1,5 @@
1
- import { f as fileLocksLegacy } from "./telemetry-_bjS2EY9.js";
2
- import { F, a, w } from "./telemetry-_bjS2EY9.js";
1
+ import { f as fileLocksLegacy } from "./telemetry-BvcbNShC.js";
2
+ import { F, a, w } from "./telemetry-BvcbNShC.js";
3
3
  import "./chunks/vendor-effect-ygutZ0OR.js";
4
4
  import "./chunks/vendor-commander-B86VeeRa.js";
5
5
  import "node:events";
@@ -172,4 +172,4 @@ export {
172
172
  fileLocksLegacy,
173
173
  w as withFileLock
174
174
  };
175
- //# sourceMappingURL=file-lock-yOQQBtqa.js.map
175
+ //# sourceMappingURL=file-lock-xgtIgq-n.js.map
@@ -1,5 +1,5 @@
1
- import { M as createRoostSessionData } from "./telemetry-_bjS2EY9.js";
2
- import { N, O, P, Q, R, S, T, U, V, W, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM } from "./telemetry-_bjS2EY9.js";
1
+ import { M as createRoostSessionData } from "./telemetry-BvcbNShC.js";
2
+ import { N, O, P, Q, R, S, T, U, V, W, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM } from "./telemetry-BvcbNShC.js";
3
3
  import "./chunks/vendor-effect-ygutZ0OR.js";
4
4
  import "./chunks/vendor-commander-B86VeeRa.js";
5
5
  import "node:events";
@@ -233,4 +233,4 @@ export {
233
233
  aL as storedBaselineHashes,
234
234
  aM as summarizeHistoryQuery
235
235
  };
236
- //# sourceMappingURL=index-C1O07bhK.js.map
236
+ //# sourceMappingURL=index--dqdSE2V.js.map
@@ -1,6 +1,6 @@
1
- import { b4 as isE2eeReadQuery, b5 as isOwnerScopedEncryptedRpcMethod, b6 as decryptCodeCollabV2RpcPayload, b7 as LocalMachineRpcRequestSchema, b8 as LocalMachineRpcResponseSchema, b9 as encryptCodeCollabV2RpcPayload } from "./telemetry-_bjS2EY9.js";
2
- import { ba, bb, bc, bd, be, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv, bw, bx, by, bz, bA, bB, bC, bD, bE, bF, bG, bH, bI, bJ, bK, bL, bM, bN, bO, bP, bQ, bR, bS, bT, bU, bV, bW, bX, bY, bZ, b_, b$, c0, c1, c2, c3, c4, c5, c6, c7, c8, c9, ca, cb, cc, cd, ce, cf, cg, ch, ci, cj, ck, cl, cm, cn, co, cp, cq, cr, cs, ct, cu, cv, cw, cx, cy, cz, cA, cB, cC, cD } from "./telemetry-_bjS2EY9.js";
3
- import { L, S } from "./register-CufZlhT9.js";
1
+ import { b4 as isE2eeReadQuery, b5 as isOwnerScopedEncryptedRpcMethod, b6 as decryptCodeCollabV2RpcPayload, b7 as LocalMachineRpcRequestSchema, b8 as LocalMachineRpcResponseSchema, b9 as encryptCodeCollabV2RpcPayload } from "./telemetry-BvcbNShC.js";
2
+ import { ba, bb, bc, bd, be, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv, bw, bx, by, bz, bA, bB, bC, bD, bE, bF, bG, bH, bI, bJ, bK, bL, bM, bN, bO, bP, bQ, bR, bS, bT, bU, bV, bW, bX, bY, bZ, b_, b$, c0, c1, c2, c3, c4, c5, c6, c7, c8, c9, ca, cb, cc, cd, ce, cf, cg, ch, ci, cj, ck, cl, cm, cn, co, cp, cq, cr, cs, ct, cu, cv, cw, cx, cy, cz, cA, cB, cC, cD } from "./telemetry-BvcbNShC.js";
3
+ import { L, S } from "./register-CJg9Eqac.js";
4
4
  import { C as CodeCollabV2RpcContentEnvelopeSchema } from "./code-collab-COUEig0Z.js";
5
5
  import "./chunks/vendor-effect-ygutZ0OR.js";
6
6
  import "./chunks/vendor-commander-B86VeeRa.js";
@@ -167,7 +167,7 @@ import "./chunks/vendor-@hono-node-server-C5GxSa1x.js";
167
167
  import "http2";
168
168
  import "./chunks/vendor-posthog-node-Bf37-Nem.js";
169
169
  import "./chunks/vendor-@posthog-core-Cam3Z07F.js";
170
- import "./authority-clock-YIVdHT4y.js";
170
+ import "./authority-clock-C_4KGNe9.js";
171
171
  import "./workspace-watch-protocol-CKvroybp.js";
172
172
  import "./chunks/vendor-@agentclientprotocol-sdk-CPEUKdYX.js";
173
173
  import "./chunks/vendor-iconv-lite-HWexUuLF.js";
@@ -245,7 +245,7 @@ import "./chunks/vendor-@modelcontextprotocol-client-bw7HkPGf.js";
245
245
  import "./chunks/vendor-pkce-challenge-Cq0elRmW.js";
246
246
  import "./chunks/vendor-eventsource-parser-CGZtgUzy.js";
247
247
  import "node:module";
248
- import "./schedule-command-client-CEcx8MjE.js";
248
+ import "./schedule-command-client-B9Ublc5-.js";
249
249
  import "./chunks/vendor-@opencode-codemode-B9CuiPYU.js";
250
250
  import "./chunks/vendor-acorn-FBr7vWTA.js";
251
251
  import "node:v8";
@@ -276,7 +276,7 @@ import "./chunks/vendor-@inquirer-confirm-D7lwNwaw.js";
276
276
  import "./chunks/vendor-@inquirer-number-DhrV0vfi.js";
277
277
  import "./chunks/vendor-@inquirer-select-jTTdJraN.js";
278
278
  import "./chunks/vendor-@inquirer-input-BB6hkJwe.js";
279
- import "./client-DKgCydR1.js";
279
+ import "./client-DFs0mXC8.js";
280
280
  const DEFAULT_SSE_READ_FAILURE_LIMIT = 3;
281
281
  const DEFAULT_SSE_RESPONSE_TIMEOUT_LIMIT = 3;
282
282
  const DEFAULT_SSE_RETRY_COOLDOWN_MS = 5 * 6e4;
@@ -549,4 +549,4 @@ export {
549
549
  isOwnerScopedEncryptedRpcMethod,
550
550
  cD as normalizeLoroGatewayBaseUrl
551
551
  };
552
- //# sourceMappingURL=index-uSRAGBc-.js.map
552
+ //# sourceMappingURL=index-BCzmvmty.js.map
@@ -1,5 +1,5 @@
1
- import { v as verifyLedgerEffect, b as bytes, h as hashRecordBytes } from "./workspace-legacy-BXA2kfWm.js";
2
- import { C, E, a, H, L, c, P, d, e, f, g, i, R, V, j, k, l, m, n, o, p, q, r, s, t, u, w, x, y, z, A, B, D, F, G, I, J, K, M, N, O, Q, S, T, U, W, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, aZ, a_, a$, b0, b1, b2, b3, b4, b5, b6, b7, b8, b9, ba, bb, bc, bd, be, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv, bw, bx, by, bz, bA, bB, bC, bD, bE, bF, bG } from "./workspace-legacy-BXA2kfWm.js";
1
+ import { v as verifyLedgerEffect, b as bytes, h as hashRecordBytes } from "./workspace-legacy-CE0748tV.js";
2
+ import { C, E, a, H, L, c, P, d, e, f, g, i, R, V, j, k, l, m, n, o, p, q, r, s, t, u, w, x, y, z, A, B, D, F, G, I, J, K, M, N, O, Q, S, T, U, W, X, Y, Z, _, $, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, aZ, a_, a$, b0, b1, b2, b3, b4, b5, b6, b7, b8, b9, ba, bb, bc, bd, be, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, bq, br, bs, bt, bu, bv, bw, bx, by, bz, bA, bB, bC, bD, bE, bF, bG } from "./workspace-legacy-CE0748tV.js";
3
3
  import "./chunks/vendor-@noble-ed25519-Ds7aTPMa.js";
4
4
  import "./chunks/vendor-effect-ygutZ0OR.js";
5
5
  import "./chunks/vendor-@ipld-dag-cbor-BNII2wZN.js";
@@ -12,7 +12,7 @@ import "./chunks/vendor-@hpke-common-CfGjdxIH.js";
12
12
  import "./chunks/vendor-@hpke-core-D6eyxVS2.js";
13
13
  import "./chunks/vendor-@hpke-chacha20poly1305-CUhxL4CC.js";
14
14
  import "./chunks/vendor-@noble-ciphers-DL-K0bMl.js";
15
- import "./authority-clock-YIVdHT4y.js";
15
+ import "./authority-clock-C_4KGNe9.js";
16
16
  import "node:fs/promises";
17
17
  import "node:path";
18
18
  import "node:zlib";
@@ -80,7 +80,7 @@ import "./chunks/vendor-object-hash-HzXrbOJn.js";
80
80
  import "./chunks/vendor-file-stream-rotator-CxV9o5zx.js";
81
81
  import "./chunks/vendor-moment-CvzSeL6T.js";
82
82
  import "node:util";
83
- import "./telemetry-_bjS2EY9.js";
83
+ import "./telemetry-BvcbNShC.js";
84
84
  import "./chunks/vendor-commander-B86VeeRa.js";
85
85
  import "node:process";
86
86
  import "./chunks/vendor-zod-CBWGVFD-.js";
@@ -179,7 +179,7 @@ import "http2";
179
179
  import "./chunks/vendor-posthog-node-Bf37-Nem.js";
180
180
  import "./chunks/vendor-@posthog-core-Cam3Z07F.js";
181
181
  import "node:sqlite";
182
- import "./agent-execution-wyY_20dj.js";
182
+ import "./agent-execution-DPICba52.js";
183
183
  import "./realtime-journal-3xRwHQnE.js";
184
184
  import "node:module";
185
185
  export {
@@ -345,4 +345,4 @@ export {
345
345
  bF as verifySignature,
346
346
  bG as wipeRecoveryPackage
347
347
  };
348
- //# sourceMappingURL=index-DsQYoKQ2.js.map
348
+ //# sourceMappingURL=index-DsfFke9m.js.map
@@ -1,5 +1,5 @@
1
- import { r as remoteAutomationResultSchema } from "./telemetry-_bjS2EY9.js";
2
- import { A, b, c, d, e, g, h, i, j, k, l, m, n, o, p, q, s, t, u, v, x, y, z, B, C, D, E, G, H, I, J, K, L } from "./telemetry-_bjS2EY9.js";
1
+ import { r as remoteAutomationResultSchema } from "./telemetry-BvcbNShC.js";
2
+ import { A, b, c, d, e, g, h, i, j, k, l, m, n, o, p, q, s, t, u, v, x, y, z, B, C, D, E, G, H, I, J, K, L } from "./telemetry-BvcbNShC.js";
3
3
  import "./chunks/vendor-effect-ygutZ0OR.js";
4
4
  import "./chunks/vendor-commander-B86VeeRa.js";
5
5
  import "node:events";
@@ -202,4 +202,4 @@ export {
202
202
  K as remoteAutomationSecretEnvelopeSchema,
203
203
  L as remoteAutomationWaitSchema
204
204
  };
205
- //# sourceMappingURL=index-RFliQGDD.js.map
205
+ //# sourceMappingURL=index-DtCzEbTn.js.map
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { cE as isNodeApiVersionSupported, cF as REQUIRED_NODE_API_VERSION, cG as isNodeSecurityVersionSupported, cH as PresenceHost, cI as getServerTimeOffset, cJ as PresenceTransport, cK as toLodyPresenceStreamUrl, cL as createLoroStreamUrl, cM as LORO_STREAMS_BUCKET_ID, cN as getLoroStreamsPresenceBaseUrl, cO as getLoroMetaStreamId, cP as getCliHttpFetch, cQ as loadEnv, cR as installCliHttpGlobalDispatcher, cS as LoginShellCacheLive, cT as loginShellEnvLayer, cU as LoginShellCacheReporter, cV as makeApplicationRuntime, cW as WorkspacePresenceOwnersLive, cX as version, cY as internalCommand, cZ as registerProcessErrorHandlers, c_ as closeLoginShellApplicationLegacy, c$ as reportError, d0 as WorkspacePresenceLegacyFailure, d1 as recoverCliPresenceApplicationShutdown, d2 as bindLoginShellCacheLegacy, d3 as bindWorkspacePresenceApplicationLegacy } from "./telemetry-_bjS2EY9.js";
2
+ import { cE as isNodeApiVersionSupported, cF as REQUIRED_NODE_API_VERSION, cG as isNodeSecurityVersionSupported, cH as PresenceHost, cI as getServerTimeOffset, cJ as PresenceTransport, cK as toLodyPresenceStreamUrl, cL as createLoroStreamUrl, cM as LORO_STREAMS_BUCKET_ID, cN as getLoroStreamsPresenceBaseUrl, cO as getLoroMetaStreamId, cP as getCliHttpFetch, cQ as loadEnv, cR as installCliHttpGlobalDispatcher, cS as LoginShellCacheLive, cT as loginShellEnvLayer, cU as LoginShellCacheReporter, cV as makeApplicationRuntime, cW as WorkspacePresenceOwnersLive, cX as version, cY as internalCommand, cZ as registerProcessErrorHandlers, c_ as closeLoginShellApplicationLegacy, c$ as reportError, d0 as WorkspacePresenceLegacyFailure, d1 as recoverCliPresenceApplicationShutdown, d2 as bindLoginShellCacheLegacy, d3 as bindWorkspacePresenceApplicationLegacy } from "./telemetry-BvcbNShC.js";
3
3
  import { f as formatSafeLogFields, a as getLogger, c as configureManagedProcessObservation, b as getManagedWorkerLaunchContext, t as toShared } from "./process-options-CHoYaJLg.js";
4
4
  import { C as Command } from "./chunks/vendor-commander-B86VeeRa.js";
5
5
  import { m as makeEphemeralStream, E as EphemeralStoreAdaptor, b as EphemeralAuth, d as EphemeralDiagnostics, e as EphemeralReleaseFailure } from "./chunks/vendor-@loro-dev-streams-crdt-DHMQIzWN.js";
@@ -313,7 +313,7 @@ function applyDefaultDnsResultOrder(options = {}) {
313
313
  }
314
314
  }
315
315
  configureManagedProcessObservation(getManagedWorkerLaunchContext().protocol);
316
- const registerUserCommands = process.argv[2] === "__internal" ? void 0 : (await import("./register-CufZlhT9.js").then((n) => n.b)).registerCommands;
316
+ const registerUserCommands = process.argv[2] === "__internal" ? void 0 : (await import("./register-CJg9Eqac.js").then((n) => n.b)).registerCommands;
317
317
  const cliLogger = getLogger("cli");
318
318
  loadEnv();
319
319
  applyDefaultDnsResultOrder({ logger: getLogger("dns") });
@@ -2,8 +2,8 @@ import * as fs from "node:fs/promises";
2
2
  import { randomUUID } from "node:crypto";
3
3
  import * as path from "node:path";
4
4
  import { g as getLodyDataDir } from "./process-options-CHoYaJLg.js";
5
- import { aT as LODY_AUTH_SITE_URL, aP as LODY_AUTH_URL, aU as deriveConvexSiteUrl, aV as normalizeBaseUrl } from "./telemetry-_bjS2EY9.js";
6
- import { C as CLI_EXIT_CODE_RETRYABLE_STARTUP, a as CLI_EXIT_CODE_AUTH_FAILURE } from "./register-CufZlhT9.js";
5
+ import { aT as LODY_AUTH_SITE_URL, aP as LODY_AUTH_URL, aU as deriveConvexSiteUrl, aV as normalizeBaseUrl } from "./telemetry-BvcbNShC.js";
6
+ import { C as CLI_EXIT_CODE_RETRYABLE_STARTUP, a as CLI_EXIT_CODE_AUTH_FAILURE } from "./register-CJg9Eqac.js";
7
7
  import { o as object, c as string, a as literal } from "./chunks/vendor-zod-CBWGVFD-.js";
8
8
  import "./process-C4E1E8qi.js";
9
9
  import "node:child_process";
@@ -166,7 +166,7 @@ import "./chunks/vendor-@hono-node-server-C5GxSa1x.js";
166
166
  import "http2";
167
167
  import "./chunks/vendor-posthog-node-Bf37-Nem.js";
168
168
  import "./chunks/vendor-@posthog-core-Cam3Z07F.js";
169
- import "./authority-clock-YIVdHT4y.js";
169
+ import "./authority-clock-C_4KGNe9.js";
170
170
  import "./workspace-watch-protocol-CKvroybp.js";
171
171
  import "./chunks/vendor-@agentclientprotocol-sdk-CPEUKdYX.js";
172
172
  import "./chunks/vendor-iconv-lite-HWexUuLF.js";
@@ -244,7 +244,7 @@ import "./chunks/vendor-@modelcontextprotocol-client-bw7HkPGf.js";
244
244
  import "./chunks/vendor-pkce-challenge-Cq0elRmW.js";
245
245
  import "./chunks/vendor-eventsource-parser-CGZtgUzy.js";
246
246
  import "node:module";
247
- import "./schedule-command-client-CEcx8MjE.js";
247
+ import "./schedule-command-client-B9Ublc5-.js";
248
248
  import "./chunks/vendor-@opencode-codemode-B9CuiPYU.js";
249
249
  import "./chunks/vendor-acorn-FBr7vWTA.js";
250
250
  import "node:v8";
@@ -275,7 +275,7 @@ import "./chunks/vendor-@inquirer-confirm-D7lwNwaw.js";
275
275
  import "./chunks/vendor-@inquirer-number-DhrV0vfi.js";
276
276
  import "./chunks/vendor-@inquirer-select-jTTdJraN.js";
277
277
  import "./chunks/vendor-@inquirer-input-BB6hkJwe.js";
278
- import "./client-DKgCydR1.js";
278
+ import "./client-DFs0mXC8.js";
279
279
  class MachineIdentityRestoreError extends Error {
280
280
  constructor(message, retryable, options) {
281
281
  super(`${message} The restore intent and original backup were retained.`, options);
@@ -437,4 +437,4 @@ export {
437
437
  machineIdentityRestoreStartupExitCode,
438
438
  prepareMachineIdentityRestore
439
439
  };
440
- //# sourceMappingURL=machine-identity-restore-BWpv7f9D.js.map
440
+ //# sourceMappingURL=machine-identity-restore-ABcJZ0P_.js.map
@@ -1,4 +1,4 @@
1
- import { cy as getLoroMachineRpcRequestStreamId, bi as LORO_STREAMS_RPC_RETENTION_SECONDS, dT as LoroStreamsTokenAuthError, ca as LoroStreamsGatewayError, cf as LoroStreamsRpcRequestSchema, bj as LORO_STREAMS_RPC_VERSION, bh as LORO_STREAMS_RPC_ERROR_CODES, b7 as LocalMachineRpcRequestSchema, b4 as isE2eeReadQuery, b5 as isOwnerScopedEncryptedRpcMethod, b9 as encryptCodeCollabV2RpcPayload, b8 as LocalMachineRpcResponseSchema, b6 as decryptCodeCollabV2RpcPayload, ch as LoroStreamsRpcResponseSchema, cd as LoroStreamsRpcHandlerError, cu as encryptRpcSecret, cv as getAndroidEmulatorViewerSecretContext, dU as AndroidEmulatorRemoteResponseSchema, cx as getIosSimulatorViewerSecretContext, dV as FilePreviewV3RequestSchema, dW as filePreviewV3Error, dX as FileDownloadRequestSchema, ba as CodeCollabV2LspRpcParamsSchema, dY as CodeCollabReadBlobRequestSchema, dZ as CodeCollabOpenDiffManifestRequestSchema, cj as SessionHistoryWriteRpcPayloadSchema, ci as SessionHistoryReadRpcPayloadSchema, dE as normalizeSessionTurnInputConfig, cl as createRpcSecretRecipient, cC as getMachineAcpAuthorizationCodeSecretContext, cB as getMachineAcpAuthenticationInputSecretContext, bS as LoroSessionAutomationControlPayloadSchema, cw as getAutomationResponseSecretContext, K as remoteAutomationSecretEnvelopeSchema, d_ as FilePreviewV3ErrorCodeSchema, aT as LODY_AUTH_SITE_URL, aV as normalizeBaseUrl$1, aP as LODY_AUTH_URL, aU as deriveConvexSiteUrl, d4 as ManagedDaemonUpgradeOptionsSchema, d$ as FileLockCleanupFailed, e0 as LockReleaseFailed, e1 as LockOwnershipLost, e2 as LocalProjectControlRequestSchema, A as AUTOMATION_CONTROL_PATH, g as automationControlRequestSchema, e3 as LOCAL_E2EE_RESET_PATH, e4 as LocalE2eeResetRequestSchema, e5 as LocalE2eeResetResponseSchema, e6 as LOCAL_E2EE_PAIRING_PATH, e7 as LocalE2eePairingRequestSchema, e8 as LocalE2eePrepareReplySchema, e9 as LocalE2eeActivateResponseSchema, ea as LocalE2eeRecoveryFailureSchema, eb as LocalE2eePairingFailureSchema, ec as LOCAL_SCHEDULE_CONTROL_PATH, ed as ScheduleControlRequestSchema, ee as LOCAL_SESSION_CONTROL_PATH, ef as LOCAL_MACHINE_RPC_PATH, eg as LOCAL_PROJECT_CONTROL_PATH, eh as safeParseLocalSessionControlRequest, ei as LocalSessionControlResponseSchema, ej as safeParseLocalMachineRpcRequest, ek as safeParseLocalProjectControlRequest, el as LocalProjectControlResponseSchema, em as LOCAL_CONTROL_HEADER, en as LOCAL_SESSION_CONTROL_STREAM_MEDIA_TYPE, eo as getLocalProbeSocketPath, ep as getLocalControlSocketPath, eq as getLocalDaemonRunFilePath, er as getLocalDaemonLockFilePath, es as ensureLocalDaemonRunDir, da as getServerNow, et as writeLocalDaemonRunFile, eu as removeLocalDaemonRunFile, ev as getLocalLoroDataPlaneSocketPath, ew as createJsonLineSplitter, ex as LOCAL_LORO_DATA_PLANE_MAX_FRAME_BYTES, ey as LOCAL_LORO_DATA_PLANE_PROTOCOL_VERSION, ez as makeNodeLocalLoroWriterConnection, eA as LocalLoroDataPlaneClientMessageSchema, eB as localProjectsLegacy, eC as getLocalProjectNameFromRootPath, eD as applyProjectSkillsResultBudget, eE as isBinaryImagePath, eF as deriveRepoIdFromGitHubRepo, eG as getWorktreeHostPathFromDotlodyPath, eH as ALL_KNOWN_GLOBAL_SKILL_DIRS, eI as ALL_KNOWN_SYSTEM_SKILL_DIRS, eJ as buildProjectSkill, eK as LODY_SUBAGENT_EVENT_METHOD, eL as isLodySubagentEvent, eM as isLodyPromptSuggestion, eN as normalizePersistedRateLimit, eO as isAskUserQuestionPermissionRequest, eP as SorbetProviderIdSchema, eQ as SORBET_CREDENTIALS_MAX_COUNT, eR as SorbetCustomProviderProtocolSchema, eS as SORBET_CUSTOM_PROVIDER_MODELS_MAX_COUNT, eT as SorbetCredentialTypeSchema, cE as isNodeApiVersionSupported, cG as isNodeSecurityVersionSupported, eU as MCP_HTTP_PREFERRED_PORT_ENV, eV as MCP_HTTP_TOKEN_ENV, eW as McpHttpHostHandshakeSchema, eX as captureCli, eY as readAcpModelCapabilitiesMeta, eZ as deriveModelReasoningEffortsFromLegacyModelIds, e_ as parseSessionNotification, e$ as buildLodyMcpHttpHeaders, f0 as LODY_SERVER_URL, f1 as WorkspaceSyncUnavailableError, f2 as formatMcpResolutionProblem, f3 as parseAskUserQuestionElicitationRequest, f4 as buildAskUserQuestionElicitationResponse, f5 as parseDevinSubagentTaskMeta, f6 as getDevinSubagentContextId, f7 as hasOtherDevinSubagentMeta, f8 as sanitizeGoalObjective, f9 as trustsUntaggedAcpSessionTitle, fa as ACP_INIT_TIMEOUT_MS, fb as ACP_NEW_SESSION_TIMEOUT_MS, fc as startTraceSpan, fd as withSlowOperationWarning, fe as MODEL_THOUGHT_LEVEL_META_KEY, c$ as reportError, ff as normalizeMagpieGateway, fg as MAGPIE_TOKEN, fh as getRegistryAcpLaunchKind, cP as getCliHttpFetch, fi as resolveProxyUrl, fj as resolveCliHttpTransportConfig, fk as getManagedBuiltinRuntimeByRuntimeName, fl as CURRENT_MACHINE_PROTOCOL_CAPABILITIES, fm as MACHINE_PROTOCOL_CAPABILITIES, fn as PI_EXTENSIONS_PROTOCOL_VERSION, fo as githubCredentialRuntime, fp as DEEPSEEK_HARNESS_PERMISSION_PRESETS, fq as DEEPSEEK_HARNESS_DEFAULT_PERMISSION_PRESET, fr as DEEPSEEK_HARNESS_OFFICIAL_BASE_URL_PATTERN, fs as DEEPSEEK_HARNESS_OFFICIAL_BASE_URL, ft as getDeepSeekHarnessProviderHome, f as fileLocksLegacy, fu as isManagedBuiltinAgentType, fv as getManagedBuiltinRuntimeByAgentType, fw as isBuiltinAgentType, fx as REGISTRY_ACP_AGENTS, fy as getBuiltinRuntimeOverrideSourceVersionSuffix, fz as serializeCustomAcpLaunchSpec, fA as DEEPSEEK_HARNESS_BASE_URL_ENV, fB as ACP_NPX_STARTUP_MAX_ATTEMPTS, fC as ACP_COLD_NPX_INIT_TIMEOUT_MS, fD as assertManagedCodexProfileConfig, fE as CodexAuthProfileSchema, fF as normalizeCodexEndpoint, fG as getLoginShellEnvLegacy, fH as ACP_STARTUP_QUEUE_WAIT_TIMEOUT_MS, fI as isSensitiveAcpConfigOptionId, fJ as getLocalProjectHistoryProviderKey, fK as getExternalAcpHistoryImportKey, a_ as getSessionRoomId, a$ as isLoroRepoDocDeleted, fL as isActiveSessionStatus, dg as createSessionBackend, a3 as areStringArraysEqual, aL as storedBaselineHashes, ai as hashHistoryForStoredVersion, aa as decideHistoryConflictResolution, di as SYNC_CONFIRMATION_TIMEOUT_MS, fM as matchesHistoryProviderBinding, dl as getMachineRoomId, fN as withMachineCatalogWriteLock, fO as NEW_SESSION_HISTORY_BACKEND, fP as SessionStatusFactory, fQ as readMachineLocalProjects, fR as upsertMachineLocalProject, fS as getLocalProjectHistoryCatalogKey, fT as buildHistoryReplayImport, ah as hashHistoryEntryV2, P as HASH_VERSION, aj as hashText, fU as isSessionHistoryPendingForDispatch, aD as resolveImportHashVersion, aE as resolveImportedTurnHashes, dR as isSessionDocRoomId, fV as sanitizeLodyInternalInstructions, F as FileLocks, fW as squashFileLockFailure, fX as LockIoError, fY as LockReentrant, fZ as LockTimeout, f_ as redactUrlAuth, f$ as getLocalDaemonSocketPath, g0 as createUtf8StreamDecoder, g1 as TerminalClientMessageSchema, g2 as FILE_DOWNLOAD_MAX_BYTES, g3 as FILE_DOWNLOAD_CHUNK_BYTES, g4 as SessionLocalAttachmentSchema, g5 as buildManagedPreviewViewerUrl, g6 as setPreviewQueryParamInUrl, g7 as classifyBrowserHostname, g8 as removePreviewQueryParamFromSearch, g9 as VISUAL_ANNOTATION_INSPECTOR_BROWSER_SCRIPT, ga as PREVIEW_ACCESS_TOKEN_QUERY_PARAM, gb as sanitizePreviewProxyResponseHeaders, gc as applyPreviewEmbeddingHeaders, gd as DEFAULT_PREVIEW_RESOURCE_LIMITS, ge as PREVIEW_ACCESS_TOKEN_COOKIE, gf as DEFAULT_PREVIEW_IDLE_TIMEOUT_MS, gg as DevicePreviewControlRequestSchema, gh as simulatorRtcChunks, gi as SimulatorOfferSchema, gj as SimulatorIceServersSchema, dc as ScheduleRepository, dJ as scheduleDefinitionFingerprint, gk as hasPendingUserTurnActivation, gl as readSessionOperationTargets, gm as buildSessionArchiveMetaPatch, gn as buildGitHubCloneUrl, go as reconcileProjectMemberLink, gp as projectRunMetaPatch, gq as removeProjectMemberLinks, gr as MemoryProviderRequestSchema, gs as MemoryBindingSchema, Z as addSessionTurnTokenUsage, am as isEmptySessionTurnTokenUsage, cX as version$d, gt as isMissingEmail, gu as getCachedLoginShellEnvSyncLegacy, gv as supportsBuiltinProviderSetup, gw as hasBuiltinRuntimeOverrideValues, gx as hasEmptyModelSelectOption, dn as getMachineFlockDocId, gy as getMachineFlockProviderSetups, dq as readMachineFlockRowsFromFlock, gz as getMachineFlockProviderSetupCancellations, gA as applyProviderSetupCancellationToFlock, gB as getMachineFlockAgentConfigs, gC as machineFlockKeys, gD as writeMachineFlockRowToFlock, gE as deleteMachineFlockRowFromFlock, gF as encodeCodexProfileConfig, gG as findBuiltinAgentOptOutToRetract, gH as streamsRoomBinding, gI as isRecoverableStreamsRoomStatus, gJ as computeLoroReconnectDelayMs, gK as isLodySubagentOutput, gL as MessageContentSchema, gM as parseHistoryWrite, gN as ToolCallContentSchema, gO as HistoryWriteError, gP as captureMessage, gQ as deriveLocationsFromToolCallContent, gR as parseLodyTaskMeta, gS as buildMessageContentFromNotification, gT as truncateTerminalOutputForHistory, gU as hasBuiltinEnvAuthentication, gV as ACP_AUTH_ID_MAX_LENGTH, gW as ACP_AUTH_TEXT_MAX_LENGTH, gX as ACP_AUTHENTICATION_FORM_MAX_BYTES, gY as ACP_AUTHORIZATION_URL_MAX_LENGTH, gZ as ACP_AUTH_FORM_FIELD_MAX_COUNT, g_ as ACP_AUTH_LABEL_MAX_LENGTH, g$ as getLodyElicitationMeta, h0 as ACP_AUTH_SELECT_OPTION_MAX_COUNT, h1 as isAcpAuthenticationFormWithinByteLimit, h2 as parseLodyMessagePhase, h3 as computeTitleGenerationDefaults, h4 as DEFAULT_TITLE_GENERATION_PROMPT, h5 as LODY_PRESENCE_HEARTBEAT_MS, h6 as isErrorReportingEnabled, h7 as hashAnalyticsId, h8 as getWorktreeSetupScriptForShell, h9 as resolveWorktreeSetupShellForPlatform, ha as DEFAULT_WORKTREE_SETUP_TIMEOUT_MS, hb as DEFAULT_WORKTREE_CLEANUP_TIMEOUT_MS, hc as LODY_HELP_INSTRUCTIONS, hd as PiExtensionDiscoverySchema, he as resolveSessionHistoryStatus, hf as resolveSessionAcpTargetId, hg as isSessionCancelRequestMarker, hh as getSessionCancelRequestMarker, hi as historyItemsToInputBlocks, hj as normalizeSessionInputBlocks, hk as extractPromptPreviewFromInputBlocks, hl as isMissingHistoryUserTurn, hm as getPendingUserTurnActivationId, hn as getSessionLaunchConfigLegacyFields, ho as buildSessionLaunchConfig, hp as mergeSessionLaunchConfig, hq as getMachineFlockSessionLaunchConfig, hr as withTimeout$2, hs as ConcurrentQueue, ht as isSubscriptionQuotaEligible, hu as traceAsync, hv as getSteerOperationId, hw as resolveSessionExecutionInputBlocks, hx as createLocalProjectBranchSelector, hy as resolveWorkspaceLocalProjectRootPathWithRetry, hz as readLocalProjectRootResolveSyncTimeoutMs, hA as resolveProjectGitHubRepo, hB as isSessionCollaborationStopped, hC as batchHistoryMembers, ac as findProgressMessageId, hD as batchPreview, hE as createReplayPromptBuilder, hF as isReplayEntryExcluded, hG as resolveBaseBranchPreference, hH as resolveResumableAcpSessionId, hI as hasRecentResumeNotice, hJ as acpOwnsSessionTitleGeneration, hK as resolveSessionAuthoredText, hL as resolveProjectFileRoots, hM as resolveActiveAssistantTurnId, hN as decideAcpCapabilityRefreshCache, hO as usesAcpProtocolAuthentication, hP as subscribeSessionChanges, hQ as SESSION_DOC_PREFIX, hR as buildPendingUserHistoryEntry, hS as listAliveRoomIds, hT as mapWithConcurrency, hU as turnNotificationAudience, hV as verifyMachineAccessWithRetry, hW as buildMissingEmail, hX as buildSessionTurnInputConfig, hY as normalizeMcpServerIdSelection, hZ as sameDispatchEntry, h_ as AgentConfigCliTypeSchema, h$ as ProjectRefSchema, i0 as sessionForkFailure, i1 as LEGACY_SESSION_HISTORY_BACKEND, aA as readSessionHistoryMetadata, i2 as resolveSessionMcpSelection, i3 as resolveSessionConversationConfig, i4 as resolveSessionAcpRuntimeConfig, i5 as sessionEditAndResendFailure, aC as resolveEditableTail, i6 as isSessionGoalActive, ad as getOperationProgressTargetKey, i7 as readChatFailureNotice, i8 as describeChatFailure, i9 as makeLodyError, ae as getOperationProgressTurnId, ia as inboxScopeKey, ib as InboxAdmissionRejected, ic as inboxFailureDiagnostic, id as INBOX_INLINE_MEMBERS, ie as OrchestrationDatabase, ig as LodyOperationStore, ih as getLodyOperationStorePath, ii as LodyOperationStoreError, ij as isMemberAccessSnapshotFresh, ik as resolveSessionPullRequests, il as isAcpFastModeConfigId, im as ACP_REASONING_EFFORT_CONFIG_ID, io as isAcpPlanModeConfigOption, ip as isAcpThoughtLevelConfigOption, iq as ACP_PLAN_PERMISSION_MODE_ID, ir as readPullRequestLifecycle, is as resolveProjectFileTarget, it as readTimeoutEnv, iu as CODE_COLLAB_DIFF_BLOB_LIMITS, iv as FILE_PREVIEW_V3_LIMITS, iw as FILE_PREVIEW_PROTOCOL_VERSION, ix as getImageMimeTypeForPath, iy as sanitizeAttachmentFileName, iz as SESSION_FILE_MAX_SIZE_BYTES, iA as SESSION_FILE_PREVIEW_SNIFF_BYTES, iB as isTextPreviewable, iC as SESSION_IMAGE_MAX_SIZE_BYTES, iD as SESSION_IMAGE_ALLOWED_MIME_TYPES, iE as PreviewControlProofSchema, iF as PREVIEW_CREATE_RATE_LIMIT_MAX, iG as DEFAULT_PREVIEW_MAX_ACTIVE_TUNNELS_PER_MACHINE, iH as PREVIEW_CREATE_RATE_LIMIT_WINDOW_MS, iI as assertEncryptedImageReference, iJ as readEncryptedAttachment, iK as buildSessionImageApiUrl, iL as getSessionImageDownloadApiPath, iM as encryptedAttachmentPath, iN as getSessionFileDownloadApiPath, iO as listWorkspaceGitHubRepositoriesForCliToken, aS as makeLocalWorkspaceCatalog, iP as getCodeCollabFileIndexSignalFlockDocId, iQ as getCodeCollabFileIndexFlockDocId, ck as createLoroStreamsJsonStreamClient, cM as LORO_STREAMS_BUCKET_ID, iR as sessionHistoryWriteIntentDigest, iS as getProjectRefBranch, iT as readMessageAuthor, iU as resolveSessionMessageAuthor, iV as SessionAttachmentTransfer, iW as ATTACHMENTS_DIR_RELATIVE, iX as ensureAttachmentsGitExcluded, iY as buildAttachmentFileName$1, iZ as buildAttachmentPromptText, i_ as getSessionFileBlobPath, i$ as buildSessionFileApiUrl, j0 as buildUnavailableAttachmentPromptText, j1 as formatAgentSenderHeader, j2 as formatCommentReferenceForPrompt, j3 as formatVisualAnnotationReferenceForPrompt, j4 as readLocalSessionImage, j5 as resolveWorkspaceLocalProjectRootPath, aZ as getSessionCommandEnvironment, aR as resolveWorkspaceOrThrow, j6 as hasAgentRunConfigSelection, j7 as shouldBypassSessionQuota, j8 as createSessionResult, j9 as sendSessionChatResult, ja as getDeviceTimeZone, jb as SORBET_PROVIDERS_REMOTE_PROTOCOL_VERSION, jc as SORBET_CREDENTIALS_REMOTE_PROTOCOL_VERSION, jd as SORBET_PROVIDERS_PROTOCOL_VERSION, je as SORBET_CREDENTIALS_PROTOCOL_VERSION, jf as E2EE_ACP_INTERACTION_PROTOCOL_VERSION, jg as getSessionIdFromRoomId, jh as parseMachineFlockKey, ji as listAliveSessionMetas, jj as isSessionInLocalProjectRemovalScope, jk as resolveWorkspaceLocalProject, jl as shouldApplyMachineDeleteLocalProjectCommand, jm as getWorkspaceFlockDocId, jn as listWorkspaceProjects, jo as readWorkspaceFlockRowsFromFlock, jp as isLocalProjectReferenced, jq as removeMachineLocalProject, jr as truncateToolTitleForHistory, aM as summarizeHistoryQuery, js as deriveRepoIdFromGitHubRepo$1, jt as runWithDaemonWorkspace, ju as runWithSessionCommandEnvironment, jv as createLocalSessionCommandEnvironment, jw as SessionHistoryReadResponseSchema, jx as storeLocalSessionImage, jy as isContainedSession, jz as HistoryEntryWriteSchema, jA as PermissionOutcomeSchema, jB as SESSION_IMAGE_MAX_COUNT, d8 as inputBlocksToHistoryItems, jC as SESSION_FILE_MAX_COUNT, jD as copyIntoSessionFileBlobStore, jE as readHistoryEntry, jF as readLocalSessionImageReceipt, jG as sessionFileBlobExists, jH as readSessionFileBlobBackfillReceipt, jI as markSessionFileBlobBackfilled, jJ as getSessionFileBlobAgeMs, jK as getDraftSessionFileBlobMaxAgeMs, jL as removeSessionFileBlob, jM as writeSessionFileBlobBackfillMarker, jN as listLocalSessionImages, jO as listPendingLocalSessionFiles, jP as parseAskUserQuestionPermissionMeta, jQ as PERMISSION_REQUEST_TIMEOUT_MS, jR as getAskUserQuestionPermissionDisplayTitle, ay as readLatestUserId, jS as prepareCliStreamsGatewayBaseUrl, jT as resolveWorkspaceLocalProjectWithSyncOnMiss, jU as resolveNotificationPresentation, jV as notificationReplyPreview, jW as buildLiveActivityConversationItems, jX as countLiveActivityConversationStatuses, jY as countLiveActivityConversationCandidates, jZ as buildLodyConversationsLiveActivityId, j_ as writeLocalSessionImageReceipt, j$ as getMachineFlockDeleteLocalProjectEntries, k0 as LODY_CONVERSATIONS_LIVE_ACTIVITY_SCHEMA_VERSION, k1 as GitHubTokenFetchError, k2 as canReadProcNetTcp, k3 as McpLocalAuthenticationSchema, k4 as lookupLoopbackPeerUid, k5 as publicMcpServer, k6 as resolveSessionMcpServers, cV as makeApplicationRuntime, k7 as assertPublicMcpServer, k8 as getWorkspaceMcpCatalog, k9 as waitForMcpCatalogBaseline, X as SessionHistoryContentPatchSchema, V as SESSION_DIRECTORY_INPUT_CONFIG_KEYS, aw as projectRoostSegments, ka as isDispatchCandidate, kb as dispatchEntry, kc as selectDispatchHistory, ar as pickDirectoryInputConfig, al as historyQueryRow, as as pickDirectoryScalars, kd as resolveLatestSessionGoalFromHistory, ke as registerSessionBackendFactory, kf as createRoostSessionBackendFactory, kg as captureStoredHistory, av as planHistoryImport, ag as hashHistoryEntryForVersion, a6 as createImportCursor, at as planEditableTailReplacement, kh as matchesRollbackReceipt, U as ROOST_CLEAR_FIELDS_KEY, ki as prepareReplacement, kj as isSessionHistoryStatusAwaitingStart, ao as markTurnSeenBlocked, $ as applyMarkTurnSeen, a8 as createRoostDirectoryRow, kk as inheritHistoryStreamText, kl as latestSessionModel, au as planHistoryAction, ak as historyActionTarget, aH as selectHistoryActionRows, km as prepareStoredHistoryCopy, kn as targetLocalHistoryTargets, aG as selectAgentHistoryRows, ko as planAgentHistoryMutation, a5 as createAssistantTurn, a0 as applyOpenAssistantTurn, aI as selectTranscriptHistoryPositions, aJ as selectTurnOutput, kp as pkg, kq as workspaceSupports, kr as routeRemoteOwnedSessionHistory, ks as createCommandSessionHistoryFactory, kt as LoroDocumentManager, ds as getScheduleRoomId, ku as planPullRequestLifecycle, kv as collectViewedSessionIdsFromPresence, kw as TERMINAL_MAX_PER_SESSION, kx as LODY_MACHINE_MONITOR_WINDOWS_SAMPLE_MS, ky as LODY_MACHINE_MONITOR_MACOS_SAMPLE_MS, kz as LODY_MACHINE_MONITOR_UNIX_SAMPLE_MS, kA as quotaReservationIdentity, kB as evaluateSchedule, kC as scheduleRunKey, kD as scheduleRunIds, kE as manualScheduleRunKey, kF as SCHEDULE_RETRY_DELAYS_MS, dd as getScheduleRegistryFlockDocId, kG as scheduleRegistryKeys, dj as ScheduleRuntimeRowSchema, kH as canonicalScheduleJson, kI as commitPreparedSessionDispatch, kJ as isPreparedSessionDispatched, kK as materializePreparedSessionInput, kL as ScheduledMessageSchema, kM as notificationLabel, dh as readMergedAgentConfigById, dp as getMachineFlockLocalProjects, kN as OrchestrationConnection, u as automationRegistrationSchema, v as automationResultSchema, x as automationRuleDraftSchema, k as automationEventSchema, e as automationContinuationSchema, n as automationInvocationSchema, s as automationReadRequestSchema, i as automationEmptyReadParametersSchema, j as automationEventReadParametersSchema, t as automationReadResponseSchema, o as automationOriginSchema, kO as resolveTurnDispatchDefaultsFromHistory, kP as resolveAgentRoleCreateFromCatalog, kQ as applyAgentRoleCreateTarget, kR as prepareSessionInput, c as automationCommandSchema, H as remoteAutomationOperationSchema, I as remoteAutomationProofSchema, G as remoteAutomationIntentSchema, kS as startTimeSyncLegacy, kT as initCliAnalytics, kU as ensureImplicitLocalWorkspace, kV as localCatalogWorkspaceToWorkspaceListItem, kW as closeProcessLocalLoroWriterLegacy, kX as reconcileMachineLocalProjectRootPaths, kY as listMergedAgentConfigs, kZ as findWorkspacesBySelector, k_ as formatWorkspaceCandidate, dA as isCloudE2eeMemberRemoved, dB as isCloudE2eeDeviceRevoked, k$ as SUPPORTED_CLI_TYPES, l0 as CLI_STORAGE_WRITE_FAILED_ISSUE_CODE, l1 as formatLocalLogDate, l2 as pickDailyLogAppendName, l3 as formatDailyLogLine, l4 as registerProcessExitTrace, l5 as getCliPlatformKind, l6 as applyLocalPlatformEnv, l7 as AuthClient, l8 as captureAgentServiceEvent, l9 as getOrCreateStableMachineIdAsync, la as loadOrCreateLocalIdentity, lb as performLoginWithAuthCredential, lc as isMachinePairingCredential, ld as performLogin, le as flushTelemetry, lf as createLocalCloudPort, lg as createCloudCliPort, lh as captureCliActiveUser, li as captureCliActivePing, lj as ACTIVE_PING_MIN_INTERVAL_MS$1, lk as SITE_URL, c_ as closeLoginShellApplicationLegacy, ll as registerProcessCleanup, lm as unregisterProcessCleanup, ln as runOneShotCommand, lo as printJson, lp as ensureDaemonReachable, lq as DAEMON_NOT_RUNNING_MESSAGE, aN as makeLocalControlClientAuto, aQ as getAuthContextOrThrow, lr as openBrowser, ls as captureAuthEvent, lt as isRetryableTokenValidationFailure, lu as isTokenValidationUnavailable, lv as addDiscoveryOptions, lw as runDiscoveryList, lx as renderTerminalTable, db as ScheduleCommandSchema, ly as collectScheduleIds, lz as resolveStructuredOutputMode, lA as listWorkspacesForToken, dt as withWorkspaceManager, lB as listAliveDocMetas, lC as isMachineDocRoomId, lD as classifyMachinePresence, lE as ACP_CAPABILITY_ROW_FAMILIES, lF as getMachineFlockAcpCapabilities, lG as getMachineFlockRateLimits, lH as parseRateLimitEntryKey, lI as buildSessionLink, lJ as normalizeSessionLinksForExport, lK as api, lL as listWorkspaceCandidates, lM as syncWorkspaceMetaForRead, lN as syncDocForRead, lO as createSessionMirror, dz as ScheduleDefinitionSchema, lP as buildScheduleRegistryRow, lQ as WorkspaceStreamsConfigurationError, lR as requirePlaintextWorkspaceStreamsContent, lS as getLoroStreamIdForDocId, lT as streamsSnapshotCodec, lU as getLoroStreamsShardUrls, cO as getLoroMetaStreamId, cL as createLoroStreamUrl, lV as selectWorkspaceSummary, lW as createCloudStreamsTokenPort, lX as registerMachineAccessForCliToken, lY as createLoroStreamsTokenProviderLegacy, lZ as makeLocalProbeClientAuto, l_ as captureDaemonEvent, l$ as captureSupervisorEvent, m0 as isDaemonVersionDowngrade, m1 as submitAgentFeedback, m2 as discoveryListCommand, m3 as syncMcpCatalog, m4 as listWorkspaceMcpCatalog, m5 as normalizeCliValue, m6 as upsertWorkspaceMcpCatalogEntry, m7 as deleteWorkspaceMcpCatalogEntry, m8 as parseEnvAssignments, m9 as ENV_VAR_NAME_PATTERN, ma as OperationListQuerySchema, mb as runWithOperationStoreBusyRetry, mc as sessionCommand, md as agentConfigCommand, me as agentRoleCommand, cY as internalCommand } from "./telemetry-_bjS2EY9.js";
1
+ import { cy as getLoroMachineRpcRequestStreamId, bi as LORO_STREAMS_RPC_RETENTION_SECONDS, dT as LoroStreamsTokenAuthError, ca as LoroStreamsGatewayError, cf as LoroStreamsRpcRequestSchema, bj as LORO_STREAMS_RPC_VERSION, bh as LORO_STREAMS_RPC_ERROR_CODES, b7 as LocalMachineRpcRequestSchema, b4 as isE2eeReadQuery, b5 as isOwnerScopedEncryptedRpcMethod, b9 as encryptCodeCollabV2RpcPayload, b8 as LocalMachineRpcResponseSchema, b6 as decryptCodeCollabV2RpcPayload, ch as LoroStreamsRpcResponseSchema, cd as LoroStreamsRpcHandlerError, cu as encryptRpcSecret, cv as getAndroidEmulatorViewerSecretContext, dU as AndroidEmulatorRemoteResponseSchema, cx as getIosSimulatorViewerSecretContext, dV as FilePreviewV3RequestSchema, dW as filePreviewV3Error, dX as FileDownloadRequestSchema, ba as CodeCollabV2LspRpcParamsSchema, dY as CodeCollabReadBlobRequestSchema, dZ as CodeCollabOpenDiffManifestRequestSchema, cj as SessionHistoryWriteRpcPayloadSchema, ci as SessionHistoryReadRpcPayloadSchema, dE as normalizeSessionTurnInputConfig, cl as createRpcSecretRecipient, cC as getMachineAcpAuthorizationCodeSecretContext, cB as getMachineAcpAuthenticationInputSecretContext, bS as LoroSessionAutomationControlPayloadSchema, cw as getAutomationResponseSecretContext, K as remoteAutomationSecretEnvelopeSchema, d_ as FilePreviewV3ErrorCodeSchema, aT as LODY_AUTH_SITE_URL, aV as normalizeBaseUrl$1, aP as LODY_AUTH_URL, aU as deriveConvexSiteUrl, d4 as ManagedDaemonUpgradeOptionsSchema, d$ as FileLockCleanupFailed, e0 as LockReleaseFailed, e1 as LockOwnershipLost, e2 as LocalProjectControlRequestSchema, A as AUTOMATION_CONTROL_PATH, g as automationControlRequestSchema, e3 as LOCAL_E2EE_RESET_PATH, e4 as LocalE2eeResetRequestSchema, e5 as LocalE2eeResetResponseSchema, e6 as LOCAL_E2EE_PAIRING_PATH, e7 as LocalE2eePairingRequestSchema, e8 as LocalE2eePrepareReplySchema, e9 as LocalE2eeActivateResponseSchema, ea as LocalE2eeRecoveryFailureSchema, eb as LocalE2eePairingFailureSchema, ec as LOCAL_SCHEDULE_CONTROL_PATH, ed as ScheduleControlRequestSchema, ee as LOCAL_SESSION_CONTROL_PATH, ef as LOCAL_MACHINE_RPC_PATH, eg as LOCAL_PROJECT_CONTROL_PATH, eh as safeParseLocalSessionControlRequest, ei as LocalSessionControlResponseSchema, ej as safeParseLocalMachineRpcRequest, ek as safeParseLocalProjectControlRequest, el as LocalProjectControlResponseSchema, em as LOCAL_CONTROL_HEADER, en as LOCAL_SESSION_CONTROL_STREAM_MEDIA_TYPE, eo as getLocalProbeSocketPath, ep as getLocalControlSocketPath, eq as getLocalDaemonRunFilePath, er as getLocalDaemonLockFilePath, es as ensureLocalDaemonRunDir, da as getServerNow, et as writeLocalDaemonRunFile, eu as removeLocalDaemonRunFile, ev as getLocalLoroDataPlaneSocketPath, ew as createJsonLineSplitter, ex as LOCAL_LORO_DATA_PLANE_MAX_FRAME_BYTES, ey as LOCAL_LORO_DATA_PLANE_PROTOCOL_VERSION, ez as makeNodeLocalLoroWriterConnection, eA as LocalLoroDataPlaneClientMessageSchema, eB as localProjectsLegacy, eC as getLocalProjectNameFromRootPath, eD as applyProjectSkillsResultBudget, eE as isBinaryImagePath, eF as deriveRepoIdFromGitHubRepo, eG as getWorktreeHostPathFromDotlodyPath, eH as ALL_KNOWN_GLOBAL_SKILL_DIRS, eI as ALL_KNOWN_SYSTEM_SKILL_DIRS, eJ as buildProjectSkill, eK as LODY_SUBAGENT_EVENT_METHOD, eL as isLodySubagentEvent, eM as isLodyPromptSuggestion, eN as normalizePersistedRateLimit, eO as isAskUserQuestionPermissionRequest, eP as SorbetProviderIdSchema, eQ as SORBET_CREDENTIALS_MAX_COUNT, eR as SorbetCustomProviderProtocolSchema, eS as SORBET_CUSTOM_PROVIDER_MODELS_MAX_COUNT, eT as SorbetCredentialTypeSchema, cE as isNodeApiVersionSupported, cG as isNodeSecurityVersionSupported, eU as MCP_HTTP_PREFERRED_PORT_ENV, eV as MCP_HTTP_TOKEN_ENV, eW as McpHttpHostHandshakeSchema, eX as captureCli, eY as readAcpModelCapabilitiesMeta, eZ as deriveModelReasoningEffortsFromLegacyModelIds, e_ as parseSessionNotification, e$ as buildLodyMcpHttpHeaders, f0 as LODY_SERVER_URL, f1 as WorkspaceSyncUnavailableError, f2 as formatMcpResolutionProblem, f3 as parseAskUserQuestionElicitationRequest, f4 as buildAskUserQuestionElicitationResponse, f5 as parseDevinSubagentTaskMeta, f6 as getDevinSubagentContextId, f7 as hasOtherDevinSubagentMeta, f8 as sanitizeGoalObjective, f9 as trustsUntaggedAcpSessionTitle, fa as ACP_INIT_TIMEOUT_MS, fb as ACP_NEW_SESSION_TIMEOUT_MS, fc as startTraceSpan, fd as withSlowOperationWarning, fe as MODEL_THOUGHT_LEVEL_META_KEY, c$ as reportError, ff as normalizeMagpieGateway, fg as MAGPIE_TOKEN, fh as getRegistryAcpLaunchKind, cP as getCliHttpFetch, fi as resolveProxyUrl, fj as resolveCliHttpTransportConfig, fk as getManagedBuiltinRuntimeByRuntimeName, fl as CURRENT_MACHINE_PROTOCOL_CAPABILITIES, fm as MACHINE_PROTOCOL_CAPABILITIES, fn as PI_EXTENSIONS_PROTOCOL_VERSION, fo as githubCredentialRuntime, fp as DEEPSEEK_HARNESS_PERMISSION_PRESETS, fq as DEEPSEEK_HARNESS_DEFAULT_PERMISSION_PRESET, fr as DEEPSEEK_HARNESS_OFFICIAL_BASE_URL_PATTERN, fs as DEEPSEEK_HARNESS_OFFICIAL_BASE_URL, ft as getDeepSeekHarnessProviderHome, f as fileLocksLegacy, fu as isManagedBuiltinAgentType, fv as getManagedBuiltinRuntimeByAgentType, fw as isBuiltinAgentType, fx as REGISTRY_ACP_AGENTS, fy as getBuiltinRuntimeOverrideSourceVersionSuffix, fz as serializeCustomAcpLaunchSpec, fA as DEEPSEEK_HARNESS_BASE_URL_ENV, fB as ACP_NPX_STARTUP_MAX_ATTEMPTS, fC as ACP_COLD_NPX_INIT_TIMEOUT_MS, fD as assertManagedCodexProfileConfig, fE as CodexAuthProfileSchema, fF as normalizeCodexEndpoint, fG as getLoginShellEnvLegacy, fH as ACP_STARTUP_QUEUE_WAIT_TIMEOUT_MS, fI as isSensitiveAcpConfigOptionId, fJ as getLocalProjectHistoryProviderKey, fK as getExternalAcpHistoryImportKey, a_ as getSessionRoomId, a$ as isLoroRepoDocDeleted, fL as isActiveSessionStatus, dg as createSessionBackend, a3 as areStringArraysEqual, aL as storedBaselineHashes, ai as hashHistoryForStoredVersion, aa as decideHistoryConflictResolution, di as SYNC_CONFIRMATION_TIMEOUT_MS, fM as matchesHistoryProviderBinding, dl as getMachineRoomId, fN as withMachineCatalogWriteLock, fO as NEW_SESSION_HISTORY_BACKEND, fP as SessionStatusFactory, fQ as readMachineLocalProjects, fR as upsertMachineLocalProject, fS as getLocalProjectHistoryCatalogKey, fT as buildHistoryReplayImport, ah as hashHistoryEntryV2, P as HASH_VERSION, aj as hashText, fU as isSessionHistoryPendingForDispatch, aD as resolveImportHashVersion, aE as resolveImportedTurnHashes, dR as isSessionDocRoomId, fV as sanitizeLodyInternalInstructions, F as FileLocks, fW as squashFileLockFailure, fX as LockIoError, fY as LockReentrant, fZ as LockTimeout, f_ as redactUrlAuth, f$ as getLocalDaemonSocketPath, g0 as createUtf8StreamDecoder, g1 as TerminalClientMessageSchema, g2 as FILE_DOWNLOAD_MAX_BYTES, g3 as FILE_DOWNLOAD_CHUNK_BYTES, g4 as SessionLocalAttachmentSchema, g5 as buildManagedPreviewViewerUrl, g6 as setPreviewQueryParamInUrl, g7 as classifyBrowserHostname, g8 as removePreviewQueryParamFromSearch, g9 as VISUAL_ANNOTATION_INSPECTOR_BROWSER_SCRIPT, ga as PREVIEW_ACCESS_TOKEN_QUERY_PARAM, gb as sanitizePreviewProxyResponseHeaders, gc as applyPreviewEmbeddingHeaders, gd as DEFAULT_PREVIEW_RESOURCE_LIMITS, ge as PREVIEW_ACCESS_TOKEN_COOKIE, gf as DEFAULT_PREVIEW_IDLE_TIMEOUT_MS, gg as DevicePreviewControlRequestSchema, gh as simulatorRtcChunks, gi as SimulatorOfferSchema, gj as SimulatorIceServersSchema, dc as ScheduleRepository, dJ as scheduleDefinitionFingerprint, gk as hasPendingUserTurnActivation, gl as readSessionOperationTargets, gm as buildSessionArchiveMetaPatch, gn as buildGitHubCloneUrl, go as reconcileProjectMemberLink, gp as projectRunMetaPatch, gq as removeProjectMemberLinks, gr as MemoryProviderRequestSchema, gs as MemoryBindingSchema, Z as addSessionTurnTokenUsage, am as isEmptySessionTurnTokenUsage, cX as version$d, gt as isMissingEmail, gu as getCachedLoginShellEnvSyncLegacy, gv as supportsBuiltinProviderSetup, gw as hasBuiltinRuntimeOverrideValues, gx as hasEmptyModelSelectOption, dn as getMachineFlockDocId, gy as getMachineFlockProviderSetups, dq as readMachineFlockRowsFromFlock, gz as getMachineFlockProviderSetupCancellations, gA as applyProviderSetupCancellationToFlock, gB as getMachineFlockAgentConfigs, gC as machineFlockKeys, gD as writeMachineFlockRowToFlock, gE as deleteMachineFlockRowFromFlock, gF as encodeCodexProfileConfig, gG as findBuiltinAgentOptOutToRetract, gH as streamsRoomBinding, gI as isRecoverableStreamsRoomStatus, gJ as computeLoroReconnectDelayMs, gK as isLodySubagentOutput, gL as MessageContentSchema, gM as parseHistoryWrite, gN as ToolCallContentSchema, gO as HistoryWriteError, gP as captureMessage, gQ as deriveLocationsFromToolCallContent, gR as parseLodyTaskMeta, gS as buildMessageContentFromNotification, gT as truncateTerminalOutputForHistory, gU as hasBuiltinEnvAuthentication, gV as ACP_AUTH_ID_MAX_LENGTH, gW as ACP_AUTH_TEXT_MAX_LENGTH, gX as ACP_AUTHENTICATION_FORM_MAX_BYTES, gY as ACP_AUTHORIZATION_URL_MAX_LENGTH, gZ as ACP_AUTH_FORM_FIELD_MAX_COUNT, g_ as ACP_AUTH_LABEL_MAX_LENGTH, g$ as getLodyElicitationMeta, h0 as ACP_AUTH_SELECT_OPTION_MAX_COUNT, h1 as isAcpAuthenticationFormWithinByteLimit, h2 as parseLodyMessagePhase, h3 as computeTitleGenerationDefaults, h4 as DEFAULT_TITLE_GENERATION_PROMPT, h5 as LODY_PRESENCE_HEARTBEAT_MS, h6 as isErrorReportingEnabled, h7 as hashAnalyticsId, h8 as getWorktreeSetupScriptForShell, h9 as resolveWorktreeSetupShellForPlatform, ha as DEFAULT_WORKTREE_SETUP_TIMEOUT_MS, hb as DEFAULT_WORKTREE_CLEANUP_TIMEOUT_MS, hc as LODY_HELP_INSTRUCTIONS, hd as PiExtensionDiscoverySchema, he as resolveSessionHistoryStatus, hf as resolveSessionAcpTargetId, hg as isSessionCancelRequestMarker, hh as getSessionCancelRequestMarker, hi as historyItemsToInputBlocks, hj as normalizeSessionInputBlocks, hk as extractPromptPreviewFromInputBlocks, hl as isMissingHistoryUserTurn, hm as getPendingUserTurnActivationId, hn as getSessionLaunchConfigLegacyFields, ho as buildSessionLaunchConfig, hp as mergeSessionLaunchConfig, hq as getMachineFlockSessionLaunchConfig, hr as withTimeout$2, hs as ConcurrentQueue, ht as isSubscriptionQuotaEligible, hu as traceAsync, hv as getSteerOperationId, hw as resolveSessionExecutionInputBlocks, hx as createLocalProjectBranchSelector, hy as resolveWorkspaceLocalProjectRootPathWithRetry, hz as readLocalProjectRootResolveSyncTimeoutMs, hA as resolveProjectGitHubRepo, hB as isSessionCollaborationStopped, hC as batchHistoryMembers, ac as findProgressMessageId, hD as batchPreview, hE as createReplayPromptBuilder, hF as isReplayEntryExcluded, hG as resolveBaseBranchPreference, hH as resolveResumableAcpSessionId, hI as hasRecentResumeNotice, hJ as acpOwnsSessionTitleGeneration, hK as resolveSessionAuthoredText, hL as resolveProjectFileRoots, hM as resolveActiveAssistantTurnId, hN as decideAcpCapabilityRefreshCache, hO as usesAcpProtocolAuthentication, hP as subscribeSessionChanges, hQ as SESSION_DOC_PREFIX, hR as buildPendingUserHistoryEntry, hS as listAliveRoomIds, hT as mapWithConcurrency, hU as turnNotificationAudience, hV as verifyMachineAccessWithRetry, hW as buildMissingEmail, hX as buildSessionTurnInputConfig, hY as normalizeMcpServerIdSelection, hZ as sameDispatchEntry, h_ as AgentConfigCliTypeSchema, h$ as ProjectRefSchema, i0 as sessionForkFailure, i1 as LEGACY_SESSION_HISTORY_BACKEND, aA as readSessionHistoryMetadata, i2 as resolveSessionMcpSelection, i3 as resolveSessionConversationConfig, i4 as resolveSessionAcpRuntimeConfig, i5 as sessionEditAndResendFailure, aC as resolveEditableTail, i6 as isSessionGoalActive, ad as getOperationProgressTargetKey, i7 as readChatFailureNotice, i8 as describeChatFailure, i9 as makeLodyError, ae as getOperationProgressTurnId, ia as inboxScopeKey, ib as InboxAdmissionRejected, ic as inboxFailureDiagnostic, id as INBOX_INLINE_MEMBERS, ie as OrchestrationDatabase, ig as LodyOperationStore, ih as getLodyOperationStorePath, ii as LodyOperationStoreError, ij as isMemberAccessSnapshotFresh, ik as resolveSessionPullRequests, il as isAcpFastModeConfigId, im as ACP_REASONING_EFFORT_CONFIG_ID, io as isAcpPlanModeConfigOption, ip as isAcpThoughtLevelConfigOption, iq as ACP_PLAN_PERMISSION_MODE_ID, ir as readPullRequestLifecycle, is as resolveProjectFileTarget, it as readTimeoutEnv, iu as CODE_COLLAB_DIFF_BLOB_LIMITS, iv as FILE_PREVIEW_V3_LIMITS, iw as FILE_PREVIEW_PROTOCOL_VERSION, ix as getImageMimeTypeForPath, iy as sanitizeAttachmentFileName, iz as SESSION_FILE_MAX_SIZE_BYTES, iA as SESSION_FILE_PREVIEW_SNIFF_BYTES, iB as isTextPreviewable, iC as SESSION_IMAGE_MAX_SIZE_BYTES, iD as SESSION_IMAGE_ALLOWED_MIME_TYPES, iE as PreviewControlProofSchema, iF as PREVIEW_CREATE_RATE_LIMIT_MAX, iG as DEFAULT_PREVIEW_MAX_ACTIVE_TUNNELS_PER_MACHINE, iH as PREVIEW_CREATE_RATE_LIMIT_WINDOW_MS, iI as assertEncryptedImageReference, iJ as readEncryptedAttachment, iK as buildSessionImageApiUrl, iL as getSessionImageDownloadApiPath, iM as encryptedAttachmentPath, iN as getSessionFileDownloadApiPath, iO as listWorkspaceGitHubRepositoriesForCliToken, aS as makeLocalWorkspaceCatalog, iP as getCodeCollabFileIndexSignalFlockDocId, iQ as getCodeCollabFileIndexFlockDocId, ck as createLoroStreamsJsonStreamClient, cM as LORO_STREAMS_BUCKET_ID, iR as sessionHistoryWriteIntentDigest, iS as getProjectRefBranch, iT as readMessageAuthor, iU as resolveSessionMessageAuthor, iV as SessionAttachmentTransfer, iW as ATTACHMENTS_DIR_RELATIVE, iX as ensureAttachmentsGitExcluded, iY as buildAttachmentFileName$1, iZ as buildAttachmentPromptText, i_ as getSessionFileBlobPath, i$ as buildSessionFileApiUrl, j0 as buildUnavailableAttachmentPromptText, j1 as formatAgentSenderHeader, j2 as formatCommentReferenceForPrompt, j3 as formatVisualAnnotationReferenceForPrompt, j4 as readLocalSessionImage, j5 as resolveWorkspaceLocalProjectRootPath, aZ as getSessionCommandEnvironment, aR as resolveWorkspaceOrThrow, j6 as hasAgentRunConfigSelection, j7 as shouldBypassSessionQuota, j8 as createSessionResult, j9 as sendSessionChatResult, ja as getDeviceTimeZone, jb as SORBET_PROVIDERS_REMOTE_PROTOCOL_VERSION, jc as SORBET_CREDENTIALS_REMOTE_PROTOCOL_VERSION, jd as SORBET_PROVIDERS_PROTOCOL_VERSION, je as SORBET_CREDENTIALS_PROTOCOL_VERSION, jf as E2EE_ACP_INTERACTION_PROTOCOL_VERSION, jg as getSessionIdFromRoomId, jh as parseMachineFlockKey, ji as listAliveSessionMetas, jj as isSessionInLocalProjectRemovalScope, jk as resolveWorkspaceLocalProject, jl as shouldApplyMachineDeleteLocalProjectCommand, jm as getWorkspaceFlockDocId, jn as listWorkspaceProjects, jo as readWorkspaceFlockRowsFromFlock, jp as isLocalProjectReferenced, jq as removeMachineLocalProject, jr as truncateToolTitleForHistory, aM as summarizeHistoryQuery, js as deriveRepoIdFromGitHubRepo$1, jt as runWithDaemonWorkspace, ju as runWithSessionCommandEnvironment, jv as createLocalSessionCommandEnvironment, jw as SessionHistoryReadResponseSchema, jx as storeLocalSessionImage, jy as isContainedSession, jz as HistoryEntryWriteSchema, jA as PermissionOutcomeSchema, jB as SESSION_IMAGE_MAX_COUNT, d8 as inputBlocksToHistoryItems, jC as SESSION_FILE_MAX_COUNT, jD as copyIntoSessionFileBlobStore, jE as readHistoryEntry, jF as readLocalSessionImageReceipt, jG as sessionFileBlobExists, jH as readSessionFileBlobBackfillReceipt, jI as markSessionFileBlobBackfilled, jJ as getSessionFileBlobAgeMs, jK as getDraftSessionFileBlobMaxAgeMs, jL as removeSessionFileBlob, jM as writeSessionFileBlobBackfillMarker, jN as listLocalSessionImages, jO as listPendingLocalSessionFiles, jP as parseAskUserQuestionPermissionMeta, jQ as PERMISSION_REQUEST_TIMEOUT_MS, jR as getAskUserQuestionPermissionDisplayTitle, ay as readLatestUserId, jS as prepareCliStreamsGatewayBaseUrl, jT as resolveWorkspaceLocalProjectWithSyncOnMiss, jU as resolveNotificationPresentation, jV as notificationReplyPreview, jW as buildLiveActivityConversationItems, jX as countLiveActivityConversationStatuses, jY as countLiveActivityConversationCandidates, jZ as buildLodyConversationsLiveActivityId, j_ as writeLocalSessionImageReceipt, j$ as getMachineFlockDeleteLocalProjectEntries, k0 as LODY_CONVERSATIONS_LIVE_ACTIVITY_SCHEMA_VERSION, k1 as GitHubTokenFetchError, k2 as canReadProcNetTcp, k3 as McpLocalAuthenticationSchema, k4 as lookupLoopbackPeerUid, k5 as publicMcpServer, k6 as resolveSessionMcpServers, cV as makeApplicationRuntime, k7 as assertPublicMcpServer, k8 as getWorkspaceMcpCatalog, k9 as waitForMcpCatalogBaseline, X as SessionHistoryContentPatchSchema, V as SESSION_DIRECTORY_INPUT_CONFIG_KEYS, aw as projectRoostSegments, ka as isDispatchCandidate, kb as dispatchEntry, kc as selectDispatchHistory, ar as pickDirectoryInputConfig, al as historyQueryRow, as as pickDirectoryScalars, kd as resolveLatestSessionGoalFromHistory, ke as registerSessionBackendFactory, kf as createRoostSessionBackendFactory, kg as captureStoredHistory, av as planHistoryImport, ag as hashHistoryEntryForVersion, a6 as createImportCursor, at as planEditableTailReplacement, kh as matchesRollbackReceipt, U as ROOST_CLEAR_FIELDS_KEY, ki as prepareReplacement, kj as isSessionHistoryStatusAwaitingStart, ao as markTurnSeenBlocked, $ as applyMarkTurnSeen, a8 as createRoostDirectoryRow, kk as inheritHistoryStreamText, kl as latestSessionModel, au as planHistoryAction, ak as historyActionTarget, aH as selectHistoryActionRows, km as prepareStoredHistoryCopy, kn as targetLocalHistoryTargets, aG as selectAgentHistoryRows, ko as planAgentHistoryMutation, a5 as createAssistantTurn, a0 as applyOpenAssistantTurn, aI as selectTranscriptHistoryPositions, aJ as selectTurnOutput, kp as pkg, kq as workspaceSupports, kr as routeRemoteOwnedSessionHistory, ks as createCommandSessionHistoryFactory, kt as LoroDocumentManager, ds as getScheduleRoomId, ku as planPullRequestLifecycle, kv as collectViewedSessionIdsFromPresence, kw as TERMINAL_MAX_PER_SESSION, kx as LODY_MACHINE_MONITOR_WINDOWS_SAMPLE_MS, ky as LODY_MACHINE_MONITOR_MACOS_SAMPLE_MS, kz as LODY_MACHINE_MONITOR_UNIX_SAMPLE_MS, kA as quotaReservationIdentity, kB as evaluateSchedule, kC as scheduleRunKey, kD as scheduleRunIds, kE as manualScheduleRunKey, kF as SCHEDULE_RETRY_DELAYS_MS, dd as getScheduleRegistryFlockDocId, kG as scheduleRegistryKeys, dj as ScheduleRuntimeRowSchema, kH as canonicalScheduleJson, kI as commitPreparedSessionDispatch, kJ as isPreparedSessionDispatched, kK as materializePreparedSessionInput, kL as ScheduledMessageSchema, kM as notificationLabel, dh as readMergedAgentConfigById, dp as getMachineFlockLocalProjects, kN as OrchestrationConnection, u as automationRegistrationSchema, v as automationResultSchema, x as automationRuleDraftSchema, k as automationEventSchema, e as automationContinuationSchema, n as automationInvocationSchema, s as automationReadRequestSchema, i as automationEmptyReadParametersSchema, j as automationEventReadParametersSchema, t as automationReadResponseSchema, o as automationOriginSchema, kO as resolveTurnDispatchDefaultsFromHistory, kP as resolveAgentRoleCreateFromCatalog, kQ as applyAgentRoleCreateTarget, kR as prepareSessionInput, c as automationCommandSchema, H as remoteAutomationOperationSchema, I as remoteAutomationProofSchema, G as remoteAutomationIntentSchema, kS as startTimeSyncLegacy, kT as initCliAnalytics, kU as ensureImplicitLocalWorkspace, kV as localCatalogWorkspaceToWorkspaceListItem, kW as closeProcessLocalLoroWriterLegacy, kX as reconcileMachineLocalProjectRootPaths, kY as listMergedAgentConfigs, kZ as findWorkspacesBySelector, k_ as formatWorkspaceCandidate, dA as isCloudE2eeMemberRemoved, dB as isCloudE2eeDeviceRevoked, k$ as SUPPORTED_CLI_TYPES, l0 as CLI_STORAGE_WRITE_FAILED_ISSUE_CODE, l1 as formatLocalLogDate, l2 as pickDailyLogAppendName, l3 as formatDailyLogLine, l4 as registerProcessExitTrace, l5 as getCliPlatformKind, l6 as applyLocalPlatformEnv, l7 as AuthClient, l8 as captureAgentServiceEvent, l9 as getOrCreateStableMachineIdAsync, la as loadOrCreateLocalIdentity, lb as performLoginWithAuthCredential, lc as isMachinePairingCredential, ld as performLogin, le as flushTelemetry, lf as createLocalCloudPort, lg as createCloudCliPort, lh as captureCliActiveUser, li as captureCliActivePing, lj as ACTIVE_PING_MIN_INTERVAL_MS$1, lk as SITE_URL, c_ as closeLoginShellApplicationLegacy, ll as registerProcessCleanup, lm as unregisterProcessCleanup, ln as runOneShotCommand, lo as printJson, lp as ensureDaemonReachable, lq as DAEMON_NOT_RUNNING_MESSAGE, aN as makeLocalControlClientAuto, aQ as getAuthContextOrThrow, lr as openBrowser, ls as captureAuthEvent, lt as isRetryableTokenValidationFailure, lu as isTokenValidationUnavailable, lv as addDiscoveryOptions, lw as runDiscoveryList, lx as renderTerminalTable, db as ScheduleCommandSchema, ly as collectScheduleIds, lz as resolveStructuredOutputMode, lA as listWorkspacesForToken, dt as withWorkspaceManager, lB as listAliveDocMetas, lC as isMachineDocRoomId, lD as classifyMachinePresence, lE as ACP_CAPABILITY_ROW_FAMILIES, lF as getMachineFlockAcpCapabilities, lG as getMachineFlockRateLimits, lH as parseRateLimitEntryKey, lI as buildSessionLink, lJ as normalizeSessionLinksForExport, lK as api, lL as listWorkspaceCandidates, lM as syncWorkspaceMetaForRead, lN as syncDocForRead, lO as createSessionMirror, dz as ScheduleDefinitionSchema, lP as buildScheduleRegistryRow, lQ as WorkspaceStreamsConfigurationError, lR as requirePlaintextWorkspaceStreamsContent, lS as getLoroStreamIdForDocId, lT as streamsSnapshotCodec, lU as getLoroStreamsShardUrls, cO as getLoroMetaStreamId, cL as createLoroStreamUrl, lV as selectWorkspaceSummary, lW as createCloudStreamsTokenPort, lX as registerMachineAccessForCliToken, lY as createLoroStreamsTokenProviderLegacy, lZ as makeLocalProbeClientAuto, l_ as captureDaemonEvent, l$ as captureSupervisorEvent, m0 as isDaemonVersionDowngrade, m1 as submitAgentFeedback, m2 as discoveryListCommand, m3 as syncMcpCatalog, m4 as listWorkspaceMcpCatalog, m5 as normalizeCliValue, m6 as upsertWorkspaceMcpCatalogEntry, m7 as deleteWorkspaceMcpCatalogEntry, m8 as parseEnvAssignments, m9 as ENV_VAR_NAME_PATTERN, ma as OperationListQuerySchema, mb as runWithOperationStoreBusyRetry, mc as sessionCommand, md as agentConfigCommand, me as agentRoleCommand, cY as internalCommand } from "./telemetry-BvcbNShC.js";
2
2
  import { o as object$2, c as string, n as number, a as literal, e as boolean, f as array, g as _enum, r as record$1, k as discriminatedUnion, j as unknown, P as uuid$2, u as union, w as number$1, z as tuple, C as ZodError, D as json$1 } from "./chunks/vendor-zod-CBWGVFD-.js";
3
3
  import { p as platformLayer, d as formatErrorMessage, t as toShared, g as getLodyDataDir, n as formatErrorWithCauses, a as getLogger, s as truncateLogText, w as withSpawn, u as LodyDataDirUnavailableError, v as ensureLodyDataDir, j as getInstallationProfile, x as formatReportedError, y as observeManagedProcessTree, z as createHybridLogger, b as getManagedWorkerLaunchContext, A as pruneManagedProcessTrees, B as confirmManagedProcessTreesGone, h as LODY_LOG_DIR, m as rootLogger, C as readLatestLogTail } from "./process-options-CHoYaJLg.js";
4
4
  import { C as Command } from "./chunks/vendor-commander-B86VeeRa.js";
@@ -12,7 +12,7 @@ import { b as runCommand, g as errnoCode, C as CommandTimedOut, i as runPromiseS
12
12
  import { a4 as Service, bS as provideMerge, dn as mergeAll, a0 as succeed, M as sync, a3 as TaggedError, aj as effect, h as gen, aC as FileSystem, bV as ChildProcessSpawner, t as provideService, U as catchCause, B as failCause, cv as map, a2 as map$1, ae as logDebug, G as findErrorOption, dq as isNone, u as mapError, b as fail, cC as fn, db as catchTag, a1 as succeed$1, cn as isSome, av as as, K as flatMap, ak as provide, w as try_, f as fnUntraced, L as void_, cu as scoped, H as currentTimeMillis, aH as acquireRelease, aa as uninterruptible, d as die, Q as interruptible, df as timeout, j as exit, E as isSuccess, aS as callback, ed as tap, ee as map$2, e2 as filter, ef as runHead, eg as getOrThrow, y as timeoutOrElse, Z as tap$1, dm as tapError, aV as offerUnsafe, bc as acquireUseRelease, cz as runPromise, bi as String$1, d7 as isPattern, bP as decodeUnknownOption, bt as Struct, bN as Literal, ab as orDie, bU as runPromiseExit, k as isFailure, bs as squash, cs as runSyncExit, p as provide$1, dC as runSync, N as close, O as void_$1, ac as makeUnsafe, c9 as scope, dO as make, cd as get, b6 as forEach, b1 as andThen, cf as result$1, ci as isFailure$1, d4 as keys, a$ as make$1, dV as update, d0 as set, b2 as succeed$2, g as forkIn, _ as _await, R as asVoid, eh as exists$1, cS as get$1, d2 as remove, a8 as catch_, ct as logWarning, J as sleep, $ as suspend, cr as seconds, cY as empty, ce as set$1, b9 as all, ca as fork, V as addFinalizer, aG as tryPromise, aP as none, aN as some, m as make$2, C as Clock, dv as Scope, z as makeUnsafe$1, aw as addFinalizer$1, b0 as cached, ei as repeat, dk as spaced, dF as delay$2, dG as die$1, I as doneUnsafe, v as promise, dj as retry, c as combine, a9 as empty$1, a7 as await_, di as hasInterrupts, dK as pretty, cq as interrupt, ad as ensuring, A as raceFirst, aW as runFork, ej as next, dJ as isCause, dU as unbounded, aY as offer, ap as forever, dh as take, ek as takeBetween, n as done, bE as succeed$3, c7 as forkScoped, el as unwrap$1, dg as dropping, dE as tapCause, dw as fromReasons, bI as isInterruptReason, cA as isFailReason, dz as makeUnsafe$2, b8 as make$3, bT as merge, ai as make$4, cB as provide$2, a6 as isTimeoutError, l as fail$1, bf as onInterrupt, em as bounded, dA as onError, en as take$1, eo as release, ep as withPermits, d9 as decodeUnknownResult, cg as isSuccess$1, bK as Number$1, bM as Boolean$1, bv as ArraySchema, bu as NullOr, da as optional, eq as Record, bR as Unknown, ao as callback$1, d_ as Effect } from "./chunks/vendor-effect-ygutZ0OR.js";
13
13
  import { l as layer } from "./chunks/vendor-@effect-platform-node-shared-BkNtLuZm.js";
14
14
  import { C as CodeCollabV2RpcContentEnvelopeSchema, D as CodeCollabV2InitDirectoryRequestSchema, B as CodeCollabV2OpenTurnDiffRequestSchema, A as CodeCollabV2OpenAllChangesDiffRequestSchema, z as CodeCollabV2OpenCurrentDiffRequestSchema, y as CodeCollabV2SaveTextRequestSchema, x as CodeCollabV2RefreshTextRequestSchema, w as CodeCollabV2OpenTextRequestSchema, a6 as CodeCollabV2ErrorCodeSchema, b0 as getProjectRepositoryFullName, r as resolveSessionFilePath, i as isSafeProjectPath, bc as projectRepositoryUrlIdentity, S as SessionProjectRunSchema, ba as pickProjectRepositoryLocalCopy, aH as deduplicateProjectMembers, aO as encodeProjectPreparationProgress, ag as PROJECT_SUBMODULE_BASE, bf as readCodeCollabFileIndexSignalFromFlock, bm as writeCodeCollabFileIndexSignalToFlock, be as readCodeCollabFileIndexFromFlock, bd as readCodeCollabFileGenerations, F as CODE_COLLAB_FILE_GENERATION_MAX_BYTES, aD as codeCollabFileIndexValuesEqual, bb as planCodeCollabFileIndexFlockWrite, aq as applyCodeCollabFileIndexFlockWriteBatch, aP as encodeSessionFilePath, at as buildCodeCollabFileIndexState, d as decodeSessionFilePath, L as CODE_COLLAB_V2_TEXT_LIMITS, H as CODE_COLLAB_V2_ALL_CHANGES_DIFF_LIMITS, b as buildBoundedCodeCollabFileIndexState, az as codeCollabFileIndexStatesEqual, a as CODE_COLLAB_FILE_INDEX_LIMITS, p as parseGitHubPullRequestUrl, aZ as getCurrentPullRequestsByRepository } from "./code-collab-COUEig0Z.js";
15
- import { g as getCliNodeExecutable, d as daemonLossObserver, c as createDaemonLossTasks, M as MAX_DERIVED_TURNS_PER_ORIGIN, e as decideEncryptedDerivation, r as readManagedOperation, b as authorityStamp, w as withinAuthorityLimit, f as authorityTimeLeft, h as getSeaContext, m as managedDaemonRoot, i as writeManagedRecord, j as readSelectedInstallation, s as saveManagedOperation, k as checkInstallationFiles, l as installationForRelease, p as prepareManagedRelease } from "./authority-clock-YIVdHT4y.js";
15
+ import { g as getCliNodeExecutable, d as daemonLossObserver, c as createDaemonLossTasks, M as MAX_DERIVED_TURNS_PER_ORIGIN, e as decideEncryptedDerivation, r as readManagedOperation, b as authorityStamp, w as withinAuthorityLimit, f as authorityTimeLeft, h as getSeaContext, m as managedDaemonRoot, i as writeManagedRecord, j as readSelectedInstallation, s as saveManagedOperation, k as checkInstallationFiles, l as installationForRelease, p as prepareManagedRelease } from "./authority-clock-C_4KGNe9.js";
16
16
  import fs__default$1, { existsSync, statSync, rmSync, readdirSync, readFileSync, createWriteStream, createReadStream, lstatSync, unlinkSync, symlinkSync, linkSync, copyFileSync, accessSync, constants, realpathSync as realpathSync$1, writeFileSync as writeFileSync$1, mkdirSync as mkdirSync$1, openSync, fchmodSync, closeSync, mkdtempSync, watch, chmodSync, promises as promises$1 } from "node:fs";
17
17
  import * as fs$2 from "node:fs/promises";
18
18
  import fs__default$2, { realpath, mkdir, writeFile, rename, rm, symlink, mkdtemp, chmod, readdir, readFile, stat as stat$1, lstat, access, rmdir, open, unlink, opendir } from "node:fs/promises";
@@ -73,12 +73,12 @@ import { f as LoroDoc } from "./chunks/vendor-loro-crdt-CcUjyH5H.js";
73
73
  import { AsyncEntry } from "@napi-rs/keyring";
74
74
  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-bw7HkPGf.js";
75
75
  import { createRequire } from "node:module";
76
- import { r as resolveScheduleAgentRunConfig, b as buildScheduleSessionCreateOptions, w as withScheduledMessageInput, s as scheduleRequiredLocalProjectId, a as scheduleDestinationSessionId, d as destinationSessionProblem, c as buildScheduleRunTarget, e as sendScheduleCommand } from "./schedule-command-client-CEcx8MjE.js";
76
+ import { r as resolveScheduleAgentRunConfig, b as buildScheduleSessionCreateOptions, w as withScheduledMessageInput, s as scheduleRequiredLocalProjectId, a as scheduleDestinationSessionId, d as destinationSessionProblem, c as buildScheduleRunTarget, e as sendScheduleCommand } from "./schedule-command-client-B9Ublc5-.js";
77
77
  import { m as make$5, a as make$6 } from "./chunks/vendor-@opencode-codemode-B9CuiPYU.js";
78
78
  import { p as parse } from "./chunks/vendor-acorn-FBr7vWTA.js";
79
79
  import v8 from "node:v8";
80
80
  import inquirer from "./chunks/vendor-inquirer-DW05GzYy.js";
81
- import { sendAutomationCommand } from "./client-DKgCydR1.js";
81
+ import { sendAutomationCommand } from "./client-DFs0mXC8.js";
82
82
  import { C as ConvexHttpClient } from "./chunks/vendor-convex-wRAQitRr.js";
83
83
  import { S as SqliteRepoStore, L as LoroRepo } from "./chunks/vendor-loro-repo-CMjClCnf.js";
84
84
  import { c as createLoroDocAdapter, a as createFlockAdapter, S as StreamsCrdt } from "./chunks/vendor-@loro-dev-streams-crdt-DHMQIzWN.js";
@@ -68377,9 +68377,9 @@ class MessageHandler {
68377
68377
  throw new Error("e2ee_feature_unavailable");
68378
68378
  if (!this.acpInteractionOwner) {
68379
68379
  this.acpInteractionOwner = Promise.all([
68380
- import("./acp-interaction-owner-DK2dXGPq.js"),
68381
- import("./index-uSRAGBc-.js"),
68382
- import("./telemetry-_bjS2EY9.js").then((n) => n.mg)
68380
+ import("./acp-interaction-owner-BOB7MjTp.js"),
68381
+ import("./index-BCzmvmty.js"),
68382
+ import("./telemetry-BvcbNShC.js").then((n) => n.mg)
68383
68383
  ]).then(
68384
68384
  ([{ createAcpInteractionOwner }, { createRpcSecretRecipient: createRpcSecretRecipient2, encryptRpcSecret: encryptRpcSecret2 }, shared]) => createAcpInteractionOwner({
68385
68385
  workspaceId: this.workspaceId,
@@ -68608,7 +68608,7 @@ class MessageHandler {
68608
68608
  throw new Error("Sorbet credentials configuration unavailable");
68609
68609
  if (!this.sorbetCredentials) throw new Error("Sorbet credentials unsupported");
68610
68610
  try {
68611
- const { SorbetCredentialsResultSchema, SorbetProvidersResultSchema } = await import("./telemetry-_bjS2EY9.js").then((n) => n.mf);
68611
+ const { SorbetCredentialsResultSchema, SorbetProvidersResultSchema } = await import("./telemetry-BvcbNShC.js").then((n) => n.mf);
68612
68612
  if (request.method === "sorbet/credentials-list") {
68613
68613
  return SorbetCredentialsResultSchema.parse({
68614
68614
  type: "sorbet/credentials-list",
@@ -68654,7 +68654,7 @@ class MessageHandler {
68654
68654
  const { sessionId, name: name2, arguments: args } = request.params;
68655
68655
  if (request.workspaceId !== this.workspaceId || request.machineId !== this.machineId || request.ownerSessionId !== sessionId)
68656
68656
  throw new Error("Session tool scope mismatch");
68657
- const { executeDaemonSessionTool } = await import("./daemon-session-tools-PZV1PLfX.js");
68657
+ const { executeDaemonSessionTool } = await import("./daemon-session-tools-D5fImuIw.js");
68658
68658
  const sourceWorkdir = this.resolveSessionWorkspaceRoot(sessionId);
68659
68659
  if (!sourceWorkdir && args && typeof args === "object" && "attachments" in args)
68660
68660
  throw new Error("Requester Session workspace is unavailable");
@@ -70523,7 +70523,7 @@ class MessageHandler {
70523
70523
  "Stop all tasks on this daemon before restoring its identity."
70524
70524
  );
70525
70525
  }
70526
- const { prepareMachineIdentityRestore, cancelPreparedMachineIdentityRestore } = await import("./machine-identity-restore-BWpv7f9D.js");
70526
+ const { prepareMachineIdentityRestore, cancelPreparedMachineIdentityRestore } = await import("./machine-identity-restore-ABcJZ0P_.js");
70527
70527
  const prepared = await prepareMachineIdentityRestore({
70528
70528
  workspaceId: this.workspaceId,
70529
70529
  sourceMachineId: this.machineId,
@@ -80341,7 +80341,7 @@ const createNodeServicesForLease = async (sessionDoc, lease) => {
80341
80341
  if (!await dispatchIndex().checkpoint(cursor, 0))
80342
80342
  await rebuildDispatchIndex(dispatchIndex(), cursor);
80343
80343
  }
80344
- const { createRoostSessionData } = await import("./index-C1O07bhK.js");
80344
+ const { createRoostSessionData } = await import("./index--dqdSE2V.js");
80345
80345
  syncModelSummary = async () => {
80346
80346
  const position = latestModelTurnId ? positionById.get(latestModelTurnId) : void 0;
80347
80347
  const cached2 = position === void 0 ? void 0 : entries[position];
@@ -82034,7 +82034,7 @@ class Lody {
82034
82034
  if (!workspaceSupports({ mode: encrypted ? "protected" : "plaintext" }, "rpc")) {
82035
82035
  if (!options.genesisHash || !options.cloudPort.e2ee)
82036
82036
  throw new Error("e2ee_workspace_unavailable");
82037
- const { openCliE2eeWorkspaceLegacy } = await import("./workspace-legacy-BXA2kfWm.js").then((n) => n.bO);
82037
+ const { openCliE2eeWorkspaceLegacy } = await import("./workspace-legacy-CE0748tV.js").then((n) => n.bO);
82038
82038
  e2ee = await openCliE2eeWorkspaceLegacy({
82039
82039
  accountId: options.userId,
82040
82040
  workspaceId: options.workspaceId,
@@ -82081,7 +82081,7 @@ class Lody {
82081
82081
  if (!options.genesisHash) throw new Error("e2ee_workspace_unavailable");
82082
82082
  const { join: join2 } = await import("node:path");
82083
82083
  const { Effect: Effect2 } = await import("./chunks/vendor-effect-ygutZ0OR.js").then((n) => n.er);
82084
- const { makeEncryptedAgentExecution, lazyExecutionJournal } = await import("./agent-execution-wyY_20dj.js");
82084
+ const { makeEncryptedAgentExecution, lazyExecutionJournal } = await import("./agent-execution-DPICba52.js");
82085
82085
  encryptedExecution = makeEncryptedAgentExecution({
82086
82086
  genesis: options.genesisHash,
82087
82087
  workspaceId: options.workspaceId,
@@ -86438,7 +86438,7 @@ async function createScheduleWorkspace(args) {
86438
86438
  await resolveTarget(run2);
86439
86439
  },
86440
86440
  prepare: async (run2) => {
86441
- const { prepareSessionInput: prepareSessionInput2, resolveTurnDispatchConfig } = await import("./telemetry-_bjS2EY9.js").then((n) => n.mk);
86441
+ const { prepareSessionInput: prepareSessionInput2, resolveTurnDispatchConfig } = await import("./telemetry-BvcbNShC.js").then((n) => n.mk);
86442
86442
  const target = await resolveTarget(run2);
86443
86443
  const agent = await resolveScheduleAgentRunConfig(
86444
86444
  manager,
@@ -89765,7 +89765,7 @@ class LodyFleet {
89765
89765
  dispatchE2eePairing: (message) => this.dispatchLocalE2eePairing(message),
89766
89766
  dispatchSchedule: async (message) => {
89767
89767
  const runtime = await this.resolveWorkspaceRuntime(message.workspaceId);
89768
- const { executeScheduleCommand } = await import("./schedule-command-client-CEcx8MjE.js").then((n) => n.f);
89768
+ const { executeScheduleCommand } = await import("./schedule-command-client-B9Ublc5-.js").then((n) => n.f);
89769
89769
  try {
89770
89770
  const result2 = await executeScheduleCommand(
89771
89771
  {
@@ -90362,7 +90362,7 @@ class LodyFleet {
90362
90362
  const automation = this.runtimes.get(workspace.id)?.automations;
90363
90363
  if (!automation) throw new Error("AUTOMATION_OWNER_UNAVAILABLE");
90364
90364
  const result2 = await automation.remoteControl(input);
90365
- const { remoteAutomationResultSchema } = await import("./index-RFliQGDD.js");
90365
+ const { remoteAutomationResultSchema } = await import("./index-DtCzEbTn.js");
90366
90366
  return {
90367
90367
  type: "session/automation-control_response",
90368
90368
  sessionId: input.sessionId,
@@ -91317,7 +91317,7 @@ class LodyFleet {
91317
91317
  throw new Error("e2ee_account_unavailable");
91318
91318
  if (this.e2eeResets.has(workspace.id)) throw new Error("e2ee_identity_busy");
91319
91319
  const completion = (async () => {
91320
- const { resetCliE2eeIdentity, completedCliE2eeIdentityReset } = await import("./reset-identity-DZIX4A5a.js");
91320
+ const { resetCliE2eeIdentity, completedCliE2eeIdentityReset } = await import("./reset-identity-Dy4gmEqR.js");
91321
91321
  const previous = await runPromise(completedCliE2eeIdentityReset(message));
91322
91322
  if (previous)
91323
91323
  return { ok: true, resetId: message.resetId, archive: previous.archive };
@@ -91359,7 +91359,7 @@ class LodyFleet {
91359
91359
  activateCliE2eeWorkspaceLegacy,
91360
91360
  prepareCliE2eeMachineLegacy,
91361
91361
  validateCliE2eePairingIntentLegacy
91362
- } = await import("./workspace-legacy-BXA2kfWm.js").then((n) => n.bO);
91362
+ } = await import("./workspace-legacy-CE0748tV.js").then((n) => n.bO);
91363
91363
  if (this.e2eeResets.has(message.workspaceId)) throw new Error("e2ee_identity_busy");
91364
91364
  if (message.type === "prepare") {
91365
91365
  const material = await prepareCliE2eeMachineLegacy({ ...message, cloud: e2eeCloud });
@@ -93111,7 +93111,7 @@ const startCommand = new Command("start").description("Start agent service in na
93111
93111
  const supervisorIdentity = identityResolution.status === "supervised" ? identityResolution.identity : null;
93112
93112
  if (managedCandidate) pauseMachineTurnsIfIdle();
93113
93113
  if (supervisorIdentity?.launchMode === "daemon" && getCliPlatformKind() === "cloud") {
93114
- const { applyPendingMachineIdentityRestore, machineIdentityRestoreStartupExitCode } = await import("./machine-identity-restore-BWpv7f9D.js");
93114
+ const { applyPendingMachineIdentityRestore, machineIdentityRestoreStartupExitCode } = await import("./machine-identity-restore-ABcJZ0P_.js");
93115
93115
  try {
93116
93116
  await applyPendingMachineIdentityRestore({ readOnly: managedCandidate });
93117
93117
  } catch (error) {
@@ -93300,7 +93300,7 @@ const startCommand = new Command("start").description("Start agent service in na
93300
93300
  process.exit(1);
93301
93301
  }
93302
93302
  if (options.pairedWorkspace) {
93303
- const { loadCliE2eeMachineBootstrapLegacy } = await import("./workspace-legacy-BXA2kfWm.js").then((n) => n.bO);
93303
+ const { loadCliE2eeMachineBootstrapLegacy } = await import("./workspace-legacy-CE0748tV.js").then((n) => n.bO);
93304
93304
  machineId = await getOrCreateStableMachineIdAsync();
93305
93305
  const paired = await loadCliE2eeMachineBootstrapLegacy(options.pairedWorkspace, machineId);
93306
93306
  token = "";
@@ -93478,9 +93478,9 @@ async function startAgentService(options, token, userId, machineName, machineId,
93478
93478
  if (!LODY_SERVER_URL) {
93479
93479
  throw new Error("Cloud platform startup requires LODY_SERVER_URL");
93480
93480
  }
93481
- const { loadCliE2eeMachineBootstrapLegacy } = await import("./workspace-legacy-BXA2kfWm.js").then((n) => n.bO);
93481
+ const { loadCliE2eeMachineBootstrapLegacy } = await import("./workspace-legacy-CE0748tV.js").then((n) => n.bO);
93482
93482
  const paired = await loadCliE2eeMachineBootstrapLegacy(options.pairedWorkspace, machineId);
93483
- const { createCloudE2eeMachinePort } = await import("./telemetry-_bjS2EY9.js").then((n) => n.mh);
93483
+ const { createCloudE2eeMachinePort } = await import("./telemetry-BvcbNShC.js").then((n) => n.mh);
93484
93484
  cloudPort = createCloudE2eeMachinePort({
93485
93485
  accountId: userId,
93486
93486
  workspaceId: paired.bootstrap.workspaceId,
@@ -94943,10 +94943,10 @@ function createDshCommand(run2 = runPluginCommand) {
94943
94943
  );
94944
94944
  }
94945
94945
  async function runPluginCommand(args, configId) {
94946
- const { runOneShotCommand: runOneShotCommand2 } = await import("./telemetry-_bjS2EY9.js").then((n) => n.mj);
94946
+ const { runOneShotCommand: runOneShotCommand2 } = await import("./telemetry-BvcbNShC.js").then((n) => n.mj);
94947
94947
  await runOneShotCommand2("dsh", {}, async () => {
94948
94948
  const { Effect: Effect2 } = await import("./chunks/vendor-effect-ygutZ0OR.js").then((n) => n.er);
94949
- const { makeLocalControlClientAuto: makeLocalControlClientAuto2, makeLocalProbeClientAuto: makeLocalProbeClientAuto2 } = await import("./telemetry-_bjS2EY9.js").then((n) => n.mi);
94949
+ const { makeLocalControlClientAuto: makeLocalControlClientAuto2, makeLocalProbeClientAuto: makeLocalProbeClientAuto2 } = await import("./telemetry-BvcbNShC.js").then((n) => n.mi);
94950
94950
  const health = await Effect2.runPromise(makeLocalProbeClientAuto2().health());
94951
94951
  const responses = await Effect2.runPromise(
94952
94952
  makeLocalControlClientAuto2().sessionControl({
@@ -94979,8 +94979,8 @@ async function runPluginCommand(args, configId) {
94979
94979
  );
94980
94980
  const { resolveCliAdapterEntry: resolveCliAdapterEntry2 } = await Promise.resolve().then(() => setting);
94981
94981
  const { resolveDeepSeekHarnessProcessLaunch: resolveDeepSeekHarnessProcessLaunch2 } = await Promise.resolve().then(() => deepseekHarnessRuntime);
94982
- const { runDshPlugin } = await import("./dsh-plugins-USLgdmAE.js");
94983
- const { fileLocksLegacy: fileLocksLegacy2 } = await import("./file-lock-yOQQBtqa.js");
94982
+ const { runDshPlugin } = await import("./dsh-plugins-d6ddvhfN.js");
94983
+ const { fileLocksLegacy: fileLocksLegacy2 } = await import("./file-lock-xgtIgq-n.js");
94984
94984
  const { platformLayer: platformLayer2 } = await import("./process-options-CHoYaJLg.js").then((n) => n.D);
94985
94985
  const [adapterPath] = resolveCliAdapterEntry2("deepseek-acp");
94986
94986
  const launch = await resolveDeepSeekHarnessProcessLaunch2({
@@ -95015,9 +95015,9 @@ const machinePairCommand = new Command("pair").description("Pair this machine wi
95015
95015
  const abort = () => controller.abort();
95016
95016
  process.once("SIGINT", abort);
95017
95017
  try {
95018
- const { pairRemoteMachineLegacy, decodeRemoteMachineOffer } = await import("./remote-pairing-CY6W6R8O.js");
95018
+ const { pairRemoteMachineLegacy, decodeRemoteMachineOffer } = await import("./remote-pairing-6CByOSYv.js");
95019
95019
  const offer2 = decodeRemoteMachineOffer(args.offer);
95020
- const { createCloudE2eePort, createCloudRemoteMachinePairingClaim } = await import("./telemetry-_bjS2EY9.js").then((n) => n.mh);
95020
+ const { createCloudE2eePort, createCloudRemoteMachinePairingClaim } = await import("./telemetry-BvcbNShC.js").then((n) => n.mh);
95021
95021
  const logger = getLogger("e2ee-machine-pairing");
95022
95022
  let displayed = "";
95023
95023
  const result2 = await pairRemoteMachineLegacy({
@@ -97202,7 +97202,7 @@ async function runRender(file, options) {
97202
97202
  data = createReviewBundleSnapshot(bundle);
97203
97203
  }
97204
97204
  const { injectReviewSnapshot } = await import("./index-BeRTvYK1.js");
97205
- const { resolveReviewViewerTemplate } = await import("./review-viewer-GakvZFYc.js");
97205
+ const { resolveReviewViewerTemplate } = await import("./review-viewer-BKPytmIU.js");
97206
97206
  const template = await resolveReviewViewerTemplate();
97207
97207
  const html = injectReviewSnapshot(template, data);
97208
97208
  const outputPath = options.output ? path__default$1.resolve(options.output) : defaultHtmlOutputPath(inputPath);
@@ -98821,7 +98821,7 @@ const daemonUpgradeCommand = new Command("upgrade").description("Prepare a check
98821
98821
  async (options) => {
98822
98822
  const record2 = readPidFileRecord();
98823
98823
  if (!record2) throw new Error("Managed daemon is not running");
98824
- const { ManagedDaemonUpgradeOptionsSchema: ManagedDaemonUpgradeOptionsSchema2 } = await import("./telemetry-_bjS2EY9.js").then((n) => n.mg);
98824
+ const { ManagedDaemonUpgradeOptionsSchema: ManagedDaemonUpgradeOptionsSchema2 } = await import("./telemetry-BvcbNShC.js").then((n) => n.mg);
98825
98825
  const upgrade = ManagedDaemonUpgradeOptionsSchema2.parse({
98826
98826
  protocol: 1,
98827
98827
  channel: options.channel,
@@ -100086,7 +100086,7 @@ const daemonRunnerCommand = new Command("daemon-runner").description("(internal)
100086
100086
  path__default$1.join(managedDaemonRoot(), "releases", operation.releaseDigest, "manifest.json"),
100087
100087
  "utf8"
100088
100088
  );
100089
- const { verifyDaemonRelease } = await import("./authority-clock-YIVdHT4y.js").then((n) => n.n);
100089
+ const { verifyDaemonRelease } = await import("./authority-clock-C_4KGNe9.js").then((n) => n.n);
100090
100090
  const release2 = verifyDaemonRelease(envelope, sea.metadata);
100091
100091
  await checkInstallationFiles(release2);
100092
100092
  previousInstallation = installation;
@@ -100242,7 +100242,7 @@ const e2eeCommand = new Command("e2ee").description("Local encrypted-workspace m
100242
100242
  "--file <path>",
100243
100243
  "Exact execution journal path for this account and machine"
100244
100244
  ).option("--json", "Print JSON output").action(async (options) => {
100245
- const { runOneShotCommand: runOneShotCommand2, printJson: printJson2 } = await import("./telemetry-_bjS2EY9.js").then((n) => n.mj);
100245
+ const { runOneShotCommand: runOneShotCommand2, printJson: printJson2 } = await import("./telemetry-BvcbNShC.js").then((n) => n.mj);
100246
100246
  await runOneShotCommand2(
100247
100247
  "e2ee-journal",
100248
100248
  options,
@@ -100636,4 +100636,4 @@ export {
100636
100636
  prepareDeepSeekNodeEnvironment as p,
100637
100637
  resolveDeepSeekHarnessSpawn as r
100638
100638
  };
100639
- //# sourceMappingURL=register-CufZlhT9.js.map
100639
+ //# sourceMappingURL=register-CJg9Eqac.js.map
@@ -1,7 +1,7 @@
1
1
  import { setTimeout } from "node:timers/promises";
2
- import { bF as verifySignature, bL as prepareCliE2eeMachineLegacy, bM as activateCliE2eeWorkspaceLegacy, bN as retainCliE2eeMachineBootstrapLegacy } from "./workspace-legacy-BXA2kfWm.js";
2
+ import { bF as verifySignature, bL as prepareCliE2eeMachineLegacy, bM as activateCliE2eeWorkspaceLegacy, bN as retainCliE2eeMachineBootstrapLegacy } from "./workspace-legacy-CE0748tV.js";
3
3
  import "./chunks/vendor-@ipld-dag-cbor-BNII2wZN.js";
4
- import { b3 as LocalE2eePrepareResponseSchema } from "./telemetry-_bjS2EY9.js";
4
+ import { b3 as LocalE2eePrepareResponseSchema } from "./telemetry-BvcbNShC.js";
5
5
  import { o as object, c as string, n as number, a as literal, e as boolean, g as _enum } from "./chunks/vendor-zod-CBWGVFD-.js";
6
6
  import { ci as isFailure } from "./chunks/vendor-effect-ygutZ0OR.js";
7
7
  import "./chunks/vendor-@noble-ed25519-Ds7aTPMa.js";
@@ -12,7 +12,7 @@ import "./chunks/vendor-@hpke-common-CfGjdxIH.js";
12
12
  import "./chunks/vendor-@hpke-core-D6eyxVS2.js";
13
13
  import "./chunks/vendor-@hpke-chacha20poly1305-CUhxL4CC.js";
14
14
  import "./chunks/vendor-@noble-ciphers-DL-K0bMl.js";
15
- import "./authority-clock-YIVdHT4y.js";
15
+ import "./authority-clock-C_4KGNe9.js";
16
16
  import "node:fs/promises";
17
17
  import "node:path";
18
18
  import "node:zlib";
@@ -87,7 +87,7 @@ import "./chunks/vendor-loro-crdt-CcUjyH5H.js";
87
87
  import "better-sqlite3";
88
88
  import "./chunks/vendor-@loro-dev-streams-crdt-DHMQIzWN.js";
89
89
  import "./chunks/vendor-@loro-dev-streams-client-DzUskix-.js";
90
- import "./agent-execution-wyY_20dj.js";
90
+ import "./agent-execution-DPICba52.js";
91
91
  import "./realtime-journal-3xRwHQnE.js";
92
92
  import "./chunks/vendor-commander-B86VeeRa.js";
93
93
  import "node:process";
@@ -373,4 +373,4 @@ export {
373
373
  decodeRemoteMachineOffer,
374
374
  pairRemoteMachineLegacy
375
375
  };
376
- //# sourceMappingURL=remote-pairing-CY6W6R8O.js.map
376
+ //# sourceMappingURL=remote-pairing-6CByOSYv.js.map
@@ -1,6 +1,6 @@
1
1
  import { readFile, writeFile } from "node:fs/promises";
2
2
  import { join } from "node:path";
3
- import { bH as completedE2eeIdentityReset, bI as cliE2eeIdentityDirectory, bJ as leaseE2eeIdentity, bK as archiveE2eeIdentity } from "./workspace-legacy-BXA2kfWm.js";
3
+ import { bH as completedE2eeIdentityReset, bI as cliE2eeIdentityDirectory, bJ as leaseE2eeIdentity, bK as archiveE2eeIdentity } from "./workspace-legacy-CE0748tV.js";
4
4
  import { f as fnUntraced, aG as tryPromise } from "./chunks/vendor-effect-ygutZ0OR.js";
5
5
  import "./chunks/vendor-@noble-ed25519-Ds7aTPMa.js";
6
6
  import "./chunks/vendor-@ipld-dag-cbor-BNII2wZN.js";
@@ -13,7 +13,7 @@ import "./chunks/vendor-@hpke-common-CfGjdxIH.js";
13
13
  import "./chunks/vendor-@hpke-core-D6eyxVS2.js";
14
14
  import "./chunks/vendor-@hpke-chacha20poly1305-CUhxL4CC.js";
15
15
  import "./chunks/vendor-@noble-ciphers-DL-K0bMl.js";
16
- import "./authority-clock-YIVdHT4y.js";
16
+ import "./authority-clock-C_4KGNe9.js";
17
17
  import "node:zlib";
18
18
  import "./process-options-CHoYaJLg.js";
19
19
  import "./process-C4E1E8qi.js";
@@ -79,7 +79,7 @@ import "./chunks/vendor-object-hash-HzXrbOJn.js";
79
79
  import "./chunks/vendor-file-stream-rotator-CxV9o5zx.js";
80
80
  import "./chunks/vendor-moment-CvzSeL6T.js";
81
81
  import "node:util";
82
- import "./telemetry-_bjS2EY9.js";
82
+ import "./telemetry-BvcbNShC.js";
83
83
  import "./chunks/vendor-commander-B86VeeRa.js";
84
84
  import "node:process";
85
85
  import "./chunks/vendor-zod-CBWGVFD-.js";
@@ -178,7 +178,7 @@ import "http2";
178
178
  import "./chunks/vendor-posthog-node-Bf37-Nem.js";
179
179
  import "./chunks/vendor-@posthog-core-Cam3Z07F.js";
180
180
  import "node:sqlite";
181
- import "./agent-execution-wyY_20dj.js";
181
+ import "./agent-execution-DPICba52.js";
182
182
  import "./realtime-journal-3xRwHQnE.js";
183
183
  import "node:module";
184
184
  const resetCliE2eeIdentity = fnUntraced(function* (input) {
@@ -204,4 +204,4 @@ export {
204
204
  completedCliE2eeIdentityReset,
205
205
  resetCliE2eeIdentity
206
206
  };
207
- //# sourceMappingURL=reset-identity-DZIX4A5a.js.map
207
+ //# sourceMappingURL=reset-identity-Dy4gmEqR.js.map
@@ -68,7 +68,7 @@ import "./chunks/vendor-object-hash-HzXrbOJn.js";
68
68
  import "./chunks/vendor-file-stream-rotator-CxV9o5zx.js";
69
69
  import "./chunks/vendor-moment-CvzSeL6T.js";
70
70
  import "node:util";
71
- const reviewViewerVersion = "0.111.2-next.0";
71
+ const reviewViewerVersion = "0.111.2-next.1";
72
72
  const reviewViewerSha256 = "8392c31c86b0513cddda155707bdbe6f083c2128e5d157e28da2c214104ad45e";
73
73
  const reviewViewerFileName = "standalone.html";
74
74
  const DEFAULT_CDN_BASES = ["https://cdn.jsdelivr.net/npm", "https://unpkg.com"];
@@ -143,4 +143,4 @@ async function resolveReviewViewerTemplate() {
143
143
  export {
144
144
  resolveReviewViewerTemplate
145
145
  };
146
- //# sourceMappingURL=review-viewer-GakvZFYc.js.map
146
+ //# sourceMappingURL=review-viewer-BKPytmIU.js.map
@@ -1,4 +1,4 @@
1
- import { d7 as normalizeLegacyScheduleAgent, d8 as inputBlocksToHistoryItems, d9 as scheduleOwnSessionId, da as getServerNow, db as ScheduleCommandSchema, dc as ScheduleRepository, a_ as getSessionRoomId, a$ as isLoroRepoDocDeleted, dd as getScheduleRegistryFlockDocId, de as scheduleProposalRuleToTrigger, df as validateSchedulePrompt, dg as createSessionBackend, dh as readMergedAgentConfigById, di as SYNC_CONFIRMATION_TIMEOUT_MS, dj as ScheduleRuntimeRowSchema, dk as previewSchedule, dl as getMachineRoomId, dm as machineSupportsSchedulesProtocol, dn as getMachineFlockDocId, dp as getMachineFlockLocalProjects, dq as readMachineFlockRowsFromFlock, dr as DEFAULT_SCHEDULE_DESTINATION, ds as getScheduleRoomId, aN as makeLocalControlClientAuto, aO as classifyLocalDaemonIpcError, aP as LODY_AUTH_URL, aQ as getAuthContextOrThrow, aR as resolveWorkspaceOrThrow, dt as withWorkspaceManager, aS as makeLocalWorkspaceCatalog } from "./telemetry-_bjS2EY9.js";
1
+ import { d7 as normalizeLegacyScheduleAgent, d8 as inputBlocksToHistoryItems, d9 as scheduleOwnSessionId, da as getServerNow, db as ScheduleCommandSchema, dc as ScheduleRepository, a_ as getSessionRoomId, a$ as isLoroRepoDocDeleted, dd as getScheduleRegistryFlockDocId, de as scheduleProposalRuleToTrigger, df as validateSchedulePrompt, dg as createSessionBackend, dh as readMergedAgentConfigById, di as SYNC_CONFIRMATION_TIMEOUT_MS, dj as ScheduleRuntimeRowSchema, dk as previewSchedule, dl as getMachineRoomId, dm as machineSupportsSchedulesProtocol, dn as getMachineFlockDocId, dp as getMachineFlockLocalProjects, dq as readMachineFlockRowsFromFlock, dr as DEFAULT_SCHEDULE_DESTINATION, ds as getScheduleRoomId, aN as makeLocalControlClientAuto, aO as classifyLocalDaemonIpcError, aP as LODY_AUTH_URL, aQ as getAuthContextOrThrow, aR as resolveWorkspaceOrThrow, dt as withWorkspaceManager, aS as makeLocalWorkspaceCatalog } from "./telemetry-BvcbNShC.js";
2
2
  import { cz as runPromise, cf as result } from "./chunks/vendor-effect-ygutZ0OR.js";
3
3
  const buildProjectOptions = (project) => {
4
4
  if (!project) {
@@ -58,7 +58,7 @@ function destinationSessionProblem(args) {
58
58
  }
59
59
  async function resolveScheduleAgentRunConfig(manager, workspaceId, machineId, agent) {
60
60
  if (!agent.configOptionValues) return agent;
61
- const { readAgentAcpCapability } = await import("./telemetry-_bjS2EY9.js").then((n) => n.mk);
61
+ const { readAgentAcpCapability } = await import("./telemetry-BvcbNShC.js").then((n) => n.mk);
62
62
  const capability = await readAgentAcpCapability({
63
63
  manager,
64
64
  workspaceId,
@@ -231,7 +231,7 @@ async function executeScheduleCommand(context, input) {
231
231
  const now = getServerNow();
232
232
  if (command.action === "create" || command.action === "edit") {
233
233
  if (!machine) throw new Error("Target machine is unavailable");
234
- const { resolveTurnDispatchConfig, validateSessionCreateOptions } = await import("./telemetry-_bjS2EY9.js").then((n) => n.mk);
234
+ const { resolveTurnDispatchConfig, validateSessionCreateOptions } = await import("./telemetry-BvcbNShC.js").then((n) => n.mk);
235
235
  const draft = command.draft;
236
236
  const configId = draft.agent.agentConfigId;
237
237
  const agent = await readMergedAgentConfigById(manager.repo, workspaceId, machine.id, configId);
@@ -408,4 +408,4 @@ export {
408
408
  scheduleRequiredLocalProjectId as s,
409
409
  withScheduledMessageInput as w
410
410
  };
411
- //# sourceMappingURL=schedule-command-client-CEcx8MjE.js.map
411
+ //# sourceMappingURL=schedule-command-client-B9Ublc5-.js.map
@@ -93,10 +93,10 @@ function redactedTelemetryException(properties = {}) {
93
93
  }
94
94
  const name$1 = "lody";
95
95
  const name = "@lody/cli-cloud";
96
- const version$1 = "0.111.2-next.0";
96
+ const version$1 = "0.111.2-next.1";
97
97
  const type = "module";
98
98
  const scripts = { "dev": "node dev.mjs", "dev:staging": "LODY_ENV=staging NODE_ENV=production node dev.mjs", "build": "node build.mjs", "prepare:publish": "node prepare-publish.js", "test": "node --test pnpm-runner.test.mjs vite-config.test.mjs nightly-npm.test.mjs sea-publish.test.mjs install.test.mjs check-installer.test.mjs" };
99
- const devDependencies = { "dotenv": "^16.6.1", "vite": "^7.0.0", "vite-plugin-wasm": "catalog:" };
99
+ const devDependencies = { "dotenv": "^16.6.1", "semver": "7.7.4", "vite": "^7.0.0", "vite-plugin-wasm": "catalog:" };
100
100
  const pkg = {
101
101
  name,
102
102
  version: version$1,
@@ -52590,7 +52590,7 @@ async function withWorkspaceManager$1(auth, workspace, loggerName, fn) {
52590
52590
  const removalOwner = new Promise((resolve) => {
52591
52591
  resolveRemovalOwner = resolve;
52592
52592
  });
52593
- const e2ee = workspace.contentMode === "e2ee" ? await (await import("./workspace-legacy-BXA2kfWm.js").then((n) => n.bO)).openCliE2eeWorkspaceLegacy({
52593
+ const e2ee = workspace.contentMode === "e2ee" ? await (await import("./workspace-legacy-CE0748tV.js").then((n) => n.bO)).openCliE2eeWorkspaceLegacy({
52594
52594
  accountId: commandAuth.userId,
52595
52595
  workspaceId: workspace.id,
52596
52596
  genesisHash: workspace.genesisHash ?? "",
@@ -66163,7 +66163,7 @@ function buildSessionToolServer(handlers) {
66163
66163
  registerScheduleTools(toolServer, {
66164
66164
  execute: async (command) => {
66165
66165
  const ctx = getSessionContext();
66166
- const { sendDaemonScheduleCommand } = await import("./schedule-command-client-CEcx8MjE.js").then((n) => n.g);
66166
+ const { sendDaemonScheduleCommand } = await import("./schedule-command-client-B9Ublc5-.js").then((n) => n.g);
66167
66167
  return sendDaemonScheduleCommand(command, {
66168
66168
  machineId: ctx.machineId,
66169
66169
  workspaceId: ctx.workspaceId,
@@ -66174,7 +66174,7 @@ function buildSessionToolServer(handlers) {
66174
66174
  });
66175
66175
  registerAutomationTools(toolServer, async (command) => {
66176
66176
  const ctx = getSessionContext();
66177
- const { sendDaemonAutomationCommand } = await import("./client-DKgCydR1.js");
66177
+ const { sendDaemonAutomationCommand } = await import("./client-DFs0mXC8.js");
66178
66178
  return sendDaemonAutomationCommand(command, {
66179
66179
  machineId: ctx.machineId,
66180
66180
  workspaceId: ctx.workspaceId,
@@ -68576,4 +68576,4 @@ export {
68576
68576
  automationRuleSchema as y,
68577
68577
  automationScopeSchema as z
68578
68578
  };
68579
- //# sourceMappingURL=telemetry-_bjS2EY9.js.map
68579
+ //# sourceMappingURL=telemetry-BvcbNShC.js.map
@@ -7,14 +7,14 @@ import { C as CipherSuite, H as HkdfSha256$1, D as DhkemX25519HkdfSha256 } from
7
7
  import { C as Chacha20Poly1305 } from "./chunks/vendor-@hpke-chacha20poly1305-CUhxL4CC.js";
8
8
  import { O as OpenError } from "./chunks/vendor-@hpke-common-CfGjdxIH.js";
9
9
  import { x as xchacha20poly1305 } from "./chunks/vendor-@noble-ciphers-DL-K0bMl.js";
10
- import { g as getCliNodeExecutable, w as withinAuthorityLimit, a as authorityClocksAgree, b as authorityStamp } from "./authority-clock-YIVdHT4y.js";
10
+ import { g as getCliNodeExecutable, w as withinAuthorityLimit, a as authorityClocksAgree, b as authorityStamp } from "./authority-clock-C_4KGNe9.js";
11
11
  import { DatabaseSync } from "node:sqlite";
12
- import { du as sharingReplySchemas, dv as id$2, dw as sharingChangeSchema, dx as requestId$1, dy as captureScheduleAuthorization, dz as ScheduleDefinitionSchema, dA as isCloudE2eeMemberRemoved, dB as isCloudE2eeDeviceRevoked, b4 as isE2eeReadQuery, co as decodeE2eeRpcRequestBody, dC as isE2eeFeatureMethod, cs as encodeE2eeRpcRequestBody, cp as decodeE2eeRpcResponseBody, b8 as LocalMachineRpcResponseSchema, dD as E2eeFeatureInputSchema, bc as E2EE_RPC_MAX_FRAME_BYTES, ct as encodeE2eeRpcResponseBody, dE as normalizeSessionTurnInputConfig, dF as queuedInputEvidence, a_ as getSessionRoomId, ds as getScheduleRoomId, dG as readScheduleAuthorization, dH as scheduleChangedSince, dI as scheduleDocumentFromMirrorState, dJ as scheduleDefinitionFingerprint, dK as ScheduleAuthorizationRequestSchema, dL as CloudE2eeLedgerOutage, dM as LocalE2eePrepareRequestSchema, b3 as LocalE2eePrepareResponseSchema, dN as createWorkspaceEpochTransitionLegacy, dO as encryptedWorkspaceNamespace, dP as encryptedWorkspaceResolver, ck as createLoroStreamsJsonStreamClient, dQ as encryptedWorkspaceRoom, dR as isSessionDocRoomId, dS as getScheduleIdFromRoomId } from "./telemetry-_bjS2EY9.js";
12
+ import { du as sharingReplySchemas, dv as id$2, dw as sharingChangeSchema, dx as requestId$1, dy as captureScheduleAuthorization, dz as ScheduleDefinitionSchema, dA as isCloudE2eeMemberRemoved, dB as isCloudE2eeDeviceRevoked, b4 as isE2eeReadQuery, co as decodeE2eeRpcRequestBody, dC as isE2eeFeatureMethod, cs as encodeE2eeRpcRequestBody, cp as decodeE2eeRpcResponseBody, b8 as LocalMachineRpcResponseSchema, dD as E2eeFeatureInputSchema, bc as E2EE_RPC_MAX_FRAME_BYTES, ct as encodeE2eeRpcResponseBody, dE as normalizeSessionTurnInputConfig, dF as queuedInputEvidence, a_ as getSessionRoomId, ds as getScheduleRoomId, dG as readScheduleAuthorization, dH as scheduleChangedSince, dI as scheduleDocumentFromMirrorState, dJ as scheduleDefinitionFingerprint, dK as ScheduleAuthorizationRequestSchema, dL as CloudE2eeLedgerOutage, dM as LocalE2eePrepareRequestSchema, b3 as LocalE2eePrepareResponseSchema, dN as createWorkspaceEpochTransitionLegacy, dO as encryptedWorkspaceNamespace, dP as encryptedWorkspaceResolver, ck as createLoroStreamsJsonStreamClient, dQ as encryptedWorkspaceRoom, dR as isSessionDocRoomId, dS as getScheduleIdFromRoomId } from "./telemetry-BvcbNShC.js";
13
13
  import { e as encodeStreamsRoomAdditionalData } from "./chunks/vendor-loro-repo-CMjClCnf.js";
14
14
  import { g as decodeImportBlobMeta, i as isContainer } from "./chunks/vendor-loro-crdt-CcUjyH5H.js";
15
15
  import { o as object, c as string, j as unknown, g as _enum, e as boolean, a as literal, B as custom, A as _instanceof, n as number, C as ZodError } from "./chunks/vendor-zod-CBWGVFD-.js";
16
16
  import { p as platformLayer, g as getLodyDataDir, a as getLogger } from "./process-options-CHoYaJLg.js";
17
- import { lazyExecutionJournal } from "./agent-execution-wyY_20dj.js";
17
+ import { lazyExecutionJournal } from "./agent-execution-DPICba52.js";
18
18
  import { createHash, randomUUID, timingSafeEqual, randomBytes, createDecipheriv, createCipheriv } from "node:crypto";
19
19
  import { mkdirSync, existsSync, chmodSync, closeSync, openSync, constants } from "node:fs";
20
20
  import { dirname, isAbsolute, join as join$1 } from "node:path";
@@ -16443,7 +16443,7 @@ async function retireRevokedMachineIdentity(options) {
16443
16443
  requireOsProtection: existsSync(`${directory}.require-os`),
16444
16444
  keyring: options.keyring
16445
16445
  });
16446
- const { Bytes } = yield* promise(() => import("./index-DsQYoKQ2.js"));
16446
+ const { Bytes } = yield* promise(() => import("./index-DsfFke9m.js"));
16447
16447
  const genesis = yield* fromResult(Bytes.genesisHash(bytes(options.genesisHash)));
16448
16448
  const current = yield* custody.openDevice(genesis);
16449
16449
  const key2 = hex(current.publicKey.toBytes());
@@ -16512,7 +16512,7 @@ async function eraseRemovedWorkspace(options) {
16512
16512
  directory: join$1(directory, "custody"),
16513
16513
  keyring: options.keyring
16514
16514
  });
16515
- const { Bytes } = yield* promise(() => import("./index-DsQYoKQ2.js"));
16515
+ const { Bytes } = yield* promise(() => import("./index-DsfFke9m.js"));
16516
16516
  const genesis = yield* fromResult(
16517
16517
  Bytes.genesisHash(bytes(removal.genesisHash))
16518
16518
  );
@@ -16643,7 +16643,7 @@ async function prepareCliE2eeMachineLegacy(options) {
16643
16643
  );
16644
16644
  }
16645
16645
  async function prepareMachine(options) {
16646
- const { Bytes, hashRecordBytes: hashRecordBytes2, verifyLedgerEffect: verifyLedgerEffect2 } = await import("./index-DsQYoKQ2.js");
16646
+ const { Bytes, hashRecordBytes: hashRecordBytes2, verifyLedgerEffect: verifyLedgerEffect2 } = await import("./index-DsfFke9m.js");
16647
16647
  const binding = Binding.parse({
16648
16648
  workspaceId: options.workspaceId,
16649
16649
  genesisHash: options.genesisHash,
@@ -16842,7 +16842,7 @@ async function openWorkspaceOwned(scope2, options, requireActivation, pairing) {
16842
16842
  keyring: options.keyring
16843
16843
  });
16844
16844
  const { Bytes, hashRecordBytes: hashRecordBytes2 } = yield* promise(
16845
- () => import("./index-DsQYoKQ2.js")
16845
+ () => import("./index-DsfFke9m.js")
16846
16846
  );
16847
16847
  const genesis = yield* fromResult(Bytes.genesisHash(bytes(binding.genesisHash)));
16848
16848
  if (hex(hashRecordBytes2(bytes(binding.genesisRecordHex)).toBytes()) !== binding.genesisHash)
@@ -17238,7 +17238,7 @@ async function openWorkspaceOwned(scope2, options, requireActivation, pairing) {
17238
17238
  scoped(
17239
17239
  gen$1(function* () {
17240
17240
  yield* openMachinePairingJournal(directory);
17241
- const { Bytes } = yield* promise(() => import("./index-DsQYoKQ2.js"));
17241
+ const { Bytes } = yield* promise(() => import("./index-DsfFke9m.js"));
17242
17242
  const genesis = yield* fromResult(Bytes.genesisHash(bytes(options.genesisHash)));
17243
17243
  const current = yield* opened.custody.openDevice(genesis);
17244
17244
  if (hex(current.publicKey.toBytes()) !== opened.signingPublicKey || (yield* opened.custody.deviceCredential(genesis, current.publicKey)) !== opened.credential)
@@ -17798,7 +17798,7 @@ async function retainMachineBootstrap(input, keyring) {
17798
17798
  keyring
17799
17799
  });
17800
17800
  const { Bytes, signVerified: signVerified2 } = yield* promise(
17801
- () => import("./index-DsQYoKQ2.js")
17801
+ () => import("./index-DsfFke9m.js")
17802
17802
  );
17803
17803
  const device = yield* custody.openDevice(
17804
17804
  getOrThrow(Bytes.genesisHash(bytes(unsigned.genesisHash)))
@@ -17869,7 +17869,7 @@ async function loadMachineBootstrap(reference, machineId, keyring) {
17869
17869
  keyring
17870
17870
  });
17871
17871
  const { Bytes, verifySignature: verifySignature2 } = yield* promise(
17872
- () => import("./index-DsQYoKQ2.js")
17872
+ () => import("./index-DsfFke9m.js")
17873
17873
  );
17874
17874
  const genesis = getOrThrow(Bytes.genesisHash(bytes(bootstrap.genesisHash)));
17875
17875
  const device = yield* custody.openDevice(genesis);
@@ -18072,4 +18072,4 @@ export {
18072
18072
  compareNotes as y,
18073
18073
  comparisonNote as z
18074
18074
  };
18075
- //# sourceMappingURL=workspace-legacy-BXA2kfWm.js.map
18075
+ //# sourceMappingURL=workspace-legacy-CE0748tV.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lody",
3
- "version": "0.111.2-next.0",
3
+ "version": "0.111.2-next.1",
4
4
  "description": "Lody Agent CLI tool for managing remote command execution",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",