summaryrefslogtreecommitdiff
path: root/package.json
AgeCommit message (Collapse)Author
2025-05-31feat: allow custom filename for context files (#654)Allen Hutchison
Co-authored-by: N. Taylor Mullen <[email protected]>
2025-05-30Refactor: Align build scripts with core package rename (#641)Scott Densmore
2025-05-30Rename server->core (#638)Tommaso Sciortino
2025-05-30fix(sandbox): prepare package.json before building sandbox image (#626)Brandon Keiji
2025-05-30feat(sandbox): use package config to dictate sandbox image name (#624)Brandon Keiji
2025-05-30use npx json instead of jq (#617)Olcan
2025-05-29fix: publish @gemini-code/server (#605)Brandon Keiji
2025-05-29fix name in package.jsonSeth Troisi
2025-05-29feat: publish root Dockerfile to our image registry (#599)Brandon Keiji
2025-05-28feat: add git branch name to footer (#589)Brandon Keiji
2025-05-28Display git commit info in the /about section. (#567)DeWitt Clinton
This change detects the most recent git commit short hash and writes it to the `GIT_COMMIT_INFO` constant in `packages/cli/src/generated/git-commit.sh`, optionally appending the string "(local modifications)" if additional local changes after that commit are detected. If set, this string is displayed in the `/about` dialog as well as passed into the `/bug` template. Example: ``` > /about ╭───────────────────────────────────────────────────────────────────────────╮ │ │ │ About Gemini CLI │ │ │ │ CLI Version development │ │ Git Commit 43370ab (local modifications) │ │ Model gemini-2.5-pro-preview-05-06 │ │ Sandbox sandbox-exec (minimal) │ │ OS darwin v23.11.0 │ │ │ ╰───────────────────────────────────────────────────────────────────────────╯ ``` Additionally, this change updates `.gitignore` to ignore the generated files, `scripts/clean.sh` to remove them, and adds a `npm run generate` stage for this and any other generators we need to write.
2025-05-27feat: Publish test coverage summaries to PRs (#513)Allen Hutchison
2025-05-26feat: Replace SQLite with JSON logging for macOS sandbox compatibilityTaylor Mullen
- Removes the sqlite3 dependency and refactors the logging mechanism to use a JSON file (logs.json) instead of a database. - This change is a temporary workaround to address issues with macOS sandboxing that were caused by the SQLite native module. - Storing all logs in a single JSON file may introduce scalability concerns in the future. Fixes https://github.com/google-gemini/gemini-cli/issues/522
2025-05-23feat: Enable npx execution on tagged versionsTaylor Mullen
- Modify root package.json to allow publishing - Update "files" to include only essential bundled assets This change makes it possible to use npx with tagged versions of the gemini-cli package (e.g., npx https://github.com/google-gemini/gemini-cli@early-access). It removes "private: true" and refines the "files" array to ensure that only the necessary bundled assets are included when the package is fetched by npx, optimizing download size and ensuring correct execution.
2025-05-23feat: Enable npx execution directly from GitHub URLTaylor Mullen
This commit modifies the packaging setup to allow the CLI to be executed directly from its GitHub URL using `npx`, for example: `npx https://github.com/google-gemini/gemini-cli` (once merged to main). This is achieved without requiring the bundle to be checked into the repository. Key changes and motivations: - Modify `scripts.prepare` to run `npm run bundle`: Ensures the CLI bundle is generated automatically when `npx` installs the package from a git URL. This replaces previous approaches (e.g., using `prepack`) which were not consistently triggered in the `npx` environment. - Update `scripts.bundle` to use a direct path for `esbuild` and externalize `sqlite3`: Using `node_modules/.bin/esbuild` provides a more reliable way to invoke the bundler. Externalizing `sqlite3` is crucial for correctly handling its native addon, preventing runtime errors. - Add `bin`, `files`, and root `sqlite3` dependency: - The `bin` field defines the `gemini` command. - The `files` array ensures the generated `bundle/` directory is recognized by npm. - `sqlite3` is added as a root dependency to ensure it's installed by `npx` when `gemini-code` is fetched, allowing the externalized module to be resolved. These changes collectively ensure that the necessary build artifacts are created on-the-fly during `npx` installation, providing a seamless execution experience directly from the GitHub repository URL.
2025-05-23feat: add emphasis to tool confirmations (#502)Brandon Keiji
2025-05-21Feat: Add test coverage scripts and ignore reports (#477)Allen Hutchison
2025-05-20Support Images and PDFs (#447)Jacob Richman
2025-05-16fix: Ensure filename is available for diff rendering in write-fileTaylor Mullen
This commit resolves a bug where the `write-file` operation could fail to render content due to a missing filename. The fix involves: - Ensuring `fileName` is consistently passed to `DiffRenderer.tsx` through `ToolConfirmationMessage.tsx`, `ToolMessage.tsx`, and `useGeminiStream.ts`. - Modifying `edit.ts` and `write-file.ts` to include `fileName` in the `FileDiff` object. - Expanding the `FileDiff` interface in `tools.ts` to include `fileName`. Additionally, this commit enhances the diff rendering by: - Adding syntax highlighting based on file extension in `DiffRenderer.tsx`. - Adding more language mappings to `getLanguageFromExtension` in `DiffRenderer.tsx`. - Added lots of tests for all the above. Fixes https://b.corp.google.com/issues/418125982
2025-05-15feat: Enable CI test reporting and artifact management (#367)N. Taylor Mullen
2025-05-08Add bundling support.Taylor Mullen
- This can now be invoked with `npm run bundle`, it creates a `bundle/` folder that has: - gemini.js - sandbox-macos-minimal.sb - sandbox-macos-strict.sb - shell.json - shell.md - This doesn't include any sort of automation for auto bundling pieces. It's just the root capability which we can weave into other locations. Fixes https://b.corp.google.com/issues/411432723
2025-05-07fix: use react-jsx for typecheck (#280)Brandon Keiji
2025-05-07feat: add build:sandbox and build:all npm scripts (#274)Brandon Keiji
2025-05-07fix(sandbox): consolidate dev and prod sandbox (#273)Brandon Keiji
2025-04-25feat: prototype publish sandbox script with npm package (#182)Brandon Keiji
2025-04-24feat: add flag to customize package version during pre-release staging (#155)Brandon Keiji
2025-04-23feat: add react dev tools (#143)Brandon Keiji
2025-04-23feat: set dogfood artifact registry as the default publishing endpoint (#135)Brandon Keiji
2025-04-21fix: point npmrc to dogfood artifact registry (#108)Brandon Keiji
2025-04-21enable debugging through sandbox (#88)Olcan
2025-04-21feat: add custom eslint rule for cross-package imports (#77)Brandon Keiji
2025-04-21seamless sandboxing (just set GEMINI_CODE_SANDBOX=true in .env) (#76)Olcan
2025-04-20Revert debug undo.Taylor Mullen
2025-04-20Update README to reflect current state of the world.Taylor Mullen
- We now have CI/CD - We have linting support (so added a section) - Fixed `npm run debug` to allow debugging again.
2025-04-20add linter for checking license headers (and eslint --fix target to match, ↵Tyler
and fix missing license headers while we're here) (#62)
2025-04-20start and debug scripts (will enable seamless container use later), strict ↵Olcan
error handling in bash scripts (#63) #61
2025-04-20refactor: clean up build output (#53)Brandon Keiji
* refactor: clean up build output * refactor: add index.ts to package roots
2025-04-19Enable `npm run debug` from root.Taylor Mullen
2025-04-19Adding some simple tests. (#54)Evan Senter
2025-04-18Command line flags got broke. Now to run with flags run: (#46)Allen Hutchison
npm run start -- -m model-id -d data/dir
2025-04-18infra: add multipackage support (#34)Brandon Keiji
2025-04-18Warn if `npm run start` is out of date. (#20)Evan Senter
* Adding some wiring to allow the Ink app to warn if there are local development changes that haven't been captured in the recent build of the Gemini CLI. * Adding a new useAppEffects.ts file that wores some useEffect handlers in. * Updating package-lock.json to resolve `npm ci` issues. * Updating package-lock.json and package.json to resolve `npm ci` issues.
2025-04-18feat: initial configs for npm publishing (#30)Brandon Keiji
* feat: initial configs for npm publishing * fix: workspace reference * fix: include LICENSE in npm run build
2025-04-18Revert "Adding some wiring to allow the Ink app to warn if there are local ↵Evan Senter
development changes that haven't been captured in the recent build of the Gemini CLI." This reverts commit 1bfc62dcc2c10e962d4a67009027b7187e690d03.
2025-04-18Revert "Including a test harness for it, and making sure the cursor is ↵Evan Senter
always at the end." This reverts commit 97db77997fd6369031d2f1cf750051999fb0b5b5.
2025-04-18Add basic non blocking CI workflow. (#21)Allen Hutchison
2025-04-18Including a test harness for it, and making sure the cursor is always at the ↵Evan Senter
end.
2025-04-18Adding some wiring to allow the Ink app to warn if there are local ↵Evan Senter
development changes that haven't been captured in the recent build of the Gemini CLI.
2025-04-17Change the run command to properly pass the command line arguments to gemini.tsAllen Hutchison
2025-04-17Configure linter + prettier.Taylor Mullen
- 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