v3-orchestrator

This commit is contained in:
jparkerweb committed 2026-10-23 10:04:13 -07:00
1 parent 7a4b7c6db8
commit 681c4a4b85
27 files changed
+1138 -36

No files matched your search

+11
View File
@@ -66,3 +66,14 @@ connect();
setTimeout(() => {
if (!wakeHoldsChime) sound("sessionStart");
}, 0);
// Inside the desktop app's frame, tell the app this page drew. A frame the
// browser refused (or a server that died) never sends it, which is how the app
// tells a blocked page from a slow one. The message carries no data.
if (window.parent && window.parent !== window) {
try {
window.parent.postMessage({ plan2code: "console-ready" }, "*");
} catch {
/* no parent to tell */
}
}
+1 -1
View File
@@ -2610,7 +2610,7 @@
the editor on open. -->
<dialog class="modal notepad" id="notepad-modal" aria-labelledby="notepad-title">
<h2 id="notepad-title">Notebook</h2>
<p class="modal-blurb">A private space to keep track of notes, uploaded images related to your in-progress work on this project. Saved on this machine and <strong class="private-note">never shared to the AI Agent</strong>.</p>
<p class="modal-blurb">A private space to keep track of notes and uploaded images related to your in-progress work on this project. Saved on this machine and <strong class="private-note">never shared to the AI Agent</strong>.</p>
<div class="notepad-tabbar">
<div class="notepad-tabs" id="notepad-tabs" role="tablist" aria-label="Notebook tabs"></div>
<button type="button" class="btn small ghost notepad-tab-new" id="notepad-tab-new">+ New tab</button>
+2 -1
View File
@@ -11,7 +11,7 @@ import {
finish,
} from "../selectors.js";
import { hooks, page, redraw, saveNow } from "../state.js";
import { el, approvalTip, mdInto, releasesLink, copyButton } from "../render.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";
@@ -990,6 +990,7 @@ export function wireDashboard() {
$("update-done").addEventListener("click", () => $("update-modal").close());
$("delete-cancel").addEventListener("click", () => $("delete-modal").close());
$("handoff-close").addEventListener("click", () => $("handoff-modal").close());
lightDismiss($("handoff-modal"));
$("delete-go").addEventListener("click", deleteStep);
$("delete-name").addEventListener("input", () => {
$("delete-go").disabled = !deleteTarget || $("delete-name").value.trim() !== deleteTarget.name;
+2 -2
View File
@@ -161,8 +161,8 @@ export const SKILLS = Object.freeze([
builds: false, phased: false, metered: true, templates: false,
weight: 1, started: "Revise plan started", ran: "Plan revised", resume: "overview",
subagents: null,
states: ["documented", "building"],
greyed: { default: "Needs a spec that is already written up", built: "The spec is fully built" },
states: ["documented", "building", "built"],
greyed: { default: "Needs a spec that is already written up" },
card: {
group: "pipeline",
chip: "Step 1b",
+2 -1
View File
@@ -303,9 +303,10 @@
.handoff-preview-next { margin: 0 0 16px; font-size: 14px; color: var(--ink); }
.handoff-preview-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.handoff-preview-actions .btn.danger { margin-left: auto; }
.modal.handoff-read { max-width: 720px; }
.modal.handoff-read { width: min(960px, calc(100vw - 32px)); max-width: none; }
.modal.handoff-read[open] { display: flex; flex-direction: column; max-height: calc(100vh - 48px); }
.handoff-body { flex: 1; min-height: 0; overflow-y: auto; margin-top: 8px; }
.handoff-body.md { max-width: none; }
.modal.handoff-read .modal-actions { flex: none; }
/* A spec's Delete button sits beside its chip, not inside it: a button cannot