Skip to content

Add analyzer and bin logic - #80

Merged
nirvik34 merged 3 commits into
mainfrom
fixes/update
Sep 13, 2026
Merged

nirvik34 merged 3 commits into
mainfrom
fixes/update

Conversation

@nirvik34

Copy link
Copy Markdown
Owner
  • First commit detection: Added isFirstCommit() in src/git/checkRepo.ts that checks git rev-list --count HEAD. When a repo has no prior commits, src/index.ts now defaults to "first commit" instead of generating a type/scope-based message. Supports all modes: interactive, --auto, --generate-only, --dry-run.
  • Stronger offline support: Replaced the shallow scanDiff() with a rich signal detector (src/analyzer/diffScanner.ts) that extracts named functions, classes, imports, renamed files, signature changes, and line counts. Added generateDetailedDescription() in src/analyzer/summarizer.ts that produces human-readable offline messages like "add auth module; integrate jwt; add verifyToken function". Updated commitGenerator.ts to use these signals as the primary fallback before basic heuristics.

@vercel

vercel Bot commented Sep 13, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
gitbun Ready Ready Preview Sep 13, 2026 11:14am UTC
gitbun-5n9d Ready Ready Preview Sep 13, 2026 11:14am UTC

@coderabbitai

coderabbitai Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: a2bac6b2-d833-4535-8a84-6ae2f25090b3

Warning

.coderabbit.yaml has a parsing error

The CodeRabbit configuration file in this repository has a parsing error and default settings were used instead. Please fix the error(s) in the configuration file. You can initialize chat with CodeRabbit to get help with the configuration file.

Parsing errors (1)
Validation error: Invalid option: expected one of "quiet"|"chill"|"assertive" at "reviews.profile"
⚙️ Configuration instructions
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@nirvik34
nirvik34 merged commit 51f5921 into main Sep 13, 2026
7 checks passed

This branch was successfully deployed

2 active deployments
Preview – gitbun-5n9d — f1b1110d Deployed Sep 13, 2026 by vercel[bot]
Preview – gitbun — f1b1110d Deployed Sep 13, 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