Skip to content

feat(tui): add /login and /auth as aliases for /connect - #65265

Merged
rekram1-node merged 1 commit into
devfrom
feat/tui-connect-aliases
Nov 20, 2026
Merged

rekram1-node merged 1 commit into
devfrom
feat/tui-connect-aliases

Conversation

@opencode-agent

Copy link
Copy Markdown
Contributor

Issue for this PR

Closes #

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

People reach for /login or /auth to connect a provider and get nothing, because the command is /connect. This adds both as slash aliases on the existing provider.connect command, using the same slash.aliases mechanism as /sessions (/resume, /continue) and /exit (/quit, /q). No other command uses either name.

How did you verify your code works?

  • Ran the TUI from source in tmux: typing /login or /auth shows the "Connect an integration" entry, and /login + Enter opens the Connect an integration dialog (screenshots in the Slack thread)
  • bun run typecheck in packages/tui, bun test packages/tui/test/prompt/autocomplete.test.ts

Screenshots / recordings

Shared in the requesting Slack thread.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Requested by: @rekram1-node (Aiden Cline via Slack)

@opencodejr opencodejr Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works as described. I ran the TUI from source on both branches. On the base, /login only matches /reload, so Enter reloads the configuration. With this change, /login and /auth both list "Connect an integration", and Enter opens the dialog. The autocomplete tests and tsc -b pass in packages/tui.

The public API is unchanged: these are aliases that exist only in the TUI.

The change uses the same slash.aliases mechanism as /sessions and /exit, and no other slash command uses login or auth. I have no concerns.

Before

After

@rekram1-node
rekram1-node merged commit ac548ed into dev Nov 20, 2026
11 checks passed
@rekram1-node
rekram1-node deleted the feat/tui-connect-aliases branch November 20, 2026 20:48
@amrkmn amrkmn mentioned this pull request Nov 23, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants