@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
@@ -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-VD7SEMKX.js";
4
+ } from "./chunk-POA4QAXA.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-IAERXNI3.js";
5
+ } from "./chunk-G4LSSABK.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-VNZAVVNG.js";
17
+ } from "./chunk-PBTA3JQ7.js";
18
18
  import {
19
19
  debugLogger
20
- } from "./chunk-VXHX5F3S.js";
20
+ } from "./chunk-IVQKNOQE.js";
21
21
  import {
22
22
  __toESM
23
23
  } from "./chunk-34MYV7JD.js";
@@ -31,7 +31,7 @@ import {
31
31
  partListUnionToString,
32
32
  require_strip_json_comments,
33
33
  sanitizeFilenamePart
34
- } from "./chunk-D5PWWG7J.js";
34
+ } from "./chunk-IVQKNOQE.js";
35
35
  import {
36
36
  __commonJS,
37
37
  __require,
@@ -5,7 +5,7 @@ import {
5
5
  isTelemetrySdkInitialized,
6
6
  resetBrowserSession,
7
7
  shutdownTelemetry
8
- } from "./chunk-D5PWWG7J.js";
8
+ } from "./chunk-2V7FO5QV.js";
9
9
 
10
10
  // packages/cli/src/utils/cleanup.ts
11
11
  import { promises as fs } from "node:fs";
@@ -1,8 +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
- CoreToolCallStatus,
4
3
  checkExhaustive
