Skip to content

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

chore(release): 0.4.6

chaitanyagiri4584f0efffb5
diff --git a/RELEASE.md b/RELEASE.md
index 226c802f..b34f0cb1 100644
--- a/RELEASE.md
+++ b/RELEASE.md
@@ -1,5 +1,5 @@
<!-- RELEASE RUNNER, REQUIRED BEFORE YOU TAG: run RELEASE-CHECKLIST.md. Rehearse the updater on 0.4.6-rc.1 -> 0.4.7-rc.1 prereleases and pass the fault-injection checks BEFORE tagging the real release. This comment is not rendered in the published notes. -->
-# Munder Difflin v0.4.5
+# Munder Difflin v0.4.6
**A local hive of Claude Code, Antigravity, Codex, Gemini, Cursor, Grok & Copilot agents that run themselves.**
Messaging, routing, and remembering, coordinated by your clone, Michael, who you talk to. Local-first and open source.
@@ -8,7 +8,86 @@ Messaging, routing, and remembering, coordinated by your clone, Michael, who you
---
-## What's new in 0.4.5
+## What's new in 0.4.6
+
+**The release that speaks your language and updates itself.** The interface now runs in Chinese and
+Arabic, the auto-updater downloads and installs a new build end to end, fonts ship inside the app so
+a blocked network never leaves you on a blank window, and the way agent engines are launched is
+hardened. Plus the Settings rework, an IME fix for CJK typing, and four merged pull requests.
+
+- **The interface speaks Chinese and Arabic.** Pick zh-CN or Arabic in Settings. Arabic mirrors the
+ whole layout right-to-left, terminals included, and anything not yet translated falls back to
+ English rather than showing a blank.
+- **Updates install themselves.** The badge advances check to available to downloading to downloaded
+ on its own, and the button at the end restarts into the new version. This is the release that
+ proves that path end to end.
+- **Fonts ship inside the app.** No Google Fonts fetch on launch, so the app opens at the same speed
+ on any network, including one where Google is blocked. The release drop's fonts are bundled too,
+ and it can no longer white-screen while a stylesheet loads.
+- **Engine command launching is hardened.** The name of the CLI an agent launches is validated
+ before it is ever resolved against your PATH, so nothing but a plain command name or an absolute
+ path reaches a shell.
+- **IME typing no longer sends early.** Pressing Enter to choose a Chinese or Japanese candidate
+ picks the word instead of firing the message with half-typed text.
+- **Settings has one Save button.** The Connections tab stops repeating itself; REST API, MCP,
+ Slack and webhooks each keep their place.
+- **The app counts messages you send, not what they say.** A single `message_sent` event closes the
+ activation funnel: a count and nothing else, no text, no length, no content of any kind.
+ [`TELEMETRY.md`](TELEMETRY.md) lists it like every other event and the same opt-out applies.
+- **The ASK ME card renders markdown.** Questions with emphasis, bullets, `code`, tables and links
+ now render instead of showing their raw asterisks.
+
+### A note on Pro
+
+v0.5.0 launches with a Pro version alongside the community version. Community stays free, stays
+open, and keeps getting updates. Pro ships with new features and integrations, with more posted
+throughout the year, and it stays ahead of Community, for power users who want the full potential
+of coding agents and agent harnesses. The Pro roadmap also includes a mobile app. The first 100 people on the
+Founders' Wall get a month of Pro free, then 50% off the annual plan.
+
+### Thanks
+
+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 -->
+<div class="drop">
+ <p class="eyebrow">Munder Difflin 0.4.6</p>
+ <h1>Speaks your language. Updates itself.</h1>
+ <p class="lede">The interface now runs in Chinese and Arabic, the updater installs a new build end
+ to end, and the fonts ship inside the app so a blocked network never leaves you on a blank screen.</p>
+ <ul class="features">
+ <li>
+ <h2>Chinese and Arabic</h2>
+ <p>Pick a language in Settings. Arabic mirrors the whole layout right to left, terminals
+ included, and anything not yet translated falls back to English rather than showing a blank.</p>
+ </li>
+ <li>
+ <h2>Updates install themselves</h2>
+ <p>The badge moves from check to available to downloading to downloaded on its own, and the
+ button at the end restarts you into the new version. This is the release that proves that path.</p>
+ </li>
+ <li>
+ <h2>Fonts ship inside the app</h2>
+ <p>No Google Fonts fetch on launch, so the app opens at the same speed on any network,
+ including one where Google is blocked, and this page can no longer white-screen while a
+ stylesheet loads.</p>
+ </li>
+ <li>
+ <h2>Hardened command launching</h2>
+ <p>The name of the CLI an agent launches is validated before it is ever resolved against your
+ PATH.</p>
+ </li>
+ <li>
+ <h2>One Save button</h2>
+ <p>The Connections tab stops repeating itself. REST API, MCP, Slack and webhooks each keep
+ their place.</p>
+ </li>
+ </ul>
+</div>
+<!-- /drop -->
+
+## Still new in 0.4.5
**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
@@ -42,288 +121,6 @@ paths everywhere, one editor instead of two, and 23 community pull requests.
- **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
-
-v0.5.0 launches with a Pro version alongside the community version. Community stays free, stays
-open, and keeps getting updates. Pro ships with new features and integrations, with more posted
-throughout the year, and it stays ahead of Community, for power users who want the full potential
-of coding agents and agent harnesses. The Pro roadmap also includes a mobile app. The first 100 people on the
-Founders' Wall get a month of Pro free, then 50% off the annual plan.
-
-### Thanks
-
-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>
- /* 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) {
- #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);
- user-select: all; -webkit-user-select: all; cursor: text; }
- .meet .url:hover { color: var(--maroon); }
- .foot { font-size: 12px; color: var(--ink-dim); text-align: center; margin: 16px 0 0; }
-
- @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>
-
-<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 &middot; v0.4.5</p>
- <h1>Thank you <span class="hl">for being here early.</span></h1>
- <p class="lede">Every bug you filed, every PR you sent, every floor screenshot you posted
- shaped what Munder Difflin is today. <b>This release is built on that.</b> So before the
- list of fixes, a proper thank you to the people who showed up first.</p>
-
- <div class="two">
- <div class="card lilac">
- <span class="tag">Announcement</span>
- <h2>v0.5.0 launches with a Pro version.</h2>
- <p><b>Community stays free, stays open, and keeps getting updates.</b> Pro ships with
- new features and integrations, with more posted throughout the year, and it stays
- ahead of Community, for power users who want the full potential of coding agents and
- agent harnesses. The Pro roadmap also includes a mobile app.</p>
- </div>
- <div class="band">
- <div class="yr">50<small>% OFF</small></div>
- <div><b>On the Founders' Wall?</b>
- <span>A month of Munder Difflin Pro free, then 50% off the annual plan. For the first
- 100 people on the wall.</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 &rarr;</label>
- <span class="r step">&nbsp;</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="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 <b>by a wide margin</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>Updating is one click, and you pick how</b>
- <p>The version badge next to the logo downloads the build for your machine and walks you
- through replacing the app, step by step for your OS. Auto update lives in Settings. Once
- you are current the badge says latest, and the first launch after an update opens that
- release's page. Restart to update no longer gets stuck either.</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>&#11088; 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. Click the address to select it, then copy.</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">&larr; Back</label>
- <span class="step">02 / 02</span>
- <span class="r step">&nbsp;</span>
- </div>
- </section>
-
-</div>
-<!-- /drop -->
-
## Still new in 0.4.4 · *Windows joins the floor*
**If you use Windows, 0.4.4 is the release that made the app work.** Agents could never message
diff --git a/build/release-notes.md b/build/release-notes.md
index 0ab3efb2..ee71d69b 100644
--- a/build/release-notes.md
+++ b/build/release-notes.md
@@ -1,4 +1,5 @@
-- **The interface speaks Chinese.** Pick zh-CN in Settings.
-- **IME typing no longer sends early.** Enter picks your candidate.
+- **The interface speaks Chinese and Arabic.** Set it in Settings.
+- **Updates install themselves.** Download, restart, done.
- **Fonts ship inside the app.** No Google Fonts fetch on launch.
+- **Hardened how engine commands launch.**
- **Settings has one Save button.** Connections get their own tab.
diff --git a/package-lock.json b/package-lock.json
index 73c6ee79..503517bc 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "munder-difflin",
- "version": "0.4.7-rc.2",
+ "version": "0.4.6",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "munder-difflin",
- "version": "0.4.7-rc.2",
+ "version": "0.4.6",
"hasInstallScript": true,
"dependencies": {
"@codemirror/lang-css": "^6.3.1",
diff --git a/package.json b/package.json
index 8fb9e9bd..eb5a2384 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "munder-difflin",
- "version": "0.4.7-rc.2",
+ "version": "0.4.6",
"private": true,
"description": "Clones for you and your team, working 24/7 — a free, local-first multi-agent harness that turns the CLI coding agent you already run into a clone of you, coordinating an office of agents on your machine.",
"main": "out/main/index.js",
diff --git a/src/main/analytics.ts b/src/main/analytics.ts
index 1c7d501d..f43fc19c 100644
--- a/src/main/analytics.ts
+++ b/src/main/analytics.ts
@@ -58,7 +58,7 @@ const EVENTS: Record<string, ReadonlySet<string>> = {
update_applied: new Set<string>(['from_version', 'to_version', 'via']),
/** An agent PTY spawned. `provider` is the CLI engine name only. */
agent_spawned: new Set<string>(['provider']),
- /** ── The activation funnel (v0.4.7): app_launched → onboarding_completed →
+ /** ── The activation funnel (v0.4.6): app_launched → onboarding_completed →
* agent_spawn_attempted → {agent_spawned | agent_spawn_failed |
* agent_install_started → agent_install_finished}. Every added property is a
* closed enum or a closed CLI name — nothing free-form, same allowlist rule. */
@@ -81,7 +81,7 @@ const EVENTS: Record<string, ReadonlySet<string>> = {
* `install_failed` (non-zero exit — e.g. an installer that cannot complete
* unattended). This is the signal that a first agent never actually started. */
agent_install_finished: new Set<string>(['provider', 'rung', 'outcome']),
- /** ── The end of the activation funnel (v0.4.7): a HUMAN sent a message to an
+ /** ── The end of the activation funnel (v0.4.6): a HUMAN sent a message to an
* agent. Counted at the SUBMIT boundary, never per keystroke — see
* MESSAGE_SURFACES for the four places a person can send one. Carries a COUNT
* and nothing else: no text, no length, no hash. `surface` is a closed enum. */
diff --git a/src/main/index.ts b/src/main/index.ts
index 338447a5..737d9c8d 100644
--- a/src/main/index.ts
+++ b/src/main/index.ts
@@ -2553,7 +2553,7 @@ async function spawnAgentCore(opts: AgentSpawnOptions, owner: Electron.WebConten
const claudeProvider = isClaudeProvider(provider);
opts.provider = provider;
if (opts.hive) opts.hive = { ...opts.hive, provider };
- // Activation-funnel entry (v0.4.7): every spawn REQUEST, so (attempted − spawned)
+ // Activation-funnel entry (v0.4.6): every spawn REQUEST, so (attempted − spawned)
// measures the fallout the whole rebuild exists to see. Gated on !noAutoInstall so
// the missing-CLI relaunch (the only re-entry, index.ts install-exit handler) does
// NOT double-count a single user attempt — it is the SAME attempt continuing.
@@ -3128,7 +3128,7 @@ ipcMain.handle('config:update', (_evt, patch: Partial<HarnessConfig>) => {
const next = writeConfig(patch);
// Live opt-in/out from Settings → Privacy (TELEMETRY.md).
if (typeof patch?.telemetryEnabled === 'boolean') analytics.setEnabled(patch.telemetryEnabled);
- // Activation funnel (v0.4.7): onboarding just finished (false → true) — the top of
+ // Activation funnel (v0.4.6): onboarding just finished (false → true) — the top of
// the launch → first-agent funnel. `provider` is the engine chosen in the wizard.
// Fired here (main), not in the renderer, so it rides the same allowlist as the rest.
if (!wasOnboarded && next.onboardingComplete) {