MCPcopy Index your code
hub / github.com/codeaashu/claude-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}
31

Callers 11

keyFunction · 0.85
holdKeyFunction · 0.85
typeFunction · 0.85
moveMouseFunction · 0.85
clickFunction · 0.85
mouseDownFunction · 0.85
mouseUpFunction · 0.85
getCursorPositionFunction · 0.85
dragFunction · 0.85
scrollFunction · 0.85
getFrontmostAppFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected