Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

docs(cua-driver): accept every supported platform in the history event schema (#3223)

Francesco Bonacci745c43bc323d
diff --git a/libs/cua-driver/docs/computer-history-event-v0.schema.json b/libs/cua-driver/docs/computer-history-event-v0.schema.json
index bcbba2566e..c2ead66efd 100644
--- a/libs/cua-driver/docs/computer-history-event-v0.schema.json
+++ b/libs/cua-driver/docs/computer-history-event-v0.schema.json
@@ -45,7 +45,7 @@
"session_id": { "$ref": "#/$defs/opaqueId" },
"action_id": { "$ref": "#/$defs/opaqueId" },
"sequence": { "type": "integer", "minimum": 1 },
- "platform": { "const": "macos" },
+ "platform": { "enum": ["macos", "windows", "linux"] },
"process_model": { "const": "in_daemon" },
"capability": { "type": "string", "minLength": 1, "maxLength": 128 },
"caller_category": { "const": "cua_runtime" },