Created At: 2026-11-19T04:55:15Z Completed At: 2026-11-19T04:55:16Z Command exited with code 0. Command output: import uuid from datetime import datetime from typing import Any, Optional from pydantic import BaseModel, ConfigDict, Field class BotRegisterRequest(BaseModel): token: str = Field(min_length=20, max_length=120, description="Telegram BotFather API token") name: Optional[str] = Field(default=None, max_length=255, description="Custom display name for bot") default_locale: str = Field(default="en", min_length=2, max_length=10) settings: Optional[dict[str, Any]] = None class BotUpdateRequest(BaseModel): name: Optional[str] = Field(default=None, max_length=255) default_locale: Optional[str] = Field(default=None, min_length=2, max_length=10) settings: Optional[dict[str, Any]] = None class BotWebhookStatus(BaseModel): webhook_url: str is_active: bool class BotResponse(BaseModel): model_config = ConfigDict(from_attributes=True) id: uuid.UUID tenant_id: uuid.UUID name: str username: str status: str default_locale: str webhook_url: Optional[str] = None webhook_active: bool = False total_users: int = 0 created_at: datetime updated_at: datetime class BotDetailResponse(BaseModel): model_config = ConfigDict(from_attributes=True) id: uuid.UUID tenant_id: uuid.UUID name: str username: str status: str default_locale: str webhook_url: Optional[str] = None webhook_active: bool = False settings: dict[str, Any] = {} total_users: int = 0 created_at: datetime updated_at: datetime class BotUserResponse(BaseModel): model_config = ConfigDict(from_attributes=True) id: uuid.UUID bot_id: uuid.UUID telegram_user_id: int username: Optional[str] = None first_name: Optional[str] = None last_name: Optional[str] = None preferred_locale: str is_blocked: bool created_at: datetime class ToggleModuleRequest(BaseModel): is_enabled: bool class UpdateModuleConfigRequest(BaseModel): config: dict[str, Any] class InstallModuleRequest(BaseModel): config: Optional[dict[str, Any]] = None class VerifyAdminRequest(BaseModel): chat_id: str = Field(description="Telegram Channel or Supergroup username or ID (e.g. @mychannel or -100...)") module_id: Optional[str] = Field(default="force_join", description="Target module being configured") test_topic: Optional[bool] = Field(default=False, description="Whether to test-create a forum topic thread") class VerifyModuleRequest(BaseModel): config: Optional[dict[str, Any]] = Field(default=None, description="Module configuration to verify") chat_id: Optional[str] = Field(default=None, description="Optional override chat/channel ID") test_topic: Optional[bool] = Field(default=False, description="Whether to test live topic thread creation on Telegram") class BotModuleResponse(BaseModel): id: str name: str category: str icon: str version: str description: str permissions: list[str] dependencies: list[str] config_schema: dict[str, Any] default_config: dict[str, Any] is_installed: bool is_enabled: bool config: dict[str, Any]