19 lines
879 B
Go
19 lines
879 B
Go
package config
|
|
|
|
// Windsurf embedded-mode defaults. Defined once here so that both the struct
|
|
// defaults in DefaultWindsurfConfig() (windsurf.go) and the viper.SetDefault
|
|
// calls in config.go reference a single source of truth — this prevents
|
|
// silent drift when one side is updated without the other.
|
|
//
|
|
// Binary and DataDir are intentionally left empty: the cross-platform
|
|
// discovery in backend/internal/pkg/windsurf/lspool.go (via DiscoverBinary
|
|
// and resolveDataDir) picks the correct path at runtime based on GOOS/GOARCH
|
|
// and the user's install layout. Hardcoding /opt/windsurf/... here would
|
|
// override that discovery on non-Linux platforms.
|
|
const (
|
|
DefaultWindsurfEmbeddedBinary = ""
|
|
DefaultWindsurfEmbeddedBasePort = 42100
|
|
DefaultWindsurfEmbeddedDataDir = ""
|
|
DefaultWindsurfEmbeddedAPIServerURL = "https://server.self-serve.windsurf.com"
|
|
)
|