@brainervirus/workit-cli 8.36.0 → 8.37.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.
- package/dist/index.js +13 -9
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -9317,7 +9317,7 @@ var package_default;
|
|
|
9317
9317
|
var init_package = __esm(() => {
|
|
9318
9318
|
package_default = {
|
|
9319
9319
|
name: "@brainervirus/workit-cli",
|
|
9320
|
-
version: "8.
|
|
9320
|
+
version: "8.37.1",
|
|
9321
9321
|
private: false,
|
|
9322
9322
|
description: "Workit CLI — setup wizard, doctor, and task control for agentic coding workflows",
|
|
9323
9323
|
keywords: [
|
|
@@ -9355,13 +9355,13 @@ var init_package = __esm(() => {
|
|
|
9355
9355
|
},
|
|
9356
9356
|
dependencies: {
|
|
9357
9357
|
"@babel/parser": "7.29.9",
|
|
9358
|
-
"@brainervirus/workit-cursor": "^8.
|
|
9358
|
+
"@brainervirus/workit-cursor": "^8.37.1",
|
|
9359
9359
|
"@inkjs/ui": "2.0.0",
|
|
9360
9360
|
ink: "7.1.1",
|
|
9361
9361
|
react: "19.2.8"
|
|
9362
9362
|
},
|
|
9363
9363
|
devDependencies: {
|
|
9364
|
-
"@brainervirus/workit-core": "^8.
|
|
9364
|
+
"@brainervirus/workit-core": "^8.37.1"
|
|
9365
9365
|
},
|
|
9366
9366
|
engines: {
|
|
9367
9367
|
node: ">=24"
|
|
@@ -68522,7 +68522,7 @@ var TOKEN_PLACEHOLDER2 = "YOUR_TOKEN_HERE", findDevFromCwd = (cwd) => {
|
|
|
68522
68522
|
status: "warn",
|
|
68523
68523
|
registryProbed: true,
|
|
68524
68524
|
detail: "registry_unreachable: cannot compare OpenCode @latest cache against published workit-opencode",
|
|
68525
|
-
fix: `Retry when npm is reachable,
|
|
68525
|
+
fix: `Retry when npm is reachable; to update, opencode plugin update ${OPENCODE_NPM_PIN}`
|
|
68526
68526
|
};
|
|
68527
68527
|
}
|
|
68528
68528
|
if (!semverAtLeast(installed, expected)) {
|
|
@@ -68531,7 +68531,7 @@ var TOKEN_PLACEHOLDER2 = "YOUR_TOKEN_HERE", findDevFromCwd = (cwd) => {
|
|
|
68531
68531
|
status: "fail",
|
|
68532
68532
|
registryProbed: true,
|
|
68533
68533
|
detail: `stale_install: OpenCode @latest cache has workit-opencode ${installed} behind published ${expected}`,
|
|
68534
|
-
fix: `
|
|
68534
|
+
fix: `opencode plugin update ${OPENCODE_NPM_PIN} (OpenCode 2.x loads it live, no restart); without that verb, remove ${cache.dir} and relaunch OpenCode`
|
|
68535
68535
|
};
|
|
68536
68536
|
}
|
|
68537
68537
|
return {
|
|
@@ -87877,7 +87877,7 @@ function renderBrief(cwd, plan, input) {
|
|
|
87877
87877
|
...verifier ? [
|
|
87878
87878
|
` verifier: model ${verifier.model}${verifier.effort ? ` effort ${verifier.effort}` : ""} (${verifier.source})`
|
|
87879
87879
|
] : [],
|
|
87880
|
-
`TIMEBOX: ${slice.timebox
|
|
87880
|
+
`TIMEBOX: ${timeboxText(slice.timebox)}; past it without a new commit you will be replaced`,
|
|
87881
87881
|
scratchLine,
|
|
87882
87882
|
`FORBIDDEN: ${slice.forbidden.join("; ")}`,
|
|
87883
87883
|
...fanIn,
|
|
@@ -87912,7 +87912,10 @@ function renderBrief(cwd, plan, input) {
|
|
|
87912
87912
|
}
|
|
87913
87913
|
};
|
|
87914
87914
|
}
|
|
87915
|
-
var DEFAULT_TIMEBOX = "30 minutes",
|
|
87915
|
+
var DEFAULT_TIMEBOX = "30 minutes", DEFAULT_TOOL_CALLS = 120, timeboxText = (timebox) => {
|
|
87916
|
+
const text = timebox ?? DEFAULT_TIMEBOX;
|
|
87917
|
+
return /\b\d+\s+tool calls\b/u.test(text) ? text : `${text}, ${DEFAULT_TOOL_CALLS} tool calls`;
|
|
87918
|
+
}, REPORT, identityOf = (host) => {
|
|
87916
87919
|
const family = host?.replace(/_(?:cli|desktop)$/, "") ?? "";
|
|
87917
87920
|
if (family === "claude_code")
|
|
87918
87921
|
return "issued";
|
|
@@ -88424,9 +88427,10 @@ var init_fanout_check = __esm(() => {
|
|
|
88424
88427
|
|
|
88425
88428
|
// packages/workit-core/src/fanout-status.ts
|
|
88426
88429
|
function timeboxMs(text) {
|
|
88427
|
-
|
|
88430
|
+
const time = text?.replace(/[\s,;]*\b\d+\s+tool calls\b[\s,;]*/gu, " ").trim();
|
|
88431
|
+
if (!time || /^\d+(?:\.\d+)?$/u.test(time))
|
|
88428
88432
|
return null;
|
|
88429
|
-
const ms = parseDuration2(
|
|
88433
|
+
const ms = parseDuration2(time);
|
|
88430
88434
|
return ms && ms > 0 ? ms : null;
|
|
88431
88435
|
}
|
|
88432
88436
|
function activity(cwd, plan, slice, rows) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brainervirus/workit-cli",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.37.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.
|
|
41
|
+
"@brainervirus/workit-cursor": "^8.37.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.
|
|
47
|
+
"@brainervirus/workit-core": "^8.37.1"
|
|
48
48
|
},
|
|
49
49
|
"engines": {
|
|
50
50
|
"node": ">=24"
|