@workit-dev/pi 1.5.0 → 1.6.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/worker.js +10 -1
- package/dist/workit.js +628 -294
- package/package.json +1 -1
package/dist/worker.js
CHANGED
|
@@ -9102,6 +9102,10 @@ var CODEX_GATED = new Set(["bash", "unifiedexec", "shell", "applypatch", "edit",
|
|
|
9102
9102
|
import fs9 from "node:fs";
|
|
9103
9103
|
import path14 from "node:path";
|
|
9104
9104
|
|
|
9105
|
+
// packages/workit-core/src/approvals/store.ts
|
|
9106
|
+
var REQUEST_TTL_MS = 30 * 60000;
|
|
9107
|
+
var GRANT_TTL_MS = 15 * 60000;
|
|
9108
|
+
|
|
9105
9109
|
// packages/workit-core/src/hooks/hosts/fields.ts
|
|
9106
9110
|
var SHELLS2 = new Set(["sh", "bash", "zsh", "dash", "pwsh", "powershell", "cmd"]);
|
|
9107
9111
|
var WRITE_TOOLS = new Set([
|
|
@@ -9165,7 +9169,11 @@ var CLAUDE_CODE_DESCRIPTOR = {
|
|
|
9165
9169
|
maxConcurrency: "undocumented",
|
|
9166
9170
|
agentPrefix: "workit:"
|
|
9167
9171
|
},
|
|
9168
|
-
provenance: {
|
|
9172
|
+
provenance: {
|
|
9173
|
+
sessionId: "native",
|
|
9174
|
+
agentIdOnTool: "native",
|
|
9175
|
+
postToolObserve: "native"
|
|
9176
|
+
},
|
|
9169
9177
|
interaction: { questions: "undocumented", writeBoundary: "partial" },
|
|
9170
9178
|
stopControl: "native",
|
|
9171
9179
|
shellAvailable: "native",
|
|
@@ -9227,6 +9235,7 @@ var CONTEXT_EVENTS = new Set([
|
|
|
9227
9235
|
"PreToolUse",
|
|
9228
9236
|
"PostToolUse"
|
|
9229
9237
|
]);
|
|
9238
|
+
var ASKING_MODES = new Set(["default", "acceptEdits", "plan"]);
|
|
9230
9239
|
|
|
9231
9240
|
// packages/workit-core/src/hooks/hosts/codex.ts
|
|
9232
9241
|
var CODEX_DESCRIPTOR = {
|