effect-agent 0.1.0-beta.91 → 0.1.0-beta.92

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 (115) hide show
  1. package/dist/{AgentRuntime-CHipL2jG.mjs → AgentRuntime-BPjQM1Nv.mjs} +2 -2
  2. package/dist/AgentRuntime-BPjQM1Nv.mjs.map +1 -0
  3. package/dist/{DurableAgentRuntime-D7gDKGjH.mjs → DurableAgentRuntime-CdrBuKZY.mjs} +4 -4
  4. package/dist/{DurableAgentRuntime-D7gDKGjH.mjs.map → DurableAgentRuntime-CdrBuKZY.mjs.map} +1 -1
  5. package/dist/{EventSource-OqS_P9ug.d.mts → EventSource-c6GRTCsl.d.mts} +3 -3
  6. package/dist/{PreparedInputAdmission-C4HbjHgl.d.mts → PreparedInputAdmission-QzFbW2LQ.d.mts} +4 -4
  7. package/dist/Records-C9cezOEf.mjs +799 -0
  8. package/dist/Records-C9cezOEf.mjs.map +1 -0
  9. package/dist/{Records-BAGkekt8.d.mts → Records-vFp_ZQ9Y.d.mts} +21 -3
  10. package/dist/{RunJournal-Cgg1kNvc.mjs → RunJournal-lwbrh2hZ.mjs} +2 -2
  11. package/dist/{RunJournal-Cgg1kNvc.mjs.map → RunJournal-lwbrh2hZ.mjs.map} +1 -1
  12. package/dist/{Schedule-H3SEYX9g.d.mts → Schedule-BkZvKyMw.d.mts} +2 -2
  13. package/dist/{Scheduling-C9aIP8zT.mjs → Scheduling-D0QqOoeT.mjs} +2 -2
  14. package/dist/{Scheduling-C9aIP8zT.mjs.map → Scheduling-D0QqOoeT.mjs.map} +1 -1
  15. package/dist/{Subagent-U5qXOFE8.mjs → Subagent-CnTzCy8k.mjs} +2 -2
  16. package/dist/{Subagent-U5qXOFE8.mjs.map → Subagent-CnTzCy8k.mjs.map} +1 -1
  17. package/dist/{Subscription-BEP8oQO5.d.mts → Subscription-CKQ0KDHN.d.mts} +3 -3
  18. package/dist/{SubscriptionInput-vAAOBrK7.d.mts → SubscriptionInput-Cth8F_7b.d.mts} +3 -3
  19. package/dist/capabilities/Subagent.mjs +1 -1
  20. package/dist/capabilities/WebSearch.d.mts +3 -3
  21. package/dist/capabilities/WebSearch.mjs +9 -6
  22. package/dist/capabilities/WebSearch.mjs.map +1 -1
  23. package/dist/durable/ActivityStore.d.mts +1 -1
  24. package/dist/durable/ActivityStore.mjs +1 -1
  25. package/dist/durable/Admin.d.mts +1 -1
  26. package/dist/durable/Admin.mjs +1 -1
  27. package/dist/durable/AgentRegistration.d.mts +1 -1
  28. package/dist/durable/Certification.d.mts +1 -1
  29. package/dist/durable/CommittedActivity.d.mts +1 -1
  30. package/dist/durable/CommittedActivity.mjs +1 -1
  31. package/dist/durable/Digest.d.mts +1 -1
  32. package/dist/durable/Digest.mjs +1 -1
  33. package/dist/durable/DurableAgentRuntime.d.mts +1 -1
  34. package/dist/durable/DurableAgentRuntime.mjs +1 -1
  35. package/dist/durable/EventSource.d.mts +1 -1
  36. package/dist/durable/EventSource.mjs +1 -1
  37. package/dist/durable/GitHubWorkflowSource.d.mts +48 -6
  38. package/dist/durable/GitHubWorkflowSource.mjs +13 -13
  39. package/dist/durable/GitHubWorkflowSource.mjs.map +1 -1
  40. package/dist/durable/MessageDelivery.d.mts +22 -22
  41. package/dist/durable/MessageDelivery.mjs +1 -1
  42. package/dist/durable/MessageDeliveryStoreConformance.d.mts +39 -39
  43. package/dist/durable/MessageDeliveryStoreConformance.mjs +1 -1
  44. package/dist/durable/PersistentHistory.d.mts +1 -1
  45. package/dist/durable/PersistentHistory.mjs +2 -2
  46. package/dist/durable/PreparedInputAdmission.d.mts +1 -1
  47. package/dist/durable/Records.d.mts +1 -1
  48. package/dist/durable/Records.mjs +2 -795
  49. package/dist/durable/Recovery.d.mts +1 -1
  50. package/dist/durable/Recovery.mjs +1 -1
  51. package/dist/durable/RunJournal.d.mts +1 -1
  52. package/dist/durable/RunJournal.mjs +1 -1
  53. package/dist/durable/Schedule.d.mts +1 -1
  54. package/dist/durable/Schedule.mjs +1 -1
  55. package/dist/durable/ScheduleStoreConformance.d.mts +1 -1
  56. package/dist/durable/ScheduleStoreConformance.mjs +1 -1
  57. package/dist/durable/ScheduleTransition.d.mts +1 -1
  58. package/dist/durable/ScheduleTransition.mjs +1 -1
  59. package/dist/durable/Scheduling.d.mts +2 -2
  60. package/dist/durable/Scheduling.mjs +1 -1
  61. package/dist/durable/SqlStorageV2Upgrade.d.mts +2 -2
  62. package/dist/durable/SqlStorageV2Upgrade.mjs +1 -1
  63. package/dist/durable/SqlSubscriptionStore.d.mts +2 -2
  64. package/dist/durable/SqlSubscriptionStore.mjs +1 -1
  65. package/dist/durable/SubmissionLedger.d.mts +1 -1
  66. package/dist/durable/SubmissionLedger.mjs +1 -1
  67. package/dist/durable/SubmissionLedgerConformance.d.mts +1 -1
  68. package/dist/durable/SubmissionLedgerConformance.mjs +1 -1
  69. package/dist/durable/SubmissionStatus.d.mts +1 -1
  70. package/dist/durable/Subscription.d.mts +1 -1
  71. package/dist/durable/Subscription.mjs +1 -1
  72. package/dist/durable/SubscriptionInput.d.mts +1 -1
  73. package/dist/durable/SubscriptionInput.mjs +1 -1
  74. package/dist/durable/SubscriptionStoreConformance.d.mts +1 -1
  75. package/dist/durable/SubscriptionStoreConformance.mjs +1 -1
  76. package/dist/durable/SubscriptionTools.d.mts +3 -3
  77. package/dist/durable/SubscriptionTransition.d.mts +1 -1
  78. package/dist/durable/SubscriptionTransition.mjs +1 -1
  79. package/dist/durable/Subscriptions.d.mts +5 -5
  80. package/dist/durable/Subscriptions.mjs +1 -1
  81. package/dist/durable/ThreadContextHistory.d.mts +1 -1
  82. package/dist/durable/ThreadContextHistory.mjs +1 -1
  83. package/dist/durable/ThreadContextHistoryProjection.d.mts +1 -1
  84. package/dist/durable/ThreadContextHistoryProjection.mjs +1 -1
  85. package/dist/durable/ThreadInvariants.d.mts +1 -1
  86. package/dist/durable/ThreadInvariants.mjs +1 -1
  87. package/dist/durable/ThreadProjection.d.mts +1 -1
  88. package/dist/durable/ThreadProjection.mjs +1 -1
  89. package/dist/durable/ThreadProjectionMaintenance.d.mts +1 -1
  90. package/dist/durable/ThreadStore.d.mts +1 -1
  91. package/dist/durable/ThreadStore.mjs +1 -1
  92. package/dist/durable/ThreadStoreConformance.d.mts +1 -1
  93. package/dist/durable/ThreadStoreConformance.mjs +1 -1
  94. package/dist/durable/ToolReconciler.mjs +1 -1
  95. package/dist/durable/WorkerHost.d.mts +1 -1
  96. package/dist/engine/AgentRuntime.mjs +1 -1
  97. package/dist/index.d.mts +6 -6
  98. package/dist/index.mjs +6 -6
  99. package/dist/sandbox/InteractiveBrowser.mjs +2 -2
  100. package/dist/sandbox/InteractiveBrowser.mjs.map +1 -1
  101. package/dist/sandbox/PageCapture.mjs +4 -4
  102. package/dist/sandbox/PageCapture.mjs.map +1 -1
  103. package/dist/sandbox/ProtectedBrowser.mjs +1 -1
  104. package/dist/sandbox/ProtectedBrowser.mjs.map +1 -1
  105. package/package.json +1 -1
  106. package/src/capabilities/WebSearch.ts +23 -17
  107. package/src/core/internal/strict-schema.ts +14 -0
  108. package/src/durable/GitHubWorkflowSource.ts +32 -38
  109. package/src/durable/Records.ts +8 -4
  110. package/src/engine/internal/primitive-delta.ts +1 -1
  111. package/src/sandbox/InteractiveBrowser.ts +2 -2
  112. package/src/sandbox/PageCapture.ts +6 -7
  113. package/src/sandbox/ProtectedBrowser.ts +1 -1
  114. package/dist/AgentRuntime-CHipL2jG.mjs.map +0 -1
  115. package/dist/durable/Records.mjs.map +0 -1
