Skip to content

Commit 36cccd6

Browse files
committed
Add skills and configure the extension
Change-Id: I87357069c87dcf148004e91bd2efba25389ec1f1
1 parent 7383705 commit 36cccd6

File tree

9 files changed

+795
-200
lines changed

9 files changed

+795
-200
lines changed

.github/workflows/package-and-upload-assets.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ name: Package and Upload Release Assets
1717
# Global variables
1818
env:
1919
PACKAGE_NAME: "alloydb"
20-
FILES_TO_PACKAGE: "gemini-extension.json ALLOYDB.md LICENSE"
20+
FILES_TO_PACKAGE: "gemini-extension.json ALLOYDB-OMNI.md LICENSE"
2121
GCS_BUCKET_URL: "https://storage.googleapis.com/genai-toolbox/geminicli"
2222

2323
on:
@@ -33,10 +33,10 @@ jobs:
3333
matrix:
3434
platform:
3535
- { os: "linux", arch: "x64", download_path_segment: "linux/amd64", binary_suffix: "", archive_extension: "tar.gz", archive_command: 'tar -czvf "${ARCHIVE_NAME}" -C staging .' }
36-
- { os: "darwin", arch: "arm64", download_path_segment: "darwin/arm64", binary_suffix: "", archive_extension: "tar.gz", archive_command: 'tar -czvf "${ARCHIVE_NAME}" -C staging .' }
36+
- { os: "darwin", arch: "arm64", download_path_segment: "darwin/arm64", binary_suffix: "", archive_extension: "tar.gz", archive_command: 'tar -czvf "${ARCHIVE_NAME}" -C staging .' }
3737
- { os: "darwin", arch: "x64", download_path_segment: "darwin/amd64", binary_suffix: "", archive_extension: "tar.gz", archive_command: 'tar -czvf "${ARCHIVE_NAME}" -C staging .' }
3838
- { os: "win32", arch: "x64", download_path_segment: "windows/amd64", binary_suffix: ".exe", archive_extension: "zip", archive_command: '(cd staging && zip ../"${ARCHIVE_NAME}" *)' }
39-
39+
4040
steps:
4141
- name: Checkout code at the new tag
4242
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
@@ -63,12 +63,12 @@ jobs:
6363
SOURCE_BINARY: ${{ steps.vars.outputs.source_binary }}
6464
run: |
6565
DOWNLOAD_URL="${GCS_BUCKET_URL}/v${TOOLBOX_VERSION}/${DOWNLOAD_PATH_SEGMENT}/${SOURCE_BINARY}"
66-
66+
6767
echo "Downloading binary from: ${DOWNLOAD_URL}"
6868
curl -L --fail -o "${SOURCE_BINARY}" "${DOWNLOAD_URL}"
6969
7070
chmod +x ${SOURCE_BINARY}
71-
71+
7272
echo "Binary downloaded and prepared."
7373
ls -l
7474
@@ -107,7 +107,7 @@ jobs:
107107
with:
108108
name: ${{ steps.vars.outputs.archive_name }}
109109
path: ${{ steps.create_archive.outputs.ARCHIVE_PATH }}
110-
110+
111111
# This job gathers all archives and uploads them to the GitHub Release.
112112
upload:
113113
name: Upload all assets to release

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
toolbox

CHANGELOG.md

