Files
codex/codex-rs/utils/head-tail-buffer/BUILD.bazel
T
Sean Huang 7c568b331b Extract the head-tail buffer into a utility crate (#56535)
## What changed

Move `HeadTailBuffer` and `format_output_omission_marker` into the new
`codex-utils-head-tail-buffer` crate, exposing the buffer API with an explicit
const-generic byte budget. Update core callers to use the crate and add Cargo
and Bazel definitions.

Move the existing buffer tests alongside the implementation, preserving the
prefix/suffix retention and omission-marker behavior.

GitOrigin-RevId: ff488d0a0a62c39c0e11c11ebb539166cc4c6e74
2026-10-23 17:35:25 +00:00

7 lines
141 B
Python

load("//:defs.bzl", "codex_rust_crate")
codex_rust_crate(
name = "head-tail-buffer",
crate_name = "codex_utils_head_tail_buffer",
)