lody 0.111.2-next.2 → 0.112.0-nightly.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/README.md +14 -15
  2. package/dist/{acp-interaction-owner-CXDVhYQv.js → acp-interaction-owner-n_JD1Bt8.js} +9 -9
  3. package/dist/{agent-execution-ecK9PEXS.js → agent-execution-DvcAeTKP.js} +57 -41
  4. package/dist/{authority-clock-B0E0xXzM.js → authority-clock-Bh0uv5CJ.js} +3 -5
  5. package/dist/baguette-worker.js +3 -3
  6. package/dist/chunks/{vendor-@effect-platform-node-shared-BkNtLuZm.js → vendor-@effect-platform-node-shared-2lBwiIzn.js} +2 -2
  7. package/dist/chunks/{vendor-@loro-dev-streams-client-DzUskix-.js → vendor-@loro-dev-streams-client-1Yj3RVKk.js} +2 -2
  8. package/dist/chunks/{vendor-@loro-dev-streams-crdt-DHMQIzWN.js → vendor-@loro-dev-streams-crdt-T5Tehg_z.js} +3 -3
  9. package/dist/chunks/{vendor-@opencode-codemode-B9CuiPYU.js → vendor-@opencode-codemode-C3CJ-7sd.js} +2 -2
  10. package/dist/chunks/{vendor-effect-ygutZ0OR.js → vendor-effect-PvNFaBIH.js} +73 -73
  11. package/dist/chunks/{vendor-loro-repo-CMjClCnf.js → vendor-loro-repo-CkSgp_Vi.js} +3 -4
  12. package/dist/{client-Ba0jtnMi.js → client-DLmbIZqS.js} +9 -9
  13. package/dist/{cloudflared-native-BNdJAC9v.js → cloudflared-native-D_fWD63-.js} +3 -3
  14. package/dist/cloudflared-worker.js +5 -5
  15. package/dist/{daemon-session-tools-B1hBfzhi.js → daemon-session-tools-CvzI5T8E.js} +9 -9
  16. package/dist/{diff-line-counts-DS3NTLT4.js → diff-line-counts-QP9fCzg2.js} +2 -2
  17. package/dist/{diff-worker-task-baVi790r.js → diff-worker-task-nOqMsc7z.js} +2 -2
  18. package/dist/diff-worker.js +5 -5
  19. package/dist/{directory-handle-BMcXjYE6.js → directory-handle-By63Tfd9.js} +3 -3
  20. package/dist/{dsh-plugins-BNA-RPk8.js → dsh-plugins-DKK3Asa0.js} +18 -18
  21. package/dist/file-index-scan-worker.js +5 -5
  22. package/dist/{file-lock-C1CQoeli.js → file-lock-2-WoFIRx.js} +10 -10
  23. package/dist/{index-CRrwc4Nq.js → index-B4pmcanV.js} +108 -105
  24. package/dist/{index-CIjeIJv5.js → index-BFh7vXp4.js} +10 -10
  25. package/dist/{index-CR6ask1Y.js → index-Ckh_wJyl.js} +114 -113
  26. package/dist/{index-D26bOyO7.js → index-CwJwjp1Z.js} +4 -4
  27. package/dist/{index-Df9yv6Ci.js → index-CyL6pxqZ.js} +10 -10
  28. package/dist/index.js +9 -9
  29. package/dist/{machine-identity-restore-23ziqMgS.js → machine-identity-restore-CYDTNk0Z.js} +18 -18
  30. package/dist/{process-C4E1E8qi.js → process-BCSHY0B0.js} +3 -3
  31. package/dist/{process-options-CHoYaJLg.js → process-options-D6o2SQzg.js} +3 -3
  32. package/dist/{realtime-journal-3xRwHQnE.js → realtime-journal-DvyGjm-o.js} +22 -20
  33. package/dist/{register-BOLDtUke.js → register-B6t5y1uE.js} +484 -184
  34. package/dist/{remote-pairing-DVRSSiIu.js → remote-pairing-CHXc4LEW.js} +21 -17
  35. package/dist/{reset-identity-C7xQ8CP1.js → reset-identity-C4NIl3gK.js} +17 -17
  36. package/dist/{review-viewer-3sOq8ENY.js → review-viewer-D7mFTXlg.js} +6 -6
  37. package/dist/{schedule-command-client-Bw5baSJ2.js → schedule-command-client-VEej37Zu.js} +5 -5
  38. package/dist/{telemetry-zL4wgSQ8.js → telemetry-DeVdV56-.js} +1575 -1323
  39. package/dist/{workspace-legacy-BxJIvme7.js → workspace-legacy-DAFfZE5h.js} +1011 -943
  40. package/package.json +1 -1
package/README.md CHANGED
@@ -103,22 +103,21 @@ This maintenance command is available by its explicit name and hidden from gener
103
103
  CLI help. Encrypted agent starts, including Meta/history dispatch and RPC offers,
104
104
  share a `userTurnId` execution claim in `execution.sqlite` under the active encrypted
105
105
  workspace's `repositoryDirectory`. Stop the daemon before reset. There is no desktop
106
- reset button. The execution gate resolves the turn's original signed update, checks its verified
107
- signer, then calls the same host's `authorizeExecution(workspaceId, requesterDevice)`
108
- by default. `LodyOptions.authorizeEncryptedExecution` can override this capability
109
- with the same signature. Missing signer or authorization denies new starts;
110
- revoking a device cannot borrow another device's authority from the same user.
111
- Original ciphertext receipts live in `execution-origins.sqlite`; snapshot authors
112
- cannot substitute for the original turn signer. Snapshot recovery backfills retained
113
- signed updates from Streams. Missing originals keep the turn pending and retryable
114
- until its original window expires; they never grant a start. Each backfill attempt
115
- has a three-second/eight-page bound; stop cancels the watcher's delayed retry.
116
- Confirmed whole-member removal or machine-device revocation during backfill is
117
- terminal: it immediately fences new execution and invalidates cached grants before
118
- the existing owner drain. Late authorization results cannot claim a journal start.
106
+ reset button. The execution gate verifies the signed execution intent stored with the
107
+ turn row against the content that will run, checks its signer in the current ledger, then
108
+ calls the same host's `authorizeExecution(workspaceId, requesterDevice)` by default.
109
+ `LodyOptions.authorizeEncryptedExecution` can override this capability with the same
110
+ signature. A missing or invalid signature, an unknown signer after an authenticated read,
111
+ or missing authorization refuses the start with its reason; revoking a device cannot borrow
112
+ another device's authority from the same user. No original frame, Streams backfill or time
113
+ window is involved, so a snapshot or a late arrival carries the same evidence
114
+ ([decision](../../.agents/notes/implemented/architecture/2026-11-10-e2ee-signed-execution-intent.md)).
115
+ Only an unreadable ledger leaves a turn pending. A received frame for the session, a
116
+ confirmed ledger read, a key installation or an RPC reconnect rechecks a waiting turn at
117
+ once; a fallback timer doubles from one second to at most five minutes. Stop cancels the
118
+ watcher's delayed retry. A cancelled input that never started is retired in the journal.
119
119
  Member removal retains its identity-verified receipt/erasure path; single-device
120
- revocation closes the workspace while retaining local originals. Ordinary transport
121
- failures continue to leave missing-origin turns pending.
120
+ revocation closes the workspace while retaining local state.
122
121
  Ordinary workspaces do not open this log.
123
122
  Transport frames keep their own original request/response receipts; execution evidence
124
123
  contains intent identities and a settlement marker, never prompt or response plaintext.
@@ -1,6 +1,6 @@
1
1
  import { createHash } from "node:crypto";
2
- import { aW as e2eeAcpInteractionInputContext, aX as e2eeAcpInteractionResponseContext } from "./telemetry-zL4wgSQ8.js";
3
- import "./chunks/vendor-effect-ygutZ0OR.js";
2
+ import { aY as e2eeAcpInteractionInputContext, aZ as e2eeAcpInteractionResponseContext } from "./telemetry-DeVdV56-.js";
3
+ import "./chunks/vendor-effect-PvNFaBIH.js";
4
4
  import "./chunks/vendor-commander-B86VeeRa.js";
5
5
  import "node:events";
6
6
  import "node:child_process";
@@ -9,11 +9,11 @@ import "node:fs";
9
9
  import "node:process";
10
10
  import "./chunks/commonjs-helpers-CCIqAdii.js";
11
11
  import "./chunks/vendor-zod-CBWGVFD-.js";
12
- import "./chunks/vendor-@loro-dev-streams-client-DzUskix-.js";
12
+ import "./chunks/vendor-@loro-dev-streams-client-1Yj3RVKk.js";
13
13
  import "node:fs/promises";
14
14
  import "./code-collab-COUEig0Z.js";
15
- import "./process-options-CHoYaJLg.js";
16
- import "./process-C4E1E8qi.js";
15
+ import "./process-options-D6o2SQzg.js";
16
+ import "./process-BCSHY0B0.js";
17
17
  import "node:url";
18
18
  import "./chunks/vendor-cross-spawn-BK3s9AWC.js";
19
19
  import "child_process";
@@ -24,7 +24,7 @@ import "fs";
24
24
  import "./chunks/vendor-path-key-Dc8-E0k2.js";
25
25
  import "./chunks/vendor-shebang-command-CiljJy-j.js";
26
26
  import "./chunks/vendor-shebang-regex-CzQXTLh9.js";
27
- import "./chunks/vendor-@effect-platform-node-shared-BkNtLuZm.js";
27
+ import "./chunks/vendor-@effect-platform-node-shared-2lBwiIzn.js";
28
28
  import "node:stream";
29
29
  import "node:buffer";
30
30
  import "node:net";
@@ -104,7 +104,7 @@ import "./chunks/vendor-micromark-factory-whitespace-Dg9BFbm3.js";
104
104
  import "./chunks/vendor-micromark-util-html-tag-name-CslaPeLE.js";
105
105
  import "./chunks/vendor-unist-util-stringify-position-DD2_lbmV.js";
106
106
  import "./chunks/vendor-mdast-util-to-string-cbiyYImb.js";
107
- import "./chunks/vendor-@loro-dev-streams-crdt-DHMQIzWN.js";
107
+ import "./chunks/vendor-@loro-dev-streams-crdt-T5Tehg_z.js";
108
108
  import "./chunks/vendor-@loro-dev-flock-wasm-s93aGRSx.js";
109
109
  import "node:diagnostics_channel";
110
110
  import "./chunks/vendor-undici-BBneXIsH.js";
@@ -151,7 +151,7 @@ import "./chunks/vendor-@better-auth-api-key-Dy9PtbSj.js";
151
151
  import "./chunks/vendor-@convex-dev-better-auth-DvFvwHmk.js";
152
152
  import "perf_hooks";
153
153
  import "./chunks/vendor-ws-DSn-BAa0.js";
154
- import "./chunks/vendor-loro-repo-CMjClCnf.js";
154
+ import "./chunks/vendor-loro-repo-CkSgp_Vi.js";
155
155
  import "better-sqlite3";
156
156
  import "./chunks/vendor-uuid-B-b1kXnZ.js";
157
157
  import "./chunks/vendor-@modelcontextprotocol-server-CRe5__5l.js";
@@ -503,4 +503,4 @@ function createAcpInteractionOwner(options) {
503
503
  export {
504
504
  createAcpInteractionOwner
505
505
  };
506
- //# sourceMappingURL=acp-interaction-owner-CXDVhYQv.js.map
506
+ //# sourceMappingURL=acp-interaction-owner-n_JD1Bt8.js.map
@@ -1,15 +1,16 @@
1
1
  import { existsSync } from "node:fs";
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-B0E0xXzM.js";
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
- 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";
2
+ import { RealtimeJournal, RealtimeJournalError } from "./realtime-journal-DvyGjm-o.js";
3
+ import { M as MAX_DERIVED_TURNS_PER_ORIGIN } from "./authority-clock-Bh0uv5CJ.js";
4
+ import { aW as turnExecutionDigest } from "./telemetry-DeVdV56-.js";
5
+ import { f as fnUntraced, b as fail, a1 as succeed, w as try_, a2 as map } from "./chunks/vendor-effect-PvNFaBIH.js";
6
+ import { o as object, f as array, c as string, j as unknown, z as tuple, a as literal } from "./chunks/vendor-zod-CBWGVFD-.js";
6
7
  import "node:crypto";
7
8
  import "node:path";
8
9
  import "better-sqlite3";
9
10
  import "node:fs/promises";
10
11
  import "node:zlib";
11
- import "./process-options-CHoYaJLg.js";
12
- import "./process-C4E1E8qi.js";
12
+ import "./process-options-D6o2SQzg.js";
13
+ import "./process-BCSHY0B0.js";
13
14
  import "node:child_process";
14
15
  import "node:url";
15
16
  import "./chunks/vendor-cross-spawn-BK3s9AWC.js";
@@ -22,7 +23,7 @@ import "fs";
22
23
  import "./chunks/vendor-path-key-Dc8-E0k2.js";
23
24
  import "./chunks/vendor-shebang-command-CiljJy-j.js";
24
25
  import "./chunks/vendor-shebang-regex-CzQXTLh9.js";
25
- import "./chunks/vendor-@effect-platform-node-shared-BkNtLuZm.js";
26
+ import "./chunks/vendor-@effect-platform-node-shared-2lBwiIzn.js";
26
27
  import "node:stream";
27
28
  import "node:buffer";
28
29
  import "node:net";
@@ -71,10 +72,9 @@ import "./chunks/vendor-object-hash-HzXrbOJn.js";
71
72
  import "./chunks/vendor-file-stream-rotator-CxV9o5zx.js";
72
73
  import "./chunks/vendor-moment-CvzSeL6T.js";
73
74
  import "node:util";
74
- import "./telemetry-zL4wgSQ8.js";
75
75
  import "./chunks/vendor-commander-B86VeeRa.js";
76
76
  import "node:process";
77
- import "./chunks/vendor-@loro-dev-streams-client-DzUskix-.js";
77
+ import "./chunks/vendor-@loro-dev-streams-client-1Yj3RVKk.js";
78
78
  import "./code-collab-COUEig0Z.js";
79
79
  import "./ios-simulator-BJjtVdO8.js";
80
80
  import "node:async_hooks";
@@ -107,7 +107,7 @@ import "./chunks/vendor-micromark-factory-whitespace-Dg9BFbm3.js";
107
107
  import "./chunks/vendor-micromark-util-html-tag-name-CslaPeLE.js";
108
108
  import "./chunks/vendor-unist-util-stringify-position-DD2_lbmV.js";
109
109
  import "./chunks/vendor-mdast-util-to-string-cbiyYImb.js";
110
- import "./chunks/vendor-@loro-dev-streams-crdt-DHMQIzWN.js";
110
+ import "./chunks/vendor-@loro-dev-streams-crdt-T5Tehg_z.js";
111
111
  import "./chunks/vendor-@loro-dev-flock-wasm-s93aGRSx.js";
112
112
  import "node:diagnostics_channel";
113
113
  import "./chunks/vendor-undici-BBneXIsH.js";
@@ -154,7 +154,7 @@ import "./chunks/vendor-@better-auth-api-key-Dy9PtbSj.js";
154
154
  import "./chunks/vendor-@convex-dev-better-auth-DvFvwHmk.js";
155
155
  import "perf_hooks";
156
156
  import "./chunks/vendor-ws-DSn-BAa0.js";
157
- import "./chunks/vendor-loro-repo-CMjClCnf.js";
157
+ import "./chunks/vendor-loro-repo-CkSgp_Vi.js";
158
158
  import "./chunks/vendor-uuid-B-b1kXnZ.js";
159
159
  import "./chunks/vendor-@modelcontextprotocol-server-CRe5__5l.js";
160
160
  import "./chunks/vendor-@modelcontextprotocol-core-C9sSLfHz.js";
@@ -170,9 +170,11 @@ import "./chunks/vendor-@posthog-core-Cam3Z07F.js";
170
170
  const attempt = (body) => try_({ try: body, catch: (cause) => cause });
171
171
  const encryptedMemberRequester = (cryptoUserId) => `e2ee-member:${cryptoUserId}`;
172
172
  const memberRequesterPrefix = encryptedMemberRequester("");
173
- const retainedIntentSchema = union([
174
- tuple([literal(1), string(), string()]),
175
- tuple([literal(1), string(), string(), string()])
173
+ const retainedIntentSchema = tuple([
174
+ literal(2),
175
+ string(),
176
+ string(),
177
+ string().regex(/^[0-9a-f]{64}$/).nullable()
176
178
  ]);
177
179
  const intentSchema = object({
178
180
  workspaceId: string().min(1),
@@ -192,8 +194,7 @@ function makeEncryptedAgentExecution(options) {
192
194
  { workspaceId: options.workspaceId, sessionId: ref.sessionId, userTurnId: ref.userTurnId },
193
195
  { origin: true }
194
196
  );
195
- if (!origin || "state" in origin || !hex64.test(origin.requesterDevice) || !Number.isSafeInteger(origin.expiresAt))
196
- return void 0;
197
+ if (!origin || "state" in origin || !hex64.test(origin.requesterDevice)) return void 0;
197
198
  return origin;
198
199
  });
199
200
  const authorizeAll = fnUntraced(function* (authorize, workspaceId, device, localProjectIds) {
@@ -240,7 +241,8 @@ function makeEncryptedAgentExecution(options) {
240
241
  const resolveRequester = fnUntraced(function* (input) {
241
242
  const intent = yield* attempt(() => intentSchema.parse(input));
242
243
  const verified = yield* options.resolveVerifiedOriginal(intent);
243
- if (verified && "state" in verified) return { state: "pending" };
244
+ if (verified && "state" in verified)
245
+ return { state: verified.state === "refused" ? "denied" : "pending" };
244
246
  if (!verified) return { state: "denied" };
245
247
  const userId = yield* verifiedRequester(verified);
246
248
  return userId === void 0 ? {} : { userId };
@@ -273,7 +275,7 @@ function makeEncryptedAgentExecution(options) {
273
275
  const verified = yield* options.resolveVerifiedOriginal(
274
276
  yield* attempt(() => intentSchema.parse(input))
275
277
  );
276
- if (verified && "state" in verified) return "pending";
278
+ if (verified && "state" in verified) return verified.state === "refused" ? "denied" : "pending";
277
279
  return verified?.requesterDevice === options.selfDevice ? "verified" : "denied";
278
280
  });
279
281
  const claim = fnUntraced(function* (input) {
@@ -286,7 +288,8 @@ function makeEncryptedAgentExecution(options) {
286
288
  targetMachineId: options.targetMachineId,
287
289
  requestId: `agent-start:${intent.userTurnId}`
288
290
  };
289
- const frame = Buffer.from(JSON.stringify([1, intent.sessionId, intent.userTurnId]));
291
+ const digest = turnExecutionDigest({ inputConfig: intent.inputConfig }) ?? null;
292
+ const frame = Buffer.from(JSON.stringify([2, intent.sessionId, intent.userTurnId, digest]));
290
293
  const journal = yield* attempt(options.journal);
291
294
  const read = () => {
292
295
  const retained2 = journal.read(key);
@@ -303,13 +306,9 @@ function makeEncryptedAgentExecution(options) {
303
306
  if (retained && retained.state !== "received") return { state: retained.state };
304
307
  if (options.isExecutionOpen?.() === false) return { state: "denied" };
305
308
  const verified = yield* options.resolveVerifiedOriginal(intent);
306
- if (verified && "state" in verified) {
307
- return {
308
- state: (yield* currentTimeMillis) >= verified.expiresAt ? "expired" : "pending-evidence"
309
- };
310
- }
311
- if (!verified || !/^[0-9a-f]{64}$/.test(verified.requesterDevice) || !Number.isSafeInteger(verified.expiresAt) || verified.expiresAt < 0)
312
- return { state: "denied" };
309
+ if (verified && "state" in verified)
310
+ return verified.state === "refused" ? { state: "denied", reason: verified.reason } : { state: "pending-evidence" };
311
+ if (!verified || !hex64.test(verified.requesterDevice)) return { state: "denied" };
313
312
  const config = intent.inputConfig;
314
313
  if (config?._lodyAutomation !== void 0 && verified.requesterDevice !== options.selfDevice)
315
314
  return { state: "denied" };
@@ -324,8 +323,6 @@ function makeEncryptedAgentExecution(options) {
324
323
  const origin = yield* verifiedOrigin(verified.derivedFrom);
325
324
  if (!origin || origin.derivedFrom || origin.schedule || origin.requesterDevice === options.selfDevice)
326
325
  return { state: "denied" };
327
- if ((yield* currentTimeMillis) > origin.expiresAt + DERIVED_START_GRACE_MS)
328
- return { state: "expired" };
329
326
  originKey = JSON.stringify([verified.derivedFrom.sessionId, verified.derivedFrom.userTurnId]);
330
327
  if ((derivedClaims.get(originKey) ?? 0) >= MAX_DERIVED_TURNS_PER_ORIGIN)
331
328
  return { state: "denied" };
@@ -333,14 +330,10 @@ function makeEncryptedAgentExecution(options) {
333
330
  originRequester = encryptedMemberRequester(origin.requesterCryptoUserId);
334
331
  }
335
332
  const authorizeTargets = (authorize) => authorizeAll(authorize, intent.workspaceId, authorityDevice, intent.localProjectIds);
336
- const unavailable = fnUntraced(function* () {
337
- return {
338
- state: (yield* currentTimeMillis) < verified.expiresAt ? "pending-evidence" : "expired"
339
- };
340
- });
333
+ const unavailable = () => succeed({ state: "pending-evidence" });
341
334
  let authorization = yield* authorizeTargets(authorizeExecution);
342
335
  if (authorization._tag !== "Authorized")
343
- return authorization.reason === "e2ee_machine_not_shared" ? { state: "denied", reason: "e2ee_machine_not_shared" } : authorization.reason === "unavailable" ? yield* unavailable() : { state: "denied" };
336
+ return authorization.reason === "e2ee_machine_not_shared" ? { state: "denied", reason: "e2ee_machine_not_shared" } : authorization.reason === "unavailable" ? yield* unavailable() : authorization.reason === "not-authorized" ? { state: "denied", reason: "e2ee_sender_not_authorized" } : authorization.reason === "e2ee_machine_not_member" ? { state: "denied", reason: "e2ee_machine_not_member" } : { state: "denied" };
344
337
  let scheduleCurrent;
345
338
  if (verified.schedule) {
346
339
  if (!options.authorizeSchedule) return { state: "denied" };
@@ -351,8 +344,8 @@ function makeEncryptedAgentExecution(options) {
351
344
  );
352
345
  if (schedule._tag !== "Authorized")
353
346
  return {
354
- state: schedule.reason === "e2ee_schedule_evidence_pending" ? (yield* currentTimeMillis) < verified.expiresAt ? "pending-evidence" : "expired" : "denied",
355
- ...schedule.reason === "e2ee_machine_not_shared" ? { reason: "e2ee_machine_not_shared" } : {}
347
+ state: schedule.reason === "unavailable" ? "pending-evidence" : "denied",
348
+ ...schedule.reason === "e2ee_machine_not_shared" ? { reason: "e2ee_machine_not_shared" } : schedule.reason === "e2ee_signature_missing" || schedule.reason === "e2ee_signature_invalid" ? { reason: schedule.reason } : {}
356
349
  };
357
350
  scheduleCurrent = schedule.isCurrent;
358
351
  authorization = yield* authorizeTargets(authorizeExecution);
@@ -365,13 +358,13 @@ function makeEncryptedAgentExecution(options) {
365
358
  }
366
359
  }
367
360
  retained = yield* attempt(read);
368
- if (retained && verified.expiresAt < retained.expiresAt) return { state: "denied" };
369
- if (retained && retained.requester !== verified.requesterDevice)
361
+ if (retained && retained.state !== "received") return { state: retained.state };
362
+ if (retained && (retained.requester !== verified.requesterDevice || !Buffer.from(retained.frame).equals(frame)))
370
363
  return yield* fail(new RealtimeJournalError("identity_conflict"));
371
364
  const request = retained ?? {
372
365
  ...key,
373
366
  requester: verified.requesterDevice,
374
- expiresAt: verified.expiresAt,
367
+ expiresAt: 0,
375
368
  frame
376
369
  };
377
370
  const executionCurrent = authorization.isCurrent;
@@ -386,6 +379,7 @@ function makeEncryptedAgentExecution(options) {
386
379
  return { state: "denied" };
387
380
  journal.receive(request);
388
381
  const result = journal.claim(request);
382
+ if (result.state === "expired") return { state: "denied" };
389
383
  if (result.state === "claimed") {
390
384
  if (originKey) derivedClaims.set(originKey, (derivedClaims.get(originKey) ?? 0) + 1);
391
385
  try {
@@ -402,18 +396,40 @@ function makeEncryptedAgentExecution(options) {
402
396
  };
403
397
  });
404
398
  });
399
+ const retire = (input) => attempt(() => {
400
+ const journal = options.journal();
401
+ const key = {
402
+ genesis: options.genesis,
403
+ workspaceId: options.workspaceId,
404
+ targetMachineId: options.targetMachineId,
405
+ requestId: `agent-start:${input.userTurnId}`
406
+ };
407
+ if (journal.read(key)) return;
408
+ const request = {
409
+ ...key,
410
+ requester: "retired",
411
+ expiresAt: 0,
412
+ frame: Buffer.from(JSON.stringify([2, input.sessionId, input.userTurnId, null]))
413
+ };
414
+ journal.receive(request);
415
+ const claimed = journal.claim(request);
416
+ if (claimed.state === "claimed")
417
+ journal.finish(claimed.permit, Buffer.from('{"state":"retired"}'));
418
+ });
405
419
  const complete = (permit) => attempt(() => {
406
420
  options.journal().finish(permit, Buffer.from('{"state":"settled"}'));
407
421
  });
408
422
  return {
409
423
  claim,
410
424
  complete,
425
+ retire,
411
426
  classifyOrigin,
412
427
  authorizeAgentControl,
413
428
  automationEvidence,
414
429
  resolveRequester,
415
430
  verifyRequesterAccess,
416
- verifyMachineTarget
431
+ verifyMachineTarget,
432
+ subscribeEvidence: options.subscribeEvidence
417
433
  };
418
434
  }
419
435
  function lazyExecutionJournal(filename, now) {
@@ -436,4 +452,4 @@ export {
436
452
  lazyExecutionJournal,
437
453
  makeEncryptedAgentExecution
438
454
  };
439
- //# sourceMappingURL=agent-execution-ecK9PEXS.js.map
455
+ //# sourceMappingURL=agent-execution-DvcAeTKP.js.map
@@ -2,8 +2,8 @@ import fs__default from "node:fs/promises";
2
2
  import path__default from "node:path";
3
3
  import { randomUUID, createHash } from "node:crypto";
4
4
  import { gunzipSync } from "node:zlib";
5
- import { g as getLodyDataDir } from "./process-options-CHoYaJLg.js";
6
- import { d4 as ManagedDaemonUpgradeOptionsSchema, d5 as DaemonReleaseSchema, d6 as resolveRuntimeArtifactsBaseUrl } from "./telemetry-zL4wgSQ8.js";
5
+ import { g as getLodyDataDir } from "./process-options-D6o2SQzg.js";
6
+ import { d7 as ManagedDaemonUpgradeOptionsSchema, d8 as DaemonReleaseSchema, d9 as resolveRuntimeArtifactsBaseUrl } from "./telemetry-DeVdV56-.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}$/);
@@ -423,7 +423,6 @@ function createDaemonLossTasks(enabled = daemonLossProbeEnabled, changed = daemo
423
423
  };
424
424
  }
425
425
  const MAX_DERIVED_TURNS_PER_ORIGIN = 20;
426
- const DERIVED_START_GRACE_MS = 15 * 6e4;
427
426
  function decideEncryptedDerivation(input) {
428
427
  if (input.live === "owner") return "owner";
429
428
  if (input.verified === "owner" && input.live === void 0) return "owner";
@@ -456,7 +455,6 @@ const authorityTimeLeft = (start, now, limitMs) => {
456
455
  return limitMs - Math.max(wall, monotonic);
457
456
  };
458
457
  export {
459
- DERIVED_START_GRACE_MS as D,
460
458
  MAX_DERIVED_TURNS_PER_ORIGIN as M,
461
459
  authorityClocksAgree as a,
462
460
  authorityStamp as b,
@@ -477,4 +475,4 @@ export {
477
475
  saveManagedOperation as s,
478
476
  withinAuthorityLimit as w
479
477
  };
480
- //# sourceMappingURL=authority-clock-B0E0xXzM.js.map
478
+ //# sourceMappingURL=authority-clock-Bh0uv5CJ.js.map
@@ -1,10 +1,10 @@
1
- import { s as startProcessLegacy, t as terminateChildTreeLegacy, b as runCommand, p as processLayer } from "./process-C4E1E8qi.js";
1
+ import { s as startProcessLegacy, t as terminateChildTreeLegacy, b as runCommand, p as processLayer } from "./process-BCSHY0B0.js";
2
2
  import { createServer } from "node:net";
3
3
  import { setTimeout as setTimeout$1 } from "node:timers/promises";
4
4
  import { mkdtemp, writeFile, rm } from "node:fs/promises";
5
5
  import { tmpdir } from "node:os";
6
6
  import { join } from "node:path";
7
- import { cz as runPromise, bG as raceAll, v as promise, J as sleep, ak as provide } from "./chunks/vendor-effect-ygutZ0OR.js";
7
+ import { cz as runPromise, bG as raceAll, v as promise, J as sleep, ak as provide } from "./chunks/vendor-effect-PvNFaBIH.js";
8
8
  import { c as string, o as object, u as union, g as _enum, n as number, a as literal } from "./chunks/vendor-zod-CBWGVFD-.js";
9
9
  import { I as IosSimulatorDeviceControlSchema } from "./ios-simulator-BJjtVdO8.js";
10
10
  import "node:child_process";
@@ -20,7 +20,7 @@ import "fs";
20
20
  import "./chunks/vendor-path-key-Dc8-E0k2.js";
21
21
  import "./chunks/vendor-shebang-command-CiljJy-j.js";
22
22
  import "./chunks/vendor-shebang-regex-CzQXTLh9.js";
23
- import "./chunks/vendor-@effect-platform-node-shared-BkNtLuZm.js";
23
+ import "./chunks/vendor-@effect-platform-node-shared-2lBwiIzn.js";
24
24
  import "node:stream";
25
25
  import "node:buffer";
26
26
  import "node:tls";
@@ -1,4 +1,4 @@
1
- import { al as fromChannel, am as mapDone, an as fromTransform, a1 as succeed, K as flatMap, ao as callback, M as sync, L as void_, ap as forever, aq as identity, ar as catchDone, as as done, A as raceFirst, b as fail, at as fromChannel$1, au as make, av as as, aw as addFinalizer, S as fail$1, $ as suspend, ax as makeUnsafe, ay as of, az as UnknownError, aA as Done, aB as systemError, aj as effect, aC as FileSystem, a2 as map, aD as serviceOption, aE as WatchBackend, aF as make$1, aG as tryPromise, aH as acquireRelease, ab as orDie, aI as flatMap$1, aJ as getOrElse, aK as unwrap, aL as badArgument, aM as effectify, w as try_, aN as some, aO as bytes, aP as none, aQ as fromNullishOr, aR as pipe, f as fnUntraced, aS as callback$1, aT as toNumber, aU as FileTypeId, aV as offerUnsafe, aW as runFork, aX as matchEffect, aY as offer, aZ as failCauseUnsafe, X as fail$2, a_ as endUnsafe } from "./vendor-effect-ygutZ0OR.js";
1
+ import { al as fromChannel, am as mapDone, an as fromTransform, a1 as succeed, K as flatMap, ao as callback, M as sync, L as void_, ap as forever, aq as identity, ar as catchDone, as as done, A as raceFirst, b as fail, at as fromChannel$1, au as make, av as as, aw as addFinalizer, S as fail$1, $ as suspend, ax as makeUnsafe, ay as of, az as UnknownError, aA as Done, aB as systemError, aj as effect, aC as FileSystem, a2 as map, aD as serviceOption, aE as WatchBackend, aF as make$1, aG as tryPromise, aH as acquireRelease, ab as orDie, aI as flatMap$1, aJ as getOrElse, aK as unwrap, aL as badArgument, aM as effectify, w as try_, aN as some, aO as bytes, aP as none, aQ as fromNullishOr, aR as pipe, f as fnUntraced, aS as callback$1, aT as toNumber, aU as FileTypeId, aV as offerUnsafe, aW as runFork, aX as matchEffect, aY as offer, aZ as failCauseUnsafe, X as fail$2, a_ as endUnsafe } from "./vendor-effect-PvNFaBIH.js";
2
2
  import "node:stream";
3
3
  import "node:child_process";
4
4
  import "node:buffer";
@@ -579,4 +579,4 @@ export {
579
579
  fromWritable as f,
580
580
  layer as l
581
581
  };
582
- //# sourceMappingURL=vendor-@effect-platform-node-shared-BkNtLuZm.js.map
582
+ //# sourceMappingURL=vendor-@effect-platform-node-shared-2lBwiIzn.js.map
@@ -1,4 +1,4 @@
1
- import { h as gen, m as make, aw as addFinalizer, p as provide, a as make$1, a$ as make$2, b0 as cached, W as run, j as exit, N as close, O as void_, Z as tap, M as sync, k as isFailure, c as combine, b1 as andThen, b2 as succeed, R as asVoid, a9 as empty, I as doneUnsafe, L as void_$1, X as fail, b3 as isPromise, $ as suspend, i as interrupt, aG as tryPromise, b4 as catchIf, b5 as add, E as isSuccess, D as hasInterruptsOnly, K as flatMap, P as join, b6 as forEach, _ as _await, b7 as isDoneUnsafe, Q as interruptible, a3 as TaggedError, a4 as Service, a0 as succeed$1, a1 as succeed$2, a5 as Reference, f as fnUntraced, C as Clock, d as die, b8 as make$3, b as fail$1, e as make$4, aH as acquireRelease, v as promise, B as failCause, ab as orDie, u as mapError, ag as HttpClientError, ah as TransportError, A as raceFirst, J as sleep$1, z as makeUnsafe, y as timeoutOrElse, ao as callback, b9 as all, ad as ensuring, V as addFinalizer$1, U as catchCause, Y as uninterruptibleMask, S as fail$2, n as done, ba as failCause$1, af as fromWeb, bb as onExit, bc as acquireUseRelease, a7 as await_, bd as annotateCurrentSpan, be as withSpan, bf as onInterrupt, G as findErrorOption, o as make$5, bg as setHeaders, r as bearerToken, s as setHeader, t as provideService, T as TracerDisabledWhen } from "./vendor-effect-ygutZ0OR.js";
1
+ import { h as gen, m as make, aw as addFinalizer, p as provide, a as make$1, a$ as make$2, b0 as cached, W as run, j as exit, N as close, O as void_, Z as tap, M as sync, k as isFailure, c as combine, b1 as andThen, b2 as succeed, R as asVoid, a9 as empty, I as doneUnsafe, L as void_$1, X as fail, b3 as isPromise, $ as suspend, i as interrupt, aG as tryPromise, b4 as catchIf, b5 as add, E as isSuccess, D as hasInterruptsOnly, K as flatMap, P as join, b6 as forEach, _ as _await, b7 as isDoneUnsafe, Q as interruptible, a3 as TaggedError, a4 as Service, a0 as succeed$1, a1 as succeed$2, a5 as Reference, f as fnUntraced, C as Clock, d as die, b8 as make$3, b as fail$1, e as make$4, aH as acquireRelease, v as promise, B as failCause, ab as orDie, u as mapError, ag as HttpClientError, ah as TransportError, A as raceFirst, J as sleep$1, z as makeUnsafe, y as timeoutOrElse, ao as callback, b9 as all, ad as ensuring, V as addFinalizer$1, U as catchCause, Y as uninterruptibleMask, S as fail$2, n as done, ba as failCause$1, af as fromWeb, bb as onExit, bc as acquireUseRelease, a7 as await_, bd as annotateCurrentSpan, be as withSpan, bf as onInterrupt, G as findErrorOption, o as make$5, bg as setHeaders, r as bearerToken, s as setHeader, t as provideService, T as TracerDisabledWhen } from "./vendor-effect-PvNFaBIH.js";
2
2
  const NETWORK_CODES = /* @__PURE__ */ new Set([
3
3
  "ENOTFOUND",
4
4
  "EAI_AGAIN",
@@ -3279,4 +3279,4 @@ export {
3279
3279
  safeRequestId as s,
3280
3280
  thrownToStreamError as t
3281
3281
  };
3282
- //# sourceMappingURL=vendor-@loro-dev-streams-client-DzUskix-.js.map
3282
+ //# sourceMappingURL=vendor-@loro-dev-streams-client-1Yj3RVKk.js.map
@@ -1,5 +1,5 @@
1
- import { I as IoOwner, r as readSseEvents, d as decodeSsePayload, n as networkErrorCode, s as safeRequestId, S as StreamsClient, t as thrownToStreamError, c as createDiagnosticId } from "./vendor-@loro-dev-streams-client-DzUskix-.js";
2
- import { f as fnUntraced, C as Clock, d as die, m as make, p as provide, a as make$1, b as fail, c as combine, i as interrupt, e as make$2, g as forkIn, h as gen, j as exit, k as isFailure, l as fail$1, n as done, _ as _await, o as make$3, s as setHeader, q as bodyUint8Array, r as bearerToken, t as provideService, T as TracerDisabledWhen, u as mapError, v as promise, w as try_, x as never, y as timeoutOrElse, z as makeUnsafe, A as raceFirst, B as failCause, D as hasInterruptsOnly, E as isSuccess, F as yieldNow, G as findErrorOption, H as currentTimeMillis, I as doneUnsafe, J as sleep$1, K as flatMap, L as void_, M as sync, N as close, O as void_$1, P as join, Q as interruptible, R as asVoid, S as fail$2, U as catchCause, V as addFinalizer, W as run$1, X as fail$3, Y as uninterruptibleMask, Z as tap, $ as suspend, a0 as succeed, a1 as succeed$1, a2 as map, a3 as TaggedError, a4 as Service, a5 as Reference, a6 as isTimeoutError, a7 as await_, a8 as catch_, a9 as empty, aa as uninterruptible, ab as orDie, ac as makeUnsafe$1, ad as ensuring, ae as logDebug, af as fromWeb, ag as HttpClientError, ah as TransportError, ai as make$4, aj as effect, ak as provide$1 } from "./vendor-effect-ygutZ0OR.js";
1
+ import { I as IoOwner, r as readSseEvents, d as decodeSsePayload, n as networkErrorCode, s as safeRequestId, S as StreamsClient, t as thrownToStreamError, c as createDiagnosticId } from "./vendor-@loro-dev-streams-client-1Yj3RVKk.js";
2
+ import { f as fnUntraced, C as Clock, d as die, m as make, p as provide, a as make$1, b as fail, c as combine, i as interrupt, e as make$2, g as forkIn, h as gen, j as exit, k as isFailure, l as fail$1, n as done, _ as _await, o as make$3, s as setHeader, q as bodyUint8Array, r as bearerToken, t as provideService, T as TracerDisabledWhen, u as mapError, v as promise, w as try_, x as never, y as timeoutOrElse, z as makeUnsafe, A as raceFirst, B as failCause, D as hasInterruptsOnly, E as isSuccess, F as yieldNow, G as findErrorOption, H as currentTimeMillis, I as doneUnsafe, J as sleep$1, K as flatMap, L as void_, M as sync, N as close, O as void_$1, P as join, Q as interruptible, R as asVoid, S as fail$2, U as catchCause, V as addFinalizer, W as run$1, X as fail$3, Y as uninterruptibleMask, Z as tap, $ as suspend, a0 as succeed, a1 as succeed$1, a2 as map, a3 as TaggedError, a4 as Service, a5 as Reference, a6 as isTimeoutError, a7 as await_, a8 as catch_, a9 as empty, aa as uninterruptible, ab as orDie, ac as makeUnsafe$1, ad as ensuring, ae as logDebug, af as fromWeb, ag as HttpClientError, ah as TransportError, ai as make$4, aj as effect, ak as provide$1 } from "./vendor-effect-PvNFaBIH.js";
3
3
  import { f as LoroDoc, V as VersionVector, g as decodeImportBlobMeta } from "./vendor-loro-crdt-CcUjyH5H.js";
4
4
  import { F as Flock } from "./vendor-@loro-dev-flock-wasm-s93aGRSx.js";
5
5
  var __defProp = Object.defineProperty;
@@ -6324,4 +6324,4 @@ export {
6324
6324
  isValidRillId as i,
6325
6325
  makeEphemeralStream as m
6326
6326
  };
6327
- //# sourceMappingURL=vendor-@loro-dev-streams-crdt-DHMQIzWN.js.map
6327
+ //# sourceMappingURL=vendor-@loro-dev-streams-crdt-T5Tehg_z.js.map
@@ -1,5 +1,5 @@
1
1
  import { p as parse$1 } from "./vendor-acorn-FBr7vWTA.js";
2
- import { a5 as Reference, bh as TaggedError, bi as String$1, bj as optionalKey, bk as Defect, bl as toJsonSchemaDocument, bm as isSchema, bn as parseUriFragment, bo as toType, bp as decodeUnknownSync, $ as suspend, h as gen, w as try_, M as sync, U as catchCause, D as hasInterruptsOnly, i as interrupt, b as fail, bq as prettyErrors, br as format, bb as onExit, E as isSuccess, bs as squash, b1 as andThen, bt as Struct, bu as NullOr, bv as ArraySchema, bw as Int, bx as isGreaterThanOrEqualTo, by as isGreaterThan, L as void_, bz as undefined_, bA as isEffect, a1 as succeed, a2 as map, K as flatMap, j as exit, B as failCause, b6 as forEach, g as forkIn, bB as catchDefect, d as die, a7 as await_, R as asVoid, bC as interruptAll, bD as withFiber, ao as callback, ad as ensuring, Y as uninterruptibleMask, k as isFailure, Z as tap, F as yieldNow, av as as, I as doneUnsafe, S as fail$1, _ as _await, z as makeUnsafe, bE as succeed$1, b9 as all, bF as flatten, bG as raceAll, a8 as catch_, bH as matchCauseEffect, bI as isInterruptReason, t as provideService, b7 as isDoneUnsafe, y as timeoutOrElse, bc as acquireUseRelease, N as close, m as make$3, aG as tryPromise, u as mapError, bJ as Literals, bK as Number$1, bL as Json, bM as Boolean$1, bN as Literal, bO as Union, bP as decodeUnknownOption, bQ as fromJsonString, bR as Unknown } from "./vendor-effect-ygutZ0OR.js";
2
+ import { a5 as Reference, bh as TaggedError, bi as String$1, bj as optionalKey, bk as Defect, bl as toJsonSchemaDocument, bm as isSchema, bn as parseUriFragment, bo as toType, bp as decodeUnknownSync, $ as suspend, h as gen, w as try_, M as sync, U as catchCause, D as hasInterruptsOnly, i as interrupt, b as fail, bq as prettyErrors, br as format, bb as onExit, E as isSuccess, bs as squash, b1 as andThen, bt as Struct, bu as NullOr, bv as ArraySchema, bw as Int, bx as isGreaterThanOrEqualTo, by as isGreaterThan, L as void_, bz as undefined_, bA as isEffect, a1 as succeed, a2 as map, K as flatMap, j as exit, B as failCause, b6 as forEach, g as forkIn, bB as catchDefect, d as die, a7 as await_, R as asVoid, bC as interruptAll, bD as withFiber, ao as callback, ad as ensuring, Y as uninterruptibleMask, k as isFailure, Z as tap, F as yieldNow, av as as, I as doneUnsafe, S as fail$1, _ as _await, z as makeUnsafe, bE as succeed$1, b9 as all, bF as flatten, bG as raceAll, a8 as catch_, bH as matchCauseEffect, bI as isInterruptReason, t as provideService, b7 as isDoneUnsafe, y as timeoutOrElse, bc as acquireUseRelease, N as close, m as make$3, aG as tryPromise, u as mapError, bJ as Literals, bK as Number$1, bL as Json, bM as Boolean$1, bN as Literal, bO as Union, bP as decodeUnknownOption, bQ as fromJsonString, bR as Unknown } from "./vendor-effect-PvNFaBIH.js";
3
3
  const CallSite = Reference("codemode/CallSite", {
4
4
  defaultValue: () => ({ depth: 0 })
5
5
  });
@@ -7212,4 +7212,4 @@ export {
7212
7212
  make as a,
7213
7213
  make$2 as m
7214
7214
  };
7215
- //# sourceMappingURL=vendor-@opencode-codemode-B9CuiPYU.js.map
7215
+ //# sourceMappingURL=vendor-@opencode-codemode-C3CJ-7sd.js.map
@@ -14547,7 +14547,7 @@ export {
14547
14547
  MinimumLogLevel as cy,
14548
14548
  runPromise as cz,
14549
14549
  die as d,
14550
- min as d$,
14550
+ getAndUpdate as d$,
14551
14551
  set$3 as d0,
14552
14552
  union$1 as d1,
14553
14553
  remove$3 as d2,
@@ -14558,84 +14558,84 @@ export {
14558
14558
  isPattern as d7,
14559
14559
  Uint8Array$2 as d8,
14560
14560
  decodeUnknownResult as d9,
14561
- onError as dA,
14562
- buildWithScope as dB,
14563
- runSync$1 as dC,
14564
- match as dD,
14565
- tapCause as dE,
14566
- delay as dF,
14567
- die$2 as dG,
14568
- hasDies as dH,
14569
- die$1 as dI,
14570
- isCause as dJ,
14571
- pretty as dK,
14572
- sync$1 as dL,
14573
- modify$1 as dM,
14574
- getUnsafe as dN,
14575
- make$5 as dO,
14576
- context as dP,
14577
- ignoreCause as dQ,
14578
- provideContext as dR,
14579
- timeoutOption as dS,
14580
- TimeoutError2 as dT,
14581
- unbounded as dU,
14582
- update as dV,
14583
- toStepWithMetadata as dW,
14584
- forever$1 as dX,
14585
- modifyDelay as dY,
14586
- getAndUpdate as dZ,
14587
- Effect as d_,
14561
+ build as dA,
14562
+ get$4 as dB,
14563
+ makeUnsafe$2 as dC,
14564
+ buildWithScope as dD,
14565
+ runSync$1 as dE,
14566
+ match as dF,
14567
+ tapCause as dG,
14568
+ delay as dH,
14569
+ die$2 as dI,
14570
+ hasDies as dJ,
14571
+ die$1 as dK,
14572
+ isCause as dL,
14573
+ pretty as dM,
14574
+ sync$1 as dN,
14575
+ modify$1 as dO,
14576
+ getUnsafe as dP,
14577
+ make$5 as dQ,
14578
+ context as dR,
14579
+ ignoreCause as dS,
14580
+ provideContext as dT,
14581
+ timeoutOption as dU,
14582
+ TimeoutError2 as dV,
14583
+ unbounded as dW,
14584
+ update as dX,
14585
+ toStepWithMetadata as dY,
14586
+ forever$1 as dZ,
14587
+ modifyDelay as d_,
14588
14588
  optional as da,
14589
14589
  catchTag as db,
14590
14590
  Tuple as dc,
14591
14591
  instanceOf as dd,
14592
14592
  monotonicTimeNanos as de,
14593
- timeout as df,
14594
- dropping as dg,
14595
- take$2 as dh,
14596
- hasInterrupts as di,
14597
- retry as dj,
14598
- spaced as dk,
14593
+ dropping as df,
14594
+ take$2 as dg,
14595
+ hasInterrupts as dh,
14596
+ retry as di,
14597
+ spaced as dj,
14598
+ timeout as dk,
14599
14599
  interrupt$2 as dl,
14600
- tapError as dm,
14601
- mergeAll as dn,
14602
- map$8 as dp,
14603
- isNone as dq,
14604
- isMinLength as dr,
14605
- isMaxLength as ds,
14606
- declare as dt,
14607
- isResult as du,
14608
- Scope as dv,
14609
- fromReasons as dw,
14610
- build as dx,
14611
- get$4 as dy,
14612
- makeUnsafe$2 as dz,
14600
+ take$1 as dm,
14601
+ onError as dn,
14602
+ release as dp,
14603
+ tapError as dq,
14604
+ mergeAll as dr,
14605
+ map$8 as ds,
14606
+ isNone as dt,
14607
+ isMinLength as du,
14608
+ isMaxLength as dv,
14609
+ declare as dw,
14610
+ isResult as dx,
14611
+ Scope as dy,
14612
+ fromReasons as dz,
14613
14613
  make2 as e,
14614
- exponential as e0,
14615
- mapEffect as e1,
14616
- filter as e2,
14617
- take as e3,
14618
- runDrain as e4,
14619
- make$c as e5,
14620
- shutdown as e6,
14621
- makeDieReason as e7,
14622
- makeUnsafe$6 as e8,
14623
- minutes as e9,
14624
- jittered as ea,
14625
- while_ as eb,
14626
- isDone as ec,
14627
- tap as ed,
14628
- map as ee,
14629
- runHead as ef,
14630
- getOrThrow$1 as eg,
14631
- exists as eh,
14632
- repeat as ei,
14633
- next as ej,
14634
- takeBetween as ek,
14635
- unwrap$3 as el,
14636
- bounded as em,
14637
- take$1 as en,
14638
- release as eo,
14614
+ Effect as e0,
14615
+ min as e1,
14616
+ exponential as e2,
14617
+ mapEffect as e3,
14618
+ filter as e4,
14619
+ take as e5,
14620
+ runDrain as e6,
14621
+ make$c as e7,
14622
+ shutdown as e8,
14623
+ makeDieReason as e9,
14624
+ makeUnsafe$6 as ea,
14625
+ minutes as eb,
14626
+ jittered as ec,
14627
+ while_ as ed,
14628
+ isDone as ee,
14629
+ tap as ef,
14630
+ map as eg,
14631
+ runHead as eh,
14632
+ getOrThrow$1 as ei,
14633
+ exists as ej,
14634
+ repeat as ek,
14635
+ next as el,
14636
+ takeBetween as em,
14637
+ unwrap$3 as en,
14638
+ bounded as eo,
14639
14639
  withPermits as ep,
14640
14640
  Record as eq,
14641
14641
  index as er,
@@ -14661,4 +14661,4 @@ export {
14661
14661
  timeoutOrElse as y,
14662
14662
  makeUnsafe$5 as z
14663
14663
  };
14664
- //# sourceMappingURL=vendor-effect-ygutZ0OR.js.map
14664
+ //# sourceMappingURL=vendor-effect-PvNFaBIH.js.map