Metadata-Version: 2.4
Name: codex-proc
Version: 0.5.0
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Summary: Sample new processes in local Codex process trees on Linux, macOS, and Windows
Requires-Python: >=3.9
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM

# codex-proc

Run `uvx codex-proc` to summarize the last seven days of recorded Codex tool activity on this machine. Use `--days 1` for a rolling 24-hour window. History shows individual completed command items marked unified_exec_startup, including failures, by UTC date. The chart also counts direct JavaScript call expressions such as tools.exec_command(...) in recorded Code Mode source, including multiple calls per input. These measures overlap. Loops, branches and aliases make the source count different from runtime executions. Retained command events do not distinguish nested and direct callers. First and last dates are partial. Full-day summaries include zero-event dates; the p95 across inputs with call sites uses nearest rank.

The reader scans active rollout files under CODEX_HOME (default ~/.codex), reads up to 512 MiB, skips records over 8 MiB and deduplicates recorded IDs. Output includes coverage and parse failures. Archived and remote activity may be absent. OS creations and spawn timing require separate observation.

Use `uvx codex-proc --live` to sample newly observed descendants of local Codex processes on Linux, macOS, and Windows. The default observation window is ten seconds. Set `--seconds 60` for a minute or `--pid PID` for one process tree. Processes can exit between polls, so the count is a lower bound.

