/** SDK-owned platform module. This implementation is maintained in goodvibes-sdk. */
/**
 * Returns the default initial state for the discovery domain.
 */
export function createInitialDiscoveryState() {
    return {
        revision: 0,
        lastUpdatedAt: 0,
        source: 'init',
        indexStatus: 'uninitialized',
        fileCount: 0,
        dirCount: 0,
        lastIndexedAt: undefined,
        lastIndexDurationMs: undefined,
        indexError: undefined,
        fileWatcher: {
            active: false,
            watchedPaths: 0,
            eventCount: 0,
            lastEventAt: undefined,
        },
        languageServers: new Map(),
        activeServerCount: 0,
        treeSitterReady: false,
        treeSitterLanguages: [],
    };
}
