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

推荐订阅源

M
MIT News - Artificial intelligence
罗磊的独立博客
Hugging Face - Blog
Hugging Face - Blog
J
Java Code Geeks
G
Google Developers Blog
美团技术团队
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
腾讯CDC
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
T
The Blog of Author Tim Ferriss
月光博客
月光博客
B
Blog
WordPress大学
WordPress大学
云风的 BLOG
云风的 BLOG
博客园_首页
人人都是产品经理
人人都是产品经理
aimingoo的专栏
aimingoo的专栏
Y
Y Combinator Blog
Jina AI
Jina AI
S
SegmentFault 最新的问题
H
Help Net Security
博客园 - 聂微东
Microsoft Azure Blog
Microsoft Azure Blog
Google DeepMind News
Google DeepMind News

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: stabilize native Windows onboarding · openclaw/openc...
steipete · 2026-04-26 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -60,6 +60,9 @@ Docs: https://docs.openclaw.ai

6060
6161

### Fixes

6262
63+

- Windows/native: keep CLI startup and bundled provider plugin loading off

64+

Windows ESM raw-path failure paths, fixing native onboarding/install smoke on

65+

Node 24. Thanks @steipete.

6366

- Providers/Google: transcode Gemini TTS PCM to Opus for voice-note targets so

6467

WhatsApp and other native voice-note replies can play as voice messages.

6568

- Plugins/runtime deps: reuse existing external bundled-plugin stage roots when

Original file line numberDiff line numberDiff line change

@@ -72,4 +72,20 @@ describe("buildCliRespawnPlan", () => {

7272

}),

7373

).toBeNull();

7474

});

75+
76+

it("does not respawn on Windows", () => {

77+

expect(

78+

buildCliRespawnPlan({

79+

argv: [

80+

"node",

81+

"C:\\Users\\alice\\AppData\\Roaming\\npm\\node_modules\\openclaw\\openclaw.mjs",

82+

"onboard",

83+

],

84+

env: {},

85+

execArgv: [],

86+

autoNodeExtraCaCerts: "/etc/ssl/certs/ca-certificates.crt",

87+

platform: "win32",

88+

}),

89+

).toBeNull();

90+

});

7591

});

Original file line numberDiff line numberDiff line change

@@ -28,17 +28,23 @@ export function buildCliRespawnPlan(

2828

execArgv?: string[];

2929

execPath?: string;

3030

autoNodeExtraCaCerts?: string | undefined;

31+

platform?: NodeJS.Platform;

3132

} = {},

3233

): { argv: string[]; env: NodeJS.ProcessEnv } | null {

3334

const argv = params.argv ?? process.argv;

3435

const env = params.env ?? process.env;

3536

const execArgv = params.execArgv ?? process.execArgv;

3637

const execPath = params.execPath ?? process.execPath;

38+

const platform = params.platform ?? process.platform;

3739
3840

if (shouldSkipRespawnForArgv(argv) || isTruthyEnvValue(env.OPENCLAW_NO_RESPAWN)) {

3941

return null;

4042

}

4143
44+

if (platform === "win32") {

45+

return null;

46+

}

47+
4248

const childEnv: NodeJS.ProcessEnv = { ...env };

4349

const childExecArgv = [...execArgv];

4450

let needsRespawn = false;

Original file line numberDiff line numberDiff line change

@@ -28,7 +28,7 @@ afterEach(() => {

2828

});

2929
3030

describe("bundled plugin public surface loader", () => {

31-

it("uses native Jiti import for Windows dist public artifact loads", async () => {

31+

it("uses transpiled Jiti import for Windows dist public artifact loads", async () => {

3232

const createJiti = vi.fn(() => vi.fn(() => ({ marker: "windows-dist-ok" })));

3333

vi.doMock("jiti", () => ({

3434

createJiti,

@@ -56,7 +56,7 @@ describe("bundled plugin public surface loader", () => {

5656

expect(createJiti).toHaveBeenCalledWith(

5757

expect.any(String),

5858

expect.objectContaining({

59-

tryNative: true,

59+

tryNative: false,

6060

}),

6161

);

6262

} finally {

Original file line numberDiff line numberDiff line change

@@ -870,17 +870,17 @@ describe("plugin sdk alias helpers", () => {

870870

}

871871

});

872872
873-

it("prefers native Jiti loads on Windows for built JavaScript entries", () => {

873+

it("disables native Jiti loads on Windows for built JavaScript entries", () => {

874874

const originalPlatform = process.platform;

875875

Object.defineProperty(process, "platform", {

876876

configurable: true,

877877

value: "win32",

878878

});

879879
880880

try {

881-

expect(shouldPreferNativeJiti("/repo/dist/plugins/runtime/index.js")).toBe(true);

881+

expect(shouldPreferNativeJiti("/repo/dist/plugins/runtime/index.js")).toBe(false);

882882

expect(shouldPreferNativeJiti(`/repo/${bundledDistPluginFile("browser", "index.js")}`)).toBe(

883-

true,

883+

false,

884884

);

885885

} finally {

886886

Object.defineProperty(process, "platform", {

@@ -890,7 +890,7 @@ describe("plugin sdk alias helpers", () => {

890890

}

891891

});

892892
893-

it("keeps plugin loader dist shortcuts native on Windows", () => {

893+

it("keeps plugin loader dist shortcuts on transpiled Jiti on Windows", () => {

894894

const originalPlatform = process.platform;

895895

Object.defineProperty(process, "platform", {

896896

configurable: true,

@@ -902,7 +902,7 @@ describe("plugin sdk alias helpers", () => {

902902

resolvePluginLoaderJitiTryNative(`/repo/${bundledDistPluginFile("browser", "index.js")}`, {

903903

preferBuiltDist: true,

904904

}),

905-

).toBe(true);

905+

).toBe(false);

906906

expect(

907907

resolvePluginLoaderJitiTryNative(`/repo/${bundledDistPluginFile("browser", "helper.ts")}`, {

908908

preferBuiltDist: true,

Original file line numberDiff line numberDiff line change

@@ -695,7 +695,7 @@ export function buildPluginLoaderJitiOptions(aliasMap: Record<string, string>) {

695695
696696

function supportsNativeJitiRuntime(): boolean {

697697

const versions = process.versions as { bun?: string };

698-

return typeof versions.bun !== "string";

698+

return typeof versions.bun !== "string" && process.platform !== "win32";

699699

}

700700
701701

function isBundledPluginDistModulePath(modulePath: string): boolean {