@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
@@ -64,9 +64,11 @@ primary conditions are the tool's name and its arguments.
64
64
 
65
65
  The `toolName` in the rule must match the name of the tool being called.
66
66
 
67
- - **Wildcards**: For Model-hosting-protocol (MCP) servers, you can use a
68
- wildcard. A `toolName` of `my-server__*` will match any tool from the
69
- `my-server` MCP.
67
+ - **Wildcards**: You can use wildcards to match multiple tools.
68
+ - `*`: Matches **any tool** (built-in or MCP).
69
+ - `server__*`: Matches any tool from a specific MCP server.
70
+ - `*__toolName`: Matches a specific tool name across **all** MCP servers.
71
+ - `*__*`: Matches **any tool from any MCP server**.
70
72
 
71
73
  #### Arguments pattern
72
74
 
@@ -92,11 +94,12 @@ rule with the highest priority wins**.
92
94
  To provide a clear hierarchy, policies are organized into three tiers. Each tier
93
95
  has a designated number that forms the base of the final priority calculation.
94
96
 
95
- | Tier | Base | Description |
96
- | :------ | :--- | :------------------------------------------------------------------------- |
97
- | Default | 1 | Built-in policies that ship with the Gemini CLI. |
98
- | User | 2 | Custom policies defined by the user. |
99
- | Admin | 3 | Policies managed by an administrator (e.g., in an enterprise environment). |
97
+ | Tier | Base | Description |
98
+ | :-------- | :--- | :------------------------------------------------------------------------- |
99
+ | Default | 1 | Built-in policies that ship with the Gemini CLI. |
100
+ | Workspace | 2 | Policies defined in the current workspace's configuration directory. |
101
+ | User | 3 | Custom policies defined by the user. |
102
+ | Admin | 4 | Policies managed by an administrator (e.g., in an enterprise environment). |
100
103
 
101
104
  Within a TOML policy file, you assign a priority value from **0 to 999**. The
102
105
  engine transforms this into a final priority using the following formula:
@@ -105,23 +108,33 @@ engine transforms this into a final priority using the following formula:
105
108
 
106
109
  This system guarantees that:
107
110
 
108
- - Admin policies always override User and Default policies.
109
- - User policies always override Default policies.
111
+ - Admin policies always override User, Workspace, and Default policies.
112
+ - User policies override Workspace and Default policies.
113
+ - Workspace policies override Default policies.
110
114
  - You can still order rules within a single tier with fine-grained control.
111
115
 
112
116
  For example:
113
117
 
114
118
  - A `priority: 50` rule in a Default policy file becomes `1.050`.
115
- - A `priority: 100` rule in a User policy file becomes `2.100`.
116
- - A `priority: 20` rule in an Admin policy file becomes `3.020`.
119
+ - A `priority: 10` rule in a Workspace policy policy file becomes `2.010`.
120
+ - A `priority: 100` rule in a User policy file becomes `3.100`.
121
+ - A `priority: 20` rule in an Admin policy file becomes `4.020`.
117
122
 
118
123
  ### Approval modes
119
124
 
120
125
  Approval modes allow the policy engine to apply different sets of rules based on
121
126
  the CLI's operational mode. A rule can be associated with one or more modes
122
- (e.g., `yolo`, `autoEdit`). The rule will only be active if the CLI is running
123
- in one of its specified modes. If a rule has no modes specified, it is always
124
- active.
127
+ (e.g., `yolo`, `autoEdit`, `plan`). The rule will only be active if the CLI is
128
+ running in one of its specified modes. If a rule has no modes specified, it is
129
+ always active.
130
+
131
+ - `default`: The standard interactive mode where most write tools require
132
+ confirmation.
133
+ - `autoEdit`: Optimized for automated code editing; some write tools may be
134
+ auto-approved.
135
+ - `plan`: A strict, read-only mode for research and design. See [Customizing
136
+ Plan Mode Policies].
137
+ - `yolo`: A mode where all tools are auto-approved (use with extreme caution).
125
138
 
126
139
  ## Rule matching
