UNPKG

@andrebuzeli/advanced-memory-markdown-mcp

Version:

Advanced Memory Bank MCP v3.1.5 - Sistema avançado de gerenciamento de memória com isolamento de projetos por IDE, sincronização sob demanda, backup a cada 30min, apenas arquivos .md principais sincronizados, pasta reasoning temporária com limpeza automát

266 lines 6.79 kB
/** * Advanced Memory Bank MCP Types * Type definitions for the memory management system */ export interface Memory { id: string; content: string; tags: string[]; timestamp: number; importance: number; projectContext: string; } export interface ProjectContext { name: string; path: string; detectedAt: number; detectionMethod?: string; detectionSource?: string; } export interface ProjectInfo { projectName: string; projectPath: string; totalMemories: number; memoryDirectory: string; version: string; } export interface SequentialThought { id: string; content: string; thoughtNumber: number; totalThoughts: number; nextThoughtNeeded: boolean; isRevision?: boolean; revisesThought?: number; timestamp: number; } export interface ThoughtResult { thoughtNumber: number; totalThoughts: number; content: string; status: string; nextThoughtNeeded: boolean; } export interface WorkflowStep { id: string; stepNumber: number; content: string; completed: boolean; timestamp: number; } export interface Workflow { id: string; name: string; steps: WorkflowStep[]; currentStep: number; completed: boolean; createdAt: number; updatedAt: number; } export interface WorkflowResult { success: boolean; message: string; workflow?: Workflow; currentStep?: WorkflowStep | undefined; } export interface CreativeAnalysis { analysisType?: string; depth?: string; wordCount?: number; sentenceCount?: number; summary?: string; insights: string[]; suggestions?: string[]; recommendations?: string[]; patterns?: string[]; themes?: string[]; styleElements?: string[]; } export interface AnalysisConfig { analysisType: 'structure' | 'themes' | 'style' | 'patterns' | 'comprehensive'; depth: 'basic' | 'detailed' | 'comprehensive'; includePatterns?: boolean; includeThemes?: boolean; includeStyle?: boolean; } export interface CreativeInsightConfig { theme: string; creativityLevel: 'conservative' | 'balanced' | 'innovative'; limit: number; includeMemories?: boolean; contextualDepth?: 'shallow' | 'medium' | 'deep'; } export interface MemorySearchOptions { query: string; tags?: string[]; limit?: number; sortBy?: 'timestamp' | 'importance' | 'relevance'; includeContent?: boolean; minImportance?: number; maxAge?: number; } export interface MemoryListOptions { tags?: string[]; limit?: number; sortBy?: 'timestamp' | 'importance'; ascending?: boolean; minImportance?: number; maxAge?: number; } export interface CacheConfig { maxSize: number; ttl: number; enablePersistence?: boolean; persistenceInterval?: number; } export interface ProjectDetectionResult { name: string; path: string; source: 'vscode' | 'package.json' | 'git' | 'directory' | 'fallback'; confidence: number; } export interface MemoryValidation { isValid: boolean; errors: string[]; warnings: string[]; } export interface SystemStats { totalMemories: number; memoriesThisWeek: number; memoriesThisMonth: number; averageImportance: number; mostUsedTags: string[]; projectsManaged: string[]; systemVersion: string; uptime: number; } export type MemoryOperationResult<T = any> = { success: boolean; data?: T; error?: string; timestamp: number; }; export type LogLevel = 'debug' | 'info' | 'warn' | 'error'; export interface LogEntry { level: LogLevel; message: string; timestamp: number; context?: string; data?: any; } /** * Ações disponíveis para topic-memory-manage */ export type TopicMemoryAction = 'create' | 'read' | 'update' | 'delete' | 'search' | 'list'; /** * Ações disponíveis para project-manage */ export type ProjectManageAction = 'info' | 'list' | 'reset' | 'initialize'; /** * Ações disponíveis para analyze-content */ export type AnalyzeContentAction = 'creative' | 'sequential' | 'comprehensive'; /** * Ações disponíveis para memory-backup */ export type MemoryBackupAction = 'export' | 'import' | 'sync' | 'restore'; /** * Ações disponíveis para memory-visualize */ export type MemoryVisualizeAction = 'graph' | 'timeline' | 'connections'; /** * Ações disponíveis para planning-manage */ export type PlanningManageAction = 'create' | 'view' | 'list' | 'update' | 'delete' | 'track' | 'dependency' | 'timeline'; export interface PlanningStep { id: string; title: string; description: string; status: 'pending' | 'in-progress' | 'completed' | 'blocked'; priority: number; estimatedHours?: number; actualHours?: number; assignee?: string; dependencies: string[]; tags: string[]; created: number; modified: number; completed?: number; } export interface PlanningItem { id: string; title: string; description: string; steps: PlanningStep[]; status: 'pending' | 'in-progress' | 'completed' | 'blocked' | 'cancelled'; priority: number; deadline?: number; created: number; modified: number; tags: string[]; relatedTopics: string[]; dependencies: string[]; progress: number; estimatedHours?: number; actualHours?: number; assignee?: string; category?: string; } export interface ProjectPlanning { [planId: string]: PlanningItem; } export interface BackupMetadata { version: string; timestamp: number; description?: string; projectsIncluded: string[]; backupSize: number; backupPath: string; compressed: boolean; } export interface BackupOptions { targetDirectory?: string; compress?: boolean; includeProjects?: string[]; excludeProjects?: string[]; description?: string; } export interface MemoryNode { id: string; title: string; type: 'topic' | 'memory' | 'plan' | 'step'; importance: number; connections: string[]; metadata: { created: number; modified: number; tags: string[]; project: string; }; } export interface MemoryGraph { nodes: MemoryNode[]; edges: Array<{ from: string; to: string; weight: number; type: 'dependency' | 'reference' | 'related'; }>; } export interface UnifiedAnalysisResult { type: 'creative' | 'sequential' | 'comprehensive'; content: string; insights: string[]; patterns?: string[]; themes?: string[]; styleElements?: string[]; steps?: Array<{ number: number; content: string; status: string; }>; recommendations: string[]; relatedTopics: string[]; timestamp: number; } //# sourceMappingURL=index.d.ts.map