@brainervirus/workit-codex 8.4.0 → 8.5.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "workit",
3
- "version": "8.4.0",
3
+ "version": "8.5.0",
4
4
  "description": "Adaptive engineering workflow rails for Codex",
5
5
  "author": {
6
6
  "name": "BrainerVirus"
@@ -27962,6 +27962,7 @@ var capabilitiesFor = (descriptor, observed = {}) => descriptor.capabilities.map
27962
27962
  // packages/workit-core/src/hooks/context.ts
27963
27963
  var signals = new Map;
27964
27964
  var cache = new Map;
27965
+ var TURN_TTL_MS = 7 * 24 * 60 * 60 * 1000;
27965
27966
  // packages/workit-core/src/hooks/write-gate.ts
27966
27967
  var CASE_INSENSITIVE = process.platform === "darwin" || process.platform === "win32";
27967
27968
  var PREFIXES2 = new Set(["sudo", "command", "env", "nohup", "time", "exec", "xargs"]);
@@ -28009,8 +28010,40 @@ var VALUE_OPTIONS = {
28009
28010
  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"])),
28010
28011
  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"]))
28011
28012
  };
28013
+ // packages/workit-core/src/core/skill-manifests.ts
28014
+ if (false) {}
28015
+
28016
+ // packages/workit-core/src/hooks/skill-nudge.ts
28017
+ var USER_INVOKED = new Set(["workit-retro", "workit-architecture"]);
28018
+ var READERS = new Set([
28019
+ "cat",
28020
+ "sed",
28021
+ "head",
28022
+ "tail",
28023
+ "less",
28024
+ "more",
28025
+ "bat",
28026
+ "nl",
28027
+ "get-content",
28028
+ "gc",
28029
+ "type"
28030
+ ]);
28031
+ var SHELLS2 = new Set(["sh", "bash", "zsh", "dash", "ksh"]);
28032
+ var LAUNCHERS = new Set([
28033
+ "npx",
28034
+ "bunx",
28035
+ "pnpx",
28036
+ "-y",
28037
+ "--yes",
28038
+ "pnpm",
28039
+ "dlx",
28040
+ "exec",
28041
+ "env",
28042
+ "sudo",
28043
+ "command"
28044
+ ]);
28012
28045
  // packages/workit-core/src/hooks/hosts/fields.ts
28013
- var SHELLS2 = new Set(["sh", "bash", "zsh", "dash", "pwsh", "powershell", "cmd"]);
28046
+ var SHELLS3 = new Set(["sh", "bash", "zsh", "dash", "pwsh", "powershell", "cmd"]);
28014
28047
  var WRITE_TOOLS = new Set([
28015
28048
  "write",
28016
28049
  "edit",
@@ -28032,7 +28065,6 @@ var WRITE_TOOLS = new Set([
28032
28065
  ]);
28033
28066
  // packages/workit-core/src/hooks/handle.ts
28034
28067
  var offered = new Set;
28035
- var CLAUDE_JUDGES = new Set(["workit:verifier", "workit:reviewer"]);
28036
28068
  // packages/workit-core/src/hooks/hosts/claude-code.ts
28037
28069
  var SOURCES = new Set(["startup", "resume", "clear", "compact", "fork"]);
28038
28070
  var SHELL_TOOLS = new Set(["Bash", "PowerShell"]);
@@ -28048,39 +28080,40 @@ var CONTEXT_EVENTS = new Set([
28048
28080
  function detectCodexSurface(env) {
28049
28081
  return env.CODEX_INTERNAL_ORIGINATOR_OVERRIDE === "Codex Desktop" || Boolean(env.CODEX_ELECTRON_RESOURCES_PATH) ? "codex_desktop" : "codex_cli";
28050
28082
  }
28051
- var undocumented = { support: "undocumented", native: null };
28052
28083
  var CODEX_DESCRIPTOR = {
28053
28084
  host: "codex_cli",
28054
28085
  label: "Codex",
28055
- verifiedAgainst: "codex-cli 0.153.4; Codex Desktop 26.901.20858",
28086
+ verifiedAgainst: "codex-cli 0.160.1 (hook JSON schemas in the binary); Codex Desktop 26.901.20858",
28056
28087
  docs: ["https://developers.openai.com/codex/hooks"],
28057
28088
  transport: "hook-process",
28058
28089
  events: {
28059
28090
  "session.start": { support: "native", native: "SessionStart" },
28060
- "context.turn": undocumented,
28091
+ "context.turn": { support: "native", native: "UserPromptSubmit" },
28061
28092
  "shell.pre": { support: "native", native: "PreToolUse" },
28062
28093
  "tool.pre": { support: "native", native: "PreToolUse" },
28063
- "write.pre": { support: "undocumented", native: null },
28094
+ "write.pre": { support: "native", native: "PreToolUse" },
28064
28095
  "shell.post": { support: "native", native: "PostToolUse" },
28065
28096
  "subagent.start": { support: "native", native: "SubagentStart" },
28066
28097
  "subagent.stop": { support: "native", native: "SubagentStop" },
28067
- "prompt.submit": undocumented,
28098
+ "prompt.submit": { support: "native", native: "UserPromptSubmit" },
28068
28099
  "compact.pre": { support: "none", native: null },
28069
- stop: undocumented
28100
+ stop: { support: "none", native: null }
28070
28101
  },
28071
28102
  shellPolicy: { deny: "native", channel: "permissionDecision", failClosed: false },
28072
28103
  context: {
28073
28104
  sessionStart: "native",
28074
- perTurn: "undocumented",
28105
+ perTurn: "native",
28075
28106
  afterCompact: "native",
28076
- task: "single-active"
28107
+ task: "single-active",
28108
+ turnResend: "on-change"
28077
28109
  },
28078
28110
  subagents: {
28079
28111
  identity: "native",
28080
28112
  parentBinding: "none",
28081
28113
  blockStart: "none",
28082
28114
  worktreeIsolation: "undocumented",
28083
- maxConcurrency: "undocumented"
28115
+ maxConcurrency: "undocumented",
28116
+ agentPrefix: "workit-"
28084
28117
  },
28085
28118
  provenance: { sessionId: "native", agentIdOnTool: "partial", postToolObserve: "native" },
28086
28119
  interaction: { questions: "none", writeBoundary: "partial" },
@@ -28147,7 +28180,7 @@ var CODEX_DESCRIPTOR = {
28147
28180
  };
28148
28181
  var codexDescriptor = (host) => ({ ...CODEX_DESCRIPTOR, host });
28149
28182
  var SHELL_TOOLS2 = new Set(["bash", "unified-exec"]);
28150
- var SOURCES2 = new Set(["startup", "resume", "clear", "compact"]);
28183
+ var SOURCES2 = new Set(["startup", "resume", "clear", "compact", "fork"]);
28151
28184
 
28152
28185
  // packages/workit-core/src/hooks/hosts/cursor.ts
28153
28186
  var BLOCKING2 = new Set(["preToolUse", "beforeShellExecution", "subagentStart"]);