@nanobpm/nano-coder 1.0.0 → 1.1.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 -3
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -488,9 +488,12 @@ Flags: `--login github-copilot|muse`, `--list-models PROVIDER`, `--trajectory SE
|
|
|
488
488
|
`--config PATH`, `--verbosity LEVEL` (`-v`), `--sandbox off|workspace|read-only` (or `NANO_CODER_SANDBOX`),
|
|
489
489
|
`--allow RULE` and `--deny RULE` (repeatable; added to the config's rules), `--version` (`-V`).
|
|
490
490
|
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
491
|
+
CI runs `scripts/ci.sh`, and so can you: `scripts/ci.sh` runs everything CI does (lint,
|
|
492
|
+
unit tests, release build, typecheck of both the release and unittest builds, smoke checks);
|
|
493
|
+
`scripts/ci.sh quick` is the fast subset. With `git config core.hooksPath .githooks`, the
|
|
494
|
+
pre-push hook runs `quick` before every push. Test-only imports go inside the unittest or
|
|
495
|
+
test helper that uses them, never in a file-level `version (unittest)` block, where non-test
|
|
496
|
+
code could use them and pass `dub test` but fail the release build. All code is `@safe`: every module starts with `@safe:`, and calls the
|
|
494
497
|
compiler can't check are wrapped in small, commented `@trusted` functions (shared ones in
|
|
495
498
|
`source/nano/safeio.d`). `check-safe.sh` fails the build on a module without `@safe:`, an
|
|
496
499
|
uncommented `@trusted`, raw threads or `__gshared` outside `safeio.d`, or more `@trusted` than
|
|
@@ -508,6 +511,7 @@ max_tokens = 4096
|
|
|
508
511
|
max_iterations = 0 # LLM calls per user input (0 = unbounded; headless runs get a 300-call safety cap)
|
|
509
512
|
system_prompt = "You are a helpful assistant with access to tools."
|
|
510
513
|
bash_timeout_secs = 600
|
|
514
|
+
# bash_heartbeat_secs = 60 # supervisor-visible "still running" note interval (or NANO_CODER_BASH_HEARTBEAT_SECS)
|
|
511
515
|
persist_sessions = true
|
|
512
516
|
# session_dir = "/path/to/sessions" # default: <platform data dir>/nano-coder/sessions
|
|
513
517
|
session_titles = false # ask the model for a few-word title per session (--resume picker)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nanobpm/nano-coder",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "A 4MB coding agent. Run a fleet on your laptop.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"node": ">=18"
|
|
29
29
|
},
|
|
30
30
|
"optionalDependencies": {
|
|
31
|
-
"@nanobpm/nano-coder-darwin-arm64": "1.
|
|
32
|
-
"@nanobpm/nano-coder-darwin-x64": "1.
|
|
33
|
-
"@nanobpm/nano-coder-linux-arm64": "1.
|
|
34
|
-
"@nanobpm/nano-coder-linux-x64": "1.
|
|
31
|
+
"@nanobpm/nano-coder-darwin-arm64": "1.1.0",
|
|
32
|
+
"@nanobpm/nano-coder-darwin-x64": "1.1.0",
|
|
33
|
+
"@nanobpm/nano-coder-linux-arm64": "1.1.0",
|
|
34
|
+
"@nanobpm/nano-coder-linux-x64": "1.1.0"
|
|
35
35
|
}
|
|
36
36
|
}
|