@nanobpm/nano-coder 0.29.1 → 0.29.2

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.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -634,7 +634,9 @@ sets the window). The window a server has *loaded* is preferred over the model's
634
634
 
635
635
  Compaction asks the current model to summarize older messages, keeping the recent tail
636
636
  (up to 20k tokens, never starting at a tool result). Auto-compaction runs before a model
637
- call when usage passes the threshold. It won't run again until the context has grown by
637
+ call when usage passes the threshold, or earlier if the prompt would leave less than the
638
+ reserved output room (`MIN_OUTPUT_RESERVE`, plus an estimation margin) within the window.
639
+ It won't run again until the context has grown by
638
640
  another 10% of the window, so a context that can't shrink isn't summarized on every call.
639
641
  If summarizing fails, the older messages are dropped with a note. The session log records
640
642
  the new conversation, so `--resume` continues from it.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nanobpm/nano-coder",
3
- "version": "0.29.1",
3
+ "version": "0.29.2",
4
4
  "description": "A 6MB coding agent. Run a fleet on your laptop.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -31,9 +31,9 @@
31
31
  "node": ">=18"
32
32
  },
33
33
  "optionalDependencies": {
34
- "@nanobpm/nano-coder-darwin-arm64": "0.29.1",
35
- "@nanobpm/nano-coder-darwin-x64": "0.29.1",
36
- "@nanobpm/nano-coder-linux-arm64": "0.29.1",
37
- "@nanobpm/nano-coder-linux-x64": "0.29.1"
34
+ "@nanobpm/nano-coder-darwin-arm64": "0.29.2",
35
+ "@nanobpm/nano-coder-darwin-x64": "0.29.2",
36
+ "@nanobpm/nano-coder-linux-arm64": "0.29.2",
37
+ "@nanobpm/nano-coder-linux-x64": "0.29.2"
38
38
  }
39
39
  }