@tritard/waterbrother 0.12.5 → 0.12.7
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/cli.js +1 -1
- package/src/product.js +2 -2
package/package.json
CHANGED
package/src/cli.js
CHANGED
|
@@ -5102,7 +5102,7 @@ Be concrete about surfaces — name actual pages/flows. Choose the best stack fo
|
|
|
5102
5102
|
context.runtime.product = product;
|
|
5103
5103
|
const lower = line.trim().toLowerCase();
|
|
5104
5104
|
|
|
5105
|
-
if (/^(build|build it|build the product|scaffold|go)
|
|
5105
|
+
if (/^(build|build it|build the product|scaffold|go|build this|build that|yes build|ok build|let's build|start building|build i guess|just build|do it|yes)/.test(lower)) {
|
|
5106
5106
|
const productCtx = buildProductContext(product);
|
|
5107
5107
|
const planned = product.surfaces.filter((s) => s.status === "planned").map((s) => s.name);
|
|
5108
5108
|
|
package/src/product.js
CHANGED
|
@@ -244,8 +244,8 @@ export function buildProductContext(product) {
|
|
|
244
244
|
|
|
245
245
|
export function detectProductRequest(text) {
|
|
246
246
|
const lower = text.toLowerCase().trim();
|
|
247
|
-
return /^(i want|build me|make me|create|i need|can you build|help me build|let's build|we need)\b/.test(lower)
|
|
248
|
-
&& /\b(app|site|website|page|platform|tool|dashboard|store|shop|blog|portfolio|saas|api|bot|game)\b/.test(lower);
|
|
247
|
+
return /^(i want|build me|make me|create|i need|can you build|help me build|let's build|let me build|we need|build an?|build the|build my|make an?|make the|make my|create an?|create the|create my)\b/.test(lower)
|
|
248
|
+
&& /\b(app|site|website|page|platform|tool|dashboard|store|shop|blog|portfolio|saas|api|bot|game|landing|marketplace|tracker|manager)\b/.test(lower);
|
|
249
249
|
}
|
|
250
250
|
|
|
251
251
|
export function parseProductIntent(text) {
|