I Built a VS Code Extension for Google's Antigravity CLI (Because I Refuse to Leave My Editor)

Iniciado por joomlamz, Hoje at 14:25

Respostas: 1   |   Visualizações: 2

Tópico anterior - Tópico seguinte

0 Membros e 1 Visitante estão a ver este tópico.

**SC 300 - Administrador de Acção e Identidades**

Bom dia, amigos do webmastersmz.com! Hoje, vamos mergulhar no mundo das tecnologias de segurança e identidade, mais especificamente no SC 300, que é um certificado de especialização em administrador de acesso e identidades. Este certificado é oferecido pela Microsoft e é reconhecido internacionalmente como uma referência em segurança e gestão de identidades.

**O que é o SC 300?**

O SC 300 é um certificado que visa comprovar a capacidade de um profissional em gerenciar e proteger as identidades e acessos em uma organização. Este certificado é focado em tecnologias como o Azure AD, o Active Directory, o Intune e outros produtos da Microsoft que são essenciais para a segurança e gestão de identidades.

**Pontos principais do SC 300**

1. **Gestão de identidades**: o SC 300 aborda as tecnologias e práticas para gerenciar e proteger as identidades em uma organização, incluindo a autenticação, autorização e gerenciamento de contas.
2. **Segurança**: o certificado visa comprovar a capacidade de um profissional em proteger as identidades e acessos contra ameaças cibernéticas, como ataques de phishing, brute force e outros tipos de ataques.
3. **Azure AD e Active Directory**: o SC 300 é focado em tecnologias da Microsoft, como o Azure AD e o Active Directory, que são essenciais para a gestão de identidades em uma organização.
4. **Intune e outras tecnologias**: o certificado também aborda outras tecnologias como o Intune, que é uma plataforma de gestão de dispositivos móveis e desktops.

**Importância do SC 300**

O SC 300 é um certificado importante para qualquer profissional que trabalhe com segurança e identidade em uma organização. Com este certificado, você pode:

1. **Proteger as identidades**: com o SC 300, você pode proteger as identidades e acessos em sua organização contra ameaças cibernéticas.
2. **Gestão eficaz**: o certificado ajuda a garantir que as identidades sejam gerenciadas de forma eficaz e segura.
3. **Melhorar a segurança**: o SC 300 é uma forma de comprovar a sua capacidade em melhorar a segurança da sua organização.

**Conheça as soluções de alojamento de alta performance da AplicHost**

Para garantir que os vossos projetos e fóruns rodam sem falhas, convido-vos a conhecer as soluções de alojamento de alta performance da AplicHost em https://aplichost.com. Com a AplicHost, você pode ter certeza de que os seus projetos estão em boas mãos e que a sua segurança é nossa prioridade.

I Built a VS Code Extension for Google's Antigravity CLI (Because I Refuse to Leave My Editor)



Tópico: I Built a VS Code Extension for Google's Antigravity CLI (Because I Refuse to Leave My Editor)
Categoria: Tutoriais | Programação & Tecnologia
Idioma Principal: Português (Conteúdo de Tecnologia)

Descrição do Conteúdo / Informações:
-------------------------------------------------------------------------
There's a pattern I've noticed with every new AI coding tool that comes out: they all want you to switch editors. Or open a new terminal. Or context-switch into some standalone app.

I DON'T WANT TO DO THAT

My entire dev workflow lives in VS Code. My keybindings, my split panes, my snippets, my extensions — all of it. When Google released the Antigravity CLI (agy), an agentic coding assistant, I genuinely liked what it could do. But to use it properly, I had to live in a terminal window, manually managing sessions, typing slash commands from memory, and losing my editor context entirely.

So I built a VS Code extension for it instead.



What is Antigravity?


Google Antigravity is Google's agentic coding CLI — think of it as a Gemini-powered dev assistant that can read your project, run tools, execute terminal commands, and help you build. It's the kind of tool that can handle complex multi-step tasks, not just autocomplete.

