@valbuild/shared 0.150.3 → 0.150.10

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 (40) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/client/dist/valbuild-shared-client.cjs.dev.js +8 -2
  3. package/client/dist/valbuild-shared-client.cjs.prod.js +8 -2
  4. package/client/dist/valbuild-shared-client.esm.js +2 -2
  5. package/dist/{acquireTypes-50960f2c.esm.js → acquireTypes-6e2f7961.esm.js} +2 -2
  6. package/dist/{acquireTypes-de10005d.cjs.dev.js → acquireTypes-84a4077a.cjs.dev.js} +6 -6
  7. package/dist/{acquireTypes-e9467a2a.cjs.prod.js → acquireTypes-dd976839.cjs.prod.js} +6 -6
  8. package/dist/{createForOfIteratorHelper-3db5d737.esm.js → createForOfIteratorHelper-666a6d17.esm.js} +31 -15
  9. package/dist/{createForOfIteratorHelper-90e6a8b6.cjs.prod.js → createForOfIteratorHelper-87a33eff.cjs.dev.js} +31 -15
  10. package/dist/{createForOfIteratorHelper-d86bb352.cjs.dev.js → createForOfIteratorHelper-fef4fa7d.cjs.prod.js} +31 -15
  11. package/dist/declarations/src/client/index.d.ts +1 -0
  12. package/dist/declarations/src/internal/ApiRoutes.d.ts +30 -0
  13. package/dist/declarations/src/internal/elementPicker.d.ts +96 -0
  14. package/dist/declarations/src/internal/index.d.ts +1 -0
  15. package/dist/declarations/src/internal/valCanvasProtocol.d.ts +36 -0
  16. package/dist/{getSitemapTree-667bcb3c.cjs.prod.js → getSitemapTree-873f7266.cjs.prod.js} +333 -2
  17. package/dist/{getSitemapTree-5afbc3ac.esm.js → getSitemapTree-b6161fd8.esm.js} +328 -3
  18. package/dist/{getSitemapTree-0fa0569c.cjs.dev.js → getSitemapTree-be70d9fc.cjs.dev.js} +333 -2
  19. package/dist/{proposalProject-a3d3ad76.esm.js → proposalProject-689c24cc.esm.js} +2 -2
  20. package/dist/{proposalProject-cdc53711.cjs.dev.js → proposalProject-926f2c68.cjs.dev.js} +2 -2
  21. package/dist/{proposalProject-28550146.cjs.prod.js → proposalProject-fab0c026.cjs.prod.js} +2 -2
  22. package/dist/{protocol-1c13de0d.cjs.prod.js → protocol-4e2a455b.cjs.prod.js} +1 -1
  23. package/dist/{protocol-3b9ef786.esm.js → protocol-7ddc1a71.esm.js} +1 -1
  24. package/dist/{protocol-d8a6efda.cjs.dev.js → protocol-ac1c3ec7.cjs.dev.js} +1 -1
  25. package/dist/{slicedToArray-6cd80315.esm.js → slicedToArray-22567815.esm.js} +2 -18
  26. package/dist/{slicedToArray-62e428df.cjs.dev.js → slicedToArray-c8a29f6b.cjs.dev.js} +1 -18
  27. package/dist/{slicedToArray-af50e684.cjs.prod.js → slicedToArray-d99b4e2e.cjs.prod.js} +1 -18
  28. package/internal/dist/valbuild-shared-internal.cjs.dev.js +44 -9
  29. package/internal/dist/valbuild-shared-internal.cjs.prod.js +44 -9
  30. package/internal/dist/valbuild-shared-internal.esm.js +36 -8
  31. package/package.json +2 -2
  32. package/publish/dist/valbuild-shared-publish.cjs.dev.js +6 -6
  33. package/publish/dist/valbuild-shared-publish.cjs.prod.js +6 -6
  34. package/publish/dist/valbuild-shared-publish.esm.js +4 -4
  35. package/typecheck/dist/valbuild-shared-typecheck.cjs.dev.js +7 -7
  36. package/typecheck/dist/valbuild-shared-typecheck.cjs.prod.js +7 -7
  37. package/typecheck/dist/valbuild-shared-typecheck.esm.js +5 -5
  38. package/typecheck/testing/dist/valbuild-shared-typecheck-testing.cjs.dev.js +4 -4
  39. package/typecheck/testing/dist/valbuild-shared-typecheck-testing.cjs.prod.js +4 -4
  40. package/typecheck/testing/dist/valbuild-shared-typecheck-testing.esm.js +3 -3
@@ -2,13 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var createForOfIteratorHelper = require('../../dist/createForOfIteratorHelper-90e6a8b6.cjs.prod.js');
5
+ var createForOfIteratorHelper = require('../../dist/createForOfIteratorHelper-fef4fa7d.cjs.prod.js');
6
6
  var core = require('@valbuild/core');
7
- var slicedToArray = require('../../dist/slicedToArray-af50e684.cjs.prod.js');
7
+ var slicedToArray = require('../../dist/slicedToArray-d99b4e2e.cjs.prod.js');
8
8
  var zod = require('zod');
9
- var protocol = require('../../dist/protocol-1c13de0d.cjs.prod.js');
9
+ var protocol = require('../../dist/protocol-4e2a455b.cjs.prod.js');
10
10
  var zodValidationError = require('zod-validation-error');
11
- var getSitemapTree = require('../../dist/getSitemapTree-667bcb3c.cjs.prod.js');
11
+ var getSitemapTree = require('../../dist/getSitemapTree-873f7266.cjs.prod.js');
12
12
  var FlexSearch = require('flexsearch');
13
13
  var utils = require('../../dist/utils-32bcaca2.cjs.prod.js');
14
14
 
