@google/gemini-cli 0.35.0-preview.2 → 0.36.0-nightly.20260321.fc03891a1

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 (93) hide show
  1. package/README.md +0 -1
  2. package/bundle/{chunk-QO53VEHI.js → chunk-5725SFQR.js} +87 -47
  3. package/bundle/{chunk-HYF34ISK.js → chunk-CCJTFLFP.js} +5629 -5226
  4. package/bundle/{chunk-5OVDZKPV.js → chunk-D7FYAQ3H.js} +59887 -34723
  5. package/bundle/{chunk-6AQAEYFC.js → chunk-HFDLZAI6.js} +59887 -34723
  6. package/bundle/{chunk-WTYAEXC3.js → chunk-MIAZ3PM6.js} +59887 -34723
  7. package/bundle/{chunk-WXXNCSKU.js → chunk-NA5KUNBD.js} +5629 -5226
  8. package/bundle/{chunk-SCIFYSWM.js → chunk-UOFTUVGG.js} +5629 -5226
  9. package/bundle/{chunk-C2LINL7G.js → chunk-W5ORWYUB.js} +83 -45
  10. package/bundle/{chunk-TYZCRVGB.js → chunk-XYHDU7NF.js} +5629 -5226
  11. package/bundle/{chunk-ELVZ5MKI.js → chunk-ZUXLXS2J.js} +72724 -47403
  12. package/bundle/{core-ZWMLWHG7.js → core-GS2P42IT.js} +48 -3
  13. package/bundle/{devtoolsService-XMVPJFZ7.js → devtoolsService-DUME7JA6.js} +3 -4
  14. package/bundle/{devtoolsService-DH7MKZL2.js → devtoolsService-GFJFWZMN.js} +3 -4
  15. package/bundle/{devtoolsService-EVTQ32UO.js → devtoolsService-NYUXHIPC.js} +3 -4
  16. package/bundle/{devtoolsService-FPFZEEVK.js → devtoolsService-RC5CN5TA.js} +3 -4
  17. package/bundle/{dist-6LCHGUBD.js → dist-GAJJIGQH.js} +48 -3
  18. package/bundle/{dist-AWPSKKKO.js → dist-RXTU4IDW.js} +48 -3
  19. package/bundle/{dist-WOQEPX5R.js → dist-ULRCP5C6.js} +48 -3
  20. package/bundle/docs/CONTRIBUTING.md +0 -15
  21. package/bundle/docs/admin/enterprise-controls.md +61 -0
  22. package/bundle/docs/changelogs/index.md +11 -0
  23. package/bundle/docs/changelogs/latest.md +459 -209
  24. package/bundle/docs/changelogs/preview.md +355 -454
  25. package/bundle/docs/cli/checkpointing.md +3 -1
  26. package/bundle/docs/cli/cli-reference.md +1 -0
  27. package/bundle/docs/cli/custom-commands.md +7 -5
  28. package/bundle/docs/cli/enterprise.md +15 -9
  29. package/bundle/docs/cli/git-worktrees.md +107 -0
  30. package/bundle/docs/cli/model-steering.md +4 -3
  31. package/bundle/docs/cli/model.md +3 -1
  32. package/bundle/docs/cli/notifications.md +4 -3
  33. package/bundle/docs/cli/plan-mode.md +28 -8
  34. package/bundle/docs/cli/sandbox.md +24 -4
  35. package/bundle/docs/cli/session-management.md +6 -0
  36. package/bundle/docs/cli/settings.md +14 -1
  37. package/bundle/docs/cli/skills.md +4 -2
  38. package/bundle/docs/cli/system-prompt.md +3 -1
  39. package/bundle/docs/cli/telemetry.md +6 -3
  40. package/bundle/docs/cli/themes.md +12 -8
  41. package/bundle/docs/cli/tutorials/file-management.md +8 -6
  42. package/bundle/docs/cli/tutorials/mcp-setup.md +5 -3
  43. package/bundle/docs/cli/tutorials/memory-management.md +6 -6
  44. package/bundle/docs/cli/tutorials/plan-mode-steering.md +4 -3
  45. package/bundle/docs/cli/tutorials/shell-commands.md +3 -3
  46. package/bundle/docs/core/remote-agents.md +8 -3
  47. package/bundle/docs/core/subagents.md +21 -13
  48. package/bundle/docs/extensions/reference.md +8 -3
  49. package/bundle/docs/get-started/authentication.md +60 -50
  50. package/bundle/docs/get-started/examples.md +3 -1
  51. package/bundle/docs/get-started/gemini-3.md +11 -5
  52. package/bundle/docs/hooks/index.md +3 -1
  53. package/bundle/docs/hooks/writing-hooks.md +2 -2
  54. package/bundle/docs/ide-integration/ide-companion-spec.md +5 -3
  55. package/bundle/docs/ide-integration/index.md +8 -4
  56. package/bundle/docs/issue-and-pr-automation.md +3 -1
  57. package/bundle/docs/local-development.md +3 -1
  58. package/bundle/docs/reference/commands.md +2 -2
  59. package/bundle/docs/reference/configuration.md +410 -16
  60. package/bundle/docs/reference/policy-engine.md +47 -19
  61. package/bundle/docs/reference/tools.md +3 -1
  62. package/bundle/docs/release-confidence.md +7 -3
  63. package/bundle/docs/releases.md +11 -7
  64. package/bundle/docs/resources/faq.md +13 -0
  65. package/bundle/docs/resources/tos-privacy.md +4 -2
  66. package/bundle/docs/resources/troubleshooting.md +3 -1
  67. package/bundle/docs/sidebar.json +5 -0
  68. package/bundle/docs/tools/mcp-server.md +17 -9
  69. package/bundle/docs/tools/planning.md +3 -1
  70. package/bundle/docs/tools/shell.md +4 -4
  71. package/bundle/docs/tools/todos.md +2 -1
  72. package/bundle/gemini.js +4392 -7551
  73. package/bundle/{interactiveCli-E3DWTWRM.js → interactiveCli-FYYDCEQS.js} +2738 -2353
  74. package/bundle/{interactiveCli-N4QW3NCZ.js → interactiveCli-OY77TZRB.js} +2738 -2353
  75. package/bundle/{interactiveCli-Z4Y6XB7M.js → interactiveCli-QWWY5YAU.js} +2738 -2353
  76. package/bundle/{interactiveCli-7H3T4KJF.js → interactiveCli-RMQZ5WRR.js} +2738 -2353
  77. package/bundle/{memoryDiscovery-7LUUOJNM.js → memoryDiscovery-HKWK4IPH.js} +1 -1
  78. package/bundle/{memoryDiscovery-RRX6QF4Y.js → memoryDiscovery-OV4FUTHJ.js} +1 -1
  79. package/bundle/node_modules/@google/gemini-cli-devtools/dist/client/main.js +2 -2
  80. package/bundle/node_modules/@google/gemini-cli-devtools/dist/src/_client-assets.d.ts +1 -1
  81. package/bundle/node_modules/@google/gemini-cli-devtools/dist/src/_client-assets.js +1 -1
  82. package/bundle/node_modules/@google/gemini-cli-devtools/dist/src/_client-assets.js.map +1 -1
  83. package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
  84. package/bundle/{oauth2-provider-CPMX7ITW.js → oauth2-provider-CFIR577H.js} +2 -3
  85. package/bundle/{oauth2-provider-IU6STKL7.js → oauth2-provider-DX62BK7X.js} +2 -3
  86. package/bundle/{oauth2-provider-LTBDSRHY.js → oauth2-provider-EKENRGNL.js} +2 -3
  87. package/bundle/{oauth2-provider-ZWWMTBET.js → oauth2-provider-EWXMX6DR.js} +2 -3
  88. package/bundle/policies/memory-manager.toml +10 -0
  89. package/bundle/policies/plan.toml +14 -0
  90. package/bundle/policies/yolo.toml +1 -0
  91. package/package.json +1 -1
  92. package/bundle/chunk-37ZTTFQF.js +0 -23568
  93. package/bundle/undici-4X2YZID5.js +0 -6
@@ -234,6 +234,7 @@ import {
234
234
  ReadManyFilesTool,
235
235
  RecordingContentGenerator,
236
236
  ReleaseChannel,
237
+ RequiredMcpServerConfigSchema,
237
238
  ResourceRegistry,
238
239
  RetryableQuotaError,
239
240
  RewindEvent,
@@ -244,8 +245,11 @@ import {
244
245
  SERVICE_NAME,
245
246
  SESSION_FILE_PREFIX,
246
247
  SHELL_TOOL_NAMES,
248
+ SUBAGENT_CANCELLED_ERROR_MESSAGE,
249
+ SUBAGENT_REJECTED_ERROR_PREFIX,
247
250
  SYNTHETIC_THOUGHT_SIGNATURE,
248
251
  SYSTEM_FILE_EXCLUDES,
252
+ SandboxedFileSystemService,
249
253
  Scheduler,
250
254
  SemanticAttributes,
251
255
  SessionEndReason,
@@ -261,6 +265,7 @@ import {
261
265
  StartupProfiler,
262
266
  StreamEventType,
263
267
  StreamJsonFormatter,
268
+ SubagentActivityErrorType,
264
269
  TASK_TYPE_LABELS,
265
270
  TOOL_OUTPUTS_DIR,
266
271
  TRUSTED_MCP_SERVER_PRIORITY,
@@ -299,7 +304,9 @@ import {
299
304
  WebFetchFallbackAttemptEvent,
300
305
  WebFetchTool,
301
306
  WebSearchTool,
307
+ WindowsSandboxManager,
302
308
  WorkspaceContext,
309
+ WorktreeService,
303
310
  WriteFileTool,
304
311
  WriteTodosTool,
305
312
  _clearCache,
@@ -309,6 +316,7 @@ import {
309
316
  appendToLastTextPart,
310
317
  applyAdminAllowlist,
311
318
  applyReplacement,
319
+ applyRequiredServers,
312
320
  assumeExhaustive,
313
321
  authEvents,
314
322
  buildG1Url,
@@ -319,6 +327,7 @@ import {
319
327
  canUseRipgrep,
320
328
  checkExhaustive,
321
329
  classifyGoogleError,
330
+ cleanupWorktree,
322
331
  clearApiKey,
323
332
  clearCachedCredentialFile,
324
333
  clearEmittedPolicyWarnings,
@@ -345,6 +354,8 @@ import {
345
354
  createTransport,
346
355
  createUnauthorizedToolError,
347
356
  createWorkingStdio,
357
+ createWorktree,
358
+ createWorktreeService,
348
359
  decodeTagName,
349
360
  detectBOM,
350
361
  detectEncodingFromBuffer,
@@ -446,6 +457,7 @@ import {
446
457
  getPolicyDirectories,
447
458
  getPolicyTier,
448
459
  getPreviousSession,
460
+ getProjectRootForWorktree,
449
461
  getPromptIdWithFallback,
450
462
  getPty,
451
463
  getRealPath,
@@ -462,11 +474,13 @@ import {
462
474
  getToolSuggestion,
463
475
  getTruncatedCheckpointNames,
464
476
  getVersion,
477
+ getWorktreePath,
465
478
  handleFallback,
466
479
  hasNetworkTransport,
467
480
  hasRedirection,
468
481
  hasValidEditorCommand,
469
482
  hasValidEditorCommandAsync,
483
+ hasWorktreeChanges,
470
484
  ideContextStore,
471
485
  initializeActivityMonitor,
472
486
  initializeMemoryMonitor,
@@ -480,17 +494,21 @@ import {
480
494
  isBinaryFile,
481
495
  isCloudShell,
482
496
  isCompletedAskUserTool,
497
+ isDumbTerminal,
483
498
  isEditToolParams,
484
499
  isEditorAvailable,
485
500
  isEditorAvailableAsync,
486
501
  isEmpty,
487
502
  isEnabled,
503
+ isGeminiWorktree,
488
504
  isGitRepository,
505
+ isGnuScreen,
489
506
  isGuiEditor,
490
507
  isHeadlessMode,
491
508
  isInvalidArgumentError,
492
509
  isJetBrainsTerminal,
493
510
  isLoopbackHost,
511
+ isLowColorTmux,
494
512
  isNightly,
495
513
  isOverageEligibleModel,
496
514
  isPerformanceMonitoringActive,
@@ -504,6 +522,7 @@ import {
504
522
  isSubagentProgress,
505
523
  isTelemetrySdkInitialized,
506
524
  isTerminalEditor,
525
+ isTmux,
507
526
  isToolCallResponseInfo,
508
527
  isUserActive,
509
528
  isValidNonThoughtTextPart,
@@ -665,8 +684,7 @@ import {
665
684
  wrapInAccountChooser,
666
685
  writeToStderr,
667
686
  writeToStdout
668
- } from "./chunk-ELVZ5MKI.js";
669
- import "./chunk-37ZTTFQF.js";
687
+ } from "./chunk-ZUXLXS2J.js";
670
688
  import {
671
689
  ACTIVATE_SKILL_TOOL_NAME,
672
690
  ALL_BUILTIN_TOOL_NAMES,
@@ -782,6 +800,7 @@ import {
782
800
  PREVIEW_GEMINI_MODEL,
783
801
  PREVIEW_GEMINI_MODEL_AUTO,
784
802
  PRIORITY_SUBAGENT_TOOL,
803
+ PRIORITY_YOLO_ALLOW_ALL,
785
804
  PolicyDecision,
786
805
  QuestionType,
787
806
  READ_FILE_DISPLAY_NAME,
@@ -863,9 +882,11 @@ import {
863
882
  isNodeError,
864
883
  isPreviewModel,
865
884
  isProModel,
885
+ isRecord,
866
886
  isSubpath,
867
887
  isTool,
868
888
  isValidToolName,
889
+ jsonToMarkdown,
869
890
  loadJitSubdirectoryMemory,
870
891
  loadServerHierarchicalMemory,
871
892
  makeRelative,
@@ -877,6 +898,7 @@ import {
877
898
  resolveClassifierModel,
878
899
  resolveModel,
879
900
  resolveToRealPath,
901
+ safeJsonToMarkdown,
880
902
  setGeminiMdFilename,
881
903
  shortenPath,
882
904
  supportsModernFeatures,
@@ -885,7 +907,7 @@ import {
885
907
  tmpdir,
886
908
  toFriendlyError,
887
909
  unescapePath
888
- } from "./chunk-QO53VEHI.js";
910
+ } from "./chunk-5725SFQR.js";
889
911
  import "./chunk-664ZODQF.js";
890
912
  import "./chunk-RJTRUG2J.js";
891
913
  import {
@@ -1228,6 +1250,7 @@ export {
1228
1250
  PREVIEW_GEMINI_MODEL,
1229
1251
  PREVIEW_GEMINI_MODEL_AUTO,
1230
1252
  PRIORITY_SUBAGENT_TOOL,
1253
+ PRIORITY_YOLO_ALLOW_ALL,
1231
1254
  PYTHON_EXCLUDES,
1232
1255
  PerformanceMetricType,
1233
1256
  PlanErrorMessages,
@@ -1256,6 +1279,7 @@ export {
1256
1279
  ReadManyFilesTool,
1257
1280
  RecordingContentGenerator,
1258
1281
  ReleaseChannel,
1282
+ RequiredMcpServerConfigSchema,
1259
1283
  ResourceRegistry,
1260
1284
  RetryableQuotaError,
1261
1285
  RewindEvent,
@@ -1272,8 +1296,11 @@ export {
1272
1296
  SHELL_TOOL_NAME,
1273
1297
  SHELL_TOOL_NAMES,
1274
1298
  SKILL_PARAM_NAME,
1299
+ SUBAGENT_CANCELLED_ERROR_MESSAGE,
1300
+ SUBAGENT_REJECTED_ERROR_PREFIX,
1275
1301
  SYNTHETIC_THOUGHT_SIGNATURE,
1276
1302
  SYSTEM_FILE_EXCLUDES,
1303
+ SandboxedFileSystemService,
1277
1304
  Scheduler,
1278
1305
  SchemaValidator,
1279
1306
  SemanticAttributes,
@@ -1292,6 +1319,7 @@ export {
1292
1319
  Storage,
1293
1320
  StreamEventType,
1294
1321
  StreamJsonFormatter,
1322
+ SubagentActivityErrorType,
1295
1323
  TASK_TYPE_LABELS,
1296
1324
  TODOS_ITEM_PARAM_DESCRIPTION,
1297
1325
  TODOS_ITEM_PARAM_STATUS,
@@ -1353,7 +1381,9 @@ export {
1353
1381
  WebFetchFallbackAttemptEvent,
1354
1382
  WebFetchTool,
1355
1383
  WebSearchTool,
1384
+ WindowsSandboxManager,
1356
1385
  WorkspaceContext,
1386
+ WorktreeService,
1357
1387
  WriteFileTool,
1358
1388
  WriteTodosTool,
1359
1389
  _clearCache,
@@ -1363,6 +1393,7 @@ export {
1363
1393
  appendToLastTextPart,
1364
1394
  applyAdminAllowlist,
1365
1395
  applyReplacement,
1396
+ applyRequiredServers,
1366
1397
  assumeExhaustive,
1367
1398
  authEvents,
1368
1399
  buildG1Url,
@@ -1374,6 +1405,7 @@ export {
1374
1405
  categorizeAndConcatenate,
1375
1406
  checkExhaustive,
1376
1407
  classifyGoogleError,
1408
+ cleanupWorktree,
1377
1409
  clearApiKey,
1378
1410
  clearCachedCredentialFile,
1379
1411
  clearEmittedPolicyWarnings,
@@ -1402,6 +1434,8 @@ export {
1402
1434
  createTransport,
1403
1435
  createUnauthorizedToolError,
1404
1436
  createWorkingStdio,
1437
+ createWorktree,
1438
+ createWorktreeService,
1405
1439
  debugLogger,
1406
1440
  decodeTagName,
1407
1441
  deduplicatePathsByFileIdentity,
@@ -1519,6 +1553,7 @@ export {
1519
1553
  getPolicyTier,
1520
1554
  getPreviousSession,
1521
1555
  getProjectHash,
1556
+ getProjectRootForWorktree,
1522
1557
  getPromptIdWithFallback,
1523
1558
  getPty,
1524
1559
  getRealPath,
@@ -1536,12 +1571,14 @@ export {
1536
1571
  getToolSuggestion,
1537
1572
  getTruncatedCheckpointNames,
1538
1573
  getVersion,
1574
+ getWorktreePath,
1539
1575
  handleFallback,
1540
1576
  hasCycleInSchema,
1541
1577
  hasNetworkTransport,
1542
1578
  hasRedirection,
1543
1579
  hasValidEditorCommand,
1544
1580
  hasValidEditorCommandAsync,
1581
+ hasWorktreeChanges,
1545
1582
  homedir,
1546
1583
  ideContextStore,
1547
1584
  initializeActivityMonitor,
@@ -1563,6 +1600,7 @@ export {
1563
1600
  isCloudShell,
1564
1601
  isCompletedAskUserTool,
1565
1602
  isCustomModel,
1603
+ isDumbTerminal,
1566
1604
  isEditToolParams,
1567
1605
  isEditorAvailable,
1568
1606
  isEditorAvailableAsync,
@@ -1571,12 +1609,15 @@ export {
1571
1609
  isFatalToolError,
1572
1610
  isGemini2Model,
1573
1611
  isGemini3Model,
1612
+ isGeminiWorktree,
1574
1613
  isGitRepository,
1614
+ isGnuScreen,
1575
1615
  isGuiEditor,
1576
1616
  isHeadlessMode,
1577
1617
  isInvalidArgumentError,
1578
1618
  isJetBrainsTerminal,
1579
1619
  isLoopbackHost,
1620
+ isLowColorTmux,
1580
1621
  isMcpToolAnnotation,
1581
1622
  isMcpToolName,
1582
1623
  isNightly,
@@ -1588,6 +1629,7 @@ export {
1588
1629
  isPrivateIp,
1589
1630
  isPrivateIpAsync,
1590
1631
  isProModel,
1632
+ isRecord,
1591
1633
  isRetryableError,
1592
1634
  isSchemaDepthError,
1593
1635
  isStable,
@@ -1596,6 +1638,7 @@ export {
1596
1638
  isSubpath,
1597
1639
  isTelemetrySdkInitialized,
1598
1640
  isTerminalEditor,
1641
+ isTmux,
1599
1642
  isTool,
1600
1643
  isToolCallResponseInfo,
1601
1644
  isUserActive,
@@ -1605,6 +1648,7 @@ export {
1605
1648
  isWindows10,
1606
1649
  isWithinRoot,
1607
1650
  isWriteFileToolParams,
1651
+ jsonToMarkdown,
1608
1652
  listExtensions,
1609
1653
  listMemoryFiles,
1610
1654
  loadAgentsFromDirectory,
@@ -1724,6 +1768,7 @@ export {
1724
1768
  resolveToRealPath,
1725
1769
  retryWithBackoff,
1726
1770
  runInDevTraceSpan,
1771
+ safeJsonToMarkdown,
1727
1772
  safeLiteralReplace,
1728
1773
  safeTemplateReplace,
1729
1774
  sanitizeAdminSettings,
@@ -1,11 +1,10 @@
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-6AQAEYFC.js";
3
- import "./chunk-37ZTTFQF.js";
2
+ import "./chunk-HFDLZAI6.js";
4
3
  import {
5
4
  CoreEvent,
6
5
  coreEvents,
7
6
  debugLogger
8
- } from "./chunk-C2LINL7G.js";
7
+ } from "./chunk-W5ORWYUB.js";
9
8
  import {
10
9
  wrapper_default
11
10
  } from "./chunk-664ZODQF.js";
@@ -821,7 +820,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
821
820
  return;
822
821
  }
823
822
  try {
824
- const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-AWPSKKKO.js");
823
+ const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-ULRCP5C6.js");
825
824
  const url = await startDevToolsServer(config);
826
825
  if (shouldLaunchBrowser()) {
827
826
  try {
@@ -1,11 +1,10 @@
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-5OVDZKPV.js";
3
- import "./chunk-37ZTTFQF.js";
2
+ import "./chunk-MIAZ3PM6.js";
4
3
  import {
5
4
  CoreEvent,
6
5
  coreEvents,
7
6
  debugLogger
8
- } from "./chunk-C2LINL7G.js";
7
+ } from "./chunk-W5ORWYUB.js";
9
8
  import {
10
9
  wrapper_default
11
10
  } from "./chunk-664ZODQF.js";
@@ -821,7 +820,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
821
820
  return;
822
821
  }
823
822
  try {
824
- const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-WOQEPX5R.js");
823
+ const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-RXTU4IDW.js");
825
824
  const url = await startDevToolsServer(config);
826
825
  if (shouldLaunchBrowser()) {
827
826
  try {
@@ -1,10 +1,9 @@
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-ELVZ5MKI.js";
3
- import "./chunk-37ZTTFQF.js";
2
+ import "./chunk-ZUXLXS2J.js";
4
3
  import {
5
4
  coreEvents,
6
5
  debugLogger
7
- } from "./chunk-QO53VEHI.js";
6
+ } from "./chunk-5725SFQR.js";
8
7
  import {
9
8
  wrapper_default
10
9
  } from "./chunk-664ZODQF.js";
@@ -820,7 +819,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
820
819
  return;
821
820
  }
822
821
  try {
823
- const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-ZWMLWHG7.js");
822
+ const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-GS2P42IT.js");
824
823
  const url = await startDevToolsServer(config);
825
824
  if (shouldLaunchBrowser()) {
826
825
  try {
@@ -1,11 +1,10 @@
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-WTYAEXC3.js";
3
- import "./chunk-37ZTTFQF.js";
2
+ import "./chunk-D7FYAQ3H.js";
4
3
  import {
5
4
  CoreEvent,
6
5
  coreEvents,
7
6
  debugLogger
8
- } from "./chunk-C2LINL7G.js";
7
+ } from "./chunk-W5ORWYUB.js";
9
8
  import {
10
9
  wrapper_default
11
10
  } from "./chunk-664ZODQF.js";
@@ -821,7 +820,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
821
820
  return;
822
821
  }
823
822
  try {
824
- const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-6LCHGUBD.js");
823
+ const { openBrowserSecurely, shouldLaunchBrowser } = await import("./dist-GAJJIGQH.js");
825
824
  const url = await startDevToolsServer(config);
826
825
  if (shouldLaunchBrowser()) {
827
826
  try {
@@ -234,6 +234,7 @@ import {
234
234
  ReadManyFilesTool,
235
235
  RecordingContentGenerator,
236
236
  ReleaseChannel,
237
+ RequiredMcpServerConfigSchema,
237
238
  ResourceRegistry,
238
239
  RetryableQuotaError,
239
240
  RewindEvent,
@@ -244,8 +245,11 @@ import {
244
245
  SERVICE_NAME,
245
246
  SESSION_FILE_PREFIX,
246
247
  SHELL_TOOL_NAMES,
248
+ SUBAGENT_CANCELLED_ERROR_MESSAGE,
249
+ SUBAGENT_REJECTED_ERROR_PREFIX,
247
250
  SYNTHETIC_THOUGHT_SIGNATURE,
248
251
  SYSTEM_FILE_EXCLUDES,
252
+ SandboxedFileSystemService,
249
253
  Scheduler,
250
254
  SemanticAttributes,
251
255
  SessionEndReason,
@@ -261,6 +265,7 @@ import {
261
265
  StartupProfiler,
262
266
  StreamEventType,
263
267
  StreamJsonFormatter,
268
+ SubagentActivityErrorType,
264
269
  TASK_TYPE_LABELS,
265
270
  TOOL_OUTPUTS_DIR,
266
271
  TRUSTED_MCP_SERVER_PRIORITY,
@@ -299,7 +304,9 @@ import {
299
304
  WebFetchFallbackAttemptEvent,
300
305
  WebFetchTool,
301
306
  WebSearchTool,
307
+ WindowsSandboxManager,
302
308
  WorkspaceContext,
309
+ WorktreeService,
303
310
  WriteFileTool,
304
311
  WriteTodosTool,
305
312
  _clearCache,
@@ -309,6 +316,7 @@ import {
309
316
  appendToLastTextPart,
310
317
  applyAdminAllowlist,
311
318
  applyReplacement,
319
+ applyRequiredServers,
312
320
  assumeExhaustive,
313
321
  authEvents,
314
322
  buildG1Url,
@@ -319,6 +327,7 @@ import {
319
327
  canUseRipgrep,
320
328
  checkExhaustive,
321
329
  classifyGoogleError,
330
+ cleanupWorktree,
322
331
  clearApiKey,
323
332
  clearCachedCredentialFile,
324
333
  clearEmittedPolicyWarnings,
@@ -345,6 +354,8 @@ import {
345
354
  createTransport,
346
355
  createUnauthorizedToolError,
347
356
  createWorkingStdio,
357
+ createWorktree,
358
+ createWorktreeService,
348
359
  decodeTagName,
349
360
  detectBOM,
350
361
  detectEncodingFromBuffer,
@@ -446,6 +457,7 @@ import {
446
457
  getPolicyDirectories,
447
458
  getPolicyTier,
448
459
  getPreviousSession,
460
+ getProjectRootForWorktree,
449
461
  getPromptIdWithFallback,
450
462
  getPty,
451
463
  getRealPath,
@@ -462,11 +474,13 @@ import {
462
474
  getToolSuggestion,
463
475
  getTruncatedCheckpointNames,
464
476
  getVersion,
477
+ getWorktreePath,
465
478
  handleFallback,
466
479
  hasNetworkTransport,
467
480
  hasRedirection,
468
481
  hasValidEditorCommand,
469
482
  hasValidEditorCommandAsync,
483
+ hasWorktreeChanges,
470
484
  ideContextStore,
471
485
  initializeActivityMonitor,
472
486
  initializeMemoryMonitor,
@@ -480,17 +494,21 @@ import {
480
494
  isBinaryFile,
481
495
  isCloudShell,
482
496
  isCompletedAskUserTool,
497
+ isDumbTerminal,
483
498
  isEditToolParams,
484
499
  isEditorAvailable,
485
500
  isEditorAvailableAsync,
486
501
  isEmpty,
487
502
  isEnabled,
503
+ isGeminiWorktree,
488
504
  isGitRepository,
505
+ isGnuScreen,
489
506
  isGuiEditor,
490
507
  isHeadlessMode,
491
508
  isInvalidArgumentError,
492
509
  isJetBrainsTerminal,
493
510
  isLoopbackHost,
511
+ isLowColorTmux,
494
512
  isNightly,
495
513
  isOverageEligibleModel,
496
514
  isPerformanceMonitoringActive,
@@ -504,6 +522,7 @@ import {
504
522
  isSubagentProgress,
505
523
  isTelemetrySdkInitialized,
506
524
  isTerminalEditor,
525
+ isTmux,
507
526
  isToolCallResponseInfo,
508
527
  isUserActive,
509
528
  isValidNonThoughtTextPart,
@@ -665,8 +684,7 @@ import {
665
684
  wrapInAccountChooser,
666
685
  writeToStderr,
667
686
  writeToStdout
668
- } from "./chunk-WTYAEXC3.js";
669
- import "./chunk-37ZTTFQF.js";
687
+ } from "./chunk-D7FYAQ3H.js";
670
688
  import {
671
689
  ACTIVATE_SKILL_TOOL_NAME,
672
690
  ALL_BUILTIN_TOOL_NAMES,
@@ -782,6 +800,7 @@ import {
782
800
  PREVIEW_GEMINI_MODEL,
783
801
  PREVIEW_GEMINI_MODEL_AUTO,
784
802
  PRIORITY_SUBAGENT_TOOL,
803
+ PRIORITY_YOLO_ALLOW_ALL,
785
804
  PolicyDecision,
786
805
  QuestionType,
787
806
  READ_FILE_DISPLAY_NAME,
@@ -863,9 +882,11 @@ import {
863
882
  isNodeError,
864
883
  isPreviewModel,
865
884
  isProModel,
885
+ isRecord,
866
886
  isSubpath,
867
887
  isTool,
868
888
  isValidToolName,
889
+ jsonToMarkdown,
869
890
  loadJitSubdirectoryMemory,
870
891
  loadServerHierarchicalMemory,
871
892
  makeRelative,
@@ -877,6 +898,7 @@ import {
877
898
  resolveClassifierModel,
878
899
  resolveModel,
879
900
  resolveToRealPath,
901
+ safeJsonToMarkdown,
880
902
  setGeminiMdFilename,
881
903
  shortenPath,
882
904
  supportsModernFeatures,
@@ -885,7 +907,7 @@ import {
885
907
  tmpdir,
886
908
  toFriendlyError,
887
909
  unescapePath
888
- } from "./chunk-C2LINL7G.js";
910
+ } from "./chunk-W5ORWYUB.js";
889
911
  import "./chunk-664ZODQF.js";
890
912
  import "./chunk-RJTRUG2J.js";
891
913
  import {
@@ -1228,6 +1250,7 @@ export {
1228
1250
  PREVIEW_GEMINI_MODEL,
1229
1251
  PREVIEW_GEMINI_MODEL_AUTO,
1230
1252
  PRIORITY_SUBAGENT_TOOL,
1253
+ PRIORITY_YOLO_ALLOW_ALL,
1231
1254
  PYTHON_EXCLUDES,
1232
1255
  PerformanceMetricType,
1233
1256
  PlanErrorMessages,
@@ -1256,6 +1279,7 @@ export {
1256
1279
  ReadManyFilesTool,
1257
1280
  RecordingContentGenerator,
1258
1281
  ReleaseChannel,
1282
+ RequiredMcpServerConfigSchema,
1259
1283
  ResourceRegistry,
1260
1284
  RetryableQuotaError,
1261
1285
  RewindEvent,
@@ -1272,8 +1296,11 @@ export {
1272
1296
  SHELL_TOOL_NAME,
1273
1297
  SHELL_TOOL_NAMES,
1274
1298
  SKILL_PARAM_NAME,
1299
+ SUBAGENT_CANCELLED_ERROR_MESSAGE,
1300
+ SUBAGENT_REJECTED_ERROR_PREFIX,
1275
1301
  SYNTHETIC_THOUGHT_SIGNATURE,
1276
1302
  SYSTEM_FILE_EXCLUDES,
1303
+ SandboxedFileSystemService,
1277
1304
  Scheduler,
1278
1305
  SchemaValidator,
1279
1306
  SemanticAttributes,
@@ -1292,6 +1319,7 @@ export {
1292
1319
  Storage,
1293
1320
  StreamEventType,
1294
1321
  StreamJsonFormatter,
1322
+ SubagentActivityErrorType,
1295
1323
  TASK_TYPE_LABELS,
1296
1324
  TODOS_ITEM_PARAM_DESCRIPTION,
1297
1325
  TODOS_ITEM_PARAM_STATUS,
@@ -1353,7 +1381,9 @@ export {
1353
1381
  WebFetchFallbackAttemptEvent,
1354
1382
  WebFetchTool,
1355
1383
  WebSearchTool,
1384
+ WindowsSandboxManager,
1356
1385
  WorkspaceContext,
1386
+ WorktreeService,
1357
1387
  WriteFileTool,
1358
1388
  WriteTodosTool,
1359
1389
  _clearCache,
@@ -1363,6 +1393,7 @@ export {
1363
1393
  appendToLastTextPart,
1364
1394
  applyAdminAllowlist,
1365
1395
  applyReplacement,
1396
+ applyRequiredServers,
1366
1397
  assumeExhaustive,
1367
1398
  authEvents,
1368
1399
  buildG1Url,
@@ -1374,6 +1405,7 @@ export {
1374
1405
  categorizeAndConcatenate,
1375
1406
  checkExhaustive,
1376
1407
  classifyGoogleError,
1408
+ cleanupWorktree,
1377
1409
  clearApiKey,
1378
1410
  clearCachedCredentialFile,
1379
1411
  clearEmittedPolicyWarnings,
@@ -1402,6 +1434,8 @@ export {
1402
1434
  createTransport,
1403
1435
  createUnauthorizedToolError,
1404
1436
  createWorkingStdio,
1437
+ createWorktree,
1438
+ createWorktreeService,
1405
1439
  debugLogger,
1406
1440
  decodeTagName,
1407
1441
  deduplicatePathsByFileIdentity,
@@ -1519,6 +1553,7 @@ export {
1519
1553
  getPolicyTier,
1520
1554
  getPreviousSession,
1521
1555
  getProjectHash,
1556
+ getProjectRootForWorktree,
1522
1557
  getPromptIdWithFallback,
1523
1558
  getPty,
1524
1559
  getRealPath,
@@ -1536,12 +1571,14 @@ export {
1536
1571
  getToolSuggestion,
1537
1572
  getTruncatedCheckpointNames,
1538
1573
  getVersion,
1574
+ getWorktreePath,
1539
1575
  handleFallback,
1540
1576
  hasCycleInSchema,
1541
1577
  hasNetworkTransport,
1542
1578
  hasRedirection,
1543
1579
  hasValidEditorCommand,
1544
1580
  hasValidEditorCommandAsync,
1581
+ hasWorktreeChanges,
1545
1582
  homedir,
1546
1583
  ideContextStore,
1547
1584
  initializeActivityMonitor,
@@ -1563,6 +1600,7 @@ export {
1563
1600
  isCloudShell,
1564
1601
  isCompletedAskUserTool,
1565
1602
  isCustomModel,
1603
+ isDumbTerminal,
1566
1604
  isEditToolParams,
1567
1605
  isEditorAvailable,
1568
1606
  isEditorAvailableAsync,
@@ -1571,12 +1609,15 @@ export {
1571
1609
  isFatalToolError,
1572
1610
  isGemini2Model,
1573
1611
  isGemini3Model,
1612
+ isGeminiWorktree,
1574
1613
  isGitRepository,
1614
+ isGnuScreen,
1575
1615
  isGuiEditor,
1576
1616
  isHeadlessMode,
1577
1617
  isInvalidArgumentError,
1578
1618
  isJetBrainsTerminal,
1579
1619
  isLoopbackHost,
1620
+ isLowColorTmux,
1580
1621
  isMcpToolAnnotation,
1581
1622
  isMcpToolName,
1582
1623
  isNightly,
@@ -1588,6 +1629,7 @@ export {
1588
1629
  isPrivateIp,
1589
1630
  isPrivateIpAsync,
1590
1631
  isProModel,
1632
+ isRecord,
1591
1633
  isRetryableError,
1592
1634
  isSchemaDepthError,
1593
1635
  isStable,
@@ -1596,6 +1638,7 @@ export {
1596
1638
  isSubpath,
1597
1639
  isTelemetrySdkInitialized,
1598
1640
  isTerminalEditor,
1641
+ isTmux,
1599
1642
  isTool,
1600
1643
  isToolCallResponseInfo,
1601
1644
  isUserActive,
@@ -1605,6 +1648,7 @@ export {
1605
1648
  isWindows10,
1606
1649
  isWithinRoot,
1607
1650
  isWriteFileToolParams,
1651
+ jsonToMarkdown,
1608
1652
  listExtensions,
1609
1653
  listMemoryFiles,
1610
1654
  loadAgentsFromDirectory,
@@ -1724,6 +1768,7 @@ export {
1724
1768
  resolveToRealPath,
1725
1769
  retryWithBackoff,
1726
1770
  runInDevTraceSpan,
1771
+ safeJsonToMarkdown,
1727
1772
  safeLiteralReplace,
1728
1773
  safeTemplateReplace,
1729
1774
  sanitizeAdminSettings,