@effect-agent/testing 0.0.1-beta.5 → 0.1.0-beta.10

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/index.d.mts CHANGED
@@ -4,6 +4,7 @@ import { DurableStep, DurableStepError, RuntimeBinding } from "@effect-agent/eng
4
4
  import { CanonicalBatch, CanonicalRecordEnvelope, CertificationCaseResult, CertificationReport, CertificationScenario, CertificationSweepResult, CertificationTierThreeReport, ConversationCheckpoint, ConversationProjection, ConversationStore, DefinitionDigests, DurableAgentRuntime, DurableRuntimeConfig, DurableRuntimeFailpointLocation, DurableRuntimeFailpointTestControl, DurableSubmitOptions, IdempotencyKey, ProducerId, Receipt, ResolvedBinding, SubmissionLedger, ToolReconciler, WakeScheduler } from "@effect-agent/session";
5
5
  import { Cause, Context, Crypto, Duration, Effect, Layer, Option, Schema } from "effect";
6
6
  import { AiError, LanguageModel, Model, Response, Tool, Toolkit } from "effect/unstable/ai";
7
+ import { CodeExecutor, SandboxImplementation } from "@effect-agent/sandbox";
7
8
  //#region src/certification.d.ts
8
9
  /**
9
10
  * P7 WP2 — `certifyDurableAdapters` (plan §1): the one certification entry point a durable
@@ -140,7 +141,7 @@ declare const ChaosPlan_base: Schema.Class<ChaosPlan, Schema.Struct<{
140
141
  readonly lanes: Schema.Int;
141
142
  readonly submissions: Schema.NonEmptyArray<typeof ChaosSubmissionSpec>;
142
143
  /** Coordinator failpoint arms, consumed one per round (each fails every hit that round). */
143
- readonly failpointArms: Schema.$Array<Schema.Literals<readonly ["submit:after-admit", "submit:after-materialize", "claim:after-claim", "input:after-canonical-append", "turn:after-canonical-append", "turn:after-response-append", "turn:after-results-append", "tools:after-prepared-append", "step:after-step-append", "approval:after-request-append", "approval:after-suspend", "join:after-claim", "join:after-canonical-append", "resolve:after-intent", "terminalize:after-reserve", "terminalize:after-canonical-append", "abort:after-intent", "subagent:after-reserve", "subagent:after-request-append", "subagent:after-admit", "subagent:after-child-ready", "subagent:after-start-append", "subagent:after-sibling-settle", "subagent:after-suspend", "subagent:after-child-abort-intent", "subagent:after-join-append", "subagent:after-release-pending", "subagent:after-release"]>>;
144
+ readonly failpointArms: Schema.$Array<Schema.Literals<readonly ["submit:after-admit", "submit:after-materialize", "claim:after-claim", "input:after-canonical-append", "turn:after-canonical-append", "turn:after-response-append", "turn:after-results-append", "compaction:after-canonical-append", "tools:after-prepared-append", "step:after-step-append", "approval:after-request-append", "approval:after-suspend", "join:after-claim", "join:after-canonical-append", "resolve:after-intent", "terminalize:after-reserve", "terminalize:after-canonical-append", "abort:after-intent", "subagent:after-reserve", "subagent:after-request-append", "subagent:after-admit", "subagent:after-child-ready", "subagent:after-start-append", "subagent:after-sibling-settle", "subagent:after-suspend", "subagent:after-child-abort-intent", "subagent:after-join-append", "subagent:after-release-pending", "subagent:after-release"]>>;
144
145
  /** Adapter-owned failpoint arms (e.g. SQLite `ledger:*`/`append:*` locations). */
145
146
  readonly adapterArms: Schema.$Array<Schema.String>;
146
147
  /** Flattened submission indices to abort mid-plan (modulo the submission count). */
