UNPKG

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 • 2.39 kB
import{r as e}from"./rolldown-runtime.js";var t=e({backLinux:()=>c,captureLinuxSurfaceSnapshot:()=>C,closeLinuxApp:()=>s,doubleClickLinux:()=>f,fillLinux:()=>p,focusLinux:()=>m,homeLinux:()=>l,inventoryModule:()=>a,longPressLinux:()=>h,middleClickLinux:()=>v,openLinuxApp:()=>o,pressLinux:()=>g,readLinuxClipboard:()=>u,readLinuxTextAtPoint:()=>w,rightClickLinux:()=>_,runtimeModule:()=>i,screenshotLinux:()=>S,scrollLinux:()=>y,swipeLinux:()=>b,typeLinux:()=>x,withLinuxToolProvider:()=>T,writeLinuxClipboard:()=>d});function n(e){return(async(...t)=>await(await e())(...t))}const r=Object.freeze({family:`linux`}),i=Object.freeze({...r,loadRuntime:async e=>{let{createLinuxPlatformRuntime:t}=await import(`./runtime10.js`);return t(e)}}),a=Object.freeze({...r,loadInventory:async e=>{let{createLinuxInventory:t}=await import(`./inventory4.js`);return t(e)}}),o=n(async()=>(await import(`./app-lifecycle3.js`)).openLinuxApp),s=n(async()=>(await import(`./app-lifecycle3.js`)).closeLinuxApp),c=n(async()=>(await import(`./app-lifecycle3.js`)).backLinux),l=n(async()=>(await import(`./app-lifecycle3.js`)).homeLinux),u=n(async()=>(await import(`./clipboard.js`)).readLinuxClipboard),d=n(async()=>(await import(`./clipboard.js`)).writeLinuxClipboard),f=n(async()=>(await import(`./input-actions2.js`)).doubleClickLinux),p=n(async()=>(await import(`./input-actions2.js`)).fillLinux),m=n(async()=>(await import(`./input-actions2.js`)).focusLinux),h=n(async()=>(await import(`./input-actions2.js`)).longPressLinux),g=n(async()=>(await import(`./input-actions2.js`)).pressLinux),_=n(async()=>(await import(`./input-actions2.js`)).rightClickLinux),v=n(async()=>(await import(`./input-actions2.js`)).middleClickLinux),y=n(async()=>(await import(`./input-actions2.js`)).scrollLinux),b=n(async()=>(await import(`./input-actions2.js`)).swipeLinux),x=n(async()=>(await import(`./input-actions2.js`)).typeLinux),S=n(async()=>(await import(`./screenshot3.js`)).screenshotLinux),C=n(async()=>(await import(`./surface-snapshot2.js`)).captureLinuxSurfaceSnapshot),w=n(async()=>(await import(`./snapshot4.js`)).readLinuxTextAtPoint);async function T(e,t){let{withLinuxToolProvider:n}=await import(`./tool-provider2.js`).then(e=>e.a);return await n(e,t)}export{d as S,S as _,p as a,b,a as c,o as d,g as f,i as g,_ as h,f as i,h as l,w as m,C as n,m as o,u as p,s as r,l as s,c as t,v as u,y as v,x,t as y};