@google/gemini-cli 0.45.2 → 0.45.3
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-LYEXUQ4X.js → chunk-27KR2X7B.js} +1 -1
- package/bundle/{chunk-P3GSBAEP.js → chunk-2M4RXPLR.js} +1 -1
- package/bundle/{chunk-CWO4SMA7.js → chunk-2TMMZCLT.js} +1 -1
- package/bundle/{chunk-6GEZV4AF.js → chunk-3C7OYQ34.js} +1 -1
- package/bundle/{chunk-4YNBYIJA.js → chunk-5NOLNQ6P.js} +3 -3
- package/bundle/{chunk-SG5DULX4.js → chunk-62H4B3QP.js} +165 -114
- package/bundle/{chunk-2B6NXQYE.js → chunk-6K7CUAY2.js} +1 -1
- package/bundle/{chunk-FCYM73EG.js → chunk-A7A66OT3.js} +2 -2
- package/bundle/{chunk-CTTYNCHI.js → chunk-ANW4T6AL.js} +1 -1
- package/bundle/{chunk-K2JT5CUB.js → chunk-AWDCIQVG.js} +63 -7
- package/bundle/{chunk-PUOWQXRH.js → chunk-AWL3SM7R.js} +2 -2
- package/bundle/{chunk-5VGUJAN2.js → chunk-CN36P5IL.js} +1 -1
- package/bundle/{chunk-7ZDQV5DQ.js → chunk-DVJHZORD.js} +1 -1
- package/bundle/{chunk-GGJVZUJT.js → chunk-FGMKLRCQ.js} +1 -1
- package/bundle/{chunk-MHSMZKC6.js → chunk-FPO2C6P5.js} +1 -1
- package/bundle/{chunk-NRSJ3JUA.js → chunk-HMPSOK5T.js} +1 -1
- package/bundle/{chunk-YEROR775.js → chunk-HRPUDMPC.js} +2 -2
- package/bundle/{chunk-E65V7MX5.js → chunk-I6O4CR3L.js} +2 -2
- package/bundle/{chunk-PMKKVFOZ.js → chunk-JEVBAU4N.js} +1 -1
- package/bundle/{chunk-25BU7OMU.js → chunk-JFHLX57N.js} +165 -114
- package/bundle/{chunk-VPNI55G3.js → chunk-JNY4RZAI.js} +1 -1
- package/bundle/{chunk-SSINWKB6.js → chunk-K3ZTQB3K.js} +3 -3
- package/bundle/{chunk-L4G73C3Y.js → chunk-L3OGQWGS.js} +64 -8
- package/bundle/{chunk-35YZAQWE.js → chunk-LTLRCSQ2.js} +1 -1
- package/bundle/{chunk-LSXUKR6W.js → chunk-Q7OASXX5.js} +63 -7
- package/bundle/{chunk-Y6JP7OVV.js → chunk-QKCKVMGR.js} +3 -3
- package/bundle/{chunk-KAD4VDUI.js → chunk-RFSXII54.js} +3 -3
- package/bundle/{chunk-MXTWZ3CE.js → chunk-S7UDG7KJ.js} +1 -1
- package/bundle/{chunk-3AIAY5PD.js → chunk-SS6F5OZH.js} +77 -12
- package/bundle/{chunk-7FGZGJNF.js → chunk-W72ZVJMX.js} +165 -114
- package/bundle/{chunk-ZN7V2SWM.js → chunk-X3G3PGCJ.js} +1 -1
- package/bundle/{chunk-KB2JUDKD.js → chunk-ZVWC5RAC.js} +165 -114
- package/bundle/{cleanup-G4VWZ3XN.js → cleanup-5DKLZC3X.js} +2 -2
- package/bundle/{cleanup-LPS6MSYO.js → cleanup-6GPACZYC.js} +2 -2
- package/bundle/{cleanup-W3WS5ZAJ.js → cleanup-DVF44ZSC.js} +2 -2
- package/bundle/{cleanup-XZSL4265.js → cleanup-WBYWCGNP.js} +2 -2
- package/bundle/{core-HZQW4AJT.js → core-MSNK7SZS.js} +3 -1
- package/bundle/{devtoolsService-2KN6EUI5.js → devtoolsService-2J5ME7SJ.js} +2 -2
- package/bundle/{devtoolsService-NIPM7EYR.js → devtoolsService-MCY62DTZ.js} +2 -2
- package/bundle/{devtoolsService-CITULPO6.js → devtoolsService-YMIPTCBK.js} +2 -2
- package/bundle/{devtoolsService-KOD5PTTB.js → devtoolsService-Z4KZCDYV.js} +2 -2
- package/bundle/{dist-5NDSNRMN.js → dist-2HPULYS3.js} +3 -1
- package/bundle/{dist-Q5HIYSDI.js → dist-53XAMFTR.js} +3 -1
- package/bundle/{dist-X7BXM7FW.js → dist-JVMFINEN.js} +3 -1
- package/bundle/{gemini-4IQ2UBE4.js → gemini-HOIIWSCV.js} +13 -13
- package/bundle/{gemini-75GSY6S7.js → gemini-K3E7FKCI.js} +14 -14
- package/bundle/{gemini-IHDGRWWD.js → gemini-SPREGLEO.js} +14 -14
- package/bundle/{gemini-YZFND2X2.js → gemini-XT6QQWZ4.js} +14 -14
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-76DU2VGH.js → interactiveCli-5WB624HL.js} +30 -20
- package/bundle/{interactiveCli-EYDFUDAD.js → interactiveCli-DO6AJ3AX.js} +30 -20
- package/bundle/{interactiveCli-CFXMMG32.js → interactiveCli-GSMT5FN7.js} +30 -20
- package/bundle/{interactiveCli-B6OMNE4Q.js → interactiveCli-IRW7PET2.js} +30 -20
- package/bundle/{liteRtServerManager-5DJRY5PB.js → liteRtServerManager-25BOLUT5.js} +4 -4
- package/bundle/{liteRtServerManager-HIX7EWET.js → liteRtServerManager-47EPMYBF.js} +4 -4
- package/bundle/{liteRtServerManager-JSJ7U5MN.js → liteRtServerManager-4UI6KYBI.js} +4 -4
- package/bundle/{liteRtServerManager-LZAUADEL.js → liteRtServerManager-PPS5H3Z5.js} +4 -4
- package/bundle/{oauth2-provider-GK36RHO3.js → oauth2-provider-FPVEANGB.js} +1 -1
- package/bundle/{oauth2-provider-JWOBX6HR.js → oauth2-provider-JZVXAKTG.js} +1 -1
- package/bundle/{oauth2-provider-PYU5GIOF.js → oauth2-provider-RZJHDH5K.js} +1 -1
- package/bundle/{oauth2-provider-D6YBGNZY.js → oauth2-provider-T6KMRWSV.js} +1 -1
- package/bundle/{start-EUUTULL6.js → start-4ECNBDOR.js} +6 -6
- package/bundle/{start-NSQH4XZZ.js → start-ERELMZFP.js} +6 -6
- package/bundle/{start-WUH65UMB.js → start-GOUVXDR6.js} +6 -6
- package/bundle/{start-WYV53B3R.js → start-ZEO4UHAL.js} +6 -6
- package/package.json +1 -1
|
@@ -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-2TMMZCLT.js";
|
|
5
5
|
import {
|
|
6
6
|
RELEASE_CHANNEL_STABILITY,
|
|
7
7
|
debugLogger,
|
|
8
8
|
getChannelFromVersion,
|
|
9
9
|
isGitRepository
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-Q7OASXX5.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-FGMKLRCQ.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__require
|
|
@@ -276060,6 +276060,9 @@ function isActiveModel(model, useGemini3_1 = false, useCustomToolModel = false,
|
|
|
276060
276060
|
return model !== PREVIEW_GEMINI_3_1_MODEL && model !== PREVIEW_GEMINI_3_1_CUSTOM_TOOLS_MODEL;
|
|
276061
276061
|
}
|
|
276062
276062
|
}
|
|
276063
|
+
var CCPA_AI_MODEL_MAPPINGS = {
|
|
276064
|
+
[DEFAULT_GEMINI_3_5_FLASH_MODEL]: SECONDARY_GEMINI_3_5_FLASH_MODEL
|
|
276065
|
+
};
|
|
276063
276066
|
|
|
276064
276067
|
// packages/core/dist/src/billing/billing.js
|
|
276065
276068
|
var G1_CREDIT_TYPE = "GOOGLE_ONE_AI";
|
|
@@ -279300,8 +279303,8 @@ function isValidToolName(name3, options = {}) {
|
|
|
279300
279303
|
}
|
|
279301
279304
|
|
|
279302
279305
|
// packages/core/dist/src/generated/git-commit.js
|
|
279303
|
-
var GIT_COMMIT_INFO = "
|
|
279304
|
-
var CLI_VERSION = "0.45.
|
|
279306
|
+
var GIT_COMMIT_INFO = "7e87af9cf";
|
|
279307
|
+
var CLI_VERSION = "0.45.2";
|
|
279305
279308
|
|
|
279306
279309
|
// packages/core/dist/src/ide/detect-ide.js
|
|
279307
279310
|
var IDE_DEFINITIONS = {
|
|
@@ -307900,6 +307903,52 @@ var LoggingContentGenerator = class {
|
|
|
307900
307903
|
}
|
|
307901
307904
|
};
|
|
307902
307905
|
|
|
307906
|
+
// packages/core/dist/src/core/modelMappingContentGenerator.js
|
|
307907
|
+
var ModelMappingContentGenerator = class {
|
|
307908
|
+
wrapped;
|
|
307909
|
+
mappings;
|
|
307910
|
+
constructor(wrapped, mappings) {
|
|
307911
|
+
this.wrapped = wrapped;
|
|
307912
|
+
this.mappings = mappings;
|
|
307913
|
+
}
|
|
307914
|
+
getWrapped() {
|
|
307915
|
+
return this.wrapped;
|
|
307916
|
+
}
|
|
307917
|
+
get userTier() {
|
|
307918
|
+
return this.wrapped.userTier;
|
|
307919
|
+
}
|
|
307920
|
+
get userTierName() {
|
|
307921
|
+
return this.wrapped.userTierName;
|
|
307922
|
+
}
|
|
307923
|
+
get paidTier() {
|
|
307924
|
+
return this.wrapped.paidTier;
|
|
307925
|
+
}
|
|
307926
|
+
mapModel(req) {
|
|
307927
|
+
if (req.model) {
|
|
307928
|
+
const normalizedModel = normalizeModelId(req.model);
|
|
307929
|
+
if (this.mappings[normalizedModel]) {
|
|
307930
|
+
return {
|
|
307931
|
+
...req,
|
|
307932
|
+
model: req.model.startsWith("models/") ? `models/${this.mappings[normalizedModel]}` : this.mappings[normalizedModel]
|
|
307933
|
+
};
|
|
307934
|
+
}
|
|
307935
|
+
}
|
|
307936
|
+
return req;
|
|
307937
|
+
}
|
|
307938
|
+
generateContent(request, userPromptId, role) {
|
|
307939
|
+
return this.wrapped.generateContent(this.mapModel(request), userPromptId, role);
|
|
307940
|
+
}
|
|
307941
|
+
generateContentStream(request, userPromptId, role) {
|
|
307942
|
+
return this.wrapped.generateContentStream(this.mapModel(request), userPromptId, role);
|
|
307943
|
+
}
|
|
307944
|
+
countTokens(request) {
|
|
307945
|
+
return this.wrapped.countTokens(this.mapModel(request));
|
|
307946
|
+
}
|
|
307947
|
+
embedContent(request) {
|
|
307948
|
+
return this.wrapped.embedContent(this.mapModel(request));
|
|
307949
|
+
}
|
|
307950
|
+
};
|
|
307951
|
+
|
|
307903
307952
|
// packages/core/dist/src/code_assist/codeAssist.js
|
|
307904
307953
|
async function createCodeAssistContentGenerator(httpOptions, authType, config2, sessionId) {
|
|
307905
307954
|
if (authType === AuthType2.LOGIN_WITH_GOOGLE || authType === AuthType2.COMPUTE_ADC) {
|
|
@@ -307911,8 +307960,14 @@ async function createCodeAssistContentGenerator(httpOptions, authType, config2,
|
|
|
307911
307960
|
}
|
|
307912
307961
|
function getCodeAssistServer(config2) {
|
|
307913
307962
|
let server = config2.getContentGenerator();
|
|
307914
|
-
|
|
307915
|
-
server
|
|
307963
|
+
while (true) {
|
|
307964
|
+
if (server instanceof LoggingContentGenerator) {
|
|
307965
|
+
server = server.getWrapped();
|
|
307966
|
+
} else if (server instanceof ModelMappingContentGenerator) {
|
|
307967
|
+
server = server.getWrapped();
|
|
307968
|
+
} else {
|
|
307969
|
+
break;
|
|
307970
|
+
}
|
|
307916
307971
|
}
|
|
307917
307972
|
if (!(server instanceof CodeAssistServer)) {
|
|
307918
307973
|
return void 0;
|
|
@@ -308281,7 +308336,7 @@ async function createContentGenerator(config2, gcConfig, sessionId) {
|
|
|
308281
308336
|
}
|
|
308282
308337
|
if (config2.authType === AuthType2.LOGIN_WITH_GOOGLE || config2.authType === AuthType2.COMPUTE_ADC) {
|
|
308283
308338
|
const httpOptions = { headers: baseHeaders };
|
|
308284
|
-
return new LoggingContentGenerator(await createCodeAssistContentGenerator(httpOptions, config2.authType, gcConfig, sessionId), gcConfig);
|
|
308339
|
+
return new LoggingContentGenerator(new ModelMappingContentGenerator(await createCodeAssistContentGenerator(httpOptions, config2.authType, gcConfig, sessionId), CCPA_AI_MODEL_MAPPINGS), gcConfig);
|
|
308285
308340
|
}
|
|
308286
308341
|
if (config2.authType === AuthType2.USE_GEMINI || config2.authType === AuthType2.USE_VERTEX_AI || config2.authType === AuthType2.GATEWAY) {
|
|
308287
308342
|
let headers = { ...baseHeaders };
|
|
@@ -335804,7 +335859,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
|
|
|
335804
335859
|
return provider;
|
|
335805
335860
|
}
|
|
335806
335861
|
case "oauth2": {
|
|
335807
|
-
const { OAuth2AuthProvider } = await import("./oauth2-provider-
|
|
335862
|
+
const { OAuth2AuthProvider } = await import("./oauth2-provider-FPVEANGB.js");
|
|
335808
335863
|
const provider = new OAuth2AuthProvider(authConfig, options.agentName ?? "unknown", agentCard, options.agentCardUrl);
|
|
335809
335864
|
await provider.initialize();
|
|
335810
335865
|
return provider;
|
|
@@ -375642,7 +375697,7 @@ ${sections.join("\n")}
|
|
|
375642
375697
|
if (authType === AuthType2.USE_GEMINI) {
|
|
375643
375698
|
setFlashModels("gemini-3-flash-preview", "gemini-3.5-flash");
|
|
375644
375699
|
} else {
|
|
375645
|
-
setFlashModels("gemini-3-flash", "gemini-3-flash");
|
|
375700
|
+
setFlashModels("gemini-3.5-flash", "gemini-3.5-flash");
|
|
375646
375701
|
}
|
|
375647
375702
|
} else {
|
|
375648
375703
|
setFlashModels("gemini-3-flash-preview", "gemini-2.5-flash");
|
|
@@ -393385,6 +393440,7 @@ export {
|
|
|
393385
393440
|
isAutoModel,
|
|
393386
393441
|
supportsMultimodalFunctionResponse,
|
|
393387
393442
|
isActiveModel,
|
|
393443
|
+
CCPA_AI_MODEL_MAPPINGS,
|
|
393388
393444
|
G1_CREDIT_TYPE,
|
|
393389
393445
|
OVERAGE_ELIGIBLE_MODELS,
|
|
393390
393446
|
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-27KR2X7B.js";
|
|
5
5
|
import {
|
|
6
6
|
RELEASE_CHANNEL_STABILITY,
|
|
7
7
|
debugLogger,
|
|
8
8
|
getChannelFromVersion,
|
|
9
9
|
isGitRepository
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-AWDCIQVG.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-S7UDG7KJ.js";
|
|
5
5
|
import {
|
|
6
6
|
__commonJS,
|
|
7
7
|
__require
|
|
@@ -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-S7UDG7KJ.js";
|
|
5
5
|
import {
|
|
6
6
|
RELEASE_CHANNEL_STABILITY,
|
|
7
7
|
debugLogger,
|
|
8
8
|
getChannelFromVersion,
|
|
9
9
|
isGitRepository
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SS6F5OZH.js";
|
|
11
11
|
|
|
12
12
|
// packages/cli/src/utils/installationInfo.ts
|
|
13
13
|
import * as fs from "node:fs";
|
|
@@ -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-FGMKLRCQ.js";
|
|
5
5
|
import {
|
|
6
6
|
RELEASE_CHANNEL_STABILITY,
|
|
7
7
|
debugLogger,
|
|
8
8
|
getChannelFromVersion,
|
|
9
9
|
isGitRepository
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-L3OGQWGS.js";
|
|
11
11
|
|
|
12
12
|
// packages/cli/src/utils/installationInfo.ts
|
|
13
13
|
import * as fs from "node:fs";
|