index.js 335 B

1234567891011121314
  1. const UNAVAILABLE_TEXT = "Computer Use is not available in this build.";
  2. export function createComputerUseRuntime(_options) {
  3. return {
  4. async execute() {
  5. return {
  6. content: [{ type: "text", text: UNAVAILABLE_TEXT }],
  7. isError: true,
  8. };
  9. },
  10. async closeSession() {},
  11. async dispose() {},
  12. };
  13. }