effect-durable-agent 0.1.0-alpha.19 → 0.1.0-alpha.20

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 (90) hide show
  1. package/dist/{compaction-Bell28K8.js → compaction-GD1cTPTZ.js} +4 -4
  2. package/dist/compaction-GD1cTPTZ.js.map +1 -0
  3. package/dist/domain/command-queues.d.ts +1 -1
  4. package/dist/domain/context-projection.js +1 -1
  5. package/dist/domain/context-projection.js.map +1 -1
  6. package/dist/domain/message-transcript.d.ts +1 -1
  7. package/dist/domain/message-transcript.js +1 -1
  8. package/dist/domain/message-transcript.js.map +1 -1
  9. package/dist/domain/reduced-state-schema.d.ts +1 -1
  10. package/dist/domain/reduced-state-schema.js +2 -2
  11. package/dist/domain/reduced-state-schema.js.map +1 -1
  12. package/dist/domain/reduced-state.d.ts +1 -1
  13. package/dist/domain/reduced-state.js +1 -1
  14. package/dist/domain/run-scheduling.d.ts +1 -1
  15. package/dist/{durable-DRY7AcsF.js → durable-CD__3ztN.js} +67 -4
  16. package/dist/durable-CD__3ztN.js.map +1 -0
  17. package/dist/{durable-DoG_e4iL.d.ts → durable-CKdCCqhw.d.ts} +54 -1
  18. package/dist/{event-factory-CKuWhjS4.js → event-factory-VAci3NJb.js} +2 -2
  19. package/dist/{event-factory-CKuWhjS4.js.map → event-factory-VAci3NJb.js.map} +1 -1
  20. package/dist/{events-sxIzJY26.d.ts → events-BWuvzVml.d.ts} +2 -2
  21. package/dist/index.d.ts +3 -3
  22. package/dist/index.js +1 -1
  23. package/dist/{model-resolver-BHYVHsam.d.ts → model-resolver-BfM5YA6A.d.ts} +4 -4
  24. package/dist/{reduced-state-DrSHn_47.d.ts → reduced-state-4FSWDdgT.d.ts} +654 -453
  25. package/dist/{reduced-state-DFIYylAq.js → reduced-state-Vuud6LCM.js} +2 -2
  26. package/dist/reduced-state-Vuud6LCM.js.map +1 -0
  27. package/dist/{reduced-state-schema-CPEmuHLY.d.ts → reduced-state-schema-jyZWJ0QS.d.ts} +19 -1
  28. package/dist/{reducer-registry-C3ZidOI1.d.ts → reducer-registry-BIhncOHH.d.ts} +4 -4
  29. package/dist/{run-scheduling-wakeup-COUj3r_B.d.ts → run-scheduling-wakeup-BH2pHE0U.d.ts} +2 -2
  30. package/dist/services/compaction.d.ts +1 -1
  31. package/dist/services/compaction.js +1 -1
  32. package/dist/services/id-generator.js +1 -1
  33. package/dist/services/id-generator.js.map +1 -1
  34. package/dist/services/model-resolver.d.ts +1 -1
  35. package/dist/services/model-resolver.js +1 -1
  36. package/dist/services/model-resolver.js.map +1 -1
  37. package/dist/services/prompt-projector.d.ts +1 -1
  38. package/dist/services/prompt-projector.js +1 -1
  39. package/dist/services/prompt-projector.js.map +1 -1
  40. package/dist/services/reducer-registry.d.ts +1 -1
  41. package/dist/services/run-scheduler.d.ts +1 -1
  42. package/dist/services/run-scheduler.js +1 -1
  43. package/dist/services/run-scheduler.js.map +1 -1
  44. package/dist/services/run-scheduling-wakeup.d.ts +1 -1
  45. package/dist/services/runtime-layer.d.ts +12 -9
  46. package/dist/services/runtime-layer.js +6 -6
  47. package/dist/services/runtime-layer.js.map +1 -1
  48. package/dist/services/runtime.d.ts +1 -1
  49. package/dist/services/runtime.js +2 -2
  50. package/dist/services/session-event-observer.d.ts +1 -1
  51. package/dist/services/session-query.d.ts +1 -1
  52. package/dist/services/session-query.js +2 -2
  53. package/dist/services/session-state.d.ts +1 -1
  54. package/dist/services/session-state.js +1 -1
  55. package/dist/services/session-store.d.ts +1 -1
  56. package/dist/services/session-store.js +5 -5
  57. package/dist/services/session-store.js.map +1 -1
  58. package/dist/services/sink-checkpoint-store.d.ts +1 -1
  59. package/dist/services/sink-registry.d.ts +1 -1
  60. package/dist/services/sink-registry.js +1 -1
  61. package/dist/services/tool-registry.d.ts +1 -1
  62. package/dist/services/tool-registry.js +2 -2
  63. package/dist/services/tool-registry.js.map +1 -1
  64. package/dist/services/tracing.d.ts +1 -1
  65. package/dist/services/tracing.js +1 -1
  66. package/dist/{session-event-observer-BDwja1jX.d.ts → session-event-observer-BdZltdrK.d.ts} +2 -2
  67. package/dist/{session-state-BBzzJrDC.js → session-state-BAzdzqV4.js} +17 -12
  68. package/dist/session-state-BAzdzqV4.js.map +1 -0
  69. package/dist/{session-store-B_vh581h.d.ts → session-store-BpitF4Wg.d.ts} +3 -3
  70. package/dist/{sink-checkpoint-store-2SxoNMbI.d.ts → sink-checkpoint-store-C-SY0cG2.d.ts} +2 -2
  71. package/dist/{sink-registry-ogHu2Sw7.js → sink-registry-BnWfMABI.js} +4 -4
  72. package/dist/sink-registry-BnWfMABI.js.map +1 -0
  73. package/dist/testkit/layers.d.ts +10 -10
  74. package/dist/testkit/layers.js +9 -6
  75. package/dist/testkit/layers.js.map +1 -1
  76. package/dist/{tool-registry-DDxbmMpY.d.ts → tool-registry-wPsHagF_.d.ts} +5 -5
  77. package/dist/types/commands.js +1 -1
  78. package/dist/types/commands.js.map +1 -1
  79. package/dist/types/events/durable.d.ts +1 -1
  80. package/dist/types/events/durable.js +1 -1
  81. package/dist/types/events.d.ts +2 -2
  82. package/dist/types/events.js +1 -1
  83. package/dist/websocket.d.ts +9 -2
  84. package/dist/websocket.js +1 -1
  85. package/package.json +8 -8
  86. package/dist/compaction-Bell28K8.js.map +0 -1
  87. package/dist/durable-DRY7AcsF.js.map +0 -1
  88. package/dist/reduced-state-DFIYylAq.js.map +0 -1
  89. package/dist/session-state-BBzzJrDC.js.map +0 -1
  90. package/dist/sink-registry-ogHu2Sw7.js.map +0 -1
