import { buildSectionCardsPushText, extractCardsFromSectionIds, loadTodayNewsMorningHtml, } from './news-section-extract.mjs'; export async function formatTechPushDelivery(options = {}) { const { html, dateLabel, publicUrl } = await loadTodayNewsMorningHtml(options); const cards = html ? extractCardsFromSectionIds(html, ['tech', 'technews']) : []; return { text: buildSectionCardsPushText({ emoji: '🤖', label: 'AI / 科技早报', dateLabel, cards, maxItems: 5, includeSummary: true, publicUrl, cancelId: 5, }), verifiedHtmlUrls: publicUrl ? [publicUrl] : [], }; }