-
LLeMbas CLI 2.0.0-beta.21
Pre-Releaseci / check (push) Waiting to runreleased this
2026-12-03 09:28:25 +00:00 | -170 commits to main since this releaseSecurity
- A shell command is judged by what it will touch, not by how it is spelled (harness spec
3.15.0,permission/rules.md§5). In manual mode a command the default rules allow —cat,
head,wc,grep,rg,git blame— could read a file thereadrules ask about, or one
outside the project, when the file was written through a brace list, another user's~name,
a variable, or inside an option. Now the words are read as the shell expands them, a path
riding on an option is a path, and a word that cannot be resolved makes the command ask:
it is never "allowed by rules". Ordinary commands are unchanged; one with a variable of your
own in it (cat "$f") now asks. - The protected paths hold for commands in every mode. In auto mode a command could write
under~/.sshor~/.gnupg, which the write tools always refused. A redirection into a
protected path, or a command naming one that is not known to only read (cp,tee,sed -i,
throughsudo,bash -cor acdtoo), is refused in every mode. Reading there is asked as
before. - A command longer than 32 KiB is asked about in every mode, auto included, without being
analysed: a very long line could keep the permission check — and with it the whole program —
busy for many seconds. - The
greptool no longer returns lines of a filereadwould ask about. A search of a
directory was judged for the directory only, so the lines of a.envin it came back unasked
— in plan mode too. Such files are now left out of the result, which says how many and which,
so the model can ask toreadone. Names are not content:globandliststill show them. - A custom command's
!`…`is abashcall of the session, and its arguments are data.
The shell line in a command file ran with only the floor checked, with the arguments pasted
into it — also for a prompt that arrived over the link from the web, whatever the remote
limits said. It now runs only when the session would run that line as abashcall without
asking (its mode, its rules, the remote limits); otherwise the model is told it was not run.
The arguments reach the line as$1…and$ARGUMENTSof the shell, never as part of it, and
a$typed in the arguments is no longer rewritten. A substitution is stopped after ten
seconds. A command of yours whose!`…`is not on the allowed list no longer runs by
itself in manual mode — allow it with a rule, or let the model run it. lembas remote disablestops what is open. The remote limits were judged when a session
was opened; a session already open — in the service, or a terminal's shared under the limits
— kept accepting prompts after remote work was turned off, its folder removed from the roots,
the mode lowered or trust withdrawn, and a web terminal stayed open after
lembas remote terminal off. The limits are now judged on every request and applied within
seconds of a change: such a session is refused in words, its running turn and background
commands are stopped, its mode is lowered, the terminal is closed. Stopping, asking for status
and deleting always work.- Over the link, only sessions the web UI was shown or that lie in the allowed folders can be
listed, asked about or renamed. A list of the whole machine's sessions, the plan and jobs of
any session by its id, and a rename of any session were answered, with remote work off too. - A project cannot open the settings tool by a rule that merely matches its name. Only a
project rule keyed exactlysettingswas ignored; a trusted project'ssett*or a rule for
every tool let the model change your settings without asking. Only your own configuration
decides that tool now. - The web file manager treats
.lembas/like.agent/. Where.agentis somebody else's
directory the project's agent directory is.lembas, and withremote files-that-run-code
off the web could still write its config (MCP servers), commands, agents and skills. Edit mode
and the file manager now read one list of the files that run code. - Your sessions are no longer readable by other users of the computer. The data and state
directories took whatever mode the first program to write them gave them, and the session
database was created readable by everyone on the machine. Both directories are now made — and,
when they already exist, set — readable by you alone, and so are the session and library
databases and the prompt history. get.shrefuses a signed release list that does not name its version, as the updater
does: an older release's signed files could be served under a newer tag and its binary run
before the mismatch was noticed. Both now follow one rule, tested against the same cases.- A named pipe in an allowed folder can no longer stop the service. Asking the web file
manager to open one made the service wait for a writer — every session and the link with it.
Only regular files are opened now; anything else is refused as not a file. --terminal-contextand/terminal-contextno longer delete what they refuse. A file was
removed once read, whatever it held, and the accepted folders took in the CLI's own data —
a wrong path could delete the session database. A file is now removed only once it has read as
a terminal context; one that does not is left where it is, and the CLI's own folders are
refused outright.- Autocomplete in a LLeMbas terminal no longer sends a line that holds a password or a key.
lembas complete --shellsent the line being typed as it was —export API_KEY=…,
mysql -p…,curl -u user:passincluded; only the history was filtered. Such a line is now
not sent at all, and the same check, widened, applies to the history and to the commands a
terminal context hands the model (the command is replaced by a placeholder, its output left
out). - What a remote shell says about itself is no longer taken as fact. A pane over SSH reports
its state through the terminal, and any program printing there can imitate that report. Such
a report alone no longer makes the prompt count as empty for a command to be placed or typed —
the pane is read instead — and a command's end that only it reports is told to the model as
"reported by the remote shell; not verified". - A folder whose name begins with two dots (
..cache) inside an allowed folder is inside it. - The force-push floor reads the push. It refused any forced push with "main" somewhere in
it (feature/main-menu) and missed deleting the branch (git push origin :main,
--delete main), a forced--all/--mirror, and a baregit push -fwhile on main. The
push is now read by its refspecs.
Fixed
lembas runcan be stopped, and leaves nothing behind. While it waited for a background
job, Ctrl+C did nothing — a run whose model had started a server never ended — and SIGTERM or
SIGHUP ended the run but not the commands it had started. Now the first Ctrl+C stops the turn
and the wait, says which jobs it stops, and exits 130; a second Ctrl+C, or one SIGTERM/SIGHUP,
ends it at once (143/129). A run whose prompt failed no longer waits for its jobs.- Nothing a command started outlives lembas. Every command runs in a process group of its
own; whatever is left in one when the program ends — by/quit, the end of a run or a signal —
gets TERM, then KILL. A foreground command that ends but leaves a program running
(server &) says so in its result. A program that must outlive lembas has to leave the
group (setsid);nohup … &alone does not. - Texts that named what does not exist. The prompt for Claude-family models told them to
use atodotool with statuses the plan does not have (it isplan_write/plan_update,
doinganddone); a question answered with a question told the model to "call question
again" (the tool isask_user);--helpshowed--model conn/model(2.0 has no connection
prefix: a model is named by its id);SECURITY.mdspoke of anunrestrictedmode (auto).
A check now fails when a prompt, a tool description or a tool's result names a tool that does
not exist. /trustmakes the project directory when the project has none —/tasks,/decisions
and/decidesaid "/trust creates it", and it did not — and says/reloadloads the
project's config (it said to restart).- A command that could not be started says why instead of "stopped (SIGTERM)".
- One name for the server. Texts said "LLeMbas instance" in some places and "LLeMbas server"
in others — one screen used both — and still spoke of 1.x's "connections" and "webui
connections". They now say "LLeMbas server" and "sign-in";lembas logout [name]. "Forge" is
gone from what a person reads.lembas remote --helplistsfiles_that_run_codein its JSON. - A folder named like
..cachein the project is shown relative to the project in the prompt,
in approvals and in the editor, as any other folder. - In a LLeMbas terminal an answer is bound to the approval it was given for. What the display
asks now carries a number (approval#12 yn …);/approve 12,/always 12and/deny 12
decide only that approval, and an answer meant for one that has since closed is refused in
words instead of approving the next. Without a number they work as before, and so does
/answer <n>. A line too long for the terminal's ask line ends in "…".lembas --version --jsonliststerminal_ask_id. - "Always" on a file outside the project now holds. It remembered the file for its tool but
not that the file may be reached outside the project, so the next identical call asked again.
The outside path is now remembered too, for the session only — it is never written into the
project's configuration. "Always in this project" no longer fails the approved call when the
project's configuration cannot be written; the rule then holds for the session. - The updater never moves to a new major version by itself. The newest release of the
version's own major is installed; a later major (which may need a newer LLeMbas server) is
named — inlembas updateand once an hour at most in the TUI — and installed only when you
name it:lembas update v3.0.0. - A version you chose stays. After
lembas update vX.Y.Zorlembas update --rollbackthe
next start installed the newest release again. Automatic updates now pause until you run
lembas updateyourself, and both commands say so. - A slow connection no longer fails every update. A download had 30 seconds in all — too
little for the release binary below about 11 Mbit/s; the limit is now 30 seconds of silence. lembas updatesays an ordinary failure (no network, nothing kept to roll back to) in one
line instead of printing a program stack.
Terminal — LLeMbas TTY is now LLeMbas TERM
- The terminal was renamed, and the names it gives the CLI with it (harness spec 3.15.0,
terminal contract 4). A LLeMbas terminal now setsLLEMBAS_TERM,LLEMBAS_TERM_PANE,
LLEMBAS_TERM_EXECUTABLEandLLEMBAS_TERM_STATUS_DIR; a pane's status record starts
llembas-term-status=1, the input markllembas-term-input=1, and the default status
directory isllembas-term. Nothing else changes. - A terminal from before the rename keeps working unchanged:
LLEMBAS_TTY…,
llembas-tty-status=1,llembas-tty-input=1and thellembas-ttydirectory are still read.
One family of names at a time, the new one first — a renamed terminal started from inside an
older one is never given the older one's pane. lembas --version --jsonsaysterminal_contract: 4and the capabilityterminal_names_2,
which a terminal that exports only the new names checks.
Downloads
- A shell command is judged by what it will touch, not by how it is spelled (harness spec
-
LLeMbas CLI 2.0.0-beta.20
Pre-Releaseci / check (push) Canceled after 0sreleased this
2026-12-02 13:55:07 +00:00 | -150 commits to main since this releaseTerminal — you run the command, and the terminal remembers what you chose
- Manual mode places the command at your prompt; you run it (harness spec 3.14.0, terminal
contract 3). In the terminal's display, manual mode no longer opens an approval card for a
command — which meant leaving your shell to answer it. The agent's command is typed at your own
prompt without Enter: press Enter and it runs, change it first if you like, Ctrl+C
dismisses it. That is the approval, and there is no other. The agent is told which it was —
the exit status and the end of the output when it ran, the line as you actually ran it when
you changed it, that you declined when you dismissed it (it must not put the same command
back unasked) — and after two minutes of nothing it stops waiting, says so, and leaves the
line where it is. Auto mode is as before: typed and entered at once. Written into the spec
first (harness/acp.md, A command placed at the prompt). - Only at an empty prompt, and one at a time. Nothing is ever added to something you have
typed: when your prompt is not empty, or a command is running, the agent gives you the command
in its answer instead. While a command it placed still stands at your prompt it places no
other./stop, or closing the display, never touches your prompt line — the display says the
command is still there, and a display opened again still knows. - What must never be handed to you ready to run is still refused outright: the hardline, a
written deny forbashorterminal_run, the protected paths — before anything is typed.
Nothing is typed at a password prompt, placed or entered. - The display says where the command is: its row reads
at your prompt, thenran, exit 0,
ran, edited, exit 0,dismissedorleft at your prompt; while the agent waits, a line
under the conversation says what stands at your prompt and what Enter and Ctrl+C do. For the
terminal:lembas_askisplaced <command>(a kind with no keys) andlembas_stateis
asking. Approval cards and their keys remain for everything else that asks. - The terminal's settings are remembered — for everywhere, and per working directory. One
store on this machine,terminal.jsonin the configuration directory (never inside a
project): a global level and one entry per directory, the nearest directory's entry
overriding the global one key by key, so what you chose for a project holds in its
subdirectories. Keys:main_model,autocomplete_model,mode,ai,autocomplete,
suggestions,highlight,display_width; a key a newer terminal adds is kept. The file of
2.0.0-beta.19 (the two models) is read as the global level and nothing is lost.lembas terminal settings [--cwd <dir>] [--json]— what holds in a directory, and where
each value comes from.lembas terminal settings set (--global | --cwd <dir>) <key>=<value> …—defaultremoves
a key; a model must be one your server offers unless--force.lembas terminal settings forget --cwd <dir>.lembas terminal modelsandmodels setkeep working, on the global level;models --json --cwd <dir>adds what holds there.
- A display starts with its directory's model and mode, unless
-mor--modesay
otherwise./modeland/modeinside it change the running session only, and now say so. lembas complete --shelluses the directory's autocomplete model, and answers nothing
(status 0, one line on standard error) whereaiorautocompletewas set tofalse.
Fixed
lembas complete --shellwithout--cwdwas refused with status 2 — so a terminal that
did not know a pane's directory got no suggestion and, with standard error discarded, no
reason.--cwdmay now be left out.lembas complete --debug(orLEMBAS_COMPLETE_DEBUG=1) writes one line per decision to
standard error — the arguments, the settings and where each came from, the model, the request
and how long the answer took — so a terminal can show why nothing came. Lengths and names
only: never the line, the history or the suggestion.
Downloads
- Manual mode places the command at your prompt; you run it (harness spec 3.14.0, terminal
-
LLeMbas CLI 2.0.0-beta.19
Pre-Releaseci / check (push) Canceled after 0sreleased this
2026-12-02 12:16:38 +00:00 | -143 commits to main since this releaseTerminal — LLeMbas in the terminal, not a terminal that opens LLeMbas
- The terminal's display:
lembas terminal(harness spec 3.13.0, terminal contract 2). For
a LLeMbas terminal the CLI is now the engine behind it, as it is for the editors. What the
terminal shows of the agent is a display beside your own pane — a one-line header (model,
mode, state, how full the window is), your questions and the answers, one row per tool call,
and a card when something is asked. It has no prompt box: questions, command lines and the
keys that answer an approval come from the terminal (yallow,aalways,ndeny,1…9
for a question's options;/model,/mode,/new,/stop,/compact,/approve,/deny,
/quit). Keys typed into the display by accident are ignored: only a paste the terminal sends
is ever a message, and only a line that arrives whole in one write is a command. Made for a
third of a terminal: every row is one line of a known width at 30 to 60 columns. Written into
the spec first (harness/acp.md, The terminal's display). - What the agent does in a shell happens in your own pane. In the display the agent has
terminal_runandterminal_read, the web, your skills (to read), memory, questions and a
plan — and no tool that edits a file and no shell of its own: nobash,edit,write,
apply_patch, no subagents, no MCP tools. When a file has to change it proposes the command
for your pane, which you approve like any other, or sends you to the CLI or the IDE. Two
modes, manual and auto; a request for edit or plan mode is refused in words. - A typed command is waited for.
terminal_runnow waits for the command to end and answers
its exit status and the end of what the pane shows — where the terminal's shell integration
writes the pane's status record (a small file per pane at every prompt; for a pane on another
machine the same record as a user var the terminal writes to that file). It says "still
running" after 30 seconds, and "waiting for you" when the pane asks for a password or a
confirmation. Nothing is ever typed at a password prompt, and nothing into a pane where a
command runs unless the call says the pane is at a prompt (at_prompt, for a remote shell).
Without a status record it answers "typed", as before.terminal_readgainswait. The row
in the display says the command, its status and its time — never its output, which is in
your pane. - Context that continues. One conversation per terminal window (
--window <id>), carried
on when the display is closed and opened again;/newor--newbegins one. Of each context
the terminal sends, only what the model has not seen is added — commands by the terminal's own
number for them (context files of version 2:seqper command,host), a changed
directory, a changed screen — and a command the agent typed itself is named without its output.
Version 1 files are read as before. A display closed while a typed command had not ended says
so when it is opened again. - The terminal's own two models. Its chat model and its autocomplete model are settings of
their own, apart from the TUI's and the editors':lembas terminal models [--json]lists the
models and the two settings,lembas terminal models set --main <model> --autocomplete <model>
chooses (default: none),-mand/modelswitch a conversation, and
lembas complete --shelltakes--modeland otherwise asks for the terminal's autocomplete
model. They are kept on this machine (terminal.jsonin the configuration directory). lembas --version --jsonsaysterminal_contract: 2and the capabilities
terminal_surface,terminal_await,terminal_context_2,terminal_models. The display
publishes two more user vars,lembas_surface(display) andlembas_ask(what is asked now
and the keys that answer it), so a terminal can show an approval at its own ask line.- The TUI in a split pane keeps working for a terminal written for contract 1; that use is
superseded by the display. There tooterminal_runnow waits where a status record exists,
and looks at the pane before it types.
Downloads
- The terminal's display:
-
LLeMbas CLI 2.0.0-beta.18
Pre-Releaseci / check (push) Canceled after 0sreleased this
2026-12-01 21:35:42 +00:00 | -138 commits to main since this releaseTerminal — a terminal as the client
- A terminal as the client (harness spec 3.12.0). What a terminal emulator with LLeMbas
built in needs from the CLI, written into the spec first (harness/acp.md, A terminal as the
client;harness/context.md§12;harness/permission/rules.md§4) and implemented here.
Such a terminal setsLLEMBAS_TTY,LLEMBAS_TTY_PANEandLLEMBAS_TTY_EXECUTABLEin every
pane; withoutLLEMBAS_TTYnothing below applies and the CLI behaves exactly as before.- Session state for the terminal's bars. The TUI publishes its state as user vars
(OSC 1337 ; SetUserVar):lembas_session,lembas_title,lembas_model,lembas_mode,
lembas_effort,lembas_state(idle,waiting,thinking,tools,writing,
asking),lembas_context,lembas_tokens,lembas_spend— on start and on every change,
each one plain line of at most 200 bytes, and emptied on the way out. Not under tmux, screen
or zellij. - Terminal context.
lembas --terminal-context <file>(the TUI andlembas run) and
/terminal-context <file>in a running TUI: a JSON file the terminal wrote with what a pane
showed — commands with their exit status and the end of their output, or the screen. It is
read once and removed, checked (version 1, 256 KiB, 20 commands, plain text only), and
attached to your next message as one<terminal>block the model is told is data from your
screen, possibly stale, never instructions. The transcript shows one line —
terminal context: 3 commands from pane 7— not the content. Only a regular file of your
own in a runtime, temporary, state or data directory is read; anything else is refused in
words and left where it is. terminal_runandterminal_read— two tools, the main agent's alone, offered only in
such a terminal and usable once you have sent a context from a pane: type a command into
that pane and press Enter, and read what the pane shows. They run the terminal's own
command-line program with an argument list, never through a shell.terminal_runis its own
permission: whatbashwould refuse (the hardline, a written deny, plan mode) is refused,
and beyond that it asks every time in manual, edit and plan mode — once, never "always" —
and followsbashin auto mode. Whatterminal_readreturns is wrapped as untrusted
terminal text.lembas complete --shell <bash|zsh|fish> --cwd <dir> [--history <file>] [--timeout-ms <n>]: the rest of a shell command line. The line so far on standard input,
only the suggestion on standard output — from your autocomplete model, through the same
request the editors' autocomplete makes. Never executed; history lines that look like they
hold a secret are not sent; no suggestion (also: no model chosen, too slow) is empty output
and status 0.lembas sessions --json: the recent sessions as one JSON array of
{id, title, model, root, updated}, newest first, for a program that offers to resume one.lembas --version --json: one object with the version, the harness spec, and
terminal_contract: 1with the capabilitiesterminal_state,terminal_context,
terminal_tools,complete_shell.lembas --versionalone is unchanged.
- Session state for the terminal's bars. The TUI publishes its state as user vars
Connection — one way for every LLeMbas product to connect
- Harness: LLeMbas connection 1 (
harness/connection.md,harness/connection.json;
conformanceaddress,version,errors). The address rule and which address is stored,
discovery and its outcomes, how a product names itself, versions judged both ways and
min_clients, a refused token, the link's handshake, close codes and liveness, one reconnect
schedule, state between programs as codes, and the table of conditions, codes and sentences.
Added
codebeside the sentence, so no program reads English: in the service'sservice.json
(linked,connecting,unreachable,timeout,tls_untrusted,not_lembas,
server_error,server_too_old,client_too_old,signed_out,replaced,not_logged_in,
disabled,stopped, …) and in theerrorevent oflembas login --json.- A failed turn says so in the prompt's answer over ACP:
_meta.lembas.error = { code, message },
as well as theerrorevent (which now carriescodetoo). An editor that draws only the
answer no longer shows a turn that ended with nothing and no reason. User-Agent: llembas-cli/<version>on every request to the server and on the link's
upgrade request; the device code'sclient_idis the same string.serve --stdioreads and logs the client'sclientInfo, answers a client that says a
higher protocol with its own (and_meta.lembas.notice, one sentence), and passes on the
server's minimum version for the client's own product (_meta.lembas.min_client).min_clientsin the server's discovery is honoured: a CLI below the server's minimum is
told so at discovery, with both versions.- Liveness on the link: a WebSocket ping every 30 s; after 60 s with nothing heard the link
is closed and dialled again, instead of sayinglinkedfor ever on a dead connection. Retry-Afteris honoured on a 429: a model request is made again after it (twice at most,
capped at five minutes, given up when the turn is stopped), and a sign-in's poll waits it out.
Changed
lembas loginstores the address that was typed, normalised — not thebase_urlthe
server's discovery names, which is now only shown. An existing login keeps working untouched,
and signing in again at the server's real address replaces it rather than adding a second one.
An endpoint discovery names on another origin is not followed, and said.lembas serviceno longer exits when it is not logged in, its token is refused, or a newer
link of the same device took its place. It stays, saysstoppedwith the code, and links
again by itself oncelembas loginhas run — a machine nobody sits at recovers without a
restart. (The unit isRestart=on-failure: exiting 0 left it down for good, and a missing key
file exited 1 and restarted every ten seconds for ever.)linkedis said only after the server'sinitializewas answered, not at the open socket;
connect and handshake together get 30 s.- The link's backoff is 1 s doubling to 60 s with ±20 % jitter, and starts over only after a
link stayed healthy for 30 s: a server that accepts and drops is no longer dialled every second. - Close code 4409 (replaced by a newer link of the same device) stops the link with
replacedinstead of dialling again. - A discovery that fails is no longer followed by a socket dial that would fail the same way.
- The sentences for a server that cannot be reached, is not LLeMbas, fails, or is too old or too
new are the harness's own (connection.json); a 5xx from discovery is "answered N", never
"not a LLeMbas instance".
Fixed
- After
lembas loginreplaced the token, a running service stopped and stayed stopped. The
key file is read at every dial, and a refusal after the key changed dials again with the new one. - A 401 is a sign-out only when it is the server's own (
WWW-Authenticate: Bearer realm="lembas"): a model provider's 401, which the server's/v1passes through, is shown
in its own words and no longer reads as "sign in again". - One rule decides whether two addresses are the same server (
lembas loginagain, the token
hand-over, an earlier login to replace), instead of two different comparisons. - The service's lock file is created exclusively and no longer trusts a recycled pid; the status
file is replaced in one step. serve --stdiogives up a connection whose client sends a line of more than 64 MB without
ending it, instead of reading it into memory.
Display — the side pane and the two transcripts
Added
- Pictures in the display, by themselves. A new Images tab shows what the agent views
withview_image, whatshowshows when it is a picture, and the images you attach or paste
(@shot.png) — the newest first,Alt+←/→through the others. The pane goes to a picture a
tool has just viewed without being asked (unless you pinned a tab) and back to Live when the
agent moves on. Pictures are drawn with the kitty graphics protocol where the terminal is
found to support it (kitty, Ghostty — the terminal is asked, nothing is configured), with sixel
where that is what it has, and as coloured blocks anywhere else, inside tmux included. Setting
images: auto | on | off(defaultauto;onasks for kitty graphics whatever was detected,
offshows the name, size and path only). - Two transcripts: full and compact. Compact groups a round of tool calls into one line —
▸ 7 tools · read ×3 · bash ×2 · edit ×2 · 14.0s— with every failure and every refusal still
on a line of its own, a running call in sight while it runs, and a change as a stat line
(src/a.ts +12 −3) instead of its diff: the detail is in the display. Setting
transcript: auto | full | compact;auto(the default) is compact while the display stands
beside the conversation and full when it does not.Alt+Tor/transcript [auto|full|compact]
switches;Ctrl+Oopens the rounds. Switching keeps your place and runs nothing again. - The display has a header and a mouse. Its first rows say the session's model, mode and
effort, how full the context is, the rate, the month's spend and the project. A click on a tab
opens it, the wheel over the pane scrolls the pane, and every list tab counts its entries
(3/12). Files thatshowshowed are listed under Files.
Changed
- The display pane is the full height of the terminal. It stands at the right from the first
row to the last, beside the prompt and the status bar, instead of ending above them. - The display no longer needs a wide terminal. It stands beside the conversation from 80
columns (it needed 100, and below that showed nothing and said nothing). On a narrower terminal
the status bar saysalt+d display, andAlt+D— or/display— puts the display in the
transcript's place and brings the transcript back; the prompt and the status bar stay. - The status bar has a short form for a narrow column (mode, model, jobs, context); what it
leaves out is in the display's header.
Fixed
- The display's tab bar, title line and key line no longer run past a narrow pane or lose their
middle: each takes the longest form that fits its row. - The welcome box's key hints and the prompt box's placeholder no longer break in the middle of a
phrase in a narrow column; a placeholder that wrapped left the prompt box two rows high. - A word in the status bar that is longer than the bar is cut to it instead of running over the
mode and the model.
Downloads
- A terminal as the client (harness spec 3.12.0). What a terminal emulator with LLeMbas
-
LLeMbas CLI 2.0.0-beta.17
Pre-Releaseci / check (push) Canceled after 0sreleased this
2026-11-27 14:24:25 +00:00 | -126 commits to main since this releaseFixed
- Server memory on
lembas serve --stdio(VS Code / Neovim): stopped setting_meta.lembas.scope(andmarkRemote) on local stdio editor sessions insession/newand_lembas/sessions/resume. Local editor sessions have no server-sideChatrow, so sending a session scope caused/mcpto rejectlembas://memoryandmemorytool calls withMCP error -32602: not this device's session. - Duplicate
lembas://memoryreads on session start: deferredsetScope(),resume(), andnewSession()memory refreshes until after the single initialmcpReadyread completes. - Autocomplete resilience: guarded
CompletionContext.gather()in_lembas/completeso workspace index edge cases fall back to client context instead of failing the completion request.
Downloads
- Server memory on
-
LLeMbas CLI 2.0.0-beta.16
Pre-Releaseci / check (push) Canceled after 0sreleased this
2026-11-26 21:36:32 +00:00 | 45 commits to dev since this releaseFixed
- IDE model switching on
lembas serve --stdio(_lembas/configure): no longer requires a linked server instance connection when changing the active session model from an editor client (VS Code / VSCodium / Neovim), resolving against the signed-in server models instead.
Downloads
- IDE model switching on
-
LLeMbas CLI 2.0.0-beta.15
Pre-Releaseci / check (push) Canceled after 0sreleased this
2026-11-26 21:09:20 +00:00 | -124 commits to main since this releaseAdded
- Live LiNA-style side displays in the TUI (Live activity cockpit, Files, Changes with pending diffs, Bash;
Alt+D//display,Alt+arrows,Alt+PgUp/PgDn). - Session-aware, situation-aware prefilled autocomplete (
_lembas/complete,_lembas/complete/warm) with KV-cache stable chunk ordering. - IDE session list and resume (
_lembas/sessions/list,_lembas/sessions/resume).
Downloads
- Live LiNA-style side displays in the TUI (Live activity cockpit, Files, Changes with pending diffs, Bash;
-
LLeMbas CLI 2.0.0-beta.14
Pre-Releaseci / check (push) Canceled after 0sreleased this
2026-11-24 14:34:42 +00:00 | -121 commits to main since this releaseHarness spec 3.11.0: an editor as the client, the files of a linked computer, and files that are
not text shown in a chat.Added
- An editor as the client of
lembas serve --stdio(harness/acp.md, capabilityeditor).
An editor plugin that sayseditor: truegets, beyond plain ACP:- Autocomplete (
_lembas/complete): the text before and after the cursor in, the insertion
out, from the autocomplete model chosen on the server. No session is opened and nothing is
read for a request; a newer request cancels the one before it. - Rewrite a selection (
_lembas/edit): the selection and an instruction in, the replacement
out, streamed while it is written. One request with no tools; nothing is written — the editor
shows the result as a diff to accept or reject. - What you are looking at, in a prompt: the open file, the cursor, the selection, the
diagnostics and the other open files travel with the prompt and are said to the model in one
block, so a plugin does not write that sentence itself. - Unsaved text: where the editor offers ACP's
fs/read_text_fileand
fs/write_text_file, the agent reads the editor's buffers and writes through them. A file
you changed in the editor after the agent read it is not overwritten: the agent is told to
read it again. Text it read from the editor is never replaced with the text on disk — if the
editor stops answering, the edit is refused rather than worked out from the saved file. With an
editor that only reads, a saved file is edited on disk; one with unsaved changes is refused
until you save it. - Edits as diffs: when an edit is asked about (always in manual mode) the approval carries
each file's text before and after, so the editor shows the diff itself; every finished edit
carries the same, for a list of changed files. Edit and auto mode write as before. - Models and settings:
_lembas/modelsfor a picker, and_lembas/editor/settingsfor your
two model settings — autocomplete, and generate / edit / chat — kept in your account.
- Autocomplete (
- The files of a linked computer (
_lembas/fs/*, capabilityfs, on the link): list, read,
write, make a folder, move, copy, delete and search, for a file manager and an editor in the
web UI and the apps. Only inside the folders the computer shares (remote.roots), with symbolic
links followed before a path is judged; never LLeMbas CLI's own files or a protected path;
read-only where the computer allows plan mode only. A write is checked against what you last
saw, so a file changed meanwhile is not overwritten; a delete goes to the system's trash, or is
refused until you confirm it cannot be undone.
Changes run one at a time, and a path is looked at again after anything was waited for, so a
link moved in meanwhile cannot send a write somewhere else. - Files that run code are read-only from the web unless this computer says otherwise
(remote.files_that_run_code, off by default;lembas remote files-that-run-code on|off).
Git's hooks and configuration, a project's agent configuration (its rules, MCP servers,
commands, agents and skills) and your shell's start-up files can be read from the file manager
of the web UI and the apps, and are changed there only once you turn the setting on here. Only
the global configuration can turn it on. The computer says which it is with its limits, so the
apps can show such a file as read-only beforehand. - The
showtool also shows files that are not text (capabilitymedia): a screenshot the
agent took, a chart, a recording, a PDF or a 3D model appears in the chat of a client that can
show one, whether or not the model can read that kind of file itself.
The server uses these from the version that carries spec 3.11.0.
Downloads
- An editor as the client of
-
LLeMbas CLI 2.0.0-beta.13
Pre-Releaseci / check (push) Canceled after 0sreleased this
2026-11-24 07:44:51 +00:00 | -113 commits to main since this releaseHarness spec 3.10.0: a turn the harness starts by itself is a turn like any other over the link.
Added
- Harness spec 3.10.0: a turn the harness starts (
harness/acp.md, capability
harness_turns). When a background job or a subagent finishes while the session is idle, its
note starts a turn by itself. In an agent chat driven from the web, that turn now behaves like
one you started: the chat shows it as working and can follow it after a restart or a dropped
connection, and the session's history marks the note as the harness's (machine) rather than
as something you typed. The server uses this from the version that carries spec 3.10.0.
Fixed
-
A message sent while the agent answers a subagent's report is no longer refused. It joins
that turn at its next step, as it does during a turn you started; one the turn ended before
taking in is handed back to the web UI to send next instead of being lost. -
A prompt sent while the agent answers a finished job or a subagent's report waits its turn.
It used to fail withbusy, and left the session's record of which turn was running wrong. -
Compacting or rewinding a session is refused while such a turn runs, and the service no
longer lets go of the session, or closes the link for a change ofremote:settings, under it. -
A schedule that uses subagents now reports its real answer. A scheduled run on this
computer used to answer as soon as the main agent had started its subagents ("they are on
it"), and the result arrived later in a turn that could not file a report. The run now stays
open until its subagents have reported, shows Waiting for subagents meanwhile, and its answer
and its report come from the last reply. Stopping the run stops its subagents too. -
Subagents and background jobs are no longer cut off by the service. While a session's
subagents were working and the main agent was idle, the service counted the session as idle: an
update restarted it under them, and opening the session in a terminal stopped them without a
word, so their reports never came. The service now waits for them before it restarts or
redials, and a terminal that opens such a session is told what still runs and how to stop it. -
Stopping a turn that was waiting for a free model slot no longer loses what started it. A
finished job's note, or your own message, stays in the conversation and the model reads it with
the next message. -
A message sent from the web while the link drops is not lost. If the agent was answering a
subagent's report and finished before taking your message in, with no connection to hand it
back over, the message is kept with the session — also across a restart of the service — and
the agent reads it at the start of its next turn. It used to wait in memory, and with
busy_input: queuecame back attached to an unrelated later prompt. -
A message is never given to the agent twice. After a dropped connection the web UI may not
know whether a message you sent while the agent worked was read; sending it again is now safe —
the agent recognises it and says whether it was read already or is waiting for the next turn.
A message the agent had no time for when the connection was down is kept for its next turn
after any kind of turn, not only one it started by itself. -
Stop in the web UI stops the reply you stopped. If your message was still waiting behind a
turn the agent had started by itself (answering a finished job or a subagent), Stop used to end
that turn instead and your message ran afterwards anyway. A server that names the turn
(harness spec 3.10.0) now gets exactly that turn stopped, or taken out of the queue. -
A job's or subagent's note that arrives after you pressed Stop survives a restart and goes
in with your next message, as before. -
In a schedule's chat on a model for interactive use only, a subagent's report that may not
start a turn by itself no longer leaves the main agent marked as working: the session is idle
and the report goes in with your next message.
Changed
- The main agent is told plainly how reports reach it (
blocks/team_lead.md): it does not
wait or ask for them, each one starts its next turn, and it then answers you unasked — it never
tells you to ask again. Sessions started before this keep the prompt they began with.
Downloads
- Harness spec 3.10.0: a turn the harness starts (
-
LLeMbas CLI 2.0.0-beta.12
Pre-Releaseci / check (push) Canceled after 0sreleased this
2026-11-18 00:48:56 +00:00 | -106 commits to main since this releaseHarness spec 3.9.0: the model last used in a directory, Chat and Agentic schedules, models that are for a person's own turns only.
Harness spec 3.9.0: the model last used in a directory, the two types of schedule, a permission rule set right.
Added
-
Harness spec 3.9.0: the model last used in a directory (
harness/acp.md). A new agent
session in a directory starts on the model last used in exactly that directory — from the
terminal, the web, the desktop app or a phone — instead of the server's default. The memory is
this machine's (models.jsonin the state directory) and the server keeps no record of it.
_lembas/directoriestells the server each directory's model (model, capability
directory_model) and answers for one directory alone withlist: false.
It is written when you send a prompt and when you change the model (/model, a setting, the
chat's model in the web UI) — not by a subagent, a command's own model, alembas runor a
scheduled run. A session here starts on, in order:--model, the project'smodel, the
model last used in this directory (while the server still serves it), your globalmodel,
the server's default.lembas uninstall --purgeremoves the file with the rest of the state. -
Harness spec 3.9.0: schedules are Chat or Agentic — an Agentic schedule runs on one linked
computer in one directory with the agent's tools, on the model the schedule names or else the
one last used in that directory; a scheduled run never changes what the directory remembers.
/schedulesays each schedule's type, and/schedule newoffers the two by name. -
Harness spec 3.9.0: interactive-only models (
harness/interactive.md). A server may mark a
modelinteractive_only— one its provider sells for a person's own turns and forbids for
automated, batch and scheduled use. Your turns, and the subagents and teams your session
starts, run on it as on any model. What is not your turn does not: the session's title
and its compaction (asked for or automatic) are asked of the same model under another
provider when the server lists one, else of your globalmodelor the server's default when
that is not interactive-only; with none, the title stays the one made from your first prompt,
automatic compaction is skipped and said once, and/compactis refused with the reason. A
subagent's own automatic compaction goes the same way.
Scheduled work never runs on one: a scheduled session opened on such a model, or a
scheduled turn of a session that has come to be on one, is refused before anything is sent
(data.reason: "interactive_only"), a scheduled run's subagent on one is not started, and a
schedule that follows the directory skips such a model.lembas runwith no terminal at all
(a cron job, a pipeline) is refused on one too./modelsays which models are for
interactive use only.A model that cannot take the summary — too small a window, no tools — is not asked; the model
that is asked is named in a notice and its tokens are counted under it.
Fixed
- A schedule's run is never run in a terminal as your turn. A continuing schedule whose
session was open and shared in a terminal had its prompt passed to that terminal like one
typed in the web UI: on the terminal's model, remembered as the directory's, and without the
Accept scheduled work check. It is refused now, saying the session is open in a terminal
(data.reason: "terminal"), and the next run goes ahead once it is closed there. - A continuing schedule's session keeps its model across a restart of the service. Opened
from the store again it started like a new session — on the directory's model — instead of on
the model it had. The model is kept with the session. - A continuing schedule's run after the service restarted is offered
report_writeagain.
How a schedule opened its session was kept in memory only, so a session opened from the store
again — the service restarted, or the link dialled anew — had lost it: the next run's prompt
told the model to file a report with a tool it was not given. It is kept with the session now. .env.exampleis read without asking after a broad allow, as before it. Withread: allow
made in a menu, by an "always" answer or in a project, the defaults'*.env.*: askand
*.env.example: allowboth counted as narrower rules and the stricter won, so the allow
started a question about every example file. A narrower rule that a later one narrows again
is now set aside (harness/permission/rules.md§2, spec 3.9.0);.envand.env.localstill ask.
Downloads
-