effect-agent 0.1.0-beta.123 → 0.1.0-beta.125
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/{AgentRuntime-BUxDdLpw.d.mts → AgentRuntime-ov0LFEb-.d.mts} +2 -2
- package/dist/{DurableAgentRuntime-B-9w7jDt.mjs → DurableAgentRuntime-BvDGe7F9.mjs} +2 -1
- package/dist/DurableAgentRuntime-BvDGe7F9.mjs.map +1 -0
- package/dist/{EventSource-CnlZ3Kma.d.mts → EventSource-CNBoY8AA.d.mts} +3 -3
- package/dist/{PreparedInputAdmission-BQLGldl-.d.mts → PreparedInputAdmission--_APJzWY.d.mts} +4 -4
- package/dist/{Records-D88mgvyS.d.mts → Records-uGX4_EGf.d.mts} +3 -3
- package/dist/{Schedule-BIOHA6RR.d.mts → Schedule-C8ze8WTW.d.mts} +2 -2
- package/dist/{Subagent-CNik9RiA.d.mts → Subagent-CCf7rY70.d.mts} +12 -4
- package/dist/{Subagent-DCrB7an7.mjs → Subagent-CudP5BlT.mjs} +2 -1
- package/dist/Subagent-CudP5BlT.mjs.map +1 -0
- package/dist/{SubagentHost-4WB8Hj0C.d.mts → SubagentHost-B0-cRCqs.d.mts} +4 -1
- package/dist/{Subscription-CRteOKRf.d.mts → Subscription-CYb8ltMK.d.mts} +3 -3
- package/dist/{SubscriptionInput-oNcwTPti.d.mts → SubscriptionInput-C1XE9Vyi.d.mts} +3 -3
- package/dist/capabilities/CodeMode.mjs +1 -0
- package/dist/capabilities/CodeMode.mjs.map +1 -1
- package/dist/capabilities/Subagent.d.mts +1 -1
- package/dist/capabilities/Subagent.mjs +1 -1
- package/dist/durable/ActivityStore.d.mts +1 -1
- package/dist/durable/Admin.d.mts +1 -1
- package/dist/durable/AgentRegistration.d.mts +1 -1
- package/dist/durable/Certification.d.mts +1 -1
- package/dist/durable/CommittedActivity.d.mts +1 -1
- package/dist/durable/Digest.d.mts +1 -1
- package/dist/durable/DurableAgentRuntime.d.mts +1 -1
- package/dist/durable/DurableAgentRuntime.mjs +1 -1
- package/dist/durable/EventSource.d.mts +1 -1
- package/dist/durable/GitHubWorkflowSource.d.mts +3 -3
- package/dist/durable/MessageDelivery.d.mts +3 -3
- package/dist/durable/MessageDeliveryStoreConformance.d.mts +39 -39
- package/dist/durable/PersistentHistory.d.mts +1 -1
- package/dist/durable/PreparedInputAdmission.d.mts +1 -1
- package/dist/durable/Records.d.mts +1 -1
- package/dist/durable/Recovery.d.mts +1 -1
- package/dist/durable/RunJournal.d.mts +1 -1
- package/dist/durable/Schedule.d.mts +1 -1
- package/dist/durable/ScheduleStoreConformance.d.mts +1 -1
- package/dist/durable/ScheduleTransition.d.mts +1 -1
- package/dist/durable/Scheduling.d.mts +2 -2
- package/dist/durable/SqlStorageV2Upgrade.d.mts +2 -2
- package/dist/durable/SqlSubscriptionStore.d.mts +2 -2
- package/dist/durable/SqlThreadNativeReads.d.mts +1 -1
- package/dist/durable/SubmissionLedger.d.mts +1 -1
- package/dist/durable/SubmissionLedgerConformance.d.mts +1 -1
- package/dist/durable/SubmissionStatus.d.mts +1 -1
- package/dist/durable/Subscription.d.mts +1 -1
- package/dist/durable/SubscriptionInput.d.mts +1 -1
- package/dist/durable/SubscriptionStoreConformance.d.mts +1 -1
- package/dist/durable/SubscriptionTools.d.mts +3 -3
- package/dist/durable/SubscriptionTransition.d.mts +1 -1
- package/dist/durable/Subscriptions.d.mts +5 -5
- package/dist/durable/ThreadContextHistory.d.mts +1 -1
- package/dist/durable/ThreadContextHistoryProjection.d.mts +1 -1
- package/dist/durable/ThreadInvariants.d.mts +1 -1
- package/dist/durable/ThreadProjection.d.mts +1 -1
- package/dist/durable/ThreadProjectionMaintenance.d.mts +1 -1
- package/dist/durable/ThreadStore.d.mts +1 -1
- package/dist/durable/ThreadStoreConformance.d.mts +1 -1
- package/dist/durable/WorkerHost.d.mts +1 -1
- package/dist/engine/AgentRuntime.d.mts +1 -1
- package/dist/engine/SubagentHost.d.mts +1 -1
- package/dist/engine/SubagentHost.mjs.map +1 -1
- package/dist/index.d.mts +9 -9
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- package/src/capabilities/CodeMode.ts +9 -0
- package/src/capabilities/internal/subagent-background.ts +13 -1
- package/src/durable/internal/worker-host.ts +2 -0
- package/src/engine/SubagentHost.ts +3 -0
- package/dist/DurableAgentRuntime-B-9w7jDt.mjs.map +0 -1
- package/dist/Subagent-DCrB7an7.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { O as PersistedJson } from "./Records-
|
|
2
|
-
import { E as SubscriptionSourceError, b as SubscriptionRecord, i as EventSourceVersion, t as AcceptedEvent } from "./Subscription-
|
|
1
|
+
import { O as PersistedJson } from "./Records-uGX4_EGf.mjs";
|
|
2
|
+
import { E as SubscriptionSourceError, b as SubscriptionRecord, i as EventSourceVersion, t as AcceptedEvent } from "./Subscription-CYb8ltMK.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-
|
|
51
|
+
//# sourceMappingURL=EventSource-CNBoY8AA.d.mts.map
|
package/dist/{PreparedInputAdmission-BQLGldl-.d.mts → PreparedInputAdmission--_APJzWY.d.mts}
RENAMED
|
@@ -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 { In as SubmissionStatus } from "./Records-
|
|
4
|
-
import { H as ScheduledInputRefused, V as ScheduledInputFailure, j as ScheduleStorageError } from "./Schedule-
|
|
5
|
-
import { a as PreparedInput } from "./Subscription-
|
|
3
|
+
import { In as SubmissionStatus } from "./Records-uGX4_EGf.mjs";
|
|
4
|
+
import { H as ScheduledInputRefused, V as ScheduledInputFailure, j as ScheduleStorageError } from "./Schedule-C8ze8WTW.mjs";
|
|
5
|
+
import { a as PreparedInput } from "./Subscription-CYb8ltMK.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
|
|
42
|
+
//# sourceMappingURL=PreparedInputAdmission--_APJzWY.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 { d as WorkerReportPreparationFailure, f as WorkerReporting, o as SubagentHost } from "./SubagentHost-
|
|
21
|
-
import { p as RuntimeBinding, r as AgentCompletionProjectionRequirements, s as AgentRuntimeRequirements } from "./AgentRuntime-
|
|
20
|
+
import { d as WorkerReportPreparationFailure, f as WorkerReporting, o as SubagentHost } from "./SubagentHost-B0-cRCqs.mjs";
|
|
21
|
+
import { p as RuntimeBinding, r as AgentCompletionProjectionRequirements, s as AgentRuntimeRequirements } from "./AgentRuntime-ov0LFEb-.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";
|
|
@@ -4211,4 +4211,4 @@ declare class CanonicalRecordEnvelope extends CanonicalRecordEnvelope_base {}
|
|
|
4211
4211
|
declare const CURRENT_CANONICAL_SCHEMA_VERSION: 1;
|
|
4212
4212
|
//#endregion
|
|
4213
4213
|
export { ToolCallPrepared as $, MarkUnknownRequest as $a, RecoveryEvidence as $i, modelResponseInterruptedRecordId as $n, ObligationSeverity as $r, FenceRejected as $t, ProducerId as A, ApprovalPendingSuspension as Aa, AppendReservedSettlement as Ai, getRecord as An, SubmissionState as Ao, turnApprovalsBatchId as Ar, DurableRetryFailure as At, RunStartedRecord as B, ChildSettledOutcome as Ba, CompleteChildAdmission as Bi, RunJournalProjection as Bn, WaitingChild as Bo, workerOriginRecordId as Br, RecoveryFailure as Bt, ModelCompleted as C, AdmissionPolicyError as Ca, DigestError as Ci, ThreadStoreDiagnostic as Cn, SubmissionLedger as Co, toolCallResolutionBatchId as Cr, DurableApprovalSuspension as Ct, PeerMessagePrepared as D, ApprovalConflict as Da, digestDefinition as Di, ThreadTail as Dn, SubmissionLookupById as Do, toolCallUnknownRecordId as Dr, DurableObserveOptions as Dt, ObservationOffset as E, AdmissionResult as Ea, digestCanonicalBatch as Ei, ThreadStore_d_exports as En, SubmissionLookup as Eo, toolCallSettledRecordId as Er, DurableObligationFailure as Et, ReplayContract as F, ChildBudgetReservationSnapshot as Fa, AwaitChildAdmissionResolution as Fi, SettledSubmission as Fn, SuspensionSnapshot as Fo, turnResponseBatch as Fr, DurableSubmitOptions as Ft, SubagentRequested as G, InputAppliedMarker as Ga, FinalizeLedgerFromHistory as Gi, approvalDecisionBatchId as Gn, submissionAbortBatchId as Go, ExplainedUnknownCall as Gr, isolateRecovery as Gt, SettlementOutcome as H, ClaimJoiningRequest as Ha, DeclaredPendingBatchEvidence as Hi, RunJournal_d_exports as Hn, WorkerLedgerState as Ho, Admin_d_exports as Hr, RecoverySweepOptions as Ht, RunCompleted as I, ChildReservationConflict as Ia, AwaitChildSettlement as Ii, SubmissionStatus as In, UnknownResolution as Io, turnResponseBatchId as Ir, DurableVerifyFailure as It, SubmissionSettledRecord as J, LedgerCapabilities as Ja, OpenDelegationCallEvidence as Ji, compactionBatchId as Jn, submissionInputRecordId as Jo, IntegrityCheckStatus as Jr, threadCreatedBatchId as Jt, SubagentStarted as K, JoinSnapshot as Ka, MarkUnknown as Ki, childIdempotencyKeyFor as Kn, submissionAbortRecordId as Ko, IntegrityCheck as Kr, recoveryRepairBatchId as Kt, RunDurationExhausted as L, ChildReservationId as La, AwaitHostSettlement as Li, SubmissionStatus_d_exports as Ln, UnknownResolutionCommand as Lo, turnResultsBatch as Lr, DurableWorkerFailure as Lt, RecordId as M, BeginChildBudgetReleaseRequest as Ma, ApplyJoinAccounting as Mi, readOutstanding as Mn, SuspendRequest as Mo, turnCanonicalBatch as Mr, DurableRuntimeConfigOptions as Mt, Records_d_exports as N, ChildAttachmentSnapshot as Na, ApplyUnknownResolutions as Ni, readWorkerState as Nn, SuspensionOutcome as No, turnIdForRun as Nr, DurableSubmitAgent as Nt, PersistedJson as O, ApprovalDecisionCommand as Oa, digestDefinitions as Oi, ThreadTailRequest as On, SubmissionLookupByKey as Oo, toolStepSettledBatchId as Or, DurableProgressFailure as Ot, RepairAnnotated as P, ChildBudgetReservationRequest as Pa, AwaitApprovalDecision as Pi, PendingSubmission as Pn, SuspensionReason as Po, turnPreparedBatchId as Pr, DurableSubmitFailure as Pt, ToolApprovalRequested as Q, MarkReadyRequest as Qa, RecoveryDecision as Qi, modelResponseInterruptedBatchId as Qn, workerTerminalFromRecord as Qo, ObligationReport as Qr, CheckpointRejected as Qt, RunFailed as R, ChildReservationStatus as Ra, AwaitParentEstablishment as Ri, JournalBoundary as Rn, UnknownResolutionConflict as Ro, turnResultsBatchId as Rr, DurableWorkerRequirements as Rt, MAX_PERSISTED_JSON_NODES as S, AdmissionNotAdmitted as Sa, definitionDigestsEqual as Si, ThreadStore as Sn, SubmissionAdmissionFence as So, toolCallPreparedRecordId as Sr, DurableApprovalResolver as St, ModelResponseRecorded as T, AdmissionResolution as Ta, EMPTY_TAIL_DIGEST as Ti, ThreadStoreFailure as Tn, SubmissionLedger_d_exports as To, toolCallResultBatchId as Tr, DurableExplainFailure as Tt, SubagentJoined as U, ClaimRequest as Ua, DelegationAdmissionEvidence as Ui, TurnCommitInput as Un, WorkerStopCommand as Uo, ExplainedEvidence as Ur, RecoverySweepResult as Ut, SettlementFailureDiagnostic as V, Claim as Va, CompleteMaterialization as Vi, RunJournalUsage as Vn, WaitingForChildSuspension as Vo, workerReportRecordId as Vr, RecoveryReport as Vt, SubagentLineageRecorded as W, DEFAULT_OWNERSHIP_LEASE_DURATION as Wa, EnsureWaitingForChild as Wi, agentUpdateRecordId as Wn, settlementFailureFromRecord as Wo, ExplainedSubmission as Wr, childReservationIdFor as Wt, ThreadCreated as X, MarkInputAppliedRequest as Xa, PendingApprovalEvidence as Xi, firstWorkerInputRecordId as Xn, submissionSettlementId as Xo, ObligationBlockedOn as Xr, AppendConflict as Xt, SubtreeBudgetReserved as Y, LedgerError as Ya, OpenToolCallEvidence as Yi, compactionRecordId as Yn, submissionSettlementBatchId as Yo, IntegrityReport as Yr, threadCreatedRecordId as Yt, ToolApprovalDecided as Z, MarkJoinedRequest as Za, PropagateChildAbort as Zi, markUnknownBatchId as Zn, submissionSettlementRecordId as Zo, ObligationEntry as Zr, AppendResult as Zt, Digest as _, AdmissionAdmitted as _a, ExecutableAgentBinding as _i, ThreadReadRequest as _n, Settlement as _o, subagentRequestedRecordId as _r, ApprovalSuspensionError as _t, BatchId as a, RepairSubagentStartLink as aa, RetryRefusalReason as ai, SelectedThreadRead as an, RecoverySnapshot as ao, runCompletedRecordId as ar, ToolStepSettled as at, MAX_PERSISTED_JSON_COLLECTION_LENGTH as b, AdmissionGroup as ba, compileBindingContracts as bi, ThreadRunInputRequest as bn, SettlementReservation as bo, toolApprovalDecisionRecordId as br, DurableAgentRuntime_d_exports as bt, CanonicalRecord as c, ResumeSuspended as ca, predictRecoveryDisposition as ci, ThreadExport as cn, ReleaseOwnershipRequest as co, runDurationRecordId as cr, WorkerAdmission as ct, CanonicalSequence as d, SettleAborted as da, AgentRegistration_d_exports as di, ThreadNotMaterialized as dn, ReservedSettlement as do, runStartedRecordId as dr, WorkerOrigin as dt, Recovery_d_exports as ea, ObligationThresholds as ei, FencedAppendRequest as en, OwnershipLost as eo, modelResponseRecordId as er, ToolCallResolution as et, CompactionCreated as f, SettleJoinedWithHost as fa, AgentAttemptContext as fi, ThreadObservation as fn, ResolutionAbortSubmission as fo, subagentJoinBatchId as fr, WorkerOriginRecorded as ft, DeploymentId as g, AbortIntentRequest as ga, DurableWorkerBinding as gi, ThreadRead as gn, RevertJoiningRequest as go, subagentRequestedBatchId as gr, WorkerStopRequested as gt, DefinitionDigests as h, AbortIntent as ha, DurableBindingFailure as hi, ThreadPeerCountRequest as hn, ResolutionSafeToRetry as ho, subagentLineageRecordId as hr, WorkerReportingIntent as ht, ApprovalDecision as i, RepairReadiness as ia, RetryCommand as ii, SaveRecoveryCheckpointRequest as in, ParentLinkage as io, promptFromCanonicalRecords as ir, ToolOperation as it, RecordEnvelope as j, AttachChildToReservationRequest as ja, ApplyInput as ji, getRunInput as jn, SubmissionWorkItem as jo, turnBatchId as jr, DurableRuntimeConfig as jt, ProducerEpoch as k, ApprovalDecisionIntent as ka, digestJson as ki, ThreadWorkerStateRequest as kn, SubmissionSnapshot as ko, toolStepSettledRecordId as kr, DurableResolveFailure as kt, CanonicalRecordEnvelope as l, ResumeWaitingParent as la, recoveryDecisionMeaning as li, ThreadExportRequest as ln, RenewOwnershipRequest as lo, runIdForSubmission as lr, WorkerInputCompleted as lt, DefinitionDigestInput as m, AbortCommand as ma, BindingUnavailable as mi, ThreadOutstandingRequest as mn, ResolutionNeverHappened as mo, subagentLineageBatchId as mr, WorkerReportRefused as mt, AbortedSubmissionSettled as n, RepairInputMarker as na, RecoveryDisposition as ni, MAX_THREAD_EXPORT_RECORDS as nn, OwnershipSnapshot as no, projectRunJournal as nr, ToolCallSettled as nt, CURRENT_CANONICAL_SCHEMA_VERSION as o, ResumeFromTurnBoundary as oa, RetryRefused as oi, ThreadCheckpoint as on, RecoverySnapshotRequest as oo, runCompletionDigest as or, ToolUnavailable as ot, CompletedSubmissionSettled as p, classifyRecovery as pa, AgentRegistration as pi, ThreadOutstanding as pn, ResolutionCompletedWithResult as po, subagentJoinedRecordId as pr, WorkerReportPrepared as pt, SubmissionSettled as q, JoiningClaim as qa, NoAction as qi, childThreadIdFor as qn, submissionInputBatchId as qo, IntegrityCheckName as qr, recoveryRepairRecordId as qt, AgentUpdateEmitted as r, RepairJoinMarker as ra, RecoveryExplanation as ri, SaveCheckpointRequest as rn, OwnershipToken as ro, projectRunJournalStream as rr, ToolCallUnknown as rt, CanonicalBatch as s, ResumePendingToolBatch as sa, obligationSeverityOf as si, ThreadCheckpoints as sn, ReleaseChildBudgetRequest as so, runDurationBatchId as sr, UserInputRecorded as st, AbortRequested as t, ReleaseOrphanChildReservation as ta, RECOVERY_DECISION_MEANINGS as ti, LoadCheckpointRequest as tn, OwnershipRenewal as to, peerMessageRecordId as tr, ToolCallResolved as tt, CanonicalRecordPayload as u, RevertJoining as ua, renderRecoveryExplanation as ui, ThreadMaterialization as un, ReservedChildBudget as uo, runStartedBatchId as ur, WorkerInputRequested as ut, FailedSubmissionSettled as v, AdmissionConflict as va, ReplayVersions as vi, ThreadRecordRequest as vn, SettlementConflict as vo, subagentStartedBatchId as vr, DurableAbortFailure as vt, ModelResponseInterrupted as w, AdmissionRequest as wa, Digest_d_exports as wi, ThreadStoreError as wn, SubmissionLedgerFailure as wo, toolCallResolvedRecordId as wr, DurableAwaitFailure as wt, MAX_PERSISTED_JSON_DEPTH as x, AdmissionIndeterminate as xa, compileRegistrations as xi, ThreadSelection as xn, SettlementReservationSnapshot as xo, toolApprovalRequestRecordId as xr, DurableApprovalFailure as xt, MAX_PERSISTED_JSON_BYTES as y, AdmissionFence as ya, ResolvedBinding as yi, ThreadRecoveryCheckpoints as yn, SettlementFinalization as yo, subagentStartedRecordId as yr, DurableAgentRuntime as yt, RunPolicyUsageReserved as z, ChildSettledNotification as za, AwaitUnknownResolution as zi, RunJournalError as zn, UnknownResolutionIntent as zo, workerInputRecordId as zr, RecoveryBlocked as zt };
|
|
4214
|
-
//# sourceMappingURL=Records-
|
|
4214
|
+
//# sourceMappingURL=Records-uGX4_EGf.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-
|
|
3
|
+
import { _ as Digest, h as DefinitionDigests } from "./Records-uGX4_EGf.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-
|
|
847
|
+
//# sourceMappingURL=Schedule-C8ze8WTW.d.mts.map
|
|
@@ -2,6 +2,7 @@ import { d as ToolCallId, r as DelegationId, t as AgentId, u as ThreadId } from
|
|
|
2
2
|
import { c as SubagentExecutionFailureClassification, d as SubagentReservationAmounts, l as SubagentGrant, o as SubagentDelegationCaps, s as SubagentExecutionFailure } from "./SubagentContract-DdT7Cqe6.mjs";
|
|
3
3
|
import { SubagentBudgetExhausted, SubagentReservations } from "./capabilities/SubagentReservations.mjs";
|
|
4
4
|
import { a as Receipt, n as JoinedToHost, t as IdempotencyKey } from "./Receipt-BAHyigAF.mjs";
|
|
5
|
+
import { r as Update } from "./AgentUpdates-DMJ-_xow.mjs";
|
|
5
6
|
import { s as RunTotals } from "./Usage-Dx0aknfk.mjs";
|
|
6
7
|
import { t as ThreadHistory } from "./ThreadHistory-tS1KwxHR.mjs";
|
|
7
8
|
import { a as FailureDiagnostic_d_exports, r as Diagnostic } from "./FailureDiagnostic-CaAkzGHL.mjs";
|
|
@@ -9,8 +10,8 @@ import { E as RunDispositionDeclaration, _ as InstructionSource, c as Definition
|
|
|
9
10
|
import { a as WorkerBudgetScope, c as WorkerError, f as WorkerRef, o as WorkerCompletion, p as WorkerReport } from "./Worker-fwWkBg12.mjs";
|
|
10
11
|
import { V as RunSubagentDigests, x as RunContextPreparation } from "./RunOptions-CSBsSj0X.mjs";
|
|
11
12
|
import { c as MessageRef, l as MessageStatus } from "./Messaging-Dkg87ebg.mjs";
|
|
12
|
-
import { o as SubagentHost } from "./SubagentHost-
|
|
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-
|
|
13
|
+
import { o as SubagentHost } from "./SubagentHost-B0-cRCqs.mjs";
|
|
14
|
+
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-ov0LFEb-.mjs";
|
|
14
15
|
import { t as RunEventSink } from "./RunEventSink-D5aVhISG.mjs";
|
|
15
16
|
import { Tool, Toolkit } from "effect/unstable/ai";
|
|
16
17
|
import { Crypto, Duration, Effect, Layer, Schema, Scope, Stream } from "effect";
|
|
@@ -920,6 +921,13 @@ declare const cancel: <const Name extends string, Input extends Schema.Top, Outp
|
|
|
920
921
|
interface BackgroundOptions {
|
|
921
922
|
/** Deliver standard completion and progress messages to the parent. */
|
|
922
923
|
readonly reportToParent?: true;
|
|
924
|
+
/**
|
|
925
|
+
* With reportToParent, select which canonical updates also notify the parent. Defaults to all.
|
|
926
|
+
* This pure predicate receives the encoded update; decode value with the child's update Schema.
|
|
927
|
+
* False retains the update for observers without starting a parent Run. Completion is unaffected.
|
|
928
|
+
* The first accepted emission freezes the decision; replay does not reevaluate it.
|
|
929
|
+
*/
|
|
930
|
+
readonly reportUpdate?: (update: Update) => boolean;
|
|
923
931
|
readonly start?: true;
|
|
924
932
|
readonly followUp?: true;
|
|
925
933
|
readonly inspect?: true;
|
|
@@ -929,7 +937,7 @@ interface BackgroundOptions {
|
|
|
929
937
|
/** Author-owned funding request for starts; every native admission separately authorizes it. */
|
|
930
938
|
readonly budgetScope?: WorkerBudgetScope;
|
|
931
939
|
}
|
|
932
|
-
type Operation = Exclude<keyof BackgroundOptions, "budgetScope" | "reportToParent">;
|
|
940
|
+
type Operation = Exclude<keyof BackgroundOptions, "budgetScope" | "reportToParent" | "reportUpdate">;
|
|
933
941
|
type Suffix = {
|
|
934
942
|
start: "start";
|
|
935
943
|
followUp: "follow_up";
|
|
@@ -1632,4 +1640,4 @@ declare function background<const Name extends string, Input extends Schema.Top,
|
|
|
1632
1640
|
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
1641
|
//#endregion
|
|
1634
1642
|
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-
|
|
1643
|
+
//# sourceMappingURL=Subagent-CCf7rY70.d.mts.map
|
|
@@ -749,6 +749,7 @@ const background$1 = (declaration, selected) => {
|
|
|
749
749
|
const reportService = Context.Service(`@effect-agent/capabilities/BackgroundReport/${declaration.name}/${reportingServiceId++}`);
|
|
750
750
|
const descriptor = report === void 0 ? void 0 : {
|
|
751
751
|
...report,
|
|
752
|
+
...selected.reportUpdate === void 0 ? {} : { reportUpdate: selected.reportUpdate },
|
|
752
753
|
prepare: (value) => Effect.flatMap(Effect.serviceOption(reportService), (service) => Option.isSome(service) ? service.value.prepare(value) : WorkerReportPreparationFailure.make({ stage: "preparation" }))
|
|
753
754
|
};
|
|
754
755
|
const ops = operations(declaration);
|
|
@@ -1495,4 +1496,4 @@ function background(targetOrDeclaration, selected) {
|
|
|
1495
1496
|
//#endregion
|
|
1496
1497
|
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 };
|
|
1497
1498
|
|
|
1498
|
-
//# sourceMappingURL=Subagent-
|
|
1499
|
+
//# sourceMappingURL=Subagent-CudP5BlT.mjs.map
|