feat(asset): add inventory and HWiNFO reports

Requires asset_db initialized with scripts/sql/asset_db_init.sql and ASSET_DB_URL configured before enabling storage.
This commit is contained in:
2026-10-06 02:09:10 +09:00
parent 75c0370e54
commit bd0c47e6fc
25 changed files with 4185 additions and 3 deletions
+9
View File
@@ -0,0 +1,9 @@
"""Company asset management; PostgreSQL only, never creates databases at startup."""
from .router import router
def build_asset_store(*, dsn: str | None):
if not dsn:
return None
from .db import AssetStore
return AssetStore(dsn)