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

推荐订阅源

Google DeepMind News
Google DeepMind News
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
酷 壳 – CoolShell
酷 壳 – CoolShell
WordPress大学
WordPress大学
小众软件
小众软件
博客园 - 司徒正美
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Jina AI
Jina AI
Hugging Face - Blog
Hugging Face - Blog
博客园 - Franky
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
量子位
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
雷峰网
雷峰网
云风的 BLOG
云风的 BLOG
M
MIT News - Artificial intelligence
F
Fortinet All Blogs
T
Tailwind CSS Blog
Martin Fowler
Martin Fowler
I
InfoQ
The GitHub Blog
The GitHub Blog
有赞技术团队
有赞技术团队
The Cloudflare 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
refactor: trim slack helper exports · openclaw/openclaw@a...
steipete · 2026-05-02 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -1,8 +1,8 @@

11

import type { SlackAccountConfig } from "./runtime-api.js";

22
3-

export type SlackReplyToMode = "off" | "first" | "all" | "batched";

3+

type SlackReplyToMode = "off" | "first" | "all" | "batched";

44
5-

export type SlackReplyToModeAccount = {

5+

type SlackReplyToModeAccount = {

66

replyToMode?: SlackReplyToMode;

77

replyToModeByChatType?: SlackAccountConfig["replyToModeByChatType"];

88

dm?: { replyToMode?: SlackReplyToMode };

Original file line numberDiff line numberDiff line change

@@ -44,7 +44,7 @@ const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("sl

4444

export const listSlackAccountIds = listAccountIds;

4545

export const resolveDefaultSlackAccountId = resolveDefaultAccountId;

4646
47-

export function resolveSlackAccountConfig(

47+

function resolveSlackAccountConfig(

4848

cfg: OpenClawConfig,

4949

accountId: string,

5050

): SlackAccountConfig | undefined {

Original file line numberDiff line numberDiff line change

@@ -6,7 +6,7 @@ import type { OpenClawConfig } from "openclaw/plugin-sdk/config-types";

66

import { resolveSlackAccount, resolveSlackAccountAllowFrom } from "./accounts.js";

77

import { normalizeSlackApproverId } from "./exec-approvals.js";

88
9-

export function getSlackApprovalApprovers(params: {

9+

function getSlackApprovalApprovers(params: {

1010

cfg: OpenClawConfig;

1111

accountId?: string | null;

1212

}): string[] {

Original file line numberDiff line numberDiff line change

@@ -21,7 +21,7 @@ const SLACK_ACTION_BLOCK_ELEMENTS_MAX = 25;

2121
2222

export type SlackBlock = Block | KnownBlock;

2323
24-

export type SlackInteractiveBlockRenderOptions = {

24+

type SlackInteractiveBlockRenderOptions = {

2525

buttonIndexOffset?: number;

2626

selectIndexOffset?: number;

2727

};

Original file line numberDiff line numberDiff line change

@@ -7,7 +7,7 @@ type SlackChannels = Record<string, SlackChannelConfig>;

77
88

type MigrationScope = "account" | "global";

99
10-

export type SlackChannelMigrationResult = {

10+

type SlackChannelMigrationResult = {

1111

migrated: boolean;

1212

skippedExisting: boolean;

1313

scopes: MigrationScope[];

Original file line numberDiff line numberDiff line change

@@ -12,7 +12,7 @@ function asObjectRecord(value: unknown): Record<string, unknown> | null {

1212

: null;

1313

}

1414
15-

export const collectSlackMutableAllowlistWarnings =

15+

const collectSlackMutableAllowlistWarnings =

1616

createDangerousNameMatchingMutableAllowlistWarningCollector({

1717

channel: "slack",

1818

detector: isSlackMutableAllowEntry,

Original file line numberDiff line numberDiff line change

@@ -7,7 +7,7 @@ import { sendMessageSlack } from "./send.js";

77
88

const DEFAULT_THROTTLE_MS = 1000;

99
10-

export type SlackDraftStream = {

10+

type SlackDraftStream = {

1111

update: (text: string) => void;

1212

flush: () => Promise<void>;

1313

clear: () => Promise<void>;

Original file line numberDiff line numberDiff line change

@@ -55,7 +55,7 @@ export type SlackInteractiveHandlerRegistration = PluginInteractiveRegistration<

5555

"slack"

5656

>;

5757
58-

export type SlackInteractiveDispatchContext = Omit<

58+

type SlackInteractiveDispatchContext = Omit<

5959

SlackInteractiveHandlerContext,

6060

| "interaction"

6161

| "respond"

Original file line numberDiff line numberDiff line change

@@ -1,6 +1,6 @@

11

import { normalizeOptionalString } from "openclaw/plugin-sdk/text-runtime";

22
3-

export type SlackModalPrivateMetadata = {

3+

type SlackModalPrivateMetadata = {

44

sessionKey?: string;

55

channelId?: string;

66

channelType?: string;

Original file line numberDiff line numberDiff line change

@@ -694,7 +694,7 @@ describe("monitorSlackProvider tool results", () => {

694694

await runMentionGatedChannelMessageAndFlush();

695695
696696

expect(sendMock).not.toHaveBeenCalled();

697-

expectReactionNames(["eyes", "scream", "eyes", "eyes", "scream"]);

697+

expectReactionNames(["eyes", "scream", "scream"]);

698698

});

699699
700700

it("replies with pairing code when dmPolicy is pairing and no allowFrom is set", async () => {