@martin0309205/prism 0.2.1 → 0.2.3

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 (89) hide show
  1. package/assets/dashboard/.next/BUILD_ID +1 -1
  2. package/assets/dashboard/.next/app-build-manifest.json +22 -22
  3. package/assets/dashboard/.next/app-path-routes-manifest.json +1 -1
  4. package/assets/dashboard/.next/build-manifest.json +2 -2
  5. package/assets/dashboard/.next/prerender-manifest.json +1 -1
  6. package/assets/dashboard/.next/server/app/(dash)/claude-md/page.js +2 -2
  7. package/assets/dashboard/.next/server/app/(dash)/claude-md/page.js.nft.json +1 -1
  8. package/assets/dashboard/.next/server/app/(dash)/claude-md/page_client-reference-manifest.js +1 -1
  9. package/assets/dashboard/.next/server/app/(dash)/connectors/page.js +1 -1
  10. package/assets/dashboard/.next/server/app/(dash)/connectors/page.js.nft.json +1 -1
  11. package/assets/dashboard/.next/server/app/(dash)/connectors/page_client-reference-manifest.js +1 -1
  12. package/assets/dashboard/.next/server/app/(dash)/generate/page.js +3 -3
  13. package/assets/dashboard/.next/server/app/(dash)/generate/page.js.nft.json +1 -1
  14. package/assets/dashboard/.next/server/app/(dash)/generate/page_client-reference-manifest.js +1 -1
  15. package/assets/dashboard/.next/server/app/(dash)/jobs/[id]/page.js +1 -1
  16. package/assets/dashboard/.next/server/app/(dash)/jobs/[id]/page.js.nft.json +1 -1
  17. package/assets/dashboard/.next/server/app/(dash)/jobs/[id]/page_client-reference-manifest.js +1 -1
  18. package/assets/dashboard/.next/server/app/(dash)/jobs/page.js +1 -1
  19. package/assets/dashboard/.next/server/app/(dash)/jobs/page.js.nft.json +1 -1
  20. package/assets/dashboard/.next/server/app/(dash)/jobs/page_client-reference-manifest.js +1 -1
  21. package/assets/dashboard/.next/server/app/(dash)/logs/page.js +1 -1
  22. package/assets/dashboard/.next/server/app/(dash)/logs/page.js.nft.json +1 -1
  23. package/assets/dashboard/.next/server/app/(dash)/logs/page_client-reference-manifest.js +1 -1
  24. package/assets/dashboard/.next/server/app/(dash)/page.js +2 -2
  25. package/assets/dashboard/.next/server/app/(dash)/page.js.nft.json +1 -1
  26. package/assets/dashboard/.next/server/app/(dash)/page_client-reference-manifest.js +1 -1
  27. package/assets/dashboard/.next/server/app/(dash)/settings/page.js +1 -1
  28. package/assets/dashboard/.next/server/app/(dash)/settings/page.js.nft.json +1 -1
  29. package/assets/dashboard/.next/server/app/(dash)/settings/page_client-reference-manifest.js +1 -1
  30. package/assets/dashboard/.next/server/app/(dash)/skills/page.js +1 -1
  31. package/assets/dashboard/.next/server/app/(dash)/skills/page.js.nft.json +1 -1
  32. package/assets/dashboard/.next/server/app/(dash)/skills/page_client-reference-manifest.js +1 -1
  33. package/assets/dashboard/.next/server/app/_not-found/page.js +1 -1
  34. package/assets/dashboard/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  35. package/assets/dashboard/.next/server/app/_not-found.html +1 -1
  36. package/assets/dashboard/.next/server/app/_not-found.rsc +2 -2
  37. package/assets/dashboard/.next/server/app/api/claude-md/route.js +1 -1
  38. package/assets/dashboard/.next/server/app/api/healthz/route.js +1 -1
  39. package/assets/dashboard/.next/server/app/api/system/update/route.js +2 -2
  40. package/assets/dashboard/.next/server/app/api/system/version/route.js +1 -1
  41. package/assets/dashboard/.next/server/app/claude-md.html +1 -1
  42. package/assets/dashboard/.next/server/app/claude-md.rsc +3 -3
  43. package/assets/dashboard/.next/server/app/connectors.html +1 -1
  44. package/assets/dashboard/.next/server/app/connectors.rsc +3 -3
  45. package/assets/dashboard/.next/server/app/generate.html +1 -1
  46. package/assets/dashboard/.next/server/app/generate.rsc +3 -3
  47. package/assets/dashboard/.next/server/app/index.html +1 -1
  48. package/assets/dashboard/.next/server/app/index.rsc +4 -4
  49. package/assets/dashboard/.next/server/app/jobs.html +1 -1
  50. package/assets/dashboard/.next/server/app/jobs.rsc +3 -3
  51. package/assets/dashboard/.next/server/app/login/page.js +1 -1
  52. package/assets/dashboard/.next/server/app/login/page.js.nft.json +1 -1
  53. package/assets/dashboard/.next/server/app/login/page_client-reference-manifest.js +1 -1
  54. package/assets/dashboard/.next/server/app/login.html +1 -1
  55. package/assets/dashboard/.next/server/app/login.rsc +3 -3
  56. package/assets/dashboard/.next/server/app/logs.html +1 -1
  57. package/assets/dashboard/.next/server/app/logs.rsc +3 -3
  58. package/assets/dashboard/.next/server/app/settings.html +1 -1
  59. package/assets/dashboard/.next/server/app/settings.rsc +3 -3
  60. package/assets/dashboard/.next/server/app/setup/page.js +2 -2
  61. package/assets/dashboard/.next/server/app/setup/page.js.nft.json +1 -1
  62. package/assets/dashboard/.next/server/app/setup/page_client-reference-manifest.js +1 -1
  63. package/assets/dashboard/.next/server/app/setup.html +1 -1
  64. package/assets/dashboard/.next/server/app/setup.rsc +3 -3
  65. package/assets/dashboard/.next/server/app/skills.html +1 -1
  66. package/assets/dashboard/.next/server/app/skills.rsc +3 -3
  67. package/assets/dashboard/.next/server/app-paths-manifest.json +13 -13
  68. package/assets/dashboard/.next/server/chunks/565.js +1 -1
  69. package/assets/dashboard/.next/server/chunks/971.js +16 -0
  70. package/assets/dashboard/.next/server/middleware-build-manifest.js +1 -1
  71. package/assets/dashboard/.next/server/middleware-manifest.json +3 -3
  72. package/assets/dashboard/.next/server/pages/404.html +1 -1
  73. package/assets/dashboard/.next/server/pages/500.html +1 -1
  74. package/assets/dashboard/.next/server/server-reference-manifest.js +1 -1
  75. package/assets/dashboard/.next/server/server-reference-manifest.json +1 -1
  76. package/assets/dashboard/.next/static/chunks/app/(dash)/{layout-811aba273cfc2760.js → layout-b6c00b089d68684c.js} +4 -9
  77. package/assets/dashboard/.next/static/chunks/app/(dash)/page-4d95d6949e23f70a.js +21 -0
  78. package/assets/dashboard/.next/static/chunks/app/login/page-a86ba6749512fd5f.js +6 -0
  79. package/assets/dashboard/.next/static/chunks/app/setup/page-9ba0c05c0ee53518.js +6 -0
  80. package/assets/dashboard/.next/static/css/{27aea81e28f3c17d.css → d95c47155fb80ddd.css} +1 -1
  81. package/assets/dashboard/public/prism.svg +11 -0
  82. package/package.json +1 -1
  83. package/assets/dashboard/.next/server/chunks/100.js +0 -21
  84. package/assets/dashboard/.next/static/chunks/app/(dash)/page-3abefdb4e3abdac4.js +0 -26
  85. package/assets/dashboard/.next/static/chunks/app/login/page-0f56038c4425433c.js +0 -11
  86. package/assets/dashboard/.next/static/chunks/app/setup/page-dc2d1ccbfb73e8aa.js +0 -11
  87. package/assets/dashboard/public/PLACEHOLDER.txt +0 -2
  88. /package/assets/dashboard/.next/static/{SS_jgIWqXX2pp1oaVOjaQ → LtbBi3MHZ2YVsJMnPW3DH}/_buildManifest.js +0 -0
  89. /package/assets/dashboard/.next/static/{SS_jgIWqXX2pp1oaVOjaQ → LtbBi3MHZ2YVsJMnPW3DH}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/(dash)/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"585":{"*":{"id":"7551","name":"*","chunks":[],"async":false}},"1193":{"*":{"id":"4146","name":"*","chunks":[],"async":false}},"1343":{"*":{"id":"4759","name":"*","chunks":[],"async":false}},"2535":{"*":{"id":"7530","name":"*","chunks":[],"async":false}},"2794":{"*":{"id":"7474","name":"*","chunks":[],"async":false}},"2854":{"*":{"id":"4795","name":"*","chunks":[],"async":false}},"3382":{"*":{"id":"1795","name":"*","chunks":[],"async":false}},"3541":{"*":{"id":"1582","name":"*","chunks":[],"async":false}},"4520":{"*":{"id":"4505","name":"*","chunks":[],"async":false}},"5324":{"*":{"id":"1868","name":"*","chunks":[],"async":false}},"5474":{"*":{"id":"2521","name":"*","chunks":[],"async":false}},"5751":{"*":{"id":"2994","name":"*","chunks":[],"async":false}},"5907":{"*":{"id":"9493","name":"*","chunks":[],"async":false}},"6130":{"*":{"id":"9727","name":"*","chunks":[],"async":false}},"6513":{"*":{"id":"6114","name":"*","chunks":[],"async":false}},"6882":{"*":{"id":"2727","name":"*","chunks":[],"async":false}},"8751":{"*":{"id":"2646","name":"*","chunks":[],"async":false}},"9275":{"*":{"id":"9671","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/app-router.js":{"id":5751,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/app-router.js":{"id":5751,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/client-page.js":{"id":6513,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/client-page.js":{"id":6513,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/error-boundary.js":{"id":6130,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":6130,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/layout-router.js":{"id":9275,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9275,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/not-found-boundary.js":{"id":5324,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":5324,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/render-from-template-context.js":{"id":1343,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":1343,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/globals.css":{"id":3054,"name":"*","chunks":["185","static/chunks/app/layout-e3058a659be66c26.js"],"async":false},"/home/runner/work/prism/prism/web/src/app/login/page.tsx":{"id":1193,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/setup/page.tsx":{"id":4520,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/connectors/page.tsx":{"id":8751,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/components/sidebar.tsx":{"id":6882,"name":"*","chunks":["502","static/chunks/502-73bc96153ad171ad.js","138","static/chunks/138-1f2ddea72037c974.js","117","static/chunks/app/(dash)/layout-811aba273cfc2760.js"],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/generate/page.tsx":{"id":5907,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/claude-md/page.tsx":{"id":5474,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/jobs/page.tsx":{"id":2854,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/page.tsx":{"id":3382,"name":"*","chunks":["502","static/chunks/502-73bc96153ad171ad.js","138","static/chunks/138-1f2ddea72037c974.js","523","static/chunks/app/(dash)/page-3abefdb4e3abdac4.js"],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/settings/page.tsx":{"id":2794,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/skills/page.tsx":{"id":585,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/logs/page.tsx":{"id":2535,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/jobs/[id]/page.tsx":{"id":3541,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/prism/prism/web/src/":[],"/home/runner/work/prism/prism/web/src/app/layout":["static/css/27aea81e28f3c17d.css"],"/home/runner/work/prism/prism/web/src/app/(dash)/layout":[],"/home/runner/work/prism/prism/web/src/app/(dash)/page":[]}}
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/(dash)/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"585":{"*":{"id":"7551","name":"*","chunks":[],"async":false}},"1193":{"*":{"id":"4146","name":"*","chunks":[],"async":false}},"1343":{"*":{"id":"4759","name":"*","chunks":[],"async":false}},"2535":{"*":{"id":"7530","name":"*","chunks":[],"async":false}},"2794":{"*":{"id":"7474","name":"*","chunks":[],"async":false}},"2854":{"*":{"id":"4795","name":"*","chunks":[],"async":false}},"3541":{"*":{"id":"1582","name":"*","chunks":[],"async":false}},"4520":{"*":{"id":"4505","name":"*","chunks":[],"async":false}},"5324":{"*":{"id":"1868","name":"*","chunks":[],"async":false}},"5474":{"*":{"id":"2521","name":"*","chunks":[],"async":false}},"5751":{"*":{"id":"2994","name":"*","chunks":[],"async":false}},"5907":{"*":{"id":"9493","name":"*","chunks":[],"async":false}},"6130":{"*":{"id":"9727","name":"*","chunks":[],"async":false}},"6513":{"*":{"id":"6114","name":"*","chunks":[],"async":false}},"6882":{"*":{"id":"2727","name":"*","chunks":[],"async":false}},"8604":{"*":{"id":"9353","name":"*","chunks":[],"async":false}},"8751":{"*":{"id":"2646","name":"*","chunks":[],"async":false}},"9275":{"*":{"id":"9671","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/app-router.js":{"id":5751,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/app-router.js":{"id":5751,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/client-page.js":{"id":6513,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/client-page.js":{"id":6513,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/error-boundary.js":{"id":6130,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":6130,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/layout-router.js":{"id":9275,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9275,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/not-found-boundary.js":{"id":5324,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":5324,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/render-from-template-context.js":{"id":1343,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":1343,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/globals.css":{"id":3054,"name":"*","chunks":["185","static/chunks/app/layout-e3058a659be66c26.js"],"async":false},"/home/runner/work/prism/prism/web/src/app/login/page.tsx":{"id":1193,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/setup/page.tsx":{"id":4520,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/claude-md/page.tsx":{"id":5474,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/components/sidebar.tsx":{"id":6882,"name":"*","chunks":["502","static/chunks/502-73bc96153ad171ad.js","138","static/chunks/138-1f2ddea72037c974.js","117","static/chunks/app/(dash)/layout-b6c00b089d68684c.js"],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/jobs/[id]/page.tsx":{"id":3541,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/connectors/page.tsx":{"id":8751,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/jobs/page.tsx":{"id":2854,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/logs/page.tsx":{"id":2535,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/generate/page.tsx":{"id":5907,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/page.tsx":{"id":8604,"name":"*","chunks":["502","static/chunks/502-73bc96153ad171ad.js","138","static/chunks/138-1f2ddea72037c974.js","523","static/chunks/app/(dash)/page-4d95d6949e23f70a.js"],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/settings/page.tsx":{"id":2794,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/skills/page.tsx":{"id":585,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/prism/prism/web/src/":[],"/home/runner/work/prism/prism/web/src/app/layout":["static/css/d95c47155fb80ddd.css"],"/home/runner/work/prism/prism/web/src/app/(dash)/layout":[],"/home/runner/work/prism/prism/web/src/app/(dash)/page":[]}}
@@ -10,4 +10,4 @@
10
10
  * See the LICENSE file in the root directory of this source tree.
11
11
  */let c=(0,r(2881).Z)("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);function x(){let[e,t]=(0,n.useState)(null),[r,x]=(0,n.useState)("—"),[u,m]=(0,n.useState)(!1),[p,f]=(0,n.useState)(""),[b,h]=(0,n.useState)("idle"),[g,v]=(0,n.useState)(null),y=(0,n.useRef)(null);async function j(){let e=await fetch("/api/system/version",{cache:"no-store"});e.ok&&(t(await e.json()),x(new Date().toLocaleTimeString()))}function w(e){f(t=>(requestAnimationFrame(()=>{y.current&&(y.current.scrollTop=y.current.scrollHeight)}),t+e))}async function N(){m(!0),f(""),h("streaming");try{let e=await fetch("/api/system/update",{method:"POST"});if(!e.ok||!e.body){w(`[error] ${await e.text()}
12
12
  `),h("error");return}let t=e.body.getReader(),r=new TextDecoder,s="";for(;;){let{value:e,done:n}=await t.read();if(n)break;let a=(s+=r.decode(e,{stream:!0})).split("\n\n");for(let e of(s=a.pop()??"",a)){let t=e.split("\n"),r="message",s=[];for(let e of t)e.startsWith("event: ")?r=e.slice(7).trim():e.startsWith("data: ")&&s.push(e.slice(6));if("log"===r)w(s.join("\n")+"\n");else if("done"===r)try{let e=JSON.parse(s.join("\n"));e.ok&&"restart"===e.stage?h("restarting"):h("error")}catch{h("error")}}}}catch(e){w(`[connection lost — service restarting]
13
- `),h("restarting")}finally{m(!1)}}return(0,s.jsxs)("div",{className:"space-y-6",children:[(0,s.jsxs)("header",{children:[(0,s.jsxs)("h1",{className:"flex items-center gap-2 text-2xl font-semibold tracking-tightest",children:[s.jsx(o.Z,{size:20})," Settings"]}),s.jsx("p",{className:"text-sm text-text-muted",children:"Configuration de l'instance, session, et mises \xe0 jour."})]}),(0,s.jsxs)(i.Zb,{children:[(0,s.jsxs)(i.Ol,{className:"flex flex-row items-center justify-between",children:[(0,s.jsxs)("div",{children:[s.jsx(i.ll,{className:"text-sm",children:"System / Updates"}),s.jsx(i.SZ,{children:"Pulled from registry.npmjs.org. Cached 60s."})]}),s.jsx("button",{onClick:j,className:"text-xs text-text-muted underline-offset-4 hover:text-text hover:underline",children:"Re-check"})]}),(0,s.jsxs)(i.aY,{className:"space-y-3",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between border border-border bg-bg-subtle p-3",children:[(0,s.jsxs)("div",{className:"space-y-1",children:[s.jsx("div",{className:"text-sm font-medium",children:"Prism"}),(0,s.jsxs)("div",{className:"text-xs text-text-muted",children:[e?.installed?`v${e.installed}`:"unknown",e?.upgrade_available&&e.latest?(0,s.jsxs)(s.Fragment,{children:[" → ",(0,s.jsxs)("span",{className:"text-brand",children:["v",e.latest]})]}):e?.latest?(0,s.jsxs)(s.Fragment,{children:[" \xb7 latest v",e.latest]}):null]})]}),(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[e?.upgrade_available?s.jsx(l.C,{variant:"warning",dot:!0,children:"Update available"}):e?.installed?s.jsx(l.C,{variant:"success",dot:!0,children:"Up to date"}):null,s.jsx(a.z,{onClick:N,disabled:u||!e?.upgrade_available,leftIcon:u?s.jsx(d.Z,{className:"animate-spin"}):s.jsx(c,{}),size:"sm",children:u?"restarting"===b?"Restarting…":"Updating…":"Update now"})]})]}),(0,s.jsxs)("p",{className:"text-xs text-text-muted",children:["Last checked: ",r]}),p?s.jsx("pre",{ref:y,className:"max-h-[320px] overflow-auto whitespace-pre-wrap break-words border border-border bg-bg-subtle p-3 text-xs font-mono",children:p}):null,"done"===b?(0,s.jsxs)("div",{className:"flex items-center justify-between border border-success/30 bg-success-soft p-3 text-sm text-success",children:[s.jsx("span",{children:"Update finished. Reload the page to use the new build."}),s.jsx(a.z,{size:"sm",variant:"outline",onClick:()=>window.location.reload(),children:"Reload"})]}):null,"error"===b?(0,s.jsxs)("div",{className:"border border-danger/30 bg-danger-soft p-3 text-sm text-danger",children:["The update or restart failed. SSH the box and inspect"," ",s.jsx("code",{className:"bg-bg-canvas px-1",children:"systemctl --user status prism-web@<inst>.service"}),"."]}):null]})]}),(0,s.jsxs)(i.Zb,{children:[(0,s.jsxs)(i.Ol,{children:[s.jsx(i.ll,{className:"text-sm",children:"Instance config"}),(0,s.jsxs)(i.SZ,{children:["Read-only view of ",s.jsx("code",{className:"bg-bg-subtle px-1",children:"~/.prism/instances/<inst>/config.yaml"}),". Edit in place via SSH for now — full editor coming soon."]})]}),s.jsx(i.aY,{children:g?s.jsx("pre",{className:"overflow-auto whitespace-pre-wrap break-words border border-border bg-bg-subtle p-3 text-xs font-mono",children:JSON.stringify(g.config,null,2)}):s.jsx("p",{className:"text-sm text-text-muted",children:"loading…"})})]}),(0,s.jsxs)(i.Zb,{children:[(0,s.jsxs)(i.Ol,{children:[s.jsx(i.ll,{className:"text-sm",children:"Session lifetime"}),s.jsx(i.SZ,{children:"How long a session cookie stays valid before re-login."})]}),s.jsx(i.aY,{children:(0,s.jsxs)("p",{className:"text-sm",children:["Currently:"," ",(0,s.jsxs)("span",{className:"font-medium",children:[g?.auth.session_lifetime_days??"—"," day",g?.auth.session_lifetime_days===1?"":"s"]})]})})]})]})}},2727:(e,t,r)=>{"use strict";r.d(t,{Sidebar:()=>j});var s=r(326),n=r(434),a=r(5047),i=r(7577),l=r(1223),o=r(9798),d=r(4527),c=r(2924),x=r(8932),u=r(812),m=r(6489),p=r(6283),f=r(9942),b=r(8378),h=r(1572),g=r(165),v=r(1810);let y=[{section:"Prism",items:[{href:"/",label:"Overview",icon:o.Z},{href:"/generate",label:"Playground",icon:d.Z}]},{section:"Runs",items:[{href:"/jobs",label:"Jobs",icon:c.Z},{href:"/artifacts",label:"Artifacts",icon:x.Z}]},{section:"Operations",items:[{href:"/skills",label:"Skills",icon:u.Z},{href:"/connectors",label:"Connectors",icon:m.Z,adminOnly:!0},{href:"/claude-md",label:"CLAUDE.md",icon:p.Z,adminOnly:!0},{href:"/logs",label:"Logs",icon:f.Z,adminOnly:!0}]},{section:"Admin",items:[{href:"/settings",label:"Settings",icon:b.Z,adminOnly:!0}]}];function j(){let e=(0,a.usePathname)(),t=(0,a.useRouter)(),[r,o]=(0,i.useState)(null);async function d(){await fetch("/api/auth/logout",{method:"POST"}).catch(()=>{}),t.push("/login")}return(0,s.jsxs)("aside",{className:"fixed left-0 top-0 z-40 flex h-screen w-[240px] flex-col border-r border-border bg-background",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2.5 px-5 py-5",children:[s.jsx("div",{className:"relative flex h-9 w-9 flex-none items-center justify-center bg-brand text-text-on-brand",children:s.jsx(h.Z,{size:18,strokeWidth:2.25})}),(0,s.jsxs)("div",{children:[s.jsx("div",{className:"text-sm font-semibold tracking-tight",children:"Prism"}),s.jsx("div",{className:"text-[10px] text-muted-foreground",children:"claude on tap"})]})]}),s.jsx("nav",{className:"flex-1 space-y-5 overflow-y-auto px-3 py-2",children:y.map(t=>{let a=t.items.filter(e=>!e.adminOnly||r?.role==="admin");return 0===a.length?null:(0,s.jsxs)("div",{children:[s.jsx("div",{className:"px-2 pb-1.5 text-[10px] font-medium uppercase tracking-widest text-muted-foreground/70",children:t.section}),s.jsx("div",{className:"space-y-0.5",children:a.map(t=>{let r=t.icon,a="/"===t.href?"/"===e:e===t.href||e.startsWith(t.href+"/");return(0,s.jsxs)(n.default,{href:t.href,className:(0,l.cn)("group relative flex items-center gap-3 px-2.5 py-2 text-sm transition-colors",a?"bg-primary/10 text-primary":"text-muted-foreground hover:bg-secondary hover:text-foreground"),children:[a?s.jsx("span",{className:"absolute left-0 top-1/2 h-5 w-0.5 -translate-y-1/2 bg-primary"}):null,s.jsx(r,{size:16,strokeWidth:a?2.25:1.75,className:"flex-none"}),s.jsx("span",{className:"truncate",children:t.label}),t.adminOnly?s.jsx(g.Z,{size:11,className:"ml-auto text-muted-foreground/40"}):null]},t.href)})})]},t.section)})}),s.jsx("div",{className:"border-t border-border px-3 py-3",children:r?(0,s.jsxs)("div",{className:"flex items-center gap-2 border border-border px-2 py-2",children:[s.jsx("div",{className:"flex h-8 w-8 flex-none items-center justify-center rounded-pill bg-primary text-xs font-semibold uppercase text-primary-foreground",children:(r.name||r.email).slice(0,1)}),(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[s.jsx("div",{className:"truncate text-xs font-medium",children:r.name||r.email}),s.jsx("div",{className:"truncate text-[10px] text-muted-foreground",children:r.role})]}),s.jsx("button",{onClick:d,className:"flex h-7 w-7 items-center justify-center text-muted-foreground transition-colors hover:bg-secondary hover:text-foreground",title:"Sign out",children:s.jsx(v.Z,{size:14})})]}):s.jsx("div",{className:"px-2 py-2 text-[10px] text-muted-foreground",children:"Not signed in"})})]})}},8443:(e,t,r)=>{"use strict";r.d(t,{C:()=>l});var s=r(326);r(7577);var n=r(9360),a=r(1223);let i=(0,n.j)("inline-flex items-center gap-1.5 border px-2 py-0.5 text-[10px] font-medium uppercase tracking-wider transition-colors",{variants:{variant:{neutral:"border-border bg-bg-subtle text-text-muted",brand:"border-brand/30 bg-brand-soft text-brand",success:"border-success/30 bg-success-soft text-success",warning:"border-warning/30 bg-warning-soft text-warning",danger:"border-danger/30 bg-danger-soft text-danger",outline:"border-border-strong text-text bg-transparent",default:"border-brand/30 bg-brand-soft text-brand",secondary:"border-border bg-bg-subtle text-text-muted",destructive:"border-danger/30 bg-danger-soft text-danger"},size:{sm:"text-[9px] px-1.5 py-0",md:"text-[10px] px-2 py-0.5"}},defaultVariants:{variant:"neutral",size:"md"}});function l({className:e,variant:t,size:r,dot:n,children:l,...o}){return(0,s.jsxs)("div",{className:(0,a.cn)(i({variant:t,size:r}),e),...o,children:[n?s.jsx("span",{"aria-hidden":!0,className:"rounded-pill h-1.5 w-1.5 bg-current"}):null,l]})}},3330:(e,t,r)=>{"use strict";r.d(t,{z:()=>b});var s=r(326),n=r(7577),a=r.t(n,2);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}var l=Symbol.for("react.lazy"),o=a[" use ".trim().toString()];function d(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===l&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var c=function(e){let t=function(e){let t=n.forwardRef((e,t)=>{let{children:r,...s}=e;if(d(r)&&"function"==typeof o&&(r=o(r._payload)),n.isValidElement(r)){var a;let e,l;let o=(a=r,(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?a.ref:(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?a.props.ref:a.props.ref||a.ref),d=function(e,t){let r={...t};for(let s in t){let n=e[s],a=t[s];/^on[A-Z]/.test(s)?n&&a?r[s]=(...e)=>{let t=a(...e);return n(...e),t}:n&&(r[s]=n):"style"===s?r[s]={...n,...a}:"className"===s&&(r[s]=[n,a].filter(Boolean).join(" "))}return{...e,...r}}(s,r.props);return r.type!==n.Fragment&&(d.ref=t?function(...e){return t=>{let r=!1,s=e.map(e=>{let s=i(e,t);return r||"function"!=typeof s||(r=!0),s});if(r)return()=>{for(let t=0;t<s.length;t++){let r=s[t];"function"==typeof r?r():i(e[t],null)}}}}(t,o):o),n.cloneElement(r,d)}return n.Children.count(r)>1?n.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=n.forwardRef((e,r)=>{let{children:a,...i}=e;d(a)&&"function"==typeof o&&(a=o(a._payload));let l=n.Children.toArray(a),c=l.find(u);if(c){let e=c.props.children,a=l.map(t=>t!==c?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,s.jsx)(t,{...i,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,a):null})}return(0,s.jsx)(t,{...i,ref:r,children:a})});return r.displayName=`${e}.Slot`,r}("Slot"),x=Symbol("radix.slottable");function u(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===x}var m=r(9360),p=r(1223);let f=(0,m.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap text-sm font-medium transition-colors duration-base focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{primary:"bg-brand text-text-on-brand hover:bg-brand-hover",secondary:"bg-bg-subtle text-text hover:bg-border-strong/30",outline:"border border-border-strong bg-transparent text-text hover:bg-bg-subtle",ghost:"bg-transparent text-text hover:bg-bg-subtle",link:"text-brand underline-offset-4 hover:underline px-0 h-auto",danger:"bg-danger text-text-on-brand hover:bg-danger/90",inverse:"bg-bg-canvas text-brand hover:bg-bg-canvas/90","inverse-ghost":"bg-transparent text-text-on-brand hover:bg-text-on-brand/10",default:"bg-brand text-text-on-brand hover:bg-brand-hover",destructive:"bg-danger text-text-on-brand hover:bg-danger/90"},size:{xs:"h-7 px-2 text-xs [&_svg]:size-3",sm:"h-8 px-3 text-xs",md:"h-10 px-4",lg:"h-11 px-6 text-base",icon:"h-10 w-10 p-0",default:"h-10 px-4"}},defaultVariants:{variant:"primary",size:"md"}}),b=n.forwardRef(({className:e,variant:t,size:r,asChild:n=!1,leftIcon:a,rightIcon:i,children:l,...o},d)=>{let x=n?c:"button";return(0,s.jsxs)(x,{className:(0,p.cn)(f({variant:t,size:r,className:e})),ref:d,...o,children:[a,l,i]})});b.displayName="Button"},9752:(e,t,r)=>{"use strict";r.d(t,{Ol:()=>l,SZ:()=>c,Zb:()=>i,aY:()=>x,ll:()=>o});var s=r(326),n=r(7577),a=r(1223);let i=n.forwardRef(({className:e,hover:t,...r},n)=>s.jsx("div",{ref:n,className:(0,a.cn)("border border-border bg-bg-surface text-text transition-colors duration-base",t?"hover:border-border-strong":"",e),...r}));i.displayName="Card";let l=n.forwardRef(({className:e,...t},r)=>s.jsx("div",{ref:r,className:(0,a.cn)("flex flex-col space-y-1.5 p-6",e),...t}));l.displayName="CardHeader";let o=n.forwardRef(({className:e,...t},r)=>s.jsx("div",{ref:r,className:(0,a.cn)("text-lg font-semibold leading-none tracking-tightest",e),...t}));o.displayName="CardTitle";let d=n.forwardRef(({className:e,...t},r)=>s.jsx("div",{ref:r,className:(0,a.cn)("text-sm text-text-muted",e),...t}));d.displayName="CardSubtitle";let c=d,x=n.forwardRef(({className:e,...t},r)=>s.jsx("div",{ref:r,className:(0,a.cn)("p-6 pt-0",e),...t}));x.displayName="CardContent",n.forwardRef(({className:e,...t},r)=>s.jsx("div",{ref:r,className:(0,a.cn)("flex items-center p-6 pt-0",e),...t})).displayName="CardFooter"},1223:(e,t,r)=>{"use strict";r.d(t,{cn:()=>a});var s=r(1135),n=r(1009);function a(...e){return(0,n.m6)((0,s.W)(e))}},9441:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>d});var s=r(9510),n=r(8570);let a=(0,n.createProxy)(String.raw`/home/runner/work/prism/prism/web/src/components/sidebar.tsx`),{__esModule:i,$$typeof:l}=a;a.default;let o=(0,n.createProxy)(String.raw`/home/runner/work/prism/prism/web/src/components/sidebar.tsx#Sidebar`);function d({children:e}){return(0,s.jsxs)("div",{className:"flex min-h-screen",children:[s.jsx(o,{}),s.jsx("main",{className:"ml-[240px] flex-1 px-8 py-8",children:e})]})}},7669:(e,t,r)=>{"use strict";r.r(t),r.d(t,{$$typeof:()=>i,__esModule:()=>a,default:()=>l});var s=r(8570);let n=(0,s.createProxy)(String.raw`/home/runner/work/prism/prism/web/src/app/(dash)/settings/page.tsx`),{__esModule:a,$$typeof:i}=n;n.default;let l=(0,s.createProxy)(String.raw`/home/runner/work/prism/prism/web/src/app/(dash)/settings/page.tsx#default`)},2029:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a,metadata:()=>n});var s=r(9510);r(5023);let n={title:"Prism",description:"Operate your prism instance from the browser.",icons:{icon:[{url:"/favicon.png",type:"image/png"}],shortcut:"/favicon.png",apple:"/favicon.png"}};function a({children:e}){return s.jsx("html",{lang:"en",suppressHydrationWarning:!0,children:s.jsx("body",{className:"min-h-screen bg-background text-foreground antialiased",children:e})})}},5023:()=>{}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[948,471,100,786],()=>r(6835));module.exports=s})();
13
+ `),h("restarting")}finally{m(!1)}}return(0,s.jsxs)("div",{className:"space-y-6",children:[(0,s.jsxs)("header",{children:[(0,s.jsxs)("h1",{className:"flex items-center gap-2 text-2xl font-semibold tracking-tightest",children:[s.jsx(o.Z,{size:20})," Settings"]}),s.jsx("p",{className:"text-sm text-text-muted",children:"Configuration de l'instance, session, et mises \xe0 jour."})]}),(0,s.jsxs)(i.Zb,{children:[(0,s.jsxs)(i.Ol,{className:"flex flex-row items-center justify-between",children:[(0,s.jsxs)("div",{children:[s.jsx(i.ll,{className:"text-sm",children:"System / Updates"}),s.jsx(i.SZ,{children:"Pulled from registry.npmjs.org. Cached 60s."})]}),s.jsx("button",{onClick:j,className:"text-xs text-text-muted underline-offset-4 hover:text-text hover:underline",children:"Re-check"})]}),(0,s.jsxs)(i.aY,{className:"space-y-3",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between border border-border bg-bg-subtle p-3",children:[(0,s.jsxs)("div",{className:"space-y-1",children:[s.jsx("div",{className:"text-sm font-medium",children:"Prism"}),(0,s.jsxs)("div",{className:"text-xs text-text-muted",children:[e?.installed?`v${e.installed}`:"unknown",e?.upgrade_available&&e.latest?(0,s.jsxs)(s.Fragment,{children:[" → ",(0,s.jsxs)("span",{className:"text-brand",children:["v",e.latest]})]}):e?.latest?(0,s.jsxs)(s.Fragment,{children:[" \xb7 latest v",e.latest]}):null]})]}),(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[e?.upgrade_available?s.jsx(l.C,{variant:"warning",dot:!0,children:"Update available"}):e?.installed?s.jsx(l.C,{variant:"success",dot:!0,children:"Up to date"}):null,s.jsx(a.z,{onClick:N,disabled:u||!e?.upgrade_available,leftIcon:u?s.jsx(d.Z,{className:"animate-spin"}):s.jsx(c,{}),size:"sm",children:u?"restarting"===b?"Restarting…":"Updating…":"Update now"})]})]}),(0,s.jsxs)("p",{className:"text-xs text-text-muted",children:["Last checked: ",r]}),p?s.jsx("pre",{ref:y,className:"max-h-[320px] overflow-auto whitespace-pre-wrap break-words border border-border bg-bg-subtle p-3 text-xs font-mono",children:p}):null,"done"===b?(0,s.jsxs)("div",{className:"flex items-center justify-between border border-success/30 bg-success-soft p-3 text-sm text-success",children:[s.jsx("span",{children:"Update finished. Reload the page to use the new build."}),s.jsx(a.z,{size:"sm",variant:"outline",onClick:()=>window.location.reload(),children:"Reload"})]}):null,"error"===b?(0,s.jsxs)("div",{className:"border border-danger/30 bg-danger-soft p-3 text-sm text-danger",children:["The update or restart failed. SSH the box and inspect"," ",s.jsx("code",{className:"bg-bg-canvas px-1",children:"systemctl --user status prism-web@<inst>.service"}),"."]}):null]})]}),(0,s.jsxs)(i.Zb,{children:[(0,s.jsxs)(i.Ol,{children:[s.jsx(i.ll,{className:"text-sm",children:"Instance config"}),(0,s.jsxs)(i.SZ,{children:["Read-only view of ",s.jsx("code",{className:"bg-bg-subtle px-1",children:"~/.prism/instances/<inst>/config.yaml"}),". Edit in place via SSH for now — full editor coming soon."]})]}),s.jsx(i.aY,{children:g?s.jsx("pre",{className:"overflow-auto whitespace-pre-wrap break-words border border-border bg-bg-subtle p-3 text-xs font-mono",children:JSON.stringify(g.config,null,2)}):s.jsx("p",{className:"text-sm text-text-muted",children:"loading…"})})]}),(0,s.jsxs)(i.Zb,{children:[(0,s.jsxs)(i.Ol,{children:[s.jsx(i.ll,{className:"text-sm",children:"Session lifetime"}),s.jsx(i.SZ,{children:"How long a session cookie stays valid before re-login."})]}),s.jsx(i.aY,{children:(0,s.jsxs)("p",{className:"text-sm",children:["Currently:"," ",(0,s.jsxs)("span",{className:"font-medium",children:[g?.auth.session_lifetime_days??"—"," day",g?.auth.session_lifetime_days===1?"":"s"]})]})})]})]})}},2727:(e,t,r)=>{"use strict";r.d(t,{Sidebar:()=>y});var s=r(326),n=r(434),a=r(5047),i=r(7577),l=r(1223),o=r(9798),d=r(4527),c=r(2924),x=r(8932),u=r(812),m=r(6489),p=r(6283),f=r(9942),b=r(8378),h=r(165),g=r(1810);let v=[{section:"Prism",items:[{href:"/",label:"Overview",icon:o.Z},{href:"/generate",label:"Playground",icon:d.Z}]},{section:"Runs",items:[{href:"/jobs",label:"Jobs",icon:c.Z},{href:"/artifacts",label:"Artifacts",icon:x.Z}]},{section:"Operations",items:[{href:"/skills",label:"Skills",icon:u.Z},{href:"/connectors",label:"Connectors",icon:m.Z,adminOnly:!0},{href:"/claude-md",label:"CLAUDE.md",icon:p.Z,adminOnly:!0},{href:"/logs",label:"Logs",icon:f.Z,adminOnly:!0}]},{section:"Admin",items:[{href:"/settings",label:"Settings",icon:b.Z,adminOnly:!0}]}];function y(){let e=(0,a.usePathname)(),t=(0,a.useRouter)(),[r,o]=(0,i.useState)(null);async function d(){await fetch("/api/auth/logout",{method:"POST"}).catch(()=>{}),t.push("/login")}return(0,s.jsxs)("aside",{className:"fixed left-0 top-0 z-40 flex h-screen w-[240px] flex-col border-r border-border bg-background",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2.5 px-5 py-5",children:[s.jsx("div",{className:"relative flex h-9 w-9 flex-none items-center justify-center overflow-hidden",children:s.jsx("img",{src:"/prism.svg",alt:"Prism",className:"h-full w-full object-cover"})}),(0,s.jsxs)("div",{children:[s.jsx("div",{className:"text-sm font-semibold tracking-tight",children:"Prism"}),s.jsx("div",{className:"text-[10px] text-muted-foreground",children:"claude on tap"})]})]}),s.jsx("nav",{className:"flex-1 space-y-5 overflow-y-auto px-3 py-2",children:v.map(t=>{let a=t.items.filter(e=>!e.adminOnly||r?.role==="admin");return 0===a.length?null:(0,s.jsxs)("div",{children:[s.jsx("div",{className:"px-2 pb-1.5 text-[10px] font-medium uppercase tracking-widest text-muted-foreground/70",children:t.section}),s.jsx("div",{className:"space-y-0.5",children:a.map(t=>{let r=t.icon,a="/"===t.href?"/"===e:e===t.href||e.startsWith(t.href+"/");return(0,s.jsxs)(n.default,{href:t.href,className:(0,l.cn)("group relative flex items-center gap-3 px-2.5 py-2 text-sm transition-colors",a?"bg-primary/10 text-primary":"text-muted-foreground hover:bg-secondary hover:text-foreground"),children:[a?s.jsx("span",{className:"absolute left-0 top-1/2 h-5 w-0.5 -translate-y-1/2 bg-primary"}):null,s.jsx(r,{size:16,strokeWidth:a?2.25:1.75,className:"flex-none"}),s.jsx("span",{className:"truncate",children:t.label}),t.adminOnly?s.jsx(h.Z,{size:11,className:"ml-auto text-muted-foreground/40"}):null]},t.href)})})]},t.section)})}),s.jsx("div",{className:"border-t border-border px-3 py-3",children:r?(0,s.jsxs)("div",{className:"flex items-center gap-2 border border-border px-2 py-2",children:[s.jsx("div",{className:"flex h-8 w-8 flex-none items-center justify-center rounded-pill bg-primary text-xs font-semibold uppercase text-primary-foreground",children:(r.name||r.email).slice(0,1)}),(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[s.jsx("div",{className:"truncate text-xs font-medium",children:r.name||r.email}),s.jsx("div",{className:"truncate text-[10px] text-muted-foreground",children:r.role})]}),s.jsx("button",{onClick:d,className:"flex h-7 w-7 items-center justify-center text-muted-foreground transition-colors hover:bg-secondary hover:text-foreground",title:"Sign out",children:s.jsx(g.Z,{size:14})})]}):s.jsx("div",{className:"px-2 py-2 text-[10px] text-muted-foreground",children:"Not signed in"})})]})}},8443:(e,t,r)=>{"use strict";r.d(t,{C:()=>l});var s=r(326);r(7577);var n=r(9360),a=r(1223);let i=(0,n.j)("inline-flex items-center gap-1.5 border px-2 py-0.5 text-[10px] font-medium uppercase tracking-wider transition-colors",{variants:{variant:{neutral:"border-border bg-bg-subtle text-text-muted",brand:"border-brand/30 bg-brand-soft text-brand",success:"border-success/30 bg-success-soft text-success",warning:"border-warning/30 bg-warning-soft text-warning",danger:"border-danger/30 bg-danger-soft text-danger",outline:"border-border-strong text-text bg-transparent",default:"border-brand/30 bg-brand-soft text-brand",secondary:"border-border bg-bg-subtle text-text-muted",destructive:"border-danger/30 bg-danger-soft text-danger"},size:{sm:"text-[9px] px-1.5 py-0",md:"text-[10px] px-2 py-0.5"}},defaultVariants:{variant:"neutral",size:"md"}});function l({className:e,variant:t,size:r,dot:n,children:l,...o}){return(0,s.jsxs)("div",{className:(0,a.cn)(i({variant:t,size:r}),e),...o,children:[n?s.jsx("span",{"aria-hidden":!0,className:"rounded-pill h-1.5 w-1.5 bg-current"}):null,l]})}},3330:(e,t,r)=>{"use strict";r.d(t,{z:()=>b});var s=r(326),n=r(7577),a=r.t(n,2);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}var l=Symbol.for("react.lazy"),o=a[" use ".trim().toString()];function d(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===l&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var c=function(e){let t=function(e){let t=n.forwardRef((e,t)=>{let{children:r,...s}=e;if(d(r)&&"function"==typeof o&&(r=o(r._payload)),n.isValidElement(r)){var a;let e,l;let o=(a=r,(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?a.ref:(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning?a.props.ref:a.props.ref||a.ref),d=function(e,t){let r={...t};for(let s in t){let n=e[s],a=t[s];/^on[A-Z]/.test(s)?n&&a?r[s]=(...e)=>{let t=a(...e);return n(...e),t}:n&&(r[s]=n):"style"===s?r[s]={...n,...a}:"className"===s&&(r[s]=[n,a].filter(Boolean).join(" "))}return{...e,...r}}(s,r.props);return r.type!==n.Fragment&&(d.ref=t?function(...e){return t=>{let r=!1,s=e.map(e=>{let s=i(e,t);return r||"function"!=typeof s||(r=!0),s});if(r)return()=>{for(let t=0;t<s.length;t++){let r=s[t];"function"==typeof r?r():i(e[t],null)}}}}(t,o):o),n.cloneElement(r,d)}return n.Children.count(r)>1?n.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=n.forwardRef((e,r)=>{let{children:a,...i}=e;d(a)&&"function"==typeof o&&(a=o(a._payload));let l=n.Children.toArray(a),c=l.find(u);if(c){let e=c.props.children,a=l.map(t=>t!==c?t:n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null);return(0,s.jsx)(t,{...i,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,a):null})}return(0,s.jsx)(t,{...i,ref:r,children:a})});return r.displayName=`${e}.Slot`,r}("Slot"),x=Symbol("radix.slottable");function u(e){return n.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===x}var m=r(9360),p=r(1223);let f=(0,m.j)("inline-flex items-center justify-center gap-2 whitespace-nowrap text-sm font-medium transition-colors duration-base focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{primary:"bg-brand text-text-on-brand hover:bg-brand-hover",secondary:"bg-bg-subtle text-text hover:bg-border-strong/30",outline:"border border-border-strong bg-transparent text-text hover:bg-bg-subtle",ghost:"bg-transparent text-text hover:bg-bg-subtle",link:"text-brand underline-offset-4 hover:underline px-0 h-auto",danger:"bg-danger text-text-on-brand hover:bg-danger/90",inverse:"bg-bg-canvas text-brand hover:bg-bg-canvas/90","inverse-ghost":"bg-transparent text-text-on-brand hover:bg-text-on-brand/10",default:"bg-brand text-text-on-brand hover:bg-brand-hover",destructive:"bg-danger text-text-on-brand hover:bg-danger/90"},size:{xs:"h-7 px-2 text-xs [&_svg]:size-3",sm:"h-8 px-3 text-xs",md:"h-10 px-4",lg:"h-11 px-6 text-base",icon:"h-10 w-10 p-0",default:"h-10 px-4"}},defaultVariants:{variant:"primary",size:"md"}}),b=n.forwardRef(({className:e,variant:t,size:r,asChild:n=!1,leftIcon:a,rightIcon:i,children:l,...o},d)=>{let x=n?c:"button";return(0,s.jsxs)(x,{className:(0,p.cn)(f({variant:t,size:r,className:e})),ref:d,...o,children:[a,l,i]})});b.displayName="Button"},9752:(e,t,r)=>{"use strict";r.d(t,{Ol:()=>l,SZ:()=>c,Zb:()=>i,aY:()=>x,ll:()=>o});var s=r(326),n=r(7577),a=r(1223);let i=n.forwardRef(({className:e,hover:t,...r},n)=>s.jsx("div",{ref:n,className:(0,a.cn)("border border-border bg-bg-surface text-text transition-colors duration-base",t?"hover:border-border-strong":"",e),...r}));i.displayName="Card";let l=n.forwardRef(({className:e,...t},r)=>s.jsx("div",{ref:r,className:(0,a.cn)("flex flex-col space-y-1.5 p-6",e),...t}));l.displayName="CardHeader";let o=n.forwardRef(({className:e,...t},r)=>s.jsx("div",{ref:r,className:(0,a.cn)("text-lg font-semibold leading-none tracking-tightest",e),...t}));o.displayName="CardTitle";let d=n.forwardRef(({className:e,...t},r)=>s.jsx("div",{ref:r,className:(0,a.cn)("text-sm text-text-muted",e),...t}));d.displayName="CardSubtitle";let c=d,x=n.forwardRef(({className:e,...t},r)=>s.jsx("div",{ref:r,className:(0,a.cn)("p-6 pt-0",e),...t}));x.displayName="CardContent",n.forwardRef(({className:e,...t},r)=>s.jsx("div",{ref:r,className:(0,a.cn)("flex items-center p-6 pt-0",e),...t})).displayName="CardFooter"},1223:(e,t,r)=>{"use strict";r.d(t,{cn:()=>a});var s=r(1135),n=r(1009);function a(...e){return(0,n.m6)((0,s.W)(e))}},9441:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>d});var s=r(9510),n=r(8570);let a=(0,n.createProxy)(String.raw`/home/runner/work/prism/prism/web/src/components/sidebar.tsx`),{__esModule:i,$$typeof:l}=a;a.default;let o=(0,n.createProxy)(String.raw`/home/runner/work/prism/prism/web/src/components/sidebar.tsx#Sidebar`);function d({children:e}){return(0,s.jsxs)("div",{className:"flex min-h-screen",children:[s.jsx(o,{}),s.jsx("main",{className:"ml-[240px] flex-1 px-8 py-8",children:e})]})}},7669:(e,t,r)=>{"use strict";r.r(t),r.d(t,{$$typeof:()=>i,__esModule:()=>a,default:()=>l});var s=r(8570);let n=(0,s.createProxy)(String.raw`/home/runner/work/prism/prism/web/src/app/(dash)/settings/page.tsx`),{__esModule:a,$$typeof:i}=n;n.default;let l=(0,s.createProxy)(String.raw`/home/runner/work/prism/prism/web/src/app/(dash)/settings/page.tsx#default`)},2029:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a,metadata:()=>n});var s=r(9510);r(5023);let n={title:"Prism",description:"Operate your prism instance from the browser.",icons:{icon:[{url:"/prism.svg",type:"image/svg+xml"}],shortcut:"/prism.svg",apple:"/prism.svg"}};function a({children:e}){return s.jsx("html",{lang:"en",suppressHydrationWarning:!0,children:s.jsx("body",{className:"min-h-screen bg-background text-foreground antialiased",children:e})})}},5023:()=>{}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[948,471,971,786],()=>r(6835));module.exports=s})();
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/100.js","../../../chunks/471.js","../../../chunks/786.js","../../../chunks/948.js","../../../webpack-runtime.js","page_client-reference-manifest.js","../../../../../node_modules/picocolors/LICENSE","../../../../../node_modules/picocolors/package.json","../../../../../node_modules/picocolors/picocolors.browser.js","../../../../../node_modules/picocolors/picocolors.d.ts","../../../../../node_modules/picocolors/picocolors.js","../../../../../node_modules/picocolors/README.md","../../../../../node_modules/picocolors/types.d.ts"]}
1
+ {"version":1,"files":["../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/471.js","../../../chunks/786.js","../../../chunks/948.js","../../../chunks/971.js","../../../webpack-runtime.js","page_client-reference-manifest.js","../../../../../node_modules/picocolors/LICENSE","../../../../../node_modules/picocolors/package.json","../../../../../node_modules/picocolors/picocolors.browser.js","../../../../../node_modules/picocolors/picocolors.d.ts","../../../../../node_modules/picocolors/picocolors.js","../../../../../node_modules/picocolors/README.md","../../../../../node_modules/picocolors/types.d.ts"]}
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/(dash)/settings/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"585":{"*":{"id":"7551","name":"*","chunks":[],"async":false}},"1193":{"*":{"id":"4146","name":"*","chunks":[],"async":false}},"1343":{"*":{"id":"4759","name":"*","chunks":[],"async":false}},"2535":{"*":{"id":"7530","name":"*","chunks":[],"async":false}},"2794":{"*":{"id":"7474","name":"*","chunks":[],"async":false}},"2854":{"*":{"id":"4795","name":"*","chunks":[],"async":false}},"3382":{"*":{"id":"1795","name":"*","chunks":[],"async":false}},"3541":{"*":{"id":"1582","name":"*","chunks":[],"async":false}},"4520":{"*":{"id":"4505","name":"*","chunks":[],"async":false}},"5324":{"*":{"id":"1868","name":"*","chunks":[],"async":false}},"5474":{"*":{"id":"2521","name":"*","chunks":[],"async":false}},"5751":{"*":{"id":"2994","name":"*","chunks":[],"async":false}},"5907":{"*":{"id":"9493","name":"*","chunks":[],"async":false}},"6130":{"*":{"id":"9727","name":"*","chunks":[],"async":false}},"6513":{"*":{"id":"6114","name":"*","chunks":[],"async":false}},"6882":{"*":{"id":"2727","name":"*","chunks":[],"async":false}},"8751":{"*":{"id":"2646","name":"*","chunks":[],"async":false}},"9275":{"*":{"id":"9671","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/app-router.js":{"id":5751,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/app-router.js":{"id":5751,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/client-page.js":{"id":6513,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/client-page.js":{"id":6513,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/error-boundary.js":{"id":6130,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":6130,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/layout-router.js":{"id":9275,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9275,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/not-found-boundary.js":{"id":5324,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":5324,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/render-from-template-context.js":{"id":1343,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":1343,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/globals.css":{"id":3054,"name":"*","chunks":["185","static/chunks/app/layout-e3058a659be66c26.js"],"async":false},"/home/runner/work/prism/prism/web/src/app/login/page.tsx":{"id":1193,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/setup/page.tsx":{"id":4520,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/connectors/page.tsx":{"id":8751,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/components/sidebar.tsx":{"id":6882,"name":"*","chunks":["502","static/chunks/502-73bc96153ad171ad.js","138","static/chunks/138-1f2ddea72037c974.js","117","static/chunks/app/(dash)/layout-811aba273cfc2760.js"],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/generate/page.tsx":{"id":5907,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/claude-md/page.tsx":{"id":5474,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/jobs/page.tsx":{"id":2854,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/page.tsx":{"id":3382,"name":"*","chunks":["502","static/chunks/502-73bc96153ad171ad.js","138","static/chunks/138-1f2ddea72037c974.js","523","static/chunks/app/(dash)/page-3abefdb4e3abdac4.js"],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/settings/page.tsx":{"id":2794,"name":"*","chunks":["502","static/chunks/502-73bc96153ad171ad.js","428","static/chunks/app/(dash)/settings/page-d6d1c9958671a65b.js"],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/skills/page.tsx":{"id":585,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/logs/page.tsx":{"id":2535,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/jobs/[id]/page.tsx":{"id":3541,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/prism/prism/web/src/":[],"/home/runner/work/prism/prism/web/src/app/layout":["static/css/27aea81e28f3c17d.css"],"/home/runner/work/prism/prism/web/src/app/(dash)/layout":[],"/home/runner/work/prism/prism/web/src/app/(dash)/page":[],"/home/runner/work/prism/prism/web/src/app/(dash)/settings/page":[]}}
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/(dash)/settings/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"585":{"*":{"id":"7551","name":"*","chunks":[],"async":false}},"1193":{"*":{"id":"4146","name":"*","chunks":[],"async":false}},"1343":{"*":{"id":"4759","name":"*","chunks":[],"async":false}},"2535":{"*":{"id":"7530","name":"*","chunks":[],"async":false}},"2794":{"*":{"id":"7474","name":"*","chunks":[],"async":false}},"2854":{"*":{"id":"4795","name":"*","chunks":[],"async":false}},"3541":{"*":{"id":"1582","name":"*","chunks":[],"async":false}},"4520":{"*":{"id":"4505","name":"*","chunks":[],"async":false}},"5324":{"*":{"id":"1868","name":"*","chunks":[],"async":false}},"5474":{"*":{"id":"2521","name":"*","chunks":[],"async":false}},"5751":{"*":{"id":"2994","name":"*","chunks":[],"async":false}},"5907":{"*":{"id":"9493","name":"*","chunks":[],"async":false}},"6130":{"*":{"id":"9727","name":"*","chunks":[],"async":false}},"6513":{"*":{"id":"6114","name":"*","chunks":[],"async":false}},"6882":{"*":{"id":"2727","name":"*","chunks":[],"async":false}},"8604":{"*":{"id":"9353","name":"*","chunks":[],"async":false}},"8751":{"*":{"id":"2646","name":"*","chunks":[],"async":false}},"9275":{"*":{"id":"9671","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/app-router.js":{"id":5751,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/app-router.js":{"id":5751,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/client-page.js":{"id":6513,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/client-page.js":{"id":6513,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/error-boundary.js":{"id":6130,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":6130,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/layout-router.js":{"id":9275,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9275,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/not-found-boundary.js":{"id":5324,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":5324,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/render-from-template-context.js":{"id":1343,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":1343,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/globals.css":{"id":3054,"name":"*","chunks":["185","static/chunks/app/layout-e3058a659be66c26.js"],"async":false},"/home/runner/work/prism/prism/web/src/app/login/page.tsx":{"id":1193,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/setup/page.tsx":{"id":4520,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/claude-md/page.tsx":{"id":5474,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/components/sidebar.tsx":{"id":6882,"name":"*","chunks":["502","static/chunks/502-73bc96153ad171ad.js","138","static/chunks/138-1f2ddea72037c974.js","117","static/chunks/app/(dash)/layout-b6c00b089d68684c.js"],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/jobs/[id]/page.tsx":{"id":3541,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/connectors/page.tsx":{"id":8751,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/jobs/page.tsx":{"id":2854,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/logs/page.tsx":{"id":2535,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/generate/page.tsx":{"id":5907,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/page.tsx":{"id":8604,"name":"*","chunks":["502","static/chunks/502-73bc96153ad171ad.js","138","static/chunks/138-1f2ddea72037c974.js","523","static/chunks/app/(dash)/page-4d95d6949e23f70a.js"],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/settings/page.tsx":{"id":2794,"name":"*","chunks":["502","static/chunks/502-73bc96153ad171ad.js","428","static/chunks/app/(dash)/settings/page-d6d1c9958671a65b.js"],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/skills/page.tsx":{"id":585,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/prism/prism/web/src/":[],"/home/runner/work/prism/prism/web/src/app/layout":["static/css/d95c47155fb80ddd.css"],"/home/runner/work/prism/prism/web/src/app/(dash)/layout":[],"/home/runner/work/prism/prism/web/src/app/(dash)/page":[],"/home/runner/work/prism/prism/web/src/app/(dash)/settings/page":[]}}
@@ -10,4 +10,4 @@
10
10
  * See the LICENSE file in the root directory of this source tree.
11
11
  */let p=(0,s(2881).Z)("Save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);var u=s(1405);function x(){let[e,t]=(0,a.useState)(null),[s,x]=(0,a.useState)(""),[m,h]=(0,a.useState)(""),[b,g]=(0,a.useState)(""),[f,v]=(0,a.useState)(!1),[j,y]=(0,a.useState)(!1),[w,k]=(0,a.useState)(""),[N,S]=(0,a.useState)(null),_=(0,a.useRef)(null);async function P(){let e=await fetch("/api/skills"),s=await e.json();t(s),s.repo_url&&x(s.repo_url),s.branch&&g(s.branch)}async function q(){v(!0),S(null);try{let e=await fetch("/api/skills/setup",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({repo_url:s,token:m,branch:b})});if(!e.ok){let t=await e.json().catch(()=>({}));k(`[setup error] ${t?.error??"failed"}
12
12
  `);return}h(""),S(new Date().toLocaleTimeString()),await P()}finally{v(!1)}}async function C(){y(!0),k("");try{let e=await fetch("/api/skills",{method:"POST"});if(!e.ok||!e.body){k(`[error] ${await e.text()}
13
- `);return}let t=e.body.getReader(),s=new TextDecoder,r="";for(;;){let{value:e,done:a}=await t.read();if(a)break;let n=(r+=s.decode(e,{stream:!0})).split("\n\n");for(let e of(r=n.pop()??"",n)){let t=e.split("\n"),s="message",r=[];for(let e of t)e.startsWith("event: ")?s=e.slice(7).trim():e.startsWith("data: ")&&r.push(e.slice(6));"log"===s&&k(e=>{let t=e+r.join("\n")+"\n";return requestAnimationFrame(()=>{_.current&&(_.current.scrollTop=_.current.scrollHeight)}),t})}}await P()}finally{y(!1)}}return(0,r.jsxs)("div",{className:"space-y-6",children:[(0,r.jsxs)("header",{children:[(0,r.jsxs)("h1",{className:"flex items-center gap-2 text-2xl font-semibold tracking-tightest",children:[r.jsx(d.Z,{size:20})," Skills"]}),r.jsx("p",{className:"text-sm text-text-muted",children:"Synchronise les skills depuis un repo git priv\xe9 vers ~/.claude/skills/."})]}),(0,r.jsxs)(i.Zb,{children:[(0,r.jsxs)(i.Ol,{children:[r.jsx(i.ll,{className:"text-sm",children:"Repo configuration"}),r.jsx(i.SZ,{children:"Stock\xe9 dans ~/.prism/skills.env (mode 0600). Utilis\xe9 par `prism skills sync`."})]}),(0,r.jsxs)(i.aY,{className:"space-y-3",children:[r.jsx(l.I,{label:"Repo URL",placeholder:"https://github.com/your-org/skills.git",value:s,onChange:e=>x(e.target.value)}),r.jsx(l.I,{label:"Personal access token",placeholder:e?.configured?"••••••••••• (stored)":"ghp_…",type:"password",value:m,onChange:e=>h(e.target.value),hint:e?.configured?"Laisse vide pour conserver le token actuel.":void 0}),r.jsx(l.I,{label:"Branch (optional)",placeholder:"main",value:b,onChange:e=>g(e.target.value)}),(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[r.jsx(n.z,{onClick:q,disabled:f||!s.trim()||!m.trim()&&!e?.configured,leftIcon:f?r.jsx(c.Z,{className:"animate-spin"}):r.jsx(p,{}),children:f?"Saving…":"Save"}),N?(0,r.jsxs)("span",{className:"text-xs text-text-muted",children:["Saved at ",N]}):null]})]})]}),(0,r.jsxs)(i.Zb,{children:[(0,r.jsxs)(i.Ol,{className:"flex flex-row items-center justify-between",children:[(0,r.jsxs)("div",{children:[r.jsx(i.ll,{className:"text-sm",children:"Sync"}),(0,r.jsxs)(i.SZ,{children:["Pulls the repo and copies SKILL.md folders to"," ",r.jsx("code",{className:"rounded-none bg-bg-subtle px-1",children:e?.target_dir??"~/.claude/skills/"}),"."]})]}),r.jsx(n.z,{onClick:C,disabled:j||!e?.configured,leftIcon:j?r.jsx(c.Z,{className:"animate-spin"}):r.jsx(u.Z,{}),children:j?"Syncing…":"Sync now"})]}),(0,r.jsxs)(i.aY,{className:"space-y-3",children:[w?r.jsx("pre",{ref:_,className:"max-h-[320px] overflow-auto whitespace-pre-wrap break-words border border-border bg-bg-subtle p-3 text-xs font-mono",children:w}):null,(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"mb-2 text-xs font-medium uppercase tracking-wider text-text-subtle",children:["Installed (",e?.installed.length??0,")"]}),e?.installed.length===0?r.jsx("p",{className:"text-sm text-text-muted",children:"Nothing installed yet."}):r.jsx("div",{className:"flex flex-wrap gap-1.5",children:e?.installed.map(e=>r.jsx(o.C,{variant:"brand",children:e},e))})]})]})]})]})}},8443:(e,t,s)=>{"use strict";s.d(t,{C:()=>i});var r=s(326);s(7577);var a=s(9360),n=s(1223);let l=(0,a.j)("inline-flex items-center gap-1.5 border px-2 py-0.5 text-[10px] font-medium uppercase tracking-wider transition-colors",{variants:{variant:{neutral:"border-border bg-bg-subtle text-text-muted",brand:"border-brand/30 bg-brand-soft text-brand",success:"border-success/30 bg-success-soft text-success",warning:"border-warning/30 bg-warning-soft text-warning",danger:"border-danger/30 bg-danger-soft text-danger",outline:"border-border-strong text-text bg-transparent",default:"border-brand/30 bg-brand-soft text-brand",secondary:"border-border bg-bg-subtle text-text-muted",destructive:"border-danger/30 bg-danger-soft text-danger"},size:{sm:"text-[9px] px-1.5 py-0",md:"text-[10px] px-2 py-0.5"}},defaultVariants:{variant:"neutral",size:"md"}});function i({className:e,variant:t,size:s,dot:a,children:i,...o}){return(0,r.jsxs)("div",{className:(0,n.cn)(l({variant:t,size:s}),e),...o,children:[a?r.jsx("span",{"aria-hidden":!0,className:"rounded-pill h-1.5 w-1.5 bg-current"}):null,i]})}},1190:(e,t,s)=>{"use strict";s.d(t,{I:()=>i});var r=s(326),a=s(7577),n=s(1223);let l={sm:"h-8 px-2.5 text-xs",md:"h-10 px-3 text-sm",lg:"h-12 px-4 text-base"},i=a.forwardRef(({className:e,type:t,label:s,hint:i,error:o,leadingIcon:d,trailingIcon:c,inputSize:p="md",id:u,...x},m)=>{let h=a.useId(),b=u??h,g=o?`${b}-err`:i?`${b}-hint`:void 0,f=r.jsx("input",{id:b,type:t,ref:m,"aria-invalid":!!o||void 0,"aria-describedby":g,className:(0,n.cn)("w-full border bg-bg-canvas text-text placeholder:text-text-subtle file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-text disabled:cursor-not-allowed disabled:opacity-50 transition-colors duration-base",o?"border-danger":"border-border hover:border-border-strong",l[p],d?"pl-9":"",c?"pr-9":"",e),...x}),v=d||c?(0,r.jsxs)("div",{className:"relative",children:[d?r.jsx("span",{className:"pointer-events-none absolute left-2.5 top-1/2 -translate-y-1/2 text-text-subtle [&_svg]:size-4",children:d}):null,f,c?r.jsx("span",{className:"pointer-events-none absolute right-2.5 top-1/2 -translate-y-1/2 text-text-subtle [&_svg]:size-4",children:c}):null]}):f;return s||i||o?(0,r.jsxs)("div",{className:"space-y-1.5",children:[s?r.jsx("label",{htmlFor:b,className:"block text-sm font-medium text-text",children:s}):null,v,o?r.jsx("p",{id:`${b}-err`,role:"alert",className:"text-xs text-danger",children:o}):i?r.jsx("p",{id:`${b}-hint`,className:"text-xs text-text-muted",children:i}):null]}):v});i.displayName="Input"},4579:(e,t,s)=>{"use strict";s.r(t),s.d(t,{$$typeof:()=>l,__esModule:()=>n,default:()=>i});var r=s(8570);let a=(0,r.createProxy)(String.raw`/home/runner/work/prism/prism/web/src/app/(dash)/skills/page.tsx`),{__esModule:n,$$typeof:l}=a;a.default;let i=(0,r.createProxy)(String.raw`/home/runner/work/prism/prism/web/src/app/(dash)/skills/page.tsx#default`)}};var t=require("../../../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),r=t.X(0,[948,471,100,786,565],()=>s(487));module.exports=r})();
13
+ `);return}let t=e.body.getReader(),s=new TextDecoder,r="";for(;;){let{value:e,done:a}=await t.read();if(a)break;let n=(r+=s.decode(e,{stream:!0})).split("\n\n");for(let e of(r=n.pop()??"",n)){let t=e.split("\n"),s="message",r=[];for(let e of t)e.startsWith("event: ")?s=e.slice(7).trim():e.startsWith("data: ")&&r.push(e.slice(6));"log"===s&&k(e=>{let t=e+r.join("\n")+"\n";return requestAnimationFrame(()=>{_.current&&(_.current.scrollTop=_.current.scrollHeight)}),t})}}await P()}finally{y(!1)}}return(0,r.jsxs)("div",{className:"space-y-6",children:[(0,r.jsxs)("header",{children:[(0,r.jsxs)("h1",{className:"flex items-center gap-2 text-2xl font-semibold tracking-tightest",children:[r.jsx(d.Z,{size:20})," Skills"]}),r.jsx("p",{className:"text-sm text-text-muted",children:"Synchronise les skills depuis un repo git priv\xe9 vers ~/.claude/skills/."})]}),(0,r.jsxs)(i.Zb,{children:[(0,r.jsxs)(i.Ol,{children:[r.jsx(i.ll,{className:"text-sm",children:"Repo configuration"}),r.jsx(i.SZ,{children:"Stock\xe9 dans ~/.prism/skills.env (mode 0600). Utilis\xe9 par `prism skills sync`."})]}),(0,r.jsxs)(i.aY,{className:"space-y-3",children:[r.jsx(l.I,{label:"Repo URL",placeholder:"https://github.com/your-org/skills.git",value:s,onChange:e=>x(e.target.value)}),r.jsx(l.I,{label:"Personal access token",placeholder:e?.configured?"••••••••••• (stored)":"ghp_…",type:"password",value:m,onChange:e=>h(e.target.value),hint:e?.configured?"Laisse vide pour conserver le token actuel.":void 0}),r.jsx(l.I,{label:"Branch (optional)",placeholder:"main",value:b,onChange:e=>g(e.target.value)}),(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[r.jsx(n.z,{onClick:q,disabled:f||!s.trim()||!m.trim()&&!e?.configured,leftIcon:f?r.jsx(c.Z,{className:"animate-spin"}):r.jsx(p,{}),children:f?"Saving…":"Save"}),N?(0,r.jsxs)("span",{className:"text-xs text-text-muted",children:["Saved at ",N]}):null]})]})]}),(0,r.jsxs)(i.Zb,{children:[(0,r.jsxs)(i.Ol,{className:"flex flex-row items-center justify-between",children:[(0,r.jsxs)("div",{children:[r.jsx(i.ll,{className:"text-sm",children:"Sync"}),(0,r.jsxs)(i.SZ,{children:["Pulls the repo and copies SKILL.md folders to"," ",r.jsx("code",{className:"rounded-none bg-bg-subtle px-1",children:e?.target_dir??"~/.claude/skills/"}),"."]})]}),r.jsx(n.z,{onClick:C,disabled:j||!e?.configured,leftIcon:j?r.jsx(c.Z,{className:"animate-spin"}):r.jsx(u.Z,{}),children:j?"Syncing…":"Sync now"})]}),(0,r.jsxs)(i.aY,{className:"space-y-3",children:[w?r.jsx("pre",{ref:_,className:"max-h-[320px] overflow-auto whitespace-pre-wrap break-words border border-border bg-bg-subtle p-3 text-xs font-mono",children:w}):null,(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"mb-2 text-xs font-medium uppercase tracking-wider text-text-subtle",children:["Installed (",e?.installed.length??0,")"]}),e?.installed.length===0?r.jsx("p",{className:"text-sm text-text-muted",children:"Nothing installed yet."}):r.jsx("div",{className:"flex flex-wrap gap-1.5",children:e?.installed.map(e=>r.jsx(o.C,{variant:"brand",children:e},e))})]})]})]})]})}},8443:(e,t,s)=>{"use strict";s.d(t,{C:()=>i});var r=s(326);s(7577);var a=s(9360),n=s(1223);let l=(0,a.j)("inline-flex items-center gap-1.5 border px-2 py-0.5 text-[10px] font-medium uppercase tracking-wider transition-colors",{variants:{variant:{neutral:"border-border bg-bg-subtle text-text-muted",brand:"border-brand/30 bg-brand-soft text-brand",success:"border-success/30 bg-success-soft text-success",warning:"border-warning/30 bg-warning-soft text-warning",danger:"border-danger/30 bg-danger-soft text-danger",outline:"border-border-strong text-text bg-transparent",default:"border-brand/30 bg-brand-soft text-brand",secondary:"border-border bg-bg-subtle text-text-muted",destructive:"border-danger/30 bg-danger-soft text-danger"},size:{sm:"text-[9px] px-1.5 py-0",md:"text-[10px] px-2 py-0.5"}},defaultVariants:{variant:"neutral",size:"md"}});function i({className:e,variant:t,size:s,dot:a,children:i,...o}){return(0,r.jsxs)("div",{className:(0,n.cn)(l({variant:t,size:s}),e),...o,children:[a?r.jsx("span",{"aria-hidden":!0,className:"rounded-pill h-1.5 w-1.5 bg-current"}):null,i]})}},1190:(e,t,s)=>{"use strict";s.d(t,{I:()=>i});var r=s(326),a=s(7577),n=s(1223);let l={sm:"h-8 px-2.5 text-xs",md:"h-10 px-3 text-sm",lg:"h-12 px-4 text-base"},i=a.forwardRef(({className:e,type:t,label:s,hint:i,error:o,leadingIcon:d,trailingIcon:c,inputSize:p="md",id:u,...x},m)=>{let h=a.useId(),b=u??h,g=o?`${b}-err`:i?`${b}-hint`:void 0,f=r.jsx("input",{id:b,type:t,ref:m,"aria-invalid":!!o||void 0,"aria-describedby":g,className:(0,n.cn)("w-full border bg-bg-canvas text-text placeholder:text-text-subtle file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-text disabled:cursor-not-allowed disabled:opacity-50 transition-colors duration-base",o?"border-danger":"border-border hover:border-border-strong",l[p],d?"pl-9":"",c?"pr-9":"",e),...x}),v=d||c?(0,r.jsxs)("div",{className:"relative",children:[d?r.jsx("span",{className:"pointer-events-none absolute left-2.5 top-1/2 -translate-y-1/2 text-text-subtle [&_svg]:size-4",children:d}):null,f,c?r.jsx("span",{className:"pointer-events-none absolute right-2.5 top-1/2 -translate-y-1/2 text-text-subtle [&_svg]:size-4",children:c}):null]}):f;return s||i||o?(0,r.jsxs)("div",{className:"space-y-1.5",children:[s?r.jsx("label",{htmlFor:b,className:"block text-sm font-medium text-text",children:s}):null,v,o?r.jsx("p",{id:`${b}-err`,role:"alert",className:"text-xs text-danger",children:o}):i?r.jsx("p",{id:`${b}-hint`,className:"text-xs text-text-muted",children:i}):null]}):v});i.displayName="Input"},4579:(e,t,s)=>{"use strict";s.r(t),s.d(t,{$$typeof:()=>l,__esModule:()=>n,default:()=>i});var r=s(8570);let a=(0,r.createProxy)(String.raw`/home/runner/work/prism/prism/web/src/app/(dash)/skills/page.tsx`),{__esModule:n,$$typeof:l}=a;a.default;let i=(0,r.createProxy)(String.raw`/home/runner/work/prism/prism/web/src/app/(dash)/skills/page.tsx#default`)}};var t=require("../../../webpack-runtime.js");t.C(e);var s=e=>t(t.s=e),r=t.X(0,[948,471,971,786,565],()=>s(487));module.exports=r})();
@@ -1 +1 @@
1
- {"version":1,"files":["../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/100.js","../../../chunks/471.js","../../../chunks/565.js","../../../chunks/786.js","../../../chunks/948.js","../../../webpack-runtime.js","page_client-reference-manifest.js","../../../../../node_modules/picocolors/LICENSE","../../../../../node_modules/picocolors/package.json","../../../../../node_modules/picocolors/picocolors.browser.js","../../../../../node_modules/picocolors/picocolors.d.ts","../../../../../node_modules/picocolors/picocolors.js","../../../../../node_modules/picocolors/README.md","../../../../../node_modules/picocolors/types.d.ts"]}
1
+ {"version":1,"files":["../../../../../node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../node_modules/next/dist/client/components/async-local-storage.js","../../../../../node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../node_modules/next/dist/server/lib/trace/constants.js","../../../../../node_modules/next/dist/server/lib/trace/tracer.js","../../../../../node_modules/next/package.json","../../../../../package.json","../../../../package.json","../../../chunks/471.js","../../../chunks/565.js","../../../chunks/786.js","../../../chunks/948.js","../../../chunks/971.js","../../../webpack-runtime.js","page_client-reference-manifest.js","../../../../../node_modules/picocolors/LICENSE","../../../../../node_modules/picocolors/package.json","../../../../../node_modules/picocolors/picocolors.browser.js","../../../../../node_modules/picocolors/picocolors.d.ts","../../../../../node_modules/picocolors/picocolors.js","../../../../../node_modules/picocolors/README.md","../../../../../node_modules/picocolors/types.d.ts"]}
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/(dash)/skills/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"585":{"*":{"id":"7551","name":"*","chunks":[],"async":false}},"1193":{"*":{"id":"4146","name":"*","chunks":[],"async":false}},"1343":{"*":{"id":"4759","name":"*","chunks":[],"async":false}},"2535":{"*":{"id":"7530","name":"*","chunks":[],"async":false}},"2794":{"*":{"id":"7474","name":"*","chunks":[],"async":false}},"2854":{"*":{"id":"4795","name":"*","chunks":[],"async":false}},"3382":{"*":{"id":"1795","name":"*","chunks":[],"async":false}},"3541":{"*":{"id":"1582","name":"*","chunks":[],"async":false}},"4520":{"*":{"id":"4505","name":"*","chunks":[],"async":false}},"5324":{"*":{"id":"1868","name":"*","chunks":[],"async":false}},"5474":{"*":{"id":"2521","name":"*","chunks":[],"async":false}},"5751":{"*":{"id":"2994","name":"*","chunks":[],"async":false}},"5907":{"*":{"id":"9493","name":"*","chunks":[],"async":false}},"6130":{"*":{"id":"9727","name":"*","chunks":[],"async":false}},"6513":{"*":{"id":"6114","name":"*","chunks":[],"async":false}},"6882":{"*":{"id":"2727","name":"*","chunks":[],"async":false}},"8751":{"*":{"id":"2646","name":"*","chunks":[],"async":false}},"9275":{"*":{"id":"9671","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/app-router.js":{"id":5751,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/app-router.js":{"id":5751,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/client-page.js":{"id":6513,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/client-page.js":{"id":6513,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/error-boundary.js":{"id":6130,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":6130,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/layout-router.js":{"id":9275,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9275,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/not-found-boundary.js":{"id":5324,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":5324,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/render-from-template-context.js":{"id":1343,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":1343,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/globals.css":{"id":3054,"name":"*","chunks":["185","static/chunks/app/layout-e3058a659be66c26.js"],"async":false},"/home/runner/work/prism/prism/web/src/app/login/page.tsx":{"id":1193,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/setup/page.tsx":{"id":4520,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/connectors/page.tsx":{"id":8751,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/components/sidebar.tsx":{"id":6882,"name":"*","chunks":["502","static/chunks/502-73bc96153ad171ad.js","138","static/chunks/138-1f2ddea72037c974.js","117","static/chunks/app/(dash)/layout-811aba273cfc2760.js"],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/generate/page.tsx":{"id":5907,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/claude-md/page.tsx":{"id":5474,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/jobs/page.tsx":{"id":2854,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/page.tsx":{"id":3382,"name":"*","chunks":["502","static/chunks/502-73bc96153ad171ad.js","138","static/chunks/138-1f2ddea72037c974.js","523","static/chunks/app/(dash)/page-3abefdb4e3abdac4.js"],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/settings/page.tsx":{"id":2794,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/skills/page.tsx":{"id":585,"name":"*","chunks":["502","static/chunks/502-73bc96153ad171ad.js","237","static/chunks/app/(dash)/skills/page-e63123aa3647a703.js"],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/logs/page.tsx":{"id":2535,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/jobs/[id]/page.tsx":{"id":3541,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/prism/prism/web/src/":[],"/home/runner/work/prism/prism/web/src/app/layout":["static/css/27aea81e28f3c17d.css"],"/home/runner/work/prism/prism/web/src/app/(dash)/layout":[],"/home/runner/work/prism/prism/web/src/app/(dash)/page":[],"/home/runner/work/prism/prism/web/src/app/(dash)/skills/page":[]}}
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/(dash)/skills/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"585":{"*":{"id":"7551","name":"*","chunks":[],"async":false}},"1193":{"*":{"id":"4146","name":"*","chunks":[],"async":false}},"1343":{"*":{"id":"4759","name":"*","chunks":[],"async":false}},"2535":{"*":{"id":"7530","name":"*","chunks":[],"async":false}},"2794":{"*":{"id":"7474","name":"*","chunks":[],"async":false}},"2854":{"*":{"id":"4795","name":"*","chunks":[],"async":false}},"3541":{"*":{"id":"1582","name":"*","chunks":[],"async":false}},"4520":{"*":{"id":"4505","name":"*","chunks":[],"async":false}},"5324":{"*":{"id":"1868","name":"*","chunks":[],"async":false}},"5474":{"*":{"id":"2521","name":"*","chunks":[],"async":false}},"5751":{"*":{"id":"2994","name":"*","chunks":[],"async":false}},"5907":{"*":{"id":"9493","name":"*","chunks":[],"async":false}},"6130":{"*":{"id":"9727","name":"*","chunks":[],"async":false}},"6513":{"*":{"id":"6114","name":"*","chunks":[],"async":false}},"6882":{"*":{"id":"2727","name":"*","chunks":[],"async":false}},"8604":{"*":{"id":"9353","name":"*","chunks":[],"async":false}},"8751":{"*":{"id":"2646","name":"*","chunks":[],"async":false}},"9275":{"*":{"id":"9671","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/app-router.js":{"id":5751,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/app-router.js":{"id":5751,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/client-page.js":{"id":6513,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/client-page.js":{"id":6513,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/error-boundary.js":{"id":6130,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":6130,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/layout-router.js":{"id":9275,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9275,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/not-found-boundary.js":{"id":5324,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":5324,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/render-from-template-context.js":{"id":1343,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":1343,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/globals.css":{"id":3054,"name":"*","chunks":["185","static/chunks/app/layout-e3058a659be66c26.js"],"async":false},"/home/runner/work/prism/prism/web/src/app/login/page.tsx":{"id":1193,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/setup/page.tsx":{"id":4520,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/claude-md/page.tsx":{"id":5474,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/components/sidebar.tsx":{"id":6882,"name":"*","chunks":["502","static/chunks/502-73bc96153ad171ad.js","138","static/chunks/138-1f2ddea72037c974.js","117","static/chunks/app/(dash)/layout-b6c00b089d68684c.js"],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/jobs/[id]/page.tsx":{"id":3541,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/connectors/page.tsx":{"id":8751,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/jobs/page.tsx":{"id":2854,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/logs/page.tsx":{"id":2535,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/generate/page.tsx":{"id":5907,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/page.tsx":{"id":8604,"name":"*","chunks":["502","static/chunks/502-73bc96153ad171ad.js","138","static/chunks/138-1f2ddea72037c974.js","523","static/chunks/app/(dash)/page-4d95d6949e23f70a.js"],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/settings/page.tsx":{"id":2794,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/skills/page.tsx":{"id":585,"name":"*","chunks":["502","static/chunks/502-73bc96153ad171ad.js","237","static/chunks/app/(dash)/skills/page-e63123aa3647a703.js"],"async":false}},"entryCSSFiles":{"/home/runner/work/prism/prism/web/src/":[],"/home/runner/work/prism/prism/web/src/app/layout":["static/css/d95c47155fb80ddd.css"],"/home/runner/work/prism/prism/web/src/app/(dash)/layout":[],"/home/runner/work/prism/prism/web/src/app/(dash)/page":[],"/home/runner/work/prism/prism/web/src/app/(dash)/skills/page":[]}}
@@ -1 +1 @@
1
- (()=>{var e={};e.id=409,e.ids=[409],e.modules={7849:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external")},2934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},5403:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external")},4580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},4749:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external")},5869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},8661:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GlobalError:()=>i.a,__next_app__:()=>p,originalPathname:()=>c,pages:()=>d,routeModule:()=>f,tree:()=>l}),n(7352),n(5866),n(2029);var r=n(3191),o=n(8716),s=n(7922),i=n.n(s),a=n(5231),u={};for(let e in a)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(u[e]=()=>a[e]);n.d(t,u);let l=["",{children:["/_not-found",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(n.t.bind(n,5866,23)),"next/dist/client/components/not-found-error"]}]},{}]},{layout:[()=>Promise.resolve().then(n.bind(n,2029)),"/home/runner/work/prism/prism/web/src/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(n.t.bind(n,5866,23)),"next/dist/client/components/not-found-error"]}],d=[],c="/_not-found/page",p={require:n,loadChunk:()=>Promise.resolve()},f=new r.AppPageRouteModule({definition:{kind:o.x.APP_PAGE,page:"/_not-found/page",pathname:"/_not-found",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:l}})},5757:(e,t,n)=>{Promise.resolve().then(n.t.bind(n,2994,23)),Promise.resolve().then(n.t.bind(n,6114,23)),Promise.resolve().then(n.t.bind(n,9727,23)),Promise.resolve().then(n.t.bind(n,9671,23)),Promise.resolve().then(n.t.bind(n,1868,23)),Promise.resolve().then(n.t.bind(n,4759,23))},7013:()=>{},6399:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{isNotFoundError:function(){return o},notFound:function(){return r}});let n="NEXT_NOT_FOUND";function r(){let e=Error(n);throw e.digest=n,e}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7352:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{PARALLEL_ROUTE_DEFAULT_PATH:function(){return o},default:function(){return s}});let r=n(6399),o="next/dist/client/components/parallel-route-default.js";function s(){(0,r.notFound)()}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2029:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s,metadata:()=>o});var r=n(9510);n(5023);let o={title:"Prism",description:"Operate your prism instance from the browser.",icons:{icon:[{url:"/favicon.png",type:"image/png"}],shortcut:"/favicon.png",apple:"/favicon.png"}};function s({children:e}){return r.jsx("html",{lang:"en",suppressHydrationWarning:!0,children:r.jsx("body",{className:"min-h-screen bg-background text-foreground antialiased",children:e})})}},5023:()=>{}};var t=require("../../webpack-runtime.js");t.C(e);var n=e=>t(t.s=e),r=t.X(0,[948,471],()=>n(8661));module.exports=r})();
1
+ (()=>{var e={};e.id=409,e.ids=[409],e.modules={7849:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external")},2934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},5403:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external")},4580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},4749:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external")},5869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},8661:(e,t,n)=>{"use strict";n.r(t),n.d(t,{GlobalError:()=>i.a,__next_app__:()=>p,originalPathname:()=>c,pages:()=>d,routeModule:()=>f,tree:()=>l}),n(7352),n(5866),n(2029);var r=n(3191),o=n(8716),s=n(7922),i=n.n(s),a=n(5231),u={};for(let e in a)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(u[e]=()=>a[e]);n.d(t,u);let l=["",{children:["/_not-found",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(n.t.bind(n,5866,23)),"next/dist/client/components/not-found-error"]}]},{}]},{layout:[()=>Promise.resolve().then(n.bind(n,2029)),"/home/runner/work/prism/prism/web/src/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(n.t.bind(n,5866,23)),"next/dist/client/components/not-found-error"]}],d=[],c="/_not-found/page",p={require:n,loadChunk:()=>Promise.resolve()},f=new r.AppPageRouteModule({definition:{kind:o.x.APP_PAGE,page:"/_not-found/page",pathname:"/_not-found",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:l}})},5757:(e,t,n)=>{Promise.resolve().then(n.t.bind(n,2994,23)),Promise.resolve().then(n.t.bind(n,6114,23)),Promise.resolve().then(n.t.bind(n,9727,23)),Promise.resolve().then(n.t.bind(n,9671,23)),Promise.resolve().then(n.t.bind(n,1868,23)),Promise.resolve().then(n.t.bind(n,4759,23))},7013:()=>{},6399:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{isNotFoundError:function(){return o},notFound:function(){return r}});let n="NEXT_NOT_FOUND";function r(){let e=Error(n);throw e.digest=n,e}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7352:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{PARALLEL_ROUTE_DEFAULT_PATH:function(){return o},default:function(){return s}});let r=n(6399),o="next/dist/client/components/parallel-route-default.js";function s(){(0,r.notFound)()}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2029:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s,metadata:()=>o});var r=n(9510);n(5023);let o={title:"Prism",description:"Operate your prism instance from the browser.",icons:{icon:[{url:"/prism.svg",type:"image/svg+xml"}],shortcut:"/prism.svg",apple:"/prism.svg"}};function s({children:e}){return r.jsx("html",{lang:"en",suppressHydrationWarning:!0,children:r.jsx("body",{className:"min-h-screen bg-background text-foreground antialiased",children:e})})}},5023:()=>{}};var t=require("../../webpack-runtime.js");t.C(e);var n=e=>t(t.s=e),r=t.X(0,[948,471],()=>n(8661));module.exports=r})();
@@ -1 +1 @@
1
- globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/_not-found/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"585":{"*":{"id":"7551","name":"*","chunks":[],"async":false}},"1193":{"*":{"id":"4146","name":"*","chunks":[],"async":false}},"1343":{"*":{"id":"4759","name":"*","chunks":[],"async":false}},"2535":{"*":{"id":"7530","name":"*","chunks":[],"async":false}},"2794":{"*":{"id":"7474","name":"*","chunks":[],"async":false}},"2854":{"*":{"id":"4795","name":"*","chunks":[],"async":false}},"3382":{"*":{"id":"1795","name":"*","chunks":[],"async":false}},"3541":{"*":{"id":"1582","name":"*","chunks":[],"async":false}},"4520":{"*":{"id":"4505","name":"*","chunks":[],"async":false}},"5324":{"*":{"id":"1868","name":"*","chunks":[],"async":false}},"5474":{"*":{"id":"2521","name":"*","chunks":[],"async":false}},"5751":{"*":{"id":"2994","name":"*","chunks":[],"async":false}},"5907":{"*":{"id":"9493","name":"*","chunks":[],"async":false}},"6130":{"*":{"id":"9727","name":"*","chunks":[],"async":false}},"6513":{"*":{"id":"6114","name":"*","chunks":[],"async":false}},"6882":{"*":{"id":"2727","name":"*","chunks":[],"async":false}},"8751":{"*":{"id":"2646","name":"*","chunks":[],"async":false}},"9275":{"*":{"id":"9671","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/app-router.js":{"id":5751,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/app-router.js":{"id":5751,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/client-page.js":{"id":6513,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/client-page.js":{"id":6513,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/error-boundary.js":{"id":6130,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":6130,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/layout-router.js":{"id":9275,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9275,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/not-found-boundary.js":{"id":5324,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":5324,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/render-from-template-context.js":{"id":1343,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":1343,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/globals.css":{"id":3054,"name":"*","chunks":["185","static/chunks/app/layout-e3058a659be66c26.js"],"async":false},"/home/runner/work/prism/prism/web/src/app/login/page.tsx":{"id":1193,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/setup/page.tsx":{"id":4520,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/connectors/page.tsx":{"id":8751,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/components/sidebar.tsx":{"id":6882,"name":"*","chunks":["502","static/chunks/502-73bc96153ad171ad.js","138","static/chunks/138-1f2ddea72037c974.js","117","static/chunks/app/(dash)/layout-811aba273cfc2760.js"],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/generate/page.tsx":{"id":5907,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/claude-md/page.tsx":{"id":5474,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/jobs/page.tsx":{"id":2854,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/page.tsx":{"id":3382,"name":"*","chunks":["502","static/chunks/502-73bc96153ad171ad.js","138","static/chunks/138-1f2ddea72037c974.js","523","static/chunks/app/(dash)/page-3abefdb4e3abdac4.js"],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/settings/page.tsx":{"id":2794,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/skills/page.tsx":{"id":585,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/logs/page.tsx":{"id":2535,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/jobs/[id]/page.tsx":{"id":3541,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/prism/prism/web/src/":[],"/home/runner/work/prism/prism/web/src/app/layout":["static/css/27aea81e28f3c17d.css"],"/home/runner/work/prism/prism/web/src/app/(dash)/layout":[],"/home/runner/work/prism/prism/web/src/app/(dash)/page":[],"/home/runner/work/prism/prism/web/src/app/_not-found/page":[]}}
1
+ globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/_not-found/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"585":{"*":{"id":"7551","name":"*","chunks":[],"async":false}},"1193":{"*":{"id":"4146","name":"*","chunks":[],"async":false}},"1343":{"*":{"id":"4759","name":"*","chunks":[],"async":false}},"2535":{"*":{"id":"7530","name":"*","chunks":[],"async":false}},"2794":{"*":{"id":"7474","name":"*","chunks":[],"async":false}},"2854":{"*":{"id":"4795","name":"*","chunks":[],"async":false}},"3541":{"*":{"id":"1582","name":"*","chunks":[],"async":false}},"4520":{"*":{"id":"4505","name":"*","chunks":[],"async":false}},"5324":{"*":{"id":"1868","name":"*","chunks":[],"async":false}},"5474":{"*":{"id":"2521","name":"*","chunks":[],"async":false}},"5751":{"*":{"id":"2994","name":"*","chunks":[],"async":false}},"5907":{"*":{"id":"9493","name":"*","chunks":[],"async":false}},"6130":{"*":{"id":"9727","name":"*","chunks":[],"async":false}},"6513":{"*":{"id":"6114","name":"*","chunks":[],"async":false}},"6882":{"*":{"id":"2727","name":"*","chunks":[],"async":false}},"8604":{"*":{"id":"9353","name":"*","chunks":[],"async":false}},"8751":{"*":{"id":"2646","name":"*","chunks":[],"async":false}},"9275":{"*":{"id":"9671","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/app-router.js":{"id":5751,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/app-router.js":{"id":5751,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/client-page.js":{"id":6513,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/client-page.js":{"id":6513,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/error-boundary.js":{"id":6130,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":6130,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/layout-router.js":{"id":9275,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/layout-router.js":{"id":9275,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/not-found-boundary.js":{"id":5324,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":5324,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/client/components/render-from-template-context.js":{"id":1343,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":1343,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/globals.css":{"id":3054,"name":"*","chunks":["185","static/chunks/app/layout-e3058a659be66c26.js"],"async":false},"/home/runner/work/prism/prism/web/src/app/login/page.tsx":{"id":1193,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/setup/page.tsx":{"id":4520,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/claude-md/page.tsx":{"id":5474,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/components/sidebar.tsx":{"id":6882,"name":"*","chunks":["502","static/chunks/502-73bc96153ad171ad.js","138","static/chunks/138-1f2ddea72037c974.js","117","static/chunks/app/(dash)/layout-b6c00b089d68684c.js"],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/jobs/[id]/page.tsx":{"id":3541,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/connectors/page.tsx":{"id":8751,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/jobs/page.tsx":{"id":2854,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/logs/page.tsx":{"id":2535,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/generate/page.tsx":{"id":5907,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/page.tsx":{"id":8604,"name":"*","chunks":["502","static/chunks/502-73bc96153ad171ad.js","138","static/chunks/138-1f2ddea72037c974.js","523","static/chunks/app/(dash)/page-4d95d6949e23f70a.js"],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/settings/page.tsx":{"id":2794,"name":"*","chunks":[],"async":false},"/home/runner/work/prism/prism/web/src/app/(dash)/skills/page.tsx":{"id":585,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/prism/prism/web/src/":[],"/home/runner/work/prism/prism/web/src/app/layout":["static/css/d95c47155fb80ddd.css"],"/home/runner/work/prism/prism/web/src/app/(dash)/layout":[],"/home/runner/work/prism/prism/web/src/app/(dash)/page":[],"/home/runner/work/prism/prism/web/src/app/_not-found/page":[]}}
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/27aea81e28f3c17d.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-1796d5ecd61cbd74.js"/><script src="/_next/static/chunks/fd9d1056-7a5475c63f298b84.js" async=""></script><script src="/_next/static/chunks/23-5e0d0f54bc756891.js" async=""></script><script src="/_next/static/chunks/main-app-cc6be8282c80a1f4.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><title>Prism</title><meta name="description" content="Operate your prism instance from the browser."/><link rel="shortcut icon" href="/favicon.png"/><link rel="icon" href="/favicon.png" type="image/png"/><link rel="apple-touch-icon" href="/favicon.png"/><script src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js" noModule=""></script></head><body class="min-h-screen bg-background text-foreground antialiased"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><script src="/_next/static/chunks/webpack-1796d5ecd61cbd74.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/27aea81e28f3c17d.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[5751,[],\"\"]\n4:I[9275,[],\"\"]\n5:I[1343,[],\"\"]\nb:I[6130,[],\"\"]\n6:{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"}\n7:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\n8:{\"display\":\"inline-block\"}\n9:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\nc:[]\n"])</script><script>self.__next_f.push([1,"0:[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/27aea81e28f3c17d.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"$L2\",null,{\"buildId\":\"SS_jgIWqXX2pp1oaVOjaQ\",\"assetPrefix\":\"\",\"initialCanonicalUrl\":\"/_not-found\",\"initialTree\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]]],null],null]},[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"/_not-found\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\",\"styles\":null}],null]},[[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"children\":[\"$\",\"body\",null,{\"className\":\"min-h-screen bg-background text-foreground antialiased\",\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$6\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$7\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$8\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$9\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[],\"styles\":null}]}]}],null],null],\"couldBeIntercepted\":false,\"initialHead\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],\"$La\"],\"globalErrorComponent\":\"$b\",\"missingSlots\":\"$Wc\"}]]\n"])</script><script>self.__next_f.push([1,"a:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Prism\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Operate your prism instance from the browser.\"}],[\"$\",\"link\",\"4\",{\"rel\":\"shortcut icon\",\"href\":\"/favicon.png\"}],[\"$\",\"link\",\"5\",{\"rel\":\"icon\",\"href\":\"/favicon.png\",\"type\":\"image/png\"}],[\"$\",\"link\",\"6\",{\"rel\":\"apple-touch-icon\",\"href\":\"/favicon.png\"}]]\n3:null\n"])</script></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/d95c47155fb80ddd.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-1796d5ecd61cbd74.js"/><script src="/_next/static/chunks/fd9d1056-7a5475c63f298b84.js" async=""></script><script src="/_next/static/chunks/23-5e0d0f54bc756891.js" async=""></script><script src="/_next/static/chunks/main-app-cc6be8282c80a1f4.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><title>Prism</title><meta name="description" content="Operate your prism instance from the browser."/><link rel="shortcut icon" href="/prism.svg"/><link rel="icon" href="/prism.svg" type="image/svg+xml"/><link rel="apple-touch-icon" href="/prism.svg"/><script src="/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js" noModule=""></script></head><body class="min-h-screen bg-background text-foreground antialiased"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><script src="/_next/static/chunks/webpack-1796d5ecd61cbd74.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/d95c47155fb80ddd.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[5751,[],\"\"]\n4:I[9275,[],\"\"]\n5:I[1343,[],\"\"]\nb:I[6130,[],\"\"]\n6:{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"}\n7:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\n8:{\"display\":\"inline-block\"}\n9:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\nc:[]\n"])</script><script>self.__next_f.push([1,"0:[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/d95c47155fb80ddd.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"$L2\",null,{\"buildId\":\"LtbBi3MHZ2YVsJMnPW3DH\",\"assetPrefix\":\"\",\"initialCanonicalUrl\":\"/_not-found\",\"initialTree\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]]],null],null]},[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"/_not-found\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\",\"styles\":null}],null]},[[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"children\":[\"$\",\"body\",null,{\"className\":\"min-h-screen bg-background text-foreground antialiased\",\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$6\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$7\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$8\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$9\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[],\"styles\":null}]}]}],null],null],\"couldBeIntercepted\":false,\"initialHead\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],\"$La\"],\"globalErrorComponent\":\"$b\",\"missingSlots\":\"$Wc\"}]]\n"])</script><script>self.__next_f.push([1,"a:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Prism\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Operate your prism instance from the browser.\"}],[\"$\",\"link\",\"4\",{\"rel\":\"shortcut icon\",\"href\":\"/prism.svg\"}],[\"$\",\"link\",\"5\",{\"rel\":\"icon\",\"href\":\"/prism.svg\",\"type\":\"image/svg+xml\"}],[\"$\",\"link\",\"6\",{\"rel\":\"apple-touch-icon\",\"href\":\"/prism.svg\"}]]\n3:null\n"])</script></body></html>
@@ -4,6 +4,6 @@
4
4
  5:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
5
5
  6:{"display":"inline-block"}
6
6
  7:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
7
- 0:["SS_jgIWqXX2pp1oaVOjaQ",[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["/_not-found",{"children":["__PAGE__",{},[["$L1",[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],null],null]},["$","$L2",null,{"parallelRouterKey":"children","segmentPath":["children","/_not-found","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}],null]},[["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"min-h-screen bg-background text-foreground antialiased","children":["$","$L2",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$4","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$5","children":"404"}],["$","div",null,{"style":"$6","children":["$","h2",null,{"style":"$7","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}]}]}],null],null],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/27aea81e28f3c17d.css","precedence":"next","crossOrigin":"$undefined"}]],[["$","meta",null,{"name":"robots","content":"noindex"}],"$L8"]]]]]
8
- 8:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Prism"}],["$","meta","3",{"name":"description","content":"Operate your prism instance from the browser."}],["$","link","4",{"rel":"shortcut icon","href":"/favicon.png"}],["$","link","5",{"rel":"icon","href":"/favicon.png","type":"image/png"}],["$","link","6",{"rel":"apple-touch-icon","href":"/favicon.png"}]]
7
+ 0:["LtbBi3MHZ2YVsJMnPW3DH",[[["",{"children":["/_not-found",{"children":["__PAGE__",{}]}]},"$undefined","$undefined",true],["",{"children":["/_not-found",{"children":["__PAGE__",{},[["$L1",[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]]],null],null]},["$","$L2",null,{"parallelRouterKey":"children","segmentPath":["children","/_not-found","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined","styles":null}],null]},[["$","html",null,{"lang":"en","suppressHydrationWarning":true,"children":["$","body",null,{"className":"min-h-screen bg-background text-foreground antialiased","children":["$","$L2",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$4","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$5","children":"404"}],["$","div",null,{"style":"$6","children":["$","h2",null,{"style":"$7","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[],"styles":null}]}]}],null],null],[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/d95c47155fb80ddd.css","precedence":"next","crossOrigin":"$undefined"}]],[["$","meta",null,{"name":"robots","content":"noindex"}],"$L8"]]]]]
8
+ 8:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Prism"}],["$","meta","3",{"name":"description","content":"Operate your prism instance from the browser."}],["$","link","4",{"rel":"shortcut icon","href":"/prism.svg"}],["$","link","5",{"rel":"icon","href":"/prism.svg","type":"image/svg+xml"}],["$","link","6",{"rel":"apple-touch-icon","href":"/prism.svg"}]]
9
9
  1:null
@@ -1 +1 @@
1
- (()=>{var e={};e.id=889,e.ids=[889],e.modules={7934:e=>{function t(e){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=7934,e.exports=t},2934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},4580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},5869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},517:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},6113:e=>{"use strict";e.exports=require("crypto")},7718:e=>{"use strict";e.exports=require("node:child_process")},6005:e=>{"use strict";e.exports=require("node:crypto")},7561:e=>{"use strict";e.exports=require("node:fs")},3977:e=>{"use strict";e.exports=require("node:fs/promises")},612:e=>{"use strict";e.exports=require("node:os")},9411:e=>{"use strict";e.exports=require("node:path")},9030:(e,t,r)=>{"use strict";r.r(t),r.d(t,{originalPathname:()=>j,patchFetch:()=>I,requestAsyncStorage:()=>g,routeModule:()=>v,serverHooks:()=>A,staticGenerationAsyncStorage:()=>x});var n={};r.r(n),r.d(n,{GET:()=>_,POST:()=>h,dynamic:()=>y,runtime:()=>f});var s=r(9303),i=r(8716),a=r(670),o=r(7070),u=r(7718),l=r(7561),c=r(612),d=r(9411),p=r(5456),m=r(5353);let f="nodejs",y="force-dynamic",w=(0,d.join)((0,c.homedir)(),".claude"),S=(0,d.join)(w,"CLAUDE.md");async function _(){if(!await (0,p.MH)("admin"))return o.NextResponse.json({error:"admin required"},{status:403});let e=(0,m.Iu)(),t=e&&(0,l.existsSync)(e)?(0,l.readFileSync)(e,"utf8"):null,r=(0,l.existsSync)(S)?(0,l.readFileSync)(S,"utf8"):null;return o.NextResponse.json({bundled:t,bundled_path:e,installed:r,installed_path:S})}async function h(){if(!await (0,p.MH)("admin"))return o.NextResponse.json({error:"admin required"},{status:403});let e=(0,u.spawn)("prism",["claude-md","install"],{env:process.env}),t="",r="";e.stdout.on("data",e=>t+=e.toString("utf8")),e.stderr.on("data",e=>r+=e.toString("utf8"));let n=await new Promise(t=>{e.on("exit",e=>t(e??-1)),e.on("error",()=>t(-1))});return o.NextResponse.json({ok:0===n,exit_code:n,stdout:t,stderr:r})}let v=new s.AppRouteRouteModule({definition:{kind:i.x.APP_ROUTE,page:"/api/claude-md/route",pathname:"/api/claude-md",filename:"route",bundlePath:"app/api/claude-md/route"},resolvedPagePath:"/home/runner/work/prism/prism/web/src/app/api/claude-md/route.ts",nextConfigOutput:"standalone",userland:n}),{requestAsyncStorage:g,staticGenerationAsyncStorage:x,serverHooks:A}=v,j="/api/claude-md/route";function I(){return(0,a.patchFetch)({serverHooks:A,staticGenerationAsyncStorage:x})}},5456:(e,t,r)=>{"use strict";r.d(t,{MH:()=>d,Ov:()=>f,Uj:()=>p,Vc:()=>c,c:()=>m,ts:()=>l});var n=r(1615),s=r(9902),i=r(2153);let a=process.env.ASTRY_COOKIE_NAME||"astry_session",o=process.env.ASTRY_AUTH_DOMAIN||void 0;function u(){return process.env.PRISM_DASHBOARD_TOKEN||null}async function l(){let e=(0,n.cookies)().get(a);if(!e)return null;let t=await (0,s.je)(e.value);if(t){let e=await (0,i.GA)(t.user_id);if(e&&!e.disabled)return e}let r=u();return r&&e.value===r?{id:"usr_legacy_admin",email:"admin@legacy",name:"Legacy admin (token)",role:"admin",created_at:new Date(0).toISOString(),created_by:null,last_login_at:null,disabled:!1}:null}async function c(){return l()}async function d(e){let t=await l();return t&&("admin"!==e||"admin"===t.role)?t:null}async function p(e){(0,n.cookies)().set(a,e,{httpOnly:!0,secure:function(){try{let e=(0,n.headers)().get("x-forwarded-proto");return"https"===e}catch{return!1}}(),sameSite:"lax",maxAge:5184e3,path:"/",...o?{domain:o}:{}})}async function m(e){let t=u();return!!t&&e===t&&(await p(e),!0)}async function f(){let e=(0,n.cookies)().get(a);return(0,n.cookies)().delete(a),e?.value??null}},5353:(e,t,r)=>{"use strict";r.d(t,{Fx:()=>f,Iu:()=>y,ym:()=>d,gn:()=>m});var n=r(7718),s=r(7561),i=r(9411);let a=require("node:util"),o="@martin0309205/prism",u=`https://registry.npmjs.org/${encodeURIComponent(o)}/latest`,l=(0,a.promisify)(n.execFile),c=null;async function d(){try{let{stdout:e}=await l("prism",["--version"],{timeout:5e3}),t=e.trim().split(/\s+/).pop()?.replace(/^v/,"")??"";if(/^\d+\.\d+\.\d+/.test(t))return t}catch{}return function(){let e=process.cwd();for(let t=0;t<8;t+=1){let t=(0,i.join)(e,"node_modules","@martin0309205","prism","package.json");if((0,s.existsSync)(t))try{let e=JSON.parse(s.readFileSync(t,"utf8"))?.version;if("string"==typeof e)return e}catch{}let r=(0,i.resolve)(e,"..");if(r===e)break;e=r}return null}()}async function p(){if(c&&Date.now()-c.ts<6e4)return c.version;try{let e=await fetch(u,{cache:"no-store"});if(!e.ok)return null;let t=await e.json();if("string"!=typeof t?.version)return null;return c={version:t.version,ts:Date.now()},t.version}catch{return null}}async function m(){let[e,t]=await Promise.all([d(),p()]),r=!!(e&&t&&function(e,t){let r=e.split(".").map(e=>Number(e.replace(/[^0-9].*/,"")||0)),n=t.split(".").map(e=>Number(e.replace(/[^0-9].*/,"")||0));for(let e=0;e<3;e+=1){let t=r[e]??0,s=n[e]??0;if(t!==s)return t-s}return 0}(t,e)>0);return{installed:e,latest:t,upgrade_available:r,name:o}}let f=o;function y(){try{let e=r(7934).resolve(`${o}/package.json`),t=(0,i.join)((0,i.dirname)(e),"assets","claude-md","CLAUDE.md");if((0,s.existsSync)(t))return t}catch{}let e=process.cwd();for(let t=0;t<8;t+=1){let t=(0,i.join)(e,"node_modules","@martin0309205","prism","assets","claude-md","CLAUDE.md");if((0,s.existsSync)(t))return t;let r=(0,i.resolve)(e,"..");if(r===e)break;e=r}return null}},9902:(e,t,r)=>{"use strict";r.d(t,{ed:()=>p,je:()=>m,w$:()=>f});var n=r(7561),s=r(3977),i=r(9411),a=r(6005),o=r(2153);function u(){let e=process.env.ASTRY_SESSIONS_PATH;if(e){let t=(0,i.dirname)(e);return(0,n.existsSync)(t)||(0,n.mkdirSync)(t,{recursive:!0}),e}let t=process.env.PRISM_INSTANCE_DIR;if(!t)throw Error("PRISM_INSTANCE_DIR or ASTRY_SESSIONS_PATH must be set");let r=(0,i.join)(t,"data");return(0,n.existsSync)(r)||(0,n.mkdirSync)(r,{recursive:!0}),(0,i.join)(r,"sessions.json")}function l(e){return(0,a.createHash)("sha256").update(e,"utf8").digest("hex")}async function c(){let e=u();if(!(0,n.existsSync)(e))return{version:1,sessions:[]};try{let t=await (0,s.readFile)(e,"utf8"),r=JSON.parse(t);if(r?.version!==1||!Array.isArray(r.sessions))return{version:1,sessions:[]};return r}catch{return{version:1,sessions:[]}}}async function d(e){let t=u();(0,n.mkdirSync)((0,i.dirname)(t),{recursive:!0});let r=`${t}.tmp.${process.pid}.${Date.now()}`;await (0,s.writeFile)(r,JSON.stringify(e,null,2),{mode:384}),await (0,s.rename)(r,t)}async function p(e){let{session_lifetime_days:t}=await (0,o.Gw)(),r=(0,a.randomBytes)(32).toString("base64url"),n=new Date,s=new Date(n.getTime()+864e5*t),i={id:"sess_"+(0,a.randomBytes)(8).toString("base64url"),token_hash:l(r),user_id:e.user_id,created_at:n.toISOString(),expires_at:s.toISOString(),last_used_at:n.toISOString(),ip:e.ip??null,user_agent:e.user_agent??null},u=await c();return u.sessions=function(e){let t=Date.now();return e.filter(e=>new Date(e.expires_at).getTime()>t)}(u.sessions),u.sessions.push(i),await d(u),{token:r,session:i}}async function m(e){if(!e)return null;let t=l(e),r=await c(),n=r.sessions.find(e=>e.token_hash===t);return!n||new Date(n.expires_at).getTime()<Date.now()?null:(n.last_used_at=new Date().toISOString(),d(r).catch(()=>{}),n)}async function f(e){let t=l(e),r=await c(),n=r.sessions.length;return r.sessions=r.sessions.filter(e=>e.token_hash!==t),r.sessions.length!==n&&(await d(r),!0)}},2153:(e,t,r)=>{"use strict";r.d(t,{Cf:()=>g,GA:()=>y,Gv:()=>v,Gw:()=>S,Re:()=>_,r4:()=>h,ve:()=>f});var n=r(7561),s=r(3977),i=r(9411),a=r(6005),o=r(2023),u=r.n(o);function l(){let e=process.env.ASTRY_USERS_PATH;if(e){let t=(0,i.dirname)(e);return(0,n.existsSync)(t)||(0,n.mkdirSync)(t,{recursive:!0}),e}let t=process.env.PRISM_INSTANCE_DIR;if(!t)throw Error("PRISM_INSTANCE_DIR or ASTRY_USERS_PATH must be set");let r=(0,i.join)(t,"config");return(0,n.existsSync)(r)||(0,n.mkdirSync)(r,{recursive:!0}),(0,i.join)(r,"users.json")}async function c(){let e=l();if(!(0,n.existsSync)(e))return{version:1,users:[]};try{let t=await (0,s.readFile)(e,"utf8"),r=JSON.parse(t);if(r?.version!==1||!Array.isArray(r.users))return{version:1,users:[]};return r}catch{return{version:1,users:[]}}}async function d(e){let t=l();(0,n.mkdirSync)((0,i.dirname)(t),{recursive:!0});let r=`${t}.tmp.${process.pid}.${Date.now()}`;await (0,s.writeFile)(r,JSON.stringify(e,null,2),{mode:384}),await (0,s.rename)(r,t)}function p(e){let{password_hash:t,...r}=e;return r}function m(e){return e.trim().toLowerCase()}async function f(){return(await c()).users.filter(e=>!e.disabled).length}async function y(e){let t=(await c()).users.find(t=>t.id===e);return t?p(t):null}async function w(e){let t=await c(),r=m(e);return t.users.find(e=>e.email===r)??null}async function S(){let e=await c();return{session_lifetime_days:e.settings?.session_lifetime_days??30}}async function _(e){let t=await c();if(!Number.isFinite(e)||e<1||e>365)throw Error("session_lifetime_days must be 1-365");t.settings={...t.settings??{},session_lifetime_days:Math.round(e)},await d(t)}async function h(e){let t=await c(),r=m(e.email);if(!r.includes("@"))throw Error("invalid email");if(e.password.length<8)throw Error("password must be at least 8 characters");if(t.users.find(e=>e.email===r))throw Error("email already exists");let n={id:"usr_"+(0,a.randomBytes)(8).toString("base64url"),email:r,name:e.name.trim()||r,password_hash:await u().hash(e.password,12),role:e.role,created_at:new Date().toISOString(),created_by:e.created_by,last_login_at:null,disabled:!1};return t.users.push(n),await d(t),p(n)}async function v(e,t){let r=await w(e);return!r||r.disabled?null:await u().compare(t,r.password_hash)?r:null}async function g(e){let t=await c(),r=t.users.find(t=>t.id===e);r&&(r.last_login_at=new Date().toISOString(),await d(t))}}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[948,277,70],()=>r(9030));module.exports=n})();
1
+ (()=>{var e={};e.id=889,e.ids=[889],e.modules={7934:e=>{function t(e){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}t.keys=()=>[],t.resolve=t,t.id=7934,e.exports=t},2934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},4580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},5869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},517:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},6113:e=>{"use strict";e.exports=require("crypto")},7718:e=>{"use strict";e.exports=require("node:child_process")},6005:e=>{"use strict";e.exports=require("node:crypto")},7561:e=>{"use strict";e.exports=require("node:fs")},3977:e=>{"use strict";e.exports=require("node:fs/promises")},612:e=>{"use strict";e.exports=require("node:os")},9411:e=>{"use strict";e.exports=require("node:path")},9030:(e,t,r)=>{"use strict";r.r(t),r.d(t,{originalPathname:()=>j,patchFetch:()=>I,requestAsyncStorage:()=>g,routeModule:()=>v,serverHooks:()=>A,staticGenerationAsyncStorage:()=>x});var n={};r.r(n),r.d(n,{GET:()=>_,POST:()=>h,dynamic:()=>y,runtime:()=>f});var s=r(9303),i=r(8716),a=r(670),o=r(7070),u=r(7718),l=r(7561),c=r(612),d=r(9411),p=r(5456),m=r(5353);let f="nodejs",y="force-dynamic",w=(0,d.join)((0,c.homedir)(),".claude"),S=(0,d.join)(w,"CLAUDE.md");async function _(){if(!await (0,p.MH)("admin"))return o.NextResponse.json({error:"admin required"},{status:403});let e=(0,m.Iu)(),t=e&&(0,l.existsSync)(e)?(0,l.readFileSync)(e,"utf8"):null,r=(0,l.existsSync)(S)?(0,l.readFileSync)(S,"utf8"):null;return o.NextResponse.json({bundled:t,bundled_path:e,installed:r,installed_path:S})}async function h(){if(!await (0,p.MH)("admin"))return o.NextResponse.json({error:"admin required"},{status:403});let e=(0,u.spawn)("prism",["claude-md","install"],{env:process.env}),t="",r="";e.stdout.on("data",e=>t+=e.toString("utf8")),e.stderr.on("data",e=>r+=e.toString("utf8"));let n=await new Promise(t=>{e.on("exit",e=>t(e??-1)),e.on("error",()=>t(-1))});return o.NextResponse.json({ok:0===n,exit_code:n,stdout:t,stderr:r})}let v=new s.AppRouteRouteModule({definition:{kind:i.x.APP_ROUTE,page:"/api/claude-md/route",pathname:"/api/claude-md",filename:"route",bundlePath:"app/api/claude-md/route"},resolvedPagePath:"/home/runner/work/prism/prism/web/src/app/api/claude-md/route.ts",nextConfigOutput:"standalone",userland:n}),{requestAsyncStorage:g,staticGenerationAsyncStorage:x,serverHooks:A}=v,j="/api/claude-md/route";function I(){return(0,a.patchFetch)({serverHooks:A,staticGenerationAsyncStorage:x})}},5456:(e,t,r)=>{"use strict";r.d(t,{MH:()=>d,Ov:()=>f,Uj:()=>p,Vc:()=>c,c:()=>m,ts:()=>l});var n=r(1615),s=r(9902),i=r(2153);let a=process.env.ASTRY_COOKIE_NAME||"astry_session",o=process.env.ASTRY_AUTH_DOMAIN||void 0;function u(){return process.env.PRISM_DASHBOARD_TOKEN||null}async function l(){let e=(0,n.cookies)().get(a);if(!e)return null;let t=await (0,s.je)(e.value);if(t){let e=await (0,i.GA)(t.user_id);if(e&&!e.disabled)return e}let r=u();return r&&e.value===r?{id:"usr_legacy_admin",email:"admin@legacy",name:"Legacy admin (token)",role:"admin",created_at:new Date(0).toISOString(),created_by:null,last_login_at:null,disabled:!1}:null}async function c(){return l()}async function d(e){let t=await l();return t&&("admin"!==e||"admin"===t.role)?t:null}async function p(e){(0,n.cookies)().set(a,e,{httpOnly:!0,secure:function(){try{let e=(0,n.headers)().get("x-forwarded-proto");return"https"===e}catch{return!1}}(),sameSite:"lax",maxAge:5184e3,path:"/",...o?{domain:o}:{}})}async function m(e){let t=u();return!!t&&e===t&&(await p(e),!0)}async function f(){let e=(0,n.cookies)().get(a);return(0,n.cookies)().delete(a),e?.value??null}},5353:(e,t,r)=>{"use strict";r.d(t,{Iu:()=>f,ym:()=>d,gn:()=>m});var n=r(7718),s=r(7561),i=r(9411);let a=require("node:util"),o="@martin0309205/prism",u=`https://registry.npmjs.org/${encodeURIComponent(o)}/latest`,l=(0,a.promisify)(n.execFile),c=null;async function d(){try{let{stdout:e}=await l("prism",["--version"],{timeout:5e3}),t=e.trim().split(/\s+/).pop()?.replace(/^v/,"")??"";if(/^\d+\.\d+\.\d+/.test(t))return t}catch{}return function(){let e=process.cwd();for(let t=0;t<8;t+=1){let t=(0,i.join)(e,"node_modules","@martin0309205","prism","package.json");if((0,s.existsSync)(t))try{let e=JSON.parse(s.readFileSync(t,"utf8"))?.version;if("string"==typeof e)return e}catch{}let r=(0,i.resolve)(e,"..");if(r===e)break;e=r}return null}()}async function p(){if(c&&Date.now()-c.ts<6e4)return c.version;try{let e=await fetch(u,{cache:"no-store"});if(!e.ok)return null;let t=await e.json();if("string"!=typeof t?.version)return null;return c={version:t.version,ts:Date.now()},t.version}catch{return null}}async function m(){let[e,t]=await Promise.all([d(),p()]),r=!!(e&&t&&function(e,t){let r=e.split(".").map(e=>Number(e.replace(/[^0-9].*/,"")||0)),n=t.split(".").map(e=>Number(e.replace(/[^0-9].*/,"")||0));for(let e=0;e<3;e+=1){let t=r[e]??0,s=n[e]??0;if(t!==s)return t-s}return 0}(t,e)>0);return{installed:e,latest:t,upgrade_available:r,name:o}}function f(){try{let e=r(7934).resolve(`${o}/package.json`),t=(0,i.join)((0,i.dirname)(e),"assets","claude-md","CLAUDE.md");if((0,s.existsSync)(t))return t}catch{}let e=process.cwd();for(let t=0;t<8;t+=1){let t=(0,i.join)(e,"node_modules","@martin0309205","prism","assets","claude-md","CLAUDE.md");if((0,s.existsSync)(t))return t;let r=(0,i.resolve)(e,"..");if(r===e)break;e=r}return null}},9902:(e,t,r)=>{"use strict";r.d(t,{ed:()=>p,je:()=>m,w$:()=>f});var n=r(7561),s=r(3977),i=r(9411),a=r(6005),o=r(2153);function u(){let e=process.env.ASTRY_SESSIONS_PATH;if(e){let t=(0,i.dirname)(e);return(0,n.existsSync)(t)||(0,n.mkdirSync)(t,{recursive:!0}),e}let t=process.env.PRISM_INSTANCE_DIR;if(!t)throw Error("PRISM_INSTANCE_DIR or ASTRY_SESSIONS_PATH must be set");let r=(0,i.join)(t,"data");return(0,n.existsSync)(r)||(0,n.mkdirSync)(r,{recursive:!0}),(0,i.join)(r,"sessions.json")}function l(e){return(0,a.createHash)("sha256").update(e,"utf8").digest("hex")}async function c(){let e=u();if(!(0,n.existsSync)(e))return{version:1,sessions:[]};try{let t=await (0,s.readFile)(e,"utf8"),r=JSON.parse(t);if(r?.version!==1||!Array.isArray(r.sessions))return{version:1,sessions:[]};return r}catch{return{version:1,sessions:[]}}}async function d(e){let t=u();(0,n.mkdirSync)((0,i.dirname)(t),{recursive:!0});let r=`${t}.tmp.${process.pid}.${Date.now()}`;await (0,s.writeFile)(r,JSON.stringify(e,null,2),{mode:384}),await (0,s.rename)(r,t)}async function p(e){let{session_lifetime_days:t}=await (0,o.Gw)(),r=(0,a.randomBytes)(32).toString("base64url"),n=new Date,s=new Date(n.getTime()+864e5*t),i={id:"sess_"+(0,a.randomBytes)(8).toString("base64url"),token_hash:l(r),user_id:e.user_id,created_at:n.toISOString(),expires_at:s.toISOString(),last_used_at:n.toISOString(),ip:e.ip??null,user_agent:e.user_agent??null},u=await c();return u.sessions=function(e){let t=Date.now();return e.filter(e=>new Date(e.expires_at).getTime()>t)}(u.sessions),u.sessions.push(i),await d(u),{token:r,session:i}}async function m(e){if(!e)return null;let t=l(e),r=await c(),n=r.sessions.find(e=>e.token_hash===t);return!n||new Date(n.expires_at).getTime()<Date.now()?null:(n.last_used_at=new Date().toISOString(),d(r).catch(()=>{}),n)}async function f(e){let t=l(e),r=await c(),n=r.sessions.length;return r.sessions=r.sessions.filter(e=>e.token_hash!==t),r.sessions.length!==n&&(await d(r),!0)}},2153:(e,t,r)=>{"use strict";r.d(t,{Cf:()=>g,GA:()=>y,Gv:()=>v,Gw:()=>S,Re:()=>_,r4:()=>h,ve:()=>f});var n=r(7561),s=r(3977),i=r(9411),a=r(6005),o=r(2023),u=r.n(o);function l(){let e=process.env.ASTRY_USERS_PATH;if(e){let t=(0,i.dirname)(e);return(0,n.existsSync)(t)||(0,n.mkdirSync)(t,{recursive:!0}),e}let t=process.env.PRISM_INSTANCE_DIR;if(!t)throw Error("PRISM_INSTANCE_DIR or ASTRY_USERS_PATH must be set");let r=(0,i.join)(t,"config");return(0,n.existsSync)(r)||(0,n.mkdirSync)(r,{recursive:!0}),(0,i.join)(r,"users.json")}async function c(){let e=l();if(!(0,n.existsSync)(e))return{version:1,users:[]};try{let t=await (0,s.readFile)(e,"utf8"),r=JSON.parse(t);if(r?.version!==1||!Array.isArray(r.users))return{version:1,users:[]};return r}catch{return{version:1,users:[]}}}async function d(e){let t=l();(0,n.mkdirSync)((0,i.dirname)(t),{recursive:!0});let r=`${t}.tmp.${process.pid}.${Date.now()}`;await (0,s.writeFile)(r,JSON.stringify(e,null,2),{mode:384}),await (0,s.rename)(r,t)}function p(e){let{password_hash:t,...r}=e;return r}function m(e){return e.trim().toLowerCase()}async function f(){return(await c()).users.filter(e=>!e.disabled).length}async function y(e){let t=(await c()).users.find(t=>t.id===e);return t?p(t):null}async function w(e){let t=await c(),r=m(e);return t.users.find(e=>e.email===r)??null}async function S(){let e=await c();return{session_lifetime_days:e.settings?.session_lifetime_days??30}}async function _(e){let t=await c();if(!Number.isFinite(e)||e<1||e>365)throw Error("session_lifetime_days must be 1-365");t.settings={...t.settings??{},session_lifetime_days:Math.round(e)},await d(t)}async function h(e){let t=await c(),r=m(e.email);if(!r.includes("@"))throw Error("invalid email");if(e.password.length<8)throw Error("password must be at least 8 characters");if(t.users.find(e=>e.email===r))throw Error("email already exists");let n={id:"usr_"+(0,a.randomBytes)(8).toString("base64url"),email:r,name:e.name.trim()||r,password_hash:await u().hash(e.password,12),role:e.role,created_at:new Date().toISOString(),created_by:e.created_by,last_login_at:null,disabled:!1};return t.users.push(n),await d(t),p(n)}async function v(e,t){let r=await w(e);return!r||r.disabled?null:await u().compare(t,r.password_hash)?r:null}async function g(e){let t=await c(),r=t.users.find(t=>t.id===e);r&&(r.last_login_at=new Date().toISOString(),await d(t))}}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[948,277,70],()=>r(9030));module.exports=n})();