@brokkai/anvil-linux-arm64 0.24.4 → 0.25.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 CHANGED
@@ -43,8 +43,26 @@ custom TUI ---------------------------------------> tools + sessions
43
43
 
44
44
  ## Install and Evaluate
45
45
 
46
- Install with Homebrew on macOS (Apple Silicon and Intel) or Linux (x86-64 and
47
- ARM64 glibc):
46
+ Install the released native binary through [uv](https://docs.astral.sh/uv/),
47
+ with no Rust toolchain required:
48
+
49
+ ```bash
50
+ uv tool install brokk-anvil
51
+ anvil --version
52
+
53
+ # later
54
+ uv tool upgrade brokk-anvil
55
+ uv tool uninstall brokk-anvil
56
+ ```
57
+
58
+ The Python package version pins the matching GitHub release. On first run it
59
+ downloads the native archive for macOS, Linux glibc, Windows, or
60
+ Android/Termux, verifies the published SHA-256 sidecar, and caches the binary.
61
+ See the [installation guide](https://anvil.brokk.ai/install/#uv) for exact
62
+ version pins, cache paths, and unsupported-platform behavior.
63
+
64
+ Or install with Homebrew on macOS (Apple Silicon and Intel) or Linux (x86-64
65
+ and ARM64 glibc):
48
66
 
49
67
  ```bash
50
68
  brew install brokkai/tap/anvil
@@ -78,7 +96,21 @@ anvil --version
78
96
 
79
97
  Running `anvil` directly starts a stdio JSON-RPC server; use it through an ACP client. Continue with the [installation guide](https://anvil.brokk.ai/install/) or the reproducible [ten-minute evaluation](https://anvil.brokk.ai/evaluate-anvil/).
80
98
 
81
- `anvil serve` (included in all official binaries; source builds can opt out with `cargo build --no-default-features --features wasm-sandbox`) starts the same runtime as an HTTP daemon on a loopback listener (default `127.0.0.1:26845`), exposing versioned REST endpoints for session lifecycle, model discovery, the tool catalog, and asynchronous prompt runs with Server-Sent-Event streaming and cancellation (`/health`, `/v1/models`, `/v1/tools`, `/v1/sessions`, `/v1/runs`). The daemon supports bearer-token authentication (required for non-loopback binding), server-enforced workspace roots, and interactive permission approval endpoints. The wire contract is versioned and checked in under [`openapi/`](openapi/) (OpenAPI document, SSE event schema, and compatibility policy), with a black-box conformance suite holding the implementation to it; generated SDKs are under active development ([#315](https://github.com/BrokkAi/anvil/issues/315)).
99
+ For scripts, CI jobs, and Makefiles, `anvil --print` runs one prompt headlessly with a built-in ACP client and exits no external client required:
100
+
101
+ ```bash
102
+ anvil -p "summarize the failing test" # prompt as an argument
103
+ echo "fix this test" | anvil -p # or on stdin (also: anvil -p -)
104
+ anvil -p "…" --output-format json # one JSON object at exit
105
+ anvil -p "…" --output-format stream-json # newline-delimited records, result last
106
+ anvil -p "…" --permission-mode yolo # manual (default) | auto | yolo
107
+ anvil -p "…" --cwd /path/to/repo --model "codex::gpt-5-codex+high"
108
+ anvil -p "…" --resume SESSION_ID # continue an existing session
109
+ ```
110
+
111
+ Headless runs never block on a human: `manual` rejects every permission request but still honors agent-side approvals that never reach the client (`read`, `search`, and `fetch`; sandboxed shell commands on the conservative read-only safelist; and remembered repo-scoped **Always allow** grants); `auto` accepts edit/delete/move but rejects shell execution; and `yolo` accepts everything. The final assistant message goes to stdout (`text`), or a machine-readable payload with `session_id`, `resumed`, `result`, `stop_reason`, `usage`, and `error` (`json` / `stream-json`); progress and diagnostics stay on stderr, and the exit code is non-zero on agent or transport failure ([#356](https://github.com/BrokkAi/anvil/issues/356)).
112
+
113
+ `anvil serve` (included in all official binaries; source builds can opt out with `cargo build --no-default-features --features wasm-sandbox`) starts the same runtime as an HTTP daemon on a loopback listener (default `127.0.0.1:26845`), exposing versioned REST endpoints for session lifecycle, model discovery, the tool catalog, and asynchronous prompt runs with Server-Sent-Event streaming and cancellation (`/health`, `/v1/models`, `/v1/tools`, `/v1/sessions`, `/v1/runs`). The daemon supports bearer-token authentication (required for non-loopback binding), server-enforced workspace roots, and interactive permission approval endpoints. The wire contract is versioned and checked in under [`openapi/`](openapi/) (OpenAPI document, SSE event schema, and compatibility policy), with a black-box conformance suite holding the implementation to it. Official TypeScript, Rust, and Python SDK packages are regenerated from that contract during CI and release; their shipped runtime code is generated rather than handwritten.
82
114
 
83
115
  Configure a supported ACP client directly from the installed binary:
84
116
 
@@ -8577,7 +8577,7 @@ THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
8577
8577
  <h3 id="LGPL-3.0-only">GNU Lesser General Public License v3.0 only</h3>
8578
8578
  <h4>Used by:</h4>
8579
8579
  <ul class="license-used-by">
8580
- <li><a href="https://crates.io/crates/brokk-anvil/0.24.4">brokk-anvil 0.24.4</a></li>
8580
+ <li><a href="https://crates.io/crates/brokk-anvil/0.25.0">brokk-anvil 0.25.0</a></li>
8581
8581
  <li><a href="https://crates.io/crates/brokk-acp-sandbox/0.1.0">brokk-acp-sandbox 0.1.0</a></li>
8582
8582
  </ul>
8583
8583
  <pre class="license-text">GNU LESSER GENERAL PUBLIC LICENSE
@@ -9916,7 +9916,7 @@ SOFTWARE.
9916
9916
  <h3 id="MIT">MIT License</h3>
9917
9917
  <h4>Used by:</h4>
9918
9918
  <ul class="license-used-by">
9919
- <li><a href="https://crates.io/crates/brokk-anvil-minimizer/0.24.4">brokk-anvil-minimizer 0.24.4</a></li>
9919
+ <li><a href="https://crates.io/crates/brokk-anvil-minimizer/0.25.0">brokk-anvil-minimizer 0.25.0</a></li>
9920
9920
  </ul>
9921
9921
  <pre class="license-text">MIT License
9922
9922
 
package/anvil CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brokkai/anvil-linux-arm64",
3
- "version": "0.24.4",
3
+ "version": "0.25.0",
4
4
  "license": "LGPL-3.0-only",
5
5
  "repository": {
6
6
  "type": "git",