zames_pro 2.82.24 → 2.82.25

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.25] - 2026-10-22
11
+
12
+ ### Fixed
13
+
14
+ - **context:** pull scoped AGENTS.md for a file path in the task
15
+
10
16
  ## [2.82.24] - 2026-10-22
11
17
 
12
18
  ### Fixed
package/dist/context.js CHANGED
@@ -602,9 +602,16 @@ function touchedDirs(workdir, text) {
602
602
  const abs = path.isAbsolute(w) ? w : path.resolve(root, w);
603
603
  if (abs !== root && !abs.startsWith(root + path.sep))
604
604
  continue;
605
- // Walk from the deepest directory that actually exists up to the root.
605
+ // Walk from the deepest directory that actually exists up to the root. A
606
+ // token that names a FILE (`sub/file.ts`) is not a directory: starting the
607
+ // climb at it never found a directory and the scoped rules were silently
608
+ // dropped for the most common way to name a file in a task.
606
609
  let dir = abs;
607
610
  let st = statSyncSafe(dir);
611
+ if (st && !st.isDirectory()) {
612
+ dir = path.dirname(dir);
613
+ st = statSyncSafe(dir);
614
+ }
608
615
  while (!st && dir !== root && dir.startsWith(root + path.sep)) {
609
616
  dir = path.dirname(dir);
610
617
  st = statSyncSafe(dir);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zames_pro",
3
- "version": "2.82.24",
3
+ "version": "2.82.25",
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": {