@mcesystems/apple-kit 1.0.94 → 1.0.96

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 (78) hide show
  1. package/README.md +258 -258
  2. package/dist/index.js +62 -55
  3. package/dist/index.js.map +3 -3
  4. package/dist/index.mjs +62 -55
  5. package/dist/index.mjs.map +3 -3
  6. package/dist/resources/plist/certificate-trust.xml +43 -43
  7. package/dist/resources/plist/wifi-enterprise.xml +59 -59
  8. package/dist/resources/plist/wifi-standard.xml +50 -50
  9. package/dist/types/index.d.ts +15 -2
  10. package/package.json +3 -3
  11. package/resources/ios.exe +0 -0
  12. package/resources/wintun-LICENSE.txt +84 -0
  13. package/resources/wintun.dll +0 -0
  14. package/scripts/README.md +209 -209
  15. package/scripts/build-windows.sh.template +222 -222
  16. package/dist/resources/bin/darwin/idevice_id +0 -0
  17. package/dist/resources/bin/darwin/idevicedebug +0 -0
  18. package/dist/resources/bin/darwin/idevicediagnostics +0 -0
  19. package/dist/resources/bin/darwin/ideviceinfo +0 -0
  20. package/dist/resources/bin/darwin/ideviceinstaller +0 -0
  21. package/dist/resources/bin/darwin/idevicename +0 -0
  22. package/dist/resources/bin/darwin/idevicepair +0 -0
  23. package/dist/resources/bin/darwin/idevicescreenshot +0 -0
  24. package/dist/resources/bin/darwin/idevicesyslog +0 -0
  25. package/dist/resources/bin/darwin/iproxy +0 -0
  26. package/dist/resources/bin/darwin/libcrypto.3.dylib +0 -0
  27. package/dist/resources/bin/darwin/libimobiledevice-1.0.6.dylib +0 -0
  28. package/dist/resources/bin/darwin/libimobiledevice-glue-1.0.0.dylib +0 -0
  29. package/dist/resources/bin/darwin/liblzma.5.dylib +0 -0
  30. package/dist/resources/bin/darwin/libplist-2.0.4.dylib +0 -0
  31. package/dist/resources/bin/darwin/libssl.3.dylib +0 -0
  32. package/dist/resources/bin/darwin/libusbmuxd-2.0.7.dylib +0 -0
  33. package/dist/resources/bin/darwin/libzip.5.dylib +0 -0
  34. package/dist/resources/bin/darwin/libzstd.1.dylib +0 -0
  35. package/dist/resources/licenses/LGPL-2.1.txt +0 -33
  36. package/dist/types/index.d.ts.map +0 -1
  37. package/dist/types/logic/actions/activation.d.ts +0 -12
  38. package/dist/types/logic/actions/activation.d.ts.map +0 -1
  39. package/dist/types/logic/actions/device.d.ts +0 -15
  40. package/dist/types/logic/actions/device.d.ts.map +0 -1
  41. package/dist/types/logic/actions/install.d.ts +0 -10
  42. package/dist/types/logic/actions/install.d.ts.map +0 -1
  43. package/dist/types/logic/actions/pair.d.ts +0 -6
  44. package/dist/types/logic/actions/pair.d.ts.map +0 -1
  45. package/dist/types/logic/actions/proxy.d.ts +0 -23
  46. package/dist/types/logic/actions/proxy.d.ts.map +0 -1
  47. package/dist/types/logic/actions/restore.d.ts +0 -36
  48. package/dist/types/logic/actions/restore.d.ts.map +0 -1
  49. package/dist/types/logic/actions/tool.d.ts +0 -8
  50. package/dist/types/logic/actions/tool.d.ts.map +0 -1
  51. package/dist/types/logic/activationFlow.d.ts +0 -15
  52. package/dist/types/logic/activationFlow.d.ts.map +0 -1
  53. package/dist/types/logic/appleDeviceKit.d.ts +0 -164
  54. package/dist/types/logic/appleDeviceKit.d.ts.map +0 -1
  55. package/dist/types/logic/dataParser.d.ts +0 -23
  56. package/dist/types/logic/dataParser.d.ts.map +0 -1
  57. package/dist/types/logic/iosCli.d.ts +0 -6
  58. package/dist/types/logic/iosCli.d.ts.map +0 -1
  59. package/dist/types/logic/utils/resolvePath.d.ts +0 -13
  60. package/dist/types/logic/utils/resolvePath.d.ts.map +0 -1
  61. package/dist/types/types/activation.d.ts +0 -28
  62. package/dist/types/types/activation.d.ts.map +0 -1
  63. package/dist/types/types/ios.d.ts +0 -152
  64. package/dist/types/types/ios.d.ts.map +0 -1
  65. package/dist/types/types/trust.d.ts +0 -10
  66. package/dist/types/types/trust.d.ts.map +0 -1
  67. package/dist/types/types/types.d.ts +0 -47
  68. package/dist/types/types/types.d.ts.map +0 -1
  69. package/dist/types/types/wifi.d.ts +0 -19
  70. package/dist/types/types/wifi.d.ts.map +0 -1
  71. package/dist/types/types.d.ts +0 -140
  72. package/dist/types/types.d.ts.map +0 -1
  73. package/dist/types/utils/debug.d.ts +0 -17
  74. package/dist/types/utils/debug.d.ts.map +0 -1
  75. package/dist/types/utils/templateLoader.d.ts +0 -8
  76. package/dist/types/utils/templateLoader.d.ts.map +0 -1
  77. package/dist/types/utils/wifiProfile.d.ts +0 -14
  78. package/dist/types/utils/wifiProfile.d.ts.map +0 -1
