- 유저 등록/관리 search now has 4 types: 유저(non-bot members), 봇(bot members),
통화방(current voice-channel members, bot flag enriched), 역할(roles — expandable
to the members under each role; register the role OR a member under it).
- Persist settings to a JSON state store (WSAI_STATE_FILE, default
~/.config/wsai/state.json) so they survive a service/container restart:
per-guild listen lists + bargeIn (BotControl), TTS base/overrides and the
chosen STT/LLM models (Dashboard). Applied on voice-server startup before warm.
- TTS 감정 선택에 최상단 "전체변경 (모든 감정)" 추가: 적용하면 base를 그 값으로 세팅하고
모든 per-emotion override를 지워 전 감정이 한 번에 그 값으로 말합니다.
- Move the component status bar (눈/시각/귀/LLM/입) above the bot bar.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Dashboard changes requested by the user:
- Merge 화이트리스트/블랙리스트 into one "👤 유저 등록/관리" button (the modal
already holds both lists).
- Remove the 음성 인식(STT) 테스트 section and its client JS.
- Add collapsible "⚙️ 봇 관련 설정" with a barge-in toggle: "유저 목소리 들을 때
봇이 말하던 것 중지" (default on). Stored via /api/bot/settings; the bot reads
it on its report round-trip and calls voicePlayer.stop() when an allowed user
starts speaking (dave/bot.mjs).
- Add collapsible "🧹 로그 관련 설정" with a "잡음 로그 표시 안 함" toggle (default
on, localStorage-backed): hides turns whose 들음 is (빈 결과) or 답변 is [잡음].
- Fix the fixed event/error log dock covering the bottom-most turn: syncDockPad()
pads main by the dock height (on load, log render, toggle, resize).
BotControl gains a settings store; /api/bot/report now also returns settings.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Per-guild listen filter stored in the control plane (BotControl) with
GET/POST /api/bot/lists; the filter also rides along in the bot report
response so the bot always has the latest config.
- 화이트리스트/블랙리스트 popup: search the guild's members OR roles (type
selector), add/remove to white/black, save. Whitelist = listen to only those
(empty = everyone); blacklist = exclude. Reuses the shared 뒤로가기 modal.
- Bot reports guild roles + known members for the search UI, and filters
incoming audio via a pure, unit-tested isAllowed() (dave/filter.mjs):
blacklist always excludes; a non-empty whitelist restricts; else everyone.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Adds a dashboard<->bot control plane (bot pushes state + polls commands, keeping
the bot's single outbound-HTTP direction):
- New bot_control.BotControl + endpoints: GET /api/bot/state, /api/bot/commands;
POST /api/bot/report, /api/bot/select.
- Dashboard header bar: bot identity/connection, server dropdown (top "없음"),
voice-channel dropdown (top "없음"), and live participant list.
- Turns record who spoke (Turn.speaker, via X-User-Name on the voice-turn POST).
- dave/bot.mjs: reports identity/guilds/voice-channels/members, polls join/leave
commands and joins dynamically, and sends the speaker's display name.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>