effect-durable-agent 0.1.0-alpha.19 → 0.1.0-alpha.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{compaction-Bell28K8.js → compaction-ajHZ5l7f.js} +60 -8
- package/dist/compaction-ajHZ5l7f.js.map +1 -0
- package/dist/domain/command-queues.d.ts +1 -1
- package/dist/domain/context-projection.js +1 -1
- package/dist/domain/context-projection.js.map +1 -1
- package/dist/domain/message-transcript.d.ts +2 -2
- package/dist/domain/message-transcript.js +10 -2
- package/dist/domain/message-transcript.js.map +1 -1
- package/dist/domain/reduced-state-schema.d.ts +1 -1
- package/dist/domain/reduced-state-schema.js +2 -2
- package/dist/domain/reduced-state-schema.js.map +1 -1
- package/dist/domain/reduced-state.d.ts +1 -1
- package/dist/domain/reduced-state.js +1 -1
- package/dist/domain/run-scheduling.d.ts +1 -1
- package/dist/{durable-DRY7AcsF.js → durable-CD__3ztN.js} +67 -4
- package/dist/durable-CD__3ztN.js.map +1 -0
- package/dist/{durable-DoG_e4iL.d.ts → durable-CKdCCqhw.d.ts} +54 -1
- package/dist/{event-factory-CKuWhjS4.js → event-factory-VAci3NJb.js} +2 -2
- package/dist/{event-factory-CKuWhjS4.js.map → event-factory-VAci3NJb.js.map} +1 -1
- package/dist/{events-sxIzJY26.d.ts → events-BWuvzVml.d.ts} +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.js +1 -1
- package/dist/{model-resolver-BHYVHsam.d.ts → model-resolver-DUms5p6X.d.ts} +10 -4
- package/dist/{reduced-state-DrSHn_47.d.ts → reduced-state-BGd_yCBT.d.ts} +308 -45
- package/dist/{reduced-state-DFIYylAq.js → reduced-state-Vuud6LCM.js} +2 -2
- package/dist/reduced-state-Vuud6LCM.js.map +1 -0
- package/dist/{reduced-state-schema-CPEmuHLY.d.ts → reduced-state-schema-jyZWJ0QS.d.ts} +19 -1
- package/dist/{reducer-registry-C3ZidOI1.d.ts → reducer-registry-BIhncOHH.d.ts} +4 -4
- package/dist/{run-scheduling-wakeup-COUj3r_B.d.ts → run-scheduling-wakeup-BH2pHE0U.d.ts} +2 -2
- package/dist/services/compaction.d.ts +2 -2
- package/dist/services/compaction.js +2 -2
- package/dist/services/id-generator.js +1 -1
- package/dist/services/id-generator.js.map +1 -1
- package/dist/services/model-call.d.ts +15 -0
- package/dist/services/model-call.js +15 -0
- package/dist/services/model-call.js.map +1 -0
- package/dist/services/model-resolver.d.ts +1 -1
- package/dist/services/model-resolver.js +1 -1
- package/dist/services/model-resolver.js.map +1 -1
- package/dist/services/prompt-projector.d.ts +2 -2
- package/dist/services/prompt-projector.js +49 -5
- package/dist/services/prompt-projector.js.map +1 -1
- package/dist/services/reducer-registry.d.ts +1 -1
- package/dist/services/run-scheduler.d.ts +1 -1
- package/dist/services/run-scheduler.js +1 -1
- package/dist/services/run-scheduler.js.map +1 -1
- package/dist/services/run-scheduling-wakeup.d.ts +1 -1
- package/dist/services/runtime-layer.d.ts +12 -9
- package/dist/services/runtime-layer.js +10 -10
- package/dist/services/runtime-layer.js.map +1 -1
- package/dist/services/runtime.d.ts +1 -1
- package/dist/services/runtime.js +2 -2
- package/dist/services/session-event-observer.d.ts +1 -1
- package/dist/services/session-query.d.ts +1 -1
- package/dist/services/session-query.js +2 -2
- package/dist/services/session-state.d.ts +1 -1
- package/dist/services/session-state.js +1 -1
- package/dist/services/session-store.d.ts +1 -1
- package/dist/services/session-store.js +5 -5
- package/dist/services/session-store.js.map +1 -1
- package/dist/services/sink-checkpoint-store.d.ts +1 -1
- package/dist/services/sink-registry.d.ts +1 -1
- package/dist/services/sink-registry.js +1 -1
- package/dist/services/tool-registry.d.ts +1 -1
- package/dist/services/tool-registry.js +2 -2
- package/dist/services/tool-registry.js.map +1 -1
- package/dist/services/tracing.d.ts +1 -1
- package/dist/services/tracing.js +1 -1
- package/dist/{session-event-observer-BDwja1jX.d.ts → session-event-observer-BdZltdrK.d.ts} +2 -2
- package/dist/{session-state-BBzzJrDC.js → session-state-C_1XxhvE.js} +61 -27
- package/dist/session-state-C_1XxhvE.js.map +1 -0
- package/dist/{session-store-B_vh581h.d.ts → session-store-BpitF4Wg.d.ts} +3 -3
- package/dist/{sink-checkpoint-store-2SxoNMbI.d.ts → sink-checkpoint-store-C-SY0cG2.d.ts} +2 -2
- package/dist/{sink-registry-ogHu2Sw7.js → sink-registry-CjK5MC90.js} +4 -4
- package/dist/sink-registry-CjK5MC90.js.map +1 -0
- package/dist/testkit/layers.d.ts +10 -10
- package/dist/testkit/layers.js +13 -10
- package/dist/testkit/layers.js.map +1 -1
- package/dist/{tool-registry-DDxbmMpY.d.ts → tool-registry-wPsHagF_.d.ts} +5 -5
- package/dist/types/commands.js +1 -1
- package/dist/types/commands.js.map +1 -1
- package/dist/types/events/durable.d.ts +1 -1
- package/dist/types/events/durable.js +1 -1
- package/dist/types/events.d.ts +2 -2
- package/dist/types/events.js +1 -1
- package/dist/websocket.d.ts +9 -2
- package/dist/websocket.js +1 -1
- package/package.json +12 -8
- package/dist/compaction-Bell28K8.js.map +0 -1
- package/dist/durable-DRY7AcsF.js.map +0 -1
- package/dist/reduced-state-DFIYylAq.js.map +0 -1
- package/dist/session-state-BBzzJrDC.js.map +0 -1
- package/dist/sink-registry-ogHu2Sw7.js.map +0 -1
|
@@ -2,31 +2,81 @@ 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-
|
|
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-
|
|
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-
|
|
9
|
-
import { t as ModelResolver } from "./model-resolver-
|
|
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-DUms5p6X.js";
|
|
10
|
+
import { a as EDAReducerStateSnapshot, r as EDAReducerRegistry } from "./reducer-registry-BIhncOHH.js";
|
|
11
|
+
import { r as EDAToolRegistry, t as EDAModelToolkit } from "./tool-registry-wPsHagF_.js";
|
|
10
12
|
import { t as IdGenerator } from "./id-generator-BKGoKjt-.js";
|
|
11
13
|
import { t as EDAKeepAlive } from "./keep-alive-_zFCUvt3.js";
|
|
12
|
-
import { t as SessionEventObserver } from "./session-event-observer-
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { t as RunSchedulingWakeup } from "./run-scheduling-wakeup-COUj3r_B.js";
|
|
16
|
-
import { r as EDAToolRegistry } from "./tool-registry-DDxbmMpY.js";
|
|
14
|
+
import { t as SessionEventObserver } from "./session-event-observer-BdZltdrK.js";
|
|
15
|
+
import { n as SinkCheckpointStore } from "./sink-checkpoint-store-C-SY0cG2.js";
|
|
16
|
+
import { t as RunSchedulingWakeup } from "./run-scheduling-wakeup-BH2pHE0U.js";
|
|
17
17
|
import { n as TokenConsumptionState } from "./model-usage-0GeHwaaU.js";
|
|
18
|
-
import { w as ReducedStateSchema } from "./reduced-state-schema-
|
|
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/
|
|
23
|
+
import * as LanguageModel from "effect/ai/LanguageModel";
|
|
24
24
|
import * as Stream from "effect/Stream";
|
|
25
|
-
import * as Prompt from "effect/
|
|
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/
|
|
29
|
+
import * as Response from "effect/ai/Response";
|
|
30
|
+
//#region src/services/prompt-projector.d.ts
|
|
31
|
+
/** Input for app-extensible state-to-LLM prompt projection. */
|
|
32
|
+
interface EDAPromptProjectionInput {
|
|
33
|
+
readonly sessionId: SessionId;
|
|
34
|
+
readonly state: ReducedState;
|
|
35
|
+
readonly reducerStates: EDAReducerStateSnapshot;
|
|
36
|
+
readonly context?: ContextProjection;
|
|
37
|
+
}
|
|
38
|
+
/** App-derived instructions and data inserted around the durable transcript. */
|
|
39
|
+
interface EDAProjectedPromptContext {
|
|
40
|
+
/** Instruction messages placed after durable system context and before transcript history. */
|
|
41
|
+
readonly instructions: ReadonlyArray<Prompt.SystemMessage>;
|
|
42
|
+
/** Data messages placed after transcript history and before scheduler-selected user messages. */
|
|
43
|
+
readonly messages: ReadonlyArray<Prompt.UserMessage>;
|
|
44
|
+
}
|
|
45
|
+
/** Host-extensible projection from durable state into provider prompt context. */
|
|
46
|
+
interface EDAPromptProjectorShape {
|
|
47
|
+
readonly projectContext: (input: EDAPromptProjectionInput) => Effect.Effect<EDAProjectedPromptContext>;
|
|
48
|
+
readonly projectState: (input: EDAPromptProjectionInput) => Effect.Effect<ReducedState>;
|
|
49
|
+
}
|
|
50
|
+
/** Build a provider prompt entirely from the current durable state projection. */
|
|
51
|
+
declare const buildEDAPrompt: (projector: EDAPromptProjectorShape, input: EDAPromptProjectionInput) => Effect.Effect<Prompt.Prompt>;
|
|
52
|
+
/** Prompt option namespace EDA uses for provider-neutral request hints. */
|
|
53
|
+
declare const EDA_PROMPT_OPTIONS_KEY = "effect-durable-agent";
|
|
54
|
+
/**
|
|
55
|
+
* Whether a message ends a stable prefix worth caching. EDA marks the end of the instruction
|
|
56
|
+
* prefix and the end of durable history, never the per-request data messages after it; provider
|
|
57
|
+
* adapters translate the hint into their own cache breakpoints.
|
|
58
|
+
*/
|
|
59
|
+
declare const isEDACacheBreakpoint: (message: Prompt.Message) => boolean;
|
|
60
|
+
declare const EDAPromptProjector_base: Context.ServiceClass<EDAPromptProjector, "@effect-durable-agent/EDAPromptProjector", EDAPromptProjectorShape>;
|
|
61
|
+
/** Service that lets apps derive LLM context independently from UI projections. */
|
|
62
|
+
declare class EDAPromptProjector extends EDAPromptProjector_base {
|
|
63
|
+
static readonly Default: Layer.Layer<EDAPromptProjector, never, never>;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Provider-native compaction output (an Anthropic `compaction` block, an OpenAI compacted window)
|
|
67
|
+
* stored on the summary prompt message. The provider that produced it replays `items` verbatim in
|
|
68
|
+
* place of the message; any other provider sees the message's readable summary text.
|
|
69
|
+
*/
|
|
70
|
+
interface EDANativeCompaction {
|
|
71
|
+
readonly provider: string;
|
|
72
|
+
readonly modelId: string;
|
|
73
|
+
readonly items: ReadonlyArray<Schema.Json>;
|
|
74
|
+
}
|
|
75
|
+
/** Summary prompt message carrying readable text plus the provider-native compaction items. */
|
|
76
|
+
declare const nativeCompactionSummaryMessage: (text: string, native: EDANativeCompaction) => Prompt.UserMessage;
|
|
77
|
+
/** Native compaction items stored on a prompt message, if any. */
|
|
78
|
+
declare const getNativeCompaction: (message: Prompt.Message) => EDANativeCompaction | undefined;
|
|
79
|
+
//#endregion
|
|
30
80
|
//#region src/services/session-context.d.ts
|
|
31
81
|
/** Runtime-scoped session identity dependency. */
|
|
32
82
|
interface SessionContextShape {
|
|
@@ -137,6 +187,14 @@ interface ApproximateTokenThresholdCompactionPolicyOptions {
|
|
|
137
187
|
readonly minSummarizableTokens?: number;
|
|
138
188
|
/** Character-to-token divisor for the approximate estimator. Defaults to 4. */
|
|
139
189
|
readonly charsPerToken?: number;
|
|
190
|
+
/**
|
|
191
|
+
* What stays verbatim after the summary. `tail-tokens` (default) keeps roughly
|
|
192
|
+
* `retainTailTokens` of recent context. `last-response` keeps exactly the latest assistant
|
|
193
|
+
* response and what followed it, so the summarized range equals the prompt of a request already
|
|
194
|
+
* sent: provider caches cover the compaction call and provider-native compaction keeps the
|
|
195
|
+
* retained response's reasoning valid.
|
|
196
|
+
*/
|
|
197
|
+
readonly retain?: "tail-tokens" | "last-response";
|
|
140
198
|
}
|
|
141
199
|
/** LanguageModel-backed summary executor options. */
|
|
142
200
|
interface LanguageModelSummaryCompactionExecutorOptions {
|
|
@@ -191,7 +249,15 @@ type CompactionOutput = typeof CompactionOutput.Type;
|
|
|
191
249
|
interface CompactionExecutorInput extends CompactionPolicyInput {
|
|
192
250
|
readonly plan: CompactionPlan;
|
|
193
251
|
/** Provider service resolved from the same durable selection used for accounting. */
|
|
194
|
-
readonly model: LanguageModel.
|
|
252
|
+
readonly model: LanguageModel.LanguageModel;
|
|
253
|
+
/**
|
|
254
|
+
* The provider prompt as it stood through `plan.sourceToSeq`: the same instructions, history and
|
|
255
|
+
* trailing context an inference at that point would send. Executors that reuse it share the
|
|
256
|
+
* conversation's provider cache.
|
|
257
|
+
*/
|
|
258
|
+
readonly prompt: Prompt.Prompt;
|
|
259
|
+
/** Tools offered with every inference; reusing them keeps the cached prefix identical. */
|
|
260
|
+
readonly toolkit: EDAModelToolkit | undefined;
|
|
195
261
|
}
|
|
196
262
|
declare const CompactionError_base: Schema.Class<CompactionError, Schema.TaggedStruct<"CompactionError", {
|
|
197
263
|
readonly message: Schema.String;
|
|
@@ -241,9 +307,28 @@ declare class CompactionExecutor extends CompactionExecutor_base {
|
|
|
241
307
|
/** Summary executor backed by the configured Effect AI LanguageModel. */
|
|
242
308
|
static readonly LanguageModelSummary: (options?: LanguageModelSummaryCompactionExecutorOptions) => Layer.Layer<CompactionExecutor>;
|
|
243
309
|
}
|
|
310
|
+
/** Prompt-prefix summary executor options. */
|
|
311
|
+
interface PromptPrefixSummaryCompactionExecutorOptions {
|
|
312
|
+
/** Stable executor id stored on summary artifacts. */
|
|
313
|
+
readonly executorId?: string;
|
|
314
|
+
/** Summarization request appended after the conversation. Defaults to EDA's checkpoint prompt. */
|
|
315
|
+
readonly instructions?: string;
|
|
316
|
+
/** Prefix used for the synthetic prompt message inserted into future context. */
|
|
317
|
+
readonly summaryMessagePrefix?: string;
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* Provider-neutral summary that reuses the conversation's own prompt prefix (instructions, tools,
|
|
321
|
+
* history) and appends the summarization request, so the call reads the conversation from the
|
|
322
|
+
* provider cache. Pair it with a policy that retains nothing (`retainTailTokens: 0`) on providers
|
|
323
|
+
* that bind reasoning to its conversation; use provider-native executors to keep a tail.
|
|
324
|
+
*/
|
|
325
|
+
declare const promptPrefixSummaryCompactionExecutor: (options?: PromptPrefixSummaryCompactionExecutorOptions) => Layer.Layer<CompactionExecutor>;
|
|
326
|
+
/** EDA's checkpoint summary request, exposed for executors that pass custom instructions. */
|
|
327
|
+
declare const defaultCompactionSummaryInstructions: () => string;
|
|
244
328
|
/** Inputs needed by the framework-owned compaction lifecycle runner. */
|
|
245
329
|
interface CompactionRunnerInput {
|
|
246
330
|
readonly state: ReducedState;
|
|
331
|
+
readonly reducerStates: EDAReducerStateSnapshot;
|
|
247
332
|
readonly context: ContextProjection;
|
|
248
333
|
readonly appendDurableEntries: (entries: ReadonlyArray<DurableAppendEntry>) => Effect.Effect<ReadonlyArray<CommittedDurableEvent>, EDASessionStoreError>;
|
|
249
334
|
}
|
|
@@ -255,7 +340,7 @@ interface CompactionRunnerShape {
|
|
|
255
340
|
declare const CompactionRunner_base: Context.ServiceClass<CompactionRunner, "@effect-durable-agent/CompactionRunner", CompactionRunnerShape>;
|
|
256
341
|
/** Framework-owned compaction lifecycle runner. */
|
|
257
342
|
declare class CompactionRunner extends CompactionRunner_base {
|
|
258
|
-
static readonly Live: Layer.Layer<CompactionRunner, never, CompactionExecutor | CompactionPolicy | EDAKeepAlive | EventFactory | IdGenerator | ModelResolver>;
|
|
343
|
+
static readonly Live: Layer.Layer<CompactionRunner, never, CompactionExecutor | CompactionPolicy | EDAKeepAlive | EDAPromptProjector | EDAToolRegistry | EventFactory | IdGenerator | ModelResolver | SessionContext>;
|
|
259
344
|
}
|
|
260
345
|
//#endregion
|
|
261
346
|
//#region src/services/live-event-bus.d.ts
|
|
@@ -281,34 +366,6 @@ declare class LiveEventBus extends LiveEventBus_base {
|
|
|
281
366
|
static readonly Noop: Layer.Layer<LiveEventBus, never, never>;
|
|
282
367
|
}
|
|
283
368
|
//#endregion
|
|
284
|
-
//#region src/services/prompt-projector.d.ts
|
|
285
|
-
/** Input for app-extensible state-to-LLM prompt projection. */
|
|
286
|
-
interface EDAPromptProjectionInput {
|
|
287
|
-
readonly sessionId: SessionId;
|
|
288
|
-
readonly state: ReducedState;
|
|
289
|
-
readonly reducerStates: EDAReducerStateSnapshot;
|
|
290
|
-
readonly context?: ContextProjection;
|
|
291
|
-
}
|
|
292
|
-
/** App-derived instructions and data inserted around the durable transcript. */
|
|
293
|
-
interface EDAProjectedPromptContext {
|
|
294
|
-
/** Instruction messages placed after durable system context and before transcript history. */
|
|
295
|
-
readonly instructions: ReadonlyArray<Prompt.SystemMessage>;
|
|
296
|
-
/** Data messages placed after transcript history and before scheduler-selected user messages. */
|
|
297
|
-
readonly messages: ReadonlyArray<Prompt.UserMessage>;
|
|
298
|
-
}
|
|
299
|
-
/** Host-extensible projection from durable state into provider prompt context. */
|
|
300
|
-
interface EDAPromptProjectorShape {
|
|
301
|
-
readonly projectContext: (input: EDAPromptProjectionInput) => Effect.Effect<EDAProjectedPromptContext>;
|
|
302
|
-
readonly projectState: (input: EDAPromptProjectionInput) => Effect.Effect<ReducedState>;
|
|
303
|
-
}
|
|
304
|
-
/** Build a provider prompt entirely from the current durable state projection. */
|
|
305
|
-
declare const buildEDAPrompt: (projector: EDAPromptProjectorShape, input: EDAPromptProjectionInput) => Effect.Effect<Prompt.Prompt>;
|
|
306
|
-
declare const EDAPromptProjector_base: Context.ServiceClass<EDAPromptProjector, "@effect-durable-agent/EDAPromptProjector", EDAPromptProjectorShape>;
|
|
307
|
-
/** Service that lets apps derive LLM context independently from UI projections. */
|
|
308
|
-
declare class EDAPromptProjector extends EDAPromptProjector_base {
|
|
309
|
-
static readonly Default: Layer.Layer<EDAPromptProjector, never, never>;
|
|
310
|
-
}
|
|
311
|
-
//#endregion
|
|
312
369
|
//#region src/services/sink-registry.d.ts
|
|
313
370
|
/** Cursor-window input delivered to one durable sink drain. */
|
|
314
371
|
interface EDASinkRawDurableBatch<E = DecodedDurableEvent> {
|
|
@@ -743,6 +800,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
|
|
|
743
800
|
readonly name: string;
|
|
744
801
|
readonly isFailure: boolean;
|
|
745
802
|
readonly result: unknown;
|
|
803
|
+
readonly providerExecuted: boolean;
|
|
746
804
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
747
805
|
readonly options: {
|
|
748
806
|
readonly [x: string]: Schema.Json;
|
|
@@ -794,6 +852,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
|
|
|
794
852
|
readonly name: string;
|
|
795
853
|
readonly isFailure: boolean;
|
|
796
854
|
readonly result: unknown;
|
|
855
|
+
readonly providerExecuted: boolean;
|
|
797
856
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
798
857
|
readonly options: {
|
|
799
858
|
readonly [x: string]: Schema.Json;
|
|
@@ -1700,6 +1759,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
|
|
|
1700
1759
|
readonly name: string;
|
|
1701
1760
|
readonly isFailure: boolean;
|
|
1702
1761
|
readonly result: unknown;
|
|
1762
|
+
readonly providerExecuted: boolean;
|
|
1703
1763
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
1704
1764
|
readonly options: {
|
|
1705
1765
|
readonly [x: string]: Schema.Json;
|
|
@@ -1751,6 +1811,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
|
|
|
1751
1811
|
readonly name: string;
|
|
1752
1812
|
readonly isFailure: boolean;
|
|
1753
1813
|
readonly result: unknown;
|
|
1814
|
+
readonly providerExecuted: boolean;
|
|
1754
1815
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
1755
1816
|
readonly options: {
|
|
1756
1817
|
readonly [x: string]: Schema.Json;
|
|
@@ -1837,6 +1898,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
|
|
|
1837
1898
|
readonly name: string;
|
|
1838
1899
|
readonly isFailure: boolean;
|
|
1839
1900
|
readonly result: unknown;
|
|
1901
|
+
readonly providerExecuted: boolean;
|
|
1840
1902
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
1841
1903
|
readonly options: {
|
|
1842
1904
|
readonly [x: string]: Schema.Json;
|
|
@@ -1888,6 +1950,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
|
|
|
1888
1950
|
readonly name: string;
|
|
1889
1951
|
readonly isFailure: boolean;
|
|
1890
1952
|
readonly result: unknown;
|
|
1953
|
+
readonly providerExecuted: boolean;
|
|
1891
1954
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
1892
1955
|
readonly options: {
|
|
1893
1956
|
readonly [x: string]: Schema.Json;
|
|
@@ -1974,6 +2037,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
|
|
|
1974
2037
|
readonly name: string;
|
|
1975
2038
|
readonly isFailure: boolean;
|
|
1976
2039
|
readonly result: unknown;
|
|
2040
|
+
readonly providerExecuted: boolean;
|
|
1977
2041
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
1978
2042
|
readonly options: {
|
|
1979
2043
|
readonly [x: string]: Schema.Json;
|
|
@@ -2025,6 +2089,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
|
|
|
2025
2089
|
readonly name: string;
|
|
2026
2090
|
readonly isFailure: boolean;
|
|
2027
2091
|
readonly result: unknown;
|
|
2092
|
+
readonly providerExecuted: boolean;
|
|
2028
2093
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
2029
2094
|
readonly options: {
|
|
2030
2095
|
readonly [x: string]: Schema.Json;
|
|
@@ -2569,6 +2634,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
|
|
|
2569
2634
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
2570
2635
|
readonly promptPart: {
|
|
2571
2636
|
readonly type: "tool-result";
|
|
2637
|
+
readonly providerExecuted: boolean;
|
|
2572
2638
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
2573
2639
|
readonly options: {
|
|
2574
2640
|
readonly [x: string]: Schema.Json;
|
|
@@ -2646,6 +2712,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
|
|
|
2646
2712
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
2647
2713
|
readonly promptPart: {
|
|
2648
2714
|
readonly type: "tool-result";
|
|
2715
|
+
readonly providerExecuted: boolean;
|
|
2649
2716
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
2650
2717
|
readonly options: {
|
|
2651
2718
|
readonly [x: string]: Schema.Json;
|
|
@@ -2693,6 +2760,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
|
|
|
2693
2760
|
} | undefined;
|
|
2694
2761
|
readonly promptPart: {
|
|
2695
2762
|
readonly type: "tool-result";
|
|
2763
|
+
readonly providerExecuted: boolean;
|
|
2696
2764
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
2697
2765
|
readonly options: {
|
|
2698
2766
|
readonly [x: string]: Schema.Json;
|
|
@@ -3380,6 +3448,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
|
|
|
3380
3448
|
readonly name: string;
|
|
3381
3449
|
readonly isFailure: boolean;
|
|
3382
3450
|
readonly result: unknown;
|
|
3451
|
+
readonly providerExecuted: boolean;
|
|
3383
3452
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
3384
3453
|
readonly options: {
|
|
3385
3454
|
readonly [x: string]: Schema.Json;
|
|
@@ -3431,6 +3500,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
|
|
|
3431
3500
|
readonly name: string;
|
|
3432
3501
|
readonly isFailure: boolean;
|
|
3433
3502
|
readonly result: unknown;
|
|
3503
|
+
readonly providerExecuted: boolean;
|
|
3434
3504
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
3435
3505
|
readonly options: {
|
|
3436
3506
|
readonly [x: string]: Schema.Json;
|
|
@@ -4337,6 +4407,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
|
|
|
4337
4407
|
readonly name: string;
|
|
4338
4408
|
readonly isFailure: boolean;
|
|
4339
4409
|
readonly result: unknown;
|
|
4410
|
+
readonly providerExecuted: boolean;
|
|
4340
4411
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
4341
4412
|
readonly options: {
|
|
4342
4413
|
readonly [x: string]: Schema.Json;
|
|
@@ -4388,6 +4459,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
|
|
|
4388
4459
|
readonly name: string;
|
|
4389
4460
|
readonly isFailure: boolean;
|
|
4390
4461
|
readonly result: unknown;
|
|
4462
|
+
readonly providerExecuted: boolean;
|
|
4391
4463
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
4392
4464
|
readonly options: {
|
|
4393
4465
|
readonly [x: string]: Schema.Json;
|
|
@@ -4474,6 +4546,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
|
|
|
4474
4546
|
readonly name: string;
|
|
4475
4547
|
readonly isFailure: boolean;
|
|
4476
4548
|
readonly result: unknown;
|
|
4549
|
+
readonly providerExecuted: boolean;
|
|
4477
4550
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
4478
4551
|
readonly options: {
|
|
4479
4552
|
readonly [x: string]: Schema.Json;
|
|
@@ -4525,6 +4598,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
|
|
|
4525
4598
|
readonly name: string;
|
|
4526
4599
|
readonly isFailure: boolean;
|
|
4527
4600
|
readonly result: unknown;
|
|
4601
|
+
readonly providerExecuted: boolean;
|
|
4528
4602
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
4529
4603
|
readonly options: {
|
|
4530
4604
|
readonly [x: string]: Schema.Json;
|
|
@@ -4611,6 +4685,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
|
|
|
4611
4685
|
readonly name: string;
|
|
4612
4686
|
readonly isFailure: boolean;
|
|
4613
4687
|
readonly result: unknown;
|
|
4688
|
+
readonly providerExecuted: boolean;
|
|
4614
4689
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
4615
4690
|
readonly options: {
|
|
4616
4691
|
readonly [x: string]: Schema.Json;
|
|
@@ -4662,6 +4737,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
|
|
|
4662
4737
|
readonly name: string;
|
|
4663
4738
|
readonly isFailure: boolean;
|
|
4664
4739
|
readonly result: unknown;
|
|
4740
|
+
readonly providerExecuted: boolean;
|
|
4665
4741
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
4666
4742
|
readonly options: {
|
|
4667
4743
|
readonly [x: string]: Schema.Json;
|
|
@@ -5206,6 +5282,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
|
|
|
5206
5282
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
5207
5283
|
readonly promptPart: {
|
|
5208
5284
|
readonly type: "tool-result";
|
|
5285
|
+
readonly providerExecuted: boolean;
|
|
5209
5286
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
5210
5287
|
readonly options: {
|
|
5211
5288
|
readonly [x: string]: Schema.Json;
|
|
@@ -5283,6 +5360,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
|
|
|
5283
5360
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
5284
5361
|
readonly promptPart: {
|
|
5285
5362
|
readonly type: "tool-result";
|
|
5363
|
+
readonly providerExecuted: boolean;
|
|
5286
5364
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
5287
5365
|
readonly options: {
|
|
5288
5366
|
readonly [x: string]: Schema.Json;
|
|
@@ -5330,6 +5408,7 @@ declare const ToolExecutionOutcome: Schema.Union<readonly [Schema.TaggedStruct<"
|
|
|
5330
5408
|
} | undefined;
|
|
5331
5409
|
readonly promptPart: {
|
|
5332
5410
|
readonly type: "tool-result";
|
|
5411
|
+
readonly providerExecuted: boolean;
|
|
5333
5412
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
5334
5413
|
readonly options: {
|
|
5335
5414
|
readonly [x: string]: Schema.Json;
|
|
@@ -6060,6 +6139,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
6060
6139
|
readonly name: string;
|
|
6061
6140
|
readonly isFailure: boolean;
|
|
6062
6141
|
readonly result: unknown;
|
|
6142
|
+
readonly providerExecuted: boolean;
|
|
6063
6143
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
6064
6144
|
readonly options: {
|
|
6065
6145
|
readonly [x: string]: Schema.Json;
|
|
@@ -6111,6 +6191,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
6111
6191
|
readonly name: string;
|
|
6112
6192
|
readonly isFailure: boolean;
|
|
6113
6193
|
readonly result: unknown;
|
|
6194
|
+
readonly providerExecuted: boolean;
|
|
6114
6195
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
6115
6196
|
readonly options: {
|
|
6116
6197
|
readonly [x: string]: Schema.Json;
|
|
@@ -7017,6 +7098,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
7017
7098
|
readonly name: string;
|
|
7018
7099
|
readonly isFailure: boolean;
|
|
7019
7100
|
readonly result: unknown;
|
|
7101
|
+
readonly providerExecuted: boolean;
|
|
7020
7102
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
7021
7103
|
readonly options: {
|
|
7022
7104
|
readonly [x: string]: Schema.Json;
|
|
@@ -7068,6 +7150,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
7068
7150
|
readonly name: string;
|
|
7069
7151
|
readonly isFailure: boolean;
|
|
7070
7152
|
readonly result: unknown;
|
|
7153
|
+
readonly providerExecuted: boolean;
|
|
7071
7154
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
7072
7155
|
readonly options: {
|
|
7073
7156
|
readonly [x: string]: Schema.Json;
|
|
@@ -7154,6 +7237,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
7154
7237
|
readonly name: string;
|
|
7155
7238
|
readonly isFailure: boolean;
|
|
7156
7239
|
readonly result: unknown;
|
|
7240
|
+
readonly providerExecuted: boolean;
|
|
7157
7241
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
7158
7242
|
readonly options: {
|
|
7159
7243
|
readonly [x: string]: Schema.Json;
|
|
@@ -7205,6 +7289,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
7205
7289
|
readonly name: string;
|
|
7206
7290
|
readonly isFailure: boolean;
|
|
7207
7291
|
readonly result: unknown;
|
|
7292
|
+
readonly providerExecuted: boolean;
|
|
7208
7293
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
7209
7294
|
readonly options: {
|
|
7210
7295
|
readonly [x: string]: Schema.Json;
|
|
@@ -7291,6 +7376,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
7291
7376
|
readonly name: string;
|
|
7292
7377
|
readonly isFailure: boolean;
|
|
7293
7378
|
readonly result: unknown;
|
|
7379
|
+
readonly providerExecuted: boolean;
|
|
7294
7380
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
7295
7381
|
readonly options: {
|
|
7296
7382
|
readonly [x: string]: Schema.Json;
|
|
@@ -7342,6 +7428,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
7342
7428
|
readonly name: string;
|
|
7343
7429
|
readonly isFailure: boolean;
|
|
7344
7430
|
readonly result: unknown;
|
|
7431
|
+
readonly providerExecuted: boolean;
|
|
7345
7432
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
7346
7433
|
readonly options: {
|
|
7347
7434
|
readonly [x: string]: Schema.Json;
|
|
@@ -7886,6 +7973,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
7886
7973
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
7887
7974
|
readonly promptPart: {
|
|
7888
7975
|
readonly type: "tool-result";
|
|
7976
|
+
readonly providerExecuted: boolean;
|
|
7889
7977
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
7890
7978
|
readonly options: {
|
|
7891
7979
|
readonly [x: string]: Schema.Json;
|
|
@@ -7963,6 +8051,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
7963
8051
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
7964
8052
|
readonly promptPart: {
|
|
7965
8053
|
readonly type: "tool-result";
|
|
8054
|
+
readonly providerExecuted: boolean;
|
|
7966
8055
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
7967
8056
|
readonly options: {
|
|
7968
8057
|
readonly [x: string]: Schema.Json;
|
|
@@ -8010,6 +8099,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
8010
8099
|
} | undefined;
|
|
8011
8100
|
readonly promptPart: {
|
|
8012
8101
|
readonly type: "tool-result";
|
|
8102
|
+
readonly providerExecuted: boolean;
|
|
8013
8103
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
8014
8104
|
readonly options: {
|
|
8015
8105
|
readonly [x: string]: Schema.Json;
|
|
@@ -8697,6 +8787,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
8697
8787
|
readonly name: string;
|
|
8698
8788
|
readonly isFailure: boolean;
|
|
8699
8789
|
readonly result: unknown;
|
|
8790
|
+
readonly providerExecuted: boolean;
|
|
8700
8791
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
8701
8792
|
readonly options: {
|
|
8702
8793
|
readonly [x: string]: Schema.Json;
|
|
@@ -8748,6 +8839,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
8748
8839
|
readonly name: string;
|
|
8749
8840
|
readonly isFailure: boolean;
|
|
8750
8841
|
readonly result: unknown;
|
|
8842
|
+
readonly providerExecuted: boolean;
|
|
8751
8843
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
8752
8844
|
readonly options: {
|
|
8753
8845
|
readonly [x: string]: Schema.Json;
|
|
@@ -9654,6 +9746,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
9654
9746
|
readonly name: string;
|
|
9655
9747
|
readonly isFailure: boolean;
|
|
9656
9748
|
readonly result: unknown;
|
|
9749
|
+
readonly providerExecuted: boolean;
|
|
9657
9750
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
9658
9751
|
readonly options: {
|
|
9659
9752
|
readonly [x: string]: Schema.Json;
|
|
@@ -9705,6 +9798,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
9705
9798
|
readonly name: string;
|
|
9706
9799
|
readonly isFailure: boolean;
|
|
9707
9800
|
readonly result: unknown;
|
|
9801
|
+
readonly providerExecuted: boolean;
|
|
9708
9802
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
9709
9803
|
readonly options: {
|
|
9710
9804
|
readonly [x: string]: Schema.Json;
|
|
@@ -9791,6 +9885,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
9791
9885
|
readonly name: string;
|
|
9792
9886
|
readonly isFailure: boolean;
|
|
9793
9887
|
readonly result: unknown;
|
|
9888
|
+
readonly providerExecuted: boolean;
|
|
9794
9889
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
9795
9890
|
readonly options: {
|
|
9796
9891
|
readonly [x: string]: Schema.Json;
|
|
@@ -9842,6 +9937,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
9842
9937
|
readonly name: string;
|
|
9843
9938
|
readonly isFailure: boolean;
|
|
9844
9939
|
readonly result: unknown;
|
|
9940
|
+
readonly providerExecuted: boolean;
|
|
9845
9941
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
9846
9942
|
readonly options: {
|
|
9847
9943
|
readonly [x: string]: Schema.Json;
|
|
@@ -9928,6 +10024,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
9928
10024
|
readonly name: string;
|
|
9929
10025
|
readonly isFailure: boolean;
|
|
9930
10026
|
readonly result: unknown;
|
|
10027
|
+
readonly providerExecuted: boolean;
|
|
9931
10028
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
9932
10029
|
readonly options: {
|
|
9933
10030
|
readonly [x: string]: Schema.Json;
|
|
@@ -9979,6 +10076,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
9979
10076
|
readonly name: string;
|
|
9980
10077
|
readonly isFailure: boolean;
|
|
9981
10078
|
readonly result: unknown;
|
|
10079
|
+
readonly providerExecuted: boolean;
|
|
9982
10080
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
9983
10081
|
readonly options: {
|
|
9984
10082
|
readonly [x: string]: Schema.Json;
|
|
@@ -10523,6 +10621,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
10523
10621
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
10524
10622
|
readonly promptPart: {
|
|
10525
10623
|
readonly type: "tool-result";
|
|
10624
|
+
readonly providerExecuted: boolean;
|
|
10526
10625
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
10527
10626
|
readonly options: {
|
|
10528
10627
|
readonly [x: string]: Schema.Json;
|
|
@@ -10600,6 +10699,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
10600
10699
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
10601
10700
|
readonly promptPart: {
|
|
10602
10701
|
readonly type: "tool-result";
|
|
10702
|
+
readonly providerExecuted: boolean;
|
|
10603
10703
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
10604
10704
|
readonly options: {
|
|
10605
10705
|
readonly [x: string]: Schema.Json;
|
|
@@ -10647,6 +10747,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
10647
10747
|
} | undefined;
|
|
10648
10748
|
readonly promptPart: {
|
|
10649
10749
|
readonly type: "tool-result";
|
|
10750
|
+
readonly providerExecuted: boolean;
|
|
10650
10751
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
10651
10752
|
readonly options: {
|
|
10652
10753
|
readonly [x: string]: Schema.Json;
|
|
@@ -11336,6 +11437,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
11336
11437
|
readonly name: string;
|
|
11337
11438
|
readonly isFailure: boolean;
|
|
11338
11439
|
readonly result: unknown;
|
|
11440
|
+
readonly providerExecuted: boolean;
|
|
11339
11441
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
11340
11442
|
readonly options: {
|
|
11341
11443
|
readonly [x: string]: Schema.Json;
|
|
@@ -11387,6 +11489,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
11387
11489
|
readonly name: string;
|
|
11388
11490
|
readonly isFailure: boolean;
|
|
11389
11491
|
readonly result: unknown;
|
|
11492
|
+
readonly providerExecuted: boolean;
|
|
11390
11493
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
11391
11494
|
readonly options: {
|
|
11392
11495
|
readonly [x: string]: Schema.Json;
|
|
@@ -12293,6 +12396,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
12293
12396
|
readonly name: string;
|
|
12294
12397
|
readonly isFailure: boolean;
|
|
12295
12398
|
readonly result: unknown;
|
|
12399
|
+
readonly providerExecuted: boolean;
|
|
12296
12400
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
12297
12401
|
readonly options: {
|
|
12298
12402
|
readonly [x: string]: Schema.Json;
|
|
@@ -12344,6 +12448,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
12344
12448
|
readonly name: string;
|
|
12345
12449
|
readonly isFailure: boolean;
|
|
12346
12450
|
readonly result: unknown;
|
|
12451
|
+
readonly providerExecuted: boolean;
|
|
12347
12452
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
12348
12453
|
readonly options: {
|
|
12349
12454
|
readonly [x: string]: Schema.Json;
|
|
@@ -12430,6 +12535,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
12430
12535
|
readonly name: string;
|
|
12431
12536
|
readonly isFailure: boolean;
|
|
12432
12537
|
readonly result: unknown;
|
|
12538
|
+
readonly providerExecuted: boolean;
|
|
12433
12539
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
12434
12540
|
readonly options: {
|
|
12435
12541
|
readonly [x: string]: Schema.Json;
|
|
@@ -12481,6 +12587,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
12481
12587
|
readonly name: string;
|
|
12482
12588
|
readonly isFailure: boolean;
|
|
12483
12589
|
readonly result: unknown;
|
|
12590
|
+
readonly providerExecuted: boolean;
|
|
12484
12591
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
12485
12592
|
readonly options: {
|
|
12486
12593
|
readonly [x: string]: Schema.Json;
|
|
@@ -12567,6 +12674,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
12567
12674
|
readonly name: string;
|
|
12568
12675
|
readonly isFailure: boolean;
|
|
12569
12676
|
readonly result: unknown;
|
|
12677
|
+
readonly providerExecuted: boolean;
|
|
12570
12678
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
12571
12679
|
readonly options: {
|
|
12572
12680
|
readonly [x: string]: Schema.Json;
|
|
@@ -12618,6 +12726,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
12618
12726
|
readonly name: string;
|
|
12619
12727
|
readonly isFailure: boolean;
|
|
12620
12728
|
readonly result: unknown;
|
|
12729
|
+
readonly providerExecuted: boolean;
|
|
12621
12730
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
12622
12731
|
readonly options: {
|
|
12623
12732
|
readonly [x: string]: Schema.Json;
|
|
@@ -13162,6 +13271,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
13162
13271
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
13163
13272
|
readonly promptPart: {
|
|
13164
13273
|
readonly type: "tool-result";
|
|
13274
|
+
readonly providerExecuted: boolean;
|
|
13165
13275
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
13166
13276
|
readonly options: {
|
|
13167
13277
|
readonly [x: string]: Schema.Json;
|
|
@@ -13239,6 +13349,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
13239
13349
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
13240
13350
|
readonly promptPart: {
|
|
13241
13351
|
readonly type: "tool-result";
|
|
13352
|
+
readonly providerExecuted: boolean;
|
|
13242
13353
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
13243
13354
|
readonly options: {
|
|
13244
13355
|
readonly [x: string]: Schema.Json;
|
|
@@ -13286,6 +13397,7 @@ declare const InferenceRunResult: Schema.Struct<{
|
|
|
13286
13397
|
} | undefined;
|
|
13287
13398
|
readonly promptPart: {
|
|
13288
13399
|
readonly type: "tool-result";
|
|
13400
|
+
readonly providerExecuted: boolean;
|
|
13289
13401
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
13290
13402
|
readonly options: {
|
|
13291
13403
|
readonly [x: string]: Schema.Json;
|
|
@@ -14015,6 +14127,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
14015
14127
|
readonly name: string;
|
|
14016
14128
|
readonly isFailure: boolean;
|
|
14017
14129
|
readonly result: unknown;
|
|
14130
|
+
readonly providerExecuted: boolean;
|
|
14018
14131
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
14019
14132
|
readonly options: {
|
|
14020
14133
|
readonly [x: string]: Schema.Json;
|
|
@@ -14066,6 +14179,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
14066
14179
|
readonly name: string;
|
|
14067
14180
|
readonly isFailure: boolean;
|
|
14068
14181
|
readonly result: unknown;
|
|
14182
|
+
readonly providerExecuted: boolean;
|
|
14069
14183
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
14070
14184
|
readonly options: {
|
|
14071
14185
|
readonly [x: string]: Schema.Json;
|
|
@@ -14972,6 +15086,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
14972
15086
|
readonly name: string;
|
|
14973
15087
|
readonly isFailure: boolean;
|
|
14974
15088
|
readonly result: unknown;
|
|
15089
|
+
readonly providerExecuted: boolean;
|
|
14975
15090
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
14976
15091
|
readonly options: {
|
|
14977
15092
|
readonly [x: string]: Schema.Json;
|
|
@@ -15023,6 +15138,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
15023
15138
|
readonly name: string;
|
|
15024
15139
|
readonly isFailure: boolean;
|
|
15025
15140
|
readonly result: unknown;
|
|
15141
|
+
readonly providerExecuted: boolean;
|
|
15026
15142
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
15027
15143
|
readonly options: {
|
|
15028
15144
|
readonly [x: string]: Schema.Json;
|
|
@@ -15109,6 +15225,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
15109
15225
|
readonly name: string;
|
|
15110
15226
|
readonly isFailure: boolean;
|
|
15111
15227
|
readonly result: unknown;
|
|
15228
|
+
readonly providerExecuted: boolean;
|
|
15112
15229
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
15113
15230
|
readonly options: {
|
|
15114
15231
|
readonly [x: string]: Schema.Json;
|
|
@@ -15160,6 +15277,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
15160
15277
|
readonly name: string;
|
|
15161
15278
|
readonly isFailure: boolean;
|
|
15162
15279
|
readonly result: unknown;
|
|
15280
|
+
readonly providerExecuted: boolean;
|
|
15163
15281
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
15164
15282
|
readonly options: {
|
|
15165
15283
|
readonly [x: string]: Schema.Json;
|
|
@@ -15246,6 +15364,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
15246
15364
|
readonly name: string;
|
|
15247
15365
|
readonly isFailure: boolean;
|
|
15248
15366
|
readonly result: unknown;
|
|
15367
|
+
readonly providerExecuted: boolean;
|
|
15249
15368
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
15250
15369
|
readonly options: {
|
|
15251
15370
|
readonly [x: string]: Schema.Json;
|
|
@@ -15297,6 +15416,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
15297
15416
|
readonly name: string;
|
|
15298
15417
|
readonly isFailure: boolean;
|
|
15299
15418
|
readonly result: unknown;
|
|
15419
|
+
readonly providerExecuted: boolean;
|
|
15300
15420
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
15301
15421
|
readonly options: {
|
|
15302
15422
|
readonly [x: string]: Schema.Json;
|
|
@@ -15841,6 +15961,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
15841
15961
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
15842
15962
|
readonly promptPart: {
|
|
15843
15963
|
readonly type: "tool-result";
|
|
15964
|
+
readonly providerExecuted: boolean;
|
|
15844
15965
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
15845
15966
|
readonly options: {
|
|
15846
15967
|
readonly [x: string]: Schema.Json;
|
|
@@ -15918,6 +16039,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
15918
16039
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
15919
16040
|
readonly promptPart: {
|
|
15920
16041
|
readonly type: "tool-result";
|
|
16042
|
+
readonly providerExecuted: boolean;
|
|
15921
16043
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
15922
16044
|
readonly options: {
|
|
15923
16045
|
readonly [x: string]: Schema.Json;
|
|
@@ -15965,6 +16087,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
15965
16087
|
} | undefined;
|
|
15966
16088
|
readonly promptPart: {
|
|
15967
16089
|
readonly type: "tool-result";
|
|
16090
|
+
readonly providerExecuted: boolean;
|
|
15968
16091
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
15969
16092
|
readonly options: {
|
|
15970
16093
|
readonly [x: string]: Schema.Json;
|
|
@@ -16651,6 +16774,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
16651
16774
|
readonly name: string;
|
|
16652
16775
|
readonly isFailure: boolean;
|
|
16653
16776
|
readonly result: unknown;
|
|
16777
|
+
readonly providerExecuted: boolean;
|
|
16654
16778
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
16655
16779
|
readonly options: {
|
|
16656
16780
|
readonly [x: string]: Schema.Json;
|
|
@@ -16702,6 +16826,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
16702
16826
|
readonly name: string;
|
|
16703
16827
|
readonly isFailure: boolean;
|
|
16704
16828
|
readonly result: unknown;
|
|
16829
|
+
readonly providerExecuted: boolean;
|
|
16705
16830
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
16706
16831
|
readonly options: {
|
|
16707
16832
|
readonly [x: string]: Schema.Json;
|
|
@@ -17608,6 +17733,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
17608
17733
|
readonly name: string;
|
|
17609
17734
|
readonly isFailure: boolean;
|
|
17610
17735
|
readonly result: unknown;
|
|
17736
|
+
readonly providerExecuted: boolean;
|
|
17611
17737
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
17612
17738
|
readonly options: {
|
|
17613
17739
|
readonly [x: string]: Schema.Json;
|
|
@@ -17659,6 +17785,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
17659
17785
|
readonly name: string;
|
|
17660
17786
|
readonly isFailure: boolean;
|
|
17661
17787
|
readonly result: unknown;
|
|
17788
|
+
readonly providerExecuted: boolean;
|
|
17662
17789
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
17663
17790
|
readonly options: {
|
|
17664
17791
|
readonly [x: string]: Schema.Json;
|
|
@@ -17745,6 +17872,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
17745
17872
|
readonly name: string;
|
|
17746
17873
|
readonly isFailure: boolean;
|
|
17747
17874
|
readonly result: unknown;
|
|
17875
|
+
readonly providerExecuted: boolean;
|
|
17748
17876
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
17749
17877
|
readonly options: {
|
|
17750
17878
|
readonly [x: string]: Schema.Json;
|
|
@@ -17796,6 +17924,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
17796
17924
|
readonly name: string;
|
|
17797
17925
|
readonly isFailure: boolean;
|
|
17798
17926
|
readonly result: unknown;
|
|
17927
|
+
readonly providerExecuted: boolean;
|
|
17799
17928
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
17800
17929
|
readonly options: {
|
|
17801
17930
|
readonly [x: string]: Schema.Json;
|
|
@@ -17882,6 +18011,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
17882
18011
|
readonly name: string;
|
|
17883
18012
|
readonly isFailure: boolean;
|
|
17884
18013
|
readonly result: unknown;
|
|
18014
|
+
readonly providerExecuted: boolean;
|
|
17885
18015
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
17886
18016
|
readonly options: {
|
|
17887
18017
|
readonly [x: string]: Schema.Json;
|
|
@@ -17933,6 +18063,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
17933
18063
|
readonly name: string;
|
|
17934
18064
|
readonly isFailure: boolean;
|
|
17935
18065
|
readonly result: unknown;
|
|
18066
|
+
readonly providerExecuted: boolean;
|
|
17936
18067
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
17937
18068
|
readonly options: {
|
|
17938
18069
|
readonly [x: string]: Schema.Json;
|
|
@@ -18477,6 +18608,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
18477
18608
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
18478
18609
|
readonly promptPart: {
|
|
18479
18610
|
readonly type: "tool-result";
|
|
18611
|
+
readonly providerExecuted: boolean;
|
|
18480
18612
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
18481
18613
|
readonly options: {
|
|
18482
18614
|
readonly [x: string]: Schema.Json;
|
|
@@ -18554,6 +18686,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
18554
18686
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
18555
18687
|
readonly promptPart: {
|
|
18556
18688
|
readonly type: "tool-result";
|
|
18689
|
+
readonly providerExecuted: boolean;
|
|
18557
18690
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
18558
18691
|
readonly options: {
|
|
18559
18692
|
readonly [x: string]: Schema.Json;
|
|
@@ -18601,6 +18734,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
18601
18734
|
} | undefined;
|
|
18602
18735
|
readonly promptPart: {
|
|
18603
18736
|
readonly type: "tool-result";
|
|
18737
|
+
readonly providerExecuted: boolean;
|
|
18604
18738
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
18605
18739
|
readonly options: {
|
|
18606
18740
|
readonly [x: string]: Schema.Json;
|
|
@@ -19288,6 +19422,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
19288
19422
|
readonly name: string;
|
|
19289
19423
|
readonly isFailure: boolean;
|
|
19290
19424
|
readonly result: unknown;
|
|
19425
|
+
readonly providerExecuted: boolean;
|
|
19291
19426
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
19292
19427
|
readonly options: {
|
|
19293
19428
|
readonly [x: string]: Schema.Json;
|
|
@@ -19339,6 +19474,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
19339
19474
|
readonly name: string;
|
|
19340
19475
|
readonly isFailure: boolean;
|
|
19341
19476
|
readonly result: unknown;
|
|
19477
|
+
readonly providerExecuted: boolean;
|
|
19342
19478
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
19343
19479
|
readonly options: {
|
|
19344
19480
|
readonly [x: string]: Schema.Json;
|
|
@@ -20245,6 +20381,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
20245
20381
|
readonly name: string;
|
|
20246
20382
|
readonly isFailure: boolean;
|
|
20247
20383
|
readonly result: unknown;
|
|
20384
|
+
readonly providerExecuted: boolean;
|
|
20248
20385
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
20249
20386
|
readonly options: {
|
|
20250
20387
|
readonly [x: string]: Schema.Json;
|
|
@@ -20296,6 +20433,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
20296
20433
|
readonly name: string;
|
|
20297
20434
|
readonly isFailure: boolean;
|
|
20298
20435
|
readonly result: unknown;
|
|
20436
|
+
readonly providerExecuted: boolean;
|
|
20299
20437
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
20300
20438
|
readonly options: {
|
|
20301
20439
|
readonly [x: string]: Schema.Json;
|
|
@@ -20382,6 +20520,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
20382
20520
|
readonly name: string;
|
|
20383
20521
|
readonly isFailure: boolean;
|
|
20384
20522
|
readonly result: unknown;
|
|
20523
|
+
readonly providerExecuted: boolean;
|
|
20385
20524
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
20386
20525
|
readonly options: {
|
|
20387
20526
|
readonly [x: string]: Schema.Json;
|
|
@@ -20433,6 +20572,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
20433
20572
|
readonly name: string;
|
|
20434
20573
|
readonly isFailure: boolean;
|
|
20435
20574
|
readonly result: unknown;
|
|
20575
|
+
readonly providerExecuted: boolean;
|
|
20436
20576
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
20437
20577
|
readonly options: {
|
|
20438
20578
|
readonly [x: string]: Schema.Json;
|
|
@@ -20519,6 +20659,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
20519
20659
|
readonly name: string;
|
|
20520
20660
|
readonly isFailure: boolean;
|
|
20521
20661
|
readonly result: unknown;
|
|
20662
|
+
readonly providerExecuted: boolean;
|
|
20522
20663
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
20523
20664
|
readonly options: {
|
|
20524
20665
|
readonly [x: string]: Schema.Json;
|
|
@@ -20570,6 +20711,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
20570
20711
|
readonly name: string;
|
|
20571
20712
|
readonly isFailure: boolean;
|
|
20572
20713
|
readonly result: unknown;
|
|
20714
|
+
readonly providerExecuted: boolean;
|
|
20573
20715
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
20574
20716
|
readonly options: {
|
|
20575
20717
|
readonly [x: string]: Schema.Json;
|
|
@@ -21114,6 +21256,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
21114
21256
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
21115
21257
|
readonly promptPart: {
|
|
21116
21258
|
readonly type: "tool-result";
|
|
21259
|
+
readonly providerExecuted: boolean;
|
|
21117
21260
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
21118
21261
|
readonly options: {
|
|
21119
21262
|
readonly [x: string]: Schema.Json;
|
|
@@ -21191,6 +21334,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
21191
21334
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
21192
21335
|
readonly promptPart: {
|
|
21193
21336
|
readonly type: "tool-result";
|
|
21337
|
+
readonly providerExecuted: boolean;
|
|
21194
21338
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
21195
21339
|
readonly options: {
|
|
21196
21340
|
readonly [x: string]: Schema.Json;
|
|
@@ -21238,6 +21382,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
21238
21382
|
} | undefined;
|
|
21239
21383
|
readonly promptPart: {
|
|
21240
21384
|
readonly type: "tool-result";
|
|
21385
|
+
readonly providerExecuted: boolean;
|
|
21241
21386
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
21242
21387
|
readonly options: {
|
|
21243
21388
|
readonly [x: string]: Schema.Json;
|
|
@@ -21927,6 +22072,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
21927
22072
|
readonly name: string;
|
|
21928
22073
|
readonly isFailure: boolean;
|
|
21929
22074
|
readonly result: unknown;
|
|
22075
|
+
readonly providerExecuted: boolean;
|
|
21930
22076
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
21931
22077
|
readonly options: {
|
|
21932
22078
|
readonly [x: string]: Schema.Json;
|
|
@@ -21978,6 +22124,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
21978
22124
|
readonly name: string;
|
|
21979
22125
|
readonly isFailure: boolean;
|
|
21980
22126
|
readonly result: unknown;
|
|
22127
|
+
readonly providerExecuted: boolean;
|
|
21981
22128
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
21982
22129
|
readonly options: {
|
|
21983
22130
|
readonly [x: string]: Schema.Json;
|
|
@@ -22884,6 +23031,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
22884
23031
|
readonly name: string;
|
|
22885
23032
|
readonly isFailure: boolean;
|
|
22886
23033
|
readonly result: unknown;
|
|
23034
|
+
readonly providerExecuted: boolean;
|
|
22887
23035
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
22888
23036
|
readonly options: {
|
|
22889
23037
|
readonly [x: string]: Schema.Json;
|
|
@@ -22935,6 +23083,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
22935
23083
|
readonly name: string;
|
|
22936
23084
|
readonly isFailure: boolean;
|
|
22937
23085
|
readonly result: unknown;
|
|
23086
|
+
readonly providerExecuted: boolean;
|
|
22938
23087
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
22939
23088
|
readonly options: {
|
|
22940
23089
|
readonly [x: string]: Schema.Json;
|
|
@@ -23021,6 +23170,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
23021
23170
|
readonly name: string;
|
|
23022
23171
|
readonly isFailure: boolean;
|
|
23023
23172
|
readonly result: unknown;
|
|
23173
|
+
readonly providerExecuted: boolean;
|
|
23024
23174
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
23025
23175
|
readonly options: {
|
|
23026
23176
|
readonly [x: string]: Schema.Json;
|
|
@@ -23072,6 +23222,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
23072
23222
|
readonly name: string;
|
|
23073
23223
|
readonly isFailure: boolean;
|
|
23074
23224
|
readonly result: unknown;
|
|
23225
|
+
readonly providerExecuted: boolean;
|
|
23075
23226
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
23076
23227
|
readonly options: {
|
|
23077
23228
|
readonly [x: string]: Schema.Json;
|
|
@@ -23158,6 +23309,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
23158
23309
|
readonly name: string;
|
|
23159
23310
|
readonly isFailure: boolean;
|
|
23160
23311
|
readonly result: unknown;
|
|
23312
|
+
readonly providerExecuted: boolean;
|
|
23161
23313
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
23162
23314
|
readonly options: {
|
|
23163
23315
|
readonly [x: string]: Schema.Json;
|
|
@@ -23209,6 +23361,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
23209
23361
|
readonly name: string;
|
|
23210
23362
|
readonly isFailure: boolean;
|
|
23211
23363
|
readonly result: unknown;
|
|
23364
|
+
readonly providerExecuted: boolean;
|
|
23212
23365
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
23213
23366
|
readonly options: {
|
|
23214
23367
|
readonly [x: string]: Schema.Json;
|
|
@@ -23753,6 +23906,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
23753
23906
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
23754
23907
|
readonly promptPart: {
|
|
23755
23908
|
readonly type: "tool-result";
|
|
23909
|
+
readonly providerExecuted: boolean;
|
|
23756
23910
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
23757
23911
|
readonly options: {
|
|
23758
23912
|
readonly [x: string]: Schema.Json;
|
|
@@ -23830,6 +23984,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
23830
23984
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
23831
23985
|
readonly promptPart: {
|
|
23832
23986
|
readonly type: "tool-result";
|
|
23987
|
+
readonly providerExecuted: boolean;
|
|
23833
23988
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
23834
23989
|
readonly options: {
|
|
23835
23990
|
readonly [x: string]: Schema.Json;
|
|
@@ -23877,6 +24032,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
23877
24032
|
} | undefined;
|
|
23878
24033
|
readonly promptPart: {
|
|
23879
24034
|
readonly type: "tool-result";
|
|
24035
|
+
readonly providerExecuted: boolean;
|
|
23880
24036
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
23881
24037
|
readonly options: {
|
|
23882
24038
|
readonly [x: string]: Schema.Json;
|
|
@@ -24565,6 +24721,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
24565
24721
|
readonly name: string;
|
|
24566
24722
|
readonly isFailure: boolean;
|
|
24567
24723
|
readonly result: unknown;
|
|
24724
|
+
readonly providerExecuted: boolean;
|
|
24568
24725
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
24569
24726
|
readonly options: {
|
|
24570
24727
|
readonly [x: string]: Schema.Json;
|
|
@@ -24616,6 +24773,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
24616
24773
|
readonly name: string;
|
|
24617
24774
|
readonly isFailure: boolean;
|
|
24618
24775
|
readonly result: unknown;
|
|
24776
|
+
readonly providerExecuted: boolean;
|
|
24619
24777
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
24620
24778
|
readonly options: {
|
|
24621
24779
|
readonly [x: string]: Schema.Json;
|
|
@@ -25522,6 +25680,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
25522
25680
|
readonly name: string;
|
|
25523
25681
|
readonly isFailure: boolean;
|
|
25524
25682
|
readonly result: unknown;
|
|
25683
|
+
readonly providerExecuted: boolean;
|
|
25525
25684
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
25526
25685
|
readonly options: {
|
|
25527
25686
|
readonly [x: string]: Schema.Json;
|
|
@@ -25573,6 +25732,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
25573
25732
|
readonly name: string;
|
|
25574
25733
|
readonly isFailure: boolean;
|
|
25575
25734
|
readonly result: unknown;
|
|
25735
|
+
readonly providerExecuted: boolean;
|
|
25576
25736
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
25577
25737
|
readonly options: {
|
|
25578
25738
|
readonly [x: string]: Schema.Json;
|
|
@@ -25659,6 +25819,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
25659
25819
|
readonly name: string;
|
|
25660
25820
|
readonly isFailure: boolean;
|
|
25661
25821
|
readonly result: unknown;
|
|
25822
|
+
readonly providerExecuted: boolean;
|
|
25662
25823
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
25663
25824
|
readonly options: {
|
|
25664
25825
|
readonly [x: string]: Schema.Json;
|
|
@@ -25710,6 +25871,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
25710
25871
|
readonly name: string;
|
|
25711
25872
|
readonly isFailure: boolean;
|
|
25712
25873
|
readonly result: unknown;
|
|
25874
|
+
readonly providerExecuted: boolean;
|
|
25713
25875
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
25714
25876
|
readonly options: {
|
|
25715
25877
|
readonly [x: string]: Schema.Json;
|
|
@@ -25796,6 +25958,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
25796
25958
|
readonly name: string;
|
|
25797
25959
|
readonly isFailure: boolean;
|
|
25798
25960
|
readonly result: unknown;
|
|
25961
|
+
readonly providerExecuted: boolean;
|
|
25799
25962
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
25800
25963
|
readonly options: {
|
|
25801
25964
|
readonly [x: string]: Schema.Json;
|
|
@@ -25847,6 +26010,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
25847
26010
|
readonly name: string;
|
|
25848
26011
|
readonly isFailure: boolean;
|
|
25849
26012
|
readonly result: unknown;
|
|
26013
|
+
readonly providerExecuted: boolean;
|
|
25850
26014
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
25851
26015
|
readonly options: {
|
|
25852
26016
|
readonly [x: string]: Schema.Json;
|
|
@@ -26391,6 +26555,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
26391
26555
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
26392
26556
|
readonly promptPart: {
|
|
26393
26557
|
readonly type: "tool-result";
|
|
26558
|
+
readonly providerExecuted: boolean;
|
|
26394
26559
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
26395
26560
|
readonly options: {
|
|
26396
26561
|
readonly [x: string]: Schema.Json;
|
|
@@ -26468,6 +26633,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
26468
26633
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
26469
26634
|
readonly promptPart: {
|
|
26470
26635
|
readonly type: "tool-result";
|
|
26636
|
+
readonly providerExecuted: boolean;
|
|
26471
26637
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
26472
26638
|
readonly options: {
|
|
26473
26639
|
readonly [x: string]: Schema.Json;
|
|
@@ -26515,6 +26681,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
26515
26681
|
} | undefined;
|
|
26516
26682
|
readonly promptPart: {
|
|
26517
26683
|
readonly type: "tool-result";
|
|
26684
|
+
readonly providerExecuted: boolean;
|
|
26518
26685
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
26519
26686
|
readonly options: {
|
|
26520
26687
|
readonly [x: string]: Schema.Json;
|
|
@@ -27201,6 +27368,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
27201
27368
|
readonly name: string;
|
|
27202
27369
|
readonly isFailure: boolean;
|
|
27203
27370
|
readonly result: unknown;
|
|
27371
|
+
readonly providerExecuted: boolean;
|
|
27204
27372
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
27205
27373
|
readonly options: {
|
|
27206
27374
|
readonly [x: string]: Schema.Json;
|
|
@@ -27252,6 +27420,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
27252
27420
|
readonly name: string;
|
|
27253
27421
|
readonly isFailure: boolean;
|
|
27254
27422
|
readonly result: unknown;
|
|
27423
|
+
readonly providerExecuted: boolean;
|
|
27255
27424
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
27256
27425
|
readonly options: {
|
|
27257
27426
|
readonly [x: string]: Schema.Json;
|
|
@@ -28158,6 +28327,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
28158
28327
|
readonly name: string;
|
|
28159
28328
|
readonly isFailure: boolean;
|
|
28160
28329
|
readonly result: unknown;
|
|
28330
|
+
readonly providerExecuted: boolean;
|
|
28161
28331
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
28162
28332
|
readonly options: {
|
|
28163
28333
|
readonly [x: string]: Schema.Json;
|
|
@@ -28209,6 +28379,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
28209
28379
|
readonly name: string;
|
|
28210
28380
|
readonly isFailure: boolean;
|
|
28211
28381
|
readonly result: unknown;
|
|
28382
|
+
readonly providerExecuted: boolean;
|
|
28212
28383
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
28213
28384
|
readonly options: {
|
|
28214
28385
|
readonly [x: string]: Schema.Json;
|
|
@@ -28295,6 +28466,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
28295
28466
|
readonly name: string;
|
|
28296
28467
|
readonly isFailure: boolean;
|
|
28297
28468
|
readonly result: unknown;
|
|
28469
|
+
readonly providerExecuted: boolean;
|
|
28298
28470
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
28299
28471
|
readonly options: {
|
|
28300
28472
|
readonly [x: string]: Schema.Json;
|
|
@@ -28346,6 +28518,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
28346
28518
|
readonly name: string;
|
|
28347
28519
|
readonly isFailure: boolean;
|
|
28348
28520
|
readonly result: unknown;
|
|
28521
|
+
readonly providerExecuted: boolean;
|
|
28349
28522
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
28350
28523
|
readonly options: {
|
|
28351
28524
|
readonly [x: string]: Schema.Json;
|
|
@@ -28432,6 +28605,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
28432
28605
|
readonly name: string;
|
|
28433
28606
|
readonly isFailure: boolean;
|
|
28434
28607
|
readonly result: unknown;
|
|
28608
|
+
readonly providerExecuted: boolean;
|
|
28435
28609
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
28436
28610
|
readonly options: {
|
|
28437
28611
|
readonly [x: string]: Schema.Json;
|
|
@@ -28483,6 +28657,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
28483
28657
|
readonly name: string;
|
|
28484
28658
|
readonly isFailure: boolean;
|
|
28485
28659
|
readonly result: unknown;
|
|
28660
|
+
readonly providerExecuted: boolean;
|
|
28486
28661
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
28487
28662
|
readonly options: {
|
|
28488
28663
|
readonly [x: string]: Schema.Json;
|
|
@@ -29027,6 +29202,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
29027
29202
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
29028
29203
|
readonly promptPart: {
|
|
29029
29204
|
readonly type: "tool-result";
|
|
29205
|
+
readonly providerExecuted: boolean;
|
|
29030
29206
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
29031
29207
|
readonly options: {
|
|
29032
29208
|
readonly [x: string]: Schema.Json;
|
|
@@ -29104,6 +29280,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
29104
29280
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
29105
29281
|
readonly promptPart: {
|
|
29106
29282
|
readonly type: "tool-result";
|
|
29283
|
+
readonly providerExecuted: boolean;
|
|
29107
29284
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
29108
29285
|
readonly options: {
|
|
29109
29286
|
readonly [x: string]: Schema.Json;
|
|
@@ -29151,6 +29328,7 @@ declare const TurnRunResult: Schema.Struct<{
|
|
|
29151
29328
|
} | undefined;
|
|
29152
29329
|
readonly promptPart: {
|
|
29153
29330
|
readonly type: "tool-result";
|
|
29331
|
+
readonly providerExecuted: boolean;
|
|
29154
29332
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
29155
29333
|
readonly options: {
|
|
29156
29334
|
readonly [x: string]: Schema.Json;
|
|
@@ -29871,6 +30049,7 @@ declare const SessionCommandCompleted: Schema.TaggedStruct<"SessionCommandComple
|
|
|
29871
30049
|
readonly name: string;
|
|
29872
30050
|
readonly isFailure: boolean;
|
|
29873
30051
|
readonly result: unknown;
|
|
30052
|
+
readonly providerExecuted: boolean;
|
|
29874
30053
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
29875
30054
|
readonly options: {
|
|
29876
30055
|
readonly [x: string]: Schema.Json;
|
|
@@ -29922,6 +30101,7 @@ declare const SessionCommandCompleted: Schema.TaggedStruct<"SessionCommandComple
|
|
|
29922
30101
|
readonly name: string;
|
|
29923
30102
|
readonly isFailure: boolean;
|
|
29924
30103
|
readonly result: unknown;
|
|
30104
|
+
readonly providerExecuted: boolean;
|
|
29925
30105
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
29926
30106
|
readonly options: {
|
|
29927
30107
|
readonly [x: string]: Schema.Json;
|
|
@@ -30828,6 +31008,7 @@ declare const SessionCommandCompleted: Schema.TaggedStruct<"SessionCommandComple
|
|
|
30828
31008
|
readonly name: string;
|
|
30829
31009
|
readonly isFailure: boolean;
|
|
30830
31010
|
readonly result: unknown;
|
|
31011
|
+
readonly providerExecuted: boolean;
|
|
30831
31012
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
30832
31013
|
readonly options: {
|
|
30833
31014
|
readonly [x: string]: Schema.Json;
|
|
@@ -30879,6 +31060,7 @@ declare const SessionCommandCompleted: Schema.TaggedStruct<"SessionCommandComple
|
|
|
30879
31060
|
readonly name: string;
|
|
30880
31061
|
readonly isFailure: boolean;
|
|
30881
31062
|
readonly result: unknown;
|
|
31063
|
+
readonly providerExecuted: boolean;
|
|
30882
31064
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
30883
31065
|
readonly options: {
|
|
30884
31066
|
readonly [x: string]: Schema.Json;
|
|
@@ -30965,6 +31147,7 @@ declare const SessionCommandCompleted: Schema.TaggedStruct<"SessionCommandComple
|
|
|
30965
31147
|
readonly name: string;
|
|
30966
31148
|
readonly isFailure: boolean;
|
|
30967
31149
|
readonly result: unknown;
|
|
31150
|
+
readonly providerExecuted: boolean;
|
|
30968
31151
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
30969
31152
|
readonly options: {
|
|
30970
31153
|
readonly [x: string]: Schema.Json;
|
|
@@ -31016,6 +31199,7 @@ declare const SessionCommandCompleted: Schema.TaggedStruct<"SessionCommandComple
|
|
|
31016
31199
|
readonly name: string;
|
|
31017
31200
|
readonly isFailure: boolean;
|
|
31018
31201
|
readonly result: unknown;
|
|
31202
|
+
readonly providerExecuted: boolean;
|
|
31019
31203
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
31020
31204
|
readonly options: {
|
|
31021
31205
|
readonly [x: string]: Schema.Json;
|
|
@@ -31102,6 +31286,7 @@ declare const SessionCommandCompleted: Schema.TaggedStruct<"SessionCommandComple
|
|
|
31102
31286
|
readonly name: string;
|
|
31103
31287
|
readonly isFailure: boolean;
|
|
31104
31288
|
readonly result: unknown;
|
|
31289
|
+
readonly providerExecuted: boolean;
|
|
31105
31290
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
31106
31291
|
readonly options: {
|
|
31107
31292
|
readonly [x: string]: Schema.Json;
|
|
@@ -31153,6 +31338,7 @@ declare const SessionCommandCompleted: Schema.TaggedStruct<"SessionCommandComple
|
|
|
31153
31338
|
readonly name: string;
|
|
31154
31339
|
readonly isFailure: boolean;
|
|
31155
31340
|
readonly result: unknown;
|
|
31341
|
+
readonly providerExecuted: boolean;
|
|
31156
31342
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
31157
31343
|
readonly options: {
|
|
31158
31344
|
readonly [x: string]: Schema.Json;
|
|
@@ -31697,6 +31883,7 @@ declare const SessionCommandCompleted: Schema.TaggedStruct<"SessionCommandComple
|
|
|
31697
31883
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
31698
31884
|
readonly promptPart: {
|
|
31699
31885
|
readonly type: "tool-result";
|
|
31886
|
+
readonly providerExecuted: boolean;
|
|
31700
31887
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
31701
31888
|
readonly options: {
|
|
31702
31889
|
readonly [x: string]: Schema.Json;
|
|
@@ -31774,6 +31961,7 @@ declare const SessionCommandCompleted: Schema.TaggedStruct<"SessionCommandComple
|
|
|
31774
31961
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
31775
31962
|
readonly promptPart: {
|
|
31776
31963
|
readonly type: "tool-result";
|
|
31964
|
+
readonly providerExecuted: boolean;
|
|
31777
31965
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
31778
31966
|
readonly options: {
|
|
31779
31967
|
readonly [x: string]: Schema.Json;
|
|
@@ -31821,6 +32009,7 @@ declare const SessionCommandCompleted: Schema.TaggedStruct<"SessionCommandComple
|
|
|
31821
32009
|
} | undefined;
|
|
31822
32010
|
readonly promptPart: {
|
|
31823
32011
|
readonly type: "tool-result";
|
|
32012
|
+
readonly providerExecuted: boolean;
|
|
31824
32013
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
31825
32014
|
readonly options: {
|
|
31826
32015
|
readonly [x: string]: Schema.Json;
|
|
@@ -32481,6 +32670,7 @@ declare const SessionCommandFailed: Schema.TaggedStruct<"SessionCommandFailed",
|
|
|
32481
32670
|
readonly name: string;
|
|
32482
32671
|
readonly isFailure: boolean;
|
|
32483
32672
|
readonly result: unknown;
|
|
32673
|
+
readonly providerExecuted: boolean;
|
|
32484
32674
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
32485
32675
|
readonly options: {
|
|
32486
32676
|
readonly [x: string]: Schema.Json;
|
|
@@ -32532,6 +32722,7 @@ declare const SessionCommandFailed: Schema.TaggedStruct<"SessionCommandFailed",
|
|
|
32532
32722
|
readonly name: string;
|
|
32533
32723
|
readonly isFailure: boolean;
|
|
32534
32724
|
readonly result: unknown;
|
|
32725
|
+
readonly providerExecuted: boolean;
|
|
32535
32726
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
32536
32727
|
readonly options: {
|
|
32537
32728
|
readonly [x: string]: Schema.Json;
|
|
@@ -33438,6 +33629,7 @@ declare const SessionCommandFailed: Schema.TaggedStruct<"SessionCommandFailed",
|
|
|
33438
33629
|
readonly name: string;
|
|
33439
33630
|
readonly isFailure: boolean;
|
|
33440
33631
|
readonly result: unknown;
|
|
33632
|
+
readonly providerExecuted: boolean;
|
|
33441
33633
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
33442
33634
|
readonly options: {
|
|
33443
33635
|
readonly [x: string]: Schema.Json;
|
|
@@ -33489,6 +33681,7 @@ declare const SessionCommandFailed: Schema.TaggedStruct<"SessionCommandFailed",
|
|
|
33489
33681
|
readonly name: string;
|
|
33490
33682
|
readonly isFailure: boolean;
|
|
33491
33683
|
readonly result: unknown;
|
|
33684
|
+
readonly providerExecuted: boolean;
|
|
33492
33685
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
33493
33686
|
readonly options: {
|
|
33494
33687
|
readonly [x: string]: Schema.Json;
|
|
@@ -33575,6 +33768,7 @@ declare const SessionCommandFailed: Schema.TaggedStruct<"SessionCommandFailed",
|
|
|
33575
33768
|
readonly name: string;
|
|
33576
33769
|
readonly isFailure: boolean;
|
|
33577
33770
|
readonly result: unknown;
|
|
33771
|
+
readonly providerExecuted: boolean;
|
|
33578
33772
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
33579
33773
|
readonly options: {
|
|
33580
33774
|
readonly [x: string]: Schema.Json;
|
|
@@ -33626,6 +33820,7 @@ declare const SessionCommandFailed: Schema.TaggedStruct<"SessionCommandFailed",
|
|
|
33626
33820
|
readonly name: string;
|
|
33627
33821
|
readonly isFailure: boolean;
|
|
33628
33822
|
readonly result: unknown;
|
|
33823
|
+
readonly providerExecuted: boolean;
|
|
33629
33824
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
33630
33825
|
readonly options: {
|
|
33631
33826
|
readonly [x: string]: Schema.Json;
|
|
@@ -33712,6 +33907,7 @@ declare const SessionCommandFailed: Schema.TaggedStruct<"SessionCommandFailed",
|
|
|
33712
33907
|
readonly name: string;
|
|
33713
33908
|
readonly isFailure: boolean;
|
|
33714
33909
|
readonly result: unknown;
|
|
33910
|
+
readonly providerExecuted: boolean;
|
|
33715
33911
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
33716
33912
|
readonly options: {
|
|
33717
33913
|
readonly [x: string]: Schema.Json;
|
|
@@ -33763,6 +33959,7 @@ declare const SessionCommandFailed: Schema.TaggedStruct<"SessionCommandFailed",
|
|
|
33763
33959
|
readonly name: string;
|
|
33764
33960
|
readonly isFailure: boolean;
|
|
33765
33961
|
readonly result: unknown;
|
|
33962
|
+
readonly providerExecuted: boolean;
|
|
33766
33963
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
33767
33964
|
readonly options: {
|
|
33768
33965
|
readonly [x: string]: Schema.Json;
|
|
@@ -34307,6 +34504,7 @@ declare const SessionCommandFailed: Schema.TaggedStruct<"SessionCommandFailed",
|
|
|
34307
34504
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
34308
34505
|
readonly promptPart: {
|
|
34309
34506
|
readonly type: "tool-result";
|
|
34507
|
+
readonly providerExecuted: boolean;
|
|
34310
34508
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
34311
34509
|
readonly options: {
|
|
34312
34510
|
readonly [x: string]: Schema.Json;
|
|
@@ -34384,6 +34582,7 @@ declare const SessionCommandFailed: Schema.TaggedStruct<"SessionCommandFailed",
|
|
|
34384
34582
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
34385
34583
|
readonly promptPart: {
|
|
34386
34584
|
readonly type: "tool-result";
|
|
34585
|
+
readonly providerExecuted: boolean;
|
|
34387
34586
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
34388
34587
|
readonly options: {
|
|
34389
34588
|
readonly [x: string]: Schema.Json;
|
|
@@ -34431,6 +34630,7 @@ declare const SessionCommandFailed: Schema.TaggedStruct<"SessionCommandFailed",
|
|
|
34431
34630
|
} | undefined;
|
|
34432
34631
|
readonly promptPart: {
|
|
34433
34632
|
readonly type: "tool-result";
|
|
34633
|
+
readonly providerExecuted: boolean;
|
|
34434
34634
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
34435
34635
|
readonly options: {
|
|
34436
34636
|
readonly [x: string]: Schema.Json;
|
|
@@ -35091,6 +35291,7 @@ declare const SessionCommandCancelled: Schema.TaggedStruct<"SessionCommandCancel
|
|
|
35091
35291
|
readonly name: string;
|
|
35092
35292
|
readonly isFailure: boolean;
|
|
35093
35293
|
readonly result: unknown;
|
|
35294
|
+
readonly providerExecuted: boolean;
|
|
35094
35295
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
35095
35296
|
readonly options: {
|
|
35096
35297
|
readonly [x: string]: Schema.Json;
|
|
@@ -35142,6 +35343,7 @@ declare const SessionCommandCancelled: Schema.TaggedStruct<"SessionCommandCancel
|
|
|
35142
35343
|
readonly name: string;
|
|
35143
35344
|
readonly isFailure: boolean;
|
|
35144
35345
|
readonly result: unknown;
|
|
35346
|
+
readonly providerExecuted: boolean;
|
|
35145
35347
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
35146
35348
|
readonly options: {
|
|
35147
35349
|
readonly [x: string]: Schema.Json;
|
|
@@ -36048,6 +36250,7 @@ declare const SessionCommandCancelled: Schema.TaggedStruct<"SessionCommandCancel
|
|
|
36048
36250
|
readonly name: string;
|
|
36049
36251
|
readonly isFailure: boolean;
|
|
36050
36252
|
readonly result: unknown;
|
|
36253
|
+
readonly providerExecuted: boolean;
|
|
36051
36254
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
36052
36255
|
readonly options: {
|
|
36053
36256
|
readonly [x: string]: Schema.Json;
|
|
@@ -36099,6 +36302,7 @@ declare const SessionCommandCancelled: Schema.TaggedStruct<"SessionCommandCancel
|
|
|
36099
36302
|
readonly name: string;
|
|
36100
36303
|
readonly isFailure: boolean;
|
|
36101
36304
|
readonly result: unknown;
|
|
36305
|
+
readonly providerExecuted: boolean;
|
|
36102
36306
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
36103
36307
|
readonly options: {
|
|
36104
36308
|
readonly [x: string]: Schema.Json;
|
|
@@ -36185,6 +36389,7 @@ declare const SessionCommandCancelled: Schema.TaggedStruct<"SessionCommandCancel
|
|
|
36185
36389
|
readonly name: string;
|
|
36186
36390
|
readonly isFailure: boolean;
|
|
36187
36391
|
readonly result: unknown;
|
|
36392
|
+
readonly providerExecuted: boolean;
|
|
36188
36393
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
36189
36394
|
readonly options: {
|
|
36190
36395
|
readonly [x: string]: Schema.Json;
|
|
@@ -36236,6 +36441,7 @@ declare const SessionCommandCancelled: Schema.TaggedStruct<"SessionCommandCancel
|
|
|
36236
36441
|
readonly name: string;
|
|
36237
36442
|
readonly isFailure: boolean;
|
|
36238
36443
|
readonly result: unknown;
|
|
36444
|
+
readonly providerExecuted: boolean;
|
|
36239
36445
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
36240
36446
|
readonly options: {
|
|
36241
36447
|
readonly [x: string]: Schema.Json;
|
|
@@ -36322,6 +36528,7 @@ declare const SessionCommandCancelled: Schema.TaggedStruct<"SessionCommandCancel
|
|
|
36322
36528
|
readonly name: string;
|
|
36323
36529
|
readonly isFailure: boolean;
|
|
36324
36530
|
readonly result: unknown;
|
|
36531
|
+
readonly providerExecuted: boolean;
|
|
36325
36532
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
36326
36533
|
readonly options: {
|
|
36327
36534
|
readonly [x: string]: Schema.Json;
|
|
@@ -36373,6 +36580,7 @@ declare const SessionCommandCancelled: Schema.TaggedStruct<"SessionCommandCancel
|
|
|
36373
36580
|
readonly name: string;
|
|
36374
36581
|
readonly isFailure: boolean;
|
|
36375
36582
|
readonly result: unknown;
|
|
36583
|
+
readonly providerExecuted: boolean;
|
|
36376
36584
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
36377
36585
|
readonly options: {
|
|
36378
36586
|
readonly [x: string]: Schema.Json;
|
|
@@ -36917,6 +37125,7 @@ declare const SessionCommandCancelled: Schema.TaggedStruct<"SessionCommandCancel
|
|
|
36917
37125
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
36918
37126
|
readonly promptPart: {
|
|
36919
37127
|
readonly type: "tool-result";
|
|
37128
|
+
readonly providerExecuted: boolean;
|
|
36920
37129
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
36921
37130
|
readonly options: {
|
|
36922
37131
|
readonly [x: string]: Schema.Json;
|
|
@@ -36994,6 +37203,7 @@ declare const SessionCommandCancelled: Schema.TaggedStruct<"SessionCommandCancel
|
|
|
36994
37203
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
36995
37204
|
readonly promptPart: {
|
|
36996
37205
|
readonly type: "tool-result";
|
|
37206
|
+
readonly providerExecuted: boolean;
|
|
36997
37207
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
36998
37208
|
readonly options: {
|
|
36999
37209
|
readonly [x: string]: Schema.Json;
|
|
@@ -37041,6 +37251,7 @@ declare const SessionCommandCancelled: Schema.TaggedStruct<"SessionCommandCancel
|
|
|
37041
37251
|
} | undefined;
|
|
37042
37252
|
readonly promptPart: {
|
|
37043
37253
|
readonly type: "tool-result";
|
|
37254
|
+
readonly providerExecuted: boolean;
|
|
37044
37255
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
37045
37256
|
readonly options: {
|
|
37046
37257
|
readonly [x: string]: Schema.Json;
|
|
@@ -37701,6 +37912,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
37701
37912
|
readonly name: string;
|
|
37702
37913
|
readonly isFailure: boolean;
|
|
37703
37914
|
readonly result: unknown;
|
|
37915
|
+
readonly providerExecuted: boolean;
|
|
37704
37916
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
37705
37917
|
readonly options: {
|
|
37706
37918
|
readonly [x: string]: Schema.Json;
|
|
@@ -37752,6 +37964,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
37752
37964
|
readonly name: string;
|
|
37753
37965
|
readonly isFailure: boolean;
|
|
37754
37966
|
readonly result: unknown;
|
|
37967
|
+
readonly providerExecuted: boolean;
|
|
37755
37968
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
37756
37969
|
readonly options: {
|
|
37757
37970
|
readonly [x: string]: Schema.Json;
|
|
@@ -38658,6 +38871,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
38658
38871
|
readonly name: string;
|
|
38659
38872
|
readonly isFailure: boolean;
|
|
38660
38873
|
readonly result: unknown;
|
|
38874
|
+
readonly providerExecuted: boolean;
|
|
38661
38875
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
38662
38876
|
readonly options: {
|
|
38663
38877
|
readonly [x: string]: Schema.Json;
|
|
@@ -38709,6 +38923,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
38709
38923
|
readonly name: string;
|
|
38710
38924
|
readonly isFailure: boolean;
|
|
38711
38925
|
readonly result: unknown;
|
|
38926
|
+
readonly providerExecuted: boolean;
|
|
38712
38927
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
38713
38928
|
readonly options: {
|
|
38714
38929
|
readonly [x: string]: Schema.Json;
|
|
@@ -38795,6 +39010,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
38795
39010
|
readonly name: string;
|
|
38796
39011
|
readonly isFailure: boolean;
|
|
38797
39012
|
readonly result: unknown;
|
|
39013
|
+
readonly providerExecuted: boolean;
|
|
38798
39014
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
38799
39015
|
readonly options: {
|
|
38800
39016
|
readonly [x: string]: Schema.Json;
|
|
@@ -38846,6 +39062,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
38846
39062
|
readonly name: string;
|
|
38847
39063
|
readonly isFailure: boolean;
|
|
38848
39064
|
readonly result: unknown;
|
|
39065
|
+
readonly providerExecuted: boolean;
|
|
38849
39066
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
38850
39067
|
readonly options: {
|
|
38851
39068
|
readonly [x: string]: Schema.Json;
|
|
@@ -38932,6 +39149,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
38932
39149
|
readonly name: string;
|
|
38933
39150
|
readonly isFailure: boolean;
|
|
38934
39151
|
readonly result: unknown;
|
|
39152
|
+
readonly providerExecuted: boolean;
|
|
38935
39153
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
38936
39154
|
readonly options: {
|
|
38937
39155
|
readonly [x: string]: Schema.Json;
|
|
@@ -38983,6 +39201,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
38983
39201
|
readonly name: string;
|
|
38984
39202
|
readonly isFailure: boolean;
|
|
38985
39203
|
readonly result: unknown;
|
|
39204
|
+
readonly providerExecuted: boolean;
|
|
38986
39205
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
38987
39206
|
readonly options: {
|
|
38988
39207
|
readonly [x: string]: Schema.Json;
|
|
@@ -39527,6 +39746,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
39527
39746
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
39528
39747
|
readonly promptPart: {
|
|
39529
39748
|
readonly type: "tool-result";
|
|
39749
|
+
readonly providerExecuted: boolean;
|
|
39530
39750
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
39531
39751
|
readonly options: {
|
|
39532
39752
|
readonly [x: string]: Schema.Json;
|
|
@@ -39604,6 +39824,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
39604
39824
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
39605
39825
|
readonly promptPart: {
|
|
39606
39826
|
readonly type: "tool-result";
|
|
39827
|
+
readonly providerExecuted: boolean;
|
|
39607
39828
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
39608
39829
|
readonly options: {
|
|
39609
39830
|
readonly [x: string]: Schema.Json;
|
|
@@ -39651,6 +39872,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
39651
39872
|
} | undefined;
|
|
39652
39873
|
readonly promptPart: {
|
|
39653
39874
|
readonly type: "tool-result";
|
|
39875
|
+
readonly providerExecuted: boolean;
|
|
39654
39876
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
39655
39877
|
readonly options: {
|
|
39656
39878
|
readonly [x: string]: Schema.Json;
|
|
@@ -40308,6 +40530,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
40308
40530
|
readonly name: string;
|
|
40309
40531
|
readonly isFailure: boolean;
|
|
40310
40532
|
readonly result: unknown;
|
|
40533
|
+
readonly providerExecuted: boolean;
|
|
40311
40534
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
40312
40535
|
readonly options: {
|
|
40313
40536
|
readonly [x: string]: Schema.Json;
|
|
@@ -40359,6 +40582,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
40359
40582
|
readonly name: string;
|
|
40360
40583
|
readonly isFailure: boolean;
|
|
40361
40584
|
readonly result: unknown;
|
|
40585
|
+
readonly providerExecuted: boolean;
|
|
40362
40586
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
40363
40587
|
readonly options: {
|
|
40364
40588
|
readonly [x: string]: Schema.Json;
|
|
@@ -41265,6 +41489,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
41265
41489
|
readonly name: string;
|
|
41266
41490
|
readonly isFailure: boolean;
|
|
41267
41491
|
readonly result: unknown;
|
|
41492
|
+
readonly providerExecuted: boolean;
|
|
41268
41493
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
41269
41494
|
readonly options: {
|
|
41270
41495
|
readonly [x: string]: Schema.Json;
|
|
@@ -41316,6 +41541,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
41316
41541
|
readonly name: string;
|
|
41317
41542
|
readonly isFailure: boolean;
|
|
41318
41543
|
readonly result: unknown;
|
|
41544
|
+
readonly providerExecuted: boolean;
|
|
41319
41545
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
41320
41546
|
readonly options: {
|
|
41321
41547
|
readonly [x: string]: Schema.Json;
|
|
@@ -41402,6 +41628,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
41402
41628
|
readonly name: string;
|
|
41403
41629
|
readonly isFailure: boolean;
|
|
41404
41630
|
readonly result: unknown;
|
|
41631
|
+
readonly providerExecuted: boolean;
|
|
41405
41632
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
41406
41633
|
readonly options: {
|
|
41407
41634
|
readonly [x: string]: Schema.Json;
|
|
@@ -41453,6 +41680,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
41453
41680
|
readonly name: string;
|
|
41454
41681
|
readonly isFailure: boolean;
|
|
41455
41682
|
readonly result: unknown;
|
|
41683
|
+
readonly providerExecuted: boolean;
|
|
41456
41684
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
41457
41685
|
readonly options: {
|
|
41458
41686
|
readonly [x: string]: Schema.Json;
|
|
@@ -41539,6 +41767,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
41539
41767
|
readonly name: string;
|
|
41540
41768
|
readonly isFailure: boolean;
|
|
41541
41769
|
readonly result: unknown;
|
|
41770
|
+
readonly providerExecuted: boolean;
|
|
41542
41771
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
41543
41772
|
readonly options: {
|
|
41544
41773
|
readonly [x: string]: Schema.Json;
|
|
@@ -41590,6 +41819,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
41590
41819
|
readonly name: string;
|
|
41591
41820
|
readonly isFailure: boolean;
|
|
41592
41821
|
readonly result: unknown;
|
|
41822
|
+
readonly providerExecuted: boolean;
|
|
41593
41823
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
41594
41824
|
readonly options: {
|
|
41595
41825
|
readonly [x: string]: Schema.Json;
|
|
@@ -42134,6 +42364,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
42134
42364
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
42135
42365
|
readonly promptPart: {
|
|
42136
42366
|
readonly type: "tool-result";
|
|
42367
|
+
readonly providerExecuted: boolean;
|
|
42137
42368
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
42138
42369
|
readonly options: {
|
|
42139
42370
|
readonly [x: string]: Schema.Json;
|
|
@@ -42211,6 +42442,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
42211
42442
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
42212
42443
|
readonly promptPart: {
|
|
42213
42444
|
readonly type: "tool-result";
|
|
42445
|
+
readonly providerExecuted: boolean;
|
|
42214
42446
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
42215
42447
|
readonly options: {
|
|
42216
42448
|
readonly [x: string]: Schema.Json;
|
|
@@ -42258,6 +42490,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
42258
42490
|
} | undefined;
|
|
42259
42491
|
readonly promptPart: {
|
|
42260
42492
|
readonly type: "tool-result";
|
|
42493
|
+
readonly providerExecuted: boolean;
|
|
42261
42494
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
42262
42495
|
readonly options: {
|
|
42263
42496
|
readonly [x: string]: Schema.Json;
|
|
@@ -42915,6 +43148,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
42915
43148
|
readonly name: string;
|
|
42916
43149
|
readonly isFailure: boolean;
|
|
42917
43150
|
readonly result: unknown;
|
|
43151
|
+
readonly providerExecuted: boolean;
|
|
42918
43152
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
42919
43153
|
readonly options: {
|
|
42920
43154
|
readonly [x: string]: Schema.Json;
|
|
@@ -42966,6 +43200,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
42966
43200
|
readonly name: string;
|
|
42967
43201
|
readonly isFailure: boolean;
|
|
42968
43202
|
readonly result: unknown;
|
|
43203
|
+
readonly providerExecuted: boolean;
|
|
42969
43204
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
42970
43205
|
readonly options: {
|
|
42971
43206
|
readonly [x: string]: Schema.Json;
|
|
@@ -43872,6 +44107,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
43872
44107
|
readonly name: string;
|
|
43873
44108
|
readonly isFailure: boolean;
|
|
43874
44109
|
readonly result: unknown;
|
|
44110
|
+
readonly providerExecuted: boolean;
|
|
43875
44111
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
43876
44112
|
readonly options: {
|
|
43877
44113
|
readonly [x: string]: Schema.Json;
|
|
@@ -43923,6 +44159,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
43923
44159
|
readonly name: string;
|
|
43924
44160
|
readonly isFailure: boolean;
|
|
43925
44161
|
readonly result: unknown;
|
|
44162
|
+
readonly providerExecuted: boolean;
|
|
43926
44163
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
43927
44164
|
readonly options: {
|
|
43928
44165
|
readonly [x: string]: Schema.Json;
|
|
@@ -44009,6 +44246,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
44009
44246
|
readonly name: string;
|
|
44010
44247
|
readonly isFailure: boolean;
|
|
44011
44248
|
readonly result: unknown;
|
|
44249
|
+
readonly providerExecuted: boolean;
|
|
44012
44250
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
44013
44251
|
readonly options: {
|
|
44014
44252
|
readonly [x: string]: Schema.Json;
|
|
@@ -44060,6 +44298,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
44060
44298
|
readonly name: string;
|
|
44061
44299
|
readonly isFailure: boolean;
|
|
44062
44300
|
readonly result: unknown;
|
|
44301
|
+
readonly providerExecuted: boolean;
|
|
44063
44302
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
44064
44303
|
readonly options: {
|
|
44065
44304
|
readonly [x: string]: Schema.Json;
|
|
@@ -44146,6 +44385,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
44146
44385
|
readonly name: string;
|
|
44147
44386
|
readonly isFailure: boolean;
|
|
44148
44387
|
readonly result: unknown;
|
|
44388
|
+
readonly providerExecuted: boolean;
|
|
44149
44389
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
44150
44390
|
readonly options: {
|
|
44151
44391
|
readonly [x: string]: Schema.Json;
|
|
@@ -44197,6 +44437,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
44197
44437
|
readonly name: string;
|
|
44198
44438
|
readonly isFailure: boolean;
|
|
44199
44439
|
readonly result: unknown;
|
|
44440
|
+
readonly providerExecuted: boolean;
|
|
44200
44441
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
44201
44442
|
readonly options: {
|
|
44202
44443
|
readonly [x: string]: Schema.Json;
|
|
@@ -44741,6 +44982,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
44741
44982
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
44742
44983
|
readonly promptPart: {
|
|
44743
44984
|
readonly type: "tool-result";
|
|
44985
|
+
readonly providerExecuted: boolean;
|
|
44744
44986
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
44745
44987
|
readonly options: {
|
|
44746
44988
|
readonly [x: string]: Schema.Json;
|
|
@@ -44818,6 +45060,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
44818
45060
|
readonly toolCallId: string & import("effect/Brand").Brand<"ToolCallId">;
|
|
44819
45061
|
readonly promptPart: {
|
|
44820
45062
|
readonly type: "tool-result";
|
|
45063
|
+
readonly providerExecuted: boolean;
|
|
44821
45064
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
44822
45065
|
readonly options: {
|
|
44823
45066
|
readonly [x: string]: Schema.Json;
|
|
@@ -44865,6 +45108,7 @@ declare const SessionCommandOutcome: Schema.Union<readonly [Schema.TaggedStruct<
|
|
|
44865
45108
|
} | undefined;
|
|
44866
45109
|
readonly promptPart: {
|
|
44867
45110
|
readonly type: "tool-result";
|
|
45111
|
+
readonly providerExecuted: boolean;
|
|
44868
45112
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
44869
45113
|
readonly options: {
|
|
44870
45114
|
readonly [x: string]: Schema.Json;
|
|
@@ -45462,6 +45706,11 @@ type DurableTranscriptMessage = Extract<MessageRecord, {
|
|
|
45462
45706
|
});
|
|
45463
45707
|
/** Derive the durable user/assistant transcript in committed sequence order. */
|
|
45464
45708
|
declare const durableMessageTranscript: (state: Pick<ReducedState, "messages">) => ReadonlyArray<DurableTranscriptMessage>;
|
|
45709
|
+
/**
|
|
45710
|
+
* Prompt state as of `throughSeq`: transcript messages that entered the prompt at or before that
|
|
45711
|
+
* sequence. Compaction uses it to rebuild the exact prompt of an earlier request.
|
|
45712
|
+
*/
|
|
45713
|
+
declare const projectionStateThrough: <S extends Pick<ReducedState, "messages">>(state: S, throughSeq: number) => S;
|
|
45465
45714
|
type PromptProjectionState = Pick<ReducedState, "messages"> & Partial<Pick<ReducedState, "toolCalls">>;
|
|
45466
45715
|
/** Convert all durable transcript messages and exact tool-result parts into provider prompt history. */
|
|
45467
45716
|
declare const durableTranscriptPrompt: (state: PromptProjectionState) => Prompt.Prompt;
|
|
@@ -45552,6 +45801,7 @@ declare const DurableTranscriptMessages: Schema.$Array<Schema.Union<readonly [Sc
|
|
|
45552
45801
|
readonly name: Schema.String;
|
|
45553
45802
|
readonly isFailure: Schema.Boolean;
|
|
45554
45803
|
readonly result: Schema.Unknown;
|
|
45804
|
+
readonly providerExecuted: Schema.withDecodingDefault<Schema.Boolean>;
|
|
45555
45805
|
readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
|
|
45556
45806
|
readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
|
|
45557
45807
|
}>>, Schema.toType<Schema.Struct<{
|
|
@@ -45604,6 +45854,7 @@ declare const DurableTranscriptMessages: Schema.$Array<Schema.Union<readonly [Sc
|
|
|
45604
45854
|
readonly name: Schema.String;
|
|
45605
45855
|
readonly isFailure: Schema.Boolean;
|
|
45606
45856
|
readonly result: Schema.Unknown;
|
|
45857
|
+
readonly providerExecuted: Schema.withDecodingDefault<Schema.Boolean>;
|
|
45607
45858
|
readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
|
|
45608
45859
|
readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
|
|
45609
45860
|
}>>, Schema.toType<Schema.Struct<{
|
|
@@ -45856,6 +46107,7 @@ declare const EDASessionSnapshot: Schema.Struct<{
|
|
|
45856
46107
|
readonly name: Schema.String;
|
|
45857
46108
|
readonly isFailure: Schema.Boolean;
|
|
45858
46109
|
readonly result: Schema.Unknown;
|
|
46110
|
+
readonly providerExecuted: Schema.withDecodingDefault<Schema.Boolean>;
|
|
45859
46111
|
readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
|
|
45860
46112
|
readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
|
|
45861
46113
|
}>>;
|
|
@@ -45875,6 +46127,7 @@ declare const EDASessionSnapshot: Schema.Struct<{
|
|
|
45875
46127
|
readonly name: Schema.String;
|
|
45876
46128
|
readonly isFailure: Schema.Boolean;
|
|
45877
46129
|
readonly result: Schema.Unknown;
|
|
46130
|
+
readonly providerExecuted: Schema.withDecodingDefault<Schema.Boolean>;
|
|
45878
46131
|
readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
|
|
45879
46132
|
readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
|
|
45880
46133
|
}>>;
|
|
@@ -45893,6 +46146,7 @@ declare const EDASessionSnapshot: Schema.Struct<{
|
|
|
45893
46146
|
readonly name: Schema.String;
|
|
45894
46147
|
readonly isFailure: Schema.Boolean;
|
|
45895
46148
|
readonly result: Schema.Unknown;
|
|
46149
|
+
readonly providerExecuted: Schema.withDecodingDefault<Schema.Boolean>;
|
|
45896
46150
|
readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
|
|
45897
46151
|
readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
|
|
45898
46152
|
}>>;
|
|
@@ -46015,6 +46269,7 @@ declare const EDASessionSnapshot: Schema.Struct<{
|
|
|
46015
46269
|
readonly name: Schema.String;
|
|
46016
46270
|
readonly isFailure: Schema.Boolean;
|
|
46017
46271
|
readonly result: Schema.Unknown;
|
|
46272
|
+
readonly providerExecuted: Schema.withDecodingDefault<Schema.Boolean>;
|
|
46018
46273
|
readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
|
|
46019
46274
|
readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
|
|
46020
46275
|
}>>, Schema.toType<Schema.Struct<{
|
|
@@ -46067,6 +46322,7 @@ declare const EDASessionSnapshot: Schema.Struct<{
|
|
|
46067
46322
|
readonly name: Schema.String;
|
|
46068
46323
|
readonly isFailure: Schema.Boolean;
|
|
46069
46324
|
readonly result: Schema.Unknown;
|
|
46325
|
+
readonly providerExecuted: Schema.withDecodingDefault<Schema.Boolean>;
|
|
46070
46326
|
readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
|
|
46071
46327
|
readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
|
|
46072
46328
|
}>>, Schema.toType<Schema.Struct<{
|
|
@@ -46388,6 +46644,7 @@ declare const EDASessionSnapshot: Schema.Struct<{
|
|
|
46388
46644
|
readonly name: Schema.String;
|
|
46389
46645
|
readonly isFailure: Schema.Boolean;
|
|
46390
46646
|
readonly result: Schema.Unknown;
|
|
46647
|
+
readonly providerExecuted: Schema.withDecodingDefault<Schema.Boolean>;
|
|
46391
46648
|
readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
|
|
46392
46649
|
readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
|
|
46393
46650
|
}>>, Schema.toType<Schema.Struct<{
|
|
@@ -46440,6 +46697,7 @@ declare const EDASessionSnapshot: Schema.Struct<{
|
|
|
46440
46697
|
readonly name: Schema.String;
|
|
46441
46698
|
readonly isFailure: Schema.Boolean;
|
|
46442
46699
|
readonly result: Schema.Unknown;
|
|
46700
|
+
readonly providerExecuted: Schema.withDecodingDefault<Schema.Boolean>;
|
|
46443
46701
|
readonly "~effect/ai/Prompt/Part": Schema.withDecodingDefaultKey<Schema.Literal<"~effect/ai/Prompt/Part">>;
|
|
46444
46702
|
readonly options: Schema.withDecodingDefault<Schema.$Record<Schema.String, Schema.NullOr<Schema.Codec<Schema.Json>>>>;
|
|
46445
46703
|
}>>, Schema.toType<Schema.Struct<{
|
|
@@ -47226,6 +47484,7 @@ declare const reduceCommittedEvents: (committed: ReadonlyArray<CommittedDurableE
|
|
|
47226
47484
|
readonly name: string;
|
|
47227
47485
|
readonly isFailure: boolean;
|
|
47228
47486
|
readonly result: unknown;
|
|
47487
|
+
readonly providerExecuted: boolean;
|
|
47229
47488
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
47230
47489
|
readonly options: {
|
|
47231
47490
|
readonly [x: string]: Schema.Json;
|
|
@@ -47247,6 +47506,7 @@ declare const reduceCommittedEvents: (committed: ReadonlyArray<CommittedDurableE
|
|
|
47247
47506
|
readonly name: string;
|
|
47248
47507
|
readonly isFailure: boolean;
|
|
47249
47508
|
readonly result: unknown;
|
|
47509
|
+
readonly providerExecuted: boolean;
|
|
47250
47510
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
47251
47511
|
readonly options: {
|
|
47252
47512
|
readonly [x: string]: Schema.Json;
|
|
@@ -47267,6 +47527,7 @@ declare const reduceCommittedEvents: (committed: ReadonlyArray<CommittedDurableE
|
|
|
47267
47527
|
readonly name: string;
|
|
47268
47528
|
readonly isFailure: boolean;
|
|
47269
47529
|
readonly result: unknown;
|
|
47530
|
+
readonly providerExecuted: boolean;
|
|
47270
47531
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
47271
47532
|
readonly options: {
|
|
47272
47533
|
readonly [x: string]: Schema.Json;
|
|
@@ -47457,6 +47718,7 @@ declare const reduceCommittedEvents: (committed: ReadonlyArray<CommittedDurableE
|
|
|
47457
47718
|
readonly name: string;
|
|
47458
47719
|
readonly isFailure: boolean;
|
|
47459
47720
|
readonly result: unknown;
|
|
47721
|
+
readonly providerExecuted: boolean;
|
|
47460
47722
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
47461
47723
|
readonly options: {
|
|
47462
47724
|
readonly [x: string]: Schema.Json;
|
|
@@ -47521,6 +47783,7 @@ declare const reduceCommittedEvents: (committed: ReadonlyArray<CommittedDurableE
|
|
|
47521
47783
|
readonly name: string;
|
|
47522
47784
|
readonly isFailure: boolean;
|
|
47523
47785
|
readonly result: unknown;
|
|
47786
|
+
readonly providerExecuted: boolean;
|
|
47524
47787
|
readonly "~effect/ai/Prompt/Part": "~effect/ai/Prompt/Part";
|
|
47525
47788
|
readonly options: {
|
|
47526
47789
|
readonly [x: string]: Schema.Json;
|
|
@@ -47902,5 +48165,5 @@ declare const activeTurnIdentityForCommand: (state: ReducedState, commandId: Com
|
|
|
47902
48165
|
/** Classify unfinished durable lifecycles that recovery may need to repair. */
|
|
47903
48166
|
declare const classifyRecoverableWork: (state: ReducedState) => RecoverableWork;
|
|
47904
48167
|
//#endregion
|
|
47905
|
-
export { EDASessionQuery as $,
|
|
47906
|
-
//# sourceMappingURL=reduced-state-
|
|
48168
|
+
export { EDASessionQuery as $, EDAProjectedDurableSinkDefinition as $t, TurnTerminal as A, defaultCompactionRetainTailTokens as An, InferenceRunnerStreamPart as At, pendingCommands as B, EDAPromptProjectorShape as Bn, RunResolution as Bt, RunRecord as C, CompactionRunner as Cn, SessionRunInput as Ct, ToolDecision as D, PromptPrefixSummaryCompactionExecutorOptions as Dn, SessionStateSnapshotData as Dt, ToolCallRecord as E, LanguageModelSummaryCompactionExecutorOptions as En, SessionStateShape as Et, encodeReducedStateCheckpoint as F, SessionContext as Fn, RunSchedulingDeliveryError as Ft, EDACommandTerminalEvent as G, nativeCompactionSummaryMessage as Gn, RunSchedulingWork as Gt, reduceCommittedEvents as H, buildEDAPrompt as Hn, RunSchedulingInput as Ht, foldReducedState as I, EDANativeCompaction as In, DeferredRunResolution as It, EDARuntimeError as J, planWaitingRunInterruption as Jt, EDARuntime as K, canGrantRun as Kt, frameworkReducedStateReducerName as L, EDAProjectedPromptContext as Ln, LocalRunResolution as Lt, activeTurnIdentityForCommand as M, defaultCompactionThresholdTokens as Mn, RunScheduler as Mt, classifyRecoverableWork as N, promptPrefixSummaryCompactionExecutor as Nn, RunSchedulerShape as Nt, ToolTerminal as O, defaultCompactionCharsPerToken as On, TurnRunner as Ot, decodeReducedStateCheckpoint as P, EventFactory as Pn, RunSchedulingDelivery as Pt, EDASessionEventPage as Q, EDAEphemeralSinkDefinition as Qt, frameworkReducedStateReducerSchemaVersion as R, EDAPromptProjectionInput as Rn, RunGrantResult as Rt, ReducedStateCheckpointToolTerminal as S, CompactionPolicyShape as Sn, SessionNoRunnableReason as St, StopRequestRecord as T, CompactionRunnerShape as Tn, SessionStateError as Tt, reducedStateCheckpointEventSeqs as U, getNativeCompaction as Un, RunSchedulingRequest as Ut, pendingStopCommand as V, EDA_PROMPT_OPTIONS_KEY as Vn, RunSchedulingCancellationPlan as Vt, CommittedCommandTerminalEvent as W, isEDACacheBreakpoint as Wn, RunSchedulingRequestRecord as Wt, EDARuntimeSubmit as X, waitingRunControl as Xt, EDARuntimeShape as Y, runSchedulingInputMessageIds as Yt, DurableTranscriptMessages as Z, EDADurableSinkDefinition as Zt, ReducedStateCheckpointCommandRecord as _, CompactionExecutorShape as _n, SessionCommandResult as _t, CompactionRecord as a, EDASinkContext as an, contextProjectionPromptWithUserContents as at, ReducedStateCheckpointToolCallRecord as b, CompactionPolicy as bn, SessionForkedCommand as bt, InferenceRecord as c, EDASinkRawDurableBatch as cn, durableTranscriptPromptWithUserContent as ct, LifecycleTiming as d, EDASinkRunnerStartInput as dn, SessionCommandAdmissionConflict as dt, EDAProjectedSink as en, EDASessionQueryShape as et, MessageRecord as f, LiveEventBus as fn, SessionCommandAdmissionError as ft, ReducedState as g, CompactionExecutorInput as gn, SessionCommandOutcome as gt, RecoveryContinuationRecord as h, CompactionExecutor as hn, SessionCommandFailed as ht, CommandTerminal as i, EDASinkCheckpoint as in, contextProjectionPromptWithUserContent as it, activeCommand as j, defaultCompactionSummaryInstructions as jn, ToolExecutor as jt, TurnRecord as k, defaultCompactionMinSummarizableTokens as kn, InferenceRunner as kt, InferenceTerminal as l, EDASinkRegistry as ln, projectionStateThrough as lt, RecoverableWork as m, CompactionError as mn, SessionCommandCompleted as mt, ActiveTurnIdentity as n, EDARawSink as nn, DurableTranscriptMessage as nt, CompactionTerminal as o, EDASinkDurableBatch as on, durableMessageTranscript as ot, PendingCommand as p, ApproximateTokenThresholdCompactionPolicyOptions as pn, SessionCommandCancelled as pt, EDARuntimeConfig as q, planRunSchedulingCancellation as qt, CommandRecord as r, EDASink as rn, contextProjectionPrompt as rt, ContextRecord as s, EDASinkInterests as sn, durableTranscriptPrompt as st, ActiveCommandEvidence as t, EDARawDurableSinkDefinition as tn, EDASessionSnapshot as tt, LifecycleFailure as u, EDASinkRegistryShape as un, EDASubmittable as ut, ReducedStateCheckpointMessageRecord as v, CompactionOutput as vn, SessionDrainProcessed as vt, RunTerminal as w, CompactionRunnerInput as wn, SessionState as wt, ReducedStateCheckpointToolDecision as x, CompactionPolicyInput as xn, SessionNoRunnableCommand as xt, ReducedStateCheckpointPayload as y, CompactionPlan as yn, SessionDrainResult as yt, initialReducedState as z, EDAPromptProjector as zn, RunRequestOutcome as zt };
|
|
48169
|
+
//# sourceMappingURL=reduced-state-BGd_yCBT.d.ts.map
|