@@ -619,7 +619,7 @@ function convertListItemToRemirrorParagraph(rtChildren) {
619
619
  var newChild = convertParagraphToRemirror(child.children);
620
620
  if (lastChild.type === "paragraph" && newChild.type === "paragraph") {
621
621
  if (newChild.content) {
622
- lastChildContent.push.apply(lastChildContent, slicedToArray._toConsumableArray(newChild.content));
622
+ lastChildContent.push.apply(lastChildContent, createForOfIteratorHelper._toConsumableArray(newChild.content));
623
623
  } else {
624
624
  // no content - skip
625
625
  }
@@ -1495,6 +1495,23 @@ var PlanRefusalError = zod.z.object({
1495
1495
  */
1496
1496
  var VAL_STUDIO_HEADER = "x-val-studio";
1497
1497
 
1498
+ /**
1499
+ * On a user message in an AI chat: the tools called in the turn it asked for,
1500
+ * as the content server keeps them (valbuild/home `docs/proposals.md`,
1501
+ * Flow H) - what each tool row shows, never what the tool read or wrote.
1502
+ *
1503
+ * A chat with a summary this cannot read loads without its tool rows rather
1504
+ * than not at all, hence the `catch`.
1505
+ */
1506
+ var AIToolCallSummaries = zod.z.array(zod.z.object({
1507
+ toolCallId: zod.z.string(),
1508
+ name: zod.z.string(),
1509
+ isError: zod.z["boolean"](),
1510
+ /** `ask_user_question`: what was asked, and what was answered. */
1511
+ questions: zod.z.array(zod.z.unknown()).optional(),
1512
+ answers: zod.z.array(zod.z.unknown()).optional()
1513
+ })).optional()["catch"](undefined);
1514
+
1498
1515
  /**
1499
1516
  * What Val Build answered, mapped onto the statuses this server speaks: a
1500
1517
  * `code` in the JSON is what the web components act on, so it is passed
@@ -3479,7 +3496,13 @@ var Api = {
3479
3496
  query: {
3480
3497
  limit: onlyOneStringQueryParam.optional(),
3481
3498
  cursor_updatedAt: onlyOneStringQueryParam.optional(),
3482
- cursor_id: onlyOneStringQueryParam.optional()
3499
+ cursor_id: onlyOneStringQueryParam.optional(),
3500
+ /**
3501
+ * The proposal the Studio is in, by name: lists that proposal's
3502
+ * chats, everyone's, instead of your own (valbuild/home
3503
+ * `docs/proposals.md`, Flow H).
3504
+ */
3505
+ proposal: onlyOneStringQueryParam.optional()
3483
3506
  },
3484
3507
  cookies: createForOfIteratorHelper._defineProperty({}, VAL_SESSION_COOKIE, zod.z.string().optional())
3485
3508
  },
@@ -3490,7 +3513,9 @@ var Api = {
3490
3513
  id: zod.z.string(),
3491
3514
  name: zod.z.string().nullable(),
3492
3515
  createdAt: zod.z.string(),
3493
- updatedAt: zod.z.string()
3516
+ updatedAt: zod.z.string(),
3517
+ /** Who is in a proposal's chat, starter first. */
3518
+ authorIds: zod.z.array(zod.z.string()).optional()
3494
3519
  })),
