@workit-dev/mcp 2.23.2 → 2.25.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 +8 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -18205,6 +18205,7 @@ var workspaceConfigSchema = looseObject({
|
|
|
18205
18205
|
cleanup: described(optional(unknown()), "What happens when work finishes: `auto` (default) removes the delivered branch's clean Workit worktree and local branch, switches a clean checkout on it back to the trunk, and stops the processes registered inside them; `keep` removes and stops nothing. A value Workit does not know reads as `keep`."),
|
|
18206
18206
|
feedback: described(optional(unknown()), '`workit feedback` for this workspace: `off` hides its contract line and makes the verb refuse; `{ "account": "<login>" }` names the GitHub login it posts with; workspaces inside this one inherit it.'),
|
|
18207
18207
|
liveSessionGuard: described(optional(boolean2()), "Whether the live-session guard denies edits in a checkout another live agent session owns (default true)."),
|
|
18208
|
+
shared: described(optional(boolean2()), "Whether this workspace's repos are shared with a team that must not see Workit named (default false): `workit pr create` and `workit pr edit` then warn, never block, when the PR title, body or a new doc names it."),
|
|
18208
18209
|
fanout: described(optional(looseObject({
|
|
18209
18210
|
tierModels: described(optional(unknown()), "The model per slice TIER (mundane, standard, hard), as one name or per host."),
|
|
18210
18211
|
deps: described(optional(unknown()), "How `workit fanout worktree create` gives a slice worktree node_modules: `install` (default: its own frozen install of its lockfile) or `link` (links into the main checkout's installed packages, for a repo too slow to install per slice). `--deps` overrides it."),
|
|
@@ -18214,6 +18215,7 @@ var workspaceConfigSchema = looseObject({
|
|
|
18214
18215
|
resources: described(optional(unknown()), "Heavy-check limits on this machine: slots, scope, heavy, light, memoryMax, cpuQuota, wait."),
|
|
18215
18216
|
remotes: described(optional(array(nonBlank.check(refine((pattern) => remotePattern(pattern) !== null, "is not a remote URL (https://host/owner/repo, git@host:owner/repo, a path, or owner/*)")))), "Remote URLs this entry owns: a checkout pushing to or opening PRs on one never exceeds this entry's grants, wherever the folder is (`owner/*` claims a whole owner). Only the user changes it, in their own terminal."),
|
|
18216
18217
|
externalRepos: described(optional(array(nonBlank.check(_regex(/^[\w-]+(?:\/\w[\w.-]*)*\/(?:\w[\w.-]*|\*)$/u, "is owner/name, group/project or owner/* on the checkout's forge host, without the host")))), "Repositories outside this workspace's own forge owners that `workit issue create|comment|close --repo` may write to: `owner/name`, or `owner/*` for a whole owner. Only the user changes it, in their own terminal."),
|
|
18218
|
+
additiveRiskPaths: described(optional(array(nonBlank)), "Risk-path globs whose purely additive edits follow the review lane of the rest of the diff. Only the user sets it; it counts only while sealed."),
|
|
18217
18219
|
autonomy: described(optional(looseObject(Object.fromEntries(["push", "pr", "merge", "release", "rerun"].map((kind) => [
|
|
18218
18220
|
kind,
|
|
18219
18221
|
described(optional(union([boolean2(), literal("verified")])), `The ${kind} grant: true, false, or "verified" (only after a verdict).`)
|
|
@@ -24758,6 +24760,7 @@ var WORD2 = /[\w./:@=+,-]+/uy;
|
|
|
24758
24760
|
var QUOTED = /"[^"$`\\]*"/uy;
|
|
24759
24761
|
var COMMAND = /^[\w.+][\w./+-]*$/u;
|
|
24760
24762
|
var SHELL_STATE = new Set(". alias bg bind break builtin call caller case cd command compgen complete compopt continue coproc declare dirs disown do done elif else enable esac eval exec exit export fc fg fi for function getopts goto hash help history if in jobs kill let local logout mapfile popd pushd read readarray readonly return select set shift shopt source suspend then time times trap type typeset ulimit umask unalias unset until wait while".split(" "));
|
|
24763
|
+
var EFFECTFUL = /^(?:curl|wget|npx|bunx|gh|dlx|push|publish|deploy)$/iu;
|
|
24761
24764
|
var FALLBACK = new Set(["echo", "true"]);
|
|
24762
24765
|
var FORM = 'more than && <command> or && (<command> || echo "<text>")';
|
|
24763
24766
|
var OUTSIDE = '(outside plain words and "double-quoted text")';
|
|
@@ -24818,9 +24821,11 @@ function masking(before, appended) {
|
|
|
24818
24821
|
return FORM;
|
|
24819
24822
|
if (names ? !names.has(name.word) : SHELL_STATE.has(name.word.toLowerCase()))
|
|
24820
24823
|
return names ? FORM : `the shell command ${name.word}`;
|
|
24821
|
-
index
|
|
24822
|
-
|
|
24824
|
+
for (let token = list[index];token && !("op" in token); token = list[index]) {
|
|
24825
|
+
if ("word" in token && EFFECTFUL.test(token.word))
|
|
24826
|
+
return `the effectful command ${token.word}`;
|
|
24823
24827
|
index += 1;
|
|
24828
|
+
}
|
|
24824
24829
|
return null;
|
|
24825
24830
|
};
|
|
24826
24831
|
while (index < list.length) {
|
|
@@ -27670,6 +27675,7 @@ var ENTRY_KEYS = [
|
|
|
27670
27675
|
"glob",
|
|
27671
27676
|
"remotes",
|
|
27672
27677
|
"externalRepos",
|
|
27678
|
+
"additiveRiskPaths",
|
|
27673
27679
|
"vcs",
|
|
27674
27680
|
"autonomy",
|
|
27675
27681
|
"autoApprove",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workit-dev/mcp",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.25.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Workit shared MCP transport for the eight task and policy operation families",
|
|
6
6
|
"keywords": [
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@modelcontextprotocol/sdk": "1.32.2",
|
|
47
|
-
"@workit-dev/core": "^2.
|
|
47
|
+
"@workit-dev/core": "^2.25.0",
|
|
48
48
|
"zod": "4.6.7"
|
|
49
49
|
},
|
|
50
50
|
"engines": {
|