@easbot/skills 0.3.11 → 0.3.13
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/README.en.md +167 -60
- package/README.md +173 -63
- package/dist/chunks/blob-3PZEQWTP.mjs +1 -0
- package/dist/chunks/blob-ZDEX2HRV.cjs +1 -0
- package/dist/chunks/chunk-4D5RQDWJ.mjs +5 -0
- package/dist/chunks/chunk-5BL3KG26.cjs +5 -0
- package/dist/chunks/chunk-5W7HC7BY.mjs +22 -0
- package/dist/chunks/chunk-CFMOYU7R.mjs +2 -0
- package/dist/chunks/chunk-CXH3OTTQ.cjs +22 -0
- package/dist/chunks/chunk-CY6UI6SJ.cjs +1 -0
- package/dist/chunks/chunk-E7AHWFZN.cjs +2 -0
- package/dist/chunks/chunk-ISMGLHYS.cjs +1 -0
- package/dist/chunks/chunk-K2XGYOXP.mjs +267 -0
- package/dist/chunks/chunk-ML6B4IQL.mjs +1 -0
- package/dist/chunks/chunk-NKIQLESR.mjs +3 -0
- package/dist/chunks/chunk-ROCFLAYZ.mjs +2 -0
- package/dist/chunks/chunk-RVR3DSD2.cjs +2 -0
- package/dist/chunks/chunk-RWZ4LFSN.mjs +1 -0
- package/dist/chunks/chunk-S6YNGR7S.cjs +2 -0
- package/dist/chunks/chunk-SXUY2J75.cjs +3 -0
- package/dist/chunks/chunk-UJWB7QQ6.cjs +267 -0
- package/dist/chunks/chunk-VRHWDHQV.cjs +1 -0
- package/dist/chunks/chunk-WQGSYA5D.mjs +1 -0
- package/dist/chunks/chunk-XGUPIAAF.cjs +1 -0
- package/dist/chunks/chunk-ZBKGF7PA.mjs +1 -0
- package/dist/chunks/chunk-ZYDDQV73.mjs +2 -0
- package/dist/chunks/cli-handler-667TYY4I.cjs +1 -0
- package/dist/chunks/cli-handler-YSDUNKKZ.mjs +1 -0
- package/dist/chunks/installer-REG45DC2.mjs +1 -0
- package/dist/chunks/installer-SOVGUW3M.cjs +1 -0
- package/dist/chunks/interfaces-S47ZGORM.mjs +1 -0
- package/dist/chunks/interfaces-UIS44Q7A.cjs +1 -0
- package/dist/chunks/local-lock-AWD3LLEY.mjs +1 -0
- package/dist/chunks/local-lock-GIZDVF3X.cjs +1 -0
- package/dist/chunks/scan-57D2H7LP.cjs +1 -0
- package/dist/chunks/scan-WAXGJM5N.mjs +1 -0
- package/dist/chunks/skill-lock-DZMA75MY.mjs +1 -0
- package/dist/chunks/skill-lock-XTWQYBRG.cjs +1 -0
- package/dist/chunks/store-F7PGGZIO.cjs +1 -0
- package/dist/chunks/store-IVDLGLET.mjs +1 -0
- package/dist/chunks/telemetry-7T6MUW5A.mjs +1 -0
- package/dist/chunks/telemetry-LCGTSJDM.cjs +1 -0
- package/dist/cli.cjs +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +288 -129
- package/dist/index.d.ts +288 -129
- package/dist/index.mjs +1 -1
- package/package.json +4 -5
- package/dist/chunks/blob-LYSE5I24.mjs +0 -1
- package/dist/chunks/blob-NYUAIVUS.cjs +0 -1
- package/dist/chunks/chunk-4IO7TNWC.mjs +0 -223
- package/dist/chunks/chunk-IWCI7DET.mjs +0 -6
- package/dist/chunks/chunk-KJPMAUXZ.cjs +0 -1
- package/dist/chunks/chunk-L6KE3VIY.mjs +0 -2
- package/dist/chunks/chunk-PGDLW2JN.cjs +0 -2
- package/dist/chunks/chunk-S76WRD5J.cjs +0 -6
- package/dist/chunks/chunk-WQJKBJSM.cjs +0 -223
- package/dist/chunks/chunk-Y2X6FBMZ.mjs +0 -1
- package/dist/chunks/scan-47YPOLJX.mjs +0 -1
- package/dist/chunks/scan-5G765ZEF.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {l as l$1,k}from'./chunk-RWZ4LFSN.mjs';import {existsSync,readdirSync,readFileSync}from'fs';import {join,resolve}from'path';import {homedir}from'os';import {xdgConfig}from'xdg-basedir';import {Wildcard}from'@easbot/utils';function l(){return k()}function o(){return xdgConfig??join(k(),".config")}function p(){return process.env.CODEX_HOME?.trim()||join(l(),".codex")}function y(){return process.env.CLAUDE_CONFIG_DIR?.trim()||join(l(),".claude")}function D(){return process.env.VIBE_HOME?.trim()||join(l(),".vibe")}function b(){return process.env.HERMES_HOME?.trim()||join(l(),".hermes")}function f(){return process.env.AUTOHAND_HOME?.trim()||join(l(),".autohand")}function S(){return process.env.APPDATA?.trim()}function I(){return process.env.FLATPAK_XDG_CONFIG_HOME?.trim()}function G(t,n){try{let i=JSON.parse(readFileSync(t,"utf-8"));return !!(i.dependencies?.[n]||i.devDependencies?.[n])}catch{return false}}function E(t=l(),n=existsSync){return n(join(t,".openclaw"))?join(t,".openclaw/skills"):n(join(t,".clawdbot"))?join(t,".clawdbot/skills"):n(join(t,".moltbot"))?join(t,".moltbot/skills"):join(t,".openclaw/skills")}var a={easbot:{name:"easbot",displayName:"EASBot",skillsDir:".easbot/skills",get globalSkillsDir(){return join(l$1(),"easbot","skills")},detectInstalled:async()=>true},"aider-desk":{name:"aider-desk",displayName:"AiderDesk",skillsDir:".aider-desk/skills",get globalSkillsDir(){return join(l(),".aider-desk/skills")},detectInstalled:async()=>existsSync(join(l(),".aider-desk"))},amp:{name:"amp",displayName:"Amp",skillsDir:".agents/skills",get globalSkillsDir(){return join(o(),"agents/skills")},detectInstalled:async()=>existsSync(join(o(),"amp"))},antigravity:{name:"antigravity",displayName:"Antigravity",skillsDir:".agents/skills",get globalSkillsDir(){return join(l(),".gemini/antigravity/skills")},detectInstalled:async()=>existsSync(join(l(),".gemini/antigravity"))},"antigravity-cli":{name:"antigravity-cli",displayName:"Antigravity CLI",skillsDir:".agents/skills",get globalSkillsDir(){return join(l(),".gemini/antigravity-cli/skills")},detectInstalled:async()=>existsSync(join(l(),".gemini/antigravity-cli"))},astrbot:{name:"astrbot",displayName:"AstrBot",skillsDir:"data/skills",get globalSkillsDir(){return join(l(),".astrbot/data/skills")},detectInstalled:async()=>existsSync(join(process.cwd(),"data/skills"))||existsSync(join(l(),".astrbot"))},"autohand-code":{name:"autohand-code",displayName:"Autohand Code CLI",skillsDir:".autohand/skills",get globalSkillsDir(){return join(f(),"skills")},detectInstalled:async()=>existsSync(f())},augment:{name:"augment",displayName:"Augment",skillsDir:".augment/skills",get globalSkillsDir(){return join(l(),".augment/skills")},detectInstalled:async()=>existsSync(join(l(),".augment"))},bob:{name:"bob",displayName:"IBM Bob",skillsDir:".bob/skills",get globalSkillsDir(){return join(l(),".bob/skills")},detectInstalled:async()=>existsSync(join(l(),".bob"))},"claude-code":{name:"claude-code",displayName:"Claude Code",skillsDir:".claude/skills",get globalSkillsDir(){return join(y(),"skills")},detectInstalled:async()=>existsSync(y())},openclaw:{name:"openclaw",displayName:"OpenClaw",skillsDir:".openclaw/skills",get globalSkillsDir(){return E()},detectInstalled:async()=>existsSync(join(l(),".openclaw"))||existsSync(join(l(),".clawdbot"))||existsSync(join(l(),".moltbot"))},cline:{name:"cline",displayName:"Cline",skillsDir:".agents/skills",get globalSkillsDir(){return join(l(),".agents","skills")},detectInstalled:async()=>existsSync(join(l(),".cline"))},"codearts-agent":{name:"codearts-agent",displayName:"CodeArts Agent",skillsDir:".codeartsdoer/skills",get globalSkillsDir(){return join(l(),".codeartsdoer/skills")},detectInstalled:async()=>existsSync(join(l(),".codeartsdoer"))},codebuddy:{name:"codebuddy",displayName:"CodeBuddy",skillsDir:".codebuddy/skills",get globalSkillsDir(){return join(l(),".codebuddy/skills")},detectInstalled:async()=>existsSync(join(process.cwd(),".codebuddy"))||existsSync(join(l(),".codebuddy"))},codemaker:{name:"codemaker",displayName:"Codemaker",skillsDir:".codemaker/skills",get globalSkillsDir(){return join(l(),".codemaker/skills")},detectInstalled:async()=>existsSync(join(l(),".codemaker"))},codestudio:{name:"codestudio",displayName:"Code Studio",skillsDir:".codestudio/skills",get globalSkillsDir(){return join(l(),".codestudio/skills")},detectInstalled:async()=>existsSync(join(l(),".codestudio"))},codex:{name:"codex",displayName:"Codex",skillsDir:".agents/skills",get globalSkillsDir(){return join(p(),"skills")},detectInstalled:async()=>existsSync(p())||existsSync("/etc/codex")},"command-code":{name:"command-code",displayName:"Command Code",skillsDir:".commandcode/skills",get globalSkillsDir(){return join(l(),".commandcode/skills")},detectInstalled:async()=>existsSync(join(l(),".commandcode"))},continue:{name:"continue",displayName:"Continue",skillsDir:".continue/skills",get globalSkillsDir(){return join(l(),".continue/skills")},detectInstalled:async()=>existsSync(join(process.cwd(),".continue"))||existsSync(join(l(),".continue"))},cortex:{name:"cortex",displayName:"Cortex Code",skillsDir:".cortex/skills",get globalSkillsDir(){return join(l(),".snowflake/cortex/skills")},detectInstalled:async()=>existsSync(join(l(),".snowflake/cortex"))},crush:{name:"crush",displayName:"Crush",skillsDir:".crush/skills",get globalSkillsDir(){return join(l(),".config/crush/skills")},detectInstalled:async()=>existsSync(join(l(),".config/crush"))},cursor:{name:"cursor",displayName:"Cursor",skillsDir:".agents/skills",get globalSkillsDir(){return join(l(),".cursor/skills")},detectInstalled:async()=>existsSync(join(l(),".cursor"))},deepagents:{name:"deepagents",displayName:"Deep Agents",skillsDir:".agents/skills",get globalSkillsDir(){return join(l(),".deepagents/agent/skills")},detectInstalled:async()=>existsSync(join(l(),".deepagents"))},devin:{name:"devin",displayName:"Devin for Terminal",skillsDir:".devin/skills",get globalSkillsDir(){return join(o(),"devin/skills")},detectInstalled:async()=>existsSync(join(o(),"devin"))},dexto:{name:"dexto",displayName:"Dexto",skillsDir:".agents/skills",get globalSkillsDir(){return join(l(),".agents/skills")},detectInstalled:async()=>existsSync(join(l(),".dexto"))},droid:{name:"droid",displayName:"Droid",skillsDir:".factory/skills",get globalSkillsDir(){return join(l(),".factory/skills")},detectInstalled:async()=>existsSync(join(l(),".factory"))},eve:{name:"eve",displayName:"Eve",skillsDir:"agent/skills",globalSkillsDir:void 0,detectInstalled:async()=>{let t=process.cwd();return existsSync(join(t,"agent"))&&G(join(t,"package.json"),"eve")}},firebender:{name:"firebender",displayName:"Firebender",skillsDir:".agents/skills",get globalSkillsDir(){return join(l(),".firebender/skills")},detectInstalled:async()=>existsSync(join(l(),".firebender"))},forgecode:{name:"forgecode",displayName:"ForgeCode",skillsDir:".forge/skills",get globalSkillsDir(){return join(l(),".forge/skills")},detectInstalled:async()=>existsSync(join(l(),".forge"))},"gemini-cli":{name:"gemini-cli",displayName:"Gemini CLI",skillsDir:".agents/skills",get globalSkillsDir(){return join(l(),".gemini/skills")},detectInstalled:async()=>existsSync(join(l(),".gemini"))},"github-copilot":{name:"github-copilot",displayName:"GitHub Copilot",skillsDir:".agents/skills",get globalSkillsDir(){return join(l(),".copilot/skills")},detectInstalled:async()=>existsSync(join(l(),".copilot"))},goose:{name:"goose",displayName:"Goose",skillsDir:".goose/skills",get globalSkillsDir(){return join(o(),"goose/skills")},detectInstalled:async()=>existsSync(join(o(),"goose"))},"hermes-agent":{name:"hermes-agent",displayName:"Hermes Agent",skillsDir:".hermes/skills",get globalSkillsDir(){return join(b(),"skills")},detectInstalled:async()=>existsSync(b())},"inference-sh":{name:"inference-sh",displayName:"inference.sh",skillsDir:".inferencesh/skills",get globalSkillsDir(){return join(l(),".inferencesh/skills")},detectInstalled:async()=>existsSync(join(l(),".inferencesh"))},jazz:{name:"jazz",displayName:"Jazz",skillsDir:".jazz/skills",get globalSkillsDir(){return join(l(),".jazz/skills")},detectInstalled:async()=>existsSync(join(l(),".jazz"))||existsSync(join(process.cwd(),".jazz"))},junie:{name:"junie",displayName:"Junie",skillsDir:".junie/skills",get globalSkillsDir(){return join(l(),".junie/skills")},detectInstalled:async()=>existsSync(join(l(),".junie"))},"iflow-cli":{name:"iflow-cli",displayName:"iFlow CLI",skillsDir:".iflow/skills",get globalSkillsDir(){return join(l(),".iflow/skills")},detectInstalled:async()=>existsSync(join(l(),".iflow"))},kilo:{name:"kilo",displayName:"Kilo Code",skillsDir:".kilocode/skills",get globalSkillsDir(){return join(l(),".kilocode/skills")},detectInstalled:async()=>existsSync(join(l(),".kilocode"))},"kimi-code-cli":{name:"kimi-code-cli",displayName:"Kimi Code CLI",skillsDir:".agents/skills",get globalSkillsDir(){return join(l(),".agents/skills")},detectInstalled:async()=>existsSync(join(l(),".kimi-code"))||existsSync(join(l(),".kimi"))},"kiro-cli":{name:"kiro-cli",displayName:"Kiro CLI",skillsDir:".kiro/skills",get globalSkillsDir(){return join(l(),".kiro/skills")},detectInstalled:async()=>existsSync(join(l(),".kiro"))},kode:{name:"kode",displayName:"Kode",skillsDir:".kode/skills",get globalSkillsDir(){return join(l(),".kode/skills")},detectInstalled:async()=>existsSync(join(l(),".kode"))},lingma:{name:"lingma",displayName:"Lingma",skillsDir:".lingma/skills",get globalSkillsDir(){return join(l(),".lingma/skills")},detectInstalled:async()=>existsSync(join(l(),".lingma"))},loaf:{name:"loaf",displayName:"Loaf",skillsDir:".agents/skills",get globalSkillsDir(){return join(l(),".agents/skills")},detectInstalled:async()=>existsSync(join(l(),".loaf"))},mcpjam:{name:"mcpjam",displayName:"MCPJam",skillsDir:".mcpjam/skills",get globalSkillsDir(){return join(l(),".mcpjam/skills")},detectInstalled:async()=>existsSync(join(l(),".mcpjam"))},"mistral-vibe":{name:"mistral-vibe",displayName:"Mistral Vibe",skillsDir:".vibe/skills",get globalSkillsDir(){return join(D(),"skills")},detectInstalled:async()=>existsSync(D())},moxby:{name:"moxby",displayName:"Moxby",skillsDir:".moxby/skills",get globalSkillsDir(){return join(l(),".moxby/skills")},detectInstalled:async()=>existsSync(join(l(),".moxby"))},mux:{name:"mux",displayName:"Mux",skillsDir:".mux/skills",get globalSkillsDir(){return join(l(),".mux/skills")},detectInstalled:async()=>existsSync(join(l(),".mux"))},opencode:{name:"opencode",displayName:"OpenCode",skillsDir:".agents/skills",get globalSkillsDir(){return join(o(),"opencode/skills")},detectInstalled:async()=>existsSync(join(o(),"opencode"))},openhands:{name:"openhands",displayName:"OpenHands",skillsDir:".openhands/skills",get globalSkillsDir(){return join(l(),".openhands/skills")},detectInstalled:async()=>existsSync(join(l(),".openhands"))},ona:{name:"ona",displayName:"Ona",skillsDir:".ona/skills",get globalSkillsDir(){return join(l(),".ona/skills")},detectInstalled:async()=>existsSync(join(l(),".ona"))},pi:{name:"pi",displayName:"Pi",skillsDir:".pi/skills",get globalSkillsDir(){return join(l(),".pi/agent/skills")},detectInstalled:async()=>existsSync(join(l(),".pi/agent"))},qoder:{name:"qoder",displayName:"Qoder",skillsDir:".qoder/skills",get globalSkillsDir(){return join(l(),".qoder/skills")},detectInstalled:async()=>existsSync(join(l(),".qoder"))},"qoder-cn":{name:"qoder-cn",displayName:"Qoder CN",skillsDir:".qoder/skills",get globalSkillsDir(){return join(l(),".qoder-cn/skills")},detectInstalled:async()=>existsSync(join(l(),".qoder-cn"))},"qwen-code":{name:"qwen-code",displayName:"Qwen Code",skillsDir:".qwen/skills",get globalSkillsDir(){return join(l(),".qwen/skills")},detectInstalled:async()=>existsSync(join(l(),".qwen"))},replit:{name:"replit",displayName:"Replit",skillsDir:".agents/skills",get globalSkillsDir(){return join(o(),"agents/skills")},detectInstalled:async()=>existsSync(join(process.cwd(),".replit"))},reasonix:{name:"reasonix",displayName:"Reasonix",skillsDir:".reasonix/skills",get globalSkillsDir(){return join(l(),".reasonix/skills")},detectInstalled:async()=>existsSync(join(l(),".reasonix"))},rovodev:{name:"rovodev",displayName:"Rovo Dev",skillsDir:".rovodev/skills",get globalSkillsDir(){return join(l(),".rovodev/skills")},detectInstalled:async()=>existsSync(join(l(),".rovodev"))},roo:{name:"roo",displayName:"Roo Code",skillsDir:".roo/skills",get globalSkillsDir(){return join(l(),".roo/skills")},detectInstalled:async()=>existsSync(join(l(),".roo"))},"tabnine-cli":{name:"tabnine-cli",displayName:"Tabnine CLI",skillsDir:".tabnine/agent/skills",get globalSkillsDir(){return join(l(),".tabnine/agent/skills")},detectInstalled:async()=>existsSync(join(l(),".tabnine"))},terramind:{name:"terramind",displayName:"Terramind",skillsDir:".terramind/skills",get globalSkillsDir(){return join(l(),".terramind/skills")},detectInstalled:async()=>existsSync(join(l(),".terramind"))},tinycloud:{name:"tinycloud",displayName:"Tinycloud",skillsDir:".tinycloud/skills",get globalSkillsDir(){return join(l(),".tinycloud/skills")},detectInstalled:async()=>existsSync(join(l(),".tinycloud"))},trae:{name:"trae",displayName:"Trae",skillsDir:".trae/skills",get globalSkillsDir(){return join(l(),".trae/skills")},detectInstalled:async()=>existsSync(join(l(),".trae"))},"trae-cn":{name:"trae-cn",displayName:"Trae CN",skillsDir:".trae/skills",get globalSkillsDir(){return join(l(),".trae-cn/skills")},detectInstalled:async()=>existsSync(join(l(),".trae-cn"))},warp:{name:"warp",displayName:"Warp",skillsDir:".agents/skills",get globalSkillsDir(){return join(l(),".agents/skills")},detectInstalled:async()=>existsSync(join(l(),".warp"))},windsurf:{name:"windsurf",displayName:"Windsurf",skillsDir:".windsurf/skills",get globalSkillsDir(){return join(l(),".codeium/windsurf/skills")},detectInstalled:async()=>existsSync(join(l(),".codeium/windsurf"))},zed:{name:"zed",displayName:"Zed",skillsDir:".agents/skills",get globalSkillsDir(){return join(l(),".agents/skills")},detectInstalled:async()=>existsSync(join(o(),"zed"))||!!S()&&existsSync(join(S(),"Zed"))||!!I()&&existsSync(join(I(),"zed"))},zencoder:{name:"zencoder",displayName:"Zencoder",skillsDir:".zencoder/skills",get globalSkillsDir(){return join(l(),".zencoder/skills")},detectInstalled:async()=>existsSync(join(l(),".zencoder"))},zenflow:{name:"zenflow",displayName:"Zenflow",skillsDir:".zencoder/skills",get globalSkillsDir(){return join(l(),".zencoder/skills")},detectInstalled:async()=>existsSync(join(l(),".zencoder"))},neovate:{name:"neovate",displayName:"Neovate",skillsDir:".neovate/skills",get globalSkillsDir(){return join(l(),".neovate/skills")},detectInstalled:async()=>existsSync(join(l(),".neovate"))},pochi:{name:"pochi",displayName:"Pochi",skillsDir:".pochi/skills",get globalSkillsDir(){return join(l(),".pochi/skills")},detectInstalled:async()=>existsSync(join(l(),".pochi"))},promptscript:{name:"promptscript",displayName:"PromptScript",skillsDir:".agents/skills",globalSkillsDir:void 0,detectInstalled:async()=>existsSync(join(process.cwd(),".promptscript"))||existsSync(join(process.cwd(),"promptscript.yaml"))},adal:{name:"adal",displayName:"AdaL",skillsDir:".adal/skills",get globalSkillsDir(){return join(l(),".adal/skills")},detectInstalled:async()=>existsSync(join(l(),".adal"))},universal:{name:"universal",displayName:"Universal",skillsDir:".agents/skills",get globalSkillsDir(){return join(o(),"agents/skills")},detectInstalled:async()=>false}};async function V(){return (await Promise.all(Object.entries(a).map(async([n,i])=>({type:n,installed:await i.detectInstalled()})))).filter(n=>n.installed).map(n=>n.type)}function X(t){return a[t]}var v=join("agent","subagents");function R(t=process.cwd()){let n=join(t,v);if(!existsSync(n))return [];try{return readdirSync(n,{withFileTypes:!0}).filter(i=>i.isDirectory()).map(i=>i.name).sort()}catch{return []}}function w(t,n){let i=a[t];if(n==="project")return i.skillsDir===".agents/skills";if(i.globalSkillsDir===void 0)return false;let r=resolve(k()||homedir(),".agents","skills");return resolve(i.globalSkillsDir)===r}function _(t){return Object.entries(a).filter(([n])=>w(n,t)).map(([n])=>n)}function Y(t){let n=new Set(_(t));return Object.keys(a).filter(i=>!n.has(i))}var x=/^\.[^/]+\/skills$/;function C(){let t=new Set;for(let n of Object.values(a))n.skillsDir&&x.test(n.skillsDir)&&t.add(n.skillsDir);return Array.from(t).sort()}function q(){let t=new Set;for(let n of Object.values(a))n.globalSkillsDir!==void 0&&t.add(n.globalSkillsDir);return Array.from(t).sort()}function ee(){let t=C(),n=q(),i=Array.from(new Set([...t,...n])).sort();return {project:t,global:n,all:i}}function le(){return C().map(t=>`${t}/`)}function se(t,n){let i=a[t];return n==="global"?w(t,"global"):i.skillsDir===".agents/skills"}var h="*";function te(t){if(!t||t.length===0)return [];let n=Object.keys(a),i=[];for(let r of t)if(r!==h){if(r.includes("/")||r.includes("**")){i.push(r);continue}j.test(r)?n.some(d=>Wildcard.match(d,r))||i.push(r):n.includes(r)||i.push(r);}return i}function ne(t){if(!t||t.length===0)return [];let n=Object.keys(a);if(t.includes(h))return [...n];if(t.some(i=>j.test(i))){let i=new Set;for(let r of t)if(!(r.includes("/")||r.includes("**")))for(let d of n)Wildcard.match(d,r)&&i.add(d);return Array.from(i)}return Array.from(new Set(t.filter(i=>!i.includes("/")&&!i.includes("**"))))}var j=/[*?[{}]/;function F(t={}){let n=t.cwd??process.cwd(),i=t.agentFilter??Object.keys(a),r=new Set;for(let d of i){let k=a[d];if(!k.skillsDir||!x.test(k.skillsDir))continue;let T=k.skillsDir===".agents/skills"?join(n,".agents","skills"):join(n,k.skillsDir);if(d==="eve")for(let z of R(n)){let O=join(n,v,z,"skills");r.add(g(`${O}/**/SKILL.md`));}r.add(g(`${T}/**/SKILL.md`));}return Array.from(r).sort()}function M(t={}){let n=t.agentFilter??Object.keys(a),i=new Set;for(let r of n){let d=a[r];d.globalSkillsDir!==void 0&&i.add(g(`${d.globalSkillsDir}/**/SKILL.md`));}return Array.from(i).sort()}function ie(t={}){let n=F(t),i=M(t),r=Array.from(new Set([...n,...i])).sort();return {project:n,global:i,all:r}}function g(t){return t.replace(/\\/g,"/")}function re(){let t=new Set;for(let i of Object.values(a)){if(i.globalSkillsDir===void 0)continue;let r=g(i.globalSkillsDir);r!==""&&t.add(r);}let n=g(join(k()||homedir(),".agents","skills"));return t.add(n),Array.from(t).sort()}export{E as a,a as b,V as c,X as d,v as e,R as f,w as g,_ as h,Y as i,x as j,C as k,q as l,ee as m,le as n,se as o,te as p,ne as q,ie as r,re as s};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import {p,J as J$1}from'./chunk-5W7HC7BY.mjs';import {m as m$1}from'./chunk-RWZ4LFSN.mjs';import {readFile,mkdir,writeFile}from'fs/promises';import {join,dirname}from'path';import {createHash}from'crypto';import {execSync}from'child_process';import n from'picocolors';var x=".skill-lock.json",d=6;function m(){return join(m$1(),"skills",x)}async function o(){let t=m();return await E(t)??F()}async function E(t){try{let i=await readFile(t,"utf-8"),e=JSON.parse(i);return typeof e.version!="number"||!e.skills||e.version<d?null:e}catch{return null}}async function c(t){let i=m();await mkdir(dirname(i),{recursive:true});let e=JSON.stringify(t,null,2);await writeFile(i,e,"utf-8");}function _(t){return createHash("sha256").update(t,"utf-8").digest("hex")}var l=false;function D(){l=false;}function $(){if(process.env.GITHUB_TOKEN)return process.env.GITHUB_TOKEN;if(process.env.GH_TOKEN)return process.env.GH_TOKEN;l||(process.stderr.write(`${n.yellow("\u2502")} ${n.yellow("GitHub rate limit reached")} \u2014 using your ${n.cyan("gh")} login to continue.
|
|
2
|
+
${n.yellow("\u2502")} ${n.dim(`Tip: set ${n.cyan("GITHUB_TOKEN")} to avoid this prompt, or use ${n.cyan("--full-depth")} to clone instead.
|
|
3
|
+
`)}`),l=true);try{let t=execSync("gh auth token",{encoding:"utf-8",stdio:["pipe","pipe","pipe"]}).trim();if(t)return t}catch{}return null}async function K(t,i,e,r){let{fetchRepoTree:s,getSkillFolderHashFromTree:f}=await import('./blob-3PZEQWTP.mjs'),a=await s(t,r,e??void 0);return a?f(a,i):null}async function B(t,i){let e=await o(),r=new Date().toISOString(),s=e.skills[t];e.skills[t]={...i,installedAt:s?.installedAt??r,updatedAt:r},await c(e);}async function U(t){let i=await o();return t in i.skills?(delete i.skills[t],await c(i),true):false}async function j(t){return (await o()).skills[t]??null}async function C(){return (await o()).skills}async function J(){let t=await o(),i=new Map;for(let[e,r]of Object.entries(t.skills)){let s=i.get(r.source);s?s.skills.push(e):i.set(r.source,{skills:[e],entry:r});}return i}function F(){return {version:d,skills:{},dismissed:{}}}async function M(t){return (await o()).dismissed?.[t]===true}function W(t,i){return t?p(t,J$1(),i):null}async function V(t){let i=await o();i.dismissed||(i.dismissed={}),i.dismissed[t]=true,await c(i);}export{d as a,m as b,o as c,c as d,_ as e,D as f,$ as g,K as h,B as i,U as j,j as k,C as l,J as m,M as n,W as o,V as p};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import {a,c}from'./chunk-ZYDDQV73.mjs';var C=/\x1b\[[\x30-\x3f]*[\x20-\x2f]*[\x40-\x7e]/g,I=/\x1b\][\s\S]*?(?:\x07|\x1b\\)/g,E=/\x1b[P^_][\s\S]*?(?:\x1b\\)/g,T=/\x1b[\x20-\x7e]/g,D=/[\x80-\x9f]/g,A=/[\x00-\x06\x07\x08\x0b\x0c\x0d-\x1a\x1c-\x1f\x7f]/g;function B(n){return n.replace(I,"").replace(E,"").replace(C,"").replace(T,"").replace(D,"").replace(A,"")}function b(n){return B(n).replace(/[\r\n]+/g," ").trim()}var H=process.env.SKILLS_DOWNLOAD_URL||"https://skills.sh",$={},V=["houjallen","vercel-labs","anthropics"],L=1e4;function M(n){return n.toLowerCase().replace(/[\s_]+/g,"-").replace(/[^a-z0-9-]/g,"").replace(/-+/g,"-").replace(/^-|-$/g,"")}var w=false;function X(){w=false;}async function x(n,r,t){try{let a=`https://api.github.com/repos/${n}/git/trees/${encodeURIComponent(r)}?recursive=1`,s={Accept:"application/vnd.github.v3+json","User-Agent":"skills-cli"};t&&(s.Authorization=`Bearer ${t}`);let l=await fetch(a,{headers:s,signal:AbortSignal.timeout(L)});if(l.ok){let i=await l.json();return {tree:{sha:i.sha,branch:r,tree:i.tree},rateLimited:!1}}return {tree:null,rateLimited:l.status===403&&l.headers.get("x-ratelimit-remaining")==="0"}}catch{return {tree:null,rateLimited:false}}}async function P(n,r,t){let a=r?[r]:["HEAD","main","master"];if(w&&t){let u=t();if(!u)return null;for(let i of a){let p=await x(n,i,u);if(p.tree)return p.tree}return null}let s=false;for(let u of a){let i=await x(n,u,null);if(i.tree)return i.tree;if(i.rateLimited){s=true;break}}if(!s||!t)return null;w=true;let l=t();if(!l)return null;for(let u of a){let i=await x(n,u,l);if(i.tree)return i.tree}return null}async function O(n,r,t){let a=await P(n,r,t);return a?{tree:a,snapshotHash:a.sha}:null}function F(n,r){let t=r.replace(/\\/g,"/");return t.toLowerCase().endsWith("/skill.md")?t=t.slice(0,-9):t.toLowerCase().endsWith("skill.md")&&(t=t.slice(0,-8)),t.endsWith("/")&&(t=t.slice(0,-1)),t?n.tree.find(s=>s.type==="tree"&&s.path===t)?.sha??null:n.sha}async function q(n,r,t,a){let s=await O(n,t,a);return s?F(s.tree,r):null}function W(n,r={}){let t=new Set(["node_modules",".git","dist","build","__pycache__"]),a=r.maxDepth??5,s=r.limit??100,l=r.subpath??"",i=(l?l.endsWith("/")?l.slice(0,-1):l:"").replace(/\\/g,"/"),p=n.tree.filter(e=>e.type==="blob"&&e.path.toLowerCase().endsWith("skill.md")).map(e=>e.path);if(p.length===0)return [];let h=[],S=new Set;for(let e of p){if(i!==""&&e!==i&&e!==`${i}.SKILL.md`&&!e.startsWith(`${i}/`))continue;let o=e.split("/");o.length<1||o.length>a||o[o.length-1].toLowerCase()==="skill.md"&&(o.some(c=>t.has(c)||c===".well-known")||S.has(e)||(S.add(e),h.push(e)));}return h.length>s?(console.warn(`[blob.findSkillMdPaths] tree has ${h.length} SKILL.md > limit=${s}\uFF0C\u5DF2\u622A\u65AD\u3002\u8981\u62FF\u5168\u90E8\u4F20 \`limit: Infinity\`\u3002`),h.slice(0,s)):h}async function U(n,r,t){try{let a=`https://raw.githubusercontent.com/${n}/${r}/${t}`,s=await fetch(a,{signal:AbortSignal.timeout(L)});return s.ok?await s.text():null}catch{return null}}async function v(n,r){try{let[t,a]=n.split("/"),s=`${H}/api/download/${encodeURIComponent(t)}/${encodeURIComponent(a)}/${encodeURIComponent(r)}`,u=$[n.toLowerCase()]?.downloadUrl(r)??s,i=await fetch(u,{signal:AbortSignal.timeout(L)});return i.ok?await i.json():null}catch{return null}}async function J(n,r={}){let t=await P(n,r.ref,r.getToken);if(!t)return null;let a$1=W(t,{subpath:r.subpath});if(a$1.length===0)return null;let s=await Promise.all(a$1.map(async e=>{let o=await U(n,t.branch,e);return {mdPath:e,content:o}})),l=[];for(let{mdPath:e,content:o}of s){if(!o)continue;let{data:c}=a(o);if(!c.name||!c.description||typeof c.name!="string"||typeof c.description!="string"||c.metadata?.internal===true&&!r.includeInternal)continue;let d=b(c.name),m=b(c.description);l.push({mdPath:e,name:d,description:m,content:o,slug:M(d),metadata:c.metadata});}if(l.length===0)return null;let u=n.toLowerCase(),i=await Promise.all(l.map(async e=>{let o=await v(u,e.slug);return {skill:e,download:o}}));if(!i.every(e=>e.download!==null))return null;let h=i.map(({skill:e,download:o})=>{let c$1=e.mdPath.toLowerCase(),g=c$1.endsWith("/skill.md")?e.mdPath.slice(0,-9):c$1==="skill.md"?"":e.mdPath.slice(0,-9),d=g?o.files:o.files.filter(f=>f.path.toLowerCase()==="skill.md"),m=g?d.map(f=>({path:f.path.startsWith(`${g}/`)?f.path.slice(g.length+1):f.path,contents:f.contents})):d;return {name:e.name,description:e.description,path:"",rawContent:e.content,metadata:e.metadata,files:m,snapshotHash:m.length===o.files.length?o.hash:c(m),repoPath:e.mdPath,repoSubpath:r.subpath}}),S=t.sha;return {skills:h,tree:t,subpath:r.subpath,snapshotHash:S}}
|
|
2
|
+
export{B as a,b,$ as c,V as d,M as e,X as f,P as g,O as h,F as i,q as j,W as k,J as l};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use strict';var chunkE7AHWFZN_cjs=require('./chunk-E7AHWFZN.cjs');var _=/\x1b\[[\x30-\x3f]*[\x20-\x2f]*[\x40-\x7e]/g,C=/\x1b\][\s\S]*?(?:\x07|\x1b\\)/g,I=/\x1b[P^_][\s\S]*?(?:\x1b\\)/g,E=/\x1b[\x20-\x7e]/g,T=/[\x80-\x9f]/g,D=/[\x00-\x06\x07\x08\x0b\x0c\x0d-\x1a\x1c-\x1f\x7f]/g;function A(n){return n.replace(C,"").replace(I,"").replace(_,"").replace(E,"").replace(T,"").replace(D,"")}function b(n){return A(n).replace(/[\r\n]+/g," ").trim()}var B=process.env.SKILLS_DOWNLOAD_URL||"https://skills.sh",H={},G=["houjallen","vercel-labs","anthropics"],L=1e4;function $(n){return n.toLowerCase().replace(/[\s_]+/g,"-").replace(/[^a-z0-9-]/g,"").replace(/-+/g,"-").replace(/^-|-$/g,"")}var w=false;function V(){w=false;}async function x(n,r,t){try{let a=`https://api.github.com/repos/${n}/git/trees/${encodeURIComponent(r)}?recursive=1`,s={Accept:"application/vnd.github.v3+json","User-Agent":"skills-cli"};t&&(s.Authorization=`Bearer ${t}`);let l=await fetch(a,{headers:s,signal:AbortSignal.timeout(L)});if(l.ok){let i=await l.json();return {tree:{sha:i.sha,branch:r,tree:i.tree},rateLimited:!1}}return {tree:null,rateLimited:l.status===403&&l.headers.get("x-ratelimit-remaining")==="0"}}catch{return {tree:null,rateLimited:false}}}async function P(n,r,t){let a=r?[r]:["HEAD","main","master"];if(w&&t){let u=t();if(!u)return null;for(let i of a){let p=await x(n,i,u);if(p.tree)return p.tree}return null}let s=false;for(let u of a){let i=await x(n,u,null);if(i.tree)return i.tree;if(i.rateLimited){s=true;break}}if(!s||!t)return null;w=true;let l=t();if(!l)return null;for(let u of a){let i=await x(n,u,l);if(i.tree)return i.tree}return null}async function M(n,r,t){let a=await P(n,r,t);return a?{tree:a,snapshotHash:a.sha}:null}function O(n,r){let t=r.replace(/\\/g,"/");return t.toLowerCase().endsWith("/skill.md")?t=t.slice(0,-9):t.toLowerCase().endsWith("skill.md")&&(t=t.slice(0,-8)),t.endsWith("/")&&(t=t.slice(0,-1)),t?n.tree.find(s=>s.type==="tree"&&s.path===t)?.sha??null:n.sha}async function X(n,r,t,a){let s=await M(n,t,a);return s?O(s.tree,r):null}function F(n,r={}){let t=new Set(["node_modules",".git","dist","build","__pycache__"]),a=r.maxDepth??5,s=r.limit??100,l=r.subpath??"",i=(l?l.endsWith("/")?l.slice(0,-1):l:"").replace(/\\/g,"/"),p=n.tree.filter(e=>e.type==="blob"&&e.path.toLowerCase().endsWith("skill.md")).map(e=>e.path);if(p.length===0)return [];let h=[],S=new Set;for(let e of p){if(i!==""&&e!==i&&e!==`${i}.SKILL.md`&&!e.startsWith(`${i}/`))continue;let o=e.split("/");o.length<1||o.length>a||o[o.length-1].toLowerCase()==="skill.md"&&(o.some(c=>t.has(c)||c===".well-known")||S.has(e)||(S.add(e),h.push(e)));}return h.length>s?(console.warn(`[blob.findSkillMdPaths] tree has ${h.length} SKILL.md > limit=${s}\uFF0C\u5DF2\u622A\u65AD\u3002\u8981\u62FF\u5168\u90E8\u4F20 \`limit: Infinity\`\u3002`),h.slice(0,s)):h}async function W(n,r,t){try{let a=`https://raw.githubusercontent.com/${n}/${r}/${t}`,s=await fetch(a,{signal:AbortSignal.timeout(L)});return s.ok?await s.text():null}catch{return null}}async function U(n,r){try{let[t,a]=n.split("/"),s=`${B}/api/download/${encodeURIComponent(t)}/${encodeURIComponent(a)}/${encodeURIComponent(r)}`,u=H[n.toLowerCase()]?.downloadUrl(r)??s,i=await fetch(u,{signal:AbortSignal.timeout(L)});return i.ok?await i.json():null}catch{return null}}async function q(n,r={}){let t=await P(n,r.ref,r.getToken);if(!t)return null;let a=F(t,{subpath:r.subpath});if(a.length===0)return null;let s=await Promise.all(a.map(async e=>{let o=await W(n,t.branch,e);return {mdPath:e,content:o}})),l=[];for(let{mdPath:e,content:o}of s){if(!o)continue;let{data:c}=chunkE7AHWFZN_cjs.a(o);if(!c.name||!c.description||typeof c.name!="string"||typeof c.description!="string"||c.metadata?.internal===true&&!r.includeInternal)continue;let d=b(c.name),m=b(c.description);l.push({mdPath:e,name:d,description:m,content:o,slug:$(d),metadata:c.metadata});}if(l.length===0)return null;let u=n.toLowerCase(),i=await Promise.all(l.map(async e=>{let o=await U(u,e.slug);return {skill:e,download:o}}));if(!i.every(e=>e.download!==null))return null;let h=i.map(({skill:e,download:o})=>{let c=e.mdPath.toLowerCase(),g=c.endsWith("/skill.md")?e.mdPath.slice(0,-9):c==="skill.md"?"":e.mdPath.slice(0,-9),d=g?o.files:o.files.filter(f=>f.path.toLowerCase()==="skill.md"),m=g?d.map(f=>({path:f.path.startsWith(`${g}/`)?f.path.slice(g.length+1):f.path,contents:f.contents})):d;return {name:e.name,description:e.description,path:"",rawContent:e.content,metadata:e.metadata,files:m,snapshotHash:m.length===o.files.length?o.hash:chunkE7AHWFZN_cjs.c(m),repoPath:e.mdPath,repoSubpath:r.subpath}}),S=t.sha;return {skills:h,tree:t,subpath:r.subpath,snapshotHash:S}}
|
|
2
|
+
exports.a=A;exports.b=b;exports.c=H;exports.d=G;exports.e=$;exports.f=V;exports.g=P;exports.h=M;exports.i=O;exports.j=X;exports.k=F;exports.l=q;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {homedir}from'os';import {join,resolve,sep}from'path';import {realpathSync}from'fs';import {xdgConfig,xdgState,xdgData,xdgCache}from'xdg-basedir';var r=null,o=null,s=null;function y(t){r=t;}function G(){r=null;}function i(){if(r)return r;let t=homedir();return {Path:{home:t,data:process.env.EASBOT_DATA_PATH?.trim()||join(xdgData??join(t,".local","share"),"easbot"),config:process.env.EASBOT_CONFIG_PATH?.trim()||xdgConfig||join(t,".config"),state:process.env.EASBOT_STATE_PATH?.trim()||join(xdgState??join(xdgData??join(t,".local","share"),"easbot"),"state"),cache:process.env.EASBOT_CACHE_PATH?.trim()||join(xdgCache??join(t,".cache"),"easbot"),log:process.env.EASBOT_LOG_PATH?.trim()||join(xdgState??join(xdgData??join(t,".local","share"),"easbot"),"log"),bin:process.env.EASBOT_BIN_PATH?.trim()||join(t,".local","bin")}}}function w(t){o=t;}function H(){o=null;}function S(){if(o)return o;let t=process.cwd();return {directory:t,worktree:t}}function j(t){s=t,t&&(r=t.global,o=t.instance);}function B(){return s}function C(){return s!==null}function R(){if(!s)throw new Error("Skills agent adapter not set. Call setAgentAdapter() before using skills commands that depend on subAgentRunner.");return s}function p(){let t=process.env.EASBOT_TEST_HOME?.trim();if(t)return t;let n=i().Path.home;return n||homedir()}function D(){let t=i().Path.config;return t||(xdgConfig??join(p(),".config"))}function v(){let t=i().Path.data;return t||(xdgData??join(p(),".local","share"))}function X(){let t=i().Path.state;return t||(xdgState??join(v(),"state"))}function N(){let t=i().Path.cache;return t||(xdgCache??join(p(),".cache"))}function q(){return S().directory||process.cwd()}function F(t){let n=resolve(t),u=n.split(sep).filter(Boolean);for(let l=1;l<=u.length;l+=1){let I=sep+u.slice(0,l).join(sep);try{let d=realpathSync(I),A=u.slice(l).join(sep);return A?join(d,A):d}catch{}}return n}export{y as a,G as b,i as c,w as d,H as e,S as f,j as g,B as h,C as i,R as j,p as k,D as l,v as m,X as n,N as o,q as p,F as q};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use strict';var u="https://add-skill.vercel.sh/t",m="https://add-skill.vercel.sh/audit",a=null,o=null;function v(t){o=t;}function g(){return !!(process.env.CI||process.env.GITHUB_ACTIONS||process.env.GITLAB_CI||process.env.CIRCLECI||process.env.TRAVIS||process.env.BUILDKITE||process.env.JENKINS_URL||process.env.TEAMCITY_VERSION)}function T(){return !process.env.DISABLE_TELEMETRY&&!process.env.DO_NOT_TRACK}function f(t){a=t;}async function p(t,e,n=3e3){if(e.length===0)return null;try{let s=new URLSearchParams({source:t,skills:e.join(",")}),r=new AbortController,c=setTimeout(()=>r.abort(),n),l=await fetch(`${m}?${s.toString()}`,{signal:r.signal});return clearTimeout(c),l.ok?await l.json():null}catch{return null}}var i=[];function y(t){if(T())try{let e=new URLSearchParams;a&&e.set("v",a),g()&&e.set("ci","1"),o&&e.set("agent",o);for(let[s,r]of Object.entries(t))r!=null&&e.set(s,String(r));let n=fetch(`${u}?${e.toString()}`).catch(()=>{}).then(()=>{});i.push(n);}catch{}}async function D(t=5e3){if(i.length===0)return;let e=new Promise(n=>setTimeout(n,t));await Promise.race([Promise.all(i),e]);}
|
|
2
|
+
exports.a=v;exports.b=f;exports.c=p;exports.d=y;exports.e=D;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
'use strict';var chunkCXH3OTTQ_cjs=require('./chunk-CXH3OTTQ.cjs'),chunkXGUPIAAF_cjs=require('./chunk-XGUPIAAF.cjs'),promises=require('fs/promises'),path=require('path'),crypto=require('crypto'),child_process=require('child_process'),n=require('picocolors');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var n__default=/*#__PURE__*/_interopDefault(n);var x=".skill-lock.json",d=6;function m(){return path.join(chunkXGUPIAAF_cjs.m(),"skills",x)}async function o(){let t=m();return await E(t)??F()}async function E(t){try{let i=await promises.readFile(t,"utf-8"),e=JSON.parse(i);return typeof e.version!="number"||!e.skills||e.version<d?null:e}catch{return null}}async function c(t){let i=m();await promises.mkdir(path.dirname(i),{recursive:true});let e=JSON.stringify(t,null,2);await promises.writeFile(i,e,"utf-8");}function R(t){return crypto.createHash("sha256").update(t,"utf-8").digest("hex")}var l=false;function _(){l=false;}function D(){if(process.env.GITHUB_TOKEN)return process.env.GITHUB_TOKEN;if(process.env.GH_TOKEN)return process.env.GH_TOKEN;l||(process.stderr.write(`${n__default.default.yellow("\u2502")} ${n__default.default.yellow("GitHub rate limit reached")} \u2014 using your ${n__default.default.cyan("gh")} login to continue.
|
|
2
|
+
${n__default.default.yellow("\u2502")} ${n__default.default.dim(`Tip: set ${n__default.default.cyan("GITHUB_TOKEN")} to avoid this prompt, or use ${n__default.default.cyan("--full-depth")} to clone instead.
|
|
3
|
+
`)}`),l=true);try{let t=child_process.execSync("gh auth token",{encoding:"utf-8",stdio:["pipe","pipe","pipe"]}).trim();if(t)return t}catch{}return null}async function $(t,i,e,r){let{fetchRepoTree:s,getSkillFolderHashFromTree:f}=await import('./blob-ZDEX2HRV.cjs'),a=await s(t,r,e??void 0);return a?f(a,i):null}async function K(t,i){let e=await o(),r=new Date().toISOString(),s=e.skills[t];e.skills[t]={...i,installedAt:s?.installedAt??r,updatedAt:r},await c(e);}async function B(t){let i=await o();return t in i.skills?(delete i.skills[t],await c(i),true):false}async function U(t){return (await o()).skills[t]??null}async function j(){return (await o()).skills}async function C(){let t=await o(),i=new Map;for(let[e,r]of Object.entries(t.skills)){let s=i.get(r.source);s?s.skills.push(e):i.set(r.source,{skills:[e],entry:r});}return i}function F(){return {version:d,skills:{},dismissed:{}}}async function J(t){return (await o()).dismissed?.[t]===true}function M(t,i){return t?chunkCXH3OTTQ_cjs.p(t,chunkCXH3OTTQ_cjs.J(),i):null}async function W(t){let i=await o();i.dismissed||(i.dismissed={}),i.dismissed[t]=true,await c(i);}exports.a=d;exports.b=m;exports.c=o;exports.d=c;exports.e=R;exports.f=_;exports.g=D;exports.h=$;exports.i=K;exports.j=B;exports.k=U;exports.l=j;exports.m=C;exports.n=J;exports.o=M;exports.p=W;
|