module.exports=[93695,(a,b,c)=>{b.exports=a.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},31983,(a,b,c)=>{b.exports=a.r(18622)},62807,a=>{a.n(a.i(90605))},73121,a=>{a.n(a.i(30983))},84194,a=>{a.n(a.i(31198))},59018,a=>{a.n(a.i(22631))},27767,a=>{a.n(a.i(18330))},8672,a=>{a.n(a.i(76614))},82302,a=>{a.n(a.i(97555))},44174,a=>{a.n(a.i(5810))},63098,a=>{a.n(a.i(95492))},8619,a=>{a.n(a.i(64063))},80988,a=>{a.n(a.i(19999))},44523,a=>{a.n(a.i(9545))},53312,a=>{a.n(a.i(9469))},83834,a=>{a.n(a.i(90386))},84278,a=>{a.n(a.i(94334))},90442,a=>{a.n(a.i(780))},68246,a=>{a.n(a.i(34497))},6330,a=>{a.n(a.i(12977))},41405,a=>{a.n(a.i(7213))},25052,a=>{a.n(a.i(87429))},13557,a=>{a.n(a.i(96077))},56043,a=>{a.n(a.i(18035))},2246,a=>{a.n(a.i(69986))},44791,a=>{a.n(a.i(90453))},61714,a=>{a.n(a.i(26058))},60946,a=>{a.n(a.i(17335))},29644,a=>{a.n(a.i(34171))},85422,a=>{a.n(a.i(76773))},1654,a=>{a.n(a.i(80778))},66146,a=>{a.n(a.i(92823))},24457,a=>{a.n(a.i(84393))},5662,a=>{a.n(a.i(83962))},10921,a=>{a.n(a.i(31803))},85860,a=>{a.n(a.i(85533))},35330,a=>{"use strict";var b=a.i(68118),c=a.i(39138);a.s(["Card",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card",className:(0,c.cn)("flex flex-col gap-6 rounded-xl border bg-card py-6 text-card-foreground shadow-sm",a),...d})},"CardContent",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-content",className:(0,c.cn)("px-6",a),...d})},"CardDescription",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-description",className:(0,c.cn)("text-sm text-muted-foreground",a),...d})},"CardHeader",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-header",className:(0,c.cn)("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",a),...d})},"CardTitle",0,function({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-title",className:(0,c.cn)("leading-none font-semibold",a),...d})}])},11335,a=>{"use strict";var b=a.i(68118);a.i(32268);var c=a.i(42378),d=a.i(35330),e=a.i(19637),f=a.i(75170),g=a.i(42548);async function h({params:a}){let{project:i}=await a,j=(0,f.getProject)(i);(!j||j.archived_at)&&(0,c.notFound)();let k=(0,g.listAgentActions)(j.slug,200);return(0,b.jsxs)("div",{className:"mx-auto max-w-4xl space-y-6",children:[(0,b.jsxs)("header",{children:[(0,b.jsx)("h1",{className:"text-2xl font-semibold tracking-tight",children:"Activity"}),(0,b.jsxs)("p",{className:"text-sm text-muted-foreground",children:["Project ",(0,b.jsx)("span",{className:"font-mono",children:j.slug})," · ",k.length," actions · append-only audit log"]})]}),0===k.length?(0,b.jsx)(d.Card,{children:(0,b.jsxs)(d.CardContent,{className:"space-y-2 py-12 text-center text-sm",children:[(0,b.jsx)("h2",{className:"text-base font-medium",children:"No activity yet."}),(0,b.jsx)("p",{className:"text-muted-foreground",children:"Every autonomous decision and scheduled job lands here for auditing. When you provision agents or schedule crons, the events show up."})]})}):(0,b.jsx)(d.Card,{children:(0,b.jsx)(d.CardContent,{className:"p-0",children:(0,b.jsx)("ul",{className:"divide-y",children:k.map(a=>{var c;let d;return(0,b.jsxs)("li",{className:"space-y-1 px-4 py-3 text-sm",children:[(0,b.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,b.jsx)(e.Badge,{variant:"outline",className:"font-mono text-[10px]",children:a.action_type}),(0,b.jsx)("span",{className:"font-mono text-xs text-muted-foreground",children:a.agent_id}),(0,b.jsxs)("span",{className:"ml-auto text-xs text-muted-foreground tabular-nums",children:[(c=a.occurred_at,(d=Math.max(0,(Date.now()-new Date(c).getTime())/1e3))<60?`${Math.floor(d)}s ago`:d<3600?`${Math.floor(d/60)}m ago`:d<86400?`${Math.floor(d/3600)}h ago`:`${Math.floor(d/86400)}d ago`)," · ",new Date(a.occurred_at).toLocaleString()]})]}),(0,b.jsx)("p",{className:"leading-snug",children:a.summary}),a.reasoning&&(0,b.jsx)("p",{className:"rounded-md bg-muted/40 px-2.5 py-1.5 text-xs text-muted-foreground whitespace-pre-wrap",children:a.reasoning})]},a.id)})})})})]})}a.s(["default",0,h,"dynamic",0,"force-dynamic"])},67213,a=>{a.n(a.i(11335))}];

//# sourceMappingURL=%5Broot-of-the-server%5D__03ck4_4._.js.map