@nanobpm/nano-coder 0.55.2 → 0.56.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 +17 -0
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -76,6 +76,13 @@ Slash commands work mid-turn too, where it is safe:
76
76
  the running turn, killing any running bash command; a second Ctrl-C at the prompt exits.
77
77
  At the idle prompt, **Esc Esc** instead clears the input, so a half-typed or pasted prompt
78
78
  can be discarded without deleting it character by character.
79
+
80
+ Tool calls, their results and thinking blocks are shown collapsed (`● bash ls -la`,
81
+ `⎿ first line (+N lines)`, `∴ Thought for 3.1s · 812 chars`). **Ctrl-O** expands the
82
+ latest one in place — the call's full arguments with every line of its result, or the
83
+ full reasoning text — and pressing it again collapses it. It works at the idle prompt
84
+ and mid-turn (where it expands the thinking block that is still streaming), and the
85
+ expanded view reflows on resize. Piped output is unchanged.
79
86
  With piped (non-terminal) stdin, lines read during a turn are queued as later prompts
80
87
  (never steer).
81
88
 
@@ -512,6 +519,7 @@ user_rules_dirs = ["~/.claude/rules"]
512
519
  instruction_imports_outside_project = false # let project @imports / rule links leave the repo
513
520
  plan_tools = true # offer the plan_* tools (see Task Plans)
514
521
  outcome_tool = true # offer report_outcome (see Outcomes)
522
+ verify_before_complete = true # ask once for the check's evidence when completing after an unchecked edit (see Outcomes)
515
523
  reminders = true # append <system-reminder> notes to tool results
516
524
  memory = "on" # on | read_only | off — cross-session memory (see Memory)
517
525
  # memory_dir = "/path/to/memory" # default: <platform data dir>/nano-coder/memory
@@ -1202,6 +1210,15 @@ recorded outcome without calling the model again. In the terminal the call shows
1202
1210
  `✔ completed`, `■ blocked`, or `? needs input` followed by the summary. Set `outcome_tool = false` to leave the
1203
1211
  tool out.
1204
1212
 
1213
+ A `completed` report is expected to name its check: the `summary` description asks for what was done
1214
+ *and how it was checked* (the command run and its result). To back that up, `verify_before_complete`
1215
+ (on by default in the terminal) watches the turn: if the model edited a file (`write_file` / `edit_file`)
1216
+ after its last `bash` call and then reports `completed`, that one report is bounced with a reminder —
1217
+ "You changed files after your last check. Run the relevant tests/build, or report again if no check
1218
+ applies." The reminder fires at most once per turn, so a second `report_outcome` always goes through
1219
+ and the model is never trapped; `blocked` and `needs_input` are never intercepted. The ACP harness
1220
+ turns the flag off because the orchestrator runs its own verification there.
1221
+
1205
1222
  `needs_input` is the structural "waiting on the user" signal: an orchestrator (or auto mode)
1206
1223
  can tell it apart from a clean `completed` without guessing from the text. For a richer,
1207
1224
  multi-choice question that does not end the turn, the model uses the `question` tool instead.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nanobpm/nano-coder",
3
- "version": "0.55.2",
3
+ "version": "0.56.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.55.2",
31
- "@nanobpm/nano-coder-darwin-x64": "0.55.2",
32
- "@nanobpm/nano-coder-linux-arm64": "0.55.2",
33
- "@nanobpm/nano-coder-linux-x64": "0.55.2"
30
+ "@nanobpm/nano-coder-darwin-arm64": "0.56.0",
31
+ "@nanobpm/nano-coder-darwin-x64": "0.56.0",
32
+ "@nanobpm/nano-coder-linux-arm64": "0.56.0",
33
+ "@nanobpm/nano-coder-linux-x64": "0.56.0"
34
34
  }
35
35
  }