feat(cli): open projects in the running desktop app (#8824)

This commit is contained in:
Theo Browne authored and GitHub committed 2026-09-01 16:15:55 -07:00
1 parent beae2147a9
commit 04efa7907e
26 files changed
+1890 -3

No files matched your search

+20
View File
@@ -17,6 +17,26 @@ npx t3@latest
This starts the T3 Code server on your machine and opens the local web app. Use
`npx t3@latest --help` for the full CLI reference.
## Open a project in the desktop app
When the T3 Code desktop app is running on the same machine, open the current directory with:
```bash
npx t3 app
```
Pass a path to open another directory:
```bash
npx t3 app ../my-project
```
The command adds the directory as a project when needed, focuses the desktop app, and opens a new
thread. It does not launch the desktop app, open a browser, or start a T3 Code server. A background
server does not count as the desktop app. The command also rejects SSH sessions because a remote
shell cannot focus a local desktop window. The CLI package and the running desktop app must both
include `t3 app` support.
## Desktop App
Download the latest release from