@google/gemini-cli 0.36.0-preview.8 → 0.37.0-preview.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 (74) hide show
  1. package/bundle/{chunk-N22U7LIR.js → chunk-3TN4SOLW.js} +6651 -4180
  2. package/bundle/{chunk-S2IQOR7T.js → chunk-7UZ4Y32N.js} +214 -66
  3. package/bundle/{chunk-QBLIM2T2.js → chunk-A62NZYIK.js} +711 -240
  4. package/bundle/{chunk-5JDHTAA3.js → chunk-LEK5YYAR.js} +6295 -4094
  5. package/bundle/{chunk-MYI75E6G.js → chunk-R5X4CMUM.js} +233 -70
  6. package/bundle/{chunk-5Y6Y7SEB.js → chunk-TJ76C6AA.js} +16847 -9496
  7. package/bundle/chunk-U4FACSVX.js +30 -0
  8. package/bundle/{chunk-UUJ4JLTB.js → chunk-ULC3DHVX.js} +711 -240
  9. package/bundle/{chunk-642LNT3F.js → chunk-XX7JYMTE.js} +765 -306
  10. package/bundle/{core-N4UNRLQA.js → core-5OME6LT4.js} +58 -4
  11. package/bundle/{dist-HD2ZHBHJ.js → core-CUCGSGCA.js} +58 -4
  12. package/bundle/{devtoolsService-7D3WUF33.js → devtoolsService-4FIYD6OW.js} +20 -3
  13. package/bundle/{devtoolsService-NA7MR5UO.js → devtoolsService-IDLWLZFQ.js} +21 -5
  14. package/bundle/{devtoolsService-Y53ZUB56.js → devtoolsService-TVWW3DBW.js} +20 -3
  15. package/bundle/{dist-JYY2GAAR.js → dist-YWCADMDD.js} +58 -4
  16. package/bundle/docs/CONTRIBUTING.md +10 -7
  17. package/bundle/docs/assets/theme-tokyonight-dark.png +0 -0
  18. package/bundle/docs/changelogs/index.md +24 -0
  19. package/bundle/docs/changelogs/latest.md +366 -459
  20. package/bundle/docs/changelogs/preview.md +362 -356
  21. package/bundle/docs/cli/acp-mode.md +126 -0
  22. package/bundle/docs/cli/cli-reference.md +1 -1
  23. package/bundle/docs/cli/notifications.md +5 -5
  24. package/bundle/docs/cli/plan-mode.md +12 -8
  25. package/bundle/docs/cli/sandbox.md +1 -1
  26. package/bundle/docs/cli/settings.md +14 -13
  27. package/bundle/docs/cli/themes.md +5 -0
  28. package/bundle/docs/core/index.md +2 -2
  29. package/bundle/docs/core/subagents.md +134 -23
  30. package/bundle/docs/get-started/gemini-3.md +1 -1
  31. package/bundle/docs/get-started/index.md +127 -1
  32. package/bundle/docs/ide-integration/index.md +99 -24
  33. package/bundle/docs/index.md +0 -2
  34. package/bundle/docs/redirects.json +1 -0
  35. package/bundle/docs/reference/commands.md +1 -3
  36. package/bundle/docs/reference/configuration.md +182 -91
  37. package/bundle/docs/reference/keyboard-shortcuts.md +14 -6
  38. package/bundle/docs/reference/policy-engine.md +16 -30
  39. package/bundle/docs/reference/tools.md +56 -23
  40. package/bundle/docs/resources/quota-and-pricing.md +23 -9
  41. package/bundle/docs/sidebar.json +11 -4
  42. package/bundle/docs/tools/planning.md +6 -4
  43. package/bundle/events-CLX3JQHP.js +12 -0
  44. package/bundle/gemini.js +342 -52
  45. package/bundle/{interactiveCli-R5N55BDV.js → interactiveCli-4WFWOVAQ.js} +5066 -4010
  46. package/bundle/{interactiveCli-LFO7EWZS.js → interactiveCli-4ZZ72DR3.js} +5066 -4010
  47. package/bundle/{interactiveCli-2JRQPNZP.js → interactiveCli-6SIGBRWS.js} +5279 -4240
  48. package/bundle/{memoryDiscovery-BQGYT4OD.js → memoryDiscovery-NS2EGHYH.js} +3 -1
  49. package/bundle/{memoryDiscovery-FCEPFZ3M.js → memoryDiscovery-VL3OH25S.js} +3 -1
  50. package/bundle/node_modules/@google/gemini-cli-devtools/dist/client/main.js +26 -19
  51. package/bundle/node_modules/@google/gemini-cli-devtools/dist/src/_client-assets.d.ts +1 -1
  52. package/bundle/node_modules/@google/gemini-cli-devtools/dist/src/_client-assets.js +1 -1
  53. package/bundle/node_modules/@google/gemini-cli-devtools/dist/src/_client-assets.js.map +1 -1
  54. package/bundle/node_modules/@google/gemini-cli-devtools/dist/src/index.js +35 -1
  55. package/bundle/node_modules/@google/gemini-cli-devtools/dist/src/index.js.map +1 -1
  56. package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
  57. package/bundle/{oauth2-provider-2WD22PTI.js → oauth2-provider-HGHECKPY.js} +2 -2
  58. package/bundle/{oauth2-provider-QOWLZC44.js → oauth2-provider-TYBJKXSJ.js} +2 -2
  59. package/bundle/{oauth2-provider-34BPLPQX.js → oauth2-provider-YYRJ44X5.js} +73 -39
  60. package/bundle/policies/discovered.toml +7 -0
  61. package/bundle/policies/non-interactive.toml +7 -0
  62. package/bundle/policies/plan.toml +25 -0
  63. package/bundle/policies/read-only.toml +6 -0
  64. package/bundle/policies/sandbox-default.toml +3 -2
  65. package/bundle/policies/write.toml +21 -0
  66. package/bundle/policies/yolo.toml +1 -1
  67. package/package.json +1 -1
  68. package/bundle/chunk-FWCJAF6L.js +0 -97905
  69. package/bundle/chunk-X6CSYCBW.js +0 -354180
  70. package/bundle/devtoolsService-VU7N6PSG.js +0 -854
  71. package/bundle/dist-QEB25IFU.js +0 -1886
  72. package/bundle/docs/get-started/examples.md +0 -141
  73. package/bundle/interactiveCli-A6H7VTMC.js +0 -49299
  74. package/bundle/oauth2-provider-MZAUZWUS.js +0 -237
