Releases: brasicompany/bcp-code-planogram
Releases · brasicompany/bcp-code-planogram
Release list
BCP v0.1.0
Give your coding agent a map, not the whole library.
BCP extracts only the signatures of a target file and its import-neighborhood into a queryable SQLite index instead of pasting raw files into the prompt.
Highlights
- Up to 89% fewer context tokens in measured cases.
- Stdlib-first core: Python via
ast, TS/JS/TSX via tree-sitter (optional), Swift via regex. - Local SQLite index, incremental by file hash. No service, no GPU.
- 16 local tests, MIT-licensed, sub-1k lines.
Why it exists
We first shipped this as static YAML regenerated on every commit. We measured: 0 runtime readers, ~4.3s/commit tax, and toxic git churn. We deleted it and kept a live, on-demand SQLite index.
Do not commit your code index. It is a derived artifact. Build it on demand and keep it out of Git.
Try it
python3 -m pip install git+https://github.com/gab11s/bcp-code-planogram.git
# or clone locally for development
git clone https://github.com/gab11s/bcp-code-planogram.git
cd bcp-code-planogram
python3 -m pip install -e .
python3 bench.py . bcp/signature_indexer.py