Skip to content

Add terminal shell and CLI UI mode#26

Merged
zcourts merged 10 commits into
mainfrom
terminal-shell-tui
May 21, 2026
Merged

Add terminal shell and CLI UI mode#26
zcourts merged 10 commits into
mainfrom
terminal-shell-tui

Conversation

@zcourts
Copy link
Copy Markdown
Contributor

@zcourts zcourts commented May 20, 2026

Summary

  • add a new fission-shell-terminal crate that runs the normal Fission build/lower/layout pipeline and renders Core IR to terminal cells
  • expose the terminal shell through the fission facade behind the terminal-shell feature
  • add fission ui with screenshot/one-shot rendering support for visual verification
  • render interactively only after input or resize events, avoiding continuous clear/repaint flicker

Architecture notes

  • terminal support is verified from Core IR and semantics, not widget-name mappings
  • unsupported graphical-only operations fail before render instead of falling back to a non-Fission TUI model
  • the CLI UI is itself a Fission app rendered through fission-shell-terminal
  • test-protocol integration is not forced here; the shell exposes normal InputEvent dispatch and deterministic frames so a protocol adapter can be layered later without changing Fission architecture

Verification

  • cargo test -p fission-shell-terminal -p fission-cli
  • cargo check -p fission --features terminal-shell
  • cargo run -p fission-cli --bin fission -- ui --project-dir documentation --screenshot target/fission/ui-mode.png --exit-after-render --width 110 --height 34
  • cargo run -p fission-cli --bin fission -- --help
  • cargo test --workspace

Screenshot

  • local verification screenshot: target/fission/ui-mode.png

Stacked on #25 (reorganize facade feature boundaries).

Base automatically changed from reorganize-facade-features to main May 20, 2026 20:20
@zcourts zcourts changed the title Add terminal shell and CLI TUI mode Add terminal shell and CLI UI mode May 20, 2026
@zcourts zcourts merged commit e68bd84 into main May 21, 2026
4 checks passed
@zcourts zcourts deleted the terminal-shell-tui branch May 21, 2026 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant