Skip to content

v2.1.2

Latest

Choose a tag to compare

@github-actions github-actions released this 25 Sep 07:01
· 1 commit to main since this release
b5c4940

Fixed

  • The PreToolUse guard no longer blocks work it should let through:
    • the first codebase-index command of a session turns the guard off even when it
      is the command that builds the index; before, a repository without an index kept
      the guard on for the whole session. Session state now lives in the system temp
      directory (CBX_HOOK_STATE overrides it) instead of inside the index;
    • heredoc bodies (cat > script.ps1 <<'EOF', python - <<EOF) are file content, not
      commands, and are no longer scanned for grep/Select-String;
    • a retry is matched by its search term, not by the whole tool call, so a rewritten
      command or a new description for the same search goes through;
    • a quoted alternation such as grep "a\|b" is read whole, and a search on its own
      line of a multi-line command is recognised.

Install

pip install codebase-index==2.1.2
pipx install codebase-index==2.1.2

Full diff: v2.1.1...v2.1.2

What's Changed

  • fix(hooks): stop the guard from blocking heredocs and unindexed sessions (v2.1.2) by @denfry in #31

Full Changelog: v2.1.1...v2.1.2