feat: add electron app support

This commit is contained in:
Simos Mikelatos
2026-06-15 16:21:05 +00:00
parent a182765e10
commit 861cfecbaa
38 changed files with 3166 additions and 28 deletions

View File

@@ -0,0 +1,22 @@
const IS_PLATFORM = process.env.VITE_IS_PLATFORM === 'true';
export const computerUseService = {
getStatus() {
return {
available: false,
bridgeConnected: false,
runtime: IS_PLATFORM ? 'cloud' : 'local',
requiresDesktopBridge: true,
message: IS_PLATFORM
? 'Cloud Computer Use requires a linked CloudCLI Desktop Agent on the user machine.'
: 'Local Computer Use requires a desktop bridge with screen recording and accessibility permissions.',
capabilities: {
screenshots: false,
mouse: false,
keyboard: false,
clipboard: false,
stopControl: false,
},
};
},
};