Skip to content

[codex] Fix OpenClaw gateway v4 and emoji display handling#1

Merged
ndrco merged 1 commit into
mainfrom
codex/openclaw-v4-emoji-display
Jun 1, 2026
Merged

[codex] Fix OpenClaw gateway v4 and emoji display handling#1
ndrco merged 1 commit into
mainfrom
codex/openclaw-v4-emoji-display

Conversation

@ndrco

@ndrco ndrco commented Jun 1, 2026

Copy link
Copy Markdown
Owner

What changed

Updated Listener for the latest OpenClaw Gateway protocol and kept emoji-display working even when speaker playback is disabled.

Why

The recent OpenClaw update moved Gateway clients to protocol v4. Listener still used protocol v3 in both its input-side and speaker-side Gateway clients, which caused websocket compatibility failures. While fixing that, we also decoupled emoji-display delivery from TTS playback so emoji still show when speaker is turned off.

Impact

  • Listener websocket calls now negotiate protocol v4.
  • SpeakerAgent can stay connected for emoji delivery when speech is disabled.
  • Listener systemd template exports a PATH that includes the local openclaw binary for CLI fallback.

Validation

  • /home/re/Applications/Listener/.venv/bin/python -m pytest /home/re/Applications/Listener/tests/test_openclaw_gateway.py
  • /home/re/Applications/Listener/.venv/bin/python -m pytest /home/re/Applications/Listener/tests/test_speaker_agent.py

@ndrco ndrco marked this pull request as ready for review June 1, 2026 17:56
@ndrco ndrco merged commit 44a76de into main Jun 1, 2026
1 check passed
@ndrco ndrco deleted the codex/openclaw-v4-emoji-display branch June 1, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant