Libra CodeHub

CedarCopilot/cedar-mail

Branch: staging

fix(drafting): let the drafting agent see and act on drafts already on a deal

closed#2567CedarCopilot

CedarCopilot wants to merge 2 commits into staging from fix/executor-sees-existing-drafts

12 files changed

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

  • modifiedapps/server/src/mastra/agents/on-event-execution-agent.ts+10-03 defects
  • modifiedapps/server/src/mastra/skills/drafting/drafting.ts+2-01 defect
  • addedapps/server/src/mastra/tools/draft-comms/deleteDraftTool.ts+159-0
  • modifiedapps/server/src/mastra/tools/event-execution/onEventExecutionDraftEmailTool.ts+43-54 defects
  • modifiedapps/server/src/mastra/tools/event-execution/orchestrator-dispatch-tools.ts+86-26 defects
  • modifiedapps/server/src/mastra/tools/subagent-tool-allowlists.ts+4-23 defects
  • modifiedapps/server/src/mastra/tools/task/__tests__/listTasksTool.draft-fetch.test.ts+4-3
  • modifiedapps/server/src/mastra/tools/task/listTasksTool.ts+14-261 defect
  • modifiedapps/server/src/mastra/tools/tool-names.ts+1-0
  • modifiedapps/server/src/mastra/utils/context-formatting/event-context.ts+5-21 defect
  • addedapps/server/src/services/drafting/__tests__/cedar-owned-drafts.test.ts+219-0
  • addedapps/server/src/services/drafting/cedar-owned-drafts.ts+263-0