Skip to content

fix: CLI device login sends the owner the link, one form per login - #291

Merged
popodidi merged 1 commit into
mainfrom
axe/task-2526--work
Dec 2, 2026
Merged

popodidi merged 1 commit into
mainfrom
axe/task-2526--work

Conversation

@popodidi

@popodidi popodidi commented Dec 2, 2026

Copy link
Copy Markdown
Owner

Task 2526.

  • POST /api/runtimes/<rt>/login (CLI axe runtimes login --method device --bot X): bot X sends the owner the sign-in link and instructions after the code form; the CLI output starts with who sent it (or why it could not be sent). The Telegram path is unchanged (the text is already on the owner's screen).
  • Forms::supersede: a new form for a runtime's login (same runtime and provider) closes an open one from an earlier attempt. In the same bot chat it closes silently and the new keyboard holds one button; a prompt in another bot's chat is closed by the server as for any finished form.
  • Harness order: Claude, Codex, Antigravity, OpenCode, Pi (Telegram pickers, axe runtimes add --help, docs).
  • docs/user: runtimes-from-telegram guide, CLI help text.

Tests: form::tests::a_new_login_form_replaces_the_open_one_for_that_runtime, telegram::a_cli_device_login_sends_the_owner_the_link_and_one_form (link to the owner chat + one form; a second attempt replaces the first form).

🤖 Generated with Claude Code

`axe runtimes login --method device --bot X` now has X send the owner the
sign-in link and instructions (the Telegram /runtimes path already showed
them on the owner's screen); before, only the CLI caller got the link.
A new runtime login form replaces one an earlier attempt left open
(`Forms::supersede`), so the owner never holds two. Runtimes are listed
Claude, Codex, Antigravity, OpenCode, Pi.

Task 2526.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@popodidi
popodidi merged commit 99c6c40 into main Dec 2, 2026
3 checks passed
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