@google/gemini-cli 0.63.0-nightly.20260929.gfe6350238 → 0.63.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.
Files changed (66) hide show
  1. package/bundle/{chunk-D5PWWG7J.js → chunk-2V7FO5QV.js} +17 -14
  2. package/bundle/{chunk-MZZCBSEG.js → chunk-4M3FMNYW.js} +1 -1
  3. package/bundle/{chunk-ZZX34ZSC.js → chunk-63XA5K4A.js} +2 -2
  4. package/bundle/{chunk-2CWWUJ6L.js → chunk-6NM3GGUQ.js} +3 -3
  5. package/bundle/{chunk-3DZUGKXM.js → chunk-AM7DMDAW.js} +2 -2
  6. package/bundle/{chunk-XQAX2S72.js → chunk-ED56GFWH.js} +7 -7
  7. package/bundle/{chunk-FKRRUV32.js → chunk-ER445ATE.js} +1 -1
  8. package/bundle/{chunk-IAERXNI3.js → chunk-G4LSSABK.js} +1 -1
  9. package/bundle/{chunk-JWDJCBM5.js → chunk-HFRGWL72.js} +1 -1
  10. package/bundle/{chunk-VXHX5F3S.js → chunk-IVQKNOQE.js} +14809 -7826
  11. package/bundle/{chunk-KNHHXARR.js → chunk-JEJU2SSS.js} +1 -1
  12. package/bundle/{chunk-HRWA24MZ.js → chunk-OT76K4ZH.js} +3 -3
  13. package/bundle/{chunk-LD6UITWV.js → chunk-PBTA3JQ7.js} +1 -1
  14. package/bundle/{chunk-LHLQX2PG.js → chunk-POA4QAXA.js} +1 -1
  15. package/bundle/{chunk-3HRSVYTB.js → chunk-QFT2HRLF.js} +8 -9
  16. package/bundle/{chunk-SWV7ZVKH.js → chunk-RWBXO4OP.js} +17 -14
  17. package/bundle/{chunk-LKUDEIDP.js → chunk-SXGHDMQJ.js} +3 -3
  18. package/bundle/{chunk-VNZAVVNG.js → chunk-T6JVRMWQ.js} +5 -7
  19. package/bundle/{chunk-VD7SEMKX.js → chunk-U7XUX2JM.js} +1 -1
  20. package/bundle/{chunk-JECE262D.js → chunk-WDXWXGEI.js} +1 -1
  21. package/bundle/{chunk-C6UCL757.js → chunk-WFNHZELD.js} +58 -71
  22. package/bundle/{chunk-OR7RMH2H.js → chunk-WVIEQIJL.js} +1 -1
  23. package/bundle/{chunk-N2UNFTPP.js → chunk-XVUCVIMX.js} +2 -2
  24. package/bundle/{chunk-BFGTH5UC.js → chunk-Z6ZYLUTY.js} +7 -7
  25. package/bundle/{cleanup-6BMNXRVK.js → cleanup-3X3LXGSD.js} +2 -2
  26. package/bundle/{cleanup-EGCQDHCG.js → cleanup-5SERLJ6F.js} +2 -2
  27. package/bundle/{cleanup-WWBXF54B.js → cleanup-I3EZCS7H.js} +2 -2
  28. package/bundle/{core-TO2WCWVS.js → core-AELQHLEH.js} +1 -1
  29. package/bundle/{dist-EVVKUMWU.js → core-DQ33KNDF.js} +1 -1
  30. package/bundle/{devtoolsService-CD4BXQCU.js → devtoolsService-J7U7KJF3.js} +2 -2
  31. package/bundle/{devtoolsService-HLTYHXUC.js → devtoolsService-K5JNOPRE.js} +2 -2
  32. package/bundle/{devtoolsService-KKKGHFGU.js → devtoolsService-ZWL6J2QQ.js} +3 -4
  33. package/bundle/{dist-FPQFVRXW.js → dist-TZPQ7QYY.js} +1 -1
  34. package/bundle/{gemini-G4M56PGH.js → gemini-6YZTUGIX.js} +14 -14
  35. package/bundle/{gemini-D67CLDN3.js → gemini-O7LOMBXL.js} +14 -14
  36. package/bundle/{gemini-XYSZEME4.js → gemini-TIPFO7CW.js} +198 -214
  37. package/bundle/gemini.js +7 -7
  38. package/bundle/{interactiveCli-LQ34I3IK.js → interactiveCli-I2CP4PIR.js} +8 -8
  39. package/bundle/{interactiveCli-5NAM6QNF.js → interactiveCli-I5OVF5KN.js} +8 -8
  40. package/bundle/{interactiveCli-DFBCP7YU.js → interactiveCli-MDJW5F3B.js} +292 -311
  41. package/bundle/{liteRtServerManager-DJ5BH4NI.js → liteRtServerManager-IDOOSG4Q.js} +4 -4
  42. package/bundle/{liteRtServerManager-DPX4VZQK.js → liteRtServerManager-LCAVI6PR.js} +4 -4
  43. package/bundle/{liteRtServerManager-FZHISVS5.js → liteRtServerManager-VF5GHIIE.js} +4 -4
  44. package/bundle/{oauth2-provider-XJKOJRHQ.js → oauth2-provider-CSFBMKNT.js} +1 -1
  45. package/bundle/{oauth2-provider-M3NSZVV6.js → oauth2-provider-LVULCANS.js} +1 -1
  46. package/bundle/{oauth2-provider-YGR7H7R6.js → oauth2-provider-X4VQX6TA.js} +72 -38
  47. package/bundle/{start-C5JP5VOP.js → start-P3SVMDEG.js} +6 -6
  48. package/bundle/{start-DW7QL3JX.js → start-QCD2SBKP.js} +6 -6
  49. package/bundle/{start-L7BD6NSX.js → start-TCWFLMYQ.js} +6 -6
  50. package/package.json +1 -1
  51. package/bundle/chunk-4CCACYHM.js +0 -17446
  52. package/bundle/chunk-JEV44LLO.js +0 -154
  53. package/bundle/chunk-KQGP4BDM.js +0 -512
  54. package/bundle/chunk-MQKYUKCB.js +0 -118
  55. package/bundle/chunk-PPMXIVFB.js +0 -102951
  56. package/bundle/chunk-T44PFUON.js +0 -425
  57. package/bundle/chunk-WW6NERPJ.js +0 -400532
  58. package/bundle/chunk-YZ4YJMJW.js +0 -1571
  59. package/bundle/cleanup-XVPMDKAM.js +0 -32
  60. package/bundle/devtoolsService-O2VAV2XX.js +0 -4359
  61. package/bundle/dist-LKEXVAFT.js +0 -2250
  62. package/bundle/gemini-MZC4D7WM.js +0 -17863
  63. package/bundle/interactiveCli-UWZ7QXHW.js +0 -34915
  64. package/bundle/liteRtServerManager-QB4LEL42.js +0 -65
  65. package/bundle/oauth2-provider-Z5IRKTFU.js +0 -235
  66. package/bundle/start-ZH2DHESZ.js +0 -18
