skillar 0.3.0 → 0.3.1
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/dist/cli/serve.js +15 -1
- package/dist/dashboard/assets/app.js +2 -2
- package/dist/packs/claude-code.js +22 -11
- package/dist/packs/cursor.js +9 -4
- package/dist/packs/gemini.js +9 -4
- package/dist/packs/json-config.js +41 -0
- package/dist/packs/omo.js +15 -6
- package/package.json +5 -5
package/dist/cli/serve.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { spawnSync } from "node:child_process";
|
|
2
|
-
import { existsSync, readFileSync, realpathSync } from "node:fs";
|
|
2
|
+
import { existsSync, readFileSync, realpathSync, writeFileSync } from "node:fs";
|
|
3
3
|
import { join } from "node:path";
|
|
4
4
|
import { fileURLToPath } from "node:url";
|
|
5
5
|
import { dbPath, loadConfig, resolveSkillarHome, resolveHome } from "../config.js";
|
|
@@ -29,9 +29,20 @@ export async function runServe(opts, env, io) {
|
|
|
29
29
|
const deps = makeCliDeps(env);
|
|
30
30
|
const config = opts.port === undefined ? deps.config : { ...deps.config, port: opts.port };
|
|
31
31
|
const server = await startServer(config, { skillarHome: deps.skillarHome, openStore: deps.openStore });
|
|
32
|
+
// Persist an explicit --port once the server is actually listening, so
|
|
33
|
+
// `skillar open --print` and doctor target the port the daemon runs on.
|
|
34
|
+
if (opts.port !== undefined && opts.port !== deps.config.port) {
|
|
35
|
+
writeConfigPort(deps.skillarHome, opts.port);
|
|
36
|
+
}
|
|
32
37
|
io.err(`skillar listening on http://127.0.0.1:${server.port}\n`);
|
|
33
38
|
return 0;
|
|
34
39
|
}
|
|
40
|
+
/** Merges a port into the existing config file, preserving every other key. */
|
|
41
|
+
export function writeConfigPort(skillarHome, port) {
|
|
42
|
+
const path = join(skillarHome, "config.json");
|
|
43
|
+
const current = JSON.parse(readFileSync(path, "utf8"));
|
|
44
|
+
writeFileSync(path, JSON.stringify({ ...current, port }, null, 2) + "\n", { mode: 0o600 });
|
|
45
|
+
}
|
|
35
46
|
const xml = (s) => s.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """);
|
|
36
47
|
const unitQuote = (s) => `"${s.replace(/\\/g, "\\\\").replace(/"/g, '\\"')}"`;
|
|
37
48
|
export function serviceLabel(home, platform) {
|
|
@@ -62,6 +73,8 @@ ${args}
|
|
|
62
73
|
</array>
|
|
63
74
|
<key>EnvironmentVariables</key>
|
|
64
75
|
<dict>
|
|
76
|
+
<key>HOME</key>
|
|
77
|
+
<string>${xml(ctx.home)}</string>
|
|
65
78
|
<key>SKILLAR_HOME</key>
|
|
66
79
|
<string>${xml(ctx.skillarHome)}</string>
|
|
67
80
|
</dict>
|
|
@@ -84,6 +97,7 @@ Description=skillar local skill router
|
|
|
84
97
|
|
|
85
98
|
[Service]
|
|
86
99
|
ExecStart=${unitQuote(ctx.nodePath)} ${unitQuote(join(ctx.packageRoot, "dist", "cli", "main.js"))} serve
|
|
100
|
+
Environment=${unitQuote(`HOME=${ctx.home}`)}
|
|
87
101
|
Environment=${unitQuote(`SKILLAR_HOME=${ctx.skillarHome}`)}
|
|
88
102
|
Restart=always
|
|
89
103
|
StandardOutput=append:${log}
|
|
@@ -105,7 +105,7 @@ ${o}
|
|
|
105
105
|
import {${e.name}Theme} from '@astryxdesign/theme-${e.name}/built';
|
|
106
106
|
import '@astryxdesign/theme-${e.name}/theme.css';
|
|
107
107
|
|
|
108
|
-
For custom themes, run \`npx @astryxdesign/cli theme build <file>\` to generate the built artifacts.`),n={users:new Map,owner:a,formerOwner:null,theme:e,styles:Vw(e,t)},py.set(o,n)),n.users.set(a,{theme:e,id:t}),n.formerOwner===a&&(n.owner=a,n.formerOwner=null,n.theme!==e&&Uw(n,e,t));let r=n;return()=>{if(r.users.delete(a),r.users.size===0){for(let i of r.styles)i.remove();py.delete(o);return}if(r.owner!==a)return;let[l,s]=[...r.users][0];r.owner=l,r.formerOwner=a,s.theme!==r.theme&&Uw(r,s.theme,s.id)}},[e,t,a])}function _4(e,t,a,o){Lm(()=>{if(!e&&!(typeof document>"u"))return t==="light"||t==="dark"?document.documentElement.setAttribute("data-theme",t):document.documentElement.removeAttribute("data-theme"),document.documentElement.setAttribute(Tr("theme"),a),fy(document.documentElement,o),o?document.documentElement.style.setProperty(Td,"1"):document.documentElement.style.removeProperty(Td),()=>{document.documentElement.removeAttribute("data-theme"),document.documentElement.removeAttribute(Tr("theme")),fy(document.documentElement,!1),document.documentElement.style.removeProperty(Td)}},[e,t,a,o])}function E4(e){Lm(()=>{if(!(e||typeof document>"u"))return gw(document)},[e])}function Vf({theme:e,mode:t="system",children:a}){let o=(0,Co.use)(my);Md(e),T4(e);let n=tb(e.__axes?.motion).reducedMotion==="always";_4(o,t,e.name,n),E4(o);let r=t==="dark"?Cu.dark:t==="light"?Cu.light:Cu.system,l=(0,Co.useMemo)(()=>({theme:e,mode:t}),[e,t]);return(0,Uf.jsx)(mb,{value:l,children:(0,Uf.jsx)(my,{value:!0,children:(0,Uf.jsx)("div",{...q(Cu.base,r,n&&Cu.reducedMotion),"data-astryx-theme":e.name,...Fw(n),"data-theme":t==="system"?void 0:t,children:a})})})}Vf.displayName="Theme";var hy="--color-syntax-";function M4(e){return hy+e}var jw=Object.keys(hu).map(e=>e.replace(hy,"")),D4=new Set(FL.map(e=>e.replace(hy,""))),R4=new Set(["added-marker","removed-marker"]),Gw=jw.filter(e=>!D4.has(e));function B4(e){return Array.isArray(e)?`light-dark(${e[0]}, ${e[1]})`:e}function Gf(e){let t=Gw.filter(o=>!(o in e.tokens));t.length>0&&dy("defineSyntaxTheme",`"${e.name}": missing tokens: ${t.join(", ")}. All ${Gw.length} syntax colour tokens are required; the diff row slots (added, removed, diff-header, added-marker, removed-marker) are optional.`);let a={};for(let o of jw){let n=e.tokens[o];a[o]=n!==void 0?B4(n):R4.has(o)?"var(--color-syntax-punctuation)":o==="diff-header"?"transparent":hu[M4(o)]}return{name:e.name,tokens:a,__inputTokens:{...e.tokens}}}var jf=S(B(),1);var Xw=e=>e?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();function Kw(e,t,a=[]){if(t==null)throw new Error("[lucide]: iconNode is required when icon name is used");return{name:Xw(e),size:24,node:t,...a.length>0?{aliases:a}:{}}}var Zw=e=>{let t="",a=!1;for(let o of e){if(o==="-"||o==="_"||o<=" "){a=t.length>0;continue}t.length===0?t+=o.toLowerCase():t+=a?o.toUpperCase():o,a=!1}return t};var Ww=e=>{let t=Zw(e);return t.charAt(0).toUpperCase()+t.slice(1)};var Au=S(B(),1);var Iu=(...e)=>{let t=new Set;for(let a of e)if(typeof a=="string")for(let o of a.split(/\s+/))o&&t.add(o);return[...t].join(" ")};var Jn={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};function gy(e){return e!=null}function Yw(e,t={}){let a=t.attributeNames??{},o=c=>a[c]??c,n=e.size??e.width??Jn.width,r=e.size??e.height??Jn.height,l=e.aliases?.filter(c=>typeof c=="string"&&c.trim()!=="").map(c=>`lucide-${c}`)??[],s=[...e.name?[`lucide-${e.name}`]:[],...l],i=t.className?.split(" ").filter(Boolean)??[],u=t.includeDefaultClasses===!1?Iu(...i):Iu("lucide",...s,...i),d=t.absoluteStrokeWidth?Number(t.strokeWidth??Jn["stroke-width"])*Number(e.size??e.width??Jn.width)/Number(t.size??t.width??Jn.width):t.strokeWidth??Jn["stroke-width"];return["svg",{...Object.entries(Jn).reduce((c,[p,b])=>(c[o(p)]=b,c),{}),..."color"in t&&t.color&&{[o("stroke")]:t.color},..."size"in t&&gy(t.size)&&{[o("width")]:t.size,[o("height")]:t.size},..."width"in t&&gy(t.width)&&{[o("width")]:t.width},..."height"in t&&gy(t.height)&&{[o("height")]:t.height},[o("stroke-width")]:d,...u&&{[o("class")]:u},[o("viewBox")]:`0 0 ${n} ${r}`,...t.hasA11yProp===!1?{[o("aria-hidden")]:"true"}:{},..."attributes"in t&&t.attributes},e.node.map(c=>{let[p,b,y]=c,v=t.nonScalingStroke?{[o("vector-effect")]:"non-scaling-stroke",...b}:b;return y?[p,v,y]:[p,v]})]}function Qw(e,t={}){return Yw(e,{...t,attributeNames:{...t.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}var Jw=e=>{if(e==null||typeof e!="object")return!1;for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&(t.startsWith("aria-")||t==="role"||t==="title")&&e[t]!=null)return!0;return!1};var Bs=S(B(),1);var N4=(0,Bs.createContext)({});var eC=()=>(0,Bs.useContext)(N4);var tC=(0,Au.forwardRef)(({color:e,size:t,width:a,height:o,strokeWidth:n,absoluteStrokeWidth:r,nonScalingStroke:l,className:s="",children:i,iconNode:u=[],icon:d={node:u,aliases:[],size:24},...h},c)=>{let{size:p=24,strokeWidth:b=2,absoluteStrokeWidth:y=!1,nonScalingStroke:v=!1,color:m="currentColor",className:f=""}=eC()??{},g=!!i||Jw(h),[x,k,w=[]]=Qw(d,{color:e??m,width:a??t??p,height:o??t??p,strokeWidth:n??b,absoluteStrokeWidth:r??y,nonScalingStroke:l??v,className:Iu(f,s),hasA11yProp:g,attributes:h});return(0,Au.createElement)(x,{ref:c,...k},[...w.map(([L,C])=>(0,Au.createElement)(L,C)),...Array.isArray(i)?i:[i]])});function H(e,t=[],a=[]){let o=typeof e=="string"?Kw(e,t,a):e,n=(0,jf.forwardRef)(({className:r,...l},s)=>(0,jf.createElement)(tC,{ref:s,icon:o,className:r,...l}));return o.name&&(n.displayName=Ww(o.name)),n}var aC={name:"arrow-down",size:24,node:[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]};aC.node;var Tu=H(aC);var oC={name:"arrow-up-down",size:24,node:[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]]};oC.node;var _u=H(oC);var nC={name:"arrow-up",size:24,node:[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]};nC.node;var Eu=H(nC);var rC={name:"calendar",size:24,node:[["path",{d:"M8 2v3",key:"1ioesn"}],["path",{d:"M16 2v3",key:"otl347"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M3 9h18",key:"1pudct"}]]};rC.node;var Mu=H(rC);var lC={name:"check-check",size:24,node:[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]]};lC.node;var Du=H(lC);var sC={name:"check",size:24,node:[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]};sC.node;var Ru=H(sC);var iC={name:"chevron-down",size:24,node:[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]};iC.node;var Bu=H(iC);var uC={name:"chevron-left",size:24,node:[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]};uC.node;var Nu=H(uC);var dC={name:"chevron-right",size:24,node:[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]};dC.node;var $u=H(dC);var cC={name:"chevrons-left",size:24,node:[["path",{d:"m11 17-5-5 5-5",key:"13zhaf"}],["path",{d:"m18 17-5-5 5-5",key:"h8a8et"}]]};cC.node;var Ou=H(cC);var fC={name:"chevrons-right",size:24,node:[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]]};fC.node;var zu=H(fC);var pC={name:"circle-check-big",size:24,node:[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],aliases:["check-circle"]};pC.node;var er=H(pC);var mC={name:"circle-x",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],aliases:["x-circle"]};mC.node;var tr=H(mC);var hC={name:"clock",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]};hC.node;var Hu=H(hC);var gC={name:"columns-2",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]],aliases:["columns"]};gC.node;var ar=H(gC);var xC={name:"copy",size:24,node:[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]};xC.node;var qu=H(xC);var yC={name:"ellipsis",size:24,node:[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],aliases:["more-horizontal"]};yC.node;var or=H(yC);var bC={name:"external-link",size:24,node:[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]};bC.node;var Fu=H(bC);var vC={name:"eye-off",size:24,node:[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]};vC.node;var Pu=H(vC);var kC={name:"funnel",size:24,node:[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]],aliases:["filter"]};kC.node;var nr=H(kC);var SC={name:"info",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]};SC.node;var Uu=H(SC);var LC={name:"menu",size:24,node:[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]};LC.node;var Vu=H(LC);var wC={name:"mic",size:24,node:[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]]};wC.node;var Gu=H(wC);var CC={name:"search",size:24,node:[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]};CC.node;var ju=H(CC);var IC={name:"square",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]};IC.node;var Xu=H(IC);var AC={name:"triangle-exclamation-point",size:24,node:[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],aliases:["alert-triangle","triangle-alert"]};AC.node;var eo=H(AC);var TC={name:"upload",size:24,node:[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]};TC.node;var Ku=H(TC);var _C={name:"wrench",size:24,node:[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]]};_C.node;var Zu=H(_C);var EC={name:"x",size:24,node:[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]};EC.node;var Wu=H(EC);var se=S(I(),1),pe={size:"1em","aria-hidden":!0},xy={close:(0,se.jsx)(Wu,{...pe}),chevronDown:(0,se.jsx)(Bu,{...pe}),chevronLeft:(0,se.jsx)(Nu,{...pe}),chevronRight:(0,se.jsx)($u,{...pe}),chevronsLeft:(0,se.jsx)(Ou,{...pe}),chevronsRight:(0,se.jsx)(zu,{...pe}),check:(0,se.jsx)(Ru,{...pe}),success:(0,se.jsx)(er,{...pe}),error:(0,se.jsx)(tr,{...pe}),warning:(0,se.jsx)(eo,{...pe}),info:(0,se.jsx)(Uu,{...pe}),calendar:(0,se.jsx)(Mu,{...pe}),clock:(0,se.jsx)(Hu,{...pe}),externalLink:(0,se.jsx)(Fu,{...pe}),menu:(0,se.jsx)(Vu,{...pe}),moreHorizontal:(0,se.jsx)(or,{...pe}),search:(0,se.jsx)(ju,{...pe}),upload:(0,se.jsx)(Ku,{...pe}),arrowUp:(0,se.jsx)(Eu,{...pe}),arrowDown:(0,se.jsx)(Tu,{...pe}),arrowsUpDown:(0,se.jsx)(_u,{...pe}),funnel:(0,se.jsx)(nr,{...pe}),eyeSlash:(0,se.jsx)(Pu,{...pe}),viewColumns:(0,se.jsx)(ar,{...pe}),copy:(0,se.jsx)(qu,{...pe}),checkDouble:(0,se.jsx)(Du,{...pe}),wrench:(0,se.jsx)(Zu,{...pe}),stop:(0,se.jsx)(Xu,{...pe}),microphone:(0,se.jsx)(Gu,{...pe})},$4={purple:{light:{25:"#5c0e6c",30:"#6b187c",70:"#d885eb",75:"#e496f6",80:"#efa8ff",85:"#f3bfff",90:"#f7d5ff"},dark:{25:"#4a2f51",80:"#eaacf8"}},green:{light:{25:"#00490b",30:"#0b5615",45:"#2f7d33",65:"#6ab26b",75:"#90ca90",80:"#a4d6a3"},dark:{25:"#2b422b",80:"#aad4a9",85:"#bce0bb"}},neutral:{light:{0:"#000000",5:"#111111",10:"#1b1b1b",30:"#474747",35:"#525252",45:"#6a6a6a",60:"#919191",85:"#d4d4d4",90:"#e2e2e2",95:"#f1f1f1",100:"#ffffff"},dark:{0:"#000000",5:"#111111",10:"#1b1b1b",15:"#262626",20:"#303030",30:"#474747",35:"#525252",65:"#9e9e9e",75:"#b9b9b9",80:"#c6c6c6",85:"#d4d4d4",90:"#e2e2e2",95:"#f1f1f1",100:"#ffffff"}},orange:{light:{25:"#622700",30:"#733100",75:"#ff9e55",85:"#ffc7a1"},dark:{25:"#503424",65:"#df843f",80:"#ffb37e"}},blue:{light:{25:"#003978",30:"#00458c",45:"#0067ce",50:"#0074e2",80:"#a1caff",85:"#b9d7ff"},dark:{25:"#253c5a",65:"#5aa0f8",75:"#88bcff",80:"#a1caff"}},red:{light:{25:"#76000c",30:"#8a0011",45:"#c0262c",55:"#de4745",65:"#fa6762",80:"#ffaea7",85:"#ffc4be"},dark:{25:"#5b2b28",75:"#ff9890",80:"#ffaea7"}},yellow:{light:{25:"#4b3900",30:"#584400",45:"#836700",65:"#c29900",75:"#e2b623",80:"#eec448",85:"#f8d36a"},dark:{25:"#453a1c",80:"#e3c36c",90:"#fae19e"}},teal:{light:{25:"#00463d",30:"#005348",80:"#90d7c8",85:"#a9e2d6"},dark:{25:"#28413c",65:"#4fb1a0",75:"#81c9bb"}},cyan:{dark:{25:"#274046",65:"#49adc4",75:"#71c7dd",80:"#85d5e9",85:"#9ae2f4"},light:{25:"#004351"}},pink:{light:{25:"#70003f",70:"#fc78b1",85:"#ffc0d7"},dark:{25:"#572b3d",75:"#fd92bd",80:"#ffa9ca"}}},{blue:ht,cyan:rr,green:Ct,neutral:_,orange:Fa,pink:lr,purple:Pa,red:It,teal:Io,yellow:At}=$4,Ge=(e,t)=>`${e}${t}`,O4=Gf({name:"astryx-neutral",tokens:{keyword:[Pa.light[30],Pa.light[80]],string:[Ct.light[30],Ct.light[80]],comment:[_.light[35],_.dark[75]],number:[Fa.light[30],Fa.dark[80]],function:[ht.light[30],ht.dark[80]],type:[Pa.light[30],Pa.light[80]],variable:[_.light[5],_.dark[90]],operator:[_.light[35],_.dark[75]],constant:[Fa.light[30],Fa.dark[80]],tag:[It.light[30],It.dark[80]],attribute:[At.light[30],At.light[80]],property:[Io.light[30],Io.light[80]],punctuation:[_.light[35],_.dark[75]],background:[_.light[100],_.dark[5]]}}),z4={"--astryx-theme-neutral-color-status-fill-accent":["#0074e2","#6d9cfe"]},bz=uy({name:"neutral",localTokens:z4,typography:{scale:{base:14,ratio:1.2},body:{family:"Figtree",fallbacks:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif'},heading:{family:"Figtree",fallbacks:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',weights:{3:"bold",4:"bold"}},code:{family:"ui-monospace",fallbacks:'"SF Mono", Monaco, Consolas, "Liberation Mono", "Courier New", monospace'}},adaptations:{rules:[{when:{pointer:"coarse",width:{below:"lg"}},value:{typography:{scale:{base:16,ratio:1.1736}}}}]},motion:{fast:125,medium:300,slow:700,ratio:.75},syntax:O4,tokens:{"--color-background-surface":[_.light[100],_.dark[15]],"--color-background-body":[_.light[95],_.dark[10]],"--color-background-card":[_.light[100],_.dark[10]],"--color-background-popover":[_.light[100],_.dark[10]],"--color-background-muted":[_.light[95],_.dark[10]],"--color-accent":[_.light[10],_.dark[95]],"--color-accent-muted":[_.light[85],_.dark[30]],"--color-neutral":[Ge(_.light[0],"0F"),Ge(_.dark[100],"1A")],"--color-overlay":[Ge(_.light[0],"80"),Ge(_.dark[0],"CC")],"--color-overlay-hover":[Ge(_.light[0],"0D"),Ge(_.dark[100],"0D")],"--color-overlay-pressed":[Ge(_.light[0],"1A"),Ge(_.dark[100],"1A")],"--color-text-primary":[_.light[0],_.dark[100]],"--color-text-secondary":[_.light[30],_.dark[65]],"--color-text-disabled":[_.light[60],_.dark[35]],"--color-text-accent":[_.light[10],_.dark[95]],"--color-on-dark":_.light[100],"--color-on-light":_.light[5],"--color-on-accent":[_.light[100],_.dark[5]],"--color-on-success":[_.light[100],_.dark[5]],"--color-on-error":[_.light[100],_.dark[5]],"--color-on-warning":_.light[5],"--color-info":["#0074e2","#6d9cfe"],"--color-info-muted":[ht.light[85],Ge(ht.dark[75],"3D")],"--color-on-info":[_.light[100],_.dark[5]],"--color-text-info":[ht.light[45],ht.dark[80]],"--color-text-success":[Ct.light[45],Ct.light[75]],"--color-text-warning":[At.light[45],At.light[80]],"--color-text-error":[It.light[45],It.dark[80]],"--color-on-info-muted":[ht.light[25],ht.dark[80]],"--color-on-success-muted":[Ct.light[25],Ct.light[75]],"--color-on-warning-muted":[At.light[25],At.light[80]],"--color-on-error-muted":[It.light[25],It.dark[80]],"--color-icon-accent":[_.light[10],_.dark[95]],"--color-icon-primary":[_.light[0],_.dark[100]],"--color-icon-secondary":[_.light[45],_.dark[65]],"--color-icon-disabled":[_.light[60],_.dark[35]],"--color-success":["#198100","#64af4c"],"--color-warning":"#ffce2f","--color-error":["#c9303a","#ff705d"],"--color-success-muted":[Ct.dark[85],Ge(Ct.light[75],"3D")],"--color-error-muted":[It.light[85],Ge(It.dark[75],"3D")],"--color-warning-muted":[At.dark[90],Ge(At.light[75],"3D")],"--color-border":[Ge(_.light[0],"14"),Ge(_.dark[100],"1A")],"--color-border-emphasized":[_.light[85],_.dark[35]],"--color-skeleton":[_.light[95],_.dark[35]],"--color-shadow":[Ge(_.light[0],"1A"),Ge(_.dark[0],"4D")],"--color-tint-hover":[_.light[0],_.dark[100]],"--color-background-red":[It.light[85],It.dark[25]],"--color-border-red":[It.light[80],It.light[65]],"--color-icon-red":[It.light[25],It.dark[75]],"--color-text-red":[It.light[25],It.dark[80]],"--color-background-orange":[Fa.light[85],Fa.dark[25]],"--color-border-orange":[Fa.light[85],Fa.dark[65]],"--color-icon-orange":[Fa.light[25],Fa.light[75]],"--color-text-orange":[Fa.light[25],Fa.dark[80]],"--color-background-yellow":[At.dark[90],At.dark[25]],"--color-border-yellow":[At.dark[80],At.light[65]],"--color-icon-yellow":[At.light[25],At.light[75]],"--color-text-yellow":[At.light[25],At.light[80]],"--color-background-green":[Ct.dark[85],Ct.dark[25]],"--color-border-green":[Ct.dark[80],Ct.light[65]],"--color-icon-green":[Ct.light[25],Ct.light[75]],"--color-text-green":[Ct.light[25],Ct.light[75]],"--color-background-teal":[Io.light[85],Io.dark[25]],"--color-border-teal":[Io.light[80],Io.dark[65]],"--color-icon-teal":[Io.light[25],Io.dark[75]],"--color-text-teal":[Io.light[25],Io.light[80]],"--color-background-cyan":[rr.dark[85],rr.dark[25]],"--color-border-cyan":[rr.dark[80],rr.dark[65]],"--color-icon-cyan":[rr.light[25],rr.dark[75]],"--color-text-cyan":[rr.light[25],rr.dark[80]],"--color-background-blue":[ht.light[85],ht.dark[25]],"--color-border-blue":[ht.light[80],ht.dark[65]],"--color-icon-blue":[ht.light[25],ht.dark[75]],"--color-text-blue":[ht.light[25],ht.dark[80]],"--color-background-purple":[Pa.light[90],Pa.dark[25]],"--color-border-purple":[Pa.light[85],Pa.light[70]],"--color-icon-purple":[Pa.light[25],Pa.light[75]],"--color-text-purple":[Pa.light[25],Pa.dark[80]],"--color-background-pink":[lr.light[85],lr.dark[25]],"--color-border-pink":[lr.light[85],lr.light[70]],"--color-icon-pink":[lr.light[25],lr.dark[75]],"--color-text-pink":[lr.light[25],lr.dark[80]],"--color-background-gray":[_.light[90],_.dark[20]],"--color-border-gray":[_.light[85],_.dark[15]],"--color-icon-gray":[_.light[30],_.dark[65]],"--color-text-gray":[_.light[10],_.dark[85]],"--radius-none":"0px","--radius-inner":"0.375rem","--radius-element":"0.625rem","--radius-container":"0.75rem","--radius-page":"1.75rem","--radius-full":"9999px","--shadow-low":"0 2px 4px light-dark(oklch(0 0 0 / 5%), oklch(0 0 0 / 25%)), 0 4px 8px light-dark(oklch(0 0 0 / 10%), oklch(0 0 0 / 40%)), inset 0 0 0 1px light-dark(transparent, oklch(1 0 0 / 8%))","--shadow-med":"0 2px 4px light-dark(oklch(0 0 0 / 5%), oklch(0 0 0 / 35%)), 0 4px 12px light-dark(oklch(0 0 0 / 10%), oklch(0 0 0 / 50%)), inset 0 0 0 1px light-dark(transparent, oklch(1 0 0 / 12%))","--shadow-high":"0 4px 6px light-dark(oklch(0 0 0 / 10%), oklch(0 0 0 / 50%)), 0 12px 24px light-dark(oklch(0 0 0 / 15%), oklch(0 0 0 / 70%)), inset 0 0 0 1px light-dark(transparent, oklch(1 0 0 / 15%))","--shadow-inset-hover":`inset 0px 0px 0px 2px ${Ge(ht.light[50],"4D")}`,"--shadow-inset-selected":`inset 0px 0px 0px 2px ${Ge(ht.light[50],"80")}`,"--shadow-inset-success":`inset 0px 0px 0px 2px ${Ge(Ct.light[45],"4D")}`,"--shadow-inset-warning":`inset 0px 0px 0px 2px ${Ge(At.light[85],"4D")}`,"--shadow-inset-error":`inset 0px 0px 0px 2px ${Ge(It.light[55],"4D")}`},components:{item:{selected:{"--color-text-secondary":`light-dark(${_.light[30]}, ${_.dark[80]})`}},"tree-list-item":{selected:{"--color-text-secondary":`light-dark(${_.light[30]}, ${_.dark[80]})`}},"file-input":{"mode:dropzone":{"--color-text-secondary":`light-dark(${_.light[30]}, ${_.dark[80]})`}},citation:{"variant:number":{"--color-text-secondary":`light-dark(${_.light[30]}, ${_.dark[80]})`}},button:{"variant:destructive":{backgroundColor:"var(--color-error-muted)",color:"var(--color-on-error-muted)"}},badge:{"variant:neutral":{backgroundColor:"var(--color-background-gray)",color:"var(--color-text-gray)"},"variant:red":{backgroundColor:"var(--color-background-red)",color:"var(--color-text-red)"},"variant:orange":{backgroundColor:"var(--color-background-orange)",color:"var(--color-text-orange)"},"variant:yellow":{backgroundColor:"var(--color-background-yellow)",color:"var(--color-text-yellow)"},"variant:green":{backgroundColor:"var(--color-background-green)",color:"var(--color-text-green)"},"variant:teal":{backgroundColor:"var(--color-background-teal)",color:"var(--color-text-teal)"},"variant:cyan":{backgroundColor:"var(--color-background-cyan)",color:"var(--color-text-cyan)"},"variant:blue":{backgroundColor:"var(--color-background-blue)",color:"var(--color-text-blue)"},"variant:purple":{backgroundColor:"var(--color-background-purple)",color:"var(--color-text-purple)"},"variant:pink":{backgroundColor:"var(--color-background-pink)",color:"var(--color-text-pink)"},"variant:gray":{backgroundColor:"var(--color-background-gray)",color:"var(--color-text-gray)"}},"segmented-control":{base:{padding:"var(--spacing-1)"}},"segmented-control-item":{base:{"--color-text-secondary":`light-dark(${_.light[30]}, ${_.dark[80]})`},"size:sm":{height:"calc(var(--size-element-sm) - 8px)"},"size:md":{height:"calc(var(--size-element-md) - 8px)"},"size:lg":{height:"calc(var(--size-element-lg) - 8px)"},selected:{boxShadow:"none"}},switch:{base:{"--color-background-gray":"var(--color-border-emphasized)"}},"progress-bar":{base:{"--color-background-muted":"var(--color-border-emphasized)"}},card:{base:{padding:"var(--spacing-3)"}},section:{base:{padding:"var(--spacing-3)"}}},icons:xy}),H4="#000000",q4="#ffffff",F4={neutral:{name:"Neutral",light:{0:"#000000",5:"#111111",10:"#1b1b1b",15:"#262626",20:"#303030",25:"#3b3b3b",30:"#474747",35:"#525252",40:"#5e5e5e",45:"#6a6a6a",50:"#777777",55:"#848484",60:"#919191",65:"#9e9e9e",70:"#ababab",75:"#b9b9b9",80:"#c6c6c6",85:"#d4d4d4",90:"#e2e2e2",95:"#f1f1f1",100:"#ffffff"},dark:{0:"#000000",5:"#111111",10:"#1b1b1b",15:"#262626",20:"#303030",25:"#3b3b3b",30:"#474747",35:"#525252",40:"#5e5e5e",45:"#6a6a6a",50:"#777777",55:"#848484",60:"#919191",65:"#9e9e9e",70:"#ababab",75:"#b9b9b9",80:"#c6c6c6",85:"#d4d4d4",90:"#e2e2e2",95:"#f1f1f1",100:"#ffffff"}},red:{name:"Red",light:{0:"#000000",5:"#2c0000",10:"#3e0002",15:"#500004",20:"#620008",25:"#76000c",30:"#8a0011",35:"#9e0015",40:"#af1320",45:"#c0262c",50:"#cf3738",55:"#de4745",60:"#ed5753",65:"#fa6762",70:"#ff7f77",75:"#ff9890",80:"#ffaea7",85:"#ffc4be",90:"#ffd8d4",95:"#ffece9",100:"#ffffff"},dark:{0:"#000000",5:"#200908",10:"#2f1110",15:"#3d1917",20:"#4c221f",25:"#5b2b28",30:"#6b3431",35:"#7e3c38",40:"#92423e",45:"#a84743",50:"#be4e49",55:"#d15752",60:"#e1645e",65:"#ee736c",70:"#fb837b",75:"#ff9890",80:"#ffaea7",85:"#ffc4be",90:"#ffd8d4",95:"#ffece9",100:"#ffffff"}},orange:{name:"Orange",light:{0:"#000000",5:"#250500",10:"#340d00",15:"#431600",20:"#521f00",25:"#622700",30:"#733100",35:"#833a00",40:"#944400",45:"#a54f00",50:"#b45c00",55:"#c76600",60:"#d97000",65:"#e97e1d",70:"#f58d3a",75:"#ff9e55",80:"#ffb37e",85:"#ffc7a1",90:"#ffdac2",95:"#ffede1",100:"#ffffff"},dark:{0:"#000000",5:"#1c0c05",10:"#29160d",15:"#362014",20:"#43291c",25:"#503424",30:"#603d2a",35:"#72462d",40:"#864f2c",45:"#9b5627",50:"#af5f1d",55:"#c2691b",60:"#d1762b",65:"#df843f",70:"#eb9352",75:"#f7a266",80:"#ffb37e",85:"#ffc7a1",90:"#ffdac2",95:"#ffede1",100:"#ffffff"}},yellow:{name:"Yellow",light:{0:"#000000",5:"#190f00",10:"#251a00",15:"#312400",20:"#3e2e00",25:"#4b3900",30:"#584400",35:"#664f00",40:"#745b00",45:"#836700",50:"#927300",55:"#a17f00",60:"#b18c00",65:"#c29900",70:"#d2a700",75:"#e2b623",80:"#eec448",85:"#f8d36a",90:"#ffe193",95:"#fff0ca",100:"#ffffff"},dark:{0:"#000000",5:"#161002",10:"#221b08",15:"#2d250e",20:"#392f15",25:"#453a1c",30:"#524521",35:"#615124",40:"#705c24",45:"#80681f",50:"#907316",55:"#a17f07",60:"#b18c00",65:"#be9921",70:"#cba73d",75:"#d7b554",80:"#e3c36c",85:"#efd284",90:"#fae19e",95:"#fff0c8",100:"#ffffff"}},green:{name:"Green",light:{0:"#000000",5:"#001800",10:"#002400",15:"#003002",20:"#003d05",25:"#00490b",30:"#0b5615",35:"#17631e",40:"#237028",45:"#2f7d33",50:"#3c8a3f",55:"#4a984c",60:"#59a55b",65:"#6ab26b",70:"#7dbe7e",75:"#90ca90",80:"#a4d6a3",85:"#b7e2b6",90:"#cbeeca",95:"#defadd",100:"#ffffff"},dark:{0:"#000000",5:"#091409",10:"#112011",15:"#192b19",20:"#223622",25:"#2b422b",30:"#344e34",35:"#3c5c3c",40:"#436a43",45:"#497849",50:"#508651",55:"#59945a",60:"#65a266",65:"#74af75",70:"#85bb85",75:"#97c897",80:"#aad4a9",85:"#bce0bb",90:"#ceecce",95:"#e1f8e0",100:"#ffffff"}},teal:{name:"Teal",light:{0:"#000000",5:"#001612",10:"#00221c",15:"#002e27",20:"#003a32",25:"#00463d",30:"#005348",35:"#006154",40:"#006e60",45:"#007c6d",50:"#008b7a",55:"#009986",60:"#01a894",65:"#34b5a1",70:"#56c0ae",75:"#74ccbb",80:"#90d7c8",85:"#a9e2d6",90:"#c1eee4",95:"#d7f9f2",100:"#ffffff"},dark:{0:"#000000",5:"#071411",10:"#0f1f1c",15:"#172a26",20:"#1f3531",25:"#28413c",30:"#2f4e48",35:"#325b53",40:"#326a60",45:"#2d796c",50:"#248979",55:"#299786",60:"#39a593",65:"#4fb1a0",70:"#68bdad",75:"#81c9bb",80:"#99d5c8",85:"#b1e0d6",90:"#c6ece3",95:"#dbf8f1",100:"#ffffff"}},cyan:{name:"Cyan",light:{0:"#000000",5:"#00151b",10:"#002028",15:"#002c35",20:"#003743",25:"#004351",30:"#00505f",35:"#005d6e",40:"#006a7d",45:"#00788d",50:"#00859d",55:"#0093ad",60:"#00a2be",65:"#29afcb",70:"#45bdd7",75:"#5ecae3",80:"#75d7ef",85:"#8ee4f9",90:"#afefff",95:"#d9f7ff",100:"#ffffff"},dark:{0:"#000000",5:"#071316",10:"#0f1e22",15:"#17292e",20:"#1f343a",25:"#274046",30:"#2e4c54",35:"#325963",40:"#326774",45:"#2d7586",50:"#228499",55:"#2592a9",60:"#35a0b7",65:"#49adc4",70:"#5dbad1",75:"#71c7dd",80:"#85d5e9",85:"#9ae2f4",90:"#b1eefe",95:"#d9f7ff",100:"#ffffff"}},blue:{name:"Blue",light:{0:"#000000",5:"#000f30",10:"#001a41",15:"#002452",20:"#002f65",25:"#003978",30:"#00458c",35:"#0050a2",40:"#005cb8",45:"#0067ce",50:"#0074e2",55:"#1e81f0",60:"#348ffd",65:"#529fff",70:"#6eaeff",75:"#88bcff",80:"#a1caff",85:"#b9d7ff",90:"#d0e5ff",95:"#e8f2ff",100:"#ffffff"},dark:{0:"#000000",5:"#051121",10:"#0d1c2f",15:"#15263d",20:"#1d314b",25:"#253c5a",30:"#2b486c",35:"#2f5382",40:"#315f99",45:"#346bb1",50:"#3778c7",55:"#3e84dc",60:"#4a92eb",65:"#5aa0f8",70:"#6eaeff",75:"#88bcff",80:"#a1caff",85:"#b9d7ff",90:"#d0e5ff",95:"#e8f2ff",100:"#ffffff"}},purple:{name:"Purple",light:{0:"#000000",5:"#210028",10:"#31003b",15:"#3f004c",20:"#4e045c",25:"#5c0e6c",30:"#6b187c",35:"#781f8a",40:"#842699",45:"#9130a7",50:"#9f3cb5",55:"#ad4dc3",60:"#bb5fd1",65:"#ca72de",70:"#d885eb",75:"#e496f6",80:"#efa8ff",85:"#f3bfff",90:"#f7d5ff",95:"#fbeaff",100:"#ffffff"},dark:{0:"#000000",5:"#180b1b",10:"#251329",15:"#311c36",20:"#3e2544",25:"#4a2f51",30:"#58395f",35:"#674270",40:"#784983",45:"#895196",50:"#9a59a9",55:"#aa63ba",60:"#b870c9",65:"#c57ed5",70:"#d28de2",75:"#de9ced",80:"#eaacf8",85:"#f3bfff",90:"#f7d5ff",95:"#fbeaff",100:"#ffffff"}},pink:{name:"Pink",light:{0:"#000000",5:"#290013",10:"#3b001e",15:"#4b0028",20:"#5d0034",25:"#70003f",30:"#83004b",35:"#950457",40:"#a61863",45:"#b52970",50:"#c5387c",55:"#d44789",60:"#e25796",65:"#ef67a3",70:"#fc78b1",75:"#ff90bd",80:"#ffa9ca",85:"#ffc0d7",90:"#ffd5e4",95:"#ffeaf1",100:"#ffffff"},dark:{0:"#000000",5:"#1e0912",10:"#2d111d",15:"#3b1927",20:"#492132",25:"#572b3d",30:"#663449",35:"#783b55",40:"#8c4161",45:"#a1476e",50:"#b54e7b",55:"#c85688",60:"#d76395",65:"#e572a3",70:"#f181b0",75:"#fd92bd",80:"#ffa9ca",85:"#ffc0d7",90:"#ffd5e4",95:"#ffeaf1",100:"#ffffff"}}},vz={black:H4,white:q4,...F4};var MC={name:"skillar",__built:!0,tokens:{"--font-size-4xs":"0.375rem","--font-size-3xs":"0.4375rem","--font-size-2xs":"0.5rem","--font-size-xs":"0.625rem","--font-size-sm":"0.75rem","--font-size-base":"0.875rem","--font-size-lg":"1.0625rem","--font-size-xl":"1.25rem","--font-size-2xl":"1.5rem","--font-size-3xl":"1.8125rem","--font-size-4xl":"2.1875rem","--font-size-5xl":"2.625rem","--text-heading-1-size":"var(--font-size-2xl)","--text-heading-1-weight":"var(--font-weight-semibold)","--text-heading-1-leading":"1.3333","--text-heading-2-size":"var(--font-size-xl)","--text-heading-2-weight":"var(--font-weight-semibold)","--text-heading-2-leading":"1.4","--text-heading-3-size":"var(--font-size-lg)","--text-heading-3-weight":"var(--font-weight-bold)","--text-heading-3-leading":"1.4118","--text-heading-4-size":"var(--font-size-base)","--text-heading-4-weight":"var(--font-weight-bold)","--text-heading-4-leading":"1.4286","--text-heading-5-size":"var(--font-size-sm)","--text-heading-5-weight":"var(--font-weight-semibold)","--text-heading-5-leading":"1.6667","--text-heading-6-size":"var(--font-size-xs)","--text-heading-6-weight":"var(--font-weight-semibold)","--text-heading-6-leading":"1.6","--text-body-size":"var(--font-size-base)","--text-body-weight":"var(--font-weight-normal)","--text-body-leading":"1.4286","--text-large-size":"var(--font-size-lg)","--text-large-weight":"var(--font-weight-semibold)","--text-large-leading":"1.4118","--text-label-size":"var(--font-size-base)","--text-label-weight":"var(--font-weight-medium)","--text-label-leading":"1.4286","--text-code-size":"var(--font-size-base)","--text-code-weight":"var(--font-weight-normal)","--text-code-leading":"1.4286","--text-supporting-size":"var(--font-size-sm)","--text-supporting-weight":"var(--font-weight-normal)","--text-supporting-leading":"1.6667","--text-display-1-size":"var(--font-size-5xl)","--text-display-1-weight":"var(--font-weight-normal)","--text-display-1-leading":"1.2381","--text-display-2-size":"var(--font-size-4xl)","--text-display-2-weight":"var(--font-weight-normal)","--text-display-2-leading":"1.2571","--text-display-3-size":"var(--font-size-3xl)","--text-display-3-weight":"var(--font-weight-normal)","--text-display-3-leading":"1.3793","--duration-fast-min":"95ms","--duration-fast":"125ms","--duration-fast-max":"165ms","--duration-medium-min":"225ms","--duration-medium":"300ms","--duration-medium-max":"400ms","--duration-slow-min":"525ms","--duration-slow":"700ms","--duration-slow-max":"935ms","--_astryx-pre-tempo-duration-fast-min":"95ms","--_astryx-pre-tempo-duration-fast":"125ms","--_astryx-pre-tempo-duration-fast-max":"165ms","--_astryx-pre-tempo-duration-medium-min":"225ms","--_astryx-pre-tempo-duration-medium":"300ms","--_astryx-pre-tempo-duration-medium-max":"400ms","--_astryx-pre-tempo-duration-slow-min":"525ms","--_astryx-pre-tempo-duration-slow":"700ms","--_astryx-pre-tempo-duration-slow-max":"935ms","--_astryx-motion-tempo":"1","--font-family-body":'Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',"--font-family-heading":'Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',"--font-family-code":'ui-monospace, "SF Mono", Monaco, Consolas, "Liberation Mono", "Courier New", monospace',"--color-syntax-keyword":"light-dark(#6b187c, #efa8ff)","--color-syntax-string":"light-dark(#0b5615, #a4d6a3)","--color-syntax-comment":"light-dark(#525252, #b9b9b9)","--color-syntax-number":"light-dark(#733100, #ffb37e)","--color-syntax-function":"light-dark(#00458c, #a1caff)","--color-syntax-type":"light-dark(#6b187c, #efa8ff)","--color-syntax-variable":"light-dark(#111111, #e2e2e2)","--color-syntax-operator":"light-dark(#525252, #b9b9b9)","--color-syntax-constant":"light-dark(#733100, #ffb37e)","--color-syntax-tag":"light-dark(#8a0011, #ffaea7)","--color-syntax-attribute":"light-dark(#584400, #eec448)","--color-syntax-property":"light-dark(#005348, #90d7c8)","--color-syntax-punctuation":"light-dark(#525252, #b9b9b9)","--color-syntax-background":"light-dark(#ffffff, #111111)","--color-syntax-added":"color-mix(in srgb, var(--color-success-muted) 25%, transparent)","--color-syntax-removed":"color-mix(in srgb, var(--color-error-muted) 25%, transparent)","--color-syntax-diff-header":"transparent","--color-syntax-added-marker":"var(--color-syntax-punctuation)","--color-syntax-removed-marker":"var(--color-syntax-punctuation)","--color-background-surface":"light-dark(#ffffff, #262626)","--color-background-body":"light-dark(#f1f1f1, #1b1b1b)","--color-background-card":"light-dark(#ffffff, #1b1b1b)","--color-background-popover":"light-dark(#ffffff, #1b1b1b)","--color-background-muted":"light-dark(#f1f1f1, #1b1b1b)","--color-accent":"light-dark(#B4321C, #D9553A)","--color-accent-muted":"light-dark(#F6E3DF, #3A1710)","--color-neutral":"light-dark(#0000000F, #ffffff1A)","--color-overlay":"light-dark(#00000080, #000000CC)","--color-overlay-hover":"light-dark(#0000000D, #ffffff0D)","--color-overlay-pressed":"light-dark(#0000001A, #ffffff1A)","--color-text-primary":"light-dark(#000000, #ffffff)","--color-text-secondary":"light-dark(#474747, #9e9e9e)","--color-text-disabled":"light-dark(#919191, #525252)","--color-text-accent":"light-dark(#B4321C, #D9553A)","--color-on-dark":"#ffffff","--color-on-light":"#111111","--color-on-accent":"light-dark(#ffffff, #111111)","--color-on-success":"light-dark(#ffffff, #111111)","--color-on-error":"light-dark(#ffffff, #111111)","--color-on-warning":"#111111","--color-info":"light-dark(#0074e2, #6d9cfe)","--color-info-muted":"light-dark(#b9d7ff, #88bcff3D)","--color-on-info":"light-dark(#ffffff, #111111)","--color-text-info":"light-dark(#0067ce, #a1caff)","--color-text-success":"light-dark(#2f7d33, #90ca90)","--color-text-warning":"light-dark(#836700, #eec448)","--color-text-error":"light-dark(#c0262c, #ffaea7)","--color-on-info-muted":"light-dark(#003978, #a1caff)","--color-on-success-muted":"light-dark(#00490b, #90ca90)","--color-on-warning-muted":"light-dark(#4b3900, #eec448)","--color-on-error-muted":"light-dark(#76000c, #ffaea7)","--color-icon-accent":"light-dark(#1b1b1b, #f1f1f1)","--color-icon-primary":"light-dark(#000000, #ffffff)","--color-icon-secondary":"light-dark(#6a6a6a, #9e9e9e)","--color-icon-disabled":"light-dark(#919191, #525252)","--color-success":"light-dark(#198100, #64af4c)","--color-warning":"#ffce2f","--color-error":"light-dark(#c9303a, #ff705d)","--color-success-muted":"light-dark(#bce0bb, #90ca903D)","--color-error-muted":"light-dark(#ffc4be, #ff98903D)","--color-warning-muted":"light-dark(#fae19e, #e2b6233D)","--color-border":"light-dark(#00000014, #ffffff1A)","--color-border-emphasized":"light-dark(#d4d4d4, #525252)","--color-skeleton":"light-dark(#f1f1f1, #525252)","--color-shadow":"light-dark(#0000001A, #0000004D)","--color-tint-hover":"light-dark(#000000, #ffffff)","--color-background-red":"light-dark(#ffc4be, #5b2b28)","--color-border-red":"light-dark(#ffaea7, #fa6762)","--color-icon-red":"light-dark(#76000c, #ff9890)","--color-text-red":"light-dark(#76000c, #ffaea7)","--color-background-orange":"light-dark(#ffc7a1, #503424)","--color-border-orange":"light-dark(#ffc7a1, #df843f)","--color-icon-orange":"light-dark(#622700, #ff9e55)","--color-text-orange":"light-dark(#622700, #ffb37e)","--color-background-yellow":"light-dark(#fae19e, #453a1c)","--color-border-yellow":"light-dark(#e3c36c, #c29900)","--color-icon-yellow":"light-dark(#4b3900, #e2b623)","--color-text-yellow":"light-dark(#4b3900, #eec448)","--color-background-green":"light-dark(#bce0bb, #2b422b)","--color-border-green":"light-dark(#aad4a9, #6ab26b)","--color-icon-green":"light-dark(#00490b, #90ca90)","--color-text-green":"light-dark(#00490b, #90ca90)","--color-background-teal":"light-dark(#a9e2d6, #28413c)","--color-border-teal":"light-dark(#90d7c8, #4fb1a0)","--color-icon-teal":"light-dark(#00463d, #81c9bb)","--color-text-teal":"light-dark(#00463d, #90d7c8)","--color-background-cyan":"light-dark(#9ae2f4, #274046)","--color-border-cyan":"light-dark(#85d5e9, #49adc4)","--color-icon-cyan":"light-dark(#004351, #71c7dd)","--color-text-cyan":"light-dark(#004351, #85d5e9)","--color-background-blue":"light-dark(#b9d7ff, #253c5a)","--color-border-blue":"light-dark(#a1caff, #5aa0f8)","--color-icon-blue":"light-dark(#003978, #88bcff)","--color-text-blue":"light-dark(#003978, #a1caff)","--color-background-purple":"light-dark(#f7d5ff, #4a2f51)","--color-border-purple":"light-dark(#f3bfff, #d885eb)","--color-icon-purple":"light-dark(#5c0e6c, #e496f6)","--color-text-purple":"light-dark(#5c0e6c, #eaacf8)","--color-background-pink":"light-dark(#ffc0d7, #572b3d)","--color-border-pink":"light-dark(#ffc0d7, #fc78b1)","--color-icon-pink":"light-dark(#70003f, #fd92bd)","--color-text-pink":"light-dark(#70003f, #ffa9ca)","--color-background-gray":"light-dark(#e2e2e2, #303030)","--color-border-gray":"light-dark(#d4d4d4, #262626)","--color-icon-gray":"light-dark(#474747, #9e9e9e)","--color-text-gray":"light-dark(#1b1b1b, #d4d4d4)","--radius-none":"0px","--radius-inner":"0.375rem","--radius-element":"0.625rem","--radius-container":"0.75rem","--radius-page":"1.75rem","--radius-full":"9999px","--shadow-low":"0 2px 4px light-dark(oklch(0 0 0 / 5%), oklch(0 0 0 / 25%)), 0 4px 8px light-dark(oklch(0 0 0 / 10%), oklch(0 0 0 / 40%)), inset 0 0 0 1px light-dark(transparent, oklch(1 0 0 / 8%))","--shadow-med":"0 2px 4px light-dark(oklch(0 0 0 / 5%), oklch(0 0 0 / 35%)), 0 4px 12px light-dark(oklch(0 0 0 / 10%), oklch(0 0 0 / 50%)), inset 0 0 0 1px light-dark(transparent, oklch(1 0 0 / 12%))","--shadow-high":"0 4px 6px light-dark(oklch(0 0 0 / 10%), oklch(0 0 0 / 50%)), 0 12px 24px light-dark(oklch(0 0 0 / 15%), oklch(0 0 0 / 70%)), inset 0 0 0 1px light-dark(transparent, oklch(1 0 0 / 15%))","--shadow-inset-hover":"inset 0px 0px 0px 2px #0074e24D","--shadow-inset-selected":"inset 0px 0px 0px 2px #0074e280","--shadow-inset-success":"inset 0px 0px 0px 2px #2f7d334D","--shadow-inset-warning":"inset 0px 0px 0px 2px #f8d36a4D","--shadow-inset-error":"inset 0px 0px 0px 2px #de47454D"},localTokens:{"--astryx-theme-neutral-color-status-fill-accent":"light-dark(#0074e2, #6d9cfe)"},__localTokenOwners:{"--astryx-theme-neutral-color-status-fill-accent":"skillar"},__localTokenLineage:["skillar"],components:{heading:{"level:1":{fontFamily:"var(--font-family-heading)",fontSize:"var(--text-heading-1-size)",fontWeight:"var(--text-heading-1-weight)",lineHeight:"var(--text-heading-1-leading)"},"level:2":{fontFamily:"var(--font-family-heading)",fontSize:"var(--text-heading-2-size)",fontWeight:"var(--text-heading-2-weight)",lineHeight:"var(--text-heading-2-leading)"},"level:3":{fontFamily:"var(--font-family-heading)",fontSize:"var(--text-heading-3-size)",fontWeight:"var(--text-heading-3-weight)",lineHeight:"var(--text-heading-3-leading)"},"level:4":{fontFamily:"var(--font-family-heading)",fontSize:"var(--text-heading-4-size)",fontWeight:"var(--text-heading-4-weight)",lineHeight:"var(--text-heading-4-leading)"},"level:5":{fontFamily:"var(--font-family-heading)",fontSize:"var(--text-heading-5-size)",fontWeight:"var(--text-heading-5-weight)",lineHeight:"var(--text-heading-5-leading)"},"level:6":{fontFamily:"var(--font-family-heading)",fontSize:"var(--text-heading-6-size)",fontWeight:"var(--text-heading-6-weight)",lineHeight:"var(--text-heading-6-leading)"},"type:display-1":{fontFamily:"var(--font-family-heading)",fontSize:"var(--text-display-1-size)",lineHeight:"var(--text-display-1-leading)"},"type:display-2":{fontFamily:"var(--font-family-heading)",fontSize:"var(--text-display-2-size)",lineHeight:"var(--text-display-2-leading)"},"type:display-3":{fontFamily:"var(--font-family-heading)",fontSize:"var(--text-display-3-size)",lineHeight:"var(--text-display-3-leading)"}},text:{"type:body":{fontFamily:"var(--font-family-body)",fontSize:"var(--text-body-size)",lineHeight:"var(--text-body-leading)"},"type:large":{fontFamily:"var(--font-family-body)",fontSize:"var(--text-large-size)",lineHeight:"var(--text-large-leading)"},"type:label":{fontFamily:"var(--font-family-body)",fontSize:"var(--text-label-size)",lineHeight:"var(--text-label-leading)"},"type:code":{fontFamily:"var(--font-family-code)",fontSize:"var(--text-code-size)",lineHeight:"var(--text-code-leading)"},"type:supporting":{fontFamily:"var(--font-family-body)",fontSize:"var(--text-supporting-size)",lineHeight:"var(--text-supporting-leading)"},"type:display-1":{fontFamily:"var(--font-family-heading)",fontSize:"var(--text-display-1-size)",lineHeight:"var(--text-display-1-leading)"},"type:display-2":{fontFamily:"var(--font-family-heading)",fontSize:"var(--text-display-2-size)",lineHeight:"var(--text-display-2-leading)"},"type:display-3":{fontFamily:"var(--font-family-heading)",fontSize:"var(--text-display-3-size)",lineHeight:"var(--text-display-3-leading)"}},"checkbox-indicator":{base:{"--color-border-emphasized":"light-dark(#919191, #6a6a6a)"}},item:{selected:{"--color-text-secondary":"light-dark(#474747, #c6c6c6)"}},"tree-list-item":{selected:{"--color-text-secondary":"light-dark(#474747, #c6c6c6)"}},"file-input":{"mode:dropzone":{"--color-text-secondary":"light-dark(#474747, #c6c6c6)"}},citation:{"variant:number":{"--color-text-secondary":"light-dark(#474747, #c6c6c6)"}},button:{"variant:destructive":{backgroundColor:"var(--color-error-muted)",color:"var(--color-on-error-muted)"}},badge:{"variant:neutral":{backgroundColor:"var(--color-background-gray)",color:"var(--color-text-gray)"},"variant:red":{backgroundColor:"var(--color-background-red)",color:"var(--color-text-red)"},"variant:orange":{backgroundColor:"var(--color-background-orange)",color:"var(--color-text-orange)"},"variant:yellow":{backgroundColor:"var(--color-background-yellow)",color:"var(--color-text-yellow)"},"variant:green":{backgroundColor:"var(--color-background-green)",color:"var(--color-text-green)"},"variant:teal":{backgroundColor:"var(--color-background-teal)",color:"var(--color-text-teal)"},"variant:cyan":{backgroundColor:"var(--color-background-cyan)",color:"var(--color-text-cyan)"},"variant:blue":{backgroundColor:"var(--color-background-blue)",color:"var(--color-text-blue)"},"variant:purple":{backgroundColor:"var(--color-background-purple)",color:"var(--color-text-purple)"},"variant:pink":{backgroundColor:"var(--color-background-pink)",color:"var(--color-text-pink)"},"variant:gray":{backgroundColor:"var(--color-background-gray)",color:"var(--color-text-gray)"}},"segmented-control":{base:{padding:"var(--spacing-1)"}},"segmented-control-item":{base:{"--color-text-secondary":"light-dark(#474747, #c6c6c6)"},"size:sm":{height:"calc(var(--size-element-sm) - 8px)"},"size:md":{height:"calc(var(--size-element-md) - 8px)"},"size:lg":{height:"calc(var(--size-element-lg) - 8px)"},selected:{boxShadow:"none"}},switch:{base:{"--color-background-gray":"var(--color-border-emphasized)"}},"progress-bar":{base:{"--color-background-muted":"var(--color-border-emphasized)"}},card:{base:{padding:"var(--spacing-3)"}},section:{base:{padding:"var(--spacing-3)"}}},__onDark:{tokens:{"color-scheme":"dark","--color-text-primary":"var(--color-on-dark)","--color-icon-primary":"var(--color-on-dark)","--color-accent":"var(--color-on-dark)"}},__onLight:{tokens:{"color-scheme":"light","--color-text-primary":"var(--color-on-light)","--color-icon-primary":"var(--color-on-light)","--color-accent":"var(--color-on-light)"}},__adaptations:{widthBreakpoints:{sm:640,md:768,lg:1024,xl:1280,"2xl":1536},rules:[{when:{pointer:"coarse",width:{below:"lg"}},value:{typography:{scale:{base:16,ratio:1.1736}}}}]},__axes:{typography:{scale:{base:14,ratio:1.2},body:{family:"Figtree",fallbacks:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif'},heading:{family:"Figtree",fallbacks:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',weights:{3:"bold",4:"bold"}},code:{family:"ui-monospace",fallbacks:'"SF Mono", Monaco, Consolas, "Liberation Mono", "Courier New", monospace'}},motion:{fast:125,medium:300,slow:700,ratio:.75}},icons:xy};var Bt=S(B(),1);var sl=["not_attempted","in_progress","succeeded","failed","cancelled","unknown"],P4=["empty_query","no_overlap","below_threshold","explicit_only"],U4=new Set,ua=e=>typeof e=="string"?e:void 0;function Xf(e){let t=e.abstained,a=P4.find(o=>o===t?.reason);return typeof e.total=="number"&&e.total>0||Array.isArray(e.candidates)&&e.candidates.length>0?{result:"candidates_found"}:a||e.total===0?{result:"no_candidates",...a?{reason:a}:{}}:{}}function yy(e,t=U4){let a=new Map,o=new Set(e.filter(n=>n.kind==="skill_request").map(n=>ua(n.data.requestId)).filter(Boolean));for(let n of e){let{data:r}=n;if(n.kind==="skill_request"){let l=ua(r.requestId),s=r.operation;if(!l||s!=="search"&&s!=="load")continue;let i=r.status;if(!sl.includes(i)||i==="not_attempted")continue;let u=a.get(l);if(i==="in_progress"&&u?.endedAt!==void 0)continue;a.set(l,{id:l,operation:s,status:i==="in_progress"?t.has(l)?"in_progress":"unknown":i,startedAt:u?.startedAt??(typeof r.startedAt=="number"?r.startedAt:n.ts),...i!=="in_progress"?{endedAt:n.ts}:{},...ua(r.uri)??ua(r.firstCandidateUri)?{uri:ua(r.uri)??ua(r.firstCandidateUri)}:{},...s==="search"&&i==="succeeded"?Xf(r):{},...ua(r.errorCode)?{errorCode:ua(r.errorCode)}:{}});continue}if(!o.has(ua(r.requestId))){if(n.kind==="search"||n.kind==="load")a.set(n.id,{id:n.id,operation:n.kind,status:"succeeded",endedAt:n.ts,...n.kind==="search"?{...Xf(r),uri:Array.isArray(r.candidates)?ua(r.candidates[0]?.uri):void 0}:{uri:n.skillUri??ua(r.uri)}});else if(n.kind==="error"){let l=n.skillUri??ua(r.uri),s=r.tool==="search_skills"?"search":r.tool==="load_skill"||r.tool==="resources/read"&&r.resourceKind!=="supporting_file"&&l?.endsWith("/SKILL.md")?"load":void 0;s&&a.set(n.id,{id:n.id,operation:s,status:"failed",endedAt:n.ts,...l?{uri:l}:{},...ua(r.code)?{errorCode:ua(r.code)}:{}})}}}return[...a.values()]}function DC(e){let t=()=>({total:0,counts:{in_progress:0,succeeded:0,failed:0,cancelled:0,unknown:0},results:{candidates_found:0,no_candidates:0},reasons:{}}),a={search:t(),load:t()};for(let o of e){let n=a[o.operation];n.total++,n.counts[o.status]++,o.result&&n.results[o.result]++,o.reason&&(n.reasons[o.reason]=(n.reasons[o.reason]??0)+1)}return a}function Ns(e,t){return t==="not_attempted"?e.total===0:e.counts[t]>0}var sr=["claude-code","codex","gemini","cursor","omo","gajae","openclaw","unknown"],ir=["from","to","runtime","skill","dow","hour","hourSpan","q","automated","searchStatus","loadStatus","searchResult"],V4=["-started","started","runtime","-runtime","reads","-reads"],BC=["started","runtime","reads","prompt","search"],Zt={"claude-code":"Claude Code",codex:"Codex",gemini:"Gemini CLI",cursor:"Cursor",omo:"OmO",gajae:"Gajae Code",openclaw:"OpenClaw",unknown:"\uC54C \uC218 \uC5C6\uC74C"};var nt={not_attempted:"\uC694\uCCAD \uC5C6\uC74C",in_progress:"\uC9C4\uD589 \uC911",succeeded:"\uC131\uACF5",failed:"\uC2E4\uD328",cancelled:"\uCDE8\uC18C\uB428",unknown:"\uC54C \uC218 \uC5C6\uC74C"};var NC={runtime_id:"\uC2E4\uD589 \uD658\uACBD ID",vendor_meta:"\uC81C\uACF5\uC790 \uBA54\uD0C0\uB370\uC774\uD130",trace_handle:"\uAC80\uC0C9 \uCD94\uC801 ID",window:"\uC2DC\uAC04 \uAD6C\uAC04",none:"\uBBF8\uC5F0\uACB0"},Zf=["\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0"];var $C={found_top1:"\uCCAB \uAC80\uC0C9 \uACB0\uACFC \uC0AC\uC6A9",found_lower:"\uD558\uC704 \uAC80\uC0C9 \uACB0\uACFC \uC0AC\uC6A9",loaded_outside_results:"\uAC80\uC0C9 \uACB0\uACFC \uBC16\uC758 \uC2A4\uD0AC \uC0AC\uC6A9",native_without_search:"\uAC80\uC0C9 \uC5C6\uC774 \uB0B4\uC7A5 \uC2A4\uD0AC \uC0AC\uC6A9",searched_none_used:"\uAC80\uC0C9 \uACB0\uACFC \uC0AC\uC6A9 \uAE30\uB85D \uC5C6\uC74C",no_search:"\uAC80\uC0C9 \uAE30\uB85D \uC5C6\uC74C"},OC={found_top1:"found_top1: \uC774 \uB300\uD654 \uCC28\uB840\uC5D0\uC11C \uC0AC\uC6A9\uD55C \uC2A4\uD0AC\uC774 \uCCAB \uAC80\uC0C9 \uACB0\uACFC\uC600\uC2B5\uB2C8\uB2E4.",found_lower:"found_lower: \uC774 \uB300\uD654 \uCC28\uB840\uC5D0\uC11C \uC0AC\uC6A9\uD55C \uC2A4\uD0AC\uC774 \uD558\uC704 \uAC80\uC0C9 \uACB0\uACFC\uC600\uC2B5\uB2C8\uB2E4.",loaded_outside_results:"loaded_outside_results: \uC774 \uB300\uD654 \uCC28\uB840\uC5D0\uC11C \uC0AC\uC6A9\uD55C \uC2A4\uD0AC\uC774 \uAC80\uC0C9 \uACB0\uACFC\uC5D0 \uC5C6\uC5C8\uC2B5\uB2C8\uB2E4.",native_without_search:"native_without_search: \uC2E4\uD589 \uD658\uACBD\uC774 skillar \uAC80\uC0C9 \uC5C6\uC774 \uB0B4\uC7A5 \uC2A4\uD0AC\uC744 \uD65C\uC131\uD654\uD588\uC2B5\uB2C8\uB2E4.",searched_none_used:"searched_none_used: \uC774 \uB300\uD654 \uCC28\uB840\uC5D0\uC11C \uAC80\uC0C9\uD588\uC9C0\uB9CC \uACB0\uACFC\uB97C \uC0AC\uC6A9\uD55C \uAE30\uB85D\uC740 \uC5C6\uC2B5\uB2C8\uB2E4.",no_search:"no_search: \uC774 \uB300\uD654 \uCC28\uB840\uC5D0\uB294 \uAC80\uC0C9\uC774\uB098 \uC2A4\uD0AC \uC0AC\uC6A9 \uAE30\uB85D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."};var G4=new Set(sr);function il(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch{return e}}function RC(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%2F/gi,"/")}function j4(e){let t=e.startsWith("?")?e.slice(1):e;return t?t.split("&").filter(Boolean).map(a=>{let o=a.indexOf("=");return o<0?[il(a),""]:[il(a.slice(0,o)),a.slice(o+1)]}):[]}function Yu(e,t,a){let o=il(e).trim();if(!/^-?\d+$/.test(o))return;let n=Number(o);return n>=t&&n<=a?n:void 0}function Kf(e){let t=new Set;for(let a of il(e).split(",")){let o=a.trim();o&&t.add(o)}return[...t]}function X4(e){let t=typeof e=="string"?e:e.toString(),a={};for(let[o,n]of j4(t))switch(o){case"from":a.from=Yu(n,0,Number.MAX_SAFE_INTEGER);break;case"to":a.to=Yu(n,0,Number.MAX_SAFE_INTEGER);break;case"runtime":{let r=Kf(n).filter(l=>G4.has(l));r.length&&(a.runtime=r);break}case"skill":{let r=Kf(n);r.length&&(a.skill=r);break}case"searchStatus":case"loadStatus":{let r=Kf(n).filter(l=>sl.includes(l));r.length&&(a[o]=r);break}case"searchResult":{let r=Kf(n).filter(l=>l==="candidates_found"||l==="no_candidates");r.length&&(a.searchResult=r);break}case"dow":a.dow=Yu(n,0,6);break;case"hour":a.hour=Yu(n,0,23);break;case"hourSpan":a.hourSpan=Yu(n,1,24);break;case"q":{let r=il(n).trim();r&&(a.q=r);break}case"automated":{let r=il(n).trim();(r==="include"||r==="only")&&(a.automated=r);break}default:break}for(let o of ir)a[o]===void 0&&delete a[o];return a}function Ao(e){let t=[];for(let a of ir){let o=e[a];o!=null&&(Array.isArray(o)?o.length&&t.push(`${a}=${o.map(RC).join(",")}`):typeof o=="number"?Number.isFinite(o)&&t.push(`${a}=${o}`):o.trim()&&t.push(`${a}=${RC(o.trim())}`))}return t.join("&")}function zC(e){return ir.every(t=>e[t]===void 0)}function Wf(e,t){let a={...e};return delete a[t],t==="hour"&&delete a.hourSpan,a}function by(e){let t=e.startsWith("#")?e.slice(1):e,a=t.indexOf("?"),o=(a>=0?t.slice(0,a):t).replace(/^\/+|\/+$/g,""),n=a>=0?t.slice(a+1):"",r=X4(n),l=new URLSearchParams(n),s=V4.find(c=>c===l.get("sort")),i=l.get("density"),u=l.get("format"),d={...l.get("asort")?{analysisSort:l.get("asort")??void 0}:{},...l.get("aq")?{analysisQuery:l.get("aq")??void 0}:{},...l.get("facet")?{facet:l.get("facet")??void 0}:{},...s?{sort:s}:{},...l.get("peek")?{peek:l.get("peek")??void 0}:{},...l.get("ws")?{workspace:l.get("ws")??void 0}:{},...i==="compact"||i==="normal"||i==="comfortable"?{density:i}:{},...l.get("event")?{event:l.get("event")??void 0}:{},...u==="formatted"||u==="raw"?{format:u}:{},...l.get("attributes")==="1"?{attributes:!0}:{}},h=o?o.split("/").map(il):[];if(h.length>2||h.length>1&&h[0]!=="sessions"&&h[0]!=="workspaces")return{...d,view:"not-found",filter:r};switch(h[0]){case"dashboard":return{...d,view:"dashboard",filter:r};case"flow":return{...d,view:"dashboard",filter:r};case"heatmap":return{...d,view:"dashboard",filter:r};case"workspaces":return{...d,view:"sessions",filter:r};case"sessions":return h[1]?{...d,view:"trace",sessionId:h[1],filter:r}:{...d,view:"sessions",filter:r};case void 0:return{...d,view:"sessions",filter:r};default:return{...d,view:"not-found",filter:r}}}function Ae(e){let t=e.view==="trace"?`/sessions/${encodeURIComponent(e.sessionId??"")}`:`/${e.view}`,a=[Ao(e.filter)];e.sort&&a.push(`sort=${e.sort}`),e.workspace&&a.push(`ws=${encodeURIComponent(e.workspace)}`),e.density&&a.push(`density=${e.density}`),e.view==="sessions"&&e.peek&&a.push(`peek=${encodeURIComponent(e.peek)}`),e.analysisSort&&a.push(`asort=${encodeURIComponent(e.analysisSort)}`),e.analysisQuery&&a.push(`aq=${encodeURIComponent(e.analysisQuery)}`),e.facet&&a.push(`facet=${encodeURIComponent(e.facet)}`),(e.view==="sessions"||e.view==="trace")&&e.event&&a.push(`event=${encodeURIComponent(e.event)}`),e.format&&a.push(`format=${e.format}`),e.attributes&&a.push("attributes=1");let o=a.filter(Boolean).join("&");return`#${t}${o?`?${o}`:""}`}function rt(e){let t=e.replace(/\/SKILL\.md$/i,"").split("/").filter(Boolean);return t[t.length-1]??e}function HC(e,t){if(e.automated!==void 0&&t.automated===void 0||t.automated==="only"&&e.automated===void 0||t.from!==void 0&&e.startedAt<t.from||t.to!==void 0&&e.startedAt>t.to||t.runtime&&!t.runtime.includes(e.runtime)||t.searchStatus?.length&&!t.searchStatus.some(o=>e.requests?Ns(e.requests.search,o):o==="unknown")||t.loadStatus?.length&&!t.loadStatus.some(o=>e.requests?Ns(e.requests.load,o):o==="unknown")||t.searchResult?.length&&!t.searchResult.some(o=>(e.requests?.search.results[o]??0)>0)||t.skill&&!t.skill.some(o=>e.skills.includes(o)))return!1;let a=new Date(e.startedAt);if(t.dow!==void 0&&a.getDay()!==t.dow)return!1;if(t.hour!==void 0){let o=t.hourSpan??1,n=a.getHours();if(n<t.hour||n>=t.hour+o)return!1}if(t.q){let o=t.q.toLowerCase();if(![e.firstPrompt??"",e.id,...e.skills.map(rt)].join(`
|
|
108
|
+
For custom themes, run \`npx @astryxdesign/cli theme build <file>\` to generate the built artifacts.`),n={users:new Map,owner:a,formerOwner:null,theme:e,styles:Vw(e,t)},py.set(o,n)),n.users.set(a,{theme:e,id:t}),n.formerOwner===a&&(n.owner=a,n.formerOwner=null,n.theme!==e&&Uw(n,e,t));let r=n;return()=>{if(r.users.delete(a),r.users.size===0){for(let i of r.styles)i.remove();py.delete(o);return}if(r.owner!==a)return;let[l,s]=[...r.users][0];r.owner=l,r.formerOwner=a,s.theme!==r.theme&&Uw(r,s.theme,s.id)}},[e,t,a])}function _4(e,t,a,o){Lm(()=>{if(!e&&!(typeof document>"u"))return t==="light"||t==="dark"?document.documentElement.setAttribute("data-theme",t):document.documentElement.removeAttribute("data-theme"),document.documentElement.setAttribute(Tr("theme"),a),fy(document.documentElement,o),o?document.documentElement.style.setProperty(Td,"1"):document.documentElement.style.removeProperty(Td),()=>{document.documentElement.removeAttribute("data-theme"),document.documentElement.removeAttribute(Tr("theme")),fy(document.documentElement,!1),document.documentElement.style.removeProperty(Td)}},[e,t,a,o])}function E4(e){Lm(()=>{if(!(e||typeof document>"u"))return gw(document)},[e])}function Vf({theme:e,mode:t="system",children:a}){let o=(0,Co.use)(my);Md(e),T4(e);let n=tb(e.__axes?.motion).reducedMotion==="always";_4(o,t,e.name,n),E4(o);let r=t==="dark"?Cu.dark:t==="light"?Cu.light:Cu.system,l=(0,Co.useMemo)(()=>({theme:e,mode:t}),[e,t]);return(0,Uf.jsx)(mb,{value:l,children:(0,Uf.jsx)(my,{value:!0,children:(0,Uf.jsx)("div",{...q(Cu.base,r,n&&Cu.reducedMotion),"data-astryx-theme":e.name,...Fw(n),"data-theme":t==="system"?void 0:t,children:a})})})}Vf.displayName="Theme";var hy="--color-syntax-";function M4(e){return hy+e}var jw=Object.keys(hu).map(e=>e.replace(hy,"")),D4=new Set(FL.map(e=>e.replace(hy,""))),R4=new Set(["added-marker","removed-marker"]),Gw=jw.filter(e=>!D4.has(e));function B4(e){return Array.isArray(e)?`light-dark(${e[0]}, ${e[1]})`:e}function Gf(e){let t=Gw.filter(o=>!(o in e.tokens));t.length>0&&dy("defineSyntaxTheme",`"${e.name}": missing tokens: ${t.join(", ")}. All ${Gw.length} syntax colour tokens are required; the diff row slots (added, removed, diff-header, added-marker, removed-marker) are optional.`);let a={};for(let o of jw){let n=e.tokens[o];a[o]=n!==void 0?B4(n):R4.has(o)?"var(--color-syntax-punctuation)":o==="diff-header"?"transparent":hu[M4(o)]}return{name:e.name,tokens:a,__inputTokens:{...e.tokens}}}var jf=S(B(),1);var Xw=e=>(e.match(/\d+[xX]\d+|[A-Z]?[a-z]+|[A-Z]|\d+/g)??[]).join("-").toLowerCase();function Kw(e,t,a=[]){if(t==null)throw new Error("[lucide]: iconNode is required when icon name is used");return{name:Xw(e),size:24,node:t,...a.length>0?{aliases:a}:{}}}var Zw=e=>{let t="",a=!1;for(let o of e){if(o==="-"||o==="_"||o<=" "){a=t.length>0;continue}t.length===0?t+=o.toLowerCase():t+=a?o.toUpperCase():o,a=!1}return t};var Ww=e=>{let t=Zw(e);return t.charAt(0).toUpperCase()+t.slice(1)};var Au=S(B(),1);var Iu=(...e)=>{let t=new Set;for(let a of e)if(typeof a=="string")for(let o of a.split(/\s+/))o&&t.add(o);return[...t].join(" ")};var Jn={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};function gy(e){return e!=null}function Yw(e,t={}){let a=t.attributeNames??{},o=c=>a[c]??c,n=e.size??e.width??Jn.width,r=e.size??e.height??Jn.height,l=e.aliases?.filter(c=>typeof c=="string"&&c.trim()!=="").map(c=>`lucide-${c}`)??[],s=[...e.name?[`lucide-${e.name}`]:[],...l],i=t.className?.split(" ").filter(Boolean)??[],u=t.includeDefaultClasses===!1?Iu(...i):Iu("lucide",...s,...i),d=t.absoluteStrokeWidth?Number(t.strokeWidth??Jn["stroke-width"])*Number(e.size??e.width??Jn.width)/Number(t.size??t.width??Jn.width):t.strokeWidth??Jn["stroke-width"];return["svg",{...Object.entries(Jn).reduce((c,[p,b])=>(c[o(p)]=b,c),{}),..."color"in t&&t.color&&{[o("stroke")]:t.color},..."size"in t&&gy(t.size)&&{[o("width")]:t.size,[o("height")]:t.size},..."width"in t&&gy(t.width)&&{[o("width")]:t.width},..."height"in t&&gy(t.height)&&{[o("height")]:t.height},[o("stroke-width")]:d,...u&&{[o("class")]:u},[o("viewBox")]:`0 0 ${n} ${r}`,...t.hasA11yProp===!1?{[o("aria-hidden")]:"true"}:{},..."attributes"in t&&t.attributes},e.node.map(c=>{let[p,b,y]=c,v=t.nonScalingStroke?{[o("vector-effect")]:"non-scaling-stroke",...b}:b;return y?[p,v,y]:[p,v]})]}function Qw(e,t={}){return Yw(e,{...t,attributeNames:{...t.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}var Jw=e=>{if(e==null||typeof e!="object")return!1;for(let t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&(t.startsWith("aria-")||t==="role"||t==="title")&&e[t]!=null)return!0;return!1};var Bs=S(B(),1);var N4=(0,Bs.createContext)({});var eC=()=>(0,Bs.useContext)(N4);var tC=(0,Au.forwardRef)(({color:e,size:t,width:a,height:o,strokeWidth:n,absoluteStrokeWidth:r,nonScalingStroke:l,className:s="",children:i,iconNode:u=[],icon:d={node:u,aliases:[],size:24},...h},c)=>{let{size:p=24,strokeWidth:b=2,absoluteStrokeWidth:y=!1,nonScalingStroke:v=!1,color:m="currentColor",className:f=""}=eC()??{},g=!!i||Jw(h),[x,k,w=[]]=Qw(d,{color:e??m,width:a??t??p,height:o??t??p,strokeWidth:n??b,absoluteStrokeWidth:r??y,nonScalingStroke:l??v,className:Iu(f,s),hasA11yProp:g,attributes:h});return(0,Au.createElement)(x,{ref:c,...k},[...w.map(([L,C])=>(0,Au.createElement)(L,C)),...Array.isArray(i)?i:[i]])});function H(e,t=[],a=[]){let o=typeof e=="string"?Kw(e,t,a):e,n=(0,jf.forwardRef)(({className:r,...l},s)=>(0,jf.createElement)(tC,{ref:s,icon:o,className:r,...l}));return o.name&&(n.displayName=Ww(o.name)),n}var aC={name:"arrow-down",size:24,node:[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]};aC.node;var Tu=H(aC);var oC={name:"arrow-up-down",size:24,node:[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]]};oC.node;var _u=H(oC);var nC={name:"arrow-up",size:24,node:[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]};nC.node;var Eu=H(nC);var rC={name:"calendar",size:24,node:[["path",{d:"M8 2v3",key:"1ioesn"}],["path",{d:"M16 2v3",key:"otl347"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M3 9h18",key:"1pudct"}]]};rC.node;var Mu=H(rC);var lC={name:"check-check",size:24,node:[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]]};lC.node;var Du=H(lC);var sC={name:"check",size:24,node:[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]};sC.node;var Ru=H(sC);var iC={name:"chevron-down",size:24,node:[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]};iC.node;var Bu=H(iC);var uC={name:"chevron-left",size:24,node:[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]};uC.node;var Nu=H(uC);var dC={name:"chevron-right",size:24,node:[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]};dC.node;var $u=H(dC);var cC={name:"chevrons-left",size:24,node:[["path",{d:"m11 17-5-5 5-5",key:"13zhaf"}],["path",{d:"m18 17-5-5 5-5",key:"h8a8et"}]]};cC.node;var Ou=H(cC);var fC={name:"chevrons-right",size:24,node:[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]]};fC.node;var zu=H(fC);var pC={name:"circle-check-big",size:24,node:[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],aliases:["check-circle"]};pC.node;var er=H(pC);var mC={name:"circle-x",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],aliases:["x-circle"]};mC.node;var tr=H(mC);var hC={name:"clock",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]};hC.node;var Hu=H(hC);var gC={name:"columns-2",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]],aliases:["columns"]};gC.node;var ar=H(gC);var xC={name:"copy",size:24,node:[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]};xC.node;var qu=H(xC);var yC={name:"ellipsis",size:24,node:[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],aliases:["more-horizontal"]};yC.node;var or=H(yC);var bC={name:"external-link",size:24,node:[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]};bC.node;var Fu=H(bC);var vC={name:"eye-off",size:24,node:[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]};vC.node;var Pu=H(vC);var kC={name:"funnel",size:24,node:[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]],aliases:["filter"]};kC.node;var nr=H(kC);var SC={name:"info",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]};SC.node;var Uu=H(SC);var LC={name:"menu",size:24,node:[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]};LC.node;var Vu=H(LC);var wC={name:"mic",size:24,node:[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]]};wC.node;var Gu=H(wC);var CC={name:"search",size:24,node:[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]};CC.node;var ju=H(CC);var IC={name:"square",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]};IC.node;var Xu=H(IC);var AC={name:"triangle-exclamation-point",size:24,node:[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],aliases:["alert-triangle","triangle-alert"]};AC.node;var eo=H(AC);var TC={name:"upload",size:24,node:[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]};TC.node;var Ku=H(TC);var _C={name:"wrench",size:24,node:[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]]};_C.node;var Zu=H(_C);var EC={name:"x",size:24,node:[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]};EC.node;var Wu=H(EC);var se=S(I(),1),pe={size:"1em","aria-hidden":!0},xy={close:(0,se.jsx)(Wu,{...pe}),chevronDown:(0,se.jsx)(Bu,{...pe}),chevronLeft:(0,se.jsx)(Nu,{...pe}),chevronRight:(0,se.jsx)($u,{...pe}),chevronsLeft:(0,se.jsx)(Ou,{...pe}),chevronsRight:(0,se.jsx)(zu,{...pe}),check:(0,se.jsx)(Ru,{...pe}),success:(0,se.jsx)(er,{...pe}),error:(0,se.jsx)(tr,{...pe}),warning:(0,se.jsx)(eo,{...pe}),info:(0,se.jsx)(Uu,{...pe}),calendar:(0,se.jsx)(Mu,{...pe}),clock:(0,se.jsx)(Hu,{...pe}),externalLink:(0,se.jsx)(Fu,{...pe}),menu:(0,se.jsx)(Vu,{...pe}),moreHorizontal:(0,se.jsx)(or,{...pe}),search:(0,se.jsx)(ju,{...pe}),upload:(0,se.jsx)(Ku,{...pe}),arrowUp:(0,se.jsx)(Eu,{...pe}),arrowDown:(0,se.jsx)(Tu,{...pe}),arrowsUpDown:(0,se.jsx)(_u,{...pe}),funnel:(0,se.jsx)(nr,{...pe}),eyeSlash:(0,se.jsx)(Pu,{...pe}),viewColumns:(0,se.jsx)(ar,{...pe}),copy:(0,se.jsx)(qu,{...pe}),checkDouble:(0,se.jsx)(Du,{...pe}),wrench:(0,se.jsx)(Zu,{...pe}),stop:(0,se.jsx)(Xu,{...pe}),microphone:(0,se.jsx)(Gu,{...pe})},$4={purple:{light:{25:"#5c0e6c",30:"#6b187c",70:"#d885eb",75:"#e496f6",80:"#efa8ff",85:"#f3bfff",90:"#f7d5ff"},dark:{25:"#4a2f51",80:"#eaacf8"}},green:{light:{25:"#00490b",30:"#0b5615",45:"#2f7d33",65:"#6ab26b",75:"#90ca90",80:"#a4d6a3"},dark:{25:"#2b422b",80:"#aad4a9",85:"#bce0bb"}},neutral:{light:{0:"#000000",5:"#111111",10:"#1b1b1b",30:"#474747",35:"#525252",45:"#6a6a6a",60:"#919191",85:"#d4d4d4",90:"#e2e2e2",95:"#f1f1f1",100:"#ffffff"},dark:{0:"#000000",5:"#111111",10:"#1b1b1b",15:"#262626",20:"#303030",30:"#474747",35:"#525252",65:"#9e9e9e",75:"#b9b9b9",80:"#c6c6c6",85:"#d4d4d4",90:"#e2e2e2",95:"#f1f1f1",100:"#ffffff"}},orange:{light:{25:"#622700",30:"#733100",75:"#ff9e55",85:"#ffc7a1"},dark:{25:"#503424",65:"#df843f",80:"#ffb37e"}},blue:{light:{25:"#003978",30:"#00458c",45:"#0067ce",50:"#0074e2",80:"#a1caff",85:"#b9d7ff"},dark:{25:"#253c5a",65:"#5aa0f8",75:"#88bcff",80:"#a1caff"}},red:{light:{25:"#76000c",30:"#8a0011",45:"#c0262c",55:"#de4745",65:"#fa6762",80:"#ffaea7",85:"#ffc4be"},dark:{25:"#5b2b28",75:"#ff9890",80:"#ffaea7"}},yellow:{light:{25:"#4b3900",30:"#584400",45:"#836700",65:"#c29900",75:"#e2b623",80:"#eec448",85:"#f8d36a"},dark:{25:"#453a1c",80:"#e3c36c",90:"#fae19e"}},teal:{light:{25:"#00463d",30:"#005348",80:"#90d7c8",85:"#a9e2d6"},dark:{25:"#28413c",65:"#4fb1a0",75:"#81c9bb"}},cyan:{dark:{25:"#274046",65:"#49adc4",75:"#71c7dd",80:"#85d5e9",85:"#9ae2f4"},light:{25:"#004351"}},pink:{light:{25:"#70003f",70:"#fc78b1",85:"#ffc0d7"},dark:{25:"#572b3d",75:"#fd92bd",80:"#ffa9ca"}}},{blue:ht,cyan:rr,green:Ct,neutral:_,orange:Fa,pink:lr,purple:Pa,red:It,teal:Io,yellow:At}=$4,Ge=(e,t)=>`${e}${t}`,O4=Gf({name:"astryx-neutral",tokens:{keyword:[Pa.light[30],Pa.light[80]],string:[Ct.light[30],Ct.light[80]],comment:[_.light[35],_.dark[75]],number:[Fa.light[30],Fa.dark[80]],function:[ht.light[30],ht.dark[80]],type:[Pa.light[30],Pa.light[80]],variable:[_.light[5],_.dark[90]],operator:[_.light[35],_.dark[75]],constant:[Fa.light[30],Fa.dark[80]],tag:[It.light[30],It.dark[80]],attribute:[At.light[30],At.light[80]],property:[Io.light[30],Io.light[80]],punctuation:[_.light[35],_.dark[75]],background:[_.light[100],_.dark[5]]}}),z4={"--astryx-theme-neutral-color-status-fill-accent":["#0074e2","#6d9cfe"]},bz=uy({name:"neutral",localTokens:z4,typography:{scale:{base:14,ratio:1.2},body:{family:"Figtree",fallbacks:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif'},heading:{family:"Figtree",fallbacks:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',weights:{3:"bold",4:"bold"}},code:{family:"ui-monospace",fallbacks:'"SF Mono", Monaco, Consolas, "Liberation Mono", "Courier New", monospace'}},adaptations:{rules:[{when:{pointer:"coarse",width:{below:"lg"}},value:{typography:{scale:{base:16,ratio:1.1736}}}}]},motion:{fast:125,medium:300,slow:700,ratio:.75},syntax:O4,tokens:{"--color-background-surface":[_.light[100],_.dark[15]],"--color-background-body":[_.light[95],_.dark[10]],"--color-background-card":[_.light[100],_.dark[10]],"--color-background-popover":[_.light[100],_.dark[10]],"--color-background-muted":[_.light[95],_.dark[10]],"--color-accent":[_.light[10],_.dark[95]],"--color-accent-muted":[_.light[85],_.dark[30]],"--color-neutral":[Ge(_.light[0],"0F"),Ge(_.dark[100],"1A")],"--color-overlay":[Ge(_.light[0],"80"),Ge(_.dark[0],"CC")],"--color-overlay-hover":[Ge(_.light[0],"0D"),Ge(_.dark[100],"0D")],"--color-overlay-pressed":[Ge(_.light[0],"1A"),Ge(_.dark[100],"1A")],"--color-text-primary":[_.light[0],_.dark[100]],"--color-text-secondary":[_.light[30],_.dark[65]],"--color-text-disabled":[_.light[60],_.dark[35]],"--color-text-accent":[_.light[10],_.dark[95]],"--color-on-dark":_.light[100],"--color-on-light":_.light[5],"--color-on-accent":[_.light[100],_.dark[5]],"--color-on-success":[_.light[100],_.dark[5]],"--color-on-error":[_.light[100],_.dark[5]],"--color-on-warning":_.light[5],"--color-info":["#0074e2","#6d9cfe"],"--color-info-muted":[ht.light[85],Ge(ht.dark[75],"3D")],"--color-on-info":[_.light[100],_.dark[5]],"--color-text-info":[ht.light[45],ht.dark[80]],"--color-text-success":[Ct.light[45],Ct.light[75]],"--color-text-warning":[At.light[45],At.light[80]],"--color-text-error":[It.light[45],It.dark[80]],"--color-on-info-muted":[ht.light[25],ht.dark[80]],"--color-on-success-muted":[Ct.light[25],Ct.light[75]],"--color-on-warning-muted":[At.light[25],At.light[80]],"--color-on-error-muted":[It.light[25],It.dark[80]],"--color-icon-accent":[_.light[10],_.dark[95]],"--color-icon-primary":[_.light[0],_.dark[100]],"--color-icon-secondary":[_.light[45],_.dark[65]],"--color-icon-disabled":[_.light[60],_.dark[35]],"--color-success":["#198100","#64af4c"],"--color-warning":"#ffce2f","--color-error":["#c9303a","#ff705d"],"--color-success-muted":[Ct.dark[85],Ge(Ct.light[75],"3D")],"--color-error-muted":[It.light[85],Ge(It.dark[75],"3D")],"--color-warning-muted":[At.dark[90],Ge(At.light[75],"3D")],"--color-border":[Ge(_.light[0],"14"),Ge(_.dark[100],"1A")],"--color-border-emphasized":[_.light[85],_.dark[35]],"--color-skeleton":[_.light[95],_.dark[35]],"--color-shadow":[Ge(_.light[0],"1A"),Ge(_.dark[0],"4D")],"--color-tint-hover":[_.light[0],_.dark[100]],"--color-background-red":[It.light[85],It.dark[25]],"--color-border-red":[It.light[80],It.light[65]],"--color-icon-red":[It.light[25],It.dark[75]],"--color-text-red":[It.light[25],It.dark[80]],"--color-background-orange":[Fa.light[85],Fa.dark[25]],"--color-border-orange":[Fa.light[85],Fa.dark[65]],"--color-icon-orange":[Fa.light[25],Fa.light[75]],"--color-text-orange":[Fa.light[25],Fa.dark[80]],"--color-background-yellow":[At.dark[90],At.dark[25]],"--color-border-yellow":[At.dark[80],At.light[65]],"--color-icon-yellow":[At.light[25],At.light[75]],"--color-text-yellow":[At.light[25],At.light[80]],"--color-background-green":[Ct.dark[85],Ct.dark[25]],"--color-border-green":[Ct.dark[80],Ct.light[65]],"--color-icon-green":[Ct.light[25],Ct.light[75]],"--color-text-green":[Ct.light[25],Ct.light[75]],"--color-background-teal":[Io.light[85],Io.dark[25]],"--color-border-teal":[Io.light[80],Io.dark[65]],"--color-icon-teal":[Io.light[25],Io.dark[75]],"--color-text-teal":[Io.light[25],Io.light[80]],"--color-background-cyan":[rr.dark[85],rr.dark[25]],"--color-border-cyan":[rr.dark[80],rr.dark[65]],"--color-icon-cyan":[rr.light[25],rr.dark[75]],"--color-text-cyan":[rr.light[25],rr.dark[80]],"--color-background-blue":[ht.light[85],ht.dark[25]],"--color-border-blue":[ht.light[80],ht.dark[65]],"--color-icon-blue":[ht.light[25],ht.dark[75]],"--color-text-blue":[ht.light[25],ht.dark[80]],"--color-background-purple":[Pa.light[90],Pa.dark[25]],"--color-border-purple":[Pa.light[85],Pa.light[70]],"--color-icon-purple":[Pa.light[25],Pa.light[75]],"--color-text-purple":[Pa.light[25],Pa.dark[80]],"--color-background-pink":[lr.light[85],lr.dark[25]],"--color-border-pink":[lr.light[85],lr.light[70]],"--color-icon-pink":[lr.light[25],lr.dark[75]],"--color-text-pink":[lr.light[25],lr.dark[80]],"--color-background-gray":[_.light[90],_.dark[20]],"--color-border-gray":[_.light[85],_.dark[15]],"--color-icon-gray":[_.light[30],_.dark[65]],"--color-text-gray":[_.light[10],_.dark[85]],"--radius-none":"0px","--radius-inner":"0.375rem","--radius-element":"0.625rem","--radius-container":"0.75rem","--radius-page":"1.75rem","--radius-full":"9999px","--shadow-low":"0 2px 4px light-dark(oklch(0 0 0 / 5%), oklch(0 0 0 / 25%)), 0 4px 8px light-dark(oklch(0 0 0 / 10%), oklch(0 0 0 / 40%)), inset 0 0 0 1px light-dark(transparent, oklch(1 0 0 / 8%))","--shadow-med":"0 2px 4px light-dark(oklch(0 0 0 / 5%), oklch(0 0 0 / 35%)), 0 4px 12px light-dark(oklch(0 0 0 / 10%), oklch(0 0 0 / 50%)), inset 0 0 0 1px light-dark(transparent, oklch(1 0 0 / 12%))","--shadow-high":"0 4px 6px light-dark(oklch(0 0 0 / 10%), oklch(0 0 0 / 50%)), 0 12px 24px light-dark(oklch(0 0 0 / 15%), oklch(0 0 0 / 70%)), inset 0 0 0 1px light-dark(transparent, oklch(1 0 0 / 15%))","--shadow-inset-hover":`inset 0px 0px 0px 2px ${Ge(ht.light[50],"4D")}`,"--shadow-inset-selected":`inset 0px 0px 0px 2px ${Ge(ht.light[50],"80")}`,"--shadow-inset-success":`inset 0px 0px 0px 2px ${Ge(Ct.light[45],"4D")}`,"--shadow-inset-warning":`inset 0px 0px 0px 2px ${Ge(At.light[85],"4D")}`,"--shadow-inset-error":`inset 0px 0px 0px 2px ${Ge(It.light[55],"4D")}`},components:{item:{selected:{"--color-text-secondary":`light-dark(${_.light[30]}, ${_.dark[80]})`}},"tree-list-item":{selected:{"--color-text-secondary":`light-dark(${_.light[30]}, ${_.dark[80]})`}},"file-input":{"mode:dropzone":{"--color-text-secondary":`light-dark(${_.light[30]}, ${_.dark[80]})`}},citation:{"variant:number":{"--color-text-secondary":`light-dark(${_.light[30]}, ${_.dark[80]})`}},button:{"variant:destructive":{backgroundColor:"var(--color-error-muted)",color:"var(--color-on-error-muted)"}},badge:{"variant:neutral":{backgroundColor:"var(--color-background-gray)",color:"var(--color-text-gray)"},"variant:red":{backgroundColor:"var(--color-background-red)",color:"var(--color-text-red)"},"variant:orange":{backgroundColor:"var(--color-background-orange)",color:"var(--color-text-orange)"},"variant:yellow":{backgroundColor:"var(--color-background-yellow)",color:"var(--color-text-yellow)"},"variant:green":{backgroundColor:"var(--color-background-green)",color:"var(--color-text-green)"},"variant:teal":{backgroundColor:"var(--color-background-teal)",color:"var(--color-text-teal)"},"variant:cyan":{backgroundColor:"var(--color-background-cyan)",color:"var(--color-text-cyan)"},"variant:blue":{backgroundColor:"var(--color-background-blue)",color:"var(--color-text-blue)"},"variant:purple":{backgroundColor:"var(--color-background-purple)",color:"var(--color-text-purple)"},"variant:pink":{backgroundColor:"var(--color-background-pink)",color:"var(--color-text-pink)"},"variant:gray":{backgroundColor:"var(--color-background-gray)",color:"var(--color-text-gray)"}},"segmented-control":{base:{padding:"var(--spacing-1)"}},"segmented-control-item":{base:{"--color-text-secondary":`light-dark(${_.light[30]}, ${_.dark[80]})`},"size:sm":{height:"calc(var(--size-element-sm) - 8px)"},"size:md":{height:"calc(var(--size-element-md) - 8px)"},"size:lg":{height:"calc(var(--size-element-lg) - 8px)"},selected:{boxShadow:"none"}},switch:{base:{"--color-background-gray":"var(--color-border-emphasized)"}},"progress-bar":{base:{"--color-background-muted":"var(--color-border-emphasized)"}},card:{base:{padding:"var(--spacing-3)"}},section:{base:{padding:"var(--spacing-3)"}}},icons:xy}),H4="#000000",q4="#ffffff",F4={neutral:{name:"Neutral",light:{0:"#000000",5:"#111111",10:"#1b1b1b",15:"#262626",20:"#303030",25:"#3b3b3b",30:"#474747",35:"#525252",40:"#5e5e5e",45:"#6a6a6a",50:"#777777",55:"#848484",60:"#919191",65:"#9e9e9e",70:"#ababab",75:"#b9b9b9",80:"#c6c6c6",85:"#d4d4d4",90:"#e2e2e2",95:"#f1f1f1",100:"#ffffff"},dark:{0:"#000000",5:"#111111",10:"#1b1b1b",15:"#262626",20:"#303030",25:"#3b3b3b",30:"#474747",35:"#525252",40:"#5e5e5e",45:"#6a6a6a",50:"#777777",55:"#848484",60:"#919191",65:"#9e9e9e",70:"#ababab",75:"#b9b9b9",80:"#c6c6c6",85:"#d4d4d4",90:"#e2e2e2",95:"#f1f1f1",100:"#ffffff"}},red:{name:"Red",light:{0:"#000000",5:"#2c0000",10:"#3e0002",15:"#500004",20:"#620008",25:"#76000c",30:"#8a0011",35:"#9e0015",40:"#af1320",45:"#c0262c",50:"#cf3738",55:"#de4745",60:"#ed5753",65:"#fa6762",70:"#ff7f77",75:"#ff9890",80:"#ffaea7",85:"#ffc4be",90:"#ffd8d4",95:"#ffece9",100:"#ffffff"},dark:{0:"#000000",5:"#200908",10:"#2f1110",15:"#3d1917",20:"#4c221f",25:"#5b2b28",30:"#6b3431",35:"#7e3c38",40:"#92423e",45:"#a84743",50:"#be4e49",55:"#d15752",60:"#e1645e",65:"#ee736c",70:"#fb837b",75:"#ff9890",80:"#ffaea7",85:"#ffc4be",90:"#ffd8d4",95:"#ffece9",100:"#ffffff"}},orange:{name:"Orange",light:{0:"#000000",5:"#250500",10:"#340d00",15:"#431600",20:"#521f00",25:"#622700",30:"#733100",35:"#833a00",40:"#944400",45:"#a54f00",50:"#b45c00",55:"#c76600",60:"#d97000",65:"#e97e1d",70:"#f58d3a",75:"#ff9e55",80:"#ffb37e",85:"#ffc7a1",90:"#ffdac2",95:"#ffede1",100:"#ffffff"},dark:{0:"#000000",5:"#1c0c05",10:"#29160d",15:"#362014",20:"#43291c",25:"#503424",30:"#603d2a",35:"#72462d",40:"#864f2c",45:"#9b5627",50:"#af5f1d",55:"#c2691b",60:"#d1762b",65:"#df843f",70:"#eb9352",75:"#f7a266",80:"#ffb37e",85:"#ffc7a1",90:"#ffdac2",95:"#ffede1",100:"#ffffff"}},yellow:{name:"Yellow",light:{0:"#000000",5:"#190f00",10:"#251a00",15:"#312400",20:"#3e2e00",25:"#4b3900",30:"#584400",35:"#664f00",40:"#745b00",45:"#836700",50:"#927300",55:"#a17f00",60:"#b18c00",65:"#c29900",70:"#d2a700",75:"#e2b623",80:"#eec448",85:"#f8d36a",90:"#ffe193",95:"#fff0ca",100:"#ffffff"},dark:{0:"#000000",5:"#161002",10:"#221b08",15:"#2d250e",20:"#392f15",25:"#453a1c",30:"#524521",35:"#615124",40:"#705c24",45:"#80681f",50:"#907316",55:"#a17f07",60:"#b18c00",65:"#be9921",70:"#cba73d",75:"#d7b554",80:"#e3c36c",85:"#efd284",90:"#fae19e",95:"#fff0c8",100:"#ffffff"}},green:{name:"Green",light:{0:"#000000",5:"#001800",10:"#002400",15:"#003002",20:"#003d05",25:"#00490b",30:"#0b5615",35:"#17631e",40:"#237028",45:"#2f7d33",50:"#3c8a3f",55:"#4a984c",60:"#59a55b",65:"#6ab26b",70:"#7dbe7e",75:"#90ca90",80:"#a4d6a3",85:"#b7e2b6",90:"#cbeeca",95:"#defadd",100:"#ffffff"},dark:{0:"#000000",5:"#091409",10:"#112011",15:"#192b19",20:"#223622",25:"#2b422b",30:"#344e34",35:"#3c5c3c",40:"#436a43",45:"#497849",50:"#508651",55:"#59945a",60:"#65a266",65:"#74af75",70:"#85bb85",75:"#97c897",80:"#aad4a9",85:"#bce0bb",90:"#ceecce",95:"#e1f8e0",100:"#ffffff"}},teal:{name:"Teal",light:{0:"#000000",5:"#001612",10:"#00221c",15:"#002e27",20:"#003a32",25:"#00463d",30:"#005348",35:"#006154",40:"#006e60",45:"#007c6d",50:"#008b7a",55:"#009986",60:"#01a894",65:"#34b5a1",70:"#56c0ae",75:"#74ccbb",80:"#90d7c8",85:"#a9e2d6",90:"#c1eee4",95:"#d7f9f2",100:"#ffffff"},dark:{0:"#000000",5:"#071411",10:"#0f1f1c",15:"#172a26",20:"#1f3531",25:"#28413c",30:"#2f4e48",35:"#325b53",40:"#326a60",45:"#2d796c",50:"#248979",55:"#299786",60:"#39a593",65:"#4fb1a0",70:"#68bdad",75:"#81c9bb",80:"#99d5c8",85:"#b1e0d6",90:"#c6ece3",95:"#dbf8f1",100:"#ffffff"}},cyan:{name:"Cyan",light:{0:"#000000",5:"#00151b",10:"#002028",15:"#002c35",20:"#003743",25:"#004351",30:"#00505f",35:"#005d6e",40:"#006a7d",45:"#00788d",50:"#00859d",55:"#0093ad",60:"#00a2be",65:"#29afcb",70:"#45bdd7",75:"#5ecae3",80:"#75d7ef",85:"#8ee4f9",90:"#afefff",95:"#d9f7ff",100:"#ffffff"},dark:{0:"#000000",5:"#071316",10:"#0f1e22",15:"#17292e",20:"#1f343a",25:"#274046",30:"#2e4c54",35:"#325963",40:"#326774",45:"#2d7586",50:"#228499",55:"#2592a9",60:"#35a0b7",65:"#49adc4",70:"#5dbad1",75:"#71c7dd",80:"#85d5e9",85:"#9ae2f4",90:"#b1eefe",95:"#d9f7ff",100:"#ffffff"}},blue:{name:"Blue",light:{0:"#000000",5:"#000f30",10:"#001a41",15:"#002452",20:"#002f65",25:"#003978",30:"#00458c",35:"#0050a2",40:"#005cb8",45:"#0067ce",50:"#0074e2",55:"#1e81f0",60:"#348ffd",65:"#529fff",70:"#6eaeff",75:"#88bcff",80:"#a1caff",85:"#b9d7ff",90:"#d0e5ff",95:"#e8f2ff",100:"#ffffff"},dark:{0:"#000000",5:"#051121",10:"#0d1c2f",15:"#15263d",20:"#1d314b",25:"#253c5a",30:"#2b486c",35:"#2f5382",40:"#315f99",45:"#346bb1",50:"#3778c7",55:"#3e84dc",60:"#4a92eb",65:"#5aa0f8",70:"#6eaeff",75:"#88bcff",80:"#a1caff",85:"#b9d7ff",90:"#d0e5ff",95:"#e8f2ff",100:"#ffffff"}},purple:{name:"Purple",light:{0:"#000000",5:"#210028",10:"#31003b",15:"#3f004c",20:"#4e045c",25:"#5c0e6c",30:"#6b187c",35:"#781f8a",40:"#842699",45:"#9130a7",50:"#9f3cb5",55:"#ad4dc3",60:"#bb5fd1",65:"#ca72de",70:"#d885eb",75:"#e496f6",80:"#efa8ff",85:"#f3bfff",90:"#f7d5ff",95:"#fbeaff",100:"#ffffff"},dark:{0:"#000000",5:"#180b1b",10:"#251329",15:"#311c36",20:"#3e2544",25:"#4a2f51",30:"#58395f",35:"#674270",40:"#784983",45:"#895196",50:"#9a59a9",55:"#aa63ba",60:"#b870c9",65:"#c57ed5",70:"#d28de2",75:"#de9ced",80:"#eaacf8",85:"#f3bfff",90:"#f7d5ff",95:"#fbeaff",100:"#ffffff"}},pink:{name:"Pink",light:{0:"#000000",5:"#290013",10:"#3b001e",15:"#4b0028",20:"#5d0034",25:"#70003f",30:"#83004b",35:"#950457",40:"#a61863",45:"#b52970",50:"#c5387c",55:"#d44789",60:"#e25796",65:"#ef67a3",70:"#fc78b1",75:"#ff90bd",80:"#ffa9ca",85:"#ffc0d7",90:"#ffd5e4",95:"#ffeaf1",100:"#ffffff"},dark:{0:"#000000",5:"#1e0912",10:"#2d111d",15:"#3b1927",20:"#492132",25:"#572b3d",30:"#663449",35:"#783b55",40:"#8c4161",45:"#a1476e",50:"#b54e7b",55:"#c85688",60:"#d76395",65:"#e572a3",70:"#f181b0",75:"#fd92bd",80:"#ffa9ca",85:"#ffc0d7",90:"#ffd5e4",95:"#ffeaf1",100:"#ffffff"}}},vz={black:H4,white:q4,...F4};var MC={name:"skillar",__built:!0,tokens:{"--font-size-4xs":"0.375rem","--font-size-3xs":"0.4375rem","--font-size-2xs":"0.5rem","--font-size-xs":"0.625rem","--font-size-sm":"0.75rem","--font-size-base":"0.875rem","--font-size-lg":"1.0625rem","--font-size-xl":"1.25rem","--font-size-2xl":"1.5rem","--font-size-3xl":"1.8125rem","--font-size-4xl":"2.1875rem","--font-size-5xl":"2.625rem","--text-heading-1-size":"var(--font-size-2xl)","--text-heading-1-weight":"var(--font-weight-semibold)","--text-heading-1-leading":"1.3333","--text-heading-2-size":"var(--font-size-xl)","--text-heading-2-weight":"var(--font-weight-semibold)","--text-heading-2-leading":"1.4","--text-heading-3-size":"var(--font-size-lg)","--text-heading-3-weight":"var(--font-weight-bold)","--text-heading-3-leading":"1.4118","--text-heading-4-size":"var(--font-size-base)","--text-heading-4-weight":"var(--font-weight-bold)","--text-heading-4-leading":"1.4286","--text-heading-5-size":"var(--font-size-sm)","--text-heading-5-weight":"var(--font-weight-semibold)","--text-heading-5-leading":"1.6667","--text-heading-6-size":"var(--font-size-xs)","--text-heading-6-weight":"var(--font-weight-semibold)","--text-heading-6-leading":"1.6","--text-body-size":"var(--font-size-base)","--text-body-weight":"var(--font-weight-normal)","--text-body-leading":"1.4286","--text-large-size":"var(--font-size-lg)","--text-large-weight":"var(--font-weight-semibold)","--text-large-leading":"1.4118","--text-label-size":"var(--font-size-base)","--text-label-weight":"var(--font-weight-medium)","--text-label-leading":"1.4286","--text-code-size":"var(--font-size-base)","--text-code-weight":"var(--font-weight-normal)","--text-code-leading":"1.4286","--text-supporting-size":"var(--font-size-sm)","--text-supporting-weight":"var(--font-weight-normal)","--text-supporting-leading":"1.6667","--text-display-1-size":"var(--font-size-5xl)","--text-display-1-weight":"var(--font-weight-normal)","--text-display-1-leading":"1.2381","--text-display-2-size":"var(--font-size-4xl)","--text-display-2-weight":"var(--font-weight-normal)","--text-display-2-leading":"1.2571","--text-display-3-size":"var(--font-size-3xl)","--text-display-3-weight":"var(--font-weight-normal)","--text-display-3-leading":"1.3793","--duration-fast-min":"95ms","--duration-fast":"125ms","--duration-fast-max":"165ms","--duration-medium-min":"225ms","--duration-medium":"300ms","--duration-medium-max":"400ms","--duration-slow-min":"525ms","--duration-slow":"700ms","--duration-slow-max":"935ms","--_astryx-pre-tempo-duration-fast-min":"95ms","--_astryx-pre-tempo-duration-fast":"125ms","--_astryx-pre-tempo-duration-fast-max":"165ms","--_astryx-pre-tempo-duration-medium-min":"225ms","--_astryx-pre-tempo-duration-medium":"300ms","--_astryx-pre-tempo-duration-medium-max":"400ms","--_astryx-pre-tempo-duration-slow-min":"525ms","--_astryx-pre-tempo-duration-slow":"700ms","--_astryx-pre-tempo-duration-slow-max":"935ms","--_astryx-motion-tempo":"1","--font-family-body":'Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',"--font-family-heading":'Figtree, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',"--font-family-code":'ui-monospace, "SF Mono", Monaco, Consolas, "Liberation Mono", "Courier New", monospace',"--color-syntax-keyword":"light-dark(#6b187c, #efa8ff)","--color-syntax-string":"light-dark(#0b5615, #a4d6a3)","--color-syntax-comment":"light-dark(#525252, #b9b9b9)","--color-syntax-number":"light-dark(#733100, #ffb37e)","--color-syntax-function":"light-dark(#00458c, #a1caff)","--color-syntax-type":"light-dark(#6b187c, #efa8ff)","--color-syntax-variable":"light-dark(#111111, #e2e2e2)","--color-syntax-operator":"light-dark(#525252, #b9b9b9)","--color-syntax-constant":"light-dark(#733100, #ffb37e)","--color-syntax-tag":"light-dark(#8a0011, #ffaea7)","--color-syntax-attribute":"light-dark(#584400, #eec448)","--color-syntax-property":"light-dark(#005348, #90d7c8)","--color-syntax-punctuation":"light-dark(#525252, #b9b9b9)","--color-syntax-background":"light-dark(#ffffff, #111111)","--color-syntax-added":"color-mix(in srgb, var(--color-success-muted) 25%, transparent)","--color-syntax-removed":"color-mix(in srgb, var(--color-error-muted) 25%, transparent)","--color-syntax-diff-header":"transparent","--color-syntax-added-marker":"var(--color-syntax-punctuation)","--color-syntax-removed-marker":"var(--color-syntax-punctuation)","--color-background-surface":"light-dark(#ffffff, #262626)","--color-background-body":"light-dark(#f1f1f1, #1b1b1b)","--color-background-card":"light-dark(#ffffff, #1b1b1b)","--color-background-popover":"light-dark(#ffffff, #1b1b1b)","--color-background-muted":"light-dark(#f1f1f1, #1b1b1b)","--color-accent":"light-dark(#B4321C, #D9553A)","--color-accent-muted":"light-dark(#F6E3DF, #3A1710)","--color-neutral":"light-dark(#0000000F, #ffffff1A)","--color-overlay":"light-dark(#00000080, #000000CC)","--color-overlay-hover":"light-dark(#0000000D, #ffffff0D)","--color-overlay-pressed":"light-dark(#0000001A, #ffffff1A)","--color-text-primary":"light-dark(#000000, #ffffff)","--color-text-secondary":"light-dark(#474747, #9e9e9e)","--color-text-disabled":"light-dark(#919191, #525252)","--color-text-accent":"light-dark(#B4321C, #D9553A)","--color-on-dark":"#ffffff","--color-on-light":"#111111","--color-on-accent":"light-dark(#ffffff, #111111)","--color-on-success":"light-dark(#ffffff, #111111)","--color-on-error":"light-dark(#ffffff, #111111)","--color-on-warning":"#111111","--color-info":"light-dark(#0074e2, #6d9cfe)","--color-info-muted":"light-dark(#b9d7ff, #88bcff3D)","--color-on-info":"light-dark(#ffffff, #111111)","--color-text-info":"light-dark(#0067ce, #a1caff)","--color-text-success":"light-dark(#2f7d33, #90ca90)","--color-text-warning":"light-dark(#836700, #eec448)","--color-text-error":"light-dark(#c0262c, #ffaea7)","--color-on-info-muted":"light-dark(#003978, #a1caff)","--color-on-success-muted":"light-dark(#00490b, #90ca90)","--color-on-warning-muted":"light-dark(#4b3900, #eec448)","--color-on-error-muted":"light-dark(#76000c, #ffaea7)","--color-icon-accent":"light-dark(#1b1b1b, #f1f1f1)","--color-icon-primary":"light-dark(#000000, #ffffff)","--color-icon-secondary":"light-dark(#6a6a6a, #9e9e9e)","--color-icon-disabled":"light-dark(#919191, #525252)","--color-success":"light-dark(#198100, #64af4c)","--color-warning":"#ffce2f","--color-error":"light-dark(#c9303a, #ff705d)","--color-success-muted":"light-dark(#bce0bb, #90ca903D)","--color-error-muted":"light-dark(#ffc4be, #ff98903D)","--color-warning-muted":"light-dark(#fae19e, #e2b6233D)","--color-border":"light-dark(#00000014, #ffffff1A)","--color-border-emphasized":"light-dark(#d4d4d4, #525252)","--color-skeleton":"light-dark(#f1f1f1, #525252)","--color-shadow":"light-dark(#0000001A, #0000004D)","--color-tint-hover":"light-dark(#000000, #ffffff)","--color-background-red":"light-dark(#ffc4be, #5b2b28)","--color-border-red":"light-dark(#ffaea7, #fa6762)","--color-icon-red":"light-dark(#76000c, #ff9890)","--color-text-red":"light-dark(#76000c, #ffaea7)","--color-background-orange":"light-dark(#ffc7a1, #503424)","--color-border-orange":"light-dark(#ffc7a1, #df843f)","--color-icon-orange":"light-dark(#622700, #ff9e55)","--color-text-orange":"light-dark(#622700, #ffb37e)","--color-background-yellow":"light-dark(#fae19e, #453a1c)","--color-border-yellow":"light-dark(#e3c36c, #c29900)","--color-icon-yellow":"light-dark(#4b3900, #e2b623)","--color-text-yellow":"light-dark(#4b3900, #eec448)","--color-background-green":"light-dark(#bce0bb, #2b422b)","--color-border-green":"light-dark(#aad4a9, #6ab26b)","--color-icon-green":"light-dark(#00490b, #90ca90)","--color-text-green":"light-dark(#00490b, #90ca90)","--color-background-teal":"light-dark(#a9e2d6, #28413c)","--color-border-teal":"light-dark(#90d7c8, #4fb1a0)","--color-icon-teal":"light-dark(#00463d, #81c9bb)","--color-text-teal":"light-dark(#00463d, #90d7c8)","--color-background-cyan":"light-dark(#9ae2f4, #274046)","--color-border-cyan":"light-dark(#85d5e9, #49adc4)","--color-icon-cyan":"light-dark(#004351, #71c7dd)","--color-text-cyan":"light-dark(#004351, #85d5e9)","--color-background-blue":"light-dark(#b9d7ff, #253c5a)","--color-border-blue":"light-dark(#a1caff, #5aa0f8)","--color-icon-blue":"light-dark(#003978, #88bcff)","--color-text-blue":"light-dark(#003978, #a1caff)","--color-background-purple":"light-dark(#f7d5ff, #4a2f51)","--color-border-purple":"light-dark(#f3bfff, #d885eb)","--color-icon-purple":"light-dark(#5c0e6c, #e496f6)","--color-text-purple":"light-dark(#5c0e6c, #eaacf8)","--color-background-pink":"light-dark(#ffc0d7, #572b3d)","--color-border-pink":"light-dark(#ffc0d7, #fc78b1)","--color-icon-pink":"light-dark(#70003f, #fd92bd)","--color-text-pink":"light-dark(#70003f, #ffa9ca)","--color-background-gray":"light-dark(#e2e2e2, #303030)","--color-border-gray":"light-dark(#d4d4d4, #262626)","--color-icon-gray":"light-dark(#474747, #9e9e9e)","--color-text-gray":"light-dark(#1b1b1b, #d4d4d4)","--radius-none":"0px","--radius-inner":"0.375rem","--radius-element":"0.625rem","--radius-container":"0.75rem","--radius-page":"1.75rem","--radius-full":"9999px","--shadow-low":"0 2px 4px light-dark(oklch(0 0 0 / 5%), oklch(0 0 0 / 25%)), 0 4px 8px light-dark(oklch(0 0 0 / 10%), oklch(0 0 0 / 40%)), inset 0 0 0 1px light-dark(transparent, oklch(1 0 0 / 8%))","--shadow-med":"0 2px 4px light-dark(oklch(0 0 0 / 5%), oklch(0 0 0 / 35%)), 0 4px 12px light-dark(oklch(0 0 0 / 10%), oklch(0 0 0 / 50%)), inset 0 0 0 1px light-dark(transparent, oklch(1 0 0 / 12%))","--shadow-high":"0 4px 6px light-dark(oklch(0 0 0 / 10%), oklch(0 0 0 / 50%)), 0 12px 24px light-dark(oklch(0 0 0 / 15%), oklch(0 0 0 / 70%)), inset 0 0 0 1px light-dark(transparent, oklch(1 0 0 / 15%))","--shadow-inset-hover":"inset 0px 0px 0px 2px #0074e24D","--shadow-inset-selected":"inset 0px 0px 0px 2px #0074e280","--shadow-inset-success":"inset 0px 0px 0px 2px #2f7d334D","--shadow-inset-warning":"inset 0px 0px 0px 2px #f8d36a4D","--shadow-inset-error":"inset 0px 0px 0px 2px #de47454D"},localTokens:{"--astryx-theme-neutral-color-status-fill-accent":"light-dark(#0074e2, #6d9cfe)"},__localTokenOwners:{"--astryx-theme-neutral-color-status-fill-accent":"skillar"},__localTokenLineage:["skillar"],components:{heading:{"level:1":{fontFamily:"var(--font-family-heading)",fontSize:"var(--text-heading-1-size)",fontWeight:"var(--text-heading-1-weight)",lineHeight:"var(--text-heading-1-leading)"},"level:2":{fontFamily:"var(--font-family-heading)",fontSize:"var(--text-heading-2-size)",fontWeight:"var(--text-heading-2-weight)",lineHeight:"var(--text-heading-2-leading)"},"level:3":{fontFamily:"var(--font-family-heading)",fontSize:"var(--text-heading-3-size)",fontWeight:"var(--text-heading-3-weight)",lineHeight:"var(--text-heading-3-leading)"},"level:4":{fontFamily:"var(--font-family-heading)",fontSize:"var(--text-heading-4-size)",fontWeight:"var(--text-heading-4-weight)",lineHeight:"var(--text-heading-4-leading)"},"level:5":{fontFamily:"var(--font-family-heading)",fontSize:"var(--text-heading-5-size)",fontWeight:"var(--text-heading-5-weight)",lineHeight:"var(--text-heading-5-leading)"},"level:6":{fontFamily:"var(--font-family-heading)",fontSize:"var(--text-heading-6-size)",fontWeight:"var(--text-heading-6-weight)",lineHeight:"var(--text-heading-6-leading)"},"type:display-1":{fontFamily:"var(--font-family-heading)",fontSize:"var(--text-display-1-size)",lineHeight:"var(--text-display-1-leading)"},"type:display-2":{fontFamily:"var(--font-family-heading)",fontSize:"var(--text-display-2-size)",lineHeight:"var(--text-display-2-leading)"},"type:display-3":{fontFamily:"var(--font-family-heading)",fontSize:"var(--text-display-3-size)",lineHeight:"var(--text-display-3-leading)"}},text:{"type:body":{fontFamily:"var(--font-family-body)",fontSize:"var(--text-body-size)",lineHeight:"var(--text-body-leading)"},"type:large":{fontFamily:"var(--font-family-body)",fontSize:"var(--text-large-size)",lineHeight:"var(--text-large-leading)"},"type:label":{fontFamily:"var(--font-family-body)",fontSize:"var(--text-label-size)",lineHeight:"var(--text-label-leading)"},"type:code":{fontFamily:"var(--font-family-code)",fontSize:"var(--text-code-size)",lineHeight:"var(--text-code-leading)"},"type:supporting":{fontFamily:"var(--font-family-body)",fontSize:"var(--text-supporting-size)",lineHeight:"var(--text-supporting-leading)"},"type:display-1":{fontFamily:"var(--font-family-heading)",fontSize:"var(--text-display-1-size)",lineHeight:"var(--text-display-1-leading)"},"type:display-2":{fontFamily:"var(--font-family-heading)",fontSize:"var(--text-display-2-size)",lineHeight:"var(--text-display-2-leading)"},"type:display-3":{fontFamily:"var(--font-family-heading)",fontSize:"var(--text-display-3-size)",lineHeight:"var(--text-display-3-leading)"}},"checkbox-indicator":{base:{"--color-border-emphasized":"light-dark(#919191, #6a6a6a)"}},item:{selected:{"--color-text-secondary":"light-dark(#474747, #c6c6c6)"}},"tree-list-item":{selected:{"--color-text-secondary":"light-dark(#474747, #c6c6c6)"}},"file-input":{"mode:dropzone":{"--color-text-secondary":"light-dark(#474747, #c6c6c6)"}},citation:{"variant:number":{"--color-text-secondary":"light-dark(#474747, #c6c6c6)"}},button:{"variant:destructive":{backgroundColor:"var(--color-error-muted)",color:"var(--color-on-error-muted)"}},badge:{"variant:neutral":{backgroundColor:"var(--color-background-gray)",color:"var(--color-text-gray)"},"variant:red":{backgroundColor:"var(--color-background-red)",color:"var(--color-text-red)"},"variant:orange":{backgroundColor:"var(--color-background-orange)",color:"var(--color-text-orange)"},"variant:yellow":{backgroundColor:"var(--color-background-yellow)",color:"var(--color-text-yellow)"},"variant:green":{backgroundColor:"var(--color-background-green)",color:"var(--color-text-green)"},"variant:teal":{backgroundColor:"var(--color-background-teal)",color:"var(--color-text-teal)"},"variant:cyan":{backgroundColor:"var(--color-background-cyan)",color:"var(--color-text-cyan)"},"variant:blue":{backgroundColor:"var(--color-background-blue)",color:"var(--color-text-blue)"},"variant:purple":{backgroundColor:"var(--color-background-purple)",color:"var(--color-text-purple)"},"variant:pink":{backgroundColor:"var(--color-background-pink)",color:"var(--color-text-pink)"},"variant:gray":{backgroundColor:"var(--color-background-gray)",color:"var(--color-text-gray)"}},"segmented-control":{base:{padding:"var(--spacing-1)"}},"segmented-control-item":{base:{"--color-text-secondary":"light-dark(#474747, #c6c6c6)"},"size:sm":{height:"calc(var(--size-element-sm) - 8px)"},"size:md":{height:"calc(var(--size-element-md) - 8px)"},"size:lg":{height:"calc(var(--size-element-lg) - 8px)"},selected:{boxShadow:"none"}},switch:{base:{"--color-background-gray":"var(--color-border-emphasized)"}},"progress-bar":{base:{"--color-background-muted":"var(--color-border-emphasized)"}},card:{base:{padding:"var(--spacing-3)"}},section:{base:{padding:"var(--spacing-3)"}}},__onDark:{tokens:{"color-scheme":"dark","--color-text-primary":"var(--color-on-dark)","--color-icon-primary":"var(--color-on-dark)","--color-accent":"var(--color-on-dark)"}},__onLight:{tokens:{"color-scheme":"light","--color-text-primary":"var(--color-on-light)","--color-icon-primary":"var(--color-on-light)","--color-accent":"var(--color-on-light)"}},__adaptations:{widthBreakpoints:{sm:640,md:768,lg:1024,xl:1280,"2xl":1536},rules:[{when:{pointer:"coarse",width:{below:"lg"}},value:{typography:{scale:{base:16,ratio:1.1736}}}}]},__axes:{typography:{scale:{base:14,ratio:1.2},body:{family:"Figtree",fallbacks:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif'},heading:{family:"Figtree",fallbacks:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',weights:{3:"bold",4:"bold"}},code:{family:"ui-monospace",fallbacks:'"SF Mono", Monaco, Consolas, "Liberation Mono", "Courier New", monospace'}},motion:{fast:125,medium:300,slow:700,ratio:.75}},icons:xy};var Bt=S(B(),1);var sl=["not_attempted","in_progress","succeeded","failed","cancelled","unknown"],P4=["empty_query","no_overlap","below_threshold","explicit_only"],U4=new Set,ua=e=>typeof e=="string"?e:void 0;function Xf(e){let t=e.abstained,a=P4.find(o=>o===t?.reason);return typeof e.total=="number"&&e.total>0||Array.isArray(e.candidates)&&e.candidates.length>0?{result:"candidates_found"}:a||e.total===0?{result:"no_candidates",...a?{reason:a}:{}}:{}}function yy(e,t=U4){let a=new Map,o=new Set(e.filter(n=>n.kind==="skill_request").map(n=>ua(n.data.requestId)).filter(Boolean));for(let n of e){let{data:r}=n;if(n.kind==="skill_request"){let l=ua(r.requestId),s=r.operation;if(!l||s!=="search"&&s!=="load")continue;let i=r.status;if(!sl.includes(i)||i==="not_attempted")continue;let u=a.get(l);if(i==="in_progress"&&u?.endedAt!==void 0)continue;a.set(l,{id:l,operation:s,status:i==="in_progress"?t.has(l)?"in_progress":"unknown":i,startedAt:u?.startedAt??(typeof r.startedAt=="number"?r.startedAt:n.ts),...i!=="in_progress"?{endedAt:n.ts}:{},...ua(r.uri)??ua(r.firstCandidateUri)?{uri:ua(r.uri)??ua(r.firstCandidateUri)}:{},...s==="search"&&i==="succeeded"?Xf(r):{},...ua(r.errorCode)?{errorCode:ua(r.errorCode)}:{}});continue}if(!o.has(ua(r.requestId))){if(n.kind==="search"||n.kind==="load")a.set(n.id,{id:n.id,operation:n.kind,status:"succeeded",endedAt:n.ts,...n.kind==="search"?{...Xf(r),uri:Array.isArray(r.candidates)?ua(r.candidates[0]?.uri):void 0}:{uri:n.skillUri??ua(r.uri)}});else if(n.kind==="error"){let l=n.skillUri??ua(r.uri),s=r.tool==="search_skills"?"search":r.tool==="load_skill"||r.tool==="resources/read"&&r.resourceKind!=="supporting_file"&&l?.endsWith("/SKILL.md")?"load":void 0;s&&a.set(n.id,{id:n.id,operation:s,status:"failed",endedAt:n.ts,...l?{uri:l}:{},...ua(r.code)?{errorCode:ua(r.code)}:{}})}}}return[...a.values()]}function DC(e){let t=()=>({total:0,counts:{in_progress:0,succeeded:0,failed:0,cancelled:0,unknown:0},results:{candidates_found:0,no_candidates:0},reasons:{}}),a={search:t(),load:t()};for(let o of e){let n=a[o.operation];n.total++,n.counts[o.status]++,o.result&&n.results[o.result]++,o.reason&&(n.reasons[o.reason]=(n.reasons[o.reason]??0)+1)}return a}function Ns(e,t){return t==="not_attempted"?e.total===0:e.counts[t]>0}var sr=["claude-code","codex","gemini","cursor","omo","gajae","openclaw","unknown"],ir=["from","to","runtime","skill","dow","hour","hourSpan","q","automated","searchStatus","loadStatus","searchResult"],V4=["-started","started","runtime","-runtime","reads","-reads"],BC=["started","runtime","reads","prompt","search"],Zt={"claude-code":"Claude Code",codex:"Codex",gemini:"Gemini CLI",cursor:"Cursor",omo:"OmO",gajae:"Gajae Code",openclaw:"OpenClaw",unknown:"\uC54C \uC218 \uC5C6\uC74C"};var nt={not_attempted:"\uC694\uCCAD \uC5C6\uC74C",in_progress:"\uC9C4\uD589 \uC911",succeeded:"\uC131\uACF5",failed:"\uC2E4\uD328",cancelled:"\uCDE8\uC18C\uB428",unknown:"\uC54C \uC218 \uC5C6\uC74C"};var NC={runtime_id:"\uC2E4\uD589 \uD658\uACBD ID",vendor_meta:"\uC81C\uACF5\uC790 \uBA54\uD0C0\uB370\uC774\uD130",trace_handle:"\uAC80\uC0C9 \uCD94\uC801 ID",window:"\uC2DC\uAC04 \uAD6C\uAC04",none:"\uBBF8\uC5F0\uACB0"},Zf=["\uC77C","\uC6D4","\uD654","\uC218","\uBAA9","\uAE08","\uD1A0"];var $C={found_top1:"\uCCAB \uAC80\uC0C9 \uACB0\uACFC \uC0AC\uC6A9",found_lower:"\uD558\uC704 \uAC80\uC0C9 \uACB0\uACFC \uC0AC\uC6A9",loaded_outside_results:"\uAC80\uC0C9 \uACB0\uACFC \uBC16\uC758 \uC2A4\uD0AC \uC0AC\uC6A9",native_without_search:"\uAC80\uC0C9 \uC5C6\uC774 \uB0B4\uC7A5 \uC2A4\uD0AC \uC0AC\uC6A9",searched_none_used:"\uAC80\uC0C9 \uACB0\uACFC \uC0AC\uC6A9 \uAE30\uB85D \uC5C6\uC74C",no_search:"\uAC80\uC0C9 \uAE30\uB85D \uC5C6\uC74C"},OC={found_top1:"found_top1: \uC774 \uB300\uD654 \uCC28\uB840\uC5D0\uC11C \uC0AC\uC6A9\uD55C \uC2A4\uD0AC\uC774 \uCCAB \uAC80\uC0C9 \uACB0\uACFC\uC600\uC2B5\uB2C8\uB2E4.",found_lower:"found_lower: \uC774 \uB300\uD654 \uCC28\uB840\uC5D0\uC11C \uC0AC\uC6A9\uD55C \uC2A4\uD0AC\uC774 \uD558\uC704 \uAC80\uC0C9 \uACB0\uACFC\uC600\uC2B5\uB2C8\uB2E4.",loaded_outside_results:"loaded_outside_results: \uC774 \uB300\uD654 \uCC28\uB840\uC5D0\uC11C \uC0AC\uC6A9\uD55C \uC2A4\uD0AC\uC774 \uAC80\uC0C9 \uACB0\uACFC\uC5D0 \uC5C6\uC5C8\uC2B5\uB2C8\uB2E4.",native_without_search:"native_without_search: \uC2E4\uD589 \uD658\uACBD\uC774 skillar \uAC80\uC0C9 \uC5C6\uC774 \uB0B4\uC7A5 \uC2A4\uD0AC\uC744 \uD65C\uC131\uD654\uD588\uC2B5\uB2C8\uB2E4.",searched_none_used:"searched_none_used: \uC774 \uB300\uD654 \uCC28\uB840\uC5D0\uC11C \uAC80\uC0C9\uD588\uC9C0\uB9CC \uACB0\uACFC\uB97C \uC0AC\uC6A9\uD55C \uAE30\uB85D\uC740 \uC5C6\uC2B5\uB2C8\uB2E4.",no_search:"no_search: \uC774 \uB300\uD654 \uCC28\uB840\uC5D0\uB294 \uAC80\uC0C9\uC774\uB098 \uC2A4\uD0AC \uC0AC\uC6A9 \uAE30\uB85D\uC774 \uC5C6\uC2B5\uB2C8\uB2E4."};var G4=new Set(sr);function il(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch{return e}}function RC(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%2F/gi,"/")}function j4(e){let t=e.startsWith("?")?e.slice(1):e;return t?t.split("&").filter(Boolean).map(a=>{let o=a.indexOf("=");return o<0?[il(a),""]:[il(a.slice(0,o)),a.slice(o+1)]}):[]}function Yu(e,t,a){let o=il(e).trim();if(!/^-?\d+$/.test(o))return;let n=Number(o);return n>=t&&n<=a?n:void 0}function Kf(e){let t=new Set;for(let a of il(e).split(",")){let o=a.trim();o&&t.add(o)}return[...t]}function X4(e){let t=typeof e=="string"?e:e.toString(),a={};for(let[o,n]of j4(t))switch(o){case"from":a.from=Yu(n,0,Number.MAX_SAFE_INTEGER);break;case"to":a.to=Yu(n,0,Number.MAX_SAFE_INTEGER);break;case"runtime":{let r=Kf(n).filter(l=>G4.has(l));r.length&&(a.runtime=r);break}case"skill":{let r=Kf(n);r.length&&(a.skill=r);break}case"searchStatus":case"loadStatus":{let r=Kf(n).filter(l=>sl.includes(l));r.length&&(a[o]=r);break}case"searchResult":{let r=Kf(n).filter(l=>l==="candidates_found"||l==="no_candidates");r.length&&(a.searchResult=r);break}case"dow":a.dow=Yu(n,0,6);break;case"hour":a.hour=Yu(n,0,23);break;case"hourSpan":a.hourSpan=Yu(n,1,24);break;case"q":{let r=il(n).trim();r&&(a.q=r);break}case"automated":{let r=il(n).trim();(r==="include"||r==="only")&&(a.automated=r);break}default:break}for(let o of ir)a[o]===void 0&&delete a[o];return a}function Ao(e){let t=[];for(let a of ir){let o=e[a];o!=null&&(Array.isArray(o)?o.length&&t.push(`${a}=${o.map(RC).join(",")}`):typeof o=="number"?Number.isFinite(o)&&t.push(`${a}=${o}`):o.trim()&&t.push(`${a}=${RC(o.trim())}`))}return t.join("&")}function zC(e){return ir.every(t=>e[t]===void 0)}function Wf(e,t){let a={...e};return delete a[t],t==="hour"&&delete a.hourSpan,a}function by(e){let t=e.startsWith("#")?e.slice(1):e,a=t.indexOf("?"),o=(a>=0?t.slice(0,a):t).replace(/^\/+|\/+$/g,""),n=a>=0?t.slice(a+1):"",r=X4(n),l=new URLSearchParams(n),s=V4.find(c=>c===l.get("sort")),i=l.get("density"),u=l.get("format"),d={...l.get("asort")?{analysisSort:l.get("asort")??void 0}:{},...l.get("aq")?{analysisQuery:l.get("aq")??void 0}:{},...l.get("facet")?{facet:l.get("facet")??void 0}:{},...s?{sort:s}:{},...l.get("peek")?{peek:l.get("peek")??void 0}:{},...l.get("ws")?{workspace:l.get("ws")??void 0}:{},...i==="compact"||i==="normal"||i==="comfortable"?{density:i}:{},...l.get("event")?{event:l.get("event")??void 0}:{},...u==="formatted"||u==="raw"?{format:u}:{},...l.get("attributes")==="1"?{attributes:!0}:{}},h=o?o.split("/").map(il):[];if(h.length>2||h.length>1&&h[0]!=="sessions"&&h[0]!=="workspaces")return{...d,view:"not-found",filter:r};switch(h[0]){case"dashboard":return{...d,view:"dashboard",filter:r};case"flow":return{...d,view:"dashboard",filter:r};case"heatmap":return{...d,view:"dashboard",filter:r};case"workspaces":return{...d,view:"sessions",filter:r};case"sessions":return h[1]?{...d,view:"trace",sessionId:h[1],filter:r}:{...d,view:"sessions",filter:r};case void 0:return{...d,view:"sessions",filter:r};default:return{...d,view:"not-found",filter:r}}}function Ae(e){let t=e.view==="trace"?`/sessions/${encodeURIComponent(e.sessionId??"")}`:`/${e.view}`,a=[Ao(e.filter)];e.sort&&a.push(`sort=${e.sort}`),e.workspace&&a.push(`ws=${encodeURIComponent(e.workspace)}`),e.density&&a.push(`density=${e.density}`),e.view==="sessions"&&e.peek&&a.push(`peek=${encodeURIComponent(e.peek)}`),e.analysisSort&&a.push(`asort=${encodeURIComponent(e.analysisSort)}`),e.analysisQuery&&a.push(`aq=${encodeURIComponent(e.analysisQuery)}`),e.facet&&a.push(`facet=${encodeURIComponent(e.facet)}`),(e.view==="sessions"||e.view==="trace")&&e.event&&a.push(`event=${encodeURIComponent(e.event)}`),e.format&&a.push(`format=${e.format}`),e.attributes&&a.push("attributes=1");let o=a.filter(Boolean).join("&");return`#${t}${o?`?${o}`:""}`}function rt(e){let t=e.replace(/\/SKILL\.md$/i,"").split("/").filter(Boolean);return t[t.length-1]??e}function HC(e,t){if(e.automated!==void 0&&t.automated===void 0||t.automated==="only"&&e.automated===void 0||t.from!==void 0&&e.startedAt<t.from||t.to!==void 0&&e.startedAt>t.to||t.runtime&&!t.runtime.includes(e.runtime)||t.searchStatus?.length&&!t.searchStatus.some(o=>e.requests?Ns(e.requests.search,o):o==="unknown")||t.loadStatus?.length&&!t.loadStatus.some(o=>e.requests?Ns(e.requests.load,o):o==="unknown")||t.searchResult?.length&&!t.searchResult.some(o=>(e.requests?.search.results[o]??0)>0)||t.skill&&!t.skill.some(o=>e.skills.includes(o)))return!1;let a=new Date(e.startedAt);if(t.dow!==void 0&&a.getDay()!==t.dow)return!1;if(t.hour!==void 0){let o=t.hourSpan??1,n=a.getHours();if(n<t.hour||n>=t.hour+o)return!1}if(t.q){let o=t.q.toLowerCase();if(![e.firstPrompt??"",e.id,...e.skills.map(rt)].join(`
|
|
109
109
|
`).toLowerCase().includes(o))return!1}return!0}var To=class extends Error{constructor(a,o,n){super(n);this.status=a;this.code=o;this.name="ApiError"}status;code};function ur(e,t,a={}){let o=[Ao(t)];for(let[r,l]of Object.entries(a))l!==void 0&&l!==""&&o.push(`${r}=${encodeURIComponent(String(l))}`);let n=o.filter(Boolean).join("&");return n?`${e}?${n}`:e}async function wa(e,t){let a=await fetch(e,{credentials:"same-origin",...t,headers:{Accept:"application/json",...t?.headers??{}}});if(!a.ok){let o=`http_${a.status}`,n=`${t?.method??"GET"} ${e} \uC694\uCCAD \uC2E4\uD328 (${a.status})`;try{let r=await a.json();r.error&&(o=r.error),r.message&&(n=r.message)}catch{}throw a.status===401&&(n="\uC774 \uBE0C\uB77C\uC6B0\uC800\uB294 \uB300\uC2DC\uBCF4\uB4DC\uC5D0 \uB85C\uADF8\uC778\uD558\uC9C0 \uC54A\uC558\uC2B5\uB2C8\uB2E4. \uD130\uBBF8\uB110\uC5D0\uC11C `skillar open`\uC744 \uC2E4\uD589\uD574 \uB85C\uADF8\uC778 \uB9C1\uD06C\uB85C \uC5EC\uC138\uC694."),new To(a.status,o,n)}if(a.status!==204)return await a.json()}var K4={mode:"http",sessions:e=>wa(ur("/api/sessions",e)),trace:e=>wa(`/api/sessions/${encodeURIComponent(e)}/trace`),flow:(e,t={})=>wa(ur("/api/flow",e,{unit:t.unit,top:t.top})),flows:(e={})=>wa(ur("/api/flows",{},{from:e.from,to:e.to,limit:e.limit,automated:e.automated})),flowReport:(e,t={})=>wa(ur(`/api/flows/${encodeURIComponent(e)}`,{},{automated:t.automated,from:t.from,to:t.to,limit:t.limit})),workflowVersions:e=>wa(`/api/workflows/${encodeURIComponent(e)}/versions`),skillReport:(e,t={})=>wa(ur(`/api/sessions/${encodeURIComponent(e)}/skill-report`,{},{automated:t.automated})),heatmap:(e,t={})=>wa(ur("/api/heatmap",e,{tz:t.tz,weekStart:t.weekStart,bucket:t.bucket})),skillWeek:e=>wa(ur("/api/skill-week",e)),stats:(e={})=>wa(ur("/api/stats",e)),skills:()=>wa("/api/skills"),addEvalCase:e=>wa("/api/eval-cases",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}),health:()=>wa("/healthz"),events({onSession:e,onState:t}){t?.("connecting");let a=new EventSource("/api/events/stream");return a.addEventListener("session",o=>{try{e?.(JSON.parse(o.data))}catch{}}),a.onopen=()=>t?.("live"),a.onerror=()=>t?.(a.readyState===EventSource.CLOSED?"offline":"connecting"),()=>a.close()}};var Se=K4;function $s(e){return Math.floor((e+324e5)/864e5)}function Os(e,t){return($s(e)-t+1)*864e5-324e5}function Yf(e){let t=$s(e),a=new Date(t*864e5).getUTCDay();return(t-(a+6)%7)*864e5-324e5}var Dt=S(B(),1);var Qu=S(B(),1);var vy=S(I(),1);var Yz=new Set(sl);var qC=new Set;function zt(e,t){if(typeof document>"u"||qC.has(e))return;if(qC.add(e),"adoptedStyleSheets"in document&&typeof CSSStyleSheet<"u"&&"replaceSync"in CSSStyleSheet.prototype){let o=new CSSStyleSheet;o.replaceSync(t),document.adoptedStyleSheets=[...document.adoptedStyleSheets,o];return}let a=document.createElement("style");a.setAttribute("data-sheet",e),a.textContent=t,document.head.append(a)}var Q4=`
|
|
110
110
|
.sankey { position: relative; }
|
|
111
111
|
.sankey.is-interactive { width: 100%; min-width: 0; box-sizing: border-box; padding: 4px; }
|
|
@@ -808,7 +808,7 @@ lucide-react/dist/esm/icons/wrench.mjs:
|
|
|
808
808
|
lucide-react/dist/esm/icons/x.mjs:
|
|
809
809
|
lucide-react/dist/esm/lucide-react.mjs:
|
|
810
810
|
(**
|
|
811
|
-
* @license lucide-react v1.
|
|
811
|
+
* @license lucide-react v1.76.0 - ISC
|
|
812
812
|
*
|
|
813
813
|
* This source code is licensed under the ISC license.
|
|
814
814
|
* See the LICENSE file in the root directory of this source tree.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { accessSync, constants, existsSync, readFileSync, statSync } from "node:fs";
|
|
2
2
|
import { join, delimiter } from "node:path";
|
|
3
|
-
import { localServerName } from "./json-config.js";
|
|
3
|
+
import { localServerName, REMOTE_ALREADY_REGISTERED, remoteConflictWarning, remoteEntryUrl, SKILLAR_REMOTE_MCP_URL } from "./json-config.js";
|
|
4
4
|
const isObj = (v) => v !== null && typeof v === "object" && !Array.isArray(v);
|
|
5
5
|
const jsonEsc = (v) => JSON.stringify(v).slice(1, -1);
|
|
6
6
|
function onPath(bin, env) {
|
|
@@ -121,26 +121,37 @@ export const claudeCodePack = {
|
|
|
121
121
|
plan.files.push({ path, before, after, mode: 0o600 });
|
|
122
122
|
}
|
|
123
123
|
let name = "skillar";
|
|
124
|
+
let remoteUrl = null;
|
|
124
125
|
try {
|
|
125
126
|
const servers = JSON.parse(readText(join(ctx.home, ".claude.json")) ?? "{}").mcpServers;
|
|
126
127
|
if (isObj(servers)) {
|
|
127
128
|
name = localServerName(servers);
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
129
|
+
remoteUrl = remoteEntryUrl(servers.skillar, ["url"]);
|
|
130
|
+
if (remoteUrl === null && isObj(servers.skillar) && JSON.stringify(servers.skillar).includes("mcp-remote")) {
|
|
131
|
+
remoteUrl = "unparsed remote target";
|
|
131
132
|
}
|
|
132
133
|
}
|
|
133
134
|
}
|
|
134
135
|
catch { /* Claude owns its registration file; the CLI will validate it. */ }
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
136
|
+
// A different remote MCP holding the skillar name: hands off this runtime entirely.
|
|
137
|
+
if (remoteUrl !== null && remoteUrl !== SKILLAR_REMOTE_MCP_URL) {
|
|
138
|
+
return { files: [], commands: [], notes: [remoteConflictWarning(remoteUrl)], conflicts: [] };
|
|
139
|
+
}
|
|
140
|
+
// Already pointing at the hosted skillar MCP: keep the registration, still install capture.
|
|
141
|
+
if (remoteUrl === SKILLAR_REMOTE_MCP_URL) {
|
|
142
|
+
plan.notes.push(REMOTE_ALREADY_REGISTERED);
|
|
141
143
|
}
|
|
142
144
|
else {
|
|
143
|
-
|
|
145
|
+
const argv = ["claude", "mcp", "add", "--transport", "http", "--scope", "user", name,
|
|
146
|
+
`http://127.0.0.1:${ctx.port}/mcp`, "--header", `Authorization: Bearer ${ctx.token}`];
|
|
147
|
+
const shown = `claude mcp add --transport http --scope user ${name} http://127.0.0.1:${ctx.port}/mcp --header "Authorization: Bearer ${ctx.token}"`;
|
|
148
|
+
if (onPath("claude", ctx.env) && !(ctx.env.SKILLAR_NO_CLI ?? ctx.env.GISOOL_NO_CLI)) {
|
|
149
|
+
plan.commands.push({ argv, description: "Register the skillar MCP server with Claude Code (user scope)",
|
|
150
|
+
undo: { argv: ["claude", "mcp", "remove", "--scope", "user", name], description: "Remove the skillar MCP server" } });
|
|
151
|
+
}
|
|
152
|
+
else {
|
|
153
|
+
plan.notes.push(`manual step: run ${shown}`);
|
|
154
|
+
}
|
|
144
155
|
}
|
|
145
156
|
if (ctx.disableRemote && remoteRegistered(ctx.home)) {
|
|
146
157
|
plan.notes.push("manual step: run claude mcp remove --scope user gisul");
|
package/dist/packs/cursor.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { existsSync } from "node:fs";
|
|
2
2
|
import { join } from "node:path";
|
|
3
|
-
import { isObject, isRemoteEntry, localServerName, noop, planJsonFile, readJsonConfig, refuse } from "./json-config.js";
|
|
3
|
+
import { isObject, isRemoteEntry, localServerName, noop, planJsonFile, readJsonConfig, refuse, REMOTE_ALREADY_REGISTERED, remoteConflictWarning, remoteEntryUrl, SKILLAR_REMOTE_MCP_URL } from "./json-config.js";
|
|
4
4
|
// Hook shape confirmed against https://cursor.com/docs/agent/hooks : hooks.json is { "version": 1, "hooks": { <event>: [{ "command": ... }] } }
|
|
5
5
|
// and Cursor reloads hooks config files automatically. MCP servers live in ~/.cursor/mcp.json under mcpServers.
|
|
6
6
|
const HOOK_EVENTS = ["beforeSubmitPrompt", "sessionStart", "sessionEnd"];
|
|
@@ -49,9 +49,14 @@ export const cursorPack = {
|
|
|
49
49
|
if (ctx.disableRemote && isRemoteEntry(servers.gisul, URL_KEYS)) {
|
|
50
50
|
notes.push("Remote skillar MCP entry left enabled: Cursor's disable key is unverified, so disable it manually.");
|
|
51
51
|
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
const remoteUrl = remoteEntryUrl(servers.skillar, URL_KEYS);
|
|
53
|
+
if (remoteUrl !== null && remoteUrl !== SKILLAR_REMOTE_MCP_URL)
|
|
54
|
+
return noop(remoteConflictWarning(remoteUrl));
|
|
55
|
+
// Already pointing at the hosted skillar MCP: keep the registration, still install capture.
|
|
56
|
+
if (remoteUrl === SKILLAR_REMOTE_MCP_URL)
|
|
57
|
+
notes.push(REMOTE_ALREADY_REGISTERED);
|
|
58
|
+
else
|
|
59
|
+
servers[localServerName(servers)] = { url: localMcpUrl(ctx.port), headers: { Authorization: `Bearer ${ctx.token}` } };
|
|
55
60
|
nextMcp.mcpServers = servers;
|
|
56
61
|
if (hooksFile.obj.version !== undefined && hooksFile.obj.version !== 1) {
|
|
57
62
|
return refuse(hooksPath, "invalid_shape", "hooks.json version must be 1");
|
package/dist/packs/gemini.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { existsSync } from "node:fs";
|
|
2
2
|
import { join } from "node:path";
|
|
3
|
-
import { isObject, isRemoteEntry, localServerName, noop, planJsonFile, readJsonConfig, refuse } from "./json-config.js";
|
|
3
|
+
import { isObject, isRemoteEntry, localServerName, noop, planJsonFile, readJsonConfig, refuse, REMOTE_ALREADY_REGISTERED, remoteConflictWarning, remoteEntryUrl, SKILLAR_REMOTE_MCP_URL } from "./json-config.js";
|
|
4
4
|
// Hook shape confirmed against https://geminicli.com/docs/hooks/ : settings.json "hooks" maps an event name to groups
|
|
5
5
|
// of { matcher?, hooks: [{ type: "command", name, command, timeout }] }; timeout is in milliseconds. BeforeAgent is a
|
|
6
6
|
// lifecycle event (exact-string matcher, so none is written); AfterTool matchers are regular expressions over tool names.
|
|
@@ -48,9 +48,14 @@ export const geminiPack = {
|
|
|
48
48
|
if (ctx.disableRemote && isRemoteEntry(servers.gisul, URL_KEYS)) {
|
|
49
49
|
notes.push("Remote skillar MCP entry left enabled: Gemini's disable key is unverified, so disable it manually.");
|
|
50
50
|
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
const remoteUrl = remoteEntryUrl(servers.skillar, URL_KEYS);
|
|
52
|
+
if (remoteUrl !== null && remoteUrl !== SKILLAR_REMOTE_MCP_URL)
|
|
53
|
+
return noop(remoteConflictWarning(remoteUrl));
|
|
54
|
+
// Already pointing at the hosted skillar MCP: keep the registration, still install capture.
|
|
55
|
+
if (remoteUrl === SKILLAR_REMOTE_MCP_URL)
|
|
56
|
+
notes.push(REMOTE_ALREADY_REGISTERED);
|
|
57
|
+
else
|
|
58
|
+
servers[localServerName(servers)] = { httpUrl: localMcpUrl(ctx.port), headers: { Authorization: `Bearer ${ctx.token}` } };
|
|
54
59
|
next.mcpServers = servers;
|
|
55
60
|
for (const { event, matcher } of HOOK_EVENTS) {
|
|
56
61
|
const groups = hooks[event] ?? [];
|
|
@@ -53,3 +53,44 @@ export function isRemoteEntry(entry, urlKeys) {
|
|
|
53
53
|
export function localServerName(servers) {
|
|
54
54
|
return !Object.hasOwn(servers, "skillar") && isObject(servers.gisool) && !isRemoteEntry(servers.gisool, ["url", "httpUrl"]) ? "gisool" : "skillar";
|
|
55
55
|
}
|
|
56
|
+
/** The hosted skillar MCP endpoint a previous remote registration points at. */
|
|
57
|
+
export const SKILLAR_REMOTE_MCP_URL = "https://skillar.sh/mcp";
|
|
58
|
+
/**
|
|
59
|
+
* Normalized remote URL of an MCP entry (url-style keys or an mcp-remote
|
|
60
|
+
* command bridge), or null when the entry is local or carries no remote URL.
|
|
61
|
+
*/
|
|
62
|
+
export function remoteEntryUrl(entry, urlKeys) {
|
|
63
|
+
if (!isObject(entry))
|
|
64
|
+
return null;
|
|
65
|
+
const from = (raw) => {
|
|
66
|
+
if (typeof raw !== "string")
|
|
67
|
+
return null;
|
|
68
|
+
try {
|
|
69
|
+
const url = new URL(raw);
|
|
70
|
+
if (url.protocol !== "https:" && url.protocol !== "http:")
|
|
71
|
+
return null;
|
|
72
|
+
return LOOPBACK_HOSTS.has(url.hostname) ? null : url.toString().replace(/\/+$/, "");
|
|
73
|
+
}
|
|
74
|
+
catch {
|
|
75
|
+
return null;
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
for (const key of urlKeys) {
|
|
79
|
+
const found = from(entry[key]);
|
|
80
|
+
if (found !== null)
|
|
81
|
+
return found;
|
|
82
|
+
}
|
|
83
|
+
const argv = [entry.command, ...(Array.isArray(entry.args) ? entry.args : [])];
|
|
84
|
+
for (const arg of argv) {
|
|
85
|
+
const found = from(arg);
|
|
86
|
+
if (found !== null)
|
|
87
|
+
return found;
|
|
88
|
+
}
|
|
89
|
+
return null;
|
|
90
|
+
}
|
|
91
|
+
/** Skip note when the existing remote registration already is the hosted skillar MCP. */
|
|
92
|
+
export const REMOTE_ALREADY_REGISTERED = `existing remote skillar registration (${SKILLAR_REMOTE_MCP_URL}) kept; skipping local daemon registration for this runtime`;
|
|
93
|
+
/** Skip note when a different remote MCP holds the skillar name. */
|
|
94
|
+
export function remoteConflictWarning(url) {
|
|
95
|
+
return `warning: a different remote MCP named skillar (${url}) is registered; skipping this runtime - remove that registration to install the local daemon`;
|
|
96
|
+
}
|
package/dist/packs/omo.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { existsSync, lstatSync, readFileSync } from "node:fs";
|
|
2
2
|
import { isAbsolute, join, resolve } from "node:path";
|
|
3
|
-
import { localServerName } from "./json-config.js";
|
|
3
|
+
import { localServerName, noop, REMOTE_ALREADY_REGISTERED, remoteConflictWarning, remoteEntryUrl, SKILLAR_REMOTE_MCP_URL } from "./json-config.js";
|
|
4
4
|
const EXT_FILES = ["index.js", "discovery.md"];
|
|
5
5
|
const isObject = (v) => v !== null && typeof v === "object" && !Array.isArray(v);
|
|
6
6
|
function readOrNull(path) {
|
|
@@ -96,17 +96,26 @@ export function createPiPack(spec) {
|
|
|
96
96
|
return plan;
|
|
97
97
|
}
|
|
98
98
|
const servers = { ...(isObject(cfg.mcpServers) ? cfg.mcpServers : {}) };
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
return
|
|
99
|
+
const remoteUrl = remoteEntryUrl(servers.skillar, ["url"]);
|
|
100
|
+
if (remoteUrl !== null && remoteUrl !== SKILLAR_REMOTE_MCP_URL)
|
|
101
|
+
return noop(remoteConflictWarning(remoteUrl));
|
|
102
|
+
if (remoteUrl === null && isRemoteSkillar(servers.skillar))
|
|
103
|
+
return noop(remoteConflictWarning("unparsed remote target"));
|
|
104
|
+
// Already pointing at the hosted skillar MCP: keep the registration, still install capture.
|
|
105
|
+
if (remoteUrl === SKILLAR_REMOTE_MCP_URL) {
|
|
106
|
+
plan.notes.push(REMOTE_ALREADY_REGISTERED);
|
|
107
|
+
}
|
|
108
|
+
else {
|
|
109
|
+
servers[localServerName(servers)] = { type: "http", url: `http://127.0.0.1:${ctx.port}/mcp`, headers: { Authorization: `Bearer ${ctx.token}` } };
|
|
102
110
|
}
|
|
103
|
-
servers[localServerName(servers)] = { type: "http", url: `http://127.0.0.1:${ctx.port}/mcp`, headers: { Authorization: `Bearer ${ctx.token}` } };
|
|
104
111
|
if (ctx.disableRemote && isRemoteSkillar(servers.gisul)) {
|
|
105
112
|
servers.gisul = { ...servers.gisul, enabled: false };
|
|
106
113
|
plan.notes.push("legacy remote gisul entry set to enabled:false (original definition kept)");
|
|
107
114
|
}
|
|
108
115
|
const mcpAfter = JSON.stringify({ ...cfg, mcpServers: servers }, null, 2) + "\n";
|
|
109
|
-
|
|
116
|
+
const mcpUnchanged = before !== null && JSON.stringify(JSON.parse(before)) === JSON.stringify({ ...cfg, mcpServers: servers });
|
|
117
|
+
if (!mcpUnchanged)
|
|
118
|
+
plan.files.push({ path: mcpPath, before, after: mcpAfter, mode: 0o600 });
|
|
110
119
|
const dir = extDir(agentDir);
|
|
111
120
|
const source = join(ctx.packageRoot, "packs", spec.id, "extension");
|
|
112
121
|
const add = (path, after) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "skillar",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Local skill router for coding agents: search your skills, trace how agents use them, and see the flow.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -37,15 +37,14 @@
|
|
|
37
37
|
"start": "node dist/cli/main.js serve"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@astryxdesign/core": "^0.7.16",
|
|
41
|
-
"@astryxdesign/theme-neutral": "^0.7.16",
|
|
42
|
-
"@stylexjs/stylex": "^0.19.2",
|
|
43
40
|
"express": "^5.2.1",
|
|
44
|
-
"lucide-react": "^1.75.0",
|
|
45
41
|
"yaml": "^2.9.0",
|
|
46
42
|
"zod": "^4.1.11"
|
|
47
43
|
},
|
|
48
44
|
"devDependencies": {
|
|
45
|
+
"@astryxdesign/core": "^0.7.16",
|
|
46
|
+
"@astryxdesign/theme-neutral": "^0.7.16",
|
|
47
|
+
"@stylexjs/stylex": "^0.19.2",
|
|
49
48
|
"@types/d3-sankey": "^0.12.4",
|
|
50
49
|
"@types/express": "^5.0.5",
|
|
51
50
|
"@types/node": "^24.3.0",
|
|
@@ -55,6 +54,7 @@
|
|
|
55
54
|
"d3-sankey": "0.12.3",
|
|
56
55
|
"esbuild": "^0.28.2",
|
|
57
56
|
"jsdom": "^31.0.1",
|
|
57
|
+
"lucide-react": "^1.76.0",
|
|
58
58
|
"prismjs": "1.30.0",
|
|
59
59
|
"react": "^19.3.1",
|
|
60
60
|
"react-dom": "^19.3.1",
|