Skip to content

Releases: Rycen7822/codex-rg-guard

Codex rg Guard v0.2.4

Choose a tag to compare

@Rycen7822 Rycen7822 released this 08 May 20:21

Codex rg Guard v0.2.4

Initial public release of Codex rg Guard, a low-context rg / grep replacement for Codex that reduces search noise and context waste in large repositories.

Highlights

  • Added a single MCP tool: cxs(op,args)
  • Added budgeted search over ripgrep
  • Added files-first search with find(files_only:true)
  • Added bounded line snippets with hit, per-file, line-length, output-size, process-byte, and timeout limits
  • Added pagination hints for truncated files-only results
  • Added structured search for JSON, JSONL, NDJSON, CSV, and TSV files
  • Added lightweight symbol lookup
  • Added optional guarded rg shim
  • Added both Python and Rust implementations
  • Added Rust prebuilt plugin packaging scripts for easier distribution

Installation

Rust prebuilt package is recommended for normal use. It does not require Rust, Cargo, or Python at runtime. It only requires rg in PATH.

Python implementation remains available for debugging and development.

Notes

  • The old read operation is intentionally not included. Use Codex-native file reads after cxs narrows the search to a concrete file or line.
  • ast-grep is optional and not used by the current implementation.
  • This release is focused on reducing context waste from broad repository search, not replacing all search or file-reading workflows.