Documentation
¶
Overview ¶
Package cli implements agent-manager's subcommands over internal/sessioncmd, the same layer the MCP server drives. An agent whose CLI carries no MCP client reaches the workspace from its shell instead, and both fronts speak the same words because the sentences come from sessioncmd.
Index ¶
- Variables
- func Commands(version string, specs settingSpecs) map[string]Command
- func CommandsWithArchiveOwner(version string, specs settingSpecs, owner sessioncmd.ArchiveOwner) map[string]Command
- func CommandsWithBackend(version string, specs settingSpecs, backend *sessioncmd.Backend) map[string]Command
- func ExitCode(err error) int
- func Help(version string, proactive bool) string
- type Command
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUsageShown = errors.New("usage shown")
ErrUsageShown reports that -h already printed the usage, so the caller exits without an error line.
Functions ¶
func CommandsWithArchiveOwner ¶ added in v0.43.0
func CommandsWithArchiveOwner(version string, specs settingSpecs, owner sessioncmd.ArchiveOwner) map[string]Command
func CommandsWithBackend ¶ added in v0.43.0
func CommandsWithBackend(version string, specs settingSpecs, backend *sessioncmd.Backend) map[string]Command
Types ¶
Click to show internal directories.
Click to hide internal directories.