• GraphChatBar.vue 里"context 变了才拼说明、没变不重复"这条逻辑原来直接写在
    <script setup> 里,脱不开组件测不了。照抄 agentChatEvents.js 的先例抽成
    chatContextInjection.js 的纯函数(buildOutgoingMessage/contextKey),配一份
    不用挂载组件就能跑的单测,锁住这条不变式。
    
    Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_01YCd5WFjL1m31FaJXKx1j7Z
    yibo authored
     
    Browse File »