@synapta/tui
v2.8.0
Published
Synapta interactive terminal UI — Ink-based persistent agent shell
Readme
@synapta/tui
Persistent, interactive terminal UI for Synapta. Ink + React based.
What you get when you call runTui({ version, initialSlash?, subcommands? }):
- Branded header (
◆ synapta v0.x.x · the agentic orchestration shell) - Status bar with engine / phase / tokens / session id
- Scrollable transcript pane
- Sticky composer (Enter submits, Shift+Enter for newline)
- Slash command dispatch (
/help,/quit,/clear,/statusship by default) - Subcommand bridge —
registerSubcommandSlashes([{name:'new', run: runNew}])re-exposes any CLI subcommand as a slash command, ensuring the names are a single source of truth - Shell escape: lines starting with
!run through$SHELL -lc - Two-press Ctrl-C abort: first cancels the current turn, second exits
- Non-TTY fallback: prints a help hint and exits 0 when stdout isn't a TTY
The TUI is the front-door for every interactive synapta invocation in v0.2 onward — synapta boots into it, and synapta <subcommand> boots into it with /<subcommand> pre-run.
