@brainervirus/workit-mcp 8.11.0 → 8.12.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/index.js +5 -4
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -21224,7 +21224,7 @@ function loadCheckConfig(cwd) {
|
|
|
21224
21224
|
gates[gate] = names;
|
|
21225
21225
|
}
|
|
21226
21226
|
}
|
|
21227
|
-
return { source: CHECKS_FILE, root, checks, gates, error: null };
|
|
21227
|
+
return { source: CHECKS_FILE, root, checks, gates, error: null, resources: parsed.resources };
|
|
21228
21228
|
}
|
|
21229
21229
|
var sameArgv = (left, right) => left.length === right.length && left.every((item, index) => item === right[index]);
|
|
21230
21230
|
function matchesNamedCheck(config, name, argv, cwd) {
|
|
@@ -21812,6 +21812,7 @@ var workspaceConfigSchema = object2({
|
|
|
21812
21812
|
autoApprove: union([boolean2(), array(nonBlank)]).optional(),
|
|
21813
21813
|
defaultEndpoint: unknown().optional(),
|
|
21814
21814
|
verification: _enum(["self", "independent"]).optional(),
|
|
21815
|
+
trailers: boolean2().optional(),
|
|
21815
21816
|
autonomy: object2(Object.fromEntries(["push", "pr", "merge", "release", "rerun"].map((kind) => [
|
|
21816
21817
|
kind,
|
|
21817
21818
|
union([boolean2(), literal("verified")]).optional()
|
|
@@ -22093,8 +22094,8 @@ var resolveRuntimeWorkspaceVcs = (cwd) => resolveRuntimeWorkspaceCandidate(cwd,
|
|
|
22093
22094
|
var runtimeWorkspaceIndexSchema = object2({
|
|
22094
22095
|
workspaces: array(object2({ name: nonBlank, glob: nonBlank }).passthrough()).optional()
|
|
22095
22096
|
}).passthrough();
|
|
22096
|
-
var matchRuntimeWorkspace = (cwd) => {
|
|
22097
|
-
const file = path10.join(
|
|
22097
|
+
var matchRuntimeWorkspace = (cwd, dir = configDir()) => {
|
|
22098
|
+
const file = path10.join(dir, "workspaces.json");
|
|
22098
22099
|
let raw;
|
|
22099
22100
|
try {
|
|
22100
22101
|
raw = readFileSync3(file, "utf8");
|
|
@@ -22123,7 +22124,7 @@ var matchRuntimeWorkspace = (cwd) => {
|
|
|
22123
22124
|
const matches = matchingEntries(cwd, entries ?? []);
|
|
22124
22125
|
const workspaceName = process.env.WORKFLOW_WORKSPACE_NAME?.trim() || undefined;
|
|
22125
22126
|
const selected = selectWorkspaceMatch(matches, cwd, workspaceName);
|
|
22126
|
-
return selected ? { file, selected } : null;
|
|
22127
|
+
return selected ? { file, selected, matches } : null;
|
|
22127
22128
|
};
|
|
22128
22129
|
var resolveRuntimeReleaseTracks = (cwd) => {
|
|
22129
22130
|
const matched = matchRuntimeWorkspace(cwd);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brainervirus/workit-mcp",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.12.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Workit shared MCP transport for the eight task and policy operation families",
|
|
6
6
|
"keywords": [
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"build": "bun scripts/build.ts"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@brainervirus/workit-core": "^8.
|
|
45
|
+
"@brainervirus/workit-core": "^8.12.0",
|
|
46
46
|
"@modelcontextprotocol/sdk": "1.32.0",
|
|
47
47
|
"zod": "4.6.5"
|
|
48
48
|
},
|