@brainervirus/workit-mcp 8.12.2 → 8.13.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.
Files changed (2) hide show
  1. package/dist/index.js +50 -2
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -24705,8 +24705,35 @@ var gitContext = (workspaceRoot, paths = []) => {
24705
24705
  };
24706
24706
 
24707
24707
  // packages/workit-core/src/hooks/raw-git.ts
24708
- var SHELLS = new Set(["sh", "bash", "zsh", "dash", "ksh"]);
24709
- var PREFIXES2 = new Set(["sudo", "command", "env", "nohup", "time", "exec", "nice", "&"]);
24708
+ var SHELLS = new Set(["sh", "bash", "zsh", "dash", "ksh", "ash", "mksh", "yash", "fish"]);
24709
+ var POWERSHELLS = new Set(["pwsh", "powershell"]);
24710
+ var EVALS = new Set(["eval", "iex", "invoke-expression"]);
24711
+ var WRAPPERS = {
24712
+ sudo: { values: "-u -g -h -p -C -D -R -T -r -t -U --user --group --host --prompt --chdir" },
24713
+ doas: { values: "-u -C" },
24714
+ command: { values: "" },
24715
+ builtin: { values: "" },
24716
+ env: { values: "-u -C --unset --chdir" },
24717
+ nohup: { values: "" },
24718
+ setsid: { values: "" },
24719
+ time: { values: "-f -o --format --output" },
24720
+ exec: { values: "-a" },
24721
+ nice: { values: "-n --adjustment" },
24722
+ ionice: { values: "-c -n -p --class --classdata" },
24723
+ stdbuf: { values: "-i -o -e --input --output --error" },
24724
+ chronic: { values: "" },
24725
+ unbuffer: { values: "" },
24726
+ wsl: { values: "-d -u --cd --distribution --user" },
24727
+ timeout: { values: "-s -k --signal --kill-after", operands: 1 },
24728
+ flock: { values: "-w -E --timeout --conflict-exit-code", operands: 1 },
24729
+ coproc: { values: "" },
24730
+ taskset: { values: "", operands: 1 },
24731
+ watch: { values: "-n -d --interval --differences -q --equexit" },
24732
+ "&": { values: "" }
24733
+ };
24734
+ var WRAPPER_VALUES = new Map(Object.entries(WRAPPERS).map(([name, wrapper]) => [name, new Set(wrapper.values.split(" "))]));
24735
+ var KEYWORDS = new Set(["if", "then", "else", "elif", "while", "until", "do", "!", "{"]);
24736
+ var DECLARATIONS = new Set(["export", "local", "declare", "readonly", "typeset"]);
24710
24737
  var CD = new Set(["cd", "chdir", "set-location", "sl"]);
24711
24738
  var PUSHD = new Set(["pushd", "push-location"]);
24712
24739
  var POPD = new Set(["popd", "pop-location"]);
@@ -24719,6 +24746,17 @@ var GIT_VALUE_OPTIONS = new Set([
24719
24746
  "--config-env",
24720
24747
  "--super-prefix"
24721
24748
  ]);
24749
+ var GIT_CONFIG_OPTIONS = new Set(["-c", "--config-env", "--git-dir"]);
24750
+ var XARGS_VALUES = new Set(["-n", "-L", "-l", "-P", "-d", "-E", "-e", "-s", "-a", "--arg-file", "--delimiter"].concat([
24751
+ "--max-args",
24752
+ "--max-lines",
24753
+ "--max-procs",
24754
+ "--eof",
24755
+ "--max-chars",
24756
+ "--process-slot-var"
24757
+ ]));
24758
+ var PARALLEL_VALUES = new Set(["-j", "--jobs", "-N", "-n", "-S", "--sshlogin", "-P", "--delay"]);
24759
+ var RECENT = new Map;
24722
24760
  var LAUNCHERS = new Set([
24723
24761
  "npx",
24724
24762
  "bunx",
@@ -24760,14 +24798,24 @@ var VALUE_OPTIONS = {
24760
24798
  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"])),
24761
24799
  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"]))
24762
24800
  };
24801
+ var API_VALUES = new Set(["--method", "--header", "--raw-field", "--field", "--jq", "--template", "--input"].concat([
24802
+ "--hostname",
24803
+ "--preview",
24804
+ "--cache",
24805
+ "--output"
24806
+ ]));
24807
+ var API_FIELDS = new Set(["-f", "-F", "--raw-field", "--field"]);
24808
+ var GIT_COMMANDS = new Set(("add am annotate apply archive bisect blame branch bugreport bundle cat-file check-attr " + "check-ignore check-mailmap check-ref-format checkout checkout-index cherry cherry-pick " + "citool clean clone column commit commit-graph commit-tree config count-objects credential " + "daemon describe diagnose diff diff-files diff-index diff-tree difftool fast-export " + "fast-import fetch fetch-pack filter-branch fmt-merge-msg for-each-ref for-each-repo " + "format-patch fsck gc get-tar-commit-id grep gui hash-object help hook index-pack init " + "instaweb interpret-trailers lfs log ls-files ls-remote ls-tree mailinfo mailsplit " + "maintenance merge merge-base merge-file merge-index merge-tree mergetool mktag mktree " + "multi-pack-index mv name-rev notes pack-objects pack-refs patch-id prune pull push " + "range-diff read-tree rebase reflog remote repack replace request-pull rerere reset " + "restore rev-list rev-parse revert rm send-email shortlog show show-branch show-ref " + "sparse-checkout stage stash status stripspace submodule subtree switch symbolic-ref tag " + "update-index update-ref var verify-commit verify-pack verify-tag version whatchanged " + "worktree write-tree").split(" "));
24763
24809
 
24764
24810
  // packages/workit-core/src/core/route-intent.ts
24765
24811
  var SWITCH_CREATE = new Set(["-c", "--create", "-C", "--force-create", "--orphan"]);
24766
24812
  var CHECKOUT_CREATE = new Set(["-b", "-B", "--orphan"]);
24767
24813
  var WORKTREE_CREATE = new Set(["-b", "-B"]);
24814
+ var SUBTREE_CREATE = new Set(["-b", "--branch"]);
24768
24815
  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"]));
24769
24816
  var BRANCH_RENAME = new Set(["-m", "-M", "--move", "-c", "-C", "--copy"]);
24770
24817
  var WORKTREE_VALUES = new Set(["--reason"]);
24818
+ var FETCH_VALUES = new Set(["--depth", "--deepen", "--shallow-since", "--shallow-exclude", "--refmap", "-j", "--jobs"].concat(["--upload-pack", "-o", "--server-option", "--negotiation-tip", "--filter"]).concat(["--recurse-submodules-default", "--submodule-prefix", "-s", "--strategy", "-X"]).concat(["--strategy-option"]));
24771
24819
  // packages/workit-core/src/core/task-engine.ts
24772
24820
  import { realpathSync as realpathSync4 } from "node:fs";
24773
24821
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brainervirus/workit-mcp",
3
- "version": "8.12.2",
3
+ "version": "8.13.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.12.2",
45
+ "@brainervirus/workit-core": "^8.13.0",
46
46
  "@modelcontextprotocol/sdk": "1.32.0",
47
47
  "zod": "4.6.5"
48
48
  },