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

// Two outreach upgrades. (1) Voice now learns from the sender's prior emails OF THE SAME
// PURPOSE (larger, purpose-weighted sample, not just recent). (2) Tier-B sending: with the
// gmail.compose scope authorized, an approved draft can be created straight into the
// sender's Gmail (and therefore Superhuman) Drafts — as an in-thread reply when there's an
// active thread, or a fresh email otherwise. Our code only ever CREATES a draft; the human
// sends from Gmail (guardrails #4, #6). No schema change.
export const v_0_1_0_71 = VersionInfo.of({
  version: '0.1.0:71',
  releaseNotes: {
    en_US: [
      'Outreach: drafts now learn your voice from your prior emails of the same purpose (a',
      'bigger, more relevant sample), and a new "Create Gmail draft" button drops the approved',
      'draft into your Gmail Drafts — as an in-thread reply for follow-ups — for you to review',
      'and send. Nothing is sent automatically.',
    ].join(' '),
  },
  migrations: { up: async () => {}, down: async () => {} },
})
