internal/

directory
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2026 License: MIT

Directories

Path Synopsis
Package agent defines the provider-agnostic contract codexmon uses to drive and monitor an AI coding CLI — codex, Claude Code, or the Cursor agent.
Package agent defines the provider-agnostic contract codexmon uses to drive and monitor an AI coding CLI — codex, Claude Code, or the Cursor agent.
all
Package all registers every built-in agent provider as an import side effect.
Package all registers every built-in agent provider as an import side effect.
claude
Package claude adapts Anthropic's Claude Code CLI (`claude`) to codexmon's agent contract.
Package claude adapts Anthropic's Claude Code CLI (`claude`) to codexmon's agent contract.
codex
Package codex adapts the OpenAI Codex CLI (`codex`) to codexmon's agent contract: it locates the binary, injects the `exec --json` / `--output-last-message` flags that make a run observable, and parses codex's JSONL event stream into the normalized agent.Event the monitor consumes.
Package codex adapts the OpenAI Codex CLI (`codex`) to codexmon's agent contract: it locates the binary, injects the `exec --json` / `--output-last-message` flags that make a run observable, and parses codex's JSONL event stream into the normalized agent.Event the monitor consumes.
cursor
Package cursor adapts the Cursor agent CLI (`cursor-agent`, also installed as `agent`) to codexmon's agent contract.
Package cursor adapts the Cursor agent CLI (`cursor-agent`, also installed as `agent`) to codexmon's agent contract.
Package cli implements the codexmon command-line surface.
Package cli implements the codexmon command-line surface.
Package job owns the on-disk representation of a monitored agent run.
Package job owns the on-disk representation of a monitored agent run.
Package monitor supervises a single agent child process (codex, Claude Code, or Cursor): it streams and parses output via the selected agent.Provider, maintains a live status file, and enforces the watchdog policy (heartbeat, stall ceiling, wall-clock timeout, cancellation).
Package monitor supervises a single agent child process (codex, Claude Code, or Cursor): it streams and parses output via the selected agent.Provider, maintains a live status file, and enforces the watchdog policy (heartbeat, stall ceiling, wall-clock timeout, cancellation).
Package proc handles process-group lifecycle for the monitored Codex child.
Package proc handles process-group lifecycle for the monitored Codex child.
Package render turns job statuses into the compact, human-readable text `codexmon status/list/wait` print when not in --json mode.
Package render turns job statuses into the compact, human-readable text `codexmon status/list/wait` print when not in --json mode.

Jump to

Keyboard shortcuts

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