Skip to content

Commit b0f7592

Browse files
committed
feat(plugin): support agent plugin spec
1 parent 8b4e273 commit b0f7592

5 files changed

Lines changed: 42 additions & 47 deletions

File tree

.claude-plugin/plugin.json

Lines changed: 2 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -9,49 +9,5 @@
99
"homepage": "https://cloud.google.com/sql/docs/sqlserver",
1010
"license": "Apache-2.0",
1111
"repository": "https://github.com/gemini-cli-extensions/cloud-sql-sqlserver",
12-
"skills": "./skills/",
13-
"userConfig": {
14-
"cloud_sql_mssql_project": {
15-
"title": "Project Name",
16-
"description": "Name of the Google Cloud project",
17-
"type": "string",
18-
"sensitive": false
19-
},
20-
"cloud_sql_mssql_region": {
21-
"title": "Region",
22-
"description": "Region of the Cloud SQL instance",
23-
"type": "string",
24-
"sensitive": false
25-
},
26-
"cloud_sql_mssql_instance": {
27-
"title": "Instance ID",
28-
"description": "ID of the Cloud SQL instance",
29-
"type": "string",
30-
"sensitive": false
31-
},
32-
"cloud_sql_mssql_database": {
33-
"title": "Database",
34-
"description": "Name of the database",
35-
"type": "string",
36-
"sensitive": false
37-
},
38-
"cloud_sql_mssql_user": {
39-
"title": "User",
40-
"description": "Username of the database user",
41-
"type": "string",
42-
"sensitive": false
43-
},
44-
"cloud_sql_mssql_password": {
45-
"title": "Password",
46-
"description": "Password of the database user",
47-
"type": "string",
48-
"sensitive": false
49-
},
50-
"cloud_sql_mssql_ip_type": {
51-
"title": "Instance IP assignment",
52-
"description": "(Optional) Type of the IP address: PUBLIC, PRIVATE, or PSC (Default: Public)",
53-
"type": "string",
54-
"sensitive": false
55-
}
56-
}
57-
}
12+
"skills": "./skills/"
13+
}

.lycheeignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
https://github.com/gemini-cli-extensions/cloud-sql-sqlserver/compare/
22
https://www.npmjs.com/package/skills
3+
https://agent-plugins.org/compatible-clients

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ This repository provides a set of agent skills to interact with [Cloud SQL for S
2222
- [Antigravity](#antigravity)
2323
- [Claude Code](#claude-code)
2424
- [Codex](#codex)
25+
- [Installing using open agent skills tool](#installing-using-open-agent-skills-tool)
26+
- [Installing via a compatible Agent Plugins client](#installing-via-a-compatible-agent-plugins-client)
2527
- [Usage Examples](#usage-examples)
2628
- [Supported Skills](#supported-skills)
2729
- [Additional Agent Skills](#additional-agent-skills)
@@ -204,6 +206,19 @@ For detailed info check out the [Skills npm package](https://www.npmjs.com/packa
204206
**2. Set env vars:**
205207
Set your environment vars as described in the [configuration section](#configuration).
206208

209+
## Installing via a compatible Agent Plugins client
210+
211+
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:
212+
213+
```
214+
https://github.com/gemini-cli-extensions/cloud-sql-sqlserver
215+
```
216+
217+
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.
218+
219+
**Set env vars:**
220+
Set your environment vars as described in the [configuration section](#configuration).
221+
207222
<!-- {x-release-please-end} -->
208223

209224
## Usage Examples

plugin.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3+
"name": "cloud-sql-sqlserver",
4+
"version": "0.2.0",
5+
"description": "Connect to Cloud SQL for SQL Server",
6+
"author": {
7+
"name": "Google LLC",
8+
"email": "data-cloud-ai-integrations@google.com"
9+
},
10+
"homepage": "https://cloud.google.com/sql/docs/sqlserver",
11+
"repository": "https://github.com/gemini-cli-extensions/cloud-sql-sqlserver",
12+
"license": "Apache-2.0",
13+
"keywords": [
14+
"cloud-sql",
15+
"sql-server",
16+
"database"
17+
]
18+
}

release-please-config.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,13 @@
4343
"type": "json",
4444
"path": ".claude-plugin/plugin.json",
4545
"jsonpath": "$.version"
46+
},
47+
{
48+
"type": "json",
49+
"path": "plugin.json",
50+
"jsonpath": "$.version"
4651
}
4752
]
4853
}
4954
}
50-
}
55+
}

0 commit comments

Comments
 (0)