# Changelog ## Unreleased ## [1.0.0-beta.8] — 2026-12-03 ### Privacy: less is sent by itself (both editors) - **Other open files go along only when they belong to the project and do not look secret.** Until now a suggestion sent your server pieces of up to six other open files, and a message the paths of every open tab, wherever those files were on the disk. Now, in both editors: - only files **inside the project** — the working directory in Neovim, the window's folders in VS Code (with no folder open, nothing of other files); - never a file that **looks like it holds secrets**: `.env` and `.env.*` (not `.env.example`, `.env.sample`, `.env.template`), `*.env`, `*.pem`, `*.key`, `*.p12`, `*.pfx`, `*.jks`, `*.keystore`, `*.ppk`, `*.kdbx`, `id_rsa*`, `id_ed25519*`, `id_ecdsa*`, `id_dsa*`, `.netrc`, `.npmrc`, `.pypirc`, `.pgpass`, `.htpasswd`, `.git-credentials`, `credentials*`, `secrets.*`, `secret.*`, and anything under `.ssh/`, `.gnupg/`, `.aws/`, `.kube/`, `.docker/`, `.azure/`; - never a file the project's **`.gitignore`** leaves out (git is asked once a file; until it has answered the file is left out). - **In a file that looks like it holds secrets no suggestion is asked for at all**, so nothing of it is sent. The editor says so once. - The READMEs, `:help llembas-privacy` and the settings' descriptions now say all of what is sent — the text around the cursor, pieces of other open project files, the paths of open project tabs — and what never is. Before, they named the text around the cursor only. - What you point at yourself is unchanged: a selection you ask about, a file you name with `@`, the file you are typing in. ### Fixed (LLeMbas IDE) - **A LLeMbas CLI in `~/.local/bin` that is not on `PATH` is found** — the state right after a first install. The start screen said "not installed", the statusline "no CLI", suggestions were off and every LLeMbas key led to the sign-in page, while the plugin underneath would have worked; `llembas-ide doctor` said the same. There is one rule now, the plugin's (`require("llembas").cli()`), which the IDE, `doctor` and the installer all keep. - **The LLeMbas CLI's installer is checked before it is run.** When you say yes to installing the CLI, its installer is taken from the CLI's own release and run only once it matches that release's `SHA256SUMS`, signed with the LLeMbas release key. Before, it was run as downloaded. A beta of the IDE now takes the CLI's newest beta release itself, instead of the stable line's installer. - `curl … | bash -s -- --help` prints the help (it printed nothing and failed). - The start screen no longer says "LLeMbas needs a server and a sign-in" to somebody who is signed in. - `doctor` and an update notice a file **added** to a plugin's directory, not only one that was changed: Neovim loads both. `doctor` no longer fails a sound installation over a stray line of Neovim's own at start, says so when the list of pinned plugins is missing (it said "git is not installed"), and checks for `ssh-keygen`. - `ssh-keygen` (openssh-client) is named among what the installer needs: it checks the release's signature, and the installer stops without it. - A release archive that holds a link is refused. ### Fixed (VS Code / VSCodium) - **Signing in to another server, or out, lets go of everything read from the old account**: its model list, this window's own choice of model, the sessions listed. Before, the next session could be started on a model the new server does not have, and the Models view offered the old server's list. - **A rewrite holds a file only while it is being written.** Asking for a rewrite and leaving the instruction untyped locked Rewrite and Generate in that file ("a rewrite of this file is still being written") until the window was closed. Asking again now goes to the question that waits. - The Mode and model lists are no longer rebuilt with every step of a turn, which could close a list that was open under the pointer. - The times in the Sessions view are this computer's, not UTC. - Deleting a session that the CLI no longer has reads the list again instead of saying nothing; an agent that did not start is said as that, not as "this CLI cannot delete a session". ### Fixed (Neovim plugin) - An answer that arrives from an agent that was replaced meanwhile (`:LLeMbasNew!`, `:LLeMbasRestart`) no longer ends the new turn or says "the turn failed: the agent stopped". - `:LLeMbasOpen` judges a file by its first bytes and its name, as VS Code does, not by its name alone: a program named `picture.png` is not handed to the system. Plain text opens in the editor. - `:LLeMbasLogin` reads the sign-in there is by whole lines, so that a sign-in cut in two on its way can never be read as "not signed in" and replaced without the question; an address that the CLI would read as an option is refused. - A line of the protocol longer than the plugin keeps is dropped whole, without losing the message after it. - After `:cd`, what is remembered for the new directory holds: the mode and effort a session starts with, LLeMbas and suggestions on or off. - A version with something after its number ("1.2.3junk") is no version in Neovim either. ### Changed (texts, both editors) - One wording for one thing: "LLeMbas is still working. Stop it first." and "This LLeMbas CLI is too old for that. Update it: lembas update" replace eleven different sentences. - Plain words for the CLI's own: *Open a File of This Project* (was "from Project Index"), **Send now** while LLeMbas works (was "Steer"), **Approve: edit without asking** / **Approve: ask before each edit** on a plan (were "Approve (Edit)" / "(Manual)"), "how much a suggestion writes" with the same five names everywhere (were three sets), "Thinking (1,234 characters)". - VS Code's Status view: "Oldest CLI that works", "CLI is too old", "Extension is too old", "Last stop", "Folder"; the "Harness" row is gone. The dot in the chat's header says "Not started: starts when needed" where it said "Ready". `:LLeMbasStatus` in Neovim says "Length", "Model here only", and no longer lists the CLI's capabilities. - VS Code: *Choose the Main Model* is gone (it did what *Models* does); the model is called "chat and rewrite" everywhere. *Stop the Agent* is the command's whole name. - The plugin's help card and the extension's panel no longer call themselves "LLeMbas IDE": that is the Neovim distribution's name. - A message typed while LLeMbas works reads "You (sent while working)" in both editors (VS Code said "[sent while working]", Neovim "You (while working)"). - "Nothing about a server or a model is *stored* in the editor" where the READMEs said nothing is *set* there: the panel does set them, through the CLI. - The root README gives the install line that works while every release is a beta. - The IDE's key table says that a chord is mapped in normal, visual and insert mode. ### Added (Neovim plugin and LLeMbas IDE) - **Four bars around the code.** LLeMbas IDE starts with them; in the plugin alone one option turns them on (`bars = true`), and each can be switched off. - **Top bar**: what LLeMbas is doing (idle, thinking, tools, writing, waiting for you, not signed in, no CLI, AI off), the conversation's title, model · mode · effort, how full the context is, suggestions on or off, and the git branch and the file's problems when there is room. - **Bottom bar**: the keys you need most for the bar that has the focus — the code, the tree, the prompt, the settings lines, the transcript, a proposed change — and Neovim's own state at its right end (mode, modified, macro, search count, line and column, pending operator). - **The tree** on the left, open by default: the file you are in is followed; `Enter` opens, `a` new (a `/` at the end makes a directory), `r` rename or move, `d` delete after asking (to the trash where there is one), `/` filter as you type, `.` hidden files; one git mark a row. - **The right bar**: the settings as they are now (model, mode, effort, autocomplete — `Enter` on a line opens its choices right under it), the chat, and the prompt. Every row is laid out from known widths: fixed cells, one cell that takes the rest and is cut with an ellipsis, nothing wrapped. On a narrow screen the right bar folds away, then the tree. - **The prompt says what Enter will do**: `ask ›`, `rewrite ›` or `add ›`. `Tab` in an empty prompt switches. *ask* sends the question to the chat; *rewrite* has the lines that came along rewritten and *add* has new code written at the point, both shown in the file as changes to accept or reject. `:LLeMbasPrompt [ask|rewrite|add]`. - **To the prompt with what you are on**: the selection, or else the cursor's line, comes along, and its name is shown above the prompt (`main.rs:12-18`). - **The LLeMbas terminal's chords**, beside keys that arrive in every terminal. One table (`require("llembas.keys")`) maps each action in both forms — `Ctrl+Shift+A` / `la` to the prompt, `Ctrl+Tab` / `lm` the mode, `Ctrl+Shift+M` the model, `Ctrl+Alt+M` the autocomplete model, `Ctrl+Alt+A` suggestions, `Ctrl+Shift+I` LLeMbas on and off, `Ctrl+Shift+G` stop, `Ctrl+Shift+Y` / `J` accept and reject (`Alt+Ctrl+Shift+Y` all), `Ctrl+Shift+E` the tree, `Ctrl+Shift+D` the chat, `Alt+←` / `Alt+→` between the bars, `Ctrl+Shift+P` the menu — and the bottom bar shows the form that reaches Neovim from your terminal. The IDE's cheat sheet and README are made from the same table. - **Effort**, in the settings lines, in the menu and as `:LLeMbasEffort`; a level the model does not offer is said, with the level it runs on. - **LLeMbas on and off** (`:LLeMbasAI`, `Ctrl+Shift+I`): off is a plain editor — the agent is stopped, no suggestion is asked for, nothing is sent. - **The menu** (`:LLeMbasMenu`, `Ctrl+Shift+P`): every command and every setting in one list. - **Remembered per working directory**, with a machine-wide default under it: the mode, the effort, suggestions and LLeMbas on or off, which bars are shown and how wide. The models stay where they were kept: the session's with the LLeMbas CLI, the autocomplete and main model in your account. - **Public API for anything that shows LLeMbas's state**: `settings()`, `setting_lines()`, `choices()`, `set()`, `prompt()`, `intent()`, and the event `User LLeMbasChanged` (`:help llembas-api`). - **Inside the LLeMbas terminal** the editor says that it is in front (the user var `llembas_ide`), so the terminal hands its own chords through; nothing is written elsewhere. ### Changed (LLeMbas IDE) - `la`, `le` and `lg` go to the prompt (ask, rewrite, add) with the selection or the cursor's line, instead of asking on the command line. `lm` switches to the next mode; the list of modes is in the settings lines and the menu. - `e` shows and hides the tree; the side-by-side explorer is `E`. - The statusline and the line of open buffers stand in only when the bottom or the top bar is switched off. With the top bar shown the open buffers are reached with `,`, `` and ``. - In the right bar `Enter` sends from insert mode (`Ctrl+J` is a new line) and `Esc` goes back to the code. The chat panel on its own (`bars = false`) keeps its keys. - A session no longer saves the bars' windows; they are laid out anew around what it restores. ### Changed (Neovim plugin) - A proposed change's hint, and the keys in a buffer with changes, are the key table's. - ``, `K` and `i` in the transcript and the prompt's keys are mapped from the key table. ## [1.0.0-beta.7] — 2026-12-02 ### Changed (VS Code / VSCodium) - **Everything is in the one panel.** The LLeMbas side panel has a strip of tabs — Chat, Sessions, Models, Autocomplete, Settings, Account, Status — over one frame, and nothing asks anywhere else: no Quick Pick, no input box, no notification that wants an answer, no trip to the editor's Settings page. Every command is still in the palette and on its key; each now opens the panel where it belongs or does its work in the file. The view that is open, and what you were typing, are there again after the panel is closed or the window reloaded. - **Whole, or beside the conversation.** A tab opens its view in the whole frame. Anything reached from the conversation — the model button, History, a note's button, *Resume a Previous Session*, *Choose This Session's Model*, *Open File from Project Index* — opens beside it (below it in a narrow panel, next to it from 640 px) and closes back with Esc, leaving the composer's text, the scroll and the keyboard where they were. - **Every setting has a field in the panel**, made from one table that follows the manifest. They stay the editor's own settings: each field shows where its value comes from, is written to the level you choose (User or Workspace) and can be reset there, and follows a change made elsewhere at once. The *Tune* drawer is gone: its settings are the Autocomplete view. - **Signing in and out is the Account view**: the address, the code to approve with a button for the approval page (the browser is no longer opened by itself), the question whose sign-in is replaced, and Cancel — all in the panel. - **Models are three lists in the Models view**: this conversation's, the chat and rewrite model, and the autocomplete model, each saved in the account or for this window only. - **Rewrite and Generate ask for their instruction above the composer**, show the rewrite being written with a way to stop it, and offer *Accept all* / *Reject all* there; the changes are still answered one by one in the file. *Ask About the Selection* attaches the selection and puts the keyboard in the composer. ### Added (VS Code / VSCodium) - **Sessions view**: filter, resume, new, and delete (where the CLI can), asked again in the row. - **Status view**: the agent's state, the program and its version, what this and the server need, what went wrong lately, what the agent last wrote, and *Restart the agent*. Commands *LLeMbas: Status of the Agent* and *LLeMbas: Settings (in the Panel)*. - What the page sends is checked against a schema: a setting is written only when it is one of LLeMbas's, with a value of its type and range; a server's address the program would read as an option is refused. - Controls are 28 px high, fields keep their label, control, hint and level on shared rows, nothing scrolls sideways in a 240 px side bar, and high-contrast themes and reduced motion are respected. ## [1.0.0-beta.6] — 2026-12-01 Both editors were checked method by method against the LLeMbas CLI (2.0.0-beta.17) and now run their tests against one stand-in agent that answers only as the CLI does — and against the CLI itself where its source is at hand. ### Added (VS Code / VSCodium & Neovim) - **Sign in and out from the editor.** `:LLeMbasLogin [address] [--ca file]` / *LLeMbas: Sign In* runs the CLI's own sign-in, shows the code to approve, opens the approval page and, once it is approved, starts the agent anew so the open chat works at once; it can be cancelled (`:LLeMbasLoginCancel`, the notification's Cancel). The CLI keeps one sign-in for the whole computer: when it would be replaced, the editor says whose it is and asks first. `:LLeMbasLogout` / *LLeMbas: Sign Out*. Every "not signed in" message offers it. - **The CLI's version is checked.** One older than 2.0.0-beta.16 is said once, with both versions and how to update (`lembas update`); versions are compared as numbers (`beta.10` is newer than `beta.9`). A server that asks for a newer plugin or extension is said once too. - **`lembas` is also looked for in `~/.local/bin`** when the editor's `PATH` does not have it, and a CLI that is not found says how to set its path. - Neovim: `:LLeMbasRestart` (stop the agent; it starts again when needed) and `:LLeMbasLog` (what the agent wrote on stderr); `:LLeMbasStatus` says the CLI's version, the folder, and why no suggestion came. The subagents at work are counted in the panel's header. - VS Code: the chat page tells a screen reader that a turn began or ended and that something waits for an answer, instead of reading every piece of a reply again; file references, links and question options are reachable and operable with the keyboard, and inputs have labels. ### Fixed (VS Code / VSCodium & Neovim) - **A turn that failed was silent.** The CLI ends it like any other and says why in an event (and, from its next version, in the answer): the reason is now in the transcript, once. - **Token usage and progress were never shown** with the real CLI: both were read from fields it does not send. Usage is the session's own (a subagent's is not added); progress says what it is about (the tool call, the model, why it retries). - **The agent could not edit a file it had read through the editor unless the file was open** — in Neovim any file that was not open, in VS Code any file whose tab was closed after the read: every later edit was refused with "read it again". The editor now answers for files that are not open from the disk, byte for byte, and writes them there. - **An edit right after a write was refused as "changed since you last read it"** where the editor holds the text differently from how it was written (a CRLF document, a last line break): the agent is given back exactly what it wrote while the document has not changed since. - **Not being signed in** is said the same way everywhere, with what to do; a session is asked for once more with a new agent before it is said, so signing in and sending again works without restarting anything. - **The agent's life.** The start is given up after 10 seconds without an answer, and requests that would leave the editor waiting have a limit; an agent that ignores a stop is killed after 5 seconds; a crash is said once, with the agent's last words, and the next message starts a new one; nothing is left running when the editor closes. - A file the agent shows as text is opened as the file itself only when the file here holds exactly that text, and otherwise as the text that was sent, read-only (Neovim used to ignore the text; both looked for the file in the wrong folder when the session's was not the editor's). - A card the agent takes down (answered elsewhere, or no longer waited for) is not answered afterwards; a closed approval is shown as refused. - The hello says `protocol: 3` and the client's name (`llembas-nvim`, `llembas-vscode`). - Finding a file for `@file` asks for part of its name: the CLI's index answers an empty question with only the files used lately, which looked like "no files" in a new project. It needs no session, and no sign-in. - Session resume: attachments, harness turns and failed tool calls are drawn as they were. ### Fixed (Neovim) - A server failure switched suggestions off for good, and every refusal pointed at the model picker. Only refusals that stay true (no model, a model not allowed, not signed in, an older server) stop the asking, each with its own way out; anything else pauses it. While you type the reason is one short line, never a prompt to press a key. - A rewrite used the model the first session started on, even after the session's model was changed. - A long prefix was cut in the middle of a character. - The install recipe makes the help tags, so `:help llembas` works. ### Fixed (VS Code / VSCodium) - A line the agent never ended was kept for ever (now at most 64 MB, as in Neovim). ### Added (LLeMbas IDE) - **LLeMbas IDE: a complete Neovim editor with LLeMbas built in, installed by one script** (`ide/install.sh`, later `curl … | bash`). For one user, without root, under its own `NVIM_APPNAME` (`llembas-ide`): a Neovim configuration of your own is never read or written. - A **pinned Neovim** release (0.12.7), its SHA-256 checked before unpacking; or a Neovim of your own, 0.10 or newer, with `--nvim-bin`. - **Five third-party plugins, each at one pinned commit** (`ide/plugins.lock`; licences in `ide/THIRD_PARTY.md`, all MIT or Apache-2.0), placed as plain Neovim packages: no plugin manager, nothing fetched or updated when the editor starts. 19 Treesitter grammars are compiled at install when a C compiler is there (`ide/parsers.lock`); otherwise Neovim's bundled ones are used. - **The editor**: file explorer, fuzzy finder (files, text, buffers, symbols), Treesitter highlighting, language servers found on `PATH` through Neovim's own client (`:LLeMbasIdeLsp` says which are found and how to install the others; the IDE downloads none), a completion menu that leaves `` to LLeMbas's suggestions, git signs and diffs, statusline and buffer line, key hints, comment, surround, autopairs, a terminal, problem lists, format on demand, one session per directory. One leader-key map: `:LLeMbasIdeKeys`. - **LLeMbas built in**: chat, ask, rewrite, explain, fix and generate under `l`, suggestions on and off, model, mode and state in the statusline, sign-in from the start screen. Nothing is predefined, and the editor works fully without a server. - **The LLeMbas look**: a start screen with the mark, and the colourscheme `llembas` (dark `moria`, light `shire`) generated from the design tokens by `scripts/gen-ide-theme.py`. - **A launcher**, `llembas-ide`, with `--version`, `doctor`, `update` and `uninstall`, and a menu entry. - Everything is built in a staging directory and started there once before it replaces what is installed; a failure leaves things exactly as they were. `--dry-run` prints every action. - `scripts/test-ide.sh` tests it; `scripts/package-ide.sh` writes the release files (`install.sh`, `llembas-ide-.tar.gz`, `SHA256SUMS`). ### Fixed (LLeMbas IDE) - Shell scripts and TSX files are coloured by their compiled grammars: a file type whose name is not its grammar's (`sh`, `typescriptreact`, `javascriptreact`, `jsonc`) had none started for it. - An install that is refused leaves nothing behind, not even the empty directories above its prefix, and a release address that is not `https://` is refused in words. ## [1.0.0-beta.5] — 2026-11-27 ### Fixed (VS Code / VSCodium) - **Chat input pinned to the bottom of the side panel.** Wrapped the header, collapsible Tune drawer, and subagent strip inside a single `.chrome` container and restored a 3-row `body` grid (`auto minmax(0, 1fr) auto`) with `height: 100vh`. Previously, `hidden` (`display: none`) siblings shifted `
` and `