All your AI agent sessions in one place — browse, search, resume. Rust + GPUI.
Rust
docs(terminal): correct why the iTerm script needs a tell block (#73)
Corey Chiu7319025448a4
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex a6bdc9a..00f4cd4 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -2,6 +2,7 @@## [Unreleased]+- Fix: Open In → iTerm resumes the session in a new iTerm window instead of failing with an AppleScript error (#73, thanks @quintus-lab)- Fix: Conversations from the Antigravity CLI show their full messages, not just a summary (#71, thanks @dingtwo)## [0.9.5] — 2026-10-16diff --git a/crates/wake-core/src/services/terminal/macos.rs b/crates/wake-core/src/services/terminal/macos.rsindex 2e2b593..ce11989 100644--- a/crates/wake-core/src/services/terminal/macos.rs+++ b/crates/wake-core/src/services/terminal/macos.rs@@ -300,12 +300,10 @@ fn launch_terminal_app(command: &str) -> anyhow::Result<()> {fn launch_iterm(command: &str) -> anyhow::Result<()> {let esc = applescript_quote(command);- // `write text` 的直接参数是 session specifier。一行- // `tell current session of … to write text "…"` 会被编成- // `write text "…" current session …`,iTerm 词典里 `text` 是- // 命名参数,AppleScript 在 `session` 处报 -2741- // (Expected end of line but found identifier)。- // 先接住 create window 的返回值,再在 tell 块里 write。+ // iTerm 词典里的词(current window / current session)要写在 `tell application "iTerm"`+ // 块里:写在 `of application "iTerm"` 前面时编译器还没载入 iTerm 的词典,原先那一行+ // `tell current session of current window of application "iTerm" to …` 因此在+ // `session` 处报 -2741,整段一句都不执行。命令发给 create window 返回的那个窗口let out = osascript(&["tell application \"iTerm\"".to_string(),"activate".to_string(),