an open-source alternative to the dots, bots and muses of the world, run an office of claude code/codex like agents on your laptop, sandboxes or anywhere, uses your existing subscriptions
HTML agent-harnessagent-orchestrationagentsai-agentsautonomous-agentsclaude-codecodexcoding-agentsdesktop-appdeveloper-toolselectrongemini-cliharnessharness-engineeringlocal-firstmemorymulti-agentopencodeorchestrationtypescript
release: redesign the 0.4.5 drop in the landing site idiom, two pages, Pro announcement and Founders' year
Chaitanya Giri4b2f2c57c694
diff --git a/docs/drops/v0.4.5-release.md b/docs/drops/v0.4.5-release.mdindex 30951965..8f42e19a 100644--- a/docs/drops/v0.4.5-release.md+++ b/docs/drops/v0.4.5-release.md@@ -7,150 +7,310 @@ Messaging, routing, and remembering, coordinated by your clone, Michael, who you## What's new in 0.4.5-**Focus mode that survives a restart, terminals that follow the app theme, two new engines, and a-hive that wakes idle workers instead of letting mail pile up.** Plus the update notice itself now-says what restarting does, and gets out of the way when you click it.--- **Focus mode** (the thing we used to call fullscreen) comes back after a restart, survives- closing an agent, refits when the roster changes, and its close button no longer drops you- to the sidebar.-- **Terminals match the window.** The app answers the OSC colour queries, tells running TUIs- when the theme flips, and hands Crush and OpenCode the theme at spawn so they stop rendering- dark on light. A partial ANSI escape split across pty chunks no longer leaks into the text.-- **Gemini CLI and Cursor Agent** join the engine list.-- **Michael hires on his own terms.** Spawning is behind a setting, he picks a worker's avatar- and accent, and agent names can be edited after spin up.-- **Hive.** God's roster shows each agent's live context occupancy, a watchdog wakes idle workers- with undrained mail, mail to a missing inbox is bounced and logged instead of dropped, stale- nudges stop, the steer queue is capped, registry writes are atomic, and PROTOCOL.md refreshes- on boot so protocol changes reach existing hives.-- **Windows.** Agent processes no longer keep running after the app quits.-- **Updates.** Restart to update closes the notice first so the quit warning is never hidden- behind it; installs that cannot self update get a direct download for their platform.-- **Founders' Wall** is automated from Razorpay: additions arrive as a PR, refunds are removed- directly.+**The release that fixes the things you trusted and were quietly wrong.** Cost reporting was off+by more than half after a restart, semantic memory never worked on Apple Silicon, and agents+could not talk to each other reliably. All three are fixed. Plus weekday scheduling, clickable+paths everywhere, one editor instead of two, and 23 community pull requests.++- **Costs are reported right.** The telemetry counter reset on every app restart while the+ session id stayed the same, so the floor under reported spend by 59 percent. It is now folded+ from the ledger, with a separate session figure kept alongside.+- **Semantic memory works on Apple Silicon.** CoreML overflowed the quantized embedding graph,+ every vector came back NaN, and chroma rejected every upsert. Embeddings are pinned to CPU+ on macOS.+- **Agents talk to each other reliably.** An inbox wake watchdog, no more stale nudges, mail to+ a missing inbox is bounced and logged instead of dropped, a capped steer queue, atomic+ webhook dispatch, and PROTOCOL.md refreshes on boot.+- **Workers are reliable to hire.** Spawn, teardown, floor cards, and engine availability are+ all checked before a hire is committed.+- **The renderer runs inside Chromium's sandbox.**+- **Windows agents quit when the app does.**+- **Restart to update no longer gets stuck** when a running agent makes the app refuse to quit.+- **Triggers run on weekdays at a time of day,** not just on an interval, and they are DST safe.+- **Focus mode** survives a restart and you can edit an agent from inside it.+- **Every path in terminal output is clickable.** Markdown previews, source opens in the editor,+ images and unknown types reveal in Finder or Explorer.+- **One editor.** The fullscreen file overlay is gone, everything opens in the IDE, and the git+ rail is collapsed by default.+- **Terminals follow the window theme,** Gemini CLI and Cursor Agent join the engine list, and+ Michael hires on his own terms with editable agent names.++### A note on Pro++After v0.5.0 goes stable we start maintaining a Pro version of Munder Difflin alongside the+community version. Community stays free, stays open, and keeps getting updates. Pro adds extra+features and integrations for power users and anyone who wants to take AI as far as it goes.+Everyone on the Founders' Wall gets their first year of Pro free.### Thanks-Community work in this release: [@gts-47](https://github.com/gts-47) and everyone whose PRs-landed on the integration branch. The full list is in CHANGELOG.md.+23 community pull requests landed in this release. Thank you to everyone who opened one,+reviewed one, or filed the bug that led to one. The full list is in CHANGELOG.md.---<!-- drop --><style>- html, body { height: 100%; }- body { overflow: hidden; }- .wrap { height: 100%; display: flex; flex-direction: column;- padding: clamp(22px, 4vw, 40px) clamp(22px, 4vw, 40px) clamp(14px, 2vw, 22px); }- .scroll { flex: 1; min-height: 0; overflow-y: auto; padding-right: 4px; }+ /* Self-contained on purpose. This page is rendered by the app people already+ have (0.4.4), whose frame knows nothing about the landing site palette, so+ every token, font and shadow is declared here rather than inherited. */+ @import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600&family=JetBrains+Mono:wght@400;500;600;700&display=swap");+ :root {+ --paper: #FFFDF7; --cream: #F5F2E8; --cream-2: #F5ECD7; --white: #FFFFFF;+ --ink: #1B1B1B; --ink-dim: #57544C; --ink-faint: #8A867A;+ --yellow: #FFCA54; --sky: #72C2DF; --maroon: #B23A4E;+ --lilac: #E4DEFB; --peach: #FBDDBE; --mint: #D6F3E1; --sky-soft: #DCEFF7;+ --line: rgba(27,27,27,0.16);+ --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;+ --sans: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;+ }+ html, body { height: 100%; margin: 0; }+ body { overflow: hidden; background: var(--paper); color: var(--ink); font-family: var(--sans);+ font-size: 14.5px; line-height: 1.5; -webkit-font-smoothing: antialiased; }+ * { box-sizing: border-box; }++ /* Two pages, no JavaScript. Radio inputs plus :checked ~ sibling selectors do+ the paging; a <label for> is a real click target inside the sandbox. */+ .pg { position: absolute; opacity: 0; pointer-events: none; }+ .stage { height: 100%; position: relative; }+ .page { display: none; height: 100%; flex-direction: column; position: relative;+ padding: clamp(20px, 3.6vw, 32px) clamp(20px, 4vw, 34px) clamp(14px, 2.2vw, 20px); }+ #pg1:checked ~ .stage .p1,+ #pg2:checked ~ .stage .p2 { display: flex; }@media (prefers-reduced-motion: no-preference) {- .rise { animation: rise .4s cubic-bezier(.2,.7,.3,1) both; }- .rise.d1 { animation-delay: .08s } .rise.d2 { animation-delay: .16s } .rise.d3 { animation-delay: .24s }+ #pg1:checked ~ .stage .p1,+ #pg2:checked ~ .stage .p2 { animation: rise .38s cubic-bezier(.2,.7,.3,1) both; }@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }}+ .content { flex: 1; min-height: 0; overflow-y: auto; padding: 0 12px 10px 0; }+ .content::-webkit-scrollbar { width: 8px; }+ .content::-webkit-scrollbar-thumb { background: var(--ink); }+ .content::-webkit-scrollbar-track { background: var(--cream); }+ .p1 .content { display: flex; flex-direction: column; justify-content: center; }++ /* Dotted paper grid behind the hero page, same as the site. */+ .p1 { background: radial-gradient(var(--ink-faint) 1px, transparent 1px) 0 0 / 22px 22px var(--paper); }+ .p1::before { content: ""; position: absolute; inset: 0; pointer-events: none;+ background: radial-gradient(ellipse at 50% 40%, rgba(255,253,247,0) 25%, var(--paper) 85%); }+ .p1 > * { position: relative; }++ .eyebrow { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .26em;+ text-transform: uppercase; color: var(--ink-faint); margin: 0 0 12px; }+ h1 { font-family: var(--mono); font-weight: 600; letter-spacing: -.04em; line-height: 1.06;+ font-size: clamp(1.55rem, 4.4vw, 2.25rem); margin: 0 0 .5em; text-wrap: balance; }+ h1 .hl { color: var(--sky); }+ h1 .mr { color: var(--maroon); }+ .lede { font-size: clamp(.92rem, 1.8vw, 1.02rem); line-height: 1.55; color: var(--ink-dim);+ max-width: 60ch; margin: 0 0 18px; text-wrap: pretty; }+ .lede b, .card p b, .thanks p b, .foot b { color: var(--ink); font-weight: 600; }++ /* Cards: white or pastel, bold ink border, hard offset shadow. No radius. */+ .card { background: var(--white); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);+ padding: 14px 16px 13px; border-radius: 0; }+ .card.lilac { background: var(--lilac); } .card.mint { background: var(--mint); }+ .card.peach { background: var(--peach); } .card.sky { background: var(--sky-soft); }+ .tag { display: inline-block; font-family: var(--mono); font-size: 9.5px; font-weight: 700;+ letter-spacing: .14em; text-transform: uppercase; background: var(--ink); color: var(--paper);+ padding: 4px 8px; }+ .card h2 { font-family: var(--mono); font-size: .98rem; letter-spacing: -.02em; font-weight: 600;+ margin: 9px 0 4px; line-height: 1.2; }+ .card p { font-size: 12.8px; line-height: 1.5; color: var(--ink-dim); margin: 0; }++ .two { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 2px 0 0; }++ /* The wall ribbon: the site's dark band. */+ .band { display: flex; align-items: center; gap: 16px; padding: 13px 16px;+ background: var(--ink) radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px) 0 0 / 14px 14px;+ color: var(--paper); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }+ .band .yr { font-family: var(--mono); font-size: 2.6rem; font-weight: 700; letter-spacing: -.05em;+ line-height: .9; color: var(--yellow); flex-shrink: 0; text-align: center; }+ .band .yr small { display: block; font-size: 9px; letter-spacing: .2em; font-weight: 500;+ color: var(--paper); opacity: .7; margin-top: 6px; }+ .band b { display: block; font-family: var(--mono); font-size: 13.5px; font-weight: 600; margin-bottom: 3px; }+ .band span { font-size: 12.5px; line-height: 1.45; opacity: .85; }++ /* Nav. The big next button sits centered at the bottom. */+ .nav { flex-shrink: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;+ gap: 12px; padding-top: 12px; margin-top: 12px; border-top: 2px solid var(--ink); }+ .nav .l { justify-self: start; } .nav .r { justify-self: end; }+ .btn { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none;+ font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--ink);+ background: var(--white); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);+ padding: 10px 16px; text-decoration: none; white-space: nowrap; border-radius: 0;+ transition: transform .12s, box-shadow .12s; }+ .btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }+ .btn:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink); }+ .btn.primary { background: var(--yellow); font-size: 14.5px; padding: 13px 28px; }+ .btn.sm { font-size: 12px; padding: 7px 12px; box-shadow: 3px 3px 0 var(--ink); }+ .btn.sm:hover { box-shadow: 4px 4px 0 var(--ink); }+ .step { font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; color: var(--ink-faint);+ text-transform: uppercase; }++ /* Page two: the list. */+ .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 2px; }+ .grid .card { box-shadow: 4px 4px 0 var(--ink); padding: 12px 14px 11px; }+ .grid .card h2 { font-size: .92rem; margin: 8px 0 3px; }+ .grid .card p { font-size: 12.3px; }+ h3 { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .26em;+ text-transform: uppercase; color: var(--ink-faint); margin: 20px 0 6px; }+ .rows { list-style: none; padding: 0; margin: 0; }+ .rows li { display: grid; grid-template-columns: 70px 1fr; gap: 10px; align-items: baseline;+ padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 12.8px; }+ .rows i { font-style: normal; font-family: var(--mono); font-size: 9.5px; font-weight: 700;+ letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }+ .rows b { font-weight: 600; }+ .rows p { margin: 1px 0 0; color: var(--ink-dim); font-size: 12px; line-height: 1.45; }++ .thanks { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center;+ margin-top: 18px; padding: 12px 14px; background: var(--cream-2); border: 3px solid var(--ink);+ box-shadow: 4px 4px 0 var(--ink); }+ .thanks .n { font-family: var(--mono); font-size: 2.2rem; font-weight: 700; letter-spacing: -.05em;+ line-height: .9; color: var(--maroon); text-align: center; }+ .thanks .n small { display: block; font-size: 9px; letter-spacing: .2em; color: var(--ink-faint);+ font-weight: 500; margin-top: 5px; }+ .thanks p { font-size: 12.8px; line-height: 1.5; color: var(--ink-dim); margin: 0; }++ /* Links in this frame cannot open in the app (the frame is sealed), so each+ one is written as something you can read and type, and still a real <a> for+ the github.com release page where it does open. */+ .meet { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }+ .meet .card { box-shadow: 4px 4px 0 var(--ink); padding: 12px 14px; }+ .meet .card h2 { margin-top: 7px; }+ .meet .url { display: inline-block; margin-top: 6px; font-family: var(--mono); font-size: 12px;+ font-weight: 600; color: var(--ink); text-decoration: none; background: var(--white);+ border: 2px solid var(--ink); padding: 4px 8px; box-shadow: 3px 3px 0 var(--ink); }+ .meet .url:hover { color: var(--maroon); }+ .foot { font-size: 12px; color: var(--ink-dim); text-align: center; margin: 16px 0 0; }- .kicker { font-size: 11.5px; font-weight: 700; letter-spacing: .14em;- text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }- .big { font-size: clamp(2.6rem, 8vw, 4.2rem); line-height: .95; letter-spacing: -.045em;- font-weight: 700; margin: 0 0 .15em;- background: linear-gradient(135deg, #14131A 20%, #1B7F5A 115%);- -webkit-background-clip: text; background-clip: text; color: transparent; }- .lede { font-size: clamp(1rem, 2vw, 1.15rem); margin: 0 0 18px; max-width: 34em; }-- .plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }- .plan { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }- .tag { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .1em;- text-transform: uppercase; color: var(--accent);- background: rgba(27,127,90,.09); padding: 4px 9px; border-radius: 999px; }- .plan h2 { margin: 8px 0 2px; font-size: 1.15rem; letter-spacing: -.02em; }- .plan .sub { font-size: 12.5px; color: var(--ink-soft); margin: 0 0 8px; }- .plan ul { list-style: none; padding: 0; margin: 0; }- .plan li { font-size: 13px; padding: 4px 0 4px 18px; position: relative; }- .plan li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 8px; height: 8px;- border-radius: 999px; background: var(--accent); }-- .ribbon { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 13px 16px;- border-radius: var(--radius); background: var(--ink); color: #FBFAF8; }- .ribbon .yr { font-size: 2rem; font-weight: 700; letter-spacing: -.04em; line-height: 1;- color: #F2C14E; flex-shrink: 0; }- .ribbon b { font-size: 1rem; letter-spacing: -.01em; }- .ribbon span { font-size: 12.5px; opacity: .78; }-- h3 { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;- color: var(--ink-soft); margin: 22px 0 6px; }- .rows { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 22px; }- .rows li { break-inside: avoid; display: grid; grid-template-columns: 78px 1fr; gap: 10px;- align-items: baseline; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 13px; }- .rows i { font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .09em;- text-transform: uppercase; color: var(--ink-soft); }- .rows b { font-weight: 620; }- .rows p { margin: 1px 0 0; color: var(--ink-soft); font-size: 12px; }-- .foot { flex-shrink: 0; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line);- font-size: 12.5px; color: var(--ink-soft); text-align: center; }- .foot b { color: var(--ink); font-weight: 640; }- @media (max-width: 640px) { .plans { grid-template-columns: 1fr; } .rows { columns: 1; } }+ @media (max-width: 560px) {+ .grid, .meet { grid-template-columns: 1fr; }+ .nav { grid-template-columns: 1fr; justify-items: center; }+ .nav .l, .nav .r { justify-self: center; }+ }</style>-<div class="wrap">- <div class="scroll">- <p class="kicker rise">Munder Difflin</p>- <h1 class="big rise">0.4.5</h1>- <p class="lede rise d1">Focus mode that stays put, terminals that match the window, two new- engines, and a hive that wakes the workers who have mail waiting.</p>-- <div class="plans rise d2">- <div class="plan">- <span class="tag">Focus mode</span>- <h2>One agent, the whole window</h2>- <p class="sub">We stopped calling it fullscreen, because it never was.</p>- <ul>- <li>Comes back after a restart, and is remembered as your default view</li>- <li>Closing an agent moves focus to the next one instead of ending the view</li>- <li>The terminal refits when the roster changes, so the last row is never hidden</li>- </ul>- </div>- <div class="plan">- <span class="tag">Terminal</span>- <h2>TUIs follow the window</h2>- <p class="sub">Light on light, dark on dark, and told when it flips.</p>- <ul>- <li>Claude Code, Crush and OpenCode get the app theme at spawn and on every toggle</li>- <li>OSC colour queries are answered, so a TUI can ask instead of guessing</li>- <li>An ANSI sequence split across two chunks is carried over and stripped whole</li>- </ul>+<input class="pg" type="radio" name="pg" id="pg1" checked>+<input class="pg" type="radio" name="pg" id="pg2">++<div class="stage">++ <section class="page p1">+ <div class="content">+ <p class="eyebrow">Munder Difflin · v0.4.5</p>+ <h1>Thanks for building <span class="hl">while you do your thing.</span></h1>+ <p class="lede">If you have been running Munder Difflin for a while, this one is for you.+ You are not reading about agents that work on their own, <b>you already have a floor of+ them on your machine.</b> Most people are still waiting for this to show up. You are+ shipping with it. That puts you well ahead, and we are glad it is you.</p>++ <div class="two">+ <div class="card lilac">+ <span class="tag">Announcement</span>+ <h2>Munder Difflin Pro is coming.</h2>+ <p>After <b>v0.5.0</b> goes stable, we start maintaining a Pro version alongside the+ community one. <b>Community stays free, stays open, and keeps getting updates.</b>+ Pro adds extra features and integrations for power users, and for anyone who wants+ to take AI as far as it goes.</p>+ </div>+ <div class="band">+ <div class="yr">1<small>YEAR FREE</small></div>+ <div><b>On the Founders' Wall?</b>+ <span>Everyone on the wall gets their first year of Munder Difflin Pro on us. No+ code, no form. It is already yours.</span></div>+ </div></div></div>+ <div class="nav">+ <span class="l step">01 / 02</span>+ <label class="btn primary" for="pg2">See what's new in 0.4.5 →</label>+ <span class="r step"> </span>+ </div>+ </section>++ <section class="page p2">+ <div class="content">+ <p class="eyebrow">What's new in 0.4.5</p>+ <h1>The things you trusted <span class="mr">and were quietly wrong.</span></h1>+ <p class="lede">Three fixes lead this release, and each one was under reporting, failing+ silently, or both. Then a solid list of things that are simply new.</p>- <div class="ribbon rise d3">- <div class="yr">+2</div>- <div><b>Gemini CLI and Cursor Agent are on the floor.</b><br>- <span>Hire either like any other engine. Michael can pick them too, now that his hiring- sits behind a setting and he chooses each worker's avatar and accent himself.</span></div>+ <div class="grid">+ <div class="card mint">+ <span class="tag">Costs</span>+ <h2>Spend is reported right.</h2>+ <p>The counter reset on every app restart while the session id stayed the same, so the+ floor under reported by <b>59 percent</b>. It is now folded from the ledger, with a+ session figure kept alongside.</p>+ </div>+ <div class="card sky">+ <span class="tag">Memory</span>+ <h2>Semantic memory on Apple Silicon.</h2>+ <p>CoreML overflowed the embedding graph, every vector came back NaN, and nothing was+ ever stored. Embeddings now run on CPU on macOS, so recall actually recalls.</p>+ </div>+ <div class="card peach">+ <span class="tag">Hive</span>+ <h2>Agents talk to each other, reliably.</h2>+ <p>A watchdog wakes idle workers with mail waiting, stale nudges stop, mail to a missing+ inbox bounces instead of vanishing, and webhook dispatch is atomic.</p>+ </div>+ <div class="card">+ <span class="tag">Security</span>+ <h2>The renderer runs in Chromium's sandbox.</h2>+ <p>Privileged work stays behind the bridge. Release pages like this one render in a+ sealed frame with no scripts at all.</p>+ </div>+ </div>++ <h3>Also new</h3>+ <ul class="rows">+ <li><i>Triggers</i><div><b>Schedule on weekdays at a time of day</b>+ <p>Not just on an interval, and DST safe by construction.</p></div></li>+ <li><i>Terminal</i><div><b>Every path in output is clickable</b>+ <p>Markdown previews, source opens in the editor, everything else reveals in Finder or Explorer.</p></div></li>+ <li><i>Editor</i><div><b>One editor, not two</b>+ <p>The fullscreen overlay is gone. Everything opens in the IDE, git rail collapsed by default.</p></div></li>+ <li><i>Focus</i><div><b>Focus mode survives a restart</b>+ <p>And you can edit an agent without leaving it.</p></div></li>+ <li><i>Workers</i><div><b>Hiring is reliable</b>+ <p>Spawn, teardown, floor cards and engine checks happen before a hire is committed.</p></div></li>+ <li><i>Updates</i><div><b>Restart to update no longer gets stuck</b>+ <p>A refused quit used to leave the button disabled forever.</p></div></li>+ <li><i>Windows</i><div><b>Quitting the app quits the agents</b></div></li>+ <li><i>Engines</i><div><b>Gemini CLI and Cursor Agent join the floor</b></div></li>+ <li><i>Terminal</i><div><b>TUIs follow the window theme</b></div></li>+ <li><i>Agents</i><div><b>Michael hires on his own terms, and names are editable</b></div></li>+ </ul>++ <div class="thanks">+ <div class="n">23<small>PULL REQUESTS</small></div>+ <p><b>Thank you to every contributor.</b> 23 community pull requests landed in this+ release. If you opened one, reviewed one, or filed the bug that led to one, this version+ has your fingerprints on it. The full list is in the release notes on GitHub.</p>+ </div>++ <div class="meet">+ <div class="card">+ <span class="tag">Star</span>+ <h2>If this has been useful, a star is the whole marketing budget.</h2>+ <p>The <b>⭐ Star us on GitHub</b> button is just below this page.</p>+ </div>+ <div class="card sky">+ <span class="tag">Discord</span>+ <h2>Come hang out.</h2>+ <p>Questions, floor screenshots, and a role when your PR lands.</p>+ <a class="url" href="https://discord.gg/SEDzP5ZPk5" target="_blank" rel="noopener">discord.gg/SEDzP5ZPk5</a>+ </div>+ </div>+ <p class="foot"><b>Restart to update</b> closes the app and every running agent, so finish or+ pause what they are doing first. <b>Later</b> keeps the update waiting until you are ready.</p>+ </div>+ <div class="nav">+ <label class="btn sm l" for="pg1">← Back</label>+ <span class="step">02 / 02</span>+ <span class="r step"> </span></div>+ </section>- <h3>Also in this release</h3>- <ul class="rows">- <li><i>Agents</i><div><b>Rename an agent after spin up</b>- <p>Typed names map to avatars; the add agent sheet labels the real project.</p></div></li>- <li><i>Hive</i><div><b>God sees each agent's context occupancy</b>- <p>A ctx NN% tag on the roster, and big work goes to the agent with room.</p></div></li>- <li><i>Hive</i><div><b>Idle workers are woken when mail waits</b>- <p>Mail to a missing inbox bounces instead of vanishing; stale nudges stop.</p></div></li>- <li><i>Hive</i><div><b>PROTOCOL.md refreshes on boot</b>- <p>Protocol changes reach hives that already exist.</p></div></li>- <li><i>Hive</i><div><b>God hired workers get a floor card, and it archives on death</b></div></li>- <li><i>Windows</i><div><b>Quitting the app quits the agents</b></div></li>- <li><i>Setup</i><div><b>Your engine is checked before the pick is committed</b></div></li>- <li><i>Config</i><div><b>A tilde in a saved path expands at every seam</b></div></li>- <li><i>Antigravity</i><div><b>The queue no longer sticks for 30 seconds</b></div></li>- <li><i>Updates</i><div><b>Portable installs get a direct download for their platform</b></div></li>- <li><i>Wall</i><div><b>The Founders' Wall syncs from Razorpay</b></div></li>- <li><i>Community</i><div><b>A Discord, and a role when your PR lands</b></div></li>- </ul>- </div>- <p class="foot"><b>Restart to update</b> closes the app and every running agent, so finish or- pause what they are doing first. Pick Later and it installs the next time you quit.</p></div><!-- /drop -->diff --git a/src/renderer/src/components/ReleaseDrop.tsx b/src/renderer/src/components/ReleaseDrop.tsxindex deef3722..eb67d507 100644--- a/src/renderer/src/components/ReleaseDrop.tsx+++ b/src/renderer/src/components/ReleaseDrop.tsx@@ -1,31 +1,37 @@/**- * The release drop — a centered, full-bleed "what's new" moment.+ * The release drop: a centered, full-bleed "what's new" moment.** A corner toast with three clipped bullets is a changelog notification. This is* the other thing: a page the release author designs, shown once, at the size the* work deserves.*+ * The chrome follows the landing site (docs/DESIGN.md), not the app's pixel+ * idiom and not a generic rounded sheet: warm paper, square corners, a thick+ * ink border, a hard offset shadow with no blur, and a dark mono title bar with+ * three square dots. It is the `.win` window from munderdiffl.in, so the moment+ * a user opens the drop it reads as the same product they downloaded from.+ ** There is NO chrome button here, on purpose. The app frames the drop and gets- * out of the way; every action the release wants to offer — read the notes, star- * the repo, join the Discord — is authored INSIDE the HTML as an ordinary link,+ * out of the way; every action the release wants to offer (read the notes, star+ * the repo, join the Discord) is authored INSIDE the HTML as an ordinary link,* where the person writing the release controls the wording and the placement.** The authored HTML runs in an iframe with a `default-src 'none'` CSP and a* sandbox that grants exactly one capability: `allow-popups` (see* shared/releaseDrop.ts for why everything else stays shut). That is what makes- * an authored `<a target="_blank">` work — the frame cannot navigate anything+ * an authored `<a target="_blank">` work: the frame cannot navigate anything* itself, it can only ASK for a window, and main's setWindowOpenHandler denies* the window and hands the URL to the OS browser if and only if it is http(s).* No scripts, no same-origin, no forms, no top-level navigation.** One consequence still shapes the layout: the frame's height cannot be measured* (that needs a postMessage bridge, which needs allow-scripts). So the modal is a- * fixed viewport-relative box and the drop scrolls inside it, rather than the box- * growing to fit.+ * fixed viewport-relative box and the drop pages itself inside it, rather than+ * the box growing to fit.*- * Dismissal is Esc or a click on the backdrop. Both were always here; with the- * close button gone the header says so in words, because a modal this large with- * no visible way out is a trap.+ * Dismissal is Esc, the title bar's close, or a click on the backdrop. A modal+ * this large with no visible way out is a trap, so the close is a real control+ * out here even though the drop itself holds none.*/import { useEffect, useMemo } from 'react';import { buildDropSrcDoc } from '../../../shared/releaseDrop';@@ -37,76 +43,106 @@ export interface ReleaseDropProps {onDismiss: () => void;}+// Landing site palette (docs/DESIGN.md §2). Restated here because the modal is+// app chrome and cannot reach the site's stylesheet; kept in one place so the+// frame's tokens in shared/releaseDrop.ts and this chrome never drift apart.+const PAPER = '#FFFDF7';+const INK = '#1B1B1B';+const INK_FAINT = '#8A867A';+const YELLOW = '#FFCA54';+const MONO = '"JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace';+export function ReleaseDrop({ version, html, onDismiss }: ReleaseDropProps) {const srcDoc = useMemo(() => buildDropSrcDoc(html), [html]);- // Esc dismisses. A modal this large with no keyboard exit feels like a trap,- // and "later" is always a legitimate answer to an update.+ // Esc dismisses. "Later" is always a legitimate answer to an update.useEffect(() => {const onKey = (e: KeyboardEvent) => { if (e.key === 'Escape') onDismiss(); };window.addEventListener('keydown', onKey);return () => window.removeEventListener('keydown', onKey);}, [onDismiss]);- // The chrome deliberately drops the app's pixel idiom. Inside this dialog the- // drop is the subject and the surrounding UI should read as a quiet frame- // around it — sharp 2px borders and hard drop-shadows fight a modern page.- const INK_SOFT = '#6C6875';- const LINE = 'rgba(20,19,26,0.10)';-return (<div- // Backdrop. Clicking it dismisses — same meaning as "later".+ // Backdrop. Clicking it dismisses, same meaning as "later". Warm ink over+ // the app with the site's dotted paper grid, so the window sits on paper+ // rather than floating in a grey void.onClick={onDismiss}style={{- position: 'fixed', inset: 0, zIndex: 500,- background: 'rgba(26,19,32,0.55)',+ position: 'fixed', inset: 0, zIndex: 600,+ background:+ 'radial-gradient(rgba(255,253,247,0.16) 1px, transparent 1px) 0 0 / 22px 22px, rgba(27,27,27,0.72)',display: 'flex', alignItems: 'center', justifyContent: 'center',- padding: 24,- // Same lesson as the onboarding overlay: center with auto margins on the- // child, and let the overlay scroll, so a tall dialog is never clipped- // at the top where it cannot be scrolled back to.+ padding: 28,+ // Center with auto margins on the child and let the overlay scroll, so a+ // tall dialog is never clipped at the top where it cannot be scrolled+ // back to.overflowY: 'auto'}}><div+ role="dialog"+ aria-label={`What's new in Munder Difflin ${version}`}onClick={(e) => e.stopPropagation()}style={{margin: 'auto',- // Roughly 1:1 at 80% of the viewport height. Deriving the width FROM the- // height is what keeps it square as the window changes; `min(…, 94vw)`- // is the escape hatch for a window too narrow to hold a square that- // tall, where it becomes a portrait sheet rather than overflowing.- height: '80vh',- width: 'min(80vh, 94vw)',- minHeight: 380,+ // A landscape window, like the site's hero frame, not a square card.+ // Width is derived from height so the shape holds as the window+ // resizes; `min(…, 92vw)` is the escape hatch for a narrow window.+ height: 'min(82vh, 720px)',+ width: 'min(calc(82vh * 1.28), 92vw, 920px)',+ minHeight: 420,display: 'flex', flexDirection: 'column',- background: '#FBFAF8',- // Soft, modern elevation — not the app's pixel drop-shadow. The drop is- // an authored artifact presented BY the app, not a piece of its chrome.- borderRadius: 20,- overflow: 'hidden', // so the frame's corners are clipped to the radius- boxShadow: '0 24px 70px rgba(20,19,26,0.34), 0 2px 8px rgba(20,19,26,0.18)',- // The app's own UI font is part of its pixel identity and reads as- // retro chrome wrapped around a modern page. The dialog uses the system- // stack instead, matching the drop inside it — one typographic voice.- fontFamily: '-apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", system-ui, sans-serif'+ background: PAPER,+ // The neo-brutalist window: square, 3px ink border, hard 10px offset+ // shadow with no blur. Depth comes from the offset, not elevation.+ border: `3px solid ${INK}`,+ borderRadius: 0,+ boxShadow: `12px 12px 0 ${INK}`,+ overflow: 'hidden',+ fontFamily: MONO}}>- {/* Header — a thin, quiet bar. The drop supplies its own title, and the- only thing out here is a label plus how to leave. Both are inert- text: the whole point of this dialog is that it holds no controls. */}+ {/* Title bar: the site's `.win` header. Dark band, three square dots,+ white mono title, and the only control the chrome owns: close. */}<div style={{- flexShrink: 0, display: 'flex', alignItems: 'center', gap: 10,- padding: '14px 18px 12px', borderBottom: `1px solid ${LINE}`,- background: '#FBFAF8',- fontSize: 11.5, fontWeight: 600, letterSpacing: '.1em',- textTransform: 'uppercase', color: INK_SOFT+ flexShrink: 0, display: 'flex', alignItems: 'center', gap: 12,+ padding: '10px 14px', background: INK, color: PAPER,+ borderBottom: `3px solid ${INK}`}}>- <span style={{ flex: 1, minWidth: 0 }}>Munder Difflin · {version}</span>- <span aria-hidden style={{ flexShrink: 0, opacity: 0.75, letterSpacing: '.08em' }}>- Esc to close+ <span aria-hidden style={{ display: 'flex', gap: 6, flexShrink: 0 }}>+ <i style={{ width: 10, height: 10, background: YELLOW, display: 'block' }} />+ <i style={{ width: 10, height: 10, background: '#72C2DF', display: 'block' }} />+ <i style={{ width: 10, height: 10, background: '#B23A4E', display: 'block' }} />+ </span>+ <span style={{+ flex: 1, minWidth: 0, fontSize: 12, fontWeight: 700, letterSpacing: '.08em',+ textTransform: 'uppercase', whiteSpace: 'nowrap', overflow: 'hidden',+ textOverflow: 'ellipsis'+ }}>+ Munder Difflin <span style={{ color: YELLOW }}>v{version.replace(/^v/, '')}</span>+ <span style={{ color: INK_FAINT, fontWeight: 500, marginLeft: 10, letterSpacing: '.12em' }}>+ / release notes+ </span>+ </span>+ <span aria-hidden style={{+ flexShrink: 0, fontSize: 11, fontWeight: 500, letterSpacing: '.12em',+ color: INK_FAINT, textTransform: 'uppercase'+ }}>+ esc</span>+ <button+ onClick={onDismiss}+ aria-label="Close release notes"+ title="Close (Esc)"+ style={{+ flexShrink: 0, width: 26, height: 26, padding: 0,+ background: PAPER, color: INK, border: `2px solid ${PAPER}`,+ borderRadius: 0, cursor: 'pointer',+ fontFamily: MONO, fontSize: 13, fontWeight: 700, lineHeight: 1,+ display: 'flex', alignItems: 'center', justifyContent: 'center'+ }}+ >✕</button></div>{/* The drop itself. `allow-popups` is the ONLY grant: it is what lets an@@ -119,7 +155,7 @@ export function ReleaseDrop({ version, html, onDismiss }: ReleaseDropProps) {referrerPolicy="no-referrer"style={{flex: 1, minHeight: 0, width: '100%', border: 'none',- background: '#FBFAF8'+ background: PAPER}}/></div>diff --git a/src/shared/releaseDrop.ts b/src/shared/releaseDrop.tsindex 44d3919c..fa9663de 100644--- a/src/shared/releaseDrop.ts+++ b/src/shared/releaseDrop.ts@@ -83,22 +83,44 @@ function stripActiveContent(html: string): string {* here — an author writing `var(--ink)` gets the app's palette for free, while* a fully bespoke drop can ignore them entirely. */const FRAME_BASE_CSS = `+ /* The landing site palette (docs/DESIGN.md §2): warm paper, near-black ink,+ one yellow CTA, sky for a highlighted phrase, maroon for the brand. Square+ corners and hard offset shadows are the look; --radius is 0 on purpose.+ --accent and --line are kept as aliases so older drops still resolve. */:root {- --paper: #FBFAF8; /* clean off-white — the page, not the app chrome */- --ink: #14131A;- --ink-soft: #6C6875;- --line: rgba(20,19,26,0.10);- --accent: #1B7F5A;- --radius: 16px;- --pad: clamp(28px, 5.2vw, 60px);- --font-ui: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", system-ui, sans-serif;+ --paper: #FFFDF7;+ --cream: #F5F2E8;+ --cream-2: #F5ECD7;+ --white: #FFFFFF;+ --ink: #1B1B1B;+ --ink-dim: #57544C;+ --ink-faint: #8A867A;+ --ink-soft: #57544C;+ --yellow: #FFCA54;+ --sky: #72C2DF;+ --maroon: #B23A4E;+ --lilac: #E4DEFB; --peach: #FBDDBE; --mint: #D6F3E1;+ --tan: #F1E6CC; --rose: #FBE0DF; --sky-soft: #DCEFF7;+ --accent: #B23A4E;+ --line: rgba(27,27,27,0.16);+ --border: 2px solid var(--ink);+ --border-bold: 3px solid var(--ink);+ --shadow-card: 10px 10px 0 var(--ink);+ --shadow-card-sm: 6px 6px 0 var(--ink);+ --shadow-btn: 4px 4px 0 var(--ink);+ --shadow-chip: 3px 3px 0 var(--ink);+ --radius: 0px;+ --pad: clamp(24px, 4.5vw, 48px);+ --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;+ --font-sans: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;+ --font-ui: var(--font-sans);}* { box-sizing: border-box; }html, body { margin: 0; padding: 0; }body {background: var(--paper); color: var(--ink);- font-family: var(--font-ui);- font-size: 16px; line-height: 1.55;+ font-family: var(--font-sans);+ font-size: 15px; line-height: 1.55;-webkit-font-smoothing: antialiased;/* The frame owns scrolling: the modal chrome around it stays put while atall drop scrolls, which is what makes a long launch page workable in a@@ -106,46 +128,49 @@ const FRAME_BASE_CSS = `overflow-x: hidden;}- /* The default layout. An author who writes nothing but semantic HTML — an- eyebrow, an h1, a lede, a <ul class="features"> — gets the designed result+ /* The default layout. An author who writes nothing but semantic HTML, an+ eyebrow, an h1, a lede, a <ul class="features">, gets the designed resultwithout writing a line of CSS. Everything here is overridable. */.drop { padding: var(--pad); max-width: 780px; margin: 0 auto; }.eyebrow {- font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;- color: var(--accent); margin: 0 0 14px;+ font-family: var(--font-mono);+ font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;+ color: var(--ink-faint); margin: 0 0 14px;}+ h1, h2, h3 { font-family: var(--font-mono); }h1 {- font-size: clamp(2rem, 5.2vw, 3.1rem); line-height: 1.04;- letter-spacing: -0.033em; font-weight: 680; margin: 0 0 .35em;+ font-size: clamp(1.9rem, 5vw, 2.9rem); line-height: 1.04;+ letter-spacing: -0.04em; font-weight: 600; margin: 0 0 .35em;text-wrap: balance;}h2 {- font-size: clamp(1.15rem, 2.4vw, 1.45rem); line-height: 1.2;- letter-spacing: -0.018em; font-weight: 650; margin: 0 0 .3em;+ font-size: clamp(1.1rem, 2.4vw, 1.4rem); line-height: 1.15;+ letter-spacing: -0.03em; font-weight: 600; margin: 0 0 .3em;}.lede {- font-size: clamp(1rem, 1.9vw, 1.2rem); line-height: 1.5;- color: var(--ink-soft); max-width: 54ch; margin: 0 0 2.2em;+ font-size: clamp(1rem, 1.9vw, 1.15rem); line-height: 1.5;+ color: var(--ink-dim); max-width: 58ch; margin: 0 0 2em;text-wrap: pretty;}p { margin: 0 0 1em; }- a { color: var(--accent); }- hr { border: none; border-top: 1px solid var(--line); margin: 2.4em 0; }+ a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }+ a:hover { color: var(--maroon); }+ hr { border: none; border-top: 2px solid var(--ink); margin: 2.2em 0; }- /* Feature list — stacked rows, each with its own media block. */- ul.features { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(30px, 5vw, 52px); }- ul.features > li { display: grid; gap: 16px; }- ul.features p { color: var(--ink-soft); margin: 0; max-width: 58ch; }+ /* Feature list: stacked rows, each with its own media block. */+ ul.features { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(28px, 5vw, 48px); }+ ul.features > li { display: grid; gap: 14px; }+ ul.features p { color: var(--ink-dim); margin: 0; max-width: 58ch; }/* Media. Images, video and the placeholder all share one silhouette so a dropbuilt with placeholders looks identical once real assets land. */img, video, canvas, svg, .placeholder {display: block; width: 100%; max-width: 100%; height: auto;- border-radius: var(--radius); border: 1px solid var(--line);+ border-radius: 0; border: var(--border);}figure { margin: 0; }- figcaption { font-size: 13px; color: var(--ink-soft); margin-top: 10px; }+ figcaption { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); margin-top: 10px; }/* Drop-in placeholder: <div class="placeholder" data-label="Hero"></div>Pure CSS, so it needs no asset and cannot 404 in front of a user. */@@ -154,18 +179,18 @@ const FRAME_BASE_CSS = `display: flex; align-items: center; justify-content: center;background:repeating-linear-gradient(135deg,- rgba(20,19,26,0.035) 0 10px, rgba(20,19,26,0.055) 10px 20px);- color: var(--ink-soft); font-size: 13px; letter-spacing: .04em;+ rgba(27,27,27,0.04) 0 10px, rgba(27,27,27,0.07) 10px 20px);+ color: var(--ink-faint); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em;}.placeholder::after { content: attr(data-label); }.placeholder.square { aspect-ratio: 1 / 1; }.placeholder.wide { aspect-ratio: 21 / 9; }- /* Deliberately NOT theme-aware. A drop is an authored artifact — a launch page,- not app chrome — and it must look the same for everyone who receives it. An- automatic dark inversion silently recolours a design the author never saw and- wrecks any image chosen against a light ground. A drop that WANTS dark styles- it explicitly. */+ /* Deliberately NOT theme-aware. A drop is an authored artifact, a launch page+ rather than app chrome, and it must look the same for everyone who receives+ it. An automatic dark inversion silently recolours a design the author never+ saw and wrecks any image chosen against a light ground. A drop that WANTS+ dark styles it explicitly. */@media (prefers-reduced-motion: reduce) {* { animation-duration: .01ms !important; transition-duration: .01ms !important; }}@@ -474,6 +499,9 @@ export function buildDropSrcDoc(html: string): string {<meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><meta http-equiv="Content-Security-Policy" content="${csp}">+<link rel="preconnect" href="https://fonts.googleapis.com">+<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>+<link href="https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600&family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet"><style>${FRAME_BASE_CSS}</style></head><body>diff --git a/test/release-drop.test.cjs b/test/release-drop.test.cjsindex 99e3ca61..1cc5118f 100644--- a/test/release-drop.test.cjs+++ b/test/release-drop.test.cjs@@ -116,8 +116,15 @@ test('ReleaseDrop grants allow-popups and nothing else', () => {});// The drop is presentation only. A button here would be an app control wearing-// the release author's page; every action a release wants to offer belongs in-// the authored HTML, which is why the frame can open links at all.-test('ReleaseDrop renders no buttons', () => {- assert.ok(!/<button/.test(readDrop()), 'the release drop must carry no chrome buttons');+// the release author's page; every action a release wants to offer (star, notes,+// Discord, download) belongs in the authored HTML, which is why the frame can+// open links at all. The ONE control the chrome owns is close: a modal this+// large with no visible way out is a trap, and Esc alone is invisible.+test('ReleaseDrop renders no action buttons, only a close', () => {+ const src = readDrop();+ const buttons = src.match(/<button\b[\s\S]*?>/g) ?? [];+ assert.equal(buttons.length, 1, 'the release drop must carry exactly one chrome button');+ assert.ok(/aria-label="Close/.test(buttons[0]), 'the only chrome button must be the close');+ assert.ok(!/Star|Restart|Later|Download|Open release/i.test(src.replace(/\/\*[\s\S]*?\*\/|\/\/.*$/gm, '')),+ 'no release action may be a chrome button');});