Files
2026-12-03 08:01:19 +00:00

33 KiB
Raw Permalink Blame History

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 / <Leader>la to the prompt, Ctrl+Tab / <Leader>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)

  • <Space>la, <Space>le and <Space>lg go to the prompt (ask, rewrite, add) with the selection or the cursor's line, instead of asking on the command line. <Space>lm switches to the next mode; the list of modes is in the settings lines and the menu.
  • <Space>e shows and hides the tree; the side-by-side explorer is <Space>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 <Space>,, <S-h> and <S-l>.
  • 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.
  • <CR>, 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 <Tab> 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 <Space>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-<version>.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 <main id="log"> and <footer> onto auto tracks above an empty 1fr track, floating the chat composer near the top with empty space beneath it.

[1.0.0-beta.4] — 2026-11-27

Fixed (VS Code / VSCodium & Neovim)

  • Protocol compatibility with LLeMbas CLI 2.0:
    • _lembas/files/search: read { path, kind } objects returned by the CLI (with string fallback) so @file search, :LLeMbasFiles, and Add File / Open File work reliably and distinguish files from directories while escaping spaces and #.
    • _lembas/sessions/resume: replay the CLI's historyTurns shape (role: "user" | "assistant", tool calls with outputs, thinking blocks, attachments, and harness turns), fixing empty transcripts on session resume.
    • _lembas/question: send spec-compliant Answer objects ({ kind: "options", labels }, { kind: "custom", text }, { kind: "skipped" }) so answers are accepted instead of silently treated as dismissed; support recommended markers and multi-select in Neovim too.
    • _lembas/plan: send { outcome: "dismissed" } on dismissal.
  • Neovim :LLeMbasFix & editor context: include buffer error/warning diagnostics and open file paths in _meta.lembas.editor even when no visual range is selected, and read cursor position from the buffer's own window.
  • VS Code llembas.generate: guard against concurrent rewrites on the same file, show streaming progress with cancellation (_lembas/edit/cancel), and report when nothing changed or the document edited meanwhile.
  • Neovim robustness: cap JSON-RPC line buffer memory in rpc.lua, disable undo history on the read-only transcript buffer, reset session metadata (title, progress, usage, team, attached, shown) on :LLeMbasNew, handle _lembas/permission/settled and transient autocomplete errors cleanly, and read M.version directly from VERSION.

Added & Improved (VS Code / VSCodium)

  • Redesigned chat sidebar UI & visual polish:
    • Two-row branded header with the LLeMbas pixel-leaf icon, live connection/working dot, mode indicator dot, session title, and compact action bar.
    • Welcome empty state ("Waybread for the code ahead.") with quick-action starter buttons (Explain selection, Fix file problems, Add @file, Resume session) and shortcut hints.
    • Autocomplete Tune drawer in the sidebar with an interactive Max Tokens slider (0..4096), quick length presets (Default, Words, Line, Block, File), Prediction scope selector (llembas.complete.length), Autocomplete instructions input (llembas.complete.instructions), and live toggles for Suggest as you type and Show thinking.
    • Real GFM Markdown tables inside horizontally scrollable wrappers with column alignment and inline formatting, plus ~~strikethrough~~ and task list checkboxes (- [x] / - [ ]).
    • Fenced code block toolbars with one-click Copy and Insert at cursor buttons.
    • Collapsible Thinking blocks and expandable tool call outputs with semantic status icons, tool kind tags, execution duration (ms), and clickable file chips.
    • Visual <progress> bar on live Plan cards, rich Markdown rendering inside Plan approval cards, live subagent team strip, session token usage indicator (↑/↓), auto-growing prompt input, and upgraded status bar item.
    • New commands: LLeMbas: Compact Session Context (llembas.compact) and LLeMbas: Toggle Autocomplete as You Type (llembas.toggleAutocomplete).

Added & Improved (Neovim)

  • Dedicated LLeMbas* highlight groups & visual design (lua/llembas/ui.lua): colorscheme-aware highlights re-applied on ColorScheme, branded transcript winbar with session title/mode/model/token usage/phase, empty-state virtual-text welcome banner, section dividers, visual plan progress bar + task list, inline diff hint & gutter highlights, and floating preview windows.
  • Autocomplete length, tokens & word-by-word accept: :LLeMbasAutocompleteTokens [N|auto|words|line|block|file] and :LLeMbasAutocompleteInstructions [text|-], plus <M-Right> (accept_word) to accept suggestions one word at a time.
  • New commands & panel keys: :LLeMbasGenerate, :LLeMbasCompact, :LLeMbasCommands, :LLeMbasToggleThoughts, :LLeMbasCancelEdit, :LLeMbasNextHunk / :LLeMbasPrevHunk (]h/[h), :LLeMbasStatus, :LLeMbasHelp (g?), require("llembas").statusline(), plus K (inspect tool output in a float), y (yank code block under cursor), i (jump to prompt), <C-x><C-f> (@file), <C-x><C-o> (/command), and configurable panel position (right, left, bottom, float).

[1.0.0-beta.3] — 2026-11-26

