@infinitedusky/indusk-mcp 1.2.2 → 1.2.3

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.
@@ -274,11 +274,11 @@ export async function extensionsUpdate(projectRoot, names) {
274
274
  }
275
275
  continue;
276
276
  }
277
- console.info(` ${name}: updating from ${manifest._source}...`);
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);
277
+ const source = manifest._source;
278
+ console.info(` ${name}: updating from ${source}...`);
279
+ // If source is npm, update the installed package FIRST so we get the latest
280
+ if (source.startsWith("npm:")) {
281
+ const pkg = source.slice(4);
282
282
  console.info(` ${name}: updating npm package ${pkg}...`);
283
283
  try {
284
284
  execSync(`pnpm add ${pkg}@latest`, {
@@ -295,6 +295,8 @@ export async function extensionsUpdate(projectRoot, names) {
295
295
  console.info(` ${name}: run manually: pnpm add ${pkg}@latest`);
296
296
  }
297
297
  }
298
+ // Then fetch the latest manifest (from the now-updated package)
299
+ await extensionsAdd(projectRoot, name, source);
298
300
  updated++;
299
301
  }
300
302
  catch {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infinitedusky/indusk-mcp",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "InDusk development system — skills, MCP tools, and CLI for structured AI-assisted development",
5
5
  "type": "module",
6
6
  "files": [