@brainervirus/workit-cli 8.26.0 → 8.27.0

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 +544 -55
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -9240,7 +9240,7 @@ var package_default;
9240
9240
  var init_package = __esm(() => {
9241
9241
  package_default = {
9242
9242
  name: "@brainervirus/workit-cli",
9243
- version: "8.26.0",
9243
+ version: "8.27.0",
9244
9244
  private: false,
9245
9245
  description: "Workit CLI — setup wizard, doctor, and task control for agentic coding workflows",
9246
9246
  keywords: [
@@ -9278,13 +9278,13 @@ var init_package = __esm(() => {
9278
9278
  },
9279
9279
  dependencies: {
9280
9280
  "@babel/parser": "7.29.9",
9281
- "@brainervirus/workit-cursor": "^8.26.0",
9281
+ "@brainervirus/workit-cursor": "^8.27.0",
9282
9282
  "@inkjs/ui": "2.0.0",
9283
9283
  ink: "7.1.1",
9284
9284
  react: "19.2.8"
9285
9285
  },
9286
9286
  devDependencies: {
9287
- "@brainervirus/workit-core": "^8.26.0"
9287
+ "@brainervirus/workit-core": "^8.27.0"
9288
9288
  },
9289
9289
  engines: {
9290
9290
  node: ">=24"
@@ -58217,7 +58217,7 @@ var init_cli_boxes = __esm(() => {
58217
58217
  cli_boxes_default = boxes_default;
58218
58218
  });
58219
58219
 
58220
- // node_modules/chalk/source/vendor/ansi-styles/index.js
58220
+ // node_modules/ink/node_modules/chalk/source/vendor/ansi-styles/index.js
58221
58221
  function assembleStyles2() {
58222
58222
  const codes = new Map;
58223
58223
  for (const [groupName, group] of Object.entries(styles3)) {
@@ -58393,7 +58393,7 @@ var init_ansi_styles2 = __esm(() => {
58393
58393
  ansi_styles_default2 = ansiStyles2;
58394
58394
  });
58395
58395
 
58396
- // node_modules/chalk/source/vendor/supports-color/index.js
58396
+ // node_modules/ink/node_modules/chalk/source/vendor/supports-color/index.js
58397
58397
  import process5 from "node:process";
58398
58398
  import os7 from "node:os";
58399
58399
  import tty2 from "node:tty";
@@ -58527,7 +58527,7 @@ var init_supports_color = __esm(() => {
58527
58527
  supports_color_default = supportsColor;
58528
58528
  });
58529
58529
 
58530
- // node_modules/chalk/source/utilities.js
58530
+ // node_modules/ink/node_modules/chalk/source/utilities.js
58531
58531
  function stringReplaceAll(string, substring, replacer) {
58532
58532
  let index = string.indexOf(substring);
58533
58533
  if (index === -1) {
@@ -58560,7 +58560,7 @@ function stringEncaseCRLFWithFirstIndex(string, prefix, postfix, index) {
58560
58560
  return returnValue;
58561
58561
  }
58562
58562
 
58563
- // node_modules/chalk/source/index.js
58563
+ // node_modules/ink/node_modules/chalk/source/index.js
58564
58564
  function createChalk(options) {
58565
58565
  return chalkFactory(options);
58566
58566
  }
@@ -63983,13 +63983,502 @@ var init_use_text_input_state = __esm(() => {
63983
63983
  import_react50 = __toESM(require_react(), 1);
63984
63984
  });
63985
63985
 
63986
+ // node_modules/@inkjs/ui/node_modules/chalk/source/vendor/ansi-styles/index.js
63987
+ function assembleStyles3() {
63988
+ const codes = new Map;
63989
+ for (const [groupName, group] of Object.entries(styles5)) {
63990
+ for (const [styleName, style] of Object.entries(group)) {
63991
+ styles5[styleName] = {
63992
+ open: `\x1B[${style[0]}m`,
63993
+ close: `\x1B[${style[1]}m`
63994
+ };
63995
+ group[styleName] = styles5[styleName];
63996
+ codes.set(style[0], style[1]);
63997
+ }
63998
+ Object.defineProperty(styles5, groupName, {
63999
+ value: group,
64000
+ enumerable: false
64001
+ });
64002
+ }
64003
+ Object.defineProperty(styles5, "codes", {
64004
+ value: codes,
64005
+ enumerable: false
64006
+ });
64007
+ styles5.color.close = "\x1B[39m";
64008
+ styles5.bgColor.close = "\x1B[49m";
64009
+ styles5.color.ansi = wrapAnsi163();
64010
+ styles5.color.ansi256 = wrapAnsi2563();
64011
+ styles5.color.ansi16m = wrapAnsi16m3();
64012
+ styles5.bgColor.ansi = wrapAnsi163(ANSI_BACKGROUND_OFFSET3);
64013
+ styles5.bgColor.ansi256 = wrapAnsi2563(ANSI_BACKGROUND_OFFSET3);
64014
+ styles5.bgColor.ansi16m = wrapAnsi16m3(ANSI_BACKGROUND_OFFSET3);
64015
+ Object.defineProperties(styles5, {
64016
+ rgbToAnsi256: {
64017
+ value(red, green, blue) {
64018
+ if (red === green && green === blue) {
64019
+ if (red < 8) {
64020
+ return 16;
64021
+ }
64022
+ if (red > 248) {
64023
+ return 231;
64024
+ }
64025
+ return Math.round((red - 8) / 247 * 24) + 232;
64026
+ }
64027
+ return 16 + 36 * Math.round(red / 255 * 5) + 6 * Math.round(green / 255 * 5) + Math.round(blue / 255 * 5);
64028
+ },
64029
+ enumerable: false
64030
+ },
64031
+ hexToRgb: {
64032
+ value(hex) {
64033
+ const matches = /[a-f\d]{6}|[a-f\d]{3}/i.exec(hex.toString(16));
64034
+ if (!matches) {
64035
+ return [0, 0, 0];
64036
+ }
64037
+ let [colorString] = matches;
64038
+ if (colorString.length === 3) {
64039
+ colorString = [...colorString].map((character) => character + character).join("");
64040
+ }
64041
+ const integer = Number.parseInt(colorString, 16);
64042
+ return [
64043
+ integer >> 16 & 255,
64044
+ integer >> 8 & 255,
64045
+ integer & 255
64046
+ ];
64047
+ },
64048
+ enumerable: false
64049
+ },
64050
+ hexToAnsi256: {
64051
+ value: (hex) => styles5.rgbToAnsi256(...styles5.hexToRgb(hex)),
64052
+ enumerable: false
64053
+ },
64054
+ ansi256ToAnsi: {
64055
+ value(code) {
64056
+ if (code < 8) {
64057
+ return 30 + code;
64058
+ }
64059
+ if (code < 16) {
64060
+ return 90 + (code - 8);
64061
+ }
64062
+ let red;
64063
+ let green;
64064
+ let blue;
64065
+ if (code >= 232) {
64066
+ red = ((code - 232) * 10 + 8) / 255;
64067
+ green = red;
64068
+ blue = red;
64069
+ } else {
64070
+ code -= 16;
64071
+ const remainder = code % 36;
64072
+ red = Math.floor(code / 36) / 5;
64073
+ green = Math.floor(remainder / 6) / 5;
64074
+ blue = remainder % 6 / 5;
64075
+ }
64076
+ const value = Math.max(red, green, blue) * 2;
64077
+ if (value === 0) {
64078
+ return 30;
64079
+ }
64080
+ let result = 30 + (Math.round(blue) << 2 | Math.round(green) << 1 | Math.round(red));
64081
+ if (value === 2) {
64082
+ result += 60;
64083
+ }
64084
+ return result;
64085
+ },
64086
+ enumerable: false
64087
+ },
64088
+ rgbToAnsi: {
64089
+ value: (red, green, blue) => styles5.ansi256ToAnsi(styles5.rgbToAnsi256(red, green, blue)),
64090
+ enumerable: false
64091
+ },
64092
+ hexToAnsi: {
64093
+ value: (hex) => styles5.ansi256ToAnsi(styles5.hexToAnsi256(hex)),
64094
+ enumerable: false
64095
+ }
64096
+ });
64097
+ return styles5;
64098
+ }
64099
+ var ANSI_BACKGROUND_OFFSET3 = 10, wrapAnsi163 = (offset = 0) => (code) => `\x1B[${code + offset}m`, wrapAnsi2563 = (offset = 0) => (code) => `\x1B[${38 + offset};5;${code}m`, wrapAnsi16m3 = (offset = 0) => (red, green, blue) => `\x1B[${38 + offset};2;${red};${green};${blue}m`, styles5, modifierNames3, foregroundColorNames3, backgroundColorNames3, colorNames3, ansiStyles3, ansi_styles_default3;
64100
+ var init_ansi_styles3 = __esm(() => {
64101
+ styles5 = {
64102
+ modifier: {
64103
+ reset: [0, 0],
64104
+ bold: [1, 22],
64105
+ dim: [2, 22],
64106
+ italic: [3, 23],
64107
+ underline: [4, 24],
64108
+ overline: [53, 55],
64109
+ inverse: [7, 27],
64110
+ hidden: [8, 28],
64111
+ strikethrough: [9, 29]
64112
+ },
64113
+ color: {
64114
+ black: [30, 39],
64115
+ red: [31, 39],
64116
+ green: [32, 39],
64117
+ yellow: [33, 39],
64118
+ blue: [34, 39],
64119
+ magenta: [35, 39],
64120
+ cyan: [36, 39],
64121
+ white: [37, 39],
64122
+ blackBright: [90, 39],
64123
+ gray: [90, 39],
64124
+ grey: [90, 39],
64125
+ redBright: [91, 39],
64126
+ greenBright: [92, 39],
64127
+ yellowBright: [93, 39],
64128
+ blueBright: [94, 39],
64129
+ magentaBright: [95, 39],
64130
+ cyanBright: [96, 39],
64131
+ whiteBright: [97, 39]
64132
+ },
64133
+ bgColor: {
64134
+ bgBlack: [40, 49],
64135
+ bgRed: [41, 49],
64136
+ bgGreen: [42, 49],
64137
+ bgYellow: [43, 49],
64138
+ bgBlue: [44, 49],
64139
+ bgMagenta: [45, 49],
64140
+ bgCyan: [46, 49],
64141
+ bgWhite: [47, 49],
64142
+ bgBlackBright: [100, 49],
64143
+ bgGray: [100, 49],
64144
+ bgGrey: [100, 49],
64145
+ bgRedBright: [101, 49],
64146
+ bgGreenBright: [102, 49],
64147
+ bgYellowBright: [103, 49],
64148
+ bgBlueBright: [104, 49],
64149
+ bgMagentaBright: [105, 49],
64150
+ bgCyanBright: [106, 49],
64151
+ bgWhiteBright: [107, 49]
64152
+ }
64153
+ };
64154
+ modifierNames3 = Object.keys(styles5.modifier);
64155
+ foregroundColorNames3 = Object.keys(styles5.color);
64156
+ backgroundColorNames3 = Object.keys(styles5.bgColor);
64157
+ colorNames3 = [...foregroundColorNames3, ...backgroundColorNames3];
64158
+ ansiStyles3 = assembleStyles3();
64159
+ ansi_styles_default3 = ansiStyles3;
64160
+ });
64161
+
64162
+ // node_modules/@inkjs/ui/node_modules/chalk/source/vendor/supports-color/index.js
64163
+ import process15 from "node:process";
64164
+ import os8 from "node:os";
64165
+ import tty3 from "node:tty";
64166
+ function hasFlag2(flag, argv = globalThis.Deno ? globalThis.Deno.args : process15.argv) {
64167
+ const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
64168
+ const position = argv.indexOf(prefix + flag);
64169
+ const terminatorPosition = argv.indexOf("--");
64170
+ return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
64171
+ }
64172
+ function envForceColor2() {
64173
+ if ("FORCE_COLOR" in env3) {
64174
+ if (env3.FORCE_COLOR === "true") {
64175
+ return 1;
64176
+ }
64177
+ if (env3.FORCE_COLOR === "false") {
64178
+ return 0;
64179
+ }
64180
+ return env3.FORCE_COLOR.length === 0 ? 1 : Math.min(Number.parseInt(env3.FORCE_COLOR, 10), 3);
64181
+ }
64182
+ }
64183
+ function translateLevel2(level) {
64184
+ if (level === 0) {
64185
+ return false;
64186
+ }
64187
+ return {
64188
+ level,
64189
+ hasBasic: true,
64190
+ has256: level >= 2,
64191
+ has16m: level >= 3
64192
+ };
64193
+ }
64194
+ function _supportsColor2(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
64195
+ const noFlagForceColor = envForceColor2();
64196
+ if (noFlagForceColor !== undefined) {
64197
+ flagForceColor2 = noFlagForceColor;
64198
+ }
64199
+ const forceColor = sniffFlags ? flagForceColor2 : noFlagForceColor;
64200
+ if (forceColor === 0) {
64201
+ return 0;
64202
+ }
64203
+ if (sniffFlags) {
64204
+ if (hasFlag2("color=16m") || hasFlag2("color=full") || hasFlag2("color=truecolor")) {
64205
+ return 3;
64206
+ }
64207
+ if (hasFlag2("color=256")) {
64208
+ return 2;
64209
+ }
64210
+ }
64211
+ if ("TF_BUILD" in env3 && "AGENT_NAME" in env3) {
64212
+ return 1;
64213
+ }
64214
+ if (haveStream && !streamIsTTY && forceColor === undefined) {
64215
+ return 0;
64216
+ }
64217
+ const min = forceColor || 0;
64218
+ if (env3.TERM === "dumb") {
64219
+ return min;
64220
+ }
64221
+ if (process15.platform === "win32") {
64222
+ const osRelease = os8.release().split(".");
64223
+ if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
64224
+ return Number(osRelease[2]) >= 14931 ? 3 : 2;
64225
+ }
64226
+ return 1;
64227
+ }
64228
+ if ("CI" in env3) {
64229
+ if (["GITHUB_ACTIONS", "GITEA_ACTIONS", "CIRCLECI"].some((key) => (key in env3))) {
64230
+ return 3;
64231
+ }
64232
+ if (["TRAVIS", "APPVEYOR", "GITLAB_CI", "BUILDKITE", "DRONE"].some((sign) => (sign in env3)) || env3.CI_NAME === "codeship") {
64233
+ return 1;
64234
+ }
64235
+ return min;
64236
+ }
64237
+ if ("TEAMCITY_VERSION" in env3) {
64238
+ return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env3.TEAMCITY_VERSION) ? 1 : 0;
64239
+ }
64240
+ if (env3.COLORTERM === "truecolor") {
64241
+ return 3;
64242
+ }
64243
+ if (env3.TERM === "xterm-kitty") {
64244
+ return 3;
64245
+ }
64246
+ if (env3.TERM === "xterm-ghostty") {
64247
+ return 3;
64248
+ }
64249
+ if (env3.TERM === "wezterm") {
64250
+ return 3;
64251
+ }
64252
+ if ("TERM_PROGRAM" in env3) {
64253
+ const version = Number.parseInt((env3.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
64254
+ switch (env3.TERM_PROGRAM) {
64255
+ case "iTerm.app": {
64256
+ return version >= 3 ? 3 : 2;
64257
+ }
64258
+ case "Apple_Terminal": {
64259
+ return 2;
64260
+ }
64261
+ }
64262
+ }
64263
+ if (/-256(color)?$/i.test(env3.TERM)) {
64264
+ return 2;
64265
+ }
64266
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env3.TERM)) {
64267
+ return 1;
64268
+ }
64269
+ if ("COLORTERM" in env3) {
64270
+ return 1;
64271
+ }
64272
+ return min;
64273
+ }
64274
+ function createSupportsColor2(stream, options = {}) {
64275
+ const level = _supportsColor2(stream, {
64276
+ streamIsTTY: stream && stream.isTTY,
64277
+ ...options
64278
+ });
64279
+ return translateLevel2(level);
64280
+ }
64281
+ var env3, flagForceColor2, supportsColor2, supports_color_default2;
64282
+ var init_supports_color2 = __esm(() => {
64283
+ ({ env: env3 } = process15);
64284
+ if (hasFlag2("no-color") || hasFlag2("no-colors") || hasFlag2("color=false") || hasFlag2("color=never")) {
64285
+ flagForceColor2 = 0;
64286
+ } else if (hasFlag2("color") || hasFlag2("colors") || hasFlag2("color=true") || hasFlag2("color=always")) {
64287
+ flagForceColor2 = 1;
64288
+ }
64289
+ supportsColor2 = {
64290
+ stdout: createSupportsColor2({ isTTY: tty3.isatty(1) }),
64291
+ stderr: createSupportsColor2({ isTTY: tty3.isatty(2) })
64292
+ };
64293
+ supports_color_default2 = supportsColor2;
64294
+ });
64295
+
64296
+ // node_modules/@inkjs/ui/node_modules/chalk/source/utilities.js
64297
+ function stringReplaceAll2(string, substring, replacer) {
64298
+ let index = string.indexOf(substring);
64299
+ if (index === -1) {
64300
+ return string;
64301
+ }
64302
+ const substringLength = substring.length;
64303
+ let endIndex = 0;
64304
+ let returnValue = "";
64305
+ do {
64306
+ returnValue += string.slice(endIndex, index) + substring + replacer;
64307
+ endIndex = index + substringLength;
64308
+ index = string.indexOf(substring, endIndex);
64309
+ } while (index !== -1);
64310
+ returnValue += string.slice(endIndex);
64311
+ return returnValue;
64312
+ }
64313
+ function stringEncaseCRLFWithFirstIndex2(string, prefix, postfix, index) {
64314
+ let endIndex = 0;
64315
+ let returnValue = "";
64316
+ do {
64317
+ const gotCR = string[index - 1] === "\r";
64318
+ returnValue += string.slice(endIndex, gotCR ? index - 1 : index) + prefix + (gotCR ? `\r
64319
+ ` : `
64320
+ `) + postfix;
64321
+ endIndex = index + 1;
64322
+ index = string.indexOf(`
64323
+ `, endIndex);
64324
+ } while (index !== -1);
64325
+ returnValue += string.slice(endIndex);
64326
+ return returnValue;
64327
+ }
64328
+
64329
+ // node_modules/@inkjs/ui/node_modules/chalk/source/index.js
64330
+ function createChalk2(options) {
64331
+ return chalkFactory2(options);
64332
+ }
64333
+ var stdoutColor2, stderrColor2, GENERATOR2, STYLER2, IS_EMPTY2, levelMapping2, styles6, applyOptions2 = (object, options = {}) => {
64334
+ if (options.level && !(Number.isInteger(options.level) && options.level >= 0 && options.level <= 3)) {
64335
+ throw new Error("The `level` option should be an integer from 0 to 3");
64336
+ }
64337
+ const colorLevel = stdoutColor2 ? stdoutColor2.level : 0;
64338
+ object.level = options.level === undefined ? colorLevel : options.level;
64339
+ }, chalkFactory2 = (options) => {
64340
+ const chalk = (...strings) => strings.join(" ");
64341
+ applyOptions2(chalk, options);
64342
+ Object.setPrototypeOf(chalk, createChalk2.prototype);
64343
+ return chalk;
64344
+ }, getModelAnsi2 = (model, level, type, ...arguments_) => {
64345
+ if (model === "rgb") {
64346
+ if (level === "ansi16m") {
64347
+ return ansi_styles_default3[type].ansi16m(...arguments_);
64348
+ }
64349
+ if (level === "ansi256") {
64350
+ return ansi_styles_default3[type].ansi256(ansi_styles_default3.rgbToAnsi256(...arguments_));
64351
+ }
64352
+ return ansi_styles_default3[type].ansi(ansi_styles_default3.rgbToAnsi(...arguments_));
64353
+ }
64354
+ if (model === "hex") {
64355
+ return getModelAnsi2("rgb", level, type, ...ansi_styles_default3.hexToRgb(...arguments_));
64356
+ }
64357
+ return ansi_styles_default3[type][model](...arguments_);
64358
+ }, usedModels2, proto2, createStyler2 = (open, close, parent) => {
64359
+ let openAll;
64360
+ let closeAll;
64361
+ if (parent === undefined) {
64362
+ openAll = open;
64363
+ closeAll = close;
64364
+ } else {
64365
+ openAll = parent.openAll + open;
64366
+ closeAll = close + parent.closeAll;
64367
+ }
64368
+ return {
64369
+ open,
64370
+ close,
64371
+ openAll,
64372
+ closeAll,
64373
+ parent
64374
+ };
64375
+ }, createBuilder2 = (self2, _styler, _isEmpty) => {
64376
+ const builder = (...arguments_) => applyStyle2(builder, arguments_.length === 1 ? "" + arguments_[0] : arguments_.join(" "));
64377
+ Object.setPrototypeOf(builder, proto2);
64378
+ builder[GENERATOR2] = self2;
64379
+ builder[STYLER2] = _styler;
64380
+ builder[IS_EMPTY2] = _isEmpty;
64381
+ return builder;
64382
+ }, applyStyle2 = (self2, string) => {
64383
+ if (self2.level <= 0 || !string) {
64384
+ return self2[IS_EMPTY2] ? "" : string;
64385
+ }
64386
+ let styler = self2[STYLER2];
64387
+ if (styler === undefined) {
64388
+ return string;
64389
+ }
64390
+ const { openAll, closeAll } = styler;
64391
+ if (string.includes("\x1B")) {
64392
+ while (styler !== undefined) {
64393
+ string = stringReplaceAll2(string, styler.close, styler.open);
64394
+ styler = styler.parent;
64395
+ }
64396
+ }
64397
+ const lfIndex = string.indexOf(`
64398
+ `);
64399
+ if (lfIndex !== -1) {
64400
+ string = stringEncaseCRLFWithFirstIndex2(string, closeAll, openAll, lfIndex);
64401
+ }
64402
+ return openAll + string + closeAll;
64403
+ }, chalk2, chalkStderr2, source_default2;
64404
+ var init_source2 = __esm(() => {
64405
+ init_ansi_styles3();
64406
+ init_supports_color2();
64407
+ ({ stdout: stdoutColor2, stderr: stderrColor2 } = supports_color_default2);
64408
+ GENERATOR2 = Symbol("GENERATOR");
64409
+ STYLER2 = Symbol("STYLER");
64410
+ IS_EMPTY2 = Symbol("IS_EMPTY");
64411
+ levelMapping2 = [
64412
+ "ansi",
64413
+ "ansi",
64414
+ "ansi256",
64415
+ "ansi16m"
64416
+ ];
64417
+ styles6 = Object.create(null);
64418
+ Object.setPrototypeOf(createChalk2.prototype, Function.prototype);
64419
+ for (const [styleName, style] of Object.entries(ansi_styles_default3)) {
64420
+ styles6[styleName] = {
64421
+ get() {
64422
+ const builder = createBuilder2(this, createStyler2(style.open, style.close, this[STYLER2]), this[IS_EMPTY2]);
64423
+ Object.defineProperty(this, styleName, { value: builder });
64424
+ return builder;
64425
+ }
64426
+ };
64427
+ }
64428
+ styles6.visible = {
64429
+ get() {
64430
+ const builder = createBuilder2(this, this[STYLER2], true);
64431
+ Object.defineProperty(this, "visible", { value: builder });
64432
+ return builder;
64433
+ }
64434
+ };
64435
+ usedModels2 = ["rgb", "hex", "ansi256"];
64436
+ for (const model of usedModels2) {
64437
+ styles6[model] = {
64438
+ get() {
64439
+ const { level } = this;
64440
+ return function(...arguments_) {
64441
+ const styler = createStyler2(getModelAnsi2(model, levelMapping2[level], "color", ...arguments_), ansi_styles_default3.color.close, this[STYLER2]);
64442
+ return createBuilder2(this, styler, this[IS_EMPTY2]);
64443
+ };
64444
+ }
64445
+ };
64446
+ const bgModel = "bg" + model[0].toUpperCase() + model.slice(1);
64447
+ styles6[bgModel] = {
64448
+ get() {
64449
+ const { level } = this;
64450
+ return function(...arguments_) {
64451
+ const styler = createStyler2(getModelAnsi2(model, levelMapping2[level], "bgColor", ...arguments_), ansi_styles_default3.bgColor.close, this[STYLER2]);
64452
+ return createBuilder2(this, styler, this[IS_EMPTY2]);
64453
+ };
64454
+ }
64455
+ };
64456
+ }
64457
+ proto2 = Object.defineProperties(() => {}, {
64458
+ ...styles6,
64459
+ level: {
64460
+ enumerable: true,
64461
+ get() {
64462
+ return this[GENERATOR2].level;
64463
+ },
64464
+ set(level) {
64465
+ this[GENERATOR2].level = level;
64466
+ }
64467
+ }
64468
+ });
64469
+ Object.defineProperties(createChalk2.prototype, styles6);
64470
+ chalk2 = createChalk2();
64471
+ chalkStderr2 = createChalk2({ level: stderrColor2 ? stderrColor2.level : 0 });
64472
+ source_default2 = chalk2;
64473
+ });
64474
+
63986
64475
  // node_modules/@inkjs/ui/build/components/text-input/use-text-input.js
63987
64476
  var import_react51, cursor, useTextInput = ({ isDisabled = false, state, placeholder = "" }) => {
63988
64477
  const renderedPlaceholder = import_react51.useMemo(() => {
63989
64478
  if (isDisabled) {
63990
- return placeholder ? source_default.dim(placeholder) : "";
64479
+ return placeholder ? source_default2.dim(placeholder) : "";
63991
64480
  }
63992
- return placeholder && placeholder.length > 0 ? source_default.inverse(placeholder[0]) + source_default.dim(placeholder.slice(1)) : cursor;
64481
+ return placeholder && placeholder.length > 0 ? source_default2.inverse(placeholder[0]) + source_default2.dim(placeholder.slice(1)) : cursor;
63993
64482
  }, [isDisabled, placeholder]);
63994
64483
  const renderedValue = import_react51.useMemo(() => {
63995
64484
  if (isDisabled) {
@@ -63998,14 +64487,14 @@ var import_react51, cursor, useTextInput = ({ isDisabled = false, state, placeho
63998
64487
  let index = 0;
63999
64488
  let result = state.value.length > 0 ? "" : cursor;
64000
64489
  for (const char of state.value) {
64001
- result += index === state.cursorOffset ? source_default.inverse(char) : char;
64490
+ result += index === state.cursorOffset ? source_default2.inverse(char) : char;
64002
64491
  index++;
64003
64492
  }
64004
64493
  if (state.suggestion) {
64005
64494
  if (state.cursorOffset === state.value.length) {
64006
- result += source_default.inverse(state.suggestion[0]) + source_default.dim(state.suggestion.slice(1));
64495
+ result += source_default2.inverse(state.suggestion[0]) + source_default2.dim(state.suggestion.slice(1));
64007
64496
  } else {
64008
- result += source_default.dim(state.suggestion);
64497
+ result += source_default2.dim(state.suggestion);
64009
64498
  }
64010
64499
  return result;
64011
64500
  }
@@ -64037,10 +64526,10 @@ var import_react51, cursor, useTextInput = ({ isDisabled = false, state, placeho
64037
64526
  };
64038
64527
  };
64039
64528
  var init_use_text_input = __esm(async () => {
64040
- init_source();
64529
+ init_source2();
64041
64530
  await init_build2();
64042
64531
  import_react51 = __toESM(require_react(), 1);
64043
- cursor = source_default.inverse(" ");
64532
+ cursor = source_default2.inverse(" ");
64044
64533
  });
64045
64534
 
64046
64535
  // node_modules/@inkjs/ui/build/components/text-input/text-input.js
@@ -64156,10 +64645,10 @@ var init_use_password_input_state = __esm(() => {
64156
64645
  // node_modules/@inkjs/ui/build/components/password-input/use-password-input.js
64157
64646
  var import_react58, cursor2;
64158
64647
  var init_use_password_input = __esm(async () => {
64159
- init_source();
64648
+ init_source2();
64160
64649
  await init_build2();
64161
64650
  import_react58 = __toESM(require_react(), 1);
64162
- cursor2 = source_default.inverse(" ");
64651
+ cursor2 = source_default2.inverse(" ");
64163
64652
  });
64164
64653
 
64165
64654
  // node_modules/@inkjs/ui/build/components/password-input/password-input.js
@@ -64214,10 +64703,10 @@ var init_use_email_input_state = __esm(() => {
64214
64703
  // node_modules/@inkjs/ui/build/components/email-input/use-email-input.js
64215
64704
  var import_react63, cursor3;
64216
64705
  var init_use_email_input = __esm(async () => {
64217
- init_source();
64706
+ init_source2();
64218
64707
  await init_build2();
64219
64708
  import_react63 = __toESM(require_react(), 1);
64220
- cursor3 = source_default.inverse(" ");
64709
+ cursor3 = source_default2.inverse(" ");
64221
64710
  });
64222
64711
 
64223
64712
  // node_modules/@inkjs/ui/build/components/email-input/email-input.js
@@ -65108,7 +65597,7 @@ import {
65108
65597
  realpathSync as realpathSync6,
65109
65598
  statSync as statSync2
65110
65599
  } from "node:fs";
65111
- import os8 from "node:os";
65600
+ import os9 from "node:os";
65112
65601
  import path33 from "node:path";
65113
65602
  function hostCommand(name, args, options = {}) {
65114
65603
  const executable = findHostExecutable(name, options);
@@ -65138,7 +65627,7 @@ function resolveWindowsShimEntry(contents, shim, exists = existsSync12) {
65138
65627
  }
65139
65628
  function findHostExecutable(name, options = {}) {
65140
65629
  const env = options.env ?? process.env;
65141
- const home = options.home ?? env.HOME ?? os8.homedir();
65630
+ const home = options.home ?? env.HOME ?? os9.homedir();
65142
65631
  const suffixes = process.platform === "win32" ? ["", ".exe", ".cmd", ".bat"] : [""];
65143
65632
  const dirs = (env.PATH ?? "").split(path33.delimiter).filter(Boolean);
65144
65633
  dirs.push(path33.join(home, ".local", "bin"), path33.join(home, ".asdf", "shims"));
@@ -65188,7 +65677,7 @@ function installedHostApp(host, home, env = process.env, platform = process.plat
65188
65677
  }
65189
65678
  function planHostInstall(host, options = {}) {
65190
65679
  const env = options.env ?? process.env;
65191
- const home = options.home ?? env.HOME ?? os8.homedir();
65680
+ const home = options.home ?? env.HOME ?? os9.homedir();
65192
65681
  const cwd = options.cwd ?? process.cwd();
65193
65682
  const version = options.packageVersion ?? "latest";
65194
65683
  if (!validPackageVersion(version))
@@ -65372,7 +65861,7 @@ function runHostCommand(step, context = {}) {
65372
65861
  const result = spawnSync14(step.command, step.args, {
65373
65862
  cwd: step.cwd,
65374
65863
  env: (() => {
65375
- const home = context.home ?? context.env?.HOME ?? os8.homedir();
65864
+ const home = context.home ?? context.env?.HOME ?? os9.homedir();
65376
65865
  const env = { ...process.env, ...context.env, HOME: home };
65377
65866
  env.CODEX_HOME = context.env?.CODEX_HOME ?? path33.join(home, ".codex");
65378
65867
  env.PI_CODING_AGENT_DIR = context.env?.PI_CODING_AGENT_DIR ?? path33.join(home, ".pi", "agent");
@@ -65964,14 +66453,14 @@ ${manualTrailerLine()}
65964
66453
  });
65965
66454
 
65966
66455
  // packages/workit-core/src/core/heavy-words.ts
65967
- import os9 from "node:os";
66456
+ import os10 from "node:os";
65968
66457
  import path36 from "node:path";
65969
66458
  var HEAVY_WORDS, stateDir = (env) => {
65970
66459
  if (env.WORKFLOW_TOOLKIT_STATE)
65971
66460
  return env.WORKFLOW_TOOLKIT_STATE;
65972
66461
  if (env.XDG_STATE_HOME)
65973
66462
  return path36.join(env.XDG_STATE_HOME, "workit");
65974
- const home = env.HOME || os9.homedir();
66463
+ const home = env.HOME || os10.homedir();
65975
66464
  if (process.platform === "darwin")
65976
66465
  return path36.join(home, "Library", "Application Support", "workit");
65977
66466
  if (process.platform === "win32")
@@ -66017,7 +66506,7 @@ import {
66017
66506
  rmSync as rmSync3,
66018
66507
  statSync as statSync5
66019
66508
  } from "node:fs";
66020
- import os10 from "node:os";
66509
+ import os11 from "node:os";
66021
66510
  import path37 from "node:path";
66022
66511
  function mergeClaudeSettings(settings, shell, skip = {}) {
66023
66512
  const config = clone4(settings);
@@ -66376,7 +66865,7 @@ ${[...rules, grant].join(`
66376
66865
  };
66377
66866
  }, resolvePaths = (options) => {
66378
66867
  const env = options.env ?? process.env;
66379
- const home = options.home ?? env.HOME ?? os10.homedir();
66868
+ const home = options.home ?? env.HOME ?? os11.homedir();
66380
66869
  return { home, env, stateDir: options.stateDir ?? stateDir({ ...env, HOME: home }) };
66381
66870
  }, permissionTarget = (host, options = {}) => {
66382
66871
  const { home, env } = resolvePaths(options);
@@ -66524,7 +67013,7 @@ import {
66524
67013
  unlinkSync as unlinkSync3,
66525
67014
  writeFileSync as writeFileSync7
66526
67015
  } from "node:fs";
66527
- import os11 from "node:os";
67016
+ import os12 from "node:os";
66528
67017
  import path38 from "node:path";
66529
67018
  var TOKEN_PLACEHOLDER2 = "YOUR_TOKEN_HERE", findDevFromCwd = (cwd) => {
66530
67019
  let dir = path38.resolve(cwd);
@@ -66538,7 +67027,7 @@ var TOKEN_PLACEHOLDER2 = "YOUR_TOKEN_HERE", findDevFromCwd = (cwd) => {
66538
67027
  }
66539
67028
  }, resolve = (options) => {
66540
67029
  const env = options.env ?? process.env;
66541
- const home = options.home ?? env.HOME ?? os11.homedir();
67030
+ const home = options.home ?? env.HOME ?? os12.homedir();
66542
67031
  const configDir = options.configDir ?? env.WORKFLOW_TOOLKIT_CONFIG ?? env.WORKFLOW_TOOLKIT_CONFIG_DIR ?? path38.join(home, ".config", "workit");
66543
67032
  const stateDir = options.stateDir ?? env.WORKFLOW_TOOLKIT_STATE ?? path38.join(home, ".local", "state", "workit");
66544
67033
  const cwd = options.cwd ?? process.cwd();
@@ -66618,7 +67107,7 @@ var TOKEN_PLACEHOLDER2 = "YOUR_TOKEN_HERE", findDevFromCwd = (cwd) => {
66618
67107
  if (env.BUN && existsSync16(env.BUN))
66619
67108
  return env.BUN;
66620
67109
  for (const candidate of [
66621
- path38.join(env.HOME || os11.homedir(), ".bun/bin/bun"),
67110
+ path38.join(env.HOME || os12.homedir(), ".bun/bin/bun"),
66622
67111
  "/usr/local/bin/bun",
66623
67112
  "/usr/bin/bun"
66624
67113
  ]) {
@@ -66726,7 +67215,7 @@ var TOKEN_PLACEHOLDER2 = "YOUR_TOKEN_HERE", findDevFromCwd = (cwd) => {
66726
67215
  status: "pass",
66727
67216
  detail: "opencode CLI not on PATH — skipping version check"
66728
67217
  };
66729
- const scratch = mkdtempSync(path38.join(os11.tmpdir(), "workit-doctor-opencode-"));
67218
+ const scratch = mkdtempSync(path38.join(os12.tmpdir(), "workit-doctor-opencode-"));
66730
67219
  let raw;
66731
67220
  try {
66732
67221
  raw = versionOf("opencode", {
@@ -68658,7 +69147,7 @@ import {
68658
69147
  writeFileSync as writeFileSync8
68659
69148
  } from "node:fs";
68660
69149
  import { createRequire as createRequire2 } from "node:module";
68661
- import os12 from "node:os";
69150
+ import os13 from "node:os";
68662
69151
  import path39 from "node:path";
68663
69152
  import { isDeepStrictEqual as isDeepStrictEqual2 } from "node:util";
68664
69153
  function parseList(raw) {
@@ -69483,7 +69972,7 @@ var TOKEN_PLACEHOLDER3 = "YOUR_TOKEN_HERE", YT_OVERRIDES, VCS_OVERRIDES, SETUP_O
69483
69972
  }
69484
69973
  }, claudeInstallRecord = (home, env) => path39.join(claudeConfigDir(home, env), "plugins", "installed_plugins.json"), resolveSetupPaths = (options, resolvedConfigDir) => {
69485
69974
  const env = options.env ?? process.env;
69486
- const home = options.home ?? env.HOME ?? os12.homedir();
69975
+ const home = options.home ?? env.HOME ?? os13.homedir();
69487
69976
  return {
69488
69977
  home,
69489
69978
  configDir: resolvedConfigDir,
@@ -70601,7 +71090,7 @@ var init_wizard_state = __esm(() => {
70601
71090
 
70602
71091
  // packages/workit-cli/src/admin/uninstall.ts
70603
71092
  import { existsSync as existsSync19, readFileSync as readFileSync19, realpathSync as realpathSync9, rmSync as rmSync7, writeFileSync as writeFileSync10 } from "node:fs";
70604
- import os13 from "node:os";
71093
+ import os14 from "node:os";
70605
71094
  import path42 from "node:path";
70606
71095
  function cleanCursorSettings(settings, pluginDir) {
70607
71096
  const next = { ...settings };
@@ -70749,7 +71238,7 @@ function planUninstall(paths = {}) {
70749
71238
  }
70750
71239
  ] : []
70751
71240
  };
70752
- const home = paths.home ?? paths.env?.HOME ?? os13.homedir();
71241
+ const home = paths.home ?? paths.env?.HOME ?? os14.homedir();
70753
71242
  const claudeInstalls = claudeWorkitInstalls(home, paths.env ?? process.env, paths.cwd ?? process.cwd());
70754
71243
  const claude = {
70755
71244
  host: "claude-code",
@@ -70846,7 +71335,7 @@ function applyUninstall(plan, paths = {}) {
70846
71335
  return { ok: entries.every((e) => e.status !== "failed"), entries };
70847
71336
  }
70848
71337
  var resolveUninstallPaths = (options = {}) => {
70849
- const home = options.home ?? options.env?.HOME ?? os13.homedir();
71338
+ const home = options.home ?? options.env?.HOME ?? os14.homedir();
70850
71339
  const permissionPaths = { home, env: options.env ?? process.env };
70851
71340
  return {
70852
71341
  claudeSettings: permissionTarget("claude-code", permissionPaths).file,
@@ -70880,7 +71369,7 @@ var resolveUninstallPaths = (options = {}) => {
70880
71369
  }, CURSOR_LEGACY_IDENTITIES, permissionPathsOf = (paths) => {
70881
71370
  const env = paths.env ?? process.env;
70882
71371
  return {
70883
- home: paths.home ?? env.HOME ?? os13.homedir(),
71372
+ home: paths.home ?? env.HOME ?? os14.homedir(),
70884
71373
  env,
70885
71374
  ...paths.stateDir ? { stateDir: paths.stateDir } : {}
70886
71375
  };
@@ -70954,7 +71443,7 @@ var resolveUninstallPaths = (options = {}) => {
70954
71443
  status: "failed",
70955
71444
  detail: `refusing unreviewed host command: ${action.args.join(" ")}`
70956
71445
  };
70957
- const home = paths.home ?? paths.env?.HOME ?? os13.homedir();
71446
+ const home = paths.home ?? paths.env?.HOME ?? os14.homedir();
70958
71447
  const env = paths.env ?? process.env;
70959
71448
  const recorded = claudeWorkitInstalls(home, env, action.cwd).some((install) => install.id === id && install.scope === scope && (install.projectPath === null ? action.cwd === null : path42.resolve(install.projectPath) === path42.resolve(action.cwd ?? "")));
70960
71449
  if (!recorded)
@@ -70980,7 +71469,7 @@ var init_uninstall = __esm(() => {
70980
71469
  });
70981
71470
 
70982
71471
  // packages/workit-cli/src/admin/detect-hosts.ts
70983
- import os14 from "node:os";
71472
+ import os15 from "node:os";
70984
71473
  function preselectedPlatforms(detection) {
70985
71474
  return WIZARD_HOSTS.filter((host) => detection[host].detected);
70986
71475
  }
@@ -70995,7 +71484,7 @@ function emptyDetection() {
70995
71484
  }
70996
71485
  function detectHosts(options = {}) {
70997
71486
  const env = options.env ?? process.env;
70998
- const home = options.home ?? env.HOME ?? os14.homedir();
71487
+ const home = options.home ?? env.HOME ?? os15.homedir();
70999
71488
  const plan = planUninstall({ ...options, home, env });
71000
71489
  const configuredByHost = new Map(plan.hosts.map((h) => [h.host, h.installed]));
71001
71490
  const found = emptyDetection();
@@ -73726,7 +74215,7 @@ import {
73726
74215
  lstatSync as lstatSync7
73727
74216
  } from "node:fs";
73728
74217
  import path43 from "node:path";
73729
- import os15 from "node:os";
74218
+ import os16 from "node:os";
73730
74219
  import { createHash as createHash15 } from "node:crypto";
73731
74220
  function previewUpgrade(hosts = HOSTS2, deps = {}) {
73732
74221
  const paths = upgradePaths(deps);
@@ -73766,7 +74255,7 @@ function previewUpgrade(hosts = HOSTS2, deps = {}) {
73766
74255
  });
73767
74256
  const installedSources = sources(paths, run, hosts);
73768
74257
  if (installedSources.some((source) => source.host === "opencode")) {
73769
- const scratch = mkdtempSync3(path43.join(os15.tmpdir(), "workit-upgrade-opencode-"));
74258
+ const scratch = mkdtempSync3(path43.join(os16.tmpdir(), "workit-upgrade-opencode-"));
73770
74259
  let probe;
73771
74260
  try {
73772
74261
  probe = runner({
@@ -74107,7 +74596,7 @@ async function runLaunchCommand(argv, deps = {}) {
74107
74596
  }).status ?? 1;
74108
74597
  }
74109
74598
  var HOSTS2, upgradePaths = (deps) => {
74110
- const home = deps.home ?? deps.env?.HOME ?? os15.homedir();
74599
+ const home = deps.home ?? deps.env?.HOME ?? os16.homedir();
74111
74600
  const env = {
74112
74601
  ...process.env,
74113
74602
  ...deps.home || deps.env?.HOME ? {
@@ -74787,7 +75276,7 @@ var init_redact = __esm(() => {
74787
75276
  import { spawn, spawnSync as spawnSync19 } from "node:child_process";
74788
75277
  import { createHash as createHash16 } from "node:crypto";
74789
75278
  import fs21 from "node:fs";
74790
- import os16 from "node:os";
75279
+ import os17 from "node:os";
74791
75280
  import path45 from "node:path";
74792
75281
  import { StringDecoder } from "node:string_decoder";
74793
75282
  function tailLines(text, lines = TAIL_LINES) {
@@ -74993,7 +75482,7 @@ function runCheckCommand(argv, options) {
74993
75482
  `);
74994
75483
  redactor.end();
74995
75484
  resolve({
74996
- exitCode: spawnError ? 127 : code !== null ? code : 128 + (signal ? os16.constants.signals[signal] ?? 1 : 1),
75485
+ exitCode: spawnError ? 127 : code !== null ? code : 128 + (signal ? os17.constants.signals[signal] ?? 1 : 1),
74997
75486
  signal: signal ?? null,
74998
75487
  timedOut,
74999
75488
  durationMs: Date.now() - started,
@@ -75425,14 +75914,14 @@ var init_heavy_rules = () => {};
75425
75914
 
75426
75915
  // packages/workit-core/src/core/heavy.ts
75427
75916
  import fs23 from "node:fs";
75428
- import os17 from "node:os";
75917
+ import os18 from "node:os";
75429
75918
  import path47 from "node:path";
75430
75919
  function stateDir2(env, platform = process.platform) {
75431
75920
  if (env.WORKFLOW_TOOLKIT_STATE)
75432
75921
  return env.WORKFLOW_TOOLKIT_STATE;
75433
75922
  if (env.XDG_STATE_HOME)
75434
75923
  return path47.join(env.XDG_STATE_HOME, "workit");
75435
- const home = env.HOME || os17.homedir();
75924
+ const home = env.HOME || os18.homedir();
75436
75925
  if (platform === "darwin")
75437
75926
  return path47.join(home, "Library", "Application Support", "workit");
75438
75927
  if (platform === "win32")
@@ -75802,7 +76291,7 @@ var init_heavy = __esm(() => {
75802
76291
  // packages/workit-core/src/core/resources.ts
75803
76292
  import { randomUUID as randomUUID5 } from "node:crypto";
75804
76293
  import fs24 from "node:fs";
75805
- import os18 from "node:os";
76294
+ import os19 from "node:os";
75806
76295
  import path48 from "node:path";
75807
76296
  function memoryValue(value, host) {
75808
76297
  const text = typeof value === "number" ? String(value) : typeof value === "string" ? value : "";
@@ -76197,15 +76686,15 @@ function leaseSlots(dir, slots, probe = {}) {
76197
76686
  return states;
76198
76687
  }
76199
76688
  var DEFAULT_HEAVY_CHECKS, DEFAULT_SLOTS = 1, DEFAULT_WAIT_S = 600, DEFAULT_MEMORY_SHARE = 0.4, DEFAULT_CPU_SHARE = 0.7, MAX_SLOTS = 64, UNREADABLE_TTL_MS = 30000, GUARD_TTL_MS = 30000, hostShape = () => ({
76200
- totalMemBytes: os18.totalmem(),
76201
- cpus: Math.max(1, os18.availableParallelism?.() ?? os18.cpus().length)
76689
+ totalMemBytes: os19.totalmem(),
76690
+ cpus: Math.max(1, os19.availableParallelism?.() ?? os19.cpus().length)
76202
76691
  }), isRecord9 = (value) => typeof value === "object" && value !== null && !Array.isArray(value), SIZE, PERCENT, UNITS, leaseDir = (env) => path48.join(stateDir2(env), "leases"), readText5 = (file) => {
76203
76692
  try {
76204
76693
  return fs24.readFileSync(file, "utf8");
76205
76694
  } catch {
76206
76695
  return null;
76207
76696
  }
76208
- }, bootId = () => readText5("/proc/sys/kernel/random/boot_id")?.trim() || null, bootTime = () => Math.round((Date.now() - os18.uptime() * 1000) / 1000) * 1000, BOOT_SLACK_MS = 120000, statFields = (pid) => {
76697
+ }, bootId = () => readText5("/proc/sys/kernel/random/boot_id")?.trim() || null, bootTime = () => Math.round((Date.now() - os19.uptime() * 1000) / 1000) * 1000, BOOT_SLACK_MS = 120000, statFields = (pid) => {
76209
76698
  const stat = readText5(`/proc/${pid}/stat`);
76210
76699
  return stat ? stat.slice(stat.lastIndexOf(")") + 2).split(" ") : null;
76211
76700
  }, processStart = (pid) => statFields(pid)?.[19] ?? null, pidAlive2 = (pid) => {
@@ -76251,7 +76740,7 @@ __export(exports_check, {
76251
76740
  run: () => run11,
76252
76741
  workspaceResources: () => workspaceResources
76253
76742
  });
76254
- import os19 from "node:os";
76743
+ import os20 from "node:os";
76255
76744
  import path49 from "node:path";
76256
76745
  function parse6(argv) {
76257
76746
  const split = argv.indexOf("--");
@@ -76435,7 +76924,7 @@ function hostToolWaitCapMs(env) {
76435
76924
  }
76436
76925
  async function workspaceResources(io) {
76437
76926
  const env = io.env;
76438
- const dir = env.WORKFLOW_TOOLKIT_CONFIG ?? env.WORKFLOW_TOOLKIT_CONFIG_DIR ?? path49.join(env.XDG_CONFIG_HOME || path49.join(env.HOME || os19.homedir(), ".config"), "workit");
76927
+ const dir = env.WORKFLOW_TOOLKIT_CONFIG ?? env.WORKFLOW_TOOLKIT_CONFIG_DIR ?? path49.join(env.XDG_CONFIG_HOME || path49.join(env.HOME || os20.homedir(), ".config"), "workit");
76439
76928
  try {
76440
76929
  await Promise.resolve().then(() => init_workspaces());
76441
76930
  const workspace = resolveWorkspaceFrom(io.cwd, dir, env.WORKFLOW_WORKSPACE_NAME?.trim() || undefined);
@@ -103248,7 +103737,7 @@ import {
103248
103737
  writeFileSync as writeFileSync11,
103249
103738
  copyFileSync as copyFileSync7
103250
103739
  } from "node:fs";
103251
- import os20 from "node:os";
103740
+ import os21 from "node:os";
103252
103741
  import path65 from "node:path";
103253
103742
  function mutantsFor(source, file, lines) {
103254
103743
  const parsed = parseSource(source, file);
@@ -103330,7 +103819,7 @@ function relatedTests(source, testFiles) {
103330
103819
  return false;
103331
103820
  }).map((entry) => entry.file);
103332
103821
  }
103333
- function removeStaleCopies(tmp = os20.tmpdir()) {
103822
+ function removeStaleCopies(tmp = os21.tmpdir()) {
103334
103823
  let removed = 0;
103335
103824
  let names = [];
103336
103825
  try {
@@ -103422,7 +103911,7 @@ function writeInside(copy, file, content) {
103422
103911
  return true;
103423
103912
  }
103424
103913
  function copyWorkingTree(repo) {
103425
- const dir = mkdtempSync4(path65.join(os20.tmpdir(), TEMP_PREFIX));
103914
+ const dir = mkdtempSync4(path65.join(os21.tmpdir(), TEMP_PREFIX));
103426
103915
  writeFileSync11(path65.join(dir, PID_FILE), String(process.pid));
103427
103916
  const tree = path65.join(dir, "tree");
103428
103917
  const head = git7(repo, ["rev-parse", "--verify", "--quiet", "HEAD"]).stdout.trim();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brainervirus/workit-cli",
3
- "version": "8.26.0",
3
+ "version": "8.27.0",
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.26.0",
41
+ "@brainervirus/workit-cursor": "^8.27.0",
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.26.0"
47
+ "@brainervirus/workit-core": "^8.27.0"
48
48
  },
49
49
  "engines": {
50
50
  "node": ">=24"