monitor-webui fails to connect to the bd daemon because it calculates the socket path incorrectly. It expects beads.db.sock in a nested .beads directory, whereas the daemon listens on bd.sock in the .beads directory. Updated `getSocketPath` function to: - Check if dbPath directory is already .beads. - Use bd.sock as the socket name instead of [dbName].sock. - Handle both nested and non-nested cases correctly.
1.2 KiB
1.2 KiB