@sedum-dev/core 0.1.0-alpha.6 → 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
 
@@ -1453,6 +1453,8 @@ interface Aim {
1453
1453
  readonly x: number;
1454
1454
  readonly y: number;
1455
1455
  };
1456
+ /** The control shows only while the pointer rests on it, so hover first. */
1457
+ readonly hover?: boolean;
1456
1458
  readonly box?: {
1457
1459
  readonly x: number;
1458
1460
  readonly y: number;
@@ -1473,6 +1475,18 @@ type ReadTargetResult = {
1473
1475
  } | {
1474
1476
  readonly status: "stale" | "empty" | "too_long";
1475
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
+ };
1476
1490
  type AimResult = {
1477
1491
  readonly actionable: true;
1478
1492
  readonly aim: Aim;
@@ -1505,6 +1519,8 @@ interface PageBridge {
1505
1519
  version?: PageVersion;
1506
1520
  }): CandidatePage;
1507
1521
  digest(): DigestResult;
1522
+ /** The digest's text without its size limit, for exact text checks. */
1523
+ visibleText(): DigestResult;
1508
1524
  pageVersion(): PageVersion;
1509
1525
  quiet(input: {
1510
1526
  ms: number;
@@ -1520,6 +1536,7 @@ interface PageBridge {
1520
1536
  checkAim(aim: Aim): AimResult;
1521
1537
  fillElement(target: FillTarget): Element | null;
1522
1538
  readTarget(target: FillTarget): ReadTargetResult;
1539
+ controlState(target: FillTarget): ControlStateResult;
1523
1540
  clearRefs(): void;
1524
1541
  }
1525
1542
  declare global {
@@ -1577,6 +1594,7 @@ interface SettleOptions {
1577
1594
  interface NavigationResult {
1578
1595
  readonly url: string;
1579
1596
  }
1597
+ type HistoryMove = "back" | "forward" | "reload";
1580
1598
  interface SettleResult {
1581
1599
  readonly settled: boolean;
1582
1600
  readonly elapsedMs: number;
@@ -1618,6 +1636,7 @@ interface BrowserPage {
1618
1636
  readonly context: BrowserContext;
1619
1637
  };
1620
1638
  goto(url: string, options?: NavigationOptions): Promise<NavigationResult>;
1639
+ history(move: HistoryMove, options?: NavigationOptions): Promise<NavigationResult>;
1621
1640
  settle(options?: SettleOptions): Promise<SettleResult>;
1622
1641
  text(): Promise<string>;
1623
1642
  evaluate<T>(expression: string, argument?: unknown): Promise<T>;
@@ -1739,6 +1758,9 @@ declare function clearPageRefs(page: BrowserPage): Promise<void>;
1739
1758
  declare function visualCandidates(page: BrowserPage): Promise<ReturnType<PageBridge["visualCandidates"]>>;
1740
1759
  /** Match a store entry against every current candidate; the HMAC key never crosses the page bridge. */
1741
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>;
1742
1764
 
1743
1765
  type LocatorCacheLookup = {
1744
1766
  readonly entry: CacheEntry;
@@ -1816,6 +1838,9 @@ type StepCommand = {
1816
1838
  } | {
1817
1839
  readonly op: "goto";
1818
1840
  readonly url: RuntimeUrl;
1841
+ } | {
1842
+ readonly op: "history";
1843
+ readonly move: HistoryMove;
1819
1844
  } | {
1820
1845
  readonly op: "scroll";
1821
1846
  readonly deltaY: number;
@@ -2344,6 +2369,11 @@ interface ClassificationResult {
2344
2369
  readonly calls: readonly ProviderCall[];
2345
2370
  readonly metrics: ClassificationMetrics;
2346
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;
2347
2377
  declare function canonicalSentence(sentence: string): string;
2348
2378
  declare function preflightSentence(sentence: string): ClassificationDiagnosticCode | null;
2349
2379
  declare function patternOperation(sentence: string): StepOperationKind | null;
@@ -2827,6 +2857,11 @@ interface FlowRunnerDependencies {
2827
2857
  readonly height: number;
2828
2858
  };
2829
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;
2830
2865
  readonly baseUrl?: string;
2831
2866
  readonly urlOverride?: string;
2832
2867
  readonly slowMoMs?: number;
@@ -2884,6 +2919,8 @@ declare function closeQuietly(resource: {
2884
2919
  interface SentencePresentation {
2885
2920
  readonly group?: readonly string[];
2886
2921
  readonly display?: string;
2922
+ /** A question the test branches on: judged once and never gating. */
2923
+ readonly check?: boolean;
2887
2924
  }
2888
2925
  /** @internal Execute one classified sentence and record it as one step. */
2889
2926
  declare function executeSentence(page: BrowserPage, step: ClassifiedFlowSentence, dependencies: AttemptDependencies, data: Record<string, ResolvedDataEntry>, opaqueEntries: ResolvedDataEntry[], presentation?: SentencePresentation): Promise<"continue" | "failed" | FlowRunResult>;
@@ -2930,6 +2967,8 @@ declare function scriptListingEntries(script: LoadedScriptFile): readonly {
2930
2967
  interface ScriptSentence {
2931
2968
  readonly text: string;
2932
2969
  readonly source: FlowSource;
2970
+ /** The sentence is a claim passed to `ai.holds`, not a general step. */
2971
+ readonly check?: true;
2933
2972
  }
2934
2973
  interface ScriptSentenceScan {
2935
2974
  readonly sentences: readonly ScriptSentence[];
@@ -2970,10 +3009,11 @@ type Token = {
2970
3009
  /** A small JavaScript lexer: enough to find string arguments of `ai` calls. */
2971
3010
  declare function tokenize(source: string): Token[];
2972
3011
  /**
2973
- * Find the literal sentences passed to `ai(...)`, `ai([...])`, and
2974
- * `ai.group(name, [...])`. A sentence built with `${}` or `+` is reported as
2975
- * a warning: it defeats the classification cache and cannot be checked
2976
- * 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.
2977
3017
  */
2978
3018
  declare function scanScriptSentences(source: string, file: string): ScriptSentenceScan;
2979
3019
  /**
@@ -3021,4 +3061,4 @@ interface ActionRequest {
3021
3061
  readonly description: string;
3022
3062
  }
3023
3063
 
3024
- 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 };