Zum Inhalt springen

CLI-Befehle — AI-Agent-Speicher aus dem Terminal verwalten

Terminal window
npx toon-memory # Interaktiver Installer (Agentenauswahl)
npx toon-memory init # Interaktive Einrichtung mit Agentenauswahl
npx toon-memory init --agent opencode # Nicht-interaktiv: Bestimmten Agenten konfigurieren
npx toon-memory init --agent opencode --agent claude # Mehrere Agenten konfigurieren
npx toon-memory init --agent opencode --scope global # Global konfigurieren
npx toon-memory mcp # MCP-Server direkt ausführen
npx toon-memory status # Installationsstatus prüfen
npx toon-memory stats # Speicherstatistiken anzeigen
npx toon-memory export # Speicher als JSON exportieren
npx toon-memory import <file> # Speicher aus JSON importieren
npx toon-memory watch [opts] # Automatische Sicherung mit Optionen
npx toon-memory upgrade # Auf neueste Version aktualisieren
npx toon-memory uninstall # Von allen Agenten entfernen
Option Beschreibung Standard
--agent <name> Nicht-interaktiv: Bestimmte Agenten konfigurieren. Für mehrere wiederholen. interaktiv
--scope <scope> local oder global — wo die Agentenkonfiguration gespeichert wird interaktiv
Option Beschreibung Standard
[interval] Sicherungsintervall in Minuten 5
-c, --compress gzip-Komprimierung aktivieren aus
-l, --log [path] Dateiprotokollierung aktivieren aus
-m, --max-backups <n> Max. Sicherungen behalten (0=unbegrenzt) 10
Terminal window
$ npx toon-memory stats
🧠 toon-memory stats
📊 Memory Stats
━━━━━━━━━━━━━━━━━━
Total entries: 45
├── decision: 12
├── pattern: 18
├── bug: 8
└── knowledge: 7
Last updated: 2026-07-10
File size: 12.4 KB
Terminal window
$ npx toon-memory export
🧠 toon-memory export
Exported 45 entries to:
/path/to/project/toon-memory-export.json
Terminal window
$ npx toon-memory import backup.json
🧠 toon-memory import
Imported 3 new entries
Skipped 2 duplicates
Terminal window
$ npx toon-memory watch 15 -c -m 20
🧠 toon-memory watch
Watching memory file every 15 minutes...
Max backups: 20
Compression: enabled
Logging: disabled
Press Ctrl+C to stop
📦 Backup #1 created: 2026-07-11T16-00-00-000Z
📦 Backup #2 created: 2026-07-11T16-15-00-00-000Z
^C
Watch stopped. 2 backups created.