Files
LLeMbas-CLI/tests
HomerandClaude Fable 5.2 635c68e908 A terminal as the client: user vars, terminal context, terminal_run/terminal_read, complete --shell
The CLI's side of harness spec 3.12.0, for a terminal emulator with LLeMbas
built in. Without LLEMBAS_TTY nothing here applies.

- src/terminal/env.ts: the terminal's environment; `lembas --version --json`.
- src/terminal/uservars.ts, tui.ts: the TUI's state as user vars (OSC 1337
  SetUserVar), on start and on change, emptied on every way out.
- src/terminal/context.ts, session.ts, command.ts: the context file — read
  once, removed, checked — as one <terminal> block on the person's next
  message; `--terminal-context` for the TUI and `lembas run`,
  `/terminal-context` in the TUI; a chip in the transcript.
- src/tool/terminal.ts, src/terminal/pane.ts: terminal_run and terminal_read
  through the terminal's own program, as an argument list.
- src/permission/evaluate.ts: a typed command is judged as bash would judge
  it, then asked every time outside auto mode, never always.
- src/terminal/complete.ts: `lembas complete --shell`.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-01 19:21:07 +00:00
..
2026-10-09 21:59:03 +00:00
2026-10-09 21:59:03 +00:00
2026-10-09 21:59:03 +00:00
2026-10-09 21:59:03 +00:00
2026-10-09 21:59:03 +00:00
2026-10-09 21:59:03 +00:00
2026-10-09 21:59:03 +00:00
2026-10-09 21:59:03 +00:00
2026-10-09 21:59:03 +00:00
2026-10-09 21:59:03 +00:00
2026-10-09 21:59:03 +00:00
2026-10-09 21:59:03 +00:00
2026-10-09 21:59:03 +00:00
2026-10-09 21:59:03 +00:00
2026-10-09 21:59:03 +00:00
2026-10-09 21:59:03 +00:00
2026-10-09 21:59:03 +00:00
2026-10-09 21:59:03 +00:00
2026-10-09 21:59:03 +00:00
2026-10-09 21:59:03 +00:00
2026-10-09 21:59:03 +00:00