Spaces:
Sleeping
Sleeping
File size: 1,243 Bytes
494c89b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
"""
Kiro Batch Login - Autoreg Module
=================================
Модуль для автоматизации работы с аккаунтами Kiro.
Структура:
core/ - Базовые компоненты (config, paths, exceptions)
services/ - Бизнес-логика (tokens, quota, machine_id, kiro)
registration/ - Авторегистрация аккаунтов
_legacy/ - Устаревший код (для справки)
Использование:
# CLI
python cli.py status
python cli.py tokens list
python cli.py quota
python cli.py machine reset
# Или через kiro_switch.py
python kiro_switch.py switch <account>
python kiro_switch.py quota
"""
__version__ = '2.0.0'
# Lazy imports
def get_token_service():
from .services.token_service import TokenService
return TokenService()
def get_quota_service():
from .services.quota_service import QuotaService
return QuotaService()
def get_machine_id_service():
from .services.machine_id_service import MachineIdService
return MachineIdService()
def get_kiro_service():
from .services.kiro_service import KiroService
return KiroService()
|