@claudeye/linux-arm64 1.0.2-beta.3 → 1.0.2-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/standalone/.next/BUILD_ID +1 -1
- package/assets/standalone/.next/build-manifest.json +2 -2
- package/assets/standalone/.next/prerender-manifest.json +3 -3
- package/assets/standalone/.next/server/app/_global-error.html +2 -2
- package/assets/standalone/.next/server/app/_global-error.rsc +1 -1
- package/assets/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/assets/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/assets/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/assets/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/assets/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/assets/standalone/.next/server/app/_not-found/page/server-reference-manifest.json +1 -1
- package/assets/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/assets/standalone/.next/server/app/_not-found.html +2 -2
- package/assets/standalone/.next/server/app/_not-found.rsc +5 -5
- package/assets/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +5 -5
- package/assets/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/assets/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +5 -5
- package/assets/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/assets/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/assets/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/assets/standalone/.next/server/app/dashboard/[viewName]/page/server-reference-manifest.json +4 -4
- package/assets/standalone/.next/server/app/dashboard/[viewName]/page_client-reference-manifest.js +1 -1
- package/assets/standalone/.next/server/app/dashboard/page/server-reference-manifest.json +4 -4
- package/assets/standalone/.next/server/app/dashboard/page_client-reference-manifest.js +1 -1
- package/assets/standalone/.next/server/app/login/page/server-reference-manifest.json +2 -2
- package/assets/standalone/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/assets/standalone/.next/server/app/login.html +2 -2
- package/assets/standalone/.next/server/app/login.rsc +6 -6
- package/assets/standalone/.next/server/app/login.segments/_full.segment.rsc +6 -6
- package/assets/standalone/.next/server/app/login.segments/_head.segment.rsc +1 -1
- package/assets/standalone/.next/server/app/login.segments/_index.segment.rsc +5 -5
- package/assets/standalone/.next/server/app/login.segments/_tree.segment.rsc +1 -1
- package/assets/standalone/.next/server/app/login.segments/login/__PAGE__.segment.rsc +2 -2
- package/assets/standalone/.next/server/app/login.segments/login.segment.rsc +1 -1
- package/assets/standalone/.next/server/app/page/server-reference-manifest.json +1 -1
- package/assets/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
- package/assets/standalone/.next/server/app/project/[name]/page/server-reference-manifest.json +1 -1
- package/assets/standalone/.next/server/app/project/[name]/page_client-reference-manifest.js +1 -1
- package/assets/standalone/.next/server/app/project/[name]/session/[sessionId]/page/react-loadable-manifest.json +1 -1
- package/assets/standalone/.next/server/app/project/[name]/session/[sessionId]/page/server-reference-manifest.json +8 -8
- package/assets/standalone/.next/server/app/project/[name]/session/[sessionId]/page_client-reference-manifest.js +1 -1
- package/assets/standalone/.next/server/app/queue/page/server-reference-manifest.json +3 -3
- package/assets/standalone/.next/server/app/queue/page_client-reference-manifest.js +1 -1
- package/assets/standalone/.next/server/chunks/[root-of-the-server]__e2730921._.js +2 -2
- package/assets/standalone/.next/server/chunks/_d3c87a9f._.js +2 -2
- package/assets/standalone/.next/server/chunks/_fb07f1d4._.js +1 -1
- package/assets/standalone/.next/server/chunks/lib_eval-queue_ts_32d171f8._.js +1 -1
- package/assets/standalone/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_7a66d362.js +1 -1
- package/assets/standalone/.next/server/chunks/ssr/_1d335924._.js +1 -1
- package/assets/standalone/.next/server/chunks/ssr/_34abf048._.js +2 -2
- package/assets/standalone/.next/server/chunks/ssr/_3e6c3cad._.js +2 -2
- package/assets/standalone/.next/server/chunks/ssr/_40b9779b._.js +2 -2
- package/assets/standalone/.next/server/chunks/ssr/_472a5ae2._.js +2 -2
- package/assets/standalone/.next/server/chunks/ssr/_76ab933f._.js +1 -1
- package/assets/standalone/.next/server/chunks/ssr/_87e025a1._.js +1 -1
- package/assets/standalone/.next/server/chunks/ssr/_cce5033e._.js +2 -2
- package/assets/standalone/.next/server/chunks/ssr/_d7141734._.js +2 -2
- package/assets/standalone/.next/server/chunks/ssr/_d982b289._.js +2 -2
- package/assets/standalone/.next/server/chunks/ssr/_f7ec0663._.js +2 -2
- package/assets/standalone/.next/server/chunks/ssr/app_actions_compute-dashboard_ts_fc151dbb._.js +1 -1
- package/assets/standalone/.next/server/chunks/ssr/app_login_page_tsx_ccc0019b._.js +1 -1
- package/assets/standalone/.next/server/chunks/ssr/app_queue_queue-client_tsx_45f040f7._.js +1 -1
- package/assets/standalone/.next/server/chunks/ssr/components_navbar_tsx_e9e361f1._.js +1 -1
- package/assets/standalone/.next/server/chunks/ssr/lib_eval-queue_ts_e2258485._.js +1 -1
- package/assets/standalone/.next/server/pages/404.html +2 -2
- package/assets/standalone/.next/server/pages/500.html +2 -2
- package/assets/standalone/.next/server/server-reference-manifest.js +1 -1
- package/assets/standalone/.next/server/server-reference-manifest.json +15 -15
- package/assets/standalone/.next/static/chunks/{82a3319ede7c9621.js → 1996ffd2112e6897.js} +1 -1
- package/assets/standalone/.next/static/chunks/{f7b64ad8b364f0c5.js → 2578dd5814ef4810.js} +1 -1
- package/assets/standalone/.next/static/chunks/{9f064ca168fae55e.js → 82ee8e29a252fe2c.js} +1 -1
- package/assets/standalone/.next/static/chunks/{11e601801455fac4.js → 8c77c2265670e23c.js} +1 -1
- package/assets/standalone/.next/static/chunks/{c7aa129147f3abd6.js → acd8d14816c73223.js} +3 -3
- package/assets/standalone/.next/static/chunks/{04ec83944262f9e3.js → afab6995d2576cac.js} +1 -1
- package/assets/standalone/package.json +1 -1
- package/package.json +1 -1
- /package/assets/standalone/.next/static/{TOk1xzqKWJ_UFNFX5JA5z → nyrPg2oq70l4kIVlmEopx}/_buildManifest.js +0 -0
- /package/assets/standalone/.next/static/{TOk1xzqKWJ_UFNFX5JA5z → nyrPg2oq70l4kIVlmEopx}/_clientMiddlewareManifest.json +0 -0
- /package/assets/standalone/.next/static/{TOk1xzqKWJ_UFNFX5JA5z → nyrPg2oq70l4kIVlmEopx}/_ssgManifest.js +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[57730,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(38246),e=a.i(70106);let f=(0,e.default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]),g=(0,e.default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]),h=(0,e.default)("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);var i=a.i(69520),j=a.i(65967),k=a.i(5050);let l=(0,k.createServerReference)("4092fd56af7a9f90cef7a072b781307d407b9fc675",k.callServer,void 0,k.findSourceMapURL,"getCompletedHistoryAction"),m=(0,k.createServerReference)("60799b45f174b8d830ee5a53a6126ad9b91158e8fb",k.callServer,void 0,k.findSourceMapURL,"searchCompletedHistoryAction");var n=a.i(6236),o=a.i(90619),p=a.i(95947);function q(a){let b=Math.floor((Date.now()-a)/1e3);if(b<60)return`${b}s ago`;let c=Math.floor(b/60);if(c<60)return`${c}m ago`;let d=Math.floor(c/60);return`${d}h ago`}function r({type:a}){let c="eval"===a?"bg-blue-100 text-blue-700 dark:bg-blue-900/30 dark:text-blue-400":"action"===a?"bg-amber-100 text-amber-700 dark:bg-amber-900/30 dark:text-amber-400":"bg-purple-100 text-purple-700 dark:bg-purple-900/30 dark:text-purple-400";return(0,b.jsx)("span",{className:`inline-flex items-center rounded px-1.5 py-0.5 text-[0.6rem] font-medium ${c}`,children:a.toUpperCase()})}function s({priority:a}){let c=a<=0;return(0,b.jsx)("span",{className:`text-[0.6rem] font-medium px-1.5 py-0.5 rounded ${c?"bg-red-100 text-red-700 dark:bg-red-900/30 dark:text-red-400":"bg-muted text-muted-foreground"}`,children:c?"HIGH":"LOW"})}function t({projectName:a,sessionId:c}){return(0,b.jsx)(d.default,{href:`/project/${encodeURIComponent(a)}/session/${encodeURIComponent(c)}`,className:"text-blue-600 dark:text-blue-400 hover:underline truncate block max-w-[200px]",children:c})}function u(){let a,e,{intervalSec:k}=(0,n.useAutoRefresh)(),u=(0,o.useUrlParams)(),v=(0,c.useRef)(!1),[w,x]=(0,c.useState)(null),[y,z]=(0,c.useState)(null),[A,B]=(0,c.useState)(()=>{let a=u.get("tab");return"pending"===a||"processing"===a||"completed"===a?a:"processing"}),[C,D]=(0,c.useState)(()=>(0,p.paramToPage)(u.get("page"))),[E,F]=(0,c.useState)(null),G=(0,c.useRef)(A),[H,I]=(0,c.useState)(()=>{let a=u.get("type");return"eval"===a||"enrichment"===a||"action"===a?a:""}),[J,K]=(0,c.useState)(()=>u.get("item")??""),[L,M]=(0,c.useState)(()=>u.get("session")??""),N=(0,c.useRef)(null),O=(0,c.useRef)({filterType:H,filterItem:J,filterSession:L});O.current={filterType:H,filterItem:J,filterSession:L},(0,c.useEffect)(()=>{if(!v.current){v.current=!0;return}u.setAll({tab:"processing"===A?void 0:A,type:H||void 0,item:J||void 0,session:L||void 0,page:"completed"===A?(0,p.pageToParam)(C):void 0})},[A,H,J,L,C]);let P=(0,c.useCallback)(async()=>{try{let a=await fetch("/api/queue-status",{cache:"no-store"});if(a.ok){let b=await a.json();x(b),z(null)}else z(`Failed to fetch: ${a.status}`)}catch{z("Network error")}},[]),Q=(0,c.useCallback)(async a=>{try{let b,{filterType:c,filterItem:d,filterSession:e}=O.current;b=""!==c||""!==d||""!==e?await m({type:c||void 0,itemName:d||void 0,sessionId:e||void 0},a):await l(a),F(b)}catch{}},[]);(0,c.useEffect)(()=>{P();let a=setInterval(P,k>0?1e3*k:5e3);return()=>clearInterval(a)},[P,k]),(0,c.useEffect)(()=>{"completed"===A&&"completed"!==G.current&&(D(1),Q(1)),G.current=A},[A,Q]),(0,c.useEffect)(()=>{if("completed"===A)return N.current&&clearTimeout(N.current),N.current=setTimeout(()=>{D(1),Q(1)},300),()=>{N.current&&clearTimeout(N.current)}},[H,J,L]),(0,c.useEffect)(()=>{if("completed"!==A)return;Q(C);let a=setInterval(()=>Q(C),k>0?1e3*k:5e3);return()=>clearInterval(a)},[C,A,Q,k]),(0,c.useEffect)(()=>{"completed"===A&&k>0&&1===C&&E&&0===E.entries.length&&E.totalPages>1&&D(2)},[A,k,C,E]);let R=[{key:"pending",label:"In Queue",count:w?.pending.length??0},{key:"processing",label:"Processing",count:w?.processing.length??0},{key:"completed",label:"Processed"}];return(0,b.jsxs)("div",{className:"min-h-screen bg-background p-6 max-w-4xl mx-auto",children:[(0,b.jsxs)("div",{className:"mb-6",children:[(0,b.jsxs)(d.default,{href:"/",className:"inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground transition-colors",children:[(0,b.jsx)(f,{className:"h-4 w-4"}),"Back"]}),(0,b.jsx)("h1",{className:"text-2xl font-bold text-foreground mt-2",children:"Queue Details"})]}),y&&!w&&(0,b.jsxs)("div",{className:"bg-card border border-border rounded-lg p-4 text-center",children:[(0,b.jsx)("p",{className:"text-sm text-destructive mb-2",children:y}),(0,b.jsx)("button",{onClick:P,className:"text-xs text-primary hover:underline",children:"Retry"})]}),!w&&!y&&(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:"Loading..."}),w&&(0,b.jsxs)("div",{className:"space-y-4",children:[(0,b.jsx)("div",{className:"flex gap-1 border-b border-border",children:R.map(a=>(0,b.jsxs)("button",{onClick:()=>B(a.key),className:`px-4 py-2 text-sm font-medium border-b-2 transition-colors ${A===a.key?"border-primary text-foreground":"border-transparent text-muted-foreground hover:text-foreground"}`,children:[a.label,null!=a.count&&(0,b.jsxs)("span",{className:"ml-1.5 text-xs text-muted-foreground",children:["(",a.count,")"]})]},a.key))}),(0,b.jsxs)("div",{className:"bg-card border border-border rounded-lg overflow-hidden",children:["pending"===A&&(0===w.pending.length?(0,b.jsx)("p",{className:"px-4 py-8 text-xs text-muted-foreground text-center",children:"No items in queue."}):(0,b.jsx)("div",{className:"overflow-x-auto",children:(0,b.jsxs)("table",{className:"w-full text-xs",children:[(0,b.jsx)("thead",{children:(0,b.jsxs)("tr",{className:"text-left text-muted-foreground border-b border-border bg-muted/30",children:[(0,b.jsx)("th",{className:"px-3 py-2 font-medium",children:"Type"}),(0,b.jsx)("th",{className:"px-3 py-2 font-medium",children:"Item"}),(0,b.jsx)("th",{className:"px-3 py-2 font-medium",children:"Session"}),(0,b.jsx)("th",{className:"px-3 py-2 font-medium",children:"Priority"}),(0,b.jsx)("th",{className:"px-3 py-2 font-medium text-right",children:"Queued"})]})}),(0,b.jsx)("tbody",{className:"divide-y divide-border/50",children:w.pending.map(a=>(0,b.jsxs)("tr",{className:"hover:bg-muted/20",children:[(0,b.jsx)("td",{className:"px-3 py-2",children:(0,b.jsx)(r,{type:a.type})}),(0,b.jsx)("td",{className:"px-3 py-2 font-mono text-foreground",children:a.itemName}),(0,b.jsx)("td",{className:"px-3 py-2",children:(0,b.jsx)(t,{projectName:a.projectName,sessionId:a.sessionId})}),(0,b.jsx)("td",{className:"px-3 py-2",children:(0,b.jsx)(s,{priority:a.priority})}),(0,b.jsx)("td",{className:"px-3 py-2 text-right text-muted-foreground",children:q(a.addedAt)})]},a.key))})]})})),"processing"===A&&(0===w.processing.length?(0,b.jsx)("p",{className:"px-4 py-8 text-xs text-muted-foreground text-center",children:"No items currently processing."}):(0,b.jsx)("div",{className:"overflow-x-auto",children:(0,b.jsxs)("table",{className:"w-full text-xs",children:[(0,b.jsx)("thead",{children:(0,b.jsxs)("tr",{className:"text-left text-muted-foreground border-b border-border bg-muted/30",children:[(0,b.jsx)("th",{className:"px-3 py-2 font-medium",children:"Type"}),(0,b.jsx)("th",{className:"px-3 py-2 font-medium",children:"Item"}),(0,b.jsx)("th",{className:"px-3 py-2 font-medium",children:"Session"}),(0,b.jsx)("th",{className:"px-3 py-2 font-medium",children:"Priority"}),(0,b.jsx)("th",{className:"px-3 py-2 font-medium text-right",children:"Started"})]})}),(0,b.jsx)("tbody",{className:"divide-y divide-border/50",children:w.processing.map(a=>(0,b.jsxs)("tr",{className:"hover:bg-muted/20",children:[(0,b.jsx)("td",{className:"px-3 py-2",children:(0,b.jsx)(r,{type:a.type})}),(0,b.jsx)("td",{className:"px-3 py-2",children:(0,b.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,b.jsx)(i.RefreshCw,{className:"w-3 h-3 text-blue-500 animate-spin flex-shrink-0"}),(0,b.jsx)("span",{className:"font-mono text-foreground",children:a.itemName})]})}),(0,b.jsx)("td",{className:"px-3 py-2",children:(0,b.jsx)(t,{projectName:a.projectName,sessionId:a.sessionId})}),(0,b.jsx)("td",{className:"px-3 py-2",children:(0,b.jsx)(s,{priority:a.priority})}),(0,b.jsx)("td",{className:"px-3 py-2 text-right text-muted-foreground",children:q(a.startedAt)})]},a.key))})]})})),"completed"===A&&(a=E?.entries??w.completed,e=E?.totalPages??1,(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("div",{className:"flex items-center gap-2 px-3 py-2 border-b border-border bg-muted/30",children:[(0,b.jsxs)("select",{value:H,onChange:a=>I(a.target.value),className:"h-7 rounded border border-border bg-background px-2 text-xs text-foreground",children:[(0,b.jsx)("option",{value:"",children:"All Types"}),(0,b.jsx)("option",{value:"eval",children:"Eval"}),(0,b.jsx)("option",{value:"enrichment",children:"Enrichment"}),(0,b.jsx)("option",{value:"action",children:"Action"})]}),(0,b.jsx)("input",{type:"text",value:J,onChange:a=>K(a.target.value),placeholder:"Filter by item...",className:"h-7 rounded border border-border bg-background px-2 text-xs text-foreground placeholder:text-muted-foreground w-40"}),(0,b.jsx)("input",{type:"text",value:L,onChange:a=>M(a.target.value),placeholder:"Filter by session...",className:"h-7 rounded border border-border bg-background px-2 text-xs text-foreground placeholder:text-muted-foreground w-40"})]}),0===a.length?(0,b.jsx)("p",{className:"px-4 py-8 text-xs text-muted-foreground text-center",children:"No completed items."}):(0,b.jsx)("div",{className:"overflow-x-auto",children:(0,b.jsxs)("table",{className:"w-full text-xs",children:[(0,b.jsx)("thead",{children:(0,b.jsxs)("tr",{className:"text-left text-muted-foreground border-b border-border bg-muted/30",children:[(0,b.jsx)("th",{className:"px-3 py-2 font-medium",children:"Type"}),(0,b.jsx)("th",{className:"px-3 py-2 font-medium",children:"Item"}),(0,b.jsx)("th",{className:"px-3 py-2 font-medium",children:"Session"}),(0,b.jsx)("th",{className:"px-3 py-2 font-medium",children:"Duration"}),(0,b.jsx)("th",{className:"px-3 py-2 font-medium",children:"Status"}),(0,b.jsx)("th",{className:"px-3 py-2 font-medium text-right",children:"Completed"})]})}),(0,b.jsx)("tbody",{className:"divide-y divide-border/50",children:a.map((a,c)=>(0,b.jsxs)("tr",{className:"hover:bg-muted/20",children:[(0,b.jsx)("td",{className:"px-3 py-2",children:(0,b.jsx)(r,{type:a.type})}),(0,b.jsx)("td",{className:"px-3 py-2 font-mono text-foreground",children:a.itemName}),(0,b.jsx)("td",{className:"px-3 py-2",children:(0,b.jsx)(t,{projectName:a.projectName,sessionId:a.sessionId})}),(0,b.jsx)("td",{className:"px-3 py-2 text-muted-foreground",children:function(a){if(a<1e3)return`${a}ms`;let b=(a/1e3).toFixed(1);return`${b}s`}(a.durationMs)}),(0,b.jsx)("td",{className:"px-3 py-2",children:a.success?(0,b.jsx)(g,{className:"h-3.5 w-3.5 text-green-600 dark:text-green-400"}):(0,b.jsx)(h,{className:"h-3.5 w-3.5 text-red-600 dark:text-red-400"})}),(0,b.jsx)("td",{className:"px-3 py-2 text-right text-muted-foreground",children:new Date(a.completedAt).toLocaleString(void 0,{month:"short",day:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"})})]},`${a.key}-${a.completedAt}-${c}`))})]})}),(0,b.jsx)(j.default,{currentPage:C,totalPages:e,onPageChange:D})]}))]}),w.recentErrors.length>0&&(0,b.jsxs)("section",{className:"bg-card border border-border rounded-lg p-4",children:[(0,b.jsxs)("h2",{className:"text-sm font-semibold text-foreground mb-2",children:["Recent Errors",(0,b.jsxs)("span",{className:"ml-2 text-xs font-normal text-muted-foreground",children:["(",w.recentErrors.length,")"]})]}),(0,b.jsx)("div",{className:"space-y-1",children:w.recentErrors.map((a,c)=>(0,b.jsxs)("div",{className:"text-xs bg-muted/30 rounded px-2 py-1 flex items-start gap-2",children:[(0,b.jsx)("span",{className:"font-mono text-muted-foreground shrink-0",children:a.key}),(0,b.jsx)("span",{className:"text-red-500 break-all",children:a.error}),(0,b.jsx)("span",{className:"text-muted-foreground shrink-0 ml-auto",children:q(a.at)})]},`${a.key}-${a.at}-${c}`))})]})]})]})}a.s(["default",()=>u],57730)}];
|
|
1
|
+
module.exports=[57730,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(38246),e=a.i(70106);let f=(0,e.default)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]),g=(0,e.default)("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]),h=(0,e.default)("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);var i=a.i(69520),j=a.i(65967),k=a.i(5050);let l=(0,k.createServerReference)("40085fc966277e8de74a7426267d5a2e4ed82d9dfb",k.callServer,void 0,k.findSourceMapURL,"getCompletedHistoryAction"),m=(0,k.createServerReference)("6022d75d95a172a5c26578f6da42e2fee99f1595f7",k.callServer,void 0,k.findSourceMapURL,"searchCompletedHistoryAction");var n=a.i(6236),o=a.i(90619),p=a.i(95947);function q(a){let b=Math.floor((Date.now()-a)/1e3);if(b<60)return`${b}s ago`;let c=Math.floor(b/60);if(c<60)return`${c}m ago`;let d=Math.floor(c/60);return`${d}h ago`}function r({type:a}){let c="eval"===a?"bg-blue-100 text-blue-700 dark:bg-blue-900/30 dark:text-blue-400":"action"===a?"bg-amber-100 text-amber-700 dark:bg-amber-900/30 dark:text-amber-400":"bg-purple-100 text-purple-700 dark:bg-purple-900/30 dark:text-purple-400";return(0,b.jsx)("span",{className:`inline-flex items-center rounded px-1.5 py-0.5 text-[0.6rem] font-medium ${c}`,children:a.toUpperCase()})}function s({priority:a}){let c=a<=0;return(0,b.jsx)("span",{className:`text-[0.6rem] font-medium px-1.5 py-0.5 rounded ${c?"bg-red-100 text-red-700 dark:bg-red-900/30 dark:text-red-400":"bg-muted text-muted-foreground"}`,children:c?"HIGH":"LOW"})}function t({projectName:a,sessionId:c}){return(0,b.jsx)(d.default,{href:`/project/${encodeURIComponent(a)}/session/${encodeURIComponent(c)}`,className:"text-blue-600 dark:text-blue-400 hover:underline truncate block max-w-[200px]",children:c})}function u(){let a,e,{intervalSec:k}=(0,n.useAutoRefresh)(),u=(0,o.useUrlParams)(),v=(0,c.useRef)(!1),[w,x]=(0,c.useState)(null),[y,z]=(0,c.useState)(null),[A,B]=(0,c.useState)(()=>{let a=u.get("tab");return"pending"===a||"processing"===a||"completed"===a?a:"processing"}),[C,D]=(0,c.useState)(()=>(0,p.paramToPage)(u.get("page"))),[E,F]=(0,c.useState)(null),G=(0,c.useRef)(A),[H,I]=(0,c.useState)(()=>{let a=u.get("type");return"eval"===a||"enrichment"===a||"action"===a?a:""}),[J,K]=(0,c.useState)(()=>u.get("item")??""),[L,M]=(0,c.useState)(()=>u.get("session")??""),N=(0,c.useRef)(null),O=(0,c.useRef)({filterType:H,filterItem:J,filterSession:L});O.current={filterType:H,filterItem:J,filterSession:L},(0,c.useEffect)(()=>{if(!v.current){v.current=!0;return}u.setAll({tab:"processing"===A?void 0:A,type:H||void 0,item:J||void 0,session:L||void 0,page:"completed"===A?(0,p.pageToParam)(C):void 0})},[A,H,J,L,C]);let P=(0,c.useCallback)(async()=>{try{let a=await fetch("/api/queue-status",{cache:"no-store"});if(a.ok){let b=await a.json();x(b),z(null)}else z(`Failed to fetch: ${a.status}`)}catch{z("Network error")}},[]),Q=(0,c.useCallback)(async a=>{try{let b,{filterType:c,filterItem:d,filterSession:e}=O.current;b=""!==c||""!==d||""!==e?await m({type:c||void 0,itemName:d||void 0,sessionId:e||void 0},a):await l(a),F(b)}catch{}},[]);(0,c.useEffect)(()=>{P();let a=setInterval(P,k>0?1e3*k:5e3);return()=>clearInterval(a)},[P,k]),(0,c.useEffect)(()=>{"completed"===A&&"completed"!==G.current&&(D(1),Q(1)),G.current=A},[A,Q]),(0,c.useEffect)(()=>{if("completed"===A)return N.current&&clearTimeout(N.current),N.current=setTimeout(()=>{D(1),Q(1)},300),()=>{N.current&&clearTimeout(N.current)}},[H,J,L]),(0,c.useEffect)(()=>{if("completed"!==A)return;Q(C);let a=setInterval(()=>Q(C),k>0?1e3*k:5e3);return()=>clearInterval(a)},[C,A,Q,k]),(0,c.useEffect)(()=>{"completed"===A&&k>0&&1===C&&E&&0===E.entries.length&&E.totalPages>1&&D(2)},[A,k,C,E]);let R=[{key:"pending",label:"In Queue",count:w?.pending.length??0},{key:"processing",label:"Processing",count:w?.processing.length??0},{key:"completed",label:"Processed"}];return(0,b.jsxs)("div",{className:"min-h-screen bg-background p-6 max-w-4xl mx-auto",children:[(0,b.jsxs)("div",{className:"mb-6",children:[(0,b.jsxs)(d.default,{href:"/",className:"inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground transition-colors",children:[(0,b.jsx)(f,{className:"h-4 w-4"}),"Back"]}),(0,b.jsx)("h1",{className:"text-2xl font-bold text-foreground mt-2",children:"Queue Details"})]}),y&&!w&&(0,b.jsxs)("div",{className:"bg-card border border-border rounded-lg p-4 text-center",children:[(0,b.jsx)("p",{className:"text-sm text-destructive mb-2",children:y}),(0,b.jsx)("button",{onClick:P,className:"text-xs text-primary hover:underline",children:"Retry"})]}),!w&&!y&&(0,b.jsx)("p",{className:"text-sm text-muted-foreground",children:"Loading..."}),w&&(0,b.jsxs)("div",{className:"space-y-4",children:[(0,b.jsx)("div",{className:"flex gap-1 border-b border-border",children:R.map(a=>(0,b.jsxs)("button",{onClick:()=>B(a.key),className:`px-4 py-2 text-sm font-medium border-b-2 transition-colors ${A===a.key?"border-primary text-foreground":"border-transparent text-muted-foreground hover:text-foreground"}`,children:[a.label,null!=a.count&&(0,b.jsxs)("span",{className:"ml-1.5 text-xs text-muted-foreground",children:["(",a.count,")"]})]},a.key))}),(0,b.jsxs)("div",{className:"bg-card border border-border rounded-lg overflow-hidden",children:["pending"===A&&(0===w.pending.length?(0,b.jsx)("p",{className:"px-4 py-8 text-xs text-muted-foreground text-center",children:"No items in queue."}):(0,b.jsx)("div",{className:"overflow-x-auto",children:(0,b.jsxs)("table",{className:"w-full text-xs",children:[(0,b.jsx)("thead",{children:(0,b.jsxs)("tr",{className:"text-left text-muted-foreground border-b border-border bg-muted/30",children:[(0,b.jsx)("th",{className:"px-3 py-2 font-medium",children:"Type"}),(0,b.jsx)("th",{className:"px-3 py-2 font-medium",children:"Item"}),(0,b.jsx)("th",{className:"px-3 py-2 font-medium",children:"Session"}),(0,b.jsx)("th",{className:"px-3 py-2 font-medium",children:"Priority"}),(0,b.jsx)("th",{className:"px-3 py-2 font-medium text-right",children:"Queued"})]})}),(0,b.jsx)("tbody",{className:"divide-y divide-border/50",children:w.pending.map(a=>(0,b.jsxs)("tr",{className:"hover:bg-muted/20",children:[(0,b.jsx)("td",{className:"px-3 py-2",children:(0,b.jsx)(r,{type:a.type})}),(0,b.jsx)("td",{className:"px-3 py-2 font-mono text-foreground",children:a.itemName}),(0,b.jsx)("td",{className:"px-3 py-2",children:(0,b.jsx)(t,{projectName:a.projectName,sessionId:a.sessionId})}),(0,b.jsx)("td",{className:"px-3 py-2",children:(0,b.jsx)(s,{priority:a.priority})}),(0,b.jsx)("td",{className:"px-3 py-2 text-right text-muted-foreground",children:q(a.addedAt)})]},a.key))})]})})),"processing"===A&&(0===w.processing.length?(0,b.jsx)("p",{className:"px-4 py-8 text-xs text-muted-foreground text-center",children:"No items currently processing."}):(0,b.jsx)("div",{className:"overflow-x-auto",children:(0,b.jsxs)("table",{className:"w-full text-xs",children:[(0,b.jsx)("thead",{children:(0,b.jsxs)("tr",{className:"text-left text-muted-foreground border-b border-border bg-muted/30",children:[(0,b.jsx)("th",{className:"px-3 py-2 font-medium",children:"Type"}),(0,b.jsx)("th",{className:"px-3 py-2 font-medium",children:"Item"}),(0,b.jsx)("th",{className:"px-3 py-2 font-medium",children:"Session"}),(0,b.jsx)("th",{className:"px-3 py-2 font-medium",children:"Priority"}),(0,b.jsx)("th",{className:"px-3 py-2 font-medium text-right",children:"Started"})]})}),(0,b.jsx)("tbody",{className:"divide-y divide-border/50",children:w.processing.map(a=>(0,b.jsxs)("tr",{className:"hover:bg-muted/20",children:[(0,b.jsx)("td",{className:"px-3 py-2",children:(0,b.jsx)(r,{type:a.type})}),(0,b.jsx)("td",{className:"px-3 py-2",children:(0,b.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,b.jsx)(i.RefreshCw,{className:"w-3 h-3 text-blue-500 animate-spin flex-shrink-0"}),(0,b.jsx)("span",{className:"font-mono text-foreground",children:a.itemName})]})}),(0,b.jsx)("td",{className:"px-3 py-2",children:(0,b.jsx)(t,{projectName:a.projectName,sessionId:a.sessionId})}),(0,b.jsx)("td",{className:"px-3 py-2",children:(0,b.jsx)(s,{priority:a.priority})}),(0,b.jsx)("td",{className:"px-3 py-2 text-right text-muted-foreground",children:q(a.startedAt)})]},a.key))})]})})),"completed"===A&&(a=E?.entries??w.completed,e=E?.totalPages??1,(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("div",{className:"flex items-center gap-2 px-3 py-2 border-b border-border bg-muted/30",children:[(0,b.jsxs)("select",{value:H,onChange:a=>I(a.target.value),className:"h-7 rounded border border-border bg-background px-2 text-xs text-foreground",children:[(0,b.jsx)("option",{value:"",children:"All Types"}),(0,b.jsx)("option",{value:"eval",children:"Eval"}),(0,b.jsx)("option",{value:"enrichment",children:"Enrichment"}),(0,b.jsx)("option",{value:"action",children:"Action"})]}),(0,b.jsx)("input",{type:"text",value:J,onChange:a=>K(a.target.value),placeholder:"Filter by item...",className:"h-7 rounded border border-border bg-background px-2 text-xs text-foreground placeholder:text-muted-foreground w-40"}),(0,b.jsx)("input",{type:"text",value:L,onChange:a=>M(a.target.value),placeholder:"Filter by session...",className:"h-7 rounded border border-border bg-background px-2 text-xs text-foreground placeholder:text-muted-foreground w-40"})]}),0===a.length?(0,b.jsx)("p",{className:"px-4 py-8 text-xs text-muted-foreground text-center",children:"No completed items."}):(0,b.jsx)("div",{className:"overflow-x-auto",children:(0,b.jsxs)("table",{className:"w-full text-xs",children:[(0,b.jsx)("thead",{children:(0,b.jsxs)("tr",{className:"text-left text-muted-foreground border-b border-border bg-muted/30",children:[(0,b.jsx)("th",{className:"px-3 py-2 font-medium",children:"Type"}),(0,b.jsx)("th",{className:"px-3 py-2 font-medium",children:"Item"}),(0,b.jsx)("th",{className:"px-3 py-2 font-medium",children:"Session"}),(0,b.jsx)("th",{className:"px-3 py-2 font-medium",children:"Duration"}),(0,b.jsx)("th",{className:"px-3 py-2 font-medium",children:"Status"}),(0,b.jsx)("th",{className:"px-3 py-2 font-medium text-right",children:"Completed"})]})}),(0,b.jsx)("tbody",{className:"divide-y divide-border/50",children:a.map((a,c)=>(0,b.jsxs)("tr",{className:"hover:bg-muted/20",children:[(0,b.jsx)("td",{className:"px-3 py-2",children:(0,b.jsx)(r,{type:a.type})}),(0,b.jsx)("td",{className:"px-3 py-2 font-mono text-foreground",children:a.itemName}),(0,b.jsx)("td",{className:"px-3 py-2",children:(0,b.jsx)(t,{projectName:a.projectName,sessionId:a.sessionId})}),(0,b.jsx)("td",{className:"px-3 py-2 text-muted-foreground",children:function(a){if(a<1e3)return`${a}ms`;let b=(a/1e3).toFixed(1);return`${b}s`}(a.durationMs)}),(0,b.jsx)("td",{className:"px-3 py-2",children:a.success?(0,b.jsx)(g,{className:"h-3.5 w-3.5 text-green-600 dark:text-green-400"}):(0,b.jsx)(h,{className:"h-3.5 w-3.5 text-red-600 dark:text-red-400"})}),(0,b.jsx)("td",{className:"px-3 py-2 text-right text-muted-foreground",children:new Date(a.completedAt).toLocaleString(void 0,{month:"short",day:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"})})]},`${a.key}-${a.completedAt}-${c}`))})]})}),(0,b.jsx)(j.default,{currentPage:C,totalPages:e,onPageChange:D})]}))]}),w.recentErrors.length>0&&(0,b.jsxs)("section",{className:"bg-card border border-border rounded-lg p-4",children:[(0,b.jsxs)("h2",{className:"text-sm font-semibold text-foreground mb-2",children:["Recent Errors",(0,b.jsxs)("span",{className:"ml-2 text-xs font-normal text-muted-foreground",children:["(",w.recentErrors.length,")"]})]}),(0,b.jsx)("div",{className:"space-y-1",children:w.recentErrors.map((a,c)=>(0,b.jsxs)("div",{className:"text-xs bg-muted/30 rounded px-2 py-1 flex items-start gap-2",children:[(0,b.jsx)("span",{className:"font-mono text-muted-foreground shrink-0",children:a.key}),(0,b.jsx)("span",{className:"text-red-500 break-all",children:a.error}),(0,b.jsx)("span",{className:"text-muted-foreground shrink-0 ml-auto",children:q(a.at)})]},`${a.key}-${a.at}-${c}`))})]})]})]})}a.s(["default",()=>u],57730)}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=app_queue_queue-client_tsx_45f040f7._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[10815,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(38246),e=a.i(50944),f=a.i(70106);let g=(0,f.default)("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]),h=(0,f.default)("folder-open",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]),i=(0,f.default)("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]);var j=a.i(35960);let k=(0,f.default)("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]),l=(0,f.default)("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]);var m=a.i(18200),n=a.i(97895);let o=c.forwardRef(({className:a,variant:c="default",size:d="default",...e},f)=>(0,b.jsx)("button",{className:(0,n.cn)("inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none",{"bg-primary text-primary-foreground hover:bg-primary/90":"default"===c,"hover:bg-muted hover:text-muted-foreground":"ghost"===c,"border border-border bg-background hover:bg-muted":"outline"===c,"h-10 py-2 px-4":"default"===d,"h-10 w-10":"icon"===d,"h-9 px-3":"sm"===d,"h-11 px-8":"lg"===d},a),ref:f,...e}));o.displayName="Button";let p=()=>{let{theme:a,setTheme:c}=(0,m.useTheme)();return(0,b.jsxs)(o,{variant:"ghost",size:"icon",onClick:()=>{c("light"===a?"dark":"light")},className:"relative","aria-label":`Switch to ${"light"===a?"dark":"light"} mode`,children:[(0,b.jsx)(k,{className:`h-[1.2rem] w-[1.2rem] transition-all ${"light"===a?"rotate-0 scale-100":"rotate-90 scale-0"}`}),(0,b.jsx)(l,{className:`absolute h-[1.2rem] w-[1.2rem] transition-all ${"dark"===a?"rotate-0 scale-100":"rotate-90 scale-0"}`})]})},q=(0,f.default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]),r=(0,f.default)("lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]),s=(0,f.default)("bug",[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]),t=(0,f.default)("message-square",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]]);var u=a.i(5784);let v="claudeye@exosphere.host",w=[{label:"Request a Feature",icon:r,subject:"Feature Request: "},{label:"Report a Bug",icon:s,subject:"Bug Report: "},{label:"General Inquiry",icon:t,subject:"General Inquiry: "}],x=()=>{let[a,d]=(0,c.useState)(!1),e=(0,c.useRef)(null);(0,c.useEffect)(()=>{let a=a=>{e.current&&!e.current.contains(a.target)&&d(!1)};return document.addEventListener("mousedown",a),()=>document.removeEventListener("mousedown",a)},[]);let f=(0,c.useCallback)(b=>{"Escape"===b.key&&a&&d(!1)},[a]);return(0,b.jsxs)("div",{ref:e,className:"relative",onKeyDown:f,children:[(0,b.jsxs)(o,{variant:"ghost",size:"sm",onClick:()=>d(a=>!a),"aria-expanded":a,"aria-haspopup":"true",className:"flex items-center gap-1.5 text-muted-foreground hover:text-foreground",children:[(0,b.jsx)(q,{className:"h-4 w-4"}),(0,b.jsx)("span",{className:"hidden sm:inline text-xs",children:"Reach Us"}),(0,b.jsx)(u.ChevronDown,{className:`h-3 w-3 transition-transform ${a?"rotate-180":""}`})]}),a&&(0,b.jsxs)("div",{className:"absolute right-0 mt-2 w-56 rounded-lg border border-border bg-card shadow-lg z-50",role:"menu",children:[(0,b.jsxs)("div",{className:"px-3 py-2 border-b border-border",children:[(0,b.jsx)("p",{className:"text-xs font-medium text-foreground",children:"Reach Developers"}),(0,b.jsx)("p",{className:"text-[0.65rem] text-muted-foreground mt-0.5",children:"We'd love to hear from you"})]}),(0,b.jsx)("div",{className:"py-1",children:w.map(({label:a,icon:c,subject:e})=>(0,b.jsxs)("a",{href:`mailto:${v}?subject=${encodeURIComponent(e)}`,role:"menuitem",className:"flex items-center gap-2.5 px-3 py-2 text-xs text-muted-foreground hover:text-foreground hover:bg-muted/50 transition-colors",onClick:()=>d(!1),children:[(0,b.jsx)(c,{className:"h-3.5 w-3.5 flex-shrink-0"}),a]},a))}),(0,b.jsx)("div",{className:"px-3 py-2 border-t border-border",children:(0,b.jsx)("a",{href:`mailto:${v}`,className:"text-[0.65rem] text-primary hover:text-primary/80 transition-colors",children:v})})]})]})},y=(0,f.default)("list-ordered",[["path",{d:"M11 5h10",key:"1cz7ny"}],["path",{d:"M11 12h10",key:"1438ji"}],["path",{d:"M11 19h10",key:"11t30w"}],["path",{d:"M4 4h1v5",key:"10yrso"}],["path",{d:"M4 9h2",key:"r1h2o0"}],["path",{d:"M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02",key:"xtkcd5"}]]);function z({type:a}){let c="eval"===a?"bg-blue-100 text-blue-700 dark:bg-blue-900/30 dark:text-blue-400":"action"===a?"bg-amber-100 text-amber-700 dark:bg-amber-900/30 dark:text-amber-400":"bg-purple-100 text-purple-700 dark:bg-purple-900/30 dark:text-purple-400";return(0,b.jsx)("span",{className:`inline-flex items-center rounded px-1 py-0.5 text-[0.6rem] font-medium leading-none ${c}`,children:a.toUpperCase()})}let A=()=>{let[a,e]=(0,c.useState)(!1),[f,g]=(0,c.useState)(null),h=(0,c.useRef)(null),i=(0,c.useCallback)(async()=>{try{let a=await fetch("/api/queue-status",{cache:"no-store"});a.ok&&g(await a.json())}catch{}},[]);(0,c.useEffect)(()=>{let b=a?2e3:5e3,c=setTimeout(i,0),d=setInterval(i,b);return()=>{clearTimeout(c),clearInterval(d)}},[a,i]),(0,c.useEffect)(()=>{let a=a=>{h.current&&!h.current.contains(a.target)&&e(!1)};return document.addEventListener("mousedown",a),()=>document.removeEventListener("mousedown",a)},[]);let j=(0,c.useCallback)(b=>{"Escape"===b.key&&a&&e(!1)},[a]),k=f?.pending.length??0,l=f?.processing.length??0,m=k+l;return(0,b.jsxs)("div",{ref:h,className:"relative",onKeyDown:j,children:[(0,b.jsxs)(o,{variant:"ghost",size:"sm",onClick:()=>e(a=>!a),"aria-expanded":a,"aria-haspopup":"true",className:"relative flex items-center gap-1.5 text-muted-foreground hover:text-foreground",children:[(0,b.jsx)(y,{className:"h-4 w-4"}),m>0?(0,b.jsx)("span",{className:"absolute -top-1 -right-1 flex h-4 min-w-4 items-center justify-center rounded-full bg-primary px-1 text-[0.6rem] font-medium text-primary-foreground",children:m}):null]}),a&&(0,b.jsxs)("div",{className:"absolute right-0 mt-2 w-72 rounded-lg border border-border bg-card shadow-lg z-50",children:[(0,b.jsxs)("div",{className:"px-3 py-2 border-b border-border",children:[(0,b.jsx)("p",{className:"text-xs font-medium text-foreground",children:"Queue"}),f&&(0,b.jsxs)("p",{className:"text-[0.65rem] text-muted-foreground mt-0.5",children:[k," queued · ",l," processing"]})]}),(0,b.jsx)("div",{className:"max-h-64 overflow-y-auto",children:f?0===f.processing.length&&0===f.pending.length?(0,b.jsx)("p",{className:"px-3 py-4 text-xs text-muted-foreground text-center",children:"Queue is empty"}):(0,b.jsxs)("div",{className:"py-1",children:[f.processing.slice(0,7).map(a=>(0,b.jsxs)("div",{className:"flex items-center gap-2 px-3 py-1.5 text-xs",children:[(0,b.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-blue-500 animate-pulse flex-shrink-0"}),(0,b.jsx)(z,{type:a.type}),(0,b.jsx)("span",{className:"text-foreground truncate flex-1 font-mono text-[0.65rem]",children:a.itemName})]},a.key)),f.processing.length>7&&(0,b.jsxs)("p",{className:"px-3 py-1 text-[0.6rem] text-muted-foreground",children:["...and ",f.processing.length-7," more"]}),f.pending.slice(0,5).map(a=>(0,b.jsxs)("div",{className:"flex items-center gap-2 px-3 py-1.5 text-xs",children:[(0,b.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-muted-foreground/40 flex-shrink-0"}),(0,b.jsx)(z,{type:a.type}),(0,b.jsx)("span",{className:"text-muted-foreground truncate flex-1 font-mono text-[0.65rem]",children:a.itemName}),(0,b.jsx)("span",{className:`text-[0.6rem] font-medium flex-shrink-0 ${a.priority<=0?"text-red-600 dark:text-red-400":"text-muted-foreground"}`,children:a.priority<=0?"HIGH":"LOW"})]},a.key)),f.pending.length>5&&(0,b.jsxs)("p",{className:"px-3 py-1 text-[0.6rem] text-muted-foreground",children:["...and ",f.pending.length-5," more queued"]})]}):(0,b.jsx)("p",{className:"px-3 py-4 text-xs text-muted-foreground text-center",children:"Loading..."})}),f&&f.recentErrors.length>0&&(0,b.jsx)("div",{className:"px-3 py-2 border-t border-border",children:(0,b.jsxs)("p",{className:"text-[0.6rem] text-red-600 dark:text-red-400",children:[f.recentErrors.length," recent error",1!==f.recentErrors.length?"s":""]})}),(0,b.jsx)("div",{className:"px-3 py-2 border-t border-border text-center",children:(0,b.jsx)(d.default,{href:"/queue",className:"text-xs text-muted-foreground hover:text-foreground transition-colors",onClick:()=>e(!1),children:"View details"})})]})]})};var B=a.i(69520),C=a.i(6236);let D=[{label:"Off",value:0},{label:"5s",value:5},{label:"10s",value:10},{label:"30s",value:30}];function E({className:a}){let d=(0,e.useRouter)(),[f,g]=(0,c.useTransition)(),{intervalSec:h,setIntervalSec:i}=(0,C.useAutoRefresh)(),j=(0,c.useCallback)(()=>{g(()=>d.refresh())},[d]);(0,c.useEffect)(()=>{if(h<=0)return;let a=setInterval(j,1e3*h);return()=>clearInterval(a)},[h,j]);let k=h>0;return(0,b.jsxs)("div",{className:(0,n.cn)("inline-flex items-center rounded-lg border border-border bg-muted/50 p-0.5 gap-0.5",a),children:[(0,b.jsx)("button",{onClick:j,title:"Refresh",className:(0,n.cn)("inline-flex items-center justify-center rounded-md p-1.5 transition-colors",k?"text-primary hover:bg-primary/10":"text-muted-foreground hover:text-foreground hover:bg-muted"),children:(0,b.jsx)(B.RefreshCw,{className:(0,n.cn)("w-3.5 h-3.5",f&&"animate-spin")})}),(0,b.jsx)("div",{className:"w-px h-4 bg-border"}),(0,b.jsx)("div",{className:"inline-flex items-center gap-0.5",role:"group","aria-label":"Auto-refresh interval",children:D.map(a=>(0,b.jsx)("button",{onClick:()=>i(a.value),"aria-pressed":h===a.value,className:(0,n.cn)("px-2 py-1 text-[11px] font-medium rounded-md transition-colors",h===a.value?"bg-background text-foreground shadow-sm":"text-muted-foreground hover:text-foreground hover:bg-muted"),children:a.label},a.value))})]})}var F=a.i(5050);let G=(0,F.createServerReference)("0097de3228771cc6408bfa3d18c8ce049a9cee684a",F.callServer,void 0,F.findSourceMapURL,"logout"),H=[{href:"/",label:"Projects",icon:h},{href:"/dashboard",label:"Dashboard",icon:g}];a.s(["Navbar",0,()=>{let a=(0,e.usePathname)(),f=(0,e.useRouter)(),[g,h]=(0,c.useState)(!1);async function k(){let a=await G();h(!1),f.push(a.redirectTo)}return(0,c.useEffect)(()=>{h(document.cookie.split(";").map(a=>a.trim()).some(a=>a.startsWith("claudeye_auth=")))},[a]),(0,b.jsx)("header",{className:"relative z-50 border-b border-border bg-card/50 backdrop-blur supports-[backdrop-filter]:bg-card/50",children:(0,b.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,b.jsxs)("div",{className:"flex items-center justify-between h-16",children:[(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsxs)("a",{href:"https://claudeye.exosphere.host",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-3 hover:opacity-80 transition-opacity",children:[(0,b.jsx)(j.Logo,{width:28,height:28,className:"flex-shrink-0"}),(0,b.jsx)("h1",{className:"text-lg font-semibold text-foreground leading-tight tracking-tight",children:"Claudeye"})]}),(0,b.jsx)("div",{className:"w-px h-8 bg-border ml-2"}),(0,b.jsx)("nav",{className:"flex items-center h-16",children:H.map(({href:c,label:e,icon:f})=>{let g="/"===c?"/"===a||a.startsWith("/project"):a.startsWith(c);return(0,b.jsxs)(d.default,{href:c,className:`relative flex items-center gap-1.5 px-3 h-full text-sm transition-colors ${g?"text-foreground font-medium":"text-muted-foreground hover:text-foreground"}`,children:[(0,b.jsx)(f,{className:`w-4 h-4 ${g?"text-primary":""}`}),e,(0,b.jsx)("span",{className:`absolute inset-x-1 bottom-0 h-[2px] rounded-full transition-all ${g?"bg-primary":"bg-transparent group-hover:bg-muted"}`})]},c)})})]}),(0,b.jsxs)("div",{className:"flex items-center gap-1",children:[(0,b.jsx)(E,{}),(0,b.jsx)("div",{className:"w-px h-6 bg-border mx-1"}),(0,b.jsx)(x,{}),(0,b.jsx)(p,{}),(0,b.jsx)(A,{}),g&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("div",{className:"w-px h-6 bg-border mx-1"}),(0,b.jsxs)("button",{onClick:k,className:"inline-flex items-center gap-1.5 rounded-md px-2.5 py-1.5 text-sm text-muted-foreground hover:text-foreground hover:bg-muted transition-colors",title:"Sign out",children:[(0,b.jsx)(i,{className:"w-4 h-4"}),(0,b.jsx)("span",{className:"hidden sm:inline",children:"Sign out"})]})]})]})]})})})}],10815)}];
|
|
1
|
+
module.exports=[10815,a=>{"use strict";var b=a.i(87924),c=a.i(72131),d=a.i(38246),e=a.i(50944),f=a.i(70106);let g=(0,f.default)("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]),h=(0,f.default)("folder-open",[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]]),i=(0,f.default)("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]);var j=a.i(35960);let k=(0,f.default)("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]),l=(0,f.default)("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]);var m=a.i(18200),n=a.i(97895);let o=c.forwardRef(({className:a,variant:c="default",size:d="default",...e},f)=>(0,b.jsx)("button",{className:(0,n.cn)("inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none",{"bg-primary text-primary-foreground hover:bg-primary/90":"default"===c,"hover:bg-muted hover:text-muted-foreground":"ghost"===c,"border border-border bg-background hover:bg-muted":"outline"===c,"h-10 py-2 px-4":"default"===d,"h-10 w-10":"icon"===d,"h-9 px-3":"sm"===d,"h-11 px-8":"lg"===d},a),ref:f,...e}));o.displayName="Button";let p=()=>{let{theme:a,setTheme:c}=(0,m.useTheme)();return(0,b.jsxs)(o,{variant:"ghost",size:"icon",onClick:()=>{c("light"===a?"dark":"light")},className:"relative","aria-label":`Switch to ${"light"===a?"dark":"light"} mode`,children:[(0,b.jsx)(k,{className:`h-[1.2rem] w-[1.2rem] transition-all ${"light"===a?"rotate-0 scale-100":"rotate-90 scale-0"}`}),(0,b.jsx)(l,{className:`absolute h-[1.2rem] w-[1.2rem] transition-all ${"dark"===a?"rotate-0 scale-100":"rotate-90 scale-0"}`})]})},q=(0,f.default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]),r=(0,f.default)("lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]),s=(0,f.default)("bug",[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]]),t=(0,f.default)("message-square",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]]);var u=a.i(5784);let v="claudeye@exosphere.host",w=[{label:"Request a Feature",icon:r,subject:"Feature Request: "},{label:"Report a Bug",icon:s,subject:"Bug Report: "},{label:"General Inquiry",icon:t,subject:"General Inquiry: "}],x=()=>{let[a,d]=(0,c.useState)(!1),e=(0,c.useRef)(null);(0,c.useEffect)(()=>{let a=a=>{e.current&&!e.current.contains(a.target)&&d(!1)};return document.addEventListener("mousedown",a),()=>document.removeEventListener("mousedown",a)},[]);let f=(0,c.useCallback)(b=>{"Escape"===b.key&&a&&d(!1)},[a]);return(0,b.jsxs)("div",{ref:e,className:"relative",onKeyDown:f,children:[(0,b.jsxs)(o,{variant:"ghost",size:"sm",onClick:()=>d(a=>!a),"aria-expanded":a,"aria-haspopup":"true",className:"flex items-center gap-1.5 text-muted-foreground hover:text-foreground",children:[(0,b.jsx)(q,{className:"h-4 w-4"}),(0,b.jsx)("span",{className:"hidden sm:inline text-xs",children:"Reach Us"}),(0,b.jsx)(u.ChevronDown,{className:`h-3 w-3 transition-transform ${a?"rotate-180":""}`})]}),a&&(0,b.jsxs)("div",{className:"absolute right-0 mt-2 w-56 rounded-lg border border-border bg-card shadow-lg z-50",role:"menu",children:[(0,b.jsxs)("div",{className:"px-3 py-2 border-b border-border",children:[(0,b.jsx)("p",{className:"text-xs font-medium text-foreground",children:"Reach Developers"}),(0,b.jsx)("p",{className:"text-[0.65rem] text-muted-foreground mt-0.5",children:"We'd love to hear from you"})]}),(0,b.jsx)("div",{className:"py-1",children:w.map(({label:a,icon:c,subject:e})=>(0,b.jsxs)("a",{href:`mailto:${v}?subject=${encodeURIComponent(e)}`,role:"menuitem",className:"flex items-center gap-2.5 px-3 py-2 text-xs text-muted-foreground hover:text-foreground hover:bg-muted/50 transition-colors",onClick:()=>d(!1),children:[(0,b.jsx)(c,{className:"h-3.5 w-3.5 flex-shrink-0"}),a]},a))}),(0,b.jsx)("div",{className:"px-3 py-2 border-t border-border",children:(0,b.jsx)("a",{href:`mailto:${v}`,className:"text-[0.65rem] text-primary hover:text-primary/80 transition-colors",children:v})})]})]})},y=(0,f.default)("list-ordered",[["path",{d:"M11 5h10",key:"1cz7ny"}],["path",{d:"M11 12h10",key:"1438ji"}],["path",{d:"M11 19h10",key:"11t30w"}],["path",{d:"M4 4h1v5",key:"10yrso"}],["path",{d:"M4 9h2",key:"r1h2o0"}],["path",{d:"M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02",key:"xtkcd5"}]]);function z({type:a}){let c="eval"===a?"bg-blue-100 text-blue-700 dark:bg-blue-900/30 dark:text-blue-400":"action"===a?"bg-amber-100 text-amber-700 dark:bg-amber-900/30 dark:text-amber-400":"bg-purple-100 text-purple-700 dark:bg-purple-900/30 dark:text-purple-400";return(0,b.jsx)("span",{className:`inline-flex items-center rounded px-1 py-0.5 text-[0.6rem] font-medium leading-none ${c}`,children:a.toUpperCase()})}let A=()=>{let[a,e]=(0,c.useState)(!1),[f,g]=(0,c.useState)(null),h=(0,c.useRef)(null),i=(0,c.useCallback)(async()=>{try{let a=await fetch("/api/queue-status",{cache:"no-store"});a.ok&&g(await a.json())}catch{}},[]);(0,c.useEffect)(()=>{let b=a?2e3:5e3,c=setTimeout(i,0),d=setInterval(i,b);return()=>{clearTimeout(c),clearInterval(d)}},[a,i]),(0,c.useEffect)(()=>{let a=a=>{h.current&&!h.current.contains(a.target)&&e(!1)};return document.addEventListener("mousedown",a),()=>document.removeEventListener("mousedown",a)},[]);let j=(0,c.useCallback)(b=>{"Escape"===b.key&&a&&e(!1)},[a]),k=f?.pending.length??0,l=f?.processing.length??0,m=k+l;return(0,b.jsxs)("div",{ref:h,className:"relative",onKeyDown:j,children:[(0,b.jsxs)(o,{variant:"ghost",size:"sm",onClick:()=>e(a=>!a),"aria-expanded":a,"aria-haspopup":"true",className:"relative flex items-center gap-1.5 text-muted-foreground hover:text-foreground",children:[(0,b.jsx)(y,{className:"h-4 w-4"}),m>0?(0,b.jsx)("span",{className:"absolute -top-1 -right-1 flex h-4 min-w-4 items-center justify-center rounded-full bg-primary px-1 text-[0.6rem] font-medium text-primary-foreground",children:m}):null]}),a&&(0,b.jsxs)("div",{className:"absolute right-0 mt-2 w-72 rounded-lg border border-border bg-card shadow-lg z-50",children:[(0,b.jsxs)("div",{className:"px-3 py-2 border-b border-border",children:[(0,b.jsx)("p",{className:"text-xs font-medium text-foreground",children:"Queue"}),f&&(0,b.jsxs)("p",{className:"text-[0.65rem] text-muted-foreground mt-0.5",children:[k," queued · ",l," processing"]})]}),(0,b.jsx)("div",{className:"max-h-64 overflow-y-auto",children:f?0===f.processing.length&&0===f.pending.length?(0,b.jsx)("p",{className:"px-3 py-4 text-xs text-muted-foreground text-center",children:"Queue is empty"}):(0,b.jsxs)("div",{className:"py-1",children:[f.processing.slice(0,7).map(a=>(0,b.jsxs)("div",{className:"flex items-center gap-2 px-3 py-1.5 text-xs",children:[(0,b.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-blue-500 animate-pulse flex-shrink-0"}),(0,b.jsx)(z,{type:a.type}),(0,b.jsx)("span",{className:"text-foreground truncate flex-1 font-mono text-[0.65rem]",children:a.itemName})]},a.key)),f.processing.length>7&&(0,b.jsxs)("p",{className:"px-3 py-1 text-[0.6rem] text-muted-foreground",children:["...and ",f.processing.length-7," more"]}),f.pending.slice(0,5).map(a=>(0,b.jsxs)("div",{className:"flex items-center gap-2 px-3 py-1.5 text-xs",children:[(0,b.jsx)("span",{className:"h-1.5 w-1.5 rounded-full bg-muted-foreground/40 flex-shrink-0"}),(0,b.jsx)(z,{type:a.type}),(0,b.jsx)("span",{className:"text-muted-foreground truncate flex-1 font-mono text-[0.65rem]",children:a.itemName}),(0,b.jsx)("span",{className:`text-[0.6rem] font-medium flex-shrink-0 ${a.priority<=0?"text-red-600 dark:text-red-400":"text-muted-foreground"}`,children:a.priority<=0?"HIGH":"LOW"})]},a.key)),f.pending.length>5&&(0,b.jsxs)("p",{className:"px-3 py-1 text-[0.6rem] text-muted-foreground",children:["...and ",f.pending.length-5," more queued"]})]}):(0,b.jsx)("p",{className:"px-3 py-4 text-xs text-muted-foreground text-center",children:"Loading..."})}),f&&f.recentErrors.length>0&&(0,b.jsx)("div",{className:"px-3 py-2 border-t border-border",children:(0,b.jsxs)("p",{className:"text-[0.6rem] text-red-600 dark:text-red-400",children:[f.recentErrors.length," recent error",1!==f.recentErrors.length?"s":""]})}),(0,b.jsx)("div",{className:"px-3 py-2 border-t border-border text-center",children:(0,b.jsx)(d.default,{href:"/queue",className:"text-xs text-muted-foreground hover:text-foreground transition-colors",onClick:()=>e(!1),children:"View details"})})]})]})};var B=a.i(69520),C=a.i(6236);let D=[{label:"Off",value:0},{label:"5s",value:5},{label:"10s",value:10},{label:"30s",value:30}];function E({className:a}){let d=(0,e.useRouter)(),[f,g]=(0,c.useTransition)(),{intervalSec:h,setIntervalSec:i}=(0,C.useAutoRefresh)(),j=(0,c.useCallback)(()=>{g(()=>d.refresh())},[d]);(0,c.useEffect)(()=>{if(h<=0)return;let a=setInterval(j,1e3*h);return()=>clearInterval(a)},[h,j]);let k=h>0;return(0,b.jsxs)("div",{className:(0,n.cn)("inline-flex items-center rounded-lg border border-border bg-muted/50 p-0.5 gap-0.5",a),children:[(0,b.jsx)("button",{onClick:j,title:"Refresh",className:(0,n.cn)("inline-flex items-center justify-center rounded-md p-1.5 transition-colors",k?"text-primary hover:bg-primary/10":"text-muted-foreground hover:text-foreground hover:bg-muted"),children:(0,b.jsx)(B.RefreshCw,{className:(0,n.cn)("w-3.5 h-3.5",f&&"animate-spin")})}),(0,b.jsx)("div",{className:"w-px h-4 bg-border"}),(0,b.jsx)("div",{className:"inline-flex items-center gap-0.5",role:"group","aria-label":"Auto-refresh interval",children:D.map(a=>(0,b.jsx)("button",{onClick:()=>i(a.value),"aria-pressed":h===a.value,className:(0,n.cn)("px-2 py-1 text-[11px] font-medium rounded-md transition-colors",h===a.value?"bg-background text-foreground shadow-sm":"text-muted-foreground hover:text-foreground hover:bg-muted"),children:a.label},a.value))})]})}var F=a.i(5050);let G=(0,F.createServerReference)("0061ef7c40315bae9fcb16fc3fc546b78f90ff7c35",F.callServer,void 0,F.findSourceMapURL,"logout"),H=[{href:"/",label:"Projects",icon:h},{href:"/dashboard",label:"Dashboard",icon:g}];a.s(["Navbar",0,()=>{let a=(0,e.usePathname)(),f=(0,e.useRouter)(),[g,h]=(0,c.useState)(!1);async function k(){let a=await G();h(!1),f.push(a.redirectTo)}return(0,c.useEffect)(()=>{h(document.cookie.split(";").map(a=>a.trim()).some(a=>a.startsWith("claudeye_auth=")))},[a]),(0,b.jsx)("header",{className:"relative z-50 border-b border-border bg-card/50 backdrop-blur supports-[backdrop-filter]:bg-card/50",children:(0,b.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,b.jsxs)("div",{className:"flex items-center justify-between h-16",children:[(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsxs)("a",{href:"https://claudeye.exosphere.host",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-3 hover:opacity-80 transition-opacity",children:[(0,b.jsx)(j.Logo,{width:28,height:28,className:"flex-shrink-0"}),(0,b.jsx)("h1",{className:"text-lg font-semibold text-foreground leading-tight tracking-tight",children:"Claudeye"})]}),(0,b.jsx)("div",{className:"w-px h-8 bg-border ml-2"}),(0,b.jsx)("nav",{className:"flex items-center h-16",children:H.map(({href:c,label:e,icon:f})=>{let g="/"===c?"/"===a||a.startsWith("/project"):a.startsWith(c);return(0,b.jsxs)(d.default,{href:c,className:`relative flex items-center gap-1.5 px-3 h-full text-sm transition-colors ${g?"text-foreground font-medium":"text-muted-foreground hover:text-foreground"}`,children:[(0,b.jsx)(f,{className:`w-4 h-4 ${g?"text-primary":""}`}),e,(0,b.jsx)("span",{className:`absolute inset-x-1 bottom-0 h-[2px] rounded-full transition-all ${g?"bg-primary":"bg-transparent group-hover:bg-muted"}`})]},c)})})]}),(0,b.jsxs)("div",{className:"flex items-center gap-1",children:[(0,b.jsx)(E,{}),(0,b.jsx)("div",{className:"w-px h-6 bg-border mx-1"}),(0,b.jsx)(x,{}),(0,b.jsx)(p,{}),(0,b.jsx)(A,{}),g&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("div",{className:"w-px h-6 bg-border mx-1"}),(0,b.jsxs)("button",{onClick:k,className:"inline-flex items-center gap-1.5 rounded-md px-2.5 py-1.5 text-sm text-muted-foreground hover:text-foreground hover:bg-muted transition-colors",title:"Sign out",children:[(0,b.jsx)(i,{className:"w-4 h-4"}),(0,b.jsx)("span",{className:"hidden sm:inline",children:"Sign out"})]})]})]})]})})})}],10815)}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=components_navbar_tsx_e9e361f1._.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
module.exports=[83590,a=>{"use strict";var b=a.i(54799),c=a.i(62733),d=a.i(70467),e=a.i(46325);let f="__CLAUDEYE_ALERT_REGISTRY__";function g(){let a=globalThis;return a[f]||(a[f]=[]),a[f]}function h(){return g().length>0}async function i(a,b=!1){if(!h())return;let c=g().filter(a=>!b||!a.suppressOnRecompute);await Promise.allSettled(c.map(async b=>{try{await b.fn(a)}catch(a){console.error(`[alert] Error in alert "${b.name}":`,a instanceof Error?a.message:a)}}))}a.i(651);var j=a.i(46721),k=a.i(70427),l=a.i(83397),m=a.i(61542),n=a.i(69191),o=a.i(26192),p=a.i(76668),q=a.i(24868),r=a.i(14747),s=a.i(46786);let t=(0,r.join)((0,s.homedir)(),".claudeye","cache","completed-history"),u="current.jsonl",v=[],w=null,x=0,y=!1,z=!1,A=Promise.resolve(),B=0;async function C(){z||(await (0,q.mkdir)(t,{recursive:!0}),z=!0)}function D(a){if(a){w&&(clearTimeout(w),w=null),E();return}w||(w=setTimeout(()=>{w=null,E()},2e3))}function E(){A=A.then(()=>G()).catch(a=>{(0,p.logWarn)("completed-store flush error:",a instanceof Error?a.message:a)})}function F(){w&&(clearTimeout(w),w=null),0!==v.length&&(A=A.then(()=>G()).catch(a=>{(0,p.logWarn)("completed-store flushNow error:",a instanceof Error?a.message:a)}))}async function G(){if(0===v.length)return;await C(),y||(x=await J((0,r.join)(t,u)),y=!0);let a=v.splice(0),b=(0,r.join)(t,u),c=0;try{for(;c<a.length;){x>=25&&await H();let d=25-x;if(d<=0)throw Error("completed-store: zero remaining after rotate — aborting to prevent infinite loop");let e=a.slice(c,c+d),f=e.map(a=>JSON.stringify(a)).join("\n")+"\n";await I(b,f),x+=e.length,c+=e.length,x>=25&&await H()}}catch(d){let b=a.slice(c);throw b.length>0&&v.unshift(...b),d}}async function H(){let a=(0,r.join)(t,u),b=`page-${Date.now()}-${B++}.jsonl`,c=(0,r.join)(t,b);await (0,q.rename)(a,c),x=0}async function I(a,b){let c=await (0,q.readFile)(a,"utf-8").catch(()=>"");await (0,q.writeFile)(a,c+b,"utf-8")}async function J(a){try{let b=await (0,q.readFile)(a,"utf-8");if(!b.trim())return 0;return b.trim().split("\n").length}catch{return 0}}async function K(a){if(await A,await C(),a<1)return[];if(1===a){let a=(0,r.join)(t,u);return(await N(a)).reverse()}let b=await O(),c=a-2;return c>=b.length?[]:(await N((0,r.join)(t,b[c]))).reverse()}async function L(){return await C(),1+(await O()).length}async function M(){await A,await C();let a=(0,r.join)(t,u),b=(await N(a)).reverse(),c=await O(),d=[];for(let a of c){let b=await N((0,r.join)(t,a));d.push(...b.reverse())}return[...b,...d]}async function N(a){try{let b=await (0,q.readFile)(a,"utf-8");if(!b.trim())return[];let c=[];for(let a of b.trim().split("\n"))try{c.push(JSON.parse(a))}catch{}return c}catch{return[]}}async function O(){try{return(await (0,q.readdir)(t)).filter(a=>a.startsWith("page-")&&a.endsWith(".jsonl")).sort((a,b)=>{let c=a.slice(5,-6).split("-"),d=b.slice(5,-6).split("-"),e=parseInt(c[0],10),f=parseInt(d[0],10);if(e!==f)return f-e;let g=c.length>1?parseInt(c[1],10):0;return(d.length>1?parseInt(d[1],10):0)-g})}catch{return[]}}let P={HIGH:0,LOW:10},Q=P.HIGH,R=P.LOW;function S(a){return a<=P.HIGH?"HIGH":"LOW"}let T="__CLAUDEYE_QUEUE__";function U(){let a=globalThis;return a[T]||(a[T]={pending:[],pendingExecutors:new Map,processing:new Map,promises:new Map,completed:[],activeWorkers:0,scannedAt:0,intervalId:null,errors:[]}),a[T]}let V=()=>parseInt(process.env.CLAUDEYE_QUEUE_CONCURRENCY??"2",10)||2;async function W(a,f){try{if(!h())return;await (0,c.ensureEvalsLoaded)();let l=await (0,j.hashSessionFile)(a,f);if(!l)return;let m=(0,d.getSessionScopedEvals)(),n=(0,e.getSessionScopedEnrichers)(),[o,p]=await Promise.all([Promise.all(m.map(b=>(0,k.getPerItemCache)("evals",a,f,b.name,(0,j.hashItemCode)(b.fn),l))),Promise.all(n.map(b=>(0,k.getPerItemCache)("enrichments",a,f,b.name,(0,j.hashItemCode)(b.fn),l)))]);if(o.some(a=>!a)||p.some(a=>!a))return;let q=g().map(a=>a.name).sort().join(","),r=(0,b.createHash)("sha256").update(q).digest("hex"),s=await (0,k.getPerItemCache)("alerts",a,f,"__fired__",r,l);if(s&&s.value.firedAt>0)return;let t=o.map(a=>a.value),u=p.map(a=>a.value),v=t.length>0?{results:t,totalDurationMs:t.reduce((a,b)=>a+b.durationMs,0),passCount:t.filter(a=>!a.error&&!a.skipped&&a.pass).length,failCount:t.filter(a=>!a.error&&!a.skipped&&!a.pass).length,errorCount:t.filter(a=>!!a.error).length,skippedCount:t.filter(a=>!!a.skipped).length}:void 0,w=u.length>0?{results:u,totalDurationMs:u.reduce((a,b)=>a+b.durationMs,0),errorCount:u.filter(a=>!!a.error).length,skippedCount:u.filter(a=>!!a.skipped).length}:void 0,x=Y.get(`${a}/${f}`)??!1;Y.delete(`${a}/${f}`),await i({projectName:a,sessionId:f,evalSummary:v,enrichSummary:w},x);try{await (0,k.setPerItemCache)("alerts",a,f,"__fired__",r,{firedAt:Date.now()},l)}catch{}}catch(a){(0,p.logError)("tryFireSessionAlerts error:",a instanceof Error?a.message:a)}}let X=new Map,Y=new Map;async function Z(a,c){try{let d=await (0,j.hashSessionFile)(a,c);if(!d)return;let e=g().map(a=>a.name).sort().join(","),f=(0,b.createHash)("sha256").update(e).digest("hex");await (0,k.setPerItemCache)("alerts",a,c,"__fired__",f,{firedAt:0},d)}catch{}}function $(a,b,c,d,e,f){let g=U(),h=`${a}:${b}/${c}/${d}`,i=f?.priority??P.HIGH,j=f?.forceRefresh??!1,k=V(),l=g.promises.get(h);if(l&&!j){let a=g.pending.find(a=>a.key===h);return a&&i<a.priority&&(a.priority=i,g.pending.sort((a,b)=>a.priority-b.priority||a.addedAt-b.addedAt)),l}if(l&&j){let f=l.catch(()=>{}).then(()=>$(a,b,c,d,e,{priority:i}));return g.promises.set(h,f),f}let m=()=>{let f,j,k;g.activeWorkers++,g.processing.set(h,{key:h,type:a,projectName:b,sessionId:c,itemName:d,priority:i,startedAt:Date.now()});let l=Date.now(),m=new Promise((a,b)=>{f=a,j=b});m.catch(()=>{}),g.promises.set(h,m);let n=(e,f)=>{g.activeWorkers--,g.processing.delete(h),g.promises.delete(h),function(a){if(!a.completed){a.completed=[];return}a.completed.length>200&&(a.completed=a.completed.slice(0,200))}(g);let i={key:h,type:a,projectName:b,sessionId:c,itemName:d,completedAt:Date.now(),durationMs:Date.now()-l,success:e,error:f};if(g.completed.unshift(i),v.push(i),v.length>=20?D(!0):D(!1),!e&&f&&(g.errors.push({key:h,error:f,at:Date.now()}),g.errors.length>50&&(g.errors=g.errors.slice(-50))),e&&("eval"===a||"enrichment"===a)){let a,d,e=c.includes("/")?c.split("/")[0]:c;!function(a,b){let c=U(),d=a=>a===b||a.startsWith(`${b}/`);if(c.pending.some(b=>("eval"===b.type||"enrichment"===b.type)&&b.projectName===a&&d(b.sessionId)))return!0;for(let[,b]of c.processing)if(("eval"===b.type||"enrichment"===b.type)&&b.projectName===a&&d(b.sessionId))return!0;return!1}(b,e)&&(a=`${b}/${e}`,(d=X.get(a))&&clearTimeout(d),X.set(a,setTimeout(()=>{X.delete(a),W(b,e).catch(a=>{(0,p.logWarn)(`Alert firing failed for ${b}/${e}:`,a instanceof Error?a.message:a)})},500)))}let j=U(),k=V();for(;j.activeWorkers<k&&j.pending.length>0;){let a=j.pending.shift(),b=j.pendingExecutors.get(a.key);j.pendingExecutors.delete(a.key),b&&b()}};try{k=e().then(a=>(n(!0),a),a=>{throw n(!1,a instanceof Error?a.message:String(a)),a})}catch(a){n(!1,a instanceof Error?a.message:String(a)),k=Promise.reject(a)}return g.promises.set(h,k),k.then(f,j),k};if(g.activeWorkers<k)return m();let n=new Promise((f,j)=>{!function(a,b){let c=0,d=a.length;for(;c<d;){let e=c+d>>>1;0>=(a[e].priority-b.priority||a[e].addedAt-b.addedAt)?c=e+1:d=e}a.splice(c,0,b)}(g.pending,{key:h,type:a,projectName:b,sessionId:c,itemName:d,priority:i,addedAt:Date.now(),task:e}),g.pendingExecutors.set(h,()=>{m().then(f,j)})});return g.promises.set(h,n),n}function _(){let a=U();return{pending:a.pending.map(a=>({key:a.key,type:a.type,projectName:a.projectName,sessionId:a.sessionId,itemName:a.itemName,priority:a.priority,priorityLabel:S(a.priority),addedAt:a.addedAt})),processing:Array.from(a.processing.values()),completed:a.completed,scannedAt:a.scannedAt,backgroundRunning:null!==a.intervalId,recentErrors:a.errors.slice(-10)}}async function aa(){try{let b;if(await (0,c.ensureEvalsLoaded)(),!((0,d.hasEvals)()||(0,e.hasEnrichers)()))return void(0,p.logInfo)("Scan skipped: no evals or enrichers registered");U().scannedAt=Date.now();let f=(0,d.getSessionScopedEvals)(),g=(0,e.getSessionScopedEnrichers)();(0,p.logInfo)(`Scan starting: ${f.length} eval(s), ${g.length} enricher(s)`);let h=await (0,n.getCachedProjectFolders)(),i=await (0,o.batchAll)(h.map(a=>async()=>{let b=await (0,n.getCachedSessionFiles)(a.path);return{project:a,sessionFiles:b}}),10),q=[];for(let a of i)if("fulfilled"===a.status)for(let b of a.value.sessionFiles)b.sessionId&&q.push({projectName:a.value.project.name,sessionId:b.sessionId,lastModified:b.lastModified.getTime()});(0,p.logInfo)(`Discovered ${q.length} session(s) across ${h.length} project(s)`),q.sort((a,b)=>b.lastModified-a.lastModified);let r=(b=parseInt(process.env.CLAUDEYE_QUEUE_MAX_ITEMS??"500",10),Number.isNaN(b)?500:b),{processSessionEval:s}=await a.A(978),{processSessionEnrichment:t}=await a.A(74398),u=globalThis.__CLAUDEYE_QUEUE_CONDITION_REGISTRY__??null,v=u?.fn??null,w=u?.cacheable??!1,x=v?(0,j.hashItemCode)(v):null,y=f.map(a=>(0,j.hashItemCode)(a.fn)),z=g.map(a=>(0,j.hashItemCode)(a.fn)),A=0,B=0,C=0,D=0,E=0;for(let a=0;a<q.length;a+=5){if(r>0&&A>=r){let b=q.length-a;(0,p.logInfo)(`Reached maxItems limit (${r}), stopping scan (${b} sessions remaining)`);break}let b=q.slice(a,a+5);for(let a of(await (0,o.batchAll)(b.map(a=>async()=>{let b;if(r>0&&A>=r)return{picked:!1};try{b=await (0,j.hashSessionFile)(a.projectName,a.sessionId)}catch(b){return(0,p.logWarn)(`Hash failed for ${a.projectName}/${a.sessionId}, skipping:`,b instanceof Error?b.message:b),{picked:!1,skipReason:"hash"}}if(v&&x)if(w){let c=await (0,k.getConditionCache)(a.projectName,a.sessionId,x,b);if(null!==c){if(!c.result)return(0,p.logInfo)(`Session ${a.projectName}/${a.sessionId} skipped: queue condition cached false`),{picked:!1,skipReason:"condition"}}else{let{entries:c,rawLines:d}=await (0,l.getCachedSessionLog)(a.projectName,a.sessionId),e=(0,m.calculateLogStats)(c),f={entries:d,stats:e,projectName:a.projectName,sessionId:a.sessionId,source:"session"},g=!1;try{g=await v(f)}catch{g=!1}if((0,k.setConditionCache)(a.projectName,a.sessionId,x,g,b).catch(b=>{(0,p.logWarn)(`Condition cache write failed for ${a.projectName}/${a.sessionId}:`,b instanceof Error?b.message:b)}),!g)return(0,p.logInfo)(`Session ${a.projectName}/${a.sessionId} skipped: queue condition returned false`),{picked:!1,skipReason:"condition"}}}else{let{entries:b,rawLines:c}=await (0,l.getCachedSessionLog)(a.projectName,a.sessionId),d=(0,m.calculateLogStats)(b),e={entries:c,stats:d,projectName:a.projectName,sessionId:a.sessionId,source:"session"},f=!1;try{f=await v(e)}catch{f=!1}if(!f)return(0,p.logInfo)(`Session ${a.projectName}/${a.sessionId} skipped: queue condition returned false`),{picked:!1,skipReason:"condition"}}let c=await Promise.all([...f.map((c,d)=>(0,k.getPerItemCache)("evals",a.projectName,a.sessionId,f[d].name,y[d],b).then(a=>({cached:!!a,type:"eval",idx:d}))),...g.map((c,d)=>(0,k.getPerItemCache)("enrichments",a.projectName,a.sessionId,g[d].name,z[d],b).then(a=>({cached:!!a,type:"enrichment",idx:d})))]),d=c.filter(a=>!a.cached),e=!1;if(d.length>0){let c=(await Promise.all(d.map(b=>{let c="eval"===b.type?"evals":"enrichments",d="eval"===b.type?f[b.idx].name:g[b.idx].name;return(0,k.getPerItemCacheMeta)(c,a.projectName,a.sessionId,d)}))).every(a=>!!a&&a.contentHash===b),h=a.sessionId.includes("/")?a.sessionId.split("/")[0]:a.sessionId;for(let b of(Y.set(`${a.projectName}/${h}`,c),d)){if(r>0&&A>=r)break;"eval"===b.type?$("eval",a.projectName,a.sessionId,f[b.idx].name,()=>s(a.projectName,a.sessionId,f[b.idx].name),{priority:P.LOW}).catch(a=>{(0,p.logWarn)(`Background eval enqueue failed for ${f[b.idx].name}:`,a instanceof Error?a.message:a)}):$("enrichment",a.projectName,a.sessionId,g[b.idx].name,()=>t(a.projectName,a.sessionId,g[b.idx].name),{priority:P.LOW}).catch(a=>{(0,p.logWarn)(`Background enrichment enqueue failed for ${g[b.idx].name}:`,a instanceof Error?a.message:a)}),A++,e=!0}}if(e){let b=c.filter(a=>!a.cached).map(a=>"eval"===a.type?`eval:${f[a.idx].name}`:`enrichment:${g[a.idx].name}`),d=c.filter(a=>a.cached).map(a=>"eval"===a.type?`eval:${f[a.idx].name}`:`enrichment:${g[a.idx].name}`);(0,p.logInfo)(`Session ${a.projectName}/${a.sessionId} picked: ${b.length} uncached (${b.join(", ")}), ${d.length} cached (${d.join(", ")})`)}else(0,p.logInfo)(`Session ${a.projectName}/${a.sessionId} skipped: all items cached`);return{picked:e,skipReason:e?void 0:"cached"}}),5)))"fulfilled"===a.status&&(a.value.picked?B++:"cached"===a.value.skipReason?C++:"condition"===a.value.skipReason?D++:"hash"===a.value.skipReason&&E++);a+5<q.length&&await new Promise(a=>setTimeout(a,0))}let F=C+D+E,G=F>0?`, skipped ${F} (${C} cached, ${D} condition-false, ${E} hash-error)`:"";(0,p.logInfo)(`Scan complete: enqueued ${A} item(s) across ${B} session(s)${G}`)}catch(a){(0,p.logError)("scanAndEnqueue error:",a)}}function ab(a){let b=U();if(b.intervalId)return;(0,p.logInfo)(`Starting background processor (interval: ${a}s)`),aa().catch(a=>{(0,p.logError)("Initial scan error:",a)});let c=()=>{b.intervalId=setTimeout(async()=>{try{await aa()}catch(a){(0,p.logError)("Background processing error:",a)}null!==b.intervalId&&c()},1e3*a)};c()}function ac(){let a=U();a.intervalId&&(clearTimeout(a.intervalId),a.intervalId=null,(0,p.logInfo)("Background processor stopped"))}async function ad(a){return F(),{entries:await K(a),totalPages:await L(),page:a}}async function ae(a,b){F();let c=(await M()).filter(b=>(!a.type||b.type===a.type)&&(!a.itemName||!!b.itemName.toLowerCase().includes(a.itemName.toLowerCase()))&&(!a.sessionId||!!b.sessionId.toLowerCase().includes(a.sessionId.toLowerCase()))),d=Math.max(1,Math.ceil(c.length/25)),e=(b-1)*25;return{entries:c.slice(e,e+25),totalPages:d,page:b}}a.s(["HIGH",0,Q,"LOW",0,R,"Priority",0,P,"clearAlertFiredMarker",()=>Z,"getCompletedHistory",()=>ad,"getQueueStatus",()=>_,"priorityLabel",()=>S,"queuePerItem",()=>$,"scanAndEnqueue",()=>aa,"searchCompletedHistory",()=>ae,"startBackgroundProcessor",()=>ab,"stopBackgroundProcessor",()=>ac,"tryFireSessionAlerts",()=>W],83590)}];
|
|
1
|
+
module.exports=[83590,a=>{"use strict";var b=a.i(54799),c=a.i(62733),d=a.i(70467),e=a.i(46325);let f="__CLAUDEYE_ALERT_REGISTRY__";function g(){let a=globalThis;return a[f]||(a[f]=[]),a[f]}function h(){return g().length>0}async function i(a,b=!1){if(!h())return;let c=g().filter(a=>!b||!a.suppressOnRecompute);await Promise.allSettled(c.map(async b=>{try{await b.fn(a)}catch(a){console.error(`[alert] Error in alert "${b.name}":`,a instanceof Error?a.message:a)}}))}a.i(651);var j=a.i(46721),k=a.i(70427),l=a.i(83397),m=a.i(61542),n=a.i(69191),o=a.i(26192),p=a.i(76668),q=a.i(24868),r=a.i(14747),s=a.i(46786);let t=(0,r.join)((0,s.homedir)(),".claudeye","cache","completed-history"),u="current.jsonl",v=[],w=null,x=0,y=!1,z=!1,A=Promise.resolve(),B=0;async function C(){z||(await (0,q.mkdir)(t,{recursive:!0}),z=!0)}function D(a){if(a){w&&(clearTimeout(w),w=null),E();return}w||(w=setTimeout(()=>{w=null,E()},2e3))}function E(){A=A.then(()=>G()).catch(a=>{(0,p.logWarn)("completed-store flush error:",a instanceof Error?a.message:a)})}function F(){w&&(clearTimeout(w),w=null),0!==v.length&&(A=A.then(()=>G()).catch(a=>{(0,p.logWarn)("completed-store flushNow error:",a instanceof Error?a.message:a)}))}async function G(){if(0===v.length)return;await C(),y||(x=await J((0,r.join)(t,u)),y=!0);let a=v.splice(0),b=(0,r.join)(t,u),c=0;try{for(;c<a.length;){x>=25&&await H();let d=25-x;if(d<=0)throw Error("completed-store: zero remaining after rotate — aborting to prevent infinite loop");let e=a.slice(c,c+d),f=e.map(a=>JSON.stringify(a)).join("\n")+"\n";await I(b,f),x+=e.length,c+=e.length,x>=25&&await H()}}catch(d){let b=a.slice(c);throw b.length>0&&v.unshift(...b),d}}async function H(){let a=(0,r.join)(t,u),b=`page-${Date.now()}-${B++}.jsonl`,c=(0,r.join)(t,b);await (0,q.rename)(a,c),x=0}async function I(a,b){let c=await (0,q.readFile)(a,"utf-8").catch(()=>"");await (0,q.writeFile)(a,c+b,"utf-8")}async function J(a){try{let b=await (0,q.readFile)(a,"utf-8");if(!b.trim())return 0;return b.trim().split("\n").length}catch{return 0}}async function K(a){if(await A,await C(),a<1)return[];if(1===a){let a=(0,r.join)(t,u);return(await N(a)).reverse()}let b=await O(),c=a-2;return c>=b.length?[]:(await N((0,r.join)(t,b[c]))).reverse()}async function L(){return await C(),1+(await O()).length}async function M(){await A,await C();let a=(0,r.join)(t,u),b=(await N(a)).reverse(),c=await O(),d=[];for(let a of c){let b=await N((0,r.join)(t,a));d.push(...b.reverse())}return[...b,...d]}async function N(a){try{let b=await (0,q.readFile)(a,"utf-8");if(!b.trim())return[];let c=[];for(let a of b.trim().split("\n"))try{c.push(JSON.parse(a))}catch{}return c}catch{return[]}}async function O(){try{return(await (0,q.readdir)(t)).filter(a=>a.startsWith("page-")&&a.endsWith(".jsonl")).sort((a,b)=>{let c=a.slice(5,-6).split("-"),d=b.slice(5,-6).split("-"),e=parseInt(c[0],10),f=parseInt(d[0],10);if(e!==f)return f-e;let g=c.length>1?parseInt(c[1],10):0;return(d.length>1?parseInt(d[1],10):0)-g})}catch{return[]}}let P={HIGH:0,LOW:10},Q=P.HIGH,R=P.LOW;function S(a){return a<=P.HIGH?"HIGH":"LOW"}let T="__CLAUDEYE_QUEUE__";function U(){let a=globalThis;return a[T]||(a[T]={pending:[],pendingExecutors:new Map,processing:new Map,promises:new Map,completed:[],activeWorkers:0,scannedAt:0,intervalId:null,errors:[]}),a[T]}let V=()=>parseInt(process.env.CLAUDEYE_QUEUE_CONCURRENCY??"2",10)||2;async function W(a,f){try{if(!h())return;await (0,c.ensureEvalsLoaded)();let l=await (0,j.hashSessionFile)(a,f);if(!l)return;let m=(0,d.getSessionScopedEvals)(),n=(0,e.getSessionScopedEnrichers)(),[o,p]=await Promise.all([Promise.all(m.map(b=>(0,k.getPerItemCache)("evals",a,f,b.name,(0,j.hashItemCode)(b.fn),l))),Promise.all(n.map(b=>(0,k.getPerItemCache)("enrichments",a,f,b.name,(0,j.hashItemCode)(b.fn),l)))]);if(o.some(a=>!a)||p.some(a=>!a))return;let q=g().map(a=>a.name).sort().join(","),r=(0,b.createHash)("sha256").update(q).digest("hex"),s=await (0,k.getPerItemCache)("alerts",a,f,"__fired__",r,l);if(s&&s.value.firedAt>0)return;let t=o.map(a=>a.value),u=p.map(a=>a.value),v=t.length>0?{results:t,totalDurationMs:t.reduce((a,b)=>a+b.durationMs,0),passCount:t.filter(a=>!a.error&&!a.skipped&&a.pass).length,failCount:t.filter(a=>!a.error&&!a.skipped&&!a.pass).length,errorCount:t.filter(a=>!!a.error).length,skippedCount:t.filter(a=>!!a.skipped).length}:void 0,w=u.length>0?{results:u,totalDurationMs:u.reduce((a,b)=>a+b.durationMs,0),errorCount:u.filter(a=>!!a.error).length,skippedCount:u.filter(a=>!!a.skipped).length}:void 0,x=Y.get(`${a}/${f}`)??!1;Y.delete(`${a}/${f}`),await i({projectName:a,sessionId:f,evalSummary:v,enrichSummary:w},x);try{await (0,k.setPerItemCache)("alerts",a,f,"__fired__",r,{firedAt:Date.now()},l)}catch{}}catch(a){(0,p.logError)("tryFireSessionAlerts error:",a instanceof Error?a.message:a)}}let X=new Map,Y=new Map;async function Z(a,c){try{let d=await (0,j.hashSessionFile)(a,c);if(!d)return;let e=g().map(a=>a.name).sort().join(","),f=(0,b.createHash)("sha256").update(e).digest("hex");await (0,k.setPerItemCache)("alerts",a,c,"__fired__",f,{firedAt:0},d)}catch{}}function $(a,b,c,d,e,f){let g=U(),h=`${a}:${b}/${c}/${d}`,i=f?.priority??P.HIGH,j=f?.forceRefresh??!1,k=V(),l=g.promises.get(h);if(l&&!j){let a=g.pending.find(a=>a.key===h);return a&&i<a.priority&&(a.priority=i,g.pending.sort((a,b)=>a.priority-b.priority||a.addedAt-b.addedAt)),l}if(l&&j){let f=l.catch(()=>{}).then(()=>$(a,b,c,d,e,{priority:i}));return g.promises.set(h,f),f}let m=()=>{let f,j,k;g.activeWorkers++,g.processing.set(h,{key:h,type:a,projectName:b,sessionId:c,itemName:d,priority:i,startedAt:Date.now()});let l=Date.now(),m=new Promise((a,b)=>{f=a,j=b});m.catch(()=>{}),g.promises.set(h,m);let n=(e,f)=>{g.activeWorkers--,g.processing.delete(h),g.promises.delete(h),function(a){if(!a.completed){a.completed=[];return}a.completed.length>200&&(a.completed=a.completed.slice(0,200))}(g);let i={key:h,type:a,projectName:b,sessionId:c,itemName:d,completedAt:Date.now(),durationMs:Date.now()-l,success:e,error:f};if(g.completed.unshift(i),v.push(i),v.length>=20?D(!0):D(!1),!e&&f&&(g.errors.push({key:h,error:f,at:Date.now()}),g.errors.length>50&&(g.errors=g.errors.slice(-50))),e&&("eval"===a||"enrichment"===a)){let a,d,e=c.includes("/")?c.split("/")[0]:c;!function(a,b){let c=U(),d=a=>a===b||a.startsWith(`${b}/`);if(c.pending.some(b=>("eval"===b.type||"enrichment"===b.type)&&b.projectName===a&&d(b.sessionId)))return!0;for(let[,b]of c.processing)if(("eval"===b.type||"enrichment"===b.type)&&b.projectName===a&&d(b.sessionId))return!0;return!1}(b,e)&&(a=`${b}/${e}`,(d=X.get(a))&&clearTimeout(d),X.set(a,setTimeout(()=>{X.delete(a),W(b,e).catch(a=>{(0,p.logWarn)(`Alert firing failed for ${b}/${e}:`,a instanceof Error?a.message:a)})},500)))}let j=U(),k=V();for(;j.activeWorkers<k&&j.pending.length>0;){let a=j.pending.shift(),b=j.pendingExecutors.get(a.key);j.pendingExecutors.delete(a.key),b&&b()}};try{k=e().then(a=>(n(!0),a),a=>{throw n(!1,a instanceof Error?a.message:String(a)),a})}catch(a){n(!1,a instanceof Error?a.message:String(a)),k=Promise.reject(a)}return g.promises.set(h,k),k.then(f,j),k};if(g.activeWorkers<k)return m();let n=new Promise((f,j)=>{!function(a,b){let c=0,d=a.length;for(;c<d;){let e=c+d>>>1;0>=(a[e].priority-b.priority||a[e].addedAt-b.addedAt)?c=e+1:d=e}a.splice(c,0,b)}(g.pending,{key:h,type:a,projectName:b,sessionId:c,itemName:d,priority:i,addedAt:Date.now(),task:e}),g.pendingExecutors.set(h,()=>{m().then(f,j)})});return g.promises.set(h,n),n}function _(){let a=U();return{pending:a.pending.map(a=>({key:a.key,type:a.type,projectName:a.projectName,sessionId:a.sessionId,itemName:a.itemName,priority:a.priority,priorityLabel:S(a.priority),addedAt:a.addedAt})),processing:Array.from(a.processing.values()),completed:a.completed,scannedAt:a.scannedAt,backgroundRunning:null!==a.intervalId,recentErrors:a.errors.slice(-10)}}async function aa(){try{let b;if(await (0,c.ensureEvalsLoaded)(),!((0,d.hasEvals)()||(0,e.hasEnrichers)()))return void(0,p.logInfo)("Scan skipped: no evals or enrichers registered");U().scannedAt=Date.now();let f=(0,d.getSessionScopedEvals)(),g=(0,e.getSessionScopedEnrichers)();(0,p.logInfo)(`Scan starting: ${f.length} eval(s), ${g.length} enricher(s)`);let h=await (0,n.getCachedProjectFolders)(),i=await (0,o.batchAll)(h.map(a=>async()=>{let b=await (0,n.getCachedSessionFiles)(a.path);return{project:a,sessionFiles:b}}),10),q=[];for(let a of i)if("fulfilled"===a.status)for(let b of a.value.sessionFiles)b.sessionId&&q.push({projectName:a.value.project.name,sessionId:b.sessionId,lastModified:b.lastModified.getTime()});(0,p.logInfo)(`Discovered ${q.length} session(s) across ${h.length} project(s)`),q.sort((a,b)=>b.lastModified-a.lastModified);let r=(b=parseInt(process.env.CLAUDEYE_QUEUE_MAX_ITEMS??"500",10),Number.isNaN(b)?500:b),{processSessionEval:s}=await a.A(978),{processSessionEnrichment:t}=await a.A(74398),u=globalThis.__CLAUDEYE_QUEUE_CONDITION_REGISTRY__??null,v=u?.fn??null,w=u?.cacheable??!1,x=v?(0,j.hashItemCode)(v):null,y=f.map(a=>(0,j.hashItemCode)(a.fn)),z=g.map(a=>(0,j.hashItemCode)(a.fn));console.warn("[claudeye cache-debug] eval hashes:",f.map((a,b)=>`${a.name}=${y[b].slice(0,12)}`).join(", ")),console.warn("[claudeye cache-debug] enricher hashes:",g.map((a,b)=>`${a.name}=${z[b].slice(0,12)}`).join(", ")),console.warn("[claudeye cache-debug] projectsPathHash:",(0,j.hashProjectsPath)());let A=0,B=0,C=0,D=0,E=0;for(let a=0;a<q.length;a+=5){if(r>0&&A>=r){let b=q.length-a;(0,p.logInfo)(`Reached maxItems limit (${r}), stopping scan (${b} sessions remaining)`);break}let b=q.slice(a,a+5);for(let a of(await (0,o.batchAll)(b.map(a=>async()=>{let b;if(r>0&&A>=r)return{picked:!1};try{b=await (0,j.hashSessionFile)(a.projectName,a.sessionId)}catch(b){return(0,p.logWarn)(`Hash failed for ${a.projectName}/${a.sessionId}, skipping:`,b instanceof Error?b.message:b),{picked:!1,skipReason:"hash"}}if(v&&x)if(w){let c=await (0,k.getConditionCache)(a.projectName,a.sessionId,x,b);if(null!==c){if(!c.result)return(0,p.logInfo)(`Session ${a.projectName}/${a.sessionId} skipped: queue condition cached false`),{picked:!1,skipReason:"condition"}}else{let{entries:c,rawLines:d}=await (0,l.getCachedSessionLog)(a.projectName,a.sessionId),e=(0,m.calculateLogStats)(c),f={entries:d,stats:e,projectName:a.projectName,sessionId:a.sessionId,source:"session"},g=!1;try{g=await v(f)}catch{g=!1}if((0,k.setConditionCache)(a.projectName,a.sessionId,x,g,b).catch(b=>{(0,p.logWarn)(`Condition cache write failed for ${a.projectName}/${a.sessionId}:`,b instanceof Error?b.message:b)}),!g)return(0,p.logInfo)(`Session ${a.projectName}/${a.sessionId} skipped: queue condition returned false`),{picked:!1,skipReason:"condition"}}}else{let{entries:b,rawLines:c}=await (0,l.getCachedSessionLog)(a.projectName,a.sessionId),d=(0,m.calculateLogStats)(b),e={entries:c,stats:d,projectName:a.projectName,sessionId:a.sessionId,source:"session"},f=!1;try{f=await v(e)}catch{f=!1}if(!f)return(0,p.logInfo)(`Session ${a.projectName}/${a.sessionId} skipped: queue condition returned false`),{picked:!1,skipReason:"condition"}}let c=await Promise.all([...f.map((c,d)=>(0,k.getPerItemCache)("evals",a.projectName,a.sessionId,f[d].name,y[d],b).then(a=>({cached:!!a,type:"eval",idx:d}))),...g.map((c,d)=>(0,k.getPerItemCache)("enrichments",a.projectName,a.sessionId,g[d].name,z[d],b).then(a=>({cached:!!a,type:"enrichment",idx:d})))]),d=c.filter(a=>!a.cached),e=!1;if(d.length>0){let c=(await Promise.all(d.map(b=>{let c="eval"===b.type?"evals":"enrichments",d="eval"===b.type?f[b.idx].name:g[b.idx].name;return(0,k.getPerItemCacheMeta)(c,a.projectName,a.sessionId,d)}))).every(a=>!!a&&a.contentHash===b),h=a.sessionId.includes("/")?a.sessionId.split("/")[0]:a.sessionId;for(let b of(Y.set(`${a.projectName}/${h}`,c),d)){if(r>0&&A>=r)break;"eval"===b.type?$("eval",a.projectName,a.sessionId,f[b.idx].name,()=>s(a.projectName,a.sessionId,f[b.idx].name),{priority:P.LOW}).catch(a=>{(0,p.logWarn)(`Background eval enqueue failed for ${f[b.idx].name}:`,a instanceof Error?a.message:a)}):$("enrichment",a.projectName,a.sessionId,g[b.idx].name,()=>t(a.projectName,a.sessionId,g[b.idx].name),{priority:P.LOW}).catch(a=>{(0,p.logWarn)(`Background enrichment enqueue failed for ${g[b.idx].name}:`,a instanceof Error?a.message:a)}),A++,e=!0}}if(e){let b=c.filter(a=>!a.cached).map(a=>"eval"===a.type?`eval:${f[a.idx].name}`:`enrichment:${g[a.idx].name}`),d=c.filter(a=>a.cached).map(a=>"eval"===a.type?`eval:${f[a.idx].name}`:`enrichment:${g[a.idx].name}`);(0,p.logInfo)(`Session ${a.projectName}/${a.sessionId} picked: ${b.length} uncached (${b.join(", ")}), ${d.length} cached (${d.join(", ")})`)}else(0,p.logInfo)(`Session ${a.projectName}/${a.sessionId} skipped: all items cached`);return{picked:e,skipReason:e?void 0:"cached"}}),5)))"fulfilled"===a.status&&(a.value.picked?B++:"cached"===a.value.skipReason?C++:"condition"===a.value.skipReason?D++:"hash"===a.value.skipReason&&E++);a+5<q.length&&await new Promise(a=>setTimeout(a,0))}let F=C+D+E,G=F>0?`, skipped ${F} (${C} cached, ${D} condition-false, ${E} hash-error)`:"";(0,p.logInfo)(`Scan complete: enqueued ${A} item(s) across ${B} session(s)${G}`)}catch(a){(0,p.logError)("scanAndEnqueue error:",a)}}function ab(a){let b=U();if(b.intervalId)return;(0,p.logInfo)(`Starting background processor (interval: ${a}s)`),aa().catch(a=>{(0,p.logError)("Initial scan error:",a)});let c=()=>{b.intervalId=setTimeout(async()=>{try{await aa()}catch(a){(0,p.logError)("Background processing error:",a)}null!==b.intervalId&&c()},1e3*a)};c()}function ac(){let a=U();a.intervalId&&(clearTimeout(a.intervalId),a.intervalId=null,(0,p.logInfo)("Background processor stopped"))}async function ad(a){return F(),{entries:await K(a),totalPages:await L(),page:a}}async function ae(a,b){F();let c=(await M()).filter(b=>(!a.type||b.type===a.type)&&(!a.itemName||!!b.itemName.toLowerCase().includes(a.itemName.toLowerCase()))&&(!a.sessionId||!!b.sessionId.toLowerCase().includes(a.sessionId.toLowerCase()))),d=Math.max(1,Math.ceil(c.length/25)),e=(b-1)*25;return{entries:c.slice(e,e+25),totalPages:d,page:b}}a.s(["HIGH",0,Q,"LOW",0,R,"Priority",0,P,"clearAlertFiredMarker",()=>Z,"getCompletedHistory",()=>ad,"getQueueStatus",()=>_,"priorityLabel",()=>S,"queuePerItem",()=>$,"scanAndEnqueue",()=>aa,"searchCompletedHistory",()=>ae,"startBackgroundProcessor",()=>ab,"stopBackgroundProcessor",()=>ac,"tryFireSessionAlerts",()=>W],83590)}];
|
|
2
2
|
|
|
3
3
|
//# sourceMappingURL=lib_eval-queue_ts_e2258485._.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!DOCTYPE html><!--
|
|
1
|
+
<!DOCTYPE html><!--nyrPg2oq70l4kIVlmEopx--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="image" href="/exospheresmall.png"/><link rel="stylesheet" href="/_next/static/chunks/e62e0e2c8b367c21.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/05525d53710bbee3.js"/><script src="/_next/static/chunks/37a97314f1b17b22.js" async=""></script><script src="/_next/static/chunks/ed79e3f8aab4a1ea.js" async=""></script><script src="/_next/static/chunks/aee6c7720838f8a2.js" async=""></script><script src="/_next/static/chunks/f091501564eb2ea3.js" async=""></script><script src="/_next/static/chunks/turbopack-3c0c6df5293bf0da.js" async=""></script><script src="/_next/static/chunks/dbd7b157081058a6.js" async=""></script><script src="/_next/static/chunks/acd8d14816c73223.js" async=""></script><script src="/_next/static/chunks/ff1a16fafef87110.js" async=""></script><script src="/_next/static/chunks/d2be314c3ece3fbe.js" async=""></script><script src="/_next/static/chunks/e4aca2c4ff14a715.js" async=""></script><title>404: This page could not be found.</title><meta name="robots" content="noindex"/><title>Claude Monitor - Agent SDK Monitor by Exosphere</title><meta name="description" content="Tool to monitor Claude Agent SDK by exosphere.host"/><link rel="icon" href="/icon.png"/><script>
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
4
|
// Ensure we don't add duplicate classes
|
|
@@ -27,4 +27,4 @@
|
|
|
27
27
|
transition: opacity 0.15s;
|
|
28
28
|
}
|
|
29
29
|
body > *:not(#__loading) { opacity: 0; }
|
|
30
|
-
</style><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body class="antialiased"><div hidden=""><!--$--><!--/$--></div><div id="__loading">Loading…</div><header class="relative z-50 border-b border-border bg-card/50 backdrop-blur supports-[backdrop-filter]:bg-card/50"><div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"><div class="flex items-center justify-between h-16"><div class="flex items-center gap-3"><a href="https://claudeye.exosphere.host" target="_blank" rel="noopener noreferrer" class="flex items-center gap-3 hover:opacity-80 transition-opacity"><img alt="Exosphere Logo" width="28" height="28" decoding="async" data-nimg="1" class="flex-shrink-0" style="color:transparent" src="/exospheresmall.png"/><h1 class="text-lg font-semibold text-foreground leading-tight tracking-tight">Claudeye</h1></a><div class="w-px h-8 bg-border ml-2"></div><nav class="flex items-center h-16"><a class="relative flex items-center gap-1.5 px-3 h-full text-sm transition-colors text-muted-foreground hover:text-foreground" href="/"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-folder-open w-4 h-4" aria-hidden="true"><path d="m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2"></path></svg>Projects<span class="absolute inset-x-1 bottom-0 h-[2px] rounded-full transition-all bg-transparent group-hover:bg-muted"></span></a><a class="relative flex items-center gap-1.5 px-3 h-full text-sm transition-colors text-muted-foreground hover:text-foreground" href="/dashboard"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-layout-dashboard w-4 h-4" aria-hidden="true"><rect width="7" height="9" x="3" y="3" rx="1"></rect><rect width="7" height="5" x="14" y="3" rx="1"></rect><rect width="7" height="9" x="14" y="12" rx="1"></rect><rect width="7" height="5" x="3" y="16" rx="1"></rect></svg>Dashboard<span class="absolute inset-x-1 bottom-0 h-[2px] rounded-full transition-all bg-transparent group-hover:bg-muted"></span></a></nav></div><div class="flex items-center gap-1"><div class="inline-flex items-center rounded-lg border border-border bg-muted/50 p-0.5 gap-0.5"><button title="Refresh" class="inline-flex items-center justify-center rounded-md p-1.5 transition-colors text-muted-foreground hover:text-foreground hover:bg-muted"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-refresh-cw w-3.5 h-3.5" aria-hidden="true"><path d="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8"></path><path d="M21 3v5h-5"></path><path d="M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16"></path><path d="M8 16H3v5"></path></svg></button><div class="w-px h-4 bg-border"></div><div class="inline-flex items-center gap-0.5" role="group" aria-label="Auto-refresh interval"><button aria-pressed="true" class="px-2 py-1 text-[11px] font-medium rounded-md transition-colors bg-background text-foreground shadow-sm">Off</button><button aria-pressed="false" class="px-2 py-1 text-[11px] font-medium rounded-md transition-colors text-muted-foreground hover:text-foreground hover:bg-muted">5s</button><button aria-pressed="false" class="px-2 py-1 text-[11px] font-medium rounded-md transition-colors text-muted-foreground hover:text-foreground hover:bg-muted">10s</button><button aria-pressed="false" class="px-2 py-1 text-[11px] font-medium rounded-md transition-colors text-muted-foreground hover:text-foreground hover:bg-muted">30s</button></div></div><div class="w-px h-6 bg-border mx-1"></div><div class="relative"><button class="justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none hover:bg-muted h-9 px-3 flex items-center gap-1.5 text-muted-foreground hover:text-foreground" aria-expanded="false" aria-haspopup="true"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-mail h-4 w-4" aria-hidden="true"><path d="m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7"></path><rect x="2" y="4" width="20" height="16" rx="2"></rect></svg><span class="hidden sm:inline text-xs">Reach Us</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down h-3 w-3 transition-transform" aria-hidden="true"><path d="m6 9 6 6 6-6"></path></svg></button></div><button class="inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none hover:bg-muted hover:text-muted-foreground h-10 w-10 relative" aria-label="Switch to light mode"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-sun h-[1.2rem] w-[1.2rem] transition-all rotate-90 scale-0" aria-hidden="true"><circle cx="12" cy="12" r="4"></circle><path d="M12 2v2"></path><path d="M12 20v2"></path><path d="m4.93 4.93 1.41 1.41"></path><path d="m17.66 17.66 1.41 1.41"></path><path d="M2 12h2"></path><path d="M20 12h2"></path><path d="m6.34 17.66-1.41 1.41"></path><path d="m19.07 4.93-1.41 1.41"></path></svg><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-moon absolute h-[1.2rem] w-[1.2rem] transition-all rotate-0 scale-100" aria-hidden="true"><path d="M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401"></path></svg></button><div class="relative"><button class="justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none hover:bg-muted h-9 px-3 relative flex items-center gap-1.5 text-muted-foreground hover:text-foreground" aria-expanded="false" aria-haspopup="true"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-list-ordered h-4 w-4" aria-hidden="true"><path d="M11 5h10"></path><path d="M11 12h10"></path><path d="M11 19h10"></path><path d="M4 4h1v5"></path><path d="M4 9h2"></path><path d="M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02"></path></svg></button></div></div></div></div></header><!--$--><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";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/05525d53710bbee3.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[47613,[\"/_next/static/chunks/dbd7b157081058a6.js\",\"/_next/static/chunks/c7aa129147f3abd6.js\"],\"ThemeProvider\"]\n3:I[85881,[\"/_next/static/chunks/dbd7b157081058a6.js\",\"/_next/static/chunks/c7aa129147f3abd6.js\"],\"AutoRefreshProvider\"]\n4:I[63780,[\"/_next/static/chunks/dbd7b157081058a6.js\",\"/_next/static/chunks/c7aa129147f3abd6.js\"],\"Navbar\"]\n5:I[39756,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/d2be314c3ece3fbe.js\"],\"default\"]\n6:I[8821,[\"/_next/static/chunks/dbd7b157081058a6.js\",\"/_next/static/chunks/c7aa129147f3abd6.js\",\"/_next/static/chunks/e4aca2c4ff14a715.js\"],\"default\"]\n7:I[37457,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/d2be314c3ece3fbe.js\"],\"default\"]\nd:I[68027,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/d2be314c3ece3fbe.js\"],\"default\"]\n:HL[\"/_next/static/chunks/e62e0e2c8b367c21.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"TOk1xzqKWJ_UFNFX5JA5z\",\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/e62e0e2c8b367c21.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/dbd7b157081058a6.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/c7aa129147f3abd6.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"\\n (function() {\\n try {\\n // Ensure we don't add duplicate classes\\n document.documentElement.classList.remove('light', 'dark');\\n \\n var theme = localStorage.getItem('theme');\\n if (theme \u0026\u0026 (theme === 'light' || theme === 'dark')) {\\n document.documentElement.classList.add(theme);\\n } else {\\n document.documentElement.classList.add('dark');\\n }\\n } catch (e) {\\n // Fallback to dark theme if there's any error\\n document.documentElement.classList.remove('light', 'dark');\\n document.documentElement.classList.add('dark');\\n }\\n })();\\n \"}}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"\\n #__loading {\\n position: fixed; inset: 0; z-index: 9999;\\n display: flex; align-items: center; justify-content: center;\\n background: var(--background, #031035);\\n color: var(--foreground, #f8fafc);\\n font-family: system-ui, sans-serif;\\n font-size: 1rem;\\n transition: opacity 0.15s;\\n }\\n body \u003e *:not(#__loading) { opacity: 0; }\\n \"}}]]}],[\"$\",\"body\",null,{\"className\":\"antialiased\",\"children\":[[\"$\",\"div\",null,{\"id\":\"__loading\",\"children\":\"Loading…\"}],[\"$\",\"$L2\",null,{\"children\":[\"$\",\"$L3\",null,{\"children\":[[\"$\",\"$L4\",null,{}],[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$6\",\"errorStyles\":[],\"errorScripts\":[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/e4aca2c4ff14a715.js\",\"async\":true}]],\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"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.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]}]]}]]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:style\",\"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)}}\"}}],\"$L8\",\"$L9\"]}]}]],null,\"$La\"]}],{},null,false,false]},null,false,false]},[\"$Lb\",[],[]],false,false],\"$Lc\",false]],\"m\":\"$undefined\",\"G\":[\"$d\",\"$undefined\"],\"S\":true}\n"])</script><script>self.__next_f.push([1,"e:I[97367,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/d2be314c3ece3fbe.js\"],\"OutletBoundary\"]\nf:\"$Sreact.suspense\"\n11:I[97367,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/d2be314c3ece3fbe.js\"],\"ViewportBoundary\"]\n13:I[97367,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/d2be314c3ece3fbe.js\"],\"MetadataBoundary\"]\n8:[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}]\n9:[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]\na:[\"$\",\"$Le\",null,{\"children\":[\"$\",\"$f\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@10\"}]}]\nb:[\"$\",\"main\",\"l\",{\"className\":\"min-h-screen bg-background\",\"children\":[\"$\",\"div\",null,{\"className\":\"container mx-auto p-8\",\"children\":[\"$\",\"div\",null,{\"className\":\"bg-card text-card-foreground rounded-lg border border-border p-6 shadow-sm\",\"children\":[[\"$\",\"div\",null,{\"className\":\"h-8 w-32 bg-muted rounded animate-pulse mb-4\"}],[\"$\",\"div\",null,{\"className\":\"space-y-3\",\"children\":[[\"$\",\"div\",\"0\",{\"className\":\"h-12 bg-muted/50 rounded animate-pulse\"}],[\"$\",\"div\",\"1\",{\"className\":\"h-12 bg-muted/50 rounded animate-pulse\"}],[\"$\",\"div\",\"2\",{\"className\":\"h-12 bg-muted/50 rounded animate-pulse\"}],[\"$\",\"div\",\"3\",{\"className\":\"h-12 bg-muted/50 rounded animate-pulse\"}],[\"$\",\"div\",\"4\",{\"className\":\"h-12 bg-muted/50 rounded animate-pulse\"}],[\"$\",\"div\",\"5\",{\"className\":\"h-12 bg-muted/50 rounded animate-pulse\"}],[\"$\",\"div\",\"6\",{\"className\":\"h-12 bg-muted/50 rounded animate-pulse\"}],[\"$\",\"div\",\"7\",{\"className\":\"h-12 bg-muted/50 rounded animate-pulse\"}]]}]]}]}]}]\nc:[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L11\",null,{\"children\":\"$L12\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L13\",null,{\"children\":[\"$\",\"$f\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L14\"}]}]}],null]}]\n"])</script><script>self.__next_f.push([1,"12:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"15:I[27201,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/d2be314c3ece3fbe.js\"],\"IconMark\"]\n10:null\n14:[[\"$\",\"title\",\"0\",{\"children\":\"Claude Monitor - Agent SDK Monitor by Exosphere\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Tool to monitor Claude Agent SDK by exosphere.host\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/icon.png\"}],[\"$\",\"$L15\",\"3\",{}]]\n"])</script></body></html>
|
|
30
|
+
</style><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body class="antialiased"><div hidden=""><!--$--><!--/$--></div><div id="__loading">Loading…</div><header class="relative z-50 border-b border-border bg-card/50 backdrop-blur supports-[backdrop-filter]:bg-card/50"><div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"><div class="flex items-center justify-between h-16"><div class="flex items-center gap-3"><a href="https://claudeye.exosphere.host" target="_blank" rel="noopener noreferrer" class="flex items-center gap-3 hover:opacity-80 transition-opacity"><img alt="Exosphere Logo" width="28" height="28" decoding="async" data-nimg="1" class="flex-shrink-0" style="color:transparent" src="/exospheresmall.png"/><h1 class="text-lg font-semibold text-foreground leading-tight tracking-tight">Claudeye</h1></a><div class="w-px h-8 bg-border ml-2"></div><nav class="flex items-center h-16"><a class="relative flex items-center gap-1.5 px-3 h-full text-sm transition-colors text-muted-foreground hover:text-foreground" href="/"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-folder-open w-4 h-4" aria-hidden="true"><path d="m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2"></path></svg>Projects<span class="absolute inset-x-1 bottom-0 h-[2px] rounded-full transition-all bg-transparent group-hover:bg-muted"></span></a><a class="relative flex items-center gap-1.5 px-3 h-full text-sm transition-colors text-muted-foreground hover:text-foreground" href="/dashboard"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-layout-dashboard w-4 h-4" aria-hidden="true"><rect width="7" height="9" x="3" y="3" rx="1"></rect><rect width="7" height="5" x="14" y="3" rx="1"></rect><rect width="7" height="9" x="14" y="12" rx="1"></rect><rect width="7" height="5" x="3" y="16" rx="1"></rect></svg>Dashboard<span class="absolute inset-x-1 bottom-0 h-[2px] rounded-full transition-all bg-transparent group-hover:bg-muted"></span></a></nav></div><div class="flex items-center gap-1"><div class="inline-flex items-center rounded-lg border border-border bg-muted/50 p-0.5 gap-0.5"><button title="Refresh" class="inline-flex items-center justify-center rounded-md p-1.5 transition-colors text-muted-foreground hover:text-foreground hover:bg-muted"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-refresh-cw w-3.5 h-3.5" aria-hidden="true"><path d="M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8"></path><path d="M21 3v5h-5"></path><path d="M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16"></path><path d="M8 16H3v5"></path></svg></button><div class="w-px h-4 bg-border"></div><div class="inline-flex items-center gap-0.5" role="group" aria-label="Auto-refresh interval"><button aria-pressed="true" class="px-2 py-1 text-[11px] font-medium rounded-md transition-colors bg-background text-foreground shadow-sm">Off</button><button aria-pressed="false" class="px-2 py-1 text-[11px] font-medium rounded-md transition-colors text-muted-foreground hover:text-foreground hover:bg-muted">5s</button><button aria-pressed="false" class="px-2 py-1 text-[11px] font-medium rounded-md transition-colors text-muted-foreground hover:text-foreground hover:bg-muted">10s</button><button aria-pressed="false" class="px-2 py-1 text-[11px] font-medium rounded-md transition-colors text-muted-foreground hover:text-foreground hover:bg-muted">30s</button></div></div><div class="w-px h-6 bg-border mx-1"></div><div class="relative"><button class="justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none hover:bg-muted h-9 px-3 flex items-center gap-1.5 text-muted-foreground hover:text-foreground" aria-expanded="false" aria-haspopup="true"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-mail h-4 w-4" aria-hidden="true"><path d="m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7"></path><rect x="2" y="4" width="20" height="16" rx="2"></rect></svg><span class="hidden sm:inline text-xs">Reach Us</span><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-chevron-down h-3 w-3 transition-transform" aria-hidden="true"><path d="m6 9 6 6 6-6"></path></svg></button></div><button class="inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none hover:bg-muted hover:text-muted-foreground h-10 w-10 relative" aria-label="Switch to light mode"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-sun h-[1.2rem] w-[1.2rem] transition-all rotate-90 scale-0" aria-hidden="true"><circle cx="12" cy="12" r="4"></circle><path d="M12 2v2"></path><path d="M12 20v2"></path><path d="m4.93 4.93 1.41 1.41"></path><path d="m17.66 17.66 1.41 1.41"></path><path d="M2 12h2"></path><path d="M20 12h2"></path><path d="m6.34 17.66-1.41 1.41"></path><path d="m19.07 4.93-1.41 1.41"></path></svg><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-moon absolute h-[1.2rem] w-[1.2rem] transition-all rotate-0 scale-100" aria-hidden="true"><path d="M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401"></path></svg></button><div class="relative"><button class="justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none hover:bg-muted h-9 px-3 relative flex items-center gap-1.5 text-muted-foreground hover:text-foreground" aria-expanded="false" aria-haspopup="true"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-list-ordered h-4 w-4" aria-hidden="true"><path d="M11 5h10"></path><path d="M11 12h10"></path><path d="M11 19h10"></path><path d="M4 4h1v5"></path><path d="M4 9h2"></path><path d="M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02"></path></svg></button></div></div></div></div></header><!--$--><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";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/05525d53710bbee3.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[47613,[\"/_next/static/chunks/dbd7b157081058a6.js\",\"/_next/static/chunks/acd8d14816c73223.js\"],\"ThemeProvider\"]\n3:I[85881,[\"/_next/static/chunks/dbd7b157081058a6.js\",\"/_next/static/chunks/acd8d14816c73223.js\"],\"AutoRefreshProvider\"]\n4:I[63780,[\"/_next/static/chunks/dbd7b157081058a6.js\",\"/_next/static/chunks/acd8d14816c73223.js\"],\"Navbar\"]\n5:I[39756,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/d2be314c3ece3fbe.js\"],\"default\"]\n6:I[8821,[\"/_next/static/chunks/dbd7b157081058a6.js\",\"/_next/static/chunks/acd8d14816c73223.js\",\"/_next/static/chunks/e4aca2c4ff14a715.js\"],\"default\"]\n7:I[37457,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/d2be314c3ece3fbe.js\"],\"default\"]\nd:I[68027,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/d2be314c3ece3fbe.js\"],\"default\"]\n:HL[\"/_next/static/chunks/e62e0e2c8b367c21.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"nyrPg2oq70l4kIVlmEopx\",\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/e62e0e2c8b367c21.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/dbd7b157081058a6.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/acd8d14816c73223.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"script\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"\\n (function() {\\n try {\\n // Ensure we don't add duplicate classes\\n document.documentElement.classList.remove('light', 'dark');\\n \\n var theme = localStorage.getItem('theme');\\n if (theme \u0026\u0026 (theme === 'light' || theme === 'dark')) {\\n document.documentElement.classList.add(theme);\\n } else {\\n document.documentElement.classList.add('dark');\\n }\\n } catch (e) {\\n // Fallback to dark theme if there's any error\\n document.documentElement.classList.remove('light', 'dark');\\n document.documentElement.classList.add('dark');\\n }\\n })();\\n \"}}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"\\n #__loading {\\n position: fixed; inset: 0; z-index: 9999;\\n display: flex; align-items: center; justify-content: center;\\n background: var(--background, #031035);\\n color: var(--foreground, #f8fafc);\\n font-family: system-ui, sans-serif;\\n font-size: 1rem;\\n transition: opacity 0.15s;\\n }\\n body \u003e *:not(#__loading) { opacity: 0; }\\n \"}}]]}],[\"$\",\"body\",null,{\"className\":\"antialiased\",\"children\":[[\"$\",\"div\",null,{\"id\":\"__loading\",\"children\":\"Loading…\"}],[\"$\",\"$L2\",null,{\"children\":[\"$\",\"$L3\",null,{\"children\":[[\"$\",\"$L4\",null,{}],[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$6\",\"errorStyles\":[],\"errorScripts\":[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/e4aca2c4ff14a715.js\",\"async\":true}]],\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"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.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]}]]}]]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:style\",\"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)}}\"}}],\"$L8\",\"$L9\"]}]}]],null,\"$La\"]}],{},null,false,false]},null,false,false]},[\"$Lb\",[],[]],false,false],\"$Lc\",false]],\"m\":\"$undefined\",\"G\":[\"$d\",\"$undefined\"],\"S\":true}\n"])</script><script>self.__next_f.push([1,"e:I[97367,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/d2be314c3ece3fbe.js\"],\"OutletBoundary\"]\nf:\"$Sreact.suspense\"\n11:I[97367,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/d2be314c3ece3fbe.js\"],\"ViewportBoundary\"]\n13:I[97367,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/d2be314c3ece3fbe.js\"],\"MetadataBoundary\"]\n8:[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}]\n9:[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:1:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]\na:[\"$\",\"$Le\",null,{\"children\":[\"$\",\"$f\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@10\"}]}]\nb:[\"$\",\"main\",\"l\",{\"className\":\"min-h-screen bg-background\",\"children\":[\"$\",\"div\",null,{\"className\":\"container mx-auto p-8\",\"children\":[\"$\",\"div\",null,{\"className\":\"bg-card text-card-foreground rounded-lg border border-border p-6 shadow-sm\",\"children\":[[\"$\",\"div\",null,{\"className\":\"h-8 w-32 bg-muted rounded animate-pulse mb-4\"}],[\"$\",\"div\",null,{\"className\":\"space-y-3\",\"children\":[[\"$\",\"div\",\"0\",{\"className\":\"h-12 bg-muted/50 rounded animate-pulse\"}],[\"$\",\"div\",\"1\",{\"className\":\"h-12 bg-muted/50 rounded animate-pulse\"}],[\"$\",\"div\",\"2\",{\"className\":\"h-12 bg-muted/50 rounded animate-pulse\"}],[\"$\",\"div\",\"3\",{\"className\":\"h-12 bg-muted/50 rounded animate-pulse\"}],[\"$\",\"div\",\"4\",{\"className\":\"h-12 bg-muted/50 rounded animate-pulse\"}],[\"$\",\"div\",\"5\",{\"className\":\"h-12 bg-muted/50 rounded animate-pulse\"}],[\"$\",\"div\",\"6\",{\"className\":\"h-12 bg-muted/50 rounded animate-pulse\"}],[\"$\",\"div\",\"7\",{\"className\":\"h-12 bg-muted/50 rounded animate-pulse\"}]]}]]}]}]}]\nc:[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L11\",null,{\"children\":\"$L12\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L13\",null,{\"children\":[\"$\",\"$f\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L14\"}]}]}],null]}]\n"])</script><script>self.__next_f.push([1,"12:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"15:I[27201,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/d2be314c3ece3fbe.js\"],\"IconMark\"]\n10:null\n14:[[\"$\",\"title\",\"0\",{\"children\":\"Claude Monitor - Agent SDK Monitor by Exosphere\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Tool to monitor Claude Agent SDK by exosphere.host\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/icon.png\"}],[\"$\",\"$L15\",\"3\",{}]]\n"])</script></body></html>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
<!DOCTYPE html><!--
|
|
2
|
-
@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-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/05525d53710bbee3.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[39756,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/d2be314c3ece3fbe.js\"],\"default\"]\n3:I[37457,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/d2be314c3ece3fbe.js\"],\"default\"]\n4:I[97367,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/d2be314c3ece3fbe.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n7:I[97367,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/d2be314c3ece3fbe.js\"],\"ViewportBoundary\"]\n9:I[97367,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/d2be314c3ece3fbe.js\"],\"MetadataBoundary\"]\nb:I[68027,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/d2be314c3ece3fbe.js\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"
|
|
1
|
+
<!DOCTYPE html><!--nyrPg2oq70l4kIVlmEopx--><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/05525d53710bbee3.js"/><script src="/_next/static/chunks/37a97314f1b17b22.js" async=""></script><script src="/_next/static/chunks/ed79e3f8aab4a1ea.js" async=""></script><script src="/_next/static/chunks/aee6c7720838f8a2.js" async=""></script><script src="/_next/static/chunks/f091501564eb2ea3.js" async=""></script><script src="/_next/static/chunks/turbopack-3c0c6df5293bf0da.js" async=""></script><script src="/_next/static/chunks/ff1a16fafef87110.js" async=""></script><script src="/_next/static/chunks/d2be314c3ece3fbe.js" async=""></script><title>500: Internal Server Error.</title><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}
|
|
2
|
+
@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-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/05525d53710bbee3.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[39756,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/d2be314c3ece3fbe.js\"],\"default\"]\n3:I[37457,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/d2be314c3ece3fbe.js\"],\"default\"]\n4:I[97367,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/d2be314c3ece3fbe.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n7:I[97367,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/d2be314c3ece3fbe.js\"],\"ViewportBoundary\"]\n9:I[97367,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/d2be314c3ece3fbe.js\"],\"MetadataBoundary\"]\nb:I[68027,[\"/_next/static/chunks/ff1a16fafef87110.js\",\"/_next/static/chunks/d2be314c3ece3fbe.js\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"nyrPg2oq70l4kIVlmEopx\",\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"title\",null,{\"children\":\"500: Internal Server Error.\"}]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"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,{\"style\":{\"lineHeight\":\"48px\"},\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}\\n@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\",\"paddingRight\":23,\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\"},\"children\":\"500\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"28px\"},\"children\":\"Internal Server Error.\"}]}]]}]}]}]]}],[[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/ff1a16fafef87110.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/d2be314c3ece3fbe.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,false]},null,false,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L7\",null,{\"children\":\"$L8\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L9\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$La\"}]}]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$b\",\"$undefined\"],\"S\":true}\n"])</script><script>self.__next_f.push([1,"8:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"6:null\na:[]\n"])</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
self.__RSC_SERVER_MANIFEST="{\n \"node\": {\n \"0097de3228771cc6408bfa3d18c8ce049a9cee684a\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 74639,\n \"async\": false,\n \"exportedName\": \"logout\",\n \"filename\": \"app/actions/auth.ts\"\n },\n \"app/dashboard/[viewName]/page\": {\n \"moduleId\": 20722,\n \"async\": false,\n \"exportedName\": \"logout\",\n \"filename\": \"app/actions/auth.ts\"\n },\n \"app/dashboard/page\": {\n \"moduleId\": 68786,\n \"async\": false,\n \"exportedName\": \"logout\",\n \"filename\": \"app/actions/auth.ts\"\n },\n \"app/login/page\": {\n \"moduleId\": 51661,\n \"async\": false,\n \"exportedName\": \"logout\",\n \"filename\": \"app/actions/auth.ts\"\n },\n \"app/page\": {\n \"moduleId\": 90651,\n \"async\": false,\n \"exportedName\": \"logout\",\n \"filename\": \"app/actions/auth.ts\"\n },\n \"app/project/[name]/page\": {\n \"moduleId\": 42685,\n \"async\": false,\n \"exportedName\": \"logout\",\n \"filename\": \"app/actions/auth.ts\"\n },\n \"app/project/[name]/session/[sessionId]/page\": {\n \"moduleId\": 79839,\n \"async\": false,\n \"exportedName\": \"logout\",\n \"filename\": \"app/actions/auth.ts\"\n },\n \"app/queue/page\": {\n \"moduleId\": 16057,\n \"async\": false,\n \"exportedName\": \"logout\",\n \"filename\": \"app/actions/auth.ts\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/dashboard/[viewName]/page\": \"action-browser\",\n \"app/dashboard/page\": \"action-browser\",\n \"app/login/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/project/[name]/page\": \"action-browser\",\n \"app/project/[name]/session/[sessionId]/page\": \"action-browser\",\n \"app/queue/page\": \"action-browser\"\n },\n \"filename\": \"app/actions/auth.ts\",\n \"exportedName\": \"logout\"\n },\n \"0071fa73c28433457600926c54dec022e2073fb835\": {\n \"workers\": {\n \"app/dashboard/[viewName]/page\": {\n \"moduleId\": 20722,\n \"async\": false,\n \"exportedName\": \"listDashboardViews\",\n \"filename\": \"app/actions/list-dashboard-views.ts\"\n },\n \"app/dashboard/page\": {\n \"moduleId\": 68786,\n \"async\": false,\n \"exportedName\": \"listDashboardViews\",\n \"filename\": \"app/actions/list-dashboard-views.ts\"\n }\n },\n \"layer\": {\n \"app/dashboard/[viewName]/page\": \"rsc\",\n \"app/dashboard/page\": \"rsc\"\n },\n \"filename\": \"app/actions/list-dashboard-views.ts\",\n \"exportedName\": \"listDashboardViews\"\n },\n \"608f626dc8a30a80cd66feb722a413fc11aace2768\": {\n \"workers\": {\n \"app/dashboard/[viewName]/page\": {\n \"moduleId\": 20722,\n \"async\": false,\n \"exportedName\": \"computeDashboard\",\n \"filename\": \"app/actions/compute-dashboard.ts\"\n },\n \"app/dashboard/page\": {\n \"moduleId\": 68786,\n \"async\": false,\n \"exportedName\": \"computeDashboard\",\n \"filename\": \"app/actions/compute-dashboard.ts\"\n }\n },\n \"layer\": {\n \"app/dashboard/[viewName]/page\": \"action-browser\",\n \"app/dashboard/page\": \"action-browser\"\n },\n \"filename\": \"app/actions/compute-dashboard.ts\",\n \"exportedName\": \"computeDashboard\"\n },\n \"409940c6598ec1c0288a5ebf8a4c9ba6f2f02400fa\": {\n \"workers\": {\n \"app/dashboard/[viewName]/page\": {\n \"moduleId\": 20722,\n \"async\": false,\n \"exportedName\": \"computeAggregates\",\n \"filename\": \"app/actions/compute-aggregates.ts\"\n },\n \"app/dashboard/page\": {\n \"moduleId\": 68786,\n \"async\": false,\n \"exportedName\": \"computeAggregates\",\n \"filename\": \"app/actions/compute-aggregates.ts\"\n }\n },\n \"layer\": {\n \"app/dashboard/[viewName]/page\": \"action-browser\",\n \"app/dashboard/page\": \"action-browser\"\n },\n \"filename\": \"app/actions/compute-aggregates.ts\",\n \"exportedName\": \"computeAggregates\"\n },\n \"406bb5bfa52d984b4cd210ce725972650134dd0c5d\": {\n \"workers\": {\n \"app/login/page\": {\n \"moduleId\": 51661,\n \"async\": false,\n \"exportedName\": \"login\",\n \"filename\": \"app/actions/auth.ts\"\n }\n },\n \"layer\": {\n \"app/login/page\": \"action-browser\"\n },\n \"filename\": \"app/actions/auth.ts\",\n \"exportedName\": \"login\"\n },\n \"786e5e62bb33717c730a5227936f844a085d49ec1f\": {\n \"workers\": {\n \"app/project/[name]/session/[sessionId]/page\": {\n \"moduleId\": 79839,\n \"async\": false,\n \"exportedName\": \"checkEvalCacheAndList\",\n \"filename\": \"app/actions/check-eval-cache.ts\"\n }\n },\n \"layer\": {\n \"app/project/[name]/session/[sessionId]/page\": \"action-browser\"\n },\n \"filename\": \"app/actions/check-eval-cache.ts\",\n \"exportedName\": \"checkEvalCacheAndList\"\n },\n \"60f0ae1a7ae741542033f38615f23db098b323827d\": {\n \"workers\": {\n \"app/project/[name]/session/[sessionId]/page\": {\n \"moduleId\": 79839,\n \"async\": false,\n \"exportedName\": \"clearAlertMarker\",\n \"filename\": \"app/actions/clear-alert-marker.ts\"\n }\n },\n \"layer\": {\n \"app/project/[name]/session/[sessionId]/page\": \"action-browser\"\n },\n \"filename\": \"app/actions/clear-alert-marker.ts\",\n \"exportedName\": \"clearAlertMarker\"\n },\n \"78e8ca59e30f11e77b50fb18431654b92b55990281\": {\n \"workers\": {\n \"app/project/[name]/session/[sessionId]/page\": {\n \"moduleId\": 79839,\n \"async\": false,\n \"exportedName\": \"invalidateSessionItemCaches\",\n \"filename\": \"app/actions/invalidate-session-caches.ts\"\n }\n },\n \"layer\": {\n \"app/project/[name]/session/[sessionId]/page\": \"action-browser\"\n },\n \"filename\": \"app/actions/invalidate-session-caches.ts\",\n \"exportedName\": \"invalidateSessionItemCaches\"\n },\n \"78dfe3531adbe1fa44445620f9934775cce529d92a\": {\n \"workers\": {\n \"app/project/[name]/session/[sessionId]/page\": {\n \"moduleId\": 79839,\n \"async\": false,\n \"exportedName\": \"checkEnrichmentCacheAndList\",\n \"filename\": \"app/actions/check-enrichment-cache.ts\"\n }\n },\n \"layer\": {\n \"app/project/[name]/session/[sessionId]/page\": \"action-browser\"\n },\n \"filename\": \"app/actions/check-enrichment-cache.ts\",\n \"exportedName\": \"checkEnrichmentCacheAndList\"\n },\n \"7812125ada756a0280f37d2122d4a834d83248ce40\": {\n \"workers\": {\n \"app/project/[name]/session/[sessionId]/page\": {\n \"moduleId\": 79839,\n \"async\": false,\n \"exportedName\": \"checkActionCacheAndList\",\n \"filename\": \"app/actions/check-action-cache.ts\"\n }\n },\n \"layer\": {\n \"app/project/[name]/session/[sessionId]/page\": \"action-browser\"\n },\n \"filename\": \"app/actions/check-action-cache.ts\",\n \"exportedName\": \"checkActionCacheAndList\"\n },\n \"7cdcb0285fa7d7f9203a26ff5b47f45abdab9813b6\": {\n \"workers\": {\n \"app/project/[name]/session/[sessionId]/page\": {\n \"moduleId\": 79839,\n \"async\": false,\n \"exportedName\": \"invalidateSessionItemCache\",\n \"filename\": \"app/actions/invalidate-session-caches.ts\"\n }\n },\n \"layer\": {\n \"app/project/[name]/session/[sessionId]/page\": \"action-browser\"\n },\n \"filename\": \"app/actions/invalidate-session-caches.ts\",\n \"exportedName\": \"invalidateSessionItemCache\"\n },\n \"0050778ff2d851fed9eaf22a285b87a0e413679737\": {\n \"workers\": {\n \"app/project/[name]/session/[sessionId]/page\": {\n \"moduleId\": 79839,\n \"async\": false,\n \"exportedName\": \"getQueueStatusAction\",\n \"filename\": \"app/actions/get-queue-status.ts\"\n }\n },\n \"layer\": {\n \"app/project/[name]/session/[sessionId]/page\": \"action-browser\"\n },\n \"filename\": \"app/actions/get-queue-status.ts\",\n \"exportedName\": \"getQueueStatusAction\"\n },\n \"4092fd56af7a9f90cef7a072b781307d407b9fc675\": {\n \"workers\": {\n \"app/queue/page\": {\n \"moduleId\": 16057,\n \"async\": false,\n \"exportedName\": \"getCompletedHistoryAction\",\n \"filename\": \"app/actions/get-completed-history.ts\"\n }\n },\n \"layer\": {\n \"app/queue/page\": \"action-browser\"\n },\n \"filename\": \"app/actions/get-completed-history.ts\",\n \"exportedName\": \"getCompletedHistoryAction\"\n },\n \"60799b45f174b8d830ee5a53a6126ad9b91158e8fb\": {\n \"workers\": {\n \"app/queue/page\": {\n \"moduleId\": 16057,\n \"async\": false,\n \"exportedName\": \"searchCompletedHistoryAction\",\n \"filename\": \"app/actions/get-completed-history.ts\"\n }\n },\n \"layer\": {\n \"app/queue/page\": \"action-browser\"\n },\n \"filename\": \"app/actions/get-completed-history.ts\",\n \"exportedName\": \"searchCompletedHistoryAction\"\n }\n },\n \"edge\": {},\n \"encryptionKey\": \"V3M4s1O8WT4iMU941vaLjNudS4vkVF4gBWivOQd5UXY=\"\n}"
|
|
1
|
+
self.__RSC_SERVER_MANIFEST="{\n \"node\": {\n \"0061ef7c40315bae9fcb16fc3fc546b78f90ff7c35\": {\n \"workers\": {\n \"app/_not-found/page\": {\n \"moduleId\": 74639,\n \"async\": false,\n \"exportedName\": \"logout\",\n \"filename\": \"app/actions/auth.ts\"\n },\n \"app/dashboard/[viewName]/page\": {\n \"moduleId\": 20722,\n \"async\": false,\n \"exportedName\": \"logout\",\n \"filename\": \"app/actions/auth.ts\"\n },\n \"app/dashboard/page\": {\n \"moduleId\": 68786,\n \"async\": false,\n \"exportedName\": \"logout\",\n \"filename\": \"app/actions/auth.ts\"\n },\n \"app/login/page\": {\n \"moduleId\": 51661,\n \"async\": false,\n \"exportedName\": \"logout\",\n \"filename\": \"app/actions/auth.ts\"\n },\n \"app/page\": {\n \"moduleId\": 90651,\n \"async\": false,\n \"exportedName\": \"logout\",\n \"filename\": \"app/actions/auth.ts\"\n },\n \"app/project/[name]/page\": {\n \"moduleId\": 42685,\n \"async\": false,\n \"exportedName\": \"logout\",\n \"filename\": \"app/actions/auth.ts\"\n },\n \"app/project/[name]/session/[sessionId]/page\": {\n \"moduleId\": 79839,\n \"async\": false,\n \"exportedName\": \"logout\",\n \"filename\": \"app/actions/auth.ts\"\n },\n \"app/queue/page\": {\n \"moduleId\": 16057,\n \"async\": false,\n \"exportedName\": \"logout\",\n \"filename\": \"app/actions/auth.ts\"\n }\n },\n \"layer\": {\n \"app/_not-found/page\": \"action-browser\",\n \"app/dashboard/[viewName]/page\": \"action-browser\",\n \"app/dashboard/page\": \"action-browser\",\n \"app/login/page\": \"action-browser\",\n \"app/page\": \"action-browser\",\n \"app/project/[name]/page\": \"action-browser\",\n \"app/project/[name]/session/[sessionId]/page\": \"action-browser\",\n \"app/queue/page\": \"action-browser\"\n },\n \"filename\": \"app/actions/auth.ts\",\n \"exportedName\": \"logout\"\n },\n \"009fd823398bdf3ef4141914712cef47f83fc3ec32\": {\n \"workers\": {\n \"app/dashboard/[viewName]/page\": {\n \"moduleId\": 20722,\n \"async\": false,\n \"exportedName\": \"listDashboardViews\",\n \"filename\": \"app/actions/list-dashboard-views.ts\"\n },\n \"app/dashboard/page\": {\n \"moduleId\": 68786,\n \"async\": false,\n \"exportedName\": \"listDashboardViews\",\n \"filename\": \"app/actions/list-dashboard-views.ts\"\n }\n },\n \"layer\": {\n \"app/dashboard/[viewName]/page\": \"rsc\",\n \"app/dashboard/page\": \"rsc\"\n },\n \"filename\": \"app/actions/list-dashboard-views.ts\",\n \"exportedName\": \"listDashboardViews\"\n },\n \"609dc0397a50b4c066871c0ef9ac387a5c200c1545\": {\n \"workers\": {\n \"app/dashboard/[viewName]/page\": {\n \"moduleId\": 20722,\n \"async\": false,\n \"exportedName\": \"computeDashboard\",\n \"filename\": \"app/actions/compute-dashboard.ts\"\n },\n \"app/dashboard/page\": {\n \"moduleId\": 68786,\n \"async\": false,\n \"exportedName\": \"computeDashboard\",\n \"filename\": \"app/actions/compute-dashboard.ts\"\n }\n },\n \"layer\": {\n \"app/dashboard/[viewName]/page\": \"action-browser\",\n \"app/dashboard/page\": \"action-browser\"\n },\n \"filename\": \"app/actions/compute-dashboard.ts\",\n \"exportedName\": \"computeDashboard\"\n },\n \"4066b5671d6da1bbcc2947fda976d3c1605472b80b\": {\n \"workers\": {\n \"app/dashboard/[viewName]/page\": {\n \"moduleId\": 20722,\n \"async\": false,\n \"exportedName\": \"computeAggregates\",\n \"filename\": \"app/actions/compute-aggregates.ts\"\n },\n \"app/dashboard/page\": {\n \"moduleId\": 68786,\n \"async\": false,\n \"exportedName\": \"computeAggregates\",\n \"filename\": \"app/actions/compute-aggregates.ts\"\n }\n },\n \"layer\": {\n \"app/dashboard/[viewName]/page\": \"action-browser\",\n \"app/dashboard/page\": \"action-browser\"\n },\n \"filename\": \"app/actions/compute-aggregates.ts\",\n \"exportedName\": \"computeAggregates\"\n },\n \"40d79c860c89cd6f26b2286dec1c729b7d212b3997\": {\n \"workers\": {\n \"app/login/page\": {\n \"moduleId\": 51661,\n \"async\": false,\n \"exportedName\": \"login\",\n \"filename\": \"app/actions/auth.ts\"\n }\n },\n \"layer\": {\n \"app/login/page\": \"action-browser\"\n },\n \"filename\": \"app/actions/auth.ts\",\n \"exportedName\": \"login\"\n },\n \"78e7b7128a618bab0b56126b175b89fac0d558f2ee\": {\n \"workers\": {\n \"app/project/[name]/session/[sessionId]/page\": {\n \"moduleId\": 79839,\n \"async\": false,\n \"exportedName\": \"checkEvalCacheAndList\",\n \"filename\": \"app/actions/check-eval-cache.ts\"\n }\n },\n \"layer\": {\n \"app/project/[name]/session/[sessionId]/page\": \"action-browser\"\n },\n \"filename\": \"app/actions/check-eval-cache.ts\",\n \"exportedName\": \"checkEvalCacheAndList\"\n },\n \"60591a37ffc85a1de1770f29a15fa8e05a1065387b\": {\n \"workers\": {\n \"app/project/[name]/session/[sessionId]/page\": {\n \"moduleId\": 79839,\n \"async\": false,\n \"exportedName\": \"clearAlertMarker\",\n \"filename\": \"app/actions/clear-alert-marker.ts\"\n }\n },\n \"layer\": {\n \"app/project/[name]/session/[sessionId]/page\": \"action-browser\"\n },\n \"filename\": \"app/actions/clear-alert-marker.ts\",\n \"exportedName\": \"clearAlertMarker\"\n },\n \"78466efb976d13bf5c2be76385166de11d5e42e1ed\": {\n \"workers\": {\n \"app/project/[name]/session/[sessionId]/page\": {\n \"moduleId\": 79839,\n \"async\": false,\n \"exportedName\": \"invalidateSessionItemCaches\",\n \"filename\": \"app/actions/invalidate-session-caches.ts\"\n }\n },\n \"layer\": {\n \"app/project/[name]/session/[sessionId]/page\": \"action-browser\"\n },\n \"filename\": \"app/actions/invalidate-session-caches.ts\",\n \"exportedName\": \"invalidateSessionItemCaches\"\n },\n \"78d837ffe4df8a626b36ae8be7e826e32f3abc57ec\": {\n \"workers\": {\n \"app/project/[name]/session/[sessionId]/page\": {\n \"moduleId\": 79839,\n \"async\": false,\n \"exportedName\": \"checkEnrichmentCacheAndList\",\n \"filename\": \"app/actions/check-enrichment-cache.ts\"\n }\n },\n \"layer\": {\n \"app/project/[name]/session/[sessionId]/page\": \"action-browser\"\n },\n \"filename\": \"app/actions/check-enrichment-cache.ts\",\n \"exportedName\": \"checkEnrichmentCacheAndList\"\n },\n \"785a8a0e9eeaf0f3011945ffab7df91d7034950950\": {\n \"workers\": {\n \"app/project/[name]/session/[sessionId]/page\": {\n \"moduleId\": 79839,\n \"async\": false,\n \"exportedName\": \"checkActionCacheAndList\",\n \"filename\": \"app/actions/check-action-cache.ts\"\n }\n },\n \"layer\": {\n \"app/project/[name]/session/[sessionId]/page\": \"action-browser\"\n },\n \"filename\": \"app/actions/check-action-cache.ts\",\n \"exportedName\": \"checkActionCacheAndList\"\n },\n \"7c0655e6d3d5861fff4ebd5915979223a9d2131066\": {\n \"workers\": {\n \"app/project/[name]/session/[sessionId]/page\": {\n \"moduleId\": 79839,\n \"async\": false,\n \"exportedName\": \"invalidateSessionItemCache\",\n \"filename\": \"app/actions/invalidate-session-caches.ts\"\n }\n },\n \"layer\": {\n \"app/project/[name]/session/[sessionId]/page\": \"action-browser\"\n },\n \"filename\": \"app/actions/invalidate-session-caches.ts\",\n \"exportedName\": \"invalidateSessionItemCache\"\n },\n \"0062535c26a97218013ab93c7e9eaed435d8a95239\": {\n \"workers\": {\n \"app/project/[name]/session/[sessionId]/page\": {\n \"moduleId\": 79839,\n \"async\": false,\n \"exportedName\": \"getQueueStatusAction\",\n \"filename\": \"app/actions/get-queue-status.ts\"\n }\n },\n \"layer\": {\n \"app/project/[name]/session/[sessionId]/page\": \"action-browser\"\n },\n \"filename\": \"app/actions/get-queue-status.ts\",\n \"exportedName\": \"getQueueStatusAction\"\n },\n \"40085fc966277e8de74a7426267d5a2e4ed82d9dfb\": {\n \"workers\": {\n \"app/queue/page\": {\n \"moduleId\": 16057,\n \"async\": false,\n \"exportedName\": \"getCompletedHistoryAction\",\n \"filename\": \"app/actions/get-completed-history.ts\"\n }\n },\n \"layer\": {\n \"app/queue/page\": \"action-browser\"\n },\n \"filename\": \"app/actions/get-completed-history.ts\",\n \"exportedName\": \"getCompletedHistoryAction\"\n },\n \"6022d75d95a172a5c26578f6da42e2fee99f1595f7\": {\n \"workers\": {\n \"app/queue/page\": {\n \"moduleId\": 16057,\n \"async\": false,\n \"exportedName\": \"searchCompletedHistoryAction\",\n \"filename\": \"app/actions/get-completed-history.ts\"\n }\n },\n \"layer\": {\n \"app/queue/page\": \"action-browser\"\n },\n \"filename\": \"app/actions/get-completed-history.ts\",\n \"exportedName\": \"searchCompletedHistoryAction\"\n }\n },\n \"edge\": {},\n \"encryptionKey\": \"xzNCwwKi1anpUd+j4NmBVPK8Kee/hihY90wAu14D+SA=\"\n}"
|