diff --git a/app.py b/app.py
index 56c3116..5985c1b 100644
--- a/app.py
+++ b/app.py
@@ -5,7 +5,7 @@ from pathlib import Path
from typing import Any, Awaitable, Callable
from fastapi import FastAPI, WebSocket, WebSocketDisconnect
-from fastapi.responses import FileResponse, HTMLResponse, JSONResponse
+from fastapi.responses import HTMLResponse, JSONResponse
from fastapi.staticfiles import StaticFiles
from supertonic_gateway import SuperTonicGateway
diff --git a/static/index.html b/static/index.html
index 0cc11ff..1f60db6 100644
--- a/static/index.html
+++ b/static/index.html
@@ -128,9 +128,6 @@
display: block;
pointer-events: auto;
}
- #agentIndicator .label {
- display: none;
- }
#agentIndicator.idle {
color: #6b3a28;
}
@@ -389,8 +386,7 @@
+
@@ -403,7 +399,6 @@
const remoteAudio = document.getElementById("remoteAudio");
const agentIndicator = document.getElementById("agentIndicator");
const agentVizEl = document.getElementById("agentViz");
- const agentLabel = agentIndicator.querySelector(".label");
const resetSessionBtn = document.getElementById("resetSessionBtn");
const toastContainer = document.getElementById("toast-container");
@@ -527,12 +522,6 @@
// --- Agent state indicator ---
const STATES = { idle: "idle", listening: "listening", thinking: "thinking", speaking: "speaking" };
- const STATE_COLORS = {
- [STATES.idle]: 0xfff5eb,
- [STATES.listening]: 0xfff5eb,
- [STATES.thinking]: 0xfff5eb,
- [STATES.speaking]: 0xfff5eb,
- };
let agentState = STATES.idle;
let agentVisualizer = null;
let lastRemoteAudioActivityS = 0;
@@ -541,7 +530,6 @@
agentState = state;
agentIndicator.classList.remove("listening", "thinking", "speaking", "idle");
agentIndicator.classList.add("visible", state);
- agentLabel.textContent = state === STATES.idle ? "" : state;
if (agentVisualizer) agentVisualizer.setState(state);
};
@@ -700,8 +688,6 @@
const CARD_IDLE_RGB = [212, 85, 63]; // #d4553f — connected idle coral
const CARD_LISTEN_RGB = [120, 40, 28]; // #782c1c — PTT active dark coral
- const setStateColor = (_state) => { /* no-op: MeshBasicMaterial, colour is fixed */ };
-
let prevCardRGB = "";
let targetConnected = 0.0;
let isConnecting = false;
@@ -819,7 +805,6 @@
requestAnimationFrame(renderFrame);
};
- setStateColor(currentState);
requestAnimationFrame(renderFrame);
return {
@@ -829,7 +814,6 @@
setState: (state) => {
if (!STATES[state]) return;
currentState = state;
- setStateColor(state);
},
setConnected: (connected) => {
targetConnected = connected ? 1.0 : 0.0;