fix(worker): put ~/.local/bin on PATH for remote claude in ssh sessions

This commit is contained in:
mika kuns
2026-10-02 14:36:01 +02:00
parent 2e29e03a8e
commit 4b1f5c65c3
2 changed files with 3 additions and 1 deletions
@@ -1689,6 +1689,7 @@ public sealed class InteractiveLaunchSpecServiceTests : IDisposable
Assert.DoesNotContain(spec.Args, a => a.Contains('"'));
var remote = spec.Args[6];
Assert.StartsWith("export PATH=$HOME/.local/bin:$PATH && ", remote);
Assert.Contains("cd ~/'app'", remote);
Assert.Contains($"MCP_TOOL_TIMEOUT={InteractiveLaunchSpecService.McpToolTimeoutMs} claude --mcp-config ~/.claudedo/mcp-{paneId}.json", remote);
Assert.EndsWith($"rm -f ~/.claudedo/mcp-{paneId}.json", remote);