@@ -2,31 +2,31 @@ import { c as StopTurnCommand, d as UserMessageContent, i as GrantRunCommand, l
2
2
  import { b as TurnId, c as EventId, g as SessionId, h as SequenceNumber, i as ContextVersion, l as InferenceId, m as RunRequestId, n as CommandId, p as RunId, r as CompactionId, u as MessageId, v as SummaryId, y as ToolCallId } from "./core-BcimKMIv.js";
3
3
  import { n as EDARunTrace, t as EDAEventTrace } from "./tracing-BwjbF285.js";
4
4
  import { c as FailurePayload, d as NonNegativeInt, f as PositionedEvent, g as ToolName, h as SystemPromptText, i as EventEnvelope, n as EphemeralEventEnvelope, p as ProviderPartId, t as DurableEventEnvelope, u as ModelSelectionPayload, v as UsagePayload } from "./envelope-Che6KatU.js";
5
- import { $t as ToolCallRejectedPayload, A as CompactionFailedEvent, B as ContextRebasedPayload, Bt as SummaryCreatedEvent, Cn as UserMessagePromotedEvent, Ct as RunSchedulingGrantedPayload, D as CommandStartedPayload, Dt as RunSchedulingRequestedPayload, E as CommandStartedEvent, En as UserMessageSubmittedPayload, Et as RunSchedulingRequestedEvent, F as CompactionStartedPayload, G as InferenceCompletedEvent, Gt as ToolCallCompletedPayload, H as DecodedDurableEvent, Ht as SystemMessageCommittedEvent, It as StopTurnAppliedEvent, J as InferenceFailedEvent, K as InferenceCompletedPayload, Kt as ToolCallCreatedEvent, Lt as StopTurnAppliedPayload, M as CompactionRequestedEvent, Mt as SteeringMessageCancelledPayload, N as CompactionRequestedPayload, Nt as SteeringMessageQueuedEvent, O as CompactionCompletedEvent, Ot as RunStartedEvent, P as CompactionStartedEvent, Pt as SteeringMessageQueuedPayload, Qt as ToolCallRejectedEvent, Rt as StopTurnRequestedEvent, S as CommandCompletedPayload, St as RunSchedulingGrantedEvent, T as CommandFailedPayload, Tn as UserMessageSubmittedEvent, Tt as RunSchedulingInvalidatedPayload, Ut as SystemMessageCommittedPayload, Vt as SummaryCreatedPayload, Wt as ToolCallCompletedEvent, X as InferenceStartedEvent, Xt as ToolCallFailedPayload, Y as InferenceFailedPayload, Yt as ToolCallFailedEvent, Z as InferenceStartedPayload, _ as CommandAdmittedEvent, _t as RunInterruptedEvent, b as CommandCancelledPayload, bn as UserMessageCommittedEvent, bt as RunSchedulingDeliveredPayload, cn as TurnCompletedEvent, ct as RecoveryCompletedEvent, dn as TurnFailedEvent, fn as TurnFailedPayload, ft as RunCompletedEvent, gn as TurnStoppedPayload, gt as RunFailedPayload, hn as TurnStoppedEvent, ht as RunFailedEvent, j as CompactionFailedPayload, jt as SteeringMessageCancelledEvent, k as CompactionCompletedPayload, kt as RunStartedPayload, ln as TurnCompletedPayload, lt as RecoveryCompletedPayload, mn as TurnStartedPayload, n as AssistantMessageCommittedPayload, nn as ToolCallStartedEvent, o as AssistantPartialCommittedEvent, ot as PendingMessagesPausedEvent, pn as TurnStartedEvent, pt as RunCompletedPayload, qt as ToolCallCreatedPayload, r as AssistantMessageContent, rn as ToolCallStartedPayload, s as AssistantPartialCommittedPayload, st as PendingMessagesPausedPayload, t as AssistantMessageCommittedEvent, ut as RecoveryContinuation, v as CommandAdmittedPayload, vn as UserMessageCancelledEvent, vt as RunInterruptedPayload, w as CommandFailedEvent, wn as UserMessagePromotedPayload, wt as RunSchedulingInvalidatedEvent, x as CommandCompletedEvent, xn as UserMessageCommittedPayload, y as CommandCancelledEvent, yn as UserMessageCancelledPayload, yt as RunSchedulingDeliveredEvent, z as ContextRebasedEvent, zt as StopTurnRequestedPayload } from "./durable-DoG_e4iL.js";
6
- import { d as ToolParamsDeltaEvent, f as ToolParamsDeltaPayload, g as ToolParamsStartPayload, h as ToolParamsStartEvent, i as ReasoningDeltaPayload, l as TextDeltaEvent, m as ToolParamsEndPayload, p as ToolParamsEndEvent, r as ReasoningDeltaEvent, u as TextDeltaPayload } from "./events-sxIzJY26.js";
5
+ import { $t as ToolCallRejectedPayload, A as CompactionFailedEvent, B as ContextRebasedPayload, Bt as SummaryCreatedEvent, Cn as UserMessagePromotedEvent, Ct as RunSchedulingGrantedPayload, D as CommandStartedPayload, Dt as RunSchedulingRequestedPayload, E as CommandStartedEvent, En as UserMessageSubmittedPayload, Et as RunSchedulingRequestedEvent, F as CompactionStartedPayload, G as InferenceCompletedEvent, Gt as ToolCallCompletedPayload, H as DecodedDurableEvent, Ht as SystemMessageCommittedEvent, It as StopTurnAppliedEvent, J as InferenceFailedEvent, K as InferenceCompletedPayload, Kt as ToolCallCreatedEvent, Lt as StopTurnAppliedPayload, M as CompactionRequestedEvent, Mt as SteeringMessageCancelledPayload, N as CompactionRequestedPayload, Nt as SteeringMessageQueuedEvent, O as CompactionCompletedEvent, Ot as RunStartedEvent, P as CompactionStartedEvent, Pt as SteeringMessageQueuedPayload, Qt as ToolCallRejectedEvent, Rt as StopTurnRequestedEvent, S as CommandCompletedPayload, St as RunSchedulingGrantedEvent, T as CommandFailedPayload, Tn as UserMessageSubmittedEvent, Tt as RunSchedulingInvalidatedPayload, Ut as SystemMessageCommittedPayload, Vt as SummaryCreatedPayload, Wt as ToolCallCompletedEvent, X as InferenceStartedEvent, Xt as ToolCallFailedPayload, Y as InferenceFailedPayload, Yt as ToolCallFailedEvent, Z as InferenceStartedPayload, _ as CommandAdmittedEvent, _t as RunInterruptedEvent, b as CommandCancelledPayload, bn as UserMessageCommittedEvent, bt as RunSchedulingDeliveredPayload, cn as TurnCompletedEvent, ct as RecoveryCompletedEvent, dn as TurnFailedEvent, fn as TurnFailedPayload, ft as RunCompletedEvent, gn as TurnStoppedPayload, gt as RunFailedPayload, hn as TurnStoppedEvent, ht as RunFailedEvent, j as CompactionFailedPayload, jt as SteeringMessageCancelledEvent, k as CompactionCompletedPayload, kt as RunStartedPayload, ln as TurnCompletedPayload, lt as RecoveryCompletedPayload, mn as TurnStartedPayload, n as AssistantMessageCommittedPayload, nn as ToolCallStartedEvent, o as AssistantPartialCommittedEvent, ot as PendingMessagesPausedEvent, pn as TurnStartedEvent, pt as RunCompletedPayload, qt as ToolCallCreatedPayload, r as AssistantMessageContent, rn as ToolCallStartedPayload, s as AssistantPartialCommittedPayload, st as PendingMessagesPausedPayload, t as AssistantMessageCommittedEvent, ut as RecoveryContinuation, v as CommandAdmittedPayload, vn as UserMessageCancelledEvent, vt as RunInterruptedPayload, w as CommandFailedEvent, wn as UserMessagePromotedPayload, wt as RunSchedulingInvalidatedEvent, x as CommandCompletedEvent, xn as UserMessageCommittedPayload, y as CommandCancelledEvent, yn as UserMessageCancelledPayload, yt as RunSchedulingDeliveredEvent, z as ContextRebasedEvent, zt as StopTurnRequestedPayload } from "./durable-CKdCCqhw.js";
6
+ import { d as ToolParamsDeltaEvent, f as ToolParamsDeltaPayload, g as ToolParamsStartPayload, h as ToolParamsStartEvent, i as ReasoningDeltaPayload, l as TextDeltaEvent, m as ToolParamsEndPayload, p as ToolParamsEndEvent, r as ReasoningDeltaEvent, u as TextDeltaPayload } from "./events-BWuvzVml.js";
7
7
  import { i as ContextProjection, n as CompactionPolicyId, t as CompactionExecutorId } from "./context-projection-D_uRtK3r.js";
8
- import { o as EDASessionStore, r as DurableAppendEntry, s as EDASessionStoreError, t as CommittedDurableEvent } from "./session-store-B_vh581h.js";
9
- import { t as ModelResolver } from "./model-resolver-BHYVHsam.js";
8
+ import { o as EDASessionStore, r as DurableAppendEntry, s as EDASessionStoreError, t as CommittedDurableEvent } from "./session-store-BpitF4Wg.js";
9
+ import { t as ModelResolver } from "./model-resolver-BfM5YA6A.js";
10
10
  import { t as IdGenerator } from "./id-generator-BKGoKjt-.js";
11
11
  import { t as EDAKeepAlive } from "./keep-alive-_zFCUvt3.js";
12
- import { t as SessionEventObserver } from "./session-event-observer-BDwja1jX.js";
13
- import { a as EDAReducerStateSnapshot, r as EDAReducerRegistry } from "./reducer-registry-C3ZidOI1.js";
14
- import { n as SinkCheckpointStore } from "./sink-checkpoint-store-2SxoNMbI.js";
15
- import { t as RunSchedulingWakeup } from "./run-scheduling-wakeup-COUj3r_B.js";
16
- import { r as EDAToolRegistry } from "./tool-registry-DDxbmMpY.js";
12
+ import { t as SessionEventObserver } from "./session-event-observer-BdZltdrK.js";
13
+ import { a as EDAReducerStateSnapshot, r as EDAReducerRegistry } from "./reducer-registry-BIhncOHH.js";
14
+ import { n as SinkCheckpointStore } from "./sink-checkpoint-store-C-SY0cG2.js";
15
+ import { t as RunSchedulingWakeup } from "./run-scheduling-wakeup-BH2pHE0U.js";
16
+ import { r as EDAToolRegistry } from "./tool-registry-wPsHagF_.js";
17
17
  import { n as TokenConsumptionState } from "./model-usage-0GeHwaaU.js";
18
- import { w as ReducedStateSchema } from "./reduced-state-schema-CPEmuHLY.js";
18
+ import { w as ReducedStateSchema } from "./reduced-state-schema-jyZWJ0QS.js";
19
19
  import * as Context from "effect/Context";
20
20
  import * as Effect from "effect/Effect";
21
21
  import * as Layer from "effect/Layer";
22
22
  import * as Schema from "effect/Schema";
23
- import * as LanguageModel from "effect/unstable/ai/LanguageModel";
23
+ import * as LanguageModel from "effect/ai/LanguageModel";
24
24
  import * as Stream from "effect/Stream";
25
- import * as Prompt from "effect/unstable/ai/Prompt";
25
+ import * as Prompt from "effect/ai/Prompt";
26
26
  import * as Cause from "effect/Cause";
27
27
  import * as Scope from "effect/Scope";
28
28
  import * as PubSub from "effect/PubSub";
29
- import * as Response from "effect/unstable/ai/Response";
29
+ import * as Response from "effect/ai/Response";
30
30
  //#region src/services/session-context.d.ts
31
31
  /** Runtime-scoped session identity dependency. */
32
32
  interface SessionContextShape {
@@ -191,7 +191,7 @@ type CompactionOutput = typeof CompactionOutput.Type;
191
191
  interface CompactionExecutorInput extends CompactionPolicyInput {
192
192
  readonly plan: CompactionPlan;
193
193
  /** Provider service resolved from the same durable selection used for accounting. */
194
- readonly model: LanguageModel.Service;
194
+ readonly model: LanguageModel.LanguageModel;
195
195
  }
196
196
  declare const CompactionError_base: Schema.Class<CompactionError, Schema.TaggedStruct<"CompactionError", {
197
197
  readonly message: Schema.String;
@@ -743,6 +743,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
743
743
  readonly name: string;
744
744
  readonly isFailure: boolean;
745
745
  readonly result: unknown;
746
+ readonly providerExecuted: boolean;
746
747
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
747
748
  readonly options: {
748
749
  readonly [x: string]: Schema.Json;
@@ -794,6 +795,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
794
795
  readonly name: string;
795
796
  readonly isFailure: boolean;
796
797
  readonly result: unknown;
798
+ readonly providerExecuted: boolean;
797
799
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
798
800
  readonly options: {
799
801
  readonly [x: string]: Schema.Json;
@@ -1700,6 +1702,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
1700
1702
  readonly name: string;
1701
1703
  readonly isFailure: boolean;
1702
1704
  readonly result: unknown;
1705
+ readonly providerExecuted: boolean;
1703
1706
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
1704
1707
  readonly options: {
1705
1708
  readonly [x: string]: Schema.Json;
@@ -1751,6 +1754,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
1751
1754
  readonly name: string;
1752
1755
  readonly isFailure: boolean;
1753
1756
  readonly result: unknown;
1757
+ readonly providerExecuted: boolean;
1754
1758
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
1755
1759
  readonly options: {
1756
1760
  readonly [x: string]: Schema.Json;
@@ -1837,6 +1841,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
1837
1841
  readonly name: string;
1838
1842
  readonly isFailure: boolean;
1839
1843
  readonly result: unknown;
1844
+ readonly providerExecuted: boolean;
1840
1845
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
1841
1846
  readonly options: {
1842
1847
  readonly [x: string]: Schema.Json;
@@ -1888,6 +1893,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
1888
1893
  readonly name: string;
1889
1894
  readonly isFailure: boolean;
1890
1895
  readonly result: unknown;
1896
+ readonly providerExecuted: boolean;
1891
1897
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
1892
1898
  readonly options: {
1893
1899
  readonly [x: string]: Schema.Json;
@@ -1974,6 +1980,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
1974
1980
  readonly name: string;
1975
1981
  readonly isFailure: boolean;
1976
1982
  readonly result: unknown;
1983
+ readonly providerExecuted: boolean;
1977
1984
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
1978
1985
  readonly options: {
1979
1986
  readonly [x: string]: Schema.Json;
@@ -2025,6 +2032,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
2025
2032
  readonly name: string;
2026
2033
  readonly isFailure: boolean;
2027
2034
  readonly result: unknown;
2035
+ readonly providerExecuted: boolean;
2028
2036
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
2029
2037
  readonly options: {
2030
2038
  readonly [x: string]: Schema.Json;
@@ -2569,6 +2577,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
2569
2577
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
2570
2578
  readonly promptPart: {
2571
2579
  readonly type: "tool-result";
2580
+ readonly providerExecuted: boolean;
2572
2581
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
2573
2582
  readonly options: {
2574
2583
  readonly [x: string]: Schema.Json;
@@ -2646,6 +2655,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
2646
2655
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
2647
2656
  readonly promptPart: {
2648
2657
  readonly type: "tool-result";
2658
+ readonly providerExecuted: boolean;
2649
2659
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
2650
2660
  readonly options: {
2651
2661
  readonly [x: string]: Schema.Json;
@@ -2693,6 +2703,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
2693
2703
  } | undefined;
2694
2704
  readonly promptPart: {
2695
2705
  readonly type: "tool-result";
2706
+ readonly providerExecuted: boolean;
2696
2707
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
2697
2708
  readonly options: {
2698
2709
  readonly [x: string]: Schema.Json;
@@ -3380,6 +3391,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
3380
3391
  readonly name: string;
3381
3392
  readonly isFailure: boolean;
3382
3393
  readonly result: unknown;
3394
+ readonly providerExecuted: boolean;
3383
3395
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
3384
3396
  readonly options: {
3385
3397
  readonly [x: string]: Schema.Json;
@@ -3431,6 +3443,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
3431
3443
  readonly name: string;
3432
3444
  readonly isFailure: boolean;
3433
3445
  readonly result: unknown;
3446
+ readonly providerExecuted: boolean;
3434
3447
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
3435
3448
  readonly options: {
3436
3449
  readonly [x: string]: Schema.Json;
@@ -4337,6 +4350,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
4337
4350
  readonly name: string;
4338
4351
  readonly isFailure: boolean;
4339
4352
  readonly result: unknown;
4353
+ readonly providerExecuted: boolean;
4340
4354
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
4341
4355
  readonly options: {
4342
4356
  readonly [x: string]: Schema.Json;
@@ -4388,6 +4402,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
4388
4402
  readonly name: string;
4389
4403
  readonly isFailure: boolean;
4390
4404
  readonly result: unknown;
4405
+ readonly providerExecuted: boolean;
4391
4406
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
4392
4407
  readonly options: {
4393
4408
  readonly [x: string]: Schema.Json;
@@ -4474,6 +4489,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
4474
4489
  readonly name: string;
4475
4490
  readonly isFailure: boolean;
4476
4491
  readonly result: unknown;
4492
+ readonly providerExecuted: boolean;
4477
4493
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
4478
4494
  readonly options: {
4479
4495
  readonly [x: string]: Schema.Json;
@@ -4525,6 +4541,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
4525
4541
  readonly name: string;
4526
4542
  readonly isFailure: boolean;
4527
4543
  readonly result: unknown;
4544
+ readonly providerExecuted: boolean;
4528
4545
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
4529
4546
  readonly options: {
4530
4547
  readonly [x: string]: Schema.Json;
@@ -4611,6 +4628,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
4611
4628
  readonly name: string;
4612
4629
  readonly isFailure: boolean;
4613
4630
  readonly result: unknown;
4631
+ readonly providerExecuted: boolean;
4614
4632
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
4615
4633
  readonly options: {
4616
4634
  readonly [x: string]: Schema.Json;
@@ -4662,6 +4680,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
4662
4680
  readonly name: string;
4663
4681
  readonly isFailure: boolean;
4664
4682
  readonly result: unknown;
4683
+ readonly providerExecuted: boolean;
4665
4684
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
4666
4685
  readonly options: {
4667
4686
  readonly [x: string]: Schema.Json;
@@ -5206,6 +5225,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
5206
5225
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
5207
5226
  readonly promptPart: {
5208
5227
  readonly type: "tool-result";
5228
+ readonly providerExecuted: boolean;
5209
5229
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
5210
5230
  readonly options: {
5211
5231
  readonly [x: string]: Schema.Json;
@@ -5283,6 +5303,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
5283
5303
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
5284
5304
  readonly promptPart: {
5285
5305
  readonly type: "tool-result";
5306
+ readonly providerExecuted: boolean;
5286
5307
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
5287
5308
  readonly options: {
5288
5309
  readonly [x: string]: Schema.Json;
@@ -5330,6 +5351,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
5330
5351
  } | undefined;
5331
5352
  readonly promptPart: {
5332
5353
  readonly type: "tool-result";
5354
+ readonly providerExecuted: boolean;
5333
5355
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
5334
5356
  readonly options: {
5335
5357
  readonly [x: string]: Schema.Json;
@@ -5912,6 +5934,70 @@ interface RunInferenceInput extends RunInferenceContext {
5912
5934
  /** Summary returned after one provider inference stream is consumed. */
5913
5935
  declare const InferenceRunResult: Schema.Struct<{
5914
5936
  readonly started: Schema.Codec<CommittedDurableEvent<{
5937
+ readonly eventId: string & import("effect/Brand").Brand<"EventId">;
5938
+ readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
5939
+ readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
5940
+ readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
5941
+ readonly trace: {
5942
+ readonly span: {
5943
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
5944
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
5945
+ readonly sampled: boolean;
5946
+ readonly tracestate: string | null;
5947
+ };
5948
+ readonly links: readonly {
5949
+ readonly context: {
5950
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
5951
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
5952
+ readonly sampled: boolean;
5953
+ readonly tracestate: string | null;
5954
+ };
5955
+ readonly attributes: {
5956
+ readonly [x: string]: string | number | boolean;
5957
+ };
5958
+ }[];
5959
+ };
5960
+ readonly durability: "durable";
5961
+ readonly namespace: "effect-durable-agent";
5962
+ readonly type: "CompactionRequested";
5963
+ readonly schemaVersion: number;
5964
+ readonly payload: {
5965
+ readonly compactionId: string & import("effect/Brand").Brand<"CompactionId">;
5966
+ readonly sourceFromSeq: number & import("effect/Brand").Brand<"SequenceNumber">;
5967
+ readonly sourceToSeq: number & import("effect/Brand").Brand<"SequenceNumber">;
5968
+ };
5969
+ } | {
5970
+ readonly eventId: string & import("effect/Brand").Brand<"EventId">;
5971
+ readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
5972
+ readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
5973
+ readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
5974
+ readonly trace: {
5975
+ readonly span: {
5976
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
5977
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
5978
+ readonly sampled: boolean;
5979
+ readonly tracestate: string | null;
5980
+ };
5981
+ readonly links: readonly {
5982
+ readonly context: {
5983
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
5984
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
5985
+ readonly sampled: boolean;
5986
+ readonly tracestate: string | null;
5987
+ };
5988
+ readonly attributes: {
5989
+ readonly [x: string]: string | number | boolean;
5990
+ };
5991
+ }[];
5992
+ };
5993
+ readonly durability: "durable";
5994
+ readonly namespace: "effect-durable-agent";
5995
+ readonly type: "CompactionStarted";
5996
+ readonly schemaVersion: number;
5997
+ readonly payload: {
5998
+ readonly compactionId: string & import("effect/Brand").Brand<"CompactionId">;
5999
+ };
6000
+ } | {
5915
6001
  readonly eventId: string & import("effect/Brand").Brand<"EventId">;
5916
6002
  readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
5917
6003
  readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
@@ -6060,6 +6146,7 @@ declare const InferenceRunResult: Schema.Struct<{
6060
6146
  readonly name: string;
6061
6147
  readonly isFailure: boolean;
6062
6148
  readonly result: unknown;
6149
+ readonly providerExecuted: boolean;
6063
6150
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
6064
6151
  readonly options: {
6065
6152
  readonly [x: string]: Schema.Json;
@@ -6111,6 +6198,7 @@ declare const InferenceRunResult: Schema.Struct<{
6111
6198
  readonly name: string;
6112
6199
  readonly isFailure: boolean;
6113
6200
  readonly result: unknown;
6201
+ readonly providerExecuted: boolean;
6114
6202
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
6115
6203
  readonly options: {
6116
6204
  readonly [x: string]: Schema.Json;
@@ -7017,6 +7105,7 @@ declare const InferenceRunResult: Schema.Struct<{
7017
7105
  readonly name: string;
7018
7106
  readonly isFailure: boolean;
7019
7107
  readonly result: unknown;
7108
+ readonly providerExecuted: boolean;
7020
7109
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
7021
7110
  readonly options: {
7022
7111
  readonly [x: string]: Schema.Json;
@@ -7068,6 +7157,7 @@ declare const InferenceRunResult: Schema.Struct<{
7068
7157
  readonly name: string;
7069
7158
  readonly isFailure: boolean;
7070
7159
  readonly result: unknown;
7160
+ readonly providerExecuted: boolean;
7071
7161
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
7072
7162
  readonly options: {
7073
7163
  readonly [x: string]: Schema.Json;
@@ -7154,6 +7244,7 @@ declare const InferenceRunResult: Schema.Struct<{
7154
7244
  readonly name: string;
7155
7245
  readonly isFailure: boolean;
7156
7246
  readonly result: unknown;
7247
+ readonly providerExecuted: boolean;
7157
7248
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
7158
7249
  readonly options: {
7159
7250
  readonly [x: string]: Schema.Json;
@@ -7205,6 +7296,7 @@ declare const InferenceRunResult: Schema.Struct<{
7205
7296
  readonly name: string;
7206
7297
  readonly isFailure: boolean;
7207
7298
  readonly result: unknown;
7299
+ readonly providerExecuted: boolean;
7208
7300
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
7209
7301
  readonly options: {
7210
7302
  readonly [x: string]: Schema.Json;
@@ -7291,6 +7383,7 @@ declare const InferenceRunResult: Schema.Struct<{
7291
7383
  readonly name: string;
7292
7384
  readonly isFailure: boolean;
7293
7385
  readonly result: unknown;
7386
+ readonly providerExecuted: boolean;
7294
7387
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
7295
7388
  readonly options: {
7296
7389
  readonly [x: string]: Schema.Json;
@@ -7342,6 +7435,7 @@ declare const InferenceRunResult: Schema.Struct<{
7342
7435
  readonly name: string;
7343
7436
  readonly isFailure: boolean;
7344
7437
  readonly result: unknown;
7438
+ readonly providerExecuted: boolean;
7345
7439
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
7346
7440
  readonly options: {
7347
7441
  readonly [x: string]: Schema.Json;
@@ -7886,6 +7980,7 @@ declare const InferenceRunResult: Schema.Struct<{
7886
7980
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
7887
7981
  readonly promptPart: {
7888
7982
  readonly type: "tool-result";
7983
+ readonly providerExecuted: boolean;
7889
7984
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
7890
7985
  readonly options: {
7891
7986
  readonly [x: string]: Schema.Json;
@@ -7963,6 +8058,7 @@ declare const InferenceRunResult: Schema.Struct<{
7963
8058
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
7964
8059
  readonly promptPart: {
7965
8060
  readonly type: "tool-result";
8061
+ readonly providerExecuted: boolean;
7966
8062
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
7967
8063
  readonly options: {
7968
8064
  readonly [x: string]: Schema.Json;
@@ -8010,6 +8106,7 @@ declare const InferenceRunResult: Schema.Struct<{
8010
8106
  } | undefined;
8011
8107
  readonly promptPart: {
8012
8108
  readonly type: "tool-result";
8109
+ readonly providerExecuted: boolean;
8013
8110
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
8014
8111
  readonly options: {
8015
8112
  readonly [x: string]: Schema.Json;
@@ -8122,232 +8219,168 @@ declare const InferenceRunResult: Schema.Struct<{
8122
8219
  readonly payload: {
8123
8220
  readonly contextVersion: number & import("effect/Brand").Brand<"ContextVersion">;
8124
8221
  readonly throughSeq: number & import("effect/Brand").Brand<"SequenceNumber">;
8125
- };
8126
- } | {
8127
- readonly eventId: string & import("effect/Brand").Brand<"EventId">;
8128
- readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
8129
- readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
8130
- readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
8131
- readonly trace: {
8132
- readonly span: {
8133
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
8134
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
8135
- readonly sampled: boolean;
8136
- readonly tracestate: string | null;
8137
- };
8138
- readonly links: readonly {
8139
- readonly context: {
8140
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
8141
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
8142
- readonly sampled: boolean;
8143
- readonly tracestate: string | null;
8144
- };
8145
- readonly attributes: {
8146
- readonly [x: string]: string | number | boolean;
8147
- };
8148
- }[];
8149
- };
8150
- readonly durability: "durable";
8151
- readonly namespace: "effect-durable-agent";
8152
- readonly type: "CompactionRequested";
8153
- readonly schemaVersion: number;
8154
- readonly payload: {
8155
- readonly compactionId: string & import("effect/Brand").Brand<"CompactionId">;
8156
- readonly sourceFromSeq: number & import("effect/Brand").Brand<"SequenceNumber">;
8157
- readonly sourceToSeq: number & import("effect/Brand").Brand<"SequenceNumber">;
8158
- };
8159
- } | {
8160
- readonly eventId: string & import("effect/Brand").Brand<"EventId">;
8161
- readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
8162
- readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
8163
- readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
8164
- readonly trace: {
8165
- readonly span: {
8166
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
8167
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
8168
- readonly sampled: boolean;
8169
- readonly tracestate: string | null;
8170
- };
8171
- readonly links: readonly {
8172
- readonly context: {
8173
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
8174
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
8175
- readonly sampled: boolean;
8176
- readonly tracestate: string | null;
8177
- };
8178
- readonly attributes: {
8179
- readonly [x: string]: string | number | boolean;
8180
- };
8181
- }[];
8182
- };
8183
- readonly durability: "durable";
8184
- readonly namespace: "effect-durable-agent";
8185
- readonly type: "CompactionStarted";
8186
- readonly schemaVersion: number;
8187
- readonly payload: {
8188
- readonly compactionId: string & import("effect/Brand").Brand<"CompactionId">;
8189
- };
8190
- } | {
8191
- readonly eventId: string & import("effect/Brand").Brand<"EventId">;
8192
- readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
8193
- readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
8194
- readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
8195
- readonly trace: {
8196
- readonly span: {
8197
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
8198
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
8199
- readonly sampled: boolean;
8200
- readonly tracestate: string | null;
8201
- };
8202
- readonly links: readonly {
8203
- readonly context: {
8204
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
8205
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
8206
- readonly sampled: boolean;
8207
- readonly tracestate: string | null;
8208
- };
8209
- readonly attributes: {
8210
- readonly [x: string]: string | number | boolean;
8211
- };
8212
- }[];
8213
- };
8214
- readonly durability: "durable";
8215
- readonly namespace: "effect-durable-agent";
8216
- readonly type: "SummaryCreated";
8217
- readonly schemaVersion: number;
8218
- readonly payload: {
8219
- readonly compactionId: string & import("effect/Brand").Brand<"CompactionId">;
8220
- readonly summaryId: string & import("effect/Brand").Brand<"SummaryId">;
8221
- readonly sourceFromSeq: number & import("effect/Brand").Brand<"SequenceNumber">;
8222
- readonly sourceToSeq: number & import("effect/Brand").Brand<"SequenceNumber">;
8223
- readonly summary: unknown;
8224
- };
8225
- } | {
8226
- readonly eventId: string & import("effect/Brand").Brand<"EventId">;
8227
- readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
8228
- readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
8229
- readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
8230
- readonly trace: {
8231
- readonly span: {
8232
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
8233
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
8234
- readonly sampled: boolean;
8235
- readonly tracestate: string | null;
8236
- };
8237
- readonly links: readonly {
8238
- readonly context: {
8239
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
8240
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
8241
- readonly sampled: boolean;
8242
- readonly tracestate: string | null;
8243
- };
8244
- readonly attributes: {
8245
- readonly [x: string]: string | number | boolean;
8246
- };
8247
- }[];
8248
- };
8249
- readonly durability: "durable";
8250
- readonly namespace: "effect-durable-agent";
8251
- readonly type: "CompactionCompleted";
8252
- readonly schemaVersion: number;
8253
- readonly payload: {
8254
- readonly compactionId: string & import("effect/Brand").Brand<"CompactionId">;
8255
- readonly modelSelection?: {
8256
- readonly provider: string;
8257
- readonly modelId: string;
8258
- readonly settings?: unknown;
8259
- } | undefined;
8260
- readonly usage?: {
8261
- readonly inputTokens?: number | undefined;
8262
- readonly cachedInputTokens?: number | undefined;
8263
- readonly cacheWriteInputTokens?: number | undefined;
8264
- readonly outputTokens?: number | undefined;
8265
- readonly textTokens?: number | undefined;
8266
- readonly reasoningTokens?: number | undefined;
8267
- } | undefined;
8268
- };
8269
- } | {
8270
- readonly eventId: string & import("effect/Brand").Brand<"EventId">;
8271
- readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
8272
- readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
8273
- readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
8274
- readonly trace: {
8275
- readonly span: {
8276
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
8277
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
8278
- readonly sampled: boolean;
8279
- readonly tracestate: string | null;
8280
- };
8281
- readonly links: readonly {
8282
- readonly context: {
8283
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
8284
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
8285
- readonly sampled: boolean;
8286
- readonly tracestate: string | null;
8287
- };
8288
- readonly attributes: {
8289
- readonly [x: string]: string | number | boolean;
8290
- };
8291
- }[];
8292
- };
8293
- readonly durability: "durable";
8294
- readonly namespace: "effect-durable-agent";
8295
- readonly type: "ContextRebased";
8296
- readonly schemaVersion: number;
8297
- readonly payload: {
8298
- readonly compactionId: string & import("effect/Brand").Brand<"CompactionId">;
8299
- readonly summaryId: string & import("effect/Brand").Brand<"SummaryId">;
8300
- readonly contextVersion: number & import("effect/Brand").Brand<"ContextVersion">;
8301
- readonly retainedFromContextSeq: number & import("effect/Brand").Brand<"SequenceNumber">;
8302
- };
8303
- } | {
8304
- readonly eventId: string & import("effect/Brand").Brand<"EventId">;
8305
- readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
8306
- readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
8307
- readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
8308
- readonly trace: {
8309
- readonly span: {
8310
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
8311
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
8312
- readonly sampled: boolean;
8313
- readonly tracestate: string | null;
8314
- };
8315
- readonly links: readonly {
8316
- readonly context: {
8317
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
8318
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
8319
- readonly sampled: boolean;
8320
- readonly tracestate: string | null;
8321
- };
8322
- readonly attributes: {
8323
- readonly [x: string]: string | number | boolean;
8324
- };
8325
- }[];
8326
- };
8327
- readonly durability: "durable";
8328
- readonly namespace: "effect-durable-agent";
8329
- readonly type: "CompactionFailed";
8330
- readonly schemaVersion: number;
8331
- readonly payload: {
8332
- readonly compactionId: string & import("effect/Brand").Brand<"CompactionId">;
8333
- readonly error: {
8334
- readonly message: string;
8335
- readonly code?: string | undefined;
8336
- readonly details?: unknown;
8337
- };
8338
- readonly modelSelection?: {
8339
- readonly provider: string;
8340
- readonly modelId: string;
8341
- readonly settings?: unknown;
8342
- } | undefined;
8343
- readonly usage?: {
8344
- readonly inputTokens?: number | undefined;
8345
- readonly cachedInputTokens?: number | undefined;
8346
- readonly cacheWriteInputTokens?: number | undefined;
8347
- readonly outputTokens?: number | undefined;
8348
- readonly textTokens?: number | undefined;
8349
- readonly reasoningTokens?: number | undefined;
8350
- } | undefined;
8222
+ };
8223
+ } | {
8224
+ readonly eventId: string & import("effect/Brand").Brand<"EventId">;
8225
+ readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
8226
+ readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
8227
+ readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
8228
+ readonly trace: {
8229
+ readonly span: {
8230
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
8231
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
8232
+ readonly sampled: boolean;
8233
+ readonly tracestate: string | null;
8234
+ };
8235
+ readonly links: readonly {
8236
+ readonly context: {
8237
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
8238
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
8239
+ readonly sampled: boolean;
8240
+ readonly tracestate: string | null;
8241
+ };
8242
+ readonly attributes: {
8243
+ readonly [x: string]: string | number | boolean;
8244
+ };
8245
+ }[];
8246
+ };
8247
+ readonly durability: "durable";
8248
+ readonly namespace: "effect-durable-agent";
8249
+ readonly type: "SummaryCreated";
8250
+ readonly schemaVersion: number;
8251
+ readonly payload: {
8252
+ readonly compactionId: string & import("effect/Brand").Brand<"CompactionId">;
8253
+ readonly summaryId: string & import("effect/Brand").Brand<"SummaryId">;
8254
+ readonly sourceFromSeq: number & import("effect/Brand").Brand<"SequenceNumber">;
8255
+ readonly sourceToSeq: number & import("effect/Brand").Brand<"SequenceNumber">;
8256
+ readonly summary: unknown;
8257
+ };
8258
+ } | {
8259
+ readonly eventId: string & import("effect/Brand").Brand<"EventId">;
8260
+ readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
8261
+ readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
8262
+ readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
8263
+ readonly trace: {
8264
+ readonly span: {
8265
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
8266
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
8267
+ readonly sampled: boolean;
8268
+ readonly tracestate: string | null;
8269
+ };
8270
+ readonly links: readonly {
8271
+ readonly context: {
8272
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
8273
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
8274
+ readonly sampled: boolean;
8275
+ readonly tracestate: string | null;
8276
+ };
8277
+ readonly attributes: {
8278
+ readonly [x: string]: string | number | boolean;
8279
+ };
8280
+ }[];
8281
+ };
8282
+ readonly durability: "durable";
8283
+ readonly namespace: "effect-durable-agent";
8284
+ readonly type: "CompactionCompleted";
8285
+ readonly schemaVersion: number;
8286
+ readonly payload: {
8287
+ readonly compactionId: string & import("effect/Brand").Brand<"CompactionId">;
8288
+ readonly modelSelection?: {
8289
+ readonly provider: string;
8290
+ readonly modelId: string;
8291
+ readonly settings?: unknown;
8292
+ } | undefined;
8293
+ readonly usage?: {
8294
+ readonly inputTokens?: number | undefined;
8295
+ readonly cachedInputTokens?: number | undefined;
8296
+ readonly cacheWriteInputTokens?: number | undefined;
8297
+ readonly outputTokens?: number | undefined;
8298
+ readonly textTokens?: number | undefined;
8299
+ readonly reasoningTokens?: number | undefined;
8300
+ } | undefined;
8301
+ };
8302
+ } | {
8303
+ readonly eventId: string & import("effect/Brand").Brand<"EventId">;
8304
+ readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
8305
+ readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
8306
+ readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
8307
+ readonly trace: {
8308
+ readonly span: {
8309
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
8310
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
8311
+ readonly sampled: boolean;
8312
+ readonly tracestate: string | null;
8313
+ };
8314
+ readonly links: readonly {
8315
+ readonly context: {
8316
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
8317
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
8318
+ readonly sampled: boolean;
8319
+ readonly tracestate: string | null;
8320
+ };
8321
+ readonly attributes: {
8322
+ readonly [x: string]: string | number | boolean;
8323
+ };
8324
+ }[];
8325
+ };
8326
+ readonly durability: "durable";
8327
+ readonly namespace: "effect-durable-agent";
8328
+ readonly type: "ContextRebased";
8329
+ readonly schemaVersion: number;
8330
+ readonly payload: {
8331
+ readonly compactionId: string & import("effect/Brand").Brand<"CompactionId">;
8332
+ readonly summaryId: string & import("effect/Brand").Brand<"SummaryId">;
8333
+ readonly contextVersion: number & import("effect/Brand").Brand<"ContextVersion">;
8334
+ readonly retainedFromContextSeq: number & import("effect/Brand").Brand<"SequenceNumber">;
8335
+ };
8336
+ } | {
8337
+ readonly eventId: string & import("effect/Brand").Brand<"EventId">;
8338
+ readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
8339
+ readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
8340
+ readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
8341
+ readonly trace: {
8342
+ readonly span: {
8343
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
8344
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
8345
+ readonly sampled: boolean;
8346
+ readonly tracestate: string | null;
8347
+ };
8348
+ readonly links: readonly {
8349
+ readonly context: {
8350
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
8351
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
8352
+ readonly sampled: boolean;
8353
+ readonly tracestate: string | null;
8354
+ };
8355
+ readonly attributes: {
8356
+ readonly [x: string]: string | number | boolean;
8357
+ };
8358
+ }[];
8359
+ };
8360
+ readonly durability: "durable";
8361
+ readonly namespace: "effect-durable-agent";
8362
+ readonly type: "CompactionFailed";
8363
+ readonly schemaVersion: number;
8364
+ readonly payload: {
8365
+ readonly compactionId: string & import("effect/Brand").Brand<"CompactionId">;
8366
+ readonly error: {
8367
+ readonly message: string;
8368
+ readonly code?: string | undefined;
8369
+ readonly details?: unknown;
8370
+ };
8371
+ readonly modelSelection?: {
8372
+ readonly provider: string;
8373
+ readonly modelId: string;
8374
+ readonly settings?: unknown;
8375
+ } | undefined;
8376
+ readonly usage?: {
8377
+ readonly inputTokens?: number | undefined;
8378
+ readonly cachedInputTokens?: number | undefined;
8379
+ readonly cacheWriteInputTokens?: number | undefined;
8380
+ readonly outputTokens?: number | undefined;
8381
+ readonly textTokens?: number | undefined;
8382
+ readonly reasoningTokens?: number | undefined;
8383
+ } | undefined;
8351
8384
  };
8352
8385
  } | {
8353
8386
  readonly eventId: string & import("effect/Brand").Brand<"EventId">;
@@ -8549,6 +8582,70 @@ declare const InferenceRunResult: Schema.Struct<{
8549
8582
  readonly partsRecorded: Schema.Int;
8550
8583
  readonly terminal: Schema.Union<readonly [Schema.TaggedStruct<"InferenceRunFinished", {
8551
8584
  readonly committed: Schema.$Array<Schema.Codec<CommittedDurableEvent<{
8585
+ readonly eventId: string & import("effect/Brand").Brand<"EventId">;
8586
+ readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
8587
+ readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
8588
+ readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
8589
+ readonly trace: {
8590
+ readonly span: {
8591
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
8592
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
8593
+ readonly sampled: boolean;
8594
+ readonly tracestate: string | null;
8595
+ };
8596
+ readonly links: readonly {
8597
+ readonly context: {
8598
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
8599
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
8600
+ readonly sampled: boolean;
8601
+ readonly tracestate: string | null;
8602
+ };
8603
+ readonly attributes: {
8604
+ readonly [x: string]: string | number | boolean;
8605
+ };
8606
+ }[];
8607
+ };
8608
+ readonly durability: "durable";
8609
+ readonly namespace: "effect-durable-agent";
8610
+ readonly type: "CompactionRequested";
8611
+ readonly schemaVersion: number;
8612
+ readonly payload: {
8613
+ readonly compactionId: string & import("effect/Brand").Brand<"CompactionId">;
8614
+ readonly sourceFromSeq: number & import("effect/Brand").Brand<"SequenceNumber">;
8615
+ readonly sourceToSeq: number & import("effect/Brand").Brand<"SequenceNumber">;
8616
+ };
8617
+ } | {
8618
+ readonly eventId: string & import("effect/Brand").Brand<"EventId">;
8619
+ readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
8620
+ readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
8621
+ readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
8622
+ readonly trace: {
8623
+ readonly span: {
8624
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
8625
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
8626
+ readonly sampled: boolean;
8627
+ readonly tracestate: string | null;
8628
+ };
8629
+ readonly links: readonly {
8630
+ readonly context: {
8631
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
8632
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
8633
+ readonly sampled: boolean;
8634
+ readonly tracestate: string | null;
8635
+ };
8636
+ readonly attributes: {
8637
+ readonly [x: string]: string | number | boolean;
8638
+ };
8639
+ }[];
8640
+ };
8641
+ readonly durability: "durable";
8642
+ readonly namespace: "effect-durable-agent";
8643
+ readonly type: "CompactionStarted";
8644
+ readonly schemaVersion: number;
8645
+ readonly payload: {
8646
+ readonly compactionId: string & import("effect/Brand").Brand<"CompactionId">;
8647
+ };
8648
+ } | {
8552
8649
  readonly eventId: string & import("effect/Brand").Brand<"EventId">;
8553
8650
  readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
8554
8651
  readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
@@ -8697,6 +8794,7 @@ declare const InferenceRunResult: Schema.Struct<{
8697
8794
  readonly name: string;
8698
8795
  readonly isFailure: boolean;
8699
8796
  readonly result: unknown;
8797
+ readonly providerExecuted: boolean;
8700
8798
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
8701
8799
  readonly options: {
8702
8800
  readonly [x: string]: Schema.Json;
@@ -8748,6 +8846,7 @@ declare const InferenceRunResult: Schema.Struct<{
8748
8846
  readonly name: string;
8749
8847
  readonly isFailure: boolean;
8750
8848
  readonly result: unknown;
8849
+ readonly providerExecuted: boolean;
8751
8850
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
8752
8851
  readonly options: {
8753
8852
  readonly [x: string]: Schema.Json;
@@ -9654,6 +9753,7 @@ declare const InferenceRunResult: Schema.Struct<{
9654
9753
  readonly name: string;
9655
9754
  readonly isFailure: boolean;
9656
9755
  readonly result: unknown;
9756
+ readonly providerExecuted: boolean;
9657
9757
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
9658
9758
  readonly options: {
9659
9759
  readonly [x: string]: Schema.Json;
@@ -9705,6 +9805,7 @@ declare const InferenceRunResult: Schema.Struct<{
9705
9805
  readonly name: string;
9706
9806
  readonly isFailure: boolean;
9707
9807
  readonly result: unknown;
9808
+ readonly providerExecuted: boolean;
9708
9809
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
9709
9810
  readonly options: {
9710
9811
  readonly [x: string]: Schema.Json;
@@ -9791,6 +9892,7 @@ declare const InferenceRunResult: Schema.Struct<{
9791
9892
  readonly name: string;
9792
9893
  readonly isFailure: boolean;
9793
9894
  readonly result: unknown;
9895
+ readonly providerExecuted: boolean;
9794
9896
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
9795
9897
  readonly options: {
9796
9898
  readonly [x: string]: Schema.Json;
@@ -9842,6 +9944,7 @@ declare const InferenceRunResult: Schema.Struct<{
9842
9944
  readonly name: string;
9843
9945
  readonly isFailure: boolean;
9844
9946
  readonly result: unknown;
9947
+ readonly providerExecuted: boolean;
9845
9948
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
9846
9949
  readonly options: {
9847
9950
  readonly [x: string]: Schema.Json;
@@ -9928,6 +10031,7 @@ declare const InferenceRunResult: Schema.Struct<{
9928
10031
  readonly name: string;
9929
10032
  readonly isFailure: boolean;
9930
10033
  readonly result: unknown;
10034
+ readonly providerExecuted: boolean;
9931
10035
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
9932
10036
  readonly options: {
9933
10037
  readonly [x: string]: Schema.Json;
@@ -9979,6 +10083,7 @@ declare const InferenceRunResult: Schema.Struct<{
9979
10083
  readonly name: string;
9980
10084
  readonly isFailure: boolean;
9981
10085
  readonly result: unknown;
10086
+ readonly providerExecuted: boolean;
9982
10087
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
9983
10088
  readonly options: {
9984
10089
  readonly [x: string]: Schema.Json;
@@ -10523,6 +10628,7 @@ declare const InferenceRunResult: Schema.Struct<{
10523
10628
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
10524
10629
  readonly promptPart: {
10525
10630
  readonly type: "tool-result";
10631
+ readonly providerExecuted: boolean;
10526
10632
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
10527
10633
  readonly options: {
10528
10634
  readonly [x: string]: Schema.Json;
@@ -10600,6 +10706,7 @@ declare const InferenceRunResult: Schema.Struct<{
10600
10706
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
10601
10707
  readonly promptPart: {
10602
10708
  readonly type: "tool-result";
10709
+ readonly providerExecuted: boolean;
10603
10710
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
10604
10711
  readonly options: {
10605
10712
  readonly [x: string]: Schema.Json;
@@ -10647,6 +10754,7 @@ declare const InferenceRunResult: Schema.Struct<{
10647
10754
  } | undefined;
10648
10755
  readonly promptPart: {
10649
10756
  readonly type: "tool-result";
10757
+ readonly providerExecuted: boolean;
10650
10758
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
10651
10759
  readonly options: {
10652
10760
  readonly [x: string]: Schema.Json;
@@ -10760,70 +10868,6 @@ declare const InferenceRunResult: Schema.Struct<{
10760
10868
  readonly contextVersion: number & import("effect/Brand").Brand<"ContextVersion">;
10761
10869
  readonly throughSeq: number & import("effect/Brand").Brand<"SequenceNumber">;
10762
10870
  };
10763
- } | {
10764
- readonly eventId: string & import("effect/Brand").Brand<"EventId">;
10765
- readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
10766
- readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
10767
- readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
10768
- readonly trace: {
10769
- readonly span: {
10770
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
10771
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
10772
- readonly sampled: boolean;
10773
- readonly tracestate: string | null;
10774
- };
10775
- readonly links: readonly {
10776
- readonly context: {
10777
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
10778
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
10779
- readonly sampled: boolean;
10780
- readonly tracestate: string | null;
10781
- };
10782
- readonly attributes: {
10783
- readonly [x: string]: string | number | boolean;
10784
- };
10785
- }[];
10786
- };
10787
- readonly durability: "durable";
10788
- readonly namespace: "effect-durable-agent";
10789
- readonly type: "CompactionRequested";
10790
- readonly schemaVersion: number;
10791
- readonly payload: {
10792
- readonly compactionId: string & import("effect/Brand").Brand<"CompactionId">;
10793
- readonly sourceFromSeq: number & import("effect/Brand").Brand<"SequenceNumber">;
10794
- readonly sourceToSeq: number & import("effect/Brand").Brand<"SequenceNumber">;
10795
- };
10796
- } | {
10797
- readonly eventId: string & import("effect/Brand").Brand<"EventId">;
10798
- readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
10799
- readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
10800
- readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
10801
- readonly trace: {
10802
- readonly span: {
10803
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
10804
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
10805
- readonly sampled: boolean;
10806
- readonly tracestate: string | null;
10807
- };
10808
- readonly links: readonly {
10809
- readonly context: {
10810
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
10811
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
10812
- readonly sampled: boolean;
10813
- readonly tracestate: string | null;
10814
- };
10815
- readonly attributes: {
10816
- readonly [x: string]: string | number | boolean;
10817
- };
10818
- }[];
10819
- };
10820
- readonly durability: "durable";
10821
- readonly namespace: "effect-durable-agent";
10822
- readonly type: "CompactionStarted";
10823
- readonly schemaVersion: number;
10824
- readonly payload: {
10825
- readonly compactionId: string & import("effect/Brand").Brand<"CompactionId">;
10826
- };
10827
10871
  } | {
10828
10872
  readonly eventId: string & import("effect/Brand").Brand<"EventId">;
10829
10873
  readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
@@ -11188,6 +11232,70 @@ declare const InferenceRunResult: Schema.Struct<{
11188
11232
  readonly responseParts: Schema.$Array<Schema.Any>;
11189
11233
  }>, Schema.TaggedStruct<"InferenceRunFailed", {
11190
11234
  readonly committed: Schema.$Array<Schema.Codec<CommittedDurableEvent<{
11235
+ readonly eventId: string & import("effect/Brand").Brand<"EventId">;
11236
+ readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
11237
+ readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
11238
+ readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
11239
+ readonly trace: {
11240
+ readonly span: {
11241
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
11242
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
11243
+ readonly sampled: boolean;
11244
+ readonly tracestate: string | null;
11245
+ };
11246
+ readonly links: readonly {
11247
+ readonly context: {
11248
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
11249
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
11250
+ readonly sampled: boolean;
11251
+ readonly tracestate: string | null;
11252
+ };
11253
+ readonly attributes: {
11254
+ readonly [x: string]: string | number | boolean;
11255
+ };
11256
+ }[];
11257
+ };
11258
+ readonly durability: "durable";
11259
+ readonly namespace: "effect-durable-agent";
11260
+ readonly type: "CompactionRequested";
11261
+ readonly schemaVersion: number;
11262
+ readonly payload: {
11263
+ readonly compactionId: string & import("effect/Brand").Brand<"CompactionId">;
11264
+ readonly sourceFromSeq: number & import("effect/Brand").Brand<"SequenceNumber">;
11265
+ readonly sourceToSeq: number & import("effect/Brand").Brand<"SequenceNumber">;
11266
+ };
11267
+ } | {
11268
+ readonly eventId: string & import("effect/Brand").Brand<"EventId">;
11269
+ readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
11270
+ readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
11271
+ readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
11272
+ readonly trace: {
11273
+ readonly span: {
11274
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
11275
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
11276
+ readonly sampled: boolean;
11277
+ readonly tracestate: string | null;
11278
+ };
11279
+ readonly links: readonly {
11280
+ readonly context: {
11281
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
11282
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
11283
+ readonly sampled: boolean;
11284
+ readonly tracestate: string | null;
11285
+ };
11286
+ readonly attributes: {
11287
+ readonly [x: string]: string | number | boolean;
11288
+ };
11289
+ }[];
11290
+ };
11291
+ readonly durability: "durable";
11292
+ readonly namespace: "effect-durable-agent";
11293
+ readonly type: "CompactionStarted";
11294
+ readonly schemaVersion: number;
11295
+ readonly payload: {
11296
+ readonly compactionId: string & import("effect/Brand").Brand<"CompactionId">;
11297
+ };
11298
+ } | {
11191
11299
  readonly eventId: string & import("effect/Brand").Brand<"EventId">;
11192
11300
  readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
11193
11301
  readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
@@ -11336,6 +11444,7 @@ declare const InferenceRunResult: Schema.Struct<{
11336
11444
  readonly name: string;
11337
11445
  readonly isFailure: boolean;
11338
11446
  readonly result: unknown;
11447
+ readonly providerExecuted: boolean;
11339
11448
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
11340
11449
  readonly options: {
11341
11450
  readonly [x: string]: Schema.Json;
@@ -11387,6 +11496,7 @@ declare const InferenceRunResult: Schema.Struct<{
11387
11496
  readonly name: string;
11388
11497
  readonly isFailure: boolean;
11389
11498
  readonly result: unknown;
11499
+ readonly providerExecuted: boolean;
11390
11500
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
11391
11501
  readonly options: {
11392
11502
  readonly [x: string]: Schema.Json;
@@ -12293,6 +12403,7 @@ declare const InferenceRunResult: Schema.Struct<{
12293
12403
  readonly name: string;
12294
12404
  readonly isFailure: boolean;
12295
12405
  readonly result: unknown;
12406
+ readonly providerExecuted: boolean;
12296
12407
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
12297
12408
  readonly options: {
12298
12409
  readonly [x: string]: Schema.Json;
@@ -12344,6 +12455,7 @@ declare const InferenceRunResult: Schema.Struct<{
12344
12455
  readonly name: string;
12345
12456
  readonly isFailure: boolean;
12346
12457
  readonly result: unknown;
12458
+ readonly providerExecuted: boolean;
12347
12459
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
12348
12460
  readonly options: {
12349
12461
  readonly [x: string]: Schema.Json;
@@ -12430,6 +12542,7 @@ declare const InferenceRunResult: Schema.Struct<{
12430
12542
  readonly name: string;
12431
12543
  readonly isFailure: boolean;
12432
12544
  readonly result: unknown;
12545
+ readonly providerExecuted: boolean;
12433
12546
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
12434
12547
  readonly options: {
12435
12548
  readonly [x: string]: Schema.Json;
@@ -12481,6 +12594,7 @@ declare const InferenceRunResult: Schema.Struct<{
12481
12594
  readonly name: string;
12482
12595
  readonly isFailure: boolean;
12483
12596
  readonly result: unknown;
12597
+ readonly providerExecuted: boolean;
12484
12598
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
12485
12599
  readonly options: {
12486
12600
  readonly [x: string]: Schema.Json;
@@ -12567,6 +12681,7 @@ declare const InferenceRunResult: Schema.Struct<{
12567
12681
  readonly name: string;
12568
12682
  readonly isFailure: boolean;
12569
12683
  readonly result: unknown;
12684
+ readonly providerExecuted: boolean;
12570
12685
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
12571
12686
  readonly options: {
12572
12687
  readonly [x: string]: Schema.Json;
@@ -12618,6 +12733,7 @@ declare const InferenceRunResult: Schema.Struct<{
12618
12733
  readonly name: string;
12619
12734
  readonly isFailure: boolean;
12620
12735
  readonly result: unknown;
12736
+ readonly providerExecuted: boolean;
12621
12737
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
12622
12738
  readonly options: {
12623
12739
  readonly [x: string]: Schema.Json;
@@ -13153,139 +13269,16 @@ declare const InferenceRunResult: Schema.Struct<{
13153
13269
  };
13154
13270
  readonly durability: "durable";
13155
13271
  readonly namespace: "effect-durable-agent";
13156
- readonly type: "ToolCallRejected";
13157
- readonly schemaVersion: number;
13158
- readonly payload: {
13159
- readonly runId: string & import("effect/Brand").Brand<"RunId">;
13160
- readonly turnId: string & import("effect/Brand").Brand<"TurnId">;
13161
- readonly inferenceId: string & import("effect/Brand").Brand<"InferenceId">;
13162
- readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
13163
- readonly promptPart: {
13164
- readonly type: "tool-result";
13165
- readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
13166
- readonly options: {
13167
- readonly [x: string]: Schema.Json;
13168
- };
13169
- readonly id: string & import("effect/Brand").Brand<"ProviderPartId">;
13170
- readonly name: string;
13171
- readonly isFailure: true;
13172
- readonly result: {
13173
- readonly message: string;
13174
- readonly reason: "invalid-params" | "unknown-tool";
13175
- readonly modelFeedback: string;
13176
- };
13177
- };
13178
- };
13179
- } | {
13180
- readonly eventId: string & import("effect/Brand").Brand<"EventId">;
13181
- readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
13182
- readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
13183
- readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
13184
- readonly trace: {
13185
- readonly span: {
13186
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
13187
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
13188
- readonly sampled: boolean;
13189
- readonly tracestate: string | null;
13190
- };
13191
- readonly links: readonly {
13192
- readonly context: {
13193
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
13194
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
13195
- readonly sampled: boolean;
13196
- readonly tracestate: string | null;
13197
- };
13198
- readonly attributes: {
13199
- readonly [x: string]: string | number | boolean;
13200
- };
13201
- }[];
13202
- };
13203
- readonly durability: "durable";
13204
- readonly namespace: "effect-durable-agent";
13205
- readonly type: "ToolCallStarted";
13206
- readonly schemaVersion: number;
13207
- readonly payload: {
13208
- readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
13209
- };
13210
- } | {
13211
- readonly eventId: string & import("effect/Brand").Brand<"EventId">;
13212
- readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
13213
- readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
13214
- readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
13215
- readonly trace: {
13216
- readonly span: {
13217
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
13218
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
13219
- readonly sampled: boolean;
13220
- readonly tracestate: string | null;
13221
- };
13222
- readonly links: readonly {
13223
- readonly context: {
13224
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
13225
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
13226
- readonly sampled: boolean;
13227
- readonly tracestate: string | null;
13228
- };
13229
- readonly attributes: {
13230
- readonly [x: string]: string | number | boolean;
13231
- };
13232
- }[];
13233
- };
13234
- readonly durability: "durable";
13235
- readonly namespace: "effect-durable-agent";
13236
- readonly type: "ToolCallCompleted";
13237
- readonly schemaVersion: number;
13238
- readonly payload: {
13239
- readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
13240
- readonly promptPart: {
13241
- readonly type: "tool-result";
13242
- readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
13243
- readonly options: {
13244
- readonly [x: string]: Schema.Json;
13245
- };
13246
- readonly id: string & import("effect/Brand").Brand<"ProviderPartId">;
13247
- readonly name: string;
13248
- readonly isFailure: false;
13249
- readonly result: unknown;
13250
- };
13251
- };
13252
- } | {
13253
- readonly eventId: string & import("effect/Brand").Brand<"EventId">;
13254
- readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
13255
- readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
13256
- readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
13257
- readonly trace: {
13258
- readonly span: {
13259
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
13260
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
13261
- readonly sampled: boolean;
13262
- readonly tracestate: string | null;
13263
- };
13264
- readonly links: readonly {
13265
- readonly context: {
13266
- readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
13267
- readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
13268
- readonly sampled: boolean;
13269
- readonly tracestate: string | null;
13270
- };
13271
- readonly attributes: {
13272
- readonly [x: string]: string | number | boolean;
13273
- };
13274
- }[];
13275
- };
13276
- readonly durability: "durable";
13277
- readonly namespace: "effect-durable-agent";
13278
- readonly type: "ToolCallFailed";
13272
+ readonly type: "ToolCallRejected";
13279
13273
  readonly schemaVersion: number;
13280
13274
  readonly payload: {
13275
+ readonly runId: string & import("effect/Brand").Brand<"RunId">;
13276
+ readonly turnId: string & import("effect/Brand").Brand<"TurnId">;
13277
+ readonly inferenceId: string & import("effect/Brand").Brand<"InferenceId">;
13281
13278
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
13282
- readonly error?: {
13283
- readonly message: string;
13284
- readonly code?: string | undefined;
13285
- readonly details?: unknown;
13286
- } | undefined;
13287
13279
  readonly promptPart: {
13288
13280
  readonly type: "tool-result";
13281
+ readonly providerExecuted: boolean;
13289
13282
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
13290
13283
  readonly options: {
13291
13284
  readonly [x: string]: Schema.Json;
@@ -13295,8 +13288,8 @@ declare const InferenceRunResult: Schema.Struct<{
13295
13288
  readonly isFailure: true;
13296
13289
  readonly result: {
13297
13290
  readonly message: string;
13298
- readonly code?: string | undefined;
13299
- readonly details?: unknown;
13291
+ readonly reason: "invalid-params" | "unknown-tool";
13292
+ readonly modelFeedback: string;
13300
13293
  };
13301
13294
  };
13302
13295
  };
@@ -13326,12 +13319,10 @@ declare const InferenceRunResult: Schema.Struct<{
13326
13319
  };
13327
13320
  readonly durability: "durable";
13328
13321
  readonly namespace: "effect-durable-agent";
13329
- readonly type: "StopTurnRequested";
13322
+ readonly type: "ToolCallStarted";
13330
13323
  readonly schemaVersion: number;
13331
13324
  readonly payload: {
13332
- readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
13333
- readonly runId?: (string & import("effect/Brand").Brand<"RunId">) | undefined;
13334
- readonly turnId?: (string & import("effect/Brand").Brand<"TurnId">) | undefined;
13325
+ readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
13335
13326
  };
13336
13327
  } | {
13337
13328
  readonly eventId: string & import("effect/Brand").Brand<"EventId">;
@@ -13359,13 +13350,22 @@ declare const InferenceRunResult: Schema.Struct<{
13359
13350
  };
13360
13351
  readonly durability: "durable";
13361
13352
  readonly namespace: "effect-durable-agent";
13362
- readonly type: "StopTurnApplied";
13353
+ readonly type: "ToolCallCompleted";
13363
13354
  readonly schemaVersion: number;
13364
13355
  readonly payload: {
13365
- readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
13366
- readonly runId: string & import("effect/Brand").Brand<"RunId">;
13367
- readonly turnId: string & import("effect/Brand").Brand<"TurnId">;
13368
- readonly inferenceId?: (string & import("effect/Brand").Brand<"InferenceId">) | undefined;
13356
+ readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
13357
+ readonly promptPart: {
13358
+ readonly type: "tool-result";
13359
+ readonly providerExecuted: boolean;
13360
+ readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
13361
+ readonly options: {
13362
+ readonly [x: string]: Schema.Json;
13363
+ };
13364
+ readonly id: string & import("effect/Brand").Brand<"ProviderPartId">;
13365
+ readonly name: string;
13366
+ readonly isFailure: false;
13367
+ readonly result: unknown;
13368
+ };
13369
13369
  };
13370
13370
  } | {
13371
13371
  readonly eventId: string & import("effect/Brand").Brand<"EventId">;
@@ -13393,11 +13393,31 @@ declare const InferenceRunResult: Schema.Struct<{
13393
13393
  };
13394
13394
  readonly durability: "durable";
13395
13395
  readonly namespace: "effect-durable-agent";
13396
- readonly type: "ContextProjected";
13396
+ readonly type: "ToolCallFailed";
13397
13397
  readonly schemaVersion: number;
13398
13398
  readonly payload: {
13399
- readonly contextVersion: number & import("effect/Brand").Brand<"ContextVersion">;
13400
- readonly throughSeq: number & import("effect/Brand").Brand<"SequenceNumber">;
13399
+ readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
13400
+ readonly error?: {
13401
+ readonly message: string;
13402
+ readonly code?: string | undefined;
13403
+ readonly details?: unknown;
13404
+ } | undefined;
13405
+ readonly promptPart: {
13406
+ readonly type: "tool-result";
13407
+ readonly providerExecuted: boolean;
13408
+ readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
13409
+ readonly options: {
13410
+ readonly [x: string]: Schema.Json;
13411
+ };
13412
+ readonly id: string & import("effect/Brand").Brand<"ProviderPartId">;
13413
+ readonly name: string;
13414
+ readonly isFailure: true;
13415
+ readonly result: {
13416
+ readonly message: string;
13417
+ readonly code?: string | undefined;
13418
+ readonly details?: unknown;
13419
+ };
13420
+ };
13401
13421
  };
13402
13422
  } | {
13403
13423
  readonly eventId: string & import("effect/Brand").Brand<"EventId">;
@@ -13425,12 +13445,12 @@ declare const InferenceRunResult: Schema.Struct<{
13425
13445
  };
13426
13446
  readonly durability: "durable";
13427
13447
  readonly namespace: "effect-durable-agent";
13428
- readonly type: "CompactionRequested";
13448
+ readonly type: "StopTurnRequested";
13429
13449
  readonly schemaVersion: number;
13430
13450
  readonly payload: {
13431
- readonly compactionId: string & import("effect/Brand").Brand<"CompactionId">;
13432
- readonly sourceFromSeq: number & import("effect/Brand").Brand<"SequenceNumber">;
13433
- readonly sourceToSeq: number & import("effect/Brand").Brand<"SequenceNumber">;
13451
+ readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
13452
+ readonly runId?: (string & import("effect/Brand").Brand<"RunId">) | undefined;
13453
+ readonly turnId?: (string & import("effect/Brand").Brand<"TurnId">) | undefined;
13434
13454
  };
13435
13455
  } | {
13436
13456
  readonly eventId: string & import("effect/Brand").Brand<"EventId">;
@@ -13458,10 +13478,45 @@ declare const InferenceRunResult: Schema.Struct<{
13458
13478
  };
13459
13479
  readonly durability: "durable";
13460
13480
  readonly namespace: "effect-durable-agent";
13461
- readonly type: "CompactionStarted";
13481
+ readonly type: "StopTurnApplied";
13462
13482
  readonly schemaVersion: number;
13463
13483
  readonly payload: {
13464
- readonly compactionId: string & import("effect/Brand").Brand<"CompactionId">;
13484
+ readonly commandId: string & import("effect/Brand").Brand<"CommandId">;
13485
+ readonly runId: string & import("effect/Brand").Brand<"RunId">;
13486
+ readonly turnId: string & import("effect/Brand").Brand<"TurnId">;
13487
+ readonly inferenceId?: (string & import("effect/Brand").Brand<"InferenceId">) | undefined;
13488
+ };
13489
+ } | {
13490
+ readonly eventId: string & import("effect/Brand").Brand<"EventId">;
13491
+ readonly sessionId: string & import("effect/Brand").Brand<"SessionId">;
13492
+ readonly correlationId?: (string & import("effect/Brand").Brand<"CorrelationId">) | undefined;
13493
+ readonly createdAtMs: number & import("effect/Brand").Brand<"UnixEpochMillis">;
13494
+ readonly trace: {
13495
+ readonly span: {
13496
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
13497
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
13498
+ readonly sampled: boolean;
13499
+ readonly tracestate: string | null;
13500
+ };
13501
+ readonly links: readonly {
13502
+ readonly context: {
13503
+ readonly traceId: string & import("effect/Brand").Brand<"EDATraceId">;
13504
+ readonly spanId: string & import("effect/Brand").Brand<"EDASpanId">;
13505
+ readonly sampled: boolean;
13506
+ readonly tracestate: string | null;
13507
+ };
13508
+ readonly attributes: {
13509
+ readonly [x: string]: string | number | boolean;
13510
+ };
13511
+ }[];
13512
+ };
13513
+ readonly durability: "durable";
13514
+ readonly namespace: "effect-durable-agent";
13515
+ readonly type: "ContextProjected";
13516
+ readonly schemaVersion: number;
13517
+ readonly payload: {
13518
+ readonly contextVersion: number & import("effect/Brand").Brand<"ContextVersion">;
13519
+ readonly throughSeq: number & import("effect/Brand").Brand<"SequenceNumber">;
13465
13520
  };
13466
13521
  } | {
13467
13522
  readonly eventId: string & import("effect/Brand").Brand<"EventId">;
@@ -14015,6 +14070,7 @@ declare const TurnRunResult: Schema.Struct<{
14015
14070
  readonly name: string;
14016
14071
  readonly isFailure: boolean;
14017
14072
  readonly result: unknown;
14073
+ readonly providerExecuted: boolean;
14018
14074
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
14019
14075
  readonly options: {
14020
14076
  readonly [x: string]: Schema.Json;
@@ -14066,6 +14122,7 @@ declare const TurnRunResult: Schema.Struct<{
14066
14122
  readonly name: string;
14067
14123
  readonly isFailure: boolean;
14068
14124
  readonly result: unknown;
14125
+ readonly providerExecuted: boolean;
14069
14126
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
14070
14127
  readonly options: {
14071
14128
  readonly [x: string]: Schema.Json;
@@ -14972,6 +15029,7 @@ declare const TurnRunResult: Schema.Struct<{
14972
15029
  readonly name: string;
14973
15030
  readonly isFailure: boolean;
14974
15031
  readonly result: unknown;
15032
+ readonly providerExecuted: boolean;
14975
15033
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
14976
15034
  readonly options: {
14977
15035
  readonly [x: string]: Schema.Json;
@@ -15023,6 +15081,7 @@ declare const TurnRunResult: Schema.Struct<{
15023
15081
  readonly name: string;
15024
15082
  readonly isFailure: boolean;
15025
15083
  readonly result: unknown;
15084
+ readonly providerExecuted: boolean;
15026
15085
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
15027
15086
  readonly options: {
15028
15087
  readonly [x: string]: Schema.Json;
@@ -15109,6 +15168,7 @@ declare const TurnRunResult: Schema.Struct<{
15109
15168
  readonly name: string;
15110
15169
  readonly isFailure: boolean;
15111
15170
  readonly result: unknown;
15171
+ readonly providerExecuted: boolean;
15112
15172
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
15113
15173
  readonly options: {
15114
15174
  readonly [x: string]: Schema.Json;
@@ -15160,6 +15220,7 @@ declare const TurnRunResult: Schema.Struct<{
15160
15220
  readonly name: string;
15161
15221
  readonly isFailure: boolean;
15162
15222
  readonly result: unknown;
15223
+ readonly providerExecuted: boolean;
15163
15224
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
15164
15225
  readonly options: {
15165
15226
  readonly [x: string]: Schema.Json;
@@ -15246,6 +15307,7 @@ declare const TurnRunResult: Schema.Struct<{
15246
15307
  readonly name: string;
15247
15308
  readonly isFailure: boolean;
15248
15309
  readonly result: unknown;
15310
+ readonly providerExecuted: boolean;
15249
15311
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
15250
15312
  readonly options: {
15251
15313
  readonly [x: string]: Schema.Json;
@@ -15297,6 +15359,7 @@ declare const TurnRunResult: Schema.Struct<{
15297
15359
  readonly name: string;
15298
15360
  readonly isFailure: boolean;
15299
15361
  readonly result: unknown;
15362
+ readonly providerExecuted: boolean;
15300
15363
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
15301
15364
  readonly options: {
15302
15365
  readonly [x: string]: Schema.Json;
@@ -15841,6 +15904,7 @@ declare const TurnRunResult: Schema.Struct<{
15841
15904
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
15842
15905
  readonly promptPart: {
15843
15906
  readonly type: "tool-result";
15907
+ readonly providerExecuted: boolean;
15844
15908
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
15845
15909
  readonly options: {
15846
15910
  readonly [x: string]: Schema.Json;
@@ -15918,6 +15982,7 @@ declare const TurnRunResult: Schema.Struct<{
15918
15982
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
15919
15983
  readonly promptPart: {
15920
15984
  readonly type: "tool-result";
15985
+ readonly providerExecuted: boolean;
15921
15986
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
15922
15987
  readonly options: {
15923
15988
  readonly [x: string]: Schema.Json;
@@ -15965,6 +16030,7 @@ declare const TurnRunResult: Schema.Struct<{
15965
16030
  } | undefined;
15966
16031
  readonly promptPart: {
15967
16032
  readonly type: "tool-result";
16033
+ readonly providerExecuted: boolean;
15968
16034
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
15969
16035
  readonly options: {
15970
16036
  readonly [x: string]: Schema.Json;
@@ -16651,6 +16717,7 @@ declare const TurnRunResult: Schema.Struct<{
16651
16717
  readonly name: string;
16652
16718
  readonly isFailure: boolean;
16653
16719
  readonly result: unknown;
16720
+ readonly providerExecuted: boolean;
16654
16721
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
16655
16722
  readonly options: {
16656
16723
  readonly [x: string]: Schema.Json;
@@ -16702,6 +16769,7 @@ declare const TurnRunResult: Schema.Struct<{
16702
16769
  readonly name: string;
16703
16770
  readonly isFailure: boolean;
16704
16771
  readonly result: unknown;
16772
+ readonly providerExecuted: boolean;
16705
16773
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
16706
16774
  readonly options: {
16707
16775
  readonly [x: string]: Schema.Json;
@@ -17608,6 +17676,7 @@ declare const TurnRunResult: Schema.Struct<{
17608
17676
  readonly name: string;
17609
17677
  readonly isFailure: boolean;
17610
17678
  readonly result: unknown;
17679
+ readonly providerExecuted: boolean;
17611
17680
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
17612
17681
  readonly options: {
17613
17682
  readonly [x: string]: Schema.Json;
@@ -17659,6 +17728,7 @@ declare const TurnRunResult: Schema.Struct<{
17659
17728
  readonly name: string;
17660
17729
  readonly isFailure: boolean;
17661
17730
  readonly result: unknown;
17731
+ readonly providerExecuted: boolean;
17662
17732
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
17663
17733
  readonly options: {
17664
17734
  readonly [x: string]: Schema.Json;
@@ -17745,6 +17815,7 @@ declare const TurnRunResult: Schema.Struct<{
17745
17815
  readonly name: string;
17746
17816
  readonly isFailure: boolean;
17747
17817
  readonly result: unknown;
17818
+ readonly providerExecuted: boolean;
17748
17819
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
17749
17820
  readonly options: {
17750
17821
  readonly [x: string]: Schema.Json;
@@ -17796,6 +17867,7 @@ declare const TurnRunResult: Schema.Struct<{
17796
17867
  readonly name: string;
17797
17868
  readonly isFailure: boolean;
17798
17869
  readonly result: unknown;
17870
+ readonly providerExecuted: boolean;
17799
17871
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
17800
17872
  readonly options: {
17801
17873
  readonly [x: string]: Schema.Json;
@@ -17882,6 +17954,7 @@ declare const TurnRunResult: Schema.Struct<{
17882
17954
  readonly name: string;
17883
17955
  readonly isFailure: boolean;
17884
17956
  readonly result: unknown;
17957
+ readonly providerExecuted: boolean;
17885
17958
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
17886
17959
  readonly options: {
17887
17960
  readonly [x: string]: Schema.Json;
@@ -17933,6 +18006,7 @@ declare const TurnRunResult: Schema.Struct<{
17933
18006
  readonly name: string;
17934
18007
  readonly isFailure: boolean;
17935
18008
  readonly result: unknown;
18009
+ readonly providerExecuted: boolean;
17936
18010
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
17937
18011
  readonly options: {
17938
18012
  readonly [x: string]: Schema.Json;
@@ -18477,6 +18551,7 @@ declare const TurnRunResult: Schema.Struct<{
18477
18551
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
18478
18552
  readonly promptPart: {
18479
18553
  readonly type: "tool-result";
18554
+ readonly providerExecuted: boolean;
18480
18555
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
18481
18556
  readonly options: {
18482
18557
  readonly [x: string]: Schema.Json;
@@ -18554,6 +18629,7 @@ declare const TurnRunResult: Schema.Struct<{
18554
18629
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
18555
18630
  readonly promptPart: {
18556
18631
  readonly type: "tool-result";
18632
+ readonly providerExecuted: boolean;
18557
18633
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
18558
18634
  readonly options: {
18559
18635
  readonly [x: string]: Schema.Json;
@@ -18601,6 +18677,7 @@ declare const TurnRunResult: Schema.Struct<{
18601
18677
  } | undefined;
18602
18678
  readonly promptPart: {
18603
18679
  readonly type: "tool-result";
18680
+ readonly providerExecuted: boolean;
18604
18681
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
18605
18682
  readonly options: {
18606
18683
  readonly [x: string]: Schema.Json;
@@ -19288,6 +19365,7 @@ declare const TurnRunResult: Schema.Struct<{
19288
19365
  readonly name: string;
19289
19366
  readonly isFailure: boolean;
19290
19367
  readonly result: unknown;
19368
+ readonly providerExecuted: boolean;
19291
19369
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
19292
19370
  readonly options: {
19293
19371
  readonly [x: string]: Schema.Json;
@@ -19339,6 +19417,7 @@ declare const TurnRunResult: Schema.Struct<{
19339
19417
  readonly name: string;
19340
19418
  readonly isFailure: boolean;
19341
19419
  readonly result: unknown;
19420
+ readonly providerExecuted: boolean;
19342
19421
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
19343
19422
  readonly options: {
19344
19423
  readonly [x: string]: Schema.Json;
@@ -20245,6 +20324,7 @@ declare const TurnRunResult: Schema.Struct<{
20245
20324
  readonly name: string;
20246
20325
  readonly isFailure: boolean;
20247
20326
  readonly result: unknown;
20327
+ readonly providerExecuted: boolean;
20248
20328
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
20249
20329
  readonly options: {
20250
20330
  readonly [x: string]: Schema.Json;
@@ -20296,6 +20376,7 @@ declare const TurnRunResult: Schema.Struct<{
20296
20376
  readonly name: string;
20297
20377
  readonly isFailure: boolean;
20298
20378
  readonly result: unknown;
20379
+ readonly providerExecuted: boolean;
20299
20380
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
20300
20381
  readonly options: {
20301
20382
  readonly [x: string]: Schema.Json;
@@ -20382,6 +20463,7 @@ declare const TurnRunResult: Schema.Struct<{
20382
20463
  readonly name: string;
20383
20464
  readonly isFailure: boolean;
20384
20465
  readonly result: unknown;
20466
+ readonly providerExecuted: boolean;
20385
20467
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
20386
20468
  readonly options: {
20387
20469
  readonly [x: string]: Schema.Json;
@@ -20433,6 +20515,7 @@ declare const TurnRunResult: Schema.Struct<{
20433
20515
  readonly name: string;
20434
20516
  readonly isFailure: boolean;
20435
20517
  readonly result: unknown;
20518
+ readonly providerExecuted: boolean;
20436
20519
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
20437
20520
  readonly options: {
20438
20521
  readonly [x: string]: Schema.Json;
@@ -20519,6 +20602,7 @@ declare const TurnRunResult: Schema.Struct<{
20519
20602
  readonly name: string;
20520
20603
  readonly isFailure: boolean;
20521
20604
  readonly result: unknown;
20605
+ readonly providerExecuted: boolean;
20522
20606
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
20523
20607
  readonly options: {
20524
20608
  readonly [x: string]: Schema.Json;
@@ -20570,6 +20654,7 @@ declare const TurnRunResult: Schema.Struct<{
20570
20654
  readonly name: string;
20571
20655
  readonly isFailure: boolean;
20572
20656
  readonly result: unknown;
20657
+ readonly providerExecuted: boolean;
20573
20658
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
20574
20659
  readonly options: {
20575
20660
  readonly [x: string]: Schema.Json;
@@ -21114,6 +21199,7 @@ declare const TurnRunResult: Schema.Struct<{
21114
21199
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
21115
21200
  readonly promptPart: {
21116
21201
  readonly type: "tool-result";
21202
+ readonly providerExecuted: boolean;
21117
21203
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
21118
21204
  readonly options: {
21119
21205
  readonly [x: string]: Schema.Json;
@@ -21191,6 +21277,7 @@ declare const TurnRunResult: Schema.Struct<{
21191
21277
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
21192
21278
  readonly promptPart: {
21193
21279
  readonly type: "tool-result";
21280
+ readonly providerExecuted: boolean;
21194
21281
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
21195
21282
  readonly options: {
21196
21283
  readonly [x: string]: Schema.Json;
@@ -21238,6 +21325,7 @@ declare const TurnRunResult: Schema.Struct<{
21238
21325
  } | undefined;
21239
21326
  readonly promptPart: {
21240
21327
  readonly type: "tool-result";
21328
+ readonly providerExecuted: boolean;
21241
21329
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
21242
21330
  readonly options: {
21243
21331
  readonly [x: string]: Schema.Json;
@@ -21927,6 +22015,7 @@ declare const TurnRunResult: Schema.Struct<{
21927
22015
  readonly name: string;
21928
22016
  readonly isFailure: boolean;
21929
22017
  readonly result: unknown;
22018
+ readonly providerExecuted: boolean;
21930
22019
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
21931
22020
  readonly options: {
21932
22021
  readonly [x: string]: Schema.Json;
@@ -21978,6 +22067,7 @@ declare const TurnRunResult: Schema.Struct<{
21978
22067
  readonly name: string;
21979
22068
  readonly isFailure: boolean;
21980
22069
  readonly result: unknown;
22070
+ readonly providerExecuted: boolean;
21981
22071
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
21982
22072
  readonly options: {
21983
22073
  readonly [x: string]: Schema.Json;
@@ -22884,6 +22974,7 @@ declare const TurnRunResult: Schema.Struct<{
22884
22974
  readonly name: string;
22885
22975
  readonly isFailure: boolean;
22886
22976
  readonly result: unknown;
22977
+ readonly providerExecuted: boolean;
22887
22978
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
22888
22979
  readonly options: {
22889
22980
  readonly [x: string]: Schema.Json;
@@ -22935,6 +23026,7 @@ declare const TurnRunResult: Schema.Struct<{
22935
23026
  readonly name: string;
22936
23027
  readonly isFailure: boolean;
22937
23028
  readonly result: unknown;
23029
+ readonly providerExecuted: boolean;
22938
23030
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
22939
23031
  readonly options: {
22940
23032
  readonly [x: string]: Schema.Json;
@@ -23021,6 +23113,7 @@ declare const TurnRunResult: Schema.Struct<{
23021
23113
  readonly name: string;
23022
23114
  readonly isFailure: boolean;
23023
23115
  readonly result: unknown;
23116
+ readonly providerExecuted: boolean;
23024
23117
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
23025
23118
  readonly options: {
23026
23119
  readonly [x: string]: Schema.Json;
@@ -23072,6 +23165,7 @@ declare const TurnRunResult: Schema.Struct<{
23072
23165
  readonly name: string;
23073
23166
  readonly isFailure: boolean;
23074
23167
  readonly result: unknown;
23168
+ readonly providerExecuted: boolean;
23075
23169
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
23076
23170
  readonly options: {
23077
23171
  readonly [x: string]: Schema.Json;
@@ -23158,6 +23252,7 @@ declare const TurnRunResult: Schema.Struct<{
23158
23252
  readonly name: string;
23159
23253
  readonly isFailure: boolean;
23160
23254
  readonly result: unknown;
23255
+ readonly providerExecuted: boolean;
23161
23256
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
23162
23257
  readonly options: {
23163
23258
  readonly [x: string]: Schema.Json;
@@ -23209,6 +23304,7 @@ declare const TurnRunResult: Schema.Struct<{
23209
23304
  readonly name: string;
23210
23305
  readonly isFailure: boolean;
23211
23306
  readonly result: unknown;
23307
+ readonly providerExecuted: boolean;
23212
23308
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
23213
23309
  readonly options: {
23214
23310
  readonly [x: string]: Schema.Json;
@@ -23753,6 +23849,7 @@ declare const TurnRunResult: Schema.Struct<{
23753
23849
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
23754
23850
  readonly promptPart: {
23755
23851
  readonly type: "tool-result";
23852
+ readonly providerExecuted: boolean;
23756
23853
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
23757
23854
  readonly options: {
23758
23855
  readonly [x: string]: Schema.Json;
@@ -23830,6 +23927,7 @@ declare const TurnRunResult: Schema.Struct<{
23830
23927
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
23831
23928
  readonly promptPart: {
23832
23929
  readonly type: "tool-result";
23930
+ readonly providerExecuted: boolean;
23833
23931
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
23834
23932
  readonly options: {
23835
23933
  readonly [x: string]: Schema.Json;
@@ -23877,6 +23975,7 @@ declare const TurnRunResult: Schema.Struct<{
23877
23975
  } | undefined;
23878
23976
  readonly promptPart: {
23879
23977
  readonly type: "tool-result";
23978
+ readonly providerExecuted: boolean;
23880
23979
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
23881
23980
  readonly options: {
23882
23981
  readonly [x: string]: Schema.Json;
@@ -24565,6 +24664,7 @@ declare const TurnRunResult: Schema.Struct<{
24565
24664
  readonly name: string;
24566
24665
  readonly isFailure: boolean;
24567
24666
  readonly result: unknown;
24667
+ readonly providerExecuted: boolean;
24568
24668
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
24569
24669
  readonly options: {
24570
24670
  readonly [x: string]: Schema.Json;
@@ -24616,6 +24716,7 @@ declare const TurnRunResult: Schema.Struct<{
24616
24716
  readonly name: string;
24617
24717
  readonly isFailure: boolean;
24618
24718
  readonly result: unknown;
24719
+ readonly providerExecuted: boolean;
24619
24720
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
24620
24721
  readonly options: {
24621
24722
  readonly [x: string]: Schema.Json;
@@ -25522,6 +25623,7 @@ declare const TurnRunResult: Schema.Struct<{
25522
25623
  readonly name: string;
25523
25624
  readonly isFailure: boolean;
25524
25625
  readonly result: unknown;
25626
+ readonly providerExecuted: boolean;
25525
25627
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
25526
25628
  readonly options: {
25527
25629
  readonly [x: string]: Schema.Json;
@@ -25573,6 +25675,7 @@ declare const TurnRunResult: Schema.Struct<{
25573
25675
  readonly name: string;
25574
25676
  readonly isFailure: boolean;
25575
25677
  readonly result: unknown;
25678
+ readonly providerExecuted: boolean;
25576
25679
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
25577
25680
  readonly options: {
25578
25681
  readonly [x: string]: Schema.Json;
@@ -25659,6 +25762,7 @@ declare const TurnRunResult: Schema.Struct<{
25659
25762
  readonly name: string;
25660
25763
  readonly isFailure: boolean;
25661
25764
  readonly result: unknown;
25765
+ readonly providerExecuted: boolean;
25662
25766
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
25663
25767
  readonly options: {
25664
25768
  readonly [x: string]: Schema.Json;
@@ -25710,6 +25814,7 @@ declare const TurnRunResult: Schema.Struct<{
25710
25814
  readonly name: string;
25711
25815
  readonly isFailure: boolean;
25712
25816
  readonly result: unknown;
25817
+ readonly providerExecuted: boolean;
25713
25818
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
25714
25819
  readonly options: {
25715
25820
  readonly [x: string]: Schema.Json;
@@ -25796,6 +25901,7 @@ declare const TurnRunResult: Schema.Struct<{
25796
25901
  readonly name: string;
25797
25902
  readonly isFailure: boolean;
25798
25903
  readonly result: unknown;
25904
+ readonly providerExecuted: boolean;
25799
25905
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
25800
25906
  readonly options: {
25801
25907
  readonly [x: string]: Schema.Json;
@@ -25847,6 +25953,7 @@ declare const TurnRunResult: Schema.Struct<{
25847
25953
  readonly name: string;
25848
25954
  readonly isFailure: boolean;
25849
25955
  readonly result: unknown;
25956
+ readonly providerExecuted: boolean;
25850
25957
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
25851
25958
  readonly options: {
25852
25959
  readonly [x: string]: Schema.Json;
@@ -26391,6 +26498,7 @@ declare const TurnRunResult: Schema.Struct<{
26391
26498
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
26392
26499
  readonly promptPart: {
26393
26500
  readonly type: "tool-result";
26501
+ readonly providerExecuted: boolean;
26394
26502
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
26395
26503
  readonly options: {
26396
26504
  readonly [x: string]: Schema.Json;
@@ -26468,6 +26576,7 @@ declare const TurnRunResult: Schema.Struct<{
26468
26576
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
26469
26577
  readonly promptPart: {
26470
26578
  readonly type: "tool-result";
26579
+ readonly providerExecuted: boolean;
26471
26580
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
26472
26581
  readonly options: {
26473
26582
  readonly [x: string]: Schema.Json;
@@ -26515,6 +26624,7 @@ declare const TurnRunResult: Schema.Struct<{
26515
26624
  } | undefined;
26516
26625
  readonly promptPart: {
26517
26626
  readonly type: "tool-result";
26627
+ readonly providerExecuted: boolean;
26518
26628
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
26519
26629
  readonly options: {
26520
26630
  readonly [x: string]: Schema.Json;
@@ -27201,6 +27311,7 @@ declare const TurnRunResult: Schema.Struct<{
27201
27311
  readonly name: string;
27202
27312
  readonly isFailure: boolean;
27203
27313
  readonly result: unknown;
27314
+ readonly providerExecuted: boolean;
27204
27315
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
27205
27316
  readonly options: {
27206
27317
  readonly [x: string]: Schema.Json;
@@ -27252,6 +27363,7 @@ declare const TurnRunResult: Schema.Struct<{
27252
27363
  readonly name: string;
27253
27364
  readonly isFailure: boolean;
27254
27365
  readonly result: unknown;
27366
+ readonly providerExecuted: boolean;
27255
27367
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
27256
27368
  readonly options: {
27257
27369
  readonly [x: string]: Schema.Json;
@@ -28158,6 +28270,7 @@ declare const TurnRunResult: Schema.Struct<{
28158
28270
  readonly name: string;
28159
28271
  readonly isFailure: boolean;
28160
28272
  readonly result: unknown;
28273
+ readonly providerExecuted: boolean;
28161
28274
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
28162
28275
  readonly options: {
28163
28276
  readonly [x: string]: Schema.Json;
@@ -28209,6 +28322,7 @@ declare const TurnRunResult: Schema.Struct<{
28209
28322
  readonly name: string;
28210
28323
  readonly isFailure: boolean;
28211
28324
  readonly result: unknown;
28325
+ readonly providerExecuted: boolean;
28212
28326
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
28213
28327
  readonly options: {
28214
28328
  readonly [x: string]: Schema.Json;
@@ -28295,6 +28409,7 @@ declare const TurnRunResult: Schema.Struct<{
28295
28409
  readonly name: string;
28296
28410
  readonly isFailure: boolean;
28297
28411
  readonly result: unknown;
28412
+ readonly providerExecuted: boolean;
28298
28413
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
28299
28414
  readonly options: {
28300
28415
  readonly [x: string]: Schema.Json;
@@ -28346,6 +28461,7 @@ declare const TurnRunResult: Schema.Struct<{
28346
28461
  readonly name: string;
28347
28462
  readonly isFailure: boolean;
28348
28463
  readonly result: unknown;
28464
+ readonly providerExecuted: boolean;
28349
28465
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
28350
28466
  readonly options: {
28351
28467
  readonly [x: string]: Schema.Json;
@@ -28432,6 +28548,7 @@ declare const TurnRunResult: Schema.Struct<{
28432
28548
  readonly name: string;
28433
28549
  readonly isFailure: boolean;
28434
28550
  readonly result: unknown;
28551
+ readonly providerExecuted: boolean;
28435
28552
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
28436
28553
  readonly options: {
28437
28554
  readonly [x: string]: Schema.Json;
@@ -28483,6 +28600,7 @@ declare const TurnRunResult: Schema.Struct<{
28483
28600
  readonly name: string;
28484
28601
  readonly isFailure: boolean;
28485
28602
  readonly result: unknown;
28603
+ readonly providerExecuted: boolean;
28486
28604
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
28487
28605
  readonly options: {
28488
28606
  readonly [x: string]: Schema.Json;
@@ -29027,6 +29145,7 @@ declare const TurnRunResult: Schema.Struct<{
29027
29145
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
29028
29146
  readonly promptPart: {
29029
29147
  readonly type: "tool-result";
29148
+ readonly providerExecuted: boolean;
29030
29149
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
29031
29150
  readonly options: {
29032
29151
  readonly [x: string]: Schema.Json;
@@ -29104,6 +29223,7 @@ declare const TurnRunResult: Schema.Struct<{
29104
29223
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
29105
29224
  readonly promptPart: {
29106
29225
  readonly type: "tool-result";
29226
+ readonly providerExecuted: boolean;
29107
29227
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
29108
29228
  readonly options: {
29109
29229
  readonly [x: string]: Schema.Json;
@@ -29151,6 +29271,7 @@ declare const TurnRunResult: Schema.Struct<{
29151
29271
  } | undefined;
29152
29272
  readonly promptPart: {
29153
29273
  readonly type: "tool-result";
29274
+ readonly providerExecuted: boolean;
29154
29275
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
29155
29276
  readonly options: {
29156
29277
  readonly [x: string]: Schema.Json;
@@ -29871,6 +29992,7 @@ declare const SessionCommandCompleted: Schema.TaggedStruct<"SessionCommandComple
29871
29992
  readonly name: string;
29872
29993
  readonly isFailure: boolean;
29873
29994
  readonly result: unknown;
29995
+ readonly providerExecuted: boolean;
29874
29996
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
29875
29997
  readonly options: {
29876
29998
  readonly [x: string]: Schema.Json;
@@ -29922,6 +30044,7 @@ declare const SessionCommandCompleted: Schema.TaggedStruct<"SessionCommandComple
29922
30044
  readonly name: string;
29923
30045
  readonly isFailure: boolean;
29924
30046
  readonly result: unknown;
30047
+ readonly providerExecuted: boolean;
29925
30048
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
29926
30049
  readonly options: {
29927
30050
  readonly [x: string]: Schema.Json;
@@ -30828,6 +30951,7 @@ declare const SessionCommandCompleted: Schema.TaggedStruct<"SessionCommandComple
30828
30951
  readonly name: string;
30829
30952
  readonly isFailure: boolean;
30830
30953
  readonly result: unknown;
30954
+ readonly providerExecuted: boolean;
30831
30955
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
30832
30956
  readonly options: {
30833
30957
  readonly [x: string]: Schema.Json;
@@ -30879,6 +31003,7 @@ declare const SessionCommandCompleted: Schema.TaggedStruct<"SessionCommandComple
30879
31003
  readonly name: string;
30880
31004
  readonly isFailure: boolean;
30881
31005
  readonly result: unknown;
31006
+ readonly providerExecuted: boolean;
30882
31007
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
30883
31008
  readonly options: {
30884
31009
  readonly [x: string]: Schema.Json;
@@ -30965,6 +31090,7 @@ declare const SessionCommandCompleted: Schema.TaggedStruct<"SessionCommandComple
30965
31090
  readonly name: string;
30966
31091
  readonly isFailure: boolean;
30967
31092
  readonly result: unknown;
31093
+ readonly providerExecuted: boolean;
30968
31094
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
30969
31095
  readonly options: {
30970
31096
  readonly [x: string]: Schema.Json;
@@ -31016,6 +31142,7 @@ declare const SessionCommandCompleted: Schema.TaggedStruct<"SessionCommandComple
31016
31142
  readonly name: string;
31017
31143
  readonly isFailure: boolean;
31018
31144
  readonly result: unknown;
31145
+ readonly providerExecuted: boolean;
31019
31146
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
31020
31147
  readonly options: {
31021
31148
  readonly [x: string]: Schema.Json;
@@ -31102,6 +31229,7 @@ declare const SessionCommandCompleted: Schema.TaggedStruct<"SessionCommandComple
31102
31229
  readonly name: string;
31103
31230
  readonly isFailure: boolean;
31104
31231
  readonly result: unknown;
31232
+ readonly providerExecuted: boolean;
31105
31233
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
31106
31234
  readonly options: {
31107
31235
  readonly [x: string]: Schema.Json;
@@ -31153,6 +31281,7 @@ declare const SessionCommandCompleted: Schema.TaggedStruct<"SessionCommandComple
31153
31281
  readonly name: string;
31154
31282
  readonly isFailure: boolean;
31155
31283
  readonly result: unknown;
31284
+ readonly providerExecuted: boolean;
31156
31285
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
31157
31286
  readonly options: {
31158
31287
  readonly [x: string]: Schema.Json;
@@ -31697,6 +31826,7 @@ declare const SessionCommandCompleted: Schema.TaggedStruct<"SessionCommandComple
31697
31826
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
31698
31827
  readonly promptPart: {
31699
31828
  readonly type: "tool-result";
31829
+ readonly providerExecuted: boolean;
31700
31830
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
31701
31831
  readonly options: {
31702
31832
  readonly [x: string]: Schema.Json;
@@ -31774,6 +31904,7 @@ declare const SessionCommandCompleted: Schema.TaggedStruct<"SessionCommandComple
31774
31904
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
31775
31905
  readonly promptPart: {
31776
31906
  readonly type: "tool-result";
31907
+ readonly providerExecuted: boolean;
31777
31908
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
31778
31909
  readonly options: {
31779
31910
  readonly [x: string]: Schema.Json;
@@ -31821,6 +31952,7 @@ declare const SessionCommandCompleted: Schema.TaggedStruct<"SessionCommandComple
31821
31952
  } | undefined;
31822
31953
  readonly promptPart: {
31823
31954
  readonly type: "tool-result";
31955
+ readonly providerExecuted: boolean;
31824
31956
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
31825
31957
  readonly options: {
31826
31958
  readonly [x: string]: Schema.Json;
@@ -32481,6 +32613,7 @@ declare const SessionCommandFailed: Schema.TaggedStruct<"SessionCommandFailed",
32481
32613
  readonly name: string;
32482
32614
  readonly isFailure: boolean;
32483
32615
  readonly result: unknown;
32616
+ readonly providerExecuted: boolean;
32484
32617
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
32485
32618
  readonly options: {
32486
32619
  readonly [x: string]: Schema.Json;
@@ -32532,6 +32665,7 @@ declare const SessionCommandFailed: Schema.TaggedStruct<"SessionCommandFailed",
32532
32665
  readonly name: string;
32533
32666
  readonly isFailure: boolean;
32534
32667
  readonly result: unknown;
32668
+ readonly providerExecuted: boolean;
32535
32669
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
32536
32670
  readonly options: {
32537
32671
  readonly [x: string]: Schema.Json;
@@ -33438,6 +33572,7 @@ declare const SessionCommandFailed: Schema.TaggedStruct<"SessionCommandFailed",
33438
33572
  readonly name: string;
33439
33573
  readonly isFailure: boolean;
33440
33574
  readonly result: unknown;
33575
+ readonly providerExecuted: boolean;
33441
33576
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
33442
33577
  readonly options: {
33443
33578
  readonly [x: string]: Schema.Json;
@@ -33489,6 +33624,7 @@ declare const SessionCommandFailed: Schema.TaggedStruct<"SessionCommandFailed",
33489
33624
  readonly name: string;
33490
33625
  readonly isFailure: boolean;
33491
33626
  readonly result: unknown;
33627
+ readonly providerExecuted: boolean;
33492
33628
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
33493
33629
  readonly options: {
33494
33630
  readonly [x: string]: Schema.Json;
@@ -33575,6 +33711,7 @@ declare const SessionCommandFailed: Schema.TaggedStruct<"SessionCommandFailed",
33575
33711
  readonly name: string;
33576
33712
  readonly isFailure: boolean;
33577
33713
  readonly result: unknown;
33714
+ readonly providerExecuted: boolean;
33578
33715
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
33579
33716
  readonly options: {
33580
33717
  readonly [x: string]: Schema.Json;
@@ -33626,6 +33763,7 @@ declare const SessionCommandFailed: Schema.TaggedStruct<"SessionCommandFailed",
33626
33763
  readonly name: string;
33627
33764
  readonly isFailure: boolean;
33628
33765
  readonly result: unknown;
33766
+ readonly providerExecuted: boolean;
33629
33767
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
33630
33768
  readonly options: {
33631
33769
  readonly [x: string]: Schema.Json;
@@ -33712,6 +33850,7 @@ declare const SessionCommandFailed: Schema.TaggedStruct<"SessionCommandFailed",
33712
33850
  readonly name: string;
33713
33851
  readonly isFailure: boolean;
33714
33852
  readonly result: unknown;
33853
+ readonly providerExecuted: boolean;
33715
33854
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
33716
33855
  readonly options: {
33717
33856
  readonly [x: string]: Schema.Json;
@@ -33763,6 +33902,7 @@ declare const SessionCommandFailed: Schema.TaggedStruct<"SessionCommandFailed",
33763
33902
  readonly name: string;
33764
33903
  readonly isFailure: boolean;
33765
33904
  readonly result: unknown;
33905
+ readonly providerExecuted: boolean;
33766
33906
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
33767
33907
  readonly options: {
33768
33908
  readonly [x: string]: Schema.Json;
@@ -34307,6 +34447,7 @@ declare const SessionCommandFailed: Schema.TaggedStruct<"SessionCommandFailed",
34307
34447
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
34308
34448
  readonly promptPart: {
34309
34449
  readonly type: "tool-result";
34450
+ readonly providerExecuted: boolean;
34310
34451
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
34311
34452
  readonly options: {
34312
34453
  readonly [x: string]: Schema.Json;
@@ -34384,6 +34525,7 @@ declare const SessionCommandFailed: Schema.TaggedStruct<"SessionCommandFailed",
34384
34525
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
34385
34526
  readonly promptPart: {
34386
34527
  readonly type: "tool-result";
34528
+ readonly providerExecuted: boolean;
34387
34529
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
34388
34530
  readonly options: {
34389
34531
  readonly [x: string]: Schema.Json;
@@ -34431,6 +34573,7 @@ declare const SessionCommandFailed: Schema.TaggedStruct<"SessionCommandFailed",
34431
34573
  } | undefined;
34432
34574
  readonly promptPart: {
34433
34575
  readonly type: "tool-result";
34576
+ readonly providerExecuted: boolean;
34434
34577
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
34435
34578
  readonly options: {
34436
34579
  readonly [x: string]: Schema.Json;
@@ -35091,6 +35234,7 @@ declare const SessionCommandCancelled: Schema.TaggedStruct<"SessionCommandCancel
35091
35234
  readonly name: string;
35092
35235
  readonly isFailure: boolean;
35093
35236
  readonly result: unknown;
35237
+ readonly providerExecuted: boolean;
35094
35238
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
35095
35239
  readonly options: {
35096
35240
  readonly [x: string]: Schema.Json;
@@ -35142,6 +35286,7 @@ declare const SessionCommandCancelled: Schema.TaggedStruct<"SessionCommandCancel
35142
35286
  readonly name: string;
35143
35287
  readonly isFailure: boolean;
35144
35288
  readonly result: unknown;
35289
+ readonly providerExecuted: boolean;
35145
35290
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
35146
35291
  readonly options: {
35147
35292
  readonly [x: string]: Schema.Json;
@@ -36048,6 +36193,7 @@ declare const SessionCommandCancelled: Schema.TaggedStruct<"SessionCommandCancel
36048
36193
  readonly name: string;
36049
36194
  readonly isFailure: boolean;
36050
36195
  readonly result: unknown;
36196
+ readonly providerExecuted: boolean;
36051
36197
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
36052
36198
  readonly options: {
36053
36199
  readonly [x: string]: Schema.Json;
@@ -36099,6 +36245,7 @@ declare const SessionCommandCancelled: Schema.TaggedStruct<"SessionCommandCancel
36099
36245
  readonly name: string;
36100
36246
  readonly isFailure: boolean;
36101
36247
  readonly result: unknown;
36248
+ readonly providerExecuted: boolean;
36102
36249
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
36103
36250
  readonly options: {
36104
36251
  readonly [x: string]: Schema.Json;
@@ -36185,6 +36332,7 @@ declare const SessionCommandCancelled: Schema.TaggedStruct<"SessionCommandCancel
36185
36332
  readonly name: string;
36186
36333
  readonly isFailure: boolean;
36187
36334
  readonly result: unknown;
36335
+ readonly providerExecuted: boolean;
36188
36336
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
36189
36337
  readonly options: {
36190
36338
  readonly [x: string]: Schema.Json;
@@ -36236,6 +36384,7 @@ declare const SessionCommandCancelled: Schema.TaggedStruct<"SessionCommandCancel
36236
36384
  readonly name: string;
36237
36385
  readonly isFailure: boolean;
36238
36386
  readonly result: unknown;
36387
+ readonly providerExecuted: boolean;
36239
36388
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
36240
36389
  readonly options: {
36241
36390
  readonly [x: string]: Schema.Json;
@@ -36322,6 +36471,7 @@ declare const SessionCommandCancelled: Schema.TaggedStruct<"SessionCommandCancel
36322
36471
  readonly name: string;
36323
36472
  readonly isFailure: boolean;
36324
36473
  readonly result: unknown;
36474
+ readonly providerExecuted: boolean;
36325
36475
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
36326
36476
  readonly options: {
36327
36477
  readonly [x: string]: Schema.Json;
@@ -36373,6 +36523,7 @@ declare const SessionCommandCancelled: Schema.TaggedStruct<"SessionCommandCancel
36373
36523
  readonly name: string;
36374
36524
  readonly isFailure: boolean;
36375
36525
  readonly result: unknown;
36526
+ readonly providerExecuted: boolean;
36376
36527
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
36377
36528
  readonly options: {
36378
36529
  readonly [x: string]: Schema.Json;
@@ -36917,6 +37068,7 @@ declare const SessionCommandCancelled: Schema.TaggedStruct<"SessionCommandCancel
36917
37068
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
36918
37069
  readonly promptPart: {
36919
37070
  readonly type: "tool-result";
37071
+ readonly providerExecuted: boolean;
36920
37072
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
36921
37073
  readonly options: {
36922
37074
  readonly [x: string]: Schema.Json;
@@ -36994,6 +37146,7 @@ declare const SessionCommandCancelled: Schema.TaggedStruct<"SessionCommandCancel
36994
37146
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
36995
37147
  readonly promptPart: {
36996
37148
  readonly type: "tool-result";
37149
+ readonly providerExecuted: boolean;
36997
37150
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
36998
37151
  readonly options: {
36999
37152
  readonly [x: string]: Schema.Json;
@@ -37041,6 +37194,7 @@ declare const SessionCommandCancelled: Schema.TaggedStruct<"SessionCommandCancel
37041
37194
  } | undefined;
37042
37195
  readonly promptPart: {
37043
37196
  readonly type: "tool-result";
37197
+ readonly providerExecuted: boolean;
37044
37198
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
37045
37199
  readonly options: {
37046
37200
  readonly [x: string]: Schema.Json;
@@ -37701,6 +37855,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
37701
37855
  readonly name: string;
37702
37856
  readonly isFailure: boolean;
37703
37857
  readonly result: unknown;
37858
+ readonly providerExecuted: boolean;
37704
37859
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
37705
37860
  readonly options: {
37706
37861
  readonly [x: string]: Schema.Json;
@@ -37752,6 +37907,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
37752
37907
  readonly name: string;
37753
37908
  readonly isFailure: boolean;
37754
37909
  readonly result: unknown;
37910
+ readonly providerExecuted: boolean;
37755
37911
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
37756
37912
  readonly options: {
37757
37913
  readonly [x: string]: Schema.Json;
@@ -38658,6 +38814,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
38658
38814
  readonly name: string;
38659
38815
  readonly isFailure: boolean;
38660
38816
  readonly result: unknown;
38817
+ readonly providerExecuted: boolean;
38661
38818
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
38662
38819
  readonly options: {
38663
38820
  readonly [x: string]: Schema.Json;
@@ -38709,6 +38866,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
38709
38866
  readonly name: string;
38710
38867
  readonly isFailure: boolean;
38711
38868
  readonly result: unknown;
38869
+ readonly providerExecuted: boolean;
38712
38870
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
38713
38871
  readonly options: {
38714
38872
  readonly [x: string]: Schema.Json;
@@ -38795,6 +38953,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
38795
38953
  readonly name: string;
38796
38954
  readonly isFailure: boolean;
38797
38955
  readonly result: unknown;
38956
+ readonly providerExecuted: boolean;
38798
38957
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
38799
38958
  readonly options: {
38800
38959
  readonly [x: string]: Schema.Json;
@@ -38846,6 +39005,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
38846
39005
  readonly name: string;
38847
39006
  readonly isFailure: boolean;
38848
39007
  readonly result: unknown;
39008
+ readonly providerExecuted: boolean;
38849
39009
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
38850
39010
  readonly options: {
38851
39011
  readonly [x: string]: Schema.Json;
@@ -38932,6 +39092,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
38932
39092
  readonly name: string;
38933
39093
  readonly isFailure: boolean;
38934
39094
  readonly result: unknown;
39095
+ readonly providerExecuted: boolean;
38935
39096
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
38936
39097
  readonly options: {
38937
39098
  readonly [x: string]: Schema.Json;
@@ -38983,6 +39144,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
38983
39144
  readonly name: string;
38984
39145
  readonly isFailure: boolean;
38985
39146
  readonly result: unknown;
39147
+ readonly providerExecuted: boolean;
38986
39148
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
38987
39149
  readonly options: {
38988
39150
  readonly [x: string]: Schema.Json;
@@ -39527,6 +39689,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
39527
39689
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
39528
39690
  readonly promptPart: {
39529
39691
  readonly type: "tool-result";
39692
+ readonly providerExecuted: boolean;
39530
39693
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
39531
39694
  readonly options: {
39532
39695
  readonly [x: string]: Schema.Json;
@@ -39604,6 +39767,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
39604
39767
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
39605
39768
  readonly promptPart: {
39606
39769
  readonly type: "tool-result";
39770
+ readonly providerExecuted: boolean;
39607
39771
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
39608
39772
  readonly options: {
39609
39773
  readonly [x: string]: Schema.Json;
@@ -39651,6 +39815,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
39651
39815
  } | undefined;
39652
39816
  readonly promptPart: {
39653
39817
  readonly type: "tool-result";
39818
+ readonly providerExecuted: boolean;
39654
39819
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
39655
39820
  readonly options: {
39656
39821
  readonly [x: string]: Schema.Json;
@@ -40308,6 +40473,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
40308
40473
  readonly name: string;
40309
40474
  readonly isFailure: boolean;
40310
40475
  readonly result: unknown;
40476
+ readonly providerExecuted: boolean;
40311
40477
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
40312
40478
  readonly options: {
40313
40479
  readonly [x: string]: Schema.Json;
@@ -40359,6 +40525,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
40359
40525
  readonly name: string;
40360
40526
  readonly isFailure: boolean;
40361
40527
  readonly result: unknown;
40528
+ readonly providerExecuted: boolean;
40362
40529
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
40363
40530
  readonly options: {
40364
40531
  readonly [x: string]: Schema.Json;
@@ -41265,6 +41432,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
41265
41432
  readonly name: string;
41266
41433
  readonly isFailure: boolean;
41267
41434
  readonly result: unknown;
41435
+ readonly providerExecuted: boolean;
41268
41436
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
41269
41437
  readonly options: {
41270
41438
  readonly [x: string]: Schema.Json;
@@ -41316,6 +41484,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
41316
41484
  readonly name: string;
41317
41485
  readonly isFailure: boolean;
41318
41486
  readonly result: unknown;
41487
+ readonly providerExecuted: boolean;
41319
41488
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
41320
41489
  readonly options: {
41321
41490
  readonly [x: string]: Schema.Json;
@@ -41402,6 +41571,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
41402
41571
  readonly name: string;
41403
41572
  readonly isFailure: boolean;
41404
41573
  readonly result: unknown;
41574
+ readonly providerExecuted: boolean;
41405
41575
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
41406
41576
  readonly options: {
41407
41577
  readonly [x: string]: Schema.Json;
@@ -41453,6 +41623,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
41453
41623
  readonly name: string;
41454
41624
  readonly isFailure: boolean;
41455
41625
  readonly result: unknown;
41626
+ readonly providerExecuted: boolean;
41456
41627
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
41457
41628
  readonly options: {
41458
41629
  readonly [x: string]: Schema.Json;
@@ -41539,6 +41710,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
41539
41710
  readonly name: string;
41540
41711
  readonly isFailure: boolean;
41541
41712
  readonly result: unknown;
41713
+ readonly providerExecuted: boolean;
41542
41714
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
41543
41715
  readonly options: {
41544
41716
  readonly [x: string]: Schema.Json;
@@ -41590,6 +41762,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
41590
41762
  readonly name: string;
41591
41763
  readonly isFailure: boolean;
41592
41764
  readonly result: unknown;
41765
+ readonly providerExecuted: boolean;
41593
41766
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
41594
41767
  readonly options: {
41595
41768
  readonly [x: string]: Schema.Json;
@@ -42134,6 +42307,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
42134
42307
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
42135
42308
  readonly promptPart: {
42136
42309
  readonly type: "tool-result";
42310
+ readonly providerExecuted: boolean;
42137
42311
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
42138
42312
  readonly options: {
42139
42313
  readonly [x: string]: Schema.Json;
@@ -42211,6 +42385,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
42211
42385
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
42212
42386
  readonly promptPart: {
42213
42387
  readonly type: "tool-result";
42388
+ readonly providerExecuted: boolean;
42214
42389
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
42215
42390
  readonly options: {
42216
42391
  readonly [x: string]: Schema.Json;
@@ -42258,6 +42433,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
42258
42433
  } | undefined;
42259
42434
  readonly promptPart: {
42260
42435
  readonly type: "tool-result";
42436
+ readonly providerExecuted: boolean;
42261
42437
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
42262
42438
  readonly options: {
42263
42439
  readonly [x: string]: Schema.Json;
@@ -42915,6 +43091,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
42915
43091
  readonly name: string;
42916
43092
  readonly isFailure: boolean;
42917
43093
  readonly result: unknown;
43094
+ readonly providerExecuted: boolean;
42918
43095
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
42919
43096
  readonly options: {
42920
43097
  readonly [x: string]: Schema.Json;
@@ -42966,6 +43143,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
42966
43143
  readonly name: string;
42967
43144
  readonly isFailure: boolean;
42968
43145
  readonly result: unknown;
43146
+ readonly providerExecuted: boolean;
42969
43147
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
42970
43148
  readonly options: {
42971
43149
  readonly [x: string]: Schema.Json;
@@ -43872,6 +44050,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
43872
44050
  readonly name: string;
43873
44051
  readonly isFailure: boolean;
43874
44052
  readonly result: unknown;
44053
+ readonly providerExecuted: boolean;
43875
44054
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
43876
44055
  readonly options: {
43877
44056
  readonly [x: string]: Schema.Json;
@@ -43923,6 +44102,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
43923
44102
  readonly name: string;
43924
44103
  readonly isFailure: boolean;
43925
44104
  readonly result: unknown;
44105
+ readonly providerExecuted: boolean;
43926
44106
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
43927
44107
  readonly options: {
43928
44108
  readonly [x: string]: Schema.Json;
@@ -44009,6 +44189,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
44009
44189
  readonly name: string;
44010
44190
  readonly isFailure: boolean;
44011
44191
  readonly result: unknown;
44192
+ readonly providerExecuted: boolean;
44012
44193
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
44013
44194
  readonly options: {
44014
44195
  readonly [x: string]: Schema.Json;
@@ -44060,6 +44241,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
44060
44241
  readonly name: string;
44061
44242
  readonly isFailure: boolean;
44062
44243
  readonly result: unknown;
44244
+ readonly providerExecuted: boolean;
44063
44245
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
44064
44246
  readonly options: {
44065
44247
  readonly [x: string]: Schema.Json;
@@ -44146,6 +44328,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
44146
44328
  readonly name: string;
44147
44329
  readonly isFailure: boolean;
44148
44330
  readonly result: unknown;
44331
+ readonly providerExecuted: boolean;
44149
44332
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
44150
44333
  readonly options: {
44151
44334
  readonly [x: string]: Schema.Json;
@@ -44197,6 +44380,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
44197
44380
  readonly name: string;
44198
44381
  readonly isFailure: boolean;
44199
44382
  readonly result: unknown;
44383
+ readonly providerExecuted: boolean;
44200
44384
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
44201
44385
  readonly options: {
44202
44386
  readonly [x: string]: Schema.Json;
@@ -44741,6 +44925,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
44741
44925
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
44742
44926
  readonly promptPart: {
44743
44927
  readonly type: "tool-result";
44928
+ readonly providerExecuted: boolean;
44744
44929
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
44745
44930
  readonly options: {
44746
44931
  readonly [x: string]: Schema.Json;
@@ -44818,6 +45003,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
44818
45003
  readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
44819
45004
  readonly promptPart: {
44820
45005
  readonly type: "tool-result";
45006
+ readonly providerExecuted: boolean;
44821
45007
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
44822
45008
  readonly options: {
44823
45009
  readonly [x: string]: Schema.Json;
@@ -44865,6 +45051,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
44865
45051
  } | undefined;
44866
45052
  readonly promptPart: {
44867
45053
  readonly type: "tool-result";
45054
+ readonly providerExecuted: boolean;
44868
45055
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
44869
45056
  readonly options: {
44870
45057
  readonly [x: string]: Schema.Json;
@@ -45552,6 +45739,7 @@ declare const DurableTranscriptMessages: Schema.$Array<Schema.Union<readonly [Sc
45552
45739
  readonly name: Schema.String;
45553
45740
  readonly isFailure: Schema.Boolean;
45554
45741
  readonly result: Schema.Unknown;
45742
+ readonly providerExecuted: Schema.withDecodingDefault<Schema.Boolean>;
45555
45743
  readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
45556
45744
  readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
45557
45745
  }>>, Schema.toType<Schema.Struct<{
@@ -45604,6 +45792,7 @@ declare const DurableTranscriptMessages: Schema.$Array<Schema.Union<readonly [Sc
45604
45792
  readonly name: Schema.String;
45605
45793
  readonly isFailure: Schema.Boolean;
45606
45794
  readonly result: Schema.Unknown;
45795
+ readonly providerExecuted: Schema.withDecodingDefault<Schema.Boolean>;
45607
45796
  readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
45608
45797
  readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
45609
45798
  }>>, Schema.toType<Schema.Struct<{
@@ -45856,6 +46045,7 @@ declare const EDASessionSnapshot: Schema.Struct<{
45856
46045
  readonly name: Schema.String;
45857
46046
  readonly isFailure: Schema.Boolean;
45858
46047
  readonly result: Schema.Unknown;
46048
+ readonly providerExecuted: Schema.withDecodingDefault<Schema.Boolean>;
45859
46049
  readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
45860
46050
  readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
45861
46051
  }>>;
@@ -45875,6 +46065,7 @@ declare const EDASessionSnapshot: Schema.Struct<{
45875
46065
  readonly name: Schema.String;
45876
46066
  readonly isFailure: Schema.Boolean;
45877
46067
  readonly result: Schema.Unknown;
46068
+ readonly providerExecuted: Schema.withDecodingDefault<Schema.Boolean>;
45878
46069
  readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
45879
46070
  readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
45880
46071
  }>>;
@@ -45893,6 +46084,7 @@ declare const EDASessionSnapshot: Schema.Struct<{
45893
46084
  readonly name: Schema.String;
45894
46085
  readonly isFailure: Schema.Boolean;
45895
46086
  readonly result: Schema.Unknown;
46087
+ readonly providerExecuted: Schema.withDecodingDefault<Schema.Boolean>;
45896
46088
  readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
45897
46089
  readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
45898
46090
  }>>;
@@ -46015,6 +46207,7 @@ declare const EDASessionSnapshot: Schema.Struct<{
46015
46207
  readonly name: Schema.String;
46016
46208
  readonly isFailure: Schema.Boolean;
46017
46209
  readonly result: Schema.Unknown;
46210
+ readonly providerExecuted: Schema.withDecodingDefault<Schema.Boolean>;
46018
46211
  readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
46019
46212
  readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
46020
46213
  }>>, Schema.toType<Schema.Struct<{
@@ -46067,6 +46260,7 @@ declare const EDASessionSnapshot: Schema.Struct<{
46067
46260
  readonly name: Schema.String;
46068
46261
  readonly isFailure: Schema.Boolean;
46069
46262
  readonly result: Schema.Unknown;
46263
+ readonly providerExecuted: Schema.withDecodingDefault<Schema.Boolean>;
46070
46264
  readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
46071
46265
  readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
46072
46266
  }>>, Schema.toType<Schema.Struct<{
@@ -46388,6 +46582,7 @@ declare const EDASessionSnapshot: Schema.Struct<{
46388
46582
  readonly name: Schema.String;
46389
46583
  readonly isFailure: Schema.Boolean;
46390
46584
  readonly result: Schema.Unknown;
46585
+ readonly providerExecuted: Schema.withDecodingDefault<Schema.Boolean>;
46391
46586
  readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
46392
46587
  readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
46393
46588
  }>>, Schema.toType<Schema.Struct<{
@@ -46440,6 +46635,7 @@ declare const EDASessionSnapshot: Schema.Struct<{
46440
46635
  readonly name: Schema.String;
46441
46636
  readonly isFailure: Schema.Boolean;
46442
46637
  readonly result: Schema.Unknown;
46638
+ readonly providerExecuted: Schema.withDecodingDefault<Schema.Boolean>;
46443
46639
  readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
46444
46640
  readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
46445
46641
  }>>, Schema.toType<Schema.Struct<{
@@ -47226,6 +47422,7 @@ declare const reduceCommittedEvents: (committed: ReadonlyArray<CommittedDurableE
47226
47422
  readonly name: string;
47227
47423
  readonly isFailure: boolean;
47228
47424
  readonly result: unknown;
47425
+ readonly providerExecuted: boolean;
47229
47426
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
47230
47427
  readonly options: {
47231
47428
  readonly [x: string]: Schema.Json;
@@ -47247,6 +47444,7 @@ declare const reduceCommittedEvents: (committed: ReadonlyArray<CommittedDurableE
47247
47444
  readonly name: string;
47248
47445
  readonly isFailure: boolean;
47249
47446
  readonly result: unknown;
47447
+ readonly providerExecuted: boolean;
47250
47448
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
47251
47449
  readonly options: {
47252
47450
  readonly [x: string]: Schema.Json;
@@ -47267,6 +47465,7 @@ declare const reduceCommittedEvents: (committed: ReadonlyArray<CommittedDurableE
47267
47465
  readonly name: string;
47268
47466
  readonly isFailure: boolean;
47269
47467
  readonly result: unknown;
47468
+ readonly providerExecuted: boolean;
47270
47469
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
47271
47470
  readonly options: {
47272
47471
  readonly [x: string]: Schema.Json;
@@ -47457,6 +47656,7 @@ declare const reduceCommittedEvents: (committed: ReadonlyArray<CommittedDurableE
47457
47656
  readonly name: string;
47458
47657
  readonly isFailure: boolean;
47459
47658
  readonly result: unknown;
47659
+ readonly providerExecuted: boolean;
47460
47660
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
47461
47661
  readonly options: {
47462
47662
  readonly [x: string]: Schema.Json;
@@ -47521,6 +47721,7 @@ declare const reduceCommittedEvents: (committed: ReadonlyArray<CommittedDurableE
47521
47721
  readonly name: string;
47522
47722
  readonly isFailure: boolean;
47523
47723
  readonly result: unknown;
47724
+ readonly providerExecuted: boolean;
47524
47725
  readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
47525
47726
  readonly options: {
47526
47727
  readonly [x: string]: Schema.Json;
@@ -47903,4 +48104,4 @@ declare const activeTurnIdentityForCommand: (state: ReducedState, commandId: Com
47903
48104
  declare const classifyRecoverableWork: (state: ReducedState) => RecoverableWork;
47904
48105
  //#endregion
47905
48106
  export { EDASessionQuery as $, EDAProjectedSink as $t, TurnTerminal as A, LanguageModelSummaryCompactionExecutorOptions as An, ToolExecutor as At, pendingCommands as B, RunSchedulingCancellationPlan as Bt, RunRecord as C, CompactionPlan as Cn, SessionState as Ct, ToolDecision as D, CompactionRunner as Dn, TurnRunner as Dt, ToolCallRecord as E, CompactionPolicyShape as En, SessionStateSnapshotData as Et, encodeReducedStateCheckpoint as F, EventFactory as Fn, DeferredRunResolution as Ft, EDACommandTerminalEvent as G, canGrantRun as Gt, reduceCommittedEvents as H, RunSchedulingRequest as Ht, foldReducedState as I, SessionContext as In, LocalRunResolution as It, EDARuntimeError as J, runSchedulingInputMessageIds as Jt, EDARuntime as K, planRunSchedulingCancellation as Kt, frameworkReducedStateReducerName as L, RunGrantResult as Lt, activeTurnIdentityForCommand as M, defaultCompactionMinSummarizableTokens as Mn, RunSchedulerShape as Mt, classifyRecoverableWork as N, defaultCompactionRetainTailTokens as Nn, RunSchedulingDelivery as Nt, ToolTerminal as O, CompactionRunnerInput as On, InferenceRunner as Ot, decodeReducedStateCheckpoint as P, defaultCompactionThresholdTokens as Pn, RunSchedulingDeliveryError as Pt, EDASessionEventPage as Q, EDAProjectedDurableSinkDefinition as Qt, frameworkReducedStateReducerSchemaVersion as R, RunRequestOutcome as Rt, ReducedStateCheckpointToolTerminal as S, CompactionOutput as Sn, SessionRunInput as St, StopRequestRecord as T, CompactionPolicyInput as Tn, SessionStateShape as Tt, reducedStateCheckpointEventSeqs as U, RunSchedulingRequestRecord as Ut, pendingStopCommand as V, RunSchedulingInput as Vt, CommittedCommandTerminalEvent as W, RunSchedulingWork as Wt, EDARuntimeSubmit as X, EDADurableSinkDefinition as Xt, EDARuntimeShape as Y, waitingRunControl as Yt, DurableTranscriptMessages as Z, EDAEphemeralSinkDefinition as Zt, ReducedStateCheckpointCommandRecord as _, ApproximateTokenThresholdCompactionPolicyOptions as _n, SessionDrainProcessed as _t, CompactionRecord as a, EDASinkDurableBatch as an, contextProjectionPromptWithUserContents as at, ReducedStateCheckpointToolCallRecord as b, CompactionExecutorInput as bn, SessionNoRunnableCommand as bt, InferenceRecord as c, EDASinkRegistry as cn, durableTranscriptPromptWithUserContent as ct, LifecycleTiming as d, EDAProjectedPromptContext as dn, SessionCommandAdmissionError as dt, EDARawDurableSinkDefinition as en, EDASessionQueryShape as et, MessageRecord as f, EDAPromptProjectionInput as fn, SessionCommandCancelled as ft, ReducedState as g, LiveEventBus as gn, SessionCommandResult as gt, RecoveryContinuationRecord as h, buildEDAPrompt as hn, SessionCommandOutcome as ht, CommandTerminal as i, EDASinkContext as in, contextProjectionPromptWithUserContent as it, activeCommand as j, defaultCompactionCharsPerToken as jn, RunScheduler as jt, TurnRecord as k, CompactionRunnerShape as kn, InferenceRunnerStreamPart as kt, InferenceTerminal as l, EDASinkRegistryShape as ln, EDASubmittable as lt, RecoverableWork as m, EDAPromptProjectorShape as mn, SessionCommandFailed as mt, ActiveTurnIdentity as n, EDASink as nn, DurableTranscriptMessage as nt, CompactionTerminal as o, EDASinkInterests as on, durableMessageTranscript as ot, PendingCommand as p, EDAPromptProjector as pn, SessionCommandCompleted as pt, EDARuntimeConfig as q, planWaitingRunInterruption as qt, CommandRecord as r, EDASinkCheckpoint as rn, contextProjectionPrompt as rt, ContextRecord as s, EDASinkRawDurableBatch as sn, durableTranscriptPrompt as st, ActiveCommandEvidence as t, EDARawSink as tn, EDASessionSnapshot as tt, LifecycleFailure as u, EDASinkRunnerStartInput as un, SessionCommandAdmissionConflict as ut, ReducedStateCheckpointMessageRecord as v, CompactionError as vn, SessionDrainResult as vt, RunTerminal as w, CompactionPolicy as wn, SessionStateError as wt, ReducedStateCheckpointToolDecision as x, CompactionExecutorShape as xn, SessionNoRunnableReason as xt, ReducedStateCheckpointPayload as y, CompactionExecutor as yn, SessionForkedCommand as yt, initialReducedState as z, RunResolution as zt };
47906
- //# sourceMappingURL=reduced-state-DrSHn_47.d.ts.map
48107
+ //# sourceMappingURL=reduced-state-4FSWDdgT.d.ts.map