MCPcopy Index your code
hub / github.com/QLHazyCoder/FlowPilot / getPersistedAliasState

Function getPersistedAliasState

background.js:869–883  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

867}
868
869async function getPersistedAliasState() {
870 try {
871 const stored = await chrome.storage.local.get(PERSISTENT_ALIAS_STATE_KEYS);
872 return {
873 manualAliasUsage: normalizeBooleanMap(stored.manualAliasUsage),
874 preservedAliases: normalizeBooleanMap(stored.preservedAliases),
875 };
876 } catch (err) {
877 console.warn(LOG_PREFIX, 'Failed to read persisted iCloud alias state:', err?.message || err);
878 return {
879 manualAliasUsage: {},
880 preservedAliases: {},
881 };
882 }
883}
884
885async function getState() {
886 const [state, persistedSettings, persistedAliasState, accountRunHistory] = await Promise.all([

Callers 2

getStateFunction · 0.85
resetStateFunction · 0.85

Calls 1

normalizeBooleanMapFunction · 0.85

Tested by

no test coverage detected