@yielded/agent 0.1.0-beta.171 → 0.1.0-beta.173
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-BmALDmj8.d.mts → Admin-BX9ns28E.d.mts} +2 -2
- package/dist/{DurableAgentRuntime-CQGiSnCa.mjs → DurableAgentRuntime-BAmSkWYr.mjs} +10 -9
- package/dist/DurableAgentRuntime-BAmSkWYr.mjs.map +1 -0
- package/dist/{EventSource-CVXzC_8E.d.mts → EventSource-BwliwQz9.d.mts} +2 -2
- package/dist/{MessageDelivery-BGKWdjUu.d.mts → MessageDelivery-B943ebI_.d.mts} +42 -42
- package/dist/{PreparedInputAdmission-C1xt29pl.d.mts → PreparedInputAdmission-CxSJSiTl.d.mts} +3 -3
- package/dist/{RecordFormat-BphUsB6Q.d.mts → RecordFormat-BNiLpe43.d.mts} +9 -3
- package/dist/{RunContinuation-CNWMmymY.mjs → RunContinuation-DHYNAQFi.mjs} +2 -2
- package/dist/{RunContinuation-CNWMmymY.mjs.map → RunContinuation-DHYNAQFi.mjs.map} +1 -1
- package/dist/{RunContinuation-B7a2dK8k.d.mts → RunContinuation-FHM7XPjq.d.mts} +3 -3
- package/dist/{RunStorage-FFaYE4-2.mjs → RunStorage-uqPxps09.mjs} +2 -2
- package/dist/{RunStorage-FFaYE4-2.mjs.map → RunStorage-uqPxps09.mjs.map} +1 -1
- package/dist/{Subscription-CQqYNUqy.d.mts → Subscription-DONig54Q.d.mts} +2 -2
- package/dist/{SubscriptionInput-BibUlnWP.d.mts → SubscriptionInput-mJIRxWJM.d.mts} +2 -2
- package/dist/{ThreadImport-BsOXD7qr.mjs → ThreadImport-DckUMEqJ.mjs} +4 -4
- package/dist/{ThreadImport-BsOXD7qr.mjs.map → ThreadImport-DckUMEqJ.mjs.map} +1 -1
- package/dist/{ThreadImport-mLZiwu30.d.mts → ThreadImport-DpHxjBrA.d.mts} +4 -4
- package/dist/{ThreadStore-B5sew3ir.mjs → ThreadStore-CEekRa80.mjs} +2 -2
- package/dist/ThreadStore-CEekRa80.mjs.map +1 -0
- package/dist/{ThreadTransfer-DeO03GBg.mjs → ThreadTransfer-B4gTQLIl.mjs} +3 -5
- package/dist/ThreadTransfer-B4gTQLIl.mjs.map +1 -0
- package/dist/{WorkerAdmission-C1TxLQPT.mjs → WorkerAdmission-DFVbbVh2.mjs} +2 -2
- package/dist/{WorkerAdmission-C1TxLQPT.mjs.map → WorkerAdmission-DFVbbVh2.mjs.map} +1 -1
- 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/CommittedActivity.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/GitHubWorkflowSource.d.mts +3 -3
- package/dist/durable/LifecyclePublication.d.mts +1 -1
- package/dist/durable/LifecyclePublication.mjs +1 -1
- package/dist/durable/MessageDelivery.d.mts +1 -1
- package/dist/durable/MessageDeliveryStoreConformance.d.mts +2 -2
- package/dist/durable/PersistentHistory.d.mts +1 -1
- package/dist/durable/PersistentHistory.mjs +2 -2
- package/dist/durable/PreparedInputAdmission.d.mts +1 -1
- package/dist/durable/RecordFormat.d.mts +2 -2
- package/dist/durable/RecordFormat.mjs +14 -2
- package/dist/durable/RecordFormat.mjs.map +1 -1
- package/dist/durable/Recovery.d.mts +1 -1
- package/dist/durable/RunContinuation.d.mts +2 -2
- package/dist/durable/RunContinuation.mjs +2 -2
- package/dist/durable/RunJournal.d.mts +1 -1
- package/dist/durable/RunStorage.d.mts +1 -1
- package/dist/durable/RunStorage.mjs +1 -1
- package/dist/durable/Scheduling.d.mts +1 -1
- package/dist/durable/SettlementPublisher.d.mts +1 -1
- package/dist/durable/SettlementPublisher.mjs +1 -1
- package/dist/durable/SubmissionLedger.d.mts +1 -1
- package/dist/durable/SubmissionLedgerConformance.d.mts +1 -1
- package/dist/durable/SubmissionLedgerConformance.mjs +2 -2
- 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/ThreadArchiveRange.d.mts +1 -1
- package/dist/durable/ThreadContextHistory.d.mts +1 -1
- package/dist/durable/ThreadContextHistory.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 +3 -3
- 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 +1 -1
- package/dist/durable/ThreadStore.mjs +1 -1
- package/dist/durable/ThreadStoreConformance.d.mts +1 -1
- package/dist/durable/ThreadStoreConformance.mjs +2 -2
- package/dist/durable/ThreadTransfer.d.mts +1 -1
- package/dist/durable/ThreadTransfer.mjs +1 -1
- package/dist/durable/ThreadWork.d.mts +1 -1
- package/dist/durable/ThreadWork.mjs +2 -2
- package/dist/durable/WorkerAdmission.d.mts +1 -1
- package/dist/durable/WorkerAdmission.mjs +1 -1
- package/dist/durable/WorkerHost.d.mts +1 -1
- package/dist/index.d.mts +9 -9
- package/dist/index.mjs +6 -6
- package/dist/{run-context-reader-BrbZ8tb7.d.mts → run-context-reader-OcsZr4bk.d.mts} +2 -2
- package/package.json +1 -1
- package/src/durable/DurableAgentRuntime.ts +4 -1
- package/src/durable/RecordFormat.ts +18 -0
- package/src/durable/ThreadStore.ts +1 -1
- package/src/durable/ThreadTransfer.ts +1 -8
- package/src/durable/internal/agent-updates.ts +10 -2
- package/dist/DurableAgentRuntime-CQGiSnCa.mjs.map +0 -1
- package/dist/ThreadStore-B5sew3ir.mjs.map +0 -1
- package/dist/ThreadTransfer-DeO03GBg.mjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { it as RunContinuation, rt as RunContextRecorded, x as EvidenceReference } from "../Records-BiuJDWNe.mjs";
|
|
2
|
-
import { _t as isPreContinuationFact, bt as terminalUsageCharge, gt as executionRunIds, ht as canonicalRunIds, yt as isWorkHandoff } 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-
|
|
2
|
+
import { _t as isPreContinuationFact, bt as terminalUsageCharge, gt as executionRunIds, ht as canonicalRunIds, yt as isWorkHandoff } from "../ThreadStore-CEekRa80.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-DHYNAQFi.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 subagentRequestedBatchId, Ao as childIdempotencyKeyFor, Bo as projectRunJournal, Co as RunJournalError, Cs as toolCallSettledRecordId, Do as TurnCommitInput, Fo as markUnknownBatchId, Go as runDurationRecordId, Ho as promptFromCanonicalRecords, Io as modelResponseInterruptedBatchId, Jo as runStartedRecordId, Ko as runIdForSubmission, Lo as modelResponseInterruptedRecordId, Mo as compactionBatchId, No as compactionRecordId, Oo as agentUpdateRecordId, Po as firstWorkerInputRecordId, Qo as subagentLineageRecordId, Ro as modelResponseRecordId, So as RunJournalContext, To as RunJournalUsage, Uo as runCompletedRecordId, Vo as projectRunJournalStream, Wo as runDurationBatchId, Xo as subagentJoinedRecordId, Yo as subagentJoinBatchId, Zo as subagentLineageBatchId, _s as turnResultsBatch, as as toolCallResolutionBatchId, bs as workerOriginRecordId, cs as toolCallUnknownRecordId, ds as turnApprovalsBatchId, es as subagentRequestedRecordId, fs as turnBatchId, gs as turnResponseBatchId, hs as turnResponseBatch, is as toolApprovalRequestRecordId, jo as childThreadIdFor, ko as approvalDecisionBatchId, ls as toolStepSettledBatchId, ms as turnIdForRun, ns as subagentStartedRecordId, os as toolCallResolvedRecordId, ps as turnCanonicalBatch, qo as runStartedBatchId, rs as toolApprovalDecisionRecordId, ss as toolCallResultBatchId, ts as subagentStartedBatchId, us as toolStepSettledRecordId, vs as turnResultsBatchId, wo as RunJournalProjection, xo as JournalBoundary, xs as workerReportRecordId, ys as workerInputRecordId, zo as peerMessageRecordId } from "../Admin-
|
|
1
|
+
import { $o as subagentRequestedBatchId, Ao as childIdempotencyKeyFor, Bo as projectRunJournal, Co as RunJournalError, Cs as toolCallSettledRecordId, Do as TurnCommitInput, Fo as markUnknownBatchId, Go as runDurationRecordId, Ho as promptFromCanonicalRecords, Io as modelResponseInterruptedBatchId, Jo as runStartedRecordId, Ko as runIdForSubmission, Lo as modelResponseInterruptedRecordId, Mo as compactionBatchId, No as compactionRecordId, Oo as agentUpdateRecordId, Po as firstWorkerInputRecordId, Qo as subagentLineageRecordId, Ro as modelResponseRecordId, So as RunJournalContext, To as RunJournalUsage, Uo as runCompletedRecordId, Vo as projectRunJournalStream, Wo as runDurationBatchId, Xo as subagentJoinedRecordId, Yo as subagentJoinBatchId, Zo as subagentLineageBatchId, _s as turnResultsBatch, as as toolCallResolutionBatchId, bs as workerOriginRecordId, cs as toolCallUnknownRecordId, ds as turnApprovalsBatchId, es as subagentRequestedRecordId, fs as turnBatchId, gs as turnResponseBatchId, hs as turnResponseBatch, is as toolApprovalRequestRecordId, jo as childThreadIdFor, ko as approvalDecisionBatchId, ls as toolStepSettledBatchId, ms as turnIdForRun, ns as subagentStartedRecordId, os as toolCallResolvedRecordId, ps as turnCanonicalBatch, qo as runStartedBatchId, rs as toolApprovalDecisionRecordId, ss as toolCallResultBatchId, ts as subagentStartedBatchId, us as toolStepSettledRecordId, vs as turnResultsBatchId, wo as RunJournalProjection, xo as JournalBoundary, xs as workerReportRecordId, ys as workerInputRecordId, zo as peerMessageRecordId } from "../Admin-BX9ns28E.mjs";
|
|
2
2
|
export { JournalBoundary, RunJournalContext, RunJournalError, RunJournalProjection, RunJournalUsage, TurnCommitInput, agentUpdateRecordId, approvalDecisionBatchId, childIdempotencyKeyFor, childThreadIdFor, compactionBatchId, compactionRecordId, firstWorkerInputRecordId, 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, _o as OwnerGeneration, bo as makeStorageOwner, go as MutationGate, jr as RunChildAttachment, vo as StorageOwner, yo as StorageOwnerService, 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, _o as OwnerGeneration, bo as makeStorageOwner, go as MutationGate, jr as RunChildAttachment, vo as StorageOwner, yo as StorageOwnerService, zr as makeRunWriter } from "../Admin-BX9ns28E.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-uqPxps09.mjs";
|
|
2
2
|
export { RunChildAttachment, RunChildBudgetReservation, RunStorage, StorageOwner, layer, make, makeRunWriter, makeStorageOwner };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as Principal } from "../Receipt-BkM21Qiu.mjs";
|
|
2
2
|
import { b as DefinitionDigests } from "../Records-BTnGRdcf.mjs";
|
|
3
|
-
import { cr as DurableSubmitAgent, pt as AdmissionFence } from "../Admin-
|
|
3
|
+
import { cr as DurableSubmitAgent, pt as AdmissionFence } from "../Admin-BX9ns28E.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-CDgTz0vj.mjs";
|
|
5
5
|
import { Context, Crypto, Effect, Layer, Schema } from "effect";
|
|
6
6
|
declare namespace Scheduling_d_exports {
|
|
@@ -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-BX9ns28E.mjs";
|
|
2
2
|
export { SettlementPublication, SettlementPublicationAuthority, SettlementPublicationFailure, SettlementPublicationResult, SettlementPublisher, validateCanonicalSettlement, validateJoinedSettlement, validatePublication };
|
|
@@ -2,7 +2,7 @@ import { SubmissionId } from "../core/Identifiers.mjs";
|
|
|
2
2
|
import { X as RecordEnvelope, f as CanonicalSequence, gt as SubmissionSettled } from "../Records-BiuJDWNe.mjs";
|
|
3
3
|
import { LedgerError, submissionSettlementBatchId, submissionSettlementId, submissionSettlementRecordId } from "./SubmissionLedger.mjs";
|
|
4
4
|
import { x as runIdForSubmission } from "../RunJournal-kfKVxJj7.mjs";
|
|
5
|
-
import { h as PreparedAppend, n as AppendRequest } from "../ThreadStore-
|
|
5
|
+
import { h as PreparedAppend, n as AppendRequest } from "../ThreadStore-CEekRa80.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-BX9ns28E.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 };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as DigestError } from "../Digest-DjUgS5PG.mjs";
|
|
2
|
-
import { Hr as SettlementPublicationFailure, Ui as ThreadStore, Wr as SettlementPublisher, dn as SubmissionLedger, fn as SubmissionLedgerFailure, vo as StorageOwner } from "../Admin-
|
|
2
|
+
import { Hr as SettlementPublicationFailure, Ui as ThreadStore, Wr as SettlementPublisher, dn as SubmissionLedger, fn as SubmissionLedgerFailure, vo as StorageOwner } from "../Admin-BX9ns28E.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", {
|
|
@@ -8,8 +8,8 @@ import { U as PersistedJson, W as ProducerId, X as RecordEnvelope, _t as Submiss
|
|
|
8
8
|
import { s as digestJson } from "../Digest-DCuPlhNk.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
10
|
import { x as runIdForSubmission } from "../RunJournal-kfKVxJj7.mjs";
|
|
11
|
-
import { $ as ThreadTailRequest, I as ThreadMaterialization, J as ThreadStore, U as ThreadReader, n as AppendRequest, ot as getRecord } from "../ThreadStore-
|
|
12
|
-
import { a as make } from "../RunStorage-
|
|
11
|
+
import { $ as ThreadTailRequest, I as ThreadMaterialization, J as ThreadStore, U as ThreadReader, n as AppendRequest, ot as getRecord } from "../ThreadStore-CEekRa80.mjs";
|
|
12
|
+
import { a as make } from "../RunStorage-uqPxps09.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-BX9ns28E.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-DONig54Q.mjs";
|
|
2
2
|
export { AcceptedEvent, DeliveryChange, EventAcknowledgement, EventSourceVersion, PreparedInput, SourcePartition, SourceRecovery, SubscriptionAuthorizer, SubscriptionChange, SubscriptionConfiguration, SubscriptionDelivery, SubscriptionDeliveryKey, SubscriptionDeliverySnapshot, SubscriptionError, SubscriptionFailpoint, SubscriptionFailpointError, SubscriptionKey, SubscriptionLimits, SubscriptionName, SubscriptionRecord, SubscriptionRefusal, SubscriptionRetentionPolicy, SubscriptionScanCursors, SubscriptionScope, SubscriptionSnapshot, SubscriptionSourceError, SubscriptionStore, SubscriptionStoreFailure, defaultSubscriptionLimits, subscriptionDeliveryKeyString, subscriptionKeyString };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as resolveSubscriptionInput, i as makeSubscriptionInputBinding, n as SubscriptionInputBindings, t as SubscriptionInputBinding } from "../SubscriptionInput-
|
|
1
|
+
import { a as resolveSubscriptionInput, i as makeSubscriptionInputBinding, n as SubscriptionInputBindings, t as SubscriptionInputBinding } from "../SubscriptionInput-mJIRxWJM.mjs";
|
|
2
2
|
export { SubscriptionInputBinding, SubscriptionInputBindings, makeSubscriptionInputBinding, resolveSubscriptionInput };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as SubscriptionStore, O as SubscriptionStoreFailure, o as SourcePartition } from "../Subscription-
|
|
1
|
+
import { D as SubscriptionStore, O as SubscriptionStoreFailure, o as SourcePartition } from "../Subscription-DONig54Q.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", {
|
|
@@ -2,9 +2,9 @@ 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-DXGn7KQ4.mjs";
|
|
4
4
|
import { b as DefinitionDigests } from "../Records-BTnGRdcf.mjs";
|
|
5
|
-
import "../Admin-
|
|
5
|
+
import "../Admin-BX9ns28E.mjs";
|
|
6
6
|
import { c as ScheduleDestination } from "../Schedule-CDgTz0vj.mjs";
|
|
7
|
-
import { E as SubscriptionSourceError, g as SubscriptionFailpointError, i as EventSourceVersion, m as SubscriptionError, w as SubscriptionScope } from "../Subscription-
|
|
7
|
+
import { E as SubscriptionSourceError, g as SubscriptionFailpointError, i as EventSourceVersion, m as SubscriptionError, w as SubscriptionScope } from "../Subscription-DONig54Q.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-DONig54Q.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,10 +1,10 @@
|
|
|
1
1
|
import { r as Principal } from "../Receipt-BkM21Qiu.mjs";
|
|
2
2
|
import { K as PersistedJson } from "../Records-BTnGRdcf.mjs";
|
|
3
|
-
import { pt as AdmissionFence } from "../Admin-
|
|
4
|
-
import { D as SubscriptionStore, E as SubscriptionSourceError, O as SubscriptionStoreFailure, T as SubscriptionSnapshot, _ as SubscriptionKey, c as SubscriptionAuthorizer, f as SubscriptionDeliveryKey, i as EventSourceVersion, m as SubscriptionError, p as SubscriptionDeliverySnapshot, r as EventAcknowledgement, u as SubscriptionConfiguration, v as SubscriptionLimits, w as SubscriptionScope } from "../Subscription-
|
|
5
|
-
import { r as EventSources } from "../EventSource-
|
|
6
|
-
import { t as PreparedInputAdmission } from "../PreparedInputAdmission-
|
|
7
|
-
import { n as SubscriptionInputBindings } from "../SubscriptionInput-
|
|
3
|
+
import { pt as AdmissionFence } from "../Admin-BX9ns28E.mjs";
|
|
4
|
+
import { D as SubscriptionStore, E as SubscriptionSourceError, O as SubscriptionStoreFailure, T as SubscriptionSnapshot, _ as SubscriptionKey, c as SubscriptionAuthorizer, f as SubscriptionDeliveryKey, i as EventSourceVersion, m as SubscriptionError, p as SubscriptionDeliverySnapshot, r as EventAcknowledgement, u as SubscriptionConfiguration, v as SubscriptionLimits, w as SubscriptionScope } from "../Subscription-DONig54Q.mjs";
|
|
5
|
+
import { r as EventSources } from "../EventSource-BwliwQz9.mjs";
|
|
6
|
+
import { t as PreparedInputAdmission } from "../PreparedInputAdmission-CxSJSiTl.mjs";
|
|
7
|
+
import { n as SubscriptionInputBindings } from "../SubscriptionInput-mJIRxWJM.mjs";
|
|
8
8
|
import { Context, Crypto, Effect, Layer } from "effect";
|
|
9
9
|
declare namespace Subscriptions_d_exports {
|
|
10
10
|
export { SubscribeOptions, SubscriptionDriver, SubscriptionFailure, SubscriptionIntake, Subscriptions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $a as ThreadArchiveRangeRequest, Ga as MAX_ARCHIVE_RANGE_BYTES, Ja as MAX_CANONICAL_BATCH_BYTES, Ka as MAX_ARCHIVE_RANGE_PAGE, Qa as ThreadArchiveRangeRead, Xa as ThreadArchiveRangePage, Ya as ThreadArchiveRange, Za as ThreadArchiveRangePublish, eo as ThreadArchiveRangeSeal, no as ThreadArchiveStorage, qa as MAX_ARCHIVE_RANGE_RECORDS } from "../Admin-
|
|
1
|
+
import { $a as ThreadArchiveRangeRequest, Ga as MAX_ARCHIVE_RANGE_BYTES, Ja as MAX_CANONICAL_BATCH_BYTES, Ka as MAX_ARCHIVE_RANGE_PAGE, Qa as ThreadArchiveRangeRead, Xa as ThreadArchiveRangePage, Ya as ThreadArchiveRange, Za as ThreadArchiveRangePublish, eo as ThreadArchiveRangeSeal, no as ThreadArchiveStorage, qa as MAX_ARCHIVE_RANGE_RECORDS } from "../Admin-BX9ns28E.mjs";
|
|
2
2
|
export { MAX_ARCHIVE_RANGE_BYTES, MAX_ARCHIVE_RANGE_PAGE, MAX_ARCHIVE_RANGE_RECORDS, MAX_CANONICAL_BATCH_BYTES, ThreadArchiveRange, ThreadArchiveRangePage, ThreadArchiveRangePublish, ThreadArchiveRangeRead, ThreadArchiveRangeRequest, ThreadArchiveRangeSeal, ThreadArchiveStorage };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ContextHistory, ContextHistoryError } from "../engine/ContextHistory.mjs";
|
|
2
|
-
import { Ui as ThreadStore } from "../Admin-
|
|
2
|
+
import { Ui as ThreadStore } from "../Admin-BX9ns28E.mjs";
|
|
3
3
|
import { Layer, Schema } from "effect";
|
|
4
4
|
declare namespace ThreadContextHistory_d_exports {
|
|
5
5
|
export { ThreadContextHistoryOptions, layer };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
2
2
|
import { ContextHistory, ContextHistoryError, ContextHistoryHit, ContextHistoryPage, ContextHistoryRead, ContextHistorySearch } from "../engine/ContextHistory.mjs";
|
|
3
3
|
import { Z as RecordId, f as CanonicalSequence, u as CanonicalRecordEnvelope } from "../Records-BiuJDWNe.mjs";
|
|
4
|
-
import { $ as ThreadTailRequest, J as ThreadStore, Q as ThreadTail, V as ThreadRead, b as SelectedThreadRead } from "../ThreadStore-
|
|
4
|
+
import { $ as ThreadTailRequest, J as ThreadStore, Q as ThreadTail, V as ThreadRead, b as SelectedThreadRead } from "../ThreadStore-CEekRa80.mjs";
|
|
5
5
|
import { matchText, normalizeQuery, project, windowIdFor } from "./ThreadContextHistoryProjection.mjs";
|
|
6
6
|
import { Effect, Layer, Schema, Stream } from "effect";
|
|
7
7
|
//#region src/durable/ThreadContextHistory.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as ThreadDeliveryImportReader, S as verifyImportedReferences, _ as reencodeThread, a as ThreadImport, b as validateImportedRunExecution, c as ThreadImportResult, d as finishThreadImport, f as invalidThreadArchive, g as rebuildImportedSubmission, h as rebuildClosedSubmission, i as ThreadArchive, m as prepareImportPage, n as PreparedImportPage, o as ThreadImportProgress, p as makeThreadImportProgress, r as RebuiltSubmission, s as ThreadImportRejected, t as PreparedImportBatch, u as captureImportSource, v as validateClosedRun, w as ThreadImportReader, x as verifyImportedInputOrder, y as validateImportedExecution } from "../ThreadImport-
|
|
1
|
+
import { C as ThreadDeliveryImportReader, S as verifyImportedReferences, _ as reencodeThread, a as ThreadImport, b as validateImportedRunExecution, c as ThreadImportResult, d as finishThreadImport, f as invalidThreadArchive, g as rebuildImportedSubmission, h as rebuildClosedSubmission, i as ThreadArchive, m as prepareImportPage, n as PreparedImportPage, o as ThreadImportProgress, p as makeThreadImportProgress, r as RebuiltSubmission, s as ThreadImportRejected, t as PreparedImportBatch, u as captureImportSource, v as validateClosedRun, w as ThreadImportReader, x as verifyImportedInputOrder, y as validateImportedExecution } from "../ThreadImport-DpHxjBrA.mjs";
|
|
2
2
|
export { PreparedImportBatch, PreparedImportPage, RebuiltSubmission, ThreadArchive, ThreadDeliveryImportReader, ThreadImport, ThreadImportProgress, ThreadImportReader, ThreadImportRejected, ThreadImportResult, captureImportSource, finishThreadImport, invalidThreadArchive, makeThreadImportProgress, prepareImportPage, rebuildClosedSubmission, rebuildImportedSubmission, reencodeThread, validateClosedRun, validateImportedExecution, validateImportedRunExecution, verifyImportedInputOrder, verifyImportedReferences };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as validateImportedRunExecution, a as ThreadImportResult, b as ThreadDeliveryImportReader, c as finishThreadImport, d as prepareImportPage, f as rebuildClosedSubmission, g as validateImportedExecution, h as validateClosedRun, i as ThreadImportRejected, l as invalidThreadArchive, m as reencodeThread, n as ThreadArchive, p as rebuildImportedSubmission, r as ThreadImport, s as captureImportSource, t as RebuiltSubmission, u as makeThreadImportProgress, v as verifyImportedInputOrder, x as ThreadImportReader, y as verifyImportedReferences } from "../ThreadImport-
|
|
1
|
+
import { _ as validateImportedRunExecution, a as ThreadImportResult, b as ThreadDeliveryImportReader, c as finishThreadImport, d as prepareImportPage, f as rebuildClosedSubmission, g as validateImportedExecution, h as validateClosedRun, i as ThreadImportRejected, l as invalidThreadArchive, m as reencodeThread, n as ThreadArchive, p as rebuildImportedSubmission, r as ThreadImport, s as captureImportSource, t as RebuiltSubmission, u as makeThreadImportProgress, v as verifyImportedInputOrder, x as ThreadImportReader, y as verifyImportedReferences } from "../ThreadImport-DckUMEqJ.mjs";
|
|
2
2
|
export { RebuiltSubmission, ThreadArchive, ThreadDeliveryImportReader, ThreadImport, ThreadImportReader, ThreadImportRejected, ThreadImportResult, captureImportSource, finishThreadImport, invalidThreadArchive, makeThreadImportProgress, prepareImportPage, rebuildClosedSubmission, rebuildImportedSubmission, reencodeThread, validateClosedRun, validateImportedExecution, validateImportedRunExecution, verifyImportedInputOrder, verifyImportedReferences };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s as RunId, u as ThreadId } from "../Identifiers-CN2s30fF.mjs";
|
|
2
|
-
import { $r as ExecutionCheckpoint, Gi as ThreadStoreError, c as IntegrityReport, vi as ThreadCheckpoint, vn as SubmissionSnapshot, xi as ThreadExport } from "../Admin-
|
|
3
|
-
import { t as RunContextReader } from "../run-context-reader-
|
|
4
|
-
import { w as ThreadImportReader } from "../ThreadImport-
|
|
2
|
+
import { $r as ExecutionCheckpoint, Gi as ThreadStoreError, c as IntegrityReport, vi as ThreadCheckpoint, vn as SubmissionSnapshot, xi as ThreadExport } from "../Admin-BX9ns28E.mjs";
|
|
3
|
+
import { t as RunContextReader } from "../run-context-reader-OcsZr4bk.mjs";
|
|
4
|
+
import { w as ThreadImportReader } from "../ThreadImport-DpHxjBrA.mjs";
|
|
5
5
|
import { Effect, Stream } from "effect";
|
|
6
6
|
declare namespace ThreadInvariants_d_exports {
|
|
7
7
|
export { ThreadInvariantInput, verifyThreadInvariants };
|
|
@@ -2,9 +2,9 @@ import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
|
2
2
|
import { f as CanonicalSequence } from "../Records-BiuJDWNe.mjs";
|
|
3
3
|
import { submissionInputRecordId, submissionSettlementRecordId, workerTerminalFromRecord } from "./SubmissionLedger.mjs";
|
|
4
4
|
import { IntegrityCheck, IntegrityReport } from "./Admin.mjs";
|
|
5
|
-
import { E as ThreadExport, X as ThreadStoreError, ht as canonicalRunIds, mt as recordEncoding } from "../ThreadStore-
|
|
6
|
-
import { h as verifyRunContinuations } from "../RunContinuation-
|
|
7
|
-
import { _ as validateImportedRunExecution, c as finishThreadImport, d as prepareImportPage, g as validateImportedExecution, i as ThreadImportRejected, n as ThreadArchive, p as rebuildImportedSubmission, u as makeThreadImportProgress, v as verifyImportedInputOrder, x as ThreadImportReader, y as verifyImportedReferences } from "../ThreadImport-
|
|
5
|
+
import { E as ThreadExport, X as ThreadStoreError, ht as canonicalRunIds, mt as recordEncoding } from "../ThreadStore-CEekRa80.mjs";
|
|
6
|
+
import { h as verifyRunContinuations } from "../RunContinuation-DHYNAQFi.mjs";
|
|
7
|
+
import { _ as validateImportedRunExecution, c as finishThreadImport, d as prepareImportPage, g as validateImportedExecution, i as ThreadImportRejected, n as ThreadArchive, p as rebuildImportedSubmission, u as makeThreadImportProgress, v as verifyImportedInputOrder, x as ThreadImportReader, y as verifyImportedReferences } from "../ThreadImport-DckUMEqJ.mjs";
|
|
8
8
|
import { Effect, Schema, Stream } from "effect";
|
|
9
9
|
//#region src/durable/ThreadInvariants.ts
|
|
10
10
|
var ThreadInvariants_exports = /* @__PURE__ */ __exportAll({ verifyThreadInvariants: () => verifyThreadInvariants });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Xr as AppendResult, Yr as AppendRequest } from "../Admin-
|
|
1
|
+
import { Xr as AppendResult, Yr as AppendRequest } from "../Admin-BX9ns28E.mjs";
|
|
2
2
|
import { Context, Effect, Layer, Option, Schema } from "effect";
|
|
3
3
|
declare namespace ThreadProjectionMaintenance_d_exports {
|
|
4
4
|
export { ThreadProjectionError, ThreadProjectionMaintenance, ThreadProjectionMaintenanceService, drainDue };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ai as ThreadIdentityRequest, Ei as ThreadExportRequest, Fi as ThreadPromptRead, Gi as ThreadStoreError, Ii as ThreadRead, Ji as ThreadTail, Li as ThreadReadRequest, Mi as ThreadNotMaterialized, Ni as ThreadObservation, Ri as ThreadReader, Vi as ThreadRunInputRequest, Yi as ThreadTailRequest, ia as getRunInput, ki as ThreadIdentity, oa as readWorkerState, ra as getRecord, ta as ThreadWorkerStateRequest, xi as ThreadExport, zi as ThreadRecordRequest } from "../Admin-
|
|
1
|
+
import { Ai as ThreadIdentityRequest, Ei as ThreadExportRequest, Fi as ThreadPromptRead, Gi as ThreadStoreError, Ii as ThreadRead, Ji as ThreadTail, Li as ThreadReadRequest, Mi as ThreadNotMaterialized, Ni as ThreadObservation, Ri as ThreadReader, Vi as ThreadRunInputRequest, Yi as ThreadTailRequest, ia as getRunInput, ki as ThreadIdentity, oa as readWorkerState, ra as getRecord, ta as ThreadWorkerStateRequest, xi as ThreadExport, zi as ThreadRecordRequest } from "../Admin-BX9ns28E.mjs";
|
|
2
2
|
export { ThreadExport, ThreadExportRequest, ThreadIdentity, ThreadIdentityRequest, ThreadNotMaterialized, ThreadObservation, ThreadPromptRead, ThreadRead, ThreadReadRequest, ThreadReader, ThreadRecordRequest, ThreadRunInputRequest, ThreadStoreError, ThreadTail, ThreadTailRequest, ThreadWorkerStateRequest, getRecord, getRunInput, readWorkerState };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as ThreadTailRequest, B as ThreadPromptRead, E as ThreadExport, F as ThreadIdentityRequest, H as ThreadReadRequest, K as ThreadRunInputRequest, L as ThreadNotMaterialized, P as ThreadIdentity, Q as ThreadTail, R as ThreadObservation, U as ThreadReader, V as ThreadRead, W as ThreadRecordRequest, X as ThreadStoreError, it as ThreadWorkerStateRequest, j as ThreadExportRequest, lt as readWorkerState, ot as getRecord, st as getRunInput } from "../ThreadStore-
|
|
1
|
+
import { $ as ThreadTailRequest, B as ThreadPromptRead, E as ThreadExport, F as ThreadIdentityRequest, H as ThreadReadRequest, K as ThreadRunInputRequest, L as ThreadNotMaterialized, P as ThreadIdentity, Q as ThreadTail, R as ThreadObservation, U as ThreadReader, V as ThreadRead, W as ThreadRecordRequest, X as ThreadStoreError, it as ThreadWorkerStateRequest, j as ThreadExportRequest, lt as readWorkerState, ot as getRecord, st as getRunInput } from "../ThreadStore-CEekRa80.mjs";
|
|
2
2
|
export { ThreadExport, ThreadExportRequest, ThreadIdentity, ThreadIdentityRequest, ThreadNotMaterialized, ThreadObservation, ThreadPromptRead, ThreadRead, ThreadReadRequest, ThreadReader, ThreadRecordRequest, ThreadRunInputRequest, ThreadStoreError, ThreadTail, ThreadTailRequest, ThreadWorkerStateRequest, getRecord, getRunInput, readWorkerState };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { W as PROMPT_EVIDENCE_TAGS } from "../Records-BTnGRdcf.mjs";
|
|
2
|
-
import { $i as ThreadWorkerCapacityRequest, $r as ExecutionCheckpoint, Ai as ThreadIdentityRequest, Bi as ThreadResolutionFact, Ci as ThreadExportCursor, Di as ThreadExportSnapshot, Ei as ThreadExportRequest, Fi as ThreadPromptRead, Gi as ThreadStoreError, Hi as ThreadSelection, Ii as ThreadRead, Ji as ThreadTail, Jr as AppendConflict, Ki as ThreadStoreFailure, Li as ThreadReadRequest, Mi as ThreadNotMaterialized, Ni as ThreadObservation, Oi as ThreadExportSource, Pi as ThreadPeerCountRequest, Qi as ThreadWorkerCapacity, Qr as CommitBatch, Ri as ThreadReader, Si as ThreadExportBatch, Ti as ThreadExportRejected, Ui as ThreadStore, Vi as ThreadRunInputRequest, Wi as ThreadStoreDiagnostic, Xi as ThreadVerificationRequest, Xr as AppendResult, Yi as ThreadTailRequest, Yr as AppendRequest, Zi as ThreadVerificationStorage, Zr as CheckpointRejected, _i as ThreadApprovalFact, aa as makeTransferFactCheck, ai as MAX_THREAD_EXPORT_CURSOR_CHARS, bi as ThreadCommands, ca as transferPageFits, ci as PreparedAppend, di as PromptCheckpointRead, ea as ThreadWorkerSeal, ei as ExecutionRead, fi as PromptCheckpoints, gi as ThreadAdmission, hi as ThreadAbortFact, ia as getRunInput, ii as MAX_PROMPT_CHECKPOINT_RUNS, ji as ThreadMaterialization, ki as ThreadIdentity, li as PromptCheckpoint, mi as SelectedThreadRead, na as canonicalBatchFitsTransfer, ni as LoadCheckpointRequest, oa as readWorkerState, oi as MAX_THREAD_EXPORT_PAGE_BYTES, pi as SaveCheckpointRequest, ra as getRecord, ri as MAX_PROMPT_CHECKPOINT_BYTES, sa as streamExport, si as MAX_THREAD_EXPORT_PAGE_RECORDS, ta as ThreadWorkerStateRequest, ti as ExecutionUpdate, ui as PromptCheckpointHead, vi as ThreadCheckpoint, wi as ThreadExportRecord, xi as ThreadExport, yi as ThreadCheckpoints, zi as ThreadRecordRequest } from "../Admin-
|
|
2
|
+
import { $i as ThreadWorkerCapacityRequest, $r as ExecutionCheckpoint, Ai as ThreadIdentityRequest, Bi as ThreadResolutionFact, Ci as ThreadExportCursor, Di as ThreadExportSnapshot, Ei as ThreadExportRequest, Fi as ThreadPromptRead, Gi as ThreadStoreError, Hi as ThreadSelection, Ii as ThreadRead, Ji as ThreadTail, Jr as AppendConflict, Ki as ThreadStoreFailure, Li as ThreadReadRequest, Mi as ThreadNotMaterialized, Ni as ThreadObservation, Oi as ThreadExportSource, Pi as ThreadPeerCountRequest, Qi as ThreadWorkerCapacity, Qr as CommitBatch, Ri as ThreadReader, Si as ThreadExportBatch, Ti as ThreadExportRejected, Ui as ThreadStore, Vi as ThreadRunInputRequest, Wi as ThreadStoreDiagnostic, Xi as ThreadVerificationRequest, Xr as AppendResult, Yi as ThreadTailRequest, Yr as AppendRequest, Zi as ThreadVerificationStorage, Zr as CheckpointRejected, _i as ThreadApprovalFact, aa as makeTransferFactCheck, ai as MAX_THREAD_EXPORT_CURSOR_CHARS, bi as ThreadCommands, ca as transferPageFits, ci as PreparedAppend, di as PromptCheckpointRead, ea as ThreadWorkerSeal, ei as ExecutionRead, fi as PromptCheckpoints, gi as ThreadAdmission, hi as ThreadAbortFact, ia as getRunInput, ii as MAX_PROMPT_CHECKPOINT_RUNS, ji as ThreadMaterialization, ki as ThreadIdentity, li as PromptCheckpoint, mi as SelectedThreadRead, na as canonicalBatchFitsTransfer, ni as LoadCheckpointRequest, oa as readWorkerState, oi as MAX_THREAD_EXPORT_PAGE_BYTES, pi as SaveCheckpointRequest, ra as getRecord, ri as MAX_PROMPT_CHECKPOINT_BYTES, sa as streamExport, si as MAX_THREAD_EXPORT_PAGE_RECORDS, ta as ThreadWorkerStateRequest, ti as ExecutionUpdate, ui as PromptCheckpointHead, vi as ThreadCheckpoint, wi as ThreadExportRecord, xi as ThreadExport, yi as ThreadCheckpoints, zi as ThreadRecordRequest } from "../Admin-BX9ns28E.mjs";
|
|
3
3
|
export { AppendConflict, AppendRequest, AppendResult, CheckpointRejected, CommitBatch, ExecutionCheckpoint, ExecutionRead, ExecutionUpdate, LoadCheckpointRequest, MAX_PROMPT_CHECKPOINT_BYTES, MAX_PROMPT_CHECKPOINT_RUNS, MAX_THREAD_EXPORT_CURSOR_CHARS, MAX_THREAD_EXPORT_PAGE_BYTES, MAX_THREAD_EXPORT_PAGE_RECORDS, PROMPT_EVIDENCE_TAGS, PreparedAppend, PromptCheckpoint, PromptCheckpointHead, PromptCheckpointRead, PromptCheckpoints, SaveCheckpointRequest, SelectedThreadRead, ThreadAbortFact, ThreadAdmission, ThreadApprovalFact, ThreadCheckpoint, ThreadCheckpoints, ThreadCommands, ThreadExport, ThreadExportBatch, ThreadExportCursor, ThreadExportRecord, ThreadExportRejected, ThreadExportRequest, ThreadExportSnapshot, ThreadExportSource, ThreadIdentity, ThreadIdentityRequest, ThreadMaterialization, ThreadNotMaterialized, ThreadObservation, ThreadPeerCountRequest, ThreadPromptRead, ThreadRead, ThreadReadRequest, ThreadReader, ThreadRecordRequest, ThreadResolutionFact, ThreadRunInputRequest, ThreadSelection, ThreadStore, ThreadStoreDiagnostic, ThreadStoreError, ThreadStoreFailure, ThreadTail, ThreadTailRequest, ThreadVerificationRequest, ThreadVerificationStorage, ThreadWorkerCapacity, ThreadWorkerCapacityRequest, ThreadWorkerSeal, ThreadWorkerStateRequest, canonicalBatchFitsTransfer, getRecord, getRunInput, makeTransferFactCheck, readWorkerState, streamExport, transferPageFits };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { V as PROMPT_EVIDENCE_TAGS } from "../Records-BiuJDWNe.mjs";
|
|
2
|
-
import { $ as ThreadTailRequest, A as ThreadExportRejected, B as ThreadPromptRead, C as ThreadApprovalFact, D as ThreadExportBatch, E as ThreadExport, F as ThreadIdentityRequest, G as ThreadResolutionFact, H as ThreadReadRequest, I as ThreadMaterialization, J as ThreadStore, K as ThreadRunInputRequest, L as ThreadNotMaterialized, M as ThreadExportSnapshot, N as ThreadExportSource, O as ThreadExportCursor, P as ThreadIdentity, Q as ThreadTail, R as ThreadObservation, S as ThreadAdmission, T as ThreadCommands, U as ThreadReader, V as ThreadRead, W as ThreadRecordRequest, X as ThreadStoreError, Y as ThreadStoreDiagnostic, _ as PromptCheckpointHead, a as CommitBatch, at as canonicalBatchFitsTransfer, b as SelectedThreadRead, c as ExecutionUpdate, ct as makeTransferFactCheck, d as MAX_PROMPT_CHECKPOINT_RUNS, dt as transferPageFits, et as ThreadVerificationRequest, f as MAX_THREAD_EXPORT_CURSOR_CHARS, g as PromptCheckpoint, h as PreparedAppend, i as CheckpointRejected, it as ThreadWorkerStateRequest, j as ThreadExportRequest, k as ThreadExportRecord, l as LoadCheckpointRequest, lt as readWorkerState, m as MAX_THREAD_EXPORT_PAGE_RECORDS, n as AppendRequest, nt as ThreadWorkerCapacityRequest, o as ExecutionCheckpoint, ot as getRecord, p as MAX_THREAD_EXPORT_PAGE_BYTES, q as ThreadSelection, r as AppendResult, rt as ThreadWorkerSeal, s as ExecutionRead, st as getRunInput, t as AppendConflict, tt as ThreadWorkerCapacity, u as MAX_PROMPT_CHECKPOINT_BYTES, ut as streamExport, v as PromptCheckpointRead, w as ThreadCheckpoint, x as ThreadAbortFact, y as SaveCheckpointRequest, z as ThreadPeerCountRequest } from "../ThreadStore-
|
|
2
|
+
import { $ as ThreadTailRequest, A as ThreadExportRejected, B as ThreadPromptRead, C as ThreadApprovalFact, D as ThreadExportBatch, E as ThreadExport, F as ThreadIdentityRequest, G as ThreadResolutionFact, H as ThreadReadRequest, I as ThreadMaterialization, J as ThreadStore, K as ThreadRunInputRequest, L as ThreadNotMaterialized, M as ThreadExportSnapshot, N as ThreadExportSource, O as ThreadExportCursor, P as ThreadIdentity, Q as ThreadTail, R as ThreadObservation, S as ThreadAdmission, T as ThreadCommands, U as ThreadReader, V as ThreadRead, W as ThreadRecordRequest, X as ThreadStoreError, Y as ThreadStoreDiagnostic, _ as PromptCheckpointHead, a as CommitBatch, at as canonicalBatchFitsTransfer, b as SelectedThreadRead, c as ExecutionUpdate, ct as makeTransferFactCheck, d as MAX_PROMPT_CHECKPOINT_RUNS, dt as transferPageFits, et as ThreadVerificationRequest, f as MAX_THREAD_EXPORT_CURSOR_CHARS, g as PromptCheckpoint, h as PreparedAppend, i as CheckpointRejected, it as ThreadWorkerStateRequest, j as ThreadExportRequest, k as ThreadExportRecord, l as LoadCheckpointRequest, lt as readWorkerState, m as MAX_THREAD_EXPORT_PAGE_RECORDS, n as AppendRequest, nt as ThreadWorkerCapacityRequest, o as ExecutionCheckpoint, ot as getRecord, p as MAX_THREAD_EXPORT_PAGE_BYTES, q as ThreadSelection, r as AppendResult, rt as ThreadWorkerSeal, s as ExecutionRead, st as getRunInput, t as AppendConflict, tt as ThreadWorkerCapacity, u as MAX_PROMPT_CHECKPOINT_BYTES, ut as streamExport, v as PromptCheckpointRead, w as ThreadCheckpoint, x as ThreadAbortFact, y as SaveCheckpointRequest, z as ThreadPeerCountRequest } from "../ThreadStore-CEekRa80.mjs";
|
|
3
3
|
export { AppendConflict, AppendRequest, AppendResult, CheckpointRejected, CommitBatch, ExecutionCheckpoint, ExecutionRead, ExecutionUpdate, LoadCheckpointRequest, MAX_PROMPT_CHECKPOINT_BYTES, MAX_PROMPT_CHECKPOINT_RUNS, MAX_THREAD_EXPORT_CURSOR_CHARS, MAX_THREAD_EXPORT_PAGE_BYTES, MAX_THREAD_EXPORT_PAGE_RECORDS, PROMPT_EVIDENCE_TAGS, PreparedAppend, PromptCheckpoint, PromptCheckpointHead, PromptCheckpointRead, SaveCheckpointRequest, SelectedThreadRead, ThreadAbortFact, ThreadAdmission, ThreadApprovalFact, ThreadCheckpoint, ThreadCommands, ThreadExport, ThreadExportBatch, ThreadExportCursor, ThreadExportRecord, ThreadExportRejected, ThreadExportRequest, ThreadExportSnapshot, ThreadExportSource, ThreadIdentity, ThreadIdentityRequest, ThreadMaterialization, ThreadNotMaterialized, ThreadObservation, ThreadPeerCountRequest, ThreadPromptRead, ThreadRead, ThreadReadRequest, ThreadReader, ThreadRecordRequest, ThreadResolutionFact, ThreadRunInputRequest, ThreadSelection, ThreadStore, ThreadStoreDiagnostic, ThreadStoreError, ThreadTail, ThreadTailRequest, ThreadVerificationRequest, ThreadWorkerCapacity, ThreadWorkerCapacityRequest, ThreadWorkerSeal, ThreadWorkerStateRequest, canonicalBatchFitsTransfer, getRecord, getRunInput, makeTransferFactCheck, readWorkerState, streamExport, transferPageFits };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Y as PromptRecordEnvelope, d as CanonicalRecordEnvelope } from "../Records-BTnGRdcf.mjs";
|
|
2
|
-
import { $i as ThreadWorkerCapacityRequest, $r as ExecutionCheckpoint, Ai as ThreadIdentityRequest, Ca as ThreadWorkStorage, Ei as ThreadExportRequest, Fi as ThreadPromptRead, Gi as ThreadStoreError, Ji as ThreadTail, Jr as AppendConflict, Ki as ThreadStoreFailure, Li as ThreadReadRequest, Mi as ThreadNotMaterialized, Ni as ThreadObservation, Pi as ThreadPeerCountRequest, Qi as ThreadWorkerCapacity, Ti as ThreadExportRejected, Ui as ThreadStore, Xr as AppendResult, Xt as OwnershipLost, Yi as ThreadTailRequest, Yr as AppendRequest, Zi as ThreadVerificationStorage, Zr as CheckpointRejected, ei as ExecutionRead, fi as PromptCheckpoints, ji as ThreadMaterialization, ki as ThreadIdentity, no as ThreadArchiveStorage, uo as LifecyclePublicationStorage, xi as ThreadExport, yi as ThreadCheckpoints } from "../Admin-
|
|
2
|
+
import { $i as ThreadWorkerCapacityRequest, $r as ExecutionCheckpoint, Ai as ThreadIdentityRequest, Ca as ThreadWorkStorage, Ei as ThreadExportRequest, Fi as ThreadPromptRead, Gi as ThreadStoreError, Ji as ThreadTail, Jr as AppendConflict, Ki as ThreadStoreFailure, Li as ThreadReadRequest, Mi as ThreadNotMaterialized, Ni as ThreadObservation, Pi as ThreadPeerCountRequest, Qi as ThreadWorkerCapacity, Ti as ThreadExportRejected, Ui as ThreadStore, Xr as AppendResult, Xt as OwnershipLost, Yi as ThreadTailRequest, Yr as AppendRequest, Zi as ThreadVerificationStorage, Zr as CheckpointRejected, ei as ExecutionRead, fi as PromptCheckpoints, ji as ThreadMaterialization, ki as ThreadIdentity, no as ThreadArchiveStorage, uo as LifecyclePublicationStorage, xi as ThreadExport, yi as ThreadCheckpoints } from "../Admin-BX9ns28E.mjs";
|
|
3
3
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
4
4
|
//#region src/durable/ThreadStoreConformance.d.ts
|
|
5
5
|
declare const ThreadStoreConformanceViolation_base: Schema.Class<ThreadStoreConformanceViolation, Schema.TaggedStruct<"ThreadStoreConformanceViolation", {
|
|
@@ -4,8 +4,8 @@ import { IdempotencyKey } from "../core/Receipt.mjs";
|
|
|
4
4
|
import { SubagentDelegationCaps, SubagentGrant, SubagentReservationAmounts } from "../core/SubagentContract.mjs";
|
|
5
5
|
import { Ft as WorkerInputRequested, H as PeerMessagePrepared, Lt as WorkerOriginRecorded, Nt as WorkerInputCompleted, Vt as WorkerStopRequested, W as ProducerId, X as RecordEnvelope, Z as RecordId, b as Digest, c as CanonicalBatch, f as CanonicalSequence, i as BatchId, kt as UserInputRecorded, vt as SubtreeBudgetReserved, y as DeploymentId } from "../Records-BiuJDWNe.mjs";
|
|
6
6
|
import { D as subagentLineageRecordId, Y as workerOriginRecordId } from "../RunJournal-kfKVxJj7.mjs";
|
|
7
|
-
import { $ as ThreadTailRequest, F as ThreadIdentityRequest, I as ThreadMaterialization, J as ThreadStore, L as ThreadNotMaterialized, R as ThreadObservation, U as ThreadReader, V as ThreadRead, X as ThreadStoreError, i as CheckpointRejected, j as ThreadExportRequest, l as LoadCheckpointRequest, lt as readWorkerState, n as AppendRequest, ot as getRecord, st as getRunInput, t as AppendConflict, w as ThreadCheckpoint, y as SaveCheckpointRequest } from "../ThreadStore-
|
|
8
|
-
import { a as canonicalRecordBytes } from "../RunContinuation-
|
|
7
|
+
import { $ as ThreadTailRequest, F as ThreadIdentityRequest, I as ThreadMaterialization, J as ThreadStore, L as ThreadNotMaterialized, R as ThreadObservation, U as ThreadReader, V as ThreadRead, X as ThreadStoreError, i as CheckpointRejected, j as ThreadExportRequest, l as LoadCheckpointRequest, lt as readWorkerState, n as AppendRequest, ot as getRecord, st as getRunInput, t as AppendConflict, w as ThreadCheckpoint, y as SaveCheckpointRequest } from "../ThreadStore-CEekRa80.mjs";
|
|
8
|
+
import { a as canonicalRecordBytes } from "../RunContinuation-DHYNAQFi.mjs";
|
|
9
9
|
import { DateTime, Effect, Option, Schema, Stream } from "effect";
|
|
10
10
|
//#region src/durable/ThreadStoreConformance.ts
|
|
11
11
|
/** A ThreadStore contract invariant that an adapter under test violated. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { u as ThreadId } from "../Identifiers-CN2s30fF.mjs";
|
|
2
2
|
import { d as CanonicalRecordEnvelope, et as RecordId } from "../Records-BTnGRdcf.mjs";
|
|
3
|
-
import { Ei as ThreadExportRequest, Gi as ThreadStoreError, Mi as ThreadNotMaterialized, Ti as ThreadExportRejected, xi as ThreadExport } from "../Admin-
|
|
3
|
+
import { Ei as ThreadExportRequest, Gi as ThreadStoreError, Mi as ThreadNotMaterialized, Ti as ThreadExportRejected, xi as ThreadExport } from "../Admin-BX9ns28E.mjs";
|
|
4
4
|
import { Context, Effect, Schema } from "effect";
|
|
5
5
|
declare namespace ThreadTransfer_d_exports {
|
|
6
6
|
export { ThreadExporterReader, TransferFacts, TransferManifest, TransferSection, checkExportSource, checkTransferPageBytes, exportThreadPage, sameTransferManifest, transferDependencies, transferSections };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as checkTransferPageBytes, c as transferDependencies, i as checkExportSource, l as transferSections, o as exportThreadPage, r as TransferManifest, s as sameTransferManifest, t as ThreadExporterReader } from "../ThreadTransfer-
|
|
1
|
+
import { a as checkTransferPageBytes, c as transferDependencies, i as checkExportSource, l as transferSections, o as exportThreadPage, r as TransferManifest, s as sameTransferManifest, t as ThreadExporterReader } from "../ThreadTransfer-B4gTQLIl.mjs";
|
|
2
2
|
export { ThreadExporterReader, TransferManifest, checkExportSource, checkTransferPageBytes, exportThreadPage, sameTransferManifest, transferDependencies, transferSections };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Aa as WorkOwner, Ba as operationEvidence, Ca as ThreadWorkStorage, Da as WorkIndexChange, Ea as WorkDiscoveryUnavailable, Fa as admissionWork, Ha as validateWorkPage, Ia as advanceWorkEntry, La as decodeWorkCursor, Ma as WorkThreadsPage, Na as WorkThreadsRequest, Oa as WorkIndexProgress, Pa as WorkerReportingMode, Ra as deliveryPredecessor, Sa as ThreadWorkRequest, Ta as WORK_INDEX_VERSION, Ua as workId, Va as resolveWorkEvidence, Wa as workIndexChanges, _a as MAX_WORK_REBUILD_RECORDS, ba as ThreadWorkEntry, da as MAX_RECOVERY_WORK_ITEMS, fa as MAX_WORK_CURSOR_CHARS, ga as MAX_WORK_REBUILD_BYTES, ha as MAX_WORK_PAGE_ENTRIES, ja as WorkStateReference, ka as WorkIndexRebuildRequest, la as CanonicalWorkEntry, ma as MAX_WORK_PAGE_BYTES, pa as MAX_WORK_ENTRY_BYTES, ua as MAX_RECOVERY_PAGES, va as ThreadWorkCursor, xa as ThreadWorkPage, ya as ThreadWorkDiscovery, za as encodeWorkCursor } from "../Admin-
|
|
1
|
+
import { Aa as WorkOwner, Ba as operationEvidence, Ca as ThreadWorkStorage, Da as WorkIndexChange, Ea as WorkDiscoveryUnavailable, Fa as admissionWork, Ha as validateWorkPage, Ia as advanceWorkEntry, La as decodeWorkCursor, Ma as WorkThreadsPage, Na as WorkThreadsRequest, Oa as WorkIndexProgress, Pa as WorkerReportingMode, Ra as deliveryPredecessor, Sa as ThreadWorkRequest, Ta as WORK_INDEX_VERSION, Ua as workId, Va as resolveWorkEvidence, Wa as workIndexChanges, _a as MAX_WORK_REBUILD_RECORDS, ba as ThreadWorkEntry, da as MAX_RECOVERY_WORK_ITEMS, fa as MAX_WORK_CURSOR_CHARS, ga as MAX_WORK_REBUILD_BYTES, ha as MAX_WORK_PAGE_ENTRIES, ja as WorkStateReference, ka as WorkIndexRebuildRequest, la as CanonicalWorkEntry, ma as MAX_WORK_PAGE_BYTES, pa as MAX_WORK_ENTRY_BYTES, ua as MAX_RECOVERY_PAGES, va as ThreadWorkCursor, xa as ThreadWorkPage, ya as ThreadWorkDiscovery, za as encodeWorkCursor } from "../Admin-BX9ns28E.mjs";
|
|
2
2
|
export { CanonicalWorkEntry, MAX_RECOVERY_PAGES, MAX_RECOVERY_WORK_ITEMS, MAX_WORK_CURSOR_CHARS, MAX_WORK_ENTRY_BYTES, MAX_WORK_PAGE_BYTES, MAX_WORK_PAGE_ENTRIES, MAX_WORK_REBUILD_BYTES, MAX_WORK_REBUILD_RECORDS, ThreadWorkCursor, ThreadWorkDiscovery, ThreadWorkEntry, ThreadWorkPage, ThreadWorkRequest, ThreadWorkStorage, WORK_INDEX_VERSION, WorkDiscoveryUnavailable, WorkIndexChange, WorkIndexProgress, WorkIndexRebuildRequest, WorkOwner, WorkStateReference, WorkThreadsPage, WorkThreadsRequest, WorkerReportingMode, admissionWork, advanceWorkEntry, decodeWorkCursor, deliveryPredecessor, encodeWorkCursor, operationEvidence, resolveWorkEvidence, validateWorkPage, workId, workIndexChanges };
|
|
@@ -5,8 +5,8 @@ import { IdempotencyKey, QueueSequence } from "../core/Receipt.mjs";
|
|
|
5
5
|
import { Z as RecordId, b as Digest, f as CanonicalSequence } from "../Records-BiuJDWNe.mjs";
|
|
6
6
|
import { s as digestJson } from "../Digest-DCuPlhNk.mjs";
|
|
7
7
|
import { x as runIdForSubmission } from "../RunJournal-kfKVxJj7.mjs";
|
|
8
|
-
import { J as ThreadStore, U as ThreadReader, X as ThreadStoreError } from "../ThreadStore-
|
|
9
|
-
import { a as canonicalRecordBytes, x as resolveEvidence } from "../RunContinuation-
|
|
8
|
+
import { J as ThreadStore, U as ThreadReader, X as ThreadStoreError } from "../ThreadStore-CEekRa80.mjs";
|
|
9
|
+
import { a as canonicalRecordBytes, x as resolveEvidence } from "../RunContinuation-DHYNAQFi.mjs";
|
|
10
10
|
import { Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
11
11
|
//#region src/durable/ThreadWork.ts
|
|
12
12
|
var ThreadWork_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -3,7 +3,7 @@ import { a as Receipt } from "../Receipt-BkM21Qiu.mjs";
|
|
|
3
3
|
import { r as Update } from "../AgentUpdates-DksV4D0A.mjs";
|
|
4
4
|
import { t as AgentPolicy } from "../AgentPolicy-B4lbCU2T.mjs";
|
|
5
5
|
import { b as DefinitionDigests } from "../Records-BTnGRdcf.mjs";
|
|
6
|
-
import { Gi as ThreadStoreError, Gt as LedgerError, Jr as AppendConflict, Mi as ThreadNotMaterialized, Ui as ThreadStore, Xt as OwnershipLost, Zt as ParentLinkage, _t as AdmissionPolicyError, bt as AdmissionResult, dn as SubmissionLedger, ft as AdmissionConflict } from "../Admin-
|
|
6
|
+
import { Gi as ThreadStoreError, Gt as LedgerError, Jr as AppendConflict, Mi as ThreadNotMaterialized, Ui as ThreadStore, Xt as OwnershipLost, Zt as ParentLinkage, _t as AdmissionPolicyError, bt as AdmissionResult, dn as SubmissionLedger, ft as AdmissionConflict } from "../Admin-BX9ns28E.mjs";
|
|
7
7
|
import { n as DurableRuntimeFailpoint, r as DurableRuntimeFailpointError } from "../DurableFailpoint-BugHZKvJ.mjs";
|
|
8
8
|
import { t as WakeScheduler } from "../WakeScheduler-DJIMMf77.mjs";
|
|
9
9
|
import { Context, Effect, Schema } from "effect";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as admitWorker, n as WorkerAdmissionPort, r as WorkerAdmissionRequest, t as WorkerAdmissionFailure } from "../WorkerAdmission-
|
|
1
|
+
import { a as admitWorker, n as WorkerAdmissionPort, r as WorkerAdmissionRequest, t as WorkerAdmissionFailure } from "../WorkerAdmission-DFVbbVh2.mjs";
|
|
2
2
|
export { WorkerAdmissionFailure, WorkerAdmissionPort, WorkerAdmissionRequest, admitWorker };
|
|
@@ -5,7 +5,7 @@ import { t as AgentPolicy } from "../AgentPolicy-B4lbCU2T.mjs";
|
|
|
5
5
|
import { r as AnyDefinition, t as Agent_d_exports } from "../Agent-9aBoIi74.mjs";
|
|
6
6
|
import { c as WorkerError, f as WorkerRef, h as WorkerSource } from "../Worker-CHRaIsWu.mjs";
|
|
7
7
|
import { Ft as WorkerContinuation, K as PersistedJson, S as Digest, b as DefinitionDigests, p as CanonicalSequence, zt as WorkerOrigin } from "../Records-BTnGRdcf.mjs";
|
|
8
|
-
import { vn as SubmissionSnapshot } from "../Admin-
|
|
8
|
+
import { vn as SubmissionSnapshot } from "../Admin-BX9ns28E.mjs";
|
|
9
9
|
import { Context, Effect, Option, Schema } from "effect";
|
|
10
10
|
declare namespace WorkerHost_d_exports {
|
|
11
11
|
export { WorkerBudgetAuthorizer, WorkerConcurrencyLimit, WorkerConcurrencyResolver, WorkerHostAuthorizationRequest, WorkerHostAuthorizer, WorkerHostConfig, WorkerHostLimits, WorkerPolicyResolver, WorkerPolicySource, WorkerPolicyTarget, WorkerStartAdmission };
|
package/dist/index.d.mts
CHANGED
|
@@ -61,29 +61,29 @@ import { t as ProvisionalText_d_exports } from "./core/ProvisionalText.mjs";
|
|
|
61
61
|
import { nt as Records_d_exports } from "./Records-BTnGRdcf.mjs";
|
|
62
62
|
import { t as ActivityStore_d_exports } from "./durable/ActivityStore.mjs";
|
|
63
63
|
import { n as Digest_d_exports } from "./Digest-DjUgS5PG.mjs";
|
|
64
|
-
import { Ar as SubmissionStatus_d_exports, Eo as RunJournal_d_exports, Yn as DurableAgentRuntime_d_exports, do as LifecyclePublication_d_exports, pn as SubmissionLedger_d_exports, q as Recovery_d_exports, qi as ThreadStore_d_exports, t as Admin_d_exports, to as ThreadArchiveRange_d_exports, wa as ThreadWork_d_exports, ws as AgentRegistration_d_exports } from "./Admin-
|
|
64
|
+
import { Ar as SubmissionStatus_d_exports, Eo as RunJournal_d_exports, Yn as DurableAgentRuntime_d_exports, do as LifecyclePublication_d_exports, pn as SubmissionLedger_d_exports, q as Recovery_d_exports, qi as ThreadStore_d_exports, t as Admin_d_exports, to as ThreadArchiveRange_d_exports, wa as ThreadWork_d_exports, ws as AgentRegistration_d_exports } from "./Admin-BX9ns28E.mjs";
|
|
65
65
|
import { t as DurableFailpoint_d_exports } from "./DurableFailpoint-BugHZKvJ.mjs";
|
|
66
66
|
import { a as OperationAuthorizer_d_exports } from "./OperationAuthorizer-TzcQtpX5.mjs";
|
|
67
|
-
import { s as RecordFormat_d_exports } from "./RecordFormat-
|
|
67
|
+
import { s as RecordFormat_d_exports } from "./RecordFormat-BNiLpe43.mjs";
|
|
68
68
|
import { l as ToolReconciler_d_exports } from "./ToolReconciler-SrOHkvF8.mjs";
|
|
69
69
|
import { n as WakeScheduler_d_exports } from "./WakeScheduler-DJIMMf77.mjs";
|
|
70
70
|
import { t as CommittedActivity_d_exports } from "./durable/CommittedActivity.mjs";
|
|
71
71
|
import { R as Schedule_d_exports } from "./Schedule-CDgTz0vj.mjs";
|
|
72
|
-
import { k as Subscription_d_exports } from "./Subscription-
|
|
73
|
-
import { n as EventSource_d_exports } from "./EventSource-
|
|
74
|
-
import { n as PreparedInputAdmission_d_exports } from "./PreparedInputAdmission-
|
|
75
|
-
import { r as SubscriptionInput_d_exports } from "./SubscriptionInput-
|
|
72
|
+
import { k as Subscription_d_exports } from "./Subscription-DONig54Q.mjs";
|
|
73
|
+
import { n as EventSource_d_exports } from "./EventSource-BwliwQz9.mjs";
|
|
74
|
+
import { n as PreparedInputAdmission_d_exports } from "./PreparedInputAdmission-CxSJSiTl.mjs";
|
|
75
|
+
import { r as SubscriptionInput_d_exports } from "./SubscriptionInput-mJIRxWJM.mjs";
|
|
76
76
|
import { t as Subscriptions_d_exports } from "./durable/Subscriptions.mjs";
|
|
77
|
-
import { g as MessageDelivery_d_exports } from "./MessageDelivery-
|
|
77
|
+
import { g as MessageDelivery_d_exports } from "./MessageDelivery-B943ebI_.mjs";
|
|
78
78
|
import { t as PersistentHistory_d_exports } from "./durable/PersistentHistory.mjs";
|
|
79
|
-
import { i as RunContinuation_d_exports } from "./RunContinuation-
|
|
79
|
+
import { i as RunContinuation_d_exports } from "./RunContinuation-FHM7XPjq.mjs";
|
|
80
80
|
import { t as ScheduleTransition_d_exports } from "./durable/ScheduleTransition.mjs";
|
|
81
81
|
import { t as Scheduling_d_exports } from "./durable/Scheduling.mjs";
|
|
82
82
|
import { t as SubscriptionTools_d_exports } from "./durable/SubscriptionTools.mjs";
|
|
83
83
|
import { t as SubscriptionTransition_d_exports } from "./durable/SubscriptionTransition.mjs";
|
|
84
84
|
import { t as ThreadContextHistory_d_exports } from "./durable/ThreadContextHistory.mjs";
|
|
85
85
|
import { t as ThreadContextHistoryProjection_d_exports } from "./durable/ThreadContextHistoryProjection.mjs";
|
|
86
|
-
import { l as ThreadImport_d_exports } from "./ThreadImport-
|
|
86
|
+
import { l as ThreadImport_d_exports } from "./ThreadImport-DpHxjBrA.mjs";
|
|
87
87
|
import { t as ThreadInvariants_d_exports } from "./durable/ThreadInvariants.mjs";
|
|
88
88
|
import { t as ThreadProjection_d_exports } from "./durable/ThreadProjection.mjs";
|
|
89
89
|
import { t as ThreadProjectionMaintenance_d_exports } from "./durable/ThreadProjectionMaintenance.mjs";
|
package/dist/index.mjs
CHANGED
|
@@ -72,7 +72,7 @@ import { t as Admin_exports } from "./durable/Admin.mjs";
|
|
|
72
72
|
import { t as AgentRegistration_exports } from "./durable/AgentRegistration.mjs";
|
|
73
73
|
import { t as RecordFormat_exports } from "./durable/RecordFormat.mjs";
|
|
74
74
|
import { n as RunJournal_exports } from "./RunJournal-kfKVxJj7.mjs";
|
|
75
|
-
import { Z as ThreadStore_exports } from "./ThreadStore-
|
|
75
|
+
import { Z as ThreadStore_exports } from "./ThreadStore-CEekRa80.mjs";
|
|
76
76
|
import { t as Schedule_exports } from "./durable/Schedule.mjs";
|
|
77
77
|
import { t as PreparedInputAdmission_exports } from "./durable/PreparedInputAdmission.mjs";
|
|
78
78
|
import { t as Subscription_exports } from "./durable/Subscription.mjs";
|
|
@@ -80,11 +80,11 @@ import { t as MessageDelivery_exports } from "./durable/MessageDelivery.mjs";
|
|
|
80
80
|
import { t as ThreadArchiveRange_exports } from "./durable/ThreadArchiveRange.mjs";
|
|
81
81
|
import { t as CommittedActivity_exports } from "./durable/CommittedActivity.mjs";
|
|
82
82
|
import { t as DurableFailpoint_exports } from "./durable/DurableFailpoint.mjs";
|
|
83
|
-
import { i as RunContinuation_exports } from "./RunContinuation-
|
|
83
|
+
import { i as RunContinuation_exports } from "./RunContinuation-DHYNAQFi.mjs";
|
|
84
84
|
import { t as ThreadWork_exports } from "./durable/ThreadWork.mjs";
|
|
85
85
|
import { t as WakeScheduler_exports } from "./durable/WakeScheduler.mjs";
|
|
86
|
-
import { r as DurableAgentRuntime_exports } from "./DurableAgentRuntime-
|
|
87
|
-
import { i as WorkerAdmission_exports } from "./WorkerAdmission-
|
|
86
|
+
import { r as DurableAgentRuntime_exports } from "./DurableAgentRuntime-BAmSkWYr.mjs";
|
|
87
|
+
import { i as WorkerAdmission_exports } from "./WorkerAdmission-DFVbbVh2.mjs";
|
|
88
88
|
import { t as WorkerHost_exports } from "./durable/WorkerHost.mjs";
|
|
89
89
|
import { t as OperationAuthorizer_exports } from "./durable/OperationAuthorizer.mjs";
|
|
90
90
|
import { t as SubmissionStatus_exports } from "./durable/SubmissionStatus.mjs";
|
|
@@ -97,8 +97,8 @@ import { t as SubscriptionInput_exports } from "./durable/SubscriptionInput.mjs"
|
|
|
97
97
|
import { t as Subscriptions_exports } from "./durable/Subscriptions.mjs";
|
|
98
98
|
import { t as SubscriptionTools_exports } from "./durable/SubscriptionTools.mjs";
|
|
99
99
|
import { t as SubscriptionTransition_exports } from "./durable/SubscriptionTransition.mjs";
|
|
100
|
-
import { o as ThreadImport_exports } from "./ThreadImport-
|
|
101
|
-
import { n as ThreadTransfer_exports } from "./ThreadTransfer-
|
|
100
|
+
import { o as ThreadImport_exports } from "./ThreadImport-DckUMEqJ.mjs";
|
|
101
|
+
import { n as ThreadTransfer_exports } from "./ThreadTransfer-B4gTQLIl.mjs";
|
|
102
102
|
import { t as ThreadInvariants_exports } from "./durable/ThreadInvariants.mjs";
|
|
103
103
|
import { t as ThreadProjection_exports } from "./durable/ThreadProjection.mjs";
|
|
104
104
|
import { t as ThreadProjectionMaintenance_exports } from "./durable/ThreadProjectionMaintenance.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { u as ThreadId } from "./Identifiers-CN2s30fF.mjs";
|
|
2
2
|
import { d as CanonicalRecordEnvelope, et as RecordId } from "./Records-BTnGRdcf.mjs";
|
|
3
|
-
import { Fi as ThreadPromptRead, Gi as ThreadStoreError, Mi as ThreadNotMaterialized, Ri as ThreadReader, Ss as JournalRecordEnvelope } from "./Admin-
|
|
3
|
+
import { Fi as ThreadPromptRead, Gi as ThreadStoreError, Mi as ThreadNotMaterialized, Ri as ThreadReader, Ss as JournalRecordEnvelope } from "./Admin-BX9ns28E.mjs";
|
|
4
4
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
5
5
|
//#region src/durable/internal/run-context-reader.d.ts
|
|
6
6
|
declare const RunContextReader_base: Context.ServiceClass<RunContextReader, "@effect-agent/thread/RunContextReader", {
|
|
@@ -14,4 +14,4 @@ declare class RunContextReader extends RunContextReader_base {
|
|
|
14
14
|
}
|
|
15
15
|
//#endregion
|
|
16
16
|
export { RunContextReader as t };
|
|
17
|
-
//# sourceMappingURL=run-context-reader-
|
|
17
|
+
//# sourceMappingURL=run-context-reader-OcsZr4bk.d.mts.map
|