andy-stack_vaultkeeper-ai/Helpers
Andrew Beal 28772e7d0e feat: implement centralized abort controller with enhanced cancellation UX
Introduce a new AbortService to centralize cancellation logic across all async operations, replacing scattered AbortSignal parameters with a unified singleton service. This improves maintainability and provides consistent cancellation behavior throughout the application.

Key changes:
- Add AbortService for centralized abort signal management with automatic cleanup
- Refactor all AI providers (Claude, Gemini, OpenAI) to use AbortService instead of passing AbortSignal parameters
- Update streaming operations to use centralized abort handling
- Add CancellationIndicator component to show visual feedback during operation cancellation
- Rename ChatAreaThought to ThoughtIndicator for better semantic clarity
- Add Environment enum for consistent environment detection
- Enhance ChatService lifecycle with proper cancellation state management
- Remove scattered abort-related UI selectors and error messages in favor of dedicated indicator
- Add safeContinue() factory method to ConversationContent for internal continuations
- Update all tests to reflect new abort handling architecture

This change simplifies the API surface by removing AbortSignal parameters from method signatures while improving the user experience with clearer cancellation feedback.
2025-12-04 23:04:20 +00:00
..
Exception.ts feat: implement centralized abort controller with enhanced cancellation UX 2025-12-04 23:04:20 +00:00
FileTagMapping.ts feat: add VaultCacheService and vault monitoring capabilities 2025-10-25 12:46:07 +01:00
Helpers.ts fix: improve chat service lifecycle and diff handling reliability 2025-11-27 16:47:21 +00:00
SearchTypes.ts feature: implement fuzzysearch service 2025-10-29 19:35:19 +00:00
Semaphore.ts refactor: standardize error handling with Exception helper and improve return types 2025-11-17 19:02:15 +00:00
StringTools.ts refactor: consolidate string utilities into StringTools class 2025-11-12 21:12:36 +00:00
WikiLinks.ts refactor: standardize error handling with Exception helper and improve return types 2025-11-17 19:02:15 +00:00