From 66741f6f905fd639f75c07121cdf6337788b01da Mon Sep 17 00:00:00 2001 From: Haoyu Wang Date: Mon, 9 Nov 2026 21:10:39 +0000 Subject: [PATCH 1/5] ci: migrate off pull_request_target and fix zizmor findings - Harden assign-prs: main branch only, no default token permissions. - Pin remaining actions to commit SHAs. - Set persist-credentials: false on actions/checkout. - Declare read-only permissions where none were set. --- .github/workflows/assign-issues.yml | 2 +- .github/workflows/assign-prs.yml | 7 +++++-- .github/workflows/header-check.yml | 5 +++++ .github/workflows/json-lint.yml | 7 ++++++- .github/workflows/markdown-checks.yml | 5 +++++ .github/workflows/pr-title-linter.yml | 5 ++++- .github/workflows/presubmit-tests.yml | 2 ++ .github/workflows/sync-labels.yaml | 2 ++ 8 files changed, 30 insertions(+), 5 deletions(-) diff --git a/.github/workflows/assign-issues.yml b/.github/workflows/assign-issues.yml index d34ffdd..6338fed 100644 --- a/.github/workflows/assign-issues.yml +++ b/.github/workflows/assign-issues.yml @@ -25,7 +25,7 @@ jobs: issues: write steps: - name: "Auto-assign issue" - uses: pozil/auto-assign-issue@v2 + uses: pozil/auto-assign-issue@7bf9d82c77d45976224660b873fc83e60576c5aa # v2 with: assignees: dolphin1999,isaurabhuttam,prernakakkar-google numOfAssignee: 1 diff --git a/.github/workflows/assign-prs.yml b/.github/workflows/assign-prs.yml index f81b3d1..2ffbbd6 100644 --- a/.github/workflows/assign-prs.yml +++ b/.github/workflows/assign-prs.yml @@ -15,8 +15,11 @@ name: PR assignment on: - pull_request_target: + pull_request_target: # zizmor: ignore[dangerous-triggers] - needs write token on fork PRs; never checks out or runs PR code types: [opened, edited, reopened] + branches: [main] + +permissions: {} jobs: auto-assign: @@ -26,7 +29,7 @@ jobs: pull-requests: write steps: - name: "Auto-assign PR" - uses: pozil/auto-assign-issue@v2 + uses: pozil/auto-assign-issue@7bf9d82c77d45976224660b873fc83e60576c5aa # v2 with: assignees: dolphin1999,isaurabhuttam,prernakakkar-google numOfAssignee: 1 diff --git a/.github/workflows/header-check.yml b/.github/workflows/header-check.yml index 44e9669..3495ff5 100644 --- a/.github/workflows/header-check.yml +++ b/.github/workflows/header-check.yml @@ -18,6 +18,9 @@ on: pull_request: branches: [ main ] +permissions: + contents: read + jobs: license-check: name: 'License Header Check' @@ -25,6 +28,8 @@ jobs: steps: - name: 'Checkout Repository' uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 + with: + persist-credentials: false - name: Check License Header uses: apache/skywalking-eyes/header@61275cc80d0798a405cb070f7d3a8aaf7cf2c2c1 # v0.8.0 diff --git a/.github/workflows/json-lint.yml b/.github/workflows/json-lint.yml index 5b4c2e8..d8bb81f 100644 --- a/.github/workflows/json-lint.yml +++ b/.github/workflows/json-lint.yml @@ -18,12 +18,17 @@ on: pull_request: branches: [ main ] +permissions: + contents: read + jobs: json-lint: runs-on: ubuntu-latest steps: - name: Check out code uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 + with: + persist-credentials: false - name: Run JSON Lint - run: jq . gemini-extension.json \ No newline at end of file + run: jq . gemini-extension.json diff --git a/.github/workflows/markdown-checks.yml b/.github/workflows/markdown-checks.yml index 8a3222b..e8370b2 100644 --- a/.github/workflows/markdown-checks.yml +++ b/.github/workflows/markdown-checks.yml @@ -18,6 +18,9 @@ on: pull_request: branches: [ main ] +permissions: + contents: read + jobs: link-check: name: Run link check @@ -25,6 +28,8 @@ jobs: steps: - name: Check out code uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 + with: + persist-credentials: false - name: Link Checker uses: lycheeverse/lychee-action@a8c4c7cb88f0c7386610c35eb25108e448569cb0 # v2.7.0 diff --git a/.github/workflows/pr-title-linter.yml b/.github/workflows/pr-title-linter.yml index e3f3e41..30e4a46 100644 --- a/.github/workflows/pr-title-linter.yml +++ b/.github/workflows/pr-title-linter.yml @@ -17,6 +17,9 @@ name: 'Lint PR Title' on: pull_request: +permissions: + pull-requests: read + jobs: main: name: Validate PR title @@ -24,4 +27,4 @@ jobs: steps: - uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/presubmit-tests.yml b/.github/workflows/presubmit-tests.yml index 4809f22..87df90b 100644 --- a/.github/workflows/presubmit-tests.yml +++ b/.github/workflows/presubmit-tests.yml @@ -25,6 +25,8 @@ jobs: steps: - name: Check out code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false - name: Install Gemini CLI run: npm install @google/gemini-cli diff --git a/.github/workflows/sync-labels.yaml b/.github/workflows/sync-labels.yaml index 3b72194..835c385 100644 --- a/.github/workflows/sync-labels.yaml +++ b/.github/workflows/sync-labels.yaml @@ -30,6 +30,8 @@ jobs: pull-requests: 'write' steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false - uses: micnncim/action-label-syncer@3abd5ab72fda571e69fffd97bd4e0033dd5f495c # v1.3.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 3905c26fcd64ba03bbf2e53d3356403d297f021c Mon Sep 17 00:00:00 2001 From: Haoyu Wang Date: Mon, 9 Nov 2026 21:10:40 +0000 Subject: [PATCH 2/5] ci: remove mirror-changelog workflow Drop the Renovate changelog-mirroring workflow, removing its pull_request_target trigger and simplifying the planned OneMCP migration. Toolbox bumps still release as feat(deps) commits. --- .github/workflows/mirror-changelog.yml | 155 ------------------------- DEVELOPER.md | 34 +----- 2 files changed, 1 insertion(+), 188 deletions(-) delete mode 100644 .github/workflows/mirror-changelog.yml diff --git a/.github/workflows/mirror-changelog.yml b/.github/workflows/mirror-changelog.yml deleted file mode 100644 index 58e457e..0000000 --- a/.github/workflows/mirror-changelog.yml +++ /dev/null @@ -1,155 +0,0 @@ -# Copyright 2025 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -name: Mirror Toolbox Changelog - -on: - # Fork Renovate PRs need a write token; safe (no PR-code checkout, API-only). - pull_request_target: # zizmor: ignore[dangerous-triggers] - types: [opened, edited] - -jobs: - add-release-notes: - # Renovate groups the npm toolbox update under groupName 'toolbox' (see - # renovate.json5), so its branch is renovate/toolbox. Release notes still come - # from googleapis/mcp-toolbox (same source repo), so the markers below are unchanged. - if: github.actor == 'renovate-bot' && startsWith(github.head_ref, 'renovate/toolbox') - runs-on: ubuntu-latest - permissions: - pull-requests: write - - steps: - - name: Add Toolbox Release Notes to PR Body - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 - env: - REQUIRED_KEYWORDS: 'postgres' - with: - script: | - const requiredKeywordsEnv = process.env.REQUIRED_KEYWORDS; - const requiredKeywords = requiredKeywordsEnv.split(',').map(kw => kw.trim()).filter(kw => kw.length > 0); - - const prBody = context.payload.pull_request.body || ''; - - // Extract the relevant changelog section - const startMarker = 'googleapis/mcp-toolbox'; - const endMarker = ''; - const startIndex = prBody.indexOf(startMarker); - const endIndex = prBody.indexOf(endMarker, startIndex); - - if (startIndex === -1 || endIndex === -1) { - console.log('Could not find the release notes section in the PR body. Exiting.'); - return; - } - const releaseNotesSection = prBody.substring(startIndex, endIndex); - - // Parse, Filter, and transform - const prefixesToFilter = ['source/', 'sources/', 'tool/', 'tools/']; - - // Use a map for cleaner type switching - const typeMap = { - '##### ⚠ BREAKING CHANGES': 'feat!', - '##### Features': 'feat', - '##### Bug Fixes': 'fix', - '##### Chores': 'ignore', - '##### Miscellaneous Chores': 'ignore', - '##### Documentation': 'ignore', - }; - - let currentType = 'feat'; // Default - const newChangelog = []; - - for (const line of releaseNotesSection.split('\n')) { - const trimmedLine = line.trim(); - - // Update current type if it's a header - if (typeMap[trimmedLine]) { - currentType = typeMap[trimmedLine]; - continue; - } - - // Skip ignored sections - if (currentType === 'ignore') { - continue; - } - - // Match and extract changelog item - const itemMatch = trimmedLine.match(/^[*-]\s(.*)$/); - if (itemMatch) { - let originalContent = itemMatch[1]; - - // This is a two-step process to prevent `release-please` from - // creating mangled, doubly-nested links for PRs. - - // STEP 1: CLEAN THE INPUT. - // The source changelog contains a zero-width space as an HTML entity (`​`). - // This breaks the regex in the next step, so we must remove it first. - // E.g., "[#​1770](...)" becomes "[#1770](...)" - originalContent = originalContent.replace(/​/g, ''); - - // STEP 2: PROTECT THE OUTPUT. - // `release-please` aggressively tries to auto-link any text that looks like `#1234`. - // To prevent this, we insert an invisible Unicode zero-width space (`\u200B`) - // between the '#' and the number in the link text. This breaks the parser's - // pattern matching without changing the visual appearance of the link. - // E.g., "[#1770](...)" becomes "[mcp-toolbox#​1770](...)" - originalContent = originalContent.replace(/\[#(\d+)\](\([^)]+\))/g, '[mcp-toolbox#\u200B$1]$2'); - - const lineAsLowerCase = originalContent.toLowerCase(); - const hasPrefix = prefixesToFilter.some(prefix => lineAsLowerCase.includes(prefix)); - - // Check if the line includes ANY of the required keywords - let hasAnyRequiredKeyword = false; - if (requiredKeywords.length > 0) { - hasAnyRequiredKeyword = requiredKeywords.some(keyword => lineAsLowerCase.includes(keyword)); - } - - // Include if it doesn't have a prefix OR it has any of the required keywords - if (!hasPrefix || hasAnyRequiredKeyword) { - newChangelog.push(`${currentType}: ${originalContent}`); - } else { - console.log(`Filtering out: ${originalContent}`); - } - } - } - - if (newChangelog.length === 0) { - console.log('Found no changelog items to add after filtering. Exiting.'); - return; - } - - // Construct the override block - const overrideBlock = [ - '\n\nBEGIN_COMMIT_OVERRIDE', - ...newChangelog, - 'END_COMMIT_OVERRIDE' - ].join('\n'); - - // Update PR body - const baseBody = prBody.split('\n\nBEGIN_COMMIT_OVERRIDE')[0].trim(); - const finalBody = baseBody + overrideBlock; - - if (finalBody === prBody) { - console.log('The generated changelog is identical. No update needed.'); - return; - } - - // Update the PR - await github.rest.pulls.update({ - owner: context.repo.owner, - repo: context.repo.repo, - pull_number: context.issue.number, - body: finalBody, - }); - - console.log('Successfully updated the PR body with filtered release notes.'); diff --git a/DEVELOPER.md b/DEVELOPER.md index d42faa6..5822414 100644 --- a/DEVELOPER.md +++ b/DEVELOPER.md @@ -96,39 +96,7 @@ The primary maintainers for this repository are defined in the ### Releasing -The release process is automated using `release-please`. It consists of an automated changelog preparation step followed by the manual merging of a Release PR. - -#### Automated Changelog Enrichment - -Before a Release PR is even created, a special workflow automatically mirrors -relevant changelogs from the core `googleapis/mcp-toolbox` dependency. This -ensures that the release notes for this extension accurately reflect important -upstream changes. - -The process is handled by the [`mirror-changelog.yml`](.github/workflows/mirror-changelog.yml) workflow: - -1. **Trigger:** The workflow runs automatically on pull requests created by - Renovate for `toolbox` version updates. -2. **Parsing:** It reads the detailed release notes that Renovate includes in - the PR body. -3. **Filtering:** These release notes are filtered to include only changes - relevant to this extension. The relevance is determined by a keyword (e.g., - `postgres`), passed as an environment variable in the workflow file. -4. **Changelog Injection:** The script formats the filtered entries as - conventional commits and injects them into the PR body within a - `BEGIN_COMMIT_OVERRIDE` block. -5. **Release Please:** When the main Release PR is created, `release-please` - reads this override block instead of the standard `chore(deps): ...` commit - message, effectively mirroring the filtered upstream changelog into this - project's release notes. - -> **Note for Maintainers:** The filtering script is an automation aid, but it -> may occasionally produce "false positives" (e.g., an internal logging change -> that happens to contain the keyword). Before merging a `toolbox` dependency -> PR, maintainers must **review the generated `BEGIN_COMMIT_OVERRIDE` block** -> and manually delete any lines that are not relevant to the end-users of this -> extension. The curated override block is the final source of truth for the -> release changelog. +The release process is automated using `release-please`. It consists of the manual merging of a Release PR. #### Release Process From ecc19f50f4e7c20e279bea6ad8d714ddf2620c80 Mon Sep 17 00:00:00 2001 From: Haoyu Wang Date: Mon, 9 Nov 2026 21:14:17 +0000 Subject: [PATCH 3/5] chore: update repo links after move to GoogleCloudPlatform Point links at the GoogleCloudPlatform repos that the old gemini-cli-extensions URLs now redirect to. --- .claude-plugin/plugin.json | 2 +- .codex-plugin/plugin.json | 2 +- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- .github/ISSUE_TEMPLATE/feature_request.yml | 2 +- .github/ISSUE_TEMPLATE/question.yml | 2 +- .lycheeignore | 2 +- CHANGELOG.md | 106 ++++++++++----------- DEVELOPER.md | 2 +- README.md | 10 +- plugin.json | 2 +- tutorials/quickstart.md | 2 +- 11 files changed, 67 insertions(+), 67 deletions(-) diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index d37f6a7..e2b9667 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -6,7 +6,7 @@ "name": "Google LLC", "email": "data-cloud-ai-integrations@google.com" }, - "repository": "https://github.com/gemini-cli-extensions/postgres", + "repository": "https://github.com/GoogleCloudPlatform/postgres-plugin", "license": "Apache-2.0", "userConfig": { "postgres_database": { diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json index acb53ac..049e42f 100644 --- a/.codex-plugin/plugin.json +++ b/.codex-plugin/plugin.json @@ -6,7 +6,7 @@ "name": "Google LLC", "email": "data-cloud-ai-integrations@google.com" }, - "repository": "https://github.com/gemini-cli-extensions/postgres", + "repository": "https://github.com/GoogleCloudPlatform/postgres-plugin", "license": "Apache-2.0", "mcpServers": "./.codex-plugin/.mcp.json" } diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 175dab9..9fd92ec 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -30,7 +30,7 @@ body: label: Pre-reqs description: | Please run through the following list and make sure you've tried the usual "quick fixes": - - Search the [current open issues](https://github.com/gemini-cli-extensions/postgres/issues) + - Search the [current open issues](https://github.com/GoogleCloudPlatform/postgres-plugin/issues) - Update to the latest version of the extension and [Gemini CLI](https://github.com/google-gemini/gemini-cli?tab=readme-ov-file#stable) options: - label: "I've searched the current open issues" diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml index 0621bd1..cc8ef06 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yml +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -30,7 +30,7 @@ body: description: | Please run through the following list and make sure you've tried the usual "quick fixes": options: - - label: "Search the [current open issues](https://github.com/gemini-cli-extensions/postgres/issues)" + - label: "Search the [current open issues](https://github.com/GoogleCloudPlatform/postgres-plugin/issues)" required: true - type: textarea diff --git a/.github/ISSUE_TEMPLATE/question.yml b/.github/ISSUE_TEMPLATE/question.yml index 2c46517..243d1ac 100644 --- a/.github/ISSUE_TEMPLATE/question.yml +++ b/.github/ISSUE_TEMPLATE/question.yml @@ -30,7 +30,7 @@ body: description: | Please run through the following list and make sure you've tried the usual "quick fixes": options: - - label: "Search the [issues](https://github.com/gemini-cli-extensions/postgres/issues)" + - label: "Search the [issues](https://github.com/GoogleCloudPlatform/postgres-plugin/issues)" required: true - type: textarea diff --git a/.lycheeignore b/.lycheeignore index 6c305cd..fce8b84 100644 --- a/.lycheeignore +++ b/.lycheeignore @@ -1 +1 @@ -https://github.com/gemini-cli-extensions/postgres/compare/ +https://github.com/GoogleCloudPlatform/postgres-plugin/compare/ diff --git a/CHANGELOG.md b/CHANGELOG.md index b4a2a80..1d643ca 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,45 +1,45 @@ # Changelog -## [0.2.3](https://github.com/gemini-cli-extensions/postgres/compare/0.2.2...0.2.3) (2026-08-18) +## [0.2.3](https://github.com/GoogleCloudPlatform/postgres-plugin/compare/0.2.2...0.2.3) (2026-08-18) ### Features -* **groups:** Add ttlMs and cacheScope customization to config ([mcp-toolbox#​3805](https://redirect.github.com/googleapis/mcp-toolbox/issues/3805)) ([a5d4947](https://redirect.github.com/googleapis/mcp-toolbox/commit/a5d49472bad85e8955dc83852e65c5cd92f351a3)) ([cff6189](https://github.com/gemini-cli-extensions/postgres/commit/cff6189277af65a009dd0918aa4c8e2d95fb2498)) -* **migrate:** Convert toolset to group kind during migration ([mcp-toolbox#​3704](https://redirect.github.com/googleapis/mcp-toolbox/issues/3704)) ([0adeaa5](https://redirect.github.com/googleapis/mcp-toolbox/commit/0adeaa51c4e132fe36553b24f88e8f62df90bfaa)) ([cff6189](https://github.com/gemini-cli-extensions/postgres/commit/cff6189277af65a009dd0918aa4c8e2d95fb2498)) -* **server/mcp:** Introduce generic client extension registry ([mcp-toolbox#​3723](https://redirect.github.com/googleapis/mcp-toolbox/issues/3723)) ([016245c](https://redirect.github.com/googleapis/mcp-toolbox/commit/016245c21c254a05409a41845e0a8799518363a0)) ([cff6189](https://github.com/gemini-cli-extensions/postgres/commit/cff6189277af65a009dd0918aa4c8e2d95fb2498)) -* **skill:** Add review-prs skill for mcp-toolbox ([mcp-toolbox#​3743](https://redirect.github.com/googleapis/mcp-toolbox/issues/3743)) ([5b7bacc](https://redirect.github.com/googleapis/mcp-toolbox/commit/5b7bacc73b9284160b73c4c3f7a53214c653e64a)) ([cff6189](https://github.com/gemini-cli-extensions/postgres/commit/cff6189277af65a009dd0918aa4c8e2d95fb2498)) -* **tools:** Add cloud-sql-connect-gce for pg, mysql, mssql ([mcp-toolbox#​3740](https://redirect.github.com/googleapis/mcp-toolbox/issues/3740)) ([ca58fa4](https://redirect.github.com/googleapis/mcp-toolbox/commit/ca58fa4b525d6726b9792a9f6303fbcc26c9ca3f)) ([cff6189](https://github.com/gemini-cli-extensions/postgres/commit/cff6189277af65a009dd0918aa4c8e2d95fb2498)) -* adopt Agent Plugin spec and generate harness manifests ([#105](https://github.com/gemini-cli-extensions/postgres/issues/105)) ([2a4523f](https://github.com/gemini-cli-extensions/postgres/commit/2a4523ffca894e80777703e403a71daa08d70fad)) +* **groups:** Add ttlMs and cacheScope customization to config ([mcp-toolbox#​3805](https://redirect.github.com/googleapis/mcp-toolbox/issues/3805)) ([a5d4947](https://redirect.github.com/googleapis/mcp-toolbox/commit/a5d49472bad85e8955dc83852e65c5cd92f351a3)) ([cff6189](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/cff6189277af65a009dd0918aa4c8e2d95fb2498)) +* **migrate:** Convert toolset to group kind during migration ([mcp-toolbox#​3704](https://redirect.github.com/googleapis/mcp-toolbox/issues/3704)) ([0adeaa5](https://redirect.github.com/googleapis/mcp-toolbox/commit/0adeaa51c4e132fe36553b24f88e8f62df90bfaa)) ([cff6189](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/cff6189277af65a009dd0918aa4c8e2d95fb2498)) +* **server/mcp:** Introduce generic client extension registry ([mcp-toolbox#​3723](https://redirect.github.com/googleapis/mcp-toolbox/issues/3723)) ([016245c](https://redirect.github.com/googleapis/mcp-toolbox/commit/016245c21c254a05409a41845e0a8799518363a0)) ([cff6189](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/cff6189277af65a009dd0918aa4c8e2d95fb2498)) +* **skill:** Add review-prs skill for mcp-toolbox ([mcp-toolbox#​3743](https://redirect.github.com/googleapis/mcp-toolbox/issues/3743)) ([5b7bacc](https://redirect.github.com/googleapis/mcp-toolbox/commit/5b7bacc73b9284160b73c4c3f7a53214c653e64a)) ([cff6189](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/cff6189277af65a009dd0918aa4c8e2d95fb2498)) +* **tools:** Add cloud-sql-connect-gce for pg, mysql, mssql ([mcp-toolbox#​3740](https://redirect.github.com/googleapis/mcp-toolbox/issues/3740)) ([ca58fa4](https://redirect.github.com/googleapis/mcp-toolbox/commit/ca58fa4b525d6726b9792a9f6303fbcc26c9ca3f)) ([cff6189](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/cff6189277af65a009dd0918aa4c8e2d95fb2498)) +* adopt Agent Plugin spec and generate harness manifests ([#105](https://github.com/GoogleCloudPlatform/postgres-plugin/issues/105)) ([2a4523f](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/2a4523ffca894e80777703e403a71daa08d70fad)) ### Bug Fixes -* **auth/mcp:** Derive PRM URL from Toolbox URL ([mcp-toolbox#​3765](https://redirect.github.com/googleapis/mcp-toolbox/issues/3765)) ([aa30842](https://redirect.github.com/googleapis/mcp-toolbox/commit/aa308422ad6dd73a014722c3ebf9628d7aa9cc8f)) ([cff6189](https://github.com/gemini-cli-extensions/postgres/commit/cff6189277af65a009dd0918aa4c8e2d95fb2498)) -* **config:** Ignore environment variables in YAML comments ([mcp-toolbox#​3807](https://redirect.github.com/googleapis/mcp-toolbox/issues/3807)) ([79aa732](https://redirect.github.com/googleapis/mcp-toolbox/commit/79aa73247d35286e1cc4309883d539cf9a470686)), refs [mcp-toolbox#​3793](https://redirect.github.com/googleapis/mcp-toolbox/issues/3793) ([cff6189](https://github.com/gemini-cli-extensions/postgres/commit/cff6189277af65a009dd0918aa4c8e2d95fb2498)) -* **mcp:** Return Tool execution error for invalid input param ([mcp-toolbox#​3799](https://redirect.github.com/googleapis/mcp-toolbox/issues/3799)) ([8120197](https://redirect.github.com/googleapis/mcp-toolbox/commit/81201978a7a1d2a786eb3707ddaa7b090dd1c454)) ([cff6189](https://github.com/gemini-cli-extensions/postgres/commit/cff6189277af65a009dd0918aa4c8e2d95fb2498)) -* **prebuilt/cloud-storage:** Declare tool collections as groups ([mcp-toolbox#​3764](https://redirect.github.com/googleapis/mcp-toolbox/issues/3764)) ([7d468be](https://redirect.github.com/googleapis/mcp-toolbox/commit/7d468be107dfe476d77bd7f937b5dd9c61e5cdc8)) ([cff6189](https://github.com/gemini-cli-extensions/postgres/commit/cff6189277af65a009dd0918aa4c8e2d95fb2498)) -* **server:** Avoid a nil-flusher panic in the SSE handler ([mcp-toolbox#​3520](https://redirect.github.com/googleapis/mcp-toolbox/issues/3520)) ([947f42f](https://redirect.github.com/googleapis/mcp-toolbox/commit/947f42f3e8a07362466566043045491d2318db29)) ([cff6189](https://github.com/gemini-cli-extensions/postgres/commit/cff6189277af65a009dd0918aa4c8e2d95fb2498)) -* **server/mcp:** Disallow client overriding URL bound parameters ([mcp-toolbox#​3798](https://redirect.github.com/googleapis/mcp-toolbox/issues/3798)) ([f15a9c7](https://redirect.github.com/googleapis/mcp-toolbox/commit/f15a9c7082215bd8e9990395d01b5e4fa3b36c69)) ([cff6189](https://github.com/gemini-cli-extensions/postgres/commit/cff6189277af65a009dd0918aa4c8e2d95fb2498)) -* **util:** Convert exponent-form JSON numbers in ConvertNumbers ([mcp-toolbox#​3730](https://redirect.github.com/googleapis/mcp-toolbox/issues/3730)) ([e9713ee](https://redirect.github.com/googleapis/mcp-toolbox/commit/e9713eec3acea912e0b6a254b845bd9da04f8192)) ([cff6189](https://github.com/gemini-cli-extensions/postgres/commit/cff6189277af65a009dd0918aa4c8e2d95fb2498)) -* **ci:** restore pull_request_target for mirror-changelog ([#109](https://github.com/gemini-cli-extensions/postgres/issues/109)) ([05b0618](https://github.com/gemini-cli-extensions/postgres/commit/05b0618de8e6c62f9aee2ae1c047c3f865697540)) -* treat database tool output as untrusted data in model context ([#102](https://github.com/gemini-cli-extensions/postgres/issues/102)) ([a98397a](https://github.com/gemini-cli-extensions/postgres/commit/a98397ad5a55fbd51cceb18f69f3b7ffbe42ce4d)) +* **auth/mcp:** Derive PRM URL from Toolbox URL ([mcp-toolbox#​3765](https://redirect.github.com/googleapis/mcp-toolbox/issues/3765)) ([aa30842](https://redirect.github.com/googleapis/mcp-toolbox/commit/aa308422ad6dd73a014722c3ebf9628d7aa9cc8f)) ([cff6189](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/cff6189277af65a009dd0918aa4c8e2d95fb2498)) +* **config:** Ignore environment variables in YAML comments ([mcp-toolbox#​3807](https://redirect.github.com/googleapis/mcp-toolbox/issues/3807)) ([79aa732](https://redirect.github.com/googleapis/mcp-toolbox/commit/79aa73247d35286e1cc4309883d539cf9a470686)), refs [mcp-toolbox#​3793](https://redirect.github.com/googleapis/mcp-toolbox/issues/3793) ([cff6189](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/cff6189277af65a009dd0918aa4c8e2d95fb2498)) +* **mcp:** Return Tool execution error for invalid input param ([mcp-toolbox#​3799](https://redirect.github.com/googleapis/mcp-toolbox/issues/3799)) ([8120197](https://redirect.github.com/googleapis/mcp-toolbox/commit/81201978a7a1d2a786eb3707ddaa7b090dd1c454)) ([cff6189](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/cff6189277af65a009dd0918aa4c8e2d95fb2498)) +* **prebuilt/cloud-storage:** Declare tool collections as groups ([mcp-toolbox#​3764](https://redirect.github.com/googleapis/mcp-toolbox/issues/3764)) ([7d468be](https://redirect.github.com/googleapis/mcp-toolbox/commit/7d468be107dfe476d77bd7f937b5dd9c61e5cdc8)) ([cff6189](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/cff6189277af65a009dd0918aa4c8e2d95fb2498)) +* **server:** Avoid a nil-flusher panic in the SSE handler ([mcp-toolbox#​3520](https://redirect.github.com/googleapis/mcp-toolbox/issues/3520)) ([947f42f](https://redirect.github.com/googleapis/mcp-toolbox/commit/947f42f3e8a07362466566043045491d2318db29)) ([cff6189](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/cff6189277af65a009dd0918aa4c8e2d95fb2498)) +* **server/mcp:** Disallow client overriding URL bound parameters ([mcp-toolbox#​3798](https://redirect.github.com/googleapis/mcp-toolbox/issues/3798)) ([f15a9c7](https://redirect.github.com/googleapis/mcp-toolbox/commit/f15a9c7082215bd8e9990395d01b5e4fa3b36c69)) ([cff6189](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/cff6189277af65a009dd0918aa4c8e2d95fb2498)) +* **util:** Convert exponent-form JSON numbers in ConvertNumbers ([mcp-toolbox#​3730](https://redirect.github.com/googleapis/mcp-toolbox/issues/3730)) ([e9713ee](https://redirect.github.com/googleapis/mcp-toolbox/commit/e9713eec3acea912e0b6a254b845bd9da04f8192)) ([cff6189](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/cff6189277af65a009dd0918aa4c8e2d95fb2498)) +* **ci:** restore pull_request_target for mirror-changelog ([#109](https://github.com/GoogleCloudPlatform/postgres-plugin/issues/109)) ([05b0618](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/05b0618de8e6c62f9aee2ae1c047c3f865697540)) +* treat database tool output as untrusted data in model context ([#102](https://github.com/GoogleCloudPlatform/postgres-plugin/issues/102)) ([a98397a](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/a98397ad5a55fbd51cceb18f69f3b7ffbe42ce4d)) -## [0.2.2](https://github.com/gemini-cli-extensions/postgres/compare/0.2.1...0.2.2) (2026-02-24) +## [0.2.2](https://github.com/GoogleCloudPlatform/postgres-plugin/compare/0.2.1...0.2.2) (2026-02-24) ### Bug Fixes -* remove broken keychain support for password ([#90](https://github.com/gemini-cli-extensions/postgres/issues/90)) ([239018f](https://github.com/gemini-cli-extensions/postgres/commit/239018f922890c729478868b9d24b672b889f47f)) +* remove broken keychain support for password ([#90](https://github.com/GoogleCloudPlatform/postgres-plugin/issues/90)) ([239018f](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/239018f922890c729478868b9d24b672b889f47f)) -## [0.2.1](https://github.com/gemini-cli-extensions/postgres/compare/0.2.0...0.2.1) (2026-01-30) +## [0.2.1](https://github.com/GoogleCloudPlatform/postgres-plugin/compare/0.2.0...0.2.1) (2026-01-30) ### Features -* add Configuration settings ([#75](https://github.com/gemini-cli-extensions/postgres/issues/75)) ([2df656a](https://github.com/gemini-cli-extensions/postgres/commit/2df656ae1b0e614437d21725e7e96a4c56bd68c9)) +* add Configuration settings ([#75](https://github.com/GoogleCloudPlatform/postgres-plugin/issues/75)) ([2df656a](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/2df656ae1b0e614437d21725e7e96a4c56bd68c9)) -## [0.2.0](https://github.com/gemini-cli-extensions/postgres/compare/0.1.5...0.2.0) (2026-01-26) +## [0.2.0](https://github.com/GoogleCloudPlatform/postgres-plugin/compare/0.1.5...0.2.0) (2026-01-26) ### ⚠ BREAKING CHANGES @@ -48,75 +48,75 @@ ### Features -* **prebuilt/cloud-sql:** Add create backup tool for Cloud SQL ([mcp-toolbox#​2141](https://redirect.github.com/googleapis/mcp-toolbox/issues/2141)) ([8e0fb03](https://redirect.github.com/googleapis/mcp-toolbox/commit/8e0fb0348315a80f63cb47b3c7204869482448f4)) ([515afdc](https://github.com/gemini-cli-extensions/postgres/commit/515afdcdbaad85fe7fd89162d3c0c080d38e8a18)) -* **prebuilt/cloud-sql:** Add restore backup tool for Cloud SQL ([mcp-toolbox#​2171](https://redirect.github.com/googleapis/mcp-toolbox/issues/2171)) ([00c3e6d](https://redirect.github.com/googleapis/mcp-toolbox/commit/00c3e6d8cba54e2ab6cb271c7e6b378895df53e1)) ([515afdc](https://github.com/gemini-cli-extensions/postgres/commit/515afdcdbaad85fe7fd89162d3c0c080d38e8a18)) -* **tools/postgres:** Add additional filter params for existing postgres tools ([mcp-toolbox#​2033](https://redirect.github.com/googleapis/mcp-toolbox/issues/2033)) ([489117d](https://redirect.github.com/googleapis/mcp-toolbox/commit/489117d74711ac9260e7547163ca463eb45eeaa2)) ([328dca4](https://github.com/gemini-cli-extensions/postgres/commit/328dca4b1a632c5bc5f6d3bd67862574b8f8c426)) -* **tools/postgres:** Add list\_pg\_settings, list\_database\_stats tools for postgres ([mcp-toolbox#​2030](https://redirect.github.com/googleapis/mcp-toolbox/issues/2030)) ([32367a4](https://redirect.github.com/googleapis/mcp-toolbox/commit/32367a472fae9653fed7f126428eba0252978bd5)) ([328dca4](https://github.com/gemini-cli-extensions/postgres/commit/328dca4b1a632c5bc5f6d3bd67862574b8f8c426)) -* **tools/postgres:** Add new postgres-list-roles tool ([mcp-toolbox#​2038](https://redirect.github.com/googleapis/mcp-toolbox/issues/2038)) ([bea9705](https://redirect.github.com/googleapis/mcp-toolbox/commit/bea97054502cfa236aa10e2ebc8ff58eb00ad035)) ([328dca4](https://github.com/gemini-cli-extensions/postgres/commit/328dca4b1a632c5bc5f6d3bd67862574b8f8c426)) -* **tools/postgressql:** Add Parameter `embeddedBy` config support ([mcp-toolbox#​2151](https://redirect.github.com/googleapis/mcp-toolbox/issues/2151)) ([17b70cc](https://redirect.github.com/googleapis/mcp-toolbox/commit/17b70ccaa754d15bcc33a1a3ecb7e652520fa600)) ([328dca4](https://github.com/gemini-cli-extensions/postgres/commit/328dca4b1a632c5bc5f6d3bd67862574b8f8c426)) -* **tools/postgressql:** Add tool to list store procedure ([mcp-toolbox#​2156](https://redirect.github.com/googleapis/mcp-toolbox/issues/2156)) ([cf0fc51](https://redirect.github.com/googleapis/mcp-toolbox/commit/cf0fc515b57d9b84770076f3c0c5597c4597ef62)) ([328dca4](https://github.com/gemini-cli-extensions/postgres/commit/328dca4b1a632c5bc5f6d3bd67862574b8f8c426)) -* Support MCP specs version 2025-11-25 ([mcp-toolbox#​2303](https://redirect.github.com/googleapis/mcp-toolbox/issues/2303)) ([4d23a3b](https://redirect.github.com/googleapis/mcp-toolbox/commit/4d23a3bbf2797b1f7fe328aeb5789e778121da23)) ([515afdc](https://github.com/gemini-cli-extensions/postgres/commit/515afdcdbaad85fe7fd89162d3c0c080d38e8a18)) -* Validate tool naming ([mcp-toolbox#​2305](https://redirect.github.com/googleapis/mcp-toolbox/issues/2305)) ([5054212](https://redirect.github.com/googleapis/mcp-toolbox/commit/5054212fa43017207fe83275d27b9fbab96e8ab5)) ([515afdc](https://github.com/gemini-cli-extensions/postgres/commit/515afdcdbaad85fe7fd89162d3c0c080d38e8a18)) +* **prebuilt/cloud-sql:** Add create backup tool for Cloud SQL ([mcp-toolbox#​2141](https://redirect.github.com/googleapis/mcp-toolbox/issues/2141)) ([8e0fb03](https://redirect.github.com/googleapis/mcp-toolbox/commit/8e0fb0348315a80f63cb47b3c7204869482448f4)) ([515afdc](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/515afdcdbaad85fe7fd89162d3c0c080d38e8a18)) +* **prebuilt/cloud-sql:** Add restore backup tool for Cloud SQL ([mcp-toolbox#​2171](https://redirect.github.com/googleapis/mcp-toolbox/issues/2171)) ([00c3e6d](https://redirect.github.com/googleapis/mcp-toolbox/commit/00c3e6d8cba54e2ab6cb271c7e6b378895df53e1)) ([515afdc](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/515afdcdbaad85fe7fd89162d3c0c080d38e8a18)) +* **tools/postgres:** Add additional filter params for existing postgres tools ([mcp-toolbox#​2033](https://redirect.github.com/googleapis/mcp-toolbox/issues/2033)) ([489117d](https://redirect.github.com/googleapis/mcp-toolbox/commit/489117d74711ac9260e7547163ca463eb45eeaa2)) ([328dca4](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/328dca4b1a632c5bc5f6d3bd67862574b8f8c426)) +* **tools/postgres:** Add list\_pg\_settings, list\_database\_stats tools for postgres ([mcp-toolbox#​2030](https://redirect.github.com/googleapis/mcp-toolbox/issues/2030)) ([32367a4](https://redirect.github.com/googleapis/mcp-toolbox/commit/32367a472fae9653fed7f126428eba0252978bd5)) ([328dca4](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/328dca4b1a632c5bc5f6d3bd67862574b8f8c426)) +* **tools/postgres:** Add new postgres-list-roles tool ([mcp-toolbox#​2038](https://redirect.github.com/googleapis/mcp-toolbox/issues/2038)) ([bea9705](https://redirect.github.com/googleapis/mcp-toolbox/commit/bea97054502cfa236aa10e2ebc8ff58eb00ad035)) ([328dca4](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/328dca4b1a632c5bc5f6d3bd67862574b8f8c426)) +* **tools/postgressql:** Add Parameter `embeddedBy` config support ([mcp-toolbox#​2151](https://redirect.github.com/googleapis/mcp-toolbox/issues/2151)) ([17b70cc](https://redirect.github.com/googleapis/mcp-toolbox/commit/17b70ccaa754d15bcc33a1a3ecb7e652520fa600)) ([328dca4](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/328dca4b1a632c5bc5f6d3bd67862574b8f8c426)) +* **tools/postgressql:** Add tool to list store procedure ([mcp-toolbox#​2156](https://redirect.github.com/googleapis/mcp-toolbox/issues/2156)) ([cf0fc51](https://redirect.github.com/googleapis/mcp-toolbox/commit/cf0fc515b57d9b84770076f3c0c5597c4597ef62)) ([328dca4](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/328dca4b1a632c5bc5f6d3bd67862574b8f8c426)) +* Support MCP specs version 2025-11-25 ([mcp-toolbox#​2303](https://redirect.github.com/googleapis/mcp-toolbox/issues/2303)) ([4d23a3b](https://redirect.github.com/googleapis/mcp-toolbox/commit/4d23a3bbf2797b1f7fe328aeb5789e778121da23)) ([515afdc](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/515afdcdbaad85fe7fd89162d3c0c080d38e8a18)) +* Validate tool naming ([mcp-toolbox#​2305](https://redirect.github.com/googleapis/mcp-toolbox/issues/2305)) ([5054212](https://redirect.github.com/googleapis/mcp-toolbox/commit/5054212fa43017207fe83275d27b9fbab96e8ab5)) ([515afdc](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/515afdcdbaad85fe7fd89162d3c0c080d38e8a18)) ### Bug Fixes -* List tables tools null fix ([mcp-toolbox#​2107](https://redirect.github.com/googleapis/mcp-toolbox/issues/2107)) ([2b45266](https://redirect.github.com/googleapis/mcp-toolbox/commit/2b452665983154041d4cd0ed7d82532e4af682eb)) ([328dca4](https://github.com/gemini-cli-extensions/postgres/commit/328dca4b1a632c5bc5f6d3bd67862574b8f8c426)) +* List tables tools null fix ([mcp-toolbox#​2107](https://redirect.github.com/googleapis/mcp-toolbox/issues/2107)) ([2b45266](https://redirect.github.com/googleapis/mcp-toolbox/commit/2b452665983154041d4cd0ed7d82532e4af682eb)) ([328dca4](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/328dca4b1a632c5bc5f6d3bd67862574b8f8c426)) -## [0.1.5](https://github.com/gemini-cli-extensions/postgres/compare/0.1.4...0.1.5) (2025-12-08) +## [0.1.5](https://github.com/GoogleCloudPlatform/postgres-plugin/compare/0.1.4...0.1.5) (2025-12-08) ### Features -* **tools/postgres-list-publication-tables:** Add new postgres-list-publication-tables tool ([mcp-toolbox#​1919](https://redirect.github.com/googleapis/mcp-toolbox/issues/1919)) ([f4b1f0a](https://redirect.github.com/googleapis/mcp-toolbox/commit/f4b1f0a68000ca2fc0325f55a1905705417c38a2)) ([2c3714e](https://github.com/gemini-cli-extensions/postgres/commit/2c3714ed3868e8264b8d1a41bd23261d781fa260)) -* **tools/postgres-list-tablespaces:** Add new postgres-list-tablespaces tool ([mcp-toolbox#​1934](https://redirect.github.com/googleapis/mcp-toolbox/issues/1934)) ([5ad7c61](https://redirect.github.com/googleapis/mcp-toolbox/commit/5ad7c6127b3e47504fc4afda0b7f3de1dff78b8b)) ([2c3714e](https://github.com/gemini-cli-extensions/postgres/commit/2c3714ed3868e8264b8d1a41bd23261d781fa260)) -* **tools/postgres:** Add list-query-stats and get-column-cardinality functions ([mcp-toolbox#​1976](https://redirect.github.com/googleapis/mcp-toolbox/issues/1976)) ([9f76026](https://redirect.github.com/googleapis/mcp-toolbox/commit/9f760269253a8cc92a357e995c6993ccc4a0fb7b)) ([2c3714e](https://github.com/gemini-cli-extensions/postgres/commit/2c3714ed3868e8264b8d1a41bd23261d781fa260)) +* **tools/postgres-list-publication-tables:** Add new postgres-list-publication-tables tool ([mcp-toolbox#​1919](https://redirect.github.com/googleapis/mcp-toolbox/issues/1919)) ([f4b1f0a](https://redirect.github.com/googleapis/mcp-toolbox/commit/f4b1f0a68000ca2fc0325f55a1905705417c38a2)) ([2c3714e](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/2c3714ed3868e8264b8d1a41bd23261d781fa260)) +* **tools/postgres-list-tablespaces:** Add new postgres-list-tablespaces tool ([mcp-toolbox#​1934](https://redirect.github.com/googleapis/mcp-toolbox/issues/1934)) ([5ad7c61](https://redirect.github.com/googleapis/mcp-toolbox/commit/5ad7c6127b3e47504fc4afda0b7f3de1dff78b8b)) ([2c3714e](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/2c3714ed3868e8264b8d1a41bd23261d781fa260)) +* **tools/postgres:** Add list-query-stats and get-column-cardinality functions ([mcp-toolbox#​1976](https://redirect.github.com/googleapis/mcp-toolbox/issues/1976)) ([9f76026](https://redirect.github.com/googleapis/mcp-toolbox/commit/9f760269253a8cc92a357e995c6993ccc4a0fb7b)) ([2c3714e](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/2c3714ed3868e8264b8d1a41bd23261d781fa260)) -## [0.1.4](https://github.com/gemini-cli-extensions/postgres/compare/0.1.3...0.1.4) (2025-12-01) +## [0.1.4](https://github.com/GoogleCloudPlatform/postgres-plugin/compare/0.1.3...0.1.4) (2025-12-01) ### Features -* **tools/postgres:** Add `long_running_transactions`, `list_locks` and `replication_stats` tools ([mcp-toolbox#​1751](https://redirect.github.com/googleapis/mcp-toolbox/issues/1751)) ([5abad5d](https://redirect.github.com/googleapis/mcp-toolbox/commit/5abad5d56c6cc5ba86adc5253b948bf8230fa830)) ([159f7d5](https://github.com/gemini-cli-extensions/postgres/commit/159f7d50673345dcec96903e90a8fd9d6383582f)) +* **tools/postgres:** Add `long_running_transactions`, `list_locks` and `replication_stats` tools ([mcp-toolbox#​1751](https://redirect.github.com/googleapis/mcp-toolbox/issues/1751)) ([5abad5d](https://redirect.github.com/googleapis/mcp-toolbox/commit/5abad5d56c6cc5ba86adc5253b948bf8230fa830)) ([159f7d5](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/159f7d50673345dcec96903e90a8fd9d6383582f)) ### Bug Fixes -* **tools:** Check for query execution error for pgxpool.Pool ([mcp-toolbox#​1969](https://redirect.github.com/googleapis/mcp-toolbox/issues/1969)) ([2bff138](https://redirect.github.com/googleapis/mcp-toolbox/commit/2bff1384a3570ef46bc03ebebc507923af261987)) ([159f7d5](https://github.com/gemini-cli-extensions/postgres/commit/159f7d50673345dcec96903e90a8fd9d6383582f)) +* **tools:** Check for query execution error for pgxpool.Pool ([mcp-toolbox#​1969](https://redirect.github.com/googleapis/mcp-toolbox/issues/1969)) ([2bff138](https://redirect.github.com/googleapis/mcp-toolbox/commit/2bff1384a3570ef46bc03ebebc507923af261987)) ([159f7d5](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/159f7d50673345dcec96903e90a8fd9d6383582f)) -## [0.1.3](https://github.com/gemini-cli-extensions/postgres/compare/0.1.2...0.1.3) (2025-11-18) +## [0.1.3](https://github.com/GoogleCloudPlatform/postgres-plugin/compare/0.1.2...0.1.3) (2025-11-18) ### Features -* **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 ([mcp-toolbox#​1588](https://redirect.github.com/googleapis/mcp-toolbox/issues/1588)) ([12bdd95](https://redirect.github.com/googleapis/mcp-toolbox/commit/12bdd954597e49d3ec6b247cc104584c5a4d1943)) ([89a0789](https://github.com/gemini-cli-extensions/postgres/commit/89a0789c18d0b66b4ae14febf19ae3a1ffb4c06e)) -* **source/Postgresql:** Set default host and port for Postgresql source ([mcp-toolbox#​1927](https://redirect.github.com/googleapis/mcp-toolbox/issues/1927)) ([7e6e88a](https://redirect.github.com/googleapis/mcp-toolbox/commit/7e6e88a21f2b9b60e0d645cdde33a95892d31a04)) ([89a0789](https://github.com/gemini-cli-extensions/postgres/commit/89a0789c18d0b66b4ae14febf19ae3a1ffb4c06e)) -* **tools/postgres:** Add `list_triggers`, `database_overview` tools for postgres ([mcp-toolbox#​1912](https://redirect.github.com/googleapis/mcp-toolbox/issues/1912)) ([a4c9287](https://redirect.github.com/googleapis/mcp-toolbox/commit/a4c9287aecf848faa98d973a9ce5b13fa309a58e)) ([89a0789](https://github.com/gemini-cli-extensions/postgres/commit/89a0789c18d0b66b4ae14febf19ae3a1ffb4c06e)) -* **tools/postgres:** Add list\_indexes, list\_sequences tools for postgres ([mcp-toolbox#​1765](https://redirect.github.com/googleapis/mcp-toolbox/issues/1765)) ([897c63d](https://redirect.github.com/googleapis/mcp-toolbox/commit/897c63dcea43226262d2062088c59f2d1068fca7)) ([89a0789](https://github.com/gemini-cli-extensions/postgres/commit/89a0789c18d0b66b4ae14febf19ae3a1ffb4c06e)) -* Added prompt support for toolbox ([mcp-toolbox#​1798](https://redirect.github.com/googleapis/mcp-toolbox/issues/1798)) ([cd56ea4](https://redirect.github.com/googleapis/mcp-toolbox/commit/cd56ea44fbdd149fcb92324e70ee36ac747635db)) ([89a0789](https://github.com/gemini-cli-extensions/postgres/commit/89a0789c18d0b66b4ae14febf19ae3a1ffb4c06e)) +* **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 ([mcp-toolbox#​1588](https://redirect.github.com/googleapis/mcp-toolbox/issues/1588)) ([12bdd95](https://redirect.github.com/googleapis/mcp-toolbox/commit/12bdd954597e49d3ec6b247cc104584c5a4d1943)) ([89a0789](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/89a0789c18d0b66b4ae14febf19ae3a1ffb4c06e)) +* **source/Postgresql:** Set default host and port for Postgresql source ([mcp-toolbox#​1927](https://redirect.github.com/googleapis/mcp-toolbox/issues/1927)) ([7e6e88a](https://redirect.github.com/googleapis/mcp-toolbox/commit/7e6e88a21f2b9b60e0d645cdde33a95892d31a04)) ([89a0789](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/89a0789c18d0b66b4ae14febf19ae3a1ffb4c06e)) +* **tools/postgres:** Add `list_triggers`, `database_overview` tools for postgres ([mcp-toolbox#​1912](https://redirect.github.com/googleapis/mcp-toolbox/issues/1912)) ([a4c9287](https://redirect.github.com/googleapis/mcp-toolbox/commit/a4c9287aecf848faa98d973a9ce5b13fa309a58e)) ([89a0789](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/89a0789c18d0b66b4ae14febf19ae3a1ffb4c06e)) +* **tools/postgres:** Add list\_indexes, list\_sequences tools for postgres ([mcp-toolbox#​1765](https://redirect.github.com/googleapis/mcp-toolbox/issues/1765)) ([897c63d](https://redirect.github.com/googleapis/mcp-toolbox/commit/897c63dcea43226262d2062088c59f2d1068fca7)) ([89a0789](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/89a0789c18d0b66b4ae14febf19ae3a1ffb4c06e)) +* Added prompt support for toolbox ([mcp-toolbox#​1798](https://redirect.github.com/googleapis/mcp-toolbox/issues/1798)) ([cd56ea4](https://redirect.github.com/googleapis/mcp-toolbox/commit/cd56ea44fbdd149fcb92324e70ee36ac747635db)) ([89a0789](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/89a0789c18d0b66b4ae14febf19ae3a1ffb4c06e)) -## [0.1.2](https://github.com/gemini-cli-extensions/postgres/compare/0.1.1...0.1.2) (2025-11-07) +## [0.1.2](https://github.com/GoogleCloudPlatform/postgres-plugin/compare/0.1.1...0.1.2) (2025-11-07) ### Features -* **tools/postgres-list-schemas:** Add new postgres-list-schemas tool ([mcp-toolbox#​1741](https://redirect.github.com/googleapis/mcp-toolbox/issues/1741)) ([1a19cac](https://redirect.github.com/googleapis/mcp-toolbox/commit/1a19cac7cd89ed70291eb55e190370fe7b2c1aba)) ([6876ee4](https://github.com/gemini-cli-extensions/postgres/commit/6876ee4b2a1b9e932bd42c9bee148b8d66873749)) -* **tools/postgres-list-views:** Add new postgres-list-views tool ([mcp-toolbox#​1709](https://redirect.github.com/googleapis/mcp-toolbox/issues/1709)) ([e8c7fe0](https://redirect.github.com/googleapis/mcp-toolbox/commit/e8c7fe0994fedcb9be78d461fab3c98cc6bd86b2)) ([6876ee4](https://github.com/gemini-cli-extensions/postgres/commit/6876ee4b2a1b9e932bd42c9bee148b8d66873749)) +* **tools/postgres-list-schemas:** Add new postgres-list-schemas tool ([mcp-toolbox#​1741](https://redirect.github.com/googleapis/mcp-toolbox/issues/1741)) ([1a19cac](https://redirect.github.com/googleapis/mcp-toolbox/commit/1a19cac7cd89ed70291eb55e190370fe7b2c1aba)) ([6876ee4](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/6876ee4b2a1b9e932bd42c9bee148b8d66873749)) +* **tools/postgres-list-views:** Add new postgres-list-views tool ([mcp-toolbox#​1709](https://redirect.github.com/googleapis/mcp-toolbox/issues/1709)) ([e8c7fe0](https://redirect.github.com/googleapis/mcp-toolbox/commit/e8c7fe0994fedcb9be78d461fab3c98cc6bd86b2)) ([6876ee4](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/6876ee4b2a1b9e932bd42c9bee148b8d66873749)) ### Bug Fixes -* **tools/postgres-execute-sql:** Do not ignore SQL failure ([mcp-toolbox#​1829](https://redirect.github.com/googleapis/mcp-toolbox/issues/1829)) ([8984287](https://redirect.github.com/googleapis/mcp-toolbox/commit/898428759c2a1a384bea8939605cf0914d129bec)) ([6876ee4](https://github.com/gemini-cli-extensions/postgres/commit/6876ee4b2a1b9e932bd42c9bee148b8d66873749)) +* **tools/postgres-execute-sql:** Do not ignore SQL failure ([mcp-toolbox#​1829](https://redirect.github.com/googleapis/mcp-toolbox/issues/1829)) ([8984287](https://redirect.github.com/googleapis/mcp-toolbox/commit/898428759c2a1a384bea8939605cf0914d129bec)) ([6876ee4](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/6876ee4b2a1b9e932bd42c9bee148b8d66873749)) -## [0.1.1](https://github.com/gemini-cli-extensions/postgres/compare/0.1.0...0.1.1) (2025-09-30) +## [0.1.1](https://github.com/GoogleCloudPlatform/postgres-plugin/compare/0.1.0...0.1.1) (2025-09-30) ### Features -* additional instructions for the context file ([#26](https://github.com/gemini-cli-extensions/postgres/issues/26)) ([96f8337](https://github.com/gemini-cli-extensions/postgres/commit/96f83373f5694367b8a9ac605617dcfc85ed1926)) -* standardize mcp server names ([#24](https://github.com/gemini-cli-extensions/postgres/issues/24)) ([2810ce4](https://github.com/gemini-cli-extensions/postgres/commit/2810ce4a3fb29394d5bc65eefef8d2ed46f3e8e9)) -* update context file to guide on changing resources ([db50b17](https://github.com/gemini-cli-extensions/postgres/commit/db50b17570815827784bf78de43136298b4931b9)) -* update context file to recommend full table name ([#27](https://github.com/gemini-cli-extensions/postgres/issues/27)) ([3f109bc](https://github.com/gemini-cli-extensions/postgres/commit/3f109bc278862390083269a6a96fd016548a636f)) +* additional instructions for the context file ([#26](https://github.com/GoogleCloudPlatform/postgres-plugin/issues/26)) ([96f8337](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/96f83373f5694367b8a9ac605617dcfc85ed1926)) +* standardize mcp server names ([#24](https://github.com/GoogleCloudPlatform/postgres-plugin/issues/24)) ([2810ce4](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/2810ce4a3fb29394d5bc65eefef8d2ed46f3e8e9)) +* update context file to guide on changing resources ([db50b17](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/db50b17570815827784bf78de43136298b4931b9)) +* update context file to recommend full table name ([#27](https://github.com/GoogleCloudPlatform/postgres-plugin/issues/27)) ([3f109bc](https://github.com/GoogleCloudPlatform/postgres-plugin/commit/3f109bc278862390083269a6a96fd016548a636f)) ## 0.1.0 (2025-09-21) diff --git a/DEVELOPER.md b/DEVELOPER.md index 5822414..77904a3 100644 --- a/DEVELOPER.md +++ b/DEVELOPER.md @@ -21,7 +21,7 @@ The core logic for this extension is handled by a pre-built `toolbox` binary. Th 1. **Clone the Repository:** ```bash - git clone https://github.com/gemini-cli-extensions/postgres.git + git clone https://github.com/GoogleCloudPlatform/postgres-plugin.git cd postgres ``` diff --git a/README.md b/README.md index 9ff70f6..a8755e0 100644 --- a/README.md +++ b/README.md @@ -42,27 +42,27 @@ All harnesses use the same plugin; the MCP server runs via `npx` (no binary to d **Gemini CLI** ```bash -gemini extensions install https://github.com/gemini-cli-extensions/postgres +gemini extensions install https://github.com/GoogleCloudPlatform/postgres-plugin ``` **Claude Code** ```bash -claude plugin marketplace add gemini-cli-extensions/postgres +claude plugin marketplace add GoogleCloudPlatform/postgres-plugin claude plugin install postgres@postgres ``` **Codex** ```bash -codex plugin marketplace add gemini-cli-extensions/postgres +codex plugin marketplace add GoogleCloudPlatform/postgres-plugin codex plugin add postgres@postgres ``` **Antigravity** ```bash -agy plugin install https://github.com/gemini-cli-extensions/postgres +agy plugin install https://github.com/GoogleCloudPlatform/postgres-plugin ``` See [Configuration](#configuration) for how each harness supplies the connection settings. @@ -149,7 +149,7 @@ Interact with Postgres using natural language right from your IDE: ## Additional Extensions Find additional extensions to support your entire software development lifecycle at [github.com/gemini-cli-extensions](https://github.com/gemini-cli-extensions), including: -* [Cloud SQL for PostgreSQL extension](https://github.com/gemini-cli-extensions/cloud-sql-postgresql) +* [Cloud SQL for PostgreSQL extension](https://github.com/GoogleCloudPlatform/cloud-sql-postgresql-plugin) * and more! ## Troubleshooting diff --git a/plugin.json b/plugin.json index b47f537..365f398 100644 --- a/plugin.json +++ b/plugin.json @@ -7,7 +7,7 @@ "name": "Google LLC", "email": "data-cloud-ai-integrations@google.com" }, - "repository": "https://github.com/gemini-cli-extensions/postgres", + "repository": "https://github.com/GoogleCloudPlatform/postgres-plugin", "license": "Apache-2.0", "extensions": { "com.google.cloud.data.agent-plugins": { diff --git a/tutorials/quickstart.md b/tutorials/quickstart.md index ae4eb32..87a597b 100644 --- a/tutorials/quickstart.md +++ b/tutorials/quickstart.md @@ -26,7 +26,7 @@ Gemini CLI includes a pre-built extension for connecting to any PostgreSQL datab 1. Install the extension: ```bash - gemini extensions install https://github.com/gemini-cli-extensions/postgres + gemini extensions install https://github.com/GoogleCloudPlatform/postgres-plugin ``` ## Configuration From 90442ca1d92350ebed362dfcea0dc94d541d9078 Mon Sep 17 00:00:00 2001 From: Haoyu Wang Date: Mon, 9 Nov 2026 21:17:51 +0000 Subject: [PATCH 4/5] chore: point CODEOWNERS at GoogleCloudPlatform teams GitHub teams did not move with the repo, so the gemini-cli-extensions teams no longer apply. Use the GoogleCloudPlatform teams mapped via TeamLink. --- .github/CODEOWNERS | 2 +- DEVELOPER.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 74a0efd..550fb58 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -3,4 +3,4 @@ # For syntax help see: # https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax -* @gemini-cli-extensions/senseai-eco @gemini-cli-extensions/postgres-maintainers +* @GoogleCloudPlatform/senseai-eco @GoogleCloudPlatform/cloud-sql-postgresql-plugin-maintainers diff --git a/DEVELOPER.md b/DEVELOPER.md index 77904a3..a11a157 100644 --- a/DEVELOPER.md +++ b/DEVELOPER.md @@ -91,8 +91,8 @@ required. The primary maintainers for this repository are defined in the [`.github/CODEOWNERS`](.github/CODEOWNERS) file: -* `@gemini-cli-extensions/senseai-eco` -* `@gemini-cli-extensions/postgres-maintainers` +* `@GoogleCloudPlatform/senseai-eco` +* `@GoogleCloudPlatform/cloud-sql-postgresql-plugin-maintainers` ### Releasing From eb6fc7ece0b3bd125b7cd64b826b4188c1fd5ba0 Mon Sep 17 00:00:00 2001 From: Haoyu Wang Date: Mon, 9 Nov 2026 21:35:01 +0000 Subject: [PATCH 5/5] ci: use exact version comments for pinned actions Fixes zizmor ref-version-mismatch findings. --- .github/workflows/header-check.yml | 2 +- .github/workflows/json-lint.yml | 2 +- .github/workflows/markdown-checks.yml | 2 +- .github/workflows/pr-title-linter.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/header-check.yml b/.github/workflows/header-check.yml index 3495ff5..c2fa4a5 100644 --- a/.github/workflows/header-check.yml +++ b/.github/workflows/header-check.yml @@ -27,7 +27,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Checkout Repository' - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: persist-credentials: false diff --git a/.github/workflows/json-lint.yml b/.github/workflows/json-lint.yml index d8bb81f..bb2688c 100644 --- a/.github/workflows/json-lint.yml +++ b/.github/workflows/json-lint.yml @@ -26,7 +26,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: persist-credentials: false diff --git a/.github/workflows/markdown-checks.yml b/.github/workflows/markdown-checks.yml index e8370b2..86ce4c4 100644 --- a/.github/workflows/markdown-checks.yml +++ b/.github/workflows/markdown-checks.yml @@ -27,7 +27,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 with: persist-credentials: false diff --git a/.github/workflows/pr-title-linter.yml b/.github/workflows/pr-title-linter.yml index 30e4a46..060a674 100644 --- a/.github/workflows/pr-title-linter.yml +++ b/.github/workflows/pr-title-linter.yml @@ -25,6 +25,6 @@ jobs: name: Validate PR title runs-on: ubuntu-latest steps: - - uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6 + - uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}