@brainervirus/workit-cursor 8.7.0 → 8.9.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/.cursor-plugin/plugin.json +1 -1
- package/dist/cursor-session-start.js +377 -114
- package/dist/mcp-server.js +17 -17
- package/dist/workit-hook.js +386 -113
- package/hooks/hooks-cursor.json +7 -0
- package/package.json +3 -3
package/dist/mcp-server.js
CHANGED
|
@@ -28009,6 +28009,19 @@ var GIT_VALUE_OPTIONS = new Set([
|
|
|
28009
28009
|
"--config-env",
|
|
28010
28010
|
"--super-prefix"
|
|
28011
28011
|
]);
|
|
28012
|
+
var LAUNCHERS = new Set([
|
|
28013
|
+
"npx",
|
|
28014
|
+
"bunx",
|
|
28015
|
+
"pnpx",
|
|
28016
|
+
"-y",
|
|
28017
|
+
"--yes",
|
|
28018
|
+
"pnpm",
|
|
28019
|
+
"dlx",
|
|
28020
|
+
"exec",
|
|
28021
|
+
"env",
|
|
28022
|
+
"sudo",
|
|
28023
|
+
"command"
|
|
28024
|
+
]);
|
|
28012
28025
|
var PUSH_VALUE_OPTIONS = new Set(["-o", "--push-option", "--receive-pack", "--exec", "--repo"]);
|
|
28013
28026
|
var VALUE_OPTIONS = {
|
|
28014
28027
|
git: new Set([
|
|
@@ -28055,22 +28068,8 @@ var READERS = new Set([
|
|
|
28055
28068
|
"gc",
|
|
28056
28069
|
"type"
|
|
28057
28070
|
]);
|
|
28058
|
-
var SHELLS2 = new Set(["sh", "bash", "zsh", "dash", "ksh"]);
|
|
28059
|
-
var LAUNCHERS = new Set([
|
|
28060
|
-
"npx",
|
|
28061
|
-
"bunx",
|
|
28062
|
-
"pnpx",
|
|
28063
|
-
"-y",
|
|
28064
|
-
"--yes",
|
|
28065
|
-
"pnpm",
|
|
28066
|
-
"dlx",
|
|
28067
|
-
"exec",
|
|
28068
|
-
"env",
|
|
28069
|
-
"sudo",
|
|
28070
|
-
"command"
|
|
28071
|
-
]);
|
|
28072
28071
|
// packages/workit-core/src/hooks/hosts/fields.ts
|
|
28073
|
-
var
|
|
28072
|
+
var SHELLS2 = new Set(["sh", "bash", "zsh", "dash", "pwsh", "powershell", "cmd"]);
|
|
28074
28073
|
var WRITE_TOOLS = new Set([
|
|
28075
28074
|
"write",
|
|
28076
28075
|
"edit",
|
|
@@ -28127,7 +28126,7 @@ var CURSOR_DESCRIPTOR = {
|
|
|
28127
28126
|
"subagent.stop": { support: "partial", native: "subagentStop" },
|
|
28128
28127
|
"prompt.submit": undocumented,
|
|
28129
28128
|
"compact.pre": { support: "partial", native: "preCompact" },
|
|
28130
|
-
stop:
|
|
28129
|
+
stop: { support: "native", native: "stop" }
|
|
28131
28130
|
},
|
|
28132
28131
|
shellPolicy: { deny: "native", channel: "exit2+json", failClosed: true },
|
|
28133
28132
|
context: {
|
|
@@ -28151,7 +28150,7 @@ var CURSOR_DESCRIPTOR = {
|
|
|
28151
28150
|
postToolObserve: "undocumented"
|
|
28152
28151
|
},
|
|
28153
28152
|
interaction: { questions: "none", writeBoundary: "partial" },
|
|
28154
|
-
stopControl: "
|
|
28153
|
+
stopControl: "native",
|
|
28155
28154
|
shellAvailable: "native",
|
|
28156
28155
|
perEventCost: "low",
|
|
28157
28156
|
capabilities: [
|
|
@@ -28212,6 +28211,7 @@ var CURSOR_DESCRIPTOR = {
|
|
|
28212
28211
|
}
|
|
28213
28212
|
]
|
|
28214
28213
|
};
|
|
28214
|
+
var TRANSCRIPT_TAIL_BYTES = 256 * 1024;
|
|
28215
28215
|
var BLOCKING2 = new Set(["preToolUse", "beforeShellExecution", "subagentStart"]);
|
|
28216
28216
|
|
|
28217
28217
|
// packages/workit-core/src/hooks/run.ts
|