agents

package
v0.15.6 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ID

func ID(name string) string

func Names

func Names() ([]string, error)

func New

func New(ctx context.Context, ws *code.Workspace, name string, builtinConfig *agent.Config) (code.Agent, error)

New constructs the built-in agent or any detected/configured ACP agent. builtinConfig lets long-lived hosts reuse their existing Wingman config.

Types

type Constructor

type Constructor func(context.Context, *code.Workspace) (code.Agent, error)

type Registration

type Registration struct {
	ID          string
	Name        string
	Constructor Constructor
}

func Available

func Available() ([]Registration, error)

Available merges automatically detected agents with agents.json entries. An explicitly configured entry replaces a detected entry with the same ID.

Jump to

Keyboard shortcuts

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