zames_pro 2.82.25 → 2.82.26
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 +6 -0
- package/dist/path-token.js +17 -2
- package/package.json +1 -1
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.82.26] - 2026-10-22
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **context:** split a comma-separated @file list into references
|
|
15
|
+
|
|
10
16
|
## [2.82.25] - 2026-10-22
|
|
11
17
|
|
|
12
18
|
### Fixed
|
package/dist/path-token.js
CHANGED
|
@@ -107,13 +107,22 @@ export function extractAtFileRefs(text) {
|
|
|
107
107
|
continue;
|
|
108
108
|
}
|
|
109
109
|
const prev = i > 0 ? chars[i - 1] : '';
|
|
110
|
-
|
|
110
|
+
// A comma separates list items: `@a.ts,@b.ts` is TWO references. The
|
|
111
|
+
// comma itself is not a boundary (it is stripped as prose punctuation),
|
|
112
|
+
// so without this the second `@` never started a new scan and its file was
|
|
113
|
+
// never inlined.
|
|
114
|
+
if (prev && !isRefBoundary(prev) && prev !== ',') {
|
|
111
115
|
i++;
|
|
112
116
|
continue;
|
|
113
117
|
}
|
|
114
118
|
let j = i + 1;
|
|
115
119
|
let tok = '';
|
|
116
120
|
while (j < n && !isRefEnd(chars[j])) {
|
|
121
|
+
// A COMMA directly followed by another `@` starts the NEXT reference:
|
|
122
|
+
// `@a.ts,@b.ts` is a list, and scanning to whitespace made the whole
|
|
123
|
+
// `a.ts,@b.ts` one path, so neither file was inlined.
|
|
124
|
+
if (chars[j] === ',' && chars[j + 1] === '@')
|
|
125
|
+
break;
|
|
117
126
|
tok += chars[j];
|
|
118
127
|
j++;
|
|
119
128
|
}
|
|
@@ -122,7 +131,13 @@ export function extractAtFileRefs(text) {
|
|
|
122
131
|
seen.add(cleaned);
|
|
123
132
|
out.push(cleaned);
|
|
124
133
|
}
|
|
125
|
-
|
|
134
|
+
// The break above leaves `j` ON the comma; step past it so the next `@`
|
|
135
|
+
// is seen as the start of a reference. When the scan ended on a
|
|
136
|
+
// terminator instead, continue AFTER it.
|
|
137
|
+
if (chars[j] === ',' && chars[j + 1] === '@')
|
|
138
|
+
i = j + 1;
|
|
139
|
+
else
|
|
140
|
+
i = j > i + 1 ? j : i + 1;
|
|
126
141
|
}
|
|
127
142
|
return out;
|
|
128
143
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zames_pro",
|
|
3
|
-
"version": "2.82.
|
|
3
|
+
"version": "2.82.26",
|
|
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": {
|