@brainervirus/workit-cursor 8.5.0 → 8.5.2

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.5.2",
6
6
  "author": {
7
7
  "name": "Cristhofer Pincetti"
8
8
  },
@@ -18472,6 +18472,8 @@ var USER_INVOKED, SKILL_HOST, PROMPT_INTENTS, workitSkillOf = (name) => {
18472
18472
  for (const { words } of segmentsOf(command, dialect)) {
18473
18473
  if (!READERS.has((words[0]?.split(/[\\/]/).at(-1) ?? "").toLowerCase()))
18474
18474
  continue;
18475
+ if (words.some((word) => /^(?:-i(?:\.\w+)?|--in-place(?:=.*)?)$/.test(word)))
18476
+ continue;
18475
18477
  for (const word of words.slice(1)) {
18476
18478
  const skill = skillFileIn(word);
18477
18479
  if (skill)
@@ -18528,7 +18530,7 @@ var init_skill_nudge = __esm(() => {
18528
18530
  PROMPT_INTENTS = [
18529
18531
  [
18530
18532
  "workit-debug",
18531
- /\b(flaky|regression|(?:is|are|got|looks) broken|debug (?:this|it|the|why)|fix (?:the|this|a) bug)\b/i
18533
+ /\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
18534
  ],
18533
18535
  [
18534
18536
  "workit-continue",
@@ -18540,14 +18542,17 @@ var init_skill_nudge = __esm(() => {
18540
18542
  ],
18541
18543
  [
18542
18544
  "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
18545
+ /\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
18546
  ],
18545
18547
  ["workit-bdd", /\b(BDD|TDD|acceptance criteria|Given\/When\/Then)(?![\w/])/],
18546
18548
  ["workit-test-audit", /\b(test audit|audit the tests|tautolog\w*|weak tests)\b/i],
18547
18549
  ["workit-deslop", /\b(deslop|slop|dead code)\b/i],
18548
- ["workit-fanout", /\b(fan(?: |-)?out|parallelize|parallel agents|swarm)\b/i],
18550
+ [
18551
+ "workit-fanout",
18552
+ /\b(fan(?: |-)?out|parallelize|parallel agents|agent swarm|swarm of agents)\b/i
18553
+ ],
18549
18554
  ["workit-verify-app", /\b(verify the app|smoke test|prove it works)\b/i],
18550
- ["workit-retro", /\b(retro|retrospective)\b(?!\.\w)/i],
18555
+ ["workit-retro", /\b((?:a|the) retro(?![-\w]|\.\w)|retrospective)/i],
18551
18556
  ["workit-architecture", /\b(deepen (?:the )?modules|architecture (?:review|pass|audit))\b/i],
18552
18557
  [
18553
18558
  "workit-shape",
@@ -18432,7 +18432,7 @@ var SKILL_HOST = {
18432
18432
  var PROMPT_INTENTS = [
18433
18433
  [
18434
18434
  "workit-debug",
18435
- /\b(flaky|regression|(?:is|are|got|looks) broken|debug (?:this|it|the|why)|fix (?:the|this|a) bug)\b/i
18435
+ /\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
18436
  ],
18437
18437
  [
18438
18438
  "workit-continue",
@@ -18444,14 +18444,17 @@ var PROMPT_INTENTS = [
18444
18444
  ],
18445
18445
  [
18446
18446
  "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
18447
+ /\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
18448
  ],
18449
18449
  ["workit-bdd", /\b(BDD|TDD|acceptance criteria|Given\/When\/Then)(?![\w/])/],
18450
18450
  ["workit-test-audit", /\b(test audit|audit the tests|tautolog\w*|weak tests)\b/i],
18451
18451
  ["workit-deslop", /\b(deslop|slop|dead code)\b/i],
18452
- ["workit-fanout", /\b(fan(?: |-)?out|parallelize|parallel agents|swarm)\b/i],
18452
+ [
18453
+ "workit-fanout",
18454
+ /\b(fan(?: |-)?out|parallelize|parallel agents|agent swarm|swarm of agents)\b/i
18455
+ ],
18453
18456
  ["workit-verify-app", /\b(verify the app|smoke test|prove it works)\b/i],
18454
- ["workit-retro", /\b(retro|retrospective)\b(?!\.\w)/i],
18457
+ ["workit-retro", /\b((?:a|the) retro(?![-\w]|\.\w)|retrospective)/i],
18455
18458
  ["workit-architecture", /\b(deepen (?:the )?modules|architecture (?:review|pass|audit))\b/i],
18456
18459
  [
18457
18460
  "workit-shape",
@@ -18529,6 +18532,8 @@ var skillReadIn = (command, dialect = "posix") => {
18529
18532
  for (const { words } of segmentsOf(command, dialect)) {
18530
18533
  if (!READERS.has((words[0]?.split(/[\\/]/).at(-1) ?? "").toLowerCase()))
18531
18534
  continue;
18535
+ if (words.some((word) => /^(?:-i(?:\.\w+)?|--in-place(?:=.*)?)$/.test(word)))
18536
+ continue;
18532
18537
  for (const word of words.slice(1)) {
18533
18538
  const skill = skillFileIn(word);
18534
18539
  if (skill)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brainervirus/workit-cursor",
3
- "version": "8.5.0",
3
+ "version": "8.5.2",
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.5.2",
50
+ "@brainervirus/workit-mcp": "^8.5.2"
51
51
  },
52
52
  "engines": {
53
53
  "node": ">=24"