Skip to main content

Module shell_app

Module shell_app 

Source
Expand description

ShellApp — TUI shell with model list modal, settings, and background.

Each “window” is a PTY-backed shell process. Output is VTE-parsed by avt::Vt. The model list modal (F10) lets users open shells scoped to a model worktree directory. The settings modal (F11) lets users choose a background style. When no windows are open the animated background fills the pane area.

Structs§

GitOps
Bundled git operation callbacks injected by the service layer.
ModelEntry
A model repo discovered in the registry directory.
PaneWindow
A running shell attached to an avt virtual terminal via VtPane.
ShellApp

Enums§

CloneScreen
Clone flow sub-screens.
GitOpProgress
Progress update from a background git operation.
ShellCmd
ShellMode

Constants§

MENU_ITEMS
Menu items: (label, chord hint shown in popup).

Functions§

discover_models
Scan registry for git repos (directories containing .git or HEAD).
keypress_to_bytes

Type Aliases§

CloneFn
FetchStatusFn
GitProgressSender
ModelStatusSender
Sender half for model status updates from background load-polling threads.
PullFn
PushFn
RefreshFn
Re-query the registry for the current model set; results return via GitOpProgress::ModelList on the shared git-progress channel.