neurastream 0.2.39 → 0.2.40

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neurastream",
3
- "version": "0.2.39",
3
+ "version": "0.2.40",
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": [
6
6
  "ai-agents",
@@ -33,6 +33,8 @@ export function queueCancel(args: string[], cfg: Config): number {
33
33
 
34
34
  if (args[0] === "--not-a-cancel") {
35
35
  const why = (args[1] ?? "").trim();
36
+ // Only a message main-guard flagged needs an answer; a bare call is a wasted round.
37
+ if (!cancelPending()) die("nothing is flagged: main-guard did not see cancel words, so there is nothing to record");
36
38
  if (why.length < 10) die(`say why the message was no cancel (at least 10 characters). ${usage}`);
37
39
  clearPending(`not a cancel: ${why}`);
38
40
  console.log("queue-cancel: noted, not a cancel");