@google/gemini-cli 0.36.0-preview.5 → 0.36.0-preview.7

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.
Files changed (32) hide show
  1. package/bundle/{chunk-JVWUC5YF.js → chunk-2RCLDWUX.js} +5 -4
  2. package/bundle/{chunk-73XBEEKU.js → chunk-APAYS2LE.js} +5 -4
  3. package/bundle/{chunk-3TVPPX4I.js → chunk-EHC7O4TG.js} +85 -29
  4. package/bundle/{chunk-RPB34XBS.js → chunk-GDBDMLKR.js} +85 -29
  5. package/bundle/{chunk-PXG3YTLU.js → chunk-MYI75E6G.js} +20 -6
  6. package/bundle/{chunk-GXKW2PIT.js → chunk-NYCY3Q2B.js} +103 -18
  7. package/bundle/{chunk-UOIPVPAN.js → chunk-QTVUHTZR.js} +5 -4
  8. package/bundle/{chunk-HLML5SVJ.js → chunk-S2IQOR7T.js} +15 -6
  9. package/bundle/{chunk-Z65JXKXO.js → chunk-VA3P26WZ.js} +85 -29
  10. package/bundle/{chunk-QT5UMCOV.js → chunk-YTGZ6CSI.js} +5 -4
  11. package/bundle/{core-YUBXJKN2.js → core-BHH4RB6L.js} +2 -2
  12. package/bundle/{devtoolsService-H6BMMMDD.js → devtoolsService-4QGIZO5B.js} +3 -3
  13. package/bundle/{devtoolsService-LJ5G2C2N.js → devtoolsService-GJALET3B.js} +3 -3
  14. package/bundle/{devtoolsService-S23HMHOP.js → devtoolsService-Q6LGZKTJ.js} +3 -3
  15. package/bundle/{devtoolsService-XJE4SD6Y.js → devtoolsService-STAWBGOY.js} +3 -3
  16. package/bundle/{dist-26FBDZJL.js → dist-SWQPYLLV.js} +2 -2
  17. package/bundle/{dist-HZG3MZJJ.js → dist-YHAAIIZP.js} +2 -2
  18. package/bundle/{dist-NWO4TPRO.js → dist-YOBWJF52.js} +2 -2
  19. package/bundle/docs/reference/configuration.md +25 -1
  20. package/bundle/gemini.js +9 -9
  21. package/bundle/{interactiveCli-XLIK7J4T.js → interactiveCli-B6Y3UISW.js} +197 -211
  22. package/bundle/{interactiveCli-NDBO5LFJ.js → interactiveCli-HYY2W6AF.js} +197 -211
  23. package/bundle/{interactiveCli-H722RT7T.js → interactiveCli-MEBWWWE7.js} +197 -211
  24. package/bundle/{interactiveCli-Q24D75I6.js → interactiveCli-YJFA3P4G.js} +197 -211
  25. package/bundle/{memoryDiscovery-JXHCZBWK.js → memoryDiscovery-BQGYT4OD.js} +1 -1
  26. package/bundle/{memoryDiscovery-VQKOP6YW.js → memoryDiscovery-FCEPFZ3M.js} +1 -1
  27. package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
  28. package/bundle/{oauth2-provider-J2PS4AXL.js → oauth2-provider-DLPX23GY.js} +2 -2
  29. package/bundle/{oauth2-provider-GQA3CRCL.js → oauth2-provider-IGY3DL3D.js} +2 -2
  30. package/bundle/{oauth2-provider-MZZUQG5T.js → oauth2-provider-MKUXMD5I.js} +2 -2
  31. package/bundle/{oauth2-provider-PVUYATDU.js → oauth2-provider-TIKPJAVU.js} +2 -2
  32. package/package.json +1 -1
