Added
- GitHub repository clone extraction for
fetch_content-- detects GitHub code URLs, clones repos to/tmp/pi-github-repos/, and returns actual file contents plus local path for further exploration withreadandbash - Lightweight API fallback for oversized repos (>350MB) and commit SHA URLs via
gh api - Clone cache with concurrent request deduplication (second request awaits first's clone)
forceCloneparameter onfetch_contentto override the size threshold- Configurable via
~/.pi/web-search.jsonundergithubClonekey (enabled, maxRepoSizeMB, cloneTimeoutSeconds, clonePath) - Falls back to
git clonewhenghCLI is unavailable (public repos only) - README: GitHub clone documentation with config, flow diagram, and limitations
Changed
- Refactored
extractContent/fetchAllContentsignatures from positionaltimeoutMstoExtractOptionsobject - Blob/tree fetch titles now include file path (e.g.
owner/repo - src/index.ts) for better disambiguation in multi-URL results and TUI
Fixed
- README: Activity monitor keybinding corrected from
Ctrl+Shift+OtoCtrl+Shift+W