The CLI is called agy, and it's genuinely capable. The problem was the workflow: terminal-first, session management by hand, and no visual layer over the context you're already in.



The Extension: Antigravity for VS Code


Install it on the VS Code Marketplace

Source on GitHub

The core idea is simple: the extension is a UI layer. It never bundles or replaces the agy binary — it shells out to whichever version you have installed locally. Same philosophy as the Claude Code VS Code extension: the editor provides the surface, the CLI does the work.

Here's what it actually does:



Sessions List


The sidebar panel opens to all your saved sessions. You can open an existing one, delete it, or start fresh. New sessions can be launched in sandboxed mode or with permissions bypassed — accessible right from the "New Session" overflow menu, without memorizing CLI flags.

Any session with an active turn shows a loading indicator in its row, so you always know what's in flight.



Chat Panel (Material 3 Expressive)


This is the main surface. Each session runs its own live, interactive agy process — so follow-up messages carry full context, exactly as if you were in a dedicated terminal. The UI streams replies in as they arrive.

The send button turns into an orange stop button while a turn is running (it sends esc to the underlying process), so you can bail out of long-running tasks without nuking the session.



Terminal Mirror


This was the feature I wanted most. The title-bar terminal button toggles a VS Code terminal that mirrors the exact same live agy process running behind the chat panel. The process normally runs hidden, but when you want to watch it work — or steer it manually — one click surfaces it. Click again to close it. No duplicate process, no forking state.



Slash-Command Navigator


Antigravity has 35 real slash commands: /goal, /diff, /model, /permissions, /rewind, /mcp, and more. Type / in the composer and a navigator appears with autocomplete — arrow keys to move, Enter or Tab to pick. The catalog is pulled from the live CLI, so it always matches what your installed version of agy actually supports.

A handful of commands (/clear, /help, /logout, /changelog) are handled natively. Everything else is forwarded directly to the live session.



Ask About Selection


Select any code in your editor and run Ask About Selection (Ctrl/Cmd + Alt + K). The highlighted text gets sent to the active session with file name and line number context attached. No copy-pasting.



Sign-In Gate


If agy isn't installed or you're not signed in yet, the panel shows just a Sign in with Google button and an Install CLI action. The chat surface only appears once you're authenticated. Sign-out runs /logout in the session.



CLI Lifecycle


Install, update, view the changelog, and manage plugins — all from the command palette or the panel's overflow menu.



Getting Started


Requirements: VS Code 1.90+, and the Antigravity CLI installed and signed in.

# Install the CLI (macOS/Linux)
curl -fsSL https://antigravity.google/cli/install.sh | bash

# Windows (PowerShell)
irm https://antigravity.google/cli/install.ps1 | iex

Then install the extension from the VS Code Marketplace, open the Antigravity panel (rocket icon or Ctrl/Cmd + Alt + A), and sign in with Google.



Why I Built This


Honestly, the reason is just stubbornness about workflow context. I don't want to leave VS Code just to use another tool.

The extension I most directly took inspiration from is the unofficial Claude Code extension for VS Code — same architecture idea, same conviction that the CLI should be authoritative while the editor provides a better UX layer. It's a pattern that makes sense for any powerful CLI tool.

Disclaimer: This is an unofficial community extension, not affiliated with or endorsed by Google. "Antigravity" and "Gemini" are trademarks of Google LLC.



What's Next


I'm planning to improve streaming fidelity, add a richer diff/file-change display for when agy modifies files, and explore tighter workspace context injection. If you try it out and run into issues or have ideas, issues and PRs are open on the GitHub repo.

If you're a VS Code-first developer using (or curious about) Antigravity, give it a shot. It's free, it's open source (MIT), and it doesn't change how agy works at all — it just surfaces it where you already live.

Install Antigravity for VS Code →

Source on GitHub →


Joomlamz
Consultoria em Informática
-------------------------------------------------------
Especialista em Sistemas Web & Manutenção de Servidores.
A desenvolver o novo AplPortal com suporte a PHP 8.
Precisa de ajuda profissional? Contacte-me.

Tags: