@yielded/agent 0.1.0-beta.182 → 0.1.0-beta.183
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.
- package/dist/{Admin-C4mPa0M2.d.mts → Admin-BgCHCGSl.d.mts} +5 -5
- package/dist/{AgentRuntime-CVsnQBPe.d.mts → AgentRuntime-DhRchFzv.d.mts} +4 -1
- package/dist/{AgentRuntime-1OjlOCa9.mjs → AgentRuntime-ILtyHuQG.mjs} +52 -40
- package/dist/AgentRuntime-ILtyHuQG.mjs.map +1 -0
- package/dist/{Digest-DjUgS5PG.d.mts → Digest-1iVcDLVm.d.mts} +2 -2
- package/dist/{Digest-ft4ku9pj.mjs → Digest-CzLJcsWv.mjs} +2 -2
- package/dist/{Digest-ft4ku9pj.mjs.map → Digest-CzLJcsWv.mjs.map} +1 -1
- package/dist/{DurableAgentRuntime-D2I_T2Yt.mjs → DurableAgentRuntime-Cj263rW9.mjs} +20 -55
- package/dist/DurableAgentRuntime-Cj263rW9.mjs.map +1 -0
- package/dist/{EventSource-gc82d-f6.d.mts → EventSource-CaA6RAtC.d.mts} +3 -3
- package/dist/{MessageDelivery-DrQKvh93.d.mts → MessageDelivery-rlLpakO8.d.mts} +43 -43
- package/dist/{PreparedInputAdmission-CrqdFUd8.d.mts → PreparedInputAdmission-DjbWz2lW.d.mts} +4 -4
- package/dist/{RecordFormat-BNiLpe43.d.mts → RecordFormat-CjMl0uu8.d.mts} +2 -2
- package/dist/{Records-BTnGRdcf.d.mts → Records-BP67Yz6n.d.mts} +20 -8
- package/dist/{Records-CZRedCE7.mjs → Records-bbGVHprv.mjs} +14 -10
- package/dist/Records-bbGVHprv.mjs.map +1 -0
- package/dist/{RunContinuation-DMbA81sZ.d.mts → RunContinuation-CIJRN_vC.d.mts} +4 -4
- package/dist/{RunContinuation-DWiO2K9D.mjs → RunContinuation-DJ6kkbQG.mjs} +17 -58
- package/dist/RunContinuation-DJ6kkbQG.mjs.map +1 -0
- package/dist/{RunJournal-oJLo-pjS.mjs → RunJournal-DQr2dUgg.mjs} +4 -7
- package/dist/RunJournal-DQr2dUgg.mjs.map +1 -0
- package/dist/{RunStorage-DlfvMfHM.mjs → RunStorage-DblN-cmM.mjs} +2 -2
- package/dist/{RunStorage-DlfvMfHM.mjs.map → RunStorage-DblN-cmM.mjs.map} +1 -1
- package/dist/{Schedule-CDgTz0vj.d.mts → Schedule-CVLtl5rP.d.mts} +2 -2
- package/dist/{Scheduling-BebkRVc2.mjs → Scheduling-B6l0lWdr.mjs} +3 -3
- package/dist/{Scheduling-BebkRVc2.mjs.map → Scheduling-B6l0lWdr.mjs.map} +1 -1
- package/dist/{Subagent-BRiDyUS4.mjs → Subagent-Bm842K7J.mjs} +43 -17
- package/dist/Subagent-Bm842K7J.mjs.map +1 -0
- package/dist/{Subagent-FypBXZP1.d.mts → Subagent-CWWmA1UQ.d.mts} +15 -3
- package/dist/{Subscription-Bx0LiX3x.d.mts → Subscription-BRsNy0TA.d.mts} +4 -4
- package/dist/{SubscriptionInput-CBFCfuOF.d.mts → SubscriptionInput-ClCaW_kX.d.mts} +3 -3
- package/dist/{ThreadImport-DlCLjRHK.mjs → ThreadImport-CkPAxXU5.mjs} +7 -7
- package/dist/{ThreadImport-DlCLjRHK.mjs.map → ThreadImport-CkPAxXU5.mjs.map} +1 -1
- package/dist/{ThreadImport-DTV_ario.d.mts → ThreadImport-DtRNoHIr.d.mts} +5 -5
- package/dist/{ThreadStore-D2rqtt7k.mjs → ThreadStore-C_ofHc7h.mjs} +4 -4
- package/dist/{ThreadStore-D2rqtt7k.mjs.map → ThreadStore-C_ofHc7h.mjs.map} +1 -1
- package/dist/{ThreadTransfer-BFolkpEp.mjs → ThreadTransfer-C_TRuo_9.mjs} +4 -4
- package/dist/{ThreadTransfer-BFolkpEp.mjs.map → ThreadTransfer-C_TRuo_9.mjs.map} +1 -1
- package/dist/{WorkerAdmission-Cxg_REhE.mjs → WorkerAdmission-9Ka3edXj.mjs} +5 -5
- package/dist/{WorkerAdmission-Cxg_REhE.mjs.map → WorkerAdmission-9Ka3edXj.mjs.map} +1 -1
- package/dist/{agent-registration-C6tkQz8r.mjs → agent-registration-7kp1dHT0.mjs} +4 -4
- package/dist/{agent-registration-C6tkQz8r.mjs.map → agent-registration-7kp1dHT0.mjs.map} +1 -1
- package/dist/capabilities/Subagent.d.mts +1 -1
- package/dist/capabilities/Subagent.mjs +1 -1
- package/dist/capabilities/SubagentReservations.d.mts +4 -1
- package/dist/capabilities/SubagentReservations.mjs +4 -1
- package/dist/capabilities/SubagentReservations.mjs.map +1 -1
- package/dist/durable/ActivityStore.d.mts +1 -1
- package/dist/durable/ActivityStore.mjs +1 -1
- package/dist/durable/Admin.d.mts +1 -1
- package/dist/durable/Admin.mjs +1 -1
- package/dist/durable/AgentRegistration.d.mts +1 -1
- package/dist/durable/AgentRegistration.mjs +1 -1
- package/dist/durable/Certification.d.mts +1 -1
- package/dist/durable/CommittedActivity.d.mts +3 -3
- package/dist/durable/CommittedActivity.mjs +3 -3
- package/dist/durable/Digest.d.mts +1 -1
- package/dist/durable/Digest.mjs +1 -1
- package/dist/durable/DurableAgentRuntime.d.mts +1 -1
- package/dist/durable/DurableAgentRuntime.mjs +2 -2
- package/dist/durable/EventSource.d.mts +1 -1
- package/dist/durable/EventSource.mjs +1 -1
- package/dist/durable/GitHubWorkflowSource.d.mts +3 -3
- package/dist/durable/LifecyclePublication.d.mts +1 -1
- package/dist/durable/LifecyclePublication.mjs +2 -2
- package/dist/durable/MessageDelivery.d.mts +1 -1
- package/dist/durable/MessageDelivery.mjs +2 -2
- package/dist/durable/MessageDeliveryStoreConformance.d.mts +4 -4
- package/dist/durable/MessageDeliveryStoreConformance.mjs +2 -2
- package/dist/durable/PersistentHistory.d.mts +1 -1
- package/dist/durable/PersistentHistory.mjs +4 -4
- package/dist/durable/PreparedInputAdmission.d.mts +1 -1
- package/dist/durable/RecordFormat.d.mts +1 -1
- package/dist/durable/RecordFormat.mjs +1 -1
- package/dist/durable/Records.d.mts +1 -1
- package/dist/durable/Records.mjs +1 -1
- package/dist/durable/Recovery.d.mts +1 -1
- package/dist/durable/Recovery.mjs +1 -1
- package/dist/durable/RunContinuation.d.mts +3 -3
- package/dist/durable/RunContinuation.mjs +3 -3
- package/dist/durable/RunJournal.d.mts +1 -1
- package/dist/durable/RunJournal.mjs +1 -1
- package/dist/durable/RunStorage.d.mts +1 -1
- package/dist/durable/RunStorage.mjs +1 -1
- package/dist/durable/Schedule.d.mts +1 -1
- package/dist/durable/Schedule.mjs +1 -1
- package/dist/durable/ScheduleStoreConformance.d.mts +1 -1
- package/dist/durable/ScheduleStoreConformance.mjs +1 -1
- package/dist/durable/ScheduleTransition.d.mts +1 -1
- package/dist/durable/ScheduleTransition.mjs +1 -1
- package/dist/durable/Scheduling.d.mts +3 -3
- package/dist/durable/Scheduling.mjs +1 -1
- package/dist/durable/SettlementPublisher.d.mts +1 -1
- package/dist/durable/SettlementPublisher.mjs +3 -3
- package/dist/durable/SubmissionLedger.d.mts +1 -1
- package/dist/durable/SubmissionLedger.mjs +2 -2
- package/dist/durable/SubmissionLedgerConformance.d.mts +2 -2
- package/dist/durable/SubmissionLedgerConformance.mjs +5 -5
- package/dist/durable/SubmissionStatus.d.mts +1 -1
- package/dist/durable/Subscription.d.mts +1 -1
- package/dist/durable/Subscription.mjs +1 -1
- package/dist/durable/SubscriptionInput.d.mts +1 -1
- package/dist/durable/SubscriptionInput.mjs +2 -2
- package/dist/durable/SubscriptionStoreConformance.d.mts +1 -1
- package/dist/durable/SubscriptionStoreConformance.mjs +1 -1
- package/dist/durable/SubscriptionTools.d.mts +4 -4
- package/dist/durable/SubscriptionTransition.d.mts +1 -1
- package/dist/durable/SubscriptionTransition.mjs +1 -1
- package/dist/durable/Subscriptions.d.mts +6 -6
- package/dist/durable/Subscriptions.mjs +2 -2
- package/dist/durable/ThreadArchiveRange.d.mts +1 -1
- package/dist/durable/ThreadArchiveRange.mjs +1 -1
- package/dist/durable/ThreadContextHistory.d.mts +1 -1
- package/dist/durable/ThreadContextHistory.mjs +2 -2
- package/dist/durable/ThreadContextHistoryProjection.d.mts +1 -1
- package/dist/durable/ThreadContextHistoryProjection.mjs +1 -1
- package/dist/durable/ThreadImport.d.mts +1 -1
- package/dist/durable/ThreadImport.mjs +1 -1
- package/dist/durable/ThreadInvariants.d.mts +3 -3
- package/dist/durable/ThreadInvariants.mjs +4 -4
- package/dist/durable/ThreadProjection.d.mts +1 -1
- package/dist/durable/ThreadProjection.mjs +1 -1
- package/dist/durable/ThreadProjectionMaintenance.d.mts +1 -1
- package/dist/durable/ThreadReader.d.mts +1 -1
- package/dist/durable/ThreadReader.mjs +1 -1
- package/dist/durable/ThreadStore.d.mts +2 -2
- package/dist/durable/ThreadStore.mjs +2 -2
- package/dist/durable/ThreadStoreConformance.d.mts +2 -2
- package/dist/durable/ThreadStoreConformance.mjs +4 -4
- package/dist/durable/ThreadTransfer.d.mts +2 -2
- package/dist/durable/ThreadTransfer.mjs +1 -1
- package/dist/durable/ThreadWork.d.mts +1 -1
- package/dist/durable/ThreadWork.mjs +5 -5
- package/dist/durable/ToolReconciler.mjs +1 -1
- package/dist/durable/WorkerAdmission.d.mts +2 -2
- package/dist/durable/WorkerAdmission.mjs +1 -1
- package/dist/durable/WorkerHost.d.mts +2 -2
- package/dist/engine/AgentRuntime.d.mts +1 -1
- package/dist/engine/AgentRuntime.mjs +1 -1
- package/dist/index.d.mts +14 -14
- package/dist/index.mjs +12 -12
- package/dist/{run-context-reader-CIdG5tdJ.d.mts → run-context-reader-DEU4REfD.d.mts} +3 -3
- package/package.json +1 -1
- package/src/capabilities/Subagent.ts +83 -28
- package/src/capabilities/SubagentReservations.ts +4 -1
- package/src/capabilities/internal/subagent-contract.ts +23 -3
- package/src/durable/DurableAgentRuntime.ts +24 -10
- package/src/durable/Records.ts +21 -15
- package/src/durable/RunContinuation.ts +54 -125
- package/src/durable/RunJournal.ts +4 -12
- package/src/durable/internal/history-prompt.ts +10 -4
- package/src/durable/internal/initial-context.ts +1 -1
- package/src/durable/internal/prompt-history-cache.ts +8 -63
- package/src/engine/internal/agent-runtime.ts +379 -381
- package/dist/AgentRuntime-1OjlOCa9.mjs.map +0 -1
- package/dist/DurableAgentRuntime-D2I_T2Yt.mjs.map +0 -1
- package/dist/Records-CZRedCE7.mjs.map +0 -1
- package/dist/RunContinuation-DWiO2K9D.mjs.map +0 -1
- package/dist/RunJournal-oJLo-pjS.mjs.map +0 -1
- package/dist/Subagent-BRiDyUS4.mjs.map +0 -1
- package/dist/json-BlJVQZxN.mjs +0 -15
- package/dist/json-BlJVQZxN.mjs.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
2
|
-
import { U as PersistedJson, f as CanonicalSequence, u as CanonicalRecordEnvelope } from "../Records-
|
|
2
|
+
import { U as PersistedJson, f as CanonicalSequence, u as CanonicalRecordEnvelope } from "../Records-bbGVHprv.mjs";
|
|
3
3
|
import { ActivityProcessorKey, ActivityProcessorStore, ActivityProgress, PreparedActivity } from "./ActivityStore.mjs";
|
|
4
|
-
import { s as digestJson } from "../Digest-
|
|
5
|
-
import { $ as ThreadTail, H as ThreadRead, Y as ThreadStore, et as ThreadTailRequest } from "../ThreadStore-
|
|
4
|
+
import { s as digestJson } from "../Digest-CzLJcsWv.mjs";
|
|
5
|
+
import { $ as ThreadTail, H as ThreadRead, Y as ThreadStore, et as ThreadTailRequest } from "../ThreadStore-C_ofHc7h.mjs";
|
|
6
6
|
import { Clock, Effect, Schema, Stream } from "effect";
|
|
7
7
|
//#region src/durable/CommittedActivity.ts
|
|
8
8
|
var CommittedActivity_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as digestDefinition, c as utf8ByteLength, i as digestCanonicalJson, o as digestDefinitions, r as canonicalJson, s as digestJson, t as DigestError } from "../Digest-
|
|
1
|
+
import { a as digestDefinition, c as utf8ByteLength, i as digestCanonicalJson, o as digestDefinitions, r as canonicalJson, s as digestJson, t as DigestError } from "../Digest-1iVcDLVm.mjs";
|
|
2
2
|
export { DigestError, canonicalJson, digestCanonicalJson, digestDefinition, digestDefinitions, digestJson, utf8ByteLength };
|
package/dist/durable/Digest.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { n as utf8ByteLength } from "../utf8-B5pAmhTo.mjs";
|
|
2
|
-
import { a as digestDefinition, i as digestCanonicalJson, o as digestDefinitions, r as canonicalJson, s as digestJson, t as DigestError } from "../Digest-
|
|
2
|
+
import { a as digestDefinition, i as digestCanonicalJson, o as digestDefinitions, r as canonicalJson, s as digestJson, t as DigestError } from "../Digest-CzLJcsWv.mjs";
|
|
3
3
|
export { DigestError, canonicalJson, digestCanonicalJson, digestDefinition, digestDefinitions, digestJson, utf8ByteLength };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { a as Receipt } from "../Receipt-BkM21Qiu.mjs";
|
|
2
|
-
import { $n as DurableAwaitFailure, Cr as recoveryRepairBatchId, Er as threadCreatedRecordId, Jn as DurableAgentRuntime, Kn as ApprovalSuspensionError, Qn as DurableApprovalSuspension, Sr as isolateRecovery, Tr as threadCreatedBatchId, Xn as DurableApprovalFailure, Zn as DurableApprovalResolver, _r as RecoverySweepOptions, ar as DurableRetryFailure, br as WorkRecoveryRequest, cr as DurableSubmitAgent, dr as DurableVerifyFailure, er as DurableExplainFailure, fr as DurableWorkerFailure, gr as RecoveryReport, hr as RecoveryFailure, ir as DurableResolveFailure, lr as DurableSubmitFailure, mr as RecoveryBlocked, nr as DurableObserveOptions, or as DurableRuntimeConfig, pr as DurableWorkerRequirements, qn as DurableAbortFailure, rr as DurableProgressFailure, sr as DurableRuntimeConfigOptions, tr as DurableObligationFailure, ur as DurableSubmitOptions, vr as RecoverySweepResult, wr as recoveryRepairRecordId, xr as childReservationIdFor, yr as WorkRecoveryReport } from "../Admin-
|
|
2
|
+
import { $n as DurableAwaitFailure, Cr as recoveryRepairBatchId, Er as threadCreatedRecordId, Jn as DurableAgentRuntime, Kn as ApprovalSuspensionError, Qn as DurableApprovalSuspension, Sr as isolateRecovery, Tr as threadCreatedBatchId, Xn as DurableApprovalFailure, Zn as DurableApprovalResolver, _r as RecoverySweepOptions, ar as DurableRetryFailure, br as WorkRecoveryRequest, cr as DurableSubmitAgent, dr as DurableVerifyFailure, er as DurableExplainFailure, fr as DurableWorkerFailure, gr as RecoveryReport, hr as RecoveryFailure, ir as DurableResolveFailure, lr as DurableSubmitFailure, mr as RecoveryBlocked, nr as DurableObserveOptions, or as DurableRuntimeConfig, pr as DurableWorkerRequirements, qn as DurableAbortFailure, rr as DurableProgressFailure, sr as DurableRuntimeConfigOptions, tr as DurableObligationFailure, ur as DurableSubmitOptions, vr as RecoverySweepResult, wr as recoveryRepairRecordId, xr as childReservationIdFor, yr as WorkRecoveryReport } from "../Admin-BgCHCGSl.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, WorkRecoveryReport, WorkRecoveryRequest, childReservationIdFor, isolateRecovery, recoveryRepairBatchId, recoveryRepairRecordId, threadCreatedBatchId, threadCreatedRecordId };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Receipt } from "../core/Receipt.mjs";
|
|
2
|
-
import { a as DurableApprovalSuspension, c as RecoveryFailure, d as WorkRecoveryReport, f as WorkRecoveryRequest, g as recoveryRepairRecordId, h as recoveryRepairBatchId, i as DurableApprovalResolver, l as RecoveryReport, m as isolateRecovery, n as DurableAgentRuntime, o as DurableRuntimeConfig, p as childReservationIdFor, s as RecoveryBlocked, t as ApprovalSuspensionError, u as RecoverySweepResult } from "../DurableAgentRuntime-
|
|
3
|
-
import { c as threadCreatedBatchId, l as threadCreatedRecordId } from "../WorkerAdmission-
|
|
2
|
+
import { a as DurableApprovalSuspension, c as RecoveryFailure, d as WorkRecoveryReport, f as WorkRecoveryRequest, g as recoveryRepairRecordId, h as recoveryRepairBatchId, i as DurableApprovalResolver, l as RecoveryReport, m as isolateRecovery, n as DurableAgentRuntime, o as DurableRuntimeConfig, p as childReservationIdFor, s as RecoveryBlocked, t as ApprovalSuspensionError, u as RecoverySweepResult } from "../DurableAgentRuntime-Cj263rW9.mjs";
|
|
3
|
+
import { c as threadCreatedBatchId, l as threadCreatedRecordId } from "../WorkerAdmission-9Ka3edXj.mjs";
|
|
4
4
|
export { ApprovalSuspensionError, DurableAgentRuntime, DurableApprovalResolver, DurableApprovalSuspension, DurableRuntimeConfig, Receipt, RecoveryBlocked, RecoveryFailure, RecoveryReport, RecoverySweepResult, WorkRecoveryReport, WorkRecoveryRequest, 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-
|
|
1
|
+
import { a as makeEventSource, i as NormalizedEvent, r as EventSources, t as EventSource } from "../EventSource-CaA6RAtC.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 { U as PersistedJson } from "../Records-
|
|
2
|
+
import { U as PersistedJson } from "../Records-bbGVHprv.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-BkM21Qiu.mjs";
|
|
2
|
-
import "../Admin-
|
|
3
|
-
import { E as SubscriptionSourceError } from "../Subscription-
|
|
4
|
-
import { t as EventSource } from "../EventSource-
|
|
2
|
+
import "../Admin-BgCHCGSl.mjs";
|
|
3
|
+
import { E as SubscriptionSourceError } from "../Subscription-BRsNy0TA.mjs";
|
|
4
|
+
import { t as EventSource } from "../EventSource-CaA6RAtC.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/http";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ao as LifecyclePublication, co as LifecyclePublicationError, do as LifecyclePublicationSource, fo as LifecyclePublicationStorage, go as lifecyclePublicationLayer, ho as lifecyclePublicationBatchMaxFacts, lo as LifecyclePublicationFact, mo as drainLifecyclePublications, oo as LifecyclePublicationBatch, so as LifecyclePublicationConfig, uo as LifecyclePublicationHandler } from "../Admin-
|
|
1
|
+
import { ao as LifecyclePublication, co as LifecyclePublicationError, do as LifecyclePublicationSource, fo as LifecyclePublicationStorage, go as lifecyclePublicationLayer, ho as lifecyclePublicationBatchMaxFacts, lo as LifecyclePublicationFact, mo as drainLifecyclePublications, oo as LifecyclePublicationBatch, so as LifecyclePublicationConfig, uo as LifecyclePublicationHandler } from "../Admin-BgCHCGSl.mjs";
|
|
2
2
|
export { LifecyclePublication, LifecyclePublicationBatch, LifecyclePublicationConfig, LifecyclePublicationError, LifecyclePublicationFact, LifecyclePublicationHandler, LifecyclePublicationSource, LifecyclePublicationStorage, drainLifecyclePublications, lifecyclePublicationBatchMaxFacts, lifecyclePublicationLayer };
|
|
@@ -2,9 +2,9 @@ import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
|
2
2
|
import { SubmissionId, ThreadId } from "../core/Identifiers.mjs";
|
|
3
3
|
import { Receipt } from "../core/Receipt.mjs";
|
|
4
4
|
import { n as AssignmentTerminal } from "../Worker-CtuUwYOK.mjs";
|
|
5
|
-
import { Ft as WorkerInputRequested, Nt as WorkerInputCompleted, Vt as WorkerStopRequested, _t as SubmissionSettledRecord, bt as ToolApprovalDecided, f as CanonicalSequence, ft as SubagentJoined, ht as SubagentStarted, kt as UserInputRecorded, lt as RunStartedRecord, mt as SubagentRequested, n as AgentUpdateEmitted, t as AbortRequested, xt as ToolApprovalRequested } from "../Records-
|
|
5
|
+
import { Ft as WorkerInputRequested, Nt as WorkerInputCompleted, Vt as WorkerStopRequested, _t as SubmissionSettledRecord, bt as ToolApprovalDecided, f as CanonicalSequence, ft as SubagentJoined, ht as SubagentStarted, kt as UserInputRecorded, lt as RunStartedRecord, mt as SubagentRequested, n as AgentUpdateEmitted, t as AbortRequested, xt as ToolApprovalRequested } from "../Records-bbGVHprv.mjs";
|
|
6
6
|
import { AbortIntent, Settlement, SubmissionLedger, SubmissionLookupById, SubmissionSnapshot, SuspensionReason } from "./SubmissionLedger.mjs";
|
|
7
|
-
import { ct as getRunInput } from "../ThreadStore-
|
|
7
|
+
import { ct as getRunInput } from "../ThreadStore-C_ofHc7h.mjs";
|
|
8
8
|
import { PreparedInput } from "./Subscription.mjs";
|
|
9
9
|
import { MessageDeliveryKey } from "./MessageDelivery.mjs";
|
|
10
10
|
import { Cause, Clock, Context, Crypto, Effect, Layer, Option, Schema } from "effect";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as messageDeliveryKeyString, D as readPending, E as prepareMessageDelivery, O as sameMessageDeliveryIdentity, S as messageDeliveryDeadline, T as peerMessageRetentionDeadline, _ as applyMessageDeliveryChange, a as MessageDeliveryError, b as isWorkerUpdateDelivery, c as MessageDeliveryFailure, d as MessageDeliveryPageRequest, f as MessageDeliveryPolicy, h as MessageDeliveryStoreLimits, i as MessageDeliveryDriverLimits, k as validateMessageDelivery, l as MessageDeliveryKey, m as MessageDeliveryStore, n as MessageDeliveryCompletion, o as MessageDeliveryFailpoint, p as MessageDeliveryRecord, r as MessageDeliveryDriver, s as MessageDeliveryFailpointError, t as MessageDeliveryChange, u as MessageDeliveryPage, v as defaultMessageDeliveryPolicy, w as messageDeliveryUsesCapacity, x as messageDeliveryCapacity, y as defaultMessageDeliveryStoreLimits } from "../MessageDelivery-
|
|
1
|
+
import { C as messageDeliveryKeyString, D as readPending, E as prepareMessageDelivery, O as sameMessageDeliveryIdentity, S as messageDeliveryDeadline, T as peerMessageRetentionDeadline, _ as applyMessageDeliveryChange, a as MessageDeliveryError, b as isWorkerUpdateDelivery, c as MessageDeliveryFailure, d as MessageDeliveryPageRequest, f as MessageDeliveryPolicy, h as MessageDeliveryStoreLimits, i as MessageDeliveryDriverLimits, k as validateMessageDelivery, l as MessageDeliveryKey, m as MessageDeliveryStore, n as MessageDeliveryCompletion, o as MessageDeliveryFailpoint, p as MessageDeliveryRecord, r as MessageDeliveryDriver, s as MessageDeliveryFailpointError, t as MessageDeliveryChange, u as MessageDeliveryPage, v as defaultMessageDeliveryPolicy, w as messageDeliveryUsesCapacity, x as messageDeliveryCapacity, y as defaultMessageDeliveryStoreLimits } from "../MessageDelivery-rlLpakO8.mjs";
|
|
2
2
|
export { MessageDeliveryChange, MessageDeliveryCompletion, MessageDeliveryDriver, MessageDeliveryDriverLimits, MessageDeliveryError, MessageDeliveryFailpoint, MessageDeliveryFailpointError, MessageDeliveryFailure, MessageDeliveryKey, MessageDeliveryPage, MessageDeliveryPageRequest, MessageDeliveryPolicy, MessageDeliveryRecord, MessageDeliveryStore, MessageDeliveryStoreLimits, applyMessageDeliveryChange, defaultMessageDeliveryPolicy, defaultMessageDeliveryStoreLimits, isWorkerUpdateDelivery, messageDeliveryCapacity, messageDeliveryDeadline, messageDeliveryKeyString, messageDeliveryUsesCapacity, peerMessageRetentionDeadline, prepareMessageDelivery, readPending, sameMessageDeliveryIdentity, validateMessageDelivery };
|
|
@@ -3,8 +3,8 @@ import { AgentId, DelegationId, ThreadId } from "../core/Identifiers.mjs";
|
|
|
3
3
|
import { IdempotencyKey, Receipt } from "../core/Receipt.mjs";
|
|
4
4
|
import { o as Value, r as Diagnostic, s as capture } from "../FailureDiagnostic-D9oW23Cn.mjs";
|
|
5
5
|
import { b as WorkerUpdate } from "../Worker-CtuUwYOK.mjs";
|
|
6
|
-
import { b as Digest } from "../Records-
|
|
7
|
-
import { s as digestJson } from "../Digest-
|
|
6
|
+
import { b as Digest } from "../Records-bbGVHprv.mjs";
|
|
7
|
+
import { s as digestJson } from "../Digest-CzLJcsWv.mjs";
|
|
8
8
|
import { Settlement } from "./SubmissionLedger.mjs";
|
|
9
9
|
import { ScheduleInstant, ScheduleRetry, ScheduleRetryReason } from "./Schedule.mjs";
|
|
10
10
|
import { PreparedInputAdmission, admitPreparedInput } from "./PreparedInputAdmission.mjs";
|
|
@@ -3,10 +3,10 @@ import { a as Receipt } from "../Receipt-BkM21Qiu.mjs";
|
|
|
3
3
|
import { r as Update } from "../AgentUpdates-DksV4D0A.mjs";
|
|
4
4
|
import { r as Diagnostic } from "../FailureDiagnostic-DvHruCSJ.mjs";
|
|
5
5
|
import { t as AgentPolicy } from "../AgentPolicy-B4lbCU2T.mjs";
|
|
6
|
-
import { b as DefinitionDigests } from "../Records-
|
|
7
|
-
import { t as DigestError } from "../Digest-
|
|
8
|
-
import { sn as Settlement } from "../Admin-
|
|
9
|
-
import { a as MessageDeliveryError, c as MessageDeliveryFailure, m as MessageDeliveryStore } from "../MessageDelivery-
|
|
6
|
+
import { b as DefinitionDigests } from "../Records-BP67Yz6n.mjs";
|
|
7
|
+
import { t as DigestError } from "../Digest-1iVcDLVm.mjs";
|
|
8
|
+
import { sn as Settlement } from "../Admin-BgCHCGSl.mjs";
|
|
9
|
+
import { a as MessageDeliveryError, c as MessageDeliveryFailure, m as MessageDeliveryStore } from "../MessageDelivery-rlLpakO8.mjs";
|
|
10
10
|
import { Effect, Schema } from "effect";
|
|
11
11
|
//#region src/durable/MessageDeliveryStoreConformance.d.ts
|
|
12
12
|
declare const MessageDeliveryConformanceViolation_base: Schema.Class<MessageDeliveryConformanceViolation, Schema.TaggedStruct<"MessageDeliveryConformanceViolation", {
|
|
@@ -2,8 +2,8 @@ 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 { b as WorkerUpdate } from "../Worker-CtuUwYOK.mjs";
|
|
5
|
-
import { b as Digest, v as DefinitionDigests } from "../Records-
|
|
6
|
-
import { s as digestJson } from "../Digest-
|
|
5
|
+
import { b as Digest, v as DefinitionDigests } from "../Records-bbGVHprv.mjs";
|
|
6
|
+
import { s as digestJson } from "../Digest-CzLJcsWv.mjs";
|
|
7
7
|
import { Settlement } from "./SubmissionLedger.mjs";
|
|
8
8
|
import { MessageDeliveryStore, messageDeliveryCapacity, prepareMessageDelivery, readPending } from "./MessageDelivery.mjs";
|
|
9
9
|
import { DateTime, Effect, Equal, Result, Schema } from "effect";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as ThreadHistory } from "../ThreadHistory-ajQhqZDY.mjs";
|
|
2
|
-
import { Wi as ThreadStore, bo as StorageOwner } from "../Admin-
|
|
2
|
+
import { Wi as ThreadStore, bo as StorageOwner } from "../Admin-BgCHCGSl.mjs";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
4
|
declare namespace PersistentHistory_d_exports {
|
|
5
5
|
export { layer };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
2
2
|
import { ThreadHistory, ThreadHistoryError } from "../engine/ThreadHistory.mjs";
|
|
3
|
-
import { L as ModelCompleted, U as PersistedJson, W as ProducerId, X as RecordEnvelope, Z as RecordId, c as CanonicalBatch, i as BatchId, kt as UserInputRecorded, nt as RunCompleted, y as DeploymentId } from "../Records-
|
|
4
|
-
import { v as promptFromCanonicalRecords } from "../RunJournal-
|
|
5
|
-
import { I as ThreadIdentityRequest, L as ThreadMaterialization, Y as ThreadStore, n as AppendRequest, x as SelectedThreadRead } from "../ThreadStore-
|
|
6
|
-
import { s as StorageOwner } from "../RunStorage-
|
|
3
|
+
import { L as ModelCompleted, U as PersistedJson, W as ProducerId, X as RecordEnvelope, Z as RecordId, c as CanonicalBatch, i as BatchId, kt as UserInputRecorded, nt as RunCompleted, y as DeploymentId } from "../Records-bbGVHprv.mjs";
|
|
4
|
+
import { v as promptFromCanonicalRecords } from "../RunJournal-DQr2dUgg.mjs";
|
|
5
|
+
import { I as ThreadIdentityRequest, L as ThreadMaterialization, Y as ThreadStore, n as AppendRequest, x as SelectedThreadRead } from "../ThreadStore-C_ofHc7h.mjs";
|
|
6
|
+
import { s as StorageOwner } from "../RunStorage-DblN-cmM.mjs";
|
|
7
7
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
8
8
|
import { Prompt } from "effect/ai";
|
|
9
9
|
//#region src/durable/PersistentHistory.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { r as admitPreparedInput, t as PreparedInputAdmission } from "../PreparedInputAdmission-
|
|
1
|
+
import { r as admitPreparedInput, t as PreparedInputAdmission } from "../PreparedInputAdmission-DjbWz2lW.mjs";
|
|
2
2
|
export { PreparedInputAdmission, admitPreparedInput };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ReadRecord, c as decodeExportRecord, i as ReadEnvelope, l as decodeExportRecordJson, n as ExportRecord, o as RecordFormatError, r as ExportedRecord, t as ExportBatch } from "../RecordFormat-
|
|
1
|
+
import { a as ReadRecord, c as decodeExportRecord, i as ReadEnvelope, l as decodeExportRecordJson, n as ExportRecord, o as RecordFormatError, r as ExportedRecord, t as ExportBatch } from "../RecordFormat-CjMl0uu8.mjs";
|
|
2
2
|
export { ExportBatch, ExportRecord, ExportedRecord, ReadEnvelope, ReadRecord, RecordFormatError, decodeExportRecord, decodeExportRecordJson };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
2
|
-
import { Q as RecordJson, X as RecordEnvelope, c as CanonicalBatch, u as CanonicalRecordEnvelope } from "../Records-
|
|
2
|
+
import { Q as RecordJson, X as RecordEnvelope, c as CanonicalBatch, u as CanonicalRecordEnvelope } from "../Records-bbGVHprv.mjs";
|
|
3
3
|
import { Effect, Schema, SchemaGetter, SchemaIssue } from "effect";
|
|
4
4
|
//#region src/durable/RecordFormat.ts
|
|
5
5
|
var RecordFormat_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as RecordEnvelope, A as MAX_PERSISTED_JSON_NODES, At as ToolStepSettled, B as ModelCompleted, Bt as WorkerOriginRecorded, C as EvidenceReference, Ct as ToolApprovalDecided, D as MAX_PERSISTED_JSON_BYTES, Dt as ToolCallSettled, E as MAX_CANONICAL_RECORD_BYTES, Et as ToolCallResolved, F as MAX_RUN_RECOVERY_SUFFIX_RECORDS, Ft as WorkerContinuation, G as PeerMessagePrepared, H as ModelResponseRecorded, Ht as WorkerReportRefused, I as MAX_RUN_TERMINAL_BYTES, It as WorkerInputCompleted, J as PromptRecord, K as PersistedJson, L as MAX_RUN_TOOL_CALL_IDENTITIES, Lt as WorkerInputRefused, M as MAX_RUN_EVIDENCE_BYTES, Mt as UserInputRecorded, N as MAX_RUN_EVIDENCE_RECORDS, Nt as WorkHandoffCompleted, O as MAX_PERSISTED_JSON_COLLECTION_LENGTH, Ot as ToolCallUnknown, P as MAX_RUN_RECOVERY_SUFFIX_BYTES, Pt as WorkerAdmission, Q as RUN_TERMINAL_RESERVE_RECORDS, R as MAX_TURN_CANONICAL_BYTES, Rt as WorkerInputRequested, S as Digest, St as ThreadCreated, T as KnownRecordPayload, Tt as ToolCallResolution, U as ObservationOffset, Ut as WorkerReportingIntent, V as ModelResponseInterrupted, Vt as WorkerReportPrepared, W as PROMPT_EVIDENCE_TAGS, Wt as WorkerStopRequested, X as PromptRecordPayload, Y as PromptRecordEnvelope, Z as RUN_TERMINAL_RESERVE_BYTES, _ as ContinuationAccounting, _t as SubagentRequested, a as BatchId, at as RunCompleted, b as DefinitionDigests, bt as SubmissionSettledRecord, c as CURRENT_RECORD_VERSION, ct as RunDurationExhausted, d as CanonicalRecordEnvelope, dt as RunPosition, et as RecordId, f as CanonicalRecordPayload, ft as RunStartedRecord, g as ContextEvidenceReference, gt as SubagentLineageRecorded, h as CompletedSubmissionSettled, ht as SubagentJoined, i as ApprovalDecision, it as ReplayContract, j as MAX_RUN_CONTINUATION_BYTES, jt as ToolUnavailable, k as MAX_PERSISTED_JSON_DEPTH, kt as ToolOperation, l as CanonicalBatch, lt as RunFailed, m as CompactionCreated, mt as SettlementOutcome, n as AbortedSubmissionSettled, o as CURRENT_CANONICAL_SCHEMA_VERSION, ot as RunContextRecorded, p as CanonicalSequence, pt as SettlementFailureDiagnostic, q as ProducerId, r as AgentUpdateEmitted, rt as RepairAnnotated, s as CURRENT_RECORD_FORMAT, st as RunContinuation, t as AbortRequested, tt as RecordJson, u as CanonicalRecord, ut as RunPolicyUsageReserved, v as DeclaredToolCall, vt as SubagentStarted, w as FailedSubmissionSettled, wt as ToolApprovalRequested, x as DeploymentId, xt as SubtreeBudgetReserved, y as DefinitionDigestInput, yt as SubmissionSettled, z as ModelCallAborted, zt as WorkerOrigin } from "../Records-
|
|
1
|
+
import { $ as RecordEnvelope, A as MAX_PERSISTED_JSON_NODES, At as ToolStepSettled, B as ModelCompleted, Bt as WorkerOriginRecorded, C as EvidenceReference, Ct as ToolApprovalDecided, D as MAX_PERSISTED_JSON_BYTES, Dt as ToolCallSettled, E as MAX_CANONICAL_RECORD_BYTES, Et as ToolCallResolved, F as MAX_RUN_RECOVERY_SUFFIX_RECORDS, Ft as WorkerContinuation, G as PeerMessagePrepared, H as ModelResponseRecorded, Ht as WorkerReportRefused, I as MAX_RUN_TERMINAL_BYTES, It as WorkerInputCompleted, J as PromptRecord, K as PersistedJson, L as MAX_RUN_TOOL_CALL_IDENTITIES, Lt as WorkerInputRefused, M as MAX_RUN_EVIDENCE_BYTES, Mt as UserInputRecorded, N as MAX_RUN_EVIDENCE_RECORDS, Nt as WorkHandoffCompleted, O as MAX_PERSISTED_JSON_COLLECTION_LENGTH, Ot as ToolCallUnknown, P as MAX_RUN_RECOVERY_SUFFIX_BYTES, Pt as WorkerAdmission, Q as RUN_TERMINAL_RESERVE_RECORDS, R as MAX_TURN_CANONICAL_BYTES, Rt as WorkerInputRequested, S as Digest, St as ThreadCreated, T as KnownRecordPayload, Tt as ToolCallResolution, U as ObservationOffset, Ut as WorkerReportingIntent, V as ModelResponseInterrupted, Vt as WorkerReportPrepared, W as PROMPT_EVIDENCE_TAGS, Wt as WorkerStopRequested, X as PromptRecordPayload, Y as PromptRecordEnvelope, Z as RUN_TERMINAL_RESERVE_BYTES, _ as ContinuationAccounting, _t as SubagentRequested, a as BatchId, at as RunCompleted, b as DefinitionDigests, bt as SubmissionSettledRecord, c as CURRENT_RECORD_VERSION, ct as RunDurationExhausted, d as CanonicalRecordEnvelope, dt as RunPosition, et as RecordId, f as CanonicalRecordPayload, ft as RunStartedRecord, g as ContextEvidenceReference, gt as SubagentLineageRecorded, h as CompletedSubmissionSettled, ht as SubagentJoined, i as ApprovalDecision, it as ReplayContract, j as MAX_RUN_CONTINUATION_BYTES, jt as ToolUnavailable, k as MAX_PERSISTED_JSON_DEPTH, kt as ToolOperation, l as CanonicalBatch, lt as RunFailed, m as CompactionCreated, mt as SettlementOutcome, n as AbortedSubmissionSettled, o as CURRENT_CANONICAL_SCHEMA_VERSION, ot as RunContextRecorded, p as CanonicalSequence, pt as SettlementFailureDiagnostic, q as ProducerId, r as AgentUpdateEmitted, rt as RepairAnnotated, s as CURRENT_RECORD_FORMAT, st as RunContinuation, t as AbortRequested, tt as RecordJson, u as CanonicalRecord, ut as RunPolicyUsageReserved, v as DeclaredToolCall, vt as SubagentStarted, w as FailedSubmissionSettled, wt as ToolApprovalRequested, x as DeploymentId, xt as SubtreeBudgetReserved, y as DefinitionDigestInput, yt as SubmissionSettled, z as ModelCallAborted, zt as WorkerOrigin } from "../Records-BP67Yz6n.mjs";
|
|
2
2
|
export { AbortRequested, AbortedSubmissionSettled, AgentUpdateEmitted, ApprovalDecision, BatchId, CURRENT_CANONICAL_SCHEMA_VERSION, CURRENT_RECORD_FORMAT, CURRENT_RECORD_VERSION, CanonicalBatch, CanonicalRecord, CanonicalRecordEnvelope, CanonicalRecordPayload, CanonicalSequence, CompactionCreated, CompletedSubmissionSettled, ContextEvidenceReference, ContinuationAccounting, DeclaredToolCall, DefinitionDigestInput, DefinitionDigests, DeploymentId, Digest, EvidenceReference, FailedSubmissionSettled, KnownRecordPayload, MAX_CANONICAL_RECORD_BYTES, MAX_PERSISTED_JSON_BYTES, MAX_PERSISTED_JSON_COLLECTION_LENGTH, MAX_PERSISTED_JSON_DEPTH, MAX_PERSISTED_JSON_NODES, MAX_RUN_CONTINUATION_BYTES, MAX_RUN_EVIDENCE_BYTES, MAX_RUN_EVIDENCE_RECORDS, MAX_RUN_RECOVERY_SUFFIX_BYTES, MAX_RUN_RECOVERY_SUFFIX_RECORDS, MAX_RUN_TERMINAL_BYTES, MAX_RUN_TOOL_CALL_IDENTITIES, MAX_TURN_CANONICAL_BYTES, ModelCallAborted, ModelCompleted, ModelResponseInterrupted, ModelResponseRecorded, ObservationOffset, PROMPT_EVIDENCE_TAGS, PeerMessagePrepared, PersistedJson, ProducerId, PromptRecord, PromptRecordEnvelope, PromptRecordPayload, RUN_TERMINAL_RESERVE_BYTES, RUN_TERMINAL_RESERVE_RECORDS, RecordEnvelope, RecordId, RecordJson, RepairAnnotated, ReplayContract, RunCompleted, RunContextRecorded, RunContinuation, RunDurationExhausted, RunFailed, RunPolicyUsageReserved, RunPosition, RunStartedRecord, SettlementFailureDiagnostic, SettlementOutcome, SubagentJoined, SubagentLineageRecorded, SubagentRequested, SubagentStarted, SubmissionSettled, SubmissionSettledRecord, SubtreeBudgetReserved, ThreadCreated, ToolApprovalDecided, ToolApprovalRequested, ToolCallResolution, ToolCallResolved, ToolCallSettled, ToolCallUnknown, ToolOperation, ToolStepSettled, ToolUnavailable, UserInputRecorded, WorkHandoffCompleted, WorkerAdmission, WorkerContinuation, WorkerInputCompleted, WorkerInputRefused, WorkerInputRequested, WorkerOrigin, WorkerOriginRecorded, WorkerReportPrepared, WorkerReportRefused, WorkerReportingIntent, WorkerStopRequested };
|
package/dist/durable/Records.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as MAX_RUN_EVIDENCE_RECORDS, At as WorkHandoffCompleted, B as ObservationOffset, Bt as WorkerReportingIntent, C as MAX_CANONICAL_RECORD_BYTES, Ct as ToolCallResolved, D as MAX_PERSISTED_JSON_NODES, Dt as ToolStepSettled, E as MAX_PERSISTED_JSON_DEPTH, Et as ToolOperation, F as MAX_TURN_CANONICAL_BYTES, Ft as WorkerInputRequested, G as PromptRecord, H as PeerMessagePrepared, I as ModelCallAborted, It as WorkerOrigin, J as RUN_TERMINAL_RESERVE_BYTES, K as PromptRecordEnvelope, L as ModelCompleted, Lt as WorkerOriginRecorded, M as MAX_RUN_RECOVERY_SUFFIX_RECORDS, Mt as WorkerContinuation, N as MAX_RUN_TERMINAL_BYTES, Nt as WorkerInputCompleted, O as MAX_RUN_CONTINUATION_BYTES, Ot as ToolUnavailable, P as MAX_RUN_TOOL_CALL_IDENTITIES, Pt as WorkerInputRefused, Q as RecordJson, R as ModelResponseInterrupted, Rt as WorkerReportPrepared, S as KnownRecordPayload, St as ToolCallResolution, T as MAX_PERSISTED_JSON_COLLECTION_LENGTH, Tt as ToolCallUnknown, U as PersistedJson, V as PROMPT_EVIDENCE_TAGS, Vt as WorkerStopRequested, W as ProducerId, X as RecordEnvelope, Y as RUN_TERMINAL_RESERVE_RECORDS, Z as RecordId, _ as DefinitionDigestInput, _t as SubmissionSettledRecord, a as CURRENT_CANONICAL_SCHEMA_VERSION, at as RunDurationExhausted, b as Digest, bt as ToolApprovalDecided, c as CanonicalBatch, ct as RunPosition, d as CanonicalRecordPayload, dt as SettlementOutcome, et as RepairAnnotated, f as CanonicalSequence, ft as SubagentJoined, g as DeclaredToolCall, gt as SubmissionSettled, h as ContinuationAccounting, ht as SubagentStarted, i as BatchId, it as RunContinuation, j as MAX_RUN_RECOVERY_SUFFIX_BYTES, jt as WorkerAdmission, k as MAX_RUN_EVIDENCE_BYTES, kt as UserInputRecorded, l as CanonicalRecord, lt as RunStartedRecord, m as ContextEvidenceReference, mt as SubagentRequested, n as AgentUpdateEmitted, nt as RunCompleted, o as CURRENT_RECORD_FORMAT, ot as RunFailed, p as CompactionCreated, pt as SubagentLineageRecorded, q as PromptRecordPayload, r as ApprovalDecision, rt as RunContextRecorded, s as CURRENT_RECORD_VERSION, st as RunPolicyUsageReserved, t as AbortRequested, tt as ReplayContract, u as CanonicalRecordEnvelope, ut as SettlementFailureDiagnostic, v as DefinitionDigests, vt as SubtreeBudgetReserved, w as MAX_PERSISTED_JSON_BYTES, wt as ToolCallSettled, x as EvidenceReference, xt as ToolApprovalRequested, y as DeploymentId, yt as ThreadCreated, z as ModelResponseRecorded, zt as WorkerReportRefused } from "../Records-
|
|
1
|
+
import { A as MAX_RUN_EVIDENCE_RECORDS, At as WorkHandoffCompleted, B as ObservationOffset, Bt as WorkerReportingIntent, C as MAX_CANONICAL_RECORD_BYTES, Ct as ToolCallResolved, D as MAX_PERSISTED_JSON_NODES, Dt as ToolStepSettled, E as MAX_PERSISTED_JSON_DEPTH, Et as ToolOperation, F as MAX_TURN_CANONICAL_BYTES, Ft as WorkerInputRequested, G as PromptRecord, H as PeerMessagePrepared, I as ModelCallAborted, It as WorkerOrigin, J as RUN_TERMINAL_RESERVE_BYTES, K as PromptRecordEnvelope, L as ModelCompleted, Lt as WorkerOriginRecorded, M as MAX_RUN_RECOVERY_SUFFIX_RECORDS, Mt as WorkerContinuation, N as MAX_RUN_TERMINAL_BYTES, Nt as WorkerInputCompleted, O as MAX_RUN_CONTINUATION_BYTES, Ot as ToolUnavailable, P as MAX_RUN_TOOL_CALL_IDENTITIES, Pt as WorkerInputRefused, Q as RecordJson, R as ModelResponseInterrupted, Rt as WorkerReportPrepared, S as KnownRecordPayload, St as ToolCallResolution, T as MAX_PERSISTED_JSON_COLLECTION_LENGTH, Tt as ToolCallUnknown, U as PersistedJson, V as PROMPT_EVIDENCE_TAGS, Vt as WorkerStopRequested, W as ProducerId, X as RecordEnvelope, Y as RUN_TERMINAL_RESERVE_RECORDS, Z as RecordId, _ as DefinitionDigestInput, _t as SubmissionSettledRecord, a as CURRENT_CANONICAL_SCHEMA_VERSION, at as RunDurationExhausted, b as Digest, bt as ToolApprovalDecided, c as CanonicalBatch, ct as RunPosition, d as CanonicalRecordPayload, dt as SettlementOutcome, et as RepairAnnotated, f as CanonicalSequence, ft as SubagentJoined, g as DeclaredToolCall, gt as SubmissionSettled, h as ContinuationAccounting, ht as SubagentStarted, i as BatchId, it as RunContinuation, j as MAX_RUN_RECOVERY_SUFFIX_BYTES, jt as WorkerAdmission, k as MAX_RUN_EVIDENCE_BYTES, kt as UserInputRecorded, l as CanonicalRecord, lt as RunStartedRecord, m as ContextEvidenceReference, mt as SubagentRequested, n as AgentUpdateEmitted, nt as RunCompleted, o as CURRENT_RECORD_FORMAT, ot as RunFailed, p as CompactionCreated, pt as SubagentLineageRecorded, q as PromptRecordPayload, r as ApprovalDecision, rt as RunContextRecorded, s as CURRENT_RECORD_VERSION, st as RunPolicyUsageReserved, t as AbortRequested, tt as ReplayContract, u as CanonicalRecordEnvelope, ut as SettlementFailureDiagnostic, v as DefinitionDigests, vt as SubtreeBudgetReserved, w as MAX_PERSISTED_JSON_BYTES, wt as ToolCallSettled, x as EvidenceReference, xt as ToolApprovalRequested, y as DeploymentId, yt as ThreadCreated, z as ModelResponseRecorded, zt as WorkerReportRefused } from "../Records-bbGVHprv.mjs";
|
|
2
2
|
export { AbortRequested, AgentUpdateEmitted, ApprovalDecision, BatchId, CURRENT_CANONICAL_SCHEMA_VERSION, CURRENT_RECORD_FORMAT, CURRENT_RECORD_VERSION, CanonicalBatch, CanonicalRecord, CanonicalRecordEnvelope, CanonicalRecordPayload, CanonicalSequence, CompactionCreated, ContextEvidenceReference, ContinuationAccounting, DeclaredToolCall, DefinitionDigestInput, DefinitionDigests, DeploymentId, Digest, EvidenceReference, KnownRecordPayload, MAX_CANONICAL_RECORD_BYTES, MAX_PERSISTED_JSON_BYTES, MAX_PERSISTED_JSON_COLLECTION_LENGTH, MAX_PERSISTED_JSON_DEPTH, MAX_PERSISTED_JSON_NODES, MAX_RUN_CONTINUATION_BYTES, MAX_RUN_EVIDENCE_BYTES, MAX_RUN_EVIDENCE_RECORDS, MAX_RUN_RECOVERY_SUFFIX_BYTES, MAX_RUN_RECOVERY_SUFFIX_RECORDS, MAX_RUN_TERMINAL_BYTES, MAX_RUN_TOOL_CALL_IDENTITIES, MAX_TURN_CANONICAL_BYTES, ModelCallAborted, ModelCompleted, ModelResponseInterrupted, ModelResponseRecorded, ObservationOffset, PROMPT_EVIDENCE_TAGS, PeerMessagePrepared, PersistedJson, ProducerId, PromptRecord, PromptRecordEnvelope, PromptRecordPayload, RUN_TERMINAL_RESERVE_BYTES, RUN_TERMINAL_RESERVE_RECORDS, RecordEnvelope, RecordId, RecordJson, RepairAnnotated, ReplayContract, RunCompleted, RunContextRecorded, RunContinuation, RunDurationExhausted, RunFailed, RunPolicyUsageReserved, RunPosition, RunStartedRecord, SettlementFailureDiagnostic, SettlementOutcome, SubagentJoined, SubagentLineageRecorded, SubagentRequested, SubagentStarted, SubmissionSettled, SubmissionSettledRecord, SubtreeBudgetReserved, ThreadCreated, ToolApprovalDecided, ToolApprovalRequested, ToolCallResolution, ToolCallResolved, ToolCallSettled, ToolCallUnknown, ToolOperation, ToolStepSettled, ToolUnavailable, UserInputRecorded, WorkHandoffCompleted, WorkerAdmission, WorkerContinuation, WorkerInputCompleted, WorkerInputRefused, WorkerInputRequested, WorkerOrigin, WorkerOriginRecorded, WorkerReportPrepared, WorkerReportRefused, WorkerReportingIntent, WorkerStopRequested };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as ResumeFromTurnBoundary, A as AwaitHostSettlement, B as NoAction, D as AwaitApprovalDecision, E as ApplyUnknownResolutions, F as DeclaredPendingBatchEvidence, G as RecoveryDecision, H as OpenToolCallEvidence, I as DelegationAdmissionEvidence, J as ReleaseOrphanChildReservation, K as RecoveryEvidence, L as EnsureWaitingForChild, M as AwaitUnknownResolution, N as CompleteChildAdmission, O as AwaitChildAdmissionResolution, P as CompleteMaterialization, Q as RepairSubagentStartLink, R as FinalizeLedgerFromHistory, T as ApplyJoinAccounting, U as PendingApprovalEvidence, V as OpenDelegationCallEvidence, W as PropagateChildAbort, X as RepairJoinMarker, Y as RepairInputMarker, Z as RepairReadiness, at as SettleJoinedWithHost, et as ResumePendingToolBatch, it as SettleAborted, j as AwaitParentEstablishment, k as AwaitChildSettlement, nt as ResumeWaitingParent, ot as classifyRecovery, rt as RevertJoining, st as pendingApprovalForRecovery, tt as ResumeSuspended, w as ApplyInput, z as MarkUnknown } from "../Admin-
|
|
1
|
+
import { $ as ResumeFromTurnBoundary, A as AwaitHostSettlement, B as NoAction, D as AwaitApprovalDecision, E as ApplyUnknownResolutions, F as DeclaredPendingBatchEvidence, G as RecoveryDecision, H as OpenToolCallEvidence, I as DelegationAdmissionEvidence, J as ReleaseOrphanChildReservation, K as RecoveryEvidence, L as EnsureWaitingForChild, M as AwaitUnknownResolution, N as CompleteChildAdmission, O as AwaitChildAdmissionResolution, P as CompleteMaterialization, Q as RepairSubagentStartLink, R as FinalizeLedgerFromHistory, T as ApplyJoinAccounting, U as PendingApprovalEvidence, V as OpenDelegationCallEvidence, W as PropagateChildAbort, X as RepairJoinMarker, Y as RepairInputMarker, Z as RepairReadiness, at as SettleJoinedWithHost, et as ResumePendingToolBatch, it as SettleAborted, j as AwaitParentEstablishment, k as AwaitChildSettlement, nt as ResumeWaitingParent, ot as classifyRecovery, rt as RevertJoining, st as pendingApprovalForRecovery, tt as ResumeSuspended, w as ApplyInput, z as MarkUnknown } from "../Admin-BgCHCGSl.mjs";
|
|
2
2
|
export { 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, pendingApprovalForRecovery };
|
|
@@ -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 { dt as SettlementOutcome, g as DeclaredToolCall, r as ApprovalDecision } from "../Records-
|
|
3
|
+
import { dt as SettlementOutcome, g as DeclaredToolCall, r as ApprovalDecision } from "../Records-bbGVHprv.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,4 +1,4 @@
|
|
|
1
|
-
import { C as EvidenceReference, ot as RunContextRecorded, st as RunContinuation } from "../Records-
|
|
2
|
-
import { _o as ProgressAppendRecord } from "../Admin-
|
|
3
|
-
import { S as resolveEvidence, _ as executionRunIds, a as canonicalRecordBytes, b as terminalUsageCharge, c as prepareProgressAppend, d as resolveExecutionEvidence, f as runEvidence, g as canonicalRunIds, h as verifyRunContinuations, l as readContinuation, m as validateSuffix, n as CurrentRunWriter, o as isOperationalRecord, p as validateProgressAppend, r as ProgressAppendReader, s as makeProgressWriter, t as CurrentRunSettlement, u as readRunEvidenceSnapshot, v as isPreContinuationFact, x as reference, y as isWorkHandoff } from "../RunContinuation-
|
|
1
|
+
import { C as EvidenceReference, ot as RunContextRecorded, st as RunContinuation } from "../Records-BP67Yz6n.mjs";
|
|
2
|
+
import { _o as ProgressAppendRecord } from "../Admin-BgCHCGSl.mjs";
|
|
3
|
+
import { S as resolveEvidence, _ as executionRunIds, a as canonicalRecordBytes, b as terminalUsageCharge, c as prepareProgressAppend, d as resolveExecutionEvidence, f as runEvidence, g as canonicalRunIds, h as verifyRunContinuations, l as readContinuation, m as validateSuffix, n as CurrentRunWriter, o as isOperationalRecord, p as validateProgressAppend, r as ProgressAppendReader, s as makeProgressWriter, t as CurrentRunSettlement, u as readRunEvidenceSnapshot, v as isPreContinuationFact, x as reference, y as isWorkHandoff } from "../RunContinuation-CIJRN_vC.mjs";
|
|
4
4
|
export { CurrentRunSettlement, CurrentRunWriter, EvidenceReference, ProgressAppendReader, type ProgressAppendRecord, RunContextRecorded, RunContinuation, canonicalRecordBytes, canonicalRunIds, executionRunIds, isOperationalRecord, isPreContinuationFact, isWorkHandoff, makeProgressWriter, prepareProgressAppend, readContinuation, readRunEvidenceSnapshot, reference, resolveEvidence, resolveExecutionEvidence, runEvidence, terminalUsageCharge, validateProgressAppend, validateSuffix, verifyRunContinuations };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { it as RunContinuation, rt as RunContextRecorded, x as EvidenceReference } from "../Records-
|
|
2
|
-
import { _t as executionRunIds, bt as isWorkHandoff, gt as canonicalRunIds, vt as isPreContinuationFact, xt as terminalUsageCharge } from "../ThreadStore-
|
|
3
|
-
import { a as canonicalRecordBytes, b as reference, c as prepareProgressAppend, d as resolveExecutionEvidence, f as runEvidence, h as verifyRunContinuations, l as readContinuation, m as validateSuffix, n as CurrentRunWriter, o as isOperationalRecord, p as validateProgressAppend, r as ProgressAppendReader, s as makeProgressWriter, t as CurrentRunSettlement, u as readRunEvidenceSnapshot, x as resolveEvidence } from "../RunContinuation-
|
|
1
|
+
import { it as RunContinuation, rt as RunContextRecorded, x as EvidenceReference } from "../Records-bbGVHprv.mjs";
|
|
2
|
+
import { _t as executionRunIds, bt as isWorkHandoff, gt as canonicalRunIds, vt as isPreContinuationFact, xt as terminalUsageCharge } from "../ThreadStore-C_ofHc7h.mjs";
|
|
3
|
+
import { a as canonicalRecordBytes, b as reference, c as prepareProgressAppend, d as resolveExecutionEvidence, f as runEvidence, h as verifyRunContinuations, l as readContinuation, m as validateSuffix, n as CurrentRunWriter, o as isOperationalRecord, p as validateProgressAppend, r as ProgressAppendReader, s as makeProgressWriter, t as CurrentRunSettlement, u as readRunEvidenceSnapshot, x as resolveEvidence } from "../RunContinuation-DJ6kkbQG.mjs";
|
|
4
4
|
export { CurrentRunSettlement, CurrentRunWriter, EvidenceReference, ProgressAppendReader, RunContextRecorded, RunContinuation, canonicalRecordBytes, canonicalRunIds, executionRunIds, isOperationalRecord, isPreContinuationFact, isWorkHandoff, makeProgressWriter, prepareProgressAppend, readContinuation, readRunEvidenceSnapshot, reference, resolveEvidence, resolveExecutionEvidence, runEvidence, terminalUsageCharge, validateProgressAppend, validateSuffix, verifyRunContinuations };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $o as subagentJoinedRecordId, Ao as agentUpdateRecordId, Bo as modelResponseInterruptedRecordId, Co as JournalBoundary, Cs as workerOriginRecordId, Do as RunJournalUsage, Eo as RunJournalProjection, Es as toolCallSettledRecordId, Fo as compactionRecordId, Go as promptFromCanonicalRecords, Ho as peerMessageRecordId, Io as firstWorkerInputRecordId, Jo as runDurationRecordId, Ko as runCompletedRecordId, Lo as initialRunJournal, Mo as childIdempotencyKeyFor, No as childThreadIdFor, Po as compactionBatchId, Qo as subagentJoinBatchId, Ro as markUnknownBatchId, Ss as workerInputRecordId, To as RunJournalError, Uo as projectRunJournal, Vo as modelResponseRecordId, Wo as projectRunJournalStream, Xo as runStartedBatchId, Yo as runIdForSubmission, Zo as runStartedRecordId, _s as turnIdForRun, as as subagentStartedRecordId, bs as turnResultsBatch, cs as toolCallResolutionBatchId, ds as toolCallUnknownRecordId, es as subagentLineageBatchId, fs as toolStepSettledBatchId, gs as turnCanonicalBatch, hs as turnBatchId, is as subagentStartedBatchId, jo as approvalDecisionBatchId, ko as TurnCommitInput, ls as toolCallResolvedRecordId, ms as turnApprovalsBatchId, ns as subagentRequestedBatchId, os as toolApprovalDecisionRecordId, ps as toolStepSettledRecordId, qo as runDurationBatchId, rs as subagentRequestedRecordId, ss as toolApprovalRequestRecordId, ts as subagentLineageRecordId, us as toolCallResultBatchId, vs as turnResponseBatch, wo as RunJournalContext, ws as workerReportRecordId, xs as turnResultsBatchId, ys as turnResponseBatchId, zo as modelResponseInterruptedBatchId } from "../Admin-
|
|
1
|
+
import { $o as subagentJoinedRecordId, Ao as agentUpdateRecordId, Bo as modelResponseInterruptedRecordId, Co as JournalBoundary, Cs as workerOriginRecordId, Do as RunJournalUsage, Eo as RunJournalProjection, Es as toolCallSettledRecordId, Fo as compactionRecordId, Go as promptFromCanonicalRecords, Ho as peerMessageRecordId, Io as firstWorkerInputRecordId, Jo as runDurationRecordId, Ko as runCompletedRecordId, Lo as initialRunJournal, Mo as childIdempotencyKeyFor, No as childThreadIdFor, Po as compactionBatchId, Qo as subagentJoinBatchId, Ro as markUnknownBatchId, Ss as workerInputRecordId, To as RunJournalError, Uo as projectRunJournal, Vo as modelResponseRecordId, Wo as projectRunJournalStream, Xo as runStartedBatchId, Yo as runIdForSubmission, Zo as runStartedRecordId, _s as turnIdForRun, as as subagentStartedRecordId, bs as turnResultsBatch, cs as toolCallResolutionBatchId, ds as toolCallUnknownRecordId, es as subagentLineageBatchId, fs as toolStepSettledBatchId, gs as turnCanonicalBatch, hs as turnBatchId, is as subagentStartedBatchId, jo as approvalDecisionBatchId, ko as TurnCommitInput, ls as toolCallResolvedRecordId, ms as turnApprovalsBatchId, ns as subagentRequestedBatchId, os as toolApprovalDecisionRecordId, ps as toolStepSettledRecordId, qo as runDurationBatchId, rs as subagentRequestedRecordId, ss as toolApprovalRequestRecordId, ts as subagentLineageRecordId, us as toolCallResultBatchId, vs as turnResponseBatch, wo as RunJournalContext, ws as workerReportRecordId, xs as turnResultsBatchId, ys as turnResponseBatchId, zo as modelResponseInterruptedBatchId } from "../Admin-BgCHCGSl.mjs";
|
|
2
2
|
export { JournalBoundary, RunJournalContext, RunJournalError, RunJournalProjection, RunJournalUsage, TurnCommitInput, agentUpdateRecordId, approvalDecisionBatchId, childIdempotencyKeyFor, childThreadIdFor, compactionBatchId, compactionRecordId, firstWorkerInputRecordId, initialRunJournal, markUnknownBatchId, modelResponseInterruptedBatchId, modelResponseInterruptedRecordId, modelResponseRecordId, peerMessageRecordId, projectRunJournal, projectRunJournalStream, promptFromCanonicalRecords, runCompletedRecordId, runDurationBatchId, runDurationRecordId, runIdForSubmission, runStartedBatchId, runStartedRecordId, subagentJoinBatchId, subagentJoinedRecordId, subagentLineageBatchId, subagentLineageRecordId, subagentRequestedBatchId, subagentRequestedRecordId, subagentStartedBatchId, subagentStartedRecordId, toolApprovalDecisionRecordId, toolApprovalRequestRecordId, toolCallResolutionBatchId, toolCallResolvedRecordId, toolCallResultBatchId, toolCallSettledRecordId, toolCallUnknownRecordId, toolStepSettledBatchId, toolStepSettledRecordId, turnApprovalsBatchId, turnBatchId, turnCanonicalBatch, turnIdForRun, turnResponseBatch, turnResponseBatchId, turnResultsBatch, turnResultsBatchId, workerInputRecordId, workerOriginRecordId, workerReportRecordId };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as subagentRequestedRecordId, B as toolStepSettledRecordId, C as runStartedBatchId, D as subagentLineageBatchId, E as subagentJoinedRecordId, F as toolCallResolutionBatchId, G as turnResponseBatch, H as turnBatchId, I as toolCallResolvedRecordId, J as turnResultsBatchId, K as turnResponseBatchId, L as toolCallResultBatchId, M as subagentStartedRecordId, N as toolApprovalDecisionRecordId, O as subagentLineageRecordId, P as toolApprovalRequestRecordId, R as toolCallUnknownRecordId, S as runIdForSubmission, T as subagentJoinBatchId, U as turnCanonicalBatch, V as turnApprovalsBatchId, W as turnIdForRun, X as workerOriginRecordId, Y as workerInputRecordId, Z as workerReportRecordId, _ as projectRunJournalStream, a as childIdempotencyKeyFor, b as runDurationBatchId, c as compactionRecordId, d as markUnknownBatchId, et as toolCallSettledRecordId, f as modelResponseInterruptedBatchId, g as projectRunJournal, h as peerMessageRecordId, i as approvalDecisionBatchId, j as subagentStartedBatchId, k as subagentRequestedBatchId, l as firstWorkerInputRecordId, m as modelResponseRecordId, o as childThreadIdFor, p as modelResponseInterruptedRecordId, q as turnResultsBatch, r as agentUpdateRecordId, s as compactionBatchId, t as RunJournalError, u as initialRunJournal, v as promptFromCanonicalRecords, w as runStartedRecordId, x as runDurationRecordId, y as runCompletedRecordId, z as toolStepSettledBatchId } from "../RunJournal-
|
|
1
|
+
import { A as subagentRequestedRecordId, B as toolStepSettledRecordId, C as runStartedBatchId, D as subagentLineageBatchId, E as subagentJoinedRecordId, F as toolCallResolutionBatchId, G as turnResponseBatch, H as turnBatchId, I as toolCallResolvedRecordId, J as turnResultsBatchId, K as turnResponseBatchId, L as toolCallResultBatchId, M as subagentStartedRecordId, N as toolApprovalDecisionRecordId, O as subagentLineageRecordId, P as toolApprovalRequestRecordId, R as toolCallUnknownRecordId, S as runIdForSubmission, T as subagentJoinBatchId, U as turnCanonicalBatch, V as turnApprovalsBatchId, W as turnIdForRun, X as workerOriginRecordId, Y as workerInputRecordId, Z as workerReportRecordId, _ as projectRunJournalStream, a as childIdempotencyKeyFor, b as runDurationBatchId, c as compactionRecordId, d as markUnknownBatchId, et as toolCallSettledRecordId, f as modelResponseInterruptedBatchId, g as projectRunJournal, h as peerMessageRecordId, i as approvalDecisionBatchId, j as subagentStartedBatchId, k as subagentRequestedBatchId, l as firstWorkerInputRecordId, m as modelResponseRecordId, o as childThreadIdFor, p as modelResponseInterruptedRecordId, q as turnResultsBatch, r as agentUpdateRecordId, s as compactionBatchId, t as RunJournalError, u as initialRunJournal, v as promptFromCanonicalRecords, w as runStartedRecordId, x as runDurationRecordId, y as runCompletedRecordId, z as toolStepSettledBatchId } from "../RunJournal-DQr2dUgg.mjs";
|
|
2
2
|
export { RunJournalError, agentUpdateRecordId, approvalDecisionBatchId, childIdempotencyKeyFor, childThreadIdFor, compactionBatchId, compactionRecordId, firstWorkerInputRecordId, initialRunJournal, markUnknownBatchId, modelResponseInterruptedBatchId, modelResponseInterruptedRecordId, modelResponseRecordId, peerMessageRecordId, projectRunJournal, projectRunJournalStream, promptFromCanonicalRecords, runCompletedRecordId, runDurationBatchId, runDurationRecordId, runIdForSubmission, runStartedBatchId, runStartedRecordId, subagentJoinBatchId, subagentJoinedRecordId, subagentLineageBatchId, subagentLineageRecordId, subagentRequestedBatchId, subagentRequestedRecordId, subagentStartedBatchId, subagentStartedRecordId, toolApprovalDecisionRecordId, toolApprovalRequestRecordId, toolCallResolutionBatchId, toolCallResolvedRecordId, toolCallResultBatchId, toolCallSettledRecordId, toolCallUnknownRecordId, toolStepSettledBatchId, toolStepSettledRecordId, turnApprovalsBatchId, turnBatchId, turnCanonicalBatch, turnIdForRun, turnResponseBatch, turnResponseBatchId, turnResultsBatch, turnResultsBatchId, workerInputRecordId, workerOriginRecordId, workerReportRecordId };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Fr as RunStorageSession, Ir as RunWriter, Lr as layer, Mr as RunChildBudgetReservation, Nr as RunOwnership, Pr as RunStorage, Rr as make, So as makeStorageOwner, bo as StorageOwner, jr as RunChildAttachment, vo as MutationGate, xo as StorageOwnerService, yo as OwnerGeneration, zr as makeRunWriter } from "../Admin-
|
|
1
|
+
import { Fr as RunStorageSession, Ir as RunWriter, Lr as layer, Mr as RunChildBudgetReservation, Nr as RunOwnership, Pr as RunStorage, Rr as make, So as makeStorageOwner, bo as StorageOwner, jr as RunChildAttachment, vo as MutationGate, xo as StorageOwnerService, yo as OwnerGeneration, zr as makeRunWriter } from "../Admin-BgCHCGSl.mjs";
|
|
2
2
|
export { type MutationGate, type OwnerGeneration, RunChildAttachment, RunChildBudgetReservation, RunOwnership, RunStorage, RunStorageSession, RunWriter, StorageOwner, type StorageOwnerService, layer, make, makeRunWriter, makeStorageOwner };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as make, c as makeStorageOwner, i as layer, n as RunChildBudgetReservation, o as makeRunWriter, r as RunStorage, s as StorageOwner, t as RunChildAttachment } from "../RunStorage-
|
|
1
|
+
import { a as make, c as makeStorageOwner, i as layer, n as RunChildBudgetReservation, o as makeRunWriter, r as RunStorage, s as StorageOwner, t as RunChildAttachment } from "../RunStorage-DblN-cmM.mjs";
|
|
2
2
|
export { RunChildAttachment, RunChildBudgetReservation, RunStorage, StorageOwner, layer, make, makeRunWriter, makeStorageOwner };
|
|
@@ -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-
|
|
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-CVLtl5rP.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 };
|
|
@@ -2,7 +2,7 @@ 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
4
|
import { o as Value } from "../FailureDiagnostic-D9oW23Cn.mjs";
|
|
5
|
-
import { U as PersistedJson, b as Digest, v as DefinitionDigests } from "../Records-
|
|
5
|
+
import { U as PersistedJson, b as Digest, v as DefinitionDigests } from "../Records-bbGVHprv.mjs";
|
|
6
6
|
import { AdmissionFence, AdmissionGroup } from "./SubmissionLedger.mjs";
|
|
7
7
|
import { Context, Effect, Schema } from "effect";
|
|
8
8
|
//#region src/durable/Schedule.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as ScheduleStore, N as ScheduleStoreFailure } from "../Schedule-
|
|
1
|
+
import { M as ScheduleStore, N as ScheduleStoreFailure } from "../Schedule-CVLtl5rP.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 { b as Digest, v as DefinitionDigests } from "../Records-
|
|
3
|
+
import { b as Digest, v as DefinitionDigests } from "../Records-bbGVHprv.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-
|
|
1
|
+
import { C as ScheduleRecord, a as ScheduleChange, m as ScheduleKey, s as ScheduleConflict, y as ScheduleOwner } from "../Schedule-CVLtl5rP.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 { U as PersistedJson, v as DefinitionDigests } from "../Records-
|
|
2
|
+
import { U as PersistedJson, v as DefinitionDigests } from "../Records-bbGVHprv.mjs";
|
|
3
3
|
import { AdmissionFence } from "./SubmissionLedger.mjs";
|
|
4
4
|
import { ScheduleConflict } from "./Schedule.mjs";
|
|
5
5
|
import { Result, Schema } from "effect";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as Principal } from "../Receipt-BkM21Qiu.mjs";
|
|
2
|
-
import { b as DefinitionDigests } from "../Records-
|
|
3
|
-
import { cr as DurableSubmitAgent, pt as AdmissionFence } from "../Admin-
|
|
4
|
-
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-
|
|
2
|
+
import { b as DefinitionDigests } from "../Records-BP67Yz6n.mjs";
|
|
3
|
+
import { cr as DurableSubmitAgent, pt as AdmissionFence } from "../Admin-BgCHCGSl.mjs";
|
|
4
|
+
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-CVLtl5rP.mjs";
|
|
5
5
|
import { Context, Crypto, Effect, Layer, Schema } from "effect";
|
|
6
6
|
declare namespace Scheduling_d_exports {
|
|
7
7
|
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-
|
|
1
|
+
import { n as ScheduleWakeNoop, r as Scheduling, t as ScheduleDriver } from "../Scheduling-B6l0lWdr.mjs";
|
|
2
2
|
export { ScheduleDriver, ScheduleWakeNoop, Scheduling };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Br as SettlementPublication, Gr as validateCanonicalSettlement, Hr as SettlementPublicationFailure, Kr as validateJoinedSettlement, Ur as SettlementPublicationResult, Vr as SettlementPublicationAuthority, Wr as SettlementPublisher, qr as validatePublication } from "../Admin-
|
|
1
|
+
import { Br as SettlementPublication, Gr as validateCanonicalSettlement, Hr as SettlementPublicationFailure, Kr as validateJoinedSettlement, Ur as SettlementPublicationResult, Vr as SettlementPublicationAuthority, Wr as SettlementPublisher, qr as validatePublication } from "../Admin-BgCHCGSl.mjs";
|
|
2
2
|
export { SettlementPublication, SettlementPublicationAuthority, SettlementPublicationFailure, SettlementPublicationResult, SettlementPublisher, validateCanonicalSettlement, validateJoinedSettlement, validatePublication };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SubmissionId } from "../core/Identifiers.mjs";
|
|
2
|
-
import { X as RecordEnvelope, f as CanonicalSequence, gt as SubmissionSettled } from "../Records-
|
|
2
|
+
import { X as RecordEnvelope, f as CanonicalSequence, gt as SubmissionSettled } from "../Records-bbGVHprv.mjs";
|
|
3
3
|
import { LedgerError, submissionSettlementBatchId, submissionSettlementId, submissionSettlementRecordId } from "./SubmissionLedger.mjs";
|
|
4
|
-
import { S as runIdForSubmission } from "../RunJournal-
|
|
5
|
-
import { g as PreparedAppend, n as AppendRequest } from "../ThreadStore-
|
|
4
|
+
import { S as runIdForSubmission } from "../RunJournal-DQr2dUgg.mjs";
|
|
5
|
+
import { g as PreparedAppend, n as AppendRequest } from "../ThreadStore-C_ofHc7h.mjs";
|
|
6
6
|
import { Context, Effect, Schema } from "effect";
|
|
7
7
|
//#region src/durable/SettlementPublisher.ts
|
|
8
8
|
/** Authority rechecked atomically on every publication attempt, including canonical replay. */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { i as QueueSequence, n as JoinedToHost, r as Principal, t as IdempotencyKey } from "../Receipt-BkM21Qiu.mjs";
|
|
2
|
-
import { $t as RecoverySnapshotRequest, An as WaitingChild, At as ChildReservationConflict, Bn as submissionSettlementBatchId, Bt as FundingOwnerRequest, Cn as SuspensionReason, Ct as ApprovalDecisionIntent, Dn as UnknownResolutionConflict, Dt as ChildAttachmentSnapshot, En as UnknownResolutionCommand, Et as BeginChildBudgetReleaseRequest, Fn as settlementFailureFromRecord, Ft as Claim, Gn as workerTerminalFromRecord, Gt as LedgerError, Hn as submissionSettlementRecordId, Ht as JoinSnapshot, In as submissionAbortBatchId, It as ClaimHandoff, Jt as MarkReadyRequest, Kt as MarkInputAppliedRequest, Ln as submissionAbortRecordId, Lt as ClaimJoiningRequest, Mn as WorkerLedgerState, Mt as ChildReservationStatus, Nn as WorkerStopCommand, Nt as ChildSettledNotification, On as UnknownResolutionIntent, Ot as ChildBudgetReservationRequest, Pn as approvalDecisionsCover, Pt as ChildSettledOutcome, Qt as RecoverySnapshot, Rn as submissionInputBatchId, Rt as ClaimRequest, Sn as SuspensionOutcome, St as ApprovalDecisionCommand, Tn as UnknownResolution, Tt as AttachChildToReservationRequest, Un as unknownResolutionKind, Ut as JoiningClaim, Vn as submissionSettlementId, Vt as InputAppliedMarker, Wn as unknownResolutionMatchesResult, Wt as LedgerCapabilities, Xt as OwnershipLost, Yt as MarkUnknownRequest, Zt as ParentLinkage, _n as SubmissionScheduling, _t as AdmissionPolicyError, an as ResolutionSafeToRetry, bn as SubmissionWorkItem, bt as AdmissionResult, cn as SettlementConflict, ct as AbortCommand, dn as SubmissionLedger, dt as AdmissionAdmitted, en as ReleaseChildBudgetRequest, fn as SubmissionLedgerFailure, ft as AdmissionConflict, gn as SubmissionLookupByKey, gt as AdmissionNotAdmitted, hn as SubmissionLookupById, ht as AdmissionIndeterminate, in as ResolutionNeverHappened, jn as WaitingForChildSuspension, jt as ChildReservationId, kn as UnknownResolutionKind, kt as ChildBudgetReservationSnapshot, ln as SettlementFinalization, lt as AbortIntent, mn as SubmissionLookup, mt as AdmissionGroup, nn as ResolutionAbortSubmission, on as RevertJoiningRequest, pt as AdmissionFence, qt as MarkJoinedRequest, rn as ResolutionCompletedWithResult, sn as Settlement, tn as ReservedChildBudget, un as SubmissionAdmissionFence, ut as AbortIntentRequest, vn as SubmissionSnapshot, vt as AdmissionRequest, wn as SuspensionSnapshot, wt as ApprovalPendingSuspension, xn as SuspendRequest, xt as ApprovalConflict, yn as SubmissionState, yt as AdmissionResolution, zn as submissionInputRecordId, zt as FundingOwner } from "../Admin-
|
|
2
|
+
import { $t as RecoverySnapshotRequest, An as WaitingChild, At as ChildReservationConflict, Bn as submissionSettlementBatchId, Bt as FundingOwnerRequest, Cn as SuspensionReason, Ct as ApprovalDecisionIntent, Dn as UnknownResolutionConflict, Dt as ChildAttachmentSnapshot, En as UnknownResolutionCommand, Et as BeginChildBudgetReleaseRequest, Fn as settlementFailureFromRecord, Ft as Claim, Gn as workerTerminalFromRecord, Gt as LedgerError, Hn as submissionSettlementRecordId, Ht as JoinSnapshot, In as submissionAbortBatchId, It as ClaimHandoff, Jt as MarkReadyRequest, Kt as MarkInputAppliedRequest, Ln as submissionAbortRecordId, Lt as ClaimJoiningRequest, Mn as WorkerLedgerState, Mt as ChildReservationStatus, Nn as WorkerStopCommand, Nt as ChildSettledNotification, On as UnknownResolutionIntent, Ot as ChildBudgetReservationRequest, Pn as approvalDecisionsCover, Pt as ChildSettledOutcome, Qt as RecoverySnapshot, Rn as submissionInputBatchId, Rt as ClaimRequest, Sn as SuspensionOutcome, St as ApprovalDecisionCommand, Tn as UnknownResolution, Tt as AttachChildToReservationRequest, Un as unknownResolutionKind, Ut as JoiningClaim, Vn as submissionSettlementId, Vt as InputAppliedMarker, Wn as unknownResolutionMatchesResult, Wt as LedgerCapabilities, Xt as OwnershipLost, Yt as MarkUnknownRequest, Zt as ParentLinkage, _n as SubmissionScheduling, _t as AdmissionPolicyError, an as ResolutionSafeToRetry, bn as SubmissionWorkItem, bt as AdmissionResult, cn as SettlementConflict, ct as AbortCommand, dn as SubmissionLedger, dt as AdmissionAdmitted, en as ReleaseChildBudgetRequest, fn as SubmissionLedgerFailure, ft as AdmissionConflict, gn as SubmissionLookupByKey, gt as AdmissionNotAdmitted, hn as SubmissionLookupById, ht as AdmissionIndeterminate, in as ResolutionNeverHappened, jn as WaitingForChildSuspension, jt as ChildReservationId, kn as UnknownResolutionKind, kt as ChildBudgetReservationSnapshot, ln as SettlementFinalization, lt as AbortIntent, mn as SubmissionLookup, mt as AdmissionGroup, nn as ResolutionAbortSubmission, on as RevertJoiningRequest, pt as AdmissionFence, qt as MarkJoinedRequest, rn as ResolutionCompletedWithResult, sn as Settlement, tn as ReservedChildBudget, un as SubmissionAdmissionFence, ut as AbortIntentRequest, vn as SubmissionSnapshot, vt as AdmissionRequest, wn as SuspensionSnapshot, wt as ApprovalPendingSuspension, xn as SuspendRequest, xt as ApprovalConflict, yn as SubmissionState, yt as AdmissionResolution, zn as submissionInputRecordId, zt as FundingOwner } from "../Admin-BgCHCGSl.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, ClaimHandoff, ClaimJoiningRequest, ClaimRequest, FundingOwner, FundingOwnerRequest, IdempotencyKey, InputAppliedMarker, JoinSnapshot, JoinedToHost, JoiningClaim, LedgerCapabilities, LedgerError, MarkInputAppliedRequest, MarkJoinedRequest, MarkReadyRequest, MarkUnknownRequest, OwnershipLost, ParentLinkage, Principal, QueueSequence, RecoverySnapshot, RecoverySnapshotRequest, ReleaseChildBudgetRequest, ReservedChildBudget, ResolutionAbortSubmission, ResolutionCompletedWithResult, ResolutionNeverHappened, ResolutionSafeToRetry, RevertJoiningRequest, Settlement, SettlementConflict, SettlementFinalization, SubmissionAdmissionFence, SubmissionLedger, SubmissionLedgerFailure, SubmissionLookup, SubmissionLookupById, SubmissionLookupByKey, SubmissionScheduling, SubmissionSnapshot, SubmissionState, SubmissionWorkItem, SuspendRequest, SuspensionOutcome, SuspensionReason, SuspensionSnapshot, UnknownResolution, UnknownResolutionCommand, UnknownResolutionConflict, UnknownResolutionIntent, UnknownResolutionKind, WaitingChild, WaitingForChildSuspension, WorkerLedgerState, WorkerStopCommand, approvalDecisionsCover, settlementFailureFromRecord, submissionAbortBatchId, submissionAbortRecordId, submissionInputBatchId, submissionInputRecordId, submissionSettlementBatchId, submissionSettlementId, submissionSettlementRecordId, unknownResolutionKind, unknownResolutionMatchesResult, workerTerminalFromRecord };
|
|
@@ -5,8 +5,8 @@ import { o as Value } from "../FailureDiagnostic-D9oW23Cn.mjs";
|
|
|
5
5
|
import { RunUsageSummary } from "../core/Usage.mjs";
|
|
6
6
|
import { n as AssignmentTerminal } from "../Worker-CtuUwYOK.mjs";
|
|
7
7
|
import { l as InputMessage } from "../MessagingHost-BILcuj0V.mjs";
|
|
8
|
-
import { Ct as ToolCallResolved, Tt as ToolCallUnknown, U as PersistedJson, Z as RecordId, b as Digest, bt as ToolApprovalDecided, dt as SettlementOutcome, f as CanonicalSequence, jt as WorkerAdmission, r as ApprovalDecision, t as AbortRequested, ut as SettlementFailureDiagnostic, v as DefinitionDigests, y as DeploymentId } from "../Records-
|
|
9
|
-
import { r as canonicalJson } from "../Digest-
|
|
8
|
+
import { Ct as ToolCallResolved, Tt as ToolCallUnknown, U as PersistedJson, Z as RecordId, b as Digest, bt as ToolApprovalDecided, dt as SettlementOutcome, f as CanonicalSequence, jt as WorkerAdmission, r as ApprovalDecision, t as AbortRequested, ut as SettlementFailureDiagnostic, v as DefinitionDigests, y as DeploymentId } from "../Records-bbGVHprv.mjs";
|
|
9
|
+
import { r as canonicalJson } from "../Digest-CzLJcsWv.mjs";
|
|
10
10
|
import { Brand, Context, Effect, Schema } from "effect";
|
|
11
11
|
//#region src/durable/SubmissionLedger.ts
|
|
12
12
|
var SubmissionLedger_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as DigestError } from "../Digest-
|
|
2
|
-
import { Hr as SettlementPublicationFailure, Wi as ThreadStore, Wr as SettlementPublisher, bo as StorageOwner, dn as SubmissionLedger, fn as SubmissionLedgerFailure } from "../Admin-
|
|
1
|
+
import { t as DigestError } from "../Digest-1iVcDLVm.mjs";
|
|
2
|
+
import { Hr as SettlementPublicationFailure, Wi as ThreadStore, Wr as SettlementPublisher, bo as StorageOwner, dn as SubmissionLedger, fn as SubmissionLedgerFailure } from "../Admin-BgCHCGSl.mjs";
|
|
3
3
|
import { Crypto, Effect, Schema } from "effect";
|
|
4
4
|
//#region src/durable/SubmissionLedgerConformance.d.ts
|
|
5
5
|
declare const SubmissionLedgerConformanceViolation_base: Schema.Class<SubmissionLedgerConformanceViolation, Schema.TaggedStruct<"SubmissionLedgerConformanceViolation", {
|
|
@@ -4,12 +4,12 @@ import { IdempotencyKey, JoinedToHost, Principal } from "../core/Receipt.mjs";
|
|
|
4
4
|
import { SubagentDelegationCaps, SubagentGrant, SubagentReservationAmounts } from "../core/SubagentContract.mjs";
|
|
5
5
|
import { b as WorkerUpdate, o as WorkerCompletion } from "../Worker-CtuUwYOK.mjs";
|
|
6
6
|
import { d as MessageAdmission, l as InputMessage } from "../MessagingHost-BILcuj0V.mjs";
|
|
7
|
-
import { U as PersistedJson, W as ProducerId, X as RecordEnvelope, _t as SubmissionSettledRecord, b as Digest, c as CanonicalBatch, f as CanonicalSequence, gt as SubmissionSettled, jt as WorkerAdmission, v as DefinitionDigests, y as DeploymentId } from "../Records-
|
|
8
|
-
import { s as digestJson } from "../Digest-
|
|
7
|
+
import { U as PersistedJson, W as ProducerId, X as RecordEnvelope, _t as SubmissionSettledRecord, b as Digest, c as CanonicalBatch, f as CanonicalSequence, gt as SubmissionSettled, jt as WorkerAdmission, v as DefinitionDigests, y as DeploymentId } from "../Records-bbGVHprv.mjs";
|
|
8
|
+
import { s as digestJson } from "../Digest-CzLJcsWv.mjs";
|
|
9
9
|
import { AbortCommand, AbortIntentRequest, AdmissionConflict, AdmissionPolicyError, AdmissionRequest, ApprovalConflict, ApprovalDecisionCommand, ApprovalPendingSuspension, BeginChildBudgetReleaseRequest, ChildBudgetReservationRequest, ChildReservationConflict, ChildReservationId, ChildSettledNotification, ClaimHandoff, ClaimRequest, LedgerError, MarkInputAppliedRequest, MarkJoinedRequest, MarkReadyRequest, MarkUnknownRequest, OwnershipLost, ParentLinkage, RecoverySnapshotRequest, ReleaseChildBudgetRequest, ResolutionCompletedWithResult, ResolutionNeverHappened, ResolutionSafeToRetry, RevertJoiningRequest, Settlement, SettlementConflict, SettlementFinalization, SubmissionLedger, SubmissionLookupById, SubmissionLookupByKey, SuspendRequest, UnknownResolutionCommand, UnknownResolutionConflict, WaitingChild, WaitingForChildSuspension, submissionInputRecordId, submissionSettlementBatchId, submissionSettlementId, submissionSettlementRecordId } from "./SubmissionLedger.mjs";
|
|
10
|
-
import { S as runIdForSubmission } from "../RunJournal-
|
|
11
|
-
import { L as ThreadMaterialization, W as ThreadReader, Y as ThreadStore, et as ThreadTailRequest, n as AppendRequest, st as getRecord } from "../ThreadStore-
|
|
12
|
-
import { a as make } from "../RunStorage-
|
|
10
|
+
import { S as runIdForSubmission } from "../RunJournal-DQr2dUgg.mjs";
|
|
11
|
+
import { L as ThreadMaterialization, W as ThreadReader, Y as ThreadStore, et as ThreadTailRequest, n as AppendRequest, st as getRecord } from "../ThreadStore-C_ofHc7h.mjs";
|
|
12
|
+
import { a as make } from "../RunStorage-DblN-cmM.mjs";
|
|
13
13
|
import { SettlementPublication, SettlementPublisher } from "./SettlementPublisher.mjs";
|
|
14
14
|
import { DateTime, Duration, Effect, Exit, Option, Result, Schema, Scope, Stream } from "effect";
|
|
15
15
|
import { TestClock } from "effect/testing";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Dr as PendingSubmission, Or as SettledSubmission, kr as SubmissionStatus } from "../Admin-
|
|
1
|
+
import { Dr as PendingSubmission, Or as SettledSubmission, kr as SubmissionStatus } from "../Admin-BgCHCGSl.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-
|
|
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-BRsNy0TA.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 };
|
|
@@ -2,7 +2,7 @@ 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
4
|
import { l as InputMessage } from "../MessagingHost-BILcuj0V.mjs";
|
|
5
|
-
import { U as PersistedJson, b as Digest, jt as WorkerAdmission, v as DefinitionDigests } from "../Records-
|
|
5
|
+
import { U as PersistedJson, b as Digest, jt as WorkerAdmission, v as DefinitionDigests } from "../Records-bbGVHprv.mjs";
|
|
6
6
|
import { AdmissionFence, AdmissionGroup } from "./SubmissionLedger.mjs";
|
|
7
7
|
import { ScheduleAuthorizationDecision, ScheduleDestination, ScheduleInstant, ScheduleRetry } from "./Schedule.mjs";
|
|
8
8
|
import { Context, Effect, Schema } from "effect";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as resolveSubscriptionInput, i as makeSubscriptionInputBinding, n as SubscriptionInputBindings, t as SubscriptionInputBinding } from "../SubscriptionInput-
|
|
1
|
+
import { a as resolveSubscriptionInput, i as makeSubscriptionInputBinding, n as SubscriptionInputBindings, t as SubscriptionInputBinding } from "../SubscriptionInput-ClCaW_kX.mjs";
|
|
2
2
|
export { SubscriptionInputBinding, SubscriptionInputBindings, makeSubscriptionInputBinding, resolveSubscriptionInput };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
2
|
-
import { U as PersistedJson } from "../Records-
|
|
3
|
-
import { o as definitionDigestsEqual } from "../agent-registration-
|
|
2
|
+
import { U as PersistedJson } from "../Records-bbGVHprv.mjs";
|
|
3
|
+
import { o as definitionDigestsEqual } from "../agent-registration-7kp1dHT0.mjs";
|
|
4
4
|
import { SubscriptionError, SubscriptionSourceError } from "./Subscription.mjs";
|
|
5
5
|
import { Context, Effect, Schema } from "effect";
|
|
6
6
|
//#region src/durable/SubscriptionInput.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as SubscriptionStore, O as SubscriptionStoreFailure, o as SourcePartition } from "../Subscription-
|
|
1
|
+
import { D as SubscriptionStore, O as SubscriptionStoreFailure, o as SourcePartition } from "../Subscription-BRsNy0TA.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,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 { b as Digest, v as DefinitionDigests } from "../Records-
|
|
3
|
+
import { b as Digest, v as DefinitionDigests } from "../Records-bbGVHprv.mjs";
|
|
4
4
|
import { SubscriptionStore, defaultSubscriptionLimits } from "./Subscription.mjs";
|
|
5
5
|
import { Clock, Effect, Result, Schema } from "effect";
|
|
6
6
|
import { TestClock } from "effect/testing";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as AgentId, u as ThreadId } from "../Identifiers-CN2s30fF.mjs";
|
|
2
2
|
import { r as Principal } from "../Receipt-BkM21Qiu.mjs";
|
|
3
3
|
import { t as DurableStep } from "../DurableStep-CAJnlgfL.mjs";
|
|
4
|
-
import { b as DefinitionDigests } from "../Records-
|
|
5
|
-
import "../Admin-
|
|
6
|
-
import { c as ScheduleDestination } from "../Schedule-
|
|
7
|
-
import { E as SubscriptionSourceError, g as SubscriptionFailpointError, i as EventSourceVersion, m as SubscriptionError, w as SubscriptionScope } from "../Subscription-
|
|
4
|
+
import { b as DefinitionDigests } from "../Records-BP67Yz6n.mjs";
|
|
5
|
+
import "../Admin-BgCHCGSl.mjs";
|
|
6
|
+
import { c as ScheduleDestination } from "../Schedule-CVLtl5rP.mjs";
|
|
7
|
+
import { E as SubscriptionSourceError, g as SubscriptionFailpointError, i as EventSourceVersion, m as SubscriptionError, w as SubscriptionScope } from "../Subscription-BRsNy0TA.mjs";
|
|
8
8
|
import { Subscriptions } from "./Subscriptions.mjs";
|
|
9
9
|
import { Crypto, Layer, Schema } from "effect";
|
|
10
10
|
import { Tool, Toolkit } from "effect/ai";
|
|
@@ -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-
|
|
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-BRsNy0TA.mjs";
|
|
2
2
|
import { Result } from "effect";
|
|
3
3
|
declare namespace SubscriptionTransition_d_exports {
|
|
4
4
|
export { applySubscriptionChange, applySubscriptionDeliveryChange, sameAcceptedEventIdentity, sameSourcePartition, sameSubscriptionDelivery, subscriptionCanSelect, subscriptionDeliveryCanSelect, subscriptionDeliveryUsesCapacity, subscriptionMatchesEvent, subscriptionUsesCapacity, validateEventRetention };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
2
2
|
import { Receipt } from "../core/Receipt.mjs";
|
|
3
|
-
import { v as DefinitionDigests } from "../Records-
|
|
3
|
+
import { v as DefinitionDigests } from "../Records-bbGVHprv.mjs";
|
|
4
4
|
import { AdmissionFence } from "./SubmissionLedger.mjs";
|
|
5
5
|
import { SubscriptionConfiguration, SubscriptionDelivery, SubscriptionError } from "./Subscription.mjs";
|
|
6
6
|
import { Result, Schema } from "effect";
|