effect-agent 0.1.0-beta.124 → 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/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 +41 -41
- 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/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
|
@@ -15,7 +15,7 @@ import { n as CompactionError } from "./ContextCompactor-WwSIG_Z2.mjs";
|
|
|
15
15
|
import { t as DurableStep } from "./DurableStep-Cry_iol4.mjs";
|
|
16
16
|
import { B as RunSubagentChildIdentity, H as RunSubagentEstablishRequest, M as RunOptions, S as RunContextPreparationError, W as RunSubagentJoinRequest, i as ChildEstablishStatus, l as ModelUsageAccounting, t as AgentUpdateAcceptance, x as RunContextPreparation } from "./RunOptions-CSBsSj0X.mjs";
|
|
17
17
|
import { t as MessagingHost } from "./MessagingHost-CqzpxbGz.mjs";
|
|
18
|
-
import { o as SubagentHost } from "./SubagentHost-
|
|
18
|
+
import { o as SubagentHost } from "./SubagentHost-B0-cRCqs.mjs";
|
|
19
19
|
import { t as RunEventSink } from "./RunEventSink-D5aVhISG.mjs";
|
|
20
20
|
import { AiError, LanguageModel, Model, Prompt, Tool, Toolkit } from "effect/unstable/ai";
|
|
21
21
|
import { Cause, Context, Effect, Layer, Option, Schema, Scope, Stream, Tracer } from "effect";
|
|
@@ -343,4 +343,4 @@ declare namespace AgentRuntime_d_exports {
|
|
|
343
343
|
}
|
|
344
344
|
//#endregion
|
|
345
345
|
export { start as A, decodeFinalOutput as C, renderInputPrompt as D, projectCompletionOutput as E, withTerminalDefectEvent as F, stream as M, streamUnknown as N, run as O, streamWithUsageAccountingUnknown as P, ToolCallWaiting as S, projectCompletionFromToolOutput as T, SubagentDurability as _, AgentResultSchema as a, SubagentDurabilityError as b, AgentSpawner as c, DetachedRun as d, EngineProvidedToolServices as f, SpawnedChildRun as g, SpawnRunOptions as h, AgentResult as i, startUnknown as j, runUnknown as k, AgentSpawnerParent as l, SpawnDelegation as m, AgentChildPending as n, AgentRuntimeFailure as o, RuntimeBinding as p, AgentCompletionProjectionRequirements as r, AgentRuntimeRequirements as s, AgentRuntime_d_exports as t, AgentSpawnerService as u, SubagentDurabilityDurable as v, encodeRunDisposition as w, SubagentDurabilityService as x, SubagentDurabilityEphemeral as y };
|
|
346
|
-
//# sourceMappingURL=AgentRuntime-
|
|
346
|
+
//# sourceMappingURL=AgentRuntime-ov0LFEb-.d.mts.map
|
|
@@ -1041,6 +1041,7 @@ const makeWorkerRuntime = Effect.fn("WorkerHost.make")(function* (options) {
|
|
|
1041
1041
|
const now = yield* Clock.currentTimeMillis;
|
|
1042
1042
|
const deadlineAtMillis = Math.min(origin.expiresAtMillis, receivingOrigin?.expiresAtMillis ?? Infinity);
|
|
1043
1043
|
if (now >= deadlineAtMillis) return yield* failure("followUp", "denied");
|
|
1044
|
+
if (reports[0].reportUpdate !== void 0 && !reports[0].reportUpdate(update)) return void 0;
|
|
1044
1045
|
const input = destination.input;
|
|
1045
1046
|
let workerAdmission;
|
|
1046
1047
|
if (retained !== void 0) workerAdmission = {
|
|
@@ -7058,4 +7059,4 @@ var DurableAgentRuntime = class DurableAgentRuntime extends Context.Service()("@
|
|
|
7058
7059
|
//#endregion
|
|
7059
7060
|
export { DurableApprovalSuspension as a, RecoveryFailure as c, childReservationIdFor as d, isolateRecovery as f, threadCreatedRecordId as g, threadCreatedBatchId as h, DurableApprovalResolver as i, RecoveryReport as l, recoveryRepairRecordId as m, DurableAgentRuntime as n, DurableRuntimeConfig as o, recoveryRepairBatchId as p, DurableAgentRuntime_exports as r, RecoveryBlocked as s, ApprovalSuspensionError as t, RecoverySweepResult as u };
|
|
7060
7061
|
|
|
7061
|
-
//# sourceMappingURL=DurableAgentRuntime-
|
|
7062
|
+
//# sourceMappingURL=DurableAgentRuntime-BvDGe7F9.mjs.map
|