Add auto-exploration capability for codebase questions#4
Open
khrees wants to merge 5 commits into
Open
Conversation
…service, implement cleanups
…nt, and cleanup
- Refactor useCommits from useInfiniteQuery to useQuery — removes misleading
eager-fetch-all pattern and associated useEffect violations
- Replace store-reset useEffect with mount-triggered reset (zustand global)
- Move AIPanel render-phase sessionStorage writes into a proper useEffect
- Extract shared parseErrorMessage() helper in api-client.ts, removing
duplicated nested-ternary error parsing in request() and postStream()
- Tighten COMMIT_SHA_REGEX from {7,64} to {7,40} (git max is 40 hex chars)
- Remove unused eslint-disable directives for inactive lint rule
- Remove dead code: src/lib/db.ts, localFirstRead/LocalFirstOptions
- Replace ID-based routing with `[owner]/[repo]` slug parameters - Implement `api/repos/lookup` route for repository resolution - Add `useRepoByName` hook for repository data fetching - Update `ExplorePage` to redirect from legacy ID paths - Update repository ID type to string across store and types
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds automatic codebase exploration capability when users ask "how is X done?" style questions in the AI chat.
New Features
src/services/ai-credentials.ts,src/lib/api-security.ts)And other fixes & improvements