@brainervirus/workit-codex 8.12.2 → 8.12.3

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "workit",
3
- "version": "8.12.2",
3
+ "version": "8.12.3",
4
4
  "description": "Adaptive engineering workflow rails for Codex",
5
5
  "author": {
6
6
  "name": "BrainerVirus"
@@ -22330,8 +22330,35 @@ var gitContext = (workspaceRoot, paths = []) => {
22330
22330
  };
22331
22331
 
22332
22332
  // packages/workit-core/src/hooks/raw-git.ts
22333
- var SHELLS = new Set(["sh", "bash", "zsh", "dash", "ksh"]);
22334
- var PREFIXES2 = new Set(["sudo", "command", "env", "nohup", "time", "exec", "nice", "&"]);
22333
+ var SHELLS = new Set(["sh", "bash", "zsh", "dash", "ksh", "ash", "mksh", "yash", "fish"]);
22334
+ var POWERSHELLS = new Set(["pwsh", "powershell"]);
22335
+ var EVALS = new Set(["eval", "iex", "invoke-expression"]);
22336
+ var WRAPPERS = {
22337
+ sudo: { values: "-u -g -h -p -C -D -R -T -r -t -U --user --group --host --prompt --chdir" },
22338
+ doas: { values: "-u -C" },
22339
+ command: { values: "" },
22340
+ builtin: { values: "" },
22341
+ env: { values: "-u -C --unset --chdir" },
22342
+ nohup: { values: "" },
22343
+ setsid: { values: "" },
22344
+ time: { values: "-f -o --format --output" },
22345
+ exec: { values: "-a" },
22346
+ nice: { values: "-n --adjustment" },
22347
+ ionice: { values: "-c -n -p --class --classdata" },
22348
+ stdbuf: { values: "-i -o -e --input --output --error" },
22349
+ chronic: { values: "" },
22350
+ unbuffer: { values: "" },
22351
+ wsl: { values: "-d -u --cd --distribution --user" },
22352
+ timeout: { values: "-s -k --signal --kill-after", operands: 1 },
22353
+ flock: { values: "-w -E --timeout --conflict-exit-code", operands: 1 },
22354
+ coproc: { values: "" },
22355
+ taskset: { values: "", operands: 1 },
22356
+ watch: { values: "-n -d --interval --differences -q --equexit" },
22357
+ "&": { values: "" }
22358
+ };
22359
+ var WRAPPER_VALUES = new Map(Object.entries(WRAPPERS).map(([name, wrapper]) => [name, new Set(wrapper.values.split(" "))]));
22360
+ var KEYWORDS = new Set(["if", "then", "else", "elif", "while", "until", "do", "!", "{"]);
22361
+ var DECLARATIONS = new Set(["export", "local", "declare", "readonly", "typeset"]);
22335
22362
  var CD = new Set(["cd", "chdir", "set-location", "sl"]);
22336
22363
  var PUSHD = new Set(["pushd", "push-location"]);
22337
22364
  var POPD = new Set(["popd", "pop-location"]);
@@ -22344,6 +22371,17 @@ var GIT_VALUE_OPTIONS = new Set([
22344
22371
  "--config-env",
22345
22372
  "--super-prefix"
22346
22373
  ]);
22374
+ var GIT_CONFIG_OPTIONS = new Set(["-c", "--config-env", "--git-dir"]);
22375
+ var XARGS_VALUES = new Set(["-n", "-L", "-l", "-P", "-d", "-E", "-e", "-s", "-a", "--arg-file", "--delimiter"].concat([
22376
+ "--max-args",
22377
+ "--max-lines",
22378
+ "--max-procs",
22379
+ "--eof",
22380
+ "--max-chars",
22381
+ "--process-slot-var"
22382
+ ]));
22383
+ var PARALLEL_VALUES = new Set(["-j", "--jobs", "-N", "-n", "-S", "--sshlogin", "-P", "--delay"]);
22384
+ var RECENT = new Map;
22347
22385
  var LAUNCHERS = new Set([
22348
22386
  "npx",
22349
22387
  "bunx",
@@ -22385,14 +22423,24 @@ var VALUE_OPTIONS = {
22385
22423
  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"])),
22386
22424
  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"]))
22387
22425
  };
22426
+ var API_VALUES = new Set(["--method", "--header", "--raw-field", "--field", "--jq", "--template", "--input"].concat([
22427
+ "--hostname",
22428
+ "--preview",
22429
+ "--cache",
22430
+ "--output"
22431
+ ]));
22432
+ var API_FIELDS = new Set(["-f", "-F", "--raw-field", "--field"]);
22433
+ 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(" "));
22388
22434
 
22389
22435
  // packages/workit-core/src/core/route-intent.ts
22390
22436
  var SWITCH_CREATE = new Set(["-c", "--create", "-C", "--force-create", "--orphan"]);
22391
22437
  var CHECKOUT_CREATE = new Set(["-b", "-B", "--orphan"]);
22392
22438
  var WORKTREE_CREATE = new Set(["-b", "-B"]);
22439
+ var SUBTREE_CREATE = new Set(["-b", "--branch"]);
22393
22440
  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"]));
22394
22441
  var BRANCH_RENAME = new Set(["-m", "-M", "--move", "-c", "-C", "--copy"]);
22395
22442
  var WORKTREE_VALUES = new Set(["--reason"]);
22443
+ 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"]));
22396
22444
  // packages/workit-core/src/core/task-engine.ts
22397
22445
  import { realpathSync as realpathSync4 } from "node:fs";
22398
22446
 
@@ -28165,7 +28213,7 @@ var cache = new Map;
28165
28213
  var TURN_TTL_MS = 7 * 24 * 60 * 60 * 1000;
28166
28214
  // packages/workit-core/src/hooks/write-gate.ts
28167
28215
  var CASE_INSENSITIVE = process.platform === "darwin" || process.platform === "win32";
28168
- var PREFIXES3 = new Set(["sudo", "command", "env", "nohup", "time", "exec", "xargs"]);
28216
+ var PREFIXES2 = new Set(["sudo", "command", "env", "nohup", "time", "exec", "xargs"]);
28169
28217
  var cache2 = new Map;
28170
28218
  // packages/workit-core/src/core/skill-manifests.ts
28171
28219
  if (false) {}