package/bundle/gemini.js CHANGED
@@ -67,7 +67,7 @@ import {
67
67
  updateAllUpdatableExtensions,
68
68
  updateExtension,
69
69
  validateAuthMethod
70
- } from "./chunk-UOIPVPAN.js";
70
+ } from "./chunk-QTVUHTZR.js";
71
71
  import {
72
72
  AuthType,
73
73
  ChatRecordingService,
@@ -153,7 +153,7 @@ import {
153
153
  uiTelemetryService,
154
154
  writeToStderr,
155
155
  writeToStdout
156
- } from "./chunk-Z65JXKXO.js";
156
+ } from "./chunk-EHC7O4TG.js";
157
157
  import {
158
158
  ASK_USER_TOOL_NAME,
159
159
  ApprovalMode,
@@ -198,7 +198,7 @@ import {
198
198
  resolveModel,
199
199
  resolveToRealPath,
200
200
  setGeminiMdFilename
201
- } from "./chunk-HLML5SVJ.js";
201
+ } from "./chunk-S2IQOR7T.js";
202
202
  import "./chunk-664ZODQF.js";
203
203
  import "./chunk-RJTRUG2J.js";
204
204
  import "./chunk-IUUIT4SU.js";
@@ -7232,20 +7232,20 @@ async function loadSandboxConfig(settings, argv) {
7232
7232
  const sandboxOption = argv.sandbox ?? settings.tools?.sandbox;
7233
7233
  let sandboxValue;
7234
7234
  let allowedPaths = [];
7235
- let networkAccess = false;
7235
+ let networkAccess = true;
7236
7236
  let customImage;
7237
7237
  if (typeof sandboxOption === "object" && sandboxOption !== null && !Array.isArray(sandboxOption)) {
7238
7238
  const config = sandboxOption;
7239
7239
  sandboxValue = config.enabled ? config.command ?? true : false;
7240
7240
  allowedPaths = config.allowedPaths ?? [];
7241
- networkAccess = config.networkAccess ?? false;
7241
+ networkAccess = config.networkAccess ?? true;
7242
7242
  customImage = config.image;
7243
7243
  } else if (typeof sandboxOption !== "object" || sandboxOption === null) {
7244
7244
  sandboxValue = sandboxOption;
7245
7245
  }
7246
7246
  const command2 = getSandboxCommand(sandboxValue);
7247
7247
  const packageJson = await getPackageJson(__dirname3);
7248
- const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.36.0-preview.5" ?? customImage ?? packageJson?.config?.sandboxImageUri;
7248
+ const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.36.0-preview.7" ?? customImage ?? packageJson?.config?.sandboxImageUri;
7249
7249
  const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
7250
7250
  return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
7251
7251
  }
@@ -9521,7 +9521,7 @@ async function runNonInteractive({
9521
9521
  }
9522
9522
  });
9523
9523
  if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
9524
- const { setupInitialActivityLogger } = await import("./devtoolsService-S23HMHOP.js");
9524
+ const { setupInitialActivityLogger } = await import("./devtoolsService-4QGIZO5B.js");
9525
9525
  await setupInitialActivityLogger(config);
9526
9526
  }
9527
9527
  const { stdout: workingStdout } = createWorkingStdio();
@@ -13974,7 +13974,7 @@ ${reason.stack}` : ""}`;
13974
13974
  });
13975
13975
  }
13976
13976
  async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
13977
- const { startInteractiveUI: doStartUI } = await import("./interactiveCli-NDBO5LFJ.js");
13977
+ const { startInteractiveUI: doStartUI } = await import("./interactiveCli-HYY2W6AF.js");
13978
13978
  await doStartUI(
13979
13979
  config,
13980
13980
  settings,
@@ -14170,7 +14170,7 @@ ${finalArgs[promptIndex + 1]}`;
14170
14170
  await config.storage.initialize();
14171
14171
  adminControlsListner.setConfig(config);
14172
14172
  if (config.isInteractive() && settings.merged.general.devtools) {
14173
- const { setupInitialActivityLogger } = await import("./devtoolsService-S23HMHOP.js");
14173
+ const { setupInitialActivityLogger } = await import("./devtoolsService-4QGIZO5B.js");
14174
14174
  await setupInitialActivityLogger(config);
14175
14175
  }
14176
14176
  registerTelemetryConfig(config);