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

推荐订阅源

Hugging Face - Blog
Hugging Face - Blog
Vercel News
Vercel News
C
Check Point Blog
G
Google Developers Blog
博客园 - 司徒正美
量子位
Engineering at Meta
Engineering at Meta
S
SegmentFault 最新的问题
Google DeepMind News
Google DeepMind News
F
Fortinet All Blogs
A
About on SuperTechFans
美团技术团队
D
DataBreaches.Net
Stack Overflow Blog
Stack Overflow Blog
Jina AI
Jina AI
Y
Y Combinator Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Apple Machine Learning Research
Apple Machine Learning Research
J
Java Code Geeks
MongoDB | Blog
MongoDB | Blog
人人都是产品经理
人人都是产品经理
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The Cloudflare Blog
U
Unit 42

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
test: dedupe command fixtures · openclaw/openclaw@23b751b
steipete · 2026-04-24 · via Recent Commits to openclaw:main

@@ -9,6 +9,12 @@ import {

99

import { maybeRepairBundledPluginRuntimeDeps } from "./doctor-bundled-plugin-runtime-deps.js";

1010

import type { DoctorPrompter } from "./doctor-prompter.js";

111112+

type InstalledRuntimeDeps = Array<{

13+

installRoot: string;

14+

missingSpecs: string[];

15+

installSpecs: string[];

16+

}>;

17+1218

function writeJson(filePath: string, value: unknown) {

1319

fs.mkdirSync(path.dirname(filePath), { recursive: true });

1420

fs.writeFileSync(filePath, `${JSON.stringify(value, null, 2)}\n`, "utf8");

@@ -25,6 +31,31 @@ function writeBundledChannelPlugin(root: string, id: string, dependencies: Recor

2531

});

2632

}

273334+

function createInstalledRuntimeDeps(): InstalledRuntimeDeps {

35+

return [];

36+

}

37+38+

function createNonInteractivePrompter(

39+

options: { updateInProgress?: boolean } = {},

40+

): DoctorPrompter {

41+

return {

42+

shouldRepair: false,

43+

shouldForce: false,

44+

repairMode: {

45+

shouldRepair: false,

46+

shouldForce: false,

47+

nonInteractive: true,

48+

canPrompt: false,

49+

updateInProgress: options.updateInProgress ?? false,

50+

},

51+

confirm: async () => false,

52+

confirmAutoFix: async () => false,

53+

confirmAggressiveAutoFix: async () => false,

54+

confirmRuntimeRepair: async () => false,

55+

select: async (_params: unknown, fallback: unknown) => fallback,

56+

} as DoctorPrompter;

57+

}

58+2859

