@nanobpm/nano-coder 0.67.0 → 0.68.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 +9 -3
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -7,8 +7,9 @@ nano-coder is a coding agent for the terminal, written in Rust. It uses about 6M
7
7
  ## Install
8
8
 
9
9
  ```sh
10
- npm install -g @nanobpm/nano-coder # prebuilt binaries for macOS and Linux (x64, arm64)
11
- cargo install nano-coder # or build from source
10
+ npm install -g @nanobpm/nano-coder # prebuilt binaries for macOS and Linux (x64, arm64)
11
+ brew install nanobpm/tap/nano-coder # the same binaries through Homebrew
12
+ cargo install nano-coder # or build from source
12
13
  ```
13
14
 
14
15
  ## Features
@@ -455,7 +456,7 @@ argument: a type-ahead list narrows as you type and Tab completes it.
455
456
  - `/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). It opens in your pager (`$PAGER`, default `less`), even when it would fit on the screen, so you dismiss it with `q` and it doesn't stay in the transcript or your scrollback — but only at an idle prompt on a terminal: invoked mid-turn (while a turn runs) or with piped output 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
456
457
  - `/resume [ID|last]` - Switch to a saved session without restarting: the same picker as `--resume` (leaving out the session in use), or the session with that ID, or `last` (the most recent other session in this directory). Run it at the prompt, not during a turn
457
458
  - `/restart` - Start a fresh session (clean context) without exiting
458
- - `/update` - Install the latest release through the channel nano-coder was installed from (`npm install -g @nanobpm/nano-coder@latest` or `cargo install nano-coder`), with the installer's progress on the terminal; verifies the installed version afterwards and leaves the running session untouched on failure. On an install that is not managed by cargo or npm it prints the releases page and changes nothing. Run it at the prompt, not during a turn (see [Updates](#updates))
459
+ - `/update` - Install the latest release through the channel nano-coder was installed from (`npm install -g @nanobpm/nano-coder@latest`, `brew upgrade nanobpm/tap/nano-coder` or `cargo install nano-coder`), with the installer's progress on the terminal; verifies the installed version afterwards and leaves the running session untouched on failure. On an install that is not managed by npm, Homebrew or cargo it prints the releases page and changes nothing. Run it at the prompt, not during a turn (see [Updates](#updates))
459
460
  - `/relaunch` - Restart the binary (re-resolved, so a just-installed update is picked up), resuming the current session — the transcript and scrollback carry over. Works whether or not an update was just installed. An unsent draft or queued messages are confirmed before being discarded. Run it at the prompt, not during a turn (see [Updates](#updates))
460
461
  - `/exit` - Exit the agent (prints the session's `--resume` command first, when session persistence is enabled)
461
462
 
@@ -478,6 +479,11 @@ by a known install channel, detected once at startup from the executable's path:
478
479
  platform-package binary and the self-replaced copy in `bin/`): the latest version comes
479
480
  from `https://registry.npmjs.org/@nanobpm/nano-coder/latest`, and `/update` runs
480
481
  `npm install -g @nanobpm/nano-coder@latest`.
482
+ - **Homebrew** (the binary resolves into `<brew prefix>/Cellar/nano-coder/`): the latest
483
+ version is the one the [nanobpm/homebrew-tap](https://github.com/nanobpm/homebrew-tap)
484
+ formula points at (bumped by the release workflow a few minutes after each release), and
485
+ `/update` runs `brew upgrade nanobpm/tap/nano-coder`. `/relaunch` restarts through the
486
+ formula's `opt` link, so it finds the new version after brew removes the old one.
481
487
  - **cargo** (in `$CARGO_HOME/bin`, default `~/.cargo/bin`): the latest version comes from
482
488
  `https://crates.io/api/v1/crates/nano-coder`, and `/update` runs `cargo install
483
489
  nano-coder` — which compiles from source and takes minutes, so the installer runs
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nanobpm/nano-coder",
3
- "version": "0.67.0",
3
+ "version": "0.68.0",
4
4
  "description": "A 6MB coding agent. Run a fleet on your laptop.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -27,9 +27,9 @@
27
27
  "node": ">=18"
28
28
  },
29
29
  "optionalDependencies": {
30
- "@nanobpm/nano-coder-darwin-arm64": "0.67.0",
31
- "@nanobpm/nano-coder-darwin-x64": "0.67.0",
32
- "@nanobpm/nano-coder-linux-arm64": "0.67.0",
33
- "@nanobpm/nano-coder-linux-x64": "0.67.0"
30
+ "@nanobpm/nano-coder-darwin-arm64": "0.68.0",
31
+ "@nanobpm/nano-coder-darwin-x64": "0.68.0",
32
+ "@nanobpm/nano-coder-linux-arm64": "0.68.0",
33
+ "@nanobpm/nano-coder-linux-x64": "0.68.0"
34
34
  }
35
35
  }