@nanobpm/nano-coder 0.23.0 → 0.25.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 +16 -9
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -374,7 +374,7 @@ auto_compact_threshold = 0.8 # fraction of the context window
|
|
|
374
374
|
compaction_mode = "standard" # standard | smart (experimental, see Smart compaction)
|
|
375
375
|
# context_window = 128000 # override the window (providers can set it too)
|
|
376
376
|
verbosity = "normal" # quiet | normal | verbose | debug (or --verbosity)
|
|
377
|
-
renderer = "
|
|
377
|
+
renderer = "frame" # frame (default: app-owned redraw on resize) | legacy
|
|
378
378
|
timestamps = true # prefix CLI messages with the local time (HH:MM:SS)
|
|
379
379
|
project_instructions = true # load AGENTS.md etc. (see Project Instructions)
|
|
380
380
|
project_instruction_files = ["AGENTS.md", "CLAUDE.md", ".github/copilot-instructions.md"]
|
|
@@ -582,16 +582,16 @@ Every message (your prompt, answers, tool calls and results, thinking, notes) st
|
|
|
582
582
|
the local time as `HH:MM:SS`. The prompt's time is rewritten when you press Enter, so it
|
|
583
583
|
shows when the message was sent. Turn this off with `timestamps = false`.
|
|
584
584
|
|
|
585
|
-
**Renderer
|
|
586
|
-
|
|
587
|
-
via a scroll region. Setting `renderer = "frame"` (or picking it in `/settings`) switches to
|
|
588
|
-
an **app-owned frame renderer**: nano-coder composes the whole screen — transcript, input
|
|
585
|
+
**Renderer.** By default (`renderer = "frame"`) nano-coder uses an **app-owned frame
|
|
586
|
+
renderer**: it composes the whole screen — transcript, input
|
|
589
587
|
editor, then the status bar as the last line — into one frame and diff-renders it through a
|
|
590
588
|
single writer, wrapped in synchronized-output markers so a half-drawn frame is never visible.
|
|
591
589
|
On a width change it re-renders the entire frame (clearing the screen and scrollback) instead
|
|
592
590
|
of relying on the terminal's native reflow, and resizes are debounced (~40ms) so a drag
|
|
593
|
-
settles on one clean redraw.
|
|
594
|
-
|
|
591
|
+
settles on one clean redraw. The `/` command menu is drawn under the input editor as part of
|
|
592
|
+
the frame. It never captures the mouse. Setting `renderer = "legacy"` (or picking it in
|
|
593
|
+
`/settings`) switches back to the scroll-region renderer, where the terminal owns the
|
|
594
|
+
scrollback and reflows history itself on a resize, with the status line pinned to the bottom.
|
|
595
595
|
|
|
596
596
|
## Status Line and Compaction
|
|
597
597
|
|
|
@@ -600,8 +600,9 @@ In an interactive terminal the bottom row shows the provider/model, context usag
|
|
|
600
600
|
a fill bar, message count, session input/output tokens, the auto-compaction threshold and
|
|
601
601
|
count, the active mode when it is `plan` or `auto` (the default `normal` is not shown, to
|
|
602
602
|
save space), and what the agent is doing. With a GitHub Copilot model it also shows the session's
|
|
603
|
-
AI Credits (`0.4 AIC`), summed from the `total_nano_aiu` each response reports.
|
|
604
|
-
|
|
603
|
+
AI Credits (`0.4 AIC`), summed from the `total_nano_aiu` each response reports. In the legacy
|
|
604
|
+
renderer it uses a terminal scroll region (DECSTBM); the default frame renderer instead composes
|
|
605
|
+
the bar as the frame's final row. Either way it follows resizes, and is off when stdin/stdout isn't a TTY or `AGENTIC_NO_STATUS` is set. The conversation is kept
|
|
605
606
|
directly above the status line (empty space collects at the top), so shrinking the window
|
|
606
607
|
drops empty rows rather than pushing the conversation out of view.
|
|
607
608
|
|
|
@@ -640,6 +641,12 @@ It needs a session log, and falls back to a standard summary when `persist_sessi
|
|
|
640
641
|
|
|
641
642
|
- **Message IDs.** A message's ID is the line of the session log where it was first
|
|
642
643
|
recorded, shown as `#N`. IDs are stable across compactions and `--resume`.
|
|
644
|
+
- **Recorded detail.** Each assistant message in the log also keeps the model's reasoning
|
|
645
|
+
text (`thinking`), the request's token `usage` and its wall-clock `duration_ms`. These
|
|
646
|
+
are for inspecting a session later (see #57) and `history_read`, which includes the
|
|
647
|
+
reasoning. These recorded log fields themselves are never sent back to the model. This
|
|
648
|
+
is separate from `replay_reasoning` (see above): when a provider has reasoning replay
|
|
649
|
+
enabled, its reasoning blocks are still returned to the model as that provider requires.
|
|
643
650
|
- **Citing summary.** The summarizer sees each message labelled `[#N]` and is asked to cite
|
|
644
651
|
`(#N)` for details whose exact text may matter (errors, commands, outputs, the user's
|
|
645
652
|
wording) instead of copying them. The summary ends with the range it covers and a note
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nanobpm/nano-coder",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.25.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.25.0",
|
|
35
|
+
"@nanobpm/nano-coder-darwin-x64": "0.25.0",
|
|
36
|
+
"@nanobpm/nano-coder-linux-arm64": "0.25.0",
|
|
37
|
+
"@nanobpm/nano-coder-linux-x64": "0.25.0"
|
|
38
38
|
}
|
|
39
39
|
}
|