@@ -220,6 +221,50 @@ interface ChaosRunOptions {
220
221
  */
221
222
  declare const runChaosPlan: (plan: ChaosPlan, options?: ChaosRunOptions | undefined) => Effect.Effect<ChaosPlanReport, ChaosConvergenceFailure, ConversationStore | import("effect/Crypto").Crypto | DurableAgentRuntime | DurableRuntimeConfig | DurableRuntimeFailpointTestControl | SubmissionLedger>;
222
223
  //#endregion
224
+ //#region src/code-executor-conformance.d.ts
225
+ declare const CodeExecutorConformanceViolation_base: Schema.Class<CodeExecutorConformanceViolation, Schema.TaggedStruct<"CodeExecutorConformanceViolation", {
226
+ readonly caseName: Schema.String;
227
+ readonly message: Schema.String;
228
+ }>, import("effect/Cause").YieldableError>;
229
+ /**
230
+ * Shared `CodeExecutor` conformance (TEST-015). Every adapter — the
231
+ * deterministic `unisolated` substitute and each isolated adapter — runs
232
+ * `codeExecutorConformanceCases` verbatim. Enforcement cases that only genuine
233
+ * isolation can prove (ambient network denial, synchronous CPU runaway
234
+ * termination) are NOT here; they belong to isolated adapters only
235
+ * (testing spec §8.1).
236
+ *
237
+ * Cases assume the live `Clock` (the wall-clock case uses a short real
238
+ * deadline) and take one fresh executor pass per case, so a suite may share
239
+ * one executor Layer across cases.
240
+ */
241
+ declare class CodeExecutorConformanceViolation extends CodeExecutorConformanceViolation_base {}
242
+ interface CodeExecutorConformanceCase {
243
+ readonly name: string;
244
+ readonly run: Effect.Effect<void, CodeExecutorConformanceViolation, CodeExecutor>;
245
+ }
246
+ interface CodeExecutorConformanceOptions {
247
+ /** The posture the adapter under test must stamp on results and errors. */
248
+ readonly implementation: SandboxImplementation;
249
+ }
250
+ declare const codeExecutorConformanceCases: (options: CodeExecutorConformanceOptions) => ReadonlyArray<CodeExecutorConformanceCase>;
251
+ //#endregion
252
+ //#region src/code-executor-substitute.d.ts
253
+ /**
254
+ * The deterministic in-process executor substitute (C1 of ADR-0017). It runs
255
+ * the generated program on the host JavaScript engine with best-effort global
256
+ * shadowing only, so it self-identifies as `unisolated` and is never a
257
+ * security boundary (CAP-010, CAP-015). It exists to prove the public
258
+ * `CodeExecutor` contract and to drive deterministic capability tests.
259
+ */
260
+ declare const inProcessCodeExecutorImplementation: SandboxImplementation;
261
+ /**
262
+ * Layer providing the unisolated in-process `CodeExecutor` substitute. The
263
+ * per-pass `CodeExecutionHost` stays in the caller's requirement channel, the
264
+ * same as every real adapter.
265
+ */
266
+ declare const inProcessCodeExecutorLayer: Layer.Layer<CodeExecutor>;
267
+ //#endregion
223
268
  //#region src/fixtures/docs-researcher/definition.d.ts
224
269
  declare const ResearchDocumentId: Schema.brand<Schema.NonEmptyString, "@effect-agent/testing/docs-researcher/ResearchDocumentId">;
225
270
  type ResearchDocumentId = typeof ResearchDocumentId.Type;
@@ -320,7 +365,7 @@ declare const delegateDocumentSummary: import("@effect-agent/capabilities").Suba
320
365
  readonly failure: typeof DocumentUnavailable;
321
366
  readonly failureMode: "error";
322
367
  }, DocumentLibrary>;
323
- }, typeof SummaryRequest, typeof SummaryFinding, typeof DocumentSummaryFailed, never, never>;
368
+ }, typeof SummaryRequest, typeof SummaryFinding, typeof DocumentSummaryFailed, never, never, "error">;
324
369
  /** Total mapping from every expected child Run failure to the declared Tool failure (SUB-028). */
