← back to Slack Idea Board
Wire real UX behind Build-new-project: /api/build launches a Claude accelerator session in iTerm2 (shift-click=copy); header accelerator button
0ad26044a24bd32b19a0b522979bbc018468c775 · 2026-07-13 14:56:42 -0700 · Steve
Files touched
Diff
commit 0ad26044a24bd32b19a0b522979bbc018468c775
Author: Steve <steve@designerwallcoverings.com>
Date: Mon Jul 13 14:56:42 2026 -0700
Wire real UX behind Build-new-project: /api/build launches a Claude accelerator session in iTerm2 (shift-click=copy); header accelerator button
---
server.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/server.js b/server.js
index 8d1f289..ffa461f 100644
--- a/server.js
+++ b/server.js
@@ -194,6 +194,7 @@ const server = http.createServer(async (req, res) => {
if (j.id) { try { idea = (await collectIdeas()).find(i => i.id === j.id) || null; } catch {} }
const prompt = buildPrompt(idea, step);
const cwd = /skill|agent/i.test(step) ? os.homedir() : ACCEL_DIR;
+ if (j.dryRun) { res.writeHead(200, { 'Content-Type': 'application/json' }); return res.end(JSON.stringify({ launched: false, dryRun: true, step, cwd, prompt })); }
const r = await launchClaude(prompt, cwd);
res.writeHead(r.ok ? 200 : 500, { 'Content-Type': 'application/json' });
return res.end(JSON.stringify({ launched: r.ok, step, cwd, prompt, error: r.ok ? undefined : (r.err || 'osascript failed') }));
← 4309c45 idea-board: basic auth + per-card action buttons (copy claud
·
back to Slack Idea Board
·
ideas board: slow auto-refresh from 20s to 10 minutes (Steve e0e5f70 →