@@ -1,140 +0,0 @@
1
- /**
2
- * Device list entry returned by native listDevices
3
- */
4
- export interface DeviceListEntry {
5
- /**
6
- * Device UDID (Unique Device Identifier)
7
- */
8
- udid: string;
9
- /**
10
- * Connection type
11
- * 1 = USB
12
- * 2 = Network/WiFi
13
- */
14
- connectionType: number;
15
- }
16
- /**
17
- * iOS device information
18
- */
19
- export interface iOSDeviceInfo {
20
- /**
21
- * Device display name (e.g., "John's iPhone")
22
- */
23
- deviceName: string;
24
- /**
25
- * Product type identifier (e.g., "iPhone14,2")
26
- */
27
- productType: string;
28
- /**
29
- * iOS version (e.g., "17.0.1")
30
- */
31
- productVersion: string;
32
- /**
33
- * Build version (e.g., "21A340")
34
- */
35
- buildVersion: string;
36
- /**
37
- * Device serial number
38
- */
39
- serialNumber: string;
40
- /**
41
- * Device UDID
42
- */
43
- udid: string;
44
- /**
45
- * WiFi MAC address
46
- */
47
- wifiAddress: string;
48
- /**
49
- * Bluetooth MAC address
50
- */
51
- bluetoothAddress: string;
52
- /**
53
- * Phone number (if available)
54
- */
55
- phoneNumber: string;
56
- /**
57
- * CPU architecture (e.g., "arm64")
58
- */
59
- cpuArchitecture: string;
60
- /**
61
- * Hardware model identifier
62
- */
63
- hardwareModel: string;
64
- /**
65
- * Model number
66
- */
67
- modelNumber: string;
68
- /**
69
- * Region info
70
- */
71
- regionInfo: string;
72
- /**
73
- * Device time zone
74
- */
75
- timeZone: string;
76
- /**
77
- * Unique chip ID (ECID) as string
78
- */
79
- uniqueChipID: string;
80
- /**
81
- * Whether the device is paired/trusted with this computer
82
- */
83
- isPaired: boolean;
84
- }
85
- /**
86
- * Installed application info
87
- */
88
- export interface AppInfo {
89
- /**
90
- * Bundle identifier (e.g., "com.example.app")
91
- */
92
- bundleId: string;
93
- /**
94
- * Display name shown to user
95
- */
96
- displayName: string;
97
- /**
98
- * App version (CFBundleShortVersionString)
99
- */
100
- version: string;
101
- /**
102
- * Bundle version (CFBundleVersion)
103
- */
104
- bundleVersion: string;
105
- }
106
- /**
107
- * Configuration for the devices monitor
108
- */
109
- export interface AppleListenerConfig {
110
- /**
111
- * Map physical port locations to logical port numbers
112
- *
113
- * Key: Location info string (e.g., "Port_#0005.Hub_#0002")
114
- * Value: Logical port number (e.g., 1, 2, 3)
115
- */
116
- logicalPortMap?: Record<string, number>;
117
- /**
118
- * Whether to identify already connected devices on start
119
- */
120
- identifyAlreadyConnected?: boolean;
121
- }
122
- export type AppleToolType = "ideviceinfo" | "idevice_id" | "ideviceinstaller" | "idevicepair" | "idevicename" | "idevicedebug" | "iproxy" | "ideviceactivation";
123
- /**
124
- * Port forwarding result
125
- */
126
- export interface PortForwardResult {
127
- /** The local port being forwarded */
128
- localPort: number;
129
- /** The device port being forwarded to */
130
- devicePort: number;
131
- }
132
- /**
133
- * Activation state
134
- */
135
- export interface ActivationState {
136
- isActivated: boolean;
137
- activationState: string;
138
- }
139
- export type SkipStep = "Language" | "Region" | "Setup" | "SetUp" | "DisplayTone" | "Privacy" | "Android" | "HomeButtonSensitivity" | "OnBoarding" | "Passcode" | "Registration" | "Restore" | "AppleID" | "Safety" | "ScreenSaver" | "TOS" | "RestoreCompleted" | "Biometric" | "Payment" | "Zoom" | "Siri" | "Diagnostics" | "FileVault" | "iCloudDiagnostics" | "trackingCurrent" | "AppStore" | "AccessibilityAppearance" | "Appearance" | "iMessageAndFaceTime" | "Accessibility" | "ScreenTime" | "ActionButton" | "Keyboard" | "EnableLockdownMode" | "TermsOfAddress" | "TapToSetup" | "SpokenLanguage" | "MessagingActivationUsingPhoneNumber" | "iCloudStorage" | "TVProviderSignIn" | "TVHomeScreenSync" | "TVRoom" | "UpdateCompleted" | "WatchMigration" | "WebContentFiltering" | "Wallpaper" | "SoftwareUpdate" | "Intelligence" | "CameraButton" | "Welcome" | "SIMSetup" | "Location" | "SetupAssistant" | "HomeKit" | "CarrierActivation" | "Cellular" | "Cellular-Setup" | "SIMSetup" | "skip-sim-setup" | "skip-cellular-setup" | "CellularSetup" | "AppStoreRestore" | "AppStoreSetup" | "DefaultApps" | "DefaultAppInstall" | "AppStoreTerms" | "SystemMigration" | "SystemUpgrade" | "OTAUpgrade" | "OSUpdate" | "OSUpdateNew" | "OSInstall" | "OSInstallNew" | "OSUpgrade" | "OSUpgradeNew" | "AppUpdate" | "AppInstall" | "AppMigration" | "PhoneSetup" | "PhoneService" | "CarrierSettings" | "CellularData" | "CellularSetupPrompt" | "DataRoaming" | "DataPrivacy" | "CellularActivation" | "NoSIM" | "IntendedUser" | "CloudStorage" | "PreferredLanguage" | "TVProviderSignIn" | "TVHomeScreenSync" | "TVRoom" | "Multitasking" | "ActionButton" | "UpdateCompleted" | "RestoreCompleted" | "iMessageAndFaceTIme" | "AccessibilityAppearance" | "DisplayTone" | "HomeButtonSensitivity" | "ScreenSaver" | "TapToSetup" | "WatchMigration" | "OnBoarding" | "SetupCompleted" | "SetupFinished" | "SetupDone" | "FinishSetup" | "PartialSetup" | "DeviceSetup" | "DeviceConfigurationComplete" | "StandBy" | "StandBySetup" | "StandByWelcome" | "StandByOnboarding";
140
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC/B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;OAIG;IACH,cAAc,EAAE,MAAM,CAAC;CACvB;AAED;;G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Ac,GACd,iBAAiB,GACjB,cAAc,GACd,qBAAqB,GACrB,aAAa,GACb,aAAa,GACb,oBAAoB,GACpB,OAAO,GACP,cAAc,GACd,cAAc,GACd,mBAAmB,GACnB,kBAAkB,GAClB,kBAAkB,GAClB,QAAQ,GACR,cAAc,GACd,cAAc,GACd,iBAAiB,GACjB,kBAAkB,GAClB,qBAAqB,GACrB,yBAAyB,GACzB,aAAa,GACb,uBAAuB,GACvB,aAAa,GACb,YAAY,GACZ,gBAAgB,GAChB,YAAY,GACZ,gBAAgB,GAChB,eAAe,GACf,WAAW,GACX,aAAa,GACb,cAAc,GACd,aAAa,GACb,6BAA6B,GAC7B,SAAS,GACT,cAAc,GACd,gBAAgB,GAChB,mBAAmB,CAAC"}
@@ -1,17 +0,0 @@
1
- /**
2
- * Log general information
3
- */
4
- export declare function logInfo(message: string): void;
5
- /**
6
- * Log task-specific information
7
- */
8
- export declare function logTask(message: string): void;
9
- /**
10
- * Log warning messages
11
- */
12
- export declare function logWarning(message: string): void;
13
- /**
14
- * Log error messages
15
- */
16
- export declare function logError(message: string): void;
17
- //# sourceMappingURL=debug.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../../../src/utils/debug.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAE7C;AAED;;GAEG;AACH,wBAAgB,OAAO,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAE7C;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAEhD;AAED;;GAEG;AACH,wBAAgB,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAE9C"}
@@ -1,8 +0,0 @@
1
- /**
2
- * Template Loader Utility
3
- *
4
- * Loads and processes plist templates with variable substitution
5
- */
6
- export declare function loadTemplate(templateName: string, plistDir?: string): Promise<string>;
7
- export declare function processTemplate(template: string, variables: Record<string, unknown>): string;
8
- //# sourceMappingURL=templateLoader.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"templateLoader.d.ts","sourceRoot":"","sources":["../../../src/utils/templateLoader.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAwEH,wBAAsB,YAAY,CAAC,YAAY,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAI3F;AAED,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,MAAM,CAuB5F"}
@@ -1,14 +0,0 @@
1
- /**
2
- * WiFi Profile Generator
3
- *
4
- * Generates iOS-compatible WiFi configuration profiles (.mobileconfig)
5
- */
6
- import type { WifiProfileConfig } from "@/types/wifi";
7
- export declare function generateWifiProfile(config: WifiProfileConfig, options?: {
8
- plistDir?: string;
9
- }): Promise<string>;
10
- export declare function generateWifiProfileFromEnv(options?: {
11
- plistDir?: string;
12
- }): Promise<string | null>;
13
- export declare function saveWifiProfileToTemp(profile: string): Promise<string>;
14
- //# sourceMappingURL=wifiProfile.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"wifiProfile.d.ts","sourceRoot":"","sources":["../../../src/utils/wifiProfile.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAmC,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAIvF,wBAAsB,mBAAmB,CACxC,MAAM,EAAE,iBAAiB,EACzB,OAAO,CAAC,EAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,GAC7B,OAAO,CAAC,MAAM,CAAC,CA4DjB;AAED,wBAAsB,0BAA0B,CAAC,OAAO,CAAC,EAAE;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,GAAG,OAAO,CACzF,MAAM,GAAG,IAAI,CACb,CAqBA;AAED,wBAAsB,qBAAqB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAa5E"}