Documentation
¶
Overview ¶
internal/cmd/completion.go
internal/cmd/controller_manager.go
internal/cmd/create-config.go
internal/cmd/down.go
internal/cmd/inspect.go
internal/cmd/install.go
internal/cmd/logs.go
internal/cmd/memory.go
internal/cmd/postgres.go
internal/cmd/proxy.go
internal/cmd/ps.go
internal/cmd/reload.go
internal/cmd/restart.go
internal/cmd/root.go
internal/cmd/scheduler_execute_workflow.go
internal/cmd/scheduler_server.go
internal/cmd/serve_proxy.go
internal/cmd/start.go
internal/cmd/stop.go
internal/cmd/task_scheduler.go
internal/cmd/toolbox.go
internal/cmd/top.go
internal/cmd/up.go
internal/cmd/validate.go
Index ¶
- Variables
- func EnsurePostgresResource() error
- func NewChatCommand() *cobra.Command
- func NewCompletionCommand() *cobra.Command
- func NewContextAddCommand() *cobra.Command
- func NewContextClearCommand() *cobra.Command
- func NewContextCommand() *cobra.Command
- func NewContextGetCommand() *cobra.Command
- func NewContextListCommand() *cobra.Command
- func NewContextMentionsCommand() *cobra.Command
- func NewContextRemoveCommand() *cobra.Command
- func NewContextStatsCommand() *cobra.Command
- func NewContextWindowCommand() *cobra.Command
- func NewControllerManagerCommand() *cobra.Command
- func NewCreateConfigCommand() *cobra.Command
- func NewDownCommand() *cobra.Command
- func NewEditCommand() *cobra.Command
- func NewInspectCommand() *cobra.Command
- func NewInstallCommand() *cobra.Command
- func NewLogsCommand() *cobra.Command
- func NewMCPServerCommand() *cobra.Command
- func NewMemoryCommand() *cobra.Command
- func NewParseCommand() *cobra.Command
- func NewPostgresCommand() *cobra.Command
- func NewProxyCommand() *cobra.Command
- func NewPsCommand() *cobra.Command
- func NewReloadCommand() *cobra.Command
- func NewRestartCommand() *cobra.Command
- func NewRootCommand(version string) *cobra.Command
- func NewSchedulerServerCommand() *cobra.Command
- func NewSearchCommand() *cobra.Command
- func NewServeProxyCommand() *cobra.Command
- func NewStartCommand() *cobra.Command
- func NewStopCommand() *cobra.Command
- func NewTaskSchedulerCommand() *cobra.Command
- func NewToolboxCommand() *cobra.Command
- func NewToolboxCreateCommand() *cobra.Command
- func NewToolboxDeleteCommand() *cobra.Command
- func NewToolboxDownCommand() *cobra.Command
- func NewToolboxListCommand() *cobra.Command
- func NewToolboxLogsCommand() *cobra.Command
- func NewToolboxStatusCommand() *cobra.Command
- func NewToolboxTemplatesCommand() *cobra.Command
- func NewToolboxUpCommand() *cobra.Command
- func NewTopCommand() *cobra.Command
- func NewUpCommand() *cobra.Command
- func NewValidateCommand() *cobra.Command
- type ApprovalMode
- type ConditionInfo
- type DefinitionResult
- type MCPError
- type MCPRequest
- type MCPResponse
- type ResourceInfo
- type ServerInfo
- type TopModel
Constants ¶
This section is empty.
Variables ¶
var ( ArmyGreen = lipgloss.Color("58") // #5f5f00 - darker army green LightGreen = lipgloss.Color("64") // #5f8700 - lighter army green Brown = lipgloss.Color("94") // #875f00 - brown Yellow = lipgloss.Color("226") // #ffff00 - bright yellow GoldYellow = lipgloss.Color("220") // #ffd700 - gold yellow Red = lipgloss.Color("196") // #ff0000 - red Tan = lipgloss.Color("180") // #d7af87 - tan )
Color constants matching chat UI theme
Functions ¶
func EnsurePostgresResource ¶
func EnsurePostgresResource() error
EnsurePostgresResource ensures the MCPPostgres resource exists without adding to servers config
func NewChatCommand ¶
NewChatCommand creates the chat command using the refactored chat package
func NewCompletionCommand ¶
func NewContextAddCommand ¶
func NewContextClearCommand ¶
func NewContextCommand ¶
NewContextCommand creates the context management command with full enterprise features
func NewContextGetCommand ¶
func NewContextListCommand ¶
func NewContextRemoveCommand ¶
func NewContextStatsCommand ¶
func NewContextWindowCommand ¶
func NewCreateConfigCommand ¶
func NewDownCommand ¶
func NewInspectCommand ¶
func NewInstallCommand ¶
func NewLogsCommand ¶
func NewMCPServerCommand ¶
NewMCPServerCommand creates the mcp-server command
func NewMemoryCommand ¶
func NewParseCommand ¶
NewParseCommand creates the parse command with full tree-sitter integration
func NewPostgresCommand ¶
func NewProxyCommand ¶
func NewPsCommand ¶
func NewReloadCommand ¶
func NewRestartCommand ¶
func NewRootCommand ¶
func NewSearchCommand ¶
NewSearchCommand creates the search command
func NewServeProxyCommand ¶
func NewStartCommand ¶
func NewStopCommand ¶
func NewTaskSchedulerCommand ¶
func NewToolboxCommand ¶
func NewToolboxCreateCommand ¶
func NewToolboxDeleteCommand ¶
func NewToolboxDownCommand ¶
func NewToolboxListCommand ¶
func NewToolboxLogsCommand ¶
func NewToolboxStatusCommand ¶
func NewToolboxUpCommand ¶
func NewTopCommand ¶
func NewUpCommand ¶
func NewValidateCommand ¶
Types ¶
type ApprovalMode ¶
type ApprovalMode int
ApprovalMode controls how autonomous the agent should be
const ( // DEFAULT mode requires manual confirmation for all actions DEFAULT ApprovalMode = iota // AUTO_EDIT mode auto-approves file edits and safe operations AUTO_EDIT // YOLO mode auto-approves everything (most autonomous) YOLO )
func ParseApprovalMode ¶
func ParseApprovalMode(s string) (ApprovalMode, error)
ParseApprovalMode parses a string into an ApprovalMode
func (ApprovalMode) Description ¶
func (a ApprovalMode) Description() string
Description returns a human-readable description of the approval mode
func (ApprovalMode) GetModeIndicator ¶
func (a ApprovalMode) GetModeIndicator() string
GetModeIndicator returns a visual indicator for the current approval mode
func (ApprovalMode) GetModeIndicatorNoEmoji ¶
func (a ApprovalMode) GetModeIndicatorNoEmoji() string
GetModeIndicatorNoEmoji returns a visual indicator without emojis
func (ApprovalMode) ShouldConfirm ¶
func (a ApprovalMode) ShouldConfirm(operation string) bool
ShouldConfirm returns whether the given operation should require confirmation
func (ApprovalMode) String ¶
func (a ApprovalMode) String() string
String returns the string representation of the approval mode
type ConditionInfo ¶
type DefinitionResult ¶
type MCPRequest ¶
type MCPRequest struct {
JSONRPC string `json:"jsonrpc"`
ID interface{} `json:"id"`
Method string `json:"method"`
Params interface{} `json:"params,omitempty"`
}
MCPRequest represents an MCP JSON-RPC request
type MCPResponse ¶
type MCPResponse struct {
JSONRPC string `json:"jsonrpc"`
ID interface{} `json:"id"`
Result interface{} `json:"result,omitempty"`
Error *MCPError `json:"error,omitempty"`
}
MCPResponse represents an MCP JSON-RPC response
type ResourceInfo ¶
type ResourceInfo struct {
Type string `json:"type"`
Name string `json:"name"`
Namespace string `json:"namespace"`
Phase string `json:"phase"`
Age string `json:"age"`
Ready string `json:"ready"`
Status string `json:"status"`
Endpoint string `json:"endpoint,omitempty"`
Image string `json:"image,omitempty"`
Protocol string `json:"protocol,omitempty"`
Resource interface{} `json:"resource,omitempty"`
Conditions []ConditionInfo `json:"conditions,omitempty"`
}
type ServerInfo ¶
type ServerInfo struct {
Name string
Status string
Type string
Restarts int32
Age time.Duration
CPU string
Memory string
Image string
Protocol string
Port int32
Replicas string
Ready bool
LastUpdated time.Time
}
ServerInfo contains detailed information about a server
Source Files
¶
- approval.go
- chat.go
- completion.go
- context.go
- controller_manager.go
- create-config.go
- down.go
- edit.go
- inspect.go
- install.go
- logs.go
- mcp_server.go
- memory.go
- parse.go
- postgres.go
- proxy.go
- ps.go
- reload.go
- restart.go
- root.go
- scheduler_execute_workflow.go
- scheduler_server.go
- search.go
- serve_proxy.go
- start.go
- stop.go
- task_scheduler.go
- toolbox.go
- top.go
- up.go
- validate.go