From e4dc03f108ea06bb0477dbdd32b79cf5f9b9d008 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 4 Apr 2026 14:18:26 +0900 Subject: [PATCH] refactor(acpx): split Windows command parsing --- CHANGELOG.md | 1 + .../runtime-internals/mcp-command-line.mjs | 123 ++++++++++++++++++ .../mcp-command-line.test.ts | 59 +++++++++ .../acpx/src/runtime-internals/mcp-proxy.mjs | 111 +--------------- .../src/runtime-internals/mcp-proxy.test.ts | 49 ------- 5 files changed, 184 insertions(+), 159 deletions(-) create mode 100644 extensions/acpx/src/runtime-internals/mcp-command-line.mjs create mode 100644 extensions/acpx/src/runtime-internals/mcp-command-line.test.ts diff --git a/CHANGELOG.md b/CHANGELOG.md index f4e2984c76c..630d3f8843e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -40,6 +40,7 @@ Docs: https://docs.openclaw.ai - Mobile pairing/Android: stop generating Tailscale and public mobile setup codes that point at unusable cleartext remote gateways, keep private LAN pairing allowed, and make Android reject insecure remote endpoints with clearer guidance while mixed bootstrap approvals honor operator scopes correctly. (#60128) Thanks @obviyus. - Mobile pairing/device approval: mint both node and operator device tokens when one approval grants merged roles, so mixed mobile bootstrap pairings stop reconnecting as operator-only and showing the node offline. (#60208) Thanks @obviyus. - ACPX/Windows: preserve backslashes in Claude CLI command parsing, including unquoted absolute `.exe` paths and Windows path-valued args, so Claude sessions can spawn reliably again on Windows. (#60689) Thanks @steipete. +- ACPX/Windows: make direct wrapper-script targets fail fast with guidance to use `cmd.exe /c`, `powershell.exe -File`, or `node