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

推荐订阅源

博客园 - 司徒正美
aimingoo的专栏
aimingoo的专栏
MongoDB | Blog
MongoDB | Blog
云风的 BLOG
云风的 BLOG
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 聂微东
Y
Y Combinator Blog
T
Tailwind CSS Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
S
SegmentFault 最新的问题
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 【当耐特】
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
J
Java Code Geeks
美团技术团队
Google DeepMind News
Google DeepMind News
博客园_首页
Apple Machine Learning Research
Apple Machine Learning Research
T
The Blog of Author Tim Ferriss

Recent Commits to openclaw:main

fix(ui): hide thinking options for non-reasoning models (#85406) fix(ui): attach pasted data image text (#85392) · openclaw/openclaw@a03a8d9 fix(gateway): preserve OpenAI usage aliases in chat history (#85383) feat(ios): add realtime talk relay mode · openclaw/openclaw@e730e9b fix(browser): hint WSL portproxy CDP empty replies (#85379) fix(opencode-go): strip Kimi reasoning replay fields (#85377) · openclaw/openclaw@d22bcfc fix(build): normalize cache paths on Windows (#85437) · openclaw/openclaw@81d22c8 fix(update): detect nested macOS gateway ancestry (#85391) · openclaw/openclaw@adc6adc fix(docker): seed offline prune store in runtime stage · openclaw/openclaw@faf2a6c fix(ci): stabilize npm shrinkwrap metadata · openclaw/openclaw@21bedd3 fix(codex): route node exec through OpenClaw tools · openclaw/openclaw@5cc0dbc test(installer): track portable node root helper · openclaw/openclaw@9364b21 fix(ui): sync talk transcript translations fix(ui): localize talk transcript labels · openclaw/openclaw@8fc48af fix(release): stabilize config restart QA · openclaw/openclaw@cc91ff0 fix(installer): extract portable Node directly test(qa-lab): report scenario pack coverage · openclaw/openclaw@dcd98bf fix(plugins): drop stale tlon tool contract · openclaw/openclaw@d70dc4b fix(installer): prefer tar for portable Node extraction · openclaw/openclaw@a54a881 fix(codex): deliver native subagent completions feat: add context-engine host capability requirements (#84994) · openclaw/openclaw@cff5244 fix(release): keep shrinkwrap pinned to pnpm lock · openclaw/openclaw@9d24fde fix: surface plan updates as status notices · openclaw/openclaw@dc04503 test(google): narrow web search fake timers · openclaw/openclaw@fe7d13c fix(installer): extract portable Node with ZipFile · openclaw/openclaw@ffa6cd8 fix(gateway): defer provider auth prewarm after startup (#85369) · openclaw/openclaw@69255f8 fix(talk): stabilize realtime voice consults · openclaw/openclaw@683ad75 test(qa): tolerate slow gateway rpc startup · openclaw/openclaw@29118a0 chore(diagnostics): refresh plugin sdk baseline · openclaw/openclaw@ab684f5 fix(diagnostics): surface async queue drops fix(diagnostics): bound diagnostic buffers · openclaw/openclaw@bdcaac0 fix(installer): copy portable Node into place · openclaw/openclaw@c21ca88 fix(cli): recover replaced device approvals (#85342) · openclaw/openclaw@6ea907c test(release): align prerelease validation · openclaw/openclaw@0def3e2 fix(installer): install portable Node directory atomically · openclaw/openclaw@2890b1a fix(runtime-llm): avoid duplicate provider prefix in allowlist diagno… · openclaw/openclaw@937a756 fix(gateway): include openclaw bin in service PATH (#84475) · openclaw/openclaw@66d1d13 fix(gateway): handle concurrent launchd bootstrap restart race (#84722) · openclaw/openclaw@ba86716 feat: support pi and opencode autoreview engines · openclaw/openclaw@31a189d ci(package): gate acceptance on package integrity · openclaw/openclaw@5275929 ci(release): bypass pnpm for tsdown package build · openclaw/openclaw@fea89cd test(release): align prerelease validation baselines · openclaw/openclaw@04ebdc6 ci(release): harden docker package build · openclaw/openclaw@7b1fbe1 fix(codex): skip native web search transcript mirroring (#85346) · openclaw/openclaw@c3531fc fix(gateway): harden launchd reload handoff race recovery (#84641) · openclaw/openclaw@fc7a531 fix: honor per-model provider transport overrides (#80488) fix(skills): type watcher mock calls in dedupe regression tests · openclaw/openclaw@bb73f0a fix(skills): dedupe shared-directory watchers across agent workspaces… · openclaw/openclaw@3e94290 fix(skills): document watcher edge cases, add teardown/rebuild tests,… · openclaw/openclaw@19ff77e fix(infra): allow macos browser open over ssh env (#85340) · openclaw/openclaw@47d66fe fix(update): preserve package service state during cutover (#83026) · openclaw/openclaw@a15797a fix(gateway): broadcast agent-run error payloads (#85355) · openclaw/openclaw@07e61fc test(e2e): avoid synthetic channel config in plugin smoke fix(cli): suppress systemd hints for live gateway (#85336) · openclaw/openclaw@a00c583 fix(cli): honor agent for model auth logout (#85326) · openclaw/openclaw@fc47c1f fix(gateway): eager-load lifecycle runtime to survive in-place upgrad… · openclaw/openclaw@4a91385 fix(doctor): point codex asset warning at migrate plan (#85324) fix(update): harden managed handoff cwd (#83875) · openclaw/openclaw@1bafc23 docs(release): prepare 2026.5.21 notes ci(crabbox): harden docker hydration refactor(crabbox): parse provider list from binary help instead of ha… test(plugins): keep rpc source walk on source call gateway test(plugins): add kitchen sink rpc docker lane · openclaw/openclaw@6f6da5f test(plugins): run kitchen sink rpc lane without tsx test(qa-lab): add bus tool trace scenario · openclaw/openclaw@2b39613 fix(cron): classify network retry errors (#85344) fix(installer): bootstrap portable Windows Node · openclaw/openclaw@3551e98 fix(ui): move chat session search into picker (#85303) · openclaw/openclaw@1fdc73a fix: honor shrinkwrap when bundling plugin deps fix: opt codex out of bundled runtime deps · openclaw/openclaw@fcecbd8 fix: include plugin shrinkwraps in dependency reports · openclaw/openclaw@82f69a2 fix: make bundled plugin packages portable test: update shrinkwrap packaging expectations · openclaw/openclaw@a1b05aa fix: publish explicit plugin bundled dependencies · openclaw/openclaw@976da39 chore: refresh shrinkwrap for Testbox npm · openclaw/openclaw@b2dc449 fix: cover plugin package locks in dependency review · openclaw/openclaw@bfa5b39 fix: opt acpx out of bundled runtime deps · openclaw/openclaw@9914e25 chore: refresh shrinkwrap metadata chore: harden npm shrinkwrap release path fix: keep bundled plugin peers nested · openclaw/openclaw@86faf65 chore: add shrinkwrap to plugin npm packages · openclaw/openclaw@b6c8807 feat: bundle plugin npm dependencies · openclaw/openclaw@de022bb fix: honor overrides in npm shrinkwrap generation · openclaw/openclaw@0d28040 test: refresh shrinkwrap after rebase · openclaw/openclaw@8b0537c fix: limit subagent bootstrap defaults · openclaw/openclaw@56308a7 feat: update autoreview engine coverage · openclaw/openclaw@ab1fedb fix(messages): strip unsupported citation markers (#85204) (thanks @n… · openclaw/openclaw@0a95e53 test(qa-lab): report live transport coverage lanes · openclaw/openclaw@fda0baf fix(gateway): close child ACP sessions on parent reset/delete · openclaw/openclaw@136c927 fix: preserve Google Gemini 3 cron thinking (#85300) docs(skills): exclude SDK boundary bug sweeps · openclaw/openclaw@85e468d feat(plugin-sdk): add generic channel poll sender (#85299) · openclaw/openclaw@c9a0f03 fix(agents): preserve OpenAI reasoning token usage · openclaw/openclaw@0ddf51c test(e2e): harden plugin smoke cleanup fix(plugins): resolve native plugin sdk aliases (#85298) · openclaw/openclaw@6b1c868 fix(update): keep service logs out of json output · openclaw/openclaw@03f61cd fix(agent): retry transient gateway handshake closes · openclaw/openclaw@ff79299 fix(codex): keep interrupted turns visible-answer eligible (#84494) · openclaw/openclaw@8523e09 test(agents): narrow bundle mcp e2e setup · openclaw/openclaw@6bd430e test: add mocked Control UI E2E tests and playwright for local verifi…
fix(installer): persist portable Git on Windows · openclaw/openclaw@5b90a48
vincentkoc · 2026-05-23 · via Recent Commits to openclaw:main

@@ -389,8 +389,7 @@ function Add-ToUserPath {

389389

}

390390391391

function Get-PortableGitRoot {

392-

$base = Join-Path $env:LOCALAPPDATA "OpenClaw\deps"

393-

return (Join-Path $base "portable-git")

392+

return (Join-Path (Get-OpenClawDepsRoot) "portable-git")

394393

}

395394396395

function Get-PortableGitCommandPath {

@@ -414,20 +413,41 @@ function Use-PortableGitIfPresent {

414413

return $false

415414

}

416415416+

foreach ($pathEntry in (Get-PortableGitPathEntries)) {

417+

Add-ToProcessPath $pathEntry

418+

}

419+

if (Check-Git) {

420+

return $true

421+

}

422+

return $false

423+

}

424+425+

function Get-PortableGitPathEntries {

426+

$gitExe = Get-PortableGitCommandPath

427+

if (-not $gitExe) {

428+

return @()

429+

}

430+417431

$portableRoot = Get-PortableGitRoot

418-

foreach ($pathEntry in @(

432+

$pathEntries = @(

419433

(Join-Path $portableRoot "mingw64\bin"),

420434

(Join-Path $portableRoot "usr\bin"),

421435

(Split-Path -Parent $gitExe)

422-

)) {

423-

if (Test-Path $pathEntry) {

424-

Add-ToProcessPath $pathEntry

436+

)

437+

return ($pathEntries | Where-Object { Test-Path $_ } | Select-Object -Unique)

438+

}

439+440+

function Ensure-PortableGitOnUserPath {

441+

$added = @()

442+

foreach ($pathEntry in (Get-PortableGitPathEntries)) {

443+

if (Add-ToUserPath $pathEntry) {

444+

$added += $pathEntry

425445

}

426446

}

427-

if (Check-Git) {

428-

return $true

447+448+

if ($added.Count -gt 0) {

449+

Write-Host "[!] Added user-local Git to user PATH (restart terminal if git or git-backed updates are not found)" -ForegroundColor Yellow

429450

}

430-

return $false

431451

}

432452433453

function Resolve-PortableGitDownload {

@@ -458,6 +478,7 @@ function Resolve-PortableGitDownload {

458478459479

function Install-PortableGit {

460480

if (Use-PortableGitIfPresent) {

481+

Ensure-PortableGitOnUserPath

461482

$portableVersion = (& git --version 2>$null)

462483

if ($portableVersion) {

463484

Write-Host "[OK] User-local Git already available: $portableVersion" -ForegroundColor Green

@@ -499,14 +520,18 @@ function Install-PortableGit {

499520

if (-not (Use-PortableGitIfPresent)) {

500521

throw "Portable Git bootstrap completed, but git is still unavailable."

501522

}

523+

Ensure-PortableGitOnUserPath

502524503525

$portableVersion = (& git --version 2>$null)

504526

Write-Host "[OK] User-local Git ready: $portableVersion" -ForegroundColor Green

505527

}

506528507529

function Ensure-Git {

508530

if (Check-Git) { return $true }

509-

if (Use-PortableGitIfPresent) { return $true }

531+

if (Use-PortableGitIfPresent) {

532+

Ensure-PortableGitOnUserPath

533+

return $true

534+

}

510535

try {

511536

Install-PortableGit

512537

if (Check-Git) {

@@ -655,17 +680,81 @@ function Ensure-OpenClawOnPath {

655680

return $false

656681

}

657682683+

function Get-RepoPnpmVersion {

684+

param([string]$RepoDir)

685+686+

if ([string]::IsNullOrWhiteSpace($RepoDir)) {

687+

return $null

688+

}

689+690+

$packageJsonPath = Join-Path $RepoDir "package.json"

691+

if (-not (Test-Path $packageJsonPath)) {

692+

return $null

693+

}

694+695+

try {

696+

$packageJson = Get-Content -LiteralPath $packageJsonPath -Raw | ConvertFrom-Json

697+

if ($packageJson.packageManager -match '^pnpm@(?<version>[^+]+)') {

698+

return $Matches["version"]

699+

}

700+

if ($packageJson.devEngines -and $packageJson.devEngines.packageManager) {

701+

$packageManager = $packageJson.devEngines.packageManager

702+

if ($packageManager.name -eq "pnpm" -and -not [string]::IsNullOrWhiteSpace($packageManager.version)) {

703+

return $packageManager.version

704+

}

705+

}

706+

} catch {

707+

return $null

708+

}

709+710+

return $null

711+

}

712+713+

function Test-PnpmCommandMatchesVersion {

714+

param(

715+

[string]$PnpmVersion,

716+

[string]$RepoDir

717+

)

718+719+

$pnpmCommand = Get-PnpmCommandPath

720+

if (-not $pnpmCommand) {

721+

return $false

722+

}

723+

if ([string]::IsNullOrWhiteSpace($PnpmVersion)) {

724+

return $true

725+

}

726+727+

$pushedLocation = $false

728+

try {

729+

if (-not [string]::IsNullOrWhiteSpace($RepoDir) -and (Test-Path $RepoDir)) {

730+

Push-Location -LiteralPath $RepoDir

731+

$pushedLocation = $true

732+

}

733+

$currentVersion = (& $pnpmCommand --version 2>$null)

734+

return ($LASTEXITCODE -eq 0 -and $currentVersion -and $currentVersion.Trim() -eq $PnpmVersion)

735+

} finally {

736+

if ($pushedLocation) {

737+

Pop-Location

738+

}

739+

}

740+

}

741+658742

function Ensure-Pnpm {

659-

if (Get-PnpmCommandPath) {

743+

param([string]$RepoDir)

744+745+

$pnpmVersion = Get-RepoPnpmVersion -RepoDir $RepoDir

746+

$pnpmSpec = if ([string]::IsNullOrWhiteSpace($pnpmVersion)) { "pnpm@latest" } else { "pnpm@$pnpmVersion" }

747+748+

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

660749

return

661750

}

662751

$corepackCommand = Get-CorepackCommandPath

663752

if ($corepackCommand) {

664753

try {

665754

& $corepackCommand enable | Out-Null

666-

& $corepackCommand prepare pnpm@latest --activate | Out-Null

667-

if (Get-PnpmCommandPath) {

668-

Write-Host "[OK] pnpm installed via corepack" -ForegroundColor Green

755+

& $corepackCommand prepare $pnpmSpec --activate | Out-Null

756+

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

757+

Write-Host "[OK] pnpm installed via corepack ($pnpmSpec)" -ForegroundColor Green

669758

return

670759

}

671760

} catch {

@@ -676,10 +765,13 @@ function Ensure-Pnpm {

676765

$prevScriptShell = $env:NPM_CONFIG_SCRIPT_SHELL

677766

$env:NPM_CONFIG_SCRIPT_SHELL = "cmd.exe"

678767

try {

679-

& (Get-NpmCommandPath) install -g pnpm

768+

& (Get-NpmCommandPath) install -g $pnpmSpec

680769

} finally {

681770

$env:NPM_CONFIG_SCRIPT_SHELL = $prevScriptShell

682771

}

772+

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

773+

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

774+

}

683775

Write-Host "[OK] pnpm installed" -ForegroundColor Green

684776

}

685777

@@ -821,7 +913,6 @@ function Install-OpenClawFromGit {

821913

if (-not (Ensure-Git)) {

822914

return $false

823915

}

824-

Ensure-Pnpm

825916826917

$repoUrl = "https://github.com/openclaw/openclaw.git"

827918

Write-Host "[*] Installing OpenClaw from GitHub ($repoUrl)..." -ForegroundColor Yellow

@@ -844,6 +935,7 @@ function Install-OpenClawFromGit {

844935

} else {

845936

Write-Host "[!] Git update disabled; skipping git pull" -ForegroundColor Yellow

846937

}

938+

Ensure-Pnpm -RepoDir $RepoDir

847939848940

Remove-LegacySubmodule -RepoDir $RepoDir

849941

@@ -853,13 +945,19 @@ function Install-OpenClawFromGit {

853945

throw "pnpm not found after installation."

854946

}

855947

$env:NPM_CONFIG_SCRIPT_SHELL = "cmd.exe"

948+

$pushedRepoLocation = $false

856949

try {

857-

& $pnpmCommand -C $RepoDir install

858-

if (-not (& $pnpmCommand -C $RepoDir ui:build)) {

950+

Push-Location -LiteralPath $RepoDir

951+

$pushedRepoLocation = $true

952+

& $pnpmCommand install

953+

if (-not (& $pnpmCommand ui:build)) {

859954

Write-Host "[!] UI build failed; continuing (CLI may still work)" -ForegroundColor Yellow

860955

}

861-

& $pnpmCommand -C $RepoDir build

956+

& $pnpmCommand build

862957

} finally {

958+

if ($pushedRepoLocation) {

959+

Pop-Location

960+

}

863961

$env:NPM_CONFIG_SCRIPT_SHELL = $prevPnpmScriptShell

864962

}

865963