@srmorete/mobile-device-mcp 0.1.0

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 (94) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +117 -0
  3. package/bin/cli.js +2 -0
  4. package/drivers/android/app-debug-androidTest.apk +0 -0
  5. package/drivers/android/app-debug.apk +0 -0
  6. package/drivers/ios/Debug-iphonesimulator/FlyingFox.o +0 -0
  7. package/drivers/ios/Debug-iphonesimulator/FlyingFox.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  8. package/drivers/ios/Debug-iphonesimulator/FlyingFox.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  9. package/drivers/ios/Debug-iphonesimulator/FlyingFox.swiftmodule/arm64-apple-ios-simulator.abi.json +9 -0
  10. package/drivers/ios/Debug-iphonesimulator/FlyingFox.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  11. package/drivers/ios/Debug-iphonesimulator/FlyingFox.swiftmodule/arm64-apple-ios-simulator.swiftmodule +0 -0
  12. package/drivers/ios/Debug-iphonesimulator/FlyingFox.swiftmodule/x86_64-apple-ios-simulator.abi.json +9 -0
  13. package/drivers/ios/Debug-iphonesimulator/FlyingFox.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  14. package/drivers/ios/Debug-iphonesimulator/FlyingFox.swiftmodule/x86_64-apple-ios-simulator.swiftmodule +0 -0
  15. package/drivers/ios/Debug-iphonesimulator/FlyingSocks.o +0 -0
  16. package/drivers/ios/Debug-iphonesimulator/FlyingSocks.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  17. package/drivers/ios/Debug-iphonesimulator/FlyingSocks.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  18. package/drivers/ios/Debug-iphonesimulator/FlyingSocks.swiftmodule/arm64-apple-ios-simulator.abi.json +9 -0
  19. package/drivers/ios/Debug-iphonesimulator/FlyingSocks.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  20. package/drivers/ios/Debug-iphonesimulator/FlyingSocks.swiftmodule/arm64-apple-ios-simulator.swiftmodule +0 -0
  21. package/drivers/ios/Debug-iphonesimulator/FlyingSocks.swiftmodule/x86_64-apple-ios-simulator.abi.json +9 -0
  22. package/drivers/ios/Debug-iphonesimulator/FlyingSocks.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  23. package/drivers/ios/Debug-iphonesimulator/FlyingSocks.swiftmodule/x86_64-apple-ios-simulator.swiftmodule +0 -0
  24. package/drivers/ios/Debug-iphonesimulator/UITreeServerApp.app/Info.plist +0 -0
  25. package/drivers/ios/Debug-iphonesimulator/UITreeServerApp.app/PkgInfo +1 -0
  26. package/drivers/ios/Debug-iphonesimulator/UITreeServerApp.app/UITreeServerApp +0 -0
  27. package/drivers/ios/Debug-iphonesimulator/UITreeServerApp.app/UITreeServerApp.debug.dylib +0 -0
  28. package/drivers/ios/Debug-iphonesimulator/UITreeServerApp.app/_CodeSignature/CodeResources +128 -0
  29. package/drivers/ios/Debug-iphonesimulator/UITreeServerApp.app/__preview.dylib +0 -0
  30. package/drivers/ios/Debug-iphonesimulator/UITreeServerApp.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  31. package/drivers/ios/Debug-iphonesimulator/UITreeServerApp.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  32. package/drivers/ios/Debug-iphonesimulator/UITreeServerApp.swiftmodule/arm64-apple-ios-simulator.abi.json +9 -0
  33. package/drivers/ios/Debug-iphonesimulator/UITreeServerApp.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  34. package/drivers/ios/Debug-iphonesimulator/UITreeServerApp.swiftmodule/arm64-apple-ios-simulator.swiftmodule +0 -0
  35. package/drivers/ios/Debug-iphonesimulator/UITreeServerApp.swiftmodule/x86_64-apple-ios-simulator.abi.json +9 -0
  36. package/drivers/ios/Debug-iphonesimulator/UITreeServerApp.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  37. package/drivers/ios/Debug-iphonesimulator/UITreeServerApp.swiftmodule/x86_64-apple-ios-simulator.swiftmodule +0 -0
  38. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/Frameworks/Testing.framework/Info.plist +0 -0
  39. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/Frameworks/Testing.framework/Testing +0 -0
  40. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/Frameworks/Testing.framework/_CodeSignature/CodeResources +168 -0
  41. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/Frameworks/Testing.framework/version.plist +18 -0
  42. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/Frameworks/XCTAutomationSupport.framework/Info.plist +0 -0
  43. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/Frameworks/XCTAutomationSupport.framework/XCTAutomationSupport +0 -0
  44. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/Frameworks/XCTAutomationSupport.framework/_CodeSignature/CodeResources +113 -0
  45. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/Frameworks/XCTAutomationSupport.framework/version.plist +18 -0
  46. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/Frameworks/XCTest.framework/Info.plist +0 -0
  47. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/Frameworks/XCTest.framework/XCTest +0 -0
  48. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/Frameworks/XCTest.framework/_CodeSignature/CodeResources +817 -0
  49. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/Frameworks/XCTest.framework/version.plist +18 -0
  50. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/Frameworks/XCTestCore.framework/Info.plist +0 -0
  51. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/Frameworks/XCTestCore.framework/XCTestCore +0 -0
  52. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/Frameworks/XCTestCore.framework/_CodeSignature/CodeResources +113 -0
  53. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/Frameworks/XCTestCore.framework/version.plist +18 -0
  54. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/Frameworks/XCTestSupport.framework/Info.plist +0 -0
  55. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/Frameworks/XCTestSupport.framework/XCTestSupport +0 -0
  56. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/Frameworks/XCTestSupport.framework/_CodeSignature/CodeResources +113 -0
  57. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/Frameworks/XCTestSupport.framework/version.plist +18 -0
  58. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/Frameworks/XCUIAutomation.framework/Info.plist +0 -0
  59. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/Frameworks/XCUIAutomation.framework/XCUIAutomation +0 -0
  60. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/Frameworks/XCUIAutomation.framework/_CodeSignature/CodeResources +432 -0
  61. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/Frameworks/XCUIAutomation.framework/version.plist +18 -0
  62. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/Frameworks/XCUnit.framework/Info.plist +0 -0
  63. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/Frameworks/XCUnit.framework/XCUnit +0 -0
  64. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/Frameworks/XCUnit.framework/_CodeSignature/CodeResources +113 -0
  65. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/Frameworks/XCUnit.framework/version.plist +18 -0
  66. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/Frameworks/libXCTestSwiftSupport.dylib +0 -0
  67. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/Info.plist +254 -0
  68. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/PkgInfo +1 -0
  69. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/PlugIns/UITreeServerUITests.xctest/Info.plist +0 -0
  70. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/PlugIns/UITreeServerUITests.xctest/UITreeServerUITests +0 -0
  71. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/PlugIns/UITreeServerUITests.xctest/_CodeSignature/CodeResources +101 -0
  72. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/UITreeServerUITests-Runner +0 -0
  73. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests-Runner.app/_CodeSignature/CodeResources +458 -0
  74. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  75. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  76. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests.swiftmodule/arm64-apple-ios-simulator.abi.json +9 -0
  77. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  78. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests.swiftmodule/arm64-apple-ios-simulator.swiftmodule +0 -0
  79. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests.swiftmodule/x86_64-apple-ios-simulator.abi.json +9 -0
  80. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  81. package/drivers/ios/Debug-iphonesimulator/UITreeServerUITests.swiftmodule/x86_64-apple-ios-simulator.swiftmodule +0 -0
  82. package/drivers/ios/UITreeServerUITests_iphonesimulator26.2-arm64-x86_64.xctestrun +135 -0
  83. package/drivers/ios/UITreeServerUITests_iphonesimulator26.2-arm64.xctestrun +135 -0
  84. package/package.json +32 -0
  85. package/src/filter/filter.ts +393 -0
  86. package/src/filter/index.ts +42 -0
  87. package/src/filter/types.ts +70 -0
  88. package/src/server/bootstrap.ts +367 -0
  89. package/src/server/devices.ts +262 -0
  90. package/src/server/index.ts +41 -0
  91. package/src/server/ports.ts +190 -0
  92. package/src/server/proxy.ts +119 -0
  93. package/src/server/tools.ts +303 -0
  94. package/src/server/types.ts +22 -0
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>BuildAliasOf</key>
6
+ <string>XCTest</string>
7
+ <key>BuildVersion</key>
8
+ <string>116</string>
9
+ <key>CFBundleShortVersionString</key>
10
+ <string>16.0</string>
11
+ <key>CFBundleVersion</key>
12
+ <string>24507</string>
13
+ <key>ProjectName</key>
14
+ <string>XCTest_iOS_Sim</string>
15
+ <key>SourceVersion</key>
16
+ <string>24507000000000000</string>
17
+ </dict>
18
+ </plist>
@@ -0,0 +1,113 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>files</key>
6
+ <dict>
7
+ <key>Info.plist</key>
8
+ <data>
9
+ KGPJBjJOPA+9AYX5Q397zEB4ouc=
10
+ </data>
11
+ <key>version.plist</key>
12
+ <data>
13
+ VCwRZuVWQvFMfOnRmoE4qcX9Zl4=
14
+ </data>
15
+ </dict>
16
+ <key>files2</key>
17
+ <dict>
18
+ <key>version.plist</key>
19
+ <dict>
20
+ <key>hash2</key>
21
+ <data>
22
+ AyCpemCAmNxnNj1CRbnPH2hRMSWUJupJoyAOszjtn+E=
23
+ </data>
24
+ </dict>
25
+ </dict>
26
+ <key>rules</key>
27
+ <dict>
28
+ <key>^.*</key>
29
+ <true/>
30
+ <key>^.*\.lproj/</key>
31
+ <dict>
32
+ <key>optional</key>
33
+ <true/>
34
+ <key>weight</key>
35
+ <real>1000</real>
36
+ </dict>
37
+ <key>^.*\.lproj/locversion.plist$</key>
38
+ <dict>
39
+ <key>omit</key>
40
+ <true/>
41
+ <key>weight</key>
42
+ <real>1100</real>
43
+ </dict>
44
+ <key>^Base\.lproj/</key>
45
+ <dict>
46
+ <key>weight</key>
47
+ <real>1010</real>
48
+ </dict>
49
+ <key>^version.plist$</key>
50
+ <true/>
51
+ </dict>
52
+ <key>rules2</key>
53
+ <dict>
54
+ <key>.*\.dSYM($|/)</key>
55
+ <dict>
56
+ <key>weight</key>
57
+ <real>11</real>
58
+ </dict>
59
+ <key>^(.*/)?\.DS_Store$</key>
60
+ <dict>
61
+ <key>omit</key>
62
+ <true/>
63
+ <key>weight</key>
64
+ <real>2000</real>
65
+ </dict>
66
+ <key>^.*</key>
67
+ <true/>
68
+ <key>^.*\.lproj/</key>
69
+ <dict>
70
+ <key>optional</key>
71
+ <true/>
72
+ <key>weight</key>
73
+ <real>1000</real>
74
+ </dict>
75
+ <key>^.*\.lproj/locversion.plist$</key>
76
+ <dict>
77
+ <key>omit</key>
78
+ <true/>
79
+ <key>weight</key>
80
+ <real>1100</real>
81
+ </dict>
82
+ <key>^Base\.lproj/</key>
83
+ <dict>
84
+ <key>weight</key>
85
+ <real>1010</real>
86
+ </dict>
87
+ <key>^Info\.plist$</key>
88
+ <dict>
89
+ <key>omit</key>
90
+ <true/>
91
+ <key>weight</key>
92
+ <real>20</real>
93
+ </dict>
94
+ <key>^PkgInfo$</key>
95
+ <dict>
96
+ <key>omit</key>
97
+ <true/>
98
+ <key>weight</key>
99
+ <real>20</real>
100
+ </dict>
101
+ <key>^embedded\.provisionprofile$</key>
102
+ <dict>
103
+ <key>weight</key>
104
+ <real>20</real>
105
+ </dict>
106
+ <key>^version\.plist$</key>
107
+ <dict>
108
+ <key>weight</key>
109
+ <real>20</real>
110
+ </dict>
111
+ </dict>
112
+ </dict>
113
+ </plist>
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>BuildAliasOf</key>
6
+ <string>XCTest</string>
7
+ <key>BuildVersion</key>
8
+ <string>116</string>
9
+ <key>CFBundleShortVersionString</key>
10
+ <string>16.0</string>
11
+ <key>CFBundleVersion</key>
12
+ <string>24507</string>
13
+ <key>ProjectName</key>
14
+ <string>XCTest_iOS_Sim</string>
15
+ <key>SourceVersion</key>
16
+ <string>24507000000000000</string>
17
+ </dict>
18
+ </plist>
@@ -0,0 +1,113 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>files</key>
6
+ <dict>
7
+ <key>Info.plist</key>
8
+ <data>
9
+ SO4bIx9R3FERAt83latnX1apGzA=
10
+ </data>
11
+ <key>version.plist</key>
12
+ <data>
13
+ VCwRZuVWQvFMfOnRmoE4qcX9Zl4=
14
+ </data>
15
+ </dict>
16
+ <key>files2</key>
17
+ <dict>
18
+ <key>version.plist</key>
19
+ <dict>
20
+ <key>hash2</key>
21
+ <data>
22
+ AyCpemCAmNxnNj1CRbnPH2hRMSWUJupJoyAOszjtn+E=
23
+ </data>
24
+ </dict>
25
+ </dict>
26
+ <key>rules</key>
27
+ <dict>
28
+ <key>^.*</key>
29
+ <true/>
30
+ <key>^.*\.lproj/</key>
31
+ <dict>
32
+ <key>optional</key>
33
+ <true/>
34
+ <key>weight</key>
35
+ <real>1000</real>
36
+ </dict>
37
+ <key>^.*\.lproj/locversion.plist$</key>
38
+ <dict>
39
+ <key>omit</key>
40
+ <true/>
41
+ <key>weight</key>
42
+ <real>1100</real>
43
+ </dict>
44
+ <key>^Base\.lproj/</key>
45
+ <dict>
46
+ <key>weight</key>
47
+ <real>1010</real>
48
+ </dict>
49
+ <key>^version.plist$</key>
50
+ <true/>
51
+ </dict>
52
+ <key>rules2</key>
53
+ <dict>
54
+ <key>.*\.dSYM($|/)</key>
55
+ <dict>
56
+ <key>weight</key>
57
+ <real>11</real>
58
+ </dict>
59
+ <key>^(.*/)?\.DS_Store$</key>
60
+ <dict>
61
+ <key>omit</key>
62
+ <true/>
63
+ <key>weight</key>
64
+ <real>2000</real>
65
+ </dict>
66
+ <key>^.*</key>
67
+ <true/>
68
+ <key>^.*\.lproj/</key>
69
+ <dict>
70
+ <key>optional</key>
71
+ <true/>
72
+ <key>weight</key>
73
+ <real>1000</real>
74
+ </dict>
75
+ <key>^.*\.lproj/locversion.plist$</key>
76
+ <dict>
77
+ <key>omit</key>
78
+ <true/>
79
+ <key>weight</key>
80
+ <real>1100</real>
81
+ </dict>
82
+ <key>^Base\.lproj/</key>
83
+ <dict>
84
+ <key>weight</key>
85
+ <real>1010</real>
86
+ </dict>
87
+ <key>^Info\.plist$</key>
88
+ <dict>
89
+ <key>omit</key>
90
+ <true/>
91
+ <key>weight</key>
92
+ <real>20</real>
93
+ </dict>
94
+ <key>^PkgInfo$</key>
95
+ <dict>
96
+ <key>omit</key>
97
+ <true/>
98
+ <key>weight</key>
99
+ <real>20</real>
100
+ </dict>
101
+ <key>^embedded\.provisionprofile$</key>
102
+ <dict>
103
+ <key>weight</key>
104
+ <real>20</real>
105
+ </dict>
106
+ <key>^version\.plist$</key>
107
+ <dict>
108
+ <key>weight</key>
109
+ <real>20</real>
110
+ </dict>
111
+ </dict>
112
+ </dict>
113
+ </plist>
@@ -0,0 +1,18 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>BuildAliasOf</key>
6
+ <string>XCTest</string>
7
+ <key>BuildVersion</key>
8
+ <string>116</string>
9
+ <key>CFBundleShortVersionString</key>
10
+ <string>16.0</string>
11
+ <key>CFBundleVersion</key>
12
+ <string>24507</string>
13
+ <key>ProjectName</key>
14
+ <string>XCTest_iOS_Sim</string>
15
+ <key>SourceVersion</key>
16
+ <string>24507000000000000</string>
17
+ </dict>
18
+ </plist>