cmd

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2025 License: MIT Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()
func PrintLogo()

PrintLogo prints the AgentPipe ASCII art logo with sunset gradient

Types

type AgentCheck

type AgentCheck struct {
	Name          string `json:"name"`
	Command       string `json:"command"`
	Available     bool   `json:"available"`
	Path          string `json:"path,omitempty"`
	Version       string `json:"version,omitempty"`
	Error         error  `json:"-"`
	ErrorMessage  string `json:"error,omitempty"`
	InstallCmd    string `json:"install_cmd,omitempty"`
	UpgradeCmd    string `json:"upgrade_cmd,omitempty"`
	Docs          string `json:"docs,omitempty"`
	Authenticated bool   `json:"authenticated"`
}

type AgentListJSON added in v0.2.2

type AgentListJSON struct {
	Name          string `json:"name"`
	Command       string `json:"command"`
	Description   string `json:"description"`
	Docs          string `json:"docs"`
	Installed     bool   `json:"installed"`
	Path          string `json:"path,omitempty"`
	Version       string `json:"version,omitempty"`
	LatestVersion string `json:"latest_version,omitempty"`
	HasUpdate     bool   `json:"has_update,omitempty"`
	InstallCmd    string `json:"install_cmd,omitempty"`
}

AgentListJSON represents an agent in JSON output

type BridgeStatusJSON added in v0.3.0

type BridgeStatusJSON struct {
	Enabled       bool   `json:"enabled"`
	URL           string `json:"url"`
	HasAPIKey     bool   `json:"has_api_key"`
	TimeoutMs     int    `json:"timeout_ms"`
	RetryAttempts int    `json:"retry_attempts"`
	LogLevel      string `json:"log_level"`
	ConfigFile    string `json:"config_file,omitempty"`
}

type DoctorOutput added in v0.1.4

type DoctorOutput struct {
	SystemEnvironment []SystemCheck `json:"system_environment"`
	SupportedAgents   []AgentCheck  `json:"supported_agents"`
	AvailableAgents   []AgentCheck  `json:"available_agents"`
	Configuration     []SystemCheck `json:"configuration"`
	Summary           DoctorSummary `json:"summary"`
}

type DoctorSummary added in v0.1.4

type DoctorSummary struct {
	TotalAgents    int      `json:"total_agents"`
	AvailableCount int      `json:"available_count"`
	MissingAgents  []string `json:"missing_agents,omitempty"`
	Ready          bool     `json:"ready"`
}

type SystemCheck added in v0.1.0

type SystemCheck struct {
	Name    string `json:"name"`
	Status  bool   `json:"status"`
	Message string `json:"message"`
	Icon    string `json:"icon,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL