From 71f381fd9c1922b5400e47d243a1c5bd8530df6d Mon Sep 17 00:00:00 2001 From: Twisha Bansal Date: Mon, 4 May 2026 19:55:44 +0530 Subject: [PATCH 01/26] write script to auto generate skills --- .ci/skills-gen.cloudbuild.yaml | 102 +++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 .ci/skills-gen.cloudbuild.yaml diff --git a/.ci/skills-gen.cloudbuild.yaml b/.ci/skills-gen.cloudbuild.yaml new file mode 100644 index 0000000..895de64 --- /dev/null +++ b/.ci/skills-gen.cloudbuild.yaml @@ -0,0 +1,102 @@ +# Copyright 2026 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. + +steps: + - id: "detect-changes" + name: "gcr.io/cloud-builders/git" + waitFor: ["-"] + entrypoint: "bash" + args: + - -c + - | + git fetch --unshallow || true + git fetch origin $_BASE_BRANCH > /dev/null 2>&1 + git diff --name-only origin/$_BASE_BRANCH...HEAD > /workspace/changed_files.txt + + - id: "generate-skills" + name: "node:20" + waitFor: ["detect-changes"] + entrypoint: "bash" + env: + - "CLOUD_SQL_POSTGRES_PROJECT=$PROJECT_ID" + - "CLOUD_SQL_POSTGRES_INSTANCE=$_CLOUD_SQL_POSTGRES_INSTANCE" + - "CLOUD_SQL_POSTGRES_DATABASE=$_DATABASE_NAME" + - "CLOUD_SQL_POSTGRES_REGION=$_REGION" + secretEnv: + ["CLOUD_SQL_POSTGRES_USER", "CLOUD_SQL_POSTGRES_PASSWORD", "GITHUB_TOKEN"] + args: + - -c + - | + PATTERN="^toolbox_version.txt$" + + if ! grep -qE "$$PATTERN" /workspace/changed_files.txt; then + echo "No relevant changes for toolbox_version.txt. Skipping generation." + exit 0 + fi + + VERSION=$(cat toolbox_version.txt | tr -d '\n') + echo "Detected toolbox version: $$VERSION" + + echo "Generating skills via npx..." + npx @toolbox-sdk/server@$${VERSION} --prebuilt cloud-sql-postgres skills-generate \ + --name "cloud-sql-postgres-lifecycle" \ + --description "Use these skills when you need to manage the lifecycle of your instances, including performing backups and restores, checking major version upgrade compatibility, and monitoring overall instance status." \ + --toolset=lifecycle \ + --toolbox_version=$${VERSION} \ + --license-header "// Copyright 2026 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." \ + --additional-notes="Note: The scripts automatically load the environment variables from various .env files. Do not ask the user to set vars unless skill executions fails due to env var absence." + + if [ -z "$(git status --porcelain)" ]; then + echo "No new files generated. Exiting." + exit 0 + fi + + git config --global user.email "cloudbuild@google.com" + git config --global user.name "Cloud Build Bot" + git remote set-url origin https://x-access-token:$$GITHUB_TOKEN@github.com/gemini-cli-extensions/cloud-sql-postgresql.git + git add . + git commit -m "chore: auto-generate lifecycle skills based on toolbox_version.txt update" + git push origin HEAD:$_HEAD_BRANCH + +availableSecrets: + secretManager: + - versionName: projects/$PROJECT_ID/secrets/cloud_sql_pg_user/versions/latest + env: CLOUD_SQL_POSTGRES_USER + - versionName: projects/$PROJECT_ID/secrets/cloud_sql_pg_pass/versions/latest + env: CLOUD_SQL_POSTGRES_PASSWORD + - versionName: projects/$PROJECT_ID/secrets/github_token/versions/latest + env: GITHUB_TOKEN + +options: + logging: CLOUD_LOGGING_ONLY + automapSubstitutions: true + substitutionOption: "ALLOW_LOOSE" + dynamicSubstitutions: true + +substitutions: + _DATABASE_NAME: "test_database" + _REGION: "us-central1" + _CLOUD_SQL_POSTGRES_INSTANCE: "cloud-sql-pg-testing" From e199967ef7acf9f3c8ec8731be4105ba69d3c928 Mon Sep 17 00:00:00 2001 From: Twisha Bansal <58483338+twishabansal@users.noreply.github.com> Date: Tue, 5 May 2026 11:48:44 +0530 Subject: [PATCH 02/26] test version update --- toolbox_version.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolbox_version.txt b/toolbox_version.txt index 9084fa2..3eefcb9 100644 --- a/toolbox_version.txt +++ b/toolbox_version.txt @@ -1 +1 @@ -1.1.0 +1.0.0 From 3258b6cd2f91b410af14fe9a6a05ca60bf5f14b7 Mon Sep 17 00:00:00 2001 From: Twisha Bansal Date: Mon, 4 May 2026 20:28:55 +0530 Subject: [PATCH 03/26] fix --- .ci/skills-gen.cloudbuild.yaml | 60 +++++++++------------------------- 1 file changed, 16 insertions(+), 44 deletions(-) diff --git a/.ci/skills-gen.cloudbuild.yaml b/.ci/skills-gen.cloudbuild.yaml index 895de64..190ac53 100644 --- a/.ci/skills-gen.cloudbuild.yaml +++ b/.ci/skills-gen.cloudbuild.yaml @@ -1,32 +1,6 @@ -# Copyright 2026 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. - steps: - - id: "detect-changes" - name: "gcr.io/cloud-builders/git" - waitFor: ["-"] - entrypoint: "bash" - args: - - -c - - | - git fetch --unshallow || true - git fetch origin $_BASE_BRANCH > /dev/null 2>&1 - git diff --name-only origin/$_BASE_BRANCH...HEAD > /workspace/changed_files.txt - - id: "generate-skills" name: "node:20" - waitFor: ["detect-changes"] entrypoint: "bash" env: - "CLOUD_SQL_POSTGRES_PROJECT=$PROJECT_ID" @@ -34,26 +8,23 @@ steps: - "CLOUD_SQL_POSTGRES_DATABASE=$_DATABASE_NAME" - "CLOUD_SQL_POSTGRES_REGION=$_REGION" secretEnv: - ["CLOUD_SQL_POSTGRES_USER", "CLOUD_SQL_POSTGRES_PASSWORD", "GITHUB_TOKEN"] + [ + "CLOUD_SQL_POSTGRES_USER", + "CLOUD_SQL_POSTGRES_PASSWORD", + "GITHUB_TOKEN" + ] args: - -c - | - PATTERN="^toolbox_version.txt$" - - if ! grep -qE "$$PATTERN" /workspace/changed_files.txt; then - echo "No relevant changes for toolbox_version.txt. Skipping generation." - exit 0 - fi - - VERSION=$(cat toolbox_version.txt | tr -d '\n') + VERSION=$$(cat toolbox_version.txt | tr -d '\n') echo "Detected toolbox version: $$VERSION" echo "Generating skills via npx..." - npx @toolbox-sdk/server@$${VERSION} --prebuilt cloud-sql-postgres skills-generate \ + npx @toolbox-sdk/server@$$VERSION --prebuilt cloud-sql-postgres skills-generate \ --name "cloud-sql-postgres-lifecycle" \ --description "Use these skills when you need to manage the lifecycle of your instances, including performing backups and restores, checking major version upgrade compatibility, and monitoring overall instance status." \ --toolset=lifecycle \ - --toolbox_version=$${VERSION} \ + --toolbox_version=$$VERSION \ --license-header "// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the \"License\"); @@ -69,7 +40,7 @@ steps: // limitations under the License." \ --additional-notes="Note: The scripts automatically load the environment variables from various .env files. Do not ask the user to set vars unless skill executions fails due to env var absence." - if [ -z "$(git status --porcelain)" ]; then + if [ -z "$$(git status --porcelain)" ]; then echo "No new files generated. Exiting." exit 0 fi @@ -77,18 +48,19 @@ steps: git config --global user.email "cloudbuild@google.com" git config --global user.name "Cloud Build Bot" git remote set-url origin https://x-access-token:$$GITHUB_TOKEN@github.com/gemini-cli-extensions/cloud-sql-postgresql.git + git add . git commit -m "chore: auto-generate lifecycle skills based on toolbox_version.txt update" git push origin HEAD:$_HEAD_BRANCH availableSecrets: secretManager: - - versionName: projects/$PROJECT_ID/secrets/cloud_sql_pg_user/versions/latest - env: CLOUD_SQL_POSTGRES_USER - - versionName: projects/$PROJECT_ID/secrets/cloud_sql_pg_pass/versions/latest - env: CLOUD_SQL_POSTGRES_PASSWORD - - versionName: projects/$PROJECT_ID/secrets/github_token/versions/latest - env: GITHUB_TOKEN + - versionName: projects/$PROJECT_ID/secrets/CLOUD_SQL_PG_USER/versions/latest + env: 'CLOUD_SQL_POSTGRES_USER' + - versionName: projects/$PROJECT_ID/secrets/CLOUD_SQL_PG_PASS/versions/latest + env: 'CLOUD_SQL_POSTGRES_PASSWORD' + - versionName: projects/$PROJECT_ID/secrets/GITHUB_PAT/versions/latest + env: 'GITHUB_TOKEN' options: logging: CLOUD_LOGGING_ONLY From 1d69023eef5fa7f9dff7ea0435e97890176860cd Mon Sep 17 00:00:00 2001 From: Twisha Bansal Date: Mon, 4 May 2026 20:31:23 +0530 Subject: [PATCH 04/26] fix vars --- .ci/skills-gen.cloudbuild.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/skills-gen.cloudbuild.yaml b/.ci/skills-gen.cloudbuild.yaml index 190ac53..9f57916 100644 --- a/.ci/skills-gen.cloudbuild.yaml +++ b/.ci/skills-gen.cloudbuild.yaml @@ -55,9 +55,9 @@ steps: availableSecrets: secretManager: - - versionName: projects/$PROJECT_ID/secrets/CLOUD_SQL_PG_USER/versions/latest + - versionName: projects/$PROJECT_ID/secrets/cloud_sql_pg_user/versions/latest env: 'CLOUD_SQL_POSTGRES_USER' - - versionName: projects/$PROJECT_ID/secrets/CLOUD_SQL_PG_PASS/versions/latest + - versionName: projects/$PROJECT_ID/secrets/cloud_sql_pg_pass/versions/latest env: 'CLOUD_SQL_POSTGRES_PASSWORD' - versionName: projects/$PROJECT_ID/secrets/GITHUB_PAT/versions/latest env: 'GITHUB_TOKEN' From e50e6f0fe5bbdcad065aca3725da543ca91b19fc Mon Sep 17 00:00:00 2001 From: Twisha Bansal Date: Tue, 5 May 2026 11:21:58 +0530 Subject: [PATCH 05/26] fix --- .ci/skills-gen.cloudbuild.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.ci/skills-gen.cloudbuild.yaml b/.ci/skills-gen.cloudbuild.yaml index 9f57916..9a5dc71 100644 --- a/.ci/skills-gen.cloudbuild.yaml +++ b/.ci/skills-gen.cloudbuild.yaml @@ -16,6 +16,8 @@ steps: args: - -c - | + git config --global --add safe.directory '*' + VERSION=$$(cat toolbox_version.txt | tr -d '\n') echo "Detected toolbox version: $$VERSION" @@ -59,7 +61,7 @@ availableSecrets: env: 'CLOUD_SQL_POSTGRES_USER' - versionName: projects/$PROJECT_ID/secrets/cloud_sql_pg_pass/versions/latest env: 'CLOUD_SQL_POSTGRES_PASSWORD' - - versionName: projects/$PROJECT_ID/secrets/GITHUB_PAT/versions/latest + - versionName: projects/$PROJECT_ID/secrets/github_token_cloud_sql_postgresql/versions/latest env: 'GITHUB_TOKEN' options: @@ -71,4 +73,4 @@ options: substitutions: _DATABASE_NAME: "test_database" _REGION: "us-central1" - _CLOUD_SQL_POSTGRES_INSTANCE: "cloud-sql-pg-testing" + _CLOUD_SQL_POSTGRES_INSTANCE: "cloud-sql-pg-testing" \ No newline at end of file From fc25ccc9d5479c7185d1f65954c0d8bd71cf9624 Mon Sep 17 00:00:00 2001 From: Twisha Bansal Date: Tue, 5 May 2026 11:43:11 +0530 Subject: [PATCH 06/26] add license --- .ci/skills-gen.cloudbuild.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.ci/skills-gen.cloudbuild.yaml b/.ci/skills-gen.cloudbuild.yaml index 9a5dc71..8d0afd6 100644 --- a/.ci/skills-gen.cloudbuild.yaml +++ b/.ci/skills-gen.cloudbuild.yaml @@ -1,3 +1,17 @@ +# Copyright 2026 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. + steps: - id: "generate-skills" name: "node:20" From 130c596c2839e913571efa16b32c93aff0377ce1 Mon Sep 17 00:00:00 2001 From: Twisha Bansal Date: Tue, 5 May 2026 12:16:08 +0530 Subject: [PATCH 07/26] move commands into skill gen script --- .ci/scripts/generate_skills.sh | 83 ++++++++++++++++++++++++++++++++++ .ci/skills-gen.cloudbuild.yaml | 57 ++++++++++------------- 2 files changed, 108 insertions(+), 32 deletions(-) create mode 100644 .ci/scripts/generate_skills.sh diff --git a/.ci/scripts/generate_skills.sh b/.ci/scripts/generate_skills.sh new file mode 100644 index 0000000..c19cd96 --- /dev/null +++ b/.ci/scripts/generate_skills.sh @@ -0,0 +1,83 @@ +#!/bin/bash +set -e + +# Ensure VERSION is passed from the environment +if [ -z "$VERSION" ]; then + echo "Error: VERSION environment variable is not set." + exit 1 +fi + +echo "Generating skills via npx using toolbox version: $VERSION..." + +# Common Variables +LICENSE_HEADER="// Copyright 2026 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." + +ADDITIONAL_NOTES="Note: The scripts automatically load the environment variables from various .env files. Do not ask the user to set vars unless skill executions fails due to env var absence." + +# Base Command Function +generate_skill() { + local SKILL_NAME="$1" + local SKILL_DESC="$2" + local TOOLSET="$3" + + npx "@toolbox-sdk/server@${VERSION}" --prebuilt cloud-sql-postgres skills-generate \ + --name "$SKILL_NAME" \ + --description "$SKILL_DESC" \ + --toolset="$TOOLSET" \ + --license-header "$LICENSE_HEADER" \ + --additional-notes="$ADDITIONAL_NOTES" +} + +# 1. Admin +generate_skill "cloud-sql-postgres-admin" \ + "Use these skills when you need to provision new Cloud SQL instances, create databases and users, clone existing environments, and monitor the progress of long-running operations." \ + "admin" + +# 2. Lifecycle +generate_skill "cloud-sql-postgres-lifecycle" \ + "Use these skills when you need to manage the lifecycle of your instances, including performing backups and restores, checking major version upgrade compatibility, and monitoring overall instance status." \ + "lifecycle" + +# 3. Data +generate_skill "cloud-sql-postgres-data" \ + "Use these skills when you need to explore the database structure, discover schema objects like views or stored procedures, and execute custom SQL queries to interact with your data." \ + "data" + +# 4. Monitor +generate_skill "cloud-sql-postgres-monitor" \ + "Use these skills when you need to troubleshoot performance bottlenecks, analyze query execution plans, identify resource-heavy processes, and monitor system-level PromQL metrics." \ + "monitor" + +# 5. Health +generate_skill "cloud-sql-postgres-health" \ + "Use these skills when you need to audit database health, identify storage bloat, find invalid indexes, analyze table statistics, and manage maintenance configurations like autovacuum." \ + "monitor" + +# 6. View Config +generate_skill "cloud-sql-postgres-view-config" \ + "Use these skills when you need to discover and manage PostgreSQL extensions or fine-tune engine-level settings such as memory allocation and server configuration parameters." \ + "view-config" + +# 7. Replication +generate_skill "cloud-sql-postgres-replication" \ + "Use these skills when you need to monitor replication health, manage sync states between nodes, and audit database roles and security settings to ensure environment integrity." \ + "replication" + +# 8. Vector Assist +generate_skill "cloud-sql-postgres-vectorassist" \ + "Use these skills to set up and optimize production-ready vector workloads by simply expressing your intent and performance requirements" \ + "vectorassist" + +echo "All skills generated successfully!" diff --git a/.ci/skills-gen.cloudbuild.yaml b/.ci/skills-gen.cloudbuild.yaml index 8d0afd6..d7aff6f 100644 --- a/.ci/skills-gen.cloudbuild.yaml +++ b/.ci/skills-gen.cloudbuild.yaml @@ -22,49 +22,42 @@ steps: - "CLOUD_SQL_POSTGRES_DATABASE=$_DATABASE_NAME" - "CLOUD_SQL_POSTGRES_REGION=$_REGION" secretEnv: - [ - "CLOUD_SQL_POSTGRES_USER", - "CLOUD_SQL_POSTGRES_PASSWORD", - "GITHUB_TOKEN" - ] + - "CLOUD_SQL_POSTGRES_USER" + - "CLOUD_SQL_POSTGRES_PASSWORD" args: - -c - | - git config --global --add safe.directory '*' - - VERSION=$$(cat toolbox_version.txt | tr -d '\n') + # Read the version and export it so the script can use it + export VERSION=$$(cat toolbox_version.txt | tr -d '\n') echo "Detected toolbox version: $$VERSION" + + # Ensure the script is executable, then run it + chmod +x ./scripts/generate_skills.sh + ./scripts/generate_skills.sh - echo "Generating skills via npx..." - npx @toolbox-sdk/server@$$VERSION --prebuilt cloud-sql-postgres skills-generate \ - --name "cloud-sql-postgres-lifecycle" \ - --description "Use these skills when you need to manage the lifecycle of your instances, including performing backups and restores, checking major version upgrade compatibility, and monitoring overall instance status." \ - --toolset=lifecycle \ - --toolbox_version=$$VERSION \ - --license-header "// Copyright 2026 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." \ - --additional-notes="Note: The scripts automatically load the environment variables from various .env files. Do not ask the user to set vars unless skill executions fails due to env var absence." - + - id: "commit-and-push" + name: "gcr.io/cloud-builders/git" + waitFor: ["generate-skills"] + entrypoint: "bash" + secretEnv: + - "GITHUB_TOKEN" + args: + - -c + - | + git config --global --add safe.directory '*' + + # Check if the script actually created/changed any files if [ -z "$$(git status --porcelain)" ]; then - echo "No new files generated. Exiting." + echo "No new files generated. Exiting without committing." exit 0 fi + echo "Changes detected. Preparing to commit..." git config --global user.email "cloudbuild@google.com" git config --global user.name "Cloud Build Bot" - git remote set-url origin https://x-access-token:$$GITHUB_TOKEN@github.com/gemini-cli-extensions/cloud-sql-postgresql.git + # Authenticate and push + git remote set-url origin https://x-access-token:$$GITHUB_TOKEN@github.com/gemini-cli-extensions/cloud-sql-postgresql.git git add . git commit -m "chore: auto-generate lifecycle skills based on toolbox_version.txt update" git push origin HEAD:$_HEAD_BRANCH @@ -87,4 +80,4 @@ options: substitutions: _DATABASE_NAME: "test_database" _REGION: "us-central1" - _CLOUD_SQL_POSTGRES_INSTANCE: "cloud-sql-pg-testing" \ No newline at end of file + _CLOUD_SQL_POSTGRES_INSTANCE: "cloud-sql-pg-testing" From 9d712806fb0c06534408a5a8fd7c7fa7fee4bd00 Mon Sep 17 00:00:00 2001 From: Twisha Bansal Date: Tue, 5 May 2026 12:57:47 +0530 Subject: [PATCH 08/26] make executable --- .ci/scripts/generate_skills.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 .ci/scripts/generate_skills.sh diff --git a/.ci/scripts/generate_skills.sh b/.ci/scripts/generate_skills.sh old mode 100644 new mode 100755 From 62b8f9ea8be8af614fe5b31dbb19e81d8063c907 Mon Sep 17 00:00:00 2001 From: Twisha Bansal Date: Tue, 5 May 2026 12:58:26 +0530 Subject: [PATCH 09/26] fix --- .ci/skills-gen.cloudbuild.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.ci/skills-gen.cloudbuild.yaml b/.ci/skills-gen.cloudbuild.yaml index d7aff6f..f70282e 100644 --- a/.ci/skills-gen.cloudbuild.yaml +++ b/.ci/skills-gen.cloudbuild.yaml @@ -31,9 +31,8 @@ steps: export VERSION=$$(cat toolbox_version.txt | tr -d '\n') echo "Detected toolbox version: $$VERSION" - # Ensure the script is executable, then run it - chmod +x ./scripts/generate_skills.sh - ./scripts/generate_skills.sh + chmod +x ./.ci/scripts/generate_skills.sh + ./.ci/scripts/generate_skills.sh - id: "commit-and-push" name: "gcr.io/cloud-builders/git" From 637f38915aea8951afb4ef835c794ef929b57bd2 Mon Sep 17 00:00:00 2001 From: Twisha Bansal Date: Tue, 5 May 2026 13:01:02 +0530 Subject: [PATCH 10/26] test changes. revert before merge --- .ci/scripts/generate_skills.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.ci/scripts/generate_skills.sh b/.ci/scripts/generate_skills.sh index c19cd96..6d530aa 100755 --- a/.ci/scripts/generate_skills.sh +++ b/.ci/scripts/generate_skills.sh @@ -75,9 +75,9 @@ generate_skill "cloud-sql-postgres-replication" \ "Use these skills when you need to monitor replication health, manage sync states between nodes, and audit database roles and security settings to ensure environment integrity." \ "replication" -# 8. Vector Assist -generate_skill "cloud-sql-postgres-vectorassist" \ - "Use these skills to set up and optimize production-ready vector workloads by simply expressing your intent and performance requirements" \ - "vectorassist" +# # 8. Vector Assist +# generate_skill "cloud-sql-postgres-vectorassist" \ +# "Use these skills to set up and optimize production-ready vector workloads by simply expressing your intent and performance requirements" \ +# "vectorassist" echo "All skills generated successfully!" From b185244d49b25bba5a3962bdc52dc4e2e23c44f5 Mon Sep 17 00:00:00 2001 From: Twisha Bansal <58483338+twishabansal@users.noreply.github.com> Date: Tue, 5 May 2026 13:01:38 +0530 Subject: [PATCH 11/26] Update skills-gen.cloudbuild.yaml --- .ci/skills-gen.cloudbuild.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/skills-gen.cloudbuild.yaml b/.ci/skills-gen.cloudbuild.yaml index f70282e..6c57d14 100644 --- a/.ci/skills-gen.cloudbuild.yaml +++ b/.ci/skills-gen.cloudbuild.yaml @@ -58,7 +58,7 @@ steps: # Authenticate and push git remote set-url origin https://x-access-token:$$GITHUB_TOKEN@github.com/gemini-cli-extensions/cloud-sql-postgresql.git git add . - git commit -m "chore: auto-generate lifecycle skills based on toolbox_version.txt update" + git commit -m "chore: auto-generate skills based on toolbox_version.txt update" git push origin HEAD:$_HEAD_BRANCH availableSecrets: From ede85d07fe965c39b339e1f3d0d8807b76067a23 Mon Sep 17 00:00:00 2001 From: Twisha Bansal Date: Tue, 5 May 2026 13:18:11 +0530 Subject: [PATCH 12/26] add ssh --- .ci/skills-gen.cloudbuild.yaml | 42 ++++++++++++++++++++++++---------- 1 file changed, 30 insertions(+), 12 deletions(-) diff --git a/.ci/skills-gen.cloudbuild.yaml b/.ci/skills-gen.cloudbuild.yaml index 6c57d14..63df1c1 100644 --- a/.ci/skills-gen.cloudbuild.yaml +++ b/.ci/skills-gen.cloudbuild.yaml @@ -13,8 +13,27 @@ # limitations under the License. steps: + - id: "setup-ssh" + name: "gcr.io/cloud-builders/git" + entrypoint: "bash" + secretEnv: + - "GITHUB_TOKEN" + volumes: + - name: "ssh-keys" + path: /root/.ssh + args: + - -c + - | + # Write the secret key to the shared volume and secure it + echo "$$GITHUB_TOKEN" > /root/.ssh/id_ed25519 + chmod 400 /root/.ssh/id_ed25519 + + # Scan GitHub's server to prevent interactive prompts + ssh-keyscan -t rsa github.com > /root/.ssh/known_hosts + - id: "generate-skills" name: "node:20" + waitFor: ["setup-ssh"] entrypoint: "bash" env: - "CLOUD_SQL_POSTGRES_PROJECT=$PROJECT_ID" @@ -27,10 +46,9 @@ steps: args: - -c - | - # Read the version and export it so the script can use it export VERSION=$$(cat toolbox_version.txt | tr -d '\n') echo "Detected toolbox version: $$VERSION" - + chmod +x ./.ci/scripts/generate_skills.sh ./.ci/scripts/generate_skills.sh @@ -38,14 +56,14 @@ steps: name: "gcr.io/cloud-builders/git" waitFor: ["generate-skills"] entrypoint: "bash" - secretEnv: - - "GITHUB_TOKEN" + volumes: + - name: "ssh-keys" # This mounts the keys generated in Step 1 + path: /root/.ssh args: - -c - | git config --global --add safe.directory '*' - - # Check if the script actually created/changed any files + if [ -z "$$(git status --porcelain)" ]; then echo "No new files generated. Exiting without committing." exit 0 @@ -54,9 +72,9 @@ steps: echo "Changes detected. Preparing to commit..." git config --global user.email "cloudbuild@google.com" git config --global user.name "Cloud Build Bot" - - # Authenticate and push - git remote set-url origin https://x-access-token:$$GITHUB_TOKEN@github.com/gemini-cli-extensions/cloud-sql-postgresql.git + + # We can now just push natively using the SSH URL! + git remote set-url origin git@github.com:gemini-cli-extensions/cloud-sql-postgresql.git git add . git commit -m "chore: auto-generate skills based on toolbox_version.txt update" git push origin HEAD:$_HEAD_BRANCH @@ -64,11 +82,11 @@ steps: availableSecrets: secretManager: - versionName: projects/$PROJECT_ID/secrets/cloud_sql_pg_user/versions/latest - env: 'CLOUD_SQL_POSTGRES_USER' + env: "CLOUD_SQL_POSTGRES_USER" - versionName: projects/$PROJECT_ID/secrets/cloud_sql_pg_pass/versions/latest - env: 'CLOUD_SQL_POSTGRES_PASSWORD' + env: "CLOUD_SQL_POSTGRES_PASSWORD" - versionName: projects/$PROJECT_ID/secrets/github_token_cloud_sql_postgresql/versions/latest - env: 'GITHUB_TOKEN' + env: "GITHUB_TOKEN" options: logging: CLOUD_LOGGING_ONLY From 17744b730d7254f5b8538c93da454096d9dbdb35 Mon Sep 17 00:00:00 2001 From: Twisha Bansal Date: Tue, 5 May 2026 13:23:20 +0530 Subject: [PATCH 13/26] fix print command --- .ci/skills-gen.cloudbuild.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/skills-gen.cloudbuild.yaml b/.ci/skills-gen.cloudbuild.yaml index 63df1c1..ed4e4c6 100644 --- a/.ci/skills-gen.cloudbuild.yaml +++ b/.ci/skills-gen.cloudbuild.yaml @@ -25,7 +25,7 @@ steps: - -c - | # Write the secret key to the shared volume and secure it - echo "$$GITHUB_TOKEN" > /root/.ssh/id_ed25519 + printf "%s\n" "$$GITHUB_TOKEN" > /root/.ssh/id_ed25519 chmod 400 /root/.ssh/id_ed25519 # Scan GitHub's server to prevent interactive prompts From 02968955dedd02726815319e3cc0806bf51d02a8 Mon Sep 17 00:00:00 2001 From: Cloud Build Bot Date: Tue, 5 May 2026 07:57:13 +0000 Subject: [PATCH 14/26] chore: auto-generate skills based on toolbox_version.txt update --- skills/cloud-sql-postgres-admin/scripts/clone_instance.js | 2 +- skills/cloud-sql-postgres-admin/scripts/create_database.js | 2 +- skills/cloud-sql-postgres-admin/scripts/create_instance.js | 2 +- skills/cloud-sql-postgres-admin/scripts/create_user.js | 2 +- skills/cloud-sql-postgres-admin/scripts/get_instance.js | 2 +- skills/cloud-sql-postgres-admin/scripts/list_databases.js | 2 +- skills/cloud-sql-postgres-admin/scripts/list_instances.js | 2 +- skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js | 2 +- skills/cloud-sql-postgres-data/scripts/execute_sql.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_indexes.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_schemas.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_sequences.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_tables.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_triggers.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_views.js | 2 +- skills/cloud-sql-postgres-health/scripts/get_query_metrics.js | 2 +- skills/cloud-sql-postgres-health/scripts/get_query_plan.js | 2 +- skills/cloud-sql-postgres-health/scripts/get_system_metrics.js | 2 +- skills/cloud-sql-postgres-health/scripts/list_active_queries.js | 2 +- skills/cloud-sql-postgres-health/scripts/list_database_stats.js | 2 +- skills/cloud-sql-postgres-health/scripts/list_locks.js | 2 +- skills/cloud-sql-postgres-health/scripts/list_query_stats.js | 2 +- .../scripts/long_running_transactions.js | 2 +- skills/cloud-sql-postgres-lifecycle/scripts/create_backup.js | 2 +- .../cloud-sql-postgres-lifecycle/scripts/database_overview.js | 2 +- skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js | 2 +- skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js | 2 +- .../scripts/postgres_upgrade_precheck.js | 2 +- skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js | 2 +- .../cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js | 2 +- skills/cloud-sql-postgres-monitor/scripts/get_query_metrics.js | 2 +- skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js | 2 +- skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js | 2 +- .../cloud-sql-postgres-monitor/scripts/list_active_queries.js | 2 +- .../cloud-sql-postgres-monitor/scripts/list_database_stats.js | 2 +- skills/cloud-sql-postgres-monitor/scripts/list_locks.js | 2 +- skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js | 2 +- .../scripts/long_running_transactions.js | 2 +- .../cloud-sql-postgres-replication/scripts/database_overview.js | 2 +- .../cloud-sql-postgres-replication/scripts/list_pg_settings.js | 2 +- .../scripts/list_publication_tables.js | 2 +- .../scripts/list_replication_slots.js | 2 +- skills/cloud-sql-postgres-replication/scripts/list_roles.js | 2 +- .../cloud-sql-postgres-replication/scripts/replication_stats.js | 2 +- .../cloud-sql-postgres-view-config/scripts/database_overview.js | 2 +- skills/cloud-sql-postgres-view-config/scripts/get_instance.js | 2 +- .../scripts/list_available_extensions.js | 2 +- .../scripts/list_installed_extensions.js | 2 +- .../scripts/list_memory_configurations.js | 2 +- .../cloud-sql-postgres-view-config/scripts/list_pg_settings.js | 2 +- 51 files changed, 51 insertions(+), 51 deletions(-) diff --git a/skills/cloud-sql-postgres-admin/scripts/clone_instance.js b/skills/cloud-sql-postgres-admin/scripts/clone_instance.js index 5c34f38..3c180dd 100755 --- a/skills/cloud-sql-postgres-admin/scripts/clone_instance.js +++ b/skills/cloud-sql-postgres-admin/scripts/clone_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/create_database.js b/skills/cloud-sql-postgres-admin/scripts/create_database.js index 7b74296..9bc5dbb 100755 --- a/skills/cloud-sql-postgres-admin/scripts/create_database.js +++ b/skills/cloud-sql-postgres-admin/scripts/create_database.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/create_instance.js b/skills/cloud-sql-postgres-admin/scripts/create_instance.js index 00025ad..3961581 100755 --- a/skills/cloud-sql-postgres-admin/scripts/create_instance.js +++ b/skills/cloud-sql-postgres-admin/scripts/create_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/create_user.js b/skills/cloud-sql-postgres-admin/scripts/create_user.js index 61763cf..33d664d 100755 --- a/skills/cloud-sql-postgres-admin/scripts/create_user.js +++ b/skills/cloud-sql-postgres-admin/scripts/create_user.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/get_instance.js b/skills/cloud-sql-postgres-admin/scripts/get_instance.js index aa6655c..acd5037 100755 --- a/skills/cloud-sql-postgres-admin/scripts/get_instance.js +++ b/skills/cloud-sql-postgres-admin/scripts/get_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/list_databases.js b/skills/cloud-sql-postgres-admin/scripts/list_databases.js index d6a1b0a..5450ed4 100755 --- a/skills/cloud-sql-postgres-admin/scripts/list_databases.js +++ b/skills/cloud-sql-postgres-admin/scripts/list_databases.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/list_instances.js b/skills/cloud-sql-postgres-admin/scripts/list_instances.js index fe97252..66d0603 100755 --- a/skills/cloud-sql-postgres-admin/scripts/list_instances.js +++ b/skills/cloud-sql-postgres-admin/scripts/list_instances.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js b/skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js index 9bbf399..06aa8e1 100755 --- a/skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js +++ b/skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/execute_sql.js b/skills/cloud-sql-postgres-data/scripts/execute_sql.js index b0711f5..d1be556 100755 --- a/skills/cloud-sql-postgres-data/scripts/execute_sql.js +++ b/skills/cloud-sql-postgres-data/scripts/execute_sql.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_indexes.js b/skills/cloud-sql-postgres-data/scripts/list_indexes.js index 4bd05b7..b64b34d 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_indexes.js +++ b/skills/cloud-sql-postgres-data/scripts/list_indexes.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_schemas.js b/skills/cloud-sql-postgres-data/scripts/list_schemas.js index 75e9c9e..e7f358c 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_schemas.js +++ b/skills/cloud-sql-postgres-data/scripts/list_schemas.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_sequences.js b/skills/cloud-sql-postgres-data/scripts/list_sequences.js index 8886e4f..034c86f 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_sequences.js +++ b/skills/cloud-sql-postgres-data/scripts/list_sequences.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js b/skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js index e1caba8..a148eaa 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js +++ b/skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_tables.js b/skills/cloud-sql-postgres-data/scripts/list_tables.js index e871600..5131cd8 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_tables.js +++ b/skills/cloud-sql-postgres-data/scripts/list_tables.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_triggers.js b/skills/cloud-sql-postgres-data/scripts/list_triggers.js index 74d85fe..ed8db23 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_triggers.js +++ b/skills/cloud-sql-postgres-data/scripts/list_triggers.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_views.js b/skills/cloud-sql-postgres-data/scripts/list_views.js index c1a55d7..f79f460 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_views.js +++ b/skills/cloud-sql-postgres-data/scripts/list_views.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/get_query_metrics.js b/skills/cloud-sql-postgres-health/scripts/get_query_metrics.js index 507c8f8..bcffa4a 100755 --- a/skills/cloud-sql-postgres-health/scripts/get_query_metrics.js +++ b/skills/cloud-sql-postgres-health/scripts/get_query_metrics.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/get_query_plan.js b/skills/cloud-sql-postgres-health/scripts/get_query_plan.js index df020c8..3e6918e 100755 --- a/skills/cloud-sql-postgres-health/scripts/get_query_plan.js +++ b/skills/cloud-sql-postgres-health/scripts/get_query_plan.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/get_system_metrics.js b/skills/cloud-sql-postgres-health/scripts/get_system_metrics.js index 40fb529..7dd8663 100755 --- a/skills/cloud-sql-postgres-health/scripts/get_system_metrics.js +++ b/skills/cloud-sql-postgres-health/scripts/get_system_metrics.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/list_active_queries.js b/skills/cloud-sql-postgres-health/scripts/list_active_queries.js index 3b299c8..a1e48b9 100755 --- a/skills/cloud-sql-postgres-health/scripts/list_active_queries.js +++ b/skills/cloud-sql-postgres-health/scripts/list_active_queries.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/list_database_stats.js b/skills/cloud-sql-postgres-health/scripts/list_database_stats.js index 901c983..612d61a 100755 --- a/skills/cloud-sql-postgres-health/scripts/list_database_stats.js +++ b/skills/cloud-sql-postgres-health/scripts/list_database_stats.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/list_locks.js b/skills/cloud-sql-postgres-health/scripts/list_locks.js index 67d6829..160c17a 100755 --- a/skills/cloud-sql-postgres-health/scripts/list_locks.js +++ b/skills/cloud-sql-postgres-health/scripts/list_locks.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/list_query_stats.js b/skills/cloud-sql-postgres-health/scripts/list_query_stats.js index 156f3e5..74ae27f 100755 --- a/skills/cloud-sql-postgres-health/scripts/list_query_stats.js +++ b/skills/cloud-sql-postgres-health/scripts/list_query_stats.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/long_running_transactions.js b/skills/cloud-sql-postgres-health/scripts/long_running_transactions.js index 616ea1c..9d4c56b 100755 --- a/skills/cloud-sql-postgres-health/scripts/long_running_transactions.js +++ b/skills/cloud-sql-postgres-health/scripts/long_running_transactions.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/create_backup.js b/skills/cloud-sql-postgres-lifecycle/scripts/create_backup.js index 87c2f06..0339df3 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/create_backup.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/create_backup.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/database_overview.js b/skills/cloud-sql-postgres-lifecycle/scripts/database_overview.js index db64594..2ac7165 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/database_overview.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/database_overview.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js b/skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js index aa6655c..acd5037 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js b/skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js index fe97252..66d0603 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/postgres_upgrade_precheck.js b/skills/cloud-sql-postgres-lifecycle/scripts/postgres_upgrade_precheck.js index 1695cb0..1fc2395 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/postgres_upgrade_precheck.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/postgres_upgrade_precheck.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js b/skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js index 24f4e3f..510ac4c 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js b/skills/cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js index 9bbf399..06aa8e1 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/get_query_metrics.js b/skills/cloud-sql-postgres-monitor/scripts/get_query_metrics.js index 507c8f8..bcffa4a 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/get_query_metrics.js +++ b/skills/cloud-sql-postgres-monitor/scripts/get_query_metrics.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js b/skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js index df020c8..3e6918e 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js +++ b/skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js b/skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js index 40fb529..7dd8663 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js +++ b/skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/list_active_queries.js b/skills/cloud-sql-postgres-monitor/scripts/list_active_queries.js index 3b299c8..a1e48b9 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/list_active_queries.js +++ b/skills/cloud-sql-postgres-monitor/scripts/list_active_queries.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/list_database_stats.js b/skills/cloud-sql-postgres-monitor/scripts/list_database_stats.js index 901c983..612d61a 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/list_database_stats.js +++ b/skills/cloud-sql-postgres-monitor/scripts/list_database_stats.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/list_locks.js b/skills/cloud-sql-postgres-monitor/scripts/list_locks.js index 67d6829..160c17a 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/list_locks.js +++ b/skills/cloud-sql-postgres-monitor/scripts/list_locks.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js b/skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js index 156f3e5..74ae27f 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js +++ b/skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/long_running_transactions.js b/skills/cloud-sql-postgres-monitor/scripts/long_running_transactions.js index 616ea1c..9d4c56b 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/long_running_transactions.js +++ b/skills/cloud-sql-postgres-monitor/scripts/long_running_transactions.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/database_overview.js b/skills/cloud-sql-postgres-replication/scripts/database_overview.js index db64594..2ac7165 100755 --- a/skills/cloud-sql-postgres-replication/scripts/database_overview.js +++ b/skills/cloud-sql-postgres-replication/scripts/database_overview.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/list_pg_settings.js b/skills/cloud-sql-postgres-replication/scripts/list_pg_settings.js index 41ea69b..6b2e5aa 100755 --- a/skills/cloud-sql-postgres-replication/scripts/list_pg_settings.js +++ b/skills/cloud-sql-postgres-replication/scripts/list_pg_settings.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/list_publication_tables.js b/skills/cloud-sql-postgres-replication/scripts/list_publication_tables.js index 863192e..31267e1 100755 --- a/skills/cloud-sql-postgres-replication/scripts/list_publication_tables.js +++ b/skills/cloud-sql-postgres-replication/scripts/list_publication_tables.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/list_replication_slots.js b/skills/cloud-sql-postgres-replication/scripts/list_replication_slots.js index f09c135..69c153e 100755 --- a/skills/cloud-sql-postgres-replication/scripts/list_replication_slots.js +++ b/skills/cloud-sql-postgres-replication/scripts/list_replication_slots.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/list_roles.js b/skills/cloud-sql-postgres-replication/scripts/list_roles.js index 3bf2597..fedde92 100755 --- a/skills/cloud-sql-postgres-replication/scripts/list_roles.js +++ b/skills/cloud-sql-postgres-replication/scripts/list_roles.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/replication_stats.js b/skills/cloud-sql-postgres-replication/scripts/replication_stats.js index ff6c875..7c2b11d 100755 --- a/skills/cloud-sql-postgres-replication/scripts/replication_stats.js +++ b/skills/cloud-sql-postgres-replication/scripts/replication_stats.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/database_overview.js b/skills/cloud-sql-postgres-view-config/scripts/database_overview.js index db64594..2ac7165 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/database_overview.js +++ b/skills/cloud-sql-postgres-view-config/scripts/database_overview.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/get_instance.js b/skills/cloud-sql-postgres-view-config/scripts/get_instance.js index aa6655c..acd5037 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/get_instance.js +++ b/skills/cloud-sql-postgres-view-config/scripts/get_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/list_available_extensions.js b/skills/cloud-sql-postgres-view-config/scripts/list_available_extensions.js index 815794b..bb6c8a0 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/list_available_extensions.js +++ b/skills/cloud-sql-postgres-view-config/scripts/list_available_extensions.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/list_installed_extensions.js b/skills/cloud-sql-postgres-view-config/scripts/list_installed_extensions.js index cf05335..3744145 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/list_installed_extensions.js +++ b/skills/cloud-sql-postgres-view-config/scripts/list_installed_extensions.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/list_memory_configurations.js b/skills/cloud-sql-postgres-view-config/scripts/list_memory_configurations.js index 50a101a..a04fd3f 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/list_memory_configurations.js +++ b/skills/cloud-sql-postgres-view-config/scripts/list_memory_configurations.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/list_pg_settings.js b/skills/cloud-sql-postgres-view-config/scripts/list_pg_settings.js index 41ea69b..6b2e5aa 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/list_pg_settings.js +++ b/skills/cloud-sql-postgres-view-config/scripts/list_pg_settings.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); From 1e4fa7826df829719c9fe3bc6f10bcc6c4e31014 Mon Sep 17 00:00:00 2001 From: Twisha Bansal <58483338+twishabansal@users.noreply.github.com> Date: Tue, 5 May 2026 15:01:12 +0530 Subject: [PATCH 15/26] update user --- .ci/skills-gen.cloudbuild.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/skills-gen.cloudbuild.yaml b/.ci/skills-gen.cloudbuild.yaml index ed4e4c6..7497580 100644 --- a/.ci/skills-gen.cloudbuild.yaml +++ b/.ci/skills-gen.cloudbuild.yaml @@ -70,8 +70,8 @@ steps: fi echo "Changes detected. Preparing to commit..." - git config --global user.email "cloudbuild@google.com" - git config --global user.name "Cloud Build Bot" + git config user.name "release-please[bot]" + git config user.email "55107282+release-please[bot]@users.noreply.github.com" # We can now just push natively using the SSH URL! git remote set-url origin git@github.com:gemini-cli-extensions/cloud-sql-postgresql.git From 7c8ad8ff148c40a36abc457626f37d6f6d37f127 Mon Sep 17 00:00:00 2001 From: Twisha Bansal Date: Tue, 5 May 2026 15:04:08 +0530 Subject: [PATCH 16/26] remove extra testing changes --- skills/cloud-sql-postgres-admin/scripts/clone_instance.js | 2 +- skills/cloud-sql-postgres-admin/scripts/create_database.js | 2 +- skills/cloud-sql-postgres-admin/scripts/create_instance.js | 2 +- skills/cloud-sql-postgres-admin/scripts/create_user.js | 2 +- skills/cloud-sql-postgres-admin/scripts/get_instance.js | 2 +- skills/cloud-sql-postgres-admin/scripts/list_databases.js | 2 +- skills/cloud-sql-postgres-admin/scripts/list_instances.js | 2 +- skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js | 2 +- skills/cloud-sql-postgres-data/scripts/execute_sql.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_indexes.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_schemas.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_sequences.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_tables.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_triggers.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_views.js | 2 +- skills/cloud-sql-postgres-health/scripts/get_query_metrics.js | 2 +- skills/cloud-sql-postgres-health/scripts/get_query_plan.js | 2 +- skills/cloud-sql-postgres-health/scripts/get_system_metrics.js | 2 +- skills/cloud-sql-postgres-health/scripts/list_active_queries.js | 2 +- skills/cloud-sql-postgres-health/scripts/list_database_stats.js | 2 +- skills/cloud-sql-postgres-health/scripts/list_locks.js | 2 +- skills/cloud-sql-postgres-health/scripts/list_query_stats.js | 2 +- .../scripts/long_running_transactions.js | 2 +- skills/cloud-sql-postgres-lifecycle/scripts/create_backup.js | 2 +- .../cloud-sql-postgres-lifecycle/scripts/database_overview.js | 2 +- skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js | 2 +- skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js | 2 +- .../scripts/postgres_upgrade_precheck.js | 2 +- skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js | 2 +- .../cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js | 2 +- skills/cloud-sql-postgres-monitor/scripts/get_query_metrics.js | 2 +- skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js | 2 +- skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js | 2 +- .../cloud-sql-postgres-monitor/scripts/list_active_queries.js | 2 +- .../cloud-sql-postgres-monitor/scripts/list_database_stats.js | 2 +- skills/cloud-sql-postgres-monitor/scripts/list_locks.js | 2 +- skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js | 2 +- .../scripts/long_running_transactions.js | 2 +- .../cloud-sql-postgres-replication/scripts/database_overview.js | 2 +- .../cloud-sql-postgres-replication/scripts/list_pg_settings.js | 2 +- .../scripts/list_publication_tables.js | 2 +- .../scripts/list_replication_slots.js | 2 +- skills/cloud-sql-postgres-replication/scripts/list_roles.js | 2 +- .../cloud-sql-postgres-replication/scripts/replication_stats.js | 2 +- .../cloud-sql-postgres-view-config/scripts/database_overview.js | 2 +- skills/cloud-sql-postgres-view-config/scripts/get_instance.js | 2 +- .../scripts/list_available_extensions.js | 2 +- .../scripts/list_installed_extensions.js | 2 +- .../scripts/list_memory_configurations.js | 2 +- .../cloud-sql-postgres-view-config/scripts/list_pg_settings.js | 2 +- 51 files changed, 51 insertions(+), 51 deletions(-) diff --git a/skills/cloud-sql-postgres-admin/scripts/clone_instance.js b/skills/cloud-sql-postgres-admin/scripts/clone_instance.js index 3c180dd..5c34f38 100755 --- a/skills/cloud-sql-postgres-admin/scripts/clone_instance.js +++ b/skills/cloud-sql-postgres-admin/scripts/clone_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/create_database.js b/skills/cloud-sql-postgres-admin/scripts/create_database.js index 9bc5dbb..7b74296 100755 --- a/skills/cloud-sql-postgres-admin/scripts/create_database.js +++ b/skills/cloud-sql-postgres-admin/scripts/create_database.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/create_instance.js b/skills/cloud-sql-postgres-admin/scripts/create_instance.js index 3961581..00025ad 100755 --- a/skills/cloud-sql-postgres-admin/scripts/create_instance.js +++ b/skills/cloud-sql-postgres-admin/scripts/create_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/create_user.js b/skills/cloud-sql-postgres-admin/scripts/create_user.js index 33d664d..61763cf 100755 --- a/skills/cloud-sql-postgres-admin/scripts/create_user.js +++ b/skills/cloud-sql-postgres-admin/scripts/create_user.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/get_instance.js b/skills/cloud-sql-postgres-admin/scripts/get_instance.js index acd5037..aa6655c 100755 --- a/skills/cloud-sql-postgres-admin/scripts/get_instance.js +++ b/skills/cloud-sql-postgres-admin/scripts/get_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/list_databases.js b/skills/cloud-sql-postgres-admin/scripts/list_databases.js index 5450ed4..d6a1b0a 100755 --- a/skills/cloud-sql-postgres-admin/scripts/list_databases.js +++ b/skills/cloud-sql-postgres-admin/scripts/list_databases.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/list_instances.js b/skills/cloud-sql-postgres-admin/scripts/list_instances.js index 66d0603..fe97252 100755 --- a/skills/cloud-sql-postgres-admin/scripts/list_instances.js +++ b/skills/cloud-sql-postgres-admin/scripts/list_instances.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js b/skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js index 06aa8e1..9bbf399 100755 --- a/skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js +++ b/skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/execute_sql.js b/skills/cloud-sql-postgres-data/scripts/execute_sql.js index d1be556..b0711f5 100755 --- a/skills/cloud-sql-postgres-data/scripts/execute_sql.js +++ b/skills/cloud-sql-postgres-data/scripts/execute_sql.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_indexes.js b/skills/cloud-sql-postgres-data/scripts/list_indexes.js index b64b34d..4bd05b7 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_indexes.js +++ b/skills/cloud-sql-postgres-data/scripts/list_indexes.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_schemas.js b/skills/cloud-sql-postgres-data/scripts/list_schemas.js index e7f358c..75e9c9e 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_schemas.js +++ b/skills/cloud-sql-postgres-data/scripts/list_schemas.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_sequences.js b/skills/cloud-sql-postgres-data/scripts/list_sequences.js index 034c86f..8886e4f 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_sequences.js +++ b/skills/cloud-sql-postgres-data/scripts/list_sequences.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js b/skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js index a148eaa..e1caba8 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js +++ b/skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_tables.js b/skills/cloud-sql-postgres-data/scripts/list_tables.js index 5131cd8..e871600 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_tables.js +++ b/skills/cloud-sql-postgres-data/scripts/list_tables.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_triggers.js b/skills/cloud-sql-postgres-data/scripts/list_triggers.js index ed8db23..74d85fe 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_triggers.js +++ b/skills/cloud-sql-postgres-data/scripts/list_triggers.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_views.js b/skills/cloud-sql-postgres-data/scripts/list_views.js index f79f460..c1a55d7 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_views.js +++ b/skills/cloud-sql-postgres-data/scripts/list_views.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/get_query_metrics.js b/skills/cloud-sql-postgres-health/scripts/get_query_metrics.js index bcffa4a..507c8f8 100755 --- a/skills/cloud-sql-postgres-health/scripts/get_query_metrics.js +++ b/skills/cloud-sql-postgres-health/scripts/get_query_metrics.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/get_query_plan.js b/skills/cloud-sql-postgres-health/scripts/get_query_plan.js index 3e6918e..df020c8 100755 --- a/skills/cloud-sql-postgres-health/scripts/get_query_plan.js +++ b/skills/cloud-sql-postgres-health/scripts/get_query_plan.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/get_system_metrics.js b/skills/cloud-sql-postgres-health/scripts/get_system_metrics.js index 7dd8663..40fb529 100755 --- a/skills/cloud-sql-postgres-health/scripts/get_system_metrics.js +++ b/skills/cloud-sql-postgres-health/scripts/get_system_metrics.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/list_active_queries.js b/skills/cloud-sql-postgres-health/scripts/list_active_queries.js index a1e48b9..3b299c8 100755 --- a/skills/cloud-sql-postgres-health/scripts/list_active_queries.js +++ b/skills/cloud-sql-postgres-health/scripts/list_active_queries.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/list_database_stats.js b/skills/cloud-sql-postgres-health/scripts/list_database_stats.js index 612d61a..901c983 100755 --- a/skills/cloud-sql-postgres-health/scripts/list_database_stats.js +++ b/skills/cloud-sql-postgres-health/scripts/list_database_stats.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/list_locks.js b/skills/cloud-sql-postgres-health/scripts/list_locks.js index 160c17a..67d6829 100755 --- a/skills/cloud-sql-postgres-health/scripts/list_locks.js +++ b/skills/cloud-sql-postgres-health/scripts/list_locks.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/list_query_stats.js b/skills/cloud-sql-postgres-health/scripts/list_query_stats.js index 74ae27f..156f3e5 100755 --- a/skills/cloud-sql-postgres-health/scripts/list_query_stats.js +++ b/skills/cloud-sql-postgres-health/scripts/list_query_stats.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/long_running_transactions.js b/skills/cloud-sql-postgres-health/scripts/long_running_transactions.js index 9d4c56b..616ea1c 100755 --- a/skills/cloud-sql-postgres-health/scripts/long_running_transactions.js +++ b/skills/cloud-sql-postgres-health/scripts/long_running_transactions.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/create_backup.js b/skills/cloud-sql-postgres-lifecycle/scripts/create_backup.js index 0339df3..87c2f06 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/create_backup.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/create_backup.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/database_overview.js b/skills/cloud-sql-postgres-lifecycle/scripts/database_overview.js index 2ac7165..db64594 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/database_overview.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/database_overview.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js b/skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js index acd5037..aa6655c 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js b/skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js index 66d0603..fe97252 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/postgres_upgrade_precheck.js b/skills/cloud-sql-postgres-lifecycle/scripts/postgres_upgrade_precheck.js index 1fc2395..1695cb0 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/postgres_upgrade_precheck.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/postgres_upgrade_precheck.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js b/skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js index 510ac4c..24f4e3f 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js b/skills/cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js index 06aa8e1..9bbf399 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/get_query_metrics.js b/skills/cloud-sql-postgres-monitor/scripts/get_query_metrics.js index bcffa4a..507c8f8 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/get_query_metrics.js +++ b/skills/cloud-sql-postgres-monitor/scripts/get_query_metrics.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js b/skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js index 3e6918e..df020c8 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js +++ b/skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js b/skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js index 7dd8663..40fb529 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js +++ b/skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/list_active_queries.js b/skills/cloud-sql-postgres-monitor/scripts/list_active_queries.js index a1e48b9..3b299c8 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/list_active_queries.js +++ b/skills/cloud-sql-postgres-monitor/scripts/list_active_queries.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/list_database_stats.js b/skills/cloud-sql-postgres-monitor/scripts/list_database_stats.js index 612d61a..901c983 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/list_database_stats.js +++ b/skills/cloud-sql-postgres-monitor/scripts/list_database_stats.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/list_locks.js b/skills/cloud-sql-postgres-monitor/scripts/list_locks.js index 160c17a..67d6829 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/list_locks.js +++ b/skills/cloud-sql-postgres-monitor/scripts/list_locks.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js b/skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js index 74ae27f..156f3e5 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js +++ b/skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/long_running_transactions.js b/skills/cloud-sql-postgres-monitor/scripts/long_running_transactions.js index 9d4c56b..616ea1c 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/long_running_transactions.js +++ b/skills/cloud-sql-postgres-monitor/scripts/long_running_transactions.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/database_overview.js b/skills/cloud-sql-postgres-replication/scripts/database_overview.js index 2ac7165..db64594 100755 --- a/skills/cloud-sql-postgres-replication/scripts/database_overview.js +++ b/skills/cloud-sql-postgres-replication/scripts/database_overview.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/list_pg_settings.js b/skills/cloud-sql-postgres-replication/scripts/list_pg_settings.js index 6b2e5aa..41ea69b 100755 --- a/skills/cloud-sql-postgres-replication/scripts/list_pg_settings.js +++ b/skills/cloud-sql-postgres-replication/scripts/list_pg_settings.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/list_publication_tables.js b/skills/cloud-sql-postgres-replication/scripts/list_publication_tables.js index 31267e1..863192e 100755 --- a/skills/cloud-sql-postgres-replication/scripts/list_publication_tables.js +++ b/skills/cloud-sql-postgres-replication/scripts/list_publication_tables.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/list_replication_slots.js b/skills/cloud-sql-postgres-replication/scripts/list_replication_slots.js index 69c153e..f09c135 100755 --- a/skills/cloud-sql-postgres-replication/scripts/list_replication_slots.js +++ b/skills/cloud-sql-postgres-replication/scripts/list_replication_slots.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/list_roles.js b/skills/cloud-sql-postgres-replication/scripts/list_roles.js index fedde92..3bf2597 100755 --- a/skills/cloud-sql-postgres-replication/scripts/list_roles.js +++ b/skills/cloud-sql-postgres-replication/scripts/list_roles.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/replication_stats.js b/skills/cloud-sql-postgres-replication/scripts/replication_stats.js index 7c2b11d..ff6c875 100755 --- a/skills/cloud-sql-postgres-replication/scripts/replication_stats.js +++ b/skills/cloud-sql-postgres-replication/scripts/replication_stats.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/database_overview.js b/skills/cloud-sql-postgres-view-config/scripts/database_overview.js index 2ac7165..db64594 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/database_overview.js +++ b/skills/cloud-sql-postgres-view-config/scripts/database_overview.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/get_instance.js b/skills/cloud-sql-postgres-view-config/scripts/get_instance.js index acd5037..aa6655c 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/get_instance.js +++ b/skills/cloud-sql-postgres-view-config/scripts/get_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/list_available_extensions.js b/skills/cloud-sql-postgres-view-config/scripts/list_available_extensions.js index bb6c8a0..815794b 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/list_available_extensions.js +++ b/skills/cloud-sql-postgres-view-config/scripts/list_available_extensions.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/list_installed_extensions.js b/skills/cloud-sql-postgres-view-config/scripts/list_installed_extensions.js index 3744145..cf05335 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/list_installed_extensions.js +++ b/skills/cloud-sql-postgres-view-config/scripts/list_installed_extensions.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/list_memory_configurations.js b/skills/cloud-sql-postgres-view-config/scripts/list_memory_configurations.js index a04fd3f..50a101a 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/list_memory_configurations.js +++ b/skills/cloud-sql-postgres-view-config/scripts/list_memory_configurations.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/list_pg_settings.js b/skills/cloud-sql-postgres-view-config/scripts/list_pg_settings.js index 6b2e5aa..41ea69b 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/list_pg_settings.js +++ b/skills/cloud-sql-postgres-view-config/scripts/list_pg_settings.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); From 020a2576c87af863d3b388aa04ba285baf62a10b Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 5 May 2026 09:34:52 +0000 Subject: [PATCH 17/26] chore: auto-generate skills based on toolbox_version.txt update --- skills/cloud-sql-postgres-admin/scripts/clone_instance.js | 2 +- skills/cloud-sql-postgres-admin/scripts/create_database.js | 2 +- skills/cloud-sql-postgres-admin/scripts/create_instance.js | 2 +- skills/cloud-sql-postgres-admin/scripts/create_user.js | 2 +- skills/cloud-sql-postgres-admin/scripts/get_instance.js | 2 +- skills/cloud-sql-postgres-admin/scripts/list_databases.js | 2 +- skills/cloud-sql-postgres-admin/scripts/list_instances.js | 2 +- skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js | 2 +- skills/cloud-sql-postgres-data/scripts/execute_sql.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_indexes.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_schemas.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_sequences.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_tables.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_triggers.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_views.js | 2 +- skills/cloud-sql-postgres-health/scripts/get_query_metrics.js | 2 +- skills/cloud-sql-postgres-health/scripts/get_query_plan.js | 2 +- skills/cloud-sql-postgres-health/scripts/get_system_metrics.js | 2 +- skills/cloud-sql-postgres-health/scripts/list_active_queries.js | 2 +- skills/cloud-sql-postgres-health/scripts/list_database_stats.js | 2 +- skills/cloud-sql-postgres-health/scripts/list_locks.js | 2 +- skills/cloud-sql-postgres-health/scripts/list_query_stats.js | 2 +- .../scripts/long_running_transactions.js | 2 +- skills/cloud-sql-postgres-lifecycle/scripts/create_backup.js | 2 +- .../cloud-sql-postgres-lifecycle/scripts/database_overview.js | 2 +- skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js | 2 +- skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js | 2 +- .../scripts/postgres_upgrade_precheck.js | 2 +- skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js | 2 +- .../cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js | 2 +- skills/cloud-sql-postgres-monitor/scripts/get_query_metrics.js | 2 +- skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js | 2 +- skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js | 2 +- .../cloud-sql-postgres-monitor/scripts/list_active_queries.js | 2 +- .../cloud-sql-postgres-monitor/scripts/list_database_stats.js | 2 +- skills/cloud-sql-postgres-monitor/scripts/list_locks.js | 2 +- skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js | 2 +- .../scripts/long_running_transactions.js | 2 +- .../cloud-sql-postgres-replication/scripts/database_overview.js | 2 +- .../cloud-sql-postgres-replication/scripts/list_pg_settings.js | 2 +- .../scripts/list_publication_tables.js | 2 +- .../scripts/list_replication_slots.js | 2 +- skills/cloud-sql-postgres-replication/scripts/list_roles.js | 2 +- .../cloud-sql-postgres-replication/scripts/replication_stats.js | 2 +- .../cloud-sql-postgres-view-config/scripts/database_overview.js | 2 +- skills/cloud-sql-postgres-view-config/scripts/get_instance.js | 2 +- .../scripts/list_available_extensions.js | 2 +- .../scripts/list_installed_extensions.js | 2 +- .../scripts/list_memory_configurations.js | 2 +- .../cloud-sql-postgres-view-config/scripts/list_pg_settings.js | 2 +- 51 files changed, 51 insertions(+), 51 deletions(-) diff --git a/skills/cloud-sql-postgres-admin/scripts/clone_instance.js b/skills/cloud-sql-postgres-admin/scripts/clone_instance.js index 5c34f38..3c180dd 100755 --- a/skills/cloud-sql-postgres-admin/scripts/clone_instance.js +++ b/skills/cloud-sql-postgres-admin/scripts/clone_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/create_database.js b/skills/cloud-sql-postgres-admin/scripts/create_database.js index 7b74296..9bc5dbb 100755 --- a/skills/cloud-sql-postgres-admin/scripts/create_database.js +++ b/skills/cloud-sql-postgres-admin/scripts/create_database.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/create_instance.js b/skills/cloud-sql-postgres-admin/scripts/create_instance.js index 00025ad..3961581 100755 --- a/skills/cloud-sql-postgres-admin/scripts/create_instance.js +++ b/skills/cloud-sql-postgres-admin/scripts/create_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/create_user.js b/skills/cloud-sql-postgres-admin/scripts/create_user.js index 61763cf..33d664d 100755 --- a/skills/cloud-sql-postgres-admin/scripts/create_user.js +++ b/skills/cloud-sql-postgres-admin/scripts/create_user.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/get_instance.js b/skills/cloud-sql-postgres-admin/scripts/get_instance.js index aa6655c..acd5037 100755 --- a/skills/cloud-sql-postgres-admin/scripts/get_instance.js +++ b/skills/cloud-sql-postgres-admin/scripts/get_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/list_databases.js b/skills/cloud-sql-postgres-admin/scripts/list_databases.js index d6a1b0a..5450ed4 100755 --- a/skills/cloud-sql-postgres-admin/scripts/list_databases.js +++ b/skills/cloud-sql-postgres-admin/scripts/list_databases.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/list_instances.js b/skills/cloud-sql-postgres-admin/scripts/list_instances.js index fe97252..66d0603 100755 --- a/skills/cloud-sql-postgres-admin/scripts/list_instances.js +++ b/skills/cloud-sql-postgres-admin/scripts/list_instances.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js b/skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js index 9bbf399..06aa8e1 100755 --- a/skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js +++ b/skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/execute_sql.js b/skills/cloud-sql-postgres-data/scripts/execute_sql.js index b0711f5..d1be556 100755 --- a/skills/cloud-sql-postgres-data/scripts/execute_sql.js +++ b/skills/cloud-sql-postgres-data/scripts/execute_sql.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_indexes.js b/skills/cloud-sql-postgres-data/scripts/list_indexes.js index 4bd05b7..b64b34d 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_indexes.js +++ b/skills/cloud-sql-postgres-data/scripts/list_indexes.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_schemas.js b/skills/cloud-sql-postgres-data/scripts/list_schemas.js index 75e9c9e..e7f358c 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_schemas.js +++ b/skills/cloud-sql-postgres-data/scripts/list_schemas.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_sequences.js b/skills/cloud-sql-postgres-data/scripts/list_sequences.js index 8886e4f..034c86f 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_sequences.js +++ b/skills/cloud-sql-postgres-data/scripts/list_sequences.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js b/skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js index e1caba8..a148eaa 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js +++ b/skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_tables.js b/skills/cloud-sql-postgres-data/scripts/list_tables.js index e871600..5131cd8 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_tables.js +++ b/skills/cloud-sql-postgres-data/scripts/list_tables.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_triggers.js b/skills/cloud-sql-postgres-data/scripts/list_triggers.js index 74d85fe..ed8db23 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_triggers.js +++ b/skills/cloud-sql-postgres-data/scripts/list_triggers.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_views.js b/skills/cloud-sql-postgres-data/scripts/list_views.js index c1a55d7..f79f460 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_views.js +++ b/skills/cloud-sql-postgres-data/scripts/list_views.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/get_query_metrics.js b/skills/cloud-sql-postgres-health/scripts/get_query_metrics.js index 507c8f8..bcffa4a 100755 --- a/skills/cloud-sql-postgres-health/scripts/get_query_metrics.js +++ b/skills/cloud-sql-postgres-health/scripts/get_query_metrics.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/get_query_plan.js b/skills/cloud-sql-postgres-health/scripts/get_query_plan.js index df020c8..3e6918e 100755 --- a/skills/cloud-sql-postgres-health/scripts/get_query_plan.js +++ b/skills/cloud-sql-postgres-health/scripts/get_query_plan.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/get_system_metrics.js b/skills/cloud-sql-postgres-health/scripts/get_system_metrics.js index 40fb529..7dd8663 100755 --- a/skills/cloud-sql-postgres-health/scripts/get_system_metrics.js +++ b/skills/cloud-sql-postgres-health/scripts/get_system_metrics.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/list_active_queries.js b/skills/cloud-sql-postgres-health/scripts/list_active_queries.js index 3b299c8..a1e48b9 100755 --- a/skills/cloud-sql-postgres-health/scripts/list_active_queries.js +++ b/skills/cloud-sql-postgres-health/scripts/list_active_queries.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/list_database_stats.js b/skills/cloud-sql-postgres-health/scripts/list_database_stats.js index 901c983..612d61a 100755 --- a/skills/cloud-sql-postgres-health/scripts/list_database_stats.js +++ b/skills/cloud-sql-postgres-health/scripts/list_database_stats.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/list_locks.js b/skills/cloud-sql-postgres-health/scripts/list_locks.js index 67d6829..160c17a 100755 --- a/skills/cloud-sql-postgres-health/scripts/list_locks.js +++ b/skills/cloud-sql-postgres-health/scripts/list_locks.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/list_query_stats.js b/skills/cloud-sql-postgres-health/scripts/list_query_stats.js index 156f3e5..74ae27f 100755 --- a/skills/cloud-sql-postgres-health/scripts/list_query_stats.js +++ b/skills/cloud-sql-postgres-health/scripts/list_query_stats.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/long_running_transactions.js b/skills/cloud-sql-postgres-health/scripts/long_running_transactions.js index 616ea1c..9d4c56b 100755 --- a/skills/cloud-sql-postgres-health/scripts/long_running_transactions.js +++ b/skills/cloud-sql-postgres-health/scripts/long_running_transactions.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/create_backup.js b/skills/cloud-sql-postgres-lifecycle/scripts/create_backup.js index 87c2f06..0339df3 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/create_backup.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/create_backup.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/database_overview.js b/skills/cloud-sql-postgres-lifecycle/scripts/database_overview.js index db64594..2ac7165 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/database_overview.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/database_overview.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js b/skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js index aa6655c..acd5037 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js b/skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js index fe97252..66d0603 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/postgres_upgrade_precheck.js b/skills/cloud-sql-postgres-lifecycle/scripts/postgres_upgrade_precheck.js index 1695cb0..1fc2395 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/postgres_upgrade_precheck.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/postgres_upgrade_precheck.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js b/skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js index 24f4e3f..510ac4c 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js b/skills/cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js index 9bbf399..06aa8e1 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/get_query_metrics.js b/skills/cloud-sql-postgres-monitor/scripts/get_query_metrics.js index 507c8f8..bcffa4a 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/get_query_metrics.js +++ b/skills/cloud-sql-postgres-monitor/scripts/get_query_metrics.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js b/skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js index df020c8..3e6918e 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js +++ b/skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js b/skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js index 40fb529..7dd8663 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js +++ b/skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/list_active_queries.js b/skills/cloud-sql-postgres-monitor/scripts/list_active_queries.js index 3b299c8..a1e48b9 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/list_active_queries.js +++ b/skills/cloud-sql-postgres-monitor/scripts/list_active_queries.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/list_database_stats.js b/skills/cloud-sql-postgres-monitor/scripts/list_database_stats.js index 901c983..612d61a 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/list_database_stats.js +++ b/skills/cloud-sql-postgres-monitor/scripts/list_database_stats.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/list_locks.js b/skills/cloud-sql-postgres-monitor/scripts/list_locks.js index 67d6829..160c17a 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/list_locks.js +++ b/skills/cloud-sql-postgres-monitor/scripts/list_locks.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js b/skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js index 156f3e5..74ae27f 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js +++ b/skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/long_running_transactions.js b/skills/cloud-sql-postgres-monitor/scripts/long_running_transactions.js index 616ea1c..9d4c56b 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/long_running_transactions.js +++ b/skills/cloud-sql-postgres-monitor/scripts/long_running_transactions.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/database_overview.js b/skills/cloud-sql-postgres-replication/scripts/database_overview.js index db64594..2ac7165 100755 --- a/skills/cloud-sql-postgres-replication/scripts/database_overview.js +++ b/skills/cloud-sql-postgres-replication/scripts/database_overview.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/list_pg_settings.js b/skills/cloud-sql-postgres-replication/scripts/list_pg_settings.js index 41ea69b..6b2e5aa 100755 --- a/skills/cloud-sql-postgres-replication/scripts/list_pg_settings.js +++ b/skills/cloud-sql-postgres-replication/scripts/list_pg_settings.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/list_publication_tables.js b/skills/cloud-sql-postgres-replication/scripts/list_publication_tables.js index 863192e..31267e1 100755 --- a/skills/cloud-sql-postgres-replication/scripts/list_publication_tables.js +++ b/skills/cloud-sql-postgres-replication/scripts/list_publication_tables.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/list_replication_slots.js b/skills/cloud-sql-postgres-replication/scripts/list_replication_slots.js index f09c135..69c153e 100755 --- a/skills/cloud-sql-postgres-replication/scripts/list_replication_slots.js +++ b/skills/cloud-sql-postgres-replication/scripts/list_replication_slots.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/list_roles.js b/skills/cloud-sql-postgres-replication/scripts/list_roles.js index 3bf2597..fedde92 100755 --- a/skills/cloud-sql-postgres-replication/scripts/list_roles.js +++ b/skills/cloud-sql-postgres-replication/scripts/list_roles.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/replication_stats.js b/skills/cloud-sql-postgres-replication/scripts/replication_stats.js index ff6c875..7c2b11d 100755 --- a/skills/cloud-sql-postgres-replication/scripts/replication_stats.js +++ b/skills/cloud-sql-postgres-replication/scripts/replication_stats.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/database_overview.js b/skills/cloud-sql-postgres-view-config/scripts/database_overview.js index db64594..2ac7165 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/database_overview.js +++ b/skills/cloud-sql-postgres-view-config/scripts/database_overview.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/get_instance.js b/skills/cloud-sql-postgres-view-config/scripts/get_instance.js index aa6655c..acd5037 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/get_instance.js +++ b/skills/cloud-sql-postgres-view-config/scripts/get_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/list_available_extensions.js b/skills/cloud-sql-postgres-view-config/scripts/list_available_extensions.js index 815794b..bb6c8a0 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/list_available_extensions.js +++ b/skills/cloud-sql-postgres-view-config/scripts/list_available_extensions.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/list_installed_extensions.js b/skills/cloud-sql-postgres-view-config/scripts/list_installed_extensions.js index cf05335..3744145 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/list_installed_extensions.js +++ b/skills/cloud-sql-postgres-view-config/scripts/list_installed_extensions.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/list_memory_configurations.js b/skills/cloud-sql-postgres-view-config/scripts/list_memory_configurations.js index 50a101a..a04fd3f 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/list_memory_configurations.js +++ b/skills/cloud-sql-postgres-view-config/scripts/list_memory_configurations.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/list_pg_settings.js b/skills/cloud-sql-postgres-view-config/scripts/list_pg_settings.js index 41ea69b..6b2e5aa 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/list_pg_settings.js +++ b/skills/cloud-sql-postgres-view-config/scripts/list_pg_settings.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); From 2c042d9e96aaed57cd11253ff028a6b95abe4b17 Mon Sep 17 00:00:00 2001 From: Twisha Bansal Date: Tue, 5 May 2026 15:06:28 +0530 Subject: [PATCH 18/26] revert testing changes --- .ci/scripts/generate_skills.sh | 8 ++++---- skills/cloud-sql-postgres-admin/scripts/clone_instance.js | 2 +- .../cloud-sql-postgres-admin/scripts/create_database.js | 2 +- .../cloud-sql-postgres-admin/scripts/create_instance.js | 2 +- skills/cloud-sql-postgres-admin/scripts/create_user.js | 2 +- skills/cloud-sql-postgres-admin/scripts/get_instance.js | 2 +- skills/cloud-sql-postgres-admin/scripts/list_databases.js | 2 +- skills/cloud-sql-postgres-admin/scripts/list_instances.js | 2 +- .../scripts/wait_for_operation.js | 2 +- skills/cloud-sql-postgres-data/scripts/execute_sql.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_indexes.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_schemas.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_sequences.js | 2 +- .../scripts/list_stored_procedure.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_tables.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_triggers.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_views.js | 2 +- .../scripts/get_query_metrics.js | 2 +- .../cloud-sql-postgres-health/scripts/get_query_plan.js | 2 +- .../scripts/get_system_metrics.js | 2 +- .../scripts/list_active_queries.js | 2 +- .../scripts/list_database_stats.js | 2 +- skills/cloud-sql-postgres-health/scripts/list_locks.js | 2 +- .../cloud-sql-postgres-health/scripts/list_query_stats.js | 2 +- .../scripts/long_running_transactions.js | 2 +- .../cloud-sql-postgres-lifecycle/scripts/create_backup.js | 2 +- .../scripts/database_overview.js | 2 +- .../cloud-sql-postgres-lifecycle/scripts/get_instance.js | 2 +- .../scripts/list_instances.js | 2 +- .../scripts/postgres_upgrade_precheck.js | 2 +- .../scripts/restore_backup.js | 2 +- .../scripts/wait_for_operation.js | 2 +- .../scripts/get_query_metrics.js | 2 +- .../cloud-sql-postgres-monitor/scripts/get_query_plan.js | 2 +- .../scripts/get_system_metrics.js | 2 +- .../scripts/list_active_queries.js | 2 +- .../scripts/list_database_stats.js | 2 +- skills/cloud-sql-postgres-monitor/scripts/list_locks.js | 2 +- .../scripts/list_query_stats.js | 2 +- .../scripts/long_running_transactions.js | 2 +- .../scripts/database_overview.js | 2 +- .../scripts/list_pg_settings.js | 2 +- .../scripts/list_publication_tables.js | 2 +- .../scripts/list_replication_slots.js | 2 +- .../cloud-sql-postgres-replication/scripts/list_roles.js | 2 +- .../scripts/replication_stats.js | 2 +- .../scripts/database_overview.js | 2 +- .../scripts/get_instance.js | 2 +- .../scripts/list_available_extensions.js | 2 +- .../scripts/list_installed_extensions.js | 2 +- .../scripts/list_memory_configurations.js | 2 +- .../scripts/list_pg_settings.js | 2 +- toolbox_version.txt | 2 +- 53 files changed, 56 insertions(+), 56 deletions(-) diff --git a/.ci/scripts/generate_skills.sh b/.ci/scripts/generate_skills.sh index 6d530aa..c19cd96 100755 --- a/.ci/scripts/generate_skills.sh +++ b/.ci/scripts/generate_skills.sh @@ -75,9 +75,9 @@ generate_skill "cloud-sql-postgres-replication" \ "Use these skills when you need to monitor replication health, manage sync states between nodes, and audit database roles and security settings to ensure environment integrity." \ "replication" -# # 8. Vector Assist -# generate_skill "cloud-sql-postgres-vectorassist" \ -# "Use these skills to set up and optimize production-ready vector workloads by simply expressing your intent and performance requirements" \ -# "vectorassist" +# 8. Vector Assist +generate_skill "cloud-sql-postgres-vectorassist" \ + "Use these skills to set up and optimize production-ready vector workloads by simply expressing your intent and performance requirements" \ + "vectorassist" echo "All skills generated successfully!" diff --git a/skills/cloud-sql-postgres-admin/scripts/clone_instance.js b/skills/cloud-sql-postgres-admin/scripts/clone_instance.js index 3c180dd..5c34f38 100755 --- a/skills/cloud-sql-postgres-admin/scripts/clone_instance.js +++ b/skills/cloud-sql-postgres-admin/scripts/clone_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/create_database.js b/skills/cloud-sql-postgres-admin/scripts/create_database.js index 9bc5dbb..7b74296 100755 --- a/skills/cloud-sql-postgres-admin/scripts/create_database.js +++ b/skills/cloud-sql-postgres-admin/scripts/create_database.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/create_instance.js b/skills/cloud-sql-postgres-admin/scripts/create_instance.js index 3961581..00025ad 100755 --- a/skills/cloud-sql-postgres-admin/scripts/create_instance.js +++ b/skills/cloud-sql-postgres-admin/scripts/create_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/create_user.js b/skills/cloud-sql-postgres-admin/scripts/create_user.js index 33d664d..61763cf 100755 --- a/skills/cloud-sql-postgres-admin/scripts/create_user.js +++ b/skills/cloud-sql-postgres-admin/scripts/create_user.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/get_instance.js b/skills/cloud-sql-postgres-admin/scripts/get_instance.js index acd5037..aa6655c 100755 --- a/skills/cloud-sql-postgres-admin/scripts/get_instance.js +++ b/skills/cloud-sql-postgres-admin/scripts/get_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/list_databases.js b/skills/cloud-sql-postgres-admin/scripts/list_databases.js index 5450ed4..d6a1b0a 100755 --- a/skills/cloud-sql-postgres-admin/scripts/list_databases.js +++ b/skills/cloud-sql-postgres-admin/scripts/list_databases.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/list_instances.js b/skills/cloud-sql-postgres-admin/scripts/list_instances.js index 66d0603..fe97252 100755 --- a/skills/cloud-sql-postgres-admin/scripts/list_instances.js +++ b/skills/cloud-sql-postgres-admin/scripts/list_instances.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js b/skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js index 06aa8e1..9bbf399 100755 --- a/skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js +++ b/skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/execute_sql.js b/skills/cloud-sql-postgres-data/scripts/execute_sql.js index d1be556..b0711f5 100755 --- a/skills/cloud-sql-postgres-data/scripts/execute_sql.js +++ b/skills/cloud-sql-postgres-data/scripts/execute_sql.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_indexes.js b/skills/cloud-sql-postgres-data/scripts/list_indexes.js index b64b34d..4bd05b7 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_indexes.js +++ b/skills/cloud-sql-postgres-data/scripts/list_indexes.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_schemas.js b/skills/cloud-sql-postgres-data/scripts/list_schemas.js index e7f358c..75e9c9e 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_schemas.js +++ b/skills/cloud-sql-postgres-data/scripts/list_schemas.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_sequences.js b/skills/cloud-sql-postgres-data/scripts/list_sequences.js index 034c86f..8886e4f 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_sequences.js +++ b/skills/cloud-sql-postgres-data/scripts/list_sequences.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js b/skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js index a148eaa..e1caba8 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js +++ b/skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_tables.js b/skills/cloud-sql-postgres-data/scripts/list_tables.js index 5131cd8..e871600 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_tables.js +++ b/skills/cloud-sql-postgres-data/scripts/list_tables.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_triggers.js b/skills/cloud-sql-postgres-data/scripts/list_triggers.js index ed8db23..74d85fe 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_triggers.js +++ b/skills/cloud-sql-postgres-data/scripts/list_triggers.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_views.js b/skills/cloud-sql-postgres-data/scripts/list_views.js index f79f460..c1a55d7 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_views.js +++ b/skills/cloud-sql-postgres-data/scripts/list_views.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/get_query_metrics.js b/skills/cloud-sql-postgres-health/scripts/get_query_metrics.js index bcffa4a..507c8f8 100755 --- a/skills/cloud-sql-postgres-health/scripts/get_query_metrics.js +++ b/skills/cloud-sql-postgres-health/scripts/get_query_metrics.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/get_query_plan.js b/skills/cloud-sql-postgres-health/scripts/get_query_plan.js index 3e6918e..df020c8 100755 --- a/skills/cloud-sql-postgres-health/scripts/get_query_plan.js +++ b/skills/cloud-sql-postgres-health/scripts/get_query_plan.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/get_system_metrics.js b/skills/cloud-sql-postgres-health/scripts/get_system_metrics.js index 7dd8663..40fb529 100755 --- a/skills/cloud-sql-postgres-health/scripts/get_system_metrics.js +++ b/skills/cloud-sql-postgres-health/scripts/get_system_metrics.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/list_active_queries.js b/skills/cloud-sql-postgres-health/scripts/list_active_queries.js index a1e48b9..3b299c8 100755 --- a/skills/cloud-sql-postgres-health/scripts/list_active_queries.js +++ b/skills/cloud-sql-postgres-health/scripts/list_active_queries.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/list_database_stats.js b/skills/cloud-sql-postgres-health/scripts/list_database_stats.js index 612d61a..901c983 100755 --- a/skills/cloud-sql-postgres-health/scripts/list_database_stats.js +++ b/skills/cloud-sql-postgres-health/scripts/list_database_stats.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/list_locks.js b/skills/cloud-sql-postgres-health/scripts/list_locks.js index 160c17a..67d6829 100755 --- a/skills/cloud-sql-postgres-health/scripts/list_locks.js +++ b/skills/cloud-sql-postgres-health/scripts/list_locks.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/list_query_stats.js b/skills/cloud-sql-postgres-health/scripts/list_query_stats.js index 74ae27f..156f3e5 100755 --- a/skills/cloud-sql-postgres-health/scripts/list_query_stats.js +++ b/skills/cloud-sql-postgres-health/scripts/list_query_stats.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-health/scripts/long_running_transactions.js b/skills/cloud-sql-postgres-health/scripts/long_running_transactions.js index 9d4c56b..616ea1c 100755 --- a/skills/cloud-sql-postgres-health/scripts/long_running_transactions.js +++ b/skills/cloud-sql-postgres-health/scripts/long_running_transactions.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/create_backup.js b/skills/cloud-sql-postgres-lifecycle/scripts/create_backup.js index 0339df3..87c2f06 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/create_backup.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/create_backup.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/database_overview.js b/skills/cloud-sql-postgres-lifecycle/scripts/database_overview.js index 2ac7165..db64594 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/database_overview.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/database_overview.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js b/skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js index acd5037..aa6655c 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js b/skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js index 66d0603..fe97252 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/postgres_upgrade_precheck.js b/skills/cloud-sql-postgres-lifecycle/scripts/postgres_upgrade_precheck.js index 1fc2395..1695cb0 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/postgres_upgrade_precheck.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/postgres_upgrade_precheck.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js b/skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js index 510ac4c..24f4e3f 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js b/skills/cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js index 06aa8e1..9bbf399 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/get_query_metrics.js b/skills/cloud-sql-postgres-monitor/scripts/get_query_metrics.js index bcffa4a..507c8f8 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/get_query_metrics.js +++ b/skills/cloud-sql-postgres-monitor/scripts/get_query_metrics.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js b/skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js index 3e6918e..df020c8 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js +++ b/skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js b/skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js index 7dd8663..40fb529 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js +++ b/skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/list_active_queries.js b/skills/cloud-sql-postgres-monitor/scripts/list_active_queries.js index a1e48b9..3b299c8 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/list_active_queries.js +++ b/skills/cloud-sql-postgres-monitor/scripts/list_active_queries.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/list_database_stats.js b/skills/cloud-sql-postgres-monitor/scripts/list_database_stats.js index 612d61a..901c983 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/list_database_stats.js +++ b/skills/cloud-sql-postgres-monitor/scripts/list_database_stats.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/list_locks.js b/skills/cloud-sql-postgres-monitor/scripts/list_locks.js index 160c17a..67d6829 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/list_locks.js +++ b/skills/cloud-sql-postgres-monitor/scripts/list_locks.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js b/skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js index 74ae27f..156f3e5 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js +++ b/skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/long_running_transactions.js b/skills/cloud-sql-postgres-monitor/scripts/long_running_transactions.js index 9d4c56b..616ea1c 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/long_running_transactions.js +++ b/skills/cloud-sql-postgres-monitor/scripts/long_running_transactions.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/database_overview.js b/skills/cloud-sql-postgres-replication/scripts/database_overview.js index 2ac7165..db64594 100755 --- a/skills/cloud-sql-postgres-replication/scripts/database_overview.js +++ b/skills/cloud-sql-postgres-replication/scripts/database_overview.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/list_pg_settings.js b/skills/cloud-sql-postgres-replication/scripts/list_pg_settings.js index 6b2e5aa..41ea69b 100755 --- a/skills/cloud-sql-postgres-replication/scripts/list_pg_settings.js +++ b/skills/cloud-sql-postgres-replication/scripts/list_pg_settings.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/list_publication_tables.js b/skills/cloud-sql-postgres-replication/scripts/list_publication_tables.js index 31267e1..863192e 100755 --- a/skills/cloud-sql-postgres-replication/scripts/list_publication_tables.js +++ b/skills/cloud-sql-postgres-replication/scripts/list_publication_tables.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/list_replication_slots.js b/skills/cloud-sql-postgres-replication/scripts/list_replication_slots.js index 69c153e..f09c135 100755 --- a/skills/cloud-sql-postgres-replication/scripts/list_replication_slots.js +++ b/skills/cloud-sql-postgres-replication/scripts/list_replication_slots.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/list_roles.js b/skills/cloud-sql-postgres-replication/scripts/list_roles.js index fedde92..3bf2597 100755 --- a/skills/cloud-sql-postgres-replication/scripts/list_roles.js +++ b/skills/cloud-sql-postgres-replication/scripts/list_roles.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/replication_stats.js b/skills/cloud-sql-postgres-replication/scripts/replication_stats.js index 7c2b11d..ff6c875 100755 --- a/skills/cloud-sql-postgres-replication/scripts/replication_stats.js +++ b/skills/cloud-sql-postgres-replication/scripts/replication_stats.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/database_overview.js b/skills/cloud-sql-postgres-view-config/scripts/database_overview.js index 2ac7165..db64594 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/database_overview.js +++ b/skills/cloud-sql-postgres-view-config/scripts/database_overview.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/get_instance.js b/skills/cloud-sql-postgres-view-config/scripts/get_instance.js index acd5037..aa6655c 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/get_instance.js +++ b/skills/cloud-sql-postgres-view-config/scripts/get_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/list_available_extensions.js b/skills/cloud-sql-postgres-view-config/scripts/list_available_extensions.js index bb6c8a0..815794b 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/list_available_extensions.js +++ b/skills/cloud-sql-postgres-view-config/scripts/list_available_extensions.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/list_installed_extensions.js b/skills/cloud-sql-postgres-view-config/scripts/list_installed_extensions.js index 3744145..cf05335 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/list_installed_extensions.js +++ b/skills/cloud-sql-postgres-view-config/scripts/list_installed_extensions.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/list_memory_configurations.js b/skills/cloud-sql-postgres-view-config/scripts/list_memory_configurations.js index a04fd3f..50a101a 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/list_memory_configurations.js +++ b/skills/cloud-sql-postgres-view-config/scripts/list_memory_configurations.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/list_pg_settings.js b/skills/cloud-sql-postgres-view-config/scripts/list_pg_settings.js index 6b2e5aa..41ea69b 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/list_pg_settings.js +++ b/skills/cloud-sql-postgres-view-config/scripts/list_pg_settings.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/toolbox_version.txt b/toolbox_version.txt index 3eefcb9..9084fa2 100644 --- a/toolbox_version.txt +++ b/toolbox_version.txt @@ -1 +1 @@ -1.0.0 +1.1.0 From 126b159cb61159b820368a5377fd0d0b87a01a1b Mon Sep 17 00:00:00 2001 From: Twisha Bansal Date: Tue, 5 May 2026 15:36:19 +0530 Subject: [PATCH 19/26] basic refactor --- .ci/scripts/generate_skills.sh | 77 +++++++++++++++------------------- 1 file changed, 34 insertions(+), 43 deletions(-) diff --git a/.ci/scripts/generate_skills.sh b/.ci/scripts/generate_skills.sh index c19cd96..f6655c0 100755 --- a/.ci/scripts/generate_skills.sh +++ b/.ci/scripts/generate_skills.sh @@ -26,12 +26,14 @@ LICENSE_HEADER="// Copyright 2026 Google LLC ADDITIONAL_NOTES="Note: The scripts automatically load the environment variables from various .env files. Do not ask the user to set vars unless skill executions fails due to env var absence." -# Base Command Function +# Execution Logic generate_skill() { - local SKILL_NAME="$1" - local SKILL_DESC="$2" - local TOOLSET="$3" + local TOOLSET="$2" + local SKILL_DESC="$3" + local SKILL_NAME="cloud-sql-postgres-$TOOLSET" + echo "Generating skill: $SKILL_NAME (toolset: $TOOLSET)..." + npx "@toolbox-sdk/server@${VERSION}" --prebuilt cloud-sql-postgres skills-generate \ --name "$SKILL_NAME" \ --description "$SKILL_DESC" \ @@ -40,44 +42,33 @@ generate_skill() { --additional-notes="$ADDITIONAL_NOTES" } -# 1. Admin -generate_skill "cloud-sql-postgres-admin" \ - "Use these skills when you need to provision new Cloud SQL instances, create databases and users, clone existing environments, and monitor the progress of long-running operations." \ - "admin" - -# 2. Lifecycle -generate_skill "cloud-sql-postgres-lifecycle" \ - "Use these skills when you need to manage the lifecycle of your instances, including performing backups and restores, checking major version upgrade compatibility, and monitoring overall instance status." \ - "lifecycle" - -# 3. Data -generate_skill "cloud-sql-postgres-data" \ - "Use these skills when you need to explore the database structure, discover schema objects like views or stored procedures, and execute custom SQL queries to interact with your data." \ - "data" - -# 4. Monitor -generate_skill "cloud-sql-postgres-monitor" \ - "Use these skills when you need to troubleshoot performance bottlenecks, analyze query execution plans, identify resource-heavy processes, and monitor system-level PromQL metrics." \ - "monitor" - -# 5. Health -generate_skill "cloud-sql-postgres-health" \ - "Use these skills when you need to audit database health, identify storage bloat, find invalid indexes, analyze table statistics, and manage maintenance configurations like autovacuum." \ - "monitor" - -# 6. View Config -generate_skill "cloud-sql-postgres-view-config" \ - "Use these skills when you need to discover and manage PostgreSQL extensions or fine-tune engine-level settings such as memory allocation and server configuration parameters." \ - "view-config" - -# 7. Replication -generate_skill "cloud-sql-postgres-replication" \ - "Use these skills when you need to monitor replication health, manage sync states between nodes, and audit database roles and security settings to ensure environment integrity." \ - "replication" - -# 8. Vector Assist -generate_skill "cloud-sql-postgres-vectorassist" \ - "Use these skills to set up and optimize production-ready vector workloads by simply expressing your intent and performance requirements" \ - "vectorassist" +# register_skill +register_skill() { + generate_skill "$1" "$2" +} + +register_skill "admin" \ + "Use these skills when you need to provision new Cloud SQL instances, create databases and users, clone existing environments, and monitor the progress of long-running operations." + +register_skill "lifecycle" \ + "Use these skills when you need to manage the lifecycle of your instances, including performing backups and restores, checking major version upgrade compatibility, and monitoring overall instance status." + +register_skill "data" \ + "Use these skills when you need to explore the database structure, discover schema objects like views or stored procedures, and execute custom SQL queries to interact with your data." + +register_skill "monitor" \ + "Use these skills when you need to troubleshoot performance bottlenecks, analyze query execution plans, identify resource-heavy processes, and monitor system-level PromQL metrics." + +register_skill "health" \ + "Use these skills when you need to audit database health, identify storage bloat, find invalid indexes, analyze table statistics, and manage maintenance configurations like autovacuum." + +register_skill "view-config" \ + "Use these skills when you need to discover and manage PostgreSQL extensions or fine-tune engine-level settings such as memory allocation and server configuration parameters." + +register_skill "replication" \ + "Use these skills when you need to monitor replication health, manage sync states between nodes, and audit database roles and security settings to ensure environment integrity." + +register_skill "vectorassist" \ + "Use these skills to set up and optimize production-ready vector workloads by simply expressing your intent and performance requirements" echo "All skills generated successfully!" From 147864c1ee1e832edb02c266a090666d93ae3695 Mon Sep 17 00:00:00 2001 From: Twisha Bansal Date: Tue, 5 May 2026 15:45:23 +0530 Subject: [PATCH 20/26] add validation --- .ci/scripts/generate_skills.sh | 111 +++++++++++++++++++++++---------- 1 file changed, 78 insertions(+), 33 deletions(-) diff --git a/.ci/scripts/generate_skills.sh b/.ci/scripts/generate_skills.sh index f6655c0..a4e7e3b 100755 --- a/.ci/scripts/generate_skills.sh +++ b/.ci/scripts/generate_skills.sh @@ -7,9 +7,77 @@ if [ -z "$VERSION" ]; then exit 1 fi -echo "Generating skills via npx using toolbox version: $VERSION..." +# SKILL CONFIGURATION +# Format: "toolset" "description" +# The skill name is automatically generated as "cloud-sql-postgres-" +SKILLS=( + "admin" + "Use these skills when you need to provision new Cloud SQL instances, create databases and users, clone existing environments, and monitor the progress of long-running operations." + + "lifecycle" + "Use these skills when you need to manage the lifecycle of your instances, including performing backups and restores, checking major version upgrade compatibility, and monitoring overall instance status." + + "data" + "Use these skills when you need to explore the database structure, discover schema objects like views or stored procedures, and execute custom SQL queries to interact with your data." + + "monitor" + "Use these skills when you need to troubleshoot performance bottlenecks, analyze query execution plans, identify resource-heavy processes, and monitor system-level PromQL metrics. You can also use them to audit database health, identify storage bloat, find invalid indexes, analyze table statistics, and manage maintenance configurations like autovacuum." + + "view-config" + "Use these skills when you need to discover and manage PostgreSQL extensions or fine-tune engine-level settings such as memory allocation and server configuration parameters." + + "replication" + "Use these skills when you need to monitor replication health, manage sync states between nodes, and audit database roles and security settings to ensure environment integrity." + + "vectorassist" + "Use these skills to set up and optimize production-ready vector workloads by simply expressing your intent and performance requirements" +) + +echo "VALIDATING TOOLSETS BEFORE GENERATION" + +# Dynamically build the SUPPORTED_TOOLSETS array from the SKILLS array. +# We use 'set --' to process the array in chunks without index arithmetic. +SUPPORTED_TOOLSETS=() +set -- "${SKILLS[@]}" +while [ $# -gt 0 ]; do + SUPPORTED_TOOLSETS+=("$1") + shift 2 +done + +echo "Currently Supported Toolsets: ${SUPPORTED_TOOLSETS[*]}" + +# Fetch the upstream source of truth YAML for this specific version +RAW_URL="https://raw.githubusercontent.com/googleapis/mcp-toolbox/v${VERSION}/internal/prebuiltconfigs/tools/cloud-sql-postgres.yaml" +echo "Fetching upstream config from: $RAW_URL" +UPSTREAM_YAML=$(curl -sL --fail "$RAW_URL" || { echo "Error: Could not fetch upstream YAML for v$VERSION"; exit 1; }) + +# Extract the list of toolsets +UPSTREAM_TOOLSETS=$(echo "$UPSTREAM_YAML" | npx --yes yaml-cli get "toolsets" --keys || echo "") + +# Compare upstream toolsets against our supported list +MISSING_TOOLSETS=false + +for upstream_tool in $UPSTREAM_TOOLSETS; do + if [ -z "$upstream_tool" ] || [ "$upstream_tool" == "-" ]; then continue; fi + + if [[ ! " ${SUPPORTED_TOOLSETS[*]} " =~ " ${upstream_tool} " ]]; then + echo "ERROR: Upstream configuration contains a new toolset: '$upstream_tool'" + MISSING_TOOLSETS=true + fi +done + +if [ "$MISSING_TOOLSETS" = true ]; then + echo "PIPELINE FAILED: Missing Toolset Generators" + echo "The source of truth file has toolsets that your script does not support." + echo "Please update the SKILLS array in generate_skills.sh to include generators" + echo "for the missing toolsets above, then commit your changes to unblock this PR." + exit 1 +fi + +echo "Validation passed. All upstream toolsets are supported." + +echo "BEGINNING SKILL GENERATION" -# Common Variables LICENSE_HEADER="// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the \"License\"); @@ -26,13 +94,13 @@ LICENSE_HEADER="// Copyright 2026 Google LLC ADDITIONAL_NOTES="Note: The scripts automatically load the environment variables from various .env files. Do not ask the user to set vars unless skill executions fails due to env var absence." -# Execution Logic +# Base Command Function generate_skill() { - local TOOLSET="$2" - local SKILL_DESC="$3" + local TOOLSET="$1" + local SKILL_DESC="$2" local SKILL_NAME="cloud-sql-postgres-$TOOLSET" - echo "Generating skill: $SKILL_NAME (toolset: $TOOLSET)..." + echo "Generating skill: $SKILL_NAME..." npx "@toolbox-sdk/server@${VERSION}" --prebuilt cloud-sql-postgres skills-generate \ --name "$SKILL_NAME" \ @@ -42,33 +110,10 @@ generate_skill() { --additional-notes="$ADDITIONAL_NOTES" } -# register_skill -register_skill() { +set -- "${SKILLS[@]}" +while [ $# -gt 0 ]; do generate_skill "$1" "$2" -} - -register_skill "admin" \ - "Use these skills when you need to provision new Cloud SQL instances, create databases and users, clone existing environments, and monitor the progress of long-running operations." - -register_skill "lifecycle" \ - "Use these skills when you need to manage the lifecycle of your instances, including performing backups and restores, checking major version upgrade compatibility, and monitoring overall instance status." - -register_skill "data" \ - "Use these skills when you need to explore the database structure, discover schema objects like views or stored procedures, and execute custom SQL queries to interact with your data." - -register_skill "monitor" \ - "Use these skills when you need to troubleshoot performance bottlenecks, analyze query execution plans, identify resource-heavy processes, and monitor system-level PromQL metrics." - -register_skill "health" \ - "Use these skills when you need to audit database health, identify storage bloat, find invalid indexes, analyze table statistics, and manage maintenance configurations like autovacuum." - -register_skill "view-config" \ - "Use these skills when you need to discover and manage PostgreSQL extensions or fine-tune engine-level settings such as memory allocation and server configuration parameters." - -register_skill "replication" \ - "Use these skills when you need to monitor replication health, manage sync states between nodes, and audit database roles and security settings to ensure environment integrity." - -register_skill "vectorassist" \ - "Use these skills to set up and optimize production-ready vector workloads by simply expressing your intent and performance requirements" + shift 2 +done echo "All skills generated successfully!" From 0ebc23f4e694dcbd490a336939a04dd45ae0ac9a Mon Sep 17 00:00:00 2001 From: Twisha Bansal Date: Tue, 5 May 2026 15:46:17 +0530 Subject: [PATCH 21/26] test changes --- .ci/scripts/generate_skills.sh | 4 ++-- toolbox_version.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.ci/scripts/generate_skills.sh b/.ci/scripts/generate_skills.sh index a4e7e3b..1f0a1e8 100755 --- a/.ci/scripts/generate_skills.sh +++ b/.ci/scripts/generate_skills.sh @@ -29,8 +29,8 @@ SKILLS=( "replication" "Use these skills when you need to monitor replication health, manage sync states between nodes, and audit database roles and security settings to ensure environment integrity." - "vectorassist" - "Use these skills to set up and optimize production-ready vector workloads by simply expressing your intent and performance requirements" + # "vectorassist" + # "Use these skills to set up and optimize production-ready vector workloads by simply expressing your intent and performance requirements" ) echo "VALIDATING TOOLSETS BEFORE GENERATION" diff --git a/toolbox_version.txt b/toolbox_version.txt index 9084fa2..3eefcb9 100644 --- a/toolbox_version.txt +++ b/toolbox_version.txt @@ -1 +1 @@ -1.1.0 +1.0.0 From e35235fac24842fff937db32bbd2b9286e349b04 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 5 May 2026 10:17:15 +0000 Subject: [PATCH 22/26] chore: auto-generate skills based on toolbox_version.txt update --- skills/cloud-sql-postgres-admin/scripts/clone_instance.js | 2 +- skills/cloud-sql-postgres-admin/scripts/create_database.js | 2 +- skills/cloud-sql-postgres-admin/scripts/create_instance.js | 2 +- skills/cloud-sql-postgres-admin/scripts/create_user.js | 2 +- skills/cloud-sql-postgres-admin/scripts/get_instance.js | 2 +- skills/cloud-sql-postgres-admin/scripts/list_databases.js | 2 +- skills/cloud-sql-postgres-admin/scripts/list_instances.js | 2 +- skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js | 2 +- skills/cloud-sql-postgres-data/scripts/execute_sql.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_indexes.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_schemas.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_sequences.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_tables.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_triggers.js | 2 +- skills/cloud-sql-postgres-data/scripts/list_views.js | 2 +- skills/cloud-sql-postgres-lifecycle/scripts/create_backup.js | 2 +- .../cloud-sql-postgres-lifecycle/scripts/database_overview.js | 2 +- skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js | 2 +- skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js | 2 +- .../scripts/postgres_upgrade_precheck.js | 2 +- skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js | 2 +- .../cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js | 2 +- skills/cloud-sql-postgres-monitor/SKILL.md | 2 +- skills/cloud-sql-postgres-monitor/scripts/get_query_metrics.js | 2 +- skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js | 2 +- skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js | 2 +- .../cloud-sql-postgres-monitor/scripts/list_active_queries.js | 2 +- .../cloud-sql-postgres-monitor/scripts/list_database_stats.js | 2 +- skills/cloud-sql-postgres-monitor/scripts/list_locks.js | 2 +- skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js | 2 +- .../scripts/long_running_transactions.js | 2 +- .../cloud-sql-postgres-replication/scripts/database_overview.js | 2 +- .../cloud-sql-postgres-replication/scripts/list_pg_settings.js | 2 +- .../scripts/list_publication_tables.js | 2 +- .../scripts/list_replication_slots.js | 2 +- skills/cloud-sql-postgres-replication/scripts/list_roles.js | 2 +- .../cloud-sql-postgres-replication/scripts/replication_stats.js | 2 +- .../cloud-sql-postgres-view-config/scripts/database_overview.js | 2 +- skills/cloud-sql-postgres-view-config/scripts/get_instance.js | 2 +- .../scripts/list_available_extensions.js | 2 +- .../scripts/list_installed_extensions.js | 2 +- .../scripts/list_memory_configurations.js | 2 +- .../cloud-sql-postgres-view-config/scripts/list_pg_settings.js | 2 +- 44 files changed, 44 insertions(+), 44 deletions(-) diff --git a/skills/cloud-sql-postgres-admin/scripts/clone_instance.js b/skills/cloud-sql-postgres-admin/scripts/clone_instance.js index 5c34f38..3c180dd 100755 --- a/skills/cloud-sql-postgres-admin/scripts/clone_instance.js +++ b/skills/cloud-sql-postgres-admin/scripts/clone_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/create_database.js b/skills/cloud-sql-postgres-admin/scripts/create_database.js index 7b74296..9bc5dbb 100755 --- a/skills/cloud-sql-postgres-admin/scripts/create_database.js +++ b/skills/cloud-sql-postgres-admin/scripts/create_database.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/create_instance.js b/skills/cloud-sql-postgres-admin/scripts/create_instance.js index 00025ad..3961581 100755 --- a/skills/cloud-sql-postgres-admin/scripts/create_instance.js +++ b/skills/cloud-sql-postgres-admin/scripts/create_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/create_user.js b/skills/cloud-sql-postgres-admin/scripts/create_user.js index 61763cf..33d664d 100755 --- a/skills/cloud-sql-postgres-admin/scripts/create_user.js +++ b/skills/cloud-sql-postgres-admin/scripts/create_user.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/get_instance.js b/skills/cloud-sql-postgres-admin/scripts/get_instance.js index aa6655c..acd5037 100755 --- a/skills/cloud-sql-postgres-admin/scripts/get_instance.js +++ b/skills/cloud-sql-postgres-admin/scripts/get_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/list_databases.js b/skills/cloud-sql-postgres-admin/scripts/list_databases.js index d6a1b0a..5450ed4 100755 --- a/skills/cloud-sql-postgres-admin/scripts/list_databases.js +++ b/skills/cloud-sql-postgres-admin/scripts/list_databases.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/list_instances.js b/skills/cloud-sql-postgres-admin/scripts/list_instances.js index fe97252..66d0603 100755 --- a/skills/cloud-sql-postgres-admin/scripts/list_instances.js +++ b/skills/cloud-sql-postgres-admin/scripts/list_instances.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js b/skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js index 9bbf399..06aa8e1 100755 --- a/skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js +++ b/skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/execute_sql.js b/skills/cloud-sql-postgres-data/scripts/execute_sql.js index b0711f5..d1be556 100755 --- a/skills/cloud-sql-postgres-data/scripts/execute_sql.js +++ b/skills/cloud-sql-postgres-data/scripts/execute_sql.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_indexes.js b/skills/cloud-sql-postgres-data/scripts/list_indexes.js index 4bd05b7..b64b34d 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_indexes.js +++ b/skills/cloud-sql-postgres-data/scripts/list_indexes.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_schemas.js b/skills/cloud-sql-postgres-data/scripts/list_schemas.js index 75e9c9e..e7f358c 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_schemas.js +++ b/skills/cloud-sql-postgres-data/scripts/list_schemas.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_sequences.js b/skills/cloud-sql-postgres-data/scripts/list_sequences.js index 8886e4f..034c86f 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_sequences.js +++ b/skills/cloud-sql-postgres-data/scripts/list_sequences.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js b/skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js index e1caba8..a148eaa 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js +++ b/skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_tables.js b/skills/cloud-sql-postgres-data/scripts/list_tables.js index e871600..5131cd8 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_tables.js +++ b/skills/cloud-sql-postgres-data/scripts/list_tables.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_triggers.js b/skills/cloud-sql-postgres-data/scripts/list_triggers.js index 74d85fe..ed8db23 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_triggers.js +++ b/skills/cloud-sql-postgres-data/scripts/list_triggers.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_views.js b/skills/cloud-sql-postgres-data/scripts/list_views.js index c1a55d7..f79f460 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_views.js +++ b/skills/cloud-sql-postgres-data/scripts/list_views.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/create_backup.js b/skills/cloud-sql-postgres-lifecycle/scripts/create_backup.js index 87c2f06..0339df3 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/create_backup.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/create_backup.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/database_overview.js b/skills/cloud-sql-postgres-lifecycle/scripts/database_overview.js index db64594..2ac7165 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/database_overview.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/database_overview.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js b/skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js index aa6655c..acd5037 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js b/skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js index fe97252..66d0603 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/postgres_upgrade_precheck.js b/skills/cloud-sql-postgres-lifecycle/scripts/postgres_upgrade_precheck.js index 1695cb0..1fc2395 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/postgres_upgrade_precheck.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/postgres_upgrade_precheck.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js b/skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js index 24f4e3f..510ac4c 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js b/skills/cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js index 9bbf399..06aa8e1 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/SKILL.md b/skills/cloud-sql-postgres-monitor/SKILL.md index 393fc61..b9f0b49 100644 --- a/skills/cloud-sql-postgres-monitor/SKILL.md +++ b/skills/cloud-sql-postgres-monitor/SKILL.md @@ -1,6 +1,6 @@ --- name: cloud-sql-postgres-monitor -description: Use these skills when you need to troubleshoot performance bottlenecks, analyze query execution plans, identify resource-heavy processes, and monitor system-level PromQL metrics. +description: Use these skills when you need to troubleshoot performance bottlenecks, analyze query execution plans, identify resource-heavy processes, and monitor system-level PromQL metrics. You can also use them to audit database health, identify storage bloat, find invalid indexes, analyze table statistics, and manage maintenance configurations like autovacuum. --- ## Usage diff --git a/skills/cloud-sql-postgres-monitor/scripts/get_query_metrics.js b/skills/cloud-sql-postgres-monitor/scripts/get_query_metrics.js index 507c8f8..bcffa4a 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/get_query_metrics.js +++ b/skills/cloud-sql-postgres-monitor/scripts/get_query_metrics.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js b/skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js index df020c8..3e6918e 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js +++ b/skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js b/skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js index 40fb529..7dd8663 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js +++ b/skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/list_active_queries.js b/skills/cloud-sql-postgres-monitor/scripts/list_active_queries.js index 3b299c8..a1e48b9 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/list_active_queries.js +++ b/skills/cloud-sql-postgres-monitor/scripts/list_active_queries.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/list_database_stats.js b/skills/cloud-sql-postgres-monitor/scripts/list_database_stats.js index 901c983..612d61a 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/list_database_stats.js +++ b/skills/cloud-sql-postgres-monitor/scripts/list_database_stats.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/list_locks.js b/skills/cloud-sql-postgres-monitor/scripts/list_locks.js index 67d6829..160c17a 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/list_locks.js +++ b/skills/cloud-sql-postgres-monitor/scripts/list_locks.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js b/skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js index 156f3e5..74ae27f 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js +++ b/skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/long_running_transactions.js b/skills/cloud-sql-postgres-monitor/scripts/long_running_transactions.js index 616ea1c..9d4c56b 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/long_running_transactions.js +++ b/skills/cloud-sql-postgres-monitor/scripts/long_running_transactions.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/database_overview.js b/skills/cloud-sql-postgres-replication/scripts/database_overview.js index db64594..2ac7165 100755 --- a/skills/cloud-sql-postgres-replication/scripts/database_overview.js +++ b/skills/cloud-sql-postgres-replication/scripts/database_overview.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/list_pg_settings.js b/skills/cloud-sql-postgres-replication/scripts/list_pg_settings.js index 41ea69b..6b2e5aa 100755 --- a/skills/cloud-sql-postgres-replication/scripts/list_pg_settings.js +++ b/skills/cloud-sql-postgres-replication/scripts/list_pg_settings.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/list_publication_tables.js b/skills/cloud-sql-postgres-replication/scripts/list_publication_tables.js index 863192e..31267e1 100755 --- a/skills/cloud-sql-postgres-replication/scripts/list_publication_tables.js +++ b/skills/cloud-sql-postgres-replication/scripts/list_publication_tables.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/list_replication_slots.js b/skills/cloud-sql-postgres-replication/scripts/list_replication_slots.js index f09c135..69c153e 100755 --- a/skills/cloud-sql-postgres-replication/scripts/list_replication_slots.js +++ b/skills/cloud-sql-postgres-replication/scripts/list_replication_slots.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/list_roles.js b/skills/cloud-sql-postgres-replication/scripts/list_roles.js index 3bf2597..fedde92 100755 --- a/skills/cloud-sql-postgres-replication/scripts/list_roles.js +++ b/skills/cloud-sql-postgres-replication/scripts/list_roles.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/replication_stats.js b/skills/cloud-sql-postgres-replication/scripts/replication_stats.js index ff6c875..7c2b11d 100755 --- a/skills/cloud-sql-postgres-replication/scripts/replication_stats.js +++ b/skills/cloud-sql-postgres-replication/scripts/replication_stats.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/database_overview.js b/skills/cloud-sql-postgres-view-config/scripts/database_overview.js index db64594..2ac7165 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/database_overview.js +++ b/skills/cloud-sql-postgres-view-config/scripts/database_overview.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/get_instance.js b/skills/cloud-sql-postgres-view-config/scripts/get_instance.js index aa6655c..acd5037 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/get_instance.js +++ b/skills/cloud-sql-postgres-view-config/scripts/get_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/list_available_extensions.js b/skills/cloud-sql-postgres-view-config/scripts/list_available_extensions.js index 815794b..bb6c8a0 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/list_available_extensions.js +++ b/skills/cloud-sql-postgres-view-config/scripts/list_available_extensions.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/list_installed_extensions.js b/skills/cloud-sql-postgres-view-config/scripts/list_installed_extensions.js index cf05335..3744145 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/list_installed_extensions.js +++ b/skills/cloud-sql-postgres-view-config/scripts/list_installed_extensions.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/list_memory_configurations.js b/skills/cloud-sql-postgres-view-config/scripts/list_memory_configurations.js index 50a101a..a04fd3f 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/list_memory_configurations.js +++ b/skills/cloud-sql-postgres-view-config/scripts/list_memory_configurations.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/list_pg_settings.js b/skills/cloud-sql-postgres-view-config/scripts/list_pg_settings.js index 41ea69b..6b2e5aa 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/list_pg_settings.js +++ b/skills/cloud-sql-postgres-view-config/scripts/list_pg_settings.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); From 9dccba2b2b94132762c3069dd24bd36412d626cc Mon Sep 17 00:00:00 2001 From: Twisha Bansal Date: Tue, 5 May 2026 15:50:03 +0530 Subject: [PATCH 23/26] test missing toolset --- .ci/scripts/generate_skills.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/scripts/generate_skills.sh b/.ci/scripts/generate_skills.sh index 1f0a1e8..ca989c5 100755 --- a/.ci/scripts/generate_skills.sh +++ b/.ci/scripts/generate_skills.sh @@ -26,8 +26,8 @@ SKILLS=( "view-config" "Use these skills when you need to discover and manage PostgreSQL extensions or fine-tune engine-level settings such as memory allocation and server configuration parameters." - "replication" - "Use these skills when you need to monitor replication health, manage sync states between nodes, and audit database roles and security settings to ensure environment integrity." + # "replication" + # "Use these skills when you need to monitor replication health, manage sync states between nodes, and audit database roles and security settings to ensure environment integrity." # "vectorassist" # "Use these skills to set up and optimize production-ready vector workloads by simply expressing your intent and performance requirements" From bf2dcffc5a484ad7877fc2888ddc10543627aecf Mon Sep 17 00:00:00 2001 From: Twisha Bansal Date: Tue, 5 May 2026 16:09:18 +0530 Subject: [PATCH 24/26] try --- .ci/scripts/generate_skills.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/scripts/generate_skills.sh b/.ci/scripts/generate_skills.sh index ca989c5..600dfe0 100755 --- a/.ci/scripts/generate_skills.sh +++ b/.ci/scripts/generate_skills.sh @@ -52,7 +52,7 @@ echo "Fetching upstream config from: $RAW_URL" UPSTREAM_YAML=$(curl -sL --fail "$RAW_URL" || { echo "Error: Could not fetch upstream YAML for v$VERSION"; exit 1; }) # Extract the list of toolsets -UPSTREAM_TOOLSETS=$(echo "$UPSTREAM_YAML" | npx --yes yaml-cli get "toolsets" --keys || echo "") +UPSTREAM_TOOLSETS=$(echo "$UPSTREAM_YAML" | awk '/^toolsets:/{flag=1; next} flag && /^ [a-zA-Z0-9_-]+:/{print $1}' | sed 's/://g') # Compare upstream toolsets against our supported list MISSING_TOOLSETS=false From f55338401a06ecb918face5c72d75f4c8b400feb Mon Sep 17 00:00:00 2001 From: Twisha Bansal Date: Tue, 5 May 2026 16:15:48 +0530 Subject: [PATCH 25/26] revert testing changes --- .ci/scripts/generate_skills.sh | 13 ++++++++----- .../scripts/clone_instance.js | 2 +- .../scripts/create_database.js | 2 +- .../scripts/create_instance.js | 2 +- .../cloud-sql-postgres-admin/scripts/create_user.js | 2 +- .../scripts/get_instance.js | 2 +- .../scripts/list_databases.js | 2 +- .../scripts/list_instances.js | 2 +- .../scripts/wait_for_operation.js | 2 +- .../cloud-sql-postgres-data/scripts/execute_sql.js | 2 +- .../cloud-sql-postgres-data/scripts/list_indexes.js | 2 +- .../cloud-sql-postgres-data/scripts/list_schemas.js | 2 +- .../scripts/list_sequences.js | 2 +- .../scripts/list_stored_procedure.js | 2 +- .../cloud-sql-postgres-data/scripts/list_tables.js | 2 +- .../scripts/list_triggers.js | 2 +- .../cloud-sql-postgres-data/scripts/list_views.js | 2 +- .../scripts/create_backup.js | 2 +- .../scripts/database_overview.js | 2 +- .../scripts/get_instance.js | 2 +- .../scripts/list_instances.js | 2 +- .../scripts/postgres_upgrade_precheck.js | 2 +- .../scripts/restore_backup.js | 2 +- .../scripts/wait_for_operation.js | 2 +- skills/cloud-sql-postgres-monitor/SKILL.md | 2 +- .../scripts/get_query_metrics.js | 2 +- .../scripts/get_query_plan.js | 2 +- .../scripts/get_system_metrics.js | 2 +- .../scripts/list_active_queries.js | 2 +- .../scripts/list_database_stats.js | 2 +- .../scripts/list_locks.js | 2 +- .../scripts/list_query_stats.js | 2 +- .../scripts/long_running_transactions.js | 2 +- .../scripts/database_overview.js | 2 +- .../scripts/list_pg_settings.js | 2 +- .../scripts/list_publication_tables.js | 2 +- .../scripts/list_replication_slots.js | 2 +- .../scripts/list_roles.js | 2 +- .../scripts/replication_stats.js | 2 +- .../scripts/database_overview.js | 2 +- .../scripts/get_instance.js | 2 +- .../scripts/list_available_extensions.js | 2 +- .../scripts/list_installed_extensions.js | 2 +- .../scripts/list_memory_configurations.js | 2 +- .../scripts/list_pg_settings.js | 2 +- toolbox_version.txt | 2 +- 46 files changed, 53 insertions(+), 50 deletions(-) diff --git a/.ci/scripts/generate_skills.sh b/.ci/scripts/generate_skills.sh index 600dfe0..7aae9d4 100755 --- a/.ci/scripts/generate_skills.sh +++ b/.ci/scripts/generate_skills.sh @@ -20,17 +20,20 @@ SKILLS=( "data" "Use these skills when you need to explore the database structure, discover schema objects like views or stored procedures, and execute custom SQL queries to interact with your data." + "health" + "Use these skills when you need to audit database health, identify storage bloat, find invalid indexes, analyze table statistics, and manage maintenance configurations like autovacuum." + "monitor" - "Use these skills when you need to troubleshoot performance bottlenecks, analyze query execution plans, identify resource-heavy processes, and monitor system-level PromQL metrics. You can also use them to audit database health, identify storage bloat, find invalid indexes, analyze table statistics, and manage maintenance configurations like autovacuum." + "Use these skills when you need to troubleshoot performance bottlenecks, analyze query execution plans, identify resource-heavy processes, and monitor system-level PromQL metrics." "view-config" "Use these skills when you need to discover and manage PostgreSQL extensions or fine-tune engine-level settings such as memory allocation and server configuration parameters." - # "replication" - # "Use these skills when you need to monitor replication health, manage sync states between nodes, and audit database roles and security settings to ensure environment integrity." + "replication" + "Use these skills when you need to monitor replication health, manage sync states between nodes, and audit database roles and security settings to ensure environment integrity." - # "vectorassist" - # "Use these skills to set up and optimize production-ready vector workloads by simply expressing your intent and performance requirements" + "vectorassist" + "Use these skills to set up and optimize production-ready vector workloads by simply expressing your intent and performance requirements" ) echo "VALIDATING TOOLSETS BEFORE GENERATION" diff --git a/skills/cloud-sql-postgres-admin/scripts/clone_instance.js b/skills/cloud-sql-postgres-admin/scripts/clone_instance.js index 3c180dd..5c34f38 100755 --- a/skills/cloud-sql-postgres-admin/scripts/clone_instance.js +++ b/skills/cloud-sql-postgres-admin/scripts/clone_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/create_database.js b/skills/cloud-sql-postgres-admin/scripts/create_database.js index 9bc5dbb..7b74296 100755 --- a/skills/cloud-sql-postgres-admin/scripts/create_database.js +++ b/skills/cloud-sql-postgres-admin/scripts/create_database.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/create_instance.js b/skills/cloud-sql-postgres-admin/scripts/create_instance.js index 3961581..00025ad 100755 --- a/skills/cloud-sql-postgres-admin/scripts/create_instance.js +++ b/skills/cloud-sql-postgres-admin/scripts/create_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/create_user.js b/skills/cloud-sql-postgres-admin/scripts/create_user.js index 33d664d..61763cf 100755 --- a/skills/cloud-sql-postgres-admin/scripts/create_user.js +++ b/skills/cloud-sql-postgres-admin/scripts/create_user.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/get_instance.js b/skills/cloud-sql-postgres-admin/scripts/get_instance.js index acd5037..aa6655c 100755 --- a/skills/cloud-sql-postgres-admin/scripts/get_instance.js +++ b/skills/cloud-sql-postgres-admin/scripts/get_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/list_databases.js b/skills/cloud-sql-postgres-admin/scripts/list_databases.js index 5450ed4..d6a1b0a 100755 --- a/skills/cloud-sql-postgres-admin/scripts/list_databases.js +++ b/skills/cloud-sql-postgres-admin/scripts/list_databases.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/list_instances.js b/skills/cloud-sql-postgres-admin/scripts/list_instances.js index 66d0603..fe97252 100755 --- a/skills/cloud-sql-postgres-admin/scripts/list_instances.js +++ b/skills/cloud-sql-postgres-admin/scripts/list_instances.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js b/skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js index 06aa8e1..9bbf399 100755 --- a/skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js +++ b/skills/cloud-sql-postgres-admin/scripts/wait_for_operation.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/execute_sql.js b/skills/cloud-sql-postgres-data/scripts/execute_sql.js index d1be556..b0711f5 100755 --- a/skills/cloud-sql-postgres-data/scripts/execute_sql.js +++ b/skills/cloud-sql-postgres-data/scripts/execute_sql.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_indexes.js b/skills/cloud-sql-postgres-data/scripts/list_indexes.js index b64b34d..4bd05b7 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_indexes.js +++ b/skills/cloud-sql-postgres-data/scripts/list_indexes.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_schemas.js b/skills/cloud-sql-postgres-data/scripts/list_schemas.js index e7f358c..75e9c9e 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_schemas.js +++ b/skills/cloud-sql-postgres-data/scripts/list_schemas.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_sequences.js b/skills/cloud-sql-postgres-data/scripts/list_sequences.js index 034c86f..8886e4f 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_sequences.js +++ b/skills/cloud-sql-postgres-data/scripts/list_sequences.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js b/skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js index a148eaa..e1caba8 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js +++ b/skills/cloud-sql-postgres-data/scripts/list_stored_procedure.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_tables.js b/skills/cloud-sql-postgres-data/scripts/list_tables.js index 5131cd8..e871600 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_tables.js +++ b/skills/cloud-sql-postgres-data/scripts/list_tables.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_triggers.js b/skills/cloud-sql-postgres-data/scripts/list_triggers.js index ed8db23..74d85fe 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_triggers.js +++ b/skills/cloud-sql-postgres-data/scripts/list_triggers.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-data/scripts/list_views.js b/skills/cloud-sql-postgres-data/scripts/list_views.js index f79f460..c1a55d7 100755 --- a/skills/cloud-sql-postgres-data/scripts/list_views.js +++ b/skills/cloud-sql-postgres-data/scripts/list_views.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/create_backup.js b/skills/cloud-sql-postgres-lifecycle/scripts/create_backup.js index 0339df3..87c2f06 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/create_backup.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/create_backup.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/database_overview.js b/skills/cloud-sql-postgres-lifecycle/scripts/database_overview.js index 2ac7165..db64594 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/database_overview.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/database_overview.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js b/skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js index acd5037..aa6655c 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/get_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js b/skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js index 66d0603..fe97252 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/list_instances.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/postgres_upgrade_precheck.js b/skills/cloud-sql-postgres-lifecycle/scripts/postgres_upgrade_precheck.js index 1fc2395..1695cb0 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/postgres_upgrade_precheck.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/postgres_upgrade_precheck.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js b/skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js index 510ac4c..24f4e3f 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/restore_backup.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js b/skills/cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js index 06aa8e1..9bbf399 100755 --- a/skills/cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js +++ b/skills/cloud-sql-postgres-lifecycle/scripts/wait_for_operation.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/SKILL.md b/skills/cloud-sql-postgres-monitor/SKILL.md index b9f0b49..393fc61 100644 --- a/skills/cloud-sql-postgres-monitor/SKILL.md +++ b/skills/cloud-sql-postgres-monitor/SKILL.md @@ -1,6 +1,6 @@ --- name: cloud-sql-postgres-monitor -description: Use these skills when you need to troubleshoot performance bottlenecks, analyze query execution plans, identify resource-heavy processes, and monitor system-level PromQL metrics. You can also use them to audit database health, identify storage bloat, find invalid indexes, analyze table statistics, and manage maintenance configurations like autovacuum. +description: Use these skills when you need to troubleshoot performance bottlenecks, analyze query execution plans, identify resource-heavy processes, and monitor system-level PromQL metrics. --- ## Usage diff --git a/skills/cloud-sql-postgres-monitor/scripts/get_query_metrics.js b/skills/cloud-sql-postgres-monitor/scripts/get_query_metrics.js index bcffa4a..507c8f8 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/get_query_metrics.js +++ b/skills/cloud-sql-postgres-monitor/scripts/get_query_metrics.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js b/skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js index 3e6918e..df020c8 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js +++ b/skills/cloud-sql-postgres-monitor/scripts/get_query_plan.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js b/skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js index 7dd8663..40fb529 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js +++ b/skills/cloud-sql-postgres-monitor/scripts/get_system_metrics.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/list_active_queries.js b/skills/cloud-sql-postgres-monitor/scripts/list_active_queries.js index a1e48b9..3b299c8 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/list_active_queries.js +++ b/skills/cloud-sql-postgres-monitor/scripts/list_active_queries.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/list_database_stats.js b/skills/cloud-sql-postgres-monitor/scripts/list_database_stats.js index 612d61a..901c983 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/list_database_stats.js +++ b/skills/cloud-sql-postgres-monitor/scripts/list_database_stats.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/list_locks.js b/skills/cloud-sql-postgres-monitor/scripts/list_locks.js index 160c17a..67d6829 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/list_locks.js +++ b/skills/cloud-sql-postgres-monitor/scripts/list_locks.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js b/skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js index 74ae27f..156f3e5 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js +++ b/skills/cloud-sql-postgres-monitor/scripts/list_query_stats.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-monitor/scripts/long_running_transactions.js b/skills/cloud-sql-postgres-monitor/scripts/long_running_transactions.js index 9d4c56b..616ea1c 100755 --- a/skills/cloud-sql-postgres-monitor/scripts/long_running_transactions.js +++ b/skills/cloud-sql-postgres-monitor/scripts/long_running_transactions.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/database_overview.js b/skills/cloud-sql-postgres-replication/scripts/database_overview.js index 2ac7165..db64594 100755 --- a/skills/cloud-sql-postgres-replication/scripts/database_overview.js +++ b/skills/cloud-sql-postgres-replication/scripts/database_overview.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/list_pg_settings.js b/skills/cloud-sql-postgres-replication/scripts/list_pg_settings.js index 6b2e5aa..41ea69b 100755 --- a/skills/cloud-sql-postgres-replication/scripts/list_pg_settings.js +++ b/skills/cloud-sql-postgres-replication/scripts/list_pg_settings.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/list_publication_tables.js b/skills/cloud-sql-postgres-replication/scripts/list_publication_tables.js index 31267e1..863192e 100755 --- a/skills/cloud-sql-postgres-replication/scripts/list_publication_tables.js +++ b/skills/cloud-sql-postgres-replication/scripts/list_publication_tables.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/list_replication_slots.js b/skills/cloud-sql-postgres-replication/scripts/list_replication_slots.js index 69c153e..f09c135 100755 --- a/skills/cloud-sql-postgres-replication/scripts/list_replication_slots.js +++ b/skills/cloud-sql-postgres-replication/scripts/list_replication_slots.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/list_roles.js b/skills/cloud-sql-postgres-replication/scripts/list_roles.js index fedde92..3bf2597 100755 --- a/skills/cloud-sql-postgres-replication/scripts/list_roles.js +++ b/skills/cloud-sql-postgres-replication/scripts/list_roles.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-replication/scripts/replication_stats.js b/skills/cloud-sql-postgres-replication/scripts/replication_stats.js index 7c2b11d..ff6c875 100755 --- a/skills/cloud-sql-postgres-replication/scripts/replication_stats.js +++ b/skills/cloud-sql-postgres-replication/scripts/replication_stats.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/database_overview.js b/skills/cloud-sql-postgres-view-config/scripts/database_overview.js index 2ac7165..db64594 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/database_overview.js +++ b/skills/cloud-sql-postgres-view-config/scripts/database_overview.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/get_instance.js b/skills/cloud-sql-postgres-view-config/scripts/get_instance.js index acd5037..aa6655c 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/get_instance.js +++ b/skills/cloud-sql-postgres-view-config/scripts/get_instance.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/list_available_extensions.js b/skills/cloud-sql-postgres-view-config/scripts/list_available_extensions.js index bb6c8a0..815794b 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/list_available_extensions.js +++ b/skills/cloud-sql-postgres-view-config/scripts/list_available_extensions.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/list_installed_extensions.js b/skills/cloud-sql-postgres-view-config/scripts/list_installed_extensions.js index 3744145..cf05335 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/list_installed_extensions.js +++ b/skills/cloud-sql-postgres-view-config/scripts/list_installed_extensions.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/list_memory_configurations.js b/skills/cloud-sql-postgres-view-config/scripts/list_memory_configurations.js index a04fd3f..50a101a 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/list_memory_configurations.js +++ b/skills/cloud-sql-postgres-view-config/scripts/list_memory_configurations.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/skills/cloud-sql-postgres-view-config/scripts/list_pg_settings.js b/skills/cloud-sql-postgres-view-config/scripts/list_pg_settings.js index 6b2e5aa..41ea69b 100755 --- a/skills/cloud-sql-postgres-view-config/scripts/list_pg_settings.js +++ b/skills/cloud-sql-postgres-view-config/scripts/list_pg_settings.js @@ -87,7 +87,7 @@ function main() { const command = os.platform() === 'win32' ? 'npx.cmd' : 'npx'; const processedArgs = os.platform() === 'win32' ? args.map(arg => arg.includes('"') ? '"' + arg.replace(/"/g, '""') + '"' : arg) : args; - const npxArgs = ["--yes", "@toolbox-sdk/server@1.0.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; + const npxArgs = ["--yes", "@toolbox-sdk/server@1.1.0", "--log-level", "error", ...configArgs, "invoke", toolName, "--user-agent-metadata", userAgent, ...processedArgs]; const child = spawn(command, npxArgs, { shell: os.platform() === 'win32', stdio: 'inherit', env }); diff --git a/toolbox_version.txt b/toolbox_version.txt index 3eefcb9..9084fa2 100644 --- a/toolbox_version.txt +++ b/toolbox_version.txt @@ -1 +1 @@ -1.0.0 +1.1.0 From 4aaddc5b4614d09bb1904f665ad952358ae799bf Mon Sep 17 00:00:00 2001 From: Twisha Bansal Date: Tue, 5 May 2026 16:18:38 +0530 Subject: [PATCH 26/26] small fix --- .ci/skills-gen.cloudbuild.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.ci/skills-gen.cloudbuild.yaml b/.ci/skills-gen.cloudbuild.yaml index 7497580..977f994 100644 --- a/.ci/skills-gen.cloudbuild.yaml +++ b/.ci/skills-gen.cloudbuild.yaml @@ -57,7 +57,7 @@ steps: waitFor: ["generate-skills"] entrypoint: "bash" volumes: - - name: "ssh-keys" # This mounts the keys generated in Step 1 + - name: "ssh-keys" path: /root/.ssh args: - -c @@ -73,7 +73,6 @@ steps: git config user.name "release-please[bot]" git config user.email "55107282+release-please[bot]@users.noreply.github.com" - # We can now just push natively using the SSH URL! git remote set-url origin git@github.com:gemini-cli-extensions/cloud-sql-postgresql.git git add . git commit -m "chore: auto-generate skills based on toolbox_version.txt update"