@trq/pi-colgrep
v0.1.4
Published
pi extension that adds a colgrep tool and prioritizes semantic/hybrid ColGrep search
Downloads
280
Maintainers
Readme
@trq/pi-colgrep
A pi extension package that adds a dedicated colgrep tool for semantic/hybrid code search using ColGrep.
Background reading: LateOn-Code & ColGrep announcement.
Features
- Adds a dedicated
colgreptool (keeps a clearer mental model than overridinggrep). - Prefers
colgrepby default by removing built-ingrepfrom active tools when the extension loads. - Supports semantic queries plus optional regex pre-filter (
query+regex), with compatibility for legacypatterncalls. - Re-indexes automatically:
- on session start,
- after
writeandedittool changes, - on filesystem change events (recursive watcher where supported).
- Adds
/colgrep-reindexcommand for manual index refresh. - Ships a
colgrepusage skill (skills/colgrep/SKILL.md) so agents are prompted to prefer colgrep workflows.
Prerequisites
Install colgrep first:
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/lightonai/next-plaid/releases/latest/download/colgrep-installer.sh | shInstall (pi package)
pi install npm:@trq/pi-colgrepOr project-local:
pi install -l npm:@trq/pi-colgrepLocal development
pi -e ./extensions/colgrep.tsThird-party content and licensing
This package includes an adapted skill from LightOn's next-plaid repository:
- Source:
colgrep/src/install/SKILL.md - Upstream license: Apache-2.0
- Included license text:
THIRD_PARTY_LICENSES/next-plaid-LICENSE.Apache-2.0.txt
Publish
npm publish --access public