const fs = require('fs');
let html = fs.readFileSync('public/index.html', 'utf8');
const generateRow = (id, icon, name) => `
${icon}
${name}
0%
Loading...
`;
const newSection = `
${generateRow('poe', '🧠', 'POE')}
${generateRow('ag-gemini-5h', '🤖', 'AG Gemini (5h)')}
${generateRow('ag-gemini-weekly', '🤖', 'AG Gemini (Weekly)')}
${generateRow('ag-claude-5h', 'âš¡', 'AG Claude (5h)')}
${generateRow('ag-claude-weekly', 'âš¡', 'AG Claude (Weekly)')}
${generateRow('minimax-5h', '🔥', 'MiniMax (5h)')}
${generateRow('minimax-weekly', '🔥', 'MiniMax (Weekly)')}
`;
html = html.replace(/[\s\S]*?<\/section>/, newSection);
fs.writeFileSync('public/index.html', html);
console.log('updated index.html');