HomerandClaude Fable 5.2 6f3ba47ad6 One way out: lembas run can be interrupted, and no command outlives the program (M4, S16, S15)
- src/shutdown.ts: every command's process group is remembered until it is
  empty; on exit what is left gets TERM, a grace, KILL. Signals of a run:
  first SIGINT stops the turn and the wait for jobs (exit 130), a second, or
  SIGTERM/SIGHUP once, ends it now (143/129) with the groups killed.
- settleJobs takes a stop signal and says which jobs it stops; a failed or
  cancelled prompt does not wait for its jobs.
- A foreground command that leaves a program in its group says so; the
  listener on its output is taken off when the call returns.
- A spawn error is reported as what it was.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 21:06:29 +00:00
2026-10-09 21:59:03 +00:00
2026-10-09 21:59:03 +00:00
2026-10-09 21:59:03 +00:00
2026-10-09 21:59:03 +00:00
2026-10-09 21:59:03 +00:00
2026-10-09 21:59:03 +00:00
2026-10-09 21:59:03 +00:00
2026-10-09 21:59:03 +00:00
2026-10-09 21:59:03 +00:00
2026-10-09 21:59:03 +00:00
2026-10-09 21:59:03 +00:00
2026-10-09 21:59:03 +00:00

LLeMbas CLI — terminal coding agent

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.

Licence

MIT — see LICENSE and THIRD_PARTY.md.

2026-10-25 19:50:11 +00:00
Languages
TypeScript 98.6%
Shell 1.4%