← Back to PRs

#12981: feat(powershell): add Claude + Gemini dual-AI integration for PowerShell

by tyler791 open 2026-02-10 01:10 View on GitHub →
cli scripts stale
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