feat: Installationsroutine für macOS (setup.sh)

- prüft macOS, Homebrew, Node 22+, npm-Abhängigkeiten, ffmpeg,
  whisper.cpp inkl. Modell, Piper inkl. Stimme, Ollama-Server und
  das Sprachmodell — fehlende Teile werden auf Nachfrage installiert
- Modi: interaktiv, --check (nur Prüfung), --yes (ohne Nachfragen)
- README: Schnellstart-Abschnitt (clone → setup → dev)
- npm run setup als Alias
This commit is contained in:
Jeuner 2026-08-28 13:35:16 +02:00
parent c8b74892ef
commit ea87c350a5
19 changed files with 989 additions and 130 deletions

View file

@ -103,6 +103,9 @@ export function appendEvent(
type: "message" | "tool_call",
payload: Record<string, unknown>,
): number {
if (typeof payload.content === "string") {
payload = { ...payload, content: payload.content.slice(0, 20_000) };
}
const res = db
.prepare(
"INSERT INTO memory_events (session_id, type, payload, created_at) VALUES (?, ?, ?, ?)",