UNPKG

git-suggest

Version:

A lightweight command-line tool that automatically generates contextual, high-quality Git commit messages based on your staged code changes. Powered by GitHub Copilot CLI, it helps you write smarter commits with less typing.

17 lines 593 B
import { GitChange, CommitSuggestion } from '../types'; export declare class CopilotUtils { static generateCommitMessage(changes: GitChange[], options?: { prefix?: string; type?: string; scope?: string; }): Promise<CommitSuggestion>; private static buildContext; private static buildPrompt; private static callCopilot; private static parseResponse; private static isValidCommitMessage; private static enhanceWithOptions; private static calculateConfidence; private static extractReasoning; } //# sourceMappingURL=copilot.d.ts.map