mobileboost-cli 0.2.2 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/assets/index-wAXRnbNo.js +520 -0
  3. package/.output/public/assets/{main-BbUrvuLL.js → main-CeoNGsUp.js} +1 -1
  4. package/.output/server/chunks/_/{_tanstack-start-manifest_v-CCgm5JAL.mjs → _tanstack-start-manifest_v-DA-9ufHl.mjs} +1 -1
  5. package/.output/server/chunks/_/actions-CszEX8Wv.mjs +1 -0
  6. package/.output/server/chunks/_/{agent-CUyzfc4e.mjs → agent-CYjOntOE.mjs} +1 -1
  7. package/.output/server/chunks/_/ai-client-B037VO11.mjs +1 -0
  8. package/.output/server/chunks/_/{appium-CMKpXGap.mjs → appium-CB7q1F7-.mjs} +1 -1
  9. package/.output/server/chunks/_/appium-client-NLCErNZG.mjs +1 -0
  10. package/.output/server/chunks/_/{client-CM5hUS2d.mjs → client-B14sS6WP.mjs} +1 -1
  11. package/.output/server/chunks/_/{describe-BfbyupMJ.mjs → describe-BN5m4F-F.mjs} +1 -1
  12. package/.output/server/chunks/_/device-CFbX4Slf.mjs +1 -0
  13. package/.output/server/chunks/_/files-D27pPBly.mjs +1 -0
  14. package/.output/server/chunks/_/hierarchy-RZUZWmuO.mjs +1 -0
  15. package/.output/server/chunks/_/hierarchy-helpers-CR7kKS69.mjs +3 -0
  16. package/.output/server/chunks/_/index-BwPMhGOi.mjs +502 -0
  17. package/.output/server/chunks/_/{router-DYcFhNaL.mjs → router-BkeWjFXo.mjs} +1 -1
  18. package/.output/server/chunks/_/{screenshot-Csbvymnl.mjs → screenshot-BR2gF_yP.mjs} +1 -1
  19. package/.output/server/chunks/_/server.mjs +3 -3
  20. package/.output/server/chunks/_/step-BuczzV1F.mjs +1 -0
  21. package/.output/server/chunks/_/stores-k5WcYw_y.mjs +1 -0
  22. package/.output/server/index.mjs +4 -4
  23. package/.output/server/package.json +2 -0
  24. package/dist/cli.js +1 -1
  25. package/dist/cli.js.map +1 -1
  26. package/package.json +2 -1
  27. package/.output/public/assets/index-D7JF4301.js +0 -492
  28. package/.output/server/chunks/_/actions-CvabQsJo.mjs +0 -1
  29. package/.output/server/chunks/_/ai-client-waGeh-P8.mjs +0 -1
  30. package/.output/server/chunks/_/appium-client-DiTTrl8p.mjs +0 -1
  31. package/.output/server/chunks/_/device-CWFVkH1s.mjs +0 -1
  32. package/.output/server/chunks/_/files-CB9WpUb0.mjs +0 -1
  33. package/.output/server/chunks/_/hierarchy-DfPTUh7F.mjs +0 -1
  34. package/.output/server/chunks/_/hierarchy-helpers-BaGN7WBn.mjs +0 -3
  35. package/.output/server/chunks/_/index-BZ9EyYaV.mjs +0 -474
  36. package/.output/server/chunks/_/step-D2WQqd4J.mjs +0 -1
  37. package/.output/server/chunks/_/stores-2rWNmXVj.mjs +0 -1
