agent

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Names

func Names() []string

func Register

func Register(a Agent)

Types

type Agent

type Agent interface {
	Name() string

	DecodeHookInput(input []byte) (hook.Event, error)

	EncodeHookResult(event hook.Event, result hook.Result) ([]byte, error)
}

func Get

func Get(name string) (Agent, bool)

type Aliaser added in v0.6.0

type Aliaser interface {
	Aliases() []string
}

Directories

Path Synopsis
Package codex registers the Codex agent adapter.
Package codex registers the Codex agent adapter.
Package cowork registers the Cowork agent adapter.
Package cowork registers the Cowork agent adapter.

Jump to

Keyboard shortcuts

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