@valbuild/mcp 0.140.0 → 0.141.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @valbuild/mcp
|
|
2
2
|
|
|
3
|
+
## 0.141.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`199e214`](https://github.com/valbuild/val/commit/199e21471d98806fb34c579cb876560078c928b9), [`ba3f330`](https://github.com/valbuild/val/commit/ba3f3300a3dd8649e154097cdfca3b64db209d89)]:
|
|
8
|
+
- @valbuild/core@0.141.0
|
|
9
|
+
- @valbuild/server@0.141.0
|
|
10
|
+
- @valbuild/shared@0.141.0
|
|
11
|
+
|
|
12
|
+
## 0.140.2
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies [[`df1e5f5`](https://github.com/valbuild/val/commit/df1e5f5f94391f25c71839cc476a51198b90db4d)]:
|
|
17
|
+
- @valbuild/server@0.140.2
|
|
18
|
+
- @valbuild/shared@0.140.2
|
|
19
|
+
|
|
3
20
|
## 0.140.0
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -2743,9 +2743,12 @@ function resolveTarget(deps, moduleSchema, fieldPath) {
|
|
|
2743
2743
|
if (fieldPath.length === 0) {
|
|
2744
2744
|
var _moduleSchema$dir;
|
|
2745
2745
|
if (moduleSchema.type !== "record" || moduleSchema.mediaType !== "images") {
|
|
2746
|
+
// A video set is a record keyed by file paths too; naming it is what
|
|
2747
|
+
// stops a caller from retrying with the same module and a field path.
|
|
2748
|
+
var what = moduleSchema.type === "record" && moduleSchema.mediaType === "videos" ? "a video set (s.videoset())" : "a ".concat(moduleSchema.type);
|
|
2746
2749
|
return {
|
|
2747
2750
|
status: "error",
|
|
2748
|
-
result: err("invalid-args", "The module is not an image gallery (it is
|
|
2751
|
+
result: err("invalid-args", "The module is not an image gallery (it is ".concat(what, "), so an image cannot be added to it directly. Give a path to the image field within it."))
|
|
2749
2752
|
};
|
|
2750
2753
|
}
|
|
2751
2754
|
return {
|
|
@@ -3370,7 +3373,7 @@ var packageJson = {
|
|
|
3370
3373
|
"./package.json": "./package.json"
|
|
3371
3374
|
},
|
|
3372
3375
|
types: "dist/valbuild-mcp.cjs.d.ts",
|
|
3373
|
-
version: "0.
|
|
3376
|
+
version: "0.141.0",
|
|
3374
3377
|
scripts: {
|
|
3375
3378
|
typecheck: "tsc --noEmit",
|
|
3376
3379
|
test: "jest",
|
|
@@ -2743,9 +2743,12 @@ function resolveTarget(deps, moduleSchema, fieldPath) {
|
|
|
2743
2743
|
if (fieldPath.length === 0) {
|
|
2744
2744
|
var _moduleSchema$dir;
|
|
2745
2745
|
if (moduleSchema.type !== "record" || moduleSchema.mediaType !== "images") {
|
|
2746
|
+
// A video set is a record keyed by file paths too; naming it is what
|
|
2747
|
+
// stops a caller from retrying with the same module and a field path.
|
|
2748
|
+
var what = moduleSchema.type === "record" && moduleSchema.mediaType === "videos" ? "a video set (s.videoset())" : "a ".concat(moduleSchema.type);
|
|
2746
2749
|
return {
|
|
2747
2750
|
status: "error",
|
|
2748
|
-
result: err("invalid-args", "The module is not an image gallery (it is
|
|
2751
|
+
result: err("invalid-args", "The module is not an image gallery (it is ".concat(what, "), so an image cannot be added to it directly. Give a path to the image field within it."))
|
|
2749
2752
|
};
|
|
2750
2753
|
}
|
|
2751
2754
|
return {
|
|
@@ -3370,7 +3373,7 @@ var packageJson = {
|
|
|
3370
3373
|
"./package.json": "./package.json"
|
|
3371
3374
|
},
|
|
3372
3375
|
types: "dist/valbuild-mcp.cjs.d.ts",
|
|
3373
|
-
version: "0.
|
|
3376
|
+
version: "0.141.0",
|
|
3374
3377
|
scripts: {
|
|
3375
3378
|
typecheck: "tsc --noEmit",
|
|
3376
3379
|
test: "jest",
|
package/dist/valbuild-mcp.esm.js
CHANGED
|
@@ -2734,9 +2734,12 @@ function resolveTarget(deps, moduleSchema, fieldPath) {
|
|
|
2734
2734
|
if (fieldPath.length === 0) {
|
|
2735
2735
|
var _moduleSchema$dir;
|
|
2736
2736
|
if (moduleSchema.type !== "record" || moduleSchema.mediaType !== "images") {
|
|
2737
|
+
// A video set is a record keyed by file paths too; naming it is what
|
|
2738
|
+
// stops a caller from retrying with the same module and a field path.
|
|
2739
|
+
var what = moduleSchema.type === "record" && moduleSchema.mediaType === "videos" ? "a video set (s.videoset())" : "a ".concat(moduleSchema.type);
|
|
2737
2740
|
return {
|
|
2738
2741
|
status: "error",
|
|
2739
|
-
result: err("invalid-args", "The module is not an image gallery (it is
|
|
2742
|
+
result: err("invalid-args", "The module is not an image gallery (it is ".concat(what, "), so an image cannot be added to it directly. Give a path to the image field within it."))
|
|
2740
2743
|
};
|
|
2741
2744
|
}
|
|
2742
2745
|
return {
|
|
@@ -3361,7 +3364,7 @@ var packageJson = {
|
|
|
3361
3364
|
"./package.json": "./package.json"
|
|
3362
3365
|
},
|
|
3363
3366
|
types: "dist/valbuild-mcp.cjs.d.ts",
|
|
3364
|
-
version: "0.
|
|
3367
|
+
version: "0.141.0",
|
|
3365
3368
|
scripts: {
|
|
3366
3369
|
typecheck: "tsc --noEmit",
|
|
3367
3370
|
test: "jest",
|
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"./package.json": "./package.json"
|
|
21
21
|
},
|
|
22
22
|
"types": "dist/valbuild-mcp.cjs.d.ts",
|
|
23
|
-
"version": "0.
|
|
23
|
+
"version": "0.141.0",
|
|
24
24
|
"preconstruct": {
|
|
25
25
|
"entrypoints": [
|
|
26
26
|
"./index.ts",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"minimatch": "^10.2.6",
|
|
33
33
|
"zod": "^4.4.3",
|
|
34
|
-
"@valbuild/server": "0.
|
|
35
|
-
"@valbuild/
|
|
36
|
-
"@valbuild/
|
|
34
|
+
"@valbuild/server": "0.141.0",
|
|
35
|
+
"@valbuild/shared": "0.141.0",
|
|
36
|
+
"@valbuild/core": "0.141.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@prettier/sync": "^0.6.1",
|