[kimi] feat: add agent_state message producer (#669) #698

Merged
kimi merged 1 commits from kimi/issue-669 into main 2026-03-21 13:46:11 +00:00

1 Commits

Author SHA1 Message Date
kimi
2b883dd35f feat: add agent_state message producer for Matrix frontend
Some checks failed
Tests / lint (pull_request) Has been cancelled
Tests / test (pull_request) Has been cancelled
Add produce_agent_state() to infrastructure/presence that converts
ADR-023 presence dicts into Matrix-compatible agent_state messages
with type, agent_id, data (display_name, role, status, mood, energy,
bark), and Unix timestamp.

Includes status derivation from current_focus (thinking/speaking/idle/online)
and comprehensive tests covering all fields, defaults, and status mapping.

Fixes #669

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-21 09:44:36 -04:00