Versions in this module Expand all Collapse all v0 v0.12.0 Mar 9, 2026 v0.11.0 Mar 2, 2026 Changes in this version + const AdapterName + const ConfigFileName + const UserConfigDir + const WorkspaceConfigDir + func ReadUserConfig() (*core.Config, error) + func ReadWorkspaceConfig() (*core.Config, error) + func UserConfigPath() (string, error) + func WorkspaceConfigPath() string + func WriteWorkspaceConfig(cfg *core.Config) error + type Adapter struct + func NewAdapter() *Adapter + func (a *Adapter) DefaultPaths() []string + func (a *Adapter) FromCore(cfg *core.Config) *Config + func (a *Adapter) Marshal(cfg *core.Config) ([]byte, error) + func (a *Adapter) Name() string + func (a *Adapter) Parse(data []byte) (*core.Config, error) + func (a *Adapter) ReadFile(path string) (*core.Config, error) + func (a *Adapter) SupportedEvents() []core.Event + func (a *Adapter) ToCore(windsurfCfg *Config) *core.Config + func (a *Adapter) WriteFile(cfg *core.Config, path string) error + type Config struct + Hooks map[WindsurfEvent][]Hook + func NewConfig() *Config + type Hook struct + Command string + ShowOutput bool + WorkingDirectory string + type WindsurfEvent string + const PostMCPToolUse + const PostReadCode + const PostRunCommand + const PostWriteCode + const PreMCPToolUse + const PreReadCode + const PreRunCommand + const PreUserPrompt + const PreWriteCode