codex

package
v0.1.3 Latest Latest
Warning

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

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

Documentation

Overview

Package codex is Codex's harness: its profile, read by the generic implementation, and what the profile can't say. Delivery goes through `codex queue`, and a thread is read through Codex's app server before an agent is bound to it; doctor checks the codex command and its queue; and a delivery stopped for a thread that is gone or a sub-agent is fixed in Codex.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Harness

type Harness struct {
	*harness.Generic
}

Harness is Codex.

func New

func New() *Harness

New returns Codex's harness.

func (*Harness) Adapter

func (h *Harness) Adapter(clientVersion string) delivery.Adapter

Adapter queues bundles with `codex queue`.

func (*Harness) Fix

func (h *Harness) Fix(reason string) string

Fix says how to fix a delivery the Codex adapter stopped.

func (*Harness) InstalledChecks

func (h *Harness) InstalledChecks(ctx context.Context, _ harness.Env) ([]harness.CheckResult, bool)

InstalledChecks checks that codex is on the PATH and has the queue command that delivery needs.

Jump to

Keyboard shortcuts

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