Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssistantConfig ¶
type AssistantConfig struct {
Command string // Shell command to launch the assistant
InterruptCount int // Number of Ctrl-C signals to send (default 1, claude needs 2)
InterruptDelayMs int // Delay between interrupts in milliseconds
}
AssistantConfig defines how to launch an AI assistant
type Config ¶
type Config struct {
Paths *Paths
PortStart int
PortRangeSize int
Assistants map[string]AssistantConfig
UI UISettings
}
Config holds the application configuration
func DefaultConfig ¶
DefaultConfig returns the default configuration
func (*Config) SaveUISettings ¶
SaveUISettings persists UI settings to the config file.
type Paths ¶
type Paths struct {
Home string // ~/.amux
WorkspacesRoot string // ~/.amux/workspaces
RegistryPath string // ~/.amux/projects.json
MetadataRoot string // ~/.amux/workspaces-metadata
ConfigPath string // ~/.amux/config.json
}
Paths holds all the file system paths used by the application
func DefaultPaths ¶
DefaultPaths returns the default paths configuration
func (*Paths) EnsureDirectories ¶
EnsureDirectories creates all required directories if they don't exist
type UISettings ¶
UISettings stores user-facing display preferences.
Click to show internal directories.
Click to hide internal directories.