neon 4.21.0 → 4.22.0
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/README.md +6 -3
- package/dist/commands/logs.js +1 -1
- package/dist/plugins/run.js +1 -0
- package/dist/skills/catalog.js +5 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -863,6 +863,9 @@ $ neon skills -y -s neon -s neon-ai-gateway
|
|
|
863
863
|
# Named skills into a named agent.
|
|
864
864
|
$ neon skills -s neon -s neon-ai-gateway --agent cursor
|
|
865
865
|
|
|
866
|
+
# One skill, no prompts.
|
|
867
|
+
$ neon skills -s neon-auth --agent cursor -y
|
|
868
|
+
|
|
866
869
|
# User-level skills.
|
|
867
870
|
$ neon skills --global
|
|
868
871
|
|
|
@@ -876,7 +879,7 @@ On a TTY the command asks which agents and which skills, then shows a summary to
|
|
|
876
879
|
|
|
877
880
|
`-y` skips those questions and installs the default skills into detected agents: project-folder markers such as `.cursor`, else the agent driving the CLI. `--agent` / `-a` names coding agents and skips the agent picker. `--skill` / `-s` names specific skills and skips the skill picker; it does not select agents. `--global -y` uses installed apps, else the host CLI agent. Without a TTY, pass `-y`, or `--skill <name>` (add `--agent <name>` to name agents). If `-y` finds no agent, it exits: pass `--agent <name>`, run from a supported agent, or omit `-y` in a terminal to pick.
|
|
878
881
|
|
|
879
|
-
`--skill` names by source repo: `neondatabase/agent-skills` (`neon`, `neon-ai-gateway`, `neon-functions`, `neon-object-storage`, `neon-postgres`, `neon-postgres-branches`, `neon-postgres-egress-optimizer`); `neondatabase/neon-for-agent-platforms` (`neon-postgres-agent-platforms`).
|
|
882
|
+
`--skill` names by source repo: `neondatabase/agent-skills` (`neon`, `neon-ai-gateway`, `neon-auth`, `neon-functions`, `neon-object-storage`, `neon-postgres`, `neon-postgres-branches`, `neon-postgres-egress-optimizer`); `neondatabase/neon-for-agent-platforms` (`neon-postgres-agent-platforms`).
|
|
880
883
|
|
|
881
884
|
Supported agents match `neon mcp`, minus agents that cannot install skills: `antigravity`, `cline`, `cline-cli`, `claude-code`, `claude-desktop`, `codex`, `cursor`, `gemini-cli`, `goose`, `github-copilot-cli`, `grok-build`, `opencode`, `vscode`, `windsurf`, `zed`. `mcporter` is a known MCP name that is then skipped. `neon skills --help` lists the same skill and agent values, and that `-y` leaves out `neon-postgres-agent-platforms`.
|
|
882
885
|
|
|
@@ -917,7 +920,7 @@ Default scope is `project`. `--global` is `user`. On macOS and Linux, Cursor and
|
|
|
917
920
|
|
|
918
921
|
Supported agents with a plugins mapping: `claude-code`, `claude-desktop`, `codex`, `cursor`, `github-copilot-cli`, `grok-build`, `vscode`. `claude-desktop` installs as Claude Code; detecting both produces one install and lists both names in the table. `mcporter` is a known MCP name that is then skipped.
|
|
919
922
|
|
|
920
|
-
The plugins CLI installs every plugin it finds in the Neon plugin package. Today that is `neon-postgres` from `neondatabase/agent-skills`. It includes the Neon MCP server (`https://mcp.neon.tech/mcp`) and these skills: `neon`, `neon-ai-gateway`, `neon-functions`, `neon-object-storage`, `neon-postgres`, `neon-postgres-branches`, `neon-postgres-egress-optimizer`. It does not include `neon-postgres-agent-platforms`.
|
|
923
|
+
The plugins CLI installs every plugin it finds in the Neon plugin package. Today that is `neon-postgres` from `neondatabase/agent-skills`. It includes the Neon MCP server (`https://mcp.neon.tech/mcp`) and these skills: `neon`, `neon-ai-gateway`, `neon-auth`, `neon-functions`, `neon-object-storage`, `neon-postgres`, `neon-postgres-branches`, `neon-postgres-egress-optimizer`. It does not include `neon-postgres-agent-platforms`.
|
|
921
924
|
|
|
922
925
|
`neon plugins --help` lists the plugin, those contents, and the supported agent names.
|
|
923
926
|
|
|
@@ -1012,7 +1015,7 @@ neon inspect db stalled-queries --output json
|
|
|
1012
1015
|
|
|
1013
1016
|
## Logs (`logs`)
|
|
1014
1017
|
|
|
1015
|
-
`neon logs` reads the log records the services on a branch emit — Neon Functions, object storage, and Postgres computes. **Logs require Neon Platform Beta and are currently available only for projects in `aws-us-east-2`
|
|
1018
|
+
`neon logs` reads the log records the services on a branch emit — Neon Functions, object storage, and Postgres computes. **Logs require Neon Platform Beta and are currently available only for projects in `aws-us-east-2`, `aws-us-east-1`, `aws-eu-central-1`, and `aws-ap-southeast-1`.**
|
|
1016
1019
|
|
|
1017
1020
|
Every sub-command resolves the project through the standard chain (`--project-id`, then the `.neon` context file, then a single-project auto-detect), and takes `--branch <id|name>`, defaulting to the project's default branch. `logs query` searches the previous hour by default; `logs field-values` searches the previous six hours. The maximum time window is seven days.
|
|
1018
1021
|
|
package/dist/commands/logs.js
CHANGED
|
@@ -16,7 +16,7 @@ var logs_exports = /* @__PURE__ */ __exportAll({
|
|
|
16
16
|
handler: () => handler
|
|
17
17
|
});
|
|
18
18
|
const LOGS_EPILOG = `
|
|
19
|
-
Logs require Neon Platform Beta and are currently available only for projects in aws-us-east-2
|
|
19
|
+
Logs require Neon Platform Beta and are currently available only for projects in aws-us-east-2, aws-us-east-1, aws-eu-central-1, and aws-ap-southeast-1.
|
|
20
20
|
|
|
21
21
|
For more information, visit https://neon.com/docs/reference/neon-cli`;
|
|
22
22
|
const LOG_SOURCES = [
|
package/dist/plugins/run.js
CHANGED
package/dist/skills/catalog.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "neon",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.22.0",
|
|
4
4
|
"description": "CLI tool for Neon, the cloud backend primitives built around Lakebase Postgres",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"neon",
|
|
@@ -63,8 +63,8 @@
|
|
|
63
63
|
"yaml": "^2.9.0",
|
|
64
64
|
"yargs": "17.7.2",
|
|
65
65
|
"yoctocolors": "^2.1.2",
|
|
66
|
-
"@neon/config": "1.7.
|
|
67
|
-
"@neon/config-runtime": "1.6.
|
|
66
|
+
"@neon/config": "1.7.1",
|
|
67
|
+
"@neon/config-runtime": "1.6.1",
|
|
68
68
|
"@neon/sdk": "6.0.0"
|
|
69
69
|
},
|
|
70
70
|
"optionalDependencies": {
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"typescript": "^5.9.0",
|
|
99
99
|
"vitest": "^3.0.9",
|
|
100
100
|
"@neon-internals/cli-core": "0.0.0",
|
|
101
|
-
"@neon-internals/env-core": "0.0.
|
|
101
|
+
"@neon-internals/env-core": "0.0.20",
|
|
102
102
|
"@neon/e2e-harness": "0.0.0",
|
|
103
103
|
"@neon/functions": "0.11.0"
|
|
104
104
|
},
|