refactor: improve build ID generation with consistent timestamp format (#130)

refactor: improve build ID generation with consistent timestamp format

fix: lazy-start native opencode and simplify binary resolution
This commit is contained in:
NathanFlurry 2026-02-07 07:56:07 +00:00
parent 77f741ff62
commit 54d537fb23
No known key found for this signature in database
GPG key ID: 6A5F43A4F3241BCA
7 changed files with 257 additions and 95 deletions

View file

@ -71,7 +71,6 @@ sandbox-agent opencode [OPTIONS]
| `-H, --host <HOST>` | `127.0.0.1` | Host to bind to |
| `-p, --port <PORT>` | `2468` | Port to bind to |
| `--session-title <TITLE>` | - | Title for the OpenCode session |
| `--opencode-bin <PATH>` | - | Override `opencode` binary path |
```bash
sandbox-agent opencode --token "$TOKEN"
@ -79,7 +78,7 @@ sandbox-agent opencode --token "$TOKEN"
The daemon logs to a per-host log file under the sandbox-agent data directory (for example, `~/.local/share/sandbox-agent/daemon/daemon-127-0-0-1-2468.log`).
Requires the `opencode` binary to be installed (or set `OPENCODE_BIN` / `--opencode-bin`). If it is not found on `PATH`, sandbox-agent installs it automatically.
Existing installs are reused and missing binaries are installed automatically.
---