← back to Slack Idea Board
Idea-board: launch in a NEW iTerm2 window (not a tab); lift cap=0 kill-switch to 20 via pm2 env
0638b1fec3f43ad01ff71f8d247613022765714a · 2026-08-06 16:58:55 -0700 · Steve Abrams
Files touched
Diff
commit 0638b1fec3f43ad01ff71f8d247613022765714a
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Thu Aug 6 16:58:55 2026 -0700
Idea-board: launch in a NEW iTerm2 window (not a tab); lift cap=0 kill-switch to 20 via pm2 env
---
server.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/server.js b/server.js
index a089f7c..741df64 100644
--- a/server.js
+++ b/server.js
@@ -202,8 +202,8 @@ function launchClaude(prompt, cwd) {
`#!/bin/bash\ncd ${JSON.stringify(dir)} || exit 1\nclaude --model opus "$(cat ${JSON.stringify(promptFile)})"\n`, { mode: 0o755 });
const osa = `tell application "iTerm2"
activate
- tell current window to create tab with default profile
- tell current session of current window to write text "bash ${launcher}"
+ set newWin to (create window with default profile)
+ tell current session of newWin to write text "bash ${launcher}"
end tell`;
return new Promise((resolve) => {
const p = spawn('osascript', ['-e', osa]);
← 502e681 Idea-board: auto-retry throttled launches with live countdow
·
back to Slack Idea Board
·
Idea-board: localhost-only spawn guard (public tunnel previe fac3b23 →