fascicle 0.8.1 → 0.8.11

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.ts CHANGED
@@ -1,4 +1,5 @@
1
- import { A as loop, B as FlowNode, C as use, D as LoopConfig, E as compose, F as map, G as CheckpointStore, H as describe, I as branch, J as StepMetadata, K as RunContext, L as parallel, M as fallback, N as retry, O as LoopGuardResult, P as pipe, R as sequence, S as stash, T as checkpoint, U as step, V as FlowValue, W as run, X as TrajectoryLogger, Y as TrajectoryEvent, _ as describe_cycle_error, a as ParsedTrajectoryEvent, b as timeout_error, c as custom_event_schema, d as span_start_event_schema, f as trajectory_event_schema, g as aborted_error, h as is_step_kind, i as EmitEvent, j as timeout, k as LoopResult, l as emit_event_schema, m as StepKind, n as version, o as SpanEndEvent, p as STEP_KINDS, q as Step, r as CustomTrajectoryEvent, s as SpanStartEvent, t as flow_schema, u as span_end_event_schema, v as resume_validation_error, w as suspend, x as scope, y as suspended_error, z as DescribeOptions } from "./index-BjOnbuc9.js";
1
+ import { A as fallback, B as describe, C as checkpoint, D as LoopResult, E as LoopGuardResult, F as parallel, G as Step, H as run, I as sequence, J as TrajectoryLogger, K as StepMetadata, L as DescribeOptions, M as pipe, N as map, O as loop, P as branch, R as FlowNode, S as suspend, T as LoopConfig, U as CheckpointStore, V as step, W as RunContext, Y as __json_default_export, _ as suspended_error, a as SpanStartEvent, b as stash, c as span_end_event_schema, d as STEP_KINDS, f as StepKind, g as resume_validation_error, h as describe_cycle_error, i as SpanEndEvent, j as retry, k as timeout, l as span_start_event_schema, m as aborted_error, n as EmitEvent, o as custom_event_schema, p as is_step_kind, q as TrajectoryEvent, r as ParsedTrajectoryEvent, s as emit_event_schema, t as CustomTrajectoryEvent, u as trajectory_event_schema, v as timeout_error, w as compose, x as use, y as scope, z as FlowValue } from "./index-CEj6hY9z.js";
2
+ import { A as RetryFailureKind, B as UserContentPart, C as GenerateResult, D as ProviderConfigMap, E as PricingTable, F as ToolApprovalHandler, I as ToolApprovalRequest, L as ToolCallRecord, M as StepRecord, N as StreamChunk, O as ProviderInit, P as Tool, R as ToolExecContext, S as GenerateOptions, T as Pricing, _ as EffortLevel, a as on_chunk_error, b as EngineDefaults, c as provider_error, d as schema_validation_error, f as tool_approval_denied_error, g as CostBreakdown, h as AssistantContentPart, i as model_required_error, j as RetryPolicy, k as ResolvedModel, l as provider_not_configured_error, m as create_engine, n as engine_config_error, o as provider_auth_error, p as tool_error, r as engine_disposed_error, s as provider_capability_error, t as claude_cli_error, u as rate_limit_error, v as Engine, w as Message, x as FinishReason, y as EngineConfig, z as UsageTotals } from "./index-Cy7EUeiP.js";
2
3
  import { z } from "zod";
3
4
 
4
5
  //#region src/composites/adversarial.d.ts
