Skip to content

TUI: add inline /api-keys menu - #14472

Merged
harryalbert merged 1 commit into
masterfrom
harry/code-1930-tui-replace-byok-slash-commands-with-a-keys-inline-menu
Jul 30, 2026
Merged

TUI: add inline /api-keys menu#14472
harryalbert merged 1 commit into
masterfrom
harry/code-1930-tui-replace-byok-slash-commands-with-a-keys-inline-menu

Conversation

@harryalbert

@harryalbert harryalbert commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Description

Replaces the TUI-only /add-api-key and /clear-provider-api-key commands with a single inline /api-keys menu.

The menu supports filtering providers, setting and clearing provider keys, connecting or disconnecting X Premium/SuperGrok, and toggling Warp-credit fallback. It reuses the shared TUI editor through the ownership model reviewed separately in downstack PR #14488.

This is a pretty large change, but the large majority of it is UI changes. Reading the specs should be enough for this one (I'll also attach an in depth demo of the change below).

Testing

  • I have manually tested my changes locally with ./script/run

Screenshots/Video

https://www.loom.com/share/853ce5b6278840c89ced6bfde7b53820

Agent Mode

  • Warp Agent Mode - This PR was created via Warp's AI Agent Mode

Co-Authored-By: Oz oz-agent@warp.dev

@cla-bot cla-bot Bot added the cla-signed label Jul 29, 2026

harryalbert commented Jul 29, 2026

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@harryalbert
harryalbert changed the base branch from master to graphite-base/14472 July 29, 2026 19:40
@harryalbert
harryalbert force-pushed the harry/code-1930-tui-replace-byok-slash-commands-with-a-keys-inline-menu branch from 463f287 to 13b1395 Compare July 29, 2026 19:40
@harryalbert
harryalbert force-pushed the graphite-base/14472 branch from 0835276 to 77cd93f Compare July 29, 2026 19:40
@harryalbert
harryalbert changed the base branch from graphite-base/14472 to harry/tui-inline-menu-input-ownership July 29, 2026 19:40
@harryalbert harryalbert changed the title add product and tech specs TUI: add inline /api-keys menu Jul 29, 2026
@harryalbert
harryalbert force-pushed the harry/tui-inline-menu-input-ownership branch from 77cd93f to d13469b Compare July 29, 2026 19:57
@harryalbert
harryalbert force-pushed the harry/code-1930-tui-replace-byok-slash-commands-with-a-keys-inline-menu branch from 13b1395 to 7b77da4 Compare July 29, 2026 19:57
@harryalbert
harryalbert marked this pull request as ready for review July 29, 2026 20:32
@oz-for-oss

oz-for-oss Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

@harryalbert

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@oz-for-oss oz-for-oss 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.

Overview

This PR replaces the TUI-only provider-key slash commands with an inline /api-keys menu, adds the API-key menu state machine, integrates it with the shared TUI inline-menu/input ownership system, and refactors Grok OAuth into a controller used by the menu. The attached description includes a Loom demo, satisfying the TUI visual-evidence requirement.

Concerns

  • No blocking correctness, security, or spec-alignment concerns found in the annotated diff. spec_context.md did not contain approved or repository spec context, so there were no external spec commitments to validate against.

Verdict

Found: 0 critical, 0 important, 0 suggestions

Approve

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@harryalbert
harryalbert force-pushed the harry/code-1930-tui-replace-byok-slash-commands-with-a-keys-inline-menu branch from 7b77da4 to 856e6df Compare July 29, 2026 21:25
@harryalbert
harryalbert force-pushed the harry/tui-inline-menu-input-ownership branch from d13469b to 92a009d Compare July 29, 2026 21:25
@harryalbert
harryalbert requested a review from moirahuang July 29, 2026 21:26
@harryalbert
harryalbert force-pushed the harry/tui-inline-menu-input-ownership branch from 92a009d to 97a55e2 Compare July 29, 2026 22:00
@harryalbert
harryalbert force-pushed the harry/code-1930-tui-replace-byok-slash-commands-with-a-keys-inline-menu branch 2 times, most recently from 87f65c6 to 66fed8f Compare July 29, 2026 23:00
@harryalbert
harryalbert force-pushed the harry/tui-inline-menu-input-ownership branch from 97a55e2 to f2db220 Compare July 29, 2026 23:00
@harryalbert
harryalbert force-pushed the harry/code-1930-tui-replace-byok-slash-commands-with-a-keys-inline-menu branch from 66fed8f to de896e2 Compare July 30, 2026 13:30
@harryalbert
harryalbert force-pushed the harry/tui-inline-menu-input-ownership branch from f2db220 to 8f81c46 Compare July 30, 2026 13:30
Base automatically changed from harry/tui-inline-menu-input-ownership to master July 30, 2026 14:00
Co-Authored-By: Oz <oz-agent@warp.dev>
@harryalbert
harryalbert force-pushed the harry/code-1930-tui-replace-byok-slash-commands-with-a-keys-inline-menu branch from de896e2 to 2c10ef7 Compare July 30, 2026 14:00
@harryalbert
harryalbert merged commit bf56c3c into master Jul 30, 2026
@harryalbert
harryalbert deleted the harry/code-1930-tui-replace-byok-slash-commands-with-a-keys-inline-menu branch July 30, 2026 14:35
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