Repository navigation
v0.12.0
Minor Changes
-
f1c2417: The worker's flow interpreter learns four step keys, with the same semantics and refusals as the CLI's (
packages/cli/src/auth/flows.ts,interpreter.ts):when: {kind, name}runs a step only when that control is on the page, and skips it without failing when it is not;optional: trueon afill,choose,checkorpresswaits the bind bound and skips the step only when no control of that name ever appeared, and still errors on an ambiguous match;dismiss-if-shown: {control, within?, nth?}presses a control when it is on the page and skips the step otherwise, reading the page once and never waiting. Every skip is recorded as anauthStepSkippedmark carrying the phase, index, verb, name and reason.auto: trueis refused by name: it hands the screen to the CLI's built-in login loop, which the worker runs only forauth.loginBlock, so a flow cannot ask for it.when:is refused oncaptureanddismiss-if-shown,optional:on steps that cannot bind a control, and the login's lastexpect:may not carrywhen:, because that step always runs.