@brainervirus/workit-cli 8.42.0 → 8.42.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 +9 -7
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -9417,7 +9417,7 @@ var package_default;
9417
9417
  var init_package = __esm(() => {
9418
9418
  package_default = {
9419
9419
  name: "@brainervirus/workit-cli",
9420
- version: "8.42.0",
9420
+ version: "8.42.1",
9421
9421
  private: false,
9422
9422
  description: "Workit CLI — setup wizard, doctor, and task control for agentic coding workflows",
9423
9423
  keywords: [
@@ -9455,13 +9455,13 @@ var init_package = __esm(() => {
9455
9455
  },
9456
9456
  dependencies: {
9457
9457
  "@babel/parser": "7.29.9",
9458
- "@brainervirus/workit-cursor": "^8.42.0",
9458
+ "@brainervirus/workit-cursor": "^8.42.1",
9459
9459
  "@inkjs/ui": "2.0.0",
9460
9460
  ink: "7.1.1",
9461
9461
  react: "19.2.8"
9462
9462
  },
9463
9463
  devDependencies: {
9464
- "@brainervirus/workit-core": "^8.42.0"
9464
+ "@brainervirus/workit-core": "^8.42.1"
9465
9465
  },
9466
9466
  engines: {
9467
9467
  node: ">=24"
@@ -75468,8 +75468,8 @@ function createProgress(options = {}) {
75468
75468
  return {
75469
75469
  mode,
75470
75470
  start,
75471
- async run(label, fn, classify) {
75472
- const step = start(label, false);
75471
+ async run(label, fn, classify, runOptions) {
75472
+ const step = start(label, runOptions?.signals === true);
75473
75473
  try {
75474
75474
  const value = await fn();
75475
75475
  step.end(classify ? classify(value) : "done");
@@ -75960,7 +75960,7 @@ async function applyUpgrade(plan, deps = {}) {
75960
75960
  }
75961
75961
  if (plan.cli)
75962
75962
  try {
75963
- hosts.push(await progress.run("Updating the CLI", () => applyCli(plan.cli, runAsync, backup), statusOf));
75963
+ hosts.push(await progress.run("Updating the CLI", () => applyCli(plan.cli, runAsync, backup), statusOf, { signals: true }));
75964
75964
  } catch (error) {
75965
75965
  hosts.push({
75966
75966
  host: "cli",
@@ -108357,7 +108357,9 @@ async function run25(argv, io) {
108357
108357
  }
108358
108358
  const results = [];
108359
108359
  for (const entry of steps) {
108360
- const outcome = await progressFor(io).run(entry.label, () => entry.run());
108360
+ const outcome = await progressFor(io).run(entry.label, () => entry.run(), undefined, {
108361
+ signals: true
108362
+ });
108361
108363
  results.push({
108362
108364
  step: entry.label,
108363
108365
  status: outcome.status,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brainervirus/workit-cli",
3
- "version": "8.42.0",
3
+ "version": "8.42.1",
4
4
  "private": false,
5
5
  "description": "Workit CLI — setup wizard, doctor, and task control for agentic coding workflows",
6
6
  "keywords": [
@@ -38,13 +38,13 @@
38
38
  },
39
39
  "dependencies": {
40
40
  "@babel/parser": "7.29.9",
41
- "@brainervirus/workit-cursor": "^8.42.0",
41
+ "@brainervirus/workit-cursor": "^8.42.1",
42
42
  "@inkjs/ui": "2.0.0",
43
43
  "ink": "7.1.1",
44
44
  "react": "19.2.8"
45
45
  },
46
46
  "devDependencies": {
47
- "@brainervirus/workit-core": "^8.42.0"
47
+ "@brainervirus/workit-core": "^8.42.1"
48
48
  },
49
49
  "engines": {
50
50
  "node": ">=24"