vskill 1.2.12 → 1.2.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/agents.json +1 -1
- package/dist/commands/add.js +13 -18
- package/dist/commands/add.js.map +1 -1
- package/dist/commands/doctor.js +14 -6
- package/dist/commands/doctor.js.map +1 -1
- package/dist/eval-ui/assets/{AdvancedTab-DX3v5Q7O.js → AdvancedTab-BsCfcO3L.js} +1 -1
- package/dist/eval-ui/assets/{CreateSkillPage-CwreCn22.js → CreateSkillPage-CuMXsfif.js} +1 -1
- package/dist/eval-ui/assets/{FindSkillsPalette-B5-3ZLEo.js → FindSkillsPalette-5Z0nZfj1.js} +2 -2
- package/dist/eval-ui/assets/{GeneralTab-BfFbcbuP.js → GeneralTab-DqdL8e2l.js} +1 -1
- package/dist/eval-ui/assets/{PrivacyTab-Bq2N7Iam.js → PrivacyTab-DM3_SZ4l.js} +1 -1
- package/dist/eval-ui/assets/{SearchPaletteCore-Bgld3QTz.js → SearchPaletteCore-BdKtQNHf.js} +1 -1
- package/dist/eval-ui/assets/SkillDetailPanel-BzhzGMTG.js +1 -0
- package/dist/eval-ui/assets/{UpdateDropdown-VRCYPtXG.js → UpdateDropdown-y8Sq0YlC.js} +1 -1
- package/dist/eval-ui/assets/{UpdatesTab-w6h18GPp.js → UpdatesTab-CghDj_Cn.js} +1 -1
- package/dist/eval-ui/assets/{globals-DmzftdEG.js → globals-DfBP3Un6.js} +3 -3
- package/dist/eval-ui/assets/{lifecycle-DC0khFSd.js → lifecycle-BTWax-il.js} +1 -1
- package/dist/eval-ui/assets/main-D4o9Bml-.js +86 -0
- package/dist/eval-ui/assets/{preferences-VTBvoXmM.js → preferences-UdOVsxM3.js} +2 -2
- package/dist/eval-ui/assets/{useDesktopBridge-C8dT34x9.js → useDesktopBridge-DwIkSrI6.js} +1 -1
- package/dist/eval-ui/index.html +3 -3
- package/dist/eval-ui/lifecycle.html +2 -2
- package/dist/eval-ui/preferences.html +3 -3
- package/dist/installer/canonical.js +10 -2
- package/dist/installer/canonical.js.map +1 -1
- package/dist/installer/frontmatter.js +7 -7
- package/dist/installer/frontmatter.js.map +1 -1
- package/dist/lockfile/types.d.ts +2 -0
- package/package.json +2 -2
- package/dist/eval-ui/assets/SkillDetailPanel-B5LYvcry.js +0 -1
- package/dist/eval-ui/assets/main-DIkxEshL.js +0 -86
package/README.md
CHANGED
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
<a href="https://github.com/anton-abyzov/vskill/stargazers"><img src="https://img.shields.io/github/stars/anton-abyzov/vskill?color=FFD700&logo=github" alt="GitHub stars" /></a>
|
|
12
12
|
<a href="https://github.com/anton-abyzov/vskill/actions/workflows/desktop-release.yml"><img src="https://img.shields.io/github/actions/workflow/status/anton-abyzov/vskill/desktop-release.yml?branch=main&label=desktop%20build&logo=githubactions" alt="desktop build" /></a>
|
|
13
13
|
<img src="https://img.shields.io/badge/agents-56_platforms-0969DA" alt="56 agents" />
|
|
14
|
-
<img src="https://img.shields.io/badge/plugins-
|
|
15
|
-
<img src="https://img.shields.io/badge/skills-
|
|
14
|
+
<img src="https://img.shields.io/badge/plugins-10-8B5CF6" alt="10 plugins" />
|
|
15
|
+
<img src="https://img.shields.io/badge/skills-22-10B981" alt="22 skills" />
|
|
16
16
|
<a href="https://verified-skill.com"><img src="https://img.shields.io/badge/registry-verified--skill.com-F59E0B" alt="registry" /></a>
|
|
17
17
|
<a href="https://github.com/anton-abyzov/vskill/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-green" alt="MIT" /></a>
|
|
18
18
|
</p>
|
package/agents.json
CHANGED
package/dist/commands/add.js
CHANGED
|
@@ -533,11 +533,10 @@ async function installMarketplaceRepo(owner, repo, manifestContent, opts, preSel
|
|
|
533
533
|
if (!contentRes.ok)
|
|
534
534
|
continue;
|
|
535
535
|
const content = await contentRes.text();
|
|
536
|
-
|
|
537
|
-
//
|
|
538
|
-
//
|
|
539
|
-
const
|
|
540
|
-
const processedContent = ensureFrontmatter(content, namespacedName, isRenaming);
|
|
536
|
+
// `name:` must equal the folder: Codex and the Agent Skills spec
|
|
537
|
+
// ignore a namespaced `plugin/skill` name. A matching name is left
|
|
538
|
+
// untouched (no-touch principle).
|
|
539
|
+
const processedContent = ensureFrontmatter(content, sd.name, true);
|
|
541
540
|
for (const baseDir of uniqueInstallBases(opts, agents)) {
|
|
542
541
|
const skillDir = join(baseDir, sd.name);
|
|
543
542
|
mkdirSync(skillDir, { recursive: true });
|
|
@@ -599,6 +598,7 @@ async function installMarketplaceRepo(owner, repo, manifestContent, opts, preSel
|
|
|
599
598
|
source: `marketplace:${owner}/${repo}#${r.name}`,
|
|
600
599
|
marketplace: marketplaceName || undefined,
|
|
601
600
|
pluginDir: true,
|
|
601
|
+
skills: (pluginSkillContents.get(r.name) ?? []).map((s) => s.name),
|
|
602
602
|
scope: opts.global ? "user" : "project",
|
|
603
603
|
// 0737 — Source-repo provenance for the Studio detail header's
|
|
604
604
|
// clickable GitHub anchor. `repoUrl` is the canonical GitHub root;
|
|
@@ -1781,9 +1781,7 @@ async function installRepoPlugin(ownerRepo, pluginName, opts, overrideSource) {
|
|
|
1781
1781
|
? plugDir
|
|
1782
1782
|
: join(plugDir, skill.name);
|
|
1783
1783
|
mkdirSync(skillDir, { recursive: true });
|
|
1784
|
-
|
|
1785
|
-
const isRenamingSkill = skill.name !== pluginName;
|
|
1786
|
-
writeFileSync(join(skillDir, "SKILL.md"), ensureFrontmatter(skill.content, namespacedSkillName, isRenamingSkill), "utf-8");
|
|
1784
|
+
writeFileSync(join(skillDir, "SKILL.md"), ensureFrontmatter(skill.content, skill.name, true), "utf-8");
|
|
1787
1785
|
cleanStaleNesting(skillDir);
|
|
1788
1786
|
}
|
|
1789
1787
|
// Commands: {agent-dir}/{plugin-name}/{command-name}.md
|
|
@@ -2740,15 +2738,12 @@ async function installSingleSkillLegacy(owner, repo, skill, opts, skillSubpathOv
|
|
|
2740
2738
|
}
|
|
2741
2739
|
const bundle = prepared.bundle;
|
|
2742
2740
|
const previousFiles = readLockfile(lockfileRoot(opts))?.skills[skillName]?.files;
|
|
2743
|
-
// Install to each agent using canonical installer (flat directory
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
const isRenamingNamespace = !!pluginNamespace && namespacedName !== skillName;
|
|
2750
|
-
const namespacedContent = pluginNamespace
|
|
2751
|
-
? ensureFrontmatter(content, namespacedName, isRenamingNamespace)
|
|
2741
|
+
// Install to each agent using canonical installer (flat directory). A
|
|
2742
|
+
// plugin skill keeps `name:` equal to its folder: Codex and the Agent Skills
|
|
2743
|
+
// spec ignore a namespaced `plugin/skill` name. A matching name is left
|
|
2744
|
+
// untouched (no-touch principle).
|
|
2745
|
+
const installContent = pluginNamespace
|
|
2746
|
+
? ensureFrontmatter(content, skillName, true)
|
|
2752
2747
|
: content;
|
|
2753
2748
|
const sha = computeSha(content);
|
|
2754
2749
|
const projectRoot = safeProjectRoot();
|
|
@@ -2759,7 +2754,7 @@ async function installSingleSkillLegacy(owner, repo, skill, opts, skillSubpathOv
|
|
|
2759
2754
|
// keep the canonical symlink/copy store + claude-code COPY_FALLBACK.
|
|
2760
2755
|
const locations = installSkillToAgents({
|
|
2761
2756
|
skillName,
|
|
2762
|
-
rawContent:
|
|
2757
|
+
rawContent: installContent,
|
|
2763
2758
|
agents: selectedAgents,
|
|
2764
2759
|
scope: opts.global ? "user" : "project",
|
|
2765
2760
|
projectRoot,
|