Lines changed: 0 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -1,105 +0,0 @@
1-
# Changelog
2-
3-
## [0.1.11](https://github.com/gemini-cli-extensions/alloydb/compare/0.1.10...0.1.11) (2026-02-24)
4-
5-
6-
### Bug Fixes
7-
8-
* remove broken keychain support for password ([#127](https://github.com/gemini-cli-extensions/alloydb/issues/127)) ([65746bb](https://github.com/gemini-cli-extensions/alloydb/commit/65746bb1203afaf4af4e0edd5ce255f428488309))
9-
10-
## [0.1.10](https://github.com/gemini-cli-extensions/alloydb/compare/0.1.9...0.1.10) (2026-01-28)
11-
12-
13-
### Features
14-
15-
* add Configuration settings ([#108](https://github.com/gemini-cli-extensions/alloydb/issues/108)) ([4ec5205](https://github.com/gemini-cli-extensions/alloydb/commit/4ec52055445e917371fe130a2e5054df5b75eca0))
16-
* **deps:** update dependency googleapis/genai-toolbox to v0.26.0 ([#109](https://github.com/gemini-cli-extensions/alloydb/issues/109)) ([7fa79c2](https://github.com/gemini-cli-extensions/alloydb/commit/7fa79c2c2caf49498190bc59e5712a2837b18aa8))
17-
18-
## [0.1.9](https://github.com/gemini-cli-extensions/alloydb/compare/0.1.8...0.1.9) (2026-01-13)
19-
20-
21-
### Bug Fixes
22-
23-
* **tools/alloydb-wait-for-operation:** Fix connection message generation ([genai-toolbox#​2228](https://redirect.github.com/googleapis/genai-toolbox/issues/2228)) ([7053fbb](https://redirect.github.com/googleapis/genai-toolbox/commit/7053fbb1953653143d39a8510916ea97a91022a6)) ([177e29e](https://github.com/gemini-cli-extensions/alloydb/commit/177e29e7f836e93d8ca5932c6941e99ee34f7faf))
24-
* **tools/alloydbainl:** Only add psv when NL Config Param is defined ([genai-toolbox#​2265](https://redirect.github.com/googleapis/genai-toolbox/issues/2265)) ([ef8f3b0](https://redirect.github.com/googleapis/genai-toolbox/commit/ef8f3b02f2f38ce94a6ba9acf35d08b9469bef4e)) ([177e29e](https://github.com/gemini-cli-extensions/alloydb/commit/177e29e7f836e93d8ca5932c6941e99ee34f7faf))
25-
26-
## [0.1.8](https://github.com/gemini-cli-extensions/alloydb/compare/0.1.7...0.1.8) (2025-12-15)
27-
28-
29-
### Bug Fixes
30-
31-
* List tables tools null fix ([genai-toolbox#​2107](https://redirect.github.com/googleapis/genai-toolbox/issues/2107)) ([2b45266](https://redirect.github.com/googleapis/genai-toolbox/commit/2b452665983154041d4cd0ed7d82532e4af682eb)) ([e8c6640](https://github.com/gemini-cli-extensions/alloydb/commit/e8c6640d0d552bee841a1e59557cf2cd31a9b753))
32-
33-
## [0.1.7](https://github.com/gemini-cli-extensions/alloydb/compare/0.1.6...0.1.7) (2025-12-05)
34-
35-
36-
### Bug Fixes
37-
38-
* **tools/alloydb-postgres-list-tables:** Exclude google\_ml schema from list\_tables ([genai-toolbox#​2046](https://redirect.github.com/googleapis/genai-toolbox/issues/2046)) ([a03984c](https://redirect.github.com/googleapis/genai-toolbox/commit/a03984cc15254c928f30085f8fa509ded6a79a0c)) ([921f64e](https://github.com/gemini-cli-extensions/alloydb/commit/921f64ef26954dae0a747d4bfb30c85f9aee6d53))
39-
* **tools/alloydbcreateuser:** Remove duplication of project praram ([genai-toolbox#​2028](https://redirect.github.com/googleapis/genai-toolbox/issues/2028)) ([730ac6d](https://redirect.github.com/googleapis/genai-toolbox/commit/730ac6d22805fd50b4a675b74c1865f4e7689e7c)) ([921f64e](https://github.com/gemini-cli-extensions/alloydb/commit/921f64ef26954dae0a747d4bfb30c85f9aee6d53))
40-
41-
## [0.1.6](https://github.com/gemini-cli-extensions/alloydb/compare/0.1.5...0.1.6) (2025-11-19)
42-
43-
44-
### Features
45-
46-
* **tools/postgres:** Add `long_running_transactions`, `list_locks` and `replication_stats` tools ([#1751](https://github.com/googleapis/genai-toolbox/issues/1751)) ([5abad5d](https://github.com/googleapis/genai-toolbox/commit/5abad5d56c6cc5ba86adc5253b948bf8230fa830))
47-
48-
49-
### Bug Fixes
50-
51-
* **tools:** Check for query execution error for pgxpool.Pool ([genai-toolbox#​1969](https://redirect.github.com/googleapis/genai-toolbox/issues/1969)) ([2bff138](https://redirect.github.com/googleapis/genai-toolbox/commit/2bff1384a3570ef46bc03ebebc507923af261987)) ([1da5746](https://github.com/gemini-cli-extensions/alloydb/commit/1da57464893c69c063e73f72b4bad342c5a3efd8))
52-
* **tools/alloydbgetinstance:** Remove parameter duplication ([genai-toolbox#​1993](https://redirect.github.com/googleapis/genai-toolbox/issues/1993)) ([0e269a1](https://redirect.github.com/googleapis/genai-toolbox/commit/0e269a1d125eed16a51ead27db4398e6e48cb948)) ([1da5746](https://github.com/gemini-cli-extensions/alloydb/commit/1da57464893c69c063e73f72b4bad342c5a3efd8))
53-
54-
## [0.1.5](https://github.com/gemini-cli-extensions/alloydb/compare/0.1.4...0.1.5) (2025-11-18)
55-
56-
57-
### Features
58-
59-
* **source/alloydb, source/cloud-sql-postgres,source/cloud-sql-mysql,source/cloud-sql-mssql:** Use project from env for alloydb and cloud sql control plane tools ([genai-toolbox#​1588](https://redirect.github.com/googleapis/genai-toolbox/issues/1588)) ([12bdd95](https://redirect.github.com/googleapis/genai-toolbox/commit/12bdd954597e49d3ec6b247cc104584c5a4d1943)) ([7ca7d46](https://github.com/gemini-cli-extensions/alloydb/commit/7ca7d4691fd47ad3081363b288681da0851d9985))
60-
* Added prompt support for toolbox ([genai-toolbox#​1798](https://redirect.github.com/googleapis/genai-toolbox/issues/1798)) ([cd56ea4](https://redirect.github.com/googleapis/genai-toolbox/commit/cd56ea44fbdd149fcb92324e70ee36ac747635db)) ([7ca7d46](https://github.com/gemini-cli-extensions/alloydb/commit/7ca7d4691fd47ad3081363b288681da0851d9985))
61-
62-
## [0.1.4](https://github.com/gemini-cli-extensions/alloydb/compare/0.1.3...0.1.4) (2025-11-07)
63-
64-
65-
### Features
66-
67-
* **tools/alloydbainl:** update AlloyDB AI NL statement order ([genai-toolbox#​1753](https://redirect.github.com/googleapis/genai-toolbox/issues/1753)) ([45933f1](https://github.com/gemini-cli-extensions/alloydb/commit/45933f10e4daafb177bd59c069f8880d7a485ed5))
68-
69-
70-
### Bug Fixes
71-
72-
* **tools/alloydbainl:** AlloyDB AI NL execute\_sql statement order ([genai-toolbox#​1753](https://redirect.github.com/googleapis/genai-toolbox/issues/1753)) ([9723cad](https://redirect.github.com/googleapis/genai-toolbox/commit/9723cadaa181a76d8fdda65a6254f6c887c3cf57)) ([45933f1](https://github.com/gemini-cli-extensions/alloydb/commit/45933f10e4daafb177bd59c069f8880d7a485ed5))
73-
74-
## [0.1.3](https://github.com/gemini-cli-extensions/alloydb/compare/0.1.2...0.1.3) (2025-10-17)
75-
76-
77-
### Bug Fixes
78-
79-
* update context for install instructions ([#70](https://github.com/gemini-cli-extensions/alloydb/issues/70)) ([2889fe5](https://github.com/gemini-cli-extensions/alloydb/commit/2889fe5243b7c121c5b979a16dea1a60a8c4465b))
80-
81-
## [0.1.2](https://github.com/gemini-cli-extensions/alloydb/compare/0.1.1...0.1.2) (2025-10-13)
82-
83-
84-
### Features
85-
86-
* **deps:** update dependency googleapis/genai-toolbox to v0.17.0 to Support PSC connection ([#66](https://github.com/gemini-cli-extensions/alloydb/issues/66)) ([1280920](https://github.com/gemini-cli-extensions/alloydb/commit/12809204b2e1053bc8e1a101879580b2857d50f6))
87-
88-
## [0.1.1](https://github.com/gemini-cli-extensions/alloydb/compare/0.1.0...0.1.1) (2025-09-30)
89-
90-
91-
### Features
92-
93-
* additional instructions for the context file ([#51](https://github.com/gemini-cli-extensions/alloydb/issues/51)) ([cef0fb6](https://github.com/gemini-cli-extensions/alloydb/commit/cef0fb68dedb400225347adf3a16cb320ff28d20))
94-
* **deps:** update dependency googleapis/genai-toolbox to v0.16.0 ([#42](https://github.com/gemini-cli-extensions/alloydb/issues/42)) ([6a25cb6](https://github.com/gemini-cli-extensions/alloydb/commit/6a25cb699264d415eb75f4bfdd25b325a372425e))
95-
* standardize mcp server names ([#49](https://github.com/gemini-cli-extensions/alloydb/issues/49)) ([ab738fc](https://github.com/gemini-cli-extensions/alloydb/commit/ab738fc7f669dc3712777cec969b41084b7e5224))
96-
* update context file to use full table name ([dc565f4](https://github.com/gemini-cli-extensions/alloydb/commit/dc565f427db7611c70155109cfd4010591784af4))
97-
* Update context to recommend other observability extension ([#34](https://github.com/gemini-cli-extensions/alloydb/issues/34)) ([874b148](https://github.com/gemini-cli-extensions/alloydb/commit/874b1489989c5945c81b0eeef1592bb65693f6d6))
98-
99-
100-
## 0.1.0 (2025-09-20)
101-
102-
103-
### Features
104-
105-
* create the AlloyDB Extension ([#21](https://github.com/gemini-cli-extensions/alloydb/issues/21)) ([b71218b](https://github.com/gemini-cli-extensions/alloydb/commit/b71218ba1977b906043621f23cf7fff05937e833))

DEVELOPER.md

Lines changed: 10 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
# DEVELOPER.md
22

33
This document provides instructions for setting up your development environment
4-
and contributing to the AlloyDB Gemini CLI Extension project.
4+
and contributing to the AlloyDB Omni Gemini CLI Extension project.
55

66
## Prerequisites
77

88
Before you begin, ensure you have the following:
99

10-
1. **Gemini CLI:** Install the Gemini CLI version v0.6.0 or above. Installation
10+
1. **Gemini CLI:** Install the Gemini CLI version v0.33.0 or above. Installation
1111
instructions can be found on the official Gemini CLI documentation. You can
1212
verify your version by running `gemini --version`.
13-
2. **AlloyDB Cluster & Instance:** For testing data plane tools, you will need access to an active AlloyDB
14-
for PostgreSQL instance. We recommend using Public IP to eliminate the need to create and use a workspace
15-
within the same VPC network as the database.
13+
2. For AlloyDB Omni for Kubernetes, you will need to have access to a Kubernetes cluster with AlloyDB Omni operator installed. Instructions can be found on the [AlloyDB Omni for Kubernetes documentation](https://docs.cloud.google.com/alloydb/omni/kubernetes/current/docs/overview).
1614

1715
## Developing the Extension
1816

@@ -23,26 +21,12 @@ The core logic for this extension is handled by a pre-built `toolbox` binary. Th
2321
1. **Clone the Repository:**
2422

2523
```bash
26-
git clone https://github.com/gemini-cli-extensions/alloydb.git
27-
cd alloydb
24+
git clone https://github.com/gemini-cli-extensions/alloydb-omni.git
25+
cd alloydb-omni
2826
```
2927

3028
2. **Download the Toolbox Binary:** The required version of the `toolbox` binary
31-
is specified in `toolbox_version.txt`. Download it for your platform.
32-
33-
```bash
34-
# Read the required version
35-
VERSION=$(cat toolbox_version.txt)
36-
37-
# Download the binary for your platform. The binary must be named `toolbox`.
38-
# Adjust the URL for your operating system (`linux/amd64`, `darwin/arm64`, `windows/amd64`).
39-
# Example for macOS/amd64:
40-
curl -L -o toolbox https://storage.googleapis.com/genai-toolbox/v$VERSION/darwin/amd64/toolbox
41-
chmod +x toolbox
42-
43-
# For Windows, you will need to download the .exe file and rename it to `toolbox`.
44-
# The `chmod` command is not required on Windows.
45-
```
29+
is specified in `toolbox_version.txt`. Download it for your platform by following the instructions in the [Toolbox documentation](https://github.com/googleapis/genai-toolbox).
4630

4731
3. **Install the Extension Locally:** Use the Gemini CLI to install the
4832
extension from your local directory.
@@ -53,7 +37,7 @@ The core logic for this extension is handled by a pre-built `toolbox` binary. Th
5337
The CLI will prompt you to confirm the installation. Accept it to proceed.
5438

5539
4. **Testing Changes:** After installation, start the Gemini CLI (`gemini`).
56-
You can now interact with the `alloydb` tools to manually test your changes
40+
You can now interact with the `alloydb-omni` tools to manually test your changes
5741
against your connected database.
5842

5943
## Testing
@@ -82,7 +66,7 @@ are currently tested in the [MCP Toolbox GitHub](https://github.com/googleapis/g
8266
## Building the Extension
8367

8468
The "build" process for this extension involves packaging the extension's
85-
metadata files (`gemini-extension.json`, `ALLOYDB.md`, `LICENSE`) along with the
69+
metadata files (`gemini-extension.json`, `ALLOYDB-OMNI.md`, `LICENSE`) along with the
8670
pre-built `toolbox` binary into platform-specific archives (`.tar.gz` or `.zip`).
8771
8872
This process is handled automatically by the
@@ -98,7 +82,7 @@ The primary maintainers for this repository are defined in the
9882
[`.github/CODEOWNERS`](.github/CODEOWNERS) file:
9983
10084
* `@gemini-cli-extensions/senseai-eco`
101-
* `@gemini-cli-extensions/alloydb-maintainers`
85+
* `@gemini-cli-extensions/alloydb-omni-maintainers`
10286
10387
### Releasing
10488
@@ -119,7 +103,7 @@ The process is handled by the [`mirror-changelog.yml`](.github/workflows/mirror-
119103
the PR body.
120104
3. **Filtering:** These release notes are filtered to include only changes
121105
relevant to this extension. The relevance is determined by a keyword (e.g.,
122-
`alloydb`), passed as an environment variable in the workflow file.
106+
`alloydb-omni`), passed as an environment variable in the workflow file.
123107
4. **Changelog Injection:** The script formats the filtered entries as
124108
conventional commits and injects them into the PR body within a
125109
`BEGIN_COMMIT_OVERRIDE` block.

0 commit comments

Comments
 (0)