codex

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 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)

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