Files
recap/startos/versions/v0.2.70.ts
T
Keysat 0ae59f3550 Add multi-tenant cloud mode: self-serve purchase, credit metering, core-decoupling
Introduces RECAP_MODE=multi alongside single-mode self-host:
- Tenant auth + accounts (magic-link via System SMTP), per-tenant credit pool,
  anonymous trial minting with per-IP/-64 caps
- Self-serve Pro/Max purchase: inline Lightning (BTCPay) + card (Zaprite),
  prepaid 30-day periods, expiry-reminder emails
- Core-decoupling: relay owns cloud tier/expiry keyed by Recaps user-id
- SQLite (better-sqlite3) schema for multi-mode; filesystem unchanged for single
- StartOS actions/versions through 0.2.155
2026-06-13 14:25:05 -05:00

14 lines
1.5 KiB
TypeScript

import { VersionInfo } from '@start9labs/start-sdk'
export const v_0_2_70 = VersionInfo.of({
version: '0.2.70:0',
releaseNotes: {
en_US:
'Library entries now carry the real video / podcast title for relay-mode submissions instead of falling back to "Untitled". Root cause: when both transcribe-provider and analyze-provider are set to "Recap Relay", Recap takes a fast-path branch (server/index.js ~line 2118) that delegates the whole pipeline to the relay\'s /relay/summarize-url endpoint — meaning Recap itself never runs yt-dlp to fetch YouTube metadata, never invokes the podcast resolver, and so has no title to save with the history record. The relay DID extract the title internally (via yt-dlp during the download step) but didn\'t echo it back. Fix is split across the two packages: relay 0.2.53 adds `title` to the markComplete result envelope; this Recap release reads `relayResult.title` from the provider client return value (server/providers/relay.js), trims it, and uses it for the saveToHistory call AND the transcript_ready + result SSE events the browser consumes. Net effect: paste a YouTube URL with both providers set to relay, see "Sovereignty & Purpose in the Information Era w/ Matt Hill" (or whatever the actual YouTube title is) in the library sidebar — not "Untitled". Backwards compatible with older relays: when finalResult.title is null (relay < 0.2.53), the old titleSurrogate fallback path still applies.',
},
migrations: {
up: async ({ effects }) => {},
down: async ({ effects }) => {},
},
})