@dgxo/mashadevcli 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/README.md +393 -0
- package/bundle/builtin/skill-creator/SKILL.md +382 -0
- package/bundle/builtin/skill-creator/scripts/init_skill.cjs +239 -0
- package/bundle/builtin/skill-creator/scripts/package_skill.cjs +131 -0
- package/bundle/builtin/skill-creator/scripts/validate_skill.cjs +131 -0
- package/bundle/docs/CONTRIBUTING.md +1 -0
- package/bundle/docs/admin/enterprise-controls.md +115 -0
- package/bundle/docs/assets/connected_devtools.png +0 -0
- package/bundle/docs/assets/gemini-screenshot.png +0 -0
- package/bundle/docs/assets/monitoring-dashboard-logs.png +0 -0
- package/bundle/docs/assets/monitoring-dashboard-metrics.png +0 -0
- package/bundle/docs/assets/monitoring-dashboard-overview.png +0 -0
- package/bundle/docs/assets/release_patch.png +0 -0
- package/bundle/docs/assets/theme-ansi-light.png +0 -0
- package/bundle/docs/assets/theme-ansi.png +0 -0
- package/bundle/docs/assets/theme-atom-one.png +0 -0
- package/bundle/docs/assets/theme-ayu-light.png +0 -0
- package/bundle/docs/assets/theme-ayu.png +0 -0
- package/bundle/docs/assets/theme-custom.png +0 -0
- package/bundle/docs/assets/theme-default-light.png +0 -0
- package/bundle/docs/assets/theme-default.png +0 -0
- package/bundle/docs/assets/theme-dracula.png +0 -0
- package/bundle/docs/assets/theme-github-light.png +0 -0
- package/bundle/docs/assets/theme-github.png +0 -0
- package/bundle/docs/assets/theme-google-light.png +0 -0
- package/bundle/docs/assets/theme-xcode-light.png +0 -0
- package/bundle/docs/changelogs/index.md +867 -0
- package/bundle/docs/changelogs/latest.md +208 -0
- package/bundle/docs/changelogs/preview.md +187 -0
- package/bundle/docs/cli/checkpointing.md +93 -0
- package/bundle/docs/cli/cli-reference.md +115 -0
- package/bundle/docs/cli/creating-skills.md +80 -0
- package/bundle/docs/cli/custom-commands.md +327 -0
- package/bundle/docs/cli/enterprise.md +604 -0
- package/bundle/docs/cli/gemini-ignore.md +71 -0
- package/bundle/docs/cli/gemini-md.md +116 -0
- package/bundle/docs/cli/generation-settings.md +210 -0
- package/bundle/docs/cli/headless.md +50 -0
- package/bundle/docs/cli/model-routing.md +42 -0
- package/bundle/docs/cli/model.md +53 -0
- package/bundle/docs/cli/plan-mode.md +375 -0
- package/bundle/docs/cli/rewind.md +51 -0
- package/bundle/docs/cli/sandbox.md +257 -0
- package/bundle/docs/cli/session-management.md +184 -0
- package/bundle/docs/cli/settings.md +165 -0
- package/bundle/docs/cli/skills.md +134 -0
- package/bundle/docs/cli/system-prompt.md +125 -0
- package/bundle/docs/cli/telemetry.md +922 -0
- package/bundle/docs/cli/themes.md +269 -0
- package/bundle/docs/cli/token-caching.md +20 -0
- package/bundle/docs/cli/trusted-folders.md +126 -0
- package/bundle/docs/cli/tutorials/automation.md +283 -0
- package/bundle/docs/cli/tutorials/file-management.md +142 -0
- package/bundle/docs/cli/tutorials/mcp-setup.md +113 -0
- package/bundle/docs/cli/tutorials/memory-management.md +126 -0
- package/bundle/docs/cli/tutorials/session-management.md +105 -0
- package/bundle/docs/cli/tutorials/shell-commands.md +107 -0
- package/bundle/docs/cli/tutorials/skills-getting-started.md +110 -0
- package/bundle/docs/cli/tutorials/task-planning.md +93 -0
- package/bundle/docs/cli/tutorials/web-tools.md +78 -0
- package/bundle/docs/core/index.md +107 -0
- package/bundle/docs/core/remote-agents.md +84 -0
- package/bundle/docs/core/subagents.md +307 -0
- package/bundle/docs/examples/proxy-script.md +83 -0
- package/bundle/docs/extensions/best-practices.md +188 -0
- package/bundle/docs/extensions/index.md +61 -0
- package/bundle/docs/extensions/reference.md +333 -0
- package/bundle/docs/extensions/releasing.md +154 -0
- package/bundle/docs/extensions/writing-extensions.md +308 -0
- package/bundle/docs/get-started/authentication.md +402 -0
- package/bundle/docs/get-started/examples.md +139 -0
- package/bundle/docs/get-started/gemini-3.md +115 -0
- package/bundle/docs/get-started/index.md +82 -0
- package/bundle/docs/get-started/installation.md +174 -0
- package/bundle/docs/hooks/best-practices.md +709 -0
- package/bundle/docs/hooks/index.md +164 -0
- package/bundle/docs/hooks/reference.md +330 -0
- package/bundle/docs/hooks/writing-hooks.md +474 -0
- package/bundle/docs/ide-integration/ide-companion-spec.md +267 -0
- package/bundle/docs/ide-integration/index.md +224 -0
- package/bundle/docs/index.md +141 -0
- package/bundle/docs/integration-tests.md +211 -0
- package/bundle/docs/issue-and-pr-automation.md +172 -0
- package/bundle/docs/local-development.md +134 -0
- package/bundle/docs/mermaid/context.mmd +103 -0
- package/bundle/docs/mermaid/render-path.mmd +64 -0
- package/bundle/docs/npm.md +62 -0
- package/bundle/docs/redirects.json +20 -0
- package/bundle/docs/reference/commands.md +526 -0
- package/bundle/docs/reference/configuration.md +1786 -0
- package/bundle/docs/reference/keyboard-shortcuts.md +164 -0
- package/bundle/docs/reference/memport.md +246 -0
- package/bundle/docs/reference/policy-engine.md +364 -0
- package/bundle/docs/reference/tools.md +106 -0
- package/bundle/docs/release-confidence.md +164 -0
- package/bundle/docs/releases.md +540 -0
- package/bundle/docs/resources/faq.md +175 -0
- package/bundle/docs/resources/quota-and-pricing.md +165 -0
- package/bundle/docs/resources/tos-privacy.md +102 -0
- package/bundle/docs/resources/troubleshooting.md +176 -0
- package/bundle/docs/resources/uninstall.md +56 -0
- package/bundle/docs/sidebar.json +233 -0
- package/bundle/docs/tools/activate-skill.md +43 -0
- package/bundle/docs/tools/ask-user.md +95 -0
- package/bundle/docs/tools/file-system.md +129 -0
- package/bundle/docs/tools/internal-docs.md +46 -0
- package/bundle/docs/tools/mcp-server.md +1150 -0
- package/bundle/docs/tools/memory.md +35 -0
- package/bundle/docs/tools/planning.md +58 -0
- package/bundle/docs/tools/shell.md +216 -0
- package/bundle/docs/tools/todos.md +35 -0
- package/bundle/docs/tools/web-fetch.md +35 -0
- package/bundle/docs/tools/web-search.md +32 -0
- package/bundle/docs/update/update-guide.md +111 -0
- package/bundle/masha.js +563471 -0
- package/bundle/node_modules/@dgxo/mashadevcli-devtools/dist/client/main.js +89 -0
- package/bundle/node_modules/@dgxo/mashadevcli-devtools/dist/src/_client-assets.d.ts +7 -0
- package/bundle/node_modules/@dgxo/mashadevcli-devtools/dist/src/_client-assets.js +9 -0
- package/bundle/node_modules/@dgxo/mashadevcli-devtools/dist/src/_client-assets.js.map +1 -0
- package/bundle/node_modules/@dgxo/mashadevcli-devtools/dist/src/index.d.ts +48 -0
- package/bundle/node_modules/@dgxo/mashadevcli-devtools/dist/src/index.js +299 -0
- package/bundle/node_modules/@dgxo/mashadevcli-devtools/dist/src/index.js.map +1 -0
- package/bundle/node_modules/@dgxo/mashadevcli-devtools/dist/src/types.d.ts +36 -0
- package/bundle/node_modules/@dgxo/mashadevcli-devtools/dist/src/types.js +7 -0
- package/bundle/node_modules/@dgxo/mashadevcli-devtools/dist/src/types.js.map +1 -0
- package/bundle/node_modules/@dgxo/mashadevcli-devtools/package.json +32 -0
- package/bundle/policies/conseca.toml +6 -0
- package/bundle/policies/discovered.toml +8 -0
- package/bundle/policies/plan.toml +109 -0
- package/bundle/policies/read-only.toml +53 -0
- package/bundle/policies/write.toml +80 -0
- package/bundle/policies/yolo.toml +54 -0
- package/bundle/sandbox-macos-permissive-open.sb +27 -0
- package/bundle/sandbox-macos-permissive-proxied.sb +37 -0
- package/bundle/sandbox-macos-restrictive-open.sb +96 -0
- package/bundle/sandbox-macos-restrictive-proxied.sb +98 -0
- package/bundle/sandbox-macos-strict-open.sb +131 -0
- package/bundle/sandbox-macos-strict-proxied.sb +133 -0
- package/package.json +169 -0
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
# Latest stable release: v0.32.1
|
|
2
|
+
|
|
3
|
+
Released: March 4, 2026
|
|
4
|
+
|
|
5
|
+
For most users, our latest stable release is the recommended release. Install
|
|
6
|
+
the latest stable version with:
|
|
7
|
+
|
|
8
|
+
```
|
|
9
|
+
npm install -g @dgxo/mashadevcli
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## Highlights
|
|
13
|
+
|
|
14
|
+
- **Plan Mode Enhancements**: Significant updates to Plan Mode, including the
|
|
15
|
+
ability to open and modify plans in an external editor, adaptations for
|
|
16
|
+
complex tasks with multi-select options, and integration tests for plan mode.
|
|
17
|
+
- **Agent and Steering Improvements**: The generalist agent has been enabled to
|
|
18
|
+
enhance task delegation, model steering is now supported directly within the
|
|
19
|
+
workspace, and contiguous parallel admission is enabled for `Kind.Agent`
|
|
20
|
+
tools.
|
|
21
|
+
- **Interactive Shell**: Interactive shell autocompletion has been introduced,
|
|
22
|
+
significantly enhancing the user experience.
|
|
23
|
+
- **Core Stability and Performance**: Extensions are now loaded in parallel,
|
|
24
|
+
fetch timeouts have been increased, robust A2A streaming reassembly was
|
|
25
|
+
implemented, and orphaned processes when terminal closes have been prevented.
|
|
26
|
+
- **Billing and Quota Handling**: Implemented G1 AI credits overage flow with
|
|
27
|
+
billing telemetry and added support for quota error fallbacks across all
|
|
28
|
+
authentication types.
|
|
29
|
+
|
|
30
|
+
## What's Changed
|
|
31
|
+
|
|
32
|
+
- fix(patch): cherry-pick 0659ad1 to release/v0.32.0-pr-21042 to patch version
|
|
33
|
+
v0.32.0 and create version 0.32.1 by @gemini-cli-robot in
|
|
34
|
+
[#21048](https://github.com/DGameGT/mashadev-cli/pull/21048)
|
|
35
|
+
- feat(plan): add integration tests for plan mode by @Adib234 in
|
|
36
|
+
[#20214](https://github.com/DGameGT/mashadev-cli/pull/20214)
|
|
37
|
+
- fix(acp): update auth handshake to spec by @skeshive in
|
|
38
|
+
[#19725](https://github.com/DGameGT/mashadev-cli/pull/19725)
|
|
39
|
+
- feat(core): implement robust A2A streaming reassembly and fix task continuity
|
|
40
|
+
by @adamfweidman in
|
|
41
|
+
[#20091](https://github.com/DGameGT/mashadev-cli/pull/20091)
|
|
42
|
+
- feat(cli): load extensions in parallel by @scidomino in
|
|
43
|
+
[#20229](https://github.com/DGameGT/mashadev-cli/pull/20229)
|
|
44
|
+
- Plumb the maxAttempts setting through Config args by @kevinjwang1 in
|
|
45
|
+
[#20239](https://github.com/DGameGT/mashadev-cli/pull/20239)
|
|
46
|
+
- fix(cli): skip 404 errors in setup-github file downloads by @h30s in
|
|
47
|
+
[#20287](https://github.com/DGameGT/mashadev-cli/pull/20287)
|
|
48
|
+
- fix(cli): expose model.name setting in settings dialog for persistence by
|
|
49
|
+
@achaljhawar in
|
|
50
|
+
[#19605](https://github.com/DGameGT/mashadev-cli/pull/19605)
|
|
51
|
+
- docs: remove legacy cmd examples in favor of powershell by @scidomino in
|
|
52
|
+
[#20323](https://github.com/DGameGT/mashadev-cli/pull/20323)
|
|
53
|
+
- feat(core): Enable model steering in workspace. by @joshualitt in
|
|
54
|
+
[#20343](https://github.com/DGameGT/mashadev-cli/pull/20343)
|
|
55
|
+
- fix: remove trailing comma in issue triage workflow settings json by @Nixxx19
|
|
56
|
+
in [#20265](https://github.com/DGameGT/mashadev-cli/pull/20265)
|
|
57
|
+
- feat(core): implement task tracker foundation and service by @anj-s in
|
|
58
|
+
[#19464](https://github.com/DGameGT/mashadev-cli/pull/19464)
|
|
59
|
+
- test: support tests that include color information by @jacob314 in
|
|
60
|
+
[#20220](https://github.com/DGameGT/mashadev-cli/pull/20220)
|
|
61
|
+
- feat(core): introduce Kind.Agent for sub-agent classification by @abhipatel12
|
|
62
|
+
in [#20369](https://github.com/DGameGT/mashadev-cli/pull/20369)
|
|
63
|
+
- Changelog for v0.30.0 by @gemini-cli-robot in
|
|
64
|
+
[#20252](https://github.com/DGameGT/mashadev-cli/pull/20252)
|
|
65
|
+
- Update changelog workflow to reject nightly builds by @g-samroberts in
|
|
66
|
+
[#20248](https://github.com/DGameGT/mashadev-cli/pull/20248)
|
|
67
|
+
- Changelog for v0.31.0-preview.0 by @gemini-cli-robot in
|
|
68
|
+
[#20249](https://github.com/DGameGT/mashadev-cli/pull/20249)
|
|
69
|
+
- feat(cli): hide workspace policy update dialog and auto-accept by default by
|
|
70
|
+
@Abhijit-2592 in
|
|
71
|
+
[#20351](https://github.com/DGameGT/mashadev-cli/pull/20351)
|
|
72
|
+
- feat(core): rename grep_search include parameter to include_pattern by
|
|
73
|
+
@SandyTao520 in
|
|
74
|
+
[#20328](https://github.com/DGameGT/mashadev-cli/pull/20328)
|
|
75
|
+
- feat(plan): support opening and modifying plan in external editor by @Adib234
|
|
76
|
+
in [#20348](https://github.com/DGameGT/mashadev-cli/pull/20348)
|
|
77
|
+
- feat(cli): implement interactive shell autocompletion by @mrpmohiburrahman in
|
|
78
|
+
[#20082](https://github.com/DGameGT/mashadev-cli/pull/20082)
|
|
79
|
+
- fix(core): allow /memory add to work in plan mode by @Jefftree in
|
|
80
|
+
[#20353](https://github.com/DGameGT/mashadev-cli/pull/20353)
|
|
81
|
+
- feat(core): add HTTP 499 to retryable errors and map to RetryableQuotaError by
|
|
82
|
+
@bdmorgan in [#20432](https://github.com/DGameGT/mashadev-cli/pull/20432)
|
|
83
|
+
- feat(core): Enable generalist agent by @joshualitt in
|
|
84
|
+
[#19665](https://github.com/DGameGT/mashadev-cli/pull/19665)
|
|
85
|
+
- Updated tests in TableRenderer.test.tsx to use SVG snapshots by @devr0306 in
|
|
86
|
+
[#20450](https://github.com/DGameGT/mashadev-cli/pull/20450)
|
|
87
|
+
- Refactor Github Action per b/485167538 by @google-admin in
|
|
88
|
+
[#19443](https://github.com/DGameGT/mashadev-cli/pull/19443)
|
|
89
|
+
- fix(github): resolve actionlint and yamllint regressions from #19443 by @jerop
|
|
90
|
+
in [#20467](https://github.com/DGameGT/mashadev-cli/pull/20467)
|
|
91
|
+
- fix: action var usage by @galz10 in
|
|
92
|
+
[#20492](https://github.com/DGameGT/mashadev-cli/pull/20492)
|
|
93
|
+
- feat(core): improve A2A content extraction by @adamfweidman in
|
|
94
|
+
[#20487](https://github.com/DGameGT/mashadev-cli/pull/20487)
|
|
95
|
+
- fix(cli): support quota error fallbacks for all authentication types by
|
|
96
|
+
@sehoon38 in [#20475](https://github.com/DGameGT/mashadev-cli/pull/20475)
|
|
97
|
+
- fix(core): flush transcript for pure tool-call responses to ensure BeforeTool
|
|
98
|
+
hooks see complete state by @krishdef7 in
|
|
99
|
+
[#20419](https://github.com/DGameGT/mashadev-cli/pull/20419)
|
|
100
|
+
- feat(plan): adapt planning workflow based on complexity of task by @jerop in
|
|
101
|
+
[#20465](https://github.com/DGameGT/mashadev-cli/pull/20465)
|
|
102
|
+
- fix: prevent orphaned processes from consuming 100% CPU when terminal closes
|
|
103
|
+
by @yuvrajangadsingh in
|
|
104
|
+
[#16965](https://github.com/DGameGT/mashadev-cli/pull/16965)
|
|
105
|
+
- feat(core): increase fetch timeout and fix [object Object] error
|
|
106
|
+
stringification by @bdmorgan in
|
|
107
|
+
[#20441](https://github.com/DGameGT/mashadev-cli/pull/20441)
|
|
108
|
+
- [Gemma x Gemini CLI] Add an Experimental Gemma Router that uses a LiteRT-LM
|
|
109
|
+
shim into the Composite Model Classifier Strategy by @sidwan02 in
|
|
110
|
+
[#17231](https://github.com/DGameGT/mashadev-cli/pull/17231)
|
|
111
|
+
- docs(plan): update documentation regarding supporting editing of plan files
|
|
112
|
+
during plan approval by @Adib234 in
|
|
113
|
+
[#20452](https://github.com/DGameGT/mashadev-cli/pull/20452)
|
|
114
|
+
- test(cli): fix flaky ToolResultDisplay overflow test by @jwhelangoog in
|
|
115
|
+
[#20518](https://github.com/DGameGT/mashadev-cli/pull/20518)
|
|
116
|
+
- ui(cli): reduce length of Ctrl+O hint by @jwhelangoog in
|
|
117
|
+
[#20490](https://github.com/DGameGT/mashadev-cli/pull/20490)
|
|
118
|
+
- fix(ui): correct styled table width calculations by @devr0306 in
|
|
119
|
+
[#20042](https://github.com/DGameGT/mashadev-cli/pull/20042)
|
|
120
|
+
- Avoid overaggressive unescaping by @scidomino in
|
|
121
|
+
[#20520](https://github.com/DGameGT/mashadev-cli/pull/20520)
|
|
122
|
+
- feat(telemetry) Instrument traces with more attributes and make them available
|
|
123
|
+
to OTEL users by @heaventourist in
|
|
124
|
+
[#20237](https://github.com/DGameGT/mashadev-cli/pull/20237)
|
|
125
|
+
- Add support for policy engine in extensions by @chrstnb in
|
|
126
|
+
[#20049](https://github.com/DGameGT/mashadev-cli/pull/20049)
|
|
127
|
+
- Docs: Update to Terms of Service & FAQ by @jkcinouye in
|
|
128
|
+
[#20488](https://github.com/DGameGT/mashadev-cli/pull/20488)
|
|
129
|
+
- Fix bottom border rendering for search and add a regression test. by @jacob314
|
|
130
|
+
in [#20517](https://github.com/DGameGT/mashadev-cli/pull/20517)
|
|
131
|
+
- fix(core): apply retry logic to CodeAssistServer for all users by @bdmorgan in
|
|
132
|
+
[#20507](https://github.com/DGameGT/mashadev-cli/pull/20507)
|
|
133
|
+
- Fix extension MCP server env var loading by @chrstnb in
|
|
134
|
+
[#20374](https://github.com/DGameGT/mashadev-cli/pull/20374)
|
|
135
|
+
- feat(ui): add 'ctrl+o' hint to truncated content message by @jerop in
|
|
136
|
+
[#20529](https://github.com/DGameGT/mashadev-cli/pull/20529)
|
|
137
|
+
- Fix flicker showing message to press ctrl-O again to collapse. by @jacob314 in
|
|
138
|
+
[#20414](https://github.com/DGameGT/mashadev-cli/pull/20414)
|
|
139
|
+
- fix(cli): hide shortcuts hint while model is thinking or the user has typed a
|
|
140
|
+
prompt + add debounce to avoid flicker by @jacob314 in
|
|
141
|
+
[#19389](https://github.com/DGameGT/mashadev-cli/pull/19389)
|
|
142
|
+
- feat(plan): update planning workflow to encourage multi-select with
|
|
143
|
+
descriptions of options by @Adib234 in
|
|
144
|
+
[#20491](https://github.com/DGameGT/mashadev-cli/pull/20491)
|
|
145
|
+
- refactor(core,cli): useAlternateBuffer read from config by @psinha40898 in
|
|
146
|
+
[#20346](https://github.com/DGameGT/mashadev-cli/pull/20346)
|
|
147
|
+
- fix(cli): ensure dialogs stay scrolled to bottom in alternate buffer mode by
|
|
148
|
+
@jacob314 in [#20527](https://github.com/DGameGT/mashadev-cli/pull/20527)
|
|
149
|
+
- fix(core): revert auto-save of policies to user space by @Abhijit-2592 in
|
|
150
|
+
[#20531](https://github.com/DGameGT/mashadev-cli/pull/20531)
|
|
151
|
+
- Demote unreliable test. by @gundermanc in
|
|
152
|
+
[#20571](https://github.com/DGameGT/mashadev-cli/pull/20571)
|
|
153
|
+
- fix(core): handle optional response fields from code assist API by @sehoon38
|
|
154
|
+
in [#20345](https://github.com/DGameGT/mashadev-cli/pull/20345)
|
|
155
|
+
- fix(cli): keep thought summary when loading phrases are off by @LyalinDotCom
|
|
156
|
+
in [#20497](https://github.com/DGameGT/mashadev-cli/pull/20497)
|
|
157
|
+
- feat(cli): add temporary flag to disable workspace policies by @Abhijit-2592
|
|
158
|
+
in [#20523](https://github.com/DGameGT/mashadev-cli/pull/20523)
|
|
159
|
+
- Disable expensive and scheduled workflows on personal forks by @dewitt in
|
|
160
|
+
[#20449](https://github.com/DGameGT/mashadev-cli/pull/20449)
|
|
161
|
+
- Moved markdown parsing logic to a separate util file by @devr0306 in
|
|
162
|
+
[#20526](https://github.com/DGameGT/mashadev-cli/pull/20526)
|
|
163
|
+
- fix(plan): prevent agent from using ask_user for shell command confirmation by
|
|
164
|
+
@Adib234 in [#20504](https://github.com/DGameGT/mashadev-cli/pull/20504)
|
|
165
|
+
- fix(core): disable retries for code assist streaming requests by @sehoon38 in
|
|
166
|
+
[#20561](https://github.com/DGameGT/mashadev-cli/pull/20561)
|
|
167
|
+
- feat(billing): implement G1 AI credits overage flow with billing telemetry by
|
|
168
|
+
@gsquared94 in
|
|
169
|
+
[#18590](https://github.com/DGameGT/mashadev-cli/pull/18590)
|
|
170
|
+
- feat: better error messages by @gsquared94 in
|
|
171
|
+
[#20577](https://github.com/DGameGT/mashadev-cli/pull/20577)
|
|
172
|
+
- fix(ui): persist expansion in AskUser dialog when navigating options by @jerop
|
|
173
|
+
in [#20559](https://github.com/DGameGT/mashadev-cli/pull/20559)
|
|
174
|
+
- fix(cli): prevent sub-agent tool calls from leaking into UI by @abhipatel12 in
|
|
175
|
+
[#20580](https://github.com/DGameGT/mashadev-cli/pull/20580)
|
|
176
|
+
- fix(cli): Shell autocomplete polish by @jacob314 in
|
|
177
|
+
[#20411](https://github.com/DGameGT/mashadev-cli/pull/20411)
|
|
178
|
+
- Changelog for v0.31.0-preview.1 by @gemini-cli-robot in
|
|
179
|
+
[#20590](https://github.com/DGameGT/mashadev-cli/pull/20590)
|
|
180
|
+
- Add slash command for promoting behavioral evals to CI blocking by @gundermanc
|
|
181
|
+
in [#20575](https://github.com/DGameGT/mashadev-cli/pull/20575)
|
|
182
|
+
- Changelog for v0.30.1 by @gemini-cli-robot in
|
|
183
|
+
[#20589](https://github.com/DGameGT/mashadev-cli/pull/20589)
|
|
184
|
+
- Add low/full CLI error verbosity mode for cleaner UI by @LyalinDotCom in
|
|
185
|
+
[#20399](https://github.com/DGameGT/mashadev-cli/pull/20399)
|
|
186
|
+
- Disable Gemini PR reviews on draft PRs. by @gundermanc in
|
|
187
|
+
[#20362](https://github.com/DGameGT/mashadev-cli/pull/20362)
|
|
188
|
+
- Docs: FAQ update by @jkcinouye in
|
|
189
|
+
[#20585](https://github.com/DGameGT/mashadev-cli/pull/20585)
|
|
190
|
+
- fix(core): reduce intrusive MCP errors and deduplicate diagnostics by
|
|
191
|
+
@spencer426 in
|
|
192
|
+
[#20232](https://github.com/DGameGT/mashadev-cli/pull/20232)
|
|
193
|
+
- docs: fix spelling typos in installation guide by @campox747 in
|
|
194
|
+
[#20579](https://github.com/DGameGT/mashadev-cli/pull/20579)
|
|
195
|
+
- Promote stable tests to CI blocking. by @gundermanc in
|
|
196
|
+
[#20581](https://github.com/DGameGT/mashadev-cli/pull/20581)
|
|
197
|
+
- feat(core): enable contiguous parallel admission for Kind.Agent tools by
|
|
198
|
+
@abhipatel12 in
|
|
199
|
+
[#20583](https://github.com/DGameGT/mashadev-cli/pull/20583)
|
|
200
|
+
- Enforce import/no-duplicates as error by @Nixxx19 in
|
|
201
|
+
[#19797](https://github.com/DGameGT/mashadev-cli/pull/19797)
|
|
202
|
+
- fix: merge duplicate imports in sdk and test-utils packages (1/4) by @Nixxx19
|
|
203
|
+
in [#19777](https://github.com/DGameGT/mashadev-cli/pull/19777)
|
|
204
|
+
- fix: merge duplicate imports in a2a-server package (2/4) by @Nixxx19 in
|
|
205
|
+
[#19781](https://github.com/DGameGT/mashadev-cli/pull/19781)
|
|
206
|
+
|
|
207
|
+
**Full Changelog**:
|
|
208
|
+
https://github.com/DGameGT/mashadev-cli/compare/v0.31.0...v0.32.1
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
# Preview release: v0.33.0-preview.1
|
|
2
|
+
|
|
3
|
+
Released: March 04, 2026
|
|
4
|
+
|
|
5
|
+
Our preview release includes the latest, new, and experimental features. This
|
|
6
|
+
release may not be as stable as our [latest weekly release](latest.md).
|
|
7
|
+
|
|
8
|
+
To install the preview release:
|
|
9
|
+
|
|
10
|
+
```
|
|
11
|
+
npm install -g @dgxo/mashadevcli@preview
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Highlights
|
|
15
|
+
|
|
16
|
+
- **Plan Mode Enhancements**: Added support for annotating plans with feedback
|
|
17
|
+
for iteration, enabling built-in research subagents in plan mode, and a new
|
|
18
|
+
`copy` subcommand.
|
|
19
|
+
- **Agent and Skill Improvements**: Introduced the new `github-issue-creator`
|
|
20
|
+
skill, implemented HTTP authentication support for A2A remote agents, and
|
|
21
|
+
added support for authenticated A2A agent card discovery.
|
|
22
|
+
- **CLI UX/UI Updates**: Redesigned the header to be compact with an ASCII icon,
|
|
23
|
+
inverted the context window display to show usage, and directly indicate auth
|
|
24
|
+
required state for agents.
|
|
25
|
+
- **Core and ACP Enhancements**: Implemented slash command handling in ACP (for
|
|
26
|
+
`/memory`, `/init`, `/extensions`, and `/restore`), added a set models
|
|
27
|
+
interface to ACP, and centralized `read_file` limits while truncating large
|
|
28
|
+
MCP tool output.
|
|
29
|
+
|
|
30
|
+
## What's Changed
|
|
31
|
+
|
|
32
|
+
- fix(patch): cherry-pick 0659ad1 to release/v0.33.0-preview.0-pr-21042 to patch
|
|
33
|
+
version v0.33.0-preview.0 and create version 0.33.0-preview.1 by
|
|
34
|
+
@gemini-cli-robot in
|
|
35
|
+
[#21047](https://github.com/DGameGT/mashadev-cli/pull/21047)
|
|
36
|
+
|
|
37
|
+
* Docs: Update model docs to remove Preview Features. by @jkcinouye in
|
|
38
|
+
[#20084](https://github.com/DGameGT/mashadev-cli/pull/20084)
|
|
39
|
+
* docs: fix typo in installation documentation by @AdityaSharma-Git3207 in
|
|
40
|
+
[#20153](https://github.com/DGameGT/mashadev-cli/pull/20153)
|
|
41
|
+
* docs: add Windows PowerShell equivalents for environments and scripting by
|
|
42
|
+
@scidomino in [#20333](https://github.com/DGameGT/mashadev-cli/pull/20333)
|
|
43
|
+
* fix(core): parse raw ASCII buffer strings in Gaxios errors by @sehoon38 in
|
|
44
|
+
[#20626](https://github.com/DGameGT/mashadev-cli/pull/20626)
|
|
45
|
+
* chore(release): bump version to 0.33.0-nightly.20260227.ba149afa0 by @galz10
|
|
46
|
+
in [#20637](https://github.com/DGameGT/mashadev-cli/pull/20637)
|
|
47
|
+
* fix(github): use robot PAT for automated PRs to pass CLA check by @galz10 in
|
|
48
|
+
[#20641](https://github.com/DGameGT/mashadev-cli/pull/20641)
|
|
49
|
+
* chore/release: bump version to 0.33.0-nightly.20260228.1ca5c05d0 by
|
|
50
|
+
@gemini-cli-robot in
|
|
51
|
+
[#20644](https://github.com/DGameGT/mashadev-cli/pull/20644)
|
|
52
|
+
* Changelog for v0.31.0 by @gemini-cli-robot in
|
|
53
|
+
[#20634](https://github.com/DGameGT/mashadev-cli/pull/20634)
|
|
54
|
+
* fix: use full paths for ACP diff payloads by @JagjeevanAK in
|
|
55
|
+
[#19539](https://github.com/DGameGT/mashadev-cli/pull/19539)
|
|
56
|
+
* Changelog for v0.32.0-preview.0 by @gemini-cli-robot in
|
|
57
|
+
[#20627](https://github.com/DGameGT/mashadev-cli/pull/20627)
|
|
58
|
+
* fix: acp/zed race condition between MCP initialisation and prompt by
|
|
59
|
+
@kartikangiras in
|
|
60
|
+
[#20205](https://github.com/DGameGT/mashadev-cli/pull/20205)
|
|
61
|
+
* fix(cli): reset themeManager between tests to ensure isolation by
|
|
62
|
+
@NTaylorMullen in
|
|
63
|
+
[#20598](https://github.com/DGameGT/mashadev-cli/pull/20598)
|
|
64
|
+
* refactor(core): Extract tool parameter names as constants by @SandyTao520 in
|
|
65
|
+
[#20460](https://github.com/DGameGT/mashadev-cli/pull/20460)
|
|
66
|
+
* fix(cli): resolve autoThemeSwitching when background hasn't changed but theme
|
|
67
|
+
mismatches by @sehoon38 in
|
|
68
|
+
[#20706](https://github.com/DGameGT/mashadev-cli/pull/20706)
|
|
69
|
+
* feat(skills): add github-issue-creator skill by @sehoon38 in
|
|
70
|
+
[#20709](https://github.com/DGameGT/mashadev-cli/pull/20709)
|
|
71
|
+
* fix(cli): allow sub-agent confirmation requests in UI while preventing
|
|
72
|
+
background flicker by @abhipatel12 in
|
|
73
|
+
[#20722](https://github.com/DGameGT/mashadev-cli/pull/20722)
|
|
74
|
+
* Merge User and Agent Card Descriptions #20849 by @adamfweidman in
|
|
75
|
+
[#20850](https://github.com/DGameGT/mashadev-cli/pull/20850)
|
|
76
|
+
* fix(core): reduce LLM-based loop detection false positives by @SandyTao520 in
|
|
77
|
+
[#20701](https://github.com/DGameGT/mashadev-cli/pull/20701)
|
|
78
|
+
* fix(plan): deflake plan mode integration tests by @Adib234 in
|
|
79
|
+
[#20477](https://github.com/DGameGT/mashadev-cli/pull/20477)
|
|
80
|
+
* Add /unassign support by @scidomino in
|
|
81
|
+
[#20864](https://github.com/DGameGT/mashadev-cli/pull/20864)
|
|
82
|
+
* feat(core): implement HTTP authentication support for A2A remote agents by
|
|
83
|
+
@SandyTao520 in
|
|
84
|
+
[#20510](https://github.com/DGameGT/mashadev-cli/pull/20510)
|
|
85
|
+
* feat(core): centralize read_file limits and update gemini-3 description by
|
|
86
|
+
@aishaneeshah in
|
|
87
|
+
[#20619](https://github.com/DGameGT/mashadev-cli/pull/20619)
|
|
88
|
+
* Do not block CI on evals by @gundermanc in
|
|
89
|
+
[#20870](https://github.com/DGameGT/mashadev-cli/pull/20870)
|
|
90
|
+
* document node limitation for shift+tab by @scidomino in
|
|
91
|
+
[#20877](https://github.com/DGameGT/mashadev-cli/pull/20877)
|
|
92
|
+
* Add install as an option when extension is selected. by @DavidAPierce in
|
|
93
|
+
[#20358](https://github.com/DGameGT/mashadev-cli/pull/20358)
|
|
94
|
+
* Update CODEOWNERS for README.md reviewers by @g-samroberts in
|
|
95
|
+
[#20860](https://github.com/DGameGT/mashadev-cli/pull/20860)
|
|
96
|
+
* feat(core): truncate large MCP tool output by @SandyTao520 in
|
|
97
|
+
[#19365](https://github.com/DGameGT/mashadev-cli/pull/19365)
|
|
98
|
+
* Subagent activity UX. by @gundermanc in
|
|
99
|
+
[#17570](https://github.com/DGameGT/mashadev-cli/pull/17570)
|
|
100
|
+
* style(cli) : Dialog pattern for /hooks Command by @AbdulTawabJuly in
|
|
101
|
+
[#17930](https://github.com/DGameGT/mashadev-cli/pull/17930)
|
|
102
|
+
* feat: redesign header to be compact with ASCII icon by @keithguerin in
|
|
103
|
+
[#18713](https://github.com/DGameGT/mashadev-cli/pull/18713)
|
|
104
|
+
* fix(core): ensure subagents use qualified MCP tool names by @abhipatel12 in
|
|
105
|
+
[#20801](https://github.com/DGameGT/mashadev-cli/pull/20801)
|
|
106
|
+
* feat(core): support authenticated A2A agent card discovery by @SandyTao520 in
|
|
107
|
+
[#20622](https://github.com/DGameGT/mashadev-cli/pull/20622)
|
|
108
|
+
* refactor(cli): fully remove React anti patterns, improve type safety and fix
|
|
109
|
+
UX oversights in SettingsDialog.tsx by @psinha40898 in
|
|
110
|
+
[#18963](https://github.com/DGameGT/mashadev-cli/pull/18963)
|
|
111
|
+
* Adding MCPOAuthProvider implementing the MCPSDK OAuthClientProvider by
|
|
112
|
+
@Nayana-Parameswarappa in
|
|
113
|
+
[#20121](https://github.com/DGameGT/mashadev-cli/pull/20121)
|
|
114
|
+
* feat(core): add tool name validation in TOML policy files by @allenhutchison
|
|
115
|
+
in [#19281](https://github.com/DGameGT/mashadev-cli/pull/19281)
|
|
116
|
+
* docs: fix broken markdown links in main README.md by @Hamdanbinhashim in
|
|
117
|
+
[#20300](https://github.com/DGameGT/mashadev-cli/pull/20300)
|
|
118
|
+
* refactor(core): replace manual syncPlanModeTools with declarative policy rules
|
|
119
|
+
by @jerop in [#20596](https://github.com/DGameGT/mashadev-cli/pull/20596)
|
|
120
|
+
* fix(core): increase default headers timeout to 5 minutes by @gundermanc in
|
|
121
|
+
[#20890](https://github.com/DGameGT/mashadev-cli/pull/20890)
|
|
122
|
+
* feat(admin): enable 30 day default retention for chat history & remove warning
|
|
123
|
+
by @skeshive in
|
|
124
|
+
[#20853](https://github.com/DGameGT/mashadev-cli/pull/20853)
|
|
125
|
+
* feat(plan): support annotating plans with feedback for iteration by @Adib234
|
|
126
|
+
in [#20876](https://github.com/DGameGT/mashadev-cli/pull/20876)
|
|
127
|
+
* Add some dos and don'ts to behavioral evals README. by @gundermanc in
|
|
128
|
+
[#20629](https://github.com/DGameGT/mashadev-cli/pull/20629)
|
|
129
|
+
* fix(core): skip telemetry logging for AbortError exceptions by @yunaseoul in
|
|
130
|
+
[#19477](https://github.com/DGameGT/mashadev-cli/pull/19477)
|
|
131
|
+
* fix(core): restrict "System: Please continue" invalid stream retry to Gemini 2
|
|
132
|
+
models by @SandyTao520 in
|
|
133
|
+
[#20897](https://github.com/DGameGT/mashadev-cli/pull/20897)
|
|
134
|
+
* ci(evals): only run evals in CI if prompts or tools changed by @gundermanc in
|
|
135
|
+
[#20898](https://github.com/DGameGT/mashadev-cli/pull/20898)
|
|
136
|
+
* Build binary by @aswinashok44 in
|
|
137
|
+
[#18933](https://github.com/DGameGT/mashadev-cli/pull/18933)
|
|
138
|
+
* Code review fixes as a pr by @jacob314 in
|
|
139
|
+
[#20612](https://github.com/DGameGT/mashadev-cli/pull/20612)
|
|
140
|
+
* fix(ci): handle empty APP_ID in stale PR closer by @bdmorgan in
|
|
141
|
+
[#20919](https://github.com/DGameGT/mashadev-cli/pull/20919)
|
|
142
|
+
* feat(cli): invert context window display to show usage by @keithguerin in
|
|
143
|
+
[#20071](https://github.com/DGameGT/mashadev-cli/pull/20071)
|
|
144
|
+
* fix(plan): clean up session directories and plans on deletion by @jerop in
|
|
145
|
+
[#20914](https://github.com/DGameGT/mashadev-cli/pull/20914)
|
|
146
|
+
* fix(core): enforce optionality for API response fields in code_assist by
|
|
147
|
+
@sehoon38 in [#20714](https://github.com/DGameGT/mashadev-cli/pull/20714)
|
|
148
|
+
* feat(extensions): add support for plan directory in extension manifest by
|
|
149
|
+
@mahimashanware in
|
|
150
|
+
[#20354](https://github.com/DGameGT/mashadev-cli/pull/20354)
|
|
151
|
+
* feat(plan): enable built-in research subagents in plan mode by @Adib234 in
|
|
152
|
+
[#20972](https://github.com/DGameGT/mashadev-cli/pull/20972)
|
|
153
|
+
* feat(agents): directly indicate auth required state by @adamfweidman in
|
|
154
|
+
[#20986](https://github.com/DGameGT/mashadev-cli/pull/20986)
|
|
155
|
+
* fix(cli): wait for background auto-update before relaunching by @scidomino in
|
|
156
|
+
[#20904](https://github.com/DGameGT/mashadev-cli/pull/20904)
|
|
157
|
+
* fix: pre-load @scripts/copy_files.js references from external editor prompts
|
|
158
|
+
by @kartikangiras in
|
|
159
|
+
[#20963](https://github.com/DGameGT/mashadev-cli/pull/20963)
|
|
160
|
+
* feat(evals): add behavioral evals for ask_user tool by @Adib234 in
|
|
161
|
+
[#20620](https://github.com/DGameGT/mashadev-cli/pull/20620)
|
|
162
|
+
* refactor common settings logic for skills,agents by @ishaanxgupta in
|
|
163
|
+
[#17490](https://github.com/DGameGT/mashadev-cli/pull/17490)
|
|
164
|
+
* Update docs-writer skill with new resource by @g-samroberts in
|
|
165
|
+
[#20917](https://github.com/DGameGT/mashadev-cli/pull/20917)
|
|
166
|
+
* fix(cli): pin clipboardy to ~5.2.x by @scidomino in
|
|
167
|
+
[#21009](https://github.com/DGameGT/mashadev-cli/pull/21009)
|
|
168
|
+
* feat: Implement slash command handling in ACP for
|
|
169
|
+
`/memory`,`/init`,`/extensions` and `/restore` by @sripasg in
|
|
170
|
+
[#20528](https://github.com/DGameGT/mashadev-cli/pull/20528)
|
|
171
|
+
* Docs/add hooks reference by @AadithyaAle in
|
|
172
|
+
[#20961](https://github.com/DGameGT/mashadev-cli/pull/20961)
|
|
173
|
+
* feat(plan): add copy subcommand to plan (#20491) by @ruomengz in
|
|
174
|
+
[#20988](https://github.com/DGameGT/mashadev-cli/pull/20988)
|
|
175
|
+
* fix(core): sanitize and length-check MCP tool qualified names by @abhipatel12
|
|
176
|
+
in [#20987](https://github.com/DGameGT/mashadev-cli/pull/20987)
|
|
177
|
+
* Format the quota/limit style guide. by @g-samroberts in
|
|
178
|
+
[#21017](https://github.com/DGameGT/mashadev-cli/pull/21017)
|
|
179
|
+
* fix(core): send shell output to model on cancel by @devr0306 in
|
|
180
|
+
[#20501](https://github.com/DGameGT/mashadev-cli/pull/20501)
|
|
181
|
+
* remove hardcoded tiername when missing tier by @sehoon38 in
|
|
182
|
+
[#21022](https://github.com/DGameGT/mashadev-cli/pull/21022)
|
|
183
|
+
* feat(acp): add set models interface by @skeshive in
|
|
184
|
+
[#20991](https://github.com/DGameGT/mashadev-cli/pull/20991)
|
|
185
|
+
|
|
186
|
+
**Full Changelog**:
|
|
187
|
+
https://github.com/DGameGT/mashadev-cli/compare/v0.32.0-preview.0...v0.33.0-preview.1
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# Checkpointing
|
|
2
|
+
|
|
3
|
+
The Gemini CLI includes a Checkpointing feature that automatically saves a
|
|
4
|
+
snapshot of your project's state before any file modifications are made by
|
|
5
|
+
AI-powered tools. This lets you safely experiment with and apply code changes,
|
|
6
|
+
knowing you can instantly revert back to the state before the tool was run.
|
|
7
|
+
|
|
8
|
+
## How it works
|
|
9
|
+
|
|
10
|
+
When you approve a tool that modifies the file system (like `write_file` or
|
|
11
|
+
`replace`), the CLI automatically creates a "checkpoint." This checkpoint
|
|
12
|
+
includes:
|
|
13
|
+
|
|
14
|
+
1. **A Git snapshot:** A commit is made in a special, shadow Git repository
|
|
15
|
+
located in your home directory (`~/.gemini/history/<project_hash>`). This
|
|
16
|
+
snapshot captures the complete state of your project files at that moment.
|
|
17
|
+
It does **not** interfere with your own project's Git repository.
|
|
18
|
+
2. **Conversation history:** The entire conversation you've had with the agent
|
|
19
|
+
up to that point is saved.
|
|
20
|
+
3. **The tool call:** The specific tool call that was about to be executed is
|
|
21
|
+
also stored.
|
|
22
|
+
|
|
23
|
+
If you want to undo the change or simply go back, you can use the `/restore`
|
|
24
|
+
command. Restoring a checkpoint will:
|
|
25
|
+
|
|
26
|
+
- Revert all files in your project to the state captured in the snapshot.
|
|
27
|
+
- Restore the conversation history in the CLI.
|
|
28
|
+
- Re-propose the original tool call, allowing you to run it again, modify it, or
|
|
29
|
+
simply ignore it.
|
|
30
|
+
|
|
31
|
+
All checkpoint data, including the Git snapshot and conversation history, is
|
|
32
|
+
stored locally on your machine. The Git snapshot is stored in the shadow
|
|
33
|
+
repository while the conversation history and tool calls are saved in a JSON
|
|
34
|
+
file in your project's temporary directory, typically located at
|
|
35
|
+
`~/.gemini/tmp/<project_hash>/checkpoints`.
|
|
36
|
+
|
|
37
|
+
## Enabling the feature
|
|
38
|
+
|
|
39
|
+
The Checkpointing feature is disabled by default. To enable it, you need to edit
|
|
40
|
+
your `settings.json` file.
|
|
41
|
+
|
|
42
|
+
> **Note:** The `--checkpointing` command-line flag was removed in version
|
|
43
|
+
> 0.11.0. Checkpointing can now only be enabled through the `settings.json`
|
|
44
|
+
> configuration file.
|
|
45
|
+
|
|
46
|
+
Add the following key to your `settings.json`:
|
|
47
|
+
|
|
48
|
+
```json
|
|
49
|
+
{
|
|
50
|
+
"general": {
|
|
51
|
+
"checkpointing": {
|
|
52
|
+
"enabled": true
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
## Using the `/restore` command
|
|
59
|
+
|
|
60
|
+
Once enabled, checkpoints are created automatically. To manage them, you use the
|
|
61
|
+
`/restore` command.
|
|
62
|
+
|
|
63
|
+
### List available checkpoints
|
|
64
|
+
|
|
65
|
+
To see a list of all saved checkpoints for the current project, simply run:
|
|
66
|
+
|
|
67
|
+
```
|
|
68
|
+
/restore
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
The CLI will display a list of available checkpoint files. These file names are
|
|
72
|
+
typically composed of a timestamp, the name of the file being modified, and the
|
|
73
|
+
name of the tool that was about to be run (e.g.,
|
|
74
|
+
`2025-06-22T10-00-00_000Z-my-file.txt-write_file`).
|
|
75
|
+
|
|
76
|
+
### Restore a specific checkpoint
|
|
77
|
+
|
|
78
|
+
To restore your project to a specific checkpoint, use the checkpoint file from
|
|
79
|
+
the list:
|
|
80
|
+
|
|
81
|
+
```
|
|
82
|
+
/restore <checkpoint_file>
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
For example:
|
|
86
|
+
|
|
87
|
+
```
|
|
88
|
+
/restore 2025-06-22T10-00-00_000Z-my-file.txt-write_file
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
After running the command, your files and conversation will be immediately
|
|
92
|
+
restored to the state they were in when the checkpoint was created, and the
|
|
93
|
+
original tool prompt will reappear.
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
# Gemini CLI cheatsheet
|
|
2
|
+
|
|
3
|
+
This page provides a reference for commonly used Gemini CLI commands, options,
|
|
4
|
+
and parameters.
|
|
5
|
+
|
|
6
|
+
## CLI commands
|
|
7
|
+
|
|
8
|
+
| Command | Description | Example |
|
|
9
|
+
| ---------------------------------- | ---------------------------------- | ------------------------------------------------------------ |
|
|
10
|
+
| `gemini` | Start interactive REPL | `gemini` |
|
|
11
|
+
| `gemini "query"` | Query non-interactively, then exit | `gemini "explain this project"` |
|
|
12
|
+
| `cat file \| gemini` | Process piped content | `cat logs.txt \| gemini`<br>`Get-Content logs.txt \| gemini` |
|
|
13
|
+
| `gemini -i "query"` | Execute and continue interactively | `gemini -i "What is the purpose of this project?"` |
|
|
14
|
+
| `gemini -r "latest"` | Continue most recent session | `gemini -r "latest"` |
|
|
15
|
+
| `gemini -r "latest" "query"` | Continue session with a new prompt | `gemini -r "latest" "Check for type errors"` |
|
|
16
|
+
| `gemini -r "<session-id>" "query"` | Resume session by ID | `gemini -r "abc123" "Finish this PR"` |
|
|
17
|
+
| `gemini update` | Update to latest version | `gemini update` |
|
|
18
|
+
| `gemini extensions` | Manage extensions | See [Extensions Management](#extensions-management) |
|
|
19
|
+
| `gemini mcp` | Configure MCP servers | See [MCP Server Management](#mcp-server-management) |
|
|
20
|
+
|
|
21
|
+
### Positional arguments
|
|
22
|
+
|
|
23
|
+
| Argument | Type | Description |
|
|
24
|
+
| -------- | ----------------- | ------------------------------------------------------------------------------------------------------------------ |
|
|
25
|
+
| `query` | string (variadic) | Positional prompt. Defaults to one-shot mode. Use `-i/--prompt-interactive` to execute and continue interactively. |
|
|
26
|
+
|
|
27
|
+
## CLI Options
|
|
28
|
+
|
|
29
|
+
| Option | Alias | Type | Default | Description |
|
|
30
|
+
| -------------------------------- | ----- | ------- | --------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
31
|
+
| `--debug` | `-d` | boolean | `false` | Run in debug mode with verbose logging |
|
|
32
|
+
| `--version` | `-v` | - | - | Show CLI version number and exit |
|
|
33
|
+
| `--help` | `-h` | - | - | Show help information |
|
|
34
|
+
| `--model` | `-m` | string | `auto` | Model to use. See [Model Selection](#model-selection) for available values. |
|
|
35
|
+
| `--prompt` | `-p` | string | - | Prompt text. Appended to stdin input if provided. **Deprecated:** Use positional arguments instead. |
|
|
36
|
+
| `--prompt-interactive` | `-i` | string | - | Execute prompt and continue in interactive mode |
|
|
37
|
+
| `--sandbox` | `-s` | boolean | `false` | Run in a sandboxed environment for safer execution |
|
|
38
|
+
| `--approval-mode` | - | string | `default` | Approval mode for tool execution. Choices: `default`, `auto_edit`, `yolo` |
|
|
39
|
+
| `--yolo` | `-y` | boolean | `false` | **Deprecated.** Auto-approve all actions. Use `--approval-mode=yolo` instead. |
|
|
40
|
+
| `--experimental-acp` | - | boolean | - | Start in ACP (Agent Code Pilot) mode. **Experimental feature.** |
|
|
41
|
+
| `--experimental-zed-integration` | - | boolean | - | Run in Zed editor integration mode. **Experimental feature.** |
|
|
42
|
+
| `--allowed-mcp-server-names` | - | array | - | Allowed MCP server names (comma-separated or multiple flags) |
|
|
43
|
+
| `--allowed-tools` | - | array | - | **Deprecated.** Use the [Policy Engine](../reference/policy-engine.md) instead. Tools that are allowed to run without confirmation (comma-separated or multiple flags) |
|
|
44
|
+
| `--extensions` | `-e` | array | - | List of extensions to use. If not provided, all extensions are enabled (comma-separated or multiple flags) |
|
|
45
|
+
| `--list-extensions` | `-l` | boolean | - | List all available extensions and exit |
|
|
46
|
+
| `--resume` | `-r` | string | - | Resume a previous session. Use `"latest"` for most recent or index number (e.g. `--resume 5`) |
|
|
47
|
+
| `--list-sessions` | - | boolean | - | List available sessions for the current project and exit |
|
|
48
|
+
| `--delete-session` | - | string | - | Delete a session by index number (use `--list-sessions` to see available sessions) |
|
|
49
|
+
| `--include-directories` | - | array | - | Additional directories to include in the workspace (comma-separated or multiple flags) |
|
|
50
|
+
| `--screen-reader` | - | boolean | - | Enable screen reader mode for accessibility |
|
|
51
|
+
| `--output-format` | `-o` | string | `text` | The format of the CLI output. Choices: `text`, `json`, `stream-json` |
|
|
52
|
+
|
|
53
|
+
## Model selection
|
|
54
|
+
|
|
55
|
+
The `--model` (or `-m`) flag lets you specify which Gemini model to use. You can
|
|
56
|
+
use either model aliases (user-friendly names) or concrete model names.
|
|
57
|
+
|
|
58
|
+
### Model aliases
|
|
59
|
+
|
|
60
|
+
These are convenient shortcuts that map to specific models:
|
|
61
|
+
|
|
62
|
+
| Alias | Resolves To | Description |
|
|
63
|
+
| ------------ | ------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------- |
|
|
64
|
+
| `auto` | `gemini-2.5-pro` or `gemini-3-pro-preview` | **Default.** Resolves to the preview model if preview features are enabled, otherwise resolves to the standard pro model. |
|
|
65
|
+
| `pro` | `gemini-2.5-pro` or `gemini-3-pro-preview` | For complex reasoning tasks. Uses preview model if enabled. |
|
|
66
|
+
| `flash` | `gemini-2.5-flash` | Fast, balanced model for most tasks. |
|
|
67
|
+
| `flash-lite` | `gemini-2.5-flash-lite` | Fastest model for simple tasks. |
|
|
68
|
+
|
|
69
|
+
## Extensions management
|
|
70
|
+
|
|
71
|
+
| Command | Description | Example |
|
|
72
|
+
| -------------------------------------------------- | -------------------------------------------- | ------------------------------------------------------------------------------ |
|
|
73
|
+
| `gemini extensions install <source>` | Install extension from Git URL or local path | `gemini extensions install https://github.com/user/my-extension` |
|
|
74
|
+
| `gemini extensions install <source> --ref <ref>` | Install from specific branch/tag/commit | `gemini extensions install https://github.com/user/my-extension --ref develop` |
|
|
75
|
+
| `gemini extensions install <source> --auto-update` | Install with auto-update enabled | `gemini extensions install https://github.com/user/my-extension --auto-update` |
|
|
76
|
+
| `gemini extensions uninstall <name>` | Uninstall one or more extensions | `gemini extensions uninstall my-extension` |
|
|
77
|
+
| `gemini extensions list` | List all installed extensions | `gemini extensions list` |
|
|
78
|
+
| `gemini extensions update <name>` | Update a specific extension | `gemini extensions update my-extension` |
|
|
79
|
+
| `gemini extensions update --all` | Update all extensions | `gemini extensions update --all` |
|
|
80
|
+
| `gemini extensions enable <name>` | Enable an extension | `gemini extensions enable my-extension` |
|
|
81
|
+
| `gemini extensions disable <name>` | Disable an extension | `gemini extensions disable my-extension` |
|
|
82
|
+
| `gemini extensions link <path>` | Link local extension for development | `gemini extensions link /path/to/extension` |
|
|
83
|
+
| `gemini extensions new <path>` | Create new extension from template | `gemini extensions new ./my-extension` |
|
|
84
|
+
| `gemini extensions validate <path>` | Validate extension structure | `gemini extensions validate ./my-extension` |
|
|
85
|
+
|
|
86
|
+
See [Extensions Documentation](../extensions/index.md) for more details.
|
|
87
|
+
|
|
88
|
+
## MCP server management
|
|
89
|
+
|
|
90
|
+
| Command | Description | Example |
|
|
91
|
+
| ------------------------------------------------------------- | ------------------------------- | ---------------------------------------------------------------------------------------------------- |
|
|
92
|
+
| `gemini mcp add <name> <command>` | Add stdio-based MCP server | `gemini mcp add github npx -y @modelcontextprotocol/server-github` |
|
|
93
|
+
| `gemini mcp add <name> <url> --transport http` | Add HTTP-based MCP server | `gemini mcp add api-server http://localhost:3000 --transport http` |
|
|
94
|
+
| `gemini mcp add <name> <command> --env KEY=value` | Add with environment variables | `gemini mcp add slack node server.js --env SLACK_TOKEN=xoxb-xxx` |
|
|
95
|
+
| `gemini mcp add <name> <command> --scope user` | Add with user scope | `gemini mcp add db node db-server.js --scope user` |
|
|
96
|
+
| `gemini mcp add <name> <command> --include-tools tool1,tool2` | Add with specific tools | `gemini mcp add github npx -y @modelcontextprotocol/server-github --include-tools list_repos,get_pr` |
|
|
97
|
+
| `gemini mcp remove <name>` | Remove an MCP server | `gemini mcp remove github` |
|
|
98
|
+
| `gemini mcp list` | List all configured MCP servers | `gemini mcp list` |
|
|
99
|
+
|
|
100
|
+
See [MCP Server Integration](../tools/mcp-server.md) for more details.
|
|
101
|
+
|
|
102
|
+
## Skills management
|
|
103
|
+
|
|
104
|
+
| Command | Description | Example |
|
|
105
|
+
| -------------------------------- | ------------------------------------- | ------------------------------------------------- |
|
|
106
|
+
| `gemini skills list` | List all discovered agent skills | `gemini skills list` |
|
|
107
|
+
| `gemini skills install <source>` | Install skill from Git, path, or file | `gemini skills install https://github.com/u/repo` |
|
|
108
|
+
| `gemini skills link <path>` | Link local agent skills via symlink | `gemini skills link /path/to/my-skills` |
|
|
109
|
+
| `gemini skills uninstall <name>` | Uninstall an agent skill | `gemini skills uninstall my-skill` |
|
|
110
|
+
| `gemini skills enable <name>` | Enable an agent skill | `gemini skills enable my-skill` |
|
|
111
|
+
| `gemini skills disable <name>` | Disable an agent skill | `gemini skills disable my-skill` |
|
|
112
|
+
| `gemini skills enable --all` | Enable all skills | `gemini skills enable --all` |
|
|
113
|
+
| `gemini skills disable --all` | Disable all skills | `gemini skills disable --all` |
|
|
114
|
+
|
|
115
|
+
See [Agent Skills Documentation](./skills.md) for more details.
|