zames_pro 2.94.5 → 2.94.6

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/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [2.94.6] - 2026-11-03
11
+
12
+ ### Fixed
13
+
14
+ - **ui:** clear the generating badge as soon as an answer comes back
15
+
10
16
  ## [2.94.5] - 2026-11-03
11
17
 
12
18
  ### Changed
@@ -49,6 +49,7 @@ export async function runAgentLoop({ browser, tools, task, workdir, maxIteration
49
49
  // Coarse lifecycle of the send (generating/paused/settled) for the status
50
50
  // line. Same best-effort wiring as the other hooks.
51
51
  browser.onSendState = safe(onSendState);
52
+ const safeSendState = safe(onSendState);
52
53
  // Service notices (rate limit, server busy, resend) must reach the OPERATOR.
53
54
  // While a LineEditor is active a raw console.error is overwritten by the
54
55
  // editor's repaint, so the operator only saw the spinner. `onNotice` prints
@@ -425,6 +426,12 @@ export async function runAgentLoop({ browser, tools, task, workdir, maxIteration
425
426
  }
426
427
  await reportChat();
427
428
  transcript?.log('assistant_raw', { response: rawResponse });
429
+ // A returned answer is a FINISHED generation: clear the "generating" badge
430
+ // NOW, not when the next ask() happens to start. The operator used to see
431
+ // "▶ генерация" for minutes after the answer had already been printed
432
+ // (the tool-call parsing, a long Bash run) - it looked like the agent was
433
+ // still generating with nothing in flight.
434
+ safeSendState('settled');
428
435
  // The user aborted generation (Esc/Ctrl+C).
429
436
  if (/^\s*\(прервано пользователем\)\s*$/.test(rawResponse)) {
430
437
  transcript?.log('user_aborted');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zames_pro",
3
- "version": "2.94.5",
3
+ "version": "2.94.6",
4
4
  "description": "Terminal coding agent that drives a real browser to chat with DeepSeek, Qwen or GLM — no API key required. Reads and edits files, runs commands, commits to git, like Claude Code / Codex CLI.",
5
5
  "type": "module",
6
6
  "bin": {