@nanobpm/nano-coder 0.16.2 → 0.17.0
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 +5 -3
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -615,9 +615,11 @@ It needs a session log, and falls back to a standard summary when `persist_sessi
|
|
|
615
615
|
that the originals can be retrieved. Tool results clipped at compaction point at their ID.
|
|
616
616
|
- **History tools.** Once a smart summary is in the context, the agent gets two tools
|
|
617
617
|
over the current session's log (and only that one):
|
|
618
|
-
- `history_search(pattern, role?, before?, after?, limit?)` - case-insensitive
|
|
619
|
-
plain text) search
|
|
620
|
-
|
|
618
|
+
- `history_search(pattern, role?, before?, after?, order?, limit?)` - case-insensitive
|
|
619
|
+
regex (or plain text) search. Newest first by default (`order=oldest` for early
|
|
620
|
+
history); each matching message is one `#N role name (time): snippet` line with up to
|
|
621
|
+
three snippets (and a `[K matches]` count when more matched). Earlier history lookups
|
|
622
|
+
are not searched.
|
|
621
623
|
- `history_read(id, max_output_length?)` - one message in full, bounded like other tool
|
|
622
624
|
output (the whole is spilled to a file when it is longer).
|
|
623
625
|
Before a smart compaction the tools are not offered, so they cost nothing.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nanobpm/nano-coder",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0",
|
|
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.
|
|
35
|
-
"@nanobpm/nano-coder-darwin-x64": "0.
|
|
36
|
-
"@nanobpm/nano-coder-linux-arm64": "0.
|
|
37
|
-
"@nanobpm/nano-coder-linux-x64": "0.
|
|
34
|
+
"@nanobpm/nano-coder-darwin-arm64": "0.17.0",
|
|
35
|
+
"@nanobpm/nano-coder-darwin-x64": "0.17.0",
|
|
36
|
+
"@nanobpm/nano-coder-linux-arm64": "0.17.0",
|
|
37
|
+
"@nanobpm/nano-coder-linux-x64": "0.17.0"
|
|
38
38
|
}
|
|
39
39
|
}
|