Commit Graph

731 Commits

Author SHA1 Message Date
jerop
6fed4a26c0 feat(telemetry): Update API response in telemetry
Adds the text content of the API response to the  telemetry event. This provides more context for debugging and analysis without logging the entire, potentially large, response object.

- Adds an optional  field to the  type.
- Updates  to include the  field in the logged attributes.
- Modifies the  to extract the response text using  and pass it to the logger.
- Adds a new test file for the telemetry loggers, including tests for the  function to verify the new functionality.
2025-06-11 14:18:16 -04:00
Olcan
5deff6f420 fix proxy on cloudtops/linux and for older versions of docker, more robust start/stop and error reporting (#945) 2025-06-11 10:50:31 -07:00
jerop
47b87a05f1 refactor(telemetry): pass config object to telemetry functions
This commit refactors the telemetry system to pass a  object to various logging and metrics functions. This change centralizes configuration management within the telemetry system, making it more modular and easier to maintain.

The  constructor and various tool execution functions have been updated to accept the  object, which is then passed down to the telemetry functions. This eliminates the need to pass individual configuration values, such as , through multiple layers of the application.
2025-06-11 13:24:41 -04:00
Miguel Solorio
9f57f6e437 Allow themes to update gradient colors (#914) 2025-06-11 17:14:18 +00:00
Allen Hutchison
4c75318f81 feat(core): Create BFS file search utility (#903) 2025-06-11 09:21:23 -07:00
Olcan
bee780d64e do not auto-enable container sandboxing (fixing recently introduced bug) (#939) 2025-06-11 08:25:33 -07:00
jerop
1d55180091 update token usage with types 2025-06-11 10:38:07 -04:00
Anas Sulaiman
64ecb86fef add a unit test with multiple hunks for diff renderer 2025-06-11 09:47:11 -04:00
Anas Sulaiman
4323506f7f unify diff generation before and after an edit 2025-06-11 09:47:11 -04:00
Zach Sais
09ddf6eb71 fix version set for cli and slash commands (#892) 2025-06-11 08:25:26 -05:00
jerop
727b4075e9 update from metrics and logs prefix from gemini_code to gemini_cli 2025-06-11 01:28:26 -04:00
jerop
e8faf83c15 refactor: Centralize session ID generation and propagation 2025-06-11 01:18:40 -04:00
Tommaso Sciortino
1368f30b11 Register dependency added in PR:910 (#925) 2025-06-10 20:39:29 -07:00
Seth Troisi
8c5cc17f18 Remove unneeded mockRestore()s from tests (#919) 2025-06-10 20:32:00 -07:00
Olcan
4c213c2824 rename sandbox-exec as MacOS Seatbelt in footer (#921) 2025-06-10 18:35:00 -07:00
Tommaso Sciortino
e2ae6cef9d Remove warnings for old env var names. (#920) 2025-06-10 18:34:36 -07:00
Tommaso Sciortino
50ca47bdd4 Change yolo mode so it doesn't disable sandboxing. (#918) 2025-06-10 17:41:59 -07:00
jerop
36a3fbfee9 docs(telemetry): Refine OTEL Collector setup instructions
Standardizes on the  distribution for local and Google Cloud setups.

Restructures the guide to present Docker and standalone binary as clear, parallel options and makes the Google Cloud command more robust.
2025-06-10 20:04:05 -04:00
Seth Troisi
03e227aac5 Add [tag] to /save and /resume (#916) 2025-06-10 16:58:39 -07:00
cperry-goog
36f732221f Contributing guidelines (#901) 2025-06-10 16:56:29 -07:00
Seth Troisi
5d58f520ed logConversation
loadConversation

/resume

clean up for review
2025-06-10 16:14:42 -07:00
Tommaso Sciortino
93cd4e20ab Basic code assist support (#910) 2025-06-10 16:00:13 -07:00
Tommaso Sciortino
6a0f6f9f90 Allow simple extensions for registering MCPservers (#890) 2025-06-10 15:48:39 -07:00
jerop
6c92141127 update documentation for otel 2025-06-10 18:14:04 -04:00
Tolik Malibroda
8d0c9dc708 fix: Change sandbox network check command for docker (#907) 2025-06-11 00:13:36 +02:00
jerop
60e5299124 feat: enable gzip compression for otlp exporters 2025-06-10 17:30:50 -04:00
jerop
d220654cce docs(telemetry): improve telemetry documentation
This commit enhances the telemetry documentation with several key improvements for clarity and usability.

- Adds a prominent note clarifying that telemetry is currently incompatible with sandbox mode.
- Updates the example JSON configuration to explicitly include sandbox: false to prevent user confusion.
- Introduces a new Configurations section with instructions to create the  directory.
- Adds a new step for setting necessary environment variables for the Google Cloud setup.
- Makes the  command for Google Cloud more portable by using the  environment variable instead of a hardcoded path.
- Re-numbers the steps in the Google Cloud setup guide to maintain a logical flow.
2025-06-10 16:51:46 -04:00
Seth Troisi
6c372b35ca Fix debug to work when not running under a sandbox 2025-06-10 13:33:18 -07:00
Abhi
41b82b00fa feat: Add UI for /stats slash command (#883) 2025-06-10 15:59:52 -04:00
Seth Troisi
7919ab87f2 Delete unneeded .eslintignore 2025-06-10 12:21:14 -07:00
anj-s
f1f25367d7 Fix null pointer for traces field and use the batch processor (#884) 2025-06-10 09:24:27 -07:00
Olcan
42f146f820 restricted networking for all sandboxing methods, new seatbelt profiles, updated docs, fixes to sandbox build, debugging through sandbox (#891) 2025-06-10 08:58:37 -07:00
Tommaso Sciortino
18dbf3a3a9 GEMINI_SANDBOX=false should disable seatbelt (#888) 2025-06-10 06:22:02 -07:00
Bryan Morgan
4ad96ab5c0 addressed b/423798481 (#887) 2025-06-10 08:47:46 -04:00
Olcan
4e50f7cca9 strip json comments in newly created sandbox_command.js (consistent w/ bash version) (#886) 2025-06-10 00:33:42 -07:00
Olcan
7ff9755ec1 fix user settings in sandbox broken in recent change (#885) 2025-06-10 00:27:40 -07:00
Mark McDonald
5f94e26840 Add a window title when CLI is launched (#787) 2025-06-10 11:54:51 +08:00
Abhi
833d6f2319 feat: Display initial token usage metrics in /stats (#879) 2025-06-09 20:25:37 -04:00
Eddie Santos
ae80e767b3 Add Windsurf in edit tool to modify changes, if installed (#853) 2025-06-09 16:01:06 -07:00
Tommaso Sciortino
713dd4661f Code to support Oauth login (#881) 2025-06-09 15:14:06 -07:00
Seth Troisi
df4fc1b933 Use GOOGLE_API_KEY as default if both GEMINI and GOOGLE set (#777) 2025-06-09 13:54:11 -07:00
Brandon Keiji
b6c9b18300 docs: add deployment documentation (#874) 2025-06-09 19:58:24 +00:00
matt korwel
8d0148b242 Delete tmperrors.txt (#873) 2025-06-09 19:30:24 +00:00
matt korwel
920aa861cf Windows: Refactor Shell Scripts to Node.js for Cross-Platform Compatibility (#784) 2025-06-09 12:19:42 -07:00
Abhi
8778942e11 Bump @google/genai dependency (#870) 2025-06-09 14:17:39 -04:00
Tommaso Sciortino
ce5b22e9d7 Simplify user agent handling. (#828) 2025-06-09 09:31:27 -07:00
Olcan
7c24d46085 rename shell tool more intuitively as run_shell_command (from historical name of execute_bash_command inherited from terminal tool) (#869) 2025-06-09 08:57:30 -07:00
anj-s
3177f03ab9 Add support for sorting files search by recency threshold followed by lexicographic sorting (#867) 2025-06-09 08:07:24 -07:00
Olcan
0ab24b8191 fix mcp timeouts and missing description on mcp errors (#868) 2025-06-08 21:52:11 -07:00
Olcan
7c5de0ce31 replace reference to "README" with "docs" to avoid confusion for folks who do not have access to README (#866) 2025-06-08 19:19:33 -07:00