@infinitedusky/indusk-mcp 1.2.0 → 1.2.2

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,25 @@ 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 (e) {
292
+ const err = e;
293
+ const detail = err.stderr?.trim() || err.message || "unknown error";
294
+ console.info(` ${name}: package update failed: ${detail}`);
295
+ console.info(` ${name}: run manually: pnpm add ${pkg}@latest`);
296
+ }
297
+ }
279
298
  updated++;
280
299
  }
281
300
  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.2",
4
4
  "description": "InDusk development system — skills, MCP tools, and CLI for structured AI-assisted development",
5
5
  "type": "module",
6
6
  "files": [