refactor: trim bluebubbles config helper exports

This commit is contained in:
Peter Steinberger
2026-05-01 16:06:22 +01:00
parent 8bd9e227a0
commit 7df025f457
2 changed files with 4 additions and 7 deletions

View File

@@ -19,7 +19,7 @@ type BlueBubblesTarget =
| { kind: "chat_identifier"; chatIdentifier: string }
| { kind: "handle"; to: string; service: BlueBubblesService };
export type BlueBubblesAllowTarget = ParsedChatTarget | { kind: "handle"; handle: string };
type BlueBubblesAllowTarget = ParsedChatTarget | { kind: "handle"; handle: string };
const CHAT_ID_PREFIXES = ["chat_id:", "chatid:", "chat:"];
const CHAT_GUID_PREFIXES = ["chat_guid:", "chatguid:", "guid:"];

View File

@@ -2,10 +2,7 @@ import { fetchWithRuntimeDispatcherOrMockedGlobal } from "openclaw/plugin-sdk/ru
import type { DmPolicy, GroupPolicy } from "openclaw/plugin-sdk/setup";
import { fetchWithSsrFGuard, type SsrFPolicy } from "openclaw/plugin-sdk/ssrf-runtime";
export type { SsrFPolicy } from "openclaw/plugin-sdk/ssrf-runtime";
export type { DmPolicy, GroupPolicy } from "openclaw/plugin-sdk/setup";
export type BlueBubblesGroupConfig = {
type BlueBubblesGroupConfig = {
/** If true, only respond in this group when mentioned. */
requireMention?: boolean;
/** Optional tool policy overrides for this group. */
@@ -17,7 +14,7 @@ export type BlueBubblesGroupConfig = {
systemPrompt?: string;
};
export type BlueBubblesActionConfig = {
type BlueBubblesActionConfig = {
reactions?: boolean;
edit?: boolean;
unsend?: boolean;
@@ -31,7 +28,7 @@ export type BlueBubblesActionConfig = {
sendAttachment?: boolean;
};
export type BlueBubblesNetworkConfig = {
type BlueBubblesNetworkConfig = {
/** Dangerous opt-in for same-host or trusted private/internal BlueBubbles deployments. */
dangerouslyAllowPrivateNetwork?: boolean;
};