Commit Graph
14 Commits
Author SHA1 Message Date
HomerandClaude Opus 5.5 97d3f8bbba LLeMbas IDE: one rule for where the CLI is, its installer checked, honest doctor and start screen
- The CLI is found where the plugin finds it (require("llembas").cli(): PATH, then
  ~/.local/bin); the installer and the launcher keep the same find_cli in shell, and
  scripts/test-ide.sh fails when the two shell copies differ or disagree with the plugin. A CLI
  in ~/.local/bin that is not on PATH (right after a first install) is no longer "not installed".
- The CLI's get.sh is taken from a CLI release (the newest of the channel, or
  LLEMBAS_IDE_CLI_VERSION) and run only after that release's SHA256SUMS is verified with the
  release key and get.sh matches it; LEMBAS_REF names that release.
- curl … | bash -s -- --help prints the help (it is a here-document now); it names ssh-keygen.
- The start screen says a sign-in is needed only when there is none.
- doctor and an update see files added to a plugin, not only changed ones; doctor accepts the
  start as the installer does, says when plugins.lock is missing, checks ssh-keygen, and counts
  "1 check failed" / "N checks failed".
- A release archive that holds a link is refused; newest_tag keeps redirects on https.
- The README key table says where a chord also works.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 07:52:31 +00:00
HomerandClaude Opus 5.5 2b1d42b976 Neovim plugin: only project files go along, the shared rules held by shared cases, review fixes
Privacy: pieces of other open files with a suggestion, and the names of other open files with a
message, now come only from files inside the working directory, never from a file that looks
like it holds secrets (one table, tests/rules/private_files.json, which the VS Code extension
reads too), and never from one the project's .gitignore leaves out. In a file that looks secret
no suggestion is asked for; said once. :help llembas-privacy says what is and is not sent.

- require("llembas").cli(): the one function that decides where the LLeMbas CLI is (PATH, then
  ~/.local/bin); LLeMbas IDE and its launcher follow it.
- A late answer from an agent that was replaced (:LLeMbasNew!, :LLeMbasRestart) no longer ends
  the new turn.
- :LLeMbasOpen judges a file by its first bytes and its name (llembas.shown), as VS Code does.
- The existing sign-in is read by whole lines; an address that reads as an option is refused.
- A protocol line over the limit is dropped whole, not the message after it; a notification
  that fails is noted in :LLeMbasLog.
- After :cd the remembered settings of the new directory hold.
- Versions: "1.2.3junk" is no version, as in VS Code.
- tests/rules/: versions, private files, server addresses, sign-in lines, protocol lines and
  openable files, as data both editors' suites read (scripts/test-nvim.sh rules).
- The stand-in agent answers _lembas/session/delete as the CLI does ({deleted}, no notification
  on serve --stdio).
- Texts: one sentence for "still working" and one for "this CLI is too old"; plain words in
  :LLeMbasStatus and the length presets; the help card is "LLeMbas — commands and keys".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-03 07:52:14 +00:00
