Compare commits

..

No commits in common. "069e3cb4ec28ff720279e47d2a2131cc028602d4" and "dbd36c997d7538e0ed3079f788c79a037ee8e092" have entirely different histories.

4 changed files with 4 additions and 127 deletions

View File

@ -1,75 +0,0 @@
# KPT-LABS — README First für Opencode
> **Stand**: 2026-06-22 16:00
> **Nächster Agent**: OWL (CEO/Projektleiter)
## 🎯 Projektübersicht
KPT-LABS ist ein Multi-Agent AI Dashboard mit zentralem Kommandozentrum.
## 🏗️ Aktuelle Architektur
```
┌─────────────────────────────────────────────────────────────┐
│ KPT-LABS Agent OS │
├─────────────────────────────────────────────────────────────┤
│ Dashboard :3000 (Next.js + SQLite) │
│ Ollama :11434 (lokal, kostenlos) │
│ OpenRouter (API Keys in dashboard/.env) │
│ Obsidian Vault (Second Brain) │
└─────────────────────────────────────────────────────────────┘
```
## 🔑 API Key Rotation
- **Dashboard**: http://localhost:3000/dashboard/system
- **Rotation Chain**: Key+Model Kombinationen in Reihenfolge
- **Auto-Rotation**: Bei 429 automatisch zum nächsten Key
- **Provider**: OpenRouter, NVIDIA, Ollama (lokal), Ollama Cloud
## 📂 Wichtige Pfade
- **Projekt**: `E:\OpenCode_Projekte\KPT-LABS`
- **Dashboard**: `E:\OpenCode_Projekte\KPT-LABS\dashboard`
- **API Keys Config**: `E:\OpenCode_Projekte\KPT-LABS\dashboard\.env`
- **Database**: `E:\OpenCode_Projekte\KPT-LABS\dashboard\data\kptlabs.db`
- **Obsidian Vault**: `E:\OpenCode_Projekte\obsidianVault`
- **System Scripts**: `E:\OpenCode_Projekte\KPT-LABS\system`
- **System Memory**: `E:\OpenCode_Projekte\obsidianVault\05-Dashboard\System-Memory.md`
## 🚀 Quick Start
```bash
# Dashboard starten (Dev Mode)
cd E:\OpenCode_Projekte\KPT-LABS\dashboard
npm run dev
# Dashboard bauen (Production)
npm run build
npm start
# Ollama prüfen
curl http://localhost:11434/api/tags
```
## 📝 Regeln für Opencode
1. **Immer im Projekt-Root**: `E:\OpenCode_Projekte\KPT-LABS`
2. **Port 3000 muss frei sein** vor dem Start
3. **Keine API-Keys in Code hardcoden** — immer `.env` nutzen
4. **DB-Änderungen**: Migration-Script in `system/migrations/` erstellen
5. **Nach großen Änderungen**: Vault committen
6. **Session Compression**: Bei langen Sessions Zusammenfassung erstellen
## ⚠️ Bekannte Issues
1. **Next.js TS Errors** — Dependencies haben TS Probleme (strict: false als Workaround)
2. **Ollama Cloud** — Braucht API Key für ollama.com
3. **Session Compression UI** — Noch nicht im Dashboard implementiert
## 🔄 Nächste Schritte
1. Session Compression UI Button im Dashboard
2. Telegram Bot 2 — /key rotate Command
3. Automatische Rotation bei 429 (Cron-Job)
4. Context Memory Link für OWL

View File

@ -1,5 +1,5 @@
{
"timestamp": "2026-06-22T17:00:35.778736",
"timestamp": "2026-06-22T14:00:11.932377",
"version": "2.0.0",
"tokenUsage24h": {
"requests": 0,
@ -16,8 +16,8 @@
"failures": 0
},
"vault": {
"totalFiles": 37,
"totalSizeKB": 100
"totalFiles": 36,
"totalSizeKB": 97
},
"scheduledTasks": {
"total": 0,

View File

@ -1,48 +0,0 @@
{
"timestamp": "2026-06-23T09:00:51.983478",
"version": "2.0.0",
"agentState": {
"uptime": 0,
"totalSessions": 0,
"totalMessages": 0,
"health": "healthy",
"lastActive": "2026-06-22 15:12:30",
"lastModel": "openrouter/deepseek/deepseek-v4-flash",
"lastProvider": "openrouter"
},
"tokenUsage24h": {
"requests": 0,
"tokens": 0,
"cost": 0,
"avgLatency": 0,
"sessions": 0,
"models": 0
},
"providers": [],
"obsidianSync": {
"totalSyncs": 0,
"tokensSaved": 0,
"failures": 0
},
"vault": {
"totalFiles": 37,
"totalSizeKB": 100
},
"scheduledTasks": {
"total": 0,
"active": 0
},
"knowledge": {
"entries": 0,
"ideas": 0,
"newIdeas": 0
},
"inbox": {
"active": 3,
"archived": 0
},
"youtube": {
"total": 5,
"processed": 5
}
}

View File

@ -1,6 +1,6 @@
# 🚀 KPT-LABS Agent OS — System Recovery & Onboarding Guide
> **Letzte Aktualisierung:** 23.06.2026 09:00 | **Version:** 2.0.0
> **Letzte Aktualisierung:** 22.06.2026 14:00 | **Version:** 2.0.0
> **Vault Hash:** `v1.0-20260619-1400`
---