Documentation
¶
Index ¶
- Constants
- type Argument
- type ArgumentsDialogKeyMap
- type CloseArgumentsDialogMsg
- type Command
- type CommandArgumentsDialog
- type CommandRunCustomMsg
- type CommandsDialog
- type CommandsDialogKeyMap
- type CompactMsg
- type NewSessionsMsg
- type OpenExternalEditorMsg
- type OpenFilePickerMsg
- type OpenReasoningDialogMsg
- type QuitMsg
- type ShowArgumentsDialogMsg
- type ShowMCPPromptArgumentsDialogMsg
- type SwitchModelMsg
- type SwitchSessionsMsg
- type ToggleCompactModeMsg
- type ToggleHelpMsg
- type ToggleThinkingMsg
- type ToggleYoloModeMsg
Constants ¶
View Source
const ( SystemCommands = uicmd.SystemCommands UserCommands = uicmd.UserCommands MCPPrompts = uicmd.MCPPrompts )
View Source
const (
CommandsDialogID dialogs.DialogID = "commands"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArgumentsDialogKeyMap ¶
type ArgumentsDialogKeyMap struct {
Confirm key.Binding
Next key.Binding
Previous key.Binding
Close key.Binding
}
func DefaultArgumentsDialogKeyMap ¶
func DefaultArgumentsDialogKeyMap() ArgumentsDialogKeyMap
func (ArgumentsDialogKeyMap) FullHelp ¶
func (k ArgumentsDialogKeyMap) FullHelp() [][]key.Binding
FullHelp implements help.KeyMap.
func (ArgumentsDialogKeyMap) KeyBindings ¶
func (k ArgumentsDialogKeyMap) KeyBindings() []key.Binding
KeyBindings implements layout.KeyMapProvider
func (ArgumentsDialogKeyMap) ShortHelp ¶
func (k ArgumentsDialogKeyMap) ShortHelp() []key.Binding
ShortHelp implements help.KeyMap.
type CloseArgumentsDialogMsg ¶
type CloseArgumentsDialogMsg = uicmd.CloseArgumentsDialogMsg
CloseArgumentsDialogMsg is a message that is sent when the arguments dialog is closed.
type CommandArgumentsDialog ¶
type CommandArgumentsDialog interface {
dialogs.DialogModel
}
CommandArgumentsDialog represents the commands dialog.
type CommandRunCustomMsg ¶
type CommandRunCustomMsg = uicmd.CommandRunCustomMsg
Command represents a command that can be executed
type CommandsDialog ¶
type CommandsDialog interface {
dialogs.DialogModel
}
CommandsDialog represents the commands dialog.
func NewCommandDialog ¶
func NewCommandDialog(sessionID string) CommandsDialog
type CommandsDialogKeyMap ¶
func DefaultCommandsDialogKeyMap ¶
func DefaultCommandsDialogKeyMap() CommandsDialogKeyMap
func (CommandsDialogKeyMap) FullHelp ¶
func (k CommandsDialogKeyMap) FullHelp() [][]key.Binding
FullHelp implements help.KeyMap.
func (CommandsDialogKeyMap) KeyBindings ¶
func (k CommandsDialogKeyMap) KeyBindings() []key.Binding
KeyBindings implements layout.KeyMapProvider
func (CommandsDialogKeyMap) ShortHelp ¶
func (k CommandsDialogKeyMap) ShortHelp() []key.Binding
ShortHelp implements help.KeyMap.
type CompactMsg ¶
type CompactMsg struct {
SessionID string
}
type NewSessionsMsg ¶
type NewSessionsMsg struct{}
type OpenExternalEditorMsg ¶
type OpenExternalEditorMsg struct{}
type OpenFilePickerMsg ¶
type OpenFilePickerMsg struct{}
type OpenReasoningDialogMsg ¶
type OpenReasoningDialogMsg struct{}
type ShowArgumentsDialogMsg ¶
type ShowArgumentsDialogMsg = uicmd.ShowArgumentsDialogMsg
ShowArgumentsDialogMsg is a message that is sent to show the arguments dialog.
type ShowMCPPromptArgumentsDialogMsg ¶
type ShowMCPPromptArgumentsDialogMsg = uicmd.ShowMCPPromptArgumentsDialogMsg
Command represents a command that can be executed
type SwitchModelMsg ¶
type SwitchModelMsg struct{}
type SwitchSessionsMsg ¶
type SwitchSessionsMsg struct{}
type ToggleCompactModeMsg ¶
type ToggleCompactModeMsg struct{}
type ToggleHelpMsg ¶
type ToggleHelpMsg struct{}
type ToggleThinkingMsg ¶
type ToggleThinkingMsg struct{}
type ToggleYoloModeMsg ¶
type ToggleYoloModeMsg struct{}
Click to show internal directories.
Click to hide internal directories.