HomerandClaude Fable 5.2 572d12e967 LLeMbas IDE: the four bars are its screen; its keys for LLeMbas are the plugin's one table
The IDE starts with the tree open on the left and LLeMbas's settings, chat and prompt on the
right, the state on top and the keys for where the focus is at the bottom. Its cheat sheet and
README read LLeMbas's keys from the plugin's key table; the statusline and the line of buffers
stand in when a bar is switched off; a session saves the code's windows only. Tests at 160x45,
100x30 and 80x24 on the installed IDE's own screen.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 20:44:14 +00:00
HomerandClaude Fable 5.2 102d68349f Neovim: the four bars — top, bottom, tree, and the right bar with settings lines, chat and prompt
One table of keys binds every action in two forms (the terminal's chords, and keys that always
arrive), and the bottom bar shows the form that works for the bar that has the focus. The prompt
says what Enter will do (ask, rewrite, add; Tab switches in an empty prompt) and carries the
selection or the cursor's line as its attachment. Mode, effort, suggestions, AI on or off and
the bars are remembered per directory with a machine-wide default.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 20:33:22 +00:00
HomerandClaude Fable 5.2 9de046c603 A GitHub Release for a tag, made from the signed Gitea release of the same tag
release / release (push) Failing after 50m4s
ide/install.sh reads GitHub's releases by default, and a mirror carries
none: the workflow waits for the Gitea release, checks it as the
installer would, and publishes the same files.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 22:56:46 +00:00
HomerandClaude Fable 5.2 777c4d8852 1.0.0-beta.6: LLeMbas IDE in one installer, sign in from the editor, the CLI's real shapes; releases signed with the LLeMbas release key
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 21:51:07 +00:00
Homer fa5b6499f8 Merge remote-tracking branch 'origin/round/distro' into round/merge
# Conflicts:
#	CHANGELOG.md
2026-12-01 20:39:20 +00:00
HomerandClaude Fable 5.2 0675b42df8 ide: test typing, a person's own plugin and a custom prefix
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 19:55:52 +00:00
HomerandClaude Fable 5.2 16502c174e ide: tests, the launcher's doctor/update/uninstall, docs
scripts/test-ide.sh: static checks, dry run, real installs into temporary homes, headless
checks from the inside, update in place, failures that leave nothing behind, a packaged and
signed release, uninstall.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 19:54:03 +00:00
HomerandClaude Fable 5.2 31ede4d8d2 ide: the LLeMbas IDE distribution — one installer, a pinned Neovim, a branded configuration
A new top-level ide/: install.sh places a hash-checked Neovim release, five third-party
plugins each at one pinned commit, the LLeMbas plugin from nvim/, a generated colourscheme
and a launcher, for one user and under its own NVIM_APPNAME. Built in a staging directory,
started there once, then swapped in.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 19:49:21 +00:00
HomerandClaude Fable 5.2 d095de0458 VS Code: sign in and out, the server's minimum version, an accessible page; docs and changelog
LLeMbas: Sign In / Sign Out run the CLI's own sign-in and say whose it replaces. The chat page tells
a screen reader what happens and is operable with the keyboard. New tests: the vscode API used
against engines.vscode, signing in against a stand-in lembas, and the LLeMbas CLI itself when its
source is at hand. The READMEs, the Neovim help (helptags in the install recipe) and the changelog
say what changed.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 19:45:58 +00:00
HomerandClaude Opus 5.5 dd2bc2dcae hygiene: let the output decide, not xargs' exit status
`if … | xargs -0 grep` read a match as clean whenever any one batch of
files had none (xargs answers 123) or grep met an error (2). Today every
file fits one batch, so nothing slipped through; it would once the
repository grows. Same form as the server's and the CLI's check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01H1bF3XAshtCGhF7TeLGcDk
2026-11-28 00:06:31 +00:00
HomerandClaude Fable 5.2 3d548bbd73 VS Code / VSCodium: the extension's first version
A client of `lembas serve --stdio`, in vscode/: plain JavaScript, no
dependencies, no build. scripts/package-vscode.sh writes the .vsix with
Node alone; the version comes from VERSION.

- Chat in a side bar view: transcript, mode, the session's model, Stop,
  new session. Approval cards are answered there; one that carries ACP
  diff content opens the editor's diff view before the answer.
- Ask about a selection, with the editor context as _meta.lembas.editor.
- Rewrite a selection through _lembas/edit: proposed changes with
  Accept / Reject per change and for all, and a diff beside the file.
  Nothing is written before it is accepted.
- Autocomplete as an inline completion provider on _lembas/complete:
  debounced, the request before cancelled by its own id, a cancelled or
  stale answer shown as nothing. No model chosen: said once, with a
  button that opens the picker.
- The two model settings through _lembas/editor/settings, and a quick
  switch for the window that is saved nowhere.
- Files the agent shows (_lembas/show, _lembas/show/read): pictures in
  the chat, anything else a line with Open, under a size limit.
- fs/read_text_file answered from the open document.

Model output is untrusted: the extension's own Markdown reader makes a
tree of plain objects and the page builds elements and text from it,
under a Content-Security-Policy with one nonce'd script.

Tests (scripts/test-vscode.sh, node --test): the modules in src/ against
a stand-in agent, the package's structure, and extension.js against an
in-memory stand-in for the editor's API. Nothing was run inside VS Code.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 11:42:58 +00:00
HomerandClaude Fable 5.2 85a26a811c LLeMbas IDE: the Neovim plugin's first version
A chat panel on `lembas serve --stdio` of the LLeMbas CLI: ask about a selection, have it
rewritten, approvals asked in the editor, mode and model. The VS Code extension is a placeholder.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-24 06:57:37 +00:00