effect-agent 0.1.0-beta.95 → 0.1.0-beta.97

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 (124) hide show
  1. package/dist/{AgentRuntime-CufqQ4JM.d.mts → AgentRuntime-B64362Id.d.mts} +2 -2
  2. package/dist/AgentRuntime-Cdvqw7l_.mjs.map +1 -1
  3. package/dist/{DurableAgentRuntime-BaGsWDHO.mjs → DurableAgentRuntime-DbUvZHDZ.mjs} +82 -66
  4. package/dist/DurableAgentRuntime-DbUvZHDZ.mjs.map +1 -0
  5. package/dist/DurableFailpoint-DQJet828.d.mts +41 -0
  6. package/dist/{EventSource-DVfX1GRH.d.mts → EventSource-D6PAAEyK.d.mts} +3 -3
  7. package/dist/{PreparedInputAdmission-DoWaMC2R.d.mts → PreparedInputAdmission-omMbwd--.d.mts} +4 -4
  8. package/dist/{Records-CsEsSW2o.mjs → Records-BAutSSnJ.mjs} +18 -5
  9. package/dist/Records-BAutSSnJ.mjs.map +1 -0
  10. package/dist/{Records-B84j3Jq_.d.mts → Records-CV49DgQK.d.mts} +90 -16
  11. package/dist/{RunJournal-yYpUlTOE.mjs → RunJournal-DRRRZmG7.mjs} +8 -3
  12. package/dist/RunJournal-DRRRZmG7.mjs.map +1 -0
  13. package/dist/{RunOptions-CE-G3niT.d.mts → RunOptions-Clj8cLsp.d.mts} +4 -4
  14. package/dist/{Schedule-DCYBfhgT.d.mts → Schedule-DePbGfgd.d.mts} +2 -2
  15. package/dist/{Scheduling-CUuYc3-D.mjs → Scheduling-C3QpYn0W.mjs} +2 -2
  16. package/dist/{Scheduling-CUuYc3-D.mjs.map → Scheduling-C3QpYn0W.mjs.map} +1 -1
  17. package/dist/{Subagent-DscbtbNY.d.mts → Subagent-Bm1dRecN.d.mts} +3 -3
  18. package/dist/{Subscription-C8IHdmFk.d.mts → Subscription-BR_8Cxh3.d.mts} +3 -3
  19. package/dist/{SubscriptionInput-DhM3jUW2.d.mts → SubscriptionInput-B95sQbuk.d.mts} +3 -3
  20. package/dist/agent-registration-CXGDwvJH.mjs +379 -0
  21. package/dist/agent-registration-CXGDwvJH.mjs.map +1 -0
  22. package/dist/capabilities/Commands.d.mts +1 -1
  23. package/dist/capabilities/RunHooks.d.mts +1 -1
  24. package/dist/capabilities/Subagent.d.mts +1 -1
  25. package/dist/durable/ActivityStore.d.mts +1 -1
  26. package/dist/durable/ActivityStore.mjs +1 -1
  27. package/dist/durable/Admin.d.mts +1 -1
  28. package/dist/durable/Admin.mjs +1 -1
  29. package/dist/durable/AgentRegistration.d.mts +2 -2
  30. package/dist/durable/AgentRegistration.mjs +7 -3
  31. package/dist/durable/AgentRegistration.mjs.map +1 -1
  32. package/dist/durable/Certification.d.mts +2 -2
  33. package/dist/durable/CommittedActivity.d.mts +1 -1
  34. package/dist/durable/CommittedActivity.mjs +1 -1
  35. package/dist/durable/Digest.d.mts +1 -1
  36. package/dist/durable/Digest.mjs +1 -1
  37. package/dist/durable/DurableAgentRuntime.d.mts +1 -1
  38. package/dist/durable/DurableAgentRuntime.mjs +1 -1
  39. package/dist/durable/DurableFailpoint.d.mts +1 -1
  40. package/dist/durable/DurableFailpoint.mjs +2 -0
  41. package/dist/durable/DurableFailpoint.mjs.map +1 -1
  42. package/dist/durable/DurableFailpointTestControl.d.mts +1 -1
  43. package/dist/durable/EventSource.d.mts +1 -1
  44. package/dist/durable/EventSource.mjs +1 -1
  45. package/dist/durable/GitHubWorkflowSource.d.mts +3 -3
  46. package/dist/durable/GitHubWorkflowSource.mjs +1 -1
  47. package/dist/durable/MessageDelivery.d.mts +3 -3
  48. package/dist/durable/MessageDelivery.mjs +1 -1
  49. package/dist/durable/MessageDeliveryStoreConformance.d.mts +39 -39
  50. package/dist/durable/MessageDeliveryStoreConformance.mjs +1 -1
  51. package/dist/durable/PersistentHistory.d.mts +1 -1
  52. package/dist/durable/PersistentHistory.mjs +2 -2
  53. package/dist/durable/PreparedInputAdmission.d.mts +1 -1
  54. package/dist/durable/Records.d.mts +2 -2
  55. package/dist/durable/Records.mjs +2 -2
  56. package/dist/durable/Recovery.d.mts +1 -1
  57. package/dist/durable/Recovery.mjs +1 -1
  58. package/dist/durable/RunJournal.d.mts +2 -2
  59. package/dist/durable/RunJournal.mjs +2 -2
  60. package/dist/durable/Schedule.d.mts +1 -1
  61. package/dist/durable/Schedule.mjs +1 -1
  62. package/dist/durable/ScheduleStoreConformance.d.mts +1 -1
  63. package/dist/durable/ScheduleStoreConformance.mjs +1 -1
  64. package/dist/durable/ScheduleTransition.d.mts +1 -1
  65. package/dist/durable/ScheduleTransition.mjs +1 -1
  66. package/dist/durable/Scheduling.d.mts +2 -2
  67. package/dist/durable/Scheduling.mjs +1 -1
  68. package/dist/durable/SqlStorageV2Upgrade.d.mts +2 -2
  69. package/dist/durable/SqlStorageV2Upgrade.mjs +1 -1
  70. package/dist/durable/SqlSubscriptionStore.d.mts +2 -2
  71. package/dist/durable/SqlSubscriptionStore.mjs +1 -1
  72. package/dist/durable/SubmissionLedger.d.mts +1 -1
  73. package/dist/durable/SubmissionLedger.mjs +1 -1
  74. package/dist/durable/SubmissionLedgerConformance.d.mts +1 -1
  75. package/dist/durable/SubmissionLedgerConformance.mjs +1 -1
  76. package/dist/durable/SubmissionStatus.d.mts +1 -1
  77. package/dist/durable/Subscription.d.mts +1 -1
  78. package/dist/durable/Subscription.mjs +1 -1
  79. package/dist/durable/SubscriptionInput.d.mts +1 -1
  80. package/dist/durable/SubscriptionInput.mjs +2 -2
  81. package/dist/durable/SubscriptionStoreConformance.d.mts +1 -1
  82. package/dist/durable/SubscriptionStoreConformance.mjs +1 -1
  83. package/dist/durable/SubscriptionTools.d.mts +3 -3
  84. package/dist/durable/SubscriptionTransition.d.mts +1 -1
  85. package/dist/durable/SubscriptionTransition.mjs +1 -1
  86. package/dist/durable/Subscriptions.d.mts +5 -5
  87. package/dist/durable/Subscriptions.mjs +1 -1
  88. package/dist/durable/ThreadContextHistory.d.mts +1 -1
  89. package/dist/durable/ThreadContextHistory.mjs +1 -1
  90. package/dist/durable/ThreadContextHistoryProjection.d.mts +1 -1
  91. package/dist/durable/ThreadContextHistoryProjection.mjs +1 -1
  92. package/dist/durable/ThreadInvariants.d.mts +1 -1
  93. package/dist/durable/ThreadInvariants.mjs +1 -1
  94. package/dist/durable/ThreadProjection.d.mts +1 -1
  95. package/dist/durable/ThreadProjection.mjs +1 -1
  96. package/dist/durable/ThreadProjectionMaintenance.d.mts +1 -1
  97. package/dist/durable/ThreadStore.d.mts +1 -1
  98. package/dist/durable/ThreadStore.mjs +1 -1
  99. package/dist/durable/ThreadStoreConformance.d.mts +1 -1
  100. package/dist/durable/ThreadStoreConformance.mjs +1 -1
  101. package/dist/durable/ToolReconciler.mjs +1 -1
  102. package/dist/durable/WorkerHost.d.mts +1 -1
  103. package/dist/engine/AgentRuntime.d.mts +1 -1
  104. package/dist/engine/RunOptions.d.mts +1 -1
  105. package/dist/engine/RunOptions.mjs.map +1 -1
  106. package/dist/index.d.mts +10 -10
  107. package/dist/index.mjs +4 -4
  108. package/package.json +1 -1
  109. package/src/durable/AgentRegistration.ts +5 -0
  110. package/src/durable/DurableAgentRuntime.ts +155 -84
  111. package/src/durable/DurableFailpoint.ts +2 -0
  112. package/src/durable/Records.ts +19 -2
  113. package/src/durable/RunJournal.ts +6 -0
  114. package/src/durable/internal/agent-registration.ts +427 -14
  115. package/src/durable/internal/messaging-host.ts +3 -6
  116. package/src/durable/internal/worker-host.ts +114 -88
  117. package/src/engine/RunOptions.ts +3 -3
  118. package/src/engine/internal/agent-runtime.ts +3 -4
  119. package/dist/DurableAgentRuntime-BaGsWDHO.mjs.map +0 -1
  120. package/dist/DurableFailpoint-Oinuuedm.d.mts +0 -41
  121. package/dist/Records-CsEsSW2o.mjs.map +0 -1
  122. package/dist/RunJournal-yYpUlTOE.mjs.map +0 -1
  123. package/dist/agent-registration-CWDMOAZA.mjs +0 -172
  124. package/dist/agent-registration-CWDMOAZA.mjs.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
2
- import { O as RecordEnvelope, T as PersistedJson, c as CanonicalRecordEnvelope, u as CanonicalSequence } from "../Records-CsEsSW2o.mjs";
2
+ import { O as RecordEnvelope, T as PersistedJson, c as CanonicalRecordEnvelope, u as CanonicalSequence } from "../Records-BAutSSnJ.mjs";
3
3
  import { ActivityClaim, ActivityClaimRequest, ActivityProcessorKey, ActivityProcessorStore, PreparedActivity } from "./ActivityStore.mjs";
4
4
  import { digestJson } from "./Digest.mjs";
5
5
  import { ThreadRead, ThreadStore, ThreadTail, ThreadTailRequest } from "./ThreadStore.mjs";
@@ -1,2 +1,2 @@
1
- import { Gr as digestDefinition, Kr as digestDefinitions, Ur as EMPTY_TAIL_DIGEST, Vr as DigestError, Wr as digestCanonicalBatch, qr as digestJson } from "../Records-B84j3Jq_.mjs";
1
+ import { $r as digestCanonicalBatch, Qr as EMPTY_TAIL_DIGEST, Xr as DigestError, ei as digestDefinition, ni as digestJson, ti as digestDefinitions } from "../Records-CV49DgQK.mjs";
2
2
  export { DigestError, EMPTY_TAIL_DIGEST, digestCanonicalBatch, digestDefinition, digestDefinitions, digestJson };
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
2
- import { h as Digest, o as CanonicalBatch, p as DefinitionDigests } from "../Records-CsEsSW2o.mjs";
2
+ import { h as Digest, o as CanonicalBatch, p as DefinitionDigests } from "../Records-BAutSSnJ.mjs";
3
3
  import { Array, Crypto, Effect, Encoding, Schema } from "effect";
4
4
  //#region src/durable/Digest.ts
5
5
  var Digest_exports = /* @__PURE__ */ __exportAll({
@@ -1,3 +1,3 @@
1
1
  import { a as Receipt } from "../Receipt-BAHyigAF.mjs";
2
- import { At as DurableWorkerFailure, Ct as DurableRetryFailure, Dt as DurableSubmitFailure, Et as DurableSubmitAgent, Ft as recoveryRepairRecordId, It as threadCreatedBatchId, Lt as threadCreatedRecordId, Mt as RecoveryReport, Nt as childReservationIdFor, Ot as DurableSubmitOptions, Pt as recoveryRepairBatchId, St as DurableResolveFailure, Tt as DurableRuntimeConfigOptions, _t as DurableAwaitFailure, bt as DurableObserveOptions, ft as DurableAbortFailure, gt as DurableApprovalResolver, ht as DurableApprovalFailure, jt as DurableWorkerRequirements, kt as DurableVerifyFailure, pt as DurableAgentRuntime, vt as DurableExplainFailure, wt as DurableRuntimeConfig, xt as DurableProgressFailure, yt as DurableObligationFailure } from "../Records-B84j3Jq_.mjs";
2
+ import { At as DurableSubmitOptions, Ct as DurableProgressFailure, Dt as DurableRuntimeConfigOptions, Et as DurableRuntimeConfig, Ft as childReservationIdFor, It as recoveryRepairBatchId, Lt as recoveryRepairRecordId, Mt as DurableWorkerFailure, Nt as DurableWorkerRequirements, Ot as DurableSubmitAgent, Pt as RecoveryReport, Rt as threadCreatedBatchId, St as DurableObserveOptions, Tt as DurableRetryFailure, _t as DurableApprovalFailure, bt as DurableExplainFailure, ht as DurableAgentRuntime, jt as DurableVerifyFailure, kt as DurableSubmitFailure, mt as DurableAbortFailure, vt as DurableApprovalResolver, wt as DurableResolveFailure, xt as DurableObligationFailure, yt as DurableAwaitFailure, zt as threadCreatedRecordId } from "../Records-CV49DgQK.mjs";
3
3
  export { DurableAbortFailure, DurableAgentRuntime, DurableApprovalFailure, DurableApprovalResolver, DurableAwaitFailure, DurableExplainFailure, DurableObligationFailure, DurableObserveOptions, DurableProgressFailure, DurableResolveFailure, DurableRetryFailure, DurableRuntimeConfig, DurableRuntimeConfigOptions, DurableSubmitAgent, DurableSubmitFailure, DurableSubmitOptions, DurableVerifyFailure, DurableWorkerFailure, DurableWorkerRequirements, Receipt, RecoveryReport, childReservationIdFor, recoveryRepairBatchId, recoveryRepairRecordId, threadCreatedBatchId, threadCreatedRecordId };
@@ -1,3 +1,3 @@
1
1
  import { Receipt } from "../core/Receipt.mjs";
2
- import { a as RecoveryReport, c as recoveryRepairRecordId, i as DurableRuntimeConfig, l as threadCreatedBatchId, o as childReservationIdFor, r as DurableApprovalResolver, s as recoveryRepairBatchId, t as DurableAgentRuntime, u as threadCreatedRecordId } from "../DurableAgentRuntime-BaGsWDHO.mjs";
2
+ import { a as RecoveryReport, c as recoveryRepairRecordId, i as DurableRuntimeConfig, l as threadCreatedBatchId, o as childReservationIdFor, r as DurableApprovalResolver, s as recoveryRepairBatchId, t as DurableAgentRuntime, u as threadCreatedRecordId } from "../DurableAgentRuntime-DbUvZHDZ.mjs";
3
3
  export { DurableAgentRuntime, DurableApprovalResolver, DurableRuntimeConfig, Receipt, RecoveryReport, childReservationIdFor, recoveryRepairBatchId, recoveryRepairRecordId, threadCreatedBatchId, threadCreatedRecordId };
@@ -1,2 +1,2 @@
1
- import { a as DurableRuntimeFailpointLocation, i as DurableRuntimeFailpointHandler, n as DurableRuntimeFailpoint, r as DurableRuntimeFailpointError } from "../DurableFailpoint-Oinuuedm.mjs";
1
+ import { a as DurableRuntimeFailpointLocation, i as DurableRuntimeFailpointHandler, n as DurableRuntimeFailpoint, r as DurableRuntimeFailpointError } from "../DurableFailpoint-DQJet828.mjs";
2
2
  export { DurableRuntimeFailpoint, DurableRuntimeFailpointError, DurableRuntimeFailpointHandler, DurableRuntimeFailpointLocation };
@@ -27,6 +27,8 @@ const DurableRuntimeFailpointLocation = Schema.Literals([
27
27
  "input:after-canonical-append",
28
28
  "run:before-start-append",
29
29
  "run:after-start-append",
30
+ "run:before-duration-append",
31
+ "run:after-duration-append",
30
32
  "turn:after-canonical-append",
31
33
  "turn:after-response-append",
32
34
  "turn:after-results-append",
@@ -1 +1 @@
1
- {"version":3,"file":"DurableFailpoint.mjs","names":[],"sources":["../../src/durable/DurableFailpoint.ts"],"sourcesContent":["import { Context, Effect, Layer, Schema } from \"effect\";\n\n/**\n * Coordinator-owned failpoint locations (plan §Failpoints). Locations normally sit immediately\n * AFTER one durable mutation of the six-step coordinator flow, so a fault injected there\n * simulates a crash between two durable steps; the matching BEFORE boundary of each mutation is\n * owned by the storage adapters (`ledger:*:before`, `append:before`, ...), giving every durable\n * mutation a failpoint on both sides (change discipline). Run-start append also exposes its\n * BEFORE boundary here to distinguish a fresh clock from a committed clock in crash tests.\n *\n * The `subagent:*` family covers every durable mutation of the S2 establishment/join protocol\n * including reservation, request append, child admission, child readiness,\n * start-link append, sibling per-call settles at the suspension seam, the `waitingForChild`\n * suspension, child abort propagation, the atomic join batch, and both reservation-release\n * transitions.\n */\nexport const DurableRuntimeFailpointLocation = Schema.Literals([\n \"submit:after-admit\",\n \"submit:after-materialize\",\n \"claim:after-claim\",\n \"input:after-canonical-append\",\n \"run:before-start-append\",\n \"run:after-start-append\",\n \"turn:after-canonical-append\",\n \"turn:after-response-append\",\n \"turn:after-results-append\",\n \"compaction:before-canonical-append\",\n \"compaction:after-canonical-append\",\n \"checkpoint:before-save\",\n \"checkpoint:after-save\",\n \"tools:after-prepared-append\",\n \"tools:before-prepared-append\",\n \"policy:before-reservation-append\",\n \"policy:after-reservation-append\",\n \"step:after-step-append\",\n \"approval:after-request-append\",\n \"approval:after-suspend\",\n \"join:after-claim\",\n \"join:after-canonical-append\",\n \"resolve:after-intent\",\n \"terminalize:after-reserve\",\n \"terminalize:after-canonical-append\",\n \"abort:after-intent\",\n \"subagent:after-reserve\",\n \"subagent:after-request-append\",\n \"subagent:after-admit\",\n \"subagent:after-child-ready\",\n \"subagent:after-start-append\",\n \"subagent:after-sibling-settle\",\n \"subagent:after-suspend\",\n \"subagent:after-child-abort-intent\",\n \"subagent:before-join-append\",\n \"subagent:after-join-append\",\n \"subagent:after-release-pending\",\n \"subagent:after-release\",\n \"worker:before-source-append\",\n \"worker:after-source-append\",\n \"worker:before-origin-append\",\n \"worker:after-origin-append\",\n \"worker:before-completion-append\",\n \"worker:after-completion-append\",\n \"worker:before-subtree-append\",\n \"worker:after-subtree-append\",\n \"worker:before-report-append\",\n \"worker:after-report-append\",\n \"worker:before-report-delivery\",\n \"worker:after-report-delivery\",\n \"update:before-canonical-append\",\n \"update:after-canonical-append\",\n \"update:before-delivery-insert\",\n \"update:after-delivery-insert\",\n]);\n\nexport type DurableRuntimeFailpointLocation = typeof DurableRuntimeFailpointLocation.Type;\n\n/** Injected coordinator fault. Reaching the caller means the preceding durable step committed. */\nexport class DurableRuntimeFailpointError extends Schema.TaggedError<DurableRuntimeFailpointError>()(\n \"DurableRuntimeFailpointError\",\n {\n location: DurableRuntimeFailpointLocation,\n },\n) {}\n\nexport type DurableRuntimeFailpointHandler = (\n location: DurableRuntimeFailpointLocation,\n) => Effect.Effect<void, DurableRuntimeFailpointError>;\n\nconst noFailpoint: DurableRuntimeFailpointHandler = () => Effect.void;\n\n/**\n * Explicit fault-injection authority used at durable coordinator step boundaries. The process\n * crash harness (WP5) maps a hit to `process.exit`; in-process tests fail the step with the\n * typed `DurableRuntimeFailpointError` instead.\n */\nexport class DurableRuntimeFailpoint extends Context.Service<\n DurableRuntimeFailpoint,\n {\n readonly hit: DurableRuntimeFailpointHandler;\n }\n>()(\"@effect-agent/thread/DurableRuntimeFailpoint\") {\n /** Production default: no fault injection. */\n static readonly layer = Layer.succeed(this)({ hit: noFailpoint });\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAa,kCAAkC,OAAO,SAAS;CAC7D;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,CAAC;;AAKD,IAAa,+BAAb,cAAkD,OAAO,YAA0C,CAAC,CAClG,gCACA,EACE,UAAU,gCACZ,CACF,CAAC,CAAC,CAAC;AAMH,MAAM,oBAAoD,OAAO;;;;;;AAOjE,IAAa,0BAAb,cAA6C,QAAQ,QAKnD,CAAC,CAAC,8CAA8C,CAAC,CAAC;;CAElD,OAAgB,QAAQ,MAAM,QAAQ,IAAI,CAAC,CAAC,EAAE,KAAK,YAAY,CAAC;AAClE"}
1
+ {"version":3,"file":"DurableFailpoint.mjs","names":[],"sources":["../../src/durable/DurableFailpoint.ts"],"sourcesContent":["import { Context, Effect, Layer, Schema } from \"effect\";\n\n/**\n * Coordinator-owned failpoint locations (plan §Failpoints). Locations normally sit immediately\n * AFTER one durable mutation of the six-step coordinator flow, so a fault injected there\n * simulates a crash between two durable steps; the matching BEFORE boundary of each mutation is\n * owned by the storage adapters (`ledger:*:before`, `append:before`, ...), giving every durable\n * mutation a failpoint on both sides (change discipline). Run-start append also exposes its\n * BEFORE boundary here to distinguish a fresh clock from a committed clock in crash tests.\n *\n * The `subagent:*` family covers every durable mutation of the S2 establishment/join protocol\n * including reservation, request append, child admission, child readiness,\n * start-link append, sibling per-call settles at the suspension seam, the `waitingForChild`\n * suspension, child abort propagation, the atomic join batch, and both reservation-release\n * transitions.\n */\nexport const DurableRuntimeFailpointLocation = Schema.Literals([\n \"submit:after-admit\",\n \"submit:after-materialize\",\n \"claim:after-claim\",\n \"input:after-canonical-append\",\n \"run:before-start-append\",\n \"run:after-start-append\",\n \"run:before-duration-append\",\n \"run:after-duration-append\",\n \"turn:after-canonical-append\",\n \"turn:after-response-append\",\n \"turn:after-results-append\",\n \"compaction:before-canonical-append\",\n \"compaction:after-canonical-append\",\n \"checkpoint:before-save\",\n \"checkpoint:after-save\",\n \"tools:after-prepared-append\",\n \"tools:before-prepared-append\",\n \"policy:before-reservation-append\",\n \"policy:after-reservation-append\",\n \"step:after-step-append\",\n \"approval:after-request-append\",\n \"approval:after-suspend\",\n \"join:after-claim\",\n \"join:after-canonical-append\",\n \"resolve:after-intent\",\n \"terminalize:after-reserve\",\n \"terminalize:after-canonical-append\",\n \"abort:after-intent\",\n \"subagent:after-reserve\",\n \"subagent:after-request-append\",\n \"subagent:after-admit\",\n \"subagent:after-child-ready\",\n \"subagent:after-start-append\",\n \"subagent:after-sibling-settle\",\n \"subagent:after-suspend\",\n \"subagent:after-child-abort-intent\",\n \"subagent:before-join-append\",\n \"subagent:after-join-append\",\n \"subagent:after-release-pending\",\n \"subagent:after-release\",\n \"worker:before-source-append\",\n \"worker:after-source-append\",\n \"worker:before-origin-append\",\n \"worker:after-origin-append\",\n \"worker:before-completion-append\",\n \"worker:after-completion-append\",\n \"worker:before-subtree-append\",\n \"worker:after-subtree-append\",\n \"worker:before-report-append\",\n \"worker:after-report-append\",\n \"worker:before-report-delivery\",\n \"worker:after-report-delivery\",\n \"update:before-canonical-append\",\n \"update:after-canonical-append\",\n \"update:before-delivery-insert\",\n \"update:after-delivery-insert\",\n]);\n\nexport type DurableRuntimeFailpointLocation = typeof DurableRuntimeFailpointLocation.Type;\n\n/** Injected coordinator fault. Reaching the caller means the preceding durable step committed. */\nexport class DurableRuntimeFailpointError extends Schema.TaggedError<DurableRuntimeFailpointError>()(\n \"DurableRuntimeFailpointError\",\n {\n location: DurableRuntimeFailpointLocation,\n },\n) {}\n\nexport type DurableRuntimeFailpointHandler = (\n location: DurableRuntimeFailpointLocation,\n) => Effect.Effect<void, DurableRuntimeFailpointError>;\n\nconst noFailpoint: DurableRuntimeFailpointHandler = () => Effect.void;\n\n/**\n * Explicit fault-injection authority used at durable coordinator step boundaries. The process\n * crash harness (WP5) maps a hit to `process.exit`; in-process tests fail the step with the\n * typed `DurableRuntimeFailpointError` instead.\n */\nexport class DurableRuntimeFailpoint extends Context.Service<\n DurableRuntimeFailpoint,\n {\n readonly hit: DurableRuntimeFailpointHandler;\n }\n>()(\"@effect-agent/thread/DurableRuntimeFailpoint\") {\n /** Production default: no fault injection. */\n static readonly layer = Layer.succeed(this)({ hit: noFailpoint });\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAgBA,MAAa,kCAAkC,OAAO,SAAS;CAC7D;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,CAAC;;AAKD,IAAa,+BAAb,cAAkD,OAAO,YAA0C,CAAC,CAClG,gCACA,EACE,UAAU,gCACZ,CACF,CAAC,CAAC,CAAC;AAMH,MAAM,oBAAoD,OAAO;;;;;;AAOjE,IAAa,0BAAb,cAA6C,QAAQ,QAKnD,CAAC,CAAC,8CAA8C,CAAC,CAAC;;CAElD,OAAgB,QAAQ,MAAM,QAAQ,IAAI,CAAC,CAAC,EAAE,KAAK,YAAY,CAAC;AAClE"}
@@ -1,4 +1,4 @@
1
- import { i as DurableRuntimeFailpointHandler, n as DurableRuntimeFailpoint } from "../DurableFailpoint-Oinuuedm.mjs";
1
+ import { i as DurableRuntimeFailpointHandler, n as DurableRuntimeFailpoint } from "../DurableFailpoint-DQJet828.mjs";
2
2
  import { Context, Effect, Layer } from "effect";
3
3
  //#region src/durable/DurableFailpointTestControl.d.ts
4
4
  declare const DurableRuntimeFailpointTestControl_base: Context.ServiceClass<DurableRuntimeFailpointTestControl, "@effect-agent/thread/DurableRuntimeFailpointTestControl", {
@@ -1,2 +1,2 @@
1
- import { a as makeEventSource, i as NormalizedEvent, r as EventSources, t as EventSource } from "../EventSource-DVfX1GRH.mjs";
1
+ import { a as makeEventSource, i as NormalizedEvent, r as EventSources, t as EventSource } from "../EventSource-D6PAAEyK.mjs";
2
2
  export { EventSource, EventSources, NormalizedEvent, makeEventSource };
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
2
- import { T as PersistedJson } from "../Records-CsEsSW2o.mjs";
2
+ import { T as PersistedJson } from "../Records-BAutSSnJ.mjs";
3
3
  import { SubscriptionSourceError } from "./Subscription.mjs";
4
4
  import { Context, Effect, Schema } from "effect";
5
5
  //#region src/durable/EventSource.ts
@@ -1,7 +1,7 @@
1
1
  import { r as Principal } from "../Receipt-BAHyigAF.mjs";
2
- import "../Records-B84j3Jq_.mjs";
3
- import { E as SubscriptionSourceError } from "../Subscription-C8IHdmFk.mjs";
4
- import { t as EventSource } from "../EventSource-DVfX1GRH.mjs";
2
+ import "../Records-CV49DgQK.mjs";
3
+ import { E as SubscriptionSourceError } from "../Subscription-BR_8Cxh3.mjs";
4
+ import { t as EventSource } from "../EventSource-D6PAAEyK.mjs";
5
5
  import { SubscriptionFailure, SubscriptionIntake } from "./Subscriptions.mjs";
6
6
  import { Context, Effect, Layer, Redacted, Schema } from "effect";
7
7
  import { HttpClient } from "effect/unstable/http";
@@ -1,4 +1,4 @@
1
- import { lt as strictSchema } from "../Records-CsEsSW2o.mjs";
1
+ import { dt as strictSchema } from "../Records-BAutSSnJ.mjs";
2
2
  import { SubscriptionSourceError } from "./Subscription.mjs";
3
3
  import { makeEventSource } from "./EventSource.mjs";
4
4
  import { SubscriptionIntake } from "./Subscriptions.mjs";
@@ -3,9 +3,9 @@ import { d as SubagentReservationAmounts, l as SubagentGrant, o as SubagentDeleg
3
3
  import { a as Receipt, t as IdempotencyKey } from "../Receipt-BAHyigAF.mjs";
4
4
  import { r as Update } from "../AgentUpdates-DMJ-_xow.mjs";
5
5
  import { t as AgentPolicy } from "../AgentPolicy-BqDoSXO6.mjs";
6
- import { Fa as Settlement, h as DefinitionDigests } from "../Records-B84j3Jq_.mjs";
7
- import { a as PreparedInput } from "../Subscription-C8IHdmFk.mjs";
8
- import { t as PreparedInputAdmission } from "../PreparedInputAdmission-DoWaMC2R.mjs";
6
+ import { Wa as Settlement, h as DefinitionDigests } from "../Records-CV49DgQK.mjs";
7
+ import { a as PreparedInput } from "../Subscription-BR_8Cxh3.mjs";
8
+ import { t as PreparedInputAdmission } from "../PreparedInputAdmission-omMbwd--.mjs";
9
9
  import { Context, Crypto, Effect, Layer, Result, Schema } from "effect";
10
10
  declare namespace MessageDelivery_d_exports {
11
11
  export { MessageDeliveryChange, MessageDeliveryDriver, MessageDeliveryDriverLimits, MessageDeliveryError, MessageDeliveryFailpoint, MessageDeliveryFailpointError, MessageDeliveryFailure, MessageDeliveryKey, MessageDeliveryPage, MessageDeliveryPageRequest, MessageDeliveryPolicy, MessageDeliveryRecord, MessageDeliveryStore, MessageDeliveryStoreLimits, applyMessageDeliveryChange, defaultMessageDeliveryPolicy, defaultMessageDeliveryStoreLimits, isWorkerUpdateDelivery, messageDeliveryCapacity, messageDeliveryDeadline, messageDeliveryKeyString, messageDeliveryUsesCapacity, prepareMessageDelivery, sameMessageDeliveryIdentity, validateMessageDelivery };
@@ -2,7 +2,7 @@ import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
2
2
  import { ThreadId } from "../core/Identifiers.mjs";
3
3
  import { IdempotencyKey, Receipt } from "../core/Receipt.mjs";
4
4
  import { WorkerUpdate } from "../core/Worker.mjs";
5
- import { h as Digest } from "../Records-CsEsSW2o.mjs";
5
+ import { h as Digest } from "../Records-BAutSSnJ.mjs";
6
6
  import { Settlement } from "./SubmissionLedger.mjs";
7
7
  import { digestJson } from "./Digest.mjs";
8
8
  import { ScheduleInstant, ScheduleRetry, ScheduleRetryReason } from "./Schedule.mjs";
@@ -2,7 +2,7 @@ import { d as SubagentReservationAmounts, l as SubagentGrant, o as SubagentDeleg
2
2
  import { a as Receipt } from "../Receipt-BAHyigAF.mjs";
3
3
  import { r as Update } from "../AgentUpdates-DMJ-_xow.mjs";
4
4
  import { t as AgentPolicy } from "../AgentPolicy-BqDoSXO6.mjs";
5
- import { Fa as Settlement, Vr as DigestError, h as DefinitionDigests } from "../Records-B84j3Jq_.mjs";
5
+ import { Wa as Settlement, Xr as DigestError, h as DefinitionDigests } from "../Records-CV49DgQK.mjs";
6
6
  import { MessageDeliveryError, MessageDeliveryFailure, MessageDeliveryStore } from "./MessageDelivery.mjs";
7
7
  import { Effect, Schema } from "effect";
8
8
  //#region src/durable/MessageDeliveryStoreConformance.d.ts
@@ -83,25 +83,6 @@ declare const makeMessageDeliveryFixture: (messageId?: any, owner?: any, text?:
83
83
  readonly reportKind?: "update" | undefined;
84
84
  } | undefined;
85
85
  readonly messageAdmission?: {
86
- readonly schemaVersion: 1;
87
- readonly message: {
88
- readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
89
- readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
90
- };
91
- readonly peerName: string;
92
- readonly sender: {
93
- readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
94
- readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
95
- };
96
- readonly returnAddress: {
97
- readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
98
- readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
99
- };
100
- readonly inReplyTo?: {
101
- readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
102
- readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
103
- } | undefined;
104
- } | {
105
86
  readonly _tag: "WorkerCompletion";
106
87
  readonly budgetExhausted: boolean;
107
88
  readonly schemaVersion: 1;
@@ -142,6 +123,25 @@ declare const makeMessageDeliveryFixture: (messageId?: any, owner?: any, text?:
142
123
  readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
143
124
  };
144
125
  readonly update: Update;
126
+ } | {
127
+ readonly schemaVersion: 1;
128
+ readonly message: {
129
+ readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
130
+ readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
131
+ };
132
+ readonly peerName: string;
133
+ readonly sender: {
134
+ readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
135
+ readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
136
+ };
137
+ readonly returnAddress: {
138
+ readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
139
+ readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
140
+ };
141
+ readonly inReplyTo?: {
142
+ readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
143
+ readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
144
+ } | undefined;
145
145
  } | undefined;
146
146
  };
147
147
  readonly envelopeDigest: string & import("effect/Brand").Brand<"@effect-agent/thread/Digest">;
@@ -246,25 +246,6 @@ declare const makeWorkerUpdateDeliveryFixture: (id: string) => Effect.Effect<{
246
246
  readonly reportKind?: "update" | undefined;
247
247
  } | undefined;
248
248
  readonly messageAdmission?: {
249
- readonly schemaVersion: 1;
250
- readonly message: {
251
- readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
252
- readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
253
- };
254
- readonly peerName: string;
255
- readonly sender: {
256
- readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
257
- readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
258
- };
259
- readonly returnAddress: {
260
- readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
261
- readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
262
- };
263
- readonly inReplyTo?: {
264
- readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
265
- readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
266
- } | undefined;
267
- } | {
268
249
  readonly _tag: "WorkerCompletion";
269
250
  readonly budgetExhausted: boolean;
270
251
  readonly schemaVersion: 1;
@@ -305,6 +286,25 @@ declare const makeWorkerUpdateDeliveryFixture: (id: string) => Effect.Effect<{
305
286
  readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
306
287
  };
307
288
  readonly update: Update;
289
+ } | {
290
+ readonly schemaVersion: 1;
291
+ readonly message: {
292
+ readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
293
+ readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
294
+ };
295
+ readonly peerName: string;
296
+ readonly sender: {
297
+ readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
298
+ readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
299
+ };
300
+ readonly returnAddress: {
301
+ readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
302
+ readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
303
+ };
304
+ readonly inReplyTo?: {
305
+ readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
306
+ readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
307
+ } | undefined;
308
308
  } | undefined;
309
309
  };
310
310
  readonly envelopeDigest: string & import("effect/Brand").Brand<"@effect-agent/thread/Digest">;
@@ -2,7 +2,7 @@ import { AgentId, DelegationId, ReceiptId, RunId, SettlementId, SubmissionId, Th
2
2
  import { IdempotencyKey, Principal, QueueSequence, Receipt } from "../core/Receipt.mjs";
3
3
  import { Update } from "../core/AgentUpdates.mjs";
4
4
  import { WorkerUpdate } from "../core/Worker.mjs";
5
- import { h as Digest, p as DefinitionDigests } from "../Records-CsEsSW2o.mjs";
5
+ import { h as Digest, p as DefinitionDigests } from "../Records-BAutSSnJ.mjs";
6
6
  import { Settlement } from "./SubmissionLedger.mjs";
7
7
  import { digestJson } from "./Digest.mjs";
8
8
  import { MessageDeliveryStore, messageDeliveryCapacity, prepareMessageDelivery } from "./MessageDelivery.mjs";
@@ -1,5 +1,5 @@
1
1
  import { t as ThreadHistory } from "../ThreadHistory-tS1KwxHR.mjs";
2
- import { nn as ThreadStore } from "../Records-B84j3Jq_.mjs";
2
+ import { in as ThreadStore } from "../Records-CV49DgQK.mjs";
3
3
  import { Layer } from "effect";
4
4
  declare namespace PersistentHistory_d_exports {
5
5
  export { layer };
@@ -1,8 +1,8 @@
1
1
  import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
2
2
  import { ThreadHistory, ThreadHistoryError } from "../engine/ThreadHistory.mjs";
3
- import { D as ProducerId, E as ProducerEpoch, M as RunCompleted, O as RecordEnvelope, T as PersistedJson, b as ModelCompleted, et as UserInputRecorded, i as BatchId, k as RecordId, m as DeploymentId, o as CanonicalBatch } from "../Records-CsEsSW2o.mjs";
3
+ import { D as ProducerId, E as ProducerEpoch, N as RunCompleted, O as RecordEnvelope, T as PersistedJson, b as ModelCompleted, i as BatchId, k as RecordId, m as DeploymentId, nt as UserInputRecorded, o as CanonicalBatch } from "../Records-BAutSSnJ.mjs";
4
4
  import { FencedAppendRequest, MAX_THREAD_EXPORT_RECORDS, ThreadExportRequest, ThreadMaterialization, ThreadStore } from "./ThreadStore.mjs";
5
- import { m as promptFromCanonicalRecords } from "../RunJournal-yYpUlTOE.mjs";
5
+ import { m as promptFromCanonicalRecords } from "../RunJournal-DRRRZmG7.mjs";
6
6
  import { Prompt } from "effect/unstable/ai";
7
7
  import { DateTime, Effect, Layer, Schema } from "effect";
8
8
  //#region src/durable/PersistentHistory.ts
@@ -1,2 +1,2 @@
1
- import { r as admitPreparedInput, t as PreparedInputAdmission } from "../PreparedInputAdmission-DoWaMC2R.mjs";
1
+ import { r as admitPreparedInput, t as PreparedInputAdmission } from "../PreparedInputAdmission-omMbwd--.mjs";
2
2
  export { PreparedInputAdmission, admitPreparedInput };
@@ -1,2 +1,2 @@
1
- import { $ as ToolCallResolved, A as ProducerId, B as SettlementOutcome, C as ModelCompleted, D as PeerMessagePrepared, E as ObservationOffset, F as RunCompleted, G as SubmissionSettled, H as SubagentLineageRecorded, I as RunFailed, J as ThreadCreated, K as SubmissionSettledRecord, L as RunPolicyUsageReserved, M as RecordId, O as PersistedJson, P as RepairAnnotated, Q as ToolCallResolution, R as RunStartedRecord, S as MAX_PERSISTED_JSON_NODES, T as ModelResponseRecorded, U as SubagentRequested, V as SubagentJoined, W as SubagentStarted, X as ToolApprovalRequested, Y as ToolApprovalDecided, Z as ToolCallPrepared, _ as Digest, a as BatchId, at as WorkerInputCompleted, b as MAX_PERSISTED_JSON_COLLECTION_LENGTH, c as CanonicalRecord, ct as WorkerOriginRecorded, d as CanonicalSequence, dt as WorkerReportingIntent, et as ToolCallSettled, f as CompactionCreated, g as DeploymentId, h as DefinitionDigests, i as ApprovalDecision, it as WorkerAdmission, j as RecordEnvelope, k as ProducerEpoch, l as CanonicalRecordEnvelope, lt as WorkerReportPrepared, m as DefinitionDigestInput, n as AbortedSubmissionSettled, nt as ToolStepSettled, o as CURRENT_CANONICAL_SCHEMA_VERSION, ot as WorkerInputRequested, p as CompletedSubmissionSettled, q as SubtreeBudgetReserved, r as AgentUpdateEmitted, rt as UserInputRecorded, s as CanonicalBatch, st as WorkerOrigin, t as AbortRequested, tt as ToolCallUnknown, u as CanonicalRecordPayload, ut as WorkerReportRefused, v as FailedSubmissionSettled, w as ModelResponseInterrupted, x as MAX_PERSISTED_JSON_DEPTH, y as MAX_PERSISTED_JSON_BYTES, z as SettlementFailureDiagnostic } from "../Records-B84j3Jq_.mjs";
2
- export { AbortRequested, AbortedSubmissionSettled, AgentUpdateEmitted, ApprovalDecision, BatchId, CURRENT_CANONICAL_SCHEMA_VERSION, CanonicalBatch, CanonicalRecord, CanonicalRecordEnvelope, CanonicalRecordPayload, CanonicalSequence, CompactionCreated, CompletedSubmissionSettled, DefinitionDigestInput, DefinitionDigests, DeploymentId, Digest, FailedSubmissionSettled, MAX_PERSISTED_JSON_BYTES, MAX_PERSISTED_JSON_COLLECTION_LENGTH, MAX_PERSISTED_JSON_DEPTH, MAX_PERSISTED_JSON_NODES, ModelCompleted, ModelResponseInterrupted, ModelResponseRecorded, ObservationOffset, PeerMessagePrepared, PersistedJson, ProducerEpoch, ProducerId, RecordEnvelope, RecordId, RepairAnnotated, RunCompleted, RunFailed, RunPolicyUsageReserved, RunStartedRecord, SettlementFailureDiagnostic, SettlementOutcome, SubagentJoined, SubagentLineageRecorded, SubagentRequested, SubagentStarted, SubmissionSettled, SubmissionSettledRecord, SubtreeBudgetReserved, ThreadCreated, ToolApprovalDecided, ToolApprovalRequested, ToolCallPrepared, ToolCallResolution, ToolCallResolved, ToolCallSettled, ToolCallUnknown, ToolStepSettled, UserInputRecorded, WorkerAdmission, WorkerInputCompleted, WorkerInputRequested, WorkerOrigin, WorkerOriginRecorded, WorkerReportPrepared, WorkerReportRefused, WorkerReportingIntent };
1
+ import { $ as ToolCallPrepared, A as ProducerId, B as RunStartedRecord, C as ModelCompleted, D as PeerMessagePrepared, E as ObservationOffset, F as ReplayContract, G as SubagentRequested, H as SettlementOutcome, I as RunCompleted, J as SubmissionSettledRecord, K as SubagentStarted, L as RunDurationExhausted, M as RecordId, O as PersistedJson, P as RepairAnnotated, Q as ToolApprovalRequested, R as RunFailed, S as MAX_PERSISTED_JSON_NODES, T as ModelResponseRecorded, U as SubagentJoined, V as SettlementFailureDiagnostic, W as SubagentLineageRecorded, X as ThreadCreated, Y as SubtreeBudgetReserved, Z as ToolApprovalDecided, _ as Digest, a as BatchId, at as UserInputRecorded, b as MAX_PERSISTED_JSON_COLLECTION_LENGTH, c as CanonicalRecord, ct as WorkerInputRequested, d as CanonicalSequence, dt as WorkerReportPrepared, et as ToolCallResolution, f as CompactionCreated, ft as WorkerReportRefused, g as DeploymentId, h as DefinitionDigests, i as ApprovalDecision, it as ToolStepSettled, j as RecordEnvelope, k as ProducerEpoch, l as CanonicalRecordEnvelope, lt as WorkerOrigin, m as DefinitionDigestInput, n as AbortedSubmissionSettled, nt as ToolCallSettled, o as CURRENT_CANONICAL_SCHEMA_VERSION, ot as WorkerAdmission, p as CompletedSubmissionSettled, pt as WorkerReportingIntent, q as SubmissionSettled, r as AgentUpdateEmitted, rt as ToolCallUnknown, s as CanonicalBatch, st as WorkerInputCompleted, t as AbortRequested, tt as ToolCallResolved, u as CanonicalRecordPayload, ut as WorkerOriginRecorded, v as FailedSubmissionSettled, w as ModelResponseInterrupted, x as MAX_PERSISTED_JSON_DEPTH, y as MAX_PERSISTED_JSON_BYTES, z as RunPolicyUsageReserved } from "../Records-CV49DgQK.mjs";
2
+ export { AbortRequested, AbortedSubmissionSettled, AgentUpdateEmitted, ApprovalDecision, BatchId, CURRENT_CANONICAL_SCHEMA_VERSION, CanonicalBatch, CanonicalRecord, CanonicalRecordEnvelope, CanonicalRecordPayload, CanonicalSequence, CompactionCreated, CompletedSubmissionSettled, DefinitionDigestInput, DefinitionDigests, DeploymentId, Digest, FailedSubmissionSettled, MAX_PERSISTED_JSON_BYTES, MAX_PERSISTED_JSON_COLLECTION_LENGTH, MAX_PERSISTED_JSON_DEPTH, MAX_PERSISTED_JSON_NODES, ModelCompleted, ModelResponseInterrupted, ModelResponseRecorded, ObservationOffset, PeerMessagePrepared, PersistedJson, ProducerEpoch, ProducerId, RecordEnvelope, RecordId, RepairAnnotated, ReplayContract, RunCompleted, RunDurationExhausted, RunFailed, RunPolicyUsageReserved, RunStartedRecord, SettlementFailureDiagnostic, SettlementOutcome, SubagentJoined, SubagentLineageRecorded, SubagentRequested, SubagentStarted, SubmissionSettled, SubmissionSettledRecord, SubtreeBudgetReserved, ThreadCreated, ToolApprovalDecided, ToolApprovalRequested, ToolCallPrepared, ToolCallResolution, ToolCallResolved, ToolCallSettled, ToolCallUnknown, ToolStepSettled, UserInputRecorded, WorkerAdmission, WorkerInputCompleted, WorkerInputRequested, WorkerOrigin, WorkerOriginRecorded, WorkerReportPrepared, WorkerReportRefused, WorkerReportingIntent };
@@ -1,2 +1,2 @@
1
- import { $ as ToolStepSettled, B as SubagentRequested, C as ObservationOffset, D as ProducerId, E as ProducerEpoch, F as RunStartedRecord, G as ThreadCreated, H as SubmissionSettled, I as SettlementFailureDiagnostic, J as ToolCallPrepared, K as ToolApprovalDecided, L as SettlementOutcome, M as RunCompleted, N as RunFailed, O as RecordEnvelope, P as RunPolicyUsageReserved, Q as ToolCallUnknown, R as SubagentJoined, S as ModelResponseRecorded, T as PersistedJson, U as SubmissionSettledRecord, V as SubagentStarted, W as SubtreeBudgetReserved, X as ToolCallResolved, Y as ToolCallResolution, Z as ToolCallSettled, _ as MAX_PERSISTED_JSON_COLLECTION_LENGTH, a as CURRENT_CANONICAL_SCHEMA_VERSION, at as WorkerOriginRecorded, b as ModelCompleted, c as CanonicalRecordEnvelope, ct as WorkerReportingIntent, d as CompactionCreated, et as UserInputRecorded, f as DefinitionDigestInput, g as MAX_PERSISTED_JSON_BYTES, h as Digest, i as BatchId, it as WorkerOrigin, j as RepairAnnotated, k as RecordId, l as CanonicalRecordPayload, m as DeploymentId, n as AgentUpdateEmitted, nt as WorkerInputCompleted, o as CanonicalBatch, ot as WorkerReportPrepared, p as DefinitionDigests, q as ToolApprovalRequested, r as ApprovalDecision, rt as WorkerInputRequested, s as CanonicalRecord, st as WorkerReportRefused, t as AbortRequested, tt as WorkerAdmission, u as CanonicalSequence, v as MAX_PERSISTED_JSON_DEPTH, w as PeerMessagePrepared, x as ModelResponseInterrupted, y as MAX_PERSISTED_JSON_NODES, z as SubagentLineageRecorded } from "../Records-CsEsSW2o.mjs";
2
- export { AbortRequested, AgentUpdateEmitted, ApprovalDecision, BatchId, CURRENT_CANONICAL_SCHEMA_VERSION, CanonicalBatch, CanonicalRecord, CanonicalRecordEnvelope, CanonicalRecordPayload, CanonicalSequence, CompactionCreated, DefinitionDigestInput, DefinitionDigests, DeploymentId, Digest, MAX_PERSISTED_JSON_BYTES, MAX_PERSISTED_JSON_COLLECTION_LENGTH, MAX_PERSISTED_JSON_DEPTH, MAX_PERSISTED_JSON_NODES, ModelCompleted, ModelResponseInterrupted, ModelResponseRecorded, ObservationOffset, PeerMessagePrepared, PersistedJson, ProducerEpoch, ProducerId, RecordEnvelope, RecordId, RepairAnnotated, RunCompleted, RunFailed, RunPolicyUsageReserved, RunStartedRecord, SettlementFailureDiagnostic, SettlementOutcome, SubagentJoined, SubagentLineageRecorded, SubagentRequested, SubagentStarted, SubmissionSettled, SubmissionSettledRecord, SubtreeBudgetReserved, ThreadCreated, ToolApprovalDecided, ToolApprovalRequested, ToolCallPrepared, ToolCallResolution, ToolCallResolved, ToolCallSettled, ToolCallUnknown, ToolStepSettled, UserInputRecorded, WorkerAdmission, WorkerInputCompleted, WorkerInputRequested, WorkerOrigin, WorkerOriginRecorded, WorkerReportPrepared, WorkerReportRefused, WorkerReportingIntent };
1
+ import { $ as ToolCallSettled, B as SubagentJoined, C as ObservationOffset, D as ProducerId, E as ProducerEpoch, F as RunFailed, G as SubmissionSettledRecord, H as SubagentRequested, I as RunPolicyUsageReserved, J as ToolApprovalDecided, K as SubtreeBudgetReserved, L as RunStartedRecord, M as ReplayContract, N as RunCompleted, O as RecordEnvelope, P as RunDurationExhausted, Q as ToolCallResolved, R as SettlementFailureDiagnostic, S as ModelResponseRecorded, T as PersistedJson, U as SubagentStarted, V as SubagentLineageRecorded, W as SubmissionSettled, X as ToolCallPrepared, Y as ToolApprovalRequested, Z as ToolCallResolution, _ as MAX_PERSISTED_JSON_COLLECTION_LENGTH, a as CURRENT_CANONICAL_SCHEMA_VERSION, at as WorkerInputRequested, b as ModelCompleted, c as CanonicalRecordEnvelope, ct as WorkerReportPrepared, d as CompactionCreated, et as ToolCallUnknown, f as DefinitionDigestInput, g as MAX_PERSISTED_JSON_BYTES, h as Digest, i as BatchId, it as WorkerInputCompleted, j as RepairAnnotated, k as RecordId, l as CanonicalRecordPayload, lt as WorkerReportRefused, m as DeploymentId, n as AgentUpdateEmitted, nt as UserInputRecorded, o as CanonicalBatch, ot as WorkerOrigin, p as DefinitionDigests, q as ThreadCreated, r as ApprovalDecision, rt as WorkerAdmission, s as CanonicalRecord, st as WorkerOriginRecorded, t as AbortRequested, tt as ToolStepSettled, u as CanonicalSequence, ut as WorkerReportingIntent, v as MAX_PERSISTED_JSON_DEPTH, w as PeerMessagePrepared, x as ModelResponseInterrupted, y as MAX_PERSISTED_JSON_NODES, z as SettlementOutcome } from "../Records-BAutSSnJ.mjs";
2
+ export { AbortRequested, AgentUpdateEmitted, ApprovalDecision, BatchId, CURRENT_CANONICAL_SCHEMA_VERSION, CanonicalBatch, CanonicalRecord, CanonicalRecordEnvelope, CanonicalRecordPayload, CanonicalSequence, CompactionCreated, DefinitionDigestInput, DefinitionDigests, DeploymentId, Digest, MAX_PERSISTED_JSON_BYTES, MAX_PERSISTED_JSON_COLLECTION_LENGTH, MAX_PERSISTED_JSON_DEPTH, MAX_PERSISTED_JSON_NODES, ModelCompleted, ModelResponseInterrupted, ModelResponseRecorded, ObservationOffset, PeerMessagePrepared, PersistedJson, ProducerEpoch, ProducerId, RecordEnvelope, RecordId, RepairAnnotated, ReplayContract, RunCompleted, RunDurationExhausted, RunFailed, RunPolicyUsageReserved, RunStartedRecord, SettlementFailureDiagnostic, SettlementOutcome, SubagentJoined, SubagentLineageRecorded, SubagentRequested, SubagentStarted, SubmissionSettled, SubmissionSettledRecord, SubtreeBudgetReserved, ThreadCreated, ToolApprovalDecided, ToolApprovalRequested, ToolCallPrepared, ToolCallResolution, ToolCallResolved, ToolCallSettled, ToolCallUnknown, ToolStepSettled, UserInputRecorded, WorkerAdmission, WorkerInputCompleted, WorkerInputRequested, WorkerOrigin, WorkerOriginRecorded, WorkerReportPrepared, WorkerReportRefused, WorkerReportingIntent };
@@ -1,2 +1,2 @@
1
- import { $r as AwaitChildAdmissionResolution, Ai as SettleJoinedWithHost, Ci as RepairSubagentStartLink, Di as ResumeWaitingParent, Ei as ResumeSuspended, Jr as AppendReservedSettlement, Oi as RevertJoining, Qr as AwaitApprovalDecision, Si as RepairReadiness, Ti as ResumePendingToolBatch, Xr as ApplyJoinAccounting, Yr as ApplyInput, Zr as ApplyUnknownResolutions, _i as RecoveryEvidence, ai as CompleteMaterialization, bi as RepairInputMarker, ci as EnsureWaitingForChild, di as NoAction, ei as AwaitChildSettlement, fi as OpenDelegationCallEvidence, gi as RecoveryDecision, hi as PropagateChildAbort, ii as CompleteChildAdmission, ji as classifyRecovery, ki as SettleAborted, li as FinalizeLedgerFromHistory, mi as PendingApprovalEvidence, ni as AwaitParentEstablishment, oi as DeclaredPendingBatchEvidence, pi as OpenToolCallEvidence, ri as AwaitUnknownResolution, si as DelegationAdmissionEvidence, ti as AwaitHostSettlement, ui as MarkUnknown, wi as ResumeFromTurnBoundary, xi as RepairJoinMarker, yi as ReleaseOrphanChildReservation } from "../Records-B84j3Jq_.mjs";
1
+ import { Ai as RepairJoinMarker, Bi as classifyRecovery, Ci as PendingApprovalEvidence, Ei as RecoveryEvidence, Fi as ResumeSuspended, Ii as ResumeWaitingParent, Li as RevertJoining, Mi as RepairSubagentStartLink, Ni as ResumeFromTurnBoundary, Oi as ReleaseOrphanChildReservation, Pi as ResumePendingToolBatch, Ri as SettleAborted, Si as OpenToolCallEvidence, Ti as RecoveryDecision, _i as EnsureWaitingForChild, ai as ApplyJoinAccounting, bi as NoAction, ci as AwaitChildAdmissionResolution, di as AwaitParentEstablishment, fi as AwaitUnknownResolution, gi as DelegationAdmissionEvidence, hi as DeclaredPendingBatchEvidence, ii as ApplyInput, ji as RepairReadiness, ki as RepairInputMarker, li as AwaitChildSettlement, mi as CompleteMaterialization, oi as ApplyUnknownResolutions, pi as CompleteChildAdmission, ri as AppendReservedSettlement, si as AwaitApprovalDecision, ui as AwaitHostSettlement, vi as FinalizeLedgerFromHistory, wi as PropagateChildAbort, xi as OpenDelegationCallEvidence, yi as MarkUnknown, zi as SettleJoinedWithHost } from "../Records-CV49DgQK.mjs";
2
2
  export { AppendReservedSettlement, ApplyInput, ApplyJoinAccounting, ApplyUnknownResolutions, AwaitApprovalDecision, AwaitChildAdmissionResolution, AwaitChildSettlement, AwaitHostSettlement, AwaitParentEstablishment, AwaitUnknownResolution, CompleteChildAdmission, CompleteMaterialization, DeclaredPendingBatchEvidence, DelegationAdmissionEvidence, EnsureWaitingForChild, FinalizeLedgerFromHistory, MarkUnknown, NoAction, OpenDelegationCallEvidence, OpenToolCallEvidence, PendingApprovalEvidence, PropagateChildAbort, RecoveryDecision, RecoveryEvidence, ReleaseOrphanChildReservation, RepairInputMarker, RepairJoinMarker, RepairReadiness, RepairSubagentStartLink, ResumeFromTurnBoundary, ResumePendingToolBatch, ResumeSuspended, ResumeWaitingParent, RevertJoining, SettleAborted, SettleJoinedWithHost, classifyRecovery };
@@ -1,6 +1,6 @@
1
1
  import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
2
2
  import { SettlementId, SubmissionId, ThreadId, ToolCallId } from "../core/Identifiers.mjs";
3
- import { J as ToolCallPrepared, L as SettlementOutcome } from "../Records-CsEsSW2o.mjs";
3
+ import { X as ToolCallPrepared, z as SettlementOutcome } from "../Records-BAutSSnJ.mjs";
4
4
  import { ChildReservationId, WaitingChild, submissionSettlementId } from "./SubmissionLedger.mjs";
5
5
  import { Effect, Schema } from "effect";
6
6
  //#region src/durable/Recovery.ts
@@ -1,2 +1,2 @@
1
- import { $n as turnBatchId, An as runCompletedRecordId, Bn as subagentStartedBatchId, Cn as markUnknownBatchId, Dn as projectRunJournal, En as modelResponseRecordId, Fn as subagentJoinedRecordId, Gn as toolCallResolutionBatchId, Hn as toolApprovalDecisionRecordId, In as subagentLineageBatchId, Jn as toolCallSettledRecordId, Kn as toolCallResolvedRecordId, Ln as subagentLineageRecordId, Mn as runStartedBatchId, Nn as runStartedRecordId, On as projectRunJournalStream, Pn as subagentJoinBatchId, Qn as turnApprovalsBatchId, Rn as subagentRequestedBatchId, Sn as compactionRecordId, Tn as modelResponseInterruptedRecordId, Un as toolApprovalRequestRecordId, Vn as subagentStartedRecordId, Wn as toolCallPreparedRecordId, Xn as toolStepSettledBatchId, Yn as toolCallUnknownRecordId, Zn as toolStepSettledRecordId, _n as TurnCommitInput, ar as turnResultsBatch, bn as childThreadIdFor, er as turnCanonicalBatch, fn as JournalBoundary, hn as RunJournalUsage, ir as turnResponseBatchId, jn as runIdForSubmission, kn as promptFromCanonicalRecords, mn as RunJournalProjection, nr as turnPreparedBatchId, or as turnResultsBatchId, pn as RunJournalError, qn as toolCallResultBatchId, rr as turnResponseBatch, tr as turnIdForRun, vn as approvalDecisionBatchId, wn as modelResponseInterruptedBatchId, xn as compactionBatchId, yn as childIdempotencyKeyFor, zn as subagentRequestedRecordId } from "../Records-B84j3Jq_.mjs";
2
- export { JournalBoundary, RunJournalError, RunJournalProjection, RunJournalUsage, TurnCommitInput, approvalDecisionBatchId, childIdempotencyKeyFor, childThreadIdFor, compactionBatchId, compactionRecordId, markUnknownBatchId, modelResponseInterruptedBatchId, modelResponseInterruptedRecordId, modelResponseRecordId, projectRunJournal, projectRunJournalStream, promptFromCanonicalRecords, runCompletedRecordId, runIdForSubmission, runStartedBatchId, runStartedRecordId, subagentJoinBatchId, subagentJoinedRecordId, subagentLineageBatchId, subagentLineageRecordId, subagentRequestedBatchId, subagentRequestedRecordId, subagentStartedBatchId, subagentStartedRecordId, toolApprovalDecisionRecordId, toolApprovalRequestRecordId, toolCallPreparedRecordId, toolCallResolutionBatchId, toolCallResolvedRecordId, toolCallResultBatchId, toolCallSettledRecordId, toolCallUnknownRecordId, toolStepSettledBatchId, toolStepSettledRecordId, turnApprovalsBatchId, turnBatchId, turnCanonicalBatch, turnIdForRun, turnPreparedBatchId, turnResponseBatch, turnResponseBatchId, turnResultsBatch, turnResultsBatchId };
1
+ import { $n as toolCallUnknownRecordId, An as projectRunJournalStream, Bn as subagentLineageBatchId, Cn as compactionBatchId, Dn as modelResponseInterruptedRecordId, En as modelResponseInterruptedBatchId, Fn as runIdForSubmission, Gn as subagentStartedRecordId, Hn as subagentRequestedBatchId, In as runStartedBatchId, Jn as toolCallPreparedRecordId, Kn as toolApprovalDecisionRecordId, Ln as runStartedRecordId, Mn as runCompletedRecordId, Nn as runDurationBatchId, On as modelResponseRecordId, Pn as runDurationRecordId, Qn as toolCallSettledRecordId, Rn as subagentJoinBatchId, Sn as childThreadIdFor, Tn as markUnknownBatchId, Un as subagentRequestedRecordId, Vn as subagentLineageRecordId, Wn as subagentStartedBatchId, Xn as toolCallResolvedRecordId, Yn as toolCallResolutionBatchId, Zn as toolCallResultBatchId, _n as RunJournalUsage, ar as turnIdForRun, bn as approvalDecisionBatchId, cr as turnResponseBatchId, er as toolStepSettledBatchId, gn as RunJournalProjection, hn as RunJournalError, ir as turnCanonicalBatch, jn as promptFromCanonicalRecords, kn as projectRunJournal, lr as turnResultsBatch, mn as JournalBoundary, nr as turnApprovalsBatchId, or as turnPreparedBatchId, qn as toolApprovalRequestRecordId, rr as turnBatchId, sr as turnResponseBatch, tr as toolStepSettledRecordId, ur as turnResultsBatchId, wn as compactionRecordId, xn as childIdempotencyKeyFor, yn as TurnCommitInput, zn as subagentJoinedRecordId } from "../Records-CV49DgQK.mjs";
2
+ export { JournalBoundary, RunJournalError, RunJournalProjection, RunJournalUsage, TurnCommitInput, approvalDecisionBatchId, childIdempotencyKeyFor, childThreadIdFor, compactionBatchId, compactionRecordId, markUnknownBatchId, modelResponseInterruptedBatchId, modelResponseInterruptedRecordId, modelResponseRecordId, projectRunJournal, projectRunJournalStream, promptFromCanonicalRecords, runCompletedRecordId, runDurationBatchId, runDurationRecordId, runIdForSubmission, runStartedBatchId, runStartedRecordId, subagentJoinBatchId, subagentJoinedRecordId, subagentLineageBatchId, subagentLineageRecordId, subagentRequestedBatchId, subagentRequestedRecordId, subagentStartedBatchId, subagentStartedRecordId, toolApprovalDecisionRecordId, toolApprovalRequestRecordId, toolCallPreparedRecordId, toolCallResolutionBatchId, toolCallResolvedRecordId, toolCallResultBatchId, toolCallSettledRecordId, toolCallUnknownRecordId, toolStepSettledBatchId, toolStepSettledRecordId, turnApprovalsBatchId, turnBatchId, turnCanonicalBatch, turnIdForRun, turnPreparedBatchId, turnResponseBatch, turnResponseBatchId, turnResultsBatch, turnResultsBatchId };
@@ -1,2 +1,2 @@
1
- import { A as toolCallResolutionBatchId, B as turnIdForRun, C as subagentRequestedBatchId, D as toolApprovalDecisionRecordId, E as subagentStartedRecordId, F as toolStepSettledBatchId, G as turnResultsBatchId, H as turnResponseBatch, I as toolStepSettledRecordId, L as turnApprovalsBatchId, M as toolCallResultBatchId, N as toolCallSettledRecordId, O as toolApprovalRequestRecordId, P as toolCallUnknownRecordId, R as turnBatchId, S as subagentLineageRecordId, T as subagentStartedBatchId, U as turnResponseBatchId, V as turnPreparedBatchId, W as turnResultsBatch, _ as runStartedBatchId, a as childThreadIdFor, b as subagentJoinedRecordId, c as markUnknownBatchId, d as modelResponseRecordId, f as projectRunJournal, g as runIdForSubmission, h as runCompletedRecordId, i as childIdempotencyKeyFor, j as toolCallResolvedRecordId, k as toolCallPreparedRecordId, l as modelResponseInterruptedBatchId, m as promptFromCanonicalRecords, o as compactionBatchId, p as projectRunJournalStream, r as approvalDecisionBatchId, s as compactionRecordId, t as RunJournalError, u as modelResponseInterruptedRecordId, v as runStartedRecordId, w as subagentRequestedRecordId, x as subagentLineageBatchId, y as subagentJoinBatchId, z as turnCanonicalBatch } from "../RunJournal-yYpUlTOE.mjs";
2
- export { RunJournalError, approvalDecisionBatchId, childIdempotencyKeyFor, childThreadIdFor, compactionBatchId, compactionRecordId, markUnknownBatchId, modelResponseInterruptedBatchId, modelResponseInterruptedRecordId, modelResponseRecordId, projectRunJournal, projectRunJournalStream, promptFromCanonicalRecords, runCompletedRecordId, runIdForSubmission, runStartedBatchId, runStartedRecordId, subagentJoinBatchId, subagentJoinedRecordId, subagentLineageBatchId, subagentLineageRecordId, subagentRequestedBatchId, subagentRequestedRecordId, subagentStartedBatchId, subagentStartedRecordId, toolApprovalDecisionRecordId, toolApprovalRequestRecordId, toolCallPreparedRecordId, toolCallResolutionBatchId, toolCallResolvedRecordId, toolCallResultBatchId, toolCallSettledRecordId, toolCallUnknownRecordId, toolStepSettledBatchId, toolStepSettledRecordId, turnApprovalsBatchId, turnBatchId, turnCanonicalBatch, turnIdForRun, turnPreparedBatchId, turnResponseBatch, turnResponseBatchId, turnResultsBatch, turnResultsBatchId };
1
+ import { A as toolApprovalRequestRecordId, B as turnBatchId, C as subagentLineageBatchId, D as subagentStartedBatchId, E as subagentRequestedRecordId, F as toolCallSettledRecordId, G as turnResponseBatchId, H as turnIdForRun, I as toolCallUnknownRecordId, K as turnResultsBatch, L as toolStepSettledBatchId, M as toolCallResolutionBatchId, N as toolCallResolvedRecordId, O as subagentStartedRecordId, P as toolCallResultBatchId, R as toolStepSettledRecordId, S as subagentJoinedRecordId, T as subagentRequestedBatchId, U as turnPreparedBatchId, V as turnCanonicalBatch, W as turnResponseBatch, _ as runDurationRecordId, a as childThreadIdFor, b as runStartedRecordId, c as markUnknownBatchId, d as modelResponseRecordId, f as projectRunJournal, g as runDurationBatchId, h as runCompletedRecordId, i as childIdempotencyKeyFor, j as toolCallPreparedRecordId, k as toolApprovalDecisionRecordId, l as modelResponseInterruptedBatchId, m as promptFromCanonicalRecords, o as compactionBatchId, p as projectRunJournalStream, q as turnResultsBatchId, r as approvalDecisionBatchId, s as compactionRecordId, t as RunJournalError, u as modelResponseInterruptedRecordId, v as runIdForSubmission, w as subagentLineageRecordId, x as subagentJoinBatchId, y as runStartedBatchId, z as turnApprovalsBatchId } from "../RunJournal-DRRRZmG7.mjs";
2
+ export { RunJournalError, approvalDecisionBatchId, childIdempotencyKeyFor, childThreadIdFor, compactionBatchId, compactionRecordId, markUnknownBatchId, modelResponseInterruptedBatchId, modelResponseInterruptedRecordId, modelResponseRecordId, projectRunJournal, projectRunJournalStream, promptFromCanonicalRecords, runCompletedRecordId, runDurationBatchId, runDurationRecordId, runIdForSubmission, runStartedBatchId, runStartedRecordId, subagentJoinBatchId, subagentJoinedRecordId, subagentLineageBatchId, subagentLineageRecordId, subagentRequestedBatchId, subagentRequestedRecordId, subagentStartedBatchId, subagentStartedRecordId, toolApprovalDecisionRecordId, toolApprovalRequestRecordId, toolCallPreparedRecordId, toolCallResolutionBatchId, toolCallResolvedRecordId, toolCallResultBatchId, toolCallSettledRecordId, toolCallUnknownRecordId, toolStepSettledBatchId, toolStepSettledRecordId, turnApprovalsBatchId, turnBatchId, turnCanonicalBatch, turnIdForRun, turnPreparedBatchId, turnResponseBatch, turnResponseBatchId, turnResultsBatch, turnResultsBatchId };
@@ -1,2 +1,2 @@
1
- import { A as ScheduleSnapshotPage, B as ScheduledInputAdmission, C as ScheduleRecord, D as ScheduleScope, E as ScheduleRetryReason, F as ScheduleTimingRequest, G as defaultSchedulingLimits, H as ScheduledInputRefused, I as ScheduleValidationError, L as ScheduleWake, M as ScheduleStore, N as ScheduleStoreFailure, O as ScheduleSkippedRange, P as ScheduleTiming, S as SchedulePending, T as ScheduleRetry, U as ScheduledInputRetryable, V as ScheduledInputFailure, W as SchedulingLimits, _ as ScheduleNotFound, a as ScheduleChange, b as SchedulePage, c as ScheduleDestination, d as ScheduleFailpointError, f as ScheduleId, g as ScheduleManagementOperation, h as ScheduleManagementAuthorization, i as ScheduleCapacityError, j as ScheduleStorageError, k as ScheduleSnapshot, l as ScheduleDueCursor, m as ScheduleKey, n as ScheduleAuthorizationError, o as ScheduleConfiguration, p as ScheduleInstant, r as ScheduleAuthorizer, s as ScheduleConflict, t as ScheduleAuthorizationDecision, u as ScheduleFailpoint, v as ScheduleOccurrenceAuthorization, w as ScheduleRefusal, x as SchedulePageRequest, y as ScheduleOwner, z as ScheduledEnvelope } from "../Schedule-DCYBfhgT.mjs";
1
+ import { A as ScheduleSnapshotPage, B as ScheduledInputAdmission, C as ScheduleRecord, D as ScheduleScope, E as ScheduleRetryReason, F as ScheduleTimingRequest, G as defaultSchedulingLimits, H as ScheduledInputRefused, I as ScheduleValidationError, L as ScheduleWake, M as ScheduleStore, N as ScheduleStoreFailure, O as ScheduleSkippedRange, P as ScheduleTiming, S as SchedulePending, T as ScheduleRetry, U as ScheduledInputRetryable, V as ScheduledInputFailure, W as SchedulingLimits, _ as ScheduleNotFound, a as ScheduleChange, b as SchedulePage, c as ScheduleDestination, d as ScheduleFailpointError, f as ScheduleId, g as ScheduleManagementOperation, h as ScheduleManagementAuthorization, i as ScheduleCapacityError, j as ScheduleStorageError, k as ScheduleSnapshot, l as ScheduleDueCursor, m as ScheduleKey, n as ScheduleAuthorizationError, o as ScheduleConfiguration, p as ScheduleInstant, r as ScheduleAuthorizer, s as ScheduleConflict, t as ScheduleAuthorizationDecision, u as ScheduleFailpoint, v as ScheduleOccurrenceAuthorization, w as ScheduleRefusal, x as SchedulePageRequest, y as ScheduleOwner, z as ScheduledEnvelope } from "../Schedule-DePbGfgd.mjs";
2
2
  export { ScheduleAuthorizationDecision, ScheduleAuthorizationError, ScheduleAuthorizer, ScheduleCapacityError, ScheduleChange, ScheduleConfiguration, ScheduleConflict, ScheduleDestination, ScheduleDueCursor, ScheduleFailpoint, ScheduleFailpointError, ScheduleId, ScheduleInstant, ScheduleKey, ScheduleManagementAuthorization, ScheduleManagementOperation, ScheduleNotFound, ScheduleOccurrenceAuthorization, ScheduleOwner, SchedulePage, SchedulePageRequest, SchedulePending, ScheduleRecord, ScheduleRefusal, ScheduleRetry, ScheduleRetryReason, ScheduleScope, ScheduleSkippedRange, ScheduleSnapshot, ScheduleSnapshotPage, ScheduleStorageError, ScheduleStore, ScheduleStoreFailure, ScheduleTiming, ScheduleTimingRequest, ScheduleValidationError, ScheduleWake, ScheduledEnvelope, ScheduledInputAdmission, ScheduledInputFailure, ScheduledInputRefused, ScheduledInputRetryable, SchedulingLimits, defaultSchedulingLimits };
@@ -1,7 +1,7 @@
1
1
  import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
2
2
  import { AgentId, ThreadId } from "../core/Identifiers.mjs";
3
3
  import { IdempotencyKey, Principal, Receipt } from "../core/Receipt.mjs";
4
- import { T as PersistedJson, h as Digest, p as DefinitionDigests } from "../Records-CsEsSW2o.mjs";
4
+ import { T as PersistedJson, h as Digest, p as DefinitionDigests } from "../Records-BAutSSnJ.mjs";
5
5
  import { AdmissionFence, AdmissionGroup } from "./SubmissionLedger.mjs";
6
6
  import { Context, Effect, Schema } from "effect";
7
7
  //#region src/durable/Schedule.ts
@@ -1,4 +1,4 @@
1
- import { M as ScheduleStore, N as ScheduleStoreFailure } from "../Schedule-DCYBfhgT.mjs";
1
+ import { M as ScheduleStore, N as ScheduleStoreFailure } from "../Schedule-DePbGfgd.mjs";
2
2
  import { Effect, Schema } from "effect";
3
3
  //#region src/durable/ScheduleStoreConformance.d.ts
4
4
  declare const ScheduleStoreConformanceViolation_base: Schema.Class<ScheduleStoreConformanceViolation, Schema.TaggedStruct<"ScheduleStoreConformanceViolation", {
@@ -1,6 +1,6 @@
1
1
  import { AgentId, ReceiptId, SubmissionId, ThreadId } from "../core/Identifiers.mjs";
2
2
  import { IdempotencyKey, Principal, QueueSequence, Receipt } from "../core/Receipt.mjs";
3
- import { h as Digest, p as DefinitionDigests } from "../Records-CsEsSW2o.mjs";
3
+ import { h as Digest, p as DefinitionDigests } from "../Records-BAutSSnJ.mjs";
4
4
  import { ScheduleCapacityError, ScheduleId, ScheduleStore } from "./Schedule.mjs";
5
5
  import { Effect, Result, Schema } from "effect";
6
6
  //#region src/durable/ScheduleStoreConformance.ts
@@ -1,4 +1,4 @@
1
- import { C as ScheduleRecord, a as ScheduleChange, m as ScheduleKey, s as ScheduleConflict, y as ScheduleOwner } from "../Schedule-DCYBfhgT.mjs";
1
+ import { C as ScheduleRecord, a as ScheduleChange, m as ScheduleKey, s as ScheduleConflict, y as ScheduleOwner } from "../Schedule-DePbGfgd.mjs";
2
2
  import { Result } from "effect";
3
3
  declare namespace ScheduleTransition_d_exports {
4
4
  export { applyScheduleChange, compareScheduleKeys, compareScheduleNames, scheduleDeadline, scheduleKeyOf, scheduleKeyString, scheduleOwnerKey, scheduleUsesCapacity };
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
2
- import { T as PersistedJson, p as DefinitionDigests } from "../Records-CsEsSW2o.mjs";
2
+ import { T as PersistedJson, p as DefinitionDigests } from "../Records-BAutSSnJ.mjs";
3
3
  import { AdmissionFence } from "./SubmissionLedger.mjs";
4
4
  import { ScheduleConflict } from "./Schedule.mjs";
5
5
  import { Result, Schema } from "effect";
@@ -1,6 +1,6 @@
1
1
  import { r as Principal } from "../Receipt-BAHyigAF.mjs";
2
- import { Et as DurableSubmitAgent, Li as AdmissionFence, h as DefinitionDigests } from "../Records-B84j3Jq_.mjs";
3
- import { A as ScheduleSnapshotPage, B as ScheduledInputAdmission, C as ScheduleRecord, D as ScheduleScope, F as ScheduleTimingRequest, I as ScheduleValidationError, L as ScheduleWake, M as ScheduleStore, N as ScheduleStoreFailure, W as SchedulingLimits, c as ScheduleDestination, f as ScheduleId, j as ScheduleStorageError, k as ScheduleSnapshot, m as ScheduleKey, n as ScheduleAuthorizationError, r as ScheduleAuthorizer, y as ScheduleOwner } from "../Schedule-DCYBfhgT.mjs";
2
+ import { Ki as AdmissionFence, Ot as DurableSubmitAgent, h as DefinitionDigests } from "../Records-CV49DgQK.mjs";
3
+ import { A as ScheduleSnapshotPage, B as ScheduledInputAdmission, C as ScheduleRecord, D as ScheduleScope, F as ScheduleTimingRequest, I as ScheduleValidationError, L as ScheduleWake, M as ScheduleStore, N as ScheduleStoreFailure, W as SchedulingLimits, c as ScheduleDestination, f as ScheduleId, j as ScheduleStorageError, k as ScheduleSnapshot, m as ScheduleKey, n as ScheduleAuthorizationError, r as ScheduleAuthorizer, y as ScheduleOwner } from "../Schedule-DePbGfgd.mjs";
4
4
  import { Context, Crypto, Effect, Layer, Schema } from "effect";
5
5
  declare namespace Scheduling_d_exports {
6
6
  export { ScheduleCreateOptions, ScheduleDriver, ScheduleListOptions, ScheduleManagementFailure, ScheduleProcessFailure, ScheduleUpdateOptions, ScheduleWakeNoop, Scheduling };
@@ -1,2 +1,2 @@
1
- import { n as ScheduleWakeNoop, r as Scheduling, t as ScheduleDriver } from "../Scheduling-CUuYc3-D.mjs";
1
+ import { n as ScheduleWakeNoop, r as Scheduling, t as ScheduleDriver } from "../Scheduling-C3QpYn0W.mjs";
2
2
  export { ScheduleDriver, ScheduleWakeNoop, Scheduling };
@@ -1,5 +1,5 @@
1
- import { d as ScheduleFailpointError } from "../Schedule-DCYBfhgT.mjs";
2
- import { g as SubscriptionFailpointError } from "../Subscription-C8IHdmFk.mjs";
1
+ import { d as ScheduleFailpointError } from "../Schedule-DePbGfgd.mjs";
2
+ import { g as SubscriptionFailpointError } from "../Subscription-BR_8Cxh3.mjs";
3
3
  import { Effect, Schema } from "effect";
4
4
  import * as SqlClient from "effect/unstable/sql/SqlClient";
5
5
  //#region src/durable/SqlStorageV2Upgrade.d.ts
@@ -1,4 +1,4 @@
1
- import { p as DefinitionDigests } from "../Records-CsEsSW2o.mjs";
1
+ import { p as DefinitionDigests } from "../Records-BAutSSnJ.mjs";
2
2
  import { digestJson } from "./Digest.mjs";
3
3
  import { ScheduleConfiguration, ScheduleFailpoint, ScheduleInstant, ScheduleRecord, ScheduleRetry, ScheduledEnvelope } from "./Schedule.mjs";
4
4
  import { PreparedInput, SubscriptionConfiguration, SubscriptionDelivery, SubscriptionFailpoint, SubscriptionRecord, subscriptionDeliveryKeyString } from "./Subscription.mjs";
@@ -1,5 +1,5 @@
1
- import { _ as Digest } from "../Records-B84j3Jq_.mjs";
2
- import { C as SubscriptionScanCursors, O as SubscriptionStoreFailure, S as SubscriptionRetentionPolicy, _ as SubscriptionKey, b as SubscriptionRecord, d as SubscriptionDelivery, f as SubscriptionDeliveryKey, g as SubscriptionFailpointError, l as SubscriptionChange, m as SubscriptionError, n as DeliveryChange, o as SourcePartition, t as AcceptedEvent, v as SubscriptionLimits } from "../Subscription-C8IHdmFk.mjs";
1
+ import { _ as Digest } from "../Records-CV49DgQK.mjs";
2
+ import { C as SubscriptionScanCursors, O as SubscriptionStoreFailure, S as SubscriptionRetentionPolicy, _ as SubscriptionKey, b as SubscriptionRecord, d as SubscriptionDelivery, f as SubscriptionDeliveryKey, g as SubscriptionFailpointError, l as SubscriptionChange, m as SubscriptionError, n as DeliveryChange, o as SourcePartition, t as AcceptedEvent, v as SubscriptionLimits } from "../Subscription-BR_8Cxh3.mjs";
3
3
  import { Context, Effect } from "effect";
4
4
  import * as SqlClientService from "effect/unstable/sql/SqlClient";
5
5
  //#region src/durable/SqlSubscriptionStore.d.ts
@@ -1,4 +1,4 @@
1
- import { h as Digest } from "../Records-CsEsSW2o.mjs";
1
+ import { h as Digest } from "../Records-BAutSSnJ.mjs";
2
2
  import { AcceptedEvent, DeliveryChange, SubscriptionChange, SubscriptionDelivery, SubscriptionDeliveryKey, SubscriptionError, SubscriptionFailpoint, SubscriptionKey, SubscriptionLimits, SubscriptionName, SubscriptionRecord, SubscriptionRetentionPolicy, SubscriptionScanCursors, SubscriptionStore, subscriptionDeliveryKeyString } from "./Subscription.mjs";
3
3
  import { applySubscriptionChange, applySubscriptionDeliveryChange, sameAcceptedEventIdentity, sameSourcePartition, subscriptionCanSelect, subscriptionDeliveryCanSelect, validateEventRetention } from "./SubscriptionTransition.mjs";
4
4
  import { Clock, Context, Effect, Result, Schema } from "effect";
@@ -1,3 +1,3 @@
1
1
  import { i as QueueSequence, n as JoinedToHost, r as Principal, t as IdempotencyKey } from "../Receipt-BAHyigAF.mjs";
2
- import { $a as UnknownResolution, $i as ChildBudgetReservationSnapshot, Aa as ResolutionAbortSubmission, Ba as SubmissionAdmissionFence, Bi as AdmissionNotAdmitted, Ca as RecoverySnapshot, Da as RenewOwnershipRequest, Ea as ReleaseOwnershipRequest, Fa as Settlement, Fi as AdmissionAdmitted, Ga as SubmissionLookupById, Gi as ApprovalConflict, Ha as SubmissionLedgerFailure, Hi as AdmissionRequest, Ia as SettlementConflict, Ii as AdmissionConflict, Ja as SubmissionState, Ji as ApprovalPendingSuspension, Ka as SubmissionLookupByKey, Ki as ApprovalDecisionCommand, La as SettlementFinalization, Li as AdmissionFence, Ma as ResolutionNeverHappened, Mi as AbortCommand, Na as ResolutionSafeToRetry, Ni as AbortIntent, Oa as ReservedChildBudget, Pa as RevertJoiningRequest, Pi as AbortIntentRequest, Qa as SuspensionSnapshot, Qi as ChildBudgetReservationRequest, Ra as SettlementReservation, Ri as AdmissionGroup, Sa as ParentLinkage, Ta as ReleaseChildBudgetRequest, Ui as AdmissionResolution, Va as SubmissionLedger, Vi as AdmissionPolicyError, Wa as SubmissionLookup, Wi as AdmissionResult, Xa as SuspensionOutcome, Xi as BeginChildBudgetReleaseRequest, Ya as SuspendRequest, Yi as AttachChildToReservationRequest, Za as SuspensionReason, Zi as ChildAttachmentSnapshot, _a as MarkUnknownRequest, aa as Claim, ao as settlementFailureFromRecord, ba as OwnershipSnapshot, ca as DEFAULT_OWNERSHIP_LEASE_DURATION, co as submissionInputBatchId, da as JoiningClaim, do as submissionSettlementId, ea as ChildReservationConflict, eo as UnknownResolutionCommand, fa as LedgerCapabilities, fo as submissionSettlementRecordId, ga as MarkReadyRequest, ha as MarkJoinedRequest, ia as ChildSettledOutcome, io as WaitingForChildSuspension, ja as ResolutionCompletedWithResult, ka as ReservedSettlement, la as InputAppliedMarker, lo as submissionInputRecordId, ma as MarkInputAppliedRequest, na as ChildReservationStatus, no as UnknownResolutionIntent, oa as ClaimJoiningRequest, oo as submissionAbortBatchId, pa as LedgerError, qa as SubmissionSnapshot, qi as ApprovalDecisionIntent, ra as ChildSettledNotification, ro as WaitingChild, sa as ClaimRequest, so as submissionAbortRecordId, ta as ChildReservationId, to as UnknownResolutionConflict, ua as JoinSnapshot, uo as submissionSettlementBatchId, va as OwnershipLost, wa as RecoverySnapshotRequest, xa as OwnershipToken, ya as OwnershipRenewal, za as SettlementReservationSnapshot, zi as AdmissionIndeterminate } from "../Records-B84j3Jq_.mjs";
2
+ import { $a as SubmissionLookup, $i as AdmissionResult, Aa as OwnershipToken, Ba as ResolutionCompletedWithResult, Ca as MarkInputAppliedRequest, Da as OwnershipLost, Ea as MarkUnknownRequest, Fa as ReleaseOwnershipRequest, Ga as SettlementConflict, Gi as AdmissionConflict, Ha as ResolutionSafeToRetry, Hi as AbortIntent, Ia as RenewOwnershipRequest, Ja as SettlementReservationSnapshot, Ji as AdmissionIndeterminate, Ka as SettlementFinalization, Ki as AdmissionFence, La as ReservedChildBudget, Ma as RecoverySnapshot, Na as RecoverySnapshotRequest, Oa as OwnershipRenewal, Pa as ReleaseChildBudgetRequest, Qi as AdmissionResolution, Ra as ReservedSettlement, Sa as LedgerError, Ta as MarkReadyRequest, Ua as RevertJoiningRequest, Ui as AbortIntentRequest, Va as ResolutionNeverHappened, Vi as AbortCommand, Wa as Settlement, Wi as AdmissionAdmitted, Xa as SubmissionLedger, Xi as AdmissionPolicyError, Ya as SubmissionAdmissionFence, Yi as AdmissionNotAdmitted, Za as SubmissionLedgerFailure, Zi as AdmissionRequest, _a as DEFAULT_OWNERSHIP_LEASE_DURATION, _o as submissionInputBatchId, aa as BeginChildBudgetReleaseRequest, ao as SuspensionOutcome, ba as JoiningClaim, bo as submissionSettlementId, ca as ChildBudgetReservationSnapshot, co as UnknownResolution, da as ChildReservationStatus, do as UnknownResolutionIntent, ea as ApprovalConflict, eo as SubmissionLookupById, fa as ChildSettledNotification, fo as WaitingChild, ga as ClaimRequest, go as submissionAbortRecordId, ha as ClaimJoiningRequest, ho as submissionAbortBatchId, ia as AttachChildToReservationRequest, io as SuspendRequest, ja as ParentLinkage, ka as OwnershipSnapshot, la as ChildReservationConflict, lo as UnknownResolutionCommand, ma as Claim, mo as settlementFailureFromRecord, na as ApprovalDecisionIntent, no as SubmissionSnapshot, oa as ChildAttachmentSnapshot, oo as SuspensionReason, pa as ChildSettledOutcome, po as WaitingForChildSuspension, qa as SettlementReservation, qi as AdmissionGroup, ra as ApprovalPendingSuspension, ro as SubmissionState, sa as ChildBudgetReservationRequest, so as SuspensionSnapshot, ta as ApprovalDecisionCommand, to as SubmissionLookupByKey, ua as ChildReservationId, uo as UnknownResolutionConflict, va as InputAppliedMarker, vo as submissionInputRecordId, wa as MarkJoinedRequest, xa as LedgerCapabilities, xo as submissionSettlementRecordId, ya as JoinSnapshot, yo as submissionSettlementBatchId, za as ResolutionAbortSubmission } from "../Records-CV49DgQK.mjs";
3
3
  export { AbortCommand, AbortIntent, AbortIntentRequest, AdmissionAdmitted, AdmissionConflict, AdmissionFence, AdmissionGroup, AdmissionIndeterminate, AdmissionNotAdmitted, AdmissionPolicyError, AdmissionRequest, AdmissionResolution, AdmissionResult, ApprovalConflict, ApprovalDecisionCommand, ApprovalDecisionIntent, ApprovalPendingSuspension, AttachChildToReservationRequest, BeginChildBudgetReleaseRequest, ChildAttachmentSnapshot, ChildBudgetReservationRequest, ChildBudgetReservationSnapshot, ChildReservationConflict, ChildReservationId, ChildReservationStatus, ChildSettledNotification, ChildSettledOutcome, Claim, ClaimJoiningRequest, ClaimRequest, DEFAULT_OWNERSHIP_LEASE_DURATION, IdempotencyKey, InputAppliedMarker, JoinSnapshot, JoinedToHost, JoiningClaim, LedgerCapabilities, LedgerError, MarkInputAppliedRequest, MarkJoinedRequest, MarkReadyRequest, MarkUnknownRequest, OwnershipLost, OwnershipRenewal, OwnershipSnapshot, OwnershipToken, ParentLinkage, Principal, QueueSequence, RecoverySnapshot, RecoverySnapshotRequest, ReleaseChildBudgetRequest, ReleaseOwnershipRequest, RenewOwnershipRequest, ReservedChildBudget, ReservedSettlement, ResolutionAbortSubmission, ResolutionCompletedWithResult, ResolutionNeverHappened, ResolutionSafeToRetry, RevertJoiningRequest, Settlement, SettlementConflict, SettlementFinalization, SettlementReservation, SettlementReservationSnapshot, SubmissionAdmissionFence, SubmissionLedger, SubmissionLedgerFailure, SubmissionLookup, SubmissionLookupById, SubmissionLookupByKey, SubmissionSnapshot, SubmissionState, SuspendRequest, SuspensionOutcome, SuspensionReason, SuspensionSnapshot, UnknownResolution, UnknownResolutionCommand, UnknownResolutionConflict, UnknownResolutionIntent, WaitingChild, WaitingForChildSuspension, settlementFailureFromRecord, submissionAbortBatchId, submissionAbortRecordId, submissionInputBatchId, submissionInputRecordId, submissionSettlementBatchId, submissionSettlementId, submissionSettlementRecordId };
@@ -3,7 +3,7 @@ import { AgentId, AttemptId, ReceiptId, SettlementId, SubmissionId, ThreadId, To
3
3
  import { IdempotencyKey, JoinedToHost, Principal, QueueSequence } from "../core/Receipt.mjs";
4
4
  import { RunUsageSummary } from "../core/Usage.mjs";
5
5
  import { l as InputMessage } from "../MessagingHost-CWi_PP3g.mjs";
6
- import { D as ProducerId, E as ProducerEpoch, I as SettlementFailureDiagnostic, K as ToolApprovalDecided, L as SettlementOutcome, O as RecordEnvelope, Q as ToolCallUnknown, T as PersistedJson, X as ToolCallResolved, h as Digest, i as BatchId, k as RecordId, m as DeploymentId, p as DefinitionDigests, r as ApprovalDecision, t as AbortRequested, tt as WorkerAdmission, u as CanonicalSequence } from "../Records-CsEsSW2o.mjs";
6
+ import { D as ProducerId, E as ProducerEpoch, J as ToolApprovalDecided, O as RecordEnvelope, Q as ToolCallResolved, R as SettlementFailureDiagnostic, T as PersistedJson, et as ToolCallUnknown, h as Digest, i as BatchId, k as RecordId, m as DeploymentId, p as DefinitionDigests, r as ApprovalDecision, rt as WorkerAdmission, t as AbortRequested, u as CanonicalSequence, z as SettlementOutcome } from "../Records-BAutSSnJ.mjs";
7
7
  import { Context, Duration, Effect, Schema } from "effect";
8
8
  //#region src/durable/SubmissionLedger.ts
9
9
  var SubmissionLedger_exports = /* @__PURE__ */ __exportAll({
@@ -1,4 +1,4 @@
1
- import { Ha as SubmissionLedgerFailure, Va as SubmissionLedger, Vr as DigestError } from "../Records-B84j3Jq_.mjs";
1
+ import { Xa as SubmissionLedger, Xr as DigestError, Za as SubmissionLedgerFailure } from "../Records-CV49DgQK.mjs";
2
2
  import { Crypto, Effect, Schema } from "effect";
3
3
  //#region src/durable/SubmissionLedgerConformance.d.ts
4
4
  declare const SubmissionLedgerConformanceViolation_base: Schema.Class<SubmissionLedgerConformanceViolation, Schema.TaggedStruct<"SubmissionLedgerConformanceViolation", {
@@ -4,7 +4,7 @@ import { IdempotencyKey, JoinedToHost, Principal } from "../core/Receipt.mjs";
4
4
  import { SubagentDelegationCaps, SubagentGrant, SubagentReservationAmounts } from "../core/SubagentContract.mjs";
5
5
  import { WorkerCompletion, WorkerUpdate } from "../core/Worker.mjs";
6
6
  import { d as MessageAdmission, l as InputMessage } from "../MessagingHost-CWi_PP3g.mjs";
7
- import { D as ProducerId, H as SubmissionSettled, O as RecordEnvelope, T as PersistedJson, U as SubmissionSettledRecord, h as Digest, m as DeploymentId, p as DefinitionDigests, tt as WorkerAdmission, u as CanonicalSequence } from "../Records-CsEsSW2o.mjs";
7
+ import { D as ProducerId, G as SubmissionSettledRecord, O as RecordEnvelope, T as PersistedJson, W as SubmissionSettled, h as Digest, m as DeploymentId, p as DefinitionDigests, rt as WorkerAdmission, u as CanonicalSequence } from "../Records-BAutSSnJ.mjs";
8
8
  import { AbortCommand, AbortIntentRequest, AdmissionConflict, AdmissionPolicyError, AdmissionRequest, ApprovalConflict, ApprovalDecisionCommand, ApprovalPendingSuspension, AttachChildToReservationRequest, BeginChildBudgetReleaseRequest, ChildBudgetReservationRequest, ChildReservationConflict, ChildReservationId, ChildSettledNotification, ClaimJoiningRequest, ClaimRequest, LedgerError, MarkInputAppliedRequest, MarkJoinedRequest, MarkReadyRequest, MarkUnknownRequest, OwnershipLost, OwnershipToken, ParentLinkage, RecoverySnapshotRequest, ReleaseChildBudgetRequest, ReleaseOwnershipRequest, RenewOwnershipRequest, ResolutionCompletedWithResult, ResolutionNeverHappened, ResolutionSafeToRetry, RevertJoiningRequest, SettlementConflict, SettlementFinalization, SettlementReservation, SubmissionLedger, SubmissionLookupById, SubmissionLookupByKey, SuspendRequest, UnknownResolutionCommand, UnknownResolutionConflict, WaitingChild, WaitingForChildSuspension, submissionInputRecordId, submissionSettlementId, submissionSettlementRecordId } from "./SubmissionLedger.mjs";
9
9
  import { digestJson } from "./Digest.mjs";
10
10
  import { Clock, DateTime, Duration, Effect, Option, Result, Schema, Stream } from "effect";
@@ -1,2 +1,2 @@
1
- import { cn as PendingSubmission, ln as SettledSubmission, un as SubmissionStatus } from "../Records-B84j3Jq_.mjs";
1
+ import { dn as SettledSubmission, fn as SubmissionStatus, un as PendingSubmission } from "../Records-CV49DgQK.mjs";
2
2
  export { PendingSubmission, SettledSubmission, SubmissionStatus };
@@ -1,2 +1,2 @@
1
- import { A as defaultSubscriptionLimits, C as SubscriptionScanCursors, D as SubscriptionStore, E as SubscriptionSourceError, M as subscriptionKeyString, O as SubscriptionStoreFailure, S as SubscriptionRetentionPolicy, T as SubscriptionSnapshot, _ as SubscriptionKey, a as PreparedInput, b as SubscriptionRecord, c as SubscriptionAuthorizer, d as SubscriptionDelivery, f as SubscriptionDeliveryKey, g as SubscriptionFailpointError, h as SubscriptionFailpoint, i as EventSourceVersion, j as subscriptionDeliveryKeyString, l as SubscriptionChange, m as SubscriptionError, n as DeliveryChange, o as SourcePartition, p as SubscriptionDeliverySnapshot, r as EventAcknowledgement, s as SourceRecovery, t as AcceptedEvent, u as SubscriptionConfiguration, v as SubscriptionLimits, w as SubscriptionScope, x as SubscriptionRefusal, y as SubscriptionName } from "../Subscription-C8IHdmFk.mjs";
1
+ import { A as defaultSubscriptionLimits, C as SubscriptionScanCursors, D as SubscriptionStore, E as SubscriptionSourceError, M as subscriptionKeyString, O as SubscriptionStoreFailure, S as SubscriptionRetentionPolicy, T as SubscriptionSnapshot, _ as SubscriptionKey, a as PreparedInput, b as SubscriptionRecord, c as SubscriptionAuthorizer, d as SubscriptionDelivery, f as SubscriptionDeliveryKey, g as SubscriptionFailpointError, h as SubscriptionFailpoint, i as EventSourceVersion, j as subscriptionDeliveryKeyString, l as SubscriptionChange, m as SubscriptionError, n as DeliveryChange, o as SourcePartition, p as SubscriptionDeliverySnapshot, r as EventAcknowledgement, s as SourceRecovery, t as AcceptedEvent, u as SubscriptionConfiguration, v as SubscriptionLimits, w as SubscriptionScope, x as SubscriptionRefusal, y as SubscriptionName } from "../Subscription-BR_8Cxh3.mjs";
2
2
  export { AcceptedEvent, DeliveryChange, EventAcknowledgement, EventSourceVersion, PreparedInput, SourcePartition, SourceRecovery, SubscriptionAuthorizer, SubscriptionChange, SubscriptionConfiguration, SubscriptionDelivery, SubscriptionDeliveryKey, SubscriptionDeliverySnapshot, SubscriptionError, SubscriptionFailpoint, SubscriptionFailpointError, SubscriptionKey, SubscriptionLimits, SubscriptionName, SubscriptionRecord, SubscriptionRefusal, SubscriptionRetentionPolicy, SubscriptionScanCursors, SubscriptionScope, SubscriptionSnapshot, SubscriptionSourceError, SubscriptionStore, SubscriptionStoreFailure, defaultSubscriptionLimits, subscriptionDeliveryKeyString, subscriptionKeyString };