Skip to content
Merged

Test #99

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
3. **NEVER push directly to `main` or `test` branches** - always use feature branches and PRs
4. Before pushing, verify the current branch is not `main` or `test`
5. **Open PRs against the `test` branch**, not `main`
6. After pushing, check if a PR exists for the branch. If not, create one with `gh pr create --base test`

### Starting a New Task

Expand Down
8 changes: 5 additions & 3 deletions lib/emails/sendEmailSchema.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { z } from "zod";

export const sendEmailSchema = z.object({
to: z.array(z.string().email()).describe("Recipient email address or array of addresses"),
to: z.array(z.email()).describe("Recipient email address or array of addresses"),
cc: z
.array(z.string().email())
.array(z.email())
.describe(
"Optional array of CC email addresses. active_account_email should always be included unless already in 'to'.",
)
Expand All @@ -26,7 +26,9 @@ export const sendEmailSchema = z.object({
.optional(),
room_id: z
.string()
.describe("Optional room ID to include in the email footer link")
.describe(
"Room ID to include in the email footer link. Use the active_conversation_id from context.",
)
.optional(),
});

Expand Down