@brainervirus/workit-claude-code 8.43.0 → 8.43.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/.claude-plugin/plugin.json +1 -1
- package/dist/workit.js +12 -3
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "workit",
|
|
3
3
|
"displayName": "Workit",
|
|
4
|
-
"version": "8.43.
|
|
4
|
+
"version": "8.43.1",
|
|
5
5
|
"description": "Workflow rails for agentic coding: task context on every session, branch policy on shell commands, and the workit method skills",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "BrainerVirus"
|
package/dist/workit.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.43.
|
|
9420
|
+
version: "8.43.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.43.
|
|
9458
|
+
"@brainervirus/workit-cursor": "^8.43.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.43.
|
|
9464
|
+
"@brainervirus/workit-core": "^8.43.1"
|
|
9465
9465
|
},
|
|
9466
9466
|
engines: {
|
|
9467
9467
|
node: ">=24"
|
|
@@ -80668,6 +80668,13 @@ function sharedBranchContaining(cwd, sha, branch) {
|
|
|
80668
80668
|
return name;
|
|
80669
80669
|
return null;
|
|
80670
80670
|
}
|
|
80671
|
+
function resyncCommittedPaths(cwd, paths) {
|
|
80672
|
+
const names = (...args) => new Set(nulList(git5(cwd, ["diff", "--name-only", "-z", ...args, "HEAD", "--", ...paths]).stdout));
|
|
80673
|
+
const worktreeDiffers = names();
|
|
80674
|
+
const stale = [...names("--cached")].filter((file) => !worktreeDiffers.has(file));
|
|
80675
|
+
if (stale.length)
|
|
80676
|
+
git5(cwd, ["reset", "-q", "HEAD", "--", ...stale.map((file) => `:(top,literal)${file}`)]);
|
|
80677
|
+
}
|
|
80671
80678
|
function gitCommit(cwd, input) {
|
|
80672
80679
|
const given = input.message?.trim() ?? "";
|
|
80673
80680
|
if (!given && !input.amend)
|
|
@@ -80795,6 +80802,8 @@ ${refusal}` : ""}`);
|
|
|
80795
80802
|
const sha = headSha(cwd);
|
|
80796
80803
|
if (!sha)
|
|
80797
80804
|
return failure3("failed", "the commit did not resolve");
|
|
80805
|
+
if (paths.length)
|
|
80806
|
+
resyncCommittedPaths(cwd, paths);
|
|
80798
80807
|
const merge = git5(cwd, ["rev-parse", "-q", "--verify", `${sha}^2`]).ok;
|
|
80799
80808
|
const files = nulList(git5(cwd, merge ? ["diff", "--name-only", "-z", `${sha}^1`, sha] : ["diff-tree", "--root", "--no-commit-id", "--name-only", "-r", "-z", sha]).stdout);
|
|
80800
80809
|
const leftDirty = dirtEntries(cwd).length;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brainervirus/workit-claude-code",
|
|
3
|
-
"version": "8.43.
|
|
3
|
+
"version": "8.43.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Workit Claude Code plugin — session and per-turn task context, branch policy on git shell commands, workit method skills, and verifier/reviewer/implementer agents",
|
|
6
6
|
"keywords": [
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"build": "bun scripts/build.ts"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@brainervirus/workit-cli": "^8.43.
|
|
43
|
-
"@brainervirus/workit-core": "^8.43.
|
|
42
|
+
"@brainervirus/workit-cli": "^8.43.1",
|
|
43
|
+
"@brainervirus/workit-core": "^8.43.1"
|
|
44
44
|
},
|
|
45
45
|
"engines": {
|
|
46
46
|
"node": ">=24"
|