zames_pro 2.82.106 → 2.82.108
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 +12 -0
- package/dist/diagnostics.js +7 -3
- package/dist/system-prompt.js +11 -2
- package/package.json +1 -1
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.108] - 2026-10-24
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **diagnostics:** a mid-line tsc error is not hidden by a zero banner
|
|
15
|
+
|
|
16
|
+
## [2.82.107] - 2026-10-24
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- **prompt:** a multi-line skill description cannot inject a prompt section
|
|
21
|
+
|
|
10
22
|
## [2.82.106] - 2026-10-24
|
|
11
23
|
|
|
12
24
|
### Fixed
|
package/dist/diagnostics.js
CHANGED
|
@@ -34,11 +34,15 @@ export function summarizeDiagnostics(raw, maxChars) {
|
|
|
34
34
|
// appended a pointless diagnostics block.
|
|
35
35
|
const plain = text.replace(/\x1b\[[0-9;?]*[A-Za-z]/g, '');
|
|
36
36
|
const cleanCheck = plain.replace(/^\[[^\]]*\]\s*/, '');
|
|
37
|
-
// The banner is only CLEAN when the output carries NO error-looking
|
|
37
|
+
// The banner is only CLEAN when the output carries NO error-looking text:
|
|
38
38
|
// a webpack/build log prints `ERROR in …` AND its own `Found 0 errors`
|
|
39
39
|
// summary, and the old whole-text check reported that run as clean — the
|
|
40
|
-
// real error never reached the model.
|
|
41
|
-
|
|
40
|
+
// real error never reached the model. The check is NOT anchored to the
|
|
41
|
+
// start of a line: a normal tsc failure is `src/a.ts(1,1): error TS2322: …`
|
|
42
|
+
// and `error` sits MID-LINE; an anchored pattern missed it and a stray
|
|
43
|
+
// `Found 0 errors` (a watch banner in the same buffer) swallowed the real
|
|
44
|
+
// error.
|
|
45
|
+
const hasErrorLine = /\berror\b|✖|✗|TS\d{4}\b/i.test(cleanCheck);
|
|
42
46
|
if (!hasErrorLine) {
|
|
43
47
|
if (/^(?:found\s+)?0\s+errors?\b/im.test(cleanCheck))
|
|
44
48
|
return null;
|
package/dist/system-prompt.js
CHANGED
|
@@ -153,6 +153,15 @@ export function renderContextSection(context) {
|
|
|
153
153
|
' via Edit/Write so it survives ' +
|
|
154
154
|
'into future sessions. Keep entries concise.\n';
|
|
155
155
|
}
|
|
156
|
+
// Metadata is human-written frontmatter and goes INTO the prompt: a
|
|
157
|
+
// newline in a description would start a new prompt line and let the
|
|
158
|
+
// description open its own `## ...` section (an instruction the model then
|
|
159
|
+
// follows). Collapse it to ONE line here, the last line of defence before
|
|
160
|
+
// the prompt is built (the loader also normalizes, but built-ins and future
|
|
161
|
+
// callers do not go through it).
|
|
162
|
+
const oneLine = (v) => String(v ?? '')
|
|
163
|
+
.replace(/\s+/g, ' ')
|
|
164
|
+
.trim();
|
|
156
165
|
if (context.skills.length) {
|
|
157
166
|
const lines = context.skills.map((s) => {
|
|
158
167
|
const tools = s.allowedTools && s.allowedTools.length
|
|
@@ -164,7 +173,7 @@ export function renderContextSection(context) {
|
|
|
164
173
|
s.name +
|
|
165
174
|
tools +
|
|
166
175
|
': ' +
|
|
167
|
-
(s.description || '(no description)') +
|
|
176
|
+
(oneLine(s.description) || '(no description)') +
|
|
168
177
|
loc);
|
|
169
178
|
});
|
|
170
179
|
out +=
|
|
@@ -175,7 +184,7 @@ export function renderContextSection(context) {
|
|
|
175
184
|
SKILLS_DISCIPLINE;
|
|
176
185
|
}
|
|
177
186
|
if (context.commands.length) {
|
|
178
|
-
const lines = context.commands.map((c) => '- /' + c.name + ': ' + (c.description || '(no description)'));
|
|
187
|
+
const lines = context.commands.map((c) => '- /' + c.name + ': ' + (oneLine(c.description) || '(no description)'));
|
|
179
188
|
out +=
|
|
180
189
|
'\n## Custom commands\n\n' +
|
|
181
190
|
'Reusable prompts the operator can invoke with a slash command. If the operator runs one, its body arrives as the task text.\n\n' +
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zames_pro",
|
|
3
|
-
"version": "2.82.
|
|
3
|
+
"version": "2.82.108",
|
|
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": {
|