messages

package
v1.18.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

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

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 CompactSessionMsg

type CompactSessionMsg struct{ AdditionalPrompt string }

Session command messages

type CopySessionToClipboardMsg

type CopySessionToClipboardMsg struct{}

Session command messages

type EvalSessionMsg

type EvalSessionMsg struct{ Filename string }

Session command messages

type ExitSessionMsg

type ExitSessionMsg struct{}

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 LoadSessionMsg

type LoadSessionMsg struct{ SessionID string }

Session command messages

type MCPPromptMsg

type MCPPromptMsg struct {
	PromptName string
	Arguments  map[string]string
}

MCPPromptMsg command message

type NewSessionMsg

type NewSessionMsg struct{}

Session command messages

type OpenSessionBrowserMsg

type OpenSessionBrowserMsg struct{}

Session command messages

type OpenURLMsg

type OpenURLMsg struct {
	URL string
}

OpenURLMsg is a url for opening message

type ShowCostDialogMsg added in v1.18.6

type ShowCostDialogMsg struct{}

Session command messages

type ShowMCPPromptInputMsg

type ShowMCPPromptInputMsg struct {
	PromptName string
	PromptInfo any // mcptools.PromptInfo but avoiding import cycles
}

type StartShellMsg

type StartShellMsg struct{}

Session command messages

type SwitchAgentMsg

type SwitchAgentMsg struct{ AgentName string }

Session command messages

type ToggleHideToolResultsMsg

type ToggleHideToolResultsMsg struct{}

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

type ToggleYoloMsg

type ToggleYoloMsg struct{}

Session command messages

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL