@brainervirus/workit-codex 8.5.0 → 8.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "workit",
3
- "version": "8.5.0",
3
+ "version": "8.6.0",
4
4
  "description": "Adaptive engineering workflow rails for Codex",
5
5
  "author": {
6
6
  "name": "BrainerVirus"
@@ -17480,12 +17480,11 @@ var changedTurnContext = (input, text) => {
17480
17480
  writeTurnDigest(file, digest);
17481
17481
  return text;
17482
17482
  };
17483
- var seedTurnContext = (input, descriptor) => {
17483
+ var seedTurnContext = (input, descriptor, text = turnContextText(input, descriptor)) => {
17484
17484
  const file = turnMarker(input);
17485
17485
  if (!file)
17486
17486
  return;
17487
17487
  pruneTurnDigests(path16.dirname(file), Date.now());
17488
- const text = turnContextText(input, descriptor);
17489
17488
  if (text)
17490
17489
  writeTurnDigest(file, digestOf(text));
17491
17490
  else
@@ -18432,7 +18431,7 @@ var SKILL_HOST = {
18432
18431
  var PROMPT_INTENTS = [
18433
18432
  [
18434
18433
  "workit-debug",
18435
- /\b(flaky|regression|(?:is|are|got|looks) broken|debug (?:this|it|the|why)|fix (?:the|this|a) bug)\b/i
18434
+ /\b(flaky|regressed|(?:is|introduced) a regression|regression (?:in|after|since|from)|(?:is|are|got|looks) broken|debug (?:this|it|the|why)|fix (?:the|this|a) bug)\b/i
18436
18435
  ],
18437
18436
  [
18438
18437
  "workit-continue",
@@ -18444,14 +18443,17 @@ var PROMPT_INTENTS = [
18444
18443
  ],
18445
18444
  [
18446
18445
  "workit-ship",
18447
- /\b(ship (?:it|this|the)|babysit|open (?:a|the) (?:PR|pr|MR|mr)|merge (?:the|this|my) (?:PR|pr|MR|mr|branch)|(?:get|until|make) CI (?:is )?green)\b/i
18446
+ /\b(ship (?:it|this|the)|babysit|open (?:a|the) (?:PR|pr|MR|mr)(?=\s*$|\s+(?:for|to|on|with|and|against|into|from|after|once)\b|[.!,;])|merge (?:the|this|my) (?:PR|pr|MR|mr|branch)|(?:get|until|make) CI (?:is )?green)\b/i
18448
18447
  ],
18449
18448
  ["workit-bdd", /\b(BDD|TDD|acceptance criteria|Given\/When\/Then)(?![\w/])/],
18450
18449
  ["workit-test-audit", /\b(test audit|audit the tests|tautolog\w*|weak tests)\b/i],
18451
18450
  ["workit-deslop", /\b(deslop|slop|dead code)\b/i],
18452
- ["workit-fanout", /\b(fan(?: |-)?out|parallelize|parallel agents|swarm)\b/i],
18451
+ [
18452
+ "workit-fanout",
18453
+ /\b(fan(?: |-)?out|parallelize|parallel agents|agent swarm|swarm of agents)\b/i
18454
+ ],
18453
18455
  ["workit-verify-app", /\b(verify the app|smoke test|prove it works)\b/i],
18454
- ["workit-retro", /\b(retro|retrospective)\b(?!\.\w)/i],
18456
+ ["workit-retro", /\b((?:a|the) retro(?![-\w]|\.\w)|retrospective)/i],
18455
18457
  ["workit-architecture", /\b(deepen (?:the )?modules|architecture (?:review|pass|audit))\b/i],
18456
18458
  [
18457
18459
  "workit-shape",
@@ -18529,6 +18531,8 @@ var skillReadIn = (command, dialect = "posix") => {
18529
18531
  for (const { words } of segmentsOf(command, dialect)) {
18530
18532
  if (!READERS.has((words[0]?.split(/[\\/]/).at(-1) ?? "").toLowerCase()))
18531
18533
  continue;
18534
+ if (words.some((word) => /^(?:-i(?:\.\w+)?|--in-place(?:=.*)?)$/.test(word)))
18535
+ continue;
18532
18536
  for (const word of words.slice(1)) {
18533
18537
  const skill = skillFileIn(word);
18534
18538
  if (skill)
@@ -18875,7 +18879,7 @@ var CLAUDE_CODE_DESCRIPTOR = {
18875
18879
  perTurn: "native",
18876
18880
  afterCompact: "native",
18877
18881
  task: "session-bound",
18878
- turnResend: "every-turn"
18882
+ turnResend: "on-change"
18879
18883
  },
18880
18884
  subagents: {
18881
18885
  identity: "native",
@@ -37,6 +37,6 @@ if (quiet)
37
37
  process.stdout.write(`${JSON.stringify({ hookSpecificOutput: { hookEventName: quiet } })}
38
38
  `);
39
39
  else {
40
- const { runCodexHook } = await import("./workit-hook-4g395jn3.js");
40
+ const { runCodexHook } = await import("./workit-hook-86r77dqq.js");
41
41
  await runCodexHook([payload]);
42
42
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brainervirus/workit-codex",
3
- "version": "8.5.0",
3
+ "version": "8.6.0",
4
4
  "private": false,
5
5
  "description": "Workit Codex CLI/desktop plugin — shared MCP transport, hooks, and sixteen method skills",
6
6
  "keywords": [
@@ -38,8 +38,8 @@
38
38
  "build": "bun scripts/build.ts"
39
39
  },
40
40
  "dependencies": {
41
- "@brainervirus/workit-core": "^8.5.0",
42
- "@brainervirus/workit-mcp": "^8.5.0"
41
+ "@brainervirus/workit-core": "^8.6.0",
42
+ "@brainervirus/workit-mcp": "^8.6.0"
43
43
  },
44
44
  "engines": {
45
45
  "node": ">=24"