rayhpeng
52e7acafee
feat(events): align message events with checkpoint format and add middleware tag injection
...
- Message events (ai_message, ai_tool_call, tool_result, human_message) now use
BaseMessage.model_dump() format, matching LangGraph checkpoint values.messages
- on_tool_end extracts tool_call_id/name/status from ToolMessage objects
- on_tool_error now emits tool_result message events with error status
- record_middleware uses middleware:{tag} event_type and middleware category
- Summarization custom events use middleware:summarize category
- TitleMiddleware injects middleware:title tag via get_config() inheritance
- SummarizationMiddleware model bound with middleware:summarize tag
- Worker writes human_message using HumanMessage.model_dump()
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 20:52:27 +08:00
..
2026-03-14 22:55:52 +08:00
2026-03-27 20:03:30 +08:00
2026-04-01 11:42:12 +08:00
2026-03-31 22:19:27 +08:00
2026-03-31 22:33:35 +08:00
2026-03-22 20:34:01 +08:00
2026-03-26 17:44:25 +08:00
2026-03-14 22:55:52 +08:00
2026-03-29 15:34:38 +08:00
2026-03-14 22:55:52 +08:00
2026-03-22 17:29:29 +08:00
2026-03-30 07:41:18 +08:00
2026-03-26 14:20:18 +08:00
2026-03-29 21:03:58 +08:00
2026-03-29 21:03:58 +08:00
2026-03-30 17:25:47 +08:00
2026-03-14 22:55:52 +08:00
2026-04-04 09:04:37 +08:00
2026-03-29 15:31:18 +08:00
2026-03-29 16:45:31 +08:00
2026-03-22 22:39:50 +08:00
2026-03-27 07:41:06 +08:00
2026-03-26 00:20:08 +08:00
2026-03-31 22:19:27 +08:00
2026-04-02 19:10:11 +08:00
2026-03-26 14:20:18 +08:00
2026-04-01 11:15:56 +08:00
2026-03-23 18:07:33 +08:00
2026-03-14 22:55:52 +08:00
2026-03-26 14:20:18 +08:00
2026-03-27 20:03:30 +08:00
2026-04-04 20:52:27 +08:00
2026-03-31 22:22:30 +08:00
2026-03-29 21:03:58 +08:00
2026-03-29 21:31:29 +08:00
2026-03-25 08:00:01 +08:00
2026-03-14 22:55:52 +08:00
2026-03-14 22:55:52 +08:00
2026-03-26 14:20:18 +08:00
2026-03-26 14:20:18 +08:00
2026-03-30 17:25:47 +08:00
2026-03-29 15:34:38 +08:00
2026-03-30 17:25:47 +08:00
2026-03-14 22:55:52 +08:00
2026-03-22 20:39:26 +08:00
2026-04-03 17:26:11 +08:00
2026-03-20 17:18:59 +08:00
2026-03-26 15:07:05 +08:00
2026-04-03 17:26:11 +08:00
2026-03-14 22:55:52 +08:00
2026-02-25 08:39:29 +08:00
2026-03-14 22:55:52 +08:00
2026-03-14 22:55:52 +08:00
2026-04-02 19:36:15 +08:00
2026-04-04 20:52:27 +08:00
2026-03-31 22:22:30 +08:00
2026-04-02 19:36:15 +08:00
2026-03-30 07:48:31 +08:00
2026-03-29 23:21:06 +08:00
2026-03-30 16:02:23 +08:00
2026-03-26 14:20:18 +08:00
2026-03-25 16:28:33 +08:00
2026-03-26 17:39:16 +08:00
2026-03-26 14:20:18 +08:00
2026-03-25 10:17:40 +08:00
2026-03-27 20:20:31 +08:00
2026-03-30 16:02:23 +08:00
2026-03-30 16:02:23 +08:00
2026-03-14 22:55:52 +08:00
2026-03-25 10:20:16 +08:00
2026-03-29 21:03:58 +08:00
2026-03-14 22:55:52 +08:00
2026-03-22 19:59:54 +08:00
2026-03-29 21:03:58 +08:00
2026-03-26 17:39:16 +08:00
2026-04-02 19:36:15 +08:00
2026-03-24 00:36:08 +08:00
2026-03-14 22:55:52 +08:00
2026-03-19 15:46:31 +08:00
2026-03-26 00:20:50 +08:00
2026-03-26 14:20:18 +08:00
2026-03-14 22:55:52 +08:00
2026-03-30 11:23:15 +08:00
2026-03-14 22:55:52 +08:00
2026-03-26 17:39:16 +08:00
2026-03-14 22:55:52 +08:00
2026-03-27 17:37:44 +08:00