@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.
Files changed (400) hide show
  1. package/README.md +42 -193
  2. package/bundle/docs/cli/settings.md +8 -9
  3. package/bundle/docs/extensions/reference.md +14 -38
  4. package/bundle/docs/hooks/reference.md +0 -8
  5. package/bundle/docs/reference/configuration.md +0 -8
  6. package/bundle/gemini.js +10730 -11704
  7. package/bundle/node_modules/@google/gemini-cli-devtools/package.json +1 -1
  8. package/bundle/package.json +2 -1
  9. package/package.json +67 -5
  10. package/packages/cli/dist/index.js +0 -0
  11. package/packages/cli/dist/package.json +2 -2
  12. package/packages/cli/dist/src/commands/extensions/examples/custom-commands/gemini-extension.json +2 -2
  13. package/packages/cli/dist/src/commands/extensions/examples/exclude-tools/gemini-extension.json +3 -3
  14. package/packages/cli/dist/src/commands/extensions/examples/hooks/gemini-extension.json +2 -2
  15. package/packages/cli/dist/src/commands/extensions/examples/hooks/hooks/hooks.json +11 -11
  16. package/packages/cli/dist/src/commands/extensions/examples/mcp-server/example.js +1 -1
  17. package/packages/cli/dist/src/commands/extensions/examples/mcp-server/gemini-extension.json +8 -8
  18. package/packages/cli/dist/src/commands/extensions/examples/mcp-server/package.json +9 -9
  19. package/packages/cli/dist/src/commands/extensions/examples/skills/gemini-extension.json +2 -2
  20. package/packages/cli/dist/src/commands/extensions/examples/themes-example/README.md +8 -5
  21. package/packages/cli/dist/src/commands/extensions/examples/themes-example/gemini-extension.json +27 -27
  22. package/packages/cli/dist/src/config/config.js +4 -65
  23. package/packages/cli/dist/src/config/config.js.map +1 -1
  24. package/packages/cli/dist/src/config/settingsSchema.d.ts +1 -235
  25. package/packages/cli/dist/src/config/settingsSchema.js +1 -235
  26. package/packages/cli/dist/src/config/settingsSchema.js.map +1 -1
  27. package/packages/cli/dist/src/gemini.js +0 -2
  28. package/packages/cli/dist/src/gemini.js.map +1 -1
  29. package/packages/cli/dist/src/generated/git-commit.d.ts +2 -2
  30. package/packages/cli/dist/src/generated/git-commit.js +2 -2
  31. package/packages/cli/dist/src/patches/empty-module.d.ts +2 -0
  32. package/packages/cli/dist/src/patches/empty-module.js +2 -0
  33. package/packages/cli/dist/src/patches/empty-module.js.map +1 -0
  34. package/packages/cli/dist/src/services/McpPromptLoader.js +3 -6
  35. package/packages/cli/dist/src/services/McpPromptLoader.js.map +1 -1
  36. package/packages/cli/dist/src/ui/components/AgentConfigDialog.js +19 -5
  37. package/packages/cli/dist/src/ui/components/AgentConfigDialog.js.map +1 -1
  38. package/packages/cli/dist/src/ui/components/AgentConfigDialog.test.js +41 -19
  39. package/packages/cli/dist/src/ui/components/AgentConfigDialog.test.js.map +1 -1
  40. package/packages/cli/dist/src/ui/components/DialogManager.d.ts +1 -1
  41. package/packages/cli/dist/src/ui/components/DialogManager.js +34 -7
  42. package/packages/cli/dist/src/ui/components/DialogManager.js.map +1 -1
  43. package/packages/cli/dist/src/ui/components/InputPrompt.d.ts +9 -0
  44. package/packages/cli/dist/src/ui/components/InputPrompt.js +350 -125
  45. package/packages/cli/dist/src/ui/components/InputPrompt.js.map +1 -1
  46. package/packages/cli/dist/src/ui/components/InputPrompt.test.js +788 -35
  47. package/packages/cli/dist/src/ui/components/InputPrompt.test.js.map +1 -1
  48. package/packages/cli/dist/src/ui/components/messages/ShellToolMessage.js +2 -2
  49. package/packages/cli/dist/src/ui/components/messages/ShellToolMessage.js.map +1 -1
  50. package/packages/cli/dist/src/ui/components/messages/ToolConfirmationMessage.js +4 -77
  51. package/packages/cli/dist/src/ui/components/messages/ToolConfirmationMessage.js.map +1 -1
  52. package/packages/cli/dist/src/ui/components/messages/ToolConfirmationMessage.test.js +0 -51
  53. package/packages/cli/dist/src/ui/components/messages/ToolConfirmationMessage.test.js.map +1 -1
  54. package/packages/cli/dist/src/ui/components/messages/ToolMessage.js +2 -2
  55. package/packages/cli/dist/src/ui/components/messages/ToolMessage.js.map +1 -1
  56. package/packages/cli/dist/src/ui/components/messages/ToolShared.d.ts +0 -1
  57. package/packages/cli/dist/src/ui/components/messages/ToolShared.js +2 -2
  58. package/packages/cli/dist/src/ui/components/messages/ToolShared.js.map +1 -1
  59. package/packages/cli/dist/src/ui/components/shared/BaseSettingsDialog.js +4 -1
  60. package/packages/cli/dist/src/ui/components/shared/BaseSettingsDialog.js.map +1 -1
  61. package/packages/cli/dist/src/ui/components/shared/BaseSettingsDialog.test.js +139 -40
  62. package/packages/cli/dist/src/ui/components/shared/BaseSettingsDialog.test.js.map +1 -1
  63. package/packages/cli/dist/src/ui/components/shared/TextInput.js +2 -1
  64. package/packages/cli/dist/src/ui/components/shared/TextInput.js.map +1 -1
  65. package/packages/cli/dist/src/ui/hooks/toolMapping.js +0 -1
  66. package/packages/cli/dist/src/ui/hooks/toolMapping.js.map +1 -1
  67. package/packages/cli/dist/src/ui/hooks/toolMapping.test.js +0 -13
  68. package/packages/cli/dist/src/ui/hooks/toolMapping.test.js.map +1 -1
  69. package/packages/cli/dist/src/ui/hooks/useToolScheduler.js +2 -18
  70. package/packages/cli/dist/src/ui/hooks/useToolScheduler.js.map +1 -1
  71. package/packages/cli/dist/src/ui/hooks/useToolScheduler.test.js +0 -44
  72. package/packages/cli/dist/src/ui/hooks/useToolScheduler.test.js.map +1 -1
  73. package/packages/cli/dist/src/ui/keyMatchers.test.js.map +1 -1
  74. package/packages/cli/dist/src/ui/types.d.ts +0 -1
  75. package/packages/cli/dist/src/ui/types.js.map +1 -1
  76. package/packages/cli/dist/src/ui/utils/commandUtils.js +4 -1
  77. package/packages/cli/dist/src/ui/utils/commandUtils.js.map +1 -1
  78. package/packages/cli/dist/src/utils/activityLogger.js +23 -94
  79. package/packages/cli/dist/src/utils/activityLogger.js.map +1 -1
  80. package/packages/cli/dist/src/utils/handleAutoUpdate.d.ts +1 -1
  81. package/packages/cli/dist/src/utils/handleAutoUpdate.js +1 -1
  82. package/packages/cli/dist/src/utils/handleAutoUpdate.js.map +1 -1
  83. package/packages/cli/dist/src/utils/handleAutoUpdate.test.js +11 -11
  84. package/packages/cli/dist/src/utils/handleAutoUpdate.test.js.map +1 -1
  85. package/{bundle/sandbox-macos-restrictive-closed.sb → packages/cli/dist/src/utils/sandbox-macos-strict-open.sb} +42 -4
  86. package/packages/cli/dist/src/utils/{sandbox-macos-restrictive-closed.sb → sandbox-macos-strict-proxied.sb} +44 -4
  87. package/packages/cli/dist/tsconfig.tsbuildinfo +1 -1
  88. package/packages/core/dist/docs/admin/enterprise-controls.md +115 -0
  89. package/packages/core/dist/docs/changelogs/index.md +57 -1
  90. package/packages/core/dist/docs/changelogs/latest.md +357 -314
  91. package/packages/core/dist/docs/changelogs/preview.md +288 -411
  92. package/packages/core/dist/docs/cli/checkpointing.md +2 -3
  93. package/packages/core/dist/docs/cli/cli-reference.md +42 -28
  94. package/packages/core/dist/docs/cli/custom-commands.md +3 -0
  95. package/packages/core/dist/docs/cli/enterprise.md +28 -8
  96. package/packages/core/dist/docs/cli/gemini-md.md +21 -13
  97. package/packages/core/dist/docs/cli/headless.md +34 -372
  98. package/packages/core/dist/docs/cli/model.md +1 -1
  99. package/packages/core/dist/docs/cli/plan-mode.md +245 -0
  100. package/packages/core/dist/docs/cli/rewind.md +11 -11
  101. package/packages/core/dist/docs/cli/sandbox.md +6 -5
  102. package/packages/core/dist/docs/cli/session-management.md +61 -44
  103. package/packages/core/dist/docs/cli/settings.md +64 -49
  104. package/packages/core/dist/docs/cli/skills.md +29 -7
  105. package/packages/core/dist/docs/cli/telemetry.md +41 -5
  106. package/packages/core/dist/docs/cli/themes.md +88 -54
  107. package/packages/core/dist/docs/cli/trusted-folders.md +31 -0
  108. package/packages/core/dist/docs/cli/tutorials/automation.md +187 -0
  109. package/packages/core/dist/docs/cli/tutorials/file-management.md +142 -0
  110. package/packages/core/dist/docs/cli/tutorials/mcp-setup.md +105 -0
  111. package/packages/core/dist/docs/cli/tutorials/memory-management.md +126 -0
  112. package/packages/core/dist/docs/cli/tutorials/session-management.md +105 -0
  113. package/packages/core/dist/docs/cli/tutorials/shell-commands.md +107 -0
  114. package/packages/core/dist/docs/cli/tutorials/skills-getting-started.md +36 -31
  115. package/packages/core/dist/docs/cli/tutorials/task-planning.md +93 -0
  116. package/packages/core/dist/docs/cli/tutorials/web-tools.md +78 -0
  117. package/packages/core/dist/docs/core/index.md +7 -7
  118. package/packages/core/dist/docs/core/subagents.md +40 -40
  119. package/packages/core/dist/docs/extensions/best-practices.md +102 -53
  120. package/packages/core/dist/docs/extensions/index.md +37 -21
  121. package/packages/core/dist/docs/extensions/reference.md +148 -219
  122. package/packages/core/dist/docs/extensions/releasing.md +93 -122
  123. package/packages/core/dist/docs/extensions/writing-extensions.md +87 -76
  124. package/packages/core/dist/docs/get-started/authentication.md +4 -4
  125. package/packages/core/dist/docs/get-started/examples.md +39 -119
  126. package/packages/core/dist/docs/get-started/gemini-3.md +17 -3
  127. package/packages/core/dist/docs/get-started/index.md +16 -5
  128. package/packages/core/dist/docs/get-started/installation.md +110 -77
  129. package/packages/core/dist/docs/hooks/best-practices.md +1 -1
  130. package/packages/core/dist/docs/hooks/reference.md +2 -2
  131. package/packages/core/dist/docs/index.md +142 -149
  132. package/packages/core/dist/docs/redirects.json +19 -0
  133. package/packages/core/dist/docs/reference/commands.md +523 -0
  134. package/{bundle/docs/get-started → packages/core/dist/docs/reference}/configuration.md +180 -71
  135. package/packages/core/dist/docs/{cli → reference}/keyboard-shortcuts.md +49 -35
  136. package/packages/core/dist/docs/{core → reference}/policy-engine.md +76 -32
  137. package/packages/core/dist/docs/releases.md +2 -2
  138. package/{bundle/docs → packages/core/dist/docs/resources}/faq.md +1 -1
  139. package/packages/core/dist/docs/{quota-and-pricing.md → resources/quota-and-pricing.md} +12 -5
  140. package/{bundle/docs → packages/core/dist/docs/resources}/tos-privacy.md +3 -3
  141. package/packages/core/dist/docs/{troubleshooting.md → resources/troubleshooting.md} +1 -1
  142. package/packages/core/dist/docs/sidebar.json +194 -113
  143. package/packages/core/dist/docs/tools/activate-skill.md +43 -0
  144. package/packages/core/dist/docs/tools/ask-user.md +95 -0
  145. package/packages/core/dist/docs/tools/file-system.md +55 -143
  146. package/packages/core/dist/docs/tools/index.md +97 -93
  147. package/packages/core/dist/docs/tools/internal-docs.md +46 -0
  148. package/packages/core/dist/docs/tools/mcp-server.md +65 -16
  149. package/packages/core/dist/docs/tools/memory.md +21 -40
  150. package/packages/core/dist/docs/tools/planning.md +57 -0
  151. package/packages/core/dist/docs/tools/shell.md +44 -88
  152. package/packages/core/dist/docs/tools/todos.md +22 -44
  153. package/packages/core/dist/docs/tools/web-fetch.md +22 -46
  154. package/packages/core/dist/docs/tools/web-search.md +19 -29
  155. package/packages/core/dist/src/code_assist/types.d.ts +14 -14
  156. package/packages/core/dist/src/config/config.d.ts +1 -13
  157. package/packages/core/dist/src/config/config.js +6 -39
  158. package/packages/core/dist/src/config/config.js.map +1 -1
  159. package/packages/core/dist/src/confirmation-bus/types.d.ts +0 -3
  160. package/packages/core/dist/src/confirmation-bus/types.js.map +1 -1
  161. package/packages/core/dist/src/core/coreToolHookTriggers.d.ts +1 -1
  162. package/packages/core/dist/src/core/coreToolHookTriggers.js +3 -8
  163. package/packages/core/dist/src/core/coreToolHookTriggers.js.map +1 -1
  164. package/packages/core/dist/src/generated/git-commit.d.ts +2 -2
  165. package/packages/core/dist/src/generated/git-commit.js +2 -2
  166. package/packages/core/dist/src/hooks/hookEventHandler.d.ts +2 -2
  167. package/packages/core/dist/src/hooks/hookEventHandler.js +2 -8
  168. package/packages/core/dist/src/hooks/hookEventHandler.js.map +1 -1
  169. package/packages/core/dist/src/hooks/hookSystem.d.ts +2 -2
  170. package/packages/core/dist/src/hooks/hookSystem.js +4 -4
  171. package/packages/core/dist/src/hooks/hookSystem.js.map +1 -1
  172. package/packages/core/dist/src/hooks/types.d.ts +0 -18
  173. package/packages/core/dist/src/hooks/types.js +0 -17
  174. package/packages/core/dist/src/hooks/types.js.map +1 -1
  175. package/packages/core/dist/src/ide/ide-client.js +1 -1
  176. package/packages/core/dist/src/ide/ide-client.js.map +1 -1
  177. package/packages/core/dist/src/ide/types.d.ts +8 -8
  178. package/packages/core/dist/src/index.d.ts +2 -0
  179. package/packages/core/dist/src/index.js +2 -0
  180. package/packages/core/dist/src/index.js.map +1 -1
  181. package/packages/core/dist/src/policy/policies/plan.toml +29 -43
  182. package/packages/core/dist/src/policy/policies/read-only.toml +12 -11
  183. package/packages/core/dist/src/policy/policies/write.toml +11 -10
  184. package/packages/core/dist/src/policy/policies/yolo.toml +24 -12
  185. package/packages/core/dist/src/policy/policy-engine.js +1 -5
  186. package/packages/core/dist/src/policy/policy-engine.js.map +1 -1
  187. package/packages/core/dist/src/policy/types.d.ts +1 -2
  188. package/packages/core/dist/src/policy/types.js +0 -1
  189. package/packages/core/dist/src/policy/types.js.map +1 -1
  190. package/packages/core/dist/src/safety/context-builder.d.ts +3 -3
  191. package/packages/core/dist/src/safety/context-builder.js +4 -60
  192. package/packages/core/dist/src/safety/context-builder.js.map +1 -1
  193. package/packages/core/dist/src/safety/context-builder.test.js +18 -98
  194. package/packages/core/dist/src/safety/context-builder.test.js.map +1 -1
  195. package/packages/core/dist/src/safety/protocol.d.ts +0 -4
  196. package/packages/core/dist/src/safety/registry.d.ts +1 -2
  197. package/packages/core/dist/src/safety/registry.js +4 -14
  198. package/packages/core/dist/src/safety/registry.js.map +1 -1
  199. package/packages/core/dist/src/safety/registry.test.js +2 -5
  200. package/packages/core/dist/src/safety/registry.test.js.map +1 -1
  201. package/packages/core/dist/src/scheduler/scheduler.d.ts +1 -1
  202. package/packages/core/dist/src/scheduler/scheduler.js +4 -49
  203. package/packages/core/dist/src/scheduler/scheduler.js.map +1 -1
  204. package/packages/core/dist/src/scheduler/scheduler.test.js +0 -91
  205. package/packages/core/dist/src/scheduler/scheduler.test.js.map +1 -1
  206. package/packages/core/dist/src/scheduler/state-manager.d.ts +0 -6
  207. package/packages/core/dist/src/scheduler/state-manager.js +0 -12
  208. package/packages/core/dist/src/scheduler/state-manager.js.map +1 -1
  209. package/packages/core/dist/src/scheduler/tool-executor.js +7 -9
  210. package/packages/core/dist/src/scheduler/tool-executor.js.map +1 -1
  211. package/packages/core/dist/src/scheduler/tool-executor.test.js +1 -1
  212. package/packages/core/dist/src/scheduler/tool-executor.test.js.map +1 -1
  213. package/packages/core/dist/src/scheduler/types.d.ts +0 -13
  214. package/packages/core/dist/src/services/shellExecutionService.d.ts +1 -1
  215. package/packages/core/dist/src/services/shellExecutionService.js +7 -8
  216. package/packages/core/dist/src/services/shellExecutionService.js.map +1 -1
  217. package/packages/core/dist/src/services/shellExecutionService.test.js +5 -5
  218. package/packages/core/dist/src/services/shellExecutionService.test.js.map +1 -1
  219. package/packages/core/dist/src/services/test-data/resolved-aliases-retry.golden.json +251 -251
  220. package/packages/core/dist/src/services/test-data/resolved-aliases.golden.json +251 -251
  221. package/packages/core/dist/src/skills/builtin/skill-creator/scripts/init_skill.cjs +5 -1
  222. package/packages/core/dist/src/skills/builtin/skill-creator/scripts/package_skill.cjs +5 -1
  223. package/packages/core/dist/src/skills/builtin/skill-creator/scripts/validate_skill.cjs +5 -1
  224. package/packages/core/dist/src/telemetry/clearcut-logger/clearcut-logger.d.ts +1 -3
  225. package/packages/core/dist/src/telemetry/clearcut-logger/clearcut-logger.js +0 -2
  226. package/packages/core/dist/src/telemetry/clearcut-logger/clearcut-logger.js.map +1 -1
  227. package/packages/core/dist/src/telemetry/clearcut-logger/event-metadata-key.d.ts +1 -9
  228. package/packages/core/dist/src/telemetry/clearcut-logger/event-metadata-key.js +1 -19
  229. package/packages/core/dist/src/telemetry/clearcut-logger/event-metadata-key.js.map +1 -1
  230. package/packages/core/dist/src/telemetry/index.d.ts +1 -2
  231. package/packages/core/dist/src/telemetry/index.js +1 -2
  232. package/packages/core/dist/src/telemetry/index.js.map +1 -1
  233. package/packages/core/dist/src/telemetry/loggers.js +0 -4
  234. package/packages/core/dist/src/telemetry/loggers.js.map +1 -1
  235. package/packages/core/dist/src/telemetry/trace.js.map +1 -1
  236. package/packages/core/dist/src/telemetry/types.d.ts +0 -26
  237. package/packages/core/dist/src/telemetry/types.js +2 -76
  238. package/packages/core/dist/src/telemetry/types.js.map +1 -1
  239. package/packages/core/dist/src/tools/diffOptions.d.ts +2 -2
  240. package/packages/core/dist/src/tools/diffOptions.js.map +1 -1
  241. package/packages/core/dist/src/tools/mcp-client.test.js.map +1 -1
  242. package/packages/core/dist/src/tools/mcp-tool.d.ts +1 -3
  243. package/packages/core/dist/src/tools/mcp-tool.js +2 -9
  244. package/packages/core/dist/src/tools/mcp-tool.js.map +1 -1
  245. package/packages/core/dist/src/tools/memoryTool.d.ts +0 -10
  246. package/packages/core/dist/src/tools/memoryTool.js +30 -25
  247. package/packages/core/dist/src/tools/memoryTool.js.map +1 -1
  248. package/packages/core/dist/src/tools/tool-names.d.ts +6 -0
  249. package/packages/core/dist/src/tools/tool-names.js +16 -1
  250. package/packages/core/dist/src/tools/tool-names.js.map +1 -1
  251. package/packages/core/dist/src/tools/tools.d.ts +0 -11
  252. package/packages/core/dist/src/tools/tools.js.map +1 -1
  253. package/packages/core/dist/src/utils/getPty.d.ts +14 -1
  254. package/packages/core/dist/src/utils/getPty.js +67 -2
  255. package/packages/core/dist/src/utils/getPty.js.map +1 -1
  256. package/packages/core/dist/src/utils/memoryDiscovery.d.ts +11 -3
  257. package/packages/core/dist/src/utils/memoryDiscovery.js +56 -21
  258. package/packages/core/dist/src/utils/memoryDiscovery.js.map +1 -1
  259. package/packages/core/dist/src/utils/secure-browser-launcher.js +40 -29
  260. package/packages/core/dist/src/utils/secure-browser-launcher.js.map +1 -1
  261. package/packages/core/dist/src/utils/textUtils.d.ts +0 -9
  262. package/packages/core/dist/src/utils/textUtils.js +0 -15
  263. package/packages/core/dist/src/utils/textUtils.js.map +1 -1
  264. package/packages/core/dist/src/utils/textUtils.test.js +1 -42
  265. package/packages/core/dist/src/utils/textUtils.test.js.map +1 -1
  266. package/packages/core/dist/tsconfig.tsbuildinfo +1 -1
  267. package/packages/test-utils/dist/tsconfig.tsbuildinfo +1 -1
  268. package/bundle/docs/ROADMAP.md +0 -113
  269. package/bundle/docs/TERMUX.md +0 -95
  270. package/bundle/docs/architecture.md +0 -80
  271. package/bundle/docs/assets/hero.png +0 -0
  272. package/bundle/docs/cli/authentication.md +0 -3
  273. package/bundle/docs/cli/commands.md +0 -430
  274. package/bundle/docs/cli/context-memory.md +0 -69
  275. package/bundle/docs/cli/index.md +0 -65
  276. package/bundle/docs/cli/keyboard-shortcuts.md +0 -140
  277. package/bundle/docs/cli/tutorials.md +0 -87
  278. package/bundle/docs/core/policy-engine.md +0 -305
  279. package/bundle/docs/get-started/configuration-v1.md +0 -888
  280. package/bundle/docs/patches/README.md +0 -74
  281. package/bundle/docs/patches/mcp-sdk-typings-shim.md +0 -27
  282. package/bundle/docs/quota-and-pricing.md +0 -158
  283. package/bundle/docs/termux-api/COMMANDS.md +0 -592
  284. package/bundle/docs/termux-api/DISCOVERY_SETUP.md +0 -670
  285. package/bundle/docs/termux-api/EXECUTION_PLAN.md +0 -532
  286. package/bundle/docs/termux-api/MERGE_STRATEGY.md +0 -365
  287. package/bundle/docs/termux-api/PATCHES.md +0 -480
  288. package/bundle/docs/termux-api/README.md +0 -416
  289. package/bundle/docs/troubleshooting.md +0 -173
  290. package/bundle/policies/conseca.toml +0 -6
  291. package/bundle/sandbox-macos-permissive-closed.sb +0 -32
  292. package/packages/cli/README.md +0 -173
  293. package/packages/cli/dist/src/commands/extensions/examples/mcp-server/example.d.ts +0 -6
  294. package/packages/cli/dist/src/commands/extensions/examples/mcp-server/example.js.map +0 -1
  295. package/packages/cli/dist/src/commands/extensions/examples/mcp-server/example.test.d.ts +0 -6
  296. package/packages/cli/dist/src/commands/extensions/examples/mcp-server/example.test.js +0 -111
  297. package/packages/cli/dist/src/commands/extensions/examples/mcp-server/example.test.js.map +0 -1
  298. package/packages/cli/dist/src/ui/components/messages/ToolConfirmationMessageOverflow.test.d.ts +0 -6
  299. package/packages/cli/dist/src/ui/components/messages/ToolConfirmationMessageOverflow.test.js +0 -93
  300. package/packages/cli/dist/src/ui/components/messages/ToolConfirmationMessageOverflow.test.js.map +0 -1
  301. package/packages/cli/dist/src/ui/hooks/useReactToolScheduler.d.ts +0 -42
  302. package/packages/cli/dist/src/ui/hooks/useReactToolScheduler.js +0 -105
  303. package/packages/cli/dist/src/ui/hooks/useReactToolScheduler.js.map +0 -1
  304. package/packages/cli/dist/src/ui/hooks/useReactToolScheduler.test.d.ts +0 -6
  305. package/packages/cli/dist/src/ui/hooks/useReactToolScheduler.test.js +0 -58
  306. package/packages/cli/dist/src/ui/hooks/useReactToolScheduler.test.js.map +0 -1
  307. package/packages/cli/dist/src/ui/hooks/useRefreshMemoryCommand.d.ts +0 -6
  308. package/packages/cli/dist/src/ui/hooks/useRefreshMemoryCommand.js +0 -7
  309. package/packages/cli/dist/src/ui/hooks/useRefreshMemoryCommand.js.map +0 -1
  310. package/packages/cli/dist/src/ui/hooks/useShowMemoryCommand.d.ts +0 -9
  311. package/packages/cli/dist/src/ui/hooks/useShowMemoryCommand.js +0 -59
  312. package/packages/cli/dist/src/ui/hooks/useShowMemoryCommand.js.map +0 -1
  313. package/packages/cli/dist/src/ui/hooks/useToolExecutionScheduler.d.ts +0 -30
  314. package/packages/cli/dist/src/ui/hooks/useToolExecutionScheduler.js +0 -149
  315. package/packages/cli/dist/src/ui/hooks/useToolExecutionScheduler.js.map +0 -1
  316. package/packages/cli/dist/src/ui/hooks/useToolExecutionScheduler.test.d.ts +0 -6
  317. package/packages/cli/dist/src/ui/hooks/useToolExecutionScheduler.test.js +0 -376
  318. package/packages/cli/dist/src/ui/hooks/useToolExecutionScheduler.test.js.map +0 -1
  319. package/packages/cli/dist/src/ui/hooks/useToolSchedulerFacade.test.d.ts +0 -6
  320. package/packages/cli/dist/src/ui/hooks/useToolSchedulerFacade.test.js +0 -45
  321. package/packages/cli/dist/src/ui/hooks/useToolSchedulerFacade.test.js.map +0 -1
  322. package/packages/cli/dist/src/ui/utils/InlineMarkdownRenderer.test.d.ts +0 -6
  323. package/packages/cli/dist/src/ui/utils/InlineMarkdownRenderer.test.js +0 -21
  324. package/packages/cli/dist/src/ui/utils/InlineMarkdownRenderer.test.js.map +0 -1
  325. package/packages/cli/dist/src/ui/utils/terminalUtils.test.d.ts +0 -6
  326. package/packages/cli/dist/src/ui/utils/terminalUtils.test.js +0 -40
  327. package/packages/cli/dist/src/ui/utils/terminalUtils.test.js.map +0 -1
  328. package/packages/cli/dist/src/utils/checks.d.ts +0 -19
  329. package/packages/cli/dist/src/utils/checks.js +0 -24
  330. package/packages/cli/dist/src/utils/checks.js.map +0 -1
  331. package/packages/cli/dist/src/utils/checks.test.d.ts +0 -6
  332. package/packages/cli/dist/src/utils/checks.test.js +0 -29
  333. package/packages/cli/dist/src/utils/checks.test.js.map +0 -1
  334. package/packages/cli/dist/src/utils/sandbox-macos-permissive-closed.sb +0 -32
  335. package/packages/cli/index.js +0 -2
  336. package/packages/core/dist/docs/TERMUX.md +0 -95
  337. package/packages/core/dist/docs/architecture.md +0 -80
  338. package/packages/core/dist/docs/assets/hero.png +0 -0
  339. package/packages/core/dist/docs/cli/authentication.md +0 -3
  340. package/packages/core/dist/docs/cli/commands.md +0 -430
  341. package/packages/core/dist/docs/cli/context-memory.md +0 -69
  342. package/packages/core/dist/docs/cli/index.md +0 -65
  343. package/packages/core/dist/docs/cli/tutorials.md +0 -87
  344. package/packages/core/dist/docs/cli/uninstall.md +0 -65
  345. package/packages/core/dist/docs/core/memport.md +0 -246
  346. package/packages/core/dist/docs/core/tools-api.md +0 -131
  347. package/packages/core/dist/docs/faq.md +0 -154
  348. package/packages/core/dist/docs/get-started/configuration-v1.md +0 -888
  349. package/packages/core/dist/docs/get-started/configuration.md +0 -1585
  350. package/packages/core/dist/docs/patches/README.md +0 -74
  351. package/packages/core/dist/docs/patches/mcp-sdk-typings-shim.md +0 -27
  352. package/packages/core/dist/docs/termux-api/COMMANDS.md +0 -592
  353. package/packages/core/dist/docs/termux-api/DISCOVERY_SETUP.md +0 -670
  354. package/packages/core/dist/docs/termux-api/EXECUTION_PLAN.md +0 -532
  355. package/packages/core/dist/docs/termux-api/MERGE_STRATEGY.md +0 -365
  356. package/packages/core/dist/docs/termux-api/PATCHES.md +0 -480
  357. package/packages/core/dist/docs/termux-api/README.md +0 -416
  358. package/packages/core/dist/docs/tos-privacy.md +0 -96
  359. package/packages/core/dist/src/safety/conseca/conseca.d.ts +0 -31
  360. package/packages/core/dist/src/safety/conseca/conseca.js +0 -105
  361. package/packages/core/dist/src/safety/conseca/conseca.js.map +0 -1
  362. package/packages/core/dist/src/safety/conseca/conseca.test.d.ts +0 -6
  363. package/packages/core/dist/src/safety/conseca/conseca.test.js +0 -226
  364. package/packages/core/dist/src/safety/conseca/conseca.test.js.map +0 -1
  365. package/packages/core/dist/src/safety/conseca/integration.test.d.ts +0 -6
  366. package/packages/core/dist/src/safety/conseca/integration.test.js +0 -19
  367. package/packages/core/dist/src/safety/conseca/integration.test.js.map +0 -1
  368. package/packages/core/dist/src/safety/conseca/policy-enforcer.d.ts +0 -13
  369. package/packages/core/dist/src/safety/conseca/policy-enforcer.js +0 -135
  370. package/packages/core/dist/src/safety/conseca/policy-enforcer.js.map +0 -1
  371. package/packages/core/dist/src/safety/conseca/policy-enforcer.test.d.ts +0 -6
  372. package/packages/core/dist/src/safety/conseca/policy-enforcer.test.js +0 -141
  373. package/packages/core/dist/src/safety/conseca/policy-enforcer.test.js.map +0 -1
  374. package/packages/core/dist/src/safety/conseca/policy-generator.d.ts +0 -15
  375. package/packages/core/dist/src/safety/conseca/policy-generator.js +0 -144
  376. package/packages/core/dist/src/safety/conseca/policy-generator.js.map +0 -1
  377. package/packages/core/dist/src/safety/conseca/policy-generator.test.d.ts +0 -6
  378. package/packages/core/dist/src/safety/conseca/policy-generator.test.js +0 -84
  379. package/packages/core/dist/src/safety/conseca/policy-generator.test.js.map +0 -1
  380. package/packages/core/dist/src/safety/conseca/types.d.ts +0 -15
  381. package/packages/core/dist/src/safety/conseca/types.js +0 -7
  382. package/packages/core/dist/src/safety/conseca/types.js.map +0 -1
  383. package/packages/core/dist/src/telemetry/conseca-logger.d.ts +0 -9
  384. package/packages/core/dist/src/telemetry/conseca-logger.js +0 -91
  385. package/packages/core/dist/src/telemetry/conseca-logger.js.map +0 -1
  386. package/packages/core/dist/src/telemetry/conseca-logger.test.d.ts +0 -6
  387. package/packages/core/dist/src/telemetry/conseca-logger.test.js +0 -89
  388. package/packages/core/dist/src/telemetry/conseca-logger.test.js.map +0 -1
  389. package/packages/core/dist/src/tools/mcpImportTool.d.ts +0 -31
  390. package/packages/core/dist/src/tools/mcpImportTool.js +0 -143
  391. package/packages/core/dist/src/tools/mcpImportTool.js.map +0 -1
  392. package/packages/core/dist/src/utils/contextMemory.d.ts +0 -67
  393. package/packages/core/dist/src/utils/contextMemory.js +0 -493
  394. package/packages/core/dist/src/utils/contextMemory.js.map +0 -1
  395. package/packages/core/dist/src/utils/contextMemory.test.d.ts +0 -6
  396. package/packages/core/dist/src/utils/contextMemory.test.js +0 -183
  397. package/packages/core/dist/src/utils/contextMemory.test.js.map +0 -1
  398. /package/{bundle/docs/core → packages/core/dist/docs/reference}/memport.md +0 -0
  399. /package/{bundle/docs/core → packages/core/dist/docs/reference}/tools-api.md +0 -0
  400. /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 allows you to go back to a previous state in your
