Skip to content

Commit d3e79af

Browse files
committed
feat(plugin): support agent plugin spec
1 parent 105d2e9 commit d3e79af

6 files changed

Lines changed: 42 additions & 32 deletions

File tree

.claude-plugin/marketplace.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@
99
"plugins": [
1010
{
1111
"name": "spanner",
12-
"source": {
13-
"source": "git",
14-
"url": "https://github.com/gemini-cli-extensions/spanner.git"
15-
},
12+
"source": "./",
1613
"policy": {
1714
"installation": "AVAILABLE",
1815
"authentication": "ON_INSTALL"

.claude-plugin/plugin.json

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -9,31 +9,5 @@
99
"homepage": "https://cloud.google.com/spanner",
1010
"license": "Apache-2.0",
1111
"repository": "https://github.com/gemini-cli-extensions/spanner",
12-
"skills": "./skills/",
13-
"userConfig": {
14-
"spanner_project": {
15-
"title": "Project ID",
16-
"description": "ID of the Google Cloud project",
17-
"type": "string",
18-
"sensitive": false
19-
},
20-
"spanner_instance": {
21-
"title": "Instance",
22-
"description": "ID of the Spanner instance",
23-
"type": "string",
24-
"sensitive": false
25-
},
26-
"spanner_database": {
27-
"title": "Database",
28-
"description": "ID of the Spanner database",
29-
"type": "string",
30-
"sensitive": false
31-
},
32-
"spanner_dialect": {
33-
"title": "Database Dialect",
34-
"description": "(Optional) The SQL dialect of the Spanner Database: 'googlesql' or 'postgresql'. (Default: 'googlesql')",
35-
"type": "string",
36-
"sensitive": false
37-
}
38-
}
12+
"skills": "./skills/"
3913
}

.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/spanner/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 [Google Cloud Sp
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)
@@ -198,6 +200,19 @@ For detailed info check out the [Skills npm package](https://www.npmjs.com/packa
198200
**2. Set env vars:**
199201
Set your environment vars as described in the [configuration section](#configuration).
200202

203+
## Installing via a compatible Agent Plugins client
204+
205+
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:
206+
207+
```
208+
https://github.com/gemini-cli-extensions/spanner
209+
```
210+
211+
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.
212+
213+
**Set env vars:**
214+
Set your environment vars as described in the [configuration section](#configuration).
215+
201216
<!-- {x-release-please-end} -->
202217

203218
## 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": "spanner",
4+
"version": "0.3.2",
5+
"description": "Connect and interact with Spanner data using natural language.",
6+
"author": {
7+
"name": "Google LLC",
8+
"email": "data-cloud-ai-integrations@google.com"
9+
},
10+
"homepage": "https://cloud.google.com/spanner",
11+
"repository": "https://github.com/gemini-cli-extensions/spanner",
12+
"license": "Apache-2.0",
13+
"keywords": [
14+
"spanner",
15+
"google-cloud",
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)