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

推荐订阅源

U
Unit 42
罗磊的独立博客
T
Tailwind CSS Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Jina AI
Jina AI
V
V2EX
美团技术团队
阮一峰的网络日志
阮一峰的网络日志
酷 壳 – CoolShell
酷 壳 – CoolShell
月光博客
月光博客
量子位
MyScale Blog
MyScale Blog
G
Google Developers Blog
M
MIT News - Artificial intelligence
L
LangChain Blog
Microsoft Azure Blog
Microsoft Azure Blog
Recent Announcements
Recent Announcements
MongoDB | Blog
MongoDB | Blog
N
Netflix TechBlog - Medium
有赞技术团队
有赞技术团队
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
D
DataBreaches.Net
云风的 BLOG
云风的 BLOG
B
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
perf: narrow slack test imports · openclaw/openclaw@a59d1bd
steipete · 2026-04-24 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -119,6 +119,7 @@ For the plugin authoring guide, see [Plugin SDK overview](/plugins/sdk-overview)

119119

| `plugin-sdk/approval-handler-runtime` | Broader approval handler runtime helpers; prefer the narrower adapter/gateway seams when they are enough |

120120

| `plugin-sdk/approval-native-runtime` | Native approval target + account-binding helpers |

121121

| `plugin-sdk/approval-reply-runtime` | Exec/plugin approval reply payload helpers |

122+

| `plugin-sdk/channel-contract-testing` | Narrow channel contract test helpers without the broad testing barrel |

122123

| `plugin-sdk/command-auth-native` | Native command auth + native session-target helpers |

123124

| `plugin-sdk/command-detection` | Shared command detection helpers |

124125

| `plugin-sdk/command-primitives-runtime` | Lightweight command text predicates for hot channel paths |

Original file line numberDiff line numberDiff line change

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

11

import fs from "node:fs";

22

import type { App } from "@slack/bolt";

3+

import { expectChannelInboundContextContract as expectInboundContextContract } from "openclaw/plugin-sdk/channel-contract-testing";

34

import type { OpenClawConfig } from "openclaw/plugin-sdk/config-runtime";

45

