SDK catalog / Computer Use

Computer Use

preview 0.3.0-alpha.1

Preview documentation for @workforce-sdk/computer-use@0.3.0-alpha.1. Existing legacy downloads may use a different API; this page does not announce a new release.

import { createComputerUse } from '@workforce-sdk/computer-use'

const client = createComputerUse(process.argv[2] ?? './computer-use.yaml', { resolveSecret: reference => process.env[reference] ?? null })
try {
  console.log(await client.execute({ action: 'status' }))
} finally {
  await client.dispose()
}