@infinitedusky/indusk-mcp 1.2.0 → 1.2.1

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.
@@ -276,6 +276,22 @@ export async function extensionsUpdate(projectRoot, names) {
276
276
  }
277
277
  console.info(` ${name}: updating from ${manifest._source}...`);
278
278
  await extensionsAdd(projectRoot, name, manifest._source);
279
+ // If source is npm, also update the installed package
280
+ if (manifest._source.startsWith("npm:")) {
281
+ const pkg = manifest._source.slice(4);
282
+ console.info(` ${name}: updating npm package ${pkg}...`);
283
+ try {
284
+ execSync(`pnpm add ${pkg}@latest`, {
285
+ cwd: projectRoot,
286
+ timeout: 60000,
287
+ stdio: ["ignore", "pipe", "pipe"],
288
+ });
289
+ console.info(` ${name}: package updated`);
290
+ }
291
+ catch {
292
+ console.info(` ${name}: package update failed — run manually: pnpm add ${pkg}@latest`);
293
+ }
294
+ }
279
295
  updated++;
280
296
  }
281
297
  catch {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infinitedusky/indusk-mcp",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "InDusk development system — skills, MCP tools, and CLI for structured AI-assisted development",
5
5
  "type": "module",
6
6
  "files": [