teapot-coding-agent 0.37.206 → 0.37.208

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.
@@ -1776,6 +1776,16 @@ export class Agent {
1776
1776
  detail: "the completion audit rejected the same goal repeatedly ? stopping to avoid an unbounded retry loop",
1777
1777
  });
1778
1778
  this.consecutiveAuditRejects = 0;
1779
+ /**
1780
+ * …but a prompt that arrived DURING the audit is still owed an answer.
1781
+ *
1782
+ * This break sits before the `pendingPrompts` check below, so ending the loop here left a prompt queued with nothing
1783
+ * to drain it: `isLive()` reads `pendingPrompts.length > 0`, so the agent showed `waiting` for ever and the operator's
1784
+ * message was never delivered — "audit中にプロンプトを送るとaudit完了してもwaitingステータスが切れずにデッドロック
1785
+ * してそう". The cap is about the AUDIT loop, not about ignoring the operator.
1786
+ */
1787
+ if (this.pendingPrompts.length)
1788
+ continue;
1779
1789
  break;
1780
1790
  }
1781
1791
  if (this.pendingPrompts.length)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "teapot-coding-agent",
3
- "version": "0.37.206",
3
+ "version": "0.37.208",
4
4
  "description": "A lightweight, always-on multi-agent harness for AI coding agents",
5
5
  "type": "module",
6
6
  "license": "AGPL-3.0-or-later",