Libra CodeHub

CedarCopilot/cedar-mail

Branch: staging

fix(drafting): rewrite an existing draft in place instead of duplicating it

merged#2540CedarCopilot

CedarCopilot wants to merge 0 commits into staging from fix/draft-rewrite-in-place

6 files changed

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

  • modifiedapps/server/src/mastra/tools/draft-comms/__tests__/draftCommsTool.test.ts+9-2
  • modifiedapps/server/src/mastra/tools/draft-comms/__tests__/saveDraftTool.test.ts+43-0
  • modifiedapps/server/src/mastra/tools/draft-comms/draftCommsTool.ts+9-0
  • modifiedapps/server/src/mastra/tools/draft-comms/saveDraftTool.ts+18-3
  • addedapps/server/src/services/drafting/__tests__/create-draft-rewrite-in-place.test.ts+92-0
  • modifiedapps/server/src/services/drafting/drafting.ts+72-2