diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json index c916be8..f55c34a 100644 --- a/.codex-plugin/plugin.json +++ b/.codex-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "socraticode", - "version": "1.4.1", - "description": "Codebase intelligence — semantic search workflows, dependency graph analysis, and context artifact exploration for SocratiCode", + "version": "1.7.2", + "description": "Codebase intelligence: semantic search workflows, dependency graph analysis, and context artifact exploration for SocratiCode", "author": { "name": "Giancarlo Erra", "email": "giancarlo@altaire.com", @@ -22,7 +22,7 @@ "mcpServers": "./.mcp.json", "interface": { "displayName": "SocratiCode", - "shortDescription": "Codebase intelligence — semantic search, dependency graphs, and context artifacts", + "shortDescription": "Codebase intelligence: semantic search, dependency graphs, and context artifacts", "longDescription": "SocratiCode provides codebase intelligence through semantic search workflows, dependency graph analysis, and context artifact exploration. Index your codebase, search with hybrid semantic + keyword search, visualize module dependencies, and manage context artifacts.", "developerName": "Giancarlo Erra", "category": "Development", diff --git a/.cursor-plugin/marketplace.json b/.cursor-plugin/marketplace.json index b2937ff..7d7d3a2 100644 --- a/.cursor-plugin/marketplace.json +++ b/.cursor-plugin/marketplace.json @@ -5,13 +5,13 @@ "email": "giancarlo@altaire.com" }, "metadata": { - "description": "SocratiCode — codebase intelligence plugin" + "description": "SocratiCode: codebase intelligence plugin" }, "plugins": [ { "name": "socraticode", "source": "./", - "description": "Codebase intelligence — semantic search workflows, dependency graph analysis, and context artifact exploration", + "description": "Codebase intelligence: semantic search workflows, dependency graph analysis, and context artifact exploration", "category": "development" } ] diff --git a/.cursor-plugin/plugin.json b/.cursor-plugin/plugin.json index 40ad487..75ee795 100644 --- a/.cursor-plugin/plugin.json +++ b/.cursor-plugin/plugin.json @@ -1,7 +1,7 @@ { "name": "socraticode", - "version": "1.4.1", - "description": "Codebase intelligence — semantic search workflows, dependency graph analysis, and context artifact exploration for SocratiCode", + "version": "1.7.2", + "description": "Codebase intelligence: semantic search workflows, dependency graph analysis, and context artifact exploration for SocratiCode", "author": { "name": "Giancarlo Erra", "email": "giancarlo@altaire.com" diff --git a/.release-it.json b/.release-it.json index 2f5c00d..9676b25 100644 --- a/.release-it.json +++ b/.release-it.json @@ -1,6 +1,6 @@ { "hooks": { - "after:bump": "node -e \"const fs=require('fs'); const p=JSON.parse(fs.readFileSync('.claude-plugin/plugin.json','utf8')); p.version='${version}'; fs.writeFileSync('.claude-plugin/plugin.json', JSON.stringify(p,null,2)+'\\n');\"" + "after:bump": "node scripts/bump-plugin-versions.mjs ${version}" }, "git": { "commitMessage": "chore: release v${version}", diff --git a/scripts/bump-plugin-versions.mjs b/scripts/bump-plugin-versions.mjs new file mode 100755 index 0000000..cb7ca69 --- /dev/null +++ b/scripts/bump-plugin-versions.mjs @@ -0,0 +1,47 @@ +#!/usr/bin/env node +// SPDX-License-Identifier: AGPL-3.0-only +// Copyright (C) 2026 Giancarlo Erra - Altaire Limited +// +// release-it `after:bump` hook. Synchronises the version field across +// every plugin / extension manifest in the repo so a single engine +// release also bumps the Claude / Cursor / Codex plugins and the +// VS Code / Open VSX extension. Skips manifests that don't exist. +// +// Usage: node scripts/bump-plugin-versions.mjs + +import { existsSync, readFileSync, writeFileSync } from "node:fs"; +import { resolve } from "node:path"; + +const MANIFESTS = [ + ".claude-plugin/plugin.json", + ".cursor-plugin/plugin.json", + ".codex-plugin/plugin.json", + "extension/package.json", +]; + +const version = process.argv[2]; +if (!version) { + console.error("Usage: bump-plugin-versions.mjs "); + process.exit(1); +} + +let touched = 0; +for (const rel of MANIFESTS) { + const path = resolve(process.cwd(), rel); + if (!existsSync(path)) continue; + try { + const json = JSON.parse(readFileSync(path, "utf8")); + if (json.version === version) continue; + json.version = version; + writeFileSync(path, `${JSON.stringify(json, null, 2)}\n`); + console.log(`bumped ${rel} -> ${version}`); + touched += 1; + } catch (err) { + console.error(`failed to bump ${rel}:`, err.message); + process.exit(1); + } +} + +if (touched === 0) { + console.log("no manifests needed bumping"); +}