mirror of
https://github.com/Jeuners/agenttwo-tools.git
synced 2026-09-17 02:36:11 +02:00
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:
parent
c8b74892ef
commit
ea87c350a5
19 changed files with 989 additions and 130 deletions
|
|
@ -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 (?, ?, ?, ?)",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue