stage-7: CLI tool with full subcommands

echo status/doctor/restart/logs/sessions/channel/send commands, symlink at ~/.local/bin/echo. QA fix: discord chat handler tuple unpacking bug. 32 new tests (193 total).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
MoltBot Service
2026-02-13 13:29:39 +00:00
parent 5bdceff732
commit 09d3de003a
5 changed files with 716 additions and 11 deletions

View File

@@ -397,7 +397,7 @@ class TestOnMessage:
@patch("src.adapters.discord_bot.route_message")
async def test_chat_flow(self, mock_route, owned_bot):
"""on_message chat flow: reaction, typing, route, send, cleanup."""
mock_route.return_value = "Hello from Claude!"
mock_route.return_value = ("Hello from Claude!", False)
on_message = self._get_on_message(owned_bot)