describe("doctor bundled plugin runtime deps", () => {

2960

it("skips source checkouts", () => {

3061

const root = fs.mkdtempSync(path.join(os.tmpdir(), "openclaw-doctor-bundled-"));

@@ -175,31 +206,11 @@ describe("doctor bundled plugin runtime deps", () => {

175206

const root = fs.mkdtempSync(path.join(os.tmpdir(), "openclaw-doctor-bundled-"));

176207

writeJson(path.join(root, "package.json"), { name: "openclaw" });

177208

writeBundledChannelPlugin(root, "telegram", { grammy: "1.37.0" });

178-

const installed: Array<{

179-

installRoot: string;

180-

missingSpecs: string[];

181-

installSpecs: string[];

182-

}> = [];

183-

const prompter = {

184-

shouldRepair: false,

185-

shouldForce: false,

186-

repairMode: {

187-

shouldRepair: false,

188-

shouldForce: false,

189-

nonInteractive: true,

190-

canPrompt: false,

191-

updateInProgress: false,

192-

},

193-

confirm: async () => false,

194-

confirmAutoFix: async () => false,

195-

confirmAggressiveAutoFix: async () => false,

196-

confirmRuntimeRepair: async () => false,

197-

select: async (_params: unknown, fallback: unknown) => fallback,

198-

} as DoctorPrompter;

209+

const installed = createInstalledRuntimeDeps();

199210200211

await maybeRepairBundledPluginRuntimeDeps({

201212

runtime: { error: () => {} } as never,

202-

prompter,

213+

prompter: createNonInteractivePrompter(),

203214

packageRoot: root,

204215

config: {

205216

plugins: { enabled: true },

@@ -223,31 +234,11 @@ describe("doctor bundled plugin runtime deps", () => {

223234

const root = fs.mkdtempSync(path.join(os.tmpdir(), "openclaw-doctor-bundled-"));

224235

writeJson(path.join(root, "package.json"), { name: "openclaw" });

225236

writeBundledChannelPlugin(root, "feishu", { "@larksuiteoapi/node-sdk": "^1.61.0" });

226-

const installed: Array<{

227-

installRoot: string;

228-

missingSpecs: string[];

229-

installSpecs: string[];

230-

}> = [];

231-

const prompter = {

232-

shouldRepair: false,

233-

shouldForce: false,

234-

repairMode: {

235-

shouldRepair: false,

236-

shouldForce: false,

237-

nonInteractive: true,

238-

canPrompt: false,

239-

updateInProgress: true,

240-

},

241-

confirm: async () => false,

242-

confirmAutoFix: async () => false,

243-

confirmAggressiveAutoFix: async () => false,

244-

confirmRuntimeRepair: async () => false,

245-

select: async (_params: unknown, fallback: unknown) => fallback,

246-

} as DoctorPrompter;

237+

const installed = createInstalledRuntimeDeps();

247238248239

await maybeRepairBundledPluginRuntimeDeps({

249240

runtime: { error: () => {} } as never,

250-

prompter,

241+

prompter: createNonInteractivePrompter({ updateInProgress: true }),

251242

packageRoot: root,

252243

includeConfiguredChannels: true,

253244

config: {

@@ -274,31 +265,11 @@ describe("doctor bundled plugin runtime deps", () => {

274265

writeJson(path.join(root, "package.json"), { name: "openclaw", version: "2026.4.22" });

275266

writeBundledChannelPlugin(root, "slack", { "@slack/web-api": "7.15.1" });

276267

const env = { OPENCLAW_PLUGIN_STAGE_DIR: stageDir };

277-

const installed: Array<{

278-

installRoot: string;

279-

missingSpecs: string[];

280-

installSpecs: string[];

281-

}> = [];

282-

const prompter = {

283-

shouldRepair: false,

284-

shouldForce: false,

285-

repairMode: {

286-

shouldRepair: false,

287-

shouldForce: false,

288-

nonInteractive: true,

289-

canPrompt: false,

290-

updateInProgress: false,

291-

},

292-

confirm: async () => false,

293-

confirmAutoFix: async () => false,

294-

confirmAggressiveAutoFix: async () => false,

295-

confirmRuntimeRepair: async () => false,

296-

select: async (_params: unknown, fallback: unknown) => fallback,

297-

} as DoctorPrompter;

268+

const installed = createInstalledRuntimeDeps();

298269299270

await maybeRepairBundledPluginRuntimeDeps({

300271

runtime: { error: () => {} } as never,

301-

prompter,

272+

prompter: createNonInteractivePrompter(),

302273

env,

303274

packageRoot: root,

304275

config: {

@@ -330,31 +301,11 @@ describe("doctor bundled plugin runtime deps", () => {

330301

name: "@slack/web-api",

331302

version: "7.15.1",

332303

});

333-

const installed: Array<{

334-

installRoot: string;

335-

missingSpecs: string[];

336-

installSpecs: string[];

337-

}> = [];

338-

const prompter = {

339-

shouldRepair: false,

340-

shouldForce: false,

341-

repairMode: {

342-

shouldRepair: false,

343-

shouldForce: false,

344-

nonInteractive: true,

345-

canPrompt: false,

346-

updateInProgress: false,

347-

},

348-

confirm: async () => false,

349-

confirmAutoFix: async () => false,

350-

confirmAggressiveAutoFix: async () => false,

351-

confirmRuntimeRepair: async () => false,

352-

select: async (_params: unknown, fallback: unknown) => fallback,

353-

} as DoctorPrompter;

304+

const installed = createInstalledRuntimeDeps();

354305355306

await maybeRepairBundledPluginRuntimeDeps({

356307

runtime: { error: () => {} } as never,

357-

prompter,

308+

prompter: createNonInteractivePrompter(),

358309

packageRoot: root,

359310

includeConfiguredChannels: true,

360311

config: {