Teach the web console to read right inside the desktop app

AI Assisted
This commit is contained in:
jparkerweb committed 2026-10-25 12:46:52 -07:00
1 parent 72043e20fc
commit c1f41e4a82
25 files changed
+951 -85

No files matched your search

+4 -1
View File
@@ -514,7 +514,10 @@ export async function readOverview(root, specDir) {
}
// The line every CLI command hands the agent to end its terminal messages with.
export function terminalLine(url) {
// Under the desktop app the page is already in the window beside the terminal,
// so the address would only be noise there: the line points at the window.
export function terminalLine(url, env = process.env) {
if (env.PLAN2CODE_IN_APP === "1") return "→ Look at the dashboard beside this terminal.";
return `→ Look at the web console: ${url}`;
}