Megha Bansal
61582678bf
Optimize and improve test coverage for cli/src/config ( #13485 )
2025-11-21 04:57:59 +00:00
Tommaso Sciortino
3332703fca
Make compression threshold editable in the UI. ( #12317 )
2025-10-30 23:03:58 +00:00
christine betts
7e987113a2
Add support for sensitive keychain-stored per-extension settings ( #11953 )
2025-10-28 18:48:50 +00:00
Jacob MacDonald
1b302deeff
Add ExtensionLoader interface, use that on Config object ( #12116 )
2025-10-28 16:04:30 +00:00
Abhi
d91484eb4d
Fix tests ( #11998 )
2025-10-24 21:49:42 +00:00
Jacob MacDonald
c4c0c0d182
Create ExtensionManager class which manages all high level extension tasks ( #11667 )
2025-10-23 18:39:36 +00:00
Abhi
3a501196f0
feat(ux): Surface internal errors via unified event system ( #11803 )
2025-10-23 18:14:14 +00:00
Adib234
6d75005afc
Add setting to disable YOLO mode ( #11609 )
...
Co-authored-by: Shreya Keshive <shreyakeshive@google.com >
2025-10-22 18:57:10 +00:00
Abhi
b364f37655
refactor(logging): Centralize console logging with debugLogger ( #11590 )
2025-10-21 20:35:22 +00:00
Zack Birkenbuel
cc7e1472f9
Pass whole extensions rather than just context files ( #10910 )
...
Co-authored-by: Jake Macdonald <jakemac@google.com >
2025-10-20 23:15:23 +00:00
Sandy Tao
dd42893df7
fix(config): Enable type checking for config tests ( #11436 )
2025-10-18 05:39:53 +00:00
Dongin Kim(Terry)
518caae62e
chore: Extract '.gemini' to GEMINI_DIR constant ( #10540 )
...
Co-authored-by: Richie Foreman <richie.foreman@gmail.com >
2025-10-13 17:31:39 +00:00
Jacob MacDonald
ed37b7c5e7
fix some isWorkspaceTrusted mocks ( #10836 )
2025-10-09 22:05:54 +00:00
shrutip90
6c559e2338
feat(cli): Add permissions command to modify trust settings ( #8792 )
2025-09-22 18:45:02 +00:00
JAYADITYA
92543da28c
fix(config):Reviving CustomWitty feature ( #8432 )
...
Co-authored-by: Richie Foreman <richie.foreman@gmail.com >
Co-authored-by: Arya Gummadi <aryagummadi@google.com >
2025-09-22 15:30:11 +00:00
christine betts
459de383b2
Update extension enablement logic ( #8544 )
2025-09-16 19:51:46 +00:00
Jerop Kipruto
514767c88b
Structured JSON Output ( #8119 )
2025-09-10 20:19:47 +00:00
Spencer Schrock
ff705ec286
fix(settings): use union merge for excludeTools ( #7842 )
2025-09-10 18:28:29 +00:00
shrutip90
036f3a7f9c
fix: Remove special handling for folderTrust flag ( #7755 )
2025-09-05 16:10:15 +00:00
matt korwel
deda119bea
Takethree ( #7740 )
...
Co-authored-by: gemini-cli-robot <gemini-cli-robot@google.com >
Co-authored-by: Gal Zahavi <38544478+galz10@users.noreply.github.com >
Co-authored-by: christine betts <chrstn@uw.edu >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Bryan Morgan <bryanmorgan@google.com >
Co-authored-by: anthony bushong <agmsb@users.noreply.github.com >
2025-09-04 19:27:51 +00:00
Gal Zahavi
3885f7b6ae
refactor(setting): Improve settings migration and tool loading ( #7445 )
...
Co-authored-by: psinha40898 <pyushsinha20@gmail.com >
2025-09-04 02:23:25 +00:00
Tommaso Sciortino
e6e60861e5
Move settings error throwing to loadSettings ( #7605 )
2025-09-03 17:41:53 +00:00
Billy Biggs
f331e5d5b6
Merge general settings from different configuration sources ( #7528 )
2025-09-01 00:44:16 +00:00
Andrew Garrett
c9e1265de0
Fix backwards-compatibility for allowedTools -> tools.allowed ( #7384 )
2025-08-29 15:59:20 +00:00
Richie Foreman
ecdea602a3
fix(trust): Refuse to load from untrusted process.cwd() sources; Add tests ( #7323 )
2025-08-28 19:16:07 +00:00
Gal Zahavi
f22263c9e8
refactor: refactor settings to a nested structure ( #7244 )
2025-08-28 01:39:45 +00:00
christine betts
c79f145b37
Add prompt to migrate workspace extensions ( #7065 )
...
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-08-27 00:43:02 +00:00
Pascal Birchler
ee4feea006
chore: consistently import node modules with prefix ( #3013 )
...
Co-authored-by: N. Taylor Mullen <ntaylormullen@google.com >
2025-08-25 20:11:27 +00:00
Billy Biggs
04953d60c1
Introduce system defaults (vs system overrides) ( #6724 )
2025-08-25 04:21:22 +00:00
shrutip90
ba5309c405
Force restart on trust level change to reload settings ( #6713 )
2025-08-21 07:38:12 +00:00
Jacob Richman
52e340a11b
Revert "Ignore workspace settings for untrusted folders" ( #6672 )
2025-08-20 19:49:15 +00:00
shrutip90
d250293c2e
Ignore workspace settings for untrusted folders ( #6606 )
2025-08-20 04:20:41 +00:00
HugoMurillo
b9cf1ea3ce
fix( #5605 ): .env file loaded after settings are parsed ( #6494 )
2025-08-19 19:07:42 +00:00
Richie Foreman
2998f27f70
chore(compiler): Enable strict property access TS compiler flag. ( #6255 )
...
Co-authored-by: Jacob Richman <jacob314@gmail.com >
2025-08-17 16:43:21 +00:00
shrutip90
53f8617b24
Add new folderTrust setting that the users can enable or disable ( #5798 )
2025-08-07 21:06:17 +00:00
Jacob MacDonald
6ae75c9f32
Add a context percentage threshold setting for auto compression ( #5721 )
2025-08-07 14:34:40 +00:00
Yuki Okita
5c8268b6f4
feat: Multi-Directory Workspace Support (part 3: configuration in settings.json) ( #5354 )
...
Co-authored-by: Allen Hutchison <adh@google.com >
2025-08-05 17:01:01 +00:00
Oleksandr Gotgelf
03ed37d0dc
fix: exclude DEBUG and DEBUG_MODE from project .env files by default ( #5289 )
...
Co-authored-by: Jacob Richman <jacob314@gmail.com >
2025-08-03 18:44:15 +00:00
TIRUMALASETTI PRANITH
15a1f1af9d
fix(config): Resolve duplicate config loading from home directory ( #5090 )
...
Co-authored-by: Allen Hutchison <adh@google.com >
Co-authored-by: Allen Hutchison <allen@hutchison.org >
2025-08-01 22:22:17 +00:00
joshualitt
67d16992cf
bug(cli): Prefer IPv4 dns resolution by default. ( #5338 )
2025-08-01 19:30:39 +00:00
christine betts
f95674e646
Add env var to configure system settings path ( #4339 )
2025-07-21 20:14:07 +00:00
Ali Al Jufairi
76b935d598
Feature custom themes logic ( #2639 )
...
Co-authored-by: Jacob Richman <jacob314@gmail.com >
2025-07-20 07:51:18 +00:00
christine betts
58f1aa6ceb
Add support for allowed/excluded MCP server names in settings ( #4135 )
...
Co-authored-by: Scott Densmore <scottdensmore@mac.com >
2025-07-15 20:45:24 +00:00
christine betts
da50a1eefb
Add system-wide settings config for administrators ( #3498 )
...
Co-authored-by: Jack Wotherspoon <jackwoth@google.com >
2025-07-09 21:16:42 +00:00
Noritaka Kobayashi
9ae2595bfd
refactor: remove unnecessary assertion ( #2579 )
2025-06-29 19:06:03 +00:00
owenofbrien
4cfab0a893
Clearcut logging - initial implementation ( #1274 )
...
Flag-guarded initial implementation of a clearcut logger to collect telemetry data and send it to Concord for dashboards, etc.
2025-06-22 14:26:48 +00:00
Jacob Richman
89aca349cf
Exit with an error message if parsing settings.json fails. ( #747 )
2025-06-06 09:56:45 -07:00
jerop
b4a6b16227
Test: Verify concatenated env var resolution in settings
...
Adds a test case to `settings.test.ts` to specifically verify
the correct resolution of multiple environment variables concatenated
within a single string value (e.g., ${HOST}:${PORT} ).
2025-06-06 11:47:37 -04:00
jerop
8c28250bb3
Refactor: Improve env var resolution in settings
...
Refactors the `resolveEnvVarsInObject` function in settings to
explicitly handle primitive types (null, undefined, boolean, number)
at the beginning of the function. This clarifies the logic for
subsequent string, array, and object processing.
2025-06-06 11:47:37 -04:00
jerop
4e9d365407
feat: Enable environment variable substitution in settings
...
This commit introduces the ability to use system environment variables
within the settings files (e.g., `settings.json`). Users can now
reference environment variables using the `${VAR_NAME}` syntax.
This enhancement improves security and flexibility, particularly
for configurations like MCP server settings, which often require
sensitive tokens.
Previously, to configure an MCP server, a token might be directly
embedded:
```json
"mcpServers": {
"github": {
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "pat_abc123"
}
// ...
}
}
```
With this change, the same configuration can securely reference an
environment variable:
```json
"mcpServers": {
"github": {
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_PERSONAL_ACCESS_TOKEN}"
}
// ...
}
}
```
This allows users to avoid storing secrets directly in configuration files.
2025-06-06 11:47:37 -04:00