@@ -208,7 +208,9 @@ import {
208
208
  MemoryMonitor,
209
209
  MessageBus,
210
210
  MessageSenderType,
211
+ ModelConfigService,
211
212
  ModelNotFoundError,
213
+ ModelRouterService,
212
214
  ModelSlashCommandEvent,
213
215
  NO_EDITOR_AVAILABLE_ERROR,
214
216
  NetworkRetryAttemptEvent,
@@ -244,6 +246,7 @@ import {
244
246
  RewindEvent,
245
247
  RipGrepTool,
246
248
  SCROLLBACK_LIMIT,
249
+ SECRET_FILES,
247
250
  SECRET_PREFIX,
248
251
  SERVICE_DESCRIPTION,
249
252
  SERVICE_NAME,
@@ -331,6 +334,7 @@ import {
331
334
  calculateReplacement,
332
335
  canUseRipgrep,
333
336
  checkExhaustive,
337
+ checkPolicy,
334
338
  classifyGoogleError,
335
339
  cleanupWorktree,
336
340
  clearApiKey,
@@ -364,6 +368,8 @@ import {
364
368
  createWorktree,
365
369
  createWorktreeService,
366
370
  decodeTagName,
371
+ deleteSessionArtifactsAsync,
372
+ deleteSubagentSessionDirAndArtifactsAsync,
367
373
  detectBOM,
368
374
  detectEncodingFromBuffer,
369
375
  detectFileType,
@@ -393,12 +399,14 @@ import {
393
399
  execStreaming,
394
400
  exitAlternateScreen,
395
401
  extractExtensionsFromPatterns,
402
+ extractStringFromParseEntry,
396
403
  fetchAdminControls,
397
404
  fetchAdminControlsOnce,
398
405
  fetchWithTimeout,
399
406
  fileExists,
400
407
  filter,
401
408
  findGitRoot,
409
+ findSecretFiles,
402
410
  flatMapTextParts,
403
411
  flattenMemory,
404
412
  flushTelemetry,
@@ -429,6 +437,7 @@ import {
429
437
  getCheckpointInfoList,
430
438
  getCitations,
431
439
  getCodeAssistServer,
440
+ getCommandName,
432
441
  getCommandRoot,
433
442
  getCommandRoots,
434
443
  getCompatibilityWarnings,
@@ -462,7 +471,9 @@ import {
462
471
  getMemoryMonitor,
463
472
  getOauthClient,
464
473
  getPackageJson,
474
+ getPathIdentity,
465
475
  getPlanModeExitMessage,
476
+ getPolicyDenialError,
466
477
  getPolicyDirectories,
467
478
  getPolicyTier,
468
479
  getPreviousSession,
@@ -475,6 +486,7 @@ import {
475
486
  getResponseText,
476
487
  getResponseTextFromParts,
477
488
  getRetryErrorType,
489
+ getSecretFileFindArgs,
478
490
  getShellConfiguration,
479
491
  getSpecificMimeType,
480
492
  getStructuredResponse,
@@ -527,6 +539,7 @@ import {
527
539
  isPrivateIpAsync,
528
540
  isRetryableError,
529
541
  isSchemaDepthError,
542
+ isSecretFile,
530
543
  isStable,
531
544
  isStructuredError,
532
545
  isSubagentProgress,
@@ -592,6 +605,7 @@ import {
592
605
  openDiff,
593
606
  parseAgentMarkdown,
594
607
  parseAndFormatApiError,
608
+ parseBashCommandDetails,
595
609
  parseBooleanEnvFlag,
596
610
  parseCommandDetails,
597
611
  parsePrompt,
@@ -646,6 +660,7 @@ import {
646
660
  refreshMemory,
647
661
  removeMCPStatusChangeListener,
648
662
  resetApiKeyCacheForTesting,
663
+ resetBrowserSession,
649
664
  resetEncodingCache,
650
665
  resetOauthClientForTesting,
651
666
  resetUserDataCacheForTesting,
@@ -653,6 +668,7 @@ import {
653
668
  resolveEditorAsync,
654
669
  resolveExecutable,
655
670
  resolvePathFromEnv,
671
+ resolveSandboxPaths,
656
672
  resolveTelemetrySettings,
657
673
  retryWithBackoff,
658
674
  runInDevTraceSpan,
@@ -661,6 +677,7 @@ import {
661
677
  sanitizeAdminSettings,
662
678
  sanitizeFilenamePart,
663
679
  sanitizeHostname,
680
+ sanitizeOutput,
664
681
  sanitizePaths,
665
682
  saveApiKey,
666
683
  saveTruncatedToolOutput,
@@ -695,9 +712,11 @@ import {
695
712
  translateEvent,
696
713
  truncateFastAckInput,
697
714
  truncateString,
715
+ tryRealpath,
698
716
  uiTelemetryService,
699
717
  updateMCPServerStatus,
700
- validateBaseUrl,
718
+ updatePolicy,
719
+ validateAndSanitizeSessionId,
701
720
  validateMcpPolicyToolNames,
702
721
  validatePlanContent,
703
722
  validatePlanPath,
@@ -705,7 +724,7 @@ import {
705
724
  wrapInAccountChooser,
706
725
  writeToStderr,
707
726
  writeToStdout
708
- } from "./chunk-N22U7LIR.js";
727
+ } from "./chunk-TJ76C6AA.js";
709
728
  import {
710
729
  ACTIVATE_SKILL_TOOL_NAME,
711
730
  ALL_BUILTIN_TOOL_NAMES,
@@ -850,6 +869,9 @@ import {
850
869
  TODOS_PARAM_TODOS,
851
870
  TOOLS_REQUIRING_NARROWING,
852
871
  TOOL_LEGACY_ALIASES,
872
+ TOPIC_PARAM_STRATEGIC_INTENT,
873
+ TOPIC_PARAM_SUMMARY,
874
+ TOPIC_PARAM_TITLE,
853
875
  TRACKER_ADD_DEPENDENCY_TOOL_NAME,
854
876
  TRACKER_CREATE_TASK_TOOL_NAME,
855
877
  TRACKER_GET_TASK_TOOL_NAME,
@@ -858,6 +880,8 @@ import {
858
880
  TRACKER_VISUALIZE_TOOL_NAME,
859
881
  ToolConfirmationOutcome,
860
882
  ToolErrorType,
883
+ UPDATE_TOPIC_DISPLAY_NAME,
884
+ UPDATE_TOPIC_TOOL_NAME,
861
885
  UnauthorizedError,
862
886
  VALID_GEMINI_MODELS,
863
887
  WEB_FETCH_DISPLAY_NAME,
@@ -889,7 +913,9 @@ import {
889
913
  getGlobalMemoryPaths,
890
914
  getHookSource,
891
915
  getProjectHash,
916
+ getProjectMemoryFilePath,
892
917
  getToolAliases,
918
+ getUserProjectMemoryPaths,
893
919
  hasCycleInSchema,
894
920
  hasSummary,
895
921
  homedir,
@@ -911,6 +937,7 @@ import {
911
937
  isNodeError,
912
938
  isPreviewModel,
913
939
  isProModel,
940
+ isReadManyFilesResult,
914
941
  isRecord,
915
942
  isStructuredToolResult,
916
943
  isSubpath,
@@ -937,7 +964,7 @@ import {
937
964
  tmpdir,
938
965
  toFriendlyError,
939
966
  unescapePath
940
- } from "./chunk-MYI75E6G.js";
967
+ } from "./chunk-R5X4CMUM.js";
941
968
  import "./chunk-664ZODQF.js";
942
969
  import "./chunk-RJTRUG2J.js";
943
970
  import {
@@ -1252,7 +1279,9 @@ export {
1252
1279
  MessageBus,
1253
1280
  MessageBusType,
1254
1281
  MessageSenderType,
1282
+ ModelConfigService,
1255
1283
  ModelNotFoundError,
1284
+ ModelRouterService,
1256
1285
  ModelSlashCommandEvent,
1257
1286
  NO_EDITOR_AVAILABLE_ERROR,
1258
1287
  NetworkRetryAttemptEvent,
@@ -1321,6 +1350,7 @@ export {
1321
1350
  RewindEvent,
1322
1351
  RipGrepTool,
1323
1352
  SCROLLBACK_LIMIT,
1353
+ SECRET_FILES,
1324
1354
  SECRET_KEY_ACCOUNT,
1325
1355
  SECRET_PREFIX,
1326
1356
  SERVICE_DESCRIPTION,
@@ -1362,6 +1392,9 @@ export {
1362
1392
  TOOLS_REQUIRING_NARROWING,
1363
1393
  TOOL_LEGACY_ALIASES,
1364
1394
  TOOL_OUTPUTS_DIR,
1395
+ TOPIC_PARAM_STRATEGIC_INTENT,
1396
+ TOPIC_PARAM_SUMMARY,
1397
+ TOPIC_PARAM_TITLE,
1365
1398
  TRACKER_ADD_DEPENDENCY_TOOL_NAME,
1366
1399
  TRACKER_CREATE_TASK_TOOL_NAME,
1367
1400
  TRACKER_GET_TASK_TOOL_NAME,
@@ -1392,6 +1425,8 @@ export {
1392
1425
  TrackerUpdateTaskTool,
1393
1426
  TrackerVisualizeTool,
1394
1427
  Turn,
1428
+ UPDATE_TOPIC_DISPLAY_NAME,
1429
+ UPDATE_TOPIC_TOOL_NAME,
1395
1430
  UPGRADE_URL_PAGE,
1396
1431
  USER_POLICY_TIER,
1397
1432
  USER_STEERING_INSTRUCTION,
@@ -1443,6 +1478,7 @@ export {
1443
1478
  canUseRipgrep,
1444
1479
  categorizeAndConcatenate,
1445
1480
  checkExhaustive,
1481
+ checkPolicy,
1446
1482
  classifyGoogleError,
1447
1483
  cleanupWorktree,
1448
1484
  clearApiKey,
@@ -1480,6 +1516,8 @@ export {
1480
1516
  debugLogger,
1481
1517
  decodeTagName,
1482
1518
  deduplicatePathsByFileIdentity,
1519
+ deleteSessionArtifactsAsync,
1520
+ deleteSubagentSessionDirAndArtifactsAsync,
1483
1521
  detectBOM,
1484
1522
  detectEncodingFromBuffer,
1485
1523
  detectFileType,
@@ -1510,12 +1548,14 @@ export {
1510
1548
  execStreaming,
1511
1549
  exitAlternateScreen,
1512
1550
  extractExtensionsFromPatterns,
1551
+ extractStringFromParseEntry,
1513
1552
  fetchAdminControls,
1514
1553
  fetchAdminControlsOnce,
1515
1554
  fetchWithTimeout,
1516
1555
  fileExists,
1517
1556
  filter,
1518
1557
  findGitRoot,
1558
+ findSecretFiles,
1519
1559
  flatMapTextParts,
1520
1560
  flattenMemory,
1521
1561
  flushTelemetry,
@@ -1549,6 +1589,7 @@ export {
1549
1589
  getCheckpointInfoList,
1550
1590
  getCitations,
1551
1591
  getCodeAssistServer,
1592
+ getCommandName,
1552
1593
  getCommandRoot,
1553
1594
  getCommandRoots,
1554
1595
  getCompatibilityWarnings,
@@ -1591,11 +1632,14 @@ export {
1591
1632
  getMemoryMonitor,
1592
1633
  getOauthClient,
1593
1634
  getPackageJson,
1635
+ getPathIdentity,
1594
1636
  getPlanModeExitMessage,
1637
+ getPolicyDenialError,
1595
1638
  getPolicyDirectories,
1596
1639
  getPolicyTier,
1597
1640
  getPreviousSession,
1598
1641
  getProjectHash,
1642
+ getProjectMemoryFilePath,
1599
1643
  getProjectRootForWorktree,
1600
1644
  getPromptIdWithFallback,
1601
1645
  getPty,
@@ -1605,6 +1649,7 @@ export {
1605
1649
  getResponseText,
1606
1650
  getResponseTextFromParts,
1607
1651
  getRetryErrorType,
1652
+ getSecretFileFindArgs,
1608
1653
  getShellConfiguration,
1609
1654
  getSpecificMimeType,
1610
1655
  getStructuredResponse,
@@ -1614,6 +1659,7 @@ export {
1614
1659
  getToolCallDataSchema,
1615
1660
  getToolSuggestion,
1616
1661
  getTruncatedCheckpointNames,
1662
+ getUserProjectMemoryPaths,
1617
1663
  getVersion,
1618
1664
  getWorktreePath,
1619
1665
  handleFallback,
@@ -1677,9 +1723,11 @@ export {
1677
1723
  isPrivateIp,
1678
1724
  isPrivateIpAsync,
1679
1725
  isProModel,
1726
+ isReadManyFilesResult,
1680
1727
  isRecord,
1681
1728
  isRetryableError,
1682
1729
  isSchemaDepthError,
1730
+ isSecretFile,
1683
1731
  isStable,
1684
1732
  isStructuredError,
1685
1733
  isStructuredToolResult,
@@ -1754,6 +1802,7 @@ export {
1754
1802
  openDiff,
1755
1803
  parseAgentMarkdown,
1756
1804
  parseAndFormatApiError,
1805
+ parseBashCommandDetails,
1757
1806
  parseBooleanEnvFlag,
1758
1807
  parseCommandDetails,
1759
1808
  parseGoogleApiError,
@@ -1812,6 +1861,7 @@ export {
1812
1861
  refreshServerHierarchicalMemory,
1813
1862
  removeMCPStatusChangeListener,
1814
1863
  resetApiKeyCacheForTesting,
1864
+ resetBrowserSession,
1815
1865
  resetEncodingCache,
1816
1866
  resetOauthClientForTesting,
1817
1867
  resetUserDataCacheForTesting,
@@ -1821,6 +1871,7 @@ export {
1821
1871
  resolveExecutable,
1822
1872
  resolveModel,
1823
1873
  resolvePathFromEnv,
1874
+ resolveSandboxPaths,
1824
1875
  resolveTelemetrySettings,
1825
1876
  resolveToRealPath,
1826
1877
  retryWithBackoff,
@@ -1831,6 +1882,7 @@ export {
1831
1882
  sanitizeAdminSettings,
1832
1883
  sanitizeFilenamePart,
1833
1884
  sanitizeHostname,
1885
+ sanitizeOutput,
1834
1886
  sanitizePaths,
1835
1887
  saveApiKey,
1836
1888
  saveTruncatedToolOutput,
@@ -1872,10 +1924,12 @@ export {
1872
1924
  translateEvent,
1873
1925
  truncateFastAckInput,
1874
1926
  truncateString,
1927
+ tryRealpath,
1875
1928
  uiTelemetryService,
1876
1929
  unescapePath,
1877
1930
  updateMCPServerStatus,
1878
- validateBaseUrl,
1931
+ updatePolicy,
1932
+ validateAndSanitizeSessionId,
1879
1933
  validateMcpPolicyToolNames,
1880
1934
  validatePlanContent,
1881
1935
  validatePlanPath,
@@ -208,7 +208,9 @@ import {
208
208
  MemoryMonitor,
209
209
  MessageBus,
210
210
  MessageSenderType,
211
+ ModelConfigService,
211
212
  ModelNotFoundError,
213
+ ModelRouterService,
212
214
  ModelSlashCommandEvent,
213
215
  NO_EDITOR_AVAILABLE_ERROR,
214
216
  NetworkRetryAttemptEvent,
@@ -244,6 +246,7 @@ import {
244
246
  RewindEvent,
245
247
  RipGrepTool,
246
248
  SCROLLBACK_LIMIT,
249
+ SECRET_FILES,
247
250
  SECRET_PREFIX,
248
251
  SERVICE_DESCRIPTION,
249
252
  SERVICE_NAME,
@@ -331,6 +334,7 @@ import {
331
334
  calculateReplacement,
332
335
  canUseRipgrep,
333
336
  checkExhaustive,
337
+ checkPolicy,
334
338
  classifyGoogleError,
335
339
  cleanupWorktree,
336
340
  clearApiKey,
@@ -364,6 +368,8 @@ import {
364
368
  createWorktree,
365
369
  createWorktreeService,
366
370
  decodeTagName,
371
+ deleteSessionArtifactsAsync,
372
+ deleteSubagentSessionDirAndArtifactsAsync,
367
373
  detectBOM,
368
374
  detectEncodingFromBuffer,
369
375
  detectFileType,
@@ -393,12 +399,14 @@ import {
393
399
  execStreaming,
394
400
  exitAlternateScreen,
395
401
  extractExtensionsFromPatterns,
402
+ extractStringFromParseEntry,
396
403
  fetchAdminControls,
397
404
  fetchAdminControlsOnce,
398
405
  fetchWithTimeout,
399
406
  fileExists,
400
407
  filter,
401
408
  findGitRoot,
409
+ findSecretFiles,
402
410
  flatMapTextParts,
403
411
  flattenMemory,
404
412
  flushTelemetry,
@@ -429,6 +437,7 @@ import {
429
437
  getCheckpointInfoList,
430
438
  getCitations,
431
439
  getCodeAssistServer,
440
+ getCommandName,
432
441
  getCommandRoot,
433
442
  getCommandRoots,
434
443
  getCompatibilityWarnings,
@@ -462,7 +471,9 @@ import {
462
471
  getMemoryMonitor,
463
472
  getOauthClient,
464
473
  getPackageJson,
474
+ getPathIdentity,
465
475
  getPlanModeExitMessage,
476
+ getPolicyDenialError,
466
477
  getPolicyDirectories,
467
478
  getPolicyTier,
468
479
  getPreviousSession,
@@ -475,6 +486,7 @@ import {
475
486
  getResponseText,
476
487
  getResponseTextFromParts,
477
488
  getRetryErrorType,
489
+ getSecretFileFindArgs,
478
490
  getShellConfiguration,
479
491
  getSpecificMimeType,
480
492
  getStructuredResponse,
@@ -527,6 +539,7 @@ import {
527
539
  isPrivateIpAsync,
528
540
  isRetryableError,
529
541
  isSchemaDepthError,
542
+ isSecretFile,
530
543
  isStable,
531
544
  isStructuredError,
532
545
  isSubagentProgress,
@@ -592,6 +605,7 @@ import {
592
605
  openDiff,
593
606
  parseAgentMarkdown,
594
607
  parseAndFormatApiError,
608
+ parseBashCommandDetails,
595
609
  parseBooleanEnvFlag,
596
610
  parseCommandDetails,
597
611
  parsePrompt,
@@ -646,6 +660,7 @@ import {
646
660
  refreshMemory,
647
661
  removeMCPStatusChangeListener,
648
662
  resetApiKeyCacheForTesting,
663
+ resetBrowserSession,
649
664
  resetEncodingCache,
650
665
  resetOauthClientForTesting,
651
666
  resetUserDataCacheForTesting,
@@ -653,6 +668,7 @@ import {
653
668
  resolveEditorAsync,
654
669
  resolveExecutable,
655
670
  resolvePathFromEnv,
671
+ resolveSandboxPaths,
656
672
  resolveTelemetrySettings,
657
673
  retryWithBackoff,
658
674
  runInDevTraceSpan,
@@ -661,6 +677,7 @@ import {
661
677
  sanitizeAdminSettings,
662
678
  sanitizeFilenamePart,
663
679
  sanitizeHostname,
680
+ sanitizeOutput,
664
681
  sanitizePaths,
665
682
  saveApiKey,
666
683
  saveTruncatedToolOutput,
@@ -695,9 +712,11 @@ import {
695
712
  translateEvent,
696
713
  truncateFastAckInput,
697
714
  truncateString,
715
+ tryRealpath,
698
716
  uiTelemetryService,
699
717
  updateMCPServerStatus,
700
- validateBaseUrl,
718
+ updatePolicy,
719
+ validateAndSanitizeSessionId,
701
720
  validateMcpPolicyToolNames,
702
721
  validatePlanContent,
703
722
  validatePlanPath,
@@ -705,7 +724,7 @@ import {
705
724
  wrapInAccountChooser,
706
725
  writeToStderr,
707
726
  writeToStdout
708
- } from "./chunk-X6CSYCBW.js";
727
+ } from "./chunk-3TN4SOLW.js";
709
728
  import {
710
729
  ACTIVATE_SKILL_TOOL_NAME,
711
730
  ALL_BUILTIN_TOOL_NAMES,
@@ -850,6 +869,9 @@ import {
850
869
  TODOS_PARAM_TODOS,
851
870
  TOOLS_REQUIRING_NARROWING,
852
871
  TOOL_LEGACY_ALIASES,
872
+ TOPIC_PARAM_STRATEGIC_INTENT,
873
+ TOPIC_PARAM_SUMMARY,
874
+ TOPIC_PARAM_TITLE,
853
875
  TRACKER_ADD_DEPENDENCY_TOOL_NAME,
854
876
  TRACKER_CREATE_TASK_TOOL_NAME,
855
877
  TRACKER_GET_TASK_TOOL_NAME,
@@ -858,6 +880,8 @@ import {
858
880
  TRACKER_VISUALIZE_TOOL_NAME,
859
881
  ToolConfirmationOutcome,
860
882
  ToolErrorType,
883
+ UPDATE_TOPIC_DISPLAY_NAME,
884
+ UPDATE_TOPIC_TOOL_NAME,
861
885
  UnauthorizedError,
862
886
  VALID_GEMINI_MODELS,
863
887
  WEB_FETCH_DISPLAY_NAME,
@@ -889,7 +913,9 @@ import {
889
913
  getGlobalMemoryPaths,
890
914
  getHookSource,
891
915
  getProjectHash,
916
+ getProjectMemoryFilePath,
892
917
  getToolAliases,
918
+ getUserProjectMemoryPaths,
893
919
  hasCycleInSchema,
894
920
  hasSummary,
895
921
  homedir,
@@ -911,6 +937,7 @@ import {
911
937
  isNodeError,
912
938
  isPreviewModel,
913
939
  isProModel,
940
+ isReadManyFilesResult,
914
941
  isRecord,
915
942
  isStructuredToolResult,
916
943
  isSubpath,
@@ -937,7 +964,7 @@ import {
937
964
  tmpdir,
938
965
  toFriendlyError,
939
966
  unescapePath
940
- } from "./chunk-S2IQOR7T.js";
967
+ } from "./chunk-R5X4CMUM.js";
941
968
  import "./chunk-664ZODQF.js";
942
969
  import "./chunk-RJTRUG2J.js";
943
970
  import {
@@ -1252,7 +1279,9 @@ export {
1252
1279
  MessageBus,
1253
1280
  MessageBusType,
1254
1281
  MessageSenderType,
1282
+ ModelConfigService,
1255
1283
  ModelNotFoundError,
1284
+ ModelRouterService,
1256
1285
  ModelSlashCommandEvent,
1257
1286
  NO_EDITOR_AVAILABLE_ERROR,
1258
1287
  NetworkRetryAttemptEvent,
@@ -1321,6 +1350,7 @@ export {
1321
1350
  RewindEvent,
1322
1351
  RipGrepTool,
1323
1352
  SCROLLBACK_LIMIT,
1353
+ SECRET_FILES,
1324
1354
  SECRET_KEY_ACCOUNT,
1325
1355
  SECRET_PREFIX,
1326
1356
  SERVICE_DESCRIPTION,
@@ -1362,6 +1392,9 @@ export {
1362
1392
  TOOLS_REQUIRING_NARROWING,
1363
1393
  TOOL_LEGACY_ALIASES,
1364
1394
  TOOL_OUTPUTS_DIR,
1395
+ TOPIC_PARAM_STRATEGIC_INTENT,
1396
+ TOPIC_PARAM_SUMMARY,
1397
+ TOPIC_PARAM_TITLE,
1365
1398
  TRACKER_ADD_DEPENDENCY_TOOL_NAME,
1366
1399
  TRACKER_CREATE_TASK_TOOL_NAME,
1367
1400
  TRACKER_GET_TASK_TOOL_NAME,
@@ -1392,6 +1425,8 @@ export {
1392
1425
  TrackerUpdateTaskTool,
1393
1426
  TrackerVisualizeTool,
1394
1427
  Turn,
1428
+ UPDATE_TOPIC_DISPLAY_NAME,
1429
+ UPDATE_TOPIC_TOOL_NAME,
1395
1430
  UPGRADE_URL_PAGE,
1396
1431
  USER_POLICY_TIER,
1397
1432
  USER_STEERING_INSTRUCTION,
@@ -1443,6 +1478,7 @@ export {
1443
1478
  canUseRipgrep,
1444
1479
  categorizeAndConcatenate,
1445
1480
  checkExhaustive,
1481
+ checkPolicy,
1446
1482
  classifyGoogleError,
1447
1483
  cleanupWorktree,
1448
1484
  clearApiKey,
@@ -1480,6 +1516,8 @@ export {
1480
1516
  debugLogger,
1481
1517
  decodeTagName,
1482
1518
  deduplicatePathsByFileIdentity,
1519
+ deleteSessionArtifactsAsync,
1520
+ deleteSubagentSessionDirAndArtifactsAsync,
1483
1521
  detectBOM,
1484
1522
  detectEncodingFromBuffer,
1485
1523
  detectFileType,
@@ -1510,12 +1548,14 @@ export {
1510
1548
  execStreaming,
1511
1549
  exitAlternateScreen,
1512
1550
  extractExtensionsFromPatterns,
1551
+ extractStringFromParseEntry,
1513
1552
  fetchAdminControls,
1514
1553
  fetchAdminControlsOnce,
1515
1554
  fetchWithTimeout,
1516
1555
  fileExists,
1517
1556
  filter,
1518
1557
  findGitRoot,
1558
+ findSecretFiles,
1519
1559
  flatMapTextParts,
1520
1560
  flattenMemory,
1521
1561
  flushTelemetry,
@@ -1549,6 +1589,7 @@ export {
1549
1589
  getCheckpointInfoList,
1550
1590
  getCitations,
1551
1591
  getCodeAssistServer,
1592
+ getCommandName,
1552
1593
  getCommandRoot,
1553
1594
  getCommandRoots,
1554
1595
  getCompatibilityWarnings,
@@ -1591,11 +1632,14 @@ export {
1591
1632
  getMemoryMonitor,
1592
1633
  getOauthClient,
1593
1634
  getPackageJson,
1635
+ getPathIdentity,
1594
1636
  getPlanModeExitMessage,
1637
+ getPolicyDenialError,
1595
1638
  getPolicyDirectories,
1596
1639
  getPolicyTier,
1597
1640
  getPreviousSession,
1598
1641
  getProjectHash,
1642
+ getProjectMemoryFilePath,
1599
1643
  getProjectRootForWorktree,
1600
1644
  getPromptIdWithFallback,
1601
1645
  getPty,
@@ -1605,6 +1649,7 @@ export {
1605
1649
  getResponseText,
1606
1650
  getResponseTextFromParts,
1607
1651
  getRetryErrorType,
1652
+ getSecretFileFindArgs,
1608
1653
  getShellConfiguration,
1609
1654
  getSpecificMimeType,
1610
1655
  getStructuredResponse,
@@ -1614,6 +1659,7 @@ export {
1614
1659
  getToolCallDataSchema,
1615
1660
  getToolSuggestion,
1616
1661
  getTruncatedCheckpointNames,
1662
+ getUserProjectMemoryPaths,
1617
1663
  getVersion,
1618
1664
  getWorktreePath,
1619
1665
  handleFallback,
@@ -1677,9 +1723,11 @@ export {
1677
1723
  isPrivateIp,
1678
1724
  isPrivateIpAsync,
1679
1725
  isProModel,
1726
+ isReadManyFilesResult,
1680
1727
  isRecord,
1681
1728
  isRetryableError,
1682
1729
  isSchemaDepthError,
1730
+ isSecretFile,
1683
1731
  isStable,
1684
1732
  isStructuredError,
1685
1733
  isStructuredToolResult,
@@ -1754,6 +1802,7 @@ export {
1754
1802
  openDiff,
1755
1803
  parseAgentMarkdown,
1756
1804
  parseAndFormatApiError,
1805
+ parseBashCommandDetails,
1757
1806
  parseBooleanEnvFlag,
1758
1807
  parseCommandDetails,
1759
1808
  parseGoogleApiError,
@@ -1812,6 +1861,7 @@ export {
1812
1861
  refreshServerHierarchicalMemory,
1813
1862
  removeMCPStatusChangeListener,
1814
1863
  resetApiKeyCacheForTesting,
1864
+ resetBrowserSession,
1815
1865
  resetEncodingCache,
1816
1866
  resetOauthClientForTesting,
1817
1867
  resetUserDataCacheForTesting,
@@ -1821,6 +1871,7 @@ export {
1821
1871
  resolveExecutable,
1822
1872
  resolveModel,
1823
1873
  resolvePathFromEnv,
1874
+ resolveSandboxPaths,
1824
1875
  resolveTelemetrySettings,
1825
1876
  resolveToRealPath,
1826
1877
  retryWithBackoff,
@@ -1831,6 +1882,7 @@ export {
1831
1882
  sanitizeAdminSettings,
1832
1883
  sanitizeFilenamePart,
1833
1884
  sanitizeHostname,
1885
+ sanitizeOutput,
1834
1886
  sanitizePaths,
1835
1887
  saveApiKey,
1836
1888
  saveTruncatedToolOutput,
@@ -1872,10 +1924,12 @@ export {
1872
1924
  translateEvent,
1873
1925
  truncateFastAckInput,
1874
1926
  truncateString,
1927
+ tryRealpath,
1875
1928
  uiTelemetryService,
1876
1929
  unescapePath,
1877
1930
  updateMCPServerStatus,
1878
- validateBaseUrl,
1931
+ updatePolicy,
1932
+ validateAndSanitizeSessionId,
1879
1933
  validateMcpPolicyToolNames,
1880
1934
  validatePlanContent,
1881
1935
  validatePlanPath,
@@ -1,9 +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-N22U7LIR.js";
2
+ import "./chunk-3TN4SOLW.js";
3
3
  import {
4
4
  coreEvents,
5
5
  debugLogger
6
- } from "./chunk-MYI75E6G.js";
6
+ } from "./chunk-R5X4CMUM.js";
7
7
  import {
8
8
  wrapper_default
9
9
  } from "./chunk-664ZODQF.js";
@@ -550,6 +550,23 @@ function setupNetworkLogging(capture, host, port, config, onReconnectFailed) {
550
550
  }, 15e3);
551
551
  flushBuffer();
552
552
  break;
553
+ case "trigger-debugger": {
554
+ import("node:inspector").then((inspector) => {
555
+ inspector.open();
556
+ debugLogger.log(
557
+ "Node debugger attached. Open chrome://inspect in Chrome to start debugging."
558
+ );
559
+ return import("./events-CLX3JQHP.js");
560
+ }).then(({ appEvents, AppEvent, TransientMessageType }) => {
561
+ appEvents.emit(AppEvent.TransientMessage, {
562
+ message: "Debugger attached from DevTools.",
563
+ type: TransientMessageType.Hint
564
+ });
565
+ }).catch(
566
+ (err) => debugLogger.debug("Failed to trigger debugger:", err)
567
+ );
568
+ break;
569
+ }
553
570
  case "ping":
554
571
  sendMessage({ type: "pong", timestamp: Date.now() });
555
572
  break;
@@ -819,7 +836,7 @@ async function toggleDevToolsPanel(config, isOpen, toggle, setOpen) {
819
836
  return;
820
837
  }
821
838
  try {
822
- const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-N4UNRLQA.js");
839
+ const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-CUCGSGCA.js");
823
840
  const url = await startDevToolsServer(config);
824
841
  if (shouldLaunchBrowser()) {
825
842
  try {