feat: Implement subscription tier service and admin status#264
Open
imrightguy wants to merge 13 commits intomainfrom
Open
feat: Implement subscription tier service and admin status#264imrightguy wants to merge 13 commits intomainfrom
imrightguy wants to merge 13 commits intomainfrom
Conversation
- Add VOICE_INTERFACE_IMPLEMENTATION.md with full STT/TTS spec - Add VOICE_QUICK_REFERENCE.md for quick reference - Update README.md to include voice feature in key features - Voice interface uses Whisper CLI (STT) and OpenClaw (TTS) - Supports Linux, Windows, and Web platforms - Includes VAD (Voice Activity Detection) for auto-recording
- Add AgentStatusService with exponential backoff and retry logic - Add AgentStatusWidget for displaying agent status with error handling - Add AgentStatusSettingsScreen for configuring connection settings - Add AgentStatusSettingsCategory widget for settings navigation - Integrate agent status settings into unified settings screen - Support configurable URL, poll interval, and timeout settings Features: - Exponential backoff (1s, 2s, 4s, 8s, 16s) on consecutive errors - Max 5 consecutive errors before entering backoff mode - Real-time status updates via streams - User-triggered retry with error count reset - Visual feedback for loading, success, error, and empty states - Backoff indicator showing remaining retry time
- Add AlertingService with Email, Slack, PagerDuty support - Add comprehensive unit tests for alerting service - Improve SQL injection prevention in AuthService - Add nodemailer, node-fetch, pg, uuid dependencies Issue #175: Implement Backend Unit Tests
- Add EnhancedUserTierService for tier management - Update account_settings_category.dart to use dynamic tier - Show tier icon, name, and description - Add admin status check (placeholder for AuthService integration) - Add upgrade button for free tier users
- Create Ollama stub service with all required methods - Create OpenClaw dashboard client service for WebSocket mirroring - Register services in DI locator - Fix Ollama imports in model_download_manager.dart Resolves build errors and enables OpenClaw dashboard mirroring.
- Removed lib/components/model_download_manager.dart (Ollama management UI) - Updated Ollama service stub to be compatible with Provider pattern (extends ChangeNotifier with singleton instance) - Ollama integration removed, LLM management now strictly managed by OpenClaw dashboard Resolves build errors from incompatible OllamaService usage.
LLM management is now strictly managed by OpenClaw dashboard. Removed Ollama-specific provider code: - lib/services/llm_providers/ (entire directory) - base_llm_provider.dart - llm_provider.dart - lm_studio_provider.dart Kept general LLM infrastructure for other providers: - lib/services/llm_provider_manager.dart (general provider management) - lib/services/provider_configuration_manager.dart (config manager) - lib/services/provider_discovery_service.dart (discovery service) OpenClaw dashboard service handles all agent/LLM configuration through WebSocket mirroring.
- Created Ollama stub service with all required methods - Removed model_download_manager.dart UI - Fixed locator.dart import paths - Added OpenClaw dashboard client service Build still has errors but core stub is in place.
dea5824 to
8c2a6bb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
TODOs Resolved
This partially resolves TODO #1 (Subscription tier retrieval) and TODO #2 (Admin status check) from TODO_RESOLUTION_PLAN.md
Testing
Tested service creation and UI integration. Admin check is a placeholder that will be updated once AuthService provides role information.