agent

package
v0.72.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package agent is the catalog of coding agents that hive init and the desktop onboarding offer. A profile for an agent not listed here is still valid config; the catalog only drives what setup suggests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	// Name is the profile key in config.yaml and the command on PATH.
	Name  string
	Label string
	// SkipPermissionFlags turn off the agent's own permission prompts. Empty
	// for an agent with no known flag. It is a slice because opencode needs
	// two arguments.
	SkipPermissionFlags []string
}

func Known

func Known() []Agent

Known returns the catalog in display order. The result is a copy the caller may modify.

func Lookup

func Lookup(name string) (Agent, bool)

Jump to

Keyboard shortcuts

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