effect-agent 0.1.0-beta.115 → 0.1.0-beta.116

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/dist/{AgentRuntime-DyZv8uu2.d.mts → AgentRuntime-BUxDdLpw.d.mts} +2 -2
  2. package/dist/{DurableAgentRuntime-tNrkJZNo.mjs → DurableAgentRuntime-DQqxmn2h.mjs} +39 -10
  3. package/dist/DurableAgentRuntime-DQqxmn2h.mjs.map +1 -0
  4. package/dist/{EventSource-DPRdlvhV.d.mts → EventSource-hk1sVGsO.d.mts} +3 -3
  5. package/dist/{PreparedInputAdmission-DqQUjA9k.d.mts → PreparedInputAdmission-DXvFh8zZ.d.mts} +4 -4
  6. package/dist/{Records-Byeb70tt.d.mts → Records-3uLornLz.d.mts} +3 -3
  7. package/dist/{Schedule-krSnBcbU.d.mts → Schedule-yVT2CmKT.d.mts} +2 -2
  8. package/dist/{Subagent-gw9KD6eb.d.mts → Subagent-CNik9RiA.d.mts} +3 -3
  9. package/dist/{Subagent-Di8EEjWZ.mjs → Subagent-DCrB7an7.mjs} +2 -3
  10. package/dist/Subagent-DCrB7an7.mjs.map +1 -0
  11. package/dist/{SubagentHost-P9zB_TfV.d.mts → SubagentHost-4WB8Hj0C.d.mts} +13 -4
  12. package/dist/{Subscription-Xnwd42Sm.d.mts → Subscription-CCvcJGlB.d.mts} +3 -3
  13. package/dist/{SubscriptionInput-CqtJ58vl.d.mts → SubscriptionInput-BlE85a8M.d.mts} +3 -3
  14. package/dist/capabilities/Subagent.d.mts +1 -1
  15. package/dist/capabilities/Subagent.mjs +1 -1
  16. package/dist/durable/ActivityStore.d.mts +1 -1
  17. package/dist/durable/Admin.d.mts +1 -1
  18. package/dist/durable/AgentRegistration.d.mts +1 -1
  19. package/dist/durable/Certification.d.mts +1 -1
  20. package/dist/durable/CommittedActivity.d.mts +1 -1
  21. package/dist/durable/Digest.d.mts +1 -1
  22. package/dist/durable/DurableAgentRuntime.d.mts +1 -1
  23. package/dist/durable/DurableAgentRuntime.mjs +1 -1
  24. package/dist/durable/EventSource.d.mts +1 -1
  25. package/dist/durable/GitHubWorkflowSource.d.mts +3 -3
  26. package/dist/durable/MessageDelivery.d.mts +3 -3
  27. package/dist/durable/MessageDeliveryStoreConformance.d.mts +39 -39
  28. package/dist/durable/PersistentHistory.d.mts +1 -1
  29. package/dist/durable/PreparedInputAdmission.d.mts +1 -1
  30. package/dist/durable/Records.d.mts +1 -1
  31. package/dist/durable/Recovery.d.mts +1 -1
  32. package/dist/durable/RunJournal.d.mts +1 -1
  33. package/dist/durable/Schedule.d.mts +1 -1
  34. package/dist/durable/ScheduleStoreConformance.d.mts +1 -1
  35. package/dist/durable/ScheduleTransition.d.mts +1 -1
  36. package/dist/durable/Scheduling.d.mts +2 -2
  37. package/dist/durable/SqlStorageV2Upgrade.d.mts +2 -2
  38. package/dist/durable/SqlSubscriptionStore.d.mts +2 -2
  39. package/dist/durable/SqlThreadNativeReads.d.mts +1 -1
  40. package/dist/durable/SubmissionLedger.d.mts +1 -1
  41. package/dist/durable/SubmissionLedgerConformance.d.mts +1 -1
  42. package/dist/durable/SubmissionStatus.d.mts +1 -1
  43. package/dist/durable/Subscription.d.mts +1 -1
  44. package/dist/durable/SubscriptionInput.d.mts +1 -1
  45. package/dist/durable/SubscriptionStoreConformance.d.mts +1 -1
  46. package/dist/durable/SubscriptionTools.d.mts +3 -3
  47. package/dist/durable/SubscriptionTransition.d.mts +1 -1
  48. package/dist/durable/Subscriptions.d.mts +5 -5
  49. package/dist/durable/ThreadContextHistory.d.mts +1 -1
  50. package/dist/durable/ThreadContextHistoryProjection.d.mts +1 -1
  51. package/dist/durable/ThreadInvariants.d.mts +1 -1
  52. package/dist/durable/ThreadProjection.d.mts +1 -1
  53. package/dist/durable/ThreadProjectionMaintenance.d.mts +1 -1
  54. package/dist/durable/ThreadStore.d.mts +1 -1
  55. package/dist/durable/ThreadStoreConformance.d.mts +1 -1
  56. package/dist/durable/WorkerHost.d.mts +1 -1
  57. package/dist/engine/AgentRuntime.d.mts +1 -1
  58. package/dist/engine/SubagentHost.d.mts +2 -2
  59. package/dist/engine/SubagentHost.mjs.map +1 -1
  60. package/dist/index.d.mts +9 -9
  61. package/dist/index.mjs +2 -2
  62. package/package.json +1 -1
  63. package/src/capabilities/internal/subagent-background.ts +1 -3
  64. package/src/durable/internal/worker-host.ts +76 -18
  65. package/src/engine/SubagentHost.ts +16 -3
  66. package/dist/DurableAgentRuntime-tNrkJZNo.mjs.map +0 -1
  67. package/dist/Subagent-Di8EEjWZ.mjs.map +0 -1
@@ -1,5 +1,5 @@
1
- import { O as PersistedJson } from "./Records-Byeb70tt.mjs";
2
- import { E as SubscriptionSourceError, b as SubscriptionRecord, i as EventSourceVersion, t as AcceptedEvent } from "./Subscription-Xnwd42Sm.mjs";
1
+ import { O as PersistedJson } from "./Records-3uLornLz.mjs";
2
+ import { E as SubscriptionSourceError, b as SubscriptionRecord, i as EventSourceVersion, t as AcceptedEvent } from "./Subscription-CCvcJGlB.mjs";
3
3
  import { Context, Effect, Schema, Scope } from "effect";
4
4
  declare namespace EventSource_d_exports {
5
5
  export { EventSource, EventSources, NormalizedEvent, makeEventSource };
@@ -48,4 +48,4 @@ declare const makeEventSource: <Event extends Schema.Top, Parameters extends Sch
48
48
  }) => Effect.Effect<EventSource, never, Exclude<R, Scope.Scope> | Exclude<Event["DecodingServices"], Scope.Scope> | Exclude<Event["EncodingServices"], Scope.Scope> | Exclude<Parameters["DecodingServices"], Scope.Scope> | Exclude<Parameters["EncodingServices"], Scope.Scope>>;
49
49
  //#endregion
50
50
  export { makeEventSource as a, NormalizedEvent as i, EventSource_d_exports as n, EventSources as r, EventSource as t };
51
- //# sourceMappingURL=EventSource-DPRdlvhV.d.mts.map
51
+ //# sourceMappingURL=EventSource-hk1sVGsO.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { a as Receipt } from "./Receipt-BAHyigAF.mjs";
2
2
  import { a as FailureDiagnostic_d_exports, r as Diagnostic } from "./FailureDiagnostic-CaAkzGHL.mjs";
3
- import { Pn as SubmissionStatus } from "./Records-Byeb70tt.mjs";
4
- import { H as ScheduledInputRefused, V as ScheduledInputFailure, j as ScheduleStorageError } from "./Schedule-krSnBcbU.mjs";
5
- import { a as PreparedInput } from "./Subscription-Xnwd42Sm.mjs";
3
+ import { Pn as SubmissionStatus } from "./Records-3uLornLz.mjs";
4
+ import { H as ScheduledInputRefused, V as ScheduledInputFailure, j as ScheduleStorageError } from "./Schedule-yVT2CmKT.mjs";
5
+ import { a as PreparedInput } from "./Subscription-CCvcJGlB.mjs";
6
6
  import { Context, Effect } from "effect";
7
7
  declare namespace PreparedInputAdmission_d_exports {
8
8
  export { PreparedInputAdmission, admitPreparedInput };
@@ -39,4 +39,4 @@ declare const admitPreparedInput: <R>(submit: Effect.Effect<Receipt, ScheduledIn
39
39
  }, ScheduleStorageError, R>;
40
40
  //#endregion
41
41
  export { PreparedInputAdmission_d_exports as n, admitPreparedInput as r, PreparedInputAdmission as t };
42
- //# sourceMappingURL=PreparedInputAdmission-DqQUjA9k.d.mts.map
42
+ //# sourceMappingURL=PreparedInputAdmission-DXvFh8zZ.d.mts.map
@@ -17,8 +17,8 @@ import { G as RunToolAuthorization, O as RunCostEstimator, h as RunApprovalHook,
17
17
  import { o as MessagingError, r as InputMessage } from "./Messaging-Dkg87ebg.mjs";
18
18
  import { t as MessagingHost } from "./MessagingHost-CqzpxbGz.mjs";
19
19
  import "./Messaging-JYYN3oYS.mjs";
20
- import { a as SubagentHost, d as WorkerReporting, u as WorkerReportPreparationFailure } from "./SubagentHost-P9zB_TfV.mjs";
21
- import { p as RuntimeBinding, r as AgentCompletionProjectionRequirements, s as AgentRuntimeRequirements } from "./AgentRuntime-DyZv8uu2.mjs";
20
+ import { d as WorkerReportPreparationFailure, f as WorkerReporting, o as SubagentHost } from "./SubagentHost-4WB8Hj0C.mjs";
21
+ import { p as RuntimeBinding, r as AgentCompletionProjectionRequirements, s as AgentRuntimeRequirements } from "./AgentRuntime-BUxDdLpw.mjs";
22
22
  import { n as DurableRuntimeFailpoint, r as DurableRuntimeFailpointError } from "./DurableFailpoint-Cnr3wx1L.mjs";
23
23
  import { o as OperationDenied } from "./OperationAuthorizer-TzcQtpX5.mjs";
24
24
  import { s as ToolReconciler } from "./ToolReconciler-BmVRAHKs.mjs";
@@ -4194,4 +4194,4 @@ declare class CanonicalRecordEnvelope extends CanonicalRecordEnvelope_base {}
4194
4194
  declare const CURRENT_CANONICAL_SCHEMA_VERSION: 1;
4195
4195
  //#endregion
4196
4196
  export { ToolCallPrepared as $, OwnershipRenewal as $a, ReleaseOrphanChildReservation as $i, peerMessageRecordId as $n, RECOVERY_DECISION_MEANINGS as $r, LoadCheckpointRequest as $t, ProducerId as A, BeginChildBudgetReleaseRequest as Aa, ApplyJoinAccounting as Ai, readOutstanding as An, SuspendRequest as Ao, turnCanonicalBatch as Ar, DurableRuntimeConfigOptions as At, RunStartedRecord as B, ClaimJoiningRequest as Ba, DeclaredPendingBatchEvidence as Bi, RunJournal_d_exports as Bn, WorkerLedgerState as Bo, Admin_d_exports as Br, RecoverySweepOptions as Bt, ModelCompleted as C, AdmissionResolution as Ca, EMPTY_TAIL_DIGEST as Ci, ThreadStoreFailure as Cn, SubmissionLedger_d_exports as Co, toolCallResultBatchId as Cr, DurableExplainFailure as Ct, PeerMessagePrepared as D, ApprovalDecisionIntent as Da, digestJson as Di, ThreadWorkerStateRequest as Dn, SubmissionSnapshot as Do, toolStepSettledRecordId as Dr, DurableResolveFailure as Dt, ObservationOffset as E, ApprovalDecisionCommand as Ea, digestDefinitions as Ei, ThreadTailRequest as En, SubmissionLookupByKey as Eo, toolStepSettledBatchId as Er, DurableProgressFailure as Et, ReplayContract as F, ChildReservationId as Fa, AwaitHostSettlement as Fi, SubmissionStatus_d_exports as Fn, UnknownResolutionCommand as Fo, turnResultsBatch as Fr, DurableWorkerFailure as Ft, SubagentRequested as G, JoiningClaim as Ga, NoAction as Gi, childThreadIdFor as Gn, submissionInputBatchId as Go, IntegrityCheckName as Gr, recoveryRepairRecordId as Gt, SettlementOutcome as H, DEFAULT_OWNERSHIP_LEASE_DURATION as Ha, EnsureWaitingForChild as Hi, agentUpdateRecordId as Hn, settlementFailureFromRecord as Ho, ExplainedSubmission as Hr, childReservationIdFor as Ht, RunCompleted as I, ChildReservationStatus as Ia, AwaitParentEstablishment as Ii, JournalBoundary as In, UnknownResolutionConflict as Io, turnResultsBatchId as Ir, DurableWorkerRequirements as It, SubmissionSettledRecord as J, MarkInputAppliedRequest as Ja, PendingApprovalEvidence as Ji, firstWorkerInputRecordId as Jn, submissionSettlementId as Jo, ObligationBlockedOn as Jr, AppendConflict as Jt, SubagentStarted as K, LedgerCapabilities as Ka, OpenDelegationCallEvidence as Ki, compactionBatchId as Kn, submissionInputRecordId as Ko, IntegrityCheckStatus as Kr, threadCreatedBatchId as Kt, RunDurationExhausted as L, ChildSettledNotification as La, AwaitUnknownResolution as Li, RunJournalError as Ln, UnknownResolutionIntent as Lo, workerInputRecordId as Lr, RecoveryBlocked as Lt, RecordId as M, ChildBudgetReservationRequest as Ma, AwaitApprovalDecision as Mi, PendingSubmission as Mn, SuspensionReason as Mo, turnPreparedBatchId as Mr, DurableSubmitFailure as Mt, Records_d_exports as N, ChildBudgetReservationSnapshot as Na, AwaitChildAdmissionResolution as Ni, SettledSubmission as Nn, SuspensionSnapshot as No, turnResponseBatch as Nr, DurableSubmitOptions as Nt, PersistedJson as O, ApprovalPendingSuspension as Oa, AppendReservedSettlement as Oi, getRecord as On, SubmissionState as Oo, turnApprovalsBatchId as Or, DurableRetryFailure as Ot, RepairAnnotated as P, ChildReservationConflict as Pa, AwaitChildSettlement as Pi, SubmissionStatus as Pn, UnknownResolution as Po, turnResponseBatchId as Pr, DurableVerifyFailure as Pt, ToolApprovalRequested as Q, OwnershipLost as Qa, Recovery_d_exports as Qi, modelResponseRecordId as Qn, ObligationThresholds as Qr, FencedAppendRequest as Qt, RunFailed as R, ChildSettledOutcome as Ra, CompleteChildAdmission as Ri, RunJournalProjection as Rn, WaitingChild as Ro, workerOriginRecordId as Rr, RecoveryFailure as Rt, MAX_PERSISTED_JSON_NODES as S, AdmissionRequest as Sa, Digest_d_exports as Si, ThreadStoreError as Sn, SubmissionLedgerFailure as So, toolCallResolvedRecordId as Sr, DurableAwaitFailure as St, ModelResponseRecorded as T, ApprovalConflict as Ta, digestDefinition as Ti, ThreadTail as Tn, SubmissionLookupById as To, toolCallUnknownRecordId as Tr, DurableObserveOptions as Tt, SubagentJoined as U, InputAppliedMarker as Ua, FinalizeLedgerFromHistory as Ui, approvalDecisionBatchId as Un, submissionAbortBatchId as Uo, ExplainedUnknownCall as Ur, isolateRecovery as Ut, SettlementFailureDiagnostic as V, ClaimRequest as Va, DelegationAdmissionEvidence as Vi, TurnCommitInput as Vn, WorkerStopCommand as Vo, ExplainedEvidence as Vr, RecoverySweepResult as Vt, SubagentLineageRecorded as W, JoinSnapshot as Wa, MarkUnknown as Wi, childIdempotencyKeyFor as Wn, submissionAbortRecordId as Wo, IntegrityCheck as Wr, recoveryRepairBatchId as Wt, ThreadCreated as X, MarkReadyRequest as Xa, RecoveryDecision as Xi, modelResponseInterruptedBatchId as Xn, workerTerminalFromRecord as Xo, ObligationReport as Xr, CheckpointRejected as Xt, SubtreeBudgetReserved as Y, MarkJoinedRequest as Ya, PropagateChildAbort as Yi, markUnknownBatchId as Yn, submissionSettlementRecordId as Yo, ObligationEntry as Yr, AppendResult as Yt, ToolApprovalDecided as Z, MarkUnknownRequest as Za, RecoveryEvidence as Zi, modelResponseInterruptedRecordId as Zn, ObligationSeverity as Zr, FenceRejected as Zt, Digest as _, AdmissionFence as _a, ResolvedBinding as _i, ThreadRecoveryCheckpoints as _n, SettlementFinalization as _o, subagentStartedRecordId as _r, DurableAbortFailure as _t, BatchId as a, ResumePendingToolBatch as aa, obligationSeverityOf as ai, ThreadCheckpoints as an, ReleaseChildBudgetRequest as ao, runDurationBatchId as ar, ToolStepSettled as at, MAX_PERSISTED_JSON_COLLECTION_LENGTH as b, AdmissionNotAdmitted as ba, definitionDigestsEqual as bi, ThreadStore as bn, SubmissionAdmissionFence as bo, toolCallPreparedRecordId as br, DurableApprovalFailure as bt, CanonicalRecord as c, RevertJoining as ca, renderRecoveryExplanation as ci, ThreadMaterialization as cn, ReservedChildBudget as co, runStartedBatchId as cr, WorkerAdmission as ct, CanonicalSequence as d, classifyRecovery as da, AgentRegistration as di, ThreadOutstanding as dn, ResolutionCompletedWithResult as do, subagentJoinedRecordId as dr, WorkerOrigin as dt, RepairInputMarker as ea, RecoveryDisposition as ei, MAX_THREAD_EXPORT_RECORDS as en, OwnershipSnapshot as eo, projectRunJournal as er, ToolCallResolution as et, CompactionCreated as f, AbortCommand as fa, BindingUnavailable as fi, ThreadOutstandingRequest as fn, ResolutionNeverHappened as fo, subagentLineageBatchId as fr, WorkerOriginRecorded as ft, DeploymentId as g, AdmissionConflict as ga, ReplayVersions as gi, ThreadRecordRequest as gn, SettlementConflict as go, subagentStartedBatchId as gr, WorkerStopRequested as gt, DefinitionDigests as h, AdmissionAdmitted as ha, ExecutableAgentBinding as hi, ThreadReadRequest as hn, Settlement as ho, subagentRequestedRecordId as hr, WorkerReportingIntent as ht, ApprovalDecision as i, ResumeFromTurnBoundary as ia, RetryRefused as ii, ThreadCheckpoint as in, RecoverySnapshotRequest as io, runCompletionDigest as ir, ToolOperation as it, RecordEnvelope as j, ChildAttachmentSnapshot as ja, ApplyUnknownResolutions as ji, readWorkerState as jn, SuspensionOutcome as jo, turnIdForRun as jr, DurableSubmitAgent as jt, ProducerEpoch as k, AttachChildToReservationRequest as ka, ApplyInput as ki, getRunInput as kn, SubmissionWorkItem as ko, turnBatchId as kr, DurableRuntimeConfig as kt, CanonicalRecordEnvelope as l, SettleAborted as la, AgentRegistration_d_exports as li, ThreadNotMaterialized as ln, ReservedSettlement as lo, runStartedRecordId as lr, WorkerInputCompleted as lt, DefinitionDigestInput as m, AbortIntentRequest as ma, DurableWorkerBinding as mi, ThreadRead as mn, RevertJoiningRequest as mo, subagentRequestedBatchId as mr, WorkerReportRefused as mt, AbortedSubmissionSettled as n, RepairReadiness as na, RetryCommand as ni, SaveRecoveryCheckpointRequest as nn, ParentLinkage as no, promptFromCanonicalRecords as nr, ToolCallSettled as nt, CURRENT_CANONICAL_SCHEMA_VERSION as o, ResumeSuspended as oa, predictRecoveryDisposition as oi, ThreadExport as on, ReleaseOwnershipRequest as oo, runDurationRecordId as or, ToolUnavailable as ot, CompletedSubmissionSettled as p, AbortIntent as pa, DurableBindingFailure as pi, ThreadPeerCountRequest as pn, ResolutionSafeToRetry as po, subagentLineageRecordId as pr, WorkerReportPrepared as pt, SubmissionSettled as q, LedgerError as qa, OpenToolCallEvidence as qi, compactionRecordId as qn, submissionSettlementBatchId as qo, IntegrityReport as qr, threadCreatedRecordId as qt, AgentUpdateEmitted as r, RepairSubagentStartLink as ra, RetryRefusalReason as ri, SelectedThreadRead as rn, RecoverySnapshot as ro, runCompletedRecordId as rr, ToolCallUnknown as rt, CanonicalBatch as s, ResumeWaitingParent as sa, recoveryDecisionMeaning as si, ThreadExportRequest as sn, RenewOwnershipRequest as so, runIdForSubmission as sr, UserInputRecorded as st, AbortRequested as t, RepairJoinMarker as ta, RecoveryExplanation as ti, SaveCheckpointRequest as tn, OwnershipToken as to, projectRunJournalStream as tr, ToolCallResolved as tt, CanonicalRecordPayload as u, SettleJoinedWithHost as ua, AgentAttemptContext as ui, ThreadObservation as un, ResolutionAbortSubmission as uo, subagentJoinBatchId as ur, WorkerInputRequested as ut, FailedSubmissionSettled as v, AdmissionGroup as va, compileBindingContracts as vi, ThreadRunInputRequest as vn, SettlementReservation as vo, toolApprovalDecisionRecordId as vr, DurableAgentRuntime as vt, ModelResponseInterrupted as w, AdmissionResult as wa, digestCanonicalBatch as wi, ThreadStore_d_exports as wn, SubmissionLookup as wo, toolCallSettledRecordId as wr, DurableObligationFailure as wt, MAX_PERSISTED_JSON_DEPTH as x, AdmissionPolicyError as xa, DigestError as xi, ThreadStoreDiagnostic as xn, SubmissionLedger as xo, toolCallResolutionBatchId as xr, DurableApprovalResolver as xt, MAX_PERSISTED_JSON_BYTES as y, AdmissionIndeterminate as ya, compileRegistrations as yi, ThreadSelection as yn, SettlementReservationSnapshot as yo, toolApprovalRequestRecordId as yr, DurableAgentRuntime_d_exports as yt, RunPolicyUsageReserved as z, Claim as za, CompleteMaterialization as zi, RunJournalUsage as zn, WaitingForChildSuspension as zo, workerReportRecordId as zr, RecoveryReport as zt };
4197
- //# sourceMappingURL=Records-Byeb70tt.d.mts.map
4197
+ //# sourceMappingURL=Records-3uLornLz.d.mts.map
@@ -1,6 +1,6 @@
1
1
  import { a as Receipt } from "./Receipt-BAHyigAF.mjs";
2
2
  import { a as FailureDiagnostic_d_exports, r as Diagnostic } from "./FailureDiagnostic-CaAkzGHL.mjs";
3
- import { _ as Digest, h as DefinitionDigests } from "./Records-Byeb70tt.mjs";
3
+ import { _ as Digest, h as DefinitionDigests } from "./Records-3uLornLz.mjs";
4
4
  import { Context, Effect, Schema } from "effect";
5
5
  declare namespace Schedule_d_exports {
6
6
  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 };
@@ -844,4 +844,4 @@ declare const ScheduleFailpoint: Context.Reference<{
844
844
  }>;
845
845
  //#endregion
846
846
  export { ScheduleSnapshotPage as A, ScheduledInputAdmission as B, ScheduleRecord as C, ScheduleScope as D, ScheduleRetryReason as E, ScheduleTimingRequest as F, defaultSchedulingLimits as G, ScheduledInputRefused as H, ScheduleValidationError as I, ScheduleWake as L, ScheduleStore as M, ScheduleStoreFailure as N, ScheduleSkippedRange as O, ScheduleTiming as P, Schedule_d_exports as R, SchedulePending as S, ScheduleRetry as T, ScheduledInputRetryable as U, ScheduledInputFailure as V, SchedulingLimits as W, ScheduleNotFound as _, ScheduleChange as a, SchedulePage as b, ScheduleDestination as c, ScheduleFailpointError as d, ScheduleId as f, ScheduleManagementOperation as g, ScheduleManagementAuthorization as h, ScheduleCapacityError as i, ScheduleStorageError as j, ScheduleSnapshot as k, ScheduleDueCursor as l, ScheduleKey as m, ScheduleAuthorizationError as n, ScheduleConfiguration as o, ScheduleInstant as p, ScheduleAuthorizer as r, ScheduleConflict as s, ScheduleAuthorizationDecision as t, ScheduleFailpoint as u, ScheduleOccurrenceAuthorization as v, ScheduleRefusal as w, SchedulePageRequest as x, ScheduleOwner as y, ScheduledEnvelope as z };
847
- //# sourceMappingURL=Schedule-krSnBcbU.d.mts.map
847
+ //# sourceMappingURL=Schedule-yVT2CmKT.d.mts.map
@@ -9,8 +9,8 @@ import { E as RunDispositionDeclaration, _ as InstructionSource, c as Definition
9
9
  import { a as WorkerBudgetScope, c as WorkerError, f as WorkerRef, o as WorkerCompletion, p as WorkerReport } from "./Worker-fwWkBg12.mjs";
10
10
  import { V as RunSubagentDigests, x as RunContextPreparation } from "./RunOptions-CSBsSj0X.mjs";
11
11
  import { c as MessageRef, l as MessageStatus } from "./Messaging-Dkg87ebg.mjs";
12
- import { a as SubagentHost } from "./SubagentHost-P9zB_TfV.mjs";
13
- import { S as ToolCallWaiting, _ as SubagentDurability, b as SubagentDurabilityError, c as AgentSpawner, h as SpawnRunOptions, l as AgentSpawnerParent, o as AgentRuntimeFailure, p as RuntimeBinding, s as AgentRuntimeRequirements } from "./AgentRuntime-DyZv8uu2.mjs";
12
+ import { o as SubagentHost } from "./SubagentHost-4WB8Hj0C.mjs";
13
+ import { S as ToolCallWaiting, _ as SubagentDurability, b as SubagentDurabilityError, c as AgentSpawner, h as SpawnRunOptions, l as AgentSpawnerParent, o as AgentRuntimeFailure, p as RuntimeBinding, s as AgentRuntimeRequirements } from "./AgentRuntime-BUxDdLpw.mjs";
14
14
  import { t as RunEventSink } from "./RunEventSink-D5aVhISG.mjs";
15
15
  import { Tool, Toolkit } from "effect/unstable/ai";
16
16
  import { Crypto, Duration, Effect, Layer, Schema, Scope, Stream } from "effect";
@@ -1632,4 +1632,4 @@ declare function background<const Name extends string, Input extends Schema.Top,
1632
1632
  declare function background<const Name extends string, Input extends Schema.Top, Output extends Schema.Top, Parameters extends Schema.Top, Success extends Schema.Top, Failure extends Schema.Top, Prepare, Project, const Selected extends BackgroundOptions>(declaration: Declaration<Name, Input, Output, Parameters, Success, Failure, Prepare, Project>, selected: Selected): ReturnType<typeof background$1<Name, Input, Output, Parameters, Success, Failure, Prepare, Project, Selected>>;
1633
1633
  //#endregion
1634
1634
  export { inspect as A, delegationCapsFromPolicy as B, BackgroundOptions as C, awaitWorker as D, WorkerObservation as E, SubagentPolicy as F, SubagentPolicyInput as I, SubagentPrestartDenied as L, observe as M, start as N, cancel as O, stop as P, SubagentProjectionFailure as R, make as S, Worker as T, SubagentTools as _, SubagentDelegation as a, define as b, SubagentFailureMode as c, SubagentResult as d, SubagentResultContext as f, SubagentToolFailure as g, SubagentTool as h, SubagentDefineOptions as i, list as j, followUp as k, SubagentLayerRequirements as l, SubagentRuntimeOptions as m, SubagentContainedFailure as n, SubagentDurableAccounting as o, SubagentReturnModeFailure as p, SubagentDeclarationOptions as r, SubagentDurableOptions as s, SubagentChildRunFailure as t, SubagentPrepareContext as u, Subagent_d_exports as v, BackgroundTools as w, layer as x, background as y, delegationAllocationFromPolicy as z };
1635
- //# sourceMappingURL=Subagent-gw9KD6eb.d.mts.map
1635
+ //# sourceMappingURL=Subagent-CNik9RiA.d.mts.map
@@ -422,10 +422,9 @@ const operations = (declaration) => {
422
422
  const caller = yield* context;
423
423
  const key = yield* validateKey(options.idempotencyKey, "followUp");
424
424
  const encodedParameters = yield* Schema.encodeEffect(declaration.parameters)(parameters).pipe(Effect.mapError((cause) => projectionFailure("input", cause)));
425
- const encodedInput = yield* prepare(parameters, caller);
426
425
  const delivery = yield* validateDelivery(validated, yield* service.followUp({
427
426
  encodedParameters,
428
- encodedInput,
427
+ prepare: prepare(parameters, caller).pipe(Effect.map((encodedInput) => ({ encodedInput }))),
429
428
  worker: validated,
430
429
  target: declaration.target,
431
430
  idempotencyKey: key
@@ -1496,4 +1495,4 @@ function background(targetOrDeclaration, selected) {
1496
1495
  //#endregion
1497
1496
  export { delegationCapsFromPolicy as S, stop as _, define as a, SubagentProjectionFailure as b, Worker as c, cancel as d, followUp as f, start as g, observe as h, background as i, WorkerObservation as l, list as m, SubagentResult as n, layer as o, inspect as p, Subagent_exports as r, make as s, SubagentDurableAccounting as t, awaitWorker as u, SubagentPolicy as v, delegationAllocationFromPolicy as x, SubagentPrestartDenied as y };
1498
1497
 
1499
- //# sourceMappingURL=Subagent-Di8EEjWZ.mjs.map
1498
+ //# sourceMappingURL=Subagent-DCrB7an7.mjs.map