agent-device 0.16.2 → 0.16.5

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 (32) hide show
  1. package/android-multitouch-helper/dist/{agent-device-android-multitouch-helper-0.16.2.apk → agent-device-android-multitouch-helper-0.16.5.apk} +0 -0
  2. package/android-multitouch-helper/dist/agent-device-android-multitouch-helper-0.16.5.apk.sha256 +1 -0
  3. package/android-multitouch-helper/dist/{agent-device-android-multitouch-helper-0.16.2.manifest.json → agent-device-android-multitouch-helper-0.16.5.manifest.json} +4 -4
  4. package/android-snapshot-helper/dist/agent-device-android-snapshot-helper-0.16.5.apk +0 -0
  5. package/android-snapshot-helper/dist/agent-device-android-snapshot-helper-0.16.5.apk.sha256 +1 -0
  6. package/android-snapshot-helper/dist/{agent-device-android-snapshot-helper-0.16.2.manifest.json → agent-device-android-snapshot-helper-0.16.5.manifest.json} +6 -6
  7. package/dist/src/1393.js +1 -0
  8. package/dist/src/1769.js +7 -7
  9. package/dist/src/221.js +6 -4
  10. package/dist/src/6277.js +2 -2
  11. package/dist/src/7519.js +1 -1
  12. package/dist/src/7599.js +3 -0
  13. package/dist/src/9542.js +1 -1
  14. package/dist/src/9639.js +1 -1
  15. package/dist/src/android-adb.js +1 -1
  16. package/dist/src/android-snapshot-helper.d.ts +10 -1
  17. package/dist/src/android-snapshot-helper.js +1 -1
  18. package/dist/src/cli.js +15 -13
  19. package/dist/src/index.d.ts +2 -0
  20. package/dist/src/internal/daemon.js +51 -51
  21. package/ios-runner/AgentDeviceRunner/AgentDeviceRunner/Assets.xcassets/AppIcon.appiconset/logo.jpg +0 -0
  22. package/ios-runner/AgentDeviceRunner/AgentDeviceRunner/Assets.xcassets/Logo.imageset/logo.jpg +0 -0
  23. package/ios-runner/AgentDeviceRunner/AgentDeviceRunner.xcodeproj/project.pbxproj +0 -4
  24. package/package.json +1 -1
  25. package/server.json +2 -2
  26. package/android-multitouch-helper/dist/agent-device-android-multitouch-helper-0.16.2.apk.sha256 +0 -1
  27. package/android-snapshot-helper/dist/agent-device-android-snapshot-helper-0.16.2.apk +0 -0
  28. package/android-snapshot-helper/dist/agent-device-android-snapshot-helper-0.16.2.apk.sha256 +0 -1
  29. package/dist/src/3622.js +0 -3
  30. package/ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/Assets.xcassets/AppIcon.appiconset/Contents.json +0 -14
  31. package/ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/Assets.xcassets/AppIcon.appiconset/logo-tinted.jpg +0 -0
  32. package/ios-runner/AgentDeviceRunner/AgentDeviceRunnerUITests/Assets.xcassets/Contents.json +0 -6
@@ -402,8 +402,6 @@
402
402
  20EA2EEE2F2CFC7C001CF0EF /* Debug */ = {
403
403
  isa = XCBuildConfiguration;
404
404
  buildSettings = {
405
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
406
- ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = NO;
407
405
  "CODE_SIGN_ENTITLEMENTS[sdk=macosx*]" = AgentDeviceRunnerUITests/AgentDeviceRunnerUITests.entitlements;
408
406
  CODE_SIGN_STYLE = Automatic;
409
407
  CURRENT_PROJECT_VERSION = 1;
@@ -430,8 +428,6 @@
430
428
  20EA2EEF2F2CFC7C001CF0EF /* Release */ = {
431
429
  isa = XCBuildConfiguration;
432
430
  buildSettings = {
433
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
434
- ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = NO;
435
431
  "CODE_SIGN_ENTITLEMENTS[sdk=macosx*]" = AgentDeviceRunnerUITests/AgentDeviceRunnerUITests.entitlements;
436
432
  CODE_SIGN_STYLE = Automatic;
437
433
  CURRENT_PROJECT_VERSION = 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-device",
3
- "version": "0.16.2",
3
+ "version": "0.16.5",
4
4
  "description": "Agent-native CLI for AI mobile testing and app automation across iOS, Android, tvOS, Android TV, macOS, and Linux.",
5
5
  "mcpName": "io.github.callstackincubator/agent-device",
6
6
  "license": "MIT",
package/server.json CHANGED
@@ -7,12 +7,12 @@
7
7
  "url": "https://github.com/callstackincubator/agent-device",
8
8
  "source": "github"
9
9
  },
10
- "version": "0.16.2",
10
+ "version": "0.16.5",
11
11
  "packages": [
12
12
  {
13
13
  "registryType": "npm",
14
14
  "identifier": "agent-device",
15
- "version": "0.16.2",
15
+ "version": "0.16.5",
16
16
  "transport": {
17
17
  "type": "stdio"
18
18
  }
@@ -1 +0,0 @@
1
- cead74caf53852ac79126f54f30a1769a5c938544c5871c3961a28effc7e1861 agent-device-android-multitouch-helper-0.16.2.apk
@@ -1 +0,0 @@
1
- f353f255a4e15c64d2534bf78edc834ce9bc52a6a74ae6c46d95f43d644426a8 agent-device-android-snapshot-helper-0.16.2.apk
package/dist/src/3622.js DELETED
@@ -1,3 +0,0 @@
1
- import{AsyncLocalStorage as e}from"node:async_hooks";import t from"node:crypto";import n from"node:fs";import r from"node:os";import o from"node:path";import{redactDiagnosticData as i,AppError as s}from"./9152.js";let a=new e;function d(){return t.randomBytes(8).toString("hex")}async function c(e,n){let r={...e,diagnosticId:`${Date.now().toString(36)}-${t.randomBytes(4).toString("hex")}`,events:[]};return await a.run(r,n)}function l(){let e=a.getStore();return e?{diagnosticId:e.diagnosticId,requestId:e.requestId,session:e.session,command:e.command,debug:e.debug}:{}}function u(e){let t=a.getStore();if(!t)return;let r={ts:new Date().toISOString(),level:e.level??"info",phase:e.phase,session:t.session,requestId:t.requestId,command:t.command,durationMs:e.durationMs,data:e.data?i(e.data):void 0};if(t.events.push(r),!t.debug)return;let o=`[agent-device][diag] ${JSON.stringify(r)}
2
- `;try{t.logPath&&n.appendFile(t.logPath,o,()=>{}),t.traceLogPath&&n.appendFile(t.traceLogPath,o,()=>{}),t.logPath||t.traceLogPath||process.stderr.write(o)}catch{}}async function g(e,t,n){let r=Date.now();try{let o=await t();return u({level:"info",phase:e,durationMs:Date.now()-r,data:n}),o}catch(t){throw u({level:"error",phase:e,durationMs:Date.now()-r,data:{...n??{},error:t instanceof Error?t.message:String(t)}}),t}}function m(e={}){let t=a.getStore();if(!t||!e.force&&!t.debug||0===t.events.length)return null;try{let e=(t.session??"default").replace(/[^a-zA-Z0-9._-]/g,"_"),s=new Date().toISOString().slice(0,10),a=o.join(r.homedir(),".agent-device","logs",e,s);n.mkdirSync(a,{recursive:!0});let d=new Date().toISOString().replace(/[:.]/g,"-"),c=o.join(a,`${d}-${t.diagnosticId}.ndjson`),l=t.events.map(e=>JSON.stringify(i(e)));return n.writeFileSync(c,`${l.join("\n")}
3
- `),t.events=[],c}catch{return null}}let p="user-installed";function f(e){return e??p}function h(e){if(void 0===e)throw new s("INVALID_ARGS","appsFilter must be resolved before executing the apps command");return e}export{p as DEFAULT_APPS_FILTER,h as assertResolvedAppsFilter,d as createRequestId,u as emitDiagnostic,m as flushDiagnosticsToSessionFile,l as getDiagnosticsMeta,f as resolveAppsFilter,g as withDiagnosticTimer,c as withDiagnosticsScope};
@@ -1,14 +0,0 @@
1
- {
2
- "images" : [
3
- {
4
- "filename" : "logo-tinted.jpg",
5
- "idiom" : "universal",
6
- "platform" : "ios",
7
- "size" : "1024x1024"
8
- }
9
- ],
10
- "info" : {
11
- "author" : "xcode",
12
- "version" : 1
13
- }
14
- }
@@ -1,6 +0,0 @@
1
- {
2
- "info" : {
3
- "author" : "xcode",
4
- "version" : 1
5
- }
6
- }