Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
// SPDX-License-Identifier: FSL-1.1-MIT
// Copyright (c) 2026 Cua AI, Inc.
import { createFallbackSpacesBridge, type SpacesBridge } from "../native/spacesBridge";
/**
* A SpacesBridge for tests: every command rejects or no-ops like the browser
* fallback, then `overrides` supplies what a test actually drives.
*/
export function fakeSpacesBridge(overrides: Partial<SpacesBridge> = {}): SpacesBridge {
return { ...createFallbackSpacesBridge(), ...overrides };
}