Libra CodeHub

CedarCopilot/cedar-mail

Branch: staging

fix(mcp): scope cedar-staff-debug sessions to the MCP connection

merged#2765CedarCopilot

CedarCopilot wants to merge 1 commit into staging from fix/mcp-acting-session-scope-by-connection

9 files changed

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

  • modifiedapps/server/src/db/mcp-schema.ts+42-261 defect
  • addedapps/server/src/db/migrations/mcp_acting_session_scope_by_connection.sql+34-0
  • addedapps/server/src/mastra/mcp/external/__tests__/acting-session.test.ts+214-0
  • modifiedapps/server/src/mastra/mcp/external/acting-session.ts+48-181 defect
  • modifiedapps/server/src/mastra/mcp/external/cedar-staff-debug-tool.ts+18-131 defect
  • modifiedapps/server/src/mastra/mcp/external/resolve-session.ts+10-01 defect
  • modifiedapps/server/src/routes/__tests__/external-mcp.e2e.test.ts+49-0
  • modifiedapps/server/src/routes/external-mcp.ts+20-122 defects
  • modifieddocs/design/mcp-impersonation.md+21-71 defect