You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: Deprecated -p flag causes "Cannot use both positional prompt and --prompt flag" error #48
# Find and fix the file in npx cache
find ~/AppData/Local/npm-cache/_npx -name "geminiExecutor.js" \
-exec sed -i 's/args.push(CLI.FLAGS.PROMPT, finalPrompt);/args.push(finalPrompt);/g' {} \; \
-exec sed -i 's/fallbackArgs.push(CLI.FLAGS.PROMPT, fallbackPrompt);/fallbackArgs.push(fallbackPrompt);/g' {} \;
Additional Context
This issue affects all MCP wrapper packages for Gemini CLI that use the -p flag, as Google has deprecated it in CLI version 0.23.0. The positional argument approach is now the recommended way to pass prompts.
Activity
feat: Update to Gemini 3, fix Windows compatibility, add release work…
fix: use positional prompt argument instead of deprecated -p flag
fix: use cross-spawn for Windows compatibility, replace deprecated -p…
fix: use cross-spawn for Windows compatibility, replace deprecated -p…