Voice only pr - #1
Open
JereC4str0 wants to merge 5 commits into
Open
Conversation
- voice-chat.html: Web Speech API (STT + TTS), WebSocket chat, mic hold-to-talk - server.js: add GET /voice endpoint to serve the UI - Connects directly to bot server WS /ws and POST /chat/send
…essages - Read API/WS URLs from inputs in real time instead of caching on load - Reconnect WebSocket automatically when URL inputs change - Update default URLs from 3001 to 3002 - Clear chat history on each WS message to prevent duplicate accumulation (server broadcasts full chatLog slice on every message)
voice-chat.html was sending POST /chat/send without the 'as' field, so messages appeared as coming from HermesBot itself. The agent filters out messages from the bot username, so voice input was silently ignored. - Add player name input field (default: JereC4str0) - Include 'as' field in the POST body so the bot server routes the message via /tellraw with the player's name - Agent now receives voice messages as chat triggers from the player Also gave OP to JereC4str0 and ViejoMafic via rcon-cli.
This was referenced May 9, 2026
3 tasks
nicoechaniz
added a commit
that referenced
this pull request
May 31, 2026
…te, interoception Implements all 4 priority fixes from the Claude+Grok forum review (2026-05-31): 1. GAP #5 — L4 judge verdict feedback into next heartbeat - agent_loop.py: extract l4_verdict from /judge/pending, compact format - daemoncraft.py: inject [L4 last] line into heartbeat prompt - server.js: judgeAction sets initiator='l4_agent' + ts for seconds_ago 2. GAP #1+#2 — Registry normalization + real cancellation - action-registry.js: REG_KEY alias helper + direct aliases for dig/place/collect/place_fill - mutex.js: stopDigging() + ON_ABORT dispatch with 750ms timeout + performance.now() - server.js: REG_KEY in /action wrapper, ON_ABORT in /action/stop finally block 3. GAP #3+#4 — Auto-eat gated behind ENABLE_AUTO_EAT_PLUGIN env var - server.js: plugin load + config wrapped in feature flag (default: disabled) - runner/thread.py: ensure eat path works with plugin disabled 4. Interoception enrichment — body_activity block in heartbeat - agent_loop.py: compact body_activity string from runner + action data - daemoncraft.py: [Body] line in prompt Tests: registry-normalization.test.js (10 tests), test_l4_verdict_injection.py Co-authored-by: Grok Build <grok@x.ai>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Feature: Voice Chat Web UI