惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The GitHub Blog
The GitHub Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Microsoft Security Blog
Microsoft Security Blog
J
Java Code Geeks
S
SegmentFault 最新的问题
Apple Machine Learning Research
Apple Machine Learning Research
N
Netflix TechBlog - Medium
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园_首页
宝玉的分享
宝玉的分享
Google DeepMind News
Google DeepMind News
B
Blog RSS Feed
Hugging Face - Blog
Hugging Face - Blog
量子位
Blog — PlanetScale
Blog — PlanetScale
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
阮一峰的网络日志
阮一峰的网络日志
D
Docker
罗磊的独立博客
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
云风的 BLOG
云风的 BLOG
IT之家
IT之家
MyScale Blog
MyScale Blog
Microsoft Azure Blog
Microsoft Azure Blog

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix(config): remove core BlueBubbles schema (#78612) · op...
CaptainTimon · 2026-05-07 · via Recent Commits to openclaw:main

@@ -1459,129 +1459,6 @@ export const IMessageConfigSchema = IMessageAccountSchemaBase.extend({

14591459

}

14601460

});

146114611462-

const BlueBubblesAllowFromEntry = z.union([z.string(), z.number()]);

1463-1464-

const BlueBubblesActionSchema = z

1465-

.object({

1466-

reactions: z.boolean().optional(),

1467-

edit: z.boolean().optional(),

1468-

unsend: z.boolean().optional(),

1469-

reply: z.boolean().optional(),

1470-

sendWithEffect: z.boolean().optional(),

1471-

renameGroup: z.boolean().optional(),

1472-

setGroupIcon: z.boolean().optional(),

1473-

addParticipant: z.boolean().optional(),

1474-

removeParticipant: z.boolean().optional(),

1475-

leaveGroup: z.boolean().optional(),

1476-

sendAttachment: z.boolean().optional(),

1477-

})

1478-

.strict()

1479-

.optional();

1480-1481-

const BlueBubblesGroupConfigSchema = z

1482-

.object({

1483-

requireMention: z.boolean().optional(),

1484-

tools: ToolPolicySchema,

1485-

toolsBySender: ToolPolicyBySenderSchema,

1486-

})

1487-

.strict();

1488-1489-

export const BlueBubblesAccountSchemaBase = z

1490-

.object({

1491-

name: z.string().optional(),

1492-

capabilities: z.array(z.string()).optional(),

1493-

markdown: MarkdownConfigSchema,

1494-

configWrites: z.boolean().optional(),

1495-

enabled: z.boolean().optional(),

1496-

serverUrl: z.string().optional(),

1497-

password: SecretInputSchema.optional().register(sensitive),

1498-

webhookPath: z.string().optional(),

1499-

dmPolicy: DmPolicySchema.optional().default("pairing"),

1500-

allowFrom: z.array(BlueBubblesAllowFromEntry).optional(),

1501-

groupAllowFrom: z.array(BlueBubblesAllowFromEntry).optional(),

1502-

groupPolicy: GroupPolicySchema.optional().default("allowlist"),

1503-

contextVisibility: ContextVisibilityModeSchema.optional(),

1504-

historyLimit: z.number().int().min(0).optional(),

1505-

dmHistoryLimit: z.number().int().min(0).optional(),

1506-

dms: z.record(z.string(), DmConfigSchema.optional()).optional(),

1507-

textChunkLimit: z.number().int().positive().optional(),

1508-

sendTimeoutMs: z.number().int().positive().optional(),

1509-

chunkMode: z.enum(["length", "newline"]).optional(),

1510-

mediaMaxMb: z.number().int().positive().optional(),

1511-

mediaLocalRoots: z.array(z.string()).optional(),

1512-

sendReadReceipts: z.boolean().optional(),

1513-

network: z

1514-

.object({

1515-

dangerouslyAllowPrivateNetwork: z.boolean().optional(),

1516-

})

1517-

.strict()

1518-

.optional(),

1519-

blockStreaming: z.boolean().optional(),

1520-

blockStreamingCoalesce: BlockStreamingCoalesceSchema.optional(),

1521-

groups: z.record(z.string(), BlueBubblesGroupConfigSchema.optional()).optional(),

1522-

enrichGroupParticipantsFromContacts: z.boolean().optional(),

1523-

heartbeat: ChannelHeartbeatVisibilitySchema,

1524-

healthMonitor: ChannelHealthMonitorSchema,

1525-

responsePrefix: z.string().optional(),

1526-

coalesceSameSenderDms: z.boolean().optional(),

1527-

})

1528-

.strict();

1529-1530-

// Account-level schemas skip allowFrom validation because accounts inherit

1531-

// allowFrom from the parent channel config at runtime.

1532-

// Validation is enforced at the top-level BlueBubblesConfigSchema instead.

1533-

export const BlueBubblesAccountSchema = BlueBubblesAccountSchemaBase;

1534-1535-

export const BlueBubblesConfigSchema = BlueBubblesAccountSchemaBase.extend({

1536-

accounts: z.record(z.string(), BlueBubblesAccountSchema.optional()).optional(),

1537-

defaultAccount: z.string().optional(),

1538-

actions: BlueBubblesActionSchema,

1539-

}).superRefine((value, ctx) => {

1540-

requireOpenAllowFrom({

1541-

policy: value.dmPolicy,

1542-

allowFrom: value.allowFrom,

1543-

ctx,

1544-

path: ["allowFrom"],

1545-

message:

1546-

'channels.bluebubbles.dmPolicy="open" requires channels.bluebubbles.allowFrom to include "*"',

1547-

});

1548-

requireAllowlistAllowFrom({

1549-

policy: value.dmPolicy,

1550-

allowFrom: value.allowFrom,

1551-

ctx,

1552-

path: ["allowFrom"],

1553-

message:

1554-

'channels.bluebubbles.dmPolicy="allowlist" requires channels.bluebubbles.allowFrom to contain at least one sender ID',

1555-

});

1556-1557-

if (!value.accounts) {

1558-

return;

1559-

}

1560-

for (const [accountId, account] of Object.entries(value.accounts)) {

1561-

if (!account) {

1562-

continue;

1563-

}

1564-

const effectivePolicy = account.dmPolicy ?? value.dmPolicy;

1565-

const effectiveAllowFrom = account.allowFrom ?? value.allowFrom;

1566-

requireOpenAllowFrom({

1567-

policy: effectivePolicy,

1568-

allowFrom: effectiveAllowFrom,

1569-

ctx,

1570-

path: ["accounts", accountId, "allowFrom"],

1571-

message:

1572-

'channels.bluebubbles.accounts.*.dmPolicy="open" requires channels.bluebubbles.accounts.*.allowFrom (or channels.bluebubbles.allowFrom) to include "*"',

1573-

});

1574-

requireAllowlistAllowFrom({

1575-

policy: effectivePolicy,

1576-

allowFrom: effectiveAllowFrom,

1577-

ctx,

1578-

path: ["accounts", accountId, "allowFrom"],

1579-

message:

1580-

'channels.bluebubbles.accounts.*.dmPolicy="allowlist" requires channels.bluebubbles.accounts.*.allowFrom (or channels.bluebubbles.allowFrom) to contain at least one sender ID',

1581-

});

1582-

}

1583-

});

1584-15851462

export const MSTeamsChannelSchema = z

15861463

.object({

15871464

requireMention: z.boolean().optional(),