@brainervirus/workit-opencode 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/dist/plugin.js +14 -1
- package/package.json +2 -2
package/dist/plugin.js
CHANGED
|
@@ -13146,9 +13146,22 @@ function detectedChecks(root) {
|
|
|
13146
13146
|
return checks;
|
|
13147
13147
|
}
|
|
13148
13148
|
var GATES = ["testing", "verification"];
|
|
13149
|
+
function configFileFor(root) {
|
|
13150
|
+
const own = checksConfigFile(root);
|
|
13151
|
+
if (fs11.existsSync(own))
|
|
13152
|
+
return own;
|
|
13153
|
+
const common = git3(root, ["rev-parse", "--path-format=absolute", "--git-common-dir"]);
|
|
13154
|
+
if (!common || path13.basename(common) !== ".git")
|
|
13155
|
+
return own;
|
|
13156
|
+
const main = path13.dirname(common);
|
|
13157
|
+
if (path13.resolve(main) === path13.resolve(root))
|
|
13158
|
+
return own;
|
|
13159
|
+
const shared = checksConfigFile(main);
|
|
13160
|
+
return fs11.existsSync(shared) ? shared : own;
|
|
13161
|
+
}
|
|
13149
13162
|
function loadCheckConfig(cwd) {
|
|
13150
13163
|
const root = checkRoot(cwd);
|
|
13151
|
-
const file =
|
|
13164
|
+
const file = configFileFor(root);
|
|
13152
13165
|
const legacy = path13.basename(file) === LEGACY_CHECKS_FILE;
|
|
13153
13166
|
const label = legacy ? LEGACY_CHECKS_FILE : CHECKS_FILE;
|
|
13154
13167
|
const note = legacy ? {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brainervirus/workit-opencode",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.29.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Workit OpenCode plugin — native tools, adaptive policy, and sixteen method skills",
|
|
6
6
|
"keywords": [
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"typecheck": "tsc --noEmit"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@brainervirus/workit-core": "^8.
|
|
42
|
+
"@brainervirus/workit-core": "^8.29.0",
|
|
43
43
|
"@opencode/plugin": "2.0.18"
|
|
44
44
|
},
|
|
45
45
|
"engines": {
|