klaw-sync-console / README.md
AnthropicallyHuggingFaces's picture
klaw-sync: README
db085ff verified
|
Raw History Blame Contribute Delete
1.07 kB
metadata
title: KLAW Sync
emoji: 🧠
colorFrom: indigo
colorTo: blue
sdk: docker
app_port: 7860
pinned: true

klaw-sync — KLAW Command Center state + tool gateway

Source of truth for KLAW Command Center v5 state across browsers/devices (revision-numbered WebSocket sync), plus TEI embeddings proxy, Gemini-grounded vendor discovery, Docling OCR, and SecondBrain matrix storage/search.

Setup

  1. Settings → Storage: attach a Storage Bucket mounted at /data (state + matrix survive restarts).
  2. Settings → Variables & secrets: GEMINI_API_KEY (secret), optional TEI_URL, optional KLAW_WS_TOKEN (shared token; clients pass ?token=).
  3. In KLAW Command Center → NEXUS → ⚙ Sync Settings paste wss://<this-space-host>/ws.

Endpoints: WS /ws?workspace= · GET|POST /state/{workspace} · POST /embed · POST /vendors · POST /ocr · POST /matrix/upload · GET /matrix/{name} · GET /matrix/search?q= · GET /health

Credentials are never written to state, logs, or responses (_scrub strips credential-shaped keys defensively).