- Added dashboard.js for frontend functionality, including VM management and system health monitoring. - Created dashboard route to serve the dashboard HTML. - Introduced diagnostics route for token-protected host diagnostics. - Enhanced VMs router with bulk actions, VM log retrieval, and port management. - Updated lifecycle service to read VM log tails with truncation handling. - Integrated static file serving for dashboard assets in the FastAPI server. - Redirect root URL to the dashboard for improved user experience.
27 lines
599 B
TOML
27 lines
599 B
TOML
[build-system]
|
|
requires = ["setuptools>=68"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "uvm-cli"
|
|
version = "0.1.0"
|
|
description = "Local Firecracker microVM command-line manager"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"fastapi>=0.115,<1",
|
|
"pydantic>=2,<3",
|
|
"uvicorn>=0.30,<1",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
test = ["httpx>=0.27,<1"]
|
|
|
|
[project.scripts]
|
|
uvm = "uvm.cli:main"
|
|
|
|
[tool.setuptools]
|
|
packages = ["uvm", "uvm.firecracker", "uvm.routers", "uvm.dashboard"]
|
|
|
|
[tool.setuptools.package-data]
|
|
"uvm.dashboard" = ["static/*.html", "static/css/*.css", "static/js/*.js"]
|