effect-agent 0.1.0-beta.134 → 0.1.0-beta.136
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-CUja0lmO.d.mts → Admin-Fx85KT-W.d.mts} +42 -4
- package/dist/{DurableAgentRuntime-DH2baLGe.mjs → DurableAgentRuntime-Bso5grIH.mjs} +50 -12
- package/dist/DurableAgentRuntime-Bso5grIH.mjs.map +1 -0
- package/dist/{EventSource-DoiZF3xv.d.mts → EventSource-DLT8oDK8.d.mts} +2 -2
- package/dist/{PreparedInputAdmission-B1bzyIuV.d.mts → PreparedInputAdmission-CKFgG6Em.d.mts} +3 -3
- package/dist/{RunJournal-BXrq0VIK.mjs → RunJournal-Gd83HYqG.mjs} +50 -27
- package/dist/RunJournal-Gd83HYqG.mjs.map +1 -0
- package/dist/{Subscription-m_yNfNeN.d.mts → Subscription-CCmHgOYM.d.mts} +2 -2
- package/dist/{SubscriptionInput-ON3-b8Sl.d.mts → SubscriptionInput-BFJMhu4K.d.mts} +2 -2
- package/dist/durable/Admin.d.mts +1 -1
- package/dist/durable/AgentRegistration.d.mts +1 -1
- package/dist/durable/Certification.d.mts +1 -1
- package/dist/durable/CommittedActivity.d.mts +1 -1
- package/dist/durable/DurableAgentRuntime.d.mts +1 -1
- package/dist/durable/DurableAgentRuntime.mjs +1 -1
- package/dist/durable/EventSource.d.mts +1 -1
- package/dist/durable/GitHubWorkflowSource.d.mts +3 -3
- package/dist/durable/MessageDelivery.d.mts +41 -41
- package/dist/durable/MessageDeliveryStoreConformance.d.mts +1 -1
- package/dist/durable/PersistentHistory.d.mts +1 -1
- package/dist/durable/PersistentHistory.mjs +1 -1
- package/dist/durable/PreparedInputAdmission.d.mts +1 -1
- package/dist/durable/Recovery.d.mts +1 -1
- package/dist/durable/RunJournal.d.mts +1 -1
- package/dist/durable/RunJournal.mjs +1 -1
- package/dist/durable/Scheduling.d.mts +1 -1
- package/dist/durable/SqlStorageV2Upgrade.d.mts +1 -1
- package/dist/durable/SqlSubscriptionStore.d.mts +1 -1
- package/dist/durable/SqlThreadNativeReads.d.mts +1 -1
- package/dist/durable/SqlThreadNativeReads.mjs +1 -1
- package/dist/durable/SubmissionLedger.d.mts +2 -2
- package/dist/durable/SubmissionLedger.mjs +29 -2
- package/dist/durable/SubmissionLedger.mjs.map +1 -1
- package/dist/durable/SubmissionLedgerConformance.d.mts +1 -1
- package/dist/durable/SubmissionLedgerConformance.mjs +69 -2
- package/dist/durable/SubmissionLedgerConformance.mjs.map +1 -1
- package/dist/durable/SubmissionStatus.d.mts +1 -1
- package/dist/durable/Subscription.d.mts +1 -1
- package/dist/durable/SubscriptionInput.d.mts +1 -1
- package/dist/durable/SubscriptionStoreConformance.d.mts +1 -1
- package/dist/durable/SubscriptionTools.d.mts +2 -2
- package/dist/durable/SubscriptionTransition.d.mts +1 -1
- package/dist/durable/Subscriptions.d.mts +5 -5
- package/dist/durable/ThreadContextHistory.d.mts +1 -1
- package/dist/durable/ThreadInvariants.d.mts +1 -1
- package/dist/durable/ThreadInvariants.mjs +1 -1
- package/dist/durable/ThreadProjectionMaintenance.d.mts +1 -1
- package/dist/durable/ThreadStore.d.mts +1 -1
- package/dist/durable/ThreadStore.mjs +1 -1
- package/dist/durable/ThreadStoreConformance.d.mts +1 -1
- package/dist/durable/ThreadStoreConformance.mjs +1 -1
- package/dist/durable/WorkerHost.d.mts +1 -1
- package/dist/index.d.mts +5 -5
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- package/src/durable/DurableAgentRuntime.ts +94 -10
- package/src/durable/RunJournal.ts +120 -56
- package/src/durable/SubmissionLedger.ts +32 -0
- package/src/durable/SubmissionLedgerConformance.ts +120 -0
- package/src/durable/internal/journal-checkpoint.ts +1 -1
- package/src/durable/internal/journal-metadata.ts +10 -3
- package/dist/DurableAgentRuntime-DH2baLGe.mjs.map +0 -1
- package/dist/RunJournal-BXrq0VIK.mjs.map +0 -1
|
@@ -5,9 +5,9 @@ import { r as Update } from "../AgentUpdates-DMJ-_xow.mjs";
|
|
|
5
5
|
import { a as FailureDiagnostic_d_exports, r as Diagnostic } from "../FailureDiagnostic-CaAkzGHL.mjs";
|
|
6
6
|
import { t as AgentPolicy } from "../AgentPolicy-BqDoSXO6.mjs";
|
|
7
7
|
import { h as DefinitionDigests } from "../Records-B5GFWCpn.mjs";
|
|
8
|
-
import {
|
|
9
|
-
import { a as PreparedInput } from "../Subscription-
|
|
10
|
-
import { t as PreparedInputAdmission } from "../PreparedInputAdmission-
|
|
8
|
+
import { fn as Settlement } from "../Admin-Fx85KT-W.mjs";
|
|
9
|
+
import { a as PreparedInput } from "../Subscription-CCmHgOYM.mjs";
|
|
10
|
+
import { t as PreparedInputAdmission } from "../PreparedInputAdmission-CKFgG6Em.mjs";
|
|
11
11
|
import { Context, Crypto, Effect, Layer, Result, Schema } from "effect";
|
|
12
12
|
declare namespace MessageDelivery_d_exports {
|
|
13
13
|
export { MessageDeliveryChange, MessageDeliveryDriver, MessageDeliveryDriverLimits, MessageDeliveryError, MessageDeliveryFailpoint, MessageDeliveryFailpointError, MessageDeliveryFailure, MessageDeliveryKey, MessageDeliveryPage, MessageDeliveryPageRequest, MessageDeliveryPolicy, MessageDeliveryRecord, MessageDeliveryStore, MessageDeliveryStoreLimits, applyMessageDeliveryChange, defaultMessageDeliveryPolicy, defaultMessageDeliveryStoreLimits, isWorkerUpdateDelivery, messageDeliveryCapacity, messageDeliveryDeadline, messageDeliveryKeyString, messageDeliveryUsesCapacity, prepareMessageDelivery, readPending, sameMessageDeliveryIdentity, validateMessageDelivery };
|
|
@@ -616,6 +616,25 @@ export declare const readPending: (request: Pick<{
|
|
|
616
616
|
readonly reportKind?: "update" | undefined;
|
|
617
617
|
} | undefined;
|
|
618
618
|
readonly messageAdmission?: {
|
|
619
|
+
readonly schemaVersion: 1;
|
|
620
|
+
readonly message: {
|
|
621
|
+
readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
622
|
+
readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
|
|
623
|
+
};
|
|
624
|
+
readonly peerName: string;
|
|
625
|
+
readonly sender: {
|
|
626
|
+
readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
627
|
+
readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
|
|
628
|
+
};
|
|
629
|
+
readonly returnAddress: {
|
|
630
|
+
readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
631
|
+
readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
|
|
632
|
+
};
|
|
633
|
+
readonly inReplyTo?: {
|
|
634
|
+
readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
635
|
+
readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
|
|
636
|
+
} | undefined;
|
|
637
|
+
} | {
|
|
619
638
|
readonly _tag: "WorkerCompletion";
|
|
620
639
|
readonly budgetExhausted: boolean;
|
|
621
640
|
readonly schemaVersion: 1;
|
|
@@ -656,25 +675,6 @@ export declare const readPending: (request: Pick<{
|
|
|
656
675
|
readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
657
676
|
};
|
|
658
677
|
readonly update: Update;
|
|
659
|
-
} | {
|
|
660
|
-
readonly schemaVersion: 1;
|
|
661
|
-
readonly message: {
|
|
662
|
-
readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
663
|
-
readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
|
|
664
|
-
};
|
|
665
|
-
readonly peerName: string;
|
|
666
|
-
readonly sender: {
|
|
667
|
-
readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
668
|
-
readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
|
|
669
|
-
};
|
|
670
|
-
readonly returnAddress: {
|
|
671
|
-
readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
672
|
-
readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
|
|
673
|
-
};
|
|
674
|
-
readonly inReplyTo?: {
|
|
675
|
-
readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
676
|
-
readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
|
|
677
|
-
} | undefined;
|
|
678
678
|
} | undefined;
|
|
679
679
|
};
|
|
680
680
|
readonly envelopeDigest: string & import("effect/Brand").Brand<"@effect-agent/thread/Digest">;
|
|
@@ -817,6 +817,25 @@ export declare const prepareMessageDelivery: (options: {
|
|
|
817
817
|
readonly reportKind?: "update" | undefined;
|
|
818
818
|
} | undefined;
|
|
819
819
|
readonly messageAdmission?: {
|
|
820
|
+
readonly schemaVersion: 1;
|
|
821
|
+
readonly message: {
|
|
822
|
+
readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
823
|
+
readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
|
|
824
|
+
};
|
|
825
|
+
readonly peerName: string;
|
|
826
|
+
readonly sender: {
|
|
827
|
+
readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
828
|
+
readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
|
|
829
|
+
};
|
|
830
|
+
readonly returnAddress: {
|
|
831
|
+
readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
832
|
+
readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
|
|
833
|
+
};
|
|
834
|
+
readonly inReplyTo?: {
|
|
835
|
+
readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
836
|
+
readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
|
|
837
|
+
} | undefined;
|
|
838
|
+
} | {
|
|
820
839
|
readonly _tag: "WorkerCompletion";
|
|
821
840
|
readonly budgetExhausted: boolean;
|
|
822
841
|
readonly schemaVersion: 1;
|
|
@@ -857,25 +876,6 @@ export declare const prepareMessageDelivery: (options: {
|
|
|
857
876
|
readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
858
877
|
};
|
|
859
878
|
readonly update: Update;
|
|
860
|
-
} | {
|
|
861
|
-
readonly schemaVersion: 1;
|
|
862
|
-
readonly message: {
|
|
863
|
-
readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
864
|
-
readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
|
|
865
|
-
};
|
|
866
|
-
readonly peerName: string;
|
|
867
|
-
readonly sender: {
|
|
868
|
-
readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
869
|
-
readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
|
|
870
|
-
};
|
|
871
|
-
readonly returnAddress: {
|
|
872
|
-
readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
873
|
-
readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
|
|
874
|
-
};
|
|
875
|
-
readonly inReplyTo?: {
|
|
876
|
-
readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
|
|
877
|
-
readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
|
|
878
|
-
} | undefined;
|
|
879
879
|
} | undefined;
|
|
880
880
|
};
|
|
881
881
|
readonly envelopeDigest: string & import("effect/Brand").Brand<"@effect-agent/thread/Digest">;
|
|
@@ -5,7 +5,7 @@ import { r as Diagnostic } from "../FailureDiagnostic-CaAkzGHL.mjs";
|
|
|
5
5
|
import { t as AgentPolicy } from "../AgentPolicy-BqDoSXO6.mjs";
|
|
6
6
|
import { h as DefinitionDigests } from "../Records-B5GFWCpn.mjs";
|
|
7
7
|
import { t as DigestError } from "../Digest-U69rDHuO.mjs";
|
|
8
|
-
import {
|
|
8
|
+
import { fn as Settlement } from "../Admin-Fx85KT-W.mjs";
|
|
9
9
|
import { MessageDeliveryError, MessageDeliveryFailure, MessageDeliveryStore } from "./MessageDelivery.mjs";
|
|
10
10
|
import { Effect, Schema } from "effect";
|
|
11
11
|
//#region src/durable/MessageDeliveryStoreConformance.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as ThreadHistory } from "../ThreadHistory-tS1KwxHR.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { ni as ThreadStore } from "../Admin-Fx85KT-W.mjs";
|
|
3
3
|
import { Layer } from "effect";
|
|
4
4
|
declare namespace PersistentHistory_d_exports {
|
|
5
5
|
export { layer };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
2
2
|
import { ThreadHistory, ThreadHistoryError } from "../engine/ThreadHistory.mjs";
|
|
3
3
|
import { BatchId, CanonicalBatch, DeploymentId, ModelCompleted, PersistedJson, ProducerEpoch, ProducerId, RecordEnvelope, RecordId, RunCompleted, UserInputRecorded } from "./Records.mjs";
|
|
4
|
-
import { _ as promptFromCanonicalRecords } from "../RunJournal-
|
|
4
|
+
import { _ as promptFromCanonicalRecords } from "../RunJournal-Gd83HYqG.mjs";
|
|
5
5
|
import { FencedAppendRequest, MAX_THREAD_EXPORT_RECORDS, ThreadExportRequest, ThreadMaterialization, ThreadStore } from "./ThreadStore.mjs";
|
|
6
6
|
import { Prompt } from "effect/unstable/ai";
|
|
7
7
|
import { DateTime, Effect, Layer, Schema } from "effect";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { r as admitPreparedInput, t as PreparedInputAdmission } from "../PreparedInputAdmission-
|
|
1
|
+
import { r as admitPreparedInput, t as PreparedInputAdmission } from "../PreparedInputAdmission-CKFgG6Em.mjs";
|
|
2
2
|
export { PreparedInputAdmission, admitPreparedInput };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as RepairSubagentStartLink, A as AwaitChildSettlement, B as MarkUnknown, D as ApplyUnknownResolutions, E as ApplyJoinAccounting, F as CompleteMaterialization, G as PropagateChildAbort, H as OpenDelegationCallEvidence, I as DeclaredPendingBatchEvidence, K as RecoveryDecision, L as DelegationAdmissionEvidence, M as AwaitParentEstablishment, N as AwaitUnknownResolution, O as AwaitApprovalDecision, P as CompleteChildAdmission, Q as RepairReadiness, R as EnsureWaitingForChild, T as ApplyInput, U as OpenToolCallEvidence, V as NoAction, W as PendingApprovalEvidence, X as RepairInputMarker, Y as ReleaseOrphanChildReservation, Z as RepairJoinMarker, at as SettleAborted, et as ResumeFromTurnBoundary, it as RevertJoining, j as AwaitHostSettlement, k as AwaitChildAdmissionResolution, nt as ResumeSuspended, ot as SettleJoinedWithHost, q as RecoveryEvidence, rt as ResumeWaitingParent, st as classifyRecovery, tt as ResumePendingToolBatch, w as AppendReservedSettlement, z as FinalizeLedgerFromHistory } from "../Admin-
|
|
1
|
+
import { $ as RepairSubagentStartLink, A as AwaitChildSettlement, B as MarkUnknown, D as ApplyUnknownResolutions, E as ApplyJoinAccounting, F as CompleteMaterialization, G as PropagateChildAbort, H as OpenDelegationCallEvidence, I as DeclaredPendingBatchEvidence, K as RecoveryDecision, L as DelegationAdmissionEvidence, M as AwaitParentEstablishment, N as AwaitUnknownResolution, O as AwaitApprovalDecision, P as CompleteChildAdmission, Q as RepairReadiness, R as EnsureWaitingForChild, T as ApplyInput, U as OpenToolCallEvidence, V as NoAction, W as PendingApprovalEvidence, X as RepairInputMarker, Y as ReleaseOrphanChildReservation, Z as RepairJoinMarker, at as SettleAborted, et as ResumeFromTurnBoundary, it as RevertJoining, j as AwaitHostSettlement, k as AwaitChildAdmissionResolution, nt as ResumeSuspended, ot as SettleJoinedWithHost, q as RecoveryEvidence, rt as ResumeWaitingParent, st as classifyRecovery, tt as ResumePendingToolBatch, w as AppendReservedSettlement, z as FinalizeLedgerFromHistory } from "../Admin-Fx85KT-W.mjs";
|
|
2
2
|
export { AppendReservedSettlement, ApplyInput, ApplyJoinAccounting, ApplyUnknownResolutions, AwaitApprovalDecision, AwaitChildAdmissionResolution, AwaitChildSettlement, AwaitHostSettlement, AwaitParentEstablishment, AwaitUnknownResolution, CompleteChildAdmission, CompleteMaterialization, DeclaredPendingBatchEvidence, DelegationAdmissionEvidence, EnsureWaitingForChild, FinalizeLedgerFromHistory, MarkUnknown, NoAction, OpenDelegationCallEvidence, OpenToolCallEvidence, PendingApprovalEvidence, PropagateChildAbort, RecoveryDecision, RecoveryEvidence, ReleaseOrphanChildReservation, RepairInputMarker, RepairJoinMarker, RepairReadiness, RepairSubagentStartLink, ResumeFromTurnBoundary, ResumePendingToolBatch, ResumeSuspended, ResumeWaitingParent, RevertJoining, SettleAborted, SettleJoinedWithHost, classifyRecovery };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $i as
|
|
1
|
+
import { $i as subagentStartedRecordId, Ai as firstWorkerInputRecordId, Bi as runCompletionDigest, Ci as TurnCommitInput, Di as childThreadIdFor, Ei as childIdempotencyKeyFor, Fi as peerMessageRecordId, Gi as runStartedRecordId, Hi as runDurationRecordId, Ii as projectRunJournal, Ji as subagentLineageBatchId, Ki as subagentJoinBatchId, Li as projectRunJournalStream, Mi as modelResponseInterruptedBatchId, Ni as modelResponseInterruptedRecordId, Oi as compactionBatchId, Pi as modelResponseRecordId, Qi as subagentStartedBatchId, Ri as promptFromCanonicalRecords, Ti as approvalDecisionBatchId, Ui as runIdForSubmission, Vi as runDurationBatchId, Wi as runStartedBatchId, Xi as subagentRequestedBatchId, Yi as subagentLineageRecordId, Zi as subagentRequestedRecordId, _a as turnResultsBatch, aa as toolCallResultBatchId, ba as workerOriginRecordId, bi as RunJournalProjection, ca as toolStepSettledBatchId, da as turnBatchId, ea as toolApprovalDecisionRecordId, fa as turnCanonicalBatch, ga as turnResponseBatchId, ha as turnResponseBatch, ia as toolCallResolvedRecordId, ji as markUnknownBatchId, ki as compactionRecordId, la as toolStepSettledRecordId, ma as turnPreparedBatchId, na as toolCallPreparedRecordId, oa as toolCallSettledRecordId, pa as turnIdForRun, qi as subagentJoinedRecordId, ra as toolCallResolutionBatchId, sa as toolCallUnknownRecordId, ta as toolApprovalRequestRecordId, ua as turnApprovalsBatchId, va as turnResultsBatchId, vi as JournalBoundary, wi as agentUpdateRecordId, xa as workerReportRecordId, xi as RunJournalUsage, ya as workerInputRecordId, yi as RunJournalError, zi as runCompletedRecordId } from "../Admin-Fx85KT-W.mjs";
|
|
2
2
|
export { JournalBoundary, RunJournalError, RunJournalProjection, RunJournalUsage, TurnCommitInput, agentUpdateRecordId, approvalDecisionBatchId, childIdempotencyKeyFor, childThreadIdFor, compactionBatchId, compactionRecordId, firstWorkerInputRecordId, markUnknownBatchId, modelResponseInterruptedBatchId, modelResponseInterruptedRecordId, modelResponseRecordId, peerMessageRecordId, projectRunJournal, projectRunJournalStream, promptFromCanonicalRecords, runCompletedRecordId, runCompletionDigest, runDurationBatchId, runDurationRecordId, runIdForSubmission, runStartedBatchId, runStartedRecordId, subagentJoinBatchId, subagentJoinedRecordId, subagentLineageBatchId, subagentLineageRecordId, subagentRequestedBatchId, subagentRequestedRecordId, subagentStartedBatchId, subagentStartedRecordId, toolApprovalDecisionRecordId, toolApprovalRequestRecordId, toolCallPreparedRecordId, toolCallResolutionBatchId, toolCallResolvedRecordId, toolCallResultBatchId, toolCallSettledRecordId, toolCallUnknownRecordId, toolStepSettledBatchId, toolStepSettledRecordId, turnApprovalsBatchId, turnBatchId, turnCanonicalBatch, turnIdForRun, turnPreparedBatchId, turnResponseBatch, turnResponseBatchId, turnResultsBatch, turnResultsBatchId, workerInputRecordId, workerOriginRecordId, workerReportRecordId };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as workerOriginRecordId, A as subagentRequestedRecordId, B as toolCallUnknownRecordId, C as runStartedBatchId, D as subagentLineageBatchId, E as subagentJoinedRecordId, F as toolCallPreparedRecordId, G as turnCanonicalBatch, H as toolStepSettledRecordId, I as toolCallResolutionBatchId, J as turnResponseBatch, K as turnIdForRun, L as toolCallResolvedRecordId, M as subagentStartedRecordId, N as toolApprovalDecisionRecordId, O as subagentLineageRecordId, P as toolApprovalRequestRecordId, Q as workerInputRecordId, R as toolCallResultBatchId, S as runIdForSubmission, T as subagentJoinBatchId, U as turnApprovalsBatchId, V as toolStepSettledBatchId, W as turnBatchId, X as turnResultsBatch, Y as turnResponseBatchId, Z as turnResultsBatchId, _ as promptFromCanonicalRecords, a as childIdempotencyKeyFor, b as runDurationBatchId, c as compactionRecordId, d as modelResponseInterruptedBatchId, et as workerReportRecordId, f as modelResponseInterruptedRecordId, g as projectRunJournalStream, h as projectRunJournal, i as approvalDecisionBatchId, j as subagentStartedBatchId, k as subagentRequestedBatchId, l as firstWorkerInputRecordId, m as peerMessageRecordId, o as childThreadIdFor, p as modelResponseRecordId, q as turnPreparedBatchId, r as agentUpdateRecordId, s as compactionBatchId, t as RunJournalError, u as markUnknownBatchId, v as runCompletedRecordId, w as runStartedRecordId, x as runDurationRecordId, y as runCompletionDigest, z as toolCallSettledRecordId } from "../RunJournal-
|
|
1
|
+
import { $ as workerOriginRecordId, A as subagentRequestedRecordId, B as toolCallUnknownRecordId, C as runStartedBatchId, D as subagentLineageBatchId, E as subagentJoinedRecordId, F as toolCallPreparedRecordId, G as turnCanonicalBatch, H as toolStepSettledRecordId, I as toolCallResolutionBatchId, J as turnResponseBatch, K as turnIdForRun, L as toolCallResolvedRecordId, M as subagentStartedRecordId, N as toolApprovalDecisionRecordId, O as subagentLineageRecordId, P as toolApprovalRequestRecordId, Q as workerInputRecordId, R as toolCallResultBatchId, S as runIdForSubmission, T as subagentJoinBatchId, U as turnApprovalsBatchId, V as toolStepSettledBatchId, W as turnBatchId, X as turnResultsBatch, Y as turnResponseBatchId, Z as turnResultsBatchId, _ as promptFromCanonicalRecords, a as childIdempotencyKeyFor, b as runDurationBatchId, c as compactionRecordId, d as modelResponseInterruptedBatchId, et as workerReportRecordId, f as modelResponseInterruptedRecordId, g as projectRunJournalStream, h as projectRunJournal, i as approvalDecisionBatchId, j as subagentStartedBatchId, k as subagentRequestedBatchId, l as firstWorkerInputRecordId, m as peerMessageRecordId, o as childThreadIdFor, p as modelResponseRecordId, q as turnPreparedBatchId, r as agentUpdateRecordId, s as compactionBatchId, t as RunJournalError, u as markUnknownBatchId, v as runCompletedRecordId, w as runStartedRecordId, x as runDurationRecordId, y as runCompletionDigest, z as toolCallSettledRecordId } from "../RunJournal-Gd83HYqG.mjs";
|
|
2
2
|
export { RunJournalError, agentUpdateRecordId, approvalDecisionBatchId, childIdempotencyKeyFor, childThreadIdFor, compactionBatchId, compactionRecordId, firstWorkerInputRecordId, markUnknownBatchId, modelResponseInterruptedBatchId, modelResponseInterruptedRecordId, modelResponseRecordId, peerMessageRecordId, projectRunJournal, projectRunJournalStream, promptFromCanonicalRecords, runCompletedRecordId, runCompletionDigest, runDurationBatchId, runDurationRecordId, runIdForSubmission, runStartedBatchId, runStartedRecordId, subagentJoinBatchId, subagentJoinedRecordId, subagentLineageBatchId, subagentLineageRecordId, subagentRequestedBatchId, subagentRequestedRecordId, subagentStartedBatchId, subagentStartedRecordId, toolApprovalDecisionRecordId, toolApprovalRequestRecordId, toolCallPreparedRecordId, toolCallResolutionBatchId, toolCallResolvedRecordId, toolCallResultBatchId, toolCallSettledRecordId, toolCallUnknownRecordId, toolStepSettledBatchId, toolStepSettledRecordId, turnApprovalsBatchId, turnBatchId, turnCanonicalBatch, turnIdForRun, turnPreparedBatchId, turnResponseBatch, turnResponseBatchId, turnResultsBatch, turnResultsBatchId, workerInputRecordId, workerOriginRecordId, workerReportRecordId };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as Principal } from "../Receipt-BAHyigAF.mjs";
|
|
2
2
|
import { h as DefinitionDigests } from "../Records-B5GFWCpn.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { dr as DurableSubmitAgent, pt as AdmissionFence } from "../Admin-Fx85KT-W.mjs";
|
|
4
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-CtYREFnz.mjs";
|
|
5
5
|
import { Context, Crypto, Effect, Layer, Schema } from "effect";
|
|
6
6
|
declare namespace Scheduling_d_exports {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as ScheduleFailpointError } from "../Schedule-CtYREFnz.mjs";
|
|
2
|
-
import { g as SubscriptionFailpointError } from "../Subscription-
|
|
2
|
+
import { g as SubscriptionFailpointError } from "../Subscription-CCmHgOYM.mjs";
|
|
3
3
|
import { Effect, Schema } from "effect";
|
|
4
4
|
import * as SqlClient from "effect/unstable/sql/SqlClient";
|
|
5
5
|
//#region src/durable/SqlStorageV2Upgrade.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as Digest } from "../Records-B5GFWCpn.mjs";
|
|
2
|
-
import { C as SubscriptionScanCursors, O as SubscriptionStoreFailure, S as SubscriptionRetentionPolicy, _ as SubscriptionKey, b as SubscriptionRecord, d as SubscriptionDelivery, f as SubscriptionDeliveryKey, g as SubscriptionFailpointError, l as SubscriptionChange, m as SubscriptionError, n as DeliveryChange, o as SourcePartition, t as AcceptedEvent, v as SubscriptionLimits } from "../Subscription-
|
|
2
|
+
import { C as SubscriptionScanCursors, O as SubscriptionStoreFailure, S as SubscriptionRetentionPolicy, _ as SubscriptionKey, b as SubscriptionRecord, d as SubscriptionDelivery, f as SubscriptionDeliveryKey, g as SubscriptionFailpointError, l as SubscriptionChange, m as SubscriptionError, n as DeliveryChange, o as SourcePartition, t as AcceptedEvent, v as SubscriptionLimits } from "../Subscription-CCmHgOYM.mjs";
|
|
3
3
|
import { Context, Effect } from "effect";
|
|
4
4
|
import * as SqlClientService from "effect/unstable/sql/SqlClient";
|
|
5
5
|
//#region src/durable/SqlSubscriptionStore.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as RecordEnvelope, l as CanonicalRecordEnvelope } from "../Records-B5GFWCpn.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { Gr as ThreadNotMaterialized, Hr as ThreadIdentity, Ur as ThreadIdentityRequest, Yr as ThreadPeerCountRequest, ii as ThreadStoreError } from "../Admin-Fx85KT-W.mjs";
|
|
3
3
|
import { Effect, Schema } from "effect";
|
|
4
4
|
import * as SqlClient from "effect/unstable/sql/SqlClient";
|
|
5
5
|
declare namespace SqlThreadNativeReads_d_exports {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
2
2
|
import { CanonicalRecord, CanonicalRecordEnvelope, CanonicalSequence, Digest, ProducerEpoch, RecordId } from "./Records.mjs";
|
|
3
|
-
import { $ as workerOriginRecordId, O as subagentLineageRecordId, S as runIdForSubmission } from "../RunJournal-
|
|
3
|
+
import { $ as workerOriginRecordId, O as subagentLineageRecordId, S as runIdForSubmission } from "../RunJournal-Gd83HYqG.mjs";
|
|
4
4
|
import { SelectedThreadRead, ThreadIdentity, ThreadIdentityRequest, ThreadNotMaterialized, ThreadPeerCountRequest, ThreadStoreError } from "./ThreadStore.mjs";
|
|
5
5
|
import { Effect, Schema } from "effect";
|
|
6
6
|
import * as SqlClient from "effect/unstable/sql/SqlClient";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { i as QueueSequence, n as JoinedToHost, r as Principal, t as IdempotencyKey } from "../Receipt-BAHyigAF.mjs";
|
|
2
|
-
import { $t as
|
|
3
|
-
export { AbortCommand, AbortIntent, AbortIntentRequest, AdmissionAdmitted, AdmissionConflict, AdmissionFence, AdmissionGroup, AdmissionIndeterminate, AdmissionNotAdmitted, AdmissionPolicyError, AdmissionRequest, AdmissionResolution, AdmissionResult, ApprovalConflict, ApprovalDecisionCommand, ApprovalDecisionIntent, ApprovalPendingSuspension, AttachChildToReservationRequest, BeginChildBudgetReleaseRequest, ChildAttachmentSnapshot, ChildBudgetReservationRequest, ChildBudgetReservationSnapshot, ChildReservationConflict, ChildReservationId, ChildReservationStatus, ChildSettledNotification, ChildSettledOutcome, Claim, ClaimJoiningRequest, ClaimRequest, DEFAULT_OWNERSHIP_LEASE_DURATION, IdempotencyKey, InputAppliedMarker, JoinSnapshot, JoinedToHost, JoiningClaim, LedgerCapabilities, LedgerError, MarkInputAppliedRequest, MarkJoinedRequest, MarkReadyRequest, MarkUnknownRequest, OwnershipLost, OwnershipRenewal, OwnershipSnapshot, OwnershipToken, ParentLinkage, Principal, QueueSequence, RecoverySnapshot, RecoverySnapshotRequest, ReleaseChildBudgetRequest, ReleaseOwnershipRequest, RenewOwnershipRequest, ReservedChildBudget, ReservedSettlement, ResolutionAbortSubmission, ResolutionCompletedWithResult, ResolutionNeverHappened, ResolutionSafeToRetry, RevertJoiningRequest, Settlement, SettlementConflict, SettlementFinalization, SettlementReservation, SettlementReservationSnapshot, SubmissionAdmissionFence, SubmissionLedger, SubmissionLedgerFailure, SubmissionLookup, SubmissionLookupById, SubmissionLookupByKey, SubmissionSnapshot, SubmissionState, SubmissionWorkItem, SuspendRequest, SuspensionOutcome, SuspensionReason, SuspensionSnapshot, UnknownResolution, UnknownResolutionCommand, UnknownResolutionConflict, UnknownResolutionIntent, WaitingChild, WaitingForChildSuspension, WorkerLedgerState, WorkerStopCommand, settlementFailureFromRecord, submissionAbortBatchId, submissionAbortRecordId, submissionInputBatchId, submissionInputRecordId, submissionSettlementBatchId, submissionSettlementId, submissionSettlementRecordId, workerTerminalFromRecord };
|
|
2
|
+
import { $t as ParentLinkage, An as SuspensionReason, At as ChildReservationConflict, Bn as settlementFailureFromRecord, Bt as InputAppliedMarker, Cn as SubmissionLookupByKey, Ct as ApprovalDecisionIntent, Dn as SubmissionWorkItem, Dt as ChildAttachmentSnapshot, En as SubmissionState, Et as BeginChildBudgetReleaseRequest, Fn as UnknownResolutionIntent, Ft as Claim, Gn as submissionSettlementBatchId, Gt as MarkInputAppliedRequest, Hn as submissionAbortRecordId, Ht as JoiningClaim, In as WaitingChild, It as ClaimHandoff, Jn as workerTerminalFromRecord, Jt as MarkUnknownRequest, Kn as submissionSettlementId, Kt as MarkJoinedRequest, Ln as WaitingForChildSuspension, Lt as ClaimJoiningRequest, Mn as UnknownResolution, Mt as ChildReservationStatus, Nn as UnknownResolutionCommand, Nt as ChildSettledNotification, On as SuspendRequest, Ot as ChildBudgetReservationRequest, Pn as UnknownResolutionConflict, Pt as ChildSettledOutcome, Qt as OwnershipToken, Rn as WorkerLedgerState, Rt as ClaimRequest, Sn as SubmissionLookupById, St as ApprovalDecisionCommand, Tn as SubmissionSnapshot, Tt as AttachChildToReservationRequest, Un as submissionInputBatchId, Ut as LedgerCapabilities, Vn as submissionAbortBatchId, Vt as JoinSnapshot, Wn as submissionInputRecordId, Wt as LedgerError, Xt as OwnershipRenewal, Yt as OwnershipLost, Zt as OwnershipSnapshot, _n as SubmissionAdmissionFence, _t as AdmissionPolicyError, an as ReservedChildBudget, bt as AdmissionResult, cn as ResolutionCompletedWithResult, ct as AbortCommand, dn as RevertJoiningRequest, dt as AdmissionAdmitted, en as RecoverySnapshot, fn as Settlement, ft as AdmissionConflict, gn as SettlementReservationSnapshot, gt as AdmissionNotAdmitted, hn as SettlementReservation, ht as AdmissionIndeterminate, in as RenewOwnershipRequest, jn as SuspensionSnapshot, jt as ChildReservationId, kn as SuspensionOutcome, kt as ChildBudgetReservationSnapshot, ln as ResolutionNeverHappened, lt as AbortIntent, mn as SettlementFinalization, mt as AdmissionGroup, nn as ReleaseChildBudgetRequest, on as ReservedSettlement, pn as SettlementConflict, pt as AdmissionFence, qn as submissionSettlementRecordId, qt as MarkReadyRequest, rn as ReleaseOwnershipRequest, sn as ResolutionAbortSubmission, tn as RecoverySnapshotRequest, un as ResolutionSafeToRetry, ut as AbortIntentRequest, vn as SubmissionLedger, vt as AdmissionRequest, wn as SubmissionScheduling, wt as ApprovalPendingSuspension, xn as SubmissionLookup, xt as ApprovalConflict, yn as SubmissionLedgerFailure, yt as AdmissionResolution, zn as WorkerStopCommand, zt as DEFAULT_OWNERSHIP_LEASE_DURATION } from "../Admin-Fx85KT-W.mjs";
|
|
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, DEFAULT_OWNERSHIP_LEASE_DURATION, IdempotencyKey, InputAppliedMarker, JoinSnapshot, JoinedToHost, JoiningClaim, LedgerCapabilities, LedgerError, MarkInputAppliedRequest, MarkJoinedRequest, MarkReadyRequest, MarkUnknownRequest, OwnershipLost, OwnershipRenewal, OwnershipSnapshot, OwnershipToken, ParentLinkage, Principal, QueueSequence, RecoverySnapshot, RecoverySnapshotRequest, ReleaseChildBudgetRequest, ReleaseOwnershipRequest, RenewOwnershipRequest, ReservedChildBudget, ReservedSettlement, ResolutionAbortSubmission, ResolutionCompletedWithResult, ResolutionNeverHappened, ResolutionSafeToRetry, RevertJoiningRequest, Settlement, SettlementConflict, SettlementFinalization, SettlementReservation, SettlementReservationSnapshot, SubmissionAdmissionFence, SubmissionLedger, SubmissionLedgerFailure, SubmissionLookup, SubmissionLookupById, SubmissionLookupByKey, SubmissionScheduling, SubmissionSnapshot, SubmissionState, SubmissionWorkItem, SuspendRequest, SuspensionOutcome, SuspensionReason, SuspensionSnapshot, UnknownResolution, UnknownResolutionCommand, UnknownResolutionConflict, UnknownResolutionIntent, WaitingChild, WaitingForChildSuspension, WorkerLedgerState, WorkerStopCommand, settlementFailureFromRecord, submissionAbortBatchId, submissionAbortRecordId, submissionInputBatchId, submissionInputRecordId, submissionSettlementBatchId, submissionSettlementId, submissionSettlementRecordId, workerTerminalFromRecord };
|
|
@@ -37,6 +37,7 @@ var SubmissionLedger_exports = /* @__PURE__ */ __exportAll({
|
|
|
37
37
|
ChildSettledNotification: () => ChildSettledNotification,
|
|
38
38
|
ChildSettledOutcome: () => ChildSettledOutcome,
|
|
39
39
|
Claim: () => Claim,
|
|
40
|
+
ClaimHandoff: () => ClaimHandoff,
|
|
40
41
|
ClaimJoiningRequest: () => ClaimJoiningRequest,
|
|
41
42
|
ClaimRequest: () => ClaimRequest,
|
|
42
43
|
DEFAULT_OWNERSHIP_LEASE_DURATION: () => DEFAULT_OWNERSHIP_LEASE_DURATION,
|
|
@@ -80,6 +81,7 @@ var SubmissionLedger_exports = /* @__PURE__ */ __exportAll({
|
|
|
80
81
|
SubmissionLookup: () => SubmissionLookup,
|
|
81
82
|
SubmissionLookupById: () => SubmissionLookupById,
|
|
82
83
|
SubmissionLookupByKey: () => SubmissionLookupByKey,
|
|
84
|
+
SubmissionScheduling: () => SubmissionScheduling,
|
|
83
85
|
SubmissionSnapshot: () => SubmissionSnapshot,
|
|
84
86
|
SubmissionState: () => SubmissionState,
|
|
85
87
|
SubmissionWorkItem: () => SubmissionWorkItem,
|
|
@@ -143,6 +145,15 @@ const SubmissionState = Schema.Literals([
|
|
|
143
145
|
"settled"
|
|
144
146
|
]);
|
|
145
147
|
/**
|
|
148
|
+
* Opt-in host policy for handling the next runnable same-Agent input in its own Run at a complete Turn
|
|
149
|
+
* boundary. This never joins inputs or changes their principals, grants, or receipts. The
|
|
150
|
+
* runtime selects the ordered candidate; policy cannot select an arbitrary Submission.
|
|
151
|
+
* Approval waits, child waits and incomplete Tool batches are not handoff boundaries. Hosts
|
|
152
|
+
* retaining independent replies must also leave those inputs unclaimed by `claimJoining`.
|
|
153
|
+
* In-flight model requests and Tool batches run to their existing safe boundary.
|
|
154
|
+
*/
|
|
155
|
+
const SubmissionScheduling = Context.Reference("@effect-agent/thread/SubmissionScheduling", { defaultValue: () => ({}) });
|
|
156
|
+
/**
|
|
146
157
|
* Default ownership lease duration (D5). The lease is a liveness hint that makes an abandoned
|
|
147
158
|
* claim reclaimable; correctness never depends on it because every canonical append is fenced by
|
|
148
159
|
* producer epoch. Adapters expose this as configuration and use this value when unconfigured.
|
|
@@ -292,9 +303,20 @@ const AdmissionResolution = Schema.Union([
|
|
|
292
303
|
AdmissionAdmitted,
|
|
293
304
|
AdmissionIndeterminate
|
|
294
305
|
]);
|
|
306
|
+
/**
|
|
307
|
+
* A trusted runtime's advisory handoff after committing a complete Turn and closing its
|
|
308
|
+
* Attempt. The epoch fences the observation; an intervening claim invalidates it. Deferred
|
|
309
|
+
* Runs retain their identities and obligations. Losing this hint resumes ordinary FIFO.
|
|
310
|
+
*/
|
|
311
|
+
var ClaimHandoff = class extends Schema.Class("@effect-agent/thread/ClaimHandoff")({
|
|
312
|
+
producerEpoch: ProducerEpoch,
|
|
313
|
+
deferredSubmissionIds: Schema.NonEmptyArray(SubmissionId),
|
|
314
|
+
submissionId: SubmissionId
|
|
315
|
+
}) {};
|
|
295
316
|
var ClaimRequest = class extends Schema.Class("@effect-agent/thread/ClaimRequest")({
|
|
296
317
|
threadId: ThreadId,
|
|
297
|
-
producerId: ProducerId
|
|
318
|
+
producerId: ProducerId,
|
|
319
|
+
handoff: Schema.optionalKey(ClaimHandoff)
|
|
298
320
|
}) {};
|
|
299
321
|
/**
|
|
300
322
|
* One granted ownership period. `producerEpoch` is the fencing token for every canonical append
|
|
@@ -822,6 +844,11 @@ var LedgerError = class extends Schema.TaggedError()("LedgerError", {
|
|
|
822
844
|
* `attemptId` and `ownershipToken`, and starts the ownership lease (D5: adapters default to
|
|
823
845
|
* `DEFAULT_OWNERSHIP_LEASE_DURATION`, configurable). An expired lease makes the head
|
|
824
846
|
* claimable; expiry alone never revokes correctness, only permission to assume liveness.
|
|
847
|
+
* An optional trusted-runtime `handoff` can defer only the named `input-applied` prefix,
|
|
848
|
+
* with no abort intent, to claim the exact next runnable Submission. It is checked atomically
|
|
849
|
+
* against the current producer epoch and the same whole-Thread ownership fence. Admission
|
|
850
|
+
* gaps, approval/child waits and joined work cannot be bypassed. Hints are not durable facts;
|
|
851
|
+
* recovery resumes the same retained Runs and can select another complete-Turn handoff.
|
|
825
852
|
* - `renewOwnership` — extends the lease while the token still owns the lane; fails with
|
|
826
853
|
* `OwnershipLost` once superseded. Renewal after lease expiry succeeds if no other claim has
|
|
827
854
|
* taken the lane in between.
|
|
@@ -954,6 +981,6 @@ const SubmissionAdmissionFence = Context.Reference("@effect-agent/thread/Submiss
|
|
|
954
981
|
code: "unsupported-policy"
|
|
955
982
|
}) }) });
|
|
956
983
|
//#endregion
|
|
957
|
-
export { AbortCommand, AbortIntent, AbortIntentRequest, AdmissionAdmitted, AdmissionConflict, AdmissionFence, AdmissionGroup, AdmissionIndeterminate, AdmissionNotAdmitted, AdmissionPolicyError, AdmissionRequest, AdmissionResolution, AdmissionResult, ApprovalConflict, ApprovalDecisionCommand, ApprovalDecisionIntent, ApprovalPendingSuspension, AttachChildToReservationRequest, BeginChildBudgetReleaseRequest, ChildAttachmentSnapshot, ChildBudgetReservationRequest, ChildBudgetReservationSnapshot, ChildReservationConflict, ChildReservationId, ChildReservationStatus, ChildSettledNotification, ChildSettledOutcome, Claim, ClaimJoiningRequest, ClaimRequest, DEFAULT_OWNERSHIP_LEASE_DURATION, IdempotencyKey, InputAppliedMarker, JoinSnapshot, JoinedToHost, JoiningClaim, LedgerCapabilities, LedgerError, MarkInputAppliedRequest, MarkJoinedRequest, MarkReadyRequest, MarkUnknownRequest, OwnershipLost, OwnershipRenewal, OwnershipSnapshot, OwnershipToken, ParentLinkage, Principal, QueueSequence, RecoverySnapshot, RecoverySnapshotRequest, ReleaseChildBudgetRequest, ReleaseOwnershipRequest, RenewOwnershipRequest, ReservedChildBudget, ReservedSettlement, ResolutionAbortSubmission, ResolutionCompletedWithResult, ResolutionNeverHappened, ResolutionSafeToRetry, RevertJoiningRequest, Settlement, SettlementConflict, SettlementFinalization, SettlementReservation, SettlementReservationSnapshot, SubmissionAdmissionFence, SubmissionLedger, SubmissionLookup, SubmissionLookupById, SubmissionLookupByKey, SubmissionSnapshot, SubmissionState, SubmissionWorkItem, SuspendRequest, SuspensionOutcome, SuspensionReason, SuspensionSnapshot, UnknownResolution, UnknownResolutionCommand, UnknownResolutionConflict, UnknownResolutionIntent, WaitingChild, WaitingForChildSuspension, WorkerLedgerState, WorkerStopCommand, settlementFailureFromRecord, submissionAbortBatchId, submissionAbortRecordId, submissionInputBatchId, submissionInputRecordId, submissionSettlementBatchId, submissionSettlementId, submissionSettlementRecordId, SubmissionLedger_exports as t, workerTerminalFromRecord };
|
|
984
|
+
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, DEFAULT_OWNERSHIP_LEASE_DURATION, IdempotencyKey, InputAppliedMarker, JoinSnapshot, JoinedToHost, JoiningClaim, LedgerCapabilities, LedgerError, MarkInputAppliedRequest, MarkJoinedRequest, MarkReadyRequest, MarkUnknownRequest, OwnershipLost, OwnershipRenewal, OwnershipSnapshot, OwnershipToken, ParentLinkage, Principal, QueueSequence, RecoverySnapshot, RecoverySnapshotRequest, ReleaseChildBudgetRequest, ReleaseOwnershipRequest, RenewOwnershipRequest, ReservedChildBudget, ReservedSettlement, ResolutionAbortSubmission, ResolutionCompletedWithResult, ResolutionNeverHappened, ResolutionSafeToRetry, RevertJoiningRequest, Settlement, SettlementConflict, SettlementFinalization, SettlementReservation, SettlementReservationSnapshot, SubmissionAdmissionFence, SubmissionLedger, SubmissionLookup, SubmissionLookupById, SubmissionLookupByKey, SubmissionScheduling, SubmissionSnapshot, SubmissionState, SubmissionWorkItem, SuspendRequest, SuspensionOutcome, SuspensionReason, SuspensionSnapshot, UnknownResolution, UnknownResolutionCommand, UnknownResolutionConflict, UnknownResolutionIntent, WaitingChild, WaitingForChildSuspension, WorkerLedgerState, WorkerStopCommand, settlementFailureFromRecord, submissionAbortBatchId, submissionAbortRecordId, submissionInputBatchId, submissionInputRecordId, submissionSettlementBatchId, submissionSettlementId, submissionSettlementRecordId, SubmissionLedger_exports as t, workerTerminalFromRecord };
|
|
958
985
|
|
|
959
986
|
//# sourceMappingURL=SubmissionLedger.mjs.map
|