newmark-agent 0.6.7 → 0.6.8

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.
@@ -344,7 +344,7 @@ function classifyCliToolOutput(tool, output) {
344
344
  if (/^\[(?:context_compress|context_history_manage)]/i.test(firstLine)) {
345
345
  return { envelope: { ok: false, tool, error: firstLine, route: 'direct' }, exitCode: 4 };
346
346
  }
347
- if (/^\[(?:tool disabled|permission|Subagent sandbox)]/i.test(firstLine)) {
347
+ if (/^\[(?:tool disabled|permission|write gate blocked|Subagent sandbox)]/i.test(firstLine)) {
348
348
  return { envelope: { ok: false, tool, error: firstLine, route: 'direct' }, exitCode: 3 };
349
349
  }
350
350
  if (/abort(?:ed|ing)?/i.test(firstLine)) {