import { notFound } from "next/navigation"; import AppShell from "@/components/shell/AppShell"; import VoicesPanel from "./VoicesPanel"; import { readManifest } from "@/lib/projects/report.mjs"; import { projectHref, readsHref } from "@/lib/hrefs"; import type { ProjectRef } from "@/lib/project-types"; // THE VOICES PAGE (operator, 6 Nov 2026: "pick different voices for different characters, and in UI alone be able // to try rendering different ones to compare … and try to maintain consistent voices for different repeating // characters"): /projects/
/voices -- every character the project's reads use and the voice each reads in now
// (and where it comes from: the cast, the project, the default), an audition of candidate voices side by side at
// one loudness with their closeness to the real voice, Use this voice (here, or everywhere: the cast) and the
// re-reads it asks for, and a recording made a character's read. The panel is VoicesPanel; the routes
// /api/report/voices (the CLI's own commands: umtool cast).
type Entry = { id: string; type?: string; handle?: string; author?: string; text?: string };
export default async function VoicesPage({ project, search = {} }: { project: ProjectRef; search?: Record