- applications/iknowyou: new Next.js chat application with persona-aware conversations, briefing API, cohort logic, vLLM streaming, and sidebar navigation - tidal M8: add replication control plane (control.rs), tenant migration state machine (migration.rs), tenant/upgrade coordinators, cluster/fault test harnesses - tidal M8 tests: expand m8p2/m8p3/m8p4 test suites; add m8p5_multitenancy and m8_uat - tidal db: split replication_ops out of db/mod.rs (was 647 lines, now 574) - .claude: add kai-park, kaya-osei, mira-vasquez agents; add aeries-design-architect, aeries-fullstack-engineer, aeries-product-visionary skills - docs: update ROADMAP.md Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
22 lines
600 B
TypeScript
22 lines
600 B
TypeScript
import { assembleBrief } from "@/lib/briefing";
|
|
|
|
export async function GET(
|
|
_req: Request,
|
|
{ params }: { params: Promise<{ personId: string }> }
|
|
) {
|
|
const { personId } = await params;
|
|
|
|
if (!personId) {
|
|
return Response.json({ error: "personId required" }, { status: 400 });
|
|
}
|
|
|
|
try {
|
|
const brief = await assembleBrief(personId);
|
|
return Response.json(brief);
|
|
} catch (err) {
|
|
const message = err instanceof Error ? err.message : "Brief assembly failed";
|
|
console.error("[brief] GET failed:", message);
|
|
return Response.json({ error: message }, { status: 500 });
|
|
}
|
|
}
|