Skip to content

Commit a668de3

Browse files
committed
fix(cli): deprecate explicit command support for agy (github#1798)
1 parent e56d37d commit a668de3

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎src/specify_cli/__init__.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1413,6 +1413,12 @@ def init(
14131413
"copilot"
14141414
)
14151415

1416+
if selected_ai == "agy" and not ai_skills:
1417+
console.print("\n[red]Error:[/red] Antigravity explicit command support is deprecated as of version 1.20.5.")
1418+
console.print("Please use [cyan]--ai-skills[/cyan] when initializing to install templates as agent skills instead.")
1419+
console.print("[yellow]Usage:[/yellow] specify init <project> --ai agy --ai-skills")
1420+
raise typer.Exit(1)
1421+
14161422
# Validate --ai-commands-dir usage
14171423
if selected_ai == "generic":
14181424
if not ai_commands_dir:

0 commit comments

Comments
 (0)