@hasna/terminal 1.3.5 → 1.3.6
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/cli.js +2 -5
- package/package.json +1 -1
- package/src/cli.tsx +2 -5
package/dist/cli.js
CHANGED
|
@@ -457,11 +457,8 @@ else if (args.length > 0) {
|
|
|
457
457
|
const rawTokens = estimateTokens(raw);
|
|
458
458
|
recordUsage(rawTokens);
|
|
459
459
|
// Test output detection
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
console.log(formatWatchResult(result));
|
|
463
|
-
process.exit(0);
|
|
464
|
-
}
|
|
460
|
+
// Test output: skip watchlist, let AI framing handle it
|
|
461
|
+
// The AI reads "42 pass, 0 fail" better than regex parsing bun's mixed output
|
|
465
462
|
// Frame-first pipeline: AI answers the question, lazy is fallback
|
|
466
463
|
// For question-type prompts, answer framing runs BEFORE lazy mode
|
|
467
464
|
const isQuestion = /^(what|which|how|is|are|does|do|can|should|where|who|why|am|was|were|has|have|will)\b/i.test(prompt) || prompt.includes("?");
|
package/package.json
CHANGED
package/src/cli.tsx
CHANGED
|
@@ -440,11 +440,8 @@ else if (args.length > 0) {
|
|
|
440
440
|
recordUsage(rawTokens);
|
|
441
441
|
|
|
442
442
|
// Test output detection
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
console.log(formatWatchResult(result));
|
|
446
|
-
process.exit(0);
|
|
447
|
-
}
|
|
443
|
+
// Test output: skip watchlist, let AI framing handle it
|
|
444
|
+
// The AI reads "42 pass, 0 fail" better than regex parsing bun's mixed output
|
|
448
445
|
|
|
449
446
|
// Frame-first pipeline: AI answers the question, lazy is fallback
|
|
450
447
|
// For question-type prompts, answer framing runs BEFORE lazy mode
|