@google/gemini-cli 0.64.0-preview.0 → 0.64.0-preview.1

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 (67) hide show
  1. package/bundle/{chunk-EDVFNWRG.js → chunk-2XMCTNPW.js} +1 -1
  2. package/bundle/{chunk-HN74ORTP.js → chunk-46DG3MEK.js} +15 -3
  3. package/bundle/{chunk-UFQDAROY.js → chunk-4TPFLAND.js} +1 -1
  4. package/bundle/{chunk-A4TO2DY2.js → chunk-627EICDK.js} +8258 -14927
  5. package/bundle/{chunk-EDYPRCAA.js → chunk-6JF3XGX6.js} +2 -2
  6. package/bundle/{chunk-SDWOC67Z.js → chunk-7AV6KELE.js} +1 -1
  7. package/bundle/{chunk-EBP6K2WG.js → chunk-7FPYEHDV.js} +25 -9
  8. package/bundle/{chunk-U76XPSKR.js → chunk-7OAPTXNW.js} +89 -60
  9. package/bundle/{chunk-EFX5XL6M.js → chunk-BONG2QK5.js} +2 -2
  10. package/bundle/{chunk-VBVCLWLA.js → chunk-BRVQMVD5.js} +2 -2
  11. package/bundle/{chunk-2NQXIWQK.js → chunk-BSE7BCTQ.js} +15 -3
  12. package/bundle/chunk-BYVRH4VZ.js +103137 -0
  13. package/bundle/{chunk-HSZIYPL6.js → chunk-EE4FVMPM.js} +3 -3
  14. package/bundle/{chunk-QUCRASYB.js → chunk-GWH2CDNQ.js} +1 -1
  15. package/bundle/{chunk-NX7TO2DU.js → chunk-H2WBGLUF.js} +1 -1
  16. package/bundle/{chunk-Y2HXXBXI.js → chunk-J7KGQZGT.js} +1 -1
  17. package/bundle/{chunk-UBGF6JU5.js → chunk-JLBO43LX.js} +1 -1
  18. package/bundle/{chunk-ZPLFLZQA.js → chunk-L3JNREL2.js} +21 -7
  19. package/bundle/{chunk-ZQW7OGUO.js → chunk-MN5WGELB.js} +426 -91
  20. package/bundle/{chunk-6OFXOGEG.js → chunk-NTBZBCDY.js} +456 -94
  21. package/bundle/{chunk-ZOHM7BPT.js → chunk-ONZZ4MZP.js} +1 -1
  22. package/bundle/chunk-POXVKWMH.js +17519 -0
  23. package/bundle/{chunk-MLSLNORV.js → chunk-R7OEYEVK.js} +3 -3
  24. package/bundle/{chunk-KCCVXZ52.js → chunk-RIRMXE4G.js} +25 -9
  25. package/bundle/{chunk-2VN53SWW.js → chunk-RQB6UOWL.js} +9 -8
  26. package/bundle/{chunk-VJYKQD5D.js → chunk-SQZOWFWU.js} +3 -3
  27. package/bundle/chunk-T7UXARRX.js +401531 -0
  28. package/bundle/chunk-TDYDNMXH.js +425 -0
  29. package/bundle/chunk-TVJ4WAFU.js +512 -0
  30. package/bundle/chunk-XNLASMX4.js +154 -0
  31. package/bundle/chunk-Y3EQFIOM.js +118 -0
  32. package/bundle/chunk-YKGBOB2S.js +1571 -0
  33. package/bundle/{cleanup-GGCB2LVD.js → cleanup-5HA3CDPH.js} +2 -2
  34. package/bundle/{cleanup-JRDG3OTL.js → cleanup-LXXTR2OE.js} +2 -2
  35. package/bundle/{cleanup-SSW6IXTR.js → cleanup-RM72YALN.js} +2 -2
  36. package/bundle/cleanup-TBTZ6WZD.js +32 -0
  37. package/bundle/{core-IUIZE6JW.js → core-NBQGNNOM.js} +11 -1
  38. package/bundle/{devtoolsService-3SADPKKB.js → devtoolsService-BUAVC3ZD.js} +2 -2
  39. package/bundle/{devtoolsService-XZCKFZP5.js → devtoolsService-DCRIOTR4.js} +2 -2
  40. package/bundle/{devtoolsService-MF6JKRUV.js → devtoolsService-PXS65V3Y.js} +4 -3
  41. package/bundle/devtoolsService-ZHFOHPIS.js +4359 -0
  42. package/bundle/{dist-7L3BRW6V.js → dist-24APVFHT.js} +11 -1
  43. package/bundle/{core-6HRWFQZW.js → dist-EOOSNLUQ.js} +11 -1
  44. package/bundle/dist-YP3VMVL6.js +2262 -0
  45. package/bundle/docs/tools/mcp-server.md +41 -12
  46. package/bundle/{gemini-JPMMQ3KA.js → gemini-LHZDQRUM.js} +13 -13
  47. package/bundle/{gemini-ZMMDUAQJ.js → gemini-Q4LI2KHU.js} +214 -198
  48. package/bundle/gemini-QM6PZXIH.js +17934 -0
  49. package/bundle/{gemini-QOQNG5VY.js → gemini-UEMV4Y7B.js} +13 -13
  50. package/bundle/gemini.js +7 -7
  51. package/bundle/{interactiveCli-R3P4A3FC.js → interactiveCli-HMZ5ZWK4.js} +9 -20
  52. package/bundle/{interactiveCli-UDWGRVJL.js → interactiveCli-IQQYS4AV.js} +9 -20
  53. package/bundle/{interactiveCli-3I4TG5SK.js → interactiveCli-QCNSW3M7.js} +313 -305
  54. package/bundle/interactiveCli-QXZXFSNY.js +34968 -0
  55. package/bundle/{liteRtServerManager-OVPUSK2T.js → liteRtServerManager-2I4N5IEZ.js} +4 -4
  56. package/bundle/{liteRtServerManager-RAV63AGE.js → liteRtServerManager-3IZ2LKBD.js} +4 -4
  57. package/bundle/{liteRtServerManager-4MWCEVVM.js → liteRtServerManager-RABYR6TB.js} +4 -4
  58. package/bundle/liteRtServerManager-T3MOB7VG.js +65 -0
  59. package/bundle/{oauth2-provider-FVTRRJZR.js → oauth2-provider-I3CU23H3.js} +1 -1
  60. package/bundle/{oauth2-provider-EWOA64PR.js → oauth2-provider-INBLO6HF.js} +38 -72
  61. package/bundle/oauth2-provider-UZV2BJA3.js +235 -0
  62. package/bundle/{oauth2-provider-XFP63FGJ.js → oauth2-provider-XFPEOXNY.js} +1 -1
  63. package/bundle/{start-DJAIXPPY.js → start-4UWH3BI7.js} +6 -6
  64. package/bundle/{start-VQQ2Q5KT.js → start-CQTZWDLV.js} +6 -6
  65. package/bundle/{start-5O7TBK5L.js → start-D6DJS7SZ.js} +6 -6
  66. package/bundle/start-IXFELTCY.js +18 -0
  67. package/package.json +1 -1
