UNPKG

bugger-mcp

Version:

MCP Server for managing bugs, feature requests, and improvements

37 lines 1.71 kB
export type BugStatus = 'Open' | 'In Progress' | 'Fixed' | 'Closed' | 'Temporarily Resolved'; export type FeatureStatus = 'Proposed' | 'In Discussion' | 'Approved' | 'In Development' | 'Research Phase' | 'Partially Implemented' | 'Completed' | 'Rejected'; export type ImprovementStatus = 'Proposed' | 'In Discussion' | 'Approved' | 'In Development' | 'Completed (Awaiting Human Verification)' | 'Completed' | 'Rejected'; export type ItemType = 'bug' | 'feature' | 'improvement'; /** * Normalize user input status to valid MCP tool status values */ export declare class StatusNormalizer { private static readonly BUG_STATUS_MAPPINGS; private static readonly FEATURE_STATUS_MAPPINGS; private static readonly IMPROVEMENT_STATUS_MAPPINGS; /** * Normalize a status string for the given item type */ static normalizeStatus(inputStatus: string, itemType: ItemType): string | null; /** * Get all valid status values for an item type */ static getValidStatuses(itemType: ItemType): string[]; /** * Generate a helpful error message with valid status suggestions */ static generateStatusErrorMessage(inputStatus: string, itemType: ItemType): string; /** * Find the closest matching status using simple string similarity */ static suggestClosestStatus(inputStatus: string, itemType: ItemType): string | null; } /** * Helper function for MCP tool usage - attempts to normalize status or provides helpful error */ export declare function validateAndNormalizeStatus(inputStatus: string, itemType: ItemType): { status: string | null; error: string | null; suggestion: string | null; }; //# sourceMappingURL=status-utils.d.ts.map