Versions in this module Expand all Collapse all v0 v0.0.10 Jul 2, 2026 Changes in this version + func Export(dir string, tunnelClientBinary string) error + func NormalizeBinaryPath(path string) (string, error) + func PluginTargetDir(codexHome string) string + func PluginTargetDirFor(codexHome string, marketplace string, pluginName string, version string) string + func ReadInstalledBinaryHint(codexHome string) string + func ResolveCodexHome(lookupEnv func(string) (string, bool)) string + type AdminProfileResult struct + Active bool + AdminKey string + ControlPlaneBaseURL string + ControlPlaneURLPath string + Name string + Path string + UpdatedAt string + type AliasOptions struct + AdminKeyRef string + AdminProfileName string + Alias string + ControlPlaneBaseURL string + ControlPlaneURLPath string + type CleanupOptions struct + Apply bool + type ConnectOptions struct + MCPCommand string + MCPServerURL string + ProfileDir string + ProfileName string + RuntimeAPIKey string + TunnelBin string + TunnelID string + type CreateOptions struct + AdminKeyRef string + AdminProfileName string + Alias string + ControlPlaneBaseURL string + ControlPlaneURLPath string + Description string + Name string + OrganizationIDs []string + WorkspaceIDs []string + type Detection struct + CodexHome string + ConfigPath string + Detected bool + EnabledConfigKeys []string + InstallHint string + Installations []PluginInstallation + PluginBinaryHint string + PluginBinaryHintFound bool + PluginBinaryHintPath string + PluginDir string + PluginInstalled bool + PluginKey string + PluginMarketplace string + PluginName string + PluginVersion string + StaleConfigEntries []StalePluginConfigEntry + func Detect(lookupEnv func(string) (string, bool)) Detection + func Install(codexHome string, tunnelClientBinary string) (Detection, error) + func InstallForMarketplace(codexHome string, marketplace string, tunnelClientBinary string) (Detection, error) + type ListOptions struct + AdminKeyRef string + AdminProfileName string + ControlPlaneBaseURL string + ControlPlaneURLPath string + OrganizationIDs []string + TenantID string + WorkspaceIDs []string + type Manager struct + func NewManager(lookupEnv func(string) (string, bool), runtime session.Runtime) *Manager + func (m *Manager) ActivateAdminProfile(name string) (map[string]any, error) + func (m *Manager) CleanupInventory(opts CleanupOptions) (map[string]any, error) + func (m *Manager) Connect(opts ConnectOptions) (map[string]any, error) + func (m *Manager) Create(opts CreateOptions) (map[string]any, error) + func (m *Manager) DeleteAdminProfile(name string) (map[string]any, error) + func (m *Manager) ListAdminProfiles() (map[string]any, error) + func (m *Manager) ListRuntimes(opts ListOptions) (map[string]any, error) + func (m *Manager) Remove(opts AliasOptions) (map[string]any, error) + func (m *Manager) SetAdminProfile(name, baseURL, urlPath, adminKey string, activate bool) (map[string]any, error) + func (m *Manager) Status(opts AliasOptions) (map[string]any, error) + func (m *Manager) Stop(opts AliasOptions) (map[string]any, error) + type PayloadError struct + Code int + Payload map[string]any + func (e *PayloadError) Error() string + type PluginInstallation struct + BinaryHint string + BinaryHintPath string + Dir string + Installed bool + Key string + ManifestPath string + Marketplace string + Version string + type RepairAction struct + Command string + ID string + Reason string + type StalePluginConfigEntry struct + Key string + Marketplace string + Reason string + type UninstallResult struct + CodexHome string + ConfigPath string + PluginDir string + PluginName string + RemovedConfigSection bool + RemovedPluginDir bool + func Uninstall(codexHome string) (UninstallResult, error)