@@ -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-QUCRASYB.js";
5
+ } from "./chunk-ONZZ4MZP.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-ZPLFLZQA.js";
17
+ } from "./chunk-L3JNREL2.js";
18
18
  import {
19
19
  debugLogger
20
- } from "./chunk-A4TO2DY2.js";
20
+ } from "./chunk-T7UXARRX.js";
21
21
  import {
22
22
  __toESM
23
23
  } from "./chunk-34MYV7JD.js";
@@ -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-UFQDAROY.js";
4
+ } from "./chunk-JLBO43LX.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
  CoreToolCallStatus,
4
4
  checkExhaustive
5
- } from "./chunk-ZQW7OGUO.js";
5
+ } from "./chunk-MN5WGELB.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
  checkExhaustive
4
- } from "./chunk-6OFXOGEG.js";
4
+ } from "./chunk-NTBZBCDY.js";
5
5
  import {
6
6
  __commonJS,
7
7
  __toESM
@@ -5,7 +5,7 @@ import {
5
5
  isTelemetrySdkInitialized,
6
6
  resetBrowserSession,
7
7
  shutdownTelemetry
8
- } from "./chunk-ZQW7OGUO.js";
8
+ } from "./chunk-627EICDK.js";
9
9
 
10
10
  // packages/cli/src/utils/cleanup.ts
11
11
  import { promises as fs } from "node:fs";
