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

推荐订阅源

WordPress大学
WordPress大学
T
Threat Research - Cisco Blogs
D
DataBreaches.Net
Microsoft Azure Blog
Microsoft Azure Blog
D
Docker
P
Proofpoint News Feed
小众软件
小众软件
博客园 - 聂微东
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
人人都是产品经理
人人都是产品经理
J
Java Code Geeks
Martin Fowler
Martin Fowler
L
LangChain Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
李成银的技术随笔
MongoDB | Blog
MongoDB | Blog
M
MIT News - Artificial intelligence
阮一峰的网络日志
阮一峰的网络日志
Hacker News: Ask HN
Hacker News: Ask HN
C
CERT Recently Published Vulnerability Notes
H
Help Net Security
The GitHub Blog
The GitHub Blog
S
Security Archives - TechRepublic
AWS News Blog
AWS News Blog
Project Zero
Project Zero
Security Latest
Security Latest
P
Privacy International News Feed
T
Troy Hunt's Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
C
CXSECURITY Database RSS Feed - CXSecurity.com
I
Intezer
酷 壳 – CoolShell
酷 壳 – CoolShell
The Hacker News
The Hacker News
I
InfoQ
P
Proofpoint News Feed
C
Cisco Blogs
aimingoo的专栏
aimingoo的专栏
T
ThreatConnect
Recorded Future
Recorded Future
P
Palo Alto Networks Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
V
V2EX
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
G
GRAHAM CLULEY
F
Future of Privacy Forum
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
N
News and Events Feed by Topic
Engineering at Meta
Engineering at Meta

Recent Commits to openclaw:main

