|
Download README.md from AnthropicallyHuggingFaces/klaw-sync-console: direct link, hf CLI and curl.
- Browser
- Download file 1.07 kB
-
https://huggingface.co/spaces/AnthropicallyHuggingFaces/klaw-sync-console/resolve/main/README.md
- Command line
-
hf download hf://spaces/AnthropicallyHuggingFaces/klaw-sync-console/README.md
-
curl -L -o README.md https://huggingface.co/spaces/AnthropicallyHuggingFaces/klaw-sync-console/resolve/main/README.md
1.07 kB
| 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). | |