HomerandClaude Fable 5.2 a756280868 VS Code: review fixes — Open is an allow-list, the agent's writes go through the document
- Shown files: Open is offered only for kinds that are merely displayed
  (pictures and plain text in the editor; PDF, sound, video in the
  system's viewer), and only when the first bytes and the name agree.
  Everything else is shown in its folder. The deny-list is gone.
- fs.writeTextFile is offered: the text is put into the open document
  with one edit and saved before the answer; a file that is not open is
  an error, so the agent writes the disk itself.
- An agent stopped on purpose lets go of its session at once, not when
  its exit is heard (a request in between left a stale session id).
- Markdown: one budget of steps per parse, a cap on line and text
  length, no quadratic pattern left in headings or backtick runs; a
  reply is read as it grows, settled text only once, and the page is
  told less often the longer the reply is.
- A second rewrite of a file is refused while one is being written; a
  new proposal clears the old one's texts.
- Shown files and their temporary copies go when the chat is cleared.
- llembas.chat.startMode is machine-scoped.
- A shown text that is no file here opens as a read-only document.
- One "applying" mark per document instead of one for all.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 12:15:18 +00:00

LLeMbas IDE

LLeMbas in your editor: a Neovim plugin, and a VS Code / VSCodium extension.

Both are clients of the LLeMbas CLI. The CLI is the agent: it holds the sign-in to your LLeMbas server, the models, the tools and the permissions. The editor starts lembas serve --stdio and talks to it over the Agent Client Protocol. Nothing about a server or a model is set in the editor.

This is a beta. It needs LLeMbas CLI 2.0.0-beta.12 or newer, signed in (lembas login <address>).

Neovim

Needs Neovim 0.10 or newer. The plugin lives in nvim/, so the runtime path points there.

lazy.nvim:

{
  "LLeMbas/LLeMbas-IDE",
  branch = "dev",
  config = function(plugin)
    vim.opt.rtp:append(plugin.dir .. "/nvim")
    vim.cmd("runtime plugin/llembas.lua")
    require("llembas").setup({})
  end,
}

vim-plug: Plug 'LLeMbas/LLeMbas-IDE', { 'branch': 'dev', 'rtp': 'nvim' }

Command What it does
:LLeMbas open or close the chat panel
:'<,'>LLeMbasAsk [question] ask about the selected lines; without a question they go with the next message
:'<,'>LLeMbasEdit [instruction] have the selected lines rewritten; shown as changes to accept (ga, gA) or reject (gr, gR)
:LLeMbasAccept[!], :LLeMbasReject[!] the same from the command line (!: all)
:LLeMbasAutocomplete [on|off] suggestions as you type
:LLeMbasAutocompleteModel[!] [model] the model that writes suggestions (!: this editor only; -: back to the default)
:LLeMbasMainModel [model] the model for chat and rewriting, saved in your account (? shows both)
:LLeMbasOpen open the file the agent showed last
:LLeMbasStop stop the running turn
:LLeMbasNew start a new session
:LLeMbasMode [mode] change the mode
:LLeMbasModel [model] show or change the model

In the prompt: Enter (normal mode) or Ctrl-S sends, Ctrl-C stops the turn, q closes the panel. Help: :help llembas.

While typing, <Tab> accepts a suggestion and <M-\> asks for one; both keys can be changed in setup.

Suggestions, rewrites shown as changes, the model settings and shown files need a LLeMbas CLI with harness spec 3.11.0 (after 2.0.0-beta.13). With an older CLI the chat, asking about a selection and approvals work, and a rewrite is done by the agent on the saved file.

Not there yet: picking an older session, and the agent's questions and plans as cards.

VS Code and VSCodium

Needs VS Code or VSCodium 1.85 or newer. The extension lives in vscode/; it is plain JavaScript with no dependencies, and is installed from a package you build with Node alone:

scripts/package-vscode.sh                                   # writes dist/llembas-<version>.vsix
codium --install-extension dist/llembas-<version>.vsix      # or: code --install-extension …

A chat in the side bar, questions about a selection, a selection rewritten as changes you accept or reject, autocomplete as you type and on Alt+\, the two model settings, and pictures the agent shows. Commands, keys, settings and what is not there yet: vscode/README.md.

Tests

scripts/test-nvim.sh runs the plugin headless against a stand-in agent (needs nvim and python3).

scripts/test-vscode.sh runs the extension's parts that need no editor against a stand-in agent of its own, and checks the package (needs Node 18 or newer and python3). It does not start VS Code.

Licence

MIT.

S
Description
LLeMbas in the editor: a Neovim plugin and a VS Code / VSCodium extension on the LLeMbas CLI
Readme MIT
800 KiB
0 Stars 2 Watchers 0 Forks
Languages
Lua 85.3%
Python 11.6%
Shell 3.1%