@brainervirus/workit-mcp 8.10.0 → 8.11.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 +65 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -24645,6 +24645,71 @@ var gitContext = (workspaceRoot, paths = []) => {
|
|
|
24645
24645
|
...failure ? { stderr: failure.stderr, exitCode: failure.exitCode } : {}
|
|
24646
24646
|
};
|
|
24647
24647
|
};
|
|
24648
|
+
|
|
24649
|
+
// packages/workit-core/src/hooks/raw-git.ts
|
|
24650
|
+
var SHELLS = new Set(["sh", "bash", "zsh", "dash", "ksh"]);
|
|
24651
|
+
var PREFIXES2 = new Set(["sudo", "command", "env", "nohup", "time", "exec", "nice", "&"]);
|
|
24652
|
+
var CD = new Set(["cd", "chdir", "set-location", "sl"]);
|
|
24653
|
+
var PUSHD = new Set(["pushd", "push-location"]);
|
|
24654
|
+
var POPD = new Set(["popd", "pop-location"]);
|
|
24655
|
+
var GIT_VALUE_OPTIONS = new Set([
|
|
24656
|
+
"-c",
|
|
24657
|
+
"--git-dir",
|
|
24658
|
+
"--work-tree",
|
|
24659
|
+
"--namespace",
|
|
24660
|
+
"--exec-path",
|
|
24661
|
+
"--config-env",
|
|
24662
|
+
"--super-prefix"
|
|
24663
|
+
]);
|
|
24664
|
+
var LAUNCHERS = new Set([
|
|
24665
|
+
"npx",
|
|
24666
|
+
"bunx",
|
|
24667
|
+
"pnpx",
|
|
24668
|
+
"-y",
|
|
24669
|
+
"--yes",
|
|
24670
|
+
"pnpm",
|
|
24671
|
+
"dlx",
|
|
24672
|
+
"exec",
|
|
24673
|
+
"env",
|
|
24674
|
+
"sudo",
|
|
24675
|
+
"command"
|
|
24676
|
+
]);
|
|
24677
|
+
var PUSH_VALUE_OPTIONS = new Set(["-o", "--push-option", "--receive-pack", "--exec", "--repo"]);
|
|
24678
|
+
var VALUE_OPTIONS = {
|
|
24679
|
+
git: new Set([
|
|
24680
|
+
"-m",
|
|
24681
|
+
"--message",
|
|
24682
|
+
"-F",
|
|
24683
|
+
"--file",
|
|
24684
|
+
"-C",
|
|
24685
|
+
"-c",
|
|
24686
|
+
"--reuse-message",
|
|
24687
|
+
"--reedit-message",
|
|
24688
|
+
"--author",
|
|
24689
|
+
"--date",
|
|
24690
|
+
"--trailer",
|
|
24691
|
+
"-t",
|
|
24692
|
+
"--template",
|
|
24693
|
+
"--cleanup",
|
|
24694
|
+
"--fixup",
|
|
24695
|
+
"--squash",
|
|
24696
|
+
"-o",
|
|
24697
|
+
"--push-option",
|
|
24698
|
+
"--repo",
|
|
24699
|
+
"--receive-pack",
|
|
24700
|
+
"--exec"
|
|
24701
|
+
]),
|
|
24702
|
+
gh: new Set(["-b", "--body", "-F", "--body-file", "-t", "--title", "--subject", "-A", "--author-email"].concat(["-B", "--base", "-H", "--head", "-l", "--label", "-a", "--assignee"]).concat(["-r", "--reviewer", "-m", "--milestone", "-p", "--project", "-T", "--template"]).concat(["--match-head-commit", "-R", "--repo"])),
|
|
24703
|
+
glab: new Set(["-m", "--message", "--squash-message", "--sha", "-t", "--title", "-d", "--description"].concat(["-b", "--target-branch", "-s", "--source-branch", "-l", "--label"]).concat(["-a", "--assignee", "--reviewer", "-R", "--repo"]))
|
|
24704
|
+
};
|
|
24705
|
+
|
|
24706
|
+
// packages/workit-core/src/core/route-intent.ts
|
|
24707
|
+
var SWITCH_CREATE = new Set(["-c", "--create", "-C", "--force-create", "--orphan"]);
|
|
24708
|
+
var CHECKOUT_CREATE = new Set(["-b", "-B", "--orphan"]);
|
|
24709
|
+
var WORKTREE_CREATE = new Set(["-b", "-B"]);
|
|
24710
|
+
var BRANCH_NO_CREATE = new Set(["-d", "-D", "--delete", "-l", "--list", "-a", "--all", "-r", "--remotes", "--show-current"].concat(["-v", "-vv", "--verbose", "--contains", "--no-contains", "--merged", "--no-merged"]).concat(["--points-at", "--sort", "--format", "--column", "--no-column", "-u"]).concat(["--set-upstream-to", "--unset-upstream", "--edit-description", "-i", "--ignore-case"]));
|
|
24711
|
+
var BRANCH_RENAME = new Set(["-m", "-M", "--move", "-c", "-C", "--copy"]);
|
|
24712
|
+
var WORKTREE_VALUES = new Set(["--reason"]);
|
|
24648
24713
|
// packages/workit-core/src/core/task-engine.ts
|
|
24649
24714
|
import { realpathSync as realpathSync4 } from "node:fs";
|
|
24650
24715
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brainervirus/workit-mcp",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.11.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.11.0",
|
|
46
46
|
"@modelcontextprotocol/sdk": "1.32.0",
|
|
47
47
|
"zod": "4.6.5"
|
|
48
48
|
},
|