Help us shape the future of Go! Take the 2026 Go Developer Survey

codex

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

Types

type Agent

type Agent struct {
	// contains filtered or unexported fields
}

func (*Agent) Cancel

func (a *Agent) Cancel(_ context.Context, t transport.Transport, sessionID string) error

func (*Agent) InitializeParams

func (a *Agent) InitializeParams() map[string]any

func (*Agent) Name

func (a *Agent) Name() string

func (*Agent) Open

func (*Agent) PromptParams

func (a *Agent) PromptParams(sessionID, input string, _ string) map[string]any

func (*Agent) SessionListParams

func (a *Agent) SessionListParams(cwd, cursor string) map[string]any

func (*Agent) SessionLoadParams

func (a *Agent) SessionLoadParams(sessionID string) map[string]any

func (*Agent) SessionNewParams

func (a *Agent) SessionNewParams(string) map[string]any

SessionNewParams omits model selection: ACP has no model field on session/new, so the codex model is the adapter's concern (profile/config), not a wire parameter the gateway can set generically.

Jump to

Keyboard shortcuts

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