Repository navigation
Commit ac0aa5c
feat(editors): Open in lists the Mac apps you have installed and supports more of them
On macOS, Open in decided an editor was installed when its CLI was on PATH.
The Cursor Agent CLI's `cursor` shim made Cursor look installed without the
IDE, and apps without a CLI, like Warp, could not be offered at all.
On macOS the server now asks LaunchServices which apps are registered, by
bundle id, in one `osascript` call. An app counts as installed when it is
registered or when its CLI resolves into an app bundle; a CLI outside any app
does not count. Each app opens through its own bundled CLI when it has one,
otherwise through `open -b`. Linux and Windows keep PATH discovery, and so does
macOS when `osascript` cannot run.
This adds Xcode, Sublime Text, Devin Desktop, Android Studio, Nova and BBEdit,
plus terminals (Terminal, iTerm2, Ghostty, kitty, WezTerm, Warp) and git
clients (GitHub Desktop, Fork, Sourcetree). Terminals run a script handed to
them, so these folder-only apps receive a file's folder, and file actions do not
offer them. WezTerm ignores folders handed over by LaunchServices, so it starts
through `wezterm start --cwd`.
JetBrains IDEs count `--column` from 0, so a `file:12:4` target landed one
column to the right in every JetBrains IDE. Columns are now passed zero-based.
Co-authored-by: Claude Opus 5.5 <[email protected]>1 parent 54346a6 commit ac0aa5c
16 files changed
Lines changed: 987 additions & 53 deletions
File tree
- apps
- desktop/src/ipc/methods
- server/src/process
- web/src
- assets/editors
- components
- chat
- packages
- contracts/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| |||
325 | 329 | | |
326 | 330 | | |
327 | 331 | | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
332 | 337 | | |
333 | 338 | | |
334 | 339 | | |
| |||
0 commit comments