Git history and JSON query tools for Piclaw. Requires Piclaw >=1.8.0.
Open Settings → Add-Ons and install git-query-tools from the catalog. The host must provide git and jq on PATH.
git_historyQueries the repository under /workspace/.pi/extensions with four modes:
log — recent commitscontent_search — commits whose diffs add or remove a stringmessage_search — commit-message searchblame — line attribution for a fileOptional filters include file, max_count, author, since, diff, lines, all, and ref. File paths must remain inside the extensions checkout. Process output is bounded and returned in a structured JSON envelope.
json_queryRuns a jq expression against either an inline JSON value or one JSON file. Supply exactly one of input or file. The add-on validates file paths and rejects a small set of risky jq built-ins before execution.
The bundled git-query-tools skill explains when structured history or JSON queries are clearer than raw shell commands.