@@ -2,6 +2,8 @@ const require = (await import('node:module')).createRequire(import.meta.url); co
2
2
  import {
3
3
  AuthProviderType,
4
4
  AuthType,
5
+ CoreEvent,
6
+ CoreToolCallStatus,
5
7
  DEFAULT_MODEL_CONFIGS,
6
8
  DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD,
7
9
  EDITOR_OPTIONS,
@@ -31,7 +33,7 @@ import {
31
33
  partListUnionToString,
32
34
  require_strip_json_comments,
33
35
  sanitizeFilenamePart
34
- } from "./chunk-A4TO2DY2.js";
36
+ } from "./chunk-T7UXARRX.js";
35
37
  import {
36
38
  __commonJS,
37
39
  __require,
@@ -10289,7 +10291,7 @@ function convertSessionToHistoryFormats(messages) {
10289
10291
  args: tool.args,
10290
10292
  description: tool.description || "",
10291
10293
  renderOutputAsMarkdown: tool.renderOutputAsMarkdown ?? true,
10292
- status: tool.status === "success" ? "success" /* Success */ : "error" /* Error */,
10294
+ status: tool.status === "success" ? CoreToolCallStatus.Success : CoreToolCallStatus.Error,
10293
10295
  resultDisplay: tool.resultDisplay,
10294
10296
  confirmationDetails: void 0
10295
10297
  }))
@@ -15246,7 +15248,13 @@ var SETTINGS_SCHEMA_DEFINITIONS = {
15246
15248
  oauth: {
15247
15249
  type: "object",
15248
15250
  description: "OAuth configuration for authenticating with the server.",
15249
- additionalProperties: true
15251
+ additionalProperties: true,
15252
+ properties: {
15253
+ authorizationResponseIssParameterSupported: {
15254
+ type: "boolean",
15255
+ description: 'Whether the authorization server returns the "iss" parameter in the authorization response (RFC 9207). When true, callbacks without "iss" are rejected; when false, they are accepted. A provided "iss" is always validated. Overrides the "authorization_response_iss_parameter_supported" value discovered from server metadata.'
15256
+ }
15257
+ }
15250
15258
  },
15251
15259
  authProviderType: {
15252
15260
  type: "string",
@@ -15307,7 +15315,13 @@ var SETTINGS_SCHEMA_DEFINITIONS = {
15307
15315
  oauth: {
15308
15316
  type: "object",
15309
15317
  description: "OAuth configuration for authenticating with the server.",
15310
- additionalProperties: true
15318
+ additionalProperties: true,
15319
+ properties: {
15320
+ authorizationResponseIssParameterSupported: {
15321
+ type: "boolean",
15322
+ description: 'Whether the authorization server returns the "iss" parameter in the authorization response (RFC 9207). When true, callbacks without "iss" are rejected; when false, they are accepted. A provided "iss" is always validated. Overrides the "authorization_response_iss_parameter_supported" value discovered from server metadata.'
15323
+ }
15324
+ }
15311
15325
  },
15312
15326
  authProviderType: {
15313
15327
  type: "string",
@@ -16421,8 +16435,8 @@ var LoadedSettings = class {
16421
16435
  // React will pass a listener fn into this subscribe fn
16422
16436
  // that listener fn will perform an object identity check on the snapshot and trigger a React re render if the snapshot has changed
16423
16437
  subscribe(listener) {
16424
- coreEvents.on("settings-changed" /* SettingsChanged */, listener);
16425
- return () => coreEvents.off("settings-changed" /* SettingsChanged */, listener);
16438
+ coreEvents.on(CoreEvent.SettingsChanged, listener);
16439
+ return () => coreEvents.off(CoreEvent.SettingsChanged, listener);
16426
16440
  }
16427
16441
  getSnapshot() {
16428
16442
  return this._snapshot;
@@ -16566,7 +16580,7 @@ function setUpCloudShellEnvironment(envFilePath, isTrusted, isSandboxed, selecte
16566
16580
  }
16567
16581
  }
16568
16582
  let value = "cloudshell-gca";
16569
- if (selectedAuthType === "vertex-ai" /* USE_VERTEX_AI */) {
16583
+ if (selectedAuthType === AuthType.USE_VERTEX_AI) {
16570
16584
  value = process2.env[USER_GCP_PROJECT];
16571
16585
  }
16572
16586
  if (envFilePath && fs4.existsSync(envFilePath)) {