Commit Graph

51 Commits

Author SHA1 Message Date
Tommaso Sciortino 10943138a0 Make compression threshold editable in the UI. (#12317) 2025-10-30 23:03:58 +00:00
christine betts d2e8d8afbb Add support for sensitive keychain-stored per-extension settings (#11953) 2025-10-28 18:48:50 +00:00
Jacob MacDonald 942b0520ad Add ExtensionLoader interface, use that on Config object (#12116) 2025-10-28 16:04:30 +00:00
Abhi d99f44b13e Fix tests (#11998) 2025-10-24 21:49:42 +00:00
Jacob MacDonald 8c9a0c1935 Create ExtensionManager class which manages all high level extension tasks (#11667) 2025-10-23 18:39:36 +00:00
Abhi 27b7279608 feat(ux): Surface internal errors via unified event system (#11803) 2025-10-23 18:14:14 +00:00
Adib234 1fd904d6c9 Add setting to disable YOLO mode (#11609)
Co-authored-by: Shreya Keshive <shreyakeshive@google.com>
2025-10-22 18:57:10 +00:00
Abhi a2fc45a492 refactor(logging): Centralize console logging with debugLogger (#11590) 2025-10-21 20:35:22 +00:00
Zack Birkenbuel a240ecefcd 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 6c4f408772 fix(config): Enable type checking for config tests (#11436) 2025-10-18 05:39:53 +00:00
Dongin Kim(Terry) 1470bae0d0 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 f0d796ada0 fix some isWorkspaceTrusted mocks (#10836) 2025-10-09 22:05:54 +00:00
shrutip90 5ece4a4656 feat(cli): Add permissions command to modify trust settings (#8792) 2025-09-22 18:45:02 +00:00
JAYADITYA 29e11eb719 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 68e96c178a Update extension enablement logic (#8544) 2025-09-16 19:51:46 +00:00
Jerop Kipruto d468caeaa9 Structured JSON Output (#8119) 2025-09-10 20:19:47 +00:00
Spencer Schrock 196435fe19 fix(settings): use union merge for excludeTools (#7842) 2025-09-10 18:28:29 +00:00
shrutip90 29e3a76a7e fix: Remove special handling for folderTrust flag (#7755) 2025-09-05 16:10:15 +00:00
matt korwel 96b6d3ac79 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 1798fafadc 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 ad539bcb87 Move settings error throwing to loadSettings (#7605) 2025-09-03 17:41:53 +00:00
Billy Biggs 1469d63e80 Merge general settings from different configuration sources (#7528) 2025-09-01 00:44:16 +00:00
Andrew Garrett 0957aa37c5 Fix backwards-compatibility for allowedTools -> tools.allowed (#7384) 2025-08-29 15:59:20 +00:00
Richie Foreman ee64b7bba3 fix(trust): Refuse to load from untrusted process.cwd() sources; Add tests (#7323) 2025-08-28 19:16:07 +00:00
Gal Zahavi 9ec0cc7d4e refactor: refactor settings to a nested structure (#7244) 2025-08-28 01:39:45 +00:00
christine betts 292ff3420d 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 42392f6308 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 e6740a9dba Introduce system defaults (vs system overrides) (#6724) 2025-08-25 04:21:22 +00:00
shrutip90 ee5f166f80 Force restart on trust level change to reload settings (#6713) 2025-08-21 07:38:12 +00:00
Jacob Richman fff44d3215 Revert "Ignore workspace settings for untrusted folders" (#6672) 2025-08-20 19:49:15 +00:00
shrutip90 c5901be9f7 Ignore workspace settings for untrusted folders (#6606) 2025-08-20 04:20:41 +00:00
HugoMurillo d1acc47688 fix(#5605): .env file loaded after settings are parsed (#6494) 2025-08-19 19:07:42 +00:00
Richie Foreman ddc9755b96 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 4a2db8165c Add new folderTrust setting that the users can enable or disable (#5798) 2025-08-07 21:06:17 +00:00
Jacob MacDonald 75fe262150 Add a context percentage threshold setting for auto compression (#5721) 2025-08-07 14:34:40 +00:00
Yuki Okita 06a37e148a 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 8e4b5757e3 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 0ac0852fbf 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 ec4ce2bcbb bug(cli): Prefer IPv4 dns resolution by default. (#5338) 2025-08-01 19:30:39 +00:00
christine betts 3e805aa753 Add env var to configure system settings path (#4339) 2025-07-21 20:14:07 +00:00
Ali Al Jufairi e4139e7a8a Feature custom themes logic (#2639)
Co-authored-by: Jacob Richman <jacob314@gmail.com>
2025-07-20 07:51:18 +00:00
christine betts 5024b5fb0b 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 fc7a56eba3 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 5a677bb558 refactor: remove unnecessary assertion (#2579) 2025-06-29 19:06:03 +00:00
owenofbrien a230beb945 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 92891c9325 Exit with an error message if parsing settings.json fails. (#747) 2025-06-06 09:56:45 -07:00
jerop 3b0156b993 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 b3ada973b1 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 afa72a00fa 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
Jerop Kipruto d0de44824f OpenTelemetry Integration & Telemetry Control Flag (#762) 2025-06-05 13:04:25 -07:00