Skip to content

Commit ca63e96

Browse files
Fix agy update priming and packet sanitization
1 parent 2ea06c5 commit ca63e96

15 files changed

Lines changed: 104 additions & 30 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1232,7 +1232,7 @@ Benefits for agentic workflows:
12321232
| **Claude Code** | `claude` | `cc` (dangerous mode) |
12331233
| **Codex CLI** | `codex` | `cod` (dangerous mode) |
12341234
| **Antigravity CLI** | `agy` | `agy` (model-pinned, dangerous mode) |
1235-
| **Gemini CLI** (legacy) | `gemini` | `gmi` (retired 2026-06-18; old-history reads only) |
1235+
| **Gemini CLI** (legacy) | `gemini` | `gmi` (retired 2026-06-18; routes to locked `agy`) |
12361236
12371237
**Vibe Mode Aliases:**
12381238
```bash

acfs/onboard/lessons/04_agents_login.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ You have three powerful coding agents installed:
1414
| Codex CLI | `codex` | `cod` | OpenAI |
1515
| Antigravity CLI | `agy` | `agy` | Google |
1616

17-
> The Gemini CLI (`gmi`) it replaced retired on 2026-06-18. `gmi` is still defined for reading old `~/.gemini/tmp` history, but use `agy` for all new work.
17+
> The Gemini CLI retired on 2026-06-18. `gmi` is still defined for muscle memory, but ACFS maps it to the same locked Antigravity launcher as `agy`; use `agy` in new docs and workflows.
1818
1919
---
2020

acfs/zsh/acfs.zshrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ alias install='sudo apt install'
164164
alias search='apt search'
165165

166166
# Update agent CLIs
167-
alias uca='(curl -fsSL https://claude.ai/install.sh | bash -s -- latest) && ("$HOME/.bun/bin/bun" install -g --trust @openai/codex@latest || "$HOME/.bun/bin/bun" install -g --trust @openai/codex) && "$HOME/.local/bin/agy" update'
167+
alias uca='(curl -fsSL https://claude.ai/install.sh | bash -s -- latest) && ("$HOME/.bun/bin/bun" install -g --trust @openai/codex@latest || "$HOME/.bun/bin/bun" install -g --trust @openai/codex) && "$HOME/.local/bin/agy" update && "$HOME/.local/bin/agy-locked" --acfs-prime-settings'
168168

169169
# --- Custom functions ---
170170
mkcd() { mkdir -p "$1" && cd "$1" || return; }

apps/web/app/learn/commands/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ const COMMANDS: CommandEntry[] = [
133133
{
134134
name: "gmi",
135135
fullName: "Gemini CLI (legacy)",
136-
description: "Retired 2026-06-18 — superseded by `agy`; kept for old sessions",
136+
description: "Legacy shortcut retained for old habits; now launches locked `agy`",
137137
example: 'gmi "explain the repo structure"',
138138
category: "agents",
139139
learnMoreHref: "/learn/tools/gemini-cli",
@@ -157,7 +157,7 @@ const COMMANDS: CommandEntry[] = [
157157
{
158158
name: "gemini",
159159
fullName: "Gemini CLI (legacy)",
160-
description: "Full command for the retired `gmi`; kept for old sessions",
160+
description: "Retired Gemini CLI reference; use `agy` or legacy shortcut `gmi`",
161161
example: "gemini --help",
162162
category: "agents",
163163
learnMoreHref: "/learn/tools/gemini-cli",

apps/web/app/learn/tools/[tool]/tool-data.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ const RAW_TOOLS: Record<ToolId, ToolCard> = {
153153
"gemini-cli": {
154154
id: "gemini-cli",
155155
title: "Gemini CLI (legacy)",
156-
tagline: "Retired 2026-06-18 - superseded by the Antigravity CLI (agy)",
156+
tagline: "Retired 2026-06-18 - legacy gmi now routes to locked agy",
157157
icon: <Search className="h-8 w-8" aria-hidden="true" />,
158158
gradient: "from-blue-500/20 via-indigo-500/20 to-blue-500/20",
159159
glowColor: "rgba(99,102,241,0.4)",

apps/web/components/agent-commands/AgentHeroCard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export const agentPersonalities: Record<
6262
glowColor: "oklch(0.75 0.18 195)",
6363
bgGlow: "bg-[oklch(0.75_0.18_195/0.15)]",
6464
borderHover: "hover:border-[oklch(0.75_0.18_195/0.5)]",
65-
tagline: "Gemini CLI — legacy, retired 2026-06-18",
65+
tagline: "Legacy gmi shortcut now launches locked agy",
6666
},
6767
};
6868

@@ -99,7 +99,7 @@ export function AgentHeroCard({
9999
return;
100100
}
101101

102-
const keyNum = parseInt(e.key);
102+
const keyNum = parseInt(e.key, 10);
103103
if (keyNum === index + 1 && keyNum >= 1 && keyNum <= 4) {
104104
cardRef.current?.focus();
105105
onKeyboardFocus?.(true);

apps/web/components/agent-commands/QuickAccessBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const quickCommands: QuickCommand[] = [
1818
{ alias: "cc", agentType: "claude", label: "Claude", iconGradient: "from-orange-400 to-amber-500" },
1919
{ alias: "cod", agentType: "codex", label: "Codex", iconGradient: "from-emerald-400 to-teal-500" },
2020
{ alias: "agy", agentType: "antigravity", label: "Antigravity", iconGradient: "from-blue-400 to-purple-500" },
21-
// Legacy: Gemini CLI was retired 2026-06-18 (kept for users resuming old sessions).
21+
// Legacy shortcut: Gemini CLI retired 2026-06-18; ACFS maps gmi to locked agy.
2222
{ alias: "gmi", agentType: "gemini", label: "Gemini (legacy)", iconGradient: "from-blue-400 to-indigo-500" },
2323
];
2424

apps/web/components/lessons/agents-login-lesson.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,10 @@ export function AgentsLoginLesson() {
142142
</div>
143143

144144
<Paragraph>
145-
Legacy: <Highlight>gmi</Highlight> (
146-
<Highlight>gemini --yolo</Highlight>) is still defined for reading old
147-
sessions, but the Gemini CLI it launched retired 2026-06-18 — reach for{" "}
148-
<Highlight>agy</Highlight> instead.
145+
Legacy: <Highlight>gmi</Highlight> is still defined, but it now launches
146+
the same locked Antigravity path as <Highlight>agy</Highlight>. The
147+
Gemini CLI retired 2026-06-18, so use <Highlight>agy</Highlight> for
148+
new work and treat old Gemini references as history/context only.
149149
</Paragraph>
150150
</Section>
151151

@@ -186,7 +186,7 @@ export function AgentsLoginLesson() {
186186
<LoginStep
187187
agent="Gemini CLI (legacy)"
188188
command='export GEMINI_API_KEY="your-gemini-api-key"'
189-
description="Legacy path for the retired gemini CLI (kept for old ~/.gemini/tmp history). Put the key in ~/.gemini/.env or your shell config, then run gemini."
189+
description="Only for intentionally opening the retired gemini binary or old ~/.gemini/tmp material. The gmi shortcut now launches locked agy."
190190
gradient="from-blue-500/10 to-indigo-500/10"
191191
/>
192192
</div>

apps/web/lib/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export const COMMANDS: CommandRef[] = [
135135
{
136136
name: "gmi",
137137
fullName: "Gemini CLI (legacy)",
138-
description: "Retired 2026-06-18 — superseded by agy. Kept for old sessions.",
138+
description: "Legacy shortcut retained for old habits; now launches locked agy.",
139139
category: "agents",
140140
example: 'gmi "review this PR"',
141141
aliases: ["gemini"],

apps/web/lib/jargon.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,9 +354,9 @@ export const jargonDictionary: Record<string, JargonTerm> = {
354354
"gemini-cli": {
355355
term: "Gemini CLI (legacy)",
356356
short: "Google's retired predecessor to Antigravity CLI",
357-
long: "Gemini CLI was Google's earlier terminal coding assistant. ACFS keeps legacy references so old session history and docs remain understandable, but new work should use Antigravity CLI through the `agy` command.",
357+
long: "Gemini CLI was Google's earlier terminal coding assistant. ACFS keeps legacy references so old session history and docs remain understandable, but the `gmi` shortcut now routes to the same locked Antigravity path as `agy`.",
358358
analogy: "Gemini CLI is the old doorway into the Google model family. Antigravity is the current doorway for new sessions.",
359-
why: "Legacy Gemini references matter for reading old history and migration notes. For new coding-agent work, use Antigravity CLI instead.",
359+
why: "Legacy Gemini references matter for reading old history and migration notes. For new coding-agent work, use Antigravity CLI through `agy`; `gmi` remains only as a familiar shortcut to that same path.",
360360
related: ["ai-agents", "claude-code", "codex", "antigravity-cli"],
361361
},
362362

0 commit comments

Comments
 (0)