refactor: trim bluebubbles config helper exports · openclaw/openclaw@7df025f
steipete
·
2026-05-01
·
via Recent Commits to openclaw:main
File tree
extensions/bluebubbles/src
| Original file line number | Diff line number | Diff line change |
|---|
@@ -19,7 +19,7 @@ type BlueBubblesTarget =
|
19 | 19 | | { kind: "chat_identifier"; chatIdentifier: string } |
20 | 20 | | { kind: "handle"; to: string; service: BlueBubblesService }; |
21 | 21 | |
22 | | -export type BlueBubblesAllowTarget = ParsedChatTarget | { kind: "handle"; handle: string }; |
| 22 | +type BlueBubblesAllowTarget = ParsedChatTarget | { kind: "handle"; handle: string }; |
23 | 23 | |
24 | 24 | const CHAT_ID_PREFIXES = ["chat_id:", "chatid:", "chat:"]; |
25 | 25 | const CHAT_GUID_PREFIXES = ["chat_guid:", "chatguid:", "guid:"]; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -2,10 +2,7 @@ import { fetchWithRuntimeDispatcherOrMockedGlobal } from "openclaw/plugin-sdk/ru
|
2 | 2 | import type { DmPolicy, GroupPolicy } from "openclaw/plugin-sdk/setup"; |
3 | 3 | import { fetchWithSsrFGuard, type SsrFPolicy } from "openclaw/plugin-sdk/ssrf-runtime"; |
4 | 4 | |
5 | | -export type { SsrFPolicy } from "openclaw/plugin-sdk/ssrf-runtime"; |
6 | | -export type { DmPolicy, GroupPolicy } from "openclaw/plugin-sdk/setup"; |
7 | | - |
8 | | -export type BlueBubblesGroupConfig = { |
| 5 | +type BlueBubblesGroupConfig = { |
9 | 6 | /** If true, only respond in this group when mentioned. */ |
10 | 7 | requireMention?: boolean; |
11 | 8 | /** Optional tool policy overrides for this group. */ |
@@ -17,7 +14,7 @@ export type BlueBubblesGroupConfig = {
|
17 | 14 | systemPrompt?: string; |
18 | 15 | }; |
19 | 16 | |
20 | | -export type BlueBubblesActionConfig = { |
| 17 | +type BlueBubblesActionConfig = { |
21 | 18 | reactions?: boolean; |
22 | 19 | edit?: boolean; |
23 | 20 | unsend?: boolean; |
@@ -31,7 +28,7 @@ export type BlueBubblesActionConfig = {
|
31 | 28 | sendAttachment?: boolean; |
32 | 29 | }; |
33 | 30 | |
34 | | -export type BlueBubblesNetworkConfig = { |
| 31 | +type BlueBubblesNetworkConfig = { |
35 | 32 | /** Dangerous opt-in for same-host or trusted private/internal BlueBubbles deployments. */ |
36 | 33 | dangerouslyAllowPrivateNetwork?: boolean; |
37 | 34 | }; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。