@yielded/agent 0.1.0-beta.175 → 0.1.0-beta.176

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.
Files changed (98) hide show
  1. package/dist/{Admin-Qa3I1oA5.d.mts → Admin-DTDihBra.d.mts} +13 -7
  2. package/dist/{DurableAgentRuntime-CPlw5_7e.mjs → DurableAgentRuntime-BJbuIqQq.mjs} +84 -37
  3. package/dist/DurableAgentRuntime-BJbuIqQq.mjs.map +1 -0
  4. package/dist/{EventSource-BTu68yDW.d.mts → EventSource-Cc58uEso.d.mts} +2 -2
  5. package/dist/{MessageDelivery-DjAZJ4Fd.d.mts → MessageDelivery-ClHg7c0O.d.mts} +42 -42
  6. package/dist/{PreparedInputAdmission-wgY4JMZY.d.mts → PreparedInputAdmission-CjcX1OP0.d.mts} +3 -3
  7. package/dist/{RunContinuation-BiyKJK32.mjs → RunContinuation-CWHuciup.mjs} +3 -3
  8. package/dist/RunContinuation-CWHuciup.mjs.map +1 -0
  9. package/dist/{RunContinuation-3jB5pULC.d.mts → RunContinuation-DSnUTSSb.d.mts} +4 -4
  10. package/dist/{RunJournal-CPMKcfd0.mjs → RunJournal-DGblbFas.mjs} +5 -5
  11. package/dist/{RunJournal-CPMKcfd0.mjs.map → RunJournal-DGblbFas.mjs.map} +1 -1
  12. package/dist/{RunStorage-CzutHJBE.mjs → RunStorage-BF2YgWkg.mjs} +43 -33
  13. package/dist/RunStorage-BF2YgWkg.mjs.map +1 -0
  14. package/dist/{Subscription-DmIHlOJK.d.mts → Subscription-DuC_PcGx.d.mts} +2 -2
  15. package/dist/{SubscriptionInput-DgcQhvbe.d.mts → SubscriptionInput-B1IeAEDi.d.mts} +2 -2
  16. package/dist/{ThreadImport-DP-vOk2F.d.mts → ThreadImport-D_Biid6w.d.mts} +42 -42
  17. package/dist/{ThreadImport-CjlG57vH.mjs → ThreadImport-ZgWxf7bB.mjs} +5 -5
  18. package/dist/{ThreadImport-CjlG57vH.mjs.map → ThreadImport-ZgWxf7bB.mjs.map} +1 -1
  19. package/dist/{ThreadStore-EuUilthA.mjs → ThreadStore-BC4V-mY-.mjs} +39 -18
  20. package/dist/ThreadStore-BC4V-mY-.mjs.map +1 -0
  21. package/dist/{ThreadTransfer-DB_zsrtJ.mjs → ThreadTransfer-S7FnTRHt.mjs} +2 -2
  22. package/dist/{ThreadTransfer-DB_zsrtJ.mjs.map → ThreadTransfer-S7FnTRHt.mjs.map} +1 -1
  23. package/dist/{WorkerAdmission-eBeXt_mu.mjs → WorkerAdmission-C47Vy_cK.mjs} +3 -3
  24. package/dist/{WorkerAdmission-eBeXt_mu.mjs.map → WorkerAdmission-C47Vy_cK.mjs.map} +1 -1
  25. package/dist/durable/Admin.d.mts +1 -1
  26. package/dist/durable/AgentRegistration.d.mts +1 -1
  27. package/dist/durable/Certification.d.mts +1 -1
  28. package/dist/durable/CommittedActivity.d.mts +1 -1
  29. package/dist/durable/CommittedActivity.mjs +1 -1
  30. package/dist/durable/DurableAgentRuntime.d.mts +1 -1
  31. package/dist/durable/DurableAgentRuntime.mjs +2 -2
  32. package/dist/durable/EventSource.d.mts +1 -1
  33. package/dist/durable/GitHubWorkflowSource.d.mts +3 -3
  34. package/dist/durable/LifecyclePublication.d.mts +1 -1
  35. package/dist/durable/LifecyclePublication.mjs +1 -1
  36. package/dist/durable/MessageDelivery.d.mts +1 -1
  37. package/dist/durable/MessageDeliveryStoreConformance.d.mts +2 -2
  38. package/dist/durable/PersistentHistory.d.mts +1 -1
  39. package/dist/durable/PersistentHistory.mjs +3 -3
  40. package/dist/durable/PreparedInputAdmission.d.mts +1 -1
  41. package/dist/durable/Recovery.d.mts +1 -1
  42. package/dist/durable/RunContinuation.d.mts +2 -2
  43. package/dist/durable/RunContinuation.mjs +2 -2
  44. package/dist/durable/RunJournal.d.mts +1 -1
  45. package/dist/durable/RunJournal.mjs +1 -1
  46. package/dist/durable/RunStorage.d.mts +1 -1
  47. package/dist/durable/RunStorage.mjs +1 -1
  48. package/dist/durable/Scheduling.d.mts +1 -1
  49. package/dist/durable/SettlementPublisher.d.mts +1 -1
  50. package/dist/durable/SettlementPublisher.mjs +2 -2
  51. package/dist/durable/SubmissionLedger.d.mts +1 -1
  52. package/dist/durable/SubmissionLedger.mjs.map +1 -1
  53. package/dist/durable/SubmissionLedgerConformance.d.mts +1 -1
  54. package/dist/durable/SubmissionLedgerConformance.mjs +3 -3
  55. package/dist/durable/SubmissionStatus.d.mts +1 -1
  56. package/dist/durable/Subscription.d.mts +1 -1
  57. package/dist/durable/SubscriptionInput.d.mts +1 -1
  58. package/dist/durable/SubscriptionStoreConformance.d.mts +1 -1
  59. package/dist/durable/SubscriptionTools.d.mts +2 -2
  60. package/dist/durable/SubscriptionTransition.d.mts +1 -1
  61. package/dist/durable/Subscriptions.d.mts +5 -5
  62. package/dist/durable/ThreadArchiveRange.d.mts +1 -1
  63. package/dist/durable/ThreadContextHistory.d.mts +1 -1
  64. package/dist/durable/ThreadContextHistory.mjs +1 -1
  65. package/dist/durable/ThreadImport.d.mts +1 -1
  66. package/dist/durable/ThreadImport.mjs +1 -1
  67. package/dist/durable/ThreadInvariants.d.mts +3 -3
  68. package/dist/durable/ThreadInvariants.mjs +3 -3
  69. package/dist/durable/ThreadProjectionMaintenance.d.mts +1 -1
  70. package/dist/durable/ThreadReader.d.mts +1 -1
  71. package/dist/durable/ThreadReader.mjs +1 -1
  72. package/dist/durable/ThreadStore.d.mts +1 -1
  73. package/dist/durable/ThreadStore.mjs +1 -1
  74. package/dist/durable/ThreadStoreConformance.d.mts +1 -1
  75. package/dist/durable/ThreadStoreConformance.mjs +3 -3
  76. package/dist/durable/ThreadTransfer.d.mts +1 -1
  77. package/dist/durable/ThreadTransfer.mjs +1 -1
  78. package/dist/durable/ThreadWork.d.mts +1 -1
  79. package/dist/durable/ThreadWork.mjs +3 -3
  80. package/dist/durable/WorkerAdmission.d.mts +68 -68
  81. package/dist/durable/WorkerAdmission.mjs +1 -1
  82. package/dist/durable/WorkerHost.d.mts +1 -1
  83. package/dist/index.d.mts +8 -8
  84. package/dist/index.mjs +7 -7
  85. package/dist/{run-context-reader-DVhJZ1Qe.d.mts → run-context-reader-DvTEq2RC.d.mts} +2 -2
  86. package/package.json +1 -1
  87. package/src/durable/DurableAgentRuntime.ts +169 -55
  88. package/src/durable/RunContinuation.ts +2 -2
  89. package/src/durable/RunJournal.ts +9 -5
  90. package/src/durable/RunStorage.ts +83 -61
  91. package/src/durable/SubmissionLedger.ts +8 -0
  92. package/src/durable/ThreadStore.ts +39 -19
  93. package/src/durable/internal/initial-context.ts +17 -2
  94. package/src/durable/internal/prompt-history-cache.ts +13 -8
  95. package/dist/DurableAgentRuntime-CPlw5_7e.mjs.map +0 -1
  96. package/dist/RunContinuation-BiyKJK32.mjs.map +0 -1
  97. package/dist/RunStorage-CzutHJBE.mjs.map +0 -1
  98. package/dist/ThreadStore-EuUilthA.mjs.map +0 -1
