39 Commits
Author SHA1 Message Date
tanzhenxin 3a549419ba Merge branch 'main' into feat/sandbox-config-improvements 2026-03-06 14:38:39 +08:00
pomelo-nwuandQwen-Coder 8b3aeb4550 refactor: unify sandbox configuration naming and improve telemetry config
Co-authored-by: Qwen-Coder <[email protected]>
2026-02-11 11:08:15 +08:00
DragonnZhang 3c513b6271 Add dev launch config and preserve existing NODE_OPTIONS
Add a "Dev Launch CLI" VS Code debug configuration and fix
scripts/dev.js to preserve existing NODE_OPTIONS (e.g. --inspect
flags injected by VS Code debugger) instead of overwriting them.
2026-02-10 16:45:04 +08:00
tanzhenxin 8e29cc88f9 bundle cli in vscode 2025-12-13 20:56:18 +08:00
mingholy.lmh e1ffaec499 feat: create draft framework for cli & sdk 2025-12-04 17:10:16 +08:00
Kdump 9e5387f159 Headless enhancement: add stream-json as input-format/output-format to support programmatically use (#926) 2025-11-21 09:26:05 +08:00
tanzhenxin eb95c131be Sync upstream Gemini-CLI v0.8.2 (#838) 2025-10-23 09:27:04 +08:00
Mingholy e28255edb6 fix: token limits for qwen3-max (#724) 2025-10-14 15:40:20 +08:00
Mingholy 9c1d7228cb fix: auth hang when select qwen-oauth (#684) 2025-09-23 14:30:22 +08:00
tanzhenxin 2572faf726 # 🚀 Sync Gemini CLI v0.2.1 - Major Feature Update (#483) 2025-09-01 14:48:55 +08:00
Mingholy 009e083b73 fix: sync token among multiple qwen sessions (#443)
* fix: sync token among multiple qwen sessions

* fix: adjust cleanup function
2025-08-27 13:17:28 +08:00
mingholy.lmh c546d86d44 Merge tag 'v0.1.21' of github.com:google-gemini/gemini-cli into chore/sync-gemini-cli-v0.1.21 2025-08-20 22:24:50 +08:00
tanzhenxin 7dbc240847 chore: sync gemini-cli v0.1.19 2025-08-18 19:55:46 +08:00
Tommaso Sciortino 9d023be1d1 Upgrade integration tests to use Vitest (#6021) 2025-08-12 22:57:27 +00:00
Richie Foreman f34012034c chore(vscode): Add Build & Launch CLI option to vscode project (#6027) 2025-08-12 18:53:11 +00:00
Richie Foreman 65e4b941ee chore(vscode): Add recommended extensions list to vscode settings. (#5810) 2025-08-07 22:54:00 +00:00
Richie ForemanandJacob Richman c38147a3a6 chore(vscode settings): Update VsCode settings for quality-of-life (#5806)
Co-authored-by: Jacob Richman <[email protected]>
2025-08-07 22:16:57 +00:00
Yiheng XuandQwen-Coder 14a3be7976 fix generateJson with respond in schema
Co-Authored-By: Qwen-Coder <[email protected]>
2025-08-06 17:03:57 +08:00
Shreya Keshive 6380bfe35c Minor refactoring of VS Code companion extension code (#4761) 2025-07-24 05:32:55 +00:00
matt korwel 20825e4114 Release misc (#3418) 2025-07-07 03:16:42 +00:00
Scott Densmore 99d521569d Scotdensmore/first run auth fix (#1322) 2025-06-22 22:52:25 -07:00
matt korwel ef54e4ffbc fallback to gemini_api_key (#1255) 2025-06-20 01:36:33 -07:00
04518b52c0 Auth First Run (#1207)
Co-authored-by: Tommaso Sciortino <[email protected]>
Co-authored-by: N. Taylor Mullen <[email protected]>
2025-06-19 16:52:22 -07:00
matt korwel df938d6ee8 Preflight and integration npx (#1096) 2025-06-16 15:27:29 +00:00
cperry-goog 18d6a11c04 refactor: rename gemini-code to gemini-cli (#822) 2025-06-07 14:27:22 -07:00
N. Taylor Mullen 6d417186cb Enable "Debug Test" config to debug Server or CLI tests. (#683) 2025-06-02 07:07:10 +00:00
Miguel Solorio c350fbef7f Add default build task for VS Code (#639) 2025-05-31 11:09:25 -07:00
Taylor Mullen 76cee17417 Refactor: Generalize VSCode launch configuration for debugging tests
- Consolidates multiple specific test debug configurations into a single, more flexible configuration named "Debug Test File".
- Introduces an input variable `testFile` to prompt the user for the specific test file path, defaulting to a sample test file.
- This change simplifies the launch configuration and makes it easier to debug any test file without needing a dedicated configuration for each.
2025-05-31 01:28:21 -07:00
Tommaso Sciortino 21fba832d1 Rename server->core (#638) 2025-05-30 18:25:47 -07:00
Jacob Richman dab7517622 Refactor read-file and support images. (#480) 2025-05-29 15:30:18 -07:00
Jacob Richman b4c16d1f56 Code review comment fixes and some refactors. (#525)
No intentional different behavior aside for tweaks suggested from the code review of #506 Refactor: Extract console message logic to custom hook

This commit refactors the console message handling from App.tsx into a new custom hook useConsoleMessages.

This change improves the testability of the console message logic and declutters the main App component.

Created useConsoleMessages.ts to encapsulate console message state and update logic.
Updated App.tsx to utilize the new useConsoleMessages hook.
Added unit tests for useConsoleMessages.ts to ensure its functionality.
I deleted and started over on LoadingIndicator.test.tsx as I spent way too much time trying to fix it before just regenerating the tests as the code was easier to write tests for from scratch and the existing tests were not that good (I added them in the previous pull request).
2025-05-24 00:44:17 -07:00
Jacob Richman 716f7875a2 Support Images and PDFs (#447) 2025-05-20 13:02:41 -07:00
Jacob Richman c692a0c583 Support auto wrapping of in the multiline editor. (#383) 2025-05-16 11:58:37 -07:00
Seth Troisi 339d598295 Add .vscode with enableProjectDiagnostics on 2025-04-30 23:59:51 +00:00
Olcan 304d1f2712 env flags SANDBOX_{MOUNTS,ENV}, improved debugging through sandbox that should now work in all scenarios (#201)
* env flags SANDBOX_{MOUNTS,ENV}, improved debugging through sandbox that should now work in all scenarios

* Merge remote-tracking branch 'origin/main' into sandbox_flags_improved_debugging
2025-04-28 12:44:34 -07:00
Olcan 320f54e205 instant (dev) sandbox (#171)
* instant (dev) sandbox

* leave Dockerfile as is to pass deploy test

* fix comma

* fix prod build

* do not use "images exists" which docker does not support

* separate dev-mode flag

* Merge remote-tracking branch 'origin/main' into instant_sandbox
2025-04-25 10:58:23 -07:00
Olcan f9c4014e28 fix source mapping when debugging in sandbox (#107) 2025-04-21 19:04:00 -07:00
Taylor Mullen 7928c1727f Configure linter + prettier.
- This is based on existing expectations for TS code in Google-esc repos.
- First part of the change (we have not run any linter or formatting commands). After this changeset goes in I'll do a mass changeset push.

Fixes https://b.corp.google.com/issues/411384603
2025-04-17 15:29:34 -07:00
Taylor Mullen add233c504 Initial commit of Gemini Code CLI
This commit introduces the initial codebase for the Gemini Code CLI, a command-line interface designed to facilitate interaction with the Gemini API for software engineering tasks.

The code was migrated from a previous git repository as a single squashed commit.

Core Features & Components:

*   **Gemini Integration:** Leverages the `@google/genai` SDK to interact with the Gemini models, supporting chat history, streaming responses, and function calling (tools).
*   **Terminal UI:** Built with Ink (React for CLIs) providing an interactive chat interface within the terminal, including input prompts, message display, loading indicators, and tool interaction elements.
*   **Tooling Framework:** Implements a robust tool system allowing Gemini to interact with the local environment. Includes tools for:
    *   File system listing (`ls`)
    *   File reading (`read-file`)
    *   Content searching (`grep`)
    *   File globbing (`glob`)
    *   File editing (`edit`)
    *   File writing (`write-file`)
    *   Executing bash commands (`terminal`)
*   **State Management:** Handles the streaming state of Gemini responses and manages the conversation history.
*   **Configuration:** Parses command-line arguments (`yargs`) and loads environment variables (`dotenv`) for setup.
*   **Project Structure:** Organized into `core`, `ui`, `tools`, `config`, and `utils` directories using TypeScript. Includes basic build (`tsc`) and start scripts.

This initial version establishes the foundation for a powerful CLI tool enabling developers to use Gemini for coding assistance directly in their terminal environment.

---
Created by yours truly: __Gemini Code__
2025-04-17 13:19:55 -04:00