You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(auth): add opt-in local macOS OTP provider #236
On a configured local macOS agent, a Partiful reauthentication can require switching into a browser or manually relaying an SMS code even though the authenticated local Messages data is already available. The current CLI supports only private-terminal prompts.
Goal
Offer an explicit, opt-in local macOS OTP source for Partiful CLI reauthentication while preserving the prompt-based flow as the default for all users.
Suggestions
Add a macOS-only local Messages / imsg OTP source behind an explicit auth option.
Keep manual phone and code prompts as the default and fallback path.
Surface prerequisite and timeout failures clearly, with a direct command to retry using manual prompts.
Restrict selection to a fresh Partiful verification code for the active request.
Do not print, log, persist, or return OTP values.
Keep provider boundaries testable with fixtures, not real Messages data or a live Partiful auth request.
Consider separately managed local phone-number retrieval only if unattended local reauthentication is in scope.
Acceptance criteria
Manual auth works unchanged without imsg or macOS permissions.
Opt-in local OTP retrieval has deterministic success, timeout, unavailable-prerequisite, and rejected-code behavior.
OTP values never appear in JSON output, stderr, logs, tests, or persisted configuration.
Automated tests do not access live SMS, browser data, credentials, or remote authentication endpoints.
Non-goals
Making browser login authenticate the CLI.
Generic --code, arbitrary command execution, or environment-variable OTP injection.
Automatic resend or repeated verification attempts.
Triage bot: out of scope as written. Auth login is human-attended, and reading local Messages data reaches outside Partiful. Recommending close as not planned. Leaving open for Kaleb to confirm.
Activity
KalebCole commentedon Nov 14, 2026
Triage bot: out of scope as written. Auth login is human-attended, and reading local Messages data reaches outside Partiful. Recommending close as not planned. Leaving open for Kaleb to confirm.