// =============================================
// sp-state.js — Shared mutable state
// All modules import from here — no circular deps
// =============================================

export const state = {
    nestEggMemory: {},
    chatHistory: [],
    config: { apiKey: '', model: 'gemini-2.5-flash', imageModel: 'imagen-4.0-generate-001', baseUrl: '', tavilyKey: '', cryptoKey: '', provider: 'gemini', defaultEmail: '', confirmBeforeAction: false, showHints: true, voiceVolume: 1.0, voiceURI: '' },
    currentUrl: '',
    agentRunning: false,
    autoVision: false,
    pidgeySessionToken: null,
    pidgeyDeviceId: null,
    activePersona: 'assist',
    isGenerating: false,
    tokensUsed: 0
};
