Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
},
"metadata": {
"description": "Syncable CLI skills for AI coding agents — project analysis, security, vulnerabilities, dependencies, IaC validation, and cloud deployment.",
"version": "0.1.13"
"version": "0.1.14"
},
"plugins": [
{
"name": "syncable-cli-skills",
"source": "./installer/plugins/syncable-cli-skills",
"description": "Syncable CLI skills for project analysis, security scanning, vulnerability detection, dependency auditing, IaC validation, Kubernetes optimization, and cloud deployment.",
"version": "0.1.13",
"version": "0.1.14",
"author": {
"name": "Syncable",
"email": "support@syncable.dev"
Expand Down
27 changes: 0 additions & 27 deletions installer/.claude-plugin/marketplace.json

This file was deleted.

2 changes: 1 addition & 1 deletion installer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "syncable-cli-skills",
"version": "0.1.13",
"version": "0.1.14",
"type": "module",
"description": "Install Syncable CLI skills for AI coding agents (Claude Code, Cursor, Windsurf, Codex, Gemini CLI)",
"license": "GPL-3.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "syncable-cli-skills",
"description": "Syncable CLI skills for project analysis, security scanning, vulnerability detection, dependency auditing, IaC validation, Kubernetes optimization, and cloud deployment.",
"version": "0.1.13",
"version": "0.1.14",
"author": {
"name": "Syncable",
"email": "support@syncable.dev"
Expand Down
14 changes: 13 additions & 1 deletion installer/src/transformers/claude.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,19 @@ export async function installClaudePlugin(skills: Skill[]): Promise<{ cacheDir:
cacheDir = getClaudePluginCacheDir();
}

// Step 3: Clear and rewrite skills so the cache is always fresh.
// Step 3: Remove ALL other version directories. Previous installs may have
// created directories at different versions that are now stale/orphaned.
const pluginRoot = getPluginCacheRoot();
if (fs.existsSync(pluginRoot)) {
const activeDirName = path.basename(cacheDir);
for (const entry of fs.readdirSync(pluginRoot)) {
if (entry !== activeDirName && entry !== '.DS_Store') {
fs.rmSync(path.join(pluginRoot, entry), { recursive: true, force: true });
}
}
}

// Step 4: Clear and rewrite skills so the cache is always fresh.
const skillsDir = path.join(cacheDir, 'skills');
if (fs.existsSync(skillsDir)) {
fs.rmSync(skillsDir, { recursive: true });
Expand Down
Loading