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 • 913 B
JavaScript
import{t as e}from"./string-enum.js";const t=[`frames`,`memory`,`cpu`,`trace`],n=`metrics`,r=[`sample`,`snapshot`,`start`,`stop`,`report`],i=[`profile`],a=[`xctrace`,`simpleperf`,`perfetto`,`android-hprof`,`memgraph`],o=[`android-hprof`,`memgraph`],s=e(t),c=e(r),l=e(i),u=e(a),d=e(o),f=`perf area must be frames, memory, cpu, or trace`,p=`perf action must be sample, snapshot, start, stop, or report`,m=`Aggregate perf was removed. Use perf frames, perf memory sample, perf cpu profile start|stop|report, or perf trace start|stop.`,h=`perf cpu requires profile`,g=`perf --kind must be xctrace, simpleperf, perfetto, android-hprof, or memgraph`,_=s.is,v=c.is,y=l.is,b=u.is,x=d.is;function S(e){if(e==null)return!0;if(typeof e!=`string`)return!1;let t=e.toLowerCase();return t===`metrics`||v(t)}export{f as a,a as c,v as d,_ as f,S as g,y as h,m as i,h as l,x as m,r as n,t as o,b as p,n as r,g as s,p as t,i as u};