Repository navigation
fix: CLI device login sends the owner the link, one form per login - #291
Merged
Merged
Conversation
`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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task 2526.
POST /api/runtimes/<rt>/login(CLIaxe 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.axe runtimes add --help, docs).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