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

+44 -5
View File
@@ -19,6 +19,7 @@ import {
STALE_MS,
agentRepliedAfterSend,
approvalHint,
APPROVAL_HINT_IN_APP,
cardAvailability,
cardPresentation,
finishPaused,
@@ -66,6 +67,7 @@ import { renderBriefButton, renderDoc, renderOverview } from "./docs.js";
import { board, renderGitBoard, resetBoard } from "./git-host.js";
import { renderWorkspace, tellFolderIssues } from "./workspace.js";
import { openHelpOn } from "./help-dialog.js";
import { tellApp } from "../app-bridge.js";
import { askOfflineFlipped, askState, declineOpen, renderAside, renderAsk, renderSubagents, renderSubagentsButton } from "./ask.js";
import { renderHandoff, renderHomeButton, renderStopButton, renderStopControls, renderStopping, stopInProgress, stopWarning } from "./ending.js";
import { renderNotepadButton } from "./notepad.js";
@@ -238,6 +240,10 @@ export function adopt(body) {
page.chatFrame = body.chat || null;
if (body.workspace) page.wsFrame = body.workspace;
if (body.meter) page.meterFrame = body.meter;
// Fixed for the session's whole life, but cheap enough to just copy.
page.inApp = Boolean(body.inApp);
// Help's `.for-app` / `.for-browser` wording switches on this (help.css).
document.documentElement.classList.toggle("in-app", page.inApp);
// Always replaced: an absent key means no update.
page.updateFrame = body.update || null;
// Always replaced too: an older server sends none, and then there is no switch.
@@ -925,11 +931,21 @@ function renderMeter() {
return li;
})
);
// Once the session is past fresh, say how to start a new one.
// Once the session is past fresh, say how to start a new one. Under the app
// that is one button doing what the app bar's New Session does, instead of
// a command to copy into a new conversation.
const fresh = $("meter-fresh");
fresh.hidden = page.meterFrame.level === "green";
if (fresh.hidden || fresh.dataset.built) return;
fresh.dataset.built = "1";
if (page.inApp) {
// The same press as the app bar's New Session, confirm and all.
const press = el("button", "btn small primary meter-fresh-btn", "Start a New Session");
press.type = "button";
press.addEventListener("click", () => tellApp("new-session"));
fresh.append(press);
return;
}
const text = handoffText({ command: DASHBOARD_COMMAND });
const code = el("code", "handoff-code", text);
const row = el("div", "handoff-command meter-fresh-row");
@@ -1007,6 +1023,23 @@ let moodNow = null;
let moodVar = 0;
// The status line's **continue**, under the app: a press asks the app to type
// it into the agent's terminal. Held off for a few seconds after, so a double
// press does not send it twice.
const CONTINUE_HOLD_MS = 4000;
function continueButton() {
const btn = el("button", "agent-key agent-key-btn", "continue");
btn.type = "button";
btn.title = "Type continue in the agent's terminal";
btn.addEventListener("click", () => {
btn.disabled = true;
tellApp("agent-continue");
setTimeout(() => (btn.disabled = false), CONTINUE_HOLD_MS);
});
return btn;
}
export function renderStatus() {
if (!page.S) return;
const bot = $("planny");
@@ -1031,6 +1064,9 @@ export function renderStatus() {
text.dataset.line = shown;
const parts = line.split(/\*\*(.+?)\*\*/).map((part, i) => {
if (i % 2 === 0) return document.createTextNode(part);
// Under the app the terminal is in the same window, so the word to
// type is a button that types it there instead.
if (page.inApp && part === "continue") return continueButton();
const key = document.createElement("strong");
key.className = "agent-key";
key.textContent = part;
@@ -1064,15 +1100,17 @@ export function renderStatus() {
if (page.local.afterBuild === "changelog" && !page.gone) return say("work", "Opening Changelog…", "", true);
if (page.local.afterBuild === "launch" && !page.gone) return say("work", "Starting the next step…", "", true);
const offer = reviewPending();
// There is no tab to close under the app, only the one window.
const closeWord = page.inApp ? "window" : "tab";
if (dashboardLive(finish()) && !page.gone && !offer) {
return say("point", "Done. Head back to the dashboard, or close this tab.");
return say("point", `Done. Head back to the dashboard, or close this ${closeWord}.`);
}
if (offer === "asked") return say("work", "Review requested. Plan2Code is starting it.", "", true);
if (offer === "open") return say("point", "Done. Review it here first, or close this tab.");
if (offer === "open") return say("point", `Done. Review it here first, or close this ${closeWord}.`);
// A stop past a warning kept nothing, so it promises no saved place.
if (finishPaused(finish()))
return say("done", stopWarning() ? "Paused. The command above starts it again." : "Paused. Your place is saved: the command above picks it up.");
return say("done", "All done. You can close this tab.");
return say("done", `All done. You can close this ${closeWord}.`);
}
if (page.gone) return say("gone", "Not connected. Your answers are saved.", "", false, true);
// On the way home: the request is sent, and the page stays this skill's
@@ -1121,7 +1159,8 @@ export function renderStatus() {
}
// Same clock as agentStale(), so the soft line at 30 s hands over to the
// stale message at two minutes on one timeline.
const hint = page.agentLastSeen ? approvalHint(page.S.agent, Date.now() - Date.parse(page.agentLastSeen)) : "";
const quiet = page.agentLastSeen ? approvalHint(page.S.agent, Date.now() - Date.parse(page.agentLastSeen)) : "";
const hint = quiet && page.inApp ? APPROVAL_HINT_IN_APP : quiet;
return say("work", hint || activity() || "Plan2Code is thinking…", fmtMs(workingMs()), true, Boolean(hint));
}
// Between pressing Send and the agent picking it up, the agent's own status
+11 -8
View File
@@ -14,7 +14,7 @@ import { hooks, page, redraw, saveNow } from "../state.js";
import { el, approvalTip, mdInto, releasesLink, copyButton, lightDismiss } from "../render.js";
import { needsRoleNudge, ROLE_NOT_SET } from "../starters.js";
import { looks, renderSwatches, saveLooks } from "../looks.js";
import { RED_BANNER } from "../meter.js";
import { RED_BANNER, RED_BANNER_IN_APP } from "../meter.js";
import {
dashNoteKind,
defaultSpec,
@@ -148,12 +148,14 @@ export function renderDashboard(main) {
if (needsRoleNudge(looks)) wrap.appendChild(roleNudge());
// Advice only: words, never a button, and nothing is blocked.
if (page.meterFrame && page.meterFrame.level === "red") {
const warn = el("div", "dash-nudge meter-banner", RED_BANNER);
const warn = el("div", "dash-nudge meter-banner", page.inApp ? RED_BANNER_IN_APP : RED_BANNER);
warn.setAttribute("role", "status");
wrap.appendChild(warn);
}
// Built here only, so no other workflow's page ever shows it.
if (page.updateFrame && !updateDismissed()) {
// Built here only, so no other workflow's page ever shows it. Under the app
// this never shows at all: the app's own top bar already says so and, unlike
// this banner's copy-pasted command, updates the skills itself in one click.
if (page.updateFrame && !page.inApp && !updateDismissed()) {
const notice = el("div", "dash-nudge update-banner");
notice.setAttribute("role", "status");
const open = el("button", "update-banner-open", "UPDATE AVAILABLE · v" + page.updateFrame.latest);
@@ -556,13 +558,14 @@ function renderHandoffPreview(h) {
const read = el("button", "btn", "Read it all");
read.type = "button";
read.addEventListener("click", () => readHandoff(h));
const copy = el("button", "btn", "Copy for a new conversation");
const copyLabel = page.inApp ? "Copy for another session" : "Copy for a new conversation";
const copy = el("button", "btn", copyLabel);
copy.type = "button";
copy.addEventListener("click", () => {
const dir = (scan() && scan().handoffsDir) || "";
const sep = dir.includes("\\") ? "\\" : "/";
const file = dir ? dir.replace(/[\\/]+$/, "") + sep + h.id + ".md" : h.id + ".md";
copyHandoffText(handoffCopyText(file), copy);
copyHandoffText(handoffCopyText(file), copy, copyLabel);
});
const del = el("button", "btn danger", "Delete");
del.type = "button";
@@ -575,14 +578,14 @@ function renderHandoffPreview(h) {
// The prompt that sends a new conversation to the handoff. A refused
// clipboard gets a plain word on the button instead of a silent nothing.
async function copyHandoffText(text, button) {
async function copyHandoffText(text, button, label) {
try {
await navigator.clipboard.writeText(text);
button.textContent = "Copied";
} catch {
button.textContent = "Copy was refused";
}
setTimeout(() => (button.textContent = "Copy for a new conversation"), 1500);
setTimeout(() => (button.textContent = label), 1500);
}
// Pick it up here: a hop like a card launch. The page sends only the id; the
+69 -18
View File
@@ -11,11 +11,13 @@ import {
handoffShape,
ALL_DONE_LEAD,
ALL_DONE_REST,
ALL_DONE_REST_IN_APP,
handoffText,
DASHBOARD_COMMAND,
resumeCommand,
afterFinishButton,
DASHBOARD_NOTE,
DASHBOARD_NOTE_IN_APP,
turnGate,
homeButtonState,
HOME_REPLY,
@@ -88,25 +90,43 @@ function renderCloseGuide(shape, fin = {}) {
const title = el("h3", "handoff-guide-title", "Before you close this");
title.id = "handoff-guide-title";
panel.appendChild(title);
// Under the app this reads differently: there is one window, not a tab, and
// the app's own New Session button already starts the agent fresh in one
// click, so nothing here asks anyone to close a session or open another.
const rows = [
["safe", "Safe to close", "This tab is only a window: whatever this session wrote is on disk, and nothing here needs you."],
[
"safe",
"Safe to close",
page.inApp
? "This window is only a view: whatever this session wrote is on disk, and nothing here needs you."
: "This tab is only a window: whatever this session wrote is on disk, and nothing here needs you.",
],
[
"fresh",
"Start fresh",
shape === "paused"
? stopWarning()
? "Restart your agent window, or close the old session and start a new one. The command above starts it again."
: "Restart your agent window, or close the old session and start a new one. Your saved place is picked up by the resume command above."
: "Restart your agent window, or close the old session and start a new one. A new session starts from clean context. This one is full of this step's instructions, so continuing in it is slower and can confuse the next step.",
page.inApp
? "Press New Session at the top of the window to start the agent fresh."
: shape === "paused"
? stopWarning()
? "Restart your agent window, or close the old session and start a new one. The command above starts it again."
: "Restart your agent window, or close the old session and start a new one. Your saved place is picked up by the resume command above."
: "Restart your agent window, or close the old session and start a new one. A new session starts from clean context. This one is full of this step's instructions, so continuing in it is slower and can confuse the next step.",
],
[
"carry",
"Carry on",
// The app's terminal panel runs the agent itself, so a slash command
// still goes there, not into some other "new session" or "new
// conversation" that does not exist under the app.
shape === "all-done"
? `In the new session, start from the dashboard with \`${DASHBOARD_COMMAND}\`.`
? page.inApp
? `In the terminal panel, start from the dashboard with \`${DASHBOARD_COMMAND}\`.`
: `In the new session, start from the dashboard with \`${DASHBOARD_COMMAND}\`.`
: shell
? `Run the command above in your terminal, then start the next step from the dashboard with \`${DASHBOARD_COMMAND}\`.`
: `Paste the command above in the new session, or start from the dashboard with \`${DASHBOARD_COMMAND}\`.`,
: page.inApp
? `Paste the command above into the terminal panel, or start from the dashboard with \`${DASHBOARD_COMMAND}\`.`
: `Paste the command above in the new session, or start from the dashboard with \`${DASHBOARD_COMMAND}\`.`,
],
];
const list = el("ul", "handoff-guide-rows");
@@ -160,7 +180,10 @@ export function renderHandoff(fin) {
const shape = handoffShape(fin);
if (shape === "all-done") {
const done = el("div", "handoff-done");
done.appendChild(md(`${ALL_DONE_LEAD} ${ALL_DONE_REST}`, "md handoff-done-text"));
done.appendChild(md(`${ALL_DONE_LEAD} ${page.inApp ? ALL_DONE_REST_IN_APP : ALL_DONE_REST}`, "md handoff-done-text"));
// The command still works under the app: its terminal panel runs the
// agent itself, so pasting this there reaches the dashboard exactly as
// it would in a plain terminal.
const text = handoffText({ command: DASHBOARD_COMMAND });
const row = el("div", "handoff-command");
const code = el("code", "handoff-code", text);
@@ -182,7 +205,9 @@ export function renderHandoff(fin) {
"handoff-where",
fin.where ||
(command.startsWith("/")
? "Run this in the terminal where you started Plan2Code, in a new conversation:"
? page.inApp
? "Paste this into the terminal panel below:"
: "Run this in the terminal where you started Plan2Code, in a new conversation:"
: "Run this in your terminal:")
)
);
@@ -213,7 +238,12 @@ export function renderHandoff(fin) {
if (shape === "next") {
const offerDash = dashboardLive(fin);
if (offerDash) card.appendChild(renderDashboardOffer(false));
if (!(offerDash && page.gone)) {
// Under the app this paragraph never shows: renderCloseGuide's own
// "carry" row already says the same thing ("Paste the command above
// into the terminal panel, or start from the dashboard with
// `/plan2code`"), right below this card, so repeating it here would
// be the third mention of the one action on this screen.
if (!page.inApp && !(offerDash && page.gone)) {
card.appendChild(
textWithCode(
"p",
@@ -303,9 +333,13 @@ function renderReviewOffer(offer) {
el(
"p",
"review-offer-text",
asked
? "The session closed before the review could start. To run it now, use this in the terminal, in a new conversation:"
: "This session has closed, so the review cannot start from here any more. To run it, use this in the terminal, in a new conversation:"
page.inApp
? asked
? "The session closed before the review could start. To run it now, paste this into the terminal panel:"
: "This session has closed, so the review cannot start from here any more. To run it, paste this into the terminal panel:"
: asked
? "The session closed before the review could start. To run it now, use this in the terminal, in a new conversation:"
: "This session has closed, so the review cannot start from here any more. To run it, use this in the terminal, in a new conversation:"
)
);
const text = "/plan2code-review";
@@ -422,6 +456,19 @@ function renderChangelogOffer() {
function renderDashboardOffer(primary) {
const box = el("section", "dashboard-offer");
if (page.gone) {
if (page.inApp) {
// The app's own bar already notices a dead console and offers to
// reconnect it (its next-step slot, "Reconnect the console"); nothing here
// is a command for anyone to run themselves.
box.appendChild(
el(
"p",
null,
"This session has closed. Plan2Code will try to reconnect the console on its own; if it cannot, the app's bar offers Reconnect the console."
)
);
return box;
}
box.appendChild(
el(
"p",
@@ -447,7 +494,7 @@ function renderDashboardOffer(primary) {
go.disabled = disabled;
go.addEventListener("click", () => sendAfterBuild("dashboard"));
box.appendChild(go);
box.appendChild(textWithCode("p", "dashboard-note", DASHBOARD_NOTE));
box.appendChild(textWithCode("p", "dashboard-note", page.inApp ? DASHBOARD_NOTE_IN_APP : DASHBOARD_NOTE));
return box;
}
@@ -733,9 +780,13 @@ export function renderStopping() {
el(
"p",
"stop-note",
page.gone
? "The session closed without saying how to pick it up. Your answers and the stop are saved, and the next session collects them. To carry on, run this in the terminal, in a new conversation (or alternatively run `/plan2code` to relaunch the dashboard):"
: "Plan2Code is not running right now, so nothing new has been saved yet. Your answers and the stop are held, and the next session collects them. To carry on, run this in the terminal, in a new conversation (or alternatively run `/plan2code` to relaunch the dashboard):"
page.inApp
? (page.gone
? "The session closed without saying how to pick it up. Your answers and the stop are saved, and the next session collects them. Paste this into the terminal panel below to carry on:"
: "Plan2Code is not running right now, so nothing new has been saved yet. Your answers and the stop are held, and the next session collects them. Paste this into the terminal panel below to carry on:")
: page.gone
? "The session closed without saying how to pick it up. Your answers and the stop are saved, and the next session collects them. To carry on, run this in the terminal, in a new conversation (or alternatively run `/plan2code` to relaunch the dashboard):"
: "Plan2Code is not running right now, so nothing new has been saved yet. Your answers and the stop are held, and the next session collects them. To carry on, run this in the terminal, in a new conversation (or alternatively run `/plan2code` to relaunch the dashboard):"
)
);
const text = handoffText({ command: resumeCommand(page.S) });
+156 -5
View File
@@ -19,7 +19,15 @@ export function maybeWelcome() {
openWelcome();
}
// The same "finish the step and start fresh" tip the meter popover and the
// dashboard's own red banner give, worded for the app's New Session button there.
function renderWelcomeRefreshHelp() {
if (!page.inApp) return;
$("welcome-refresh-text").textContent = "Once the session meter passes half, finish the step and press New Session at the top of the window.";
}
export function openWelcome() {
renderWelcomeRefreshHelp();
if ($("help-modal").open) $("help-modal").close();
const slot = $("welcome-bot");
if (!slot.firstElementChild) {
@@ -44,18 +52,149 @@ function renderAbout() {
line.textContent = "Right now: the session is finished, and the command above is all that is left to do.";
} else if (page.gone) {
line.classList.add("is-bad");
line.textContent =
"Right now: this page cannot reach that program. Either it has stopped, or the machine went to sleep. The link from the terminal will bring it back.";
line.textContent = page.inApp
? "Right now: this page cannot reach that program. Either it has stopped, or the machine went to sleep. The app's own bar notices and offers to reconnect it."
: "Right now: this page cannot reach that program. Either it has stopped, or the machine went to sleep. The link from the terminal will bring it back.";
} else if (agentAdrift()) {
line.classList.add("is-bad");
line.textContent =
"Right now: this page is fine, but Plan2Code has not checked in for a few minutes. Have a look at the terminal; it may have finished its turn, hit an error, or be waiting on you there. If it is idle, type continue there to wake it.";
line.textContent = page.inApp
? "Right now: this page is fine, but Plan2Code has not checked in for a few minutes. Have a look at the terminal panel; it may have finished its turn, hit an error, or be waiting on you there. If it is idle, press continue in the line beside Planny to wake it."
: "Right now: this page is fine, but Plan2Code has not checked in for a few minutes. Have a look at the terminal; it may have finished its turn, hit an error, or be waiting on you there. If it is idle, type continue there to wake it.";
} else {
line.classList.add("is-good");
line.textContent = "Right now: both halves are talking to each other.";
}
}
// Under the app, the dashboard's own UPDATE AVAILABLE banner never shows (the
// app's bar already nags about a skills/app mismatch and updates in one
// click, see docs/desktop-app.md), so this line would describe a banner the
// reader can never find and send them to a terminal the app's own button
// already makes unnecessary. Patched once, the first time Help opens, since
// page.inApp never changes for the session's life.
function renderUpdateHelp() {
if (!page.inApp) return;
$("help-update-text").replaceChildren(
"When the app and the installed skills fall out of step, its own top bar says so and offers ",
el("strong", null, "Update skills"),
", which brings them level in one click, no terminal needed."
);
}
// Same reasoning as ending.js's own close guide: the command still works
// under the app (its terminal panel runs the agent itself), just not in "a
// new conversation" that does not exist there.
function renderFinishingHelp() {
if (!page.inApp) return;
$("help-finishing-command-text").replaceChildren(
"Press ",
el("strong", null, "Copy"),
", then paste the command into the terminal panel below. When the next step is another Plan2Code step, the command already ends with ",
el("code", null, "--web"),
", which asks Plan2Code to open this page again, so you carry on here rather than in the terminal panel."
);
}
// Two more Finishing explainers that describe behavior already reworded for
// the app elsewhere (renderDashboardOffer's gone branch, the meter-fresh
// popover): kept in sync here so Help never teaches the classic-only version
// of something the screen itself no longer does under the app.
function renderFinishingDashboardHelp() {
if (!page.inApp) return;
$("help-finishing-dashboard-text").replaceChildren(
"A finished screen (never a paused one) has a ",
el("strong", null, "Back to the dashboard"),
" button. It turns this page back into the cards, in the same conversation, so the next step starts right here. Plan2Code listens for it for as long as the session is open. Once the session has closed, the app's own bar notices and offers to reconnect it, no command needed."
);
}
function renderFinishingContinueHelp() {
if (!page.inApp) return;
$("help-finishing-continue-text").replaceChildren(
"When the next step is another Plan2Code step, the Next step block also has a ",
el("strong", null, "Continue here"),
" button. It starts that step in this same conversation, the way a dashboard card would, with this page turning into the new step. It goes away once the session meter is red, because a long conversation is the reason to start a fresh one: press New Session at the top of the window instead."
);
}
// The Troubleshooting tab's own "getting a new link" recovery flow: classic
// only, since it ends with a command that prints a fresh browser link. Under
// the app there is no link to print or open: the bar's next-step slot and its
// Reconnect the console (app.js) already notice and bring the page back.
function renderStuckReconnectHelp() {
if (!page.inApp) return;
$("help-stuck-not-connected-ref").textContent = "the app's own bar notices and offers to reconnect it";
$("help-stuck-table-reconnect-text").textContent = "The app's own bar notices and offers Reconnect the console.";
$("help-stuck-reconnect-title").textContent = "Reconnecting";
$("help-stuck-reconnect-text").textContent =
"To get it back, press Reconnect the console in the app's own bar (it tries on its own first). Everything you typed, sent or not, is still there.";
// Not just .hidden: .handoff-command's own display:flex outranks the
// default [hidden] rule, so the element comes out of the DOM instead.
$("help-stuck-reconnect-command").remove();
}
// A handoff's "Copy for a new conversation" button is for carrying work to
// a wholly separate agent (another machine, another terminal); under the app
// that still works, but "a new conversation" is this one's own wording for
// what New Session does, so name that instead to avoid sounding like a
// second, missing feature.
function renderHandoffCopyHelp() {
if (!page.inApp) return;
$("help-handoff-copy-text").replaceChildren(
"A ",
el("strong", null, "Handoff"),
" is a note a step left when you stopped it with a handoff. It shows as a dashed chip after the specs. Pick one and the cards give way to a preview with its Next task and four buttons: ",
el("strong", null, "Pick it up here"),
" carries on in the same step and spec, ",
el("strong", null, "Read it all"),
" shows the whole note, ",
el("strong", null, "Copy for another session"),
" puts a ready prompt on the clipboard, for pasting into the terminal panel after a New Session or anywhere else you carry the work, and ",
el("strong", null, "Delete"),
" removes it. A picked-up handoff drops off the list, but stays in ",
el("code", null, "~/.plan2code/handoffs/"),
" until the 30-day sweep."
);
}
// The Ask tab's "carry away" prompt is meant to start a genuinely fresh,
// separate task: under the app that means pasting it into the terminal panel
// after a New Session, not into "a new conversation" that does not exist there.
function renderAskPromptHelp() {
if (!page.inApp) return;
$("help-ask-prompt-text").replaceChildren(
"When what you ask is really a new task, or you ask for a prompt, the answer ends with a ready-to-paste prompt in a box with a ",
el("strong", null, "Copy"),
" button. Press New Session for a clean context, then paste it into the terminal panel: it names the skill to use and the files to read, so nothing said here needs repeating."
);
}
// Matches ending.js's own renderStopping, which already says "paste into the
// terminal panel" under the app instead of "a new conversation".
// The Planny-poses catalog's own "Done" entry said the same "close the tab":
// there is no tab under the app, only the one window.
function renderPlannyDoneHelp() {
if (!page.inApp) return;
$("help-planny-done-text").textContent = "A green star and both arms up. The session is finished. You can close the window.";
}
function renderFinishingStopHelp() {
if (!page.inApp) return;
$("help-finishing-stop-text").replaceChildren(
el("strong", null, "Stop session"),
", at the top, ends the session and saves your place. Any answers you have ready go with it, and Plan2Code gives you a command to pick up where you left off, to paste into the terminal panel."
);
}
// A phrase that reads differently under the app carries its app wording in
// `data-app`, and the browser wording stays in the markup as it was. Whole
// paragraphs that differ are `.for-app` / `.for-browser` siblings instead,
// switched by help.css. Plain text only: anything with markup in it is a pair.
function renderAppWording(root) {
if (!page.inApp) return;
for (const node of root.querySelectorAll("[data-app]")) node.textContent = node.getAttribute("data-app");
}
let helpBuilt = false;
async function renderHelpVersion() {
@@ -162,7 +301,19 @@ export function selectHelpTab(id) {
}
export function openHelp() {
if (!helpBuilt) buildHelp();
if (!helpBuilt) {
buildHelp();
renderAppWording($("help-panels"));
renderUpdateHelp();
renderFinishingHelp();
renderFinishingDashboardHelp();
renderFinishingContinueHelp();
renderStuckReconnectHelp();
renderAskPromptHelp();
renderFinishingStopHelp();
renderPlannyDoneHelp();
renderHandoffCopyHelp();
}
const id = helpTabFor({
view: page.view,
dashboard: isDashboard(),