@@ -2,9 +2,9 @@ import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
2
2
  import { f as CanonicalSequence } from "../Records-DzL4Kbtw.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-EuUilthA.mjs";
6
- import { h as verifyRunContinuations } from "../RunContinuation-BiyKJK32.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-CjlG57vH.mjs";
5
+ import { E as ThreadExport, X as ThreadStoreError, ht as canonicalRunIds, mt as recordEncoding } from "../ThreadStore-BC4V-mY-.mjs";
6
+ import { h as verifyRunContinuations } from "../RunContinuation-CWHuciup.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-ZgWxf7bB.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,4 +1,4 @@
1
- import { Xr as AppendResult, Yr as AppendRequest } from "../Admin-Qa3I1oA5.mjs";
1
+ import { Xr as AppendResult, Yr as AppendRequest } from "../Admin-DTDihBra.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-Qa3I1oA5.mjs";
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-DTDihBra.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-EuUilthA.mjs";
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-BC4V-mY-.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-Qa3I1oA5.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-DTDihBra.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
1
  import { V as PROMPT_EVIDENCE_TAGS } from "../Records-DzL4Kbtw.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-EuUilthA.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-BC4V-mY-.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-Qa3I1oA5.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-DTDihBra.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", {
@@ -3,9 +3,9 @@ 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
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-DzL4Kbtw.mjs";
6
- import { O as subagentLineageRecordId, X as workerOriginRecordId } from "../RunJournal-CPMKcfd0.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-EuUilthA.mjs";
8
- import { a as canonicalRecordBytes } from "../RunContinuation-BiyKJK32.mjs";
6
+ import { O as subagentLineageRecordId, X as workerOriginRecordId } from "../RunJournal-DGblbFas.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-BC4V-mY-.mjs";
8
+ import { a as canonicalRecordBytes } from "../RunContinuation-CWHuciup.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-Qa3I1oA5.mjs";
3
+ import { Ei as ThreadExportRequest, Gi as ThreadStoreError, Mi as ThreadNotMaterialized, Ti as ThreadExportRejected, xi as ThreadExport } from "../Admin-DTDihBra.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-DB_zsrtJ.mjs";
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-S7FnTRHt.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-Qa3I1oA5.mjs";
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-DTDihBra.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 };
@@ -4,9 +4,9 @@ import { n as utf8ByteLength } from "../utf8-B5pAmhTo.mjs";
4
4
  import { IdempotencyKey, QueueSequence } from "../core/Receipt.mjs";
5
5
  import { Z as RecordId, b as Digest, f as CanonicalSequence } from "../Records-DzL4Kbtw.mjs";
6
6
  import { s as digestJson } from "../Digest-C3EODOee.mjs";
7
- import { S as runIdForSubmission } from "../RunJournal-CPMKcfd0.mjs";
8
- import { J as ThreadStore, U as ThreadReader, X as ThreadStoreError } from "../ThreadStore-EuUilthA.mjs";
9
- import { a as canonicalRecordBytes, x as resolveEvidence } from "../RunContinuation-BiyKJK32.mjs";
7
+ import { S as runIdForSubmission } from "../RunJournal-DGblbFas.mjs";
8
+ import { J as ThreadStore, U as ThreadReader, X as ThreadStoreError } from "../ThreadStore-BC4V-mY-.mjs";
9
+ import { a as canonicalRecordBytes, x as resolveEvidence } from "../RunContinuation-CWHuciup.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({
@@ -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-Qa3I1oA5.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-DTDihBra.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-eBeXt_mu.mjs";
1
+ import { a as admitWorker, n as WorkerAdmissionPort, r as WorkerAdmissionRequest, t as WorkerAdmissionFailure } from "../WorkerAdmission-C47Vy_cK.mjs";
2
2
  export { WorkerAdmissionFailure, WorkerAdmissionPort, WorkerAdmissionRequest, admitWorker };
@@ -5,7 +5,7 @@ import { t as AgentPolicy } from "../AgentPolicy-B4lbCU2T.mjs";
5
5
  import { r as AnyDefinition, t as Agent_d_exports } from "../Agent-B39jRnFv.mjs";
6
6
  import { c as WorkerError, f as WorkerRef, h as WorkerSource } from "../Worker-CHRaIsWu.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-Qa3I1oA5.mjs";
8
+ import { vn as SubmissionSnapshot } from "../Admin-DTDihBra.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 };
package/dist/index.d.mts CHANGED
@@ -61,7 +61,7 @@ import { t as ProvisionalText_d_exports } from "./core/ProvisionalText.mjs";
61
61
  import { nt as Records_d_exports } from "./Records-BTnGRdcf.mjs";
62
62
  import { t as ActivityStore_d_exports } from "./durable/ActivityStore.mjs";
63
63
  import { n as Digest_d_exports } from "./Digest-DjUgS5PG.mjs";
64
- import { Ar as SubmissionStatus_d_exports, Do as RunJournal_d_exports, Es as AgentRegistration_d_exports, Ta as ThreadWork_d_exports, Yn as DurableAgentRuntime_d_exports, fo as LifecyclePublication_d_exports, no as ThreadArchiveRange_d_exports, pn as SubmissionLedger_d_exports, q as Recovery_d_exports, qi as ThreadStore_d_exports, t as Admin_d_exports } from "./Admin-Qa3I1oA5.mjs";
64
+ import { Ar as SubmissionStatus_d_exports, Do as RunJournal_d_exports, Es as AgentRegistration_d_exports, Ta as ThreadWork_d_exports, Yn as DurableAgentRuntime_d_exports, fo as LifecyclePublication_d_exports, no as ThreadArchiveRange_d_exports, pn as SubmissionLedger_d_exports, q as Recovery_d_exports, qi as ThreadStore_d_exports, t as Admin_d_exports } from "./Admin-DTDihBra.mjs";
65
65
  import { t as DurableFailpoint_d_exports } from "./DurableFailpoint-BugHZKvJ.mjs";
