Part of #5 (step 3: command palette and navigation).
Agents could run shortcut commands in the user's window (#7), but couldn't move the window to a page. Some palette actions also had no command id, so neither agents nor keybindings could reach them.
Navigation. t3_app_navigate shows one of these in the window the user used last:
- a thread from the agent's own environment (the server checks that it exists first)
- a settings section
- usage
- pull requests
The window answers only once it's really there. It waits for the navigation to finish, and for an older thread it also waits until the thread has loaded and its chat can take commands. So a command sent right after reaches the new page. A redirect to another page counts as not arriving. A blocked navigation never finishes, so each request gives up after 5 seconds; the server stops waiting at the same point.
The settings sections now live in contracts, and the web app's SettingsPath type is built from them, so the two lists can't drift apart.
Palette actions get stable ids. Four thread actions were palette-only:
- restart agent session
- show linked pull requests
- link a pull request
- share with guest
They're now keybinding commands (thread.restartSession, thread.showPullRequests, thread.linkPullRequest, thread.shareWithGuest). That means you can bind keys to them, the palette shows their shortcut, and agents run them with t3_app_command. The palette and the chat view share one restart hook.
Left out on purpose:
- Starting threads (new thread, new thread in…, triage): agents use
t3_thread_launch.
- In-palette pickers (add project, new project, WSL folder): they need the user to pick; agents have
t3_project_create and t3_project_clone.
- Copy prompt link and "Use T3 Code in another app": they only matter to the person at the keyboard.
- Pin project:
t3_project_update already covers it.
- Deep-linking one project's settings: it needs the sidebar's grouping key. Agents can open Settings › Projects instead.
Checked
vp run check:changed passes.
- A browser test covers the navigation helper: it doesn't settle while the destination is still loading, a redirect elsewhere counts as not arriving, and a thread id that needs URL encoding still matches. Each case fails on the earlier version of the helper.
- Four Sol (GPT-6.1, xhigh) review rounds. Each of the first three found a timing or accuracy gap in when the window answers, all fixed above; round 4 approved.
- End to end, on a dev server with a copy of real data, a headless browser and real Codex Luna turns:
t3_app_navigate to the keybindings section returned {"ran":true}, and the window moved to /settings/keybindings.
- An agent opened its own thread, then ran
thread.linkPullRequest. Both returned {"ran":true}, and the dialog opened (screenshot below).
- The palette's "Restart agent session" still restarts and shows its toast.
- After the fixes, an agent opened a different thread and immediately linked a PR on it. Both calls returned
ran, and the dialog opened on the new thread.
- The new eval case
open-settings-section-uses-app-navigate has only had a dry run.
The agent tool list grows by about 1 KB (budget updated), mostly the settings section list, which is what lets agents discover the sections.
An agent opened its own thread, then the Link pull request dialog, in the user's window:

Built by Claude Opus 5.5 in Claude Code.