import{n as a}from"./rolldown-runtime-M0oDzQ_3.js";import{d as i,l as t}from"./_plugin-vue_export-helper-D2UTCjuN.js";async function l(){const s=await i("/api/hermes/skills");return{categories:s.categories,archived:s.archived??[]}}async function o(s=7){return i(`/api/hermes/skills/usage/stats?${new URLSearchParams({days:String(s)})}`)}async function c(s){return(await i(`/api/hermes/skills/${s}`)).content}async function m(s,e){return(await i(`/api/hermes/skills/${s}/${e}/files`)).files}async function f(){return i("/api/hermes/memory")}async function h(s,e){await i("/api/hermes/memory",{method:"POST",body:JSON.stringify({section:s,content:e})})}async function y(s,e){await i("/api/hermes/skills/toggle",{method:"PUT",body:JSON.stringify({name:s,enabled:e})})}async function u(s,e){await i("/api/hermes/skills/pin",{method:"PUT",body:JSON.stringify({name:s,pinned:e})})}var p=a((()=>{t()}));export{l as a,h as c,o as i,y as l,c as n,p as o,m as r,u as s,f as t};
