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

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 +21 -21
  2. package/package.json +5 -5
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
 
@@ -181110,12 +181110,12 @@ var init_pipeline = __esm({
181110
181110
  }
181111
181111
  sendRequest(httpClient, request3) {
181112
181112
  const policies = this.getOrderedPolicies();
181113
- const pipeline2 = policies.reduceRight((next, policy) => {
181113
+ const pipeline = policies.reduceRight((next, policy) => {
181114
181114
  return (req) => {
181115
181115
  return policy.sendRequest(req, next);
181116
181116
  };
181117
181117
  }, (req) => httpClient.sendRequest(req));
181118
- return pipeline2(request3);
181118
+ return pipeline(request3);
181119
181119
  }
181120
181120
  getOrderedPolicies() {
181121
181121
  if (!this._orderedPolicies) {
@@ -183744,24 +183744,24 @@ var init_tracingPolicy = __esm({
183744
183744
 
183745
183745
  // ../../node_modules/.pnpm/@azure+core-rest-pipeline@1.10.1/node_modules/@azure/core-rest-pipeline/dist-esm/src/createPipelineFromOptions.js
183746
183746
  function createPipelineFromOptions(options2) {
183747
- const pipeline2 = createEmptyPipeline();
183747
+ const pipeline = createEmptyPipeline();
183748
183748
  if (isNode) {
183749
183749
  if (options2.tlsOptions) {
183750
- pipeline2.addPolicy(tlsPolicy(options2.tlsOptions));
183750
+ pipeline.addPolicy(tlsPolicy(options2.tlsOptions));
183751
183751
  }
183752
- pipeline2.addPolicy(proxyPolicy(options2.proxyOptions));
183753
- pipeline2.addPolicy(decompressResponsePolicy());
183752
+ pipeline.addPolicy(proxyPolicy(options2.proxyOptions));
183753
+ pipeline.addPolicy(decompressResponsePolicy());
183754
183754
  }
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" });
183755
+ pipeline.addPolicy(formDataPolicy());
183756
+ pipeline.addPolicy(userAgentPolicy(options2.userAgentOptions));
183757
+ pipeline.addPolicy(setClientRequestIdPolicy());
183758
+ pipeline.addPolicy(defaultRetryPolicy(options2.retryOptions), { phase: "Retry" });
183759
+ pipeline.addPolicy(tracingPolicy(options2.userAgentOptions), { afterPhase: "Retry" });
183760
183760
  if (isNode) {
183761
- pipeline2.addPolicy(redirectPolicy(options2.redirectOptions), { afterPhase: "Retry" });
183761
+ pipeline.addPolicy(redirectPolicy(options2.redirectOptions), { afterPhase: "Retry" });
183762
183762
  }
183763
- pipeline2.addPolicy(logPolicy(options2.loggingOptions), { afterPhase: "Sign" });
183764
- return pipeline2;
183763
+ pipeline.addPolicy(logPolicy(options2.loggingOptions), { afterPhase: "Sign" });
183764
+ return pipeline;
183765
183765
  }
183766
183766
  var init_createPipelineFromOptions = __esm({
183767
183767
  "../../node_modules/.pnpm/@azure+core-rest-pipeline@1.10.1/node_modules/@azure/core-rest-pipeline/dist-esm/src/createPipelineFromOptions.js"() {
@@ -206995,7 +206995,7 @@ var StdioServerTransport = class {
206995
206995
  };
206996
206996
 
206997
206997
  // package.json
206998
- var version = "0.2.1";
206998
+ var version = "0.2.2";
206999
206999
  var package_default = {
207000
207000
  name: "@sap-ux/fiori-mcp-server",
207001
207001
  description: "SAP Fiori - Model Context Protocol (MCP) server",
@@ -212355,7 +212355,6 @@ var SimpleVectorService = class {
212355
212355
  };
212356
212356
 
212357
212357
  // src/tools/services/text-embedding.ts
212358
- var import_transformers = require("@xenova/transformers");
212359
212358
  var TextEmbeddingService = class {
212360
212359
  pipeline = null;
212361
212360
  initialized = false;
@@ -212367,7 +212366,8 @@ var TextEmbeddingService = class {
212367
212366
  return;
212368
212367
  }
212369
212368
  try {
212370
- this.pipeline = await (0, import_transformers.pipeline)("feature-extraction", "Xenova/all-MiniLM-L6-v2", {
212369
+ const { pipeline } = await import("@xenova/transformers");
212370
+ this.pipeline = await pipeline("feature-extraction", "Xenova/all-MiniLM-L6-v2", {
212371
212371
  quantized: false
212372
212372
  });
212373
212373
  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.2",
5
5
  "keywords": [
6
6
  "SAP Fiori tools",
7
7
  "SAP Fiori elements",
@@ -39,15 +39,15 @@
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",
44
42
  "@sap-ux/i18n": "0.3.4",
43
+ "@sap-ux/fiori-docs-embeddings": "0.1.1",
44
+ "@sap-ux/fiori-annotation-api": "0.7.3",
45
45
  "@sap-ux/logger": "0.7.0",
46
46
  "@sap-ux/odata-annotation-core-types": "0.5.0",
47
47
  "@sap-ux/odata-entity-model": "0.3.1",
48
- "@sap-ux/text-document-utils": "0.3.1",
49
- "@sap-ux/btp-utils": "1.1.4",
50
48
  "@sap-ux/feature-toggle": "0.3.1",
49
+ "@sap-ux/btp-utils": "1.1.4",
50
+ "@sap-ux/text-document-utils": "0.3.1",
51
51
  "@sap-ux/nodejs-utils": "0.2.7",
52
52
  "@sap-ux/telemetry": "0.6.27"
53
53
  },