@google/gemini-cli 0.35.0-preview.4 → 0.35.0-preview.5

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-CY52DPHS.js → chunk-KMUDKBYI.js} +25 -10
  2. package/bundle/{chunk-6TYFBMHW.js → chunk-L4UWHILQ.js} +25 -10
  3. package/bundle/{chunk-OG7ZVIE3.js → chunk-MRCHI5MK.js} +4 -4
  4. package/bundle/{chunk-U4R2MXAY.js → chunk-OWPZY7X4.js} +25 -10
  5. package/bundle/{chunk-SP3CN5SW.js → chunk-QNUZOILC.js} +4 -4
  6. package/bundle/{chunk-M2ILNVA4.js → chunk-QRBJWIYD.js} +4 -4
  7. package/bundle/{chunk-A4R3OQWV.js → chunk-UB2QZMEG.js} +4 -4
  8. package/bundle/{chunk-XMXHCUTA.js → chunk-UCKFA5HR.js} +24 -9
  9. package/bundle/{core-2LVP4WUV.js → core-LGRNIQIP.js} +1 -1
  10. package/bundle/{devtoolsService-ZSLJ6ZX3.js → devtoolsService-D7CKQLLY.js} +2 -2
  11. package/bundle/{devtoolsService-BL26GS4A.js → devtoolsService-E7BY5PIF.js} +2 -2
  12. package/bundle/{devtoolsService-TJCM4TEV.js → devtoolsService-EUPHEGN3.js} +2 -2
  13. package/bundle/{devtoolsService-Y7NQIXSP.js → devtoolsService-USGBA4VO.js} +2 -2
  14. package/bundle/{dist-62BF6UAT.js → dist-F2SWGU2N.js} +1 -1
  15. package/bundle/{dist-ZB3W6HDM.js → dist-YBDSG67U.js} +1 -1
  16. package/bundle/{dist-ZPSHGZCY.js → dist-YGZCQC5A.js} +1 -1
  17. package/bundle/docs/reference/configuration.md +1 -1
  18. package/bundle/gemini.js +6 -6
  19. package/bundle/{interactiveCli-7UCQINHC.js → interactiveCli-2ASAJB6L.js} +3 -3
  20. package/bundle/{interactiveCli-QHET6XGY.js → interactiveCli-3ZVKTAC5.js} +3 -3
  21. package/bundle/{interactiveCli-R42I3ZR2.js → interactiveCli-TPT5TLWV.js} +3 -3
  22. package/bundle/{interactiveCli-P7N2TZZ2.js → interactiveCli-WK36N6AP.js} +3 -3
  23. package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
  24. package/bundle/{oauth2-provider-FZKOXX3P.js → oauth2-provider-CR5U52N6.js} +1 -1
  25. package/bundle/{oauth2-provider-QMCN34OP.js → oauth2-provider-NTT4KBFN.js} +1 -1
  26. package/bundle/{oauth2-provider-XHYKUX3S.js → oauth2-provider-ON47VIFW.js} +1 -1
  27. package/bundle/{oauth2-provider-756G3OVY.js → oauth2-provider-OYNEH6QL.js} +1 -1
  28. package/package.json +1 -1
@@ -218193,8 +218193,8 @@ var Float64Vector = import_vector.default.Float64Vector;
218193
218193
  var PointerVector = import_vector.default.PointerVector;
218194
218194
 
218195
218195
  // packages/core/src/generated/git-commit.ts
218196
- var GIT_COMMIT_INFO = "596a736a9";
218197
- var CLI_VERSION = "0.35.0-preview.3";
218196
+ var GIT_COMMIT_INFO = "e88b56bbc";
218197
+ var CLI_VERSION = "0.35.0-preview.4";
218198
218198
 
218199
218199
  // packages/core/src/ide/detect-ide.ts
218200
218200
  var IDE_DEFINITIONS = {
@@ -252358,7 +252358,7 @@ function getVersion() {
252358
252358
  }
252359
252359
  versionPromise = (async () => {
252360
252360
  const pkgJson = await getPackageJson(__dirname3);
252361
- return "0.35.0-preview.3";
252361
+ return "0.35.0-preview.4";
252362
252362
  })();
252363
252363
  return versionPromise;
252364
252364
  }
@@ -312330,7 +312330,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
312330
312330
  return provider;
312331
312331
  }
312332
312332
  case "oauth2": {
312333
- const { OAuth2AuthProvider } = await import("./oauth2-provider-756G3OVY.js");
312333
+ const { OAuth2AuthProvider } = await import("./oauth2-provider-OYNEH6QL.js");
312334
312334
  const provider = new OAuth2AuthProvider(
312335
312335
  authConfig,
312336
312336
  options.agentName ?? "unknown",
@@ -312496,6 +312496,7 @@ var AgentRegistry = class {
312496
312496
  agents = /* @__PURE__ */ new Map();
312497
312497
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
312498
312498
  allDefinitions = /* @__PURE__ */ new Map();
312499
+ builtInAgents = /* @__PURE__ */ new Set();
312499
312500
  /**
312500
312501
  * Discovers and loads agents.
312501
312502
  */
@@ -312503,6 +312504,12 @@ var AgentRegistry = class {
312503
312504
  coreEvents.on("model-changed" /* ModelChanged */, this.onModelChanged);
312504
312505
  await this.loadAgents();
312505
312506
  }
312507
+ /**
312508
+ * Returns true if the agent is a built-in agent.
312509
+ */
312510
+ isBuiltIn(name3) {
312511
+ return this.builtInAgents.has(name3);
312512
+ }
312506
312513
  onModelChanged = () => {
312507
312514
  this.refreshAgents().catch((e2) => {
312508
312515
  debugLogger.error(
@@ -312664,12 +312671,20 @@ var AgentRegistry = class {
312664
312671
  }
312665
312672
  }
312666
312673
  loadBuiltInAgents() {
312667
- this.registerLocalAgent(CodebaseInvestigatorAgent(this.config));
312668
- this.registerLocalAgent(CliHelpAgent(this.config));
312669
- this.registerLocalAgent(GeneralistAgent(this.config));
312674
+ const codebaseAgent = CodebaseInvestigatorAgent(this.config);
312675
+ this.builtInAgents.add(codebaseAgent.name);
312676
+ this.registerLocalAgent(codebaseAgent);
312677
+ const helpAgent = CliHelpAgent(this.config);
312678
+ this.builtInAgents.add(helpAgent.name);
312679
+ this.registerLocalAgent(helpAgent);
312680
+ const generalistAgent = GeneralistAgent(this.config);
312681
+ this.builtInAgents.add(generalistAgent.name);
312682
+ this.registerLocalAgent(generalistAgent);
312670
312683
  const browserConfig = this.config.getBrowserAgentConfig();
312671
312684
  if (browserConfig.enabled) {
312672
- this.registerLocalAgent(BrowserAgentDefinition(this.config));
312685
+ const browserAgent = BrowserAgentDefinition(this.config);
312686
+ this.builtInAgents.add(browserAgent.name);
312687
+ this.registerLocalAgent(browserAgent);
312673
312688
  }
312674
312689
  }
312675
312690
  async refreshAgents() {
@@ -323790,7 +323805,7 @@ var Config = class {
323790
323805
  this.model = params.model;
323791
323806
  this.disableLoopDetection = params.disableLoopDetection ?? false;
323792
323807
  this._activeModel = params.model;
323793
- this.enableAgents = params.enableAgents ?? true;
323808
+ this.enableAgents = params.enableAgents ?? false;
323794
323809
  this.agents = params.agents ?? {};
323795
323810
  this.disableLLMCorrection = params.disableLLMCorrection ?? true;
323796
323811
  this.planEnabled = params.plan ?? true;
@@ -325510,7 +325525,7 @@ ${sections.join("\n")}
325510
325525
  const definitions = this.agentRegistry.getAllDefinitions();
325511
325526
  for (const definition of definitions) {
325512
325527
  try {
325513
- if (!this.isAgentsEnabled() || agentsOverrides[definition.name]?.enabled === false) {
325528
+ if (!this.isAgentsEnabled() && !this.agentRegistry.isBuiltIn(definition.name) || agentsOverrides[definition.name]?.enabled === false) {
325514
325529
  continue;
325515
325530
  }
325516
325531
  const tool = new SubagentTool(definition, this, this.messageBus);
@@ -218255,8 +218255,8 @@ var Float64Vector = import_vector.default.Float64Vector;
218255
218255
  var PointerVector = import_vector.default.PointerVector;
218256
218256
 
218257
218257
  // packages/core/dist/src/generated/git-commit.js
218258
- var GIT_COMMIT_INFO = "596a736a9";
218259
- var CLI_VERSION = "0.35.0-preview.3";
218258
+ var GIT_COMMIT_INFO = "e88b56bbc";
218259
+ var CLI_VERSION = "0.35.0-preview.5";
218260
218260
 
218261
218261
  // packages/core/dist/src/ide/detect-ide.js
218262
218262
  var IDE_DEFINITIONS = {
@@ -251395,7 +251395,7 @@ function getVersion() {
251395
251395
  }
251396
251396
  versionPromise = (async () => {
251397
251397
  const pkgJson = await getPackageJson(__dirname3);
251398
- return "0.35.0-preview.4";
251398
+ return "0.35.0-preview.5";
251399
251399
  })();
251400
251400
  return versionPromise;
251401
251401
  }
@@ -309440,7 +309440,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
309440
309440
  return provider;
309441
309441
  }
309442
309442
  case "oauth2": {
309443
- const { OAuth2AuthProvider } = await import("./oauth2-provider-FZKOXX3P.js");
309443
+ const { OAuth2AuthProvider } = await import("./oauth2-provider-NTT4KBFN.js");
309444
309444
  const provider = new OAuth2AuthProvider(authConfig, options.agentName ?? "unknown", agentCard, options.agentCardUrl);
309445
309445
  await provider.initialize();
309446
309446
  return provider;
@@ -309576,6 +309576,7 @@ var AgentRegistry = class {
309576
309576
  agents = /* @__PURE__ */ new Map();
309577
309577
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
309578
309578
  allDefinitions = /* @__PURE__ */ new Map();
309579
+ builtInAgents = /* @__PURE__ */ new Set();
309579
309580
  constructor(config2) {
309580
309581
  this.config = config2;
309581
309582
  }
@@ -309586,6 +309587,12 @@ var AgentRegistry = class {
309586
309587
  coreEvents.on(CoreEvent.ModelChanged, this.onModelChanged);
309587
309588
  await this.loadAgents();
309588
309589
  }
309590
+ /**
309591
+ * Returns true if the agent is a built-in agent.
309592
+ */
309593
+ isBuiltIn(name3) {
309594
+ return this.builtInAgents.has(name3);
309595
+ }
309589
309596
  onModelChanged = () => {
309590
309597
  this.refreshAgents().catch((e2) => {
309591
309598
  debugLogger.error("[AgentRegistry] Failed to refresh agents on model change:", e2);
@@ -309702,12 +309709,20 @@ var AgentRegistry = class {
309702
309709
  }
309703
309710
  }
309704
309711
  loadBuiltInAgents() {
309705
- this.registerLocalAgent(CodebaseInvestigatorAgent(this.config));
309706
- this.registerLocalAgent(CliHelpAgent(this.config));
309707
- this.registerLocalAgent(GeneralistAgent(this.config));
309712
+ const codebaseAgent = CodebaseInvestigatorAgent(this.config);
309713
+ this.builtInAgents.add(codebaseAgent.name);
309714
+ this.registerLocalAgent(codebaseAgent);
309715
+ const helpAgent = CliHelpAgent(this.config);
309716
+ this.builtInAgents.add(helpAgent.name);
309717
+ this.registerLocalAgent(helpAgent);
309718
+ const generalistAgent = GeneralistAgent(this.config);
309719
+ this.builtInAgents.add(generalistAgent.name);
309720
+ this.registerLocalAgent(generalistAgent);
309708
309721
  const browserConfig = this.config.getBrowserAgentConfig();
309709
309722
  if (browserConfig.enabled) {
309710
- this.registerLocalAgent(BrowserAgentDefinition(this.config));
309723
+ const browserAgent = BrowserAgentDefinition(this.config);
309724
+ this.builtInAgents.add(browserAgent.name);
309725
+ this.registerLocalAgent(browserAgent);
309711
309726
  }
309712
309727
  }
309713
309728
  async refreshAgents() {
@@ -319547,7 +319562,7 @@ var Config = class {
319547
319562
  this.model = params.model;
319548
319563
  this.disableLoopDetection = params.disableLoopDetection ?? false;
319549
319564
  this._activeModel = params.model;
319550
- this.enableAgents = params.enableAgents ?? true;
319565
+ this.enableAgents = params.enableAgents ?? false;
319551
319566
  this.agents = params.agents ?? {};
319552
319567
  this.disableLLMCorrection = params.disableLLMCorrection ?? true;
319553
319568
  this.planEnabled = params.plan ?? true;
@@ -321104,7 +321119,7 @@ ${sections.join("\n")}
321104
321119
  const definitions = this.agentRegistry.getAllDefinitions();
321105
321120
  for (const definition of definitions) {
321106
321121
  try {
321107
- if (!this.isAgentsEnabled() || agentsOverrides[definition.name]?.enabled === false) {
321122
+ if (!this.isAgentsEnabled() && !this.agentRegistry.isBuiltIn(definition.name) || agentsOverrides[definition.name]?.enabled === false) {
321108
321123
  continue;
321109
321124
  }
321110
321125
  const tool = new SubagentTool(definition, this, this.messageBus);
@@ -161,7 +161,7 @@ import {
161
161
  tokenLimit,
162
162
  uiTelemetryService,
163
163
  yellowBright
164
- } from "./chunk-XMXHCUTA.js";
164
+ } from "./chunk-L4UWHILQ.js";
165
165
  import {
166
166
  require_undici
167
167
  } from "./chunk-37ZTTFQF.js";
@@ -57577,7 +57577,7 @@ var SETTINGS_SCHEMA = {
57577
57577
  label: "Enable Agents",
57578
57578
  category: "Experimental",
57579
57579
  requiresRestart: true,
57580
- default: true,
57580
+ default: false,
57581
57581
  description: "Enable local and remote subagents.",
57582
57582
  showInDialog: false
57583
57583
  },
@@ -82768,7 +82768,7 @@ var authCommand = {
82768
82768
  import process29 from "node:process";
82769
82769
 
82770
82770
  // packages/cli/src/generated/git-commit.ts
82771
- var GIT_COMMIT_INFO = "63c6560a3";
82771
+ var GIT_COMMIT_INFO = "9804bd696";
82772
82772
 
82773
82773
  // packages/cli/src/ui/utils/historyExportUtils.ts
82774
82774
  import * as fsPromises2 from "node:fs/promises";
@@ -88101,7 +88101,7 @@ Use /mcp auth <server-name> to authenticate.`
88101
88101
  type: "info",
88102
88102
  text: `Starting OAuth authentication for MCP server '${serverName}'...`
88103
88103
  });
88104
- const { MCPOAuthProvider } = await import("./dist-ZB3W6HDM.js");
88104
+ const { MCPOAuthProvider } = await import("./dist-F2SWGU2N.js");
88105
88105
  let oauthConfig = server.oauth;
88106
88106
  if (!oauthConfig) {
88107
88107
  oauthConfig = { enabled: false };
@@ -218255,8 +218255,8 @@ var Float64Vector = import_vector.default.Float64Vector;
218255
218255
  var PointerVector = import_vector.default.PointerVector;
218256
218256
 
218257
218257
  // packages/core/dist/src/generated/git-commit.js
218258
- var GIT_COMMIT_INFO = "596a736a9";
218259
- var CLI_VERSION = "0.35.0-preview.3";
218258
+ var GIT_COMMIT_INFO = "e88b56bbc";
218259
+ var CLI_VERSION = "0.35.0-preview.4";
218260
218260
 
218261
218261
  // packages/core/dist/src/ide/detect-ide.js
218262
218262
  var IDE_DEFINITIONS = {
@@ -251395,7 +251395,7 @@ function getVersion() {
251395
251395
  }
251396
251396
  versionPromise = (async () => {
251397
251397
  const pkgJson = await getPackageJson(__dirname3);
251398
- return "0.35.0-preview.3";
251398
+ return "0.35.0-preview.4";
251399
251399
  })();
251400
251400
  return versionPromise;
251401
251401
  }
@@ -309440,7 +309440,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
309440
309440
  return provider;
309441
309441
  }
309442
309442
  case "oauth2": {
309443
- const { OAuth2AuthProvider } = await import("./oauth2-provider-QMCN34OP.js");
309443
+ const { OAuth2AuthProvider } = await import("./oauth2-provider-ON47VIFW.js");
309444
309444
  const provider = new OAuth2AuthProvider(authConfig, options.agentName ?? "unknown", agentCard, options.agentCardUrl);
309445
309445
  await provider.initialize();
309446
309446
  return provider;
@@ -309576,6 +309576,7 @@ var AgentRegistry = class {
309576
309576
  agents = /* @__PURE__ */ new Map();
309577
309577
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
309578
309578
  allDefinitions = /* @__PURE__ */ new Map();
309579
+ builtInAgents = /* @__PURE__ */ new Set();
309579
309580
  constructor(config2) {
309580
309581
  this.config = config2;
309581
309582
  }
@@ -309586,6 +309587,12 @@ var AgentRegistry = class {
309586
309587
  coreEvents.on(CoreEvent.ModelChanged, this.onModelChanged);
309587
309588
  await this.loadAgents();
309588
309589
  }
309590
+ /**
309591
+ * Returns true if the agent is a built-in agent.
309592
+ */
309593
+ isBuiltIn(name3) {
309594
+ return this.builtInAgents.has(name3);
309595
+ }
309589
309596
  onModelChanged = () => {
309590
309597
  this.refreshAgents().catch((e2) => {
309591
309598
  debugLogger.error("[AgentRegistry] Failed to refresh agents on model change:", e2);
@@ -309702,12 +309709,20 @@ var AgentRegistry = class {
309702
309709
  }
309703
309710
  }
309704
309711
  loadBuiltInAgents() {
309705
- this.registerLocalAgent(CodebaseInvestigatorAgent(this.config));
309706
- this.registerLocalAgent(CliHelpAgent(this.config));
309707
- this.registerLocalAgent(GeneralistAgent(this.config));
309712
+ const codebaseAgent = CodebaseInvestigatorAgent(this.config);
309713
+ this.builtInAgents.add(codebaseAgent.name);
309714
+ this.registerLocalAgent(codebaseAgent);
309715
+ const helpAgent = CliHelpAgent(this.config);
309716
+ this.builtInAgents.add(helpAgent.name);
309717
+ this.registerLocalAgent(helpAgent);
309718
+ const generalistAgent = GeneralistAgent(this.config);
309719
+ this.builtInAgents.add(generalistAgent.name);
309720
+ this.registerLocalAgent(generalistAgent);
309708
309721
  const browserConfig = this.config.getBrowserAgentConfig();
309709
309722
  if (browserConfig.enabled) {
309710
- this.registerLocalAgent(BrowserAgentDefinition(this.config));
309723
+ const browserAgent = BrowserAgentDefinition(this.config);
309724
+ this.builtInAgents.add(browserAgent.name);
309725
+ this.registerLocalAgent(browserAgent);
309711
309726
  }
309712
309727
  }
309713
309728
  async refreshAgents() {
@@ -319547,7 +319562,7 @@ var Config = class {
319547
319562
  this.model = params.model;
319548
319563
  this.disableLoopDetection = params.disableLoopDetection ?? false;
319549
319564
  this._activeModel = params.model;
319550
- this.enableAgents = params.enableAgents ?? true;
319565
+ this.enableAgents = params.enableAgents ?? false;
319551
319566
  this.agents = params.agents ?? {};
319552
319567
  this.disableLLMCorrection = params.disableLLMCorrection ?? true;
319553
319568
  this.planEnabled = params.plan ?? true;
@@ -321104,7 +321119,7 @@ ${sections.join("\n")}
321104
321119
  const definitions = this.agentRegistry.getAllDefinitions();
321105
321120
  for (const definition of definitions) {
321106
321121
  try {
321107
- if (!this.isAgentsEnabled() || agentsOverrides[definition.name]?.enabled === false) {
321122
+ if (!this.isAgentsEnabled() && !this.agentRegistry.isBuiltIn(definition.name) || agentsOverrides[definition.name]?.enabled === false) {
321108
321123
  continue;
321109
321124
  }
321110
321125
  const tool = new SubagentTool(definition, this, this.messageBus);
@@ -161,7 +161,7 @@ import {
161
161
  tokenLimit,
162
162
  uiTelemetryService,
163
163
  yellowBright
164
- } from "./chunk-U4R2MXAY.js";
164
+ } from "./chunk-UCKFA5HR.js";
165
165
  import {
166
166
  require_undici
167
167
  } from "./chunk-37ZTTFQF.js";
@@ -57577,7 +57577,7 @@ var SETTINGS_SCHEMA = {
57577
57577
  label: "Enable Agents",
57578
57578
  category: "Experimental",
57579
57579
  requiresRestart: true,
57580
- default: true,
57580
+ default: false,
57581
57581
  description: "Enable local and remote subagents.",
57582
57582
  showInDialog: false
57583
57583
  },
@@ -82768,7 +82768,7 @@ var authCommand = {
82768
82768
  import process29 from "node:process";
82769
82769
 
82770
82770
  // packages/cli/src/generated/git-commit.ts
82771
- var GIT_COMMIT_INFO = "596a736a9";
82771
+ var GIT_COMMIT_INFO = "e88b56bbc";
82772
82772
 
82773
82773
  // packages/cli/src/ui/utils/historyExportUtils.ts
82774
82774
  import * as fsPromises2 from "node:fs/promises";
@@ -88101,7 +88101,7 @@ Use /mcp auth <server-name> to authenticate.`
88101
88101
  type: "info",
88102
88102
  text: `Starting OAuth authentication for MCP server '${serverName}'...`
88103
88103
  });
88104
- const { MCPOAuthProvider } = await import("./dist-62BF6UAT.js");
88104
+ const { MCPOAuthProvider } = await import("./dist-YBDSG67U.js");
88105
88105
  let oauthConfig = server.oauth;
88106
88106
  if (!oauthConfig) {
88107
88107
  oauthConfig = { enabled: false };
@@ -161,7 +161,7 @@ import {
161
161
  tokenLimit,
162
162
  uiTelemetryService,
163
163
  yellowBright
164
- } from "./chunk-6TYFBMHW.js";
164
+ } from "./chunk-OWPZY7X4.js";
165
165
  import {
166
166
  require_undici
167
167
  } from "./chunk-37ZTTFQF.js";
@@ -57577,7 +57577,7 @@ var SETTINGS_SCHEMA = {
57577
57577
  label: "Enable Agents",
57578
57578
  category: "Experimental",
57579
57579
  requiresRestart: true,
57580
- default: true,
57580
+ default: false,
57581
57581
  description: "Enable local and remote subagents.",
57582
57582
  showInDialog: false
57583
57583
  },
@@ -82768,7 +82768,7 @@ var authCommand = {
82768
82768
  import process29 from "node:process";
82769
82769
 
82770
82770
  // packages/cli/src/generated/git-commit.ts
82771
- var GIT_COMMIT_INFO = "596a736a9";
82771
+ var GIT_COMMIT_INFO = "e88b56bbc";
82772
82772
 
82773
82773
  // packages/cli/src/ui/utils/historyExportUtils.ts
82774
82774
  import * as fsPromises2 from "node:fs/promises";
@@ -88101,7 +88101,7 @@ Use /mcp auth <server-name> to authenticate.`
88101
88101
  type: "info",
88102
88102
  text: `Starting OAuth authentication for MCP server '${serverName}'...`
88103
88103
  });
88104
- const { MCPOAuthProvider } = await import("./dist-ZPSHGZCY.js");
88104
+ const { MCPOAuthProvider } = await import("./dist-YGZCQC5A.js");
88105
88105
  let oauthConfig = server.oauth;
88106
88106
  if (!oauthConfig) {
88107
88107
  oauthConfig = { enabled: false };
@@ -150,7 +150,7 @@ import {
150
150
  tokenLimit,
151
151
  uiTelemetryService,
152
152
  yellowBright
153
- } from "./chunk-CY52DPHS.js";
153
+ } from "./chunk-KMUDKBYI.js";
154
154
  import {
155
155
  require_undici
156
156
  } from "./chunk-37ZTTFQF.js";
@@ -57565,7 +57565,7 @@ var SETTINGS_SCHEMA = {
57565
57565
  label: "Enable Agents",
57566
57566
  category: "Experimental",
57567
57567
  requiresRestart: true,
57568
- default: true,
57568
+ default: false,
57569
57569
  description: "Enable local and remote subagents.",
57570
57570
  showInDialog: false
57571
57571
  },
@@ -82756,7 +82756,7 @@ var authCommand = {
82756
82756
  import process29 from "node:process";
82757
82757
 
82758
82758
  // packages/cli/src/generated/git-commit.ts
82759
- var GIT_COMMIT_INFO = "596a736a9";
82759
+ var GIT_COMMIT_INFO = "e88b56bbc";
82760
82760
 
82761
82761
  // packages/cli/src/ui/utils/historyExportUtils.ts
82762
82762
  import * as fsPromises2 from "node:fs/promises";
@@ -88089,7 +88089,7 @@ Use /mcp auth <server-name> to authenticate.`
88089
88089
  type: "info",
88090
88090
  text: `Starting OAuth authentication for MCP server '${serverName}'...`
88091
88091
  });
88092
- const { MCPOAuthProvider } = await import("./core-2LVP4WUV.js");
88092
+ const { MCPOAuthProvider } = await import("./core-LGRNIQIP.js");
88093
88093
  let oauthConfig = server.oauth;
88094
88094
  if (!oauthConfig) {
88095
88095
  oauthConfig = { enabled: false };
@@ -218255,7 +218255,7 @@ var Float64Vector = import_vector.default.Float64Vector;
218255
218255
  var PointerVector = import_vector.default.PointerVector;
218256
218256
 
218257
218257
  // packages/core/dist/src/generated/git-commit.js
218258
- var GIT_COMMIT_INFO = "596a736a9";
218258
+ var GIT_COMMIT_INFO = "e88b56bbc";
218259
218259
  var CLI_VERSION = "0.35.0-preview.4";
218260
218260
 
218261
218261
  // packages/core/dist/src/ide/detect-ide.js
@@ -251395,7 +251395,7 @@ function getVersion() {
251395
251395
  }
251396
251396
  versionPromise = (async () => {
251397
251397
  const pkgJson = await getPackageJson(__dirname3);
251398
- return "0.35.0-preview.4";
251398
+ return "0.35.0-preview.5";
251399
251399
  })();
251400
251400
  return versionPromise;
251401
251401
  }
@@ -309440,7 +309440,7 @@ var A2AAuthProviderFactory = class _A2AAuthProviderFactory {
309440
309440
  return provider;
309441
309441
  }
309442
309442
  case "oauth2": {
309443
- const { OAuth2AuthProvider } = await import("./oauth2-provider-XHYKUX3S.js");
309443
+ const { OAuth2AuthProvider } = await import("./oauth2-provider-CR5U52N6.js");
309444
309444
  const provider = new OAuth2AuthProvider(authConfig, options.agentName ?? "unknown", agentCard, options.agentCardUrl);
309445
309445
  await provider.initialize();
309446
309446
  return provider;
@@ -309576,6 +309576,7 @@ var AgentRegistry = class {
309576
309576
  agents = /* @__PURE__ */ new Map();
309577
309577
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
309578
309578
  allDefinitions = /* @__PURE__ */ new Map();
309579
+ builtInAgents = /* @__PURE__ */ new Set();
309579
309580
  constructor(config2) {
309580
309581
  this.config = config2;
309581
309582
  }
@@ -309586,6 +309587,12 @@ var AgentRegistry = class {
309586
309587
  coreEvents.on(CoreEvent.ModelChanged, this.onModelChanged);
309587
309588
  await this.loadAgents();
309588
309589
  }
309590
+ /**
309591
+ * Returns true if the agent is a built-in agent.
309592
+ */
309593
+ isBuiltIn(name3) {
309594
+ return this.builtInAgents.has(name3);
309595
+ }
309589
309596
  onModelChanged = () => {
309590
309597
  this.refreshAgents().catch((e2) => {
309591
309598
  debugLogger.error("[AgentRegistry] Failed to refresh agents on model change:", e2);
@@ -309702,12 +309709,20 @@ var AgentRegistry = class {
309702
309709
  }
309703
309710
  }
309704
309711
  loadBuiltInAgents() {
309705
- this.registerLocalAgent(CodebaseInvestigatorAgent(this.config));
309706
- this.registerLocalAgent(CliHelpAgent(this.config));
309707
- this.registerLocalAgent(GeneralistAgent(this.config));
309712
+ const codebaseAgent = CodebaseInvestigatorAgent(this.config);
309713
+ this.builtInAgents.add(codebaseAgent.name);
309714
+ this.registerLocalAgent(codebaseAgent);
309715
+ const helpAgent = CliHelpAgent(this.config);
309716
+ this.builtInAgents.add(helpAgent.name);
309717
+ this.registerLocalAgent(helpAgent);
309718
+ const generalistAgent = GeneralistAgent(this.config);
309719
+ this.builtInAgents.add(generalistAgent.name);
309720
+ this.registerLocalAgent(generalistAgent);
309708
309721
  const browserConfig = this.config.getBrowserAgentConfig();
309709
309722
  if (browserConfig.enabled) {
309710
- this.registerLocalAgent(BrowserAgentDefinition(this.config));
309723
+ const browserAgent = BrowserAgentDefinition(this.config);
309724
+ this.builtInAgents.add(browserAgent.name);
309725
+ this.registerLocalAgent(browserAgent);
309711
309726
  }
309712
309727
  }
309713
309728
  async refreshAgents() {
@@ -319547,7 +319562,7 @@ var Config = class {
319547
319562
  this.model = params.model;
319548
319563
  this.disableLoopDetection = params.disableLoopDetection ?? false;
319549
319564
  this._activeModel = params.model;
319550
- this.enableAgents = params.enableAgents ?? true;
319565
+ this.enableAgents = params.enableAgents ?? false;
319551
319566
  this.agents = params.agents ?? {};
319552
319567
  this.disableLLMCorrection = params.disableLLMCorrection ?? true;
319553
319568
  this.planEnabled = params.plan ?? true;
@@ -321104,7 +321119,7 @@ ${sections.join("\n")}
321104
321119
  const definitions = this.agentRegistry.getAllDefinitions();
321105
321120
  for (const definition of definitions) {
321106
321121
  try {
321107
- if (!this.isAgentsEnabled() || agentsOverrides[definition.name]?.enabled === false) {
321122
+ if (!this.isAgentsEnabled() && !this.agentRegistry.isBuiltIn(definition.name) || agentsOverrides[definition.name]?.enabled === false) {
321108
321123
  continue;
321109
321124
  }
321110
321125
  const tool = new SubagentTool(definition, this, this.messageBus);
@@ -669,7 +669,7 @@ import {
669
669
  wrapInAccountChooser,
670
670
  writeToStderr,
671
671
  writeToStdout
672
- } from "./chunk-CY52DPHS.js";
672
+ } from "./chunk-KMUDKBYI.js";
673
673
  import "./chunk-37ZTTFQF.js";
674
674
  import {
675
675
  ACTIVATE_SKILL_TOOL_NAME,
@@ -1,5 +1,5 @@
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
- import "./chunk-6TYFBMHW.js";
2
+ import "./chunk-L4UWHILQ.js";
3
3
  import "./chunk-37ZTTFQF.js";
4
4
  import {
5
5
  CoreEvent,
@@ -821,7 +821,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
821
821
  return;
822
822
  }
823
823
  try {
824
- const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-ZPSHGZCY.js");
824
+ const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-F2SWGU2N.js");
825
825
  const url = await startDevToolsServer(config);
826
826
  if (shouldLaunchBrowser()) {
827
827
  try {
@@ -1,5 +1,5 @@
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
- import "./chunk-XMXHCUTA.js";
2
+ import "./chunk-UCKFA5HR.js";
3
3
  import "./chunk-37ZTTFQF.js";
4
4
  import {
5
5
  CoreEvent,
@@ -821,7 +821,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
821
821
  return;
822
822
  }
823
823
  try {
824
- const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-ZB3W6HDM.js");
824
+ const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-YBDSG67U.js");
825
825
  const url = await startDevToolsServer(config);
826
826
  if (shouldLaunchBrowser()) {
827
827
  try {
@@ -1,5 +1,5 @@
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
- import "./chunk-U4R2MXAY.js";
2
+ import "./chunk-OWPZY7X4.js";
3
3
  import "./chunk-37ZTTFQF.js";
4
4
  import {
5
5
  CoreEvent,
@@ -821,7 +821,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
821
821
  return;
822
822
  }
823
823
  try {
824
- const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-62BF6UAT.js");
824
+ const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-YGZCQC5A.js");
825
825
  const url = await startDevToolsServer(config);
826
826
  if (shouldLaunchBrowser()) {
827
827
  try {
@@ -1,5 +1,5 @@
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
- import "./chunk-CY52DPHS.js";
2
+ import "./chunk-KMUDKBYI.js";
3
3
  import "./chunk-37ZTTFQF.js";
4
4
  import {
5
5
  coreEvents,
@@ -820,7 +820,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
820
820
  return;
821
821
  }
822
822
  try {
823
- const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-2LVP4WUV.js");
823
+ const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-LGRNIQIP.js");
824
824
  const url = await startDevToolsServer(config);
825
825
  if (shouldLaunchBrowser()) {
826
826
  try {
@@ -669,7 +669,7 @@ import {
669
669
  wrapInAccountChooser,
670
670
  writeToStderr,
671
671
  writeToStdout
672
- } from "./chunk-U4R2MXAY.js";
672
+ } from "./chunk-L4UWHILQ.js";
673
673
  import "./chunk-37ZTTFQF.js";
674
674
  import {
675
675
  ACTIVATE_SKILL_TOOL_NAME,
@@ -669,7 +669,7 @@ import {
669
669
  wrapInAccountChooser,
670
670
  writeToStderr,
671
671
  writeToStdout
672
- } from "./chunk-XMXHCUTA.js";
672
+ } from "./chunk-UCKFA5HR.js";
673
673
  import "./chunk-37ZTTFQF.js";
674
674
  import {
675
675
  ACTIVATE_SKILL_TOOL_NAME,
@@ -669,7 +669,7 @@ import {
669
669
  wrapInAccountChooser,
670
670
  writeToStderr,
671
671
  writeToStdout
672
- } from "./chunk-6TYFBMHW.js";
672
+ } from "./chunk-OWPZY7X4.js";
673
673
  import "./chunk-37ZTTFQF.js";
674
674
  import {
675
675
  ACTIVATE_SKILL_TOOL_NAME,
@@ -1159,7 +1159,7 @@ their corresponding top-level category object in your `settings.json` file.
1159
1159
 
1160
1160
  - **`experimental.enableAgents`** (boolean):
1161
1161
  - **Description:** Enable local and remote subagents.
1162
- - **Default:** `true`
1162
+ - **Default:** `false`
1163
1163
  - **Requires restart:** Yes
1164
1164
 
1165
1165
  - **`experimental.extensionManagement`** (boolean):
package/bundle/gemini.js CHANGED
@@ -66,7 +66,7 @@ import {
66
66
  updateAllUpdatableExtensions,
67
67
  updateExtension,
68
68
  validateAuthMethod
69
- } from "./chunk-OG7ZVIE3.js";
69
+ } from "./chunk-MRCHI5MK.js";
70
70
  import {
71
71
  AuthType,
72
72
  ChatRecordingService,
@@ -148,7 +148,7 @@ import {
148
148
  uiTelemetryService,
149
149
  writeToStderr,
150
150
  writeToStdout
151
- } from "./chunk-XMXHCUTA.js";
151
+ } from "./chunk-L4UWHILQ.js";
152
152
  import "./chunk-37ZTTFQF.js";
153
153
  import {
154
154
  ASK_USER_TOOL_NAME,
@@ -10728,7 +10728,7 @@ async function loadSandboxConfig(settings, argv) {
10728
10728
  }
10729
10729
  const command2 = getSandboxCommand(sandboxValue);
10730
10730
  const packageJson = await getPackageJson(__dirname4);
10731
- const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.35.0-preview.4" ?? customImage ?? packageJson?.config?.sandboxImageUri;
10731
+ const image = process.env["GEMINI_SANDBOX_IMAGE"] ?? "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.35.0-preview.5" ?? customImage ?? packageJson?.config?.sandboxImageUri;
10732
10732
  return command2 && image ? { enabled: true, allowedPaths, networkAccess, command: command2, image } : void 0;
10733
10733
  }
10734
10734
 
@@ -12856,7 +12856,7 @@ async function runNonInteractive({
12856
12856
  }
12857
12857
  });
12858
12858
  if (process.env["GEMINI_CLI_ACTIVITY_LOG_TARGET"]) {
12859
- const { setupInitialActivityLogger } = await import("./devtoolsService-BL26GS4A.js");
12859
+ const { setupInitialActivityLogger } = await import("./devtoolsService-D7CKQLLY.js");
12860
12860
  await setupInitialActivityLogger(config);
12861
12861
  }
12862
12862
  const { stdout: workingStdout } = createWorkingStdio();
@@ -17064,7 +17064,7 @@ ${reason.stack}` : ""}`;
17064
17064
  });
17065
17065
  }
17066
17066
  async function startInteractiveUI(config, settings, startupWarnings, workspaceRoot = process.cwd(), resumedSessionData, initializationResult) {
17067
- const { startInteractiveUI: doStartUI } = await import("./interactiveCli-QHET6XGY.js");
17067
+ const { startInteractiveUI: doStartUI } = await import("./interactiveCli-2ASAJB6L.js");
17068
17068
  await doStartUI(
17069
17069
  config,
17070
17070
  settings,
@@ -17244,7 +17244,7 @@ ${finalArgs[promptIndex + 1]}`;
17244
17244
  await config.storage.initialize();
17245
17245
  adminControlsListner.setConfig(config);
17246
17246
  if (config.isInteractive() && settings.merged.general.devtools) {
17247
- const { setupInitialActivityLogger } = await import("./devtoolsService-BL26GS4A.js");
17247
+ const { setupInitialActivityLogger } = await import("./devtoolsService-D7CKQLLY.js");
17248
17248
  await setupInitialActivityLogger(config);
17249
17249
  }
17250
17250
  registerTelemetryConfig(config);
@@ -180,7 +180,7 @@ import {
180
180
  widestLineFromStyledChars,
181
181
  wordBreakStyledChars,
182
182
  wrapStyledChars
183
- } from "./chunk-SP3CN5SW.js";
183
+ } from "./chunk-MRCHI5MK.js";
184
184
  import {
185
185
  ApiKeyUpdatedEvent,
186
186
  AsyncFzf,
@@ -298,7 +298,7 @@ import {
298
298
  validatePlanContent,
299
299
  validatePlanPath,
300
300
  writeToStdout
301
- } from "./chunk-U4R2MXAY.js";
301
+ } from "./chunk-L4UWHILQ.js";
302
302
  import "./chunk-37ZTTFQF.js";
303
303
  import {
304
304
  ACTIVATE_SKILL_TOOL_NAME,
@@ -47766,7 +47766,7 @@ ${queuedText}` : queuedText;
47766
47766
  if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
47767
47767
  if (settings.merged.general.devtools) {
47768
47768
  void (async () => {
47769
- const { toggleDevToolsPanel } = await import("./devtoolsService-TJCM4TEV.js");
47769
+ const { toggleDevToolsPanel } = await import("./devtoolsService-D7CKQLLY.js");
47770
47770
  await toggleDevToolsPanel(
47771
47771
  config,
47772
47772
  showErrorDetails,
@@ -180,7 +180,7 @@ import {
180
180
  widestLineFromStyledChars,
181
181
  wordBreakStyledChars,
182
182
  wrapStyledChars
183
- } from "./chunk-OG7ZVIE3.js";
183
+ } from "./chunk-QRBJWIYD.js";
184
184
  import {
185
185
  ApiKeyUpdatedEvent,
186
186
  AsyncFzf,
@@ -298,7 +298,7 @@ import {
298
298
  validatePlanContent,
299
299
  validatePlanPath,
300
300
  writeToStdout
301
- } from "./chunk-XMXHCUTA.js";
301
+ } from "./chunk-OWPZY7X4.js";
302
302
  import "./chunk-37ZTTFQF.js";
303
303
  import {
304
304
  ACTIVATE_SKILL_TOOL_NAME,
@@ -47766,7 +47766,7 @@ ${queuedText}` : queuedText;
47766
47766
  if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
47767
47767
  if (settings.merged.general.devtools) {
47768
47768
  void (async () => {
47769
- const { toggleDevToolsPanel } = await import("./devtoolsService-BL26GS4A.js");
47769
+ const { toggleDevToolsPanel } = await import("./devtoolsService-EUPHEGN3.js");
47770
47770
  await toggleDevToolsPanel(
47771
47771
  config,
47772
47772
  showErrorDetails,
@@ -180,7 +180,7 @@ import {
180
180
  widestLineFromStyledChars,
181
181
  wordBreakStyledChars,
182
182
  wrapStyledChars
183
- } from "./chunk-M2ILNVA4.js";
183
+ } from "./chunk-QNUZOILC.js";
184
184
  import {
185
185
  ApiKeyUpdatedEvent,
186
186
  AsyncFzf,
@@ -298,7 +298,7 @@ import {
298
298
  validatePlanContent,
299
299
  validatePlanPath,
300
300
  writeToStdout
301
- } from "./chunk-6TYFBMHW.js";
301
+ } from "./chunk-UCKFA5HR.js";
302
302
  import "./chunk-37ZTTFQF.js";
303
303
  import {
304
304
  ACTIVATE_SKILL_TOOL_NAME,
@@ -47766,7 +47766,7 @@ ${queuedText}` : queuedText;
47766
47766
  if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
47767
47767
  if (settings.merged.general.devtools) {
47768
47768
  void (async () => {
47769
- const { toggleDevToolsPanel } = await import("./devtoolsService-ZSLJ6ZX3.js");
47769
+ const { toggleDevToolsPanel } = await import("./devtoolsService-E7BY5PIF.js");
47770
47770
  await toggleDevToolsPanel(
47771
47771
  config,
47772
47772
  showErrorDetails,
@@ -180,7 +180,7 @@ import {
180
180
  widestLineFromStyledChars,
181
181
  wordBreakStyledChars,
182
182
  wrapStyledChars
183
- } from "./chunk-A4R3OQWV.js";
183
+ } from "./chunk-UB2QZMEG.js";
184
184
  import {
185
185
  ApiKeyUpdatedEvent,
186
186
  AsyncFzf,
@@ -288,7 +288,7 @@ import {
288
288
  validatePlanContent,
289
289
  validatePlanPath,
290
290
  writeToStdout
291
- } from "./chunk-CY52DPHS.js";
291
+ } from "./chunk-KMUDKBYI.js";
292
292
  import "./chunk-37ZTTFQF.js";
293
293
  import {
294
294
  ACTIVATE_SKILL_TOOL_NAME,
@@ -47749,7 +47749,7 @@ ${queuedText}` : queuedText;
47749
47749
  if (keyMatchers["app.showErrorDetails" /* SHOW_ERROR_DETAILS */](key)) {
47750
47750
  if (settings.merged.general.devtools) {
47751
47751
  void (async () => {
47752
- const { toggleDevToolsPanel } = await import("./devtoolsService-Y7NQIXSP.js");
47752
+ const { toggleDevToolsPanel } = await import("./devtoolsService-USGBA4VO.js");
47753
47753
  await toggleDevToolsPanel(
47754
47754
  config,
47755
47755
  showErrorDetails,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@google/gemini-cli-devtools",
3
- "version": "0.35.0-preview.4",
3
+ "version": "0.35.0-preview.5",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "dist/src/index.js",
@@ -11,7 +11,7 @@ import {
11
11
  openBrowserSecurely,
12
12
  refreshAccessToken,
13
13
  startCallbackServer
14
- } from "./chunk-6TYFBMHW.js";
14
+ } from "./chunk-UCKFA5HR.js";
15
15
  import "./chunk-37ZTTFQF.js";
16
16
  import {
17
17
  FatalCancellationError,
@@ -11,7 +11,7 @@ import {
11
11
  openBrowserSecurely,
12
12
  refreshAccessToken,
13
13
  startCallbackServer
14
- } from "./chunk-U4R2MXAY.js";
14
+ } from "./chunk-L4UWHILQ.js";
15
15
  import "./chunk-37ZTTFQF.js";
16
16
  import {
17
17
  FatalCancellationError,
@@ -11,7 +11,7 @@ import {
11
11
  openBrowserSecurely,
12
12
  refreshAccessToken,
13
13
  startCallbackServer
14
- } from "./chunk-XMXHCUTA.js";
14
+ } from "./chunk-OWPZY7X4.js";
15
15
  import "./chunk-37ZTTFQF.js";
16
16
  import {
17
17
  FatalCancellationError,
@@ -11,7 +11,7 @@ import {
11
11
  openBrowserSecurely,
12
12
  refreshAccessToken,
13
13
  startCallbackServer
14
- } from "./chunk-CY52DPHS.js";
14
+ } from "./chunk-KMUDKBYI.js";
15
15
  import "./chunk-37ZTTFQF.js";
16
16
  import {
17
17
  FatalCancellationError,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@google/gemini-cli",
3
- "version": "0.35.0-preview.4",
3
+ "version": "0.35.0-preview.5",
4
4
  "description": "Gemini CLI",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {