Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
docs(tui): clarify finish() rejection handling in handleData command-not-found path
Adam Eivy6f4c678d0156
diff --git a/server/services/agentTuiSpawning.js b/server/services/agentTuiSpawning.jsindex 2c4f30d942..7f98c86bd8 100644--- a/server/services/agentTuiSpawning.js+++ b/server/services/agentTuiSpawning.js@@ -523,6 +523,9 @@ export async function spawnTuiAgent({if (!promptSentAt) {const lowerStripped = streamingStrip(text).toLowerCase();if (lowerStripped.includes('command not found') && lowerStripped.includes(commandName.toLowerCase())) {+ // finish() uses try/finally internally: finalizeAgent errors re-throw after+ // cleanup, so finish() can reject. The outer try/catch in handleData already+ // handles any such rejection via emitLog — no additional .catch() needed here.await finish({success: false,exitCode: 127,