3495
3520
  nextCursor: zod.z.object({
3496
3521
  updatedAt: zod.z.string(),
@@ -3534,6 +3559,9 @@ var Api = {
3534
3559
  status: zod.z.literal(200),
3535
3560
  json: zod.z.object({
3536
3561
  messages: zod.z.array(zod.z.object({
3562
+ /** Who asked, on a user message in a proposal's chat. */
3563
+ authorId: zod.z.string().nullable().optional(),
3564
+ toolCalls: AIToolCallSummaries,
3537
3565
  role: zod.z.string(),
3538
3566
  content: zod.z.union([zod.z.string(), zod.z.array(zod.z.union([zod.z.object({
3539
3567
  type: zod.z.literal("text"),
@@ -8314,7 +8342,7 @@ function selectionClosure(patchSets, selected, patchIds) {
8314
8342
  try {
8315
8343
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
8316
8344
  var group = _step4.value;
8317
- if (slicedToArray._toConsumableArray(group).some(function (id) {
8345
+ if (createForOfIteratorHelper._toConsumableArray(group).some(function (id) {
8318
8346
  return wanted.has(id);
8319
8347
  })) {
8320
8348
  var _iterator6 = createForOfIteratorHelper._createForOfIteratorHelper(group),
@@ -8597,7 +8625,7 @@ function _selfCheck() {
8597
8625
  case 15:
8598
8626
  for (_i2 = 0, _Object$entries2 = Object.entries(result); _i2 < _Object$entries2.length; _i2++) {
8599
8627
  _Object$entries2$_i = slicedToArray._slicedToArray(_Object$entries2[_i2], 2), _sourcePath = _Object$entries2$_i[0], _list = _Object$entries2$_i[1];
8600
- (_found = (_found$_ref = found[_ref = _sourcePath]) !== null && _found$_ref !== void 0 ? _found$_ref : found[_ref] = []).push.apply(_found, slicedToArray._toConsumableArray(_list));
8628
+ (_found = (_found$_ref = found[_ref = _sourcePath]) !== null && _found$_ref !== void 0 ? _found$_ref : found[_ref] = []).push.apply(_found, createForOfIteratorHelper._toConsumableArray(_list));
8601
8629
  }
8602
8630
  case 16:
8603
8631
  _context.n = 2;
@@ -8684,6 +8712,10 @@ exports.VAL_CANVAS_MESSAGE = getSitemapTree.VAL_CANVAS_MESSAGE;
8684
8712
  exports.VAL_CANVAS_PARAM = getSitemapTree.VAL_CANVAS_PARAM;
8685
8713
  exports.VAL_CONFIG_SESSION_STORAGE_KEY = getSitemapTree.VAL_CONFIG_SESSION_STORAGE_KEY;
8686
8714
  exports.VAL_THEME_SESSION_STORAGE_KEY = getSitemapTree.VAL_THEME_SESSION_STORAGE_KEY;
8715
+ exports.attachElementPicker = getSitemapTree.attachElementPicker;
8716
+ exports.createPickerOverlay = getSitemapTree.createPickerOverlay;
8717
+ exports.describeElement = getSitemapTree.describeElement;
8718
+ exports.elementLabel = getSitemapTree.elementLabel;
8687
8719
  exports.formatRoutePattern = getSitemapTree.formatRoutePattern;
8688
8720
  exports.getNextAppRouterSourceFolder = getSitemapTree.getNextAppRouterSourceFolder;
8689
8721
  exports.getPageRouterSitemapTree = getSitemapTree.getPageRouterSitemapTree;
@@ -8694,10 +8726,13 @@ exports.isTanStackRoutesFolder = getSitemapTree.isTanStackRoutesFolder;
8694
8726
  exports.isValCanvasFrame = getSitemapTree.isValCanvasFrame;
8695
8727
  exports.isValCanvasPageMessage = getSitemapTree.isValCanvasPageMessage;
8696
8728
  exports.isValCanvasStudioMessage = getSitemapTree.isValCanvasStudioMessage;
8729
+ exports.modifierLabel = getSitemapTree.modifierLabel;
8697
8730
  exports.parseRoutePattern = getSitemapTree.parseRoutePattern;
8731
+ exports.startElementPicking = getSitemapTree.startElementPicking;
8698
8732
  exports.withValCanvasParam = getSitemapTree.withValCanvasParam;
8699
8733
  exports.AA_LARGE = AA_LARGE;
8700
8734
  exports.AA_TEXT = AA_TEXT;
8735
+ exports.AIToolCallSummaries = AIToolCallSummaries;
8701
8736
  exports.AnalyticsBeacon = AnalyticsBeacon;
8702
8737
  exports.Api = Api;
8703
8738
  exports.BRAND_CONTRAST_PAIRS = BRAND_CONTRAST_PAIRS;
@@ -1,11 +1,11 @@
1
- import { a as _createForOfIteratorHelper, b as _objectSpread2, _ as _typeof, c as _defineProperty } from '../../dist/createForOfIteratorHelper-3db5d737.esm.js';
1
+ import { c as _createForOfIteratorHelper, a as _objectSpread2, b as _toConsumableArray, _ as _typeof, d as _defineProperty } from '../../dist/createForOfIteratorHelper-666a6d17.esm.js';
2
2
  import { Internal, CODE_LANGUAGES, resolveSettingsModule, missingDeclaredKeys, localeOfValue, discriminatedUnionBranchOf, routePatternOf, matchRoutePattern, DEFAULT_COLOR_FORMAT, declaredKeySetOf } from '@valbuild/core';
3
- import { h as _toConsumableArray, b as _asyncToGenerator, d as _regenerator, g as _slicedToArray, a as _createClass, e as _classCallCheck } from '../../dist/slicedToArray-6cd80315.esm.js';
3
+ import { b as _asyncToGenerator, d as _regenerator, g as _slicedToArray, a as _createClass, e as _classCallCheck } from '../../dist/slicedToArray-22567815.esm.js';
4
4
  import { z } from 'zod';
5
- import { _ as _objectWithoutProperties } from '../../dist/protocol-3b9ef786.esm.js';
6
- export { P as PublishProtocolError, b as parseArtifacts, p as parseBuildTarget, l as parseCancel, a as parseDeclare, m as parseDiscard, j as parseJob, n as parseNewestCiRun, h as parsePress, g as parseProblems, f as parseProjectSource, d as parsePromote, o as parsePublishToken, k as parseRenew, i as parseRequestStatus, e as parseStatus, q as parseUpdateTarget, c as parseVerify } from '../../dist/protocol-3b9ef786.esm.js';
5
+ import { _ as _objectWithoutProperties } from '../../dist/protocol-7ddc1a71.esm.js';
6
+ export { P as PublishProtocolError, b as parseArtifacts, p as parseBuildTarget, l as parseCancel, a as parseDeclare, m as parseDiscard, j as parseJob, n as parseNewestCiRun, h as parsePress, g as parseProblems, f as parseProjectSource, d as parsePromote, o as parsePublishToken, k as parseRenew, i as parseRequestStatus, e as parseStatus, q as parseUpdateTarget, c as parseVerify } from '../../dist/protocol-7ddc1a71.esm.js';
7
7
  import { fromError } from 'zod-validation-error';
8
- export { D as DEFAULT_CANVAS_SELECTION, e as DEFAULT_CANVAS_SELECTION_SOFT, b as VAL_AI_SESSION_STORAGE_KEY, d as VAL_CANVAS_MESSAGE, c as VAL_CANVAS_PARAM, V as VAL_CONFIG_SESSION_STORAGE_KEY, a as VAL_THEME_SESSION_STORAGE_KEY, h as formatRoutePattern, j as getNextAppRouterSourceFolder, n as getPageRouterSitemapTree, l as getPageRouterSourceFolder, o as getPatternFromModuleFilePath, k as getTanStackRouterSourceFolder, m as isTanStackRoutesFolder, g as isValCanvasFrame, i as isValCanvasPageMessage, f as isValCanvasStudioMessage, p as parseRoutePattern, w as withValCanvasParam } from '../../dist/getSitemapTree-5afbc3ac.esm.js';
8
+ export { D as DEFAULT_CANVAS_SELECTION, e as DEFAULT_CANVAS_SELECTION_SOFT, b as VAL_AI_SESSION_STORAGE_KEY, d as VAL_CANVAS_MESSAGE, c as VAL_CANVAS_PARAM, V as VAL_CONFIG_SESSION_STORAGE_KEY, a as VAL_THEME_SESSION_STORAGE_KEY, j as attachElementPicker, k as createPickerOverlay, h as describeElement, l as elementLabel, n as formatRoutePattern, o as getNextAppRouterSourceFolder, u as getPageRouterSitemapTree, r as getPageRouterSourceFolder, v as getPatternFromModuleFilePath, q as getTanStackRouterSourceFolder, t as isTanStackRoutesFolder, g as isValCanvasFrame, i as isValCanvasPageMessage, f as isValCanvasStudioMessage, m as modifierLabel, p as parseRoutePattern, s as startElementPicking, w as withValCanvasParam } from '../../dist/getSitemapTree-b6161fd8.esm.js';
9
9
  import FlexSearch from 'flexsearch';
10
10
  import { b as base64DataUrlToUint8Array } from '../../dist/utils-00f3e1df.esm.js';
11
11
 
@@ -1488,6 +1488,23 @@ var PlanRefusalError = z.object({
1488
1488
  */
1489
1489
  var VAL_STUDIO_HEADER = "x-val-studio";
1490
1490
 
1491
+ /**
1492
+ * On a user message in an AI chat: the tools called in the turn it asked for,
1493
+ * as the content server keeps them (valbuild/home `docs/proposals.md`,
1494
+ * Flow H) - what each tool row shows, never what the tool read or wrote.
1495
+ *
1496
+ * A chat with a summary this cannot read loads without its tool rows rather
1497
+ * than not at all, hence the `catch`.
1498
+ */
1499
+ var AIToolCallSummaries = z.array(z.object({
1500
+ toolCallId: z.string(),
1501
+ name: z.string(),
1502
+ isError: z["boolean"](),
1503
+ /** `ask_user_question`: what was asked, and what was answered. */
1504
+ questions: z.array(z.unknown()).optional(),
1505
+ answers: z.array(z.unknown()).optional()
1506
+ })).optional()["catch"](undefined);
1507
+
1491
1508
  /**
1492
1509
  * What Val Build answered, mapped onto the statuses this server speaks: a
1493
1510
  * `code` in the JSON is what the web components act on, so it is passed
@@ -3472,7 +3489,13 @@ var Api = {
3472
3489
  query: {
3473
3490
  limit: onlyOneStringQueryParam.optional(),
3474
3491
  cursor_updatedAt: onlyOneStringQueryParam.optional(),
3475
- cursor_id: onlyOneStringQueryParam.optional()
3492
+ cursor_id: onlyOneStringQueryParam.optional(),
3493
+ /**
3494
+ * The proposal the Studio is in, by name: lists that proposal's
3495
+ * chats, everyone's, instead of your own (valbuild/home
3496
+ * `docs/proposals.md`, Flow H).
3497
+ */
3498
+ proposal: onlyOneStringQueryParam.optional()
3476
3499
  },
3477
3500
  cookies: _defineProperty({}, VAL_SESSION_COOKIE, z.string().optional())
3478
3501
  },
@@ -3483,7 +3506,9 @@ var Api = {
3483
3506
  id: z.string(),
3484
3507
  name: z.string().nullable(),
3485
3508
  createdAt: z.string(),
3486
- updatedAt: z.string()
3509
+ updatedAt: z.string(),
3510
+ /** Who is in a proposal's chat, starter first. */
3511
+ authorIds: z.array(z.string()).optional()
3487
3512
  })),
3488
3513
  nextCursor: z.object({
3489
3514
  updatedAt: z.string(),
@@ -3527,6 +3552,9 @@ var Api = {
3527
3552
  status: z.literal(200),
3528
3553
  json: z.object({
3529
3554
  messages: z.array(z.object({
3555
+ /** Who asked, on a user message in a proposal's chat. */
3556
+ authorId: z.string().nullable().optional(),
3557
+ toolCalls: AIToolCallSummaries,
3530
3558
  role: z.string(),
3531
3559
  content: z.union([z.string(), z.array(z.union([z.object({
3532
3560
  type: z.literal("text"),
@@ -8652,4 +8680,4 @@ var messageOf = function messageOf(error) {
8652
8680
  return error instanceof Error ? error.message : String(error);
8653
8681
  };
8654
8682
 
8655
- export { AA_LARGE, AA_TEXT, AnalyticsBeacon, Api, BRAND_CONTRAST_PAIRS, BinaryFileRef, CodeOptions, ColorOptions, DEFAULT_ERROR_MESSAGE, DateOptions, ENCODE_DEFAULTS, ENCODE_MIME_TYPE_OF, FileOptions, HistoricalCommit, HistoricalModule, HistoricalPatchSet, HistoryError, ImageEncodeOption, ImageOptions, JSONValue, JSON_ENTRIES_BATCH_MAX, LOCAL_FILE_IN_REMOTE_PROJECT_HINT, LOCAL_FILE_IN_REMOTE_PROJECT_WARNING, ModuleComparison, NEVER_ENCODED, ParentRef$1 as ParentRef, Patch, PatchBlock, PatchId, PatchJSON, PatchSets, PlanRefusalError, RAMP_STEPS, RemirrorBr, RemirrorBulletList, RemirrorHeading, RemirrorImage, RemirrorJSON, RemirrorLinkMark, RemirrorListItem, RemirrorOrderedList, RemirrorParagraph, RemirrorText, RemirrorTextMark, RestoreVerdict, RichTextOptions, SCHEMA_SOURCE_FIXES, SELF_CHECK_VERSION, STUDIO_FIXES, SerializedArraySchema, SerializedBooleanSchema, SerializedCodeSchema, SerializedColorSchema, SerializedDateSchema, SerializedDateTimeSchema, SerializedDiscriminatedUnionSchema, SerializedEnumSchema, SerializedFileSchema, SerializedImageSchema, SerializedKeyOfSchema, SerializedLiteralSchema, SerializedLocaleSchema, SerializedNumberSchema, SerializedObjectSchema, SerializedRecordSchema, SerializedRichTextSchema, SerializedRouteSchema, SerializedSchema, SerializedSettingsSchema, SerializedStringSchema, SerializedValViewSchema, SerializedVideoSchema, SharedValConfig, VAL_ENABLE_COOKIE_NAME, VAL_GREEN_RAMP, VAL_SESSION_COOKIE, VAL_STATE_COOKIE, VAL_STUDIO_HEADER, ValCommit, ValDeployment, VideoOptions, VideoStreamOption, WARNING_FIXES, WASM_ENCODED_MIME_TYPES, accentRamp, buildDuplicatePatch, buildEmptyAtPathPatch, buildFileRefValue, buildImageGalleryPatch, buildRemoveImageGalleryEntryPatch, buildSearchIndex, chainHeadOf, checkCompatibility, chooseEncoded, concatModulePath, contrastRatio, createRegExpFromPattern, createSearchIndex, createValClient, declaredLocales, describeContainerAtPath, emptyOf, enumLocaleTag, explainIncompatible, fallbackMimeType, filterBlockingValidationErrors, filterRoutesByPatterns, findSimilar, fitWithin, flattenRichText, forEachRichTextImage, getErrorMessageFromUnknownJson, getFilenameFromRef, getInlineImgInfo, getKeyOfRecordAt, getRefParts, getRoutesOf, getRoutesWithModulePaths, getSourceAt, getValDemo, indexModule, isInsidePatchSetPath, isLocaleSchema, isMimeTypeAccepted, isRemoteSchema, isRepairedOnSave, isSchemaSourceFixError, isSkippedSource, isStudioFix, isValidationWarning, isWarningFix, joinSharedChanges, keyOfRecordPath, levenshtein, localeAt, localeMeantBy, memoizePerRequest, newestCommitSha, partitionValidationErrors, performSearch, proposalCustomProperties, relativeLuminance, remirrorToRichTextSource, removeModule, resolveEncodeSettings, resolvePairGround, resolveSchemaSourceFixForError, resolveSchemaSourceFixes, resolveSerializedSchemaAtPath, richTextImageSchema, richTextToRemirror, safeParsePatch, schemaErrorsOf, schemaTypesOfPath, selectionClosure, selfCheck, shouldEncodeWithWasm, sideFiles, sideSource, sourcePathOfChild, themeCustomProperties, toolNames, traverseSchemaSource, urlOf, validateRoutePatterns, withExtension };
8683
+ export { AA_LARGE, AA_TEXT, AIToolCallSummaries, AnalyticsBeacon, Api, BRAND_CONTRAST_PAIRS, BinaryFileRef, CodeOptions, ColorOptions, DEFAULT_ERROR_MESSAGE, DateOptions, ENCODE_DEFAULTS, ENCODE_MIME_TYPE_OF, FileOptions, HistoricalCommit, HistoricalModule, HistoricalPatchSet, HistoryError, ImageEncodeOption, ImageOptions, JSONValue, JSON_ENTRIES_BATCH_MAX, LOCAL_FILE_IN_REMOTE_PROJECT_HINT, LOCAL_FILE_IN_REMOTE_PROJECT_WARNING, ModuleComparison, NEVER_ENCODED, ParentRef$1 as ParentRef, Patch, PatchBlock, PatchId, PatchJSON, PatchSets, PlanRefusalError, RAMP_STEPS, RemirrorBr, RemirrorBulletList, RemirrorHeading, RemirrorImage, RemirrorJSON, RemirrorLinkMark, RemirrorListItem, RemirrorOrderedList, RemirrorParagraph, RemirrorText, RemirrorTextMark, RestoreVerdict, RichTextOptions, SCHEMA_SOURCE_FIXES, SELF_CHECK_VERSION, STUDIO_FIXES, SerializedArraySchema, SerializedBooleanSchema, SerializedCodeSchema, SerializedColorSchema, SerializedDateSchema, SerializedDateTimeSchema, SerializedDiscriminatedUnionSchema, SerializedEnumSchema, SerializedFileSchema, SerializedImageSchema, SerializedKeyOfSchema, SerializedLiteralSchema, SerializedLocaleSchema, SerializedNumberSchema, SerializedObjectSchema, SerializedRecordSchema, SerializedRichTextSchema, SerializedRouteSchema, SerializedSchema, SerializedSettingsSchema, SerializedStringSchema, SerializedValViewSchema, SerializedVideoSchema, SharedValConfig, VAL_ENABLE_COOKIE_NAME, VAL_GREEN_RAMP, VAL_SESSION_COOKIE, VAL_STATE_COOKIE, VAL_STUDIO_HEADER, ValCommit, ValDeployment, VideoOptions, VideoStreamOption, WARNING_FIXES, WASM_ENCODED_MIME_TYPES, accentRamp, buildDuplicatePatch, buildEmptyAtPathPatch, buildFileRefValue, buildImageGalleryPatch, buildRemoveImageGalleryEntryPatch, buildSearchIndex, chainHeadOf, checkCompatibility, chooseEncoded, concatModulePath, contrastRatio, createRegExpFromPattern, createSearchIndex, createValClient, declaredLocales, describeContainerAtPath, emptyOf, enumLocaleTag, explainIncompatible, fallbackMimeType, filterBlockingValidationErrors, filterRoutesByPatterns, findSimilar, fitWithin, flattenRichText, forEachRichTextImage, getErrorMessageFromUnknownJson, getFilenameFromRef, getInlineImgInfo, getKeyOfRecordAt, getRefParts, getRoutesOf, getRoutesWithModulePaths, getSourceAt, getValDemo, indexModule, isInsidePatchSetPath, isLocaleSchema, isMimeTypeAccepted, isRemoteSchema, isRepairedOnSave, isSchemaSourceFixError, isSkippedSource, isStudioFix, isValidationWarning, isWarningFix, joinSharedChanges, keyOfRecordPath, levenshtein, localeAt, localeMeantBy, memoizePerRequest, newestCommitSha, partitionValidationErrors, performSearch, proposalCustomProperties, relativeLuminance, remirrorToRichTextSource, removeModule, resolveEncodeSettings, resolvePairGround, resolveSchemaSourceFixForError, resolveSchemaSourceFixes, resolveSerializedSchemaAtPath, richTextImageSchema, richTextToRemirror, safeParsePatch, schemaErrorsOf, schemaTypesOfPath, selectionClosure, selfCheck, shouldEncodeWithWasm, sideFiles, sideSource, sourcePathOfChild, themeCustomProperties, toolNames, traverseSchemaSource, urlOf, validateRoutePatterns, withExtension };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@valbuild/shared",
3
- "version": "0.150.3",
3
+ "version": "0.150.10",
4
4
  "private": false,
5
5
  "description": "Val shared types and utilities",
6
6
  "repository": {
@@ -71,7 +71,7 @@
71
71
  ],
72
72
  "devDependencies": {
73
73
  "typescript": "^6.0.3",
74
- "@valbuild/tanstack-build": "0.150.1"
74
+ "@valbuild/tanstack-build": "0.150.9"
75
75
  },
76
76
  "sideEffects": false,
77
77
  "scripts": {
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var slicedToArray = require('../../dist/slicedToArray-62e428df.cjs.dev.js');
6
- var createForOfIteratorHelper = require('../../dist/createForOfIteratorHelper-d86bb352.cjs.dev.js');
7
- var protocol = require('../../dist/protocol-d8a6efda.cjs.dev.js');
5
+ var slicedToArray = require('../../dist/slicedToArray-c8a29f6b.cjs.dev.js');
6
+ var createForOfIteratorHelper = require('../../dist/createForOfIteratorHelper-87a33eff.cjs.dev.js');
7
+ var protocol = require('../../dist/protocol-ac1c3ec7.cjs.dev.js');
8
8
  var zod = require('zod');
9
- var proposalProject = require('../../dist/proposalProject-cdc53711.cjs.dev.js');
9
+ var proposalProject = require('../../dist/proposalProject-926f2c68.cjs.dev.js');
10
10
  require('zod-validation-error');
11
11
 
12
12
  /*
@@ -1263,7 +1263,7 @@ function _runStudioDeploy() {
1263
1263
  }]
1264
1264
  });
1265
1265
  case 44:
1266
- declared = [].concat(slicedToArray._toConsumableArray(artifacts.map(function (_ref0) {
1266
+ declared = [].concat(createForOfIteratorHelper._toConsumableArray(artifacts.map(function (_ref0) {
1267
1267
  var key = _ref0.key,
1268
1268
  sha256 = _ref0.sha256,
1269
1269
  bytes = _ref0.bytes;
@@ -1272,7 +1272,7 @@ function _runStudioDeploy() {
1272
1272
  sha256: sha256,
1273
1273
  bytes: bytes
1274
1274
  };
1275
- })), slicedToArray._toConsumableArray(carriedInto(artifacts, carried, (_options$committedFil3 = options.committedFiles) !== null && _options$committedFil3 !== void 0 ? _options$committedFil3 : null)));
1275
+ })), createForOfIteratorHelper._toConsumableArray(carriedInto(artifacts, carried, (_options$committedFil3 = options.committedFiles) !== null && _options$committedFil3 !== void 0 ? _options$committedFil3 : null)));
1276
1276
  _context2.n = 45;
1277
1277
  return runStudioPublish(createForOfIteratorHelper._objectSpread2({
1278
1278
  client: client,
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var slicedToArray = require('../../dist/slicedToArray-af50e684.cjs.prod.js');
6
- var createForOfIteratorHelper = require('../../dist/createForOfIteratorHelper-90e6a8b6.cjs.prod.js');
7
- var protocol = require('../../dist/protocol-1c13de0d.cjs.prod.js');
5
+ var slicedToArray = require('../../dist/slicedToArray-d99b4e2e.cjs.prod.js');
6
+ var createForOfIteratorHelper = require('../../dist/createForOfIteratorHelper-fef4fa7d.cjs.prod.js');
7
+ var protocol = require('../../dist/protocol-4e2a455b.cjs.prod.js');
8
8
  var zod = require('zod');
9
- var proposalProject = require('../../dist/proposalProject-28550146.cjs.prod.js');
9
+ var proposalProject = require('../../dist/proposalProject-fab0c026.cjs.prod.js');
10
10
  require('zod-validation-error');
11
11
 
12
12
  /*
@@ -1263,7 +1263,7 @@ function _runStudioDeploy() {
1263
1263
  }]
1264
1264
  });
1265
1265
  case 44:
1266
- declared = [].concat(slicedToArray._toConsumableArray(artifacts.map(function (_ref0) {
1266
+ declared = [].concat(createForOfIteratorHelper._toConsumableArray(artifacts.map(function (_ref0) {
1267
1267
  var key = _ref0.key,
1268
1268
  sha256 = _ref0.sha256,
1269
1269
  bytes = _ref0.bytes;
@@ -1272,7 +1272,7 @@ function _runStudioDeploy() {
1272
1272
  sha256: sha256,
1273
1273
  bytes: bytes
1274
1274
  };
1275
- })), slicedToArray._toConsumableArray(carriedInto(artifacts, carried, (_options$committedFil3 = options.committedFiles) !== null && _options$committedFil3 !== void 0 ? _options$committedFil3 : null)));
1275
+ })), createForOfIteratorHelper._toConsumableArray(carriedInto(artifacts, carried, (_options$committedFil3 = options.committedFiles) !== null && _options$committedFil3 !== void 0 ? _options$committedFil3 : null)));
1276
1276
  _context2.n = 45;
1277
1277
  return runStudioPublish(createForOfIteratorHelper._objectSpread2({
1278
1278
  client: client,
@@ -1,8 +1,8 @@
1
- import { _ as _inherits, a as _createClass, b as _asyncToGenerator, c as _wrapNativeSuper, d as _regenerator, e as _classCallCheck, f as _callSuper, g as _slicedToArray, h as _toConsumableArray } from '../../dist/slicedToArray-6cd80315.esm.js';
2
- import { _ as _typeof, b as _objectSpread2, c as _defineProperty, a as _createForOfIteratorHelper } from '../../dist/createForOfIteratorHelper-3db5d737.esm.js';
3
- import { p as parseBuildTarget, a as parseDeclare, b as parseArtifacts, c as parseVerify, d as parsePromote, e as parseStatus, f as parseProjectSource, g as parseProblems, h as parsePress, i as parseRequestStatus, j as parseJob, k as parseRenew, l as parseCancel, m as parseDiscard, n as parseNewestCiRun, _ as _objectWithoutProperties } from '../../dist/protocol-3b9ef786.esm.js';
1
+ import { _ as _inherits, a as _createClass, b as _asyncToGenerator, c as _wrapNativeSuper, d as _regenerator, e as _classCallCheck, f as _callSuper, g as _slicedToArray } from '../../dist/slicedToArray-22567815.esm.js';
2
+ import { _ as _typeof, a as _objectSpread2, d as _defineProperty, c as _createForOfIteratorHelper, b as _toConsumableArray } from '../../dist/createForOfIteratorHelper-666a6d17.esm.js';
3
+ import { p as parseBuildTarget, a as parseDeclare, b as parseArtifacts, c as parseVerify, d as parsePromote, e as parseStatus, f as parseProjectSource, g as parseProblems, h as parsePress, i as parseRequestStatus, j as parseJob, k as parseRenew, l as parseCancel, m as parseDiscard, n as parseNewestCiRun, _ as _objectWithoutProperties } from '../../dist/protocol-7ddc1a71.esm.js';
4
4
  import { z } from 'zod';
5
- export { p as proposalProject } from '../../dist/proposalProject-a3d3ad76.esm.js';
5
+ export { p as proposalProject } from '../../dist/proposalProject-689c24cc.esm.js';
6
6
  import 'zod-validation-error';
7
7
 
8
8
  /*
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var slicedToArray = require('../../dist/slicedToArray-62e428df.cjs.dev.js');
6
- var createForOfIteratorHelper = require('../../dist/createForOfIteratorHelper-d86bb352.cjs.dev.js');
5
+ var slicedToArray = require('../../dist/slicedToArray-c8a29f6b.cjs.dev.js');
6
+ var createForOfIteratorHelper = require('../../dist/createForOfIteratorHelper-87a33eff.cjs.dev.js');
7
7
  var yaml = require('yaml');
8
- var acquireTypes = require('../../dist/acquireTypes-de10005d.cjs.dev.js');
9
- var proposalProject = require('../../dist/proposalProject-cdc53711.cjs.dev.js');
8
+ var acquireTypes = require('../../dist/acquireTypes-84a4077a.cjs.dev.js');
9
+ var proposalProject = require('../../dist/proposalProject-926f2c68.cjs.dev.js');
10
10
 
11
11
  function _regeneratorValues(e) {
12
12
  if (null != e) {
@@ -365,7 +365,7 @@ function languageServiceFor(ts, fs, config, registry) {
365
365
  * deduplicated as `tsc` does.
366
366
  */
367
367
  function diagnosticsOf(ts, program, config) {
368
- var all = ts.sortAndDeduplicateDiagnostics([].concat(slicedToArray._toConsumableArray(config.errors), slicedToArray._toConsumableArray(ts.getPreEmitDiagnostics(program))));
368
+ var all = ts.sortAndDeduplicateDiagnostics([].concat(createForOfIteratorHelper._toConsumableArray(config.errors), createForOfIteratorHelper._toConsumableArray(ts.getPreEmitDiagnostics(program))));
369
369
  return all.filter(function (d) {
370
370
  return d.category === ts.DiagnosticCategory.Error;
371
371
  }).map(function (d) {
@@ -670,7 +670,7 @@ function _typecheckProject() {
670
670
  return _context2.a(3, 20);
671
671
  case 19:
672
672
  found = diagnosticsOf(ts, program, _config2);
673
- errors.push.apply(errors, slicedToArray._toConsumableArray(found));
673
+ errors.push.apply(errors, createForOfIteratorHelper._toConsumableArray(found));
674
674
  sourceFiles = program.getSourceFiles();
675
675
  programs.push(createForOfIteratorHelper._objectSpread2({
676
676
  tsconfig: relative(_config2.path),
@@ -1222,7 +1222,7 @@ function errorsByFile(errors) {
1222
1222
  } finally {
1223
1223
  _iterator.f();
1224
1224
  }
1225
- return slicedToArray._toConsumableArray(files).sort(function (_ref, _ref2) {
1225
+ return createForOfIteratorHelper._toConsumableArray(files).sort(function (_ref, _ref2) {
1226
1226
  var _ref3 = slicedToArray._slicedToArray(_ref, 1),
1227
1227
  a = _ref3[0];
1228
1228
  var _ref4 = slicedToArray._slicedToArray(_ref2, 1),
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var slicedToArray = require('../../dist/slicedToArray-af50e684.cjs.prod.js');
6
- var createForOfIteratorHelper = require('../../dist/createForOfIteratorHelper-90e6a8b6.cjs.prod.js');
5
+ var slicedToArray = require('../../dist/slicedToArray-d99b4e2e.cjs.prod.js');
6
+ var createForOfIteratorHelper = require('../../dist/createForOfIteratorHelper-fef4fa7d.cjs.prod.js');
7
7
  var yaml = require('yaml');
8
- var acquireTypes = require('../../dist/acquireTypes-e9467a2a.cjs.prod.js');
9
- var proposalProject = require('../../dist/proposalProject-28550146.cjs.prod.js');
8
+ var acquireTypes = require('../../dist/acquireTypes-dd976839.cjs.prod.js');
9
+ var proposalProject = require('../../dist/proposalProject-fab0c026.cjs.prod.js');
10
10
 
11
11
  function _regeneratorValues(e) {
12
12
  if (null != e) {
@@ -365,7 +365,7 @@ function languageServiceFor(ts, fs, config, registry) {
365
365
  * deduplicated as `tsc` does.
366
366
  */
367
367
  function diagnosticsOf(ts, program, config) {
368
- var all = ts.sortAndDeduplicateDiagnostics([].concat(slicedToArray._toConsumableArray(config.errors), slicedToArray._toConsumableArray(ts.getPreEmitDiagnostics(program))));
368
+ var all = ts.sortAndDeduplicateDiagnostics([].concat(createForOfIteratorHelper._toConsumableArray(config.errors), createForOfIteratorHelper._toConsumableArray(ts.getPreEmitDiagnostics(program))));
369
369
  return all.filter(function (d) {
370
370
  return d.category === ts.DiagnosticCategory.Error;
371
371
  }).map(function (d) {
@@ -670,7 +670,7 @@ function _typecheckProject() {
670
670
  return _context2.a(3, 20);
671
671
  case 19:
672
672
  found = diagnosticsOf(ts, program, _config2);
673
- errors.push.apply(errors, slicedToArray._toConsumableArray(found));
673
+ errors.push.apply(errors, createForOfIteratorHelper._toConsumableArray(found));
674
674
  sourceFiles = program.getSourceFiles();
675
675
  programs.push(createForOfIteratorHelper._objectSpread2({
676
676
  tsconfig: relative(_config2.path),
@@ -1222,7 +1222,7 @@ function errorsByFile(errors) {
1222
1222
  } finally {
1223
1223
  _iterator.f();
1224
1224
  }
1225
- return slicedToArray._toConsumableArray(files).sort(function (_ref, _ref2) {
1225
+ return createForOfIteratorHelper._toConsumableArray(files).sort(function (_ref, _ref2) {
1226
1226
  var _ref3 = slicedToArray._slicedToArray(_ref, 1),
1227
1227
  a = _ref3[0];
1228
1228
  var _ref4 = slicedToArray._slicedToArray(_ref2, 1),
@@ -1,9 +1,9 @@
1
- import { _ as _inherits, a as _createClass, c as _wrapNativeSuper, e as _classCallCheck, f as _callSuper, b as _asyncToGenerator, d as _regenerator, h as _toConsumableArray, g as _slicedToArray } from '../../dist/slicedToArray-6cd80315.esm.js';
2
- import { a as _createForOfIteratorHelper, _ as _typeof, b as _objectSpread2 } from '../../dist/createForOfIteratorHelper-3db5d737.esm.js';
1
+ import { _ as _inherits, a as _createClass, c as _wrapNativeSuper, e as _classCallCheck, f as _callSuper, b as _asyncToGenerator, d as _regenerator, g as _slicedToArray } from '../../dist/slicedToArray-22567815.esm.js';
2
+ import { c as _createForOfIteratorHelper, _ as _typeof, a as _objectSpread2, b as _toConsumableArray } from '../../dist/createForOfIteratorHelper-666a6d17.esm.js';
3
3
  import { parse } from 'yaml';
4
- import { p as parsePnpmLockfile, c as computePnpmLayout, l as layoutOptionsOfWorkspace, a as packageDirOf, T as TypeAcquisition, b as parentOf, n as normalizePath, L as LinkedFileSystem, S as SourceError } from '../../dist/acquireTypes-50960f2c.esm.js';
5
- export { e as LockfileError, S as SourceError, U as UnsupportedLayoutError, d as packageNameOf, t as typesPackageOf } from '../../dist/acquireTypes-50960f2c.esm.js';
6
- import { p as proposalProject } from '../../dist/proposalProject-a3d3ad76.esm.js';
4
+ import { p as parsePnpmLockfile, c as computePnpmLayout, l as layoutOptionsOfWorkspace, a as packageDirOf, T as TypeAcquisition, b as parentOf, n as normalizePath, L as LinkedFileSystem, S as SourceError } from '../../dist/acquireTypes-6e2f7961.esm.js';
5
+ export { e as LockfileError, S as SourceError, U as UnsupportedLayoutError, d as packageNameOf, t as typesPackageOf } from '../../dist/acquireTypes-6e2f7961.esm.js';
6
+ import { p as proposalProject } from '../../dist/proposalProject-689c24cc.esm.js';
7
7
 
8
8
  function _regeneratorValues(e) {
9
9
  if (null != e) {
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var slicedToArray = require('../../../dist/slicedToArray-62e428df.cjs.dev.js');
6
- var createForOfIteratorHelper = require('../../../dist/createForOfIteratorHelper-d86bb352.cjs.dev.js');
5
+ var slicedToArray = require('../../../dist/slicedToArray-c8a29f6b.cjs.dev.js');
6
+ var createForOfIteratorHelper = require('../../../dist/createForOfIteratorHelper-87a33eff.cjs.dev.js');
7
7
  var fs = require('node:fs');
8
8
  var path = require('node:path');
9
- var acquireTypes = require('../../../dist/acquireTypes-de10005d.cjs.dev.js');
9
+ var acquireTypes = require('../../../dist/acquireTypes-84a4077a.cjs.dev.js');
10
10
  require('yaml');
11
11
 
12
12
  function _interopNamespace(e) {
@@ -108,7 +108,7 @@ function slotsByName(store) {
108
108
  function nodeModulesSources(root) {
109
109
  var _options$fallbackRoot;
110
110
  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
111
- var roots = [root].concat(slicedToArray._toConsumableArray((_options$fallbackRoot = options.fallbackRoots) !== null && _options$fallbackRoot !== void 0 ? _options$fallbackRoot : []));
111
+ var roots = [root].concat(createForOfIteratorHelper._toConsumableArray((_options$fallbackRoot = options.fallbackRoots) !== null && _options$fallbackRoot !== void 0 ? _options$fallbackRoot : []));
112
112
  var stores = roots.map(function (dir) {
113
113
  return slotsByName(path__namespace.join(dir, "node_modules", ".pnpm"));
114
114
  });
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var slicedToArray = require('../../../dist/slicedToArray-af50e684.cjs.prod.js');
6
- var createForOfIteratorHelper = require('../../../dist/createForOfIteratorHelper-90e6a8b6.cjs.prod.js');
5
+ var slicedToArray = require('../../../dist/slicedToArray-d99b4e2e.cjs.prod.js');
6
+ var createForOfIteratorHelper = require('../../../dist/createForOfIteratorHelper-fef4fa7d.cjs.prod.js');
7
7
  var fs = require('node:fs');
8
8
  var path = require('node:path');
9
- var acquireTypes = require('../../../dist/acquireTypes-e9467a2a.cjs.prod.js');
9
+ var acquireTypes = require('../../../dist/acquireTypes-dd976839.cjs.prod.js');
10
10
  require('yaml');
11
11
 
12
12
  function _interopNamespace(e) {
@@ -108,7 +108,7 @@ function slotsByName(store) {
108
108
  function nodeModulesSources(root) {
109
109
  var _options$fallbackRoot;
110
110
  var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
111
- var roots = [root].concat(slicedToArray._toConsumableArray((_options$fallbackRoot = options.fallbackRoots) !== null && _options$fallbackRoot !== void 0 ? _options$fallbackRoot : []));
111
+ var roots = [root].concat(createForOfIteratorHelper._toConsumableArray((_options$fallbackRoot = options.fallbackRoots) !== null && _options$fallbackRoot !== void 0 ? _options$fallbackRoot : []));
112
112
  var stores = roots.map(function (dir) {
113
113
  return slotsByName(path__namespace.join(dir, "node_modules", ".pnpm"));
114
114
  });
@@ -1,8 +1,8 @@
1
- import { h as _toConsumableArray, b as _asyncToGenerator, d as _regenerator } from '../../../dist/slicedToArray-6cd80315.esm.js';
2
- import { a as _createForOfIteratorHelper } from '../../../dist/createForOfIteratorHelper-3db5d737.esm.js';
1
+ import { b as _asyncToGenerator, d as _regenerator } from '../../../dist/slicedToArray-22567815.esm.js';
2
+ import { b as _toConsumableArray, c as _createForOfIteratorHelper } from '../../../dist/createForOfIteratorHelper-666a6d17.esm.js';
3
3
  import * as fs from 'node:fs';
4
4
  import * as path from 'node:path';
5
- import { S as SourceError } from '../../../dist/acquireTypes-50960f2c.esm.js';
5
+ import { S as SourceError } from '../../../dist/acquireTypes-6e2f7961.esm.js';
6
6
  import 'yaml';
7
7
 
8
8
  /**