Issue #146 — Antigravity Process Spawning & UI Integration
Integrate Antigravity into TermHerd's process lifecycle and UI widgets.
Background
Users should be able to launch fresh Antigravity (agy) sessions and resume
existing ones from the sidebar, just as they do with Claude Code.
Requirements
-
Update Launch enum in crates/core/src/app.rs:
pub enum Launch {
Shell,
Claude { resume: Option<String> },
Antigravity { resume: Option<String> },
}
-
In crates/pty/src/lib.rs, map Launch::Antigravity to typing the launch
command in the terminal shell:
Launch::Antigravity { resume: None } => "agy\r"
Launch::Antigravity { resume: Some(id) } => "agy --conversation <id>\r"
-
Update crates/app/src/shell.rs to render a new "Launch Antigravity"
button/affordance next to the shell $ and Claude 🤖 buttons in the
repository list in the sidebar.
-
Wire up the tab & sidebar list: double-clicking or clicking an Antigravity
session resumes it.
-
Display the correct display title on the tabs and sidebar using the
session's parsed title/summary.
Tests
- Spawning a fresh/resumed Antigravity session correctly types
agy/agy --conversation <id> into the terminal.
- Launch UI button triggers the correct event and starts the PTY.
Issue #146 — Antigravity Process Spawning & UI Integration
Integrate Antigravity into TermHerd's process lifecycle and UI widgets.
Background
Users should be able to launch fresh Antigravity (
agy) sessions and resumeexisting ones from the sidebar, just as they do with Claude Code.
Requirements
Update
Launchenum incrates/core/src/app.rs:In
crates/pty/src/lib.rs, mapLaunch::Antigravityto typing the launchcommand in the terminal shell:
Launch::Antigravity { resume: None } => "agy\r"Launch::Antigravity { resume: Some(id) } => "agy --conversation <id>\r"Update
crates/app/src/shell.rsto render a new "Launch Antigravity"button/affordance next to the shell
$and Claude🤖buttons in therepository list in the sidebar.
Wire up the tab & sidebar list: double-clicking or clicking an Antigravity
session resumes it.
Display the correct display title on the tabs and sidebar using the
session's parsed title/summary.
Tests
agy/agy --conversation <id>into the terminal.