MCPcopy
hub / github.com/codeaashu/claude-code / requireComputerUseSwift

Function requireComputerUseSwift

src/utils/computerUse/swiftLoader.ts:15–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13 * these in drainRunLoop().
14 */
15export function requireComputerUseSwift(): ComputerUseAPI {
16 if (process.platform !== 'darwin') {
17 throw new Error('@ant/computer-use-swift is macOS-only')
18 }
19 // eslint-disable-next-line @typescript-eslint/no-require-imports
20 return (cached ??= require('@ant/computer-use-swift') as ComputerUseAPI)
21}
22
23export type { ComputerUseAPI }
24

Callers 7

retainFunction · 0.85
createCliExecutorFunction · 0.85
unhideComputerUseAppsFunction · 0.85
registerEscHotkeyFunction · 0.85
unregisterEscHotkeyFunction · 0.85
notifyExpectedEscapeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected