fix: add compacting emoji to config schema and zod validation

Allow users to customize the compacting status reaction emoji via
messages.statusReactions.emojis.compacting in config.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Cypherm 2026-03-12 18:04:21 +08:00 committed by Josh Lehman
parent 173359a496
commit cf38adbebf
No known key found for this signature in database
GPG Key ID: D141B425AC7F876B
2 changed files with 2 additions and 0 deletions

View File

@ -58,6 +58,7 @@ export type StatusReactionsEmojiConfig = {
error?: string;
stallSoft?: string;
stallHard?: string;
compacting?: string;
};
export type StatusReactionsTimingConfig = {

View File

@ -169,6 +169,7 @@ export const MessagesSchema = z
error: z.string().optional(),
stallSoft: z.string().optional(),
stallHard: z.string().optional(),
compacting: z.string().optional(),
})
.strict()
.optional(),