- Fix text selection menu not showing: wire contentRef via inputRef on multiline TextField - Fix blog title not truncating: add min-w-0 for flex item overflow - Fix outline generation 500: escape curly braces in f-string prompt template - Fix content generation 'NoneType not callable': replace SessionLocal() with get_session_for_user(), add db param to MediumBlogGenerator, fix signature mismatch in database_task_manager - Fix writing assistant suggest 500: add auth + user_id to API endpoint and service, replace sync requests with httpx.AsyncClient - Fix hallucination detector 404: explicitly include router in main.py and app.py - Fix missing error_data in task failure responses - Hide CopilotKit web inspector button - Remove hardcoded fallback suggestions from SmartTypingAssist - Fix stale closure refs in SmartTypingAssist handleTypingChange - Add two-column editor layout, stats bar, section hover menu - Various subscription, billing, and research module improvements
51 lines
1.3 KiB
Python
51 lines
1.3 KiB
Python
"""
|
|
ALwrity Utilities Package
|
|
Modular utilities for ALwrity backend startup and configuration.
|
|
"""
|
|
|
|
import os
|
|
|
|
# Check feature mode early to skip heavy imports
|
|
_is_full_mode = os.getenv("ALWRITY_ENABLED_FEATURES", "").strip().lower() in ("", "all")
|
|
|
|
from .dependency_manager import DependencyManager
|
|
from .environment_setup import EnvironmentSetup
|
|
from .database_setup import DatabaseSetup
|
|
from .production_optimizer import ProductionOptimizer
|
|
from .health_checker import HealthChecker
|
|
from .rate_limiter import RateLimiter
|
|
from .frontend_serving import FrontendServing
|
|
from .router_manager import RouterManager
|
|
from .feature_runtime import (
|
|
get_active_profiles,
|
|
get_enabled_groups,
|
|
get_enabled_optional_services,
|
|
get_enabled_routers,
|
|
get_enabled_startup_hooks,
|
|
is_enabled,
|
|
)
|
|
|
|
# Lazy load OnboardingManager - it triggers heavy imports (aiohttp, etc.)
|
|
if _is_full_mode:
|
|
from .onboarding_manager import OnboardingManager
|
|
else:
|
|
OnboardingManager = None
|
|
|
|
__all__ = [
|
|
'DependencyManager',
|
|
'EnvironmentSetup',
|
|
'DatabaseSetup',
|
|
'ProductionOptimizer',
|
|
'HealthChecker',
|
|
'RateLimiter',
|
|
'FrontendServing',
|
|
'RouterManager',
|
|
'OnboardingManager',
|
|
'get_active_profiles',
|
|
'get_enabled_groups',
|
|
'get_enabled_optional_services',
|
|
'get_enabled_routers',
|
|
'get_enabled_startup_hooks',
|
|
'is_enabled'
|
|
]
|