325
370
  declare const mapSummaryChildFailure: (failure: {
326
371
  readonly _tag: string;
@@ -356,10 +401,20 @@ declare class ResearchDigest extends ResearchDigest_base {}
356
401
  declare const docsCoordinatorConfidentialMarker = "docs-coordinator-vault-19x";
357
402
  declare const docsMissionConfidentialMarker = "docs-mission-dossier-42f";
358
403
  declare const DocsResearcherToolkit: Toolkit.Toolkit<{
359
- readonly delegate_document_summary: import("@effect-agent/capabilities").SubagentTool<"delegate_document_summary", typeof SummaryRequest, typeof SummaryFinding, typeof DocumentSummaryFailed>;
404
+ readonly delegate_document_summary: Tool.Tool<"delegate_document_summary", {
405
+ readonly parameters: typeof SummaryRequest;
406
+ readonly success: typeof SummaryFinding;
407
+ readonly failure: import("@effect-agent/capabilities").SubagentToolFailure<typeof DocumentSummaryFailed>;
408
+ readonly failureMode: "error";
409
+ }, import("@effect-agent/engine").AgentSpawner | import("@effect-agent/core").IdGenerator | import("@effect-agent/engine").RunEventSink | import("@effect-agent/engine").SubagentDurability>;
360
410
  }>;
361
411
  declare const DocsResearcher: import("@effect-agent/core").Definition<typeof ResearchRequest, typeof ResearchDigest, string, Toolkit.Toolkit<{
362
- readonly delegate_document_summary: import("@effect-agent/capabilities").SubagentTool<"delegate_document_summary", typeof SummaryRequest, typeof SummaryFinding, typeof DocumentSummaryFailed>;
412
+ readonly delegate_document_summary: Tool.Tool<"delegate_document_summary", {
413
+ readonly parameters: typeof SummaryRequest;
414
+ readonly success: typeof SummaryFinding;
415
+ readonly failure: import("@effect-agent/capabilities").SubagentToolFailure<typeof DocumentSummaryFailed>;
416
+ readonly failureMode: "error";
417
+ }, import("@effect-agent/engine").AgentSpawner | import("@effect-agent/core").IdGenerator | import("@effect-agent/engine").RunEventSink | import("@effect-agent/engine").SubagentDurability>;
363
418
  }>>;
364
419
  /** The default two-document research mission. */
365
420
  declare const researchMissionRequest: ResearchRequest;
@@ -938,6 +993,42 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
938
993
  readonly createdAt: string;
939
994
  readonly deploymentId: string;
940
995
  readonly payload: {
996
+ readonly _tag: "AbortRequested";
997
+ readonly submissionId: string;
998
+ readonly author: string;
999
+ readonly reason: string;
1000
+ } | {
1001
+ readonly _tag: "ToolCallResolved";
1002
+ readonly runId: string;
1003
+ readonly toolCallId: string;
1004
+ readonly resolution: "completed-with-result" | "failed-with-error" | "never-started" | "safe-retry";
1005
+ readonly author: string;
1006
+ readonly reason: string;
1007
+ } | {
1008
+ readonly _tag: "ToolCallPrepared";
1009
+ readonly runId: string;
1010
+ readonly turnId: string;
1011
+ readonly turn: number;
1012
+ readonly toolCallId: string;
1013
+ readonly toolName: string;
1014
+ readonly parameters: Schema.Json;
1015
+ readonly parametersDigest: string;
1016
+ } | {
1017
+ readonly _tag: "ToolCallUnknown";
1018
+ readonly runId: string;
1019
+ readonly turn: number;
1020
+ readonly toolCallId: string;
1021
+ readonly toolName: string;
1022
+ readonly reason: string;
1023
+ } | {
1024
+ readonly _tag: "ToolApprovalDecided";
1025
+ readonly runId: string;
1026
+ readonly turn: number;
1027
+ readonly toolCallId: string;
1028
+ readonly decision: "approved" | "denied";
1029
+ readonly resolver: string;
1030
+ readonly reason: string;
1031
+ } | {
941
1032
  readonly _tag: "ConversationCreated";
942
1033
  readonly agentId: string;
943
1034
  readonly definitions: {
@@ -962,15 +1053,9 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
962
1053
  readonly turn: number;
963
1054
  readonly messages: Schema.Json;
964
1055
  readonly messagesDigest: string;
965
- } | {
966
- readonly _tag: "ToolCallPrepared";
967
- readonly runId: string;
968
- readonly turnId: string;
969
- readonly turn: number;
970
- readonly toolCallId: string;
971
- readonly toolName: string;
972
- readonly parameters: Schema.Json;
973
- readonly parametersDigest: string;
1056
+ readonly inputTokens?: number | undefined;
1057
+ readonly outputTokens?: number | undefined;
1058
+ readonly costMicrousd?: number | undefined;
974
1059
  } | {
975
1060
  readonly _tag: "ToolCallSettled";
976
1061
  readonly runId: string;
@@ -978,20 +1063,6 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
978
1063
  readonly toolName: string;
979
1064
  readonly result: Schema.Json;
980
1065
  readonly isFailure: boolean;
981
- } | {
982
- readonly _tag: "ToolCallUnknown";
983
- readonly runId: string;
984
- readonly turn: number;
985
- readonly toolCallId: string;
986
- readonly toolName: string;
987
- readonly reason: string;
988
- } | {
989
- readonly _tag: "ToolCallResolved";
990
- readonly runId: string;
991
- readonly toolCallId: string;
992
- readonly resolution: "completed-with-result" | "failed-with-error" | "never-started" | "safe-retry";
993
- readonly author: string;
994
- readonly reason: string;
995
1066
  } | {
996
1067
  readonly _tag: "ToolStepSettled";
997
1068
  readonly runId: string;
@@ -1007,14 +1078,6 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
1007
1078
  readonly toolCallId: string;
1008
1079
  readonly toolName: string;
1009
1080
  readonly parametersDigest: string;
1010
- } | {
1011
- readonly _tag: "ToolApprovalDecided";
1012
- readonly runId: string;
1013
- readonly turn: number;
1014
- readonly toolCallId: string;
1015
- readonly decision: "approved" | "denied";
1016
- readonly resolver: string;
1017
- readonly reason: string;
1018
1081
  } | {
1019
1082
  readonly _tag: "ModelResponseInterrupted";
1020
1083
  readonly runId: string;
@@ -1024,8 +1087,10 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
1024
1087
  } | {
1025
1088
  readonly _tag: "CompactionCreated";
1026
1089
  readonly runId: string;
1027
- readonly sourceDigest: string;
1028
- readonly summary: string;
1090
+ readonly turn: number;
1091
+ readonly kind: "clear-tool-results" | "summarize";
1092
+ readonly coversThrough: number;
1093
+ readonly summary?: string | undefined;
1029
1094
  } | {
1030
1095
  readonly _tag: "RunFailed";
1031
1096
  readonly runId: string;
@@ -1034,11 +1099,6 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
1034
1099
  readonly _tag: "RunCompleted";
1035
1100
  readonly runId: string;
1036
1101
  readonly output: Schema.Json;
1037
- } | {
1038
- readonly _tag: "AbortRequested";
1039
- readonly submissionId: string;
1040
- readonly author: string;
1041
- readonly reason: string;
1042
1102
  } | {
1043
1103
  readonly _tag: "SubmissionSettled";
1044
1104
  readonly submissionId: string;
@@ -1047,6 +1107,7 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
1047
1107
  readonly outcome: "aborted" | "completed" | "failed";
1048
1108
  readonly runId?: string | undefined;
1049
1109
  readonly result?: Schema.Json | undefined;
1110
+ readonly finishReason?: "budget-exhausted" | undefined;
1050
1111
  } | {
1051
1112
  readonly _tag: "SubagentRequested";
1052
1113
  readonly runId: string;
@@ -1118,6 +1179,42 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
1118
1179
  readonly createdAt: string;
1119
1180
  readonly deploymentId: string;
1120
1181
  readonly payload: {
1182
+ readonly _tag: "AbortRequested";
1183
+ readonly submissionId: string;
1184
+ readonly author: string;
1185
+ readonly reason: string;
1186
+ } | {
1187
+ readonly _tag: "ToolCallResolved";
1188
+ readonly runId: string;
1189
+ readonly toolCallId: string;
1190
+ readonly resolution: "completed-with-result" | "failed-with-error" | "never-started" | "safe-retry";
1191
+ readonly author: string;
1192
+ readonly reason: string;
1193
+ } | {
1194
+ readonly _tag: "ToolCallPrepared";
1195
+ readonly runId: string;
1196
+ readonly turnId: string;
1197
+ readonly turn: number;
1198
+ readonly toolCallId: string;
1199
+ readonly toolName: string;
1200
+ readonly parameters: Schema.Json;
1201
+ readonly parametersDigest: string;
1202
+ } | {
1203
+ readonly _tag: "ToolCallUnknown";
1204
+ readonly runId: string;
1205
+ readonly turn: number;
1206
+ readonly toolCallId: string;
1207
+ readonly toolName: string;
1208
+ readonly reason: string;
1209
+ } | {
1210
+ readonly _tag: "ToolApprovalDecided";
1211
+ readonly runId: string;
1212
+ readonly turn: number;
1213
+ readonly toolCallId: string;
1214
+ readonly decision: "approved" | "denied";
1215
+ readonly resolver: string;
1216
+ readonly reason: string;
1217
+ } | {
1121
1218
  readonly _tag: "ConversationCreated";
1122
1219
  readonly agentId: string;
1123
1220
  readonly definitions: {
@@ -1142,15 +1239,9 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
1142
1239
  readonly turn: number;
1143
1240
  readonly messages: Schema.Json;
1144
1241
  readonly messagesDigest: string;
1145
- } | {
1146
- readonly _tag: "ToolCallPrepared";
1147
- readonly runId: string;
1148
- readonly turnId: string;
1149
- readonly turn: number;
1150
- readonly toolCallId: string;
1151
- readonly toolName: string;
1152
- readonly parameters: Schema.Json;
1153
- readonly parametersDigest: string;
1242
+ readonly inputTokens?: number | undefined;
1243
+ readonly outputTokens?: number | undefined;
1244
+ readonly costMicrousd?: number | undefined;
1154
1245
  } | {
1155
1246
  readonly _tag: "ToolCallSettled";
1156
1247
  readonly runId: string;
@@ -1158,20 +1249,6 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
1158
1249
  readonly toolName: string;
1159
1250
  readonly result: Schema.Json;
1160
1251
  readonly isFailure: boolean;
1161
- } | {
1162
- readonly _tag: "ToolCallUnknown";
1163
- readonly runId: string;
1164
- readonly turn: number;
1165
- readonly toolCallId: string;
1166
- readonly toolName: string;
1167
- readonly reason: string;
1168
- } | {
1169
- readonly _tag: "ToolCallResolved";
1170
- readonly runId: string;
1171
- readonly toolCallId: string;
1172
- readonly resolution: "completed-with-result" | "failed-with-error" | "never-started" | "safe-retry";
1173
- readonly author: string;
1174
- readonly reason: string;
1175
1252
  } | {
1176
1253
  readonly _tag: "ToolStepSettled";
1177
1254
  readonly runId: string;
@@ -1187,14 +1264,6 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
1187
1264
  readonly toolCallId: string;
1188
1265
  readonly toolName: string;
1189
1266
  readonly parametersDigest: string;
1190
- } | {
1191
- readonly _tag: "ToolApprovalDecided";
1192
- readonly runId: string;
1193
- readonly turn: number;
1194
- readonly toolCallId: string;
1195
- readonly decision: "approved" | "denied";
1196
- readonly resolver: string;
1197
- readonly reason: string;
1198
1267
  } | {
1199
1268
  readonly _tag: "ModelResponseInterrupted";
1200
1269
  readonly runId: string;
@@ -1204,8 +1273,10 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
1204
1273
  } | {
1205
1274
  readonly _tag: "CompactionCreated";
1206
1275
  readonly runId: string;
1207
- readonly sourceDigest: string;
1208
- readonly summary: string;
1276
+ readonly turn: number;
1277
+ readonly kind: "clear-tool-results" | "summarize";
1278
+ readonly coversThrough: number;
1279
+ readonly summary?: string | undefined;
1209
1280
  } | {
1210
1281
  readonly _tag: "RunFailed";
1211
1282
  readonly runId: string;
@@ -1214,11 +1285,6 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
1214
1285
  readonly _tag: "RunCompleted";
1215
1286
  readonly runId: string;
1216
1287
  readonly output: Schema.Json;
1217
- } | {
1218
- readonly _tag: "AbortRequested";
1219
- readonly submissionId: string;
1220
- readonly author: string;
1221
- readonly reason: string;
1222
1288
  } | {
1223
1289
  readonly _tag: "SubmissionSettled";
1224
1290
  readonly submissionId: string;
@@ -1227,6 +1293,7 @@ declare const phase3TravelPlannerEncodedFixture: readonly {
1227
1293
  readonly outcome: "aborted" | "completed" | "failed";
1228
1294
  readonly runId?: string | undefined;
1229
1295
  readonly result?: Schema.Json | undefined;
1296
+ readonly finishReason?: "budget-exhausted" | undefined;
1230
1297
  } | {
1231
1298
  readonly _tag: "SubagentRequested";
1232
1299
  readonly runId: string;
@@ -2727,7 +2794,7 @@ declare const destinationResearchDelegation: import("@effect-agent/capabilities"
2727
2794
  readonly failure: typeof DestinationGuideUnavailable;
2728
2795
  readonly failureMode: "error";
2729
2796
  }, DestinationGuide>;
2730
- }, typeof DestinationResearchRequest, typeof DestinationResearchFindings, typeof DestinationResearchFailed, ResearchDispatchGate, never>;
2797
+ }, typeof DestinationResearchRequest, typeof DestinationResearchFindings, typeof DestinationResearchFailed, ResearchDispatchGate, never, "error">;
2731
2798
  /** Total mapping from every expected child Run failure to the declared Tool failure (SUB-028). */
2732
2799
  declare const mapResearchChildFailure: (failure: {
2733
2800
  readonly _tag: string;
@@ -2762,10 +2829,20 @@ declare class DestinationShortlist extends DestinationShortlist_base {}
2762
2829
  declare const coordinatorConfidentialMarker = "coordinator-vault-7q42";
2763
2830
  declare const missionConfidentialMarker = "traveler-dossier-19f";
2764
2831
  declare const TravelCoordinatorToolkit: Toolkit.Toolkit<{
2765
- readonly delegate_destination_research: import("@effect-agent/capabilities").SubagentTool<"delegate_destination_research", typeof DestinationResearchRequest, typeof DestinationResearchFindings, typeof DestinationResearchFailed>;
2832
+ readonly delegate_destination_research: Tool.Tool<"delegate_destination_research", {
2833
+ readonly parameters: typeof DestinationResearchRequest;
2834
+ readonly success: typeof DestinationResearchFindings;
2835
+ readonly failure: import("@effect-agent/capabilities").SubagentToolFailure<typeof DestinationResearchFailed>;
2836
+ readonly failureMode: "error";
2837
+ }, import("@effect-agent/engine").AgentSpawner | import("@effect-agent/core").IdGenerator | import("@effect-agent/engine").RunEventSink | import("@effect-agent/engine").SubagentDurability>;
2766
2838
  }>;
2767
2839
  declare const TravelCoordinator: import("@effect-agent/core").Definition<typeof ResearchMission, typeof DestinationShortlist, string, Toolkit.Toolkit<{
2768
- readonly delegate_destination_research: import("@effect-agent/capabilities").SubagentTool<"delegate_destination_research", typeof DestinationResearchRequest, typeof DestinationResearchFindings, typeof DestinationResearchFailed>;
2840
+ readonly delegate_destination_research: Tool.Tool<"delegate_destination_research", {
2841
+ readonly parameters: typeof DestinationResearchRequest;
2842
+ readonly success: typeof DestinationResearchFindings;
2843
+ readonly failure: import("@effect-agent/capabilities").SubagentToolFailure<typeof DestinationResearchFailed>;
2844
+ readonly failureMode: "error";
2845
+ }, import("@effect-agent/engine").AgentSpawner | import("@effect-agent/core").IdGenerator | import("@effect-agent/engine").RunEventSink | import("@effect-agent/engine").SubagentDurability>;
2769
2846
  }>>;
2770
2847
  declare const researchMission: ResearchMission;
2771
2848
  declare const expectedDestinationShortlist: DestinationShortlist;
@@ -3327,5 +3404,5 @@ interface DurableResearchHarness {
3327
3404
  */
3328
3405
  declare const makeDurableResearchHarness: (options?: DurableResearchHarnessOptions) => Effect.Effect<DurableResearchHarness, never, never>;
3329
3406
  //#endregion
3330
- export { ActivityCatalog, ActivityCatalogLayer, ActivityQuery, ActivitySearchResult, ActivityUnavailable, AirportCode, BookFlight, BookItinerary, BookingRef, BoundedSummary, CERTIFICATION_SCENARIOS, CancelBooking, CancelBookingRequest, CancellationConfirmation, CatalogLifecycle, CatalogLifecycleCounts, CertificationCrashLever, CertifyDurableAdaptersOptions, ChaosAdapterFailpoints, ChaosApprovalDecision, ChaosConvergenceFailure, ChaosGeneratorOptions, ChaosLaneReport, ChaosPlan, ChaosPlanReport, ChaosResolutionKind, ChaosRunOptions, ChaosScenarioKind, ChaosSubmissionSpec, CrossPlatformEvidenceIdentity, DEFAULT_CHAOS_SEED, DestinationBrief, DestinationFacts, DestinationGuide, DestinationGuideLayer, DestinationGuideUnavailable, DestinationQuery, DestinationRecommendation, DestinationReport, DestinationResearchCall, DestinationResearchFailed, DestinationResearchFindings, DestinationResearchRequest, DestinationResearchSupportLayer, DestinationResearcher, DestinationResearcherControls, DestinationResearcherToolkit, DestinationResearcherToolkitLayer, DestinationShortlist, DeterministicIdGeneratorLayer, DocContentToolkit, DocSummarizer, DocsMcpDiscoveryEvidence, DocsResearcher, DocsResearcherHarness, DocsResearcherHarnessOptions, DocsResearcherHarnessRequirements, DocsResearcherToolkit, DocumentLibrary, DocumentQuery, DocumentSummary, DocumentSummaryFailed, DocumentUnavailable, DurableResearchHarness, DurableResearchHarnessOptions, DurableSearchActivities, DurableSearchFlights, DurableSearchLodging, FetchDocument, FlightBookingRequest, FlightCatalog, FlightCatalogLayer, FlightOption, FlightQuery, FlightUnavailable, GuidanceFailure, HoldItinerary, Itinerary, ItineraryBookingRequest, ItineraryConfirmation, ItineraryHold, ItineraryHoldGateway, ItineraryHoldRequest, ItineraryHoldUnavailable, LodgingCatalog, LodgingCatalogLayer, LodgingOption, LodgingQuery, LodgingUnavailable, LookupDestination, PHASE7_LIVE_CREDENTIAL_ENV, PHASE7_LIVE_GATE_ENV, Phase7LiveGateEnvironment, QuoteId, ResearchDigest, ResearchDispatchGate, ResearchDocument, ResearchDocumentId, ResearchMission, ResearchRequest, ReverseCompletionToolkitLayer, ScriptedGeneratePart, ScriptedGenerateTurn, ScriptedModel, ScriptedRequest, ScriptedRequestKind, ScriptedStreamPart, ScriptedStreamTermination, ScriptedStreamTurn, ScriptedTurn, ScriptedTurnHooks, ScriptedTurnInput, SearchActivities, SearchFlights, SearchLodging, SummaryBrief, SummaryFinding, SummaryRequest, SupplierBookRequest, SupplierBookingConfirmation, SupplierBookingDesk, SupplierBookingRecord, SupplierHoldControls, SupplierOperation, SupplierUnavailable, TIER2_UNREACHED_LOCATIONS, TravelBookingReport, TravelCoordinator, TravelCoordinatorToolkit, TravelGuidance, TravelGuidanceLayer, TravelPlan, TravelPlanner, TravelPlannerBookingEvidenceError, TravelPlannerBookingProfile, TravelPlannerCloudflareProfile, TravelPlannerCompletionControls, TravelPlannerDurabilityProfile, TravelPlannerDurableEvidenceError, TravelPlannerPersistenceProfile, TravelPlannerPhase2, TravelPlannerPhase2Toolkit, TravelPlannerPhase2ToolkitLayer, TravelPlannerPhase4, TravelPlannerPhase4Toolkit, TravelPlannerPhase4ToolkitLayer, TravelPlannerPhase5, TravelPlannerPhase5Toolkit, TravelPlannerPhase5ToolkitLayer, TravelPlannerPhase7Profile, TravelPlannerProjectionError, TravelPlannerRuntimeLayer, TravelPlannerSubagentDurabilityProfile, TravelPlannerToolkit, TravelPlannerToolkitLayer, TravelSupplierReconcilerLayer, TravelerRef, TripRequest, assertDiscoveryMatchesAuthoredToolkit, assertSettledBookingsExistAtSupplier, bookFlightIdempotencyKey, cancelBookingIdempotencyKey, certifyDurableAdapters, chaosSeedFromEnv, coordinatorConfidentialMarker, coordinatorResearchTurn, coordinatorShortlistTurn, delegateDocumentSummary, destinationLookup, destinationReportFor, destinationResearchDelegation, destinationResearchHandlersLayer, destinationResearchPolicy, docContentToolkitLayer, docsCoordinatorConfidentialMarker, docsCoordinatorDigests, docsDocumentBodySecret, docsMcpConnectorLayer, docsMcpIdentity, docsMcpMismatchedConnectorLayer, docsMcpOversizedConnectorLayer, docsMcpRequest, docsMissionConfidentialMarker, docsResearcherDeploymentId, docsResearcherPrincipal, docsResearcherProducerId, docsResearcherSubmitAgent, docsResearcherSubmitOptions, docsSummarizerDigestStrings, docsSummarizerDigests, docsSummaryHandlersLayer, documentBodyPhrase, documentSummaryFor, documentSummaryPolicy, durableChildLookupCallId, durableDestinationResearchHandlersLayer, durableResearchAllocation, durableResearchCallId, durableResearchFinding, durableResearchShortlist, encodedDestinationFacts, encodedDestinationReport, encodedDocumentSummary, expectedDestinationShortlist, expectedResearchDigest, expectedTravelPlan, fetchCallId, generateChaosPlans, itineraryStepIdempotencyKey, makeDestinationResearcherModel, makeDocsResearcherHarness, makeDurableResearchHarness, makeInvocationCountingModel, makePhase3TravelPlannerCheckpoint, makePhase4TravelPlannerAgent, makePhase6TravelPlannerBindings, mapResearchChildFailure, mapSummaryChildFailure, missionConfidentialMarker, normalizeCrossPlatformTravelPlannerEvidence, normalizeDurableTravelPlannerEvidence, phase0HappyPathTurns, phase0Trip, phase1HappyPathTurns, phase1Trip, phase3TravelPlannerBatches, phase3TravelPlannerCompletionBatch, phase3TravelPlannerConversationId, phase3TravelPlannerDefinitionDigests, phase3TravelPlannerEncodedFixture, phase3TravelPlannerInitialBatch, phase3TravelPlannerProducerId, phase3TravelPlannerProfile, phase3TravelPlannerRunId, phase4TravelPlannerDefinitionDigests, phase4TravelPlannerDeploymentId, phase4TravelPlannerPrincipal, phase4TravelPlannerProducerId, phase4TravelPlannerProfile, phase4TravelPlannerSubmitOptions, phase4TravelPlannerWorkerLayer, phase5TravelPlannerDefinitionDigests, phase5TravelPlannerDeploymentId, phase5TravelPlannerPrincipal, phase5TravelPlannerProducerId, phase5TravelPlannerProfile, phase5TravelPlannerSubmitOptions, phase5TravelPlannerWorkerLayer, phase6ActivityCallId, phase6BookingModel, phase6BookingRef, phase6BookingToolCallId, phase6BookingTrip, phase6ChildLookupCallId, phase6CoordinatorModel, phase6FlightCallId, phase6GatedPlannerDefinitionDigests, phase6GatedPlannerModel, phase6GatedTrip, phase6GuideInvocationCount, phase6LodgingCallId, phase6PlannerModel, phase6ResearchDestination, phase6ResearchMission, phase6ResearcherModel, phase6SupplierDesk, phase6SupplierDeskLayer, phase6SupplierReconcilerLayer, phase6TravelPlannerDeploymentId, phase6TravelPlannerGoldenEvidence, phase6TravelPlannerProducerId, phase6TravelPlannerProducerPrefix, phase6TravelPlannerProfile, phase7LiveProfileEnabled, phase7TravelPlannerProfile, redactedDocumentPreview, releasePhase6PlannerGate, releasePhase6ResearcherGate, researchCorpusDocumentIds, researchDocumentFor, researchDocumentLookup, researchMission, researchMissionRequest, researcherHappyPathTurns, resetPhase6PlannerGate, resetPhase6ResearcherGate, resolveTierThree, runChaosPlan, s2CoordinatorDigests, s2CoordinatorSubmitAgent, s2ResearcherDigestStrings, s2ResearcherDigests, s2TravelPlannerDeploymentId, s2TravelPlannerPrincipal, s2TravelPlannerProducerId, s2TravelPlannerProfile, s2TravelPlannerSubmitOptions, summarizeCallId, supplierBookingRefFor, tier2NeverFiredLocations, travelPlanFromDurableSettlement, travelPlanFromProjection };
3407
+ export { ActivityCatalog, ActivityCatalogLayer, ActivityQuery, ActivitySearchResult, ActivityUnavailable, AirportCode, BookFlight, BookItinerary, BookingRef, BoundedSummary, CERTIFICATION_SCENARIOS, CancelBooking, CancelBookingRequest, CancellationConfirmation, CatalogLifecycle, CatalogLifecycleCounts, CertificationCrashLever, CertifyDurableAdaptersOptions, ChaosAdapterFailpoints, ChaosApprovalDecision, ChaosConvergenceFailure, ChaosGeneratorOptions, ChaosLaneReport, ChaosPlan, ChaosPlanReport, ChaosResolutionKind, ChaosRunOptions, ChaosScenarioKind, ChaosSubmissionSpec, CodeExecutorConformanceCase, CodeExecutorConformanceOptions, CodeExecutorConformanceViolation, CrossPlatformEvidenceIdentity, DEFAULT_CHAOS_SEED, DestinationBrief, DestinationFacts, DestinationGuide, DestinationGuideLayer, DestinationGuideUnavailable, DestinationQuery, DestinationRecommendation, DestinationReport, DestinationResearchCall, DestinationResearchFailed, DestinationResearchFindings, DestinationResearchRequest, DestinationResearchSupportLayer, DestinationResearcher, DestinationResearcherControls, DestinationResearcherToolkit, DestinationResearcherToolkitLayer, DestinationShortlist, DeterministicIdGeneratorLayer, DocContentToolkit, DocSummarizer, DocsMcpDiscoveryEvidence, DocsResearcher, DocsResearcherHarness, DocsResearcherHarnessOptions, DocsResearcherHarnessRequirements, DocsResearcherToolkit, DocumentLibrary, DocumentQuery, DocumentSummary, DocumentSummaryFailed, DocumentUnavailable, DurableResearchHarness, DurableResearchHarnessOptions, DurableSearchActivities, DurableSearchFlights, DurableSearchLodging, FetchDocument, FlightBookingRequest, FlightCatalog, FlightCatalogLayer, FlightOption, FlightQuery, FlightUnavailable, GuidanceFailure, HoldItinerary, Itinerary, ItineraryBookingRequest, ItineraryConfirmation, ItineraryHold, ItineraryHoldGateway, ItineraryHoldRequest, ItineraryHoldUnavailable, LodgingCatalog, LodgingCatalogLayer, LodgingOption, LodgingQuery, LodgingUnavailable, LookupDestination, PHASE7_LIVE_CREDENTIAL_ENV, PHASE7_LIVE_GATE_ENV, Phase7LiveGateEnvironment, QuoteId, ResearchDigest, ResearchDispatchGate, ResearchDocument, ResearchDocumentId, ResearchMission, ResearchRequest, ReverseCompletionToolkitLayer, ScriptedGeneratePart, ScriptedGenerateTurn, ScriptedModel, ScriptedRequest, ScriptedRequestKind, ScriptedStreamPart, ScriptedStreamTermination, ScriptedStreamTurn, ScriptedTurn, ScriptedTurnHooks, ScriptedTurnInput, SearchActivities, SearchFlights, SearchLodging, SummaryBrief, SummaryFinding, SummaryRequest, SupplierBookRequest, SupplierBookingConfirmation, SupplierBookingDesk, SupplierBookingRecord, SupplierHoldControls, SupplierOperation, SupplierUnavailable, TIER2_UNREACHED_LOCATIONS, TravelBookingReport, TravelCoordinator, TravelCoordinatorToolkit, TravelGuidance, TravelGuidanceLayer, TravelPlan, TravelPlanner, TravelPlannerBookingEvidenceError, TravelPlannerBookingProfile, TravelPlannerCloudflareProfile, TravelPlannerCompletionControls, TravelPlannerDurabilityProfile, TravelPlannerDurableEvidenceError, TravelPlannerPersistenceProfile, TravelPlannerPhase2, TravelPlannerPhase2Toolkit, TravelPlannerPhase2ToolkitLayer, TravelPlannerPhase4, TravelPlannerPhase4Toolkit, TravelPlannerPhase4ToolkitLayer, TravelPlannerPhase5, TravelPlannerPhase5Toolkit, TravelPlannerPhase5ToolkitLayer, TravelPlannerPhase7Profile, TravelPlannerProjectionError, TravelPlannerRuntimeLayer, TravelPlannerSubagentDurabilityProfile, TravelPlannerToolkit, TravelPlannerToolkitLayer, TravelSupplierReconcilerLayer, TravelerRef, TripRequest, assertDiscoveryMatchesAuthoredToolkit, assertSettledBookingsExistAtSupplier, bookFlightIdempotencyKey, cancelBookingIdempotencyKey, certifyDurableAdapters, chaosSeedFromEnv, codeExecutorConformanceCases, coordinatorConfidentialMarker, coordinatorResearchTurn, coordinatorShortlistTurn, delegateDocumentSummary, destinationLookup, destinationReportFor, destinationResearchDelegation, destinationResearchHandlersLayer, destinationResearchPolicy, docContentToolkitLayer, docsCoordinatorConfidentialMarker, docsCoordinatorDigests, docsDocumentBodySecret, docsMcpConnectorLayer, docsMcpIdentity, docsMcpMismatchedConnectorLayer, docsMcpOversizedConnectorLayer, docsMcpRequest, docsMissionConfidentialMarker, docsResearcherDeploymentId, docsResearcherPrincipal, docsResearcherProducerId, docsResearcherSubmitAgent, docsResearcherSubmitOptions, docsSummarizerDigestStrings, docsSummarizerDigests, docsSummaryHandlersLayer, documentBodyPhrase, documentSummaryFor, documentSummaryPolicy, durableChildLookupCallId, durableDestinationResearchHandlersLayer, durableResearchAllocation, durableResearchCallId, durableResearchFinding, durableResearchShortlist, encodedDestinationFacts, encodedDestinationReport, encodedDocumentSummary, expectedDestinationShortlist, expectedResearchDigest, expectedTravelPlan, fetchCallId, generateChaosPlans, inProcessCodeExecutorImplementation, inProcessCodeExecutorLayer, itineraryStepIdempotencyKey, makeDestinationResearcherModel, makeDocsResearcherHarness, makeDurableResearchHarness, makeInvocationCountingModel, makePhase3TravelPlannerCheckpoint, makePhase4TravelPlannerAgent, makePhase6TravelPlannerBindings, mapResearchChildFailure, mapSummaryChildFailure, missionConfidentialMarker, normalizeCrossPlatformTravelPlannerEvidence, normalizeDurableTravelPlannerEvidence, phase0HappyPathTurns, phase0Trip, phase1HappyPathTurns, phase1Trip, phase3TravelPlannerBatches, phase3TravelPlannerCompletionBatch, phase3TravelPlannerConversationId, phase3TravelPlannerDefinitionDigests, phase3TravelPlannerEncodedFixture, phase3TravelPlannerInitialBatch, phase3TravelPlannerProducerId, phase3TravelPlannerProfile, phase3TravelPlannerRunId, phase4TravelPlannerDefinitionDigests, phase4TravelPlannerDeploymentId, phase4TravelPlannerPrincipal, phase4TravelPlannerProducerId, phase4TravelPlannerProfile, phase4TravelPlannerSubmitOptions, phase4TravelPlannerWorkerLayer, phase5TravelPlannerDefinitionDigests, phase5TravelPlannerDeploymentId, phase5TravelPlannerPrincipal, phase5TravelPlannerProducerId, phase5TravelPlannerProfile, phase5TravelPlannerSubmitOptions, phase5TravelPlannerWorkerLayer, phase6ActivityCallId, phase6BookingModel, phase6BookingRef, phase6BookingToolCallId, phase6BookingTrip, phase6ChildLookupCallId, phase6CoordinatorModel, phase6FlightCallId, phase6GatedPlannerDefinitionDigests, phase6GatedPlannerModel, phase6GatedTrip, phase6GuideInvocationCount, phase6LodgingCallId, phase6PlannerModel, phase6ResearchDestination, phase6ResearchMission, phase6ResearcherModel, phase6SupplierDesk, phase6SupplierDeskLayer, phase6SupplierReconcilerLayer, phase6TravelPlannerDeploymentId, phase6TravelPlannerGoldenEvidence, phase6TravelPlannerProducerId, phase6TravelPlannerProducerPrefix, phase6TravelPlannerProfile, phase7LiveProfileEnabled, phase7TravelPlannerProfile, redactedDocumentPreview, releasePhase6PlannerGate, releasePhase6ResearcherGate, researchCorpusDocumentIds, researchDocumentFor, researchDocumentLookup, researchMission, researchMissionRequest, researcherHappyPathTurns, resetPhase6PlannerGate, resetPhase6ResearcherGate, resolveTierThree, runChaosPlan, s2CoordinatorDigests, s2CoordinatorSubmitAgent, s2ResearcherDigestStrings, s2ResearcherDigests, s2TravelPlannerDeploymentId, s2TravelPlannerPrincipal, s2TravelPlannerProducerId, s2TravelPlannerProfile, s2TravelPlannerSubmitOptions, summarizeCallId, supplierBookingRefFor, tier2NeverFiredLocations, travelPlanFromDurableSettlement, travelPlanFromProjection };
3331
3408
  //# sourceMappingURL=index.d.mts.map