MCPcopy Create free account
hub / github.com/HELPMEEADICE/doge-code / requireComputerUseInput

Function requireComputerUseInput

src/utils/computerUse/inputLoader.ts:22–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20 * calls these inside drainRunLoop().
21 */
22export function requireComputerUseInput(): ComputerUseInputAPI {
23 if (cached) return cached
24 // eslint-disable-next-line @typescript-eslint/no-require-imports
25 const input = require('@ant/computer-use-input') as ComputerUseInput
26 if (!input.isSupported) {
27 throw new Error('@ant/computer-use-input is not supported on this platform')
28 }
29 return (cached = input)
30}

Callers 9

getInputFunction · 0.85
moveMouseFunction · 0.85
clickFunction · 0.85
typeTextFunction · 0.85
keyFunction · 0.85
keysFunction · 0.85
scrollFunction · 0.85
mouseLocationFunction · 0.85
getFrontmostAppFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected