Add a Reconnect to agent button where the agent has gone quiet

AI Assisted
This commit is contained in:
jparkerweb committed 2026-11-05 10:03:09 -08:00
1 parent 6376a68f85
commit 30fd1134ea
11 files changed
+222 -25

No files matched your search

+6 -2
View File
@@ -861,13 +861,17 @@ export function deleteSummary(spec) {
};
}
export function staleLaunchFeedback(title, adrift) {
// `inApp`: the desktop app puts a Reconnect to agent button on the screen
// (starting.js), so the hint points at it; a browser has only the terminal.
export function staleLaunchFeedback(title, adrift, inApp = false) {
if (!adrift) return null;
return {
kicker: "Saved",
title: `${title || "Your workflow"} is saved and waiting`,
quip: "Plan2Code is not running right now.",
hint: "Return to the terminal and send any message. Plan2Code will collect this launch and continue here.",
hint: inApp
? "Press Reconnect to agent below. Plan2Code will collect this launch and continue here."
: "Return to the terminal and type continue. Plan2Code will collect this launch and continue here.",
};
}