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 • 251 B
JavaScript
import{H as e}from"./sdk-io.js";import"./retry.js";function t({timeoutMs:t,signal:n}){let r=n?{signal:n}:{};if(t===void 0)return()=>r;let i=e.fromTimeoutMs(t);return()=>({timeoutMs:Math.max(1,i.remainingMs()),...r})}export{t as remainingLookupBudget};