Expand description
Per-provider stdout/stderr pattern matchers for the pre-launch
OAuth flow. The auth login subprocess of each CLI provider
emits an OAuth URL (or device code) to stdout/stderr in a slightly
different shape. This module knows how to extract them.
See docs/specs/SPEC_PRE_LAUNCH_OAUTH_FLOW_2026_05_14.md ยง4.
Enumsยง
- Auth
Pattern Match - What a pattern matcher extracted from a single line of provider output.
Functionsยง
- extract_
device_ ๐code - extract_
email ๐ - extract_
first_ ๐https_ url - is_
api_ ๐key_ provider - looks_
like_ ๐oauth_ url - match_
claude_ ๐url - match_
codex_ ๐url - match_
copilot_ ๐device_ code - match_
gemini_ ๐url - match_
line - Try every pattern for the given provider against a single line of
captured output. Returns the FIRST match found โ patterns are
listed by descending specificity in
patterns_for(provider_id). - match_
logged_ ๐in_ as - patterns_
for ๐
Type Aliasesยง
- Line
Matcher ๐