@wxp212/gemini-cli 0.28.3-2 → 0.28.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -55
- package/bundle/docs/npm.md +36 -0
- package/bundle/gemini.js +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -40,72 +40,19 @@ Learn all about Gemini CLI in our [documentation](https://geminicli.com/docs/).
|
|
|
40
40
|
|
|
41
41
|
```bash
|
|
42
42
|
# Using npx (no installation required)
|
|
43
|
-
npx @
|
|
43
|
+
npx @wxp212/gemini-cli
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
#### Install globally with npm
|
|
47
47
|
|
|
48
48
|
```bash
|
|
49
|
-
npm install -g @
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
#### Install globally with Homebrew (macOS/Linux)
|
|
53
|
-
|
|
54
|
-
```bash
|
|
55
|
-
brew install gemini-cli
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
#### Install globally with MacPorts (macOS)
|
|
59
|
-
|
|
60
|
-
```bash
|
|
61
|
-
sudo port install gemini-cli
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
#### Install with Anaconda (for restricted environments)
|
|
65
|
-
|
|
66
|
-
```bash
|
|
67
|
-
# Create and activate a new environment
|
|
68
|
-
conda create -y -n gemini_env -c conda-forge nodejs
|
|
69
|
-
conda activate gemini_env
|
|
70
|
-
|
|
71
|
-
# Install Gemini CLI globally via npm (inside the environment)
|
|
72
|
-
npm install -g @google/gemini-cli
|
|
49
|
+
npm install -g @wxp212/gemini-cli
|
|
73
50
|
```
|
|
74
51
|
|
|
75
52
|
## Release Cadence and Tags
|
|
76
53
|
|
|
77
54
|
See [Releases](./docs/releases.md) for more details.
|
|
78
55
|
|
|
79
|
-
### Preview
|
|
80
|
-
|
|
81
|
-
New preview releases will be published each week at UTC 2359 on Tuesdays. These
|
|
82
|
-
releases will not have been fully vetted and may contain regressions or other
|
|
83
|
-
outstanding issues. Please help us test and install with `preview` tag.
|
|
84
|
-
|
|
85
|
-
```bash
|
|
86
|
-
npm install -g @google/gemini-cli@preview
|
|
87
|
-
```
|
|
88
|
-
|
|
89
|
-
### Stable
|
|
90
|
-
|
|
91
|
-
- New stable releases will be published each week at UTC 2000 on Tuesdays, this
|
|
92
|
-
will be the full promotion of last week's `preview` release + any bug fixes
|
|
93
|
-
and validations. Use `latest` tag.
|
|
94
|
-
|
|
95
|
-
```bash
|
|
96
|
-
npm install -g @google/gemini-cli@latest
|
|
97
|
-
```
|
|
98
|
-
|
|
99
|
-
### Nightly
|
|
100
|
-
|
|
101
|
-
- New releases will be published each day at UTC 0000. This will be all changes
|
|
102
|
-
from the main branch as represented at time of release. It should be assumed
|
|
103
|
-
there are pending validations and issues. Use `nightly` tag.
|
|
104
|
-
|
|
105
|
-
```bash
|
|
106
|
-
npm install -g @google/gemini-cli@nightly
|
|
107
|
-
```
|
|
108
|
-
|
|
109
56
|
## 📋 Key Features
|
|
110
57
|
|
|
111
58
|
### Code Understanding & Generation
|
|
@@ -349,6 +296,35 @@ custom tools:
|
|
|
349
296
|
See the [MCP Server Integration guide](./docs/tools/mcp-server.md) for setup
|
|
350
297
|
instructions.
|
|
351
298
|
|
|
299
|
+
## 🔧 VS Code Extension
|
|
300
|
+
|
|
301
|
+
### Building VSIX Manually
|
|
302
|
+
|
|
303
|
+
If you encounter compatibility issues with the published VSCode Gemini CLI
|
|
304
|
+
Companion extension, you can manually build and install the VSIX package:
|
|
305
|
+
|
|
306
|
+
```bash
|
|
307
|
+
# Navigate to the vscode-ide-companion directory
|
|
308
|
+
cd packages/vscode-ide-companion
|
|
309
|
+
|
|
310
|
+
# Install dependencies
|
|
311
|
+
npm install
|
|
312
|
+
|
|
313
|
+
# Build and package the VSIX file
|
|
314
|
+
npm run package
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
The VSIX file will be generated in the `packages/vscode-ide-companion` directory
|
|
318
|
+
with a name like `gemini-cli-vscode-ide-companion-<version>.vsix`.
|
|
319
|
+
|
|
320
|
+
To install the manually built extension:
|
|
321
|
+
|
|
322
|
+
1. Open VS Code
|
|
323
|
+
2. Go to **Extensions** (Ctrl+Shift+X)
|
|
324
|
+
3. Click the **...** menu in the extensions panel
|
|
325
|
+
4. Select **Install from VSIX...**
|
|
326
|
+
5. Navigate to and select the generated `.vsix` file
|
|
327
|
+
|
|
352
328
|
## 🤝 Contributing
|
|
353
329
|
|
|
354
330
|
We welcome contributions! Gemini CLI is fully open source (Apache 2.0), and we
|
package/bundle/docs/npm.md
CHANGED
|
@@ -60,3 +60,39 @@ package that should be managed as part of the workspace.
|
|
|
60
60
|
root of the project using the `--workspace` flag. For example, to run the
|
|
61
61
|
`build` script in the `cli` package, you can run
|
|
62
62
|
`npm run build --workspace @google/gemini-cli`.
|
|
63
|
+
|
|
64
|
+
## Publishing to NPM
|
|
65
|
+
|
|
66
|
+
### prepare ~/.npmrc
|
|
67
|
+
|
|
68
|
+
npm login --token
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
# ~/.npmrc
|
|
72
|
+
registry=https://registry.npmjs.org/
|
|
73
|
+
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### Quick Publish
|
|
77
|
+
|
|
78
|
+
To publish the CLI package to NPM:
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
# 1. Bump version (if needed)
|
|
82
|
+
npm run release:version patch # or minor/major
|
|
83
|
+
|
|
84
|
+
# 2. Build the bundle
|
|
85
|
+
npm run bundle
|
|
86
|
+
|
|
87
|
+
# 3. Publish to NPM
|
|
88
|
+
npm publish
|
|
89
|
+
# Examples:
|
|
90
|
+
# npm publish --tag beta --access public
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
### Verify Publishing
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
# Check if package is available
|
|
97
|
+
npm view @wxp212/gemini-cli
|
|
98
|
+
```
|
package/bundle/gemini.js
CHANGED
|
@@ -112277,7 +112277,7 @@ import { fileURLToPath as fileURLToPath5 } from "node:url";
|
|
|
112277
112277
|
import path12 from "node:path";
|
|
112278
112278
|
async function getVersion() {
|
|
112279
112279
|
const pkgJson = await getPackageJson(__dirname3);
|
|
112280
|
-
return "0.28.3
|
|
112280
|
+
return "0.28.3";
|
|
112281
112281
|
}
|
|
112282
112282
|
var __filename, __dirname3;
|
|
112283
112283
|
var init_version2 = __esm({
|
|
@@ -488998,7 +488998,7 @@ var WarningMessage = ({ text }) => {
|
|
|
488998
488998
|
};
|
|
488999
488999
|
|
|
489000
489000
|
// packages/cli/src/generated/git-commit.ts
|
|
489001
|
-
var GIT_COMMIT_INFO2 = "
|
|
489001
|
+
var GIT_COMMIT_INFO2 = "5e21643c8";
|
|
489002
489002
|
|
|
489003
489003
|
// packages/cli/src/ui/components/AboutBox.tsx
|
|
489004
489004
|
var import_jsx_runtime42 = __toESM(require_jsx_runtime(), 1);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wxp212/gemini-cli",
|
|
3
|
-
"version": "0.28.3
|
|
3
|
+
"version": "0.28.3",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=20.0.0"
|
|
6
6
|
},
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"url": "git+https://github.com/google-gemini/gemini-cli.git"
|
|
14
14
|
},
|
|
15
15
|
"config": {
|
|
16
|
-
"sandboxImageUri": "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.28.3
|
|
16
|
+
"sandboxImageUri": "us-docker.pkg.dev/gemini-code-dev/gemini-cli/sandbox:0.28.3"
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
|
19
19
|
"start": "cross-env NODE_ENV=development node scripts/start.js",
|