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 ¶
- type Harness
- func (h *Harness) Adapter(clientVersion string) delivery.Adapter
- func (h *Harness) Fix(reason string) string
- func (h *Harness) HookTrustChecks(ctx context.Context, e harness.Env, commands, files []string) []harness.CheckResult
- func (h *Harness) InstalledChecks(ctx context.Context, _ harness.Env) ([]harness.CheckResult, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Harness ¶
Harness is Codex.
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 ¶
InstalledChecks checks that codex is on the PATH and has the queue command that delivery needs.