The old Google gemini CLI stopped working on this account (throwIneligibleOrProjectIdError - needs a GOOGLE_CLOUD_PROJECT the personal account can't supply). Replace it with the Antigravity CLI (agy, native Go binary, own auth, no project ID). - New scripts/ask-agy.sh: plain-text output (no JSON), -p prompt-last, --model friendly names (Gemini 3.1 Pro (High) default for verify/review*/vision/search), --add-dir for file/vision reads, --dangerously-skip-permissions to avoid print-mode approval hangs. All modes smoke-tested (text/verify/review/search). - scripts/ask-gemini.sh: deprecated shim -> exec ask-agy.sh (back-compat). - SKILL.md: rewired header/flags/models/auth/availability/reference to agy. - ask-grok.sh: xsearch fallback now execs ask-agy.sh (was the dead gemini). - identity.json (local, gitignored): agy block added, gemini marked retired. Authoritative flags sourced from 'agy --help' (web docs are JS SPAs, unreadable by fetch tools; grok fetch/search timed out). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
8 lines
445 B
Bash
8 lines
445 B
Bash
#!/usr/bin/env bash
|
|
# ask-gemini.sh — DEPRECATED shim. The AGY skill now routes to the Antigravity CLI
|
|
# (`agy`), not the old Google `gemini` npm CLI (which broke on this account with a
|
|
# Cloud-project eligibility error). This shim forwards to ask-agy.sh so any existing
|
|
# references keep working. New callers should use ask-agy.sh directly.
|
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" 2>/dev/null && pwd)"
|
|
exec bash "$DIR/ask-agy.sh" "$@"
|