@google/gemini-cli 0.38.0 → 0.38.2

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 (28) hide show
  1. package/bundle/{chunk-UTDAP6W7.js → chunk-7DZN7VCC.js} +3 -3
  2. package/bundle/{chunk-ZN2B66X6.js → chunk-AQRXALHQ.js} +71 -59
  3. package/bundle/{chunk-UIKF2OKQ.js → chunk-EA775AOR.js} +36 -28
  4. package/bundle/{chunk-UKTSS4BC.js → chunk-GOUPAQ35.js} +6150 -11466
  5. package/bundle/chunk-IWSCP2GY.js +358524 -0
  6. package/bundle/chunk-Q7CZZHO7.js +85174 -0
  7. package/bundle/{chunk-A5WACHT3.js → chunk-X5TOY4FB.js} +36 -28
  8. package/bundle/{chunk-E3PKFKX6.js → chunk-YZOILRC2.js} +3 -3
  9. package/bundle/{core-3K4DOF2Q.js → core-RAI2NPSI.js} +1 -1
  10. package/bundle/{devtoolsService-7O5W72JB.js → devtoolsService-2DD6XOE6.js} +2 -2
  11. package/bundle/{devtoolsService-6WC7CXEJ.js → devtoolsService-2KNLVOTR.js} +5 -4
  12. package/bundle/{devtoolsService-4VP27OSR.js → devtoolsService-5IYWINEO.js} +2 -2
  13. package/bundle/devtoolsService-KBOQNX7Y.js +871 -0
  14. package/bundle/{dist-3YVD622R.js → dist-652RQ5SX.js} +1 -1
  15. package/bundle/{core-TF7HWCEH.js → dist-AXNLUOHP.js} +2 -2
  16. package/bundle/dist-O2DUQDKJ.js +1962 -0
  17. package/bundle/docs/cli/plan-mode.md +4 -0
  18. package/bundle/gemini.js +7 -7
  19. package/bundle/{interactiveCli-JYMN562N.js → interactiveCli-4OZNCCB5.js} +5 -5
  20. package/bundle/{interactiveCli-RKW6AY7S.js → interactiveCli-DVI6R3HR.js} +272 -255
  21. package/bundle/{interactiveCli-PTUYCBMF.js → interactiveCli-SMQ2327G.js} +5 -5
  22. package/bundle/interactiveCli-XAEPLVZH.js +49974 -0
  23. package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
  24. package/bundle/{oauth2-provider-NANAQOXS.js → oauth2-provider-57L67BI2.js} +1 -1
  25. package/bundle/{oauth2-provider-UZQMUGRV.js → oauth2-provider-7RYRHEEW.js} +39 -73
  26. package/bundle/oauth2-provider-GBEUTNFH.js +237 -0
  27. package/bundle/{oauth2-provider-EG32OGVI.js → oauth2-provider-YDLJAMOY.js} +1 -1
  28. package/package.json +1 -1
@@ -441,6 +441,10 @@ on the current phase of your task:
441
441
  switches to a high-speed **Flash** model. This provides a faster, more
442
442
  responsive experience during the implementation of the plan.
443
443
 
444
+ If the high-reasoning model is unavailable or you don't have access to it,
445
+ Gemini CLI automatically and silently falls back to a faster model to ensure
446
+ your workflow isn't interrupted.
447
+
444
448
  This behavior is enabled by default to provide the best balance of quality and
445
449
  performance. You can disable this automatic switching in your settings:
446
450
 
package/bundle/gemini.js CHANGED
@@ -66,7 +66,7 @@ import {
66
66
  updateAllUpdatableExtensions,
67
67
  updateExtension,
68
68
  validateAuthMethod
69
- } from "./chunk-UTDAP6W7.js";
69
+ } from "./chunk-AQRXALHQ.js";
70
70
  import {
71
71
  AuthType,
72
72
  ChatRecordingService,
@@ -160,7 +160,7 @@ import {
160
160
  updatePolicy,
161
161
  writeToStderr,
162
162
  writeToStdout
163
- } from "./chunk-UIKF2OKQ.js";
163
+ } from "./chunk-IWSCP2GY.js";
164
164
  import {
165
165
  ASK_USER_TOOL_NAME,
166
166
  ApprovalMode,
@@ -7261,7 +7261,7 @@ async function loadSandboxConfig(settings, argv) {
7261
7261
  }
7262
7262
  const command2 = getSandboxCommand(sandboxValue);
7263
7263
  const packageJson = await getPackageJson(__dirname3);
7264
- const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.38.0" ?? customImage ?? packageJson?.config?.sandboxImageUri;
7264
+ const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.38.2" ?? customImage ?? packageJson?.config?.sandboxImageUri;
7265
7265
  const isNative = command2 === "windows-native" || command2 === "sandbox-exec" || command2 === "lxc";
7266
7266
  return command2 && (image || isNative) ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
7267
7267
  }
