@sap-ux/fiori-mcp-server 1.15.16 → 1.15.17
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/data/embeddings/metadata.json +1 -1
- package/dist/data/embeddings/records.jsonl +851 -851
- package/dist/index.js +13 -23
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -18593,7 +18593,7 @@ ${m}`,editorUrl:h,processId:d,...p&&{port:p}}}catch(r){return gi.error(`Error op
|
|
|
18593
18593
|
|
|
18594
18594
|
IMPORTANT RULES:
|
|
18595
18595
|
1. For controller extensions, always use "sap/ui/core/mvc/ControllerExtension" (NOT "sap/ui/core/mvc/Controller"). Use ControllerExtension.extend() pattern for proper adaptation project architecture.
|
|
18596
|
-
2. Assign stable, unique IDs to all controls, elements, subcontrols, items, and sub-items even when they have a key or other identifying attribute. This is crucial for adaptation project functionality.
|
|
18596
|
+
2. Assign stable, unique IDs to all controls, elements, subcontrols, items, and sub-items even when they have a key or other identifying attribute. This is crucial for adaptation project functionality. Exception: do NOT add an id attribute to Dialog controls \u2014 see ID & CONTROL HANDLING.
|
|
18597
18597
|
3. When providing code, always provide the entire file! Do not omit parts or replace them with an ellipsis. Keep the rest of the file as-is in your reply, only touch the part that needs to be changed.
|
|
18598
18598
|
4. Immediately before each code block belonging to a file, with no other text in between, write the full path+name of the file in the following format: **Path:** fullFilePath. It is of extreme importance to always provide this format with the word 'Path' before the file path and no other content between this line and the code block.
|
|
18599
18599
|
|
|
@@ -18652,6 +18652,8 @@ FRAGMENT LOAD PATH DECIDES THE HANDLER FORM (CRITICAL):
|
|
|
18652
18652
|
|
|
18653
18653
|
CONTROLLER EXTENSION FILES (JS/TS) - File Paths and Namespaces:
|
|
18654
18654
|
- File path: webapp/changes/coding/{controller-extension-name}.js
|
|
18655
|
+
- Do NOT add .controller to the file name
|
|
18656
|
+
- Do not create a new controller extension file if one already exists for the selected view \u2014 add methods to the existing file instead
|
|
18655
18657
|
- Namespace in ControllerExtension.extend(): use the variant id as the base:
|
|
18656
18658
|
* ControllerExtension.extend("{variant-id}.{ControllerExtName}", {...})
|
|
18657
18659
|
- Example (CUSTOMER_BASE, id "customer.app.variant2"): ControllerExtension.extend("customer.app.variant2.ControllerExt", {...})
|
|
@@ -18682,33 +18684,22 @@ IMPORTANT: The controlType comment refers to the PARENT control that will contai
|
|
|
18682
18684
|
|
|
18683
18685
|
CONTROLLER EXTENSION WORKFLOW:
|
|
18684
18686
|
1. Read manifest.appdescr_variant:
|
|
18685
|
-
- Extract 'id' property (app variant id)
|
|
18686
|
-
|
|
18687
|
-
- Extract 'layer' property - informational; the "customer." segment (when present) is already part
|
|
18688
|
-
of the id for CUSTOMER_BASE projects, so you never add it separately
|
|
18687
|
+
- Extract 'id' property (app variant id) \u2014 the BASE for all namespaces (see CONTROLLER EXTENSION NAMESPACE PATTERN)
|
|
18688
|
+
- Extract 'layer' property \u2014 informational only
|
|
18689
18689
|
|
|
18690
|
-
2. Use the variant id verbatim as the namespace base
|
|
18691
|
-
- The project folder name is informational only \u2014 do NOT build namespaces from it
|
|
18692
|
-
- The same variant id feeds fragment handlers, the extend() namespace, and Fragment.load names
|
|
18690
|
+
2. Use the variant id verbatim as the namespace base \u2014 do NOT build namespaces from the project folder name.
|
|
18693
18691
|
|
|
18694
|
-
3. Create controller extension file:
|
|
18695
|
-
- File path: webapp/changes/coding/{ControllerExtName}.js
|
|
18692
|
+
3. Create controller extension file (see CONTROLLER EXTENSION FILES for path and namespace rules):
|
|
18696
18693
|
- Do NOT add .controller to the file name
|
|
18697
18694
|
- Use sap.ui.define with "sap/ui/core/mvc/ControllerExtension" (NOT sap/ui/core/mvc/Controller)
|
|
18698
|
-
- Namespace pattern: return ControllerExtension.extend("{variant-id}.{ControllerExtName}", {...});
|
|
18699
|
-
- Example (CUSTOMER_BASE, id "customer.app.variant2"): ControllerExtension.extend("customer.app.variant2.ControllerExt", {...})
|
|
18700
|
-
- Example (standard, id "app.variant2"): ControllerExtension.extend("app.variant2.ControllerExt", {...})
|
|
18701
18695
|
|
|
18702
18696
|
4. Create XML fragment file (if needed):
|
|
18703
18697
|
- Add stable, unique IDs to ALL controls and sub-elements
|
|
18704
18698
|
- Wire event handlers with the variant-id-based pattern:
|
|
18705
18699
|
* press=".extension.{variant-id}.{ControllerExt}.{methodName}"
|
|
18706
18700
|
- The ".extension" prefix is ONLY used in fragment XML event handlers
|
|
18707
|
-
-
|
|
18708
|
-
|
|
18709
|
-
Fragment.load({ controller: this }) (not adopted into a view), use BARE method names
|
|
18710
|
-
(press="onClose"), NOT the ".extension.*" path. See "FRAGMENT LOAD PATH DECIDES THE
|
|
18711
|
-
HANDLER FORM" above. Emit "controller: this" in every generated Fragment.load call.
|
|
18701
|
+
- EXCEPTION \u2014 dialog / programmatically-loaded fragments: use BARE method names (press="onClose").
|
|
18702
|
+
See "FRAGMENT LOAD PATH DECIDES THE HANDLER FORM" above.
|
|
18712
18703
|
|
|
18713
18704
|
5. Do not create duplicate files:
|
|
18714
18705
|
- Do not create a new controller extension file if one already exists for the selected view
|
|
@@ -18743,6 +18734,8 @@ ON-DEMAND PROPERTY FETCHING (CRITICAL):
|
|
|
18743
18734
|
Work with the data inside the success/then callback \u2014 never outside it.
|
|
18744
18735
|
- This applies even when the property "should" be there logically. A handler that constructs a URL,
|
|
18745
18736
|
a label, or any computed output from model properties must fetch those properties explicitly.
|
|
18737
|
+
- For numeric "lower than" thresholds use \`Math.floor\`, not \`Math.round\` \u2014 \`Math.round\` can round
|
|
18738
|
+
above the threshold (e.g. \`Math.round(40.95) = 41 > 40.95\`).
|
|
18746
18739
|
|
|
18747
18740
|
PROGRAMMATIC FRAGMENT CONTROLS (CRITICAL):
|
|
18748
18741
|
- Fragment.load() resolves with the root control instance, not a fragment holder.
|
|
@@ -18755,11 +18748,8 @@ PROGRAMMATIC FRAGMENT CONTROLS (CRITICAL):
|
|
|
18755
18748
|
|
|
18756
18749
|
OUTPUT REQUIREMENTS:
|
|
18757
18750
|
- Each response must be self-contained and production-ready.
|
|
18758
|
-
- Each file must be complete, not partial.
|
|
18759
|
-
- Maintain consistent namespaces and controller references.
|
|
18760
|
-
- Follow adaptation project structure and conventions.
|
|
18761
18751
|
- Include comments in code only where useful to explain complex logic.
|
|
18762
|
-
- CRITICAL:
|
|
18752
|
+
- CRITICAL: Verify all controls and sub-elements have stable, unique IDs before responding.`;function Dcn(t,e,r,n){let i=`${e}
|
|
18763
18753
|
|
|
18764
18754
|
`;if(i+=`=== GENERATION RULES ===
|
|
18765
18755
|
${Yhl}
|
|
@@ -18946,7 +18936,7 @@ No aiResponse provided. Generate the code following the rules below, then call t
|
|
|
18946
18936
|
This is the **final step** of the workflow and performs the actual modification.
|
|
18947
18937
|
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:Mh(L2n),outputSchema:Mh(ejn)},...uNl?XRo:[]],JRo=new Set(XRo.map(t=>t.name));var Dxt=class{applicationKey="";extensionName="";extensionVersion="";getApplicationKey(){return this.applicationKey}getExtensionVersion(){return this.extensionVersion}getExtensionName(){return this.extensionName}};var cLa=Nr(Lkn(),1);var cRt=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 iV;(function(t){t[t.OnePercent=0]="OnePercent",t[t.TenPercent=1]="TenPercent",t[t.NoSampling=2]="NoSampling"})(iV||(iV={}));process.env.OTEL_RESOURCE_ATTRIBUTES??="service.name=masked,service.instance.id=masked";function mEr(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 $kn={name:"@sap-ux/telemetry",version:"2.0.12",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.20.0","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:"18.0.8"},files:["dist","LICENSE","!dist/*.map","!dist/**/*.map"],engines:{node:">=22.x"}};var JD={azureInstrumentationKey:"",azureIngestionEndpoint:"https://westus2-0.in.applicationinsights.azure.com/",azureLiveEndpoint:"https://westus2.livediagnostics.monitor.azure.com/",telemetryEnabled:!0,telemetryLibName:$kn.name,telemetryLibVersion:$kn.version,consumerModuleName:"",consumerModuleVersion:""};process.env.APPLICATION_INSIGHTS_NO_DIAGNOSTIC_CHANNEL??="true";var lRt=class extends Dxt{clients;constructor(e,r,n){super(),this.clients=new Map,this.applicationKey=e,this.extensionVersion=n,this.extensionName=r;let i=this.createTelemetryClient(iV.OnePercent),a=this.createTelemetryClient(iV.TenPercent),s=this.createTelemetryClient(iV.NoSampling);this.clients.set(iV.OnePercent,i),this.clients.set(iV.TenPercent,a),this.clients.set(iV.NoSampling,s)}reportBlocking(e,r,n,i,a=!1){if(!a||JD.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||!JD.telemetryEnabled)return;let{client:c,event:l}=this.prepareClientAndEvent(e,r,n,i);this.trackEvent(c,l)}prepareClientAndEvent(e,r,n,i=iV.NoSampling){let a=this.clients.get(i),c={name:new cRt(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 iV.OnePercent:r=1;break;case iV.TenPercent:r=10;break;case iV.NoSampling:default:r=100;break}let n=new cLa.TelemetryClient(this.applicationKey);return n.config.samplingPercentage=r,mEr(n),n}};var Fkn=()=>{let t=new Date().getTime();return new Date(t).toISOString()};var uRt=class extends lRt{constructor(e,r,n){super(e,r,n)}async report(e,r,n,i,a,s){let c=await gEr(a),l={v:this.extensionVersion,datetime:Fkn()},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 gEr(r),i={v:this.extensionVersion,datetime:Fkn()},a={...e.properties,...n,...i},s={...e.measurements};return{finalProperties:a,finalMeasurements:s}}};var lLa=Nr(Cb(),1),uLa=Nr(Mgt(),1);import fie from"node:fs";import bSe from"node:path";var yEr={internalFeature:!1};var dRt;(function(t){t.UNKNOWN="UNKNOWN",t.NO_TOOLS_ID="NO_TOOLS_ID"})(dRt||(dRt={}));var Xue;(function(t){t.CAPJava="CAPJava",t.CAPNode="CAPNode",t.ABAP="ABAP",t.UNKNOWN="UNKNOWN"})(Xue||(Xue={}));var Eqe;(function(t){t.CF="CF",t.ABAP="ABAP",t.UNKNOWN_DEPLOY_CONFIG="UNKNOWN_DEPLOY_CONFIG",t.NO_DEPLOY_CONFIG="NO_DEPLOY_CONFIG"})(Eqe||(Eqe={}));var ZD;(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"})(ZD||(ZD={}));async function gEr(t){let e=await Bkn(),r={};return t&&(r=await nHu(t.appPath)),{...e,...r}}async function Bkn(){let t={};return t[ZD.DevSpace]=await rHu(),t[ZD.AppStudio]=Xy(),t[ZD.AppStudioBackwardCompatible]=t[ZD.AppStudio],t[ZD.InternlVsExternal]=cHu(),t[ZD.InternlVsExternalBackwardCompatible]=t[ZD.InternlVsExternal],t[ZD.NodeVersion]=await uHu(),t[ZD.IdeType]=jkn(),t}async function rHu(){if(Xy())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 lLa.default.get(r);if(n.data)return n.data?.config?.annotations?.pack}catch{}return""}async function nHu(t){if(!t)return{};let e=await iHu(t),r=await sHu(t),n=await YHe(t),i=await oHu(t);n==="Fiori Reuse"&&(i=Xue.UNKNOWN);let a=await lHu(t),s=await IVt(t),c={};return c[ZD.TemplateType]=e,c[ZD.DeployTargetType]=r,c[ZD.ODataSourceType]=i,c[ZD.AppToolsId]=a.toolsId??"",c[ZD.AppProgrammingLanguage]=s,c[ZD.TemplateId]=a.id??"",c[ZD.TemplateVersion]=a.version??"",c[ZD.ApplicationType]=n??"",c}async function iHu(t){let e=bSe.join(t,"README.md"),r=bSe.join(t,".appGenInfo.json");if(fie.existsSync(r)){let n=await fie.promises.readFile(r,"utf-8"),i=JSON.parse(n);if(i?.generationParameters?.template)return i.generationParameters.template.trim()}if(fie.existsSync(e)){let n=await fie.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 oHu(t){try{let e;try{e=await xye(t)}catch{}if(!e)try{let i=bSe.dirname(t);e=await xye(i,!1)}catch{}let r=!1;if(!e){let i=bSe.dirname(t),a=bSe.dirname(i);r=await Tyt(a),e=r?a:t}if(r)return Xue.CAPJava;let n=await XHe(e);return aHu(n)}catch{return Xue.UNKNOWN}}function aHu(t){return t==="EDMXBackend"?Xue.ABAP:t==="CAPNodejs"?Xue.CAPNode:t==="CAPJava"?Xue.CAPJava:Xue.UNKNOWN}async function sHu(t){let e=Eqe.NO_DEPLOY_CONFIG,r=bSe.join(t,"ui5-deploy.yaml");try{await fie.promises.access(r);let n=await fie.promises.readFile(r,"utf-8"),a=uLa.default.parse(n)?.builder?.customTasks;a?e=a.some(c=>c.name==="deploy-to-abap")?Eqe.ABAP:Eqe.CF:e=Eqe.UNKNOWN_DEPLOY_CONFIG}catch{}return e}function cHu(){return yEr.internalFeature?"internal":"external"}async function lHu(t){let e=await c_(t),r={manifest:bSe.join(e,"manifest.json"),appdescr:bSe.join(e,"manifest.appdescr_variant"),ui5Yaml:bSe.join(t,"ui5.yaml")};try{if(fie.existsSync(r.manifest)){let n=await fie.promises.readFile(r.manifest,"utf-8"),i=JSON.parse(n);return Ukn(i["sap.app"]?.sourceTemplate??{})}if(fie.existsSync(r.appdescr)&&fie.existsSync(r.ui5Yaml)){let n=await fie.promises.readFile(r.ui5Yaml,"utf-8"),a=(await OX.newInstance(n)).getCustomConfiguration("adp");return Ukn(a?.support??{})}}catch{}return Ukn({})}function Ukn(t){return{id:t.id??"",version:t.version??"",toolsId:t.toolsId??dRt.NO_TOOLS_ID}}async function uHu(){try{return(await new bAe().run("node",["-v"])??"unknown").replaceAll(/(?:^v)|([\r\n]{1,100})/g,"")}catch{return"unknown"}}function jkn(){if(Xy())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 dLa=Nr(Lkn(),1);var Tpt;(function(t){t.Test="test",t.TELEMETRY_SETTINGS_INIT_FAILED="TELEMETRY_SETTINGS_INIT_FAILED",t.DISABLE_TELEMETRY="DISABLE_TELEMETRY"})(Tpt||(Tpt={}));var dHu=t=>{let e=[/sap-ux.+/gi,/[-a-zA-Z]+\/ide-extension\/.+/gi,/(\/telemetry\/.+)/gi],r=[],n=t.split(`
|
|
18948
18938
|
`).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 d=a.split(/\s+/).slice(1).join(""),p=c[3],f=c[4],h=`${d} at (${l}:${p}:${f});`;r.push(h)}),r},_Er,pLa=()=>(_Er||(_Er=new dLa.TelemetryClient(n9.buildConnectionString(JD.azureInstrumentationKey)),mEr(_Er)),_Er),fLa=t=>{let e={message:t.message};if(t.stack){let n=dHu(t.stack);n.length&&(e.stack=n.join(`
|
|
18949
|
-
`))}let r={name:Tpt.TELEMETRY_SETTINGS_INIT_FAILED,properties:e,measurements:{}};process.env.SAP_UX_FIORI_TOOLS_DISABLE_TELEMETRY!=="true"&&pLa().trackEvent(r)},hLa=(t,e)=>{let r={name:Tpt.DISABLE_TELEMETRY,properties:{disableTelemetry:`${!t}`,...e},measurements:{}};process.env.SAP_UX_FIORI_TOOLS_DISABLE_TELEMETRY!=="true"&&pLa().trackEvent(r)};import pHu from"node:os";import fHu from"node:path";import hHu from"node:fs";var mHu={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"},gHu=["sap.ux.annotation.lsp.enableTelemetry","sap.ux.applicationModeler.enableTelemetry","sap.ux.help.enableTelemetry","sap.ux.serviceModeler.enableTelemetry"],yHu=t=>{let e=process.platform,r=t[e];if(Xy()&&(r=t.theia),!r)return null;let n=pHu.homedir();return fHu.join(n,r)};async function _Hu(t){let e;try{e=await t.read(new Y1e)}catch{}if(e)JD.telemetryEnabled=e.enableTelemetry;else{let r=yHu(mHu);if(!r)await vEr(!0);else{let n;try{n=await hHu.promises.readFile(r,"utf-8");let i=JSON.parse(n),s=gHu.map(c=>i[c]??!0).reduce((c,l)=>c&&l,!0);await vEr(s)}catch{await vEr(!0)}}}}function vHu(t){qtr(Bje.TelemetrySetting,()=>{t.read(new Y1e).then(e=>{e&&(JD.telemetryEnabled=e.enableTelemetry)}).catch(()=>{})})}var Vkn=async t=>{try{JD.consumerModuleName=t.consumerModule.name,JD.consumerModuleVersion=t.consumerModule.version,yEr.internalFeature=t.internalFeature??!1,t.resourceId&&(JD.azureInstrumentationKey=t.resourceId),t.ingestionEndpoint&&(JD.azureIngestionEndpoint=t.ingestionEndpoint),t.liveEndpoint&&(JD.azureLiveEndpoint=t.liveEndpoint);let e=await Qre({entityName:"telemetrySetting"});await _Hu(e),t.watchTelemetrySettingStore&&vHu(e)}catch(e){fLa(e)}};async function vEr(t){try{let r=await Qre({entityName:"telemetrySetting"}),n=new tAt({enableTelemetry:t});await r.write(n),JD.telemetryEnabled=t}catch{}let e=await Bkn();hLa(t,e)}var EHu="ApplicationInsightsInstrumentationKeyPLACEH0LDER",n9=class t{static clientMap=new Map;static getTelemetryClient(){return t.getTelemetryClientByClass(uRt)}static getTelemetryClientByClass(e){let r=t.clientMap.get(e.name);if(r)return r;let n=t.buildConnectionString(JD.azureInstrumentationKey);return r=new e(n,JD.consumerModuleName,JD.consumerModuleVersion),t.clientMap.set(e.name,r),r}static buildConnectionString(e){return e?`InstrumentationKey=${e===EHu?"00000000-0000-0000-0000-000000000000":e};IngestionEndpoint=${JD.azureIngestionEndpoint};LiveEndpoint=${JD.azureLiveEndpoint};`:""}};var FQ;(function(t){t.START_MARK="START_MARK",t.END_MARK="END_MARK",t.MEASUREMENT="MEASUREMENT"})(FQ||(FQ={}));var EEr=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 pRt=class{startTime;name;type;getStartTime(){return this.startTime}constructor(e,r,n){this.startTime=n,this.name=e,this.startTime=n,this.type=r}},bEr=class extends pRt{startTime;duration;constructor(e,r,n){super(e,FQ.MEASUREMENT,r),this.startTime=r,this.duration=n,this.duration=n}getDurationTime(){return this.duration}};import{performance as bHu}from"node:perf_hooks";var THu=()=>bHu.now(),JM=class t extends EEr{static initTiming;static now=THu;static entries=[];static initialize(){t.initTiming=t.now()}static mark(e,r,n){let i=new pRt(e,r,n);t.entries.push(i)}static startMark(e){let r=t.now(),n=e+r;return t.mark(n,FQ.START_MARK,r),n}static endMark(e){let r=t.now();t.mark(e,FQ.END_MARK,r)}static measure(e){let r=t.getEntriesByNameType(e,FQ.START_MARK).slice(-1)[0],n=t.getEntriesByNameType(e,FQ.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?FQ.END_MARK:FQ.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 bEr(`${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,FQ.MEASUREMENT).slice(-1)[0].getDurationTime()}static clearEntries(){t.entries=[]}};JM.initialize();var SHu=(t,e)=>new Error(`Wrong path for '${t}' field is specified in instructions with index - ${e}`),wHu=(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 SHu(r,n);s++}return a},mLa=(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=wHu(i,e.value.path,"val",e.paramIndex):s=i,typeof s=="number"&&!Number.isNaN(s)?n[a]=s:r[a]=s,[r,n]},qkn=(t,e)=>{let r,n,i={},a={};if(Array.isArray(e))for(let s of e)[r,n]=mLa(t,s),i={...i,...r},a={...a,...n};else[i,a]=mLa(t,e);return[i,a]};var gLa=(t,e,r,n)=>(...i)=>{let a=e.apply(t,i);return n9.getTelemetryClient().report(r,{},{},n),a},yLa=(t,e,r,n)=>async(...i)=>{let a=await e.apply(t,i);return n9.getTelemetryClient().report(r,{},{},n),a},_La=(t,e,r,n)=>(...i)=>{let a=JM.startMark("mark"),s=e.apply(t,i);JM.endMark(a),JM.measure(a);let c=JM.getMeasurementDuration(a);return n9.getTelemetryClient().report(r,{},{ms:c},n),s},vLa=(t,e,r,n)=>async(...i)=>{let a=JM.startMark("mark"),s=await e.apply(t,i);JM.endMark(a),JM.measure(a);let c=JM.getMeasurementDuration(a);return n9.getTelemetryClient().report(r,{},{ms:c},n),s},ELa=(t,e,r,n,i)=>(...a)=>{let s=e.apply(t,a),[c,l]=qkn(a,i);return n9.getTelemetryClient().report(r,c,l,n),s},bLa=(t,e,r,n,i)=>async(...a)=>{let s=await e.apply(t,a),[c,l]=qkn(a,i);return n9.getTelemetryClient().report(r,c,l,n),s};var TSe;(function(t){t.NOTIFICATION="notify",t.DURATION="duration",t.CAPTURE_PARAM="captureParam"})(TSe||(TSe={}));var TEr=new Map;TEr.set(TSe.NOTIFICATION,gLa);TEr.set(TSe.DURATION,_La);TEr.set(TSe.CAPTURE_PARAM,ELa);var SEr=new Map;SEr.set(TSe.NOTIFICATION,yLa);SEr.set(TSe.DURATION,vLa);SEr.set(TSe.CAPTURE_PARAM,bLa);var U$a=Nr(R$a(),1);import{randomUUID as c8u}from"node:crypto";var i8u=["@sap-ux","fiori-mcp-server"].join("/");var o8u="1.15.16",k$a={name:i8u,version:o8u};V_e();var M$a={telemetry:{unknownOs:"Unknown"}};var tMn="fiori-mcp-server",L$a=Jy.createInstance();async function s8u(){await L$a.init({resources:{en:{[tMn]:M$a}},lng:"en",fallbackLng:"en",defaultNS:tMn,ns:[tMn]})}function $$a(t,e){return L$a.t(t,e)}s8u().catch(()=>{});var{version:l8u}=k$a,F$a="@sap-ux/fiori-mcp-server",B$a="unknown-tool",u8u="0a65e45d-6bf4-421d-b845-61e888c50e9e",Jue=class{static _telemetryData;static _previousEventTimestamp;static _sessionId;static get telemetryData(){return this._telemetryData}static get sessionId(){return this._sessionId}static initSessionId(){this._sessionId=c8u(),gi.info(`Telemetry session initialized with ID: ${this._sessionId}`)}static async initTelemetrySettings(e){this._sessionId||this.initSessionId();let r={consumerModule:{name:F$a,version:l8u},watchTelemetrySettingStore:!1,internalFeature:xAt(),resourceId:u8u,...e};try{await Vkn(r)}catch(n){gi.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=$$a("telemetry.unknownOs");try{i=(0,U$a.default)()}catch{}this._telemetryData={Platform:Xy()?"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?JM.getMeasurementDuration(r.markName):void 0;return{eventName:e,properties:r,measurements:n?{RequestTime:n}:{}}}static markToolStartTime(){this.createTelemetryData({markName:JM.startMark("MCP_LOADING_TIME")})}static markToolsEndTime(){this._telemetryData?.markName&&(JM.endMark(this._telemetryData.markName),JM.measure(this._telemetryData.markName))}static async sendTelemetry(e,r,n){let i=this.createTelemetryData(r)??r,a=this.prepareTelemetryEvent(e,i);await n9.getTelemetryClient().reportEvent(a,iV.NoSampling,n?{appPath:n}:void 0)}static getTelemetryName(){return F$a}};var j$a="2024-11-05";function d8u(t){return $ke.includes(t)?t:$ke.includes(j$a)?j$a:$ke[$ke.length-1]}var BEr=class{server;mcpClientName="unknown-client";mcpClientVersion="unknown-version";constructor(){this.server=new XFt({name:"fiori-mcp",version:I5e,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=r=>gi.error(`[MCP Error] ${r}`);let e=async()=>{await mar(),await this.server.close(),process.exit(0)};process.on("SIGINT",e),process.on("SIGTERM",e)}async setupTelemetry(){await Jue.initTelemetrySettings()}setupToolHandlers(){this.server.setRequestHandler(Oht,async e=>{this.mcpClientName=e.params.clientInfo?.name||"unknown-client",this.mcpClientVersion=e.params.clientInfo?.version||"unknown-version",gi.info(`MCP Client connected: ${this.mcpClientName} v${this.mcpClientVersion}`);let r={mcpClientName:this.mcpClientName,mcpClientVersion:this.mcpClientVersion};return await Jue.sendTelemetry(vgo,r),{protocolVersion:d8u(e.params.protocolVersion),capabilities:{tools:{}},serverInfo:{name:"fiori-mcp",version:I5e},instructions:`
|
|
18939
|
+
`))}let r={name:Tpt.TELEMETRY_SETTINGS_INIT_FAILED,properties:e,measurements:{}};process.env.SAP_UX_FIORI_TOOLS_DISABLE_TELEMETRY!=="true"&&pLa().trackEvent(r)},hLa=(t,e)=>{let r={name:Tpt.DISABLE_TELEMETRY,properties:{disableTelemetry:`${!t}`,...e},measurements:{}};process.env.SAP_UX_FIORI_TOOLS_DISABLE_TELEMETRY!=="true"&&pLa().trackEvent(r)};import pHu from"node:os";import fHu from"node:path";import hHu from"node:fs";var mHu={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"},gHu=["sap.ux.annotation.lsp.enableTelemetry","sap.ux.applicationModeler.enableTelemetry","sap.ux.help.enableTelemetry","sap.ux.serviceModeler.enableTelemetry"],yHu=t=>{let e=process.platform,r=t[e];if(Xy()&&(r=t.theia),!r)return null;let n=pHu.homedir();return fHu.join(n,r)};async function _Hu(t){let e;try{e=await t.read(new Y1e)}catch{}if(e)JD.telemetryEnabled=e.enableTelemetry;else{let r=yHu(mHu);if(!r)await vEr(!0);else{let n;try{n=await hHu.promises.readFile(r,"utf-8");let i=JSON.parse(n),s=gHu.map(c=>i[c]??!0).reduce((c,l)=>c&&l,!0);await vEr(s)}catch{await vEr(!0)}}}}function vHu(t){qtr(Bje.TelemetrySetting,()=>{t.read(new Y1e).then(e=>{e&&(JD.telemetryEnabled=e.enableTelemetry)}).catch(()=>{})})}var Vkn=async t=>{try{JD.consumerModuleName=t.consumerModule.name,JD.consumerModuleVersion=t.consumerModule.version,yEr.internalFeature=t.internalFeature??!1,t.resourceId&&(JD.azureInstrumentationKey=t.resourceId),t.ingestionEndpoint&&(JD.azureIngestionEndpoint=t.ingestionEndpoint),t.liveEndpoint&&(JD.azureLiveEndpoint=t.liveEndpoint);let e=await Qre({entityName:"telemetrySetting"});await _Hu(e),t.watchTelemetrySettingStore&&vHu(e)}catch(e){fLa(e)}};async function vEr(t){try{let r=await Qre({entityName:"telemetrySetting"}),n=new tAt({enableTelemetry:t});await r.write(n),JD.telemetryEnabled=t}catch{}let e=await Bkn();hLa(t,e)}var EHu="ApplicationInsightsInstrumentationKeyPLACEH0LDER",n9=class t{static clientMap=new Map;static getTelemetryClient(){return t.getTelemetryClientByClass(uRt)}static getTelemetryClientByClass(e){let r=t.clientMap.get(e.name);if(r)return r;let n=t.buildConnectionString(JD.azureInstrumentationKey);return r=new e(n,JD.consumerModuleName,JD.consumerModuleVersion),t.clientMap.set(e.name,r),r}static buildConnectionString(e){return e?`InstrumentationKey=${e===EHu?"00000000-0000-0000-0000-000000000000":e};IngestionEndpoint=${JD.azureIngestionEndpoint};LiveEndpoint=${JD.azureLiveEndpoint};`:""}};var FQ;(function(t){t.START_MARK="START_MARK",t.END_MARK="END_MARK",t.MEASUREMENT="MEASUREMENT"})(FQ||(FQ={}));var EEr=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 pRt=class{startTime;name;type;getStartTime(){return this.startTime}constructor(e,r,n){this.startTime=n,this.name=e,this.startTime=n,this.type=r}},bEr=class extends pRt{startTime;duration;constructor(e,r,n){super(e,FQ.MEASUREMENT,r),this.startTime=r,this.duration=n,this.duration=n}getDurationTime(){return this.duration}};import{performance as bHu}from"node:perf_hooks";var THu=()=>bHu.now(),JM=class t extends EEr{static initTiming;static now=THu;static entries=[];static initialize(){t.initTiming=t.now()}static mark(e,r,n){let i=new pRt(e,r,n);t.entries.push(i)}static startMark(e){let r=t.now(),n=e+r;return t.mark(n,FQ.START_MARK,r),n}static endMark(e){let r=t.now();t.mark(e,FQ.END_MARK,r)}static measure(e){let r=t.getEntriesByNameType(e,FQ.START_MARK).slice(-1)[0],n=t.getEntriesByNameType(e,FQ.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?FQ.END_MARK:FQ.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 bEr(`${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,FQ.MEASUREMENT).slice(-1)[0].getDurationTime()}static clearEntries(){t.entries=[]}};JM.initialize();var SHu=(t,e)=>new Error(`Wrong path for '${t}' field is specified in instructions with index - ${e}`),wHu=(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 SHu(r,n);s++}return a},mLa=(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=wHu(i,e.value.path,"val",e.paramIndex):s=i,typeof s=="number"&&!Number.isNaN(s)?n[a]=s:r[a]=s,[r,n]},qkn=(t,e)=>{let r,n,i={},a={};if(Array.isArray(e))for(let s of e)[r,n]=mLa(t,s),i={...i,...r},a={...a,...n};else[i,a]=mLa(t,e);return[i,a]};var gLa=(t,e,r,n)=>(...i)=>{let a=e.apply(t,i);return n9.getTelemetryClient().report(r,{},{},n),a},yLa=(t,e,r,n)=>async(...i)=>{let a=await e.apply(t,i);return n9.getTelemetryClient().report(r,{},{},n),a},_La=(t,e,r,n)=>(...i)=>{let a=JM.startMark("mark"),s=e.apply(t,i);JM.endMark(a),JM.measure(a);let c=JM.getMeasurementDuration(a);return n9.getTelemetryClient().report(r,{},{ms:c},n),s},vLa=(t,e,r,n)=>async(...i)=>{let a=JM.startMark("mark"),s=await e.apply(t,i);JM.endMark(a),JM.measure(a);let c=JM.getMeasurementDuration(a);return n9.getTelemetryClient().report(r,{},{ms:c},n),s},ELa=(t,e,r,n,i)=>(...a)=>{let s=e.apply(t,a),[c,l]=qkn(a,i);return n9.getTelemetryClient().report(r,c,l,n),s},bLa=(t,e,r,n,i)=>async(...a)=>{let s=await e.apply(t,a),[c,l]=qkn(a,i);return n9.getTelemetryClient().report(r,c,l,n),s};var TSe;(function(t){t.NOTIFICATION="notify",t.DURATION="duration",t.CAPTURE_PARAM="captureParam"})(TSe||(TSe={}));var TEr=new Map;TEr.set(TSe.NOTIFICATION,gLa);TEr.set(TSe.DURATION,_La);TEr.set(TSe.CAPTURE_PARAM,ELa);var SEr=new Map;SEr.set(TSe.NOTIFICATION,yLa);SEr.set(TSe.DURATION,vLa);SEr.set(TSe.CAPTURE_PARAM,bLa);var U$a=Nr(R$a(),1);import{randomUUID as c8u}from"node:crypto";var i8u=["@sap-ux","fiori-mcp-server"].join("/");var o8u="1.15.17",k$a={name:i8u,version:o8u};V_e();var M$a={telemetry:{unknownOs:"Unknown"}};var tMn="fiori-mcp-server",L$a=Jy.createInstance();async function s8u(){await L$a.init({resources:{en:{[tMn]:M$a}},lng:"en",fallbackLng:"en",defaultNS:tMn,ns:[tMn]})}function $$a(t,e){return L$a.t(t,e)}s8u().catch(()=>{});var{version:l8u}=k$a,F$a="@sap-ux/fiori-mcp-server",B$a="unknown-tool",u8u="0a65e45d-6bf4-421d-b845-61e888c50e9e",Jue=class{static _telemetryData;static _previousEventTimestamp;static _sessionId;static get telemetryData(){return this._telemetryData}static get sessionId(){return this._sessionId}static initSessionId(){this._sessionId=c8u(),gi.info(`Telemetry session initialized with ID: ${this._sessionId}`)}static async initTelemetrySettings(e){this._sessionId||this.initSessionId();let r={consumerModule:{name:F$a,version:l8u},watchTelemetrySettingStore:!1,internalFeature:xAt(),resourceId:u8u,...e};try{await Vkn(r)}catch(n){gi.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=$$a("telemetry.unknownOs");try{i=(0,U$a.default)()}catch{}this._telemetryData={Platform:Xy()?"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?JM.getMeasurementDuration(r.markName):void 0;return{eventName:e,properties:r,measurements:n?{RequestTime:n}:{}}}static markToolStartTime(){this.createTelemetryData({markName:JM.startMark("MCP_LOADING_TIME")})}static markToolsEndTime(){this._telemetryData?.markName&&(JM.endMark(this._telemetryData.markName),JM.measure(this._telemetryData.markName))}static async sendTelemetry(e,r,n){let i=this.createTelemetryData(r)??r,a=this.prepareTelemetryEvent(e,i);await n9.getTelemetryClient().reportEvent(a,iV.NoSampling,n?{appPath:n}:void 0)}static getTelemetryName(){return F$a}};var j$a="2024-11-05";function d8u(t){return $ke.includes(t)?t:$ke.includes(j$a)?j$a:$ke[$ke.length-1]}var BEr=class{server;mcpClientName="unknown-client";mcpClientVersion="unknown-version";constructor(){this.server=new XFt({name:"fiori-mcp",version:I5e,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=r=>gi.error(`[MCP Error] ${r}`);let e=async()=>{await mar(),await this.server.close(),process.exit(0)};process.on("SIGINT",e),process.on("SIGTERM",e)}async setupTelemetry(){await Jue.initTelemetrySettings()}setupToolHandlers(){this.server.setRequestHandler(Oht,async e=>{this.mcpClientName=e.params.clientInfo?.name||"unknown-client",this.mcpClientVersion=e.params.clientInfo?.version||"unknown-version",gi.info(`MCP Client connected: ${this.mcpClientName} v${this.mcpClientVersion}`);let r={mcpClientName:this.mcpClientName,mcpClientVersion:this.mcpClientVersion};return await Jue.sendTelemetry(vgo,r),{protocolVersion:d8u(e.params.protocolVersion),capabilities:{tools:{}},serverInfo:{name:"fiori-mcp",version:I5e},instructions:`
|
|
18950
18940
|
\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
|
|
18951
18941
|
\u{1F6A8}\u{1F6A8}\u{1F6A8} STOP - READ THIS BEFORE CALLING ANY TOOLS \u{1F6A8}\u{1F6A8}\u{1F6A8}
|
|
18952
18942
|
\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.15.
|
|
4
|
+
"version": "1.15.17",
|
|
5
5
|
"mcpName": "io.github.SAP/fiori-mcp-server",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"SAP Fiori tools",
|
|
@@ -61,26 +61,26 @@
|
|
|
61
61
|
"xml-formatter": "3.7.0",
|
|
62
62
|
"zod": "4.4.3",
|
|
63
63
|
"@sap-ux/adp-tooling": "1.0.67",
|
|
64
|
-
"@sap-ux/btp-utils": "2.0.8",
|
|
65
64
|
"@sap-ux/axios-extension": "2.1.3",
|
|
66
65
|
"@sap-ux/feature-toggle": "1.0.5",
|
|
66
|
+
"@sap-ux/btp-utils": "2.0.8",
|
|
67
67
|
"@sap-ux/fiori-annotation-api": "1.1.4",
|
|
68
68
|
"@sap-ux/fiori-docs-embeddings": "1.2.8",
|
|
69
69
|
"@sap-ux/i18n": "1.0.6",
|
|
70
70
|
"@sap-ux/logger": "1.0.3",
|
|
71
|
-
"@sap-ux/nodejs-utils": "1.0.12",
|
|
72
71
|
"@sap-ux/odata-annotation-core": "1.0.4",
|
|
73
|
-
"@sap-ux/
|
|
72
|
+
"@sap-ux/nodejs-utils": "1.0.12",
|
|
74
73
|
"@sap-ux/odata-annotation-core-types": "1.0.4",
|
|
75
74
|
"@sap-ux/odata-service-writer": "1.0.26",
|
|
75
|
+
"@sap-ux/odata-entity-model": "1.0.1",
|
|
76
76
|
"@sap-ux/project-access": "2.3.1",
|
|
77
|
-
"@sap-ux/store": "2.0.7",
|
|
78
77
|
"@sap-ux/project-input-validator": "1.0.24",
|
|
78
|
+
"@sap-ux/store": "2.0.7",
|
|
79
79
|
"@sap-ux/system-access": "1.0.17",
|
|
80
80
|
"@sap-ux/telemetry": "2.0.12",
|
|
81
81
|
"@sap-ux/text-document-utils": "1.0.4",
|
|
82
|
-
"@sap-ux/ui5-
|
|
83
|
-
"@sap-ux/ui5-
|
|
82
|
+
"@sap-ux/ui5-info": "1.0.7",
|
|
83
|
+
"@sap-ux/ui5-config": "1.0.10"
|
|
84
84
|
},
|
|
85
85
|
"engines": {
|
|
86
86
|
"node": ">=22.x"
|