create-vellaveto 4.0.6 → 6.0.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/LICENSE ADDED
@@ -0,0 +1,2 @@
1
+ This package follows VellaVeto's repository-wide multi-license model.
2
+ See ../../LICENSE and ../../LICENSING.md for the applicable terms.
@@ -61,6 +61,8 @@ export async function auditStep(state) {
61
61
  message: "Webhook URL",
62
62
  placeholder: "https://example.com/vellaveto-events",
63
63
  validate(value) {
64
+ if (!value)
65
+ return "URL is required";
64
66
  try {
65
67
  const url = new URL(value);
66
68
  if (url.protocol !== "https:" && url.protocol !== "http:") {
@@ -19,7 +19,7 @@ export async function securityStep(state) {
19
19
  const customKey = await p.text({
20
20
  message: "Enter your API key",
21
21
  validate(value) {
22
- if (value.length < 8)
22
+ if (!value || value.length < 8)
23
23
  return "API key must be at least 8 characters";
24
24
  },
25
25
  });
package/dist/wizard.js CHANGED
@@ -172,7 +172,7 @@ function nextSteps(state, absDir) {
172
172
  case "binary":
173
173
  lines.push(` cd ${absDir}`);
174
174
  lines.push(" bash setup.sh");
175
- lines.push(` VELLAVETO_API_KEY='${state.apiKey}' ./bin/vellaveto serve --config vellaveto.toml`);
175
+ lines.push(` VELLAVETO_API_KEY='${state.apiKey}' ./bin/vellaveto serve --config vellaveto.toml --open`);
176
176
  break;
177
177
  case "kubernetes":
178
178
  lines.push(` kubectl create secret generic vellaveto-api-key \\`);
@@ -186,7 +186,7 @@ function nextSteps(state, absDir) {
186
186
  lines.push(" cd vellaveto-src");
187
187
  lines.push(" cargo build --release");
188
188
  lines.push(` VELLAVETO_API_KEY='${state.apiKey}' \\`);
189
- lines.push(` ./target/release/vellaveto serve --config ${absDir}/vellaveto.toml`);
189
+ lines.push(` ./target/release/vellaveto serve --config ${absDir}/vellaveto.toml --open`);
190
190
  break;
191
191
  }
192
192
  lines.push("");
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-vellaveto",
3
- "version": "4.0.6",
4
- "description": "Setup wizard for Vellaveto — MCP Tool Firewall",
3
+ "version": "6.0.0",
4
+ "description": "Setup wizard for Vellaveto — MCP Policy Gateway",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "create-vellaveto": "./dist/index.js"
@@ -17,22 +17,22 @@
17
17
  "engines": {
18
18
  "node": ">=18.0.0"
19
19
  },
20
- "license": "AGPL-3.0",
20
+ "license": "SEE LICENSE IN LICENSE",
21
21
  "repository": {
22
22
  "type": "git",
23
- "url": "https://github.com/paolovella/vellaveto.git",
23
+ "url": "https://github.com/vellaveto/vellaveto.git",
24
24
  "directory": "packages/create-vellaveto"
25
25
  },
26
26
  "keywords": [
27
27
  "vellaveto",
28
28
  "mcp",
29
29
  "security",
30
- "firewall",
30
+ "gateway",
31
31
  "setup",
32
32
  "create"
33
33
  ],
34
34
  "dependencies": {
35
- "@clack/prompts": "^0.9.1",
35
+ "@clack/prompts": "^1.0.1",
36
36
  "picocolors": "^1.1.1"
37
37
  },
38
38
  "devDependencies": {