@infinitedusky/indusk-mcp 1.4.4 → 1.4.5

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.
@@ -259,7 +259,18 @@ export async function init(projectRoot, options = {}) {
259
259
  console.info("\n[Extension Hooks]");
260
260
  const { getEnabledExtensions } = await import("../../lib/extension-loader.js");
261
261
  const enabledExts = getEnabledExtensions(projectRoot);
262
+ const builtinExtDir = join(packageRoot, "extensions");
262
263
  for (const ext of enabledExts) {
264
+ // Re-copy extension skill if force mode
265
+ const builtinSkill = join(builtinExtDir, ext.manifest.name, "skill.md");
266
+ const targetSkill = join(projectRoot, ".claude/skills", ext.manifest.name, "SKILL.md");
267
+ if (existsSync(builtinSkill)) {
268
+ if (force || !existsSync(targetSkill)) {
269
+ mkdirSync(join(projectRoot, ".claude/skills", ext.manifest.name), { recursive: true });
270
+ cpSync(builtinSkill, targetSkill);
271
+ console.info(` ${ext.manifest.name}: skill updated`);
272
+ }
273
+ }
263
274
  if (ext.manifest.hooks?.on_init) {
264
275
  console.info(` ${ext.manifest.name}: running on_init...`);
265
276
  const result = run(ext.manifest.hooks.on_init);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infinitedusky/indusk-mcp",
3
- "version": "1.4.4",
3
+ "version": "1.4.5",
4
4
  "description": "InDusk development system — skills, MCP tools, and CLI for structured AI-assisted development",
5
5
  "type": "module",
6
6
  "files": [