@@ -272,434 +273,6 @@ declare function regression_compare(current: BenchReport, baseline: BenchReport,
272
273
  declare function read_baseline(path: string): Promise<BenchReport>;
273
274
  declare function write_baseline(path: string, report: BenchReport): Promise<void>;
274
275
  //#endregion
275
- //#region src/engine/version.d.ts
276
- declare const version$1 = "0.8.1";
277
- //#endregion
278
- //#region src/engine/providers/claude_cli/types.d.ts
279
- /**
280
- * Public types for the claude_cli subprocess provider (spec §5.1, §5.3, §5.4).
281
- *
282
- * Value fields are snake_case; exported type aliases are PascalCase. These
283
- * types are re-exported from packages/engine/src/index.ts so callers can
284
- * narrow provider-scoped options and provider_reported values at their use
285
- * site.
286
- */
287
- type AuthMode = 'auto' | 'oauth' | 'api_key';
288
- type SandboxProviderConfig = {
289
- readonly kind: 'bwrap';
290
- readonly network_allowlist?: ReadonlyArray<string>;
291
- readonly additional_write_paths?: ReadonlyArray<string>;
292
- } | {
293
- readonly kind: 'greywall';
294
- readonly network_allowlist?: ReadonlyArray<string>;
295
- readonly additional_write_paths?: ReadonlyArray<string>;
296
- /**
297
- * greywall 0.3+ takes filesystem/network policy from a JSON settings
298
- * file. By default the adapter writes a temp settings file derived
299
- * from `network_allowlist`/`additional_write_paths`. Set to forward
300
- * a caller-managed settings file directly via `--settings` instead.
301
- * The temp-file path is then skipped entirely.
302
- */
303
- readonly settings_path?: string;
304
- };
305
- type ClaudeCliProviderConfig = {
306
- readonly binary?: string;
307
- readonly auth_mode?: AuthMode;
308
- readonly api_key?: string;
309
- /**
310
- * The subprocess env seeds the standard process-env keys
311
- * (PATH/HOME/SHELL/USER/LOGNAME/LANG/TMPDIR) by default under every
312
- * auth mode so the spawn target (sandbox wrapper or the claude binary)
313
- * can be resolved on PATH. Under `auth_mode: 'oauth'` the *full*
314
- * `process.env` is inherited so the CLI can reach the logged-in OAuth
315
- * session. Set to `false` to opt out and start from an empty env.
316
- */
317
- readonly inherit_env?: boolean;
318
- readonly default_cwd?: string;
319
- readonly startup_timeout_ms?: number;
320
- readonly stall_timeout_ms?: number;
321
- readonly setting_sources?: ReadonlyArray<'user' | 'project' | 'local'>;
322
- readonly plugin_dirs?: ReadonlyArray<string>;
323
- readonly sandbox?: SandboxProviderConfig;
324
- readonly skip_probe?: boolean;
325
- };
326
- //#endregion
327
- //#region src/engine/types.d.ts
328
- type EffortLevel = 'none' | 'low' | 'medium' | 'high' | 'xhigh' | 'max';
329
- type FinishReason = 'stop' | 'tool_calls' | 'length' | 'content_filter' | 'aborted' | 'max_steps';
330
- type RetryFailureKind = 'rate_limit' | 'provider_5xx' | 'network' | 'timeout';
331
- type RetryPolicy = {
332
- max_attempts: number;
333
- initial_delay_ms: number;
334
- max_delay_ms: number;
335
- retry_on: ReadonlyArray<RetryFailureKind>;
336
- };
337
- /**
338
- * The resolved transport + model id a generate call dispatches to. `model_id`
339
- * is passed verbatim to the provider; the engine does not interpret it.
340
- */
341
- type ResolvedModel = {
342
- provider: string;
343
- model_id: string;
344
- };
345
- type Pricing = {
346
- input_per_million: number;
347
- output_per_million: number;
348
- cached_input_per_million?: number;
349
- cache_write_per_million?: number;
350
- reasoning_per_million?: number;
351
- };
352
- type PricingTable = Readonly<Record<string, Pricing>>;
353
- type UsageTotals = {
354
- input_tokens: number;
355
- output_tokens: number;
356
- reasoning_tokens?: number;
357
- cached_input_tokens?: number;
358
- cache_write_tokens?: number;
359
- };
360
- type CostBreakdown = {
361
- total_usd: number;
362
- input_usd: number;
363
- output_usd: number;
364
- cached_input_usd?: number;
365
- cache_write_usd?: number;
366
- reasoning_usd?: number;
367
- currency: 'USD';
368
- is_estimate: true;
369
- };
370
- type ToolCallRecord = {
371
- id: string;
372
- name: string;
373
- input: unknown;
374
- output?: unknown;
375
- error?: {
376
- message: string;
377
- stack?: string;
378
- };
379
- duration_ms: number;
380
- started_at: number;
381
- };
382
- type StepRecord = {
383
- index: number;
384
- text: string;
385
- tool_calls: ToolCallRecord[];
386
- usage: UsageTotals;
387
- cost?: CostBreakdown;
388
- finish_reason: FinishReason;
389
- };
390
- type UserContentPart = {
391
- type: 'text';
392
- text: string;
393
- } | {
394
- type: 'image';
395
- image: Uint8Array | string;
396
- media_type?: string;
397
- };
398
- type AssistantContentPart = {
399
- type: 'text';
400
- text: string;
401
- } | {
402
- type: 'tool_call';
403
- id: string;
404
- name: string;
405
- input: unknown;
406
- };
407
- type Message = {
408
- role: 'system';
409
- content: string;
410
- } | {
411
- role: 'user';
412
- content: string | UserContentPart[];
413
- } | {
414
- role: 'assistant';
415
- content: string | AssistantContentPart[];
416
- } | {
417
- role: 'tool';
418
- tool_call_id: string;
419
- name: string;
420
- content: string;
421
- };
422
- type ToolExecContext = {
423
- abort: AbortSignal;
424
- trajectory?: TrajectoryLogger;
425
- tool_call_id: string;
426
- step_index: number;
427
- };
428
- type Tool<i = unknown, o = unknown> = {
429
- name: string;
430
- description: string;
431
- input_schema: z.ZodType<i>;
432
- execute: (input: i, ctx: ToolExecContext) => Promise<o> | o;
433
- needs_approval?: boolean | ((input: i) => boolean | Promise<boolean>);
434
- };
435
- type ToolApprovalRequest = {
436
- tool_name: string;
437
- input: unknown;
438
- step_index: number;
439
- abort: AbortSignal;
440
- };
441
- type ToolApprovalHandler = (request: ToolApprovalRequest) => boolean | Promise<boolean>;
442
- type StreamChunk = {
443
- kind: 'text';
444
- text: string;
445
- step_index: number;
446
- } | {
447
- kind: 'reasoning';
448
- text: string;
449
- step_index: number;
450
- } | {
451
- kind: 'tool_call_start';
452
- id: string;
453
- name: string;
454
- step_index: number;
455
- } | {
456
- kind: 'tool_call_input_delta';
457
- id: string;
458
- delta: string;
459
- step_index: number;
460
- } | {
461
- kind: 'tool_call_end';
462
- id: string;
463
- input: unknown;
464
- step_index: number;
465
- } | {
466
- kind: 'tool_result';
467
- id: string;
468
- output?: unknown;
469
- error?: {
470
- message: string;
471
- };
472
- step_index: number;
473
- } | {
474
- kind: 'step_finish';
475
- step_index: number;
476
- finish_reason: FinishReason;
477
- usage: UsageTotals;
478
- } | {
479
- kind: 'finish';
480
- finish_reason: FinishReason;
481
- usage: UsageTotals;
482
- };
483
- type GenerateOptions<t = string> = {
484
- model?: string;
485
- provider?: string;
486
- prompt: string | Message[];
487
- system?: string;
488
- schema?: z.ZodType<t>;
489
- tools?: Tool[];
490
- effort?: EffortLevel;
491
- temperature?: number;
492
- max_tokens?: number;
493
- top_p?: number;
494
- max_steps?: number;
495
- abort?: AbortSignal;
496
- trajectory?: TrajectoryLogger;
497
- on_chunk?: (chunk: StreamChunk) => void | Promise<void>;
498
- retry?: RetryPolicy;
499
- tool_error_policy?: 'feed_back' | 'throw';
500
- schema_repair_attempts?: number;
501
- on_tool_approval?: ToolApprovalHandler;
502
- provider_options?: Record<string, unknown>;
503
- };
504
- type GenerateResult<t = string> = {
505
- content: t;
506
- tool_calls: ToolCallRecord[];
507
- steps: StepRecord[];
508
- usage: UsageTotals;
509
- cost?: CostBreakdown;
510
- finish_reason: FinishReason;
511
- model_resolved: {
512
- provider: string;
513
- model_id: string;
514
- };
515
- provider_reported?: Record<string, unknown>;
516
- };
517
- type ProviderInit = {
518
- api_key?: string;
519
- base_url?: string;
520
- [k: string]: unknown;
521
- };
522
- type ProviderConfigMap = {
523
- anthropic?: {
524
- api_key: string;
525
- base_url?: string;
526
- };
527
- openai?: {
528
- api_key: string;
529
- base_url?: string;
530
- organization?: string;
531
- };
532
- google?: {
533
- api_key: string;
534
- base_url?: string;
535
- };
536
- ollama?: {
537
- base_url: string;
538
- };
539
- lmstudio?: {
540
- base_url: string;
541
- };
542
- openrouter?: {
543
- api_key: string;
544
- base_url?: string;
545
- http_referer?: string;
546
- x_title?: string;
547
- };
548
- bedrock?: {
549
- region: string;
550
- api_key?: string;
551
- access_key_id?: string;
552
- secret_access_key?: string;
553
- session_token?: string;
554
- base_url?: string;
555
- };
556
- claude_cli?: ClaudeCliProviderConfig;
557
- [custom: string]: ProviderInit | undefined;
558
- };
559
- /**
560
- * Call-level defaults applied by the engine before dispatching to a provider.
561
- *
562
- * Per-call options from `generate(opts)` win over defaults using these rules:
563
- *
564
- * | Field | Rule |
565
- * | --------------------------------------------------------------------- | ----------------------------------------- |
566
- * | `model` | per-call wins; else default; else `sonnet` |
567
- * | `provider` | per-call wins; else default; else sole configured provider; else `anthropic` |
568
- * | `system`, `effort`, `max_steps`, `tool_error_policy`, `schema_repair_attempts` | per-call wins (nullish coalesce) |
569
- * | `retry_policy` | per-call replaces wholesale |
570
- * | `provider_options` | two-level: per-provider-key shallow merge |
571
- * | `prompt`, `tools`, `schema`, `abort`, `trajectory`, `on_chunk` | not defaultable; always call-supplied |
572
- */
573
- type EngineDefaults = {
574
- readonly model?: string;
575
- readonly provider?: string;
576
- readonly system?: string;
577
- readonly effort?: EffortLevel;
578
- readonly max_steps?: number;
579
- readonly retry_policy?: RetryPolicy;
580
- readonly tool_error_policy?: 'feed_back' | 'throw';
581
- readonly schema_repair_attempts?: number;
582
- readonly provider_options?: Readonly<Record<string, Readonly<Record<string, unknown>>>>;
583
- };
584
- type EngineConfig = {
585
- providers: ProviderConfigMap;
586
- pricing?: PricingTable;
587
- default_retry?: RetryPolicy;
588
- default_effort?: EffortLevel;
589
- default_max_steps?: number;
590
- defaults?: EngineDefaults;
591
- };
592
- type Engine = {
593
- generate: <t = string>(opts: GenerateOptions<t>) => Promise<GenerateResult<t>>;
594
- register_price: (provider: string, model_id: string, pricing: Pricing) => void;
595
- resolve_price: (provider: string, model_id: string) => Pricing | undefined;
596
- list_prices: () => PricingTable;
597
- dispose: () => Promise<void>;
598
- };
599
- //#endregion
600
- //#region src/engine/create_engine.d.ts
601
- declare function create_engine(config: EngineConfig): Engine;
602
- //#endregion
603
- //#region src/engine/errors.d.ts
604
- declare class rate_limit_error extends Error {
605
- readonly kind: "rate_limit_error";
606
- readonly retry_after_ms?: number;
607
- readonly attempts: number;
608
- readonly status?: number;
609
- constructor(message: string, metadata?: {
610
- retry_after_ms?: number;
611
- attempts?: number;
612
- status?: number;
613
- });
614
- }
615
- declare class provider_error extends Error {
616
- readonly kind: "provider_error";
617
- readonly status?: number;
618
- readonly body?: string;
619
- readonly cause_kind?: 'provider_5xx' | 'network' | 'unknown';
620
- constructor(message: string, metadata?: {
621
- status?: number;
622
- body?: string;
623
- cause_kind?: 'provider_5xx' | 'network' | 'unknown';
624
- });
625
- }
626
- declare class schema_validation_error extends Error {
627
- readonly kind: "schema_validation_error";
628
- readonly zod_error: unknown;
629
- readonly raw_text: string;
630
- constructor(message: string, zod_error: unknown, raw_text: string);
631
- }
632
- declare class tool_error extends Error {
633
- readonly kind: "tool_error";
634
- readonly tool_name: string;
635
- readonly tool_call_id: string;
636
- readonly cause: unknown;
637
- constructor(message: string, metadata: {
638
- tool_name: string;
639
- tool_call_id: string;
640
- cause: unknown;
641
- });
642
- }
643
- declare class tool_approval_denied_error extends Error {
644
- readonly kind: "tool_approval_denied_error";
645
- readonly tool_name: string;
646
- readonly step_index: number;
647
- readonly tool_call_id: string;
648
- constructor(message: string, metadata: {
649
- tool_name: string;
650
- step_index: number;
651
- tool_call_id: string;
652
- });
653
- }
654
- declare class model_required_error extends Error {
655
- readonly kind: "model_required_error";
656
- constructor(message?: string);
657
- }
658
- declare class provider_not_configured_error extends Error {
659
- readonly kind: "provider_not_configured_error";
660
- readonly provider: string;
661
- constructor(provider: string);
662
- }
663
- declare class engine_config_error extends Error {
664
- readonly kind: "engine_config_error";
665
- readonly provider?: string;
666
- constructor(message: string, provider?: string);
667
- }
668
- declare class on_chunk_error extends Error {
669
- readonly kind: "on_chunk_error";
670
- readonly cause: unknown;
671
- constructor(message: string, cause: unknown);
672
- }
673
- declare class provider_capability_error extends Error {
674
- readonly kind: "provider_capability_error";
675
- readonly provider: string;
676
- readonly capability: string;
677
- constructor(provider: string, capability: string, detail?: string);
678
- }
679
- declare class engine_disposed_error extends Error {
680
- readonly kind: "engine_disposed_error";
681
- constructor(message?: string);
682
- }
683
- type ClaudeCliErrorReason = 'binary_not_found' | 'auth_missing' | 'auth_expired' | 'api_key_missing' | 'startup_timeout' | 'stall_timeout' | 'no_result_event' | 'result_error' | 'subprocess_exit' | 'sandbox_unavailable' | 'engine_disposed' | 'parse_error';
684
- declare class claude_cli_error extends Error {
685
- readonly kind: "claude_cli_error";
686
- readonly reason: ClaudeCliErrorReason;
687
- readonly status?: number;
688
- readonly stderr_snippet?: string;
689
- constructor(reason: ClaudeCliErrorReason, message: string, metadata?: {
690
- status?: number;
691
- stderr_snippet?: string;
692
- });
693
- }
694
- declare class provider_auth_error extends Error {
695
- readonly kind: "provider_auth_error";
696
- readonly provider: string;
697
- readonly refresh_command?: string;
698
- constructor(provider: string, message: string, metadata?: {
699
- refresh_command?: string;
700
- });
701
- }
702
- //#endregion
703
276
  //#region src/model_call.d.ts
704
277
  type ModelCallInput = string | ReadonlyArray<Message>;
705
278
  type ModelCallConfig<T = string> = {
@@ -732,30 +305,13 @@ declare function model_call<T = string>(cfg: ModelCallConfig<T>): Step<ModelCall
732
305
  //#region src/forward_standard_env.d.ts
733
306
  declare function forward_standard_env(): Record<string, string>;
734
307
  //#endregion
735
- //#region src/viewer/cli.d.ts
308
+ //#region src/viewer/start_viewer.d.ts
736
309
  /**
737
- * fascicle-viewer CLI.
310
+ * `start_viewer` programmatic embed implementation.
738
311
  *
739
- * fascicle-viewer <path> # tail a JSONL file (primary)
740
- * fascicle-viewer --listen # accept HTTP push only
741
- * fascicle-viewer <path> --listen # both producers feed the same broadcaster
742
- *
743
- * Flags: --port <n> --host <h> --buffer <n> --no-open --help
744
- *
745
- * Defaults bind 127.0.0.1:4242 and open the user's default browser. SIGINT
746
- * shuts everything down cleanly. The CLI body is exposed as `run_viewer_cli`
747
- * so the umbrella's bin shim can drive it from a bundled `dist/index.js`.
748
- */
749
- declare function run_viewer_cli(argv: readonly string[]): Promise<void>;
750
- //#endregion
751
- //#region src/viewer/index.d.ts
752
- /**
753
- * Public surface for viewer.
754
- *
755
- * `start_viewer({ ... })` is the programmatic embed: spin up the server,
756
- * optionally start tailing a JSONL file, and return a handle that can stop
757
- * both. `start_viewer` only depends on core's wire-format schema; it
758
- * never reaches into the engine, composites, or any provider.
312
+ * Spin up the server, optionally start tailing a JSONL file, and return a
313
+ * handle that can stop both. `start_viewer` only depends on core's wire-format
314
+ * schema; it never reaches into the engine, composites, or any provider.
759
315
  */
760
316
  type StartViewerOptions = {
761
317
  readonly path?: string;
@@ -774,5 +330,21 @@ type ViewerHandle = {
774
330
  };
775
331
  declare function start_viewer(options?: StartViewerOptions): Promise<ViewerHandle>;
776
332
  //#endregion
777
- export { type AdversarialBuildInput, type AdversarialConfig, type AdversarialCritiqueResult, type AdversarialResult, type AssistantContentPart, type BenchCase, type BenchOptions, type BenchReport, type BenchSummary, type BracketRecord, type Candidate, type CaseResult, CheckpointStore, type ConsensusConfig, type ConsensusResult, type CostBreakdown, CustomTrajectoryEvent, DescribeOptions, type EffortLevel, EmitEvent, type Engine, type EngineConfig, type EngineDefaults, type EnsembleConfig, type EnsembleResult, type EnsembleStepConfig, type EnsembleStepResult, type FinishReason, FlowNode, FlowValue, 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, LoopConfig, LoopGuardResult, LoopResult, type Message, type ModelCallConfig, type ModelCallInput, ParsedTrajectoryEvent, type PerCaseDelta, type Pricing, type PricingTable, type ProviderConfigMap, type ProviderInit, type RegressionCompareOptions, type RegressionDelta, type RegressionReport, type ResolvedModel, type RetryFailureKind, type RetryPolicy, RunContext, STEP_KINDS, type Score, type ScoredCandidate, SpanEndEvent, SpanStartEvent, type StartViewerOptions, Step, StepKind, StepMetadata, type StepRecord, type StreamChunk, type Tool, type ToolApprovalHandler, type ToolApprovalRequest, type ToolCallRecord, type ToolExecContext, type TournamentConfig, type TournamentResult, TrajectoryEvent, TrajectoryLogger, type TrajectorySource, type UsageTotals, type UserContentPart, type ViewerHandle, aborted_error, adversarial, bench, branch, checkpoint, claude_cli_error, compose, consensus, version as core_version, create_engine, custom_event_schema, describe, describe_cycle_error, emit_event_schema, engine_config_error, engine_disposed_error, version$1 as engine_version, ensemble, ensemble_step, fallback, flow_schema, forward_standard_env, improve, is_step_kind, judge_equals, judge_llm, judge_with, learn, loop, map, model_call, model_required_error, normalize_score, on_chunk_error, parallel, pipe, provider_auth_error, provider_capability_error, provider_error, provider_not_configured_error, rate_limit_error, read_baseline, regression_compare, resume_validation_error, retry, run, run_viewer_cli, schema_validation_error, scope, sequence, span_end_event_schema, span_start_event_schema, start_viewer, stash, step, suspend, suspended_error, timeout, timeout_error, tool_approval_denied_error, tool_error, tournament, trajectory_event_schema, use, write_baseline };
333
+ //#region src/viewer/cli.d.ts
334
+ /**
335
+ * fascicle-viewer CLI.
336
+ *
337
+ * fascicle-viewer <path> # tail a JSONL file (primary)
338
+ * fascicle-viewer --listen # accept HTTP push only
339
+ * fascicle-viewer <path> --listen # both producers feed the same broadcaster
340
+ *
341
+ * Flags: --port <n> --host <h> --buffer <n> --no-open --help
342
+ *
343
+ * Defaults bind 127.0.0.1:4242 and open the user's default browser. SIGINT
344
+ * shuts everything down cleanly. The CLI body is exposed as `run_viewer_cli`
345
+ * so the umbrella's bin shim can drive it from a bundled `dist/index.js`.
346
+ */
347
+ declare function run_viewer_cli(argv: readonly string[]): Promise<void>;
348
+ //#endregion
349
+ export { type AdversarialBuildInput, type AdversarialConfig, type AdversarialCritiqueResult, type AdversarialResult, type AssistantContentPart, type BenchCase, type BenchOptions, type BenchReport, type BenchSummary, type BracketRecord, type Candidate, type CaseResult, CheckpointStore, type ConsensusConfig, type ConsensusResult, type CostBreakdown, CustomTrajectoryEvent, DescribeOptions, type EffortLevel, EmitEvent, type Engine, type EngineConfig, type EngineDefaults, type EnsembleConfig, type EnsembleResult, type EnsembleStepConfig, type EnsembleStepResult, type FinishReason, FlowNode, FlowValue, 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, LoopConfig, LoopGuardResult, LoopResult, type Message, type ModelCallConfig, type ModelCallInput, ParsedTrajectoryEvent, type PerCaseDelta, type Pricing, type PricingTable, type ProviderConfigMap, type ProviderInit, type RegressionCompareOptions, type RegressionDelta, type RegressionReport, type ResolvedModel, type RetryFailureKind, type RetryPolicy, RunContext, STEP_KINDS, type Score, type ScoredCandidate, SpanEndEvent, SpanStartEvent, type StartViewerOptions, Step, StepKind, StepMetadata, type StepRecord, type StreamChunk, type Tool, type ToolApprovalHandler, type ToolApprovalRequest, type ToolCallRecord, type ToolExecContext, type TournamentConfig, type TournamentResult, TrajectoryEvent, TrajectoryLogger, type TrajectorySource, type UsageTotals, type UserContentPart, type ViewerHandle, aborted_error, adversarial, bench, branch, checkpoint, claude_cli_error, compose, consensus, create_engine, custom_event_schema, describe, describe_cycle_error, emit_event_schema, engine_config_error, engine_disposed_error, ensemble, ensemble_step, fallback, __json_default_export as flow_schema, forward_standard_env, improve, is_step_kind, judge_equals, judge_llm, judge_with, learn, loop, map, model_call, model_required_error, normalize_score, on_chunk_error, parallel, pipe, provider_auth_error, provider_capability_error, provider_error, provider_not_configured_error, rate_limit_error, read_baseline, regression_compare, resume_validation_error, retry, run, run_viewer_cli, schema_validation_error, scope, sequence, span_end_event_schema, span_start_event_schema, start_viewer, stash, step, suspend, suspended_error, timeout, timeout_error, tool_approval_denied_error, tool_error, tournament, trajectory_event_schema, use, write_baseline };
778
350
  //# sourceMappingURL=index.d.ts.map