fix: restore bluebubbles action config typing

This commit is contained in:
Shakker 2026-04-03 17:25:48 +01:00
parent a5e725a3b8
commit 91572df932
No known key found for this signature in database
2 changed files with 4 additions and 0 deletions

View File

@ -37,6 +37,7 @@ const bluebubblesAccountSchema = z
name: z.string().optional(),
enabled: z.boolean().optional(),
markdown: MarkdownConfigSchema,
actions: bluebubblesActionSchema,
serverUrl: z.string().optional(),
password: buildSecretInputSchema().optional(),
webhookPath: z.string().optional(),

View File

@ -18,6 +18,8 @@ export type BlueBubblesAccountConfig = {
capabilities?: string[];
/** Allow channel-initiated config writes (default: true). */
configWrites?: boolean;
/** Per-action tool gating (default: true for all). */
actions?: BlueBubblesActionConfig;
/** If false, do not start this BlueBubbles account. Default: true. */
enabled?: boolean;
/** Base URL for the BlueBubbles API. */
@ -74,6 +76,7 @@ export type BlueBubblesActionConfig = {
reply?: boolean;
sendWithEffect?: boolean;
renameGroup?: boolean;
setGroupIcon?: boolean;
addParticipant?: boolean;
removeParticipant?: boolean;
leaveGroup?: boolean;