Files
LLeMbas-CLI/scripts/test-terminal-names.sh
T
HomerandClaude Fable 5.2 99081c4ed4 The terminal is LLeMbas TERM: terminal contract 4, harness spec 3.15.0
LLEMBAS_TERM, LLEMBAS_TERM_PANE, LLEMBAS_TERM_EXECUTABLE, LLEMBAS_TERM_STATUS_DIR,
llembas-term-status=1, llembas-term-input=1, the llembas-term directory and the
llembas_term_status user var are the names. The ones from before the rename are
also read — a whole family at a time, the new one first — so the terminal's
releases before it work unchanged. One place decides: src/terminal/env.ts
(terminalNames, namesOf, isMagic). lembas --version --json: terminal_contract 4,
capability terminal_names_2. connection.json: product term.

The terminal's tests run in both spellings (scripts/test-terminal-names.sh, in
scripts/ci.sh).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 20:15:36 +00:00

10 lines
570 B
Bash
Executable File

#!/usr/bin/env bash
# The terminal's tests once more, spelled as a terminal released before the rename spells them
# (LLEMBAS_TTY…, llembas-tty-status=1, llembas-tty-input=1): the CLI reads both families of names
# (harness/acp.md, *The names before the rename*), so every one of them passes unchanged.
set -euo pipefail
cd "$(dirname "$0")/.."
LEMBAS_TEST_TERMINAL_NAMES=before exec bun test --timeout 20000 \
tests/terminal.test.ts tests/terminal-display.test.ts tests/terminal-contract3.test.ts \
tests/tui/terminal.test.tsx tests/tui/terminal-display.test.tsx