@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,9 +1,9 @@
|
|
|
1
1
|
# Rewind
|
|
2
2
|
|
|
3
|
-
The `/rewind` command
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
The `/rewind` command lets you go back to a previous state in your conversation
|
|
4
|
+
and, optionally, revert any file changes made by the AI during those
|
|
5
|
+
interactions. This is a powerful tool for undoing mistakes, exploring different
|
|
6
|
+
approaches, or simply cleaning up your session history.
|
|
7
7
|
|
|
8
8
|
## Usage
|
|
9
9
|
|
|
@@ -17,13 +17,13 @@ Alternatively, you can use the keyboard shortcut: **Press `Esc` twice**.
|
|
|
17
17
|
When you trigger a rewind, an interactive list of your previous interactions
|
|
18
18
|
appears.
|
|
19
19
|
|
|
20
|
-
1. **Select
|
|
20
|
+
1. **Select interaction:** Use the **Up/Down arrow keys** to navigate through
|
|
21
21
|
the list. The most recent interactions are at the bottom.
|
|
22
22
|
2. **Preview:** As you select an interaction, you'll see a preview of the user
|
|
23
23
|
prompt and, if applicable, the number of files changed during that step.
|
|
24
|
-
3. **Confirm
|
|
24
|
+
3. **Confirm selection:** Press **Enter** on the interaction you want to rewind
|
|
25
25
|
back to.
|
|
26
|
-
4. **Action
|
|
26
|
+
4. **Action selection:** After selecting an interaction, you'll be presented
|
|
27
27
|
with a confirmation dialog with up to three options:
|
|
28
28
|
- **Rewind conversation and revert code changes:** Reverts both the chat
|
|
29
29
|
history and the file modifications to the state before the selected
|
|
@@ -37,14 +37,14 @@ appears.
|
|
|
37
37
|
If no code changes were made since the selected point, the options related to
|
|
38
38
|
reverting code changes will be hidden.
|
|
39
39
|
|
|
40
|
-
## Key
|
|
40
|
+
## Key considerations
|
|
41
41
|
|
|
42
|
-
- **Destructive
|
|
42
|
+
- **Destructive action:** Rewinding is a destructive action for your current
|
|
43
43
|
session history and potentially your files. Use it with care.
|
|
44
|
-
- **Agent
|
|
44
|
+
- **Agent awareness:** When you rewind the conversation, the AI model loses all
|
|
45
45
|
memory of the interactions that were removed. If you only revert code changes,
|
|
46
46
|
you may need to inform the model that the files have changed.
|
|
47
|
-
- **Manual
|
|
47
|
+
- **Manual edits:** Rewinding only affects file changes made by the AI's edit
|
|
48
48
|
tools. It does **not** undo manual edits you've made or changes triggered by
|
|
49
49
|
the shell tool (`!`).
|
|
50
50
|
- **Compression:** Rewind works across chat compression points by reconstructing
|
|
@@ -82,10 +82,11 @@ gemini -p "run the test suite"
|
|
|
82
82
|
Built-in profiles (set via `SEATBELT_PROFILE` env var):
|
|
83
83
|
|
|
84
84
|
- `permissive-open` (default): Write restrictions, network allowed
|
|
85
|
-
- `permissive-closed`: Write restrictions, no network
|
|
86
85
|
- `permissive-proxied`: Write restrictions, network via proxy
|
|
87
86
|
- `restrictive-open`: Strict restrictions, network allowed
|
|
88
|
-
- `restrictive-
|
|
87
|
+
- `restrictive-proxied`: Strict restrictions, network via proxy
|
|
88
|
+
- `strict-open`: Read and write restrictions, network allowed
|
|
89
|
+
- `strict-proxied`: Read and write restrictions, network via proxy
|
|
89
90
|
|
|
90
91
|
### Custom sandbox flags
|
|
91
92
|
|
|
@@ -166,6 +167,6 @@ gemini -s -p "run shell command: mount | grep workspace"
|
|
|
166
167
|
|
|
167
168
|
## Related documentation
|
|
168
169
|
|
|
169
|
-
- [Configuration](../
|
|
170
|
-
- [Commands](
|
|
171
|
-
- [Troubleshooting](../troubleshooting.md): General troubleshooting.
|
|
170
|
+
- [Configuration](../reference/configuration.md): Full configuration options.
|
|
171
|
+
- [Commands](../reference/commands.md): Available commands.
|
|
172
|
+
- [Troubleshooting](../resources/troubleshooting.md): General troubleshooting.
|
|
@@ -1,32 +1,36 @@
|
|
|
1
|
-
# Session
|
|
1
|
+
# Session management
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
conversation history effectively.
|
|
3
|
+
Session management saves your conversation history so you can resume your work
|
|
4
|
+
where you left off. Use these features to review past interactions, manage
|
|
5
|
+
history across different projects, and configure how long data is retained.
|
|
7
6
|
|
|
8
|
-
## Automatic
|
|
7
|
+
## Automatic saving
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
This
|
|
9
|
+
Your session history is recorded automatically as you interact with the model.
|
|
10
|
+
This background process ensures your work is preserved even if you interrupt a
|
|
11
|
+
session.
|
|
12
12
|
|
|
13
13
|
- **What is saved:** The complete conversation history, including:
|
|
14
14
|
- Your prompts and the model's responses.
|
|
15
15
|
- All tool executions (inputs and outputs).
|
|
16
|
-
- Token usage statistics (input
|
|
17
|
-
- Assistant thoughts
|
|
18
|
-
- **Location:** Sessions are stored in `~/.gemini/tmp/<project_hash>/chats
|
|
16
|
+
- Token usage statistics (input, output, cached, etc.).
|
|
17
|
+
- Assistant thoughts and reasoning summaries (when available).
|
|
18
|
+
- **Location:** Sessions are stored in `~/.gemini/tmp/<project_hash>/chats/`,
|
|
19
|
+
where `<project_hash>` is a unique identifier based on your project's root
|
|
20
|
+
directory.
|
|
19
21
|
- **Scope:** Sessions are project-specific. Switching directories to a different
|
|
20
|
-
project
|
|
22
|
+
project switches to that project's session history.
|
|
21
23
|
|
|
22
|
-
## Resuming
|
|
24
|
+
## Resuming sessions
|
|
23
25
|
|
|
24
26
|
You can resume a previous session to continue the conversation with all prior
|
|
25
|
-
context restored.
|
|
27
|
+
context restored. Resuming is supported both through command-line flags and an
|
|
28
|
+
interactive browser.
|
|
26
29
|
|
|
27
|
-
### From the
|
|
30
|
+
### From the command line
|
|
28
31
|
|
|
29
|
-
When starting
|
|
32
|
+
When starting Gemini CLI, use the `--resume` (or `-r`) flag to load existing
|
|
33
|
+
sessions.
|
|
30
34
|
|
|
31
35
|
- **Resume latest:**
|
|
32
36
|
|
|
@@ -36,8 +40,8 @@ When starting the CLI, you can use the `--resume` (or `-r`) flag:
|
|
|
36
40
|
|
|
37
41
|
This immediately loads the most recent session.
|
|
38
42
|
|
|
39
|
-
- **Resume by index:**
|
|
40
|
-
[Listing
|
|
43
|
+
- **Resume by index:** List available sessions first (see
|
|
44
|
+
[Listing sessions](#listing-sessions)), then use the index number:
|
|
41
45
|
|
|
42
46
|
```bash
|
|
43
47
|
gemini --resume 1
|
|
@@ -48,30 +52,35 @@ When starting the CLI, you can use the `--resume` (or `-r`) flag:
|
|
|
48
52
|
gemini --resume a1b2c3d4-e5f6-7890-abcd-ef1234567890
|
|
49
53
|
```
|
|
50
54
|
|
|
51
|
-
### From the
|
|
55
|
+
### From the interactive interface
|
|
52
56
|
|
|
53
|
-
While the CLI is running,
|
|
54
|
-
|
|
57
|
+
While the CLI is running, use the `/resume` slash command to open the **Session
|
|
58
|
+
Browser**:
|
|
55
59
|
|
|
56
60
|
```text
|
|
57
61
|
/resume
|
|
58
62
|
```
|
|
59
63
|
|
|
60
|
-
|
|
64
|
+
The Session Browser provides an interactive interface where you can perform the
|
|
65
|
+
following actions:
|
|
61
66
|
|
|
62
67
|
- **Browse:** Scroll through a list of your past sessions.
|
|
63
68
|
- **Preview:** See details like the session date, message count, and the first
|
|
64
69
|
user prompt.
|
|
65
70
|
- **Search:** Press `/` to enter search mode, then type to filter sessions by ID
|
|
66
71
|
or content.
|
|
67
|
-
- **Select:** Press
|
|
72
|
+
- **Select:** Press **Enter** to resume the selected session.
|
|
73
|
+
- **Esc:** Press **Esc** to exit the Session Browser.
|
|
68
74
|
|
|
69
|
-
## Managing
|
|
75
|
+
## Managing sessions
|
|
70
76
|
|
|
71
|
-
|
|
77
|
+
You can list and delete sessions to keep your history organized and manage disk
|
|
78
|
+
space.
|
|
79
|
+
|
|
80
|
+
### Listing sessions
|
|
72
81
|
|
|
73
82
|
To see a list of all available sessions for the current project from the command
|
|
74
|
-
line:
|
|
83
|
+
line, use the `--list-sessions` flag:
|
|
75
84
|
|
|
76
85
|
```bash
|
|
77
86
|
gemini --list-sessions
|
|
@@ -87,12 +96,12 @@ Available sessions for this project (3):
|
|
|
87
96
|
3. Update documentation (Just now) [abcd1234]
|
|
88
97
|
```
|
|
89
98
|
|
|
90
|
-
### Deleting
|
|
99
|
+
### Deleting sessions
|
|
91
100
|
|
|
92
101
|
You can remove old or unwanted sessions to free up space or declutter your
|
|
93
102
|
history.
|
|
94
103
|
|
|
95
|
-
**From the
|
|
104
|
+
**From the command line:** Use the `--delete-session` flag with an index or ID:
|
|
96
105
|
|
|
97
106
|
```bash
|
|
98
107
|
gemini --delete-session 2
|
|
@@ -102,17 +111,18 @@ gemini --delete-session 2
|
|
|
102
111
|
|
|
103
112
|
1. Open the browser with `/resume`.
|
|
104
113
|
2. Navigate to the session you want to remove.
|
|
105
|
-
3. Press
|
|
114
|
+
3. Press **x**.
|
|
106
115
|
|
|
107
116
|
## Configuration
|
|
108
117
|
|
|
109
118
|
You can configure how Gemini CLI manages your session history in your
|
|
110
|
-
`settings.json` file.
|
|
119
|
+
`settings.json` file. These settings let you control retention policies and
|
|
120
|
+
session lengths.
|
|
111
121
|
|
|
112
|
-
### Session
|
|
122
|
+
### Session retention
|
|
113
123
|
|
|
114
|
-
To prevent your history from growing indefinitely,
|
|
115
|
-
|
|
124
|
+
To prevent your history from growing indefinitely, enable automatic cleanup
|
|
125
|
+
policies in your settings.
|
|
116
126
|
|
|
117
127
|
```json
|
|
118
128
|
{
|
|
@@ -126,20 +136,20 @@ cleanup policies.
|
|
|
126
136
|
}
|
|
127
137
|
```
|
|
128
138
|
|
|
129
|
-
- **`enabled`**: (boolean) Master switch for session cleanup.
|
|
139
|
+
- **`enabled`**: (boolean) Master switch for session cleanup. Defaults to
|
|
130
140
|
`false`.
|
|
131
|
-
- **`maxAge`**: (string) Duration to keep sessions (
|
|
132
|
-
Sessions older than this
|
|
141
|
+
- **`maxAge`**: (string) Duration to keep sessions (for example, "24h", "7d",
|
|
142
|
+
"4w"). Sessions older than this are deleted.
|
|
133
143
|
- **`maxCount`**: (number) Maximum number of sessions to retain. The oldest
|
|
134
|
-
sessions exceeding this count
|
|
144
|
+
sessions exceeding this count are deleted.
|
|
135
145
|
- **`minRetention`**: (string) Minimum retention period (safety limit). Defaults
|
|
136
|
-
to `"1d"
|
|
146
|
+
to `"1d"`. Sessions newer than this period are never deleted by automatic
|
|
137
147
|
cleanup.
|
|
138
148
|
|
|
139
|
-
### Session
|
|
149
|
+
### Session limits
|
|
140
150
|
|
|
141
|
-
You can
|
|
142
|
-
|
|
151
|
+
You can limit the length of individual sessions to prevent context windows from
|
|
152
|
+
becoming too large and expensive.
|
|
143
153
|
|
|
144
154
|
```json
|
|
145
155
|
{
|
|
@@ -149,10 +159,17 @@ from becoming too large and expensive.
|
|
|
149
159
|
}
|
|
150
160
|
```
|
|
151
161
|
|
|
152
|
-
- **`maxSessionTurns`**: (number) The maximum number of turns (user
|
|
162
|
+
- **`maxSessionTurns`**: (number) The maximum number of turns (user and model
|
|
153
163
|
exchanges) allowed in a single session. Set to `-1` for unlimited (default).
|
|
154
164
|
|
|
155
165
|
**Behavior when limit is reached:**
|
|
156
|
-
- **Interactive
|
|
166
|
+
- **Interactive mode:** The CLI shows an informational message and stops
|
|
157
167
|
sending requests to the model. You must manually start a new session.
|
|
158
|
-
- **Non-
|
|
168
|
+
- **Non-interactive mode:** The CLI exits with an error.
|
|
169
|
+
|
|
170
|
+
## Next steps
|
|
171
|
+
|
|
172
|
+
- Explore the [Memory tool](../tools/memory.md) to save persistent information
|
|
173
|
+
across sessions.
|
|
174
|
+
- Learn how to [Checkpoint](./checkpointing.md) your session state.
|
|
175
|
+
- Check out the [CLI reference](./cli-reference.md) for all command-line flags.
|
|
@@ -22,14 +22,17 @@ they appear in the UI.
|
|
|
22
22
|
|
|
23
23
|
### General
|
|
24
24
|
|
|
25
|
-
| UI Label
|
|
26
|
-
|
|
|
27
|
-
|
|
|
28
|
-
|
|
|
29
|
-
| Enable Auto Update
|
|
30
|
-
| Enable
|
|
31
|
-
|
|
|
32
|
-
|
|
|
25
|
+
| UI Label | Setting | Description | Default |
|
|
26
|
+
| ----------------------- | ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------- |
|
|
27
|
+
| Vim Mode | `general.vimMode` | Enable Vim keybindings | `false` |
|
|
28
|
+
| Default Approval Mode | `general.defaultApprovalMode` | The default approval mode for tool execution. 'default' prompts for approval, 'auto_edit' auto-approves edit tools, and 'plan' is read-only mode. 'yolo' is not supported yet. | `"default"` |
|
|
29
|
+
| Enable Auto Update | `general.enableAutoUpdate` | Enable automatic updates. | `true` |
|
|
30
|
+
| Enable Notifications | `general.enableNotifications` | Enable run-event notifications for action-required prompts and session completion. Currently macOS only. | `false` |
|
|
31
|
+
| Plan Directory | `general.plan.directory` | The directory where planning artifacts are stored. If not specified, defaults to the system temporary directory. | `undefined` |
|
|
32
|
+
| Max Chat Model Attempts | `general.maxAttempts` | Maximum number of attempts for requests to the main chat model. Cannot exceed 10. | `10` |
|
|
33
|
+
| Debug Keystroke Logging | `general.debugKeystrokeLogging` | Enable debug logging of keystrokes to the console. | `false` |
|
|
34
|
+
| Enable Session Cleanup | `general.sessionRetention.enabled` | Enable automatic session cleanup | `false` |
|
|
35
|
+
| Keep chat history | `general.sessionRetention.maxAge` | Automatically delete chats older than this time period (e.g., "30d", "7d", "24h", "1w") | `undefined` |
|
|
33
36
|
|
|
34
37
|
### Output
|
|
35
38
|
|
|
@@ -39,31 +42,36 @@ they appear in the UI.
|
|
|
39
42
|
|
|
40
43
|
### UI
|
|
41
44
|
|
|
42
|
-
| UI Label
|
|
43
|
-
|
|
|
44
|
-
|
|
|
45
|
-
|
|
|
46
|
-
|
|
|
47
|
-
|
|
|
48
|
-
|
|
|
49
|
-
|
|
|
50
|
-
|
|
|
51
|
-
|
|
|
52
|
-
| Hide
|
|
53
|
-
|
|
|
54
|
-
| Hide
|
|
55
|
-
| Hide
|
|
56
|
-
|
|
|
57
|
-
|
|
|
58
|
-
|
|
|
59
|
-
|
|
|
60
|
-
|
|
|
61
|
-
|
|
|
62
|
-
|
|
|
63
|
-
|
|
|
64
|
-
| Show
|
|
65
|
-
|
|
|
66
|
-
| Screen
|
|
45
|
+
| UI Label | Setting | Description | Default |
|
|
46
|
+
| ------------------------------------ | -------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
|
|
47
|
+
| Auto Theme Switching | `ui.autoThemeSwitching` | Automatically switch between default light and dark themes based on terminal background color. | `true` |
|
|
48
|
+
| Terminal Background Polling Interval | `ui.terminalBackgroundPollingInterval` | Interval in seconds to poll the terminal background color. | `60` |
|
|
49
|
+
| Hide Window Title | `ui.hideWindowTitle` | Hide the window title bar | `false` |
|
|
50
|
+
| Inline Thinking | `ui.inlineThinkingMode` | Display model thinking inline: off or full. | `"off"` |
|
|
51
|
+
| Show Thoughts in Title | `ui.showStatusInTitle` | Show Gemini CLI model thoughts in the terminal window title during the working phase | `false` |
|
|
52
|
+
| Dynamic Window Title | `ui.dynamicWindowTitle` | Update the terminal window title with current status icons (Ready: ◇, Action Required: ✋, Working: ✦) | `true` |
|
|
53
|
+
| Show Home Directory Warning | `ui.showHomeDirectoryWarning` | Show a warning when running Gemini CLI in the home directory. | `true` |
|
|
54
|
+
| Show Compatibility Warnings | `ui.showCompatibilityWarnings` | Show warnings about terminal or OS compatibility issues. | `true` |
|
|
55
|
+
| Hide Tips | `ui.hideTips` | Hide helpful tips in the UI | `false` |
|
|
56
|
+
| Show Shortcuts Hint | `ui.showShortcutsHint` | Show the "? for shortcuts" hint above the input. | `true` |
|
|
57
|
+
| Hide Banner | `ui.hideBanner` | Hide the application banner | `false` |
|
|
58
|
+
| Hide Context Summary | `ui.hideContextSummary` | Hide the context summary (GEMINI.md, MCP servers) above the input. | `false` |
|
|
59
|
+
| Hide CWD | `ui.footer.hideCWD` | Hide the current working directory path in the footer. | `false` |
|
|
60
|
+
| Hide Sandbox Status | `ui.footer.hideSandboxStatus` | Hide the sandbox status indicator in the footer. | `false` |
|
|
61
|
+
| Hide Model Info | `ui.footer.hideModelInfo` | Hide the model name and context usage in the footer. | `false` |
|
|
62
|
+
| Hide Context Window Percentage | `ui.footer.hideContextPercentage` | Hides the context window remaining percentage. | `true` |
|
|
63
|
+
| Hide Footer | `ui.hideFooter` | Hide the footer from the UI | `false` |
|
|
64
|
+
| Show Memory Usage | `ui.showMemoryUsage` | Display memory usage information in the UI | `false` |
|
|
65
|
+
| Show Line Numbers | `ui.showLineNumbers` | Show line numbers in the chat. | `true` |
|
|
66
|
+
| Show Citations | `ui.showCitations` | Show citations for generated text in the chat. | `false` |
|
|
67
|
+
| Show Model Info In Chat | `ui.showModelInfoInChat` | Show the model name in the chat for each model turn. | `false` |
|
|
68
|
+
| Show User Identity | `ui.showUserIdentity` | Show the logged-in user's identity (e.g. email) in the UI. | `true` |
|
|
69
|
+
| Use Alternate Screen Buffer | `ui.useAlternateBuffer` | Use an alternate screen buffer for the UI, preserving shell history. | `false` |
|
|
70
|
+
| Use Background Color | `ui.useBackgroundColor` | Whether to use background colors in the UI. | `true` |
|
|
71
|
+
| Incremental Rendering | `ui.incrementalRendering` | Enable incremental rendering for the UI. This option will reduce flickering but may cause rendering artifacts. Only supported when useAlternateBuffer is enabled. | `true` |
|
|
72
|
+
| Show Spinner | `ui.showSpinner` | Show the spinner during operations. | `true` |
|
|
73
|
+
| Loading Phrases | `ui.loadingPhrases` | What to show while the model is working: tips, witty comments, both, or nothing. | `"tips"` |
|
|
74
|
+
| Screen Reader Mode | `ui.accessibility.screenReader` | Render output in plain-text to be more screen reader accessible | `false` |
|
|
67
75
|
|
|
68
76
|
### IDE
|
|
69
77
|
|
|
@@ -77,6 +85,7 @@ they appear in the UI.
|
|
|
77
85
|
| ----------------------- | ---------------------------- | -------------------------------------------------------------------------------------- | ------- |
|
|
78
86
|
| Max Session Turns | `model.maxSessionTurns` | Maximum number of user/model/tool turns to keep in a session. -1 means unlimited. | `-1` |
|
|
79
87
|
| Compression Threshold | `model.compressionThreshold` | The fraction of context usage at which to trigger context compression (e.g. 0.2, 0.3). | `0.5` |
|
|
88
|
+
| Disable Loop Detection | `model.disableLoopDetection` | Disable automatic detection and prevention of infinite loops. | `false` |
|
|
80
89
|
| Skip Next Speaker Check | `model.skipNextSpeakerCheck` | Skip the next speaker check. | `true` |
|
|
81
90
|
|
|
82
91
|
### Context
|
|
@@ -93,17 +102,13 @@ they appear in the UI.
|
|
|
93
102
|
|
|
94
103
|
### Tools
|
|
95
104
|
|
|
96
|
-
| UI Label | Setting | Description
|
|
97
|
-
| -------------------------------- | ------------------------------------ |
|
|
98
|
-
| Enable Interactive Shell | `tools.shell.enableInteractiveShell` | Use node-pty for an interactive shell experience. Fallback to child_process still applies.
|
|
99
|
-
| Show Color | `tools.shell.showColor` | Show color in shell output.
|
|
100
|
-
|
|
|
101
|
-
|
|
|
102
|
-
|
|
|
103
|
-
| Enable Tool Output Truncation | `tools.enableToolOutputTruncation` | Enable truncation of large tool outputs. | `true` |
|
|
104
|
-
| Tool Output Truncation Threshold | `tools.truncateToolOutputThreshold` | Truncate tool output if it is larger than this many characters. Set to -1 to disable. | `4000000` |
|
|
105
|
-
| Tool Output Truncation Lines | `tools.truncateToolOutputLines` | The number of lines to keep when truncating tool output. | `1000` |
|
|
106
|
-
| Disable LLM Correction | `tools.disableLLMCorrection` | Disable LLM-based error correction for edit tools. When enabled, tools will fail immediately if exact string matches are not found, instead of attempting to self-correct. | `true` |
|
|
105
|
+
| UI Label | Setting | Description | Default |
|
|
106
|
+
| -------------------------------- | ------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
|
|
107
|
+
| Enable Interactive Shell | `tools.shell.enableInteractiveShell` | Use node-pty for an interactive shell experience. Fallback to child_process still applies. | `true` |
|
|
108
|
+
| Show Color | `tools.shell.showColor` | Show color in shell output. | `false` |
|
|
109
|
+
| Use Ripgrep | `tools.useRipgrep` | Use ripgrep for file content search instead of the fallback implementation. Provides faster search performance. | `true` |
|
|
110
|
+
| Tool Output Truncation Threshold | `tools.truncateToolOutputThreshold` | Maximum characters to show when truncating large tool outputs. Set to 0 or negative to disable truncation. | `40000` |
|
|
111
|
+
| Disable LLM Correction | `tools.disableLLMCorrection` | Disable LLM-based error correction for edit tools. When enabled, tools will fail immediately if exact string matches are not found, instead of attempting to self-correct. | `true` |
|
|
107
112
|
|
|
108
113
|
### Security
|
|
109
114
|
|
|
@@ -113,15 +118,25 @@ they appear in the UI.
|
|
|
113
118
|
| Allow Permanent Tool Approval | `security.enablePermanentToolApproval` | Enable the "Allow for all future sessions" option in tool confirmation dialogs. | `false` |
|
|
114
119
|
| Blocks extensions from Git | `security.blockGitExtensions` | Blocks installing and loading extensions from Git. | `false` |
|
|
115
120
|
| Extension Source Regex Allowlist | `security.allowedExtensions` | List of Regex patterns for allowed extensions. If nonempty, only extensions that match the patterns in this list are allowed. Overrides the blockGitExtensions setting. | `[]` |
|
|
116
|
-
| Folder Trust | `security.folderTrust.enabled` | Setting to track whether Folder trust is enabled. | `
|
|
121
|
+
| Folder Trust | `security.folderTrust.enabled` | Setting to track whether Folder trust is enabled. | `true` |
|
|
117
122
|
| Enable Environment Variable Redaction | `security.environmentVariableRedaction.enabled` | Enable redaction of environment variables that may contain secrets. | `false` |
|
|
118
123
|
|
|
124
|
+
### Advanced
|
|
125
|
+
|
|
126
|
+
| UI Label | Setting | Description | Default |
|
|
127
|
+
| --------------------------------- | ------------------------------ | --------------------------------------------- | ------- |
|
|
128
|
+
| Auto Configure Max Old Space Size | `advanced.autoConfigureMemory` | Automatically configure Node.js memory limits | `false` |
|
|
129
|
+
|
|
119
130
|
### Experimental
|
|
120
131
|
|
|
121
|
-
| UI Label
|
|
122
|
-
|
|
|
123
|
-
|
|
|
124
|
-
|
|
|
132
|
+
| UI Label | Setting | Description | Default |
|
|
133
|
+
| -------------------------- | ---------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
|
|
134
|
+
| Enable Tool Output Masking | `experimental.toolOutputMasking.enabled` | Enables tool output masking to save tokens. | `true` |
|
|
135
|
+
| Use OSC 52 Paste | `experimental.useOSC52Paste` | Use OSC 52 for pasting. This may be more robust than the default system when using remote terminal sessions (if your terminal is configured to allow it). | `false` |
|
|
136
|
+
| Use OSC 52 Copy | `experimental.useOSC52Copy` | Use OSC 52 for copying. This may be more robust than the default system when using remote terminal sessions (if your terminal is configured to allow it). | `false` |
|
|
137
|
+
| Plan | `experimental.plan` | Enable planning features (Plan Mode and tools). | `false` |
|
|
138
|
+
| Model Steering | `experimental.modelSteering` | Enable model steering (user hints) to guide the model during tool execution. | `false` |
|
|
139
|
+
| Direct Web Fetch | `experimental.directWebFetch` | Enable web fetch behavior that bypasses LLM summarization. | `false` |
|
|
125
140
|
|
|
126
141
|
### Skills
|
|
127
142
|
|
|
@@ -35,16 +35,22 @@ the full instructions and resources required to complete the task using the
|
|
|
35
35
|
|
|
36
36
|
Gemini CLI discovers skills from three primary locations:
|
|
37
37
|
|
|
38
|
-
1. **Workspace Skills
|
|
39
|
-
typically committed to version control and
|
|
40
|
-
|
|
41
|
-
|
|
38
|
+
1. **Workspace Skills**: Located in `.gemini/skills/` or the `.agents/skills/`
|
|
39
|
+
alias. Workspace skills are typically committed to version control and
|
|
40
|
+
shared with the team.
|
|
41
|
+
2. **User Skills**: Located in `~/.gemini/skills/` or the `~/.agents/skills/`
|
|
42
|
+
alias. These are personal skills available across all your workspaces.
|
|
42
43
|
3. **Extension Skills**: Skills bundled within installed
|
|
43
44
|
[extensions](../extensions/index.md).
|
|
44
45
|
|
|
45
46
|
**Precedence:** If multiple skills share the same name, higher-precedence
|
|
46
47
|
locations override lower ones: **Workspace > User > Extension**.
|
|
47
48
|
|
|
49
|
+
Within the same tier (user or workspace), the `.agents/skills/` alias takes
|
|
50
|
+
precedence over the `.gemini/skills/` directory. This generic alias provides an
|
|
51
|
+
intuitive path for managing agent-specific expertise that remains compatible
|
|
52
|
+
across different AI agent tools.
|
|
53
|
+
|
|
48
54
|
## Managing Skills
|
|
49
55
|
|
|
50
56
|
### In an Interactive Session
|
|
@@ -52,6 +58,7 @@ locations override lower ones: **Workspace > User > Extension**.
|
|
|
52
58
|
Use the `/skills` slash command to view and manage available expertise:
|
|
53
59
|
|
|
54
60
|
- `/skills list` (default): Shows all discovered skills and their status.
|
|
61
|
+
- `/skills link <path>`: Links agent skills from a local directory via symlink.
|
|
55
62
|
- `/skills disable <name>`: Prevents a specific skill from being used.
|
|
56
63
|
- `/skills enable <name>`: Re-enables a disabled skill.
|
|
57
64
|
- `/skills reload`: Refreshes the list of discovered skills from all tiers.
|
|
@@ -67,8 +74,16 @@ The `gemini skills` command provides management utilities:
|
|
|
67
74
|
# List all discovered skills
|
|
68
75
|
gemini skills list
|
|
69
76
|
|
|
77
|
+
# Link agent skills from a local directory via symlink
|
|
78
|
+
# Discovers skills (SKILL.md or */SKILL.md) and creates symlinks in ~/.gemini/skills
|
|
79
|
+
# (or ~/.agents/skills)
|
|
80
|
+
gemini skills link /path/to/my-skills-repo
|
|
81
|
+
|
|
82
|
+
# Link to the workspace scope (.gemini/skills or .agents/skills)
|
|
83
|
+
gemini skills link /path/to/my-skills-repo --scope workspace
|
|
84
|
+
|
|
70
85
|
# Install a skill from a Git repository, local directory, or zipped skill file (.skill)
|
|
71
|
-
# Uses the user scope by default (~/.gemini/skills)
|
|
86
|
+
# Uses the user scope by default (~/.gemini/skills or ~/.agents/skills)
|
|
72
87
|
gemini skills install https://github.com/user/repo.git
|
|
73
88
|
gemini skills install /path/to/local/skill
|
|
74
89
|
gemini skills install /path/to/local/my-expertise.skill
|
|
@@ -76,7 +91,7 @@ gemini skills install /path/to/local/my-expertise.skill
|
|
|
76
91
|
# Install a specific skill from a monorepo or subdirectory using --path
|
|
77
92
|
gemini skills install https://github.com/my-org/my-skills.git --path skills/frontend-design
|
|
78
93
|
|
|
79
|
-
# Install to the workspace scope (.gemini/skills)
|
|
94
|
+
# Install to the workspace scope (.gemini/skills or .agents/skills)
|
|
80
95
|
gemini skills install /path/to/skill --scope workspace
|
|
81
96
|
|
|
82
97
|
# Uninstall a skill by name
|
|
@@ -89,7 +104,7 @@ gemini skills enable my-expertise
|
|
|
89
104
|
gemini skills disable my-expertise --scope workspace
|
|
90
105
|
```
|
|
91
106
|
|
|
92
|
-
## How it Works
|
|
107
|
+
## How it Works
|
|
93
108
|
|
|
94
109
|
1. **Discovery**: At the start of a session, Gemini CLI scans the discovery
|
|
95
110
|
tiers and injects the name and description of all enabled skills into the
|
|
@@ -106,6 +121,13 @@ gemini skills disable my-expertise --scope workspace
|
|
|
106
121
|
5. **Execution**: The model proceeds with the specialized expertise active. It
|
|
107
122
|
is instructed to prioritize the skill's procedural guidance within reason.
|
|
108
123
|
|
|
124
|
+
### Skill activation
|
|
125
|
+
|
|
126
|
+
Once a skill is activated (typically by Gemini identifying a task that matches
|
|
127
|
+
the skill's description and your approval), its specialized instructions and
|
|
128
|
+
resources are loaded into the agent's context. A skill remains active and its
|
|
129
|
+
guidance is prioritized for the duration of the session.
|
|
130
|
+
|
|
109
131
|
## Creating your own skills
|
|
110
132
|
|
|
111
133
|
To create your own skills, see the [Create Agent Skills](./creating-skills.md)
|