Skip to content

List Codex and agy aliases and their missing slash commands - #529

Merged
quanticstudios merged 1 commit into
mainfrom
slash-parity
Nov 22, 2026
Merged

quanticstudios merged 1 commit into
mainfrom
slash-parity

Conversation

@quanticstudios

Copy link
Copy Markdown
Owner

The / menu in Codex and Antigravity chats now has each agent's aliases and the commands that were missing. A typed alias with an argument also opens the terminal now. Before, /rc phone or agy's /settings went to the chat as plain text.

Changes

  • Codex 0.171.0 (internal/session/codex/commands.go). I scrolled its live / popup under a temp CODEX_HOME and it matched Builtins row for row. It also takes /quit (exit) and /btw (side), which are now aliases. /apps ("manage apps") is in the binary's command table but stays hidden for this account, even with every experimental feature on, so it is listed as account-gated. Left out: /debug-config (never in the menu), the Desktop app command (macOS and Windows only, name not found), Windows' setup-default-sandbox, and debug-build commands (rollout, test-approval, debug-m-*).
  • agy 1.5.14 (internal/session/antigravity/commands.go). Read from the binary's command types and its live menu under a temp HOME. It adds /projects and /record (both open UI) and /thinking (a toggle). The descriptions now use agy's own menu wording instead of the docs page. /plugins is gone because agy answers "Unknown command". /statusline is now a toggle, while /usage and /credits open panels, so their Terminal marks flipped. agy acp still lists the same headless set.
  • Aliases count as their command. session.Command.Is is used by tuiCommand (terminal routing) and by the composer's used-count. Before, both matched the name only.

End to end

  • Pane chats: commands appear, aliases rank first and Enter picks the native command over skills (TestSlashMatchesAliasFirst, TestSlashEnterAlias). Terminal commands route by alias (TestTUICommandAlias). A sent command reaches the TUI as typed (existing TestPaneChatSlashSend).
  • New task chats: Claude's come from system/init plus the terminal built-ins. agy's come from ACP, which I checked live. Codex task chats list no commands. The app-server driver gets none, so /compact reaches the model as plain text. I didn't change that because it needs app-server RPCs (thread/compact, review/start), not a list.

Screenshots (headless, TestSlashShots)

Claude /rc with skills that fuzzy-match:

Codex /quit:

agy /settings:

agy /p (now with /projects):

Verification

gofmt -l clean, go vet ./... and go test ./... pass with PITWALL_* unset. No fixtures changed: none hold Codex or agy built-ins.

🤖 Generated with Claude Code

Codex 0.171.0's menu also takes /quit and /btw, and lists /apps for
accounts with apps. agy 1.5.14 added /projects, /record and /thinking,
reworded its menu and dropped /plugins; /statusline is now a toggle and
/usage and /credits open panels. Both lists come from each binary and
its live menu under a temp home.

A typed alias now counts as its command: /rc phone opens the terminal
as /remote-control does, and sending one ranks its command next time.
@quanticstudios
quanticstudios merged commit 60c842f into main Nov 22, 2026
29 checks passed
@quanticstudios
quanticstudios deleted the slash-parity branch November 22, 2026 21:48
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