# plugin_slots — llama.cpp Slots Monitor for SCORPIOX BOT Zero-dependency pure C99 dynamic plugin for **SCORPIOX BOT** showing live `llama.cpp` server slot status for the active session or any custom `llama-server` URL. ## Features - **Auto-tracks active `/chat` session**: reads `/slots.json` published by SCORPIOX CODE. - **Direct llama.cpp URL probing**: optionally enter any `http(s)://host:port` to inspect `/slots` directly from the Sessions Hub, Session Card, or Chat. - **Full slot telemetry**: slot count, `DSpark` indicator, idle vs. generating state, `tg` / `pp` tok/s, prompt tokens & KV cache hit %, decoded / remaining tokens, context fill bar, and stale detection (>15 s). - **Native dual theme**: honors SCORPIOX BOT dark/light theme handoff (`?theme=`, `postMessage('sx-theme')`, `?embed=1`). ## Build & Test ```sh make make test ``` ## Install Install from **Settings → Plugins → Marketplace** in SCORPIOX BOT, or copy `plugin_slots` into `~/.scorpiox/plugins/`. ## License MIT License — Copyright (c) 2026 SCORPIOX INC