Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PythonInstallCommand ¶ added in v1.3.1
PythonInstallCommand returns the shell command that installs a Python package for the given user, preferring uv when present and falling back to pip3 then pip. Returns an error if none are available.
When uv is used, the package is installed as a uv-managed tool (isolated env, shim binary placed in ~/.local/bin); this avoids touching system Python and sidesteps PEP 668 externally-managed-environment errors. The pip fallbacks preserve the existing system-install behavior.
func ReusesAuthSock ¶
ReusesAuthSock determines if the --reuse-ssh-auth-sock flag should be passed to the ssh server helper based on the IDE. Browser based IDEs use a browser tunnel to communicate with the remote server instead of an independent ssh connection.
Types ¶
type Option ¶
type Option struct {
// Name is the name of the IDE option
Name string `json:"name,omitempty"`
// Description is the description of the IDE option
Description string `json:"description,omitempty"`
// Default is the default value for this option
Default string `json:"default,omitempty"`
// Enum is the possible values for this option
Enum []string `json:"enum,omitempty"`
// ValidationPattern to use to validate this option
ValidationPattern string `json:"validationPattern,omitempty"`
// ValidationMessage to print if validation fails
ValidationMessage string `json:"validationMessage,omitempty"`
}