5
- } from "./chunk-SWV7ZVKH.js";
4
+ } from "./chunk-2V7FO5QV.js";
6
5
  import {
7
6
  __commonJS,
8
7
  __toESM
@@ -465,19 +464,19 @@ var require_react = __commonJS({
465
464
  var import_react = __toESM(require_react(), 1);
466
465
  function mapCoreStatusToDisplayStatus(coreStatus) {
467
466
  switch (coreStatus) {
468
- case CoreToolCallStatus.Validating:
467
+ case "validating" /* Validating */:
469
468
  return "Pending" /* Pending */;
470
- case CoreToolCallStatus.AwaitingApproval:
469
+ case "awaiting_approval" /* AwaitingApproval */:
471
470
  return "Confirming" /* Confirming */;
472
- case CoreToolCallStatus.Executing:
471
+ case "executing" /* Executing */:
473
472
  return "Executing" /* Executing */;
474
- case CoreToolCallStatus.Success:
473
+ case "success" /* Success */:
475
474
  return "Success" /* Success */;
476
- case CoreToolCallStatus.Cancelled:
475
+ case "cancelled" /* Cancelled */:
477
476
  return "Canceled" /* Canceled */;
478
- case CoreToolCallStatus.Error:
477
+ case "error" /* Error */:
479
478
  return "Error" /* Error */;
480
- case CoreToolCallStatus.Scheduled:
479
+ case "scheduled" /* Scheduled */:
481
480
  return "Pending" /* Pending */;
482
481
  default:
483
482
  return checkExhaustive(coreStatus);
@@ -254169,7 +254169,7 @@ function sanitizeFilenamePart(part) {
254169
254169
  return part.replace(/[^a-zA-Z0-9_-]/g, "_");
254170
254170
  }
254171
254171
  function formatTruncatedToolOutput(contentStr, outputFile, maxChars) {
254172
- if (contentStr.length <= maxChars)
254172
+ if (maxChars <= 0 || contentStr.length <= maxChars)
254173
254173
  return contentStr;
254174
254174
  const headChars = Math.floor(maxChars * 0.2);
254175
254175
  const tailChars = maxChars - headChars;
@@ -283500,8 +283500,8 @@ function isValidToolName(name3, options = {}) {
283500
283500
  }
283501
283501
 
283502
283502
  // packages/core/dist/src/generated/git-commit.js
283503
- var GIT_COMMIT_INFO = "fe6350238";
283504
- var CLI_VERSION = "0.63.0-nightly.20260929.gfe6350238";
283503
+ var GIT_COMMIT_INFO = "910b7cede";
283504
+ var CLI_VERSION = "0.63.0";
283505
283505
 
283506
283506
  // packages/core/dist/src/ide/detect-ide.js
283507
283507
  var IDE_DEFINITIONS = {
@@ -306800,7 +306800,7 @@ function getVersion() {
306800
306800
  }
306801
306801
  versionPromise = (async () => {
306802
306802
  const pkgJson = await getPackageJson(__dirname4);
306803
- return "0.63.0-nightly.20260929.gfe6350238";
306803
+ return "0.63.0";
306804
306804
  })();
306805
306805
  return versionPromise;
306806
306806
  }
@@ -334184,6 +334184,15 @@ You are operating with a persistent file-based task tracking system located at \
334184
334184
  function renderPlanningWorkflow(options) {
334185
334185
  if (!options)
334186
334186
  return "";
334187
+ const consultSection = options.interactive ? `### 2. Consult
334188
+ 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.
334189
+ - **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.
334190
+ - **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.
334191
+ - **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.
334192
+
334193
+ **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
334194
+ 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.`;
334195
+ 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.`;
334187
334196
  return `
334188
334197
  # Active Approval Mode: Plan
334189
334198
 
@@ -334198,7 +334207,7 @@ ${options.planModeToolsList}
334198
334207
  ## Rules
334199
334208
  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.
334200
334209
  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.
334201
- 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.
334210
+ 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.` : ""}
334202
334211
  4. **Inquiries and Directives:** Distinguish between Inquiries and Directives to minimize unnecessary planning.
334203
334212
  - **Inquiries:** If the request is an **Inquiry** (e.g., "How does X work?"), answer directly. DO NOT create a plan.
334204
334213
  - **Directives:** If the request is a **Directive** (e.g., "Fix bug Y"), follow the workflow below.
@@ -334212,13 +334221,7 @@ Plan Mode uses an adaptive planning workflow where the research depth, plan stru
334212
334221
  ### 1. Explore & Analyze
334213
334222
  Analyze requirements and use search/read tools to explore the codebase. Systematically map affected modules, trace data flow, and identify dependencies.
334214
334223
 
334215
- ### 2. Consult
334216
- 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.
334217
- - **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.
334218
- - **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.
334219
- - **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.
334220
-
334221
- **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.
334224
+ ${consultSection}
334222
334225
 
334223
334226
  ### 3. Draft
334224
334227
  Write the implementation plan to \`${options.plansDir}/\`. The plan's structure adapts to the task:
@@ -334227,7 +334230,7 @@ Write the implementation plan to \`${options.plansDir}/\`. The plan's structure
334227
334230
  - **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." : ""}
334228
334231
 
334229
334232
  ### 4. Review & Approval
334230
- 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."}
334233
+ ${reviewAndApprovalSection}
334231
334234
 
334232
334235
  ${renderApprovedPlanSection(options.approvedPlanPath)}`.trim();
334233
334236
  }
@@ -340986,7 +340989,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
340986
340989
  return provider;
340987
340990
  }
340988
340991
  case "oauth2": {
340989
- const { OAuth2AuthProvider } = await import("./oauth2-provider-M3NSZVV6.js");
340992
+ const { OAuth2AuthProvider } = await import("./oauth2-provider-LVULCANS.js");
340990
340993
  const provider = new OAuth2AuthProvider(authConfig, options.agentName ?? "unknown", agentCard, options.agentCardUrl);
340991
340994
  await provider.initialize();
340992
340995
  return provider;
@@ -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-KNHHXARR.js";
5
+ } from "./chunk-WVIEQIJL.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-JWDJCBM5.js";
17
+ } from "./chunk-HFRGWL72.js";
18
18
  import {
19
19
  debugLogger
20
- } from "./chunk-SWV7ZVKH.js";
20
+ } from "./chunk-RWBXO4OP.js";
21
21
  import {
22
22
  __toESM
23
23
  } from "./chunk-34MYV7JD.js";
@@ -2,8 +2,6 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  AuthProviderType,
4
4
  AuthType,
5
- CoreEvent,
6
- CoreToolCallStatus,
7
5
  DEFAULT_MODEL_CONFIGS,
8
6
  DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD,
9
7
  EDITOR_OPTIONS,
@@ -33,7 +31,7 @@ import {
33
31
  partListUnionToString,
34
32
  require_strip_json_comments,
35
33
  sanitizeFilenamePart
36
- } from "./chunk-VXHX5F3S.js";
34
+ } from "./chunk-2V7FO5QV.js";
37
35
  import {
38
36
  __commonJS,
39
37
  __require,
@@ -10230,7 +10228,7 @@ function convertSessionToHistoryFormats(messages) {
10230
10228
  args: tool.args,
10231
10229
  description: tool.description || "",
10232
10230
  renderOutputAsMarkdown: tool.renderOutputAsMarkdown ?? true,
10233
- status: tool.status === "success" ? CoreToolCallStatus.Success : CoreToolCallStatus.Error,
10231
+ status: tool.status === "success" ? "success" /* Success */ : "error" /* Error */,
10234
10232
  resultDisplay: tool.resultDisplay,
10235
10233
  confirmationDetails: void 0
10236
10234
  }))
@@ -16362,8 +16360,8 @@ var LoadedSettings = class {
16362
16360
  // React will pass a listener fn into this subscribe fn
16363
16361
  // that listener fn will perform an object identity check on the snapshot and trigger a React re render if the snapshot has changed
16364
16362
  subscribe(listener) {
16365
- coreEvents.on(CoreEvent.SettingsChanged, listener);
16366
- return () => coreEvents.off(CoreEvent.SettingsChanged, listener);
16363
+ coreEvents.on("settings-changed" /* SettingsChanged */, listener);
16364
+ return () => coreEvents.off("settings-changed" /* SettingsChanged */, listener);
16367
16365
  }
16368
16366
  getSnapshot() {
16369
16367
  return this._snapshot;
@@ -16507,7 +16505,7 @@ function setUpCloudShellEnvironment(envFilePath, isTrusted, isSandboxed, selecte
16507
16505
  }
16508
16506
  }
16509
16507
  let value = "cloudshell-gca";
16510
- if (selectedAuthType === AuthType.USE_VERTEX_AI) {
16508
+ if (selectedAuthType === "vertex-ai" /* USE_VERTEX_AI */) {
16511
16509
  value = process2.env[USER_GCP_PROJECT];
16512
16510
  }
16513
16511
  if (envFilePath && fs4.existsSync(envFilePath)) {
@@ -5,7 +5,7 @@ import {
5
5
  isTelemetrySdkInitialized,
6
6
  resetBrowserSession,
7
7
  shutdownTelemetry
8
- } from "./chunk-SWV7ZVKH.js";
8
+ } from "./chunk-IVQKNOQE.js";
9
9
 
10
10
  // packages/cli/src/utils/cleanup.ts
11
11
  import { promises as fs } from "node:fs";
@@ -5,7 +5,7 @@ import {
5
5
  isTelemetrySdkInitialized,
6
6
  resetBrowserSession,
7
7
  shutdownTelemetry
8
- } from "./chunk-WW6NERPJ.js";
8
+ } from "./chunk-RWBXO4OP.js";
9
9
 
10
10
  // packages/cli/src/utils/cleanup.ts
11
11
  import { promises as fs } from "node:fs";