@mmmbuto/gemini-cli-termux 0.30.3-termux → 0.30.5-termux
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/README.md +42 -193
- package/bundle/docs/cli/settings.md +8 -9
- package/bundle/docs/extensions/reference.md +14 -38
- package/bundle/docs/hooks/reference.md +0 -8
- package/bundle/docs/reference/configuration.md +0 -8
- package/bundle/gemini.js +10730 -11704
- package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
- package/bundle/package.json +2 -1
- package/package.json +67 -5
- package/packages/cli/dist/index.js +0 -0
- package/packages/cli/dist/package.json +2 -2
- package/packages/cli/dist/src/commands/extensions/examples/custom-commands/gemini-extension.json +2 -2
- package/packages/cli/dist/src/commands/extensions/examples/exclude-tools/gemini-extension.json +3 -3
- package/packages/cli/dist/src/commands/extensions/examples/hooks/gemini-extension.json +2 -2
- package/packages/cli/dist/src/commands/extensions/examples/hooks/hooks/hooks.json +11 -11
- package/packages/cli/dist/src/commands/extensions/examples/mcp-server/example.js +1 -1
- package/packages/cli/dist/src/commands/extensions/examples/mcp-server/gemini-extension.json +8 -8
- package/packages/cli/dist/src/commands/extensions/examples/mcp-server/package.json +9 -9
- package/packages/cli/dist/src/commands/extensions/examples/skills/gemini-extension.json +2 -2
- package/packages/cli/dist/src/commands/extensions/examples/themes-example/README.md +8 -5
- package/packages/cli/dist/src/commands/extensions/examples/themes-example/gemini-extension.json +27 -27
- package/packages/cli/dist/src/config/config.js +4 -65
- package/packages/cli/dist/src/config/config.js.map +1 -1
- package/packages/cli/dist/src/config/settingsSchema.d.ts +1 -235
- package/packages/cli/dist/src/config/settingsSchema.js +1 -235
- package/packages/cli/dist/src/config/settingsSchema.js.map +1 -1
- package/packages/cli/dist/src/gemini.js +0 -2
- package/packages/cli/dist/src/gemini.js.map +1 -1
- package/packages/cli/dist/src/generated/git-commit.d.ts +2 -2
- package/packages/cli/dist/src/generated/git-commit.js +2 -2
- package/packages/cli/dist/src/patches/empty-module.d.ts +2 -0
- package/packages/cli/dist/src/patches/empty-module.js +2 -0
- package/packages/cli/dist/src/patches/empty-module.js.map +1 -0
- package/packages/cli/dist/src/services/McpPromptLoader.js +3 -6
- package/packages/cli/dist/src/services/McpPromptLoader.js.map +1 -1
- package/packages/cli/dist/src/ui/components/AgentConfigDialog.js +19 -5
- package/packages/cli/dist/src/ui/components/AgentConfigDialog.js.map +1 -1
- package/packages/cli/dist/src/ui/components/AgentConfigDialog.test.js +41 -19
- package/packages/cli/dist/src/ui/components/AgentConfigDialog.test.js.map +1 -1
- package/packages/cli/dist/src/ui/components/DialogManager.d.ts +1 -1
- package/packages/cli/dist/src/ui/components/DialogManager.js +34 -7
- package/packages/cli/dist/src/ui/components/DialogManager.js.map +1 -1
- package/packages/cli/dist/src/ui/components/InputPrompt.d.ts +9 -0
- package/packages/cli/dist/src/ui/components/InputPrompt.js +350 -125
- package/packages/cli/dist/src/ui/components/InputPrompt.js.map +1 -1
- package/packages/cli/dist/src/ui/components/InputPrompt.test.js +788 -35
- package/packages/cli/dist/src/ui/components/InputPrompt.test.js.map +1 -1
- package/packages/cli/dist/src/ui/components/messages/ShellToolMessage.js +2 -2
- package/packages/cli/dist/src/ui/components/messages/ShellToolMessage.js.map +1 -1
- package/packages/cli/dist/src/ui/components/messages/ToolConfirmationMessage.js +4 -77
- package/packages/cli/dist/src/ui/components/messages/ToolConfirmationMessage.js.map +1 -1
- package/packages/cli/dist/src/ui/components/messages/ToolConfirmationMessage.test.js +0 -51
- package/packages/cli/dist/src/ui/components/messages/ToolConfirmationMessage.test.js.map +1 -1
- package/packages/cli/dist/src/ui/components/messages/ToolMessage.js +2 -2
- package/packages/cli/dist/src/ui/components/messages/ToolMessage.js.map +1 -1
- package/packages/cli/dist/src/ui/components/messages/ToolShared.d.ts +0 -1
- package/packages/cli/dist/src/ui/components/messages/ToolShared.js +2 -2
- package/packages/cli/dist/src/ui/components/messages/ToolShared.js.map +1 -1
- package/packages/cli/dist/src/ui/components/shared/BaseSettingsDialog.js +4 -1
- package/packages/cli/dist/src/ui/components/shared/BaseSettingsDialog.js.map +1 -1
- package/packages/cli/dist/src/ui/components/shared/BaseSettingsDialog.test.js +139 -40
- package/packages/cli/dist/src/ui/components/shared/BaseSettingsDialog.test.js.map +1 -1
- package/packages/cli/dist/src/ui/components/shared/TextInput.js +2 -1
- package/packages/cli/dist/src/ui/components/shared/TextInput.js.map +1 -1
- package/packages/cli/dist/src/ui/hooks/toolMapping.js +0 -1
- package/packages/cli/dist/src/ui/hooks/toolMapping.js.map +1 -1
- package/packages/cli/dist/src/ui/hooks/toolMapping.test.js +0 -13
- package/packages/cli/dist/src/ui/hooks/toolMapping.test.js.map +1 -1
- package/packages/cli/dist/src/ui/hooks/useToolScheduler.js +2 -18
- package/packages/cli/dist/src/ui/hooks/useToolScheduler.js.map +1 -1
- package/packages/cli/dist/src/ui/hooks/useToolScheduler.test.js +0 -44
- package/packages/cli/dist/src/ui/hooks/useToolScheduler.test.js.map +1 -1
- package/packages/cli/dist/src/ui/keyMatchers.test.js.map +1 -1
- package/packages/cli/dist/src/ui/types.d.ts +0 -1
- package/packages/cli/dist/src/ui/types.js.map +1 -1
- package/packages/cli/dist/src/ui/utils/commandUtils.js +4 -1
- package/packages/cli/dist/src/ui/utils/commandUtils.js.map +1 -1
- package/packages/cli/dist/src/utils/activityLogger.js +23 -94
- package/packages/cli/dist/src/utils/activityLogger.js.map +1 -1
- package/packages/cli/dist/src/utils/handleAutoUpdate.d.ts +1 -1
- package/packages/cli/dist/src/utils/handleAutoUpdate.js +1 -1
- package/packages/cli/dist/src/utils/handleAutoUpdate.js.map +1 -1
- package/packages/cli/dist/src/utils/handleAutoUpdate.test.js +11 -11
- package/packages/cli/dist/src/utils/handleAutoUpdate.test.js.map +1 -1
- package/{bundle/sandbox-macos-restrictive-closed.sb → packages/cli/dist/src/utils/sandbox-macos-strict-open.sb} +42 -4
- package/packages/cli/dist/src/utils/{sandbox-macos-restrictive-closed.sb → sandbox-macos-strict-proxied.sb} +44 -4
- package/packages/cli/dist/tsconfig.tsbuildinfo +1 -1
- package/packages/core/dist/docs/admin/enterprise-controls.md +115 -0
- package/packages/core/dist/docs/changelogs/index.md +57 -1
- package/packages/core/dist/docs/changelogs/latest.md +357 -314
- package/packages/core/dist/docs/changelogs/preview.md +288 -411
- package/packages/core/dist/docs/cli/checkpointing.md +2 -3
- package/packages/core/dist/docs/cli/cli-reference.md +42 -28
- package/packages/core/dist/docs/cli/custom-commands.md +3 -0
- package/packages/core/dist/docs/cli/enterprise.md +28 -8
- package/packages/core/dist/docs/cli/gemini-md.md +21 -13
- package/packages/core/dist/docs/cli/headless.md +34 -372
- package/packages/core/dist/docs/cli/model.md +1 -1
- package/packages/core/dist/docs/cli/plan-mode.md +245 -0
- package/packages/core/dist/docs/cli/rewind.md +11 -11
- package/packages/core/dist/docs/cli/sandbox.md +6 -5
- package/packages/core/dist/docs/cli/session-management.md +61 -44
- package/packages/core/dist/docs/cli/settings.md +64 -49
- package/packages/core/dist/docs/cli/skills.md +29 -7
- package/packages/core/dist/docs/cli/telemetry.md +41 -5
- package/packages/core/dist/docs/cli/themes.md +88 -54
- package/packages/core/dist/docs/cli/trusted-folders.md +31 -0
- package/packages/core/dist/docs/cli/tutorials/automation.md +187 -0
- package/packages/core/dist/docs/cli/tutorials/file-management.md +142 -0
- package/packages/core/dist/docs/cli/tutorials/mcp-setup.md +105 -0
- package/packages/core/dist/docs/cli/tutorials/memory-management.md +126 -0
- package/packages/core/dist/docs/cli/tutorials/session-management.md +105 -0
- package/packages/core/dist/docs/cli/tutorials/shell-commands.md +107 -0
- package/packages/core/dist/docs/cli/tutorials/skills-getting-started.md +36 -31
- package/packages/core/dist/docs/cli/tutorials/task-planning.md +93 -0
- package/packages/core/dist/docs/cli/tutorials/web-tools.md +78 -0
- package/packages/core/dist/docs/core/index.md +7 -7
- package/packages/core/dist/docs/core/subagents.md +40 -40
- package/packages/core/dist/docs/extensions/best-practices.md +102 -53
- package/packages/core/dist/docs/extensions/index.md +37 -21
- package/packages/core/dist/docs/extensions/reference.md +148 -219
- package/packages/core/dist/docs/extensions/releasing.md +93 -122
- package/packages/core/dist/docs/extensions/writing-extensions.md +87 -76
- package/packages/core/dist/docs/get-started/authentication.md +4 -4
- package/packages/core/dist/docs/get-started/examples.md +39 -119
- package/packages/core/dist/docs/get-started/gemini-3.md +17 -3
- package/packages/core/dist/docs/get-started/index.md +16 -5
- package/packages/core/dist/docs/get-started/installation.md +110 -77
- package/packages/core/dist/docs/hooks/best-practices.md +1 -1
- package/packages/core/dist/docs/hooks/reference.md +2 -2
- package/packages/core/dist/docs/index.md +142 -149
- package/packages/core/dist/docs/redirects.json +19 -0
- package/packages/core/dist/docs/reference/commands.md +523 -0
- package/{bundle/docs/get-started → packages/core/dist/docs/reference}/configuration.md +180 -71
- package/packages/core/dist/docs/{cli → reference}/keyboard-shortcuts.md +49 -35
- package/packages/core/dist/docs/{core → reference}/policy-engine.md +76 -32
- package/packages/core/dist/docs/releases.md +2 -2
- package/{bundle/docs → packages/core/dist/docs/resources}/faq.md +1 -1
- package/packages/core/dist/docs/{quota-and-pricing.md → resources/quota-and-pricing.md} +12 -5
- package/{bundle/docs → packages/core/dist/docs/resources}/tos-privacy.md +3 -3
- package/packages/core/dist/docs/{troubleshooting.md → resources/troubleshooting.md} +1 -1
- package/packages/core/dist/docs/sidebar.json +194 -113
- package/packages/core/dist/docs/tools/activate-skill.md +43 -0
- package/packages/core/dist/docs/tools/ask-user.md +95 -0
- package/packages/core/dist/docs/tools/file-system.md +55 -143
- package/packages/core/dist/docs/tools/index.md +97 -93
- package/packages/core/dist/docs/tools/internal-docs.md +46 -0
- package/packages/core/dist/docs/tools/mcp-server.md +65 -16
- package/packages/core/dist/docs/tools/memory.md +21 -40
- package/packages/core/dist/docs/tools/planning.md +57 -0
- package/packages/core/dist/docs/tools/shell.md +44 -88
- package/packages/core/dist/docs/tools/todos.md +22 -44
- package/packages/core/dist/docs/tools/web-fetch.md +22 -46
- package/packages/core/dist/docs/tools/web-search.md +19 -29
- package/packages/core/dist/src/code_assist/types.d.ts +14 -14
- package/packages/core/dist/src/config/config.d.ts +1 -13
- package/packages/core/dist/src/config/config.js +6 -39
- package/packages/core/dist/src/config/config.js.map +1 -1
- package/packages/core/dist/src/confirmation-bus/types.d.ts +0 -3
- package/packages/core/dist/src/confirmation-bus/types.js.map +1 -1
- package/packages/core/dist/src/core/coreToolHookTriggers.d.ts +1 -1
- package/packages/core/dist/src/core/coreToolHookTriggers.js +3 -8
- package/packages/core/dist/src/core/coreToolHookTriggers.js.map +1 -1
- package/packages/core/dist/src/generated/git-commit.d.ts +2 -2
- package/packages/core/dist/src/generated/git-commit.js +2 -2
- package/packages/core/dist/src/hooks/hookEventHandler.d.ts +2 -2
- package/packages/core/dist/src/hooks/hookEventHandler.js +2 -8
- package/packages/core/dist/src/hooks/hookEventHandler.js.map +1 -1
- package/packages/core/dist/src/hooks/hookSystem.d.ts +2 -2
- package/packages/core/dist/src/hooks/hookSystem.js +4 -4
- package/packages/core/dist/src/hooks/hookSystem.js.map +1 -1
- package/packages/core/dist/src/hooks/types.d.ts +0 -18
- package/packages/core/dist/src/hooks/types.js +0 -17
- package/packages/core/dist/src/hooks/types.js.map +1 -1
- package/packages/core/dist/src/ide/ide-client.js +1 -1
- package/packages/core/dist/src/ide/ide-client.js.map +1 -1
- package/packages/core/dist/src/ide/types.d.ts +8 -8
- package/packages/core/dist/src/index.d.ts +2 -0
- package/packages/core/dist/src/index.js +2 -0
- package/packages/core/dist/src/index.js.map +1 -1
- package/packages/core/dist/src/policy/policies/plan.toml +29 -43
- package/packages/core/dist/src/policy/policies/read-only.toml +12 -11
- package/packages/core/dist/src/policy/policies/write.toml +11 -10
- package/packages/core/dist/src/policy/policies/yolo.toml +24 -12
- package/packages/core/dist/src/policy/policy-engine.js +1 -5
- package/packages/core/dist/src/policy/policy-engine.js.map +1 -1
- package/packages/core/dist/src/policy/types.d.ts +1 -2
- package/packages/core/dist/src/policy/types.js +0 -1
- package/packages/core/dist/src/policy/types.js.map +1 -1
- package/packages/core/dist/src/safety/context-builder.d.ts +3 -3
- package/packages/core/dist/src/safety/context-builder.js +4 -60
- package/packages/core/dist/src/safety/context-builder.js.map +1 -1
- package/packages/core/dist/src/safety/context-builder.test.js +18 -98
- package/packages/core/dist/src/safety/context-builder.test.js.map +1 -1
- package/packages/core/dist/src/safety/protocol.d.ts +0 -4
- package/packages/core/dist/src/safety/registry.d.ts +1 -2
- package/packages/core/dist/src/safety/registry.js +4 -14
- package/packages/core/dist/src/safety/registry.js.map +1 -1
- package/packages/core/dist/src/safety/registry.test.js +2 -5
- package/packages/core/dist/src/safety/registry.test.js.map +1 -1
- package/packages/core/dist/src/scheduler/scheduler.d.ts +1 -1
- package/packages/core/dist/src/scheduler/scheduler.js +4 -49
- package/packages/core/dist/src/scheduler/scheduler.js.map +1 -1
- package/packages/core/dist/src/scheduler/scheduler.test.js +0 -91
- package/packages/core/dist/src/scheduler/scheduler.test.js.map +1 -1
- package/packages/core/dist/src/scheduler/state-manager.d.ts +0 -6
- package/packages/core/dist/src/scheduler/state-manager.js +0 -12
- package/packages/core/dist/src/scheduler/state-manager.js.map +1 -1
- package/packages/core/dist/src/scheduler/tool-executor.js +7 -9
- package/packages/core/dist/src/scheduler/tool-executor.js.map +1 -1
- package/packages/core/dist/src/scheduler/tool-executor.test.js +1 -1
- package/packages/core/dist/src/scheduler/tool-executor.test.js.map +1 -1
- package/packages/core/dist/src/scheduler/types.d.ts +0 -13
- package/packages/core/dist/src/services/shellExecutionService.d.ts +1 -1
- package/packages/core/dist/src/services/shellExecutionService.js +7 -8
- package/packages/core/dist/src/services/shellExecutionService.js.map +1 -1
- package/packages/core/dist/src/services/shellExecutionService.test.js +5 -5
- package/packages/core/dist/src/services/shellExecutionService.test.js.map +1 -1
- package/packages/core/dist/src/services/test-data/resolved-aliases-retry.golden.json +251 -251
- package/packages/core/dist/src/services/test-data/resolved-aliases.golden.json +251 -251
- package/packages/core/dist/src/skills/builtin/skill-creator/scripts/init_skill.cjs +5 -1
- package/packages/core/dist/src/skills/builtin/skill-creator/scripts/package_skill.cjs +5 -1
- package/packages/core/dist/src/skills/builtin/skill-creator/scripts/validate_skill.cjs +5 -1
- package/packages/core/dist/src/telemetry/clearcut-logger/clearcut-logger.d.ts +1 -3
- package/packages/core/dist/src/telemetry/clearcut-logger/clearcut-logger.js +0 -2
- package/packages/core/dist/src/telemetry/clearcut-logger/clearcut-logger.js.map +1 -1
- package/packages/core/dist/src/telemetry/clearcut-logger/event-metadata-key.d.ts +1 -9
- package/packages/core/dist/src/telemetry/clearcut-logger/event-metadata-key.js +1 -19
- package/packages/core/dist/src/telemetry/clearcut-logger/event-metadata-key.js.map +1 -1
- package/packages/core/dist/src/telemetry/index.d.ts +1 -2
- package/packages/core/dist/src/telemetry/index.js +1 -2
- package/packages/core/dist/src/telemetry/index.js.map +1 -1
- package/packages/core/dist/src/telemetry/loggers.js +0 -4
- package/packages/core/dist/src/telemetry/loggers.js.map +1 -1
- package/packages/core/dist/src/telemetry/trace.js.map +1 -1
- package/packages/core/dist/src/telemetry/types.d.ts +0 -26
- package/packages/core/dist/src/telemetry/types.js +2 -76
- package/packages/core/dist/src/telemetry/types.js.map +1 -1
- package/packages/core/dist/src/tools/diffOptions.d.ts +2 -2
- package/packages/core/dist/src/tools/diffOptions.js.map +1 -1
- package/packages/core/dist/src/tools/mcp-client.test.js.map +1 -1
- package/packages/core/dist/src/tools/mcp-tool.d.ts +1 -3
- package/packages/core/dist/src/tools/mcp-tool.js +2 -9
- package/packages/core/dist/src/tools/mcp-tool.js.map +1 -1
- package/packages/core/dist/src/tools/memoryTool.d.ts +0 -10
- package/packages/core/dist/src/tools/memoryTool.js +30 -25
- package/packages/core/dist/src/tools/memoryTool.js.map +1 -1
- package/packages/core/dist/src/tools/tool-names.d.ts +6 -0
- package/packages/core/dist/src/tools/tool-names.js +16 -1
- package/packages/core/dist/src/tools/tool-names.js.map +1 -1
- package/packages/core/dist/src/tools/tools.d.ts +0 -11
- package/packages/core/dist/src/tools/tools.js.map +1 -1
- package/packages/core/dist/src/utils/getPty.d.ts +14 -1
- package/packages/core/dist/src/utils/getPty.js +67 -2
- package/packages/core/dist/src/utils/getPty.js.map +1 -1
- package/packages/core/dist/src/utils/memoryDiscovery.d.ts +11 -3
- package/packages/core/dist/src/utils/memoryDiscovery.js +56 -21
- package/packages/core/dist/src/utils/memoryDiscovery.js.map +1 -1
- package/packages/core/dist/src/utils/secure-browser-launcher.js +40 -29
- package/packages/core/dist/src/utils/secure-browser-launcher.js.map +1 -1
- package/packages/core/dist/src/utils/textUtils.d.ts +0 -9
- package/packages/core/dist/src/utils/textUtils.js +0 -15
- package/packages/core/dist/src/utils/textUtils.js.map +1 -1
- package/packages/core/dist/src/utils/textUtils.test.js +1 -42
- package/packages/core/dist/src/utils/textUtils.test.js.map +1 -1
- package/packages/core/dist/tsconfig.tsbuildinfo +1 -1
- package/packages/test-utils/dist/tsconfig.tsbuildinfo +1 -1
- package/bundle/docs/ROADMAP.md +0 -113
- package/bundle/docs/TERMUX.md +0 -95
- package/bundle/docs/architecture.md +0 -80
- package/bundle/docs/assets/hero.png +0 -0
- package/bundle/docs/cli/authentication.md +0 -3
- package/bundle/docs/cli/commands.md +0 -430
- package/bundle/docs/cli/context-memory.md +0 -69
- package/bundle/docs/cli/index.md +0 -65
- package/bundle/docs/cli/keyboard-shortcuts.md +0 -140
- package/bundle/docs/cli/tutorials.md +0 -87
- package/bundle/docs/core/policy-engine.md +0 -305
- package/bundle/docs/get-started/configuration-v1.md +0 -888
- package/bundle/docs/patches/README.md +0 -74
- package/bundle/docs/patches/mcp-sdk-typings-shim.md +0 -27
- package/bundle/docs/quota-and-pricing.md +0 -158
- package/bundle/docs/termux-api/COMMANDS.md +0 -592
- package/bundle/docs/termux-api/DISCOVERY_SETUP.md +0 -670
- package/bundle/docs/termux-api/EXECUTION_PLAN.md +0 -532
- package/bundle/docs/termux-api/MERGE_STRATEGY.md +0 -365
- package/bundle/docs/termux-api/PATCHES.md +0 -480
- package/bundle/docs/termux-api/README.md +0 -416
- package/bundle/docs/troubleshooting.md +0 -173
- package/bundle/policies/conseca.toml +0 -6
- package/bundle/sandbox-macos-permissive-closed.sb +0 -32
- package/packages/cli/README.md +0 -173
- package/packages/cli/dist/src/commands/extensions/examples/mcp-server/example.d.ts +0 -6
- package/packages/cli/dist/src/commands/extensions/examples/mcp-server/example.js.map +0 -1
- package/packages/cli/dist/src/commands/extensions/examples/mcp-server/example.test.d.ts +0 -6
- package/packages/cli/dist/src/commands/extensions/examples/mcp-server/example.test.js +0 -111
- package/packages/cli/dist/src/commands/extensions/examples/mcp-server/example.test.js.map +0 -1
- package/packages/cli/dist/src/ui/components/messages/ToolConfirmationMessageOverflow.test.d.ts +0 -6
- package/packages/cli/dist/src/ui/components/messages/ToolConfirmationMessageOverflow.test.js +0 -93
- package/packages/cli/dist/src/ui/components/messages/ToolConfirmationMessageOverflow.test.js.map +0 -1
- package/packages/cli/dist/src/ui/hooks/useReactToolScheduler.d.ts +0 -42
- package/packages/cli/dist/src/ui/hooks/useReactToolScheduler.js +0 -105
- package/packages/cli/dist/src/ui/hooks/useReactToolScheduler.js.map +0 -1
- package/packages/cli/dist/src/ui/hooks/useReactToolScheduler.test.d.ts +0 -6
- package/packages/cli/dist/src/ui/hooks/useReactToolScheduler.test.js +0 -58
- package/packages/cli/dist/src/ui/hooks/useReactToolScheduler.test.js.map +0 -1
- package/packages/cli/dist/src/ui/hooks/useRefreshMemoryCommand.d.ts +0 -6
- package/packages/cli/dist/src/ui/hooks/useRefreshMemoryCommand.js +0 -7
- package/packages/cli/dist/src/ui/hooks/useRefreshMemoryCommand.js.map +0 -1
- package/packages/cli/dist/src/ui/hooks/useShowMemoryCommand.d.ts +0 -9
- package/packages/cli/dist/src/ui/hooks/useShowMemoryCommand.js +0 -59
- package/packages/cli/dist/src/ui/hooks/useShowMemoryCommand.js.map +0 -1
- package/packages/cli/dist/src/ui/hooks/useToolExecutionScheduler.d.ts +0 -30
- package/packages/cli/dist/src/ui/hooks/useToolExecutionScheduler.js +0 -149
- package/packages/cli/dist/src/ui/hooks/useToolExecutionScheduler.js.map +0 -1
- package/packages/cli/dist/src/ui/hooks/useToolExecutionScheduler.test.d.ts +0 -6
- package/packages/cli/dist/src/ui/hooks/useToolExecutionScheduler.test.js +0 -376
- package/packages/cli/dist/src/ui/hooks/useToolExecutionScheduler.test.js.map +0 -1
- package/packages/cli/dist/src/ui/hooks/useToolSchedulerFacade.test.d.ts +0 -6
- package/packages/cli/dist/src/ui/hooks/useToolSchedulerFacade.test.js +0 -45
- package/packages/cli/dist/src/ui/hooks/useToolSchedulerFacade.test.js.map +0 -1
- package/packages/cli/dist/src/ui/utils/InlineMarkdownRenderer.test.d.ts +0 -6
- package/packages/cli/dist/src/ui/utils/InlineMarkdownRenderer.test.js +0 -21
- package/packages/cli/dist/src/ui/utils/InlineMarkdownRenderer.test.js.map +0 -1
- package/packages/cli/dist/src/ui/utils/terminalUtils.test.d.ts +0 -6
- package/packages/cli/dist/src/ui/utils/terminalUtils.test.js +0 -40
- package/packages/cli/dist/src/ui/utils/terminalUtils.test.js.map +0 -1
- package/packages/cli/dist/src/utils/checks.d.ts +0 -19
- package/packages/cli/dist/src/utils/checks.js +0 -24
- package/packages/cli/dist/src/utils/checks.js.map +0 -1
- package/packages/cli/dist/src/utils/checks.test.d.ts +0 -6
- package/packages/cli/dist/src/utils/checks.test.js +0 -29
- package/packages/cli/dist/src/utils/checks.test.js.map +0 -1
- package/packages/cli/dist/src/utils/sandbox-macos-permissive-closed.sb +0 -32
- package/packages/cli/index.js +0 -2
- package/packages/core/dist/docs/TERMUX.md +0 -95
- package/packages/core/dist/docs/architecture.md +0 -80
- package/packages/core/dist/docs/assets/hero.png +0 -0
- package/packages/core/dist/docs/cli/authentication.md +0 -3
- package/packages/core/dist/docs/cli/commands.md +0 -430
- package/packages/core/dist/docs/cli/context-memory.md +0 -69
- package/packages/core/dist/docs/cli/index.md +0 -65
- package/packages/core/dist/docs/cli/tutorials.md +0 -87
- package/packages/core/dist/docs/cli/uninstall.md +0 -65
- package/packages/core/dist/docs/core/memport.md +0 -246
- package/packages/core/dist/docs/core/tools-api.md +0 -131
- package/packages/core/dist/docs/faq.md +0 -154
- package/packages/core/dist/docs/get-started/configuration-v1.md +0 -888
- package/packages/core/dist/docs/get-started/configuration.md +0 -1585
- package/packages/core/dist/docs/patches/README.md +0 -74
- package/packages/core/dist/docs/patches/mcp-sdk-typings-shim.md +0 -27
- package/packages/core/dist/docs/termux-api/COMMANDS.md +0 -592
- package/packages/core/dist/docs/termux-api/DISCOVERY_SETUP.md +0 -670
- package/packages/core/dist/docs/termux-api/EXECUTION_PLAN.md +0 -532
- package/packages/core/dist/docs/termux-api/MERGE_STRATEGY.md +0 -365
- package/packages/core/dist/docs/termux-api/PATCHES.md +0 -480
- package/packages/core/dist/docs/termux-api/README.md +0 -416
- package/packages/core/dist/docs/tos-privacy.md +0 -96
- package/packages/core/dist/src/safety/conseca/conseca.d.ts +0 -31
- package/packages/core/dist/src/safety/conseca/conseca.js +0 -105
- package/packages/core/dist/src/safety/conseca/conseca.js.map +0 -1
- package/packages/core/dist/src/safety/conseca/conseca.test.d.ts +0 -6
- package/packages/core/dist/src/safety/conseca/conseca.test.js +0 -226
- package/packages/core/dist/src/safety/conseca/conseca.test.js.map +0 -1
- package/packages/core/dist/src/safety/conseca/integration.test.d.ts +0 -6
- package/packages/core/dist/src/safety/conseca/integration.test.js +0 -19
- package/packages/core/dist/src/safety/conseca/integration.test.js.map +0 -1
- package/packages/core/dist/src/safety/conseca/policy-enforcer.d.ts +0 -13
- package/packages/core/dist/src/safety/conseca/policy-enforcer.js +0 -135
- package/packages/core/dist/src/safety/conseca/policy-enforcer.js.map +0 -1
- package/packages/core/dist/src/safety/conseca/policy-enforcer.test.d.ts +0 -6
- package/packages/core/dist/src/safety/conseca/policy-enforcer.test.js +0 -141
- package/packages/core/dist/src/safety/conseca/policy-enforcer.test.js.map +0 -1
- package/packages/core/dist/src/safety/conseca/policy-generator.d.ts +0 -15
- package/packages/core/dist/src/safety/conseca/policy-generator.js +0 -144
- package/packages/core/dist/src/safety/conseca/policy-generator.js.map +0 -1
- package/packages/core/dist/src/safety/conseca/policy-generator.test.d.ts +0 -6
- package/packages/core/dist/src/safety/conseca/policy-generator.test.js +0 -84
- package/packages/core/dist/src/safety/conseca/policy-generator.test.js.map +0 -1
- package/packages/core/dist/src/safety/conseca/types.d.ts +0 -15
- package/packages/core/dist/src/safety/conseca/types.js +0 -7
- package/packages/core/dist/src/safety/conseca/types.js.map +0 -1
- package/packages/core/dist/src/telemetry/conseca-logger.d.ts +0 -9
- package/packages/core/dist/src/telemetry/conseca-logger.js +0 -91
- package/packages/core/dist/src/telemetry/conseca-logger.js.map +0 -1
- package/packages/core/dist/src/telemetry/conseca-logger.test.d.ts +0 -6
- package/packages/core/dist/src/telemetry/conseca-logger.test.js +0 -89
- package/packages/core/dist/src/telemetry/conseca-logger.test.js.map +0 -1
- package/packages/core/dist/src/tools/mcpImportTool.d.ts +0 -31
- package/packages/core/dist/src/tools/mcpImportTool.js +0 -143
- package/packages/core/dist/src/tools/mcpImportTool.js.map +0 -1
- package/packages/core/dist/src/utils/contextMemory.d.ts +0 -67
- package/packages/core/dist/src/utils/contextMemory.js +0 -493
- package/packages/core/dist/src/utils/contextMemory.js.map +0 -1
- package/packages/core/dist/src/utils/contextMemory.test.d.ts +0 -6
- package/packages/core/dist/src/utils/contextMemory.test.js +0 -183
- package/packages/core/dist/src/utils/contextMemory.test.js.map +0 -1
- /package/{bundle/docs/core → packages/core/dist/docs/reference}/memport.md +0 -0
- /package/{bundle/docs/core → packages/core/dist/docs/reference}/tools-api.md +0 -0
- /package/{bundle/docs/cli → packages/core/dist/docs/resources}/uninstall.md +0 -0
|
@@ -1,16 +1,5 @@
|
|
|
1
1
|
# Gemini CLI configuration
|
|
2
2
|
|
|
3
|
-
> **Note on configuration format, 9/17/25:** The format of the `settings.json`
|
|
4
|
-
> file has been updated to a new, more organized structure.
|
|
5
|
-
>
|
|
6
|
-
> - The new format will be supported in the stable release starting
|
|
7
|
-
> **[09/10/25]**.
|
|
8
|
-
> - Automatic migration from the old format to the new format will begin on
|
|
9
|
-
> **[09/17/25]**.
|
|
10
|
-
>
|
|
11
|
-
> For details on the previous format, please see the
|
|
12
|
-
> [v1 Configuration documentation](./configuration-v1.md).
|
|
13
|
-
|
|
14
3
|
Gemini CLI offers several ways to configure its behavior, including environment
|
|
15
4
|
variables, command-line arguments, and settings files. This document outlines
|
|
16
5
|
the different configuration methods and available settings.
|
|
@@ -96,11 +85,14 @@ their corresponding top-level category object in your `settings.json` file.
|
|
|
96
85
|
|
|
97
86
|
<!-- SETTINGS-AUTOGEN:START -->
|
|
98
87
|
|
|
99
|
-
#### `
|
|
88
|
+
#### `policyPaths`
|
|
100
89
|
|
|
101
|
-
- **`
|
|
102
|
-
- **Description:**
|
|
103
|
-
- **Default:** `
|
|
90
|
+
- **`policyPaths`** (array):
|
|
91
|
+
- **Description:** Additional policy files or directories to load.
|
|
92
|
+
- **Default:** `[]`
|
|
93
|
+
- **Requires restart:** Yes
|
|
94
|
+
|
|
95
|
+
#### `general`
|
|
104
96
|
|
|
105
97
|
- **`general.preferredEditor`** (string):
|
|
106
98
|
- **Description:** The preferred editor to open files in.
|
|
@@ -110,6 +102,17 @@ their corresponding top-level category object in your `settings.json` file.
|
|
|
110
102
|
- **Description:** Enable Vim keybindings
|
|
111
103
|
- **Default:** `false`
|
|
112
104
|
|
|
105
|
+
- **`general.defaultApprovalMode`** (enum):
|
|
106
|
+
- **Description:** The default approval mode for tool execution. 'default'
|
|
107
|
+
prompts for approval, 'auto_edit' auto-approves edit tools, and 'plan' is
|
|
108
|
+
read-only mode. 'yolo' is not supported yet.
|
|
109
|
+
- **Default:** `"default"`
|
|
110
|
+
- **Values:** `"default"`, `"auto_edit"`, `"plan"`
|
|
111
|
+
|
|
112
|
+
- **`general.devtools`** (boolean):
|
|
113
|
+
- **Description:** Enable DevTools inspector on launch.
|
|
114
|
+
- **Default:** `false`
|
|
115
|
+
|
|
113
116
|
- **`general.enableAutoUpdate`** (boolean):
|
|
114
117
|
- **Description:** Enable automatic updates.
|
|
115
118
|
- **Default:** `true`
|
|
@@ -118,15 +121,20 @@ their corresponding top-level category object in your `settings.json` file.
|
|
|
118
121
|
- **Description:** Enable update notification prompts.
|
|
119
122
|
- **Default:** `true`
|
|
120
123
|
|
|
124
|
+
- **`general.enableNotifications`** (boolean):
|
|
125
|
+
- **Description:** Enable run-event notifications for action-required prompts
|
|
126
|
+
and session completion. Currently macOS only.
|
|
127
|
+
- **Default:** `false`
|
|
128
|
+
|
|
121
129
|
- **`general.checkpointing.enabled`** (boolean):
|
|
122
130
|
- **Description:** Enable session checkpointing for recovery
|
|
123
131
|
- **Default:** `false`
|
|
124
132
|
- **Requires restart:** Yes
|
|
125
133
|
|
|
126
|
-
- **`general.
|
|
127
|
-
- **Description:**
|
|
128
|
-
|
|
129
|
-
- **Default:** `
|
|
134
|
+
- **`general.plan.directory`** (string):
|
|
135
|
+
- **Description:** The directory where planning artifacts are stored. If not
|
|
136
|
+
specified, defaults to the system temporary directory.
|
|
137
|
+
- **Default:** `undefined`
|
|
130
138
|
- **Requires restart:** Yes
|
|
131
139
|
|
|
132
140
|
- **`general.retryFetchErrors`** (boolean):
|
|
@@ -134,6 +142,11 @@ their corresponding top-level category object in your `settings.json` file.
|
|
|
134
142
|
request" errors.
|
|
135
143
|
- **Default:** `false`
|
|
136
144
|
|
|
145
|
+
- **`general.maxAttempts`** (number):
|
|
146
|
+
- **Description:** Maximum number of attempts for requests to the main chat
|
|
147
|
+
model. Cannot exceed 10.
|
|
148
|
+
- **Default:** `10`
|
|
149
|
+
|
|
137
150
|
- **`general.debugKeystrokeLogging`** (boolean):
|
|
138
151
|
- **Description:** Enable debug logging of keystrokes to the console.
|
|
139
152
|
- **Default:** `false`
|
|
@@ -143,8 +156,8 @@ their corresponding top-level category object in your `settings.json` file.
|
|
|
143
156
|
- **Default:** `false`
|
|
144
157
|
|
|
145
158
|
- **`general.sessionRetention.maxAge`** (string):
|
|
146
|
-
- **Description:**
|
|
147
|
-
"1w")
|
|
159
|
+
- **Description:** Automatically delete chats older than this time period
|
|
160
|
+
(e.g., "30d", "7d", "24h", "1w")
|
|
148
161
|
- **Default:** `undefined`
|
|
149
162
|
|
|
150
163
|
- **`general.sessionRetention.maxCount`** (number):
|
|
@@ -156,6 +169,11 @@ their corresponding top-level category object in your `settings.json` file.
|
|
|
156
169
|
- **Description:** Minimum retention period (safety limit, defaults to "1d")
|
|
157
170
|
- **Default:** `"1d"`
|
|
158
171
|
|
|
172
|
+
- **`general.sessionRetention.warningAcknowledged`** (boolean):
|
|
173
|
+
- **Description:** INTERNAL: Whether the user has acknowledged the session
|
|
174
|
+
retention warning
|
|
175
|
+
- **Default:** `false`
|
|
176
|
+
|
|
159
177
|
#### `output`
|
|
160
178
|
|
|
161
179
|
- **`output.format`** (enum):
|
|
@@ -170,6 +188,15 @@ their corresponding top-level category object in your `settings.json` file.
|
|
|
170
188
|
available options.
|
|
171
189
|
- **Default:** `undefined`
|
|
172
190
|
|
|
191
|
+
- **`ui.autoThemeSwitching`** (boolean):
|
|
192
|
+
- **Description:** Automatically switch between default light and dark themes
|
|
193
|
+
based on terminal background color.
|
|
194
|
+
- **Default:** `true`
|
|
195
|
+
|
|
196
|
+
- **`ui.terminalBackgroundPollingInterval`** (number):
|
|
197
|
+
- **Description:** Interval in seconds to poll the terminal background color.
|
|
198
|
+
- **Default:** `60`
|
|
199
|
+
|
|
173
200
|
- **`ui.customThemes`** (object):
|
|
174
201
|
- **Description:** Custom theme definitions.
|
|
175
202
|
- **Default:** `{}`
|
|
@@ -179,6 +206,11 @@ their corresponding top-level category object in your `settings.json` file.
|
|
|
179
206
|
- **Default:** `false`
|
|
180
207
|
- **Requires restart:** Yes
|
|
181
208
|
|
|
209
|
+
- **`ui.inlineThinkingMode`** (enum):
|
|
210
|
+
- **Description:** Display model thinking inline: off or full.
|
|
211
|
+
- **Default:** `"off"`
|
|
212
|
+
- **Values:** `"off"`, `"full"`
|
|
213
|
+
|
|
182
214
|
- **`ui.showStatusInTitle`** (boolean):
|
|
183
215
|
- **Description:** Show Gemini CLI model thoughts in the terminal window title
|
|
184
216
|
during the working phase
|
|
@@ -195,10 +227,19 @@ their corresponding top-level category object in your `settings.json` file.
|
|
|
195
227
|
- **Default:** `true`
|
|
196
228
|
- **Requires restart:** Yes
|
|
197
229
|
|
|
230
|
+
- **`ui.showCompatibilityWarnings`** (boolean):
|
|
231
|
+
- **Description:** Show warnings about terminal or OS compatibility issues.
|
|
232
|
+
- **Default:** `true`
|
|
233
|
+
- **Requires restart:** Yes
|
|
234
|
+
|
|
198
235
|
- **`ui.hideTips`** (boolean):
|
|
199
236
|
- **Description:** Hide helpful tips in the UI
|
|
200
237
|
- **Default:** `false`
|
|
201
238
|
|
|
239
|
+
- **`ui.showShortcutsHint`** (boolean):
|
|
240
|
+
- **Description:** Show the "? for shortcuts" hint above the input.
|
|
241
|
+
- **Default:** `true`
|
|
242
|
+
|
|
202
243
|
- **`ui.hideBanner`** (boolean):
|
|
203
244
|
- **Description:** Hide the application banner
|
|
204
245
|
- **Default:** `false`
|
|
@@ -269,13 +310,20 @@ their corresponding top-level category object in your `settings.json` file.
|
|
|
269
310
|
- **Description:** Show the spinner during operations.
|
|
270
311
|
- **Default:** `true`
|
|
271
312
|
|
|
313
|
+
- **`ui.loadingPhrases`** (enum):
|
|
314
|
+
- **Description:** What to show while the model is working: tips, witty
|
|
315
|
+
comments, both, or nothing.
|
|
316
|
+
- **Default:** `"tips"`
|
|
317
|
+
- **Values:** `"tips"`, `"witty"`, `"all"`, `"off"`
|
|
318
|
+
|
|
272
319
|
- **`ui.customWittyPhrases`** (array):
|
|
273
320
|
- **Description:** Custom witty phrases to display during loading. When
|
|
274
321
|
provided, the CLI cycles through these instead of the defaults.
|
|
275
322
|
- **Default:** `[]`
|
|
276
323
|
|
|
277
324
|
- **`ui.accessibility.enableLoadingPhrases`** (boolean):
|
|
278
|
-
- **Description:**
|
|
325
|
+
- **Description:** @deprecated Use ui.loadingPhrases instead. Enable loading
|
|
326
|
+
phrases during operations.
|
|
279
327
|
- **Default:** `true`
|
|
280
328
|
- **Requires restart:** Yes
|
|
281
329
|
|
|
@@ -326,6 +374,12 @@ their corresponding top-level category object in your `settings.json` file.
|
|
|
326
374
|
- **Default:** `0.5`
|
|
327
375
|
- **Requires restart:** Yes
|
|
328
376
|
|
|
377
|
+
- **`model.disableLoopDetection`** (boolean):
|
|
378
|
+
- **Description:** Disable automatic detection and prevention of infinite
|
|
379
|
+
loops.
|
|
380
|
+
- **Default:** `false`
|
|
381
|
+
- **Requires restart:** Yes
|
|
382
|
+
|
|
329
383
|
- **`model.skipNextSpeakerCheck`** (boolean):
|
|
330
384
|
- **Description:** Skip the next speaker check.
|
|
331
385
|
- **Default:** `true`
|
|
@@ -416,6 +470,12 @@ their corresponding top-level category object in your `settings.json` file.
|
|
|
416
470
|
"model": "gemini-2.5-flash"
|
|
417
471
|
}
|
|
418
472
|
},
|
|
473
|
+
"gemini-3-flash-base": {
|
|
474
|
+
"extends": "base",
|
|
475
|
+
"modelConfig": {
|
|
476
|
+
"model": "gemini-3-flash-preview"
|
|
477
|
+
}
|
|
478
|
+
},
|
|
419
479
|
"classifier": {
|
|
420
480
|
"extends": "base",
|
|
421
481
|
"modelConfig": {
|
|
@@ -441,6 +501,19 @@ their corresponding top-level category object in your `settings.json` file.
|
|
|
441
501
|
}
|
|
442
502
|
}
|
|
443
503
|
},
|
|
504
|
+
"fast-ack-helper": {
|
|
505
|
+
"extends": "base",
|
|
506
|
+
"modelConfig": {
|
|
507
|
+
"model": "gemini-2.5-flash-lite",
|
|
508
|
+
"generateContentConfig": {
|
|
509
|
+
"temperature": 0.2,
|
|
510
|
+
"maxOutputTokens": 120,
|
|
511
|
+
"thinkingConfig": {
|
|
512
|
+
"thinkingBudget": 0
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
},
|
|
444
517
|
"edit-corrector": {
|
|
445
518
|
"extends": "base",
|
|
446
519
|
"modelConfig": {
|
|
@@ -471,7 +544,7 @@ their corresponding top-level category object in your `settings.json` file.
|
|
|
471
544
|
}
|
|
472
545
|
},
|
|
473
546
|
"web-search": {
|
|
474
|
-
"extends": "gemini-
|
|
547
|
+
"extends": "gemini-3-flash-base",
|
|
475
548
|
"modelConfig": {
|
|
476
549
|
"generateContentConfig": {
|
|
477
550
|
"tools": [
|
|
@@ -483,7 +556,7 @@ their corresponding top-level category object in your `settings.json` file.
|
|
|
483
556
|
}
|
|
484
557
|
},
|
|
485
558
|
"web-fetch": {
|
|
486
|
-
"extends": "gemini-
|
|
559
|
+
"extends": "gemini-3-flash-base",
|
|
487
560
|
"modelConfig": {
|
|
488
561
|
"generateContentConfig": {
|
|
489
562
|
"tools": [
|
|
@@ -495,25 +568,25 @@ their corresponding top-level category object in your `settings.json` file.
|
|
|
495
568
|
}
|
|
496
569
|
},
|
|
497
570
|
"web-fetch-fallback": {
|
|
498
|
-
"extends": "gemini-
|
|
571
|
+
"extends": "gemini-3-flash-base",
|
|
499
572
|
"modelConfig": {}
|
|
500
573
|
},
|
|
501
574
|
"loop-detection": {
|
|
502
|
-
"extends": "gemini-
|
|
575
|
+
"extends": "gemini-3-flash-base",
|
|
503
576
|
"modelConfig": {}
|
|
504
577
|
},
|
|
505
578
|
"loop-detection-double-check": {
|
|
506
579
|
"extends": "base",
|
|
507
580
|
"modelConfig": {
|
|
508
|
-
"model": "gemini-
|
|
581
|
+
"model": "gemini-3-pro-preview"
|
|
509
582
|
}
|
|
510
583
|
},
|
|
511
584
|
"llm-edit-fixer": {
|
|
512
|
-
"extends": "gemini-
|
|
585
|
+
"extends": "gemini-3-flash-base",
|
|
513
586
|
"modelConfig": {}
|
|
514
587
|
},
|
|
515
588
|
"next-speaker-checker": {
|
|
516
|
-
"extends": "gemini-
|
|
589
|
+
"extends": "gemini-3-flash-base",
|
|
517
590
|
"modelConfig": {}
|
|
518
591
|
},
|
|
519
592
|
"chat-compression-3-pro": {
|
|
@@ -543,7 +616,7 @@ their corresponding top-level category object in your `settings.json` file.
|
|
|
543
616
|
},
|
|
544
617
|
"chat-compression-default": {
|
|
545
618
|
"modelConfig": {
|
|
546
|
-
"model": "gemini-
|
|
619
|
+
"model": "gemini-3-pro-preview"
|
|
547
620
|
}
|
|
548
621
|
}
|
|
549
622
|
}
|
|
@@ -584,6 +657,11 @@ their corresponding top-level category object in your `settings.json` file.
|
|
|
584
657
|
- **Description:** The format to use when importing memory.
|
|
585
658
|
- **Default:** `undefined`
|
|
586
659
|
|
|
660
|
+
- **`context.includeDirectoryTree`** (boolean):
|
|
661
|
+
- **Description:** Whether to include the directory tree of the current
|
|
662
|
+
working directory in the initial request to the model.
|
|
663
|
+
- **Default:** `true`
|
|
664
|
+
|
|
587
665
|
- **`context.discoveryMaxDirs`** (number):
|
|
588
666
|
- **Description:** Maximum number of directories to search for memory.
|
|
589
667
|
- **Default:** `200`
|
|
@@ -661,18 +739,6 @@ their corresponding top-level category object in your `settings.json` file.
|
|
|
661
739
|
performance.
|
|
662
740
|
- **Default:** `true`
|
|
663
741
|
|
|
664
|
-
- **`tools.autoAccept`** (boolean):
|
|
665
|
-
- **Description:** Automatically accept and execute tool calls that are
|
|
666
|
-
considered safe (e.g., read-only operations).
|
|
667
|
-
- **Default:** `false`
|
|
668
|
-
|
|
669
|
-
- **`tools.approvalMode`** (enum):
|
|
670
|
-
- **Description:** The default approval mode for tool execution. 'default'
|
|
671
|
-
prompts for approval, 'auto_edit' auto-approves edit tools, and 'plan' is
|
|
672
|
-
read-only mode. 'yolo' is not supported yet.
|
|
673
|
-
- **Default:** `"default"`
|
|
674
|
-
- **Values:** `"default"`, `"auto_edit"`, `"plan"`
|
|
675
|
-
|
|
676
742
|
- **`tools.core`** (array):
|
|
677
743
|
- **Description:** Restrict the set of built-in tools with an allowlist. Match
|
|
678
744
|
semantics mirror tools.allowed; see the built-in tools documentation for
|
|
@@ -710,20 +776,10 @@ their corresponding top-level category object in your `settings.json` file.
|
|
|
710
776
|
implementation. Provides faster search performance.
|
|
711
777
|
- **Default:** `true`
|
|
712
778
|
|
|
713
|
-
- **`tools.enableToolOutputTruncation`** (boolean):
|
|
714
|
-
- **Description:** Enable truncation of large tool outputs.
|
|
715
|
-
- **Default:** `true`
|
|
716
|
-
- **Requires restart:** Yes
|
|
717
|
-
|
|
718
779
|
- **`tools.truncateToolOutputThreshold`** (number):
|
|
719
|
-
- **Description:**
|
|
720
|
-
|
|
721
|
-
- **Default:** `
|
|
722
|
-
- **Requires restart:** Yes
|
|
723
|
-
|
|
724
|
-
- **`tools.truncateToolOutputLines`** (number):
|
|
725
|
-
- **Description:** The number of lines to keep when truncating tool output.
|
|
726
|
-
- **Default:** `1000`
|
|
780
|
+
- **Description:** Maximum characters to show when truncating large tool
|
|
781
|
+
outputs. Set to 0 or negative to disable truncation.
|
|
782
|
+
- **Default:** `40000`
|
|
727
783
|
- **Requires restart:** Yes
|
|
728
784
|
|
|
729
785
|
- **`tools.disableLLMCorrection`** (boolean):
|
|
@@ -782,7 +838,7 @@ their corresponding top-level category object in your `settings.json` file.
|
|
|
782
838
|
|
|
783
839
|
- **`security.folderTrust.enabled`** (boolean):
|
|
784
840
|
- **Description:** Setting to track whether Folder trust is enabled.
|
|
785
|
-
- **Default:** `
|
|
841
|
+
- **Default:** `true`
|
|
786
842
|
- **Requires restart:** Yes
|
|
787
843
|
|
|
788
844
|
- **`security.environmentVariableRedaction.allowed`** (array):
|
|
@@ -843,6 +899,28 @@ their corresponding top-level category object in your `settings.json` file.
|
|
|
843
899
|
|
|
844
900
|
#### `experimental`
|
|
845
901
|
|
|
902
|
+
- **`experimental.toolOutputMasking.enabled`** (boolean):
|
|
903
|
+
- **Description:** Enables tool output masking to save tokens.
|
|
904
|
+
- **Default:** `true`
|
|
905
|
+
- **Requires restart:** Yes
|
|
906
|
+
|
|
907
|
+
- **`experimental.toolOutputMasking.toolProtectionThreshold`** (number):
|
|
908
|
+
- **Description:** Minimum number of tokens to protect from masking (most
|
|
909
|
+
recent tool outputs).
|
|
910
|
+
- **Default:** `50000`
|
|
911
|
+
- **Requires restart:** Yes
|
|
912
|
+
|
|
913
|
+
- **`experimental.toolOutputMasking.minPrunableTokensThreshold`** (number):
|
|
914
|
+
- **Description:** Minimum prunable tokens required to trigger a masking pass.
|
|
915
|
+
- **Default:** `30000`
|
|
916
|
+
- **Requires restart:** Yes
|
|
917
|
+
|
|
918
|
+
- **`experimental.toolOutputMasking.protectLatestTurn`** (boolean):
|
|
919
|
+
- **Description:** Ensures the absolute latest turn is never masked,
|
|
920
|
+
regardless of token count.
|
|
921
|
+
- **Default:** `true`
|
|
922
|
+
- **Requires restart:** Yes
|
|
923
|
+
|
|
846
924
|
- **`experimental.enableAgents`** (boolean):
|
|
847
925
|
- **Description:** Enable local and remote subagents. Warning: Experimental
|
|
848
926
|
feature, uses YOLO mode for subagents
|
|
@@ -856,12 +934,12 @@ their corresponding top-level category object in your `settings.json` file.
|
|
|
856
934
|
|
|
857
935
|
- **`experimental.extensionConfig`** (boolean):
|
|
858
936
|
- **Description:** Enable requesting and fetching of extension settings.
|
|
859
|
-
- **Default:** `
|
|
937
|
+
- **Default:** `true`
|
|
860
938
|
- **Requires restart:** Yes
|
|
861
939
|
|
|
862
|
-
- **`experimental.
|
|
863
|
-
- **Description:**
|
|
864
|
-
- **Default:** `
|
|
940
|
+
- **`experimental.extensionRegistry`** (boolean):
|
|
941
|
+
- **Description:** Enable extension registry explore UI.
|
|
942
|
+
- **Default:** `false`
|
|
865
943
|
- **Requires restart:** Yes
|
|
866
944
|
|
|
867
945
|
- **`experimental.extensionReloading`** (boolean):
|
|
@@ -875,8 +953,15 @@ their corresponding top-level category object in your `settings.json` file.
|
|
|
875
953
|
- **Requires restart:** Yes
|
|
876
954
|
|
|
877
955
|
- **`experimental.useOSC52Paste`** (boolean):
|
|
878
|
-
- **Description:** Use OSC 52
|
|
879
|
-
|
|
956
|
+
- **Description:** Use OSC 52 for pasting. This may be more robust than the
|
|
957
|
+
default system when using remote terminal sessions (if your terminal is
|
|
958
|
+
configured to allow it).
|
|
959
|
+
- **Default:** `false`
|
|
960
|
+
|
|
961
|
+
- **`experimental.useOSC52Copy`** (boolean):
|
|
962
|
+
- **Description:** Use OSC 52 for copying. This may be more robust than the
|
|
963
|
+
default system when using remote terminal sessions (if your terminal is
|
|
964
|
+
configured to allow it).
|
|
880
965
|
- **Default:** `false`
|
|
881
966
|
|
|
882
967
|
- **`experimental.plan`** (boolean):
|
|
@@ -884,6 +969,16 @@ their corresponding top-level category object in your `settings.json` file.
|
|
|
884
969
|
- **Default:** `false`
|
|
885
970
|
- **Requires restart:** Yes
|
|
886
971
|
|
|
972
|
+
- **`experimental.modelSteering`** (boolean):
|
|
973
|
+
- **Description:** Enable model steering (user hints) to guide the model
|
|
974
|
+
during tool execution.
|
|
975
|
+
- **Default:** `false`
|
|
976
|
+
|
|
977
|
+
- **`experimental.directWebFetch`** (boolean):
|
|
978
|
+
- **Description:** Enable web fetch behavior that bypasses LLM summarization.
|
|
979
|
+
- **Default:** `false`
|
|
980
|
+
- **Requires restart:** Yes
|
|
981
|
+
|
|
887
982
|
#### `skills`
|
|
888
983
|
|
|
889
984
|
- **`skills.enabled`** (boolean):
|
|
@@ -985,6 +1080,10 @@ their corresponding top-level category object in your `settings.json` file.
|
|
|
985
1080
|
- **Description:** If false, disallows MCP servers from being used.
|
|
986
1081
|
- **Default:** `true`
|
|
987
1082
|
|
|
1083
|
+
- **`admin.mcp.config`** (object):
|
|
1084
|
+
- **Description:** Admin-configured MCP servers.
|
|
1085
|
+
- **Default:** `{}`
|
|
1086
|
+
|
|
988
1087
|
- **`admin.skills.enabled`** (boolean):
|
|
989
1088
|
- **Description:** If false, disallows agent skills from being used.
|
|
990
1089
|
- **Default:** `true`
|
|
@@ -1139,8 +1238,8 @@ within your user's home folder.
|
|
|
1139
1238
|
Environment variables are a common way to configure applications, especially for
|
|
1140
1239
|
sensitive information like API keys or for settings that might change between
|
|
1141
1240
|
environments. For authentication setup, see the
|
|
1142
|
-
[Authentication documentation](
|
|
1143
|
-
authentication methods.
|
|
1241
|
+
[Authentication documentation](../get-started/authentication.md) which covers
|
|
1242
|
+
all available authentication methods.
|
|
1144
1243
|
|
|
1145
1244
|
The CLI automatically loads environment variables from an `.env` file. The
|
|
1146
1245
|
loading order is:
|
|
@@ -1159,13 +1258,21 @@ the `advanced.excludedEnvVars` setting in your `settings.json` file.
|
|
|
1159
1258
|
|
|
1160
1259
|
- **`GEMINI_API_KEY`**:
|
|
1161
1260
|
- Your API key for the Gemini API.
|
|
1162
|
-
- One of several available
|
|
1261
|
+
- One of several available
|
|
1262
|
+
[authentication methods](../get-started/authentication.md).
|
|
1163
1263
|
- Set this in your shell profile (e.g., `~/.bashrc`, `~/.zshrc`) or an `.env`
|
|
1164
1264
|
file.
|
|
1165
1265
|
- **`GEMINI_MODEL`**:
|
|
1166
1266
|
- Specifies the default Gemini model to use.
|
|
1167
1267
|
- Overrides the hardcoded default
|
|
1168
1268
|
- Example: `export GEMINI_MODEL="gemini-3-flash-preview"`
|
|
1269
|
+
- **`GEMINI_CLI_HOME`**:
|
|
1270
|
+
- Specifies the root directory for Gemini CLI's user-level configuration and
|
|
1271
|
+
storage.
|
|
1272
|
+
- By default, this is the user's system home directory. The CLI will create a
|
|
1273
|
+
`.gemini` folder inside this directory.
|
|
1274
|
+
- Useful for shared compute environments or keeping CLI state isolated.
|
|
1275
|
+
- Example: `export GEMINI_CLI_HOME="/path/to/user/config"`
|
|
1169
1276
|
- **`GOOGLE_API_KEY`**:
|
|
1170
1277
|
- Your Google Cloud API key.
|
|
1171
1278
|
- Required for using Vertex AI in express mode.
|
|
@@ -1242,7 +1349,10 @@ the `advanced.excludedEnvVars` setting in your `settings.json` file.
|
|
|
1242
1349
|
few other folders, see
|
|
1243
1350
|
`packages/cli/src/utils/sandbox-macos-permissive-open.sb`) but allows other
|
|
1244
1351
|
operations.
|
|
1245
|
-
- `
|
|
1352
|
+
- `restrictive-open`: Declines operations by default, allows network.
|
|
1353
|
+
- `strict-open`: Restricts both reads and writes to the working directory,
|
|
1354
|
+
allows network.
|
|
1355
|
+
- `strict-proxied`: Same as `strict-open` but routes network through proxy.
|
|
1246
1356
|
- `<profile_name>`: Uses a custom profile. To define a custom profile, create
|
|
1247
1357
|
a file named `sandbox-macos-<profile_name>.sb` in your project's `.gemini/`
|
|
1248
1358
|
directory (e.g., `my-project/.gemini/sandbox-macos-custom.sb`).
|
|
@@ -1316,10 +1426,9 @@ for that specific session.
|
|
|
1316
1426
|
- Specifies the Gemini model to use for this session.
|
|
1317
1427
|
- Example: `npm start -- --model gemini-3-pro-preview`
|
|
1318
1428
|
- **`--prompt <your_prompt>`** (**`-p <your_prompt>`**):
|
|
1429
|
+
- **Deprecated:** Use positional arguments instead.
|
|
1319
1430
|
- Used to pass a prompt directly to the command. This invokes Gemini CLI in a
|
|
1320
1431
|
non-interactive mode.
|
|
1321
|
-
- For scripting examples, use the `--output-format json` flag to get
|
|
1322
|
-
structured output.
|
|
1323
1432
|
- **`--prompt-interactive <your_prompt>`** (**`-i <your_prompt>`**):
|
|
1324
1433
|
- Starts an interactive session with the provided prompt as the initial input.
|
|
1325
1434
|
- The prompt is processed within the interactive session, not before it.
|
|
@@ -1496,15 +1605,15 @@ conventions and context.
|
|
|
1496
1605
|
about the active instructional context.
|
|
1497
1606
|
- **Importing content:** You can modularize your context files by importing
|
|
1498
1607
|
other Markdown files using the `@path/to/file.md` syntax. For more details,
|
|
1499
|
-
see the [Memory Import Processor documentation](
|
|
1608
|
+
see the [Memory Import Processor documentation](./memport.md).
|
|
1500
1609
|
- **Commands for memory management:**
|
|
1501
1610
|
- Use `/memory refresh` to force a re-scan and reload of all context files
|
|
1502
1611
|
from all configured locations. This updates the AI's instructional context.
|
|
1503
1612
|
- Use `/memory show` to display the combined instructional context currently
|
|
1504
1613
|
loaded, allowing you to verify the hierarchy and content being used by the
|
|
1505
1614
|
AI.
|
|
1506
|
-
- See the [Commands documentation](
|
|
1507
|
-
|
|
1615
|
+
- See the [Commands documentation](./commands.md#memory) for full details on
|
|
1616
|
+
the `/memory` command and its sub-commands (`show` and `refresh`).
|
|
1508
1617
|
|
|
1509
1618
|
By understanding and utilizing these configuration layers and the hierarchical
|
|
1510
1619
|
nature of context files, you can effectively manage the AI's memory and tailor
|
|
@@ -8,12 +8,12 @@ available combinations.
|
|
|
8
8
|
|
|
9
9
|
#### Basic Controls
|
|
10
10
|
|
|
11
|
-
| Action | Keys
|
|
12
|
-
| --------------------------------------------------------------- |
|
|
13
|
-
| Confirm the current selection or choice. | `Enter`
|
|
14
|
-
| Dismiss dialogs or cancel the current focus. | `Esc`
|
|
15
|
-
| Cancel the current request or quit the CLI when input is empty. | `Ctrl + C`
|
|
16
|
-
| Exit the CLI when the input buffer is empty. | `Ctrl + D`
|
|
11
|
+
| Action | Keys |
|
|
12
|
+
| --------------------------------------------------------------- | --------------------- |
|
|
13
|
+
| Confirm the current selection or choice. | `Enter` |
|
|
14
|
+
| Dismiss dialogs or cancel the current focus. | `Esc`<br />`Ctrl + [` |
|
|
15
|
+
| Cancel the current request or quit the CLI when input is empty. | `Ctrl + C` |
|
|
16
|
+
| Exit the CLI when the input buffer is empty. | `Ctrl + D` |
|
|
17
17
|
|
|
18
18
|
#### Cursor Movement
|
|
19
19
|
|
|
@@ -36,7 +36,7 @@ available combinations.
|
|
|
36
36
|
| Delete from the cursor to the start of the line. | `Ctrl + U` |
|
|
37
37
|
| Clear all text in the input field. | `Ctrl + C` |
|
|
38
38
|
| Delete the previous word. | `Ctrl + Backspace`<br />`Alt + Backspace`<br />`Ctrl + W` |
|
|
39
|
-
| Delete the next word. | `Ctrl + Delete`<br />`Alt + Delete`
|
|
39
|
+
| Delete the next word. | `Ctrl + Delete`<br />`Alt + Delete`<br />`Alt + D` |
|
|
40
40
|
| Delete the character to the left. | `Backspace`<br />`Ctrl + H` |
|
|
41
41
|
| Delete the character to the right. | `Delete`<br />`Ctrl + D` |
|
|
42
42
|
| Undo the most recent text edit. | `Cmd + Z (no Shift)`<br />`Alt + Z (no Shift)` |
|
|
@@ -61,7 +61,7 @@ available combinations.
|
|
|
61
61
|
| Show the next entry in history. | `Ctrl + N (no Shift)` |
|
|
62
62
|
| Start reverse search through history. | `Ctrl + R` |
|
|
63
63
|
| Submit the selected reverse-search match. | `Enter (no Ctrl)` |
|
|
64
|
-
| Accept a suggestion while reverse searching. | `Tab`
|
|
64
|
+
| Accept a suggestion while reverse searching. | `Tab (no Shift)` |
|
|
65
65
|
| Browse and rewind previous interactions. | `Double Esc` |
|
|
66
66
|
|
|
67
67
|
#### Navigation
|
|
@@ -79,7 +79,7 @@ available combinations.
|
|
|
79
79
|
|
|
80
80
|
| Action | Keys |
|
|
81
81
|
| --------------------------------------- | -------------------------------------------------- |
|
|
82
|
-
| Accept the inline suggestion. | `Tab`<br />`Enter (no Ctrl)`
|
|
82
|
+
| Accept the inline suggestion. | `Tab (no Shift)`<br />`Enter (no Ctrl)` |
|
|
83
83
|
| Move to the previous completion option. | `Up Arrow (no Shift)`<br />`Ctrl + P (no Shift)` |
|
|
84
84
|
| Move to the next completion option. | `Down Arrow (no Shift)`<br />`Ctrl + N (no Shift)` |
|
|
85
85
|
| Expand an inline suggestion. | `Right Arrow` |
|
|
@@ -96,29 +96,31 @@ available combinations.
|
|
|
96
96
|
|
|
97
97
|
#### App Controls
|
|
98
98
|
|
|
99
|
-
| Action
|
|
100
|
-
|
|
|
101
|
-
| Toggle detailed error information.
|
|
102
|
-
| Toggle the full TODO list.
|
|
103
|
-
| Show IDE context details.
|
|
104
|
-
| Toggle Markdown rendering.
|
|
105
|
-
| Toggle copy mode when in alternate buffer mode.
|
|
106
|
-
| Toggle YOLO (auto-approval) mode for tool calls.
|
|
107
|
-
| Cycle through approval modes: default (prompt), auto_edit (auto-approve edits), and plan (read-only). | `Shift + Tab`
|
|
108
|
-
| Expand
|
|
109
|
-
|
|
|
110
|
-
|
|
|
111
|
-
|
|
|
112
|
-
|
|
|
113
|
-
|
|
|
114
|
-
|
|
|
115
|
-
|
|
|
116
|
-
|
|
|
117
|
-
|
|
|
118
|
-
|
|
|
119
|
-
|
|
|
120
|
-
|
|
|
121
|
-
|
|
|
99
|
+
| Action | Keys |
|
|
100
|
+
| -------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------- |
|
|
101
|
+
| Toggle detailed error information. | `F12` |
|
|
102
|
+
| Toggle the full TODO list. | `Ctrl + T` |
|
|
103
|
+
| Show IDE context details. | `Ctrl + G` |
|
|
104
|
+
| Toggle Markdown rendering. | `Alt + M` |
|
|
105
|
+
| Toggle copy mode when in alternate buffer mode. | `Ctrl + S` |
|
|
106
|
+
| Toggle YOLO (auto-approval) mode for tool calls. | `Ctrl + Y` |
|
|
107
|
+
| Cycle through approval modes: default (prompt), auto_edit (auto-approve edits), and plan (read-only). Plan mode is skipped when the agent is busy. | `Shift + Tab` |
|
|
108
|
+
| Expand and collapse blocks of content when not in alternate buffer mode. | `Ctrl + O` |
|
|
109
|
+
| Expand or collapse a paste placeholder when cursor is over placeholder. | `Ctrl + O` |
|
|
110
|
+
| Toggle current background shell visibility. | `Ctrl + B` |
|
|
111
|
+
| Toggle background shell list. | `Ctrl + L` |
|
|
112
|
+
| Kill the active background shell. | `Ctrl + K` |
|
|
113
|
+
| Confirm selection in background shell list. | `Enter` |
|
|
114
|
+
| Dismiss background shell list. | `Esc` |
|
|
115
|
+
| Move focus from background shell to Gemini. | `Shift + Tab` |
|
|
116
|
+
| Move focus from background shell list to Gemini. | `Tab (no Shift)` |
|
|
117
|
+
| Show warning when trying to move focus away from background shell. | `Tab (no Shift)` |
|
|
118
|
+
| Show warning when trying to move focus away from shell input. | `Tab (no Shift)` |
|
|
119
|
+
| Move focus from Gemini to the active shell. | `Tab (no Shift)` |
|
|
120
|
+
| Move focus from the shell back to Gemini. | `Shift + Tab` |
|
|
121
|
+
| Clear the terminal screen and redraw the UI. | `Ctrl + L` |
|
|
122
|
+
| Restart the application. | `R` |
|
|
123
|
+
| Suspend the CLI and move it to the background. | `Ctrl + Z` |
|
|
122
124
|
|
|
123
125
|
<!-- KEYBINDINGS-AUTOGEN:END -->
|
|
124
126
|
|
|
@@ -127,6 +129,17 @@ available combinations.
|
|
|
127
129
|
- `Option+B/F/M` (macOS only): Are interpreted as `Cmd+B/F/M` even if your
|
|
128
130
|
terminal isn't configured to send Meta with Option.
|
|
129
131
|
- `!` on an empty prompt: Enter or exit shell mode.
|
|
132
|
+
- `?` on an empty prompt: Toggle the shortcuts panel above the input. Press
|
|
133
|
+
`Esc`, `Backspace`, any printable key, or a registered app hotkey to close it.
|
|
134
|
+
The panel also auto-hides while the agent is running/streaming or when
|
|
135
|
+
action-required dialogs are shown. Press `?` again to close the panel and
|
|
136
|
+
insert a `?` into the prompt.
|
|
137
|
+
- `Tab` + `Tab` (while typing in the prompt): Toggle between minimal and full UI
|
|
138
|
+
details when no completion/search interaction is active. The selected mode is
|
|
139
|
+
remembered for future sessions. Full UI remains the default on first run, and
|
|
140
|
+
single `Tab` keeps its existing completion/focus behavior.
|
|
141
|
+
- `Shift + Tab` (while typing in the prompt): Cycle approval modes: default,
|
|
142
|
+
auto-edit, and plan (skipped when agent is busy).
|
|
130
143
|
- `\` (at end of a line) + `Enter`: Insert a newline without leaving single-line
|
|
131
144
|
mode.
|
|
132
145
|
- `Esc` pressed twice quickly: Clear the input prompt if it is not empty,
|
|
@@ -135,6 +148,7 @@ available combinations.
|
|
|
135
148
|
single-line input, navigate backward or forward through prompt history.
|
|
136
149
|
- `Number keys (1-9, multi-digit)` inside selection dialogs: Jump directly to
|
|
137
150
|
the numbered radio option and confirm when the full number is entered.
|
|
138
|
-
- `
|
|
139
|
-
|
|
140
|
-
|
|
151
|
+
- `Ctrl + O`: Expand or collapse paste placeholders (`[Pasted Text: X lines]`)
|
|
152
|
+
inline when the cursor is over the placeholder.
|
|
153
|
+
- `Double-click` on a paste placeholder (alternate buffer mode only): Expand to
|
|
154
|
+
view full content inline. Double-click again to collapse.
|