Skip to content

feat: add real-time repository analysis and improve AI retrieval - #2

Merged
kunal-yelgate merged 3 commits into
mainfrom
add/aifeatures
Sep 7, 2026
Merged

kunal-yelgate merged 3 commits into
mainfrom
add/aifeatures

Conversation

@kunal-yelgate

Copy link
Copy Markdown
Owner

Overview

This PR adds real-time deep repository analysis, improves AI retrieval for Groq and Mistral, and introduces a refreshed Cursor-inspired dark UI.

Key Changes

Repository Analysis

  • Added bounded analysis of up to 40 prioritized source/configuration files.
  • Fetches files concurrently to reduce GitHub API latency.
  • Detects common repository entry points.
  • Builds an import-based module relationship graph.
  • Adds architecture evidence including layers, entry points, relationships, and analysis limitations.
  • Displays architecture information in the repository detail page.

Real-Time Retrieval

  • Checks repository update timestamps before reusing indexed code.
  • Automatically re-indexes when the repository changes.
  • Prevents stale code chunks from being retrieved.
  • Falls back to lexical scoring when stored embeddings are invalid.

Groq & Mistral

  • Keeps AI context within 12,000 characters.
  • Limits retrieved evidence to the most relevant code.
  • Limits responses to 900 tokens.
  • Uses provider-specific default models when required.
  • Preserves Groq → Mistral fallback for rate-limit and context-length errors.

Frontend

  • Added frontend/DESIGN.md and a shared cursor-theme.css.
  • Introduced a GitHub-inspired dark blue visual theme.
  • Improved login, dashboard, repository details, chat, and profile UI.
  • Added responsive layouts, hover/focus states, animations, and reduced-motion support.
  • Improved repository cards, metadata readability, loading states, and AI chat presentation.

Validation

  • ✅ Backend compilation and diagnostics
  • ✅ Frontend ESLint
  • ✅ Frontend production build
  • ✅ Git whitespace validation
  • ✅ Browser smoke test for login and dark-theme rendering

Overall, this update makes repository analysis fresher and more architecture-aware, while improving AI reliability and the overall frontend experience.

@vercel

vercel Bot commented Sep 7, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
frontend Ready Ready Preview Sep 7, 2026 4:51pm UTC

@sonarqubecloud

sonarqubecloud Bot commented Sep 7, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@kunal-yelgate
kunal-yelgate merged commit 5d97438 into main Sep 7, 2026
5 of 6 checks passed

This branch was successfully deployed

1 active deployment
Preview 2fa1bd6f Deployed Sep 7, 2026 by vercel[bot]
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