-
feat(cua-sandbox): migrate to the native fleet CRDs (#2840)
发布于
2026-08-04 15:44:31 +00:00 fleet_sdk now speaks the osgym.cua.ai CRDs directly (trycua/cloud#6316):
PoolSpec and PoolTemplate are gone. A warm pool no longer carries a VM
shape — it holds replicas plus a sandboxTemplateRef — and the VM shape
moved into OSGymSandboxTemplate.spec.vmTemplate, with the service list
inside it.Re-export the new schema types, add a Template wrapper mirroring Pool,
and reconcile a template before the pool it references. Pool status is
read from readyReplicas rather than the removed availableCount.Drop the stale _FleetClient.get_pool listing test: get_pool has looked
resources up by name since the SDK stopped listing pools, and the test
in test_pool.py already covers the current behaviour.Pin cua-fleet 0.0.9 in pyproject/uv.lock and the packaging test.
Co-authored-by: Claude Fable 5 noreply@anthropic.com
下载附件