mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-12 12:54:07 -07:00
fix(offload): increase entrypoint verbosity for easier debugging
This commit is contained in:
@@ -39,7 +39,11 @@ export async function runWorker(args: string[]) {
|
||||
process.chdir(targetDir);
|
||||
}
|
||||
|
||||
const geminiBin = path.join(workDir, 'node_modules/.bin/gemini');
|
||||
// Find gemini binary (try worktree, then fallback to main repo)
|
||||
let geminiBin = path.join(targetDir, 'node_modules/.bin/gemini');
|
||||
if (!fs.existsSync(geminiBin)) {
|
||||
geminiBin = path.join(path.dirname(targetDir), 'main/node_modules/.bin/gemini');
|
||||
}
|
||||
|
||||
// 2. Dispatch to Playbook
|
||||
switch (action) {
|
||||
|
||||
Reference in New Issue
Block a user