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

推荐订阅源

J
Java Code Geeks
Martin Fowler
Martin Fowler
B
Blog RSS Feed
D
DataBreaches.Net
L
LangChain Blog
月光博客
月光博客
S
SegmentFault 最新的问题
阮一峰的网络日志
阮一峰的网络日志
V
Visual Studio Blog
美团技术团队
Jina AI
Jina AI
博客园 - 司徒正美
雷峰网
雷峰网
Last Week in AI
Last Week in AI
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
IT之家
IT之家
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
小众软件
小众软件
罗磊的独立博客
博客园_首页
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
A
About on SuperTechFans
Engineering at Meta
Engineering at Meta

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: reduce telegram test import drag · openclaw/opencla...
steipete · 2026-04-24 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -1,2 +1,2 @@

1-

1d2767b688414ac41305e88c830858c00947e2d7c713f1a25d86f38cd577620e plugin-sdk-api-baseline.json

2-

e5167477ab6aa2e67bd4361048cf5f6f8fd1cb7ee570544c634d14417f890674 plugin-sdk-api-baseline.jsonl

1+

793ed905cb0ba93b9a2f8c2c85c3cfb4d194dd9263353e74952bf9e382b03dc2 plugin-sdk-api-baseline.json

2+

032e7fd6f48344c9b3b98fd3e877e6d30cab92ed9a39dd309796cf1f0220820f plugin-sdk-api-baseline.jsonl

Original file line numberDiff line numberDiff line change

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

121121

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

122122

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

123123

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

124+

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

124125

| `plugin-sdk/command-surface` | Command-body normalization and command-surface helpers |

125126

| `plugin-sdk/allow-from` | `formatAllowFromLowercase` |

126127

| `plugin-sdk/channel-secret-runtime` | Narrow secret-contract collection helpers for channel/plugin secret surfaces |

Original file line numberDiff line numberDiff line change

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

1010

resolveChannelStreamingBlockEnabled,

1111

resolveChannelStreamingPreviewToolProgress,

1212

} from "openclaw/plugin-sdk/channel-streaming";

13+

import { isAbortRequestText } from "openclaw/plugin-sdk/command-primitives-runtime";

1314

import type {

1415

OpenClawConfig,

1516

ReplyToMode,

@@ -22,15 +23,15 @@ import {

2223

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

2324

import { clearHistoryEntriesIfEnabled } from "openclaw/plugin-sdk/reply-history";

2425

import { resolveSendableOutboundReplyParts } from "openclaw/plugin-sdk/reply-payload";

25-

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

26+

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

2627

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

2728

import {

2829

createSubsystemLogger,

2930

danger,

3031

logVerbose,

3132

sleepWithAbort,

3233

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

33-

import { defaultTelegramBotDeps, type TelegramBotDeps } from "./bot-deps.js";

34+

import type { TelegramBotDeps } from "./bot-deps.js";

3435

import type { TelegramMessageContext } from "./bot-message-context.js";

3536

import {

3637

findModelInCatalog,

@@ -215,9 +216,11 @@ export const dispatchTelegramMessage = async ({

215216

streamMode,

216217

textLimit,

217218

telegramCfg,

218-

telegramDeps = defaultTelegramBotDeps,

219+

telegramDeps: injectedTelegramDeps,

219220

opts,

220221

}: DispatchTelegramMessageParams) => {

222+

const telegramDeps =

223+

injectedTelegramDeps ?? (await import("./bot-deps.js")).defaultTelegramBotDeps;

221224

const {

222225

ctxPayload,

223226

msg,

Original file line numberDiff line numberDiff line change

@@ -273,4 +273,4 @@ describe("telegram target normalization", () => {

273273

});

274274

});

275275
276-

installMaybePersistResolvedTelegramTargetTests();

276+

installMaybePersistResolvedTelegramTargetTests({ includeGatewayScopeCases: true });

Original file line numberDiff line numberDiff line change

@@ -525,6 +525,10 @@

525525

"types": "./dist/plugin-sdk/command-gating.d.ts",

526526

"default": "./dist/plugin-sdk/command-gating.js"

527527

},

528+

"./plugin-sdk/command-primitives-runtime": {

529+

"types": "./dist/plugin-sdk/command-primitives-runtime.d.ts",

530+

"default": "./dist/plugin-sdk/command-primitives-runtime.js"

531+

},

528532

"./plugin-sdk/command-status": {

529533

"types": "./dist/plugin-sdk/command-status.d.ts",

530534

"default": "./dist/plugin-sdk/command-status.js"

Original file line numberDiff line numberDiff line change

@@ -117,6 +117,7 @@

117117

"command-auth",

118118

"command-auth-native",

119119

"command-gating",

120+

"command-primitives-runtime",

120121

"command-status",

121122

"command-status-runtime",

122123

"command-detection",

Original file line numberDiff line numberDiff line change

@@ -0,0 +1 @@

1+

export { isAbortRequestText } from "../auto-reply/reply/abort-primitives.js";