package com.nexlab.openclaw.node

import android.app.Application
import com.nexlab.openclaw.node.data.remote.NodeClient
import com.nexlab.openclaw.node.data.repository.SettingsRepository
import dagger.hilt.android.HiltAndroidApp

@HiltAndroidApp
class OpenClawApp : Application() {

    // Manual dependency injection for NodeService (since we removed @AndroidEntryPoint)
    lateinit var nodeClient: NodeClient
        private set
    lateinit var settingsRepository: SettingsRepository
        private set

    override fun onCreate() {
        super.onCreate()
        // Initialize dependencies manually (without Hilt for NodeService)
        nodeClient = NodeClient()
        settingsRepository = SettingsRepository(this)
    }
}
