Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExitCodeOf ¶ added in v0.2.14
ExitCodeOf returns the exit code embedded in err (or any wrapper in its chain), defaulting to 1 if none is present.
func RegisterCleanup ¶
func RegisterCleanup(fn func())
RegisterCleanup adds a cleanup function to be called on program termination
Types ¶
type APIConfig ¶
type APIConfig struct {
Mode agent.APIMode
APIKey string // For direct mode (BYOK)
BearerToken string // For proxy mode
URL string // Base URL for proxy mode
}
APIConfig holds the configuration for connecting to the LLM API
type CIMetadata ¶
type ExitCodeError ¶ added in v0.2.14
ExitCodeError wraps an error with a specific process exit code. main.go unwraps this to pick the right os.Exit value; without it, Cobra-returned errors map to exit 1.
func (*ExitCodeError) Error ¶ added in v0.2.14
func (e *ExitCodeError) Error() string
func (*ExitCodeError) Unwrap ¶ added in v0.2.14
func (e *ExitCodeError) Unwrap() error
Source Files
¶
- auth.go
- auth_login.go
- auth_logout.go
- auth_select_org.go
- auth_status.go
- config.go
- drift.go
- drift_query.go
- drift_query_aggregate.go
- drift_query_distinct.go
- drift_query_schema.go
- drift_query_services.go
- drift_query_spans.go
- drift_query_spans_by_ids.go
- drift_query_trace.go
- errors.go
- exp.go
- init.go
- init_cloud.go
- list.go
- review.go
- review_run.go
- review_status.go
- root.go
- run.go
- setup.go
- skills.go
- unit.go
- unit_feedback.go
- unit_get_diffs.go
- unit_get_run.go
- unit_get_scenario.go
- unit_helpers.go
- unit_latest_run.go
- unit_retry.go
- version.go
Click to show internal directories.
Click to hide internal directories.