@sap-ux/fiori-mcp-server 1.12.2 → 1.12.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.
package/dist/index.js
CHANGED
|
@@ -4569,7 +4569,7 @@ PGHZoN9jcvvvWDLUGtJkEotMgdFpEA2XWR83H4fVFVc=
|
|
|
4569
4569
|
This is the **final step** of the workflow and performs the actual modification.
|
|
4570
4570
|
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 WUo=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 qZt(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.5",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 yC={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||yC.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||!yC.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 WUo.TelemetryClient(this.applicationKey);return n.config.samplingPercentage=r,qZt(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 GZt(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 GZt(r),i={v:this.extensionVersion,datetime:zin()},a={...e.properties,...n,...i},s={...e.measurements};return{finalProperties:a,finalMeasurements:s}}};var XUo=Nr(GC(),1),JUo=Nr(C9e(),1);import RJ from"node:fs";import Cle from"node:path";var HZt={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 _C;(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"})(_C||(_C={}));async function GZt(t){let e=await Yin(),r={};return t&&(r=await Dsl(t.appPath)),{...e,...r}}async function Yin(){let t={};return t[_C.DevSpace]=await Isl(),t[_C.AppStudio]=zC(),t[_C.AppStudioBackwardCompatible]=t[_C.AppStudio],t[_C.InternlVsExternal]=$sl(),t[_C.InternlVsExternalBackwardCompatible]=t[_C.InternlVsExternal],t[_C.NodeVersion]=await Vsl(),t[_C.IdeType]=Win(),t}async function Isl(){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 XUo.default.get(r);if(n.data)return n.data?.config?.annotations?.pack}catch{}return""}async function Dsl(t){if(!t)return{};let e=await Rsl(t),r=await ksl(t),n=await PJe(t),i=await Msl(t);n==="Fiori Reuse"&&(i=gne.UNKNOWN);let a=await Fsl(t),s=await Sxt(t),c={};return c[_C.TemplateType]=e,c[_C.DeployTargetType]=r,c[_C.ODataSourceType]=i,c[_C.AppToolsId]=a.toolsId??"",c[_C.AppProgrammingLanguage]=s,c[_C.TemplateId]=a.id??"",c[_C.TemplateVersion]=a.version??"",c[_C.ApplicationType]=n??"",c}async function Rsl(t){let e=Cle.join(t,"README.md"),r=Cle.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 Msl(t){try{let e;try{e=await Aie(t)}catch{}if(!e)try{let i=Cle.dirname(t);e=await Aie(i,!1)}catch{}let r=!1;if(!e){let i=Cle.dirname(t),a=Cle.dirname(i);r=await v7e(a),e=r?a:t}if(r)return gne.CAPJava;let n=await kVe(e);return Lsl(n)}catch{return gne.UNKNOWN}}function Lsl(t){return t==="EDMXBackend"?gne.ABAP:t==="CAPNodejs"?gne.CAPNode:t==="CAPJava"?gne.CAPJava:gne.UNKNOWN}async function ksl(t){let e=cMe.NO_DEPLOY_CONFIG,r=Cle.join(t,"ui5-deploy.yaml");try{await RJ.promises.access(r);let n=await RJ.promises.readFile(r,"utf-8"),a=JUo.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 $sl(){return HZt.internalFeature?"internal":"external"}async function Fsl(t){let e=await VC(t),r={manifest:Cle.join(e,"manifest.json"),appdescr:Cle.join(e,"manifest.appdescr_variant"),ui5Yaml:Cle.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 Vsl(){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 QUo=Nr(Gin(),1);var JYe;(function(t){t.Test="test",t.TELEMETRY_SETTINGS_INIT_FAILED="TELEMETRY_SETTINGS_INIT_FAILED",t.DISABLE_TELEMETRY="DISABLE_TELEMETRY"})(JYe||(JYe={}));var Usl=t=>{let e=[/sap-ux.+/gi,/[-a-zA-Z]+\/ide-extension\/.+/gi,/(\/telemetry\/.+)/gi],r=[],n=t.split(`
|
|
4571
4571
|
`).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},zZt,ZUo=()=>(zZt||(zZt=new QUo.TelemetryClient(yC.azureInstrumentationKey),qZt(zZt)),zZt),ejo=t=>{let e={message:t.message};if(t.stack){let n=Usl(t.stack);n.length&&(e.stack=n.join(`
|
|
4572
|
-
`))}let r={name:JYe.TELEMETRY_SETTINGS_INIT_FAILED,properties:e,measurements:{}};process.env.SAP_UX_FIORI_TOOLS_DISABLE_TELEMETRY!=="true"&&ZUo().trackEvent(r)},tjo=(t,e)=>{let r={name:JYe.DISABLE_TELEMETRY,properties:{disableTelemetry:`${!t}`,...e},measurements:{}};process.env.SAP_UX_FIORI_TOOLS_DISABLE_TELEMETRY!=="true"&&ZUo().trackEvent(r)};import jsl from"node:os";import Bsl from"node:path";import qsl from"node:fs";var Gsl={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"},Hsl=["sap.ux.annotation.lsp.enableTelemetry","sap.ux.applicationModeler.enableTelemetry","sap.ux.help.enableTelemetry","sap.ux.serviceModeler.enableTelemetry"],zsl=t=>{let e=process.platform,r=t[e];if(zC()&&(r=t.theia),!r)return null;let n=jsl.homedir();return Bsl.join(n,r)};async function Ksl(t){let e;try{e=await t.read(new gTe)}catch{}if(e)yC.telemetryEnabled=e.enableTelemetry;else{let r=zsl(Gsl);if(!r)await KZt(!0);else{let n;try{n=await qsl.promises.readFile(r,"utf-8");let i=JSON.parse(n),s=Hsl.map(c=>i[c]??!0).reduce((c,l)=>c&&l,!0);await KZt(s)}catch{await KZt(!0)}}}}function Ysl(t){iGt(HIe.TelemetrySetting,()=>{t.read(new gTe).then(e=>{e&&(yC.telemetryEnabled=e.enableTelemetry)}).catch(()=>{})})}var Xin=async t=>{try{yC.consumerModuleName=t.consumerModule.name,yC.consumerModuleVersion=t.consumerModule.version,HZt.internalFeature=t.internalFeature??!1,t.resourceId&&(yC.azureInstrumentationKey=t.resourceId),t.ingestionEndpoint&&(yC.azureIngestionEndpoint=t.ingestionEndpoint),t.liveEndpoint&&(yC.azureLiveEndpoint=t.liveEndpoint);let e=await wHe({entityName:"telemetrySetting"});await Ksl(e),t.watchTelemetrySettingStore&&Ysl(e)}catch(e){ejo(e)}};async function KZt(t){try{let r=await wHe({entityName:"telemetrySetting"}),n=new xht({enableTelemetry:t});await r.write(n),yC.telemetryEnabled=t}catch{}let e=await Yin();tjo(t,e)}var Wsl="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(yC.azureInstrumentationKey);return r=new e(n,yC.consumerModuleName,yC.consumerModuleVersion),t.clientMap.set(e.name,r),r}static buildConnectionString(e){return e?`InstrumentationKey=${e===Wsl?"00000000-0000-0000-0000-000000000000":e};IngestionEndpoint=${yC.azureIngestionEndpoint};LiveEndpoint=${yC.azureLiveEndpoint};`:""}};var s9;(function(t){t.START_MARK="START_MARK",t.END_MARK="END_MARK",t.MEASUREMENT="MEASUREMENT"})(s9||(s9={}));var YZt=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}},WZt=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 Xsl}from"node:perf_hooks";var Jsl=()=>Xsl.now(),uI=class t extends YZt{static initTiming;static now=Jsl;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 WZt(`${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 Qsl=(t,e)=>new Error(`Wrong path for '${t}' field is specified in instructions with index - ${e}`),Zsl=(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 Qsl(r,n);s++}return a},rjo=(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=Zsl(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]=rjo(t,s),i={...i,...r},a={...a,...n};else[i,a]=rjo(t,e);return[i,a]};var njo=(t,e,r,n)=>(...i)=>{let a=e.apply(t,i);return a9.getTelemetryClient().report(r,{},{},n),a},ijo=(t,e,r,n)=>async(...i)=>{let a=await e.apply(t,i);return a9.getTelemetryClient().report(r,{},{},n),a},ojo=(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},ajo=(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},sjo=(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},cjo=(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 Ple;(function(t){t.NOTIFICATION="notify",t.DURATION="duration",t.CAPTURE_PARAM="captureParam"})(Ple||(Ple={}));var XZt=new Map;XZt.set(Ple.NOTIFICATION,njo);XZt.set(Ple.DURATION,ojo);XZt.set(Ple.CAPTURE_PARAM,sjo);var JZt=new Map;JZt.set(Ple.NOTIFICATION,ijo);JZt.set(Ple.DURATION,ajo);JZt.set(Ple.CAPTURE_PARAM,cjo);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},QZt="testBetaFeatures",eon="sap.ux.applicationModeler.enableExperimentalFeatures";import{createRequire as tcl}from"node:module";var rcl=tcl(import.meta.url);function ljo(){try{return rcl("vscode")}catch{return}}var ncl=ljo(),ZZt=class t{static get vscode(){return ncl}static getFeatureToggle(e){let r,n=t.vscode;if((e.includes(QZt)||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]}.${QZt}`,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=ZZt.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 P2o=Nr(T2o(),1);import{randomUUID as Ull}from"node:crypto";var kll=["@sap-ux","fiori-mcp-server"].join("/");var $ll="1.12.2",b2o={name:kll,version:$ll};var S2o={telemetry:{unknownOs:"Unknown"}};var fon="fiori-mcp-server",A2o=Iy.createInstance();async function Vll(){await A2o.init({resources:{en:{[fon]:S2o}},lng:"en",fallbackLng:"en",defaultNS:fon,ns:[fon]})}function O2o(t,e){return A2o.t(t,e)}Vll().catch(()=>{});var{version:jll}=b2o,C2o="@sap-ux/fiori-mcp-server",N2o="unknown-tool",Bll="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=Ull(),$i.info(`Telemetry session initialized with ID: ${this._sessionId}`)}static async initTelemetrySettings(e){this._sessionId||this.initSessionId();let r={consumerModule:{name:C2o,version:jll},watchTelemetrySettingStore:!1,internalFeature:ton(),resourceId:Bll,...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=O2o("telemetry.unknownOs");try{i=(0,P2o.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 C2o}};var w2o="2024-11-05";function qll(t){return yCe.includes(t)?t:yCe.includes(w2o)?w2o:yCe[yCe.length-1]}var ger=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(r8e,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(z4n,r),{protocolVersion:qll(e.params.protocolVersion),capabilities:{tools:{}},serverInfo:{name:"fiori-mcp",version:u$e},instructions:`
|
|
4572
|
+
`))}let r={name:JYe.TELEMETRY_SETTINGS_INIT_FAILED,properties:e,measurements:{}};process.env.SAP_UX_FIORI_TOOLS_DISABLE_TELEMETRY!=="true"&&ZUo().trackEvent(r)},tjo=(t,e)=>{let r={name:JYe.DISABLE_TELEMETRY,properties:{disableTelemetry:`${!t}`,...e},measurements:{}};process.env.SAP_UX_FIORI_TOOLS_DISABLE_TELEMETRY!=="true"&&ZUo().trackEvent(r)};import jsl from"node:os";import Bsl from"node:path";import qsl from"node:fs";var Gsl={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"},Hsl=["sap.ux.annotation.lsp.enableTelemetry","sap.ux.applicationModeler.enableTelemetry","sap.ux.help.enableTelemetry","sap.ux.serviceModeler.enableTelemetry"],zsl=t=>{let e=process.platform,r=t[e];if(zC()&&(r=t.theia),!r)return null;let n=jsl.homedir();return Bsl.join(n,r)};async function Ksl(t){let e;try{e=await t.read(new gTe)}catch{}if(e)yC.telemetryEnabled=e.enableTelemetry;else{let r=zsl(Gsl);if(!r)await KZt(!0);else{let n;try{n=await qsl.promises.readFile(r,"utf-8");let i=JSON.parse(n),s=Hsl.map(c=>i[c]??!0).reduce((c,l)=>c&&l,!0);await KZt(s)}catch{await KZt(!0)}}}}function Ysl(t){iGt(HIe.TelemetrySetting,()=>{t.read(new gTe).then(e=>{e&&(yC.telemetryEnabled=e.enableTelemetry)}).catch(()=>{})})}var Xin=async t=>{try{yC.consumerModuleName=t.consumerModule.name,yC.consumerModuleVersion=t.consumerModule.version,HZt.internalFeature=t.internalFeature??!1,t.resourceId&&(yC.azureInstrumentationKey=t.resourceId),t.ingestionEndpoint&&(yC.azureIngestionEndpoint=t.ingestionEndpoint),t.liveEndpoint&&(yC.azureLiveEndpoint=t.liveEndpoint);let e=await wHe({entityName:"telemetrySetting"});await Ksl(e),t.watchTelemetrySettingStore&&Ysl(e)}catch(e){ejo(e)}};async function KZt(t){try{let r=await wHe({entityName:"telemetrySetting"}),n=new xht({enableTelemetry:t});await r.write(n),yC.telemetryEnabled=t}catch{}let e=await Yin();tjo(t,e)}var Wsl="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(yC.azureInstrumentationKey);return r=new e(n,yC.consumerModuleName,yC.consumerModuleVersion),t.clientMap.set(e.name,r),r}static buildConnectionString(e){return e?`InstrumentationKey=${e===Wsl?"00000000-0000-0000-0000-000000000000":e};IngestionEndpoint=${yC.azureIngestionEndpoint};LiveEndpoint=${yC.azureLiveEndpoint};`:""}};var s9;(function(t){t.START_MARK="START_MARK",t.END_MARK="END_MARK",t.MEASUREMENT="MEASUREMENT"})(s9||(s9={}));var YZt=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}},WZt=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 Xsl}from"node:perf_hooks";var Jsl=()=>Xsl.now(),uI=class t extends YZt{static initTiming;static now=Jsl;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 WZt(`${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 Qsl=(t,e)=>new Error(`Wrong path for '${t}' field is specified in instructions with index - ${e}`),Zsl=(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 Qsl(r,n);s++}return a},rjo=(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=Zsl(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]=rjo(t,s),i={...i,...r},a={...a,...n};else[i,a]=rjo(t,e);return[i,a]};var njo=(t,e,r,n)=>(...i)=>{let a=e.apply(t,i);return a9.getTelemetryClient().report(r,{},{},n),a},ijo=(t,e,r,n)=>async(...i)=>{let a=await e.apply(t,i);return a9.getTelemetryClient().report(r,{},{},n),a},ojo=(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},ajo=(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},sjo=(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},cjo=(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 Ple;(function(t){t.NOTIFICATION="notify",t.DURATION="duration",t.CAPTURE_PARAM="captureParam"})(Ple||(Ple={}));var XZt=new Map;XZt.set(Ple.NOTIFICATION,njo);XZt.set(Ple.DURATION,ojo);XZt.set(Ple.CAPTURE_PARAM,sjo);var JZt=new Map;JZt.set(Ple.NOTIFICATION,ijo);JZt.set(Ple.DURATION,ajo);JZt.set(Ple.CAPTURE_PARAM,cjo);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},QZt="testBetaFeatures",eon="sap.ux.applicationModeler.enableExperimentalFeatures";import{createRequire as tcl}from"node:module";var rcl=tcl(import.meta.url);function ljo(){try{return rcl("vscode")}catch{return}}var ncl=ljo(),ZZt=class t{static get vscode(){return ncl}static getFeatureToggle(e){let r,n=t.vscode;if((e.includes(QZt)||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]}.${QZt}`,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=ZZt.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 P2o=Nr(T2o(),1);import{randomUUID as Ull}from"node:crypto";var kll=["@sap-ux","fiori-mcp-server"].join("/");var $ll="1.12.3",b2o={name:kll,version:$ll};var S2o={telemetry:{unknownOs:"Unknown"}};var fon="fiori-mcp-server",A2o=Iy.createInstance();async function Vll(){await A2o.init({resources:{en:{[fon]:S2o}},lng:"en",fallbackLng:"en",defaultNS:fon,ns:[fon]})}function O2o(t,e){return A2o.t(t,e)}Vll().catch(()=>{});var{version:jll}=b2o,C2o="@sap-ux/fiori-mcp-server",N2o="unknown-tool",Bll="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=Ull(),$i.info(`Telemetry session initialized with ID: ${this._sessionId}`)}static async initTelemetrySettings(e){this._sessionId||this.initSessionId();let r={consumerModule:{name:C2o,version:jll},watchTelemetrySettingStore:!1,internalFeature:ton(),resourceId:Bll,...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=O2o("telemetry.unknownOs");try{i=(0,P2o.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 C2o}};var w2o="2024-11-05";function qll(t){return yCe.includes(t)?t:yCe.includes(w2o)?w2o:yCe[yCe.length-1]}var ger=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(r8e,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(z4n,r),{protocolVersion:qll(e.params.protocolVersion),capabilities:{tools:{}},serverInfo:{name:"fiori-mcp",version:u$e},instructions:`
|
|
4573
4573
|
\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
|
|
4574
4574
|
\u{1F6A8}\u{1F6A8}\u{1F6A8} STOP - READ THIS BEFORE CALLING ANY TOOLS \u{1F6A8}\u{1F6A8}\u{1F6A8}
|
|
4575
4575
|
\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.
|
|
4
|
+
"version": "1.12.3",
|
|
5
5
|
"mcpName": "io.github.SAP/fiori-mcp-server",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"SAP Fiori tools",
|
|
@@ -57,19 +57,19 @@
|
|
|
57
57
|
"xml-formatter": "3.7.0",
|
|
58
58
|
"ts-node": "10.9.2",
|
|
59
59
|
"zod": "4.4.3",
|
|
60
|
+
"@sap-ux/btp-utils": "2.0.6",
|
|
60
61
|
"@sap-ux/axios-extension": "2.0.9",
|
|
61
|
-
"@sap-ux/feature-toggle": "1.0.5",
|
|
62
62
|
"@sap-ux/fiori-annotation-api": "1.0.27",
|
|
63
63
|
"@sap-ux/fiori-docs-embeddings": "1.2.7",
|
|
64
|
-
"@sap-ux/
|
|
65
|
-
"@sap-ux/logger": "1.0.3",
|
|
64
|
+
"@sap-ux/feature-toggle": "1.0.5",
|
|
66
65
|
"@sap-ux/i18n": "1.0.3",
|
|
67
66
|
"@sap-ux/nodejs-utils": "1.0.10",
|
|
67
|
+
"@sap-ux/logger": "1.0.3",
|
|
68
|
+
"@sap-ux/odata-annotation-core": "1.0.2",
|
|
68
69
|
"@sap-ux/odata-annotation-core-types": "1.0.2",
|
|
69
70
|
"@sap-ux/odata-service-writer": "1.0.21",
|
|
70
|
-
"@sap-ux/odata-annotation-core": "1.0.2",
|
|
71
|
-
"@sap-ux/project-access": "2.1.13",
|
|
72
71
|
"@sap-ux/odata-entity-model": "1.0.1",
|
|
72
|
+
"@sap-ux/project-access": "2.1.13",
|
|
73
73
|
"@sap-ux/store": "2.0.7",
|
|
74
74
|
"@sap-ux/telemetry": "2.0.5",
|
|
75
75
|
"@sap-ux/text-document-utils": "1.0.2"
|