From 6387f83512187d491927d9b065884c29e33ec585 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Fri, 1 May 2026 10:26:15 +0100 Subject: [PATCH] test: set Parallels tools profile as raw string --- scripts/e2e/parallels/linux-smoke.ts | 2 +- scripts/e2e/parallels/macos-smoke.ts | 10 +--------- scripts/e2e/parallels/npm-update-scripts.ts | 6 +++--- scripts/e2e/parallels/windows-smoke.ts | 2 +- 4 files changed, 6 insertions(+), 14 deletions(-) diff --git a/scripts/e2e/parallels/linux-smoke.ts b/scripts/e2e/parallels/linux-smoke.ts index 83d830e375b..2cf29c8cc8a 100755 --- a/scripts/e2e/parallels/linux-smoke.ts +++ b/scripts/e2e/parallels/linux-smoke.ts @@ -695,7 +695,7 @@ rm -rf /root/.openclaw/test-bad-plugin`); "true", "--strict-json", ]); - this.guestExec(["openclaw", "config", "set", "tools.profile", '"minimal"', "--strict-json"]); + this.guestExec(["openclaw", "config", "set", "tools.profile", "minimal"]); this.prepareAgentWorkspace(); this.guestBash( `exec /usr/bin/env ${shellQuote(`${this.auth.apiKeyEnv}=${this.auth.apiKeyValue}`)} openclaw agent --local --agent main --session-id parallels-linux-smoke --message ${shellQuote( diff --git a/scripts/e2e/parallels/macos-smoke.ts b/scripts/e2e/parallels/macos-smoke.ts index 46e4f7b0996..0dbca2efa74 100755 --- a/scripts/e2e/parallels/macos-smoke.ts +++ b/scripts/e2e/parallels/macos-smoke.ts @@ -972,15 +972,7 @@ exit 1`); "true", "--strict-json", ]); - this.guestExec([ - guestNode, - guestOpenClawEntry, - "config", - "set", - "tools.profile", - '"minimal"', - "--strict-json", - ]); + this.guestExec([guestNode, guestOpenClawEntry, "config", "set", "tools.profile", "minimal"]); this.guestSh( `${posixAgentWorkspaceScript("Parallels macOS smoke test assistant.")} exec /usr/bin/env ${shellQuote(`${this.auth.apiKeyEnv}=${this.auth.apiKeyValue}`)} ${guestNode} ${guestOpenClawEntry} agent --local --agent main --session-id parallels-macos-smoke --message ${shellQuote( diff --git a/scripts/e2e/parallels/npm-update-scripts.ts b/scripts/e2e/parallels/npm-update-scripts.ts index 73a176e47fc..00eb8921971 100644 --- a/scripts/e2e/parallels/npm-update-scripts.ts +++ b/scripts/e2e/parallels/npm-update-scripts.ts @@ -71,7 +71,7 @@ start_openclaw_gateway wait_for_gateway /opt/homebrew/bin/openclaw models set ${shellQuote(input.auth.modelId)} /opt/homebrew/bin/openclaw config set agents.defaults.skipBootstrap true --strict-json -/opt/homebrew/bin/openclaw config set tools.profile '"minimal"' --strict-json +/opt/homebrew/bin/openclaw config set tools.profile minimal ${posixAgentWorkspaceScript("Parallels npm update smoke test assistant.")} ${input.auth.apiKeyEnv}=${shellQuote(input.auth.apiKeyValue)} /opt/homebrew/bin/openclaw agent --local --agent main --session-id parallels-npm-update-macos --message 'Reply with exact ASCII text OK only.' --thinking minimal --json`; } @@ -142,7 +142,7 @@ if ($LASTEXITCODE -ne 0) { Wait-OpenClawGateway Invoke-OpenClaw models set ${psSingleQuote(input.auth.modelId)} Invoke-OpenClaw config set agents.defaults.skipBootstrap true --strict-json -Invoke-OpenClaw config set tools.profile '"minimal"' --strict-json +Invoke-OpenClaw config set tools.profile minimal ${windowsAgentWorkspaceScript("Parallels npm update smoke test assistant.")} Set-Item -Path ('Env:' + ${psSingleQuote(input.auth.apiKeyEnv)}) -Value ${psSingleQuote(input.auth.apiKeyValue)} Invoke-OpenClaw agent --local --agent main --session-id parallels-npm-update-windows --message 'Reply with exact ASCII text OK only.' --thinking minimal --json`; @@ -205,7 +205,7 @@ start_openclaw_gateway wait_for_gateway openclaw models set ${shellQuote(input.auth.modelId)} openclaw config set agents.defaults.skipBootstrap true --strict-json -openclaw config set tools.profile '"minimal"' --strict-json +openclaw config set tools.profile minimal ${posixAgentWorkspaceScript("Parallels npm update smoke test assistant.")} ${input.auth.apiKeyEnv}=${shellQuote(input.auth.apiKeyValue)} openclaw agent --local --agent main --session-id parallels-npm-update-linux --message 'Reply with exact ASCII text OK only.' --thinking minimal --json`; } diff --git a/scripts/e2e/parallels/windows-smoke.ts b/scripts/e2e/parallels/windows-smoke.ts index c05f512437e..d0241fd7d93 100755 --- a/scripts/e2e/parallels/windows-smoke.ts +++ b/scripts/e2e/parallels/windows-smoke.ts @@ -881,7 +881,7 @@ Invoke-OpenClaw models set ${psSingleQuote(this.auth.modelId)} if ($LASTEXITCODE -ne 0) { throw "models set failed" } Invoke-OpenClaw config set agents.defaults.skipBootstrap true --strict-json if ($LASTEXITCODE -ne 0) { throw "config set failed" } -Invoke-OpenClaw config set tools.profile '"minimal"' --strict-json +Invoke-OpenClaw config set tools.profile minimal if ($LASTEXITCODE -ne 0) { throw "tools profile config set failed" } ${windowsAgentWorkspaceScript("Parallels Windows smoke test assistant.")} Set-Item -Path ('Env:' + ${psSingleQuote(this.auth.apiKeyEnv)}) -Value ${psSingleQuote(this.auth.apiKeyValue)}