zames_pro 2.10.0 → 2.10.1

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.
@@ -334,10 +334,12 @@ export async function runAgentLoop({ browser, tools, task, workdir, maxIteration
334
334
  continue;
335
335
  }
336
336
  const suspiciousFinal = responseLooksLikeToolCall(rawResponse) ||
337
+ looksLikeUnfinishedWork((rawResponse || '').trim()) ||
337
338
  !(rawResponse || '').trim();
338
339
  if (suspiciousFinal) {
339
- // The answer LOOKS like a call (or is empty) but could not be parsed
340
- // even after all retries: warn the operator.
340
+ // The answer LOOKS like a call / promises work / is empty, but could
341
+ // not be turned into a tool call even after all retries: warn the
342
+ // operator instead of silently printing e.g. "Stale. Let me verify".
341
343
  transcript?.log('suspicious_final', { response: rawResponse });
342
344
  onWarning(translate(locale)('msg.suspicious_stop'));
343
345
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zames_pro",
3
- "version": "2.10.0",
3
+ "version": "2.10.1",
4
4
  "description": "Terminal coding agent over chat.deepseek.com via Playwright",
5
5
  "type": "module",
6
6
  "bin": {