zames_pro 2.82.30 → 2.82.32

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.32] - 2026-10-22
11
+
12
+ ### Fixed
13
+
14
+ - **git:** split a comma-separated paths argument
15
+
16
+ ## [2.82.31] - 2026-10-22
17
+
18
+ ### Fixed
19
+
20
+ - **mcp:** keep a string content block whole
21
+
10
22
  ## [2.82.30] - 2026-10-22
11
23
 
12
24
  ### Fixed
package/dist/gitTools.js CHANGED
@@ -65,7 +65,10 @@ export function splitPaths(input) {
65
65
  quote = ch;
66
66
  continue;
67
67
  }
68
- if (ch === ' ' || ch === '\t' || ch === '\n') {
68
+ if (ch === ' ' || ch === '\t' || ch === '\n' || ch === ',') {
69
+ // A COMMA separates pathspecs too: models write lists the prose way
70
+ // (`"a.txt, b.txt"`), and leaving it on the first path made git look for
71
+ // a file whose name ends with a comma.
69
72
  if (cur)
70
73
  out.push(cur);
71
74
  cur = '';
package/dist/mcp.js CHANGED
@@ -223,8 +223,16 @@ export function renderMcpResult(result, limit = MCP_RESULT_LIMIT) {
223
223
  if (r.toolResult !== undefined && !r.content) {
224
224
  return truncateMcpResult(formatResultString(r.toolResult, r.isError), limit);
225
225
  }
226
+ // `content` is an ARRAY per the SDK, but a hand-rolled/buggy server may put
227
+ // a STRING there. Iterating that string yielded one part per CHARACTER and
228
+ // the result became `n\n\no\n\nt...` instead of the text.
229
+ const blocks = Array.isArray(r.content)
230
+ ? r.content
231
+ : typeof r.content === 'string'
232
+ ? [{ type: 'text', text: r.content }]
233
+ : [];
226
234
  const parts = [];
227
- for (const block of r.content || []) {
235
+ for (const block of blocks) {
228
236
  if (!block || typeof block !== 'object') {
229
237
  parts.push(String(block ?? ''));
230
238
  continue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zames_pro",
3
- "version": "2.82.30",
3
+ "version": "2.82.32",
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": {