- 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>
25 lines
696 B
TypeScript
25 lines
696 B
TypeScript
"use client";
|
|
|
|
import { useChatStore } from "@/lib/store";
|
|
|
|
export function PersonSwitcher() {
|
|
const personId = useChatStore((s) => s.personId);
|
|
const switchPerson = useChatStore((s) => s.switchPerson);
|
|
|
|
const short = personId.slice(0, 8);
|
|
|
|
return (
|
|
<div className="px-4 py-2 border-b border-border flex items-center justify-between">
|
|
<span className="text-text-faint text-[11px] font-mono tracking-tight">
|
|
{short}
|
|
</span>
|
|
<button
|
|
onClick={() => switchPerson()}
|
|
className="text-text-faint hover:text-text text-[11px] transition-colors px-1.5 py-0.5 rounded hover:bg-bg-hover"
|
|
>
|
|
switch identity
|
|
</button>
|
|
</div>
|
|
);
|
|
}
|