@sedum-dev/core 0.1.0-alpha.5 → 0.1.0-alpha.7

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/README.md CHANGED
@@ -24,7 +24,7 @@ The loader reports `format` coverage and leaves `steps: not_checked`. `resolveFl
24
24
 
25
25
  Build `@sedum-dev/core` before launching the Playwright driver. The package ships `./page-script.js` as a browser-only IIFE; `PlaywrightBrowserDriver` installs it as a context init script before pages are created. A missing asset produces `script-missing`; a missing or incompatible bridge produces `PageScriptError`.
26
26
 
27
- The versioned `window.__sedum` protocol exposes `collect`, `digest`, `pageVersion`, `quiet`, `findBySignals`, `clickTarget`, `checkAim`, and `clearRefs`. Use the typed functions exported from `@sedum-dev/core` rather than calling the global directly. A collection has a document/route/revision version, total count, and a continuation offset. An incomplete collection is not evidence of absence or a unique cache match. `findBySignals` rescans all eligible candidates; it does not pass an HMAC key into the page. Every rescan invalidates earlier refs. `quiet` reports an observation interval, not final page completion.
27
+ The versioned `window.__sedum` protocol exposes `collect`, `digest`, `visibleText`, `pageVersion`, `quiet`, `findBySignals`, `clickTarget`, `readTarget`, `controlState`, `checkAim`, and `clearRefs`. Use the typed functions exported from `@sedum-dev/core` rather than calling the global directly. A collection has a document/route/revision version, total count, and a continuation offset. An incomplete collection is not evidence of absence or a unique cache match. `findBySignals` rescans all eligible candidates; it does not pass an HMAC key into the page. Every rescan invalidates earlier refs. `quiet` reports an observation interval, not final page completion. `visibleText` uses the same readable-text projection as `digest` without its provider size limit; deterministic exact-text checks consume it locally.
28
28
 
29
29
  `projectCandidates` and `projectDigest` are the provider boundary: they only admit the approved fields and reject over-limit or incomplete content. The provider adapter must enforce the 512-code-point sentence/claim limits and the 64-KiB UTF-8 serialized request limit immediately before the SDK call. Allowed visible text, including secret-looking text, is sent unchanged; do not describe this projection as redaction. Never include internal candidate signals, page versions/routes, selectors, editable values, or raw HTML in a provider request.
30
30
 
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { Page, BrowserContext } from 'playwright-core';
3
- import { F as FlowSource, D as DeclaredDataValue, M as ModuleBinding, a as FlowToken, b as FlowScalar, S as SentenceStep, c as FlowDiagnostic, d as FlowDefinition, P as ParsedFlowResult, e as ParsedModuleResult, V as ValidationInput, f as FlowValidationResult, g as ModuleStep, R as ResolvedModuleCall, h as FullValidationCoverage, T as TestBody, i as ScriptRegistration, A as AiValues } from './script-api-D3if59MQ.js';
4
- export { j as Ai, k as AiValue, l as FlowStep, m as FormatCoverage, n as ModuleDefinition, o as Parser, p as SecretValue, q as TestContext, r as TestInfo, s as TestOptions, t as formatFlowDiagnostic, u as isFullyValidated, v as isSecret, w as parseFrame, x as pathKey, y as revealSecret, z as samePath, B as scriptRegistry, C as secret, E as sourceInFile, G as test } from './script-api-D3if59MQ.js';
3
+ import { F as FlowSource, D as DeclaredDataValue, M as ModuleBinding, a as FlowToken, b as FlowScalar, S as SentenceStep, c as FlowDiagnostic, d as FlowDefinition, P as ParsedFlowResult, e as ParsedModuleResult, V as ValidationInput, f as FlowValidationResult, g as ModuleStep, R as ResolvedModuleCall, h as FullValidationCoverage, T as TestBody, i as ScriptRegistration, A as AiValues } from './script-api-B8MYTfrL.js';
4
+ export { j as Ai, k as AiValue, l as FlowStep, m as FormatCoverage, n as ModuleDefinition, o as Parser, p as SecretValue, q as TestContext, r as TestInfo, s as TestOptions, t as formatFlowDiagnostic, u as isFullyValidated, v as isSecret, w as parseFrame, x as pathKey, y as revealSecret, z as samePath, B as scriptRegistry, C as secret, E as sourceInFile, G as test } from './script-api-B8MYTfrL.js';
5
5
  import { inspect } from 'node:util';
6
6
  import 'playwright/test';
7
7
 
@@ -81,6 +81,7 @@ declare const ResultLocatorSchema: z.ZodObject<{
81
81
  abstained: "abstained";
82
82
  }>>;
83
83
  reason: z.ZodOptional<z.ZodString>;
84
+ abstentionReason: z.ZodOptional<z.ZodString>;
84
85
  elapsedMs: z.ZodNumber;
85
86
  failure: z.ZodOptional<z.ZodEnum<{
86
87
  unknown: "unknown";
@@ -92,6 +93,7 @@ declare const ResultLocatorSchema: z.ZodObject<{
92
93
  invalid_json: "invalid_json";
93
94
  invalid_selection: "invalid_selection";
94
95
  truncated_response: "truncated_response";
96
+ stale_page: "stale_page";
95
97
  }>>;
96
98
  httpStatus: z.ZodOptional<z.ZodNumber>;
97
99
  }, z.core.$strict>>;
@@ -182,6 +184,7 @@ declare const ResultStepSchema: z.ZodObject<{
182
184
  abstained: "abstained";
183
185
  }>>;
184
186
  reason: z.ZodOptional<z.ZodString>;
187
+ abstentionReason: z.ZodOptional<z.ZodString>;
185
188
  elapsedMs: z.ZodNumber;
186
189
  failure: z.ZodOptional<z.ZodEnum<{
187
190
  unknown: "unknown";
@@ -193,6 +196,7 @@ declare const ResultStepSchema: z.ZodObject<{
193
196
  invalid_json: "invalid_json";
194
197
  invalid_selection: "invalid_selection";
195
198
  truncated_response: "truncated_response";
199
+ stale_page: "stale_page";
196
200
  }>>;
197
201
  httpStatus: z.ZodOptional<z.ZodNumber>;
198
202
  }, z.core.$strict>>;
@@ -408,6 +412,7 @@ declare const ResultAttemptSchema: z.ZodObject<{
408
412
  abstained: "abstained";
409
413
  }>>;
410
414
  reason: z.ZodOptional<z.ZodString>;
415
+ abstentionReason: z.ZodOptional<z.ZodString>;
411
416
  elapsedMs: z.ZodNumber;
412
417
  failure: z.ZodOptional<z.ZodEnum<{
413
418
  unknown: "unknown";
@@ -419,6 +424,7 @@ declare const ResultAttemptSchema: z.ZodObject<{
419
424
  invalid_json: "invalid_json";
420
425
  invalid_selection: "invalid_selection";
421
426
  truncated_response: "truncated_response";
427
+ stale_page: "stale_page";
422
428
  }>>;
423
429
  httpStatus: z.ZodOptional<z.ZodNumber>;
424
430
  }, z.core.$strict>>;
@@ -684,6 +690,7 @@ declare const ResultTestSchema: z.ZodObject<{
684
690
  abstained: "abstained";
685
691
  }>>;
686
692
  reason: z.ZodOptional<z.ZodString>;
693
+ abstentionReason: z.ZodOptional<z.ZodString>;
687
694
  elapsedMs: z.ZodNumber;
688
695
  failure: z.ZodOptional<z.ZodEnum<{
689
696
  unknown: "unknown";
@@ -695,6 +702,7 @@ declare const ResultTestSchema: z.ZodObject<{
695
702
  invalid_json: "invalid_json";
696
703
  invalid_selection: "invalid_selection";
697
704
  truncated_response: "truncated_response";
705
+ stale_page: "stale_page";
698
706
  }>>;
699
707
  httpStatus: z.ZodOptional<z.ZodNumber>;
700
708
  }, z.core.$strict>>;
@@ -1077,6 +1085,7 @@ declare const RunResultSchema: z.ZodObject<{
1077
1085
  abstained: "abstained";
1078
1086
  }>>;
1079
1087
  reason: z.ZodOptional<z.ZodString>;
1088
+ abstentionReason: z.ZodOptional<z.ZodString>;
1080
1089
  elapsedMs: z.ZodNumber;
1081
1090
  failure: z.ZodOptional<z.ZodEnum<{
1082
1091
  unknown: "unknown";
@@ -1088,6 +1097,7 @@ declare const RunResultSchema: z.ZodObject<{
1088
1097
  invalid_json: "invalid_json";
1089
1098
  invalid_selection: "invalid_selection";
1090
1099
  truncated_response: "truncated_response";
1100
+ stale_page: "stale_page";
1091
1101
  }>>;
1092
1102
  httpStatus: z.ZodOptional<z.ZodNumber>;
1093
1103
  }, z.core.$strict>>;
@@ -1443,6 +1453,8 @@ interface Aim {
1443
1453
  readonly x: number;
1444
1454
  readonly y: number;
1445
1455
  };
1456
+ /** The control shows only while the pointer rests on it, so hover first. */
1457
+ readonly hover?: boolean;
1446
1458
  readonly box?: {
1447
1459
  readonly x: number;
1448
1460
  readonly y: number;
@@ -1463,6 +1475,18 @@ type ReadTargetResult = {
1463
1475
  } | {
1464
1476
  readonly status: "stale" | "empty" | "too_long";
1465
1477
  };
1478
+ /** A located control's state, for claims a person checks by looking at it. */
1479
+ type ControlStateResult = {
1480
+ readonly status: "ok";
1481
+ readonly disabled: boolean;
1482
+ /** Null when the control cannot be checked. */
1483
+ readonly checked: boolean | null;
1484
+ readonly focused: boolean;
1485
+ /** A text field's value; null for other controls and password fields. */
1486
+ readonly value: string | null;
1487
+ } | {
1488
+ readonly status: "stale";
1489
+ };
1466
1490
  type AimResult = {
1467
1491
  readonly actionable: true;
1468
1492
  readonly aim: Aim;
@@ -1495,6 +1519,8 @@ interface PageBridge {
1495
1519
  version?: PageVersion;
1496
1520
  }): CandidatePage;
1497
1521
  digest(): DigestResult;
1522
+ /** The digest's text without its size limit, for exact text checks. */
1523
+ visibleText(): DigestResult;
1498
1524
  pageVersion(): PageVersion;
1499
1525
  quiet(input: {
1500
1526
  ms: number;
@@ -1510,6 +1536,7 @@ interface PageBridge {
1510
1536
  checkAim(aim: Aim): AimResult;
1511
1537
  fillElement(target: FillTarget): Element | null;
1512
1538
  readTarget(target: FillTarget): ReadTargetResult;
1539
+ controlState(target: FillTarget): ControlStateResult;
1513
1540
  clearRefs(): void;
1514
1541
  }
1515
1542
  declare global {
@@ -1567,6 +1594,7 @@ interface SettleOptions {
1567
1594
  interface NavigationResult {
1568
1595
  readonly url: string;
1569
1596
  }
1597
+ type HistoryMove = "back" | "forward" | "reload";
1570
1598
  interface SettleResult {
1571
1599
  readonly settled: boolean;
1572
1600
  readonly elapsedMs: number;
@@ -1608,6 +1636,7 @@ interface BrowserPage {
1608
1636
  readonly context: BrowserContext;
1609
1637
  };
1610
1638
  goto(url: string, options?: NavigationOptions): Promise<NavigationResult>;
1639
+ history(move: HistoryMove, options?: NavigationOptions): Promise<NavigationResult>;
1611
1640
  settle(options?: SettleOptions): Promise<SettleResult>;
1612
1641
  text(): Promise<string>;
1613
1642
  evaluate<T>(expression: string, argument?: unknown): Promise<T>;
@@ -1729,6 +1758,9 @@ declare function clearPageRefs(page: BrowserPage): Promise<void>;
1729
1758
  declare function visualCandidates(page: BrowserPage): Promise<ReturnType<PageBridge["visualCandidates"]>>;
1730
1759
  /** Match a store entry against every current candidate; the HMAC key never crosses the page bridge. */
1731
1760
  declare function matchLiveEntry(page: BrowserPage, entry: CacheEntry | undefined, key: Uint8Array, operation: Operation, sentence: string, runtimeDependent?: boolean): Promise<MatchResult>;
1761
+ declare function controlState(page: BrowserPage, target: FillTarget): Promise<ControlStateResult>;
1762
+ /** Visible page text with no size limit; null when it cannot be read. */
1763
+ declare function visibleText(page: BrowserPage): Promise<string | null>;
1732
1764
 
1733
1765
  type LocatorCacheLookup = {
1734
1766
  readonly entry: CacheEntry;
@@ -1806,6 +1838,9 @@ type StepCommand = {
1806
1838
  } | {
1807
1839
  readonly op: "goto";
1808
1840
  readonly url: RuntimeUrl;
1841
+ } | {
1842
+ readonly op: "history";
1843
+ readonly move: HistoryMove;
1809
1844
  } | {
1810
1845
  readonly op: "scroll";
1811
1846
  readonly deltaY: number;
@@ -2045,8 +2080,9 @@ interface LocatorDiagnostic {
2045
2080
  readonly vision?: {
2046
2081
  readonly outcome?: "selected" | "abstained" | "failed";
2047
2082
  readonly reason?: string;
2083
+ readonly abstentionReason?: string;
2048
2084
  readonly elapsedMs: number;
2049
- readonly failure?: VisionFailure | "unknown";
2085
+ readonly failure?: VisionFailure | "unknown" | "stale_page";
2050
2086
  readonly httpStatus?: number;
2051
2087
  };
2052
2088
  readonly candidateCount: number;
@@ -2333,6 +2369,11 @@ interface ClassificationResult {
2333
2369
  readonly calls: readonly ProviderCall[];
2334
2370
  readonly metrics: ClassificationMetrics;
2335
2371
  }
2372
+ /**
2373
+ * `wait until the reply is shown`, or `wait up to 90 seconds until …`: a
2374
+ * verify that judges the claim again as the page changes, until it holds.
2375
+ */
2376
+ declare const WAIT_UNTIL: RegExp;
2336
2377
  declare function canonicalSentence(sentence: string): string;
2337
2378
  declare function preflightSentence(sentence: string): ClassificationDiagnosticCode | null;
2338
2379
  declare function patternOperation(sentence: string): StepOperationKind | null;
@@ -2816,6 +2857,11 @@ interface FlowRunnerDependencies {
2816
2857
  readonly height: number;
2817
2858
  };
2818
2859
  readonly verifyPolicy?: VerifyPolicy;
2860
+ /**
2861
+ * How long a failing verify keeps judging the page while it changes, like
2862
+ * Playwright's expect. Omitted or 0 judges once.
2863
+ */
2864
+ readonly verifyGraceMs?: number;
2819
2865
  readonly baseUrl?: string;
2820
2866
  readonly urlOverride?: string;
2821
2867
  readonly slowMoMs?: number;
@@ -2873,6 +2919,8 @@ declare function closeQuietly(resource: {
2873
2919
  interface SentencePresentation {
2874
2920
  readonly group?: readonly string[];
2875
2921
  readonly display?: string;
2922
+ /** A question the test branches on: judged once and never gating. */
2923
+ readonly check?: boolean;
2876
2924
  }
2877
2925
  /** @internal Execute one classified sentence and record it as one step. */
2878
2926
  declare function executeSentence(page: BrowserPage, step: ClassifiedFlowSentence, dependencies: AttemptDependencies, data: Record<string, ResolvedDataEntry>, opaqueEntries: ResolvedDataEntry[], presentation?: SentencePresentation): Promise<"continue" | "failed" | FlowRunResult>;
@@ -2919,6 +2967,8 @@ declare function scriptListingEntries(script: LoadedScriptFile): readonly {
2919
2967
  interface ScriptSentence {
2920
2968
  readonly text: string;
2921
2969
  readonly source: FlowSource;
2970
+ /** The sentence is a claim passed to `ai.holds`, not a general step. */
2971
+ readonly check?: true;
2922
2972
  }
2923
2973
  interface ScriptSentenceScan {
2924
2974
  readonly sentences: readonly ScriptSentence[];
@@ -2959,10 +3009,11 @@ type Token = {
2959
3009
  /** A small JavaScript lexer: enough to find string arguments of `ai` calls. */
2960
3010
  declare function tokenize(source: string): Token[];
2961
3011
  /**
2962
- * Find the literal sentences passed to `ai(...)`, `ai([...])`, and
2963
- * `ai.group(name, [...])`. A sentence built with `${}` or `+` is reported as
2964
- * a warning: it defeats the classification cache and cannot be checked
2965
- * before a run. `ai.extract` takes a description, not a step, so it is skipped.
3012
+ * Find the literal sentences passed to `ai(...)`, `ai([...])`,
3013
+ * `ai.group(name, [...])`, and `ai.holds(...)`. A sentence built with `${}` or
3014
+ * `+` is reported as a warning: it defeats the classification cache and cannot
3015
+ * be checked before a run. `ai.extract` takes a description, not a step, so it
3016
+ * is skipped.
2966
3017
  */
2967
3018
  declare function scanScriptSentences(source: string, file: string): ScriptSentenceScan;
2968
3019
  /**
@@ -3010,4 +3061,4 @@ interface ActionRequest {
3010
3061
  readonly description: string;
3011
3062
  }
3012
3063
 
3013
- export { ACCEPTANCE_POLICY_VERSION, type ActionRequest, AiValues, type Aim, type AimResult, AssertionEngineError, type AssertionEngineErrorCode, type AssertionOptions, type AttemptDependencies, type AttemptReport, type BrowserContextOptions, type BrowserContextSession, type BrowserDriver, BrowserDriverError, type BrowserDriverErrorCode, type BrowserInstallResult, type BrowserKind, type BrowserLaunchOptions, type BrowserPage, type BrowserSession, CACHE_FORMAT, CANDIDATE_LIMIT, CLASSIFICATION_PROMPT_VERSION, type CacheEntry, type CacheLookup, type CacheMissReason, type CacheStore, type CachedClassification, type Candidate, type CandidatePage, ClassificationBatchError, type ClassificationCache, type ClassificationDiagnostic, type ClassificationDiagnosticCode, type ClassificationInput, type ClassificationMetrics, type ClassificationProvider, type ClassificationResult, type ClassifiedFlowDefinition, type ClassifiedFlowSentence, type ClassifiedFlowStep, type ClassifiedModuleStep, type ClassifiedStep, type ClassifyFlowOptions, type ClickOptions, type ClickResult, DEFAULT_BAND, DEFAULT_CONTRADICTION_CUTOFF, DEFAULT_MIN_P, DEFAULT_VISION_MODEL, DIGEST_LIMIT, DataResolutionError, DeclaredDataValue, type DigestResult, type DiscoveryProblem, type DiscoveryProblemCode, FileClassificationCache, type FillResult, type FillTarget, type FlowClassificationDiagnostic, type FlowClassificationResult, FlowDefinition, FlowDiagnostic, type FlowRunResult, type FlowRunnerDependencies, FlowScalar, FlowSource, FlowToken, FlowValidationResult, FullValidationCoverage, type GoalAction, type GoalChoice, type GoalDecision, type GoalOptions, type GoalPlanner, type GoalResult, type GoalState, type HelperCall, type ImportBinding, type InvalidListEntry, type ItemVerdict, type Judge, type JudgeDecision, type JudgePageDigest, type LineRange, type ListedDiagnostic, type ListedTest, type LoadedScriptFile, LocatorCacheConflict, type LocatorCacheDiagnostic, type LocatorCacheLookup, type LocatorCacheSeed, type LocatorDiagnostic, type LocatorFailure, type LocatorOptionDiagnostic, type LocatorOptions, type LocatorResult, MATCHER_VERSION, MIN_MODEL_MARGIN, MIN_MODEL_PROBABILITY, MODEL_CHOICES, type MatchResult, type MeasureResult, type ModelChoice, type ModelClassification, ModuleBinding, ModuleBindingResolutionError, ModuleStep, NAME_LIMIT, NOT_CHECKED_OFFLINE_CODE, type NavigationOptions, type NavigationResult, NoopCacheStore, NoopClassificationCache, OPERATIONS, OPERATION_SET_VERSION, OpenRouterVisionResolver, type Operation, PAGE_PROTOCOL, PEER_LIMIT, type PageBridge, PageScriptError, type PageVersion, type ParseFlowOptions, ParsedFlowResult, ParsedModuleResult, PlaywrightBrowserDriver, type ProjectFileValidation, type ProjectFiles, type ProjectValidationCounts, type ProjectValidationOptions, type ProjectValidationResult, type ProviderCall, type ProviderCallOptions, ProviderError, type ProviderErrorCode, type ProviderRate, type ProviderTokenUsage, type ReadTargetResult, type RejectionOwner, RejectionRouter, type RepeatedMemberPolicy, type ReportPrivacy, type ResolveFlowModulesOptions, type ResolvedDataEntry, type ResolvedFlowResult, ResolvedModuleCall, ResolvedStepTarget, type Resolver, type ResolverCandidate, type ResolverCandidates, type ResolverDecision, type ResolverItem, type ResolverOption, type ResultAttempt, ResultAttemptSchema, type ResultCall, ResultCallSchema, ResultErrorSchema, type ResultExecution, ResultExecutionSchema, type ResultFrame, ResultFrameSchema, ResultJudgementSchema, ResultLocatorSchema, ResultObservationSchema, type ResultPage, ResultPageSchema, type ResultProblem, ResultProblemSchema, type ResultSink, ResultSourceSchema, type ResultStep, ResultStepSchema, type ResultTest, ResultTestSchema, ResultTotalsSchema, ReusableBrowserDriver, RunRecorder, type RunResult, RunResultSchema, type RunningTest, RuntimeUrl, RuntimeValue, SCRIPT_TEST_SUFFIX, ScriptRegistration, type ScriptSentence, type ScriptSentenceScan, type ScriptTest, ScriptUsageError, type SentenceClassification, type SentencePresentation, SentenceStep, type SettleOptions, type SettleResult, type StepCommand, StepExecutionError, type StepExecutionOptions, type StepExecutionResult, type StepFailureCode, type StepFailurePhase, type StepOperation, type StepOperationKind, type StepOutcome, type StepSource, type StepTokenization, type StrayReason, TEST_SUFFIXES, TestBody, type TestListing, TestRecording, type TestStartInput, type UnattributedRejection, VISION_PROMPT, ValidationInput, type VerifyDecision, type VerifyFlag, type VerifyOptions, type VerifyPolicy, type VerifyResult, type VisionFailure, type VisionKeyProbe, type VisionObservation, VisionRequestError, type VisionResolver, attributeRejection, callExtent, canonicalSentence, captureVisionObservation, checkRegistrations, classificationKey, classifyParsedFlow, classifySentenceSteps, classifySteps, clearPageRefs, clickTarget, closeQuietly, codePoints, collectCandidates, compareDiagnostics, dedupeDiagnostics, describeRejection, discoverFlowFiles, discoverProjectFiles, displayPath, evaluateModelAnswer, evaluateVerifyScores, executeSentence, executeStep, findBrowserExecutable, findIdentityCollisions, firstDiagnostic, goalChoiceAccepted, goalOperations, inlineValues, installChromium, isFlowScalar, isRunWideProviderError, isSafeRole, isScriptTestFile, isWeakPeer, keyedDigest, listTests, liveCandidates, loadFlowFile, loadListingEntries, loadScriptFile, matchEntry, matchLiveEntry, measure, navigationWhy, normalizeSignal, opaqueMatches, pageDigest, pageKey, pageVersion, parseDataTemplate, parseFlow, parseModule, patternOperation, preflightSentence, probeOpenRouterKey, projectCandidates, projectDigest, quietPage, readTarget, redactOpaqueText, reportPage, resolveData, resolveEntryUrl, resolveFlowModules, resolveModuleBindings, resolveTarget, resolveTypeOperand, resultCall, resultTotals, runFlow, runGoal, runResultJsonSchema, runScriptTest, runtimeFailure, safeSource, safeText, safeUrl, sameVisualVersion, scanImportBindings, scanLocalImports, scanScriptSentences, scriptListingEntries, stageEntry, tokenize, tokenizeStep, unknownCostCall, unsupported, validateFlows, validateOperand, validateProject, validateRunResult, validateTypeOperand, valueEntries, verify, visualCandidates, walkSuiteFiles };
3064
+ export { ACCEPTANCE_POLICY_VERSION, type ActionRequest, AiValues, type Aim, type AimResult, AssertionEngineError, type AssertionEngineErrorCode, type AssertionOptions, type AttemptDependencies, type AttemptReport, type BrowserContextOptions, type BrowserContextSession, type BrowserDriver, BrowserDriverError, type BrowserDriverErrorCode, type BrowserInstallResult, type BrowserKind, type BrowserLaunchOptions, type BrowserPage, type BrowserSession, CACHE_FORMAT, CANDIDATE_LIMIT, CLASSIFICATION_PROMPT_VERSION, type CacheEntry, type CacheLookup, type CacheMissReason, type CacheStore, type CachedClassification, type Candidate, type CandidatePage, ClassificationBatchError, type ClassificationCache, type ClassificationDiagnostic, type ClassificationDiagnosticCode, type ClassificationInput, type ClassificationMetrics, type ClassificationProvider, type ClassificationResult, type ClassifiedFlowDefinition, type ClassifiedFlowSentence, type ClassifiedFlowStep, type ClassifiedModuleStep, type ClassifiedStep, type ClassifyFlowOptions, type ClickOptions, type ClickResult, type ControlStateResult, DEFAULT_BAND, DEFAULT_CONTRADICTION_CUTOFF, DEFAULT_MIN_P, DEFAULT_VISION_MODEL, DIGEST_LIMIT, DataResolutionError, DeclaredDataValue, type DigestResult, type DiscoveryProblem, type DiscoveryProblemCode, FileClassificationCache, type FillResult, type FillTarget, type FlowClassificationDiagnostic, type FlowClassificationResult, FlowDefinition, FlowDiagnostic, type FlowRunResult, type FlowRunnerDependencies, FlowScalar, FlowSource, FlowToken, FlowValidationResult, FullValidationCoverage, type GoalAction, type GoalChoice, type GoalDecision, type GoalOptions, type GoalPlanner, type GoalResult, type GoalState, type HelperCall, type HistoryMove, type ImportBinding, type InvalidListEntry, type ItemVerdict, type Judge, type JudgeDecision, type JudgePageDigest, type LineRange, type ListedDiagnostic, type ListedTest, type LoadedScriptFile, LocatorCacheConflict, type LocatorCacheDiagnostic, type LocatorCacheLookup, type LocatorCacheSeed, type LocatorDiagnostic, type LocatorFailure, type LocatorOptionDiagnostic, type LocatorOptions, type LocatorResult, MATCHER_VERSION, MIN_MODEL_MARGIN, MIN_MODEL_PROBABILITY, MODEL_CHOICES, type MatchResult, type MeasureResult, type ModelChoice, type ModelClassification, ModuleBinding, ModuleBindingResolutionError, ModuleStep, NAME_LIMIT, NOT_CHECKED_OFFLINE_CODE, type NavigationOptions, type NavigationResult, NoopCacheStore, NoopClassificationCache, OPERATIONS, OPERATION_SET_VERSION, OpenRouterVisionResolver, type Operation, PAGE_PROTOCOL, PEER_LIMIT, type PageBridge, PageScriptError, type PageVersion, type ParseFlowOptions, ParsedFlowResult, ParsedModuleResult, PlaywrightBrowserDriver, type ProjectFileValidation, type ProjectFiles, type ProjectValidationCounts, type ProjectValidationOptions, type ProjectValidationResult, type ProviderCall, type ProviderCallOptions, ProviderError, type ProviderErrorCode, type ProviderRate, type ProviderTokenUsage, type ReadTargetResult, type RejectionOwner, RejectionRouter, type RepeatedMemberPolicy, type ReportPrivacy, type ResolveFlowModulesOptions, type ResolvedDataEntry, type ResolvedFlowResult, ResolvedModuleCall, ResolvedStepTarget, type Resolver, type ResolverCandidate, type ResolverCandidates, type ResolverDecision, type ResolverItem, type ResolverOption, type ResultAttempt, ResultAttemptSchema, type ResultCall, ResultCallSchema, ResultErrorSchema, type ResultExecution, ResultExecutionSchema, type ResultFrame, ResultFrameSchema, ResultJudgementSchema, ResultLocatorSchema, ResultObservationSchema, type ResultPage, ResultPageSchema, type ResultProblem, ResultProblemSchema, type ResultSink, ResultSourceSchema, type ResultStep, ResultStepSchema, type ResultTest, ResultTestSchema, ResultTotalsSchema, ReusableBrowserDriver, RunRecorder, type RunResult, RunResultSchema, type RunningTest, RuntimeUrl, RuntimeValue, SCRIPT_TEST_SUFFIX, ScriptRegistration, type ScriptSentence, type ScriptSentenceScan, type ScriptTest, ScriptUsageError, type SentenceClassification, type SentencePresentation, SentenceStep, type SettleOptions, type SettleResult, type StepCommand, StepExecutionError, type StepExecutionOptions, type StepExecutionResult, type StepFailureCode, type StepFailurePhase, type StepOperation, type StepOperationKind, type StepOutcome, type StepSource, type StepTokenization, type StrayReason, TEST_SUFFIXES, TestBody, type TestListing, TestRecording, type TestStartInput, type UnattributedRejection, VISION_PROMPT, ValidationInput, type VerifyDecision, type VerifyFlag, type VerifyOptions, type VerifyPolicy, type VerifyResult, type VisionFailure, type VisionKeyProbe, type VisionObservation, VisionRequestError, type VisionResolver, WAIT_UNTIL, attributeRejection, callExtent, canonicalSentence, captureVisionObservation, checkRegistrations, classificationKey, classifyParsedFlow, classifySentenceSteps, classifySteps, clearPageRefs, clickTarget, closeQuietly, codePoints, collectCandidates, compareDiagnostics, controlState, dedupeDiagnostics, describeRejection, discoverFlowFiles, discoverProjectFiles, displayPath, evaluateModelAnswer, evaluateVerifyScores, executeSentence, executeStep, findBrowserExecutable, findIdentityCollisions, firstDiagnostic, goalChoiceAccepted, goalOperations, inlineValues, installChromium, isFlowScalar, isRunWideProviderError, isSafeRole, isScriptTestFile, isWeakPeer, keyedDigest, listTests, liveCandidates, loadFlowFile, loadListingEntries, loadScriptFile, matchEntry, matchLiveEntry, measure, navigationWhy, normalizeSignal, opaqueMatches, pageDigest, pageKey, pageVersion, parseDataTemplate, parseFlow, parseModule, patternOperation, preflightSentence, probeOpenRouterKey, projectCandidates, projectDigest, quietPage, readTarget, redactOpaqueText, reportPage, resolveData, resolveEntryUrl, resolveFlowModules, resolveModuleBindings, resolveTarget, resolveTypeOperand, resultCall, resultTotals, runFlow, runGoal, runResultJsonSchema, runScriptTest, runtimeFailure, safeSource, safeText, safeUrl, sameVisualVersion, scanImportBindings, scanLocalImports, scanScriptSentences, scriptListingEntries, stageEntry, tokenize, tokenizeStep, unknownCostCall, unsupported, validateFlows, validateOperand, validateProject, validateRunResult, validateTypeOperand, valueEntries, verify, visibleText, visualCandidates, walkSuiteFiles };