#12981: feat(powershell): add Claude + Gemini dual-AI integration for PowerShell
cli
scripts
stale
Cluster:
Model Authentication Enhancements
Add PowerShell installer and module for OpenClaw with dual-provider support (Anthropic Claude + Google Gemini) and Google Workspace integration (Gmail hooks, Google Chat).
New files:
- scripts/Install-OpenClaw.ps1: Main installer with provider setup
- scripts/powershell/OpenClawAI.psm1: PowerShell module with Ask-Claude, Ask-Gemini, Ask-AI, Compare-AI, and Connect-GoogleWorkspace functions
- scripts/powershell/Setup-GoogleWorkspace.ps1: Google Workspace setup wizard (Gmail API, Pub/Sub, Google Chat)
- scripts/powershell/openclaw-dual-ai.example.json: Example config template for dual-provider + Gmail hooks
Modified:
- src/cli/completion-cli.ts: Add PowerShell completion install support (dot-sourcing to profile, correct reload command)
https://claude.ai/code/session_01BkBRLbafGcdW1JrVnpGQrv
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
This PR adds a PowerShell installer and module that configures OpenClaw for dual AI providers (Anthropic + Google Gemini) and optional Google Workspace/Gmail hook configuration. It also extends the existing `completion` CLI to support installing PowerShell completions via dot-sourcing and printing the correct reload command.
The PowerShell scripts primarily write/update `~/.openclaw/openclaw.json` and the user’s PowerShell profile to import the module, while `src/cli/completion-cli.ts` integrates PowerShell into the existing completion caching + profile-update flow.
<h3>Confidence Score: 3/5</h3>
- This PR is not safe to merge until a few correctness/security issues in the PowerShell scripts are addressed.
- The PowerShell completion change is small and straightforward, but the new PowerShell module/installer has a few definite issues: missing prerequisite checks (git), a documented-but-no-op `-Stream` flag, insecure handling of SecureString conversion, and a gateway port mismatch that can cause incorrect status reporting.
- scripts/powershell/OpenClawAI.psm1, scripts/Install-OpenClaw.ps1
<!-- greptile_other_comments_section -->
<sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub>
<!-- /greptile_comment -->
Most Similar PRs
#6888: feat: PowerShell completion install/uninstall + templates script + ...
by ThinkIbrokeIt · 2026-02-02
73.4%
#12059: feat(agents): Add Azure AI Foundry credential support
by lisanyambere · 2026-02-08
72.4%
#6045: fix(auth): fix Gemini CLI path detection for global npm installs on...
by ehgamemo · 2026-02-01
71.7%
#10984: OpenClaw lists gemini-2.0-flash but misses gemini-2.5-flash-lite (G...
by jatinb92 · 2026-02-07
71.7%
#10372: Fix google-gemini-cli-auth to work on Windows
by omribahumi · 2026-02-06
71.0%
#8821: Security: Holistic capability-based sandbox (replaces pattern-match...
by tonioloewald · 2026-02-04
71.0%
#6382: fix(cli): silence Powerlevel10k Zsh warning from completion script
by dungngo4520 · 2026-02-01
70.8%
#8137: feat: openclaw-env hardened sandbox generator (MVP)
by krahimov · 2026-02-03
70.4%
#6698: feat: Add CLI wrapper for Docker integration and update documentation
by barshopen · 2026-02-01
70.0%
#9257: this is my first fork
by demonking369 · 2026-02-05
70.0%