import { VersionInfo } from '@start9labs/start-sdk'

// Email Capture admin panel + email-into-grounding wiring. The new "Email Capture"
// page (admin-only) shows whether Gmail capture is on, lets an admin enroll Ten31
// mailboxes, sync now, and re-match emails to investors — so capture can be turned
// on from the UI instead of an API call. Backend: the Architect's grounding corpus
// now includes matched email bodies (through the redaction boundary, never to Claude
// directly), inert until a mailbox is enrolled. No schema migration.
export const v_0_1_0_59 = VersionInfo.of({
  version: '0.1.0:59',
  releaseNotes: {
    en_US: [
      'New Email Capture page (admin): see whether Gmail capture is on, enroll your Ten31',
      'mailboxes, sync now, and re-match emails to investors — all from the UI. Once capture',
      'is on, the Architect can ground the thesis in what LPs actually wrote, through the',
      'redaction boundary. Requires domain-wide delegation authorized in Google Workspace.',
    ].join(' '),
  },
  migrations: { up: async () => {}, down: async () => {} },
})
