@google/gemini-cli 0.46.0-preview.2 → 0.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/builtin/antigravity-support/SKILL.md +58 -0
- package/bundle/{chunk-PIZZXDDG.js → chunk-46UNR4SE.js} +1 -1
- package/bundle/{chunk-E5QEVDYZ.js → chunk-6ZHP2EJW.js} +77 -12
- package/bundle/{chunk-PE7HOVW5.js → chunk-7EBO46BD.js} +2 -2
- package/bundle/{chunk-2K6L5FOH.js → chunk-BM5TFZWV.js} +1 -1
- package/bundle/{chunk-R4U5N4EA.js → chunk-CSKXYL76.js} +2 -2
- package/bundle/{chunk-RS7XVABE.js → chunk-EMVR5JTF.js} +8 -9
- package/bundle/{chunk-27JE2WT6.js → chunk-FC67CGD5.js} +1 -1
- package/bundle/{chunk-O6PTG534.js → chunk-G33JEOEV.js} +14132 -7532
- package/bundle/{chunk-J5LPI3LE.js → chunk-GPDO3T5B.js} +3 -3
- package/bundle/{chunk-7JQYEHGG.js → chunk-I4F637TN.js} +1 -1
- package/bundle/{chunk-LEOT5EUQ.js → chunk-IZGZZO6A.js} +1 -1
- package/bundle/{chunk-CRQJBWDY.js → chunk-IZZGJPR3.js} +1 -1
- package/bundle/{chunk-PRRK6JDC.js → chunk-JOFGDFVN.js} +3 -3
- package/bundle/{chunk-B5F4VQB4.js → chunk-MKQJU6N7.js} +1 -1
- package/bundle/{chunk-CWVF4ZTK.js → chunk-O3ZM34A3.js} +1 -1
- package/bundle/{chunk-EI75YPWJ.js → chunk-RCJSF5RP.js} +64 -8
- package/bundle/{chunk-SIKHBFAN.js → chunk-S5WKKTEF.js} +3 -3
- package/bundle/{chunk-QB7YVNGV.js → chunk-SCXTH56Q.js} +165 -114
- package/bundle/{chunk-5IDNG2OG.js → chunk-T55FPMGN.js} +212 -174
- package/bundle/{chunk-QW5AOX4N.js → chunk-V2OCZBTI.js} +5 -8
- package/bundle/{chunk-WUZJ6YCQ.js → chunk-VFPQ45DS.js} +2 -2
- package/bundle/{chunk-22XWYJCL.js → chunk-XWSJWBAL.js} +165 -114
- package/bundle/{chunk-RHCHEKOW.js → chunk-YIJWUMMP.js} +1 -1
- package/bundle/{chunk-7PDJUYG7.js → chunk-YIKH5LDT.js} +1 -1
- package/bundle/{cleanup-I5FUY2UQ.js → cleanup-HCSVNXSL.js} +2 -2
- package/bundle/{cleanup-OIBS4TJ5.js → cleanup-KA5YYXS3.js} +2 -2
- package/bundle/{cleanup-RODT76X7.js → cleanup-SBGWM3G7.js} +2 -2
- package/bundle/{dist-XLM4ONR2.js → core-K77SYAQL.js} +3 -1
- package/bundle/{core-DU2UPBEJ.js → core-LVRAYGT3.js} +3 -1
- package/bundle/{devtoolsService-C64GR2SQ.js → devtoolsService-ADGLR4UM.js} +2 -2
- package/bundle/{devtoolsService-U7Z6S7CA.js → devtoolsService-ORERBA72.js} +3 -4
- package/bundle/{devtoolsService-EJVCNXD4.js → devtoolsService-WRHZUKOW.js} +2 -2
- package/bundle/{dist-CEGGZCD6.js → dist-6R4J6OFH.js} +3 -1
- package/bundle/{gemini-EEFZ4W4N.js → gemini-LOO67E54.js} +196 -212
- package/bundle/{gemini-D5Y26G7I.js → gemini-STIONCRJ.js} +14 -14
- package/bundle/{gemini-3AA27X7W.js → gemini-YXO2QQ66.js} +14 -14
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-B5QE2YQH.js → interactiveCli-F337IDVS.js} +30 -20
- package/bundle/{interactiveCli-5L4XUO4D.js → interactiveCli-NKTBHB7O.js} +30 -20
- package/bundle/{interactiveCli-S4W3W3HM.js → interactiveCli-OYDA765S.js} +317 -326
- package/bundle/{liteRtServerManager-2IHVDPV4.js → liteRtServerManager-6CQ3NBHQ.js} +4 -4
- package/bundle/{liteRtServerManager-7CA6UZB6.js → liteRtServerManager-N7CBKKD6.js} +4 -4
- package/bundle/{liteRtServerManager-P4UUE4PT.js → liteRtServerManager-YBJANX3B.js} +4 -4
- package/bundle/{oauth2-provider-WD62E6UF.js → oauth2-provider-AAJFAFW6.js} +1 -1
- package/bundle/{oauth2-provider-5IAYEVTS.js → oauth2-provider-CYIU4X4W.js} +1 -1
- package/bundle/{oauth2-provider-NQK2KDLL.js → oauth2-provider-YNWUFCNW.js} +72 -38
- package/bundle/{start-AAWVXW3L.js → start-CNBBYSNI.js} +6 -6
- package/bundle/{start-EHQUCJL4.js → start-DEWQ46DT.js} +6 -6
- package/bundle/{start-EJWSTD4L.js → start-H7TCWGQL.js} +6 -6
- package/package.json +1 -1
- package/bundle/chunk-3RBWPCUC.js +0 -154
- package/bundle/chunk-IPUQ7EE3.js +0 -81685
- package/bundle/chunk-NV6UIB5A.js +0 -1571
- package/bundle/chunk-R4UEOSDC.js +0 -398
- package/bundle/chunk-UEE43LJM.js +0 -118
- package/bundle/chunk-UHZJ6CQN.js +0 -17320
- package/bundle/chunk-USOBCNPR.js +0 -394545
- package/bundle/chunk-ZXFPRK6W.js +0 -512
- package/bundle/cleanup-WY7MMPH7.js +0 -32
- package/bundle/devtoolsService-LQXWZBCZ.js +0 -856
- package/bundle/dist-F4ZLD67R.js +0 -2140
- package/bundle/gemini-TPWWVYVB.js +0 -16409
- package/bundle/interactiveCli-CFKGEXFE.js +0 -34742
- package/bundle/liteRtServerManager-YN3VGMDA.js +0 -65
- package/bundle/oauth2-provider-WGTNZKF7.js +0 -235
- package/bundle/start-LAOVDDQF.js +0 -18
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: antigravity-support
|
|
3
|
+
description: Use when the user asks questions, seeks help, or requests instructions related to installing, setting up, or migrating to Antigravity CLI. This skill provides the latest up to date details, requirements, and commands sourced from the official Antigravity CLI documentation.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Antigravity CLI Support
|
|
7
|
+
|
|
8
|
+
This skill provides up-to-date information on how to install, configure, use, and migrate to Antigravity CLI, sourced from the official documentation at https://antigravity.google/docs/cli-getting-started.
|
|
9
|
+
|
|
10
|
+
## What is Antigravity CLI?
|
|
11
|
+
|
|
12
|
+
Antigravity CLI is a next-generation terminal interface for collaborating with autonomous agents on local codebases. It is designed to be highly interactive and agent-driven, launching a Terminal User Interface (TUI) to coordinate code generation, reasoning, and workspace tasks.
|
|
13
|
+
|
|
14
|
+
Key Features:
|
|
15
|
+
- **Autonomous Agent Collaboration:** Work directly with agents within your terminal.
|
|
16
|
+
- **Interactive TUI:** A full terminal user interface designed for agent workflows.
|
|
17
|
+
- **Workspace Integration:** Deep understanding of your local workspace structure and context.
|
|
18
|
+
|
|
19
|
+
## Installation
|
|
20
|
+
|
|
21
|
+
To install the Antigravity CLI on your machine:
|
|
22
|
+
|
|
23
|
+
### macOS / Linux (Fast-Path Script)
|
|
24
|
+
Run the following standard curl command in your terminal:
|
|
25
|
+
```bash
|
|
26
|
+
curl -fsSL https://antigravity.google/cli/install.sh | bash
|
|
27
|
+
```
|
|
28
|
+
This script downloads, verifies, and installs the latest version of Antigravity, and automatically registers the `agy` binary in your PATH.
|
|
29
|
+
|
|
30
|
+
### Windows (PowerShell)
|
|
31
|
+
For Windows environments, install via the official PowerShell setup command:
|
|
32
|
+
```powershell
|
|
33
|
+
irm https://antigravity.google/cli/install.ps1 | iex
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Initial Setup & Configuration
|
|
37
|
+
|
|
38
|
+
Once installed, navigate to any project or workspace directory and run:
|
|
39
|
+
```bash
|
|
40
|
+
agy
|
|
41
|
+
```
|
|
42
|
+
This command starts the Antigravity CLI. The first time you launch it, the interactive TUI will guide you through:
|
|
43
|
+
1. **Workspace Trust Verification:** Confirming trust for the workspace folder to allow secure local command execution and file edits.
|
|
44
|
+
2. **Visual Theme Configuration:** Setting up your preferred interactive terminal aesthetic and layout.
|
|
45
|
+
3. **Rendering Modes:** Tailoring TUI performance and drawing behaviors to your terminal capabilities.
|
|
46
|
+
|
|
47
|
+
## How to Migrate to Antigravity CLI
|
|
48
|
+
|
|
49
|
+
If you are transitioning or migrating from another tool (such as Gemini CLI) to Antigravity CLI, follow these steps:
|
|
50
|
+
1. **Check Requirements:** Ensure your local environment meets standard requirements (e.g., node, git, shell access) and is running a compatible operating system (macOS, Linux, or Windows).
|
|
51
|
+
2. **Install Antigravity:** Run the installation script above to make the `agy` command globally available.
|
|
52
|
+
3. **Verify Installation:** Test the installation by running `agy --version` or launching `agy` in an empty or sample directory.
|
|
53
|
+
4. **Transition Workspaces:** Run `agy` directly inside your project workspace root. The initial setup assistant will guide you to import or configure trust policies, similar to those you might have used previously.
|
|
54
|
+
|
|
55
|
+
## Official Resources and Learning More
|
|
56
|
+
|
|
57
|
+
If you need more details or have advanced configuration/migration needs, please visit the official documentation:
|
|
58
|
+
- **Official Documentation:** https://antigravity.google/docs/cli-getting-started
|
|
@@ -276503,6 +276503,9 @@ function isActiveModel(model, useGemini3_1 = false, useCustomToolModel = false,
|
|
|
276503
276503
|
return model !== PREVIEW_GEMINI_3_1_MODEL && model !== PREVIEW_GEMINI_3_1_CUSTOM_TOOLS_MODEL;
|
|
276504
276504
|
}
|
|
276505
276505
|
}
|
|
276506
|
+
var CCPA_AI_MODEL_MAPPINGS = {
|
|
276507
|
+
[DEFAULT_GEMINI_3_5_FLASH_MODEL]: SECONDARY_GEMINI_3_5_FLASH_MODEL
|
|
276508
|
+
};
|
|
276506
276509
|
|
|
276507
276510
|
// packages/core/src/billing/billing.ts
|
|
276508
276511
|
var G1_CREDIT_TYPE = "GOOGLE_ONE_AI";
|
|
@@ -279559,8 +279562,8 @@ function isValidToolName(name3, options = {}) {
|
|
|
279559
279562
|
}
|
|
279560
279563
|
|
|
279561
279564
|
// packages/core/src/generated/git-commit.ts
|
|
279562
|
-
var GIT_COMMIT_INFO = "
|
|
279563
|
-
var CLI_VERSION = "0.46.0
|
|
279565
|
+
var GIT_COMMIT_INFO = "cf709c0e0";
|
|
279566
|
+
var CLI_VERSION = "0.46.0";
|
|
279564
279567
|
|
|
279565
279568
|
// packages/core/src/ide/detect-ide.ts
|
|
279566
279569
|
var IDE_DEFINITIONS = {
|
|
@@ -304029,7 +304032,7 @@ function getVersion() {
|
|
|
304029
304032
|
}
|
|
304030
304033
|
versionPromise = (async () => {
|
|
304031
304034
|
const pkgJson = await getPackageJson(__dirname4);
|
|
304032
|
-
return "0.46.0
|
|
304035
|
+
return "0.46.0";
|
|
304033
304036
|
})();
|
|
304034
304037
|
return versionPromise;
|
|
304035
304038
|
}
|
|
@@ -309267,6 +309270,58 @@ var LoggingContentGenerator = class {
|
|
|
309267
309270
|
}
|
|
309268
309271
|
};
|
|
309269
309272
|
|
|
309273
|
+
// packages/core/src/core/modelMappingContentGenerator.ts
|
|
309274
|
+
var ModelMappingContentGenerator = class {
|
|
309275
|
+
constructor(wrapped, mappings) {
|
|
309276
|
+
this.wrapped = wrapped;
|
|
309277
|
+
this.mappings = mappings;
|
|
309278
|
+
}
|
|
309279
|
+
getWrapped() {
|
|
309280
|
+
return this.wrapped;
|
|
309281
|
+
}
|
|
309282
|
+
get userTier() {
|
|
309283
|
+
return this.wrapped.userTier;
|
|
309284
|
+
}
|
|
309285
|
+
get userTierName() {
|
|
309286
|
+
return this.wrapped.userTierName;
|
|
309287
|
+
}
|
|
309288
|
+
get paidTier() {
|
|
309289
|
+
return this.wrapped.paidTier;
|
|
309290
|
+
}
|
|
309291
|
+
mapModel(req) {
|
|
309292
|
+
if (req.model) {
|
|
309293
|
+
const normalizedModel = normalizeModelId(req.model);
|
|
309294
|
+
if (this.mappings[normalizedModel]) {
|
|
309295
|
+
return {
|
|
309296
|
+
...req,
|
|
309297
|
+
model: req.model.startsWith("models/") ? `models/${this.mappings[normalizedModel]}` : this.mappings[normalizedModel]
|
|
309298
|
+
};
|
|
309299
|
+
}
|
|
309300
|
+
}
|
|
309301
|
+
return req;
|
|
309302
|
+
}
|
|
309303
|
+
generateContent(request, userPromptId, role) {
|
|
309304
|
+
return this.wrapped.generateContent(
|
|
309305
|
+
this.mapModel(request),
|
|
309306
|
+
userPromptId,
|
|
309307
|
+
role
|
|
309308
|
+
);
|
|
309309
|
+
}
|
|
309310
|
+
generateContentStream(request, userPromptId, role) {
|
|
309311
|
+
return this.wrapped.generateContentStream(
|
|
309312
|
+
this.mapModel(request),
|
|
309313
|
+
userPromptId,
|
|
309314
|
+
role
|
|
309315
|
+
);
|
|
309316
|
+
}
|
|
309317
|
+
countTokens(request) {
|
|
309318
|
+
return this.wrapped.countTokens(this.mapModel(request));
|
|
309319
|
+
}
|
|
309320
|
+
embedContent(request) {
|
|
309321
|
+
return this.wrapped.embedContent(this.mapModel(request));
|
|
309322
|
+
}
|
|
309323
|
+
};
|
|
309324
|
+
|
|
309270
309325
|
// packages/core/src/code_assist/codeAssist.ts
|
|
309271
309326
|
async function createCodeAssistContentGenerator(httpOptions, authType, config2, sessionId) {
|
|
309272
309327
|
if (authType === "oauth-personal" /* LOGIN_WITH_GOOGLE */ || authType === "compute-default-credentials" /* COMPUTE_ADC */) {
|
|
@@ -309287,8 +309342,14 @@ async function createCodeAssistContentGenerator(httpOptions, authType, config2,
|
|
|
309287
309342
|
}
|
|
309288
309343
|
function getCodeAssistServer(config2) {
|
|
309289
309344
|
let server = config2.getContentGenerator();
|
|
309290
|
-
|
|
309291
|
-
server
|
|
309345
|
+
while (true) {
|
|
309346
|
+
if (server instanceof LoggingContentGenerator) {
|
|
309347
|
+
server = server.getWrapped();
|
|
309348
|
+
} else if (server instanceof ModelMappingContentGenerator) {
|
|
309349
|
+
server = server.getWrapped();
|
|
309350
|
+
} else {
|
|
309351
|
+
break;
|
|
309352
|
+
}
|
|
309292
309353
|
}
|
|
309293
309354
|
if (!(server instanceof CodeAssistServer)) {
|
|
309294
309355
|
return void 0;
|
|
@@ -309684,11 +309745,14 @@ async function createContentGenerator(config2, gcConfig, sessionId) {
|
|
|
309684
309745
|
if (config2.authType === "oauth-personal" /* LOGIN_WITH_GOOGLE */ || config2.authType === "compute-default-credentials" /* COMPUTE_ADC */) {
|
|
309685
309746
|
const httpOptions = { headers: baseHeaders };
|
|
309686
309747
|
return new LoggingContentGenerator(
|
|
309687
|
-
|
|
309688
|
-
|
|
309689
|
-
|
|
309690
|
-
|
|
309691
|
-
|
|
309748
|
+
new ModelMappingContentGenerator(
|
|
309749
|
+
await createCodeAssistContentGenerator(
|
|
309750
|
+
httpOptions,
|
|
309751
|
+
config2.authType,
|
|
309752
|
+
gcConfig,
|
|
309753
|
+
sessionId
|
|
309754
|
+
),
|
|
309755
|
+
CCPA_AI_MODEL_MAPPINGS
|
|
309692
309756
|
),
|
|
309693
309757
|
gcConfig
|
|
309694
309758
|
);
|
|
@@ -338373,7 +338437,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
|
|
|
338373
338437
|
return provider;
|
|
338374
338438
|
}
|
|
338375
338439
|
case "oauth2": {
|
|
338376
|
-
const { OAuth2AuthProvider } = await import("./oauth2-provider-
|
|
338440
|
+
const { OAuth2AuthProvider } = await import("./oauth2-provider-YNWUFCNW.js");
|
|
338377
338441
|
const provider = new OAuth2AuthProvider(
|
|
338378
338442
|
authConfig,
|
|
338379
338443
|
options.agentName ?? "unknown",
|
|
@@ -381455,7 +381519,7 @@ ${sections.join("\n")}
|
|
|
381455
381519
|
if (authType === "gemini-api-key" /* USE_GEMINI */) {
|
|
381456
381520
|
setFlashModels("gemini-3-flash-preview", "gemini-3.5-flash");
|
|
381457
381521
|
} else {
|
|
381458
|
-
setFlashModels("gemini-3-flash", "gemini-3-flash");
|
|
381522
|
+
setFlashModels("gemini-3.5-flash", "gemini-3.5-flash");
|
|
381459
381523
|
}
|
|
381460
381524
|
} else {
|
|
381461
381525
|
setFlashModels("gemini-3-flash-preview", "gemini-2.5-flash");
|
|
@@ -399920,6 +399984,7 @@ export {
|
|
|
399920
399984
|
isAutoModel,
|
|
399921
399985
|
supportsMultimodalFunctionResponse,
|
|
399922
399986
|
isActiveModel,
|
|
399987
|
+
CCPA_AI_MODEL_MAPPINGS,
|
|
399923
399988
|
G1_CREDIT_TYPE,
|
|
399924
399989
|
OVERAGE_ELIGIBLE_MODELS,
|
|
399925
399990
|
isOverageEligibleModel,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
const require = (await import('node:module')).createRequire(import.meta.url); const __chunk_filename = (await import('node:url')).fileURLToPath(import.meta.url); const __chunk_dirname = (await import('node:path')).dirname(__chunk_filename);
|
|
2
2
|
import {
|
|
3
3
|
runExitCleanup
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-46UNR4SE.js";
|
|
5
5
|
import {
|
|
6
6
|
RELEASE_CHANNEL_STABILITY,
|
|
7
7
|
debugLogger,
|
|
8
8
|
getChannelFromVersion,
|
|
9
9
|
isGitRepository
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6ZHP2EJW.js";
|
|
11
11
|
|
|
12
12
|
// packages/cli/src/utils/installationInfo.ts
|
|
13
13
|
import * as fs from "node:fs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const require = (await import('node:module')).createRequire(import.meta.url); const __chunk_filename = (await import('node:url')).fileURLToPath(import.meta.url); const __chunk_dirname = (await import('node:path')).dirname(__chunk_filename);
|
|
2
2
|
import {
|
|
3
3
|
checkExhaustive
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6ZHP2EJW.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__toESM
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
const require = (await import('node:module')).createRequire(import.meta.url); const __chunk_filename = (await import('node:url')).fileURLToPath(import.meta.url); const __chunk_dirname = (await import('node:path')).dirname(__chunk_filename);
|
|
2
2
|
import {
|
|
3
3
|
runExitCleanup
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-FC67CGD5.js";
|
|
5
5
|
import {
|
|
6
6
|
RELEASE_CHANNEL_STABILITY,
|
|
7
7
|
debugLogger,
|
|
8
8
|
getChannelFromVersion,
|
|
9
9
|
isGitRepository
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RCJSF5RP.js";
|
|
11
11
|
|
|
12
12
|
// packages/cli/src/utils/installationInfo.ts
|
|
13
13
|
import * as fs from "node:fs";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
const require = (await import('node:module')).createRequire(import.meta.url); const __chunk_filename = (await import('node:url')).fileURLToPath(import.meta.url); const __chunk_dirname = (await import('node:path')).dirname(__chunk_filename);
|
|
2
2
|
import {
|
|
3
|
-
CoreToolCallStatus,
|
|
4
3
|
checkExhaustive
|
|
5
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-G33JEOEV.js";
|
|
6
5
|
import {
|
|
7
6
|
__commonJS,
|
|
8
7
|
__toESM
|
|
@@ -465,19 +464,19 @@ var require_react = __commonJS({
|
|
|
465
464
|
var import_react = __toESM(require_react(), 1);
|
|
466
465
|
function mapCoreStatusToDisplayStatus(coreStatus) {
|
|
467
466
|
switch (coreStatus) {
|
|
468
|
-
case
|
|
467
|
+
case "validating" /* Validating */:
|
|
469
468
|
return "Pending" /* Pending */;
|
|
470
|
-
case
|
|
469
|
+
case "awaiting_approval" /* AwaitingApproval */:
|
|
471
470
|
return "Confirming" /* Confirming */;
|
|
472
|
-
case
|
|
471
|
+
case "executing" /* Executing */:
|
|
473
472
|
return "Executing" /* Executing */;
|
|
474
|
-
case
|
|
473
|
+
case "success" /* Success */:
|
|
475
474
|
return "Success" /* Success */;
|
|
476
|
-
case
|
|
475
|
+
case "cancelled" /* Cancelled */:
|
|
477
476
|
return "Canceled" /* Canceled */;
|
|
478
|
-
case
|
|
477
|
+
case "error" /* Error */:
|
|
479
478
|
return "Error" /* Error */;
|
|
480
|
-
case
|
|
479
|
+
case "scheduled" /* Scheduled */:
|
|
481
480
|
return "Pending" /* Pending */;
|
|
482
481
|
default:
|
|
483
482
|
return checkExhaustive(coreStatus);
|