66
66
  import { a as OperationAuthorizer_d_exports } from "./OperationAuthorizer-TzcQtpX5.mjs";
67
67
  import { s as RecordFormat_d_exports } from "./RecordFormat-BNiLpe43.mjs";
@@ -69,21 +69,21 @@ import { l as ToolReconciler_d_exports } from "./ToolReconciler-SrOHkvF8.mjs";
69
69
  import { n as WakeScheduler_d_exports } from "./WakeScheduler-DJIMMf77.mjs";
70
70
  import { t as CommittedActivity_d_exports } from "./durable/CommittedActivity.mjs";
71
71
  import { R as Schedule_d_exports } from "./Schedule-CDgTz0vj.mjs";
72
- import { k as Subscription_d_exports } from "./Subscription-DmIHlOJK.mjs";
73
- import { n as EventSource_d_exports } from "./EventSource-BTu68yDW.mjs";
74
- import { n as PreparedInputAdmission_d_exports } from "./PreparedInputAdmission-wgY4JMZY.mjs";
75
- import { r as SubscriptionInput_d_exports } from "./SubscriptionInput-DgcQhvbe.mjs";
72
+ import { k as Subscription_d_exports } from "./Subscription-DuC_PcGx.mjs";
73
+ import { n as EventSource_d_exports } from "./EventSource-Cc58uEso.mjs";
74
+ import { n as PreparedInputAdmission_d_exports } from "./PreparedInputAdmission-CjcX1OP0.mjs";
75
+ import { r as SubscriptionInput_d_exports } from "./SubscriptionInput-B1IeAEDi.mjs";
76
76
  import { t as Subscriptions_d_exports } from "./durable/Subscriptions.mjs";
77
- import { g as MessageDelivery_d_exports } from "./MessageDelivery-DjAZJ4Fd.mjs";
77
+ import { g as MessageDelivery_d_exports } from "./MessageDelivery-ClHg7c0O.mjs";
78
78
  import { t as PersistentHistory_d_exports } from "./durable/PersistentHistory.mjs";
79
- import { i as RunContinuation_d_exports } from "./RunContinuation-3jB5pULC.mjs";
79
+ import { i as RunContinuation_d_exports } from "./RunContinuation-DSnUTSSb.mjs";
80
80
  import { t as ScheduleTransition_d_exports } from "./durable/ScheduleTransition.mjs";
81
81
  import { t as Scheduling_d_exports } from "./durable/Scheduling.mjs";
82
82
  import { t as SubscriptionTools_d_exports } from "./durable/SubscriptionTools.mjs";
83
83
  import { t as SubscriptionTransition_d_exports } from "./durable/SubscriptionTransition.mjs";
84
84
  import { t as ThreadContextHistory_d_exports } from "./durable/ThreadContextHistory.mjs";
85
85
  import { t as ThreadContextHistoryProjection_d_exports } from "./durable/ThreadContextHistoryProjection.mjs";
86
- import { l as ThreadImport_d_exports } from "./ThreadImport-DP-vOk2F.mjs";
86
+ import { l as ThreadImport_d_exports } from "./ThreadImport-D_Biid6w.mjs";
87
87
  import { t as ThreadInvariants_d_exports } from "./durable/ThreadInvariants.mjs";
88
88
  import { t as ThreadProjection_d_exports } from "./durable/ThreadProjection.mjs";
89
89
  import { t as ThreadProjectionMaintenance_d_exports } from "./durable/ThreadProjectionMaintenance.mjs";
package/dist/index.mjs CHANGED
@@ -71,8 +71,8 @@ import { t as Recovery_exports } from "./durable/Recovery.mjs";
71
71
  import { t as Admin_exports } from "./durable/Admin.mjs";
72
72
  import { t as AgentRegistration_exports } from "./durable/AgentRegistration.mjs";
73
73
  import { t as RecordFormat_exports } from "./durable/RecordFormat.mjs";
74
- import { n as RunJournal_exports } from "./RunJournal-CPMKcfd0.mjs";
75
- import { Z as ThreadStore_exports } from "./ThreadStore-EuUilthA.mjs";
74
+ import { n as RunJournal_exports } from "./RunJournal-DGblbFas.mjs";
75
+ import { Z as ThreadStore_exports } from "./ThreadStore-BC4V-mY-.mjs";
76
76
  import { t as Schedule_exports } from "./durable/Schedule.mjs";
77
77
  import { t as PreparedInputAdmission_exports } from "./durable/PreparedInputAdmission.mjs";
78
78
  import { t as Subscription_exports } from "./durable/Subscription.mjs";
@@ -80,11 +80,11 @@ import { t as MessageDelivery_exports } from "./durable/MessageDelivery.mjs";
80
80
  import { t as ThreadArchiveRange_exports } from "./durable/ThreadArchiveRange.mjs";
81
81
  import { t as CommittedActivity_exports } from "./durable/CommittedActivity.mjs";
82
82
  import { t as DurableFailpoint_exports } from "./durable/DurableFailpoint.mjs";
83
- import { i as RunContinuation_exports } from "./RunContinuation-BiyKJK32.mjs";
83
+ import { i as RunContinuation_exports } from "./RunContinuation-CWHuciup.mjs";
84
84
  import { t as ThreadWork_exports } from "./durable/ThreadWork.mjs";
85
85
  import { t as WakeScheduler_exports } from "./durable/WakeScheduler.mjs";
86
- import { r as DurableAgentRuntime_exports } from "./DurableAgentRuntime-CPlw5_7e.mjs";
87
- import { i as WorkerAdmission_exports } from "./WorkerAdmission-eBeXt_mu.mjs";
86
+ import { r as DurableAgentRuntime_exports } from "./DurableAgentRuntime-BJbuIqQq.mjs";
87
+ import { i as WorkerAdmission_exports } from "./WorkerAdmission-C47Vy_cK.mjs";
88
88
  import { t as WorkerHost_exports } from "./durable/WorkerHost.mjs";
89
89
  import { t as OperationAuthorizer_exports } from "./durable/OperationAuthorizer.mjs";
90
90
  import { t as SubmissionStatus_exports } from "./durable/SubmissionStatus.mjs";
@@ -97,8 +97,8 @@ import { t as SubscriptionInput_exports } from "./durable/SubscriptionInput.mjs"
97
97
  import { t as Subscriptions_exports } from "./durable/Subscriptions.mjs";
98
98
  import { t as SubscriptionTools_exports } from "./durable/SubscriptionTools.mjs";
99
99
  import { t as SubscriptionTransition_exports } from "./durable/SubscriptionTransition.mjs";
100
- import { o as ThreadImport_exports } from "./ThreadImport-CjlG57vH.mjs";
101
- import { n as ThreadTransfer_exports } from "./ThreadTransfer-DB_zsrtJ.mjs";
100
+ import { o as ThreadImport_exports } from "./ThreadImport-ZgWxf7bB.mjs";
101
+ import { n as ThreadTransfer_exports } from "./ThreadTransfer-S7FnTRHt.mjs";
102
102
  import { t as ThreadInvariants_exports } from "./durable/ThreadInvariants.mjs";
