Documentation
¶
Overview ¶
Package tui is magpie in the terminal: one row per agent, arrow keys to pick a field, enter to change it; and pages for providers and usage beside it (pages.go), routing groups (routing.go), sessions (sessions.go) and the library (library.go), 1–6 to go between them.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BackgroundLog ¶ added in v0.1.2342
func BackgroundLog() string
BackgroundLog is the log of a magpie serve that magpie tui left running as it quit (serveInBackground).
func Run ¶
func Run(ready func()) error
Run starts magpie in the terminal. ready is called once the model is made: making it asks agents' CLIs (claude auth status, up to seconds), and a signal then is the caller's to handle, as bubbletea starts listening only as the program runs.
func StopGateway ¶
func StopGateway()
StopGateway ends the gateway the terminal serves, its idle Claude sessions saved for the next magpie, and returns once it has drained: what the terminal closing (SIGHUP, which bubbletea doesn't handle) runs before magpie dies of it. Nothing when the terminal serves none.
Types ¶
This section is empty.