@google/gemini-cli 0.51.0-preview.0 → 0.52.0-nightly.20260713.gf354eebaf
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/{chunk-YCMQYVOL.js → chunk-2T7DHFUF.js} +7 -7
- package/bundle/{chunk-ZLW5C5RW.js → chunk-2YX7REYH.js} +1 -1
- package/bundle/{chunk-KKZMWOPL.js → chunk-36XJOV7D.js} +1 -1
- package/bundle/{chunk-FIVDQWYP.js → chunk-3E5UN72A.js} +1 -1
- package/bundle/{chunk-YITANI4H.js → chunk-3QARMH4K.js} +8 -5
- package/bundle/{chunk-DY72VNA7.js → chunk-APFEBPRN.js} +2 -2
- package/bundle/{chunk-PUQ6F6LT.js → chunk-AXDCPZK4.js} +1 -1
- package/bundle/{chunk-FPNPAIJS.js → chunk-AZMX5CAR.js} +3 -3
- package/bundle/{chunk-MTJEEJK4.js → chunk-BWWM7236.js} +23 -11
- package/bundle/{chunk-KKH6C2EN.js → chunk-DB7X2Y2C.js} +7616 -14196
- package/bundle/{chunk-CCS4FZN3.js → chunk-DL66YX6H.js} +1 -1
- package/bundle/{chunk-JYUWXRQN.js → chunk-DZIOGU7O.js} +1 -1
- package/bundle/{chunk-NZPKN6HX.js → chunk-EBDB2GKX.js} +1 -1
- package/bundle/{chunk-4ZTDUVGF.js → chunk-ELOFTD3I.js} +3 -3
- package/bundle/{chunk-ZCZJ3EHG.js → chunk-EQJS4COG.js} +67 -54
- package/bundle/chunk-HWYSVU2Y.js +154 -0
- package/bundle/{chunk-Y6OKNB2O.js → chunk-JK366WXF.js} +1 -1
- package/bundle/{chunk-SN3AWJMJ.js → chunk-LZWVXAKV.js} +1 -1
- package/bundle/{chunk-G6N5TBIV.js → chunk-M2W3BJNE.js} +2 -2
- package/bundle/chunk-MNVSGXFA.js +17332 -0
- package/bundle/{chunk-IT3MCILF.js → chunk-NPBRF4SI.js} +1 -1
- package/bundle/{chunk-CR7DJZQQ.js → chunk-PUNBJ76K.js} +9 -8
- package/bundle/{chunk-4NX72DYK.js → chunk-QKLXGOQQ.js} +34 -16
- package/bundle/{chunk-TTSEXUPD.js → chunk-RXBKF467.js} +3 -3
- package/bundle/chunk-SJG3YDOW.js +102505 -0
- package/bundle/chunk-SWWOMF5U.js +388063 -0
- package/bundle/{chunk-Z6DCMYAX.js → chunk-TIH7TS2I.js} +2 -2
- package/bundle/chunk-XQM42LAM.js +118 -0
- package/bundle/chunk-Y2HXPFYB.js +1571 -0
- package/bundle/{chunk-DO2TG64U.js → chunk-YY7XHIP5.js} +7 -7
- package/bundle/chunk-Z3HRZRKL.js +398 -0
- package/bundle/chunk-Z6YPLHBH.js +512 -0
- package/bundle/{cleanup-FQDKYMP7.js → cleanup-5AQQMD23.js} +2 -2
- package/bundle/{cleanup-KYHKAOAV.js → cleanup-BJXMNJTU.js} +2 -2
- package/bundle/{cleanup-RKALUUIS.js → cleanup-BZE7CX3F.js} +2 -2
- package/bundle/cleanup-DPHUXC5P.js +32 -0
- package/bundle/{core-ZPLCY7CF.js → core-2VB5TAAN.js} +1 -1
- package/bundle/{devtoolsService-JKRU3MYU.js → devtoolsService-JRDPPU42.js} +2 -2
- package/bundle/{devtoolsService-XZY2NAWE.js → devtoolsService-LJGLJGJV.js} +4 -3
- package/bundle/devtoolsService-MG4V53EK.js +4359 -0
- package/bundle/{devtoolsService-MDNGNUVW.js → devtoolsService-SADMX7SY.js} +2 -2
- package/bundle/{dist-KYS2OS5Q.js → dist-CGC3DE3I.js} +1 -1
- package/bundle/{core-YY6I7TM7.js → dist-O7KA2L4U.js} +1 -1
- package/bundle/dist-V7MGOCX5.js +2152 -0
- package/bundle/docs/changelogs/index.md +13 -0
- package/bundle/docs/changelogs/latest.md +18 -49
- package/bundle/docs/changelogs/preview.md +44 -57
- package/bundle/{gemini-ZFN5ZWKT.js → gemini-24LLUGUQ.js} +14 -14
- package/bundle/{gemini-DFLM6FZF.js → gemini-EV7YQC7F.js} +14 -14
- package/bundle/{gemini-6JOWJJRI.js → gemini-UEPAA26P.js} +212 -196
- package/bundle/gemini-VWRUY5RU.js +29270 -0
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-U33KFJYX.js → interactiveCli-CZLGBQJS.js} +52 -12
- package/bundle/{interactiveCli-642BSKOD.js → interactiveCli-GSUQ3DVQ.js} +359 -300
- package/bundle/interactiveCli-LAC2GT5E.js +34816 -0
- package/bundle/{interactiveCli-OIN4AGBD.js → interactiveCli-ZT2EUQKA.js} +52 -12
- package/bundle/{liteRtServerManager-6B6QVC3X.js → liteRtServerManager-2GSYVKDP.js} +4 -4
- package/bundle/{liteRtServerManager-6DL4RPYQ.js → liteRtServerManager-BWZ2W62M.js} +4 -4
- package/bundle/{liteRtServerManager-2KULLNCR.js → liteRtServerManager-NIEOMPFD.js} +4 -4
- package/bundle/liteRtServerManager-ZUHIUYXB.js +65 -0
- package/bundle/{oauth2-provider-7MN7TDIH.js → oauth2-provider-5VAK2NYV.js} +1 -1
- package/bundle/{oauth2-provider-YYHCEEAO.js → oauth2-provider-L7BJUHV4.js} +38 -72
- package/bundle/{oauth2-provider-XRJ2KE2Y.js → oauth2-provider-MT25IEBC.js} +1 -1
- package/bundle/oauth2-provider-R2QBZWOH.js +235 -0
- package/bundle/{start-HPGDHGIK.js → start-33JI6F6O.js} +6 -6
- package/bundle/{start-N7GSPBDS.js → start-HJTAEHPM.js} +6 -6
- package/bundle/{start-EKMJOLSQ.js → start-RCFRASLC.js} +6 -6
- package/bundle/start-XNCBFLHI.js +18 -0
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
exitCli,
|
|
8
8
|
require_source
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Y2HXPFYB.js";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_BACKGROUND_OPACITY,
|
|
12
12
|
DEFAULT_BORDER_OPACITY,
|
|
@@ -59,14 +59,14 @@ import {
|
|
|
59
59
|
stripUnsafeCharacters,
|
|
60
60
|
toCodePoints,
|
|
61
61
|
validateCustomTheme
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-MNVSGXFA.js";
|
|
63
63
|
import {
|
|
64
64
|
isDevelopment
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-Z3HRZRKL.js";
|
|
66
66
|
import {
|
|
67
67
|
emptyIcon,
|
|
68
68
|
require_react
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-PUNBJ76K.js";
|
|
70
70
|
import {
|
|
71
71
|
ALL_EDITORS,
|
|
72
72
|
ApprovalMode,
|
|
@@ -243,7 +243,7 @@ import {
|
|
|
243
243
|
tokenLimit,
|
|
244
244
|
uiTelemetryService,
|
|
245
245
|
unescapePath
|
|
246
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-DB7X2Y2C.js";
|
|
247
247
|
import {
|
|
248
248
|
require_src
|
|
249
249
|
} from "./chunk-TUDYL3X4.js";
|
|
@@ -77176,7 +77176,7 @@ var authCommand = {
|
|
|
77176
77176
|
import process29 from "node:process";
|
|
77177
77177
|
|
|
77178
77178
|
// packages/cli/src/generated/git-commit.ts
|
|
77179
|
-
var GIT_COMMIT_INFO = "
|
|
77179
|
+
var GIT_COMMIT_INFO = "7cb6951c0";
|
|
77180
77180
|
|
|
77181
77181
|
// packages/cli/src/ui/utils/historyExportUtils.ts
|
|
77182
77182
|
import * as fsPromises from "node:fs/promises";
|
|
@@ -82957,7 +82957,7 @@ Use /mcp auth <server-name> to authenticate.`
|
|
|
82957
82957
|
type: "info",
|
|
82958
82958
|
text: `Starting OAuth authentication for MCP server '${serverName}'...`
|
|
82959
82959
|
});
|
|
82960
|
-
const { MCPOAuthProvider } = await import("./dist-
|
|
82960
|
+
const { MCPOAuthProvider } = await import("./dist-O7KA2L4U.js");
|
|
82961
82961
|
let oauthConfig = server.oauth;
|
|
82962
82962
|
if (!oauthConfig) {
|
|
82963
82963
|
oauthConfig = { enabled: false };
|
|
@@ -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
|
runExitCleanup
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DZIOGU7O.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__require
|
|
@@ -1,6 +1,9 @@
|
|
|
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
|
AuthProviderType,
|
|
4
|
+
AuthType,
|
|
5
|
+
CoreEvent,
|
|
6
|
+
CoreToolCallStatus,
|
|
4
7
|
DEFAULT_MODEL_CONFIGS,
|
|
5
8
|
DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD,
|
|
6
9
|
EDITOR_OPTIONS,
|
|
@@ -28,7 +31,7 @@ import {
|
|
|
28
31
|
partListUnionToString,
|
|
29
32
|
require_strip_json_comments,
|
|
30
33
|
sanitizeFilenamePart
|
|
31
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-SWWOMF5U.js";
|
|
32
35
|
import {
|
|
33
36
|
__commonJS,
|
|
34
37
|
__require,
|
|
@@ -10225,7 +10228,7 @@ function convertSessionToHistoryFormats(messages) {
|
|
|
10225
10228
|
args: tool.args,
|
|
10226
10229
|
description: tool.description || "",
|
|
10227
10230
|
renderOutputAsMarkdown: tool.renderOutputAsMarkdown ?? true,
|
|
10228
|
-
status: tool.status === "success" ?
|
|
10231
|
+
status: tool.status === "success" ? CoreToolCallStatus.Success : CoreToolCallStatus.Error,
|
|
10229
10232
|
resultDisplay: tool.resultDisplay,
|
|
10230
10233
|
confirmationDetails: void 0
|
|
10231
10234
|
}))
|
|
@@ -16289,8 +16292,8 @@ var LoadedSettings = class {
|
|
|
16289
16292
|
// React will pass a listener fn into this subscribe fn
|
|
16290
16293
|
// that listener fn will perform an object identity check on the snapshot and trigger a React re render if the snapshot has changed
|
|
16291
16294
|
subscribe(listener) {
|
|
16292
|
-
coreEvents.on(
|
|
16293
|
-
return () => coreEvents.off(
|
|
16295
|
+
coreEvents.on(CoreEvent.SettingsChanged, listener);
|
|
16296
|
+
return () => coreEvents.off(CoreEvent.SettingsChanged, listener);
|
|
16294
16297
|
}
|
|
16295
16298
|
getSnapshot() {
|
|
16296
16299
|
return this._snapshot;
|
|
@@ -16434,7 +16437,7 @@ function setUpCloudShellEnvironment(envFilePath, isTrusted, isSandboxed, selecte
|
|
|
16434
16437
|
}
|
|
16435
16438
|
}
|
|
16436
16439
|
let value = "cloudshell-gca";
|
|
16437
|
-
if (selectedAuthType ===
|
|
16440
|
+
if (selectedAuthType === AuthType.USE_VERTEX_AI) {
|
|
16438
16441
|
value = process2.env[USER_GCP_PROJECT];
|
|
16439
16442
|
}
|
|
16440
16443
|
if (envFilePath && fs4.existsSync(envFilePath)) {
|
|
@@ -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-36XJOV7D.js";
|
|
5
5
|
import {
|
|
6
6
|
RELEASE_CHANNEL_STABILITY,
|
|
7
7
|
debugLogger,
|
|
8
8
|
getChannelFromVersion,
|
|
9
9
|
isGitRepository
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BWWM7236.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
|
runExitCleanup
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-36XJOV7D.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__require
|
|
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
|
|
|
2
2
|
import {
|
|
3
3
|
exitCli,
|
|
4
4
|
require_source
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LZWVXAKV.js";
|
|
6
6
|
import {
|
|
7
7
|
DEFAULT_PORT,
|
|
8
8
|
SERVER_START_WAIT_MS,
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
isServerRunning,
|
|
15
15
|
resolveGemmaConfig,
|
|
16
16
|
writeServerProcessInfo
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-JK366WXF.js";
|
|
18
18
|
import {
|
|
19
19
|
debugLogger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-QKLXGOQQ.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./chunk-34MYV7JD.js";
|
|
@@ -273732,8 +273732,8 @@ function isValidToolName(name3, options = {}) {
|
|
|
273732
273732
|
}
|
|
273733
273733
|
|
|
273734
273734
|
// packages/core/dist/src/generated/git-commit.js
|
|
273735
|
-
var GIT_COMMIT_INFO = "
|
|
273736
|
-
var CLI_VERSION = "0.
|
|
273735
|
+
var GIT_COMMIT_INFO = "f354eebaf";
|
|
273736
|
+
var CLI_VERSION = "0.52.0-nightly.20260707.g27a3da3e8";
|
|
273737
273737
|
|
|
273738
273738
|
// packages/core/dist/src/ide/detect-ide.js
|
|
273739
273739
|
var IDE_DEFINITIONS = {
|
|
@@ -296910,7 +296910,7 @@ function getVersion() {
|
|
|
296910
296910
|
}
|
|
296911
296911
|
versionPromise = (async () => {
|
|
296912
296912
|
const pkgJson = await getPackageJson(__dirname4);
|
|
296913
|
-
return "0.
|
|
296913
|
+
return "0.52.0-nightly.20260713.gf354eebaf";
|
|
296914
296914
|
})();
|
|
296915
296915
|
return versionPromise;
|
|
296916
296916
|
}
|
|
@@ -299344,7 +299344,9 @@ var EditToolInvocation = class extends BaseToolInvocation {
|
|
|
299344
299344
|
matchRanges: replacementResult.matchRanges
|
|
299345
299345
|
};
|
|
299346
299346
|
}
|
|
299347
|
-
|
|
299347
|
+
const fileExt = path41.extname(this.resolvedPath).toLowerCase();
|
|
299348
|
+
const isJsonOrIpynb = [".json", ".ipynb", ".jsonc", ".json5"].includes(fileExt);
|
|
299349
|
+
if (this.config.getDisableLLMCorrection() || isJsonOrIpynb) {
|
|
299348
299350
|
return {
|
|
299349
299351
|
currentContent,
|
|
299350
299352
|
newContent: currentContent,
|
|
@@ -300012,10 +300014,14 @@ async function getCorrectedFileContent(config2, filePath, proposedContent, abort
|
|
|
300012
300014
|
return { originalContent, correctedContent, fileExists: fileExists2, error: error40 };
|
|
300013
300015
|
}
|
|
300014
300016
|
}
|
|
300015
|
-
const
|
|
300016
|
-
const
|
|
300017
|
-
|
|
300018
|
-
|
|
300017
|
+
const fileExt = path42.extname(filePath).toLowerCase();
|
|
300018
|
+
const isJsonOrIpynb = [".json", ".ipynb", ".jsonc", ".json5"].includes(fileExt);
|
|
300019
|
+
if (!isJsonOrIpynb) {
|
|
300020
|
+
const activeModel = config2.getActiveModel();
|
|
300021
|
+
const resolvedModel = resolveModel(activeModel, false, false, true, config2);
|
|
300022
|
+
const aggressiveUnescape = !isGemini3Model(resolvedModel, config2) && !isGemini2Model(resolvedModel) && !isCustomModel(resolvedModel, config2);
|
|
300023
|
+
correctedContent = await ensureCorrectFileContent(proposedContent, config2.getBaseLlmClient(), abortSignal, config2.getDisableLLMCorrection(), aggressiveUnescape);
|
|
300024
|
+
}
|
|
300019
300025
|
return { originalContent, correctedContent, fileExists: fileExists2 };
|
|
300020
300026
|
}
|
|
300021
300027
|
var WriteFileToolInvocation = class extends BaseToolInvocation {
|
|
@@ -329417,7 +329423,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
|
|
|
329417
329423
|
return provider;
|
|
329418
329424
|
}
|
|
329419
329425
|
case "oauth2": {
|
|
329420
|
-
const { OAuth2AuthProvider } = await import("./oauth2-provider-
|
|
329426
|
+
const { OAuth2AuthProvider } = await import("./oauth2-provider-R2QBZWOH.js");
|
|
329421
329427
|
const provider = new OAuth2AuthProvider(authConfig, options.agentName ?? "unknown", agentCard, options.agentCardUrl);
|
|
329422
329428
|
await provider.initialize();
|
|
329423
329429
|
return provider;
|
|
@@ -332187,7 +332193,7 @@ var AgentHistoryProvider = class {
|
|
|
332187
332193
|
"Prior context was offloaded to maintain performance. Key highlights from the truncated history:"
|
|
332188
332194
|
];
|
|
332189
332195
|
if (lastUserText) {
|
|
332190
|
-
summaryParts.push(`- **
|
|
332196
|
+
summaryParts.push(`- **Previous User Intent (Truncated):** "${lastUserText}"`);
|
|
332191
332197
|
}
|
|
332192
332198
|
if (actionPath) {
|
|
332193
332199
|
summaryParts.push(`- **Action Path:** ${actionPath}`);
|
|
@@ -337578,7 +337584,13 @@ var WorkspaceContext = class {
|
|
|
337578
337584
|
const segments = relative12.split(path70.sep);
|
|
337579
337585
|
const hasBlockedSegment = segments.some((segment) => {
|
|
337580
337586
|
const clean = trimTrailingSpacesAndDots(segment.split(":")[0]).toLowerCase();
|
|
337581
|
-
|
|
337587
|
+
if (clean === ".git" || clean === ".env" || clean === "node_modules") {
|
|
337588
|
+
return true;
|
|
337589
|
+
}
|
|
337590
|
+
if (clean.startsWith("gha-creds-") && clean.endsWith(".json")) {
|
|
337591
|
+
return true;
|
|
337592
|
+
}
|
|
337593
|
+
return false;
|
|
337582
337594
|
});
|
|
337583
337595
|
if (hasBlockedSegment) {
|
|
337584
337596
|
return false;
|