codex

package
v0.1.22 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueueCommand added in v0.1.21

func QueueCommand(config bridgeconfig.Config, text string) clisession.CommandSpec

QueueCommand builds `codex queue --thread <session> --message <text>`, honouring runtime.command and runtime.home_path like the managed driver.

Types

type Adapter

type Adapter struct{}

func New

func New() *Adapter

func (*Adapter) Name

func (a *Adapter) Name() string

func (*Adapter) Run

func (a *Adapter) Run(ctx context.Context, config bridgeconfig.Config) error

type AttachedNotifier added in v0.1.21

type AttachedNotifier struct{}

AttachedNotifier nudges an open Codex session with `codex queue`. Codex delivers the queued message once the session's current turn ends.

func (AttachedNotifier) Name added in v0.1.21

func (AttachedNotifier) Name() string

func (AttachedNotifier) Notify added in v0.1.21

func (AttachedNotifier) Notify(ctx context.Context, config bridgeconfig.Config, text string) error

type Driver

type Driver struct{}

func (Driver) BuildCommand

func (Driver) BuildCommand(config bridgeconfig.Config, delivery clisession.Delivery) (clisession.CommandSpec, error)

func (Driver) DefaultCommand

func (Driver) DefaultCommand() string

func (Driver) ExtractRuntimeSessionID

func (Driver) ExtractRuntimeSessionID(result clisession.CommandResult) string

func (Driver) Name

func (Driver) Name() string

func (Driver) UsesSessionIDForFirstDelivery

func (Driver) UsesSessionIDForFirstDelivery() bool

Jump to

Keyboard shortcuts

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