Skip to content

LLeMbas IDE 1.0.0-beta.6

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 01 Dec 22:57
· 0 commits to main since this release

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.