@nanobpm/nano-coder 0.41.0 → 0.43.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 +14 -0
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -54,6 +54,20 @@ line shows how many are waiting. Edit the queue at any time
54
54
  drops one (or several, `/queue remove N M`), `/queue edit N new text` rewrites one, and
55
55
  `/queue clear` empties the queue. A queued message is never injected while the agent is
56
56
  asking for input (the `question` tool's picker owns the terminal until you answer).
57
+ Slash commands work mid-turn too, where it is safe:
58
+ - **Right away:** read-only ones (`/help`, `/tools`, `/skills`, `/providers`, `/session`, `/plan`,
59
+ `/context`, `/trajectory` (`--json`/`--markdown`), and `/mode` or `/verbosity` without an
60
+ argument) show the current state. `/plan` shows the plan as the agent updates it.
61
+ - **From the agent's next step:** `/mode NAME` applies when the agent takes its next step.
62
+ - **From the next model call:** `/model provider/model` switches model mid-turn — even in
63
+ the middle of a tool loop (the history carries over) — applied just before the agent's
64
+ next model call.
65
+ - **Right away (for the rest of the turn):** `/verbosity LEVEL` changes the output level
66
+ immediately, so it affects the remaining events streamed by the current turn.
67
+ - **After the turn:** commands that change the conversation or take over the keyboard
68
+ (`/compact`, `/restart`, `/settings`, the bare `/model` picker, `/exit`) wait for the
69
+ turn to finish.
70
+
57
71
  **Esc Esc** (twice within a second) or **Ctrl-C** cancels
58
72
  the running turn, killing any running bash command; a second Ctrl-C at the prompt exits.
59
73
  At the idle prompt, **Esc Esc** instead clears the input, so a half-typed or pasted prompt
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nanobpm/nano-coder",
3
- "version": "0.41.0",
3
+ "version": "0.43.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.41.0",
35
- "@nanobpm/nano-coder-darwin-x64": "0.41.0",
36
- "@nanobpm/nano-coder-linux-arm64": "0.41.0",
37
- "@nanobpm/nano-coder-linux-x64": "0.41.0"
34
+ "@nanobpm/nano-coder-darwin-arm64": "0.43.0",
35
+ "@nanobpm/nano-coder-darwin-x64": "0.43.0",
36
+ "@nanobpm/nano-coder-linux-arm64": "0.43.0",
37
+ "@nanobpm/nano-coder-linux-x64": "0.43.0"
38
38
  }
39
39
  }