@nanobpm/nano-coder 0.24.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.
Files changed (2) hide show
  1. package/README.md +10 -9
  2. 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 = "legacy" # legacy | frame (app-owned redraw on resize, experimental)
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 (experimental).** By default (`renderer = "legacy"`) the terminal owns the
586
- scrollback and reflows history itself on a resize, with the status line pinned to the bottom
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. It never captures the mouse. This is opt-in for now; `legacy`
594
- remains the default.
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. It uses a terminal
604
- scroll region, follows resizes, and is off when stdin/stdout isn't a TTY or `AGENTIC_NO_STATUS` is set. The conversation is kept
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nanobpm/nano-coder",
3
- "version": "0.24.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.24.0",
35
- "@nanobpm/nano-coder-darwin-x64": "0.24.0",
36
- "@nanobpm/nano-coder-linux-arm64": "0.24.0",
37
- "@nanobpm/nano-coder-linux-x64": "0.24.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
  }