mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-17 04:45:33 -08:00
Add a Reconnect to agent button where the agent has gone quiet
AI Assisted
This commit is contained in:
1 parent
6376a68f85
commit
30fd1134ea
11 files changed
+222
-25
No files matched your search
@@ -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.",
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user