@google/gemini-cli 0.46.0-preview.1 → 0.46.0-preview.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-24H54ISH.js → chunk-2GESUVEI.js} +165 -114
- package/bundle/{chunk-YINW7YTJ.js → chunk-2XKNPALS.js} +1 -1
- package/bundle/{chunk-KQ4V7ZN4.js → chunk-3PLUHPJV.js} +165 -114
- package/bundle/{chunk-QEVRJ7HY.js → chunk-5ND76TYS.js} +77 -12
- package/bundle/{chunk-ITC7TFJU.js → chunk-6WDE67I7.js} +64 -8
- package/bundle/{chunk-5CWORGE3.js → chunk-7GTQ3TVY.js} +1 -1
- package/bundle/{chunk-7Y6NU65D.js → chunk-AJKD63PC.js} +1 -1
- package/bundle/{chunk-ONUDATHO.js → chunk-AYF4WWI6.js} +3 -3
- package/bundle/{chunk-JF6RJW53.js → chunk-CIWJFNFL.js} +1 -1
- package/bundle/{chunk-UM53YDCH.js → chunk-CQ5T2OOT.js} +1 -1
- package/bundle/{chunk-QMCEWHRR.js → chunk-DVLOSJL6.js} +1 -1
- package/bundle/{chunk-4B7MDBUK.js → chunk-FHPHAHTC.js} +1 -1
- package/bundle/{chunk-VEHSYWQT.js → chunk-IPSGP4HZ.js} +1 -1
- package/bundle/{chunk-5IBYZHR7.js → chunk-KBVSP7UV.js} +2 -2
- package/bundle/{chunk-KOJR46UO.js → chunk-KK5RNP2O.js} +64 -8
- package/bundle/{chunk-EG7USKV5.js → chunk-KOY6HFDJ.js} +1 -1
- package/bundle/{chunk-GRD2P7HY.js → chunk-LFPQWI47.js} +1 -1
- package/bundle/{chunk-RXYIE5L5.js → chunk-MKTEB4X2.js} +1 -1
- package/bundle/{chunk-O3UKVEBS.js → chunk-PBKO4RQZ.js} +165 -114
- package/bundle/{chunk-YIOYXRDP.js → chunk-PWEKIO66.js} +165 -114
- package/bundle/{chunk-3WW2LTMX.js → chunk-QC2XF7WU.js} +1 -1
- package/bundle/{chunk-HQNVDCXK.js → chunk-S5GUYIK7.js} +1 -1
- package/bundle/{chunk-WRWCUHAM.js → chunk-SWSOO6PG.js} +1 -1
- package/bundle/{chunk-QFWAILKU.js → chunk-TIFKXOWZ.js} +3 -3
- package/bundle/{chunk-R4LEIQZM.js → chunk-V5CL3DRL.js} +3 -3
- package/bundle/{chunk-VOFVOS4I.js → chunk-VFBOEQYZ.js} +3 -3
- package/bundle/{chunk-3EC3ZLRQ.js → chunk-VON23XS2.js} +2 -2
- package/bundle/{chunk-EZDKSTIF.js → chunk-W7QA7FT5.js} +2 -2
- package/bundle/{chunk-ILHDA6XU.js → chunk-XB2Y55JE.js} +1 -1
- package/bundle/{chunk-XVDCGVTF.js → chunk-XMZW4ETE.js} +64 -8
- package/bundle/{chunk-VETILJQA.js → chunk-YQE3FF4G.js} +1 -1
- package/bundle/{chunk-JPYTHGMI.js → chunk-ZW2TA44S.js} +2 -2
- package/bundle/{cleanup-4ZTB4WMN.js → cleanup-3MDHF3OO.js} +2 -2
- package/bundle/{cleanup-7LLX4OFN.js → cleanup-ACXEXWY2.js} +2 -2
- package/bundle/{cleanup-GI5426XS.js → cleanup-EAOW4OCO.js} +2 -2
- package/bundle/{cleanup-ZBLVGXIK.js → cleanup-YRHQYKEA.js} +2 -2
- package/bundle/{core-3UQQYNJF.js → core-HYJM5T45.js} +3 -1
- package/bundle/{devtoolsService-GJWWZ2KK.js → devtoolsService-5ME5JZIQ.js} +2 -2
- package/bundle/{devtoolsService-ZYGDAPOV.js → devtoolsService-6OVP6DUO.js} +2 -2
- package/bundle/{devtoolsService-UNQILSWI.js → devtoolsService-I4R5WQXY.js} +2 -2
- package/bundle/{devtoolsService-Z2YXVMYF.js → devtoolsService-OVSOSM56.js} +2 -2
- package/bundle/{dist-4NVM6I2N.js → dist-EMBSC4SS.js} +3 -1
- package/bundle/{dist-LIQULVXZ.js → dist-SHJ4FBPT.js} +3 -1
- package/bundle/{dist-XPP357J7.js → dist-XMOYSFBW.js} +3 -1
- package/bundle/{gemini-RBKWBGCC.js → gemini-23GFJRSL.js} +14 -14
- package/bundle/{gemini-7GZVH4VW.js → gemini-4SDDBM2K.js} +14 -14
- package/bundle/{gemini-5WY2YO7R.js → gemini-VIZXE6FK.js} +14 -14
- package/bundle/{gemini-QDOVPRKF.js → gemini-XWN3KUEH.js} +14 -14
- package/bundle/gemini.js +7 -7
- package/bundle/{interactiveCli-W3CMLQIM.js → interactiveCli-P65NECXR.js} +31 -21
- package/bundle/{interactiveCli-OEFOYFJU.js → interactiveCli-R6XRMC4D.js} +31 -21
- package/bundle/{interactiveCli-OGE5OTZB.js → interactiveCli-ZHRXRBPP.js} +31 -21
- package/bundle/{interactiveCli-BMKHWEH4.js → interactiveCli-ZLTD7RPN.js} +31 -21
- package/bundle/{liteRtServerManager-3QOJEGNL.js → liteRtServerManager-6YTWQFQF.js} +4 -4
- package/bundle/{liteRtServerManager-HPVNUYFX.js → liteRtServerManager-D6LNW6CQ.js} +4 -4
- package/bundle/{liteRtServerManager-Q6LTEYH4.js → liteRtServerManager-DV2CLRPW.js} +4 -4
- package/bundle/{liteRtServerManager-YL4YRHOA.js → liteRtServerManager-HNNHQ2GQ.js} +4 -4
- package/bundle/{oauth2-provider-3WXIASQA.js → oauth2-provider-BTNIRWZ2.js} +1 -1
- package/bundle/{oauth2-provider-CTPS7JLT.js → oauth2-provider-C3WLQHTS.js} +1 -1
- package/bundle/{oauth2-provider-K52EY6RG.js → oauth2-provider-KWAZCQ6F.js} +1 -1
- package/bundle/{oauth2-provider-PJJE326A.js → oauth2-provider-Y4NUSLR7.js} +1 -1
- package/bundle/{start-25W6VZG6.js → start-2YDK2M2Y.js} +6 -6
- package/bundle/{start-JBJSIKIB.js → start-DKFGI2SP.js} +6 -6
- package/bundle/{start-PK22QMBT.js → start-KPTJV4UZ.js} +6 -6
- package/bundle/{start-XAEHV6FV.js → start-W2EDCOPO.js} +6 -6
- package/package.json +1 -1
|
@@ -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-DVLOSJL6.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-7GTQ3TVY.js";
|
|
18
18
|
import {
|
|
19
19
|
debugLogger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-6WDE67I7.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./chunk-34MYV7JD.js";
|
|
@@ -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-YQE3FF4G.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-XB2Y55JE.js";
|
|
18
18
|
import {
|
|
19
19
|
debugLogger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-XMZW4ETE.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./chunk-34MYV7JD.js";
|
|
@@ -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-MKTEB4X2.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-KOY6HFDJ.js";
|
|
18
18
|
import {
|
|
19
19
|
debugLogger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-KK5RNP2O.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./chunk-34MYV7JD.js";
|
|
@@ -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-S5GUYIK7.js";
|
|
5
5
|
import {
|
|
6
6
|
RELEASE_CHANNEL_STABILITY,
|
|
7
7
|
debugLogger,
|
|
8
8
|
getChannelFromVersion,
|
|
9
9
|
isGitRepository
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5ND76TYS.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-AJKD63PC.js";
|
|
5
5
|
import {
|
|
6
6
|
RELEASE_CHANNEL_STABILITY,
|
|
7
7
|
debugLogger,
|
|
8
8
|
getChannelFromVersion,
|
|
9
9
|
isGitRepository
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XMZW4ETE.js";
|
|
11
11
|
|
|
12
12
|
// packages/cli/src/utils/installationInfo.ts
|
|
13
13
|
import * as fs from "node:fs";
|
|
@@ -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.46.0-preview.
|
|
279306
|
+
var GIT_COMMIT_INFO = "5778999f1";
|
|
279307
|
+
var CLI_VERSION = "0.46.0-preview.3";
|
|
279305
279308
|
|
|
279306
279309
|
// packages/core/dist/src/ide/detect-ide.js
|
|
279307
279310
|
var IDE_DEFINITIONS = {
|
|
@@ -303466,7 +303469,7 @@ function getVersion() {
|
|
|
303466
303469
|
}
|
|
303467
303470
|
versionPromise = (async () => {
|
|
303468
303471
|
const pkgJson = await getPackageJson(__dirname4);
|
|
303469
|
-
return "0.46.0-preview.
|
|
303472
|
+
return "0.46.0-preview.3";
|
|
303470
303473
|
})();
|
|
303471
303474
|
return versionPromise;
|
|
303472
303475
|
}
|
|
@@ -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-KWAZCQ6F.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,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-AJKD63PC.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-LFPQWI47.js";
|
|
5
5
|
import {
|
|
6
6
|
RELEASE_CHANNEL_STABILITY,
|
|
7
7
|
debugLogger,
|
|
8
8
|
getChannelFromVersion,
|
|
9
9
|
isGitRepository
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KK5RNP2O.js";
|
|
11
11
|
|
|
12
12
|
// packages/cli/src/utils/installationInfo.ts
|
|
13
13
|
import * as fs from "node:fs";
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runSyncCleanup,
|
|
12
12
|
setupSignalHandlers,
|
|
13
13
|
setupTtyCheck
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-QC2XF7WU.js";
|
|
15
|
+
import "./chunk-6WDE67I7.js";
|
|
16
16
|
import "./chunk-6HI7VNOG.js";
|
|
17
17
|
import "./chunk-TUDYL3X4.js";
|
|
18
18
|
import "./chunk-IUUIT4SU.js";
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runSyncCleanup,
|
|
12
12
|
setupSignalHandlers,
|
|
13
13
|
setupTtyCheck
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-S5GUYIK7.js";
|
|
15
|
+
import "./chunk-5ND76TYS.js";
|
|
16
16
|
import "./chunk-6HI7VNOG.js";
|
|
17
17
|
import "./chunk-TUDYL3X4.js";
|
|
18
18
|
import "./chunk-IUUIT4SU.js";
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runSyncCleanup,
|
|
12
12
|
setupSignalHandlers,
|
|
13
13
|
setupTtyCheck
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-LFPQWI47.js";
|
|
15
|
+
import "./chunk-KK5RNP2O.js";
|
|
16
16
|
import "./chunk-6HI7VNOG.js";
|
|
17
17
|
import "./chunk-TUDYL3X4.js";
|
|
18
18
|
import "./chunk-IUUIT4SU.js";
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
runSyncCleanup,
|
|
12
12
|
setupSignalHandlers,
|
|
13
13
|
setupTtyCheck
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-AJKD63PC.js";
|
|
15
|
+
import "./chunk-XMZW4ETE.js";
|
|
16
16
|
import "./chunk-6HI7VNOG.js";
|
|
17
17
|
import "./chunk-TUDYL3X4.js";
|
|
18
18
|
import "./chunk-IUUIT4SU.js";
|
|
@@ -58,6 +58,7 @@ import {
|
|
|
58
58
|
BeforeModelHookOutput,
|
|
59
59
|
BeforeToolHookOutput,
|
|
60
60
|
BeforeToolSelectionHookOutput,
|
|
61
|
+
CCPA_AI_MODEL_MAPPINGS,
|
|
61
62
|
CODE_ASSIST_API_VERSION,
|
|
62
63
|
CODE_ASSIST_ENDPOINT,
|
|
63
64
|
COMMON_DIRECTORY_EXCLUDES,
|
|
@@ -1063,7 +1064,7 @@ import {
|
|
|
1063
1064
|
wrapInAccountChooser,
|
|
1064
1065
|
writeToStderr,
|
|
1065
1066
|
writeToStdout
|
|
1066
|
-
} from "./chunk-
|
|
1067
|
+
} from "./chunk-5ND76TYS.js";
|
|
1067
1068
|
import "./chunk-6HI7VNOG.js";
|
|
1068
1069
|
import "./chunk-TUDYL3X4.js";
|
|
1069
1070
|
import {
|
|
@@ -1130,6 +1131,7 @@ export {
|
|
|
1130
1131
|
BeforeModelHookOutput,
|
|
1131
1132
|
BeforeToolHookOutput,
|
|
1132
1133
|
BeforeToolSelectionHookOutput,
|
|
1134
|
+
CCPA_AI_MODEL_MAPPINGS,
|
|
1133
1135
|
CODE_ASSIST_API_VERSION,
|
|
1134
1136
|
CODE_ASSIST_ENDPOINT,
|
|
1135
1137
|
COMMON_DIRECTORY_EXCLUDES,
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
CoreEvent,
|
|
4
4
|
coreEvents,
|
|
5
5
|
debugLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XMZW4ETE.js";
|
|
7
7
|
import {
|
|
8
8
|
wrapper_default
|
|
9
9
|
} from "./chunk-6HI7VNOG.js";
|
|
@@ -822,7 +822,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
822
822
|
return;
|
|
823
823
|
}
|
|
824
824
|
try {
|
|
825
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-
|
|
825
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-XMOYSFBW.js");
|
|
826
826
|
const url = await startDevToolsServer(config);
|
|
827
827
|
if (shouldLaunchBrowser()) {
|
|
828
828
|
try {
|
|
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
|
|
|
2
2
|
import {
|
|
3
3
|
coreEvents,
|
|
4
4
|
debugLogger
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-5ND76TYS.js";
|
|
6
6
|
import {
|
|
7
7
|
wrapper_default
|
|
8
8
|
} from "./chunk-6HI7VNOG.js";
|
|
@@ -821,7 +821,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
821
821
|
return;
|
|
822
822
|
}
|
|
823
823
|
try {
|
|
824
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-
|
|
824
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-HYJM5T45.js");
|
|
825
825
|
const url = await startDevToolsServer(config);
|
|
826
826
|
if (shouldLaunchBrowser()) {
|
|
827
827
|
try {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
CoreEvent,
|
|
4
4
|
coreEvents,
|
|
5
5
|
debugLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6WDE67I7.js";
|
|
7
7
|
import {
|
|
8
8
|
wrapper_default
|
|
9
9
|
} from "./chunk-6HI7VNOG.js";
|
|
@@ -822,7 +822,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
822
822
|
return;
|
|
823
823
|
}
|
|
824
824
|
try {
|
|
825
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-
|
|
825
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-EMBSC4SS.js");
|
|
826
826
|
const url = await startDevToolsServer(config);
|
|
827
827
|
if (shouldLaunchBrowser()) {
|
|
828
828
|
try {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
CoreEvent,
|
|
4
4
|
coreEvents,
|
|
5
5
|
debugLogger
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KK5RNP2O.js";
|
|
7
7
|
import {
|
|
8
8
|
wrapper_default
|
|
9
9
|
} from "./chunk-6HI7VNOG.js";
|
|
@@ -822,7 +822,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
|
|
|
822
822
|
return;
|
|
823
823
|
}
|
|
824
824
|
try {
|
|
825
|
-
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-
|
|
825
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-SHJ4FBPT.js");
|
|
826
826
|
const url = await startDevToolsServer(config);
|
|
827
827
|
if (shouldLaunchBrowser()) {
|
|
828
828
|
try {
|
|
@@ -58,6 +58,7 @@ import {
|
|
|
58
58
|
BeforeModelHookOutput,
|
|
59
59
|
BeforeToolHookOutput,
|
|
60
60
|
BeforeToolSelectionHookOutput,
|
|
61
|
+
CCPA_AI_MODEL_MAPPINGS,
|
|
61
62
|
CODE_ASSIST_API_VERSION,
|
|
62
63
|
CODE_ASSIST_ENDPOINT,
|
|
63
64
|
COMMON_DIRECTORY_EXCLUDES,
|
|
@@ -1063,7 +1064,7 @@ import {
|
|
|
1063
1064
|
wrapInAccountChooser,
|
|
1064
1065
|
writeToStderr,
|
|
1065
1066
|
writeToStdout
|
|
1066
|
-
} from "./chunk-
|
|
1067
|
+
} from "./chunk-6WDE67I7.js";
|
|
1067
1068
|
import "./chunk-6HI7VNOG.js";
|
|
1068
1069
|
import "./chunk-TUDYL3X4.js";
|
|
1069
1070
|
import {
|
|
@@ -1130,6 +1131,7 @@ export {
|
|
|
1130
1131
|
BeforeModelHookOutput,
|
|
1131
1132
|
BeforeToolHookOutput,
|
|
1132
1133
|
BeforeToolSelectionHookOutput,
|
|
1134
|
+
CCPA_AI_MODEL_MAPPINGS,
|
|
1133
1135
|
CODE_ASSIST_API_VERSION,
|
|
1134
1136
|
CODE_ASSIST_ENDPOINT,
|
|
1135
1137
|
COMMON_DIRECTORY_EXCLUDES,
|
|
@@ -58,6 +58,7 @@ import {
|
|
|
58
58
|
BeforeModelHookOutput,
|
|
59
59
|
BeforeToolHookOutput,
|
|
60
60
|
BeforeToolSelectionHookOutput,
|
|
61
|
+
CCPA_AI_MODEL_MAPPINGS,
|
|
61
62
|
CODE_ASSIST_API_VERSION,
|
|
62
63
|
CODE_ASSIST_ENDPOINT,
|
|
63
64
|
COMMON_DIRECTORY_EXCLUDES,
|
|
@@ -1063,7 +1064,7 @@ import {
|
|
|
1063
1064
|
wrapInAccountChooser,
|
|
1064
1065
|
writeToStderr,
|
|
1065
1066
|
writeToStdout
|
|
1066
|
-
} from "./chunk-
|
|
1067
|
+
} from "./chunk-KK5RNP2O.js";
|
|
1067
1068
|
import "./chunk-6HI7VNOG.js";
|
|
1068
1069
|
import "./chunk-TUDYL3X4.js";
|
|
1069
1070
|
import {
|
|
@@ -1130,6 +1131,7 @@ export {
|
|
|
1130
1131
|
BeforeModelHookOutput,
|
|
1131
1132
|
BeforeToolHookOutput,
|
|
1132
1133
|
BeforeToolSelectionHookOutput,
|
|
1134
|
+
CCPA_AI_MODEL_MAPPINGS,
|
|
1133
1135
|
CODE_ASSIST_API_VERSION,
|
|
1134
1136
|
CODE_ASSIST_ENDPOINT,
|
|
1135
1137
|
COMMON_DIRECTORY_EXCLUDES,
|
|
@@ -58,6 +58,7 @@ import {
|
|
|
58
58
|
BeforeModelHookOutput,
|
|
59
59
|
BeforeToolHookOutput,
|
|
60
60
|
BeforeToolSelectionHookOutput,
|
|
61
|
+
CCPA_AI_MODEL_MAPPINGS,
|
|
61
62
|
CODE_ASSIST_API_VERSION,
|
|
62
63
|
CODE_ASSIST_ENDPOINT,
|
|
63
64
|
COMMON_DIRECTORY_EXCLUDES,
|
|
@@ -1063,7 +1064,7 @@ import {
|
|
|
1063
1064
|
wrapInAccountChooser,
|
|
1064
1065
|
writeToStderr,
|
|
1065
1066
|
writeToStdout
|
|
1066
|
-
} from "./chunk-
|
|
1067
|
+
} from "./chunk-XMZW4ETE.js";
|
|
1067
1068
|
import "./chunk-6HI7VNOG.js";
|
|
1068
1069
|
import "./chunk-TUDYL3X4.js";
|
|
1069
1070
|
import {
|
|
@@ -1130,6 +1131,7 @@ export {
|
|
|
1130
1131
|
BeforeModelHookOutput,
|
|
1131
1132
|
BeforeToolHookOutput,
|
|
1132
1133
|
BeforeToolSelectionHookOutput,
|
|
1134
|
+
CCPA_AI_MODEL_MAPPINGS,
|
|
1133
1135
|
CODE_ASSIST_API_VERSION,
|
|
1134
1136
|
CODE_ASSIST_ENDPOINT,
|
|
1135
1137
|
COMMON_DIRECTORY_EXCLUDES,
|
|
@@ -41,18 +41,18 @@ import {
|
|
|
41
41
|
updateAllUpdatableExtensions,
|
|
42
42
|
updateExtension,
|
|
43
43
|
validateAuthMethod
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-2GESUVEI.js";
|
|
45
45
|
import {
|
|
46
46
|
appEvents
|
|
47
47
|
} from "./chunk-5PS3AYFU.js";
|
|
48
48
|
import {
|
|
49
49
|
startCommand,
|
|
50
50
|
startServer
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-V5CL3DRL.js";
|
|
52
52
|
import {
|
|
53
53
|
exitCli,
|
|
54
54
|
require_source
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-YQE3FF4G.js";
|
|
56
56
|
import {
|
|
57
57
|
DEFAULT_PORT,
|
|
58
58
|
GEMMA_MODEL_NAME,
|
|
@@ -86,11 +86,11 @@ import {
|
|
|
86
86
|
readServerProcessInfo,
|
|
87
87
|
resolveGemmaConfig,
|
|
88
88
|
saveModelChange
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-XB2Y55JE.js";
|
|
90
90
|
import {
|
|
91
91
|
RELAUNCH_EXIT_CODE
|
|
92
|
-
} from "./chunk-
|
|
93
|
-
import "./chunk-
|
|
92
|
+
} from "./chunk-W7QA7FT5.js";
|
|
93
|
+
import "./chunk-IPSGP4HZ.js";
|
|
94
94
|
import {
|
|
95
95
|
cleanupCheckpoints,
|
|
96
96
|
registerCleanup,
|
|
@@ -99,7 +99,7 @@ import {
|
|
|
99
99
|
runExitCleanup,
|
|
100
100
|
runSyncCleanup,
|
|
101
101
|
setupSignalHandlers
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-AJKD63PC.js";
|
|
103
103
|
import {
|
|
104
104
|
ASK_USER_TOOL_NAME,
|
|
105
105
|
ApprovalMode,
|
|
@@ -247,7 +247,7 @@ import {
|
|
|
247
247
|
updatePolicy,
|
|
248
248
|
writeToStderr,
|
|
249
249
|
writeToStdout
|
|
250
|
-
} from "./chunk-
|
|
250
|
+
} from "./chunk-XMZW4ETE.js";
|
|
251
251
|
import "./chunk-6HI7VNOG.js";
|
|
252
252
|
import "./chunk-TUDYL3X4.js";
|
|
253
253
|
import "./chunk-IUUIT4SU.js";
|
|
@@ -7841,7 +7841,7 @@ async function loadSandboxConfig(settings, argv) {
|
|
|
7841
7841
|
}
|
|
7842
7842
|
const command2 = getSandboxCommand(sandboxValue);
|
|
7843
7843
|
const packageJson = await getPackageJson(__dirname3);
|
|
7844
|
-
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.46.0-preview.
|
|
7844
|
+
const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.46.0-preview.3" ?? customImage ?? packageJson?.config?.sandboxImageUri;
|
|
7845
7845
|
const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
|
|
7846
7846
|
return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
|
|
7847
7847
|
}
|
|
@@ -10249,7 +10249,7 @@ async function runNonInteractive({
|
|
|
10249
10249
|
}
|
|
10250
10250
|
});
|
|
10251
10251
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10252
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10252
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-5ME5JZIQ.js");
|
|
10253
10253
|
setupInitialActivityLogger(config);
|
|
10254
10254
|
}
|
|
10255
10255
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -10720,7 +10720,7 @@ async function runNonInteractive2(params) {
|
|
|
10720
10720
|
}
|
|
10721
10721
|
});
|
|
10722
10722
|
if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
|
|
10723
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
10723
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-5ME5JZIQ.js");
|
|
10724
10724
|
setupInitialActivityLogger(config);
|
|
10725
10725
|
}
|
|
10726
10726
|
const { stdout: workingStdout } = createWorkingStdio();
|
|
@@ -15911,7 +15911,7 @@ async function resolveSessionId(resumeArg, sessionIdArg, sessionFileArg) {
|
|
|
15911
15911
|
}
|
|
15912
15912
|
}
|
|
15913
15913
|
async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
|
|
15914
|
-
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-
|
|
15914
|
+
const { startInteractiveUI: doStartUI } = await import("./interactiveCli-ZLTD7RPN.js");
|
|
15915
15915
|
await doStartUI(
|
|
15916
15916
|
config,
|
|
15917
15917
|
settings,
|
|
@@ -16120,7 +16120,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
16120
16120
|
await config.storage.initialize();
|
|
16121
16121
|
adminControlsListner.setConfig(config);
|
|
16122
16122
|
if (config.isInteractive() && settings.merged.general.devtools) {
|
|
16123
|
-
const { setupInitialActivityLogger } = await import("./devtoolsService-
|
|
16123
|
+
const { setupInitialActivityLogger } = await import("./devtoolsService-5ME5JZIQ.js");
|
|
16124
16124
|
setupInitialActivityLogger(config);
|
|
16125
16125
|
}
|
|
16126
16126
|
registerTelemetryConfig(config);
|
|
@@ -16179,7 +16179,7 @@ ${finalArgs[promptIndex + 1]}`;
|
|
|
16179
16179
|
const initAppHandle = startupProfiler.start("initialize_app");
|
|
16180
16180
|
const initializationResult = await initializeApp(config, settings);
|
|
16181
16181
|
initAppHandle?.end();
|
|
16182
|
-
import("./liteRtServerManager-
|
|
16182
|
+
import("./liteRtServerManager-HNNHQ2GQ.js").then(({ LiteRtServerManager }) => {
|
|
16183
16183
|
const mergedGemma = settings.merged.experimental?.gemmaModelRouter;
|
|
16184
16184
|
if (!mergedGemma) return;
|
|
16185
16185
|
const userGemma = settings.forScope("User" /* User */).settings.experimental?.gemmaModelRouter;
|