[kimi] Add bark message producer for Matrix bark messages (#671) #732

Merged
kimi merged 1 commits from kimi/issue-671 into main 2026-03-21 14:01:43 +00:00

1 Commits

Author SHA1 Message Date
kimi
30d83162d6 feat: Add produce_bark message producer for Matrix bark messages
Some checks failed
Tests / lint (pull_request) Has been cancelled
Tests / test (pull_request) Has been cancelled
Adds produce_bark() to src/infrastructure/presence.py that formats
chat responses as Matrix bark messages with:
- type='bark', agent_id, data={text, reply_to, style}, ts
- style defaults to 'speech', supports 'thought', 'whisper', 'shout'
- Text truncated to 280 characters
- Invalid styles fall back to 'speech'

Adds comprehensive tests for all bark functionality.

Fixes #671
2026-03-21 09:59:30 -04:00