neurastream 0.2.1 → 0.2.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/package.json +1 -1
- package/src/core/guards.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "neurastream",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Guardrails for running many AI coding agents at once: plan queue, blockers, call budgets, provider caps, scoring, merge-verified close.",
|
|
5
5
|
"keywords": ["ai-agents", "coding-agents", "orchestration", "guardrails", "omp", "bun", "cli"],
|
|
6
6
|
"homepage": "https://github.com/umiddey/neurastream#readme",
|
package/src/core/guards.ts
CHANGED
|
@@ -183,10 +183,10 @@ export function bypassRegExp(entry: string): RegExp {
|
|
|
183
183
|
const RESEARCH_ASK = /\b(research|investigate|find where|map the code|read the code for)\b/i;
|
|
184
184
|
const PLAN_WRITE = /\b(write|writing|draft|drafting|author)\b[^\n]*\bplan\b/i;
|
|
185
185
|
|
|
186
|
-
// Phase ids (P1, P2 ...) in the plan's Phases section that are not ticked yet.
|
|
186
|
+
// Phase ids (P1, P2, P4a ...) in the plan's Phases section that are not ticked yet.
|
|
187
187
|
function unticked(p: Plan): string[] {
|
|
188
188
|
const phases = q.sections(p.text).get("phases") ?? "";
|
|
189
|
-
return [...phases.matchAll(/^\s*[-*]\s+\[ \]\s+(P\d+)\b/gm)].map(m => m[1]!);
|
|
189
|
+
return [...phases.matchAll(/^\s*[-*]\s+\[ \]\s+(P\d+[a-z]?)\b/gm)].map(m => m[1]!);
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
// Plans an implementer brief may run on; returns [reason, null] or [null, plan files].
|