@tritard/waterbrother 0.6.3 → 0.6.4
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/package.json +1 -1
- package/src/router.js +2 -2
package/package.json
CHANGED
package/src/router.js
CHANGED
|
@@ -14,9 +14,9 @@ function looksLikeWorkRequest(text) {
|
|
|
14
14
|
if (/^(hi|hello|thanks|thank you|help|what can you do)\b/.test(l)) return false;
|
|
15
15
|
if (/^(build it|go|check it|ship it|fix these|ignore|challenge harder|think deeper)\b/.test(l)) return false;
|
|
16
16
|
if (/^[1-9]\d*$/.test(l)) return false;
|
|
17
|
-
const verbStart = /^(add|build|implement|create|fix|refactor|remove|update|wire|support|migrate|improve|audit|review|debug|investigate|clean up|set up|setup|rewrite|port|optimize)\b/;
|
|
17
|
+
const verbStart = /^(add|build|implement|create|fix|refactor|remove|update|wire|support|migrate|improve|audit|review|debug|investigate|clean up|set up|setup|rewrite|port|optimize|write|make|deploy|install|configure|connect|test|run|generate|scaffold|move|rename|delete|extract|split|merge)\b/;
|
|
18
18
|
const suffixHint = /( to the | for the | in the | across | using | with | without )/;
|
|
19
|
-
return verbStart.test(l) || suffixHint.test(l)
|
|
19
|
+
return verbStart.test(l) || (suffixHint.test(l) && verbStart.test(l));
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
function inferPassFromText(text) {
|