Libra CodeHub

CedarCopilot/cedar-mail

Branch: staging

fix(chat): propagate the real agentId on Path B instead of hardcoded literals

merged#2699CedarCopilot

CedarCopilot wants to merge 2 commits into staging from fix/chat-path-agentid-propagation

13 files changed

Libra does not show diffs here. View the full diff on GitHub.

  • modifiedapps/server/src/mastra/workflows/chat/__tests__/agent-bound-chat.test.ts+9-2
  • addedapps/server/src/mastra/workflows/chat/__tests__/apply-pending-mutation-agentid.test.ts+82-0
  • modifiedapps/server/src/mastra/workflows/chat/chat-workflow.ts+8-1
  • addedapps/server/src/mastra/workflows/chat/harness/__tests__/delegate-tool-scoping.test.ts+250-0
  • modifiedapps/server/src/mastra/workflows/chat/harness/__tests__/legacy-tool-name-map.test.ts+15-0
  • modifiedapps/server/src/mastra/workflows/chat/harness/__tests__/request-context.test.ts+70-1
  • addedapps/server/src/mastra/workflows/chat/harness/delegate-tool-scoping.ts+148-0
  • modifiedapps/server/src/mastra/workflows/chat/harness/legacy-tool-name-map.ts+14-7
  • modifiedapps/server/src/mastra/workflows/chat/harness/mcp-server.ts+49-13
  • modifiedapps/server/src/mastra/workflows/chat/harness/request-context.ts+25-2
  • modifiedapps/server/src/mastra/workflows/chat/harness/subagents.ts+26-7
  • modifiedapps/server/src/mastra/workflows/chat/run-chat-agent-sdk.ts+89-29
  • modifiedapps/server/src/services/chat/pending-mutations.ts+11-0