@valbuild/mcp 0.153.4 → 0.153.6
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,32 @@
|
|
|
1
1
|
# @valbuild/mcp
|
|
2
2
|
|
|
3
|
+
## 0.153.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1057](https://github.com/valbuild/val/pull/1057) [`79b4452`](https://github.com/valbuild/val/commit/79b4452441ae2a9442f1217cca372f2d7cebd5a4) Thanks [@freekh](https://github.com/freekh)! - Security fixes. Update if you run Val's dev server, or have deployed a site without `VAL_API_KEY` and `VAL_SECRET`.
|
|
8
|
+
|
|
9
|
+
- **`/api/val/files` serves media only.** It answered any path in the project, without a sign-in: `/api/val/files/.env` returned the file. It now serves files under `/public`, and their drafts, and nothing else.
|
|
10
|
+
- **An upload cannot be written outside Val's patch store.** A file's path and a patch's id are checked before anything is written or read, so a path with `..` in it is refused.
|
|
11
|
+
- **In local filesystem mode, the API answers only your own Studio.** A request from another site's page is refused, and so is one addressed to a host name that is not `localhost` or an IP address. If you develop on another name (`my-app.test`, a tunnel that passes its own `Host`), list it in the `VAL_ALLOWED_HOSTS` environment variable, comma separated.
|
|
12
|
+
- **A deployed site without credentials no longer serves the API.** Without `VAL_API_KEY` and `VAL_SECRET` an app runs in local filesystem mode, which has no sign-in. With `NODE_ENV=production` it now refuses, and says what to set.
|
|
13
|
+
- **`redirect_to` stays on your site.** `/api/val/logout`, `/enable`, `/disable` and `/authorize` redirected to any URL they were given. They now accept a path, or a URL on the same site.
|
|
14
|
+
- **Draft mode is turned on after sign-in**, not when the sign-in starts, so a visitor who is not signed in can no longer switch it on.
|
|
15
|
+
- `image-size`, `simple-git` and `zod` are updated past their published advisories.
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [[`00b13fe`](https://github.com/valbuild/val/commit/00b13fe0ed9adc2ce22b3e9827e9fa5b10d5bfdf), [`79b4452`](https://github.com/valbuild/val/commit/79b4452441ae2a9442f1217cca372f2d7cebd5a4), [`a8a1056`](https://github.com/valbuild/val/commit/a8a105620849ff73b91aff1492c39548926a7a7f)]:
|
|
18
|
+
- @valbuild/shared@0.153.6
|
|
19
|
+
- @valbuild/server@0.153.6
|
|
20
|
+
|
|
21
|
+
## 0.153.5
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [[`0176db3`](https://github.com/valbuild/val/commit/0176db30d8d621002cf72025b063b6f62b79b00d), [`6b3f4c5`](https://github.com/valbuild/val/commit/6b3f4c53ad51a86027654f64da5fb332f40df37f)]:
|
|
26
|
+
- @valbuild/server@0.153.5
|
|
27
|
+
- @valbuild/shared@0.153.5
|
|
28
|
+
- @valbuild/core@0.153.5
|
|
29
|
+
|
|
3
30
|
## 0.153.4
|
|
4
31
|
|
|
5
32
|
### Patch Changes
|
|
@@ -3358,7 +3358,7 @@ var packageJson = {
|
|
|
3358
3358
|
"./package.json": "./package.json"
|
|
3359
3359
|
},
|
|
3360
3360
|
types: "dist/valbuild-mcp.cjs.d.ts",
|
|
3361
|
-
version: "0.153.
|
|
3361
|
+
version: "0.153.6",
|
|
3362
3362
|
scripts: {
|
|
3363
3363
|
typecheck: "tsc --noEmit",
|
|
3364
3364
|
test: "jest",
|
|
@@ -3376,7 +3376,7 @@ var packageJson = {
|
|
|
3376
3376
|
"@valbuild/server": "workspace:*",
|
|
3377
3377
|
"@valbuild/shared": "workspace:*",
|
|
3378
3378
|
minimatch: "^10.2.6",
|
|
3379
|
-
zod: "^4.
|
|
3379
|
+
zod: "^4.6.6"
|
|
3380
3380
|
},
|
|
3381
3381
|
devDependencies: {
|
|
3382
3382
|
"@prettier/sync": "^0.6.1",
|
|
@@ -3358,7 +3358,7 @@ var packageJson = {
|
|
|
3358
3358
|
"./package.json": "./package.json"
|
|
3359
3359
|
},
|
|
3360
3360
|
types: "dist/valbuild-mcp.cjs.d.ts",
|
|
3361
|
-
version: "0.153.
|
|
3361
|
+
version: "0.153.6",
|
|
3362
3362
|
scripts: {
|
|
3363
3363
|
typecheck: "tsc --noEmit",
|
|
3364
3364
|
test: "jest",
|
|
@@ -3376,7 +3376,7 @@ var packageJson = {
|
|
|
3376
3376
|
"@valbuild/server": "workspace:*",
|
|
3377
3377
|
"@valbuild/shared": "workspace:*",
|
|
3378
3378
|
minimatch: "^10.2.6",
|
|
3379
|
-
zod: "^4.
|
|
3379
|
+
zod: "^4.6.6"
|
|
3380
3380
|
},
|
|
3381
3381
|
devDependencies: {
|
|
3382
3382
|
"@prettier/sync": "^0.6.1",
|
package/dist/valbuild-mcp.esm.js
CHANGED
|
@@ -3349,7 +3349,7 @@ var packageJson = {
|
|
|
3349
3349
|
"./package.json": "./package.json"
|
|
3350
3350
|
},
|
|
3351
3351
|
types: "dist/valbuild-mcp.cjs.d.ts",
|
|
3352
|
-
version: "0.153.
|
|
3352
|
+
version: "0.153.6",
|
|
3353
3353
|
scripts: {
|
|
3354
3354
|
typecheck: "tsc --noEmit",
|
|
3355
3355
|
test: "jest",
|
|
@@ -3367,7 +3367,7 @@ var packageJson = {
|
|
|
3367
3367
|
"@valbuild/server": "workspace:*",
|
|
3368
3368
|
"@valbuild/shared": "workspace:*",
|
|
3369
3369
|
minimatch: "^10.2.6",
|
|
3370
|
-
zod: "^4.
|
|
3370
|
+
zod: "^4.6.6"
|
|
3371
3371
|
},
|
|
3372
3372
|
devDependencies: {
|
|
3373
3373
|
"@prettier/sync": "^0.6.1",
|
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.153.
|
|
23
|
+
"version": "0.153.6",
|
|
24
24
|
"preconstruct": {
|
|
25
25
|
"entrypoints": [
|
|
26
26
|
"./index.ts",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"minimatch": "^10.2.6",
|
|
33
|
-
"zod": "^4.
|
|
34
|
-
"@valbuild/
|
|
35
|
-
"@valbuild/
|
|
36
|
-
"@valbuild/
|
|
33
|
+
"zod": "^4.6.6",
|
|
34
|
+
"@valbuild/server": "0.153.6",
|
|
35
|
+
"@valbuild/shared": "0.153.6",
|
|
36
|
+
"@valbuild/core": "0.153.5"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@prettier/sync": "^0.6.1",
|