tui

package
v0.1.4721 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2026 License: MIT Imports: 36 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL