@sap-ux/fiori-mcp-server 1.12.6 → 1.12.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -4570,7 +4570,7 @@ PGHZoN9jcvvvWDLUGtJkEotMgdFpEA2XWR83H4fVFVc=
4570
4570
  This is the **final step** of the workflow and performs the actual modification.
4571
4571
  You MUST provide the exact parameter information obtained from get_functionality_details (Step 2).`,annotations:{title:"Execute Fiori Functionality",readOnlyHint:!1,destructiveHint:!0,idempotentHint:!1,openWorldHint:!0},inputSchema:P_(Zpn),outputSchema:P_(adn)}];var $ht=class{applicationKey="";extensionName="";extensionVersion="";getApplicationKey(){return this.applicationKey}getExtensionVersion(){return this.extensionVersion}getExtensionName(){return this.extensionName}};var QUo=Nr(Gin(),1);var REt=class{extensionName;eventName;constructor(e,r){this.extensionName=e,this.eventName=r}getExtensionName(){return this.extensionName}getEventName(){return this.eventName}toString(){return`${this.extensionName}/${this.eventName}`}};var xk;(function(t){t[t.OnePercent=0]="OnePercent",t[t.TenPercent=1]="TenPercent",t[t.NoSampling=2]="NoSampling"})(xk||(xk={}));process.env.OTEL_RESOURCE_ATTRIBUTES??="service.name=masked,service.instance.id=masked";function GZt(t){if(t.setUseDiskRetryCaching)try{t.setUseDiskRetryCaching(!0)}catch{}t.context.tags??={},t.context.tags["ai.location.ip"]="0.0.0.0",t.context.tags["microsoft.client.ip"]="0.0.0.0",t.context.tags["ai.cloud.roleInstance"]="masked",t.context.tags["ai.cloud.role"]="masked",t.context.tags["ai.device.type"]="masked"}var Hin={name:"@sap-ux/telemetry",version:"2.0.6",description:"Library for sending usage telemetry data",type:"module",repository:{type:"git",url:"https://github.com/SAP/open-ux-tools.git",directory:"packages/telemetry"},bugs:{url:"https://github.com/SAP/open-ux-tools/issues?q=is%3Aopen+is%3Aissue+label%3Abug+label%3Atelemetry"},license:"Apache-2.0",private:!1,main:"dist/index.js",scripts:{build:"tsc --build",watch:"tsc --watch",clean:"rimraf --glob dist coverage *.tsbuildinfo",format:"prettier --write '**/*.{js,json,ts,yaml,yml}' --ignore-path ../../.prettierignore",lint:"eslint","lint:fix":"eslint --fix",test:"cross-env NODE_OPTIONS='--experimental-vm-modules' jest --ci --forceExit --detectOpenHandles --colors","test-u":"cross-env NODE_OPTIONS='--experimental-vm-modules' jest --ci --forceExit --detectOpenHandles --colors -u",link:"pnpm link --global",unlink:"pnpm unlink --global",example:"ts-node example/index.ts"},dependencies:{"@sap-ux/store":"workspace:*","@sap-ux/project-access":"workspace:*","@sap-ux/btp-utils":"workspace:*","@sap-ux/ui5-config":"workspace:*","@sap-ux/logger":"workspace:*","@sap-ux/nodejs-utils":"workspace:*",applicationinsights:"3.16.0",axios:"1.18.1","performance-now":"2.1.0",yaml:"2.9.0"},devDependencies:{"@jest/globals":"30.4.1","jest-extended":"7.0.0",memfs:"3.4.13",unionfs:"4.6.0",dotenv:"17.4.2"},files:["dist","LICENSE","!dist/*.map","!dist/**/*.map"],engines:{node:">=22.x"}};var _C={azureInstrumentationKey:"",azureIngestionEndpoint:"https://westus2-0.in.applicationinsights.azure.com/",azureLiveEndpoint:"https://westus2.livediagnostics.monitor.azure.com/",telemetryEnabled:!0,telemetryLibName:Hin.name,telemetryLibVersion:Hin.version,consumerModuleName:"",consumerModuleVersion:""};process.env.APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL??="true";var MEt=class extends $ht{clients;constructor(e,r,n){super(),this.clients=new Map,this.applicationKey=e,this.extensionVersion=n,this.extensionName=r;let i=this.createTelemetryClient(xk.OnePercent),a=this.createTelemetryClient(xk.TenPercent),s=this.createTelemetryClient(xk.NoSampling);this.clients.set(xk.OnePercent,i),this.clients.set(xk.TenPercent,a),this.clients.set(xk.NoSampling,s)}reportBlocking(e,r,n,i,a=!1){if(!a||_C.telemetryEnabled){let{client:s,event:c}=this.prepareClientAndEvent(e,r,n,i);return this.trackEventBlocking(s,c)}return Promise.resolve()}async report(e,r,n,i,a,s){if(s!==void 0&&!s||!_C.telemetryEnabled)return;let{client:c,event:l}=this.prepareClientAndEvent(e,r,n,i);this.trackEvent(c,l)}prepareClientAndEvent(e,r,n,i=xk.NoSampling){let a=this.clients.get(i),c={name:new REt(this.extensionName,e).toString(),properties:r,measurements:n};return{client:a,event:c}}async trackEventBlocking(e,r){process.env.SAP_UX_FIORI_TOOLS_DISABLE_TELEMETRY!=="true"&&(e.trackEvent(r),await e.flush())}trackEvent(e,r){return process.env.SAP_UX_FIORI_TOOLS_DISABLE_TELEMETRY!=="true"?(e.trackEvent(r),!0):!1}createTelemetryClient(e){let r;switch(e){case xk.OnePercent:r=1;break;case xk.TenPercent:r=10;break;case xk.NoSampling:default:r=100;break}let n=new QUo.TelemetryClient(this.applicationKey);return n.config.samplingPercentage=r,GZt(n),n}};var zin=()=>{let t=new Date().getTime();return new Date(t).toISOString()};var LEt=class extends MEt{constructor(e,r,n){super(e,r,n)}async report(e,r,n,i,a,s){let c=await HZt(a),l={v:this.extensionVersion,datetime:zin()},u={...r,...c,...l};await super.report(e,u,n,i,a,s)}async reportEvent(e,r,n,i){let{finalProperties:a,finalMeasurements:s}=await this.collectToolsSuiteTelemetry(e,n);return super.report(e.eventName,a,s,r,n,i)}async reportEventBlocking(e,r,n,i){let{finalProperties:a,finalMeasurements:s}=await this.collectToolsSuiteTelemetry(e,n);return super.reportBlocking(e.eventName,a,s,r,i)}async collectToolsSuiteTelemetry(e,r){let n=await HZt(r),i={v:this.extensionVersion,datetime:zin()},a={...e.properties,...n,...i},s={...e.measurements};return{finalProperties:a,finalMeasurements:s}}};var ZUo=Nr(BA(),1),ejo=Nr(P9e(),1);import RJ from"node:fs";import Ple from"node:path";var zZt={internalFeature:!1};var kEt;(function(t){t.UNKNOWN="UNKNOWN",t.NO_TOOLS_ID="NO_TOOLS_ID"})(kEt||(kEt={}));var gne;(function(t){t.CAPJava="CAPJava",t.CAPNode="CAPNode",t.ABAP="ABAP",t.UNKNOWN="UNKNOWN"})(gne||(gne={}));var cMe;(function(t){t.CF="CF",t.ABAP="ABAP",t.UNKNOWN_DEPLOY_CONFIG="UNKNOWN_DEPLOY_CONFIG",t.NO_DEPLOY_CONFIG="NO_DEPLOY_CONFIG"})(cMe||(cMe={}));var vC;(function(t){t.DevSpace="cmn.devspace",t.AppStudio="cmn.appstudio",t.AppStudioBackwardCompatible="appstudio",t.InternlVsExternal="cmn.internalFeatures",t.InternlVsExternalBackwardCompatible="internalVsExternal",t.TemplateType="cmn.template",t.DeployTargetType="cmn.deployTarget",t.ODataSourceType="cmn.odataSource",t.AppToolsId="cmn.toolsId",t.NodeVersion="cmn.nodeVersion",t.AppProgrammingLanguage="cmn.appLanguage",t.TemplateId="cmn.templateId",t.TemplateVersion="cmn.templateVersion",t.ApplicationType="cmn.applicationType",t.IdeType="cmn.ideType"})(vC||(vC={}));async function HZt(t){let e=await Yin(),r={};return t&&(r=await Lsl(t.appPath)),{...e,...r}}async function Yin(){let t={};return t[vC.DevSpace]=await Msl(),t[vC.AppStudio]=zC(),t[vC.AppStudioBackwardCompatible]=t[vC.AppStudio],t[vC.InternlVsExternal]=Usl(),t[vC.InternlVsExternalBackwardCompatible]=t[vC.InternlVsExternal],t[vC.NodeVersion]=await Bsl(),t[vC.IdeType]=Win(),t}async function Msl(){if(zC())try{if(!process.env.H2O_URL||!process.env.WORKSPACE_ID)return"";let t=process.env.H2O_URL,e=process.env.WORKSPACE_ID.replace("workspaces-",""),r=`${t}/ws-manager/api/v1/workspace/${e}`,n=await ZUo.default.get(r);if(n.data)return n.data?.config?.annotations?.pack}catch{}return""}async function Lsl(t){if(!t)return{};let e=await ksl(t),r=await Vsl(t),n=await NJe(t),i=await $sl(t);n==="Fiori Reuse"&&(i=gne.UNKNOWN);let a=await jsl(t),s=await Sxt(t),c={};return c[vC.TemplateType]=e,c[vC.DeployTargetType]=r,c[vC.ODataSourceType]=i,c[vC.AppToolsId]=a.toolsId??"",c[vC.AppProgrammingLanguage]=s,c[vC.TemplateId]=a.id??"",c[vC.TemplateVersion]=a.version??"",c[vC.ApplicationType]=n??"",c}async function ksl(t){let e=Ple.join(t,"README.md"),r=Ple.join(t,".appGenInfo.json");if(RJ.existsSync(r)){let n=await RJ.promises.readFile(r,"utf-8"),i=JSON.parse(n);if(i?.generationParameters?.template)return i.generationParameters.template.trim()}if(RJ.existsSync(e)){let n=await RJ.promises.readFile(e,"utf-8");if(n){let i="",a=n.split(/\r?\n/);for(let s of a){let l=/\|\*\*Template Used\*\*<br>(.*?)\|/.exec(s);if(l&&l.length>=2){i=l[1].trim();break}}return i}}return""}async function $sl(t){try{let e;try{e=await Aie(t)}catch{}if(!e)try{let i=Ple.dirname(t);e=await Aie(i,!1)}catch{}let r=!1;if(!e){let i=Ple.dirname(t),a=Ple.dirname(i);r=await E7e(a),e=r?a:t}if(r)return gne.CAPJava;let n=await kVe(e);return Fsl(n)}catch{return gne.UNKNOWN}}function Fsl(t){return t==="EDMXBackend"?gne.ABAP:t==="CAPNodejs"?gne.CAPNode:t==="CAPJava"?gne.CAPJava:gne.UNKNOWN}async function Vsl(t){let e=cMe.NO_DEPLOY_CONFIG,r=Ple.join(t,"ui5-deploy.yaml");try{await RJ.promises.access(r);let n=await RJ.promises.readFile(r,"utf-8"),a=ejo.default.parse(n)?.builder?.customTasks;a?e=a.some(c=>c.name==="deploy-to-abap")?cMe.ABAP:cMe.CF:e=cMe.UNKNOWN_DEPLOY_CONFIG}catch{}return e}function Usl(){return zZt.internalFeature?"internal":"external"}async function jsl(t){let e=await jC(t),r={manifest:Ple.join(e,"manifest.json"),appdescr:Ple.join(e,"manifest.appdescr_variant"),ui5Yaml:Ple.join(t,"ui5.yaml")};try{if(RJ.existsSync(r.manifest)){let n=await RJ.promises.readFile(r.manifest,"utf-8"),i=JSON.parse(n);return Kin(i["sap.app"]?.sourceTemplate??{})}if(RJ.existsSync(r.appdescr)&&RJ.existsSync(r.ui5Yaml)){let n=await RJ.promises.readFile(r.ui5Yaml,"utf-8"),a=(await pX.newInstance(n)).getCustomConfiguration("adp");return Kin(a?.support??{})}}catch{}return Kin({})}function Kin(t){return{id:t.id??"",version:t.version??"",toolsId:t.toolsId??kEt.NO_TOOLS_ID}}async function Bsl(){try{return(await new YVe().run("node",["-v"])??"unknown").replaceAll(/(?:^v)|([\r\n]{1,100})/g,"")}catch{return"unknown"}}function Win(){if(zC())return"appstudio";let t=process.env.VSCODE_CWD?.toLowerCase()??"",e=process.env.VSCODE_PID,r=process.env.TERM_PROGRAM??"",n=process.env.VSCODE_APPNAME?.toLowerCase()??"";return!e&&!t&&r!=="vscode"&&r!=="vscode-insiders"?"unknown":process.env.CURSOR_TRACE_ID||n.includes("cursor")||t.includes("cursor")?"cursor":n.includes("windsurf")||t.includes("windsurf")||t.includes("codeium")?"windsurf":n.includes("antigravity")||t.includes("antigravity")?"antigravity":n.includes("trae")||t.includes("trae")?"trae":n.includes("kiro")||t.includes("kiro")?"kiro":n.includes("vscodium")||n.includes("codium")||t.includes("vscodium")||t.includes("codium")?"vscodium":n.includes("code-server")||t.includes("code-server")||process.env.CODE_SERVER_SESSION?"code-server":n.includes("insiders")||t.includes("code - insiders")||t.includes("code insiders")||t.includes("vscode-insiders")||r==="vscode-insiders"?"vscode-insiders":e||r==="vscode"?"vscode":"unknown"}var tjo=Nr(Gin(),1);var QYe;(function(t){t.Test="test",t.TELEMETRY_SETTINGS_INIT_FAILED="TELEMETRY_SETTINGS_INIT_FAILED",t.DISABLE_TELEMETRY="DISABLE_TELEMETRY"})(QYe||(QYe={}));var qsl=t=>{let e=[/sap-ux.+/gi,/[-a-zA-Z]+\/ide-extension\/.+/gi,/(\/telemetry\/.+)/gi],r=[],n=t.split(`
4572
4572
  `).filter(i=>!!/^\s*at .*(\S+:\d+|\(native\))/m.exec(i));return n.length&&n.forEach(i=>{let a=i.replace(/^\s+/,""),c=/ (\((.+):(\d+):(\d+)\)$)/.exec(i);if(!c)return;let l=null,u=c[2].replace(/\\/g,"/");for(let m of e){let g=m.exec(u);if(g){l=g[0];break}}if(!l)return;a=a.replace(c[0],"");let p=a.split(/\s+/).slice(1).join(""),d=c[3],f=c[4],h=`${p} at (${l}:${d}:${f});`;r.push(h)}),r},KZt,rjo=()=>(KZt||(KZt=new tjo.TelemetryClient(_C.azureInstrumentationKey),GZt(KZt)),KZt),njo=t=>{let e={message:t.message};if(t.stack){let n=qsl(t.stack);n.length&&(e.stack=n.join(`
4573
- `))}let r={name:QYe.TELEMETRY_SETTINGS_INIT_FAILED,properties:e,measurements:{}};process.env.SAP_UX_FIORI_TOOLS_DISABLE_TELEMETRY!=="true"&&rjo().trackEvent(r)},ijo=(t,e)=>{let r={name:QYe.DISABLE_TELEMETRY,properties:{disableTelemetry:`${!t}`,...e},measurements:{}};process.env.SAP_UX_FIORI_TOOLS_DISABLE_TELEMETRY!=="true"&&rjo().trackEvent(r)};import Gsl from"node:os";import Hsl from"node:path";import zsl from"node:fs";var Ksl={win32:"\\AppData\\Roaming\\Code\\User\\settings.json",darwin:"/Library/Application Support/Code/User/settings.json",linux:"/.config/Code/User/settings.json",theia:"/.theia/settings.json"},Ysl=["sap.ux.annotation.lsp.enableTelemetry","sap.ux.applicationModeler.enableTelemetry","sap.ux.help.enableTelemetry","sap.ux.serviceModeler.enableTelemetry"],Wsl=t=>{let e=process.platform,r=t[e];if(zC()&&(r=t.theia),!r)return null;let n=Gsl.homedir();return Hsl.join(n,r)};async function Xsl(t){let e;try{e=await t.read(new yTe)}catch{}if(e)_C.telemetryEnabled=e.enableTelemetry;else{let r=Wsl(Ksl);if(!r)await YZt(!0);else{let n;try{n=await zsl.promises.readFile(r,"utf-8");let i=JSON.parse(n),s=Ysl.map(c=>i[c]??!0).reduce((c,l)=>c&&l,!0);await YZt(s)}catch{await YZt(!0)}}}}function Jsl(t){iGt(HIe.TelemetrySetting,()=>{t.read(new yTe).then(e=>{e&&(_C.telemetryEnabled=e.enableTelemetry)}).catch(()=>{})})}var Xin=async t=>{try{_C.consumerModuleName=t.consumerModule.name,_C.consumerModuleVersion=t.consumerModule.version,zZt.internalFeature=t.internalFeature??!1,t.resourceId&&(_C.azureInstrumentationKey=t.resourceId),t.ingestionEndpoint&&(_C.azureIngestionEndpoint=t.ingestionEndpoint),t.liveEndpoint&&(_C.azureLiveEndpoint=t.liveEndpoint);let e=await wHe({entityName:"telemetrySetting"});await Xsl(e),t.watchTelemetrySettingStore&&Jsl(e)}catch(e){njo(e)}};async function YZt(t){try{let r=await wHe({entityName:"telemetrySetting"}),n=new Iht({enableTelemetry:t});await r.write(n),_C.telemetryEnabled=t}catch{}let e=await Yin();ijo(t,e)}var Qsl="ApplicationInsightsInstrumentationKeyPLACEH0LDER",a9=class t{static clientMap=new Map;static getTelemetryClient(){return t.getTelemetryClientByClass(LEt)}static getTelemetryClientByClass(e){let r=t.clientMap.get(e.name);if(r)return r;let n=t.buildConnectionString(_C.azureInstrumentationKey);return r=new e(n,_C.consumerModuleName,_C.consumerModuleVersion),t.clientMap.set(e.name,r),r}static buildConnectionString(e){return e?`InstrumentationKey=${e===Qsl?"00000000-0000-0000-0000-000000000000":e};IngestionEndpoint=${_C.azureIngestionEndpoint};LiveEndpoint=${_C.azureLiveEndpoint};`:""}};var s9;(function(t){t.START_MARK="START_MARK",t.END_MARK="END_MARK",t.MEASUREMENT="MEASUREMENT"})(s9||(s9={}));var WZt=class{static initTiming;static enteries;static initialize;static startMark;static endMark;static measure;static getEntries;static getEntriesByName;static getEntriesByType;static getEntriesByNameType;static getMeasurementDuration;static clearEntries};var $Et=class{startTime;name;type;getStartTime(){return this.startTime}constructor(e,r,n){this.startTime=n,this.name=e,this.startTime=n,this.type=r}},XZt=class extends $Et{startTime;duration;constructor(e,r,n){super(e,s9.MEASUREMENT,r),this.startTime=r,this.duration=n,this.duration=n}getDurationTime(){return this.duration}};import{performance as Zsl}from"node:perf_hooks";var ecl=()=>Zsl.now(),uI=class t extends WZt{static initTiming;static now=ecl;static entries=[];static initialize(){t.initTiming=t.now()}static mark(e,r,n){let i=new $Et(e,r,n);t.entries.push(i)}static startMark(e){let r=t.now(),n=e+r;return t.mark(n,s9.START_MARK,r),n}static endMark(e){let r=t.now();t.mark(e,s9.END_MARK,r)}static measure(e){let r=t.getEntriesByNameType(e,s9.START_MARK).slice(-1)[0],n=t.getEntriesByNameType(e,s9.END_MARK).slice(-1)[0];if(!r&&!n)throw new Error(`Failed to execute 'measure': mark '${e}' doesn't exist.`);if(!r||!n){let l=r?s9.END_MARK:s9.START_MARK;throw new Error(`Failed to execute 'measure': mark '${e}'of type '${l}' doesn't exist.`)}let i=r.getStartTime(),s=n.getStartTime()-i,c=new XZt(`${e}`,t.now(),s);t.entries.push(c)}static getEntries(){return t.entries}static getEntriesByName(e){return t.entries.filter(r=>r.name===e)}static getEntriesByNameType(e,r){return t.entries.filter(n=>n.name===e&&n.type===r)}static getEntriesByType(e){return t.entries.filter(r=>r.type===e)}static getMeasurementDuration(e){return t.getEntriesByNameType(e,s9.MEASUREMENT).slice(-1)[0].getDurationTime()}static clearEntries(){t.entries=[]}};uI.initialize();var tcl=(t,e)=>new Error(`Wrong path for '${t}' field is specified in instructions with index - ${e}`),rcl=(t,e,r,n)=>{let i=e.split("/"),a=t,s=0;for(;s<i.length;){if(a=a[i[s]],a===void 0)throw tcl(r,n);s++}return a},ojo=(t,e)=>{let r={},n={},i=null;e.paramIndex!==void 0&&(i=t[e.paramIndex]);let a=e.key?e.key:"data",s="";return typeof e.value=="string"?s=e.value:e.value!==void 0&&e.paramIndex!==void 0?s=rcl(i,e.value.path,"val",e.paramIndex):s=i,typeof s=="number"&&!Number.isNaN(s)?n[a]=s:r[a]=s,[r,n]},Jin=(t,e)=>{let r,n,i={},a={};if(Array.isArray(e))for(let s of e)[r,n]=ojo(t,s),i={...i,...r},a={...a,...n};else[i,a]=ojo(t,e);return[i,a]};var ajo=(t,e,r,n)=>(...i)=>{let a=e.apply(t,i);return a9.getTelemetryClient().report(r,{},{},n),a},sjo=(t,e,r,n)=>async(...i)=>{let a=await e.apply(t,i);return a9.getTelemetryClient().report(r,{},{},n),a},cjo=(t,e,r,n)=>(...i)=>{let a=uI.startMark("mark"),s=e.apply(t,i);uI.endMark(a),uI.measure(a);let c=uI.getMeasurementDuration(a);return a9.getTelemetryClient().report(r,{},{ms:c},n),s},ljo=(t,e,r,n)=>async(...i)=>{let a=uI.startMark("mark"),s=await e.apply(t,i);uI.endMark(a),uI.measure(a);let c=uI.getMeasurementDuration(a);return a9.getTelemetryClient().report(r,{},{ms:c},n),s},ujo=(t,e,r,n,i)=>(...a)=>{let s=e.apply(t,a),[c,l]=Jin(a,i);return a9.getTelemetryClient().report(r,c,l,n),s},pjo=(t,e,r,n,i)=>async(...a)=>{let s=await e.apply(t,a),[c,l]=Jin(a,i);return a9.getTelemetryClient().report(r,c,l,n),s};var Nle;(function(t){t.NOTIFICATION="notify",t.DURATION="duration",t.CAPTURE_PARAM="captureParam"})(Nle||(Nle={}));var JZt=new Map;JZt.set(Nle.NOTIFICATION,ajo);JZt.set(Nle.DURATION,cjo);JZt.set(Nle.CAPTURE_PARAM,ujo);var QZt=new Map;QZt.set(Nle.NOTIFICATION,sjo);QZt.set(Nle.DURATION,ljo);QZt.set(Nle.CAPTURE_PARAM,pjo);var Qin={AnnotationModeler:"sap.ux.annotationModeler",AppGenerator:"sap.ux.appGenerator",ApplicationModeler:"sap.ux.applicationModeler",Help:"sap.ux.help",ServiceModeler:"sap.ux.serviceModeler",Internal:"sap.ux.internal"},Zin={"sap.ux.help.testBetaFeatures.enableAppStudioGDContribution":"c8c52f0b-0d7d-4697-997a-d6f29814f42e","sap.ux.help.testBetaFeatures.showTestGuides":"fbb03f42-0a86-4fd5-9fc4-8c9b38a4d1a3","sap.ux.help.testBetaFeatures.enableFioriAI":"165a0e31-35ea-4bee-8d47-b8593435a82d","sap.ux.help.testBetaFeatures.enableFioriAIJoule":"165a0e31-35ea-4bee-8d47-b8593435a82e","sap.ux.help.testBetaFeatures.enableFioriAIVsCode":"165a0e31-35ea-4bee-8d47-b8593435a82f","sap.ux.help.testBetaFeatures.enableFioriAIAppModeler":"165a0e31-35ea-4bee-8d47-b8593435a82g","sap.ux.help.testBetaFeatures.enableFioriAIRapGeneration":"165a0e31-35ea-4bee-8d47-b8593435a82h","sap.ux.applicationModeler.testBetaFeatures.manifestEditor":!0,"sap.ux.appGenerator.testBetaFeatures.newAnnotationAPI":!0},ZZt="testBetaFeatures",eon="sap.ux.applicationModeler.enableExperimentalFeatures";import{createRequire as icl}from"node:module";var ocl=icl(import.meta.url);function djo(){try{return ocl("vscode")}catch{return}}var acl=djo(),eer=class t{static get vscode(){return acl}static getFeatureToggle(e){let r,n=t.vscode;if((e.includes(ZZt)||e===eon)&&n){let a=e.slice(0,e.lastIndexOf(".")),s=e.slice(e.lastIndexOf(".")+1,e.length);r=n.workspace.getConfiguration(a)?.get(s)}else r=!1;return process.env.TOOLSUITE_FEATURES&&(r=process.env.TOOLSUITE_FEATURES.split(",").includes(e)?!0:r),Zin[e]&&(Zin[e]===r?r=!0:r=!1),{feature:e,isEnabled:r===!0?r:!1}}static getAllFeatureToggles(){let e=[],r=t.vscode;if(r)Object.keys(Qin).forEach(n=>{let i=`${Qin[n]}.${ZZt}`,a,s=[];try{a=r.workspace.getConfiguration(i),s=Object.keys(a).filter(c=>typeof a?.[c]!="function")}catch{}a&&s.forEach(c=>{let l=a.get(c),u={feature:`${i}.${c}`,isEnabled:l||!1};e.push(u)})});else if(process.env.TOOLSUITE_FEATURES){let n=process.env.TOOLSUITE_FEATURES.split(",");for(let i of n){let a={feature:i,isEnabled:!0};e.push(a)}}return e}};function ton(){let t="sap.ux.internal.enableInternalFeatures",e=!1,r=eer.vscode;return r&&(e=(r.workspace?r.workspace.getConfiguration().get(t):!1)??!1),process.env.TOOLSUITE_INTERNAL&&process.env.TOOLSUITE_INTERNAL==="true"&&(e=!0),e}var x2o=Nr(A2o(),1);import{randomUUID as qll}from"node:crypto";var Vll=["@sap-ux","fiori-mcp-server"].join("/");var Ull="1.12.6",O2o={name:Vll,version:Ull};var C2o={telemetry:{unknownOs:"Unknown"}};var fon="fiori-mcp-server",P2o=Iy.createInstance();async function Bll(){await P2o.init({resources:{en:{[fon]:C2o}},lng:"en",fallbackLng:"en",defaultNS:fon,ns:[fon]})}function N2o(t,e){return P2o.t(t,e)}Bll().catch(()=>{});var{version:Gll}=O2o,w2o="@sap-ux/fiori-mcp-server",I2o="unknown-tool",Hll="0a65e45d-6bf4-421d-b845-61e888c50e9e",yne=class{static _telemetryData;static _previousEventTimestamp;static _sessionId;static get telemetryData(){return this._telemetryData}static get sessionId(){return this._sessionId}static initSessionId(){this._sessionId=qll(),$i.info(`Telemetry session initialized with ID: ${this._sessionId}`)}static async initTelemetrySettings(e){this._sessionId||this.initSessionId();let r={consumerModule:{name:w2o,version:Gll},watchTelemetrySettingStore:!1,internalFeature:ton(),resourceId:Hll,...e};try{await Xin(r)}catch(n){$i.error(`Error initializing telemetry settings: ${n}`)}}static createTelemetryData(e,r=!1){let n=new Date().getTime();if(this._previousEventTimestamp||(r=!1,this._previousEventTimestamp=n),!this._telemetryData){let i=N2o("telemetry.unknownOs");try{i=(0,x2o.default)()}catch{}this._telemetryData={Platform:zC()?"SBAS":"VSCode",OperatingSystem:i,SessionId:this.sessionId}}if(r){let i={...this._telemetryData,...e};if(Math.abs(this._previousEventTimestamp-n)<1e3&&JSON.stringify(i)===JSON.stringify(this._telemetryData))return}return this._previousEventTimestamp=n,this._telemetryData=Object.assign(this._telemetryData,e),this._telemetryData}static prepareTelemetryEvent(e,r){this.markToolsEndTime();let n=r.markName?uI.getMeasurementDuration(r.markName):void 0;return{eventName:e,properties:r,measurements:n?{RequestTime:n}:{}}}static markToolStartTime(){this.createTelemetryData({markName:uI.startMark("MCP_LOADING_TIME")})}static markToolsEndTime(){this._telemetryData?.markName&&(uI.endMark(this._telemetryData.markName),uI.measure(this._telemetryData.markName))}static async sendTelemetry(e,r,n){let i=this.createTelemetryData(r)??r,a=this.prepareTelemetryEvent(e,i);await a9.getTelemetryClient().reportEvent(a,xk.NoSampling,n?{appPath:n}:void 0)}static getTelemetryName(){return w2o}};var D2o="2024-11-05";function zll(t){return _Ce.includes(t)?t:_Ce.includes(D2o)?D2o:_Ce[_Ce.length-1]}var yer=class{server;mcpClientName="unknown-client";mcpClientVersion="unknown-version";constructor(){this.server=new gCt({name:"fiori-mcp",version:u$e,icons:[{src:"https://raw.githubusercontent.com/SAP/open-ux-tools/main/packages/fiori-mcp-server/assets/icon.svg",mimeType:"image/svg+xml"},{src:"https://raw.githubusercontent.com/SAP/open-ux-tools/main/packages/fiori-mcp-server/assets/icon.png",mimeType:"image/png"}],title:"MCP Server for SAP Fiori"},{capabilities:{tools:{}}}),this.setupToolHandlers(),this.setupErrorHandling()}setupErrorHandling(){this.server.onerror=e=>$i.error(`[MCP Error] ${e}`),process.on("SIGINT",async()=>{await this.server.close(),process.exit(0)})}async setupTelemetry(){await yne.initTelemetrySettings()}setupToolHandlers(){this.server.setRequestHandler(n8e,async e=>{this.mcpClientName=e.params.clientInfo?.name||"unknown-client",this.mcpClientVersion=e.params.clientInfo?.version||"unknown-version",$i.info(`MCP Client connected: ${this.mcpClientName} v${this.mcpClientVersion}`);let r={mcpClientName:this.mcpClientName,mcpClientVersion:this.mcpClientVersion};return await yne.sendTelemetry(K4n,r),{protocolVersion:zll(e.params.protocolVersion),capabilities:{tools:{}},serverInfo:{name:"fiori-mcp",version:u$e},instructions:`
4573
+ `))}let r={name:QYe.TELEMETRY_SETTINGS_INIT_FAILED,properties:e,measurements:{}};process.env.SAP_UX_FIORI_TOOLS_DISABLE_TELEMETRY!=="true"&&rjo().trackEvent(r)},ijo=(t,e)=>{let r={name:QYe.DISABLE_TELEMETRY,properties:{disableTelemetry:`${!t}`,...e},measurements:{}};process.env.SAP_UX_FIORI_TOOLS_DISABLE_TELEMETRY!=="true"&&rjo().trackEvent(r)};import Gsl from"node:os";import Hsl from"node:path";import zsl from"node:fs";var Ksl={win32:"\\AppData\\Roaming\\Code\\User\\settings.json",darwin:"/Library/Application Support/Code/User/settings.json",linux:"/.config/Code/User/settings.json",theia:"/.theia/settings.json"},Ysl=["sap.ux.annotation.lsp.enableTelemetry","sap.ux.applicationModeler.enableTelemetry","sap.ux.help.enableTelemetry","sap.ux.serviceModeler.enableTelemetry"],Wsl=t=>{let e=process.platform,r=t[e];if(zC()&&(r=t.theia),!r)return null;let n=Gsl.homedir();return Hsl.join(n,r)};async function Xsl(t){let e;try{e=await t.read(new yTe)}catch{}if(e)_C.telemetryEnabled=e.enableTelemetry;else{let r=Wsl(Ksl);if(!r)await YZt(!0);else{let n;try{n=await zsl.promises.readFile(r,"utf-8");let i=JSON.parse(n),s=Ysl.map(c=>i[c]??!0).reduce((c,l)=>c&&l,!0);await YZt(s)}catch{await YZt(!0)}}}}function Jsl(t){iGt(HIe.TelemetrySetting,()=>{t.read(new yTe).then(e=>{e&&(_C.telemetryEnabled=e.enableTelemetry)}).catch(()=>{})})}var Xin=async t=>{try{_C.consumerModuleName=t.consumerModule.name,_C.consumerModuleVersion=t.consumerModule.version,zZt.internalFeature=t.internalFeature??!1,t.resourceId&&(_C.azureInstrumentationKey=t.resourceId),t.ingestionEndpoint&&(_C.azureIngestionEndpoint=t.ingestionEndpoint),t.liveEndpoint&&(_C.azureLiveEndpoint=t.liveEndpoint);let e=await wHe({entityName:"telemetrySetting"});await Xsl(e),t.watchTelemetrySettingStore&&Jsl(e)}catch(e){njo(e)}};async function YZt(t){try{let r=await wHe({entityName:"telemetrySetting"}),n=new Iht({enableTelemetry:t});await r.write(n),_C.telemetryEnabled=t}catch{}let e=await Yin();ijo(t,e)}var Qsl="ApplicationInsightsInstrumentationKeyPLACEH0LDER",a9=class t{static clientMap=new Map;static getTelemetryClient(){return t.getTelemetryClientByClass(LEt)}static getTelemetryClientByClass(e){let r=t.clientMap.get(e.name);if(r)return r;let n=t.buildConnectionString(_C.azureInstrumentationKey);return r=new e(n,_C.consumerModuleName,_C.consumerModuleVersion),t.clientMap.set(e.name,r),r}static buildConnectionString(e){return e?`InstrumentationKey=${e===Qsl?"00000000-0000-0000-0000-000000000000":e};IngestionEndpoint=${_C.azureIngestionEndpoint};LiveEndpoint=${_C.azureLiveEndpoint};`:""}};var s9;(function(t){t.START_MARK="START_MARK",t.END_MARK="END_MARK",t.MEASUREMENT="MEASUREMENT"})(s9||(s9={}));var WZt=class{static initTiming;static enteries;static initialize;static startMark;static endMark;static measure;static getEntries;static getEntriesByName;static getEntriesByType;static getEntriesByNameType;static getMeasurementDuration;static clearEntries};var $Et=class{startTime;name;type;getStartTime(){return this.startTime}constructor(e,r,n){this.startTime=n,this.name=e,this.startTime=n,this.type=r}},XZt=class extends $Et{startTime;duration;constructor(e,r,n){super(e,s9.MEASUREMENT,r),this.startTime=r,this.duration=n,this.duration=n}getDurationTime(){return this.duration}};import{performance as Zsl}from"node:perf_hooks";var ecl=()=>Zsl.now(),uI=class t extends WZt{static initTiming;static now=ecl;static entries=[];static initialize(){t.initTiming=t.now()}static mark(e,r,n){let i=new $Et(e,r,n);t.entries.push(i)}static startMark(e){let r=t.now(),n=e+r;return t.mark(n,s9.START_MARK,r),n}static endMark(e){let r=t.now();t.mark(e,s9.END_MARK,r)}static measure(e){let r=t.getEntriesByNameType(e,s9.START_MARK).slice(-1)[0],n=t.getEntriesByNameType(e,s9.END_MARK).slice(-1)[0];if(!r&&!n)throw new Error(`Failed to execute 'measure': mark '${e}' doesn't exist.`);if(!r||!n){let l=r?s9.END_MARK:s9.START_MARK;throw new Error(`Failed to execute 'measure': mark '${e}'of type '${l}' doesn't exist.`)}let i=r.getStartTime(),s=n.getStartTime()-i,c=new XZt(`${e}`,t.now(),s);t.entries.push(c)}static getEntries(){return t.entries}static getEntriesByName(e){return t.entries.filter(r=>r.name===e)}static getEntriesByNameType(e,r){return t.entries.filter(n=>n.name===e&&n.type===r)}static getEntriesByType(e){return t.entries.filter(r=>r.type===e)}static getMeasurementDuration(e){return t.getEntriesByNameType(e,s9.MEASUREMENT).slice(-1)[0].getDurationTime()}static clearEntries(){t.entries=[]}};uI.initialize();var tcl=(t,e)=>new Error(`Wrong path for '${t}' field is specified in instructions with index - ${e}`),rcl=(t,e,r,n)=>{let i=e.split("/"),a=t,s=0;for(;s<i.length;){if(a=a[i[s]],a===void 0)throw tcl(r,n);s++}return a},ojo=(t,e)=>{let r={},n={},i=null;e.paramIndex!==void 0&&(i=t[e.paramIndex]);let a=e.key?e.key:"data",s="";return typeof e.value=="string"?s=e.value:e.value!==void 0&&e.paramIndex!==void 0?s=rcl(i,e.value.path,"val",e.paramIndex):s=i,typeof s=="number"&&!Number.isNaN(s)?n[a]=s:r[a]=s,[r,n]},Jin=(t,e)=>{let r,n,i={},a={};if(Array.isArray(e))for(let s of e)[r,n]=ojo(t,s),i={...i,...r},a={...a,...n};else[i,a]=ojo(t,e);return[i,a]};var ajo=(t,e,r,n)=>(...i)=>{let a=e.apply(t,i);return a9.getTelemetryClient().report(r,{},{},n),a},sjo=(t,e,r,n)=>async(...i)=>{let a=await e.apply(t,i);return a9.getTelemetryClient().report(r,{},{},n),a},cjo=(t,e,r,n)=>(...i)=>{let a=uI.startMark("mark"),s=e.apply(t,i);uI.endMark(a),uI.measure(a);let c=uI.getMeasurementDuration(a);return a9.getTelemetryClient().report(r,{},{ms:c},n),s},ljo=(t,e,r,n)=>async(...i)=>{let a=uI.startMark("mark"),s=await e.apply(t,i);uI.endMark(a),uI.measure(a);let c=uI.getMeasurementDuration(a);return a9.getTelemetryClient().report(r,{},{ms:c},n),s},ujo=(t,e,r,n,i)=>(...a)=>{let s=e.apply(t,a),[c,l]=Jin(a,i);return a9.getTelemetryClient().report(r,c,l,n),s},pjo=(t,e,r,n,i)=>async(...a)=>{let s=await e.apply(t,a),[c,l]=Jin(a,i);return a9.getTelemetryClient().report(r,c,l,n),s};var Nle;(function(t){t.NOTIFICATION="notify",t.DURATION="duration",t.CAPTURE_PARAM="captureParam"})(Nle||(Nle={}));var JZt=new Map;JZt.set(Nle.NOTIFICATION,ajo);JZt.set(Nle.DURATION,cjo);JZt.set(Nle.CAPTURE_PARAM,ujo);var QZt=new Map;QZt.set(Nle.NOTIFICATION,sjo);QZt.set(Nle.DURATION,ljo);QZt.set(Nle.CAPTURE_PARAM,pjo);var Qin={AnnotationModeler:"sap.ux.annotationModeler",AppGenerator:"sap.ux.appGenerator",ApplicationModeler:"sap.ux.applicationModeler",Help:"sap.ux.help",ServiceModeler:"sap.ux.serviceModeler",Internal:"sap.ux.internal"},Zin={"sap.ux.help.testBetaFeatures.enableAppStudioGDContribution":"c8c52f0b-0d7d-4697-997a-d6f29814f42e","sap.ux.help.testBetaFeatures.showTestGuides":"fbb03f42-0a86-4fd5-9fc4-8c9b38a4d1a3","sap.ux.help.testBetaFeatures.enableFioriAI":"165a0e31-35ea-4bee-8d47-b8593435a82d","sap.ux.help.testBetaFeatures.enableFioriAIJoule":"165a0e31-35ea-4bee-8d47-b8593435a82e","sap.ux.help.testBetaFeatures.enableFioriAIVsCode":"165a0e31-35ea-4bee-8d47-b8593435a82f","sap.ux.help.testBetaFeatures.enableFioriAIAppModeler":"165a0e31-35ea-4bee-8d47-b8593435a82g","sap.ux.help.testBetaFeatures.enableFioriAIRapGeneration":"165a0e31-35ea-4bee-8d47-b8593435a82h","sap.ux.applicationModeler.testBetaFeatures.manifestEditor":!0,"sap.ux.appGenerator.testBetaFeatures.newAnnotationAPI":!0},ZZt="testBetaFeatures",eon="sap.ux.applicationModeler.enableExperimentalFeatures";import{createRequire as icl}from"node:module";var ocl=icl(import.meta.url);function djo(){try{return ocl("vscode")}catch{return}}var acl=djo(),eer=class t{static get vscode(){return acl}static getFeatureToggle(e){let r,n=t.vscode;if((e.includes(ZZt)||e===eon)&&n){let a=e.slice(0,e.lastIndexOf(".")),s=e.slice(e.lastIndexOf(".")+1,e.length);r=n.workspace.getConfiguration(a)?.get(s)}else r=!1;return process.env.TOOLSUITE_FEATURES&&(r=process.env.TOOLSUITE_FEATURES.split(",").includes(e)?!0:r),Zin[e]&&(Zin[e]===r?r=!0:r=!1),{feature:e,isEnabled:r===!0?r:!1}}static getAllFeatureToggles(){let e=[],r=t.vscode;if(r)Object.keys(Qin).forEach(n=>{let i=`${Qin[n]}.${ZZt}`,a,s=[];try{a=r.workspace.getConfiguration(i),s=Object.keys(a).filter(c=>typeof a?.[c]!="function")}catch{}a&&s.forEach(c=>{let l=a.get(c),u={feature:`${i}.${c}`,isEnabled:l||!1};e.push(u)})});else if(process.env.TOOLSUITE_FEATURES){let n=process.env.TOOLSUITE_FEATURES.split(",");for(let i of n){let a={feature:i,isEnabled:!0};e.push(a)}}return e}};function ton(){let t="sap.ux.internal.enableInternalFeatures",e=!1,r=eer.vscode;return r&&(e=(r.workspace?r.workspace.getConfiguration().get(t):!1)??!1),process.env.TOOLSUITE_INTERNAL&&process.env.TOOLSUITE_INTERNAL==="true"&&(e=!0),e}var x2o=Nr(A2o(),1);import{randomUUID as qll}from"node:crypto";var Vll=["@sap-ux","fiori-mcp-server"].join("/");var Ull="1.12.7",O2o={name:Vll,version:Ull};var C2o={telemetry:{unknownOs:"Unknown"}};var fon="fiori-mcp-server",P2o=Iy.createInstance();async function Bll(){await P2o.init({resources:{en:{[fon]:C2o}},lng:"en",fallbackLng:"en",defaultNS:fon,ns:[fon]})}function N2o(t,e){return P2o.t(t,e)}Bll().catch(()=>{});var{version:Gll}=O2o,w2o="@sap-ux/fiori-mcp-server",I2o="unknown-tool",Hll="0a65e45d-6bf4-421d-b845-61e888c50e9e",yne=class{static _telemetryData;static _previousEventTimestamp;static _sessionId;static get telemetryData(){return this._telemetryData}static get sessionId(){return this._sessionId}static initSessionId(){this._sessionId=qll(),$i.info(`Telemetry session initialized with ID: ${this._sessionId}`)}static async initTelemetrySettings(e){this._sessionId||this.initSessionId();let r={consumerModule:{name:w2o,version:Gll},watchTelemetrySettingStore:!1,internalFeature:ton(),resourceId:Hll,...e};try{await Xin(r)}catch(n){$i.error(`Error initializing telemetry settings: ${n}`)}}static createTelemetryData(e,r=!1){let n=new Date().getTime();if(this._previousEventTimestamp||(r=!1,this._previousEventTimestamp=n),!this._telemetryData){let i=N2o("telemetry.unknownOs");try{i=(0,x2o.default)()}catch{}this._telemetryData={Platform:zC()?"SBAS":"VSCode",OperatingSystem:i,SessionId:this.sessionId}}if(r){let i={...this._telemetryData,...e};if(Math.abs(this._previousEventTimestamp-n)<1e3&&JSON.stringify(i)===JSON.stringify(this._telemetryData))return}return this._previousEventTimestamp=n,this._telemetryData=Object.assign(this._telemetryData,e),this._telemetryData}static prepareTelemetryEvent(e,r){this.markToolsEndTime();let n=r.markName?uI.getMeasurementDuration(r.markName):void 0;return{eventName:e,properties:r,measurements:n?{RequestTime:n}:{}}}static markToolStartTime(){this.createTelemetryData({markName:uI.startMark("MCP_LOADING_TIME")})}static markToolsEndTime(){this._telemetryData?.markName&&(uI.endMark(this._telemetryData.markName),uI.measure(this._telemetryData.markName))}static async sendTelemetry(e,r,n){let i=this.createTelemetryData(r)??r,a=this.prepareTelemetryEvent(e,i);await a9.getTelemetryClient().reportEvent(a,xk.NoSampling,n?{appPath:n}:void 0)}static getTelemetryName(){return w2o}};var D2o="2024-11-05";function zll(t){return _Ce.includes(t)?t:_Ce.includes(D2o)?D2o:_Ce[_Ce.length-1]}var yer=class{server;mcpClientName="unknown-client";mcpClientVersion="unknown-version";constructor(){this.server=new gCt({name:"fiori-mcp",version:u$e,icons:[{src:"https://raw.githubusercontent.com/SAP/open-ux-tools/main/packages/fiori-mcp-server/assets/icon.svg",mimeType:"image/svg+xml"},{src:"https://raw.githubusercontent.com/SAP/open-ux-tools/main/packages/fiori-mcp-server/assets/icon.png",mimeType:"image/png"}],title:"MCP Server for SAP Fiori"},{capabilities:{tools:{}}}),this.setupToolHandlers(),this.setupErrorHandling()}setupErrorHandling(){this.server.onerror=e=>$i.error(`[MCP Error] ${e}`),process.on("SIGINT",async()=>{await this.server.close(),process.exit(0)})}async setupTelemetry(){await yne.initTelemetrySettings()}setupToolHandlers(){this.server.setRequestHandler(n8e,async e=>{this.mcpClientName=e.params.clientInfo?.name||"unknown-client",this.mcpClientVersion=e.params.clientInfo?.version||"unknown-version",$i.info(`MCP Client connected: ${this.mcpClientName} v${this.mcpClientVersion}`);let r={mcpClientName:this.mcpClientName,mcpClientVersion:this.mcpClientVersion};return await yne.sendTelemetry(K4n,r),{protocolVersion:zll(e.params.protocolVersion),capabilities:{tools:{}},serverInfo:{name:"fiori-mcp",version:u$e},instructions:`
4574
4574
  \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501
4575
4575
  \u{1F6A8}\u{1F6A8}\u{1F6A8} STOP - READ THIS BEFORE CALLING ANY TOOLS \u{1F6A8}\u{1F6A8}\u{1F6A8}
4576
4576
  \u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501\u2501
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": "1.12.6",
4
+ "version": "1.12.7",
5
5
  "mcpName": "io.github.SAP/fiori-mcp-server",
6
6
  "keywords": [
7
7
  "SAP Fiori tools",
@@ -58,17 +58,17 @@
58
58
  "ts-node": "10.9.2",
59
59
  "zod": "4.4.3",
60
60
  "@sap-ux/axios-extension": "2.1.0",
61
- "@sap-ux/btp-utils": "2.0.6",
62
- "@sap-ux/feature-toggle": "1.0.5",
63
61
  "@sap-ux/fiori-annotation-api": "1.0.28",
64
62
  "@sap-ux/fiori-docs-embeddings": "1.2.7",
63
+ "@sap-ux/feature-toggle": "1.0.5",
64
+ "@sap-ux/btp-utils": "2.0.6",
65
65
  "@sap-ux/i18n": "1.0.3",
66
- "@sap-ux/logger": "1.0.3",
67
66
  "@sap-ux/nodejs-utils": "1.0.10",
68
- "@sap-ux/odata-annotation-core": "1.0.2",
69
- "@sap-ux/odata-annotation-core-types": "1.0.2",
70
67
  "@sap-ux/odata-service-writer": "1.0.22",
68
+ "@sap-ux/odata-annotation-core-types": "1.0.2",
69
+ "@sap-ux/odata-annotation-core": "1.0.2",
71
70
  "@sap-ux/odata-entity-model": "1.0.1",
71
+ "@sap-ux/logger": "1.0.3",
72
72
  "@sap-ux/project-access": "2.2.0",
73
73
  "@sap-ux/store": "2.0.7",
74
74
  "@sap-ux/telemetry": "2.0.6",