fix: restore listAugmentations() functionality and add metadata support
- Fix listAugmentations() to return actual augmentation data instead of empty array - Add category and description metadata to BaseAugmentation class - Add getInfo() method to AugmentationRegistry for detailed augmentation listing - Update augmentation classes with proper categorization (internal/core/premium) - Enhance augmentation discovery and management capabilities This fixes the broken augmentation listing API and provides better visibility into installed augmentations with their status and metadata.
This commit is contained in:
parent
55cf51b371
commit
8eed9da831
7 changed files with 59 additions and 6 deletions
|
|
@ -35,6 +35,10 @@ export class CacheAugmentation extends BaseAugmentation {
|
|||
operations = ['search', 'add', 'delete', 'clear', 'all'] as ('search' | 'add' | 'delete' | 'clear' | 'all')[]
|
||||
readonly priority = 50 // Mid-priority, runs after data operations
|
||||
|
||||
// Augmentation metadata
|
||||
readonly category = 'core' as const
|
||||
readonly description = 'Transparent search result caching with automatic invalidation'
|
||||
|
||||
private searchCache: SearchCache<GraphNoun> | null = null
|
||||
private config: CacheConfig
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue