New `connection.md` and `connection.json`: the address rule, discovery and its outcomes, identity (`llembas-<product>/<version>`), versions judged both ways, a refused token, the link's handshake, close codes and liveness, the one reconnect schedule, state between programs as codes, and the table of conditions, codes and sentences. Conformance: `address` (47 cases), `version` (31), `errors` (81), answered by `src/lembas/connection.ts`. `acp.md`: a failed turn is reported in the prompt's answer (`_meta.lembas.error`); `_lembas/complete` as the code reads it (`sessionId`, `open`, `context`, `too_large`); the link's close code 4409 for a device replaced by a newer link of itself, and `linked` only once `initialize` is answered; `clientInfo`, and the answer to a client that says a higher protocol. Two points are written as open, not as rules: which address a client stores, and `min_clients` in discovery. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
LLeMbas CLI
A terminal coding agent and project manager: the lembas command. It signs in to a
LLeMbas server and uses its models, memory and search, works
in your project with four permission modes and a git snapshot of every turn, keeps its own notes,
knowledge bases and skills on your machine, and lets the server's web UI work the same sessions.
Linux, x64 and arm64.
Install
curl -fsSL https://github.com/LLeMbas/LLeMbas-CLI/releases/latest/download/get.sh | bash
Or download a binary from Releases. Every
release's SHA256SUMS is signed with the release key, and get.sh checks the signature and the
checksum before installing anything (SECURITY.md shows how to check by hand).
First steps
lembas login https://your-server # sign in to your LLeMbas server
cd your-project && lembas # the TUI, on the server's models
A program that already holds an agent's token for this machine (LLeMbas Desktop does, from the
same approval as its own) hands it over on stdin, never as an argument:
… | lembas login --token-stdin --server https://your-server [--json].
From 2.0 the CLI talks only to the LLeMbas server it is logged in to; the custom connections of 1.x
(dialect: entries in connections.yaml) are gone.
lembas updates itself (lembas update does it now); lembas uninstall removes it, and
--purge takes settings and sessions too.
Links
- Documentation: https://llembas.eu/cli.html and https://llembas.eu/docs/
- Changelog: https://llembas.eu/changelog.html
- The server: https://github.com/LLeMbas/LLeMbas
Licence
MIT — see LICENSE and THIRD_PARTY.md.