Skip to content

Releases: nogginly/codex_patch.cr

Release 0.6.0

Choose a tag to compare

@nogginly nogginly released this 18 Jul 04:26
353990b

New

  • Defined AccessPolicy module with abstract authorized? method called to check if AccessPolicy::Ops are allowed on a given path before reading / editing / deleting files.
  • Implemented DirAccessPolicy helper that will check if path is within a given base directory.

Improvements

  • Fixed use of literal newlines to be platform neutral
  • Enabled Windows in CI to confirm

Release 0.5.0

Choose a tag to compare

@nogginly nogginly released this 17 Jul 23:27
1663c71

codex_patch.cr is Crystal shard that implements the Codex patch format — a stripped-down, file-oriented diff format designed to be easy to parse and safe to apply, designed for use by LLMs. It's intended to be used as a library, but also includes a very simple CLI app apply_codex_patch. See README.md for how to use the shard, and DEVELOPMENT.md for how to build the CLI.

Disclosure: Ported from the Rust version in the codex GitHub repo.