@nanobpm/nano-coder 1.5.0 → 1.6.1
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/README.md +11 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -553,6 +553,8 @@ bash_timeout_secs = 600
|
|
|
553
553
|
# bash_heartbeat_secs = 60 # supervisor-visible "still running" note interval (or NANO_CODER_BASH_HEARTBEAT_SECS)
|
|
554
554
|
persist_sessions = true
|
|
555
555
|
# session_dir = "/path/to/sessions" # default: <platform data dir>/nano-coder/sessions
|
|
556
|
+
session_compress_after_days = 14 # gzip logs idle this long at startup (0 = never)
|
|
557
|
+
# session_retention_days = 0 # delete logs untouched this long (0 = keep; named sessions are kept)
|
|
556
558
|
session_titles = false # ask the model for a few-word title per session (--resume picker)
|
|
557
559
|
# title_model = "openai/gpt-4o-mini" # model for titles (default: the session's model)
|
|
558
560
|
auto_compact = true # summarize automatically when the context fills up
|
|
@@ -1311,6 +1313,15 @@ Record times and each message's `timestamp` are RFC 3339 with the local UTC offs
|
|
|
1311
1313
|
- Input IDs are remembered. Redelivering a completed input returns its recorded response.
|
|
1312
1314
|
Redelivering an input whose turn was interrupted resumes that turn without duplicating
|
|
1313
1315
|
the user message.
|
|
1316
|
+
- To keep the log small, a compaction records only the user requests it adds to the
|
|
1317
|
+
pinned block (a `pinned_base` delta, not the whole stash), and plan changes are logged
|
|
1318
|
+
as deltas with a full snapshot every 20 changes.
|
|
1319
|
+
- At startup, logs idle for `session_compress_after_days` (default 14) are gzipped in
|
|
1320
|
+
place (`<id>.jsonl.gz`); `--resume`, the picker, `--list-sessions`, `--trajectory` and
|
|
1321
|
+
the history tools read them transparently, and resuming one decompresses it back.
|
|
1322
|
+
`session_retention_days` (default 0 = keep forever) deletes logs untouched that long,
|
|
1323
|
+
except named sessions. The tidy-up runs at most once a day and never touches a log a
|
|
1324
|
+
running session holds open.
|
|
1314
1325
|
|
|
1315
1326
|
## Herdr
|
|
1316
1327
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nanobpm/nano-coder",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.1",
|
|
4
4
|
"description": "A 4MB coding agent. Run a fleet on your laptop.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"node": ">=18"
|
|
29
29
|
},
|
|
30
30
|
"optionalDependencies": {
|
|
31
|
-
"@nanobpm/nano-coder-darwin-arm64": "1.
|
|
32
|
-
"@nanobpm/nano-coder-darwin-x64": "1.
|
|
33
|
-
"@nanobpm/nano-coder-linux-arm64": "1.
|
|
34
|
-
"@nanobpm/nano-coder-linux-x64": "1.
|
|
31
|
+
"@nanobpm/nano-coder-darwin-arm64": "1.6.1",
|
|
32
|
+
"@nanobpm/nano-coder-darwin-x64": "1.6.1",
|
|
33
|
+
"@nanobpm/nano-coder-linux-arm64": "1.6.1",
|
|
34
|
+
"@nanobpm/nano-coder-linux-x64": "1.6.1"
|
|
35
35
|
}
|
|
36
36
|
}
|