127
140
 
@@ -133,9 +146,9 @@ A rule matches a tool call if all of its conditions are met:
133
146
 
134
147
  1. **Tool name**: The `toolName` in the rule must match the name of the tool
135
148
  being called.
136
- - **Wildcards**: For Model-hosting-protocol (MCP) servers, you can use a
137
- wildcard. A `toolName` of `my-server__*` will match any tool from the
138
- `my-server` MCP.
149
+ - **Wildcards**: You can use wildcards like `*`, `server__*`, or
150
+ `*__toolName` to match multiple tools. See [Tool Name](#tool-name) for
151
+ details.
139
152
  2. **Arguments pattern**: If `argsPattern` is specified, the tool's arguments
140
153
  are converted to a stable JSON string, which is then tested against the
141
154
  provided regular expression. If the arguments don't match the pattern, the
@@ -148,10 +161,11 @@ User, and (if configured) Admin directories.
148
161
 
149
162
  ### Policy locations
150
163
 
151
- | Tier | Type | Location |
152
- | :-------- | :----- | :-------------------------- |
153
- | **User** | Custom | `~/.gemini/policies/*.toml` |
154
- | **Admin** | System | _See below (OS specific)_ |
164
+ | Tier | Type | Location |
165
+ | :------------ | :----- | :---------------------------------------- |
166
+ | **User** | Custom | `~/.gemini/policies/*.toml` |
167
+ | **Workspace** | Custom | `$WORKSPACE_ROOT/.gemini/policies/*.toml` |
168
+ | **Admin** | System | _See below (OS specific)_ |
155
169
 
156
170
  #### System-wide policies (Admin)
157
171
 
@@ -200,9 +214,11 @@ commandPrefix = "git "
200
214
 
201
215
  # (Optional) A regex to match against the entire shell command.
202
216
  # This is also syntactic sugar for `toolName = "run_shell_command"`.
203
- # Note: This pattern is tested against the JSON representation of the arguments (e.g., `{"command":"<your_command>"}`), so anchors like `^` or `$` will apply to the full JSON string, not just the command text.
217
+ # Note: This pattern is tested against the JSON representation of the arguments (e.g., `{"command":"<your_command>"}`).
218
+ # Because it prepends `"command":"`, it effectively matches from the start of the command.
219
+ # Anchors like `^` or `$` apply to the full JSON string, so `^` should usually be avoided here.
204
220
  # You cannot use commandPrefix and commandRegex in the same rule.
205
- commandRegex = "^git (commit|push)"
221
+ commandRegex = "git (commit|push)"
206
222
 
207
223
  # The decision to take. Must be "allow", "deny", or "ask_user".
208
224
  decision = "ask_user"
@@ -258,13 +274,12 @@ priority = 100
258
274
 
259
275
  ### Special syntax for MCP tools
260
276
 
261
- You can create rules that target tools from Model-hosting-protocol (MCP) servers
262
- using the `mcpName` field or a wildcard pattern.
277
+ You can create rules that target tools from Model Context Protocol (MCP) servers
278
+ using the `mcpName` field or composite wildcard patterns.
263
279
 
264
- **1. Using `mcpName`**
280
+ **1. Targeting a specific tool on a server**
265
281
 
266
- To target a specific tool from a specific server, combine `mcpName` and
267
- `toolName`.
282
+ Combine `mcpName` and `toolName` to target a single operation.
268
283
 
269
284
  ```toml
270
285
  # Allows the `search` tool on the `my-jira-server` MCP
@@ -275,10 +290,10 @@ decision = "allow"
275
290
  priority = 200
276
291
  ```
277
292
 
278
- **2. Using a wildcard**
293
+ **2. Targeting all tools on a specific server**
279
294
 
280
- To create a rule that applies to _all_ tools on a specific MCP server, specify
281
- only the `mcpName`.
295
+ Specify only the `mcpName` to apply a rule to every tool provided by that
296
+ server.
282
297
 
283
298
  ```toml
284
299
  # Denies all tools from the `untrusted-server` MCP
@@ -289,6 +304,33 @@ priority = 500
289
304
  deny_message = "This server is not trusted by the admin."
290
305
  ```
291
306
 
307
+ **3. Targeting all MCP servers**
308
+
309
+ Use `mcpName = "*"` to create a rule that applies to **all** tools from **any**
310
+ registered MCP server. This is useful for setting category-wide defaults.
311
+
312
+ ```toml
313
+ # Ask user for any tool call from any MCP server
314
+ [[rule]]
315
+ mcpName = "*"
316
+ decision = "ask_user"
317
+ priority = 10
318
+ ```
319
+
320
+ **4. Targeting a tool name across all servers**
321
+
322
+ Use `mcpName = "*"` with a specific `toolName` to target that operation
323
+ regardless of which server provides it.
324
+
325
+ ```toml
326
+ # Allow the `search` tool across all connected MCP servers
327
+ [[rule]]
328
+ mcpName = "*"
329
+ toolName = "search"
330
+ decision = "allow"
331
+ priority = 50
332
+ ```
333
+
292
334
  ## Default policies
293
335
 
294
336
  The Gemini CLI ships with a set of default policies to provide a safe
@@ -303,3 +345,5 @@ out-of-the-box experience.
303
345
  - In **`yolo`** mode, a high-priority rule allows all tools.
304
346
  - In **`autoEdit`** mode, rules allow certain write operations to happen without
305
347
  prompting.
348
+
349
+ [Customizing Plan Mode Policies]: /docs/cli/plan-mode.md#customizing-policies
@@ -29,7 +29,7 @@ or if we have to deviate from it. Our weekly releases will be minor version
29
29
  increments and any bug or hotfixes between releases will go out as patch
30
30
  versions on the most recent release.
31
31
 
32
- Each Tuesday ~2000 UTC new Stable and Preview releases will be cut. The
32
+ Each Tuesday ~20:00 UTC new Stable and Preview releases will be cut. The
33
33
  promotion flow is:
34
34
 
35
35
  - Code is committed to main and pushed each night to nightly
@@ -58,7 +58,7 @@ npm install -g @google/gemini-cli@latest
58
58
 
59
59
  ### Nightly
60
60
 
61
- - New releases will be published each day at UTC 0000. This will be all changes
61
+ - New releases will be published each day at UTC 00:00. This will be all changes
62
62
  from the main branch as represented at time of release. It should be assumed
63
63
  there are pending validations and issues. Use `nightly` tag.
64
64
 
@@ -104,7 +104,7 @@ The Gemini CLI configuration is stored in two `settings.json` files:
104
104
  1. In your home directory: `~/.gemini/settings.json`.
105
105
  2. In your project's root directory: `./.gemini/settings.json`.
106
106
 
107
- Refer to [Gemini CLI Configuration](./get-started/configuration.md) for more
107
+ Refer to [Gemini CLI Configuration](../reference/configuration.md) for more
108
108
  details.
109
109
 
110
110
  ## Google AI Pro/Ultra and subscription FAQs
@@ -135,6 +135,18 @@ Flow video editor). These plans do not apply to the API usage which powers the
135
135
  Gemini CLI. Supporting these plans is under active consideration for future
136
136
  support.
137
137
 
138
+ ## Check usage and quota
139
+
140
+ You can check your current token usage and quota information using the
141
+ `/stats model` command. This command provides a snapshot of your current
142
+ session's token usage, as well as your overall quota and usage for the supported
143
+ models.
144
+
145
+ For more information on the `/stats` command and its subcommands, see the
146
+ [Command Reference](../../reference/commands.md#stats).
147
+
148
+ A summary of model usage is also presented on exit at the end of a session.
149
+
138
150
  ## Tips to avoid high costs
139
151
 
140
152
  When using a Pay as you Go API key, be mindful of your usage to avoid unexpected
@@ -151,8 +163,3 @@ costs.
151
163
  models directly.
152
164
  - Vertex AI: This is the enterprise-grade platform for building, deploying, and
153
165
  managing Gemini models with specific security and control requirements.
154
-
155
- ## Understanding your usage
156
-
157
- A summary of model usage is available through the `/stats` command and presented
158
- on exit at the end of a session.
@@ -10,8 +10,8 @@ and Privacy Notices applicable to those services apply to such access and use.
10
10
  Your Gemini CLI Usage Statistics are handled in accordance with Google's Privacy
11
11
  Policy.
12
12
 
13
- **Note:** See [quotas and pricing](/docs/quota-and-pricing.md) for the quota and
14
- pricing details that apply to your usage of the Gemini CLI.
13
+ **Note:** See [quotas and pricing](/docs/resources/quota-and-pricing.md) for the
14
+ quota and pricing details that apply to your usage of the Gemini CLI.
15
15
 
16
16
  ## Supported authentication methods
17
17
 
@@ -93,4 +93,4 @@ backend, these Terms of Service and Privacy Notice documents apply:
93
93
 
94
94
  You may opt-out from sending Gemini CLI Usage Statistics to Google by following
95
95
  the instructions available here:
96
- [Usage Statistics Configuration](https://github.com/google-gemini/gemini-cli/blob/main/docs/get-started/configuration.md#usage-statistics).
96
+ [Usage Statistics Configuration](https://github.com/google-gemini/gemini-cli/blob/main/docs/reference/configuration.md#usage-statistics).
@@ -93,7 +93,7 @@ topics on:
93
93
  - **Cause:** When sandboxing is enabled, Gemini CLI may attempt operations
94
94
  that are restricted by your sandbox configuration, such as writing outside
95
95
  the project directory or system temp directory.
96
- - **Solution:** Refer to the [Configuration: Sandboxing](./cli/sandbox.md)
96
+ - **Solution:** Refer to the [Configuration: Sandboxing](../cli/sandbox.md)
97
97
  documentation for more information, including how to customize your sandbox
98
98
  configuration.
99
99
 
@@ -1,128 +1,225 @@
1
1
  [
2
2
  {
3
- "label": "Get started",
4
- "items": [
5
- { "label": "Overview", "slug": "docs" },
6
- { "label": "Quickstart", "slug": "docs/get-started" },
7
- { "label": "Installation", "slug": "docs/get-started/installation" },
8
- { "label": "Authentication", "slug": "docs/get-started/authentication" },
9
- { "label": "Examples", "slug": "docs/get-started/examples" },
10
- { "label": "Gemini 3 (preview)", "slug": "docs/get-started/gemini-3" },
11
- { "label": "CLI Reference", "slug": "docs/cli/cli-reference" }
12
- ]
13
- },
14
- {
15
- "label": "Use Gemini CLI",
16
- "items": [
17
- { "label": "Using the CLI", "slug": "docs/cli" },
18
- { "label": "File management", "slug": "docs/tools/file-system" },
19
- { "label": "Memory management", "slug": "docs/tools/memory" },
20
- { "label": "Project context (GEMINI.md)", "slug": "docs/cli/gemini-md" },
21
- { "label": "Shell commands", "slug": "docs/tools/shell" },
22
- { "label": "Session management", "slug": "docs/cli/session-management" },
23
- { "label": "Todos", "slug": "docs/tools/todos" },
24
- { "label": "Web search and fetch", "slug": "docs/tools/web-search" }
25
- ]
26
- },
27
- {
28
- "label": "Configuration",
3
+ "label": "docs_tab",
29
4
  "items": [
30
5
  {
31
- "label": "Ignore files (.geminiignore)",
32
- "slug": "docs/cli/gemini-ignore"
6
+ "label": "Get started",
7
+ "items": [
8
+ { "label": "Overview", "slug": "docs" },
9
+ { "label": "Quickstart", "slug": "docs/get-started" },
10
+ { "label": "Installation", "slug": "docs/get-started/installation" },
11
+ {
12
+ "label": "Authentication",
13
+ "slug": "docs/get-started/authentication"
14
+ },
15
+ { "label": "Examples", "slug": "docs/get-started/examples" },
16
+ { "label": "CLI cheatsheet", "slug": "docs/cli/cli-reference" },
17
+ {
18
+ "label": "Gemini 3 on Gemini CLI",
19
+ "slug": "docs/get-started/gemini-3"
20
+ }
21
+ ]
33
22
  },
34
- { "label": "Model selection", "slug": "docs/cli/model" },
35
- { "label": "Settings", "slug": "docs/cli/settings" },
36
- { "label": "Themes", "slug": "docs/cli/themes" },
37
- { "label": "Token caching", "slug": "docs/cli/token-caching" },
38
- { "label": "Trusted folders", "slug": "docs/cli/trusted-folders" }
39
- ]
40
- },
41
- {
42
- "label": "Advanced features",
43
- "items": [
44
- { "label": "Checkpointing", "slug": "docs/cli/checkpointing" },
45
- { "label": "Custom commands", "slug": "docs/cli/custom-commands" },
46
- { "label": "Enterprise features", "slug": "docs/cli/enterprise" },
47
- { "label": "Headless mode & scripting", "slug": "docs/cli/headless" },
48
- { "label": "Sandboxing", "slug": "docs/cli/sandbox" },
49
- { "label": "System prompt override", "slug": "docs/cli/system-prompt" },
50
- { "label": "Telemetry", "slug": "docs/cli/telemetry" }
51
- ]
52
- },
53
- {
54
- "label": "Extensions",
55
- "items": [
56
23
  {
57
- "label": "Introduction",
58
- "slug": "docs/extensions"
24
+ "label": "Use Gemini CLI",
25
+ "items": [
26
+ {
27
+ "label": "File management",
28
+ "slug": "docs/cli/tutorials/file-management"
29
+ },
30
+ {
31
+ "label": "Get started with Agent skills",
32
+ "slug": "docs/cli/tutorials/skills-getting-started"
33
+ },
34
+ {
35
+ "label": "Manage context and memory",
36
+ "slug": "docs/cli/tutorials/memory-management"
37
+ },
38
+ {
39
+ "label": "Execute shell commands",
40
+ "slug": "docs/cli/tutorials/shell-commands"
41
+ },
42
+ {
43
+ "label": "Manage sessions and history",
44
+ "slug": "docs/cli/tutorials/session-management"
45
+ },
46
+ {
47
+ "label": "Plan tasks with todos",
48
+ "slug": "docs/cli/tutorials/task-planning"
49
+ },
50
+ {
51
+ "label": "Web search and fetch",
52
+ "slug": "docs/cli/tutorials/web-tools"
53
+ },
54
+ {
55
+ "label": "Set up an MCP server",
56
+ "slug": "docs/cli/tutorials/mcp-setup"
57
+ },
58
+ { "label": "Automate tasks", "slug": "docs/cli/tutorials/automation" }
59
+ ]
59
60
  },
60
61
  {
61
- "label": "Writing extensions",
62
- "slug": "docs/extensions/writing-extensions"
62
+ "label": "Features",
63
+ "items": [
64
+ { "label": "Agent Skills", "slug": "docs/cli/skills" },
65
+ {
66
+ "label": "Authentication",
67
+ "slug": "docs/get-started/authentication"
68
+ },
69
+ { "label": "Checkpointing", "slug": "docs/cli/checkpointing" },
70
+ {
71
+ "label": "Extensions",
72
+ "slug": "docs/extensions/index"
73
+ },
74
+ { "label": "Headless mode", "slug": "docs/cli/headless" },
75
+ { "label": "Hooks", "slug": "docs/hooks" },
76
+ { "label": "IDE integration", "slug": "docs/ide-integration" },
77
+ { "label": "MCP servers", "slug": "docs/tools/mcp-server" },
78
+ { "label": "Model routing", "slug": "docs/cli/model-routing" },
79
+ { "label": "Model selection", "slug": "docs/cli/model" },
80
+ { "label": "Plan mode", "badge": "🧪", "slug": "docs/cli/plan-mode" },
81
+ {
82
+ "label": "Subagents",
83
+ "badge": "🧪",
84
+ "slug": "docs/core/subagents"
85
+ },
86
+ {
87
+ "label": "Remote subagents",
88
+ "badge": "🧪",
89
+ "slug": "docs/core/remote-agents"
90
+ },
91
+ { "label": "Rewind", "slug": "docs/cli/rewind" },
92
+ { "label": "Sandboxing", "slug": "docs/cli/sandbox" },
93
+ { "label": "Settings", "slug": "docs/cli/settings" },
94
+ { "label": "Telemetry", "slug": "docs/cli/telemetry" },
95
+ { "label": "Token caching", "slug": "docs/cli/token-caching" }
96
+ ]
63
97
  },
64
98
  {
65
- "label": "Extensions reference",
66
- "slug": "docs/extensions/reference"
99
+ "label": "Configuration",
100
+ "items": [
101
+ { "label": "Custom commands", "slug": "docs/cli/custom-commands" },
102
+ {
103
+ "label": "Enterprise configuration",
104
+ "slug": "docs/cli/enterprise"
105
+ },
106
+ {
107
+ "label": "Ignore files (.geminiignore)",
108
+ "slug": "docs/cli/gemini-ignore"
109
+ },
110
+ {
111
+ "label": "Model configuration",
112
+ "slug": "docs/cli/generation-settings"
113
+ },
114
+ {
115
+ "label": "Project context (GEMINI.md)",
116
+ "slug": "docs/cli/gemini-md"
117
+ },
118
+ { "label": "Settings", "slug": "docs/cli/settings" },
119
+ {
120
+ "label": "System prompt override",
121
+ "slug": "docs/cli/system-prompt"
122
+ },
123
+ { "label": "Themes", "slug": "docs/cli/themes" },
124
+ { "label": "Trusted folders", "slug": "docs/cli/trusted-folders" }
125
+ ]
67
126
  },
68
127
  {
69
- "label": "Best practices",
70
- "slug": "docs/extensions/best-practices"
128
+ "label": "Extensions",
129
+ "items": [
130
+ {
131
+ "label": "Overview",
132
+ "slug": "docs/extensions"
133
+ },
134
+ {
135
+ "label": "User guide: Install and manage",
136
+ "link": "/docs/extensions/#manage-extensions"
137
+ },
138
+ {
139
+ "label": "Developer guide: Build extensions",
140
+ "slug": "docs/extensions/writing-extensions"
141
+ },
142
+ {
143
+ "label": "Developer guide: Best practices",
144
+ "slug": "docs/extensions/best-practices"
145
+ },
146
+ {
147
+ "label": "Developer guide: Releasing",
148
+ "slug": "docs/extensions/releasing"
149
+ },
150
+ {
151
+ "label": "Developer guide: Reference",
152
+ "slug": "docs/extensions/reference"
153
+ }
154
+ ]
71
155
  },
72
156
  {
73
- "label": "Extensions releasing",
74
- "slug": "docs/extensions/releasing"
157
+ "label": "Development",
158
+ "items": [
159
+ { "label": "Contribution guide", "slug": "docs/contributing" },
160
+ { "label": "Integration testing", "slug": "docs/integration-tests" },
161
+ {
162
+ "label": "Issue and PR automation",
163
+ "slug": "docs/issue-and-pr-automation"
164
+ },
165
+ { "label": "Local development", "slug": "docs/local-development" },
166
+ { "label": "NPM package structure", "slug": "docs/npm" }
167
+ ]
75
168
  }
76
169
  ]
77
170
  },
78
171
  {
79
- "label": "Ecosystem and extensibility",
172
+ "label": "reference_tab",
80
173
  "items": [
81
- { "label": "Agent skills", "slug": "docs/cli/skills" },
82
- {
83
- "label": "Creating Agent skills",
84
- "slug": "docs/cli/creating-skills"
85
- },
86
174
  {
87
- "label": "Sub-agents (experimental)",
88
- "slug": "docs/core/subagents"
89
- },
90
- {
91
- "label": "Remote subagents (experimental)",
92
- "slug": "docs/core/remote-agents"
93
- },
94
- { "label": "Hooks", "slug": "docs/hooks" },
95
- { "label": "IDE integration", "slug": "docs/ide-integration" },
96
- { "label": "MCP servers", "slug": "docs/tools/mcp-server" }
175
+ "label": "Reference",
176
+ "items": [
177
+ { "label": "Command reference", "slug": "docs/reference/commands" },
178
+ {
179
+ "label": "Configuration reference",
180
+ "slug": "docs/reference/configuration"
181
+ },
182
+ {
183
+ "label": "Keyboard shortcuts",
184
+ "slug": "docs/reference/keyboard-shortcuts"
185
+ },
186
+ {
187
+ "label": "Memory import processor",
188
+ "slug": "docs/reference/memport"
189
+ },
190
+ { "label": "Policy engine", "slug": "docs/reference/policy-engine" },
191
+ { "label": "Tools API", "slug": "docs/reference/tools-api" }
192
+ ]
193
+ }
97
194
  ]
98
195
  },
99
196
  {
100
- "label": "Tutorials",
197
+ "label": "resources_tab",
101
198
  "items": [
102
199
  {
103
- "label": "Get started with extensions",
104
- "slug": "docs/extensions/writing-extensions"
105
- },
106
- { "label": "How to write hooks", "slug": "docs/hooks/writing-hooks" }
107
- ]
108
- },
109
- {
110
- "label": "Reference",
111
- "items": [
112
- { "label": "Architecture", "slug": "docs/architecture" },
113
- { "label": "Command reference", "slug": "docs/cli/commands" },
114
- { "label": "Configuration", "slug": "docs/get-started/configuration" },
115
- { "label": "Keyboard shortcuts", "slug": "docs/cli/keyboard-shortcuts" },
116
- { "label": "Memory import processor", "slug": "docs/core/memport" },
117
- { "label": "Policy engine", "slug": "docs/core/policy-engine" },
118
- { "label": "Tools API", "slug": "docs/core/tools-api" }
200
+ "label": "Resources",
201
+ "items": [
202
+ { "label": "FAQ", "slug": "docs/resources/faq" },
203
+ {
204
+ "label": "Quota and pricing",
205
+ "slug": "docs/resources/quota-and-pricing"
206
+ },
207
+ {
208
+ "label": "Terms and privacy",
209
+ "slug": "docs/resources/tos-privacy"
210
+ },
211
+ {
212
+ "label": "Troubleshooting",
213
+ "slug": "docs/resources/troubleshooting"
214
+ },
215
+ { "label": "Uninstall", "slug": "docs/resources/uninstall" }
216
+ ]
217
+ }
119
218
  ]
120
219
  },
121
220
  {
122
- "label": "Resources",
221
+ "label": "releases_tab",
123
222
  "items": [
124
- { "label": "FAQ", "slug": "docs/faq" },
125
- { "label": "Quota and pricing", "slug": "docs/quota-and-pricing" },
126
223
  {
127
224
  "label": "Releases",
128
225
  "items": [
@@ -130,23 +227,7 @@
130
227
  { "label": "Stable release", "slug": "docs/changelogs/latest" },
131
228
  { "label": "Preview release", "slug": "docs/changelogs/preview" }
132
229
  ]
133
- },
134
- { "label": "Terms and privacy", "slug": "docs/tos-privacy" },
135
- { "label": "Troubleshooting", "slug": "docs/troubleshooting" },
136
- { "label": "Uninstall", "slug": "docs/cli/uninstall" }
137
- ]
138
- },
139
- {
140
- "label": "Development",
141
- "items": [
142
- { "label": "Contribution guide", "slug": "docs/contributing" },
143
- { "label": "Integration testing", "slug": "docs/integration-tests" },
144
- {
145
- "label": "Issue and PR automation",
146
- "slug": "docs/issue-and-pr-automation"
147
- },
148
- { "label": "Local development", "slug": "docs/local-development" },
149
- { "label": "NPM package structure", "slug": "docs/npm" }
230
+ }
150
231
  ]
151
232
  }
152
233
  ]