import {

56

registerSessionBindingAdapter,

@@ -9,7 +10,6 @@ import {

910

} from "openclaw/plugin-sdk/conversation-runtime";

1011

import { resolveAgentRoute } from "openclaw/plugin-sdk/routing";

1112

import { resolveThreadSessionKeys } from "openclaw/plugin-sdk/routing";

12-

import { expectChannelInboundContextContract as expectInboundContextContract } from "openclaw/plugin-sdk/testing";

1313

import { afterAll, beforeAll, describe, expect, it, vi } from "vitest";

1414

import type { ResolvedSlackAccount } from "../../accounts.js";

1515

import type { SlackMessageEvent } from "../../types.js";

Original file line numberDiff line numberDiff line change

@@ -17,6 +17,7 @@ import { resolveControlCommandGate } from "openclaw/plugin-sdk/command-gating";

1717

import { shouldHandleTextCommands } from "openclaw/plugin-sdk/command-surface";

1818

import { formatErrorMessage } from "openclaw/plugin-sdk/error-runtime";

1919

import { enqueueSystemEvent } from "openclaw/plugin-sdk/infra-runtime";

20+

import { finalizeInboundContext } from "openclaw/plugin-sdk/reply-dispatch-runtime";

2021

import {

2122

buildPendingHistoryContextFromMap,

2223

recordPendingHistoryEntryIfEnabled,

@@ -50,7 +51,6 @@ import { normalizeSlackChannelType, type SlackMonitorContext } from "../context.

5051

import { recordInboundSession, resolveConversationLabel } from "../conversation.runtime.js";

5152

import { authorizeSlackDirectMessage } from "../dm-auth.js";

5253

import { resolveSlackThreadStarter } from "../media.js";

53-

import { finalizeInboundContext } from "../reply.runtime.js";

5454

import { resolveSlackRoomContextHints } from "../room-context.js";

5555

import { sendMessageSlack } from "../send.runtime.js";

5656

import { resolveSlackMessageContent } from "./prepare-content.js";

Original file line numberDiff line numberDiff line change

@@ -1,20 +1,20 @@

11

import type { MarkdownTableMode, OpenClawConfig } from "openclaw/plugin-sdk/config-runtime";

2+

import {

3+

chunkMarkdownTextWithMode,

4+

isSilentReplyText,

5+

SILENT_REPLY_TOKEN,

6+

type ChunkMode,

7+

} from "openclaw/plugin-sdk/reply-chunking";

28

import {

39

deliverTextOrMediaReply,

410

resolveSendableOutboundReplyParts,

11+

type ReplyPayload,

512

} from "openclaw/plugin-sdk/reply-payload";

6-

import type { ChunkMode } from "openclaw/plugin-sdk/reply-runtime";

7-

import type { ReplyPayload } from "openclaw/plugin-sdk/reply-runtime";

13+

import { createReplyReferencePlanner } from "openclaw/plugin-sdk/reply-reference";

814

import type { RuntimeEnv } from "openclaw/plugin-sdk/runtime-env";

915

import { markdownToSlackMrkdwnChunks } from "../format.js";

1016

import { SLACK_TEXT_LIMIT } from "../limits.js";

1117

import { resolveSlackReplyBlocks } from "../reply-blocks.js";

12-

import {

13-

chunkMarkdownTextWithMode,

14-

createReplyReferencePlanner,

15-

isSilentReplyText,

16-

SILENT_REPLY_TOKEN,

17-

} from "./reply.runtime.js";

1818

import { sendMessageSlack, type SlackSendIdentity } from "./send.runtime.js";

1919
2020

export function readSlackReplyBlocks(payload: ReplyPayload) {

Original file line numberDiff line numberDiff line change

@@ -1,5 +1,5 @@

1+

import { installChannelOutboundPayloadContractSuite } from "openclaw/plugin-sdk/channel-contract-testing";

12

import type { ReplyPayload } from "openclaw/plugin-sdk/reply-runtime";

2-

import { installChannelOutboundPayloadContractSuite } from "openclaw/plugin-sdk/testing";

33

import { describe, expect, it } from "vitest";

44

import { createSlackOutboundPayloadHarness } from "../test-api.js";

55
Original file line numberDiff line numberDiff line change

@@ -509,6 +509,10 @@

509509

"types": "./dist/plugin-sdk/boolean-param.d.ts",

510510

"default": "./dist/plugin-sdk/boolean-param.js"

511511

},

512+

"./plugin-sdk/channel-contract-testing": {

513+

"types": "./dist/plugin-sdk/channel-contract-testing.d.ts",

514+

"default": "./dist/plugin-sdk/channel-contract-testing.js"

515+

},

512516

"./plugin-sdk/dangerous-name-runtime": {

513517

"types": "./dist/plugin-sdk/dangerous-name-runtime.d.ts",

514518

"default": "./dist/plugin-sdk/dangerous-name-runtime.js"

Original file line numberDiff line numberDiff line change

@@ -113,6 +113,7 @@

113113

"browser-setup-tools",

114114

"browser-support",

115115

"boolean-param",

116+

"channel-contract-testing",

116117

"dangerous-name-runtime",

117118

"command-auth",

118119

"command-auth-native",

Original file line numberDiff line numberDiff line change

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

1+

export {

2+

expectChannelInboundContextContract,

3+

primeChannelOutboundSendMock,

4+

} from "../channels/plugins/contracts/test-helpers.js";

5+

export {

6+

installChannelOutboundPayloadContractSuite,

7+

type OutboundPayloadHarnessParams,

8+

} from "../channels/plugins/contracts/outbound-payload-testkit.js";

Original file line numberDiff line numberDiff line change

@@ -6,5 +6,5 @@ export {

66

resolveTextChunkLimit,

77

} from "../auto-reply/chunk.js";

88

export type { ChunkMode } from "../auto-reply/chunk.js";

9-

export { isSilentReplyText } from "../auto-reply/tokens.js";

9+

export { isSilentReplyText, SILENT_REPLY_TOKEN } from "../auto-reply/tokens.js";

1010

export type { ReplyPayload } from "./reply-payload.js";