neon 4.11.0 → 4.11.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/dist/commands/plugins.js +3 -1
- package/dist/commands/skills.js +3 -1
- package/dist/context.js +2 -2
- package/dist/index.js +2 -0
- package/package.json +3 -3
package/dist/commands/plugins.js
CHANGED
|
@@ -13,6 +13,7 @@ import { resolvePluginsPlan } from "../plugins/plan.js";
|
|
|
13
13
|
import { confirmPluginsInstall } from "../plugins/wizard.js";
|
|
14
14
|
//#region src/commands/plugins.ts
|
|
15
15
|
var plugins_exports = /* @__PURE__ */ __exportAll({
|
|
16
|
+
aliases: () => aliases,
|
|
16
17
|
builder: () => builder,
|
|
17
18
|
command: () => command,
|
|
18
19
|
describe: () => describe,
|
|
@@ -29,6 +30,7 @@ const coerceAgents = (value) => {
|
|
|
29
30
|
};
|
|
30
31
|
const scopeLabel = (scope) => scope === "project" ? "project" : "user";
|
|
31
32
|
const command = "plugins";
|
|
33
|
+
const aliases = ["plugin"];
|
|
32
34
|
const describe = "Install the Neon plugin into coding agents";
|
|
33
35
|
const pluginProjectAgents = pluginsInstallableAgents("project");
|
|
34
36
|
const pluginGlobalOnlyAgents = pluginsInstallableAgents("global").filter((id) => !pluginProjectAgents.includes(id));
|
|
@@ -137,4 +139,4 @@ const handler = async (props) => {
|
|
|
137
139
|
throw new Error(`Failed to install the Neon plugin for: ${failed.flatMap((row) => row.agents).join(", ")}.\n${detail}\nRetry with: ${retry}`);
|
|
138
140
|
};
|
|
139
141
|
//#endregion
|
|
140
|
-
export { builder, command, describe, handler, plugins_exports as t };
|
|
142
|
+
export { aliases, builder, command, describe, handler, plugins_exports as t };
|
package/dist/commands/skills.js
CHANGED
|
@@ -13,6 +13,7 @@ import { assertSkillsCanRun, resolveSkillsPlan } from "../skills/plan.js";
|
|
|
13
13
|
import { assertSkillsNode, neonSkillsRetryCommand, neonSkillsUpdateRetryCommand, runSkillsCli, skillsAddArgs, skillsMetadata, skillsUpdateArgs, skillsUpdateDetail, skillsUpdateHadNothing } from "../skills/run.js";
|
|
14
14
|
//#region src/commands/skills.ts
|
|
15
15
|
var skills_exports = /* @__PURE__ */ __exportAll({
|
|
16
|
+
aliases: () => aliases,
|
|
16
17
|
builder: () => builder,
|
|
17
18
|
command: () => command,
|
|
18
19
|
describe: () => describe,
|
|
@@ -38,6 +39,7 @@ const coerceSkills = (value) => {
|
|
|
38
39
|
});
|
|
39
40
|
};
|
|
40
41
|
const command = "skills";
|
|
42
|
+
const aliases = ["skill"];
|
|
41
43
|
const describe = "Install Neon agent skills into coding agents";
|
|
42
44
|
const builder = (argv) => argv.usage("$0 skills [command] [options]").command("update", "Update installed skills to the latest versions", (yargs) => yargs.usage("$0 skills update [options]").options({
|
|
43
45
|
yes: { describe: "Skip the confirm prompt" },
|
|
@@ -225,4 +227,4 @@ const updateHandler = async (props) => {
|
|
|
225
227
|
if (failure !== void 0) throw new Error(failure.includes("needs npx (Node.js)") || failure.includes("needs Node.js") ? failure : `${failure}\nRetry with: ${neonSkillsUpdateRetryCommand(scope === "global")}`);
|
|
226
228
|
};
|
|
227
229
|
//#endregion
|
|
228
|
-
export { builder, command, describe, handler, skills_exports as t };
|
|
230
|
+
export { aliases, builder, command, describe, handler, skills_exports as t };
|
package/dist/context.js
CHANGED
|
@@ -52,8 +52,8 @@ const isClaimCommand = (args) => args._[0] === "claim" || args._[0] === "claimab
|
|
|
52
52
|
*/
|
|
53
53
|
const isApiKeysCommand = (args) => args._[0] === "api-keys" || args._[0] === "api-key";
|
|
54
54
|
const isMcpCommand = (args) => args._[0] === "mcp";
|
|
55
|
-
const isSkillsCommand = (args) => args._[0] === "skills";
|
|
56
|
-
const isPluginsCommand = (args) => args._[0] === "plugins";
|
|
55
|
+
const isSkillsCommand = (args) => args._[0] === "skills" || args._[0] === "skill";
|
|
56
|
+
const isPluginsCommand = (args) => args._[0] === "plugins" || args._[0] === "plugin";
|
|
57
57
|
/** Raw argv is required because auth middleware runs before MCP flags are parsed. */
|
|
58
58
|
const isMcpOauth = (args) => isMcpCommand(args) && argvEnablesMcpOauth(process.argv);
|
|
59
59
|
const OAUTH_FALSE = /* @__PURE__ */ new Set([
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "neon",
|
|
3
|
-
"version": "4.11.
|
|
3
|
+
"version": "4.11.1",
|
|
4
4
|
"description": "CLI tool for Neon, the cloud backend primitives built around Lakebase Postgres",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"neon",
|
|
@@ -63,9 +63,9 @@
|
|
|
63
63
|
"yaml": "^2.9.0",
|
|
64
64
|
"yargs": "17.7.2",
|
|
65
65
|
"yoctocolors": "^2.1.2",
|
|
66
|
+
"@neon/config": "1.0.5",
|
|
66
67
|
"@neon/config-runtime": "1.0.5",
|
|
67
|
-
"@neon/sdk": "3.0.0"
|
|
68
|
-
"@neon/config": "1.0.5"
|
|
68
|
+
"@neon/sdk": "3.0.0"
|
|
69
69
|
},
|
|
70
70
|
"optionalDependencies": {
|
|
71
71
|
"@napi-rs/keyring": "1.3.0",
|