Core service for managing third-party applications in MentraOS
app.service.ts
) is the central registry and management system for all third-party applications (TPAs) in MentraOS. It handles app discovery, authentication, webhook interactions, and maintains the app ecosystem.
packages/cloud/src/services/core/app.service.ts
getAllApps(userId?: string)
getApp(packageName: string)
validateApiKey(packageName: string, apiKey: string)
generateAppToken(packageName: string, userId: string, sessionId: string)
INITIALIZING
: App is starting upCONNECTED
: App is readyRESURRECTING
: App is reconnectingSTOPPED
: App has been terminatedapps
collectionusers
collectionSYSTEM_DASHBOARD_PACKAGE_NAME
: Package name for system dashboardNODE_ENV
: Determines if debug apps are loadedDEBUG_APPS
: Force load debug apps in productionappstore.service.ts
: App store functionalitydeveloper.service.ts
: Developer portal featurestools.service.ts
: Tool execution system