Files
orca/src/shared/environment-doctor-runtime.ts
T
Neil 929d53b5d6 feat(vm-recipes): build checklist and failure card for VM creates (#40152)
After a recipe provisions a VM, run the environment doctor on the VM's own
server (new environment.doctor RPC) before creating the workspace. The VM
create sheet shows Provision VM, Check environment and Create workspace; a
failed step gets Fix with agent, Retry, Edit recipe, and (for checks) Open
anyway, which keeps the VM. Older VM servers skip the checks; dismissing
aborts a running check and destroys the VM as before.
2026-11-09 00:59:46 -08:00

5 lines
336 B
TypeScript

// Zod-free so capability lists that reach the mobile web bundle can import it.
export const ENVIRONMENT_DOCTOR_METHOD = 'environment.doctor' as const
// Hosts that run the environment doctor on their own checkout; older hosts skip the build checks.
export const ENVIRONMENT_DOCTOR_RUNTIME_CAPABILITY = 'environment.doctor.v1' as const