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
fix(cyclops): use wasm-compatible monotonic clock (#7107)
r33drichards28604456d661
diff --git a/libs/fleet/Cargo.lock b/libs/fleet/Cargo.lockindex 6fb5ffdbde..352012ee84 100644--- a/libs/fleet/Cargo.lock+++ b/libs/fleet/Cargo.lock@@ -284,6 +284,7 @@ dependencies = ["wasm-bindgen","wasm-bindgen-futures","web-sys",+ "web-time",][[package]]diff --git a/libs/fleet/sdk/Cargo.toml b/libs/fleet/sdk/Cargo.tomlindex d114382999..f01432d678 100644--- a/libs/fleet/sdk/Cargo.toml+++ b/libs/fleet/sdk/Cargo.toml@@ -35,6 +35,7 @@ gloo-timers = { version = "0.3", features = ["futures"] }js-sys = "0.3"wasm-bindgen = "0.2"wasm-bindgen-futures = "0.4"+web-time = "1.1.0"web-sys = { version = "0.3", features = ["Headers", "Request", "RequestInit", "Response", "Window"] }[dev-dependencies]diff --git a/libs/fleet/sdk/src/transport.rs b/libs/fleet/sdk/src/transport.rsindex 4d7dcb3175..b7cadc88a2 100644--- a/libs/fleet/sdk/src/transport.rs+++ b/libs/fleet/sdk/src/transport.rs@@ -6,10 +6,11 @@ use base64::{Engine, engine::general_purpose::STANDARD};use serde::Deserialize;#[cfg(not(target_arch = "wasm32"))]use std::sync::OnceLock;-use std::{- sync::Arc,- time::{Duration, Instant},-};+#[cfg(not(target_arch = "wasm32"))]+use std::time::Instant;+use std::{sync::Arc, time::Duration};+#[cfg(target_arch = "wasm32")]+use web_time::Instant;use tokio::sync::Mutex;use url::Url;