@google/gemini-cli 0.67.0-preview.0 → 0.68.0-preview.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/README.md +18 -24
- package/bundle/{chunk-4HG5TEPY.js → chunk-44PCK4QK.js} +1 -1
- package/bundle/{chunk-QVUC4J7B.js → chunk-6A5BTTNC.js} +9 -11
- package/bundle/{chunk-BFZQO5OI.js → chunk-B2FKXXUH.js} +327 -106
- package/bundle/{chunk-GTLUHCZL.js → chunk-BKVNBJ5C.js} +327 -106
- package/bundle/{chunk-IQFMOPBP.js → chunk-CXMHAFLN.js} +2 -2
- package/bundle/{chunk-76P7AV5J.js → chunk-G7EMTV2Q.js} +327 -106
- package/bundle/{chunk-VIWQUHCM.js → chunk-HRM7UWGB.js} +9 -11
- package/bundle/{chunk-WTMW35TZ.js → chunk-JMHCFAD6.js} +1 -1
- package/bundle/{chunk-WANMK7VA.js → chunk-KKKD4FID.js} +2 -2
- package/bundle/{chunk-5FYAQBC3.js → chunk-L57AYV6U.js} +1558 -996
- package/bundle/{chunk-6HF2HP2S.js → chunk-LQDISFTJ.js} +2 -2
- package/bundle/{chunk-R6BM7NWC.js → chunk-ODU7Z2RJ.js} +1 -1
- package/bundle/{chunk-THOV46FY.js → chunk-OZOUOK43.js} +1 -1
- package/bundle/{chunk-FPCAOQBY.js → chunk-Q76ZDILI.js} +3 -3
- package/bundle/{chunk-EAO5GUJT.js → chunk-RCF66HCI.js} +1625 -1006
- package/bundle/{chunk-FYX6LSG6.js → chunk-RD2EMHV2.js} +1 -1
- package/bundle/{chunk-QPO46AOD.js → chunk-VBHMFLBY.js} +1 -1
- package/bundle/{chunk-2BG2OMW3.js → chunk-VCO4TMD6.js} +9 -11
- package/bundle/{chunk-GI2BMP6K.js → chunk-WEP47ZZU.js} +1 -1
- package/bundle/{chunk-RNBD6XQX.js → chunk-XPTXBYQQ.js} +3 -3
- package/bundle/{chunk-SJ64DOGM.js → chunk-XVNEFQR3.js} +1 -1
- package/bundle/{chunk-JLA2J5MI.js → chunk-YPPJDFYP.js} +3 -3
- package/bundle/{chunk-SAQV5Q3G.js → chunk-ZEK4UYYW.js} +1 -1
- package/bundle/{chunk-HWPQINPO.js → chunk-ZZOOHVBL.js} +1627 -1008
- package/bundle/{cleanup-QXMGRCCJ.js → cleanup-CCR2EOHA.js} +2 -2
- package/bundle/{cleanup-R3QZGL6L.js → cleanup-OQV2G5Y3.js} +2 -2
- package/bundle/{cleanup-S6DWGSDA.js → cleanup-T24OFMOA.js} +2 -2
- package/bundle/{core-NQRYED5S.js → core-NQRKBS47.js} +3 -1
- package/bundle/{dist-XT4ZXTSC.js → core-UIPNZ5VU.js} +3 -1
- package/bundle/{devtoolsService-GPRO4RRU.js → devtoolsService-3G5ZA3JV.js} +2 -2
- package/bundle/{devtoolsService-WR3IFLZC.js → devtoolsService-EWNQDTC7.js} +2 -2
- package/bundle/{devtoolsService-ALST4BXH.js → devtoolsService-V3OEHE5V.js} +2 -2
- package/bundle/{core-3N7UGMI2.js → dist-OYZDNSTI.js} +3 -1
- package/bundle/docs/changelogs/index.md +24 -0
- package/bundle/docs/changelogs/latest.md +83 -90
- package/bundle/docs/changelogs/preview.md +89 -87
- package/bundle/docs/cli/sandbox.md +8 -2
- package/bundle/docs/cli/themes.md +6 -3
- package/bundle/docs/extensions/releasing.md +32 -0
- package/bundle/docs/reference/configuration.md +2 -10
- package/bundle/{gemini-K3EMSEQ5.js → gemini-2P73372G.js} +122 -24
- package/bundle/{gemini-MWKDIT7M.js → gemini-FSHMUCSM.js} +122 -24
- package/bundle/{gemini-5DCBUXWG.js → gemini-YFCTZ76S.js} +121 -23
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-3B2SSFOJ.js → interactiveCli-F5RRE2VJ.js} +1350 -1145
- package/bundle/{interactiveCli-63JD5B2Z.js → interactiveCli-I75IWUIA.js} +1350 -1145
- package/bundle/{interactiveCli-QUIZ4FA2.js → interactiveCli-X54KN2EM.js} +1350 -1145
- package/bundle/{liteRtServerManager-M6NTFF5C.js → liteRtServerManager-FLPMMDNM.js} +4 -4
- package/bundle/{liteRtServerManager-QHOOPEJV.js → liteRtServerManager-JTOIS4KU.js} +4 -4
- package/bundle/{liteRtServerManager-AQUTLRTC.js → liteRtServerManager-UVQ2I6NL.js} +4 -4
- package/bundle/{oauth2-provider-3JCCMSND.js → oauth2-provider-AYO4BU7A.js} +1 -1
- package/bundle/{oauth2-provider-X55SWENY.js → oauth2-provider-NCQY7TJE.js} +1 -1
- package/bundle/{oauth2-provider-GCJTOYXK.js → oauth2-provider-VMBYZOC7.js} +1 -1
- package/bundle/{start-VKITAPOP.js → start-DFHM4HI4.js} +6 -6
- package/bundle/{start-X73XUSSH.js → start-IXQ2E7L6.js} +6 -6
- package/bundle/{start-4QIXXTMW.js → start-YEKGRZVH.js} +6 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
> [!NOTE]
|
|
2
|
-
>
|
|
3
|
-
> **Unpaid tier and Google One users:** Gemini CLI was replaced by Antigravity
|
|
4
|
-
> CLI on June 18th, 2026. To learn more, see our
|
|
5
|
-
> [blog post](https://developers.googleblog.com/an-important-update-transitioning-gemini-cli-to-antigravity-cli).
|
|
6
|
-
>
|
|
7
|
-
> **Gemini CLI has not been optimized for Gemini 4 Argon.** To use Gemini 4
|
|
8
|
-
> Argon, please use Antigravity.
|
|
9
|
-
|
|
10
1
|
# Gemini CLI
|
|
11
2
|
|
|
12
3
|
[](https://github.com/google-gemini/gemini-cli/actions/workflows/ci.yml)
|
|
@@ -15,17 +6,26 @@
|
|
|
15
6
|
[](https://github.com/google-gemini/gemini-cli/blob/main/LICENSE)
|
|
16
7
|
[](https://codewiki.google/github.com/google-gemini/gemini-cli?utm_source=badge&utm_medium=github&utm_campaign=github.com/google-gemini/gemini-cli)
|
|
17
8
|
|
|
18
|
-
|
|
9
|
+
<!-- prettier-ignore -->
|
|
10
|
+
> [!IMPORTANT]
|
|
11
|
+
> **Read before installing — Gemini CLI status & tool guide**
|
|
19
12
|
>
|
|
20
|
-
> Gemini
|
|
21
|
-
>
|
|
22
|
-
> [
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
13
|
+
> - **Enterprise Code Assist only:** Designed for **Gemini Code Assist Standard / Enterprise** licenses and **Code Assist for GitHub** on Google Cloud (your access remains unchanged).
|
|
14
|
+
> - **No free tier or Google AI plans:** Free individual access and **Google AI Pro / Ultra** (Google One) moved to [Antigravity CLI](https://antigravity.google/product/antigravity-cli) on June 18, 2026 ([transition post](https://developers.googleblog.com/an-important-update-transitioning-gemini-cli-to-antigravity-cli/)).
|
|
15
|
+
> - **Not optimized for Gemini 4+:** Not tuned for the **Gemini 4** series (for example, [Gemini 4 Argon](https://blog.google/innovation-and-ai/models-and-research/gemini-models/gemini-4-argon/)) or future releases in this or later generations.
|
|
16
|
+
> - **Not for model benchmarks:** Don't use Gemini CLI to benchmark Gemini models—its harness isn't tuned for Gemini 4+ and produces unrepresentative scores.
|
|
17
|
+
>
|
|
18
|
+
> **Which Google CLI do you need?**
|
|
19
|
+
>
|
|
20
|
+
> | Tool | Best for | Links |
|
|
21
|
+
> | :--- | :--- | :--- |
|
|
22
|
+
> | **[Antigravity CLI](https://antigravity.google/product/antigravity-cli)** (`agy`) | Interactive multi-agent coding terminal. Use for **Gemini 4 Argon**+, free / **Google AI Pro & Ultra** accounts, or Google Cloud. | [Download](https://antigravity.google/download) · [Migrate](https://antigravity.google/docs/cli/gcli-migration) · [Argon post](https://antigravity.google/blog/gemini-4-argon-in-google-antigravity) |
|
|
23
|
+
> | **[Gemini API CLI](https://github.com/google-gemini/gemini-api-cli)** (`gemini-api`) | Stateless API CLI *(not a coding harness)*. Gives agents (`agy`, Claude Code, Codex), scripts, and CI direct commands for Gemini models, media gen, file analysis, and managed agents. | [GitHub](https://github.com/google-gemini/gemini-api-cli) · [Releases](https://github.com/google-gemini/gemini-api-cli/releases) · [API docs](https://ai.google.dev/gemini-api/docs) |
|
|
24
|
+
> | **Gemini CLI** (`gemini`, *this repo*) | Organizations with **Gemini Code Assist Standard / Enterprise** or **Code Assist for GitHub** on Google Cloud *(plus legacy paid API / Vertex keys)*. | [Docs](https://geminicli.com/docs/) |
|
|
27
25
|
|
|
28
|
-
|
|
26
|
+
Gemini CLI (`gemini`) is an open-source terminal agent maintained for enterprise
|
|
27
|
+
Gemini Code Assist workflows on Google Cloud. Learn more in the
|
|
28
|
+
[Gemini CLI documentation](https://geminicli.com/docs/).
|
|
29
29
|
|
|
30
30
|
## 📦 Installation
|
|
31
31
|
|
|
@@ -172,12 +172,6 @@ For Google Workspace accounts and other authentication methods, see the
|
|
|
172
172
|
|
|
173
173
|
## 🚀 Getting Started
|
|
174
174
|
|
|
175
|
-
> [!NOTE]
|
|
176
|
-
>
|
|
177
|
-
> Gemini CLI is not optimized for the latest Gemini models. For the best coding
|
|
178
|
-
> experience with Gemini models use
|
|
179
|
-
> [Antigravity CLI](https://antigravity.google/product/antigravity-cli)
|
|
180
|
-
|
|
181
175
|
### Basic Usage
|
|
182
176
|
|
|
183
177
|
#### Start in current directory
|
|
@@ -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
|
require_react
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZEK4UYYW.js";
|
|
5
5
|
import {
|
|
6
6
|
AuthProviderType,
|
|
7
7
|
AuthType,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
partListUnionToString,
|
|
36
36
|
require_strip_json_comments,
|
|
37
37
|
sanitizeFilenamePart
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-ZZOOHVBL.js";
|
|
39
39
|
import {
|
|
40
40
|
__commonJS,
|
|
41
41
|
__export,
|
|
@@ -31297,14 +31297,11 @@ function sanitizeForDisplay(str, maxLength) {
|
|
|
31297
31297
|
return "";
|
|
31298
31298
|
}
|
|
31299
31299
|
let sanitized = stripUnsafeCharacters(str).replace(/\s+/g, " ");
|
|
31300
|
-
if (maxLength && sanitized
|
|
31301
|
-
sanitized = sanitized.
|
|
31300
|
+
if (maxLength && cpLen(sanitized) > maxLength) {
|
|
31301
|
+
sanitized = cpSlice(sanitized, 0, Math.max(0, maxLength - 3)) + "...";
|
|
31302
31302
|
}
|
|
31303
31303
|
return sanitized;
|
|
31304
31304
|
}
|
|
31305
|
-
function normalizeEscapedNewlines(value) {
|
|
31306
|
-
return value.replace(/\\r\\n/g, "\n").replace(/\\n/g, "\n");
|
|
31307
|
-
}
|
|
31308
31305
|
var stringWidthCache = new import_lru_cache.default(
|
|
31309
31306
|
LRU_BUFFER_PERF_CACHE_LIMIT
|
|
31310
31307
|
);
|
|
@@ -33438,6 +33435,7 @@ var Theme = class _Theme {
|
|
|
33438
33435
|
}
|
|
33439
33436
|
};
|
|
33440
33437
|
function createCustomTheme(customTheme) {
|
|
33438
|
+
const focusColor = customTheme.ui?.focus ?? customTheme.status?.success ?? customTheme.AccentGreen ?? "#3CA84B";
|
|
33441
33439
|
const colors = {
|
|
33442
33440
|
type: "custom",
|
|
33443
33441
|
Background: customTheme.background?.primary ?? customTheme.Background ?? "",
|
|
@@ -33470,11 +33468,10 @@ function createCustomTheme(customTheme) {
|
|
|
33470
33468
|
),
|
|
33471
33469
|
FocusBackground: interpolateColor(
|
|
33472
33470
|
customTheme.background?.primary ?? customTheme.Background ?? "",
|
|
33473
|
-
|
|
33474
|
-
// Fallback to a default green if not found
|
|
33471
|
+
focusColor,
|
|
33475
33472
|
DEFAULT_SELECTION_OPACITY
|
|
33476
33473
|
),
|
|
33477
|
-
FocusColor:
|
|
33474
|
+
FocusColor: focusColor,
|
|
33478
33475
|
GradientColors: customTheme.ui?.gradient ?? customTheme.GradientColors
|
|
33479
33476
|
};
|
|
33480
33477
|
const rawMappings = {
|
|
@@ -37007,6 +37004,8 @@ var SETTINGS_SCHEMA_DEFINITIONS = {
|
|
|
37007
37004
|
properties: {
|
|
37008
37005
|
comment: { type: "string" },
|
|
37009
37006
|
symbol: { type: "string" },
|
|
37007
|
+
active: { type: "string" },
|
|
37008
|
+
focus: { type: "string" },
|
|
37010
37009
|
gradient: {
|
|
37011
37010
|
type: "array",
|
|
37012
37011
|
items: { type: "string" }
|
|
@@ -39172,7 +39171,6 @@ export {
|
|
|
39172
39171
|
cpSlice,
|
|
39173
39172
|
stripUnsafeCharacters,
|
|
39174
39173
|
sanitizeForDisplay,
|
|
39175
|
-
normalizeEscapedNewlines,
|
|
39176
39174
|
setAmbiguousCharactersWide,
|
|
39177
39175
|
getCachedStringWidth,
|
|
39178
39176
|
escapeAnsiCtrlCodes,
|