@brainervirus/workit-cursor 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.
@@ -24651,6 +24651,71 @@ var gitContext = (workspaceRoot, paths = []) => {
24651
24651
  ...failure ? { stderr: failure.stderr, exitCode: failure.exitCode } : {}
24652
24652
  };
24653
24653
  };
24654
+
24655
+ // packages/workit-core/src/hooks/raw-git.ts
24656
+ var SHELLS = new Set(["sh", "bash", "zsh", "dash", "ksh"]);
24657
+ var PREFIXES2 = new Set(["sudo", "command", "env", "nohup", "time", "exec", "nice", "&"]);
24658
+ var CD = new Set(["cd", "chdir", "set-location", "sl"]);
24659
+ var PUSHD = new Set(["pushd", "push-location"]);
24660
+ var POPD = new Set(["popd", "pop-location"]);
24661
+ var GIT_VALUE_OPTIONS = new Set([
24662
+ "-c",
24663
+ "--git-dir",
24664
+ "--work-tree",
24665
+ "--namespace",
24666
+ "--exec-path",
24667
+ "--config-env",
24668
+ "--super-prefix"
24669
+ ]);
24670
+ var LAUNCHERS = new Set([
24671
+ "npx",
24672
+ "bunx",
24673
+ "pnpx",
24674
+ "-y",
24675
+ "--yes",
24676
+ "pnpm",
24677
+ "dlx",
24678
+ "exec",
24679
+ "env",
24680
+ "sudo",
24681
+ "command"
24682
+ ]);
24683
+ var PUSH_VALUE_OPTIONS = new Set(["-o", "--push-option", "--receive-pack", "--exec", "--repo"]);
24684
+ var VALUE_OPTIONS = {
24685
+ git: new Set([
24686
+ "-m",
24687
+ "--message",
24688
+ "-F",
24689
+ "--file",
24690
+ "-C",
24691
+ "-c",
24692
+ "--reuse-message",
24693
+ "--reedit-message",
24694
+ "--author",
24695
+ "--date",
24696
+ "--trailer",
24697
+ "-t",
24698
+ "--template",
24699
+ "--cleanup",
24700
+ "--fixup",
24701
+ "--squash",
24702
+ "-o",
24703
+ "--push-option",
24704
+ "--repo",
24705
+ "--receive-pack",
24706
+ "--exec"
24707
+ ]),
24708
+ 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"])),
24709
+ 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"]))
24710
+ };
24711
+
24712
+ // packages/workit-core/src/core/route-intent.ts
24713
+ var SWITCH_CREATE = new Set(["-c", "--create", "-C", "--force-create", "--orphan"]);
24714
+ var CHECKOUT_CREATE = new Set(["-b", "-B", "--orphan"]);
24715
+ var WORKTREE_CREATE = new Set(["-b", "-B"]);
24716
+ 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"]));
24717
+ var BRANCH_RENAME = new Set(["-m", "-M", "--move", "-c", "-C", "--copy"]);
24718
+ var WORKTREE_VALUES = new Set(["--reason"]);
24654
24719
  // packages/workit-core/src/core/task-engine.ts
24655
24720
  import { realpathSync as realpathSync4 } from "node:fs";
24656
24721
 
@@ -28127,64 +28192,8 @@ var cache = new Map;
28127
28192
  var TURN_TTL_MS = 7 * 24 * 60 * 60 * 1000;
28128
28193
  // packages/workit-core/src/hooks/write-gate.ts
28129
28194
  var CASE_INSENSITIVE = process.platform === "darwin" || process.platform === "win32";
28130
- var PREFIXES2 = new Set(["sudo", "command", "env", "nohup", "time", "exec", "xargs"]);
28195
+ var PREFIXES3 = new Set(["sudo", "command", "env", "nohup", "time", "exec", "xargs"]);
28131
28196
  var cache2 = new Map;
28132
- // packages/workit-core/src/hooks/raw-git.ts
28133
- var SHELLS = new Set(["sh", "bash", "zsh", "dash", "ksh"]);
28134
- var PREFIXES3 = new Set(["sudo", "command", "env", "nohup", "time", "exec", "nice", "&"]);
28135
- var CD = new Set(["cd", "chdir", "set-location", "sl"]);
28136
- var PUSHD = new Set(["pushd", "push-location"]);
28137
- var POPD = new Set(["popd", "pop-location"]);
28138
- var GIT_VALUE_OPTIONS = new Set([
28139
- "-c",
28140
- "--git-dir",
28141
- "--work-tree",
28142
- "--namespace",
28143
- "--exec-path",
28144
- "--config-env",
28145
- "--super-prefix"
28146
- ]);
28147
- var LAUNCHERS = new Set([
28148
- "npx",
28149
- "bunx",
28150
- "pnpx",
28151
- "-y",
28152
- "--yes",
28153
- "pnpm",
28154
- "dlx",
28155
- "exec",
28156
- "env",
28157
- "sudo",
28158
- "command"
28159
- ]);
28160
- var PUSH_VALUE_OPTIONS = new Set(["-o", "--push-option", "--receive-pack", "--exec", "--repo"]);
28161
- var VALUE_OPTIONS = {
28162
- git: new Set([
28163
- "-m",
28164
- "--message",
28165
- "-F",
28166
- "--file",
28167
- "-C",
28168
- "-c",
28169
- "--reuse-message",
28170
- "--reedit-message",
28171
- "--author",
28172
- "--date",
28173
- "--trailer",
28174
- "-t",
28175
- "--template",
28176
- "--cleanup",
28177
- "--fixup",
28178
- "--squash",
28179
- "-o",
28180
- "--push-option",
28181
- "--repo",
28182
- "--receive-pack",
28183
- "--exec"
28184
- ]),
28185
- 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"])),
28186
- 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"]))
28187
- };
28188
28197
  // packages/workit-core/src/core/skill-manifests.ts
28189
28198
  if (false) {}
28190
28199