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
feat(markdown): rendered previews — IDE code/split/preview, overlay toggle, terminal ⌘-click
Chaitanya Giric42b36b0be08
diff --git a/docs/research/v0.3.5-explainer.html b/docs/research/v0.3.5-explainer.htmlnew file mode 100644index 00000000..59dc18e4--- /dev/null+++ b/docs/research/v0.3.5-explainer.html@@ -0,0 +1,459 @@+<title>The 4 Features, Explained Simply</title>+<style>+ :root {+ --bg: #FBF8EF;+ --card: #FFFDF5;+ --ink: #221A2B;+ --ink-2: #4A3D57;+ --ink-3: #857B90;+ --line: #DED7CE;+ --amber: #B8860F; /* voice */+ --teal: #2F7E8E; /* settings */+ --sage: #3E7D52; /* markdown */+ --lilac: #6D5BB8; /* git */+ --amber-bg: #F6ECD2; --teal-bg: #DEEDF0; --sage-bg: #DFEEE4; --lilac-bg: #E9E4F6;+ --good: #3E7D52;+ }+ @media (prefers-color-scheme: dark) {+ :root {+ --bg: #1A191E; --card: #222127; --ink: #EAE8E4; --ink-2: #C0BDB8; --ink-3: #8B888E;+ --line: #3B3A42;+ --amber: #D8B052; --teal: #64ACBB; --sage: #6FB88B; --lilac: #A493E0;+ --amber-bg: #37311F; --teal-bg: #21343A; --sage-bg: #24352B; --lilac-bg: #2E2A40;+ --good: #6FB88B;+ }+ }+ :root[data-theme="dark"] {+ --bg: #1A191E; --card: #222127; --ink: #EAE8E4; --ink-2: #C0BDB8; --ink-3: #8B888E;+ --line: #3B3A42;+ --amber: #D8B052; --teal: #64ACBB; --sage: #6FB88B; --lilac: #A493E0;+ --amber-bg: #37311F; --teal-bg: #21343A; --sage-bg: #24352B; --lilac-bg: #2E2A40;+ --good: #6FB88B;+ }+ :root[data-theme="light"] {+ --bg: #FBF8EF; --card: #FFFDF5; --ink: #221A2B; --ink-2: #4A3D57; --ink-3: #857B90;+ --line: #DED7CE;+ --amber: #B8860F; --teal: #2F7E8E; --sage: #3E7D52; --lilac: #6D5BB8;+ --amber-bg: #F6ECD2; --teal-bg: #DEEDF0; --sage-bg: #DFEEE4; --lilac-bg: #E9E4F6;+ --good: #3E7D52;+ }++ * { box-sizing: border-box; }+ body {+ margin: 0; background: var(--bg); color: var(--ink);+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;+ font-size: 16px; line-height: 1.6;+ }+ .wrap { max-width: 860px; margin: 0 auto; padding: 48px 24px 96px; }++ .brand {+ font-family: ui-monospace, "SF Mono", Menlo, monospace;+ font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3);+ }+ h1 {+ font-size: 34px; line-height: 1.2; margin: 10px 0 8px; letter-spacing: -0.01em;+ text-wrap: balance; font-weight: 700;+ }+ .lede { font-size: 18px; color: var(--ink-2); max-width: 62ch; margin: 0 0 40px; }++ section { margin-top: 56px; }+ .chip {+ display: inline-flex; align-items: center; gap: 8px;+ font-family: ui-monospace, "SF Mono", Menlo, monospace;+ font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;+ padding: 4px 10px; border: 1px solid var(--line); border-radius: 2px;+ }+ .chip .dot { width: 8px; height: 8px; border-radius: 1px; }+ h2 { font-size: 24px; margin: 14px 0 6px; line-height: 1.25; text-wrap: balance; }+ .sub { color: var(--ink-2); margin: 0 0 20px; max-width: 65ch; }+ p { max-width: 65ch; }++ figure { margin: 28px 0; }+ .fig-box {+ background: var(--card); border: 1px solid var(--line); border-radius: 3px;+ padding: 20px; overflow-x: auto;+ }+ svg { display: block; max-width: 100%; height: auto; }+ figcaption { font-size: 13.5px; color: var(--ink-3); margin-top: 10px; max-width: 70ch; }++ .fact {+ border-left: 3px solid var(--line); padding: 2px 0 2px 16px; margin: 22px 0;+ color: var(--ink-2); max-width: 62ch;+ }+ .fact strong { color: var(--ink); }++ .meta {+ display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px;+ font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px;+ }+ .meta span {+ padding: 4px 10px; border: 1px solid var(--line); border-radius: 2px; color: var(--ink-2);+ background: var(--card);+ }++ /* effort chart */+ .chart { background: var(--card); border: 1px solid var(--line); border-radius: 3px; padding: 20px 20px 14px; }+ .chart h3 { margin: 0 0 4px; font-size: 15px; }+ .chart p { margin: 0 0 14px; font-size: 13.5px; color: var(--ink-3); }+ .bar-row { display: grid; grid-template-columns: 150px 1fr 84px; align-items: center; gap: 12px; margin: 8px 0; font-size: 14px; }+ .bar-track { height: 14px; background: transparent; position: relative; }+ .bar { height: 100%; border-radius: 1px; }+ .bar-num { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-variant-numeric: tabular-nums; font-size: 12.5px; color: var(--ink-2); text-align: right; }++ .order { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }+ .order .step {+ background: var(--card); border: 1px solid var(--line); border-radius: 2px;+ padding: 6px 12px; font-size: 13.5px;+ }+ .order .arr { color: var(--ink-3); }++ ul { padding-left: 20px; max-width: 62ch; }+ li { margin: 6px 0; }+ li::marker { color: var(--ink-3); }+ a { color: inherit; }+ hr { border: none; border-top: 1px solid var(--line); margin: 56px 0 0; }+ .foot { font-size: 13px; color: var(--ink-3); margin-top: 16px; }+</style>++<div class="wrap">+ <div class="brand">Munder Difflin · next release · research, explained</div>+ <h1>The 4 features, in plain words</h1>+ <p class="lede">+ We researched four upgrades before building anything. Here's what each one+ actually means for you, why we picked the approach we did, and roughly how much+ work each is. No jargon — every diagram shows the one thing that matters.+ </p>++ <div class="chart">+ <h3>How much work is each feature?</h3>+ <p>Estimated build time, in developer-days. Everything together: about 4–5 weeks.</p>+ <div class="bar-row"><span>Talking to Michael</span><div class="bar-track"><div class="bar" style="width:88%; background:var(--amber)"></div></div><span class="bar-num">7–8.5 days</span></div>+ <div class="bar-row"><span>Git time-machine</span><div class="bar-track"><div class="bar" style="width:82%; background:var(--lilac)"></div></div><span class="bar-num">6–8 days</span></div>+ <div class="bar-row"><span>Markdown preview</span><div class="bar-track"><div class="bar" style="width:47%; background:var(--sage)"></div></div><span class="bar-num">3–5 days</span></div>+ <div class="bar-row"><span>Settings cleanup</span><div class="bar-track"><div class="bar" style="width:41%; background:var(--teal)"></div></div><span class="bar-num">3–4 days</span></div>+ </div>++ <!-- ============ 1. VOICE ============ -->+ <section>+ <span class="chip"><span class="dot" style="background:var(--amber)"></span>Feature 1</span>+ <h2>Talking to Michael — he'll actually know what's going on</h2>+ <p class="sub">+ Today, when you press <em>talk</em>, Michael gets <strong>one sticky note</strong> at the+ start of the call ("5 agents, 2 tasks running") — and then learns nothing new.+ Every question you ask forces him to put you on hold and go look it up. And he can+ only <em>do</em> a handful of things.+ </p>++ <figure>+ <div class="fig-box">+ <svg viewBox="0 0 800 300" role="img" aria-label="Before: Michael gets one note at call start and must look everything up. After: a live ticker keeps him updated so he answers instantly, and a confirm gate lets him safely control the app.">+ <defs>+ <marker id="a1" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">+ <path d="M0,0 L10,5 L0,10 z" fill="currentColor"/>+ </marker>+ </defs>+ <g fill="none" stroke="currentColor" stroke-width="1.3" color="currentColor">+ <!-- TODAY panel -->+ <text x="30" y="28" fill="currentColor" font-size="12" font-family="ui-monospace,Menlo,monospace" letter-spacing="2">TODAY</text>+ <rect x="30" y="44" width="130" height="44" rx="2"/>+ <text x="95" y="64" fill="currentColor" font-size="12.5" text-anchor="middle">one sticky note</text>+ <text x="95" y="79" fill="currentColor" font-size="11" text-anchor="middle" opacity="0.65">at call start only</text>+ <line x1="160" y1="66" x2="230" y2="66" marker-end="url(#a1)"/>+ <rect x="232" y="44" width="120" height="44" rx="2"/>+ <text x="292" y="70" fill="currentColor" font-size="13" text-anchor="middle">Michael 🎙</text>+ <path d="M 292 88 C 292 130, 292 130, 292 150" stroke-dasharray="4 4" marker-end="url(#a1)"/>+ <rect x="192" y="152" width="200" height="46" rx="2" stroke-dasharray="4 4"/>+ <text x="292" y="172" fill="currentColor" font-size="12.5" text-anchor="middle">"hold on, let me check…"</text>+ <text x="292" y="188" fill="currentColor" font-size="11" text-anchor="middle" opacity="0.65">a look-up for every question = slow</text>++ <!-- divider -->+ <line x1="420" y1="20" x2="420" y2="280" stroke-dasharray="2 5" opacity="0.5"/>++ <!-- PLANNED panel -->+ <text x="450" y="28" fill="var(--amber)" font-size="12" font-family="ui-monospace,Menlo,monospace" letter-spacing="2">PLANNED</text>+ <rect x="450" y="44" width="130" height="44" rx="2" stroke="var(--amber)"/>+ <text x="515" y="64" fill="currentColor" font-size="12.5" text-anchor="middle">live ticker</text>+ <text x="515" y="79" fill="currentColor" font-size="11" text-anchor="middle" opacity="0.65">"Jim finished · Pam blocked"</text>+ <line x1="580" y1="66" x2="648" y2="66" stroke="var(--amber)" marker-end="url(#a1)" color="var(--amber)"/>+ <text x="614" y="56" fill="var(--amber)" font-size="10.5" text-anchor="middle">whispers updates</text>+ <rect x="650" y="44" width="120" height="44" rx="2"/>+ <text x="710" y="70" fill="currentColor" font-size="13" text-anchor="middle">Michael 🎙</text>+ <text x="710" y="106" fill="currentColor" font-size="11.5" text-anchor="middle" opacity="0.8">answers instantly ⚡</text>++ <!-- control path -->+ <path d="M 710 88 L 710 152" marker-end="url(#a1)"/>+ <rect x="612" y="154" width="196" height="40" rx="2"/>+ <text x="710" y="171" fill="currentColor" font-size="12" text-anchor="middle">"restart Jim on Opus"</text>+ <text x="710" y="186" fill="currentColor" font-size="11" text-anchor="middle" opacity="0.65">any control in the app</text>+ <path d="M 710 194 L 710 226" marker-end="url(#a1)"/>+ <rect x="628" y="228" width="164" height="40" rx="2" stroke="var(--amber)"/>+ <text x="710" y="245" fill="currentColor" font-size="12" text-anchor="middle">safety gate 🔒</text>+ <text x="710" y="260" fill="currentColor" font-size="11" text-anchor="middle" opacity="0.65">risky things need "confirm"</text>+ </g>+ </svg>+ </div>+ <figcaption>+ The fix isn't a bigger sticky note — it's a <em>ticker</em>: the app quietly whispers+ every meaningful change to Michael during the call, so he already knows the answer+ when you ask. Risky commands still require you to say "confirm" out loud.+ </figcaption>+ </figure>++ <div class="fact">+ <strong>Why this way?</strong> The voice API charges almost nothing for things Michael+ has already heard (99% discount), but re-writing his briefing mid-call throws that+ discount away. So we never rewrite — we only <em>append</em> whispers. Cheap and fast.+ </div>+ <p>New powers he'll get (each behind the same safety gate that exists today):+ un-pause agents, clear an agent's memory-of-the-conversation, restart an agent on a+ different model, change settings (from an approved list only — never passwords or keys),+ manage tasks and schedules.</p>+ <div class="meta"><span>≈ 7–8.5 days</span><span>7 small PRs</span><span>biggest UX win</span></div>+ </section>++ <!-- ============ 2. SETTINGS ============ -->+ <section>+ <span class="chip"><span class="dot" style="background:var(--teal)"></span>Feature 2</span>+ <h2>Settings — from junk drawer to labeled drawers</h2>+ <p class="sub">+ Right now "General" holds six unrelated things, some switches shown there can't+ actually be flipped, and a few important settings have <strong>no switch anywhere</strong>+ (you'd have to edit a hidden file). The redesign sorts everything into six drawers+ that match how you think.+ </p>++ <figure>+ <div class="fig-box">+ <svg viewBox="0 0 800 250" role="img" aria-label="Before: one overflowing General section mixing unrelated settings. After: six clearly named tabs, each holding one topic.">+ <defs>+ <marker id="a2" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">+ <path d="M0,0 L10,5 L0,10 z" fill="currentColor"/>+ </marker>+ </defs>+ <g fill="none" stroke="currentColor" stroke-width="1.3" color="currentColor">+ <text x="30" y="28" fill="currentColor" font-size="12" font-family="ui-monospace,Menlo,monospace" letter-spacing="2">TODAY</text>+ <rect x="30" y="44" width="240" height="170" rx="2"/>+ <text x="150" y="66" fill="currentColor" font-size="12.5" text-anchor="middle" font-weight="600">"General" (everything…)</text>+ <text x="46" y="92" fill="currentColor" font-size="11.5">home folder · themes · updates</text>+ <text x="46" y="112" fill="currentColor" font-size="11.5">spend limits · knowledge files</text>+ <text x="46" y="132" fill="currentColor" font-size="11.5">notifications · compaction…</text>+ <text x="46" y="160" fill="currentColor" font-size="11.5" opacity="0.65">+ switches that don't switch</text>+ <text x="46" y="180" fill="currentColor" font-size="11.5" opacity="0.65">+ settings with no switch at all</text>+ <text x="46" y="200" fill="currentColor" font-size="11.5" opacity="0.65">+ keys hidden in 5 places</text>++ <line x1="290" y1="130" x2="360" y2="130" marker-end="url(#a2)"/>+ <text x="325" y="118" fill="currentColor" font-size="10.5" text-anchor="middle">sort</text>++ <text x="380" y="28" fill="var(--teal)" font-size="12" font-family="ui-monospace,Menlo,monospace" letter-spacing="2">PLANNED — 6 DRAWERS</text>+ <g stroke="var(--teal)">+ <rect x="380" y="44" width="190" height="34" rx="2"/>+ <rect x="380" y="86" width="190" height="34" rx="2"/>+ <rect x="380" y="128" width="190" height="34" rx="2"/>+ <rect x="590" y="44" width="190" height="34" rx="2"/>+ <rect x="590" y="86" width="190" height="34" rx="2"/>+ <rect x="590" y="128" width="190" height="34" rx="2"/>+ </g>+ <text x="475" y="65" fill="currentColor" font-size="12" text-anchor="middle">General (looks & basics)</text>+ <text x="475" y="107" fill="currentColor" font-size="12" text-anchor="middle">Agents & Models</text>+ <text x="475" y="149" fill="currentColor" font-size="12" text-anchor="middle">Autonomy & Budgets</text>+ <text x="685" y="65" fill="currentColor" font-size="12" text-anchor="middle">Connections</text>+ <text x="685" y="107" fill="currentColor" font-size="12" text-anchor="middle">Voice</text>+ <text x="685" y="149" fill="currentColor" font-size="12" text-anchor="middle">Memory & Knowledge</text>+ <text x="580" y="196" fill="currentColor" font-size="11.5" text-anchor="middle" opacity="0.8">each drawer: the everyday switches up top,</text>+ <text x="580" y="213" fill="currentColor" font-size="11.5" text-anchor="middle" opacity="0.8">an "Advanced" fold-out for the rare ones · plus a search box</text>+ </g>+ </svg>+ </div>+ <figcaption>+ Six drawers, one topic each. Rare knobs hide behind "Advanced" so the everyday+ view stays short. A search box finds any setting by name.+ </figcaption>+ </figure>++ <div class="fact">+ <strong>Bonus: the research found real bugs.</strong> Four settings show the wrong+ state or contradict their own documentation — e.g. one toggle displays OFF while it's+ actually ON. Those get fixed as part of this work.+ </div>+ <div class="meta"><span>≈ 3–4 days</span><span>no risky changes</span><span>fixes 4 config bugs</span></div>+ </section>++ <!-- ============ 3. MARKDOWN ============ -->+ <section>+ <span class="chip"><span class="dot" style="background:var(--sage)"></span>Feature 3</span>+ <h2>Markdown preview — see the document, not the raw text</h2>+ <p class="sub">+ Agents constantly write reports and docs as <code>.md</code> files. Today you see them+ as raw text with <code>#</code> and <code>*</code> symbols. This feature shows the+ <em>cooked</em> page — headings, tables, checklists — in two places:+ </p>++ <figure>+ <div class="fig-box">+ <svg viewBox="0 0 800 240" role="img" aria-label="Flow: an agent prints report.md in its terminal; you Cmd-click the filename; a preview window opens showing the rendered document; one button escalates to the full editor. In the IDE, markdown files get a code, split, and preview toggle.">+ <defs>+ <marker id="a3" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">+ <path d="M0,0 L10,5 L0,10 z" fill="currentColor"/>+ </marker>+ </defs>+ <g fill="none" stroke="currentColor" stroke-width="1.3" color="currentColor">+ <text x="30" y="28" fill="var(--sage)" font-size="12" font-family="ui-monospace,Menlo,monospace" letter-spacing="2">FROM THE TERMINAL</text>+ <rect x="30" y="44" width="170" height="56" rx="2"/>+ <text x="115" y="66" fill="currentColor" font-size="12" text-anchor="middle">agent prints:</text>+ <text x="115" y="84" fill="var(--sage)" font-size="12" text-anchor="middle" font-family="ui-monospace,Menlo,monospace">report.md</text>+ <line x1="200" y1="72" x2="268" y2="72" marker-end="url(#a3)"/>+ <text x="234" y="62" fill="currentColor" font-size="10.5" text-anchor="middle">⌘-click</text>+ <rect x="270" y="44" width="180" height="56" rx="2" stroke="var(--sage)"/>+ <text x="360" y="66" fill="currentColor" font-size="12" text-anchor="middle">preview window</text>+ <text x="360" y="84" fill="currentColor" font-size="11" text-anchor="middle" opacity="0.65">pretty page, instantly</text>+ <line x1="450" y1="72" x2="518" y2="72" marker-end="url(#a3)"/>+ <text x="484" y="62" fill="currentColor" font-size="10.5" text-anchor="middle">one button</text>+ <rect x="520" y="44" width="150" height="56" rx="2"/>+ <text x="595" y="66" fill="currentColor" font-size="12" text-anchor="middle">open in IDE</text>+ <text x="595" y="84" fill="currentColor" font-size="11" text-anchor="middle" opacity="0.65">to edit properly</text>++ <text x="30" y="152" fill="var(--sage)" font-size="12" font-family="ui-monospace,Menlo,monospace" letter-spacing="2">INSIDE THE IDE</text>+ <rect x="30" y="166" width="640" height="52" rx="2"/>+ <rect x="46" y="178" width="70" height="28" rx="2"/>+ <text x="81" y="196" fill="currentColor" font-size="11.5" text-anchor="middle">code</text>+ <rect x="124" y="178" width="70" height="28" rx="2" stroke="var(--sage)"/>+ <text x="159" y="196" fill="currentColor" font-size="11.5" text-anchor="middle">split</text>+ <rect x="202" y="178" width="80" height="28" rx="2"/>+ <text x="242" y="196" fill="currentColor" font-size="11.5" text-anchor="middle">preview</text>+ <text x="310" y="196" fill="currentColor" font-size="11.5" opacity="0.8">← a 3-way switch on every .md file · typing updates the preview live</text>+ </g>+ </svg>+ </div>+ <figcaption>+ Two doors into the same preview: ⌘-click a filename an agent printed, or use the+ code / split / preview switch inside the IDE.+ </figcaption>+ </figure>++ <div class="fact">+ <strong>Safety note that drove the choice:</strong> agents write these files, so we+ treat them as untrusted. The renderer we picked <em>can't</em> run hidden scripts+ even in theory — it never converts the file to raw web code at all.+ </div>+ <div class="meta"><span>≈ 3–5 days</span><span>reuses an existing overlay</span><span>fastest visible win</span></div>+ </section>++ <!-- ============ 4. GIT ============ -->+ <section>+ <span class="chip"><span class="dot" style="background:var(--lilac)"></span>Feature 4</span>+ <h2>Git time-machine — see every change, compare, jump back</h2>+ <p class="sub">+ Your agents make lots of code changes across branches. You'll get a visual map:+ the history of commits as a graph, click any commit to see exactly what changed,+ compare two branches side by side, and safely jump to any point.+ </p>++ <figure>+ <div class="fig-box">+ <svg viewBox="0 0 800 260" role="img" aria-label="Left: parts already built but unplugged — a git panel, a graph component, a maintained library. An arrow labeled 'plug in + small plumbing' connects them to the planned IDE view with Changes, History, and Compare tabs and a commit graph.">+ <defs>+ <marker id="a4" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">+ <path d="M0,0 L10,5 L0,10 z" fill="currentColor"/>+ </marker>+ </defs>+ <g fill="none" stroke="currentColor" stroke-width="1.3" color="currentColor">+ <text x="30" y="28" fill="currentColor" font-size="12" font-family="ui-monospace,Menlo,monospace" letter-spacing="2">ALREADY BUILT — JUST UNPLUGGED</text>+ <g stroke-dasharray="5 4">+ <rect x="30" y="46" width="170" height="38" rx="2"/>+ <rect x="30" y="94" width="170" height="38" rx="2"/>+ <rect x="30" y="142" width="170" height="38" rx="2"/>+ </g>+ <text x="115" y="69" fill="currentColor" font-size="12" text-anchor="middle">branch & status panel</text>+ <text x="115" y="117" fill="currentColor" font-size="12" text-anchor="middle">commit-graph drawing</text>+ <text x="115" y="165" fill="currentColor" font-size="12" text-anchor="middle">graph library (installed!)</text>+ <text x="115" y="205" fill="currentColor" font-size="11" text-anchor="middle" opacity="0.65">≈ 40% of the feature,</text>+ <text x="115" y="221" fill="currentColor" font-size="11" text-anchor="middle" opacity="0.65">sitting in the codebase unused</text>++ <line x1="212" y1="113" x2="292" y2="113" stroke="var(--lilac)" marker-end="url(#a4)" color="var(--lilac)"/>+ <text x="252" y="100" fill="var(--lilac)" font-size="10.5" text-anchor="middle">plug in +</text>+ <text x="252" y="130" fill="var(--lilac)" font-size="10.5" text-anchor="middle">small plumbing</text>++ <text x="310" y="28" fill="var(--lilac)" font-size="12" font-family="ui-monospace,Menlo,monospace" letter-spacing="2">PLANNED — IN THE IDE</text>+ <rect x="310" y="46" width="460" height="188" rx="2" stroke="var(--lilac)"/>+ <rect x="326" y="60" width="92" height="26" rx="2"/>+ <text x="372" y="77" fill="currentColor" font-size="11.5" text-anchor="middle">Changes</text>+ <rect x="426" y="60" width="92" height="26" rx="2" stroke="var(--lilac)"/>+ <text x="472" y="77" fill="currentColor" font-size="11.5" text-anchor="middle">History</text>+ <rect x="526" y="60" width="92" height="26" rx="2"/>+ <text x="572" y="77" fill="currentColor" font-size="11.5" text-anchor="middle">Compare</text>++ <!-- mini commit DAG -->+ <line x1="350" y1="110" x2="350" y2="215"/>+ <line x1="350" y1="130" x2="390" y2="160"/>+ <line x1="390" y1="160" x2="390" y2="190"/>+ <line x1="390" y1="190" x2="350" y2="215"/>+ <circle cx="350" cy="110" r="5" fill="var(--lilac)" stroke="none"/>+ <circle cx="350" cy="130" r="5" fill="currentColor" stroke="none"/>+ <circle cx="390" cy="160" r="5" fill="currentColor" stroke="none"/>+ <circle cx="390" cy="190" r="5" fill="currentColor" stroke="none"/>+ <circle cx="350" cy="215" r="5" fill="currentColor" stroke="none"/>+ <text x="410" y="114" fill="currentColor" font-size="11.5">← click any dot (a commit)…</text>+ <rect x="430" y="130" width="320" height="94" rx="2"/>+ <text x="446" y="152" fill="currentColor" font-size="11.5">…see its changed files,</text>+ <text x="446" y="172" fill="currentColor" font-size="11.5">open any file as a side-by-side diff,</text>+ <text x="446" y="192" fill="currentColor" font-size="11.5">or jump the repo back to that point</text>+ <text x="446" y="212" fill="currentColor" font-size="11" opacity="0.65">🔒 jumping is blocked while an agent is mid-work</text>+ </g>+ </svg>+ </div>+ <figcaption>+ The surprise finding: a branch panel, a themed commit-graph, and a maintained+ graph library are <em>already in your codebase, unused</em>. Most of the work is+ wiring, not building.+ </figcaption>+ </figure>++ <div class="fact">+ <strong>Safety first:</strong> "jump to a commit" only works when the working folder is+ clean and no agent is running there — the app checks in its trusted core, so a bad+ click can never yank code out from under a working agent.+ </div>+ <div class="meta"><span>≈ 6–8 days</span><span>40% pre-built</span><span>all diffs in the editor you already have</span></div>+ </section>++ <!-- ============ QM ============ -->+ <section>+ <span class="chip"><span class="dot" style="background:var(--ink-3)"></span>Bonus</span>+ <h2>What we learned from YC's "qm"</h2>+ <p class="sub">+ Y Combinator open-sourced <strong>qm</strong>, the agent-team tool they run their own+ company on. We studied all of it. Two headlines:+ </p>+ <ul>+ <li><strong>You're ahead of them in two areas</strong> — qm has no voice control and no+ git visualization at all. Your two hardest features have no reference to copy;+ they're differentiators.</li>+ <li><strong>Worth borrowing (as ideas, not code):</strong> a single 3-position safety+ dial (ask-first / normal / unrestricted) with a short list of commands that are+ <em>never</em> allowed no matter what · "watches" that trigger an agent when+ something happens (tests go red, a file changes) · a screen where you manage and+ share agent skills · making sure queues and tasks survive an app crash.</li>+ </ul>+ </section>++ <!-- ============ ORDER ============ -->+ <section>+ <span class="chip"><span class="dot" style="background:var(--good)"></span>Recommended order</span>+ <h2>If we build all four</h2>+ <p class="sub">Quick visible wins first, then the big UX change, then cleanup.</p>+ <div class="order">+ <span class="step" style="border-color:var(--sage)">1 · Markdown preview</span><span class="arr">→</span>+ <span class="step" style="border-color:var(--lilac)">2 · Git history view</span><span class="arr">→</span>+ <span class="step" style="border-color:var(--amber)">3 · Michael's live ticker</span><span class="arr">→</span>+ <span class="step" style="border-color:var(--amber)">4 · Michael's controls</span><span class="arr">→</span>+ <span class="step" style="border-color:var(--teal)">5 · Settings drawers</span><span class="arr">→</span>+ <span class="step" style="border-color:var(--lilac)">6 · Branch compare + jump</span>+ </div>+ </section>++ <hr/>+ <p class="foot">+ Full technical detail (file references, library comparisons, API sources, PR-by-PR plans)+ lives in <code>docs/research/v0.3.5-feature-research.md</code> on the release branch.+ </p>+</div>diff --git a/package-lock.json b/package-lock.jsonindex 58c5d580..e3b39c02 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,12 @@{"name": "munder-difflin",- "version": "0.3.3",+ "version": "0.3.4","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "munder-difflin",- "version": "0.3.3",+ "version": "0.3.4","hasInstallScript": true,"dependencies": {"@codemirror/lang-css": "^6.3.1",@@ -36,6 +36,8 @@"pixi.js": "^8.5.1","react": "^18.3.1","react-dom": "^18.3.1",+ "react-markdown": "^10.1.0",+ "remark-gfm": "^4.0.1","tunnelmole": "^2.4.0","zustand": "^4.5.5"},@@ -2512,7 +2514,6 @@"version": "4.1.13","resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.13.tgz","integrity": "sha512-KSVgmQmzMwPlmtljOomayoR89W4FynCAi3E8PPs7vmDVPe84hT+vGPKkJfThkmXs0x0jAaa9U8uW8bbfyS2fWw==",- "dev": true,"license": "MIT","dependencies": {"@types/ms": "*"@@ -2534,9 +2535,17 @@"version": "1.0.8","resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz","integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==",- "dev": true,"license": "MIT"},+ "node_modules/@types/estree-jsx": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/@types/estree-jsx/-/estree-jsx-1.0.5.tgz",+ "integrity": "sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg==",+ "license": "MIT",+ "dependencies": {+ "@types/estree": "*"+ }+ },"node_modules/@types/fs-extra": {"version": "9.0.13","resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-9.0.13.tgz",@@ -2547,6 +2556,15 @@"@types/node": "*"}},+ "node_modules/@types/hast": {+ "version": "3.0.5",+ "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.5.tgz",+ "integrity": "sha512-rp/ezSWaD1m44dPKICGhiskI13nVr7qTloFwDa/IYkhhf5nzwP+zIQcIJh3WIFSBOy/H1PzB40jPjMDksN4F+g==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "*"+ }+ },"node_modules/@types/http-cache-semantics": {"version": "4.2.0","resolved": "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.2.0.tgz",@@ -2614,11 +2632,19 @@"@types/node": "*"}},+ "node_modules/@types/mdast": {+ "version": "4.0.4",+ "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-4.0.4.tgz",+ "integrity": "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "*"+ }+ },"node_modules/@types/ms": {"version": "2.1.0","resolved": "https://registry.npmjs.org/@types/ms/-/ms-2.1.0.tgz","integrity": "sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==",- "dev": true,"license": "MIT"},"node_modules/@types/node": {@@ -2674,14 +2700,12 @@"version": "15.7.15","resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.15.tgz","integrity": "sha512-F6bEyamV9jKGAFBEmlQnesRPGOQqS2+Uwi0Em15xenOxHaf2hv6L8YCVn3rPdPJOiJfPiCnLIRyvwVaqMY3MIw==",- "devOptional": true,"license": "MIT"},"node_modules/@types/react": {"version": "18.3.29","resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.29.tgz","integrity": "sha512-ch0qJdr2JY0r04NXSprbK6TXOgnaJ1Tz23fm5W+z0/CBah6BSBc3n96h7K9GOtwh0HrilNWHIBzE1Ko4Dcw/Wg==",- "devOptional": true,"license": "MIT","dependencies": {"@types/prop-types": "*",@@ -2723,6 +2747,12 @@"integrity": "sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==","license": "MIT"},+ "node_modules/@types/unist": {+ "version": "3.0.3",+ "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz",+ "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==",+ "license": "MIT"+ },"node_modules/@types/validator": {"version": "13.15.10","resolved": "https://registry.npmjs.org/@types/validator/-/validator-13.15.10.tgz",@@ -2825,6 +2855,12 @@"react-dom": ">=17.0.0"}},+ "node_modules/@ungap/structured-clone": {+ "version": "1.3.3",+ "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.3.3.tgz",+ "integrity": "sha512-60YRaenCQcVjYEKOcG824+DRGGIQ3VKErcBoAEDJZz5bKIs2ZG+X/H9Nk+Q6EVkwJk5QNApxbrc5QtBSwtrXAg==",+ "license": "ISC"+ },"node_modules/@vitejs/plugin-react": {"version": "4.7.0","resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.7.0.tgz",@@ -3525,6 +3561,16 @@"follow-redirects": "^1.14.0"}},+ "node_modules/bail": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz",+ "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },"node_modules/balanced-match": {"version": "1.0.2","resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",@@ -4113,6 +4159,16 @@],"license": "CC-BY-4.0"},+ "node_modules/ccount": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz",+ "integrity": "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },"node_modules/chalk": {"version": "4.1.2","resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",@@ -4129,6 +4185,46 @@"url": "https://github.com/chalk/chalk?sponsor=1"}},+ "node_modules/character-entities": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/character-entities/-/character-entities-2.0.2.tgz",+ "integrity": "sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/character-entities-html4": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/character-entities-html4/-/character-entities-html4-2.1.0.tgz",+ "integrity": "sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/character-entities-legacy": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz",+ "integrity": "sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/character-reference-invalid": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/character-reference-invalid/-/character-reference-invalid-2.0.1.tgz",+ "integrity": "sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },"node_modules/chownr": {"version": "2.0.0","resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz",@@ -4314,6 +4410,16 @@"node": ">= 0.8"}},+ "node_modules/comma-separated-tokens": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz",+ "integrity": "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },"node_modules/commander": {"version": "5.1.0","resolved": "https://registry.npmjs.org/commander/-/commander-5.1.0.tgz",@@ -4626,7 +4732,6 @@"version": "3.2.3","resolved": "https://registry.npmjs.org/csstype/-/csstype-3.2.3.tgz","integrity": "sha512-z1HGKcYy2xA8AGQfwrn0PAy+PB7X/GSj3UVJW9qKyn43xWa+gl5nXmU4qqLMRzWVLFC8KusUX8T/0kCiOYpAIQ==",- "devOptional": true,"license": "MIT"},"node_modules/debug": {@@ -4646,6 +4751,19 @@}}},+ "node_modules/decode-named-character-reference": {+ "version": "1.3.0",+ "resolved": "https://registry.npmjs.org/decode-named-character-reference/-/decode-named-character-reference-1.3.0.tgz",+ "integrity": "sha512-GtpQYB283KrPp6nRw50q3U9/VfOutZOe103qlN7BPP6Ad27xYnOIWv4lPzo8HCAL+mMZofJ9KEy30fq6MfaK6Q==",+ "license": "MIT",+ "dependencies": {+ "character-entities": "^2.0.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },"node_modules/decompress-response": {"version": "6.0.0","resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz",@@ -4812,6 +4930,15 @@"node": ">= 0.8"}},+ "node_modules/dequal": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz",+ "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==",+ "license": "MIT",+ "engines": {+ "node": ">=6"+ }+ },"node_modules/detect-libc": {"version": "2.1.2","resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",@@ -4845,6 +4972,19 @@"node": ">= 16.0.0"}},+ "node_modules/devlop": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz",+ "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==",+ "license": "MIT",+ "dependencies": {+ "dequal": "^2.0.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },"node_modules/diff-sequences": {"version": "29.6.3","resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz",@@ -5566,6 +5706,16 @@"url": "https://github.com/sponsors/sindresorhus"}},+ "node_modules/estree-util-is-identifier-name": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/estree-util-is-identifier-name/-/estree-util-is-identifier-name-3.0.0.tgz",+ "integrity": "sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg==",+ "license": "MIT",+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },"node_modules/etag": {"version": "1.8.1","resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",@@ -5770,6 +5920,12 @@"url": "https://opencollective.com/express"}},+ "node_modules/extend": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",+ "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==",+ "license": "MIT"+ },"node_modules/extract-zip": {"version": "2.0.1","resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz",@@ -6371,6 +6527,46 @@"node": ">= 0.4"}},+ "node_modules/hast-util-to-jsx-runtime": {+ "version": "2.3.6",+ "resolved": "https://registry.npmjs.org/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.3.6.tgz",+ "integrity": "sha512-zl6s8LwNyo1P9uw+XJGvZtdFF1GdAkOg8ujOw+4Pyb76874fLps4ueHXDhXWdk6YHQ6OgUtinliG7RsYvCbbBg==",+ "license": "MIT",+ "dependencies": {+ "@types/estree": "^1.0.0",+ "@types/hast": "^3.0.0",+ "@types/unist": "^3.0.0",+ "comma-separated-tokens": "^2.0.0",+ "devlop": "^1.0.0",+ "estree-util-is-identifier-name": "^3.0.0",+ "hast-util-whitespace": "^3.0.0",+ "mdast-util-mdx-expression": "^2.0.0",+ "mdast-util-mdx-jsx": "^3.0.0",+ "mdast-util-mdxjs-esm": "^2.0.0",+ "property-information": "^7.0.0",+ "space-separated-tokens": "^2.0.0",+ "style-to-js": "^1.0.0",+ "unist-util-position": "^5.0.0",+ "vfile-message": "^4.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/hast-util-whitespace": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz",+ "integrity": "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==",+ "license": "MIT",+ "dependencies": {+ "@types/hast": "^3.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },"node_modules/hono": {"version": "4.12.26","resolved": "https://registry.npmjs.org/hono/-/hono-4.12.26.tgz",@@ -6414,6 +6610,16 @@"dev": true,"license": "ISC"},+ "node_modules/html-url-attributes": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/html-url-attributes/-/html-url-attributes-3.0.1.tgz",+ "integrity": "sha512-ol6UPyBWqsrO6EJySPz2O7ZSr856WDrEzM5zMqp+FJJLGMW35cLYmmZnl0vztAZxRUoNZJFTCohfjuIJ8I4QBQ==",+ "license": "MIT",+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },"node_modules/http-cache-semantics": {"version": "4.2.0","resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.2.0.tgz",@@ -6603,6 +6809,12 @@"integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==","license": "ISC"},+ "node_modules/inline-style-parser": {+ "version": "0.2.7",+ "resolved": "https://registry.npmjs.org/inline-style-parser/-/inline-style-parser-0.2.7.tgz",+ "integrity": "sha512-Nb2ctOyNR8DqQoR0OwRG95uNWIC0C1lCgf5Naz5H6Ji72KZ8OcFZLz2P5sNgwlyoJ8Yif11oMuYs5pBQa86csA==",+ "license": "MIT"+ },"node_modules/internal-slot": {"version": "1.1.0","resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.1.0.tgz",@@ -6637,6 +6849,30 @@"node": ">= 0.10"}},+ "node_modules/is-alphabetical": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/is-alphabetical/-/is-alphabetical-2.0.1.tgz",+ "integrity": "sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/is-alphanumerical": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/is-alphanumerical/-/is-alphanumerical-2.0.1.tgz",+ "integrity": "sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw==",+ "license": "MIT",+ "dependencies": {+ "is-alphabetical": "^2.0.0",+ "is-decimal": "^2.0.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },"node_modules/is-arguments": {"version": "1.2.0","resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.2.0.tgz",@@ -6742,6 +6978,16 @@"url": "https://github.com/sponsors/ljharb"}},+ "node_modules/is-decimal": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/is-decimal/-/is-decimal-2.0.1.tgz",+ "integrity": "sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },"node_modules/is-fullwidth-code-point": {"version": "3.0.0","resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",@@ -6751,6 +6997,16 @@"node": ">=8"}},+ "node_modules/is-hexadecimal": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/is-hexadecimal/-/is-hexadecimal-2.0.1.tgz",+ "integrity": "sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },"node_modules/is-interactive": {"version": "1.0.0","resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz",@@ -6805,6 +7061,18 @@"url": "https://github.com/sponsors/ljharb"}},+ "node_modules/is-plain-obj": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz",+ "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==",+ "license": "MIT",+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },"node_modules/is-promise": {"version": "4.0.0","resolved": "https://registry.npmjs.org/is-promise/-/is-promise-4.0.0.tgz",@@ -7394,6 +7662,16 @@"url": "https://github.com/sponsors/sindresorhus"}},+ "node_modules/longest-streak": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-3.1.0.tgz",+ "integrity": "sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },"node_modules/loose-envify": {"version": "1.4.0","resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",@@ -7474,6 +7752,16 @@"node": ">=12"}},+ "node_modules/markdown-table": {+ "version": "3.0.4",+ "resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-3.0.4.tgz",+ "integrity": "sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },"node_modules/matcher": {"version": "3.0.0","resolved": "https://registry.npmjs.org/matcher/-/matcher-3.0.0.tgz",@@ -7497,96 +7785,941 @@"node": ">= 0.4"}},- "node_modules/media-typer": {- "version": "0.3.0",- "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",- "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==",+ "node_modules/mdast-util-find-and-replace": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.2.tgz",+ "integrity": "sha512-Tmd1Vg/m3Xz43afeNxDIhWRtFZgM2VLyaf4vSTYwudTyeuTneoL3qtWMA5jeLyz/O1vDJmmV4QuScFCA2tBPwg==","license": "MIT",- "engines": {- "node": ">= 0.6"+ "dependencies": {+ "@types/mdast": "^4.0.0",+ "escape-string-regexp": "^5.0.0",+ "unist-util-is": "^6.0.0",+ "unist-util-visit-parents": "^6.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"}},- "node_modules/merge-descriptors": {- "version": "2.0.0",- "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-2.0.0.tgz",- "integrity": "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==",+ "node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz",+ "integrity": "sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==","license": "MIT",- "optional": true,"engines": {- "node": ">=18"+ "node": ">=12"},"funding": {"url": "https://github.com/sponsors/sindresorhus"}},- "node_modules/micromatch": {- "version": "4.0.8",- "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",- "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",+ "node_modules/mdast-util-from-markdown": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-2.0.3.tgz",+ "integrity": "sha512-W4mAWTvSlKvf8L6J+VN9yLSqQ9AOAAvHuoDAmPkz4dHf553m5gVj2ejadHJhoJmcmxEnOv6Pa8XJhpxE93kb8Q==","license": "MIT","dependencies": {- "braces": "^3.0.3",- "picomatch": "^2.3.1"+ "@types/mdast": "^4.0.0",+ "@types/unist": "^3.0.0",+ "decode-named-character-reference": "^1.0.0",+ "devlop": "^1.0.0",+ "mdast-util-to-string": "^4.0.0",+ "micromark": "^4.0.0",+ "micromark-util-decode-numeric-character-reference": "^2.0.0",+ "micromark-util-decode-string": "^2.0.0",+ "micromark-util-normalize-identifier": "^2.0.0",+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0",+ "unist-util-stringify-position": "^4.0.0"},- "engines": {- "node": ">=8.6"+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"}},- "node_modules/mime": {- "version": "2.6.0",- "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz",- "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==",- "dev": true,+ "node_modules/mdast-util-gfm": {+ "version": "3.1.0",+ "resolved": "https://registry.npmjs.org/mdast-util-gfm/-/mdast-util-gfm-3.1.0.tgz",+ "integrity": "sha512-0ulfdQOM3ysHhCJ1p06l0b0VKlhU0wuQs3thxZQagjcjPrlFRqY215uZGHHJan9GEAXd9MbfPjFJz+qMkVR6zQ==","license": "MIT",- "bin": {- "mime": "cli.js"+ "dependencies": {+ "mdast-util-from-markdown": "^2.0.0",+ "mdast-util-gfm-autolink-literal": "^2.0.0",+ "mdast-util-gfm-footnote": "^2.0.0",+ "mdast-util-gfm-strikethrough": "^2.0.0",+ "mdast-util-gfm-table": "^2.0.0",+ "mdast-util-gfm-task-list-item": "^2.0.0",+ "mdast-util-to-markdown": "^2.0.0"},- "engines": {- "node": ">=4.0.0"- }- },- "node_modules/mime-db": {- "version": "1.52.0",- "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",- "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",- "license": "MIT",- "engines": {- "node": ">= 0.6"+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"}},- "node_modules/mime-types": {- "version": "2.1.35",- "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",- "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",+ "node_modules/mdast-util-gfm-autolink-literal": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-2.0.1.tgz",+ "integrity": "sha512-5HVP2MKaP6L+G6YaxPNjuL0BPrq9orG3TsrZ9YXbA3vDw/ACI4MEsnoDpn6ZNm7GnZgtAcONJyPhOP8tNJQavQ==","license": "MIT","dependencies": {- "mime-db": "1.52.0"+ "@types/mdast": "^4.0.0",+ "ccount": "^2.0.0",+ "devlop": "^1.0.0",+ "mdast-util-find-and-replace": "^3.0.0",+ "micromark-util-character": "^2.0.0"},- "engines": {- "node": ">= 0.6"+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"}},- "node_modules/mimic-fn": {+ "node_modules/mdast-util-gfm-footnote": {"version": "2.1.0",- "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",- "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",- "dev": true,+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-2.1.0.tgz",+ "integrity": "sha512-sqpDWlsHn7Ac9GNZQMeUzPQSMzR6Wv0WKRNvQRg0KqHh02fpTz69Qc1QSseNX29bhz1ROIyNyxExfawVKTm1GQ==","license": "MIT",- "engines": {- "node": ">=6"+ "dependencies": {+ "@types/mdast": "^4.0.0",+ "devlop": "^1.1.0",+ "mdast-util-from-markdown": "^2.0.0",+ "mdast-util-to-markdown": "^2.0.0",+ "micromark-util-normalize-identifier": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"}},- "node_modules/mimic-response": {- "version": "1.0.1",- "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz",- "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==",- "dev": true,+ "node_modules/mdast-util-gfm-strikethrough": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-2.0.0.tgz",+ "integrity": "sha512-mKKb915TF+OC5ptj5bJ7WFRPdYtuHv0yTRxK2tJvi+BDqbkiG7h7u/9SI89nRAYcmap2xHQL9D+QG/6wSrTtXg==","license": "MIT",- "engines": {- "node": ">=4"+ "dependencies": {+ "@types/mdast": "^4.0.0",+ "mdast-util-from-markdown": "^2.0.0",+ "mdast-util-to-markdown": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"}},- "node_modules/minimatch": {+ "node_modules/mdast-util-gfm-table": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-table/-/mdast-util-gfm-table-2.0.0.tgz",+ "integrity": "sha512-78UEvebzz/rJIxLvE7ZtDd/vIQ0RHv+3Mh5DR96p7cS7HsBhYIICDBCu8csTNWNO6tBWfqXPWekRuj2FNOGOZg==",+ "license": "MIT",+ "dependencies": {+ "@types/mdast": "^4.0.0",+ "devlop": "^1.0.0",+ "markdown-table": "^3.0.0",+ "mdast-util-from-markdown": "^2.0.0",+ "mdast-util-to-markdown": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/mdast-util-gfm-task-list-item": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-2.0.0.tgz",+ "integrity": "sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ==",+ "license": "MIT",+ "dependencies": {+ "@types/mdast": "^4.0.0",+ "devlop": "^1.0.0",+ "mdast-util-from-markdown": "^2.0.0",+ "mdast-util-to-markdown": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/mdast-util-mdx-expression": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/mdast-util-mdx-expression/-/mdast-util-mdx-expression-2.0.1.tgz",+ "integrity": "sha512-J6f+9hUp+ldTZqKRSg7Vw5V6MqjATc+3E4gf3CFNcuZNWD8XdyI6zQ8GqH7f8169MM6P7hMBRDVGnn7oHB9kXQ==",+ "license": "MIT",+ "dependencies": {+ "@types/estree-jsx": "^1.0.0",+ "@types/hast": "^3.0.0",+ "@types/mdast": "^4.0.0",+ "devlop": "^1.0.0",+ "mdast-util-from-markdown": "^2.0.0",+ "mdast-util-to-markdown": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/mdast-util-mdx-jsx": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-3.2.0.tgz",+ "integrity": "sha512-lj/z8v0r6ZtsN/cGNNtemmmfoLAFZnjMbNyLzBafjzikOM+glrjNHPlf6lQDOTccj9n5b0PPihEBbhneMyGs1Q==",+ "license": "MIT",+ "dependencies": {+ "@types/estree-jsx": "^1.0.0",+ "@types/hast": "^3.0.0",+ "@types/mdast": "^4.0.0",+ "@types/unist": "^3.0.0",+ "ccount": "^2.0.0",+ "devlop": "^1.1.0",+ "mdast-util-from-markdown": "^2.0.0",+ "mdast-util-to-markdown": "^2.0.0",+ "parse-entities": "^4.0.0",+ "stringify-entities": "^4.0.0",+ "unist-util-stringify-position": "^4.0.0",+ "vfile-message": "^4.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/mdast-util-mdxjs-esm": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/mdast-util-mdxjs-esm/-/mdast-util-mdxjs-esm-2.0.1.tgz",+ "integrity": "sha512-EcmOpxsZ96CvlP03NghtH1EsLtr0n9Tm4lPUJUBccV9RwUOneqSycg19n5HGzCf+10LozMRSObtVr3ee1WoHtg==",+ "license": "MIT",+ "dependencies": {+ "@types/estree-jsx": "^1.0.0",+ "@types/hast": "^3.0.0",+ "@types/mdast": "^4.0.0",+ "devlop": "^1.0.0",+ "mdast-util-from-markdown": "^2.0.0",+ "mdast-util-to-markdown": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/mdast-util-phrasing": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/mdast-util-phrasing/-/mdast-util-phrasing-4.1.0.tgz",+ "integrity": "sha512-TqICwyvJJpBwvGAMZjj4J2n0X8QWp21b9l0o7eXyVJ25YNWYbJDVIyD1bZXE6WtV6RmKJVYmQAKWa0zWOABz2w==",+ "license": "MIT",+ "dependencies": {+ "@types/mdast": "^4.0.0",+ "unist-util-is": "^6.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/mdast-util-to-hast": {+ "version": "13.2.1",+ "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-13.2.1.tgz",+ "integrity": "sha512-cctsq2wp5vTsLIcaymblUriiTcZd0CwWtCbLvrOzYCDZoWyMNV8sZ7krj09FSnsiJi3WVsHLM4k6Dq/yaPyCXA==",+ "license": "MIT",+ "dependencies": {+ "@types/hast": "^3.0.0",+ "@types/mdast": "^4.0.0",+ "@ungap/structured-clone": "^1.0.0",+ "devlop": "^1.0.0",+ "micromark-util-sanitize-uri": "^2.0.0",+ "trim-lines": "^3.0.0",+ "unist-util-position": "^5.0.0",+ "unist-util-visit": "^5.0.0",+ "vfile": "^6.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/mdast-util-to-markdown": {+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/mdast-util-to-markdown/-/mdast-util-to-markdown-2.1.2.tgz",+ "integrity": "sha512-xj68wMTvGXVOKonmog6LwyJKrYXZPvlwabaryTjLh9LuvovB/KAH+kvi8Gjj+7rJjsFi23nkUxRQv1KqSroMqA==",+ "license": "MIT",+ "dependencies": {+ "@types/mdast": "^4.0.0",+ "@types/unist": "^3.0.0",+ "longest-streak": "^3.0.0",+ "mdast-util-phrasing": "^4.0.0",+ "mdast-util-to-string": "^4.0.0",+ "micromark-util-classify-character": "^2.0.0",+ "micromark-util-decode-string": "^2.0.0",+ "unist-util-visit": "^5.0.0",+ "zwitch": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/mdast-util-to-string": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz",+ "integrity": "sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg==",+ "license": "MIT",+ "dependencies": {+ "@types/mdast": "^4.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/media-typer": {+ "version": "0.3.0",+ "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",+ "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/merge-descriptors": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-2.0.0.tgz",+ "integrity": "sha512-Snk314V5ayFLhp3fkUREub6WtjBfPdCPY1Ln8/8munuLuiYhsABgBVWsozAG+MWMbVEvcdcpbi9R7ww22l9Q3g==",+ "license": "MIT",+ "optional": true,+ "engines": {+ "node": ">=18"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/micromark": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/micromark/-/micromark-4.0.2.tgz",+ "integrity": "sha512-zpe98Q6kvavpCr1NPVSCMebCKfD7CA2NqZ+rykeNhONIJBpc1tFKt9hucLGwha3jNTNI8lHpctWJWoimVF4PfA==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "@types/debug": "^4.0.0",+ "debug": "^4.0.0",+ "decode-named-character-reference": "^1.0.0",+ "devlop": "^1.0.0",+ "micromark-core-commonmark": "^2.0.0",+ "micromark-factory-space": "^2.0.0",+ "micromark-util-character": "^2.0.0",+ "micromark-util-chunked": "^2.0.0",+ "micromark-util-combine-extensions": "^2.0.0",+ "micromark-util-decode-numeric-character-reference": "^2.0.0",+ "micromark-util-encode": "^2.0.0",+ "micromark-util-normalize-identifier": "^2.0.0",+ "micromark-util-resolve-all": "^2.0.0",+ "micromark-util-sanitize-uri": "^2.0.0",+ "micromark-util-subtokenize": "^2.0.0",+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ }+ },+ "node_modules/micromark-core-commonmark": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-2.0.3.tgz",+ "integrity": "sha512-RDBrHEMSxVFLg6xvnXmb1Ayr2WzLAWjeSATAoxwKYJV94TeNavgoIdA0a9ytzDSVzBy2YKFK+emCPOEibLeCrg==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "decode-named-character-reference": "^1.0.0",+ "devlop": "^1.0.0",+ "micromark-factory-destination": "^2.0.0",+ "micromark-factory-label": "^2.0.0",+ "micromark-factory-space": "^2.0.0",+ "micromark-factory-title": "^2.0.0",+ "micromark-factory-whitespace": "^2.0.0",+ "micromark-util-character": "^2.0.0",+ "micromark-util-chunked": "^2.0.0",+ "micromark-util-classify-character": "^2.0.0",+ "micromark-util-html-tag-name": "^2.0.0",+ "micromark-util-normalize-identifier": "^2.0.0",+ "micromark-util-resolve-all": "^2.0.0",+ "micromark-util-subtokenize": "^2.0.0",+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ }+ },+ "node_modules/micromark-extension-gfm": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm/-/micromark-extension-gfm-3.0.0.tgz",+ "integrity": "sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w==",+ "license": "MIT",+ "dependencies": {+ "micromark-extension-gfm-autolink-literal": "^2.0.0",+ "micromark-extension-gfm-footnote": "^2.0.0",+ "micromark-extension-gfm-strikethrough": "^2.0.0",+ "micromark-extension-gfm-table": "^2.0.0",+ "micromark-extension-gfm-tagfilter": "^2.0.0",+ "micromark-extension-gfm-task-list-item": "^2.0.0",+ "micromark-util-combine-extensions": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/micromark-extension-gfm-autolink-literal": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-2.1.0.tgz",+ "integrity": "sha512-oOg7knzhicgQ3t4QCjCWgTmfNhvQbDDnJeVu9v81r7NltNCVmhPy1fJRX27pISafdjL+SVc4d3l48Gb6pbRypw==",+ "license": "MIT",+ "dependencies": {+ "micromark-util-character": "^2.0.0",+ "micromark-util-sanitize-uri": "^2.0.0",+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/micromark-extension-gfm-footnote": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-2.1.0.tgz",+ "integrity": "sha512-/yPhxI1ntnDNsiHtzLKYnE3vf9JZ6cAisqVDauhp4CEHxlb4uoOTxOCJ+9s51bIB8U1N1FJ1RXOKTIlD5B/gqw==",+ "license": "MIT",+ "dependencies": {+ "devlop": "^1.0.0",+ "micromark-core-commonmark": "^2.0.0",+ "micromark-factory-space": "^2.0.0",+ "micromark-util-character": "^2.0.0",+ "micromark-util-normalize-identifier": "^2.0.0",+ "micromark-util-sanitize-uri": "^2.0.0",+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/micromark-extension-gfm-strikethrough": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-2.1.0.tgz",+ "integrity": "sha512-ADVjpOOkjz1hhkZLlBiYA9cR2Anf8F4HqZUO6e5eDcPQd0Txw5fxLzzxnEkSkfnD0wziSGiv7sYhk/ktvbf1uw==",+ "license": "MIT",+ "dependencies": {+ "devlop": "^1.0.0",+ "micromark-util-chunked": "^2.0.0",+ "micromark-util-classify-character": "^2.0.0",+ "micromark-util-resolve-all": "^2.0.0",+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/micromark-extension-gfm-table": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.1.1.tgz",+ "integrity": "sha512-t2OU/dXXioARrC6yWfJ4hqB7rct14e8f7m0cbI5hUmDyyIlwv5vEtooptH8INkbLzOatzKuVbQmAYcbWoyz6Dg==",+ "license": "MIT",+ "dependencies": {+ "devlop": "^1.0.0",+ "micromark-factory-space": "^2.0.0",+ "micromark-util-character": "^2.0.0",+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/micromark-extension-gfm-tagfilter": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-2.0.0.tgz",+ "integrity": "sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg==",+ "license": "MIT",+ "dependencies": {+ "micromark-util-types": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/micromark-extension-gfm-task-list-item": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-2.1.0.tgz",+ "integrity": "sha512-qIBZhqxqI6fjLDYFTBIa4eivDMnP+OZqsNwmQ3xNLE4Cxwc+zfQEfbs6tzAo2Hjq+bh6q5F+Z8/cksrLFYWQQw==",+ "license": "MIT",+ "dependencies": {+ "devlop": "^1.0.0",+ "micromark-factory-space": "^2.0.0",+ "micromark-util-character": "^2.0.0",+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/micromark-factory-destination": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-factory-destination/-/micromark-factory-destination-2.0.1.tgz",+ "integrity": "sha512-Xe6rDdJlkmbFRExpTOmRj9N3MaWmbAgdpSrBQvCFqhezUn4AHqJHbaEnfbVYYiexVSs//tqOdY/DxhjdCiJnIA==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "micromark-util-character": "^2.0.0",+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ }+ },+ "node_modules/micromark-factory-label": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-factory-label/-/micromark-factory-label-2.0.1.tgz",+ "integrity": "sha512-VFMekyQExqIW7xIChcXn4ok29YE3rnuyveW3wZQWWqF4Nv9Wk5rgJ99KzPvHjkmPXF93FXIbBp6YdW3t71/7Vg==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "devlop": "^1.0.0",+ "micromark-util-character": "^2.0.0",+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ }+ },+ "node_modules/micromark-factory-space": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-factory-space/-/micromark-factory-space-2.0.1.tgz",+ "integrity": "sha512-zRkxjtBxxLd2Sc0d+fbnEunsTj46SWXgXciZmHq0kDYGnck/ZSGj9/wULTV95uoeYiK5hRXP2mJ98Uo4cq/LQg==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "micromark-util-character": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ }+ },+ "node_modules/micromark-factory-title": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-factory-title/-/micromark-factory-title-2.0.1.tgz",+ "integrity": "sha512-5bZ+3CjhAd9eChYTHsjy6TGxpOFSKgKKJPJxr293jTbfry2KDoWkhBb6TcPVB4NmzaPhMs1Frm9AZH7OD4Cjzw==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "micromark-factory-space": "^2.0.0",+ "micromark-util-character": "^2.0.0",+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ }+ },+ "node_modules/micromark-factory-whitespace": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.1.tgz",+ "integrity": "sha512-Ob0nuZ3PKt/n0hORHyvoD9uZhr+Za8sFoP+OnMcnWK5lngSzALgQYKMr9RJVOWLqQYuyn6ulqGWSXdwf6F80lQ==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "micromark-factory-space": "^2.0.0",+ "micromark-util-character": "^2.0.0",+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ }+ },+ "node_modules/micromark-util-character": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz",+ "integrity": "sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ }+ },+ "node_modules/micromark-util-chunked": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-util-chunked/-/micromark-util-chunked-2.0.1.tgz",+ "integrity": "sha512-QUNFEOPELfmvv+4xiNg2sRYeS/P84pTW0TCgP5zc9FpXetHY0ab7SxKyAQCNCc1eK0459uoLI1y5oO5Vc1dbhA==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "micromark-util-symbol": "^2.0.0"+ }+ },+ "node_modules/micromark-util-classify-character": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-util-classify-character/-/micromark-util-classify-character-2.0.1.tgz",+ "integrity": "sha512-K0kHzM6afW/MbeWYWLjoHQv1sgg2Q9EccHEDzSkxiP/EaagNzCm7T/WMKZ3rjMbvIpvBiZgwR3dKMygtA4mG1Q==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "micromark-util-character": "^2.0.0",+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ }+ },+ "node_modules/micromark-util-combine-extensions": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.1.tgz",+ "integrity": "sha512-OnAnH8Ujmy59JcyZw8JSbK9cGpdVY44NKgSM7E9Eh7DiLS2E9RNQf0dONaGDzEG9yjEl5hcqeIsj4hfRkLH/Bg==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "micromark-util-chunked": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ }+ },+ "node_modules/micromark-util-decode-numeric-character-reference": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.2.tgz",+ "integrity": "sha512-ccUbYk6CwVdkmCQMyr64dXz42EfHGkPQlBj5p7YVGzq8I7CtjXZJrubAYezf7Rp+bjPseiROqe7G6foFd+lEuw==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "micromark-util-symbol": "^2.0.0"+ }+ },+ "node_modules/micromark-util-decode-string": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-util-decode-string/-/micromark-util-decode-string-2.0.1.tgz",+ "integrity": "sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "decode-named-character-reference": "^1.0.0",+ "micromark-util-character": "^2.0.0",+ "micromark-util-decode-numeric-character-reference": "^2.0.0",+ "micromark-util-symbol": "^2.0.0"+ }+ },+ "node_modules/micromark-util-encode": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz",+ "integrity": "sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT"+ },+ "node_modules/micromark-util-html-tag-name": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.1.tgz",+ "integrity": "sha512-2cNEiYDhCWKI+Gs9T0Tiysk136SnR13hhO8yW6BGNyhOC4qYFnwF1nKfD3HFAIXA5c45RrIG1ub11GiXeYd1xA==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT"+ },+ "node_modules/micromark-util-normalize-identifier": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.1.tgz",+ "integrity": "sha512-sxPqmo70LyARJs0w2UclACPUUEqltCkJ6PhKdMIDuJ3gSf/Q+/GIe3WKl0Ijb/GyH9lOpUkRAO2wp0GVkLvS9Q==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "micromark-util-symbol": "^2.0.0"+ }+ },+ "node_modules/micromark-util-resolve-all": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.1.tgz",+ "integrity": "sha512-VdQyxFWFT2/FGJgwQnJYbe1jjQoNTS4RjglmSjTUlpUMa95Htx9NHeYW4rGDJzbjvCsl9eLjMQwGeElsqmzcHg==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "micromark-util-types": "^2.0.0"+ }+ },+ "node_modules/micromark-util-sanitize-uri": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz",+ "integrity": "sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "micromark-util-character": "^2.0.0",+ "micromark-util-encode": "^2.0.0",+ "micromark-util-symbol": "^2.0.0"+ }+ },+ "node_modules/micromark-util-subtokenize": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/micromark-util-subtokenize/-/micromark-util-subtokenize-2.1.0.tgz",+ "integrity": "sha512-XQLu552iSctvnEcgXw6+Sx75GflAPNED1qx7eBJ+wydBb2KCbRZe+NwvIEEMM83uml1+2WSXpBAcp9IUCgCYWA==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "devlop": "^1.0.0",+ "micromark-util-chunked": "^2.0.0",+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ }+ },+ "node_modules/micromark-util-symbol": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz",+ "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT"+ },+ "node_modules/micromark-util-types": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.2.tgz",+ "integrity": "sha512-Yw0ECSpJoViF1qTU4DC6NwtC4aWGt1EkzaQB8KPPyCRR8z9TWeV0HbEFGTO+ZY1wB22zmxnJqhPyTpOVCpeHTA==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT"+ },+ "node_modules/micromatch": {+ "version": "4.0.8",+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz",+ "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",+ "license": "MIT",+ "dependencies": {+ "braces": "^3.0.3",+ "picomatch": "^2.3.1"+ },+ "engines": {+ "node": ">=8.6"+ }+ },+ "node_modules/mime": {+ "version": "2.6.0",+ "resolved": "https://registry.npmjs.org/mime/-/mime-2.6.0.tgz",+ "integrity": "sha512-USPkMeET31rOMiarsBNIHZKLGgvKc/LrjofAnBlOttf5ajRvqiRA8QsenbcooctK6d6Ts6aqZXBA+XbkKthiQg==",+ "dev": true,+ "license": "MIT",+ "bin": {+ "mime": "cli.js"+ },+ "engines": {+ "node": ">=4.0.0"+ }+ },+ "node_modules/mime-db": {+ "version": "1.52.0",+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",+ "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",+ "license": "MIT",+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/mime-types": {+ "version": "2.1.35",+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",+ "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",+ "license": "MIT",+ "dependencies": {+ "mime-db": "1.52.0"+ },+ "engines": {+ "node": ">= 0.6"+ }+ },+ "node_modules/mimic-fn": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",+ "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/mimic-response": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz",+ "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/minimatch": {"version": "5.1.9","resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.9.tgz","integrity": "sha512-7o1wEA2RyMP7Iu7GNba9vc0RWWGACJOCZBJX2GJWip0ikV+wcOsgVuY9uE8CPiyQhkGFSlhuSkZPavN7u1c2Fw==",@@ -8245,6 +9378,31 @@"dev": true,"license": "BlueOak-1.0.0"},+ "node_modules/parse-entities": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/parse-entities/-/parse-entities-4.0.2.tgz",+ "integrity": "sha512-GG2AQYWoLgL877gQIKeRPGO1xF9+eG1ujIb5soS5gPvLQ1y2o8FL90w2QWNdf9I361Mpp7726c+lj3U0qK1uGw==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "^2.0.0",+ "character-entities-legacy": "^3.0.0",+ "character-reference-invalid": "^2.0.0",+ "decode-named-character-reference": "^1.0.0",+ "is-alphanumerical": "^2.0.0",+ "is-decimal": "^2.0.0",+ "is-hexadecimal": "^2.0.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/parse-entities/node_modules/@types/unist": {+ "version": "2.0.11",+ "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.11.tgz",+ "integrity": "sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==",+ "license": "MIT"+ },"node_modules/parse-svg-path": {"version": "0.1.2","resolved": "https://registry.npmjs.org/parse-svg-path/-/parse-svg-path-0.1.2.tgz",@@ -8582,6 +9740,16 @@"react-is": "^16.13.1"}},+ "node_modules/property-information": {+ "version": "7.2.0",+ "resolved": "https://registry.npmjs.org/property-information/-/property-information-7.2.0.tgz",+ "integrity": "sha512-IAtzIB6sUiWaJYrX9smp3V46pBGbBeLFRGdh25kg1334VcBlD8HzhPeNIWQH9zhGmo2itIe25EHt9dQP7G5hmg==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },"node_modules/proxy-addr": {"version": "2.0.7","resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz",@@ -8764,6 +9932,33 @@"integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==","license": "MIT"},+ "node_modules/react-markdown": {+ "version": "10.1.0",+ "resolved": "https://registry.npmjs.org/react-markdown/-/react-markdown-10.1.0.tgz",+ "integrity": "sha512-qKxVopLT/TyA6BX3Ue5NwabOsAzm0Q7kAPwq6L+wWDwisYs7R8vZ0nRXqq6rkueboxpkjvLGU9fWifiX/ZZFxQ==",+ "license": "MIT",+ "dependencies": {+ "@types/hast": "^3.0.0",+ "@types/mdast": "^4.0.0",+ "devlop": "^1.0.0",+ "hast-util-to-jsx-runtime": "^2.0.0",+ "html-url-attributes": "^3.0.0",+ "mdast-util-to-hast": "^13.0.0",+ "remark-parse": "^11.0.0",+ "remark-rehype": "^11.0.0",+ "unified": "^11.0.0",+ "unist-util-visit": "^5.0.0",+ "vfile": "^6.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ },+ "peerDependencies": {+ "@types/react": ">=18",+ "react": ">=18"+ }+ },"node_modules/react-refresh": {"version": "0.17.0","resolved": "https://registry.npmjs.org/react-refresh/-/react-refresh-0.17.0.tgz",@@ -8859,6 +10054,72 @@"url": "https://github.com/sponsors/ljharb"}},+ "node_modules/remark-gfm": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/remark-gfm/-/remark-gfm-4.0.1.tgz",+ "integrity": "sha512-1quofZ2RQ9EWdeN34S79+KExV1764+wCUGop5CPL1WGdD0ocPpu91lzPGbwWMECpEpd42kJGQwzRfyov9j4yNg==",+ "license": "MIT",+ "dependencies": {+ "@types/mdast": "^4.0.0",+ "mdast-util-gfm": "^3.0.0",+ "micromark-extension-gfm": "^3.0.0",+ "remark-parse": "^11.0.0",+ "remark-stringify": "^11.0.0",+ "unified": "^11.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/remark-parse": {+ "version": "11.0.0",+ "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-11.0.0.tgz",+ "integrity": "sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==",+ "license": "MIT",+ "dependencies": {+ "@types/mdast": "^4.0.0",+ "mdast-util-from-markdown": "^2.0.0",+ "micromark-util-types": "^2.0.0",+ "unified": "^11.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/remark-rehype": {+ "version": "11.1.2",+ "resolved": "https://registry.npmjs.org/remark-rehype/-/remark-rehype-11.1.2.tgz",+ "integrity": "sha512-Dh7l57ianaEoIpzbp0PC9UKAdCSVklD8E5Rpw7ETfbTl3FqcOOgq5q2LVDhgGCkaBv7p24JXikPdvhhmHvKMsw==",+ "license": "MIT",+ "dependencies": {+ "@types/hast": "^3.0.0",+ "@types/mdast": "^4.0.0",+ "mdast-util-to-hast": "^13.0.0",+ "unified": "^11.0.0",+ "vfile": "^6.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/remark-stringify": {+ "version": "11.0.0",+ "resolved": "https://registry.npmjs.org/remark-stringify/-/remark-stringify-11.0.0.tgz",+ "integrity": "sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw==",+ "license": "MIT",+ "dependencies": {+ "@types/mdast": "^4.0.0",+ "mdast-util-to-markdown": "^2.0.0",+ "unified": "^11.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },"node_modules/require-directory": {"version": "2.1.1","resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",@@ -9588,6 +10849,16 @@"source-map": "^0.6.0"}},+ "node_modules/space-separated-tokens": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz",+ "integrity": "sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },"node_modules/sprintf-js": {"version": "1.1.3","resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.3.tgz",@@ -9716,6 +10987,20 @@"node": ">=8"}},+ "node_modules/stringify-entities": {+ "version": "4.0.4",+ "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-4.0.4.tgz",+ "integrity": "sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==",+ "license": "MIT",+ "dependencies": {+ "character-entities-html4": "^2.0.0",+ "character-entities-legacy": "^3.0.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },"node_modules/strip-ansi": {"version": "6.0.1","resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",@@ -9757,6 +11042,24 @@"integrity": "sha512-i/n8VsZydrugj3Iuzll8+x/00GH2vnYsk1eomD8QiRrSAeW6ItbCQDtfXCeJHd0iwiNagqjQkvpvREEPtW3IoQ==","license": "MIT"},+ "node_modules/style-to-js": {+ "version": "1.1.21",+ "resolved": "https://registry.npmjs.org/style-to-js/-/style-to-js-1.1.21.tgz",+ "integrity": "sha512-RjQetxJrrUJLQPHbLku6U/ocGtzyjbJMP9lCNK7Ag0CNh690nSH8woqWH9u16nMjYBAok+i7JO1NP2pOy8IsPQ==",+ "license": "MIT",+ "dependencies": {+ "style-to-object": "1.0.14"+ }+ },+ "node_modules/style-to-object": {+ "version": "1.0.14",+ "resolved": "https://registry.npmjs.org/style-to-object/-/style-to-object-1.0.14.tgz",+ "integrity": "sha512-LIN7rULI0jBscWQYaSswptyderlarFkjQ+t79nzty8tcIAceVomEVlLzH5VP4Cmsv6MtKhs7qaAiwlcp+Mgaxw==",+ "license": "MIT",+ "dependencies": {+ "inline-style-parser": "0.2.7"+ }+ },"node_modules/sumchecker": {"version": "3.0.1","resolved": "https://registry.npmjs.org/sumchecker/-/sumchecker-3.0.1.tgz",@@ -9970,6 +11273,26 @@"integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==","license": "MIT"},+ "node_modules/trim-lines": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-3.0.1.tgz",+ "integrity": "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/trough": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/trough/-/trough-2.2.0.tgz",+ "integrity": "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },"node_modules/truncate-utf8-bytes": {"version": "1.0.2","resolved": "https://registry.npmjs.org/truncate-utf8-bytes/-/truncate-utf8-bytes-1.0.2.tgz",@@ -10095,6 +11418,25 @@"integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==","license": "MIT"},+ "node_modules/unified": {+ "version": "11.0.5",+ "resolved": "https://registry.npmjs.org/unified/-/unified-11.0.5.tgz",+ "integrity": "sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "^3.0.0",+ "bail": "^2.0.0",+ "devlop": "^1.0.0",+ "extend": "^3.0.0",+ "is-plain-obj": "^4.0.0",+ "trough": "^2.0.0",+ "vfile": "^6.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },"node_modules/unique-filename": {"version": "2.0.1","resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-2.0.1.tgz",@@ -10121,6 +11463,74 @@"node": "^12.13.0 || ^14.15.0 || >=16.0.0"}},+ "node_modules/unist-util-is": {+ "version": "6.0.1",+ "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-6.0.1.tgz",+ "integrity": "sha512-LsiILbtBETkDz8I9p1dQ0uyRUWuaQzd/cuEeS1hoRSyW5E5XGmTzlwY1OrNzzakGowI9Dr/I8HVaw4hTtnxy8g==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "^3.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/unist-util-position": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/unist-util-position/-/unist-util-position-5.0.0.tgz",+ "integrity": "sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "^3.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/unist-util-stringify-position": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz",+ "integrity": "sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "^3.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/unist-util-visit": {+ "version": "5.1.0",+ "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-5.1.0.tgz",+ "integrity": "sha512-m+vIdyeCOpdr/QeQCu2EzxX/ohgS8KbnPDgFni4dQsfSCtpz8UqDyY5GjRru8PDKuYn7Fq19j1CQ+nJSsGKOzg==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "^3.0.0",+ "unist-util-is": "^6.0.0",+ "unist-util-visit-parents": "^6.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/unist-util-visit-parents": {+ "version": "6.0.2",+ "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-6.0.2.tgz",+ "integrity": "sha512-goh1s1TBrqSqukSc8wrjwWhL0hiJxgA8m4kFxGlQ+8FYQ3C/m11FcTs4YYem7V664AhHVvgoQLk890Ssdsr2IQ==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "^3.0.0",+ "unist-util-is": "^6.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },"node_modules/universalify": {"version": "0.1.2","resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz",@@ -10239,6 +11649,34 @@"node": ">=0.6.0"}},+ "node_modules/vfile": {+ "version": "6.0.3",+ "resolved": "https://registry.npmjs.org/vfile/-/vfile-6.0.3.tgz",+ "integrity": "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "^3.0.0",+ "vfile-message": "^4.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/vfile-message": {+ "version": "4.0.3",+ "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-4.0.3.tgz",+ "integrity": "sha512-QTHzsGd1EhbZs4AsQ20JX1rC3cOlt/IWJruk893DfLRr57lcnOeMaWG4K0JrRta4mIJZKth2Au3mM3u03/JWKw==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "^3.0.0",+ "unist-util-stringify-position": "^4.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },"node_modules/vite": {"version": "5.4.21","resolved": "https://registry.npmjs.org/vite/-/vite-5.4.21.tgz",@@ -10711,6 +12149,16 @@"optional": true}}+ },+ "node_modules/zwitch": {+ "version": "2.0.4",+ "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz",+ "integrity": "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }}}}diff --git a/package.json b/package.jsonindex c3be1bc4..2c3c5041 100644--- a/package.json+++ b/package.json@@ -53,6 +53,8 @@"pixi.js": "^8.5.1","react": "^18.3.1","react-dom": "^18.3.1",+ "react-markdown": "^10.1.0",+ "remark-gfm": "^4.0.1","tunnelmole": "^2.4.0","zustand": "^4.5.5"},diff --git a/src/main/fs.ts b/src/main/fs.tsindex bd837b13..67f077bf 100644--- a/src/main/fs.ts+++ b/src/main/fs.ts@@ -1,5 +1,6 @@import { readdir, readFile, writeFile, stat } from 'node:fs/promises';import { isAbsolute, join, normalize, relative, resolve } from 'node:path';+import { homedir } from 'node:os';/*** Confines `path` inside `root` to prevent path-traversal escapes.@@ -82,3 +83,19 @@ export async function writeFileText(root: string, rel: string, content: string):return { ok: false, error: e instanceof Error ? e.message : String(e) };}}++/** Existence/metadata check for an ABSOLUTE path (v0.3.4 — backs the terminal+ * ⌘-click markdown flow). `~/` is expanded here (the renderer doesn't know+ * the home dir). Read-only metadata: returns whether a regular file exists and+ * the normalized absolute path; never file contents. */+export async function statAbs(p: string): Promise<{ exists: boolean; isFile: boolean; path: string }> {+ let abs = p.startsWith('~/') ? join(homedir(), p.slice(2)) : p;+ if (!isAbsolute(abs)) return { exists: false, isFile: false, path: p };+ abs = normalize(abs);+ try {+ const s = await stat(abs);+ return { exists: true, isFile: s.isFile(), path: abs };+ } catch {+ return { exists: false, isFile: false, path: abs };+ }+}diff --git a/src/main/index.ts b/src/main/index.tsindex 71ae1ab9..88b2cea1 100644--- a/src/main/index.ts+++ b/src/main/index.ts@@ -15,7 +15,7 @@ import {readConfig, writeConfig, resetConfig, ensureHarnessHome, ensureClaudePermissionsAccepted,modelForRole, OPS_STANDUP_MISSION, HEARTBEAT_MISSION, COMPACT_MAINTENANCE_MISSION, type HarnessConfig, type ScheduledMission} from './config';-import { listDir, readFileText, writeFileText } from './fs';+import { listDir, readFileText, writeFileText, statAbs } from './fs';import {getBranch, getStatus, getLog, getBranches, getAheadBehind, isRepo, getDiff, mainRepoRoot,addWorktree, removeWorktree, worktreeHasUnintegratedWork, worktreeIsGcSafe@@ -2566,6 +2566,13 @@ ipcMain.handle('fs:writeFile', (_evt, root: unknown, rel: unknown, content: unkn}return writeFileText(root, rel, content);});+// v0.3.4: existence check for the terminal ⌘-click markdown flow (metadata only).+ipcMain.handle('fs:statAbs', (_evt, p: unknown) => {+ if (typeof p !== 'string' || p.length > 4096 || p.includes('\0')) {+ return { exists: false, isFile: false, path: '' };+ }+ return statAbs(p);+});// ─── IPC: git ───────────────────────────────────────────────────────────────ipcMain.handle('git:isRepo', (_evt, cwd: unknown) => {diff --git a/src/preload/index.ts b/src/preload/index.tsindex ded67b57..375200da 100644--- a/src/preload/index.ts+++ b/src/preload/index.ts@@ -614,6 +614,10 @@ const api = {writeFile: (root: string, rel: string, content: string): Promise<{ ok: true; path: string } | { ok: false; error: string }> => ipcRenderer.invoke('fs:writeFile', root, rel, content),+ /** v0.3.4: existence check for an absolute path (expands ~) — backs the+ * terminal ⌘-click markdown flow. Metadata only, never contents. */+ statAbs: (p: string): Promise<{ exists: boolean; isFile: boolean; path: string }> =>+ ipcRenderer.invoke('fs:statAbs', p),// ─── Git ─────────────────────────────────────────────────────────────────gitIsRepo: (cwd: string): Promise<boolean> => ipcRenderer.invoke('git:isRepo', cwd),diff --git a/src/renderer/src/components/FullscreenFileEditor.tsx b/src/renderer/src/components/FullscreenFileEditor.tsxindex ac7deb1d..a91c0a15 100644--- a/src/renderer/src/components/FullscreenFileEditor.tsx+++ b/src/renderer/src/components/FullscreenFileEditor.tsx@@ -1,13 +1,21 @@-import { useEffect } from 'react';+import { useEffect, useState } from 'react';import { CodeEditor } from './CodeEditor';+import { MarkdownPreview } from '@/markdown/MarkdownPreview';import { useStore } from '@/store/store';/**- * Full-window overlay editor. The absolute file path is in store; we derive- * root + rel by trying registered repos / agent cwds.+ * Full-window overlay for one file. The absolute path is in store; root + rel+ * are derived by prefix-matching agent cwds (falling back to the file's parent+ * dir, so files outside any workspace still open).+ *+ * v0.3.4: markdown files get an edit | preview toggle (preview is the default+ * when opened from a terminal ⌘-click), plus an "open in IDE" escalation that+ * queues the path for IdePanel and opens it. Preview renders the SAVED file —+ * switch to edit to change it, save, and the preview picks it up on return.*/export function FullscreenFileEditor() {const fullscreenFilePath = useStore(s => s.fullscreenFilePath);+ const view = useStore(s => s.fullscreenFileView);const setFullscreenFile = useStore(s => s.setFullscreenFile);const agents = useStore(s => s.agents);@@ -29,10 +37,27 @@ export function FullscreenFileEditor() {? fullscreenFilePath.slice(matchedAgent.cwd.length + 1): fullscreenFilePath.split('/').pop() ?? fullscreenFilePath;+ const isMd = /\.(md|markdown)$/i.test(fullscreenFilePath);+ const mode: 'edit' | 'preview' = isMd ? view : 'edit';+const copyPath = () => {navigator.clipboard.writeText(fullscreenFilePath).catch(() => { /* noop */ });};+ const openInIde = () => {+ const s = useStore.getState();+ s.setIdeInitialFile(fullscreenFilePath);+ s.setFullscreenFile(null);+ s.setIdeOpen(true);+ };++ const chip: React.CSSProperties = {+ padding: '2px 10px', height: 22, border: 'none', cursor: 'pointer',+ fontFamily: 'var(--cth-font-ui)', fontSize: 12, color: 'var(--cth-ink-900)',+ background: 'var(--cth-cream-100)', boxShadow: 'inset 0 0 0 1px var(--cth-ink-100)',+ display: 'inline-flex', alignItems: 'center'+ };+return (<div style={{position: 'fixed', inset: 0,@@ -55,16 +80,79 @@ export function FullscreenFileEditor() {}}>MUNDER DIFFLIN · FILE+ <span+ className="cth-titlebar-nodrag"+ style={{+ fontFamily: 'var(--cth-font-mono)', fontSize: 13, color: 'var(--cth-ink-500)',+ whiteSpace: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis', maxWidth: '38vw'+ }}+ title={fullscreenFilePath}+ >{rel}</span>+ <span className="cth-titlebar-nodrag" style={{ marginLeft: 'auto', display: 'inline-flex', gap: 8, alignItems: 'center' }}>+ {isMd && (+ <span style={{ display: 'inline-flex' }}>+ {(['edit', 'preview'] as const).map((v) => (+ <button+ key={v}+ onClick={() => setFullscreenFile(fullscreenFilePath, v)}+ title={v === 'edit' ? 'Edit the source' : 'Rendered preview (of the saved file)'}+ style={{+ ...chip,+ background: mode === v ? 'var(--cth-sky-light)' : 'var(--cth-cream-100)',+ boxShadow: mode === v ? 'inset 0 0 0 1px var(--cth-ink-500)' : 'inset 0 0 0 1px var(--cth-ink-100)'+ }}+ >{v}</button>+ ))}+ </span>+ )}+ <button onClick={openInIde} title="Open this file in the full IDE" style={chip}>open in IDE</button>+ <button onClick={() => setFullscreenFile(null)} title="Close (Esc)" style={chip}>✕</button>+ </span></div>- <div style={{ flex: 1, minHeight: 0 }}>- <CodeEditor- root={root}- filePath={rel}- fullscreen- onToggleFullscreen={() => setFullscreenFile(null)}- onCopyPath={copyPath}- />+ <div style={{ flex: 1, minHeight: 0, overflow: mode === 'preview' ? 'auto' : 'hidden' }}>+ {mode === 'preview' ? (+ <SavedFilePreview root={root} rel={rel} />+ ) : (+ <CodeEditor+ root={root}+ filePath={rel}+ fullscreen+ onToggleFullscreen={() => setFullscreenFile(null)}+ onCopyPath={copyPath}+ />+ )}</div></div>);}++/** Reads the saved file and renders it as markdown. Untrusted input is fine —+ * MarkdownPreview has no HTML sink. */+function SavedFilePreview({ root, rel }: { root: string; rel: string }) {+ const [state, setState] = useState<{ status: 'loading' | 'ready' | 'error'; content: string; error?: string }>({+ status: 'loading', content: ''+ });+ useEffect(() => {+ let alive = true;+ setState({ status: 'loading', content: '' });+ window.cth.readFile(root, rel).then((res) => {+ if (!alive) return;+ setState(res.ok+ ? { status: 'ready', content: res.content }+ : { status: 'error', content: '', error: res.error });+ });+ return () => { alive = false; };+ }, [root, rel]);++ if (state.status === 'loading') {+ return <div style={{ padding: 24, fontFamily: 'var(--cth-font-ui)', fontSize: 13, color: 'var(--cth-ink-500)' }}>loading…</div>;+ }+ if (state.status === 'error') {+ return <div style={{ padding: 24, fontFamily: 'var(--cth-font-ui)', fontSize: 13, color: 'var(--cth-coral)' }}>{state.error}</div>;+ }+ return (+ <div style={{ display: 'flex', justifyContent: 'center' }}>+ <MarkdownPreview source={state.content} baseRel={rel} />+ </div>+ );+}diff --git a/src/renderer/src/components/terminalPool.ts b/src/renderer/src/components/terminalPool.tsindex 0921b71b..29041e35 100644--- a/src/renderer/src/components/terminalPool.ts+++ b/src/renderer/src/components/terminalPool.ts@@ -115,6 +115,7 @@ export function acquireTerminal(ptyId: string, theme?: ThemeMap, fontSize = 14):// following text (e.g. "✅FIX-…"). Match the app's idea of character width.term.loadAddon(new Unicode11Addon());term.unicode.activeVersion = '11';+ registerMarkdownLinkProvider(term, ptyId);// NOTE: don't open() yet — xterm needs its host connected to the document to// measure correctly. We open on first attach (see attachTerminal).@@ -632,3 +633,88 @@ export function disposeTerminal(ptyId: string): void {entry.host.remove();pool.delete(ptyId);}++// ─── v0.3.4: ⌘-click a markdown path in terminal output → rendered preview ───+// A custom ILinkProvider (NOT WebLinksAddon, which only matches URLs): detects+// *.md tokens in the visible buffer line, resolves relative ones against the+// owning agent's cwd, and on Cmd/Ctrl+click verifies existence via the+// metadata-only fs:statAbs IPC before opening the fullscreen preview overlay.+// Plain click stays with the TUI (matches VS Code's terminal convention).+// The path string is agent output — treated as hostile: it flows only into a+// read-only stat + the existing read pipeline, and only on an explicit+// modifier-click.+const MD_TOKEN_RE = /[A-Za-z0-9_@.~/+-]+\.(?:md|markdown)\b(?::\d+)?/g;+const mdStatCache = new Map<string, { isFile: boolean; path: string }>();++function resolveMdCandidate(ptyId: string, raw: string): string | null {+ // strip wrapping quotes/backticks/parens + trailing punctuation + :line+ const p = raw.replace(/^["'`(]+/, '').replace(/["'`),.;:]+$/, '').replace(/:(\d+)$/, '');+ if (!/\.(md|markdown)$/i.test(p)) return null;+ if (p.startsWith('~/') || p.startsWith('/')) return p;+ // relative → resolve against the owning agent's cwd. Async store import keeps+ // this module usable in the node test harness (no zustand/react at load).+ const cwd = storeApi?.getState().agents.find((a) => a.ptyId === ptyId)?.cwd ?? null;+ if (!cwd) return null;+ return `${cwd}/${p.replace(/^\.\//, '')}`;+}++// The store is loaded lazily via dynamic import (resolved once, cached): a+// static import would drag zustand/react into the node --test transpile of the+// pure automation helpers that share this file's import graph.+interface MdStoreShape {+ getState: () => {+ agents: Array<{ ptyId?: string; cwd: string }>;+ setFullscreenFile: (p: string, v?: 'edit' | 'preview') => void;+ };+}+let storeApi: MdStoreShape | null = null;+void import('@/store/store')+ .then((m) => { storeApi = (m as unknown as { useStore: MdStoreShape }).useStore; })+ .catch(() => { /* store unavailable (tests) — link provider stays inert */ });++async function openMdPreview(abs: string): Promise<void> {+ let hit = mdStatCache.get(abs);+ if (!hit) {+ const res = await window.cth.statAbs(abs).catch(() => null);+ if (!res) return;+ hit = { isFile: res.exists && res.isFile, path: res.path };+ if (mdStatCache.size > 500) mdStatCache.clear();+ mdStatCache.set(abs, hit);+ }+ if (!hit.isFile) return;+ storeApi?.getState().setFullscreenFile(hit.path, 'preview');+}++function registerMarkdownLinkProvider(term: Terminal, ptyId: string): void {+ try {+ term.registerLinkProvider({+ provideLinks(bufferLineNumber, callback) {+ const line = term.buffer.active.getLine(bufferLineNumber - 1);+ const text = line ? line.translateToString(true) : '';+ if (!text || !/\.(md|markdown)\b/i.test(text)) { callback(undefined); return; }+ const links: Parameters<typeof callback>[0] = [];+ const re = new RegExp(MD_TOKEN_RE.source, 'g');+ let m: RegExpExecArray | null;+ while ((m = re.exec(text)) !== null) {+ const raw = m[0];+ const abs = resolveMdCandidate(ptyId, raw);+ if (!abs) continue;+ links!.push({+ range: {+ start: { x: m.index + 1, y: bufferLineNumber },+ end: { x: m.index + raw.length, y: bufferLineNumber }+ },+ text: raw,+ decorations: { underline: true, pointerCursor: true },+ activate: (event: MouseEvent | undefined) => {+ // ⌘/Ctrl+click only — a plain click must keep going to the TUI.+ if (event && !(event.metaKey || event.ctrlKey)) return;+ void openMdPreview(abs);+ }+ });+ }+ callback(links && links.length ? links : undefined);+ }+ });+ } catch { /* proposed API unavailable — feature silently off */ }+}diff --git a/src/renderer/src/design/global.css b/src/renderer/src/design/global.cssindex 8bbfdc5b..183b8e96 100644--- a/src/renderer/src/design/global.css+++ b/src/renderer/src/design/global.css@@ -139,3 +139,58 @@ canvas, img, svg { image-rendering: pixelated; image-rendering: crisp-edges; }font-variant-ligatures: none !important;font-feature-settings: "liga" 0, "clig" 0, "calt" 0 !important;}++/* ─── Markdown preview (v0.3.4) ──────────────────────────────────────────────+ Shared by the IDE split/preview view and the fullscreen file overlay. All+ colors ride the tokens, so light + dark themes come for free. */+.cth-md-preview {+ font-family: var(--cth-font-ui);+ font-size: 14px; line-height: 1.65;+ color: var(--cth-ink-900);+ max-width: 72ch;+ padding: 16px 20px 32px;+}+.cth-md-preview h1, .cth-md-preview h2, .cth-md-preview h3,+.cth-md-preview h4, .cth-md-preview h5 {+ color: var(--cth-ink-900);+ line-height: 1.3;+ margin: 1.4em 0 0.5em;+}+.cth-md-preview h1 { font-size: 24px; border-bottom: 1px solid var(--cth-ink-100); padding-bottom: 6px; }+.cth-md-preview h2 { font-size: 19px; border-bottom: 1px solid var(--cth-ink-100); padding-bottom: 4px; }+.cth-md-preview h3 { font-size: 16px; }+.cth-md-preview h4 { font-size: 14px; }+.cth-md-preview p { margin: 0.6em 0; }+.cth-md-preview a { color: var(--cth-sky); }+.cth-md-preview code {+ font-family: var(--cth-font-mono); font-size: 12.5px;+ background: var(--cth-cream-200); padding: 1px 5px; border-radius: 2px;+}+.cth-md-preview pre {+ background: var(--cth-cream-200);+ box-shadow: inset 0 0 0 1px var(--cth-ink-100);+ padding: 10px 12px; overflow-x: auto; border-radius: 2px;+}+.cth-md-preview pre code { background: transparent; padding: 0; }+.cth-md-preview blockquote {+ margin: 0.8em 0; padding: 2px 0 2px 14px;+ border-left: 3px solid var(--cth-ink-300); color: var(--cth-ink-700);+}+.cth-md-preview ul, .cth-md-preview ol { padding-left: 22px; margin: 0.5em 0; }+.cth-md-preview li { margin: 3px 0; }+.cth-md-preview li::marker { color: var(--cth-ink-500); }+.cth-md-preview input[type="checkbox"] { accent-color: var(--cth-mint); margin-right: 6px; }+.cth-md-preview table {+ border-collapse: collapse; margin: 0.8em 0; display: block; overflow-x: auto;+}+.cth-md-preview th, .cth-md-preview td {+ border: 1px solid var(--cth-ink-100); padding: 5px 10px; text-align: left;+ font-size: 13px;+}+.cth-md-preview th { background: var(--cth-cream-200); font-weight: 600; }+.cth-md-preview hr { border: none; border-top: 1px solid var(--cth-ink-100); margin: 1.4em 0; }+.cth-md-preview .cth-md-img {+ display: inline-block; padding: 2px 8px; font-size: 12px;+ background: var(--cth-cream-200); box-shadow: inset 0 0 0 1px var(--cth-ink-100);+ color: var(--cth-ink-500); border-radius: 2px;+}diff --git a/src/renderer/src/ide/IdePanel.tsx b/src/renderer/src/ide/IdePanel.tsxindex d18bef1b..a56d0843 100644--- a/src/renderer/src/ide/IdePanel.tsx+++ b/src/renderer/src/ide/IdePanel.tsx@@ -1,9 +1,22 @@-import { useCallback, useEffect, useMemo, useRef, useState } from 'react';+import { useCallback, useDeferredValue, useEffect, useMemo, useRef, useState } from 'react';import { useStore } from '@/store/store';import { FileTree } from '@/components/FileTree';import { Icon } from '@/components/Icon';import { MonacoEditor } from './MonacoEditor';import { MonacoDiff } from './MonacoDiff';+import { MarkdownPreview } from '@/markdown/MarkdownPreview';++// v0.3.4 markdown preview: per-md-tab view mode, defaulted from the last choice.+type MdView = 'code' | 'split' | 'preview';+const LS_MD_VIEW = 'cth.ide.mdView';+const isMarkdown = (rel: string) => /\.(md|markdown)$/i.test(rel);+function defaultMdView(): MdView {+ try {+ const v = window.localStorage.getItem(LS_MD_VIEW);+ if (v === 'code' || v === 'split' || v === 'preview') return v;+ } catch { /* noop */ }+ return 'split';+}// ─── Local mirrors of the main-side git shapes (kept renderer-local like GitTab) ──interface GitStatusEntry { path: string; index: string; worktree: string }@@ -59,6 +72,13 @@ export function IdePanel() {const [isRepo, setIsRepo] = useState<boolean | null>(null);const [status, setStatus] = useState<GitStatusT | null>(null);const [treeWidth, setTreeWidth] = useState(300);+ // Per-markdown-tab view mode (code | split | preview); changing it also+ // updates the sticky default for the next markdown file.+ const [mdViews, setMdViews] = useState<Record<string, MdView>>({});+ const setMdView = useCallback((rel: string, v: MdView) => {+ setMdViews((p) => ({ ...p, [rel]: v }));+ try { window.localStorage.setItem(LS_MD_VIEW, v); } catch { /* noop */ }+ }, []);// Refs so window/editor handlers always see current values without rebinding.const tabsRef = useRef(tabs); tabsRef.current = tabs;@@ -110,6 +130,22 @@ export function IdePanel() {}, []);const openEdit = useCallback((rel: string) => { ensureEdit(rel); openTab('edit', rel); }, [ensureEdit, openTab]);++ // Entry point from elsewhere in the app ("open in IDE" on the file overlay):+ // consume the queued absolute path once the root is known, open it (preview+ // for markdown), then clear the queue slot so a later IDE open starts fresh.+ useEffect(() => {+ if (!root) return;+ const abs = useStore.getState().ideInitialFile;+ if (!abs) return;+ useStore.getState().setIdeInitialFile(null);+ const prefix = root.endsWith('/') ? root : `${root}/`;+ if (!abs.startsWith(prefix)) return; // different workspace — tree still lets them browse+ const rel = abs.slice(prefix.length);+ ensureEdit(rel);+ openTab('edit', rel);+ if (isMarkdown(rel)) setMdViews((p) => ({ ...p, [rel]: 'preview' }));+ }, [root, ensureEdit, openTab]);const openDiff = useCallback((rel: string) => { ensureDiff(rel, true); openTab('diff', rel); }, [ensureDiff, openTab]);const closeTab = useCallback((key: string) => {@@ -391,6 +427,8 @@ export function IdePanel() {const buf = editBuffers[activeTab.rel];if (!buf || buf.status === 'loading') return <Centered>loading…</Centered>;if (buf.status === 'error') return <Centered tone="error">{buf.error}</Centered>;+ const md = isMarkdown(activeTab.rel);+ const view: MdView = md ? (mdViews[activeTab.rel] ?? defaultMdView()) : 'code';return (<div style={{ height: '100%', display: 'flex', flexDirection: 'column' }}><EditorBar@@ -399,14 +437,32 @@ export function IdePanel() {saveState={buf.saveState}onSave={() => void save(activeTab.rel)}onCopy={() => copyAbs(activeTab.rel)}+ mdView={md ? view : undefined}+ onMdView={md ? (v) => setMdView(activeTab.rel, v) : undefined}/>- <div style={{ flex: 1, minHeight: 0 }}>- <MonacoEditor- path={activeTab.rel}- value={buf.content}- onChange={(v) => onEditChange(activeTab.rel, v)}- onSave={() => void save(activeTab.rel)}- />+ <div style={{ flex: 1, minHeight: 0, display: 'flex' }}>+ {view !== 'preview' && (+ <div style={{ flex: 1, minWidth: 0, minHeight: 0 }}>+ <MonacoEditor+ path={activeTab.rel}+ value={buf.content}+ onChange={(v) => onEditChange(activeTab.rel, v)}+ onSave={() => void save(activeTab.rel)}+ />+ </div>+ )}+ {md && view !== 'code' && (+ <MdPane+ rel={activeTab.rel}+ source={buf.content}+ split={view === 'split'}+ onOpenMarkdownLink={(target) => {+ ensureEdit(target);+ openTab('edit', target);+ setMdViews((p) => ({ ...p, [target]: 'preview' }));+ }}+ />+ )}</div></div>);@@ -462,8 +518,10 @@ function SectionHeader({ title, right }: { title: string; right?: React.ReactNod);}-function EditorBar({ rel, dirty, saveState, onSave, onCopy }: {+function EditorBar({ rel, dirty, saveState, onSave, onCopy, mdView, onMdView }: {rel: string; dirty: boolean; saveState: EditBuffer['saveState']; onSave: () => void; onCopy: () => void;+ /** Set only for markdown files — renders the code|split|preview switch. */+ mdView?: MdView; onMdView?: (v: MdView) => void;}) {return (<div style={{@@ -475,6 +533,22 @@ function EditorBar({ rel, dirty, saveState, onSave, onCopy }: {<span style={{ flex: 1, whiteSpace: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis', fontFamily: 'var(--cth-font-mono)' }} title={rel}>{rel}{dirty ? ' •' : ''}</span>+ {mdView && onMdView && (+ <span style={{ display: 'inline-flex', gap: 0 }}>+ {(['code', 'split', 'preview'] as const).map((v) => (+ <button+ key={v}+ onClick={() => onMdView(v)}+ title={v === 'code' ? 'Source only' : v === 'split' ? 'Source + preview' : 'Rendered preview'}+ style={{+ ...textBtn,+ background: mdView === v ? 'var(--cth-sky-light)' : 'var(--cth-cream-100)',+ boxShadow: mdView === v ? 'inset 0 0 0 1px var(--cth-ink-500)' : 'inset 0 0 0 1px var(--cth-ink-100)'+ }}+ >{v}</button>+ ))}+ </span>+ )}<button onClick={onCopy} title="Copy absolute path" style={textBtn}>copy path</button><button onClick={onSave} disabled={!dirty || saveState === 'saving'} title="Save (Cmd/Ctrl+S)"style={{ ...textBtn, opacity: dirty ? 1 : 0.5 }}>@@ -484,6 +558,24 @@ function EditorBar({ rel, dirty, saveState, onSave, onCopy }: {);}+/** Markdown preview pane — renders the LIVE edit buffer (deferred so fast typing+ * never blocks the editor). In split view it takes the right half behind a+ * hairline divider; in preview view it fills the body. */+function MdPane({ rel, source, split, onOpenMarkdownLink }: {+ rel: string; source: string; split: boolean; onOpenMarkdownLink: (rel: string) => void;+}) {+ const deferred = useDeferredValue(source);+ return (+ <div style={{+ flex: 1, minWidth: 0, minHeight: 0, overflow: 'auto',+ background: 'var(--cth-paper-100)',+ borderLeft: split ? '1px solid var(--cth-ink-100)' : 'none'+ }}>+ <MarkdownPreview source={deferred} baseRel={rel} onOpenMarkdownLink={onOpenMarkdownLink} />+ </div>+ );+}+function Centered({ children, tone }: { children: React.ReactNode; tone?: 'error' }) {return (<div style={{diff --git a/src/renderer/src/markdown/MarkdownPreview.tsx b/src/renderer/src/markdown/MarkdownPreview.tsxnew file mode 100644index 00000000..c9d4d5c3--- /dev/null+++ b/src/renderer/src/markdown/MarkdownPreview.tsx@@ -0,0 +1,90 @@+/**+ * Rendered markdown view (v0.3.4) — the shared preview used by the IDE's+ * split/preview modes, the fullscreen file overlay, and (via those) the+ * terminal ⌘-click flow.+ *+ * SECURITY: agent-generated markdown is untrusted. react-markdown WITHOUT+ * rehype-raw renders to React elements only — no HTML sink exists, raw HTML in+ * the source is shown as text, and the default urlTransform already drops+ * javascript: URIs. Keep it that way: never add rehype-raw here.+ *+ * Links never navigate the window: http(s)/mailto go through the main-process+ * opener; relative *.md links surface through onOpenMarkdownLink so the host+ * (IDE tab / overlay) opens them in context; everything else is inert.+ */+import { memo } from 'react';+import ReactMarkdown from 'react-markdown';+import remarkGfm from 'remark-gfm';++export interface MarkdownPreviewProps {+ source: string;+ /** Repo-relative path of the file being previewed (for resolving relative links). */+ baseRel?: string;+ /** Open a sibling markdown file (repo-relative path) in the host's context. */+ onOpenMarkdownLink?: (rel: string) => void;+}++/** Resolve `href` against the directory of `baseRel` ('' when unknown). */+function resolveRel(baseRel: string | undefined, href: string): string {+ const baseDir = (baseRel ?? '').split('/').slice(0, -1);+ const parts = [...baseDir];+ for (const seg of href.split('/')) {+ if (seg === '' || seg === '.') continue;+ if (seg === '..') { parts.pop(); continue; }+ parts.push(seg);+ }+ return parts.join('/');+}++function isExternal(href: string): boolean {+ return /^(https?:|mailto:)/i.test(href);+}++function isRelativeMd(href: string): boolean {+ return !/^[a-z][a-z0-9+.-]*:/i.test(href) && /\.(md|markdown)(#.*)?$/i.test(href);+}++export const MarkdownPreview = memo(function MarkdownPreview({+ source, baseRel, onOpenMarkdownLink+}: MarkdownPreviewProps) {+ return (+ <div className="cth-md-preview">+ <ReactMarkdown+ remarkPlugins={[remarkGfm]}+ components={{+ a: ({ href, children }) => {+ const h = href ?? '';+ const onClick = (e: React.MouseEvent) => {+ e.preventDefault();+ if (isExternal(h)) { void window.cth.openExternal?.(h); return; }+ if (isRelativeMd(h) && onOpenMarkdownLink) {+ onOpenMarkdownLink(resolveRel(baseRel, h.replace(/#.*$/, '')));+ }+ // anything else (file:, anchors into self, unknown schemes): inert+ };+ const clickable = isExternal(h) || (isRelativeMd(h) && !!onOpenMarkdownLink);+ return (+ <a+ href={h || undefined}+ onClick={onClick}+ title={h}+ style={clickable ? undefined : { cursor: 'default', textDecoration: 'underline dotted' }}+ >+ {children}+ </a>+ );+ },+ // Local/remote images: remote is blocked by CSP anyway; render alt text+ // as a placeholder chip instead of a broken-image icon.+ img: ({ alt, src }) => (+ <span className="cth-md-img" title={typeof src === 'string' ? src : undefined}>+ 🖼 {alt || 'image'}+ </span>+ )+ }}+ >+ {source}+ </ReactMarkdown>+ </div>+ );+});diff --git a/src/renderer/src/store/store.ts b/src/renderer/src/store/store.tsindex 331c1f05..a500f4a4 100644--- a/src/renderer/src/store/store.ts+++ b/src/renderer/src/store/store.ts@@ -142,6 +142,12 @@ interface State {addAgentOpen: boolean;fullscreenAgentId: string | null;fullscreenFilePath: string | null;+ /** How the fullscreen file overlay renders (v0.3.4): raw editor or rendered+ * markdown preview. Preview is the default when opened from a terminal link. */+ fullscreenFileView: 'edit' | 'preview';+ /** Absolute path queued for the IDE to open on next mount ("open in IDE"+ * escalation from the file overlay). Consumed-and-cleared by IdePanel. */+ ideInitialFile: string | null;/** Whether the full-window IDE panel (file manager + Monaco editor + git diff)* is open. Toggled from the title-bar IDE button; a global feature surface,* independent of the per-agent sidebar Files/Git tabs. */@@ -227,8 +233,9 @@ interface State {pendingHire: HireManifest | null;setPendingHire: (m: HireManifest | null) => void;setFullscreen: (id: string | null) => void;- setFullscreenFile: (path: string | null) => void;+ setFullscreenFile: (path: string | null, view?: 'edit' | 'preview') => void;setIdeOpen: (open: boolean) => void;+ setIdeInitialFile: (path: string | null) => void;setSidebarWidth: (px: number) => void;setSidebarTab: (tab: SidebarTab) => void;/** Drop persisted agents whose PTY is no longer alive in the main process.@@ -539,6 +546,8 @@ export const useStore = create<State>((set) => ({set((s) => ({ ccTabRequest: { tab, seq: (s.ccTabRequest?.seq ?? 0) + 1 } })),fullscreenAgentId: null,fullscreenFilePath: null,+ fullscreenFileView: 'edit',+ ideInitialFile: null,ideOpen: false,sidebarWidth: initialSidebarWidth,sidebarTab: initialSidebarTab,@@ -732,8 +741,9 @@ export const useStore = create<State>((set) => ({pendingHire: null,setPendingHire: (m) => set({ pendingHire: m }),setFullscreen: (id) => set({ fullscreenAgentId: id }),- setFullscreenFile: (path) => set({ fullscreenFilePath: path }),+ setFullscreenFile: (path, view) => set({ fullscreenFilePath: path, fullscreenFileView: view ?? 'edit' }),setIdeOpen: (open) => set({ ideOpen: open }),+ setIdeInitialFile: (path) => set({ ideInitialFile: path }),setSidebarWidth: (px) => {const clamped = Math.min(1200, Math.max(320, Math.round(px)));try { window.localStorage.setItem(LS_SIDEBAR_WIDTH, String(clamped)); } catch { /* noop */ }