@valbuild/server 0.153.4 → 0.153.5

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.
Files changed (26) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/browser/dist/valbuild-server-browser.cjs.dev.js +2 -2
  3. package/browser/dist/valbuild-server-browser.cjs.prod.js +2 -2
  4. package/browser/dist/valbuild-server-browser.esm.js +2 -2
  5. package/dist/{ValRouter-93f23c96.esm.js → ValRouter-072c3dee.esm.js} +3 -3
  6. package/dist/{ValRouter-f63359b5.cjs.dev.js → ValRouter-2ff58de9.cjs.dev.js} +3 -3
  7. package/dist/{ValRouter-4762254d.cjs.prod.js → ValRouter-60ee2fa5.cjs.prod.js} +3 -3
  8. package/dist/{ValRouterCore-5cda39cb.esm.js → ValRouterCore-257f140c.esm.js} +9 -1
  9. package/dist/{ValRouterCore-ec886ca8.cjs.prod.js → ValRouterCore-4e3757ac.cjs.dev.js} +9 -1
  10. package/dist/{ValRouterCore-83280de8.cjs.dev.js → ValRouterCore-d658dc75.cjs.prod.js} +9 -1
  11. package/dist/{inTabFetch-686fe078.esm.js → inTabFetch-0157c4a1.esm.js} +1 -1
  12. package/dist/{inTabFetch-240179b3.cjs.dev.js → inTabFetch-09f7ae69.cjs.dev.js} +1 -1
  13. package/dist/{inTabFetch-3d69484d.cjs.prod.js → inTabFetch-7f2c9455.cjs.prod.js} +1 -1
  14. package/dist/{publishKit-e52bf964.cjs.prod.js → publishKit-26231426.cjs.prod.js} +2 -2
  15. package/dist/{publishKit-4d0f2af1.cjs.dev.js → publishKit-5227c288.cjs.dev.js} +2 -2
  16. package/dist/{publishKit-88b48b36.esm.js → publishKit-89923030.esm.js} +3 -3
  17. package/dist/valbuild-server.cjs.dev.js +2 -2
  18. package/dist/valbuild-server.cjs.prod.js +2 -2
  19. package/dist/valbuild-server.esm.js +4 -4
  20. package/internal/browser/dist/valbuild-server-internal-browser.cjs.dev.js +2 -2
  21. package/internal/browser/dist/valbuild-server-internal-browser.cjs.prod.js +2 -2
  22. package/internal/browser/dist/valbuild-server-internal-browser.esm.js +2 -2
  23. package/internal/dist/valbuild-server-internal.cjs.dev.js +2 -2
  24. package/internal/dist/valbuild-server-internal.cjs.prod.js +2 -2
  25. package/internal/dist/valbuild-server-internal.esm.js +2 -2
  26. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @valbuild/server
2
2
 
3
+ ## 0.153.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1037](https://github.com/valbuild/val/pull/1037) [`0176db3`](https://github.com/valbuild/val/commit/0176db30d8d621002cf72025b063b6f62b79b00d) Thanks [@freekh](https://github.com/freekh)! - The assistant's default model is now chosen by Val Build, not built into the Studio, so it can change for every project without a Val upgrade. It starts on the newest Claude Sonnet the project's Anthropic key can reach, or, with only an OpenAI key, the newest GPT of OpenAI's balanced tier (such as `gpt-6.1-sol`). A model an editor has picked themselves is still remembered and still wins. The built-in fallback catalog, used only when the models cannot be listed, now offers the Claude 5.5 models.
8
+ - Updated dependencies [[`0176db3`](https://github.com/valbuild/val/commit/0176db30d8d621002cf72025b063b6f62b79b00d), [`aa26301`](https://github.com/valbuild/val/commit/aa26301afae68d31f37341b84ee3fd23ee532b45), [`6b3f4c5`](https://github.com/valbuild/val/commit/6b3f4c53ad51a86027654f64da5fb332f40df37f), [`f488c90`](https://github.com/valbuild/val/commit/f488c907fc3f22a33d64ea7ac36f513c405389a2)]:
9
+ - @valbuild/ui@0.153.5
10
+ - @valbuild/shared@0.153.5
11
+ - @valbuild/core@0.153.5
12
+
3
13
  ## 0.153.4
4
14
 
5
15
  ### Patch Changes
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var inTabFetch = require('../../dist/inTabFetch-240179b3.cjs.dev.js');
5
+ var inTabFetch = require('../../dist/inTabFetch-09f7ae69.cjs.dev.js');
6
6
  require('@valbuild/core');
7
- require('../../dist/ValRouterCore-83280de8.cjs.dev.js');
7
+ require('../../dist/ValRouterCore-4e3757ac.cjs.dev.js');
8
8
  require('zod');
9
9
  require('@valbuild/shared/internal');
10
10
  require('zod-validation-error');
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var inTabFetch = require('../../dist/inTabFetch-3d69484d.cjs.prod.js');
5
+ var inTabFetch = require('../../dist/inTabFetch-7f2c9455.cjs.prod.js');
6
6
  require('@valbuild/core');
7
- require('../../dist/ValRouterCore-ec886ca8.cjs.prod.js');
7
+ require('../../dist/ValRouterCore-d658dc75.cjs.prod.js');
8
8
  require('zod');
9
9
  require('@valbuild/shared/internal');
10
10
  require('zod-validation-error');
@@ -1,6 +1,6 @@
1
- export { c as createInTabValFetch } from '../../dist/inTabFetch-686fe078.esm.js';
1
+ export { c as createInTabValFetch } from '../../dist/inTabFetch-0157c4a1.esm.js';
2
2
  import '@valbuild/core';
3
- import '../../dist/ValRouterCore-5cda39cb.esm.js';
3
+ import '../../dist/ValRouterCore-257f140c.esm.js';
4
4
  import 'zod';
5
5
  import '@valbuild/shared/internal';
6
6
  import 'zod-validation-error';
@@ -1,6 +1,6 @@
1
1
  import { Internal, deserializeSchema, DEFAULT_CONTENT_HOST, DEFAULT_VAL_REMOTE_HOST } from '@valbuild/core';
2
2
  import { createUIRequestHandler } from '@valbuild/ui/server';
3
- import { r as resolveExistingJsonPath, s as summaryOf, m as matchesFilter, h as byUpdatedAt, n as newSketchpad, i as isSketchpadId, j as applySketchpadChange, k as ValOps, V as VAL_CLIENT_HEADERS, l as bufferFromDataUrl, o as getFieldsForType, u as uploadRemoteFile, d as getFileExt, p as guessMimeTypeFromPath, q as createMetadataFromBuffer, D as DEFAULT_ANALYTICS_INGEST_URL, e as ValOpsMemory, t as sessionAuth, w as isHttpOps, x as isHlsMasterPlaylist, y as sumHlsSegmentDurations, z as parseHlsMasterVariants, A as largestHlsVariant, B as fallbackRefOf, C as mapHlsUris, E as movedRemoteHost, F as needsHostCheck, G as rewriteRefHost, H as fallbackRemoteHost, J as checkRemoteFiles, K as ValServer, L as createValRequestHandler } from './ValRouterCore-5cda39cb.esm.js';
3
+ import { r as resolveExistingJsonPath, s as summaryOf, m as matchesFilter, h as byUpdatedAt, n as newSketchpad, i as isSketchpadId, j as applySketchpadChange, k as ValOps, V as VAL_CLIENT_HEADERS, l as bufferFromDataUrl, o as getFieldsForType, u as uploadRemoteFile, d as getFileExt, p as guessMimeTypeFromPath, q as createMetadataFromBuffer, D as DEFAULT_ANALYTICS_INGEST_URL, e as ValOpsMemory, t as sessionAuth, w as isHttpOps, x as isHlsMasterPlaylist, y as sumHlsSegmentDurations, z as parseHlsMasterVariants, A as largestHlsVariant, B as fallbackRefOf, C as mapHlsUris, E as movedRemoteHost, F as needsHostCheck, G as rewriteRefHost, H as fallbackRemoteHost, J as checkRemoteFiles, K as ValServer, L as createValRequestHandler } from './ValRouterCore-257f140c.esm.js';
4
4
  import path from 'path';
5
5
  import ts from 'typescript';
6
6
  import { z } from 'zod';
@@ -2171,7 +2171,7 @@ function createFsSketchpadStore(rootDir, now = () => new Date()) {
2171
2171
  * as a bundler does.
2172
2172
  */
2173
2173
  function loadTypeScriptKit() {
2174
- return import('./publishKit-88b48b36.esm.js');
2174
+ return import('./publishKit-89923030.esm.js');
2175
2175
  }
2176
2176
 
2177
2177
  /** Serializes a schema, or gives up quietly — serialization errors are reported elsewhere. */
@@ -4955,7 +4955,7 @@ async function stagedModuleSources(files) {
4955
4955
  parseValFile,
4956
4956
  analyzeValModule,
4957
4957
  evaluateModuleSource
4958
- } = await import('./publishKit-88b48b36.esm.js');
4958
+ } = await import('./publishKit-89923030.esm.js');
4959
4959
  const sources = {};
4960
4960
  for (const {
4961
4961
  path,
@@ -2,7 +2,7 @@
2
2
 
3
3
  var core = require('@valbuild/core');
4
4
  var server = require('@valbuild/ui/server');
5
- var ValRouterCore = require('./ValRouterCore-83280de8.cjs.dev.js');
5
+ var ValRouterCore = require('./ValRouterCore-4e3757ac.cjs.dev.js');
6
6
  var path = require('path');
7
7
  var ts = require('typescript');
8
8
  var z = require('zod');
@@ -2205,7 +2205,7 @@ function createFsSketchpadStore(rootDir, now = () => new Date()) {
2205
2205
  * as a bundler does.
2206
2206
  */
2207
2207
  function loadTypeScriptKit() {
2208
- return Promise.resolve().then(function () { return require('./publishKit-4d0f2af1.cjs.dev.js'); });
2208
+ return Promise.resolve().then(function () { return require('./publishKit-5227c288.cjs.dev.js'); });
2209
2209
  }
2210
2210
 
2211
2211
  /** Serializes a schema, or gives up quietly — serialization errors are reported elsewhere. */
@@ -4989,7 +4989,7 @@ async function stagedModuleSources(files) {
4989
4989
  parseValFile,
4990
4990
  analyzeValModule,
4991
4991
  evaluateModuleSource
4992
- } = await Promise.resolve().then(function () { return require('./publishKit-4d0f2af1.cjs.dev.js'); });
4992
+ } = await Promise.resolve().then(function () { return require('./publishKit-5227c288.cjs.dev.js'); });
4993
4993
  const sources = {};
4994
4994
  for (const {
4995
4995
  path,
@@ -2,7 +2,7 @@
2
2
 
3
3
  var core = require('@valbuild/core');
4
4
  var server = require('@valbuild/ui/server');
5
- var ValRouterCore = require('./ValRouterCore-ec886ca8.cjs.prod.js');
5
+ var ValRouterCore = require('./ValRouterCore-d658dc75.cjs.prod.js');
6
6
  var path = require('path');
7
7
  var ts = require('typescript');
8
8
  var z = require('zod');
@@ -2205,7 +2205,7 @@ function createFsSketchpadStore(rootDir, now = () => new Date()) {
2205
2205
  * as a bundler does.
2206
2206
  */
2207
2207
  function loadTypeScriptKit() {
2208
- return Promise.resolve().then(function () { return require('./publishKit-e52bf964.cjs.prod.js'); });
2208
+ return Promise.resolve().then(function () { return require('./publishKit-26231426.cjs.prod.js'); });
2209
2209
  }
2210
2210
 
2211
2211
  /** Serializes a schema, or gives up quietly — serialization errors are reported elsewhere. */
@@ -4989,7 +4989,7 @@ async function stagedModuleSources(files) {
4989
4989
  parseValFile,
4990
4990
  analyzeValModule,
4991
4991
  evaluateModuleSource
4992
- } = await Promise.resolve().then(function () { return require('./publishKit-e52bf964.cjs.prod.js'); });
4992
+ } = await Promise.resolve().then(function () { return require('./publishKit-26231426.cjs.prod.js'); });
4993
4993
  const sources = {};
4994
4994
  for (const {
4995
4995
  path,
@@ -6295,7 +6295,7 @@ var packageJson = {
6295
6295
  ],
6296
6296
  exports: true
6297
6297
  },
6298
- version: "0.153.4",
6298
+ version: "0.153.5",
6299
6299
  scripts: {
6300
6300
  typecheck: "tsc --noEmit",
6301
6301
  test: "jest",
@@ -10230,11 +10230,19 @@ const ValServer = (valModules, options, callbacks, platform) => {
10230
10230
  contextWindow: typeof model.contextWindow === "number" ? model.contextWindow : null
10231
10231
  }];
10232
10232
  }) : undefined;
10233
+ // The model a chat starts on until the editor picks one. The
10234
+ // content server decides it, so it can change for every project
10235
+ // without a Val upgrade; this only carries it, shape-checked.
10236
+ const defaultModel = typeof json.defaultModel === "object" && json.defaultModel !== null && "provider" in json.defaultModel && "model" in json.defaultModel && typeof json.defaultModel.provider === "string" && typeof json.defaultModel.model === "string" ? {
10237
+ provider: json.defaultModel.provider,
10238
+ model: json.defaultModel.model
10239
+ } : null;
10233
10240
  return {
10234
10241
  status: 200,
10235
10242
  json: {
10236
10243
  nonce: json.nonce,
10237
10244
  wsUrl,
10245
+ defaultModel,
10238
10246
  // Explicit, because the distinction matters and truthiness
10239
10247
  // is a bad way to express it: an empty array means "no
10240
10248
  // reachable provider", which the client must be able to tell
@@ -6301,7 +6301,7 @@ var packageJson = {
6301
6301
  ],
6302
6302
  exports: true
6303
6303
  },
6304
- version: "0.153.4",
6304
+ version: "0.153.5",
6305
6305
  scripts: {
6306
6306
  typecheck: "tsc --noEmit",
6307
6307
  test: "jest",
@@ -10236,11 +10236,19 @@ const ValServer = (valModules, options, callbacks, platform) => {
10236
10236
  contextWindow: typeof model.contextWindow === "number" ? model.contextWindow : null
10237
10237
  }];
10238
10238
  }) : undefined;
10239
+ // The model a chat starts on until the editor picks one. The
10240
+ // content server decides it, so it can change for every project
10241
+ // without a Val upgrade; this only carries it, shape-checked.
10242
+ const defaultModel = typeof json.defaultModel === "object" && json.defaultModel !== null && "provider" in json.defaultModel && "model" in json.defaultModel && typeof json.defaultModel.provider === "string" && typeof json.defaultModel.model === "string" ? {
10243
+ provider: json.defaultModel.provider,
10244
+ model: json.defaultModel.model
10245
+ } : null;
10239
10246
  return {
10240
10247
  status: 200,
10241
10248
  json: {
10242
10249
  nonce: json.nonce,
10243
10250
  wsUrl,
10251
+ defaultModel,
10244
10252
  // Explicit, because the distinction matters and truthiness
10245
10253
  // is a bad way to express it: an empty array means "no
10246
10254
  // reachable provider", which the client must be able to tell
@@ -6301,7 +6301,7 @@ var packageJson = {
6301
6301
  ],
6302
6302
  exports: true
6303
6303
  },
6304
- version: "0.153.4",
6304
+ version: "0.153.5",
6305
6305
  scripts: {
6306
6306
  typecheck: "tsc --noEmit",
6307
6307
  test: "jest",
@@ -10236,11 +10236,19 @@ const ValServer = (valModules, options, callbacks, platform) => {
10236
10236
  contextWindow: typeof model.contextWindow === "number" ? model.contextWindow : null
10237
10237
  }];
10238
10238
  }) : undefined;
10239
+ // The model a chat starts on until the editor picks one. The
10240
+ // content server decides it, so it can change for every project
10241
+ // without a Val upgrade; this only carries it, shape-checked.
10242
+ const defaultModel = typeof json.defaultModel === "object" && json.defaultModel !== null && "provider" in json.defaultModel && "model" in json.defaultModel && typeof json.defaultModel.provider === "string" && typeof json.defaultModel.model === "string" ? {
10243
+ provider: json.defaultModel.provider,
10244
+ model: json.defaultModel.model
10245
+ } : null;
10239
10246
  return {
10240
10247
  status: 200,
10241
10248
  json: {
10242
10249
  nonce: json.nonce,
10243
10250
  wsUrl,
10251
+ defaultModel,
10244
10252
  // Explicit, because the distinction matters and truthiness
10245
10253
  // is a bad way to express it: an empty array means "no
10246
10254
  // reachable provider", which the client must be able to tell
@@ -1,5 +1,5 @@
1
1
  import { DEFAULT_CONTENT_HOST } from '@valbuild/core';
2
- import { e as ValOpsMemory, M as bytesToBase64, K as ValServer, L as createValRequestHandler } from './ValRouterCore-5cda39cb.esm.js';
2
+ import { e as ValOpsMemory, M as bytesToBase64, K as ValServer, L as createValRequestHandler } from './ValRouterCore-257f140c.esm.js';
3
3
 
4
4
  const NO_SESSIONS = "Val: sessions are not available here -- this server runs in the browser, " + "has no secret to sign them with, and serves without authenticating.";
5
5
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var core = require('@valbuild/core');
4
- var ValRouterCore = require('./ValRouterCore-83280de8.cjs.dev.js');
4
+ var ValRouterCore = require('./ValRouterCore-4e3757ac.cjs.dev.js');
5
5
 
6
6
  const NO_SESSIONS = "Val: sessions are not available here -- this server runs in the browser, " + "has no secret to sign them with, and serves without authenticating.";
7
7
 
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var core = require('@valbuild/core');
4
- var ValRouterCore = require('./ValRouterCore-ec886ca8.cjs.prod.js');
4
+ var ValRouterCore = require('./ValRouterCore-d658dc75.cjs.prod.js');
5
5
 
6
6
  const NO_SESSIONS = "Val: sessions are not available here -- this server runs in the browser, " + "has no secret to sign them with, and serves without authenticating.";
7
7
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  var ts = require('typescript');
4
4
  var fp = require('@valbuild/core/fp');
5
- var ValRouter = require('./ValRouter-4762254d.cjs.prod.js');
6
- var ValRouterCore = require('./ValRouterCore-ec886ca8.cjs.prod.js');
5
+ var ValRouter = require('./ValRouter-60ee2fa5.cjs.prod.js');
6
+ var ValRouterCore = require('./ValRouterCore-d658dc75.cjs.prod.js');
7
7
  require('@valbuild/core');
8
8
  require('@valbuild/ui/server');
9
9
  require('path');
@@ -2,8 +2,8 @@
2
2
 
3
3
  var ts = require('typescript');
4
4
  var fp = require('@valbuild/core/fp');
5
- var ValRouter = require('./ValRouter-f63359b5.cjs.dev.js');
6
- var ValRouterCore = require('./ValRouterCore-83280de8.cjs.dev.js');
5
+ var ValRouter = require('./ValRouter-2ff58de9.cjs.dev.js');
6
+ var ValRouterCore = require('./ValRouterCore-4e3757ac.cjs.dev.js');
7
7
  require('@valbuild/core');
8
8
  require('@valbuild/ui/server');
9
9
  require('path');
@@ -1,8 +1,8 @@
1
1
  import ts from 'typescript';
2
2
  import { result, pipe } from '@valbuild/core/fp';
3
- import { a as analyzeValModule, c as analyzeJsonValuesEntries, T as TSOps } from './ValRouter-93f23c96.esm.js';
4
- export { c as analyzeJsonValuesEntries, a as analyzeValModule, a8 as evaluateModuleSource, i as insertValJsonEntry, a9 as jsonValuesRecordKeys, r as removeValJsonEntry } from './ValRouter-93f23c96.esm.js';
5
- import { R as bytesToUtf8, S as posixPath } from './ValRouterCore-5cda39cb.esm.js';
3
+ import { a as analyzeValModule, c as analyzeJsonValuesEntries, T as TSOps } from './ValRouter-072c3dee.esm.js';
4
+ export { c as analyzeJsonValuesEntries, a as analyzeValModule, a8 as evaluateModuleSource, i as insertValJsonEntry, a9 as jsonValuesRecordKeys, r as removeValJsonEntry } from './ValRouter-072c3dee.esm.js';
5
+ import { R as bytesToUtf8, S as posixPath } from './ValRouterCore-257f140c.esm.js';
6
6
  import '@valbuild/core';
7
7
  import '@valbuild/ui/server';
8
8
  import 'path';
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var ValRouter = require('./ValRouter-f63359b5.cjs.dev.js');
5
+ var ValRouter = require('./ValRouter-2ff58de9.cjs.dev.js');
6
6
  var patch = require('@valbuild/core/patch');
7
7
  var fp = require('@valbuild/core/fp');
8
8
  var core = require('@valbuild/core');
@@ -11,7 +11,7 @@ var path = require('path');
11
11
  var fs = require('fs');
12
12
  var vm = require('node:vm');
13
13
  var node_module = require('node:module');
14
- var ValRouterCore = require('./ValRouterCore-83280de8.cjs.dev.js');
14
+ var ValRouterCore = require('./ValRouterCore-4e3757ac.cjs.dev.js');
15
15
  var internal = require('@valbuild/shared/internal');
16
16
  var sucrase = require('sucrase');
17
17
  var fs$1 = require('fs/promises');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var ValRouter = require('./ValRouter-4762254d.cjs.prod.js');
5
+ var ValRouter = require('./ValRouter-60ee2fa5.cjs.prod.js');
6
6
  var patch = require('@valbuild/core/patch');
7
7
  var fp = require('@valbuild/core/fp');
8
8
  var core = require('@valbuild/core');
@@ -11,7 +11,7 @@ var path = require('path');
11
11
  var fs = require('fs');
12
12
  var vm = require('node:vm');
13
13
  var node_module = require('node:module');
14
- var ValRouterCore = require('./ValRouterCore-ec886ca8.cjs.prod.js');
14
+ var ValRouterCore = require('./ValRouterCore-d658dc75.cjs.prod.js');
15
15
  var internal = require('@valbuild/shared/internal');
16
16
  var sucrase = require('sucrase');
17
17
  var fs$1 = require('fs/promises');
@@ -1,5 +1,5 @@
1
- import { T as TSOps, a as analyzeValModule, f as flatMapErrors, b as formatSyntaxError, c as analyzeJsonValuesEntries, r as removeValJsonEntry, i as insertValJsonEntry, d as collectionReferencePatches, e as checkGalleryFiles, h as handleVideoUploadRemote, g as handleVideoDownloadRemote, j as handleVideosetMetadata, k as handleVideosetUploadRemote, l as handleVideosetCheckRemote, m as handleVideosetCheckAllFiles, n as canReadVideoMetadata, u as unreadableVideoMetadataMessage, o as localFilesWarning, p as openRemoteUploadSession, q as uploadBytesToRemote, s as getPersonalAccessTokenPath, V as ValOpsFS } from './ValRouter-93f23c96.esm.js';
2
- export { F as APP_MODE_REQUIRES_REMOTE_FILES, V as ValOpsFS, X as ValOpsHttp, a as analyzeValModule, R as checkRemoteRef, x as contentFromEnv, H as createFixPatch, t as createValApiRouter, D as createValOps, v as createValServer, a0 as decodeJwtWithoutVerifying, _ as describePatchStoreProblems, S as downloadFileFromRemote, a2 as encodeJwt, M as extractFileMetadata, L as extractImageMetadata, N as extractVideoMetadata, O as extractVideoMetadataFromFile, P as filesOfVideo, J as filesOfVideosetEntry, G as formatSyntaxErrorTree, U as getCachedRemoteFileDir, W as getCachedRemoteFilePath, a1 as getExpire, s as getPersonalAccessTokenPath, Q as getValidationErrorFileRef, m as handleVideosetCheckAllFiles, l as handleVideosetCheckRemote, j as handleVideosetMetadata, k as handleVideosetUploadRemote, C as initHandlerOptions, z as layeredSnapshot, Y as loadTypeScriptKit, K as parsePersonalAccessTokenFile, y as proposalFromEnv, A as proposalSnapshot, B as proposalSnapshotForReaders, Z as readPatchStore, E as resolveRemoteFileAuth, w as safeReadGit, $ as verifyJwt, I as videosetEntryVideoSchema } from './ValRouter-93f23c96.esm.js';
1
+ import { T as TSOps, a as analyzeValModule, f as flatMapErrors, b as formatSyntaxError, c as analyzeJsonValuesEntries, r as removeValJsonEntry, i as insertValJsonEntry, d as collectionReferencePatches, e as checkGalleryFiles, h as handleVideoUploadRemote, g as handleVideoDownloadRemote, j as handleVideosetMetadata, k as handleVideosetUploadRemote, l as handleVideosetCheckRemote, m as handleVideosetCheckAllFiles, n as canReadVideoMetadata, u as unreadableVideoMetadataMessage, o as localFilesWarning, p as openRemoteUploadSession, q as uploadBytesToRemote, s as getPersonalAccessTokenPath, V as ValOpsFS } from './ValRouter-072c3dee.esm.js';
2
+ export { F as APP_MODE_REQUIRES_REMOTE_FILES, V as ValOpsFS, X as ValOpsHttp, a as analyzeValModule, R as checkRemoteRef, x as contentFromEnv, H as createFixPatch, t as createValApiRouter, D as createValOps, v as createValServer, a0 as decodeJwtWithoutVerifying, _ as describePatchStoreProblems, S as downloadFileFromRemote, a2 as encodeJwt, M as extractFileMetadata, L as extractImageMetadata, N as extractVideoMetadata, O as extractVideoMetadataFromFile, P as filesOfVideo, J as filesOfVideosetEntry, G as formatSyntaxErrorTree, U as getCachedRemoteFileDir, W as getCachedRemoteFilePath, a1 as getExpire, s as getPersonalAccessTokenPath, Q as getValidationErrorFileRef, m as handleVideosetCheckAllFiles, l as handleVideosetCheckRemote, j as handleVideosetMetadata, k as handleVideosetUploadRemote, C as initHandlerOptions, z as layeredSnapshot, Y as loadTypeScriptKit, K as parsePersonalAccessTokenFile, y as proposalFromEnv, A as proposalSnapshot, B as proposalSnapshotForReaders, Z as readPatchStore, E as resolveRemoteFileAuth, w as safeReadGit, $ as verifyJwt, I as videosetEntryVideoSchema } from './ValRouter-072c3dee.esm.js';
3
3
  import { applyPatch, PatchError, JSONOps, deepClone } from '@valbuild/core/patch';
4
4
  import { pipe, result } from '@valbuild/core/fp';
5
5
  import { derefPatch, Internal, extractValModules, DEFAULT_CONTENT_HOST } from '@valbuild/core';
@@ -9,8 +9,8 @@ import path from 'path';
9
9
  import fs from 'fs';
10
10
  import vm from 'node:vm';
11
11
  import { Module } from 'node:module';
12
- import { r as resolveExistingJsonPath, f as findNestedJsonValuesRecords, v as validateJsonValuesEntries, g as getNewJsonEntryPaths, a as formatPatchSourceError, V as VAL_CLIENT_HEADERS } from './ValRouterCore-5cda39cb.esm.js';
13
- export { I as InMemoryPatchStore, e as ValOpsMemory, b as askOncePerHost, a as formatPatchSourceError, d as getFileExt, c as getSettings, u as uploadRemoteFile } from './ValRouterCore-5cda39cb.esm.js';
12
+ import { r as resolveExistingJsonPath, f as findNestedJsonValuesRecords, v as validateJsonValuesEntries, g as getNewJsonEntryPaths, a as formatPatchSourceError, V as VAL_CLIENT_HEADERS } from './ValRouterCore-257f140c.esm.js';
13
+ export { I as InMemoryPatchStore, e as ValOpsMemory, b as askOncePerHost, a as formatPatchSourceError, d as getFileExt, c as getSettings, u as uploadRemoteFile } from './ValRouterCore-257f140c.esm.js';
14
14
  import { isJsonValuesRootOp, rebaseContentOp, classifyJsonValuesOp, richTextImageSchema } from '@valbuild/shared/internal';
15
15
  export { classifyJsonValuesOp, rebaseContentOp } from '@valbuild/shared/internal';
16
16
  import { transform } from 'sucrase';
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var inTabFetch = require('../../../dist/inTabFetch-240179b3.cjs.dev.js');
5
+ var inTabFetch = require('../../../dist/inTabFetch-09f7ae69.cjs.dev.js');
6
6
  var draftReads = require('../../../dist/draftReads-df44e629.cjs.dev.js');
7
7
  require('@valbuild/core');
8
- require('../../../dist/ValRouterCore-83280de8.cjs.dev.js');
8
+ require('../../../dist/ValRouterCore-4e3757ac.cjs.dev.js');
9
9
  require('zod');
10
10
  require('@valbuild/shared/internal');
11
11
  require('zod-validation-error');
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var inTabFetch = require('../../../dist/inTabFetch-3d69484d.cjs.prod.js');
5
+ var inTabFetch = require('../../../dist/inTabFetch-7f2c9455.cjs.prod.js');
6
6
  var draftReads = require('../../../dist/draftReads-0dcddf72.cjs.prod.js');
7
7
  require('@valbuild/core');
8
- require('../../../dist/ValRouterCore-ec886ca8.cjs.prod.js');
8
+ require('../../../dist/ValRouterCore-d658dc75.cjs.prod.js');
9
9
  require('zod');
10
10
  require('@valbuild/shared/internal');
11
11
  require('zod-validation-error');
@@ -1,7 +1,7 @@
1
- export { a as createInTabVal } from '../../../dist/inTabFetch-686fe078.esm.js';
1
+ export { a as createInTabVal } from '../../../dist/inTabFetch-0157c4a1.esm.js';
2
2
  export { s as serverDraftSource } from '../../../dist/draftReads-1f29aedd.esm.js';
3
3
  import '@valbuild/core';
4
- import '../../../dist/ValRouterCore-5cda39cb.esm.js';
4
+ import '../../../dist/ValRouterCore-257f140c.esm.js';
5
5
  import 'zod';
6
6
  import '@valbuild/shared/internal';
7
7
  import 'zod-validation-error';
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var ValRouter = require('../../dist/ValRouter-f63359b5.cjs.dev.js');
5
+ var ValRouter = require('../../dist/ValRouter-2ff58de9.cjs.dev.js');
6
6
  var draftReads = require('../../dist/draftReads-df44e629.cjs.dev.js');
7
- var ValRouterCore = require('../../dist/ValRouterCore-83280de8.cjs.dev.js');
7
+ var ValRouterCore = require('../../dist/ValRouterCore-4e3757ac.cjs.dev.js');
8
8
  require('@valbuild/core');
9
9
  require('@valbuild/ui/server');
10
10
  require('path');
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var ValRouter = require('../../dist/ValRouter-4762254d.cjs.prod.js');
5
+ var ValRouter = require('../../dist/ValRouter-60ee2fa5.cjs.prod.js');
6
6
  var draftReads = require('../../dist/draftReads-0dcddf72.cjs.prod.js');
7
- var ValRouterCore = require('../../dist/ValRouterCore-ec886ca8.cjs.prod.js');
7
+ var ValRouterCore = require('../../dist/ValRouterCore-d658dc75.cjs.prod.js');
8
8
  require('@valbuild/core');
9
9
  require('@valbuild/ui/server');
10
10
  require('path');
@@ -1,6 +1,6 @@
1
- export { a3 as createValRuntime, a4 as proposalAsBuilt, a5 as servingBuildOf, a6 as stagedAfterBuild, a7 as valRuntime } from '../../dist/ValRouter-93f23c96.esm.js';
1
+ export { a3 as createValRuntime, a4 as proposalAsBuilt, a5 as servingBuildOf, a6 as stagedAfterBuild, a7 as valRuntime } from '../../dist/ValRouter-072c3dee.esm.js';
2
2
  export { d as draftForRequest, r as readDraftChanges, s as serverDraftSource } from '../../dist/draftReads-1f29aedd.esm.js';
3
- export { P as HEAD_BUDGET_BYTES, Q as HEAD_VERSIONS_PER_MODULE, N as ValHead, O as headWork } from '../../dist/ValRouterCore-5cda39cb.esm.js';
3
+ export { P as HEAD_BUDGET_BYTES, Q as HEAD_VERSIONS_PER_MODULE, N as ValHead, O as headWork } from '../../dist/ValRouterCore-257f140c.esm.js';
4
4
  import '@valbuild/core';
5
5
  import '@valbuild/ui/server';
6
6
  import 'path';
package/package.json CHANGED
@@ -37,7 +37,7 @@
37
37
  ],
38
38
  "exports": true
39
39
  },
40
- "version": "0.153.4",
40
+ "version": "0.153.5",
41
41
  "devDependencies": {
42
42
  "@prettier/sync": "^0.6.1",
43
43
  "@types/jest": "^30.0.0",
@@ -51,9 +51,9 @@
51
51
  "typescript": "^6.0.3",
52
52
  "zod": "^4.4.3",
53
53
  "zod-validation-error": "^5.0.0",
54
- "@valbuild/shared": "0.153.1",
55
- "@valbuild/ui": "0.153.4",
56
- "@valbuild/core": "0.153.0"
54
+ "@valbuild/core": "0.153.5",
55
+ "@valbuild/shared": "0.153.5",
56
+ "@valbuild/ui": "0.153.5"
57
57
  },
58
58
  "engines": {
59
59
  "node": "^20.19.0 || >=22"