@mentra/sdk 3.0.0-alpha.1 → 3.0.0-alpha.4

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 (45) hide show
  1. package/dist/app/server/index.d.ts +3 -12
  2. package/dist/app/server/index.d.ts.map +1 -1
  3. package/dist/display-utils.js +102 -102
  4. package/dist/display-utils.js.map +3 -3
  5. package/dist/index.js +163 -117
  6. package/dist/index.js.map +16 -16
  7. package/dist/internal/_SessionManager.d.ts.map +1 -1
  8. package/dist/session/MentraSession.d.ts.map +1 -1
  9. package/dist/session/internal/_V2CameraShim.d.ts +0 -1
  10. package/dist/session/internal/_V2CameraShim.d.ts.map +1 -1
  11. package/dist/session/internal/_V2EventManagerShim.d.ts +0 -1
  12. package/dist/session/internal/_V2EventManagerShim.d.ts.map +1 -1
  13. package/dist/session/internal/_V2SessionShim.d.ts +0 -4
  14. package/dist/session/internal/_V2SessionShim.d.ts.map +1 -1
  15. package/dist/session/managers/CameraManager.d.ts +0 -1
  16. package/dist/session/managers/CameraManager.d.ts.map +1 -1
  17. package/dist/session/managers/DeviceManager.d.ts +1 -17
  18. package/dist/session/managers/DeviceManager.d.ts.map +1 -1
  19. package/dist/session/managers/LedManager.d.ts +19 -4
  20. package/dist/session/managers/LedManager.d.ts.map +1 -1
  21. package/dist/session/managers/LocationManager.d.ts +41 -10
  22. package/dist/session/managers/LocationManager.d.ts.map +1 -1
  23. package/dist/session/managers/PermissionsManager.d.ts +43 -0
  24. package/dist/session/managers/PermissionsManager.d.ts.map +1 -1
  25. package/dist/session/managers/PhoneManager.d.ts +1 -57
  26. package/dist/session/managers/PhoneManager.d.ts.map +1 -1
  27. package/dist/session/managers/SpeakerManager.d.ts.map +1 -1
  28. package/dist/session.js +145 -87
  29. package/dist/session.js.map +10 -10
  30. package/node_modules/@mentra/types/src/applet.ts +55 -0
  31. package/node_modules/@mentra/types/src/capabilities/even-realities-g1.ts +63 -0
  32. package/node_modules/@mentra/types/src/capabilities/even-realities-g2.ts +70 -0
  33. package/node_modules/@mentra/types/src/capabilities/mentra-display.ts +63 -0
  34. package/node_modules/@mentra/types/src/capabilities/mentra-live.ts +103 -0
  35. package/node_modules/@mentra/types/src/capabilities/none.ts +76 -0
  36. package/node_modules/@mentra/types/src/capabilities/simulated-glasses.ts +76 -0
  37. package/node_modules/@mentra/types/src/capabilities/vuzix-z100.ts +60 -0
  38. package/node_modules/@mentra/types/src/cli.ts +169 -0
  39. package/node_modules/@mentra/types/src/device.ts +43 -0
  40. package/node_modules/@mentra/types/src/enums.ts +43 -0
  41. package/node_modules/@mentra/types/src/hardware.ts +179 -0
  42. package/node_modules/@mentra/types/src/index.ts +64 -0
  43. package/node_modules/@mentra/types/tsconfig.json +22 -0
  44. package/node_modules/@mentra/types/tsconfig.tsbuildinfo +1 -0
  45. package/package.json +1 -1
@@ -0,0 +1,169 @@
1
+ /**
2
+ * CLI API Key Management Types
3
+ *
4
+ * Shared between cloud backend and CLI tool.
5
+ */
6
+
7
+ /**
8
+ * CLI API Key stored in database
9
+ */
10
+ export interface CLIApiKey {
11
+ /** Unique key identifier (UUID v4) */
12
+ keyId: string
13
+
14
+ /** User ID who owns this key (ObjectId as string) */
15
+ userId: string
16
+
17
+ /** User email (denormalized for backward compatibility) */
18
+ email: string
19
+
20
+ /** User-friendly name for the key */
21
+ name: string
22
+
23
+ /** SHA-256 hash of the JWT token (for revocation checks) */
24
+ hashedToken: string
25
+
26
+ /** When the key was created */
27
+ createdAt: Date
28
+
29
+ /** When the key was last updated */
30
+ updatedAt: Date
31
+
32
+ /** Last time this key was used (optional tracking) */
33
+ lastUsedAt?: Date
34
+
35
+ /** Optional expiration date */
36
+ expiresAt?: Date
37
+
38
+ /** Whether key is active (false = revoked) */
39
+ isActive: boolean
40
+
41
+ /** Optional metadata */
42
+ metadata?: {
43
+ createdFrom?: string
44
+ userAgent?: string
45
+ }
46
+ }
47
+
48
+ /**
49
+ * Request to generate a new CLI API key
50
+ */
51
+ export interface GenerateCLIKeyRequest {
52
+ /** User-friendly name for the key */
53
+ name: string
54
+
55
+ /** Optional expiration in days (default: never) */
56
+ expiresInDays?: number
57
+ }
58
+
59
+ /**
60
+ * Response when generating a CLI API key
61
+ * Token is shown ONCE and never retrievable
62
+ */
63
+ export interface GenerateCLIKeyResponse {
64
+ /** The CLI API key ID */
65
+ keyId: string
66
+
67
+ /** User-friendly name */
68
+ name: string
69
+
70
+ /** JWT token (ONLY shown once!) */
71
+ token: string
72
+
73
+ /** When it was created */
74
+ createdAt: string
75
+
76
+ /** Optional expiration date */
77
+ expiresAt?: string
78
+ }
79
+
80
+ /**
81
+ * CLI API Key list item (token not included)
82
+ */
83
+ export interface CLIApiKeyListItem {
84
+ /** Key identifier */
85
+ keyId: string
86
+
87
+ /** User-friendly name */
88
+ name: string
89
+
90
+ /** Creation timestamp */
91
+ createdAt: string
92
+
93
+ /** Last usage timestamp (if tracked) */
94
+ lastUsedAt?: string
95
+
96
+ /** Expiration timestamp */
97
+ expiresAt?: string
98
+
99
+ /** Whether key is active */
100
+ isActive: boolean
101
+ }
102
+
103
+ /**
104
+ * Request to update a CLI API key
105
+ */
106
+ export interface UpdateCLIKeyRequest {
107
+ /** New name for the key */
108
+ name: string
109
+ }
110
+
111
+ /**
112
+ * JWT payload for CLI API keys
113
+ */
114
+ export interface CLITokenPayload {
115
+ /** User email */
116
+ email: string
117
+
118
+ /** Token type discriminator */
119
+ type: "cli"
120
+
121
+ /** Key ID for revocation lookups */
122
+ keyId: string
123
+
124
+ /** User-friendly key name */
125
+ name: string
126
+
127
+ /** Issued at (Unix timestamp) */
128
+ iat: number
129
+
130
+ /** Optional expiration (Unix timestamp) */
131
+ exp?: number
132
+ }
133
+
134
+ /**
135
+ * CLI credentials stored locally on user's machine
136
+ */
137
+ export interface CLICredentials {
138
+ /** JWT token */
139
+ token: string
140
+
141
+ /** User email (extracted from token) */
142
+ email: string
143
+
144
+ /** Key name (extracted from token) */
145
+ keyName: string
146
+
147
+ /** Key ID (extracted from token) */
148
+ keyId: string
149
+
150
+ /** When credentials were stored */
151
+ storedAt: string
152
+
153
+ /** Optional expiration timestamp */
154
+ expiresAt?: string
155
+ }
156
+
157
+ /**
158
+ * Cloud environment configuration
159
+ */
160
+ export interface Cloud {
161
+ /** Display name */
162
+ name: string
163
+
164
+ /** API URL */
165
+ url: string
166
+
167
+ /** Whether this is a built-in cloud */
168
+ builtin?: boolean
169
+ }
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Device connection state and metadata types
3
+ * Used for POST /api/client/device/state
4
+ */
5
+
6
+ export interface GlassesInfo {
7
+ // Connection state
8
+ connected: boolean
9
+
10
+ // Device identification
11
+ modelName: string | null
12
+ androidVersion?: string
13
+ fwVersion?: string
14
+ buildNumber?: string
15
+ otaVersionUrl?: string
16
+ appVersion?: string
17
+ bluetoothName?: string
18
+ serialNumber?: string
19
+ style?: string
20
+ color?: string
21
+
22
+ // WiFi info (only for WiFi-capable devices)
23
+ wifiConnected?: boolean
24
+ wifiSsid?: string
25
+ wifiLocalIp?: string
26
+
27
+ // Battery info
28
+ batteryLevel?: number
29
+ charging?: boolean
30
+ caseBatteryLevel?: number
31
+ caseCharging?: boolean
32
+ caseOpen?: boolean
33
+ caseRemoved?: boolean
34
+
35
+ // Hotspot info
36
+ hotspotEnabled?: boolean
37
+ hotspotSsid?: string
38
+ hotspotPassword?: string
39
+ hotspotGatewayIp?: string
40
+
41
+ // Metadata
42
+ timestamp?: string
43
+ }
@@ -0,0 +1,43 @@
1
+ /**
2
+ * @mentra/types - Shared enums for MentraOS
3
+ * These are runtime values (not pure types)
4
+ */
5
+
6
+ /**
7
+ * Hardware component types that apps can require
8
+ */
9
+ export enum HardwareType {
10
+ CAMERA = "CAMERA",
11
+ DISPLAY = "DISPLAY",
12
+ MICROPHONE = "MICROPHONE",
13
+ SPEAKER = "SPEAKER",
14
+ IMU = "IMU",
15
+ BUTTON = "BUTTON",
16
+ LIGHT = "LIGHT",
17
+ WIFI = "WIFI",
18
+ EXIST = "EXIST",
19
+ }
20
+
21
+ /**
22
+ * Levels of hardware requirements
23
+ */
24
+ export enum HardwareRequirementLevel {
25
+ REQUIRED = "REQUIRED", // App cannot function without this hardware
26
+ OPTIONAL = "OPTIONAL", // App has enhanced features with this hardware
27
+ }
28
+
29
+ export enum DeviceTypes {
30
+ NONE = "None",
31
+ SIMULATED = "Simulated Glasses",
32
+ G1 = "Even Realities G1",
33
+ G2 = "Even Realities G2",
34
+ LIVE = "Mentra Live",
35
+ MACH1 = "Mentra Mach1",
36
+ Z100 = "Vuzix Z100",
37
+ NEX = "Mentra Display",
38
+ FRAME = "Brilliant Frame",
39
+ }
40
+
41
+ export enum ControllerTypes {
42
+ R1 = "Even Realities R1",
43
+ }
@@ -0,0 +1,179 @@
1
+ /**
2
+ * @mentra/types - Hardware capability types
3
+ */
4
+
5
+ import { evenRealitiesG1 } from "./capabilities/even-realities-g1";
6
+ import { evenRealitiesG2 } from "./capabilities/even-realities-g2";
7
+ import { mentraDisplay } from "./capabilities/mentra-display";
8
+ import { mentraLive } from "./capabilities/mentra-live";
9
+ import { simulatedGlasses } from "./capabilities/simulated-glasses";
10
+ import { vuzixZ100 } from "./capabilities/vuzix-z100";
11
+ import { none } from "./capabilities/none";
12
+ import { DeviceTypes, HardwareRequirementLevel, HardwareType } from "./enums";
13
+
14
+ /**
15
+ * Hardware requirement for an app
16
+ * Specifies what hardware components an app needs
17
+ */
18
+ export interface HardwareRequirement {
19
+ type: HardwareType;
20
+ level: HardwareRequirementLevel;
21
+ description?: string; // Why this hardware is needed
22
+ }
23
+
24
+ /**
25
+ * Camera capabilities
26
+ */
27
+ export interface CameraCapabilities {
28
+ resolution?: { width: number; height: number };
29
+ hasHDR?: boolean;
30
+ hasFocus?: boolean;
31
+ video: {
32
+ canRecord: boolean;
33
+ canStream: boolean;
34
+ supportedStreamTypes?: string[];
35
+ supportedResolutions?: { width: number; height: number }[];
36
+ };
37
+ }
38
+
39
+ /**
40
+ * Display capabilities
41
+ */
42
+ export interface DisplayCapabilities {
43
+ count?: number;
44
+ isColor?: boolean;
45
+ color?: string; // e.g., "green", "full_color", "pallet"
46
+ canDisplayBitmap?: boolean;
47
+ resolution?: { width: number; height: number };
48
+ fieldOfView?: { horizontal?: number; vertical?: number };
49
+ maxTextLines?: number;
50
+ adjustBrightness?: boolean;
51
+ }
52
+
53
+ /**
54
+ * Microphone capabilities
55
+ */
56
+ export interface MicrophoneCapabilities {
57
+ count?: number;
58
+ hasVAD?: boolean; // Voice Activity Detection
59
+ }
60
+
61
+ /**
62
+ * Speaker capabilities
63
+ */
64
+ export interface SpeakerCapabilities {
65
+ count?: number;
66
+ isPrivate?: boolean; // e.g., bone conduction
67
+ }
68
+
69
+ /**
70
+ * IMU (Inertial Measurement Unit) capabilities
71
+ */
72
+ export interface IMUCapabilities {
73
+ axisCount?: number;
74
+ hasAccelerometer?: boolean;
75
+ hasCompass?: boolean;
76
+ hasGyroscope?: boolean;
77
+ }
78
+
79
+ /**
80
+ * Button capabilities
81
+ */
82
+ export interface ButtonCapabilities {
83
+ count?: number;
84
+ buttons?: {
85
+ type: "press" | "swipe1d" | "swipe2d";
86
+ events: string[]; // e.g., "press", "double_press", "long_press", "swipe_up", "swipe_down"
87
+ isCapacitive?: boolean;
88
+ }[];
89
+ }
90
+
91
+ /**
92
+ * Light capabilities
93
+ */
94
+ export interface LightCapabilities {
95
+ count?: number;
96
+ lights?: {
97
+ id: string; // Unique identifier for the LED (e.g., "privacy", "user_feedback")
98
+ purpose: "privacy" | "user_feedback" | "general"; // LED purpose/function
99
+ isFullColor: boolean;
100
+ color?: string; // e.g., "white", "rgb"
101
+ position?: "front_facing" | "user_facing" | "side" | "unknown"; // LED physical position
102
+ }[];
103
+ }
104
+
105
+ /**
106
+ * Power capabilities
107
+ */
108
+ export interface PowerCapabilities {
109
+ hasExternalBattery: boolean; // e.g., a case or puck
110
+ }
111
+
112
+ /**
113
+ * Device hardware capabilities
114
+ * Complete information about what hardware a device has
115
+ */
116
+ export interface Capabilities {
117
+ modelName: string;
118
+
119
+ // Camera capabilities
120
+ hasCamera: boolean;
121
+ camera: CameraCapabilities | null;
122
+
123
+ // Display capabilities
124
+ hasDisplay: boolean;
125
+ display: DisplayCapabilities | null;
126
+
127
+ // Microphone capabilities
128
+ hasMicrophone: boolean;
129
+ microphone: MicrophoneCapabilities | null;
130
+
131
+ // Speaker capabilities
132
+ hasSpeaker: boolean;
133
+ speaker: SpeakerCapabilities | null;
134
+
135
+ // IMU capabilities
136
+ hasIMU: boolean;
137
+ imu: IMUCapabilities | null;
138
+
139
+ // Button capabilities
140
+ hasButton: boolean;
141
+ button: ButtonCapabilities | null;
142
+
143
+ // Light capabilities
144
+ hasLight: boolean;
145
+ light: LightCapabilities | null;
146
+
147
+ // Power capabilities
148
+ power: PowerCapabilities;
149
+
150
+ // WiFi capability
151
+ hasWifi: boolean;
152
+ }
153
+
154
+ /**
155
+ * Hardware capability profiles for supported glasses models
156
+ * Key: model_name string (e.g., "Even Realities G1", "Mentra Live")
157
+ * Value: Capabilities object defining device features
158
+ */
159
+ export const HARDWARE_CAPABILITIES: Record<string, Capabilities> = {
160
+ [evenRealitiesG1.modelName]: evenRealitiesG1,
161
+ [evenRealitiesG2.modelName]: evenRealitiesG2,
162
+ [mentraDisplay.modelName]: mentraDisplay,
163
+ [mentraLive.modelName]: mentraLive,
164
+ [simulatedGlasses.modelName]: simulatedGlasses,
165
+ [vuzixZ100.modelName]: vuzixZ100,
166
+ [DeviceTypes.MACH1]: vuzixZ100, // Mach1 uses same Vuzix Ultralite hardware as Z100
167
+ [none.modelName]: none,
168
+ };
169
+
170
+ export const getModelCapabilities = (deviceType: DeviceTypes): Capabilities => {
171
+ const modelName = deviceType as string;
172
+ if (!HARDWARE_CAPABILITIES[modelName]) {
173
+ return HARDWARE_CAPABILITIES[DeviceTypes.NONE];
174
+ }
175
+ return HARDWARE_CAPABILITIES[modelName];
176
+ };
177
+
178
+ // export * from "./capabilities"
179
+ export { simulatedGlasses, evenRealitiesG1, evenRealitiesG2, mentraLive, vuzixZ100, mentraDisplay };
@@ -0,0 +1,64 @@
1
+ /**
2
+ * @mentra/types - Shared types for MentraOS
3
+ *
4
+ * IMPORTANT: Uses explicit exports for Bun compatibility
5
+ * DO NOT use `export *` - Bun runtime can't handle type re-exports
6
+ * See: cloud/issues/todo/sdk-type-exports/README.md
7
+ *
8
+ * Pattern:
9
+ * - Enums (runtime values) → export { ... }
10
+ * - Types/Interfaces (compile-time only) → export type { ... }
11
+ */
12
+
13
+ // ============================================================================
14
+ // Enums (runtime values)
15
+ // ============================================================================
16
+
17
+ export {HardwareType, HardwareRequirementLevel, DeviceTypes, ControllerTypes} from "./enums"
18
+
19
+ // ============================================================================
20
+ // Hardware types (compile-time only)
21
+ // ============================================================================
22
+
23
+ export type {
24
+ HardwareRequirement,
25
+ CameraCapabilities,
26
+ DisplayCapabilities,
27
+ MicrophoneCapabilities,
28
+ SpeakerCapabilities,
29
+ IMUCapabilities,
30
+ ButtonCapabilities,
31
+ LightCapabilities,
32
+ PowerCapabilities,
33
+ Capabilities,
34
+ } from "./hardware"
35
+
36
+ // not a type:
37
+ export {HARDWARE_CAPABILITIES, getModelCapabilities} from "./hardware"
38
+
39
+ // ============================================================================
40
+ // Applet types (compile-time only)
41
+ // ============================================================================
42
+
43
+ export type {AppletType, AppPermissionType, AppletPermission, AppletInterface} from "./applet"
44
+
45
+ // ============================================================================
46
+ // CLI types (compile-time only)
47
+ // ============================================================================
48
+
49
+ export type {GlassesInfo} from "./device"
50
+
51
+ // ============================================================================
52
+ // CLI types (compile-time only)
53
+ // ============================================================================
54
+
55
+ export type {
56
+ CLIApiKey,
57
+ CLIApiKeyListItem,
58
+ GenerateCLIKeyRequest,
59
+ GenerateCLIKeyResponse,
60
+ UpdateCLIKeyRequest,
61
+ CLITokenPayload,
62
+ CLICredentials,
63
+ Cloud,
64
+ } from "./cli"
@@ -0,0 +1,22 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2020",
4
+ "module": "commonjs",
5
+ "lib": ["ES2020"],
6
+ "declaration": true,
7
+ "declarationMap": true,
8
+ "declarationDir": "./dist",
9
+ "outDir": "./dist",
10
+ "rootDir": "./src",
11
+ "strict": true,
12
+ "esModuleInterop": true,
13
+ "skipLibCheck": true,
14
+ "forceConsistentCasingInFileNames": true,
15
+ "moduleResolution": "node",
16
+ "resolveJsonModule": true,
17
+ "noEmit": false,
18
+ "composite": true
19
+ },
20
+ "include": ["src/**/*"],
21
+ "exclude": ["node_modules", "dist"]
22
+ }
@@ -0,0 +1 @@
1
+ {"fileNames":["../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/.bun/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","./src/capabilities/even-realities-g1.ts","./src/capabilities/even-realities-g2.ts","./src/capabilities/mentra-display.ts","./src/capabilities/mentra-live.ts","./src/capabilities/simulated-glasses.ts","./src/capabilities/vuzix-z100.ts","./src/capabilities/none.ts","./src/enums.ts","./src/hardware.ts","./src/applet.ts","./src/cli.ts","./src/device.ts","./src/index.ts","../../node_modules/.bun/@types+luxon@3.7.1/node_modules/@types/luxon/src/zone.d.ts","../../node_modules/.bun/@types+luxon@3.7.1/node_modules/@types/luxon/src/settings.d.ts","../../node_modules/.bun/@types+luxon@3.7.1/node_modules/@types/luxon/src/_util.d.ts","../../node_modules/.bun/@types+luxon@3.7.1/node_modules/@types/luxon/src/misc.d.ts","../../node_modules/.bun/@types+luxon@3.7.1/node_modules/@types/luxon/src/duration.d.ts","../../node_modules/.bun/@types+luxon@3.7.1/node_modules/@types/luxon/src/interval.d.ts","../../node_modules/.bun/@types+luxon@3.7.1/node_modules/@types/luxon/src/datetime.d.ts","../../node_modules/.bun/@types+luxon@3.7.1/node_modules/@types/luxon/src/info.d.ts","../../node_modules/.bun/@types+luxon@3.7.1/node_modules/@types/luxon/src/luxon.d.ts","../../node_modules/.bun/@types+luxon@3.7.1/node_modules/@types/luxon/index.d.ts","../../node_modules/.bun/@types+react@18.2.79/node_modules/@types/react/global.d.ts","../../node_modules/.bun/csstype@3.2.3/node_modules/csstype/index.d.ts","../../node_modules/.bun/@types+prop-types@15.7.15/node_modules/@types/prop-types/index.d.ts","../../node_modules/.bun/@types+react@18.2.79/node_modules/@types/react/index.d.ts","../../node_modules/.bun/@types+react@19.2.14/node_modules/@types/react/global.d.ts","../../node_modules/.bun/@types+react@19.2.14/node_modules/@types/react/index.d.ts","../../node_modules/.bun/@types+react-dom@18.2.25/node_modules/@types/react-dom/index.d.ts","../../node_modules/.bun/@types+tz-lookup@6.1.2/node_modules/@types/tz-lookup/index.d.ts","../../../node_modules/@types/ms/index.d.ts","../../../node_modules/@types/debug/index.d.ts","../../../node_modules/@types/estree/index.d.ts","../../../node_modules/@types/json-schema/index.d.ts","../../../node_modules/@types/json5/index.d.ts","../../../node_modules/@types/unist/index.d.ts","../../../node_modules/@types/mdast/index.d.ts"],"fileIdsList":[[67],[60],[59,61,63,64,68],[61,62,65],[59,62,65],[61,63,65],[59,60,62,63,64,65,66],[59,65],[61],[74],[69,70,71],[70,73],[54],[46,47,48,49,50,51,52,53],[53,54,55,56,57],[77],[82]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"d67195f30f76b7521ecbb77e1b9a98cd9eeee9c937d1ed882e47c383f7a1f4b5","signature":"b9dd0f91b6b0cde6962e4f81799f1e3b2c55e9aa1b2b47fc92314f44037b1bde"},{"version":"bcde9bd9a6c490f982c527b07259cc44d957de54f842297a748625c75afd879b","signature":"1310eb55102babc692310a835aedeb635730c5c3f96e7b5cb0827bae5370b71e"},{"version":"16c7a3f09045776aa5e5f3713458b5a1e8fea85ef74d4b3a4364fdb4da420135","signature":"ca480dfe2921c3a87d855377c42a68468a41f8c577f66fe97145376951d42909"},{"version":"e0d097fec9014b40ce8ef525e314de397b3630b014b60b0af3320d8782ab8c7c","signature":"5c7c4c188e7ba7c4fcb5589b50e23c10f86c35b5a2833dee7b8eb369bd09e1db"},{"version":"0a71633c9b66719c060271d8b6b3e922f0d4bd5eee125ea6e0e7f74d559d2b5b","signature":"9c2245707b5a4625ceb38545538e2210ad2ee7389562899b550d8a494fe8700f"},{"version":"80d3bb563d675b14fc190a65397f18a9a5c7d2d64876824aee3356fa8a22267c","signature":"9653fef809fd6c1e1b88a1521ebb3c75914c1cfe9a7f188930f7d4cce435d872"},{"version":"5bd29a0d793986af68b27b8c44a3cb0ae2552b6ecab4aacb1d141e3779020557","signature":"e8030b2353cbd2f854b73a2969d479628484c9ff3ca31b8dd0969e3862fc5b0a"},{"version":"a565b551bd0b33362b86ff5fb3a5a98820a731f83820821d0963bf3a6f5eaa51","signature":"e150edb67c5bdccee314c488ff216f88f35e9225ba48d6dce78f704d51b74a57"},{"version":"f9f79933c1c2ff576424e588a9a87dd6f8ccf99be9b8b6446a4cdb0bf32e5255","signature":"49c6abdf7162103bee58db0e4fe86aca5971b21f364db98733d07d4e9b301f27"},{"version":"ec33771be0691df27052543e01f63f8682bb416dba1d38e3c65cca51ffb64b9f","signature":"2d2cc5ac5a60c197621d77f8d3330a5369d84441b728fdb7affc79684948ab1b"},{"version":"9e582a5ff5df8d1e01b9349eae87c25b8744a49f7456e442c3e85d244eca3880","signature":"0287c188bfd6835711045f418b2b240e734f61c4fb6ad0bcbe82a80749674aa3"},{"version":"6f2aa7f9f87d544a7e09f91c77a69986fd3f1340a3bec98f4c3d63e909003fc6","signature":"9dcad96a428d989d972d18d3c94e3453ba7121c00415b2e4ddbc0e3aed01c992"},{"version":"ae974c0c52591581cca667fc53fa469375290939ac03216c93ed1bdd0630c99d","signature":"ffdce3f91fd846f2111d5845147f48a8e9120d555bc52838015f8a7210394198"},{"version":"5339f84dfcb7b04aa1c2b4d7713d6128039381447f07abc2e48d36685e2eef44","impliedFormat":1},{"version":"fb35a61a39c933d31b5b2549d906b2c932a1486622958586f662dbd4b2fe72e6","impliedFormat":1},{"version":"24e2728268be1ad2407bab004549d2753a49b2acb0f117a04c4e28ffb3ecdd4f","impliedFormat":1},{"version":"aff159b14eba59afe98a88fe6f57881ba02895fb9763512dda9083497bdcd0e6","impliedFormat":1},{"version":"1f2bddea07543ccda708134cca0600b4d9ac9bd774ec1ede0a69935b04df1496","impliedFormat":1},{"version":"6e8997d08f6798d0a9416df24312cafd084e6184a205d9283eba95ef56f8ef8b","impliedFormat":1},{"version":"ac6968717607889d24d6e407effb48dd5af82005925b4725b1d9eb52a8a047e2","impliedFormat":1},{"version":"26080058b725ac0b480241751255b4391f722263778e84e66a62068705aafd3c","impliedFormat":1},{"version":"46afbf46c3d62eac2afead3a2011d506637bf4f2c05e1fd64bbf7e2bb2947b7c","impliedFormat":1},{"version":"84d02daa32c7a8bff4946bbc7d878ffb7114c19879f7bfceeeb39bef48e93c42","impliedFormat":1},{"version":"55461596dc873b866911ef4e640fae4c39da7ac1fbc7ef5e649cb2f2fb42c349","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac51dd7d31333793807a6abaa5ae168512b6131bd41d9c5b98477fc3b7800f9f","impliedFormat":1},{"version":"87d9d29dbc745f182683f63187bf3d53fd8673e5fca38ad5eaab69798ed29fbc","impliedFormat":1},{"version":"8117d2726c78497306ceef07b4ccd08a863a9bd6e1fd7ff9ed6332f0e49bbb1a","affectsGlobalScope":true,"impliedFormat":1},{"version":"7e29f41b158de217f94cb9676bf9cbd0cd9b5a46e1985141ed36e075c52bf6ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc0a7f107690ee5cd8afc8dbf05c4df78085471ce16bdd9881642ec738bc81fe","impliedFormat":1},{"version":"e077886219cf64381045928ab7d90a1b0d42c6236f73b76e37b4b2c546ab1850","impliedFormat":1},{"version":"c6b3ccefdd9f8fee237ba2b61ff60f237ce9ffdb336d696c516a403ba21956b0","impliedFormat":1},{"version":"fb893a0dfc3c9fb0f9ca93d0648694dd95f33cbad2c0f2c629f842981dfd4e2e","impliedFormat":1},{"version":"3eb11dbf3489064a47a2e1cf9d261b1f100ef0b3b50ffca6c44dd99d6dd81ac1","impliedFormat":1},{"version":"151ff381ef9ff8da2da9b9663ebf657eac35c4c9a19183420c05728f31a6761d","impliedFormat":1},{"version":"f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","impliedFormat":1},{"version":"96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","impliedFormat":1},{"version":"89121c1bf2990f5219bfd802a3e7fc557de447c62058d6af68d6b6348d64499a","impliedFormat":1},{"version":"d4a22007b481fe2a2e6bfd3a42c00cd62d41edb36d30fc4697df2692e9891fc8","impliedFormat":1}],"root":[[46,58]],"options":{"composite":true,"declaration":true,"declarationDir":"./dist","declarationMap":true,"esModuleInterop":true,"module":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"strict":true,"target":7},"referencedMap":[[68,1],[61,2],[65,3],[63,4],[66,5],[64,6],[67,7],[60,8],[59,9],[75,10],[72,11],[74,12],[55,13],[46,13],[47,13],[48,13],[49,13],[52,13],[50,13],[51,13],[54,14],[58,15],[78,16],[83,17]],"latestChangedDtsFile":"./dist/index.d.ts","version":"5.9.3"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mentra/sdk",
3
- "version": "3.0.0-alpha.1",
3
+ "version": "3.0.0-alpha.4",
4
4
  "description": "Build apps for MentraOS smartglasses. This SDK provides everything you need to create real-time smartglasses applications.",
5
5
  "source": "src/index.ts",
6
6
  "main": "dist/index.js",