feat: post_observe hook 系统注入 intent_session
- 每次 tool_result 后检查 intent_session,非空则注入 InMemoryMemory + SessionMemory - read_pending_messages 消费后 intent_session 已空,hook 自动跳过 - 3 个测试覆盖正常注入、空跳过、工具消费后跳过 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Showing
2 changed files
with
234 additions
and
0 deletions
-
Please register or sign in to post a comment