From b0f759271d310715cfabfc51cf921678f3e84d2c Mon Sep 17 00:00:00 2001 From: Haoyu Wang Date: Mon, 3 Aug 2026 14:43:42 -0400 Subject: [PATCH] feat(plugin): support agent plugin spec --- .claude-plugin/plugin.json | 48 ++------------------------------------ .lycheeignore | 1 + README.md | 15 ++++++++++++ plugin.json | 18 ++++++++++++++ release-please-config.json | 7 +++++- 5 files changed, 42 insertions(+), 47 deletions(-) create mode 100644 plugin.json diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json index 52b962b..79c4c3e 100644 --- a/.claude-plugin/plugin.json +++ b/.claude-plugin/plugin.json @@ -9,49 +9,5 @@ "homepage": "https://cloud.google.com/sql/docs/sqlserver", "license": "Apache-2.0", "repository": "https://github.com/gemini-cli-extensions/cloud-sql-sqlserver", - "skills": "./skills/", - "userConfig": { - "cloud_sql_mssql_project": { - "title": "Project Name", - "description": "Name of the Google Cloud project", - "type": "string", - "sensitive": false - }, - "cloud_sql_mssql_region": { - "title": "Region", - "description": "Region of the Cloud SQL instance", - "type": "string", - "sensitive": false - }, - "cloud_sql_mssql_instance": { - "title": "Instance ID", - "description": "ID of the Cloud SQL instance", - "type": "string", - "sensitive": false - }, - "cloud_sql_mssql_database": { - "title": "Database", - "description": "Name of the database", - "type": "string", - "sensitive": false - }, - "cloud_sql_mssql_user": { - "title": "User", - "description": "Username of the database user", - "type": "string", - "sensitive": false - }, - "cloud_sql_mssql_password": { - "title": "Password", - "description": "Password of the database user", - "type": "string", - "sensitive": false - }, - "cloud_sql_mssql_ip_type": { - "title": "Instance IP assignment", - "description": "(Optional) Type of the IP address: PUBLIC, PRIVATE, or PSC (Default: Public)", - "type": "string", - "sensitive": false - } - } -} \ No newline at end of file + "skills": "./skills/" +} diff --git a/.lycheeignore b/.lycheeignore index 70fb69d..a04d5f8 100644 --- a/.lycheeignore +++ b/.lycheeignore @@ -1,2 +1,3 @@ https://github.com/gemini-cli-extensions/cloud-sql-sqlserver/compare/ https://www.npmjs.com/package/skills +https://agent-plugins.org/compatible-clients diff --git a/README.md b/README.md index 34622da..33bcb66 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,8 @@ This repository provides a set of agent skills to interact with [Cloud SQL for S - [Antigravity](#antigravity) - [Claude Code](#claude-code) - [Codex](#codex) +- [Installing using open agent skills tool](#installing-using-open-agent-skills-tool) +- [Installing via a compatible Agent Plugins client](#installing-via-a-compatible-agent-plugins-client) - [Usage Examples](#usage-examples) - [Supported Skills](#supported-skills) - [Additional Agent Skills](#additional-agent-skills) @@ -204,6 +206,19 @@ For detailed info check out the [Skills npm package](https://www.npmjs.com/packa **2. Set env vars:** Set your environment vars as described in the [configuration section](#configuration). +## Installing via a compatible Agent Plugins client + +This repository is a valid [Agent Plugins](https://github.com/agentplugins/agent-plugins-spec) (v1) plugin. Any [Agent Plugins–compatible client](https://agent-plugins.org/compatible-clients) can install it directly using its own built-in plugin command — no extra tooling required — by pointing at this repository: + +``` +https://github.com/gemini-cli-extensions/cloud-sql-sqlserver +``` + +Beyond harnesses covered by the native install above, compatible clients include VS Code, Cursor, GitHub Copilot, and Kiro. See your agent's documentation for its exact install command. + +**Set env vars:** +Set your environment vars as described in the [configuration section](#configuration). + ## Usage Examples diff --git a/plugin.json b/plugin.json new file mode 100644 index 0000000..8ed147d --- /dev/null +++ b/plugin.json @@ -0,0 +1,18 @@ +{ + "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json", + "name": "cloud-sql-sqlserver", + "version": "0.2.0", + "description": "Connect to Cloud SQL for SQL Server", + "author": { + "name": "Google LLC", + "email": "data-cloud-ai-integrations@google.com" + }, + "homepage": "https://cloud.google.com/sql/docs/sqlserver", + "repository": "https://github.com/gemini-cli-extensions/cloud-sql-sqlserver", + "license": "Apache-2.0", + "keywords": [ + "cloud-sql", + "sql-server", + "database" + ] +} diff --git a/release-please-config.json b/release-please-config.json index 5e58863..b8b3c03 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -43,8 +43,13 @@ "type": "json", "path": ".claude-plugin/plugin.json", "jsonpath": "$.version" + }, + { + "type": "json", + "path": "plugin.json", + "jsonpath": "$.version" } ] } } -} \ No newline at end of file +}