@sap-ux/fiori-mcp-server 0.2.1 → 0.2.3

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 (2) hide show
  1. package/dist/index.js +125 -86
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -42132,7 +42132,7 @@ var require_commit = __commonJS({
42132
42132
  "use strict";
42133
42133
  var { promisify: promisify3 } = require("util");
42134
42134
  var { pipeline: _pipeline } = require("stream");
42135
- var pipeline2 = promisify3(_pipeline);
42135
+ var pipeline = promisify3(_pipeline);
42136
42136
  var { createPendingFilesPassthrough, createCommitTransform } = require_transform();
42137
42137
  module2.exports = function(filters, stream, cb) {
42138
42138
  if (typeof filters === "function") {
@@ -42145,7 +42145,7 @@ var require_commit = __commonJS({
42145
42145
  }
42146
42146
  stream = stream || this.store.stream();
42147
42147
  filters = filters || [];
42148
- const promise = pipeline2(
42148
+ const promise = pipeline(
42149
42149
  stream,
42150
42150
  createPendingFilesPassthrough(),
42151
42151
  ...filters,
@@ -58908,7 +58908,7 @@ var require_pipeline = __commonJS({
58908
58908
  if (typeof streams[streams.length - 1] !== "function") return noop2;
58909
58909
  return streams.pop();
58910
58910
  }
58911
- function pipeline2() {
58911
+ function pipeline() {
58912
58912
  for (var _len = arguments.length, streams = new Array(_len), _key = 0; _key < _len; _key++) {
58913
58913
  streams[_key] = arguments[_key];
58914
58914
  }
@@ -58931,7 +58931,7 @@ var require_pipeline = __commonJS({
58931
58931
  });
58932
58932
  return streams.reduce(pipe2);
58933
58933
  }
58934
- module2.exports = pipeline2;
58934
+ module2.exports = pipeline;
58935
58935
  }
58936
58936
  });
58937
58937
 
@@ -102270,9 +102270,9 @@ var require_xml = __commonJS({
102270
102270
  }
102271
102271
  });
102272
102272
 
102273
- // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/types.js
102273
+ // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/types.js
102274
102274
  var require_types9 = __commonJS({
102275
- "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/types.js"(exports2) {
102275
+ "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/types.js"(exports2) {
102276
102276
  "use strict";
102277
102277
  Object.defineProperty(exports2, "__esModule", { value: true });
102278
102278
  exports2.getMetadataElementsFromMap = exports2.createMetadataCollector = exports2.ASSOCIATION_NAME_LOCALIZED = exports2.ENTITY_PREFIX_LOCALIZED = exports2.DRAFT_MESSAGES_ELEMENT_NAME = exports2.HAS_ACTIVE_ENTITY_ELEM_NAME = exports2.IS_ACTIVE_ENTITY_ELEM_NAME = exports2.TYPE_NAME_OF_BINDING_PARAMETER = exports2.RETURN_PARAM_NAME = void 0;
@@ -102306,9 +102306,9 @@ var require_types9 = __commonJS({
102306
102306
  }
102307
102307
  });
102308
102308
 
102309
- // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/utils.js
102309
+ // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/utils.js
102310
102310
  var require_utils16 = __commonJS({
102311
- "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/utils.js"(exports2) {
102311
+ "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/utils.js"(exports2) {
102312
102312
  "use strict";
102313
102313
  Object.defineProperty(exports2, "__esModule", { value: true });
102314
102314
  exports2.getNameObj = getNameObj;
@@ -102322,9 +102322,9 @@ var require_utils16 = __commonJS({
102322
102322
  }
102323
102323
  });
102324
102324
 
102325
- // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/utils.js
102325
+ // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/utils.js
102326
102326
  var require_utils17 = __commonJS({
102327
- "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/utils.js"(exports2) {
102327
+ "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/utils.js"(exports2) {
102328
102328
  "use strict";
102329
102329
  Object.defineProperty(exports2, "__esModule", { value: true });
102330
102330
  exports2.getServiceNameForEntity = void 0;
@@ -102388,9 +102388,9 @@ var require_utils17 = __commonJS({
102388
102388
  }
102389
102389
  });
102390
102390
 
102391
- // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/transform/rangeConverters.js
102391
+ // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/transform/rangeConverters.js
102392
102392
  var require_rangeConverters = __commonJS({
102393
- "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/transform/rangeConverters.js"(exports2) {
102393
+ "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/transform/rangeConverters.js"(exports2) {
102394
102394
  "use strict";
102395
102395
  Object.defineProperty(exports2, "__esModule", { value: true });
102396
102396
  exports2.getStartLineColFromLocation = exports2.getTextForLocationRange = void 0;
@@ -102456,9 +102456,9 @@ var require_rangeConverters = __commonJS({
102456
102456
  }
102457
102457
  });
102458
102458
 
102459
- // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/transform/utils.js
102459
+ // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/transform/utils.js
102460
102460
  var require_utils18 = __commonJS({
102461
- "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/transform/utils.js"(exports2) {
102461
+ "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/transform/utils.js"(exports2) {
102462
102462
  "use strict";
102463
102463
  Object.defineProperty(exports2, "__esModule", { value: true });
102464
102464
  exports2.findUsing = findUsing;
@@ -102477,9 +102477,9 @@ var require_utils18 = __commonJS({
102477
102477
  }
102478
102478
  });
102479
102479
 
102480
- // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/transform/index.js
102480
+ // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/transform/index.js
102481
102481
  var require_transform2 = __commonJS({
102482
- "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/transform/index.js"(exports2) {
102482
+ "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/transform/index.js"(exports2) {
102483
102483
  "use strict";
102484
102484
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
102485
102485
  if (k2 === void 0) k2 = k;
@@ -102513,9 +102513,9 @@ var require_transform2 = __commonJS({
102513
102513
  }
102514
102514
  });
102515
102515
 
102516
- // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/conversion.js
102516
+ // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/conversion.js
102517
102517
  var require_conversion = __commonJS({
102518
- "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/conversion.js"(exports2) {
102518
+ "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/conversion.js"(exports2) {
102519
102519
  "use strict";
102520
102520
  Object.defineProperty(exports2, "__esModule", { value: true });
102521
102521
  exports2.Converter = void 0;
@@ -102652,7 +102652,7 @@ var require_conversion = __commonJS({
102652
102652
  entityNode.isCollectionValued = true;
102653
102653
  entityNode.content = [];
102654
102654
  if (keys2.length) {
102655
- keys2.sort();
102655
+ keys2.sort((a, b) => a.localeCompare(b));
102656
102656
  entityNode.keys = keys2;
102657
102657
  }
102658
102658
  result = entityNode;
@@ -103157,9 +103157,9 @@ var require_conversion = __commonJS({
103157
103157
  }
103158
103158
  });
103159
103159
 
103160
- // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/draftSupport.js
103160
+ // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/draftSupport.js
103161
103161
  var require_draftSupport = __commonJS({
103162
- "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/draftSupport.js"(exports2) {
103162
+ "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/draftSupport.js"(exports2) {
103163
103163
  "use strict";
103164
103164
  Object.defineProperty(exports2, "__esModule", { value: true });
103165
103165
  exports2.getDraftNodesForService = getDraftNodesForService;
@@ -103214,9 +103214,9 @@ var require_draftSupport = __commonJS({
103214
103214
  }
103215
103215
  });
103216
103216
 
103217
- // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/collection.js
103217
+ // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/collection.js
103218
103218
  var require_collection = __commonJS({
103219
- "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/collection.js"(exports2) {
103219
+ "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/collection.js"(exports2) {
103220
103220
  "use strict";
103221
103221
  Object.defineProperty(exports2, "__esModule", { value: true });
103222
103222
  exports2.collectMetadataForAbsolutePath = collectMetadataForAbsolutePath;
@@ -103755,9 +103755,9 @@ var require_collection = __commonJS({
103755
103755
  }
103756
103756
  });
103757
103757
 
103758
- // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/generation.js
103758
+ // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/generation.js
103759
103759
  var require_generation = __commonJS({
103760
- "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/generation.js"(exports2) {
103760
+ "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/generation.js"(exports2) {
103761
103761
  "use strict";
103762
103762
  Object.defineProperty(exports2, "__esModule", { value: true });
103763
103763
  exports2.generateMetadata = void 0;
@@ -103874,7 +103874,7 @@ var require_generation = __commonJS({
103874
103874
  }
103875
103875
  function generateBoundActionFunctionMdElements(context2, topLevelArtifact) {
103876
103876
  const { metadataElementMap, converter } = context2;
103877
- Object.keys(topLevelArtifact.actions || {}).sort().forEach((actionName) => {
103877
+ Object.keys(topLevelArtifact.actions || {}).sort((a, b) => a.localeCompare(b)).forEach((actionName) => {
103878
103878
  const action = topLevelArtifact?.actions?.[actionName];
103879
103879
  if (action && ["action", "function"].includes(action.kind)) {
103880
103880
  const actionNode = converter.convertBoundAction(converter.getNameObj(topLevelArtifact).absolute, actionName, action);
@@ -103924,7 +103924,7 @@ var require_generation = __commonJS({
103924
103924
  }
103925
103925
  function generateUnBoundActionFunctionMdElements(context2, topLevelArtifact, topLevelArtifactName, topLevelArtifactNode) {
103926
103926
  const { metadataElementMap, converter } = context2;
103927
- Object.keys(topLevelArtifact.params || {}).sort().forEach((paramName) => {
103927
+ Object.keys(topLevelArtifact.params || {}).sort((a, b) => a.localeCompare(b)).forEach((paramName) => {
103928
103928
  const param = topLevelArtifact?.params?.[paramName];
103929
103929
  const paramNode = converter.convertParameter(paramName, topLevelArtifactName, param);
103930
103930
  if (paramNode) {
@@ -103949,9 +103949,9 @@ var require_generation = __commonJS({
103949
103949
  }
103950
103950
  });
103951
103951
 
103952
- // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/edmxNameConverter.js
103952
+ // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/edmxNameConverter.js
103953
103953
  var require_edmxNameConverter = __commonJS({
103954
- "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/edmxNameConverter.js"(exports2) {
103954
+ "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/edmxNameConverter.js"(exports2) {
103955
103955
  "use strict";
103956
103956
  Object.defineProperty(exports2, "__esModule", { value: true });
103957
103957
  exports2.EdmxNameConverter = void 0;
@@ -104006,9 +104006,9 @@ var require_edmxNameConverter = __commonJS({
104006
104006
  }
104007
104007
  });
104008
104008
 
104009
- // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/index.js
104009
+ // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/index.js
104010
104010
  var require_metadata6 = __commonJS({
104011
- "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/index.js"(exports2) {
104011
+ "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/metadata/index.js"(exports2) {
104012
104012
  "use strict";
104013
104013
  Object.defineProperty(exports2, "__esModule", { value: true });
104014
104014
  exports2.convertNameToEdmxInternal = exports2.EdmxNameConverter = exports2.Converter = exports2.generateMetadata = exports2.collectMetadataForRelativePath = exports2.collectMetadataForAbsolutePath = exports2.getMetadataElementsFromMap = exports2.createMetadataCollector = exports2.getMetadataCollector = void 0;
@@ -104047,9 +104047,9 @@ var require_metadata6 = __commonJS({
104047
104047
  }
104048
104048
  });
104049
104049
 
104050
- // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/genericToken.js
104050
+ // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/genericToken.js
104051
104051
  var require_genericToken = __commonJS({
104052
- "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/genericToken.js"(exports2) {
104052
+ "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/genericToken.js"(exports2) {
104053
104053
  "use strict";
104054
104054
  Object.defineProperty(exports2, "__esModule", { value: true });
104055
104055
  exports2.GenericTokenImpl = void 0;
@@ -104091,9 +104091,9 @@ var require_genericToken = __commonJS({
104091
104091
  }
104092
104092
  });
104093
104093
 
104094
- // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/annotationAssignmentToken.js
104094
+ // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/annotationAssignmentToken.js
104095
104095
  var require_annotationAssignmentToken = __commonJS({
104096
- "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/annotationAssignmentToken.js"(exports2) {
104096
+ "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/annotationAssignmentToken.js"(exports2) {
104097
104097
  "use strict";
104098
104098
  Object.defineProperty(exports2, "__esModule", { value: true });
104099
104099
  exports2.AnnotationAssignmentTokenImpl = exports2.NEWLINE_REGEX = void 0;
@@ -104125,9 +104125,9 @@ var require_annotationAssignmentToken = __commonJS({
104125
104125
  }
104126
104126
  });
104127
104127
 
104128
- // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/genericDefinition.js
104128
+ // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/genericDefinition.js
104129
104129
  var require_genericDefinition = __commonJS({
104130
- "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/genericDefinition.js"(exports2) {
104130
+ "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/genericDefinition.js"(exports2) {
104131
104131
  "use strict";
104132
104132
  Object.defineProperty(exports2, "__esModule", { value: true });
104133
104133
  exports2.GenericDefinitionImpl = void 0;
@@ -104146,9 +104146,9 @@ var require_genericDefinition = __commonJS({
104146
104146
  }
104147
104147
  });
104148
104148
 
104149
- // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/identifierToken.js
104149
+ // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/identifierToken.js
104150
104150
  var require_identifierToken = __commonJS({
104151
- "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/identifierToken.js"(exports2) {
104151
+ "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/identifierToken.js"(exports2) {
104152
104152
  "use strict";
104153
104153
  Object.defineProperty(exports2, "__esModule", { value: true });
104154
104154
  exports2.IdentifierTokenImpl = void 0;
@@ -104169,9 +104169,9 @@ var require_identifierToken = __commonJS({
104169
104169
  }
104170
104170
  });
104171
104171
 
104172
- // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/tokenStream.js
104172
+ // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/tokenStream.js
104173
104173
  var require_tokenStream = __commonJS({
104174
- "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/tokenStream.js"(exports2) {
104174
+ "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/tokenStream.js"(exports2) {
104175
104175
  "use strict";
104176
104176
  Object.defineProperty(exports2, "__esModule", { value: true });
104177
104177
  exports2.findTokenByPosition = findTokenByPosition;
@@ -104203,13 +104203,20 @@ var require_tokenStream = __commonJS({
104203
104203
  }
104204
104204
  return void 0;
104205
104205
  }
104206
- function getTokenLocation(token2) {
104206
+ function getTokenLocation(token2, text = token2.text) {
104207
104207
  if (isOldToken(token2)) {
104208
- return { line: token2.line, column: token2.column + 1 };
104208
+ return {
104209
+ line: token2.line,
104210
+ column: token2.column + 1,
104211
+ endLine: token2.line + text.split(/\r?\n/).length - 1,
104212
+ endColumn: token2.text.indexOf("\n") !== -1 ? token2.text.length - text.lastIndexOf("\n") : token2.column + text.length + 1
104213
+ };
104209
104214
  }
104210
104215
  return {
104211
104216
  line: token2.location.line,
104212
- column: token2.location.col
104217
+ column: token2.location.col,
104218
+ endLine: token2.location.endLine,
104219
+ endColumn: token2.location.endCol
104213
104220
  };
104214
104221
  }
104215
104222
  function isOldToken(token2) {
@@ -104218,9 +104225,9 @@ var require_tokenStream = __commonJS({
104218
104225
  }
104219
104226
  });
104220
104227
 
104221
- // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/fileIndex.js
104228
+ // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/fileIndex.js
104222
104229
  var require_fileIndex = __commonJS({
104223
- "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/fileIndex.js"(exports2) {
104230
+ "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/fileIndex.js"(exports2) {
104224
104231
  "use strict";
104225
104232
  Object.defineProperty(exports2, "__esModule", { value: true });
104226
104233
  exports2.createFileIndexFromSource = createFileIndexFromSource;
@@ -104318,6 +104325,7 @@ var require_fileIndex = __commonJS({
104318
104325
  i18nTokens: [],
104319
104326
  stringTokens: [],
104320
104327
  tokens: [],
104328
+ content: "",
104321
104329
  get annotationAssignments() {
104322
104330
  return annotationAssignments.values();
104323
104331
  }
@@ -104340,18 +104348,49 @@ var require_fileIndex = __commonJS({
104340
104348
  processBoundActionFun(artifact, collector, sourceUri, source, lines, compiler);
104341
104349
  processBoundActionFunParam(artifact, collector, sourceUri, source, lines, compiler);
104342
104350
  }
104351
+ const tokens = source?.tokenStream?.tokens ?? [];
104343
104352
  return Object.freeze({
104344
104353
  idTokens: collector.idTokens,
104345
104354
  directDependentUris,
104346
104355
  compilerMessages: [],
104347
104356
  i18nTokens: [],
104348
104357
  stringTokens: [],
104349
- tokens: [],
104358
+ tokens: convertTokens(tokens),
104359
+ content: text,
104350
104360
  get annotationAssignments() {
104351
104361
  return annotationAssignments.values();
104352
104362
  }
104353
104363
  });
104354
104364
  }
104365
+ function convertTokens(tokens) {
104366
+ const output = [];
104367
+ let tokenIndexOffset = 0;
104368
+ for (let index = 0; index < tokens.length; index++) {
104369
+ const token2 = tokens[index];
104370
+ if ((0, tokenStream_1.isOldToken)(token2)) {
104371
+ const previousToken = tokens[index - 1];
104372
+ if (previousToken && (0, tokenStream_1.isOldToken)(previousToken) && previousToken.start === token2.start && previousToken.end === token2.end) {
104373
+ tokenIndexOffset++;
104374
+ continue;
104375
+ }
104376
+ }
104377
+ output.push(convertToken(token2, index - tokenIndexOffset));
104378
+ }
104379
+ return output;
104380
+ }
104381
+ function convertToken(token2, index) {
104382
+ const text = token2.text === "<EOF>" ? "" : token2.text;
104383
+ const { line, column, endLine, endColumn } = (0, tokenStream_1.getTokenLocation)(token2, text);
104384
+ return {
104385
+ text,
104386
+ line: line - 1,
104387
+ character: column - 1,
104388
+ endLine: endLine - 1,
104389
+ endCharacter: endColumn - 1,
104390
+ tokenIndex: index,
104391
+ isComment: () => text.startsWith("//") || text.startsWith("/*")
104392
+ };
104393
+ }
104355
104394
  var isDifferentLocation = (location, source) => {
104356
104395
  if (location && source && location.file && source.location?.file) {
104357
104396
  return location.file !== source.location.file;
@@ -104450,9 +104489,9 @@ var require_fileIndex = __commonJS({
104450
104489
  }
104451
104490
  });
104452
104491
 
104453
- // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/cdsSource.js
104492
+ // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/cdsSource.js
104454
104493
  var require_cdsSource = __commonJS({
104455
- "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/cdsSource.js"(exports2) {
104494
+ "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/cdsSource.js"(exports2) {
104456
104495
  "use strict";
104457
104496
  Object.defineProperty(exports2, "__esModule", { value: true });
104458
104497
  exports2.getSourceByUri = getSourceByUri;
@@ -104473,9 +104512,9 @@ var require_cdsSource = __commonJS({
104473
104512
  }
104474
104513
  });
104475
104514
 
104476
- // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/blitzIndex.js
104515
+ // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/blitzIndex.js
104477
104516
  var require_blitzIndex = __commonJS({
104478
- "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/blitzIndex.js"(exports2) {
104517
+ "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/blitzIndex.js"(exports2) {
104479
104518
  "use strict";
104480
104519
  Object.defineProperty(exports2, "__esModule", { value: true });
104481
104520
  exports2.createIndex = createIndex;
@@ -104572,9 +104611,9 @@ var require_blitzIndex = __commonJS({
104572
104611
  }
104573
104612
  });
104574
104613
 
104575
- // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/transform/ghostFiles.js
104614
+ // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/transform/ghostFiles.js
104576
104615
  var require_ghostFiles = __commonJS({
104577
- "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/transform/ghostFiles.js"(exports2) {
104616
+ "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/transform/ghostFiles.js"(exports2) {
104578
104617
  "use strict";
104579
104618
  Object.defineProperty(exports2, "__esModule", { value: true });
104580
104619
  exports2.toPropagatedTargetMap = void 0;
@@ -104934,9 +104973,9 @@ var require_ghostFiles = __commonJS({
104934
104973
  }
104935
104974
  });
104936
104975
 
104937
- // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/cds.js
104976
+ // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/cds.js
104938
104977
  var require_cds = __commonJS({
104939
- "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/cds.js"(exports2) {
104978
+ "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/cds.js"(exports2) {
104940
104979
  "use strict";
104941
104980
  Object.defineProperty(exports2, "__esModule", { value: true });
104942
104981
  exports2.severityMap = void 0;
@@ -104966,9 +105005,9 @@ var require_cds = __commonJS({
104966
105005
  }
104967
105006
  });
104968
105007
 
104969
- // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/cdsDocument.js
105008
+ // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/cdsDocument.js
104970
105009
  var require_cdsDocument = __commonJS({
104971
- "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/cdsDocument.js"(exports2) {
105010
+ "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/cdsDocument.js"(exports2) {
104972
105011
  "use strict";
104973
105012
  Object.defineProperty(exports2, "__esModule", { value: true });
104974
105013
  exports2.getCdsDocument = getCdsDocument;
@@ -105088,9 +105127,9 @@ var require_cdsDocument = __commonJS({
105088
105127
  }
105089
105128
  });
105090
105129
 
105091
- // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/fileSequence.js
105130
+ // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/fileSequence.js
105092
105131
  var require_fileSequence = __commonJS({
105093
- "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/fileSequence.js"(exports2) {
105132
+ "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/fileSequence.js"(exports2) {
105094
105133
  "use strict";
105095
105134
  Object.defineProperty(exports2, "__esModule", { value: true });
105096
105135
  exports2.getFileSequence = getFileSequence;
@@ -105168,9 +105207,9 @@ var require_fileSequence = __commonJS({
105168
105207
  }
105169
105208
  });
105170
105209
 
105171
- // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/compilerMessages.js
105210
+ // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/compilerMessages.js
105172
105211
  var require_compilerMessages = __commonJS({
105173
- "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/compilerMessages.js"(exports2) {
105212
+ "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/compilerMessages.js"(exports2) {
105174
105213
  "use strict";
105175
105214
  var __createBinding = exports2 && exports2.__createBinding || (Object.create ? function(o, m, k, k2) {
105176
105215
  if (k2 === void 0) k2 = k;
@@ -105252,9 +105291,9 @@ var require_compilerMessages = __commonJS({
105252
105291
  }
105253
105292
  });
105254
105293
 
105255
- // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/facade.js
105294
+ // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/facade.js
105256
105295
  var require_facade = __commonJS({
105257
- "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/facade.js"(exports2) {
105296
+ "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/facade.js"(exports2) {
105258
105297
  "use strict";
105259
105298
  Object.defineProperty(exports2, "__esModule", { value: true });
105260
105299
  exports2.createCdsCompilerFacade = createCdsCompilerFacade;
@@ -105346,9 +105385,9 @@ var require_facade = __commonJS({
105346
105385
  }
105347
105386
  });
105348
105387
 
105349
- // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/path.js
105388
+ // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/path.js
105350
105389
  var require_path5 = __commonJS({
105351
- "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/path.js"(exports2) {
105390
+ "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/path.js"(exports2) {
105352
105391
  "use strict";
105353
105392
  Object.defineProperty(exports2, "__esModule", { value: true });
105354
105393
  exports2.pathFromUri = pathFromUri;
@@ -105368,9 +105407,9 @@ var require_path5 = __commonJS({
105368
105407
  }
105369
105408
  });
105370
105409
 
105371
- // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/compile.js
105410
+ // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/compile.js
105372
105411
  var require_compile4 = __commonJS({
105373
- "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/compile.js"(exports2) {
105412
+ "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/compile.js"(exports2) {
105374
105413
  "use strict";
105375
105414
  Object.defineProperty(exports2, "__esModule", { value: true });
105376
105415
  exports2.compile = compile;
@@ -105561,9 +105600,9 @@ var require_compile4 = __commonJS({
105561
105600
  }
105562
105601
  });
105563
105602
 
105564
- // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/index.js
105603
+ // ../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/index.js
105565
105604
  var require_dist14 = __commonJS({
105566
- "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.18.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_psucgxhtqa3p54khv2h3wjs5hm/node_modules/@sap/ux-cds-compiler-facade/dist/index.js"(exports2) {
105605
+ "../../node_modules/.pnpm/@sap+ux-cds-compiler-facade@1.19.0_@sap-ux+odata-annotation-core-types@packages+odata-annotat_2ff2iw3w5srrkkczqfrusgogle/node_modules/@sap/ux-cds-compiler-facade/dist/index.js"(exports2) {
105567
105606
  "use strict";
105568
105607
  Object.defineProperty(exports2, "__esModule", { value: true });
105569
105608
  exports2.updateContentBasedOnReference = exports2.createCdsCompilerFacadeForRoot = exports2.getCdsFiles = exports2.createCdsCompilerFacade = exports2.createMetadataCollector = exports2.getMetadataElementsFromMap = void 0;
@@ -181110,12 +181149,12 @@ var init_pipeline = __esm({
181110
181149
  }
181111
181150
  sendRequest(httpClient, request3) {
181112
181151
  const policies = this.getOrderedPolicies();
181113
- const pipeline2 = policies.reduceRight((next, policy) => {
181152
+ const pipeline = policies.reduceRight((next, policy) => {
181114
181153
  return (req) => {
181115
181154
  return policy.sendRequest(req, next);
181116
181155
  };
181117
181156
  }, (req) => httpClient.sendRequest(req));
181118
- return pipeline2(request3);
181157
+ return pipeline(request3);
181119
181158
  }
181120
181159
  getOrderedPolicies() {
181121
181160
  if (!this._orderedPolicies) {
@@ -183744,24 +183783,24 @@ var init_tracingPolicy = __esm({
183744
183783
 
183745
183784
  // ../../node_modules/.pnpm/@azure+core-rest-pipeline@1.10.1/node_modules/@azure/core-rest-pipeline/dist-esm/src/createPipelineFromOptions.js
183746
183785
  function createPipelineFromOptions(options2) {
183747
- const pipeline2 = createEmptyPipeline();
183786
+ const pipeline = createEmptyPipeline();
183748
183787
  if (isNode) {
183749
183788
  if (options2.tlsOptions) {
183750
- pipeline2.addPolicy(tlsPolicy(options2.tlsOptions));
183789
+ pipeline.addPolicy(tlsPolicy(options2.tlsOptions));
183751
183790
  }
183752
- pipeline2.addPolicy(proxyPolicy(options2.proxyOptions));
183753
- pipeline2.addPolicy(decompressResponsePolicy());
183791
+ pipeline.addPolicy(proxyPolicy(options2.proxyOptions));
183792
+ pipeline.addPolicy(decompressResponsePolicy());
183754
183793
  }
183755
- pipeline2.addPolicy(formDataPolicy());
183756
- pipeline2.addPolicy(userAgentPolicy(options2.userAgentOptions));
183757
- pipeline2.addPolicy(setClientRequestIdPolicy());
183758
- pipeline2.addPolicy(defaultRetryPolicy(options2.retryOptions), { phase: "Retry" });
183759
- pipeline2.addPolicy(tracingPolicy(options2.userAgentOptions), { afterPhase: "Retry" });
183794
+ pipeline.addPolicy(formDataPolicy());
183795
+ pipeline.addPolicy(userAgentPolicy(options2.userAgentOptions));
183796
+ pipeline.addPolicy(setClientRequestIdPolicy());
183797
+ pipeline.addPolicy(defaultRetryPolicy(options2.retryOptions), { phase: "Retry" });
183798
+ pipeline.addPolicy(tracingPolicy(options2.userAgentOptions), { afterPhase: "Retry" });
183760
183799
  if (isNode) {
183761
- pipeline2.addPolicy(redirectPolicy(options2.redirectOptions), { afterPhase: "Retry" });
183800
+ pipeline.addPolicy(redirectPolicy(options2.redirectOptions), { afterPhase: "Retry" });
183762
183801
  }
183763
- pipeline2.addPolicy(logPolicy(options2.loggingOptions), { afterPhase: "Sign" });
183764
- return pipeline2;
183802
+ pipeline.addPolicy(logPolicy(options2.loggingOptions), { afterPhase: "Sign" });
183803
+ return pipeline;
183765
183804
  }
183766
183805
  var init_createPipelineFromOptions = __esm({
183767
183806
  "../../node_modules/.pnpm/@azure+core-rest-pipeline@1.10.1/node_modules/@azure/core-rest-pipeline/dist-esm/src/createPipelineFromOptions.js"() {
@@ -206995,7 +207034,7 @@ var StdioServerTransport = class {
206995
207034
  };
206996
207035
 
206997
207036
  // package.json
206998
- var version = "0.2.1";
207037
+ var version = "0.2.3";
206999
207038
  var package_default = {
207000
207039
  name: "@sap-ux/fiori-mcp-server",
207001
207040
  description: "SAP Fiori - Model Context Protocol (MCP) server",
@@ -212355,7 +212394,6 @@ var SimpleVectorService = class {
212355
212394
  };
212356
212395
 
212357
212396
  // src/tools/services/text-embedding.ts
212358
- var import_transformers = require("@xenova/transformers");
212359
212397
  var TextEmbeddingService = class {
212360
212398
  pipeline = null;
212361
212399
  initialized = false;
@@ -212367,7 +212405,8 @@ var TextEmbeddingService = class {
212367
212405
  return;
212368
212406
  }
212369
212407
  try {
212370
- this.pipeline = await (0, import_transformers.pipeline)("feature-extraction", "Xenova/all-MiniLM-L6-v2", {
212408
+ const { pipeline } = await import("@xenova/transformers");
212409
+ this.pipeline = await pipeline("feature-extraction", "Xenova/all-MiniLM-L6-v2", {
212371
212410
  quantized: false
212372
212411
  });
212373
212412
  this.initialized = true;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sap-ux/fiori-mcp-server",
3
3
  "description": "SAP Fiori - Model Context Protocol (MCP) server",
4
- "version": "0.2.1",
4
+ "version": "0.2.3",
5
5
  "keywords": [
6
6
  "SAP Fiori tools",
7
7
  "SAP Fiori elements",
@@ -39,8 +39,8 @@
39
39
  "os-name": "4.0.1",
40
40
  "zod": "4.1.5",
41
41
  "@sap-ux/project-access": "1.32.3",
42
- "@sap-ux/fiori-annotation-api": "0.7.3",
43
- "@sap-ux/fiori-docs-embeddings": "0.1.1",
42
+ "@sap-ux/fiori-annotation-api": "0.7.4",
43
+ "@sap-ux/fiori-docs-embeddings": "0.2.0",
44
44
  "@sap-ux/i18n": "0.3.4",
45
45
  "@sap-ux/logger": "0.7.0",
46
46
  "@sap-ux/odata-annotation-core-types": "0.5.0",