zames_pro 2.82.121 → 2.82.122

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,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.122] - 2026-10-24
11
+
12
+ ### Fixed
13
+
14
+ - **context:** a file that does not fit the pool does not drop the rest
15
+
10
16
  ## [2.82.121] - 2026-10-24
11
17
 
12
18
  ### Fixed
package/dist/context.js CHANGED
@@ -584,8 +584,12 @@ export async function loadProjectContext(workdir, touchPaths = []) {
584
584
  let used = 0;
585
585
  const kept = [];
586
586
  for (const f of files) {
587
+ // SKIP a file that does not fit the remaining pool, do NOT end the
588
+ // chain: the chain runs global -> root -> ... -> workdir, so one large
589
+ // file used to drop every SMALLER, MORE SPECIFIC file after it — the
590
+ // most specific instructions are exactly the ones lost.
587
591
  if (used + f.content.length > total)
588
- break;
592
+ continue;
589
593
  used += f.content.length;
590
594
  kept.push(f);
591
595
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zames_pro",
3
- "version": "2.82.121",
3
+ "version": "2.82.122",
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": {