zames_pro 2.82.123 → 2.82.125

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.82.125] - 2026-10-24
11
+
12
+ ### Fixed
13
+
14
+ - **doctor:** a value with a newline cannot fake a doctor row
15
+
16
+ ## [2.82.124] - 2026-10-24
17
+
18
+ ### Fixed
19
+
20
+ - **mcp:** a schema property named __proto__ becomes a real parameter
21
+
10
22
  ## [2.82.123] - 2026-10-24
11
23
 
12
24
  ### Fixed
package/dist/commands.js CHANGED
@@ -317,7 +317,11 @@ export function defaultExportPath(workdir, now = new Date()) {
317
317
  export function renderDoctor(d, t = translate('en')) {
318
318
  const rows = [];
319
319
  const row = (ok, label, value) => {
320
- rows.push(' ' + (ok ? '[OK] ' : '[WARN]') + ' ' + label.padEnd(16) + ' ' + value);
320
+ // Values come from the ENVIRONMENT and from operator input (the working
321
+ // directory, a model id, an error message): a newline in one would start
322
+ // a new terminal line and fake another doctor row. One row = one line.
323
+ const oneLine = String(value ?? '').replace(/\s+/g, ' ');
324
+ rows.push(' ' + (ok ? '[OK] ' : '[WARN]') + ' ' + label.padEnd(16) + ' ' + oneLine);
321
325
  };
322
326
  const onoff = (b) => (b ? t('common.on') : t('common.off'));
323
327
  row(true, 'node', d.nodeVersion);
package/dist/mcp.js CHANGED
@@ -158,7 +158,11 @@ export async function loadConfigFiles(files) {
158
158
  // We also keep the full schema in the tool description, so the model sees
159
159
  // descriptions/enums/required fields that the flat map cannot convey.
160
160
  export function jsonSchemaToParams(schema) {
161
- const out = {};
161
+ // Property NAMES come from the server and are arbitrary text: assigning to a
162
+ // plain object, a name like `__proto__` mutates the object's PROTOTYPE and
163
+ // the parameter silently disappears from the prompt (the same class as the
164
+ // tool-count maps in /cost). Null-prototype map: every key is an own key.
165
+ const out = Object.create(null);
162
166
  if (!schema || typeof schema !== 'object')
163
167
  return out;
164
168
  const s = schema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zames_pro",
3
- "version": "2.82.123",
3
+ "version": "2.82.125",
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": {