Documentation
¶
Index ¶
- type AddProject
- type CloseTab
- type CreateAgentTab
- type CreateWorktree
- type DeleteWorktree
- type Error
- type FileWatcherEvent
- type FocusPane
- type GitStatusRequest
- type GitStatusResult
- type GitStatusTick
- type LaunchAgent
- type OpenCommitViewer
- type OpenDiff
- type PaneType
- type ProjectAdded
- type ProjectRemoved
- type ProjectsLoaded
- type RefreshDashboard
- type RemoveProject
- type RunScript
- type ScriptOutput
- type ShowAddProjectDialog
- type ShowCreateWorktreeDialog
- type ShowDeleteWorktreeDialog
- type ShowQuitDialog
- type ShowRemoveProjectDialog
- type ShowSelectAssistantDialog
- type ShowSettingsDialog
- type ShowWelcome
- type SidebarPTYFlush
- type SidebarPTYOutput
- type SidebarPTYStopped
- type SidebarPTYTick
- type SidebarTerminalCreated
- type SwitchTab
- type TabClosed
- type TabCreated
- type ToggleHelp
- type ToggleKeymapHints
- type ToggleMonitor
- type ViewCommitDiff
- type WorktreeActivated
- type WorktreeCreateFailed
- type WorktreeCreated
- type WorktreeCreatedWithWarning
- type WorktreeDeleteFailed
- type WorktreeDeleted
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateAgentTab ¶
CreateAgentTab requests creation of a new agent tab
type CreateWorktree ¶
CreateWorktree requests creating a new worktree
type DeleteWorktree ¶
DeleteWorktree requests deleting a worktree
type FileWatcherEvent ¶
type FileWatcherEvent struct {
Root string
}
FileWatcherEvent is sent when a watched file changes
type FocusPane ¶
type FocusPane struct {
Pane PaneType
}
FocusPane requests focus change to a specific pane
type GitStatusRequest ¶
type GitStatusRequest struct {
Root string
}
GitStatusRequest requests a git status refresh
type GitStatusResult ¶
type GitStatusResult struct {
Root string
Status *git.StatusResult
Err error
}
GitStatusResult contains the result of a git status command
type LaunchAgent ¶
LaunchAgent requests launching an agent in a new tab
type OpenCommitViewer ¶
OpenCommitViewer requests opening the commit viewer
type OpenDiff ¶
type OpenDiff struct {
File string
StatusCode string // Git status code (e.g., "M ", "??", "A ")
Worktree *data.Worktree
}
OpenDiff requests opening a diff viewer for a file
type ProjectAdded ¶
ProjectAdded is sent when a new project is registered
type ProjectRemoved ¶
type ProjectRemoved struct {
Path string
}
ProjectRemoved is sent when a project is unregistered
type ProjectsLoaded ¶
ProjectsLoaded is sent when projects have been loaded/reloaded
type RefreshDashboard ¶
type RefreshDashboard struct{}
RefreshDashboard requests a dashboard refresh
type RemoveProject ¶
RemoveProject requests removing a project from the registry
type RunScript ¶
type RunScript struct {
ScriptType string // "setup", "run", or "archive"
}
RunScript requests running a script for the active worktree
type ScriptOutput ¶
ScriptOutput contains output from a running script
type ShowAddProjectDialog ¶
type ShowAddProjectDialog struct{}
ShowAddProjectDialog requests showing the add project dialog
type ShowCreateWorktreeDialog ¶
ShowCreateWorktreeDialog requests showing the create worktree dialog
type ShowDeleteWorktreeDialog ¶
ShowDeleteWorktreeDialog requests showing the delete worktree confirmation
type ShowQuitDialog ¶
type ShowQuitDialog struct{}
ShowQuitDialog requests showing the quit confirmation dialog
type ShowRemoveProjectDialog ¶
ShowRemoveProjectDialog requests showing the remove project confirmation
type ShowSelectAssistantDialog ¶
type ShowSelectAssistantDialog struct{}
ShowSelectAssistantDialog requests showing the assistant selection dialog
type ShowSettingsDialog ¶
type ShowSettingsDialog struct{}
ShowSettingsDialog requests showing the settings dialog
type SidebarPTYFlush ¶
type SidebarPTYFlush struct {
WorktreeID string
}
SidebarPTYFlush applies buffered PTY output for sidebar terminal
type SidebarPTYOutput ¶
SidebarPTYOutput contains PTY output for sidebar terminal
type SidebarPTYStopped ¶
SidebarPTYStopped signals that the sidebar PTY read loop has stopped
type SidebarPTYTick ¶
type SidebarPTYTick struct {
WorktreeID string
}
SidebarPTYTick triggers a sidebar PTY read
type SidebarTerminalCreated ¶
type SidebarTerminalCreated struct {
WorktreeID string
}
SidebarTerminalCreated signals that the sidebar terminal was created
type TabCreated ¶
TabCreated is sent when a new tab is created
type ToggleKeymapHints ¶
type ToggleKeymapHints struct{}
ToggleKeymapHints toggles display of keymap helper text
type ViewCommitDiff ¶
ViewCommitDiff requests viewing a specific commit's diff
type WorktreeActivated ¶
WorktreeActivated is sent when a worktree is selected
type WorktreeCreateFailed ¶
WorktreeCreateFailed is sent when a worktree creation fails
type WorktreeCreated ¶
WorktreeCreated is sent when a new worktree is created
type WorktreeCreatedWithWarning ¶
WorktreeCreatedWithWarning indicates worktree was created but setup had issues
type WorktreeDeleteFailed ¶
WorktreeDeleteFailed is sent when a worktree deletion fails