zames_pro 2.82.90 → 2.82.92
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/commands.js +5 -1
- package/dist/goal.js +6 -1
- 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.92] - 2026-10-24
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **goal:** collapse whitespace in the evaluator reason
|
|
15
|
+
|
|
16
|
+
## [2.82.91] - 2026-10-24
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- **goal:** a goal cannot inject a second Current task section
|
|
21
|
+
|
|
10
22
|
## [2.82.90] - 2026-10-24
|
|
11
23
|
|
|
12
24
|
### Fixed
|
package/dist/commands.js
CHANGED
|
@@ -709,9 +709,13 @@ export function withGoal(goal, task) {
|
|
|
709
709
|
if (!g)
|
|
710
710
|
return task;
|
|
711
711
|
const NL = String.fromCharCode(10);
|
|
712
|
+
// The goal is operator text and may itself contain a `Current task:` heading
|
|
713
|
+
// (a pasted prompt). That produced TWO sections and the model worked on the
|
|
714
|
+
// INJECTED task; re-indent such a heading so only OUR line is structural.
|
|
715
|
+
const safeGoal = g.replace(/^(\s*)Current task:/gim, '$1Session goal (continued):');
|
|
712
716
|
return ('Session goal (long-lived — keep it in mind for this and every following task):' +
|
|
713
717
|
NL +
|
|
714
|
-
|
|
718
|
+
safeGoal +
|
|
715
719
|
NL +
|
|
716
720
|
NL +
|
|
717
721
|
'Current task:' +
|
package/dist/goal.js
CHANGED
|
@@ -66,7 +66,12 @@ export function buildContinuationDirective(reason) {
|
|
|
66
66
|
'until it is satisfied. Do not call respond with a final summary until the ' +
|
|
67
67
|
'condition is met.' +
|
|
68
68
|
NL +
|
|
69
|
-
|
|
69
|
+
// Collapse whitespace in the model-written reason: a NEWLINE started a new
|
|
70
|
+
// line of the directive, letting the evaluator's text inject an extra
|
|
71
|
+
// instruction into the next turn.
|
|
72
|
+
(argumentReason(reason)
|
|
73
|
+
? 'Evaluator note: ' + String(reason).trim().replace(/\s+/g, ' ')
|
|
74
|
+
: ''));
|
|
70
75
|
}
|
|
71
76
|
function argumentReason(reason) {
|
|
72
77
|
return String(reason ?? '').trim().length > 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zames_pro",
|
|
3
|
-
"version": "2.82.
|
|
3
|
+
"version": "2.82.92",
|
|
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": {
|