trybeacon 0.1.83 → 0.1.85

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 (119) hide show
  1. package/.claude-plugin/plugin.json +1 -1
  2. package/.next/BUILD_ID +1 -1
  3. package/.next/app-path-routes-manifest.json +25 -25
  4. package/.next/build-manifest.json +2 -2
  5. package/.next/prerender-manifest.json +3 -3
  6. package/.next/server/app/@modal/(.)settings/page.js +1 -1
  7. package/.next/server/app/@modal/(.)settings/page.js.nft.json +1 -1
  8. package/.next/server/app/@modal/(.)settings/page_client-reference-manifest.js +1 -1
  9. package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  10. package/.next/server/app/_global-error.html +1 -1
  11. package/.next/server/app/_global-error.rsc +1 -1
  12. package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  13. package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +1 -1
  14. package/.next/server/app/_global-error.segments/_global-error.segment.rsc +1 -1
  15. package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  16. package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  17. package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  18. package/.next/server/app/_not-found/page.js +1 -1
  19. package/.next/server/app/_not-found/page.js.nft.json +1 -1
  20. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  21. package/.next/server/app/_not-found.html +1 -1
  22. package/.next/server/app/_not-found.rsc +26 -27
  23. package/.next/server/app/_not-found.segments/_full.segment.rsc +26 -27
  24. package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  25. package/.next/server/app/_not-found.segments/_index.segment.rsc +15 -16
  26. package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  27. package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  28. package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  29. package/.next/server/app/api/plan/annotations/route.js +2 -2
  30. package/.next/server/app/docs/page.js +1 -1
  31. package/.next/server/app/docs/page.js.nft.json +1 -1
  32. package/.next/server/app/docs/page_client-reference-manifest.js +1 -1
  33. package/.next/server/app/docs.html +1 -1
  34. package/.next/server/app/docs.rsc +29 -30
  35. package/.next/server/app/docs.segments/@modal/__DEFAULT__.segment.rsc +1 -1
  36. package/.next/server/app/docs.segments/_full.segment.rsc +29 -30
  37. package/.next/server/app/docs.segments/_head.segment.rsc +1 -1
  38. package/.next/server/app/docs.segments/_index.segment.rsc +15 -16
  39. package/.next/server/app/docs.segments/_tree.segment.rsc +2 -2
  40. package/.next/server/app/docs.segments/docs/__PAGE__.segment.rsc +1 -1
  41. package/.next/server/app/docs.segments/docs.segment.rsc +1 -1
  42. package/.next/server/app/help/page.js +1 -1
  43. package/.next/server/app/help/page.js.nft.json +1 -1
  44. package/.next/server/app/help/page_client-reference-manifest.js +1 -1
  45. package/.next/server/app/help.html +1 -1
  46. package/.next/server/app/help.rsc +38 -39
  47. package/.next/server/app/help.segments/@modal/__DEFAULT__.segment.rsc +1 -1
  48. package/.next/server/app/help.segments/_full.segment.rsc +38 -39
  49. package/.next/server/app/help.segments/_head.segment.rsc +1 -1
  50. package/.next/server/app/help.segments/_index.segment.rsc +15 -16
  51. package/.next/server/app/help.segments/_tree.segment.rsc +2 -2
  52. package/.next/server/app/help.segments/help/__PAGE__.segment.rsc +1 -1
  53. package/.next/server/app/help.segments/help.segment.rsc +1 -1
  54. package/.next/server/app/index.html +1 -1
  55. package/.next/server/app/index.rsc +27 -29
  56. package/.next/server/app/index.segments/@modal/__DEFAULT__.segment.rsc +1 -1
  57. package/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
  58. package/.next/server/app/index.segments/_full.segment.rsc +27 -29
  59. package/.next/server/app/index.segments/_head.segment.rsc +1 -1
  60. package/.next/server/app/index.segments/_index.segment.rsc +15 -16
  61. package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  62. package/.next/server/app/learn/page.js +3 -3
  63. package/.next/server/app/learn/page.js.nft.json +1 -1
  64. package/.next/server/app/learn/page_client-reference-manifest.js +1 -1
  65. package/.next/server/app/map/page.js +1 -1
  66. package/.next/server/app/map/page.js.nft.json +1 -1
  67. package/.next/server/app/map/page_client-reference-manifest.js +1 -1
  68. package/.next/server/app/page.js +1 -1
  69. package/.next/server/app/page.js.nft.json +1 -1
  70. package/.next/server/app/page_client-reference-manifest.js +1 -1
  71. package/.next/server/app/plan/page.js +2 -2
  72. package/.next/server/app/plan/page.js.nft.json +1 -1
  73. package/.next/server/app/plan/page_client-reference-manifest.js +1 -1
  74. package/.next/server/app/s/[token]/page.js +1 -1
  75. package/.next/server/app/s/[token]/page.js.nft.json +1 -1
  76. package/.next/server/app/s/[token]/page_client-reference-manifest.js +1 -1
  77. package/.next/server/app/settings/page.js +1 -1
  78. package/.next/server/app/settings/page.js.nft.json +1 -1
  79. package/.next/server/app/settings/page_client-reference-manifest.js +1 -1
  80. package/.next/server/app-paths-manifest.json +25 -25
  81. package/.next/server/chunks/2025.js +1 -1
  82. package/.next/server/chunks/2693.js +5 -5
  83. package/.next/server/chunks/2933.js +1 -1
  84. package/.next/server/chunks/3825.js +1 -1
  85. package/.next/server/chunks/4041.js +1 -0
  86. package/.next/server/chunks/5509.js +1 -0
  87. package/.next/server/chunks/9213.js +1 -1
  88. package/.next/server/middleware-build-manifest.js +1 -1
  89. package/.next/server/pages/404.html +1 -1
  90. package/.next/server/pages/500.html +1 -1
  91. package/.next/server/server-reference-manifest.js +1 -1
  92. package/.next/server/server-reference-manifest.json +1 -1
  93. package/.next/static/chunks/4853-43350f60d0d9135b.js +1 -0
  94. package/.next/static/chunks/569-bfdcec83011428d3.js +1 -0
  95. package/.next/static/chunks/{7347-eeea5e910206d07a.js → 6818-85b9a09bb74062ef.js} +1 -1
  96. package/.next/static/chunks/6873-5fc2a181f6b5c281.js +1 -0
  97. package/.next/static/chunks/app/@modal/(.)settings/page-58f068e66bf2fdf6.js +1 -0
  98. package/.next/static/chunks/app/layout-6af877a2d6717f9e.js +1 -0
  99. package/.next/static/chunks/app/learn/{page-68eac3b8857f0423.js → page-3096f42957c4ae90.js} +1 -1
  100. package/.next/static/chunks/app/map/{page-ab46c7221b745a2d.js → page-218e74604688302f.js} +1 -1
  101. package/.next/static/chunks/app/plan/{page-61029f938a543778.js → page-3e3468c908c25fef.js} +2 -2
  102. package/.next/static/chunks/app/s/[token]/{page-698e24680e57e3e1.js → page-a169c295bbc1ff1f.js} +1 -1
  103. package/.next/static/chunks/app/settings/page-435bfb2ac6f01744.js +1 -0
  104. package/.next/static/css/ba104bf801b96933.css +1 -0
  105. package/.next/trace +47 -47
  106. package/.next/trace-build +1 -1
  107. package/dist/bin/remove.js +5 -5
  108. package/package.json +1 -1
  109. package/.next/server/chunks/2311.js +0 -1
  110. package/.next/server/chunks/7999.js +0 -1
  111. package/.next/static/chunks/2022-78e7580c848ef6b3.js +0 -1
  112. package/.next/static/chunks/4853-251169ab5b4979c2.js +0 -1
  113. package/.next/static/chunks/569-d0686e63d8510369.js +0 -1
  114. package/.next/static/chunks/app/@modal/(.)settings/page-b3f7a82b4124b813.js +0 -1
  115. package/.next/static/chunks/app/layout-c893ade848478689.js +0 -1
  116. package/.next/static/chunks/app/settings/page-28f17935e637640f.js +0 -1
  117. package/.next/static/css/95077158c5710c9e.css +0 -1
  118. /package/.next/static/{BuULrtf1kXZqNPMDIPeVT → UPbwAwhqupoUDhpSL38bT}/_buildManifest.js +0 -0
  119. /package/.next/static/{BuULrtf1kXZqNPMDIPeVT → UPbwAwhqupoUDhpSL38bT}/_ssgManifest.js +0 -0
@@ -1,2 +1,2 @@
1
1
  (()=>{var a={};a.id=8974,a.ids=[8974],a.modules={261:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/app-paths")},3295:a=>{"use strict";a.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},6716:(a,b,c)=>{"use strict";c.d(b,{AV:()=>J,Ck:()=>H,Dk:()=>F,F2:()=>y,FF:()=>l,K4:()=>w,Lm:()=>O,Nx:()=>s,Q8:()=>I,T_:()=>r,UP:()=>B,VB:()=>E,VO:()=>q,WQ:()=>D,X_:()=>L,Y2:()=>v,_g:()=>C,kO:()=>P,oW:()=>i,p1:()=>M,qh:()=>z});var d=c(16698);c(31421);var e=c(77598),f=c(73024),g=c(48161),h=c(76760);function i(){return process.env.BEACON_HOME||(0,h.join)((0,g.homedir)(),".beacon")}function j(){return(0,h.join)(i(),"workspaces.json")}function k(a){return(0,e.createHash)("sha256").update(a).digest("hex").slice(0,12)}function l(a){let b=(0,h.resolve)(a);return b!==(0,h.resolve)((0,g.homedir)())&&b!==(0,h.parse)(b).root}function m(){return(0,h.join)(i(),"deleted.json")}function n(){try{let a=JSON.parse((0,f.readFileSync)(m(),"utf8"));return Array.isArray(a)?a:[]}catch{return[]}}function o(a){(0,f.mkdirSync)(i(),{recursive:!0}),(0,f.writeFileSync)(m(),JSON.stringify(a,null,2))}function p(a){return n().includes(a)}function q(a){let b=n();b.includes(a)||o([...b,a])}function r(a){return(0,h.join)(i(),a)}function s(a){return`file:${(0,h.join)(r(a),"db.sqlite")}`}function t(){try{let a=JSON.parse((0,f.readFileSync)(j(),"utf8"));return Array.isArray(a)?a:[]}catch{return[]}}function u(a){(0,f.mkdirSync)(i(),{recursive:!0}),(0,f.writeFileSync)(j(),JSON.stringify(a,null,2))}function v(){return t().sort((a,b)=>b.lastOpenedAt.localeCompare(a.lastOpenedAt))}function w(a){return t().find(b=>b.id===a)??null}function x(a,b,c=new Date().toISOString()){if(!l(a))throw Error(`beacon: refusing to register a non-repo path as a workspace: ${a}`);let d=k(a);if(p(d))throw Error(`beacon: workspace ${d} (${a}) was deleted — run \`beacon\` or /beacon-init to re-add it`);let e=t(),g=e.find(a=>a.id===d),i={id:d,path:a,name:b||g?.name||(0,h.basename)(a),lastOpenedAt:c},j=[i,...e.filter(a=>a.id!==d)];return(0,f.mkdirSync)(r(d),{recursive:!0}),u(j),i}function y(a,b){var c;let d;return c=k(a),(d=n()).includes(c)&&o(d.filter(a=>a!==c)),x(a,b)}function z(a){u(t().filter(b=>b.id!==a)),B()===a&&C(v()[0]?.id??null)}function A(){return(0,h.join)(i(),"active")}function B(){try{return(0,f.readFileSync)(A(),"utf8").trim()||null}catch{return null}}function C(a){(0,f.mkdirSync)(i(),{recursive:!0}),(0,f.writeFileSync)(A(),a??"")}function D(){let a=B();return a?w(a):null}function E(){let a=M()??B();return a?w(a):null}let F="beacon_ws";function G(a,b){let c=a.headers.get("cookie");if(!c)return null;for(let a of c.split(";")){let c=a.indexOf("=");if(-1!==c&&a.slice(0,c).trim()===b)return decodeURIComponent(a.slice(c+1).trim())}return null}function H(a){let b,c=a.headers.get("x-beacon-workspace");if(c&&w(c))return c;let d=G(a,F);return d&&w(d)?d:1===(b=v()).length?b[0].id:null}let I="x-beacon-workspace-path";async function J(a){let b=a.headers.get("x-beacon-workspace");if(b&&w(b))return b;let c=a.headers.get(I);if(c&&l(c)&&!p(k(c))&&(!b||k(c)===b)){let a=x(c);return await P(a.id),a.id}let d=G(a,F);return d&&w(d)?d:null}let K=new d.AsyncLocalStorage;function L(a,b){return a?K.run(a,b):b()}function M(){return K.getStore()??null}let N=new Set;function O(a){N.delete((0,h.join)(r(a),"db.sqlite"))}async function P(a){let b=r(a),d=(0,h.join)(b,"db.sqlite"),e=(0,f.existsSync)(d);if(e&&N.has(d))return{ok:!0,created:!1,migrated:!1};try{(0,f.mkdirSync)(b,{recursive:!0});let{provisionDb:g}=await Promise.all([c.e(1669),c.e(9884),c.e(5871),c.e(5258)]).then(c.bind(c,35258)),h=await g(s(a));return N.add(d),{ok:!0,created:!e,migrated:e&&h.migrated}}catch(a){return{ok:!1,created:!1,migrated:!1,error:a instanceof Error?a.message:String(a)}}}},10846:a=>{"use strict";a.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},16698:a=>{"use strict";a.exports=require("node:async_hooks")},17891:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/get-segment-param")},19121:a=>{"use strict";a.exports=require("next/dist/server/app-render/action-async-storage.external.js")},26713:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/is-bot")},27267:(a,b,c)=>{"use strict";c.d(b,{TT:()=>f,Xf:()=>h,m6:()=>e,nR:()=>g,yl:()=>d});let d=["PENDING","IN_PROGRESS","DONE","BLOCKED","CANCELLED","DEPRIORITIZED"],e=["KEEP","REBUILD","REPLACE","DROP"],f=["IN_PROGRESS","PENDING","BLOCKED","DONE","DEPRIORITIZED","CANCELLED"],g={DONE:{label:"Done",className:"border-emerald-500/30 bg-emerald-500/15 text-emerald-700 dark:text-emerald-300"},IN_PROGRESS:{label:"In progress",className:"border-sky-500/30 bg-sky-500/15 text-sky-700 dark:text-sky-300"},PENDING:{label:"Pending",className:"border-amber-500/30 bg-amber-500/10 text-amber-700 dark:text-amber-200"},BLOCKED:{label:"Blocked",className:"border-orange-500/30 bg-orange-500/15 text-orange-700 dark:text-orange-300"},CANCELLED:{label:"Cancelled",className:"border-zinc-500/30 bg-zinc-500/10 text-zinc-600 dark:text-zinc-400 line-through"},DEPRIORITIZED:{label:"Deprioritized",className:"border-zinc-600/40 bg-zinc-600/10 text-zinc-600 dark:text-zinc-400"},KEEP:{label:"Keep",className:"border-emerald-500/30 bg-emerald-500/15 text-emerald-700 dark:text-emerald-300"},REBUILD:{label:"Rebuild",className:"border-violet-500/30 bg-violet-500/15 text-violet-700 dark:text-violet-300"},REPLACE:{label:"Replace",className:"border-rose-500/30 bg-rose-500/15 text-rose-700 dark:text-rose-300"},DROP:{label:"Drop",className:"border-zinc-500/30 bg-zinc-500/10 text-zinc-600 dark:text-zinc-400 line-through"}};function h(a){return a?.trim()||"—"}},28354:a=>{"use strict";a.exports=require("util")},28855:a=>{"use strict";a.exports=import("@libsql/client")},29294:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-async-storage.external.js")},31421:a=>{"use strict";a.exports=require("node:child_process")},31938:(a,b,c)=>{Promise.resolve().then(c.bind(c,77476))},33346:(a,b,c)=>{"use strict";c.d(b,{a2:()=>g,i3:()=>j,xZ:()=>h});let d=["bg-emerald-500/15 text-emerald-700 dark:text-emerald-300","bg-sky-500/15 text-sky-700 dark:text-sky-300","bg-violet-500/15 text-violet-700 dark:text-violet-300","bg-amber-500/15 text-amber-700 dark:text-amber-200","bg-rose-500/15 text-rose-700 dark:text-rose-300","bg-cyan-500/15 text-cyan-700 dark:text-cyan-300","bg-fuchsia-500/15 text-fuchsia-700 dark:text-fuchsia-300","bg-lime-500/15 text-lime-700 dark:text-lime-300","bg-orange-500/15 text-orange-700 dark:text-orange-300","bg-teal-500/15 text-teal-700 dark:text-teal-300","bg-indigo-500/15 text-indigo-700 dark:text-indigo-300","bg-pink-500/15 text-pink-700 dark:text-pink-300"],e=["border-emerald-500/20 bg-emerald-500/[0.04]","border-sky-500/20 bg-sky-500/[0.04]","border-violet-500/20 bg-violet-500/[0.04]","border-amber-500/20 bg-amber-500/[0.04]","border-rose-500/20 bg-rose-500/[0.04]","border-cyan-500/20 bg-cyan-500/[0.04]","border-fuchsia-500/20 bg-fuchsia-500/[0.04]","border-lime-500/20 bg-lime-500/[0.04]","border-orange-500/20 bg-orange-500/[0.04]","border-teal-500/20 bg-teal-500/[0.04]","border-indigo-500/20 bg-indigo-500/[0.04]","border-pink-500/20 bg-pink-500/[0.04]"];function f(a){let b=(a??"").trim().toUpperCase();if(!b)return null;let c=0;for(let a=0;a<b.length;a++)c=31*c+b.charCodeAt(a)>>>0;return c%d.length}function g(a){let b=f(a);return null===b?"bg-[var(--ink-active)] text-muted-foreground":d[b]}function h(a){let b=f(a);return null===b?"border-border bg-[var(--ink-hover)]":e[b]}let i=["#34d399","#38bdf8","#a78bfa","#fbbf24","#fb7185","#22d3ee","#e879f9","#a3e635","#fb923c","#2dd4bf","#818cf8","#f472b6"];function j(a){let b=f(a);return null===b?"#9ca3af":i[b]}},33873:a=>{"use strict";a.exports=require("path")},38476:(a,b,c)=>{"use strict";c.d(b,{F1:()=>o,VY:()=>j,e6:()=>f,gG:()=>n,gX:()=>l,qA:()=>e,ru:()=>g});let d={auth:"#4ea1ff",firms:"#c792ea",search:"#7bd389",storage:"#ffb86b",petitions:"#ff7a45",monitoring:"#f5b942",admin:"#ff6b9d"};function e(a){return a&&d[a]||"#8a8a8a"}let f={GET:"#7bd389",POST:"#4ea1ff",PUT:"#ffb86b",PATCH:"#ffb86b",DELETE:"#ff3860"},g={read:"#4ea1ff",write:"#ffb86b","read-write":"#c792ea"},h="text-[#4b5563] dark:text-[#8a8a8a]",i={GET:"text-[#15803d] dark:text-[#7bd389]",POST:"text-[#1d4ed8] dark:text-[#4ea1ff]",PUT:"text-[#b45309] dark:text-[#ffb86b]",PATCH:"text-[#b45309] dark:text-[#ffb86b]",DELETE:"text-[#be123c] dark:text-[#ff3860]"};function j(a){return a&&i[a]||h}let k={read:"text-[#1d4ed8] dark:text-[#4ea1ff]",write:"text-[#b45309] dark:text-[#ffb86b]","read-write":"text-[#6d28d9] dark:text-[#c792ea]"};function l(a){return a&&k[a]||h}let m={auth:"text-[#1d4ed8] dark:text-[#4ea1ff]",firms:"text-[#6d28d9] dark:text-[#c792ea]",search:"text-[#15803d] dark:text-[#7bd389]",storage:"text-[#b45309] dark:text-[#ffb86b]",petitions:"text-[#c2410c] dark:text-[#ff7a45]",monitoring:"text-[#b45309] dark:text-[#f5b942]",admin:"text-[#be185d] dark:text-[#ff6b9d]"};function n(a){return a&&m[a]||h}function o(a,b){let c=new Set([a]);for(let d of b)d.source===a&&c.add(d.target),d.target===a&&c.add(d.source);return c}},41025:a=>{"use strict";a.exports=require("next/dist/server/app-render/dynamic-access-async-storage.external.js")},43954:a=>{"use strict";a.exports=require("next/dist/shared/lib/router/utils/interception-routes")},45301:(a,b,c)=>{"use strict";c.d(b,{KS:()=>l,Qq:()=>k,jv:()=>j});var d=c(31421),e=c(77598),f=c(48161),g=c(76760),h=c(6716);let i=null;function j(){if(process.env.BEACON_REPO)return process.env.BEACON_REPO;let a=(0,h.p1)();if(a){let b=(0,h.K4)(a);if(b)return b.path}let b=(0,h.WQ)();if(b)return b.path;if(i)return i;try{let a=(0,d.execSync)("git rev-parse --show-toplevel",{cwd:process.cwd(),stdio:["ignore","pipe","ignore"]}).toString().trim();if(a)return i=a}catch{}return i=(0,g.resolve)(process.cwd(),"../..")}function k(){return(0,g.basename)(j())}function l(){if(process.env.BEACON_DATA_DIR)return process.env.BEACON_DATA_DIR;let a=(0,h.p1)();if(a&&(0,h.K4)(a))return(0,h.T_)(a);let b=(0,h.WQ)();return b?(0,h.T_)(b.id):(0,g.join)((0,f.homedir)(),".beacon",(0,e.createHash)("sha256").update(j()).digest("hex").slice(0,12))}},48161:a=>{"use strict";a.exports=require("node:os")},48581:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(64686).A)("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},56573:(a,b,c)=>{"use strict";c.r(b),c.d(b,{__next_app__:()=>O,handler:()=>Q,routeModule:()=>P});var d=c(7553),e=c(84006),f=c(67798),g=c(34775),h=c(99373),i=c(73461),j=c(1020),k=c(26349),l=c(54365),m=c(16023),n=c(14965),o=c(63747),p=c(24235),q=c(23938),r=c(261),s=c(66758),t=c(77243),u=c(26713),v=c(37527),w=c(22820),x=c(88216),y=c(47929),z=c(79551),A=c(71797),B=c(89125),C=c(86439),D=c(77068),E=c(27269),F=c(37525),G=c(61287),H=c(81494),I=c(70722),J=c(70753),K=c(43954),L=c(17891),M={};for(let a in G)0>["default","__next_app__","routeModule","handler"].indexOf(a)&&(M[a]=()=>G[a]);c.d(b,M);let N={children:["",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(c.bind(c,99647)),"/home/runner/work/beacon/beacon/app/page.tsx"],metadata:{icon:[async a=>(await Promise.resolve().then(c.bind(c,86364))).default(a)],apple:[async a=>(await Promise.resolve().then(c.bind(c,7667))).default(a)],openGraph:[],twitter:[],manifest:void 0}}],modal:["__DEFAULT__",{},{defaultPage:[()=>Promise.resolve().then(c.bind(c,90415)),"/home/runner/work/beacon/beacon/app/@modal/default.tsx"]}]},{layout:[()=>Promise.resolve().then(c.bind(c,48936)),"/home/runner/work/beacon/beacon/app/layout.tsx"],"global-error":[()=>Promise.resolve().then(c.t.bind(c,95547,23)),"next/dist/client/components/builtin/global-error.js"],"not-found":[()=>Promise.resolve().then(c.t.bind(c,55091,23)),"next/dist/client/components/builtin/not-found.js"],forbidden:[()=>Promise.resolve().then(c.t.bind(c,45270,23)),"next/dist/client/components/builtin/forbidden.js"],unauthorized:[()=>Promise.resolve().then(c.t.bind(c,28193,23)),"next/dist/client/components/builtin/unauthorized.js"],metadata:{icon:[async a=>(await Promise.resolve().then(c.bind(c,86364))).default(a)],apple:[async a=>(await Promise.resolve().then(c.bind(c,7667))).default(a)],openGraph:[],twitter:[],manifest:void 0}},[]],modal:["__DEFAULT__",{},{defaultPage:[()=>Promise.resolve().then(c.bind(c,90415)),"/home/runner/work/beacon/beacon/app/@modal/default.tsx"]}]}.children,O={require:c,loadChunk:()=>Promise.resolve()},P=new d.AppPageRouteModule({definition:{kind:e.RouteKind.APP_PAGE,page:"/page",pathname:"/",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:N},distDir:".next",relativeProjectDir:""});async function Q(a,b,d){var M,R,S,T,U;d.requestMeta&&(0,h.setRequestMeta)(a,d.requestMeta),P.isDev&&(0,h.addRequestMeta)(a,"devRequestTimingInternalsEnd",process.hrtime.bigint());let V=!!(0,h.getRequestMeta)(a,"minimalMode"),W="/page";"/index"===W&&(W="/");let X=await P.prepare(a,b,{srcPage:W,multiZoneDraftMode:!1});if(!X)return b.statusCode=400,b.end("Bad Request"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let{buildId:Y,query:Z,params:$,pageIsDynamic:_,buildManifest:aa,nextFontManifest:ab,reactLoadableManifest:ac,serverActionsManifest:ad,clientReferenceManifest:ae,subresourceIntegrityManifest:af,prerenderManifest:ag,isDraftMode:ah,resolvedPathname:ai,revalidateOnlyGenerated:aj,routerServerContext:ak,nextConfig:al,parsedUrl:am,interceptionRoutePatterns:an,deploymentId:ao,clientAssetToken:ap}=X,aq=(0,r.normalizeAppPath)(W),{isOnDemandRevalidate:ar}=X,as=al.experimental.ppr&&!al.cacheComponents&&(0,K.isInterceptionRouteAppPath)(ai)?null:P.match(ai,ag),at=(null==as?void 0:as.route)??null,au=!!ag.routes[ai],av=a.headers["user-agent"]||"",aw=(0,u.getBotType)(av),ax=(0,q.isHtmlBotRequest)(a),ay=(0,h.getRequestMeta)(a,"isPrefetchRSCRequest")??"1"===a.headers[t.NEXT_ROUTER_PREFETCH_HEADER],az=(0,h.getRequestMeta)(a,"isRSCRequest")??(0,n.f)(a.headers[t.RSC_HEADER]),aA=(0,s.getIsPossibleServerAction)(a),aB=(0,m.checkIsAppPPREnabled)(al.experimental.ppr),aC=a.headers[y.NEXT_RESUME_STATE_LENGTH_HEADER];if(!(0,h.getRequestMeta)(a,"postponed")&&V&&aB&&aA&&aC&&"string"==typeof aC){let e=parseInt(aC,10),{maxPostponedStateSize:f,maxPostponedStateSizeBytes:g}=(0,E.getMaxPostponedStateSize)(al.experimental.maxPostponedStateSize);if(!isNaN(e)&&e>0){if(e>g)return b.statusCode=413,b.end((0,E.getPostponedStateExceededErrorMessage)(f)),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let i="1 MB",j=(null==(U=al.experimental.serverActions)?void 0:U.bodySizeLimit)??i,k=e+(j!==i?c(95726).parse(j):1048576),l=await (0,E.readBodyWithSizeLimit)(a,k);if(null===l)return b.statusCode=413,b.end("Request body exceeded limit. To configure the body size limit for Server Actions, see: https://nextjs.org/docs/app/api-reference/next-config-js/serverActions#bodysizelimit"),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;if(l.length>=e){let b=l.subarray(0,e).toString("utf8");(0,h.addRequestMeta)(a,"postponed",b);let c=l.subarray(e);(0,h.addRequestMeta)(a,"actionBody",c)}else throw Object.defineProperty(Error(`invariant: expected ${e} bytes of postponed state but only received ${l.length} bytes`),"__NEXT_ERROR_CODE",{value:"E979",enumerable:!1,configurable:!0})}}if(!(0,h.getRequestMeta)(a,"postponed")&&aB&&"1"===a.headers[y.NEXT_RESUME_HEADER]&&"POST"===a.method){let{maxPostponedStateSize:c,maxPostponedStateSizeBytes:e}=(0,E.getMaxPostponedStateSize)(al.experimental.maxPostponedStateSize),f=await (0,E.readBodyWithSizeLimit)(a,e);if(null===f)return b.statusCode=413,b.end((0,E.getPostponedStateExceededErrorMessage)(c)),null==d.waitUntil||d.waitUntil.call(d,Promise.resolve()),null;let g=f.toString("utf8");(0,h.addRequestMeta)(a,"postponed",g)}let aD=!0===P.isDev||!0===al.experimental.exposeTestingApiInProductionBuild,aE=aD&&("1"===a.headers[t.NEXT_INSTANT_PREFETCH_HEADER]||!(0,n.f)(a.headers[t.RSC_HEADER])&&"string"==typeof a.headers.cookie&&a.headers.cookie.includes(t.NEXT_INSTANT_TEST_COOKIE+"=")),aF=(aB||aE)&&((null==(M=ag.routes[aq]??ag.dynamicRoutes[aq])?void 0:M.renderingMode)==="PARTIALLY_STATIC"||aE&&(aD||(null==ak?void 0:ak.experimentalTestProxy)===!0)),aG=aE&&aF,aH=aG&&!0===P.isDev,aI=!1,aJ=aF?(0,h.getRequestMeta)(a,"postponed"):void 0,aK=null==(R=ag.routes[ai])?void 0:R.prefetchDataRoute,aL=aF&&az&&!ay&&!aK;V&&(aL=aL&&!!aJ);let aM=(0,h.getRequestMeta)(a,"segmentPrefetchRSCRequest"),aN=(!aw||!aF)&&(!av||(0,q.shouldServeStreamingMetadata)(av,al.htmlLimitedBots)),aO=!!((at||au||ag.routes[aq])&&!(aw&&aF)),aP=aF&&!0===al.cacheComponents,aQ=!0===P.isDev||!aO||"string"==typeof aJ||(aP&&(0,h.getRequestMeta)(a,"onCacheEntryV2")?aL&&!V:aL),aR=!!aw&&aF,aS=(null==at?void 0:at.remainingPrerenderableParams)??[],aT=(null==at?void 0:at.fallback)===null&&((null==(S=at.fallbackRootParams)?void 0:S.length)??0)>0,aU=null;if(!ah&&aO&&!aQ&&!aA&&!aJ&&!aL){let a=as?"string"==typeof(null==at?void 0:at.fallback)?at.fallback:as.source:null;if(!0===al.experimental.partialFallbacks&&a&&(null==at?void 0:at.fallbackRouteParams)&&!aT){if(aS.length>0){let b,c=(b=new Map(aS.map(a=>[a.paramName,a])),a.split("/").map(a=>{let c=(0,L.getSegmentParam)(a);if(!c)return a;let d=b.get(c.paramName);if(!d)return a;let e=null==$?void 0:$[d.paramName];if(!e)return a;let f=Array.isArray(e)?e.map(a=>encodeURIComponent(a)).join("/"):encodeURIComponent(e);return a.replace((0,o.buildDynamicSegmentPlaceholder)(d),f)}).join("/")||"/");aU=c!==a?c:null}}else aU=ai}let aV=aU;!aV&&(P.isDev||aO&&_&&(null==at?void 0:at.fallbackRouteParams)&&!aA)&&(aV=ai),P.isDev||ah||!aO||!az||aL||(0,k.d)(a.headers);let aW={...G,tree:N,handler:Q,routeModule:P,__next_app__:O};ad&&ae&&(0,p.setManifestsSingleton)({page:W,clientReferenceManifest:ae,serverActionsManifest:ad});let aX=a.method||"GET",aY=(0,g.getTracer)(),aZ=aY.getActiveScopeSpan(),a$=!!(null==ak?void 0:ak.isWrappedByNextServer),a_=!0===al.experimental.partialFallbacks&&aS.length>0?(null==at||null==(T=at.fallbackRouteParams)?void 0:T.filter(a=>!aS.some(b=>b.paramName===a.paramName)))??[]:[],a0=async()=>((null==ak?void 0:ak.render404)?await ak.render404(a,b,am,!1):b.end("This page could not be found"),null);try{let k,m=P.getVaryHeader(ai,an);b.setHeader("Vary",m);let n=async(c,d)=>{let e=new l.NodeNextRequest(a),f=new l.NodeNextResponse(b);return P.render(e,f,d).finally(()=>{if(!c)return;c.setAttributes({"http.status_code":b.statusCode,"next.rsc":!1});let a=aY.getRootSpanAttributes();if(!a)return;if(a.get("next.span_type")!==i.BaseServerSpan.handleRequest)return void console.warn(`Unexpected root span type '${a.get("next.span_type")}'. Please report this Next.js issue https://github.com/vercel/next.js`);let d=a.get("next.route");if(d){let a=`${aX} ${d}`;c.setAttributes({"next.route":d,"http.route":d,"next.span_name":a}),c.updateName(a),k&&k!==c&&(k.setAttribute("http.route",d),k.updateName(a))}else c.updateName(`${aX} ${W}`)})},p=(0,h.getRequestMeta)(a,"incrementalCache")||await P.getIncrementalCache(a,al,ag,V);null==p||p.resetRequestCache(),globalThis.__incrementalCache=p;let q=async({span:e,postponed:f,fallbackRouteParams:g,forceStaticRender:i})=>{let k={query:Z,params:$,page:aq,sharedContext:{buildId:Y,deploymentId:ao,clientAssetToken:ap},serverComponentsHmrCache:(0,h.getRequestMeta)(a,"serverComponentsHmrCache"),fallbackRouteParams:g,renderOpts:{App:()=>null,Document:()=>null,pageConfig:{},ComponentMod:aW,Component:(0,j.T)(aW),params:$,routeModule:P,page:W,postponed:f,shouldWaitOnAllReady:aR,serveStreamingMetadata:aN,supportsDynamicResponse:"string"==typeof f||aQ,buildManifest:aa,nextFontManifest:ab,reactLoadableManifest:ac,subresourceIntegrityManifest:af,setCacheStatus:null==ak?void 0:ak.setCacheStatus,setIsrStatus:null==ak?void 0:ak.setIsrStatus,setReactDebugChannel:null==ak?void 0:ak.setReactDebugChannel,sendErrorsToBrowser:null==ak?void 0:ak.sendErrorsToBrowser,dir:c(33873).join(process.cwd(),P.relativeProjectDir),isDraftMode:ah,botType:aw,isOnDemandRevalidate:ar,isPossibleServerAction:aA,assetPrefix:al.assetPrefix,nextConfigOutput:al.output,crossOrigin:al.crossOrigin,trailingSlash:al.trailingSlash,images:al.images,previewProps:ag.preview,enableTainting:al.experimental.taint,htmlLimitedBots:al.htmlLimitedBots,reactMaxHeadersLength:al.reactMaxHeadersLength,multiZoneDraftMode:!1,incrementalCache:p,cacheLifeProfiles:al.cacheLife,basePath:al.basePath,serverActions:al.experimental.serverActions,logServerFunctions:"object"==typeof al.logging&&!!al.logging.serverFunctions,...aG||aH||aI?{isBuildTimePrerendering:!0,supportsDynamicResponse:!1,isStaticGeneration:!0,isDebugDynamicAccesses:aH}:{},cacheComponents:!!al.cacheComponents,experimental:{isRoutePPREnabled:aF,expireTime:al.expireTime,staleTimes:al.experimental.staleTimes,dynamicOnHover:!!al.experimental.dynamicOnHover,optimisticRouting:!!al.experimental.optimisticRouting,inlineCss:!!al.experimental.inlineCss,prefetchInlining:al.experimental.prefetchInlining??!1,authInterrupts:!!al.experimental.authInterrupts,cachedNavigations:!!al.experimental.cachedNavigations,clientTraceMetadata:al.experimental.clientTraceMetadata||[],clientParamParsingOrigins:al.experimental.clientParamParsingOrigins,maxPostponedStateSizeBytes:(0,D.parseMaxPostponedStateSize)(al.experimental.maxPostponedStateSize)},waitUntil:d.waitUntil,onClose:a=>{b.on("close",a)},onAfterTaskError:()=>{},onInstrumentationRequestError:(b,c,d,e)=>P.onRequestError(a,b,d,e,ak),err:(0,h.getRequestMeta)(a,"invokeError")}};i&&(k.renderOpts.supportsDynamicResponse=!1);let l=await n(e,k),{metadata:m}=l,{cacheControl:o,headers:q={},fetchTags:r,fetchMetrics:s}=m;if(r&&(q[y.NEXT_CACHE_TAGS_HEADER]=r),a.fetchMetrics=s,aO&&(null==o?void 0:o.revalidate)===0&&!P.isDev&&!aF){let a=m.staticBailoutInfo,b=Object.defineProperty(Error(`Page changed from static to dynamic at runtime ${ai}${(null==a?void 0:a.description)?`, reason: ${a.description}`:""}
2
- see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:v.CachedRouteKind.APP_PAGE,html:l,headers:q,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:o}},r=async({hasResolved:c,previousCacheEntry:g,isRevalidating:i,span:j,forceStaticRender:k=!1})=>{let l=!1===P.isDev,m=c||b.writableEnded;try{var n;let f;if(ar&&aj&&!g&&!V)return(null==ak?void 0:ak.render404)?await ak.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(at&&(f=(0,w.parseFallbackField)(at.fallback)),!0===al.experimental.partialFallbacks&&(null==at?void 0:at.fallback)===null&&!aT&&aS.length>0&&(f=w.FallbackMode.PRERENDER),f===w.FallbackMode.PRERENDER&&(0,u.isBot)(av)&&(!aF||ax)&&(f=w.FallbackMode.BLOCKING_STATIC_RENDER),(null==g?void 0:g.isStale)===-1&&(ar=!0),ar&&(f!==w.FallbackMode.NOT_FOUND||g)&&(f=w.FallbackMode.BLOCKING_STATIC_RENDER),!V&&f!==w.FallbackMode.BLOCKING_STATIC_RENDER&&aV&&!m&&!ah&&_&&(l||!au)){if((l||at)&&f===w.FallbackMode.NOT_FOUND){if(al.adapterPath)return await a0();throw new C.NoFallbackError}if(aF&&(al.cacheComponents?!aL:!az)){let b=l&&"string"==typeof(null==at?void 0:at.fallback)?at.fallback:aq,f=(l||aG)&&(null==at?void 0:at.fallbackRouteParams)?(0,o.createOpaqueFallbackRouteParams)(at.fallbackRouteParams):aI?(0,o.getFallbackRouteParams)(aq,P):null;aG&&f&&(0,h.addRequestMeta)(a,"fallbackParams",f);let g=await P.handleResponse({cacheKey:b,req:a,nextConfig:al,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:ag,isRoutePPREnabled:aF,responseGenerator:async()=>q({span:j,postponed:void 0,fallbackRouteParams:f,forceStaticRender:!0}),waitUntil:d.waitUntil,isMinimalMode:V});if(null===g)return null;if(g)return V||!aF||!(aS.length>0)||!0!==al.experimental.partialFallbacks||!aU||!p||ar||aI||aD||aE||ay||(0,J.scheduleOnNextTick)(async()=>{let b=P.getResponseCache(a);try{await b.revalidate(aU,p,aF,!1,a=>q({span:a.span,postponed:void 0,fallbackRouteParams:a_.length>0?(0,o.createOpaqueFallbackRouteParams)(a_):null,forceStaticRender:!0}),null,c,d.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}),delete g.cacheControl,g}}let s=ar||i||!aJ?void 0:aJ;if(aP&&!V&&p&&(aL||aA)&&!k){let b=await p.get(ai,{kind:v.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===v.CachedRouteKind.APP_PAGE&&(s=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,J.scheduleOnNextTick)(async()=>{let b=P.getResponseCache(a);try{await b.revalidate(ai,p,aF,!1,a=>r({...a,forceStaticRender:!0}),null,c,d.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if((aG||aH)&&void 0!==s)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:v.CachedRouteKind.PAGES,html:x.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let t=!P.isDev&&_&&(null==at?void 0:at.fallbackRouteParams)?(0,o.getPlaceholderFallbackRouteParams)($,at.fallbackRouteParams):null,y=t&&t.length>0?t:null==at?void 0:at.fallbackRouteParams,z=null!=t&&t.length>0,A=null;if(al.cacheComponents&&(null==at?void 0:at.fallbackRouteParams)){let b=(0,h.getRequestMeta)(a,"resolvedRouteParamKeys");b&&b.size>0&&(A=at.fallbackRouteParams.filter(a=>!b.has(a.paramName)))}let B=(l&&(0,h.getRequestMeta)(a,"renderFallbackShell")||z||aG&&!au)&&y?(0,o.createOpaqueFallbackRouteParams)(y):A&&A.length>0&&A.length<((null==at||null==(n=at.fallbackRouteParams)?void 0:n.length)??0)?(0,o.createOpaqueFallbackRouteParams)(A):aI?(0,o.getFallbackRouteParams)(aq,P):null;if((l||aG)&&al.cacheComponents&&!au&&(null==at?void 0:at.fallbackRouteParams)){let b=(0,o.createOpaqueFallbackRouteParams)(y??at.fallbackRouteParams);b&&(0,h.addRequestMeta)(a,"fallbackParams",b)}return q({span:j,postponed:s,fallbackRouteParams:B,forceStaticRender:k})}catch(b){throw(null==g?void 0:g.isStale)&&await P.onRequestError(a,b,{routerKind:"App Router",routePath:W,routeType:"render",revalidateReason:(0,f.c)({isStaticGeneration:aO,isOnDemandRevalidate:ar})},!1,ak),b}},s=async c=>{var f,g,i,j,k,l;let m,n=await P.handleResponse({cacheKey:aU,responseGenerator:a=>r({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ar,isRoutePPREnabled:aF,req:a,nextConfig:al,prerenderManifest:ag,waitUntil:d.waitUntil,isMinimalMode:V});if(ah&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),P.isDev&&b.setHeader("Cache-Control","no-cache, must-revalidate"),!n){if(aU)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=n.value)?void 0:f.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=n.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let o="string"==typeof n.value.postponed;az&&!aA&&ao&&b.setHeader(y.NEXT_NAV_DEPLOYMENT_ID_HEADER,ao),aO&&!aL&&(!o||ay)&&(V||b.setHeader("x-nextjs-cache",ar?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),b.setHeader(t.NEXT_IS_PRERENDER_HEADER,"1"));let{value:p}=n;if(aJ)m={revalidate:0,expire:void 0};else if(aL)m={revalidate:0,expire:void 0};else if(!P.isDev)if(ah)m={revalidate:0,expire:void 0};else if(aO){if(n.cacheControl)if("number"==typeof n.cacheControl.revalidate){if(n.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${n.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});m={revalidate:n.cacheControl.revalidate,expire:(null==(j=n.cacheControl)?void 0:j.expire)??al.expireTime}}else m={revalidate:y.CACHE_ONE_YEAR_SECONDS,expire:void 0}}else b.getHeader("Cache-Control")||(m={revalidate:0,expire:void 0});if(n.cacheControl=m,"string"==typeof aM&&(null==p?void 0:p.kind)===v.CachedRouteKind.APP_PAGE&&p.segmentData){b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=p.headers)?void 0:k[y.NEXT_CACHE_TAGS_HEADER];V&&aO&&c&&"string"==typeof c&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,c);let d=p.segmentData.get(aM);return void 0!==d?(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:x.default.fromStatic(d,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl}):(b.statusCode=204,(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl}))}let s=aP?(0,h.getRequestMeta)(a,"onCacheEntryV2")??(0,h.getRequestMeta)(a,"onCacheEntry"):(0,h.getRequestMeta)(a,"onCacheEntry");if(s){let b=(0,h.getRequestMeta)(a,"initURL")??a.url,c=b?(null==(l=(0,F.parseUrl)(b))?void 0:l.pathname)??b:void 0;if(await s(n,{url:c}))return null}if(p.headers){let a={...p.headers};for(let[c,d]of(V&&aO||delete a[y.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let u=null==(g=p.headers)?void 0:g[y.NEXT_CACHE_TAGS_HEADER];if(V&&aO&&u&&"string"==typeof u&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,u),!p.status||az&&aF||(b.statusCode=p.status),!V&&p.status&&H.RedirectStatusCode[p.status]&&az&&(b.statusCode=200),o&&!aL&&b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"1"),az&&!ah){if(void 0===p.rscData){if(p.html.contentType!==t.RSC_CONTENT_TYPE_HEADER)if(al.cacheComponents)return b.statusCode=404,(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl});else throw Object.defineProperty(new I.InvariantError(`Expected RSC response, got ${p.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:p.html,cacheControl:n.cacheControl})}return(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:x.default.fromStatic(p.rscData,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl})}let w=p.html;if(aE&&aG){let c=!0===P.isDev?crypto.randomUUID():null;return w.pipeThrough(await (0,A.createInstantTestScriptInsertionTransformStream)(c)),(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:w,cacheControl:{revalidate:0,expire:void 0}})}if(!o||V||az)return(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:w,cacheControl:n.cacheControl});if(aG||aH)return w.push(new ReadableStream({start(a){a.enqueue(z.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:w,cacheControl:{revalidate:0,expire:void 0}});let C=new TransformStream;return w.push(C.readable),q({span:c,postponed:p.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(C.writable)}).catch(a=>{C.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:w,cacheControl:{revalidate:0,expire:void 0}})};if(!a$||!aZ)return k=aY.getActiveScopeSpan(),await aY.withPropagatedContext(a.headers,()=>aY.trace(i.BaseServerSpan.handleRequest,{spanName:`${aX} ${W}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aX,"http.target":a.url}},s),void 0,!a$);await s(aZ)}catch(b){throw b instanceof C.NoFallbackError||await P.onRequestError(a,b,{routerKind:"App Router",routePath:W,routeType:"render",revalidateReason:(0,f.c)({isStaticGeneration:aO,isOnDemandRevalidate:ar})},!1,ak),b}}},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},67878:(a,b,c)=>{"use strict";c.d(b,{Landing:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call Landing() from the server but Landing is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/beacon/beacon/components/landing/landing.tsx","Landing")},70722:a=>{"use strict";a.exports=require("next/dist/shared/lib/invariant-error")},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},76760:a=>{"use strict";a.exports=require("node:path")},77068:a=>{"use strict";a.exports=require("next/dist/shared/lib/size-limit")},77476:(a,b,c)=>{"use strict";let d;c.d(b,{Landing:()=>an});var e=c(48249),f=c(67484),g=c(2116),h=c.n(g),i=c(90165),j=c(89216),k=c(47352),l=c(35471),m=c(49783),n=c(57684),o=c(20878),p=c(79291),q=c(55030),r=c(56024),s=c(85205),t=c(9880),u=c(69627),v=c(17313),w=c(47578),x=c(97432),y=c(48581),z=c(36274),A=c(38396),B=c(53061),C=c(41665),D=c(28470),E=c(86056),F=c(15741),G=c(33617),H=c(11527),I=c(33191),J=c(27267),K=c(33346),L=c(38476);c(71763),c(77702),c(82741);let M={contains:{stroke:"#7c7c8a",arrow:!0},relates:{stroke:"#8a8a95",dash:"4 4",arrow:!0},fk:{stroke:"#6b6b6b",arrow:!0},depends:{stroke:"#f5b942",dash:"6 4",arrow:!0},uses:{stroke:"#4ea1ff",dash:"4 4",opacity:.7},usesW:{stroke:"#ffb86b",dash:"4 4",opacity:.7},file:{stroke:"#ffffff",opacity:.16}};function N(a,b,c,d,e,f){let g=M[f];return{id:a,source:b,sourceHandle:c,target:d,targetHandle:e,style:{stroke:g.stroke,strokeWidth:1.5,strokeDasharray:g.dash,opacity:g.opacity??1},markerEnd:g.arrow?{type:q.TG.ArrowClosed,color:g.stroke,width:16,height:16}:void 0}}let O="!h-0 !w-0 !min-w-0 !border-0 !bg-transparent";function P(){return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(r.h7,{type:"target",position:q.yX.Top,id:"tt",className:O,isConnectable:!1}),(0,e.jsx)(r.h7,{type:"source",position:q.yX.Top,id:"st",className:O,isConnectable:!1}),(0,e.jsx)(r.h7,{type:"target",position:q.yX.Right,id:"tr",className:O,isConnectable:!1}),(0,e.jsx)(r.h7,{type:"source",position:q.yX.Right,id:"sr",className:O,isConnectable:!1}),(0,e.jsx)(r.h7,{type:"target",position:q.yX.Bottom,id:"tb",className:O,isConnectable:!1}),(0,e.jsx)(r.h7,{type:"source",position:q.yX.Bottom,id:"sb",className:O,isConnectable:!1}),(0,e.jsx)(r.h7,{type:"target",position:q.yX.Left,id:"tl",className:O,isConnectable:!1}),(0,e.jsx)(r.h7,{type:"source",position:q.yX.Left,id:"sl",className:O,isConnectable:!1})]})}function Q({layer:a}){return a?(0,e.jsxs)("span",{className:"flex shrink-0 items-center gap-1 rounded bg-white/10 px-1.5 py-0 text-[9px] font-semibold uppercase tracking-wide text-zinc-300",children:["BE"!==a&&(0,e.jsx)(s.A,{className:"size-2.5"}),"FE"!==a&&(0,e.jsx)(t.A,{className:"size-2.5"}),a]}):null}function R({status:a}){let b=J.nR[a];return(0,e.jsxs)("span",{className:(0,I.cn)("flex h-5 shrink-0 items-center gap-0.5 rounded border px-1.5 text-[10px] font-medium",b.className),children:[b.label,(0,e.jsx)(u.A,{className:"size-3 opacity-60"})]})}let S=["border-[#ff3860]/60 shadow-[0_0_0_1px_rgba(255,56,96,0.15)]","border-[#ff7a45]/50","border-amber-400/35","border-border"],T=["#ff3860","#ff7a45","#fbbf24","#a1a1aa"];function U({priority:a,rank:b}){let c=T[a]??T[3];return(0,e.jsxs)("div",{className:"flex w-5 shrink-0 flex-col items-center gap-1 self-stretch border-r border-white/[0.06] py-1.5",children:[null!=b&&(0,e.jsx)("span",{className:(0,I.cn)("flex size-4 shrink-0 items-center justify-center rounded text-[10px] font-bold leading-none",1===b?"bg-emerald-400 text-black":"bg-white/10 text-muted-foreground"),children:b}),(0,e.jsx)("span",{className:"w-[3px] flex-1 rounded-full",style:{background:c,opacity:.9}})]})}let V=[[/AUTH|SECURIT/,y.A],[/DATA|\bDB\b|SQL|STORE|STORAGE/,z.A],[/\bUI\b|FRONT|VIEW|CANVAS|BOARD|DESIGN/,A.A],[/MCP|\bAPI\b|INTEGRAT/,B.A],[/INTEL|GRAPH|\bCODE\b|SYMBOL|SEARCH/,C.A],[/PLAN|ROADMAP|REVIEW/,D.A]];function W({value:a,label:b,Icon:c,danger:d}){return(0,e.jsxs)("div",{className:"text-center",children:[(0,e.jsx)("div",{className:(0,I.cn)("text-[13px] font-semibold leading-none tracking-tight tabular-nums",d&&"text-rose-300"),children:a}),(0,e.jsxs)("div",{className:"mt-0.5 flex items-center justify-center gap-0.5 text-[8px] font-medium uppercase tracking-wide text-muted-foreground",children:[(0,e.jsx)(c,{className:"size-2.5"}),b]})]})}function X({importsIn:a}){let b=a>=16?5:a>=8?4:a>=4?3:a>=2?2:+(a>=1);return(0,e.jsxs)("span",{className:"flex items-center gap-1.5 text-[10px] text-muted-foreground",children:[(0,e.jsx)("span",{className:"flex items-center gap-0.5",children:[0,1,2,3,4].map(a=>(0,e.jsx)("span",{className:"size-1 rounded-full bg-sky-400",style:{opacity:a<b?.7:.18}},a))}),a>=8?"core dependency":a>=3?"shared":a>=1?"leaf":"isolated"]})}let Y="!h-0 !w-0 !min-w-0 !border-0 !bg-transparent",Z={road:function({data:a}){let b="bug"===a.kind,c="next"===a.ring?"border-emerald-400/70 shadow-[0_0_0_2px_rgba(52,211,153,0.35)]":"next2"===a.ring?"border-emerald-400/25":b?"border-rose-400/50 bg-rose-500/[0.05]":a.working?"border-sky-400/60 shadow-[0_0_0_1px_rgba(56,160,255,0.25)]":S[a.priority]??"border-border",d=b?"bg-rose-500/15 text-rose-300":"sub-task"===a.kind?"bg-zinc-500/15 text-zinc-300":"bg-sky-500/15 text-sky-300";return(0,e.jsxs)("div",{className:(0,I.cn)("relative flex rounded-lg border bg-card text-card-foreground shadow-sm",c),style:{width:a.w},children:[(0,e.jsx)(U,{priority:a.priority,rank:a.rank}),(0,e.jsxs)("div",{className:"min-w-0 flex-1 px-2.5 py-2.5",children:[(0,e.jsxs)("div",{className:"flex items-start gap-1.5",children:[(0,e.jsxs)("div",{className:"flex min-w-0 flex-1 items-start gap-1",children:[a.working&&(0,e.jsx)("span",{className:"mt-1.5 inline-block size-2 shrink-0 animate-pulse rounded-full bg-sky-400"}),(0,e.jsx)("span",{className:"text-sm font-medium leading-snug",children:a.title})]}),(0,e.jsx)(R,{status:a.status})]}),(0,e.jsxs)("div",{className:"mt-1.5 flex flex-wrap items-center gap-1.5",children:[(0,e.jsxs)("span",{className:(0,I.cn)("flex shrink-0 items-center gap-1 rounded px-1 py-0.5 text-[9px] font-semibold uppercase tracking-wide",d),children:[b&&(0,e.jsx)(v.A,{className:"size-2.5"}),a.kind]}),(0,e.jsx)(Q,{layer:a.layer}),a.category&&(0,e.jsx)("span",{className:(0,I.cn)("rounded px-1.5 py-0.5 text-[10px] font-semibold uppercase tracking-wide",(0,K.a2)(a.category)),children:a.category})]}),a.role&&(0,e.jsx)("div",{className:"mt-1.5 line-clamp-1 text-[10px] leading-snug text-muted-foreground",children:a.role}),(a.signals?.bugs||a.signals?.untested||a.signals?.auth)&&(0,e.jsxs)("div",{className:"mt-1.5 flex flex-wrap items-center gap-1",children:[a.signals?.bugs?(0,e.jsxs)("span",{className:"flex items-center gap-1 rounded bg-rose-500/15 px-1 text-[9px] font-semibold uppercase tracking-wide text-rose-300",children:[(0,e.jsx)(v.A,{className:"size-2.5"})," ",a.signals.bugs]}):null,a.signals?.untested?(0,e.jsxs)("span",{className:"flex items-center gap-1 rounded bg-amber-500/15 px-1 text-[9px] font-semibold uppercase tracking-wide text-amber-300",children:[(0,e.jsx)(w.A,{className:"size-2.5"})," ",a.signals.untested]}):null,a.signals?.auth?(0,e.jsxs)("span",{className:"flex items-center gap-1 rounded bg-red-500/15 px-1 text-[9px] font-semibold uppercase tracking-wide text-red-300",children:[(0,e.jsx)(x.A,{className:"size-2.5"})," auth"]}):null]})]}),(0,e.jsx)(P,{})]})},dbtable:function({data:a}){return(0,e.jsxs)("div",{className:"relative overflow-hidden rounded-xl border bg-[#161618]/95 text-card-foreground shadow-[0_18px_50px_-22px_rgba(0,0,0,0.9)] backdrop-blur",style:{width:a.w,borderColor:`${a.accent}59`},children:[(0,e.jsxs)("div",{className:"flex items-center gap-1.5 rounded-t-[11px] px-3 py-2",style:{background:`${a.accent}14`},children:[(0,e.jsx)("span",{className:"min-w-0 flex-1 font-mono text-[13px] font-semibold tracking-tight",children:a.name}),(0,e.jsx)("span",{className:"shrink-0 rounded-md border px-1.5 py-px font-mono text-[9px] font-semibold uppercase tracking-[0.14em]",style:{background:`${a.accent}1f`,borderColor:`${a.accent}55`,color:a.accent},children:a.diffLabel})]}),(0,e.jsx)("div",{className:"divide-y divide-white/[0.05]",children:a.columns.map(a=>{let b="added"===a.diff?{background:"#7bd38914",boxShadow:"inset 2px 0 0 #7bd389"}:"modified"===a.diff?{background:"#ffb86b14",boxShadow:"inset 2px 0 0 #ffb86b"}:void 0;return(0,e.jsxs)("div",{className:"flex items-center gap-2 px-3 py-[7px] text-[12px]",style:b,children:[a.pk?(0,e.jsx)(i.A,{className:"size-3 shrink-0 text-amber-300/90"}):a.fk?(0,e.jsx)(j.A,{className:"size-3 shrink-0 text-sky-400/80"}):(0,e.jsx)("span",{className:"size-3 shrink-0"}),(0,e.jsx)("span",{className:"shrink-0 whitespace-nowrap font-mono",children:a.name}),(0,e.jsx)("span",{className:"ml-auto min-w-0 truncate font-mono text-[11px] text-muted-foreground/80",children:a.type})]},a.name)})}),(0,e.jsx)(P,{})]})},endpoint:function({data:a}){let b=L.e6[a.method]??"#8a8a8a",c="#7bd389";return(0,e.jsxs)("div",{className:(0,I.cn)("relative flex items-center gap-2 rounded-lg border bg-[#161618]/95 px-2.5 py-1.5 text-card-foreground shadow-[0_12px_36px_-18px_rgba(0,0,0,0.9)] backdrop-blur",a.isNew?"border-dashed":"border-white/10"),style:{width:a.w,...a.isNew?{borderColor:`${c}66`,background:`${c}0f`}:{}},children:[(0,e.jsx)("span",{className:"rounded px-1.5 py-0.5 text-[10px] font-bold",style:{background:`${b}22`,color:b},children:a.method}),(0,e.jsx)("span",{className:"min-w-0 flex-1 truncate font-mono text-[11px]",children:a.path}),a.isNew&&(0,e.jsx)("span",{className:"shrink-0 rounded px-1 py-0.5 text-[8px] font-semibold uppercase",style:{background:`${c}26`,color:c},children:"new"}),(0,e.jsx)(P,{})]})},arch:function({data:a}){let b=(0,K.i3)(a.domain),c=a.bugs??0;return(0,e.jsxs)("div",{className:"relative rounded-lg border border-border bg-card px-3 py-2.5 text-card-foreground shadow-sm",style:{width:a.w},children:[(0,e.jsxs)("div",{className:"flex items-start gap-2.5",children:[(0,e.jsx)("span",{className:"mt-0.5 flex size-8 shrink-0 items-center justify-center rounded-lg",style:{background:`color-mix(in oklab, ${b} 18%, transparent)`,color:b},children:(0,f.createElement)(function(a){let b=a.toUpperCase();for(let[a,c]of V)if(a.test(b))return c;return E.A}(a.domain),{className:"size-4"})}),(0,e.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,e.jsx)("div",{className:"text-sm font-medium leading-snug",children:a.title}),(0,e.jsxs)("div",{className:"mt-1 flex flex-wrap items-center gap-1.5",children:[(0,e.jsx)("span",{className:(0,I.cn)("rounded px-1.5 py-0.5 text-[10px] font-semibold uppercase tracking-wide",(0,K.a2)(a.domain)),children:a.domain}),(0,e.jsx)(Q,{layer:a.layer})]})]}),(0,e.jsx)(R,{status:a.status})]}),a.role&&(0,e.jsx)("div",{className:"mt-2 line-clamp-1 text-[10.5px] leading-snug text-muted-foreground",children:a.role}),(0,e.jsxs)("div",{className:"mt-2.5 grid grid-cols-4 gap-1 border-t border-white/[0.07] pt-2",children:[(0,e.jsx)(W,{value:a.files??0,label:"files",Icon:F.A}),(0,e.jsx)(W,{value:a.in??"—",label:"in",Icon:G.A}),(0,e.jsx)(W,{value:a.out??"—",label:"out",Icon:H.A}),(0,e.jsx)(W,{value:c,label:"bug",Icon:v.A,danger:c>0})]}),null!=a.in&&(0,e.jsx)("div",{className:"mt-2",children:(0,e.jsx)(X,{importsIn:a.in})}),(0,e.jsx)(P,{})]})},file:function({data:a}){let b=5+.5*Math.min(a.inDegree,26),c=2*!!a.layer,d="FE"===a.layer?"#5AC8FA":"BE"===a.layer?"#3ECF8E":void 0;return(0,e.jsxs)("div",{className:"relative flex flex-col items-center",children:[(0,e.jsx)(r.h7,{type:"target",position:q.yX.Top,id:"tt",isConnectable:!1,className:Y,style:{top:b+c,left:"50%"}}),(0,e.jsx)("span",{"aria-hidden":!0,className:"rounded-full",style:{padding:c,background:d,boxShadow:a.untested?"0 0 0 2px rgba(251,191,36,0.65)":"none"},children:(0,e.jsx)("span",{"aria-hidden":!0,className:"block rounded-full",style:{width:2*b,height:2*b,backgroundColor:a.dirColor}})}),(0,e.jsx)("span",{className:"pointer-events-none mt-1 max-w-44 truncate text-[10px] leading-tight text-foreground/75",children:a.label}),(0,e.jsx)(r.h7,{type:"source",position:q.yX.Bottom,id:"sb",isConnectable:!1,className:Y,style:{top:b+c,bottom:"auto",left:"50%"}})]})},lane:function({data:a}){return(0,e.jsx)("div",{className:(0,I.cn)("pointer-events-none rounded-2xl border",a.colored?(0,K.xZ)(a.label):"border-white/[0.08] bg-white/[0.015]"),style:{width:a.w,height:a.h},children:(0,e.jsxs)("div",{className:"flex items-baseline gap-2 px-3 py-1",children:[(0,e.jsx)("span",{className:"text-[11px] font-semibold uppercase tracking-wide text-muted-foreground/80",children:a.label}),null!=a.count&&(0,e.jsx)("span",{className:"text-[10px] tabular-nums text-muted-foreground/50",children:a.count})]})})}};function $({label:a,height:b,nodes:c,edges:d}){return(0,e.jsxs)("div",{className:"bm-window glass",children:[(0,e.jsxs)("div",{className:"bm-tabs",children:[(0,e.jsx)("span",{className:"h-3 w-3 rounded-full",style:{background:"#ff7a45",boxShadow:"0 0 7px rgba(255,122,69,.7)"}}),(0,e.jsx)("span",{className:"h-3 w-3 rounded-full",style:{background:"oklch(1 0 0 / .16)"}}),(0,e.jsx)("span",{className:"h-3 w-3 rounded-full",style:{background:"oklch(1 0 0 / .16)"}}),(0,e.jsx)("span",{className:"w-mono ml-3 text-[0.72rem] w-muted",children:a}),(0,e.jsx)("span",{className:"w-mono ml-auto hidden text-[0.66rem] text-muted-foreground/70 sm:block",children:"drag the cards →"})]}),(0,e.jsx)("div",{className:"bm-rf",style:{height:b},children:(0,e.jsx)(r.Gc,{defaultNodes:c,defaultEdges:d,nodeTypes:Z,colorMode:"dark",fitView:!0,fitViewOptions:{padding:.06},minZoom:.4,maxZoom:1.6,nodesConnectable:!1,elementsSelectable:!1,nodesFocusable:!1,edgesFocusable:!1,zoomOnScroll:!1,panOnScroll:!1,preventScrolling:!1,zoomOnDoubleClick:!1,proOptions:{hideAttribution:!0},children:(0,e.jsx)(r.VS,{variant:r._5.Dots,gap:20,size:1,color:"rgba(255,255,255,0.10)"})})})]})}let _=[N("e1","magic","sb","verify","tt","contains"),N("e2","rate","sb","audit","tt","contains"),N("e3","billing","sl","magic","tr","depends")],aa=[{id:"users",type:"dbtable",position:{x:0,y:40},data:{w:300,name:"users",accent:"#ffb86b",diffLabel:"modify",columns:[{name:"id",type:"uuid",pk:!0},{name:"email",type:"text"},{name:"last_login_at",type:"timestamp",diff:"modified"},{name:"created_at",type:"timestamp"}]}},{id:"magic",type:"dbtable",position:{x:380,y:16},data:{w:320,name:"magic_links",accent:"#7bd389",diffLabel:"new",columns:[{name:"id",type:"uuid",pk:!0,diff:"added"},{name:"token_hash",type:"text",diff:"added"},{name:"user_id",type:"→ users",fk:!0,diff:"added"},{name:"expires_at",type:"timestamp",diff:"added"}]}},{id:"sessions",type:"dbtable",position:{x:790,y:52},data:{w:300,name:"sessions",accent:"#7bd389",diffLabel:"new",columns:[{name:"id",type:"uuid",pk:!0,diff:"added"},{name:"user_id",type:"→ users",fk:!0,diff:"added"},{name:"expires_at",type:"timestamp",diff:"added"}]}},{id:"ep-me",type:"endpoint",position:{x:16,y:252},data:{w:268,method:"GET",path:"/api/users/me"}},{id:"ep-login",type:"endpoint",position:{x:396,y:236},data:{w:298,method:"POST",path:"/api/auth/login",isNew:!0}},{id:"ep-del",type:"endpoint",position:{x:806,y:256},data:{w:268,method:"DELETE",path:"/api/auth/session"}}],ab=[N("f1","magic","sl","users","tr","fk"),N("f2","sessions","sl","users","tr","fk"),N("u1","ep-me","st","users","tb","uses"),N("u2","ep-login","st","magic","tb","usesW"),N("u3","ep-del","st","sessions","tb","usesW")],ac=[N("a1","daemon","sb","codegraph","tt","contains"),N("a2","mcp","sr","plan","tl","relates"),N("a3","plan","sl","draft","tb","relates"),N("a4","dbcanvas","sr","draft","tl","relates"),N("a5","daemon","sl","prisma","tr","relates"),N("a6","mapcanvas","sr","prisma","tl","relates")],ad={lib:{color:"#7bd389",cx:220,cy:170},graph:{color:"#c792ea",cx:720,cy:150},plan:{color:"#7dd3fc",cx:1200,cy:180},api:{color:"#ffb86b",cx:220,cy:580},intel:{color:"#2dd4bf",cx:720,cy:560},notes:{color:"#ff9ec7",cx:1200,cy:580},bin:{color:"#ff8a5b",cx:220,cy:980},drizzle:{color:"#5eead4",cx:720,cy:980},tests:{color:"#9aa6b2",cx:1200,cy:980}},ae=(d={},[{id:"db",label:"lib/db.ts",dir:"lib",deg:18,layer:"BE"},{id:"utils",label:"lib/utils.ts",dir:"lib",deg:12},{id:"ws",label:"lib/workspaces.ts",dir:"lib",deg:8,layer:"BE"},{id:"consts",label:"lib/constants.ts",dir:"lib",deg:6},{id:"layer",label:"lib/layer.ts",dir:"lib",deg:5},{id:"mut",label:"lib/mutations.ts",dir:"lib",deg:3,layer:"BE",untested:!0},{id:"catcolor",label:"lib/category-color.ts",dir:"lib",deg:3},{id:"ncard",label:"node-card.tsx",dir:"graph",deg:7,layer:"FE"},{id:"handles",label:"handles.tsx",dir:"graph",deg:6,layer:"FE"},{id:"dbtable",label:"db-table-node.tsx",dir:"graph",deg:3,layer:"FE"},{id:"mapc",label:"map-client.tsx",dir:"graph",deg:2,layer:"FE"},{id:"dbmapc",label:"db-map-client.tsx",dir:"graph",deg:2,layer:"FE"},{id:"epnode",label:"endpoint-node.tsx",dir:"graph",deg:2,layer:"FE"},{id:"dsidebar",label:"detail-sidebar.tsx",dir:"graph",deg:2,layer:"FE"},{id:"mdview",label:"markdown-view.tsx",dir:"plan",deg:4,layer:"FE"},{id:"planws",label:"plan-workspace.tsx",dir:"plan",deg:2,layer:"FE"},{id:"annop",label:"annotation-panel.tsx",dir:"plan",deg:2,layer:"FE"},{id:"planbar",label:"plan-bar.tsx",dir:"plan",deg:2,layer:"FE"},{id:"planhist",label:"plan-history-view.tsx",dir:"plan",deg:1,layer:"FE"},{id:"ingR",label:"api/ingest/route.ts",dir:"api",deg:1,layer:"BE"},{id:"draftR",label:"api/draft/route.ts",dir:"api",deg:1,layer:"BE"},{id:"planR",label:"api/plan/route.ts",dir:"api",deg:1,layer:"BE"},{id:"streamR",label:"api/stream/route.ts",dir:"api",deg:1,layer:"BE"},{id:"nodesR",label:"api/nodes/route.ts",dir:"api",deg:1,layer:"BE"},{id:"baR",label:"api/board-annotations/route.ts",dir:"api",deg:1,layer:"BE"},{id:"cgraph",label:"intel/code-graph.ts",dir:"intel",deg:6,layer:"BE"},{id:"iingest",label:"intel/ingest.ts",dir:"intel",deg:3,layer:"BE"},{id:"pipe",label:"intel/pipeline.ts",dir:"intel",deg:2,layer:"BE"},{id:"merge",label:"intel/merge.ts",dir:"intel",deg:2,layer:"BE"},{id:"watch",label:"intel/watch-inline.ts",dir:"intel",deg:2,layer:"BE",untested:!0},{id:"iconfig",label:"intel/config.ts",dir:"intel",deg:2,layer:"BE"},{id:"notes",label:"lib/notes.ts",dir:"notes",deg:3,layer:"BE"},{id:"neditor",label:"note-editor.tsx",dir:"notes",deg:2,layer:"FE"},{id:"ndrawer",label:"notes-drawer.tsx",dir:"notes",deg:2,layer:"FE"},{id:"nmark",label:"note-markdown.ts",dir:"notes",deg:2},{id:"mcp",label:"bin/mcp.ts",dir:"bin",deg:1,layer:"BE"},{id:"beacon",label:"bin/beacon.ts",dir:"bin",deg:1,layer:"BE"},{id:"hook",label:"bin/hook.ts",dir:"bin",deg:1,layer:"BE"},{id:"stophook",label:"bin/stop-hook.ts",dir:"bin",deg:1,layer:"BE"},{id:"doctor",label:"bin/doctor.ts",dir:"bin",deg:1,layer:"BE"},{id:"schema",label:"drizzle/schema.ts",dir:"drizzle",deg:3,layer:"BE"},{id:"provision",label:"drizzle/provision.ts",dir:"drizzle",deg:2,layer:"BE"},{id:"tmapops",label:"map-ops.test.ts",dir:"tests",deg:0},{id:"tingest",label:"ingest.test.ts",dir:"tests",deg:0},{id:"tdbdiff",label:"db-diff.test.ts",dir:"tests",deg:0},{id:"trisk",label:"risk-badges.test.ts",dir:"tests",deg:0}].map(a=>{let b=d[a.dir]=(d[a.dir]??-1)+1,c=ad[a.dir],e=2.399963*b,f=0===b?0:52+20*b;return{id:a.id,type:"file",position:{x:Math.round(c.cx+Math.cos(e)*f),y:Math.round(c.cy+Math.sin(e)*f)},data:{label:a.label,inDegree:a.deg,dirColor:c.color,layer:a.layer,untested:a.untested}}})),af=[["mut","db"],["mut","utils"],["ws","utils"],["layer","utils"],["db","ws"],["db","schema"],["ncard","handles"],["ncard","consts"],["ncard","layer"],["ncard","catcolor"],["mapc","ncard"],["mapc","utils"],["dbmapc","dbtable"],["dbmapc","db"],["dbtable","handles"],["dbtable","consts"],["epnode","handles"],["dsidebar","ncard"],["planws","ncard"],["planws","mdview"],["planws","utils"],["annop","mdview"],["planbar","utils"],["planhist","mdview"],["ndrawer","neditor"],["ndrawer","notes"],["neditor","nmark"],["notes","db"],["ingR","db"],["ingR","ws"],["draftR","db"],["planR","ws"],["streamR","ws"],["nodesR","db"],["baR","db"],["iingest","db"],["iingest","cgraph"],["pipe","cgraph"],["merge","cgraph"],["watch","cgraph"],["cgraph","utils"],["iconfig","utils"],["mcp","db"],["mcp","ws"],["beacon","ws"],["hook","ws"],["stophook","ws"],["doctor","ws"],["provision","schema"],["tmapops","db"],["tingest","iingest"],["tdbdiff","db"],["trisk","ncard"]].map(([a,b],c)=>N(`g${c}`,a,"sb",b,"tt","file")),ag=[{key:"Roadmap",route:"/map",title:"Steer the agent's work order",body:"Features, sub-tasks and dependencies as a graph — priority on the border, a layer stripe for frontend or backend, and the work-on-next ring marking the agent's next move.",board:(0,e.jsx)($,{label:"/map \xb7 roadmap",height:600,nodes:[{id:"lane-a",type:"lane",position:{x:0,y:0},data:{w:360,h:580,label:"auth",count:3,colored:!0},draggable:!1,selectable:!1,zIndex:0},{id:"lane-b",type:"lane",position:{x:390,y:0},data:{w:360,h:580,label:"billing",count:3,colored:!0},draggable:!1,selectable:!1,zIndex:0},{id:"lane-c",type:"lane",position:{x:780,y:0},data:{w:360,h:580,label:"search",count:3,colored:!0},draggable:!1,selectable:!1,zIndex:0},{id:"magic",type:"road",position:{x:30,y:54},zIndex:1,data:{w:300,title:"Magic-link sign-in",role:"Email a one-time link, no passwords",kind:"feature",category:"auth",status:"IN_PROGRESS",priority:1,layer:"FE",ring:"next",rank:1,working:!0}},{id:"verify",type:"road",position:{x:52,y:250},zIndex:1,data:{w:268,title:"Issue + verify token",kind:"sub-task",status:"PENDING",priority:2,layer:"FE"}},{id:"pwreset",type:"road",position:{x:30,y:392},zIndex:1,data:{w:300,title:"Password reset",role:"Reuse the magic-link issuer",kind:"feature",category:"auth",status:"DONE",priority:2,layer:"FE"}},{id:"billing",type:"road",position:{x:420,y:54},zIndex:1,data:{w:300,title:"Billing portal",role:"Stripe customer portal + invoices",kind:"feature",category:"billing",status:"PENDING",priority:0,layer:"FS",signals:{untested:2,auth:!0}}},{id:"webhook",type:"road",position:{x:442,y:286},zIndex:1,data:{w:288,title:"Webhook handler",kind:"feature",category:"billing",status:"PENDING",priority:2,layer:"BE",ring:"next2",rank:2}},{id:"invoices",type:"road",position:{x:420,y:432},zIndex:1,data:{w:300,title:"Invoice PDF export",kind:"feature",category:"billing",status:"DONE",priority:2,layer:"BE"}},{id:"rate",type:"road",position:{x:810,y:54},zIndex:1,data:{w:300,title:"Rate limiter",role:"Token bucket on the public API",kind:"feature",category:"search",status:"PENDING",priority:2,layer:"BE"}},{id:"audit",type:"road",position:{x:832,y:250},zIndex:1,data:{w:268,title:"Write audit log rows",kind:"sub-task",status:"DONE",priority:3,layer:"BE"}},{id:"bug",type:"road",position:{x:810,y:392},zIndex:1,data:{w:300,title:"Token leaks into request logs",kind:"bug",category:"search",status:"PENDING",priority:0,layer:"BE",signals:{auth:!0}}}],edges:_})},{key:"Database",route:"/db",title:"Schema as a draft, diffed",body:"Proposed tables and endpoints diffed against your live schema — new in green, changed in amber. Foreign keys and endpoint→table usage draw themselves.",board:(0,e.jsx)($,{label:"/db \xb7 plan vs. repo",height:520,nodes:aa,edges:ab})},{key:"Architecture",route:"/map",title:"The subsystems, mapped",body:"Real architecture components grouped into domain regions, each with the role it plays — the high-level map the agent keeps current as the codebase grows.",board:(0,e.jsx)($,{label:"/map \xb7 architecture",height:760,nodes:[{id:"r-ui",type:"lane",position:{x:0,y:0},data:{w:348,h:548,label:"UI",count:3,colored:!0},draggable:!1,selectable:!1,zIndex:0},{id:"r-data",type:"lane",position:{x:392,y:0},data:{w:348,h:548,label:"DATA",count:3,colored:!0},draggable:!1,selectable:!1,zIndex:0},{id:"r-intel",type:"lane",position:{x:784,y:0},data:{w:348,h:372,label:"INTEL",count:2,colored:!0},draggable:!1,selectable:!1,zIndex:0},{id:"r-plan",type:"lane",position:{x:784,y:404},data:{w:348,h:196,label:"PLAN",count:1,colored:!0},draggable:!1,selectable:!1,zIndex:0},{id:"r-mcp",type:"lane",position:{x:392,y:580},data:{w:348,h:196,label:"MCP",count:1,colored:!0},draggable:!1,selectable:!1,zIndex:0},{id:"planui",type:"arch",position:{x:20,y:44},zIndex:1,data:{w:308,title:"Plan UI (/plan)",domain:"UI",status:"KEEP",layer:"FE",role:"Split-screen review page: annotation panel + roadmap / database canvases, tabbed.",files:5,in:0,out:6}},{id:"mapcanvas",type:"arch",position:{x:20,y:210},zIndex:1,data:{w:308,title:"Roadmap canvas (/map)",domain:"UI",status:"KEEP",layer:"FE",role:"React Flow roadmap / architecture canvases — node cards, detail sidebar, edge editing.",files:6,in:1,out:9}},{id:"dbcanvas",type:"arch",position:{x:20,y:376},zIndex:1,data:{w:308,title:"DB design canvas",domain:"UI",status:"KEEP",layer:"FE",role:"Tables + endpoints board with a distinct draft layer and approve / discard actions.",files:6,in:0,out:7}},{id:"ws",type:"arch",position:{x:412,y:44},zIndex:1,data:{w:308,title:"Workspaces (multi-repo)",domain:"DATA",status:"KEEP",layer:"BE",role:"Per-repo registry + data dir + sqlite, the active workspace, request-pin, db self-heal.",files:1,in:12,out:4}},{id:"prisma",type:"arch",position:{x:412,y:210},zIndex:1,data:{w:308,title:"Drizzle data layer",domain:"DATA",status:"KEEP",layer:"BE",role:"Workspace-resolving libSQL client plus node/edge mutations and the roadmap read-model.",files:6,in:18,out:5}},{id:"draft",type:"arch",position:{x:412,y:376},zIndex:1,data:{w:308,title:"Draft store",domain:"DATA",status:"KEEP",layer:"BE",role:"The proposed-schema draft layer; approve → promote into the real DB tables.",files:4,in:3,out:4}},{id:"daemon",type:"arch",position:{x:808,y:44},zIndex:1,data:{w:308,title:"Code-intelligence daemon",domain:"INTEL",status:"KEEP",layer:"BE",bugs:1,role:"Per-workspace watchers → polyglot, multi-root, incremental code-graph build → ingest.",files:6,in:2,out:9}},{id:"codegraph",type:"arch",position:{x:808,y:210},zIndex:1,data:{w:308,title:"Code graph & files canvas",domain:"INTEL",status:"KEEP",layer:"BE",role:"Polyglot import-edge index with blast-radius; the hub/lang-aware files canvas.",files:6,in:4,out:6}},{id:"plan",type:"arch",position:{x:808,y:448},zIndex:1,data:{w:308,title:"Plan review loop",domain:"PLAN",status:"KEEP",layer:"BE",role:"Receives proposed plans, blocks for the verdict, bundles annotations + board edits.",files:6,in:1,out:6}},{id:"mcp",type:"arch",position:{x:412,y:624},zIndex:1,data:{w:308,title:"MCP server",domain:"MCP",status:"KEEP",layer:"BE",role:"stdio server exposing beacon_propose_plan / context_for_feature; pins every request.",files:1,in:0,out:9}}],edges:ac})},{key:"Files",route:"code-graph",title:"See your codebase, live",body:"A polyglot import graph, Obsidian-style: every file a dot sized by how many files import it, colored by directory, with a layer ring and an amber ring on anything no test imports.",board:(0,e.jsx)($,{label:"code-graph \xb7 46 files \xb7 52 imports",height:720,nodes:ae,edges:af})}];function ah(){let[a,b]=(0,f.useState)("Roadmap"),c=ag.find(b=>b.key===a);return(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{className:"mb-9 flex flex-wrap items-center justify-center gap-2",children:ag.map(c=>(0,e.jsx)("button",{className:"tour-tab","data-active":a===c.key,onClick:()=>b(c.key),children:c.key},c.key))}),(0,e.jsx)("div",{className:"tour-fade mx-auto w-full max-w-[1360px]",children:c.board},`${c.key}-board`),(0,e.jsxs)("div",{className:"tour-fade mx-auto mt-6 max-w-2xl text-center",children:[(0,e.jsxs)("p",{className:"text-[1.02rem] font-semibold tracking-tight",children:[(0,e.jsx)("span",{className:"w-mono text-[0.9rem] w-signal",children:c.route}),(0,e.jsx)("span",{className:"mx-2 w-muted",children:"\xb7"}),c.title]}),(0,e.jsx)("p",{className:"w-muted mt-1.5 text-[0.92rem] leading-relaxed",children:c.body})]},c.key)]})}let ai=c(49183).EO;function aj({d:a,color:b}){return(0,e.jsx)("svg",{width:15,height:15,viewBox:"0 0 24 24",fill:b??"currentColor","aria-hidden":!0,children:(0,e.jsx)("path",{d:a})})}let ak=[{n:"01",title:"Propose",body:(0,e.jsxs)(e.Fragment,{children:["Ask the session in your terminal to plan a feature. It calls"," ",(0,e.jsx)("span",{className:"w-mono text-foreground",children:"beacon_propose_plan"})," and blocks until you decide. No fire-and-forget."]}),code:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("span",{className:"w-signal",children:"›"})," plan: magic-link sign-in"]})},{n:"02",title:"Review",body:"The plan renders as feature nodes, tables, and endpoints. Select any passage to annotate it, mark it for deletion, or edit the boards directly.",code:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("span",{className:"text-foreground",children:"/plan"})," \xb7 2 features \xb7 1 table"]})},{n:"03",title:"Verdict",body:"Approve persists the drafts. Feedback sends your notes back and the agent re-plans. Discard throws it away. Every plan is archived either way.",code:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("span",{style:{color:"#6ee7b7"},children:"✓ approved"})," \xb7 drafts persisted"]})}],al=[{label:"Reuse first",body:"Beacon blocks duplicate features. Check the map before you create."},{label:"Design data first",body:(0,e.jsxs)(e.Fragment,{children:["Tables and endpoints before code. Review the schema as a draft on"," ",(0,e.jsx)("span",{className:"text-foreground",children:"/db"}),"."]})},{label:"Close every loop",body:"Register finished work so the map stays accurate next session."}];function am(){let a=(0,f.useRef)(null),[b,c]=(0,f.useState)(1);return(0,e.jsxs)("div",{className:"bm-window glass",children:[(0,e.jsxs)("div",{className:"bm-tabs",children:[(0,e.jsx)("span",{className:"h-3 w-3 rounded-full",style:{background:"#ff7a45",boxShadow:"0 0 7px rgba(255,122,69,.7)"}}),(0,e.jsx)("span",{className:"h-3 w-3 rounded-full",style:{background:"oklch(1 0 0 / .16)"}}),(0,e.jsx)("span",{className:"h-3 w-3 rounded-full",style:{background:"oklch(1 0 0 / .16)"}}),(0,e.jsx)("span",{className:"bm-tab active ml-2",children:"Roadmap"}),(0,e.jsx)("span",{className:"bm-tab",children:"Database"}),(0,e.jsx)("span",{className:"w-mono ml-auto hidden text-[0.66rem] w-muted min-[400px]:block",children:"/plan \xb7 review"})]}),(0,e.jsx)("div",{className:"bm-canvas",ref:a,style:{aspectRatio:"620 / 392"},children:(0,e.jsxs)("div",{className:"bm-stage",style:{width:620,height:392,transform:`scale(${b})`},children:[(0,e.jsxs)("svg",{className:"bm-edges",width:620,height:392,viewBox:"0 0 620 392","aria-hidden":!0,children:[(0,e.jsx)("path",{className:"bm-edge",style:{animationDelay:"1s"},pathLength:1,d:"M 135 111 C 135 148 165 168 165 210"}),(0,e.jsx)("path",{className:"bm-edge",style:{animationDelay:"1.15s"},pathLength:1,d:"M 244 78 C 300 78 320 150 374 150"}),(0,e.jsx)("path",{className:"bm-edge bm-edge-tail",style:{animationDelay:"1.7s"},pathLength:1,d:"M 596 205 C 596 230 576 242 558 252"})]}),(0,e.jsxs)("div",{className:"bm-node bm-node-draft",style:{left:26,top:38,width:218,animationDelay:".45s"},children:[(0,e.jsx)("div",{className:"bm-title",children:"Magic-link sign-in"}),(0,e.jsx)("div",{className:"bm-role",children:"Email a one-time link, no passwords"}),(0,e.jsxs)("div",{className:"bm-chiprow",children:[(0,e.jsx)("span",{className:"chip chip-sky",children:"feature"}),(0,e.jsx)("span",{className:"chip chip-violet",children:"auth"}),(0,e.jsx)("span",{className:"chip chip-amber",style:{marginLeft:"auto"},children:"Pending"})]})]}),(0,e.jsxs)("div",{className:"bm-node bm-node-draft",style:{left:70,top:210,width:190,animationDelay:".75s"},children:[(0,e.jsx)("div",{className:"bm-title",children:"Issue + verify token"}),(0,e.jsxs)("div",{className:"bm-chiprow",children:[(0,e.jsx)("span",{className:"chip chip-zinc",children:"sub-task"}),(0,e.jsx)("span",{className:"chip chip-amber",style:{marginLeft:"auto"},children:"Pending"})]})]}),(0,e.jsxs)("div",{className:"bm-table",style:{left:374,top:96,width:222,animationDelay:".6s"},children:[(0,e.jsxs)("div",{className:"bm-table-head",children:[(0,e.jsx)("span",{children:"auth_tokens"}),(0,e.jsx)("span",{className:"chip chip-green",children:"new"})]}),(0,e.jsxs)("div",{className:"bm-trow",children:[(0,e.jsx)(i.A,{size:9,style:{color:"#fde68a"}}),(0,e.jsx)("span",{children:"id"}),(0,e.jsx)("span",{className:"t",children:"uuid"})]}),(0,e.jsxs)("div",{className:"bm-trow",children:[(0,e.jsx)("span",{style:{width:9}}),(0,e.jsx)("span",{children:"token_hash"}),(0,e.jsx)("span",{className:"t",children:"text"})]}),(0,e.jsxs)("div",{className:"bm-trow",children:[(0,e.jsx)(j.A,{size:9,style:{color:"#7dd3fc"}}),(0,e.jsx)("span",{children:"user_id"}),(0,e.jsx)("span",{className:"t",children:"→ users"})]}),(0,e.jsxs)("div",{className:"bm-trow",children:[(0,e.jsx)("span",{style:{width:9}}),(0,e.jsx)("span",{children:"expires_at"}),(0,e.jsx)("span",{className:"t",children:"timestamp"})]})]}),(0,e.jsx)("span",{className:"bm-dot",style:{left:135,top:111,animationDelay:"1s"}}),(0,e.jsx)("span",{className:"bm-dot",style:{left:165,top:210,animationDelay:"1.3s"}}),(0,e.jsx)("span",{className:"bm-dot",style:{left:244,top:78,animationDelay:"1.15s"}}),(0,e.jsx)("span",{className:"bm-dot",style:{left:374,top:150,animationDelay:"1.45s"}}),(0,e.jsx)("span",{className:"bm-pin",style:{left:596,top:201,animationDelay:"1.55s"},children:"1"}),(0,e.jsxs)("div",{className:"bm-bubble",style:{left:356,top:252,width:226,animationDelay:"1.85s"},children:[(0,e.jsx)("div",{className:"lab",children:"annotation \xb7 you"}),(0,e.jsx)("div",{className:"txt",children:"Expire links after 15 min, not 24 h."})]}),(0,e.jsxs)("div",{className:"bm-bar",style:{animationDelay:"2.15s"},children:[(0,e.jsx)(k.A,{size:11,style:{color:"#6ee7b7"}}),(0,e.jsx)("span",{className:"ready",children:"plan ready \xb7 waiting for your verdict"}),(0,e.jsxs)("span",{className:"bm-btn bm-btn-approve",children:[(0,e.jsx)(l.A,{size:10})," Approve"]}),(0,e.jsxs)("span",{className:"bm-btn bm-btn-ghost",children:[(0,e.jsx)(m.A,{size:10})," Feedback"]}),(0,e.jsxs)("span",{className:"bm-btn bm-btn-ghost",children:[(0,e.jsx)(n.A,{size:10})," Discard"]})]})]})})]})}function an(){let a=(0,f.useRef)(null),[b,c]=(0,f.useState)(null),d=a=>(0,e.jsx)("button",{onClick:()=>{navigator.clipboard?.writeText(ai),c(a),setTimeout(()=>c(null),1600)},className:"glass-soft w-hover grid h-8 w-8 shrink-0 place-items-center rounded-md","aria-label":"Copy install command",children:b===a?(0,e.jsx)(l.A,{size:13,style:{color:"#ff7a45"}}):(0,e.jsx)(o.A,{size:13,className:"w-muted"})});return(0,e.jsxs)("div",{className:"welcome",ref:a,children:[(0,e.jsx)("div",{className:"welcome-bg","aria-hidden":!0}),(0,e.jsx)("header",{className:"fixed inset-x-0 top-0 z-50",children:(0,e.jsx)("div",{className:"mx-auto max-w-6xl px-6",children:(0,e.jsxs)("div",{className:"w-load mt-4 glass flex items-center justify-between rounded-full py-2.5 pl-5 pr-3",style:{animationDelay:".05s"},children:[(0,e.jsxs)(h(),{href:"#top",className:"flex items-center gap-2.5",children:[(0,e.jsx)(p._,{size:20,className:"text-foreground"}),(0,e.jsx)("span",{className:"font-semibold tracking-tight",children:"Beacon"})]}),(0,e.jsxs)("nav",{className:"flex items-center gap-4 text-sm w-muted sm:gap-6",children:[(0,e.jsx)("a",{href:"#how",className:"transition-colors hover:text-foreground",children:"The loop"}),(0,e.jsx)("a",{href:"#quickstart",className:"hidden transition-colors hover:text-foreground sm:block",children:"Quickstart"}),(0,e.jsx)("a",{href:"/docs",className:"transition-colors hover:text-foreground",children:"Docs"}),(0,e.jsxs)("a",{href:"https://github.com/wenzorithelly/beacon",target:"_blank",rel:"noreferrer",className:"glass-soft w-hover inline-flex items-center gap-2 rounded-full py-1.5 pl-3 pr-3.5 text-foreground","aria-label":"Beacon on GitHub",children:[(0,e.jsx)(aj,{d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"}),(0,e.jsx)("span",{className:"hidden sm:inline",children:"GitHub"})]})]})]})})}),(0,e.jsx)("span",{id:"top"}),(0,e.jsxs)("section",{className:"px-6 pb-16 pt-20 md:pt-24",children:[(0,e.jsxs)("div",{className:"mx-auto grid max-w-6xl items-center gap-12 lg:grid-cols-[1fr_1.1fr]",children:[(0,e.jsxs)("div",{className:"min-w-0",children:[(0,e.jsxs)("div",{className:"w-load glass-soft mb-6 inline-flex items-center gap-2 rounded-full px-3.5 py-1.5",style:{animationDelay:".12s"},children:[(0,e.jsx)("span",{className:"w-live h-1.5 w-1.5 rounded-full",style:{background:"#ff7a45",boxShadow:"0 0 8px #ff7a45"}}),(0,e.jsx)("span",{className:"w-mono w-eyebrow w-muted",children:"See your codebase \xb7 steer your agent"})]}),(0,e.jsxs)("h1",{className:"w-load font-semibold text-[clamp(2.2rem,4.6vw,3.4rem)]",style:{letterSpacing:"-0.025em",lineHeight:1.06,animationDelay:".18s"},children:["Give your coding agent ",(0,e.jsx)("span",{className:"w-signal",children:"eyes"})," and hands."]}),(0,e.jsx)("p",{className:"w-load w-muted mt-5 max-w-md text-[1.02rem] leading-relaxed",style:{animationDelay:".26s"},children:"The session in your terminal is the brain. Beacon is where its plans become visible: features, tables, and endpoints on a canvas you annotate, edit, and approve with one click."}),(0,e.jsxs)("div",{className:"w-load mt-8",style:{animationDelay:".34s"},children:[(0,e.jsxs)("div",{className:"glass flex max-w-lg items-center gap-3 rounded-lg py-2.5 pl-4 pr-2",children:[(0,e.jsxs)("code",{className:"w-mono w-scrollbar-none min-w-0 flex-1 overflow-x-auto whitespace-nowrap text-[0.85rem]",children:[(0,e.jsx)("span",{className:"w-signal select-none",children:"$"}),(0,e.jsx)("span",{className:"ml-2",children:ai}),(0,e.jsx)("span",{className:"w-caret ml-1 inline-block h-3.5 w-1.5 align-middle",style:{background:"#ff7a45"}})]}),d("hero")]}),(0,e.jsxs)("p",{className:"w-mono w-muted mt-3 text-[0.78rem]",children:["then run ",(0,e.jsx)("span",{className:"text-foreground",children:"beacon"})," inside any repo"]})]}),(0,e.jsxs)("div",{className:"w-load mt-9 flex flex-wrap items-center gap-x-5 gap-y-2",style:{animationDelay:".42s"},children:[(0,e.jsx)("span",{className:"w-mono w-eyebrow w-muted",children:"Works with"}),(0,e.jsxs)("span",{className:"flex items-center gap-2 text-sm text-foreground/90",children:[(0,e.jsx)(aj,{d:"m4.7144 15.9555 4.7174-2.6471.079-.2307-.079-.1275h-.2307l-.7893-.0486-2.6956-.0729-2.3375-.0971-2.2646-.1214-.5707-.1215-.5343-.7042.0546-.3522.4797-.3218.686.0608 1.5179.1032 2.2767.1578 1.6514.0972 2.4468.255h.3886l.0546-.1579-.1336-.0971-.1032-.0972L6.973 9.8356l-2.55-1.6879-1.3356-.9714-.7225-.4918-.3643-.4614-.1578-1.0078.6557-.7225.8803.0607.2246.0607.8925.686 1.9064 1.4754 2.4893 1.8336.3643.3035.1457-.1032.0182-.0728-.164-.2733-1.3539-2.4467-1.445-2.4893-.6435-1.032-.17-.6194c-.0607-.255-.1032-.4674-.1032-.7285L6.287.1335 6.6997 0l.9957.1336.419.3642.6192 1.4147 1.0018 2.2282 1.5543 3.0296.4553.8985.2429.8318.091.255h.1579v-.1457l.1275-1.706.2368-2.0947.2307-2.6957.0789-.7589.3764-.9107.7468-.4918.5828.2793.4797.686-.0668.4433-.2853 1.8517-.5586 2.9021-.3643 1.9429h.2125l.2429-.2429.9835-1.3053 1.6514-2.0643.7286-.8196.85-.9046.5464-.4311h1.0321l.759 1.1293-.34 1.1657-1.0625 1.3478-.8804 1.1414-1.2628 1.7-.7893 1.36.0729.1093.1882-.0183 2.8535-.607 1.5421-.2794 1.8396-.3157.8318.3886.091.3946-.3278.8075-1.967.4857-2.3072.4614-3.4364.8136-.0425.0304.0486.0607 1.5482.1457.6618.0364h1.621l3.0175.2247.7892.522.4736.6376-.079.4857-1.2142.6193-1.6393-.3886-3.825-.9107-1.3113-.3279h-.1822v.1093l1.0929 1.0686 2.0035 1.8092 2.5075 2.3314.1275.5768-.3218.4554-.34-.0486-2.2039-1.6575-.85-.7468-1.9246-1.621h-.1275v.17l.4432.6496 2.3436 3.5214.1214 1.0807-.17.3521-.6071.2125-.6679-.1214-1.3721-1.9246L14.38 17.959l-1.1414-1.9428-.1397.079-.674 7.2552-.3156.3703-.7286.2793-.6071-.4614-.3218-.7468.3218-1.4753.3886-1.9246.3157-1.53.2853-1.9004.17-.6314-.0121-.0425-.1397.0182-1.4328 1.9672-2.1796 2.9446-1.7243 1.8456-.4128.164-.7164-.3704.0667-.6618.4008-.5889 2.386-3.0357 1.4389-1.882.929-1.0868-.0062-.1579h-.0546l-6.3385 4.1164-1.1293.1457-.4857-.4554.0608-.7467.2307-.2429 1.9064-1.3114Z",color:"#D97757"})," Claude Code"]}),(0,e.jsxs)("span",{className:"flex items-center gap-2 text-sm text-foreground/90",children:[(0,e.jsx)(aj,{d:"M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z"})," Codex"]})]})]}),(0,e.jsx)("div",{className:"w-load min-w-0",style:{animationDelay:".3s"},children:(0,e.jsx)(am,{})})]}),(0,e.jsxs)("a",{href:"#how",className:"w-load mx-auto mt-12 flex w-fit flex-col items-center gap-2 w-muted transition-colors hover:text-foreground md:mt-20",style:{animationDelay:".6s"},children:[(0,e.jsx)("span",{className:"w-mono w-eyebrow",children:"The loop"}),(0,e.jsx)("svg",{className:"w-cue",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,e.jsx)("path",{d:"m6 9 6 6 6-6"})})]})]}),(0,e.jsx)("section",{id:"how",className:"px-6 py-16 md:py-24",children:(0,e.jsxs)("div",{className:"mx-auto max-w-5xl",children:[(0,e.jsxs)("div",{className:"w-reveal mb-14 text-center",children:[(0,e.jsx)("p",{className:"w-mono w-eyebrow w-signal mb-4",children:"The loop"}),(0,e.jsx)("h2",{className:"text-[clamp(1.9rem,4vw,2.75rem)] font-semibold tracking-tight",children:"Propose. Review. Verdict. Repeat."}),(0,e.jsx)("div",{className:"w-accent-line mx-auto mt-6 h-px w-40"})]}),(0,e.jsx)("div",{className:"grid gap-10 md:grid-cols-3",children:ak.map(a=>(0,e.jsxs)("div",{className:"loop-card w-reveal glass w-hover rounded-lg p-6",children:[(0,e.jsx)("p",{className:"w-mono w-eyebrow w-signal mb-3",children:a.n}),(0,e.jsx)("h3",{className:"mb-2 font-semibold",children:a.title}),(0,e.jsx)("p",{className:"w-muted mb-4 text-[0.92rem] leading-relaxed",children:a.body}),(0,e.jsx)("code",{className:"w-mono glass-soft inline-block rounded-md px-3 py-1.5 text-[0.74rem]",children:a.code})]},a.n))}),(0,e.jsxs)("p",{className:"w-reveal w-mono w-muted mt-10 text-center text-[0.78rem]",children:["feedback sends the agent back to ",(0,e.jsx)("span",{className:"w-signal",children:"01"})," \xb7 approval persists the drafts"]})]})}),(0,e.jsx)("section",{className:"px-6 py-16 md:py-20",children:(0,e.jsxs)("div",{className:"mx-auto max-w-[88rem]",children:[(0,e.jsxs)("div",{className:"w-reveal mb-12 text-center",children:[(0,e.jsx)("p",{className:"w-mono w-eyebrow w-signal mb-4",children:"The surfaces"}),(0,e.jsx)("h2",{className:"text-[clamp(1.6rem,3.4vw,2.25rem)] font-semibold tracking-tight",children:"Everything the agent plans, drawn"})]}),(0,e.jsx)("div",{className:"w-reveal",children:(0,e.jsx)(ah,{})})]})}),(0,e.jsxs)("section",{id:"quickstart",className:"px-6 py-16 md:py-24",children:[(0,e.jsxs)("div",{className:"mx-auto max-w-3xl",children:[(0,e.jsxs)("div",{className:"w-reveal mb-12 text-center",children:[(0,e.jsx)("p",{className:"w-mono w-eyebrow w-signal mb-4",children:"Quickstart"}),(0,e.jsx)("h2",{className:"text-[clamp(1.6rem,3.4vw,2.25rem)] font-semibold tracking-tight",children:"Five lines to your first approved plan"})]}),(0,e.jsxs)("div",{className:"w-reveal glass overflow-hidden rounded-lg",children:[(0,e.jsxs)("div",{className:"flex items-center gap-2 border-b px-4 py-3",style:{borderColor:"var(--border)"},children:[(0,e.jsx)("span",{className:"h-3 w-3 rounded-full",style:{background:"#ff7a45",boxShadow:"0 0 7px rgba(255,122,69,.7)"}}),(0,e.jsx)("span",{className:"h-3 w-3 rounded-full",style:{background:"oklch(1 0 0 / .16)"}}),(0,e.jsx)("span",{className:"h-3 w-3 rounded-full",style:{background:"oklch(1 0 0 / .16)"}}),(0,e.jsx)("span",{className:"w-mono ml-2 text-[0.72rem] w-muted",children:"your-repo — terminal"})]}),(0,e.jsxs)("div",{className:"px-5 py-4",children:[(0,e.jsxs)("div",{className:"ql",children:[(0,e.jsxs)("code",{className:"cmd w-scrollbar-none",children:[(0,e.jsx)("span",{className:"w-signal select-none",children:"$ "}),ai]}),(0,e.jsx)("span",{className:"note",children:"01 \xb7 one binary, nothing to configure"}),d("qs")]}),(0,e.jsxs)("div",{className:"ql",children:[(0,e.jsxs)("code",{className:"cmd",children:[(0,e.jsx)("span",{className:"w-signal select-none",children:"$ "}),"cd your-repo && beacon"]}),(0,e.jsx)("span",{className:"note",children:"02 \xb7 registers the repo, opens the panel"})]}),(0,e.jsxs)("div",{className:"ql",children:[(0,e.jsxs)("code",{className:"cmd",children:[(0,e.jsx)("span",{className:"w-signal select-none",children:"› "}),"/beacon-init"]}),(0,e.jsx)("span",{className:"note",children:"03 \xb7 maps architecture, schema, roadmap"})]}),(0,e.jsxs)("div",{className:"ql",children:[(0,e.jsxs)("code",{className:"cmd",children:[(0,e.jsx)("span",{className:"w-signal select-none",children:"› "}),"plan: magic-link sign-in"]}),(0,e.jsx)("span",{className:"note",children:"04 \xb7 the plan streams onto /plan"})]}),(0,e.jsxs)("div",{className:"ql",children:[(0,e.jsxs)("code",{className:"cmd",children:[(0,e.jsxs)("span",{className:"select-none",style:{color:"#6ee7b7"},children:["✓"," "]}),"approve \xb7 feedback \xb7 discard"]}),(0,e.jsx)("span",{className:"note",children:"05 \xb7 the verdict returns to your session"})]})]})]})]}),(0,e.jsx)("div",{className:"mx-auto mt-16 max-w-5xl",children:(0,e.jsx)("div",{className:"w-reveal glass grid overflow-hidden rounded-lg md:grid-cols-3 md:divide-x md:divide-y-0 divide-y",style:{borderColor:"var(--border)"},children:al.map(a=>(0,e.jsxs)("div",{className:"p-6",style:{borderColor:"oklch(1 0 0 / 0.07)"},children:[(0,e.jsx)("p",{className:"w-mono w-eyebrow w-signal mb-2.5",children:a.label}),(0,e.jsx)("p",{className:"w-muted text-[0.9rem] leading-relaxed",children:a.body})]},a.label))})})]}),(0,e.jsx)("footer",{className:"px-6 pb-12 pt-8",children:(0,e.jsxs)("div",{className:"mx-auto max-w-5xl",children:[(0,e.jsx)("div",{className:"w-accent-line mb-8 h-px w-full opacity-60"}),(0,e.jsxs)("div",{className:"flex flex-col items-center justify-between gap-5 md:flex-row",children:[(0,e.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,e.jsx)(p._,{size:26,className:"text-foreground"}),(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{className:"font-semibold leading-tight",children:"Beacon"}),(0,e.jsx)("p",{className:"w-mono w-muted text-[0.72rem]",children:"the visual planning surface for your terminal"})]})]}),(0,e.jsxs)("nav",{className:"flex items-center gap-6 text-sm w-muted",children:[(0,e.jsx)("a",{href:"/docs",className:"transition-colors hover:text-foreground",children:"Docs"}),(0,e.jsx)("a",{href:"#",className:"transition-colors hover:text-foreground",children:"Changelog"}),(0,e.jsx)("a",{href:"https://github.com/wenzorithelly/beacon/blob/main/LICENSE",target:"_blank",rel:"noreferrer",className:"transition-colors hover:text-foreground",children:"Apache 2.0"})]}),(0,e.jsxs)("p",{className:"w-mono w-muted text-[0.72rem]",children:["Created by"," ",(0,e.jsxs)("a",{href:"https://www.instagram.com/wenzorithelly/",target:"_blank",rel:"noreferrer",className:"w-signal inline-flex items-center gap-1 underline decoration-dotted underline-offset-2 transition-opacity hover:opacity-80",children:[(0,e.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[(0,e.jsx)("rect",{x:"2",y:"2",width:"20",height:"20",rx:"5",ry:"5"}),(0,e.jsx)("path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"}),(0,e.jsx)("line",{x1:"17.5",y1:"6.5",x2:"17.51",y2:"6.5"})]}),"Wenzo"]}),(0,e.jsx)("span",{className:"mx-2 opacity-40",children:"\xb7"}),"\xa9 2026 Beacon"]})]})]})})]})}},77598:a=>{"use strict";a.exports=require("node:crypto")},77702:()=>{},78335:()=>{},82741:()=>{},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},89216:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(64686).A)("link-2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]])},91770:(a,b,c)=>{Promise.resolve().then(c.bind(c,67878))},96487:()=>{},99647:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>g,metadata:()=>f});var d=c(5735),e=c(67878);let f={title:"Beacon — the visual planning surface for the coding agent in your terminal",description:"Propose a feature plan, review it on a canvas instead of a wall of text, and approve with a click. Local-first, one binary, runs in any repo."};function g(){return(0,d.jsx)(e.Landing,{})}}};var b=require("../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,319,5704,6819,7999],()=>b(b.s=56573));module.exports=c})();
2
+ see more here https://nextjs.org/docs/messages/app-static-to-dynamic-error`),"__NEXT_ERROR_CODE",{value:"E132",enumerable:!1,configurable:!0});if(null==a?void 0:a.stack){let c=a.stack;b.stack=b.message+c.substring(c.indexOf("\n"))}throw b}return{value:{kind:v.CachedRouteKind.APP_PAGE,html:l,headers:q,rscData:m.flightData,postponed:m.postponed,status:m.statusCode,segmentData:m.segmentData},cacheControl:o}},r=async({hasResolved:c,previousCacheEntry:g,isRevalidating:i,span:j,forceStaticRender:k=!1})=>{let l=!1===P.isDev,m=c||b.writableEnded;try{var n;let f;if(ar&&aj&&!g&&!V)return(null==ak?void 0:ak.render404)?await ak.render404(a,b):(b.statusCode=404,b.end("This page could not be found")),null;if(at&&(f=(0,w.parseFallbackField)(at.fallback)),!0===al.experimental.partialFallbacks&&(null==at?void 0:at.fallback)===null&&!aT&&aS.length>0&&(f=w.FallbackMode.PRERENDER),f===w.FallbackMode.PRERENDER&&(0,u.isBot)(av)&&(!aF||ax)&&(f=w.FallbackMode.BLOCKING_STATIC_RENDER),(null==g?void 0:g.isStale)===-1&&(ar=!0),ar&&(f!==w.FallbackMode.NOT_FOUND||g)&&(f=w.FallbackMode.BLOCKING_STATIC_RENDER),!V&&f!==w.FallbackMode.BLOCKING_STATIC_RENDER&&aV&&!m&&!ah&&_&&(l||!au)){if((l||at)&&f===w.FallbackMode.NOT_FOUND){if(al.adapterPath)return await a0();throw new C.NoFallbackError}if(aF&&(al.cacheComponents?!aL:!az)){let b=l&&"string"==typeof(null==at?void 0:at.fallback)?at.fallback:aq,f=(l||aG)&&(null==at?void 0:at.fallbackRouteParams)?(0,o.createOpaqueFallbackRouteParams)(at.fallbackRouteParams):aI?(0,o.getFallbackRouteParams)(aq,P):null;aG&&f&&(0,h.addRequestMeta)(a,"fallbackParams",f);let g=await P.handleResponse({cacheKey:b,req:a,nextConfig:al,routeKind:e.RouteKind.APP_PAGE,isFallback:!0,prerenderManifest:ag,isRoutePPREnabled:aF,responseGenerator:async()=>q({span:j,postponed:void 0,fallbackRouteParams:f,forceStaticRender:!0}),waitUntil:d.waitUntil,isMinimalMode:V});if(null===g)return null;if(g)return V||!aF||!(aS.length>0)||!0!==al.experimental.partialFallbacks||!aU||!p||ar||aI||aD||aE||ay||(0,J.scheduleOnNextTick)(async()=>{let b=P.getResponseCache(a);try{await b.revalidate(aU,p,aF,!1,a=>q({span:a.span,postponed:void 0,fallbackRouteParams:a_.length>0?(0,o.createOpaqueFallbackRouteParams)(a_):null,forceStaticRender:!0}),null,c,d.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}),delete g.cacheControl,g}}let s=ar||i||!aJ?void 0:aJ;if(aP&&!V&&p&&(aL||aA)&&!k){let b=await p.get(ai,{kind:v.IncrementalCacheKind.APP_PAGE,isRoutePPREnabled:!0,isFallback:!1});b&&b.value&&b.value.kind===v.CachedRouteKind.APP_PAGE&&(s=b.value.postponed,b&&(-1===b.isStale||!0===b.isStale)&&(0,J.scheduleOnNextTick)(async()=>{let b=P.getResponseCache(a);try{await b.revalidate(ai,p,aF,!1,a=>r({...a,forceStaticRender:!0}),null,c,d.waitUntil)}catch(a){console.error("Error revalidating the page in the background",a)}}))}if((aG||aH)&&void 0!==s)return{cacheControl:{revalidate:1,expire:void 0},value:{kind:v.CachedRouteKind.PAGES,html:x.default.EMPTY,pageData:{},headers:void 0,status:void 0}};let t=!P.isDev&&_&&(null==at?void 0:at.fallbackRouteParams)?(0,o.getPlaceholderFallbackRouteParams)($,at.fallbackRouteParams):null,y=t&&t.length>0?t:null==at?void 0:at.fallbackRouteParams,z=null!=t&&t.length>0,A=null;if(al.cacheComponents&&(null==at?void 0:at.fallbackRouteParams)){let b=(0,h.getRequestMeta)(a,"resolvedRouteParamKeys");b&&b.size>0&&(A=at.fallbackRouteParams.filter(a=>!b.has(a.paramName)))}let B=(l&&(0,h.getRequestMeta)(a,"renderFallbackShell")||z||aG&&!au)&&y?(0,o.createOpaqueFallbackRouteParams)(y):A&&A.length>0&&A.length<((null==at||null==(n=at.fallbackRouteParams)?void 0:n.length)??0)?(0,o.createOpaqueFallbackRouteParams)(A):aI?(0,o.getFallbackRouteParams)(aq,P):null;if((l||aG)&&al.cacheComponents&&!au&&(null==at?void 0:at.fallbackRouteParams)){let b=(0,o.createOpaqueFallbackRouteParams)(y??at.fallbackRouteParams);b&&(0,h.addRequestMeta)(a,"fallbackParams",b)}return q({span:j,postponed:s,fallbackRouteParams:B,forceStaticRender:k})}catch(b){throw(null==g?void 0:g.isStale)&&await P.onRequestError(a,b,{routerKind:"App Router",routePath:W,routeType:"render",revalidateReason:(0,f.c)({isStaticGeneration:aO,isOnDemandRevalidate:ar})},!1,ak),b}},s=async c=>{var f,g,i,j,k,l;let m,n=await P.handleResponse({cacheKey:aU,responseGenerator:a=>r({span:c,...a}),routeKind:e.RouteKind.APP_PAGE,isOnDemandRevalidate:ar,isRoutePPREnabled:aF,req:a,nextConfig:al,prerenderManifest:ag,waitUntil:d.waitUntil,isMinimalMode:V});if(ah&&b.setHeader("Cache-Control","private, no-cache, no-store, max-age=0, must-revalidate"),P.isDev&&b.setHeader("Cache-Control","no-cache, must-revalidate"),!n){if(aU)throw Object.defineProperty(Error("invariant: cache entry required but not generated"),"__NEXT_ERROR_CODE",{value:"E62",enumerable:!1,configurable:!0});return null}if((null==(f=n.value)?void 0:f.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant app-page handler received invalid cache entry ${null==(i=n.value)?void 0:i.kind}`),"__NEXT_ERROR_CODE",{value:"E707",enumerable:!1,configurable:!0});let o="string"==typeof n.value.postponed;az&&!aA&&ao&&b.setHeader(y.NEXT_NAV_DEPLOYMENT_ID_HEADER,ao),aO&&!aL&&(!o||ay)&&(V||b.setHeader("x-nextjs-cache",ar?"REVALIDATED":n.isMiss?"MISS":n.isStale?"STALE":"HIT"),b.setHeader(t.NEXT_IS_PRERENDER_HEADER,"1"));let{value:p}=n;if(aJ)m={revalidate:0,expire:void 0};else if(aL)m={revalidate:0,expire:void 0};else if(!P.isDev)if(ah)m={revalidate:0,expire:void 0};else if(aO){if(n.cacheControl)if("number"==typeof n.cacheControl.revalidate){if(n.cacheControl.revalidate<1)throw Object.defineProperty(Error(`Invalid revalidate configuration provided: ${n.cacheControl.revalidate} < 1`),"__NEXT_ERROR_CODE",{value:"E22",enumerable:!1,configurable:!0});m={revalidate:n.cacheControl.revalidate,expire:(null==(j=n.cacheControl)?void 0:j.expire)??al.expireTime}}else m={revalidate:y.CACHE_ONE_YEAR_SECONDS,expire:void 0}}else b.getHeader("Cache-Control")||(m={revalidate:0,expire:void 0});if(n.cacheControl=m,"string"==typeof aM&&(null==p?void 0:p.kind)===v.CachedRouteKind.APP_PAGE&&p.segmentData){b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"2");let c=null==(k=p.headers)?void 0:k[y.NEXT_CACHE_TAGS_HEADER];V&&aO&&c&&"string"==typeof c&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,c);let d=p.segmentData.get(aM);return void 0!==d?(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:x.default.fromStatic(d,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl}):(b.statusCode=204,(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl}))}let s=aP?(0,h.getRequestMeta)(a,"onCacheEntryV2")??(0,h.getRequestMeta)(a,"onCacheEntry"):(0,h.getRequestMeta)(a,"onCacheEntry");if(s){let b=(0,h.getRequestMeta)(a,"initURL")??a.url,c=b?(null==(l=(0,F.parseUrl)(b))?void 0:l.pathname)??b:void 0;if(await s(n,{url:c}))return null}if(p.headers){let a={...p.headers};for(let[c,d]of(V&&aO||delete a[y.NEXT_CACHE_TAGS_HEADER],Object.entries(a)))if(void 0!==d)if(Array.isArray(d))for(let a of d)b.appendHeader(c,a);else"number"==typeof d&&(d=d.toString()),b.appendHeader(c,d)}let u=null==(g=p.headers)?void 0:g[y.NEXT_CACHE_TAGS_HEADER];if(V&&aO&&u&&"string"==typeof u&&b.setHeader(y.NEXT_CACHE_TAGS_HEADER,u),!p.status||az&&aF||(b.statusCode=p.status),!V&&p.status&&H.RedirectStatusCode[p.status]&&az&&(b.statusCode=200),o&&!aL&&b.setHeader(t.NEXT_DID_POSTPONE_HEADER,"1"),az&&!ah){if(void 0===p.rscData){if(p.html.contentType!==t.RSC_CONTENT_TYPE_HEADER)if(al.cacheComponents)return b.statusCode=404,(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:x.default.EMPTY,cacheControl:n.cacheControl});else throw Object.defineProperty(new I.InvariantError(`Expected RSC response, got ${p.html.contentType}`),"__NEXT_ERROR_CODE",{value:"E789",enumerable:!1,configurable:!0});return(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:p.html,cacheControl:n.cacheControl})}return(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:x.default.fromStatic(p.rscData,t.RSC_CONTENT_TYPE_HEADER),cacheControl:n.cacheControl})}let w=p.html;if(aE&&aG){let c=!0===P.isDev?crypto.randomUUID():null;return w.pipeThrough(await (0,A.createInstantTestScriptInsertionTransformStream)(c)),(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:w,cacheControl:{revalidate:0,expire:void 0}})}if(!o||V||az)return(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:w,cacheControl:n.cacheControl});if(aG||aH)return w.push(new ReadableStream({start(a){a.enqueue(z.ENCODED_TAGS.CLOSED.BODY_AND_HTML),a.close()}})),(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:w,cacheControl:{revalidate:0,expire:void 0}});let C=new TransformStream;return w.push(C.readable),q({span:c,postponed:p.postponed,fallbackRouteParams:null,forceStaticRender:!1}).then(async a=>{var b,c;if(!a)throw Object.defineProperty(Error("Invariant: expected a result to be returned"),"__NEXT_ERROR_CODE",{value:"E463",enumerable:!1,configurable:!0});if((null==(b=a.value)?void 0:b.kind)!==v.CachedRouteKind.APP_PAGE)throw Object.defineProperty(Error(`Invariant: expected a page response, got ${null==(c=a.value)?void 0:c.kind}`),"__NEXT_ERROR_CODE",{value:"E305",enumerable:!1,configurable:!0});await a.value.html.pipeTo(C.writable)}).catch(a=>{C.writable.abort(a).catch(a=>{console.error("couldn't abort transformer",a)})}),(0,B.sendRenderResult)({req:a,res:b,generateEtags:al.generateEtags,poweredByHeader:al.poweredByHeader,result:w,cacheControl:{revalidate:0,expire:void 0}})};if(!a$||!aZ)return k=aY.getActiveScopeSpan(),await aY.withPropagatedContext(a.headers,()=>aY.trace(i.BaseServerSpan.handleRequest,{spanName:`${aX} ${W}`,kind:g.SpanKind.SERVER,attributes:{"http.method":aX,"http.target":a.url}},s),void 0,!a$);await s(aZ)}catch(b){throw b instanceof C.NoFallbackError||await P.onRequestError(a,b,{routerKind:"App Router",routePath:W,routeType:"render",revalidateReason:(0,f.c)({isStaticGeneration:aO,isOnDemandRevalidate:ar})},!1,ak),b}}},63033:a=>{"use strict";a.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},67878:(a,b,c)=>{"use strict";c.d(b,{Landing:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call Landing() from the server but Landing is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/runner/work/beacon/beacon/components/landing/landing.tsx","Landing")},70722:a=>{"use strict";a.exports=require("next/dist/shared/lib/invariant-error")},73024:a=>{"use strict";a.exports=require("node:fs")},73136:a=>{"use strict";a.exports=require("node:url")},76760:a=>{"use strict";a.exports=require("node:path")},77068:a=>{"use strict";a.exports=require("next/dist/shared/lib/size-limit")},77476:(a,b,c)=>{"use strict";let d;c.d(b,{Landing:()=>an});var e=c(48249),f=c(67484),g=c(2116),h=c.n(g),i=c(90165),j=c(89216),k=c(47352),l=c(35471),m=c(49783),n=c(57684),o=c(20878),p=c(79291),q=c(55030),r=c(56024),s=c(85205),t=c(9880),u=c(69627),v=c(17313),w=c(47578),x=c(97432),y=c(48581),z=c(36274),A=c(38396),B=c(53061),C=c(41665),D=c(28470),E=c(86056),F=c(15741),G=c(33617),H=c(11527),I=c(33191),J=c(27267),K=c(33346),L=c(38476);c(71763),c(77702),c(82741);let M={contains:{stroke:"#7c7c8a",arrow:!0},relates:{stroke:"#8a8a95",dash:"4 4",arrow:!0},fk:{stroke:"#6b6b6b",arrow:!0},depends:{stroke:"#f5b942",dash:"6 4",arrow:!0},uses:{stroke:"#4ea1ff",dash:"4 4",opacity:.7},usesW:{stroke:"#ffb86b",dash:"4 4",opacity:.7},file:{stroke:"#ffffff",opacity:.16}};function N(a,b,c,d,e,f){let g=M[f];return{id:a,source:b,sourceHandle:c,target:d,targetHandle:e,style:{stroke:g.stroke,strokeWidth:1.5,strokeDasharray:g.dash,opacity:g.opacity??1},markerEnd:g.arrow?{type:q.TG.ArrowClosed,color:g.stroke,width:16,height:16}:void 0}}let O="!h-0 !w-0 !min-w-0 !border-0 !bg-transparent";function P(){return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(r.h7,{type:"target",position:q.yX.Top,id:"tt",className:O,isConnectable:!1}),(0,e.jsx)(r.h7,{type:"source",position:q.yX.Top,id:"st",className:O,isConnectable:!1}),(0,e.jsx)(r.h7,{type:"target",position:q.yX.Right,id:"tr",className:O,isConnectable:!1}),(0,e.jsx)(r.h7,{type:"source",position:q.yX.Right,id:"sr",className:O,isConnectable:!1}),(0,e.jsx)(r.h7,{type:"target",position:q.yX.Bottom,id:"tb",className:O,isConnectable:!1}),(0,e.jsx)(r.h7,{type:"source",position:q.yX.Bottom,id:"sb",className:O,isConnectable:!1}),(0,e.jsx)(r.h7,{type:"target",position:q.yX.Left,id:"tl",className:O,isConnectable:!1}),(0,e.jsx)(r.h7,{type:"source",position:q.yX.Left,id:"sl",className:O,isConnectable:!1})]})}function Q({layer:a}){return a?(0,e.jsxs)("span",{className:"flex shrink-0 items-center gap-1 rounded bg-white/10 px-1.5 py-0 text-[9px] font-semibold uppercase tracking-wide text-zinc-300",children:["BE"!==a&&(0,e.jsx)(s.A,{className:"size-2.5"}),"FE"!==a&&(0,e.jsx)(t.A,{className:"size-2.5"}),a]}):null}function R({status:a}){let b=J.nR[a];return(0,e.jsxs)("span",{className:(0,I.cn)("flex h-5 shrink-0 items-center gap-0.5 rounded border px-1.5 text-[10px] font-medium",b.className),children:[b.label,(0,e.jsx)(u.A,{className:"size-3 opacity-60"})]})}let S=["border-[#ff3860]/60 shadow-[0_0_0_1px_rgba(255,56,96,0.15)]","border-[#ff7a45]/50","border-amber-400/35","border-border"],T=["#ff3860","#ff7a45","#fbbf24","#a1a1aa"];function U({priority:a,rank:b}){let c=T[a]??T[3];return(0,e.jsxs)("div",{className:"flex w-5 shrink-0 flex-col items-center gap-1 self-stretch border-r border-white/[0.06] py-1.5",children:[null!=b&&(0,e.jsx)("span",{className:(0,I.cn)("flex size-4 shrink-0 items-center justify-center rounded text-[10px] font-bold leading-none",1===b?"bg-emerald-400 text-black":"bg-white/10 text-muted-foreground"),children:b}),(0,e.jsx)("span",{className:"w-[3px] flex-1 rounded-full",style:{background:c,opacity:.9}})]})}let V=[[/AUTH|SECURIT/,y.A],[/DATA|\bDB\b|SQL|STORE|STORAGE/,z.A],[/\bUI\b|FRONT|VIEW|CANVAS|BOARD|DESIGN/,A.A],[/MCP|\bAPI\b|INTEGRAT/,B.A],[/INTEL|GRAPH|\bCODE\b|SYMBOL|SEARCH/,C.A],[/PLAN|ROADMAP|REVIEW/,D.A]];function W({value:a,label:b,Icon:c,danger:d}){return(0,e.jsxs)("div",{className:"text-center",children:[(0,e.jsx)("div",{className:(0,I.cn)("text-[13px] font-semibold leading-none tracking-tight tabular-nums",d&&"text-rose-300"),children:a}),(0,e.jsxs)("div",{className:"mt-0.5 flex items-center justify-center gap-0.5 text-[8px] font-medium uppercase tracking-wide text-muted-foreground",children:[(0,e.jsx)(c,{className:"size-2.5"}),b]})]})}function X({importsIn:a}){let b=a>=16?5:a>=8?4:a>=4?3:a>=2?2:+(a>=1);return(0,e.jsxs)("span",{className:"flex items-center gap-1.5 text-[10px] text-muted-foreground",children:[(0,e.jsx)("span",{className:"flex items-center gap-0.5",children:[0,1,2,3,4].map(a=>(0,e.jsx)("span",{className:"size-1 rounded-full bg-sky-400",style:{opacity:a<b?.7:.18}},a))}),a>=8?"core dependency":a>=3?"shared":a>=1?"leaf":"isolated"]})}let Y="!h-0 !w-0 !min-w-0 !border-0 !bg-transparent",Z={road:function({data:a}){let b="bug"===a.kind,c="next"===a.ring?"border-emerald-400/70 shadow-[0_0_0_2px_rgba(52,211,153,0.35)]":"next2"===a.ring?"border-emerald-400/25":b?"border-rose-400/50 bg-rose-500/[0.05]":a.working?"border-sky-400/60 shadow-[0_0_0_1px_rgba(56,160,255,0.25)]":S[a.priority]??"border-border",d=b?"bg-rose-500/15 text-rose-300":"sub-task"===a.kind?"bg-zinc-500/15 text-zinc-300":"bg-sky-500/15 text-sky-300";return(0,e.jsxs)("div",{className:(0,I.cn)("relative flex rounded-lg border bg-card text-card-foreground shadow-sm",c),style:{width:a.w},children:[(0,e.jsx)(U,{priority:a.priority,rank:a.rank}),(0,e.jsxs)("div",{className:"min-w-0 flex-1 px-2.5 py-2.5",children:[(0,e.jsxs)("div",{className:"flex items-start gap-1.5",children:[(0,e.jsxs)("div",{className:"flex min-w-0 flex-1 items-start gap-1",children:[a.working&&(0,e.jsx)("span",{className:"mt-1.5 inline-block size-2 shrink-0 animate-pulse rounded-full bg-sky-400"}),(0,e.jsx)("span",{className:"text-sm font-medium leading-snug",children:a.title})]}),(0,e.jsx)(R,{status:a.status})]}),(0,e.jsxs)("div",{className:"mt-1.5 flex flex-wrap items-center gap-1.5",children:[(0,e.jsxs)("span",{className:(0,I.cn)("flex shrink-0 items-center gap-1 rounded px-1 py-0.5 text-[9px] font-semibold uppercase tracking-wide",d),children:[b&&(0,e.jsx)(v.A,{className:"size-2.5"}),a.kind]}),(0,e.jsx)(Q,{layer:a.layer}),a.category&&(0,e.jsx)("span",{className:(0,I.cn)("rounded px-1.5 py-0.5 text-[10px] font-semibold uppercase tracking-wide",(0,K.a2)(a.category)),children:a.category})]}),a.role&&(0,e.jsx)("div",{className:"mt-1.5 line-clamp-1 text-[10px] leading-snug text-muted-foreground",children:a.role}),(a.signals?.bugs||a.signals?.untested||a.signals?.auth)&&(0,e.jsxs)("div",{className:"mt-1.5 flex flex-wrap items-center gap-1",children:[a.signals?.bugs?(0,e.jsxs)("span",{className:"flex items-center gap-1 rounded bg-rose-500/15 px-1 text-[9px] font-semibold uppercase tracking-wide text-rose-300",children:[(0,e.jsx)(v.A,{className:"size-2.5"})," ",a.signals.bugs]}):null,a.signals?.untested?(0,e.jsxs)("span",{className:"flex items-center gap-1 rounded bg-amber-500/15 px-1 text-[9px] font-semibold uppercase tracking-wide text-amber-300",children:[(0,e.jsx)(w.A,{className:"size-2.5"})," ",a.signals.untested]}):null,a.signals?.auth?(0,e.jsxs)("span",{className:"flex items-center gap-1 rounded bg-red-500/15 px-1 text-[9px] font-semibold uppercase tracking-wide text-red-300",children:[(0,e.jsx)(x.A,{className:"size-2.5"})," auth"]}):null]})]}),(0,e.jsx)(P,{})]})},dbtable:function({data:a}){return(0,e.jsxs)("div",{className:"relative overflow-hidden rounded-xl border bg-[#161618]/95 text-card-foreground shadow-[0_18px_50px_-22px_rgba(0,0,0,0.9)] backdrop-blur",style:{width:a.w,borderColor:`${a.accent}59`},children:[(0,e.jsxs)("div",{className:"flex items-center gap-1.5 rounded-t-[11px] px-3 py-2",style:{background:`${a.accent}14`},children:[(0,e.jsx)("span",{className:"min-w-0 flex-1 font-mono text-[13px] font-semibold tracking-tight",children:a.name}),(0,e.jsx)("span",{className:"shrink-0 rounded-md border px-1.5 py-px font-mono text-[9px] font-semibold uppercase tracking-[0.14em]",style:{background:`${a.accent}1f`,borderColor:`${a.accent}55`,color:a.accent},children:a.diffLabel})]}),(0,e.jsx)("div",{className:"divide-y divide-white/[0.05]",children:a.columns.map(a=>{let b="added"===a.diff?{background:"#7bd38914",boxShadow:"inset 2px 0 0 #7bd389"}:"modified"===a.diff?{background:"#ffb86b14",boxShadow:"inset 2px 0 0 #ffb86b"}:void 0;return(0,e.jsxs)("div",{className:"flex items-center gap-2 px-3 py-[7px] text-[12px]",style:b,children:[a.pk?(0,e.jsx)(i.A,{className:"size-3 shrink-0 text-amber-300/90"}):a.fk?(0,e.jsx)(j.A,{className:"size-3 shrink-0 text-sky-400/80"}):(0,e.jsx)("span",{className:"size-3 shrink-0"}),(0,e.jsx)("span",{className:"shrink-0 whitespace-nowrap font-mono",children:a.name}),(0,e.jsx)("span",{className:"ml-auto min-w-0 truncate font-mono text-[11px] text-muted-foreground/80",children:a.type})]},a.name)})}),(0,e.jsx)(P,{})]})},endpoint:function({data:a}){let b=L.e6[a.method]??"#8a8a8a",c="#7bd389";return(0,e.jsxs)("div",{className:(0,I.cn)("relative flex items-center gap-2 rounded-lg border bg-[#161618]/95 px-2.5 py-1.5 text-card-foreground shadow-[0_12px_36px_-18px_rgba(0,0,0,0.9)] backdrop-blur",a.isNew?"border-dashed":"border-white/10"),style:{width:a.w,...a.isNew?{borderColor:`${c}66`,background:`${c}0f`}:{}},children:[(0,e.jsx)("span",{className:"rounded px-1.5 py-0.5 text-[10px] font-bold",style:{background:`${b}22`,color:b},children:a.method}),(0,e.jsx)("span",{className:"min-w-0 flex-1 truncate font-mono text-[11px]",children:a.path}),a.isNew&&(0,e.jsx)("span",{className:"shrink-0 rounded px-1 py-0.5 text-[8px] font-semibold uppercase",style:{background:`${c}26`,color:c},children:"new"}),(0,e.jsx)(P,{})]})},arch:function({data:a}){let b=(0,K.i3)(a.domain),c=a.bugs??0;return(0,e.jsxs)("div",{className:"relative rounded-lg border border-border bg-card px-3 py-2.5 text-card-foreground shadow-sm",style:{width:a.w},children:[(0,e.jsxs)("div",{className:"flex items-start gap-2.5",children:[(0,e.jsx)("span",{className:"mt-0.5 flex size-8 shrink-0 items-center justify-center rounded-lg",style:{background:`color-mix(in oklab, ${b} 18%, transparent)`,color:b},children:(0,f.createElement)(function(a){let b=a.toUpperCase();for(let[a,c]of V)if(a.test(b))return c;return E.A}(a.domain),{className:"size-4"})}),(0,e.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,e.jsx)("div",{className:"text-sm font-medium leading-snug",children:a.title}),(0,e.jsxs)("div",{className:"mt-1 flex flex-wrap items-center gap-1.5",children:[(0,e.jsx)("span",{className:(0,I.cn)("rounded px-1.5 py-0.5 text-[10px] font-semibold uppercase tracking-wide",(0,K.a2)(a.domain)),children:a.domain}),(0,e.jsx)(Q,{layer:a.layer})]})]}),(0,e.jsx)(R,{status:a.status})]}),a.role&&(0,e.jsx)("div",{className:"mt-2 line-clamp-1 text-[10.5px] leading-snug text-muted-foreground",children:a.role}),(0,e.jsxs)("div",{className:"mt-2.5 grid grid-cols-4 gap-1 border-t border-white/[0.07] pt-2",children:[(0,e.jsx)(W,{value:a.files??0,label:"files",Icon:F.A}),(0,e.jsx)(W,{value:a.in??"—",label:"in",Icon:G.A}),(0,e.jsx)(W,{value:a.out??"—",label:"out",Icon:H.A}),(0,e.jsx)(W,{value:c,label:"bug",Icon:v.A,danger:c>0})]}),null!=a.in&&(0,e.jsx)("div",{className:"mt-2",children:(0,e.jsx)(X,{importsIn:a.in})}),(0,e.jsx)(P,{})]})},file:function({data:a}){let b=5+.5*Math.min(a.inDegree,26),c=2*!!a.layer,d="FE"===a.layer?"#5AC8FA":"BE"===a.layer?"#3ECF8E":void 0;return(0,e.jsxs)("div",{className:"relative flex flex-col items-center",children:[(0,e.jsx)(r.h7,{type:"target",position:q.yX.Top,id:"tt",isConnectable:!1,className:Y,style:{top:b+c,left:"50%"}}),(0,e.jsx)("span",{"aria-hidden":!0,className:"rounded-full",style:{padding:c,background:d,boxShadow:a.untested?"0 0 0 2px rgba(251,191,36,0.65)":"none"},children:(0,e.jsx)("span",{"aria-hidden":!0,className:"block rounded-full",style:{width:2*b,height:2*b,backgroundColor:a.dirColor}})}),(0,e.jsx)("span",{className:"pointer-events-none mt-1 max-w-44 truncate text-[10px] leading-tight text-foreground/75",children:a.label}),(0,e.jsx)(r.h7,{type:"source",position:q.yX.Bottom,id:"sb",isConnectable:!1,className:Y,style:{top:b+c,bottom:"auto",left:"50%"}})]})},lane:function({data:a}){return(0,e.jsx)("div",{className:(0,I.cn)("pointer-events-none rounded-2xl border",a.colored?(0,K.xZ)(a.label):"border-white/[0.08] bg-white/[0.015]"),style:{width:a.w,height:a.h},children:(0,e.jsxs)("div",{className:"flex items-baseline gap-2 px-3 py-1",children:[(0,e.jsx)("span",{className:"text-[11px] font-semibold uppercase tracking-wide text-muted-foreground/80",children:a.label}),null!=a.count&&(0,e.jsx)("span",{className:"text-[10px] tabular-nums text-muted-foreground/50",children:a.count})]})})}};function $({label:a,height:b,nodes:c,edges:d}){return(0,e.jsxs)("div",{className:"bm-window glass",children:[(0,e.jsxs)("div",{className:"bm-tabs",children:[(0,e.jsx)("span",{className:"h-3 w-3 rounded-full",style:{background:"#ff7a45",boxShadow:"0 0 7px rgba(255,122,69,.7)"}}),(0,e.jsx)("span",{className:"h-3 w-3 rounded-full",style:{background:"oklch(1 0 0 / .16)"}}),(0,e.jsx)("span",{className:"h-3 w-3 rounded-full",style:{background:"oklch(1 0 0 / .16)"}}),(0,e.jsx)("span",{className:"w-mono ml-3 text-[0.72rem] w-muted",children:a}),(0,e.jsx)("span",{className:"w-mono ml-auto hidden text-[0.66rem] text-muted-foreground/70 sm:block",children:"drag the cards →"})]}),(0,e.jsx)("div",{className:"bm-rf",style:{height:b},children:(0,e.jsx)(r.Gc,{defaultNodes:c,defaultEdges:d,nodeTypes:Z,colorMode:"dark",fitView:!0,fitViewOptions:{padding:.06},minZoom:.4,maxZoom:1.6,nodesConnectable:!1,elementsSelectable:!1,nodesFocusable:!1,edgesFocusable:!1,zoomOnScroll:!1,panOnScroll:!1,preventScrolling:!1,zoomOnDoubleClick:!1,proOptions:{hideAttribution:!0},children:(0,e.jsx)(r.VS,{variant:r._5.Dots,gap:20,size:1,color:"rgba(255,255,255,0.10)"})})})]})}let _=[N("e1","magic","sb","verify","tt","contains"),N("e2","rate","sb","audit","tt","contains"),N("e3","billing","sl","magic","tr","depends")],aa=[{id:"users",type:"dbtable",position:{x:0,y:40},data:{w:300,name:"users",accent:"#ffb86b",diffLabel:"modify",columns:[{name:"id",type:"uuid",pk:!0},{name:"email",type:"text"},{name:"last_login_at",type:"timestamp",diff:"modified"},{name:"created_at",type:"timestamp"}]}},{id:"magic",type:"dbtable",position:{x:380,y:16},data:{w:320,name:"magic_links",accent:"#7bd389",diffLabel:"new",columns:[{name:"id",type:"uuid",pk:!0,diff:"added"},{name:"token_hash",type:"text",diff:"added"},{name:"user_id",type:"→ users",fk:!0,diff:"added"},{name:"expires_at",type:"timestamp",diff:"added"}]}},{id:"sessions",type:"dbtable",position:{x:790,y:52},data:{w:300,name:"sessions",accent:"#7bd389",diffLabel:"new",columns:[{name:"id",type:"uuid",pk:!0,diff:"added"},{name:"user_id",type:"→ users",fk:!0,diff:"added"},{name:"expires_at",type:"timestamp",diff:"added"}]}},{id:"ep-me",type:"endpoint",position:{x:16,y:252},data:{w:268,method:"GET",path:"/api/users/me"}},{id:"ep-login",type:"endpoint",position:{x:396,y:236},data:{w:298,method:"POST",path:"/api/auth/login",isNew:!0}},{id:"ep-del",type:"endpoint",position:{x:806,y:256},data:{w:268,method:"DELETE",path:"/api/auth/session"}}],ab=[N("f1","magic","sl","users","tr","fk"),N("f2","sessions","sl","users","tr","fk"),N("u1","ep-me","st","users","tb","uses"),N("u2","ep-login","st","magic","tb","usesW"),N("u3","ep-del","st","sessions","tb","usesW")],ac=[N("a1","daemon","sb","codegraph","tt","contains"),N("a2","mcp","sr","plan","tl","relates"),N("a3","plan","sl","draft","tb","relates"),N("a4","dbcanvas","sr","draft","tl","relates"),N("a5","daemon","sl","prisma","tr","relates"),N("a6","mapcanvas","sr","prisma","tl","relates")],ad={lib:{color:"#7bd389",cx:220,cy:170},graph:{color:"#c792ea",cx:720,cy:150},plan:{color:"#7dd3fc",cx:1200,cy:180},api:{color:"#ffb86b",cx:220,cy:580},intel:{color:"#2dd4bf",cx:720,cy:560},notes:{color:"#ff9ec7",cx:1200,cy:580},bin:{color:"#ff8a5b",cx:220,cy:980},drizzle:{color:"#5eead4",cx:720,cy:980},tests:{color:"#9aa6b2",cx:1200,cy:980}},ae=(d={},[{id:"db",label:"lib/db.ts",dir:"lib",deg:18,layer:"BE"},{id:"utils",label:"lib/utils.ts",dir:"lib",deg:12},{id:"ws",label:"lib/workspaces.ts",dir:"lib",deg:8,layer:"BE"},{id:"consts",label:"lib/constants.ts",dir:"lib",deg:6},{id:"layer",label:"lib/layer.ts",dir:"lib",deg:5},{id:"mut",label:"lib/mutations.ts",dir:"lib",deg:3,layer:"BE",untested:!0},{id:"catcolor",label:"lib/category-color.ts",dir:"lib",deg:3},{id:"ncard",label:"node-card.tsx",dir:"graph",deg:7,layer:"FE"},{id:"handles",label:"handles.tsx",dir:"graph",deg:6,layer:"FE"},{id:"dbtable",label:"db-table-node.tsx",dir:"graph",deg:3,layer:"FE"},{id:"mapc",label:"map-client.tsx",dir:"graph",deg:2,layer:"FE"},{id:"dbmapc",label:"db-map-client.tsx",dir:"graph",deg:2,layer:"FE"},{id:"epnode",label:"endpoint-node.tsx",dir:"graph",deg:2,layer:"FE"},{id:"dsidebar",label:"detail-sidebar.tsx",dir:"graph",deg:2,layer:"FE"},{id:"mdview",label:"markdown-view.tsx",dir:"plan",deg:4,layer:"FE"},{id:"planws",label:"plan-workspace.tsx",dir:"plan",deg:2,layer:"FE"},{id:"annop",label:"annotation-panel.tsx",dir:"plan",deg:2,layer:"FE"},{id:"planbar",label:"plan-bar.tsx",dir:"plan",deg:2,layer:"FE"},{id:"planhist",label:"plan-history-view.tsx",dir:"plan",deg:1,layer:"FE"},{id:"ingR",label:"api/ingest/route.ts",dir:"api",deg:1,layer:"BE"},{id:"draftR",label:"api/draft/route.ts",dir:"api",deg:1,layer:"BE"},{id:"planR",label:"api/plan/route.ts",dir:"api",deg:1,layer:"BE"},{id:"streamR",label:"api/stream/route.ts",dir:"api",deg:1,layer:"BE"},{id:"nodesR",label:"api/nodes/route.ts",dir:"api",deg:1,layer:"BE"},{id:"baR",label:"api/board-annotations/route.ts",dir:"api",deg:1,layer:"BE"},{id:"cgraph",label:"intel/code-graph.ts",dir:"intel",deg:6,layer:"BE"},{id:"iingest",label:"intel/ingest.ts",dir:"intel",deg:3,layer:"BE"},{id:"pipe",label:"intel/pipeline.ts",dir:"intel",deg:2,layer:"BE"},{id:"merge",label:"intel/merge.ts",dir:"intel",deg:2,layer:"BE"},{id:"watch",label:"intel/watch-inline.ts",dir:"intel",deg:2,layer:"BE",untested:!0},{id:"iconfig",label:"intel/config.ts",dir:"intel",deg:2,layer:"BE"},{id:"notes",label:"lib/notes.ts",dir:"notes",deg:3,layer:"BE"},{id:"neditor",label:"note-editor.tsx",dir:"notes",deg:2,layer:"FE"},{id:"ndrawer",label:"notes-drawer.tsx",dir:"notes",deg:2,layer:"FE"},{id:"nmark",label:"note-markdown.ts",dir:"notes",deg:2},{id:"mcp",label:"bin/mcp.ts",dir:"bin",deg:1,layer:"BE"},{id:"beacon",label:"bin/beacon.ts",dir:"bin",deg:1,layer:"BE"},{id:"hook",label:"bin/hook.ts",dir:"bin",deg:1,layer:"BE"},{id:"stophook",label:"bin/stop-hook.ts",dir:"bin",deg:1,layer:"BE"},{id:"doctor",label:"bin/doctor.ts",dir:"bin",deg:1,layer:"BE"},{id:"schema",label:"drizzle/schema.ts",dir:"drizzle",deg:3,layer:"BE"},{id:"provision",label:"drizzle/provision.ts",dir:"drizzle",deg:2,layer:"BE"},{id:"tmapops",label:"map-ops.test.ts",dir:"tests",deg:0},{id:"tingest",label:"ingest.test.ts",dir:"tests",deg:0},{id:"tdbdiff",label:"db-diff.test.ts",dir:"tests",deg:0},{id:"trisk",label:"risk-badges.test.ts",dir:"tests",deg:0}].map(a=>{let b=d[a.dir]=(d[a.dir]??-1)+1,c=ad[a.dir],e=2.399963*b,f=0===b?0:52+20*b;return{id:a.id,type:"file",position:{x:Math.round(c.cx+Math.cos(e)*f),y:Math.round(c.cy+Math.sin(e)*f)},data:{label:a.label,inDegree:a.deg,dirColor:c.color,layer:a.layer,untested:a.untested}}})),af=[["mut","db"],["mut","utils"],["ws","utils"],["layer","utils"],["db","ws"],["db","schema"],["ncard","handles"],["ncard","consts"],["ncard","layer"],["ncard","catcolor"],["mapc","ncard"],["mapc","utils"],["dbmapc","dbtable"],["dbmapc","db"],["dbtable","handles"],["dbtable","consts"],["epnode","handles"],["dsidebar","ncard"],["planws","ncard"],["planws","mdview"],["planws","utils"],["annop","mdview"],["planbar","utils"],["planhist","mdview"],["ndrawer","neditor"],["ndrawer","notes"],["neditor","nmark"],["notes","db"],["ingR","db"],["ingR","ws"],["draftR","db"],["planR","ws"],["streamR","ws"],["nodesR","db"],["baR","db"],["iingest","db"],["iingest","cgraph"],["pipe","cgraph"],["merge","cgraph"],["watch","cgraph"],["cgraph","utils"],["iconfig","utils"],["mcp","db"],["mcp","ws"],["beacon","ws"],["hook","ws"],["stophook","ws"],["doctor","ws"],["provision","schema"],["tmapops","db"],["tingest","iingest"],["tdbdiff","db"],["trisk","ncard"]].map(([a,b],c)=>N(`g${c}`,a,"sb",b,"tt","file")),ag=[{key:"Roadmap",route:"/map",title:"Steer the agent's work order",body:"Features, sub-tasks and dependencies as a graph — priority on the border, a layer stripe for frontend or backend, and the work-on-next ring marking the agent's next move.",board:(0,e.jsx)($,{label:"/map \xb7 roadmap",height:600,nodes:[{id:"lane-a",type:"lane",position:{x:0,y:0},data:{w:360,h:580,label:"auth",count:3,colored:!0},draggable:!1,selectable:!1,zIndex:0},{id:"lane-b",type:"lane",position:{x:390,y:0},data:{w:360,h:580,label:"billing",count:3,colored:!0},draggable:!1,selectable:!1,zIndex:0},{id:"lane-c",type:"lane",position:{x:780,y:0},data:{w:360,h:580,label:"search",count:3,colored:!0},draggable:!1,selectable:!1,zIndex:0},{id:"magic",type:"road",position:{x:30,y:54},zIndex:1,data:{w:300,title:"Magic-link sign-in",role:"Email a one-time link, no passwords",kind:"feature",category:"auth",status:"IN_PROGRESS",priority:1,layer:"FE",ring:"next",rank:1,working:!0}},{id:"verify",type:"road",position:{x:52,y:250},zIndex:1,data:{w:268,title:"Issue + verify token",kind:"sub-task",status:"PENDING",priority:2,layer:"FE"}},{id:"pwreset",type:"road",position:{x:30,y:392},zIndex:1,data:{w:300,title:"Password reset",role:"Reuse the magic-link issuer",kind:"feature",category:"auth",status:"DONE",priority:2,layer:"FE"}},{id:"billing",type:"road",position:{x:420,y:54},zIndex:1,data:{w:300,title:"Billing portal",role:"Stripe customer portal + invoices",kind:"feature",category:"billing",status:"PENDING",priority:0,layer:"FS",signals:{untested:2,auth:!0}}},{id:"webhook",type:"road",position:{x:442,y:286},zIndex:1,data:{w:288,title:"Webhook handler",kind:"feature",category:"billing",status:"PENDING",priority:2,layer:"BE",ring:"next2",rank:2}},{id:"invoices",type:"road",position:{x:420,y:432},zIndex:1,data:{w:300,title:"Invoice PDF export",kind:"feature",category:"billing",status:"DONE",priority:2,layer:"BE"}},{id:"rate",type:"road",position:{x:810,y:54},zIndex:1,data:{w:300,title:"Rate limiter",role:"Token bucket on the public API",kind:"feature",category:"search",status:"PENDING",priority:2,layer:"BE"}},{id:"audit",type:"road",position:{x:832,y:250},zIndex:1,data:{w:268,title:"Write audit log rows",kind:"sub-task",status:"DONE",priority:3,layer:"BE"}},{id:"bug",type:"road",position:{x:810,y:392},zIndex:1,data:{w:300,title:"Token leaks into request logs",kind:"bug",category:"search",status:"PENDING",priority:0,layer:"BE",signals:{auth:!0}}}],edges:_})},{key:"Database",route:"/db",title:"Schema as a draft, diffed",body:"Proposed tables and endpoints diffed against your live schema — new in green, changed in amber. Foreign keys and endpoint→table usage draw themselves.",board:(0,e.jsx)($,{label:"/db \xb7 plan vs. repo",height:520,nodes:aa,edges:ab})},{key:"Architecture",route:"/map",title:"The subsystems, mapped",body:"Real architecture components grouped into domain regions, each with the role it plays — the high-level map the agent keeps current as the codebase grows.",board:(0,e.jsx)($,{label:"/map \xb7 architecture",height:760,nodes:[{id:"r-ui",type:"lane",position:{x:0,y:0},data:{w:348,h:548,label:"UI",count:3,colored:!0},draggable:!1,selectable:!1,zIndex:0},{id:"r-data",type:"lane",position:{x:392,y:0},data:{w:348,h:548,label:"DATA",count:3,colored:!0},draggable:!1,selectable:!1,zIndex:0},{id:"r-intel",type:"lane",position:{x:784,y:0},data:{w:348,h:372,label:"INTEL",count:2,colored:!0},draggable:!1,selectable:!1,zIndex:0},{id:"r-plan",type:"lane",position:{x:784,y:404},data:{w:348,h:196,label:"PLAN",count:1,colored:!0},draggable:!1,selectable:!1,zIndex:0},{id:"r-mcp",type:"lane",position:{x:392,y:580},data:{w:348,h:196,label:"MCP",count:1,colored:!0},draggable:!1,selectable:!1,zIndex:0},{id:"planui",type:"arch",position:{x:20,y:44},zIndex:1,data:{w:308,title:"Plan UI (/plan)",domain:"UI",status:"KEEP",layer:"FE",role:"Split-screen review page: annotation panel + roadmap / database canvases, tabbed.",files:5,in:0,out:6}},{id:"mapcanvas",type:"arch",position:{x:20,y:210},zIndex:1,data:{w:308,title:"Roadmap canvas (/map)",domain:"UI",status:"KEEP",layer:"FE",role:"React Flow roadmap / architecture canvases — node cards, detail sidebar, edge editing.",files:6,in:1,out:9}},{id:"dbcanvas",type:"arch",position:{x:20,y:376},zIndex:1,data:{w:308,title:"DB design canvas",domain:"UI",status:"KEEP",layer:"FE",role:"Tables + endpoints board with a distinct draft layer and approve / discard actions.",files:6,in:0,out:7}},{id:"ws",type:"arch",position:{x:412,y:44},zIndex:1,data:{w:308,title:"Workspaces (multi-repo)",domain:"DATA",status:"KEEP",layer:"BE",role:"Per-repo registry + data dir + sqlite, the active workspace, request-pin, db self-heal.",files:1,in:12,out:4}},{id:"prisma",type:"arch",position:{x:412,y:210},zIndex:1,data:{w:308,title:"Drizzle data layer",domain:"DATA",status:"KEEP",layer:"BE",role:"Workspace-resolving libSQL client plus node/edge mutations and the roadmap read-model.",files:6,in:18,out:5}},{id:"draft",type:"arch",position:{x:412,y:376},zIndex:1,data:{w:308,title:"Draft store",domain:"DATA",status:"KEEP",layer:"BE",role:"The proposed-schema draft layer; approve → promote into the real DB tables.",files:4,in:3,out:4}},{id:"daemon",type:"arch",position:{x:808,y:44},zIndex:1,data:{w:308,title:"Code-intelligence daemon",domain:"INTEL",status:"KEEP",layer:"BE",bugs:1,role:"Per-workspace watchers → polyglot, multi-root, incremental code-graph build → ingest.",files:6,in:2,out:9}},{id:"codegraph",type:"arch",position:{x:808,y:210},zIndex:1,data:{w:308,title:"Code graph & files canvas",domain:"INTEL",status:"KEEP",layer:"BE",role:"Polyglot import-edge index with blast-radius; the hub/lang-aware files canvas.",files:6,in:4,out:6}},{id:"plan",type:"arch",position:{x:808,y:448},zIndex:1,data:{w:308,title:"Plan review loop",domain:"PLAN",status:"KEEP",layer:"BE",role:"Receives proposed plans, blocks for the verdict, bundles annotations + board edits.",files:6,in:1,out:6}},{id:"mcp",type:"arch",position:{x:412,y:624},zIndex:1,data:{w:308,title:"MCP server",domain:"MCP",status:"KEEP",layer:"BE",role:"stdio server exposing beacon_propose_plan / context_for_feature; pins every request.",files:1,in:0,out:9}}],edges:ac})},{key:"Files",route:"code-graph",title:"See your codebase, live",body:"A polyglot import graph, Obsidian-style: every file a dot sized by how many files import it, colored by directory, with a layer ring and an amber ring on anything no test imports.",board:(0,e.jsx)($,{label:"code-graph \xb7 46 files \xb7 52 imports",height:720,nodes:ae,edges:af})}];function ah(){let[a,b]=(0,f.useState)("Roadmap"),c=ag.find(b=>b.key===a);return(0,e.jsxs)("div",{children:[(0,e.jsx)("div",{className:"mb-9 flex flex-wrap items-center justify-center gap-2",children:ag.map(c=>(0,e.jsx)("button",{className:"tour-tab","data-active":a===c.key,onClick:()=>b(c.key),children:c.key},c.key))}),(0,e.jsx)("div",{className:"tour-fade mx-auto w-full max-w-[1360px]",children:c.board},`${c.key}-board`),(0,e.jsxs)("div",{className:"tour-fade mx-auto mt-6 max-w-2xl text-center",children:[(0,e.jsxs)("p",{className:"text-[1.02rem] font-semibold tracking-tight",children:[(0,e.jsx)("span",{className:"w-mono text-[0.9rem] w-signal",children:c.route}),(0,e.jsx)("span",{className:"mx-2 w-muted",children:"\xb7"}),c.title]}),(0,e.jsx)("p",{className:"w-muted mt-1.5 text-[0.92rem] leading-relaxed",children:c.body})]},c.key)]})}let ai=c(49183).EO;function aj({d:a,color:b}){return(0,e.jsx)("svg",{width:15,height:15,viewBox:"0 0 24 24",fill:b??"currentColor","aria-hidden":!0,children:(0,e.jsx)("path",{d:a})})}let ak=[{n:"01",title:"Propose",body:(0,e.jsxs)(e.Fragment,{children:["Ask the session in your terminal to plan a feature. It calls"," ",(0,e.jsx)("span",{className:"w-mono text-foreground",children:"beacon_propose_plan"})," and blocks until you decide. No fire-and-forget."]}),code:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("span",{className:"w-signal",children:"›"})," plan: magic-link sign-in"]})},{n:"02",title:"Review",body:"The plan renders as feature nodes, tables, and endpoints. Select any passage to annotate it, mark it for deletion, or edit the boards directly.",code:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("span",{className:"text-foreground",children:"/plan"})," \xb7 2 features \xb7 1 table"]})},{n:"03",title:"Verdict",body:"Approve persists the drafts. Feedback sends your notes back and the agent re-plans. Discard throws it away. Every plan is archived either way.",code:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("span",{style:{color:"#6ee7b7"},children:"✓ approved"})," \xb7 drafts persisted"]})}],al=[{label:"Reuse first",body:"Beacon blocks duplicate features. Check the map before you create."},{label:"Design data first",body:(0,e.jsxs)(e.Fragment,{children:["Tables and endpoints before code. Review the schema as a draft on"," ",(0,e.jsx)("span",{className:"text-foreground",children:"/db"}),"."]})},{label:"Close every loop",body:"Register finished work so the map stays accurate next session."}];function am(){let a=(0,f.useRef)(null),[b,c]=(0,f.useState)(1);return(0,e.jsxs)("div",{className:"bm-window glass",children:[(0,e.jsxs)("div",{className:"bm-tabs",children:[(0,e.jsx)("span",{className:"h-3 w-3 rounded-full",style:{background:"#ff7a45",boxShadow:"0 0 7px rgba(255,122,69,.7)"}}),(0,e.jsx)("span",{className:"h-3 w-3 rounded-full",style:{background:"oklch(1 0 0 / .16)"}}),(0,e.jsx)("span",{className:"h-3 w-3 rounded-full",style:{background:"oklch(1 0 0 / .16)"}}),(0,e.jsx)("span",{className:"bm-tab active ml-2",children:"Roadmap"}),(0,e.jsx)("span",{className:"bm-tab",children:"Database"}),(0,e.jsx)("span",{className:"w-mono ml-auto hidden text-[0.66rem] w-muted min-[400px]:block",children:"/plan \xb7 review"})]}),(0,e.jsx)("div",{className:"bm-canvas",ref:a,style:{aspectRatio:"620 / 392"},children:(0,e.jsxs)("div",{className:"bm-stage",style:{width:620,height:392,transform:`scale(${b})`},children:[(0,e.jsxs)("svg",{className:"bm-edges",width:620,height:392,viewBox:"0 0 620 392","aria-hidden":!0,children:[(0,e.jsx)("path",{className:"bm-edge",style:{animationDelay:"1s"},pathLength:1,d:"M 135 111 C 135 148 165 168 165 210"}),(0,e.jsx)("path",{className:"bm-edge",style:{animationDelay:"1.15s"},pathLength:1,d:"M 244 78 C 300 78 320 150 374 150"}),(0,e.jsx)("path",{className:"bm-edge bm-edge-tail",style:{animationDelay:"1.7s"},pathLength:1,d:"M 596 205 C 596 230 576 242 558 252"})]}),(0,e.jsxs)("div",{className:"bm-node bm-node-draft",style:{left:26,top:38,width:218,animationDelay:".45s"},children:[(0,e.jsx)("div",{className:"bm-title",children:"Magic-link sign-in"}),(0,e.jsx)("div",{className:"bm-role",children:"Email a one-time link, no passwords"}),(0,e.jsxs)("div",{className:"bm-chiprow",children:[(0,e.jsx)("span",{className:"chip chip-sky",children:"feature"}),(0,e.jsx)("span",{className:"chip chip-violet",children:"auth"}),(0,e.jsx)("span",{className:"chip chip-amber",style:{marginLeft:"auto"},children:"Pending"})]})]}),(0,e.jsxs)("div",{className:"bm-node bm-node-draft",style:{left:70,top:210,width:190,animationDelay:".75s"},children:[(0,e.jsx)("div",{className:"bm-title",children:"Issue + verify token"}),(0,e.jsxs)("div",{className:"bm-chiprow",children:[(0,e.jsx)("span",{className:"chip chip-zinc",children:"sub-task"}),(0,e.jsx)("span",{className:"chip chip-amber",style:{marginLeft:"auto"},children:"Pending"})]})]}),(0,e.jsxs)("div",{className:"bm-table",style:{left:374,top:96,width:222,animationDelay:".6s"},children:[(0,e.jsxs)("div",{className:"bm-table-head",children:[(0,e.jsx)("span",{children:"auth_tokens"}),(0,e.jsx)("span",{className:"chip chip-green",children:"new"})]}),(0,e.jsxs)("div",{className:"bm-trow",children:[(0,e.jsx)(i.A,{size:9,style:{color:"#fde68a"}}),(0,e.jsx)("span",{children:"id"}),(0,e.jsx)("span",{className:"t",children:"uuid"})]}),(0,e.jsxs)("div",{className:"bm-trow",children:[(0,e.jsx)("span",{style:{width:9}}),(0,e.jsx)("span",{children:"token_hash"}),(0,e.jsx)("span",{className:"t",children:"text"})]}),(0,e.jsxs)("div",{className:"bm-trow",children:[(0,e.jsx)(j.A,{size:9,style:{color:"#7dd3fc"}}),(0,e.jsx)("span",{children:"user_id"}),(0,e.jsx)("span",{className:"t",children:"→ users"})]}),(0,e.jsxs)("div",{className:"bm-trow",children:[(0,e.jsx)("span",{style:{width:9}}),(0,e.jsx)("span",{children:"expires_at"}),(0,e.jsx)("span",{className:"t",children:"timestamp"})]})]}),(0,e.jsx)("span",{className:"bm-dot",style:{left:135,top:111,animationDelay:"1s"}}),(0,e.jsx)("span",{className:"bm-dot",style:{left:165,top:210,animationDelay:"1.3s"}}),(0,e.jsx)("span",{className:"bm-dot",style:{left:244,top:78,animationDelay:"1.15s"}}),(0,e.jsx)("span",{className:"bm-dot",style:{left:374,top:150,animationDelay:"1.45s"}}),(0,e.jsx)("span",{className:"bm-pin",style:{left:596,top:201,animationDelay:"1.55s"},children:"1"}),(0,e.jsxs)("div",{className:"bm-bubble",style:{left:356,top:252,width:226,animationDelay:"1.85s"},children:[(0,e.jsx)("div",{className:"lab",children:"annotation \xb7 you"}),(0,e.jsx)("div",{className:"txt",children:"Expire links after 15 min, not 24 h."})]}),(0,e.jsxs)("div",{className:"bm-bar",style:{animationDelay:"2.15s"},children:[(0,e.jsx)(k.A,{size:11,style:{color:"#6ee7b7"}}),(0,e.jsx)("span",{className:"ready",children:"plan ready \xb7 waiting for your verdict"}),(0,e.jsxs)("span",{className:"bm-btn bm-btn-approve",children:[(0,e.jsx)(l.A,{size:10})," Approve"]}),(0,e.jsxs)("span",{className:"bm-btn bm-btn-ghost",children:[(0,e.jsx)(m.A,{size:10})," Feedback"]}),(0,e.jsxs)("span",{className:"bm-btn bm-btn-ghost",children:[(0,e.jsx)(n.A,{size:10})," Discard"]})]})]})})]})}function an(){let a=(0,f.useRef)(null),[b,c]=(0,f.useState)(null),d=a=>(0,e.jsx)("button",{onClick:()=>{navigator.clipboard?.writeText(ai),c(a),setTimeout(()=>c(null),1600)},className:"glass-soft w-hover grid h-8 w-8 shrink-0 place-items-center rounded-md","aria-label":"Copy install command",children:b===a?(0,e.jsx)(l.A,{size:13,style:{color:"#ff7a45"}}):(0,e.jsx)(o.A,{size:13,className:"w-muted"})});return(0,e.jsxs)("div",{className:"welcome",ref:a,children:[(0,e.jsx)("div",{className:"welcome-bg","aria-hidden":!0}),(0,e.jsx)("header",{className:"fixed inset-x-0 top-0 z-50",children:(0,e.jsx)("div",{className:"mx-auto max-w-6xl px-6",children:(0,e.jsxs)("div",{className:"w-load mt-4 glass flex items-center justify-between rounded-full py-2.5 pl-5 pr-3",style:{animationDelay:".05s"},children:[(0,e.jsxs)(h(),{href:"#top",className:"flex items-center gap-2.5",children:[(0,e.jsx)(p._,{size:20,className:"text-foreground"}),(0,e.jsx)("span",{className:"font-semibold tracking-tight",children:"Beacon"})]}),(0,e.jsxs)("nav",{className:"flex items-center gap-4 text-sm w-muted sm:gap-6",children:[(0,e.jsx)("a",{href:"#how",className:"transition-colors hover:text-foreground",children:"The loop"}),(0,e.jsx)("a",{href:"#quickstart",className:"hidden transition-colors hover:text-foreground sm:block",children:"Quickstart"}),(0,e.jsx)("a",{href:"/docs",className:"transition-colors hover:text-foreground",children:"Docs"}),(0,e.jsxs)("a",{href:"https://github.com/wenzorithelly/beacon",target:"_blank",rel:"noreferrer",className:"glass-soft w-hover inline-flex items-center gap-2 rounded-full py-1.5 pl-3 pr-3.5 text-foreground","aria-label":"Beacon on GitHub",children:[(0,e.jsx)(aj,{d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"}),(0,e.jsx)("span",{className:"hidden sm:inline",children:"GitHub"})]})]})]})})}),(0,e.jsx)("span",{id:"top"}),(0,e.jsxs)("section",{className:"px-6 pb-16 pt-20 md:pt-24",children:[(0,e.jsxs)("div",{className:"mx-auto grid max-w-6xl items-center gap-12 lg:grid-cols-[1fr_1.1fr]",children:[(0,e.jsxs)("div",{className:"min-w-0",children:[(0,e.jsxs)("div",{className:"w-load glass-soft mb-6 inline-flex items-center gap-2 rounded-full px-3.5 py-1.5",style:{animationDelay:".12s"},children:[(0,e.jsx)("span",{className:"w-live h-1.5 w-1.5 rounded-full",style:{background:"#ff7a45",boxShadow:"0 0 8px #ff7a45"}}),(0,e.jsx)("span",{className:"w-mono w-eyebrow w-muted",children:"See your codebase \xb7 steer your agent"})]}),(0,e.jsxs)("h1",{className:"w-load font-semibold text-[clamp(2.2rem,4.6vw,3.4rem)]",style:{letterSpacing:"-0.025em",lineHeight:1.06,animationDelay:".18s"},children:["Give your coding agent ",(0,e.jsx)("span",{className:"w-signal",children:"eyes"})," and hands."]}),(0,e.jsx)("p",{className:"w-load w-muted mt-5 max-w-md text-[1.02rem] leading-relaxed",style:{animationDelay:".26s"},children:"The session in your terminal is the brain. Beacon is where its plans become visible: features, tables, and endpoints on a canvas you annotate, edit, and approve with one click."}),(0,e.jsxs)("div",{className:"w-load mt-8",style:{animationDelay:".34s"},children:[(0,e.jsxs)("div",{className:"glass flex max-w-lg items-center gap-3 rounded-lg py-2.5 pl-4 pr-2",children:[(0,e.jsxs)("code",{className:"w-mono w-scrollbar-none min-w-0 flex-1 overflow-x-auto whitespace-nowrap text-[0.85rem]",children:[(0,e.jsx)("span",{className:"w-signal select-none",children:"$"}),(0,e.jsx)("span",{className:"ml-2",children:ai}),(0,e.jsx)("span",{className:"w-caret ml-1 inline-block h-3.5 w-1.5 align-middle",style:{background:"#ff7a45"}})]}),d("hero")]}),(0,e.jsxs)("p",{className:"w-mono w-muted mt-3 text-[0.78rem]",children:["then run ",(0,e.jsx)("span",{className:"text-foreground",children:"beacon"})," inside any repo"]})]}),(0,e.jsxs)("div",{className:"w-load mt-9 flex flex-wrap items-center gap-x-5 gap-y-2",style:{animationDelay:".42s"},children:[(0,e.jsx)("span",{className:"w-mono w-eyebrow w-muted",children:"Works with"}),(0,e.jsxs)("span",{className:"flex items-center gap-2 text-sm text-foreground/90",children:[(0,e.jsx)(aj,{d:"m4.7144 15.9555 4.7174-2.6471.079-.2307-.079-.1275h-.2307l-.7893-.0486-2.6956-.0729-2.3375-.0971-2.2646-.1214-.5707-.1215-.5343-.7042.0546-.3522.4797-.3218.686.0608 1.5179.1032 2.2767.1578 1.6514.0972 2.4468.255h.3886l.0546-.1579-.1336-.0971-.1032-.0972L6.973 9.8356l-2.55-1.6879-1.3356-.9714-.7225-.4918-.3643-.4614-.1578-1.0078.6557-.7225.8803.0607.2246.0607.8925.686 1.9064 1.4754 2.4893 1.8336.3643.3035.1457-.1032.0182-.0728-.164-.2733-1.3539-2.4467-1.445-2.4893-.6435-1.032-.17-.6194c-.0607-.255-.1032-.4674-.1032-.7285L6.287.1335 6.6997 0l.9957.1336.419.3642.6192 1.4147 1.0018 2.2282 1.5543 3.0296.4553.8985.2429.8318.091.255h.1579v-.1457l.1275-1.706.2368-2.0947.2307-2.6957.0789-.7589.3764-.9107.7468-.4918.5828.2793.4797.686-.0668.4433-.2853 1.8517-.5586 2.9021-.3643 1.9429h.2125l.2429-.2429.9835-1.3053 1.6514-2.0643.7286-.8196.85-.9046.5464-.4311h1.0321l.759 1.1293-.34 1.1657-1.0625 1.3478-.8804 1.1414-1.2628 1.7-.7893 1.36.0729.1093.1882-.0183 2.8535-.607 1.5421-.2794 1.8396-.3157.8318.3886.091.3946-.3278.8075-1.967.4857-2.3072.4614-3.4364.8136-.0425.0304.0486.0607 1.5482.1457.6618.0364h1.621l3.0175.2247.7892.522.4736.6376-.079.4857-1.2142.6193-1.6393-.3886-3.825-.9107-1.3113-.3279h-.1822v.1093l1.0929 1.0686 2.0035 1.8092 2.5075 2.3314.1275.5768-.3218.4554-.34-.0486-2.2039-1.6575-.85-.7468-1.9246-1.621h-.1275v.17l.4432.6496 2.3436 3.5214.1214 1.0807-.17.3521-.6071.2125-.6679-.1214-1.3721-1.9246L14.38 17.959l-1.1414-1.9428-.1397.079-.674 7.2552-.3156.3703-.7286.2793-.6071-.4614-.3218-.7468.3218-1.4753.3886-1.9246.3157-1.53.2853-1.9004.17-.6314-.0121-.0425-.1397.0182-1.4328 1.9672-2.1796 2.9446-1.7243 1.8456-.4128.164-.7164-.3704.0667-.6618.4008-.5889 2.386-3.0357 1.4389-1.882.929-1.0868-.0062-.1579h-.0546l-6.3385 4.1164-1.1293.1457-.4857-.4554.0608-.7467.2307-.2429 1.9064-1.3114Z",color:"#D97757"})," Claude Code"]}),(0,e.jsxs)("span",{className:"flex items-center gap-2 text-sm text-foreground/90",children:[(0,e.jsx)(aj,{d:"M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z"})," Codex"]})]})]}),(0,e.jsx)("div",{className:"w-load min-w-0",style:{animationDelay:".3s"},children:(0,e.jsx)(am,{})})]}),(0,e.jsxs)("a",{href:"#how",className:"w-load mx-auto mt-12 flex w-fit flex-col items-center gap-2 w-muted transition-colors hover:text-foreground md:mt-20",style:{animationDelay:".6s"},children:[(0,e.jsx)("span",{className:"w-mono w-eyebrow",children:"The loop"}),(0,e.jsx)("svg",{className:"w-cue",width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,e.jsx)("path",{d:"m6 9 6 6 6-6"})})]})]}),(0,e.jsx)("section",{id:"how",className:"px-6 py-16 md:py-24",children:(0,e.jsxs)("div",{className:"mx-auto max-w-5xl",children:[(0,e.jsxs)("div",{className:"w-reveal mb-14 text-center",children:[(0,e.jsx)("p",{className:"w-mono w-eyebrow w-signal mb-4",children:"The loop"}),(0,e.jsx)("h2",{className:"text-[clamp(1.9rem,4vw,2.75rem)] font-semibold tracking-tight",children:"Propose. Review. Verdict. Repeat."}),(0,e.jsx)("div",{className:"w-accent-line mx-auto mt-6 h-px w-40"})]}),(0,e.jsx)("div",{className:"grid gap-10 md:grid-cols-3",children:ak.map(a=>(0,e.jsxs)("div",{className:"loop-card w-reveal glass w-hover rounded-lg p-6",children:[(0,e.jsx)("p",{className:"w-mono w-eyebrow w-signal mb-3",children:a.n}),(0,e.jsx)("h3",{className:"mb-2 font-semibold",children:a.title}),(0,e.jsx)("p",{className:"w-muted mb-4 text-[0.92rem] leading-relaxed",children:a.body}),(0,e.jsx)("code",{className:"w-mono glass-soft inline-block rounded-md px-3 py-1.5 text-[0.74rem]",children:a.code})]},a.n))}),(0,e.jsxs)("p",{className:"w-reveal w-mono w-muted mt-10 text-center text-[0.78rem]",children:["feedback sends the agent back to ",(0,e.jsx)("span",{className:"w-signal",children:"01"})," \xb7 approval persists the drafts"]})]})}),(0,e.jsx)("section",{className:"px-6 py-16 md:py-20",children:(0,e.jsxs)("div",{className:"mx-auto max-w-[88rem]",children:[(0,e.jsxs)("div",{className:"w-reveal mb-12 text-center",children:[(0,e.jsx)("p",{className:"w-mono w-eyebrow w-signal mb-4",children:"The surfaces"}),(0,e.jsx)("h2",{className:"text-[clamp(1.6rem,3.4vw,2.25rem)] font-semibold tracking-tight",children:"Everything the agent plans, drawn"})]}),(0,e.jsx)("div",{className:"w-reveal",children:(0,e.jsx)(ah,{})})]})}),(0,e.jsxs)("section",{id:"quickstart",className:"px-6 py-16 md:py-24",children:[(0,e.jsxs)("div",{className:"mx-auto max-w-3xl",children:[(0,e.jsxs)("div",{className:"w-reveal mb-12 text-center",children:[(0,e.jsx)("p",{className:"w-mono w-eyebrow w-signal mb-4",children:"Quickstart"}),(0,e.jsx)("h2",{className:"text-[clamp(1.6rem,3.4vw,2.25rem)] font-semibold tracking-tight",children:"Five lines to your first approved plan"})]}),(0,e.jsxs)("div",{className:"w-reveal glass overflow-hidden rounded-lg",children:[(0,e.jsxs)("div",{className:"flex items-center gap-2 border-b px-4 py-3",style:{borderColor:"var(--border)"},children:[(0,e.jsx)("span",{className:"h-3 w-3 rounded-full",style:{background:"#ff7a45",boxShadow:"0 0 7px rgba(255,122,69,.7)"}}),(0,e.jsx)("span",{className:"h-3 w-3 rounded-full",style:{background:"oklch(1 0 0 / .16)"}}),(0,e.jsx)("span",{className:"h-3 w-3 rounded-full",style:{background:"oklch(1 0 0 / .16)"}}),(0,e.jsx)("span",{className:"w-mono ml-2 text-[0.72rem] w-muted",children:"your-repo — terminal"})]}),(0,e.jsxs)("div",{className:"px-5 py-4",children:[(0,e.jsxs)("div",{className:"ql",children:[(0,e.jsxs)("code",{className:"cmd w-scrollbar-none",children:[(0,e.jsx)("span",{className:"w-signal select-none",children:"$ "}),ai]}),(0,e.jsx)("span",{className:"note",children:"01 \xb7 one binary, nothing to configure"}),d("qs")]}),(0,e.jsxs)("div",{className:"ql",children:[(0,e.jsxs)("code",{className:"cmd",children:[(0,e.jsx)("span",{className:"w-signal select-none",children:"$ "}),"cd your-repo && beacon"]}),(0,e.jsx)("span",{className:"note",children:"02 \xb7 registers the repo, opens the panel"})]}),(0,e.jsxs)("div",{className:"ql",children:[(0,e.jsxs)("code",{className:"cmd",children:[(0,e.jsx)("span",{className:"w-signal select-none",children:"› "}),"/beacon-init"]}),(0,e.jsx)("span",{className:"note",children:"03 \xb7 maps architecture, schema, roadmap"})]}),(0,e.jsxs)("div",{className:"ql",children:[(0,e.jsxs)("code",{className:"cmd",children:[(0,e.jsx)("span",{className:"w-signal select-none",children:"› "}),"plan: magic-link sign-in"]}),(0,e.jsx)("span",{className:"note",children:"04 \xb7 the plan streams onto /plan"})]}),(0,e.jsxs)("div",{className:"ql",children:[(0,e.jsxs)("code",{className:"cmd",children:[(0,e.jsxs)("span",{className:"select-none",style:{color:"#6ee7b7"},children:["✓"," "]}),"approve \xb7 feedback \xb7 discard"]}),(0,e.jsx)("span",{className:"note",children:"05 \xb7 the verdict returns to your session"})]})]})]})]}),(0,e.jsx)("div",{className:"mx-auto mt-16 max-w-5xl",children:(0,e.jsx)("div",{className:"w-reveal glass grid overflow-hidden rounded-lg md:grid-cols-3 md:divide-x md:divide-y-0 divide-y",style:{borderColor:"var(--border)"},children:al.map(a=>(0,e.jsxs)("div",{className:"p-6",style:{borderColor:"oklch(1 0 0 / 0.07)"},children:[(0,e.jsx)("p",{className:"w-mono w-eyebrow w-signal mb-2.5",children:a.label}),(0,e.jsx)("p",{className:"w-muted text-[0.9rem] leading-relaxed",children:a.body})]},a.label))})})]}),(0,e.jsx)("footer",{className:"px-6 pb-12 pt-8",children:(0,e.jsxs)("div",{className:"mx-auto max-w-5xl",children:[(0,e.jsx)("div",{className:"w-accent-line mb-8 h-px w-full opacity-60"}),(0,e.jsxs)("div",{className:"flex flex-col items-center justify-between gap-5 md:flex-row",children:[(0,e.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,e.jsx)(p._,{size:26,className:"text-foreground"}),(0,e.jsxs)("div",{children:[(0,e.jsx)("p",{className:"font-semibold leading-tight",children:"Beacon"}),(0,e.jsx)("p",{className:"w-mono w-muted text-[0.72rem]",children:"the visual planning surface for your terminal"})]})]}),(0,e.jsxs)("nav",{className:"flex items-center gap-6 text-sm w-muted",children:[(0,e.jsx)("a",{href:"/docs",className:"transition-colors hover:text-foreground",children:"Docs"}),(0,e.jsx)("a",{href:"#",className:"transition-colors hover:text-foreground",children:"Changelog"}),(0,e.jsx)("a",{href:"https://github.com/wenzorithelly/beacon/blob/main/LICENSE",target:"_blank",rel:"noreferrer",className:"transition-colors hover:text-foreground",children:"Apache 2.0"})]}),(0,e.jsxs)("p",{className:"w-mono w-muted text-[0.72rem]",children:["Created by"," ",(0,e.jsxs)("a",{href:"https://www.instagram.com/wenzorithelly/",target:"_blank",rel:"noreferrer",className:"w-signal inline-flex items-center gap-1 underline decoration-dotted underline-offset-2 transition-opacity hover:opacity-80",children:[(0,e.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":!0,children:[(0,e.jsx)("rect",{x:"2",y:"2",width:"20",height:"20",rx:"5",ry:"5"}),(0,e.jsx)("path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z"}),(0,e.jsx)("line",{x1:"17.5",y1:"6.5",x2:"17.51",y2:"6.5"})]}),"Wenzo"]}),(0,e.jsx)("span",{className:"mx-2 opacity-40",children:"\xb7"}),"\xa9 2026 Beacon"]})]})]})})]})}},77598:a=>{"use strict";a.exports=require("node:crypto")},77702:()=>{},78335:()=>{},82741:()=>{},86439:a=>{"use strict";a.exports=require("next/dist/shared/lib/no-fallback-error.external")},89216:(a,b,c)=>{"use strict";c.d(b,{A:()=>d});let d=(0,c(64686).A)("link-2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]])},91770:(a,b,c)=>{Promise.resolve().then(c.bind(c,67878))},96487:()=>{},99647:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>g,metadata:()=>f});var d=c(5735),e=c(67878);let f={title:"Beacon — the visual planning surface for the coding agent in your terminal",description:"Propose a feature plan, review it on a canvas instead of a wall of text, and approve with a click. Local-first, one binary, runs in any repo."};function g(){return(0,d.jsx)(e.Landing,{})}}};var b=require("../webpack-runtime.js");b.C(a);var c=b.X(0,[4741,319,5704,6819,5509],()=>b(b.s=56573));module.exports=c})();
@@ -1 +1 @@
1
- {"version":1,"files":["../../../node_modules/@libsql/client/lib-cjs/hrana.js","../../../node_modules/@libsql/client/lib-cjs/http.js","../../../node_modules/@libsql/client/lib-cjs/node.js","../../../node_modules/@libsql/client/lib-cjs/package.json","../../../node_modules/@libsql/client/lib-cjs/sql_cache.js","../../../node_modules/@libsql/client/lib-cjs/sqlite3.js","../../../node_modules/@libsql/client/lib-cjs/ws.js","../../../node_modules/@libsql/client/lib-esm/hrana.js","../../../node_modules/@libsql/client/lib-esm/http.js","../../../node_modules/@libsql/client/lib-esm/node.js","../../../node_modules/@libsql/client/lib-esm/sql_cache.js","../../../node_modules/@libsql/client/lib-esm/sqlite3.js","../../../node_modules/@libsql/client/lib-esm/ws.js","../../../node_modules/@libsql/client/package.json","../../../node_modules/@libsql/core/lib-cjs/api.js","../../../node_modules/@libsql/core/lib-cjs/config.js","../../../node_modules/@libsql/core/lib-cjs/package.json","../../../node_modules/@libsql/core/lib-cjs/uri.js","../../../node_modules/@libsql/core/lib-cjs/util.js","../../../node_modules/@libsql/core/lib-esm/api.js","../../../node_modules/@libsql/core/lib-esm/config.js","../../../node_modules/@libsql/core/lib-esm/uri.js","../../../node_modules/@libsql/core/lib-esm/util.js","../../../node_modules/@libsql/core/package.json","../../../node_modules/@libsql/hrana-client/lib-cjs/batch.js","../../../node_modules/@libsql/hrana-client/lib-cjs/byte_queue.js","../../../node_modules/@libsql/hrana-client/lib-cjs/client.js","../../../node_modules/@libsql/hrana-client/lib-cjs/cursor.js","../../../node_modules/@libsql/hrana-client/lib-cjs/describe.js","../../../node_modules/@libsql/hrana-client/lib-cjs/encoding/index.js","../../../node_modules/@libsql/hrana-client/lib-cjs/encoding/json/decode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/encoding/json/encode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/encoding/protobuf/decode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/encoding/protobuf/encode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/encoding/protobuf/util.js","../../../node_modules/@libsql/hrana-client/lib-cjs/errors.js","../../../node_modules/@libsql/hrana-client/lib-cjs/http/client.js","../../../node_modules/@libsql/hrana-client/lib-cjs/http/cursor.js","../../../node_modules/@libsql/hrana-client/lib-cjs/http/json_decode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/http/json_encode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/http/protobuf_decode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/http/protobuf_encode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/http/stream.js","../../../node_modules/@libsql/hrana-client/lib-cjs/id_alloc.js","../../../node_modules/@libsql/hrana-client/lib-cjs/index.js","../../../node_modules/@libsql/hrana-client/lib-cjs/libsql_url.js","../../../node_modules/@libsql/hrana-client/lib-cjs/package.json","../../../node_modules/@libsql/hrana-client/lib-cjs/queue.js","../../../node_modules/@libsql/hrana-client/lib-cjs/queue_microtask.js","../../../node_modules/@libsql/hrana-client/lib-cjs/result.js","../../../node_modules/@libsql/hrana-client/lib-cjs/shared/json_decode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/shared/json_encode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/shared/protobuf_decode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/shared/protobuf_encode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/sql.js","../../../node_modules/@libsql/hrana-client/lib-cjs/stmt.js","../../../node_modules/@libsql/hrana-client/lib-cjs/stream.js","../../../node_modules/@libsql/hrana-client/lib-cjs/util.js","../../../node_modules/@libsql/hrana-client/lib-cjs/value.js","../../../node_modules/@libsql/hrana-client/lib-cjs/ws/client.js","../../../node_modules/@libsql/hrana-client/lib-cjs/ws/cursor.js","../../../node_modules/@libsql/hrana-client/lib-cjs/ws/json_decode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/ws/json_encode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/ws/protobuf_decode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/ws/protobuf_encode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/ws/stream.js","../../../node_modules/@libsql/hrana-client/lib-esm/batch.js","../../../node_modules/@libsql/hrana-client/lib-esm/byte_queue.js","../../../node_modules/@libsql/hrana-client/lib-esm/client.js","../../../node_modules/@libsql/hrana-client/lib-esm/cursor.js","../../../node_modules/@libsql/hrana-client/lib-esm/describe.js","../../../node_modules/@libsql/hrana-client/lib-esm/encoding/index.js","../../../node_modules/@libsql/hrana-client/lib-esm/encoding/json/decode.js","../../../node_modules/@libsql/hrana-client/lib-esm/encoding/json/encode.js","../../../node_modules/@libsql/hrana-client/lib-esm/encoding/protobuf/decode.js","../../../node_modules/@libsql/hrana-client/lib-esm/encoding/protobuf/encode.js","../../../node_modules/@libsql/hrana-client/lib-esm/encoding/protobuf/util.js","../../../node_modules/@libsql/hrana-client/lib-esm/errors.js","../../../node_modules/@libsql/hrana-client/lib-esm/http/client.js","../../../node_modules/@libsql/hrana-client/lib-esm/http/cursor.js","../../../node_modules/@libsql/hrana-client/lib-esm/http/json_decode.js","../../../node_modules/@libsql/hrana-client/lib-esm/http/json_encode.js","../../../node_modules/@libsql/hrana-client/lib-esm/http/protobuf_decode.js","../../../node_modules/@libsql/hrana-client/lib-esm/http/protobuf_encode.js","../../../node_modules/@libsql/hrana-client/lib-esm/http/stream.js","../../../node_modules/@libsql/hrana-client/lib-esm/id_alloc.js","../../../node_modules/@libsql/hrana-client/lib-esm/index.js","../../../node_modules/@libsql/hrana-client/lib-esm/libsql_url.js","../../../node_modules/@libsql/hrana-client/lib-esm/queue.js","../../../node_modules/@libsql/hrana-client/lib-esm/queue_microtask.js","../../../node_modules/@libsql/hrana-client/lib-esm/result.js","../../../node_modules/@libsql/hrana-client/lib-esm/shared/json_decode.js","../../../node_modules/@libsql/hrana-client/lib-esm/shared/json_encode.js","../../../node_modules/@libsql/hrana-client/lib-esm/shared/protobuf_decode.js","../../../node_modules/@libsql/hrana-client/lib-esm/shared/protobuf_encode.js","../../../node_modules/@libsql/hrana-client/lib-esm/sql.js","../../../node_modules/@libsql/hrana-client/lib-esm/stmt.js","../../../node_modules/@libsql/hrana-client/lib-esm/stream.js","../../../node_modules/@libsql/hrana-client/lib-esm/util.js","../../../node_modules/@libsql/hrana-client/lib-esm/value.js","../../../node_modules/@libsql/hrana-client/lib-esm/ws/client.js","../../../node_modules/@libsql/hrana-client/lib-esm/ws/cursor.js","../../../node_modules/@libsql/hrana-client/lib-esm/ws/json_decode.js","../../../node_modules/@libsql/hrana-client/lib-esm/ws/json_encode.js","../../../node_modules/@libsql/hrana-client/lib-esm/ws/protobuf_decode.js","../../../node_modules/@libsql/hrana-client/lib-esm/ws/protobuf_encode.js","../../../node_modules/@libsql/hrana-client/lib-esm/ws/stream.js","../../../node_modules/@libsql/hrana-client/package.json","../../../node_modules/@libsql/isomorphic-ws/node.cjs","../../../node_modules/@libsql/isomorphic-ws/node.mjs","../../../node_modules/@libsql/isomorphic-ws/package.json","../../../node_modules/@libsql/linux-x64-gnu/index.node","../../../node_modules/@libsql/linux-x64-gnu/package.json","../../../node_modules/@neon-rs/load/dist/index.js","../../../node_modules/@neon-rs/load/package.json","../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../node_modules/@swc/helpers/package.json","../../../node_modules/detect-libc/lib/detect-libc.js","../../../node_modules/detect-libc/lib/filesystem.js","../../../node_modules/detect-libc/lib/process.js","../../../node_modules/detect-libc/package.json","../../../node_modules/js-base64/base64.js","../../../node_modules/js-base64/base64.mjs","../../../node_modules/js-base64/package.json","../../../node_modules/libsql/auth.js","../../../node_modules/libsql/index.js","../../../node_modules/libsql/package.json","../../../node_modules/libsql/sqlite-error.js","../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../node_modules/next/dist/client/components/app-router-headers.js","../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../node_modules/next/dist/client/lib/console.js","../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../node_modules/next/dist/compiled/bytes/index.js","../../../node_modules/next/dist/compiled/bytes/package.json","../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../node_modules/next/dist/compiled/source-map/package.json","../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../node_modules/next/dist/compiled/ws/index.js","../../../node_modules/next/dist/compiled/ws/package.json","../../../node_modules/next/dist/lib/client-and-server-references.js","../../../node_modules/next/dist/lib/constants.js","../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../node_modules/next/dist/lib/interop-default.js","../../../node_modules/next/dist/lib/is-error.js","../../../node_modules/next/dist/lib/picocolors.js","../../../node_modules/next/dist/lib/scheduler.js","../../../node_modules/next/dist/lib/semver-noop.js","../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../node_modules/next/dist/server/lib/lru-cache.js","../../../node_modules/next/dist/server/lib/parse-stack.js","../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../node_modules/next/dist/server/lib/source-maps.js","../../../node_modules/next/dist/server/lib/trace/constants.js","../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../node_modules/next/dist/server/load-manifest.external.js","../../../node_modules/next/dist/server/node-environment-baseline.js","../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../node_modules/next/dist/server/node-environment.js","../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../node_modules/next/dist/server/patch-error-inspect.js","../../../node_modules/next/dist/server/require-hook.js","../../../node_modules/next/dist/server/response-cache/types.js","../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../node_modules/next/dist/shared/lib/router/utils/get-segment-param.js","../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../node_modules/next/dist/shared/lib/router/utils/interception-routes.js","../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../node_modules/next/dist/shared/lib/segment.js","../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../node_modules/next/dist/shared/lib/size-limit.js","../../../node_modules/next/package.json","../../../node_modules/promise-limit/index.js","../../../node_modules/promise-limit/package.json","../../../node_modules/react/cjs/react.development.js","../../../node_modules/react/cjs/react.production.js","../../../node_modules/react/index.js","../../../node_modules/react/package.json","../../../node_modules/ws/index.js","../../../node_modules/ws/lib/buffer-util.js","../../../node_modules/ws/lib/constants.js","../../../node_modules/ws/lib/event-target.js","../../../node_modules/ws/lib/extension.js","../../../node_modules/ws/lib/limiter.js","../../../node_modules/ws/lib/permessage-deflate.js","../../../node_modules/ws/lib/receiver.js","../../../node_modules/ws/lib/sender.js","../../../node_modules/ws/lib/stream.js","../../../node_modules/ws/lib/subprotocol.js","../../../node_modules/ws/lib/validation.js","../../../node_modules/ws/lib/websocket-server.js","../../../node_modules/ws/lib/websocket.js","../../../node_modules/ws/package.json","../../../node_modules/ws/wrapper.mjs","../../../package.json","../../package.json","../chunks/1669.js","../chunks/319.js","../chunks/4741.js","../chunks/5258.js","../chunks/5704.js","../chunks/5871.js","../chunks/6819.js","../chunks/7999.js","../chunks/9884.js","../webpack-runtime.js","page_client-reference-manifest.js"]}
1
+ {"version":1,"files":["../../../node_modules/@libsql/client/lib-cjs/hrana.js","../../../node_modules/@libsql/client/lib-cjs/http.js","../../../node_modules/@libsql/client/lib-cjs/node.js","../../../node_modules/@libsql/client/lib-cjs/package.json","../../../node_modules/@libsql/client/lib-cjs/sql_cache.js","../../../node_modules/@libsql/client/lib-cjs/sqlite3.js","../../../node_modules/@libsql/client/lib-cjs/ws.js","../../../node_modules/@libsql/client/lib-esm/hrana.js","../../../node_modules/@libsql/client/lib-esm/http.js","../../../node_modules/@libsql/client/lib-esm/node.js","../../../node_modules/@libsql/client/lib-esm/sql_cache.js","../../../node_modules/@libsql/client/lib-esm/sqlite3.js","../../../node_modules/@libsql/client/lib-esm/ws.js","../../../node_modules/@libsql/client/package.json","../../../node_modules/@libsql/core/lib-cjs/api.js","../../../node_modules/@libsql/core/lib-cjs/config.js","../../../node_modules/@libsql/core/lib-cjs/package.json","../../../node_modules/@libsql/core/lib-cjs/uri.js","../../../node_modules/@libsql/core/lib-cjs/util.js","../../../node_modules/@libsql/core/lib-esm/api.js","../../../node_modules/@libsql/core/lib-esm/config.js","../../../node_modules/@libsql/core/lib-esm/uri.js","../../../node_modules/@libsql/core/lib-esm/util.js","../../../node_modules/@libsql/core/package.json","../../../node_modules/@libsql/hrana-client/lib-cjs/batch.js","../../../node_modules/@libsql/hrana-client/lib-cjs/byte_queue.js","../../../node_modules/@libsql/hrana-client/lib-cjs/client.js","../../../node_modules/@libsql/hrana-client/lib-cjs/cursor.js","../../../node_modules/@libsql/hrana-client/lib-cjs/describe.js","../../../node_modules/@libsql/hrana-client/lib-cjs/encoding/index.js","../../../node_modules/@libsql/hrana-client/lib-cjs/encoding/json/decode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/encoding/json/encode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/encoding/protobuf/decode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/encoding/protobuf/encode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/encoding/protobuf/util.js","../../../node_modules/@libsql/hrana-client/lib-cjs/errors.js","../../../node_modules/@libsql/hrana-client/lib-cjs/http/client.js","../../../node_modules/@libsql/hrana-client/lib-cjs/http/cursor.js","../../../node_modules/@libsql/hrana-client/lib-cjs/http/json_decode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/http/json_encode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/http/protobuf_decode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/http/protobuf_encode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/http/stream.js","../../../node_modules/@libsql/hrana-client/lib-cjs/id_alloc.js","../../../node_modules/@libsql/hrana-client/lib-cjs/index.js","../../../node_modules/@libsql/hrana-client/lib-cjs/libsql_url.js","../../../node_modules/@libsql/hrana-client/lib-cjs/package.json","../../../node_modules/@libsql/hrana-client/lib-cjs/queue.js","../../../node_modules/@libsql/hrana-client/lib-cjs/queue_microtask.js","../../../node_modules/@libsql/hrana-client/lib-cjs/result.js","../../../node_modules/@libsql/hrana-client/lib-cjs/shared/json_decode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/shared/json_encode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/shared/protobuf_decode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/shared/protobuf_encode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/sql.js","../../../node_modules/@libsql/hrana-client/lib-cjs/stmt.js","../../../node_modules/@libsql/hrana-client/lib-cjs/stream.js","../../../node_modules/@libsql/hrana-client/lib-cjs/util.js","../../../node_modules/@libsql/hrana-client/lib-cjs/value.js","../../../node_modules/@libsql/hrana-client/lib-cjs/ws/client.js","../../../node_modules/@libsql/hrana-client/lib-cjs/ws/cursor.js","../../../node_modules/@libsql/hrana-client/lib-cjs/ws/json_decode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/ws/json_encode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/ws/protobuf_decode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/ws/protobuf_encode.js","../../../node_modules/@libsql/hrana-client/lib-cjs/ws/stream.js","../../../node_modules/@libsql/hrana-client/lib-esm/batch.js","../../../node_modules/@libsql/hrana-client/lib-esm/byte_queue.js","../../../node_modules/@libsql/hrana-client/lib-esm/client.js","../../../node_modules/@libsql/hrana-client/lib-esm/cursor.js","../../../node_modules/@libsql/hrana-client/lib-esm/describe.js","../../../node_modules/@libsql/hrana-client/lib-esm/encoding/index.js","../../../node_modules/@libsql/hrana-client/lib-esm/encoding/json/decode.js","../../../node_modules/@libsql/hrana-client/lib-esm/encoding/json/encode.js","../../../node_modules/@libsql/hrana-client/lib-esm/encoding/protobuf/decode.js","../../../node_modules/@libsql/hrana-client/lib-esm/encoding/protobuf/encode.js","../../../node_modules/@libsql/hrana-client/lib-esm/encoding/protobuf/util.js","../../../node_modules/@libsql/hrana-client/lib-esm/errors.js","../../../node_modules/@libsql/hrana-client/lib-esm/http/client.js","../../../node_modules/@libsql/hrana-client/lib-esm/http/cursor.js","../../../node_modules/@libsql/hrana-client/lib-esm/http/json_decode.js","../../../node_modules/@libsql/hrana-client/lib-esm/http/json_encode.js","../../../node_modules/@libsql/hrana-client/lib-esm/http/protobuf_decode.js","../../../node_modules/@libsql/hrana-client/lib-esm/http/protobuf_encode.js","../../../node_modules/@libsql/hrana-client/lib-esm/http/stream.js","../../../node_modules/@libsql/hrana-client/lib-esm/id_alloc.js","../../../node_modules/@libsql/hrana-client/lib-esm/index.js","../../../node_modules/@libsql/hrana-client/lib-esm/libsql_url.js","../../../node_modules/@libsql/hrana-client/lib-esm/queue.js","../../../node_modules/@libsql/hrana-client/lib-esm/queue_microtask.js","../../../node_modules/@libsql/hrana-client/lib-esm/result.js","../../../node_modules/@libsql/hrana-client/lib-esm/shared/json_decode.js","../../../node_modules/@libsql/hrana-client/lib-esm/shared/json_encode.js","../../../node_modules/@libsql/hrana-client/lib-esm/shared/protobuf_decode.js","../../../node_modules/@libsql/hrana-client/lib-esm/shared/protobuf_encode.js","../../../node_modules/@libsql/hrana-client/lib-esm/sql.js","../../../node_modules/@libsql/hrana-client/lib-esm/stmt.js","../../../node_modules/@libsql/hrana-client/lib-esm/stream.js","../../../node_modules/@libsql/hrana-client/lib-esm/util.js","../../../node_modules/@libsql/hrana-client/lib-esm/value.js","../../../node_modules/@libsql/hrana-client/lib-esm/ws/client.js","../../../node_modules/@libsql/hrana-client/lib-esm/ws/cursor.js","../../../node_modules/@libsql/hrana-client/lib-esm/ws/json_decode.js","../../../node_modules/@libsql/hrana-client/lib-esm/ws/json_encode.js","../../../node_modules/@libsql/hrana-client/lib-esm/ws/protobuf_decode.js","../../../node_modules/@libsql/hrana-client/lib-esm/ws/protobuf_encode.js","../../../node_modules/@libsql/hrana-client/lib-esm/ws/stream.js","../../../node_modules/@libsql/hrana-client/package.json","../../../node_modules/@libsql/isomorphic-ws/node.cjs","../../../node_modules/@libsql/isomorphic-ws/node.mjs","../../../node_modules/@libsql/isomorphic-ws/package.json","../../../node_modules/@libsql/linux-x64-gnu/index.node","../../../node_modules/@libsql/linux-x64-gnu/package.json","../../../node_modules/@neon-rs/load/dist/index.js","../../../node_modules/@neon-rs/load/package.json","../../../node_modules/@swc/helpers/_/_interop_require_default/package.json","../../../node_modules/@swc/helpers/cjs/_interop_require_default.cjs","../../../node_modules/@swc/helpers/package.json","../../../node_modules/detect-libc/lib/detect-libc.js","../../../node_modules/detect-libc/lib/filesystem.js","../../../node_modules/detect-libc/lib/process.js","../../../node_modules/detect-libc/package.json","../../../node_modules/js-base64/base64.js","../../../node_modules/js-base64/base64.mjs","../../../node_modules/js-base64/package.json","../../../node_modules/libsql/auth.js","../../../node_modules/libsql/index.js","../../../node_modules/libsql/package.json","../../../node_modules/libsql/sqlite-error.js","../../../node_modules/next/dist/build/adapter/setup-node-env.external.js","../../../node_modules/next/dist/client/components/app-router-headers.js","../../../node_modules/next/dist/client/components/hooks-server-context.js","../../../node_modules/next/dist/client/components/static-generation-bailout.js","../../../node_modules/next/dist/client/lib/console.js","../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../node_modules/next/dist/compiled/bytes/index.js","../../../node_modules/next/dist/compiled/bytes/package.json","../../../node_modules/next/dist/compiled/jsonwebtoken/index.js","../../../node_modules/next/dist/compiled/jsonwebtoken/package.json","../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../node_modules/next/dist/compiled/source-map/package.json","../../../node_modules/next/dist/compiled/source-map/source-map.js","../../../node_modules/next/dist/compiled/stacktrace-parser/package.json","../../../node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","../../../node_modules/next/dist/compiled/ws/index.js","../../../node_modules/next/dist/compiled/ws/package.json","../../../node_modules/next/dist/lib/client-and-server-references.js","../../../node_modules/next/dist/lib/constants.js","../../../node_modules/next/dist/lib/framework/boundary-constants.js","../../../node_modules/next/dist/lib/interop-default.js","../../../node_modules/next/dist/lib/is-error.js","../../../node_modules/next/dist/lib/picocolors.js","../../../node_modules/next/dist/lib/scheduler.js","../../../node_modules/next/dist/lib/semver-noop.js","../../../node_modules/next/dist/server/app-render/action-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/action-async-storage.external.js","../../../node_modules/next/dist/server/app-render/after-task-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/after-task-async-storage.external.js","../../../node_modules/next/dist/server/app-render/async-local-storage.js","../../../node_modules/next/dist/server/app-render/cache-signal.js","../../../node_modules/next/dist/server/app-render/console-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/console-async-storage.external.js","../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js","../../../node_modules/next/dist/server/app-render/dynamic-rendering.js","../../../node_modules/next/dist/server/app-render/instant-validation/boundary-constants.js","../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js","../../../node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js","../../../node_modules/next/dist/server/app-render/staged-rendering.js","../../../node_modules/next/dist/server/app-render/work-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/work-async-storage.external.js","../../../node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js","../../../node_modules/next/dist/server/app-render/work-unit-async-storage.external.js","../../../node_modules/next/dist/server/dev/browser-logs/file-logger.js","../../../node_modules/next/dist/server/dynamic-rendering-utils.js","../../../node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js","../../../node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js","../../../node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js","../../../node_modules/next/dist/server/lib/lru-cache.js","../../../node_modules/next/dist/server/lib/parse-stack.js","../../../node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js","../../../node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js","../../../node_modules/next/dist/server/lib/source-maps.js","../../../node_modules/next/dist/server/lib/trace/constants.js","../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../node_modules/next/dist/server/load-manifest.external.js","../../../node_modules/next/dist/server/node-environment-baseline.js","../../../node_modules/next/dist/server/node-environment-extensions/console-dim.external.js","../../../node_modules/next/dist/server/node-environment-extensions/console-exit.js","../../../node_modules/next/dist/server/node-environment-extensions/console-file.js","../../../node_modules/next/dist/server/node-environment-extensions/date.js","../../../node_modules/next/dist/server/node-environment-extensions/error-inspect.js","../../../node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js","../../../node_modules/next/dist/server/node-environment-extensions/io-utils.js","../../../node_modules/next/dist/server/node-environment-extensions/node-crypto.js","../../../node_modules/next/dist/server/node-environment-extensions/random.js","../../../node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.external.js","../../../node_modules/next/dist/server/node-environment-extensions/web-crypto.js","../../../node_modules/next/dist/server/node-environment.js","../../../node_modules/next/dist/server/node-polyfill-crypto.js","../../../node_modules/next/dist/server/patch-error-inspect.js","../../../node_modules/next/dist/server/require-hook.js","../../../node_modules/next/dist/server/response-cache/types.js","../../../node_modules/next/dist/server/runtime-reacts.external.js","../../../node_modules/next/dist/shared/lib/deep-freeze.js","../../../node_modules/next/dist/shared/lib/invariant-error.js","../../../node_modules/next/dist/shared/lib/is-plain-object.js","../../../node_modules/next/dist/shared/lib/is-thenable.js","../../../node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js","../../../node_modules/next/dist/shared/lib/no-fallback-error.external.js","../../../node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js","../../../node_modules/next/dist/shared/lib/promise-with-resolvers.js","../../../node_modules/next/dist/shared/lib/router/utils/app-paths.js","../../../node_modules/next/dist/shared/lib/router/utils/get-segment-param.js","../../../node_modules/next/dist/shared/lib/router/utils/html-bots.js","../../../node_modules/next/dist/shared/lib/router/utils/interception-routes.js","../../../node_modules/next/dist/shared/lib/router/utils/is-bot.js","../../../node_modules/next/dist/shared/lib/segment.js","../../../node_modules/next/dist/shared/lib/server-reference-info.js","../../../node_modules/next/dist/shared/lib/size-limit.js","../../../node_modules/next/package.json","../../../node_modules/promise-limit/index.js","../../../node_modules/promise-limit/package.json","../../../node_modules/react/cjs/react.development.js","../../../node_modules/react/cjs/react.production.js","../../../node_modules/react/index.js","../../../node_modules/react/package.json","../../../node_modules/ws/index.js","../../../node_modules/ws/lib/buffer-util.js","../../../node_modules/ws/lib/constants.js","../../../node_modules/ws/lib/event-target.js","../../../node_modules/ws/lib/extension.js","../../../node_modules/ws/lib/limiter.js","../../../node_modules/ws/lib/permessage-deflate.js","../../../node_modules/ws/lib/receiver.js","../../../node_modules/ws/lib/sender.js","../../../node_modules/ws/lib/stream.js","../../../node_modules/ws/lib/subprotocol.js","../../../node_modules/ws/lib/validation.js","../../../node_modules/ws/lib/websocket-server.js","../../../node_modules/ws/lib/websocket.js","../../../node_modules/ws/package.json","../../../node_modules/ws/wrapper.mjs","../../../package.json","../../package.json","../chunks/1669.js","../chunks/319.js","../chunks/4741.js","../chunks/5258.js","../chunks/5509.js","../chunks/5704.js","../chunks/5871.js","../chunks/6819.js","../chunks/9884.js","../webpack-runtime.js","page_client-reference-manifest.js"]}