401 Commits
Author SHA1 Message Date
HomerandClaude Opus 5.5 b52263d0bb Security (S11, S14, S16): the shell's own autocomplete is gone; least privilege in CI; set-up refuses root and another version's release
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>
2026-12-03 08:07:20 +00:00
HomerandClaude Fable 5.2 593df939b9 LLeMbas TTY is LLeMbas TERM: the names, what is carried over, three keys, and the keys LLeMbas IDE has too
llembas-term / linux (push) Canceled after 0s
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>
2026-12-02 20:26:37 +00:00
HomerandClaude Fable 5.2 b44ec57291 The ask line in place of the shell's line, drawn by the terminal
llembas-tty / linux (push) Failing after 38s
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>
2026-12-02 12:10:57 +00:00
HomerandClaude Fable 5.2 0fa3d1a990 The layer for LLeMbas in the terminal: AI on/off, the CLI whole in a tab, the display instead of the split, the pane's status record
llembas-tty / linux (push) Failing after 35s
- 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>
2026-12-02 11:56:20 +00:00
HomerandClaude Fable 5.2 79cc61e1a1 CI: a round's branch is built, and a compiler error or a failed test is an annotation on the run
llembas-tty / linux (push) Failing after 37s
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 11:36:42 +00:00
HomerandClaude Fable 5.2 3d44c65fd2 No copy of the CLI in the terminal: it uses the installed one, and a set-up installs the CLI and LLeMbas IDE when they are missing
llembas-tty / linux (push) Failing after 38s
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>
2026-12-02 10:15:06 +00:00
HomerandClaude Fable 5.2 3007a24b7d Package and CI: the verified CLI, a .deb and a tarball, one workflow
- 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>
2026-12-01 19:31:25 +00:00
Benoit de Chezelles 3bbf48b1bf termwiz: Add a CI guard+tests for the compiled terminfo entry (#8368)
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.
2026-11-20 09:00:05 +01:00
Josh McKinney 21c281ab17 ci: Pin sccache to v0.16.0 on Windows (#8360)
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
2026-11-20 01:40:42 +01:00
Wez Furlong e2a98e1b8a escape-parser: Fix no_std build and add CI coverage
Fix `make test` failing on the wezterm-escape-parser no_std configuration,
and add CI coverage to prevent silent regressions.
2026-10-10 08:39:11 +01:00
Wez Furlong 9ce141d709 ci: regenerate workflows
Poor hygiene from the earlier 135baeab0f
commit left the generated files divergent from what the generator
produced.
2026-10-10 08:39:11 +01:00
Wez Furlong a48710522b ci: revert to simpler approach, which also enables signing 2026-08-04 12:06:17 +01:00
Wez Furlong d1b7c0c90a ci: try to have cooldown use verified commits 2026-08-04 08:53:33 +01:00
Wez Furlong 2326b21dc8 ci: have the cooldown commits show as authored by the bot identity 2026-08-04 08:44:55 +01:00
Wez Furlong 51f32073e1 ci: add automation for doing cooldown based dep updates 2026-08-04 08:32:01 +01:00
Benoit de Chezelles 92cd0e0863 ci: use newer ubuntu26 target for flatpak/linuxbrew/appimage packaging 2026-08-03 00:58:04 +02:00
Benoit de Chezelles db4652c935 ci: Add ubuntu:26.04 target 2026-08-03 00:58:04 +02:00
Benoit de Chezelles cd4b4fd27c nix: Fix nix-continuous gha workflow 2026-06-19 10:08:49 +02:00
Benoit de Chezelles 956d905835 nix: Simplify flake.nix; update Nix-related workflows (#7854)
- 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
2026-06-15 20:47:52 +02:00
Wez Furlong 62fcc23bf8 ci: bump windows, add debug
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.
2026-06-06 10:32:38 +01:00
Wez Furlong 95d7b634e0 ci: make dependabot match 2-week cooldown settings for rust 2026-06-06 08:52:10 +01:00
Wez Furlong 0aa78582a4 ci: bump download-artifact 2026-06-06 08:46:28 +01:00
Wez Furlong 71ac841b80 ci: bump upload-artifact 2026-06-06 08:13:15 +01:00
Wez Furlong 954bdc3303 ci: appimage build requires the file command 2026-06-06 08:11:54 +01:00
Wez Furlong f4e41b746a ci: restore building the appimage
Tweak to make it more difficult to overlook when we later deprecate
a particular platform/target.

Similarly for the gemfury apt repo uploads
2026-06-06 07:31:47 +01:00
Wez Furlong d4bababa1b ci: bump some actions workflows, drop some EOL/old distros
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.
2026-06-06 07:19:05 +01:00
dependabot[bot] 437e003b11 build(deps): bump actions/stale from 9.1.0 to 10.0.0
Bumps [actions/stale](https://github.com/actions/stale) from 9.1.0 to 10.0.0.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v9.1.0...v10.0.0)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-version: 10.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-06 07:08:03 +01:00
Wez Furlong f2a60214cd bump lock-threads to v6 2026-06-06 07:05:34 +01:00
Benoit de Chezelles dab1816d05 gh: update issue template with new label name 2026-06-05 10:11:45 +02:00
Benoit de Chezelles a50722bd81 Revert "gha: Update no-response workflow to match new label name"
This reverts commit b4ca9a1365.

The longer label actually looks bad/truncated in GH ui 😬
2026-06-05 09:33:28 +02:00
Benoit de Chezelles b4ca9a1365 gha: Update no-response workflow to match new label name 2026-06-05 07:00:46 +02:00
Wez Furlong ac08cdf6d7 ci: maybe fixup for rpm package split
refs: https://github.com/wezterm/wezterm/pull/7395
2025-11-23 15:45:00 +00:00
Wez Furlong b7dd3bc812 ci: maybe fix windows ci
iscc.exe is no longer included in windows-2025, but we need it

refs: https://github.com/actions/runner-images/issues/11644
2025-10-05 10:55:24 +01:00
Wez Furlong d1bdb8a350 ci: debian 10.3 (buster) is no longer available, remove it 2025-07-23 08:21:40 +01:00
Benoit de Chezelles 649931178e Rename flake update workflow to be with other nix-related workflows 2025-06-04 05:59:28 -07:00
Benoit de Chezelles 518be59b9d Don't update th flake dependencies _that_ ofthen 2025-06-04 05:59:28 -07:00
Wez Furlong f74bb06689 ci: maybe fixup flake workflow 2025-05-11 06:37:31 -07:00
dependabot[bot] b6cfba6ff3 build(deps): bump cachix/cachix-action from 15 to 16
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 15 to 16.
- [Release notes](https://github.com/cachix/cachix-action/releases)
- [Commits](https://github.com/cachix/cachix-action/compare/v15...v16)

---
updated-dependencies:
- dependency-name: cachix/cachix-action
  dependency-version: '16'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-11 06:25:21 -07:00
Wez Furlong 3463d5d81b ci: cache api was biffed 2025-04-18 09:32:02 -07:00
Wez Furlong 7212327453 no-response: maybe fix waiting-on-op tags 2025-03-06 15:32:18 -07:00
dependabot[bot] 178befee68 build(deps): bump actions/stale from 9.0.0 to 9.1.0
Bumps [actions/stale](https://github.com/actions/stale) from 9.0.0 to 9.1.0.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v9.0.0...v9.1.0)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-06 14:18:30 -08:00
Wez Furlong 7d0bff0698 ci: trigger builds when .cargo/config.toml changes
refs: https://github.com/wezterm/wezterm/pull/6722
2025-03-01 12:34:20 -07:00
Wez Furlong f268ff7251 ci: put token in maybe a better place? 2025-02-22 20:40:57 -07:00
Wez Furlong 48d46e04a6 ci: try alternative token for update-flake 2025-02-22 20:39:25 -07:00
Wez Furlong 6fea03e76a ci: update token permissions for update-flake workflow 2025-02-22 20:16:09 -07:00
Wez Furlong 96f9455e07 ci: remove zsync file upload for appimage
linuxdeploy doesn't currently ship it due to upstream issues

This commit prevents the lack of zsync files from blocking
the build.

refs: https://github.com/linuxdeploy/linuxdeploy/issues/309
refs: https://github.com/AppImage/appimagetool/issues/84
2025-02-22 13:20:38 -07:00
Wez Furlong 9da362c72b remove dead fuzzing code 2025-02-12 10:01:37 -07:00
Benoit de Chezelles ad8e83833d ci: Fix Nix warning, magic cache is deprecated 2025-02-11 12:59:08 -07:00
Wez Furlong 3eb95c4668 ci: skip more things in forks 2025-02-10 22:05:21 -07:00
Wez Furlong 4c619a44dc ci: alternate approach to limit uploads from forks 2025-02-10 17:29:31 -07:00