create-vellaveto 4.0.7 → 6.0.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/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.
package/README.md ADDED
@@ -0,0 +1,45 @@
1
+ # create-vellaveto
2
+
3
+ Interactive setup wizard for [Vellaveto](https://github.com/vellaveto/vellaveto) — the runtime security engine for AI agent tool calls.
4
+
5
+ ## Quick Alternative
6
+
7
+ If you just want protection without a config file, skip the wizard:
8
+
9
+ ```bash
10
+ cargo install vellaveto-proxy
11
+ vellaveto-proxy --protect shield -- ./your-mcp-server
12
+ ```
13
+
14
+ Three levels: `shield` (blocks credentials + dangerous commands), `fortress` (adds exfil + AI config protection), `vault` (default deny). No config file needed.
15
+
16
+ ## Setup Wizard
17
+
18
+ For a custom configuration, use the interactive wizard:
19
+
20
+ ```bash
21
+ npx create-vellaveto
22
+ ```
23
+
24
+ Or with your preferred package manager:
25
+
26
+ ```bash
27
+ npm init vellaveto
28
+ yarn create vellaveto
29
+ pnpm create vellaveto
30
+ ```
31
+
32
+ The wizard walks you through:
33
+
34
+ 1. Choose a policy preset (deny-by-default, permissive, enterprise, etc.)
35
+ 2. Configure detection settings (injection scanning, DLP)
36
+ 3. Set up audit logging
37
+ 4. Generate a ready-to-use `vellaveto.toml` config file
38
+
39
+ ## Requirements
40
+
41
+ - Node.js 18+
42
+
43
+ ## License
44
+
45
+ See [LICENSING.md](../../LICENSING.md) for repository licensing details.
@@ -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/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "create-vellaveto",
3
- "version": "4.0.7",
4
- "description": "Setup wizard for Vellaveto — MCP Tool Firewall",
3
+ "version": "6.0.1",
4
+ "description": "Setup wizard for Vellaveto — MCP Policy Gateway",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "create-vellaveto": "./dist/index.js"
8
8
  },
9
9
  "files": [
10
- "dist/"
10
+ "dist/",
11
+ "README.md"
11
12
  ],
12
13
  "scripts": {
13
14
  "build": "tsc",
@@ -17,22 +18,26 @@
17
18
  "engines": {
18
19
  "node": ">=18.0.0"
19
20
  },
20
- "license": "AGPL-3.0",
21
+ "license": "SEE LICENSE IN LICENSE",
21
22
  "repository": {
22
23
  "type": "git",
23
- "url": "https://github.com/paolovella/vellaveto.git",
24
+ "url": "https://github.com/vellaveto/vellaveto.git",
24
25
  "directory": "packages/create-vellaveto"
25
26
  },
27
+ "homepage": "https://www.vellaveto.online",
28
+ "bugs": {
29
+ "url": "https://github.com/vellaveto/vellaveto/issues"
30
+ },
26
31
  "keywords": [
27
32
  "vellaveto",
28
33
  "mcp",
29
34
  "security",
30
- "firewall",
35
+ "gateway",
31
36
  "setup",
32
37
  "create"
33
38
  ],
34
39
  "dependencies": {
35
- "@clack/prompts": "^0.9.1",
40
+ "@clack/prompts": "^1.0.1",
36
41
  "picocolors": "^1.1.1"
37
42
  },
38
43
  "devDependencies": {