@yielded/agent 0.1.0-beta.175 → 0.1.0-beta.177
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-Qa3I1oA5.d.mts → Admin-Bpg24yCK.d.mts} +19 -13
- package/dist/{Agent-BiRbr73L.mjs → Agent-B3J0B4l6.mjs} +6 -3
- package/dist/Agent-B3J0B4l6.mjs.map +1 -0
- package/dist/{AgentRuntime-DaDKMasp.mjs → AgentRuntime-DrQfy4cL.mjs} +7 -6
- package/dist/AgentRuntime-DrQfy4cL.mjs.map +1 -0
- package/dist/{AgentRuntime-CHDyRbSf.d.mts → AgentRuntime-Dx5u_FJD.d.mts} +6 -6
- package/dist/{Digest-C3EODOee.mjs → Digest-ft4ku9pj.mjs} +2 -2
- package/dist/{Digest-C3EODOee.mjs.map → Digest-ft4ku9pj.mjs.map} +1 -1
- package/dist/{DurableAgentRuntime-CPlw5_7e.mjs → DurableAgentRuntime-CGW93k81.mjs} +176 -63
- package/dist/DurableAgentRuntime-CGW93k81.mjs.map +1 -0
- package/dist/{DurableStep-DXGn7KQ4.d.mts → DurableStep-CAJnlgfL.d.mts} +5 -4
- package/dist/{EventSource-BTu68yDW.d.mts → EventSource-A6TB7t-f.d.mts} +2 -2
- package/dist/{MessageDelivery-DjAZJ4Fd.d.mts → MessageDelivery-BkWrcQUd.d.mts} +4 -4
- package/dist/{Messaging-SVu6rWV8.d.mts → Messaging-DpEZMTVE.d.mts} +2 -2
- package/dist/{MessagingHost-CZCyrnvJ.mjs → MessagingHost-BILcuj0V.mjs} +2 -2
- package/dist/{MessagingHost-CZCyrnvJ.mjs.map → MessagingHost-BILcuj0V.mjs.map} +1 -1
- package/dist/{MessagingHost-C6SOAcoG.d.mts → MessagingHost-BKxDskYj.d.mts} +2 -2
- package/dist/{PreparedInputAdmission-wgY4JMZY.d.mts → PreparedInputAdmission-DKIfqRZT.d.mts} +3 -3
- package/dist/{Records-DzL4Kbtw.mjs → Records-CZRedCE7.mjs} +3 -3
- package/dist/{Records-DzL4Kbtw.mjs.map → Records-CZRedCE7.mjs.map} +1 -1
- package/dist/{RunContinuation-3jB5pULC.d.mts → RunContinuation-Ce2pR8VD.d.mts} +4 -4
- package/dist/{RunContinuation-BiyKJK32.mjs → RunContinuation-D42RFqjS.mjs} +5 -5
- package/dist/RunContinuation-D42RFqjS.mjs.map +1 -0
- package/dist/{RunJournal-CPMKcfd0.mjs → RunJournal-oJLo-pjS.mjs} +7 -7
- package/dist/{RunJournal-CPMKcfd0.mjs.map → RunJournal-oJLo-pjS.mjs.map} +1 -1
- package/dist/{RunOptions-Be77lKVZ.d.mts → RunOptions-BANtohGk.d.mts} +3 -3
- package/dist/{RunStorage-CzutHJBE.mjs → RunStorage-BRGP3Tcu.mjs} +43 -33
- package/dist/RunStorage-BRGP3Tcu.mjs.map +1 -0
- package/dist/{Scheduling-07_dsGED.mjs → Scheduling-BebkRVc2.mjs} +3 -3
- package/dist/{Scheduling-07_dsGED.mjs.map → Scheduling-BebkRVc2.mjs.map} +1 -1
- package/dist/{Subagent-xhN_aD1r.d.mts → Subagent-5ulnV6An.d.mts} +9 -9
- package/dist/{Subagent-CexndZSp.mjs → Subagent-C7F7c8Op.mjs} +3 -3
- package/dist/{Subagent-CexndZSp.mjs.map → Subagent-C7F7c8Op.mjs.map} +1 -1
- package/dist/{SubagentHost-D1xBgn9g.d.mts → SubagentHost-CikdGpmk.d.mts} +2 -2
- package/dist/{Subscription-DmIHlOJK.d.mts → Subscription-D5sOrmlI.d.mts} +2 -2
- package/dist/{SubscriptionInput-DgcQhvbe.d.mts → SubscriptionInput-CxSXZUiC.d.mts} +2 -2
- package/dist/{ThreadImport-DP-vOk2F.d.mts → ThreadImport-C6IiPJMW.d.mts} +42 -42
- package/dist/{ThreadImport-CjlG57vH.mjs → ThreadImport-DUcPj5jC.mjs} +9 -9
- package/dist/{ThreadImport-CjlG57vH.mjs.map → ThreadImport-DUcPj5jC.mjs.map} +1 -1
- package/dist/{ThreadStore-EuUilthA.mjs → ThreadStore-Cn6FDWX9.mjs} +42 -21
- package/dist/ThreadStore-Cn6FDWX9.mjs.map +1 -0
- package/dist/{ThreadTransfer-DB_zsrtJ.mjs → ThreadTransfer-BWnAHIge.mjs} +4 -4
- package/dist/{ThreadTransfer-DB_zsrtJ.mjs.map → ThreadTransfer-BWnAHIge.mjs.map} +1 -1
- package/dist/{Worker-CHRaIsWu.d.mts → Worker-CLYgfqhF.d.mts} +7 -5
- package/dist/{Worker-DZjdMjZn.mjs → Worker-CtuUwYOK.mjs} +4 -2
- package/dist/Worker-CtuUwYOK.mjs.map +1 -0
- package/dist/{WorkerAdmission-eBeXt_mu.mjs → WorkerAdmission-cfiK9aRi.mjs} +6 -6
- package/dist/{WorkerAdmission-eBeXt_mu.mjs.map → WorkerAdmission-cfiK9aRi.mjs.map} +1 -1
- package/dist/{agent-registration-a6QYaG3h.mjs → agent-registration-Dt57NAP6.mjs} +5 -5
- package/dist/{agent-registration-a6QYaG3h.mjs.map → agent-registration-Dt57NAP6.mjs.map} +1 -1
- package/dist/capabilities/CodeMode.mjs +1 -1
- package/dist/capabilities/Commands.d.mts +1 -1
- package/dist/capabilities/ContextTools.mjs +1 -1
- package/dist/capabilities/McpClient.mjs +1 -1
- package/dist/capabilities/MemoryNotes.d.mts +1 -1
- package/dist/capabilities/MemoryNotes.mjs +2 -1
- package/dist/capabilities/MemoryNotes.mjs.map +1 -1
- package/dist/capabilities/Messaging.d.mts +1 -1
- package/dist/capabilities/Messaging.mjs +2 -2
- package/dist/capabilities/RunHooks.d.mts +1 -1
- package/dist/capabilities/Subagent.d.mts +2 -2
- package/dist/capabilities/Subagent.mjs +2 -2
- package/dist/capabilities/ToolDiscovery.mjs +1 -1
- package/dist/capabilities/WebCapture.mjs +1 -1
- package/dist/capabilities/WebSearch.mjs +1 -1
- package/dist/core/Agent.mjs +1 -1
- package/dist/core/Worker.d.mts +1 -1
- package/dist/core/Worker.mjs +1 -1
- package/dist/durable/ActivityStore.mjs +1 -1
- package/dist/durable/Admin.d.mts +1 -1
- package/dist/durable/Admin.mjs +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 +1 -1
- package/dist/durable/CommittedActivity.mjs +3 -3
- package/dist/durable/Digest.mjs +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/EventSource.mjs +1 -1
- package/dist/durable/GitHubWorkflowSource.d.mts +3 -3
- package/dist/durable/LifecyclePublication.d.mts +1 -1
- package/dist/durable/LifecyclePublication.mjs +3 -3
- package/dist/durable/MessageDelivery.d.mts +1 -1
- package/dist/durable/MessageDelivery.mjs +3 -3
- package/dist/durable/MessageDeliveryStoreConformance.d.mts +2 -2
- package/dist/durable/MessageDeliveryStoreConformance.mjs +3 -3
- package/dist/durable/PersistentHistory.d.mts +1 -1
- package/dist/durable/PersistentHistory.mjs +4 -4
- package/dist/durable/PreparedInputAdmission.d.mts +1 -1
- package/dist/durable/RecordFormat.mjs +1 -1
- package/dist/durable/Records.mjs +1 -1
- package/dist/durable/Recovery.d.mts +1 -1
- package/dist/durable/Recovery.mjs +1 -1
- package/dist/durable/RunContinuation.d.mts +2 -2
- package/dist/durable/RunContinuation.mjs +3 -3
- package/dist/durable/RunJournal.d.mts +1 -1
- package/dist/durable/RunJournal.mjs +1 -1
- package/dist/durable/RunStorage.d.mts +1 -1
- package/dist/durable/RunStorage.mjs +1 -1
- package/dist/durable/Schedule.mjs +1 -1
- package/dist/durable/ScheduleStoreConformance.mjs +1 -1
- package/dist/durable/ScheduleTransition.mjs +1 -1
- package/dist/durable/Scheduling.d.mts +1 -1
- package/dist/durable/Scheduling.mjs +1 -1
- package/dist/durable/SettlementPublisher.d.mts +1 -1
- package/dist/durable/SettlementPublisher.mjs +3 -3
- package/dist/durable/SubmissionLedger.d.mts +1 -1
- package/dist/durable/SubmissionLedger.mjs +4 -4
- package/dist/durable/SubmissionLedger.mjs.map +1 -1
- package/dist/durable/SubmissionLedgerConformance.d.mts +1 -1
- package/dist/durable/SubmissionLedgerConformance.mjs +7 -7
- package/dist/durable/SubmissionStatus.d.mts +1 -1
- package/dist/durable/Subscription.d.mts +1 -1
- package/dist/durable/Subscription.mjs +2 -2
- package/dist/durable/SubscriptionInput.d.mts +1 -1
- package/dist/durable/SubscriptionInput.mjs +2 -2
- package/dist/durable/SubscriptionStoreConformance.d.mts +1 -1
- package/dist/durable/SubscriptionStoreConformance.mjs +1 -1
- package/dist/durable/SubscriptionTools.d.mts +3 -3
- package/dist/durable/SubscriptionTools.mjs +2 -1
- package/dist/durable/SubscriptionTools.mjs.map +1 -1
- package/dist/durable/SubscriptionTransition.d.mts +1 -1
- package/dist/durable/SubscriptionTransition.mjs +1 -1
- package/dist/durable/Subscriptions.d.mts +5 -5
- package/dist/durable/Subscriptions.mjs +2 -2
- package/dist/durable/ThreadArchiveRange.d.mts +1 -1
- package/dist/durable/ThreadArchiveRange.mjs +1 -1
- package/dist/durable/ThreadContextHistory.d.mts +1 -1
- package/dist/durable/ThreadContextHistory.mjs +2 -2
- package/dist/durable/ThreadContextHistoryProjection.mjs +1 -1
- package/dist/durable/ThreadImport.d.mts +1 -1
- package/dist/durable/ThreadImport.mjs +1 -1
- package/dist/durable/ThreadInvariants.d.mts +3 -3
- package/dist/durable/ThreadInvariants.mjs +4 -4
- package/dist/durable/ThreadProjection.mjs +1 -1
- package/dist/durable/ThreadProjectionMaintenance.d.mts +1 -1
- package/dist/durable/ThreadReader.d.mts +1 -1
- package/dist/durable/ThreadReader.mjs +1 -1
- package/dist/durable/ThreadStore.d.mts +1 -1
- package/dist/durable/ThreadStore.mjs +2 -2
- package/dist/durable/ThreadStoreConformance.d.mts +1 -1
- package/dist/durable/ThreadStoreConformance.mjs +4 -4
- package/dist/durable/ThreadTransfer.d.mts +1 -1
- package/dist/durable/ThreadTransfer.mjs +1 -1
- package/dist/durable/ThreadWork.d.mts +1 -1
- package/dist/durable/ThreadWork.mjs +5 -5
- package/dist/durable/ToolReconciler.mjs +1 -1
- package/dist/durable/WorkerAdmission.d.mts +68 -68
- package/dist/durable/WorkerAdmission.mjs +1 -1
- package/dist/durable/WorkerHost.d.mts +2 -2
- 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/DurableStep.d.mts +2 -2
- package/dist/engine/DurableStep.mjs +1 -11
- 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/RunOptions.d.mts +1 -1
- package/dist/engine/SubagentHost.d.mts +1 -1
- package/dist/engine/SubagentHost.mjs +1 -1
- package/dist/index.d.mts +16 -16
- package/dist/index.mjs +15 -15
- package/dist/{run-context-reader-DVhJZ1Qe.d.mts → run-context-reader-BtBPX_nC.d.mts} +2 -2
- package/dist/tool-execution-Ba7tO7Pt.mjs +17 -0
- package/dist/tool-execution-Ba7tO7Pt.mjs.map +1 -0
- package/package.json +1 -1
- package/src/core/Worker.ts +3 -1
- package/src/core/internal/agent-updates.ts +9 -1
- package/src/core/internal/tool-execution.ts +33 -0
- package/src/durable/DurableAgentRuntime.ts +243 -63
- package/src/durable/RunContinuation.ts +2 -2
- package/src/durable/RunJournal.ts +9 -5
- package/src/durable/RunStorage.ts +83 -61
- package/src/durable/SubmissionLedger.ts +8 -0
- package/src/durable/ThreadStore.ts +39 -19
- package/src/durable/internal/agent-updates.ts +59 -3
- package/src/durable/internal/initial-context.ts +17 -2
- package/src/durable/internal/prompt-history-cache.ts +13 -8
- package/src/durable/internal/worker-host.ts +3 -1
- package/src/engine/DurableStep.ts +5 -31
- package/src/engine/internal/agent-runtime.ts +2 -1
- package/dist/Agent-BiRbr73L.mjs.map +0 -1
- package/dist/AgentRuntime-DaDKMasp.mjs.map +0 -1
- package/dist/DurableAgentRuntime-CPlw5_7e.mjs.map +0 -1
- package/dist/RunContinuation-BiyKJK32.mjs.map +0 -1
- package/dist/RunStorage-CzutHJBE.mjs.map +0 -1
- package/dist/ThreadStore-EuUilthA.mjs.map +0 -1
- package/dist/Worker-DZjdMjZn.mjs.map +0 -1
|
@@ -2,8 +2,8 @@ import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
|
2
2
|
import { ThreadId } from "../core/Identifiers.mjs";
|
|
3
3
|
import { n as utf8ByteLength } from "../utf8-B5pAmhTo.mjs";
|
|
4
4
|
import { IdempotencyKey } from "../core/Receipt.mjs";
|
|
5
|
-
import { v as DefinitionDigests } from "../Records-
|
|
6
|
-
import { s as digestJson } from "../Digest-
|
|
5
|
+
import { v as DefinitionDigests } from "../Records-CZRedCE7.mjs";
|
|
6
|
+
import { s as digestJson } from "../Digest-ft4ku9pj.mjs";
|
|
7
7
|
import { PreparedInputAdmission, admitPreparedInput } from "./PreparedInputAdmission.mjs";
|
|
8
8
|
import { AcceptedEvent, PreparedInput, SubscriptionAuthorizer, SubscriptionConfiguration, SubscriptionDelivery, SubscriptionError, SubscriptionFailpoint, SubscriptionKey, SubscriptionLimits, SubscriptionScope, SubscriptionSourceError, SubscriptionStore, defaultSubscriptionLimits, subscriptionDeliveryKeyString } from "./Subscription.mjs";
|
|
9
9
|
import { EventSources } from "./EventSource.mjs";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $a as ThreadArchiveRangeRead, Ja as MAX_ARCHIVE_RANGE_RECORDS, Ka as MAX_ARCHIVE_RANGE_BYTES, Qa as ThreadArchiveRangePublish, Xa as ThreadArchiveRange, Ya as MAX_CANONICAL_BATCH_BYTES, Za as ThreadArchiveRangePage, eo as ThreadArchiveRangeRequest, qa as MAX_ARCHIVE_RANGE_PAGE, ro as ThreadArchiveStorage, to as ThreadArchiveRangeSeal } from "../Admin-
|
|
1
|
+
import { $a as ThreadArchiveRangeRead, Ja as MAX_ARCHIVE_RANGE_RECORDS, Ka as MAX_ARCHIVE_RANGE_BYTES, Qa as ThreadArchiveRangePublish, Xa as ThreadArchiveRange, Ya as MAX_CANONICAL_BATCH_BYTES, Za as ThreadArchiveRangePage, eo as ThreadArchiveRangeRequest, qa as MAX_ARCHIVE_RANGE_PAGE, ro as ThreadArchiveStorage, to as ThreadArchiveRangeSeal } from "../Admin-Bpg24yCK.mjs";
|
|
2
2
|
export { MAX_ARCHIVE_RANGE_BYTES, MAX_ARCHIVE_RANGE_PAGE, MAX_ARCHIVE_RANGE_RECORDS, MAX_CANONICAL_BATCH_BYTES, ThreadArchiveRange, ThreadArchiveRangePage, ThreadArchiveRangePublish, ThreadArchiveRangeRead, ThreadArchiveRangeRequest, ThreadArchiveRangeSeal, ThreadArchiveStorage };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
2
2
|
import { ThreadId } from "../core/Identifiers.mjs";
|
|
3
|
-
import { f as CanonicalSequence } from "../Records-
|
|
3
|
+
import { f as CanonicalSequence } from "../Records-CZRedCE7.mjs";
|
|
4
4
|
import { Schema } from "effect";
|
|
5
5
|
//#region src/durable/ThreadArchiveRange.ts
|
|
6
6
|
var ThreadArchiveRange_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ContextHistory, ContextHistoryError } from "../engine/ContextHistory.mjs";
|
|
2
|
-
import { Ui as ThreadStore } from "../Admin-
|
|
2
|
+
import { Ui as ThreadStore } from "../Admin-Bpg24yCK.mjs";
|
|
3
3
|
import { Layer, Schema } from "effect";
|
|
4
4
|
declare namespace ThreadContextHistory_d_exports {
|
|
5
5
|
export { ThreadContextHistoryOptions, layer };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
2
2
|
import { ContextHistory, ContextHistoryError, ContextHistoryHit, ContextHistoryPage, ContextHistoryRead, ContextHistorySearch } from "../engine/ContextHistory.mjs";
|
|
3
|
-
import { Z as RecordId, f as CanonicalSequence, u as CanonicalRecordEnvelope } from "../Records-
|
|
4
|
-
import { $ as ThreadTailRequest, J as ThreadStore, Q as ThreadTail, V as ThreadRead, b as SelectedThreadRead } from "../ThreadStore-
|
|
3
|
+
import { Z as RecordId, f as CanonicalSequence, u as CanonicalRecordEnvelope } from "../Records-CZRedCE7.mjs";
|
|
4
|
+
import { $ as ThreadTailRequest, J as ThreadStore, Q as ThreadTail, V as ThreadRead, b as SelectedThreadRead } from "../ThreadStore-Cn6FDWX9.mjs";
|
|
5
5
|
import { matchText, normalizeQuery, project, windowIdFor } from "./ThreadContextHistoryProjection.mjs";
|
|
6
6
|
import { Effect, Layer, Schema, Stream } from "effect";
|
|
7
7
|
//#region src/durable/ThreadContextHistory.ts
|
|
@@ -2,7 +2,7 @@ import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
|
2
2
|
import { RunId } from "../core/Identifiers.mjs";
|
|
3
3
|
import { f as contextWindowId } from "../compaction-CgFMDiXL.mjs";
|
|
4
4
|
import { ContextHistoryError, ContextHistorySearch } from "../engine/ContextHistory.mjs";
|
|
5
|
-
import { U as PersistedJson, Z as RecordId, f as CanonicalSequence } from "../Records-
|
|
5
|
+
import { U as PersistedJson, Z as RecordId, f as CanonicalSequence } from "../Records-CZRedCE7.mjs";
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
7
7
|
import { Prompt } from "effect/ai";
|
|
8
8
|
//#region src/durable/ThreadContextHistoryProjection.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as ThreadDeliveryImportReader, S as verifyImportedReferences, _ as reencodeThread, a as ThreadImport, b as validateImportedRunExecution, c as ThreadImportResult, d as finishThreadImport, f as invalidThreadArchive, g as rebuildImportedSubmission, h as rebuildClosedSubmission, i as ThreadArchive, m as prepareImportPage, n as PreparedImportPage, o as ThreadImportProgress, p as makeThreadImportProgress, r as RebuiltSubmission, s as ThreadImportRejected, t as PreparedImportBatch, u as captureImportSource, v as validateClosedRun, w as ThreadImportReader, x as verifyImportedInputOrder, y as validateImportedExecution } from "../ThreadImport-
|
|
1
|
+
import { C as ThreadDeliveryImportReader, S as verifyImportedReferences, _ as reencodeThread, a as ThreadImport, b as validateImportedRunExecution, c as ThreadImportResult, d as finishThreadImport, f as invalidThreadArchive, g as rebuildImportedSubmission, h as rebuildClosedSubmission, i as ThreadArchive, m as prepareImportPage, n as PreparedImportPage, o as ThreadImportProgress, p as makeThreadImportProgress, r as RebuiltSubmission, s as ThreadImportRejected, t as PreparedImportBatch, u as captureImportSource, v as validateClosedRun, w as ThreadImportReader, x as verifyImportedInputOrder, y as validateImportedExecution } from "../ThreadImport-C6IiPJMW.mjs";
|
|
2
2
|
export { PreparedImportBatch, PreparedImportPage, RebuiltSubmission, ThreadArchive, ThreadDeliveryImportReader, ThreadImport, ThreadImportProgress, ThreadImportReader, ThreadImportRejected, ThreadImportResult, captureImportSource, finishThreadImport, invalidThreadArchive, makeThreadImportProgress, prepareImportPage, rebuildClosedSubmission, rebuildImportedSubmission, reencodeThread, validateClosedRun, validateImportedExecution, validateImportedRunExecution, verifyImportedInputOrder, verifyImportedReferences };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as validateImportedRunExecution, a as ThreadImportResult, b as ThreadDeliveryImportReader, c as finishThreadImport, d as prepareImportPage, f as rebuildClosedSubmission, g as validateImportedExecution, h as validateClosedRun, i as ThreadImportRejected, l as invalidThreadArchive, m as reencodeThread, n as ThreadArchive, p as rebuildImportedSubmission, r as ThreadImport, s as captureImportSource, t as RebuiltSubmission, u as makeThreadImportProgress, v as verifyImportedInputOrder, x as ThreadImportReader, y as verifyImportedReferences } from "../ThreadImport-
|
|
1
|
+
import { _ as validateImportedRunExecution, a as ThreadImportResult, b as ThreadDeliveryImportReader, c as finishThreadImport, d as prepareImportPage, f as rebuildClosedSubmission, g as validateImportedExecution, h as validateClosedRun, i as ThreadImportRejected, l as invalidThreadArchive, m as reencodeThread, n as ThreadArchive, p as rebuildImportedSubmission, r as ThreadImport, s as captureImportSource, t as RebuiltSubmission, u as makeThreadImportProgress, v as verifyImportedInputOrder, x as ThreadImportReader, y as verifyImportedReferences } from "../ThreadImport-DUcPj5jC.mjs";
|
|
2
2
|
export { RebuiltSubmission, ThreadArchive, ThreadDeliveryImportReader, ThreadImport, ThreadImportReader, ThreadImportRejected, ThreadImportResult, captureImportSource, finishThreadImport, invalidThreadArchive, makeThreadImportProgress, prepareImportPage, rebuildClosedSubmission, rebuildImportedSubmission, reencodeThread, validateClosedRun, validateImportedExecution, validateImportedRunExecution, verifyImportedInputOrder, verifyImportedReferences };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s as RunId, u as ThreadId } from "../Identifiers-CN2s30fF.mjs";
|
|
2
|
-
import { $r as ExecutionCheckpoint, Gi as ThreadStoreError, c as IntegrityReport, vi as ThreadCheckpoint, vn as SubmissionSnapshot, xi as ThreadExport } from "../Admin-
|
|
3
|
-
import { t as RunContextReader } from "../run-context-reader-
|
|
4
|
-
import { w as ThreadImportReader } from "../ThreadImport-
|
|
2
|
+
import { $r as ExecutionCheckpoint, Gi as ThreadStoreError, c as IntegrityReport, vi as ThreadCheckpoint, vn as SubmissionSnapshot, xi as ThreadExport } from "../Admin-Bpg24yCK.mjs";
|
|
3
|
+
import { t as RunContextReader } from "../run-context-reader-BtBPX_nC.mjs";
|
|
4
|
+
import { w as ThreadImportReader } from "../ThreadImport-C6IiPJMW.mjs";
|
|
5
5
|
import { Effect, Stream } from "effect";
|
|
6
6
|
declare namespace ThreadInvariants_d_exports {
|
|
7
7
|
export { ThreadInvariantInput, verifyThreadInvariants };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
2
|
-
import { f as CanonicalSequence } from "../Records-
|
|
2
|
+
import { f as CanonicalSequence } from "../Records-CZRedCE7.mjs";
|
|
3
3
|
import { submissionInputRecordId, submissionSettlementRecordId, workerTerminalFromRecord } from "./SubmissionLedger.mjs";
|
|
4
4
|
import { IntegrityCheck, IntegrityReport } from "./Admin.mjs";
|
|
5
|
-
import { E as ThreadExport, X as ThreadStoreError, ht as canonicalRunIds, mt as recordEncoding } from "../ThreadStore-
|
|
6
|
-
import { h as verifyRunContinuations } from "../RunContinuation-
|
|
7
|
-
import { _ as validateImportedRunExecution, c as finishThreadImport, d as prepareImportPage, g as validateImportedExecution, i as ThreadImportRejected, n as ThreadArchive, p as rebuildImportedSubmission, u as makeThreadImportProgress, v as verifyImportedInputOrder, x as ThreadImportReader, y as verifyImportedReferences } from "../ThreadImport-
|
|
5
|
+
import { E as ThreadExport, X as ThreadStoreError, ht as canonicalRunIds, mt as recordEncoding } from "../ThreadStore-Cn6FDWX9.mjs";
|
|
6
|
+
import { h as verifyRunContinuations } from "../RunContinuation-D42RFqjS.mjs";
|
|
7
|
+
import { _ as validateImportedRunExecution, c as finishThreadImport, d as prepareImportPage, g as validateImportedExecution, i as ThreadImportRejected, n as ThreadArchive, p as rebuildImportedSubmission, u as makeThreadImportProgress, v as verifyImportedInputOrder, x as ThreadImportReader, y as verifyImportedReferences } from "../ThreadImport-DUcPj5jC.mjs";
|
|
8
8
|
import { Effect, Schema, Stream } from "effect";
|
|
9
9
|
//#region src/durable/ThreadInvariants.ts
|
|
10
10
|
var ThreadInvariants_exports = /* @__PURE__ */ __exportAll({ verifyThreadInvariants: () => verifyThreadInvariants });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
2
2
|
import { RunId, ThreadId, ToolCallId } from "../core/Identifiers.mjs";
|
|
3
|
-
import { Tt as ToolCallUnknown, U as PersistedJson, _t as SubmissionSettledRecord, bt as ToolApprovalDecided, f as CanonicalSequence, ft as SubagentJoined, g as DeclaredToolCall, ht as SubagentStarted, mt as SubagentRequested, pt as SubagentLineageRecorded, t as AbortRequested, xt as ToolApprovalRequested } from "../Records-
|
|
3
|
+
import { Tt as ToolCallUnknown, U as PersistedJson, _t as SubmissionSettledRecord, bt as ToolApprovalDecided, f as CanonicalSequence, ft as SubagentJoined, g as DeclaredToolCall, ht as SubagentStarted, mt as SubagentRequested, pt as SubagentLineageRecorded, t as AbortRequested, xt as ToolApprovalRequested } from "../Records-CZRedCE7.mjs";
|
|
4
4
|
import { Schema } from "effect";
|
|
5
5
|
//#region src/durable/ThreadProjection.ts
|
|
6
6
|
var ThreadProjection_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Xr as AppendResult, Yr as AppendRequest } from "../Admin-
|
|
1
|
+
import { Xr as AppendResult, Yr as AppendRequest } from "../Admin-Bpg24yCK.mjs";
|
|
2
2
|
import { Context, Effect, Layer, Option, Schema } from "effect";
|
|
3
3
|
declare namespace ThreadProjectionMaintenance_d_exports {
|
|
4
4
|
export { ThreadProjectionError, ThreadProjectionMaintenance, ThreadProjectionMaintenanceService, drainDue };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ai as ThreadIdentityRequest, Ei as ThreadExportRequest, Fi as ThreadPromptRead, Gi as ThreadStoreError, Ii as ThreadRead, Ji as ThreadTail, Li as ThreadReadRequest, Mi as ThreadNotMaterialized, Ni as ThreadObservation, Ri as ThreadReader, Vi as ThreadRunInputRequest, Yi as ThreadTailRequest, ia as getRunInput, ki as ThreadIdentity, oa as readWorkerState, ra as getRecord, ta as ThreadWorkerStateRequest, xi as ThreadExport, zi as ThreadRecordRequest } from "../Admin-
|
|
1
|
+
import { Ai as ThreadIdentityRequest, Ei as ThreadExportRequest, Fi as ThreadPromptRead, Gi as ThreadStoreError, Ii as ThreadRead, Ji as ThreadTail, Li as ThreadReadRequest, Mi as ThreadNotMaterialized, Ni as ThreadObservation, Ri as ThreadReader, Vi as ThreadRunInputRequest, Yi as ThreadTailRequest, ia as getRunInput, ki as ThreadIdentity, oa as readWorkerState, ra as getRecord, ta as ThreadWorkerStateRequest, xi as ThreadExport, zi as ThreadRecordRequest } from "../Admin-Bpg24yCK.mjs";
|
|
2
2
|
export { ThreadExport, ThreadExportRequest, ThreadIdentity, ThreadIdentityRequest, ThreadNotMaterialized, ThreadObservation, ThreadPromptRead, ThreadRead, ThreadReadRequest, ThreadReader, ThreadRecordRequest, ThreadRunInputRequest, ThreadStoreError, ThreadTail, ThreadTailRequest, ThreadWorkerStateRequest, getRecord, getRunInput, readWorkerState };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as ThreadTailRequest, B as ThreadPromptRead, E as ThreadExport, F as ThreadIdentityRequest, H as ThreadReadRequest, K as ThreadRunInputRequest, L as ThreadNotMaterialized, P as ThreadIdentity, Q as ThreadTail, R as ThreadObservation, U as ThreadReader, V as ThreadRead, W as ThreadRecordRequest, X as ThreadStoreError, it as ThreadWorkerStateRequest, j as ThreadExportRequest, lt as readWorkerState, ot as getRecord, st as getRunInput } from "../ThreadStore-
|
|
1
|
+
import { $ as ThreadTailRequest, B as ThreadPromptRead, E as ThreadExport, F as ThreadIdentityRequest, H as ThreadReadRequest, K as ThreadRunInputRequest, L as ThreadNotMaterialized, P as ThreadIdentity, Q as ThreadTail, R as ThreadObservation, U as ThreadReader, V as ThreadRead, W as ThreadRecordRequest, X as ThreadStoreError, it as ThreadWorkerStateRequest, j as ThreadExportRequest, lt as readWorkerState, ot as getRecord, st as getRunInput } from "../ThreadStore-Cn6FDWX9.mjs";
|
|
2
2
|
export { ThreadExport, ThreadExportRequest, ThreadIdentity, ThreadIdentityRequest, ThreadNotMaterialized, ThreadObservation, ThreadPromptRead, ThreadRead, ThreadReadRequest, ThreadReader, ThreadRecordRequest, ThreadRunInputRequest, ThreadStoreError, ThreadTail, ThreadTailRequest, ThreadWorkerStateRequest, getRecord, getRunInput, readWorkerState };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { W as PROMPT_EVIDENCE_TAGS } from "../Records-BTnGRdcf.mjs";
|
|
2
|
-
import { $i as ThreadWorkerCapacityRequest, $r as ExecutionCheckpoint, Ai as ThreadIdentityRequest, Bi as ThreadResolutionFact, Ci as ThreadExportCursor, Di as ThreadExportSnapshot, Ei as ThreadExportRequest, Fi as ThreadPromptRead, Gi as ThreadStoreError, Hi as ThreadSelection, Ii as ThreadRead, Ji as ThreadTail, Jr as AppendConflict, Ki as ThreadStoreFailure, Li as ThreadReadRequest, Mi as ThreadNotMaterialized, Ni as ThreadObservation, Oi as ThreadExportSource, Pi as ThreadPeerCountRequest, Qi as ThreadWorkerCapacity, Qr as CommitBatch, Ri as ThreadReader, Si as ThreadExportBatch, Ti as ThreadExportRejected, Ui as ThreadStore, Vi as ThreadRunInputRequest, Wi as ThreadStoreDiagnostic, Xi as ThreadVerificationRequest, Xr as AppendResult, Yi as ThreadTailRequest, Yr as AppendRequest, Zi as ThreadVerificationStorage, Zr as CheckpointRejected, _i as ThreadApprovalFact, aa as makeTransferFactCheck, ai as MAX_THREAD_EXPORT_CURSOR_CHARS, bi as ThreadCommands, ca as transferPageFits, ci as PreparedAppend, di as PromptCheckpointRead, ea as ThreadWorkerSeal, ei as ExecutionRead, fi as PromptCheckpoints, gi as ThreadAdmission, hi as ThreadAbortFact, ia as getRunInput, ii as MAX_PROMPT_CHECKPOINT_RUNS, ji as ThreadMaterialization, ki as ThreadIdentity, li as PromptCheckpoint, mi as SelectedThreadRead, na as canonicalBatchFitsTransfer, ni as LoadCheckpointRequest, oa as readWorkerState, oi as MAX_THREAD_EXPORT_PAGE_BYTES, pi as SaveCheckpointRequest, ra as getRecord, ri as MAX_PROMPT_CHECKPOINT_BYTES, sa as streamExport, si as MAX_THREAD_EXPORT_PAGE_RECORDS, ta as ThreadWorkerStateRequest, ti as ExecutionUpdate, ui as PromptCheckpointHead, vi as ThreadCheckpoint, wi as ThreadExportRecord, xi as ThreadExport, yi as ThreadCheckpoints, zi as ThreadRecordRequest } from "../Admin-
|
|
2
|
+
import { $i as ThreadWorkerCapacityRequest, $r as ExecutionCheckpoint, Ai as ThreadIdentityRequest, Bi as ThreadResolutionFact, Ci as ThreadExportCursor, Di as ThreadExportSnapshot, Ei as ThreadExportRequest, Fi as ThreadPromptRead, Gi as ThreadStoreError, Hi as ThreadSelection, Ii as ThreadRead, Ji as ThreadTail, Jr as AppendConflict, Ki as ThreadStoreFailure, Li as ThreadReadRequest, Mi as ThreadNotMaterialized, Ni as ThreadObservation, Oi as ThreadExportSource, Pi as ThreadPeerCountRequest, Qi as ThreadWorkerCapacity, Qr as CommitBatch, Ri as ThreadReader, Si as ThreadExportBatch, Ti as ThreadExportRejected, Ui as ThreadStore, Vi as ThreadRunInputRequest, Wi as ThreadStoreDiagnostic, Xi as ThreadVerificationRequest, Xr as AppendResult, Yi as ThreadTailRequest, Yr as AppendRequest, Zi as ThreadVerificationStorage, Zr as CheckpointRejected, _i as ThreadApprovalFact, aa as makeTransferFactCheck, ai as MAX_THREAD_EXPORT_CURSOR_CHARS, bi as ThreadCommands, ca as transferPageFits, ci as PreparedAppend, di as PromptCheckpointRead, ea as ThreadWorkerSeal, ei as ExecutionRead, fi as PromptCheckpoints, gi as ThreadAdmission, hi as ThreadAbortFact, ia as getRunInput, ii as MAX_PROMPT_CHECKPOINT_RUNS, ji as ThreadMaterialization, ki as ThreadIdentity, li as PromptCheckpoint, mi as SelectedThreadRead, na as canonicalBatchFitsTransfer, ni as LoadCheckpointRequest, oa as readWorkerState, oi as MAX_THREAD_EXPORT_PAGE_BYTES, pi as SaveCheckpointRequest, ra as getRecord, ri as MAX_PROMPT_CHECKPOINT_BYTES, sa as streamExport, si as MAX_THREAD_EXPORT_PAGE_RECORDS, ta as ThreadWorkerStateRequest, ti as ExecutionUpdate, ui as PromptCheckpointHead, vi as ThreadCheckpoint, wi as ThreadExportRecord, xi as ThreadExport, yi as ThreadCheckpoints, zi as ThreadRecordRequest } from "../Admin-Bpg24yCK.mjs";
|
|
3
3
|
export { AppendConflict, AppendRequest, AppendResult, CheckpointRejected, CommitBatch, ExecutionCheckpoint, ExecutionRead, ExecutionUpdate, LoadCheckpointRequest, MAX_PROMPT_CHECKPOINT_BYTES, MAX_PROMPT_CHECKPOINT_RUNS, MAX_THREAD_EXPORT_CURSOR_CHARS, MAX_THREAD_EXPORT_PAGE_BYTES, MAX_THREAD_EXPORT_PAGE_RECORDS, PROMPT_EVIDENCE_TAGS, PreparedAppend, PromptCheckpoint, PromptCheckpointHead, PromptCheckpointRead, PromptCheckpoints, SaveCheckpointRequest, SelectedThreadRead, ThreadAbortFact, ThreadAdmission, ThreadApprovalFact, ThreadCheckpoint, ThreadCheckpoints, ThreadCommands, ThreadExport, ThreadExportBatch, ThreadExportCursor, ThreadExportRecord, ThreadExportRejected, ThreadExportRequest, ThreadExportSnapshot, ThreadExportSource, ThreadIdentity, ThreadIdentityRequest, ThreadMaterialization, ThreadNotMaterialized, ThreadObservation, ThreadPeerCountRequest, ThreadPromptRead, ThreadRead, ThreadReadRequest, ThreadReader, ThreadRecordRequest, ThreadResolutionFact, ThreadRunInputRequest, ThreadSelection, ThreadStore, ThreadStoreDiagnostic, ThreadStoreError, ThreadStoreFailure, ThreadTail, ThreadTailRequest, ThreadVerificationRequest, ThreadVerificationStorage, ThreadWorkerCapacity, ThreadWorkerCapacityRequest, ThreadWorkerSeal, ThreadWorkerStateRequest, canonicalBatchFitsTransfer, getRecord, getRunInput, makeTransferFactCheck, readWorkerState, streamExport, transferPageFits };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { V as PROMPT_EVIDENCE_TAGS } from "../Records-
|
|
2
|
-
import { $ as ThreadTailRequest, A as ThreadExportRejected, B as ThreadPromptRead, C as ThreadApprovalFact, D as ThreadExportBatch, E as ThreadExport, F as ThreadIdentityRequest, G as ThreadResolutionFact, H as ThreadReadRequest, I as ThreadMaterialization, J as ThreadStore, K as ThreadRunInputRequest, L as ThreadNotMaterialized, M as ThreadExportSnapshot, N as ThreadExportSource, O as ThreadExportCursor, P as ThreadIdentity, Q as ThreadTail, R as ThreadObservation, S as ThreadAdmission, T as ThreadCommands, U as ThreadReader, V as ThreadRead, W as ThreadRecordRequest, X as ThreadStoreError, Y as ThreadStoreDiagnostic, _ as PromptCheckpointHead, a as CommitBatch, at as canonicalBatchFitsTransfer, b as SelectedThreadRead, c as ExecutionUpdate, ct as makeTransferFactCheck, d as MAX_PROMPT_CHECKPOINT_RUNS, dt as transferPageFits, et as ThreadVerificationRequest, f as MAX_THREAD_EXPORT_CURSOR_CHARS, g as PromptCheckpoint, h as PreparedAppend, i as CheckpointRejected, it as ThreadWorkerStateRequest, j as ThreadExportRequest, k as ThreadExportRecord, l as LoadCheckpointRequest, lt as readWorkerState, m as MAX_THREAD_EXPORT_PAGE_RECORDS, n as AppendRequest, nt as ThreadWorkerCapacityRequest, o as ExecutionCheckpoint, ot as getRecord, p as MAX_THREAD_EXPORT_PAGE_BYTES, q as ThreadSelection, r as AppendResult, rt as ThreadWorkerSeal, s as ExecutionRead, st as getRunInput, t as AppendConflict, tt as ThreadWorkerCapacity, u as MAX_PROMPT_CHECKPOINT_BYTES, ut as streamExport, v as PromptCheckpointRead, w as ThreadCheckpoint, x as ThreadAbortFact, y as SaveCheckpointRequest, z as ThreadPeerCountRequest } from "../ThreadStore-
|
|
1
|
+
import { V as PROMPT_EVIDENCE_TAGS } from "../Records-CZRedCE7.mjs";
|
|
2
|
+
import { $ as ThreadTailRequest, A as ThreadExportRejected, B as ThreadPromptRead, C as ThreadApprovalFact, D as ThreadExportBatch, E as ThreadExport, F as ThreadIdentityRequest, G as ThreadResolutionFact, H as ThreadReadRequest, I as ThreadMaterialization, J as ThreadStore, K as ThreadRunInputRequest, L as ThreadNotMaterialized, M as ThreadExportSnapshot, N as ThreadExportSource, O as ThreadExportCursor, P as ThreadIdentity, Q as ThreadTail, R as ThreadObservation, S as ThreadAdmission, T as ThreadCommands, U as ThreadReader, V as ThreadRead, W as ThreadRecordRequest, X as ThreadStoreError, Y as ThreadStoreDiagnostic, _ as PromptCheckpointHead, a as CommitBatch, at as canonicalBatchFitsTransfer, b as SelectedThreadRead, c as ExecutionUpdate, ct as makeTransferFactCheck, d as MAX_PROMPT_CHECKPOINT_RUNS, dt as transferPageFits, et as ThreadVerificationRequest, f as MAX_THREAD_EXPORT_CURSOR_CHARS, g as PromptCheckpoint, h as PreparedAppend, i as CheckpointRejected, it as ThreadWorkerStateRequest, j as ThreadExportRequest, k as ThreadExportRecord, l as LoadCheckpointRequest, lt as readWorkerState, m as MAX_THREAD_EXPORT_PAGE_RECORDS, n as AppendRequest, nt as ThreadWorkerCapacityRequest, o as ExecutionCheckpoint, ot as getRecord, p as MAX_THREAD_EXPORT_PAGE_BYTES, q as ThreadSelection, r as AppendResult, rt as ThreadWorkerSeal, s as ExecutionRead, st as getRunInput, t as AppendConflict, tt as ThreadWorkerCapacity, u as MAX_PROMPT_CHECKPOINT_BYTES, ut as streamExport, v as PromptCheckpointRead, w as ThreadCheckpoint, x as ThreadAbortFact, y as SaveCheckpointRequest, z as ThreadPeerCountRequest } from "../ThreadStore-Cn6FDWX9.mjs";
|
|
3
3
|
export { AppendConflict, AppendRequest, AppendResult, CheckpointRejected, CommitBatch, ExecutionCheckpoint, ExecutionRead, ExecutionUpdate, LoadCheckpointRequest, MAX_PROMPT_CHECKPOINT_BYTES, MAX_PROMPT_CHECKPOINT_RUNS, MAX_THREAD_EXPORT_CURSOR_CHARS, MAX_THREAD_EXPORT_PAGE_BYTES, MAX_THREAD_EXPORT_PAGE_RECORDS, PROMPT_EVIDENCE_TAGS, PreparedAppend, PromptCheckpoint, PromptCheckpointHead, PromptCheckpointRead, SaveCheckpointRequest, SelectedThreadRead, ThreadAbortFact, ThreadAdmission, ThreadApprovalFact, ThreadCheckpoint, ThreadCommands, ThreadExport, ThreadExportBatch, ThreadExportCursor, ThreadExportRecord, ThreadExportRejected, ThreadExportRequest, ThreadExportSnapshot, ThreadExportSource, ThreadIdentity, ThreadIdentityRequest, ThreadMaterialization, ThreadNotMaterialized, ThreadObservation, ThreadPeerCountRequest, ThreadPromptRead, ThreadRead, ThreadReadRequest, ThreadReader, ThreadRecordRequest, ThreadResolutionFact, ThreadRunInputRequest, ThreadSelection, ThreadStore, ThreadStoreDiagnostic, ThreadStoreError, ThreadTail, ThreadTailRequest, ThreadVerificationRequest, ThreadWorkerCapacity, ThreadWorkerCapacityRequest, ThreadWorkerSeal, ThreadWorkerStateRequest, canonicalBatchFitsTransfer, getRecord, getRunInput, makeTransferFactCheck, readWorkerState, streamExport, transferPageFits };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Y as PromptRecordEnvelope, d as CanonicalRecordEnvelope } from "../Records-BTnGRdcf.mjs";
|
|
2
|
-
import { $i as ThreadWorkerCapacityRequest, $r as ExecutionCheckpoint, Ai as ThreadIdentityRequest, Ei as ThreadExportRequest, Fi as ThreadPromptRead, Gi as ThreadStoreError, Ji as ThreadTail, Jr as AppendConflict, Ki as ThreadStoreFailure, Li as ThreadReadRequest, Mi as ThreadNotMaterialized, Ni as ThreadObservation, Pi as ThreadPeerCountRequest, Qi as ThreadWorkerCapacity, Ti as ThreadExportRejected, Ui as ThreadStore, Xr as AppendResult, Xt as OwnershipLost, Yi as ThreadTailRequest, Yr as AppendRequest, Zi as ThreadVerificationStorage, Zr as CheckpointRejected, do as LifecyclePublicationStorage, ei as ExecutionRead, fi as PromptCheckpoints, ji as ThreadMaterialization, ki as ThreadIdentity, ro as ThreadArchiveStorage, wa as ThreadWorkStorage, xi as ThreadExport, yi as ThreadCheckpoints } from "../Admin-
|
|
2
|
+
import { $i as ThreadWorkerCapacityRequest, $r as ExecutionCheckpoint, Ai as ThreadIdentityRequest, Ei as ThreadExportRequest, Fi as ThreadPromptRead, Gi as ThreadStoreError, Ji as ThreadTail, Jr as AppendConflict, Ki as ThreadStoreFailure, Li as ThreadReadRequest, Mi as ThreadNotMaterialized, Ni as ThreadObservation, Pi as ThreadPeerCountRequest, Qi as ThreadWorkerCapacity, Ti as ThreadExportRejected, Ui as ThreadStore, Xr as AppendResult, Xt as OwnershipLost, Yi as ThreadTailRequest, Yr as AppendRequest, Zi as ThreadVerificationStorage, Zr as CheckpointRejected, do as LifecyclePublicationStorage, ei as ExecutionRead, fi as PromptCheckpoints, ji as ThreadMaterialization, ki as ThreadIdentity, ro as ThreadArchiveStorage, wa as ThreadWorkStorage, xi as ThreadExport, yi as ThreadCheckpoints } from "../Admin-Bpg24yCK.mjs";
|
|
3
3
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
4
4
|
//#region src/durable/ThreadStoreConformance.d.ts
|
|
5
5
|
declare const ThreadStoreConformanceViolation_base: Schema.Class<ThreadStoreConformanceViolation, Schema.TaggedStruct<"ThreadStoreConformanceViolation", {
|
|
@@ -2,10 +2,10 @@ import { AgentId, DelegationId, ReceiptId, RunId, SettlementId, SubmissionId, Th
|
|
|
2
2
|
import { AgentPolicy } from "../core/AgentPolicy.mjs";
|
|
3
3
|
import { IdempotencyKey } from "../core/Receipt.mjs";
|
|
4
4
|
import { SubagentDelegationCaps, SubagentGrant, SubagentReservationAmounts } from "../core/SubagentContract.mjs";
|
|
5
|
-
import { Ft as WorkerInputRequested, H as PeerMessagePrepared, Lt as WorkerOriginRecorded, Nt as WorkerInputCompleted, Vt as WorkerStopRequested, W as ProducerId, X as RecordEnvelope, Z as RecordId, b as Digest, c as CanonicalBatch, f as CanonicalSequence, i as BatchId, kt as UserInputRecorded, vt as SubtreeBudgetReserved, y as DeploymentId } from "../Records-
|
|
6
|
-
import { O as subagentLineageRecordId, X as workerOriginRecordId } from "../RunJournal-
|
|
7
|
-
import { $ as ThreadTailRequest, F as ThreadIdentityRequest, I as ThreadMaterialization, J as ThreadStore, L as ThreadNotMaterialized, R as ThreadObservation, U as ThreadReader, V as ThreadRead, X as ThreadStoreError, i as CheckpointRejected, j as ThreadExportRequest, l as LoadCheckpointRequest, lt as readWorkerState, n as AppendRequest, ot as getRecord, st as getRunInput, t as AppendConflict, w as ThreadCheckpoint, y as SaveCheckpointRequest } from "../ThreadStore-
|
|
8
|
-
import { a as canonicalRecordBytes } from "../RunContinuation-
|
|
5
|
+
import { Ft as WorkerInputRequested, H as PeerMessagePrepared, Lt as WorkerOriginRecorded, Nt as WorkerInputCompleted, Vt as WorkerStopRequested, W as ProducerId, X as RecordEnvelope, Z as RecordId, b as Digest, c as CanonicalBatch, f as CanonicalSequence, i as BatchId, kt as UserInputRecorded, vt as SubtreeBudgetReserved, y as DeploymentId } from "../Records-CZRedCE7.mjs";
|
|
6
|
+
import { O as subagentLineageRecordId, X as workerOriginRecordId } from "../RunJournal-oJLo-pjS.mjs";
|
|
7
|
+
import { $ as ThreadTailRequest, F as ThreadIdentityRequest, I as ThreadMaterialization, J as ThreadStore, L as ThreadNotMaterialized, R as ThreadObservation, U as ThreadReader, V as ThreadRead, X as ThreadStoreError, i as CheckpointRejected, j as ThreadExportRequest, l as LoadCheckpointRequest, lt as readWorkerState, n as AppendRequest, ot as getRecord, st as getRunInput, t as AppendConflict, w as ThreadCheckpoint, y as SaveCheckpointRequest } from "../ThreadStore-Cn6FDWX9.mjs";
|
|
8
|
+
import { a as canonicalRecordBytes } from "../RunContinuation-D42RFqjS.mjs";
|
|
9
9
|
import { DateTime, Effect, Option, Schema, Stream } from "effect";
|
|
10
10
|
//#region src/durable/ThreadStoreConformance.ts
|
|
11
11
|
/** A ThreadStore contract invariant that an adapter under test violated. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { u as ThreadId } from "../Identifiers-CN2s30fF.mjs";
|
|
2
2
|
import { d as CanonicalRecordEnvelope, et as RecordId } from "../Records-BTnGRdcf.mjs";
|
|
3
|
-
import { Ei as ThreadExportRequest, Gi as ThreadStoreError, Mi as ThreadNotMaterialized, Ti as ThreadExportRejected, xi as ThreadExport } from "../Admin-
|
|
3
|
+
import { Ei as ThreadExportRequest, Gi as ThreadStoreError, Mi as ThreadNotMaterialized, Ti as ThreadExportRejected, xi as ThreadExport } from "../Admin-Bpg24yCK.mjs";
|
|
4
4
|
import { Context, Effect, Schema } from "effect";
|
|
5
5
|
declare namespace ThreadTransfer_d_exports {
|
|
6
6
|
export { ThreadExporterReader, TransferFacts, TransferManifest, TransferSection, checkExportSource, checkTransferPageBytes, exportThreadPage, sameTransferManifest, transferDependencies, transferSections };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as checkTransferPageBytes, c as transferDependencies, i as checkExportSource, l as transferSections, o as exportThreadPage, r as TransferManifest, s as sameTransferManifest, t as ThreadExporterReader } from "../ThreadTransfer-
|
|
1
|
+
import { a as checkTransferPageBytes, c as transferDependencies, i as checkExportSource, l as transferSections, o as exportThreadPage, r as TransferManifest, s as sameTransferManifest, t as ThreadExporterReader } from "../ThreadTransfer-BWnAHIge.mjs";
|
|
2
2
|
export { ThreadExporterReader, TransferManifest, checkExportSource, checkTransferPageBytes, exportThreadPage, sameTransferManifest, transferDependencies, transferSections };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Aa as WorkIndexRebuildRequest, Ba as encodeWorkCursor, Ca as ThreadWorkRequest, Da as WorkDiscoveryUnavailable, Ea as WORK_INDEX_VERSION, Fa as WorkerReportingMode, Ga as workIndexChanges, Ha as resolveWorkEvidence, Ia as admissionWork, La as advanceWorkEntry, Ma as WorkStateReference, Na as WorkThreadsPage, Oa as WorkIndexChange, Pa as WorkThreadsRequest, Ra as decodeWorkCursor, Sa as ThreadWorkPage, Ua as validateWorkPage, Va as operationEvidence, Wa as workId, _a as MAX_WORK_REBUILD_BYTES, ba as ThreadWorkDiscovery, da as MAX_RECOVERY_PAGES, fa as MAX_RECOVERY_WORK_ITEMS, ga as MAX_WORK_PAGE_ENTRIES, ha as MAX_WORK_PAGE_BYTES, ja as WorkOwner, ka as WorkIndexProgress, la as CanonicalWorkEntry, ma as MAX_WORK_ENTRY_BYTES, pa as MAX_WORK_CURSOR_CHARS, ua as FreshAdmissionWork, va as MAX_WORK_REBUILD_RECORDS, wa as ThreadWorkStorage, xa as ThreadWorkEntry, ya as ThreadWorkCursor, za as deliveryPredecessor } from "../Admin-
|
|
1
|
+
import { Aa as WorkIndexRebuildRequest, Ba as encodeWorkCursor, Ca as ThreadWorkRequest, Da as WorkDiscoveryUnavailable, Ea as WORK_INDEX_VERSION, Fa as WorkerReportingMode, Ga as workIndexChanges, Ha as resolveWorkEvidence, Ia as admissionWork, La as advanceWorkEntry, Ma as WorkStateReference, Na as WorkThreadsPage, Oa as WorkIndexChange, Pa as WorkThreadsRequest, Ra as decodeWorkCursor, Sa as ThreadWorkPage, Ua as validateWorkPage, Va as operationEvidence, Wa as workId, _a as MAX_WORK_REBUILD_BYTES, ba as ThreadWorkDiscovery, da as MAX_RECOVERY_PAGES, fa as MAX_RECOVERY_WORK_ITEMS, ga as MAX_WORK_PAGE_ENTRIES, ha as MAX_WORK_PAGE_BYTES, ja as WorkOwner, ka as WorkIndexProgress, la as CanonicalWorkEntry, ma as MAX_WORK_ENTRY_BYTES, pa as MAX_WORK_CURSOR_CHARS, ua as FreshAdmissionWork, va as MAX_WORK_REBUILD_RECORDS, wa as ThreadWorkStorage, xa as ThreadWorkEntry, ya as ThreadWorkCursor, za as deliveryPredecessor } from "../Admin-Bpg24yCK.mjs";
|
|
2
2
|
export { CanonicalWorkEntry, FreshAdmissionWork, MAX_RECOVERY_PAGES, MAX_RECOVERY_WORK_ITEMS, MAX_WORK_CURSOR_CHARS, MAX_WORK_ENTRY_BYTES, MAX_WORK_PAGE_BYTES, MAX_WORK_PAGE_ENTRIES, MAX_WORK_REBUILD_BYTES, MAX_WORK_REBUILD_RECORDS, ThreadWorkCursor, ThreadWorkDiscovery, ThreadWorkEntry, ThreadWorkPage, ThreadWorkRequest, ThreadWorkStorage, WORK_INDEX_VERSION, WorkDiscoveryUnavailable, WorkIndexChange, WorkIndexProgress, WorkIndexRebuildRequest, WorkOwner, WorkStateReference, WorkThreadsPage, WorkThreadsRequest, WorkerReportingMode, admissionWork, advanceWorkEntry, decodeWorkCursor, deliveryPredecessor, encodeWorkCursor, operationEvidence, resolveWorkEvidence, validateWorkPage, workId, workIndexChanges };
|
|
@@ -2,11 +2,11 @@ import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
|
2
2
|
import { ReceiptId, RunId, SubmissionId, ThreadId, ToolCallId } from "../core/Identifiers.mjs";
|
|
3
3
|
import { n as utf8ByteLength } from "../utf8-B5pAmhTo.mjs";
|
|
4
4
|
import { IdempotencyKey, QueueSequence } from "../core/Receipt.mjs";
|
|
5
|
-
import { Z as RecordId, b as Digest, f as CanonicalSequence } from "../Records-
|
|
6
|
-
import { s as digestJson } from "../Digest-
|
|
7
|
-
import { S as runIdForSubmission } from "../RunJournal-
|
|
8
|
-
import { J as ThreadStore, U as ThreadReader, X as ThreadStoreError } from "../ThreadStore-
|
|
9
|
-
import { a as canonicalRecordBytes, x as resolveEvidence } from "../RunContinuation-
|
|
5
|
+
import { Z as RecordId, b as Digest, f as CanonicalSequence } from "../Records-CZRedCE7.mjs";
|
|
6
|
+
import { s as digestJson } from "../Digest-ft4ku9pj.mjs";
|
|
7
|
+
import { S as runIdForSubmission } from "../RunJournal-oJLo-pjS.mjs";
|
|
8
|
+
import { J as ThreadStore, U as ThreadReader, X as ThreadStoreError } from "../ThreadStore-Cn6FDWX9.mjs";
|
|
9
|
+
import { a as canonicalRecordBytes, x as resolveEvidence } from "../RunContinuation-D42RFqjS.mjs";
|
|
10
10
|
import { Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
11
11
|
//#region src/durable/ThreadWork.ts
|
|
12
12
|
var ThreadWork_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
2
2
|
import { RunId, SubmissionId, ThreadId, ToolCallId } from "../core/Identifiers.mjs";
|
|
3
|
-
import { U as PersistedJson, b as Digest, g as DeclaredToolCall } from "../Records-
|
|
3
|
+
import { U as PersistedJson, b as Digest, g as DeclaredToolCall } from "../Records-CZRedCE7.mjs";
|
|
4
4
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
5
5
|
//#region src/durable/ToolReconciler.ts
|
|
6
6
|
var ToolReconciler_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -3,7 +3,7 @@ import { a as Receipt } from "../Receipt-BkM21Qiu.mjs";
|
|
|
3
3
|
import { r as Update } from "../AgentUpdates-DksV4D0A.mjs";
|
|
4
4
|
import { t as AgentPolicy } from "../AgentPolicy-B4lbCU2T.mjs";
|
|
5
5
|
import { b as DefinitionDigests } from "../Records-BTnGRdcf.mjs";
|
|
6
|
-
import { Gi as ThreadStoreError, Gt as LedgerError, Jr as AppendConflict, Mi as ThreadNotMaterialized, Ui as ThreadStore, Xt as OwnershipLost, Zt as ParentLinkage, _t as AdmissionPolicyError, bt as AdmissionResult, dn as SubmissionLedger, ft as AdmissionConflict } from "../Admin-
|
|
6
|
+
import { Gi as ThreadStoreError, Gt as LedgerError, Jr as AppendConflict, Mi as ThreadNotMaterialized, Ui as ThreadStore, Xt as OwnershipLost, Zt as ParentLinkage, _t as AdmissionPolicyError, bt as AdmissionResult, dn as SubmissionLedger, ft as AdmissionConflict } from "../Admin-Bpg24yCK.mjs";
|
|
7
7
|
import { n as DurableRuntimeFailpoint, r as DurableRuntimeFailpointError } from "../DurableFailpoint-BugHZKvJ.mjs";
|
|
8
8
|
import { t as WakeScheduler } from "../WakeScheduler-DJIMMf77.mjs";
|
|
9
9
|
import { Context, Effect, Schema } from "effect";
|
|
@@ -11,6 +11,73 @@ declare namespace WorkerAdmission_d_exports {
|
|
|
11
11
|
export { WorkerAdmissionFailure, WorkerAdmissionPort, WorkerAdmissionRequest, admitWorker };
|
|
12
12
|
}
|
|
13
13
|
declare const WorkerAdmissionRequest_base: Schema.Class<WorkerAdmissionRequest, Schema.Struct<{
|
|
14
|
+
readonly workerAdmission: Schema.Struct<{
|
|
15
|
+
readonly origin: Schema.Struct<{
|
|
16
|
+
readonly worker: Schema.Struct<{
|
|
17
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
18
|
+
readonly delegationId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/DelegationId">;
|
|
19
|
+
readonly targetAgentId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/AgentId">;
|
|
20
|
+
readonly threadId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/ThreadId">;
|
|
21
|
+
}>;
|
|
22
|
+
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
23
|
+
readonly _tag: Schema.Literal<"tool">;
|
|
24
|
+
readonly agentId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/AgentId">;
|
|
25
|
+
readonly threadId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/ThreadId">;
|
|
26
|
+
readonly runId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/RunId">;
|
|
27
|
+
readonly toolCallId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/ToolCallId">;
|
|
28
|
+
}>, Schema.Struct<{
|
|
29
|
+
readonly _tag: Schema.Literal<"programmatic">;
|
|
30
|
+
readonly agentId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/AgentId">;
|
|
31
|
+
readonly threadId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/ThreadId">;
|
|
32
|
+
}>]>;
|
|
33
|
+
readonly continuationOf: Schema.optionalKey<Schema.Struct<{
|
|
34
|
+
readonly worker: Schema.Struct<{
|
|
35
|
+
readonly schemaVersion: Schema.Literal<1>;
|
|
36
|
+
readonly delegationId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/DelegationId">;
|
|
37
|
+
readonly targetAgentId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/AgentId">;
|
|
38
|
+
readonly threadId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/ThreadId">;
|
|
39
|
+
}>;
|
|
40
|
+
readonly receipt: typeof Receipt;
|
|
41
|
+
readonly settlementId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/SettlementId">;
|
|
42
|
+
}>>;
|
|
43
|
+
readonly budgetScope: Schema.Literals<readonly ["source-subtree", "worker-run"]>;
|
|
44
|
+
readonly lifecycle: Schema.optionalKey<Schema.Literal<"assignment">>;
|
|
45
|
+
readonly targetDigests: typeof DefinitionDigests;
|
|
46
|
+
readonly policy: Schema.toCodecJson<typeof AgentPolicy>;
|
|
47
|
+
readonly budget: Schema.Struct<{
|
|
48
|
+
readonly caps: typeof SubagentDelegationCaps;
|
|
49
|
+
readonly allocation: typeof SubagentReservationAmounts;
|
|
50
|
+
readonly descendantInvocations: Schema.optionalKey<Schema.Natural>;
|
|
51
|
+
}>;
|
|
52
|
+
readonly grant: typeof SubagentGrant;
|
|
53
|
+
readonly depth: Schema.Int;
|
|
54
|
+
readonly toolCallAllowance: Schema.optionalKey<Schema.Int>;
|
|
55
|
+
readonly firstMessageId: Schema.brand<Schema.NonEmptyString, "@effect-agent/thread/IdempotencyKey">;
|
|
56
|
+
readonly createdAtMillis: Schema.Natural;
|
|
57
|
+
readonly expiresAtMillis: Schema.Natural;
|
|
58
|
+
readonly reporting: Schema.optionalKey<Schema.Struct<{
|
|
59
|
+
readonly mode: Schema.optionalKey<Schema.Literal<"standard">>;
|
|
60
|
+
readonly sourceDigests: typeof DefinitionDigests;
|
|
61
|
+
readonly destinationDelegationId: Schema.optionalKey<Schema.brand<Schema.NonEmptyString, "@effect-agent/core/DelegationId">>;
|
|
62
|
+
readonly returnAddress: Schema.optionalKey<Schema.Struct<{
|
|
63
|
+
readonly input: Schema.declare<Schema.Json, Schema.Json>;
|
|
64
|
+
readonly principal: Schema.brand<Schema.NonEmptyString, "@effect-agent/thread/Principal">;
|
|
65
|
+
readonly policy: Schema.toCodecJson<typeof AgentPolicy>;
|
|
66
|
+
readonly depth: Schema.Natural;
|
|
67
|
+
readonly grant: Schema.optionalKey<typeof SubagentGrant>;
|
|
68
|
+
readonly workerAdmission: Schema.optionalKey<Schema.declare<Schema.Json, Schema.Json>>;
|
|
69
|
+
}>>;
|
|
70
|
+
}>>;
|
|
71
|
+
}>;
|
|
72
|
+
readonly executionRunId: Schema.NullOr<Schema.brand<Schema.NonEmptyString, "@effect-agent/core/RunId">>;
|
|
73
|
+
readonly messageId: Schema.brand<Schema.NonEmptyString, "@effect-agent/thread/IdempotencyKey">;
|
|
74
|
+
readonly parameters: Schema.declare<Schema.Json, Schema.Json>;
|
|
75
|
+
readonly createdAtMillis: Schema.Natural;
|
|
76
|
+
readonly sourceSubmissionId: Schema.optionalKey<Schema.brand<Schema.NonEmptyString, "@effect-agent/core/SubmissionId">>;
|
|
77
|
+
readonly deliveryPrincipal: Schema.optionalKey<Schema.brand<Schema.NonEmptyString, "@effect-agent/thread/Principal">>;
|
|
78
|
+
readonly reportKind: Schema.optionalKey<Schema.Literal<"update">>;
|
|
79
|
+
}>;
|
|
80
|
+
readonly producerId: Schema.brand<Schema.NonEmptyString, "@effect-agent/thread/ProducerId">;
|
|
14
81
|
readonly threadId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/ThreadId">;
|
|
15
82
|
readonly principal: Schema.brand<Schema.NonEmptyString, "@effect-agent/thread/Principal">;
|
|
16
83
|
readonly idempotencyKey: Schema.brand<Schema.NonEmptyString, "@effect-agent/thread/IdempotencyKey">;
|
|
@@ -87,73 +154,6 @@ declare const WorkerAdmissionRequest_base: Schema.Class<WorkerAdmissionRequest,
|
|
|
87
154
|
readonly key: Schema.NonEmptyString;
|
|
88
155
|
readonly revision: Schema.NonEmptyString;
|
|
89
156
|
}>>;
|
|
90
|
-
readonly workerAdmission: Schema.Struct<{
|
|
91
|
-
readonly origin: Schema.Struct<{
|
|
92
|
-
readonly worker: Schema.Struct<{
|
|
93
|
-
readonly schemaVersion: Schema.Literal<1>;
|
|
94
|
-
readonly delegationId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/DelegationId">;
|
|
95
|
-
readonly targetAgentId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/AgentId">;
|
|
96
|
-
readonly threadId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/ThreadId">;
|
|
97
|
-
}>;
|
|
98
|
-
readonly source: Schema.Union<readonly [Schema.Struct<{
|
|
99
|
-
readonly _tag: Schema.Literal<"tool">;
|
|
100
|
-
readonly agentId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/AgentId">;
|
|
101
|
-
readonly threadId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/ThreadId">;
|
|
102
|
-
readonly runId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/RunId">;
|
|
103
|
-
readonly toolCallId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/ToolCallId">;
|
|
104
|
-
}>, Schema.Struct<{
|
|
105
|
-
readonly _tag: Schema.Literal<"programmatic">;
|
|
106
|
-
readonly agentId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/AgentId">;
|
|
107
|
-
readonly threadId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/ThreadId">;
|
|
108
|
-
}>]>;
|
|
109
|
-
readonly continuationOf: Schema.optionalKey<Schema.Struct<{
|
|
110
|
-
readonly worker: Schema.Struct<{
|
|
111
|
-
readonly schemaVersion: Schema.Literal<1>;
|
|
112
|
-
readonly delegationId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/DelegationId">;
|
|
113
|
-
readonly targetAgentId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/AgentId">;
|
|
114
|
-
readonly threadId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/ThreadId">;
|
|
115
|
-
}>;
|
|
116
|
-
readonly receipt: typeof Receipt;
|
|
117
|
-
readonly settlementId: Schema.brand<Schema.NonEmptyString, "@effect-agent/core/SettlementId">;
|
|
118
|
-
}>>;
|
|
119
|
-
readonly budgetScope: Schema.Literals<readonly ["source-subtree", "worker-run"]>;
|
|
120
|
-
readonly lifecycle: Schema.optionalKey<Schema.Literal<"assignment">>;
|
|
121
|
-
readonly targetDigests: typeof DefinitionDigests;
|
|
122
|
-
readonly policy: Schema.toCodecJson<typeof AgentPolicy>;
|
|
123
|
-
readonly budget: Schema.Struct<{
|
|
124
|
-
readonly caps: typeof SubagentDelegationCaps;
|
|
125
|
-
readonly allocation: typeof SubagentReservationAmounts;
|
|
126
|
-
readonly descendantInvocations: Schema.optionalKey<Schema.Natural>;
|
|
127
|
-
}>;
|
|
128
|
-
readonly grant: typeof SubagentGrant;
|
|
129
|
-
readonly depth: Schema.Int;
|
|
130
|
-
readonly toolCallAllowance: Schema.optionalKey<Schema.Int>;
|
|
131
|
-
readonly firstMessageId: Schema.brand<Schema.NonEmptyString, "@effect-agent/thread/IdempotencyKey">;
|
|
132
|
-
readonly createdAtMillis: Schema.Natural;
|
|
133
|
-
readonly expiresAtMillis: Schema.Natural;
|
|
134
|
-
readonly reporting: Schema.optionalKey<Schema.Struct<{
|
|
135
|
-
readonly mode: Schema.optionalKey<Schema.Literal<"standard">>;
|
|
136
|
-
readonly sourceDigests: typeof DefinitionDigests;
|
|
137
|
-
readonly destinationDelegationId: Schema.optionalKey<Schema.brand<Schema.NonEmptyString, "@effect-agent/core/DelegationId">>;
|
|
138
|
-
readonly returnAddress: Schema.optionalKey<Schema.Struct<{
|
|
139
|
-
readonly input: Schema.declare<Schema.Json, Schema.Json>;
|
|
140
|
-
readonly principal: Schema.brand<Schema.NonEmptyString, "@effect-agent/thread/Principal">;
|
|
141
|
-
readonly policy: Schema.toCodecJson<typeof AgentPolicy>;
|
|
142
|
-
readonly depth: Schema.Natural;
|
|
143
|
-
readonly grant: Schema.optionalKey<typeof SubagentGrant>;
|
|
144
|
-
readonly workerAdmission: Schema.optionalKey<Schema.declare<Schema.Json, Schema.Json>>;
|
|
145
|
-
}>>;
|
|
146
|
-
}>>;
|
|
147
|
-
}>;
|
|
148
|
-
readonly executionRunId: Schema.NullOr<Schema.brand<Schema.NonEmptyString, "@effect-agent/core/RunId">>;
|
|
149
|
-
readonly messageId: Schema.brand<Schema.NonEmptyString, "@effect-agent/thread/IdempotencyKey">;
|
|
150
|
-
readonly parameters: Schema.declare<Schema.Json, Schema.Json>;
|
|
151
|
-
readonly createdAtMillis: Schema.Natural;
|
|
152
|
-
readonly sourceSubmissionId: Schema.optionalKey<Schema.brand<Schema.NonEmptyString, "@effect-agent/core/SubmissionId">>;
|
|
153
|
-
readonly deliveryPrincipal: Schema.optionalKey<Schema.brand<Schema.NonEmptyString, "@effect-agent/thread/Principal">>;
|
|
154
|
-
readonly reportKind: Schema.optionalKey<Schema.Literal<"update">>;
|
|
155
|
-
}>;
|
|
156
|
-
readonly producerId: Schema.brand<Schema.NonEmptyString, "@effect-agent/thread/ProducerId">;
|
|
157
157
|
}>, {}>;
|
|
158
158
|
/**
|
|
159
159
|
* Storage admission after source authorization, input validation and capacity reservation.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as admitWorker, n as WorkerAdmissionPort, r as WorkerAdmissionRequest, t as WorkerAdmissionFailure } from "../WorkerAdmission-
|
|
1
|
+
import { a as admitWorker, n as WorkerAdmissionPort, r as WorkerAdmissionRequest, t as WorkerAdmissionFailure } from "../WorkerAdmission-cfiK9aRi.mjs";
|
|
2
2
|
export { WorkerAdmissionFailure, WorkerAdmissionPort, WorkerAdmissionRequest, admitWorker };
|
|
@@ -3,9 +3,9 @@ import { i as SubagentBudgetReservation } from "../SubagentContract-DdPzxYQj.mjs
|
|
|
3
3
|
import { r as Principal } from "../Receipt-BkM21Qiu.mjs";
|
|
4
4
|
import { t as AgentPolicy } from "../AgentPolicy-B4lbCU2T.mjs";
|
|
5
5
|
import { r as AnyDefinition, t as Agent_d_exports } from "../Agent-B39jRnFv.mjs";
|
|
6
|
-
import { c as WorkerError, f as WorkerRef, h as WorkerSource } from "../Worker-
|
|
6
|
+
import { c as WorkerError, f as WorkerRef, h as WorkerSource } from "../Worker-CLYgfqhF.mjs";
|
|
7
7
|
import { Ft as WorkerContinuation, K as PersistedJson, S as Digest, b as DefinitionDigests, p as CanonicalSequence, zt as WorkerOrigin } from "../Records-BTnGRdcf.mjs";
|
|
8
|
-
import { vn as SubmissionSnapshot } from "../Admin-
|
|
8
|
+
import { vn as SubmissionSnapshot } from "../Admin-Bpg24yCK.mjs";
|
|
9
9
|
import { Context, Effect, Option, Schema } from "effect";
|
|
10
10
|
declare namespace WorkerHost_d_exports {
|
|
11
11
|
export { WorkerBudgetAuthorizer, WorkerConcurrencyLimit, WorkerConcurrencyResolver, WorkerHostAuthorizationRequest, WorkerHostAuthorizer, WorkerHostConfig, WorkerHostLimits, WorkerPolicyResolver, WorkerPolicySource, WorkerPolicyTarget, WorkerStartAdmission };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
2
|
-
import { c as WorkerError } from "../Worker-
|
|
2
|
+
import { c as WorkerError } from "../Worker-CtuUwYOK.mjs";
|
|
3
3
|
import { Context, Effect, Option, Schema } from "effect";
|
|
4
4
|
//#region src/durable/WorkerHost.ts
|
|
5
5
|
var WorkerHost_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as runUnknown, C as decodeFinalOutput, D as projectCompletionOutput, E as projectCompletionFromToolOutput, F as streamWithUsageAccountingUnknown, I as withTerminalDefectEvent, M as startUnknown, N as stream, O as renderInputPrompt, P as streamUnknown, S as ToolCallWaiting, T as executeWithUsageAccountingUnknown, _ as SubagentDurability, a as AgentResultSchema, b as SubagentDurabilityError, c as AgentSpawner, d as DetachedRun, f as EngineProvidedToolServices, g as SpawnedChildRun, h as SpawnRunOptions, i as AgentResult, j as start, k as run, l as AgentSpawnerParent, m as SpawnDelegation, n as AgentChildPending, o as AgentRuntimeFailure, p as RuntimeBinding, r as AgentCompletionProjectionRequirements, s as AgentRuntimeRequirements, u as AgentSpawnerService, v as SubagentDurabilityDurable, w as encodeRunDisposition, x as SubagentDurabilityService, y as SubagentDurabilityEphemeral } from "../AgentRuntime-
|
|
1
|
+
import { A as runUnknown, C as decodeFinalOutput, D as projectCompletionOutput, E as projectCompletionFromToolOutput, F as streamWithUsageAccountingUnknown, I as withTerminalDefectEvent, M as startUnknown, N as stream, O as renderInputPrompt, P as streamUnknown, S as ToolCallWaiting, T as executeWithUsageAccountingUnknown, _ as SubagentDurability, a as AgentResultSchema, b as SubagentDurabilityError, c as AgentSpawner, d as DetachedRun, f as EngineProvidedToolServices, g as SpawnedChildRun, h as SpawnRunOptions, i as AgentResult, j as start, k as run, l as AgentSpawnerParent, m as SpawnDelegation, n as AgentChildPending, o as AgentRuntimeFailure, p as RuntimeBinding, r as AgentCompletionProjectionRequirements, s as AgentRuntimeRequirements, u as AgentSpawnerService, v as SubagentDurabilityDurable, w as encodeRunDisposition, x as SubagentDurabilityService, y as SubagentDurabilityEphemeral } from "../AgentRuntime-Dx5u_FJD.mjs";
|
|
2
2
|
export { AgentChildPending, type AgentCompletionProjectionRequirements, type AgentResult, AgentResultSchema, type AgentRuntimeFailure, type AgentRuntimeRequirements, AgentSpawner, type AgentSpawnerParent, type AgentSpawnerService, type DetachedRun, type EngineProvidedToolServices, type RuntimeBinding, type SpawnDelegation, type SpawnRunOptions, type SpawnedChildRun, SubagentDurability, type SubagentDurabilityDurable, type SubagentDurabilityEphemeral, SubagentDurabilityError, type SubagentDurabilityService, ToolCallWaiting, decodeFinalOutput, encodeRunDisposition, executeWithUsageAccountingUnknown, projectCompletionFromToolOutput, projectCompletionOutput, renderInputPrompt, run, runUnknown, start, startUnknown, stream, streamUnknown, streamWithUsageAccountingUnknown, withTerminalDefectEvent };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as startUnknown, a as SubagentDurability, b as streamWithUsageAccountingUnknown, c as decodeFinalOutput, d as projectCompletionFromToolOutput, f as projectCompletionOutput, g as start, h as runUnknown, i as AgentSpawner, l as encodeRunDisposition, m as run, n as AgentChildPending, o as SubagentDurabilityError, p as renderInputPrompt, r as AgentResultSchema, s as ToolCallWaiting, u as executeWithUsageAccountingUnknown, v as stream, x as withTerminalDefectEvent, y as streamUnknown } from "../AgentRuntime-
|
|
1
|
+
import { _ as startUnknown, a as SubagentDurability, b as streamWithUsageAccountingUnknown, c as decodeFinalOutput, d as projectCompletionFromToolOutput, f as projectCompletionOutput, g as start, h as runUnknown, i as AgentSpawner, l as encodeRunDisposition, m as run, n as AgentChildPending, o as SubagentDurabilityError, p as renderInputPrompt, r as AgentResultSchema, s as ToolCallWaiting, u as executeWithUsageAccountingUnknown, v as stream, x as withTerminalDefectEvent, y as streamUnknown } from "../AgentRuntime-DrQfy4cL.mjs";
|
|
2
2
|
export { AgentChildPending, AgentResultSchema, AgentSpawner, SubagentDurability, SubagentDurabilityError, ToolCallWaiting, decodeFinalOutput, encodeRunDisposition, executeWithUsageAccountingUnknown, projectCompletionFromToolOutput, projectCompletionOutput, renderInputPrompt, run, runUnknown, start, startUnknown, stream, streamUnknown, streamWithUsageAccountingUnknown, withTerminalDefectEvent };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as PersistedStepResult, c as ToolExecutionClass, l as ToolExecutionClassValue, n as DurableStepError, o as RunStepHook, r as DurableStepService, s as RunStepKey, t as DurableStep, u as getToolExecutionClass } from "../DurableStep-
|
|
2
|
-
export { DurableStep, DurableStepError, DurableStepService, PersistedStepResult, RunStepHook, RunStepKey, ToolExecutionClass, ToolExecutionClassValue, getToolExecutionClass };
|
|
1
|
+
import { a as PersistedStepResult, c as ToolExecutionClass, l as ToolExecutionClassValue, n as DurableStepError, o as RunStepHook, r as DurableStepService, s as RunStepKey, t as DurableStep, u as getToolExecutionClass } from "../DurableStep-CAJnlgfL.mjs";
|
|
2
|
+
export { DurableStep, DurableStepError, DurableStepService, PersistedStepResult, RunStepHook, RunStepKey, ToolExecutionClass, type ToolExecutionClassValue, getToolExecutionClass };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
2
2
|
import { ToolCallId } from "../core/Identifiers.mjs";
|
|
3
|
+
import { n as getToolExecutionClass, t as ToolExecutionClass } from "../tool-execution-Ba7tO7Pt.mjs";
|
|
3
4
|
import * as Schema from "effect/Schema";
|
|
4
5
|
import * as Context from "effect/Context";
|
|
5
6
|
//#region src/engine/DurableStep.ts
|
|
@@ -10,17 +11,6 @@ var DurableStep_exports = /* @__PURE__ */ __exportAll({
|
|
|
10
11
|
getToolExecutionClass: () => getToolExecutionClass
|
|
11
12
|
});
|
|
12
13
|
/**
|
|
13
|
-
* Effect AI Tool annotation key declaring a Tool's execution class, applied
|
|
14
|
-
* with `Tool.annotate(ToolExecutionClass, "...")`.
|
|
15
|
-
*
|
|
16
|
-
* Unannotated Tools default to `"uncertain"`: security and durability
|
|
17
|
-
* decisions are fail-closed, so the framework never infers a safer class
|
|
18
|
-
* from a Tool's shape.
|
|
19
|
-
*/
|
|
20
|
-
const ToolExecutionClass = Context.Reference("@effect-agent/engine/ToolExecutionClass", { defaultValue: () => "uncertain" });
|
|
21
|
-
/** Read a Tool's declared execution class, falling back to the fail-closed `"uncertain"` default. */
|
|
22
|
-
const getToolExecutionClass = (tool) => Context.get(tool.annotations, ToolExecutionClass);
|
|
23
|
-
/**
|
|
24
14
|
* Typed failure of one `DurableStep.do` call.
|
|
25
15
|
*
|
|
26
16
|
* `duplicate-step-name` is an identity conflict: Step names must be
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DurableStep.mjs","names":[],"sources":["../../src/engine/DurableStep.ts"],"sourcesContent":["import type { Effect, Option } from \"effect\";\nimport
|
|
1
|
+
{"version":3,"file":"DurableStep.mjs","names":[],"sources":["../../src/engine/DurableStep.ts"],"sourcesContent":["import type { Effect, Option } from \"effect\";\nimport * as Context from \"effect/Context\";\nimport * as Schema from \"effect/Schema\";\n\nimport { ToolCallId } from \"../core/Identifiers.ts\";\n\nexport {\n ToolExecutionClass,\n getToolExecutionClass,\n type ToolExecutionClassValue,\n} from \"../core/internal/tool-execution.ts\";\n\n/** Stable identity of one Step within one Tool Call: `(toolCallId, stepName)`. */\nexport interface RunStepKey {\n readonly toolCallId: ToolCallId;\n readonly stepName: string;\n}\n\n/** A previously committed Step result in its canonical encoded form. */\nexport interface PersistedStepResult {\n readonly encodedOutput: unknown;\n}\n\n/**\n * Dependency-neutral Step persistence seam implemented by a durable\n * coordinator and consumed by the engine-provided `DurableStep` service.\n *\n * `lookup` returns the committed result for a Step identity when one exists;\n * `reserve` admits room for a valid result before the body runs and returns its release;\n * `commit` durably records one successful encoded output. Only success is\n * ever committed — recording failures would replay a transient failure\n * forever. Operations are keyed by the deterministic `RunStepKey`, so\n * replays and racing writers dedupe on record identity in the adapter.\n */\nexport interface RunStepHook<Error = never, Requirements = never> {\n readonly lookup: (\n key: RunStepKey,\n ) => Effect.Effect<Option.Option<PersistedStepResult>, Error, Requirements>;\n /** Reserve one maximum-sized valid result before execution; release on every exit. */\n readonly reserve: (key: RunStepKey) => Effect.Effect<Effect.Effect<void>, Error, Requirements>;\n readonly commit: (\n key: RunStepKey,\n encodedOutput: unknown,\n ) => Effect.Effect<void, Error, Requirements>;\n}\n\n/**\n * Typed failure of one `DurableStep.do` call.\n *\n * `duplicate-step-name` is an identity conflict: Step names must be\n * deterministic and unique within one Tool Call, and reuse would silently\n * replay another Step's recorded result. `recorded-result-invalid` is the\n * replay-with-different-content conflict: a committed result that no longer\n * decodes through the declared output Schema is never silently accepted.\n */\nexport class DurableStepError extends Schema.TaggedError<DurableStepError>()(\"DurableStepError\", {\n stepName: Schema.String,\n reason: Schema.Literals([\n \"duplicate-step-name\",\n \"lookup-failed\",\n \"capacity-exhausted\",\n \"reservation-failed\",\n \"recorded-result-invalid\",\n \"output-encoding-failed\",\n \"commit-failed\",\n \"no-active-tool-call\",\n ]),\n message: Schema.String.check(Schema.isMaxLength(4_096)),\n toolCallId: Schema.optionalKey(ToolCallId),\n /** Diagnostic cause for the live Effect only; Run events retain the fixed public message. */\n cause: Schema.optionalKey(Schema.Defect()),\n}) {}\n\n/**\n * Service value provided locally by the engine to each Tool Call's handler.\n *\n * `do` runs one named Step with exactly-once-recorded, at-least-once-executed\n * semantics: a committed result decodes through `output` and returns without\n * executing the body; otherwise the body runs (a crash mid-body re-executes\n * on the next Attempt), the success is encoded through `output`, and only\n * then committed. Durable execution reserves room for a full valid persisted result\n * before starting a new body; `capacity-exhausted` leaves that body unexecuted.\n * The Schema argument is the canonical codec for the recorded result, not decoration.\n * A Step never makes a non-idempotent external API\n * exactly-once — the body must use the external system's idempotency key,\n * reconciliation API, or compensating workflow.\n */\nexport interface DurableStepService {\n readonly do: <Output extends Schema.Top, BodyError, BodyServices>(\n name: string,\n output: Output,\n execute: Effect.Effect<Output[\"Type\"], BodyError, BodyServices>,\n ) => Effect.Effect<\n Output[\"Type\"],\n DurableStepError | BodyError,\n BodyServices | Output[\"DecodingServices\"] | Output[\"EncodingServices\"]\n >;\n}\n\n/**\n * Engine-owned Durable Step seam.\n *\n * Declaring this service in `Tool.make({ dependencies: [DurableStep] })` is\n * what makes a Tool a Durable Tool: its handler divides external effects into\n * named Steps and may be re-entered after interruption. The engine provides\n * the service locally to every Tool Call, bound to that call's identity; it\n * is never satisfied from an application Layer and is excluded from the\n * runtime's public requirements. Without a durable runtime the engine\n * provides an ephemeral pass-through that executes each Step once and\n * records nothing — the durable claim attaches to the runtime, not the Tool.\n */\nexport class DurableStep extends Context.Service<DurableStep, DurableStepService>()(\n \"@effect-agent/engine/DurableStep\",\n) {}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAuDA,IAAa,mBAAb,cAAsC,OAAO,YAA8B,CAAC,CAAC,oBAAoB;CAC/F,UAAU,OAAO;CACjB,QAAQ,OAAO,SAAS;EACtB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;CACF,CAAC;CACD,SAAS,OAAO,OAAO,MAAM,OAAO,YAAY,IAAK,CAAC;CACtD,YAAY,OAAO,YAAY,UAAU;;CAEzC,OAAO,OAAO,YAAY,OAAO,OAAO,CAAC;AAC3C,CAAC,CAAC,CAAC,CAAC;;;;;;;;;;;;;AAwCJ,IAAa,cAAb,cAAiC,QAAQ,QAAyC,CAAC,CACjF,kCACF,CAAC,CAAC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as PeerDeliveryLifetime, c as PeerTarget, i as PeerAuthorizer, l as SendPeerMessage, o as PeerMessageCapacity, r as PeerAuthorizationRequest, s as PeerRoutes, t as MessagingHost } from "../MessagingHost-
|
|
1
|
+
import { a as PeerDeliveryLifetime, c as PeerTarget, i as PeerAuthorizer, l as SendPeerMessage, o as PeerMessageCapacity, r as PeerAuthorizationRequest, s as PeerRoutes, t as MessagingHost } from "../MessagingHost-BKxDskYj.mjs";
|
|
2
2
|
export { MessagingHost, PeerAuthorizationRequest, PeerAuthorizer, PeerDeliveryLifetime, PeerMessageCapacity, PeerRoutes, PeerTarget, SendPeerMessage };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as PeerMessageCapacity, i as PeerDeliveryLifetime, o as PeerRoutes, r as PeerAuthorizer, t as MessagingHost } from "../MessagingHost-
|
|
1
|
+
import { a as PeerMessageCapacity, i as PeerDeliveryLifetime, o as PeerRoutes, r as PeerAuthorizer, t as MessagingHost } from "../MessagingHost-BILcuj0V.mjs";
|
|
2
2
|
export { MessagingHost, PeerAuthorizer, PeerDeliveryLifetime, PeerMessageCapacity, PeerRoutes };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as RunTurnCommit, A as RunInputCommand, B as RunSubagentChildIdentity, C as RunContextPreparationPassthrough, D as RunCostEstimateValue, E as RunCostEstimateRequest, G as RunToolAuthorization, H as RunSubagentEstablishRequest, I as RunResumeUsage, J as RunToolAuthorizationRequest, K as RunToolAuthorizationDecision, L as RunResumeUsageSchema, M as RunOptions, N as RunOptionsError, O as RunCostEstimator, P as RunOptionsRequirements, Q as RunTransientContextHook, R as RunSchedulingHook, S as RunContextPreparationError, T as RunCostEstimate, U as RunSubagentHook, V as RunSubagentDigests, W as RunSubagentJoinRequest, X as RunToolFailureObserver, Y as RunToolCallDescriptor, Z as RunToolScheduling, _ as RunBudgetHook, a as ChildEstablishWaiting, at as RunTurnResumeSettledCallSchema, b as RunContextHook, c as ModelToolFailure, ct as RunUsageDelta, d as ProgrammaticPreflightFailure, et as RunTurnCompletion, f as ProgrammaticToolFailure, g as RunApprovalRequest, h as RunApprovalHook, i as ChildEstablishStatus, it as RunTurnResumeSettledCall, j as RunInputHook, k as RunDurabilityHook, l as ModelUsageAccounting, lt as ToolFailureObservation, m as RunApprovalDecision, n as ChildEstablishDenied, nt as RunTurnResume, o as CommandDrainPolicy, ot as RunTurnToolResult, p as ResolvedModelCall, q as RunToolAuthorizationHook, r as ChildEstablishSettled, rt as RunTurnResumeCall, s as CurrentToolFailureObserver, st as RunTurnUsage, t as AgentUpdateAcceptance, tt as RunTurnResponse, u as PreparedRunContext, ut as toolFailureObserverLayer, v as RunBufferLimits, w as RunContextRequest, x as RunContextPreparation, y as RunCompactionCommit, z as RunSchedulingOverride } from "../RunOptions-
|
|
1
|
+
import { $ as RunTurnCommit, A as RunInputCommand, B as RunSubagentChildIdentity, C as RunContextPreparationPassthrough, D as RunCostEstimateValue, E as RunCostEstimateRequest, G as RunToolAuthorization, H as RunSubagentEstablishRequest, I as RunResumeUsage, J as RunToolAuthorizationRequest, K as RunToolAuthorizationDecision, L as RunResumeUsageSchema, M as RunOptions, N as RunOptionsError, O as RunCostEstimator, P as RunOptionsRequirements, Q as RunTransientContextHook, R as RunSchedulingHook, S as RunContextPreparationError, T as RunCostEstimate, U as RunSubagentHook, V as RunSubagentDigests, W as RunSubagentJoinRequest, X as RunToolFailureObserver, Y as RunToolCallDescriptor, Z as RunToolScheduling, _ as RunBudgetHook, a as ChildEstablishWaiting, at as RunTurnResumeSettledCallSchema, b as RunContextHook, c as ModelToolFailure, ct as RunUsageDelta, d as ProgrammaticPreflightFailure, et as RunTurnCompletion, f as ProgrammaticToolFailure, g as RunApprovalRequest, h as RunApprovalHook, i as ChildEstablishStatus, it as RunTurnResumeSettledCall, j as RunInputHook, k as RunDurabilityHook, l as ModelUsageAccounting, lt as ToolFailureObservation, m as RunApprovalDecision, n as ChildEstablishDenied, nt as RunTurnResume, o as CommandDrainPolicy, ot as RunTurnToolResult, p as ResolvedModelCall, q as RunToolAuthorizationHook, r as ChildEstablishSettled, rt as RunTurnResumeCall, s as CurrentToolFailureObserver, st as RunTurnUsage, t as AgentUpdateAcceptance, tt as RunTurnResponse, u as PreparedRunContext, ut as toolFailureObserverLayer, v as RunBufferLimits, w as RunContextRequest, x as RunContextPreparation, y as RunCompactionCommit, z as RunSchedulingOverride } from "../RunOptions-BANtohGk.mjs";
|
|
2
2
|
export { AgentUpdateAcceptance, ChildEstablishDenied, ChildEstablishSettled, ChildEstablishStatus, ChildEstablishWaiting, CommandDrainPolicy, CurrentToolFailureObserver, ModelToolFailure, ModelUsageAccounting, PreparedRunContext, ProgrammaticPreflightFailure, ProgrammaticToolFailure, ResolvedModelCall, RunApprovalDecision, RunApprovalHook, RunApprovalRequest, RunBudgetHook, RunBufferLimits, RunCompactionCommit, RunContextHook, RunContextPreparation, RunContextPreparationError, RunContextPreparationPassthrough, RunContextRequest, RunCostEstimate, RunCostEstimateRequest, RunCostEstimateValue, RunCostEstimator, RunDurabilityHook, RunInputCommand, RunInputHook, RunOptions, RunOptionsError, RunOptionsRequirements, RunResumeUsage, RunResumeUsageSchema, RunSchedulingHook, RunSchedulingOverride, RunSubagentChildIdentity, RunSubagentDigests, RunSubagentEstablishRequest, RunSubagentHook, RunSubagentJoinRequest, RunToolAuthorization, RunToolAuthorizationDecision, RunToolAuthorizationHook, RunToolAuthorizationRequest, RunToolCallDescriptor, RunToolFailureObserver, RunToolScheduling, RunTransientContextHook, RunTurnCommit, RunTurnCompletion, RunTurnResponse, RunTurnResume, RunTurnResumeCall, RunTurnResumeSettledCall, RunTurnResumeSettledCallSchema, RunTurnToolResult, RunTurnUsage, RunUsageDelta, ToolFailureObservation, toolFailureObserverLayer };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as StartWorkerRequest, c as WorkerMessageRequest, d as WorkerReportPreparationFailure, f as WorkerReporting, i as FollowUpWorkerRequest, l as WorkerObservation, n as DeferredFollowUpWorkerRequest, o as SubagentHost, p as WorkerRunReport, r as DeferredStartWorkerRequest, t as BackgroundReporting, u as WorkerReceiptRequest } from "../SubagentHost-
|
|
1
|
+
import { a as StartWorkerRequest, c as WorkerMessageRequest, d as WorkerReportPreparationFailure, f as WorkerReporting, i as FollowUpWorkerRequest, l as WorkerObservation, n as DeferredFollowUpWorkerRequest, o as SubagentHost, p as WorkerRunReport, r as DeferredStartWorkerRequest, t as BackgroundReporting, u as WorkerReceiptRequest } from "../SubagentHost-CikdGpmk.mjs";
|
|
2
2
|
export { BackgroundReporting, DeferredFollowUpWorkerRequest, DeferredStartWorkerRequest, FollowUpWorkerRequest, StartWorkerRequest, SubagentHost, WorkerMessageRequest, WorkerObservation, WorkerReceiptRequest, WorkerReportPreparationFailure, WorkerReporting, WorkerRunReport };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
|
|
2
|
-
import { c as WorkerError } from "../Worker-
|
|
2
|
+
import { c as WorkerError } from "../Worker-CtuUwYOK.mjs";
|
|
3
3
|
import * as Schema from "effect/Schema";
|
|
4
4
|
import * as Context from "effect/Context";
|
|
5
5
|
import * as Stream from "effect/Stream";
|