Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 1 addition & 45 deletions .claude-plugin/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,49 +9,5 @@
"homepage": "https://cloud.google.com/sql",
"license": "Apache-2.0",
"repository": "https://github.com/gemini-cli-extensions/cloud-sql-postgresql",
"skills": "./skills/",
"userConfig": {
"cloud_sql_postgres_project": {
"title": "Project ID",
"description": "ID of the Google Cloud project",
"type": "string",
"sensitive": false
},
"cloud_sql_postgres_region": {
"title": "Region",
"description": "Region of the Cloud SQL instance",
"type": "string",
"sensitive": false
},
"cloud_sql_postgres_instance": {
"title": "Instance Name",
"description": "Name of the Cloud SQL instance",
"type": "string",
"sensitive": false
},
"cloud_sql_postgres_database": {
"title": "Database Name",
"description": "Name of the database",
"type": "string",
"sensitive": false
},
"cloud_sql_postgres_user": {
"title": "Database User",
"description": "(Optional) Username of the database user (Default: IAM user)",
"type": "string",
"sensitive": false
},
"cloud_sql_postgres_password": {
"title": "Database Password",
"description": "(Optional) Password of the database user (Default: IAM user)",
"type": "string",
"sensitive": false
},
"cloud_sql_postgres_ip_type": {
"title": "IP Type",
"description": "(Optional) Type of the IP address: PUBLIC, PRIVATE, or PSC (Default: Public)",
"type": "string",
"sensitive": false
}
}
"skills": "./skills/"
}
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,21 @@ 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 using [open agent plugins tool](https://github.com/vercel-labs/plugins)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Should we add this heading to the TOC? Seems like the other heading "Installing using open agent skills tool" is also not present there. Could you please add both?


This repository is a valid [Agent Plugins](https://github.com/agentplugins/agent-plugins-spec) plugin, so you can install it into any supported agent with the `npx plugins` command.

Run the following command in your terminal to automatically detect your installed agents and register the plugin:

```bash
npx plugins add gemini-cli-extensions/cloud-sql-postgresql
```

For detailed info check out the [Plugins npm package](https://www.npmjs.com/package/plugins).

**2. Set env vars:**
Set your environment vars as described in the [configuration section](#configuration).

<!-- {x-release-please-end} -->

## Usage Examples
Expand Down
18 changes: 18 additions & 0 deletions plugin.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
"name": "cloud-sql-postgresql",
"version": "0.4.0",
"description": "Create, connect, and interact with a Cloud SQL for PostgreSQL database and data.",
"author": {
"name": "Google LLC",
"email": "data-cloud-ai-integrations@google.com"
},
"homepage": "https://cloud.google.com/sql",
"repository": "https://github.com/gemini-cli-extensions/cloud-sql-postgresql",
"license": "Apache-2.0",
"keywords": [
"cloud-sql",
"postgresql",
"database"
]
}
5 changes: 5 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@
"type": "json",
"path": ".claude-plugin/plugin.json",
"jsonpath": "$.version"
},
{
"type": "json",
"path": "plugin.json",
"jsonpath": "$.version"
}
]
}
Expand Down
Loading