@google/gemini-cli 0.36.0-preview.7 → 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.
- package/bundle/{chunk-NYCY3Q2B.js → chunk-3TN4SOLW.js} +6652 -4181
- package/bundle/{chunk-S2IQOR7T.js → chunk-7UZ4Y32N.js} +214 -66
- package/bundle/{chunk-2RCLDWUX.js → chunk-A62NZYIK.js} +8052 -2969
- package/bundle/{chunk-VA3P26WZ.js → chunk-LEK5YYAR.js} +6296 -4095
- package/bundle/{chunk-MYI75E6G.js → chunk-R5X4CMUM.js} +233 -70
- package/bundle/{chunk-EHC7O4TG.js → chunk-TJ76C6AA.js} +16848 -9497
- package/bundle/chunk-U4FACSVX.js +30 -0
- package/bundle/{chunk-APAYS2LE.js → chunk-ULC3DHVX.js} +8052 -2969
- package/bundle/{chunk-YTGZ6CSI.js → chunk-XX7JYMTE.js} +8106 -3035
- package/bundle/{core-BHH4RB6L.js → core-5OME6LT4.js} +58 -4
- package/bundle/{dist-SWQPYLLV.js → core-CUCGSGCA.js} +58 -4
- package/bundle/{devtoolsService-STAWBGOY.js → devtoolsService-4FIYD6OW.js} +20 -3
- package/bundle/{devtoolsService-GJALET3B.js → devtoolsService-IDLWLZFQ.js} +21 -5
- package/bundle/{devtoolsService-4QGIZO5B.js → devtoolsService-TVWW3DBW.js} +20 -3
- package/bundle/{dist-YOBWJF52.js → dist-YWCADMDD.js} +58 -4
- package/bundle/docs/CONTRIBUTING.md +10 -7
- package/bundle/docs/assets/theme-tokyonight-dark.png +0 -0
- package/bundle/docs/changelogs/index.md +24 -0
- package/bundle/docs/changelogs/latest.md +366 -459
- package/bundle/docs/changelogs/preview.md +362 -356
- package/bundle/docs/cli/acp-mode.md +126 -0
- package/bundle/docs/cli/cli-reference.md +1 -1
- package/bundle/docs/cli/notifications.md +5 -5
- package/bundle/docs/cli/plan-mode.md +12 -8
- package/bundle/docs/cli/sandbox.md +1 -1
- package/bundle/docs/cli/settings.md +14 -13
- package/bundle/docs/cli/themes.md +5 -0
- package/bundle/docs/core/index.md +2 -2
- package/bundle/docs/core/subagents.md +134 -23
- package/bundle/docs/get-started/gemini-3.md +1 -1
- package/bundle/docs/get-started/index.md +127 -1
- package/bundle/docs/ide-integration/index.md +99 -24
- package/bundle/docs/index.md +0 -2
- package/bundle/docs/redirects.json +1 -0
- package/bundle/docs/reference/commands.md +1 -3
- package/bundle/docs/reference/configuration.md +183 -92
- package/bundle/docs/reference/keyboard-shortcuts.md +14 -6
- package/bundle/docs/reference/policy-engine.md +16 -30
- package/bundle/docs/reference/tools.md +56 -23
- package/bundle/docs/resources/quota-and-pricing.md +23 -9
- package/bundle/docs/sidebar.json +11 -4
- package/bundle/docs/tools/planning.md +6 -4
- package/bundle/events-CLX3JQHP.js +12 -0
- package/bundle/gemini.js +342 -52
- package/bundle/{interactiveCli-YJFA3P4G.js → interactiveCli-4WFWOVAQ.js} +5079 -4022
- package/bundle/{interactiveCli-MEBWWWE7.js → interactiveCli-4ZZ72DR3.js} +5079 -4022
- package/bundle/{interactiveCli-B6Y3UISW.js → interactiveCli-6SIGBRWS.js} +5292 -4252
- package/bundle/{memoryDiscovery-BQGYT4OD.js → memoryDiscovery-NS2EGHYH.js} +3 -1
- package/bundle/{memoryDiscovery-FCEPFZ3M.js → memoryDiscovery-VL3OH25S.js} +3 -1
- package/bundle/node_modules/@google/gemini-cli-devtools/dist/client/main.js +26 -19
- package/bundle/node_modules/@google/gemini-cli-devtools/dist/src/_client-assets.d.ts +1 -1
- package/bundle/node_modules/@google/gemini-cli-devtools/dist/src/_client-assets.js +1 -1
- package/bundle/node_modules/@google/gemini-cli-devtools/dist/src/_client-assets.js.map +1 -1
- package/bundle/node_modules/@google/gemini-cli-devtools/dist/src/index.js +35 -1
- package/bundle/node_modules/@google/gemini-cli-devtools/dist/src/index.js.map +1 -1
- package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
- package/bundle/{oauth2-provider-TIKPJAVU.js → oauth2-provider-HGHECKPY.js} +2 -2
- package/bundle/{oauth2-provider-IGY3DL3D.js → oauth2-provider-TYBJKXSJ.js} +2 -2
- package/bundle/{oauth2-provider-DLPX23GY.js → oauth2-provider-YYRJ44X5.js} +73 -39
- package/bundle/policies/discovered.toml +7 -0
- package/bundle/policies/non-interactive.toml +7 -0
- package/bundle/policies/plan.toml +25 -0
- package/bundle/policies/read-only.toml +6 -0
- package/bundle/policies/sandbox-default.toml +3 -2
- package/bundle/policies/write.toml +21 -0
- package/bundle/policies/yolo.toml +1 -1
- package/package.json +1 -1
- package/bundle/chunk-GDBDMLKR.js +0 -354180
- package/bundle/chunk-QTVUHTZR.js +0 -93293
- package/bundle/devtoolsService-Q6LGZKTJ.js +0 -854
- package/bundle/dist-YHAAIIZP.js +0 -1886
- package/bundle/docs/get-started/examples.md +0 -141
- package/bundle/interactiveCli-HYY2W6AF.js +0 -49298
- package/bundle/oauth2-provider-MKUXMD5I.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
|
-
|
|
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-
|
|
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-
|
|
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
|
-
|
|
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
|
-
|
|
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-
|
|
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-
|
|
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
|
-
|
|
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-
|
|
2
|
+
import "./chunk-3TN4SOLW.js";
|
|
3
3
|
import {
|
|
4
4
|
coreEvents,
|
|
5
5
|
debugLogger
|
|
6
|
-
} from "./chunk-
|
|
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-
|
|
839
|
+
const { openBrowserSecurely, shouldLaunchBrowser } = await import("./core-CUCGSGCA.js");
|
|
823
840
|
const url = await startDevToolsServer(config);
|
|
824
841
|
if (shouldLaunchBrowser()) {
|
|
825
842
|
try {
|