@@ -423,14 +423,10 @@ function runPackedBundledPluginActivationSmoke(packageRoot: string, tmpRoot: str
|
423 | 423 | execFileSync(process.execPath, [join(packageRoot, "openclaw.mjs"), "plugins", "doctor"], { |
424 | 424 | cwd: packageRoot, |
425 | 425 | stdio: "inherit", |
426 | | -env: { |
427 | | - ...process.env, |
| 426 | +env: createPackedCliSmokeEnv(process.env, { |
428 | 427 | HOME: homeDir, |
429 | 428 | OPENAI_API_KEY: "sk-openclaw-release-check", |
430 | | -OPENCLAW_DISABLE_BUNDLED_ENTRY_SOURCE_FALLBACK: "1", |
431 | | -OPENCLAW_NO_ONBOARD: "1", |
432 | | -OPENCLAW_SUPPRESS_NOTES: "1", |
433 | | -}, |
| 429 | +}), |
434 | 430 | }); |
435 | 431 | |
436 | 432 | for (const dep of lazyDeps) { |
@@ -455,13 +451,17 @@ function runPackedCliSmoke(params: {
|
455 | 451 | |
456 | 452 | for (const args of PACKED_CLI_SMOKE_COMMANDS) { |
457 | 453 | if (process.platform === "win32") { |
458 | | -execFileSync(trustedCmdPath, ["/d", "/s", "/c", buildCmdExeCommandLine(binaryPath, [...args])], { |
459 | | -cwd: params.cwd, |
460 | | -stdio: "inherit", |
461 | | - env, |
462 | | -shell: false, |
463 | | -windowsVerbatimArguments: true, |
464 | | -}); |
| 454 | +execFileSync( |
| 455 | +trustedCmdPath, |
| 456 | +["/d", "/s", "/c", buildCmdExeCommandLine(binaryPath, [...args])], |
| 457 | +{ |
| 458 | +cwd: params.cwd, |
| 459 | +stdio: "inherit", |
| 460 | + env, |
| 461 | +shell: false, |
| 462 | +windowsVerbatimArguments: true, |
| 463 | +}, |
| 464 | +); |
465 | 465 | continue; |
466 | 466 | } |
467 | 467 | execFileSync(binaryPath, [...args], { |
|