@@ -254248,7 +254248,7 @@ function sanitizeFilenamePart(part) {
254248
254248
  return part.replace(/[^a-zA-Z0-9_-]/g, "_");
254249
254249
  }
254250
254250
  function formatTruncatedToolOutput(contentStr, outputFile, maxChars) {
254251
- if (contentStr.length <= maxChars) return contentStr;
254251
+ if (maxChars <= 0 || contentStr.length <= maxChars) return contentStr;
254252
254252
  const headChars = Math.floor(maxChars * 0.2);
254253
254253
  const tailChars = maxChars - headChars;
254254
254254
  const head = contentStr.slice(0, headChars);
@@ -283812,8 +283812,8 @@ function isValidToolName(name3, options = {}) {
283812
283812
  }
283813
283813
 
283814
283814
  // packages/core/src/generated/git-commit.ts
283815
- var GIT_COMMIT_INFO = "fe6350238";
283816
- var CLI_VERSION = "0.63.0-nightly.20260923.gf50ba8608";
283815
+ var GIT_COMMIT_INFO = "910b7cede";
283816
+ var CLI_VERSION = "0.63.0-preview.0";
283817
283817
 
283818
283818
  // packages/core/src/ide/detect-ide.ts
283819
283819
  var IDE_DEFINITIONS = {
@@ -307435,7 +307435,7 @@ function getVersion() {
307435
307435
  }
307436
307436
  versionPromise = (async () => {
307437
307437
  const pkgJson = await getPackageJson(__dirname4);
307438
- return "0.63.0-nightly.20260923.gf50ba8608";
307438
+ return "0.63.0-preview.0";
307439
307439
  })();
307440
307440
  return versionPromise;
307441
307441
  }
@@ -336730,6 +336730,15 @@ You are operating with a persistent file-based task tracking system located at \
336730
336730
  }
336731
336731
  function renderPlanningWorkflow(options) {
336732
336732
  if (!options) return "";
336733
+ const consultSection = options.interactive ? `### 2. Consult
336734
+ The depth of your consultation should be proportional to the task's complexity. Before proceeding to Step 3 (Draft), you MUST discuss your findings and proposed strategy with the user to reach an informal agreement.
336735
+ - **Simple Tasks:** Briefly describe your proposed strategy in the chat to ensure alignment, then **STOP and wait** for the user to confirm agreement before drafting the plan.
336736
+ - **Standard Tasks:** If multiple viable approaches exist, present a concise summary (including pros/cons and your recommendation) via ${formatToolName(ASK_USER_TOOL_NAME)} and wait for a decision.
336737
+ - **Complex Tasks:** You MUST present at least two viable approaches with detailed trade-offs via ${formatToolName(ASK_USER_TOOL_NAME)} and obtain approval before drafting the plan.
336738
+
336739
+ **CRITICAL:** You MUST NOT proceed to Step 3 (Draft) or Step 4 (Review & Approval) in the same turn as your initial strategy proposal. You MUST wait for user feedback and reach a clear agreement before drafting or submitting the plan.` : `### 2. Determine Strategy
336740
+ Synthesize your exploration findings to select the best approach and implementation strategy. Because you are running non-interactively, proceed directly to Step 3 (Draft) autonomously without halting or waiting for user confirmation.`;
336741
+ const reviewAndApprovalSection = options.interactive ? `ONLY use the built-in ${formatToolName(EXIT_PLAN_MODE_TOOL_NAME)} tool to present the plan for formal approval AFTER you have reached an informal agreement with the user in the chat regarding the proposed strategy. **CRITICAL: NEVER attempt to call this tool via ${formatToolName(SHELL_TOOL_NAME)}.** When called, this tool will present the plan and formally request approval.` : `Use the built-in ${formatToolName(EXIT_PLAN_MODE_TOOL_NAME)} tool to finalize the plan. **CRITICAL: NEVER attempt to call this tool via ${formatToolName(SHELL_TOOL_NAME)}.** When called, this tool will present the plan and begin implementation.`;
336733
336742
  return `
336734
336743
  # Active Approval Mode: Plan
336735
336744
 
@@ -336744,7 +336753,7 @@ ${options.planModeToolsList}
336744
336753
  ## Rules
336745
336754
  1. **Read-Only:** You cannot modify source code. You may ONLY use read-only tools to explore, and you can only write to \`${options.plansDir}/\`. If the user asks you to modify source code directly, you MUST explain that you are in Plan Mode and must first create a plan and get approval.
336746
336755
  2. **Write Constraint:** ${formatToolName(WRITE_FILE_TOOL_NAME)} and ${formatToolName(EDIT_TOOL_NAME)} may ONLY be used to write .md plan files to \`${options.plansDir}/\`. They cannot modify source code.
336747
- 3. **Efficiency:** Autonomously combine discovery and drafting phases to minimize conversational turns. If the request is ambiguous, use ${formatToolName(ASK_USER_TOOL_NAME)} to clarify. Use multi-select to offer flexibility and include detailed descriptions for each option to help the user understand the implications of their choice.
336756
+ 3. **Efficiency:** Autonomously combine discovery and drafting phases to minimize conversational turns.${options.interactive ? ` If the request is ambiguous, use ${formatToolName(ASK_USER_TOOL_NAME)} to clarify. Use multi-select to offer flexibility and include detailed descriptions for each option to help the user understand the implications of their choice.` : ""}
336748
336757
  4. **Inquiries and Directives:** Distinguish between Inquiries and Directives to minimize unnecessary planning.
336749
336758
  - **Inquiries:** If the request is an **Inquiry** (e.g., "How does X work?"), answer directly. DO NOT create a plan.
336750
336759
  - **Directives:** If the request is a **Directive** (e.g., "Fix bug Y"), follow the workflow below.
@@ -336758,13 +336767,7 @@ Plan Mode uses an adaptive planning workflow where the research depth, plan stru
336758
336767
  ### 1. Explore & Analyze
336759
336768
  Analyze requirements and use search/read tools to explore the codebase. Systematically map affected modules, trace data flow, and identify dependencies.
336760
336769
 
336761
- ### 2. Consult
336762
- The depth of your consultation should be proportional to the task's complexity. Before proceeding to Step 3 (Draft), you MUST discuss your findings and proposed strategy with the user to reach an informal agreement.
336763
- - **Simple Tasks:** Briefly describe your proposed strategy in the chat to ensure alignment, then **STOP and wait** for the user to confirm agreement before drafting the plan.
336764
- - **Standard Tasks:** If multiple viable approaches exist, present a concise summary (including pros/cons and your recommendation) via ${formatToolName(ASK_USER_TOOL_NAME)} and wait for a decision.
336765
- - **Complex Tasks:** You MUST present at least two viable approaches with detailed trade-offs via ${formatToolName(ASK_USER_TOOL_NAME)} and obtain approval before drafting the plan.
336766
-
336767
- **CRITICAL:** You MUST NOT proceed to Step 3 (Draft) or Step 4 (Review & Approval) in the same turn as your initial strategy proposal. You MUST wait for user feedback and reach a clear agreement before drafting or submitting the plan.
336770
+ ${consultSection}
336768
336771
 
336769
336772
  ### 3. Draft
336770
336773
  Write the implementation plan to \`${options.plansDir}/\`. The plan's structure adapts to the task:
@@ -336773,7 +336776,7 @@ Write the implementation plan to \`${options.plansDir}/\`. The plan's structure
336773
336776
  - **Complex Tasks:** Include **Background & Motivation**, **Scope & Impact**, **Proposed Solution**, **Alternatives Considered**, a phased **Implementation Plan**, **Verification**, and **Migration & Rollback** strategies.${options.interactive ? "\n- **Alignment Check:** After drafting the plan, you MUST present it to the user in the chat (adhering to Rule 7 for presenting plans) to ensure alignment on the specific details. Ask for feedback or confirmation, and proceed to Step 4 (Review & Approval) once the user agrees with the detailed plan." : ""}
336774
336777
 
336775
336778
  ### 4. Review & Approval
336776
- ONLY use the built-in ${formatToolName(EXIT_PLAN_MODE_TOOL_NAME)} tool to present the plan for formal approval AFTER you have reached an informal agreement with the user in the chat regarding the proposed strategy. **CRITICAL: NEVER attempt to call this tool via ${formatToolName(SHELL_TOOL_NAME)}.** When called, this tool will present the plan and ${options.interactive ? "formally request approval." : "begin implementation."}
336779
+ ${reviewAndApprovalSection}
336777
336780
 
336778
336781
  ${renderApprovedPlanSection(options.approvedPlanPath)}`.trim();
336779
336782
  }
