@brainervirus/workit-pi 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.
- package/dist/workit.js +9 -4
- package/package.json +1 -1
package/dist/workit.js
CHANGED
|
@@ -20013,7 +20013,7 @@ var SKILL_HOST = {
|
|
|
20013
20013
|
var PROMPT_INTENTS = [
|
|
20014
20014
|
[
|
|
20015
20015
|
"workit-debug",
|
|
20016
|
-
/\b(flaky|regression|(?:is|are|got|looks) broken|debug (?:this|it|the|why)|fix (?:the|this|a) bug)\b/i
|
|
20016
|
+
/\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
|
|
20017
20017
|
],
|
|
20018
20018
|
[
|
|
20019
20019
|
"workit-continue",
|
|
@@ -20025,14 +20025,17 @@ var PROMPT_INTENTS = [
|
|
|
20025
20025
|
],
|
|
20026
20026
|
[
|
|
20027
20027
|
"workit-ship",
|
|
20028
|
-
/\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
|
|
20028
|
+
/\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
|
|
20029
20029
|
],
|
|
20030
20030
|
["workit-bdd", /\b(BDD|TDD|acceptance criteria|Given\/When\/Then)(?![\w/])/],
|
|
20031
20031
|
["workit-test-audit", /\b(test audit|audit the tests|tautolog\w*|weak tests)\b/i],
|
|
20032
20032
|
["workit-deslop", /\b(deslop|slop|dead code)\b/i],
|
|
20033
|
-
[
|
|
20033
|
+
[
|
|
20034
|
+
"workit-fanout",
|
|
20035
|
+
/\b(fan(?: |-)?out|parallelize|parallel agents|agent swarm|swarm of agents)\b/i
|
|
20036
|
+
],
|
|
20034
20037
|
["workit-verify-app", /\b(verify the app|smoke test|prove it works)\b/i],
|
|
20035
|
-
["workit-retro", /\b(
|
|
20038
|
+
["workit-retro", /\b((?:a|the) retro(?![-\w]|\.\w)|retrospective)/i],
|
|
20036
20039
|
["workit-architecture", /\b(deepen (?:the )?modules|architecture (?:review|pass|audit))\b/i],
|
|
20037
20040
|
[
|
|
20038
20041
|
"workit-shape",
|
|
@@ -20110,6 +20113,8 @@ var skillReadIn = (command, dialect = "posix") => {
|
|
|
20110
20113
|
for (const { words } of segmentsOf(command, dialect)) {
|
|
20111
20114
|
if (!READERS.has((words[0]?.split(/[\\/]/).at(-1) ?? "").toLowerCase()))
|
|
20112
20115
|
continue;
|
|
20116
|
+
if (words.some((word) => /^(?:-i(?:\.\w+)?|--in-place(?:=.*)?)$/.test(word)))
|
|
20117
|
+
continue;
|
|
20113
20118
|
for (const word of words.slice(1)) {
|
|
20114
20119
|
const skill = skillFileIn(word);
|
|
20115
20120
|
if (skill)
|