@neon/skills 3.1.0 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neon/skills",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "Agent Skills for Neon: Lakebase Postgres, Managed Better Auth, Realtime, Object Storage, Functions, the Data API, and AI Gateway",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
package/plugin.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
3
  "name": "neon-postgres",
4
- "version": "3.1.0",
4
+ "version": "3.1.1",
5
5
  "description": "Manage your Neon backend with the Neon agent skills and the Neon MCP Server: Lakebase Postgres, Managed Better Auth, Realtime, Object Storage, Functions, the Data API, and AI Gateway",
6
6
  "author": {
7
7
  "name": "Neon",
@@ -129,7 +129,7 @@ The skills below live in the [`neondatabase/agent-skills`](https://github.com/ne
129
129
  | Skill | Use it for |
130
130
  | -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
131
131
  | `neon-postgres` | Working with databases, including connections, schemas, queries, search, branching workflows, egress optimization, Free plan limits, autoscaling, performance, and scaling decisions. |
132
- | `neon-auth` | Identity routing and Managed Better Auth setup (login, users, sessions, trusted domains). Fetch: https://neon.com/docs/ai/skills/neon-auth/SKILL.md |
132
+ | `neon-auth` | Identity routing and Managed Better Auth setup (login, users, sessions, trusted domains). |
133
133
  | `neon-object-storage` | Storing and serving files (uploads, images, blobs), including branching them with the database. |
134
134
  | `neon-functions` | Deploying long-running or streaming serverless functions — APIs, agents, MCP servers, SSE/WebSocket servers, and Function Triggers (cron and object-storage). |
135
135
  | `neon-ai-gateway` | Calling an LLM or routing across model providers with one credential, including discovering the branch's servable models at runtime via the OpenAI-compatible `/v1/models` endpoint. |
@@ -159,14 +159,6 @@ For example, to install the object storage skill globally for a specific agent w
159
159
  neon skills -s neon-object-storage --global -y --agent <agent-name>
160
160
  ```
161
161
 
162
- `neon-auth` is not in the CLI skill catalog of current releases. Unknown names fail, so do not run `neon skills -s neon-auth`. Fetch it:
163
-
164
- ```
165
- https://neon.com/docs/ai/skills/neon-auth/SKILL.md
166
- ```
167
-
168
- References: https://neon.com/docs/ai/skills/neon-auth/references/managed-auth.md and https://neon.com/docs/ai/skills/neon-auth/references/self-managed.md. If those URLs are unpublished, fetch the same files from https://github.com/neondatabase/agent-skills/blob/main/skills/neon-auth/SKILL.md
169
-
170
162
  If the Neon CLI is not available, you can visit https://neon.com/.well-known/agent-skills for a registry of all available Neon skills and fetch them manually.
171
163
 
172
164
  ### Updating Skills
@@ -233,7 +225,7 @@ neon init --agent cursor \
233
225
 
234
226
  `--services` may declare `auth`, `data-api`, `functions`, `object-storage`, and `ai-gateway` (repeat the flag or comma-separate). Pass `none` for the bare starter policy. It writes `neon.ts`; it does not deploy or wire the app. Selecting `data-api` also declares Auth (the default Data API provider requires it). Use `data-api` only for PostgREST / Supabase database-client compatibility.
235
227
 
236
- With `-y`, `init` installs the Neon plugin globally where the agent supports it (its MCP server signs in with OAuth). Other agents get skills and the MCP server globally, with an API key when the CLI is signed in. `--mcp-auth` and `--mcp-config-location` change the MCP setup; see `neon init --help`.
228
+ With `-y`, `init` installs the Neon plugin globally where the agent supports it (its MCP server signs in with OAuth). Other agents get skills and the MCP server globally, with an API key when the CLI credential can mint one, OAuth otherwise. `--mcp-auth` and `--mcp-config-location` change the MCP setup; see `neon init --help`. Omit `--mcp-auth` unless the user asks for a method.
237
229
 
238
230
  If `init` already installed the Neon plugin, do not also run `neon mcp` and `neon skills` for the same agent.
239
231
 
@@ -271,7 +263,7 @@ For full MCP server installation options, see https://neon.com/docs/ai/connect-m
271
263
  neon skills -s neon --agent cursor -y
272
264
  ```
273
265
 
274
- To install a specific skill only (not `neon-auth` until the CLI catalog includes it; fetch it as in [Installing the Right Skill](#installing-the-right-skill)):
266
+ To install a specific skill only:
275
267
 
276
268
  ```bash
277
269
  neon skills -s <skill-name> --agent cursor -y
@@ -2,10 +2,6 @@
2
2
 
3
3
  Login identity lives in the `neon-auth` skill: choose Managed Better Auth, keep existing Better Auth or another IdP, or point at self-managed Better Auth when a required feature is outside Managed support.
4
4
 
5
- Fetch https://neon.com/docs/ai/skills/neon-auth/SKILL.md
6
-
7
- Until the released CLI catalog includes `neon-auth`, do not run `neon skills -s neon-auth` (unknown names fail). If the neon.com URL is unpublished, fetch https://github.com/neondatabase/agent-skills/blob/main/skills/neon-auth/SKILL.md
8
-
9
5
  Implementation:
10
6
 
11
7
  - Managed setup: https://neon.com/docs/ai/skills/neon-auth/references/managed-auth.md
@@ -46,7 +46,7 @@ neon triggers disable <id> --branch <branch>
46
46
  neon triggers delete <id> --branch <branch>
47
47
  ```
48
48
 
49
- Inspect a trigger with `neon triggers list --output json`. Pass `--branch` on get/update/enable/disable/delete: without it the CLI resolves the trigger id as a branch name. Inherited triggers (created on a parent branch) show `Inherited true` on the child and start disabled. `neon deploy` of a `neon.ts` that declares the same trigger enables that copy; omit it to leave the inherited trigger disabled.
49
+ Inspect a trigger with `neon triggers list --output json`. Pass `--branch` on get/update/enable/disable/delete: without it the CLI resolves the trigger id as a branch name. Inherited triggers (created on a parent branch) show `Inherited true` on the child and start disabled. `neon deploy` keeps them disabled unless their `neon.ts` entry sets `enabled: true`.
50
50
 
51
51
  **MCP backup** (Neon MCP server, `?category=functions`): `list_triggers`, `get_trigger`, `create_trigger`, `update_trigger`, `delete_trigger`. `create_trigger` takes `project_id`, `branch_id` (a `br-…` id, not a name), and `body` with `"type": "schedule"`, `function_slug`, `name`, and `schedule: { cron }`. REST if neither CLI nor MCP is available: `POST /projects/{project_id}/branches/{branch_id}/triggers`. Schedule body matches MCP. Storage body uses `"type": "storage_object_created"` and `storage_object_created: { bucket_name, prefix }`. CLI reference: https://neon.com/docs/cli/triggers.md.
52
52
 
@@ -29,7 +29,7 @@ The trigger name is the `neon.ts` map key (CLI `--name`). It must be unique amon
29
29
  | `bucket` | storage | Bucket name. REST: `storage_object_created.bucket_name` |
30
30
  | `prefix` | no | Object-key prefix filter. REST: `storage_object_created.prefix` |
31
31
  | `functionPath` | no | Path on the function. Default `/`. CLI: `--function-path` |
32
- | `enabled` | no | Default `true`. CLI: `--enabled false` to create disabled |
32
+ | `enabled` | no | Omitted: enabled on create only ([Inheritance](#inheritance)) |
33
33
 
34
34
  ## neon.ts (preferred)
35
35
 
@@ -238,7 +238,7 @@ A public POST to the **deployed** function that includes that header still retur
238
238
 
239
239
  Triggers are branch-scoped. A trigger created on a parent is visible on children (`inherited: true`, `source_branch_id` points at the origin) and starts disabled there.
240
240
 
241
- `neon deploy` of a `neon.ts` that declares the same trigger (default `enabled: true`) enables that inherited copy on the child. Omit it from `neon.ts` to leave the inherited trigger disabled. Enable without applying `neon.ts` with `neon triggers enable <id> --branch <branch>`.
241
+ When `enabled` is omitted, `neon deploy` enables a trigger only when it creates it, so an inherited copy stays disabled. Set `enabled: true` to have every deploy enable it on the target branch.
242
242
 
243
243
  ## Logs
244
244