Abhijit Balaji
c73e47bbbe
feat(policy): implement project policy integrity verification
...
Adds a security mechanism to detect and prompt for confirmation when project-level policies are added or modified. This prevents unauthorized policy changes from being applied silently.
- PolicyIntegrityManager calculates and persists policy directory hashes.
- Config integrates integrity checks during startup.
- PolicyUpdateDialog prompts users in interactive mode.
- --accept-changed-policies flag supports non-interactive workflows.
- toml-loader refactored to expose file reading logic.
2026-02-18 15:19:44 -08:00
Abhijit Balaji
53511d6ed4
fix: Update test expectations to match createPolicyEngineConfig signature changes from rebase
2026-02-18 15:19:01 -08:00
Abhijit Balaji
3a24b0c975
feat(policy): change priority hierarchy to Admin > User > Project > Default
...
Updates the policy engine to prioritize User policies over Project-specific policies.
This change is a security measure to ensure that users maintain control over their
environment and are not inadvertently compromised by policies defined in a cloned
repository.
Key Changes:
- Swapped Tier 2 (now Project) and Tier 3 (now User).
- Updated documentation to reflect the new hierarchy.
- Updated all built-in policy TOML files with correct tier information.
- Adjusted all tests and integration test expectations to match new priority values.
2026-02-18 15:19:00 -08:00
Abhijit Balaji
322de4309d
feat(policy): implement project-level policy support
...
Introduces a new 'Project' tier (Tier 3) for policies, allowing users to define
project-specific rules in `$PROJECT_ROOT/.gemini/policies`.
Key Changes:
- **Core**: Added `PROJECT_POLICY_TIER` (3) and bumped `ADMIN_POLICY_TIER` to 4.
Updated `getPolicyDirectories`, `getPolicyTier`, and `createPolicyEngineConfig` to handle
project-level policy directories.
- **Storage**: Added `getProjectPoliciesDir()` to the `Storage` class.
- **CLI**: Updated `loadCliConfig` to securely load project policies.
Crucially, project policies are **only loaded if the workspace is trusted**.
- **Tests**: Added comprehensive tests for both core policy logic and CLI integration,
verifying priority hierarchy (Admin > Project > User > Default) and trust checks.
This hierarchy ensures that project-specific rules override user defaults but are still
subject to system-wide admin enforcement.
2026-02-18 15:18:59 -08:00
Shreya Keshive
261788cf91
feat(admin): Admin settings should only apply if adminControlsApplicable = true and fetch errors should be fatal ( #19453 )
2026-02-18 22:54:07 +00:00
Jasmeet Bhatia
012392ad0a
feat(cli): include /dir add directories in @ autocomplete suggestions ( #19246 )
2026-02-18 22:38:35 +00:00
N. Taylor Mullen
8910b2720f
fix(cli): disable auto-completion on Shift+Tab to preserve mode cycling ( #19451 )
2026-02-18 22:08:38 +00:00
joshualitt
87f5dd15d6
feat(core): experimental in-progress steering hints (2 of 2) ( #19307 )
2026-02-18 22:05:50 +00:00
skyvanguard
178388d931
fix(cli): treat unknown slash commands as regular input instead of showing error ( #17393 )
...
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com >
2026-02-18 21:52:51 +00:00
imadraude
e7f97dfa44
fix(ui): move margin from top to bottom in ToolGroupMessage ( #17198 )
2026-02-18 21:51:03 +00:00
N. Taylor Mullen
14415316c0
feat(core): add support for MCP progress updates ( #19046 )
2026-02-18 20:46:12 +00:00
Dev Randalpura
3099df1b7c
fix(ui): preventing empty history items from being added ( #19014 )
2026-02-18 12:53:06 -08:00
Dmitry Lyalin
78de533c48
feat(cli): add macOS run-event notifications (interactive only) ( #19056 )
...
Co-authored-by: Tommaso Sciortino <sciortino@gmail.com >
2026-02-18 20:28:17 +00:00
Sandy Tao
65ad78b9c0
feat(devtools): migrate devtools package into monorepo ( #18936 )
2026-02-18 20:04:02 +00:00
christine betts
858918fe31
Add explicit color-convert dependency ( #19460 )
2026-02-18 19:55:21 +00:00
Adib234
9255e69abb
fix(plan): allow safe fallback when experiment setting for plan is not enabled but approval mode at startup is plan ( #19439 )
...
Co-authored-by: Jerop Kipruto <jerop@google.com >
2026-02-18 19:54:04 +00:00
dependabot[bot]
e32111e609
chore(deps): bump tar from 7.5.7 to 7.5.8 ( #19367 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-18 19:49:46 +00:00
Sandy Tao
2c1d6f8029
fix(cli): support legacy onConfirm callback in ToolActionsContext ( #19369 )
2026-02-18 19:46:09 +00:00
Tommaso Sciortino
5f6b7c0158
feat(cli): add Alt+D for forward word deletion ( #19300 )
2026-02-18 09:19:26 -08:00
Mag1ck
65e0043fbf
feat(cli): add gemini --resume hint on exit ( #16285 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Jack Wotherspoon <jackwoth@google.com >
2026-02-18 15:54:01 +00:00
Jack Wotherspoon
22763c98b0
fix: optimize height calculations for ask_user dialog ( #19017 )
2026-02-18 15:52:30 +00:00
Jacob Richman
fe65d562de
Fix bottom border color ( #19266 )
2026-02-18 02:41:43 +00:00
joshualitt
55c628e967
feat(core): experimental in-progress steering hints (1 of 3) ( #19008 )
2026-02-17 22:59:33 +00:00
Kevin Ramdass
b56361559d
feat(config): add setting to make directory tree context configurable ( #19053 )
2026-02-17 19:19:26 +00:00
Jerop Kipruto
fb32db5cd6
feat(cli): remove Plan Mode from rotation when actively working ( #19262 )
2026-02-17 17:36:59 +00:00
Yuna Seol
8aca3068cf
feat: add role-specific statistics to telemetry and UI (cont. #15234 ) ( #18824 )
...
Co-authored-by: Yuna Seol <yunaseol@google.com >
2026-02-17 17:32:30 +00:00
Jacob Richman
366f1df120
refactor(cli): code review cleanup fix for tab+tab ( #18967 )
2026-02-17 15:16:37 +00:00
Jerop Kipruto
e5ff2023ad
feat(cli): update approval mode cycle order ( #19254 )
2026-02-17 15:13:27 +00:00
Ramón Medrano Llamas
b38e0984b9
Add Solarized Dark and Solarized Light themes ( #19064 )
...
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2026-02-16 22:01:52 +00:00
Sehoon Shon
ddd28f6431
chore(ui): remove outdated tip about model routing ( #19226 )
2026-02-16 20:50:13 +00:00
Jacob Richman
6ed1878c5f
refactor: consolidate development rules and add cli guidelines ( #19214 )
2026-02-16 20:48:34 +00:00
Krushna Korade
80f0cbd798
Add refresh/reload aliases to slash command subcommands ( #19218 )
...
Co-authored-by: Jack Wotherspoon <jackwoth@google.com >
2026-02-16 20:31:03 +00:00
Sehoon Shon
7d165e77f0
feat(cli): refactor model command to support set and manage subcommands ( #19221 )
2026-02-16 20:10:34 +00:00
kevinjwang1
c57a28f48a
Disable workspace settings when starting GCLI in the home directory. ( #19034 )
2026-02-16 20:10:28 +00:00
Jack Wotherspoon
a83ca11035
docs: custom themes in extensions ( #19219 )
2026-02-16 19:58:48 +00:00
Sehoon Shon
15ef1cd797
feat(cli): handle invalid model names in useQuotaAndFallback ( #19222 )
2026-02-16 19:55:17 +00:00
Sehoon Shon
bb7bb11736
feat(cli): add loading state to new agents notification ( #19190 )
2026-02-16 06:43:25 +00:00
Srinath Padmanabhan
78130d4bb7
fix(cli): wrap terminal capability queries in hidden sequence ( #19080 )
...
Co-authored-by: Srinath Padmanabhan <srithreepo@google.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-02-15 04:08:13 +00:00
Krushna Korade
bcd547baf6
feat: add /commands reload to refresh custom TOML commands ( #19078 )
2026-02-14 20:25:30 +00:00
Jacob Richman
401bef1d2b
bug(ui) fix flicker refreshing background color ( #19041 )
2026-02-13 23:33:02 +00:00
Jerop Kipruto
9df604b01b
feat(plan): hide plan write and edit operations on plans in Plan Mode ( #19012 )
2026-02-13 23:15:21 +00:00
Shreya Keshive
4e1b3b5f57
feat(cleanup): enable 30-day session retention by default ( #18854 )
2026-02-13 22:57:55 +00:00
Jerop Kipruto
f87468c644
refactor: use CoreToolCallStatus in the the history data model ( #19033 )
2026-02-13 22:20:14 +00:00
Tommaso Sciortino
e7e4c68c5c
fix windows escaping (and broken tests) ( #19011 )
2026-02-13 22:19:08 +00:00
Adib234
f460ab841d
fix(plan): persist the approval mode in UI even when agent is thinking ( #18955 )
2026-02-13 20:02:39 +00:00
Jerop Kipruto
60be42f095
refactor(core): adopt CoreToolCallStatus enum for type safety ( #18998 )
2026-02-13 16:27:20 +00:00
Adib234
d5dfae6bbf
fix(plan): make question type required in AskUser tool ( #18959 )
2026-02-13 15:03:52 +00:00
Michael Bleigh
bed3eae0e1
feat(sdk): initial package bootstrap for SDK ( #18861 )
2026-02-13 06:08:27 +00:00
Tommaso Sciortino
d82f66973f
Fix drag and drop escaping ( #18965 )
2026-02-13 02:27:56 +00:00
Abhi
00f73b73bc
refactor(cli): finalize event-driven transition and remove interaction bridge ( #18569 )
2026-02-13 02:14:35 +00:00