bugger-mcp
Version:
MCP Server for managing bugs, feature requests, and improvements
67 lines • 1.51 kB
TypeScript
import sqlite3 from 'sqlite3';
export declare class ContextManager {
private tokenTracker;
private contextEngine;
constructor();
/**
* Manage contexts with various operations
*/
manageContexts(db: sqlite3.Database, args: any): Promise<string>;
/**
* Collect context for a task
*/
private collectContextForTask;
/**
* Get task contexts
*/
private getTaskContexts;
/**
* Check context freshness
*/
private checkContextFreshness;
/**
* Add manual context
*/
private addManualContext;
/**
* Update context
*/
private updateContext;
/**
* Remove context
*/
private removeContext;
/**
* Store contexts in database
*/
private storeContextsInDatabase;
/**
* Get contexts from database
*/
private getContextsFromDatabase;
/**
* Update context in database
*/
private updateContextInDatabase;
/**
* Remove context from database
*/
private removeContextFromDatabase;
/**
* Format context collection result
*/
private formatContextCollectionResult;
/**
* Check if context content has changed since collection
*/
private hasContentChanged;
/**
* Normalize content for comparison (remove extra whitespace, etc.)
*/
private normalizeContent;
/**
* Format contexts for display
*/
private formatContexts;
}
//# sourceMappingURL=context.d.ts.map