Documentation
¶
Index ¶
Constants ¶
View Source
const ( DialogAddProject = "add_project" DialogCreateWorkspace = "create_workspace" DialogDeleteWorkspace = "delete_workspace" DialogRemoveProject = "remove_project" DialogSelectAssistant = "select_assistant" DialogQuit = "quit" DialogCleanupTmux = "cleanup_tmux" )
DialogID constants
View Source
const ( HarnessCenter = "center" HarnessSidebar = "sidebar" )
HarnessMode values.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
App is the root Bubbletea model
func (*App) CleanupTmuxOnExit ¶ added in v0.0.9
func (a *App) CleanupTmuxOnExit()
CleanupTmuxOnExit is a no-op since sessions are always persisted across restarts.
func (*App) IsTmuxAvailable ¶ added in v0.0.9
IsTmuxAvailable returns whether tmux is installed and available.
func (*App) SetMsgSender ¶ added in v0.0.4
func (*App) Shutdown ¶ added in v0.0.5
func (a *App) Shutdown()
Shutdown releases resources that may outlive the Bubble Tea program.
type Harness ¶
type Harness struct {
// contains filtered or unexported fields
}
Harness drives a headless render loop for profiling.
func NewHarness ¶
func NewHarness(opts HarnessOptions) (*Harness, error)
NewHarness builds a headless UI harness for the requested mode.
type HarnessOptions ¶
type HarnessOptions struct {
Mode string
Tabs int
Width int
Height int
HotTabs int
PayloadBytes int
NewlineEvery int
ShowKeymapHints bool
}
HarnessOptions configures the headless UI harness.
type KeyMap ¶
type KeyMap struct {
// Prefix key (leader)
Prefix key.Binding
// Global (active only after prefix)
Quit key.Binding
MoveLeft key.Binding
MoveRight key.Binding
MoveUp key.Binding
MoveDown key.Binding
NextTab key.Binding
PrevTab key.Binding
CloseTab key.Binding
DetachTab key.Binding
ReattachTab key.Binding
RestartTab key.Binding
CleanupTmux key.Binding
NewAgentTab key.Binding
NewTerminalTab key.Binding
Help key.Binding
// Dashboard
Enter key.Binding
Delete key.Binding
ToggleFilter key.Binding
Refresh key.Binding
// Agent/Chat
Interrupt key.Binding
SendEscape key.Binding
// Navigation
Up key.Binding
Down key.Binding
Left key.Binding
Right key.Binding
}
KeyMap defines all keybindings for the application
Source Files
¶
- app.go
- app_cache.go
- app_input.go
- app_input_dialogs.go
- app_input_keys.go
- app_input_messages.go
- app_input_mouse.go
- app_input_pty.go
- app_input_workspace.go
- app_msgpump.go
- app_operations.go
- app_persistence.go
- app_tmux.go
- app_tmux_activity.go
- app_tmux_discover.go
- app_tmux_gc.go
- app_tmux_sync.go
- app_ui.go
- app_ui_borders.go
- app_ui_click.go
- app_view.go
- app_view_content.go
- app_view_overlays.go
- env_helpers.go
- harness.go
- instance_id.go
- keybindings.go
- state_watcher.go
- workspace_lookup.go
- workspace_snapshot.go
Click to show internal directories.
Click to hide internal directories.