@brainervirus/workit-cursor 8.28.1 → 8.29.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.
- package/.cursor-plugin/plugin.json +1 -1
- package/dist/cursor-session-start.js +14 -1
- package/dist/mcp-server.js +14 -1
- package/dist/workit-hook.js +14 -1
- package/package.json +3 -3
|
@@ -14811,9 +14811,22 @@ function detectedChecks(root) {
|
|
|
14811
14811
|
add(plain("test", ["make", "test"]));
|
|
14812
14812
|
return checks;
|
|
14813
14813
|
}
|
|
14814
|
+
function configFileFor(root) {
|
|
14815
|
+
const own = checksConfigFile(root);
|
|
14816
|
+
if (fs13.existsSync(own))
|
|
14817
|
+
return own;
|
|
14818
|
+
const common = git4(root, ["rev-parse", "--path-format=absolute", "--git-common-dir"]);
|
|
14819
|
+
if (!common || path18.basename(common) !== ".git")
|
|
14820
|
+
return own;
|
|
14821
|
+
const main = path18.dirname(common);
|
|
14822
|
+
if (path18.resolve(main) === path18.resolve(root))
|
|
14823
|
+
return own;
|
|
14824
|
+
const shared = checksConfigFile(main);
|
|
14825
|
+
return fs13.existsSync(shared) ? shared : own;
|
|
14826
|
+
}
|
|
14814
14827
|
function loadCheckConfig(cwd) {
|
|
14815
14828
|
const root = checkRoot(cwd);
|
|
14816
|
-
const file =
|
|
14829
|
+
const file = configFileFor(root);
|
|
14817
14830
|
const legacy = path18.basename(file) === LEGACY_CHECKS_FILE;
|
|
14818
14831
|
const label = legacy ? LEGACY_CHECKS_FILE : CHECKS_FILE;
|
|
14819
14832
|
const note = legacy ? {
|
package/dist/mcp-server.js
CHANGED
|
@@ -21645,9 +21645,22 @@ function detectedChecks(root) {
|
|
|
21645
21645
|
return checks;
|
|
21646
21646
|
}
|
|
21647
21647
|
var GATES = ["testing", "verification"];
|
|
21648
|
+
function configFileFor(root) {
|
|
21649
|
+
const own = checksConfigFile(root);
|
|
21650
|
+
if (fs11.existsSync(own))
|
|
21651
|
+
return own;
|
|
21652
|
+
const common = git3(root, ["rev-parse", "--path-format=absolute", "--git-common-dir"]);
|
|
21653
|
+
if (!common || path13.basename(common) !== ".git")
|
|
21654
|
+
return own;
|
|
21655
|
+
const main = path13.dirname(common);
|
|
21656
|
+
if (path13.resolve(main) === path13.resolve(root))
|
|
21657
|
+
return own;
|
|
21658
|
+
const shared = checksConfigFile(main);
|
|
21659
|
+
return fs11.existsSync(shared) ? shared : own;
|
|
21660
|
+
}
|
|
21648
21661
|
function loadCheckConfig(cwd) {
|
|
21649
21662
|
const root = checkRoot(cwd);
|
|
21650
|
-
const file =
|
|
21663
|
+
const file = configFileFor(root);
|
|
21651
21664
|
const legacy = path13.basename(file) === LEGACY_CHECKS_FILE;
|
|
21652
21665
|
const label = legacy ? LEGACY_CHECKS_FILE : CHECKS_FILE;
|
|
21653
21666
|
const note = legacy ? {
|
package/dist/workit-hook.js
CHANGED
|
@@ -14853,9 +14853,22 @@ function detectedChecks(root) {
|
|
|
14853
14853
|
return checks;
|
|
14854
14854
|
}
|
|
14855
14855
|
var GATES = ["testing", "verification"];
|
|
14856
|
+
function configFileFor(root) {
|
|
14857
|
+
const own = checksConfigFile(root);
|
|
14858
|
+
if (fs13.existsSync(own))
|
|
14859
|
+
return own;
|
|
14860
|
+
const common = git4(root, ["rev-parse", "--path-format=absolute", "--git-common-dir"]);
|
|
14861
|
+
if (!common || path18.basename(common) !== ".git")
|
|
14862
|
+
return own;
|
|
14863
|
+
const main = path18.dirname(common);
|
|
14864
|
+
if (path18.resolve(main) === path18.resolve(root))
|
|
14865
|
+
return own;
|
|
14866
|
+
const shared = checksConfigFile(main);
|
|
14867
|
+
return fs13.existsSync(shared) ? shared : own;
|
|
14868
|
+
}
|
|
14856
14869
|
function loadCheckConfig(cwd) {
|
|
14857
14870
|
const root = checkRoot(cwd);
|
|
14858
|
-
const file =
|
|
14871
|
+
const file = configFileFor(root);
|
|
14859
14872
|
const legacy = path18.basename(file) === LEGACY_CHECKS_FILE;
|
|
14860
14873
|
const label = legacy ? LEGACY_CHECKS_FILE : CHECKS_FILE;
|
|
14861
14874
|
const note = legacy ? {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brainervirus/workit-cursor",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.29.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Workit Cursor plugin — shared MCP transport, native hooks, and sixteen method skills",
|
|
6
6
|
"keywords": [
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"build": "bun scripts/build.ts"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@brainervirus/workit-core": "^8.
|
|
50
|
-
"@brainervirus/workit-mcp": "^8.
|
|
49
|
+
"@brainervirus/workit-core": "^8.29.0",
|
|
50
|
+
"@brainervirus/workit-mcp": "^8.29.0"
|
|
51
51
|
},
|
|
52
52
|
"engines": {
|
|
53
53
|
"node": ">=24"
|