effect-agent 0.1.0-beta.155 → 0.1.0-beta.157
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-BjmupLN3.d.mts → Admin-BbTZHSLu.d.mts} +23 -11
- package/dist/{Agent-1DMSO_Fl.mjs → Agent-BMATXYsI.mjs} +9 -2
- package/dist/Agent-BMATXYsI.mjs.map +1 -0
- package/dist/{AgentRuntime-BAjT5gXl.d.mts → AgentRuntime-BPlAn5nA.d.mts} +6 -6
- package/dist/{AgentRuntime-IF_1GoUf.mjs → AgentRuntime-GQACxY_m.mjs} +21 -5
- package/dist/AgentRuntime-GQACxY_m.mjs.map +1 -0
- package/dist/{Digest-CaJ2RIsF.d.mts → Digest-CNHImGy0.d.mts} +2 -2
- package/dist/{DurableAgentRuntime-BQzYkFVy.mjs → DurableAgentRuntime-BAQvZK1e.mjs} +30 -18
- package/dist/DurableAgentRuntime-BAQvZK1e.mjs.map +1 -0
- package/dist/{EventSource-C8CKwQy5.d.mts → EventSource-CETtQTiH.d.mts} +3 -3
- package/dist/InMemory.d.mts +1 -1
- package/dist/{PreparedInputAdmission-CU1PzUVD.d.mts → PreparedInputAdmission-Swp9t800.d.mts} +4 -4
- package/dist/{Records-BrEpibum.d.mts → Records-BxGWRs-t.d.mts} +2 -2
- package/dist/{RunEvent-DV_llBcq.d.mts → RunEvent-D0aepYwN.d.mts} +2 -2
- package/dist/{RunEventSink-D5aVhISG.d.mts → RunEventSink-DsbcGXog.d.mts} +2 -2
- package/dist/{RunOptions-CkRYnlJa.d.mts → RunOptions-GjDlAuKh.d.mts} +5 -2
- package/dist/{Schedule-B_z7PMg-.d.mts → Schedule-B94iS2X3.d.mts} +2 -2
- package/dist/{Subagent-Dld4W1BY.d.mts → Subagent-CLaMeZKu.d.mts} +6 -6
- package/dist/{Subagent-CmFtZaeI.mjs → Subagent-JjcidJ7q.mjs} +2 -2
- package/dist/{Subagent-CmFtZaeI.mjs.map → Subagent-JjcidJ7q.mjs.map} +1 -1
- package/dist/{Subscription-BomcQ9_W.d.mts → Subscription-DaMCppa_.d.mts} +4 -4
- package/dist/{SubscriptionInput-gpZSR9vB.d.mts → SubscriptionInput-B0ZtrQoY.d.mts} +3 -3
- package/dist/{ThreadHistory-ZEu_ja6L.d.mts → ThreadHistory-FD-o4TsR.d.mts} +2 -2
- package/dist/{Usage-Dx0aknfk.d.mts → Usage-BNjPR7Zr.d.mts} +9 -1
- package/dist/{WorkerAdmission-CNbm4o_x.mjs → WorkerAdmission-N9hZV85Q.mjs} +2 -2
- package/dist/{WorkerAdmission-CNbm4o_x.mjs.map → WorkerAdmission-N9hZV85Q.mjs.map} +1 -1
- package/dist/{agent-registration-U3kmV7nW.mjs → agent-registration-BIOzAej4.mjs} +10 -1
- package/dist/agent-registration-BIOzAej4.mjs.map +1 -0
- 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/ToolDiscovery.d.mts +5 -0
- package/dist/capabilities/ToolDiscovery.mjs +18 -9
- package/dist/capabilities/ToolDiscovery.mjs.map +1 -1
- package/dist/capabilities/WebSearch.d.mts +5 -1
- package/dist/capabilities/WebSearch.mjs +9 -1
- package/dist/capabilities/WebSearch.mjs.map +1 -1
- package/dist/core/Agent.mjs +1 -1
- package/dist/core/RunEvent.d.mts +1 -1
- package/dist/core/Usage.d.mts +1 -1
- package/dist/core/Usage.mjs +22 -1
- package/dist/core/Usage.mjs.map +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/AgentRegistration.mjs +1 -1
- package/dist/durable/Certification.d.mts +1 -1
- package/dist/durable/CommittedActivity.d.mts +3 -3
- package/dist/durable/Digest.d.mts +1 -1
- package/dist/durable/DurableAgentRuntime.d.mts +1 -1
- package/dist/durable/DurableAgentRuntime.mjs +2 -2
- package/dist/durable/EventSource.d.mts +1 -1
- package/dist/durable/GitHubWorkflowSource.d.mts +3 -3
- package/dist/durable/LifecyclePublication.d.mts +1 -1
- package/dist/durable/LifecyclePublication.mjs +2 -2
- package/dist/durable/LifecyclePublication.mjs.map +1 -1
- package/dist/durable/MessageDelivery.d.mts +4 -4
- package/dist/durable/MessageDeliveryStoreConformance.d.mts +3 -3
- package/dist/durable/PersistentHistory.d.mts +2 -2
- 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 +3 -3
- package/dist/durable/SqlMemoryStore.d.mts +715 -5
- package/dist/durable/SqlMemoryStore.mjs +313 -123
- package/dist/durable/SqlMemoryStore.mjs.map +1 -1
- package/dist/durable/SubmissionLedger.d.mts +1 -1
- package/dist/durable/SubmissionLedgerConformance.d.mts +2 -2
- package/dist/durable/SubmissionStatus.d.mts +1 -1
- package/dist/durable/Subscription.d.mts +1 -1
- package/dist/durable/SubscriptionInput.d.mts +1 -1
- package/dist/durable/SubscriptionInput.mjs +1 -1
- package/dist/durable/SubscriptionStoreConformance.d.mts +1 -1
- package/dist/durable/SubscriptionTools.d.mts +4 -4
- package/dist/durable/SubscriptionTransition.d.mts +1 -1
- package/dist/durable/Subscriptions.d.mts +6 -6
- package/dist/durable/ThreadContextHistory.d.mts +1 -1
- package/dist/durable/ThreadContextHistoryProjection.d.mts +1 -1
- package/dist/durable/ThreadInvariants.d.mts +2 -2
- 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/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/RunEventSink.d.mts +1 -1
- package/dist/engine/RunOptions.d.mts +1 -1
- package/dist/engine/RunOptions.mjs +1 -0
- package/dist/engine/RunOptions.mjs.map +1 -1
- package/dist/engine/ThreadHistory.d.mts +1 -1
- package/dist/index.d.mts +15 -15
- package/dist/index.mjs +5 -5
- package/package.json +1 -1
- package/src/capabilities/ToolDiscovery.ts +24 -10
- package/src/capabilities/WebSearch.ts +15 -0
- package/src/core/Agent.ts +16 -2
- package/src/core/Usage.ts +41 -0
- package/src/durable/DurableAgentRuntime.ts +40 -12
- package/src/durable/LifecyclePublication.ts +15 -2
- package/src/durable/SqlMemoryStore.ts +462 -188
- package/src/durable/internal/agent-registration.ts +11 -0
- package/src/engine/RunOptions.ts +3 -0
- package/src/engine/internal/agent-runtime.ts +68 -5
- package/dist/Agent-1DMSO_Fl.mjs.map +0 -1
- package/dist/AgentRuntime-IF_1GoUf.mjs.map +0 -1
- package/dist/DurableAgentRuntime-BQzYkFVy.mjs.map +0 -1
- package/dist/agent-registration-U3kmV7nW.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { k as PersistedJson } from "./Records-
|
|
2
|
-
import { E as SubscriptionSourceError, b as SubscriptionRecord, i as EventSourceVersion, t as AcceptedEvent } from "./Subscription-
|
|
1
|
+
import { k as PersistedJson } from "./Records-BxGWRs-t.mjs";
|
|
2
|
+
import { E as SubscriptionSourceError, b as SubscriptionRecord, i as EventSourceVersion, t as AcceptedEvent } from "./Subscription-DaMCppa_.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-CETtQTiH.d.mts.map
|
package/dist/InMemory.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as Store } from "./Thread-DOBQ0QUY.mjs";
|
|
2
2
|
import { SubagentReservations } from "./capabilities/SubagentReservations.mjs";
|
|
3
|
-
import { t as ThreadHistory } from "./ThreadHistory-
|
|
3
|
+
import { t as ThreadHistory } from "./ThreadHistory-FD-o4TsR.mjs";
|
|
4
4
|
import { Layer } from "effect";
|
|
5
5
|
declare namespace InMemory_d_exports {
|
|
6
6
|
export { layer };
|
package/dist/{PreparedInputAdmission-CU1PzUVD.d.mts → PreparedInputAdmission-Swp9t800.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 { Oi as SubmissionStatus } from "./Admin-
|
|
4
|
-
import { H as ScheduledInputRefused, V as ScheduledInputFailure, j as ScheduleStorageError } from "./Schedule-
|
|
5
|
-
import { a as PreparedInput } from "./Subscription-
|
|
3
|
+
import { Oi as SubmissionStatus } from "./Admin-BbTZHSLu.mjs";
|
|
4
|
+
import { H as ScheduledInputRefused, V as ScheduledInputFailure, j as ScheduleStorageError } from "./Schedule-B94iS2X3.mjs";
|
|
5
|
+
import { a as PreparedInput } from "./Subscription-DaMCppa_.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-Swp9t800.d.mts.map
|
|
@@ -2,7 +2,7 @@ import { d as SubagentReservationAmounts, l as SubagentGrant, o as SubagentDeleg
|
|
|
2
2
|
import { a as Receipt } from "./Receipt-BAHyigAF.mjs";
|
|
3
3
|
import { r as Update } from "./AgentUpdates-DMJ-_xow.mjs";
|
|
4
4
|
import { c as Selection, l as Snapshot } from "./ToolExposure-r2eOWk4F.mjs";
|
|
5
|
-
import { l as RunUsageSummary, r as ModelCallUsage, s as RunTotals } from "./Usage-
|
|
5
|
+
import { l as RunUsageSummary, r as ModelCallUsage, s as RunTotals } from "./Usage-BNjPR7Zr.mjs";
|
|
6
6
|
import { a as FailureDiagnostic_d_exports, r as Diagnostic } from "./FailureDiagnostic-CaAkzGHL.mjs";
|
|
7
7
|
import { t as AgentPolicy } from "./AgentPolicy-CnXWWwdg.mjs";
|
|
8
8
|
import { Schema } from "effect";
|
|
@@ -1112,4 +1112,4 @@ declare class CanonicalRecordEnvelope extends CanonicalRecordEnvelope_base {}
|
|
|
1112
1112
|
declare const CURRENT_CANONICAL_SCHEMA_VERSION: 1;
|
|
1113
1113
|
//#endregion
|
|
1114
1114
|
export { ToolApprovalRequested as $, ProducerEpoch as A, RunPolicyUsageReserved as B, ModelCallAborted as C, ObservationOffset as D, ModelResponseRecorded as E, RepairAnnotated as F, SubagentLineageRecorded as G, SettlementFailureDiagnostic as H, ReplayContract as I, SubmissionSettled as J, SubagentRequested as K, RunCompleted as L, RecordEnvelope as M, RecordId as N, PeerMessagePrepared as O, Records_d_exports as P, ToolApprovalDecided as Q, RunDurationExhausted as R, MAX_PERSISTED_JSON_NODES as S, ModelResponseInterrupted as T, SettlementOutcome as U, RunStartedRecord as V, SubagentJoined as W, SubtreeBudgetReserved as X, SubmissionSettledRecord as Y, ThreadCreated as Z, Digest as _, WorkerReportingIntent as _t, BatchId as a, ToolOperation as at, MAX_PERSISTED_JSON_COLLECTION_LENGTH as b, CanonicalRecord as c, UserInputRecorded as ct, CanonicalSequence as d, WorkerInputCompleted as dt, ToolCallPrepared as et, CompactionCreated as f, WorkerInputRequested as ft, DeploymentId as g, WorkerReportRefused as gt, DefinitionDigests as h, WorkerReportPrepared as ht, ApprovalDecision as i, ToolCallUnknown as it, ProducerId as j, PersistedJson as k, CanonicalRecordEnvelope as l, WorkerAdmission as lt, DefinitionDigestInput as m, WorkerOriginRecorded as mt, AbortedSubmissionSettled as n, ToolCallResolved as nt, CURRENT_CANONICAL_SCHEMA_VERSION as o, ToolStepSettled as ot, CompletedSubmissionSettled as p, WorkerOrigin as pt, SubagentStarted as q, AgentUpdateEmitted as r, ToolCallSettled as rt, CanonicalBatch as s, ToolUnavailable as st, AbortRequested as t, ToolCallResolution as tt, CanonicalRecordPayload as u, WorkerContinuation as ut, FailedSubmissionSettled as v, WorkerStopRequested as vt, ModelCompleted as w, MAX_PERSISTED_JSON_DEPTH as x, MAX_PERSISTED_JSON_BYTES as y, RunFailed as z };
|
|
1115
|
-
//# sourceMappingURL=Records-
|
|
1115
|
+
//# sourceMappingURL=Records-BxGWRs-t.d.mts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as Update } from "./AgentUpdates-DMJ-_xow.mjs";
|
|
2
2
|
import { c as Selection } from "./ToolExposure-r2eOWk4F.mjs";
|
|
3
|
-
import { s as RunTotals } from "./Usage-
|
|
3
|
+
import { s as RunTotals } from "./Usage-BNjPR7Zr.mjs";
|
|
4
4
|
import { Schema } from "effect";
|
|
5
5
|
declare namespace RunEvent_d_exports {
|
|
6
6
|
export { AgentUpdateEmitted, ApprovalRequested, BudgetWarning, CompactionPerformed, ExhaustedLimit, ModelRestarted, ModelStarted, ReasoningDelta, RunCompleted, RunEvent, RunFailed, RunInterrupted, RunStarted, RunSuspended, SubagentCompleted, SubagentFailed, SubagentInterrupted, SubagentJoined, SubagentProgress, SubagentRequested, SubagentStarted, TextDelta, ToolCallDeclared, ToolCallFailed, ToolCallStarted, ToolCallSucceeded, ToolFailureHandling, ToolProgress, TurnCompleted, TurnStarted };
|
|
@@ -471,4 +471,4 @@ declare const RunEvent: Schema.Union<readonly [typeof AgentUpdateEmitted, typeof
|
|
|
471
471
|
type RunEvent = typeof RunEvent.Type;
|
|
472
472
|
//#endregion
|
|
473
473
|
export { TurnCompleted as A, TextDelta as C, ToolCallSucceeded as D, ToolCallStarted as E, ToolFailureHandling as O, SubagentStarted as S, ToolCallFailed as T, SubagentFailed as _, ExhaustedLimit as a, SubagentProgress as b, ReasoningDelta as c, RunEvent_d_exports as d, RunFailed as f, SubagentCompleted as g, RunSuspended as h, CompactionPerformed as i, TurnStarted as j, ToolProgress as k, RunCompleted as l, RunStarted as m, ApprovalRequested as n, ModelRestarted as o, RunInterrupted as p, BudgetWarning as r, ModelStarted as s, AgentUpdateEmitted as t, RunEvent as u, SubagentInterrupted as v, ToolCallDeclared as w, SubagentRequested as x, SubagentJoined as y };
|
|
474
|
-
//# sourceMappingURL=RunEvent-
|
|
474
|
+
//# sourceMappingURL=RunEvent-D0aepYwN.d.mts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as ToolCallId, r as DelegationId, s as RunId, t as AgentId, u as ThreadId } from "./Identifiers-CN2s30fF.mjs";
|
|
2
2
|
import { n as DelegationDepth } from "./SubagentContract-DdT7Cqe6.mjs";
|
|
3
|
-
import { s as RunTotals } from "./Usage-
|
|
3
|
+
import { s as RunTotals } from "./Usage-BNjPR7Zr.mjs";
|
|
4
4
|
import { Context, Effect, Schema } from "effect";
|
|
5
5
|
declare namespace RunEventSink_d_exports {
|
|
6
6
|
export { RunEventSink, RunEventSinkClosedError, RunEventSinkService, SubagentCompletedPayload, SubagentEventBasePayload, SubagentEventPayload, SubagentFailedPayload, SubagentInterruptedPayload, SubagentJoinedPayload, SubagentProgressPayload, SubagentRequestedPayload, SubagentStartedPayload };
|
|
@@ -105,4 +105,4 @@ declare const RunEventSink_base: Context.ServiceClass<RunEventSink, "@effect-age
|
|
|
105
105
|
declare class RunEventSink extends RunEventSink_base {}
|
|
106
106
|
//#endregion
|
|
107
107
|
export { SubagentCompletedPayload as a, SubagentFailedPayload as c, SubagentProgressPayload as d, SubagentRequestedPayload as f, RunEventSink_d_exports as i, SubagentInterruptedPayload as l, RunEventSinkClosedError as n, SubagentEventBasePayload as o, SubagentStartedPayload as p, RunEventSinkService as r, SubagentEventPayload as s, RunEventSink as t, SubagentJoinedPayload as u };
|
|
108
|
-
//# sourceMappingURL=RunEventSink-
|
|
108
|
+
//# sourceMappingURL=RunEventSink-DsbcGXog.d.mts.map
|
|
@@ -2,7 +2,7 @@ import { d as ToolCallId, f as TurnId, l as SubmissionId, o as ReceiptId, r as D
|
|
|
2
2
|
import { f as ToolExecutionKind, i as SubagentBudgetReservation, l as SubagentGrant, n as DelegationDepth, u as SubagentParentLink } from "./SubagentContract-DdT7Cqe6.mjs";
|
|
3
3
|
import { i as UpdateError, r as Update } from "./AgentUpdates-DMJ-_xow.mjs";
|
|
4
4
|
import { c as Selection, l as Snapshot } from "./ToolExposure-r2eOWk4F.mjs";
|
|
5
|
-
import { r as ModelCallUsage, s as RunTotals, t as ChildRunUsage } from "./Usage-
|
|
5
|
+
import { r as ModelCallUsage, s as RunTotals, t as ChildRunUsage } from "./Usage-BNjPR7Zr.mjs";
|
|
6
6
|
import { a as AgentInputError, u as AgentToolAuthorizationCheckError } from "./AgentError-Bn1ytXRD.mjs";
|
|
7
7
|
import { t as ToolParameterRejection } from "./ToolResult-BKdqWRff.mjs";
|
|
8
8
|
import { t as AgentPolicy } from "./AgentPolicy-CnXWWwdg.mjs";
|
|
@@ -280,6 +280,8 @@ interface RunCostEstimate {
|
|
|
280
280
|
type RunCostEstimateValue = number | RunCostEstimate;
|
|
281
281
|
/** Model identity presented beside the legacy raw-usage estimator argument. */
|
|
282
282
|
interface RunCostEstimateRequest {
|
|
283
|
+
/** Observed hosted web search calls, separately billed from tokens. */
|
|
284
|
+
readonly webSearchCalls?: number | undefined;
|
|
283
285
|
readonly provider: string;
|
|
284
286
|
/** Configured binding identity; only response.model identifies the returned model. */
|
|
285
287
|
readonly model: string;
|
|
@@ -680,6 +682,7 @@ declare const RunResumeUsageSchema: Schema.Struct<{
|
|
|
680
682
|
readonly finalizationUsed: Schema.Boolean;
|
|
681
683
|
readonly modelRestarts: Schema.optionalKey<Schema.Int>;
|
|
682
684
|
readonly modelCalls: Schema.Natural;
|
|
685
|
+
readonly webSearchCalls: Schema.optionalKey<Schema.Natural>;
|
|
683
686
|
readonly inputTokens: Schema.Natural;
|
|
684
687
|
readonly outputTokens: Schema.Natural;
|
|
685
688
|
readonly lastInputTokens: Schema.Natural;
|
|
@@ -954,4 +957,4 @@ type RunOptionsError<Options> = Options extends RunOptions<infer Error, infer _R
|
|
|
954
957
|
type RunOptionsRequirements<Options> = Options extends RunOptions<infer _Error, infer Requirements> ? Requirements : never;
|
|
955
958
|
//#endregion
|
|
956
959
|
export { RunTurnResponseCommit as $, RunInputCommand as A, RunSubagentChildIdentity as B, RunContextPreparationPassthrough as C, RunCostEstimateValue as D, RunCostEstimateRequest as E, RunOptions_d_exports as F, RunToolAuthorization as G, RunSubagentEstablishRequest as H, RunResumeUsage as I, RunToolAuthorizationRequest as J, RunToolAuthorizationDecision as K, RunResumeUsageSchema as L, RunOptions as M, RunOptionsError as N, RunCostEstimator as O, RunOptionsRequirements as P, RunTransientContextHook as Q, RunSchedulingHook as R, RunContextPreparationError as S, RunCostEstimate as T, RunSubagentHook as U, RunSubagentDigests as V, RunSubagentJoinRequest as W, RunToolFailureObserver as X, RunToolCallDescriptor as Y, RunToolScheduling as Z, RunBudgetHook as _, ChildEstablishWaiting as a, RunUsageDelta as at, RunContextHook as b, ModelToolFailure as c, ProgrammaticPreflightFailure as d, RunTurnResume as et, ProgrammaticToolFailure as f, RunApprovalRequest as g, RunApprovalHook as h, ChildEstablishStatus as i, RunTurnUsage as it, RunInputHook as j, RunDurabilityHook as k, ModelUsageAccounting as l, RunApprovalDecision as m, ChildEstablishDenied as n, RunTurnResumeSettledCall as nt, CommandDrainPolicy as o, ToolFailureObservation as ot, ResolvedModelCall as p, RunToolAuthorizationHook as q, ChildEstablishSettled as r, RunTurnResumeSettledCallSchema as rt, CurrentToolFailureObserver as s, toolFailureObserverLayer as st, AgentUpdateAcceptance as t, RunTurnResumeCall as tt, PreparedRunContext as u, RunBufferLimits as v, RunContextRequest as w, RunContextPreparation as x, RunCompactionCommit as y, RunSchedulingOverride as z };
|
|
957
|
-
//# sourceMappingURL=RunOptions-
|
|
960
|
+
//# sourceMappingURL=RunOptions-GjDlAuKh.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-BxGWRs-t.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-B94iS2X3.d.mts.map
|
|
@@ -3,16 +3,16 @@ import { c as SubagentExecutionFailureClassification, d as SubagentReservationAm
|
|
|
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
5
|
import { r as Update } from "./AgentUpdates-DMJ-_xow.mjs";
|
|
6
|
-
import { s as RunTotals } from "./Usage-
|
|
7
|
-
import { t as ThreadHistory } from "./ThreadHistory-
|
|
6
|
+
import { s as RunTotals } from "./Usage-BNjPR7Zr.mjs";
|
|
7
|
+
import { t as ThreadHistory } from "./ThreadHistory-FD-o4TsR.mjs";
|
|
8
8
|
import { a as FailureDiagnostic_d_exports, r as Diagnostic } from "./FailureDiagnostic-CaAkzGHL.mjs";
|
|
9
9
|
import { E as RunDispositionDeclaration, _ as InstructionSource, c as Definition, m as InputPromptSource, r as AnyDefinition, y as ModelServices } from "./Agent-BCyrGaWg.mjs";
|
|
10
10
|
import { a as WorkerBudgetScope, c as WorkerError, f as WorkerRef, o as WorkerCompletion, p as WorkerReport } from "./Worker-2r2zGDkh.mjs";
|
|
11
|
-
import { V as RunSubagentDigests, x as RunContextPreparation } from "./RunOptions-
|
|
11
|
+
import { V as RunSubagentDigests, x as RunContextPreparation } from "./RunOptions-GjDlAuKh.mjs";
|
|
12
12
|
import { c as MessageRef, l as MessageStatus } from "./Messaging-Dkg87ebg.mjs";
|
|
13
13
|
import { f as WorkerReporting, o as SubagentHost } from "./SubagentHost--HBuY8fF.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-
|
|
15
|
-
import { t as RunEventSink } from "./RunEventSink-
|
|
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-BPlAn5nA.mjs";
|
|
15
|
+
import { t as RunEventSink } from "./RunEventSink-DsbcGXog.mjs";
|
|
16
16
|
import { Tool, Toolkit } from "effect/unstable/ai";
|
|
17
17
|
import { Crypto, Duration, Effect, Layer, Schema, Scope, Stream } from "effect";
|
|
18
18
|
//#region src/capabilities/internal/subagent-contract.d.ts
|
|
@@ -1649,4 +1649,4 @@ declare function background<const Name extends string, Input extends Schema.Top,
|
|
|
1649
1649
|
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>>;
|
|
1650
1650
|
//#endregion
|
|
1651
1651
|
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 };
|
|
1652
|
-
//# sourceMappingURL=Subagent-
|
|
1652
|
+
//# sourceMappingURL=Subagent-CLaMeZKu.d.mts.map
|
|
@@ -9,7 +9,7 @@ import { BackgroundSpawnTool, DelegationTool, SubagentBudgetReservation, Subagen
|
|
|
9
9
|
import { RunUsageReport, unknownRunTotals } from "./core/Usage.mjs";
|
|
10
10
|
import { C as MessageStatus, S as MessageRef, _ as WorkerStop, c as WorkerError, d as WorkerPage, f as WorkerRef, g as WorkerStarted, o as WorkerCompletion, p as WorkerReport, s as WorkerContext, v as WorkerStopped, y as WorkerSummary } from "./Worker-CfwzMZEK.mjs";
|
|
11
11
|
import { BackgroundReporting, SubagentHost, WorkerReportPreparationFailure } from "./engine/SubagentHost.mjs";
|
|
12
|
-
import { a as SubagentDurability, i as AgentSpawner, o as SubagentDurabilityError, s as ToolCallWaiting } from "./AgentRuntime-
|
|
12
|
+
import { a as SubagentDurability, i as AgentSpawner, o as SubagentDurabilityError, s as ToolCallWaiting } from "./AgentRuntime-GQACxY_m.mjs";
|
|
13
13
|
import { RunEventSink } from "./engine/RunEventSink.mjs";
|
|
14
14
|
import { SubagentBudgetExhausted, SubagentObservedUsage, SubagentReservationRequest, SubagentReservations, makeBudgetReservationId } from "./capabilities/SubagentReservations.mjs";
|
|
15
15
|
import { t as utf8Bytes } from "./utf8-BYfhEkcj.mjs";
|
|
@@ -1499,4 +1499,4 @@ function background(targetOrDeclaration, selected) {
|
|
|
1499
1499
|
//#endregion
|
|
1500
1500
|
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 };
|
|
1501
1501
|
|
|
1502
|
-
//# sourceMappingURL=Subagent-
|
|
1502
|
+
//# sourceMappingURL=Subagent-JjcidJ7q.mjs.map
|