neon 9.7.0 → 9.7.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/README.md CHANGED
@@ -1007,7 +1007,7 @@ $ neon skills status --global
1007
1007
 
1008
1008
  On a TTY the command asks which agents and which skills, then installs. Detected agents start selected from project-folder markers such as `.cursor`. Default skills start selected. `neon-postgres-agent-platforms` is offered and starts unselected.
1009
1009
 
1010
- `-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.
1010
+ `-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>`; both install into detected agents unless `--agent <name>` names them. If no agent is detected, it exits: pass `--agent <name>`, run from a supported agent, or run in a terminal without `-y` to pick.
1011
1011
 
1012
1012
  `--skill` names by source repo: `neondatabase/agent-skills` (`neon`, `neon-ai-gateway`, `neon-auth`, `neon-functions`, `neon-object-storage`, `neon-postgres`, `neon-realtime`); `neondatabase/neon-for-agent-platforms` (`neon-postgres-agent-platforms`).
1013
1013
 
package/dist/init/plan.js CHANGED
@@ -85,7 +85,8 @@ const noDetectedAgentsMessage = (input) => {
85
85
  const lead = input.scope === "project" ? "No coding agents detected in this project." : "No coding agents detected.";
86
86
  const name = input.nameAgent === true;
87
87
  let hint;
88
- if (input.fix === "pass-yes") {
88
+ if (input.fix === "run-in-terminal") hint = "Pass --agent <name>, run this command from a supported agent, or run it in a terminal to pick one.";
89
+ else if (input.fix === "pass-yes") {
89
90
  const detected = input.scope === "project" ? "Pass -y to use project folders, else the host CLI agent" : input.scope === "global" ? "Pass -y to use installed apps, else the host CLI agent" : "Pass -y to use project folders, else the host CLI agent, else installed apps";
90
91
  hint = name ? `${detected}, --agent <name> to name them, or run from a terminal to pick one.` : `${detected}, or run from a terminal to pick one.`;
91
92
  } else hint = name ? "Pass --agent <name>, run this command from a supported agent, or omit -y in a terminal to pick one." : "Run this command from a supported agent, or omit -y in a terminal to pick one.";
@@ -32,7 +32,7 @@ async function resolveSkillsPlan(options) {
32
32
  cwd: options.cwd,
33
33
  ...options.detectInstalledAgents ? { detectInstalledAgents: options.detectInstalledAgents } : {}
34
34
  });
35
- const detected = options.yes && options.agents.length === 0 ? await collectYesAgents({
35
+ const detected = !prompt && options.agents.length === 0 ? await collectYesAgents({
36
36
  detected: () => scoped,
37
37
  detectAgent: options.detectAgent ?? detectAgent,
38
38
  acceptHost: (id) => availableSet.has(id)
@@ -45,7 +45,7 @@ async function resolveSkillsPlan(options) {
45
45
  nonInteractiveMessage: noDetectedAgentsMessage({
46
46
  scope,
47
47
  supported: available,
48
- fix: options.yes ? "run-without-yes" : "pass-yes",
48
+ fix: options.yes ? "run-without-yes" : "run-in-terminal",
49
49
  nameAgent: true
50
50
  }),
51
51
  resolveSpecified: (raw) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neon",
3
- "version": "9.7.0",
3
+ "version": "9.7.1",
4
4
  "description": "CLI tool for Neon, the cloud backend primitives built around Lakebase Postgres",
5
5
  "keywords": [
6
6
  "neon",
@@ -73,10 +73,10 @@
73
73
  "yaml": "^2.9.0",
74
74
  "yargs": "17.7.2",
75
75
  "yoctocolors": "^2.1.2",
76
+ "@neon/config": "1.14.4",
76
77
  "@neon/config-runtime": "1.12.7",
77
78
  "@neon/realtime": "0.2.1",
78
- "@neon/sdk": "7.14.2",
79
- "@neon/config": "1.14.4"
79
+ "@neon/sdk": "7.14.2"
80
80
  },
81
81
  "optionalDependencies": {
82
82
  "@napi-rs/keyring": "1.3.0",