fix: add EE repo mount for sandbox and remove agent key listener

Add ~/windmill-ee-private mount to sandbox extra_mounts (needed for
.git access) and remove ArrowLeft/ArrowRight agent-switching keydown
handler from CreateWorktreeDialog.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
centdix
2026-02-21 21:35:53 +00:00
co-authored by Claude Opus 4.6
parent 83f21510f3
commit 93f927c1c1
2 changed files with 2 additions and 7 deletions
+2
View File
@@ -183,6 +183,8 @@ When using sandbox mode, the container needs explicit mounts to access the EE re
```yaml
sandbox:
extra_mounts:
- host_path: ~/windmill-ee-private
writable: true
- host_path: ~/windmill-ee-private__worktrees
writable: true
```
@@ -45,13 +45,6 @@
? (idx + 1) % PROFILES.length
: (idx - 1 + PROFILES.length) % PROFILES.length;
profile = PROFILES[next].value;
} else if (e.key === "ArrowLeft" || e.key === "ArrowRight") {
e.preventDefault();
const idx = AGENTS.findIndex((a) => a.value === agent);
const next = e.key === "ArrowRight"
? (idx + 1) % AGENTS.length
: (idx - 1 + AGENTS.length) % AGENTS.length;
agent = AGENTS[next].value;
}
}