mirror of https://github.com/openclaw/openclaw.git
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:
parent
173359a496
commit
cf38adbebf
|
|
@ -58,6 +58,7 @@ export type StatusReactionsEmojiConfig = {
|
|||
error?: string;
|
||||
stallSoft?: string;
|
||||
stallHard?: string;
|
||||
compacting?: string;
|
||||
};
|
||||
|
||||
export type StatusReactionsTimingConfig = {
|
||||
|
|
|
|||
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Reference in New Issue