@nanobpm/nano-coder 0.26.0 → 0.28.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 +3 -2
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -333,6 +333,7 @@ argument: a type-ahead list narrows as you type and Tab completes it.
333
333
  - **auto** - no turn cap; a `question` left unanswered for 15s is answered with "the user is away from the keyboard, make the best decision you can"
334
334
  - `/providers` - List providers, endpoints and whether their API key is available
335
335
  - `/session` - Show the session ID and log path
336
+ - `/trajectory` - Show this session's trajectory turn by turn: user input, thinking, answers, tool calls and results, tokens and timings. Each message row is labelled with its `#N` session-log ID, the same ID `history_read` and smart-compaction summaries use (compaction and crash-recovered input rows have no `#N`, as they aren't cited that way). When it doesn't fit on the screen it opens in your pager (`$PAGER`, default `less`) — but only at an idle prompt with the frame renderer: invoked mid-turn (while a turn runs) or under the legacy renderer it prints inline instead. `/trajectory --json` or `/trajectory --markdown` prints an export instead; `nano-coder --trajectory SESSION_ID [--json|--markdown]` does the same for any saved session
336
337
  - `/restart` - Start a fresh session (clean context) without exiting
337
338
  - `/exit` - Exit the agent (prints the session's `--resume` command first, when session persistence is enabled)
338
339
 
@@ -352,7 +353,7 @@ cargo run -- --model ollama/qwen2.5:1.5b
352
353
  cargo run -- --resume sess-20260923T012518-7e7923f8
353
354
  ```
354
355
 
355
- Flags: `--login github-copilot`, `--list-models PROVIDER`, `--acp`, `--model provider/model` (or `AGENTIC_HARNESS_MODEL`), `--resume SESSION_ID`,
356
+ Flags: `--login github-copilot`, `--list-models PROVIDER`, `--trajectory SESSION_ID [--json|--markdown]`, `--acp`, `--model provider/model` (or `AGENTIC_HARNESS_MODEL`), `--resume SESSION_ID`,
356
357
  `--config PATH`, `--verbosity LEVEL` (`-v`), `--sandbox off|workspace|read-only` (or `NANO_CODER_SANDBOX`),
357
358
  `--allow RULE` and `--deny RULE` (repeatable; added to the config's rules), `--version` (`-V`).
358
359
 
@@ -603,7 +604,7 @@ scrollback and reflows history itself on a resize, with the status line pinned t
603
604
  In an interactive terminal the bottom row shows the provider/model, context usage
604
605
  (`~` marks an estimate; without it the figure is anchored to the provider's reported usage),
605
606
  a fill bar, message count, session input/output tokens, the auto-compaction threshold and
606
- count, the active mode when it is `plan` or `auto` (the default `normal` is not shown, to
607
+ count (labelled `smart-compact` when compactions are smart, else `auto-compact`), the active mode when it is `plan` or `auto` (the default `normal` is not shown, to
607
608
  save space), and what the agent is doing. With a GitHub Copilot model it also shows the session's
608
609
  AI Credits (`0.4 AIC`), summed from the `total_nano_aiu` each response reports. In the legacy
609
610
  renderer it uses a terminal scroll region (DECSTBM); the default frame renderer instead composes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nanobpm/nano-coder",
3
- "version": "0.26.0",
3
+ "version": "0.28.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.26.0",
35
- "@nanobpm/nano-coder-darwin-x64": "0.26.0",
36
- "@nanobpm/nano-coder-linux-arm64": "0.26.0",
37
- "@nanobpm/nano-coder-linux-x64": "0.26.0"
34
+ "@nanobpm/nano-coder-darwin-arm64": "0.28.0",
35
+ "@nanobpm/nano-coder-darwin-x64": "0.28.0",
36
+ "@nanobpm/nano-coder-linux-arm64": "0.28.0",
37
+ "@nanobpm/nano-coder-linux-x64": "0.28.0"
38
38
  }
39
39
  }