@@ -3,9 +3,9 @@ import { d as SubagentReservationAmounts, l as SubagentGrant, o as SubagentDeleg
3
3
  import { a as Receipt, t as IdempotencyKey } from "../Receipt-BAHyigAF.mjs";
4
4
  import { r as Update } from "../AgentUpdates-DMJ-_xow.mjs";
5
5
  import { t as AgentPolicy } from "../AgentPolicy-CetmQrf3.mjs";
6
- import { Fa as Settlement, h as DefinitionDigests } from "../Records-BAGkekt8.mjs";
7
- import { a as PreparedInput } from "../Subscription-BEP8oQO5.mjs";
8
- import { t as PreparedInputAdmission } from "../PreparedInputAdmission-C4HbjHgl.mjs";
6
+ import { Fa as Settlement, h as DefinitionDigests } from "../Records-vFp_ZQ9Y.mjs";
7
+ import { a as PreparedInput } from "../Subscription-CKQ0KDHN.mjs";
8
+ import { t as PreparedInputAdmission } from "../PreparedInputAdmission-QzFbW2LQ.mjs";
9
9
  import { Context, Crypto, Effect, Layer, Result, Schema } from "effect";
10
10
  declare namespace MessageDelivery_d_exports {
11
11
  export { MessageDeliveryChange, MessageDeliveryDriver, MessageDeliveryDriverLimits, MessageDeliveryError, MessageDeliveryFailpoint, MessageDeliveryFailpointError, MessageDeliveryFailure, MessageDeliveryKey, MessageDeliveryPage, MessageDeliveryPageRequest, MessageDeliveryPolicy, MessageDeliveryRecord, MessageDeliveryStore, MessageDeliveryStoreLimits, applyMessageDeliveryChange, defaultMessageDeliveryPolicy, defaultMessageDeliveryStoreLimits, isWorkerUpdateDelivery, messageDeliveryCapacity, messageDeliveryDeadline, messageDeliveryKeyString, messageDeliveryUsesCapacity, prepareMessageDelivery, sameMessageDeliveryIdentity, validateMessageDelivery };
@@ -376,25 +376,6 @@ declare const prepareMessageDelivery: (options: {
376
376
  readonly reportKind?: "update" | undefined;
377
377
  } | undefined;
378
378
  readonly messageAdmission?: {
379
- readonly schemaVersion: 1;
380
- readonly message: {
381
- readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
382
- readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
383
- };
384
- readonly peerName: string;
385
- readonly sender: {
386
- readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
387
- readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
388
- };
389
- readonly returnAddress: {
390
- readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
391
- readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
392
- };
393
- readonly inReplyTo?: {
394
- readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
395
- readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
396
- } | undefined;
397
- } | {
398
379
  readonly _tag: "WorkerCompletion";
399
380
  readonly budgetExhausted: boolean;
400
381
  readonly schemaVersion: 1;
@@ -435,6 +416,25 @@ declare const prepareMessageDelivery: (options: {
435
416
  readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
436
417
  };
437
418
  readonly update: Update;
419
+ } | {
420
+ readonly schemaVersion: 1;
421
+ readonly message: {
422
+ readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
423
+ readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
424
+ };
425
+ readonly peerName: string;
426
+ readonly sender: {
427
+ readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
428
+ readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
429
+ };
430
+ readonly returnAddress: {
431
+ readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
432
+ readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
433
+ };
434
+ readonly inReplyTo?: {
435
+ readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
436
+ readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
437
+ } | undefined;
438
438
  } | undefined;
439
439
  };
440
440
  readonly envelopeDigest: string & import("effect/Brand").Brand<"@effect-agent/thread/Digest">;
@@ -2,7 +2,7 @@ import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
2
2
  import { ThreadId } from "../core/Identifiers.mjs";
3
3
  import { IdempotencyKey, Receipt } from "../core/Receipt.mjs";
4
4
  import { WorkerUpdate } from "../core/Worker.mjs";
5
- import { Digest } from "./Records.mjs";
5
+ import { h as Digest } from "../Records-C9cezOEf.mjs";
6
6
  import { Settlement } from "./SubmissionLedger.mjs";
7
7
  import { digestJson } from "./Digest.mjs";
8
8
  import { ScheduleInstant, ScheduleRetry, ScheduleRetryReason } from "./Schedule.mjs";
@@ -2,7 +2,7 @@ import { d as SubagentReservationAmounts, l as SubagentGrant, o as SubagentDeleg
2
2
  import { a as Receipt } from "../Receipt-BAHyigAF.mjs";
3
3
  import { r as Update } from "../AgentUpdates-DMJ-_xow.mjs";
4
4
  import { t as AgentPolicy } from "../AgentPolicy-CetmQrf3.mjs";
5
- import { Fa as Settlement, Vr as DigestError, h as DefinitionDigests } from "../Records-BAGkekt8.mjs";
5
+ import { Fa as Settlement, Vr as DigestError, h as DefinitionDigests } from "../Records-vFp_ZQ9Y.mjs";
6
6
  import { MessageDeliveryError, MessageDeliveryFailure, MessageDeliveryStore } from "./MessageDelivery.mjs";
7
7
  import { Effect, Schema } from "effect";
8
8
  //#region src/durable/MessageDeliveryStoreConformance.d.ts
@@ -83,25 +83,6 @@ declare const makeMessageDeliveryFixture: (messageId?: any, owner?: any, text?:
83
83
  readonly reportKind?: "update" | undefined;
84
84
  } | undefined;
85
85
  readonly messageAdmission?: {
86
- readonly schemaVersion: 1;
87
- readonly message: {
88
- readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
89
- readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
90
- };
91
- readonly peerName: string;
92
- readonly sender: {
93
- readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
94
- readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
95
- };
96
- readonly returnAddress: {
97
- readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
98
- readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
99
- };
100
- readonly inReplyTo?: {
101
- readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
102
- readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
103
- } | undefined;
104
- } | {
105
86
  readonly _tag: "WorkerCompletion";
106
87
  readonly budgetExhausted: boolean;
107
88
  readonly schemaVersion: 1;
@@ -142,6 +123,25 @@ declare const makeMessageDeliveryFixture: (messageId?: any, owner?: any, text?:
142
123
  readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
143
124
  };
144
125
  readonly update: Update;
126
+ } | {
127
+ readonly schemaVersion: 1;
128
+ readonly message: {
129
+ readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
130
+ readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
131
+ };
132
+ readonly peerName: string;
133
+ readonly sender: {
134
+ readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
135
+ readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
136
+ };
137
+ readonly returnAddress: {
138
+ readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
139
+ readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
140
+ };
141
+ readonly inReplyTo?: {
142
+ readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
143
+ readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
144
+ } | undefined;
145
145
  } | undefined;
146
146
  };
147
147
  readonly envelopeDigest: string & import("effect/Brand").Brand<"@effect-agent/thread/Digest">;
@@ -246,25 +246,6 @@ declare const makeWorkerUpdateDeliveryFixture: (id: string) => Effect.Effect<{
246
246
  readonly reportKind?: "update" | undefined;
247
247
  } | undefined;
248
248
  readonly messageAdmission?: {
249
- readonly schemaVersion: 1;
250
- readonly message: {
251
- readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
252
- readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
253
- };
254
- readonly peerName: string;
255
- readonly sender: {
256
- readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
257
- readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
258
- };
259
- readonly returnAddress: {
260
- readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
261
- readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
262
- };
263
- readonly inReplyTo?: {
264
- readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
265
- readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
266
- } | undefined;
267
- } | {
268
249
  readonly _tag: "WorkerCompletion";
269
250
  readonly budgetExhausted: boolean;
270
251
  readonly schemaVersion: 1;
@@ -305,6 +286,25 @@ declare const makeWorkerUpdateDeliveryFixture: (id: string) => Effect.Effect<{
305
286
  readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
306
287
  };
307
288
  readonly update: Update;
289
+ } | {
290
+ readonly schemaVersion: 1;
291
+ readonly message: {
292
+ readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
293
+ readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
294
+ };
295
+ readonly peerName: string;
296
+ readonly sender: {
297
+ readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
298
+ readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
299
+ };
300
+ readonly returnAddress: {
301
+ readonly threadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
302
+ readonly agentId: string & import("effect/Brand").Brand<"@effect-agent/core/AgentId">;
303
+ };
304
+ readonly inReplyTo?: {
305
+ readonly ownerThreadId: string & import("effect/Brand").Brand<"@effect-agent/core/ThreadId">;
306
+ readonly messageId: string & import("effect/Brand").Brand<"@effect-agent/thread/IdempotencyKey">;
307
+ } | undefined;
308
308
  } | undefined;
309
309
  };
310
310
  readonly envelopeDigest: string & import("effect/Brand").Brand<"@effect-agent/thread/Digest">;
@@ -2,7 +2,7 @@ import { AgentId, DelegationId, ReceiptId, RunId, SettlementId, SubmissionId, Th
2
2
  import { IdempotencyKey, Principal, QueueSequence, Receipt } from "../core/Receipt.mjs";
3
3
  import { Update } from "../core/AgentUpdates.mjs";
4
4
  import { WorkerUpdate } from "../core/Worker.mjs";
5
- import { DefinitionDigests, Digest } from "./Records.mjs";
5
+ import { h as Digest, p as DefinitionDigests } from "../Records-C9cezOEf.mjs";
6
6
  import { Settlement } from "./SubmissionLedger.mjs";
7
7
  import { digestJson } from "./Digest.mjs";
8
8
  import { MessageDeliveryStore, messageDeliveryCapacity, prepareMessageDelivery } from "./MessageDelivery.mjs";
@@ -1,5 +1,5 @@
1
1
  import { t as ThreadHistory } from "../ThreadHistory-tS1KwxHR.mjs";
2
- import { nn as ThreadStore } from "../Records-BAGkekt8.mjs";
2
+ import { nn as ThreadStore } from "../Records-vFp_ZQ9Y.mjs";
3
3
  import { Layer } from "effect";
4
4
  declare namespace PersistentHistory_d_exports {
5
5
  export { layer };
@@ -1,8 +1,8 @@
1
1
  import { t as __exportAll } from "../rolldown-runtime-D7D4PA-g.mjs";
2
2
  import { ThreadHistory, ThreadHistoryError } from "../engine/ThreadHistory.mjs";
3
- import { BatchId, CanonicalBatch, DeploymentId, ModelCompleted, PersistedJson, ProducerEpoch, ProducerId, RecordEnvelope, RecordId, RunCompleted, UserInputRecorded } from "./Records.mjs";
3
+ import { D as ProducerId, E as ProducerEpoch, M as RunCompleted, O as RecordEnvelope, T as PersistedJson, b as ModelCompleted, et as UserInputRecorded, i as BatchId, k as RecordId, m as DeploymentId, o as CanonicalBatch } from "../Records-C9cezOEf.mjs";
4
4
  import { FencedAppendRequest, MAX_THREAD_EXPORT_RECORDS, ThreadExportRequest, ThreadMaterialization, ThreadStore } from "./ThreadStore.mjs";
5
- import { m as promptFromCanonicalRecords } from "../RunJournal-Cgg1kNvc.mjs";
5
+ import { m as promptFromCanonicalRecords } from "../RunJournal-lwbrh2hZ.mjs";
6
6
  import { Prompt } from "effect/unstable/ai";
7
7
  import { DateTime, Effect, Layer, Schema } from "effect";
8
8
  //#region src/durable/PersistentHistory.ts
@@ -1,2 +1,2 @@
1
- import { r as admitPreparedInput, t as PreparedInputAdmission } from "../PreparedInputAdmission-C4HbjHgl.mjs";
1
+ import { r as admitPreparedInput, t as PreparedInputAdmission } from "../PreparedInputAdmission-QzFbW2LQ.mjs";
2
2
  export { PreparedInputAdmission, admitPreparedInput };
@@ -1,2 +1,2 @@
1
- import { $ as ToolCallResolved, A as ProducerId, B as SettlementOutcome, C as ModelCompleted, D as PeerMessagePrepared, E as ObservationOffset, F as RunCompleted, G as SubmissionSettled, H as SubagentLineageRecorded, I as RunFailed, J as ThreadCreated, K as SubmissionSettledRecord, L as RunPolicyUsageReserved, M as RecordId, O as PersistedJson, P as RepairAnnotated, Q as ToolCallResolution, R as RunStartedRecord, S as MAX_PERSISTED_JSON_NODES, T as ModelResponseRecorded, U as SubagentRequested, V as SubagentJoined, W as SubagentStarted, X as ToolApprovalRequested, Y as ToolApprovalDecided, Z as ToolCallPrepared, _ as Digest, a as BatchId, at as WorkerInputCompleted, b as MAX_PERSISTED_JSON_COLLECTION_LENGTH, c as CanonicalRecord, ct as WorkerOriginRecorded, d as CanonicalSequence, dt as WorkerReportingIntent, et as ToolCallSettled, f as CompactionCreated, g as DeploymentId, h as DefinitionDigests, i as ApprovalDecision, it as WorkerAdmission, j as RecordEnvelope, k as ProducerEpoch, l as CanonicalRecordEnvelope, lt as WorkerReportPrepared, m as DefinitionDigestInput, n as AbortedSubmissionSettled, nt as ToolStepSettled, o as CURRENT_CANONICAL_SCHEMA_VERSION, ot as WorkerInputRequested, p as CompletedSubmissionSettled, q as SubtreeBudgetReserved, r as AgentUpdateEmitted, rt as UserInputRecorded, s as CanonicalBatch, st as WorkerOrigin, t as AbortRequested, tt as ToolCallUnknown, u as CanonicalRecordPayload, ut as WorkerReportRefused, v as FailedSubmissionSettled, w as ModelResponseInterrupted, x as MAX_PERSISTED_JSON_DEPTH, y as MAX_PERSISTED_JSON_BYTES, z as SettlementFailureDiagnostic } from "../Records-BAGkekt8.mjs";
1
+ import { $ as ToolCallResolved, A as ProducerId, B as SettlementOutcome, C as ModelCompleted, D as PeerMessagePrepared, E as ObservationOffset, F as RunCompleted, G as SubmissionSettled, H as SubagentLineageRecorded, I as RunFailed, J as ThreadCreated, K as SubmissionSettledRecord, L as RunPolicyUsageReserved, M as RecordId, O as PersistedJson, P as RepairAnnotated, Q as ToolCallResolution, R as RunStartedRecord, S as MAX_PERSISTED_JSON_NODES, T as ModelResponseRecorded, U as SubagentRequested, V as SubagentJoined, W as SubagentStarted, X as ToolApprovalRequested, Y as ToolApprovalDecided, Z as ToolCallPrepared, _ as Digest, a as BatchId, at as WorkerInputCompleted, b as MAX_PERSISTED_JSON_COLLECTION_LENGTH, c as CanonicalRecord, ct as WorkerOriginRecorded, d as CanonicalSequence, dt as WorkerReportingIntent, et as ToolCallSettled, f as CompactionCreated, g as DeploymentId, h as DefinitionDigests, i as ApprovalDecision, it as WorkerAdmission, j as RecordEnvelope, k as ProducerEpoch, l as CanonicalRecordEnvelope, lt as WorkerReportPrepared, m as DefinitionDigestInput, n as AbortedSubmissionSettled, nt as ToolStepSettled, o as CURRENT_CANONICAL_SCHEMA_VERSION, ot as WorkerInputRequested, p as CompletedSubmissionSettled, q as SubtreeBudgetReserved, r as AgentUpdateEmitted, rt as UserInputRecorded, s as CanonicalBatch, st as WorkerOrigin, t as AbortRequested, tt as ToolCallUnknown, u as CanonicalRecordPayload, ut as WorkerReportRefused, v as FailedSubmissionSettled, w as ModelResponseInterrupted, x as MAX_PERSISTED_JSON_DEPTH, y as MAX_PERSISTED_JSON_BYTES, z as SettlementFailureDiagnostic } from "../Records-vFp_ZQ9Y.mjs";
2
2
  export { AbortRequested, AbortedSubmissionSettled, AgentUpdateEmitted, ApprovalDecision, BatchId, CURRENT_CANONICAL_SCHEMA_VERSION, CanonicalBatch, CanonicalRecord, CanonicalRecordEnvelope, CanonicalRecordPayload, CanonicalSequence, CompactionCreated, CompletedSubmissionSettled, DefinitionDigestInput, DefinitionDigests, DeploymentId, Digest, FailedSubmissionSettled, MAX_PERSISTED_JSON_BYTES, MAX_PERSISTED_JSON_COLLECTION_LENGTH, MAX_PERSISTED_JSON_DEPTH, MAX_PERSISTED_JSON_NODES, ModelCompleted, ModelResponseInterrupted, ModelResponseRecorded, ObservationOffset, PeerMessagePrepared, PersistedJson, ProducerEpoch, ProducerId, RecordEnvelope, RecordId, RepairAnnotated, RunCompleted, RunFailed, RunPolicyUsageReserved, RunStartedRecord, SettlementFailureDiagnostic, SettlementOutcome, SubagentJoined, SubagentLineageRecorded, SubagentRequested, SubagentStarted, SubmissionSettled, SubmissionSettledRecord, SubtreeBudgetReserved, ThreadCreated, ToolApprovalDecided, ToolApprovalRequested, ToolCallPrepared, ToolCallResolution, ToolCallResolved, ToolCallSettled, ToolCallUnknown, ToolStepSettled, UserInputRecorded, WorkerAdmission, WorkerInputCompleted, WorkerInputRequested, WorkerOrigin, WorkerOriginRecorded, WorkerReportPrepared, WorkerReportRefused, WorkerReportingIntent };