@selvajs/mcp 0.2.0-beta.1 → 0.2.0-beta.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@selvajs/mcp",
3
- "version": "0.2.0-beta.1",
3
+ "version": "0.2.0-beta.3",
4
4
  "description": "MCP server machinery for Selva hosts: tools over a host's /api/v1, with key auth, error mapping and annotations from its OpenAPI document",
5
5
  "license": "MIT",
6
6
  "author": "VektorNode",
@@ -32,6 +32,12 @@
32
32
  "types": "./dist/index.d.ts",
33
33
  "import": "./dist/index.js"
34
34
  },
35
+ "./capture": {
36
+ "selva-source": "./src/capture.ts",
37
+ "types": "./dist/capture.d.ts",
38
+ "import": "./dist/capture.js"
39
+ },
40
+ "./views/*": "./dist/views/*",
35
41
  "./view": {
36
42
  "selva-source": "./src/view/index.ts",
37
43
  "types": "./dist/view/index.d.ts",
@@ -49,6 +55,7 @@
49
55
  "zod": "^4.6.7"
50
56
  },
51
57
  "devDependencies": {
58
+ "@anthropic-ai/sdk": "^1.8.0",
52
59
  "@modelcontextprotocol/client": "^2.4.0",
53
60
  "@modelcontextprotocol/ext-apps": "^2.0.4",
54
61
  "@types/node": "^24.0.0",
@@ -59,13 +66,14 @@
59
66
  "vite-plugin-singlefile": "^2.3.4",
60
67
  "vitest": "^5.0.5",
61
68
  "@selvajs/config": "0.0.4",
62
- "@selvajs/server": "3.0.0-beta.10",
63
- "@selvajs/visualization": "1.8.0-beta.4"
69
+ "@selvajs/visualization": "1.8.0-beta.5",
70
+ "@selvajs/server": "3.0.0-beta.14"
64
71
  },
65
72
  "peerDependencies": {
66
73
  "@modelcontextprotocol/ext-apps": "^2.0.4",
74
+ "playwright-core": "^1.64.1",
67
75
  "three": ">=0.179.0",
68
- "@selvajs/visualization": "^1.8.0-beta.4"
76
+ "@selvajs/visualization": "^1.8.0-beta.5"
69
77
  },
70
78
  "peerDependenciesMeta": {
71
79
  "@modelcontextprotocol/ext-apps": {
@@ -74,14 +82,18 @@
74
82
  "@selvajs/visualization": {
75
83
  "optional": true
76
84
  },
85
+ "playwright-core": {
86
+ "optional": true
87
+ },
77
88
  "three": {
78
89
  "optional": true
79
90
  }
80
91
  },
81
92
  "scripts": {
82
- "build": "tsc && tsc -p src/view && vite build --config views/vite.config.ts",
93
+ "build": "tsc && tsc -p src/view && vite build --config views/vite.config.ts && vite build --config views/vite.config.ts --mode capture",
83
94
  "dev": "tsc --watch",
84
- "type-check": "tsc --noEmit && tsc -p src/view --noEmit && tsc -p views",
95
+ "type-check": "tsc --noEmit && tsc -p src/view --noEmit && tsc -p views && tsc -p evals",
96
+ "eval": "node evals/run.ts",
85
97
  "test": "vitest run",
86
98
  "test:watch": "vitest",
87
99
  "lint": "eslint .",