-
-
Notifications
You must be signed in to change notification settings - Fork 762
Description
Hi CUA team,
I am trying to follow the official guide for using the Computer SDK in TypeScript:
https://cua.ai/docs/cua/guide/get-started/using-computer-sdk
The documentation shows the following example:
import { Computer } from '@trycua/computer';
const computer = new Computer({ useHostComputerServer: true });
await computer.run(); // Connect to the host desktop
However, I encountered several issues:
-
I installed the latest NPM release (
@trycua/computerv0.1.6) and earlier versions (0.1.2, 0.1.3, 0.1.5). In all cases,useHostComputerServeris not recognized as a valid parameter in theComputerconstructor. -
Reviewing the TypeScript source code, I can only find
CloudComputerandCloudComputerConfig. There is no apparent way to construct aComputerinstance that connects to the local host desktop, as described in the documentation. -
The Python SDK works correctly with a local
computer_server, so this seems to be specific to the TypeScript SDK.
My questions:
- Which TypeScript SDK version supports the
useHostComputerServeroption shown in the guide? - If no release exists yet, is there an official way to connect to a local host desktop from TypeScript?
- Is there a recommended channel to get the TypeScript usage examples that match the Python functionality?
Thank you for your guidance!