@@ -343846,7 +343849,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
343846
343849
  return provider;
343847
343850
  }
343848
343851
  case "oauth2": {
343849
- const { OAuth2AuthProvider } = await import("./oauth2-provider-XJKOJRHQ.js");
343852
+ const { OAuth2AuthProvider } = await import("./oauth2-provider-CSFBMKNT.js");
343850
343853
  const provider = new OAuth2AuthProvider(
343851
343854
  authConfig,
343852
343855
  options.agentName ?? "unknown",
@@ -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
  checkExhaustive
4
- } from "./chunk-D5PWWG7J.js";
4
+ } from "./chunk-IVQKNOQE.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __toESM
@@ -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-VD7SEMKX.js";
4
+ } from "./chunk-U7XUX2JM.js";
5
5
  import {
6
6
  RELEASE_CHANNEL_STABILITY,
7
7
  debugLogger,
8
8
  getChannelFromVersion,
9
9
  isGitRepository
10
- } from "./chunk-SWV7ZVKH.js";
10
+ } from "./chunk-IVQKNOQE.js";
11
11
 
12
12
  // packages/cli/src/utils/installationInfo.ts
13
13
  import * as fs from "node:fs";
@@ -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-OR7RMH2H.js";
5
+ } from "./chunk-JEJU2SSS.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-4CCACYHM.js";
17
+ } from "./chunk-T6JVRMWQ.js";
18
18
  import {
19
19
  debugLogger
20
- } from "./chunk-WW6NERPJ.js";
20
+ } from "./chunk-2V7FO5QV.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-LHLQX2PG.js";
4
+ } from "./chunk-WDXWXGEI.js";
5
5
  import {
6
6
  RELEASE_CHANNEL_STABILITY,
7
7
  debugLogger,
8
8
  getChannelFromVersion,
9
9
  isGitRepository
10
- } from "./chunk-D5PWWG7J.js";
10
+ } from "./chunk-RWBXO4OP.js";
11
11
 
