Publish curated Unraid-AppOps-Gateway source from 4f99d8f6ea4fb8ae105b83570344b25fa05c31fd

This commit is contained in:
Public Source Publisher committed 2026-10-02 18:50:59 +00:00
1 parent 27a33107a3
commit f50d6e8c2c
14 files changed
+1178 -21

No files matched your search

+12
View File
@@ -26,6 +26,7 @@ import httpx
from ..core.config import settings
from ..core.redaction import redact_message
from ..schemas.deployment import DeploymentPlanV1
from ..schemas.forge_bootstrap import ForgeBootstrapPreflightV1
_REQUEST_ID = re.compile(r"^[0-9a-f]{64}$")
_MAX_DELIVERY_STATUS_BYTES = 512 * 1024
@@ -302,6 +303,17 @@ class DeploymentBrokerClient:
payload={"enrollment": enrollment},
)
def forge_bootstrap_preflight(
self, profile: ForgeBootstrapPreflightV1, *, secret: str
) -> dict[str, Any]:
"""Read fixed Forge source and host prerequisites through bootstrap HMAC."""
return self._request(
"POST",
"/v1/appops/forge/bootstrap/preflight",
secret=secret,
payload={"profile": profile.model_dump(mode="json")},
)
def enrollment_capabilities(self, *, secret: str) -> dict[str, Any]:
"""Read the bootstrap-protected enrollment controller capability."""
return self._request(