effect-agent 0.1.0-beta.124 → 0.1.0-beta.125

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 (67) hide show
  1. package/dist/{AgentRuntime-BUxDdLpw.d.mts → AgentRuntime-ov0LFEb-.d.mts} +2 -2
  2. package/dist/{DurableAgentRuntime-B-9w7jDt.mjs → DurableAgentRuntime-BvDGe7F9.mjs} +2 -1
  3. package/dist/DurableAgentRuntime-BvDGe7F9.mjs.map +1 -0
  4. package/dist/{EventSource-CnlZ3Kma.d.mts → EventSource-CNBoY8AA.d.mts} +3 -3
  5. package/dist/{PreparedInputAdmission-BQLGldl-.d.mts → PreparedInputAdmission--_APJzWY.d.mts} +4 -4
  6. package/dist/{Records-D88mgvyS.d.mts → Records-uGX4_EGf.d.mts} +3 -3
  7. package/dist/{Schedule-BIOHA6RR.d.mts → Schedule-C8ze8WTW.d.mts} +2 -2
  8. package/dist/{Subagent-CNik9RiA.d.mts → Subagent-CCf7rY70.d.mts} +12 -4
  9. package/dist/{Subagent-DCrB7an7.mjs → Subagent-CudP5BlT.mjs} +2 -1
  10. package/dist/Subagent-CudP5BlT.mjs.map +1 -0
  11. package/dist/{SubagentHost-4WB8Hj0C.d.mts → SubagentHost-B0-cRCqs.d.mts} +4 -1
  12. package/dist/{Subscription-CRteOKRf.d.mts → Subscription-CYb8ltMK.d.mts} +3 -3
  13. package/dist/{SubscriptionInput-oNcwTPti.d.mts → SubscriptionInput-C1XE9Vyi.d.mts} +3 -3
  14. package/dist/capabilities/Subagent.d.mts +1 -1
  15. package/dist/capabilities/Subagent.mjs +1 -1
  16. package/dist/durable/ActivityStore.d.mts +1 -1
  17. package/dist/durable/Admin.d.mts +1 -1
  18. package/dist/durable/AgentRegistration.d.mts +1 -1
  19. package/dist/durable/Certification.d.mts +1 -1
  20. package/dist/durable/CommittedActivity.d.mts +1 -1
  21. package/dist/durable/Digest.d.mts +1 -1
  22. package/dist/durable/DurableAgentRuntime.d.mts +1 -1
  23. package/dist/durable/DurableAgentRuntime.mjs +1 -1
  24. package/dist/durable/EventSource.d.mts +1 -1
  25. package/dist/durable/GitHubWorkflowSource.d.mts +3 -3
  26. package/dist/durable/MessageDelivery.d.mts +41 -41
  27. package/dist/durable/MessageDeliveryStoreConformance.d.mts +39 -39
  28. package/dist/durable/PersistentHistory.d.mts +1 -1
  29. package/dist/durable/PreparedInputAdmission.d.mts +1 -1
  30. package/dist/durable/Records.d.mts +1 -1
  31. package/dist/durable/Recovery.d.mts +1 -1
  32. package/dist/durable/RunJournal.d.mts +1 -1
  33. package/dist/durable/Schedule.d.mts +1 -1
  34. package/dist/durable/ScheduleStoreConformance.d.mts +1 -1
  35. package/dist/durable/ScheduleTransition.d.mts +1 -1
  36. package/dist/durable/Scheduling.d.mts +2 -2
  37. package/dist/durable/SqlStorageV2Upgrade.d.mts +2 -2
  38. package/dist/durable/SqlSubscriptionStore.d.mts +2 -2
  39. package/dist/durable/SqlThreadNativeReads.d.mts +1 -1
  40. package/dist/durable/SubmissionLedger.d.mts +1 -1
  41. package/dist/durable/SubmissionLedgerConformance.d.mts +1 -1
  42. package/dist/durable/SubmissionStatus.d.mts +1 -1
  43. package/dist/durable/Subscription.d.mts +1 -1
  44. package/dist/durable/SubscriptionInput.d.mts +1 -1
  45. package/dist/durable/SubscriptionStoreConformance.d.mts +1 -1
  46. package/dist/durable/SubscriptionTools.d.mts +3 -3
  47. package/dist/durable/SubscriptionTransition.d.mts +1 -1
  48. package/dist/durable/Subscriptions.d.mts +5 -5
  49. package/dist/durable/ThreadContextHistory.d.mts +1 -1
  50. package/dist/durable/ThreadContextHistoryProjection.d.mts +1 -1
  51. package/dist/durable/ThreadInvariants.d.mts +1 -1
  52. package/dist/durable/ThreadProjection.d.mts +1 -1
  53. package/dist/durable/ThreadProjectionMaintenance.d.mts +1 -1
  54. package/dist/durable/ThreadStore.d.mts +1 -1
  55. package/dist/durable/ThreadStoreConformance.d.mts +1 -1
  56. package/dist/durable/WorkerHost.d.mts +1 -1
  57. package/dist/engine/AgentRuntime.d.mts +1 -1
  58. package/dist/engine/SubagentHost.d.mts +1 -1
  59. package/dist/engine/SubagentHost.mjs.map +1 -1
  60. package/dist/index.d.mts +9 -9
  61. package/dist/index.mjs +2 -2
  62. package/package.json +1 -1
  63. package/src/capabilities/internal/subagent-background.ts +13 -1
  64. package/src/durable/internal/worker-host.ts +2 -0
  65. package/src/engine/SubagentHost.ts +3 -0
  66. package/dist/DurableAgentRuntime-B-9w7jDt.mjs.map +0 -1
  67. package/dist/Subagent-DCrB7an7.mjs.map +0 -1
@@ -1,2 +1,2 @@
1
- import { Ci as DigestError, Di as digestDefinition, Ei as digestCanonicalBatch, Oi as digestDefinitions, Ti as EMPTY_TAIL_DIGEST, ki as digestJson } from "../Records-D88mgvyS.mjs";
1
+ import { Ci as DigestError, Di as digestDefinition, Ei as digestCanonicalBatch, Oi as digestDefinitions, Ti as EMPTY_TAIL_DIGEST, ki as digestJson } from "../Records-uGX4_EGf.mjs";
2
2
  export { DigestError, EMPTY_TAIL_DIGEST, digestCanonicalBatch, digestDefinition, digestDefinitions, digestJson };
@@ -1,3 +1,3 @@
1
1
  import { a as Receipt } from "../Receipt-BAHyigAF.mjs";
2
- import { At as DurableRetryFailure, Bt as RecoveryFailure, Ct as DurableApprovalSuspension, Dt as DurableObserveOptions, Et as DurableObligationFailure, Ft as DurableSubmitOptions, Gt as isolateRecovery, Ht as RecoverySweepOptions, It as DurableVerifyFailure, Jt as threadCreatedBatchId, Kt as recoveryRepairBatchId, Lt as DurableWorkerFailure, Mt as DurableRuntimeConfigOptions, Nt as DurableSubmitAgent, Ot as DurableProgressFailure, Pt as DurableSubmitFailure, Rt as DurableWorkerRequirements, St as DurableApprovalResolver, Tt as DurableExplainFailure, Ut as RecoverySweepResult, Vt as RecoveryReport, Wt as childReservationIdFor, Yt as threadCreatedRecordId, _t as ApprovalSuspensionError, jt as DurableRuntimeConfig, kt as DurableResolveFailure, qt as recoveryRepairRecordId, vt as DurableAbortFailure, wt as DurableAwaitFailure, xt as DurableApprovalFailure, yt as DurableAgentRuntime, zt as RecoveryBlocked } from "../Records-D88mgvyS.mjs";
2
+ import { At as DurableRetryFailure, Bt as RecoveryFailure, Ct as DurableApprovalSuspension, Dt as DurableObserveOptions, Et as DurableObligationFailure, Ft as DurableSubmitOptions, Gt as isolateRecovery, Ht as RecoverySweepOptions, It as DurableVerifyFailure, Jt as threadCreatedBatchId, Kt as recoveryRepairBatchId, Lt as DurableWorkerFailure, Mt as DurableRuntimeConfigOptions, Nt as DurableSubmitAgent, Ot as DurableProgressFailure, Pt as DurableSubmitFailure, Rt as DurableWorkerRequirements, St as DurableApprovalResolver, Tt as DurableExplainFailure, Ut as RecoverySweepResult, Vt as RecoveryReport, Wt as childReservationIdFor, Yt as threadCreatedRecordId, _t as ApprovalSuspensionError, jt as DurableRuntimeConfig, kt as DurableResolveFailure, qt as recoveryRepairRecordId, vt as DurableAbortFailure, wt as DurableAwaitFailure, xt as DurableApprovalFailure, yt as DurableAgentRuntime, zt as RecoveryBlocked } from "../Records-uGX4_EGf.mjs";
3
3
  export { ApprovalSuspensionError, DurableAbortFailure, DurableAgentRuntime, DurableApprovalFailure, DurableApprovalResolver, DurableApprovalSuspension, DurableAwaitFailure, DurableExplainFailure, DurableObligationFailure, DurableObserveOptions, DurableProgressFailure, DurableResolveFailure, DurableRetryFailure, DurableRuntimeConfig, DurableRuntimeConfigOptions, DurableSubmitAgent, DurableSubmitFailure, DurableSubmitOptions, DurableVerifyFailure, DurableWorkerFailure, DurableWorkerRequirements, Receipt, RecoveryBlocked, RecoveryFailure, RecoveryReport, RecoverySweepOptions, RecoverySweepResult, childReservationIdFor, isolateRecovery, recoveryRepairBatchId, recoveryRepairRecordId, threadCreatedBatchId, threadCreatedRecordId };
@@ -1,3 +1,3 @@
1
1
  import { Receipt } from "../core/Receipt.mjs";
2
- import { a as DurableApprovalSuspension, c as RecoveryFailure, d as childReservationIdFor, f as isolateRecovery, g as threadCreatedRecordId, h as threadCreatedBatchId, i as DurableApprovalResolver, l as RecoveryReport, m as recoveryRepairRecordId, n as DurableAgentRuntime, o as DurableRuntimeConfig, p as recoveryRepairBatchId, s as RecoveryBlocked, t as ApprovalSuspensionError, u as RecoverySweepResult } from "../DurableAgentRuntime-B-9w7jDt.mjs";
2
+ import { a as DurableApprovalSuspension, c as RecoveryFailure, d as childReservationIdFor, f as isolateRecovery, g as threadCreatedRecordId, h as threadCreatedBatchId, i as DurableApprovalResolver, l as RecoveryReport, m as recoveryRepairRecordId, n as DurableAgentRuntime, o as DurableRuntimeConfig, p as recoveryRepairBatchId, s as RecoveryBlocked, t as ApprovalSuspensionError, u as RecoverySweepResult } from "../DurableAgentRuntime-BvDGe7F9.mjs";
3
3
  export { ApprovalSuspensionError, DurableAgentRuntime, DurableApprovalResolver, DurableApprovalSuspension, DurableRuntimeConfig, Receipt, RecoveryBlocked, RecoveryFailure, RecoveryReport, RecoverySweepResult, childReservationIdFor, isolateRecovery, recoveryRepairBatchId, recoveryRepairRecordId, threadCreatedBatchId, threadCreatedRecordId };
@@ -1,2 +1,2 @@
1
- import { a as makeEventSource, i as NormalizedEvent, r as EventSources, t as EventSource } from "../EventSource-CnlZ3Kma.mjs";
1
+ import { a as makeEventSource, i as NormalizedEvent, r as EventSources, t as EventSource } from "../EventSource-CNBoY8AA.mjs";
2
2
  export { EventSource, EventSources, NormalizedEvent, makeEventSource };
@@ -1,7 +1,7 @@
1
1
  import { r as Principal } from "../Receipt-BAHyigAF.mjs";
2
- import "../Records-D88mgvyS.mjs";
3
- import { E as SubscriptionSourceError } from "../Subscription-CRteOKRf.mjs";
4
- import { t as EventSource } from "../EventSource-CnlZ3Kma.mjs";
2
+ import "../Records-uGX4_EGf.mjs";
3
+ import { E as SubscriptionSourceError } from "../Subscription-CYb8ltMK.mjs";
4
+ import { t as EventSource } from "../EventSource-CNBoY8AA.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";
@@ -4,9 +4,9 @@ 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 { a as FailureDiagnostic_d_exports, r as Diagnostic } from "../FailureDiagnostic-CaAkzGHL.mjs";
6
6
  import { t as AgentPolicy } from "../AgentPolicy-BqDoSXO6.mjs";
7
- import { _o as Settlement, h as DefinitionDigests } from "../Records-D88mgvyS.mjs";
8
- import { a as PreparedInput } from "../Subscription-CRteOKRf.mjs";
9
- import { t as PreparedInputAdmission } from "../PreparedInputAdmission-BQLGldl-.mjs";
7
+ import { _o as Settlement, h as DefinitionDigests } from "../Records-uGX4_EGf.mjs";
8
+ import { a as PreparedInput } from "../Subscription-CYb8ltMK.mjs";
9
+ import { t as PreparedInputAdmission } from "../PreparedInputAdmission--_APJzWY.mjs";
10
10
  import { Context, Crypto, Effect, Layer, Result, Schema } from "effect";
