ubon
Version:
Security scanner for AI-generated React/Next.js and Python apps. Catches hardcoded secrets, accessibility issues, and vulnerabilities that traditional linters miss.
19 lines (18 loc) • 656 B
TypeScript
export declare function getChangedFilesSince(ref: string, cwd: string): string[];
export declare function getRecentCommitHashes(depth: number, cwd: string): string[];
export interface CreatePrOptions {
cwd: string;
baseBranch?: string;
featureBranch: string;
title: string;
body?: string;
}
export declare function ensureGitRepo(cwd: string): boolean;
export declare function createBranchCommitPush(options: CreatePrOptions): {
pushed: boolean;
remoteUrl?: string;
};
export declare function tryOpenPullRequest(cwd: string, base: string, head: string, title: string, body?: string): {
created: boolean;
url?: string;
};