@swarmvaultai/cli 3.16.0 → 3.16.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.
Files changed (2) hide show
  1. package/dist/index.js +7 -4
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -336,9 +336,9 @@ program.addHelpText(
336
336
  function readCliVersion() {
337
337
  try {
338
338
  const packageJson = JSON.parse(readFileSync(new URL("../package.json", import.meta.url), "utf8"));
339
- return typeof packageJson.version === "string" && packageJson.version.trim() ? packageJson.version : "3.16.0";
339
+ return typeof packageJson.version === "string" && packageJson.version.trim() ? packageJson.version : "3.16.1";
340
340
  } catch {
341
- return "3.16.0";
341
+ return "3.16.1";
342
342
  }
343
343
  }
344
344
  function parsePositiveInt(value, fallback) {
@@ -2350,8 +2350,11 @@ provider.command("remove").description("Remove a configured provider and reassig
2350
2350
  return;
2351
2351
  }
2352
2352
  log(`${result.removed ? "Removed" : "No provider named"} ${id}.`);
2353
- if (result.updatedTasks.length) {
2354
- log(`Reassigned tasks: ${result.updatedTasks.join(", ")}`);
2353
+ if (result.reassignedTasks.length) {
2354
+ log(`Reassigned tasks to ${result.fallbackProviderId}: ${result.reassignedTasks.join(", ")}`);
2355
+ }
2356
+ if (result.clearedTasks.length) {
2357
+ log(`Cleared task assignments: ${result.clearedTasks.join(", ")}`);
2355
2358
  }
2356
2359
  });
2357
2360
  async function confirmInteractive(message) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swarmvaultai/cli",
3
- "version": "3.16.0",
3
+ "version": "3.16.1",
4
4
  "description": "Global CLI for SwarmVault.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -44,7 +44,7 @@
44
44
  "prepublishOnly": "node ../../scripts/check-release-sync.mjs && node ../../scripts/check-published-manifests.mjs"
45
45
  },
46
46
  "dependencies": {
47
- "@swarmvaultai/engine": "3.16.0",
47
+ "@swarmvaultai/engine": "3.16.1",
48
48
  "commander": "^14.0.1"
49
49
  },
50
50
  "devDependencies": {