feat(cloud): report planner transport status

This commit is contained in:
2026-07-13 23:15:46 +08:00
parent 40efa53411
commit 5b64efab53
15 changed files with 71 additions and 6 deletions
+1
View File
@@ -240,6 +240,7 @@ def create_cloud_router(
host_id=h.host_id,
address=h.address,
last_seen_at=h.last_seen_at.isoformat() if h.last_seen_at else "",
planner_transport=h.planner_transport,
)
for h in pool.list_hosts()
]
@@ -86,6 +86,7 @@ class HostResponse(BaseModel):
host_id: str
address: str | None = None
last_seen_at: str
planner_transport: Literal["direct", "cloud"] = "direct"
class PluginRegistrationRequest(BaseModel):