@yielded/agent 0.1.0-beta.181 → 0.1.0-beta.183
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Admin-NvXFPDIM.d.mts → Admin-BgCHCGSl.d.mts} +8 -8
- package/dist/{AgentRuntime-Dx5u_FJD.d.mts → AgentRuntime-DhRchFzv.d.mts} +7 -4
- package/dist/{AgentRuntime-BAExRlgu.mjs → AgentRuntime-ILtyHuQG.mjs} +61 -45
- package/dist/AgentRuntime-ILtyHuQG.mjs.map +1 -0
- package/dist/{Digest-DjUgS5PG.d.mts → Digest-1iVcDLVm.d.mts} +2 -2
- package/dist/{Digest-ft4ku9pj.mjs → Digest-CzLJcsWv.mjs} +2 -2
- package/dist/{Digest-ft4ku9pj.mjs.map → Digest-CzLJcsWv.mjs.map} +1 -1
- package/dist/{DurableAgentRuntime-HH2muFrT.mjs → DurableAgentRuntime-Cj263rW9.mjs} +27 -57
- package/dist/DurableAgentRuntime-Cj263rW9.mjs.map +1 -0
- package/dist/{EventSource-DNyaWmyQ.d.mts → EventSource-CaA6RAtC.d.mts} +3 -3
- package/dist/InMemory.d.mts +1 -1
- package/dist/{MessageDelivery-CLzWJImC.d.mts → MessageDelivery-rlLpakO8.d.mts} +43 -43
- package/dist/{PreparedInputAdmission-BQ9UCLFS.d.mts → PreparedInputAdmission-DjbWz2lW.d.mts} +4 -4
- package/dist/{RecordFormat-BNiLpe43.d.mts → RecordFormat-CjMl0uu8.d.mts} +2 -2
- package/dist/{Records-BTnGRdcf.d.mts → Records-BP67Yz6n.d.mts} +20 -8
- package/dist/{Records-CZRedCE7.mjs → Records-bbGVHprv.mjs} +14 -10
- package/dist/Records-bbGVHprv.mjs.map +1 -0
- package/dist/{RunContinuation-CL0wBsQE.d.mts → RunContinuation-CIJRN_vC.d.mts} +5 -4
- package/dist/{RunContinuation-BF95Ncv2.mjs → RunContinuation-DJ6kkbQG.mjs} +22 -58
- package/dist/RunContinuation-DJ6kkbQG.mjs.map +1 -0
- package/dist/{RunEvent-C5jVQZ6K.d.mts → RunEvent-Bh1p4zAO.d.mts} +2 -2
- package/dist/{RunJournal-oJLo-pjS.mjs → RunJournal-DQr2dUgg.mjs} +4 -7
- package/dist/RunJournal-DQr2dUgg.mjs.map +1 -0
- package/dist/{RunOptions-BANtohGk.d.mts → RunOptions-aBHR-Eqm.d.mts} +6 -3
- package/dist/{RunStorage-DlfvMfHM.mjs → RunStorage-DblN-cmM.mjs} +2 -2
- package/dist/{RunStorage-DlfvMfHM.mjs.map → RunStorage-DblN-cmM.mjs.map} +1 -1
- package/dist/{Schedule-CDgTz0vj.d.mts → Schedule-CVLtl5rP.d.mts} +2 -2
- package/dist/{Scheduling-BebkRVc2.mjs → Scheduling-B6l0lWdr.mjs} +3 -3
- package/dist/{Scheduling-BebkRVc2.mjs.map → Scheduling-B6l0lWdr.mjs.map} +1 -1
- package/dist/{Subagent-D68fe7mr.mjs → Subagent-Bm842K7J.mjs} +43 -17
- package/dist/Subagent-Bm842K7J.mjs.map +1 -0
- package/dist/{Subagent-5ulnV6An.d.mts → Subagent-CWWmA1UQ.d.mts} +17 -5
- package/dist/{Subscription-D2yn6Eo3.d.mts → Subscription-BRsNy0TA.d.mts} +4 -4
- package/dist/{SubscriptionInput-Cog4x7Rd.d.mts → SubscriptionInput-ClCaW_kX.d.mts} +3 -3
- package/dist/{ThreadHistory-KPPBJLJb.d.mts → ThreadHistory-ajQhqZDY.d.mts} +2 -2
- package/dist/{ThreadImport-BoTfjjrz.mjs → ThreadImport-CkPAxXU5.mjs} +7 -7
- package/dist/{ThreadImport-BoTfjjrz.mjs.map → ThreadImport-CkPAxXU5.mjs.map} +1 -1
- package/dist/{ThreadImport-em89zmM-.d.mts → ThreadImport-DtRNoHIr.d.mts} +5 -5
- package/dist/{ThreadStore-D2rqtt7k.mjs → ThreadStore-C_ofHc7h.mjs} +4 -4
- package/dist/{ThreadStore-D2rqtt7k.mjs.map → ThreadStore-C_ofHc7h.mjs.map} +1 -1
- package/dist/{ThreadTransfer-BFolkpEp.mjs → ThreadTransfer-C_TRuo_9.mjs} +4 -4
- package/dist/{ThreadTransfer-BFolkpEp.mjs.map → ThreadTransfer-C_TRuo_9.mjs.map} +1 -1
- package/dist/{WorkerAdmission-DrxDrLII.mjs → WorkerAdmission-9Ka3edXj.mjs} +5 -5
- package/dist/{WorkerAdmission-DrxDrLII.mjs.map → WorkerAdmission-9Ka3edXj.mjs.map} +1 -1
- package/dist/{agent-registration-BovXT8jc.mjs → agent-registration-7kp1dHT0.mjs} +4 -4
- package/dist/{agent-registration-BovXT8jc.mjs.map → agent-registration-7kp1dHT0.mjs.map} +1 -1
- package/dist/capabilities/Commands.d.mts +1 -1
- package/dist/capabilities/Redaction.d.mts +1 -1
- package/dist/capabilities/RunHooks.d.mts +1 -1
- package/dist/capabilities/Subagent.d.mts +1 -1
- package/dist/capabilities/Subagent.mjs +1 -1
- package/dist/capabilities/SubagentReservations.d.mts +4 -1
- package/dist/capabilities/SubagentReservations.mjs +4 -1
- package/dist/capabilities/SubagentReservations.mjs.map +1 -1
- package/dist/core/RunEvent.d.mts +1 -1
- package/dist/core/RunEvent.mjs +1 -1
- package/dist/core/RunEvent.mjs.map +1 -1
- package/dist/durable/ActivityStore.d.mts +1 -1
- package/dist/durable/ActivityStore.mjs +1 -1
- package/dist/durable/Admin.d.mts +1 -1
- package/dist/durable/Admin.mjs +1 -1
- package/dist/durable/AgentRegistration.d.mts +1 -1
- package/dist/durable/AgentRegistration.mjs +1 -1
- package/dist/durable/Certification.d.mts +1 -1
- package/dist/durable/CommittedActivity.d.mts +3 -3
- package/dist/durable/CommittedActivity.mjs +3 -3
- package/dist/durable/Digest.d.mts +1 -1
- package/dist/durable/Digest.mjs +1 -1
- package/dist/durable/DurableAgentRuntime.d.mts +1 -1
- package/dist/durable/DurableAgentRuntime.mjs +2 -2
- package/dist/durable/EventSource.d.mts +1 -1
- package/dist/durable/EventSource.mjs +1 -1
- package/dist/durable/GitHubWorkflowSource.d.mts +3 -3
- package/dist/durable/LifecyclePublication.d.mts +1 -1
- package/dist/durable/LifecyclePublication.mjs +2 -2
- package/dist/durable/MessageDelivery.d.mts +1 -1
- package/dist/durable/MessageDelivery.mjs +2 -2
- package/dist/durable/MessageDeliveryStoreConformance.d.mts +42 -42
- package/dist/durable/MessageDeliveryStoreConformance.mjs +2 -2
- package/dist/durable/PersistentHistory.d.mts +2 -2
- package/dist/durable/PersistentHistory.mjs +4 -4
- package/dist/durable/PreparedInputAdmission.d.mts +1 -1
- package/dist/durable/RecordFormat.d.mts +1 -1
- package/dist/durable/RecordFormat.mjs +1 -1
- package/dist/durable/Records.d.mts +1 -1
- package/dist/durable/Records.mjs +1 -1
- package/dist/durable/Recovery.d.mts +1 -1
- package/dist/durable/Recovery.mjs +1 -1
- package/dist/durable/RunContinuation.d.mts +3 -3
- package/dist/durable/RunContinuation.mjs +3 -3
- package/dist/durable/RunJournal.d.mts +1 -1
- package/dist/durable/RunJournal.mjs +1 -1
- package/dist/durable/RunStorage.d.mts +1 -1
- package/dist/durable/RunStorage.mjs +1 -1
- package/dist/durable/Schedule.d.mts +1 -1
- package/dist/durable/Schedule.mjs +1 -1
- package/dist/durable/ScheduleStoreConformance.d.mts +1 -1
- package/dist/durable/ScheduleStoreConformance.mjs +1 -1
- package/dist/durable/ScheduleTransition.d.mts +1 -1
- package/dist/durable/ScheduleTransition.mjs +1 -1
- package/dist/durable/Scheduling.d.mts +3 -3
- package/dist/durable/Scheduling.mjs +1 -1
- package/dist/durable/SettlementPublisher.d.mts +1 -1
- package/dist/durable/SettlementPublisher.mjs +3 -3
- package/dist/durable/SubmissionLedger.d.mts +1 -1
- package/dist/durable/SubmissionLedger.mjs +2 -2
- package/dist/durable/SubmissionLedgerConformance.d.mts +2 -2
- package/dist/durable/SubmissionLedgerConformance.mjs +5 -5
- package/dist/durable/SubmissionStatus.d.mts +1 -1
- package/dist/durable/Subscription.d.mts +1 -1
- package/dist/durable/Subscription.mjs +1 -1
- package/dist/durable/SubscriptionInput.d.mts +1 -1
- package/dist/durable/SubscriptionInput.mjs +2 -2
- package/dist/durable/SubscriptionStoreConformance.d.mts +1 -1
- package/dist/durable/SubscriptionStoreConformance.mjs +1 -1
- package/dist/durable/SubscriptionTools.d.mts +4 -4
- package/dist/durable/SubscriptionTransition.d.mts +1 -1
- package/dist/durable/SubscriptionTransition.mjs +1 -1
- package/dist/durable/Subscriptions.d.mts +6 -6
- package/dist/durable/Subscriptions.mjs +2 -2
- package/dist/durable/ThreadArchiveRange.d.mts +1 -1
- package/dist/durable/ThreadArchiveRange.mjs +1 -1
- package/dist/durable/ThreadContextHistory.d.mts +1 -1
- package/dist/durable/ThreadContextHistory.mjs +2 -2
- package/dist/durable/ThreadContextHistoryProjection.d.mts +1 -1
- package/dist/durable/ThreadContextHistoryProjection.mjs +1 -1
- package/dist/durable/ThreadImport.d.mts +1 -1
- package/dist/durable/ThreadImport.mjs +1 -1
- package/dist/durable/ThreadInvariants.d.mts +3 -3
- package/dist/durable/ThreadInvariants.mjs +4 -4
- package/dist/durable/ThreadProjection.d.mts +1 -1
- package/dist/durable/ThreadProjection.mjs +1 -1
- package/dist/durable/ThreadProjectionMaintenance.d.mts +1 -1
- package/dist/durable/ThreadReader.d.mts +1 -1
- package/dist/durable/ThreadReader.mjs +1 -1
- package/dist/durable/ThreadStore.d.mts +2 -2
- package/dist/durable/ThreadStore.mjs +2 -2
- package/dist/durable/ThreadStoreConformance.d.mts +2 -2
- package/dist/durable/ThreadStoreConformance.mjs +4 -4
- package/dist/durable/ThreadTransfer.d.mts +2 -2
- package/dist/durable/ThreadTransfer.mjs +1 -1
- package/dist/durable/ThreadWork.d.mts +1 -1
- package/dist/durable/ThreadWork.mjs +5 -5
- package/dist/durable/ToolReconciler.mjs +1 -1
- package/dist/durable/WorkerAdmission.d.mts +2 -2
- package/dist/durable/WorkerAdmission.mjs +1 -1
- package/dist/durable/WorkerHost.d.mts +2 -2
- package/dist/engine/AgentRuntime.d.mts +1 -1
- package/dist/engine/AgentRuntime.mjs +1 -1
- package/dist/engine/RunOptions.d.mts +1 -1
- package/dist/engine/RunOptions.mjs.map +1 -1
- package/dist/engine/ThreadHistory.d.mts +1 -1
- package/dist/index.d.mts +17 -17
- package/dist/index.mjs +12 -12
- package/dist/{run-context-reader-kpO9xhP2.d.mts → run-context-reader-DEU4REfD.d.mts} +3 -3
- package/package.json +1 -1
- package/src/capabilities/Subagent.ts +83 -28
- package/src/capabilities/SubagentReservations.ts +4 -1
- package/src/capabilities/internal/subagent-contract.ts +23 -3
- package/src/core/RunEvent.ts +1 -1
- package/src/durable/DurableAgentRuntime.ts +64 -14
- package/src/durable/Records.ts +21 -15
- package/src/durable/RunContinuation.ts +64 -125
- package/src/durable/RunJournal.ts +4 -12
- package/src/durable/internal/history-prompt.ts +10 -4
- package/src/durable/internal/initial-context.ts +1 -1
- package/src/durable/internal/prompt-history-cache.ts +8 -63
- package/src/engine/RunOptions.ts +4 -1
- package/src/engine/internal/agent-runtime.ts +422 -387
- package/dist/AgentRuntime-BAExRlgu.mjs.map +0 -1
- package/dist/DurableAgentRuntime-HH2muFrT.mjs.map +0 -1
- package/dist/Records-CZRedCE7.mjs.map +0 -1
- package/dist/RunContinuation-BF95Ncv2.mjs.map +0 -1
- package/dist/RunJournal-oJLo-pjS.mjs.map +0 -1
- package/dist/Subagent-D68fe7mr.mjs.map +0 -1
- package/dist/json-BlJVQZxN.mjs +0 -15
- package/dist/json-BlJVQZxN.mjs.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as make, c as makeStorageOwner, i as layer, n as RunChildBudgetReservation, o as makeRunWriter, r as RunStorage, s as StorageOwner, t as RunChildAttachment } from "../RunStorage-
|
|
1
|
+
import { a as make, c as makeStorageOwner, i as layer, n as RunChildBudgetReservation, o as makeRunWriter, r as RunStorage, s as StorageOwner, t as RunChildAttachment } from "../RunStorage-DblN-cmM.mjs";
|
|
2
2
|
export { RunChildAttachment, RunChildBudgetReservation, RunStorage, StorageOwner, layer, make, makeRunWriter, makeStorageOwner };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as ScheduleSnapshotPage, B as ScheduledInputAdmission, C as ScheduleRecord, D as ScheduleScope, E as ScheduleRetryReason, F as ScheduleTimingRequest, G as defaultSchedulingLimits, H as ScheduledInputRefused, I as ScheduleValidationError, L as ScheduleWake, M as ScheduleStore, N as ScheduleStoreFailure, O as ScheduleSkippedRange, P as ScheduleTiming, S as SchedulePending, T as ScheduleRetry, U as ScheduledInputRetryable, V as ScheduledInputFailure, W as SchedulingLimits, _ as ScheduleNotFound, a as ScheduleChange, b as SchedulePage, c as ScheduleDestination, d as ScheduleFailpointError, f as ScheduleId, g as ScheduleManagementOperation, h as ScheduleManagementAuthorization, i as ScheduleCapacityError, j as ScheduleStorageError, k as ScheduleSnapshot, l as ScheduleDueCursor, m as ScheduleKey, n as ScheduleAuthorizationError, o as ScheduleConfiguration, p as ScheduleInstant, r as ScheduleAuthorizer, s as ScheduleConflict, t as ScheduleAuthorizationDecision, u as ScheduleFailpoint, v as ScheduleOccurrenceAuthorization, w as ScheduleRefusal, x as SchedulePageRequest, y as ScheduleOwner, z as ScheduledEnvelope } from "../Schedule-
|
|
1
|
+
import { A as ScheduleSnapshotPage, B as ScheduledInputAdmission, C as ScheduleRecord, D as ScheduleScope, E as ScheduleRetryReason, F as ScheduleTimingRequest, G as defaultSchedulingLimits, H as ScheduledInputRefused, I as ScheduleValidationError, L as ScheduleWake, M as ScheduleStore, N as ScheduleStoreFailure, O as ScheduleSkippedRange, P as ScheduleTiming, S as SchedulePending, T as ScheduleRetry, U as ScheduledInputRetryable, V as ScheduledInputFailure, W as SchedulingLimits, _ as ScheduleNotFound, a as ScheduleChange, b as SchedulePage, c as ScheduleDestination, d as ScheduleFailpointError, f as ScheduleId, g as ScheduleManagementOperation, h as ScheduleManagementAuthorization, i as ScheduleCapacityError, j as ScheduleStorageError, k as ScheduleSnapshot, l as ScheduleDueCursor, m as ScheduleKey, n as ScheduleAuthorizationError, o as ScheduleConfiguration, p as ScheduleInstant, r as ScheduleAuthorizer, s as ScheduleConflict, t as ScheduleAuthorizationDecision, u as ScheduleFailpoint, v as ScheduleOccurrenceAuthorization, w as ScheduleRefusal, x as SchedulePageRequest, y as ScheduleOwner, z as ScheduledEnvelope } from "../Schedule-CVLtl5rP.mjs";
|
|
2
2
|
export { ScheduleAuthorizationDecision, ScheduleAuthorizationError, ScheduleAuthorizer, ScheduleCapacityError, ScheduleChange, ScheduleConfiguration, ScheduleConflict, ScheduleDestination, ScheduleDueCursor, ScheduleFailpoint, ScheduleFailpointError, ScheduleId, ScheduleInstant, ScheduleKey, ScheduleManagementAuthorization, ScheduleManagementOperation, ScheduleNotFound, ScheduleOccurrenceAuthorization, ScheduleOwner, SchedulePage, SchedulePageRequest, SchedulePending, ScheduleRecord, ScheduleRefusal, ScheduleRetry, ScheduleRetryReason, ScheduleScope, ScheduleSkippedRange, ScheduleSnapshot, ScheduleSnapshotPage, ScheduleStorageError, ScheduleStore, ScheduleStoreFailure, ScheduleTiming, ScheduleTimingRequest, ScheduleValidationError, ScheduleWake, ScheduledEnvelope, ScheduledInputAdmission, ScheduledInputFailure, ScheduledInputRefused, ScheduledInputRetryable, SchedulingLimits, defaultSchedulingLimits };
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
|
2
2
|
import { AgentId, ThreadId } from "../core/Identifiers.mjs";
|
|
3
3
|
import { IdempotencyKey, Principal, Receipt } from "../core/Receipt.mjs";
|
|
4
4
|
import { o as Value } from "../FailureDiagnostic-D9oW23Cn.mjs";
|
|
5
|
-
import { U as PersistedJson, b as Digest, v as DefinitionDigests } from "../Records-
|
|
5
|
+
import { U as PersistedJson, b as Digest, v as DefinitionDigests } from "../Records-bbGVHprv.mjs";
|
|
6
6
|
import { AdmissionFence, AdmissionGroup } from "./SubmissionLedger.mjs";
|
|
7
7
|
import { Context, Effect, Schema } from "effect";
|
|
8
8
|
//#region src/durable/Schedule.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as ScheduleStore, N as ScheduleStoreFailure } from "../Schedule-
|
|
1
|
+
import { M as ScheduleStore, N as ScheduleStoreFailure } from "../Schedule-CVLtl5rP.mjs";
|
|
2
2
|
import { Effect, Schema } from "effect";
|
|
3
3
|
//#region src/durable/ScheduleStoreConformance.d.ts
|
|
4
4
|
declare const ScheduleStoreConformanceViolation_base: Schema.Class<ScheduleStoreConformanceViolation, Schema.TaggedStruct<"ScheduleStoreConformanceViolation", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AgentId, ReceiptId, SubmissionId, ThreadId } from "../core/Identifiers.mjs";
|
|
2
2
|
import { IdempotencyKey, Principal, QueueSequence, Receipt } from "../core/Receipt.mjs";
|
|
3
|
-
import { b as Digest, v as DefinitionDigests } from "../Records-
|
|
3
|
+
import { b as Digest, v as DefinitionDigests } from "../Records-bbGVHprv.mjs";
|
|
4
4
|
import { ScheduleCapacityError, ScheduleId, ScheduleStore } from "./Schedule.mjs";
|
|
5
5
|
import { Effect, Result, Schema } from "effect";
|
|
6
6
|
//#region src/durable/ScheduleStoreConformance.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as ScheduleRecord, a as ScheduleChange, m as ScheduleKey, s as ScheduleConflict, y as ScheduleOwner } from "../Schedule-
|
|
1
|
+
import { C as ScheduleRecord, a as ScheduleChange, m as ScheduleKey, s as ScheduleConflict, y as ScheduleOwner } from "../Schedule-CVLtl5rP.mjs";
|
|
2
2
|
import { Result } from "effect";
|
|
3
3
|
declare namespace ScheduleTransition_d_exports {
|
|
4
4
|
export { applyScheduleChange, compareScheduleKeys, compareScheduleNames, scheduleDeadline, scheduleKeyOf, scheduleKeyString, scheduleOwnerKey, scheduleUsesCapacity };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
2
|
-
import { U as PersistedJson, v as DefinitionDigests } from "../Records-
|
|
2
|
+
import { U as PersistedJson, v as DefinitionDigests } from "../Records-bbGVHprv.mjs";
|
|
3
3
|
import { AdmissionFence } from "./SubmissionLedger.mjs";
|
|
4
4
|
import { ScheduleConflict } from "./Schedule.mjs";
|
|
5
5
|
import { Result, Schema } from "effect";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as Principal } from "../Receipt-BkM21Qiu.mjs";
|
|
2
|
-
import { b as DefinitionDigests } from "../Records-
|
|
3
|
-
import { cr as DurableSubmitAgent, pt as AdmissionFence } from "../Admin-
|
|
4
|
-
import { A as ScheduleSnapshotPage, B as ScheduledInputAdmission, C as ScheduleRecord, D as ScheduleScope, F as ScheduleTimingRequest, I as ScheduleValidationError, L as ScheduleWake, M as ScheduleStore, N as ScheduleStoreFailure, W as SchedulingLimits, c as ScheduleDestination, f as ScheduleId, j as ScheduleStorageError, k as ScheduleSnapshot, m as ScheduleKey, n as ScheduleAuthorizationError, r as ScheduleAuthorizer, y as ScheduleOwner } from "../Schedule-
|
|
2
|
+
import { b as DefinitionDigests } from "../Records-BP67Yz6n.mjs";
|
|
3
|
+
import { cr as DurableSubmitAgent, pt as AdmissionFence } from "../Admin-BgCHCGSl.mjs";
|
|
4
|
+
import { A as ScheduleSnapshotPage, B as ScheduledInputAdmission, C as ScheduleRecord, D as ScheduleScope, F as ScheduleTimingRequest, I as ScheduleValidationError, L as ScheduleWake, M as ScheduleStore, N as ScheduleStoreFailure, W as SchedulingLimits, c as ScheduleDestination, f as ScheduleId, j as ScheduleStorageError, k as ScheduleSnapshot, m as ScheduleKey, n as ScheduleAuthorizationError, r as ScheduleAuthorizer, y as ScheduleOwner } from "../Schedule-CVLtl5rP.mjs";
|
|
5
5
|
import { Context, Crypto, Effect, Layer, Schema } from "effect";
|
|
6
6
|
declare namespace Scheduling_d_exports {
|
|
7
7
|
export { ScheduleCreateOptions, ScheduleDriver, ScheduleListOptions, ScheduleManagementFailure, ScheduleProcessFailure, ScheduleUpdateOptions, ScheduleWakeNoop, Scheduling };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ScheduleWakeNoop, r as Scheduling, t as ScheduleDriver } from "../Scheduling-
|
|
1
|
+
import { n as ScheduleWakeNoop, r as Scheduling, t as ScheduleDriver } from "../Scheduling-B6l0lWdr.mjs";
|
|
2
2
|
export { ScheduleDriver, ScheduleWakeNoop, Scheduling };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Br as SettlementPublication, Gr as validateCanonicalSettlement, Hr as SettlementPublicationFailure, Kr as validateJoinedSettlement, Ur as SettlementPublicationResult, Vr as SettlementPublicationAuthority, Wr as SettlementPublisher, qr as validatePublication } from "../Admin-
|
|
1
|
+
import { Br as SettlementPublication, Gr as validateCanonicalSettlement, Hr as SettlementPublicationFailure, Kr as validateJoinedSettlement, Ur as SettlementPublicationResult, Vr as SettlementPublicationAuthority, Wr as SettlementPublisher, qr as validatePublication } from "../Admin-BgCHCGSl.mjs";
|
|
2
2
|
export { SettlementPublication, SettlementPublicationAuthority, SettlementPublicationFailure, SettlementPublicationResult, SettlementPublisher, validateCanonicalSettlement, validateJoinedSettlement, validatePublication };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { SubmissionId } from "../core/Identifiers.mjs";
|
|
2
|
-
import { X as RecordEnvelope, f as CanonicalSequence, gt as SubmissionSettled } from "../Records-
|
|
2
|
+
import { X as RecordEnvelope, f as CanonicalSequence, gt as SubmissionSettled } from "../Records-bbGVHprv.mjs";
|
|
3
3
|
import { LedgerError, submissionSettlementBatchId, submissionSettlementId, submissionSettlementRecordId } from "./SubmissionLedger.mjs";
|
|
4
|
-
import { S as runIdForSubmission } from "../RunJournal-
|
|
5
|
-
import { g as PreparedAppend, n as AppendRequest } from "../ThreadStore-
|
|
4
|
+
import { S as runIdForSubmission } from "../RunJournal-DQr2dUgg.mjs";
|
|
5
|
+
import { g as PreparedAppend, n as AppendRequest } from "../ThreadStore-C_ofHc7h.mjs";
|
|
6
6
|
import { Context, Effect, Schema } from "effect";
|
|
7
7
|
//#region src/durable/SettlementPublisher.ts
|
|
8
8
|
/** Authority rechecked atomically on every publication attempt, including canonical replay. */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { i as QueueSequence, n as JoinedToHost, r as Principal, t as IdempotencyKey } from "../Receipt-BkM21Qiu.mjs";
|
|
2
|
-
import { $t as RecoverySnapshotRequest, An as WaitingChild, At as ChildReservationConflict, Bn as submissionSettlementBatchId, Bt as FundingOwnerRequest, Cn as SuspensionReason, Ct as ApprovalDecisionIntent, Dn as UnknownResolutionConflict, Dt as ChildAttachmentSnapshot, En as UnknownResolutionCommand, Et as BeginChildBudgetReleaseRequest, Fn as settlementFailureFromRecord, Ft as Claim, Gn as workerTerminalFromRecord, Gt as LedgerError, Hn as submissionSettlementRecordId, Ht as JoinSnapshot, In as submissionAbortBatchId, It as ClaimHandoff, Jt as MarkReadyRequest, Kt as MarkInputAppliedRequest, Ln as submissionAbortRecordId, Lt as ClaimJoiningRequest, Mn as WorkerLedgerState, Mt as ChildReservationStatus, Nn as WorkerStopCommand, Nt as ChildSettledNotification, On as UnknownResolutionIntent, Ot as ChildBudgetReservationRequest, Pn as approvalDecisionsCover, Pt as ChildSettledOutcome, Qt as RecoverySnapshot, Rn as submissionInputBatchId, Rt as ClaimRequest, Sn as SuspensionOutcome, St as ApprovalDecisionCommand, Tn as UnknownResolution, Tt as AttachChildToReservationRequest, Un as unknownResolutionKind, Ut as JoiningClaim, Vn as submissionSettlementId, Vt as InputAppliedMarker, Wn as unknownResolutionMatchesResult, Wt as LedgerCapabilities, Xt as OwnershipLost, Yt as MarkUnknownRequest, Zt as ParentLinkage, _n as SubmissionScheduling, _t as AdmissionPolicyError, an as ResolutionSafeToRetry, bn as SubmissionWorkItem, bt as AdmissionResult, cn as SettlementConflict, ct as AbortCommand, dn as SubmissionLedger, dt as AdmissionAdmitted, en as ReleaseChildBudgetRequest, fn as SubmissionLedgerFailure, ft as AdmissionConflict, gn as SubmissionLookupByKey, gt as AdmissionNotAdmitted, hn as SubmissionLookupById, ht as AdmissionIndeterminate, in as ResolutionNeverHappened, jn as WaitingForChildSuspension, jt as ChildReservationId, kn as UnknownResolutionKind, kt as ChildBudgetReservationSnapshot, ln as SettlementFinalization, lt as AbortIntent, mn as SubmissionLookup, mt as AdmissionGroup, nn as ResolutionAbortSubmission, on as RevertJoiningRequest, pt as AdmissionFence, qt as MarkJoinedRequest, rn as ResolutionCompletedWithResult, sn as Settlement, tn as ReservedChildBudget, un as SubmissionAdmissionFence, ut as AbortIntentRequest, vn as SubmissionSnapshot, vt as AdmissionRequest, wn as SuspensionSnapshot, wt as ApprovalPendingSuspension, xn as SuspendRequest, xt as ApprovalConflict, yn as SubmissionState, yt as AdmissionResolution, zn as submissionInputRecordId, zt as FundingOwner } from "../Admin-
|
|
2
|
+
import { $t as RecoverySnapshotRequest, An as WaitingChild, At as ChildReservationConflict, Bn as submissionSettlementBatchId, Bt as FundingOwnerRequest, Cn as SuspensionReason, Ct as ApprovalDecisionIntent, Dn as UnknownResolutionConflict, Dt as ChildAttachmentSnapshot, En as UnknownResolutionCommand, Et as BeginChildBudgetReleaseRequest, Fn as settlementFailureFromRecord, Ft as Claim, Gn as workerTerminalFromRecord, Gt as LedgerError, Hn as submissionSettlementRecordId, Ht as JoinSnapshot, In as submissionAbortBatchId, It as ClaimHandoff, Jt as MarkReadyRequest, Kt as MarkInputAppliedRequest, Ln as submissionAbortRecordId, Lt as ClaimJoiningRequest, Mn as WorkerLedgerState, Mt as ChildReservationStatus, Nn as WorkerStopCommand, Nt as ChildSettledNotification, On as UnknownResolutionIntent, Ot as ChildBudgetReservationRequest, Pn as approvalDecisionsCover, Pt as ChildSettledOutcome, Qt as RecoverySnapshot, Rn as submissionInputBatchId, Rt as ClaimRequest, Sn as SuspensionOutcome, St as ApprovalDecisionCommand, Tn as UnknownResolution, Tt as AttachChildToReservationRequest, Un as unknownResolutionKind, Ut as JoiningClaim, Vn as submissionSettlementId, Vt as InputAppliedMarker, Wn as unknownResolutionMatchesResult, Wt as LedgerCapabilities, Xt as OwnershipLost, Yt as MarkUnknownRequest, Zt as ParentLinkage, _n as SubmissionScheduling, _t as AdmissionPolicyError, an as ResolutionSafeToRetry, bn as SubmissionWorkItem, bt as AdmissionResult, cn as SettlementConflict, ct as AbortCommand, dn as SubmissionLedger, dt as AdmissionAdmitted, en as ReleaseChildBudgetRequest, fn as SubmissionLedgerFailure, ft as AdmissionConflict, gn as SubmissionLookupByKey, gt as AdmissionNotAdmitted, hn as SubmissionLookupById, ht as AdmissionIndeterminate, in as ResolutionNeverHappened, jn as WaitingForChildSuspension, jt as ChildReservationId, kn as UnknownResolutionKind, kt as ChildBudgetReservationSnapshot, ln as SettlementFinalization, lt as AbortIntent, mn as SubmissionLookup, mt as AdmissionGroup, nn as ResolutionAbortSubmission, on as RevertJoiningRequest, pt as AdmissionFence, qt as MarkJoinedRequest, rn as ResolutionCompletedWithResult, sn as Settlement, tn as ReservedChildBudget, un as SubmissionAdmissionFence, ut as AbortIntentRequest, vn as SubmissionSnapshot, vt as AdmissionRequest, wn as SuspensionSnapshot, wt as ApprovalPendingSuspension, xn as SuspendRequest, xt as ApprovalConflict, yn as SubmissionState, yt as AdmissionResolution, zn as submissionInputRecordId, zt as FundingOwner } from "../Admin-BgCHCGSl.mjs";
|
|
3
3
|
export { AbortCommand, AbortIntent, AbortIntentRequest, AdmissionAdmitted, AdmissionConflict, AdmissionFence, AdmissionGroup, AdmissionIndeterminate, AdmissionNotAdmitted, AdmissionPolicyError, AdmissionRequest, AdmissionResolution, AdmissionResult, ApprovalConflict, ApprovalDecisionCommand, ApprovalDecisionIntent, ApprovalPendingSuspension, AttachChildToReservationRequest, BeginChildBudgetReleaseRequest, ChildAttachmentSnapshot, ChildBudgetReservationRequest, ChildBudgetReservationSnapshot, ChildReservationConflict, ChildReservationId, ChildReservationStatus, ChildSettledNotification, ChildSettledOutcome, Claim, ClaimHandoff, ClaimJoiningRequest, ClaimRequest, FundingOwner, FundingOwnerRequest, IdempotencyKey, InputAppliedMarker, JoinSnapshot, JoinedToHost, JoiningClaim, LedgerCapabilities, LedgerError, MarkInputAppliedRequest, MarkJoinedRequest, MarkReadyRequest, MarkUnknownRequest, OwnershipLost, ParentLinkage, Principal, QueueSequence, RecoverySnapshot, RecoverySnapshotRequest, ReleaseChildBudgetRequest, ReservedChildBudget, ResolutionAbortSubmission, ResolutionCompletedWithResult, ResolutionNeverHappened, ResolutionSafeToRetry, RevertJoiningRequest, Settlement, SettlementConflict, SettlementFinalization, SubmissionAdmissionFence, SubmissionLedger, SubmissionLedgerFailure, SubmissionLookup, SubmissionLookupById, SubmissionLookupByKey, SubmissionScheduling, SubmissionSnapshot, SubmissionState, SubmissionWorkItem, SuspendRequest, SuspensionOutcome, SuspensionReason, SuspensionSnapshot, UnknownResolution, UnknownResolutionCommand, UnknownResolutionConflict, UnknownResolutionIntent, UnknownResolutionKind, WaitingChild, WaitingForChildSuspension, WorkerLedgerState, WorkerStopCommand, approvalDecisionsCover, settlementFailureFromRecord, submissionAbortBatchId, submissionAbortRecordId, submissionInputBatchId, submissionInputRecordId, submissionSettlementBatchId, submissionSettlementId, submissionSettlementRecordId, unknownResolutionKind, unknownResolutionMatchesResult, workerTerminalFromRecord };
|
|
@@ -5,8 +5,8 @@ import { o as Value } from "../FailureDiagnostic-D9oW23Cn.mjs";
|
|
|
5
5
|
import { RunUsageSummary } from "../core/Usage.mjs";
|
|
6
6
|
import { n as AssignmentTerminal } from "../Worker-CtuUwYOK.mjs";
|
|
7
7
|
import { l as InputMessage } from "../MessagingHost-BILcuj0V.mjs";
|
|
8
|
-
import { Ct as ToolCallResolved, Tt as ToolCallUnknown, U as PersistedJson, Z as RecordId, b as Digest, bt as ToolApprovalDecided, dt as SettlementOutcome, f as CanonicalSequence, jt as WorkerAdmission, r as ApprovalDecision, t as AbortRequested, ut as SettlementFailureDiagnostic, v as DefinitionDigests, y as DeploymentId } from "../Records-
|
|
9
|
-
import { r as canonicalJson } from "../Digest-
|
|
8
|
+
import { Ct as ToolCallResolved, Tt as ToolCallUnknown, U as PersistedJson, Z as RecordId, b as Digest, bt as ToolApprovalDecided, dt as SettlementOutcome, f as CanonicalSequence, jt as WorkerAdmission, r as ApprovalDecision, t as AbortRequested, ut as SettlementFailureDiagnostic, v as DefinitionDigests, y as DeploymentId } from "../Records-bbGVHprv.mjs";
|
|
9
|
+
import { r as canonicalJson } from "../Digest-CzLJcsWv.mjs";
|
|
10
10
|
import { Brand, Context, Effect, Schema } from "effect";
|
|
11
11
|
//#region src/durable/SubmissionLedger.ts
|
|
12
12
|
var SubmissionLedger_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as DigestError } from "../Digest-
|
|
2
|
-
import { Hr as SettlementPublicationFailure, Wi as ThreadStore, Wr as SettlementPublisher, bo as StorageOwner, dn as SubmissionLedger, fn as SubmissionLedgerFailure } from "../Admin-
|
|
1
|
+
import { t as DigestError } from "../Digest-1iVcDLVm.mjs";
|
|
2
|
+
import { Hr as SettlementPublicationFailure, Wi as ThreadStore, Wr as SettlementPublisher, bo as StorageOwner, dn as SubmissionLedger, fn as SubmissionLedgerFailure } from "../Admin-BgCHCGSl.mjs";
|
|
3
3
|
import { Crypto, Effect, Schema } from "effect";
|
|
4
4
|
//#region src/durable/SubmissionLedgerConformance.d.ts
|
|
5
5
|
declare const SubmissionLedgerConformanceViolation_base: Schema.Class<SubmissionLedgerConformanceViolation, Schema.TaggedStruct<"SubmissionLedgerConformanceViolation", {
|
|
@@ -4,12 +4,12 @@ import { IdempotencyKey, JoinedToHost, Principal } from "../core/Receipt.mjs";
|
|
|
4
4
|
import { SubagentDelegationCaps, SubagentGrant, SubagentReservationAmounts } from "../core/SubagentContract.mjs";
|
|
5
5
|
import { b as WorkerUpdate, o as WorkerCompletion } from "../Worker-CtuUwYOK.mjs";
|
|
6
6
|
import { d as MessageAdmission, l as InputMessage } from "../MessagingHost-BILcuj0V.mjs";
|
|
7
|
-
import { U as PersistedJson, W as ProducerId, X as RecordEnvelope, _t as SubmissionSettledRecord, b as Digest, c as CanonicalBatch, f as CanonicalSequence, gt as SubmissionSettled, jt as WorkerAdmission, v as DefinitionDigests, y as DeploymentId } from "../Records-
|
|
8
|
-
import { s as digestJson } from "../Digest-
|
|
7
|
+
import { U as PersistedJson, W as ProducerId, X as RecordEnvelope, _t as SubmissionSettledRecord, b as Digest, c as CanonicalBatch, f as CanonicalSequence, gt as SubmissionSettled, jt as WorkerAdmission, v as DefinitionDigests, y as DeploymentId } from "../Records-bbGVHprv.mjs";
|
|
8
|
+
import { s as digestJson } from "../Digest-CzLJcsWv.mjs";
|
|
9
9
|
import { AbortCommand, AbortIntentRequest, AdmissionConflict, AdmissionPolicyError, AdmissionRequest, ApprovalConflict, ApprovalDecisionCommand, ApprovalPendingSuspension, BeginChildBudgetReleaseRequest, ChildBudgetReservationRequest, ChildReservationConflict, ChildReservationId, ChildSettledNotification, ClaimHandoff, ClaimRequest, LedgerError, MarkInputAppliedRequest, MarkJoinedRequest, MarkReadyRequest, MarkUnknownRequest, OwnershipLost, ParentLinkage, RecoverySnapshotRequest, ReleaseChildBudgetRequest, ResolutionCompletedWithResult, ResolutionNeverHappened, ResolutionSafeToRetry, RevertJoiningRequest, Settlement, SettlementConflict, SettlementFinalization, SubmissionLedger, SubmissionLookupById, SubmissionLookupByKey, SuspendRequest, UnknownResolutionCommand, UnknownResolutionConflict, WaitingChild, WaitingForChildSuspension, submissionInputRecordId, submissionSettlementBatchId, submissionSettlementId, submissionSettlementRecordId } from "./SubmissionLedger.mjs";
|
|
10
|
-
import { S as runIdForSubmission } from "../RunJournal-
|
|
11
|
-
import { L as ThreadMaterialization, W as ThreadReader, Y as ThreadStore, et as ThreadTailRequest, n as AppendRequest, st as getRecord } from "../ThreadStore-
|
|
12
|
-
import { a as make } from "../RunStorage-
|
|
10
|
+
import { S as runIdForSubmission } from "../RunJournal-DQr2dUgg.mjs";
|
|
11
|
+
import { L as ThreadMaterialization, W as ThreadReader, Y as ThreadStore, et as ThreadTailRequest, n as AppendRequest, st as getRecord } from "../ThreadStore-C_ofHc7h.mjs";
|
|
12
|
+
import { a as make } from "../RunStorage-DblN-cmM.mjs";
|
|
13
13
|
import { SettlementPublication, SettlementPublisher } from "./SettlementPublisher.mjs";
|
|
14
14
|
import { DateTime, Duration, Effect, Exit, Option, Result, Schema, Scope, Stream } from "effect";
|
|
15
15
|
import { TestClock } from "effect/testing";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Dr as PendingSubmission, Or as SettledSubmission, kr as SubmissionStatus } from "../Admin-
|
|
1
|
+
import { Dr as PendingSubmission, Or as SettledSubmission, kr as SubmissionStatus } from "../Admin-BgCHCGSl.mjs";
|
|
2
2
|
export { PendingSubmission, SettledSubmission, SubmissionStatus };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as defaultSubscriptionLimits, C as SubscriptionScanCursors, D as SubscriptionStore, E as SubscriptionSourceError, M as subscriptionKeyString, O as SubscriptionStoreFailure, S as SubscriptionRetentionPolicy, T as SubscriptionSnapshot, _ as SubscriptionKey, a as PreparedInput, b as SubscriptionRecord, c as SubscriptionAuthorizer, d as SubscriptionDelivery, f as SubscriptionDeliveryKey, g as SubscriptionFailpointError, h as SubscriptionFailpoint, i as EventSourceVersion, j as subscriptionDeliveryKeyString, l as SubscriptionChange, m as SubscriptionError, n as DeliveryChange, o as SourcePartition, p as SubscriptionDeliverySnapshot, r as EventAcknowledgement, s as SourceRecovery, t as AcceptedEvent, u as SubscriptionConfiguration, v as SubscriptionLimits, w as SubscriptionScope, x as SubscriptionRefusal, y as SubscriptionName } from "../Subscription-
|
|
1
|
+
import { A as defaultSubscriptionLimits, C as SubscriptionScanCursors, D as SubscriptionStore, E as SubscriptionSourceError, M as subscriptionKeyString, O as SubscriptionStoreFailure, S as SubscriptionRetentionPolicy, T as SubscriptionSnapshot, _ as SubscriptionKey, a as PreparedInput, b as SubscriptionRecord, c as SubscriptionAuthorizer, d as SubscriptionDelivery, f as SubscriptionDeliveryKey, g as SubscriptionFailpointError, h as SubscriptionFailpoint, i as EventSourceVersion, j as subscriptionDeliveryKeyString, l as SubscriptionChange, m as SubscriptionError, n as DeliveryChange, o as SourcePartition, p as SubscriptionDeliverySnapshot, r as EventAcknowledgement, s as SourceRecovery, t as AcceptedEvent, u as SubscriptionConfiguration, v as SubscriptionLimits, w as SubscriptionScope, x as SubscriptionRefusal, y as SubscriptionName } from "../Subscription-BRsNy0TA.mjs";
|
|
2
2
|
export { AcceptedEvent, DeliveryChange, EventAcknowledgement, EventSourceVersion, PreparedInput, SourcePartition, SourceRecovery, SubscriptionAuthorizer, SubscriptionChange, SubscriptionConfiguration, SubscriptionDelivery, SubscriptionDeliveryKey, SubscriptionDeliverySnapshot, SubscriptionError, SubscriptionFailpoint, SubscriptionFailpointError, SubscriptionKey, SubscriptionLimits, SubscriptionName, SubscriptionRecord, SubscriptionRefusal, SubscriptionRetentionPolicy, SubscriptionScanCursors, SubscriptionScope, SubscriptionSnapshot, SubscriptionSourceError, SubscriptionStore, SubscriptionStoreFailure, defaultSubscriptionLimits, subscriptionDeliveryKeyString, subscriptionKeyString };
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
|
2
2
|
import { AgentId, ThreadId } from "../core/Identifiers.mjs";
|
|
3
3
|
import { IdempotencyKey, Principal, Receipt } from "../core/Receipt.mjs";
|
|
4
4
|
import { l as InputMessage } from "../MessagingHost-BILcuj0V.mjs";
|
|
5
|
-
import { U as PersistedJson, b as Digest, jt as WorkerAdmission, v as DefinitionDigests } from "../Records-
|
|
5
|
+
import { U as PersistedJson, b as Digest, jt as WorkerAdmission, v as DefinitionDigests } from "../Records-bbGVHprv.mjs";
|
|
6
6
|
import { AdmissionFence, AdmissionGroup } from "./SubmissionLedger.mjs";
|
|
7
7
|
import { ScheduleAuthorizationDecision, ScheduleDestination, ScheduleInstant, ScheduleRetry } from "./Schedule.mjs";
|
|
8
8
|
import { Context, Effect, Schema } from "effect";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as resolveSubscriptionInput, i as makeSubscriptionInputBinding, n as SubscriptionInputBindings, t as SubscriptionInputBinding } from "../SubscriptionInput-
|
|
1
|
+
import { a as resolveSubscriptionInput, i as makeSubscriptionInputBinding, n as SubscriptionInputBindings, t as SubscriptionInputBinding } from "../SubscriptionInput-ClCaW_kX.mjs";
|
|
2
2
|
export { SubscriptionInputBinding, SubscriptionInputBindings, makeSubscriptionInputBinding, resolveSubscriptionInput };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
2
|
-
import { U as PersistedJson } from "../Records-
|
|
3
|
-
import { o as definitionDigestsEqual } from "../agent-registration-
|
|
2
|
+
import { U as PersistedJson } from "../Records-bbGVHprv.mjs";
|
|
3
|
+
import { o as definitionDigestsEqual } from "../agent-registration-7kp1dHT0.mjs";
|
|
4
4
|
import { SubscriptionError, SubscriptionSourceError } from "./Subscription.mjs";
|
|
5
5
|
import { Context, Effect, Schema } from "effect";
|
|
6
6
|
//#region src/durable/SubscriptionInput.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as SubscriptionStore, O as SubscriptionStoreFailure, o as SourcePartition } from "../Subscription-
|
|
1
|
+
import { D as SubscriptionStore, O as SubscriptionStoreFailure, o as SourcePartition } from "../Subscription-BRsNy0TA.mjs";
|
|
2
2
|
import { Effect, Schema } from "effect";
|
|
3
3
|
//#region src/durable/SubscriptionStoreConformance.d.ts
|
|
4
4
|
declare const SubscriptionStoreConformanceViolation_base: Schema.Class<SubscriptionStoreConformanceViolation, Schema.TaggedStruct<"SubscriptionStoreConformanceViolation", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AgentId, ReceiptId, SubmissionId, ThreadId } from "../core/Identifiers.mjs";
|
|
2
2
|
import { IdempotencyKey, Principal, QueueSequence, Receipt } from "../core/Receipt.mjs";
|
|
3
|
-
import { b as Digest, v as DefinitionDigests } from "../Records-
|
|
3
|
+
import { b as Digest, v as DefinitionDigests } from "../Records-bbGVHprv.mjs";
|
|
4
4
|
import { SubscriptionStore, defaultSubscriptionLimits } from "./Subscription.mjs";
|
|
5
5
|
import { Clock, Effect, Result, Schema } from "effect";
|
|
6
6
|
import { TestClock } from "effect/testing";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as AgentId, u as ThreadId } from "../Identifiers-CN2s30fF.mjs";
|
|
2
2
|
import { r as Principal } from "../Receipt-BkM21Qiu.mjs";
|
|
3
3
|
import { t as DurableStep } from "../DurableStep-CAJnlgfL.mjs";
|
|
4
|
-
import { b as DefinitionDigests } from "../Records-
|
|
5
|
-
import "../Admin-
|
|
6
|
-
import { c as ScheduleDestination } from "../Schedule-
|
|
7
|
-
import { E as SubscriptionSourceError, g as SubscriptionFailpointError, i as EventSourceVersion, m as SubscriptionError, w as SubscriptionScope } from "../Subscription-
|
|
4
|
+
import { b as DefinitionDigests } from "../Records-BP67Yz6n.mjs";
|
|
5
|
+
import "../Admin-BgCHCGSl.mjs";
|
|
6
|
+
import { c as ScheduleDestination } from "../Schedule-CVLtl5rP.mjs";
|
|
7
|
+
import { E as SubscriptionSourceError, g as SubscriptionFailpointError, i as EventSourceVersion, m as SubscriptionError, w as SubscriptionScope } from "../Subscription-BRsNy0TA.mjs";
|
|
8
8
|
import { Subscriptions } from "./Subscriptions.mjs";
|
|
9
9
|
import { Crypto, Layer, Schema } from "effect";
|
|
10
10
|
import { Tool, Toolkit } from "effect/ai";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as SubscriptionRecord, d as SubscriptionDelivery, l as SubscriptionChange, m as SubscriptionError, n as DeliveryChange, o as SourcePartition, t as AcceptedEvent, v as SubscriptionLimits } from "../Subscription-
|
|
1
|
+
import { b as SubscriptionRecord, d as SubscriptionDelivery, l as SubscriptionChange, m as SubscriptionError, n as DeliveryChange, o as SourcePartition, t as AcceptedEvent, v as SubscriptionLimits } from "../Subscription-BRsNy0TA.mjs";
|
|
2
2
|
import { Result } from "effect";
|
|
3
3
|
declare namespace SubscriptionTransition_d_exports {
|
|
4
4
|
export { applySubscriptionChange, applySubscriptionDeliveryChange, sameAcceptedEventIdentity, sameSourcePartition, sameSubscriptionDelivery, subscriptionCanSelect, subscriptionDeliveryCanSelect, subscriptionDeliveryUsesCapacity, subscriptionMatchesEvent, subscriptionUsesCapacity, validateEventRetention };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
2
2
|
import { Receipt } from "../core/Receipt.mjs";
|
|
3
|
-
import { v as DefinitionDigests } from "../Records-
|
|
3
|
+
import { v as DefinitionDigests } from "../Records-bbGVHprv.mjs";
|
|
4
4
|
import { AdmissionFence } from "./SubmissionLedger.mjs";
|
|
5
5
|
import { SubscriptionConfiguration, SubscriptionDelivery, SubscriptionError } from "./Subscription.mjs";
|
|
6
6
|
import { Result, Schema } from "effect";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as Principal } from "../Receipt-BkM21Qiu.mjs";
|
|
2
|
-
import { K as PersistedJson } from "../Records-
|
|
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-
|
|
2
|
+
import { K as PersistedJson } from "../Records-BP67Yz6n.mjs";
|
|
3
|
+
import { pt as AdmissionFence } from "../Admin-BgCHCGSl.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-BRsNy0TA.mjs";
|
|
5
|
+
import { r as EventSources } from "../EventSource-CaA6RAtC.mjs";
|
|
6
|
+
import { t as PreparedInputAdmission } from "../PreparedInputAdmission-DjbWz2lW.mjs";
|
|
7
|
+
import { n as SubscriptionInputBindings } from "../SubscriptionInput-ClCaW_kX.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 };
|
|
@@ -2,8 +2,8 @@ import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
|
2
2
|
import { ThreadId } from "../core/Identifiers.mjs";
|
|
3
3
|
import { n as utf8ByteLength } from "../utf8-B5pAmhTo.mjs";
|
|
4
4
|
import { IdempotencyKey } from "../core/Receipt.mjs";
|
|
5
|
-
import { v as DefinitionDigests } from "../Records-
|
|
6
|
-
import { s as digestJson } from "../Digest-
|
|
5
|
+
import { v as DefinitionDigests } from "../Records-bbGVHprv.mjs";
|
|
6
|
+
import { s as digestJson } from "../Digest-CzLJcsWv.mjs";
|
|
7
7
|
import { PreparedInputAdmission, admitPreparedInput } from "./PreparedInputAdmission.mjs";
|
|
8
8
|
import { AcceptedEvent, PreparedInput, SubscriptionAuthorizer, SubscriptionConfiguration, SubscriptionDelivery, SubscriptionError, SubscriptionFailpoint, SubscriptionKey, SubscriptionLimits, SubscriptionScope, SubscriptionSourceError, SubscriptionStore, defaultSubscriptionLimits, subscriptionDeliveryKeyString } from "./Subscription.mjs";
|
|
9
9
|
import { EventSources } from "./EventSource.mjs";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $a as ThreadArchiveRangePublish, Ja as MAX_ARCHIVE_RANGE_PAGE, Qa as ThreadArchiveRangePage, Xa as MAX_CANONICAL_BATCH_BYTES, Ya as MAX_ARCHIVE_RANGE_RECORDS, Za as ThreadArchiveRange, eo as ThreadArchiveRangeRead, io as ThreadArchiveStorage, no as ThreadArchiveRangeSeal, qa as MAX_ARCHIVE_RANGE_BYTES, to as ThreadArchiveRangeRequest } from "../Admin-
|
|
1
|
+
import { $a as ThreadArchiveRangePublish, Ja as MAX_ARCHIVE_RANGE_PAGE, Qa as ThreadArchiveRangePage, Xa as MAX_CANONICAL_BATCH_BYTES, Ya as MAX_ARCHIVE_RANGE_RECORDS, Za as ThreadArchiveRange, eo as ThreadArchiveRangeRead, io as ThreadArchiveStorage, no as ThreadArchiveRangeSeal, qa as MAX_ARCHIVE_RANGE_BYTES, to as ThreadArchiveRangeRequest } from "../Admin-BgCHCGSl.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,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
2
2
|
import { ThreadId } from "../core/Identifiers.mjs";
|
|
3
|
-
import { f as CanonicalSequence } from "../Records-
|
|
3
|
+
import { f as CanonicalSequence } from "../Records-bbGVHprv.mjs";
|
|
4
4
|
import { Schema } from "effect";
|
|
5
5
|
//#region src/durable/ThreadArchiveRange.ts
|
|
6
6
|
var ThreadArchiveRange_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ContextHistory, ContextHistoryError } from "../engine/ContextHistory.mjs";
|
|
2
|
-
import { Wi as ThreadStore } from "../Admin-
|
|
2
|
+
import { Wi as ThreadStore } from "../Admin-BgCHCGSl.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
|
-
import { Z as RecordId, f as CanonicalSequence, u as CanonicalRecordEnvelope } from "../Records-
|
|
4
|
-
import { $ as ThreadTail, H as ThreadRead, Y as ThreadStore, et as ThreadTailRequest, x as SelectedThreadRead } from "../ThreadStore-
|
|
3
|
+
import { Z as RecordId, f as CanonicalSequence, u as CanonicalRecordEnvelope } from "../Records-bbGVHprv.mjs";
|
|
4
|
+
import { $ as ThreadTail, H as ThreadRead, Y as ThreadStore, et as ThreadTailRequest, x as SelectedThreadRead } from "../ThreadStore-C_ofHc7h.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,5 +1,5 @@
|
|
|
1
1
|
import { ContextHistoryError } from "../engine/ContextHistory.mjs";
|
|
2
|
-
import { d as CanonicalRecordEnvelope } from "../Records-
|
|
2
|
+
import { d as CanonicalRecordEnvelope } from "../Records-BP67Yz6n.mjs";
|
|
3
3
|
import { Effect, Schema } from "effect";
|
|
4
4
|
declare namespace ThreadContextHistoryProjection_d_exports {
|
|
5
5
|
export { ContextHistoryBoundary, ContextHistoryEvidence, ContextHistoryProjection, matchText, normalizeQuery, normalizeText, project, windowIdFor };
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
|
2
2
|
import { RunId } from "../core/Identifiers.mjs";
|
|
3
3
|
import { f as contextWindowId } from "../compaction-CgFMDiXL.mjs";
|
|
4
4
|
import { ContextHistoryError, ContextHistorySearch } from "../engine/ContextHistory.mjs";
|
|
5
|
-
import { U as PersistedJson, Z as RecordId, f as CanonicalSequence } from "../Records-
|
|
5
|
+
import { U as PersistedJson, Z as RecordId, f as CanonicalSequence } from "../Records-bbGVHprv.mjs";
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
7
7
|
import { Prompt } from "effect/ai";
|
|
8
8
|
//#region src/durable/ThreadContextHistoryProjection.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-DtRNoHIr.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-CkPAxXU5.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, Ki as ThreadStoreError, Si as ThreadExport, c as IntegrityReport, vn as SubmissionSnapshot, yi as ThreadCheckpoint } from "../Admin-
|
|
3
|
-
import { t as RunContextReader } from "../run-context-reader-
|
|
4
|
-
import { w as ThreadImportReader } from "../ThreadImport-
|
|
2
|
+
import { $r as ExecutionCheckpoint, Ki as ThreadStoreError, Si as ThreadExport, c as IntegrityReport, vn as SubmissionSnapshot, yi as ThreadCheckpoint } from "../Admin-BgCHCGSl.mjs";
|
|
3
|
+
import { t as RunContextReader } from "../run-context-reader-DEU4REfD.mjs";
|
|
4
|
+
import { w as ThreadImportReader } from "../ThreadImport-DtRNoHIr.mjs";
|
|
5
5
|
import { Effect, Stream } from "effect";
|
|
6
6
|
declare namespace ThreadInvariants_d_exports {
|
|
7
7
|
export { ThreadInvariantInput, verifyThreadInvariants };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
2
|
-
import { f as CanonicalSequence } from "../Records-
|
|
2
|
+
import { f as CanonicalSequence } from "../Records-bbGVHprv.mjs";
|
|
3
3
|
import { submissionInputRecordId, submissionSettlementRecordId, workerTerminalFromRecord } from "./SubmissionLedger.mjs";
|
|
4
4
|
import { IntegrityCheck, IntegrityReport } from "./Admin.mjs";
|
|
5
|
-
import { D as ThreadExport, Z as ThreadStoreError, gt as canonicalRunIds, ht 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 { D as ThreadExport, Z as ThreadStoreError, gt as canonicalRunIds, ht as recordEncoding } from "../ThreadStore-C_ofHc7h.mjs";
|
|
6
|
+
import { h as verifyRunContinuations } from "../RunContinuation-DJ6kkbQG.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-CkPAxXU5.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,5 +1,5 @@
|
|
|
1
1
|
import { u as ThreadId } from "../Identifiers-CN2s30fF.mjs";
|
|
2
|
-
import { Ct as ToolApprovalDecided, Ot as ToolCallUnknown, _t as SubagentRequested, bt as SubmissionSettledRecord, d as CanonicalRecordEnvelope, gt as SubagentLineageRecorded, ht as SubagentJoined, t as AbortRequested, vt as SubagentStarted, wt as ToolApprovalRequested, yt as SubmissionSettled } from "../Records-
|
|
2
|
+
import { Ct as ToolApprovalDecided, Ot as ToolCallUnknown, _t as SubagentRequested, bt as SubmissionSettledRecord, d as CanonicalRecordEnvelope, gt as SubagentLineageRecorded, ht as SubagentJoined, t as AbortRequested, vt as SubagentStarted, wt as ToolApprovalRequested, yt as SubmissionSettled } from "../Records-BP67Yz6n.mjs";
|
|
3
3
|
import { Schema } from "effect";
|
|
4
4
|
declare namespace ThreadProjection_d_exports {
|
|
5
5
|
export { ApprovalRecord, OpenToolCallState, SubagentInvocationState, ThreadProjection, initialThreadProjection, reduceThreadRecord, replayThread, replayThreadFromCheckpoint };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
2
2
|
import { RunId, ThreadId, ToolCallId } from "../core/Identifiers.mjs";
|
|
3
|
-
import { Tt as ToolCallUnknown, U as PersistedJson, _t as SubmissionSettledRecord, bt as ToolApprovalDecided, f as CanonicalSequence, ft as SubagentJoined, g as DeclaredToolCall, ht as SubagentStarted, mt as SubagentRequested, pt as SubagentLineageRecorded, t as AbortRequested, xt as ToolApprovalRequested } from "../Records-
|
|
3
|
+
import { Tt as ToolCallUnknown, U as PersistedJson, _t as SubmissionSettledRecord, bt as ToolApprovalDecided, f as CanonicalSequence, ft as SubagentJoined, g as DeclaredToolCall, ht as SubagentStarted, mt as SubagentRequested, pt as SubagentLineageRecorded, t as AbortRequested, xt as ToolApprovalRequested } from "../Records-bbGVHprv.mjs";
|
|
4
4
|
import { Schema } from "effect";
|
|
5
5
|
//#region src/durable/ThreadProjection.ts
|
|
6
6
|
var ThreadProjection_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Xr as AppendResult, Yr as AppendRequest } from "../Admin-
|
|
1
|
+
import { Xr as AppendResult, Yr as AppendRequest } from "../Admin-BgCHCGSl.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 ThreadIdentity, Bi as ThreadRecordRequest, Di as ThreadExportRequest, Hi as ThreadRunInputRequest, Ii as ThreadPromptRead, Ki as ThreadStoreError, Li as ThreadRead, Ni as ThreadNotMaterialized, Pi as ThreadObservation, Ri as ThreadReadRequest, Si as ThreadExport, Xi as ThreadTailRequest, Yi as ThreadTail, aa as getRunInput, ia as getRecord, ji as ThreadIdentityRequest, na as ThreadWorkerStateRequest, sa as readWorkerState, zi as ThreadReader } from "../Admin-
|
|
1
|
+
import { Ai as ThreadIdentity, Bi as ThreadRecordRequest, Di as ThreadExportRequest, Hi as ThreadRunInputRequest, Ii as ThreadPromptRead, Ki as ThreadStoreError, Li as ThreadRead, Ni as ThreadNotMaterialized, Pi as ThreadObservation, Ri as ThreadReadRequest, Si as ThreadExport, Xi as ThreadTailRequest, Yi as ThreadTail, aa as getRunInput, ia as getRecord, ji as ThreadIdentityRequest, na as ThreadWorkerStateRequest, sa as readWorkerState, zi as ThreadReader } from "../Admin-BgCHCGSl.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 ThreadTail, D as ThreadExport, F as ThreadIdentity, G as ThreadRecordRequest, H as ThreadRead, I as ThreadIdentityRequest, M as ThreadExportRequest, R as ThreadNotMaterialized, U as ThreadReadRequest, V as ThreadPromptRead, W as ThreadReader, Z as ThreadStoreError, at as ThreadWorkerStateRequest, ct as getRunInput, et as ThreadTailRequest, q as ThreadRunInputRequest, st as getRecord, ut as readWorkerState, z as ThreadObservation } from "../ThreadStore-
|
|
1
|
+
import { $ as ThreadTail, D as ThreadExport, F as ThreadIdentity, G as ThreadRecordRequest, H as ThreadRead, I as ThreadIdentityRequest, M as ThreadExportRequest, R as ThreadNotMaterialized, U as ThreadReadRequest, V as ThreadPromptRead, W as ThreadReader, Z as ThreadStoreError, at as ThreadWorkerStateRequest, ct as getRunInput, et as ThreadTailRequest, q as ThreadRunInputRequest, st as getRecord, ut as readWorkerState, z as ThreadObservation } from "../ThreadStore-C_ofHc7h.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
|
-
import { W as PROMPT_EVIDENCE_TAGS } from "../Records-
|
|
2
|
-
import { $i as ThreadWorkerCapacity, $r as ExecutionCheckpoint, Ai as ThreadIdentity, Bi as ThreadRecordRequest, Ci as ThreadExportBatch, Di as ThreadExportRequest, Ei as ThreadExportRejected, Fi as ThreadPeerCountRequest, Gi as ThreadStoreDiagnostic, Hi as ThreadRunInputRequest, Ii as ThreadPromptRead, Jr as AppendConflict, Ki as ThreadStoreError, Li as ThreadRead, Mi as ThreadMaterialization, Ni as ThreadNotMaterialized, Oi as ThreadExportSnapshot, Pi as ThreadObservation, Qi as ThreadVerificationStorage, Qr as CommitBatch, Ri as ThreadReadRequest, Si as ThreadExport, Ti as ThreadExportRecord, Ui as ThreadSelection, Vi as ThreadResolutionFact, Wi as ThreadStore, Xi as ThreadTailRequest, Xr as AppendResult, Yi as ThreadTail, Yr as AppendRequest, Zi as ThreadVerificationRequest, Zr as CheckpointRejected, _i as ThreadAdmission, aa as getRunInput, ai as MAX_PROMPT_CHECKPOINT_RUNS, bi as ThreadCheckpoints, ca as streamExport, ci as MAX_THREAD_EXPORT_PAGE_RECORDS, di as PromptCheckpointHead, ea as ThreadWorkerCapacityRequest, ei as ExecutionRead, fi as PromptCheckpointRead, gi as ThreadAbortFact, hi as SelectedThreadRead, ia as getRecord, ii as MAX_PROMPT_CHECKPOINT_BYTES, ji as ThreadIdentityRequest, ki as ThreadExportSource, la as transferPageFits, li as PreparedAppend, mi as SaveCheckpointRequest, na as ThreadWorkerStateRequest, ni as FreshRunRead, oa as makeTransferFactCheck, oi as MAX_THREAD_EXPORT_CURSOR_CHARS, pi as PromptCheckpoints, qi as ThreadStoreFailure, ra as canonicalBatchFitsTransfer, ri as LoadCheckpointRequest, sa as readWorkerState, si as MAX_THREAD_EXPORT_PAGE_BYTES, ta as ThreadWorkerSeal, ti as ExecutionUpdate, ui as PromptCheckpoint, vi as ThreadApprovalFact, wi as ThreadExportCursor, xi as ThreadCommands, yi as ThreadCheckpoint, zi as ThreadReader } from "../Admin-
|
|
1
|
+
import { W as PROMPT_EVIDENCE_TAGS } from "../Records-BP67Yz6n.mjs";
|
|
2
|
+
import { $i as ThreadWorkerCapacity, $r as ExecutionCheckpoint, Ai as ThreadIdentity, Bi as ThreadRecordRequest, Ci as ThreadExportBatch, Di as ThreadExportRequest, Ei as ThreadExportRejected, Fi as ThreadPeerCountRequest, Gi as ThreadStoreDiagnostic, Hi as ThreadRunInputRequest, Ii as ThreadPromptRead, Jr as AppendConflict, Ki as ThreadStoreError, Li as ThreadRead, Mi as ThreadMaterialization, Ni as ThreadNotMaterialized, Oi as ThreadExportSnapshot, Pi as ThreadObservation, Qi as ThreadVerificationStorage, Qr as CommitBatch, Ri as ThreadReadRequest, Si as ThreadExport, Ti as ThreadExportRecord, Ui as ThreadSelection, Vi as ThreadResolutionFact, Wi as ThreadStore, Xi as ThreadTailRequest, Xr as AppendResult, Yi as ThreadTail, Yr as AppendRequest, Zi as ThreadVerificationRequest, Zr as CheckpointRejected, _i as ThreadAdmission, aa as getRunInput, ai as MAX_PROMPT_CHECKPOINT_RUNS, bi as ThreadCheckpoints, ca as streamExport, ci as MAX_THREAD_EXPORT_PAGE_RECORDS, di as PromptCheckpointHead, ea as ThreadWorkerCapacityRequest, ei as ExecutionRead, fi as PromptCheckpointRead, gi as ThreadAbortFact, hi as SelectedThreadRead, ia as getRecord, ii as MAX_PROMPT_CHECKPOINT_BYTES, ji as ThreadIdentityRequest, ki as ThreadExportSource, la as transferPageFits, li as PreparedAppend, mi as SaveCheckpointRequest, na as ThreadWorkerStateRequest, ni as FreshRunRead, oa as makeTransferFactCheck, oi as MAX_THREAD_EXPORT_CURSOR_CHARS, pi as PromptCheckpoints, qi as ThreadStoreFailure, ra as canonicalBatchFitsTransfer, ri as LoadCheckpointRequest, sa as readWorkerState, si as MAX_THREAD_EXPORT_PAGE_BYTES, ta as ThreadWorkerSeal, ti as ExecutionUpdate, ui as PromptCheckpoint, vi as ThreadApprovalFact, wi as ThreadExportCursor, xi as ThreadCommands, yi as ThreadCheckpoint, zi as ThreadReader } from "../Admin-BgCHCGSl.mjs";
|
|
3
3
|
export { AppendConflict, AppendRequest, AppendResult, CheckpointRejected, CommitBatch, ExecutionCheckpoint, ExecutionRead, ExecutionUpdate, FreshRunRead, 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
|
-
import { V as PROMPT_EVIDENCE_TAGS } from "../Records-
|
|
2
|
-
import { $ as ThreadTail, A as ThreadExportRecord, B as ThreadPeerCountRequest, C as ThreadAdmission, D as ThreadExport, E as ThreadCommands, F as ThreadIdentity, G as ThreadRecordRequest, H as ThreadRead, I as ThreadIdentityRequest, J as ThreadSelection, K as ThreadResolutionFact, L as ThreadMaterialization, M as ThreadExportRequest, N as ThreadExportSnapshot, O as ThreadExportBatch, P as ThreadExportSource, R as ThreadNotMaterialized, S as ThreadAbortFact, T as ThreadCheckpoint, U as ThreadReadRequest, V as ThreadPromptRead, W as ThreadReader, X as ThreadStoreDiagnostic, Y as ThreadStore, Z as ThreadStoreError, _ as PromptCheckpoint, a as CommitBatch, at as ThreadWorkerStateRequest, b as SaveCheckpointRequest, c as ExecutionUpdate, ct as getRunInput, d as MAX_PROMPT_CHECKPOINT_BYTES, dt as streamExport, et as ThreadTailRequest, f as MAX_PROMPT_CHECKPOINT_RUNS, ft as transferPageFits, g as PreparedAppend, h as MAX_THREAD_EXPORT_PAGE_RECORDS, i as CheckpointRejected, it as ThreadWorkerSeal, j as ThreadExportRejected, k as ThreadExportCursor, l as FreshRunRead, lt as makeTransferFactCheck, m as MAX_THREAD_EXPORT_PAGE_BYTES, n as AppendRequest, nt as ThreadWorkerCapacity, o as ExecutionCheckpoint, ot as canonicalBatchFitsTransfer, p as MAX_THREAD_EXPORT_CURSOR_CHARS, q as ThreadRunInputRequest, r as AppendResult, rt as ThreadWorkerCapacityRequest, s as ExecutionRead, st as getRecord, t as AppendConflict, tt as ThreadVerificationRequest, u as LoadCheckpointRequest, ut as readWorkerState, v as PromptCheckpointHead, w as ThreadApprovalFact, x as SelectedThreadRead, y as PromptCheckpointRead, z as ThreadObservation } from "../ThreadStore-
|
|
1
|
+
import { V as PROMPT_EVIDENCE_TAGS } from "../Records-bbGVHprv.mjs";
|
|
2
|
+
import { $ as ThreadTail, A as ThreadExportRecord, B as ThreadPeerCountRequest, C as ThreadAdmission, D as ThreadExport, E as ThreadCommands, F as ThreadIdentity, G as ThreadRecordRequest, H as ThreadRead, I as ThreadIdentityRequest, J as ThreadSelection, K as ThreadResolutionFact, L as ThreadMaterialization, M as ThreadExportRequest, N as ThreadExportSnapshot, O as ThreadExportBatch, P as ThreadExportSource, R as ThreadNotMaterialized, S as ThreadAbortFact, T as ThreadCheckpoint, U as ThreadReadRequest, V as ThreadPromptRead, W as ThreadReader, X as ThreadStoreDiagnostic, Y as ThreadStore, Z as ThreadStoreError, _ as PromptCheckpoint, a as CommitBatch, at as ThreadWorkerStateRequest, b as SaveCheckpointRequest, c as ExecutionUpdate, ct as getRunInput, d as MAX_PROMPT_CHECKPOINT_BYTES, dt as streamExport, et as ThreadTailRequest, f as MAX_PROMPT_CHECKPOINT_RUNS, ft as transferPageFits, g as PreparedAppend, h as MAX_THREAD_EXPORT_PAGE_RECORDS, i as CheckpointRejected, it as ThreadWorkerSeal, j as ThreadExportRejected, k as ThreadExportCursor, l as FreshRunRead, lt as makeTransferFactCheck, m as MAX_THREAD_EXPORT_PAGE_BYTES, n as AppendRequest, nt as ThreadWorkerCapacity, o as ExecutionCheckpoint, ot as canonicalBatchFitsTransfer, p as MAX_THREAD_EXPORT_CURSOR_CHARS, q as ThreadRunInputRequest, r as AppendResult, rt as ThreadWorkerCapacityRequest, s as ExecutionRead, st as getRecord, t as AppendConflict, tt as ThreadVerificationRequest, u as LoadCheckpointRequest, ut as readWorkerState, v as PromptCheckpointHead, w as ThreadApprovalFact, x as SelectedThreadRead, y as PromptCheckpointRead, z as ThreadObservation } from "../ThreadStore-C_ofHc7h.mjs";
|
|
3
3
|
export { AppendConflict, AppendRequest, AppendResult, CheckpointRejected, CommitBatch, ExecutionCheckpoint, ExecutionRead, ExecutionUpdate, FreshRunRead, 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
|
-
import { Y as PromptRecordEnvelope, d as CanonicalRecordEnvelope } from "../Records-
|
|
2
|
-
import { $i as ThreadWorkerCapacity, $r as ExecutionCheckpoint, Ai as ThreadIdentity, Di as ThreadExportRequest, Ei as ThreadExportRejected, Fi as ThreadPeerCountRequest, Ii as ThreadPromptRead, Jr as AppendConflict, Ki as ThreadStoreError, Mi as ThreadMaterialization, Ni as ThreadNotMaterialized, Pi as ThreadObservation, Qi as ThreadVerificationStorage, Ri as ThreadReadRequest, Si as ThreadExport, Ta as ThreadWorkStorage, Wi as ThreadStore, Xi as ThreadTailRequest, Xr as AppendResult, Xt as OwnershipLost, Yi as ThreadTail, Yr as AppendRequest, Zr as CheckpointRejected, bi as ThreadCheckpoints, ea as ThreadWorkerCapacityRequest, ei as ExecutionRead, fo as LifecyclePublicationStorage, io as ThreadArchiveStorage, ji as ThreadIdentityRequest, ni as FreshRunRead, pi as PromptCheckpoints, qi as ThreadStoreFailure } from "../Admin-
|
|
1
|
+
import { Y as PromptRecordEnvelope, d as CanonicalRecordEnvelope } from "../Records-BP67Yz6n.mjs";
|
|
2
|
+
import { $i as ThreadWorkerCapacity, $r as ExecutionCheckpoint, Ai as ThreadIdentity, Di as ThreadExportRequest, Ei as ThreadExportRejected, Fi as ThreadPeerCountRequest, Ii as ThreadPromptRead, Jr as AppendConflict, Ki as ThreadStoreError, Mi as ThreadMaterialization, Ni as ThreadNotMaterialized, Pi as ThreadObservation, Qi as ThreadVerificationStorage, Ri as ThreadReadRequest, Si as ThreadExport, Ta as ThreadWorkStorage, Wi as ThreadStore, Xi as ThreadTailRequest, Xr as AppendResult, Xt as OwnershipLost, Yi as ThreadTail, Yr as AppendRequest, Zr as CheckpointRejected, bi as ThreadCheckpoints, ea as ThreadWorkerCapacityRequest, ei as ExecutionRead, fo as LifecyclePublicationStorage, io as ThreadArchiveStorage, ji as ThreadIdentityRequest, ni as FreshRunRead, pi as PromptCheckpoints, qi as ThreadStoreFailure } from "../Admin-BgCHCGSl.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", {
|
|
@@ -2,10 +2,10 @@ import { AgentId, DelegationId, ReceiptId, RunId, SettlementId, SubmissionId, Th
|
|
|
2
2
|
import { AgentPolicy } from "../core/AgentPolicy.mjs";
|
|
3
3
|
import { IdempotencyKey } from "../core/Receipt.mjs";
|
|
4
4
|
import { SubagentDelegationCaps, SubagentGrant, SubagentReservationAmounts } from "../core/SubagentContract.mjs";
|
|
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-
|
|
6
|
-
import { O as subagentLineageRecordId, X as workerOriginRecordId } from "../RunJournal-
|
|
7
|
-
import { H as ThreadRead, I as ThreadIdentityRequest, L as ThreadMaterialization, M as ThreadExportRequest, R as ThreadNotMaterialized, T as ThreadCheckpoint, W as ThreadReader, Y as ThreadStore, Z as ThreadStoreError, b as SaveCheckpointRequest, ct as getRunInput, et as ThreadTailRequest, i as CheckpointRejected, n as AppendRequest, st as getRecord, t as AppendConflict, u as LoadCheckpointRequest, ut as readWorkerState, z as ThreadObservation } from "../ThreadStore-
|
|
8
|
-
import { a as canonicalRecordBytes } from "../RunContinuation-
|
|
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-bbGVHprv.mjs";
|
|
6
|
+
import { O as subagentLineageRecordId, X as workerOriginRecordId } from "../RunJournal-DQr2dUgg.mjs";
|
|
7
|
+
import { H as ThreadRead, I as ThreadIdentityRequest, L as ThreadMaterialization, M as ThreadExportRequest, R as ThreadNotMaterialized, T as ThreadCheckpoint, W as ThreadReader, Y as ThreadStore, Z as ThreadStoreError, b as SaveCheckpointRequest, ct as getRunInput, et as ThreadTailRequest, i as CheckpointRejected, n as AppendRequest, st as getRecord, t as AppendConflict, u as LoadCheckpointRequest, ut as readWorkerState, z as ThreadObservation } from "../ThreadStore-C_ofHc7h.mjs";
|
|
8
|
+
import { a as canonicalRecordBytes } from "../RunContinuation-DJ6kkbQG.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
|
-
import { d as CanonicalRecordEnvelope, et as RecordId } from "../Records-
|
|
3
|
-
import { Di as ThreadExportRequest, Ei as ThreadExportRejected, Ki as ThreadStoreError, Ni as ThreadNotMaterialized, Si as ThreadExport } from "../Admin-
|
|
2
|
+
import { d as CanonicalRecordEnvelope, et as RecordId } from "../Records-BP67Yz6n.mjs";
|
|
3
|
+
import { Di as ThreadExportRequest, Ei as ThreadExportRejected, Ki as ThreadStoreError, Ni as ThreadNotMaterialized, Si as ThreadExport } from "../Admin-BgCHCGSl.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-C_TRuo_9.mjs";
|
|
2
2
|
export { ThreadExporterReader, TransferManifest, checkExportSource, checkTransferPageBytes, exportThreadPage, sameTransferManifest, transferDependencies, transferSections };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Aa as WorkIndexProgress, Ba as deliveryPredecessor, Ca as ThreadWorkPage, Da as WORK_INDEX_VERSION, Fa as WorkThreadsRequest, Ga as workId, Ha as operationEvidence, Ia as WorkerReportingMode, Ka as workIndexChanges, La as admissionWork, Ma as WorkOwner, Na as WorkStateReference, Oa as WorkDiscoveryUnavailable, Pa as WorkThreadsPage, Ra as advanceWorkEntry, Sa as ThreadWorkEntry, Ta as ThreadWorkStorage, Ua as resolveWorkEvidence, Va as encodeWorkCursor, Wa as validateWorkPage, _a as MAX_WORK_PAGE_ENTRIES, ba as ThreadWorkCursor, da as FreshAdmissionWork, fa as MAX_RECOVERY_PAGES, ga as MAX_WORK_PAGE_BYTES, ha as MAX_WORK_ENTRY_BYTES, ja as WorkIndexRebuildRequest, ka as WorkIndexChange, ma as MAX_WORK_CURSOR_CHARS, pa as MAX_RECOVERY_WORK_ITEMS, ua as CanonicalWorkEntry, va as MAX_WORK_REBUILD_BYTES, wa as ThreadWorkRequest, xa as ThreadWorkDiscovery, ya as MAX_WORK_REBUILD_RECORDS, za as decodeWorkCursor } from "../Admin-
|
|
1
|
+
import { Aa as WorkIndexProgress, Ba as deliveryPredecessor, Ca as ThreadWorkPage, Da as WORK_INDEX_VERSION, Fa as WorkThreadsRequest, Ga as workId, Ha as operationEvidence, Ia as WorkerReportingMode, Ka as workIndexChanges, La as admissionWork, Ma as WorkOwner, Na as WorkStateReference, Oa as WorkDiscoveryUnavailable, Pa as WorkThreadsPage, Ra as advanceWorkEntry, Sa as ThreadWorkEntry, Ta as ThreadWorkStorage, Ua as resolveWorkEvidence, Va as encodeWorkCursor, Wa as validateWorkPage, _a as MAX_WORK_PAGE_ENTRIES, ba as ThreadWorkCursor, da as FreshAdmissionWork, fa as MAX_RECOVERY_PAGES, ga as MAX_WORK_PAGE_BYTES, ha as MAX_WORK_ENTRY_BYTES, ja as WorkIndexRebuildRequest, ka as WorkIndexChange, ma as MAX_WORK_CURSOR_CHARS, pa as MAX_RECOVERY_WORK_ITEMS, ua as CanonicalWorkEntry, va as MAX_WORK_REBUILD_BYTES, wa as ThreadWorkRequest, xa as ThreadWorkDiscovery, ya as MAX_WORK_REBUILD_RECORDS, za as decodeWorkCursor } from "../Admin-BgCHCGSl.mjs";
|
|
2
2
|
export { CanonicalWorkEntry, FreshAdmissionWork, 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 };
|
|
@@ -2,11 +2,11 @@ import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
|
2
2
|
import { ReceiptId, RunId, SubmissionId, ThreadId, ToolCallId } from "../core/Identifiers.mjs";
|
|
3
3
|
import { n as utf8ByteLength } from "../utf8-B5pAmhTo.mjs";
|
|
4
4
|
import { IdempotencyKey, QueueSequence } from "../core/Receipt.mjs";
|
|
5
|
-
import { Z as RecordId, b as Digest, f as CanonicalSequence } from "../Records-
|
|
6
|
-
import { s as digestJson } from "../Digest-
|
|
7
|
-
import { S as runIdForSubmission } from "../RunJournal-
|
|
8
|
-
import { W as ThreadReader, Y as ThreadStore, Z as ThreadStoreError } from "../ThreadStore-
|
|
9
|
-
import { a as canonicalRecordBytes, x as resolveEvidence } from "../RunContinuation-
|
|
5
|
+
import { Z as RecordId, b as Digest, f as CanonicalSequence } from "../Records-bbGVHprv.mjs";
|
|
6
|
+
import { s as digestJson } from "../Digest-CzLJcsWv.mjs";
|
|
7
|
+
import { S as runIdForSubmission } from "../RunJournal-DQr2dUgg.mjs";
|
|
8
|
+
import { W as ThreadReader, Y as ThreadStore, Z as ThreadStoreError } from "../ThreadStore-C_ofHc7h.mjs";
|
|
9
|
+
import { a as canonicalRecordBytes, x as resolveEvidence } from "../RunContinuation-DJ6kkbQG.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({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
2
2
|
import { RunId, SubmissionId, ThreadId, ToolCallId } from "../core/Identifiers.mjs";
|
|
3
|
-
import { U as PersistedJson, b as Digest, g as DeclaredToolCall } from "../Records-
|
|
3
|
+
import { U as PersistedJson, b as Digest, g as DeclaredToolCall } from "../Records-bbGVHprv.mjs";
|
|
4
4
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
5
5
|
//#region src/durable/ToolReconciler.ts
|
|
6
6
|
var ToolReconciler_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -2,8 +2,8 @@ import { d as SubagentReservationAmounts, l as SubagentGrant, o as SubagentDeleg
|
|
|
2
2
|
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
|
-
import { b as DefinitionDigests } from "../Records-
|
|
6
|
-
import { Gt as LedgerError, Jr as AppendConflict, Ki as ThreadStoreError, Ni as ThreadNotMaterialized, Wi as ThreadStore, Xt as OwnershipLost, Zt as ParentLinkage, _t as AdmissionPolicyError, bt as AdmissionResult, dn as SubmissionLedger, ft as AdmissionConflict } from "../Admin-
|
|
5
|
+
import { b as DefinitionDigests } from "../Records-BP67Yz6n.mjs";
|
|
6
|
+
import { Gt as LedgerError, Jr as AppendConflict, Ki as ThreadStoreError, Ni as ThreadNotMaterialized, Wi as ThreadStore, Xt as OwnershipLost, Zt as ParentLinkage, _t as AdmissionPolicyError, bt as AdmissionResult, dn as SubmissionLedger, ft as AdmissionConflict } from "../Admin-BgCHCGSl.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";
|