@@ -1 +0,0 @@
1
- import{z as e}from"zod";const t=e.object({x:e.number(),y:e.number(),screenWidth:e.number().optional(),screenHeight:e.number().optional()}),n=t.extend({elementId:e.string().optional()}),o=e.object({text:e.string()}),i=e.object({direction:e.enum(["up","down"])}),r=e.object({direction:e.enum(["left","right"]),x:e.number().optional(),y:e.number().optional(),duration:e.number().optional().default(500)}),m=e.object({direction:e.enum(["in","out"])}),l=e.object({text:e.string().optional(),elementId:e.string().optional(),direction:e.enum(["up","down"]),maxScrolls:e.number().optional()}),u=e.object({url:e.string()}),c=e.object({elementId:e.string()}),p=e.object({mode:e.enum(["adb","appium"])});e.union([n,o,i,r,m,l,u,c,p]);e.enum(["tap","type","scroll","swipe","zoom","scrollUntil","deepLink","elementId"]);export{m as a,i as c,r as i,l as m,t as n,n as o,u as r,c as s,o as t};
@@ -1 +0,0 @@
1
- import e from"zod";import{Store as x}from"@tanstack/react-store";import{o as i,t as y,c as f,i as h,a as v,m as I,r as D}from"./step-D2WQqd4J.mjs";const n=e.object({id:e.number(),descriptionText:e.string().optional(),optional:e.boolean().optional(),status:e.string().optional(),statusColor:e.string().optional(),statusDiv:e.custom().optional(),element:e.custom().optional(),originRef:e.object({refId:e.number(),path:e.string(),descriptionText:e.string().optional(),optional:e.boolean().optional(),overrides:e.record(e.string(),e.string()).optional(),stepNumber:e.number().optional()}).optional()}),r=n.extend({cropBase64:e.string().optional()}),s=r.extend(i.partial().shape).extend({type:e.literal("tap"),elementId:e.string().optional(),timeout:e.number().optional(),useLlmOnly:e.boolean().optional()}),a=r.extend(i.partial().shape).extend({type:e.literal("assert"),cropBase64:e.string().optional(),elementId:e.string().optional(),timeout:e.number().optional(),useLlmOnly:e.boolean().optional()}),l=n.extend(y.shape).extend({type:e.literal("type")}),p=n.extend(f.shape).extend({type:e.literal("scroll")}),u=n.extend(v.shape).extend({type:e.literal("zoom")}),d=n.extend(h.shape).extend({type:e.literal("swipe")}),c=n.extend(I.shape).extend({type:e.literal("scrollUntil")}),m=n.extend(D.shape).extend({type:e.literal("deeplink")}),g=n.extend({type:e.literal("ai"),instruction:e.string()}),b=n.extend({type:e.literal("fileRef"),path:e.string(),overrides:e.record(e.string(),e.string()).optional()}),L={statusDiv:!0,element:!0,status:!0,statusColor:!0,originRef:!0,cropBase64:!0,x:!0,y:!0,screenWidth:!0,screenHeight:!0},t={statusDiv:!0,element:!0,status:!0,statusColor:!0,originRef:!0},o={...t,cropBase64:!0,x:!0,y:!0,screenWidth:!0,screenHeight:!0},R=e.discriminatedUnion("type",[s,a,l,p,u,d,c,m,g,b]),w=e.enum(["tap","assert","type","scroll","swipe","zoom","scrollUntil","deeplink","ai","fileRef"]),S=e.object({name:e.string(),steps:e.array(R),params:e.record(e.string(),e.string())});e.object({isRecording:e.boolean(),enableAnimations:e.boolean(),mode:e.enum(["interact","assert"]),test:S,isPlaying:e.boolean(),isDeviceConnected:e.boolean(),connectionStatus:e.string(),currentStepId:e.number().nullable(),selectedPlatform:e.enum(["android","ios"]).default("android"),selectedDeviceId:e.string().optional(),executionLog:e.array(e.object({stepId:e.number(),stepNumber:e.number(),screenshot:e.string(),cacheHit:e.boolean(),timestamp:e.number()})).default([]),currentScreenshot:e.string().nullable().default(null)});const j=e.discriminatedUnion("type",[s.omit(o),a.omit(o),l.omit(t),p.omit(t),d.omit(t),u.omit(t),c.omit(t),m.omit(t),g.omit(t),b.omit(t)]),P=e.object({name:e.string(),steps:e.array(j),params:e.record(e.string(),e.string())}),U=new x({isRecording:!1,enableAnimations:!0,mode:"interact",test:{name:"untitled",steps:[],params:{}},isPlaying:!1,isDeviceConnected:!1,connectionStatus:"Connecting...",currentStepId:null,selectedPlatform:"android",selectedDeviceId:void 0,executionLog:[],currentScreenshot:null});export{w as A,P as B,R as D,U as L,c as S,p as c,g as d,b as h,a as i,l,s as r,m as u,L as w};