effect-agent 0.1.0-beta.164 → 0.1.0-beta.165
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-Vhz6NdaH.d.mts → Admin-CbwoQEm8.d.mts} +24 -24
- package/dist/{Agent-BMATXYsI.mjs → Agent-B0WrUcHy.mjs} +9 -9
- package/dist/Agent-B0WrUcHy.mjs.map +1 -0
- package/dist/{Agent-ZfnNCQXs.d.mts → Agent-D0fbFT2d.d.mts} +27 -24
- package/dist/{AgentError-Bn1ytXRD.d.mts → AgentError-BMqPzIVt.d.mts} +3 -3
- package/dist/{AgentPolicy-B4oH8TbG.d.mts → AgentPolicy-CclAEpHn.d.mts} +2 -2
- package/dist/{AgentRuntime-D1MmB_0z.d.mts → AgentRuntime-BM36roNi.d.mts} +44 -30
- package/dist/{AgentRuntime-Q50HloUc.mjs → AgentRuntime-BTfPyMXN.mjs} +91 -30
- package/dist/AgentRuntime-BTfPyMXN.mjs.map +1 -0
- package/dist/{AgentUpdates-DMJ-_xow.d.mts → AgentUpdates-DksV4D0A.d.mts} +6 -3
- package/dist/{ContextCompactor-BoKQOjr5.d.mts → ContextCompactor-DLpX-HUG.d.mts} +18 -12
- package/dist/{ContextWindow-DRQ5Mbm2.d.mts → ContextWindow-aGZOPIPq.d.mts} +24 -22
- package/dist/{Digest-COAt3Orl.d.mts → Digest-3l_02jaM.d.mts} +2 -2
- package/dist/{DurableAgentRuntime-BTMOgDl_.mjs → DurableAgentRuntime-CWmWREPj.mjs} +11 -11
- package/dist/{DurableAgentRuntime-BTMOgDl_.mjs.map → DurableAgentRuntime-CWmWREPj.mjs.map} +1 -1
- package/dist/{DurableStep-Cry_iol4.d.mts → DurableStep-CTqx6DOV.d.mts} +13 -11
- package/dist/{EventSource-CtS0RBM7.d.mts → EventSource-D29Jsj5U.d.mts} +3 -3
- package/dist/{FailureDiagnostic-BElLOoED.mjs → FailureDiagnostic-D9oW23Cn.mjs} +16 -10
- package/dist/FailureDiagnostic-D9oW23Cn.mjs.map +1 -0
- package/dist/{FailureDiagnostic-CaAkzGHL.d.mts → FailureDiagnostic-DvHruCSJ.d.mts} +10 -9
- package/dist/InMemory.d.mts +28 -5
- package/dist/InMemory.mjs +37 -4
- package/dist/InMemory.mjs.map +1 -1
- package/dist/{Messaging-CICd_CSi.d.mts → Messaging-BbuaphiQ.d.mts} +6 -6
- package/dist/{Messaging-7VXQnWI3.d.mts → Messaging-DF_IWnxV.d.mts} +5 -5
- package/dist/{MessagingHost-DXwWnrMh.d.mts → MessagingHost-Bfbfkx6f.d.mts} +13 -12
- package/dist/{MessagingHost-DfsbMPvq.mjs → MessagingHost-DJZJZILu.mjs} +4 -3
- package/dist/MessagingHost-DJZJZILu.mjs.map +1 -0
- package/dist/{Output-CY7NZByV.d.mts → Output-UsQKiPhz.d.mts} +4 -4
- package/dist/{PreparedInputAdmission-CS_zlCvD.d.mts → PreparedInputAdmission-DXvjTe4U.d.mts} +6 -6
- package/dist/{Receipt-BAHyigAF.d.mts → Receipt-BkM21Qiu.d.mts} +2 -2
- package/dist/{Records-Bm4Qt70a.d.mts → Records-CAQktL0z.d.mts} +8 -8
- package/dist/{RunEvent-D0aepYwN.d.mts → RunEvent-B3CRIqIC.d.mts} +5 -5
- package/dist/{RunEventSink-9CUdI9Ar.d.mts → RunEventSink-sDXDkrAl.d.mts} +9 -7
- package/dist/{RunJournal-D8Vvf_io.mjs → RunJournal-NRgq1PNe.mjs} +3 -3
- package/dist/{RunJournal-D8Vvf_io.mjs.map → RunJournal-NRgq1PNe.mjs.map} +1 -1
- package/dist/{RunOptions-BHmBa05n.d.mts → RunOptions-CkSZSuIh.d.mts} +87 -83
- package/dist/{RunPolicyUsage-CUudVtg_.d.mts → RunPolicyUsage-QmYVw9z8.d.mts} +2 -2
- package/dist/{Schedule-Bi_XVKLF.d.mts → Schedule-rEIiYnRq.d.mts} +4 -4
- package/dist/{Subagent-Cxvuaius.mjs → Subagent-C-fyHbcp.mjs} +5 -5
- package/dist/{Subagent-Cxvuaius.mjs.map → Subagent-C-fyHbcp.mjs.map} +1 -1
- package/dist/{Subagent-D59om8SR.d.mts → Subagent-t3pJDZMN.d.mts} +15 -15
- package/dist/{SubagentContract-tyN9v-Jv.d.mts → SubagentContract-DdPzxYQj.d.mts} +3 -2
- package/dist/{SubagentHost-VTyf_wEF.d.mts → SubagentHost-CXFlEpj0.d.mts} +19 -16
- package/dist/{Subscription-nbSNY6Hs.d.mts → Subscription-BJj-R-6V.d.mts} +8 -8
- package/dist/{SubscriptionInput-DbXnOMS2.d.mts → SubscriptionInput-DyQtODg2.d.mts} +3 -3
- package/dist/Thread-DT8RTLIQ.d.mts +117 -0
- package/dist/{ThreadHistory-FD-o4TsR.d.mts → ThreadHistory-DQ-IC1hU.d.mts} +12 -9
- package/dist/{ToolBroker-DWs4tZra.d.mts → ToolBroker-DXwv2aUT.d.mts} +14 -12
- package/dist/{ToolExposure-UCN12eCd.d.mts → ToolExposure-BsaSH15e.d.mts} +5 -4
- package/dist/{ToolExposure-r2eOWk4F.d.mts → ToolExposure-Ckg3-sTf.d.mts} +3 -2
- package/dist/{ToolExposure-9uF_Yo0T.mjs → ToolExposure-DBATXxmL.mjs} +2 -2
- package/dist/ToolExposure-DBATXxmL.mjs.map +1 -0
- package/dist/{ToolExposure-C93U1sPu.mjs → ToolExposure-hTJT2ekj.mjs} +3 -2
- package/dist/ToolExposure-hTJT2ekj.mjs.map +1 -0
- package/dist/ToolExposure.d.mts +2 -2
- package/dist/ToolExposure.mjs +2 -2
- package/dist/{ToolResult-BKdqWRff.d.mts → ToolResult-DqyEhJLF.d.mts} +2 -2
- package/dist/{Usage-BNjPR7Zr.d.mts → Usage-CzZJ6A2n.d.mts} +3 -2
- package/dist/{Worker-XEBYxRQv.d.mts → Worker-DH5SAVIK.d.mts} +7 -7
- package/dist/{Worker-CfwzMZEK.mjs → Worker-DZjdMjZn.mjs} +3 -3
- package/dist/Worker-DZjdMjZn.mjs.map +1 -0
- package/dist/{WorkerAdmission-BVbSB8_A.mjs → WorkerAdmission-DJ76C2b-.mjs} +4 -4
- package/dist/{WorkerAdmission-BVbSB8_A.mjs.map → WorkerAdmission-DJ76C2b-.mjs.map} +1 -1
- package/dist/{agent-registration-BIOzAej4.mjs → agent-registration-D1dWV7KK.mjs} +3 -3
- package/dist/{agent-registration-BIOzAej4.mjs.map → agent-registration-D1dWV7KK.mjs.map} +1 -1
- package/dist/capabilities/BrowserUse.d.mts +1 -1
- package/dist/capabilities/BrowserUse.mjs +1 -1
- package/dist/capabilities/CodeMode.d.mts +2 -2
- package/dist/capabilities/CodeMode.mjs +3 -3
- package/dist/capabilities/Commands.d.mts +1 -1
- package/dist/capabilities/ContextTools.d.mts +2 -2
- package/dist/capabilities/ContextTools.mjs +1 -1
- package/dist/capabilities/Mcp.d.mts +1 -1
- package/dist/capabilities/Mcp.mjs +1 -1
- package/dist/capabilities/McpClient.d.mts +1 -1
- package/dist/capabilities/McpClient.mjs +1 -1
- package/dist/capabilities/MemoryNotes.d.mts +2 -2
- package/dist/capabilities/MemoryNotes.mjs +1 -1
- package/dist/capabilities/Messaging.d.mts +2 -2
- package/dist/capabilities/Messaging.mjs +3 -3
- package/dist/capabilities/ModelContext.d.mts +1 -1
- package/dist/capabilities/Redaction.d.mts +1 -1
- package/dist/capabilities/RunHooks.d.mts +7 -6
- package/dist/capabilities/RunHooks.mjs +2 -1
- package/dist/capabilities/RunHooks.mjs.map +1 -1
- package/dist/capabilities/SemanticMemory.d.mts +1 -1
- package/dist/capabilities/SemanticMemory.mjs +1 -1
- package/dist/capabilities/Subagent.d.mts +3 -3
- package/dist/capabilities/Subagent.mjs +2 -2
- package/dist/capabilities/SubagentReservations.d.mts +64 -60
- package/dist/capabilities/SubagentReservations.mjs +6 -1
- package/dist/capabilities/SubagentReservations.mjs.map +1 -1
- package/dist/capabilities/ToolDiscovery.d.mts +2 -2
- package/dist/capabilities/ToolDiscovery.mjs +3 -3
- package/dist/capabilities/WebCapture.d.mts +1 -1
- package/dist/capabilities/WebCapture.mjs +1 -1
- package/dist/capabilities/WebSearch.d.mts +1 -1
- package/dist/capabilities/WebSearch.mjs +1 -1
- package/dist/{compaction-BQK4MUg3.mjs → compaction-FDJhjbzH.mjs} +4 -3
- package/dist/compaction-FDJhjbzH.mjs.map +1 -0
- package/dist/core/Agent.d.mts +1 -1
- package/dist/core/Agent.mjs +1 -1
- package/dist/core/AgentError.d.mts +1 -1
- package/dist/core/AgentError.mjs +4 -4
- package/dist/core/AgentError.mjs.map +1 -1
- package/dist/core/AgentPolicy.d.mts +1 -1
- package/dist/core/AgentUpdates.d.mts +1 -1
- package/dist/core/AgentUpdates.mjs +5 -1
- package/dist/core/AgentUpdates.mjs.map +1 -1
- package/dist/core/FailureDiagnostic.d.mts +1 -1
- package/dist/core/FailureDiagnostic.mjs +1 -1
- package/dist/core/IdGenerator.d.mts +3 -1
- package/dist/core/IdGenerator.mjs +8 -5
- package/dist/core/IdGenerator.mjs.map +1 -1
- package/dist/core/Receipt.d.mts +1 -1
- package/dist/core/Receipt.mjs +1 -1
- package/dist/core/Receipt.mjs.map +1 -1
- package/dist/core/RunEvent.d.mts +1 -1
- package/dist/core/RunEvent.mjs +2 -2
- package/dist/core/RunEvent.mjs.map +1 -1
- package/dist/core/RunPolicyUsage.d.mts +1 -1
- package/dist/core/RunPolicyUsage.mjs +1 -1
- package/dist/core/RunPolicyUsage.mjs.map +1 -1
- package/dist/core/SubagentContract.d.mts +1 -1
- package/dist/core/SubagentContract.mjs +2 -1
- package/dist/core/SubagentContract.mjs.map +1 -1
- package/dist/core/Thread.d.mts +2 -2
- package/dist/core/Thread.mjs +82 -33
- package/dist/core/Thread.mjs.map +1 -1
- package/dist/core/ToolResult.d.mts +1 -1
- package/dist/core/ToolResult.mjs +1 -1
- package/dist/core/ToolResult.mjs.map +1 -1
- package/dist/core/Usage.d.mts +1 -1
- package/dist/core/Usage.mjs +2 -1
- package/dist/core/Usage.mjs.map +1 -1
- package/dist/core/Worker.d.mts +2 -2
- package/dist/core/Worker.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/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 +2 -2
- package/dist/durable/DurableAgentRuntime.mjs +2 -2
- package/dist/durable/EventSource.d.mts +1 -1
- package/dist/durable/GitHubWorkflowSource.d.mts +4 -4
- package/dist/durable/GitHubWorkflowSource.mjs +1 -1
- package/dist/durable/LifecyclePublication.d.mts +1 -1
- package/dist/durable/LifecyclePublication.mjs +1 -1
- package/dist/durable/MessageDelivery.d.mts +9 -9
- package/dist/durable/MessageDelivery.mjs +2 -2
- package/dist/durable/MessageDeliveryStoreConformance.d.mts +28 -28
- package/dist/durable/MessageDeliveryStoreConformance.mjs +1 -1
- package/dist/durable/PersistentHistory.d.mts +2 -2
- package/dist/durable/PersistentHistory.mjs +2 -2
- package/dist/durable/PreparedInputAdmission.d.mts +1 -1
- package/dist/durable/PreparedInputAdmission.mjs +1 -1
- package/dist/durable/Records.d.mts +1 -1
- package/dist/durable/Records.mjs +5 -5
- package/dist/durable/Recovery.d.mts +1 -1
- package/dist/durable/RunJournal.d.mts +1 -1
- package/dist/durable/RunJournal.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/ScheduleTransition.d.mts +1 -1
- package/dist/durable/Scheduling.d.mts +4 -4
- package/dist/durable/SubmissionLedger.d.mts +2 -2
- package/dist/durable/SubmissionLedger.mjs +3 -3
- package/dist/durable/SubmissionLedgerConformance.d.mts +2 -2
- package/dist/durable/SubmissionLedgerConformance.mjs +3 -3
- 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 +1 -1
- package/dist/durable/SubscriptionStoreConformance.d.mts +1 -1
- package/dist/durable/SubscriptionTools.d.mts +7 -7
- package/dist/durable/SubscriptionTools.mjs +1 -1
- package/dist/durable/SubscriptionTransition.d.mts +1 -1
- package/dist/durable/Subscriptions.d.mts +7 -7
- package/dist/durable/ThreadContextHistory.d.mts +1 -1
- package/dist/durable/ThreadContextHistoryProjection.d.mts +1 -1
- package/dist/durable/ThreadContextHistoryProjection.mjs +2 -2
- package/dist/durable/ThreadInvariants.d.mts +2 -2
- package/dist/durable/ThreadInvariants.mjs +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/ThreadStore.mjs +1 -1
- package/dist/durable/ThreadStoreConformance.d.mts +1 -1
- package/dist/durable/ThreadStoreConformance.mjs +1 -1
- package/dist/durable/WorkerAdmission.d.mts +6 -6
- package/dist/durable/WorkerAdmission.mjs +1 -1
- package/dist/durable/WorkerHost.d.mts +7 -7
- package/dist/durable/WorkerHost.mjs +1 -1
- package/dist/engine/AgentRuntime.d.mts +1 -1
- package/dist/engine/AgentRuntime.mjs +1 -1
- package/dist/engine/Compaction.d.mts +1 -1
- package/dist/engine/Compaction.mjs +1 -1
- package/dist/engine/ContextCompactor.d.mts +1 -1
- package/dist/engine/ContextCompactor.mjs +8 -3
- package/dist/engine/ContextCompactor.mjs.map +1 -1
- package/dist/engine/ContextWindow.d.mts +1 -1
- package/dist/engine/ContextWindow.mjs +3 -1
- package/dist/engine/ContextWindow.mjs.map +1 -1
- package/dist/engine/DurableStep.d.mts +1 -1
- package/dist/engine/DurableStep.mjs +2 -1
- package/dist/engine/DurableStep.mjs.map +1 -1
- package/dist/engine/MessagingHost.d.mts +1 -1
- package/dist/engine/MessagingHost.mjs +1 -1
- package/dist/engine/Output.d.mts +1 -1
- package/dist/engine/Output.mjs +1 -1
- package/dist/engine/RunEventSink.d.mts +1 -1
- package/dist/engine/RunEventSink.mjs +2 -1
- package/dist/engine/RunEventSink.mjs.map +1 -1
- package/dist/engine/RunOptions.d.mts +1 -1
- package/dist/engine/RunOptions.mjs +5 -2
- package/dist/engine/RunOptions.mjs.map +1 -1
- package/dist/engine/SubagentHost.d.mts +1 -1
- package/dist/engine/SubagentHost.mjs +4 -2
- package/dist/engine/SubagentHost.mjs.map +1 -1
- package/dist/engine/ThreadHistory.d.mts +1 -1
- package/dist/engine/ThreadHistory.mjs +12 -10
- package/dist/engine/ThreadHistory.mjs.map +1 -1
- package/dist/engine/ToolBroker.d.mts +1 -1
- package/dist/engine/ToolBroker.mjs +2 -1
- package/dist/engine/ToolBroker.mjs.map +1 -1
- package/dist/index.d.mts +34 -34
- package/dist/index.mjs +9 -9
- package/dist/{output-contract-DS-S8mTv.mjs → output-contract-DUNIO6as.mjs} +4 -3
- package/dist/output-contract-DUNIO6as.mjs.map +1 -0
- package/package.json +1 -1
- package/src/InMemory.ts +61 -2
- package/src/capabilities/RunHooks.ts +6 -3
- package/src/capabilities/SubagentReservations.ts +7 -1
- package/src/core/Agent.ts +3 -8
- package/src/core/AgentError.ts +1 -1
- package/src/core/AgentUpdates.ts +5 -1
- package/src/core/FailureDiagnostic.ts +6 -8
- package/src/core/IdGenerator.ts +5 -2
- package/src/core/Messaging.ts +1 -1
- package/src/core/Receipt.ts +1 -1
- package/src/core/RunEvent.ts +1 -1
- package/src/core/RunPolicyUsage.ts +1 -1
- package/src/core/SubagentContract.ts +2 -1
- package/src/core/Thread.ts +163 -61
- package/src/core/ToolExposure.ts +2 -1
- package/src/core/ToolResult.ts +1 -1
- package/src/core/Usage.ts +2 -1
- package/src/core/Worker.ts +1 -1
- package/src/core/internal/agent-updates.ts +3 -2
- package/src/core/internal/message-status.ts +1 -1
- package/src/core/internal/strict-schema.ts +3 -1
- package/src/engine/ContextCompactor.ts +8 -2
- package/src/engine/ContextWindow.ts +4 -1
- package/src/engine/DurableStep.ts +2 -1
- package/src/engine/MessagingHost.ts +2 -1
- package/src/engine/RunEventSink.ts +2 -1
- package/src/engine/RunOptions.ts +5 -1
- package/src/engine/SubagentHost.ts +3 -1
- package/src/engine/ThreadHistory.ts +20 -10
- package/src/engine/ToolBroker.ts +2 -1
- package/src/engine/ToolExposure.ts +2 -1
- package/src/engine/internal/agent-runtime.ts +41 -49
- package/src/engine/internal/bounded-value.ts +2 -1
- package/src/engine/internal/compaction.ts +3 -2
- package/src/engine/internal/output-contract.ts +3 -2
- package/src/engine/internal/primitive-delta.ts +51 -10
- package/src/engine/internal/tool-derivative.ts +5 -1
- package/src/engine/internal/tool-exposure.ts +5 -2
- package/src/engine/internal/tool-telemetry.ts +12 -13
- package/dist/Agent-BMATXYsI.mjs.map +0 -1
- package/dist/AgentRuntime-Q50HloUc.mjs.map +0 -1
- package/dist/FailureDiagnostic-BElLOoED.mjs.map +0 -1
- package/dist/MessagingHost-DfsbMPvq.mjs.map +0 -1
- package/dist/Thread-DOBQ0QUY.d.mts +0 -96
- package/dist/ToolExposure-9uF_Yo0T.mjs.map +0 -1
- package/dist/ToolExposure-C93U1sPu.mjs.map +0 -1
- package/dist/Worker-CfwzMZEK.mjs.map +0 -1
- package/dist/compaction-BQK4MUg3.mjs.map +0 -1
- package/dist/output-contract-DS-S8mTv.mjs.map +0 -1
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { t as AgentId } from "./Identifiers-CN2s30fF.mjs";
|
|
2
|
-
import { t as IdempotencyKey } from "./Receipt-
|
|
3
|
-
import
|
|
2
|
+
import { t as IdempotencyKey } from "./Receipt-BkM21Qiu.mjs";
|
|
3
|
+
import * as Schema from "effect/Schema";
|
|
4
|
+
import * as Context from "effect/Context";
|
|
5
|
+
import * as Effect from "effect/Effect";
|
|
6
|
+
import * as Stream from "effect/Stream";
|
|
4
7
|
declare namespace AgentUpdates_d_exports {
|
|
5
8
|
export { Emitter, Update, UpdateError, decode, emit, observe };
|
|
6
9
|
}
|
|
@@ -50,4 +53,4 @@ declare const decode: <S extends Schema.Top>(agent: BoundSource<S>, update: Upda
|
|
|
50
53
|
declare const observe: <S extends Schema.Top, E, R>(agent: BoundSource<S>, updates: Stream.Stream<Update, E, R>) => Stream.Stream<S["Type"], E | UpdateError, R | S["DecodingServices"]>;
|
|
51
54
|
//#endregion
|
|
52
55
|
export { decode as a, UpdateError as i, Emitter as n, emit as o, Update as r, observe as s, AgentUpdates_d_exports as t };
|
|
53
|
-
//# sourceMappingURL=AgentUpdates-
|
|
56
|
+
//# sourceMappingURL=AgentUpdates-DksV4D0A.d.mts.map
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import { s as RunId, u as ThreadId } from "./Identifiers-CN2s30fF.mjs";
|
|
2
|
-
import { i as CompactionPolicy } from "./AgentPolicy-
|
|
3
|
-
import { n as ContextRolloverRequest } from "./ContextWindow-
|
|
4
|
-
import
|
|
5
|
-
import
|
|
2
|
+
import { i as CompactionPolicy } from "./AgentPolicy-CclAEpHn.mjs";
|
|
3
|
+
import { n as ContextRolloverRequest } from "./ContextWindow-aGZOPIPq.mjs";
|
|
4
|
+
import * as Schema from "effect/Schema";
|
|
5
|
+
import * as Context from "effect/Context";
|
|
6
|
+
import * as Effect from "effect/Effect";
|
|
7
|
+
import "effect/Option";
|
|
8
|
+
import * as Stream from "effect/Stream";
|
|
9
|
+
import * as Layer from "effect/Layer";
|
|
10
|
+
import * as Prompt$1 from "effect/unstable/ai/Prompt";
|
|
11
|
+
import { LanguageModel, Model } from "effect/unstable/ai";
|
|
6
12
|
//#region src/engine/internal/compaction.d.ts
|
|
7
13
|
/**
|
|
8
14
|
* Pure helpers for engine-native context compaction (RUN-026/RUN-027). Everything here is deterministic and side-effect free:
|
|
@@ -23,15 +29,15 @@ declare const CONTEXT_ROLLOVER_PREFIX = "A fresh context window has started. Ear
|
|
|
23
29
|
/** Stable across Attempts; the initial window uses turn zero. */
|
|
24
30
|
declare const contextWindowId: (runId: string, turn: number) => string;
|
|
25
31
|
/** Shared by the live interpreter and canonical journal projection. */
|
|
26
|
-
declare const contextWindowMessage: (windowId: string, handoff?: string) => Prompt.Message;
|
|
32
|
+
declare const contextWindowMessage: (windowId: string, handoff?: string) => Prompt$1.Message;
|
|
27
33
|
/**
|
|
28
34
|
* Deterministic UTF-8 bytes/4 token estimate over one message's structural JSON.
|
|
29
35
|
* Conservative for prose, slightly generous for dense JSON — the estimate
|
|
30
36
|
* only gates WHEN to compact, never what is preserved.
|
|
31
37
|
*/
|
|
32
|
-
declare const estimateMessageTokens: (message: Prompt.Message) => number;
|
|
38
|
+
declare const estimateMessageTokens: (message: Prompt$1.Message) => number;
|
|
33
39
|
/** Sum of `estimateMessageTokens` over a message array. */
|
|
34
|
-
declare const estimatePromptTokens: (messages: ReadonlyArray<Prompt.Message>, estimate?: (message: Prompt.Message) => number) => number;
|
|
40
|
+
declare const estimatePromptTokens: (messages: ReadonlyArray<Prompt$1.Message>, estimate?: (message: Prompt$1.Message) => number) => number;
|
|
35
41
|
/**
|
|
36
42
|
* Mutable per-Run compaction state held on the engine's RunContext. Indices
|
|
37
43
|
* are positions in the SOURCE prompt (the official-history basis handed to
|
|
@@ -105,7 +111,7 @@ declare class CompactionError extends CompactionError_base {}
|
|
|
105
111
|
/** Upstream Model.captureRequirements returns this closed Layer. */
|
|
106
112
|
type CompactionModelLayer = Layer.Layer<LanguageModel.LanguageModel | Model.ProviderName | Model.ModelName>;
|
|
107
113
|
/** A full message estimate, or undefined to use the native structural estimate. */
|
|
108
|
-
type ContextMessageTokenEstimator = (message: Prompt.Message) => number | undefined;
|
|
114
|
+
type ContextMessageTokenEstimator = (message: Prompt$1.Message) => number | undefined;
|
|
109
115
|
/**
|
|
110
116
|
* One bounded pass over an immutable source snapshot. A harness owns state, metering, and
|
|
111
117
|
* application of decisions. The interpreter permits at most one prune followed by one replacement
|
|
@@ -118,7 +124,7 @@ interface CompactionRequest<E, R> {
|
|
|
118
124
|
readonly threadId: ThreadId;
|
|
119
125
|
readonly runId: RunId;
|
|
120
126
|
readonly turn: number;
|
|
121
|
-
readonly source: Prompt.Prompt;
|
|
127
|
+
readonly source: Prompt$1.Prompt;
|
|
122
128
|
readonly state: Readonly<ContextCompactionState>;
|
|
123
129
|
readonly policy: CompactionPolicy;
|
|
124
130
|
readonly targetTokens: number | undefined;
|
|
@@ -131,11 +137,11 @@ interface CompactionRequest<E, R> {
|
|
|
131
137
|
readonly requested?: (ContextRolloverRequest & {
|
|
132
138
|
readonly through: number;
|
|
133
139
|
}) | undefined;
|
|
134
|
-
readonly summarize: (prompt: Prompt.Prompt, model?: CompactionModelLayer) => Effect.Effect<string, E, R>;
|
|
140
|
+
readonly summarize: (prompt: Prompt$1.Prompt, model?: CompactionModelLayer) => Effect.Effect<string, E, R>;
|
|
135
141
|
}
|
|
136
142
|
interface ContextCompaction {
|
|
137
143
|
/** Non-negative finite integer estimate, used for admission and derived prompt overhead too. */
|
|
138
|
-
readonly estimate: (messages: ReadonlyArray<Prompt.Message>) => number;
|
|
144
|
+
readonly estimate: (messages: ReadonlyArray<Prompt$1.Message>) => number;
|
|
139
145
|
/** Emit decisions sequentially; the consumer commits each before pulling the next. */
|
|
140
146
|
readonly compact: <E, R>(request: CompactionRequest<E, R>) => Stream.Stream<CompactionDecision, E | CompactionError, R>;
|
|
141
147
|
}
|
|
@@ -158,4 +164,4 @@ declare class ContextCompactor extends ContextCompactor_base {
|
|
|
158
164
|
}
|
|
159
165
|
//#endregion
|
|
160
166
|
export { ContextCompaction as a, ContextMessageTokenEstimator as c, CONTEXT_ROLLOVER_PREFIX as d, ContextCompactionState as f, estimatePromptTokens as g, estimateMessageTokens as h, CompactionRequest as i, CLEARED_TOOL_RESULT as l, contextWindowMessage as m, CompactionError as n, ContextCompactor as o, contextWindowId as p, CompactionModelLayer as r, ContextCompactor_d_exports as s, CompactionDecision as t, COMPACTION_SUMMARY_PREFIX as u };
|
|
161
|
-
//# sourceMappingURL=ContextCompactor-
|
|
167
|
+
//# sourceMappingURL=ContextCompactor-DLpX-HUG.d.mts.map
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as Schema$1 from "effect/Schema";
|
|
2
|
+
import * as Context$1 from "effect/Context";
|
|
3
|
+
import { Effect } from "effect";
|
|
2
4
|
declare namespace ContextWindow_d_exports {
|
|
3
5
|
export { ContextHandoff, ContextRolloverRequest, ContextRolloverSelection, ContextRolloverTool, ContextWindow, ContextWindowStatus, ModelCallContext };
|
|
4
6
|
}
|
|
5
7
|
/** Model-authored continuation state; fuller notes belong in an application-owned memory store. */
|
|
6
|
-
declare const ContextHandoff: Schema.NonEmptyString;
|
|
8
|
+
declare const ContextHandoff: Schema$1.NonEmptyString;
|
|
7
9
|
/** Successful output of an explicitly designated context-window Tool. */
|
|
8
|
-
declare const ContextRolloverRequest: Schema.Struct<{
|
|
9
|
-
readonly handoff: Schema.optionalKey<Schema.NonEmptyString>;
|
|
10
|
+
declare const ContextRolloverRequest: Schema$1.Struct<{
|
|
11
|
+
readonly handoff: Schema$1.optionalKey<Schema$1.NonEmptyString>;
|
|
10
12
|
}>;
|
|
11
13
|
type ContextRolloverRequest = typeof ContextRolloverRequest.Type;
|
|
12
14
|
/**
|
|
@@ -14,16 +16,16 @@ type ContextRolloverRequest = typeof ContextRolloverRequest.Type;
|
|
|
14
16
|
* Omit through to reset the prefix before the protected current instructions/input. The
|
|
15
17
|
* engine resolves that prefix after preparation; an empty prior prefix needs no new window.
|
|
16
18
|
*/
|
|
17
|
-
declare const ContextRolloverSelection: Schema.Struct<{
|
|
18
|
-
readonly handoff: Schema.optionalKey<Schema.NonEmptyString>;
|
|
19
|
-
readonly through: Schema.optionalKey<Schema.Natural>;
|
|
19
|
+
declare const ContextRolloverSelection: Schema$1.Struct<{
|
|
20
|
+
readonly handoff: Schema$1.optionalKey<Schema$1.NonEmptyString>;
|
|
21
|
+
readonly through: Schema$1.optionalKey<Schema$1.Natural>;
|
|
20
22
|
}>;
|
|
21
23
|
type ContextRolloverSelection = typeof ContextRolloverSelection.Type;
|
|
22
|
-
declare const ModelCallContext_base: Schema.Class<ModelCallContext, Schema.Struct<{
|
|
23
|
-
readonly contextCapacity: Schema.Int;
|
|
24
|
-
readonly maxInputTokens: Schema.optionalKey<Schema.Int>;
|
|
25
|
-
readonly outputReserveTokens: Schema.Natural;
|
|
26
|
-
readonly uncountedOverheadTokens: Schema.Natural;
|
|
24
|
+
declare const ModelCallContext_base: Schema$1.Class<ModelCallContext, Schema$1.Struct<{
|
|
25
|
+
readonly contextCapacity: Schema$1.Int;
|
|
26
|
+
readonly maxInputTokens: Schema$1.optionalKey<Schema$1.Int>;
|
|
27
|
+
readonly outputReserveTokens: Schema$1.Natural;
|
|
28
|
+
readonly uncountedOverheadTokens: Schema$1.Natural;
|
|
27
29
|
}>, {}>;
|
|
28
30
|
/**
|
|
29
31
|
* Bounds resolved alongside the native model for one Turn. Output reserve must match the
|
|
@@ -37,22 +39,22 @@ declare class ModelCallContext extends ModelCallContext_base {}
|
|
|
37
39
|
* annotation returns ContextRolloverRequest. The engine applies it at the next Turn seam,
|
|
38
40
|
* including after durable Tool-result replay. A Tool name alone never grants this authority.
|
|
39
41
|
*/
|
|
40
|
-
declare const ContextRolloverTool: Context.Reference<boolean>;
|
|
41
|
-
declare const ContextWindowStatus_base: Schema.Class<ContextWindowStatus, Schema.Struct<{
|
|
42
|
-
readonly threadId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/ThreadId">;
|
|
43
|
-
readonly runId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/RunId">;
|
|
44
|
-
readonly windowId: Schema.NonEmptyString;
|
|
45
|
-
readonly estimatedTokens: Schema.Natural;
|
|
46
|
-
readonly contextTokenLimit: Schema.NullOr<Schema.Natural>;
|
|
47
|
-
readonly remainingTokens: Schema.NullOr<Schema.Natural>;
|
|
42
|
+
declare const ContextRolloverTool: Context$1.Reference<boolean>;
|
|
43
|
+
declare const ContextWindowStatus_base: Schema$1.Class<ContextWindowStatus, Schema$1.Struct<{
|
|
44
|
+
readonly threadId: Schema$1.brand<Schema$1.NonEmptyString, "@effect-agent/core/ThreadId">;
|
|
45
|
+
readonly runId: Schema$1.brand<Schema$1.NonEmptyString, "@effect-agent/core/RunId">;
|
|
46
|
+
readonly windowId: Schema$1.NonEmptyString;
|
|
47
|
+
readonly estimatedTokens: Schema$1.Natural;
|
|
48
|
+
readonly contextTokenLimit: Schema$1.NullOr<Schema$1.Natural>;
|
|
49
|
+
readonly remainingTokens: Schema$1.NullOr<Schema$1.Natural>;
|
|
48
50
|
}>, {}>;
|
|
49
51
|
/** Best available live-context estimate, independent of cumulative Run budgets. */
|
|
50
52
|
declare class ContextWindowStatus extends ContextWindowStatus_base {}
|
|
51
|
-
declare const ContextWindow_base: Context.ServiceClass<ContextWindow, "@effect-agent/engine/ContextWindow", {
|
|
53
|
+
declare const ContextWindow_base: Context$1.ServiceClass<ContextWindow, "@effect-agent/engine/ContextWindow", {
|
|
52
54
|
readonly status: Effect.Effect<ContextWindowStatus>;
|
|
53
55
|
}>;
|
|
54
56
|
/** Engine-owned identity and context accounting for the current Run. */
|
|
55
57
|
declare class ContextWindow extends ContextWindow_base {}
|
|
56
58
|
//#endregion
|
|
57
59
|
export { ContextWindow as a, ModelCallContext as c, ContextRolloverTool as i, ContextRolloverRequest as n, ContextWindowStatus as o, ContextRolloverSelection as r, ContextWindow_d_exports as s, ContextHandoff as t };
|
|
58
|
-
//# sourceMappingURL=ContextWindow-
|
|
60
|
+
//# sourceMappingURL=ContextWindow-aGZOPIPq.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as Digest, h as DefinitionDigests, m as DefinitionDigestInput, s as CanonicalBatch } from "./Records-
|
|
1
|
+
import { _ as Digest, h as DefinitionDigests, m as DefinitionDigestInput, s as CanonicalBatch } from "./Records-CAQktL0z.mjs";
|
|
2
2
|
import { Crypto, Effect, Schema } from "effect";
|
|
3
3
|
declare namespace Digest_d_exports {
|
|
4
4
|
export { DigestError, EMPTY_TAIL_DIGEST, digestCanonicalBatch, digestDefinition, digestDefinitions, digestJson };
|
|
@@ -19,4 +19,4 @@ declare const digestDefinitions: (definitions: DefinitionDigestInput) => Effect.
|
|
|
19
19
|
declare const EMPTY_TAIL_DIGEST: string & import("effect/Brand").Brand<"@effect-agent/thread/Digest">;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { digestDefinition as a, digestCanonicalBatch as i, Digest_d_exports as n, digestDefinitions as o, EMPTY_TAIL_DIGEST as r, digestJson as s, DigestError as t };
|
|
22
|
-
//# sourceMappingURL=Digest-
|
|
22
|
+
//# sourceMappingURL=Digest-3l_02jaM.d.mts.map
|
|
@@ -4,18 +4,18 @@ import { n as utf8ByteLength } from "./utf8-DchGZRBd.mjs";
|
|
|
4
4
|
import { AgentPolicy } from "./core/AgentPolicy.mjs";
|
|
5
5
|
import { IdempotencyKey, Principal, Receipt } from "./core/Receipt.mjs";
|
|
6
6
|
import { Update, UpdateError } from "./core/AgentUpdates.mjs";
|
|
7
|
-
import { c as captureContext, s as capture } from "./FailureDiagnostic-
|
|
7
|
+
import { c as captureContext, s as capture } from "./FailureDiagnostic-D9oW23Cn.mjs";
|
|
8
8
|
import { AgentApprovalDenied, AgentApprovalPending, AgentInputError, AgentToolAuthorizationDenied, PolicyLimit } from "./core/AgentError.mjs";
|
|
9
9
|
import { IdGenerator as IdGenerator$1 } from "./core/IdGenerator.mjs";
|
|
10
10
|
import { DelegationDepth, SubagentBudgetReservation, SubagentDelegationCaps, SubagentGrant, SubagentParentLink, SubagentReservationAmounts, getToolExecutionKind } from "./core/SubagentContract.mjs";
|
|
11
|
-
import { o as Selection, s as Snapshot } from "./ToolExposure-
|
|
11
|
+
import { o as Selection, s as Snapshot } from "./ToolExposure-hTJT2ekj.mjs";
|
|
12
12
|
import { ChildRunUsage, InputTokenUsage, ModelUsageGroup, OutputTokenUsage, RunUsageReport, RunUsageSummary, emptyRunTotals, runTotalsFromSummary, sumRunTotals, summarizeModelUsage, unknownRunTotals } from "./core/Usage.mjs";
|
|
13
|
-
import { C as MessageStatus, S as MessageRef, _ as WorkerStop, b as WorkerUpdate, c as WorkerError, f as WorkerRef, l as WorkerHistoryEntry, o as WorkerCompletion, r as FrameworkMessage } from "./Worker-
|
|
14
|
-
import { a as PeerMessageCapacity, d as MessageAdmission, f as MessagingError, i as PeerDeliveryLifetime, o as PeerRoutes, p as PeerName, r as PeerAuthorizer, t as MessagingHost } from "./MessagingHost-
|
|
13
|
+
import { C as MessageStatus, S as MessageRef, _ as WorkerStop, b as WorkerUpdate, c as WorkerError, f as WorkerRef, l as WorkerHistoryEntry, o as WorkerCompletion, r as FrameworkMessage } from "./Worker-DZjdMjZn.mjs";
|
|
14
|
+
import { a as PeerMessageCapacity, d as MessageAdmission, f as MessagingError, i as PeerDeliveryLifetime, o as PeerRoutes, p as PeerName, r as PeerAuthorizer, t as MessagingHost } from "./MessagingHost-DJZJZILu.mjs";
|
|
15
15
|
import { SubagentHost } from "./engine/SubagentHost.mjs";
|
|
16
16
|
import { ThreadHistory } from "./engine/ThreadHistory.mjs";
|
|
17
|
-
import { n as RunToolVisibility } from "./ToolExposure-
|
|
18
|
-
import { f as renderInputPrompt, n as AgentChildPending, y as streamWithUsageAccountingUnknown } from "./AgentRuntime-
|
|
17
|
+
import { n as RunToolVisibility } from "./ToolExposure-DBATXxmL.mjs";
|
|
18
|
+
import { f as renderInputPrompt, n as AgentChildPending, y as streamWithUsageAccountingUnknown } from "./AgentRuntime-BTfPyMXN.mjs";
|
|
19
19
|
import { ContextRolloverTool } from "./engine/ContextWindow.mjs";
|
|
20
20
|
import { getToolExecutionClass } from "./engine/DurableStep.mjs";
|
|
21
21
|
import { CompactionError, ContextCompactor } from "./engine/ContextCompactor.mjs";
|
|
@@ -26,8 +26,8 @@ import { AbortCommand, AbortIntentRequest, AdmissionPolicyError, AdmissionReques
|
|
|
26
26
|
import { DeclaredPendingBatchEvidence, OpenDelegationCallEvidence, OpenToolCallEvidence, PendingApprovalEvidence, RecoveryDecision, RecoveryEvidence, classifyRecovery } from "./durable/Recovery.mjs";
|
|
27
27
|
import { ExplainedEvidence, ExplainedSubmission, ExplainedUnknownCall, IntegrityCheck, IntegrityReport, ObligationEntry, ObligationReport, RecoveryExplanation, RetryRefused, obligationSeverityOf, predictRecoveryDisposition, recoveryDecisionMeaning } from "./durable/Admin.mjs";
|
|
28
28
|
import { digestJson } from "./durable/Digest.mjs";
|
|
29
|
-
import { a as compileRegistrations, c as resolveDefinitionBinding, l as resolveWorkerBinding, n as CurrentBindingSelection, o as definitionDigestsEqual, s as makeLegacyWorkerBinding, t as BindingUnavailable, u as toolReplayContracts } from "./agent-registration-
|
|
30
|
-
import { $ as workerOriginRecordId, A as subagentRequestedRecordId, B as toolCallUnknownRecordId, C as runStartedBatchId, D as subagentLineageBatchId, E as subagentJoinedRecordId, F as toolCallPreparedRecordId, G as turnCanonicalBatch, H as toolStepSettledRecordId, I as toolCallResolutionBatchId, J as turnResponseBatch, K as turnIdForRun, L as toolCallResolvedRecordId, M as subagentStartedRecordId, N as toolApprovalDecisionRecordId, O as subagentLineageRecordId, P as toolApprovalRequestRecordId, Q as workerInputRecordId, R as toolCallResultBatchId, S as runIdForSubmission, T as subagentJoinBatchId, U as turnApprovalsBatchId, V as toolStepSettledBatchId, X as turnResultsBatch, a as childIdempotencyKeyFor, b as runDurationBatchId, c as compactionRecordId, d as modelResponseInterruptedBatchId, et as workerReportRecordId, f as modelResponseInterruptedRecordId, g as projectRunJournalStream, i as approvalDecisionBatchId, j as subagentStartedBatchId, k as subagentRequestedBatchId, l as firstWorkerInputRecordId, m as peerMessageRecordId, o as childThreadIdFor, p as modelResponseRecordId, q as turnPreparedBatchId, r as agentUpdateRecordId, s as compactionBatchId, t as RunJournalError, tt as makeJournalMetadata, u as markUnknownBatchId, v as runCompletedRecordId, w as runStartedRecordId, x as runDurationRecordId, y as runCompletionDigest, z as toolCallSettledRecordId } from "./RunJournal-
|
|
29
|
+
import { a as compileRegistrations, c as resolveDefinitionBinding, l as resolveWorkerBinding, n as CurrentBindingSelection, o as definitionDigestsEqual, s as makeLegacyWorkerBinding, t as BindingUnavailable, u as toolReplayContracts } from "./agent-registration-D1dWV7KK.mjs";
|
|
30
|
+
import { $ as workerOriginRecordId, A as subagentRequestedRecordId, B as toolCallUnknownRecordId, C as runStartedBatchId, D as subagentLineageBatchId, E as subagentJoinedRecordId, F as toolCallPreparedRecordId, G as turnCanonicalBatch, H as toolStepSettledRecordId, I as toolCallResolutionBatchId, J as turnResponseBatch, K as turnIdForRun, L as toolCallResolvedRecordId, M as subagentStartedRecordId, N as toolApprovalDecisionRecordId, O as subagentLineageRecordId, P as toolApprovalRequestRecordId, Q as workerInputRecordId, R as toolCallResultBatchId, S as runIdForSubmission, T as subagentJoinBatchId, U as turnApprovalsBatchId, V as toolStepSettledBatchId, X as turnResultsBatch, a as childIdempotencyKeyFor, b as runDurationBatchId, c as compactionRecordId, d as modelResponseInterruptedBatchId, et as workerReportRecordId, f as modelResponseInterruptedRecordId, g as projectRunJournalStream, i as approvalDecisionBatchId, j as subagentStartedBatchId, k as subagentRequestedBatchId, l as firstWorkerInputRecordId, m as peerMessageRecordId, o as childThreadIdFor, p as modelResponseRecordId, q as turnPreparedBatchId, r as agentUpdateRecordId, s as compactionBatchId, t as RunJournalError, tt as makeJournalMetadata, u as markUnknownBatchId, v as runCompletedRecordId, w as runStartedRecordId, x as runDurationRecordId, y as runCompletionDigest, z as toolCallSettledRecordId } from "./RunJournal-NRgq1PNe.mjs";
|
|
31
31
|
import { FencedAppendRequest, LoadCheckpointRequest, MAX_THREAD_EXPORT_RECORDS, SaveRecoveryCheckpointRequest, ThreadCheckpoint, ThreadExportRequest, ThreadIdentityRequest, ThreadMaterialization, ThreadObservation, ThreadRead, ThreadStore, ThreadStoreDiagnostic, ThreadStoreError, ThreadTailRequest, getRecord, getRunInput, readWorkerState } from "./durable/ThreadStore.mjs";
|
|
32
32
|
import { DurableRuntimeFailpoint } from "./durable/DurableFailpoint.mjs";
|
|
33
33
|
import { ScheduledInputRefused, ScheduledInputRetryable } from "./durable/Schedule.mjs";
|
|
@@ -36,14 +36,14 @@ import { PreparedInput } from "./durable/Subscription.mjs";
|
|
|
36
36
|
import { MessageDeliveryDriver, MessageDeliveryFailpoint, MessageDeliveryRecord, MessageDeliveryStore, messageDeliveryCapacity, messageDeliveryUsesCapacity, prepareMessageDelivery } from "./durable/MessageDelivery.mjs";
|
|
37
37
|
import { WakeScheduler } from "./durable/WakeScheduler.mjs";
|
|
38
38
|
import { n as safeUnknownString, t as inspectForeignDiagnostic } from "./foreign-diagnostic-DBQ1XHKh.mjs";
|
|
39
|
-
import { c as threadCreatedBatchId, l as threadCreatedRecordId, n as WorkerAdmissionPort, o as ensureThreadCreated, r as WorkerAdmissionRequest, s as ensureWorkerOrigin } from "./WorkerAdmission-
|
|
39
|
+
import { c as threadCreatedBatchId, l as threadCreatedRecordId, n as WorkerAdmissionPort, o as ensureThreadCreated, r as WorkerAdmissionRequest, s as ensureWorkerOrigin } from "./WorkerAdmission-DJ76C2b-.mjs";
|
|
40
40
|
import { WorkerBudgetAuthorizer, WorkerConcurrencyLimit, WorkerConcurrencyResolver, WorkerHostAuthorizer, WorkerHostConfig, WorkerPolicyResolver } from "./durable/WorkerHost.mjs";
|
|
41
41
|
import { OperationAuthorizationRequest, OperationAuthorizer, OperationDenied } from "./durable/OperationAuthorizer.mjs";
|
|
42
42
|
import { PendingSubmission, SettledSubmission } from "./durable/SubmissionStatus.mjs";
|
|
43
43
|
import { verifyThreadInvariants } from "./durable/ThreadInvariants.mjs";
|
|
44
44
|
import { PreparedToolCallEvidence, ToolReconciler } from "./durable/ToolReconciler.mjs";
|
|
45
|
-
import { Prompt } from "effect/unstable/ai";
|
|
46
45
|
import { Cause, Clock, Context, Crypto, DateTime, Deferred, Duration, Effect, Equal, Exit, Layer, Option, Ref, Result, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
46
|
+
import { Prompt } from "effect/unstable/ai";
|
|
47
47
|
//#region src/durable/internal/journal-checkpoint.ts
|
|
48
48
|
/** Retired accounting is additive; the latest Tool batch always remains replayable verbatim. */
|
|
49
49
|
var JournalCheckpointSeed = class extends Schema.Class("@effect-agent/thread/internal/JournalCheckpointSeed")({
|
|
@@ -7510,4 +7510,4 @@ var DurableAgentRuntime = class DurableAgentRuntime extends Context.Service()("@
|
|
|
7510
7510
|
//#endregion
|
|
7511
7511
|
export { DurableApprovalSuspension as a, RecoveryFailure as c, childReservationIdFor as d, isolateRecovery as f, 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 };
|
|
7512
7512
|
|
|
7513
|
-
//# sourceMappingURL=DurableAgentRuntime-
|
|
7513
|
+
//# sourceMappingURL=DurableAgentRuntime-CWmWREPj.mjs.map
|