codex

package
v0.1.6 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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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) HookTrustChecks added in v0.1.5

func (h *Harness) HookTrustChecks(ctx context.Context, e harness.Env, commands, files []string) []harness.CheckResult

HookTrustChecks reports required approval for Aboard's commands only.

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