@@ -9558,7 +9558,7 @@ async function runNonInteractive({
9558
9558
  }
9559
9559
  });
9560
9560
  if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
9561
- const { setupInitialActivityLogger } = await import("./devtoolsService-7O5W72JB.js");
9561
+ const { setupInitialActivityLogger } = await import("./devtoolsService-KBOQNX7Y.js");
9562
9562
  await setupInitialActivityLogger(config);
9563
9563
  }
9564
9564
  const { stdout: workingStdout } = createWorkingStdio();
@@ -10007,7 +10007,7 @@ async function runNonInteractive2(params) {
10007
10007
  }
10008
10008
  });
10009
10009
  if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
10010
- const { setupInitialActivityLogger } = await import("./devtoolsService-7O5W72JB.js");
10010
+ const { setupInitialActivityLogger } = await import("./devtoolsService-KBOQNX7Y.js");
10011
10011
  await setupInitialActivityLogger(config);
10012
10012
  }
10013
10013
  const { stdout: workingStdout } = createWorkingStdio();
@@ -14825,7 +14825,7 @@ ${reason.stack}` : ""}`;
14825
14825
  });
14826
14826
  }
14827
14827
  async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
14828
- const { startInteractiveUI: doStartUI } = await import("./interactiveCli-JYMN562N.js");
14828
+ const { startInteractiveUI: doStartUI } = await import("./interactiveCli-XAEPLVZH.js");
14829
14829
  await doStartUI(
14830
14830
  config,
14831
14831
  settings,
@@ -15022,7 +15022,7 @@ ${finalArgs[promptIndex + 1]}`;
15022
15022
  await config.storage.initialize();
15023
15023
  adminControlsListner.setConfig(config);
15024
15024
  if (config.isInteractive() && settings.merged.general.devtools) {
15025
- const { setupInitialActivityLogger } = await import("./devtoolsService-7O5W72JB.js");
15025
+ const { setupInitialActivityLogger } = await import("./devtoolsService-KBOQNX7Y.js");
15026
15026
  await setupInitialActivityLogger(config);
15027
15027
  }
15028
15028
  registerTelemetryConfig(config);
@@ -188,7 +188,7 @@ import {
188
188
  widestLineFromStyledChars,
189
189
  wordBreakStyledChars,
190
190
  wrapStyledChars
191
- } from "./chunk-UTDAP6W7.js";
191
+ } from "./chunk-7DZN7VCC.js";
192
192
  import {
193
193
  ApiKeyUpdatedEvent,
194
194
  AsyncFzf,
@@ -309,7 +309,7 @@ import {
309
309
  validatePlanContent,
310
310
  validatePlanPath,
311
311
  writeToStdout
312
- } from "./chunk-UIKF2OKQ.js";
312
+ } from "./chunk-GOUPAQ35.js";
313
313
  import {
314
314
  ACTIVATE_SKILL_TOOL_NAME,
315
315
  ApprovalMode,
@@ -28914,9 +28914,9 @@ var ToolConfirmationQueue = ({
28914
28914
  /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(Text, { color: theme.status.warning, bold: true, children: [
28915
28915
  "? ",
28916
28916
  toolLabel,
28917
- !isEdit && !!tool.description && " "
28917
+ !!tool.description && " "
28918
28918
  ] }),
28919
- !isEdit && !!tool.description && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Box_default, { flexShrink: 1, overflow: "hidden", children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Text, { color: theme.text.primary, wrap: "truncate-end", children: tool.description }) })
28919
+ !!tool.description && /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Box_default, { flexShrink: 1, overflow: "hidden", children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Text, { color: theme.text.primary, wrap: "truncate-end", children: tool.description }) })
28920
28920
  ] }),
28921
28921
  total > 1 && /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(Text, { color: theme.text.secondary, children: [
28922
28922
  index,
@@ -49023,7 +49023,7 @@ ${queuedText}` : queuedText;
49023
49023
  if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
49024
49024
  if (settings.merged.general.devtools) {
49025
49025
  void (async () => {
49026
- const { toggleDevToolsPanel } = await import("./devtoolsService-7O5W72JB.js");
49026
+ const { toggleDevToolsPanel } = await import("./devtoolsService-2KNLVOTR.js");
49027
49027
  await toggleDevToolsPanel(
49028
49028
  config,
49029
49029
  showErrorDetails,