11
11
  declare namespace MessageDelivery_d_exports {
12
12
  export { MessageDeliveryChange, MessageDeliveryDriver, MessageDeliveryDriverLimits, MessageDeliveryError, MessageDeliveryFailpoint, MessageDeliveryFailpointError, MessageDeliveryFailure, MessageDeliveryKey, MessageDeliveryPage, MessageDeliveryPageRequest, MessageDeliveryPolicy, MessageDeliveryRecord, MessageDeliveryStore, MessageDeliveryStoreLimits, applyMessageDeliveryChange, defaultMessageDeliveryPolicy, defaultMessageDeliveryStoreLimits, isWorkerUpdateDelivery, messageDeliveryCapacity, messageDeliveryDeadline, messageDeliveryKeyString, messageDeliveryUsesCapacity, prepareMessageDelivery, readPending, sameMessageDeliveryIdentity, validateMessageDelivery };
@@ -585,25 +585,6 @@ export declare const readPending: (request: Pick<{
585
585
  readonly reportKind?: "update" | undefined;
586
586
  } | undefined;
587
587
  readonly messageAdmission?: {
588
- readonly schemaVersion: 1;
589
- readonly message: {
590
- readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
591
- readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
592
- };
593
- readonly peerName: string;
594
- readonly sender: {
595
- readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
596
- readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
597
- };
598
- readonly returnAddress: {
599
- readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
600
- readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
601
- };
602
- readonly inReplyTo?: {
603
- readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
604
- readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
605
- } | undefined;
606
- } | {
607
588
  readonly _tag: "WorkerCompletion";
608
589
  readonly budgetExhausted: boolean;
609
590
  readonly schemaVersion: 1;
@@ -644,6 +625,25 @@ export declare const readPending: (request: Pick<{
644
625
  readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
645
626
  };
646
627
  readonly update: Update;
628
+ } | {
629
+ readonly schemaVersion: 1;
630
+ readonly message: {
631
+ readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
632
+ readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
633
+ };
634
+ readonly peerName: string;
635
+ readonly sender: {
636
+ readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
637
+ readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
638
+ };
639
+ readonly returnAddress: {
640
+ readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
641
+ readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
642
+ };
643
+ readonly inReplyTo?: {
644
+ readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
645
+ readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
646
+ } | undefined;
647
647
  } | undefined;
648
648
  };
649
649
  readonly envelopeDigest: string & import("effect/Brand").Brand<"@effect-agent/thread/Digest">;
@@ -776,25 +776,6 @@ export declare const prepareMessageDelivery: (options: {
776
776
  readonly reportKind?: "update" | undefined;
777
777
  } | undefined;
778
778
  readonly messageAdmission?: {
779
- readonly schemaVersion: 1;
780
- readonly message: {
781
- readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
782
- readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
783
- };
784
- readonly peerName: string;
785
- readonly sender: {
786
- readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
787
- readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
788
- };
789
- readonly returnAddress: {
790
- readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
791
- readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
792
- };
793
- readonly inReplyTo?: {
794
- readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
795
- readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
796
- } | undefined;
797
- } | {
798
779
  readonly _tag: "WorkerCompletion";
799
780
  readonly budgetExhausted: boolean;
800
781
  readonly schemaVersion: 1;
@@ -835,6 +816,25 @@ export declare const prepareMessageDelivery: (options: {
835
816
  readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
836
817
  };
837
818
  readonly update: Update;
819
+ } | {
820
+ readonly schemaVersion: 1;
821
+ readonly message: {
822
+ readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
823
+ readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
824
+ };
825
+ readonly peerName: string;
826
+ readonly sender: {
827
+ readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
828
+ readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
829
+ };
830
+ readonly returnAddress: {
831
+ readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
832
+ readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
833
+ };
834
+ readonly inReplyTo?: {
835
+ readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
836
+ readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
837
+ } | undefined;
838
838
  } | undefined;
839
839
  };
840
840
  readonly envelopeDigest: string & import("effect/Brand").Brand<"@effect-agent/thread/Digest">;
@@ -3,7 +3,7 @@ import { a as Receipt } from "../Receipt-BAHyigAF.mjs";
3
3
  import { r as Update } from "../AgentUpdates-DMJ-_xow.mjs";
4
4
  import { r as Diagnostic } from "../FailureDiagnostic-CaAkzGHL.mjs";
5
5
  import { t as AgentPolicy } from "../AgentPolicy-BqDoSXO6.mjs";
6
- import { Ci as DigestError, _o as Settlement, h as DefinitionDigests } from "../Records-D88mgvyS.mjs";
6
+ import { Ci as DigestError, _o as Settlement, h as DefinitionDigests } from "../Records-uGX4_EGf.mjs";
7
7
  import { MessageDeliveryError, MessageDeliveryFailure, MessageDeliveryStore } from "./MessageDelivery.mjs";
8
8
  import { Effect, Schema } from "effect";
9
9
  //#region src/durable/MessageDeliveryStoreConformance.d.ts
@@ -93,25 +93,6 @@ export declare const makeMessageDeliveryFixture: (messageId?: any, owner?: any,
93
93
  readonly reportKind?: "update" | undefined;
94
94
  } | undefined;
95
95
  readonly messageAdmission?: {
96
- readonly schemaVersion: 1;
97
- readonly message: {
98
- readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
99
- readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
100
- };
101
- readonly peerName: string;
102
- readonly sender: {
103
- readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
104
- readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
105
- };
106
- readonly returnAddress: {
107
- readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
108
- readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
109
- };
110
- readonly inReplyTo?: {
111
- readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
112
- readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
113
- } | undefined;
114
- } | {
115
96
  readonly _tag: "WorkerCompletion";
116
97
  readonly budgetExhausted: boolean;
117
98
  readonly schemaVersion: 1;
@@ -152,6 +133,25 @@ export declare const makeMessageDeliveryFixture: (messageId?: any, owner?: any,
152
133
  readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
153
134
  };
154
135
  readonly update: Update;
136
+ } | {
137
+ readonly schemaVersion: 1;
138
+ readonly message: {
139
+ readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
140
+ readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
141
+ };
142
+ readonly peerName: string;
143
+ readonly sender: {
144
+ readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
145
+ readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
146
+ };
147
+ readonly returnAddress: {
148
+ readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
149
+ readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
150
+ };
151
+ readonly inReplyTo?: {
152
+ readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
153
+ readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
154
+ } | undefined;
155
155
  } | undefined;
156
156
  };
157
157
  readonly envelopeDigest: string & import("effect/Brand").Brand<"@effect-agent/thread/Digest">;
@@ -266,25 +266,6 @@ export declare const makeWorkerUpdateDeliveryFixture: (id: string) => Effect.Eff
266
266
  readonly reportKind?: "update" | undefined;
267
267
  } | undefined;
268
268
  readonly messageAdmission?: {
269
- readonly schemaVersion: 1;
270
- readonly message: {
271
- readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
272
- readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
273
- };
274
- readonly peerName: string;
275
- readonly sender: {
276
- readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
277
- readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
278
- };
279
- readonly returnAddress: {
280
- readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
281
- readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
282
- };
283
- readonly inReplyTo?: {
284
- readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
285
- readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
286
- } | undefined;
287
- } | {
288
269
  readonly _tag: "WorkerCompletion";
289
270
  readonly budgetExhausted: boolean;
290
271
  readonly schemaVersion: 1;
@@ -325,6 +306,25 @@ export declare const makeWorkerUpdateDeliveryFixture: (id: string) => Effect.Eff
325
306
  readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
326
307
  };
327
308
  readonly update: Update;
309
+ } | {
310
+ readonly schemaVersion: 1;
311
+ readonly message: {
312
+ readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
313
+ readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
314
+ };
315
+ readonly peerName: string;
316
+ readonly sender: {
317
+ readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
318
+ readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
319
+ };
320
+ readonly returnAddress: {
321
+ readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
322
+ readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
323
+ };
324
+ readonly inReplyTo?: {
325
+ readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
326
+ readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
327
+ } | undefined;
328
328
  } | undefined;
329
329
  };
330
330
  readonly envelopeDigest: string & import("effect/Brand").Brand<"@effect-agent/thread/Digest">;
@@ -1,5 +1,5 @@
1
1
  import { t as ThreadHistory } from "../ThreadHistory-tS1KwxHR.mjs";
2
- import { Sn as ThreadStore } from "../Records-D88mgvyS.mjs";
2
+ import { Sn as ThreadStore } from "../Records-uGX4_EGf.mjs";
3
3
  import { Layer } from "effect";
4
4
  declare namespace PersistentHistory_d_exports {
5
5
  export { layer };
@@ -1,2 +1,2 @@
1
- import { r as admitPreparedInput, t as PreparedInputAdmission } from "../PreparedInputAdmission-BQLGldl-.mjs";
1
+ import { r as admitPreparedInput, t as PreparedInputAdmission } from "../PreparedInputAdmission--_APJzWY.mjs";
2
2
  export { PreparedInputAdmission, admitPreparedInput };
@@ -1,2 +1,2 @@
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 ToolStepSettled, b as MAX_PERSISTED_JSON_COLLECTION_LENGTH, c as CanonicalRecord, ct as WorkerAdmission, d as CanonicalSequence, dt as WorkerOrigin, et as ToolCallResolution, f as CompactionCreated, ft as WorkerOriginRecorded, g as DeploymentId, gt as WorkerStopRequested, h as DefinitionDigests, ht as WorkerReportingIntent, i as ApprovalDecision, it as ToolOperation, j as RecordEnvelope, k as ProducerEpoch, l as CanonicalRecordEnvelope, lt as WorkerInputCompleted, m as DefinitionDigestInput, mt as WorkerReportRefused, n as AbortedSubmissionSettled, nt as ToolCallSettled, o as CURRENT_CANONICAL_SCHEMA_VERSION, ot as ToolUnavailable, p as CompletedSubmissionSettled, pt as WorkerReportPrepared, q as SubmissionSettled, r as AgentUpdateEmitted, rt as ToolCallUnknown, s as CanonicalBatch, st as UserInputRecorded, t as AbortRequested, tt as ToolCallResolved, u as CanonicalRecordPayload, ut as WorkerInputRequested, v as FailedSubmissionSettled, w as ModelResponseInterrupted, x as MAX_PERSISTED_JSON_DEPTH, y as MAX_PERSISTED_JSON_BYTES, z as RunPolicyUsageReserved } from "../Records-D88mgvyS.mjs";
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 ToolStepSettled, b as MAX_PERSISTED_JSON_COLLECTION_LENGTH, c as CanonicalRecord, ct as WorkerAdmission, d as CanonicalSequence, dt as WorkerOrigin, et as ToolCallResolution, f as CompactionCreated, ft as WorkerOriginRecorded, g as DeploymentId, gt as WorkerStopRequested, h as DefinitionDigests, ht as WorkerReportingIntent, i as ApprovalDecision, it as ToolOperation, j as RecordEnvelope, k as ProducerEpoch, l as CanonicalRecordEnvelope, lt as WorkerInputCompleted, m as DefinitionDigestInput, mt as WorkerReportRefused, n as AbortedSubmissionSettled, nt as ToolCallSettled, o as CURRENT_CANONICAL_SCHEMA_VERSION, ot as ToolUnavailable, p as CompletedSubmissionSettled, pt as WorkerReportPrepared, q as SubmissionSettled, r as AgentUpdateEmitted, rt as ToolCallUnknown, s as CanonicalBatch, st as UserInputRecorded, t as AbortRequested, tt as ToolCallResolved, u as CanonicalRecordPayload, ut as WorkerInputRequested, v as FailedSubmissionSettled, w as ModelResponseInterrupted, x as MAX_PERSISTED_JSON_DEPTH, y as MAX_PERSISTED_JSON_BYTES, z as RunPolicyUsageReserved } from "../Records-uGX4_EGf.mjs";
2
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, ToolOperation, ToolStepSettled, ToolUnavailable, UserInputRecorded, WorkerAdmission, WorkerInputCompleted, WorkerInputRequested, WorkerOrigin, WorkerOriginRecorded, WorkerReportPrepared, WorkerReportRefused, WorkerReportingIntent, WorkerStopRequested };
@@ -1,2 +1,2 @@
1
- import { $i as RecoveryEvidence, Ai as AppendReservedSettlement, Bi as CompleteChildAdmission, Fi as AwaitChildAdmissionResolution, Gi as FinalizeLedgerFromHistory, Hi as DeclaredPendingBatchEvidence, Ii as AwaitChildSettlement, Ji as OpenDelegationCallEvidence, Ki as MarkUnknown, Li as AwaitHostSettlement, Mi as ApplyJoinAccounting, Ni as ApplyUnknownResolutions, Pi as AwaitApprovalDecision, Qi as RecoveryDecision, Ri as AwaitParentEstablishment, Ui as DelegationAdmissionEvidence, Vi as CompleteMaterialization, Wi as EnsureWaitingForChild, Xi as PendingApprovalEvidence, Yi as OpenToolCallEvidence, Zi as PropagateChildAbort, aa as RepairSubagentStartLink, ca as ResumeSuspended, da as SettleAborted, fa as SettleJoinedWithHost, ia as RepairReadiness, ji as ApplyInput, la as ResumeWaitingParent, na as RepairInputMarker, oa as ResumeFromTurnBoundary, pa as classifyRecovery, qi as NoAction, ra as RepairJoinMarker, sa as ResumePendingToolBatch, ta as ReleaseOrphanChildReservation, ua as RevertJoining, zi as AwaitUnknownResolution } from "../Records-D88mgvyS.mjs";
1
+ import { $i as RecoveryEvidence, Ai as AppendReservedSettlement, Bi as CompleteChildAdmission, Fi as AwaitChildAdmissionResolution, Gi as FinalizeLedgerFromHistory, Hi as DeclaredPendingBatchEvidence, Ii as AwaitChildSettlement, Ji as OpenDelegationCallEvidence, Ki as MarkUnknown, Li as AwaitHostSettlement, Mi as ApplyJoinAccounting, Ni as ApplyUnknownResolutions, Pi as AwaitApprovalDecision, Qi as RecoveryDecision, Ri as AwaitParentEstablishment, Ui as DelegationAdmissionEvidence, Vi as CompleteMaterialization, Wi as EnsureWaitingForChild, Xi as PendingApprovalEvidence, Yi as OpenToolCallEvidence, Zi as PropagateChildAbort, aa as RepairSubagentStartLink, ca as ResumeSuspended, da as SettleAborted, fa as SettleJoinedWithHost, ia as RepairReadiness, ji as ApplyInput, la as ResumeWaitingParent, na as RepairInputMarker, oa as ResumeFromTurnBoundary, pa as classifyRecovery, qi as NoAction, ra as RepairJoinMarker, sa as ResumePendingToolBatch, ta as ReleaseOrphanChildReservation, ua as RevertJoining, zi as AwaitUnknownResolution } from "../Records-uGX4_EGf.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,2 +1,2 @@
1
- import { $n as modelResponseInterruptedRecordId, Ar as turnApprovalsBatchId, Bn as RunJournalProjection, Br as workerOriginRecordId, Cr as toolCallResolutionBatchId, Dr as toolCallUnknownRecordId, Er as toolCallSettledRecordId, Fr as turnResponseBatch, Gn as approvalDecisionBatchId, Ir as turnResponseBatchId, Jn as compactionBatchId, Kn as childIdempotencyKeyFor, Lr as turnResultsBatch, Mr as turnCanonicalBatch, Nr as turnIdForRun, Or as toolStepSettledBatchId, Pr as turnPreparedBatchId, Qn as modelResponseInterruptedBatchId, Rn as JournalBoundary, Rr as turnResultsBatchId, Sr as toolCallPreparedRecordId, Tr as toolCallResultBatchId, Un as TurnCommitInput, Vn as RunJournalUsage, Vr as workerReportRecordId, Wn as agentUpdateRecordId, Xn as firstWorkerInputRecordId, Yn as compactionRecordId, Zn as markUnknownBatchId, _r as subagentRequestedRecordId, ar as runCompletedRecordId, br as toolApprovalDecisionRecordId, cr as runDurationRecordId, dr as runStartedRecordId, er as modelResponseRecordId, fr as subagentJoinBatchId, gr as subagentRequestedBatchId, hr as subagentLineageRecordId, ir as promptFromCanonicalRecords, jr as turnBatchId, kr as toolStepSettledRecordId, lr as runIdForSubmission, mr as subagentLineageBatchId, nr as projectRunJournal, or as runCompletionDigest, pr as subagentJoinedRecordId, qn as childThreadIdFor, rr as projectRunJournalStream, sr as runDurationBatchId, tr as peerMessageRecordId, ur as runStartedBatchId, vr as subagentStartedBatchId, wr as toolCallResolvedRecordId, xr as toolApprovalRequestRecordId, yr as subagentStartedRecordId, zn as RunJournalError, zr as workerInputRecordId } from "../Records-D88mgvyS.mjs";
1
+ import { $n as modelResponseInterruptedRecordId, Ar as turnApprovalsBatchId, Bn as RunJournalProjection, Br as workerOriginRecordId, Cr as toolCallResolutionBatchId, Dr as toolCallUnknownRecordId, Er as toolCallSettledRecordId, Fr as turnResponseBatch, Gn as approvalDecisionBatchId, Ir as turnResponseBatchId, Jn as compactionBatchId, Kn as childIdempotencyKeyFor, Lr as turnResultsBatch, Mr as turnCanonicalBatch, Nr as turnIdForRun, Or as toolStepSettledBatchId, Pr as turnPreparedBatchId, Qn as modelResponseInterruptedBatchId, Rn as JournalBoundary, Rr as turnResultsBatchId, Sr as toolCallPreparedRecordId, Tr as toolCallResultBatchId, Un as TurnCommitInput, Vn as RunJournalUsage, Vr as workerReportRecordId, Wn as agentUpdateRecordId, Xn as firstWorkerInputRecordId, Yn as compactionRecordId, Zn as markUnknownBatchId, _r as subagentRequestedRecordId, ar as runCompletedRecordId, br as toolApprovalDecisionRecordId, cr as runDurationRecordId, dr as runStartedRecordId, er as modelResponseRecordId, fr as subagentJoinBatchId, gr as subagentRequestedBatchId, hr as subagentLineageRecordId, ir as promptFromCanonicalRecords, jr as turnBatchId, kr as toolStepSettledRecordId, lr as runIdForSubmission, mr as subagentLineageBatchId, nr as projectRunJournal, or as runCompletionDigest, pr as subagentJoinedRecordId, qn as childThreadIdFor, rr as projectRunJournalStream, sr as runDurationBatchId, tr as peerMessageRecordId, ur as runStartedBatchId, vr as subagentStartedBatchId, wr as toolCallResolvedRecordId, xr as toolApprovalRequestRecordId, yr as subagentStartedRecordId, zn as RunJournalError, zr as workerInputRecordId } from "../Records-uGX4_EGf.mjs";
2
2
  export { JournalBoundary, RunJournalError, RunJournalProjection, RunJournalUsage, TurnCommitInput, agentUpdateRecordId, approvalDecisionBatchId, childIdempotencyKeyFor, childThreadIdFor, compactionBatchId, compactionRecordId, firstWorkerInputRecordId, markUnknownBatchId, modelResponseInterruptedBatchId, modelResponseInterruptedRecordId, modelResponseRecordId, peerMessageRecordId, projectRunJournal, projectRunJournalStream, promptFromCanonicalRecords, runCompletedRecordId, runCompletionDigest, 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, workerInputRecordId, workerOriginRecordId, workerReportRecordId };
