feat(arena): forward chat history to spawned agents

Add stripStartupContext to remove env-info from parent history and pass
chatHistory through ArenaManager → InProcessBackend → AgentInteractive →
AgentCore. This allows arena agents to start with conversational context
from the main session.

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
tanzhenxin 2026-03-10 19:45:14 +08:00
parent 89f8751233
commit 9f7e3e054f
15 changed files with 249 additions and 2 deletions

View file

@ -155,6 +155,7 @@ export const AgentChatView = ({ agentId }: AgentChatViewProps) => {
),
// eslint-disable-next-line react-hooks/exhaustive-deps
[
agentId,
messages.length,
pendingApprovals?.size,
liveOutputs?.size,