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

推荐订阅源

腾讯CDC
博客园 - Franky
MyScale Blog
MyScale Blog
L
LangChain Blog
Martin Fowler
Martin Fowler
Recent Announcements
Recent Announcements
Stack Overflow Blog
Stack Overflow Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 司徒正美
量子位
A
About on SuperTechFans
C
Check Point Blog
大猫的无限游戏
大猫的无限游戏
Last Week in AI
Last Week in AI
小众软件
小众软件
Apple Machine Learning Research
Apple Machine Learning Research
I
InfoQ
V
Visual Studio Blog
Vercel News
Vercel News
B
Blog
爱范儿
爱范儿
aimingoo的专栏
aimingoo的专栏
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
fix(installer): unblock Windows source installs · opencla...
vincentkoc · 2026-06-23 · via Recent Commits to openclaw:main

@@ -901,22 +901,16 @@ function Ensure-Pnpm {

901901

}

902902

}

903903

Write-Host "[*] Installing pnpm..." -ForegroundColor Yellow

904-

$prevScriptShell = $env:NPM_CONFIG_SCRIPT_SHELL

905-

$env:NPM_CONFIG_SCRIPT_SHELL = "cmd.exe"

904+

$pnpmInstalled = $false

906905

try {

906+

Invoke-NpmCommand -Arguments @("install", "-g", $pnpmSpec)

907+

$pnpmInstalled = ($LASTEXITCODE -eq 0)

908+

} catch {

907909

$pnpmInstalled = $false

908-

try {

909-

Invoke-NpmCommand -Arguments @("install", "-g", $pnpmSpec)

910-

$pnpmInstalled = ($LASTEXITCODE -eq 0)

911-

} catch {

912-

$pnpmInstalled = $false

913-

}

914-

if (-not $pnpmInstalled) {

915-

Write-Host "[!] pnpm install hit an existing or broken shim; retrying with --force" -ForegroundColor Yellow

916-

Invoke-NpmCommand -Arguments @("install", "-g", "--force", $pnpmSpec)

917-

}

918-

} finally {

919-

$env:NPM_CONFIG_SCRIPT_SHELL = $prevScriptShell

910+

}

911+

if (-not $pnpmInstalled) {

912+

Write-Host "[!] pnpm install hit an existing or broken shim; retrying with --force" -ForegroundColor Yellow

913+

Invoke-NpmCommand -Arguments @("install", "-g", "--force", $pnpmSpec)

920914

}

921915

if (-not (Test-PnpmCommandMatchesVersion -PnpmVersion $pnpmVersion -RepoDir $RepoDir)) {

922916

throw "pnpm install completed, but $pnpmSpec is not first on PATH."

@@ -1196,15 +1190,13 @@ function Install-OpenClaw {

11961190

$prevUpdateNotifier = $env:NPM_CONFIG_UPDATE_NOTIFIER

11971191

$prevFund = $env:NPM_CONFIG_FUND

11981192

$prevAudit = $env:NPM_CONFIG_AUDIT

1199-

$prevScriptShell = $env:NPM_CONFIG_SCRIPT_SHELL

12001193

$prevNodeLlamaSkipDownload = $env:NODE_LLAMA_CPP_SKIP_DOWNLOAD

12011194

$prevBefore = $env:NPM_CONFIG_BEFORE

12021195

$prevMinReleaseAge = $env:NPM_CONFIG_MIN_RELEASE_AGE

12031196

$env:NPM_CONFIG_LOGLEVEL = "error"

12041197

$env:NPM_CONFIG_UPDATE_NOTIFIER = "false"

12051198

$env:NPM_CONFIG_FUND = "false"

12061199

$env:NPM_CONFIG_AUDIT = "false"

1207-

$env:NPM_CONFIG_SCRIPT_SHELL = "cmd.exe"

12081200

$env:NODE_LLAMA_CPP_SKIP_DOWNLOAD = "1"

12091201

Remove-Item Env:NPM_CONFIG_BEFORE -ErrorAction SilentlyContinue

12101202

Remove-Item Env:NPM_CONFIG_MIN_RELEASE_AGE -ErrorAction SilentlyContinue

@@ -1228,7 +1220,6 @@ function Install-OpenClaw {

12281220

$env:NPM_CONFIG_UPDATE_NOTIFIER = $prevUpdateNotifier

12291221

$env:NPM_CONFIG_FUND = $prevFund

12301222

$env:NPM_CONFIG_AUDIT = $prevAudit

1231-

$env:NPM_CONFIG_SCRIPT_SHELL = $prevScriptShell

12321223

$env:NODE_LLAMA_CPP_SKIP_DOWNLOAD = $prevNodeLlamaSkipDownload

12331224

$env:NPM_CONFIG_BEFORE = $prevBefore

12341225

$env:NPM_CONFIG_MIN_RELEASE_AGE = $prevMinReleaseAge

@@ -1272,7 +1263,6 @@ function Install-OpenClawFromGit {

1272126312731264

Remove-LegacySubmodule -RepoDir $RepoDir

127412651275-

$prevPnpmScriptShell = $env:NPM_CONFIG_SCRIPT_SHELL

12761266

$prevPnpmChildConcurrency = $env:PNPM_CONFIG_CHILD_CONCURRENCY

12771267

$prevPnpmNetworkConcurrency = $env:PNPM_CONFIG_NETWORK_CONCURRENCY

12781268

$prevPnpmWorkspaceConcurrency = $env:PNPM_CONFIG_WORKSPACE_CONCURRENCY

@@ -1284,7 +1274,6 @@ function Install-OpenClawFromGit {

12841274

if (-not $pnpmCommand) {

12851275

throw "pnpm not found after installation."

12861276

}

1287-

$env:NPM_CONFIG_SCRIPT_SHELL = "cmd.exe"

12881277

$env:PNPM_CONFIG_CHILD_CONCURRENCY = "1"

12891278

$env:PNPM_CONFIG_NETWORK_CONCURRENCY = "4"

12901279

$env:PNPM_CONFIG_WORKSPACE_CONCURRENCY = "1"

@@ -1332,7 +1321,6 @@ function Install-OpenClawFromGit {

13321321

if ($pushedRepoLocation) {

13331322

Pop-Location

13341323

}

1335-

$env:NPM_CONFIG_SCRIPT_SHELL = $prevPnpmScriptShell

13361324

$env:PNPM_CONFIG_CHILD_CONCURRENCY = $prevPnpmChildConcurrency

13371325

$env:PNPM_CONFIG_NETWORK_CONCURRENCY = $prevPnpmNetworkConcurrency

13381326

$env:PNPM_CONFIG_WORKSPACE_CONCURRENCY = $prevPnpmWorkspaceConcurrency