vskill 0.5.128 → 0.5.129
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/agents.json +1 -1
- package/dist/eval-server/eval-server.js +2 -0
- package/dist/eval-server/eval-server.js.map +1 -1
- package/dist/eval-server/git-routes.d.ts +5 -0
- package/dist/eval-server/git-routes.js +172 -0
- package/dist/eval-server/git-routes.js.map +1 -0
- package/dist/eval-server/router.d.ts +2 -0
- package/dist/eval-server/router.js +3 -1
- package/dist/eval-server/router.js.map +1 -1
- package/dist/eval-server/skill-name-resolver.d.ts +13 -0
- package/dist/eval-server/skill-name-resolver.js +42 -0
- package/dist/eval-server/skill-name-resolver.js.map +1 -1
- package/dist/eval-ui/assets/{CommandPalette-D_MdwCki.js → CommandPalette-BIjKkHCC.js} +1 -1
- package/dist/eval-ui/assets/{CreateSkillPage-lLACfsOZ.js → CreateSkillPage-CmV0WZOn.js} +1 -1
- package/dist/eval-ui/assets/{FindSkillsPalette-VTksFrSO.js → FindSkillsPalette-BtYgEsVD.js} +2 -2
- package/dist/eval-ui/assets/{SearchPaletteCore-D49bVafl.js → SearchPaletteCore-CAEO357X.js} +1 -1
- package/dist/eval-ui/assets/{SkillDetailPanel-Cg8lyDAl.js → SkillDetailPanel-AH9wV3VU.js} +1 -1
- package/dist/eval-ui/assets/{UpdateDropdown-CLt94M3u.js → UpdateDropdown-BwMxB2Ub.js} +1 -1
- package/dist/eval-ui/assets/{index-fbCfi37A.js → index-ZByf-wxl.js} +37 -37
- package/dist/eval-ui/assets/skill-url-C4ekwoGs.js +1 -0
- package/dist/eval-ui/index.html +1 -1
- package/package.json +1 -1
- package/dist/eval-ui/assets/skill-url-DXjZASn-.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function s(n){const o=n.split("/");return o.length===3?`/skills/${o.map(encodeURIComponent).join("/")}`:`/skills/${encodeURIComponent(n)}`}function l(n,...o){const t=n.split("/"),e=t.length===3?`/api/v1/skills/${t.map(encodeURIComponent).join("/")}`:`/api/v1/skills/${encodeURIComponent(n)}`;return o.length===0?e:`${e}/${o.map(encodeURIComponent).join("/")}`}export{s as a,l as s};
|
package/dist/eval-ui/index.html
CHANGED
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
}
|
|
47
47
|
})();
|
|
48
48
|
</script>
|
|
49
|
-
<script type="module" crossorigin src="/assets/index-
|
|
49
|
+
<script type="module" crossorigin src="/assets/index-ZByf-wxl.js"></script>
|
|
50
50
|
<link rel="stylesheet" crossorigin href="/assets/index-C8DXCPPg.css">
|
|
51
51
|
<link rel="stylesheet" crossorigin href="/assets/fonts-i7Lkz2zN.css">
|
|
52
52
|
</head>
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as e}from"./index-fbCfi37A.js";const d={sm:{icon:12,fontSize:"0.625rem",gap:"0.25rem",px:"0.375rem",py:"0.125rem",height:"18px",radius:"3px"},md:{icon:14,fontSize:"0.6875rem",gap:"0.3rem",px:"0.5rem",py:"0.15rem",height:"22px",radius:"4px"},lg:{icon:16,fontSize:"0.75rem",gap:"0.375rem",px:"0.625rem",py:"0.2rem",height:"26px",radius:"4px"}};function a({size:r}){return e.jsxs("svg",{width:r,height:r,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[e.jsx("path",{d:"M10 1L3 4.5V9.5C3 13.64 5.99 17.52 10 18.5C14.01 17.52 17 13.64 17 9.5V4.5L10 1Z",fill:"currentColor",fillOpacity:"0.15",stroke:"currentColor",strokeWidth:"1.2",strokeLinejoin:"round"}),e.jsx("path",{d:"M7.5 10.5L9.5 12.5L13 8",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})]})}function c({size:r}){return e.jsxs("svg",{width:r,height:r,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[e.jsx("path",{d:"M10 1L11.9 4.1L15.5 3.5L14.2 7L17 9.5L14.2 12L15.5 15.5L11.9 14.9L10 18L8.1 14.9L4.5 15.5L5.8 12L3 9.5L5.8 7L4.5 3.5L8.1 4.1L10 1Z",fill:"currentColor",fillOpacity:"0.15",stroke:"currentColor",strokeWidth:"1.1",strokeLinejoin:"round"}),e.jsx("path",{d:"M10 6.5L10.9 8.6L13.1 8.8L11.4 10.3L11.9 12.5L10 11.3L8.1 12.5L8.6 10.3L6.9 8.8L9.1 8.6L10 6.5Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"0.4",strokeLinejoin:"round"})]})}const l={VERIFIED:{color:"var(--tier-verified)",bg:"var(--tier-verified-bg)",border:"var(--tier-verified-border)"},CERTIFIED:{color:"var(--tier-certified)",bg:"var(--tier-certified-bg)",border:"var(--tier-certified-border)"},TAINTED:{color:"var(--tier-tainted)",bg:"var(--tier-tainted-bg)",border:"var(--tier-tainted-border)"}},p={VERIFIED:"Security-Scanned",CERTIFIED:"Trusted Publisher",TAINTED:"Tainted"};function u(r){return p[r]??r}function h({size:r}){return e.jsxs("svg",{width:r,height:r,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[e.jsx("path",{d:"M10 2L1.5 17.5H18.5L10 2Z",fill:"currentColor",fillOpacity:"0.15",stroke:"currentColor",strokeWidth:"1.2",strokeLinejoin:"round"}),e.jsx("path",{d:"M10 8V12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"}),e.jsx("circle",{cx:"10",cy:"14.5",r:"1",fill:"currentColor"})]})}function L({tier:r,size:t}){return r==="TAINTED"?e.jsx(h,{size:t}):r==="CERTIFIED"?e.jsx(c,{size:t}):e.jsx(a,{size:t})}function g({tier:r,size:t="md",isTainted:o}){const i=d[t],n=o?"TAINTED":r,s=l[n]??l.VERIFIED;return e.jsxs("span",{"data-testid":"tier-badge","data-tier":n,style:{display:"inline-flex",alignItems:"center",gap:i.gap,padding:`${i.py} ${i.px}`,height:i.height,borderRadius:i.radius,fontFamily:"var(--font-geist-mono)",fontSize:i.fontSize,fontWeight:600,letterSpacing:"0.03em",whiteSpace:"nowrap",color:s.color,backgroundColor:s.bg,border:`1px solid ${s.border}`,lineHeight:1},children:[e.jsx(L,{tier:n,size:i.icon}),u(n)]})}function x(r){const t=r.split("/");return t.length===3?`/skills/${t.map(encodeURIComponent).join("/")}`:`/skills/${encodeURIComponent(r)}`}function m(r,...t){const o=r.split("/"),i=o.length===3?`/api/v1/skills/${o.map(encodeURIComponent).join("/")}`:`/api/v1/skills/${encodeURIComponent(r)}`;return t.length===0?i:`${i}/${t.map(encodeURIComponent).join("/")}`}export{g as T,x as a,u as f,m as s};
|