feat(cloud-sdk): expose distributed task status

This commit is contained in:
2026-07-12 19:57:03 +08:00
parent 77fadbd9e6
commit 16bcbf5a27
4 changed files with 51 additions and 1 deletions
+3
View File
@@ -107,6 +107,9 @@ def create_cloud_router(
workflow_definition_id=task.workflow_definition_id,
assigned_device_id=task.assigned_device_id,
assigned_host_id=task.assigned_host_id,
attempt_count=task.attempt_count,
lease_expires_at=task.lease_expires_at,
failure_reason=task.failure_reason,
)
@router.get("/devices", response_model=list[DeviceResponse])