agent-device
Version:
Open source device layer for AI coding agents: a CLI, MCP server, and typed Node.js API to control mobile, web, TV, and desktop apps on devices and simulators, locally or in the cloud.
1 lines • 274 B
JavaScript
function e(e){return async t=>{if(t.action!==`fill`){await e.setText(t.target,t.text);return}t.target&&await e.tap(t.target),await e.pressKey(`a`,[`ctrl`]),await e.pressKey(`del`),t.text.length>0&&await e.setText(void 0,t.text)}}export{e as createLimrunAndroidTextInjector};