A44: отчёт A40 приведён в порядок. Размер контекста замеров указан (-c 32768), штатный режим владельца вынесен отдельно: 196608, 13,6 ток/с, 25 490 МиБ — совпадает с независимым замером ревьюера (25 488). Столбец VRAM пересчитан на потребление процесса через --query-compute-apps. llama-swap описан; ревьюер подтвердил, что он установлен и работает на порту 8090 с десятью моделями. Огрызок nemotron убран. A49: роль skill-doctor добавлена (ролей стало 14), вкладка «Скиллы», обнаружение хранилища Obsidian по каталогу .obsidian с проверкой доступа на запись. Правка ревьюера: gguf перенесён из основных зависимостей в дополнение benchmarks. Он используется только стендом замеров и продуктом не импортируется, а в основных зависимостях заставлял каждую установку хаба тянуть библиотеку разбора GGUF. Тест стенда получил importorskip: без gguf он ронял СБОР всех тестов, а не пропускал себя. 526 passed, 1 skipped, ruff clean, релизный гейт 10/10 и на конфигурации владельца, и на пустой. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
96 lines
2.8 KiB
TOML
96 lines
2.8 KiB
TOML
[build-system]
|
||
requires = ["hatchling"]
|
||
build-backend = "hatchling.build"
|
||
|
||
[project]
|
||
name = "hermes-hub"
|
||
version = "0.1.1"
|
||
description = "Multi-Agent & Multi-Provider Control Hub for Hermes Agent"
|
||
readme = "README.md"
|
||
license = { text = "MIT" }
|
||
requires-python = ">=3.10"
|
||
authors = [
|
||
{ name = "Hermes Development Team" }
|
||
]
|
||
keywords = [
|
||
"hermes",
|
||
"router",
|
||
"multi-provider",
|
||
"antigravity",
|
||
"codex",
|
||
"opencode",
|
||
"agentic-ai",
|
||
"cockpit",
|
||
"hub"
|
||
]
|
||
classifiers = [
|
||
"Development Status :: 4 - Beta",
|
||
"Intended Audience :: Developers",
|
||
"License :: OSI Approved :: MIT License",
|
||
"Programming Language :: Python :: 3",
|
||
"Programming Language :: Python :: 3.10",
|
||
"Programming Language :: Python :: 3.11",
|
||
"Programming Language :: Python :: 3.12",
|
||
]
|
||
dependencies = [
|
||
"pyyaml>=6.0.1",
|
||
"pydantic>=2.6.0",
|
||
"requests>=2.31.0",
|
||
"httpx>=0.27.0",
|
||
"psutil>=5.9.0",
|
||
"fastapi>=0.110.0",
|
||
"uvicorn>=0.28.0",
|
||
]
|
||
|
||
[project.optional-dependencies]
|
||
# gguf нужен только стенду замеров (benchmarks/run_benchmark.py) и не
|
||
# импортируется продуктом. В основных зависимостях он заставлял каждую
|
||
# установку хаба тянуть библиотеку разбора GGUF.
|
||
benchmarks = [
|
||
"gguf>=0.19.0",
|
||
]
|
||
|
||
dev = [
|
||
"pytest>=8.0.0",
|
||
"pytest-asyncio>=0.23.0",
|
||
"pytest-timeout>=2.3.0",
|
||
"anyio>=4.0.0",
|
||
"ruff>=0.3.0",
|
||
]
|
||
|
||
[project.scripts]
|
||
hermes-hub = "antigravity_provider.router.cli_commands:main"
|
||
|
||
[tool.hatch.build.targets.wheel]
|
||
packages = ["src/antigravity_provider"]
|
||
|
||
[tool.pytest.ini_options]
|
||
testpaths = ["tests"]
|
||
pythonpath = ["src"]
|
||
python_files = ["test_*.py"]
|
||
addopts = "-m 'not live and not network and not installer'"
|
||
timeout = 30
|
||
timeout_method = "thread"
|
||
markers = [
|
||
"unit: Unit tests that run isolated in-memory",
|
||
"integration: Component integration tests with isolated filesystem",
|
||
"network: Tests that perform real network calls",
|
||
"installer: Tests verifying installer and packaging",
|
||
"live: End-to-end tests requiring real user credentials",
|
||
]
|
||
|
||
[tool.ruff]
|
||
line-length = 120
|
||
target-version = "py310"
|
||
extend-exclude = ["legacy", ".venv"]
|
||
|
||
[tool.ruff.lint]
|
||
# Bug-catching rules only, so CI gives a real signal today.
|
||
# E9 - syntax / IO errors F63 - comparison & assert mistakes
|
||
# F7 - misplaced statements F82 - undefined names
|
||
# F811 - redefinition of an in-use name
|
||
# Style and modernization rules (UP, I, BLE, S, SIM, RUF) are intentionally
|
||
# left off: the codebase currently has ~1200 such findings, and enabling them
|
||
# wholesale would keep CI red instead of catching defects. Burn them down in
|
||
# a dedicated pass, then extend this list.
|
||
select = ["E9", "F63", "F7", "F82", "F811"]
|