Fixed (VS Code / VSCodium)

  • Chat sidebar view loads cleanly in VSCodium. Allowed space-separated multi-origin webview.cspSource values (such as vscode-resource: https://*.vscode-cdn.net) in src/webview.js instead of throwing unsafe value for the chat page (which caused VSCodium to display An error occurred while loading view: llembas.chat), while still blocking CSP injection characters (", <, >, ;, newlines).

[1.0.0-beta.2] — 2026-11-26

Added (VS Code / VSCodium & Neovim)

  • Full agentic workflows (protocol 2): interactive Question cards (_lembas/question), Plan approval cards (_lembas/plan), detailed live plan progress, live phase status, live mid-run mode switching, and mid-run steering (_lembas/steer).
  • Session-aware prefilled autocomplete: sends workspace cwd, sessionId, and open buffer snippets on _lembas/complete, and pre-warms the CLI's file index and direct imports on tab/buffer switch (_lembas/complete/warm).
  • Project file index & navigation: @file search popup in VS Code chat, clickable file:line references (VS Code chat + <CR>/gf in Neovim chat), project file index commands (llembas.openFile, llembas.addFile, :LLeMbasFiles, :LLeMbasOpenFile), and _lembas/show text fallback & line range reveal.
  • Session resume & coding actions: resume previous sessions with full transcript replay (llembas.resumeSession, :LLeMbasSessions), plus llembas.explain / :LLeMbasExplain, llembas.fixProblems / :LLeMbasFix, llembas.generate, / slash command completion, and multi-root workspace detection.

[1.0.0-beta.1] — 2026-11-24

Neovim plugin

  • First version. A chat panel beside your files, on lembas serve --stdio of the LLeMbas CLI: :LLeMbas opens it, :LLeMbasAsk asks about the selected lines (with a question at once, without one the lines go with the next message you type), :LLeMbasEdit has the selected lines rewritten, :LLeMbasStop, :LLeMbasNew, :LLeMbasMode and :LLeMbasModel.

  • A selection is sent as the buffer has it, saved or not, with its file, its lines and the diagnostics shown on them. A typed message names the file you are in.

  • The CLI's approval cards are asked in the editor; closing one is a denial.

  • Files the agent changes are reloaded in buffers that have no changes of their own.

  • Suggestions as you type, and on a key (<M-\>), from the autocomplete model chosen on your server; <Tab> accepts. A newer keystroke cancels the request before it, and an answer for a place you have left is never drawn. :LLeMbasAutocomplete turns typing-time suggestions on and off.

  • A rewrite is a proposal. :LLeMbasEdit shows the result as changes in place, old lines marked and new lines beside them; ga / gr accept or reject the one under the cursor, gA / gR all. Nothing is written before you accept, and the buffer need not be saved.

  • Two model settings, saved in your account: :LLeMbasAutocompleteModel and :LLeMbasMainModel (chat and rewriting). With ! the autocomplete model is switched for this editor only.

  • An approval that carries a diff shows it while the question is open.

  • The agent reads a file that is open here from its buffer, saved or not.

  • A file the agent shows is opened in the window you edit in; one that is not text is named in the chat and :LLeMbasOpen hands it to the system's viewer.

  • The editor's context (file, cursor, selection, diagnostics) goes to the agent as data.

  • These need a LLeMbas CLI with harness spec 3.11.0. With an older one the plugin works as before.

  • The agent's write to a file that is open here goes into the buffer and is saved at once, so the buffer and the disk never part.

  • <Tab> is the plugin's only while a suggestion is on the screen; whatever you had mapped to it is yours the rest of the time. The same holds for ga, gr, gA, gR and a shown rewrite.

  • An approval lists the refusal first, so a digit and Enter typed while the question opens allows nothing.

  • :LLeMbasOpen hands the system only files that are looked at or listened to, never one that may run.

  • :LLeMbasNew! ends an agent whose turn hangs.

Fixed (Neovim)

  • A file the agent asked for could be answered from another open file whose name began the same.

  • Accepting a change after deleting one of its lines removed a line that was not part of it.

  • A reloaded file kept the changes proposed for its old text.

  • An agent that does not start was started again at every typing pause.

  • Starting a new session could leave the plugin believing the new agent had stopped.

VS Code / VSCodium extension

  • First version, in vscode/: a client of lembas serve --stdio, like the Neovim plugin. Plain JavaScript with no dependencies and no build; scripts/package-vscode.sh writes the .vsix.
  • A chat in the side bar: the transcript, the session's mode and model, Stop, and a new session. The CLI's approval cards are answered there; one that carries an edit opens the change in the editor's diff view before you answer, and nothing is written until you allow it.
  • Ask about a selection: the file, the lines, the selected text as the editor has it and the problems shown there go with the question; a typed message carries the file in front.
  • Rewrite a selection: the result is proposed in the file as changes to accept or reject, one by one or all at once, and as a diff beside it. Nothing is written before you accept.
  • Autocomplete as inline suggestions, as you type and on Alt+\. Without an autocomplete model it says so once, with a button to choose one.
  • The two model settings, autocomplete and main: saved in your account, or switched for one window only.
  • A picture the agent shows appears in the chat; any other file is a line there. Open is offered only for kinds that are merely displayed (pictures, plain text, PDF, sound, video), and only when the file's bytes and its name agree; everything else can only be shown in its folder. Files of more than 64 MB are refused.
  • The agent reads a file you have open as the editor has it, saved or not, and a file it writes is put into the open document and saved.
  • What a model writes is drawn as text through the extension's own small Markdown reader: HTML in a reply stays text, and only http, https and mailto links open. However long or oddly written a reply is, reading it takes time in step with its length.