Documentation
¶
Index ¶
- type AgentCommandMsg
- type AttachFileMsg
- type ChangeModelMsg
- type ClearQueueMsg
- type CompactSessionMsg
- type CopyLastResponseToClipboardMsg
- type CopySessionToClipboardMsg
- type ElicitationResponseMsg
- type EvalSessionMsg
- type ExitAfterFirstResponseMsg
- type ExitSessionMsg
- type ExportSessionMsg
- type InsertFileRefMsg
- type LoadSessionMsg
- type MCPPromptMsg
- type NewSessionMsg
- type OpenModelPickerMsg
- type OpenSessionBrowserMsg
- type OpenURLMsg
- type SendAttachmentMsg
- type SendMsg
- type ShowCostDialogMsg
- type ShowMCPPromptInputMsg
- type SpeakTranscriptMsg
- type StartShellMsg
- type StartSpeakMsg
- type StopSpeakMsg
- type StreamCancelledMsg
- type SwitchAgentMsg
- type ToggleHideToolResultsMsg
- type ToggleSessionStarMsg
- type ToggleThinkingMsg
- type ToggleYoloMsg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentCommandMsg ¶
type AgentCommandMsg struct{ Command string } // AgentCommandMsg command message
Session command messages
type AttachFileMsg ¶ added in v1.18.4
type AttachFileMsg struct{ FilePath string } // Attach a file directly or open file picker if empty/directory
Session command messages
type ChangeModelMsg ¶ added in v1.19.0
type ChangeModelMsg struct{ ModelRef string } // Change the model for the current agent
Session command messages
type ClearQueueMsg ¶ added in v1.19.3
type ClearQueueMsg struct{} // Clear all queued messages
Session command messages
type CompactSessionMsg ¶
type CompactSessionMsg struct{ AdditionalPrompt string }
Session command messages
type CopyLastResponseToClipboardMsg ¶ added in v1.19.1
type CopyLastResponseToClipboardMsg struct{}
Session command messages
type ElicitationResponseMsg ¶ added in v1.19.3
type ElicitationResponseMsg struct {
Action tools.ElicitationAction
Content map[string]any
}
Session command messages
type ExitAfterFirstResponseMsg ¶ added in v1.19.4
type ExitAfterFirstResponseMsg struct{} // Exit TUI after first assistant response completes
Session command messages
type ExportSessionMsg ¶ added in v1.18.6
type ExportSessionMsg struct{ Filename string }
Session command messages
type InsertFileRefMsg ¶ added in v1.18.4
type InsertFileRefMsg struct{ FilePath string } // Insert @filepath reference into editor
Session command messages
type MCPPromptMsg ¶
Session command messages
type OpenModelPickerMsg ¶ added in v1.19.0
type OpenModelPickerMsg struct{} // Open the model picker dialog
Session command messages
type OpenURLMsg ¶
type OpenURLMsg struct{ URL string } // OpenURLMsg is a url for opening message
Session command messages
type SendAttachmentMsg ¶ added in v1.19.3
type SendAttachmentMsg struct{ Content *session.Message } // Message for the first message with an attachment
Session command messages
type SendMsg ¶ added in v1.19.3
type SendMsg struct {
Content string // Full content sent to the agent (with file contents expanded)
Attachments map[string]string // Map of filename to content for attachments
}
Session command messages
type ShowMCPPromptInputMsg ¶
type ShowMCPPromptInputMsg struct {
PromptName string
PromptInfo any // mcptools.PromptInfo but avoiding import cycles
}
Session command messages
type SpeakTranscriptMsg ¶ added in v1.19.2
type SpeakTranscriptMsg struct{ Delta string } // Transcription delta from speech-to-text
Session command messages
type StartSpeakMsg ¶ added in v1.19.2
type StartSpeakMsg struct{} // Start speech-to-text transcription
Session command messages
type StopSpeakMsg ¶ added in v1.19.2
type StopSpeakMsg struct{} // Stop speech-to-text transcription
Session command messages
type StreamCancelledMsg ¶ added in v1.19.3
type StreamCancelledMsg struct{ ShowMessage bool } // StreamCancelledMsg notifies components that the stream has been cancelled
Session command messages
type ToggleSessionStarMsg ¶ added in v1.18.4
type ToggleSessionStarMsg struct{ SessionID string } // Toggle star on a session; empty ID means current session
Session command messages
Click to show internal directories.
Click to hide internal directories.