@valbuild/mcp 0.126.0 → 0.127.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,14 @@
1
1
  # @valbuild/mcp
2
2
 
3
+ ## 0.127.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`7fa8699`](https://github.com/valbuild/val/commit/7fa869974bc895af992a7d5c18b76253636d7d65), [`5b7fe05`](https://github.com/valbuild/val/commit/5b7fe05cec6365f9cd1de9ba31e65ed4a87edb63), [`88262ac`](https://github.com/valbuild/val/commit/88262ac8db068650a664981ef73556457d87741a), [`7072e07`](https://github.com/valbuild/val/commit/7072e07623c953a09ac14388ae22dada0b431ce3), [`29811c3`](https://github.com/valbuild/val/commit/29811c3f8c7e001a950e6f4833af6888e6a4efea)]:
8
+ - @valbuild/core@0.127.0
9
+ - @valbuild/shared@0.127.0
10
+ - @valbuild/server@0.127.0
11
+
3
12
  ## 0.126.0
4
13
 
5
14
  ### Patch Changes
@@ -1630,7 +1630,12 @@ function writeTools() {
1630
1630
  case 1:
1631
1631
  built = internal.buildEmptyAtPathPatch({
1632
1632
  destinationPath: destinationPath
1633
- }, schema, deps.state.sources[modulePath]);
1633
+ }, schema, deps.state.sources[modulePath], {
1634
+ locales: internal.declaredLocales({
1635
+ schemas: deps.state.serializedSchemas,
1636
+ sources: deps.state.sources
1637
+ })
1638
+ });
1634
1639
  if (!(built.kind !== "ok")) {
1635
1640
  _context3.n = 2;
1636
1641
  break;
@@ -3360,7 +3365,7 @@ var packageJson = {
3360
3365
  "./package.json": "./package.json"
3361
3366
  },
3362
3367
  types: "dist/valbuild-mcp.cjs.d.ts",
3363
- version: "0.126.0",
3368
+ version: "0.127.0",
3364
3369
  scripts: {
3365
3370
  typecheck: "tsc --noEmit",
3366
3371
  test: "jest",
@@ -1630,7 +1630,12 @@ function writeTools() {
1630
1630
  case 1:
1631
1631
  built = internal.buildEmptyAtPathPatch({
1632
1632
  destinationPath: destinationPath
1633
- }, schema, deps.state.sources[modulePath]);
1633
+ }, schema, deps.state.sources[modulePath], {
1634
+ locales: internal.declaredLocales({
1635
+ schemas: deps.state.serializedSchemas,
1636
+ sources: deps.state.sources
1637
+ })
1638
+ });
1634
1639
  if (!(built.kind !== "ok")) {
1635
1640
  _context3.n = 2;
1636
1641
  break;
@@ -3360,7 +3365,7 @@ var packageJson = {
3360
3365
  "./package.json": "./package.json"
3361
3366
  },
3362
3367
  types: "dist/valbuild-mcp.cjs.d.ts",
3363
- version: "0.126.0",
3368
+ version: "0.127.0",
3364
3369
  scripts: {
3365
3370
  typecheck: "tsc --noEmit",
3366
3371
  test: "jest",
@@ -2,7 +2,7 @@ import { _ as _asyncToGenerator, a as _regenerator } from './asyncToGenerator-50
2
2
  import { z } from 'zod';
3
3
  import { createValOps, getSettings, resolveRemoteFileAuth, getFileExt, initHandlerOptions } from '@valbuild/server';
4
4
  import { Internal, getSourcePathFromRoute, DEFAULT_VAL_REMOTE_HOST } from '@valbuild/core';
5
- import { performSearch, createSearchIndex, indexModule, filterBlockingValidationErrors, describeContainerAtPath, safeParsePatch, buildDuplicatePatch, buildEmptyAtPathPatch, buildRemoveImageGalleryEntryPatch, resolveEncodeSettings, resolveSerializedSchemaAtPath, withExtension, fitWithin, isSkippedSource, ENCODE_MIME_TYPE_OF, isMimeTypeAccepted, chooseEncoded, buildImageGalleryPatch } from '@valbuild/shared/internal';
5
+ import { performSearch, createSearchIndex, indexModule, filterBlockingValidationErrors, describeContainerAtPath, safeParsePatch, buildDuplicatePatch, buildEmptyAtPathPatch, declaredLocales, buildRemoveImageGalleryEntryPatch, resolveEncodeSettings, resolveSerializedSchemaAtPath, withExtension, fitWithin, isSkippedSource, ENCODE_MIME_TYPE_OF, isMimeTypeAccepted, chooseEncoded, buildImageGalleryPatch } from '@valbuild/shared/internal';
6
6
  import { minimatch } from 'minimatch';
7
7
  import { randomUUID, createPublicKey, verify } from 'node:crypto';
8
8
  import { JSONOps, applyPatch, deepClone } from '@valbuild/core/patch';
@@ -1621,7 +1621,12 @@ function writeTools() {
1621
1621
  case 1:
1622
1622
  built = buildEmptyAtPathPatch({
1623
1623
  destinationPath: destinationPath
1624
- }, schema, deps.state.sources[modulePath]);
1624
+ }, schema, deps.state.sources[modulePath], {
1625
+ locales: declaredLocales({
1626
+ schemas: deps.state.serializedSchemas,
1627
+ sources: deps.state.sources
1628
+ })
1629
+ });
1625
1630
  if (!(built.kind !== "ok")) {
1626
1631
  _context3.n = 2;
1627
1632
  break;
@@ -3351,7 +3356,7 @@ var packageJson = {
3351
3356
  "./package.json": "./package.json"
3352
3357
  },
3353
3358
  types: "dist/valbuild-mcp.cjs.d.ts",
3354
- version: "0.126.0",
3359
+ version: "0.127.0",
3355
3360
  scripts: {
3356
3361
  typecheck: "tsc --noEmit",
3357
3362
  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.126.0",
23
+ "version": "0.127.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/core": "0.126.0",
35
- "@valbuild/shared": "0.126.0",
36
- "@valbuild/server": "0.126.0"
34
+ "@valbuild/core": "0.127.0",
35
+ "@valbuild/server": "0.127.0",
36
+ "@valbuild/shared": "0.127.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@prettier/sync": "^0.6.1",