S11. autocomplete = 'shell' had the shell integration send what was typed
to the engine itself: it could not see a private pane or the AI switch,
and had its own timeout and no chosen model. autocomplete.bash and
autocomplete.zsh are removed, with what exported their switch; the shell
integration keeps its zones and the status record. 'shell' turns nothing
on and is said in the log.
S14. The build job may only read the repository; a job of its own,
for a tag only and after the build passed, downloads the build's artefact
and publishes the release with write access. Every action is pinned by
its commit, with the tag it was taken from beside it.
S16. The set-up program refuses to run as root (everything goes into the
person's own home). A signed SHA256SUMS whose first line names a product
and version must name the release asked for: an older signed release served
under the newest tag is refused. Sums that name nothing yet are still taken,
and that is said. Tests for both, and for the root refusal.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The rename. Commands llembas-term, -gui, -mux-server, -setup; package llembas-term
(Replaces, Conflicts and Provides llembas-tty, so installing it removes the old one);
directories llembas-term; application id eu.llembas.term; the variables a pane sees
LLEMBAS_TERM…; the status record llembas-term-status=1, the input mark
llembas-term-input=1, the user variable llembas_term_status; the shell integration
llembas-term.sh; the workflow llembas-term.yml; every changed upstream block is marked
"LLeMbas TERM:". The terminal needs the engine's terminal contract 4 and says so in
words with an older CLI.
Carried over from the earlier name: the variables LLEMBAS_TTY… of a terminal that
started this one are dropped; a configuration file of the old name is read where it
is while there is none of the new, with a warning; command-history and
settings-chosen are copied once into a data directory that does not exist yet
(llembas-line::migrate); the set-up program prints the new line for an rc file that
has the old one.
Keys. Ctrl+Tab on the ask line switches the mode (the next tab anywhere else);
Ctrl+Shift+M and Ctrl+Alt+M open the lists of chat and autocomplete models, also
over the ask line, which then says the choice. In a pane where LLeMbas IDE says it
is in front (user variable llembas_ide=1) the chords both have are sent on to it as
the keyboard protocol's bytes and the terminal does nothing of its own; the
terminal's palette is also on Ctrl+Shift+Alt+P. The built-in configuration honours
the kitty keyboard protocol for a program that asks for it.
CI: the .deb is installed over the released llembas-tty 1.0.0-beta.5; keys are
pressed in a real window on Xvfb (not a gate).
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The ask key turns the row of the cursor into a line for a question to LLeMbas: a prefix naming
the model and the mode, and a small line editor of the terminal's own (insert, delete, word
motions, paste, earlier questions). Enter hands the line to the layer as its event; Escape or
the key again leaves it. Nothing typed there reaches the shell, and nothing is written to the
pane: it is an overlay over the pane, as the terminal's search and quick select are, drawing
the pane's own lines with the one row replaced.
- llembas/line: a crate of its own with no dependencies for what is decided about a line of
text - the editor, the shell's input line as read from the screen's cells, the terminal's own
command history, suggestions, and the parts of a command line for its colours - with its
tests. The last four are used by what comes next.
- wezterm-gui/src/llembas: the thin part between that and the terminal, and wezterm.llembas
through which the Lua layer asks for it.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
- An option `ai` and a switch that works at any moment; with AI off every key of the layer
but the switch does nothing, and says so once.
- A key opens the LLeMbas CLI whole, in a new tab, as if `lembas` were typed.
- A question goes to the terminal's display (`lembas terminal`, started to the right of the
pane at a third of its width, the focus staying where it was) and never to the CLI's own
interface in a split. A CLI without the display is said so in words, with how to update.
- Keys and palette entries that act on the display from the person's own pane: allow, allow
always, deny, stop the turn, new conversation, show/hide, choose model, choose mode.
- The shell integration writes the pane's status record at every prompt and when a command
starts (a file of the person's own, and the user variable llembas_tty_status), and the layer
keeps the file for a shell that could not write it.
- The layer talks to the terminal's own drawing part (wezterm.llembas) when there is one:
the ask line in place, a word at the cursor's row, what is on.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The terminal is the front of a set of three, not a container for the
other two: lembas and llembas-ide are found on PATH or in ~/.local/bin,
the same installations used outside it. llembas-tty-setup runs each
product's own installer after checking it against the release key.
LLeMbas IDE opens from the terminal (Ctrl+Shift+E).
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
- llembas-cli.version pins the LLeMbas CLI; scripts/fetch-cli.sh fetches it
and checks SHA256SUMS against the release key before anything is bundled.
- llembas/packaging/package.sh stages /usr/lib/llembas-tty (our three
binaries and the CLI beside them), links, shell integration, desktop entry,
icons and licences, and makes the .deb and the tarball.
- .github/workflows/llembas-tty.yml: hygiene, the layer's tests, a release
build, a headless smoke test of what was built, the packages, and on a
v* tag the GitHub Release. WezTerm's workflow files are untouched;
llembas/ci/disable-upstream-workflows.sh switches them off on our repository.
- The window icon is the LLeMbas mark.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The compiled terminfo is reduced to a single artifact that CI checks
against its text source, failing on any drift.
Tests load the embedded entry and cover an XTGETTCAP response.
sccache 0.17 and later expand cargo's rustc argfile and then spawn
rustc with the full command line, which exceeds the Windows limit when
building `mux` ("The filename or extension is too long", os error 206).
v0.16.0 passes the argfile through to rustc instead.
See https://github.com/mozilla/sccache/issues/2787
- ci/cd: Update nix-related workflows
- nix: Simplify flake.nix
With recent enough Nix we can now remove the explicit submodules
dependencies and let Nix do the heavy lifting.
Improve Nix code to match modern Nix standards (finalAttrs).
- Includes #4986 with comments, for nicer package version
- Lock actions to a major branch, at least
- Various tweaks and readability improvements
- Only push built result to Cachix if workflow triggered
by schedule or manual workflow_dispatch event
The OSTYPE isn't matching in the deploy script any longer, which
suggests that "something changed" in the image. Let's explicitly
point to a newer image: that was previously blocked because the
installer tools were not present. The associated issue has been
closed, so since we're broken right now anyway, let's move this
up and troubleshoot on the newer image.
This is just a quick pass to get CI more in the green, and to use
fewer resources: some of these distros are pretty old.
Note that our remaining fedora entry here is also EOL; we can
review bumping that in a separate pass.
When someone forks wezterm and submits a PR based off their main
branch, it is desirable to avoid trying to push releases or PRs
to other projects when wezterm maintainers amend the PR during
code review.