fascicle 0.12.1 → 0.12.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/CHANGELOG.md +79 -33
  2. package/README.md +13 -13
  3. package/dist/{adapters-hmnJOOgf.js → adapters-CutexJd3.js} +12 -12
  4. package/dist/adapters-CutexJd3.js.map +1 -0
  5. package/dist/adapters.d.ts +10 -10
  6. package/dist/adapters.js +1 -1
  7. package/dist/agents.d.ts +13 -3
  8. package/dist/agents.js +12 -5
  9. package/dist/agents.js.map +1 -1
  10. package/dist/{core-DDRhHu5P.js → core-DdJEhyQc.js} +122 -488
  11. package/dist/core-DdJEhyQc.js.map +1 -0
  12. package/dist/{engine-b4ZH8esY.js → engine-J4lIxpw5.js} +40 -357
  13. package/dist/engine-J4lIxpw5.js.map +1 -0
  14. package/dist/index.d.ts +85 -25
  15. package/dist/index.js +402 -48
  16. package/dist/index.js.map +1 -1
  17. package/dist/{invoke-CyKNhvBw.js → invoke-CH_eJZeS.js} +8 -8
  18. package/dist/{invoke-CyKNhvBw.js.map → invoke-CH_eJZeS.js.map} +1 -1
  19. package/dist/leading_system-BUCT-PwD.js +330 -0
  20. package/dist/leading_system-BUCT-PwD.js.map +1 -0
  21. package/dist/mcp.d.ts +5 -5
  22. package/dist/mcp.js +10 -9
  23. package/dist/mcp.js.map +1 -1
  24. package/dist/otel.d.ts +1 -1
  25. package/dist/otel.js +4 -4
  26. package/dist/otel.js.map +1 -1
  27. package/dist/stdio.d.ts +2 -2
  28. package/dist/stdio.js +2 -2
  29. package/dist/testing.d.ts +1 -1
  30. package/dist/testing.js +3 -2
  31. package/dist/testing.js.map +1 -1
  32. package/dist/{trajectory-cSLNlHzh.d.ts → trajectory-ByoOQZ6T.d.ts} +10 -10
  33. package/dist/trajectory-D1eq9eue.js +81 -0
  34. package/dist/trajectory-D1eq9eue.js.map +1 -0
  35. package/dist/{types-BCtKsxrX.d.ts → types-BK0UW28o.d.ts} +3 -3
  36. package/dist/{types-BqUY6nRX.d.ts → types-DBpU27sQ.d.ts} +7 -2
  37. package/dist/{types-CXBB4aIM.d.ts → types-DU6cvoA4.d.ts} +3 -3
  38. package/dist/ui.d.ts +1 -1
  39. package/dist/ui.js +1 -1
  40. package/dist/ui.js.map +1 -1
  41. package/dist/viewer.d.ts +8 -8
  42. package/dist/viewer.js +16 -15
  43. package/dist/viewer.js.map +1 -1
  44. package/package.json +5 -4
  45. package/dist/adapters-hmnJOOgf.js.map +0 -1
  46. package/dist/core-DDRhHu5P.js.map +0 -1
  47. package/dist/engine-b4ZH8esY.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { a as Step, c as StepMetadata, d as TrajectoryLogger, i as RunContext, l as StepOutput, n as CheckpointStore, o as StepFn, r as CleanupFn, s as StepInput, t as AnyStep, u as TrajectoryEvent } from "./types-BqUY6nRX.js";
