Files
LLeMbas-TTY/llembas/ci/disable-upstream-workflows.sh
HomerandClaude Fable 5.2 593df939b9
llembas-term / linux (push) Canceled after 0s
LLeMbas TTY is LLeMbas TERM: the names, what is carried over, three keys, and the keys LLeMbas IDE has too
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

27 lines
1.2 KiB
Bash
Executable File

#!/usr/bin/env bash
# Switch off every GitHub Actions workflow in a repository except ours (llembas-term.yml).
#
# llembas/ci/disable-upstream-workflows.sh <owner>/<repository>
#
# WezTerm's own workflow files stay in .github/workflows untouched, so that merging upstream
# never conflicts there. They must not run on our repository (nightly builds, documentation
# pages, issue housekeeping), and GitHub keeps "disabled" as a setting of the repository, not
# of the file. Run this once after the repository is made, and again after a merge from
# upstream that brought a new workflow file. Needs `gh`, signed in with rights on the repository.
set -euo pipefail
repo="${1:?usage: disable-upstream-workflows.sh <owner>/<repository>}"
gh workflow list --repo "$repo" --all --json name,path,state --jq '.[] | [.path, .state] | @tsv' |
while IFS=$'\t' read -r path state; do
case "$path" in
.github/workflows/llembas-term.yml)
[ "$state" = active ] || gh workflow enable "$path" --repo "$repo"
echo "ours, on: $path"
;;
*)
[ "$state" = active ] && gh workflow disable "$path" --repo "$repo"
echo "upstream, off: $path"
;;
esac
done