bugger-mcp
Version:
MCP Server for managing bugs, feature requests, and improvements
58 lines • 1.61 kB
TypeScript
import sqlite3 from 'sqlite3';
export interface Bug {
id: string;
status: 'Open' | 'In Progress' | 'Fixed' | 'Closed' | 'Temporarily Resolved';
priority: 'Low' | 'Medium' | 'High' | 'Critical';
dateReported: string;
component: string;
title: string;
description: string;
expectedBehavior: string;
actualBehavior: string;
potentialRootCause?: string;
filesLikelyInvolved?: string[];
stepsToReproduce?: string[];
verification?: string[];
humanVerified?: boolean;
}
export declare class BugManager {
private tokenTracker;
constructor();
/**
* Create a new bug
*/
createBug(db: sqlite3.Database, args: any): Promise<string>;
/**
* Create bug with retry mechanism to handle race conditions
*/
private createBugWithRetry;
/**
* Single attempt to create a bug
*/
private createBugAttempt;
/**
* List bugs with filtering options
*/
listBugs(db: sqlite3.Database, args: any): Promise<string>;
/**
* Update bug status
*/
updateBugStatus(db: sqlite3.Database, args: any): Promise<string>;
/**
* Search bugs
*/
searchBugs(db: sqlite3.Database, query: string, args: any): Promise<any[]>;
/**
* Bulk update bug status
*/
bulkUpdateBugStatus(db: sqlite3.Database, args: any): Promise<string>;
/**
* Generate next ID for bug with retry mechanism for race conditions
*/
private generateNextIdWithRetry;
/**
* Generate next ID for bug
*/
private generateNextId;
}
//# sourceMappingURL=bugs.d.ts.map