4
- conversation and, optionally, revert any file changes made by the AI during
5
- those interactions. This is a powerful tool for undoing mistakes, exploring
6
- different approaches, or simply cleaning up your session history.
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 Interaction:** Use the **Up/Down arrow keys** to navigate through
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 Selection:** Press **Enter** on the interaction you want to rewind
24
+ 3. **Confirm selection:** Press **Enter** on the interaction you want to rewind
25
25
  back to.
26
- 4. **Action Selection:** After selecting an interaction, you'll be presented
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 Considerations
40
+ ## Key considerations
41
41
 
42
- - **Destructive Action:** Rewinding is a destructive action for your current
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 Awareness:** When you rewind the conversation, the AI model loses all
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 Edits:** Rewinding only affects file changes made by the AI's edit
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-closed`: Maximum restrictions
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](../get-started/configuration.md): Full configuration options.
170
- - [Commands](./commands.md): Available 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 Management
1
+ # Session management
2
2
 
3
- Gemini CLI includes robust session management features that automatically save
4
- your conversation history. This allows you to interrupt your work and resume
5
- exactly where you left off, review past interactions, and manage your
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 Saving
7
+ ## Automatic saving
9
8
 
10
- Every time you interact with Gemini CLI, your session is automatically saved.
11
- This happens in the background without any manual intervention.
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/output/cached, etc.).
17
- - Assistant thoughts/reasoning summaries (when available).
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 will switch to that project's session history.
22
+ project switches to that project's session history.
21
23
 
22
- ## Resuming Sessions
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 Command Line
30
+ ### From the command line
28
31
 
29
- When starting the CLI, you can use the `--resume` (or `-r`) flag:
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:** First, list available sessions (see
40
- [Listing Sessions](#listing-sessions)), then use the index number:
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 Interactive Interface
55
+ ### From the interactive interface
52
56
 
53
- While the CLI is running, you can use the `/resume` slash command to open the
54
- **Session Browser**:
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
- This opens an interactive interface where you can:
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 `Enter` to resume the selected session.
72
+ - **Select:** Press **Enter** to resume the selected session.
73
+ - **Esc:** Press **Esc** to exit the Session Browser.
68
74
 
69
- ## Managing Sessions
75
+ ## Managing sessions
70
76
 
71
- ### Listing Sessions
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 Sessions
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 Command Line:** Use the `--delete-session` flag with an index or ID:
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 `x`.
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 Retention
122
+ ### Session retention
113
123
 
114
- To prevent your history from growing indefinitely, you can enable automatic
115
- cleanup policies.
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. Default is
139
+ - **`enabled`**: (boolean) Master switch for session cleanup. Defaults to
130
140
  `false`.
131
- - **`maxAge`**: (string) Duration to keep sessions (e.g., "24h", "7d", "4w").
132
- Sessions older than this will be deleted.
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 will be deleted.
144
+ sessions exceeding this count are deleted.
135
145
  - **`minRetention`**: (string) Minimum retention period (safety limit). Defaults
136
- to `"1d"`; sessions newer than this period are never deleted by automatic
146
+ to `"1d"`. Sessions newer than this period are never deleted by automatic
137
147
  cleanup.
138
148
 
139
- ### Session Limits
149
+ ### Session limits
140
150
 
141
- You can also limit the length of individual sessions to prevent context windows
142
- from becoming too large and expensive.
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 + model
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 Mode:** The CLI shows an informational message and stops
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-Interactive Mode:** The CLI exits with an error.
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 | Setting | Description | Default |
26
- | ------------------------------- | ---------------------------------- | ------------------------------------------------------------- | ------- |
27
- | Preview Features (e.g., models) | `general.previewFeatures` | Enable preview features (e.g., preview models). | `false` |
28
- | Vim Mode | `general.vimMode` | Enable Vim keybindings | `false` |
29
- | Enable Auto Update | `general.enableAutoUpdate` | Enable automatic updates. | `true` |
30
- | Enable Prompt Completion | `general.enablePromptCompletion` | Enable AI-powered prompt completion suggestions while typing. | `false` |
31
- | Debug Keystroke Logging | `general.debugKeystrokeLogging` | Enable debug logging of keystrokes to the console. | `false` |
32
- | Enable Session Cleanup | `general.sessionRetention.enabled` | Enable automatic session cleanup | `false` |
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 | Setting | Description | Default |
43
- | ------------------------------ | --------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
44
- | Hide Window Title | `ui.hideWindowTitle` | Hide the window title bar | `false` |
45
- | Show Thoughts in Title | `ui.showStatusInTitle` | Show Gemini CLI model thoughts in the terminal window title during the working phase | `false` |
46
- | Dynamic Window Title | `ui.dynamicWindowTitle` | Update the terminal window title with current status icons (Ready: ◇, Action Required: ✋, Working: ✦) | `true` |
47
- | Show Home Directory Warning | `ui.showHomeDirectoryWarning` | Show a warning when running Gemini CLI in the home directory. | `true` |
48
- | Hide Tips | `ui.hideTips` | Hide helpful tips in the UI | `false` |
49
- | Hide Banner | `ui.hideBanner` | Hide the application banner | `false` |
50
- | Hide Context Summary | `ui.hideContextSummary` | Hide the context summary (GEMINI.md, MCP servers) above the input. | `false` |
51
- | Hide CWD | `ui.footer.hideCWD` | Hide the current working directory path in the footer. | `false` |
52
- | Hide Sandbox Status | `ui.footer.hideSandboxStatus` | Hide the sandbox status indicator in the footer. | `false` |
53
- | Hide Model Info | `ui.footer.hideModelInfo` | Hide the model name and context usage in the footer. | `false` |
54
- | Hide Context Window Percentage | `ui.footer.hideContextPercentage` | Hides the context window remaining percentage. | `true` |
55
- | Hide Footer | `ui.hideFooter` | Hide the footer from the UI | `false` |
56
- | Show Memory Usage | `ui.showMemoryUsage` | Display memory usage information in the UI | `false` |
57
- | Show Line Numbers | `ui.showLineNumbers` | Show line numbers in the chat. | `true` |
58
- | Show Citations | `ui.showCitations` | Show citations for generated text in the chat. | `false` |
59
- | Show Model Info In Chat | `ui.showModelInfoInChat` | Show the model name in the chat for each model turn. | `false` |
60
- | Show User Identity | `ui.showUserIdentity` | Show the logged-in user's identity (e.g. email) in the UI. | `true` |
61
- | Use Alternate Screen Buffer | `ui.useAlternateBuffer` | Use an alternate screen buffer for the UI, preserving shell history. | `false` |
62
- | Use Background Color | `ui.useBackgroundColor` | Whether to use background colors in the UI. | `true` |
63
- | 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` |
64
- | Show Spinner | `ui.showSpinner` | Show the spinner during operations. | `true` |
65
- | Enable Loading Phrases | `ui.accessibility.enableLoadingPhrases` | Enable loading phrases during operations. | `true` |
66
- | Screen Reader Mode | `ui.accessibility.screenReader` | Render output in plain-text to be more screen reader accessible | `false` |
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 | Default |
97
- | -------------------------------- | ------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------- |
98
- | Enable Interactive Shell | `tools.shell.enableInteractiveShell` | Use node-pty for an interactive shell experience. Fallback to child_process still applies. | `true` |
99
- | Show Color | `tools.shell.showColor` | Show color in shell output. | `false` |
100
- | Auto Accept | `tools.autoAccept` | Automatically accept and execute tool calls that are considered safe (e.g., read-only operations). | `false` |
101
- | Approval Mode | `tools.approvalMode` | 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"` |
102
- | Use Ripgrep | `tools.useRipgrep` | Use ripgrep for file content search instead of the fallback implementation. Provides faster search performance. | `true` |
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. | `false` |
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 | Setting | Description | Default |
122
- | ---------------- | ---------------------------- | ----------------------------------------------------------------------------------- | ------- |
123
- | Use OSC 52 Paste | `experimental.useOSC52Paste` | Use OSC 52 sequence for pasting instead of clipboardy (useful for remote sessions). | `false` |
124
- | Plan | `experimental.plan` | Enable planning features (Plan Mode and tools). | `false` |
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** (`.gemini/skills/`): Workspace-specific skills that are
39
- typically committed to version control and shared with the team.
40
- 2. **User Skills** (`~/.gemini/skills/`): Personal skills available across all
41
- your workspaces.
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 (Security & Privacy)
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)