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})}])},45448,a=>{"use strict";a.s(["SkillsList",()=>b]);let b=(0,a.i(80718).registerClientReference)(function(){throw Error("Attempted to call SkillsList() from the server but SkillsList is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/skills-list.tsx <module evaluation>","SkillsList")},93424,a=>{"use strict";a.s(["SkillsList",()=>b]);let b=(0,a.i(80718).registerClientReference)(function(){throw Error("Attempted to call SkillsList() from the server but SkillsList is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"[project]/src/components/skills-list.tsx","SkillsList")},6701,a=>{"use strict";a.i(45448);var b=a.i(93424);a.n(b)},59020,a=>{"use strict";var b=a.i(68118);a.i(32268);var c=a.i(42378),d=a.i(35330),e=a.i(75170),f=a.i(29855),g=a.i(69482),h=a.i(6701);async function i({params:a}){let{agent:j,project:k}=await a,l=(0,e.getProject)(k);(!l||l.archived_at)&&(0,c.notFound)();let m=await (0,f.resolveAgentBySlug)(l.slug,j);m||(0,c.notFound)();let n=m.agent_id,o=null,p=null;try{o=await (0,g.getSkillStatus)(n)}catch(a){p=a instanceof Error?a.message:String(a)}let q=o?.skills??[];return(0,b.jsx)("div",{className:"h-full overflow-y-auto p-6",children:(0,b.jsxs)("div",{className:"mx-auto max-w-4xl space-y-4",children:[(0,b.jsxs)("header",{children:[(0,b.jsx)("h2",{className:"text-lg font-semibold tracking-tight",children:"Skills"}),(0,b.jsxs)("p",{className:"text-sm text-muted-foreground",children:["Capabilities OpenClaw exposes to ",m.name,".",o?.agentSkillFilter?.length?` Filtered to this agent's allowlist (${o.agentSkillFilter.length}).`:" Workspace-wide; no per-agent filter."]})]}),p&&(0,b.jsx)(d.Card,{children:(0,b.jsxs)(d.CardContent,{className:"space-y-1 py-4 text-sm",children:[(0,b.jsx)("p",{className:"font-medium text-destructive",children:"Could not reach OpenClaw."}),(0,b.jsx)("p",{className:"text-xs text-muted-foreground",children:p})]})}),!p&&0===q.length&&(0,b.jsx)(d.Card,{children:(0,b.jsx)(d.CardContent,{className:"py-12 text-center text-sm text-muted-foreground",children:"No skills installed in this workspace yet."})}),!p&&q.length>0&&(0,b.jsx)(h.SkillsList,{skills:q,agentSlug:j})]})})}a.s(["default",0,i])},48212,a=>{a.n(a.i(59020))}];

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