root

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2025 License: Apache-2.0 Imports: 49 Imported by: 0

Documentation

Index

Constants

View Source
const AppName = "cagent"

Variables

View Source
var FeedbackLink = "https://docker.qualtrics.com/jfe/form/SV_cNsCIg92nQemlfw"

Functions

func Execute

func Execute()

func NewAPICmd added in v1.7.0

func NewAPICmd() *cobra.Command

NewAPICmd creates a new api command

func NewBuildCmd added in v1.1.0

func NewBuildCmd() *cobra.Command

func NewCatalogCmd

func NewCatalogCmd() *cobra.Command

NewCatalogCmd creates the catalog command with its subcommands

func NewDebugCmd

func NewDebugCmd() *cobra.Command

NewDebugCmd creates a command that prints the debug information about cagent.

func NewEvalCmd

func NewEvalCmd() *cobra.Command

func NewExecCmd added in v0.7.0

func NewExecCmd() *cobra.Command

func NewFeedbackCmd

func NewFeedbackCmd() *cobra.Command

NewFeedbackCmd creates a new feedback command

func NewNewCmd

func NewNewCmd() *cobra.Command

Cmd creates a new command to create a new agent configuration

func NewPrintCmd added in v1.5.4

func NewPrintCmd() *cobra.Command

func NewPullCmd

func NewPullCmd() *cobra.Command

func NewPushCmd

func NewPushCmd() *cobra.Command

func NewReadmeCmd

func NewReadmeCmd() *cobra.Command

NewReadmeCmd creates a command that prints the README of an agent.

func NewRootCmd

func NewRootCmd() *cobra.Command

NewRootCmd creates the root command for cagent

func NewRunCmd

func NewRunCmd() *cobra.Command

NewRunCmd creates a new run command

func NewTuiCmd added in v0.7.0

func NewTuiCmd() *cobra.Command

func NewVersionCmd

func NewVersionCmd() *cobra.Command

NewVersionCmd creates a new version command

func Run added in v1.1.0

func Run()

Types

type ConfirmationResult

type ConfirmationResult string

confirmation result types

const (
	ConfirmationApprove        ConfirmationResult = "approve"
	ConfirmationApproveSession ConfirmationResult = "approve_session"
	ConfirmationReject         ConfirmationResult = "reject"
	ConfirmationAbort          ConfirmationResult = "abort"
)

type RuntimeError added in v1.5.8

type RuntimeError struct {
	Err error
}

RuntimeError wraps runtime errors to distinguish them from usage errors

func (RuntimeError) Error added in v1.5.8

func (e RuntimeError) Error() string

func (RuntimeError) Unwrap added in v1.5.8

func (e RuntimeError) Unwrap() error

Jump to

Keyboard shortcuts

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