12
12
  // packages/cli/src/utils/installationInfo.ts
13
13
  import * as fs from "node:fs";
@@ -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-YZ4YJMJW.js";
5
+ } from "./chunk-G4LSSABK.js";
6
6
  import {
7
7
  AppEvent,
8
8
  appEvents
@@ -63,15 +63,15 @@ import {
63
63
  stripUnsafeCharacters,
64
64
  toCodePoints,
65
65
  validateCustomTheme
66
- } from "./chunk-LD6UITWV.js";
66
+ } from "./chunk-PBTA3JQ7.js";
67
67
  import {
68
68
  isDevelopment
69
- } from "./chunk-3DZUGKXM.js";
69
+ } from "./chunk-63XA5K4A.js";
70
70
  import {
71
71
  emptyIcon,
72
72
  mapCoreStatusToDisplayStatus,
73
73
  require_react
74
- } from "./chunk-MZZCBSEG.js";
74
+ } from "./chunk-4M3FMNYW.js";
75
75
  import {
76
76
  ALL_EDITORS,
77
77
  ApprovalMode,
@@ -238,7 +238,7 @@ import {
238
238
  tokenLimit,
239
239
  uiTelemetryService,
240
240
  unescapePath
241
- } from "./chunk-D5PWWG7J.js";
241
+ } from "./chunk-IVQKNOQE.js";
242
242
  import {
243
243
  require_src
244
244
  } from "./chunk-L6PII3GR.js";
@@ -77581,7 +77581,7 @@ var authCommand = {
77581
77581
  import process29 from "node:process";
77582
77582
 
77583
77583
  // packages/cli/src/generated/git-commit.ts
77584
- var GIT_COMMIT_INFO = "fe6350238";
77584
+ var GIT_COMMIT_INFO = "910b7cede";
77585
77585
 
77586
77586
  // packages/cli/src/ui/utils/historyExportUtils.ts
77587
77587
  import * as fsPromises from "node:fs/promises";
@@ -83362,7 +83362,7 @@ Use /mcp auth <server-name> to authenticate.`
83362
83362
  type: "info",
83363
83363
  text: `Starting OAuth authentication for MCP server '${serverName}'...`
83364
83364
  });
83365
- const { MCPOAuthProvider } = await import("./core-TO2WCWVS.js");
83365
+ const { MCPOAuthProvider } = await import("./core-AELQHLEH.js");
83366
83366
  let oauthConfig = server.oauth;
83367
83367
  if (!oauthConfig) {
83368
83368
  oauthConfig = { enabled: false };
@@ -2,7 +2,7 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  CoreToolCallStatus,
4
4
  checkExhaustive
5
- } from "./chunk-WW6NERPJ.js";
5
+ } from "./chunk-RWBXO4OP.js";
6
6
  import {
7
7
  __commonJS,
8
8
  __toESM
@@ -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-JEV44LLO.js";
4
+ } from "./chunk-U7XUX2JM.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __require
@@ -33,7 +33,7 @@ import {
33
33
  partListUnionToString,
34
34
  require_strip_json_comments,
35
35
  sanitizeFilenamePart
36
- } from "./chunk-SWV7ZVKH.js";
36
+ } from "./chunk-RWBXO4OP.js";
37
37
  import {
38
38
  __commonJS,
39
39
  __require,