Skip to content

Passwordless register (--passwordless, non-TTY default)#4

Merged
facundofarias merged 1 commit into
mainfrom
feat/passwordless-register
Jul 9, 2026
Merged

Passwordless register (--passwordless, non-TTY default)#4
facundofarias merged 1 commit into
mainfrom
feat/passwordless-register

Conversation

@facundofarias

Copy link
Copy Markdown
Member

Matches the API's passwordless (agent) signup (pixelvault-dev/pixelvault#83).

register's password is now optional. Precedence: --password > --passwordless > interactive prompt (blank = passwordless) > headless default (passwordless). A non-TTY run never blocks on a hidden password prompt; missing --email in a headless run is a clear error instead of a hang. The request omits the password field for passwordless signup, handles the new password_set field, and prints guidance to claim dashboard login via the web Forgot-password flow.

Depends on the API change being deployed before --passwordless works against production.

Verification: typecheck + build pass; 4 new mocked tests for the body-building logic (22 total pass).

🤖 Generated with Claude Code

register's password is now optional, matching the API's passwordless
(agent) signup. Precedence: --password > --passwordless > interactive
prompt (blank = passwordless) > headless default (passwordless). A
non-TTY run never blocks on a hidden password prompt, and missing
--email in a headless run is a clear error instead of a hang.

The request omits the password field entirely for passwordless signup,
handles the new password_set response field, and prints guidance to
claim dashboard login via the web Forgot-password flow.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@facundofarias
facundofarias merged commit 84e139e into main Jul 9, 2026
2 checks passed
@facundofarias
facundofarias deleted the feat/passwordless-register branch July 9, 2026 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant