Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunDisable ¶
func RunDisable(opts DisableOptions) error
RunDisable unregisters codag's MCP server from known agent config files. It does not remove auth tokens, provider config, or the codag binary.
func SetDeviceLoginRunner ¶
func SetDeviceLoginRunner(fn func() error)
SetDeviceLoginRunner is called by cmd/setup.go init() to inject the real device-flow runner. Lets internal/setup stay free of cmd imports.
Types ¶
type Agent ¶
type Agent struct {
Name string // human-readable
LocationHint string // where we found it (CLI on PATH, config dir, etc.)
RegisterMethod string // describe the path we'll take
Register func(codagBin string) error
}
Agent is one MCP-aware agent we know how to register codag with.
type DisableOptions ¶
type DisableOptions struct {
PrintOnly bool
}
type MCPConfigTarget ¶
MCPConfigTarget is one known agent config file that may contain a codag MCP server entry. Used by `codag disable`.
Click to show internal directories.
Click to hide internal directories.