2
- import { n as SchemaIssue, r as ToolSchema, t as AnySchema } from "./types-BCtKsxrX.js";
3
- import { _ as parse_trajectory_event, a as ParsedTrajectoryEvent, c as SpanEndEvent, d as is_checkpoint_event, f as is_custom_trajectory_event, g as is_span_start_event, h as is_span_end_event, i as EmitEvent, l as SpanStartEvent, m as is_run_end_event, n as CheckpointStatus, o as RunEndEvent, p as is_emit_event, r as CustomTrajectoryEvent, s as RunEndStatus, t as CheckpointEvent, u as TrajectoryParseResult } from "./trajectory-cSLNlHzh.js";
4
- import { A as TurnResult, B as ProviderTransport, C as StreamChunk, D as ToolCallRecord, E as ToolApprovalRequest, F as ExternalAgentAdapter, H as default_normalize_usage, I as NativeProviderAdapter, L as ProviderAdapter, M as UserContentPart, N as AiSdkProviderAdapter, O as ToolExecContext, P as EffortTranslation, R as ProviderCapability, S as StepRecord, T as ToolApprovalHandler, V as RawProviderUsage, _ as ProviderConfigMap, a as Engine, b as RetryFailureKind, c as FinishReason, d as Message, f as PrepareStepContext, g as PricingTable, h as Pricing, i as EffortLevel, j as UsageTotals, k as TurnRequest, l as GenerateOptions, m as PrepareStepResult, n as AssistantContentPart, o as EngineConfig, p as PrepareStepHook, r as CostBreakdown, s as EngineDefaults, t as AiSdkTelemetrySettings, u as GenerateResult, v as ProviderInit, w as Tool, x as RetryPolicy, y as ResolvedModel, z as ProviderFactory } from "./types-CXBB4aIM.js";
1
+ import { a as Step, c as StepMetadata, d as TrajectoryLogger, i as RunContext, l as StepOutput, n as CheckpointStore, o as StepFn, r as CleanupFn, s as StepInput, t as AnyStep, u as TrajectoryEvent } from "./types-DBpU27sQ.js";
2
+ import { n as SchemaIssue, r as ToolSchema, t as AnySchema } from "./types-BK0UW28o.js";
3
+ import { _ as parse_trajectory_event, a as ParsedTrajectoryEvent, c as SpanEndEvent, d as is_checkpoint_event, f as is_custom_trajectory_event, g as is_span_start_event, h as is_span_end_event, i as EmitEvent, l as SpanStartEvent, m as is_run_end_event, n as CheckpointStatus, o as RunEndEvent, p as is_emit_event, r as CustomTrajectoryEvent, s as RunEndStatus, t as CheckpointEvent, u as TrajectoryParseResult } from "./trajectory-ByoOQZ6T.js";
4
+ import { A as TurnResult, B as ProviderTransport, C as StreamChunk, D as ToolCallRecord, E as ToolApprovalRequest, F as ExternalAgentAdapter, H as default_normalize_usage, I as NativeProviderAdapter, L as ProviderAdapter, M as UserContentPart, N as AiSdkProviderAdapter, O as ToolExecContext, P as EffortTranslation, R as ProviderCapability, S as StepRecord, T as ToolApprovalHandler, V as RawProviderUsage, _ as ProviderConfigMap, a as Engine, b as RetryFailureKind, c as FinishReason, d as Message, f as PrepareStepContext, g as PricingTable, h as Pricing, i as EffortLevel, j as UsageTotals, k as TurnRequest, l as GenerateOptions, m as PrepareStepResult, n as AssistantContentPart, o as EngineConfig, p as PrepareStepHook, r as CostBreakdown, s as EngineDefaults, t as AiSdkTelemetrySettings, u as GenerateResult, v as ProviderInit, w as Tool, x as RetryPolicy, y as ResolvedModel, z as ProviderFactory } from "./types-DU6cvoA4.js";
5
5
 
6
6
  //#region src/core/flow-schema.json.d.ts
7
7
  declare let $schema: string;
@@ -654,9 +654,9 @@ declare const run: typeof run_impl & {
654
654
  /**
655
655
  * Wrap a plain function as a `Step`, named or anonymous.
656
656
  *
657
- * The named form takes an explicit id (and optional descriptive `meta`); the
658
- * anonymous form generates a `step_<n>` id and marks the step so checkpoint
659
- * rejects it at construction time.
657
+ * The named form takes an explicit id (identity) and optional `meta` (display
658
+ * and description); the anonymous form generates a `step_<n>` id and marks the
659
+ * step so checkpoint rejects it at construction time.
660
660
  */
661
661
  declare function step<i, o>(id: string, fn: StepFn<i, o>, meta?: StepMetadata): Step<i, o>;
662
662
  declare function step<i, o>(fn: StepFn<i, o>): Step<i, o>;
@@ -694,6 +694,50 @@ declare const describe: {
694
694
  json: <i, o>(root: Step<i, o>, options?: DescribeOptions) => FlowNode;
695
695
  };
696
696
  //#endregion
697
+ //#region src/core/display_name.d.ts
698
+ /**
699
+ * Resolve the human-readable label for `node`, falling back to `fallback`
700
+ * (typically the step's kind) when neither display channel is populated.
701
+ */
702
+ declare function resolve_display_name(node: AnyStep, fallback: string): string;
703
+ //#endregion
704
+ //#region src/core/step_id.d.ts
705
+ /**
706
+ * Step id validation.
707
+ *
708
+ * Every id in the system is constrained to a valid JavaScript identifier
709
+ * rather than an arbitrary string, because ids are read back as property
710
+ * names: `chain` merges each binding into a typed record under its name, and
711
+ * a name you cannot destructure is a name the record cannot offer. Holding
712
+ * one rule across `step`, `chain`, and the agent surface means a user learns
713
+ * it once instead of discovering per-primitive exceptions.
714
+ *
715
+ * Prose is not constrained, because prose has its own channel: `meta.name`
716
+ * on a step, `name` on a chain binding or composer.
717
+ *
718
+ * Nothing normalizes an id on the caller's behalf. A silent transformation
719
+ * would map several distinct names onto one key ('my-id', 'my.id', and
720
+ * 'my_id' all reduce to 'my_id') and would have to stay bug-for-bug in sync
721
+ * with the equivalent type-level transformation. The suggestion in the
722
+ * failure message is a courtesy for the reader, never a contract.
723
+ */
724
+ /**
725
+ * Report whether `id` can be read back as a property name.
726
+ */
727
+ declare function is_valid_step_id(id: string): boolean;
728
+ /**
729
+ * Render the closest identifier-shaped spelling of `raw`, for failure
730
+ * messages only. Prefixes an underscore when the swap alone still leaves an
731
+ * illegal leading character, so the suggestion is always usable as written.
732
+ */
733
+ declare function suggest_step_id(raw: string): string;
734
+ /**
735
+ * Throw when `id` is not identifier-shaped. `subject` names the failing
736
+ * surface so the message points at the call the reader actually wrote, and
737
+ * `remedy` says where the prose spelling belongs instead.
738
+ */
739
+ declare function assert_valid_step_id(id: string, subject: string, remedy: string): void;
740
+ //#endregion
697
741
  //#region src/core/sequence.d.ts
698
742
  type FirstInput<children> = children extends readonly [Step<infer i, unknown>, ...unknown[]] ? i : unknown;
699
743
  type LastOutput$1<children> = children extends readonly [...unknown[], Step<never, infer o>] ? o : children extends readonly [Step<never, infer o>] ? o : unknown;
@@ -879,14 +923,17 @@ type LoopConfig<i, state, o> = {
879
923
  declare function loop<i, state, o>(config: LoopConfig<i, state, o>): Step<i, o>;
880
924
  //#endregion
881
925
  //#region src/core/compose.d.ts
926
+ type ComposeConfig = {
927
+ readonly name: string;
928
+ };
882
929
  /**
883
930
  * Wrap `inner` in a named composite step.
884
931
  *
885
- * The step's `kind` is always `'compose'`; `name` becomes the
932
+ * The step's `kind` is always `'compose'`; `config.name` becomes the
886
933
  * `display_name` used as the span label. Throws a `TypeError` when `name`
887
934
  * is not a non-empty string, catching the mistake at construction time.
888
935
  */
889
- declare function compose<i, o>(name: string, inner: Step<i, o>): Step<i, o>;
936
+ declare function compose<i, o>(inner: Step<i, o>, config: ComposeConfig): Step<i, o>;
890
937
  //#endregion
891
938
  //#region src/core/checkpoint.d.ts
892
939
  type CheckpointConfig<i> = {
@@ -960,11 +1007,17 @@ declare function use<const keys extends readonly string[], i, o>(keys: keys, fn:
960
1007
  type merge<a, b> = { readonly [k in keyof (a & b)]: (a & b)[k] };
961
1008
  type ChainStepOptions = {
962
1009
  readonly arm?: AnyStep;
1010
+ /**
1011
+ * Display label for the binding's span and `describe` line. The binding
1012
+ * name is a record key and so must be identifier-shaped; this is where the
1013
+ * free prose goes, exactly as `meta.name` does for a plain `step`.
1014
+ */
1015
+ readonly name?: string;
963
1016
  };
964
1017
  type Chain<i, acc> = {
965
1018
  readonly step: {
966
1019
  <k extends string, o>(name: k, fn: (s: acc, ctx: RunContext) => Promise<o> | o, options?: ChainStepOptions): Chain<i, merge<acc, { readonly [p in k]: o }>>;
967
- <k extends string, a, o>(name: k, arm: Step<a, o>, select: (s: acc) => a): Chain<i, merge<acc, { readonly [p in k]: o }>>;
1020
+ <k extends string, a, o>(name: k, arm: Step<a, o>, select: (s: acc) => a, options?: ChainStepOptions): Chain<i, merge<acc, { readonly [p in k]: o }>>;
968
1021
  };
969
1022
  readonly stage: {
970
1023
  (name: string): Chain<i, acc>;
@@ -1066,9 +1119,10 @@ declare function is_step(value: unknown): value is AnyStep;
1066
1119
  *
1067
1120
  * Studio (and any other consumer that needs to enumerate primitives: palette,
1068
1121
  * docs, code generation) can rely on this being the exhaustive set. New
1069
- * primitives must add their kind here. The `step_kinds_cover_runner` contract
1070
- * test in `step_kinds.test.ts` asserts every dispatch handler corresponds to a
1071
- * kind listed here.
1122
+ * primitives must add their kind here. `step_kinds.test.ts` pins the list
1123
+ * against the kinds core actually constructs, and
1124
+ * `composites/__tests__/coverage.test.ts` covers the four composite kinds
1125
+ * whose factories live outside core.
1072
1126
  */
1073
1127
  declare const STEP_KINDS: readonly ["step", "sequence", "parallel", "branch", "map", "pipe", "retry", "fallback", "timeout", "loop", "compose", "adversarial", "ensemble", "tournament", "consensus", "checkpoint", "suspend", "scope", "stash", "use", "chain"];
1074
1128
  type StepKind = (typeof STEP_KINDS)[number];
@@ -1148,11 +1202,17 @@ declare class model_required_error extends Error {
1148
1202
  readonly path?: ReadonlyArray<string>;
1149
1203
  constructor(message?: string);
1150
1204
  }
1205
+ /**
1206
+ * A generate call named a provider the engine has no adapter for. Carries the
1207
+ * configured names, and the message repeats them, so a typo is visible from
1208
+ * the message alone rather than needing the engine config alongside it.
1209
+ */
1151
1210
  declare class provider_not_configured_error extends Error {
1152
1211
  readonly kind: "provider_not_configured_error";
1153
1212
  readonly path?: ReadonlyArray<string>;
1154
1213
  readonly provider: string;
1155
- constructor(provider: string);
1214
+ readonly configured: ReadonlyArray<string>;
1215
+ constructor(provider: string, configured?: ReadonlyArray<string>);
1156
1216
  }
1157
1217
  /**
1158
1218
  * No provider could be resolved for a generate call: several providers are
@@ -1259,7 +1319,7 @@ type AdversarialConfig<input, candidate, projected = AdversarialResult<candidate
1259
1319
  * notes when available), critiques it, then checks `accept(critique_result)`.
1260
1320
  * Returns `{ candidate, converged, rounds }`. Does not throw on
1261
1321
  * non-convergence; `converged: false` reports it instead. `project` maps
1262
- * that envelope into the step's output (e.g. `(r) => r.candidate`); omitted,
1322
+ * that envelope into the step's output (for example, `(r) => r.candidate`); omitted,
1263
1323
  * the envelope itself is the output.
1264
1324
  *
1265
1325
  * Implemented as a `compose`d `loop` whose body builds a new candidate and
@@ -1289,7 +1349,7 @@ type ConsensusResult<o> = {
1289
1349
  * Otherwise re-runs all members up to `max_rounds` times and returns the
1290
1350
  * last results with `converged: false` if no agreement is reached.
1291
1351
  * `project` maps the `{ result, converged }` envelope into the step's output
1292
- * (e.g. `(r) => r.converged`); omitted, the envelope itself is the output.
1352
+ * (for example, `(r) => r.converged`); omitted, the envelope itself is the output.
1293
1353
  *
1294
1354
  * Implemented as a `compose`d `loop` whose body runs `parallel(members)` and
1295
1355
  * whose guard evaluates `agree`. State carries the original input alongside
@@ -1316,7 +1376,7 @@ type EnsembleResult<o> = {
1316
1376
  * `select` picks the highest (`'max'`, the default) or lowest (`'min'`)
1317
1377
  * score. Tie-breaking is "any tied result is acceptable": the first member
1318
1378
  * (in `members` key order) holding the best score wins. `project` maps the
1319
- * `{ winner, scores }` envelope into the step's output (e.g. `(r) =>
1379
+ * `{ winner, scores }` envelope into the step's output (for example, `(r) =>
1320
1380
  * r.winner`); omitted, the envelope itself is the output.
1321
1381
  *
1322
1382
  * Implemented as a `compose`d `sequence` of `parallel(members)` followed by
@@ -1344,16 +1404,16 @@ type EnsembleStepResult<o, ranked> = {
1344
1404
  * Builds a Step that runs every member concurrently, scores each result via
1345
1405
  * a scoring `Step`, and returns the best-ranking winner.
1346
1406
  *
1347
- * Sibling of `ensemble` for the case where scoring is itself a `Step` (e.g.
1348
- * a separate model call, a sub-flow, anything that wants its own trajectory
1349
- * span and abort routing). The `score` step is dispatched once per member
1350
- * result; `rank_by` projects a number out of the structured scored output;
1407
+ * Sibling of `ensemble` for the case where scoring is itself a `Step` (for
1408
+ * example, a separate model call, a sub-flow, anything that wants its own
1409
+ * trajectory span and abort routing). The `score` step is dispatched once per
1410
+ * member result; `rank_by` projects a number out of the structured scored output;
1351
1411
  * `select` picks the highest (`'max'`, default) or lowest (`'min'`) rank.
1352
1412
  *
1353
1413
  * The result carries `winner_scored`, the structured output from the round's
1354
1414
  * scoring run preserved verbatim, so callers never pay to re-score the
1355
1415
  * winner. `scored` holds the structured score for every member. `project`
1356
- * maps that envelope into the step's output (e.g. `(r) => r.winner`);
1416
+ * maps that envelope into the step's output (for example, `(r) => r.winner`);
1357
1417
  * omitted, the envelope itself is the output.
1358
1418
  *
1359
1419
  * Implemented as a `compose`d `scope` over (`stash(parallel(members))` ->
@@ -1453,7 +1513,7 @@ type ImproveResult<c> = {
1453
1513
  * next round's input. Plateau detection stops the loop early when no
1454
1514
  * progress has been made for `patience` rounds; an optional wall-clock
1455
1515
  * budget caps total runtime. `project` maps the result envelope into the
1456
- * step's output (e.g. `(r) => r.best.content`); omitted, the envelope
1516
+ * step's output (for example, `(r) => r.best.content`); omitted, the envelope
1457
1517
  * itself is the output.
1458
1518
  *
1459
1519
  * Implemented as a `compose`d `scope` of (seed) -> (init state) -> (loop) ->
@@ -1532,7 +1592,7 @@ type TournamentResult<o> = {
1532
1592
  * All members run concurrently via `parallel`; the bracket step then reduces
1533
1593
  * survivors round by round with `compare`, recording every match. Requires at
1534
1594
  * least one member so a winner always exists. `project` maps the `{ winner,
1535
- * bracket }` envelope into the step's output (e.g. `(r) => r.winner`);
1595
+ * bracket }` envelope into the step's output (for example, `(r) => r.winner`);
1536
1596
  * omitted, the envelope itself is the output.
1537
1597
  */
1538
1598
  declare function tournament<i, o, projected = TournamentResult<o>>(config: TournamentConfig<i, o, projected>): Step<i, projected>;
@@ -1809,5 +1869,5 @@ declare function model_step<T = string>(cfg: Omit<ModelCallConfig<T>, 'project'>
1809
1869
  */
1810
1870
  declare function forward_standard_env(): Record<string, string>;
1811
1871
  //#endregion
1812
- export { type AdversarialBuildInput, type AdversarialConfig, type AdversarialCritiqueResult, type AdversarialResult, type AiSdkProviderAdapter, type AiSdkTelemetrySettings, type AnySchema, type AnyStep, type AssistantContentPart, type BenchCase, type BenchOptions, type BenchReport, type BenchSummary, type BracketRecord, type BranchConfig, type Candidate, type CaseResult, type Chain, type ChainOpen, type ChainStepOptions, type CheckpointConfig, type CheckpointEvent, type CheckpointStatus, type CheckpointStore, type ClaudeCliErrorReason, type CleanupFn, type ConsensusConfig, type ConsensusResult, type CostBreakdown, type CustomTrajectoryEvent, type DescribeOptions, type EffortLevel, type EffortTranslation, type EmitEvent, type Engine, type EngineConfig, type EngineDefaults, type EnsembleConfig, type EnsembleResult, type EnsembleStepConfig, type EnsembleStepResult, type ExternalAgentAdapter, type FallbackOptions, type FinishReason, type FlowNode, type FlowValue, type GateConfig, type GenerateOptions, type GenerateResult, type HistoryEntry, type ImproveBudget, type ImproveConfig, type ImproveResult, type ImproveRoundInput, type Improvement, type Judge, type JudgeArgs, type JudgeLlmConfig, type JudgeWithFn, type LearnConfig, type LearnInput, type LearnResult, type Lesson, type LoopConfig, type LoopGuardPredicate, type LoopGuardResult, type LoopOutcome, type MapConfig, type Message, type ModelCallConfig, type ModelCallInput, type NativeProviderAdapter, type ParallelOptions, type ParsedTrajectoryEvent, type PerCaseDelta, type PipeOptions, type PrepareStepContext, type PrepareStepHook, type PrepareStepResult, type Pricing, type PricingTable, type ProviderAdapter, type ProviderCapability, type ProviderConfigMap, type ProviderFactory, type ProviderInit, type ProviderTransport, type RawProviderUsage, type RegressionCompareOptions, type RegressionDelta, type RegressionReport, type ResolvedModel, type RetryConfig, type RetryFailureKind, type RetryPolicy, type RunContext, type RunEndEvent, type RunEndStatus, type RunOptions, type RunOutcome, STEP_KINDS, type SchemaIssue, type ScopeOptions, type Score, type ScoredCandidate, type SequenceOptions, type SpanEndEvent, type SpanStartEvent, type StashOptions, type Step, type StepFn, type StepInput, type StepKind, type StepMetadata, type StepOutput, type StepRecord, type StreamChunk, type StreamingRunHandle, type SuspendConfig, type TimeoutOptions, type Tool, type ToolApprovalHandler, type ToolApprovalRequest, type ToolCallRecord, type ToolExecContext, type ToolSchema, type TournamentConfig, type TournamentResult, type TrajectoryEvent, type TrajectoryLogger, type TrajectoryParseResult, type TrajectorySource, type TurnRequest, type TurnResult, type UsageTotals, type UseOptions, type UserContentPart, aborted_error, adversarial, bench, bench_suspend_error, branch, chain, checkpoint, claude_cli_error, compose, consensus, create_engine, default_normalize_usage, describe, describe_cycle_error, engine_config_error, engine_disposed_error, ensemble, ensemble_step, error_path, fallback, __json_default_export as flow_schema, forward_standard_env, gate, improve, incomplete_generation_error, is_checkpoint_event, is_custom_trajectory_event, is_emit_event, is_run_end_event, is_span_end_event, is_span_start_event, is_step, is_step_kind, judge_equals, judge_llm, judge_with, learn, loop, map, model_call, model_required_error, model_step, normalize_score, on_chunk_error, parallel, parse_trajectory_event, pipe, provider_auth_error, provider_capability_error, provider_error, provider_not_configured_error, provider_required_error, rate_limit_error, read_baseline, regression_compare, resume_validation_error, retry, run, schema_validation_error, scope, sequence, stash, step, suspend, suspended_error, timeout, timeout_error, tool_approval_denied_error, tool_error, tournament, use, write_baseline };
1872
+ export { type AdversarialBuildInput, type AdversarialConfig, type AdversarialCritiqueResult, type AdversarialResult, type AiSdkProviderAdapter, type AiSdkTelemetrySettings, type AnySchema, type AnyStep, type AssistantContentPart, type BenchCase, type BenchOptions, type BenchReport, type BenchSummary, type BracketRecord, type BranchConfig, type Candidate, type CaseResult, type Chain, type ChainOpen, type ChainStepOptions, type CheckpointConfig, type CheckpointEvent, type CheckpointStatus, type CheckpointStore, type ClaudeCliErrorReason, type CleanupFn, type ComposeConfig, type ConsensusConfig, type ConsensusResult, type CostBreakdown, type CustomTrajectoryEvent, type DescribeOptions, type EffortLevel, type EffortTranslation, type EmitEvent, type Engine, type EngineConfig, type EngineDefaults, type EnsembleConfig, type EnsembleResult, type EnsembleStepConfig, type EnsembleStepResult, type ExternalAgentAdapter, type FallbackOptions, type FinishReason, type FlowNode, type FlowValue, type GateConfig, type GenerateOptions, type GenerateResult, type HistoryEntry, type ImproveBudget, type ImproveConfig, type ImproveResult, type ImproveRoundInput, type Improvement, type Judge, type JudgeArgs, type JudgeLlmConfig, type JudgeWithFn, type LearnConfig, type LearnInput, type LearnResult, type Lesson, type LoopConfig, type LoopGuardPredicate, type LoopGuardResult, type LoopOutcome, type MapConfig, type Message, type ModelCallConfig, type ModelCallInput, type NativeProviderAdapter, type ParallelOptions, type ParsedTrajectoryEvent, type PerCaseDelta, type PipeOptions, type PrepareStepContext, type PrepareStepHook, type PrepareStepResult, type Pricing, type PricingTable, type ProviderAdapter, type ProviderCapability, type ProviderConfigMap, type ProviderFactory, type ProviderInit, type ProviderTransport, type RawProviderUsage, type RegressionCompareOptions, type RegressionDelta, type RegressionReport, type ResolvedModel, type RetryConfig, type RetryFailureKind, type RetryPolicy, type RunContext, type RunEndEvent, type RunEndStatus, type RunOptions, type RunOutcome, STEP_KINDS, type SchemaIssue, type ScopeOptions, type Score, type ScoredCandidate, type SequenceOptions, type SpanEndEvent, type SpanStartEvent, type StashOptions, type Step, type StepFn, type StepInput, type StepKind, type StepMetadata, type StepOutput, type StepRecord, type StreamChunk, type StreamingRunHandle, type SuspendConfig, type TimeoutOptions, type Tool, type ToolApprovalHandler, type ToolApprovalRequest, type ToolCallRecord, type ToolExecContext, type ToolSchema, type TournamentConfig, type TournamentResult, type TrajectoryEvent, type TrajectoryLogger, type TrajectoryParseResult, type TrajectorySource, type TurnRequest, type TurnResult, type UsageTotals, type UseOptions, type UserContentPart, aborted_error, adversarial, assert_valid_step_id, bench, bench_suspend_error, branch, chain, checkpoint, claude_cli_error, compose, consensus, create_engine, default_normalize_usage, describe, describe_cycle_error, engine_config_error, engine_disposed_error, ensemble, ensemble_step, error_path, fallback, __json_default_export as flow_schema, forward_standard_env, gate, improve, incomplete_generation_error, is_checkpoint_event, is_custom_trajectory_event, is_emit_event, is_run_end_event, is_span_end_event, is_span_start_event, is_step, is_step_kind, is_valid_step_id, judge_equals, judge_llm, judge_with, learn, loop, map, model_call, model_required_error, model_step, normalize_score, on_chunk_error, parallel, parse_trajectory_event, pipe, provider_auth_error, provider_capability_error, provider_error, provider_not_configured_error, provider_required_error, rate_limit_error, read_baseline, regression_compare, resolve_display_name, resume_validation_error, retry, run, schema_validation_error, scope, sequence, stash, step, suggest_step_id, suspend, suspended_error, timeout, timeout_error, tool_approval_denied_error, tool_error, tournament, use, write_baseline };
1813
1873
  //# sourceMappingURL=index.d.ts.map