- README: what AI off still runs, exactly; what is passed on (nothing
but the question from a full-screen program; a shell over ssh named as
that machine's; the password case as the heuristic it is; context files
removed at once or within ten minutes); suggestions only at a prompt and
taken as drawn; answers bound to what was shown; the status record by
variable decides nothing; settings per pane and not read with AI off;
set-up refuses root and another version's release; TERM_PROGRAM kept on
purpose; screen_lines in the sample; the shell's autocomplete gone.
- llembas/README.md: every function of wezterm.llembas; contracts 1 to 4
as the authority; --cwd as contract 3 has it; context file version 2;
the status authority, the answer lines, settings per pane, the writer
thread, the PATH listings.
- CHANGELOG: under Unreleased, Security and Fixed.
- --help names llembas-term.lua; the fifteen one-word help edits in
wezterm/src/cli carry a LLeMbas TERM: line above them, so that
git grep 'LLeMbas TERM:' lists every change of ours again.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With AI autocomplete on, the line being typed went to the engine after a
pause with no check for secrets: an exported key, a password on a database
client's command line, an Authorization header, a URL with credentials.
llembas_line::secret::looks_secret is a pure, table-driven matcher (no
dependency), and core.looks_secret is the same rules in Lua; both are held to
one table of cases, llembas/tests/secrets.txt (92 lines that must be taken
for a secret, 171 ordinary commands that must not). It is applied:
- before any AI autocomplete request (complete::decide -> Skip::Secret; the
status says "not asked: the line looks like it holds a secret", never the
line), whatever the engine itself checks;
- before a command is kept in the terminal's own history (history::accepts),
and a history file that holds such a line is rewritten without it on load;
- to a context file: a command that looks so is replaced by a placeholder
and its output is not read; a line of output or of the screen that looks
so is replaced too.
A secret is recognised from the first character of its value, so nothing of
it is on a line that still passes while it is typed (tested a character at a
time); a URL's password is caught before its `@` is typed. The README says
what is recognised and what cannot be.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A pane counted as "the display", or as a pane running LLeMbas, by user
variables alone - which any program printing to a pane can set, and which
stay set when LLeMbas was killed. The next question was then written to that
pane as a paste with Enter, and the path of a context file with it.
Now the display of a tab is the pane the layer itself split and started the
engine in, remembered by its id together with the command started there.
Everything the layer writes (a question, a context file's path, an answer, a
model, a mode) goes through one function, to that pane only, and only when
the process in front of it is seen to be the engine the layer resolved, or
the very command the layer started with that engine under it
(core.display_runs, from pane:get_foreground_process_info()). Where that
cannot be known nothing is sent, and that is said.
- user variables of another pane are not looked at; of the display they are
shown, without control or invisible characters; of a pane whose program in
front is the CLI itself they fill the bar and the tab mark
- the ask line is never typed into the CLI's own interface in a tab
- a display whose engine is gone is forgotten: the next question starts a new
one and closes the old pane
- the shell that keeps a failed display's sentence on screen no longer reads
from the pane (it would take the next question for its Enter); it empties
the variables a killed engine left and sleeps until Ctrl+C
- wezterm.llembas.real_path: the CLI's path with its links followed
Tests: a pane forging each variable and all of them, a forged display beside
the real one, the display's program replaced by a shell, a killed display, a
display whose process cannot be seen, a second window; 49 of the new checks
fail on the layer as it was.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Found by the keys pressed in a real window: the chord reached the pane as the
terminal's own Escape, Return instead of opening the list of autocomplete models.
Co-Authored-By: Claude Fable 5.2 <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 terminal writes the input mark (pane-<n>.input beside the status
record): whether anything stands on the input line of that prompt, from
the input cells the shell integration marks. With AI on, for local panes.
- lembas complete: 8 s, and 20 s for the first request after autocomplete
is switched on or its model changes; --debug with an engine of contract 3,
whose decisions the autocomplete status shows.
- settings set and forget with --json.
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>
The first own commit on WezTerm's main, with its full history kept so
upstream can be merged in. Adds VERSION, CHANGELOG.md, a README preface,
our copyright line beside upstream's in LICENSE.md (MIT both), UPSTREAM
(the upstream commit last merged) and scripts/hygiene.sh, which checks
only what this fork adds since UPSTREAM. Nothing in the terminal changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01H1bF3XAshtCGhF7TeLGcDk
cmd-t now spawns in the same domain as the active tab,
cmd-shift-t spawns in the default domain.
It is possible to define bindings to spawn in an arbitrary domain.