@nanobpm/nano-coder 0.25.0 → 0.26.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 +7 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -310,7 +310,8 @@ argument: a type-ahead list narrows as you type and Tab completes it.
|
|
|
310
310
|
- `/verbosity [quiet|normal|verbose|debug]` - Show or set how much is printed (see below)
|
|
311
311
|
- `/context` - Show context usage, window, session token totals, AI Credits (GitHub Copilot), auto-compaction state and the loaded instruction files
|
|
312
312
|
- `/settings` - Interactive settings menu:
|
|
313
|
-
- **Model**:
|
|
313
|
+
- **Model**: starts with the last four models you used, then pick a provider and a
|
|
314
|
+
model from its live model list (or type an ID)
|
|
314
315
|
- **Add or edit a provider**: name, API kind (OpenAI-compatible, Anthropic, Copilot),
|
|
315
316
|
base URL, key source (env var, shell command, or a literal key; the file is then
|
|
316
317
|
written with mode 0600) and default model
|
|
@@ -325,7 +326,7 @@ argument: a type-ahead list narrows as you type and Tab completes it.
|
|
|
325
326
|
- `/skills` - List the skills the agent can load, where each lives, and any loading warnings
|
|
326
327
|
- `/plan` - Show the agent's task plan with all notes
|
|
327
328
|
- `/queue [list|add text|remove N...|edit N text|clear]` - Show or edit the queued messages. Works while a turn runs, so a queued message can be removed or rewritten before it is sent.
|
|
328
|
-
- `/model [provider/model]` - Show the current model and pick a new one
|
|
329
|
+
- `/model [provider/model]` - Show the current model and pick a new one. The list starts with the last four models you used (the current one marked; the previous one highlighted, so `/model` then Enter switches back), then the providers: pick a provider to scroll its 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`
|
|
329
330
|
- `/mode [normal|plan|auto]` - Show or set the agent mode (Shift+Tab cycles it, at the prompt or mid-turn):
|
|
330
331
|
- **normal** - full tools; reaching a positive turn cap asks whether to keep going
|
|
331
332
|
- **plan** - read-only: mutating tools (`bash`, `write_file`, `edit_file`) are gated, only analysis and output
|
|
@@ -355,6 +356,10 @@ Flags: `--login github-copilot`, `--list-models PROVIDER`, `--acp`, `--model pro
|
|
|
355
356
|
`--config PATH`, `--verbosity LEVEL` (`-v`), `--sandbox off|workspace|read-only` (or `NANO_CODER_SANDBOX`),
|
|
356
357
|
`--allow RULE` and `--deny RULE` (repeatable; added to the config's rules), `--version` (`-V`).
|
|
357
358
|
|
|
359
|
+
Before opening a PR, run `cargo fmt` (style in `rustfmt.toml`), `cargo clippy --all-targets -- -D warnings`
|
|
360
|
+
and `cargo test`; CI checks all three. To keep `git blame` past the one-time reformat, run
|
|
361
|
+
`git config blame.ignoreRevsFile .git-blame-ignore-revs` once.
|
|
362
|
+
|
|
358
363
|
## Configuration
|
|
359
364
|
|
|
360
365
|
Create `~/.config/nano-coder/config.toml` (every field is optional). Directories from before the rename (`agentic-harness`) are still used if the new ones don't exist:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nanobpm/nano-coder",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.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.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"
|
|
38
38
|
}
|
|
39
39
|
}
|