103
103
  import { t as ThreadProjection_exports } from "./durable/ThreadProjection.mjs";
104
104
  import { t as ThreadProjectionMaintenance_exports } from "./durable/ThreadProjectionMaintenance.mjs";
@@ -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 { Fi as ThreadPromptRead, Gi as ThreadStoreError, Mi as ThreadNotMaterialized, Ri as ThreadReader, ws as JournalRecordEnvelope } from "./Admin-Qa3I1oA5.mjs";
3
+ import { Fi as ThreadPromptRead, Gi as ThreadStoreError, Mi as ThreadNotMaterialized, Ri as ThreadReader, ws as JournalRecordEnvelope } from "./Admin-DTDihBra.mjs";
4
4
  import { Context, Effect, Layer, Stream } from "effect";
5
5
  //#region src/durable/internal/run-context-reader.d.ts
6
6
  declare const RunContextReader_base: Context.ServiceClass<RunContextReader, "@effect-agent/thread/RunContextReader", {
@@ -14,4 +14,4 @@ declare class RunContextReader extends RunContextReader_base {
14
14
  }
15
15
  //#endregion
16
16
  export { RunContextReader as t };
17
- //# sourceMappingURL=run-context-reader-DVhJZ1Qe.d.mts.map
17
+ //# sourceMappingURL=run-context-reader-DvTEq2RC.d.mts.map
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@yielded/agent","version":"0.1.0-beta.175","devDependencies":{"@effect/platform-node":"4.0.3","@effect/vitest":"4.0.3","effect":"4.0.3","typescript":"7.0.2","vite":"npm:@voidzero-dev/vite-plus-core@1.1.0","vite-plus":"1.1.0","vitest":"5.0.3"},"peerDependencies":{"effect":"^4.0.3"},"exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"./activity-store":{"types":"./dist/durable/ActivityStore.d.mts","default":"./dist/durable/ActivityStore.mjs"},"./admin":{"types":"./dist/durable/Admin.d.mts","default":"./dist/durable/Admin.mjs"},"./agent":{"types":"./dist/core/Agent.d.mts","default":"./dist/core/Agent.mjs"},"./agent-error":{"types":"./dist/core/AgentError.d.mts","default":"./dist/core/AgentError.mjs"},"./agent-policy":{"types":"./dist/core/AgentPolicy.d.mts","default":"./dist/core/AgentPolicy.mjs"},"./agent-registration":{"types":"./dist/durable/AgentRegistration.d.mts","default":"./dist/durable/AgentRegistration.mjs"},"./agent-runtime":{"types":"./dist/engine/AgentRuntime.d.mts","default":"./dist/engine/AgentRuntime.mjs"},"./agent-updates":{"types":"./dist/core/AgentUpdates.d.mts","default":"./dist/core/AgentUpdates.mjs"},"./approval":{"types":"./dist/capabilities/Approval.d.mts","default":"./dist/capabilities/Approval.mjs"},"./browser-use":{"types":"./dist/capabilities/BrowserUse.d.mts","default":"./dist/capabilities/BrowserUse.mjs"},"./budget":{"types":"./dist/capabilities/Budget.d.mts","default":"./dist/capabilities/Budget.mjs"},"./code-executor":{"types":"./dist/sandbox/CodeExecutor.d.mts","default":"./dist/sandbox/CodeExecutor.mjs"},"./code-mode":{"types":"./dist/capabilities/CodeMode.d.mts","default":"./dist/capabilities/CodeMode.mjs"},"./commands":{"types":"./dist/capabilities/Commands.d.mts","default":"./dist/capabilities/Commands.mjs"},"./committed-activity":{"types":"./dist/durable/CommittedActivity.d.mts","default":"./dist/durable/CommittedActivity.mjs"},"./compaction":{"types":"./dist/engine/Compaction.d.mts","default":"./dist/engine/Compaction.mjs"},"./context-compactor":{"types":"./dist/engine/ContextCompactor.d.mts","default":"./dist/engine/ContextCompactor.mjs"},"./context-history":{"types":"./dist/engine/ContextHistory.d.mts","default":"./dist/engine/ContextHistory.mjs"},"./context-tools":{"types":"./dist/capabilities/ContextTools.d.mts","default":"./dist/capabilities/ContextTools.mjs"},"./context-window":{"types":"./dist/engine/ContextWindow.d.mts","default":"./dist/engine/ContextWindow.mjs"},"./digest":{"types":"./dist/durable/Digest.d.mts","default":"./dist/durable/Digest.mjs"},"./durable-agent-runtime":{"types":"./dist/durable/DurableAgentRuntime.d.mts","default":"./dist/durable/DurableAgentRuntime.mjs"},"./durable-failpoint":{"types":"./dist/durable/DurableFailpoint.d.mts","default":"./dist/durable/DurableFailpoint.mjs"},"./durable-step":{"types":"./dist/engine/DurableStep.d.mts","default":"./dist/engine/DurableStep.mjs"},"./event-source":{"types":"./dist/durable/EventSource.d.mts","default":"./dist/durable/EventSource.mjs"},"./failure-diagnostic":{"types":"./dist/core/FailureDiagnostic.d.mts","default":"./dist/core/FailureDiagnostic.mjs"},"./git-hub-workflow-source":{"types":"./dist/durable/GitHubWorkflowSource.d.mts","default":"./dist/durable/GitHubWorkflowSource.mjs"},"./id-generator":{"types":"./dist/core/IdGenerator.d.mts","default":"./dist/core/IdGenerator.mjs"},"./identifiers":{"types":"./dist/core/Identifiers.d.mts","default":"./dist/core/Identifiers.mjs"},"./in-memory":{"types":"./dist/InMemory.d.mts","default":"./dist/InMemory.mjs"},"./interactive-browser":{"types":"./dist/sandbox/InteractiveBrowser.d.mts","default":"./dist/sandbox/InteractiveBrowser.mjs"},"./mcp":{"types":"./dist/capabilities/Mcp.d.mts","default":"./dist/capabilities/Mcp.mjs"},"./mcp-client":{"types":"./dist/capabilities/McpClient.d.mts","default":"./dist/capabilities/McpClient.mjs"},"./memory":{"types":"./dist/core/Memory.d.mts","default":"./dist/core/Memory.mjs"},"./memory-namespace":{"types":"./dist/core/MemoryNamespace.d.mts","default":"./dist/core/MemoryNamespace.mjs"},"./memory-notes":{"types":"./dist/capabilities/MemoryNotes.d.mts","default":"./dist/capabilities/MemoryNotes.mjs"},"./memory-reference":{"types":"./dist/core/MemoryReference.d.mts","default":"./dist/core/MemoryReference.mjs"},"./memory-revalidation":{"types":"./dist/core/MemoryRevalidation.d.mts","default":"./dist/core/MemoryRevalidation.mjs"},"./memory-store":{"types":"./dist/core/MemoryStore.d.mts","default":"./dist/core/MemoryStore.mjs"},"./message-delivery":{"types":"./dist/durable/MessageDelivery.d.mts","default":"./dist/durable/MessageDelivery.mjs"},"./messaging":{"types":"./dist/capabilities/Messaging.d.mts","default":"./dist/capabilities/Messaging.mjs"},"./messaging-host":{"types":"./dist/engine/MessagingHost.d.mts","default":"./dist/engine/MessagingHost.mjs"},"./model-context":{"types":"./dist/capabilities/ModelContext.d.mts","default":"./dist/capabilities/ModelContext.mjs"},"./operation-authorizer":{"types":"./dist/durable/OperationAuthorizer.d.mts","default":"./dist/durable/OperationAuthorizer.mjs"},"./output":{"types":"./dist/engine/Output.d.mts","default":"./dist/engine/Output.mjs"},"./page-capture":{"types":"./dist/sandbox/PageCapture.d.mts","default":"./dist/sandbox/PageCapture.mjs"},"./page-crawl":{"types":"./dist/sandbox/PageCrawl.d.mts","default":"./dist/sandbox/PageCrawl.mjs"},"./page-screenshot":{"types":"./dist/sandbox/PageScreenshot.d.mts","default":"./dist/sandbox/PageScreenshot.mjs"},"./persistent-history":{"types":"./dist/durable/PersistentHistory.d.mts","default":"./dist/durable/PersistentHistory.mjs"},"./prepared-input-admission":{"types":"./dist/durable/PreparedInputAdmission.d.mts","default":"./dist/durable/PreparedInputAdmission.mjs"},"./provisional-text":{"types":"./dist/core/ProvisionalText.d.mts","default":"./dist/core/ProvisionalText.mjs"},"./receipt":{"types":"./dist/core/Receipt.d.mts","default":"./dist/core/Receipt.mjs"},"./records":{"types":"./dist/durable/Records.d.mts","default":"./dist/durable/Records.mjs"},"./recovery":{"types":"./dist/durable/Recovery.d.mts","default":"./dist/durable/Recovery.mjs"},"./redaction":{"types":"./dist/capabilities/Redaction.d.mts","default":"./dist/capabilities/Redaction.mjs"},"./remembering":{"types":"./dist/capabilities/Remembering.d.mts","default":"./dist/capabilities/Remembering.mjs"},"./remembering-store":{"types":"./dist/core/RememberingStore.d.mts","default":"./dist/core/RememberingStore.mjs"},"./run-event":{"types":"./dist/core/RunEvent.d.mts","default":"./dist/core/RunEvent.mjs"},"./run-event-sink":{"types":"./dist/engine/RunEventSink.d.mts","default":"./dist/engine/RunEventSink.mjs"},"./run-hooks":{"types":"./dist/capabilities/RunHooks.d.mts","default":"./dist/capabilities/RunHooks.mjs"},"./run-journal":{"types":"./dist/durable/RunJournal.d.mts","default":"./dist/durable/RunJournal.mjs"},"./run-continuation":{"types":"./dist/durable/RunContinuation.d.mts","default":"./dist/durable/RunContinuation.mjs"},"./thread-work":{"types":"./dist/durable/ThreadWork.d.mts","default":"./dist/durable/ThreadWork.mjs"},"./run-options":{"types":"./dist/engine/RunOptions.d.mts","default":"./dist/engine/RunOptions.mjs"},"./run-policy-usage":{"types":"./dist/core/RunPolicyUsage.d.mts","default":"./dist/core/RunPolicyUsage.mjs"},"./run-storage":{"types":"./dist/durable/RunStorage.d.mts","default":"./dist/durable/RunStorage.mjs"},"./sandbox":{"types":"./dist/sandbox/Sandbox.d.mts","default":"./dist/sandbox/Sandbox.mjs"},"./schedule":{"types":"./dist/durable/Schedule.d.mts","default":"./dist/durable/Schedule.mjs"},"./schedule-transition":{"types":"./dist/durable/ScheduleTransition.d.mts","default":"./dist/durable/ScheduleTransition.mjs"},"./scheduling":{"types":"./dist/durable/Scheduling.d.mts","default":"./dist/durable/Scheduling.mjs"},"./semantic-memory":{"types":"./dist/capabilities/SemanticMemory.d.mts","default":"./dist/capabilities/SemanticMemory.mjs"},"./semantic-memory-index":{"types":"./dist/core/SemanticMemoryIndex.d.mts","default":"./dist/core/SemanticMemoryIndex.mjs"},"./semantic-memory-revalidation":{"types":"./dist/core/SemanticMemoryRevalidation.d.mts","default":"./dist/core/SemanticMemoryRevalidation.mjs"},"./settlement-publisher":{"types":"./dist/durable/SettlementPublisher.d.mts","default":"./dist/durable/SettlementPublisher.mjs"},"./sql-memory-store":{"types":"./dist/durable/SqlMemoryStore.d.mts","default":"./dist/durable/SqlMemoryStore.mjs"},"./subagent":{"types":"./dist/capabilities/Subagent.d.mts","default":"./dist/capabilities/Subagent.mjs"},"./subagent-contract":{"types":"./dist/core/SubagentContract.d.mts","default":"./dist/core/SubagentContract.mjs"},"./subagent-host":{"types":"./dist/engine/SubagentHost.d.mts","default":"./dist/engine/SubagentHost.mjs"},"./subagent-reservations":{"types":"./dist/capabilities/SubagentReservations.d.mts","default":"./dist/capabilities/SubagentReservations.mjs"},"./submission-ledger":{"types":"./dist/durable/SubmissionLedger.d.mts","default":"./dist/durable/SubmissionLedger.mjs"},"./submission-status":{"types":"./dist/durable/SubmissionStatus.d.mts","default":"./dist/durable/SubmissionStatus.mjs"},"./subscription":{"types":"./dist/durable/Subscription.d.mts","default":"./dist/durable/Subscription.mjs"},"./subscription-input":{"types":"./dist/durable/SubscriptionInput.d.mts","default":"./dist/durable/SubscriptionInput.mjs"},"./subscription-tools":{"types":"./dist/durable/SubscriptionTools.d.mts","default":"./dist/durable/SubscriptionTools.mjs"},"./subscription-transition":{"types":"./dist/durable/SubscriptionTransition.d.mts","default":"./dist/durable/SubscriptionTransition.mjs"},"./subscriptions":{"types":"./dist/durable/Subscriptions.d.mts","default":"./dist/durable/Subscriptions.mjs"},"./testing/certification":{"types":"./dist/durable/Certification.d.mts","default":"./dist/durable/Certification.mjs"},"./testing/durable-failpoint-test-control":{"types":"./dist/durable/DurableFailpointTestControl.d.mts","default":"./dist/durable/DurableFailpointTestControl.mjs"},"./testing/message-delivery-store-conformance":{"types":"./dist/durable/MessageDeliveryStoreConformance.d.mts","default":"./dist/durable/MessageDeliveryStoreConformance.mjs"},"./testing/schedule-store-conformance":{"types":"./dist/durable/ScheduleStoreConformance.d.mts","default":"./dist/durable/ScheduleStoreConformance.mjs"},"./testing/submission-ledger-conformance":{"types":"./dist/durable/SubmissionLedgerConformance.d.mts","default":"./dist/durable/SubmissionLedgerConformance.mjs"},"./testing/subscription-store-conformance":{"types":"./dist/durable/SubscriptionStoreConformance.d.mts","default":"./dist/durable/SubscriptionStoreConformance.mjs"},"./testing/thread-store-conformance":{"types":"./dist/durable/ThreadStoreConformance.d.mts","default":"./dist/durable/ThreadStoreConformance.mjs"},"./thread":{"types":"./dist/core/Thread.d.mts","default":"./dist/core/Thread.mjs"},"./thread-context-history":{"types":"./dist/durable/ThreadContextHistory.d.mts","default":"./dist/durable/ThreadContextHistory.mjs"},"./thread-context-history-projection":{"types":"./dist/durable/ThreadContextHistoryProjection.d.mts","default":"./dist/durable/ThreadContextHistoryProjection.mjs"},"./thread-history":{"types":"./dist/engine/ThreadHistory.d.mts","default":"./dist/engine/ThreadHistory.mjs"},"./thread-invariants":{"types":"./dist/durable/ThreadInvariants.d.mts","default":"./dist/durable/ThreadInvariants.mjs"},"./thread-projection":{"types":"./dist/durable/ThreadProjection.d.mts","default":"./dist/durable/ThreadProjection.mjs"},"./thread-projection-maintenance":{"types":"./dist/durable/ThreadProjectionMaintenance.d.mts","default":"./dist/durable/ThreadProjectionMaintenance.mjs"},"./thread-reader":{"types":"./dist/durable/ThreadReader.d.mts","default":"./dist/durable/ThreadReader.mjs"},"./thread-store":{"types":"./dist/durable/ThreadStore.d.mts","default":"./dist/durable/ThreadStore.mjs"},"./tool-broker":{"types":"./dist/engine/ToolBroker.d.mts","default":"./dist/engine/ToolBroker.mjs"},"./tool-discovery":{"types":"./dist/capabilities/ToolDiscovery.d.mts","default":"./dist/capabilities/ToolDiscovery.mjs"},"./tool-exposure":{"types":"./dist/ToolExposure.d.mts","default":"./dist/ToolExposure.mjs"},"./tool-reconciler":{"types":"./dist/durable/ToolReconciler.d.mts","default":"./dist/durable/ToolReconciler.mjs"},"./tool-result":{"types":"./dist/core/ToolResult.d.mts","default":"./dist/core/ToolResult.mjs"},"./usage":{"types":"./dist/core/Usage.d.mts","default":"./dist/core/Usage.mjs"},"./wake-scheduler":{"types":"./dist/durable/WakeScheduler.d.mts","default":"./dist/durable/WakeScheduler.mjs"},"./web-capture":{"types":"./dist/capabilities/WebCapture.d.mts","default":"./dist/capabilities/WebCapture.mjs"},"./web-search":{"types":"./dist/capabilities/WebSearch.d.mts","default":"./dist/capabilities/WebSearch.mjs"},"./worker":{"types":"./dist/core/Worker.d.mts","default":"./dist/core/Worker.mjs"},"./worker-admission":{"types":"./dist/durable/WorkerAdmission.d.mts","default":"./dist/durable/WorkerAdmission.mjs"},"./worker-host":{"types":"./dist/durable/WorkerHost.d.mts","default":"./dist/durable/WorkerHost.mjs"},"./lifecycle-publication":{"types":"./dist/durable/LifecyclePublication.d.mts","default":"./dist/durable/LifecyclePublication.mjs"},"./record-format":{"types":"./dist/durable/RecordFormat.d.mts","default":"./dist/durable/RecordFormat.mjs"},"./thread-import":{"types":"./dist/durable/ThreadImport.d.mts","default":"./dist/durable/ThreadImport.mjs"},"./thread-archive-range":{"types":"./dist/durable/ThreadArchiveRange.d.mts","default":"./dist/durable/ThreadArchiveRange.mjs"},"./thread-transfer":{"types":"./dist/durable/ThreadTransfer.d.mts","default":"./dist/durable/ThreadTransfer.mjs"}},"description":"Effect-native agents, execution, subagents, and sandbox contracts in one tree-shakeable package.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/yielded-dev/agent.git","directory":"packages/effect-agent"},"files":["dist","src"],"type":"module","sideEffects":[],"publishConfig":{"access":"public"},"scripts":{"build":"vp pack","check":"tsc --noEmit -p tsconfig.json","test":"vp test --passWithNoTests"}}
1
+ {"name":"@yielded/agent","version":"0.1.0-beta.176","devDependencies":{"@effect/platform-node":"4.0.4","@effect/vitest":"4.0.4","effect":"4.0.4","typescript":"7.0.2","vite":"npm:@voidzero-dev/vite-plus-core@1.1.0","vite-plus":"1.1.0","vitest":"5.0.3"},"peerDependencies":{"effect":"^4.0.3"},"exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"./activity-store":{"types":"./dist/durable/ActivityStore.d.mts","default":"./dist/durable/ActivityStore.mjs"},"./admin":{"types":"./dist/durable/Admin.d.mts","default":"./dist/durable/Admin.mjs"},"./agent":{"types":"./dist/core/Agent.d.mts","default":"./dist/core/Agent.mjs"},"./agent-error":{"types":"./dist/core/AgentError.d.mts","default":"./dist/core/AgentError.mjs"},"./agent-policy":{"types":"./dist/core/AgentPolicy.d.mts","default":"./dist/core/AgentPolicy.mjs"},"./agent-registration":{"types":"./dist/durable/AgentRegistration.d.mts","default":"./dist/durable/AgentRegistration.mjs"},"./agent-runtime":{"types":"./dist/engine/AgentRuntime.d.mts","default":"./dist/engine/AgentRuntime.mjs"},"./agent-updates":{"types":"./dist/core/AgentUpdates.d.mts","default":"./dist/core/AgentUpdates.mjs"},"./approval":{"types":"./dist/capabilities/Approval.d.mts","default":"./dist/capabilities/Approval.mjs"},"./browser-use":{"types":"./dist/capabilities/BrowserUse.d.mts","default":"./dist/capabilities/BrowserUse.mjs"},"./budget":{"types":"./dist/capabilities/Budget.d.mts","default":"./dist/capabilities/Budget.mjs"},"./code-executor":{"types":"./dist/sandbox/CodeExecutor.d.mts","default":"./dist/sandbox/CodeExecutor.mjs"},"./code-mode":{"types":"./dist/capabilities/CodeMode.d.mts","default":"./dist/capabilities/CodeMode.mjs"},"./commands":{"types":"./dist/capabilities/Commands.d.mts","default":"./dist/capabilities/Commands.mjs"},"./committed-activity":{"types":"./dist/durable/CommittedActivity.d.mts","default":"./dist/durable/CommittedActivity.mjs"},"./compaction":{"types":"./dist/engine/Compaction.d.mts","default":"./dist/engine/Compaction.mjs"},"./context-compactor":{"types":"./dist/engine/ContextCompactor.d.mts","default":"./dist/engine/ContextCompactor.mjs"},"./context-history":{"types":"./dist/engine/ContextHistory.d.mts","default":"./dist/engine/ContextHistory.mjs"},"./context-tools":{"types":"./dist/capabilities/ContextTools.d.mts","default":"./dist/capabilities/ContextTools.mjs"},"./context-window":{"types":"./dist/engine/ContextWindow.d.mts","default":"./dist/engine/ContextWindow.mjs"},"./digest":{"types":"./dist/durable/Digest.d.mts","default":"./dist/durable/Digest.mjs"},"./durable-agent-runtime":{"types":"./dist/durable/DurableAgentRuntime.d.mts","default":"./dist/durable/DurableAgentRuntime.mjs"},"./durable-failpoint":{"types":"./dist/durable/DurableFailpoint.d.mts","default":"./dist/durable/DurableFailpoint.mjs"},"./durable-step":{"types":"./dist/engine/DurableStep.d.mts","default":"./dist/engine/DurableStep.mjs"},"./event-source":{"types":"./dist/durable/EventSource.d.mts","default":"./dist/durable/EventSource.mjs"},"./failure-diagnostic":{"types":"./dist/core/FailureDiagnostic.d.mts","default":"./dist/core/FailureDiagnostic.mjs"},"./git-hub-workflow-source":{"types":"./dist/durable/GitHubWorkflowSource.d.mts","default":"./dist/durable/GitHubWorkflowSource.mjs"},"./id-generator":{"types":"./dist/core/IdGenerator.d.mts","default":"./dist/core/IdGenerator.mjs"},"./identifiers":{"types":"./dist/core/Identifiers.d.mts","default":"./dist/core/Identifiers.mjs"},"./in-memory":{"types":"./dist/InMemory.d.mts","default":"./dist/InMemory.mjs"},"./interactive-browser":{"types":"./dist/sandbox/InteractiveBrowser.d.mts","default":"./dist/sandbox/InteractiveBrowser.mjs"},"./mcp":{"types":"./dist/capabilities/Mcp.d.mts","default":"./dist/capabilities/Mcp.mjs"},"./mcp-client":{"types":"./dist/capabilities/McpClient.d.mts","default":"./dist/capabilities/McpClient.mjs"},"./memory":{"types":"./dist/core/Memory.d.mts","default":"./dist/core/Memory.mjs"},"./memory-namespace":{"types":"./dist/core/MemoryNamespace.d.mts","default":"./dist/core/MemoryNamespace.mjs"},"./memory-notes":{"types":"./dist/capabilities/MemoryNotes.d.mts","default":"./dist/capabilities/MemoryNotes.mjs"},"./memory-reference":{"types":"./dist/core/MemoryReference.d.mts","default":"./dist/core/MemoryReference.mjs"},"./memory-revalidation":{"types":"./dist/core/MemoryRevalidation.d.mts","default":"./dist/core/MemoryRevalidation.mjs"},"./memory-store":{"types":"./dist/core/MemoryStore.d.mts","default":"./dist/core/MemoryStore.mjs"},"./message-delivery":{"types":"./dist/durable/MessageDelivery.d.mts","default":"./dist/durable/MessageDelivery.mjs"},"./messaging":{"types":"./dist/capabilities/Messaging.d.mts","default":"./dist/capabilities/Messaging.mjs"},"./messaging-host":{"types":"./dist/engine/MessagingHost.d.mts","default":"./dist/engine/MessagingHost.mjs"},"./model-context":{"types":"./dist/capabilities/ModelContext.d.mts","default":"./dist/capabilities/ModelContext.mjs"},"./operation-authorizer":{"types":"./dist/durable/OperationAuthorizer.d.mts","default":"./dist/durable/OperationAuthorizer.mjs"},"./output":{"types":"./dist/engine/Output.d.mts","default":"./dist/engine/Output.mjs"},"./page-capture":{"types":"./dist/sandbox/PageCapture.d.mts","default":"./dist/sandbox/PageCapture.mjs"},"./page-crawl":{"types":"./dist/sandbox/PageCrawl.d.mts","default":"./dist/sandbox/PageCrawl.mjs"},"./page-screenshot":{"types":"./dist/sandbox/PageScreenshot.d.mts","default":"./dist/sandbox/PageScreenshot.mjs"},"./persistent-history":{"types":"./dist/durable/PersistentHistory.d.mts","default":"./dist/durable/PersistentHistory.mjs"},"./prepared-input-admission":{"types":"./dist/durable/PreparedInputAdmission.d.mts","default":"./dist/durable/PreparedInputAdmission.mjs"},"./provisional-text":{"types":"./dist/core/ProvisionalText.d.mts","default":"./dist/core/ProvisionalText.mjs"},"./receipt":{"types":"./dist/core/Receipt.d.mts","default":"./dist/core/Receipt.mjs"},"./records":{"types":"./dist/durable/Records.d.mts","default":"./dist/durable/Records.mjs"},"./recovery":{"types":"./dist/durable/Recovery.d.mts","default":"./dist/durable/Recovery.mjs"},"./redaction":{"types":"./dist/capabilities/Redaction.d.mts","default":"./dist/capabilities/Redaction.mjs"},"./remembering":{"types":"./dist/capabilities/Remembering.d.mts","default":"./dist/capabilities/Remembering.mjs"},"./remembering-store":{"types":"./dist/core/RememberingStore.d.mts","default":"./dist/core/RememberingStore.mjs"},"./run-event":{"types":"./dist/core/RunEvent.d.mts","default":"./dist/core/RunEvent.mjs"},"./run-event-sink":{"types":"./dist/engine/RunEventSink.d.mts","default":"./dist/engine/RunEventSink.mjs"},"./run-hooks":{"types":"./dist/capabilities/RunHooks.d.mts","default":"./dist/capabilities/RunHooks.mjs"},"./run-journal":{"types":"./dist/durable/RunJournal.d.mts","default":"./dist/durable/RunJournal.mjs"},"./run-continuation":{"types":"./dist/durable/RunContinuation.d.mts","default":"./dist/durable/RunContinuation.mjs"},"./thread-work":{"types":"./dist/durable/ThreadWork.d.mts","default":"./dist/durable/ThreadWork.mjs"},"./run-options":{"types":"./dist/engine/RunOptions.d.mts","default":"./dist/engine/RunOptions.mjs"},"./run-policy-usage":{"types":"./dist/core/RunPolicyUsage.d.mts","default":"./dist/core/RunPolicyUsage.mjs"},"./run-storage":{"types":"./dist/durable/RunStorage.d.mts","default":"./dist/durable/RunStorage.mjs"},"./sandbox":{"types":"./dist/sandbox/Sandbox.d.mts","default":"./dist/sandbox/Sandbox.mjs"},"./schedule":{"types":"./dist/durable/Schedule.d.mts","default":"./dist/durable/Schedule.mjs"},"./schedule-transition":{"types":"./dist/durable/ScheduleTransition.d.mts","default":"./dist/durable/ScheduleTransition.mjs"},"./scheduling":{"types":"./dist/durable/Scheduling.d.mts","default":"./dist/durable/Scheduling.mjs"},"./semantic-memory":{"types":"./dist/capabilities/SemanticMemory.d.mts","default":"./dist/capabilities/SemanticMemory.mjs"},"./semantic-memory-index":{"types":"./dist/core/SemanticMemoryIndex.d.mts","default":"./dist/core/SemanticMemoryIndex.mjs"},"./semantic-memory-revalidation":{"types":"./dist/core/SemanticMemoryRevalidation.d.mts","default":"./dist/core/SemanticMemoryRevalidation.mjs"},"./settlement-publisher":{"types":"./dist/durable/SettlementPublisher.d.mts","default":"./dist/durable/SettlementPublisher.mjs"},"./sql-memory-store":{"types":"./dist/durable/SqlMemoryStore.d.mts","default":"./dist/durable/SqlMemoryStore.mjs"},"./subagent":{"types":"./dist/capabilities/Subagent.d.mts","default":"./dist/capabilities/Subagent.mjs"},"./subagent-contract":{"types":"./dist/core/SubagentContract.d.mts","default":"./dist/core/SubagentContract.mjs"},"./subagent-host":{"types":"./dist/engine/SubagentHost.d.mts","default":"./dist/engine/SubagentHost.mjs"},"./subagent-reservations":{"types":"./dist/capabilities/SubagentReservations.d.mts","default":"./dist/capabilities/SubagentReservations.mjs"},"./submission-ledger":{"types":"./dist/durable/SubmissionLedger.d.mts","default":"./dist/durable/SubmissionLedger.mjs"},"./submission-status":{"types":"./dist/durable/SubmissionStatus.d.mts","default":"./dist/durable/SubmissionStatus.mjs"},"./subscription":{"types":"./dist/durable/Subscription.d.mts","default":"./dist/durable/Subscription.mjs"},"./subscription-input":{"types":"./dist/durable/SubscriptionInput.d.mts","default":"./dist/durable/SubscriptionInput.mjs"},"./subscription-tools":{"types":"./dist/durable/SubscriptionTools.d.mts","default":"./dist/durable/SubscriptionTools.mjs"},"./subscription-transition":{"types":"./dist/durable/SubscriptionTransition.d.mts","default":"./dist/durable/SubscriptionTransition.mjs"},"./subscriptions":{"types":"./dist/durable/Subscriptions.d.mts","default":"./dist/durable/Subscriptions.mjs"},"./testing/certification":{"types":"./dist/durable/Certification.d.mts","default":"./dist/durable/Certification.mjs"},"./testing/durable-failpoint-test-control":{"types":"./dist/durable/DurableFailpointTestControl.d.mts","default":"./dist/durable/DurableFailpointTestControl.mjs"},"./testing/message-delivery-store-conformance":{"types":"./dist/durable/MessageDeliveryStoreConformance.d.mts","default":"./dist/durable/MessageDeliveryStoreConformance.mjs"},"./testing/schedule-store-conformance":{"types":"./dist/durable/ScheduleStoreConformance.d.mts","default":"./dist/durable/ScheduleStoreConformance.mjs"},"./testing/submission-ledger-conformance":{"types":"./dist/durable/SubmissionLedgerConformance.d.mts","default":"./dist/durable/SubmissionLedgerConformance.mjs"},"./testing/subscription-store-conformance":{"types":"./dist/durable/SubscriptionStoreConformance.d.mts","default":"./dist/durable/SubscriptionStoreConformance.mjs"},"./testing/thread-store-conformance":{"types":"./dist/durable/ThreadStoreConformance.d.mts","default":"./dist/durable/ThreadStoreConformance.mjs"},"./thread":{"types":"./dist/core/Thread.d.mts","default":"./dist/core/Thread.mjs"},"./thread-context-history":{"types":"./dist/durable/ThreadContextHistory.d.mts","default":"./dist/durable/ThreadContextHistory.mjs"},"./thread-context-history-projection":{"types":"./dist/durable/ThreadContextHistoryProjection.d.mts","default":"./dist/durable/ThreadContextHistoryProjection.mjs"},"./thread-history":{"types":"./dist/engine/ThreadHistory.d.mts","default":"./dist/engine/ThreadHistory.mjs"},"./thread-invariants":{"types":"./dist/durable/ThreadInvariants.d.mts","default":"./dist/durable/ThreadInvariants.mjs"},"./thread-projection":{"types":"./dist/durable/ThreadProjection.d.mts","default":"./dist/durable/ThreadProjection.mjs"},"./thread-projection-maintenance":{"types":"./dist/durable/ThreadProjectionMaintenance.d.mts","default":"./dist/durable/ThreadProjectionMaintenance.mjs"},"./thread-reader":{"types":"./dist/durable/ThreadReader.d.mts","default":"./dist/durable/ThreadReader.mjs"},"./thread-store":{"types":"./dist/durable/ThreadStore.d.mts","default":"./dist/durable/ThreadStore.mjs"},"./tool-broker":{"types":"./dist/engine/ToolBroker.d.mts","default":"./dist/engine/ToolBroker.mjs"},"./tool-discovery":{"types":"./dist/capabilities/ToolDiscovery.d.mts","default":"./dist/capabilities/ToolDiscovery.mjs"},"./tool-exposure":{"types":"./dist/ToolExposure.d.mts","default":"./dist/ToolExposure.mjs"},"./tool-reconciler":{"types":"./dist/durable/ToolReconciler.d.mts","default":"./dist/durable/ToolReconciler.mjs"},"./tool-result":{"types":"./dist/core/ToolResult.d.mts","default":"./dist/core/ToolResult.mjs"},"./usage":{"types":"./dist/core/Usage.d.mts","default":"./dist/core/Usage.mjs"},"./wake-scheduler":{"types":"./dist/durable/WakeScheduler.d.mts","default":"./dist/durable/WakeScheduler.mjs"},"./web-capture":{"types":"./dist/capabilities/WebCapture.d.mts","default":"./dist/capabilities/WebCapture.mjs"},"./web-search":{"types":"./dist/capabilities/WebSearch.d.mts","default":"./dist/capabilities/WebSearch.mjs"},"./worker":{"types":"./dist/core/Worker.d.mts","default":"./dist/core/Worker.mjs"},"./worker-admission":{"types":"./dist/durable/WorkerAdmission.d.mts","default":"./dist/durable/WorkerAdmission.mjs"},"./worker-host":{"types":"./dist/durable/WorkerHost.d.mts","default":"./dist/durable/WorkerHost.mjs"},"./lifecycle-publication":{"types":"./dist/durable/LifecyclePublication.d.mts","default":"./dist/durable/LifecyclePublication.mjs"},"./record-format":{"types":"./dist/durable/RecordFormat.d.mts","default":"./dist/durable/RecordFormat.mjs"},"./thread-import":{"types":"./dist/durable/ThreadImport.d.mts","default":"./dist/durable/ThreadImport.mjs"},"./thread-archive-range":{"types":"./dist/durable/ThreadArchiveRange.d.mts","default":"./dist/durable/ThreadArchiveRange.mjs"},"./thread-transfer":{"types":"./dist/durable/ThreadTransfer.d.mts","default":"./dist/durable/ThreadTransfer.mjs"}},"description":"Effect-native agents, execution, subagents, and sandbox contracts in one tree-shakeable package.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/yielded-dev/agent.git","directory":"packages/effect-agent"},"files":["dist","src"],"type":"module","sideEffects":[],"publishConfig":{"access":"public"},"scripts":{"build":"vp pack","check":"tsc --noEmit -p tsconfig.json","test":"vp test --passWithNoTests"}}