zames_pro 2.73.5 → 2.73.7

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,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [2.73.7] - 2026-10-12
11
+
12
+ ### Changed
13
+
14
+ - docs(readme): fix the crooked back-edge arrowheads
15
+
16
+ ## [2.73.6] - 2026-10-12
17
+
18
+ ### Changed
19
+
20
+ - docs(readme): generalize the last DeepSeek-only mentions to both providers
21
+
10
22
  ## [2.73.5] - 2026-10-12
11
23
 
12
24
  ### Changed
package/README.md CHANGED
@@ -156,7 +156,7 @@ sign-in, zames:
156
156
  after a successful sign-in, remembers them for next time;
157
157
  4. otherwise falls back to a manual sign-in hint.
158
158
 
159
- To sign in by hand (for example, if DeepSeek shows a captcha), run with a
159
+ To sign in by hand (for example, if the site shows a captcha), run with a
160
160
  visible window:
161
161
 
162
162
  ```bash
@@ -347,7 +347,8 @@ Codex CLI:
347
347
  - /rename <title> — set the current session title (shown in /sessions).
348
348
  - /copy — copy the last assistant answer to the OS clipboard.
349
349
  - /cost (alias /usage) — session stats: tasks, tool calls, duration, and the
350
- context size in tokens (DeepSeek's `accumulated_token_usage`).
350
+ context size in tokens (DeepSeek's `accumulated_token_usage`; Qwen
351
+ reports `input_tokens`).
351
352
  - /export [file] — write the session transcript to a Markdown file
352
353
  (zames-export-<stamp>.md by default).
353
354
  - /doctor — diagnose node, git, config, browser, clipboard, MCP and the
@@ -394,8 +395,9 @@ tests`). /cron "<min> <hour> <dom> <month> <dow>" <task> — run on a schedule.
394
395
  The token context is also shown live: the status line above the input has the
395
396
  spinner/text on the left and the context on the right (e.g. `125k · 13%`,
396
397
  percent of a 1M context). It is COLORED by fill level: green below 50%,
397
- yellow 50-80%, red above 80%. It comes from DeepSeek's
398
- `accumulated_token_usage` and is hidden until the first answer delivers it.
398
+ yellow 50-80%, red above 80%. It comes from the provider's own token
399
+ counter (DeepSeek's `accumulated_token_usage`, Qwen's `input_tokens`) and is
400
+ hidden until the first answer delivers it.
399
401
 
400
402
  ## Project context, skills and memory
401
403
 
@@ -434,7 +436,7 @@ Skills and custom commands show up in the «/» completion list and in `/help`.
434
436
  zames can use tools from [MCP](https://modelcontextprotocol.io) servers.
435
437
  The flagship example is @playwright/mcp: it gives the agent a real browser
436
438
  (navigate, click, snapshot, type, ...) on top of the one zames already uses
437
- for the DeepSeek chat.
439
+ for the DeepSeek or Qwen chat.
438
440
 
439
441
  Drop a config file (same shape as Claude Code / Cursor):
440
442
 
@@ -692,7 +694,7 @@ zames не вызывает API модели. Он запускает headless C
692
694
  запоминает их для следующего раза;
693
695
  4. иначе показывает подсказку про ручной вход.
694
696
 
695
- Чтобы войти руками (например, если DeepSeek показывает капчу), запустите с
697
+ Чтобы войти руками (например, если сайт показывает капчу), запустите с
696
698
  видимым окном:
697
699
 
698
700
  ```bash
@@ -886,8 +888,8 @@ zames --task "..." --output-format jsonl \
886
888
  - /rename <title> — задать заголовок текущей сессии (виден в /sessions).
887
889
  - /copy — скопировать последний ответ ассистента в буфер обмена ОС.
888
890
  - /cost (алиас /usage) — статистика сессии: задачи, вызовы инструментов,
889
- длительность и размер контекста в токенах (DeepSeek
890
- `accumulated_token_usage`).
891
+ длительность и размер контекста в токенах (у DeepSeek —
892
+ `accumulated_token_usage`, у Qwen — `input_tokens`).
891
893
  - /export [file] — записать транскрипт сессии в Markdown-файл
892
894
  (по умолчанию zames-export-<stamp>.md).
893
895
  - /doctor — диагностика node, git, конфига, браузера, буфера обмена, MCP и
@@ -936,8 +938,8 @@ zames --task "..." --output-format jsonl \
936
938
  Контекст в токенах показывается и вживую: в строке статуса над вводом слева
937
939
  спиннер/текст, справа — контекст (например, `125k · 13%`, процент от 1M
938
940
  контекста). Он ОКРАШЕН по уровню заполнения: зелёный ниже 50%, жёлтый 50-80%,
939
- красный выше 80%. Значение приходит из DeepSeek `accumulated_token_usage` и
940
- скрыто до первого ответа.
941
+ красный выше 80%. Значение приходит из счётчика токенов провайдера (у DeepSeek —
942
+ `accumulated_token_usage`, у Qwen — `input_tokens`) и скрыто до первого ответа.
941
943
 
942
944
  ## Контекст проекта, навыки и память
943
945
 
@@ -977,7 +979,7 @@ zames --task "..." --output-format jsonl \
977
979
  zames может использовать инструменты с серверов [MCP](https://modelcontextprotocol.io).
978
980
  Главный пример — @playwright/mcp: он даёт агенту настоящий браузер
979
981
  (navigate, click, snapshot, type, ...) поверх того, который zames уже
980
- использует для чата DeepSeek.
982
+ использует для чата DeepSeek или Qwen.
981
983
 
982
984
  Положите файл конфига (той же формы, что в Claude Code / Cursor):
983
985
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zames_pro",
3
- "version": "2.73.5",
3
+ "version": "2.73.7",
4
4
  "description": "Terminal coding agent that drives a real browser to chat with DeepSeek, Qwen and other web LLMs — 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": {
@@ -167,7 +167,7 @@ const back = (leftX: number, rightX: number, text: string): string => {
167
167
  d +
168
168
  '" fill="none" stroke="' +
169
169
  TEXT +
170
- '" stroke-width="1.6" marker-end="url(#au)"/>' +
170
+ '" stroke-width="1.6" marker-end="url(#ar)"/>' +
171
171
  label(mid, BACK_Y - 6, text)
172
172
  )
173
173
  }
@@ -187,12 +187,13 @@ const svg =
187
187
  H +
188
188
  '">' +
189
189
  '<defs>' +
190
- // right-pointing arrowhead
191
- '<marker id="ar" markerWidth="10" markerHeight="10" refX="9" refY="3" orient="auto" markerUnits="strokeWidth"><path d="M0,0 L9,3 L0,6 z" fill="' +
192
- TEXT +
193
- '"/></marker>' +
194
- // up-pointing arrowhead (for the back edges arriving at a bottom edge)
195
- '<marker id="au" markerWidth="10" markerHeight="10" refX="3" refY="2" orient="auto" markerUnits="strokeWidth"><path d="M0,6 L3,0 L6,6 z" fill="' +
190
+ // ONE right-pointing arrowhead, tip at local (10,5) so refX=10/refY=5 lands
191
+ // the tip exactly on the path end. `orient="auto"` rotates the marker to
192
+ // follow the path tangent, so the SAME marker works for a horizontal forward
193
+ // edge and for the vertical/up back edge. (Authoring the up arrow as an
194
+ // up-pointing triangle was the bug: orient=auto rotated it AGAIN, giving the
195
+ // crooked tip.)
196
+ '<marker id="ar" markerWidth="12" markerHeight="12" refX="10" refY="5" orient="auto" markerUnits="userSpaceOnUse"><path d="M0,0 L10,5 L0,10 z" fill="' +
196
197
  TEXT +
197
198
  '"/></marker>' +
198
199
  '</defs>' +