@drewpayment/mink 0.13.0-beta.3 → 0.13.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/dashboard/out/404.html +1 -1
  2. package/dashboard/out/_next/static/chunks/157-7bbe4894a18a8332.js +1 -0
  3. package/dashboard/out/_next/static/chunks/447-8cfdad14e7559c07.js +1 -0
  4. package/dashboard/out/_next/static/chunks/app/(panels)/overview/page-141f456cd7141815.js +1 -0
  5. package/dashboard/out/_next/static/chunks/app/{layout-70a6d18f8e464960.js → layout-99d1a82956bc0f56.js} +1 -1
  6. package/dashboard/out/_next/static/css/0e381ead1d090c3f.css +1 -0
  7. package/dashboard/out/action-log.html +1 -1
  8. package/dashboard/out/action-log.txt +5 -5
  9. package/dashboard/out/activity.html +1 -1
  10. package/dashboard/out/activity.txt +5 -5
  11. package/dashboard/out/bugs.html +1 -1
  12. package/dashboard/out/bugs.txt +5 -5
  13. package/dashboard/out/capture.html +1 -1
  14. package/dashboard/out/capture.txt +5 -5
  15. package/dashboard/out/compression.html +1 -1
  16. package/dashboard/out/compression.txt +5 -5
  17. package/dashboard/out/config.html +1 -1
  18. package/dashboard/out/config.txt +5 -5
  19. package/dashboard/out/daemon.html +1 -1
  20. package/dashboard/out/daemon.txt +5 -5
  21. package/dashboard/out/design.html +1 -1
  22. package/dashboard/out/design.txt +5 -5
  23. package/dashboard/out/discord.html +1 -1
  24. package/dashboard/out/discord.txt +5 -5
  25. package/dashboard/out/file-index.html +1 -1
  26. package/dashboard/out/file-index.txt +5 -5
  27. package/dashboard/out/index.html +1 -1
  28. package/dashboard/out/index.txt +5 -5
  29. package/dashboard/out/insights.html +1 -1
  30. package/dashboard/out/insights.txt +5 -5
  31. package/dashboard/out/learning.html +1 -1
  32. package/dashboard/out/learning.txt +5 -5
  33. package/dashboard/out/overview.html +1 -1
  34. package/dashboard/out/overview.txt +6 -6
  35. package/dashboard/out/scheduler.html +1 -1
  36. package/dashboard/out/scheduler.txt +5 -5
  37. package/dashboard/out/sync.html +1 -1
  38. package/dashboard/out/sync.txt +5 -5
  39. package/dashboard/out/tokens.html +1 -1
  40. package/dashboard/out/tokens.txt +5 -5
  41. package/dashboard/out/waste.html +1 -1
  42. package/dashboard/out/waste.txt +5 -5
  43. package/dashboard/out/wiki.html +1 -1
  44. package/dashboard/out/wiki.txt +5 -5
  45. package/package.json +1 -1
  46. package/dashboard/out/_next/static/chunks/189-fe789442321eb5eb.js +0 -1
  47. package/dashboard/out/_next/static/chunks/app/(panels)/overview/page-38b8430b5c56e807.js +0 -1
  48. package/dashboard/out/_next/static/css/5e43917ea49c5b3e.css +0 -1
  49. /package/dashboard/out/_next/static/{U9AeObddt4LmJkKRZpEfy → zeNEMTDaNBRpOk-to-GkA}/_buildManifest.js +0 -0
  50. /package/dashboard/out/_next/static/{U9AeObddt4LmJkKRZpEfy → zeNEMTDaNBRpOk-to-GkA}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- <!DOCTYPE html><!--U9AeObddt4LmJkKRZpEfy--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/bb3ef058b751a6ad-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/e4af272ccee01ff0-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/5e43917ea49c5b3e.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-4e3139a490df1cfe.js"/><script src="/_next/static/chunks/4bd1b696-c023c6e3521b1417.js" async=""></script><script src="/_next/static/chunks/255-6b79f309a27fb98b.js" async=""></script><script src="/_next/static/chunks/main-app-c2dc0acf542ec1c6.js" async=""></script><script src="/_next/static/chunks/189-fe789442321eb5eb.js" async=""></script><script src="/_next/static/chunks/app/layout-70a6d18f8e464960.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><title>Mink — Command Center</title><meta name="description" content="Real-time dashboard for Mink token intelligence"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="__variable_f367f3 __variable_3c557b" data-theme="dark" data-accent="green" data-density="compact" data-live="on" data-daemon="offline"><div hidden=""><!--$--><!--/$--></div><script>((a,b,c,d,e,f,g,h)=>{let i=document.documentElement,j=["light","dark"];function k(b){var c;(Array.isArray(a)?a:[a]).forEach(a=>{let c="class"===a,d=c&&f?e.map(a=>f[a]||a):e;c?(i.classList.remove(...d),i.classList.add(f&&f[b]?f[b]:b)):i.setAttribute(a,b)}),c=b,h&&j.includes(c)&&(i.style.colorScheme=c)}if(d)k(d);else try{let a=localStorage.getItem(b)||c,d=g&&"system"===a?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":a;k(d)}catch(a){}})("data-theme","mink-theme","dark",null,["light","dark"],{"light":"light","dark":"dark"},true,true)</script><div id="app-root"><div class="shell"><aside class="sidebar"><div class="sb-head"><div class="sb-logo">M</div><div class="sb-title">Mink</div><div class="sb-sub">v1</div></div><div class="sb-project"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M3 7a2 2 0 012-2h4l2 2h8a2 2 0 012 2v9a2 2 0 01-2 2H5a2 2 0 01-2-2V7z"></path></svg><div style="min-width:0;flex:1"><div class="pname">Mink</div><div class="pslug"></div></div><svg class="icn pchev" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"></path></svg></div><div><div class="sb-group">Overview</div><a class="sb-item" href="/overview"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M22 12h-4l-3 9L9 3l-3 9H2"></path></svg><span>Sessions</span></a><a class="sb-item" href="/activity"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M2 12h4l2-7 4 14 2-7h6"></path></svg><span>Activity log</span></a><a class="sb-item" href="/tokens"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M3 20h18M6 16V8M11 16V4M16 16v-6M21 16v-3"></path></svg><span>Token ledger</span></a><a class="sb-item" href="/compression"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M3 20h18M6 16V8M11 16V4M16 16v-6M21 16v-3"></path></svg><span>Compression</span></a><a class="sb-item" href="/waste"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2l11 20H1L12 2zm0 7v5m0 4v0"></path></svg><span>Waste detect</span></a></div><div><div class="sb-group">Knowledge</div><a class="sb-item" href="/file-index"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8l-6-6z"></path></svg><span>File index</span></a><a class="sb-item" href="/learning"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M12 4a4 4 0 00-4 4v1a3 3 0 00-2 5.5A3 3 0 008 19a4 4 0 004 2 4 4 0 004-2 3 3 0 002-4.5A3 3 0 0016 9V8a4 4 0 00-4-4z"></path></svg><span>Learning</span></a><a class="sb-item" href="/bugs"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M8 8V6a4 4 0 018 0v2M4 13h16M12 8v13M7 21s-3-2-3-8M17 21s3-2 3-8M8 9l-4-3M16 9l4-3M8 13l-4 3M16 13l4 3"></path></svg><span>Bug memory</span></a></div><div><div class="sb-group">Notes &amp; Wiki</div><a class="sb-item" href="/wiki"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4h12a4 4 0 014 4v12H8a4 4 0 01-4-4V4zm0 0v16"></path></svg><span>Vault</span></a><a class="sb-item" href="/capture"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M12 5v14M5 12h14"></path></svg><span>Capture</span></a></div><div><div class="sb-group">Operations</div><a class="sb-item" href="/scheduler"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22a10 10 0 100-20 10 10 0 000 20zm0-16v6l4 2"></path></svg><span>Scheduler</span></a><a class="sb-item" href="/discord"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M9 14a1 1 0 100-2 1 1 0 000 2zm6 0a1 1 0 100-2 1 1 0 000 2zM7 7l2-1h6l2 1 2 5-1 5-3 1-1-2-4 0-1 2-3-1-1-5z"></path></svg><span>Discord</span></a><a class="sb-item" href="/sync"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M6 3v12M6 15a3 3 0 110 6 3 3 0 010-6zm0-12a3 3 0 110 6 3 3 0 010-6zm12 6a3 3 0 110 6 3 3 0 010-6zM18 9v2a2 2 0 01-2 2H9"></path></svg><span>Sync</span></a></div><div><div class="sb-group">System</div><a class="sb-item" href="/daemon"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6a8 8 0 11-12 0M12 2v8"></path></svg><span>Daemon</span></a><a class="sb-item" href="/config"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M12 15a3 3 0 100-6 3 3 0 000 6zm8-3l2-1-2-4-2 1-1-1V4h-4v1l-1 1-2-1-2 4 2 1v2l-2 1 2 4 2-1 1 1v1h4v-1l1-1 2 1 2-4-2-1v-2z"></path></svg><span>Configuration</span></a></div><div style="height:20px"></div></aside><header class="topbar"><div class="tb-section"><span class="muted">Mink</span><span class="sep">/</span><span class="muted">Overview</span><span class="sep">/</span><span class="crumb">Sessions</span></div><div class="tb-spacer"></div><div class="cmdk" title="Command palette (coming soon)"><svg class="icn" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M21 21l-5-5m2-6a8 8 0 11-16 0 8 8 0 0116 0z"></path></svg><span>Search files, notes, bugs…</span><kbd>⌘K</kbd></div><span class="daemon-pill" title="Daemon offline"><span class="pulse"></span><span class="mono" style="font-size:10.5px">daemon · offline</span></span><button type="button" class="tb-icon-btn" title="Refresh data"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M3 12a9 9 0 019-9c2.5 0 4.7 1 6.3 2.7M21 3v5h-5M21 12a9 9 0 01-9 9c-2.5 0-4.7-1-6.3-2.7M3 21v-5h5"></path></svg></button><button type="button" class="tb-icon-btn" title="Tweaks"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M15 4V2m0 14v-2m-7-7h2M22 9h-2M5.6 5.6l1.4 1.4M18.4 5.6L17 7m0 10l1.4 1.4M7 17l-1.4 1.4M14 7l-9 9 3 3 9-9"></path></svg></button><button type="button" class="tb-icon-btn" title="More" aria-label="More"><svg class="icn" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12a1 1 0 102 0 1 1 0 00-2 0zm6 0a1 1 0 102 0 1 1 0 00-2 0zm6 0a1 1 0 102 0 1 1 0 00-2 0z"></path></svg></button></header><main class="main"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--></main><footer class="statusbar"><span class="sb-stat daemon-stat"><span class="dot-mini"></span><span class="k">daemon</span><span class="v">offline</span></span><span style="flex:1"></span><span class="sb-stat"><span class="k">run</span><span class="v">mink daemon start</span></span></footer></div></div><script src="/_next/static/chunks/webpack-4e3139a490df1cfe.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[5379,[\"189\",\"static/chunks/189-fe789442321eb5eb.js\",\"177\",\"static/chunks/app/layout-70a6d18f8e464960.js\"],\"ThemeProvider\"]\n3:I[2800,[\"189\",\"static/chunks/189-fe789442321eb5eb.js\",\"177\",\"static/chunks/app/layout-70a6d18f8e464960.js\"],\"SSEProvider\"]\n4:I[7758,[\"189\",\"static/chunks/189-fe789442321eb5eb.js\",\"177\",\"static/chunks/app/layout-70a6d18f8e464960.js\"],\"AppShell\"]\n5:I[9766,[],\"\"]\n6:I[8924,[],\"\"]\n7:I[4431,[],\"OutletBoundary\"]\n9:I[5278,[],\"AsyncMetadataOutlet\"]\nb:I[4431,[],\"ViewportBoundary\"]\nd:I[4431,[],\"MetadataBoundary\"]\ne:\"$Sreact.suspense\"\n10:I[7150,[],\"\"]\n:HL[\"/_next/static/media/bb3ef058b751a6ad-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/css/5e43917ea49c5b3e.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"U9AeObddt4LmJkKRZpEfy\",\"p\":\"\",\"c\":[\"\",\"_not-found\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/5e43917ea49c5b3e.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"children\":[\"$\",\"body\",null,{\"className\":\"__variable_f367f3 __variable_3c557b\",\"data-theme\":\"dark\",\"data-accent\":\"green\",\"data-density\":\"compact\",\"data-live\":\"on\",\"data-daemon\":\"offline\",\"children\":[\"$\",\"$L2\",null,{\"attribute\":\"data-theme\",\"value\":{\"light\":\"light\",\"dark\":\"dark\"},\"defaultTheme\":\"dark\",\"enableSystem\":true,\"storageKey\":\"mink-theme\",\"children\":[[\"$\",\"$L3\",null,{}],[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}]}]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L7\",null,{\"children\":[\"$L8\",[\"$\",\"$L9\",null,{\"promise\":\"$@a\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[[\"$\",\"$Lb\",null,{\"children\":\"$Lc\"}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]],[\"$\",\"$Ld\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$e\",null,{\"fallback\":null,\"children\":\"$Lf\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$10\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"c:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n8:null\n"])</script><script>self.__next_f.push([1,"a:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Mink — Command Center\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Real-time dashboard for Mink token intelligence\"}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"f:\"$a:metadata\"\n"])</script></body></html>
1
+ <!DOCTYPE html><!--zeNEMTDaNBRpOk_to_GkA--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" href="/_next/static/media/bb3ef058b751a6ad-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/e4af272ccee01ff0-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/0e381ead1d090c3f.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-4e3139a490df1cfe.js"/><script src="/_next/static/chunks/4bd1b696-c023c6e3521b1417.js" async=""></script><script src="/_next/static/chunks/255-6b79f309a27fb98b.js" async=""></script><script src="/_next/static/chunks/main-app-c2dc0acf542ec1c6.js" async=""></script><script src="/_next/static/chunks/157-7bbe4894a18a8332.js" async=""></script><script src="/_next/static/chunks/447-8cfdad14e7559c07.js" async=""></script><script src="/_next/static/chunks/app/layout-99d1a82956bc0f56.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><title>Mink — Command Center</title><meta name="description" content="Real-time dashboard for Mink token intelligence"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body class="__variable_f367f3 __variable_3c557b" data-theme="dark" data-accent="green" data-density="compact" data-live="on" data-daemon="offline"><div hidden=""><!--$--><!--/$--></div><script>((a,b,c,d,e,f,g,h)=>{let i=document.documentElement,j=["light","dark"];function k(b){var c;(Array.isArray(a)?a:[a]).forEach(a=>{let c="class"===a,d=c&&f?e.map(a=>f[a]||a):e;c?(i.classList.remove(...d),i.classList.add(f&&f[b]?f[b]:b)):i.setAttribute(a,b)}),c=b,h&&j.includes(c)&&(i.style.colorScheme=c)}if(d)k(d);else try{let a=localStorage.getItem(b)||c,d=g&&"system"===a?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":a;k(d)}catch(a){}})("data-theme","mink-theme","dark",null,["light","dark"],{"light":"light","dark":"dark"},true,true)</script><div id="app-root"><div class="shell"><aside class="sidebar"><div class="sb-head"><div class="sb-logo">M</div><div class="sb-title">Mink</div><div class="sb-sub">v1</div></div><div class="sb-project"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M3 7a2 2 0 012-2h4l2 2h8a2 2 0 012 2v9a2 2 0 01-2 2H5a2 2 0 01-2-2V7z"></path></svg><div style="min-width:0;flex:1"><div class="pname">Mink</div><div class="pslug"></div></div><svg class="icn pchev" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"></path></svg></div><div><div class="sb-group">Overview</div><a class="sb-item" href="/overview"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M22 12h-4l-3 9L9 3l-3 9H2"></path></svg><span>Overview</span></a><a class="sb-item" href="/activity"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M2 12h4l2-7 4 14 2-7h6"></path></svg><span>Activity log</span></a><a class="sb-item" href="/tokens"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M3 20h18M6 16V8M11 16V4M16 16v-6M21 16v-3"></path></svg><span>Token ledger</span></a><a class="sb-item" href="/compression"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M3 20h18M6 16V8M11 16V4M16 16v-6M21 16v-3"></path></svg><span>Compression</span></a><a class="sb-item" href="/waste"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M12 2l11 20H1L12 2zm0 7v5m0 4v0"></path></svg><span>Waste detect</span></a></div><div><div class="sb-group">Knowledge</div><a class="sb-item" href="/file-index"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8l-6-6z"></path></svg><span>File index</span></a><a class="sb-item" href="/learning"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M12 4a4 4 0 00-4 4v1a3 3 0 00-2 5.5A3 3 0 008 19a4 4 0 004 2 4 4 0 004-2 3 3 0 002-4.5A3 3 0 0016 9V8a4 4 0 00-4-4z"></path></svg><span>Learning</span></a><a class="sb-item" href="/bugs"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M8 8V6a4 4 0 018 0v2M4 13h16M12 8v13M7 21s-3-2-3-8M17 21s3-2 3-8M8 9l-4-3M16 9l4-3M8 13l-4 3M16 13l4 3"></path></svg><span>Bug memory</span></a></div><div><div class="sb-group">Notes &amp; Wiki</div><a class="sb-item" href="/wiki"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4h12a4 4 0 014 4v12H8a4 4 0 01-4-4V4zm0 0v16"></path></svg><span>Vault</span></a><a class="sb-item" href="/capture"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M12 5v14M5 12h14"></path></svg><span>Capture</span></a></div><div><div class="sb-group">Operations</div><a class="sb-item" href="/scheduler"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M12 22a10 10 0 100-20 10 10 0 000 20zm0-16v6l4 2"></path></svg><span>Scheduler</span></a><a class="sb-item" href="/discord"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M9 14a1 1 0 100-2 1 1 0 000 2zm6 0a1 1 0 100-2 1 1 0 000 2zM7 7l2-1h6l2 1 2 5-1 5-3 1-1-2-4 0-1 2-3-1-1-5z"></path></svg><span>Discord</span></a><a class="sb-item" href="/sync"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M6 3v12M6 15a3 3 0 110 6 3 3 0 010-6zm0-12a3 3 0 110 6 3 3 0 010-6zm12 6a3 3 0 110 6 3 3 0 010-6zM18 9v2a2 2 0 01-2 2H9"></path></svg><span>Sync</span></a></div><div><div class="sb-group">System</div><a class="sb-item" href="/daemon"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M18 6a8 8 0 11-12 0M12 2v8"></path></svg><span>Daemon</span></a><a class="sb-item" href="/config"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M12 15a3 3 0 100-6 3 3 0 000 6zm8-3l2-1-2-4-2 1-1-1V4h-4v1l-1 1-2-1-2 4 2 1v2l-2 1 2 4 2-1 1 1v1h4v-1l1-1 2 1 2-4-2-1v-2z"></path></svg><span>Configuration</span></a></div><div style="height:20px"></div></aside><header class="topbar"><div class="tb-section"><span class="muted">Mink</span><span class="sep">/</span><span class="muted">Overview</span><span class="sep">/</span><span class="crumb">Overview</span></div><div class="tb-spacer"></div><div class="cmdk" title="Command palette (coming soon)"><svg class="icn" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M21 21l-5-5m2-6a8 8 0 11-16 0 8 8 0 0116 0z"></path></svg><span>Search files, notes, bugs…</span><kbd>⌘K</kbd></div><span class="daemon-pill" title="Daemon offline"><span class="pulse"></span><span class="mono" style="font-size:10.5px">daemon · offline</span></span><button type="button" class="tb-icon-btn" title="Refresh data"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M3 12a9 9 0 019-9c2.5 0 4.7 1 6.3 2.7M21 3v5h-5M21 12a9 9 0 01-9 9c-2.5 0-4.7-1-6.3-2.7M3 21v-5h5"></path></svg></button><button type="button" class="tb-icon-btn" title="Tweaks"><svg class="icn" width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M15 4V2m0 14v-2m-7-7h2M22 9h-2M5.6 5.6l1.4 1.4M18.4 5.6L17 7m0 10l1.4 1.4M7 17l-1.4 1.4M14 7l-9 9 3 3 9-9"></path></svg></button><button type="button" class="tb-icon-btn" title="More" aria-label="More"><svg class="icn" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12a1 1 0 102 0 1 1 0 00-2 0zm6 0a1 1 0 102 0 1 1 0 00-2 0zm6 0a1 1 0 102 0 1 1 0 00-2 0z"></path></svg></button></header><main class="main"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--></main><footer class="statusbar"><span class="sb-stat daemon-stat"><span class="dot-mini"></span><span class="k">daemon</span><span class="v">offline</span></span><span style="flex:1"></span><span class="sb-stat"><span class="k">run</span><span class="v">mink daemon start</span></span></footer></div></div><script src="/_next/static/chunks/webpack-4e3139a490df1cfe.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[5379,[\"157\",\"static/chunks/157-7bbe4894a18a8332.js\",\"447\",\"static/chunks/447-8cfdad14e7559c07.js\",\"177\",\"static/chunks/app/layout-99d1a82956bc0f56.js\"],\"ThemeProvider\"]\n3:I[2800,[\"157\",\"static/chunks/157-7bbe4894a18a8332.js\",\"447\",\"static/chunks/447-8cfdad14e7559c07.js\",\"177\",\"static/chunks/app/layout-99d1a82956bc0f56.js\"],\"SSEProvider\"]\n4:I[7758,[\"157\",\"static/chunks/157-7bbe4894a18a8332.js\",\"447\",\"static/chunks/447-8cfdad14e7559c07.js\",\"177\",\"static/chunks/app/layout-99d1a82956bc0f56.js\"],\"AppShell\"]\n5:I[9766,[],\"\"]\n6:I[8924,[],\"\"]\n7:I[4431,[],\"OutletBoundary\"]\n9:I[5278,[],\"AsyncMetadataOutlet\"]\nb:I[4431,[],\"ViewportBoundary\"]\nd:I[4431,[],\"MetadataBoundary\"]\ne:\"$Sreact.suspense\"\n10:I[7150,[],\"\"]\n:HL[\"/_next/static/media/bb3ef058b751a6ad-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/media/e4af272ccee01ff0-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n:HL[\"/_next/static/css/0e381ead1d090c3f.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"zeNEMTDaNBRpOk-to-GkA\",\"p\":\"\",\"c\":[\"\",\"_not-found\"],\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[\"\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/0e381ead1d090c3f.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"children\":[\"$\",\"body\",null,{\"className\":\"__variable_f367f3 __variable_3c557b\",\"data-theme\":\"dark\",\"data-accent\":\"green\",\"data-density\":\"compact\",\"data-live\":\"on\",\"data-daemon\":\"offline\",\"children\":[\"$\",\"$L2\",null,{\"attribute\":\"data-theme\",\"value\":{\"light\":\"light\",\"dark\":\"dark\"},\"defaultTheme\":\"dark\",\"enableSystem\":true,\"storageKey\":\"mink-theme\",\"children\":[[\"$\",\"$L3\",null,{}],[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}]}]}]]}],{\"children\":[\"/_not-found\",[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[\"__PAGE__\",[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L7\",null,{\"children\":[\"$L8\",[\"$\",\"$L9\",null,{\"promise\":\"$@a\"}]]}]]}],{},null,false]},null,false]},null,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[[\"$\",\"$Lb\",null,{\"children\":\"$Lc\"}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]],[\"$\",\"$Ld\",null,{\"children\":[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$e\",null,{\"fallback\":null,\"children\":\"$Lf\"}]}]}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$10\",[]],\"s\":false,\"S\":true}\n"])</script><script>self.__next_f.push([1,"c:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n8:null\n"])</script><script>self.__next_f.push([1,"a:{\"metadata\":[[\"$\",\"title\",\"0\",{\"children\":\"Mink — Command Center\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Real-time dashboard for Mink token intelligence\"}]],\"error\":null,\"digest\":\"$undefined\"}\n"])</script><script>self.__next_f.push([1,"f:\"$a:metadata\"\n"])</script></body></html>
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[157],{2296:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DecodeError:function(){return h},MiddlewareNotFoundError:function(){return m},MissingStaticPage:function(){return b},NormalizeError:function(){return y},PageNotFoundError:function(){return g},SP:function(){return p},ST:function(){return d},WEB_VITALS:function(){return r},execOnce:function(){return n},getDisplayName:function(){return i},getLocationOrigin:function(){return a},getURL:function(){return l},isAbsoluteUrl:function(){return u},isResSent:function(){return c},loadGetInitialProps:function(){return s},normalizeRepeatedSlashes:function(){return f},stringifyError:function(){return P}});let r=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,r=!1;return function(){for(var n=arguments.length,o=Array(n),u=0;u<n;u++)o[u]=arguments[u];return r||(r=!0,t=e(...o)),t}}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,u=e=>o.test(e);function a(){let{protocol:e,hostname:t,port:r}=window.location;return e+"//"+t+(r?":"+r:"")}function l(){let{href:e}=window.location,t=a();return e.substring(t.length)}function i(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function c(e){return e.finished||e.headersSent}function f(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function s(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await s(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&c(r))return n;if(!n)throw Object.defineProperty(Error('"'+i(e)+'.getInitialProps()" should resolve to an object. But found "'+n+'" instead.'),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n}let p="undefined"!=typeof performance,d=p&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class h extends Error{}class y extends Error{}class g extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class b extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class m extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function P(e){return JSON.stringify({message:e.message,stack:e.stack})}},2619:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return g},useLinkStatus:function(){return m}});let n=r(9417),o=r(5155),u=n._(r(2115)),a=r(7670),l=r(6752),i=r(3011),c=r(2296),f=r(6058);r(4781);let s=r(3499),p=r(8607),d=r(1807);r(7045);let h=r(6048);function y(e){return"string"==typeof e?e:(0,a.formatUrl)(e)}function g(e){var t;let r,n,a,[g,m]=(0,u.useOptimistic)(s.IDLE_LINK_STATUS),P=(0,u.useRef)(null),{href:_,as:v,children:E,prefetch:O=null,passHref:j,replace:S,shallow:C,scroll:N,onClick:T,onMouseEnter:x,onTouchStart:A,legacyBehavior:M=!1,onNavigate:R,ref:k,unstable_dynamicOnHover:I,...L}=e;r=E,M&&("string"==typeof r||"number"==typeof r)&&(r=(0,o.jsx)("a",{children:r}));let w=u.default.useContext(l.AppRouterContext),U=!1!==O,F=!1!==O?null===(t=O)||"auto"===t?h.FetchStrategy.PPR:h.FetchStrategy.Full:h.FetchStrategy.PPR,{href:D,as:K}=u.default.useMemo(()=>{let e=y(_);return{href:e,as:v?y(v):e}},[_,v]);M&&(n=u.default.Children.only(r));let B=M?n&&"object"==typeof n&&n.ref:k,z=u.default.useCallback(e=>(null!==w&&(P.current=(0,s.mountLinkInstance)(e,D,w,F,U,m)),()=>{P.current&&((0,s.unmountLinkForCurrentNavigation)(P.current),P.current=null),(0,s.unmountPrefetchableInstance)(e)}),[U,D,w,F,m]),Q={ref:(0,i.useMergedRef)(z,B),onClick(e){M||"function"!=typeof T||T(e),M&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),w&&(e.defaultPrevented||function(e,t,r,n,o,a,l){let{nodeName:i}=e.currentTarget;if(!("A"===i.toUpperCase()&&function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||e.currentTarget.hasAttribute("download"))){if(!(0,p.isLocalURL)(t)){o&&(e.preventDefault(),location.replace(t));return}if(e.preventDefault(),l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}u.default.startTransition(()=>{(0,d.dispatchNavigateAction)(r||t,o?"replace":"push",null==a||a,n.current)})}}(e,D,K,P,S,N,R))},onMouseEnter(e){M||"function"!=typeof x||x(e),M&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),w&&U&&(0,s.onNavigationIntent)(e.currentTarget,!0===I)},onTouchStart:function(e){M||"function"!=typeof A||A(e),M&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),w&&U&&(0,s.onNavigationIntent)(e.currentTarget,!0===I)}};return(0,c.isAbsoluteUrl)(K)?Q.href=K:M&&!j&&("a"!==n.type||"href"in n.props)||(Q.href=(0,f.addBasePath)(K)),a=M?u.default.cloneElement(n,Q):(0,o.jsx)("a",{...L,...Q,children:r}),(0,o.jsx)(b.Provider,{value:g,children:a})}let b=(0,u.createContext)(s.IDLE_LINK_STATUS),m=()=>(0,u.useContext)(b);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3011:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=r(2115);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=u(e,n)),t&&(o.current=u(t,n))},[e,t])}function u(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3078:(e,t)=>{function r(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function n(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;for(let[r,o]of Object.entries(e))if(Array.isArray(o))for(let e of o)t.append(r,n(e));else t.set(r,n(o));return t}function u(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(let t of r){for(let r of t.keys())e.delete(r);for(let[r,n]of t.entries())e.append(r,n)}return e}Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{assign:function(){return u},searchParamsToUrlQuery:function(){return r},urlQueryToSearchParams:function(){return o}})},5959:(e,t,r)=>{r.d(t,{v:()=>a});var n=r(2115);let o=e=>{let t,r=new Set,n=(e,n)=>{let o="function"==typeof e?e(t):e;if(!Object.is(o,t)){let e=t;t=(null!=n?n:"object"!=typeof o||null===o)?o:Object.assign({},t,o),r.forEach(r=>r(t,e))}},o=()=>t,u={setState:n,getState:o,getInitialState:()=>a,subscribe:e=>(r.add(e),()=>r.delete(e))},a=t=e(n,o,u);return u},u=e=>{let t=(e=>e?o(e):o)(e),r=e=>(function(e,t=e=>e){let r=n.useSyncExternalStore(e.subscribe,n.useCallback(()=>t(e.getState()),[e,t]),n.useCallback(()=>t(e.getInitialState()),[e,t]));return n.useDebugValue(r),r})(t,e);return Object.assign(r,t),r},a=e=>e?u(e):u},7045:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},7670:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{formatUrl:function(){return u},formatWithValidation:function(){return l},urlObjectKeys:function(){return a}});let n=r(9417)._(r(3078)),o=/https?|ftp|gopher|file/;function u(e){let{auth:t,hostname:r}=e,u=e.protocol||"",a=e.pathname||"",l=e.hash||"",i=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?"["+r+"]":r),e.port&&(c+=":"+e.port)),i&&"object"==typeof i&&(i=String(n.urlQueryToSearchParams(i)));let f=e.search||i&&"?"+i||"";return u&&!u.endsWith(":")&&(u+=":"),e.slashes||(!u||o.test(u))&&!1!==c?(c="//"+(c||""),a&&"/"!==a[0]&&(a="/"+a)):c||(c=""),l&&"#"!==l[0]&&(l="#"+l),f&&"?"!==f[0]&&(f="?"+f),""+u+c+(a=a.replace(/[?#]/g,encodeURIComponent))+(f=f.replace("#","%23"))+l}let a=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function l(e){return u(e)}},8607:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return u}});let n=r(2296),o=r(2929);function u(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[447],{63:(e,t,r)=>{"use strict";var n=r(7260);r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}})},369:e=>{e.exports={style:{fontFamily:"'Inter', 'Inter Fallback'",fontStyle:"normal"},className:"__className_f367f3",variable:"__variable_f367f3"}},5379:(e,t,r)=>{"use strict";r.d(t,{D:()=>m,ThemeProvider:()=>c});var n=r(2115),a=(e,t,r,n,a,s,l,o)=>{let i=document.documentElement,m=["light","dark"];function c(t){var r;(Array.isArray(e)?e:[e]).forEach(e=>{let r="class"===e,n=r&&s?a.map(e=>s[e]||e):a;r?(i.classList.remove(...n),i.classList.add(s&&s[t]?s[t]:t)):i.setAttribute(e,t)}),r=t,o&&m.includes(r)&&(i.style.colorScheme=r)}if(n)c(n);else try{let e=localStorage.getItem(t)||r,n=l&&"system"===e?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e;c(n)}catch(e){}},s=["light","dark"],l="(prefers-color-scheme: dark)",o=n.createContext(void 0),i={setTheme:e=>{},themes:[]},m=()=>{var e;return null!=(e=n.useContext(o))?e:i},c=e=>n.useContext(o)?n.createElement(n.Fragment,null,e.children):n.createElement(d,{...e}),u=["light","dark"],d=e=>{let{forcedTheme:t,disableTransitionOnChange:r=!1,enableSystem:a=!0,enableColorScheme:i=!0,storageKey:m="theme",themes:c=u,defaultTheme:d=a?"system":"light",attribute:g="data-theme",value:p,children:b,nonce:S,scriptProps:w}=e,[k,E]=n.useState(()=>f(m,d)),[_,C]=n.useState(()=>"system"===k?y():k),I=p?Object.values(p):c,T=n.useCallback(e=>{let t=e;if(!t)return;"system"===e&&a&&(t=y());let n=p?p[t]:t,l=r?v(S):null,o=document.documentElement,m=e=>{"class"===e?(o.classList.remove(...I),n&&o.classList.add(n)):e.startsWith("data-")&&(n?o.setAttribute(e,n):o.removeAttribute(e))};if(Array.isArray(g)?g.forEach(m):m(g),i){let e=s.includes(d)?d:null,r=s.includes(t)?t:e;o.style.colorScheme=r}null==l||l()},[S]),P=n.useCallback(e=>{let t="function"==typeof e?e(k):e;E(t);try{localStorage.setItem(m,t)}catch(e){}},[k]),N=n.useCallback(e=>{C(y(e)),"system"===k&&a&&!t&&T("system")},[k,t]);n.useEffect(()=>{let e=window.matchMedia(l);return e.addListener(N),N(e),()=>e.removeListener(N)},[N]),n.useEffect(()=>{let e=e=>{e.key===m&&(e.newValue?E(e.newValue):P(d))};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[P]),n.useEffect(()=>{T(null!=t?t:k)},[t,k]);let L=n.useMemo(()=>({theme:k,setTheme:P,forcedTheme:t,resolvedTheme:"system"===k?_:k,themes:a?[...c,"system"]:c,systemTheme:a?_:void 0}),[k,P,t,_,a,c]);return n.createElement(o.Provider,{value:L},n.createElement(h,{forcedTheme:t,storageKey:m,attribute:g,enableSystem:a,enableColorScheme:i,defaultTheme:d,value:p,themes:c,nonce:S,scriptProps:w}),b)},h=n.memo(e=>{let{forcedTheme:t,storageKey:r,attribute:s,enableSystem:l,enableColorScheme:o,defaultTheme:i,value:m,themes:c,nonce:u,scriptProps:d}=e,h=JSON.stringify([s,r,i,t,c,m,l,o]).slice(1,-1);return n.createElement("script",{...d,suppressHydrationWarning:!0,nonce:"",dangerouslySetInnerHTML:{__html:"(".concat(a.toString(),")(").concat(h,")")}})}),f=(e,t)=>{let r;try{r=localStorage.getItem(e)||void 0}catch(e){}return r||t},v=e=>{let t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(t)},1)}},y=e=>(e||(e=window.matchMedia(l)),e.matches?"dark":"light")},7770:e=>{e.exports={style:{fontFamily:"'JetBrains Mono', 'JetBrains Mono Fallback'",fontStyle:"normal"},className:"__className_3c557b",variable:"__variable_3c557b"}},9863:(e,t,r)=>{"use strict";function n(e,t){let r;try{r=e()}catch(e){return}return{getItem:e=>{var n;let a=e=>null===e?null:JSON.parse(e,null==t?void 0:t.reviver),s=null!=(n=r.getItem(e))?n:null;return s instanceof Promise?s.then(a):a(s)},setItem:(e,n)=>r.setItem(e,JSON.stringify(n,null==t?void 0:t.replacer)),removeItem:e=>r.removeItem(e)}}r.d(t,{KU:()=>n,Zr:()=>s});let a=e=>t=>{try{let r=e(t);if(r instanceof Promise)return r;return{then:e=>a(e)(r),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>a(t)(e)}}},s=(e,t)=>(r,s,l)=>{let o,i={storage:n(()=>window.localStorage),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},m=!1,c=0,u=new Set,d=new Set,h=i.storage;if(!h)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),r(...e)},s,l);let f=()=>{let e=i.partialize({...s()});return h.setItem(i.name,{state:e,version:i.version})},v=l.setState;l.setState=(e,t)=>(v(e,t),f());let y=e((...e)=>(r(...e),f()),s,l);l.getInitialState=()=>y;let g=()=>{var e,t;if(!h)return;let n=++c;m=!1,u.forEach(e=>{var t;return e(null!=(t=s())?t:y)});let l=(null==(t=i.onRehydrateStorage)?void 0:t.call(i,null!=(e=s())?e:y))||void 0;return a(h.getItem.bind(h))(i.name).then(e=>{if(e)if("number"!=typeof e.version||e.version===i.version)return[!1,e.state];else{if(i.migrate){let t=i.migrate(e.state,e.version);return t instanceof Promise?t.then(e=>[!0,e]):[!0,t]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}return[!1,void 0]}).then(e=>{var t;if(n!==c)return;let[a,l]=e;if(r(o=i.merge(l,null!=(t=s())?t:y),!0),a)return f()}).then(()=>{n===c&&(null==l||l(s(),void 0),o=s(),m=!0,d.forEach(e=>e(o)))}).catch(e=>{n===c&&(null==l||l(void 0,e))})};return l.persist={setOptions:e=>{i={...i,...e},e.storage&&(h=e.storage)},clearStorage:()=>{null==h||h.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>g(),hasHydrated:()=>m,onHydrate:e=>(u.add(e),()=>{u.delete(e)}),onFinishHydration:e=>(d.add(e),()=>{d.delete(e)})},i.skipHydration||g(),o||y}}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[161],{264:(e,s,l)=>{Promise.resolve().then(l.bind(l,6258))},1044:(e,s,l)=>{"use strict";l.d(s,{I:()=>a});var t=l(5155);let n={pulse:"M2 12h4l2-7 4 14 2-7h6",activity:"M22 12h-4l-3 9L9 3l-3 9H2",layers:"M12 2l10 6-10 6L2 8l10-6zm0 10l10 6-10 6L2 18l10-6z",database:"M4 5a8 3 0 1016 0 8 3 0 10-16 0v14a8 3 0 0016 0V5",sparkles:"M12 3l1.5 4.5L18 9l-4.5 1.5L12 15l-1.5-4.5L6 9l4.5-1.5zM20 15l.8 2.2L23 18l-2.2.8L20 21l-.8-2.2L17 18l2.2-.8z",brain:"M12 4a4 4 0 00-4 4v1a3 3 0 00-2 5.5A3 3 0 008 19a4 4 0 004 2 4 4 0 004-2 3 3 0 002-4.5A3 3 0 0016 9V8a4 4 0 00-4-4z",bug:"M8 8V6a4 4 0 018 0v2M4 13h16M12 8v13M7 21s-3-2-3-8M17 21s3-2 3-8M8 9l-4-3M16 9l4-3M8 13l-4 3M16 13l4 3",file:"M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8l-6-6z",folder:"M3 7a2 2 0 012-2h4l2 2h8a2 2 0 012 2v9a2 2 0 01-2 2H5a2 2 0 01-2-2V7z",clock:"M12 22a10 10 0 100-20 10 10 0 000 20zm0-16v6l4 2",alert:"M12 2l11 20H1L12 2zm0 7v5m0 4v0",settings:"M12 15a3 3 0 100-6 3 3 0 000 6zm8-3l2-1-2-4-2 1-1-1V4h-4v1l-1 1-2-1-2 4 2 1v2l-2 1 2 4 2-1 1 1v1h4v-1l1-1 2 1 2-4-2-1v-2z",link:"M10 13a5 5 0 007 0l3-3a5 5 0 00-7-7l-1 1M14 11a5 5 0 00-7 0l-3 3a5 5 0 007 7l1-1",git:"M6 3v12M6 15a3 3 0 110 6 3 3 0 010-6zm0-12a3 3 0 110 6 3 3 0 010-6zm12 6a3 3 0 110 6 3 3 0 010-6zM18 9v2a2 2 0 01-2 2H9",discord:"M9 14a1 1 0 100-2 1 1 0 000 2zm6 0a1 1 0 100-2 1 1 0 000 2zM7 7l2-1h6l2 1 2 5-1 5-3 1-1-2-4 0-1 2-3-1-1-5z",chev:"M9 6l6 6-6 6",chevDown:"M6 9l6 6 6-6",play:"M6 4l14 8-14 8z",pause:"M7 4h4v16H7zM13 4h4v16h-4z",stop:"M6 6h12v12H6z",plus:"M12 5v14M5 12h14",search:"M21 21l-5-5m2-6a8 8 0 11-16 0 8 8 0 0116 0z",refresh:"M3 12a9 9 0 019-9c2.5 0 4.7 1 6.3 2.7M21 3v5h-5M21 12a9 9 0 01-9 9c-2.5 0-4.7-1-6.3-2.7M3 21v-5h5",dots:"M5 12a1 1 0 102 0 1 1 0 00-2 0zm6 0a1 1 0 102 0 1 1 0 00-2 0zm6 0a1 1 0 102 0 1 1 0 00-2 0z",check:"M20 6L9 17l-5-5",x:"M6 6l12 12M6 18L18 6",download:"M12 3v13m0 0l-5-5m5 5l5-5M4 21h16",upload:"M12 21V8m0 0l-5 5m5-5l5 5M4 3h16",arrowUp:"M12 19V5m0 0l-7 7m7-7l7 7",arrowDown:"M12 5v14m0 0l-7-7m7 7l7-7",trash:"M4 7h16M10 7V4h4v3m-6 0v13h8V7",home:"M3 12l9-9 9 9M5 10v10h14V10",command:"M6 3a3 3 0 013 3v12a3 3 0 11-3-3h12a3 3 0 113 3V6a3 3 0 11-3 3H6",archive:"M3 7h18v4H3zM5 11v9h14v-9M10 14h4",terminal:"M4 5h16v14H4zM8 9l3 3-3 3M13 15h4",wand:"M15 4V2m0 14v-2m-7-7h2M22 9h-2M5.6 5.6l1.4 1.4M18.4 5.6L17 7m0 10l1.4 1.4M7 17l-1.4 1.4M14 7l-9 9 3 3 9-9",tag:"M20 13l-7 7a2 2 0 01-3 0L3 13V4h9l8 9zM7 7h.01",calendar:"M3 7h18v13H3zM3 7l0-3h18v3M8 2v4M16 2v4M3 11h18",list:"M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01",grid:"M3 3h8v8H3zM13 3h8v8h-8zM3 13h8v8H3zM13 13h8v8h-8z",eye:"M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12zm10 3a3 3 0 100-6 3 3 0 000 6z",chart:"M3 20h18M6 16V8M11 16V4M16 16v-6M21 16v-3",book:"M4 4h12a4 4 0 014 4v12H8a4 4 0 01-4-4V4zm0 0v16",copy:"M8 5h10a2 2 0 012 2v10M4 9h10a2 2 0 012 2v10H6a2 2 0 01-2-2V9z",power:"M18 6a8 8 0 11-12 0M12 2v8",stack:"M4 6h16M4 12h16M4 18h16"};function a(e){let{name:s,size:l=14,stroke:a=1.7,className:i=""}=e,o=n[s];return o?(0,t.jsx)("svg",{className:"icn ".concat(i).trim(),width:l,height:l,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:a,strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("path",{d:o})}):null}},3742:(e,s,l)=>{"use strict";l.d(s,{Z:()=>n});var t=l(5155);function n(e){let{title:s,sub:l,tools:n,flush:a,className:i="",style:o,children:r}=e,d=null!=s||null!=n;return(0,t.jsxs)("div",{className:"card ".concat(i).trim(),style:o,children:[d&&(0,t.jsxs)("div",{className:"card-head",children:[null!=s&&("string"==typeof s?(0,t.jsx)("h3",{children:s}):s),null!=l&&(0,t.jsx)("span",{className:"sub",children:l}),null!=n&&(0,t.jsx)("div",{className:"tools",children:n})]}),(0,t.jsx)("div",{className:"card-body ".concat(a?"flush":"").trim(),children:r})]})}},3928:(e,s,l)=>{"use strict";l.d(s,{f:()=>t});let t=(0,l(5959).v)(e=>({connected:!1,projects:[],activeProjectId:null,overview:null,ledger:null,compression:null,fileIndex:null,tasks:[],taskDefinitions:[],deadLetters:[],health:null,learningMemory:null,actionLog:[],bugs:[],wasteFlags:[],designImages:[],config:null,sync:null,channel:null,wiki:null,wikiNote:null,setConnected:s=>e({connected:s}),setProjects:(s,l)=>e({projects:s,activeProjectId:l}),setActiveProject:s=>e({activeProjectId:s,overview:null,ledger:null,compression:null,fileIndex:null,tasks:[],taskDefinitions:[],deadLetters:[],health:null,learningMemory:null,actionLog:[],bugs:[],wasteFlags:[],designImages:[]}),setOverview:s=>e({overview:s}),setLedger:s=>{var l;return e({ledger:s,wasteFlags:null!=(l=s.wasteFlags)?l:[]})},setCompression:s=>e({compression:s}),setFileIndex:s=>e({fileIndex:s}),setScheduler:(s,l,t)=>e({tasks:s,taskDefinitions:l,deadLetters:t}),setHealth:s=>e({health:s}),setLearningMemory:s=>e({learningMemory:s}),setActionLog:s=>e({actionLog:s}),setBugs:s=>e({bugs:s}),setWasteFlags:s=>e({wasteFlags:s}),setDesignImages:s=>e({designImages:s}),setConfig:s=>e({config:s}),setSync:s=>e({sync:s}),setChannel:s=>e({channel:s}),setWiki:s=>e({wiki:s}),setWikiNote:s=>e({wikiNote:s})}))},6225:(e,s,l)=>{"use strict";l.d(s,{E:()=>n});var t=l(5155);function n(e){let{bars:s,width:l=720,height:n=140}=e;if(!s.length)return(0,t.jsx)("div",{className:"empty",style:{height:n,display:"grid",placeItems:"center"},children:(0,t.jsx)("div",{children:(0,t.jsx)("h4",{children:"No data yet"})})});let a=l-36-12,i=n-10-22,o=1.15*Math.max(...s.map(e=>e.value))||1,r=a/s.length*.62,d=a/s.length-r;return(0,t.jsxs)("svg",{width:l,height:n,style:{display:"block",maxWidth:"100%"},children:[[0,.25,.5,.75,1].map((e,s)=>(0,t.jsx)("line",{x1:36,x2:l-12,y1:10+i-e*i,y2:10+i-e*i,stroke:"var(--line-1)",strokeDasharray:"2 3"},s)),s.map((e,s)=>{let l=e.value/o*i,a=36+s*(r+d)+d/2;return(0,t.jsxs)("g",{children:[(0,t.jsx)("rect",{x:a,y:10+i-l,width:r,height:l,rx:"2",fill:e.color||"var(--accent)",opacity:"0.85"}),(0,t.jsx)("text",{x:a+r/2,y:n-6,textAnchor:"middle",fontSize:"9",fontFamily:"var(--font-mono), monospace",fill:"var(--fg-3)",children:e.label})]},s)})]})}},6258:(e,s,l)=>{"use strict";l.r(s),l.d(s,{default:()=>y});var t=l(5155),n=l(2115),a=l(2619),i=l.n(a),o=l(3928),r=l(3742),d=l(9503),c=l(7125),h=l(6845),u=l(6970),m=l(1044);function v(e){let{series:s,width:l=720,height:n=180}=e;if(!s.length||!s[0].data.length)return(0,t.jsx)("div",{className:"empty",style:{height:n,display:"grid",placeItems:"center"},children:(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{children:"No data yet"}),(0,t.jsx)("span",{children:"chart will populate when sessions arrive"})]})});let a=s[0].data.map(e=>e.x),i=1.15*Math.max(...s.flatMap(e=>e.data.map(e=>e.y)))||1,o=l-36-12,r=n-14-24,d=e=>36+(1===a.length?o/2:e/(a.length-1)*o),c=e=>14+r-(e-0)/(i-0||1)*r,h=Array.from({length:5},(e,s)=>{let l=0+(i-0)/4*s;return{v:l,y:c(l)}});return(0,t.jsxs)("svg",{width:l,height:n,style:{display:"block",maxWidth:"100%"},children:[h.map((e,s)=>(0,t.jsxs)("g",{children:[(0,t.jsx)("line",{x1:36,x2:l-12,y1:e.y,y2:e.y,stroke:"var(--line-1)",strokeDasharray:"2 3"}),(0,t.jsxs)("text",{x:30,y:e.y+3,textAnchor:"end",fontSize:"9",fontFamily:"var(--font-mono), monospace",fill:"var(--fg-3)",children:[Math.round(e.v),"k"]})]},s)),a.map((e,s)=>(0,t.jsx)("text",{x:d(s),y:n-6,textAnchor:"middle",fontSize:"9",fontFamily:"var(--font-mono), monospace",fill:"var(--fg-3)",children:e},s)),s.map((e,s)=>{let l=e.data.map((e,s)=>"".concat(0===s?"M":"L").concat(d(s),",").concat(c(e.y))).join(" "),n="".concat(l," L").concat(d(e.data.length-1),",").concat(c(0)," L").concat(d(0),",").concat(c(0)," Z");return(0,t.jsxs)("g",{children:[e.fill&&(0,t.jsx)("path",{d:n,fill:e.color,opacity:"0.12"}),(0,t.jsx)("path",{d:l,fill:"none",stroke:e.color,strokeWidth:"1.6",strokeLinejoin:"round",strokeLinecap:"round"}),e.data.map((s,l)=>(0,t.jsx)("circle",{cx:d(l),cy:c(s.y),r:"2",fill:"var(--bg-0)",stroke:e.color,strokeWidth:"1.4"},l))]},s)})]})}var x=l(6225),g=l(7e3);function p(e){return e?e.toLocaleString():"0"}let j={fontSize:10.5,color:"var(--fg-3)",textTransform:"uppercase",letterSpacing:"0.08em",marginBottom:4,fontWeight:600};function M(e){let{heuristic:s,measured:l}=e,n=s+l,a=n>0?s/n*100:100,i=n>0?l/n*100:0;return(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"row",style:{alignItems:"baseline",gap:8,marginBottom:10},children:[(0,t.jsx)("span",{className:"mono strong",style:{fontSize:34,lineHeight:1},children:p(n)}),(0,t.jsx)("span",{className:"muted",style:{fontSize:12},children:"tokens saved \xb7 lifetime"})]}),(0,t.jsxs)("div",{className:"row",style:{height:12,borderRadius:6,overflow:"hidden",background:"var(--bg-2)",gap:0},role:"img","aria-label":"Read savings ".concat(s," tokens, compression savings ").concat(l," tokens"),children:[(0,t.jsx)("span",{style:{width:"".concat(a,"%"),background:"var(--fg-2)",display:"block",height:"100%"}}),(0,t.jsx)("span",{style:{width:"".concat(i,"%"),background:"var(--accent)",display:"block",height:"100%"}})]}),(0,t.jsxs)("div",{className:"grid g-2",style:{marginTop:12,gap:16},children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"row tight",style:{gap:6},children:[(0,t.jsx)("i",{style:{width:8,height:8,borderRadius:2,background:"var(--fg-2)",display:"inline-block"}}),(0,t.jsx)("span",{style:{fontSize:12},children:"Read savings"}),(0,t.jsx)(c.v,{children:"est."})]}),(0,t.jsx)("div",{className:"mono strong",style:{fontSize:18,marginTop:2},children:p(s)}),(0,t.jsx)("div",{className:"muted",style:{fontSize:10.5},children:"avoided re-reads via file index"})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"row tight",style:{gap:6},children:[(0,t.jsx)("i",{style:{width:8,height:8,borderRadius:2,background:"var(--accent)",display:"inline-block"}}),(0,t.jsx)("span",{style:{fontSize:12},children:"Compression savings"}),(0,t.jsx)(c.v,{tone:"accent",children:"measured"})]}),(0,t.jsx)("div",{className:"mono strong",style:{fontSize:18,marginTop:2},children:p(l)}),(0,t.jsx)("div",{className:"muted",style:{fontSize:10.5},children:l>0?"shrunk tool output, byte-reversible":"not active yet"})]})]}),(0,t.jsxs)("p",{className:"muted",style:{fontSize:11,marginTop:12},children:["Two mechanisms, disjoint token streams: ",(0,t.jsx)("strong",{children:"read savings"})," is an estimate of context Mink kept the model from re-reading; ",(0,t.jsx)("strong",{children:"compression savings"})," is a measured byte delta on tool output. They sum without double-counting."]})]})}function f(){var e,s,l,a,f,y,k,N,b,w,z,S,T,L,I,C,H,V,D,F,R,W,A,E,Z,B,P,_,O,Y,G,K,U,q,J,Q,X;let $=(0,o.f)(e=>e.overview),ee=(0,o.f)(e=>e.ledger),es=(0,o.f)(e=>e.compression),el=(0,o.f)(e=>e.health),et=null==$?void 0:$.summary,en=null!=(I=null==ee?void 0:ee.sessions)?I:[],ea=en.length>0?en[en.length-1]:null,ei=(0,n.useMemo)(()=>(function(e){let s=Date.now(),l={},t=[];for(let e=6;e>=0;e--){let n=new Date(s-864e5*e).toLocaleDateString(void 0,{month:"short",day:"numeric"});l[n]={x:n,inT:0,outT:0,saved:0},t.push(n)}for(let s of e){var n,a,i,o,r;let e=function(e){try{return new Date(e).toLocaleDateString(void 0,{month:"short",day:"numeric"})}catch(s){return e.slice(0,10)}}(s.startTimestamp);if(!l[e])continue;let t=null!=(i=null==(n=s.totals)?void 0:n.estimatedTokens)?i:0,d=(null!=(o=null==(a=s.totals)?void 0:a.writeCount)?o:0)*600;l[e].inT+=Math.max(0,t-d),l[e].outT+=d,l[e].saved+=null!=(r=s.estimatedSavings)?r:0}return t.map(e=>l[e])})(en),[en]),eo=[{name:"saved",color:"var(--accent)",fill:!0,data:ei.map(e=>({x:e.x,y:Math.round(e.saved/1e3)}))},{name:"in",color:"var(--fg-2)",fill:!1,data:ei.map(e=>({x:e.x,y:Math.round(e.inT/1e3)}))},{name:"out",color:"var(--fg-3)",fill:!1,data:ei.map(e=>({x:e.x,y:Math.round(e.outT/1e3)}))}],er=null!=(C=null==et?void 0:et.estimatedSavings)?C:0,ed=null!=(V=null!=(H=null==es?void 0:es.lifetime.totalMeasuredSavings)?H:null==$||null==(e=$.compression)?void 0:e.totalMeasuredSavings)?V:0,ec=null!=(F=null!=(D=null==es?void 0:es.arms.compressed.originalTokens)?D:null==$||null==(s=$.compression)?void 0:s.totalOriginalTokens)?F:0,eh=null!=(W=null!=(R=null==es?void 0:es.arms.compressed.compressedTokens)?R:null==$||null==(l=$.compression)?void 0:l.totalCompressedTokens)?W:0,eu=null!=(E=null!=(A=null==es?void 0:es.arms.compressed.events)?A:null==$||null==(a=$.compression)?void 0:a.totalEvents)?E:0,em=null!=(B=null!=(Z=null==es?void 0:es.lifetime.totalHoldoutEvents)?Z:null==$||null==(f=$.compression)?void 0:f.totalHoldoutEvents)?B:0,ev=ec>0?ed/ec*100:0,ex=eu>0||ed>0,eg=null!=(P=null==ea||null==(y=ea.totals)?void 0:y.readCount)?P:0,ep=null!=(_=null==ea||null==(k=ea.totals)?void 0:k.writeCount)?_:0,ej=null!=(O=null==ea||null==(N=ea.totals)?void 0:N.estimatedTokens)?O:0,eM=null!=(Y=null==ea?void 0:ea.estimatedSavings)?Y:0,ef=!!(ea&&!ea.endTimestamp);return(0,t.jsxs)("div",{className:"page",children:[(0,t.jsxs)("div",{className:"page-head",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"page-title",children:"Overview"}),(0,t.jsxs)("p",{className:"page-sub",children:[null!=(G=null==$||null==(b=$.project)?void 0:b.name)?G:"—"," \xb7 ",(null==$||null==(w=$.daemon)?void 0:w.running)?"daemon online \xb7 uptime ".concat((0,g.Y0)(null!=(K=null==el?void 0:el.uptimeMs)?K:0)):"daemon offline"]})]}),(0,t.jsx)("div",{className:"page-actions",children:(0,t.jsx)(h.t,{icon:"refresh",variant:"ghost",onClick:()=>location.reload(),children:"Refresh"})})]}),(0,t.jsxs)("div",{className:"grid g-2",style:{gridTemplateColumns:"1.4fr 1fr",alignItems:"stretch"},children:[(0,t.jsx)(r.Z,{title:"Total tokens saved",sub:"read savings (est.) + compression (measured)",children:(0,t.jsx)(M,{heuristic:er,measured:ed})}),(0,t.jsx)(r.Z,{title:"Lifetime",sub:"across all sessions",children:(0,t.jsxs)("div",{className:"grid g-2",style:{gap:12},children:[(0,t.jsx)(d.h,{label:"Total tokens",value:p(null==et?void 0:et.totalTokens)}),(0,t.jsx)(d.h,{label:"Sessions",value:p(null==et?void 0:et.totalSessions)}),(0,t.jsx)(d.h,{label:"Read savings \xb7 est.",value:p(er),deltaTone:"up",delta:"▲ heuristic",spark:ei.map(e=>Math.round(e.saved/1e3)),sparkTone:"accent"}),(0,t.jsx)(d.h,{label:"Compression \xb7 measured",value:p(ed),deltaTone:"up",delta:ex?"▲ ".concat(ev.toFixed(0),"% smaller"):"— inactive"})]})})]}),(0,t.jsx)("div",{style:{height:14}}),(0,t.jsxs)("div",{className:"grid g-2",children:[(0,t.jsxs)(r.Z,{title:"Token usage — last 7 days",sub:"in \xb7 out \xb7 read savings (est., per session)",children:[(0,t.jsx)(v,{series:eo,width:560,height:180}),(0,t.jsxs)("div",{className:"chart-legend",children:[(0,t.jsxs)("span",{children:[(0,t.jsx)("i",{style:{background:"var(--accent)"}}),"read saved"]}),(0,t.jsxs)("span",{children:[(0,t.jsx)("i",{style:{background:"var(--fg-2)"}}),"in"]}),(0,t.jsxs)("span",{children:[(0,t.jsx)("i",{style:{background:"var(--fg-3)"}}),"out"]})]})]}),(0,t.jsxs)(r.Z,{title:(0,t.jsxs)("span",{className:"row tight",children:[(0,t.jsx)("span",{children:ef?"Active session":"Most recent session"}),ef&&(0,t.jsx)("span",{className:"chip accent mono",children:"● live"})]}),sub:(0,t.jsx)("span",{className:"mono",children:null!=(U=null==ea?void 0:ea.sessionId)?U:"—"}),children:[(0,t.jsxs)("div",{className:"grid g-2",style:{marginBottom:12,gap:12},children:[(0,t.jsx)(d.h,{label:"Tokens (session)",value:p(ej),live:ef}),(0,t.jsx)(d.h,{label:"Read saved \xb7 est.",value:p(eM),deltaTone:"up",delta:eM>0?"▲ vs unassisted":void 0,live:ef})]}),(0,t.jsxs)("div",{className:"grid g-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{style:j,children:"Reads"}),(0,t.jsxs)("div",{className:"row",children:[(0,t.jsx)("span",{className:"mono strong",style:{fontSize:18},children:eg}),(0,t.jsx)(u.y,{value:eg,max:200})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{style:j,children:"Writes"}),(0,t.jsxs)("div",{className:"row",children:[(0,t.jsx)("span",{className:"mono strong",style:{fontSize:18},children:ep}),(0,t.jsx)(u.y,{value:ep,max:80})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{style:j,children:"Index hits"}),(0,t.jsxs)("div",{className:"row",children:[(0,t.jsx)("span",{className:"mono strong",style:{fontSize:18},children:null!=(q=null==ea||null==(z=ea.totals)?void 0:z.fileIndexHits)?q:0}),(0,t.jsx)(u.y,{value:null!=(J=null==ea||null==(S=ea.totals)?void 0:S.fileIndexHits)?J:0,max:Math.max(1,(null!=(Q=null==ea||null==(T=ea.totals)?void 0:T.fileIndexHits)?Q:0)+(null!=(X=null==ea||null==(L=ea.totals)?void 0:L.fileIndexMisses)?X:0))})]})]})]})]})]}),(0,t.jsx)("div",{style:{height:14}}),(0,t.jsx)(r.Z,{title:"Compression — measured savings",sub:"reversible tool-output compression \xb7 lifetime",tools:(0,t.jsxs)(i(),{href:"/compression",className:"sb-item",style:{fontSize:11,padding:"2px 8px"},children:["View detail ",(0,t.jsx)(m.I,{name:"chev",size:11})]}),children:ex?(0,t.jsxs)("div",{className:"grid g-2",style:{gap:16,alignItems:"center"},children:[(0,t.jsxs)("div",{className:"grid g-2",style:{gap:12},children:[(0,t.jsx)(d.h,{label:"Measured savings",value:p(ed),deltaTone:"up",delta:"▲ tokens"}),(0,t.jsx)(d.h,{label:"Compression ratio",value:"".concat(ev.toFixed(0),"%")}),(0,t.jsx)(d.h,{label:"Compressed events",value:p(eu)}),(0,t.jsx)(d.h,{label:"Held out (control)",value:p(em),delta:0===em?"⚠ no A/B control yet":void 0})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)(x.E,{bars:[{label:"original",value:ec,color:"var(--fg-2)"},{label:"compressed",value:eh,color:"var(--accent)"}],width:360,height:150}),(0,t.jsxs)("p",{className:"muted",style:{fontSize:11,marginTop:4},children:["ⓘ Lifetime totals — not broken down per session.",0===em&&" Measured, but not yet holdout-validated."]})]})]}):(0,t.jsxs)("div",{className:"empty",children:[(0,t.jsx)("h4",{children:(null==$?void 0:$.compression)||es?"No compression events yet":"Compression inactive"}),(0,t.jsx)("p",{className:"muted",style:{fontSize:12},children:"Your read savings above still apply. Large tool outputs (Read / Bash / Grep / MCP) will be measured here once compression runs. Enable with:"}),(0,t.jsx)("pre",{className:"mono",style:{fontSize:12,marginTop:8},children:"mink config set compression.enabled true"})]})}),(0,t.jsx)("div",{style:{height:14}}),(0,t.jsx)(r.Z,{title:"Session history",sub:"".concat(en.length," sessions \xb7 per-session read savings"),flush:!0,children:0===en.length?(0,t.jsxs)("div",{className:"empty",children:[(0,t.jsx)("h4",{children:"No sessions recorded yet"}),(0,t.jsx)("span",{children:"start Claude Code in a project with mink hooks to see data."})]}):(0,t.jsxs)("table",{className:"tbl",children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{children:[(0,t.jsx)("th",{children:"Status"}),(0,t.jsx)("th",{children:"ID"}),(0,t.jsx)("th",{children:"Started"}),(0,t.jsx)("th",{className:"right",children:"Reads"}),(0,t.jsx)("th",{className:"right",children:"Writes"}),(0,t.jsx)("th",{className:"right",children:"Tokens"}),(0,t.jsx)("th",{className:"right",children:"Read saved \xb7 est."})]})}),(0,t.jsx)("tbody",{children:[...en].reverse().slice(0,30).map(e=>{var s,l,n,a,i;return(0,t.jsxs)("tr",{children:[(0,t.jsx)("td",{children:e.endTimestamp?(0,t.jsx)("span",{className:"muted mono",style:{fontSize:10},children:"done"}):(0,t.jsx)(c.v,{tone:"accent",children:"● live"})}),(0,t.jsx)("td",{className:"mono",children:e.sessionId}),(0,t.jsx)("td",{children:e.startTimestamp?new Date(e.startTimestamp).toLocaleString():"—"}),(0,t.jsx)("td",{className:"right num",children:null!=(a=null==(s=e.totals)?void 0:s.readCount)?a:0}),(0,t.jsx)("td",{className:"right num",children:null!=(i=null==(l=e.totals)?void 0:l.writeCount)?i:0}),(0,t.jsx)("td",{className:"right num",children:p(null==(n=e.totals)?void 0:n.estimatedTokens)}),(0,t.jsx)("td",{className:"right num",children:(0,t.jsx)("span",{className:"strong",children:p(e.estimatedSavings)})})]},e.sessionId)})})]})})]})}function y(){return(0,t.jsx)(f,{})}},6845:(e,s,l)=>{"use strict";l.d(s,{t:()=>a});var t=l(5155),n=l(1044);function a(e){let{icon:s,variant:l,size:a,className:i="",children:o,...r}=e,d=["btn"];return l&&d.push(l),a&&d.push(a),i&&d.push(i),(0,t.jsxs)("button",{className:d.join(" "),...r,children:[s&&(0,t.jsx)(n.I,{name:s}),o]})}},6970:(e,s,l)=>{"use strict";l.d(s,{y:()=>n});var t=l(5155);function n(e){let{value:s,max:l=100,tone:n="",className:a=""}=e,i=Math.max(0,Math.min(100,s/l*100));return(0,t.jsx)("div",{className:"bar ".concat(n," ").concat(a).trim(),children:(0,t.jsx)("span",{style:{width:"".concat(i,"%")}})})}},7e3:(e,s,l)=>{"use strict";function t(e){return e>=1e6?(e/1e6).toFixed(1)+"M":e>=1e3?(e/1e3).toFixed(1)+"K":String(e)}function n(e){if(!e||e<=0)return"—";let s=Math.floor(e/1e3),l=Math.floor(s/60),t=Math.floor(l/60);return t>0?t+"h "+l%60+"m":l>0?l+"m "+s%60+"s":s+"s"}function a(e){if(!e)return"—";try{let s=new Date(e);return s.toLocaleDateString()+" "+s.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit"})}catch(s){return e}}l.d(s,{Y0:()=>n,aT:()=>t,r6:()=>a})},7125:(e,s,l)=>{"use strict";l.d(s,{v:()=>n});var t=l(5155);function n(e){let{tone:s="",children:l,className:n=""}=e;return(0,t.jsx)("span",{className:"chip ".concat(s," ").concat(n).trim(),children:l})}},9503:(e,s,l)=>{"use strict";l.d(s,{h:()=>a});var t=l(5155);function n(e){let{data:s,width:l=60,height:n=22,tone:a=""}=e;if(!s.length)return null;let i=Math.min(...s),o=Math.max(...s)-i||1,r=s.map((e,t)=>{let a=1===s.length?0:t/(s.length-1)*l,r=n-(e-i)/o*n;return"".concat(a.toFixed(1),",").concat(r.toFixed(1))}).join(" ");return(0,t.jsx)("svg",{width:l,height:n,className:"spark",children:(0,t.jsx)("polyline",{points:r,fill:"none",stroke:"accent"===a?"var(--accent)":"red"===a?"var(--red)":"var(--fg-2)",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})})}function a(e){let{label:s,value:l,delta:a,deltaTone:i="",spark:o,sparkTone:r,live:d,className:c="",style:h}=e;return(0,t.jsxs)("div",{className:"kpi ".concat(c).trim(),style:h,children:[(0,t.jsx)("div",{className:"label",children:s}),(0,t.jsx)("div",{className:"value mono ".concat(d?"live-num":"").trim(),children:l}),a&&(0,t.jsx)("div",{className:"delta ".concat(i).trim(),children:a}),o&&(0,t.jsx)("div",{className:"spark",children:(0,t.jsx)(n,{data:o,tone:r})})]})}}},e=>{e.O(0,[157,441,255,358],()=>e(e.s=264)),_N_E=e.O()}]);
@@ -1 +1 @@
1
- (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[177],{1044:(e,n,t)=>{"use strict";t.d(n,{I:()=>i});var s=t(5155);let a={pulse:"M2 12h4l2-7 4 14 2-7h6",activity:"M22 12h-4l-3 9L9 3l-3 9H2",layers:"M12 2l10 6-10 6L2 8l10-6zm0 10l10 6-10 6L2 18l10-6z",database:"M4 5a8 3 0 1016 0 8 3 0 10-16 0v14a8 3 0 0016 0V5",sparkles:"M12 3l1.5 4.5L18 9l-4.5 1.5L12 15l-1.5-4.5L6 9l4.5-1.5zM20 15l.8 2.2L23 18l-2.2.8L20 21l-.8-2.2L17 18l2.2-.8z",brain:"M12 4a4 4 0 00-4 4v1a3 3 0 00-2 5.5A3 3 0 008 19a4 4 0 004 2 4 4 0 004-2 3 3 0 002-4.5A3 3 0 0016 9V8a4 4 0 00-4-4z",bug:"M8 8V6a4 4 0 018 0v2M4 13h16M12 8v13M7 21s-3-2-3-8M17 21s3-2 3-8M8 9l-4-3M16 9l4-3M8 13l-4 3M16 13l4 3",file:"M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8l-6-6z",folder:"M3 7a2 2 0 012-2h4l2 2h8a2 2 0 012 2v9a2 2 0 01-2 2H5a2 2 0 01-2-2V7z",clock:"M12 22a10 10 0 100-20 10 10 0 000 20zm0-16v6l4 2",alert:"M12 2l11 20H1L12 2zm0 7v5m0 4v0",settings:"M12 15a3 3 0 100-6 3 3 0 000 6zm8-3l2-1-2-4-2 1-1-1V4h-4v1l-1 1-2-1-2 4 2 1v2l-2 1 2 4 2-1 1 1v1h4v-1l1-1 2 1 2-4-2-1v-2z",link:"M10 13a5 5 0 007 0l3-3a5 5 0 00-7-7l-1 1M14 11a5 5 0 00-7 0l-3 3a5 5 0 007 7l1-1",git:"M6 3v12M6 15a3 3 0 110 6 3 3 0 010-6zm0-12a3 3 0 110 6 3 3 0 010-6zm12 6a3 3 0 110 6 3 3 0 010-6zM18 9v2a2 2 0 01-2 2H9",discord:"M9 14a1 1 0 100-2 1 1 0 000 2zm6 0a1 1 0 100-2 1 1 0 000 2zM7 7l2-1h6l2 1 2 5-1 5-3 1-1-2-4 0-1 2-3-1-1-5z",chev:"M9 6l6 6-6 6",chevDown:"M6 9l6 6 6-6",play:"M6 4l14 8-14 8z",pause:"M7 4h4v16H7zM13 4h4v16h-4z",stop:"M6 6h12v12H6z",plus:"M12 5v14M5 12h14",search:"M21 21l-5-5m2-6a8 8 0 11-16 0 8 8 0 0116 0z",refresh:"M3 12a9 9 0 019-9c2.5 0 4.7 1 6.3 2.7M21 3v5h-5M21 12a9 9 0 01-9 9c-2.5 0-4.7-1-6.3-2.7M3 21v-5h5",dots:"M5 12a1 1 0 102 0 1 1 0 00-2 0zm6 0a1 1 0 102 0 1 1 0 00-2 0zm6 0a1 1 0 102 0 1 1 0 00-2 0z",check:"M20 6L9 17l-5-5",x:"M6 6l12 12M6 18L18 6",download:"M12 3v13m0 0l-5-5m5 5l5-5M4 21h16",upload:"M12 21V8m0 0l-5 5m5-5l5 5M4 3h16",arrowUp:"M12 19V5m0 0l-7 7m7-7l7 7",arrowDown:"M12 5v14m0 0l-7-7m7 7l7-7",trash:"M4 7h16M10 7V4h4v3m-6 0v13h8V7",home:"M3 12l9-9 9 9M5 10v10h14V10",command:"M6 3a3 3 0 013 3v12a3 3 0 11-3-3h12a3 3 0 113 3V6a3 3 0 11-3 3H6",archive:"M3 7h18v4H3zM5 11v9h14v-9M10 14h4",terminal:"M4 5h16v14H4zM8 9l3 3-3 3M13 15h4",wand:"M15 4V2m0 14v-2m-7-7h2M22 9h-2M5.6 5.6l1.4 1.4M18.4 5.6L17 7m0 10l1.4 1.4M7 17l-1.4 1.4M14 7l-9 9 3 3 9-9",tag:"M20 13l-7 7a2 2 0 01-3 0L3 13V4h9l8 9zM7 7h.01",calendar:"M3 7h18v13H3zM3 7l0-3h18v3M8 2v4M16 2v4M3 11h18",list:"M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01",grid:"M3 3h8v8H3zM13 3h8v8h-8zM3 13h8v8H3zM13 13h8v8h-8z",eye:"M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12zm10 3a3 3 0 100-6 3 3 0 000 6z",chart:"M3 20h18M6 16V8M11 16V4M16 16v-6M21 16v-3",book:"M4 4h12a4 4 0 014 4v12H8a4 4 0 01-4-4V4zm0 0v16",copy:"M8 5h10a2 2 0 012 2v10M4 9h10a2 2 0 012 2v10H6a2 2 0 01-2-2V9z",power:"M18 6a8 8 0 11-12 0M12 2v8",stack:"M4 6h16M4 12h16M4 18h16"};function i(e){let{name:n,size:t=14,stroke:i=1.7,className:c=""}=e,l=a[n];return l?(0,s.jsx)("svg",{className:"icn ".concat(c).trim(),width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round",children:(0,s.jsx)("path",{d:l})}):null}},1290:()=>{},2301:(e,n,t)=>{"use strict";t.d(n,{g:()=>o,h:()=>r});var s=t(2115),a=t(3928),i=t(2327);function c(e){var n;let t=[];for(let s of null!=(n=null==e?void 0:e.sessions)?n:[])for(let e of(s.content||"").split("\n")){if(!e.startsWith("|")||e.includes("---"))continue;let n=e.split("|").map(e=>e.trim()).filter(Boolean);n.length>=5&&"Time"!==n[0]&&t.push({time:n[0],action:n[1],files:n[2],outcome:n[3],tokens:n[4]})}return t}function l(e){let n=e.tasks||[],t=n.map(e=>e.state).filter(Boolean),s=n.map(e=>e.definition).filter(Boolean),i=e.deadLetterQueue||[];a.f.getState().setScheduler(t,s,i)}function o(){var e;let n=a.f.getState(),t=null!=(e=n.activeProjectId)?e:void 0;(0,i.EP)(t).then(e=>{var t,s;n.setOverview(e),(null==(t=e.daemon)?void 0:t.running)?n.setHealth({uptimeMs:null!=(s=e.daemon.uptimeMs)?s:0}):n.setHealth(null)}).catch(console.warn),(0,i.Vo)(t).then(n.setLedger).catch(console.warn),(0,i.Bf)(t).then(n.setCompression).catch(console.warn),(0,i.xl)(t).then(n.setFileIndex).catch(console.warn),(0,i.e2)(t).then(l).catch(console.warn),(0,i.co)(t).then(n.setLearningMemory).catch(console.warn),(0,i.pu)(t).then(e=>n.setActionLog(c(e))).catch(console.warn),(0,i.MP)(t).then(e=>n.setBugs(e.entries||[])).catch(console.warn),(0,i.hY)(t).then(e=>n.setDesignImages(e.images)).catch(console.warn),(0,i.Dz)().then(n.setConfig).catch(console.warn),(0,i.Gs)().then(n.setSync).catch(console.warn),(0,i.G1)().then(n.setChannel).catch(console.warn),(0,i.D)().then(n.setWiki).catch(console.warn)}function r(){let e=(0,s.useRef)(1e3),n=(0,s.useRef)(null),t=(0,s.useRef)(null);(0,s.useEffect)(()=>((function s(){t.current&&t.current.close();let r=new EventSource("/api/events");t.current=r,r.onopen=()=>{e.current=1e3,a.f.getState().setConnected(!0),(0,i.vj)().then(e=>{a.f.getState().setProjects(e.projects,e.activeProjectId),o()}).catch(e=>{console.warn("[mink] Failed to fetch projects:",e),o()})},r.onmessage=e=>{try{let n=JSON.parse(e.data);if("keepalive"===n.type)return;!function(e){var n;let t=a.f.getState(),s=e.fileId||e.type,r=null!=(n=t.activeProjectId)?n:void 0;if("project-switched"===s&&e.projectId){t.activeProjectId!==e.projectId&&(t.setActiveProject(e.projectId),o());return}switch(s){case"token-ledger":(0,i.Vo)(r).then(t.setLedger).catch(console.warn),(0,i.Bf)(r).then(t.setCompression).catch(console.warn);break;case"file-index":(0,i.xl)(r).then(t.setFileIndex).catch(console.warn);break;case"scheduler-manifest":(0,i.e2)(r).then(l).catch(console.warn);break;case"learning-memory":(0,i.co)(r).then(t.setLearningMemory).catch(console.warn);break;case"action-log":(0,i.pu)(r).then(e=>t.setActionLog(c(e))).catch(console.warn);break;case"bug-memory":(0,i.MP)(r).then(e=>t.setBugs(e.entries||[])).catch(console.warn);break;case"session":case"daemon-status":(0,i.EP)(r).then(e=>{var n,s;t.setOverview(e),(null==(n=e.daemon)?void 0:n.running)?t.setHealth({uptimeMs:null!=(s=e.daemon.uptimeMs)?s:0}):t.setHealth(null)}).catch(console.warn);break;case"design-report":(0,i.hY)(r).then(e=>t.setDesignImages(e.images)).catch(console.warn);break;case"config-changed":(0,i.Dz)().then(t.setConfig).catch(console.warn);break;case"sync-status":(0,i.Gs)().then(t.setSync).catch(console.warn);break;case"channel-status":case"channel-logs":(0,i.G1)().then(t.setChannel).catch(console.warn);break;case"vault-index":(0,i.D)().then(t.setWiki).catch(console.warn);break;default:o()}}(n)}catch(e){console.warn("[mink] SSE parse error:",e)}},r.onerror=()=>{a.f.getState().setConnected(!1),r.close(),t.current=null,n.current&&clearTimeout(n.current),n.current=setTimeout(()=>{e.current=Math.min(2*e.current,3e4),s()},e.current)}})(),()=>{t.current&&(t.current.close(),t.current=null),n.current&&clearTimeout(n.current)}),[])}},2327:(e,n,t)=>{"use strict";async function s(e,n){let t=n?"".concat(e).concat(e.includes("?")?"&":"?","project=").concat(encodeURIComponent(n)):e,s=await fetch(t);if(!s.ok)throw Error("API error ".concat(s.status,": ").concat(e));return s.json()}function a(){return s("/api/projects")}function i(e){return s("/api/overview",e)}function c(e){return s("/api/token-ledger",e)}function l(e){return s("/api/compression",e)}function o(e){return s("/api/file-index",e)}function r(e){return s("/api/scheduler",e)}function d(e){return s("/api/learning-memory",e)}function h(e){return s("/api/action-log",e)}function u(e){return s("/api/bugs",e)}function m(e){return s("/api/design",e)}async function p(e){return(await fetch("/api/switch-project",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({projectId:e})})).json()}async function v(e,n){let t=n?"?project=".concat(encodeURIComponent(n)):"";return(await fetch("/api/tasks/".concat(encodeURIComponent(e),"/run").concat(t),{method:"POST"})).json()}async function f(e,n){let t=n?"?project=".concat(encodeURIComponent(n)):"";return(await fetch("/api/dead-letter/".concat(encodeURIComponent(e),"/retry").concat(t),{method:"POST"})).json()}async function g(e){let n=e?"?project=".concat(encodeURIComponent(e)):"";return(await fetch("/api/rescan".concat(n),{method:"POST"})).json()}async function j(){return(await fetch("/api/daemon/start",{method:"POST"})).json()}async function x(){return(await fetch("/api/daemon/stop",{method:"POST"})).json()}async function y(){return(await fetch("/api/daemon/restart",{method:"POST"})).json()}function b(){return s("/api/config")}async function w(e,n){return(await fetch("/api/config/set",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({key:e,value:n})})).json()}async function k(e,n){return(await fetch("/api/config/reset",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({key:e,all:n})})).json()}function M(){return s("/api/sync")}async function N(){return(await fetch("/api/sync/pull",{method:"POST"})).json()}async function S(){return(await fetch("/api/sync/push",{method:"POST"})).json()}async function z(){return(await fetch("/api/sync/disconnect",{method:"POST"})).json()}function P(){return s("/api/channel")}async function I(){return(await fetch("/api/channel/start",{method:"POST"})).json()}async function C(){return(await fetch("/api/channel/stop",{method:"POST"})).json()}async function L(){return(await fetch("/api/channel/restart",{method:"POST"})).json()}function O(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=new URLSearchParams;null!=e.limit&&n.set("limit",String(e.limit)),e.category&&n.set("category",e.category);let t=n.toString();return s("/api/wiki".concat(t?"?".concat(t):""))}function T(e){return s("/api/wiki/note?path=".concat(encodeURIComponent(e)))}function D(e){let n={"Content-Type":"application/json"};return e&&(n["X-Mink-Dedup-Key"]=e),n}async function F(e){return(await fetch("/api/wiki/notes",{method:"POST",headers:D(e.dedupKey),body:JSON.stringify({mode:e.mode,title:e.title,category:e.category,body:e.body,tags:e.tags})})).json()}async function H(e,n){return(await fetch("/api/wiki/daily",{method:"POST",headers:D(n),body:JSON.stringify({content:e})})).json()}async function V(e){return(await fetch("/api/wiki/ingest",{method:"POST",headers:D(e.dedupKey),body:JSON.stringify({sourcePath:e.sourcePath,category:e.category,tags:e.tags})})).json()}t.d(n,{$Z:()=>L,Aq:()=>z,Bf:()=>l,D:()=>O,Dz:()=>b,EP:()=>i,FW:()=>k,G1:()=>P,Gs:()=>M,Iw:()=>H,MP:()=>u,On:()=>I,P:()=>v,Vo:()=>c,WH:()=>C,Z4:()=>f,ZN:()=>T,ab:()=>y,co:()=>d,e2:()=>r,fX:()=>j,hD:()=>g,hY:()=>m,jm:()=>N,kH:()=>S,p4:()=>F,pu:()=>h,tf:()=>V,vj:()=>a,vo:()=>x,xl:()=>o,yJ:()=>w,yP:()=>p})},2800:(e,n,t)=>{"use strict";t.d(n,{SSEProvider:()=>a});var s=t(2301);function a(){return(0,s.h)(),null}},3928:(e,n,t)=>{"use strict";t.d(n,{f:()=>s});let s=(0,t(5959).v)(e=>({connected:!1,projects:[],activeProjectId:null,overview:null,ledger:null,compression:null,fileIndex:null,tasks:[],taskDefinitions:[],deadLetters:[],health:null,learningMemory:null,actionLog:[],bugs:[],wasteFlags:[],designImages:[],config:null,sync:null,channel:null,wiki:null,wikiNote:null,setConnected:n=>e({connected:n}),setProjects:(n,t)=>e({projects:n,activeProjectId:t}),setActiveProject:n=>e({activeProjectId:n,overview:null,ledger:null,compression:null,fileIndex:null,tasks:[],taskDefinitions:[],deadLetters:[],health:null,learningMemory:null,actionLog:[],bugs:[],wasteFlags:[],designImages:[]}),setOverview:n=>e({overview:n}),setLedger:n=>{var t;return e({ledger:n,wasteFlags:null!=(t=n.wasteFlags)?t:[]})},setCompression:n=>e({compression:n}),setFileIndex:n=>e({fileIndex:n}),setScheduler:(n,t,s)=>e({tasks:n,taskDefinitions:t,deadLetters:s}),setHealth:n=>e({health:n}),setLearningMemory:n=>e({learningMemory:n}),setActionLog:n=>e({actionLog:n}),setBugs:n=>e({bugs:n}),setWasteFlags:n=>e({wasteFlags:n}),setDesignImages:n=>e({designImages:n}),setConfig:n=>e({config:n}),setSync:n=>e({sync:n}),setChannel:n=>e({channel:n}),setWiki:n=>e({wiki:n}),setWikiNote:n=>e({wikiNote:n})}))},4658:(e,n,t)=>{Promise.resolve().then(t.t.bind(t,1290,23)),Promise.resolve().then(t.bind(t,7758)),Promise.resolve().then(t.bind(t,2800)),Promise.resolve().then(t.bind(t,5379)),Promise.resolve().then(t.t.bind(t,369,23)),Promise.resolve().then(t.t.bind(t,7770,23))},6845:(e,n,t)=>{"use strict";t.d(n,{t:()=>i});var s=t(5155),a=t(1044);function i(e){let{icon:n,variant:t,size:i,className:c="",children:l,...o}=e,r=["btn"];return t&&r.push(t),i&&r.push(i),c&&r.push(c),(0,s.jsxs)("button",{className:r.join(" "),...o,children:[n&&(0,s.jsx)(a.I,{name:n}),l]})}},7758:(e,n,t)=>{"use strict";t.d(n,{AppShell:()=>C});var s=t(5155),a=t(2115),i=t(63),c=t(5379),l=t(2619),o=t.n(l),r=t(1044),d=t(3928),h=t(2327),u=t(2301),m=t(6845);function p(e){let{onClose:n}=e,t=(0,d.f)(e=>e.projects),a=(0,d.f)(e=>e.activeProjectId),i=(0,d.f)(e=>e.setActiveProject);async function c(e){if(e===a)return void n();i(e),await (0,h.yP)(e),(0,u.g)(),n()}return(0,s.jsxs)("div",{role:"menu",onMouseLeave:n,style:{position:"fixed",top:92,left:12,width:320,zIndex:80,background:"var(--bg-1)",border:"1px solid var(--line-1)",borderRadius:10,boxShadow:"var(--shadow-pop)",overflow:"hidden"},children:[(0,s.jsxs)("div",{style:{padding:"8px 12px",borderBottom:"1px solid var(--line-1)",fontSize:10.5,textTransform:"uppercase",letterSpacing:"0.08em",color:"var(--fg-3)",fontWeight:600},children:["Projects \xb7 ",t.length]}),t.map(e=>(0,s.jsxs)("div",{role:"menuitem",onClick:()=>c(e.id),className:"row",style:{padding:"8px 12px",cursor:"pointer",background:a===e.id?"var(--bg-2)":void 0,borderBottom:"1px solid var(--line-1)"},children:[(0,s.jsx)(r.I,{name:"folder",size:12}),(0,s.jsxs)("div",{style:{flex:1,minWidth:0,marginLeft:8},children:[(0,s.jsx)("div",{style:{color:"var(--fg-0)",fontSize:12},children:e.name}),(0,s.jsx)("div",{className:"mono muted",style:{fontSize:10},children:function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:36;return e.length<=n?e:"..."+e.slice(e.length-n+3)}(e.cwd)})]}),a===e.id&&(0,s.jsx)("span",{className:"dot",style:{width:6,height:6,borderRadius:3,background:"var(--accent)"}})]},e.id)),0===t.length&&(0,s.jsx)("div",{className:"empty",style:{padding:16},children:(0,s.jsx)("div",{children:"No projects registered"})}),(0,s.jsx)("div",{style:{padding:8,background:"var(--bg-2)"},children:(0,s.jsx)(m.t,{size:"sm",icon:"plus",variant:"ghost",disabled:!0,title:"Preview — run `mink init` in a repo",children:"Add project"})})]})}let v=[{group:"Overview",items:[{id:"sessions",href:"/overview",label:"Sessions",icon:"activity",showDot:!0},{id:"activity",href:"/activity",label:"Activity log",icon:"pulse"},{id:"tokens",href:"/tokens",label:"Token ledger",icon:"chart"},{id:"compression",href:"/compression",label:"Compression",icon:"chart"},{id:"waste",href:"/waste",label:"Waste detect",icon:"alert",countKey:"waste"}]},{group:"Knowledge",items:[{id:"files",href:"/file-index",label:"File index",icon:"file"},{id:"memory",href:"/learning",label:"Learning",icon:"brain"},{id:"bugs",href:"/bugs",label:"Bug memory",icon:"bug",countKey:"bugs"}]},{group:"Notes & Wiki",items:[{id:"wiki",href:"/wiki",label:"Vault",icon:"book"},{id:"capture",href:"/capture",label:"Capture",icon:"plus",countKey:"capture"}]},{group:"Operations",items:[{id:"scheduler",href:"/scheduler",label:"Scheduler",icon:"clock",countKey:"scheduler"},{id:"discord",href:"/discord",label:"Discord",icon:"discord"},{id:"sync",href:"/sync",label:"Sync",icon:"git"}]},{group:"System",items:[{id:"daemon",href:"/daemon",label:"Daemon",icon:"power"},{id:"config",href:"/config",label:"Configuration",icon:"settings"}]}];function f(){let e=(0,i.usePathname)(),[n,t]=(0,a.useState)(!1),c=(0,d.f)(e=>e.activeProjectId),l=(0,d.f)(e=>e.projects),h=(0,d.f)(e=>{var n,t;return null==(t=e.overview)||null==(n=t.project)?void 0:n.name}),u=(0,d.f)(e=>e.wasteFlags.length),m=(0,d.f)(e=>e.bugs.filter(e=>{var n;return!(null==(n=e.fixDescription)?void 0:n.trim())}).length),f=(0,d.f)(e=>e.deadLetters.length),g=(0,d.f)(e=>{var n,t,s;return null!=(s=null==(t=e.overview)||null==(n=t.daemon)?void 0:n.running)&&s}),j={capture:0,waste:u,bugs:m,scheduler:f},x=l.find(e=>e.id===c),y=(null==x?void 0:x.name)||h||"Mink",b=(null==x?void 0:x.id)||(null==x?void 0:x.cwd)||"";return(0,s.jsxs)("aside",{className:"sidebar",children:[(0,s.jsxs)("div",{className:"sb-head",children:[(0,s.jsx)("div",{className:"sb-logo",children:"M"}),(0,s.jsx)("div",{className:"sb-title",children:"Mink"}),(0,s.jsx)("div",{className:"sb-sub",children:"v1"})]}),(0,s.jsxs)("div",{className:"sb-project",onClick:()=>t(e=>!e),children:[(0,s.jsx)(r.I,{name:"folder",size:13}),(0,s.jsxs)("div",{style:{minWidth:0,flex:1},children:[(0,s.jsx)("div",{className:"pname",children:y}),(0,s.jsx)("div",{className:"pslug",children:b})]}),(0,s.jsx)(r.I,{name:"chevDown",size:12,className:"pchev"})]}),v.map(n=>(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"sb-group",children:n.group}),n.items.map(n=>{let t=e===n.href||"/overview"===n.href&&"/"===e,a=n.countKey?j[n.countKey]:0;return(0,s.jsxs)(o(),{href:n.href,"aria-current":t?"page":void 0,className:"sb-item ".concat(t?"active":"").trim(),children:[(0,s.jsx)(r.I,{name:n.icon,size:13}),(0,s.jsx)("span",{children:n.label}),n.showDot&&g&&(0,s.jsx)("span",{className:"dot"}),a>0&&(0,s.jsx)("span",{className:"count",children:a})]},n.id)})]},n.group)),(0,s.jsx)("div",{style:{height:20}}),n&&(0,s.jsx)(p,{onClose:()=>t(!1)})]})}var g=t(5959),j=t(9863);let x=(0,g.v)()((0,j.Zr)(e=>({accent:"green",density:"compact",liveFeel:!0,tweaksOpen:!1,setAccent:n=>e({accent:n}),setDensity:n=>e({density:n}),setLiveFeel:n=>e({liveFeel:n}),setTweaksOpen:n=>e({tweaksOpen:n})}),{name:"mink-preferences",storage:(0,j.KU)(()=>localStorage),partialize:e=>({accent:e.accent,density:e.density,liveFeel:e.liveFeel})}));function y(){var e;let n=(0,i.usePathname)(),t=(0,d.f)(e=>{var n,t,s;return null!=(s=null==(t=e.overview)||null==(n=t.daemon)?void 0:n.running)&&s}),a=x(e=>e.setTweaksOpen),c=(0,d.f)(e=>e.projects.find(n=>n.id===e.activeProjectId)),l=null!=(e=null==c?void 0:c.name)?e:"Mink",o=function(e){for(let n of v)for(let t of n.items)if(t.href===e||"/overview"===t.href&&"/"===e)return{group:n.group,label:t.label};return{group:"Overview",label:"Sessions"}}(n||"/");return(0,s.jsxs)("header",{className:"topbar",children:[(0,s.jsxs)("div",{className:"tb-section",children:[(0,s.jsx)("span",{className:"muted",children:l}),(0,s.jsx)("span",{className:"sep",children:"/"}),(0,s.jsx)("span",{className:"muted",children:o.group}),(0,s.jsx)("span",{className:"sep",children:"/"}),(0,s.jsx)("span",{className:"crumb",children:o.label})]}),(0,s.jsx)("div",{className:"tb-spacer"}),(0,s.jsxs)("div",{className:"cmdk",title:"Command palette (coming soon)",children:[(0,s.jsx)(r.I,{name:"search",size:12}),(0,s.jsx)("span",{children:"Search files, notes, bugs…"}),(0,s.jsx)("kbd",{children:"⌘K"})]}),(0,s.jsxs)("span",{className:"daemon-pill",title:"Daemon ".concat(t?"online":"offline"),children:[(0,s.jsx)("span",{className:"pulse"}),(0,s.jsx)("span",{className:"mono",style:{fontSize:10.5},children:t?"daemon \xb7 online":"daemon \xb7 offline"})]}),(0,s.jsx)("button",{type:"button",className:"tb-icon-btn",title:"Refresh data",onClick:()=>location.reload(),children:(0,s.jsx)(r.I,{name:"refresh",size:13})}),(0,s.jsx)("button",{type:"button",className:"tb-icon-btn",title:"Tweaks",onClick:()=>a(!0),children:(0,s.jsx)(r.I,{name:"wand",size:13})}),(0,s.jsx)("button",{type:"button",className:"tb-icon-btn",title:"More","aria-label":"More",children:(0,s.jsx)(r.I,{name:"dots",size:14})})]})}function b(){var e,n,t,a;let i=(0,d.f)(e=>e.overview),c=(0,d.f)(e=>e.connected),l=(0,d.f)(e=>e.deadLetters.length),o=(0,d.f)(e=>e.tasks.length),r=null!=(t=null==i||null==(e=i.daemon)?void 0:e.running)&&t,h=null==i||null==(n=i.daemon)?void 0:n.pid,u=null==i?void 0:i.summary;return(0,s.jsxs)("footer",{className:"statusbar",children:[(0,s.jsxs)("span",{className:"sb-stat daemon-stat",children:[(0,s.jsx)("span",{className:"dot-mini"}),(0,s.jsx)("span",{className:"k",children:"daemon"}),(0,s.jsx)("span",{className:"v",children:r?h?"online \xb7 pid ".concat(h):"online":"offline"})]}),r&&(0,s.jsxs)(s.Fragment,{children:[u&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("span",{className:"sb-stat",children:[(0,s.jsx)("span",{className:"k",children:"sessions"}),(0,s.jsx)("span",{className:"v",children:u.totalSessions})]}),(0,s.jsxs)("span",{className:"sb-stat",children:[(0,s.jsx)("span",{className:"k",children:"reads"}),(0,s.jsx)("span",{className:"v",children:u.totalReads})]}),(0,s.jsxs)("span",{className:"sb-stat",children:[(0,s.jsx)("span",{className:"k",children:"writes"}),(0,s.jsx)("span",{className:"v",children:u.totalWrites})]}),(0,s.jsxs)("span",{className:"sb-stat",children:[(0,s.jsx)("span",{className:"k",children:"saved"}),(0,s.jsx)("span",{className:"v",children:(a=u.estimatedSavings)?a<1e3?String(a):"".concat((a/1e3).toFixed(1),"k"):"0"})]})]}),(0,s.jsx)("span",{style:{flex:1}}),(0,s.jsxs)("span",{className:"sb-stat",children:[(0,s.jsx)("span",{className:"k",children:"cron"}),(0,s.jsxs)("span",{className:"v",children:[o," tasks",l>0?" \xb7 ".concat(l," DLQ"):""]})]}),(0,s.jsxs)("span",{className:"sb-stat",children:[(0,s.jsx)("span",{className:"k",children:"sse"}),(0,s.jsx)("span",{className:"v",children:c?"connected":"reconnecting"})]})]}),!r&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{style:{flex:1}}),(0,s.jsxs)("span",{className:"sb-stat",children:[(0,s.jsx)("span",{className:"k",children:"run"}),(0,s.jsx)("span",{className:"v",children:"mink daemon start"})]})]})]})}let w={Read:{type:"read",verb:"Read"},Create:{type:"write",verb:"Create"},Edit:{type:"write",verb:"Edit"},"Session start":{type:"session",verb:"Session started"},"Session end":{type:"session",verb:"Session ended"}};function k(){let e=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:60,n=(0,d.f)(e=>e.actionLog),t=x(e=>e.liveFeel),[s,i]=(0,a.useState)(0);return(0,a.useEffect)(()=>{if(!t)return;let e=setInterval(()=>i(e=>e+1),4e3);return()=>clearInterval(e)},[t]),n.slice().reverse().slice(0,e).map((e,n)=>(function(e,n){var t,s,a;let i=null!=(s=w[e.action])?s:{type:"other",verb:e.action},c=null!=(a=null==(t=e.outcome)?void 0:t.toLowerCase())?a:"",l=c.includes("hit")||c.includes("saved")?"hit":c.includes("miss")||c.includes("blocked")?"warn":i.flavor;return{t:e.time,type:i.type,msg:i.verb,tgt:e.files||"—",meta:e.tokens&&"—"!==e.tokens?"".concat(e.tokens," tok"):e.outcome,flavor:l,id:"al-".concat(n,"-").concat(e.time,"-").concat(e.files)}})(e,n))}(24);return(0,s.jsxs)("aside",{className:"rail",children:[(0,s.jsxs)("div",{className:"rail-head",children:[(0,s.jsx)(r.I,{name:"activity",size:13}),(0,s.jsx)("h4",{children:"Live activity"}),(0,s.jsxs)("span",{className:"live",children:[(0,s.jsx)("span",{className:"d"})," streaming"]})]}),(0,s.jsxs)("div",{children:[0===e.length&&(0,s.jsxs)("div",{className:"empty",children:[(0,s.jsx)("h4",{children:"Waiting for events"}),(0,s.jsx)("span",{children:"activity will stream here as the daemon reports hook events."})]}),e.map((e,n)=>(0,s.jsxs)("div",{className:"evt ".concat(n<2?"fresh":"").trim(),children:[(0,s.jsx)("span",{className:"t",children:e.t}),(0,s.jsxs)("span",{className:"c",children:[(0,s.jsx)("b",{children:e.msg})," ",(0,s.jsx)("code",{children:e.tgt}),e.meta&&(0,s.jsx)("div",{className:"hit"===e.flavor?"hit":"muted",style:{marginTop:2,fontSize:10.5,fontFamily:"var(--font-mono), monospace"},children:e.meta})]})]},e.id))]})]})}let M=[["green","oklch(0.76 0.14 155)"],["amber","oklch(0.80 0.15 75)"],["blue","oklch(0.72 0.14 245)"],["violet","oklch(0.72 0.14 295)"]],N=[["compact","S"],["comfortable","M"],["spacious","L"]];function S(){var e;let n=x(e=>e.tweaksOpen),t=x(e=>e.setTweaksOpen),{theme:a,setTheme:i,resolvedTheme:l}=(0,c.D)(),o=null!=(e="system"===a?l:a)?e:"dark",r=x(e=>e.accent),d=x(e=>e.setAccent),h=x(e=>e.density),u=x(e=>e.setDensity),m=x(e=>e.liveFeel),p=x(e=>e.setLiveFeel);return n?(0,s.jsxs)("div",{className:"tweaks",role:"dialog","aria-label":"Tweaks",children:[(0,s.jsxs)("div",{className:"row",style:{marginBottom:6},children:[(0,s.jsx)("h4",{style:{margin:0},children:"Tweaks"}),(0,s.jsx)("button",{type:"button",className:"tb-icon-btn",style:{marginLeft:"auto"},onClick:()=>t(!1),"aria-label":"Close tweaks",children:(0,s.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",children:(0,s.jsx)("path",{d:"M6 6l12 12M6 18L18 6"})})})]}),(0,s.jsxs)("div",{className:"tw-row",children:[(0,s.jsx)("span",{className:"label",children:"Theme"}),(0,s.jsx)("div",{className:"seg",children:["light","dark"].map(e=>(0,s.jsx)("button",{type:"button",className:o===e?"on":"",onClick:()=>i(e),children:e},e))})]}),(0,s.jsxs)("div",{className:"tw-row",children:[(0,s.jsx)("span",{className:"label",children:"Accent"}),(0,s.jsx)("div",{className:"swatches",children:M.map(e=>{let[n,t]=e;return(0,s.jsx)("button",{type:"button",className:"sw ".concat(r===n?"on":"").trim(),style:{background:t},title:n,"aria-label":"Accent ".concat(n),onClick:()=>d(n)},n)})})]}),(0,s.jsxs)("div",{className:"tw-row",children:[(0,s.jsx)("span",{className:"label",children:"Density"}),(0,s.jsx)("div",{className:"seg",children:N.map(e=>{let[n,t]=e;return(0,s.jsx)("button",{type:"button",className:h===n?"on":"",onClick:()=>u(n),children:t},n)})})]}),(0,s.jsxs)("div",{className:"tw-row",children:[(0,s.jsx)("span",{className:"label",children:"Live indicators"}),(0,s.jsx)("button",{type:"button",role:"switch","aria-checked":m,className:"toggle ".concat(m?"on":"").trim(),onClick:()=>p(!m)})]})]}):null}let z=[{done:!0,t:"Install mink",d:"bun add -g @drewpayment/mink"},{done:!0,t:"Initialize project",d:"mink init in your repo — registers Claude Code hooks"},{done:!1,t:"Start the daemon",d:"Runs scheduled tasks and streams live events to this UI"},{done:!1,t:"Optional — set up sync",d:"Git-backed sync of ~/.mink across machines"},{done:!1,t:"Optional — Discord bot",d:"DM your bot to capture, search, summarize from anywhere"}];function P(){let[e,n]=(0,a.useState)(!1);function t(){var e;null==(e=navigator.clipboard)||e.writeText("mink daemon start").then(()=>{n(!0),setTimeout(()=>n(!1),1600)})}return(0,s.jsx)("div",{className:"onboard",children:(0,s.jsxs)("div",{className:"onboard-card",children:[(0,s.jsxs)("div",{className:"row",style:{marginBottom:12},children:[(0,s.jsx)("div",{className:"sb-logo",style:{width:28,height:28,fontSize:14},children:"M"}),(0,s.jsxs)("div",{style:{marginLeft:10},children:[(0,s.jsx)("div",{style:{fontSize:13,fontWeight:600,color:"var(--fg-0)"},children:"Mink"}),(0,s.jsx)("div",{className:"muted",style:{fontSize:11},children:"command center"})]}),(0,s.jsx)("span",{style:{marginLeft:"auto"},className:"chip",children:"daemon \xb7 offline"})]}),(0,s.jsx)("h2",{children:"Welcome back"}),(0,s.jsx)("p",{className:"sub",children:"The daemon isn't running. Start it to unlock the full command center — live sessions, scheduler, activity feed, and sync."}),(0,s.jsxs)("button",{type:"button",className:"cmd",onClick:t,title:"Click to copy",style:{textAlign:"left",width:"100%"},children:[(0,s.jsx)("span",{className:"prompt",children:"$"}),(0,s.jsx)("span",{children:"mink daemon start"}),(0,s.jsx)("span",{className:"copy",children:e?"copied!":"click to copy"})]}),(0,s.jsxs)("div",{className:"row tight",style:{marginBottom:14},children:[(0,s.jsx)(m.t,{variant:"primary",icon:"play",onClick:t,children:"Copy start command"}),(0,s.jsx)(m.t,{variant:"ghost",icon:"book",onClick:()=>window.open("https://github.com/drewpayment/mink","_blank"),children:"Read docs"})]}),(0,s.jsx)("div",{children:z.map((e,n)=>(0,s.jsxs)("div",{className:"onboard-step ".concat(e.done?"done":"").trim(),children:[(0,s.jsx)("div",{className:"n",children:e.done?(0,s.jsx)(r.I,{name:"check",size:11}):n+1}),(0,s.jsxs)("div",{className:"body",children:[(0,s.jsx)("div",{className:"t",children:e.t}),(0,s.jsx)("div",{className:"d",children:e.d})]})]},n))})]})})}let I=new Set(["/","/overview","/activity","/tokens","/waste","/scheduler","/daemon"]);function C(e){let{children:n}=e,t=(0,i.usePathname)(),{resolvedTheme:l}=(0,c.D)(),o=x(e=>e.accent),r=x(e=>e.density),h=x(e=>e.liveFeel),u=(0,d.f)(e=>{var n,t,s;return null!=(s=null==(t=e.overview)||null==(n=t.daemon)?void 0:n.running)&&s}),m=(0,d.f)(e=>null!=e.overview);(0,a.useEffect)(()=>{let e=document.body;e.dataset.theme="light"===l?"light":"dark",e.dataset.accent=o,e.dataset.density=r,e.dataset.live=h?"on":"off",e.dataset.daemon=u?"online":"offline"},[l,o,r,h,u]);let p=u&&I.has(null!=t?t:"/"),v=!u&&m&&("/"===t||"/overview"===t);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{id:"app-root",children:(0,s.jsxs)("div",{className:"shell ".concat(p?"with-rail":"").trim(),children:[(0,s.jsx)(f,{}),(0,s.jsx)(y,{}),(0,s.jsx)("main",{className:"main",children:v?(0,s.jsx)(P,{}):n}),p&&(0,s.jsx)(k,{}),(0,s.jsx)(b,{})]})}),(0,s.jsx)(S,{})]})}}},e=>{e.O(0,[718,189,441,255,358],()=>e(e.s=4658)),_N_E=e.O()}]);
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[177],{1044:(e,n,t)=>{"use strict";t.d(n,{I:()=>i});var s=t(5155);let a={pulse:"M2 12h4l2-7 4 14 2-7h6",activity:"M22 12h-4l-3 9L9 3l-3 9H2",layers:"M12 2l10 6-10 6L2 8l10-6zm0 10l10 6-10 6L2 18l10-6z",database:"M4 5a8 3 0 1016 0 8 3 0 10-16 0v14a8 3 0 0016 0V5",sparkles:"M12 3l1.5 4.5L18 9l-4.5 1.5L12 15l-1.5-4.5L6 9l4.5-1.5zM20 15l.8 2.2L23 18l-2.2.8L20 21l-.8-2.2L17 18l2.2-.8z",brain:"M12 4a4 4 0 00-4 4v1a3 3 0 00-2 5.5A3 3 0 008 19a4 4 0 004 2 4 4 0 004-2 3 3 0 002-4.5A3 3 0 0016 9V8a4 4 0 00-4-4z",bug:"M8 8V6a4 4 0 018 0v2M4 13h16M12 8v13M7 21s-3-2-3-8M17 21s3-2 3-8M8 9l-4-3M16 9l4-3M8 13l-4 3M16 13l4 3",file:"M14 2H6a2 2 0 00-2 2v16a2 2 0 002 2h12a2 2 0 002-2V8l-6-6z",folder:"M3 7a2 2 0 012-2h4l2 2h8a2 2 0 012 2v9a2 2 0 01-2 2H5a2 2 0 01-2-2V7z",clock:"M12 22a10 10 0 100-20 10 10 0 000 20zm0-16v6l4 2",alert:"M12 2l11 20H1L12 2zm0 7v5m0 4v0",settings:"M12 15a3 3 0 100-6 3 3 0 000 6zm8-3l2-1-2-4-2 1-1-1V4h-4v1l-1 1-2-1-2 4 2 1v2l-2 1 2 4 2-1 1 1v1h4v-1l1-1 2 1 2-4-2-1v-2z",link:"M10 13a5 5 0 007 0l3-3a5 5 0 00-7-7l-1 1M14 11a5 5 0 00-7 0l-3 3a5 5 0 007 7l1-1",git:"M6 3v12M6 15a3 3 0 110 6 3 3 0 010-6zm0-12a3 3 0 110 6 3 3 0 010-6zm12 6a3 3 0 110 6 3 3 0 010-6zM18 9v2a2 2 0 01-2 2H9",discord:"M9 14a1 1 0 100-2 1 1 0 000 2zm6 0a1 1 0 100-2 1 1 0 000 2zM7 7l2-1h6l2 1 2 5-1 5-3 1-1-2-4 0-1 2-3-1-1-5z",chev:"M9 6l6 6-6 6",chevDown:"M6 9l6 6 6-6",play:"M6 4l14 8-14 8z",pause:"M7 4h4v16H7zM13 4h4v16h-4z",stop:"M6 6h12v12H6z",plus:"M12 5v14M5 12h14",search:"M21 21l-5-5m2-6a8 8 0 11-16 0 8 8 0 0116 0z",refresh:"M3 12a9 9 0 019-9c2.5 0 4.7 1 6.3 2.7M21 3v5h-5M21 12a9 9 0 01-9 9c-2.5 0-4.7-1-6.3-2.7M3 21v-5h5",dots:"M5 12a1 1 0 102 0 1 1 0 00-2 0zm6 0a1 1 0 102 0 1 1 0 00-2 0zm6 0a1 1 0 102 0 1 1 0 00-2 0z",check:"M20 6L9 17l-5-5",x:"M6 6l12 12M6 18L18 6",download:"M12 3v13m0 0l-5-5m5 5l5-5M4 21h16",upload:"M12 21V8m0 0l-5 5m5-5l5 5M4 3h16",arrowUp:"M12 19V5m0 0l-7 7m7-7l7 7",arrowDown:"M12 5v14m0 0l-7-7m7 7l7-7",trash:"M4 7h16M10 7V4h4v3m-6 0v13h8V7",home:"M3 12l9-9 9 9M5 10v10h14V10",command:"M6 3a3 3 0 013 3v12a3 3 0 11-3-3h12a3 3 0 113 3V6a3 3 0 11-3 3H6",archive:"M3 7h18v4H3zM5 11v9h14v-9M10 14h4",terminal:"M4 5h16v14H4zM8 9l3 3-3 3M13 15h4",wand:"M15 4V2m0 14v-2m-7-7h2M22 9h-2M5.6 5.6l1.4 1.4M18.4 5.6L17 7m0 10l1.4 1.4M7 17l-1.4 1.4M14 7l-9 9 3 3 9-9",tag:"M20 13l-7 7a2 2 0 01-3 0L3 13V4h9l8 9zM7 7h.01",calendar:"M3 7h18v13H3zM3 7l0-3h18v3M8 2v4M16 2v4M3 11h18",list:"M8 6h13M8 12h13M8 18h13M3 6h.01M3 12h.01M3 18h.01",grid:"M3 3h8v8H3zM13 3h8v8h-8zM3 13h8v8H3zM13 13h8v8h-8z",eye:"M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12zm10 3a3 3 0 100-6 3 3 0 000 6z",chart:"M3 20h18M6 16V8M11 16V4M16 16v-6M21 16v-3",book:"M4 4h12a4 4 0 014 4v12H8a4 4 0 01-4-4V4zm0 0v16",copy:"M8 5h10a2 2 0 012 2v10M4 9h10a2 2 0 012 2v10H6a2 2 0 01-2-2V9z",power:"M18 6a8 8 0 11-12 0M12 2v8",stack:"M4 6h16M4 12h16M4 18h16"};function i(e){let{name:n,size:t=14,stroke:i=1.7,className:c=""}=e,l=a[n];return l?(0,s.jsx)("svg",{className:"icn ".concat(c).trim(),width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:i,strokeLinecap:"round",strokeLinejoin:"round",children:(0,s.jsx)("path",{d:l})}):null}},1290:()=>{},2301:(e,n,t)=>{"use strict";t.d(n,{g:()=>o,h:()=>r});var s=t(2115),a=t(3928),i=t(2327);function c(e){var n;let t=[];for(let s of null!=(n=null==e?void 0:e.sessions)?n:[])for(let e of(s.content||"").split("\n")){if(!e.startsWith("|")||e.includes("---"))continue;let n=e.split("|").map(e=>e.trim()).filter(Boolean);n.length>=5&&"Time"!==n[0]&&t.push({time:n[0],action:n[1],files:n[2],outcome:n[3],tokens:n[4]})}return t}function l(e){let n=e.tasks||[],t=n.map(e=>e.state).filter(Boolean),s=n.map(e=>e.definition).filter(Boolean),i=e.deadLetterQueue||[];a.f.getState().setScheduler(t,s,i)}function o(){var e;let n=a.f.getState(),t=null!=(e=n.activeProjectId)?e:void 0;(0,i.EP)(t).then(e=>{var t,s;n.setOverview(e),(null==(t=e.daemon)?void 0:t.running)?n.setHealth({uptimeMs:null!=(s=e.daemon.uptimeMs)?s:0}):n.setHealth(null)}).catch(console.warn),(0,i.Vo)(t).then(n.setLedger).catch(console.warn),(0,i.Bf)(t).then(n.setCompression).catch(console.warn),(0,i.xl)(t).then(n.setFileIndex).catch(console.warn),(0,i.e2)(t).then(l).catch(console.warn),(0,i.co)(t).then(n.setLearningMemory).catch(console.warn),(0,i.pu)(t).then(e=>n.setActionLog(c(e))).catch(console.warn),(0,i.MP)(t).then(e=>n.setBugs(e.entries||[])).catch(console.warn),(0,i.hY)(t).then(e=>n.setDesignImages(e.images)).catch(console.warn),(0,i.Dz)().then(n.setConfig).catch(console.warn),(0,i.Gs)().then(n.setSync).catch(console.warn),(0,i.G1)().then(n.setChannel).catch(console.warn),(0,i.D)().then(n.setWiki).catch(console.warn)}function r(){let e=(0,s.useRef)(1e3),n=(0,s.useRef)(null),t=(0,s.useRef)(null);(0,s.useEffect)(()=>((function s(){t.current&&t.current.close();let r=new EventSource("/api/events");t.current=r,r.onopen=()=>{e.current=1e3,a.f.getState().setConnected(!0),(0,i.vj)().then(e=>{a.f.getState().setProjects(e.projects,e.activeProjectId),o()}).catch(e=>{console.warn("[mink] Failed to fetch projects:",e),o()})},r.onmessage=e=>{try{let n=JSON.parse(e.data);if("keepalive"===n.type)return;!function(e){var n;let t=a.f.getState(),s=e.fileId||e.type,r=null!=(n=t.activeProjectId)?n:void 0;if("project-switched"===s&&e.projectId){t.activeProjectId!==e.projectId&&(t.setActiveProject(e.projectId),o());return}switch(s){case"token-ledger":(0,i.Vo)(r).then(t.setLedger).catch(console.warn),(0,i.Bf)(r).then(t.setCompression).catch(console.warn);break;case"file-index":(0,i.xl)(r).then(t.setFileIndex).catch(console.warn);break;case"scheduler-manifest":(0,i.e2)(r).then(l).catch(console.warn);break;case"learning-memory":(0,i.co)(r).then(t.setLearningMemory).catch(console.warn);break;case"action-log":(0,i.pu)(r).then(e=>t.setActionLog(c(e))).catch(console.warn);break;case"bug-memory":(0,i.MP)(r).then(e=>t.setBugs(e.entries||[])).catch(console.warn);break;case"session":case"daemon-status":(0,i.EP)(r).then(e=>{var n,s;t.setOverview(e),(null==(n=e.daemon)?void 0:n.running)?t.setHealth({uptimeMs:null!=(s=e.daemon.uptimeMs)?s:0}):t.setHealth(null)}).catch(console.warn);break;case"design-report":(0,i.hY)(r).then(e=>t.setDesignImages(e.images)).catch(console.warn);break;case"config-changed":(0,i.Dz)().then(t.setConfig).catch(console.warn);break;case"sync-status":(0,i.Gs)().then(t.setSync).catch(console.warn);break;case"channel-status":case"channel-logs":(0,i.G1)().then(t.setChannel).catch(console.warn);break;case"vault-index":(0,i.D)().then(t.setWiki).catch(console.warn);break;default:o()}}(n)}catch(e){console.warn("[mink] SSE parse error:",e)}},r.onerror=()=>{a.f.getState().setConnected(!1),r.close(),t.current=null,n.current&&clearTimeout(n.current),n.current=setTimeout(()=>{e.current=Math.min(2*e.current,3e4),s()},e.current)}})(),()=>{t.current&&(t.current.close(),t.current=null),n.current&&clearTimeout(n.current)}),[])}},2327:(e,n,t)=>{"use strict";async function s(e,n){let t=n?"".concat(e).concat(e.includes("?")?"&":"?","project=").concat(encodeURIComponent(n)):e,s=await fetch(t);if(!s.ok)throw Error("API error ".concat(s.status,": ").concat(e));return s.json()}function a(){return s("/api/projects")}function i(e){return s("/api/overview",e)}function c(e){return s("/api/token-ledger",e)}function l(e){return s("/api/compression",e)}function o(e){return s("/api/file-index",e)}function r(e){return s("/api/scheduler",e)}function d(e){return s("/api/learning-memory",e)}function h(e){return s("/api/action-log",e)}function u(e){return s("/api/bugs",e)}function m(e){return s("/api/design",e)}async function p(e){return(await fetch("/api/switch-project",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({projectId:e})})).json()}async function v(e,n){let t=n?"?project=".concat(encodeURIComponent(n)):"";return(await fetch("/api/tasks/".concat(encodeURIComponent(e),"/run").concat(t),{method:"POST"})).json()}async function f(e,n){let t=n?"?project=".concat(encodeURIComponent(n)):"";return(await fetch("/api/dead-letter/".concat(encodeURIComponent(e),"/retry").concat(t),{method:"POST"})).json()}async function g(e){let n=e?"?project=".concat(encodeURIComponent(e)):"";return(await fetch("/api/rescan".concat(n),{method:"POST"})).json()}async function j(){return(await fetch("/api/daemon/start",{method:"POST"})).json()}async function x(){return(await fetch("/api/daemon/stop",{method:"POST"})).json()}async function y(){return(await fetch("/api/daemon/restart",{method:"POST"})).json()}function b(){return s("/api/config")}async function w(e,n){return(await fetch("/api/config/set",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({key:e,value:n})})).json()}async function k(e,n){return(await fetch("/api/config/reset",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({key:e,all:n})})).json()}function M(){return s("/api/sync")}async function N(){return(await fetch("/api/sync/pull",{method:"POST"})).json()}async function S(){return(await fetch("/api/sync/push",{method:"POST"})).json()}async function z(){return(await fetch("/api/sync/disconnect",{method:"POST"})).json()}function P(){return s("/api/channel")}async function I(){return(await fetch("/api/channel/start",{method:"POST"})).json()}async function C(){return(await fetch("/api/channel/stop",{method:"POST"})).json()}async function L(){return(await fetch("/api/channel/restart",{method:"POST"})).json()}function O(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=new URLSearchParams;null!=e.limit&&n.set("limit",String(e.limit)),e.category&&n.set("category",e.category);let t=n.toString();return s("/api/wiki".concat(t?"?".concat(t):""))}function T(e){return s("/api/wiki/note?path=".concat(encodeURIComponent(e)))}function D(e){let n={"Content-Type":"application/json"};return e&&(n["X-Mink-Dedup-Key"]=e),n}async function F(e){return(await fetch("/api/wiki/notes",{method:"POST",headers:D(e.dedupKey),body:JSON.stringify({mode:e.mode,title:e.title,category:e.category,body:e.body,tags:e.tags})})).json()}async function H(e,n){return(await fetch("/api/wiki/daily",{method:"POST",headers:D(n),body:JSON.stringify({content:e})})).json()}async function V(e){return(await fetch("/api/wiki/ingest",{method:"POST",headers:D(e.dedupKey),body:JSON.stringify({sourcePath:e.sourcePath,category:e.category,tags:e.tags})})).json()}t.d(n,{$Z:()=>L,Aq:()=>z,Bf:()=>l,D:()=>O,Dz:()=>b,EP:()=>i,FW:()=>k,G1:()=>P,Gs:()=>M,Iw:()=>H,MP:()=>u,On:()=>I,P:()=>v,Vo:()=>c,WH:()=>C,Z4:()=>f,ZN:()=>T,ab:()=>y,co:()=>d,e2:()=>r,fX:()=>j,hD:()=>g,hY:()=>m,jm:()=>N,kH:()=>S,p4:()=>F,pu:()=>h,tf:()=>V,vj:()=>a,vo:()=>x,xl:()=>o,yJ:()=>w,yP:()=>p})},2800:(e,n,t)=>{"use strict";t.d(n,{SSEProvider:()=>a});var s=t(2301);function a(){return(0,s.h)(),null}},3928:(e,n,t)=>{"use strict";t.d(n,{f:()=>s});let s=(0,t(5959).v)(e=>({connected:!1,projects:[],activeProjectId:null,overview:null,ledger:null,compression:null,fileIndex:null,tasks:[],taskDefinitions:[],deadLetters:[],health:null,learningMemory:null,actionLog:[],bugs:[],wasteFlags:[],designImages:[],config:null,sync:null,channel:null,wiki:null,wikiNote:null,setConnected:n=>e({connected:n}),setProjects:(n,t)=>e({projects:n,activeProjectId:t}),setActiveProject:n=>e({activeProjectId:n,overview:null,ledger:null,compression:null,fileIndex:null,tasks:[],taskDefinitions:[],deadLetters:[],health:null,learningMemory:null,actionLog:[],bugs:[],wasteFlags:[],designImages:[]}),setOverview:n=>e({overview:n}),setLedger:n=>{var t;return e({ledger:n,wasteFlags:null!=(t=n.wasteFlags)?t:[]})},setCompression:n=>e({compression:n}),setFileIndex:n=>e({fileIndex:n}),setScheduler:(n,t,s)=>e({tasks:n,taskDefinitions:t,deadLetters:s}),setHealth:n=>e({health:n}),setLearningMemory:n=>e({learningMemory:n}),setActionLog:n=>e({actionLog:n}),setBugs:n=>e({bugs:n}),setWasteFlags:n=>e({wasteFlags:n}),setDesignImages:n=>e({designImages:n}),setConfig:n=>e({config:n}),setSync:n=>e({sync:n}),setChannel:n=>e({channel:n}),setWiki:n=>e({wiki:n}),setWikiNote:n=>e({wikiNote:n})}))},4658:(e,n,t)=>{Promise.resolve().then(t.t.bind(t,1290,23)),Promise.resolve().then(t.bind(t,7758)),Promise.resolve().then(t.bind(t,2800)),Promise.resolve().then(t.bind(t,5379)),Promise.resolve().then(t.t.bind(t,369,23)),Promise.resolve().then(t.t.bind(t,7770,23))},6845:(e,n,t)=>{"use strict";t.d(n,{t:()=>i});var s=t(5155),a=t(1044);function i(e){let{icon:n,variant:t,size:i,className:c="",children:l,...o}=e,r=["btn"];return t&&r.push(t),i&&r.push(i),c&&r.push(c),(0,s.jsxs)("button",{className:r.join(" "),...o,children:[n&&(0,s.jsx)(a.I,{name:n}),l]})}},7758:(e,n,t)=>{"use strict";t.d(n,{AppShell:()=>C});var s=t(5155),a=t(2115),i=t(63),c=t(5379),l=t(2619),o=t.n(l),r=t(1044),d=t(3928),h=t(2327),u=t(2301),m=t(6845);function p(e){let{onClose:n}=e,t=(0,d.f)(e=>e.projects),a=(0,d.f)(e=>e.activeProjectId),i=(0,d.f)(e=>e.setActiveProject);async function c(e){if(e===a)return void n();i(e),await (0,h.yP)(e),(0,u.g)(),n()}return(0,s.jsxs)("div",{role:"menu",onMouseLeave:n,style:{position:"fixed",top:92,left:12,width:320,zIndex:80,background:"var(--bg-1)",border:"1px solid var(--line-1)",borderRadius:10,boxShadow:"var(--shadow-pop)",overflow:"hidden"},children:[(0,s.jsxs)("div",{style:{padding:"8px 12px",borderBottom:"1px solid var(--line-1)",fontSize:10.5,textTransform:"uppercase",letterSpacing:"0.08em",color:"var(--fg-3)",fontWeight:600},children:["Projects \xb7 ",t.length]}),t.map(e=>(0,s.jsxs)("div",{role:"menuitem",onClick:()=>c(e.id),className:"row",style:{padding:"8px 12px",cursor:"pointer",background:a===e.id?"var(--bg-2)":void 0,borderBottom:"1px solid var(--line-1)"},children:[(0,s.jsx)(r.I,{name:"folder",size:12}),(0,s.jsxs)("div",{style:{flex:1,minWidth:0,marginLeft:8},children:[(0,s.jsx)("div",{style:{color:"var(--fg-0)",fontSize:12},children:e.name}),(0,s.jsx)("div",{className:"mono muted",style:{fontSize:10},children:function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:36;return e.length<=n?e:"..."+e.slice(e.length-n+3)}(e.cwd)})]}),a===e.id&&(0,s.jsx)("span",{className:"dot",style:{width:6,height:6,borderRadius:3,background:"var(--accent)"}})]},e.id)),0===t.length&&(0,s.jsx)("div",{className:"empty",style:{padding:16},children:(0,s.jsx)("div",{children:"No projects registered"})}),(0,s.jsx)("div",{style:{padding:8,background:"var(--bg-2)"},children:(0,s.jsx)(m.t,{size:"sm",icon:"plus",variant:"ghost",disabled:!0,title:"Preview — run `mink init` in a repo",children:"Add project"})})]})}let v=[{group:"Overview",items:[{id:"overview",href:"/overview",label:"Overview",icon:"activity",showDot:!0},{id:"activity",href:"/activity",label:"Activity log",icon:"pulse"},{id:"tokens",href:"/tokens",label:"Token ledger",icon:"chart"},{id:"compression",href:"/compression",label:"Compression",icon:"chart"},{id:"waste",href:"/waste",label:"Waste detect",icon:"alert",countKey:"waste"}]},{group:"Knowledge",items:[{id:"files",href:"/file-index",label:"File index",icon:"file"},{id:"memory",href:"/learning",label:"Learning",icon:"brain"},{id:"bugs",href:"/bugs",label:"Bug memory",icon:"bug",countKey:"bugs"}]},{group:"Notes & Wiki",items:[{id:"wiki",href:"/wiki",label:"Vault",icon:"book"},{id:"capture",href:"/capture",label:"Capture",icon:"plus",countKey:"capture"}]},{group:"Operations",items:[{id:"scheduler",href:"/scheduler",label:"Scheduler",icon:"clock",countKey:"scheduler"},{id:"discord",href:"/discord",label:"Discord",icon:"discord"},{id:"sync",href:"/sync",label:"Sync",icon:"git"}]},{group:"System",items:[{id:"daemon",href:"/daemon",label:"Daemon",icon:"power"},{id:"config",href:"/config",label:"Configuration",icon:"settings"}]}];function f(){let e=(0,i.usePathname)(),[n,t]=(0,a.useState)(!1),c=(0,d.f)(e=>e.activeProjectId),l=(0,d.f)(e=>e.projects),h=(0,d.f)(e=>{var n,t;return null==(t=e.overview)||null==(n=t.project)?void 0:n.name}),u=(0,d.f)(e=>e.wasteFlags.length),m=(0,d.f)(e=>e.bugs.filter(e=>{var n;return!(null==(n=e.fixDescription)?void 0:n.trim())}).length),f=(0,d.f)(e=>e.deadLetters.length),g=(0,d.f)(e=>{var n,t,s;return null!=(s=null==(t=e.overview)||null==(n=t.daemon)?void 0:n.running)&&s}),j={capture:0,waste:u,bugs:m,scheduler:f},x=l.find(e=>e.id===c),y=(null==x?void 0:x.name)||h||"Mink",b=(null==x?void 0:x.id)||(null==x?void 0:x.cwd)||"";return(0,s.jsxs)("aside",{className:"sidebar",children:[(0,s.jsxs)("div",{className:"sb-head",children:[(0,s.jsx)("div",{className:"sb-logo",children:"M"}),(0,s.jsx)("div",{className:"sb-title",children:"Mink"}),(0,s.jsx)("div",{className:"sb-sub",children:"v1"})]}),(0,s.jsxs)("div",{className:"sb-project",onClick:()=>t(e=>!e),children:[(0,s.jsx)(r.I,{name:"folder",size:13}),(0,s.jsxs)("div",{style:{minWidth:0,flex:1},children:[(0,s.jsx)("div",{className:"pname",children:y}),(0,s.jsx)("div",{className:"pslug",children:b})]}),(0,s.jsx)(r.I,{name:"chevDown",size:12,className:"pchev"})]}),v.map(n=>(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"sb-group",children:n.group}),n.items.map(n=>{let t=e===n.href||"/overview"===n.href&&"/"===e,a=n.countKey?j[n.countKey]:0;return(0,s.jsxs)(o(),{href:n.href,"aria-current":t?"page":void 0,className:"sb-item ".concat(t?"active":"").trim(),children:[(0,s.jsx)(r.I,{name:n.icon,size:13}),(0,s.jsx)("span",{children:n.label}),n.showDot&&g&&(0,s.jsx)("span",{className:"dot"}),a>0&&(0,s.jsx)("span",{className:"count",children:a})]},n.id)})]},n.group)),(0,s.jsx)("div",{style:{height:20}}),n&&(0,s.jsx)(p,{onClose:()=>t(!1)})]})}var g=t(5959),j=t(9863);let x=(0,g.v)()((0,j.Zr)(e=>({accent:"green",density:"compact",liveFeel:!0,tweaksOpen:!1,setAccent:n=>e({accent:n}),setDensity:n=>e({density:n}),setLiveFeel:n=>e({liveFeel:n}),setTweaksOpen:n=>e({tweaksOpen:n})}),{name:"mink-preferences",storage:(0,j.KU)(()=>localStorage),partialize:e=>({accent:e.accent,density:e.density,liveFeel:e.liveFeel})}));function y(){var e;let n=(0,i.usePathname)(),t=(0,d.f)(e=>{var n,t,s;return null!=(s=null==(t=e.overview)||null==(n=t.daemon)?void 0:n.running)&&s}),a=x(e=>e.setTweaksOpen),c=(0,d.f)(e=>e.projects.find(n=>n.id===e.activeProjectId)),l=null!=(e=null==c?void 0:c.name)?e:"Mink",o=function(e){for(let n of v)for(let t of n.items)if(t.href===e||"/overview"===t.href&&"/"===e)return{group:n.group,label:t.label};return{group:"Overview",label:"Overview"}}(n||"/");return(0,s.jsxs)("header",{className:"topbar",children:[(0,s.jsxs)("div",{className:"tb-section",children:[(0,s.jsx)("span",{className:"muted",children:l}),(0,s.jsx)("span",{className:"sep",children:"/"}),(0,s.jsx)("span",{className:"muted",children:o.group}),(0,s.jsx)("span",{className:"sep",children:"/"}),(0,s.jsx)("span",{className:"crumb",children:o.label})]}),(0,s.jsx)("div",{className:"tb-spacer"}),(0,s.jsxs)("div",{className:"cmdk",title:"Command palette (coming soon)",children:[(0,s.jsx)(r.I,{name:"search",size:12}),(0,s.jsx)("span",{children:"Search files, notes, bugs…"}),(0,s.jsx)("kbd",{children:"⌘K"})]}),(0,s.jsxs)("span",{className:"daemon-pill",title:"Daemon ".concat(t?"online":"offline"),children:[(0,s.jsx)("span",{className:"pulse"}),(0,s.jsx)("span",{className:"mono",style:{fontSize:10.5},children:t?"daemon \xb7 online":"daemon \xb7 offline"})]}),(0,s.jsx)("button",{type:"button",className:"tb-icon-btn",title:"Refresh data",onClick:()=>location.reload(),children:(0,s.jsx)(r.I,{name:"refresh",size:13})}),(0,s.jsx)("button",{type:"button",className:"tb-icon-btn",title:"Tweaks",onClick:()=>a(!0),children:(0,s.jsx)(r.I,{name:"wand",size:13})}),(0,s.jsx)("button",{type:"button",className:"tb-icon-btn",title:"More","aria-label":"More",children:(0,s.jsx)(r.I,{name:"dots",size:14})})]})}function b(){var e,n,t,a;let i=(0,d.f)(e=>e.overview),c=(0,d.f)(e=>e.connected),l=(0,d.f)(e=>e.deadLetters.length),o=(0,d.f)(e=>e.tasks.length),r=null!=(t=null==i||null==(e=i.daemon)?void 0:e.running)&&t,h=null==i||null==(n=i.daemon)?void 0:n.pid,u=null==i?void 0:i.summary;return(0,s.jsxs)("footer",{className:"statusbar",children:[(0,s.jsxs)("span",{className:"sb-stat daemon-stat",children:[(0,s.jsx)("span",{className:"dot-mini"}),(0,s.jsx)("span",{className:"k",children:"daemon"}),(0,s.jsx)("span",{className:"v",children:r?h?"online \xb7 pid ".concat(h):"online":"offline"})]}),r&&(0,s.jsxs)(s.Fragment,{children:[u&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("span",{className:"sb-stat",children:[(0,s.jsx)("span",{className:"k",children:"sessions"}),(0,s.jsx)("span",{className:"v",children:u.totalSessions})]}),(0,s.jsxs)("span",{className:"sb-stat",children:[(0,s.jsx)("span",{className:"k",children:"reads"}),(0,s.jsx)("span",{className:"v",children:u.totalReads})]}),(0,s.jsxs)("span",{className:"sb-stat",children:[(0,s.jsx)("span",{className:"k",children:"writes"}),(0,s.jsx)("span",{className:"v",children:u.totalWrites})]}),(0,s.jsxs)("span",{className:"sb-stat",children:[(0,s.jsx)("span",{className:"k",children:"saved"}),(0,s.jsx)("span",{className:"v",children:(a=u.estimatedSavings)?a<1e3?String(a):"".concat((a/1e3).toFixed(1),"k"):"0"})]})]}),(0,s.jsx)("span",{style:{flex:1}}),(0,s.jsxs)("span",{className:"sb-stat",children:[(0,s.jsx)("span",{className:"k",children:"cron"}),(0,s.jsxs)("span",{className:"v",children:[o," tasks",l>0?" \xb7 ".concat(l," DLQ"):""]})]}),(0,s.jsxs)("span",{className:"sb-stat",children:[(0,s.jsx)("span",{className:"k",children:"sse"}),(0,s.jsx)("span",{className:"v",children:c?"connected":"reconnecting"})]})]}),!r&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{style:{flex:1}}),(0,s.jsxs)("span",{className:"sb-stat",children:[(0,s.jsx)("span",{className:"k",children:"run"}),(0,s.jsx)("span",{className:"v",children:"mink daemon start"})]})]})]})}let w={Read:{type:"read",verb:"Read"},Create:{type:"write",verb:"Create"},Edit:{type:"write",verb:"Edit"},"Session start":{type:"session",verb:"Session started"},"Session end":{type:"session",verb:"Session ended"}};function k(){let e=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:60,n=(0,d.f)(e=>e.actionLog),t=x(e=>e.liveFeel),[s,i]=(0,a.useState)(0);return(0,a.useEffect)(()=>{if(!t)return;let e=setInterval(()=>i(e=>e+1),4e3);return()=>clearInterval(e)},[t]),n.slice().reverse().slice(0,e).map((e,n)=>(function(e,n){var t,s,a;let i=null!=(s=w[e.action])?s:{type:"other",verb:e.action},c=null!=(a=null==(t=e.outcome)?void 0:t.toLowerCase())?a:"",l=c.includes("hit")||c.includes("saved")?"hit":c.includes("miss")||c.includes("blocked")?"warn":i.flavor;return{t:e.time,type:i.type,msg:i.verb,tgt:e.files||"—",meta:e.tokens&&"—"!==e.tokens?"".concat(e.tokens," tok"):e.outcome,flavor:l,id:"al-".concat(n,"-").concat(e.time,"-").concat(e.files)}})(e,n))}(24);return(0,s.jsxs)("aside",{className:"rail",children:[(0,s.jsxs)("div",{className:"rail-head",children:[(0,s.jsx)(r.I,{name:"activity",size:13}),(0,s.jsx)("h4",{children:"Live activity"}),(0,s.jsxs)("span",{className:"live",children:[(0,s.jsx)("span",{className:"d"})," streaming"]})]}),(0,s.jsxs)("div",{children:[0===e.length&&(0,s.jsxs)("div",{className:"empty",children:[(0,s.jsx)("h4",{children:"Waiting for events"}),(0,s.jsx)("span",{children:"activity will stream here as the daemon reports hook events."})]}),e.map((e,n)=>(0,s.jsxs)("div",{className:"evt ".concat(n<2?"fresh":"").trim(),children:[(0,s.jsx)("span",{className:"t",children:e.t}),(0,s.jsxs)("span",{className:"c",children:[(0,s.jsx)("b",{children:e.msg})," ",(0,s.jsx)("code",{children:e.tgt}),e.meta&&(0,s.jsx)("div",{className:"hit"===e.flavor?"hit":"muted",style:{marginTop:2,fontSize:10.5,fontFamily:"var(--font-mono), monospace"},children:e.meta})]})]},e.id))]})]})}let M=[["green","oklch(0.76 0.14 155)"],["amber","oklch(0.80 0.15 75)"],["blue","oklch(0.72 0.14 245)"],["violet","oklch(0.72 0.14 295)"]],N=[["compact","S"],["comfortable","M"],["spacious","L"]];function S(){var e;let n=x(e=>e.tweaksOpen),t=x(e=>e.setTweaksOpen),{theme:a,setTheme:i,resolvedTheme:l}=(0,c.D)(),o=null!=(e="system"===a?l:a)?e:"dark",r=x(e=>e.accent),d=x(e=>e.setAccent),h=x(e=>e.density),u=x(e=>e.setDensity),m=x(e=>e.liveFeel),p=x(e=>e.setLiveFeel);return n?(0,s.jsxs)("div",{className:"tweaks",role:"dialog","aria-label":"Tweaks",children:[(0,s.jsxs)("div",{className:"row",style:{marginBottom:6},children:[(0,s.jsx)("h4",{style:{margin:0},children:"Tweaks"}),(0,s.jsx)("button",{type:"button",className:"tb-icon-btn",style:{marginLeft:"auto"},onClick:()=>t(!1),"aria-label":"Close tweaks",children:(0,s.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",children:(0,s.jsx)("path",{d:"M6 6l12 12M6 18L18 6"})})})]}),(0,s.jsxs)("div",{className:"tw-row",children:[(0,s.jsx)("span",{className:"label",children:"Theme"}),(0,s.jsx)("div",{className:"seg",children:["light","dark"].map(e=>(0,s.jsx)("button",{type:"button",className:o===e?"on":"",onClick:()=>i(e),children:e},e))})]}),(0,s.jsxs)("div",{className:"tw-row",children:[(0,s.jsx)("span",{className:"label",children:"Accent"}),(0,s.jsx)("div",{className:"swatches",children:M.map(e=>{let[n,t]=e;return(0,s.jsx)("button",{type:"button",className:"sw ".concat(r===n?"on":"").trim(),style:{background:t},title:n,"aria-label":"Accent ".concat(n),onClick:()=>d(n)},n)})})]}),(0,s.jsxs)("div",{className:"tw-row",children:[(0,s.jsx)("span",{className:"label",children:"Density"}),(0,s.jsx)("div",{className:"seg",children:N.map(e=>{let[n,t]=e;return(0,s.jsx)("button",{type:"button",className:h===n?"on":"",onClick:()=>u(n),children:t},n)})})]}),(0,s.jsxs)("div",{className:"tw-row",children:[(0,s.jsx)("span",{className:"label",children:"Live indicators"}),(0,s.jsx)("button",{type:"button",role:"switch","aria-checked":m,className:"toggle ".concat(m?"on":"").trim(),onClick:()=>p(!m)})]})]}):null}let z=[{done:!0,t:"Install mink",d:"bun add -g @drewpayment/mink"},{done:!0,t:"Initialize project",d:"mink init in your repo — registers Claude Code hooks"},{done:!1,t:"Start the daemon",d:"Runs scheduled tasks and streams live events to this UI"},{done:!1,t:"Optional — set up sync",d:"Git-backed sync of ~/.mink across machines"},{done:!1,t:"Optional — Discord bot",d:"DM your bot to capture, search, summarize from anywhere"}];function P(){let[e,n]=(0,a.useState)(!1);function t(){var e;null==(e=navigator.clipboard)||e.writeText("mink daemon start").then(()=>{n(!0),setTimeout(()=>n(!1),1600)})}return(0,s.jsx)("div",{className:"onboard",children:(0,s.jsxs)("div",{className:"onboard-card",children:[(0,s.jsxs)("div",{className:"row",style:{marginBottom:12},children:[(0,s.jsx)("div",{className:"sb-logo",style:{width:28,height:28,fontSize:14},children:"M"}),(0,s.jsxs)("div",{style:{marginLeft:10},children:[(0,s.jsx)("div",{style:{fontSize:13,fontWeight:600,color:"var(--fg-0)"},children:"Mink"}),(0,s.jsx)("div",{className:"muted",style:{fontSize:11},children:"command center"})]}),(0,s.jsx)("span",{style:{marginLeft:"auto"},className:"chip",children:"daemon \xb7 offline"})]}),(0,s.jsx)("h2",{children:"Welcome back"}),(0,s.jsx)("p",{className:"sub",children:"The daemon isn't running. Start it to unlock the full command center — live sessions, scheduler, activity feed, and sync."}),(0,s.jsxs)("button",{type:"button",className:"cmd",onClick:t,title:"Click to copy",style:{textAlign:"left",width:"100%"},children:[(0,s.jsx)("span",{className:"prompt",children:"$"}),(0,s.jsx)("span",{children:"mink daemon start"}),(0,s.jsx)("span",{className:"copy",children:e?"copied!":"click to copy"})]}),(0,s.jsxs)("div",{className:"row tight",style:{marginBottom:14},children:[(0,s.jsx)(m.t,{variant:"primary",icon:"play",onClick:t,children:"Copy start command"}),(0,s.jsx)(m.t,{variant:"ghost",icon:"book",onClick:()=>window.open("https://github.com/drewpayment/mink","_blank"),children:"Read docs"})]}),(0,s.jsx)("div",{children:z.map((e,n)=>(0,s.jsxs)("div",{className:"onboard-step ".concat(e.done?"done":"").trim(),children:[(0,s.jsx)("div",{className:"n",children:e.done?(0,s.jsx)(r.I,{name:"check",size:11}):n+1}),(0,s.jsxs)("div",{className:"body",children:[(0,s.jsx)("div",{className:"t",children:e.t}),(0,s.jsx)("div",{className:"d",children:e.d})]})]},n))})]})})}let I=new Set(["/","/overview","/activity","/tokens","/waste","/scheduler","/daemon"]);function C(e){let{children:n}=e,t=(0,i.usePathname)(),{resolvedTheme:l}=(0,c.D)(),o=x(e=>e.accent),r=x(e=>e.density),h=x(e=>e.liveFeel),u=(0,d.f)(e=>{var n,t,s;return null!=(s=null==(t=e.overview)||null==(n=t.daemon)?void 0:n.running)&&s}),m=(0,d.f)(e=>null!=e.overview);(0,a.useEffect)(()=>{let e=document.body;e.dataset.theme="light"===l?"light":"dark",e.dataset.accent=o,e.dataset.density=r,e.dataset.live=h?"on":"off",e.dataset.daemon=u?"online":"offline"},[l,o,r,h,u]);let p=u&&I.has(null!=t?t:"/"),v=!u&&m&&("/"===t||"/overview"===t);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{id:"app-root",children:(0,s.jsxs)("div",{className:"shell ".concat(p?"with-rail":"").trim(),children:[(0,s.jsx)(f,{}),(0,s.jsx)(y,{}),(0,s.jsx)("main",{className:"main",children:v?(0,s.jsx)(P,{}):n}),p&&(0,s.jsx)(k,{}),(0,s.jsx)(b,{})]})}),(0,s.jsx)(S,{})]})}}},e=>{e.O(0,[718,157,447,441,255,358],()=>e(e.s=4658)),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ /*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial}}}@layer theme{:host,:root{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-500:oklch(63.7% .237 25.331);--color-yellow-500:oklch(79.5% .184 86.047);--color-green-500:oklch(72.3% .219 149.579);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-lg:32rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1) infinite;--aspect-video:16/9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,::backdrop,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}:host,html{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.\@container\/card-header{container:card-header/inline-size}.pointer-events-none{pointer-events:none}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden}.absolute,.sr-only{position:absolute}.fixed{position:fixed}.relative{position:relative}.inset-0{inset:calc(var(--spacing) * 0)}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.top-4{top:calc(var(--spacing) * 4)}.top-\[50\%\]{top:50%}.right-2{right:calc(var(--spacing) * 2)}.right-4{right:calc(var(--spacing) * 4)}.left-\[50\%\]{left:50%}.z-50{z-index:50}.col-start-2{grid-column-start:2}.row-span-2{grid-row:span 2/span 2}.row-start-1{grid-row-start:1}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.my-1{margin-block:calc(var(--spacing) * 1)}.mt-1{margin-top:calc(var(--spacing) * 1)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.ml-1{margin-left:calc(var(--spacing) * 1)}.ml-2{margin-left:calc(var(--spacing) * 2)}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-row{display:table-row}.aspect-video{aspect-ratio:var(--aspect-video)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-10{width:calc(var(--spacing) * 10);height:calc(var(--spacing) * 10)}.size-full{width:100%;height:100%}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-32{height:calc(var(--spacing) * 32)}.h-48{height:calc(var(--spacing) * 48)}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-full{height:100%}.h-px{height:1px}.max-h-\(--radix-select-content-available-height\){max-height:var(--radix-select-content-available-height)}.w-0{width:calc(var(--spacing) * 0)}.w-1{width:calc(var(--spacing) * 1)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-4{width:calc(var(--spacing) * 4)}.w-8{width:calc(var(--spacing) * 8)}.w-48{width:calc(var(--spacing) * 48)}.w-fit{width:fit-content}.w-full{width:100%}.max-w-4xl{max-width:var(--container-4xl)}.max-w-\[calc\(100\%-2rem\)\]{max-width:calc(100% - 2rem)}.min-w-0{min-width:calc(var(--spacing) * 0)}.min-w-\[8rem\]{min-width:8rem}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.caption-bottom{caption-side:bottom}.origin-\(--radix-select-content-transform-origin\){transform-origin:var(--radix-select-content-transform-origin)}.translate-x-\[-50\%\]{--tw-translate-x:-50%}.translate-x-\[-50\%\],.translate-y-0\.5{translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-0\.5{--tw-translate-y:calc(var(--spacing) * .5)}.translate-y-\[-50\%\]{--tw-translate-y:-50%;translate:var(--tw-translate-x) var(--tw-translate-y)}.animate-pulse{animation:var(--animate-pulse)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.scroll-my-1{scroll-margin-block:calc(var(--spacing) * 1)}.auto-rows-min{grid-auto-rows:min-content}.grid-rows-\[auto_auto\]{grid-template-rows:auto auto}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}.self-start{align-self:flex-start}.justify-self-end{justify-self:flex-end}.truncate{text-overflow:ellipsis;white-space:nowrap}.overflow-hidden,.truncate{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded-\[2px\]{border-radius:2px}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:3.40282e+38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.border{border-style:var(--tw-border-style);border-width:1px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-\(--color-border\){border-color:var(--color-border)}.border-transparent{border-color:#0000}.border-t-transparent{border-top-color:#0000}.border-l-transparent{border-left-color:#0000}.bg-\(--color-bg\){background-color:var(--color-bg)}.bg-black\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.bg-black\/50{background-color:color-mix(in oklab,var(--color-black) 50%,transparent)}}.bg-green-500{background-color:var(--color-green-500)}.bg-red-500{background-color:var(--color-red-500)}.bg-transparent{background-color:#0000}.object-cover{object-fit:cover}.p-1{padding:calc(var(--spacing) * 1)}.p-2{padding:calc(var(--spacing) * 2)}.p-6{padding:calc(var(--spacing) * 6)}.p-px{padding:1px}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-6{padding-inline:calc(var(--spacing) * 6)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-8{padding-block:calc(var(--spacing) * 8)}.pt-0{padding-top:calc(var(--spacing) * 0)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pr-8{padding-right:calc(var(--spacing) * 8)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pl-2{padding-left:calc(var(--spacing) * 2)}.text-center{text-align:center}.text-left{text-align:left}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[10px\]{font-size:10px}.leading-none{--tw-leading:1;line-height:1}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.text-white{color:var(--color-white)}.text-yellow-500{color:var(--color-yellow-500)}.uppercase{text-transform:uppercase}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline-offset-4{text-underline-offset:4px}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a)}.shadow-lg,.shadow-md{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a)}.shadow-sm,.shadow-xl{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a),0 8px 10px -6px var(--tw-shadow-color,#0000001a)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition-\[color\,box-shadow\]{transition-property:color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.file\:inline-flex::file-selector-button{display:inline-flex}.file\:h-7::file-selector-button{height:calc(var(--spacing) * 7)}.file\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\:bg-transparent::file-selector-button{background-color:#0000}.file\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}@media (hover:hover){.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-100:hover{opacity:1}.hover\:shadow-lg:hover{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus\:outline-hidden:focus{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.focus\:outline-hidden:focus{outline-offset:2px;outline:2px solid #0000}}.focus-visible\:ring-\[3px\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\:outline-1:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.has-data-\[slot\=card-action\]\:grid-cols-\[1fr_auto\]:has([data-slot=card-action]){grid-template-columns:1fr auto}.has-\[\>svg\]\:px-1\.5:has(>svg){padding-inline:calc(var(--spacing) * 1.5)}.has-\[\>svg\]\:px-2\.5:has(>svg){padding-inline:calc(var(--spacing) * 2.5)}.has-\[\>svg\]\:px-3:has(>svg){padding-inline:calc(var(--spacing) * 3)}.has-\[\>svg\]\:px-4:has(>svg){padding-inline:calc(var(--spacing) * 4)}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[side\=bottom\]\:translate-y-1[data-side=bottom]{--tw-translate-y:calc(var(--spacing) * 1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[side\=left\]\:-translate-x-1[data-side=left]{--tw-translate-x:calc(var(--spacing) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[side\=right\]\:translate-x-1[data-side=right]{--tw-translate-x:calc(var(--spacing) * 1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[side\=top\]\:-translate-y-1[data-side=top]{--tw-translate-y:calc(var(--spacing) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\[size\=default\]\:h-9[data-size=default]{height:calc(var(--spacing) * 9)}.data-\[size\=sm\]\:h-8[data-size=sm]{height:calc(var(--spacing) * 8)}:is(.\*\:data-\[slot\=select-value\]\:line-clamp-1>*)[data-slot=select-value]{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(.\*\:data-\[slot\=select-value\]\:flex>*)[data-slot=select-value]{display:flex}:is(.\*\:data-\[slot\=select-value\]\:items-center>*)[data-slot=select-value]{align-items:center}:is(.\*\:data-\[slot\=select-value\]\:gap-2>*)[data-slot=select-value]{gap:calc(var(--spacing) * 2)}@media (min-width:40rem){.sm\:max-w-lg{max-width:var(--container-lg)}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:text-left{text-align:left}}@media (min-width:48rem){.md\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}@media (min-width:64rem){.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-3 svg:not([class*=size-]){width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.\[\&_svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-4 svg:not([class*=size-]){width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\[\&_tr\]\:border-b tr{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-style:var(--tw-border-style);border-width:0}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:calc(var(--spacing) * 0)}.\[\.border-b\]\:pb-6.border-b{padding-bottom:calc(var(--spacing) * 6)}.\[\.border-t\]\:pt-6.border-t{padding-top:calc(var(--spacing) * 6)}:is(.\*\:\[span\]\:last\:flex>*):is(span):last-child{display:flex}:is(.\*\:\[span\]\:last\:items-center>*):is(span):last-child{align-items:center}:is(.\*\:\[span\]\:last\:gap-2>*):is(span):last-child{gap:calc(var(--spacing) * 2)}.\[\&\>\[role\=checkbox\]\]\:translate-y-\[2px\]>[role=checkbox]{--tw-translate-y:2px;translate:var(--tw-translate-x) var(--tw-translate-y)}.\[\&\>svg\]\:pointer-events-none>svg{pointer-events:none}.\[\&\>svg\]\:size-3>svg{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>tr\]\:last\:border-b-0>tr:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{rotate:180deg}@media (hover:hover){a.\[a\&\]\:hover\:underline:hover{text-decoration-line:underline}}}*,:after,:before{box-sizing:border-box}body,html{height:100%;margin:0;padding:0;overflow:hidden}button{cursor:pointer;background:0 0;border:0;padding:0}button,input,select,textarea{font:inherit;color:inherit}a{color:inherit;text-decoration:none}[data-theme=dark]{--bg-0:oklch(17% .005 250);--bg-1:oklch(20% .005 250);--bg-2:oklch(23.5% .005 250);--bg-3:oklch(27% .006 250);--bg-4:oklch(31% .007 250);--bg-inset:oklch(14.5% .005 250);--line-1:oklch(28% .006 250);--line-2:oklch(34% .008 250);--fg-0:oklch(97% .005 250);--fg-1:oklch(82% .005 250);--fg-2:oklch(64% .008 250);--fg-3:oklch(48% .008 250);--fg-4:oklch(36% .008 250);--red:oklch(70% .15 22);--amber:oklch(78% .15 80);--yellow:oklch(85% .14 95);--blue:oklch(72% .14 245);--violet:oklch(72% .14 295);--shadow-card:0 1px 0 0 oklch(100% 0 0/.02) inset,0 1px 2px oklch(0% 0 0/.4);--shadow-pop:0 10px 30px oklch(0% 0 0/.5),0 2px 6px oklch(0% 0 0/.3)}[data-theme=light]{--bg-0:oklch(98.5% .002 250);--bg-1:oklch(100% 0 0);--bg-2:oklch(97.5% .003 250);--bg-3:oklch(95.5% .004 250);--bg-4:oklch(93% .005 250);--bg-inset:oklch(96.5% .003 250);--line-1:oklch(91.5% .005 250);--line-2:oklch(86% .006 250);--fg-0:oklch(18% .008 250);--fg-1:oklch(32% .008 250);--fg-2:oklch(48% .008 250);--fg-3:oklch(60% .008 250);--fg-4:oklch(72% .008 250);--red:oklch(55% .18 22);--amber:oklch(65% .18 70);--yellow:oklch(72% .17 90);--blue:oklch(55% .17 245);--violet:oklch(55% .17 295);--shadow-card:0 1px 0 0 oklch(100% 0 0/.5) inset,0 1px 2px oklch(0% 0 0/.05);--shadow-pop:0 12px 32px oklch(0% 0 0/.1),0 2px 6px oklch(0% 0 0/.06)}[data-accent=green]{--accent:oklch(76% .14 155);--accent-fg:oklch(16% .05 155)}[data-accent=amber]{--accent:oklch(80% .15 75);--accent-fg:oklch(16% .05 75)}[data-accent=blue]{--accent:oklch(72% .14 245);--accent-fg:oklch(16% .05 245)}[data-accent=violet]{--accent:oklch(72% .14 295);--accent-fg:oklch(16% .05 295)}[data-theme=light][data-accent=green]{--accent:oklch(62% .15 155);--accent-fg:oklch(99% 0 0)}[data-theme=light][data-accent=amber]{--accent:oklch(68% .17 65);--accent-fg:oklch(99% 0 0)}[data-theme=light][data-accent=blue]{--accent:oklch(58% .17 245);--accent-fg:oklch(99% 0 0)}[data-theme=light][data-accent=violet]{--accent:oklch(56% .18 295);--accent-fg:oklch(99% 0 0)}[data-density=compact]{--row-h:28px;--pad-x:12px;--pad-y:8px;--fs-body:12.5px;--fs-label:10.5px;--fs-h1:18px;--fs-h2:13px;--gap:10px}[data-density=comfortable]{--row-h:34px;--pad-x:16px;--pad-y:12px;--fs-body:13.5px;--fs-label:11.5px;--fs-h1:20px;--fs-h2:14px;--gap:14px}[data-density=spacious]{--row-h:40px;--pad-x:20px;--pad-y:16px;--fs-body:14.5px;--fs-label:12px;--fs-h1:22px;--fs-h2:15px;--gap:18px}body{font-family:var(--font-inter),-apple-system,BlinkMacSystemFont,sans-serif;font-size:var(--fs-body);color:var(--fg-1);background:var(--bg-0);font-feature-settings:"cv11","ss01","ss03";letter-spacing:-.005em;-webkit-font-smoothing:antialiased;line-height:1.45}.mono{font-family:var(--font-mono),ui-monospace,monospace;font-feature-settings:"calt" 1,"zero" 1}#app-root{flex-direction:column;height:100vh;display:flex}.shell{flex:1;grid-template:"sidebar topbar"44px"sidebar main"1fr"sidebar statusbar"26px/220px 1fr;min-height:0;display:grid}.shell.with-rail{grid-template-columns:220px 1fr 320px;grid-template-areas:"sidebar topbar topbar""sidebar main rail""sidebar statusbar statusbar"}@media (max-width:1279px){.shell.with-rail{grid-template-columns:220px 1fr;grid-template-areas:"sidebar topbar""sidebar main""sidebar statusbar"}.shell.with-rail .rail{display:none}}.sidebar{border-right:1px solid var(--line-1);grid-area:sidebar;overflow-y:auto}.sidebar,.topbar{background:var(--bg-1)}.topbar{border-bottom:1px solid var(--line-1);grid-area:topbar;align-items:center;gap:10px;padding:0 12px;display:flex}.main{background:var(--bg-0);grid-area:main;min-width:0;overflow:auto}.rail{background:var(--bg-1);border-left:1px solid var(--line-1);grid-area:rail;overflow-y:auto}.statusbar{background:var(--bg-1);border-top:1px solid var(--line-1);font-family:var(--font-mono),monospace;color:var(--fg-3);grid-area:statusbar;gap:14px;padding:0 12px;font-size:10.5px}.sb-head,.statusbar{align-items:center;display:flex}.sb-head{gap:8px;padding:10px 12px 8px}.sb-logo{background:var(--fg-0);width:22px;height:22px;color:var(--bg-0);letter-spacing:-.04em;border-radius:6px;place-items:center;font-size:12px;font-weight:700;display:grid}.sb-title{color:var(--fg-0);letter-spacing:-.01em;font-size:13px;font-weight:600}.sb-sub{color:var(--fg-3);font-size:10.5px;font-family:var(--font-mono),monospace;margin-left:auto}.sb-project{border:1px solid var(--line-1);background:var(--bg-2);cursor:pointer;border-radius:8px;align-items:center;gap:8px;margin:4px 8px 8px;padding:8px 10px;display:flex}.sb-project:hover{background:var(--bg-3)}.sb-project .pname{color:var(--fg-0);font-size:12px;font-weight:500}.sb-project .pslug{font-family:var(--font-mono),monospace;color:var(--fg-3);font-size:10px}.sb-project .pchev{color:var(--fg-3);margin-left:auto}.sb-group{letter-spacing:.08em;text-transform:uppercase;color:var(--fg-3);padding:10px 14px 4px;font-size:10px;font-weight:600}.sb-item{height:26px;color:var(--fg-1);cursor:pointer;border-radius:6px;align-items:center;gap:9px;margin:0 6px;padding:0 10px;font-size:12.5px;display:flex;position:relative}.sb-item:hover{background:var(--bg-2);color:var(--fg-0)}.sb-item.active{background:var(--bg-3);color:var(--fg-0);font-weight:500}.sb-item .icn{width:14px;height:14px;color:var(--fg-3);flex-shrink:0}.sb-item.active .icn{color:var(--accent)}.sb-item .count{font-size:10px;font-family:var(--font-mono),monospace;color:var(--fg-3);background:var(--bg-2);border-radius:4px;margin-left:auto;padding:1px 5px}.sb-item.active .count{background:var(--bg-4);color:var(--fg-1)}.sb-item .dot{background:var(--accent);border-radius:50%;width:5px;height:5px;margin-left:auto}.tb-section{color:var(--fg-2);align-items:center;gap:8px;font-size:12px;display:flex}.tb-section .crumb{color:var(--fg-0);font-weight:500}.tb-section .sep{color:var(--fg-4)}.tb-spacer{flex:1}.cmdk{border:1px solid var(--line-1);background:var(--bg-2);height:28px;color:var(--fg-3);border-radius:7px;align-items:center;gap:8px;min-width:280px;padding:0 10px;font-size:11.5px;display:flex}.cmdk kbd{font-family:var(--font-mono),monospace;border:1px solid var(--line-2);background:var(--bg-1);color:var(--fg-2);border-radius:4px;margin-left:auto;padding:1px 5px;font-size:10px}.daemon-pill{border:1px solid var(--line-1);background:var(--bg-2);height:24px;color:var(--fg-1);border-radius:999px;align-items:center;gap:7px;padding:0 10px 0 8px;font-size:11px;font-weight:500;display:inline-flex}.daemon-pill .pulse{background:var(--accent);width:7px;height:7px;box-shadow:0 0 0 0 var(--accent);border-radius:50%;animation:pulse 2s infinite}[data-live=off] .pulse{animation:none}[data-daemon=offline] .daemon-pill .pulse{background:var(--fg-3);box-shadow:none;animation:none}[data-daemon=offline] .daemon-pill{color:var(--fg-2)}@keyframes pulse{50%{opacity:.5}}.tb-icon-btn{width:26px;height:26px;color:var(--fg-2);border:1px solid #0000;border-radius:6px;place-items:center;display:grid}.tb-icon-btn:hover{background:var(--bg-2);color:var(--fg-0);border-color:var(--line-1)}.sb-stat{align-items:center;gap:6px;display:inline-flex}.sb-stat .k{color:var(--fg-4)}.sb-stat .v{color:var(--fg-1)}.sb-stat .dot-mini{background:var(--accent);border-radius:50%;width:5px;height:5px}[data-daemon=offline] .sb-stat.daemon-stat .dot-mini{background:var(--fg-3)}.page{max-width:1400px;padding:14px 18px 24px}.page-head{border-bottom:1px solid var(--line-1);align-items:flex-end;gap:16px;margin-bottom:14px;padding-bottom:12px;display:flex}.page-title{font-size:var(--fs-h1);color:var(--fg-0);letter-spacing:-.015em;margin:0;font-weight:600}.page-sub{color:var(--fg-3);margin:2px 0 0;font-size:11.5px}.page-actions{gap:6px;margin-left:auto;display:flex}.card{border:1px solid var(--line-1);box-shadow:var(--shadow-card);border-radius:10px;overflow:hidden}.card,.card-head{background:var(--bg-1)}.card-head{border-bottom:1px solid var(--line-1);align-items:center;gap:10px;padding:10px 12px;display:flex}.card-head h3{font-size:var(--fs-h2);color:var(--fg-0);letter-spacing:-.005em;margin:0;font-weight:600}.card-head .sub{color:var(--fg-3);font-size:11px}.card-head .tools{gap:4px;margin-left:auto;display:flex}.card-body{padding:12px}.card-body.flush{padding:0}.grid{gap:var(--gap);display:grid}.g-2{grid-template-columns:1fr 1fr}.g-3{grid-template-columns:1fr 1fr 1fr}.g-4{grid-template-columns:repeat(4,1fr)}.btn{border:1px solid var(--line-1);background:var(--bg-2);height:26px;color:var(--fg-1);border-radius:6px;align-items:center;gap:6px;padding:0 10px;font-size:11.5px;font-weight:500;transition:background .12s;display:inline-flex}.btn:hover{background:var(--bg-3);color:var(--fg-0)}.btn.primary{background:var(--accent);color:var(--accent-fg);border-color:#0000}.btn.primary:hover{filter:brightness(1.05)}.btn.danger{color:var(--red);border-color:var(--red)}@supports (color:color-mix(in lab,red,red)){.btn.danger{border-color:color-mix(in oklch,var(--red) 30%,var(--line-1))}}.btn.ghost{background:0 0}.btn.sm{height:22px;padding:0 8px;font-size:11px}.btn .icn{width:12px;height:12px}.chip{border:1px solid var(--line-1);background:var(--bg-2);height:20px;color:var(--fg-2);font-size:10.5px;font-family:var(--font-mono),monospace;border-radius:4px;align-items:center;gap:5px;padding:0 7px;display:inline-flex}.chip.accent{color:var(--accent);border-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.chip.accent{border-color:color-mix(in oklch,var(--accent) 35%,var(--line-1))}}.chip.accent{background:var(--accent)}@supports (color:color-mix(in lab,red,red)){.chip.accent{background:color-mix(in oklch,var(--accent) 8%,var(--bg-2))}}.chip.red{color:var(--red);border-color:var(--red)}@supports (color:color-mix(in lab,red,red)){.chip.red{border-color:color-mix(in oklch,var(--red) 35%,var(--line-1))}}.chip.red{background:var(--red)}@supports (color:color-mix(in lab,red,red)){.chip.red{background:color-mix(in oklch,var(--red) 8%,var(--bg-2))}}.chip.amber{color:var(--amber);border-color:var(--amber)}@supports (color:color-mix(in lab,red,red)){.chip.amber{border-color:color-mix(in oklch,var(--amber) 35%,var(--line-1))}}.chip.amber{background:var(--amber)}@supports (color:color-mix(in lab,red,red)){.chip.amber{background:color-mix(in oklch,var(--amber) 8%,var(--bg-2))}}.chip.blue{color:var(--blue);border-color:var(--blue)}@supports (color:color-mix(in lab,red,red)){.chip.blue{border-color:color-mix(in oklch,var(--blue) 35%,var(--line-1))}}.chip.blue{background:var(--blue)}@supports (color:color-mix(in lab,red,red)){.chip.blue{background:color-mix(in oklch,var(--blue) 8%,var(--bg-2))}}.chip.violet{color:var(--violet);border-color:var(--violet)}@supports (color:color-mix(in lab,red,red)){.chip.violet{border-color:color-mix(in oklch,var(--violet) 35%,var(--line-1))}}.chip.violet{background:var(--violet)}@supports (color:color-mix(in lab,red,red)){.chip.violet{background:color-mix(in oklch,var(--violet) 8%,var(--bg-2))}}.kpi{border:1px solid var(--line-1);background:var(--bg-1);border-radius:10px;flex-direction:column;gap:3px;min-height:74px;padding:12px;display:flex;position:relative}.kpi .label{color:var(--fg-3);text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-weight:600}.kpi .value{color:var(--fg-0);letter-spacing:-.02em;font-size:22px;font-weight:500}.kpi .delta,.kpi .value{font-family:var(--font-mono),monospace}.kpi .delta{color:var(--fg-3);font-size:10.5px}.kpi .delta.up{color:var(--accent)}.kpi .delta.down{color:var(--red)}.kpi .spark{opacity:.9;position:absolute;bottom:10px;right:10px}.tbl{border-collapse:collapse;width:100%;font-size:12px}.tbl thead th{text-align:left;letter-spacing:.06em;text-transform:uppercase;color:var(--fg-3);background:var(--bg-1);padding:8px 12px;font-size:10px;font-weight:500;position:sticky;top:0}.tbl tbody td,.tbl thead th{border-bottom:1px solid var(--line-1)}.tbl tbody td{color:var(--fg-1);vertical-align:middle;padding:7px 12px}.tbl tbody tr:hover td{background:var(--bg-2)}.tbl tbody tr:last-child td{border-bottom:0}.tbl .muted{color:var(--fg-3)}.tbl .mono{font-size:11px;font-family:var(--font-mono),monospace}.tbl .right{text-align:right}.tbl .num{font-family:var(--font-mono),monospace;font-variant-numeric:tabular-nums}.bar{background:var(--bg-inset);height:5px;overflow:hidden}.bar,.bar>span{border-radius:999px}.bar>span{background:var(--accent);height:100%;display:block}.bar.red>span{background:var(--red)}.bar.amber>span{background:var(--amber)}.rail-head{border-bottom:1px solid var(--line-1);align-items:center;gap:8px;padding:12px 14px 8px;display:flex}.rail-head h4{color:var(--fg-0);margin:0;font-size:12px;font-weight:600}.rail-head .live{color:var(--fg-3);font-size:10px;font-family:var(--font-mono),monospace;align-items:center;gap:5px;margin-left:auto;display:inline-flex}.rail-head .live .d{background:var(--accent);border-radius:50%;width:6px;height:6px;animation:pulse 2s infinite}[data-live=off] .rail-head .live .d{animation:none}.evt{border-bottom:1px solid var(--line-1);gap:10px;padding:8px 14px;font-size:11.5px;display:flex}.evt .t{font-family:var(--font-mono),monospace;color:var(--fg-3);min-width:48px;font-size:10.5px}.evt .c{color:var(--fg-1);flex:1;min-width:0}.evt .c b{color:var(--fg-0);font-weight:500}.evt .c .hit{color:var(--accent)}.evt .c .hit,.evt .c code{font-family:var(--font-mono),monospace}.evt .c code{color:var(--fg-2);background:var(--bg-inset);border-radius:3px;padding:1px 4px;font-size:10.5px}.evt.fresh{animation:fresh 1.2s ease-out}@keyframes fresh{0%{background:color-mix(in oklch,var(--accent) 15%,transparent)}to{background:0 0}}.field{flex-direction:column;gap:4px;display:flex}.field label{color:var(--fg-3);letter-spacing:.02em;text-transform:uppercase;font-size:10.5px;font-weight:500}.field input,.field select,.field textarea{background:var(--bg-inset);border:1px solid var(--line-1);color:var(--fg-0);border-radius:6px;outline:none;padding:7px 9px;font-size:12px}.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--accent)}.field .hint{color:var(--fg-3);font-size:10.5px}.toggle{background:var(--bg-4);cursor:pointer;border-radius:999px;flex-shrink:0;width:28px;height:16px;transition:background .15s;position:relative}.toggle:after{content:"";background:var(--fg-0);border-radius:50%;width:12px;height:12px;transition:left .15s;position:absolute;top:2px;left:2px}.toggle.on{background:var(--accent)}.toggle.on:after{background:var(--accent-fg);left:14px}.inset{background:var(--bg-inset);border:1px solid var(--line-1);font-family:var(--font-mono),monospace;color:var(--fg-1);border-radius:8px;padding:10px 12px;font-size:11.5px}.inset .c{color:var(--fg-3)}.inset .k{color:var(--accent)}.inset .s{color:var(--amber)}.divider{background:var(--line-1);height:1px;margin:10px 0}.row{align-items:center;gap:10px;display:flex}.row.tight{gap:6px}.hstack{align-items:center}.hstack,.vstack{gap:8px;display:flex}.vstack{flex-direction:column}.muted{color:var(--fg-3)}.strong{color:var(--fg-0);font-weight:500}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{background:var(--line-1);border:2px solid var(--bg-0);border-radius:999px}::-webkit-scrollbar-thumb:hover{background:var(--line-2)}.tweaks{z-index:50;background:var(--bg-1);border:1px solid var(--line-1);width:260px;box-shadow:var(--shadow-pop);border-radius:10px;padding:10px 12px;position:fixed;bottom:36px;right:16px}.tweaks h4{color:var(--fg-0);letter-spacing:.02em;text-transform:uppercase;margin:0 0 8px;font-size:11px;font-weight:600}.tw-row{color:var(--fg-1);align-items:center;gap:8px;padding:5px 0;font-size:11.5px;display:flex}.tw-row .label{color:var(--fg-2);flex:1}.seg{border:1px solid var(--line-1);background:var(--bg-2);border-radius:6px;display:inline-flex;overflow:hidden}.seg button{color:var(--fg-2);border-right:1px solid var(--line-1);padding:3px 7px;font-size:10.5px}.seg button:last-child{border-right:0}.seg button.on{background:var(--bg-4);color:var(--fg-0)}.swatches{gap:5px;display:inline-flex}.sw{border:1px solid var(--line-2);cursor:pointer;border-radius:50%;width:16px;height:16px}.sw.on{box-shadow:0 0 0 2px var(--bg-1),0 0 0 3px var(--fg-0)}.onboard{place-items:center;height:100%;padding:24px;display:grid}.onboard-card{background:var(--bg-1);border:1px solid var(--line-1);width:520px;max-width:100%;box-shadow:var(--shadow-pop);border-radius:14px;padding:28px 28px 22px}.onboard-card h2{color:var(--fg-0);letter-spacing:-.02em;margin:0 0 6px;font-size:22px;font-weight:600}.onboard-card .sub{color:var(--fg-2);margin:0 0 18px;font-size:12.5px}.onboard-card .cmd{font-family:var(--font-mono),monospace;background:var(--bg-inset);border:1px solid var(--line-1);color:var(--fg-0);border-radius:8px;align-items:center;gap:10px;margin-bottom:14px;padding:10px 12px;font-size:12px;display:flex}.onboard-card .cmd .prompt{color:var(--fg-3)}.onboard-card .cmd .copy{color:var(--fg-3);margin-left:auto;font-size:10px}.onboard-step{border-top:1px solid var(--line-1);color:var(--fg-1);align-items:flex-start;gap:10px;padding:8px 0;font-size:12px;display:flex}.onboard-step .n{border:1px solid var(--line-2);width:20px;height:20px;color:var(--fg-3);font-size:10.5px;font-family:var(--font-mono),monospace;border-radius:50%;flex-shrink:0;place-items:center;margin-top:2px;display:grid}.onboard-step.done .n{border-color:var(--accent);color:var(--accent)}.onboard-step .body{flex:1;min-width:0}.onboard-step .body .t{color:var(--fg-0);font-weight:500}.onboard-step .body .d{color:var(--fg-3);font-size:11px;font-family:var(--font-mono),monospace}.chart-wrap{position:relative}.chart-legend{color:var(--fg-3);font-size:10.5px;font-family:var(--font-mono),monospace;gap:12px;margin-top:6px;display:flex}.chart-legend i{vertical-align:1px;border-radius:2px;width:8px;height:8px;margin-right:5px;display:inline-block}.tabs{border-bottom:1px solid var(--line-1);gap:2px;margin-bottom:12px;display:flex}.tab{color:var(--fg-3);cursor:pointer;border-bottom:2px solid #0000;margin-bottom:-1px;padding:6px 10px;font-size:11.5px}.tab:hover{color:var(--fg-1)}.tab.on{color:var(--fg-0);border-bottom-color:var(--accent);font-weight:500}.empty{text-align:center;color:var(--fg-3);padding:40px 20px;font-size:12px}.empty h4{color:var(--fg-1);margin:0 0 4px;font-size:13px;font-weight:500}.tree{font-size:12px}.tree-row{cursor:pointer;border-radius:4px;align-items:center;gap:8px;padding:3px 10px;display:flex}.tree-row:hover{background:var(--bg-2)}.tree-row.on{background:var(--bg-3)}.tree-row .chev{width:10px;color:var(--fg-3)}.tree-row .fn{color:var(--fg-1)}.tree-row.dir .fn{color:var(--fg-0);font-weight:500}.tree-row .meta{font-family:var(--font-mono),monospace;color:var(--fg-3);margin-left:auto;font-size:10px}.live-num{transition:color .3s}.live-num.flash{color:var(--accent)}.btn,.sb-item,.tab,.tb-icon-btn,.toggle{-webkit-user-select:none;user-select:none}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/ba9851c3c22cd980-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/21350d82a1f187e9-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/c5fe6dc8356a8c31-s.woff2) format("woff2");unicode-range:u+1f??}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/19cfc7226ec3afaa-s.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/df0a9ae256c0569c-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/8e9860b6e62d6359-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/_next/static/media/e4af272ccee01ff0-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:Inter Fallback;src:local("Arial");ascent-override:90.44%;descent-override:22.52%;line-gap-override:0.00%;size-adjust:107.12%}.__className_f367f3{font-family:Inter,Inter Fallback;font-style:normal}.__variable_f367f3{--font-inter:"Inter","Inter Fallback"}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:100 800;font-display:swap;src:url(/_next/static/media/886030b0b59bc5a7-s.woff2) format("woff2");unicode-range:u+0460-052f,u+1c80-1c8a,u+20b4,u+2de0-2dff,u+a640-a69f,u+fe2e-fe2f}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:100 800;font-display:swap;src:url(/_next/static/media/0aa834ed78bf6d07-s.woff2) format("woff2");unicode-range:u+0301,u+0400-045f,u+0490-0491,u+04b0-04b1,u+2116}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:100 800;font-display:swap;src:url(/_next/static/media/67957d42bae0796d-s.woff2) format("woff2");unicode-range:u+0370-0377,u+037a-037f,u+0384-038a,u+038c,u+038e-03a1,u+03a3-03ff}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:100 800;font-display:swap;src:url(/_next/static/media/f911b923c6adde36-s.woff2) format("woff2");unicode-range:u+0102-0103,u+0110-0111,u+0128-0129,u+0168-0169,u+01a0-01a1,u+01af-01b0,u+0300-0301,u+0303-0304,u+0308-0309,u+0323,u+0329,u+1ea0-1ef9,u+20ab}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:100 800;font-display:swap;src:url(/_next/static/media/939c4f875ee75fbb-s.woff2) format("woff2");unicode-range:u+0100-02ba,u+02bd-02c5,u+02c7-02cc,u+02ce-02d7,u+02dd-02ff,u+0304,u+0308,u+0329,u+1d00-1dbf,u+1e00-1e9f,u+1ef2-1eff,u+2020,u+20a0-20ab,u+20ad-20c0,u+2113,u+2c60-2c7f,u+a720-a7ff}@font-face{font-family:JetBrains Mono;font-style:normal;font-weight:100 800;font-display:swap;src:url(/_next/static/media/bb3ef058b751a6ad-s.p.woff2) format("woff2");unicode-range:u+00??,u+0131,u+0152-0153,u+02bb-02bc,u+02c6,u+02da,u+02dc,u+0304,u+0308,u+0329,u+2000-206f,u+20ac,u+2122,u+2191,u+2193,u+2212,u+2215,u+feff,u+fffd}@font-face{font-family:JetBrains Mono Fallback;src:local("Arial");ascent-override:75.79%;descent-override:22.29%;line-gap-override:0.00%;size-adjust:134.59%}.__className_3c557b{font-family:JetBrains Mono,JetBrains Mono Fallback;font-style:normal}.__variable_3c557b{--font-mono:"JetBrains Mono","JetBrains Mono Fallback"}