Fresh history cut from cynarAI/evoo antigravity-handoff/project-timeline (Voice First + project timeline). Brand docs/titles as evOo; keep @rakazo/* packages as tech debt. Excludes node_modules, caches, secrets, voice blobs.
19 lines
691 B
TypeScript
19 lines
691 B
TypeScript
import { Trans } from "@lingui/react/macro";
|
|
|
|
/** Short path when computers are off (none) or Docker is misconfigured. */
|
|
export function ComputersUnavailableHint({ className }: { className?: string }) {
|
|
return (
|
|
<p data-testid="computers-unavailable-hint" className={className}>
|
|
<Trans>
|
|
Computers are off. Set SANDBOX_PROVIDER=docker with SANDBOX_SUPERVISOR_TOKEN, or set
|
|
SANDBOX_PROVIDER to e2b, daytona, or box with its API key. Recreate the stack after changing
|
|
.env.
|
|
</Trans>
|
|
</p>
|
|
);
|
|
}
|
|
|
|
export function computersAreUnavailable(sandboxProvider: string | null | undefined) {
|
|
return sandboxProvider === "none" || sandboxProvider === "";
|
|
}
|