Skip to content

Commit f75b30c

Browse files
authored
Merge pull request #99 from Recoupable-com/test
Test
2 parents b6fffb1 + da101e0 commit f75b30c

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
1111
3. **NEVER push directly to `main` or `test` branches** - always use feature branches and PRs
1212
4. Before pushing, verify the current branch is not `main` or `test`
1313
5. **Open PRs against the `test` branch**, not `main`
14+
6. After pushing, check if a PR exists for the branch. If not, create one with `gh pr create --base test`
1415

1516
### Starting a New Task
1617

lib/emails/sendEmailSchema.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { z } from "zod";
22

33
export const sendEmailSchema = z.object({
4-
to: z.array(z.string().email()).describe("Recipient email address or array of addresses"),
4+
to: z.array(z.email()).describe("Recipient email address or array of addresses"),
55
cc: z
6-
.array(z.string().email())
6+
.array(z.email())
77
.describe(
88
"Optional array of CC email addresses. active_account_email should always be included unless already in 'to'.",
99
)
@@ -26,7 +26,9 @@ export const sendEmailSchema = z.object({
2626
.optional(),
2727
room_id: z
2828
.string()
29-
.describe("Optional room ID to include in the email footer link")
29+
.describe(
30+
"Room ID to include in the email footer link. Use the active_conversation_id from context.",
31+
)
3032
.optional(),
3133
});
3234

0 commit comments

Comments
 (0)