docs: absorb documentation PR sweep fix(agents): stabilize Linux fallback tests fix(codex): preserve native web search action metadata (#85378) · openclaw/openclaw@bcf756c test: refresh Codex prompt snapshots · openclaw/openclaw@492d656 docs: absorb hook and subagent guidance PRs fix(agents): audit tool policy blocks (#85673) · openclaw/openclaw@09dd051 ci: fix plugin npm bundled dependency install · openclaw/openclaw@d485464 feat(diagnostics): classify skill and tool usage (#80370) docs(skills): clarify control ui recording proof (#85568) · openclaw/openclaw@0b476b9 test(agents): repair main failure fixtures · openclaw/openclaw@c29967b feat(diagnostics): trace gateway secret preparation (#83019) · openclaw/openclaw@4f0c902 fix(diagnostics): harden observability exports and smokes (#85371) · openclaw/openclaw@7f05be0 fix(stepfun): drop stale auth choice metadata · openclaw/openclaw@0b2ab6c test(e2e): sample kitchen sink RSS on Windows · openclaw/openclaw@73c1e37 test(plugins): fail gauntlet on load diagnostics fix(build): preserve tsdown heap floor · openclaw/openclaw@9ff1a43 fix(tools): honor config apiKey in media tool preflight (#85570) · openclaw/openclaw@31c269f fix(e2e): support macOS script wrappers fix(ci): scope changed shrinkwrap checks · openclaw/openclaw@743fd4c chore(ui): refresh fa control ui locale chore(ui): refresh nl control ui locale · openclaw/openclaw@908464b chore(ui): refresh vi control ui locale · openclaw/openclaw@62b75f4 chore(ui): refresh th control ui locale · openclaw/openclaw@fc4ba31 chore(ui): refresh id control ui locale · openclaw/openclaw@5b1bdd1 chore(ui): refresh pl control ui locale · openclaw/openclaw@534d4b1 chore(ui): refresh uk control ui locale · openclaw/openclaw@055c3bd chore(ui): refresh ar control ui locale · openclaw/openclaw@89c5a68 chore(ui): refresh it control ui locale · openclaw/openclaw@44ca805 chore(ui): refresh tr control ui locale chore(ui): refresh fr control ui locale · openclaw/openclaw@2240b0e chore(ui): refresh ko control ui locale · openclaw/openclaw@5fa250b chore(ui): refresh ja-JP control ui locale · openclaw/openclaw@f4ea401 chore(ui): refresh es control ui locale · openclaw/openclaw@751dde0 chore(ui): refresh de control ui locale · openclaw/openclaw@72a9b5b chore(ui): refresh pt-BR control ui locale · openclaw/openclaw@501b6e0 chore(ui): refresh zh-CN control ui locale chore(ui): refresh zh-TW control ui locale · openclaw/openclaw@88dee79 Add Slack approval QA checkpoints (#85141) fix(agents): mirror internal ui message tool replies (#85564) perf(whatsapp): narrow runtime setter entry (#85589) · openclaw/openclaw@463929d fix: smooth chat focus mode layout · openclaw/openclaw@bb5abef Fix Telegram missing harness spool poison (#85605) · openclaw/openclaw@b745082 fix(session): surface previous-transcript archive failures on /new ro… · openclaw/openclaw@679a46d Policy: add agent workspace conformance checks (#85096) · openclaw/openclaw@a94f344 fix(installer): fail failed Windows git builds · openclaw/openclaw@2edd6e2 fix(codex): honor node exec policy for native surfaces (#85534) · openclaw/openclaw@e0405ec fix(qa-lab): stabilize codex runtime parity fixtures fix(github): preserve sufficient proof against negative relabel (#85567) · openclaw/openclaw@6b52dff docs: add changelog for context pressure preflight · openclaw/openclaw@5ca734f Fix context pressure preflight for tool-heavy sessions (#85541) · openclaw/openclaw@c08400e fix(doctor): classify codex asset notice as info (#85119) · openclaw/openclaw@959b935 fix(ui): keep chat picker search current (#85547) fix: preserve message-tool delivery evidence · openclaw/openclaw@f022b05 fix(codex): add API key paste auth (#85533) fix: satisfy openai video test typecheck · openclaw/openclaw@743caed fix: route openai video edits to edits endpoint · openclaw/openclaw@6c3fcb8 fix(qmd): normalize direct file collection paths (#65212) · openclaw/openclaw@227b4bf fix(testbox): preserve clean sparse checkouts · openclaw/openclaw@58e9628 fix(ui): run ui script through junction paths (#85525) · openclaw/openclaw@ad19dd8 docs: fix troubleshooting logs link (#85545) · openclaw/openclaw@60582b6 Revert chat session picker inline search (#85527) · openclaw/openclaw@d69bcfd fix: preserve guarded video operation cleanup · openclaw/openclaw@ed7d99a fix: honor openai video provider request network policy fix: retry guarded video downloads · openclaw/openclaw@efbf9f3 fix: thread openai video request policy · openclaw/openclaw@31b5145 docs(changelog): note heartbeat message-tool fix · openclaw/openclaw@c127334 fix: use fs-safe trash for agent delete (#84394) · openclaw/openclaw@951bbe6 Fix heartbeat message-tool delivery policy (#85357) · openclaw/openclaw@bd9c78f Scope config preflight note suppression (#84439) · openclaw/openclaw@91d85e7 fix(cron): document best-effort edit delivery mode (#84526) fix(dreaming): open report cards from memory palace (#85144) · openclaw/openclaw@2e15830 fix(openai-codex): preserve image input capability (#85393) · openclaw/openclaw@49ce171 fix(codex): stabilize heartbeat dynamic tool schema (#84681) · openclaw/openclaw@c52daa4 docs: absorb small documentation PRs · openclaw/openclaw@658be7f fix(scripts): preserve bws resolver parse errors (#85528) · openclaw/openclaw@13a4c57 fix(telegram): honor outbound media max bytes (#83478) · openclaw/openclaw@f2d4f93 fix(skills): restore executable bit on bundled whisper script + relea… · openclaw/openclaw@1dd3b52 fix(google): print Gemini OAuth URL before browser launch (#71469) · openclaw/openclaw@2d5bda9 docs: absorb contributor documentation fixes docs: tighten landable bug sweep gates · openclaw/openclaw@8f86383 fix: reuse provider auth lookup facts (#85499) · openclaw/openclaw@299ed80 fix: keep session picker focus separate · openclaw/openclaw@7e12370 feat: start onboarding for fresh CLI installs (#85519) · openclaw/openclaw@464ffc1 docs: refresh contributor docs · openclaw/openclaw@64d13c0 fix(update): prepack npm git update specs · openclaw/openclaw@84f6b5c fix: simplify chat session search · openclaw/openclaw@7e16a50 fix: use native mac settings sidebar · openclaw/openclaw@0556958 chore: ignore antigravity cli state · openclaw/openclaw@dd07fb4 fix(media): replace Gemini CLI fallback with sandboxed Antigravity (#… · openclaw/openclaw@0622fb6 docs: add bugbash landing changelog entries · openclaw/openclaw@faad2b0 fix(diffs): continue after card hydration errors (#84775) · openclaw/openclaw@9b5c281 fix(proxy): add missing clientSocket error handler in CONNECT tunnel … · openclaw/openclaw@e008bc9 fix(memory): report qmd workspace cwd probe failures (#63167) · openclaw/openclaw@7134a95 fix(agents): handle parallel tool call deltas in openai-completions s… test: align release validation package acceptance check (#85515) · openclaw/openclaw@423f525 fix: recover stuck Codex compaction · openclaw/openclaw@44d5330 docs: require visual proof for control ui e2e (#85513) · openclaw/openclaw@8174bfc Policy: add gateway exposure checks (#81981) · openclaw/openclaw@dcc5e45 ci: unblock advisory Tideclaw alpha release checks · openclaw/openclaw@dcfc7e5 fix(installer): tolerate WSL UNC launch cwd · openclaw/openclaw@684a9b2
fix(e2e): scrub Windows update config on PowerShell 5.1 · openclaw/openclaw@6657b49
vincentkoc · 2026-05-23 · via Recent Commits to openclaw:main

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

1-

import { chmodSync, mkdtempSync, readFileSync, rmSync, writeFileSync } from "node:fs";

1+

import {

2+

chmodSync,

3+

copyFileSync,

4+

mkdtempSync,

5+

readFileSync,

6+

rmSync,

7+

writeFileSync,

8+

} from "node:fs";

29

import { tmpdir } from "node:os";

3-

import { join } from "node:path";

10+

import { delimiter, join } from "node:path";

11+

import { pathToFileURL } from "node:url";

412

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

513

import { execNodeEvalSync, spawnNodeEvalSync } from "../../src/test-utils/node-process.js";

614

@@ -49,6 +57,27 @@ function runTsEval(source: string, env: Record<string, string> = {}) {

4957

return execNodeEvalSync(source, { env: { ...process.env, ...env }, imports: ["tsx"] });

5058

}

515960+

function fakePrlctlEnv(tempDir: string): Record<string, string> {

61+

const pathValue = `${tempDir}${delimiter}${process.env.Path ?? process.env.PATH ?? ""}`;

62+

const fakeBootstrap = pathToFileURL(join(tempDir, "prlctl-bootstrap.mjs")).href;

63+

const nodeOptions = [process.env.NODE_OPTIONS, `--import=${fakeBootstrap}`]

64+

.filter(Boolean)

65+

.join(" ");

66+

return { NODE_OPTIONS: nodeOptions, PATH: pathValue, Path: pathValue };

67+

}

68+69+

function writeFakePrlctl(

70+

tempDir: string,

71+

posixScript: string,

72+

windowsBootstrap: string,

73+

): void {

74+

const prlctlPath = join(tempDir, "prlctl");

75+

writeFileSync(prlctlPath, posixScript);

76+

chmodSync(prlctlPath, 0o755);

77+

copyFileSync(process.execPath, join(tempDir, "prlctl.exe"));

78+

writeFileSync(join(tempDir, "prlctl-bootstrap.mjs"), windowsBootstrap);

79+

}

80+5281

function resolveProviderAuth(

5382

provider: string,

5483

options: {

@@ -161,9 +190,8 @@ console.log(result);

161190162191

it("quotes shell args and resolves fuzzy snapshot hints through the shared TypeScript helper", () => {

163192

const tempDir = mkdtempSync(join(tmpdir(), "openclaw-parallels-helper-"));

164-

const prlctlPath = join(tempDir, "prlctl");

165-

writeFileSync(

166-

prlctlPath,

193+

writeFakePrlctl(

194+

tempDir,

167195

`#!/usr/bin/env bash

168196

set -euo pipefail

169197

if [[ "$1" == "snapshot-list" ]]; then

@@ -177,9 +205,24 @@ JSON

177205

exit 0

178206

fi

179207

exit 1

208+

`,

209+

`import { basename } from "node:path";

210+

const isPrlctl = [process.argv0, process.execPath].some((value) =>

211+

basename(value).toLowerCase() === "prlctl.exe",

212+

);

213+

if (isPrlctl) {

214+

if (process.argv.some((arg) => arg.includes("snapshot-list"))) {

215+

console.log(JSON.stringify({

216+

"{older}": { name: "fresh", state: "running" },

217+

"{wanted}": { name: "fresh-poweroff-2026-04-01", state: "poweroff" },

218+

"{other}": { name: "unrelated", state: "poweroff" },

219+

}));

220+

process.exit(0);

221+

}

222+

process.exit(1);

223+

}

180224

`,

181225

);

182-

chmodSync(prlctlPath, 0o755);

183226184227

try {

185228

const output = runTsEval(

@@ -189,7 +232,7 @@ console.log(shellQuote("it's ok"));

189232

const snapshot = resolveSnapshot("vm", "fresh");

190233

console.log([snapshot.id, snapshot.state, snapshot.name].join("\\t"));

191234

`,

192-

{ PATH: `${tempDir}:${process.env.PATH ?? ""}` },

235+

fakePrlctlEnv(tempDir),

193236

);

194237195238

expect(output.split("\n")[0]).toBe("'it'\"'\"'s ok'");

@@ -201,9 +244,8 @@ console.log([snapshot.id, snapshot.state, snapshot.name].join("\\t"));

201244202245

it("uses one Ubuntu VM fallback resolver for Linux lanes", () => {

203246

const tempDir = mkdtempSync(join(tmpdir(), "openclaw-parallels-vm-helper-"));

204-

const prlctlPath = join(tempDir, "prlctl");

205-

writeFileSync(

206-

prlctlPath,

247+

writeFakePrlctl(

248+

tempDir,

207249

`#!/usr/bin/env bash

208250

set -euo pipefail

209251

if [[ "$1" == "list" ]]; then

@@ -217,17 +259,32 @@ JSON

217259

exit 0

218260

fi

219261

exit 1

262+

`,

263+

`import { basename } from "node:path";

264+

const isPrlctl = [process.argv0, process.execPath].some((value) =>

265+

basename(value).toLowerCase() === "prlctl.exe",

266+

);

267+

if (isPrlctl) {

268+

if (process.argv.some((arg) => arg.includes("list"))) {

269+

console.log(JSON.stringify([

270+

{ name: "Ubuntu 25.10" },

271+

{ name: "Ubuntu 23.10" },

272+

{ name: "Ubuntu 24.04.3 ARM64" },

273+

]));

274+

process.exit(0);

275+

}

276+

process.exit(1);

277+

}

220278

`,

221279

);

222-

chmodSync(prlctlPath, 0o755);

223280224281

try {

225282

const output = runTsEval(

226283

`

227284

import { resolveUbuntuVmName } from "./${TS_PATHS.common}";

228285

console.log(resolveUbuntuVmName("Ubuntu missing"));

229286

`,

230-

{ PATH: `${tempDir}:${process.env.PATH ?? ""}` },

287+

fakePrlctlEnv(tempDir),

231288

);

232289233290

expect(output.trim()).toBe("Ubuntu 24.04.3 ARM64");

@@ -428,6 +485,15 @@ console.log(JSON.stringify(result));

428485

expect(script).toContain("OPENCLAW_PARALLELS_LINUX_DISABLE_BONJOUR");

429486

});

430487488+

it("keeps the Windows update config scrub compatible with PowerShell 5.1", () => {

489+

const script = readFileSync(TS_PATHS.npmUpdateScripts, "utf8");

490+491+

expect(script).not.toContain("ConvertFrom-Json -AsHashtable");

492+

expect(script).toContain("function Get-OpenClawJsonProperty");

493+

expect(script).toContain("function Remove-OpenClawJsonProperty");

494+

expect(script).toContain("Remove-OpenClawJsonProperty $entries $pluginId");

495+

});

496+431497

it("keeps aggregate update guest scripts isolated from the npm-update orchestrator", () => {

432498

const orchestrator = readFileSync(TS_PATHS.npmUpdate, "utf8");

433499

const updateScripts = readFileSync(TS_PATHS.npmUpdateScripts, "utf8");