import { VersionInfo } from '@start9labs/start-sdk' // Phase-A of the daily activity digest: outbound SMTP send capability. Code-only, // no schema change (migrations are no-ops): // * New "Configure Digest SMTP" StartOS action (actions/configureDigestSmtp.ts): // writes a per-package, custom SMTP account to /data/secrets/smtp/{host,port, // from,username,password,security} — independent of any StartOS system-wide // SMTP account. Password is piped over stdin (never argv/env), like the // Anthropic-key action. // * docker_entrypoint.sh reads those files at boot and exports SMTP_* into the // server process (env still wins for an operator override). // * backend/smtp_send.py: stdlib smtplib wrapper reading SMTP_* (one code path // for dev .env and the box). New admin endpoint POST /api/admin/digest/test-email // sends a test message to the requesting `to` or to all active admins, to prove // the pipe before the digest itself (Phase B) is built. export const v_0_1_0_75 = VersionInfo.of({ version: '0.1.0:75', releaseNotes: { en_US: [ 'Add outbound email: a "Configure Digest SMTP" action sets a dedicated mailbox for this', 'service (no server-wide SMTP account required), and a new admin "send test email" action', 'verifies it works — groundwork for the daily activity digest.', ].join(' '), }, migrations: { up: async () => {}, down: async () => {} }, })