Skip to content

feat: repo fetch refactor with platform abstraction, branch support, and D1 config fix#2

Merged
khrees merged 10 commits intomainfrom
feat-refactor-repo-fetch
Apr 4, 2026
Merged

feat: repo fetch refactor with platform abstraction, branch support, and D1 config fix#2
khrees merged 10 commits intomainfrom
feat-refactor-repo-fetch

Conversation

@khrees
Copy link
Copy Markdown
Owner

@khrees khrees commented Apr 4, 2026

Refactors repository fetching and ingestion with a platform abstraction layer, plus several incremental improvements to the explore flow.

  • Introduces platform abstraction (D1, KV, R2) with local SQLite fallback for dev
  • Adds branch selection to ingestion and exploration
  • Adds startSha / clearExisting params for sliding window ingestion and commit pinning
  • Fetches file-specific diffs via API to optimize diff loading
  • Adds TanStack Query hooks and Zustand store for AI settings and repo data
  • Adds toast notifications for repo sync and AI config
  • Redesigns explore page header and implements session-based repo access grants
  • Fixes wrangler.toml: corrects D1 binding name (DB → grepbase_db) and moves migrations_dir into the [[d1_databases]] block

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
grepbase Ready Ready Preview, Comment Apr 4, 2026 0:23am

@khrees khrees merged commit ff400d5 into main Apr 4, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant