Skip to content
Open
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
3 changes: 2 additions & 1 deletion packages/happy-cli/src/api/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,8 @@ export const MessageMetaSchema = z.object({
customSystemPrompt: z.string().nullable().optional(), // Custom system prompt for this message (null = reset)
appendSystemPrompt: z.string().nullable().optional(), // Append to system prompt for this message (null = reset)
allowedTools: z.array(z.string()).nullable().optional(), // Allowed tools for this message (null = reset)
disallowedTools: z.array(z.string()).nullable().optional() // Disallowed tools for this message (null = reset)
disallowedTools: z.array(z.string()).nullable().optional(), // Disallowed tools for this message (null = reset)
effort: z.string().nullable().optional() // Effort level for this message (null = reset). happy-app sends this key; without it Zod strips the value before runClaude reads it.
})

export type MessageMeta = z.infer<typeof MessageMetaSchema>
Expand Down
Loading