@@ -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-BIOHA6RR.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-C8ze8WTW.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,4 +1,4 @@
1
- import { M as ScheduleStore, N as ScheduleStoreFailure } from "../Schedule-BIOHA6RR.mjs";
1
+ import { M as ScheduleStore, N as ScheduleStoreFailure } from "../Schedule-C8ze8WTW.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,4 +1,4 @@
1
- import { C as ScheduleRecord, a as ScheduleChange, m as ScheduleKey, s as ScheduleConflict, y as ScheduleOwner } from "../Schedule-BIOHA6RR.mjs";
1
+ import { C as ScheduleRecord, a as ScheduleChange, m as ScheduleKey, s as ScheduleConflict, y as ScheduleOwner } from "../Schedule-C8ze8WTW.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,6 +1,6 @@
1
1
  import { r as Principal } from "../Receipt-BAHyigAF.mjs";
2
- import { Nt as DurableSubmitAgent, h as DefinitionDigests, ya as AdmissionFence } from "../Records-D88mgvyS.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-BIOHA6RR.mjs";
2
+ import { Nt as DurableSubmitAgent, h as DefinitionDigests, ya as AdmissionFence } from "../Records-uGX4_EGf.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-C8ze8WTW.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,5 +1,5 @@
1
- import { d as ScheduleFailpointError } from "../Schedule-BIOHA6RR.mjs";
2
- import { g as SubscriptionFailpointError } from "../Subscription-CRteOKRf.mjs";
1
+ import { d as ScheduleFailpointError } from "../Schedule-C8ze8WTW.mjs";
2
+ import { g as SubscriptionFailpointError } from "../Subscription-CYb8ltMK.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,5 +1,5 @@
1
- import { _ as Digest } from "../Records-D88mgvyS.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-CRteOKRf.mjs";
1
+ import { _ as Digest } from "../Records-uGX4_EGf.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-CYb8ltMK.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 { dn as ThreadNotMaterialized, hn as ThreadPeerCountRequest, j as RecordEnvelope, l as CanonicalRecordEnvelope, wn as ThreadStoreError } from "../Records-D88mgvyS.mjs";
1
+ import { dn as ThreadNotMaterialized, hn as ThreadPeerCountRequest, j as RecordEnvelope, l as CanonicalRecordEnvelope, wn as ThreadStoreError } from "../Records-uGX4_EGf.mjs";
2
2
  import { Effect, Schema } from "effect";
3
3
  import * as SqlClient from "effect/unstable/sql/SqlClient";
4
4
  declare namespace SqlThreadNativeReads_d_exports {
@@ -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 MarkUnknownRequest, Aa as ApprovalPendingSuspension, Ao as SubmissionState, Ba as ChildSettledOutcome, Bo as WaitingChild, Ca as AdmissionPolicyError, Co as SubmissionLedger, Da as ApprovalConflict, Do as SubmissionLookupById, Ea as AdmissionResult, Eo as SubmissionLookup, Fa as ChildBudgetReservationSnapshot, Fo as SuspensionSnapshot, Ga as InputAppliedMarker, Go as submissionAbortBatchId, Ha as ClaimJoiningRequest, Ho as WorkerLedgerState, Ia as ChildReservationConflict, Io as UnknownResolution, Ja as LedgerCapabilities, Jo as submissionInputRecordId, Ka as JoinSnapshot, Ko as submissionAbortRecordId, La as ChildReservationId, Lo as UnknownResolutionCommand, Ma as BeginChildBudgetReleaseRequest, Mo as SuspendRequest, Na as ChildAttachmentSnapshot, No as SuspensionOutcome, Oa as ApprovalDecisionCommand, Oo as SubmissionLookupByKey, Pa as ChildBudgetReservationRequest, Po as SuspensionReason, Qa as MarkReadyRequest, Qo as workerTerminalFromRecord, Ra as ChildReservationStatus, Ro as UnknownResolutionConflict, Sa as AdmissionNotAdmitted, So as SubmissionAdmissionFence, Ta as AdmissionResolution, Ua as ClaimRequest, Uo as WorkerStopCommand, Va as Claim, Vo as WaitingForChildSuspension, Wa as DEFAULT_OWNERSHIP_LEASE_DURATION, Wo as settlementFailureFromRecord, Xa as MarkInputAppliedRequest, Xo as submissionSettlementId, Ya as LedgerError, Yo as submissionSettlementBatchId, Za as MarkJoinedRequest, Zo as submissionSettlementRecordId, _a as AdmissionAdmitted, _o as Settlement, ao as RecoverySnapshot, ba as AdmissionGroup, bo as SettlementReservation, co as ReleaseOwnershipRequest, do as ReservedSettlement, eo as OwnershipLost, fo as ResolutionAbortSubmission, ga as AbortIntentRequest, go as RevertJoiningRequest, ha as AbortIntent, ho as ResolutionSafeToRetry, io as ParentLinkage, ja as AttachChildToReservationRequest, jo as SubmissionWorkItem, ka as ApprovalDecisionIntent, ko as SubmissionSnapshot, lo as RenewOwnershipRequest, ma as AbortCommand, mo as ResolutionNeverHappened, no as OwnershipSnapshot, oo as RecoverySnapshotRequest, po as ResolutionCompletedWithResult, qa as JoiningClaim, qo as submissionInputBatchId, ro as OwnershipToken, so as ReleaseChildBudgetRequest, to as OwnershipRenewal, uo as ReservedChildBudget, va as AdmissionConflict, vo as SettlementConflict, wa as AdmissionRequest, wo as SubmissionLedgerFailure, xa as AdmissionIndeterminate, xo as SettlementReservationSnapshot, ya as AdmissionFence, yo as SettlementFinalization, za as ChildSettledNotification, zo as UnknownResolutionIntent } from "../Records-D88mgvyS.mjs";
2
+ import { $a as MarkUnknownRequest, Aa as ApprovalPendingSuspension, Ao as SubmissionState, Ba as ChildSettledOutcome, Bo as WaitingChild, Ca as AdmissionPolicyError, Co as SubmissionLedger, Da as ApprovalConflict, Do as SubmissionLookupById, Ea as AdmissionResult, Eo as SubmissionLookup, Fa as ChildBudgetReservationSnapshot, Fo as SuspensionSnapshot, Ga as InputAppliedMarker, Go as submissionAbortBatchId, Ha as ClaimJoiningRequest, Ho as WorkerLedgerState, Ia as ChildReservationConflict, Io as UnknownResolution, Ja as LedgerCapabilities, Jo as submissionInputRecordId, Ka as JoinSnapshot, Ko as submissionAbortRecordId, La as ChildReservationId, Lo as UnknownResolutionCommand, Ma as BeginChildBudgetReleaseRequest, Mo as SuspendRequest, Na as ChildAttachmentSnapshot, No as SuspensionOutcome, Oa as ApprovalDecisionCommand, Oo as SubmissionLookupByKey, Pa as ChildBudgetReservationRequest, Po as SuspensionReason, Qa as MarkReadyRequest, Qo as workerTerminalFromRecord, Ra as ChildReservationStatus, Ro as UnknownResolutionConflict, Sa as AdmissionNotAdmitted, So as SubmissionAdmissionFence, Ta as AdmissionResolution, Ua as ClaimRequest, Uo as WorkerStopCommand, Va as Claim, Vo as WaitingForChildSuspension, Wa as DEFAULT_OWNERSHIP_LEASE_DURATION, Wo as settlementFailureFromRecord, Xa as MarkInputAppliedRequest, Xo as submissionSettlementId, Ya as LedgerError, Yo as submissionSettlementBatchId, Za as MarkJoinedRequest, Zo as submissionSettlementRecordId, _a as AdmissionAdmitted, _o as Settlement, ao as RecoverySnapshot, ba as AdmissionGroup, bo as SettlementReservation, co as ReleaseOwnershipRequest, do as ReservedSettlement, eo as OwnershipLost, fo as ResolutionAbortSubmission, ga as AbortIntentRequest, go as RevertJoiningRequest, ha as AbortIntent, ho as ResolutionSafeToRetry, io as ParentLinkage, ja as AttachChildToReservationRequest, jo as SubmissionWorkItem, ka as ApprovalDecisionIntent, ko as SubmissionSnapshot, lo as RenewOwnershipRequest, ma as AbortCommand, mo as ResolutionNeverHappened, no as OwnershipSnapshot, oo as RecoverySnapshotRequest, po as ResolutionCompletedWithResult, qa as JoiningClaim, qo as submissionInputBatchId, ro as OwnershipToken, so as ReleaseChildBudgetRequest, to as OwnershipRenewal, uo as ReservedChildBudget, va as AdmissionConflict, vo as SettlementConflict, wa as AdmissionRequest, wo as SubmissionLedgerFailure, xa as AdmissionIndeterminate, xo as SettlementReservationSnapshot, ya as AdmissionFence, yo as SettlementFinalization, za as ChildSettledNotification, zo as UnknownResolutionIntent } from "../Records-uGX4_EGf.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, SubmissionWorkItem, SuspendRequest, SuspensionOutcome, SuspensionReason, SuspensionSnapshot, UnknownResolution, UnknownResolutionCommand, UnknownResolutionConflict, UnknownResolutionIntent, WaitingChild, WaitingForChildSuspension, WorkerLedgerState, WorkerStopCommand, settlementFailureFromRecord, submissionAbortBatchId, submissionAbortRecordId, submissionInputBatchId, submissionInputRecordId, submissionSettlementBatchId, submissionSettlementId, submissionSettlementRecordId, workerTerminalFromRecord };
@@ -1,4 +1,4 @@
1
- import { Ci as DigestError, Co as SubmissionLedger, wo as SubmissionLedgerFailure } from "../Records-D88mgvyS.mjs";
1
+ import { Ci as DigestError, Co as SubmissionLedger, wo as SubmissionLedgerFailure } from "../Records-uGX4_EGf.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", {
@@ -1,2 +1,2 @@
1
- import { Fn as SettledSubmission, In as SubmissionStatus, Pn as PendingSubmission } from "../Records-D88mgvyS.mjs";
1
+ import { Fn as SettledSubmission, In as SubmissionStatus, Pn as PendingSubmission } from "../Records-uGX4_EGf.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-CRteOKRf.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-CYb8ltMK.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 };
@@ -1,2 +1,2 @@
1
- import { a as resolveSubscriptionInput, i as makeSubscriptionInputBinding, n as SubscriptionInputBindings, t as SubscriptionInputBinding } from "../SubscriptionInput-oNcwTPti.mjs";
1
+ import { a as resolveSubscriptionInput, i as makeSubscriptionInputBinding, n as SubscriptionInputBindings, t as SubscriptionInputBinding } from "../SubscriptionInput-C1XE9Vyi.mjs";
2
2
  export { SubscriptionInputBinding, SubscriptionInputBindings, makeSubscriptionInputBinding, resolveSubscriptionInput };
@@ -1,4 +1,4 @@
1
- import { D as SubscriptionStore, O as SubscriptionStoreFailure, o as SourcePartition } from "../Subscription-CRteOKRf.mjs";
1
+ import { D as SubscriptionStore, O as SubscriptionStoreFailure, o as SourcePartition } from "../Subscription-CYb8ltMK.mjs";
2
2
  import { Effect, Schema } from "effect";
3
3
  //#region src/durable/SubscriptionStoreConformance.d.ts
4
4
  declare const SubscriptionStoreConformanceViolation_base: Schema.Class<SubscriptionStoreConformanceViolation, Schema.TaggedStruct<"SubscriptionStoreConformanceViolation", {
@@ -1,9 +1,9 @@
1
1
  import { t as AgentId, u as ThreadId } from "../Identifiers-CN2s30fF.mjs";
2
2
  import { r as Principal } from "../Receipt-BAHyigAF.mjs";
3
3
  import { t as DurableStep } from "../DurableStep-Cry_iol4.mjs";
4
- import { h as DefinitionDigests } from "../Records-D88mgvyS.mjs";
5
- import { c as ScheduleDestination } from "../Schedule-BIOHA6RR.mjs";
6
- import { E as SubscriptionSourceError, g as SubscriptionFailpointError, i as EventSourceVersion, m as SubscriptionError, w as SubscriptionScope } from "../Subscription-CRteOKRf.mjs";
4
+ import { h as DefinitionDigests } from "../Records-uGX4_EGf.mjs";
5
+ import { c as ScheduleDestination } from "../Schedule-C8ze8WTW.mjs";
6
+ import { E as SubscriptionSourceError, g as SubscriptionFailpointError, i as EventSourceVersion, m as SubscriptionError, w as SubscriptionScope } from "../Subscription-CYb8ltMK.mjs";
7
7
  import { Subscriptions } from "./Subscriptions.mjs";
8
8
  import { Tool, Toolkit } from "effect/unstable/ai";
9
9
  import { Crypto, Layer, Schema } from "effect";
@@ -1,4 +1,4 @@
1
- import { b as SubscriptionRecord, d as SubscriptionDelivery, l as SubscriptionChange, m as SubscriptionError, n as DeliveryChange, o as SourcePartition, t as AcceptedEvent, v as SubscriptionLimits } from "../Subscription-CRteOKRf.mjs";
1
+ import { b as SubscriptionRecord, d as SubscriptionDelivery, l as SubscriptionChange, m as SubscriptionError, n as DeliveryChange, o as SourcePartition, t as AcceptedEvent, v as SubscriptionLimits } from "../Subscription-CYb8ltMK.mjs";
2
2
  import { Result } from "effect";
3
3
  declare namespace SubscriptionTransition_d_exports {
4
4
  export { applySubscriptionChange, applySubscriptionDeliveryChange, sameAcceptedEventIdentity, sameSourcePartition, sameSubscriptionDelivery, subscriptionCanSelect, subscriptionDeliveryCanSelect, subscriptionMatchesEvent, validateEventRetention };
@@ -1,9 +1,9 @@
1
1
  import { r as Principal } from "../Receipt-BAHyigAF.mjs";
2
- import { O as PersistedJson, ya as AdmissionFence } from "../Records-D88mgvyS.mjs";
3
- import { D as SubscriptionStore, E as SubscriptionSourceError, O as SubscriptionStoreFailure, T as SubscriptionSnapshot, _ as SubscriptionKey, c as SubscriptionAuthorizer, f as SubscriptionDeliveryKey, i as EventSourceVersion, m as SubscriptionError, p as SubscriptionDeliverySnapshot, r as EventAcknowledgement, u as SubscriptionConfiguration, v as SubscriptionLimits, w as SubscriptionScope } from "../Subscription-CRteOKRf.mjs";
4
- import { r as EventSources } from "../EventSource-CnlZ3Kma.mjs";
5
- import { t as PreparedInputAdmission } from "../PreparedInputAdmission-BQLGldl-.mjs";
6
- import { n as SubscriptionInputBindings } from "../SubscriptionInput-oNcwTPti.mjs";
2
+ import { O as PersistedJson, ya as AdmissionFence } from "../Records-uGX4_EGf.mjs";
3
+ import { D as SubscriptionStore, E as SubscriptionSourceError, O as SubscriptionStoreFailure, T as SubscriptionSnapshot, _ as SubscriptionKey, c as SubscriptionAuthorizer, f as SubscriptionDeliveryKey, i as EventSourceVersion, m as SubscriptionError, p as SubscriptionDeliverySnapshot, r as EventAcknowledgement, u as SubscriptionConfiguration, v as SubscriptionLimits, w as SubscriptionScope } from "../Subscription-CYb8ltMK.mjs";
4
+ import { r as EventSources } from "../EventSource-CNBoY8AA.mjs";
5
+ import { t as PreparedInputAdmission } from "../PreparedInputAdmission--_APJzWY.mjs";
6
+ import { n as SubscriptionInputBindings } from "../SubscriptionInput-C1XE9Vyi.mjs";
7
7
  import { Context, Crypto, Effect, Layer } from "effect";
8
8
  declare namespace Subscriptions_d_exports {
9
9
  export { SubscribeOptions, SubscriptionDriver, SubscriptionFailure, SubscriptionIntake, Subscriptions };
@@ -1,5 +1,5 @@
1
1
  import { ContextHistory, ContextHistoryError } from "../engine/ContextHistory.mjs";
2
- import { Sn as ThreadStore } from "../Records-D88mgvyS.mjs";
2
+ import { Sn as ThreadStore } from "../Records-uGX4_EGf.mjs";
3
3
  import { Layer, Schema } from "effect";
4
4
  declare namespace ThreadContextHistory_d_exports {
5
5
  export { ThreadContextHistoryOptions, layer };
@@ -1,5 +1,5 @@
1
1
  import { ContextHistoryError } from "../engine/ContextHistory.mjs";
2
- import { l as CanonicalRecordEnvelope } from "../Records-D88mgvyS.mjs";
2
+ import { l as CanonicalRecordEnvelope } from "../Records-uGX4_EGf.mjs";
3
3
  import { Effect, Schema } from "effect";
4
4
  declare namespace ThreadContextHistoryProjection_d_exports {
5
5
  export { ContextHistoryBoundary, ContextHistoryEvidence, ContextHistoryProjection, matchText, normalizeQuery, normalizeText, project, windowIdFor };
@@ -1,4 +1,4 @@
1
- import { A as ProducerId, Yr as IntegrityReport, a as BatchId, cn as ThreadExport, ko as SubmissionSnapshot, on as ThreadCheckpoint } from "../Records-D88mgvyS.mjs";
1
+ import { A as ProducerId, Yr as IntegrityReport, a as BatchId, cn as ThreadExport, ko as SubmissionSnapshot, on as ThreadCheckpoint } from "../Records-uGX4_EGf.mjs";
2
2
  import { Crypto, Effect } from "effect";
3
3
  declare namespace ThreadInvariants_d_exports {
4
4
  export { ThreadInvariantInput, verifyThreadInvariants };
@@ -1,5 +1,5 @@
1
1
  import { u as ThreadId } from "../Identifiers-CN2s30fF.mjs";
2
- import { G as SubagentRequested, J as SubmissionSettledRecord, K as SubagentStarted, Q as ToolApprovalRequested, U as SubagentJoined, W as SubagentLineageRecorded, Z as ToolApprovalDecided, _ as Digest, l as CanonicalRecordEnvelope, q as SubmissionSettled, rt as ToolCallUnknown, t as AbortRequested } from "../Records-D88mgvyS.mjs";
2
+ import { G as SubagentRequested, J as SubmissionSettledRecord, K as SubagentStarted, Q as ToolApprovalRequested, U as SubagentJoined, W as SubagentLineageRecorded, Z as ToolApprovalDecided, _ as Digest, l as CanonicalRecordEnvelope, q as SubmissionSettled, rt as ToolCallUnknown, t as AbortRequested } from "../Records-uGX4_EGf.mjs";
3
3
  import { Schema } from "effect";
4
4
  declare namespace ThreadProjection_d_exports {
5
5
  export { ApprovalRecord, OpenToolCallState, SubagentInvocationState, ThreadProjection, initialThreadProjection, reduceThreadRecord, replayThread, replayThreadFromCheckpoint };
@@ -1,4 +1,4 @@
1
- import { Zt as AppendResult, en as FencedAppendRequest } from "../Records-D88mgvyS.mjs";
1
+ import { Zt as AppendResult, en as FencedAppendRequest } from "../Records-uGX4_EGf.mjs";
2
2
  import { Context, Effect, Layer, Option, Schema } from "effect";
3
3
  declare namespace ThreadProjectionMaintenance_d_exports {
4
4
  export { ThreadProjectionError, ThreadProjectionMaintenance, ThreadProjectionMaintenanceService, drainDue };
@@ -1,2 +1,2 @@
1
- import { $t as FenceRejected, An as getRecord, Cn as ThreadStoreDiagnostic, Dn as ThreadTail, Mn as readOutstanding, Nn as readWorkerState, On as ThreadTailRequest, Qt as CheckpointRejected, Sn as ThreadStore, Tn as ThreadStoreFailure, Xt as AppendConflict, Zt as AppendResult, _n as ThreadReadRequest, an as SelectedThreadRead, bn as ThreadRunInputRequest, cn as ThreadExport, dn as ThreadNotMaterialized, en as FencedAppendRequest, fn as ThreadObservation, gn as ThreadRead, hn as ThreadPeerCountRequest, in as SaveRecoveryCheckpointRequest, jn as getRunInput, kn as ThreadWorkerStateRequest, ln as ThreadExportRequest, mn as ThreadOutstandingRequest, nn as MAX_THREAD_EXPORT_RECORDS, on as ThreadCheckpoint, pn as ThreadOutstanding, rn as SaveCheckpointRequest, sn as ThreadCheckpoints, tn as LoadCheckpointRequest, un as ThreadMaterialization, vn as ThreadRecordRequest, wn as ThreadStoreError, xn as ThreadSelection, yn as ThreadRecoveryCheckpoints } from "../Records-D88mgvyS.mjs";
1
+ import { $t as FenceRejected, An as getRecord, Cn as ThreadStoreDiagnostic, Dn as ThreadTail, Mn as readOutstanding, Nn as readWorkerState, On as ThreadTailRequest, Qt as CheckpointRejected, Sn as ThreadStore, Tn as ThreadStoreFailure, Xt as AppendConflict, Zt as AppendResult, _n as ThreadReadRequest, an as SelectedThreadRead, bn as ThreadRunInputRequest, cn as ThreadExport, dn as ThreadNotMaterialized, en as FencedAppendRequest, fn as ThreadObservation, gn as ThreadRead, hn as ThreadPeerCountRequest, in as SaveRecoveryCheckpointRequest, jn as getRunInput, kn as ThreadWorkerStateRequest, ln as ThreadExportRequest, mn as ThreadOutstandingRequest, nn as MAX_THREAD_EXPORT_RECORDS, on as ThreadCheckpoint, pn as ThreadOutstanding, rn as SaveCheckpointRequest, sn as ThreadCheckpoints, tn as LoadCheckpointRequest, un as ThreadMaterialization, vn as ThreadRecordRequest, wn as ThreadStoreError, xn as ThreadSelection, yn as ThreadRecoveryCheckpoints } from "../Records-uGX4_EGf.mjs";
2
2
  export { AppendConflict, AppendResult, CheckpointRejected, FenceRejected, FencedAppendRequest, LoadCheckpointRequest, MAX_THREAD_EXPORT_RECORDS, SaveCheckpointRequest, SaveRecoveryCheckpointRequest, SelectedThreadRead, ThreadCheckpoint, ThreadCheckpoints, ThreadExport, ThreadExportRequest, ThreadMaterialization, ThreadNotMaterialized, ThreadObservation, ThreadOutstanding, ThreadOutstandingRequest, ThreadPeerCountRequest, ThreadRead, ThreadReadRequest, ThreadRecordRequest, ThreadRecoveryCheckpoints, ThreadRunInputRequest, ThreadSelection, ThreadStore, ThreadStoreDiagnostic, ThreadStoreError, ThreadStoreFailure, ThreadTail, ThreadTailRequest, ThreadWorkerStateRequest, getRecord, getRunInput, readOutstanding, readWorkerState };
@@ -1,4 +1,4 @@
1
- import { Qt as CheckpointRejected, Sn as ThreadStore, Tn as ThreadStoreFailure } from "../Records-D88mgvyS.mjs";
1
+ import { Qt as CheckpointRejected, Sn as ThreadStore, Tn as ThreadStoreFailure } from "../Records-uGX4_EGf.mjs";
2
2
  import { Effect, Schema } from "effect";
3
3
  //#region src/durable/ThreadStoreConformance.d.ts
4
4
  declare const ThreadStoreConformanceViolation_base: Schema.Class<ThreadStoreConformanceViolation, Schema.TaggedStruct<"ThreadStoreConformanceViolation", {
@@ -4,7 +4,7 @@ import { r as Principal } from "../Receipt-BAHyigAF.mjs";
4
4
  import { t as AgentPolicy } from "../AgentPolicy-BqDoSXO6.mjs";
5
5
  import { r as AnyDefinition, t as Agent_d_exports } from "../Agent-D9cXqfF3.mjs";
6
6
  import { c as WorkerError, f as WorkerRef, h as WorkerSource } from "../Worker-fwWkBg12.mjs";
7
- import { O as PersistedJson, _ as Digest, dt as WorkerOrigin, h as DefinitionDigests, ko as SubmissionSnapshot } from "../Records-D88mgvyS.mjs";
7
+ import { O as PersistedJson, _ as Digest, dt as WorkerOrigin, h as DefinitionDigests, ko as SubmissionSnapshot } from "../Records-uGX4_EGf.mjs";
8
8
  import { Context, Effect, Option, Schema } from "effect";
9
9
  declare namespace WorkerHost_d_exports {
10
10
  export { WorkerBudgetAuthorizer, WorkerConcurrencyLimit, WorkerConcurrencyResolver, WorkerHostAuthorizationRequest, WorkerHostAuthorizer, WorkerHostConfig, WorkerHostLimits, WorkerPolicyResolver, WorkerPolicySource, WorkerPolicyTarget };
@@ -1,2 +1,2 @@
1
- import { A as start, C as decodeFinalOutput, D as renderInputPrompt, E as projectCompletionOutput, F as withTerminalDefectEvent, M as stream, N as streamUnknown, O as run, P as streamWithUsageAccountingUnknown, S as ToolCallWaiting, T as projectCompletionFromToolOutput, _ as SubagentDurability, a as AgentResultSchema, b as SubagentDurabilityError, c as AgentSpawner, d as DetachedRun, f as EngineProvidedToolServices, g as SpawnedChildRun, h as SpawnRunOptions, i as AgentResult, j as startUnknown, k as runUnknown, l as AgentSpawnerParent, m as SpawnDelegation, n as AgentChildPending, o as AgentRuntimeFailure, p as RuntimeBinding, r as AgentCompletionProjectionRequirements, s as AgentRuntimeRequirements, u as AgentSpawnerService, v as SubagentDurabilityDurable, w as encodeRunDisposition, x as SubagentDurabilityService, y as SubagentDurabilityEphemeral } from "../AgentRuntime-BUxDdLpw.mjs";
1
+ import { A as start, C as decodeFinalOutput, D as renderInputPrompt, E as projectCompletionOutput, F as withTerminalDefectEvent, M as stream, N as streamUnknown, O as run, P as streamWithUsageAccountingUnknown, S as ToolCallWaiting, T as projectCompletionFromToolOutput, _ as SubagentDurability, a as AgentResultSchema, b as SubagentDurabilityError, c as AgentSpawner, d as DetachedRun, f as EngineProvidedToolServices, g as SpawnedChildRun, h as SpawnRunOptions, i as AgentResult, j as startUnknown, k as runUnknown, l as AgentSpawnerParent, m as SpawnDelegation, n as AgentChildPending, o as AgentRuntimeFailure, p as RuntimeBinding, r as AgentCompletionProjectionRequirements, s as AgentRuntimeRequirements, u as AgentSpawnerService, v as SubagentDurabilityDurable, w as encodeRunDisposition, x as SubagentDurabilityService, y as SubagentDurabilityEphemeral } from "../AgentRuntime-ov0LFEb-.mjs";
2
2
  export { AgentChildPending, type AgentCompletionProjectionRequirements, type AgentResult, AgentResultSchema, type AgentRuntimeFailure, type AgentRuntimeRequirements, AgentSpawner, type AgentSpawnerParent, type AgentSpawnerService, type DetachedRun, type EngineProvidedToolServices, type RuntimeBinding, type SpawnDelegation, type SpawnRunOptions, type SpawnedChildRun, SubagentDurability, type SubagentDurabilityDurable, type SubagentDurabilityEphemeral, SubagentDurabilityError, type SubagentDurabilityService, ToolCallWaiting, decodeFinalOutput, encodeRunDisposition, projectCompletionFromToolOutput, projectCompletionOutput, renderInputPrompt, run, runUnknown, start, startUnknown, stream, streamUnknown, streamWithUsageAccountingUnknown, withTerminalDefectEvent };
@@ -1,2 +1,2 @@
1
- import { a as StartWorkerRequest, c as WorkerMessageRequest, d as WorkerReportPreparationFailure, f as WorkerReporting, i as FollowUpWorkerRequest, l as WorkerObservation, n as DeferredFollowUpWorkerRequest, o as SubagentHost, p as WorkerRunReport, r as DeferredStartWorkerRequest, t as BackgroundReporting, u as WorkerReceiptRequest } from "../SubagentHost-4WB8Hj0C.mjs";
1
+ import { a as StartWorkerRequest, c as WorkerMessageRequest, d as WorkerReportPreparationFailure, f as WorkerReporting, i as FollowUpWorkerRequest, l as WorkerObservation, n as DeferredFollowUpWorkerRequest, o as SubagentHost, p as WorkerRunReport, r as DeferredStartWorkerRequest, t as BackgroundReporting, u as WorkerReceiptRequest } from "../SubagentHost-B0-cRCqs.mjs";
2
2
  export { BackgroundReporting, DeferredFollowUpWorkerRequest, DeferredStartWorkerRequest, FollowUpWorkerRequest, StartWorkerRequest, SubagentHost, WorkerMessageRequest, WorkerObservation, WorkerReceiptRequest, WorkerReportPreparationFailure, WorkerReporting, WorkerRunReport };