@brainervirus/workit-cursor 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.
@@ -2,7 +2,7 @@
2
2
  "name": "workit",
3
3
  "displayName": "Workit",
4
4
  "description": "Adaptive Workit workflow with shared MCP tools and native Cursor hooks",
5
- "version": "8.5.0",
5
+ "version": "8.6.0",
6
6
  "author": {
7
7
  "name": "Cristhofer Pincetti"
8
8
  },
@@ -17421,12 +17421,11 @@ ${options.addendum}` : ""}
17421
17421
  } catch {}
17422
17422
  writeTurnDigest(file, digest);
17423
17423
  return text;
17424
- }, seedTurnContext = (input, descriptor) => {
17424
+ }, seedTurnContext = (input, descriptor, text = turnContextText(input, descriptor)) => {
17425
17425
  const file = turnMarker(input);
17426
17426
  if (!file)
17427
17427
  return;
17428
17428
  pruneTurnDigests(path16.dirname(file), Date.now());
17429
- const text = turnContextText(input, descriptor);
17430
17429
  if (text)
17431
17430
  writeTurnDigest(file, digestOf(text));
17432
17431
  else
@@ -18472,6 +18471,8 @@ var USER_INVOKED, SKILL_HOST, PROMPT_INTENTS, workitSkillOf = (name) => {
18472
18471
  for (const { words } of segmentsOf(command, dialect)) {
18473
18472
  if (!READERS.has((words[0]?.split(/[\\/]/).at(-1) ?? "").toLowerCase()))
18474
18473
  continue;
18474
+ if (words.some((word) => /^(?:-i(?:\.\w+)?|--in-place(?:=.*)?)$/.test(word)))
18475
+ continue;
18475
18476
  for (const word of words.slice(1)) {
18476
18477
  const skill = skillFileIn(word);
18477
18478
  if (skill)
@@ -18528,7 +18529,7 @@ var init_skill_nudge = __esm(() => {
18528
18529
  PROMPT_INTENTS = [
18529
18530
  [
18530
18531
  "workit-debug",
18531
- /\b(flaky|regression|(?:is|are|got|looks) broken|debug (?:this|it|the|why)|fix (?:the|this|a) bug)\b/i
18532
+ /\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
18532
18533
  ],
18533
18534
  [
18534
18535
  "workit-continue",
@@ -18540,14 +18541,17 @@ var init_skill_nudge = __esm(() => {
18540
18541
  ],
18541
18542
  [
18542
18543
  "workit-ship",
18543
- /\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
18544
+ /\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
18544
18545
  ],
18545
18546
  ["workit-bdd", /\b(BDD|TDD|acceptance criteria|Given\/When\/Then)(?![\w/])/],
18546
18547
  ["workit-test-audit", /\b(test audit|audit the tests|tautolog\w*|weak tests)\b/i],
18547
18548
  ["workit-deslop", /\b(deslop|slop|dead code)\b/i],
18548
- ["workit-fanout", /\b(fan(?: |-)?out|parallelize|parallel agents|swarm)\b/i],
18549
+ [
18550
+ "workit-fanout",
18551
+ /\b(fan(?: |-)?out|parallelize|parallel agents|agent swarm|swarm of agents)\b/i
18552
+ ],
18549
18553
  ["workit-verify-app", /\b(verify the app|smoke test|prove it works)\b/i],
18550
- ["workit-retro", /\b(retro|retrospective)\b(?!\.\w)/i],
18554
+ ["workit-retro", /\b((?:a|the) retro(?![-\w]|\.\w)|retrospective)/i],
18551
18555
  ["workit-architecture", /\b(deepen (?:the )?modules|architecture (?:review|pass|audit))\b/i],
18552
18556
  [
18553
18557
  "workit-shape",
@@ -18929,7 +18933,7 @@ var init_claude_code = __esm(() => {
18929
18933
  perTurn: "native",
18930
18934
  afterCompact: "native",
18931
18935
  task: "session-bound",
18932
- turnResend: "every-turn"
18936
+ turnResend: "on-change"
18933
18937
  },
18934
18938
  subagents: {
18935
18939
  identity: "native",
@@ -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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brainervirus/workit-cursor",
3
- "version": "8.5.0",
3
+ "version": "8.6.0",
4
4
  "private": false,
5
5
  "description": "Workit Cursor plugin — shared MCP transport, native hooks, and sixteen method skills",
6
6
  "keywords": [
@@ -46,8 +46,8 @@
46
46
  "build": "bun scripts/build.ts"
47
47
  },
48
48
  "dependencies": {
49
- "@brainervirus/workit-core": "^8.5.0",
50
- "@brainervirus/workit-mcp": "^8.5.0"
49
+ "@brainervirus/workit-core": "^8.6.0",
50
+ "@brainervirus/workit-mcp": "^8.6.0"
51
51
  },
52
52
  "engines": {
53
53
  "node": ">=24"