In a session the service holds, "a turn runs" was `prompting`, which only a session/prompt sets. A turn the harness started (a job's note waking the session) therefore read as idle: status said not busy and named no turn, a steer was refused, compact and rewind were let through, the session could be let go of and the link closed under it, and a prompt that arrived meanwhile ran into the engine, failed with "busy" and left the turn log saying the wrong turn had finished. The link's agent now follows every `task` event: a turn no prompt of the client's began is kept in the session's turn log (as a terminal's turns are) and holds the prompt queue until its end. `working()` is the one question status, steer, compact, rewind and letting go ask. A message steered into such a turn and not taken in goes back as `unsent` on its `task` end. `_lembas/session/history` marks the note's user turn `machine`. tests/acp-wake-turn.test.ts: status during the turn, the history, a steer joining it, Stop, a prompt waiting behind it, and two notes in a row — as two turns in order, and as one turn when the second arrives while the first runs. 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.