Repository navigation
Fixed
- Removing files from a large index no longer takes hours:
chunks.symbol_idand
symbols.parent_idare now indexed, so a deleted symbol no longer costs a full scan
of both tables. Existing indexes gain the two indexes the next time they are opened,
with no rebuild. - The
PreToolUseguard now covers Claude Code's PowerShell tool:- a
codebase-indexcommand run from PowerShell turns the guard off for the session,
andSelect-Stringorrgcode searches there are guarded like their Bash
equivalents. ASelect-Stringthat reads piped input is left alone, and here-string
bodies (@'...'@) are not scanned; install-hooksrefreshes the matcher of an installed guard. Run it again after
upgrading; the plugin's hooks pick this up on their own.
- a
- The guard no longer intercepts searches that cannot be answered by the index: those
over.gitinternals, binaries (.exe,.dll,.jar,.sqliteand the like), or
absolute paths outside the indexed repository. Nor does it intercept anything in a
directory without an index.
Install
pip install codebase-index==2.1.3
pipx install codebase-index==2.1.3Full diff: v2.1.2...v2.1.3
What's Changed
- fix(storage): index the columns behind ON DELETE SET NULL by @denfry in #34
- fix(hooks): cover the PowerShell tool and skip searches the index cannot answer (v2.1.3) by @denfry in #35
Full Changelog: v2.1.2...v2.1.3