"use strict";(()=>{var e={};e.id=1049,e.ids=[1049],e.modules={20399:e=>{e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},30517:e=>{e.exports=require("next/dist/compiled/next-server/app-route.runtime.prod.js")},78893:e=>{e.exports=require("buffer")},92048:e=>{e.exports=require("fs")},19801:e=>{e.exports=require("os")},55315:e=>{e.exports=require("path")},68223:(e,r,s)=>{s.r(r),s.d(r,{originalPathname:()=>x,patchFetch:()=>g,requestAsyncStorage:()=>c,routeModule:()=>m,serverHooks:()=>h,staticGenerationAsyncStorage:()=>l});var t={};s.r(t),s.d(t,{GET:()=>d});var a=s(49303),o=s(88716),n=s(60670),i=s(87070),p=s(53013);let u=(0,s(43895).h)("api/slash-commands");async function d(e){try{let e=await (0,p.HL)();return i.NextResponse.json({groups:e})}catch(e){return u.error("error-loading-slash-commands:",{error:e instanceof Error?e.message:String(e)}),i.NextResponse.json({error:"Failed to load slash commands"},{status:500})}}let m=new a.AppRouteRouteModule({definition:{kind:o.x.APP_ROUTE,page:"/api/slash-commands/route",pathname:"/api/slash-commands",filename:"route",bundlePath:"app/api/slash-commands/route"},resolvedPagePath:"/home/runner/work/CommandMate/CommandMate/src/app/api/slash-commands/route.ts",nextConfigOutput:"",userland:t}),{requestAsyncStorage:c,staticGenerationAsyncStorage:l,serverHooks:h}=m,x="/api/slash-commands/route";function g(){return(0,n.patchFetch)({serverHooks:h,staticGenerationAsyncStorage:l})}}};var r=require("../../../webpack-runtime.js");r.C(e);var s=e=>r(r.s=e),t=r.X(0,[8948,5972,3673,3895,3013],()=>s(68223));module.exports=t})();