TUI: 3-file split (model/view/controller)

- tui-model.lisp: defpackage, *state*, st/init-state, add-msg, event queue
- tui-view.lisp: view-status, view-chat, view-input, redraw (pure renders)
- tui-main.lisp: on-key, on-daemon-msg, daemon I/O, connect, tui-main
- ASDF updated to serial 3-file dependency
- Removed monolithic org/gateway-tui.org and lisp/gateway-tui.lisp
- Pre-commit hook: added 3 split files to croatoan exclusion
- core-skills: added 3 split files to skill loader exclusion
- Verified: LLM response arrives, /eval works, colors render
[no-verify: pre-commit hook SKIPped for TUI files]
This commit is contained in:
2026-05-04 17:01:02 -04:00
parent 3c1ed77c85
commit cbbf409059
12 changed files with 342 additions and 283 deletions

View File

@@ -44,7 +44,7 @@ for orgfile in $CHANGED; do
# Skip files that depend on external libraries not loaded in the daemon
BASENAME=$(basename "$orgfile")
case "$BASENAME" in
gateway-tui.org)
gateway-tui.org|gateway-tui-model.org|gateway-tui-view.org|gateway-tui-main.org)
echo "SKIP: $orgfile — external dependency (croatoan)" >&2
continue
;;