@nanobpm/nano-coder 0.12.0 → 0.14.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 -3
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -268,7 +268,9 @@ model where it may write.
268
268
 
269
269
  Typing `/` at the prompt lists the commands under it, and each further character narrows the
270
270
  list. Tab completes the command, or the part all matches share. Esc hides the list. The
271
- list is built from the same table as `/help` (`src/commands.rs`).
271
+ list is built from the same table as `/help` (`src/commands.rs`). Commands with a known
272
+ argument set (`/model`, `/mode`, `/verbosity`) get the same treatment for their first
273
+ argument: a type-ahead list narrows as you type and Tab completes it.
272
274
 
273
275
  - `/help` - Show available commands
274
276
  - `/compact [focus]` - Summarize older messages with the current model, keeping the latest
@@ -290,7 +292,7 @@ list is built from the same table as `/help` (`src/commands.rs`).
290
292
  - `/tools` - List registered tools
291
293
  - `/skills` - List the skills the agent can load, where each lives, and any loading warnings
292
294
  - `/plan` - Show the agent's task plan with all notes
293
- - `/model [provider/model]` - Show the current model and pick a new one: scroll the provider list, then the model list (Esc steps back). With an argument, switches directly (conversation is kept)
295
+ - `/model [provider/model]` - Show the current model and pick a new one: scroll the provider list, then the model list (Esc steps back). With an argument, switches directly (conversation is kept). Typing `/model ` shows a type-ahead of the current model, recently used models, and each configured provider's default model; Tab completes (a bare provider name completes to its default model). Recently used models are kept in `~/.local/share/nano-coder/recent-models.json`
294
296
  - `/mode [normal|plan|auto]` - Show or set the agent mode (Shift+Tab cycles it, at the prompt or mid-turn):
295
297
  - **normal** - full tools; reaching the turn cap asks whether to keep going
296
298
  - **plan** - read-only: mutating tools (`bash`, `write_file`, `edit_file`) are gated, only analysis and output
@@ -511,7 +513,12 @@ error).
511
513
 
512
514
  **Input.** On a terminal, input is read key by key. While a turn runs, what you type shows
513
515
  on the status line; Enter sends it as a steer, Esc Esc or Ctrl-C cancels the turn. The prompt supports
514
- Backspace, Ctrl-U (clear), Ctrl-W (delete word) and Ctrl-D (exit on an empty line).
516
+ editing: Left/Right move the cursor, Home/End (or Ctrl-A/Ctrl-E) jump to the start/end,
517
+ Alt/Option-Left/Right (or Alt-B/Alt-F) move by word, and clicking with the mouse places the
518
+ cursor. Backspace and Delete remove the character before/under the cursor, Ctrl-U clears the
519
+ input and Ctrl-W deletes the word before the cursor. Ctrl-Enter (or Cmd-Enter) inserts a
520
+ newline without sending, and pasted text keeps its line breaks as a single multi-line input
521
+ instead of sending line by line. Ctrl-D exits on an empty line.
515
522
 
516
523
  Streaming uses server-sent events. Set `stream = false` on a provider whose endpoint doesn't
517
524
  support it. ACP mode doesn't stream text, but sends each response's reasoning as an
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nanobpm/nano-coder",
3
- "version": "0.12.0",
3
+ "version": "0.14.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.12.0",
35
- "@nanobpm/nano-coder-darwin-x64": "0.12.0",
36
- "@nanobpm/nano-coder-linux-arm64": "0.12.0",
37
- "@nanobpm/nano-coder-linux-x64": "0.12.0"
34
+ "@nanobpm/nano-coder-darwin-arm64": "0.14.0",
35
+ "@nanobpm/nano-coder-darwin-x64": "0.14.0",
36
+ "@nanobpm/nano-coder-linux-arm64": "0.14.0",
37
+ "@nanobpm/nano-coder-linux-x64": "0.14.0"
38
38
  }
39
39
  }