@google/gemini-cli 0.42.0-nightly.20260504.g37edd1d4d → 0.42.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/bundle/{chunk-AWDYRW2U.js → chunk-4LCWAZQL.js} +1 -1
- package/bundle/{chunk-EZORTJZD.js → chunk-6BMBSK77.js} +3 -3
- package/bundle/{chunk-47MQQKH5.js → chunk-6KCFSK2J.js} +3 -3
- package/bundle/{chunk-O4IB3EKU.js → chunk-6QYD32J3.js} +23 -7
- package/bundle/{chunk-4NGQB4UL.js → chunk-CBWESCDG.js} +2847 -1144
- package/bundle/{chunk-VGKKBLRD.js → chunk-CLT3IJGB.js} +27 -14
- package/bundle/{chunk-DD4MWEAB.js → chunk-ECNYAST2.js} +0 -3
- package/bundle/{chunk-23JWJPST.js → chunk-ETRUTVTR.js} +2 -2
- package/bundle/{chunk-7T7EB64D.js → chunk-EW6BCPVC.js} +2 -2
- package/bundle/{chunk-4CL3BNWJ.js → chunk-F7B6HX6S.js} +3 -3
- package/bundle/{chunk-RBITNMVQ.js → chunk-GFPE65Z3.js} +2847 -1144
- package/bundle/{chunk-QOWQPN6W.js → chunk-HSZC7H6N.js} +3 -3
- package/bundle/{chunk-7R7J5G5N.js → chunk-IGYW5IPQ.js} +13759 -6888
- package/bundle/{chunk-V2AZCFMF.js → chunk-J3JE6HQX.js} +1 -1
- package/bundle/{chunk-2ASC7X5Z.js → chunk-J6LCLN2Y.js} +1 -1
- package/bundle/{chunk-BV5WLVY2.js → chunk-JEW7ZIWE.js} +0 -3
- package/bundle/{chunk-KYSNXK4O.js → chunk-KILMJEVY.js} +1 -1
- package/bundle/{chunk-XBZPAESL.js → chunk-M4GY7DCE.js} +1226 -171
- package/bundle/{chunk-UAJE2IIJ.js → chunk-N3W3RYXN.js} +2894 -1204
- package/bundle/{chunk-ETLFLQ2B.js → chunk-NOEPPT4R.js} +23 -7
- package/bundle/{chunk-7JAN3SUZ.js → chunk-NQ7WZMXX.js} +1110 -137
- package/bundle/{chunk-E4XZWS5C.js → chunk-QMK75Y7E.js} +2 -2
- package/bundle/{chunk-XWAD4PAV.js → chunk-UO7OO22U.js} +8 -9
- package/bundle/{chunk-QGZWCVGK.js → chunk-VUENLVGO.js} +3 -3
- package/bundle/{chunk-GT3HDRVH.js → chunk-WSLK3AUT.js} +1 -1
- package/bundle/{chunk-2BEDC6Z5.js → chunk-Y2QKRHXR.js} +3 -3
- package/bundle/{cleanup-57VI3Y7F.js → cleanup-LH7RU457.js} +3 -3
- package/bundle/{cleanup-7KO2TN5M.js → cleanup-T2HYKF7I.js} +3 -3
- package/bundle/{cleanup-MMB3L27L.js → cleanup-ZBHF7PUC.js} +3 -3
- package/bundle/{core-TRRS4JP4.js → core-IIB5TH4W.js} +12 -2
- package/bundle/{dist-DHI7VLSZ.js → core-QH4PNJQ3.js} +12 -2
- package/bundle/{devtoolsService-KLXYEU6C.js → devtoolsService-NIEGPNPT.js} +3 -3
- package/bundle/{devtoolsService-63UABLBI.js → devtoolsService-NXXQULSB.js} +3 -3
- package/bundle/{devtoolsService-KMBX7JXR.js → devtoolsService-USWJ4OCC.js} +4 -5
- package/bundle/{dist-FK75J2N7.js → dist-P6VZ5KI4.js} +12 -2
- package/bundle/docs/cli/settings.md +3 -2
- package/bundle/docs/reference/configuration.md +13 -3
- package/bundle/{gemini-3DF4UWKT.js → gemini-H26TLDOV.js} +34 -22
- package/bundle/{gemini-SHQDZVZ4.js → gemini-NFPXCHZM.js} +33 -21
- package/bundle/{gemini-2WDSRXVE.js → gemini-U45ZMNQE.js} +205 -207
- package/bundle/gemini.js +8 -8
- package/bundle/{interactiveCli-PEXGLK6P.js → interactiveCli-AT7D6KM5.js} +3168 -3873
- package/bundle/{interactiveCli-TRFGBJVA.js → interactiveCli-MMM7Z6CJ.js} +3168 -3873
- package/bundle/{interactiveCli-6H25UAOU.js → interactiveCli-O6EFASZD.js} +3431 -4154
- package/bundle/{liteRtServerManager-IN2UU7HC.js → liteRtServerManager-G5EHBOWM.js} +5 -5
- package/bundle/{liteRtServerManager-OWX7LNWO.js → liteRtServerManager-JCITNPUM.js} +5 -5
- package/bundle/{liteRtServerManager-X5SYN4X6.js → liteRtServerManager-QB74ZF32.js} +5 -5
- package/bundle/{memoryDiscovery-HRURE3F3.js → memoryDiscovery-FB7MMKTA.js} +1 -1
- package/bundle/{memoryDiscovery-QSLYQGO6.js → memoryDiscovery-KSYZVCWF.js} +1 -1
- package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
- package/bundle/{oauth2-provider-LFV5IUWQ.js → oauth2-provider-K5IZHYDJ.js} +2 -2
- package/bundle/{oauth2-provider-BYJEIVGX.js → oauth2-provider-V6ROFUMU.js} +2 -2
- package/bundle/{oauth2-provider-KYSQCROK.js → oauth2-provider-ZKX2USIN.js} +73 -39
- package/bundle/{start-H6BPFJBZ.js → start-B4GKBYKT.js} +7 -7
- package/bundle/{start-JZHMIV7J.js → start-SW3EMEQ2.js} +7 -7
- package/bundle/{start-WQABSWPR.js → start-WILIWWLN.js} +7 -7
- package/package.json +1 -1
- package/bundle/chunk-2G4FWTO5.js +0 -17214
- package/bundle/chunk-DOORHYWO.js +0 -118
- package/bundle/chunk-OIHGRLZF.js +0 -512
- package/bundle/chunk-OQTQ37Y6.js +0 -1571
- package/bundle/chunk-QFS62ZPI.js +0 -391
- package/bundle/chunk-QMJ5Z25U.js +0 -156
- package/bundle/chunk-XD6LMKVZ.js +0 -355036
- package/bundle/chunk-YQG4QIMR.js +0 -79841
- package/bundle/cleanup-U3PW6X4H.js +0 -33
- package/bundle/devtoolsService-WHLFCMOC.js +0 -857
- package/bundle/dist-ZKDBZKHE.js +0 -2086
- package/bundle/gemini-NTNAY4P5.js +0 -16244
- package/bundle/interactiveCli-BUG2DZSG.js +0 -35210
- package/bundle/liteRtServerManager-XXHXMVYH.js +0 -66
- package/bundle/oauth2-provider-MVCE5LZL.js +0 -237
- package/bundle/start-ZOO5SNYR.js +0 -19
|
@@ -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-EW6BCPVC.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-WSLK3AUT.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-6QYD32J3.js";
|
|
18
18
|
import {
|
|
19
19
|
debugLogger
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ECNYAST2.js";
|
|
21
21
|
import {
|
|
22
22
|
__toESM
|
|
23
23
|
} from "./chunk-34MYV7JD.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
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-ETRUTVTR.js";
|
|
5
5
|
import {
|
|
6
6
|
RELEASE_CHANNEL_STABILITY,
|
|
7
7
|
getChannelFromVersion,
|
|
8
8
|
isGitRepository
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NQ7WZMXX.js";
|
|
10
10
|
import {
|
|
11
11
|
debugLogger
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-JEW7ZIWE.js";
|
|
13
13
|
|
|
14
14
|
// packages/cli/src/utils/installationInfo.ts
|
|
15
15
|
import * as fs from "node:fs";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
require_strip_json_comments,
|
|
21
21
|
sanitizeFilenamePart,
|
|
22
22
|
stripAnsi
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-M4GY7DCE.js";
|
|
24
24
|
import {
|
|
25
25
|
FatalConfigError,
|
|
26
26
|
GEMINI_DIR,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
external_exports,
|
|
31
31
|
getErrorMessage,
|
|
32
32
|
homedir
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-ECNYAST2.js";
|
|
34
34
|
import {
|
|
35
35
|
__commonJS,
|
|
36
36
|
__require,
|
|
@@ -14149,6 +14149,15 @@ var SETTINGS_SCHEMA = {
|
|
|
14149
14149
|
items: { type: "string" },
|
|
14150
14150
|
mergeStrategy: "union" /* UNION */
|
|
14151
14151
|
},
|
|
14152
|
+
ignoreLocalEnv: {
|
|
14153
|
+
type: "boolean",
|
|
14154
|
+
label: "Ignore Local .env",
|
|
14155
|
+
category: "Advanced",
|
|
14156
|
+
requiresRestart: true,
|
|
14157
|
+
default: false,
|
|
14158
|
+
description: "Whether to ignore generic .env files in the project directory.",
|
|
14159
|
+
showInDialog: true
|
|
14160
|
+
},
|
|
14152
14161
|
bugCommand: {
|
|
14153
14162
|
type: "object",
|
|
14154
14163
|
label: "Bug Command",
|
|
@@ -14216,7 +14225,11 @@ var SETTINGS_SCHEMA = {
|
|
|
14216
14225
|
category: "Experimental",
|
|
14217
14226
|
requiresRestart: false,
|
|
14218
14227
|
default: "gemini-live",
|
|
14219
|
-
description:
|
|
14228
|
+
description: oneLine`
|
|
14229
|
+
The backend to use for voice transcription. Note: When using the
|
|
14230
|
+
Gemini Live backend, voice recordings are sent to Google Cloud for
|
|
14231
|
+
transcription.
|
|
14232
|
+
`,
|
|
14220
14233
|
showInDialog: true,
|
|
14221
14234
|
options: [
|
|
14222
14235
|
{ value: "gemini-live", label: "Gemini Live API (Cloud)" },
|
|
@@ -14504,7 +14517,7 @@ var SETTINGS_SCHEMA = {
|
|
|
14504
14517
|
category: "Experimental",
|
|
14505
14518
|
requiresRestart: true,
|
|
14506
14519
|
default: false,
|
|
14507
|
-
description: "Automatically extract
|
|
14520
|
+
description: "Automatically extract memory patches and skills from past sessions in the background. Every change is written as a unified diff `.patch` file under `<projectMemoryDir>/.inbox/<kind>/` and held for review in /memory inbox; nothing is applied until you approve it.",
|
|
14508
14521
|
showInDialog: true
|
|
14509
14522
|
},
|
|
14510
14523
|
generalistProfile: {
|
|
@@ -16279,7 +16292,7 @@ var LoadedSettings = class {
|
|
|
16279
16292
|
this._merged = this.computeMergedSettings();
|
|
16280
16293
|
}
|
|
16281
16294
|
};
|
|
16282
|
-
function findEnvFile(startDir, isTrusted) {
|
|
16295
|
+
function findEnvFile(startDir, isTrusted, ignoreLocalEnv) {
|
|
16283
16296
|
let currentDir = path3.resolve(startDir);
|
|
16284
16297
|
while (true) {
|
|
16285
16298
|
if (isTrusted) {
|
|
@@ -16290,7 +16303,9 @@ function findEnvFile(startDir, isTrusted) {
|
|
|
16290
16303
|
}
|
|
16291
16304
|
const envPath = path3.join(currentDir, ".env");
|
|
16292
16305
|
if (fs4.existsSync(envPath)) {
|
|
16293
|
-
|
|
16306
|
+
if (!ignoreLocalEnv || currentDir === homedir()) {
|
|
16307
|
+
return envPath;
|
|
16308
|
+
}
|
|
16294
16309
|
}
|
|
16295
16310
|
const parentDir = path3.dirname(currentDir);
|
|
16296
16311
|
if (parentDir === currentDir || !parentDir) {
|
|
@@ -16340,11 +16355,12 @@ function setUpCloudShellEnvironment(envFilePath, isTrusted, isSandboxed, selecte
|
|
|
16340
16355
|
function loadEnvironment(settings, workspaceDir, isWorkspaceTrustedFn = isWorkspaceTrusted) {
|
|
16341
16356
|
const trustResult = isWorkspaceTrustedFn(settings, workspaceDir);
|
|
16342
16357
|
const isTrusted = trustResult.isTrusted ?? false;
|
|
16343
|
-
const envFilePath = findEnvFile(workspaceDir, isTrusted);
|
|
16344
16358
|
const args = process2.argv.slice(2);
|
|
16345
16359
|
const doubleDashIndex = args.indexOf("--");
|
|
16346
16360
|
const relevantArgs = doubleDashIndex === -1 ? args : args.slice(0, doubleDashIndex);
|
|
16347
16361
|
const isSandboxed = !!settings.tools?.sandbox || relevantArgs.includes("-s") || relevantArgs.includes("--sandbox");
|
|
16362
|
+
const shouldIgnoreEnv = !!settings.advanced?.ignoreLocalEnv || relevantArgs.includes("--ignore-env");
|
|
16363
|
+
const envFilePath = findEnvFile(workspaceDir, isTrusted, shouldIgnoreEnv);
|
|
16348
16364
|
if (process2.env["CLOUD_SHELL"] === "true") {
|
|
16349
16365
|
const selectedAuthType = settings.security?.auth?.selectedType;
|
|
16350
16366
|
setUpCloudShellEnvironment(
|