From 80a54318ecc2c9f269fa59218a7fb2bd58c34ec9 Mon Sep 17 00:00:00 2001 From: mkorwel Date: Thu, 19 Mar 2026 01:00:20 -0700 Subject: [PATCH] feat(workspaces): revert shell to global gemini command --- .gemini/skills/workspaces/scripts/orchestrator.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gemini/skills/workspaces/scripts/orchestrator.ts b/.gemini/skills/workspaces/scripts/orchestrator.ts index 8ef314cb09..7575edbd73 100644 --- a/.gemini/skills/workspaces/scripts/orchestrator.ts +++ b/.gemini/skills/workspaces/scripts/orchestrator.ts @@ -131,10 +131,9 @@ GEMINI_HOST=${targetVM} await provider.exec(`sudo docker exec maintainer-worker sh -c ${q(`mkdir -p ${remoteWorktreeDir}/.gemini && echo ${q(remoteSettingsJson)} > ${remoteWorktreeDir}/.gemini/settings.json`)}`); // 4. Execution Logic - // In shell mode, we use the local built binary to ensure version consistency. - // In action mode, we run the entrypoint script. + // In shell mode, we just start gemini. In action mode, we run the entrypoint. const remoteWorker = isShellMode - ? `node bundle/gemini.js` + ? `gemini` : `tsx ${persistentScripts}/entrypoint.ts ${prNumber} . ${remotePolicyPath} ${action}`; const authEnv = `-e GEMINI_AUTO_UPDATE=0 ${remoteApiKey ? `-e GEMINI_API_KEY=${remoteApiKey} ` : ''}${remoteGhToken ? `-e GITHUB_TOKEN=${remoteGhToken} -e GH_TOKEN=${remoteGhToken} ` : ''}`;