@mcp-abap-adt/core 2.5.2 → 2.7.0
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/CHANGELOG.md +50 -0
- package/dist/handlers/behavior_definition/high/handleCreateBehaviorDefinition.js +2 -2
- package/dist/handlers/behavior_definition/high/handleCreateBehaviorDefinition.js.map +1 -1
- package/dist/handlers/behavior_definition/high/handleDeleteBehaviorDefinition.js +2 -2
- package/dist/handlers/behavior_definition/high/handleDeleteBehaviorDefinition.js.map +1 -1
- package/dist/handlers/behavior_definition/high/handleGetBehaviorDefinition.js +2 -2
- package/dist/handlers/behavior_definition/high/handleGetBehaviorDefinition.js.map +1 -1
- package/dist/handlers/behavior_definition/high/handleUpdateBehaviorDefinition.d.ts +4 -0
- package/dist/handlers/behavior_definition/high/handleUpdateBehaviorDefinition.d.ts.map +1 -1
- package/dist/handlers/behavior_definition/high/handleUpdateBehaviorDefinition.js +7 -2
- package/dist/handlers/behavior_definition/high/handleUpdateBehaviorDefinition.js.map +1 -1
- package/dist/handlers/behavior_definition/low/handleActivateBehaviorDefinition.js +2 -2
- package/dist/handlers/behavior_definition/low/handleActivateBehaviorDefinition.js.map +1 -1
- package/dist/handlers/behavior_definition/low/handleCheckBehaviorDefinition.js +2 -2
- package/dist/handlers/behavior_definition/low/handleCheckBehaviorDefinition.js.map +1 -1
- package/dist/handlers/behavior_definition/low/handleCreateBehaviorDefinition.js +2 -2
- package/dist/handlers/behavior_definition/low/handleCreateBehaviorDefinition.js.map +1 -1
- package/dist/handlers/behavior_definition/low/handleDeleteBehaviorDefinition.js +2 -2
- package/dist/handlers/behavior_definition/low/handleDeleteBehaviorDefinition.js.map +1 -1
- package/dist/handlers/behavior_definition/low/handleLockBehaviorDefinition.js +2 -2
- package/dist/handlers/behavior_definition/low/handleLockBehaviorDefinition.js.map +1 -1
- package/dist/handlers/behavior_definition/low/handleUnlockBehaviorDefinition.js +2 -2
- package/dist/handlers/behavior_definition/low/handleUnlockBehaviorDefinition.js.map +1 -1
- package/dist/handlers/behavior_definition/low/handleUpdateBehaviorDefinition.js +2 -2
- package/dist/handlers/behavior_definition/low/handleUpdateBehaviorDefinition.js.map +1 -1
- package/dist/handlers/behavior_definition/low/handleValidateBehaviorDefinition.js +2 -2
- package/dist/handlers/behavior_definition/low/handleValidateBehaviorDefinition.js.map +1 -1
- package/dist/handlers/behavior_implementation/high/handleCreateBehaviorImplementation.js +2 -2
- package/dist/handlers/behavior_implementation/high/handleCreateBehaviorImplementation.js.map +1 -1
- package/dist/handlers/behavior_implementation/high/handleDeleteBehaviorImplementation.js +2 -2
- package/dist/handlers/behavior_implementation/high/handleDeleteBehaviorImplementation.js.map +1 -1
- package/dist/handlers/behavior_implementation/high/handleGetBehaviorImplementation.js +2 -2
- package/dist/handlers/behavior_implementation/high/handleGetBehaviorImplementation.js.map +1 -1
- package/dist/handlers/behavior_implementation/high/handleUpdateBehaviorImplementation.js +2 -2
- package/dist/handlers/behavior_implementation/high/handleUpdateBehaviorImplementation.js.map +1 -1
- package/dist/handlers/behavior_implementation/low/handleCreateBehaviorImplementation.js +2 -2
- package/dist/handlers/behavior_implementation/low/handleCreateBehaviorImplementation.js.map +1 -1
- package/dist/handlers/behavior_implementation/low/handleLockBehaviorImplementation.js +2 -2
- package/dist/handlers/behavior_implementation/low/handleLockBehaviorImplementation.js.map +1 -1
- package/dist/handlers/behavior_implementation/low/handleValidateBehaviorImplementation.js +2 -2
- package/dist/handlers/behavior_implementation/low/handleValidateBehaviorImplementation.js.map +1 -1
- package/dist/handlers/class/high/handleCreateClass.js +2 -2
- package/dist/handlers/class/high/handleCreateClass.js.map +1 -1
- package/dist/handlers/class/high/handleCreateLocalDefinitions.js +2 -2
- package/dist/handlers/class/high/handleCreateLocalDefinitions.js.map +1 -1
- package/dist/handlers/class/high/handleCreateLocalMacros.js +2 -2
- package/dist/handlers/class/high/handleCreateLocalMacros.js.map +1 -1
- package/dist/handlers/class/high/handleCreateLocalTestClass.js +2 -2
- package/dist/handlers/class/high/handleCreateLocalTestClass.js.map +1 -1
- package/dist/handlers/class/high/handleCreateLocalTypes.js +2 -2
- package/dist/handlers/class/high/handleCreateLocalTypes.js.map +1 -1
- package/dist/handlers/class/high/handleDeleteClass.js +2 -2
- package/dist/handlers/class/high/handleDeleteClass.js.map +1 -1
- package/dist/handlers/class/high/handleDeleteLocalDefinitions.js +2 -2
- package/dist/handlers/class/high/handleDeleteLocalDefinitions.js.map +1 -1
- package/dist/handlers/class/high/handleDeleteLocalMacros.js +2 -2
- package/dist/handlers/class/high/handleDeleteLocalMacros.js.map +1 -1
- package/dist/handlers/class/high/handleDeleteLocalTestClass.js +2 -2
- package/dist/handlers/class/high/handleDeleteLocalTestClass.js.map +1 -1
- package/dist/handlers/class/high/handleDeleteLocalTypes.js +2 -2
- package/dist/handlers/class/high/handleDeleteLocalTypes.js.map +1 -1
- package/dist/handlers/class/high/handleGetClass.js +2 -2
- package/dist/handlers/class/high/handleGetClass.js.map +1 -1
- package/dist/handlers/class/high/handleGetLocalDefinitions.js +2 -2
- package/dist/handlers/class/high/handleGetLocalDefinitions.js.map +1 -1
- package/dist/handlers/class/high/handleGetLocalMacros.js +2 -2
- package/dist/handlers/class/high/handleGetLocalMacros.js.map +1 -1
- package/dist/handlers/class/high/handleGetLocalTestClass.js +2 -2
- package/dist/handlers/class/high/handleGetLocalTestClass.js.map +1 -1
- package/dist/handlers/class/high/handleGetLocalTypes.js +2 -2
- package/dist/handlers/class/high/handleGetLocalTypes.js.map +1 -1
- package/dist/handlers/class/high/handleUpdateClass.d.ts +5 -0
- package/dist/handlers/class/high/handleUpdateClass.d.ts.map +1 -1
- package/dist/handlers/class/high/handleUpdateClass.js +11 -5
- package/dist/handlers/class/high/handleUpdateClass.js.map +1 -1
- package/dist/handlers/class/high/handleUpdateLocalDefinitions.js +2 -2
- package/dist/handlers/class/high/handleUpdateLocalDefinitions.js.map +1 -1
- package/dist/handlers/class/high/handleUpdateLocalMacros.js +2 -2
- package/dist/handlers/class/high/handleUpdateLocalMacros.js.map +1 -1
- package/dist/handlers/class/high/handleUpdateLocalTestClass.js +2 -2
- package/dist/handlers/class/high/handleUpdateLocalTestClass.js.map +1 -1
- package/dist/handlers/class/high/handleUpdateLocalTypes.js +2 -2
- package/dist/handlers/class/high/handleUpdateLocalTypes.js.map +1 -1
- package/dist/handlers/class/low/handleActivateClass.js +2 -2
- package/dist/handlers/class/low/handleActivateClass.js.map +1 -1
- package/dist/handlers/class/low/handleActivateClassTestClasses.js +2 -2
- package/dist/handlers/class/low/handleActivateClassTestClasses.js.map +1 -1
- package/dist/handlers/class/low/handleCheckClass.js +2 -2
- package/dist/handlers/class/low/handleCheckClass.js.map +1 -1
- package/dist/handlers/class/low/handleCreateClass.js +2 -2
- package/dist/handlers/class/low/handleCreateClass.js.map +1 -1
- package/dist/handlers/class/low/handleDeleteClass.js +2 -2
- package/dist/handlers/class/low/handleDeleteClass.js.map +1 -1
- package/dist/handlers/class/low/handleGetClassUnitTestResult.js +2 -2
- package/dist/handlers/class/low/handleGetClassUnitTestResult.js.map +1 -1
- package/dist/handlers/class/low/handleGetClassUnitTestStatus.js +2 -2
- package/dist/handlers/class/low/handleGetClassUnitTestStatus.js.map +1 -1
- package/dist/handlers/class/low/handleLockClass.js +2 -2
- package/dist/handlers/class/low/handleLockClass.js.map +1 -1
- package/dist/handlers/class/low/handleLockClassTestClasses.js +2 -2
- package/dist/handlers/class/low/handleLockClassTestClasses.js.map +1 -1
- package/dist/handlers/class/low/handleRunClassUnitTests.js +2 -2
- package/dist/handlers/class/low/handleRunClassUnitTests.js.map +1 -1
- package/dist/handlers/class/low/handleUnlockClass.js +2 -2
- package/dist/handlers/class/low/handleUnlockClass.js.map +1 -1
- package/dist/handlers/class/low/handleUnlockClassTestClasses.js +2 -2
- package/dist/handlers/class/low/handleUnlockClassTestClasses.js.map +1 -1
- package/dist/handlers/class/low/handleUpdateClass.js +2 -2
- package/dist/handlers/class/low/handleUpdateClass.js.map +1 -1
- package/dist/handlers/class/low/handleUpdateClassTestClasses.js +2 -2
- package/dist/handlers/class/low/handleUpdateClassTestClasses.js.map +1 -1
- package/dist/handlers/class/low/handleValidateClass.js +2 -2
- package/dist/handlers/class/low/handleValidateClass.js.map +1 -1
- package/dist/handlers/common/low/handleActivateObject.d.ts +1 -1
- package/dist/handlers/common/low/handleActivateObject.d.ts.map +1 -1
- package/dist/handlers/common/low/handleActivateObject.js +2 -2
- package/dist/handlers/common/low/handleActivateObject.js.map +1 -1
- package/dist/handlers/common/low/handleCheckObject.js +2 -2
- package/dist/handlers/common/low/handleCheckObject.js.map +1 -1
- package/dist/handlers/common/low/handleDeleteObject.js +2 -2
- package/dist/handlers/common/low/handleDeleteObject.js.map +1 -1
- package/dist/handlers/common/low/handleLockObject.js +2 -2
- package/dist/handlers/common/low/handleLockObject.js.map +1 -1
- package/dist/handlers/common/low/handleUnlockObject.js +2 -2
- package/dist/handlers/common/low/handleUnlockObject.js.map +1 -1
- package/dist/handlers/common/low/handleValidateObject.js +2 -2
- package/dist/handlers/common/low/handleValidateObject.js.map +1 -1
- package/dist/handlers/data_element/high/handleCreateDataElement.d.ts.map +1 -1
- package/dist/handlers/data_element/high/handleCreateDataElement.js +3 -2
- package/dist/handlers/data_element/high/handleCreateDataElement.js.map +1 -1
- package/dist/handlers/data_element/high/handleDeleteDataElement.js +2 -2
- package/dist/handlers/data_element/high/handleDeleteDataElement.js.map +1 -1
- package/dist/handlers/data_element/high/handleGetDataElement.js +2 -2
- package/dist/handlers/data_element/high/handleGetDataElement.js.map +1 -1
- package/dist/handlers/data_element/high/handleUpdateDataElement.js +2 -2
- package/dist/handlers/data_element/high/handleUpdateDataElement.js.map +1 -1
- package/dist/handlers/data_element/low/handleActivateDataElement.js +2 -2
- package/dist/handlers/data_element/low/handleActivateDataElement.js.map +1 -1
- package/dist/handlers/data_element/low/handleCheckDataElement.js +2 -2
- package/dist/handlers/data_element/low/handleCheckDataElement.js.map +1 -1
- package/dist/handlers/data_element/low/handleCreateDataElement.js +2 -2
- package/dist/handlers/data_element/low/handleCreateDataElement.js.map +1 -1
- package/dist/handlers/data_element/low/handleDeleteDataElement.js +2 -2
- package/dist/handlers/data_element/low/handleDeleteDataElement.js.map +1 -1
- package/dist/handlers/data_element/low/handleLockDataElement.js +2 -2
- package/dist/handlers/data_element/low/handleLockDataElement.js.map +1 -1
- package/dist/handlers/data_element/low/handleUnlockDataElement.js +2 -2
- package/dist/handlers/data_element/low/handleUnlockDataElement.js.map +1 -1
- package/dist/handlers/data_element/low/handleUpdateDataElement.js +2 -2
- package/dist/handlers/data_element/low/handleUpdateDataElement.js.map +1 -1
- package/dist/handlers/data_element/low/handleValidateDataElement.js +2 -2
- package/dist/handlers/data_element/low/handleValidateDataElement.js.map +1 -1
- package/dist/handlers/ddlx/high/handleCreateMetadataExtension.js +2 -2
- package/dist/handlers/ddlx/high/handleCreateMetadataExtension.js.map +1 -1
- package/dist/handlers/ddlx/high/handleUpdateMetadataExtension.js +2 -2
- package/dist/handlers/ddlx/high/handleUpdateMetadataExtension.js.map +1 -1
- package/dist/handlers/ddlx/low/handleActivateMetadataExtension.js +2 -2
- package/dist/handlers/ddlx/low/handleActivateMetadataExtension.js.map +1 -1
- package/dist/handlers/ddlx/low/handleCheckMetadataExtension.js +2 -2
- package/dist/handlers/ddlx/low/handleCheckMetadataExtension.js.map +1 -1
- package/dist/handlers/ddlx/low/handleCreateMetadataExtension.js +2 -2
- package/dist/handlers/ddlx/low/handleCreateMetadataExtension.js.map +1 -1
- package/dist/handlers/ddlx/low/handleDeleteMetadataExtension.js +2 -2
- package/dist/handlers/ddlx/low/handleDeleteMetadataExtension.js.map +1 -1
- package/dist/handlers/ddlx/low/handleLockMetadataExtension.js +2 -2
- package/dist/handlers/ddlx/low/handleLockMetadataExtension.js.map +1 -1
- package/dist/handlers/ddlx/low/handleUnlockMetadataExtension.js +2 -2
- package/dist/handlers/ddlx/low/handleUnlockMetadataExtension.js.map +1 -1
- package/dist/handlers/ddlx/low/handleUpdateMetadataExtension.js +2 -2
- package/dist/handlers/ddlx/low/handleUpdateMetadataExtension.js.map +1 -1
- package/dist/handlers/ddlx/low/handleValidateMetadataExtension.js +2 -2
- package/dist/handlers/ddlx/low/handleValidateMetadataExtension.js.map +1 -1
- package/dist/handlers/domain/high/handleCreateDomain.d.ts.map +1 -1
- package/dist/handlers/domain/high/handleCreateDomain.js +3 -2
- package/dist/handlers/domain/high/handleCreateDomain.js.map +1 -1
- package/dist/handlers/domain/high/handleDeleteDomain.js +2 -2
- package/dist/handlers/domain/high/handleDeleteDomain.js.map +1 -1
- package/dist/handlers/domain/high/handleGetDomain.js +2 -2
- package/dist/handlers/domain/high/handleGetDomain.js.map +1 -1
- package/dist/handlers/domain/high/handleUpdateDomain.d.ts.map +1 -1
- package/dist/handlers/domain/high/handleUpdateDomain.js +3 -2
- package/dist/handlers/domain/high/handleUpdateDomain.js.map +1 -1
- package/dist/handlers/domain/low/handleActivateDomain.js +2 -2
- package/dist/handlers/domain/low/handleActivateDomain.js.map +1 -1
- package/dist/handlers/domain/low/handleCheckDomain.js +2 -2
- package/dist/handlers/domain/low/handleCheckDomain.js.map +1 -1
- package/dist/handlers/domain/low/handleCreateDomain.js +2 -2
- package/dist/handlers/domain/low/handleCreateDomain.js.map +1 -1
- package/dist/handlers/domain/low/handleDeleteDomain.js +2 -2
- package/dist/handlers/domain/low/handleDeleteDomain.js.map +1 -1
- package/dist/handlers/domain/low/handleLockDomain.js +2 -2
- package/dist/handlers/domain/low/handleLockDomain.js.map +1 -1
- package/dist/handlers/domain/low/handleUnlockDomain.js +2 -2
- package/dist/handlers/domain/low/handleUnlockDomain.js.map +1 -1
- package/dist/handlers/domain/low/handleUpdateDomain.js +2 -2
- package/dist/handlers/domain/low/handleUpdateDomain.js.map +1 -1
- package/dist/handlers/domain/low/handleValidateDomain.js +2 -2
- package/dist/handlers/domain/low/handleValidateDomain.js.map +1 -1
- package/dist/handlers/enhancement/readonly/handleGetEnhancements.js +2 -2
- package/dist/handlers/enhancement/readonly/handleGetEnhancements.js.map +1 -1
- package/dist/handlers/function/high/handleCreateFunctionGroup.js +2 -2
- package/dist/handlers/function/high/handleCreateFunctionGroup.js.map +1 -1
- package/dist/handlers/function/high/handleCreateFunctionModule.d.ts.map +1 -1
- package/dist/handlers/function/high/handleCreateFunctionModule.js +3 -2
- package/dist/handlers/function/high/handleCreateFunctionModule.js.map +1 -1
- package/dist/handlers/function/high/handleUpdateFunctionGroup.js +2 -2
- package/dist/handlers/function/high/handleUpdateFunctionGroup.js.map +1 -1
- package/dist/handlers/function/high/handleUpdateFunctionModule.js +2 -2
- package/dist/handlers/function/high/handleUpdateFunctionModule.js.map +1 -1
- package/dist/handlers/function/low/handleActivateFunctionGroup.js +2 -2
- package/dist/handlers/function/low/handleActivateFunctionGroup.js.map +1 -1
- package/dist/handlers/function/low/handleActivateFunctionModule.js +2 -2
- package/dist/handlers/function/low/handleActivateFunctionModule.js.map +1 -1
- package/dist/handlers/function/low/handleCheckFunctionGroup.js +2 -2
- package/dist/handlers/function/low/handleCheckFunctionGroup.js.map +1 -1
- package/dist/handlers/function/low/handleCheckFunctionModule.js +2 -2
- package/dist/handlers/function/low/handleCheckFunctionModule.js.map +1 -1
- package/dist/handlers/function/low/handleCreateFunctionGroup.js +2 -2
- package/dist/handlers/function/low/handleCreateFunctionGroup.js.map +1 -1
- package/dist/handlers/function/low/handleCreateFunctionModule.js +2 -2
- package/dist/handlers/function/low/handleCreateFunctionModule.js.map +1 -1
- package/dist/handlers/function/low/handleDeleteFunctionGroup.js +2 -2
- package/dist/handlers/function/low/handleDeleteFunctionGroup.js.map +1 -1
- package/dist/handlers/function/low/handleDeleteFunctionModule.js +2 -2
- package/dist/handlers/function/low/handleDeleteFunctionModule.js.map +1 -1
- package/dist/handlers/function/low/handleLockFunctionGroup.js +2 -2
- package/dist/handlers/function/low/handleLockFunctionGroup.js.map +1 -1
- package/dist/handlers/function/low/handleLockFunctionModule.js +2 -2
- package/dist/handlers/function/low/handleLockFunctionModule.js.map +1 -1
- package/dist/handlers/function/low/handleUnlockFunctionGroup.js +2 -2
- package/dist/handlers/function/low/handleUnlockFunctionGroup.js.map +1 -1
- package/dist/handlers/function/low/handleUnlockFunctionModule.js +2 -2
- package/dist/handlers/function/low/handleUnlockFunctionModule.js.map +1 -1
- package/dist/handlers/function/low/handleUpdateFunctionModule.js +2 -2
- package/dist/handlers/function/low/handleUpdateFunctionModule.js.map +1 -1
- package/dist/handlers/function/low/handleValidateFunctionGroup.js +2 -2
- package/dist/handlers/function/low/handleValidateFunctionGroup.js.map +1 -1
- package/dist/handlers/function/low/handleValidateFunctionModule.js +2 -2
- package/dist/handlers/function/low/handleValidateFunctionModule.js.map +1 -1
- package/dist/handlers/function/readonly/handleGetFunction.d.ts.map +1 -1
- package/dist/handlers/function/readonly/handleGetFunction.js +2 -2
- package/dist/handlers/function/readonly/handleGetFunction.js.map +1 -1
- package/dist/handlers/function_group/high/handleDeleteFunctionGroup.js +2 -2
- package/dist/handlers/function_group/high/handleDeleteFunctionGroup.js.map +1 -1
- package/dist/handlers/function_group/high/handleGetFunctionGroup.js +2 -2
- package/dist/handlers/function_group/high/handleGetFunctionGroup.js.map +1 -1
- package/dist/handlers/function_module/high/handleDeleteFunctionModule.js +2 -2
- package/dist/handlers/function_module/high/handleDeleteFunctionModule.js.map +1 -1
- package/dist/handlers/function_module/high/handleGetFunctionModule.js +2 -2
- package/dist/handlers/function_module/high/handleGetFunctionModule.js.map +1 -1
- package/dist/handlers/include/readonly/handleGetIncludesList.js +2 -2
- package/dist/handlers/include/readonly/handleGetIncludesList.js.map +1 -1
- package/dist/handlers/interface/high/handleCreateInterface.d.ts.map +1 -1
- package/dist/handlers/interface/high/handleCreateInterface.js +7 -5
- package/dist/handlers/interface/high/handleCreateInterface.js.map +1 -1
- package/dist/handlers/interface/high/handleDeleteInterface.js +2 -2
- package/dist/handlers/interface/high/handleDeleteInterface.js.map +1 -1
- package/dist/handlers/interface/high/handleGetInterface.js +2 -2
- package/dist/handlers/interface/high/handleGetInterface.js.map +1 -1
- package/dist/handlers/interface/high/handleUpdateInterface.js +2 -2
- package/dist/handlers/interface/high/handleUpdateInterface.js.map +1 -1
- package/dist/handlers/interface/low/handleActivateInterface.js +2 -2
- package/dist/handlers/interface/low/handleActivateInterface.js.map +1 -1
- package/dist/handlers/interface/low/handleCheckInterface.js +2 -2
- package/dist/handlers/interface/low/handleCheckInterface.js.map +1 -1
- package/dist/handlers/interface/low/handleCreateInterface.js +2 -2
- package/dist/handlers/interface/low/handleCreateInterface.js.map +1 -1
- package/dist/handlers/interface/low/handleDeleteInterface.js +2 -2
- package/dist/handlers/interface/low/handleDeleteInterface.js.map +1 -1
- package/dist/handlers/interface/low/handleLockInterface.js +2 -2
- package/dist/handlers/interface/low/handleLockInterface.js.map +1 -1
- package/dist/handlers/interface/low/handleUnlockInterface.js +2 -2
- package/dist/handlers/interface/low/handleUnlockInterface.js.map +1 -1
- package/dist/handlers/interface/low/handleUpdateInterface.js +2 -2
- package/dist/handlers/interface/low/handleUpdateInterface.js.map +1 -1
- package/dist/handlers/interface/low/handleValidateInterface.js +2 -2
- package/dist/handlers/interface/low/handleValidateInterface.js.map +1 -1
- package/dist/handlers/metadata_extension/high/handleDeleteMetadataExtension.js +2 -2
- package/dist/handlers/metadata_extension/high/handleDeleteMetadataExtension.js.map +1 -1
- package/dist/handlers/metadata_extension/high/handleGetMetadataExtension.js +2 -2
- package/dist/handlers/metadata_extension/high/handleGetMetadataExtension.js.map +1 -1
- package/dist/handlers/package/high/handleCreatePackage.d.ts.map +1 -1
- package/dist/handlers/package/high/handleCreatePackage.js +2 -2
- package/dist/handlers/package/high/handleCreatePackage.js.map +1 -1
- package/dist/handlers/package/high/handleGetPackage.js +2 -2
- package/dist/handlers/package/high/handleGetPackage.js.map +1 -1
- package/dist/handlers/package/low/handleCheckPackage.js +2 -2
- package/dist/handlers/package/low/handleCheckPackage.js.map +1 -1
- package/dist/handlers/package/low/handleCreatePackage.js +2 -2
- package/dist/handlers/package/low/handleCreatePackage.js.map +1 -1
- package/dist/handlers/package/low/handleDeletePackage.d.ts.map +1 -1
- package/dist/handlers/package/low/handleDeletePackage.js +2 -2
- package/dist/handlers/package/low/handleDeletePackage.js.map +1 -1
- package/dist/handlers/package/low/handleLockPackage.js +2 -2
- package/dist/handlers/package/low/handleLockPackage.js.map +1 -1
- package/dist/handlers/package/low/handleUnlockPackage.js +2 -2
- package/dist/handlers/package/low/handleUnlockPackage.js.map +1 -1
- package/dist/handlers/package/low/handleUpdatePackage.js +2 -2
- package/dist/handlers/package/low/handleUpdatePackage.js.map +1 -1
- package/dist/handlers/package/low/handleValidatePackage.js +2 -2
- package/dist/handlers/package/low/handleValidatePackage.js.map +1 -1
- package/dist/handlers/package/readonly/handleGetPackageContents.d.ts.map +1 -1
- package/dist/handlers/package/readonly/handleGetPackageContents.js +2 -2
- package/dist/handlers/package/readonly/handleGetPackageContents.js.map +1 -1
- package/dist/handlers/program/high/handleCreateProgram.d.ts.map +1 -1
- package/dist/handlers/program/high/handleCreateProgram.js +7 -5
- package/dist/handlers/program/high/handleCreateProgram.js.map +1 -1
- package/dist/handlers/program/high/handleDeleteProgram.js +2 -2
- package/dist/handlers/program/high/handleDeleteProgram.js.map +1 -1
- package/dist/handlers/program/high/handleGetProgram.js +2 -2
- package/dist/handlers/program/high/handleGetProgram.js.map +1 -1
- package/dist/handlers/program/high/handleUpdateProgram.d.ts +4 -0
- package/dist/handlers/program/high/handleUpdateProgram.d.ts.map +1 -1
- package/dist/handlers/program/high/handleUpdateProgram.js +11 -5
- package/dist/handlers/program/high/handleUpdateProgram.js.map +1 -1
- package/dist/handlers/program/low/handleActivateProgram.js +2 -2
- package/dist/handlers/program/low/handleActivateProgram.js.map +1 -1
- package/dist/handlers/program/low/handleCheckProgram.js +2 -2
- package/dist/handlers/program/low/handleCheckProgram.js.map +1 -1
- package/dist/handlers/program/low/handleCreateProgram.js +2 -2
- package/dist/handlers/program/low/handleCreateProgram.js.map +1 -1
- package/dist/handlers/program/low/handleDeleteProgram.js +2 -2
- package/dist/handlers/program/low/handleDeleteProgram.js.map +1 -1
- package/dist/handlers/program/low/handleLockProgram.js +2 -2
- package/dist/handlers/program/low/handleLockProgram.js.map +1 -1
- package/dist/handlers/program/low/handleUnlockProgram.js +2 -2
- package/dist/handlers/program/low/handleUnlockProgram.js.map +1 -1
- package/dist/handlers/program/low/handleUpdateProgram.js +2 -2
- package/dist/handlers/program/low/handleUpdateProgram.js.map +1 -1
- package/dist/handlers/program/low/handleValidateProgram.js +2 -2
- package/dist/handlers/program/low/handleValidateProgram.js.map +1 -1
- package/dist/handlers/program/readonly/handleGetProgFullCode.js +3 -3
- package/dist/handlers/program/readonly/handleGetProgFullCode.js.map +1 -1
- package/dist/handlers/search/readonly/handleGetObjectsByType.js +2 -2
- package/dist/handlers/search/readonly/handleGetObjectsByType.js.map +1 -1
- package/dist/handlers/search/readonly/handleGetObjectsList.d.ts.map +1 -1
- package/dist/handlers/search/readonly/handleGetObjectsList.js +2 -2
- package/dist/handlers/search/readonly/handleGetObjectsList.js.map +1 -1
- package/dist/handlers/search/readonly/handleSearchObject.js +2 -2
- package/dist/handlers/search/readonly/handleSearchObject.js.map +1 -1
- package/dist/handlers/service_binding/high/handleCreateServiceBinding.js +2 -2
- package/dist/handlers/service_binding/high/handleCreateServiceBinding.js.map +1 -1
- package/dist/handlers/service_binding/high/handleDeleteServiceBinding.js +2 -2
- package/dist/handlers/service_binding/high/handleDeleteServiceBinding.js.map +1 -1
- package/dist/handlers/service_binding/high/handleGetServiceBinding.js +2 -2
- package/dist/handlers/service_binding/high/handleGetServiceBinding.js.map +1 -1
- package/dist/handlers/service_binding/high/handleListServiceBindingTypes.js +2 -2
- package/dist/handlers/service_binding/high/handleListServiceBindingTypes.js.map +1 -1
- package/dist/handlers/service_binding/high/handleListServiceBindings.d.ts +44 -0
- package/dist/handlers/service_binding/high/handleListServiceBindings.d.ts.map +1 -0
- package/dist/handlers/service_binding/high/handleListServiceBindings.js +211 -0
- package/dist/handlers/service_binding/high/handleListServiceBindings.js.map +1 -0
- package/dist/handlers/service_binding/high/handleUpdateServiceBinding.js +2 -2
- package/dist/handlers/service_binding/high/handleUpdateServiceBinding.js.map +1 -1
- package/dist/handlers/service_binding/high/handleValidateServiceBinding.js +2 -2
- package/dist/handlers/service_binding/high/handleValidateServiceBinding.js.map +1 -1
- package/dist/handlers/service_binding/high/serviceBindingXmlBuilder.d.ts +11 -0
- package/dist/handlers/service_binding/high/serviceBindingXmlBuilder.d.ts.map +1 -0
- package/dist/handlers/service_binding/high/serviceBindingXmlBuilder.js +27 -0
- package/dist/handlers/service_binding/high/serviceBindingXmlBuilder.js.map +1 -0
- package/dist/handlers/service_definition/high/handleCreateServiceDefinition.js +2 -2
- package/dist/handlers/service_definition/high/handleCreateServiceDefinition.js.map +1 -1
- package/dist/handlers/service_definition/high/handleDeleteServiceDefinition.js +2 -2
- package/dist/handlers/service_definition/high/handleDeleteServiceDefinition.js.map +1 -1
- package/dist/handlers/service_definition/high/handleGetServiceDefinition.js +2 -2
- package/dist/handlers/service_definition/high/handleGetServiceDefinition.js.map +1 -1
- package/dist/handlers/service_definition/high/handleUpdateServiceDefinition.d.ts.map +1 -1
- package/dist/handlers/service_definition/high/handleUpdateServiceDefinition.js +7 -5
- package/dist/handlers/service_definition/high/handleUpdateServiceDefinition.js.map +1 -1
- package/dist/handlers/structure/high/handleCreateStructure.js +2 -2
- package/dist/handlers/structure/high/handleCreateStructure.js.map +1 -1
- package/dist/handlers/structure/high/handleDeleteStructure.js +2 -2
- package/dist/handlers/structure/high/handleDeleteStructure.js.map +1 -1
- package/dist/handlers/structure/high/handleGetStructure.js +2 -2
- package/dist/handlers/structure/high/handleGetStructure.js.map +1 -1
- package/dist/handlers/structure/high/handleUpdateStructure.d.ts.map +1 -1
- package/dist/handlers/structure/high/handleUpdateStructure.js +7 -5
- package/dist/handlers/structure/high/handleUpdateStructure.js.map +1 -1
- package/dist/handlers/structure/low/handleActivateStructure.js +2 -2
- package/dist/handlers/structure/low/handleActivateStructure.js.map +1 -1
- package/dist/handlers/structure/low/handleCheckStructure.js +2 -2
- package/dist/handlers/structure/low/handleCheckStructure.js.map +1 -1
- package/dist/handlers/structure/low/handleCreateStructure.js +2 -2
- package/dist/handlers/structure/low/handleCreateStructure.js.map +1 -1
- package/dist/handlers/structure/low/handleDeleteStructure.js +2 -2
- package/dist/handlers/structure/low/handleDeleteStructure.js.map +1 -1
- package/dist/handlers/structure/low/handleLockStructure.js +2 -2
- package/dist/handlers/structure/low/handleLockStructure.js.map +1 -1
- package/dist/handlers/structure/low/handleUnlockStructure.js +2 -2
- package/dist/handlers/structure/low/handleUnlockStructure.js.map +1 -1
- package/dist/handlers/structure/low/handleUpdateStructure.js +2 -2
- package/dist/handlers/structure/low/handleUpdateStructure.js.map +1 -1
- package/dist/handlers/structure/low/handleValidateStructure.js +2 -2
- package/dist/handlers/structure/low/handleValidateStructure.js.map +1 -1
- package/dist/handlers/system/high/handleGetPackageTree.js +2 -2
- package/dist/handlers/system/high/handleGetPackageTree.js.map +1 -1
- package/dist/handlers/system/low/handleGetNodeStructure.js +2 -2
- package/dist/handlers/system/low/handleGetNodeStructure.js.map +1 -1
- package/dist/handlers/system/low/handleGetObjectStructure.js +2 -2
- package/dist/handlers/system/low/handleGetObjectStructure.js.map +1 -1
- package/dist/handlers/system/low/handleGetVirtualFolders.js +2 -2
- package/dist/handlers/system/low/handleGetVirtualFolders.js.map +1 -1
- package/dist/handlers/system/readonly/handleGetAllTypes.js +2 -2
- package/dist/handlers/system/readonly/handleGetAllTypes.js.map +1 -1
- package/dist/handlers/system/readonly/handleGetInactiveObjects.js +2 -2
- package/dist/handlers/system/readonly/handleGetInactiveObjects.js.map +1 -1
- package/dist/handlers/system/readonly/handleGetObjectInfo.js +2 -2
- package/dist/handlers/system/readonly/handleGetObjectInfo.js.map +1 -1
- package/dist/handlers/system/readonly/handleGetObjectStructure.js +2 -2
- package/dist/handlers/system/readonly/handleGetObjectStructure.js.map +1 -1
- package/dist/handlers/system/readonly/handleGetSqlQuery.js +2 -2
- package/dist/handlers/system/readonly/handleGetSqlQuery.js.map +1 -1
- package/dist/handlers/system/readonly/handleGetTransaction.js +2 -2
- package/dist/handlers/system/readonly/handleGetTransaction.js.map +1 -1
- package/dist/handlers/system/readonly/handleGetWhereUsed.js +2 -2
- package/dist/handlers/system/readonly/handleGetWhereUsed.js.map +1 -1
- package/dist/handlers/system/readonly/handleRuntimeGetDumpByUri.d.ts +27 -0
- package/dist/handlers/system/readonly/handleRuntimeGetDumpByUri.d.ts.map +1 -0
- package/dist/handlers/system/readonly/handleRuntimeGetDumpByUri.js +47 -0
- package/dist/handlers/system/readonly/handleRuntimeGetDumpByUri.js.map +1 -0
- package/dist/handlers/system/readonly/runtimeDumpReadCompat.d.ts +8 -0
- package/dist/handlers/system/readonly/runtimeDumpReadCompat.d.ts.map +1 -0
- package/dist/handlers/system/readonly/runtimeDumpReadCompat.js +55 -0
- package/dist/handlers/system/readonly/runtimeDumpReadCompat.js.map +1 -0
- package/dist/handlers/table/high/handleCreateTable.d.ts.map +1 -1
- package/dist/handlers/table/high/handleCreateTable.js +7 -5
- package/dist/handlers/table/high/handleCreateTable.js.map +1 -1
- package/dist/handlers/table/high/handleDeleteTable.js +2 -2
- package/dist/handlers/table/high/handleDeleteTable.js.map +1 -1
- package/dist/handlers/table/high/handleGetTable.js +2 -2
- package/dist/handlers/table/high/handleGetTable.js.map +1 -1
- package/dist/handlers/table/high/handleUpdateTable.js +2 -2
- package/dist/handlers/table/high/handleUpdateTable.js.map +1 -1
- package/dist/handlers/table/low/handleActivateTable.js +2 -2
- package/dist/handlers/table/low/handleActivateTable.js.map +1 -1
- package/dist/handlers/table/low/handleCheckTable.js +2 -2
- package/dist/handlers/table/low/handleCheckTable.js.map +1 -1
- package/dist/handlers/table/low/handleCreateTable.js +2 -2
- package/dist/handlers/table/low/handleCreateTable.js.map +1 -1
- package/dist/handlers/table/low/handleDeleteTable.js +2 -2
- package/dist/handlers/table/low/handleDeleteTable.js.map +1 -1
- package/dist/handlers/table/low/handleLockTable.js +2 -2
- package/dist/handlers/table/low/handleLockTable.js.map +1 -1
- package/dist/handlers/table/low/handleUnlockTable.js +2 -2
- package/dist/handlers/table/low/handleUnlockTable.js.map +1 -1
- package/dist/handlers/table/low/handleUpdateTable.js +2 -2
- package/dist/handlers/table/low/handleUpdateTable.js.map +1 -1
- package/dist/handlers/table/low/handleValidateTable.js +2 -2
- package/dist/handlers/table/low/handleValidateTable.js.map +1 -1
- package/dist/handlers/transport/high/handleCreateTransport.js +2 -2
- package/dist/handlers/transport/high/handleCreateTransport.js.map +1 -1
- package/dist/handlers/transport/low/handleCreateTransport.js +2 -2
- package/dist/handlers/transport/low/handleCreateTransport.js.map +1 -1
- package/dist/handlers/transport/readonly/handleListTransports.d.ts +38 -0
- package/dist/handlers/transport/readonly/handleListTransports.d.ts.map +1 -0
- package/dist/handlers/transport/readonly/handleListTransports.js +94 -0
- package/dist/handlers/transport/readonly/handleListTransports.js.map +1 -0
- package/dist/handlers/transport/readonly/handleResolveTransport.d.ts +42 -0
- package/dist/handlers/transport/readonly/handleResolveTransport.d.ts.map +1 -0
- package/dist/handlers/transport/readonly/handleResolveTransport.js +75 -0
- package/dist/handlers/transport/readonly/handleResolveTransport.js.map +1 -0
- package/dist/handlers/unit_test/high/handleCreateCdsUnitTest.js +2 -2
- package/dist/handlers/unit_test/high/handleCreateCdsUnitTest.js.map +1 -1
- package/dist/handlers/unit_test/high/handleCreateUnitTest.js +2 -2
- package/dist/handlers/unit_test/high/handleCreateUnitTest.js.map +1 -1
- package/dist/handlers/unit_test/high/handleDeleteCdsUnitTest.js +2 -2
- package/dist/handlers/unit_test/high/handleDeleteCdsUnitTest.js.map +1 -1
- package/dist/handlers/unit_test/high/handleDeleteUnitTest.js +2 -2
- package/dist/handlers/unit_test/high/handleDeleteUnitTest.js.map +1 -1
- package/dist/handlers/unit_test/high/handleGetCdsUnitTest.js +2 -2
- package/dist/handlers/unit_test/high/handleGetCdsUnitTest.js.map +1 -1
- package/dist/handlers/unit_test/high/handleGetCdsUnitTestResult.js +2 -2
- package/dist/handlers/unit_test/high/handleGetCdsUnitTestResult.js.map +1 -1
- package/dist/handlers/unit_test/high/handleGetCdsUnitTestStatus.js +2 -2
- package/dist/handlers/unit_test/high/handleGetCdsUnitTestStatus.js.map +1 -1
- package/dist/handlers/unit_test/high/handleGetUnitTest.js +2 -2
- package/dist/handlers/unit_test/high/handleGetUnitTest.js.map +1 -1
- package/dist/handlers/unit_test/high/handleGetUnitTestResult.js +2 -2
- package/dist/handlers/unit_test/high/handleGetUnitTestResult.js.map +1 -1
- package/dist/handlers/unit_test/high/handleGetUnitTestStatus.js +2 -2
- package/dist/handlers/unit_test/high/handleGetUnitTestStatus.js.map +1 -1
- package/dist/handlers/unit_test/high/handleRunUnitTest.js +2 -2
- package/dist/handlers/unit_test/high/handleRunUnitTest.js.map +1 -1
- package/dist/handlers/unit_test/high/handleUpdateCdsUnitTest.js +2 -2
- package/dist/handlers/unit_test/high/handleUpdateCdsUnitTest.js.map +1 -1
- package/dist/handlers/unit_test/high/handleUpdateUnitTest.js +2 -2
- package/dist/handlers/unit_test/high/handleUpdateUnitTest.js.map +1 -1
- package/dist/handlers/view/high/handleCreateView.d.ts.map +1 -1
- package/dist/handlers/view/high/handleCreateView.js +7 -5
- package/dist/handlers/view/high/handleCreateView.js.map +1 -1
- package/dist/handlers/view/high/handleDeleteView.js +2 -2
- package/dist/handlers/view/high/handleDeleteView.js.map +1 -1
- package/dist/handlers/view/high/handleGetView.js +2 -2
- package/dist/handlers/view/high/handleGetView.js.map +1 -1
- package/dist/handlers/view/high/handleUpdateView.d.ts +4 -0
- package/dist/handlers/view/high/handleUpdateView.d.ts.map +1 -1
- package/dist/handlers/view/high/handleUpdateView.js +11 -5
- package/dist/handlers/view/high/handleUpdateView.js.map +1 -1
- package/dist/handlers/view/low/handleActivateView.js +2 -2
- package/dist/handlers/view/low/handleActivateView.js.map +1 -1
- package/dist/handlers/view/low/handleCheckView.js +2 -2
- package/dist/handlers/view/low/handleCheckView.js.map +1 -1
- package/dist/handlers/view/low/handleCreateView.js +2 -2
- package/dist/handlers/view/low/handleCreateView.js.map +1 -1
- package/dist/handlers/view/low/handleDeleteView.js +2 -2
- package/dist/handlers/view/low/handleDeleteView.js.map +1 -1
- package/dist/handlers/view/low/handleLockView.js +2 -2
- package/dist/handlers/view/low/handleLockView.js.map +1 -1
- package/dist/handlers/view/low/handleUnlockView.js +2 -2
- package/dist/handlers/view/low/handleUnlockView.js.map +1 -1
- package/dist/handlers/view/low/handleUpdateView.js +2 -2
- package/dist/handlers/view/low/handleUpdateView.js.map +1 -1
- package/dist/handlers/view/low/handleValidateView.js +2 -2
- package/dist/handlers/view/low/handleValidateView.js.map +1 -1
- package/dist/lib/clients.d.ts +2 -0
- package/dist/lib/clients.d.ts.map +1 -1
- package/dist/lib/clients.js +5 -1
- package/dist/lib/clients.js.map +1 -1
- package/dist/lib/handlers/groups/ReadOnlyHandlersGroup.d.ts.map +1 -1
- package/dist/lib/handlers/groups/ReadOnlyHandlersGroup.js +9 -0
- package/dist/lib/handlers/groups/ReadOnlyHandlersGroup.js.map +1 -1
- package/dist/lib/systemContext.d.ts +9 -0
- package/dist/lib/systemContext.d.ts.map +1 -0
- package/dist/lib/systemContext.js +39 -0
- package/dist/lib/systemContext.js.map +1 -0
- package/dist/lib/utils.d.ts +2 -2
- package/dist/lib/utils.js +7 -6
- package/dist/lib/utils.js.map +1 -1
- package/dist/server/BaseMcpServer.d.ts.map +1 -1
- package/dist/server/BaseMcpServer.js +3 -0
- package/dist/server/BaseMcpServer.js.map +1 -1
- package/docs/user-guide/AVAILABLE_TOOLS.md +20 -3
- package/docs/user-guide/AVAILABLE_TOOLS_COMPACT.md +1 -1
- package/docs/user-guide/AVAILABLE_TOOLS_HIGH.md +5 -1
- package/docs/user-guide/AVAILABLE_TOOLS_LOW.md +1 -1
- package/docs/user-guide/AVAILABLE_TOOLS_READONLY.md +15 -2
- package/docs/user-guide/CLIENT_CONFIGURATION.md +50 -1
- package/package.json +3 -3
- package/dist/handlers/bdef/handleCreateBehaviorDefinition.d.ts +0 -50
- package/dist/handlers/bdef/handleCreateBehaviorDefinition.d.ts.map +0 -1
- package/dist/handlers/bdef/handleCreateBehaviorDefinition.js +0 -101
- package/dist/handlers/bdef/handleGetBdef.d.ts +0 -54
- package/dist/handlers/bdef/handleGetBdef.d.ts.map +0 -1
- package/dist/handlers/bdef/handleGetBdef.js +0 -89
- package/dist/handlers/bdef/handleUpdateBehaviorDefinition.d.ts +0 -37
- package/dist/handlers/bdef/handleUpdateBehaviorDefinition.d.ts.map +0 -1
- package/dist/handlers/bdef/handleUpdateBehaviorDefinition.js +0 -85
- package/dist/handlers/behavior_definition/readonly/handleGetBdef.d.ts +0 -54
- package/dist/handlers/behavior_definition/readonly/handleGetBdef.d.ts.map +0 -1
- package/dist/handlers/behavior_definition/readonly/handleGetBdef.js +0 -89
- package/dist/handlers/class/handleCheckClass.d.ts +0 -59
- package/dist/handlers/class/handleCheckClass.d.ts.map +0 -1
- package/dist/handlers/class/handleCheckClass.js +0 -138
- package/dist/handlers/class/handleCreateClass.d.ts +0 -80
- package/dist/handlers/class/handleCreateClass.d.ts.map +0 -1
- package/dist/handlers/class/handleCreateClass.js +0 -192
- package/dist/handlers/class/handleGetClass.d.ts +0 -16
- package/dist/handlers/class/handleGetClass.d.ts.map +0 -1
- package/dist/handlers/class/handleGetClass.js +0 -159
- package/dist/handlers/class/handleUpdateClassSource.d.ts +0 -44
- package/dist/handlers/class/handleUpdateClassSource.d.ts.map +0 -1
- package/dist/handlers/class/handleUpdateClassSource.js +0 -131
- package/dist/handlers/class/handleValidateClass.d.ts +0 -62
- package/dist/handlers/class/handleValidateClass.d.ts.map +0 -1
- package/dist/handlers/class/handleValidateClass.js +0 -136
- package/dist/handlers/class/readonly/handleGetClass.d.ts +0 -20
- package/dist/handlers/class/readonly/handleGetClass.d.ts.map +0 -1
- package/dist/handlers/class/readonly/handleGetClass.js +0 -159
- package/dist/handlers/common/handleActivateObject.d.ts +0 -62
- package/dist/handlers/common/handleActivateObject.d.ts.map +0 -1
- package/dist/handlers/common/handleActivateObject.js +0 -137
- package/dist/handlers/common/handleCheckObject.d.ts +0 -63
- package/dist/handlers/common/handleCheckObject.d.ts.map +0 -1
- package/dist/handlers/common/handleCheckObject.js +0 -197
- package/dist/handlers/common/handleDeleteObject.d.ts +0 -46
- package/dist/handlers/common/handleDeleteObject.d.ts.map +0 -1
- package/dist/handlers/common/handleDeleteObject.js +0 -176
- package/dist/handlers/common/handleLockObject.d.ts +0 -57
- package/dist/handlers/common/handleLockObject.d.ts.map +0 -1
- package/dist/handlers/common/handleLockObject.js +0 -195
- package/dist/handlers/common/handleUnlockObject.d.ts +0 -61
- package/dist/handlers/common/handleUnlockObject.d.ts.map +0 -1
- package/dist/handlers/common/handleUnlockObject.js +0 -178
- package/dist/handlers/common/handleValidateObject.d.ts +0 -58
- package/dist/handlers/common/handleValidateObject.d.ts.map +0 -1
- package/dist/handlers/common/handleValidateObject.js +0 -177
- package/dist/handlers/data_element/handleCreateDataElement.d.ts +0 -83
- package/dist/handlers/data_element/handleCreateDataElement.d.ts.map +0 -1
- package/dist/handlers/data_element/handleCreateDataElement.js +0 -180
- package/dist/handlers/data_element/handleGetDataElement.d.ts +0 -29
- package/dist/handlers/data_element/handleGetDataElement.d.ts.map +0 -1
- package/dist/handlers/data_element/handleGetDataElement.js +0 -173
- package/dist/handlers/data_element/handleUpdateDataElement.d.ts +0 -131
- package/dist/handlers/data_element/handleUpdateDataElement.d.ts.map +0 -1
- package/dist/handlers/data_element/handleUpdateDataElement.js +0 -258
- package/dist/handlers/data_element/readonly/handleGetDataElement.d.ts +0 -33
- package/dist/handlers/data_element/readonly/handleGetDataElement.d.ts.map +0 -1
- package/dist/handlers/data_element/readonly/handleGetDataElement.js +0 -173
- package/dist/handlers/ddlx/handleCreateMetadataExtension.d.ts +0 -41
- package/dist/handlers/ddlx/handleCreateMetadataExtension.d.ts.map +0 -1
- package/dist/handlers/ddlx/handleCreateMetadataExtension.js +0 -92
- package/dist/handlers/ddlx/handleUpdateMetadataExtension.d.ts +0 -37
- package/dist/handlers/ddlx/handleUpdateMetadataExtension.d.ts.map +0 -1
- package/dist/handlers/ddlx/handleUpdateMetadataExtension.js +0 -81
- package/dist/handlers/domain/handleCreateDomain.d.ts +0 -104
- package/dist/handlers/domain/handleCreateDomain.d.ts.map +0 -1
- package/dist/handlers/domain/handleCreateDomain.js +0 -187
- package/dist/handlers/domain/handleGetDomain.d.ts +0 -19
- package/dist/handlers/domain/handleGetDomain.d.ts.map +0 -1
- package/dist/handlers/domain/handleGetDomain.js +0 -138
- package/dist/handlers/domain/handleUpdateDomain.d.ts +0 -99
- package/dist/handlers/domain/handleUpdateDomain.d.ts.map +0 -1
- package/dist/handlers/domain/handleUpdateDomain.js +0 -204
- package/dist/handlers/domain/readonly/handleGetDomain.d.ts +0 -23
- package/dist/handlers/domain/readonly/handleGetDomain.d.ts.map +0 -1
- package/dist/handlers/domain/readonly/handleGetDomain.js +0 -138
- package/dist/handlers/enhancement/handleGetEnhancementImpl.d.ts +0 -69
- package/dist/handlers/enhancement/handleGetEnhancementImpl.d.ts.map +0 -1
- package/dist/handlers/enhancement/handleGetEnhancementImpl.js +0 -171
- package/dist/handlers/enhancement/handleGetEnhancementSpot.d.ts +0 -53
- package/dist/handlers/enhancement/handleGetEnhancementSpot.d.ts.map +0 -1
- package/dist/handlers/enhancement/handleGetEnhancementSpot.js +0 -153
- package/dist/handlers/enhancement/handleGetEnhancements.d.ts +0 -64
- package/dist/handlers/enhancement/handleGetEnhancements.d.ts.map +0 -1
- package/dist/handlers/enhancement/handleGetEnhancements.js +0 -599
- package/dist/handlers/function/handleCheckFunctionModule.d.ts +0 -59
- package/dist/handlers/function/handleCheckFunctionModule.d.ts.map +0 -1
- package/dist/handlers/function/handleCheckFunctionModule.js +0 -140
- package/dist/handlers/function/handleCreateFunctionGroup.d.ts +0 -52
- package/dist/handlers/function/handleCreateFunctionGroup.d.ts.map +0 -1
- package/dist/handlers/function/handleCreateFunctionGroup.js +0 -114
- package/dist/handlers/function/handleCreateFunctionModule.d.ts +0 -57
- package/dist/handlers/function/handleCreateFunctionModule.d.ts.map +0 -1
- package/dist/handlers/function/handleCreateFunctionModule.js +0 -137
- package/dist/handlers/function/handleGetFunction.d.ts +0 -17
- package/dist/handlers/function/handleGetFunction.d.ts.map +0 -1
- package/dist/handlers/function/handleGetFunction.js +0 -172
- package/dist/handlers/function/handleGetFunctionGroup.d.ts +0 -16
- package/dist/handlers/function/handleGetFunctionGroup.d.ts.map +0 -1
- package/dist/handlers/function/handleGetFunctionGroup.js +0 -132
- package/dist/handlers/function/handleUpdateFunctionModuleSource.d.ts +0 -54
- package/dist/handlers/function/handleUpdateFunctionModuleSource.d.ts.map +0 -1
- package/dist/handlers/function/handleUpdateFunctionModuleSource.js +0 -108
- package/dist/handlers/function/handleValidateFunctionModule.d.ts +0 -58
- package/dist/handlers/function/handleValidateFunctionModule.d.ts.map +0 -1
- package/dist/handlers/function/handleValidateFunctionModule.js +0 -132
- package/dist/handlers/function/readonly/handleGetFunctionGroup.d.ts +0 -16
- package/dist/handlers/function/readonly/handleGetFunctionGroup.d.ts.map +0 -1
- package/dist/handlers/function/readonly/handleGetFunctionGroup.js +0 -132
- package/dist/handlers/include/handleGetInclude.d.ts +0 -16
- package/dist/handlers/include/handleGetInclude.d.ts.map +0 -1
- package/dist/handlers/include/handleGetInclude.js +0 -81
- package/dist/handlers/include/handleGetIncludesList.d.ts +0 -36
- package/dist/handlers/include/handleGetIncludesList.d.ts.map +0 -1
- package/dist/handlers/include/handleGetIncludesList.js +0 -223
- package/dist/handlers/interface/handleCreateInterface.d.ts +0 -64
- package/dist/handlers/interface/handleCreateInterface.d.ts.map +0 -1
- package/dist/handlers/interface/handleCreateInterface.js +0 -175
- package/dist/handlers/interface/handleGetInterface.d.ts +0 -40
- package/dist/handlers/interface/handleGetInterface.d.ts.map +0 -1
- package/dist/handlers/interface/handleGetInterface.js +0 -134
- package/dist/handlers/interface/handleUpdateInterfaceSource.d.ts +0 -48
- package/dist/handlers/interface/handleUpdateInterfaceSource.d.ts.map +0 -1
- package/dist/handlers/interface/handleUpdateInterfaceSource.js +0 -127
- package/dist/handlers/interface/readonly/handleGetInterface.d.ts +0 -44
- package/dist/handlers/interface/readonly/handleGetInterface.d.ts.map +0 -1
- package/dist/handlers/interface/readonly/handleGetInterface.js +0 -134
- package/dist/handlers/package/handleCreatePackage.d.ts +0 -38
- package/dist/handlers/package/handleCreatePackage.d.ts.map +0 -1
- package/dist/handlers/package/handleCreatePackage.js +0 -127
- package/dist/handlers/package/handleGetPackage.d.ts +0 -16
- package/dist/handlers/package/handleGetPackage.d.ts.map +0 -1
- package/dist/handlers/package/handleGetPackage.js +0 -94
- package/dist/handlers/package/readonly/handleGetPackage.d.ts +0 -21
- package/dist/handlers/package/readonly/handleGetPackage.d.ts.map +0 -1
- package/dist/handlers/package/readonly/handleGetPackage.js +0 -94
- package/dist/handlers/program/handleCreateProgram.d.ts +0 -73
- package/dist/handlers/program/handleCreateProgram.d.ts.map +0 -1
- package/dist/handlers/program/handleCreateProgram.js +0 -220
- package/dist/handlers/program/handleGetProgFullCode.d.ts +0 -67
- package/dist/handlers/program/handleGetProgFullCode.d.ts.map +0 -1
- package/dist/handlers/program/handleGetProgFullCode.js +0 -249
- package/dist/handlers/program/handleGetProgram.d.ts +0 -16
- package/dist/handlers/program/handleGetProgram.d.ts.map +0 -1
- package/dist/handlers/program/handleGetProgram.js +0 -71
- package/dist/handlers/program/handleUpdateProgramSource.d.ts +0 -44
- package/dist/handlers/program/handleUpdateProgramSource.d.ts.map +0 -1
- package/dist/handlers/program/handleUpdateProgramSource.js +0 -121
- package/dist/handlers/program/readonly/handleGetProgram.d.ts +0 -20
- package/dist/handlers/program/readonly/handleGetProgram.d.ts.map +0 -1
- package/dist/handlers/program/readonly/handleGetProgram.js +0 -71
- package/dist/handlers/search/handleGetObjectsByType.d.ts +0 -42
- package/dist/handlers/search/handleGetObjectsByType.d.ts.map +0 -1
- package/dist/handlers/search/handleGetObjectsByType.js +0 -166
- package/dist/handlers/search/handleGetObjectsList.d.ts +0 -46
- package/dist/handlers/search/handleGetObjectsList.d.ts.map +0 -1
- package/dist/handlers/search/handleGetObjectsList.js +0 -145
- package/dist/handlers/search/handleSearchObject.d.ts +0 -28
- package/dist/handlers/search/handleSearchObject.d.ts.map +0 -1
- package/dist/handlers/search/handleSearchObject.js +0 -119
- package/dist/handlers/service_definition/readonly/handleGetServiceDefinition.d.ts +0 -17
- package/dist/handlers/service_definition/readonly/handleGetServiceDefinition.d.ts.map +0 -1
- package/dist/handlers/service_definition/readonly/handleGetServiceDefinition.js +0 -136
- package/dist/handlers/structure/handleCreateStructure.d.ts +0 -107
- package/dist/handlers/structure/handleCreateStructure.d.ts.map +0 -1
- package/dist/handlers/structure/handleCreateStructure.js +0 -184
- package/dist/handlers/structure/handleGetStructure.d.ts +0 -16
- package/dist/handlers/structure/handleGetStructure.d.ts.map +0 -1
- package/dist/handlers/structure/handleGetStructure.js +0 -139
- package/dist/handlers/structure/readonly/handleGetStructure.d.ts +0 -16
- package/dist/handlers/structure/readonly/handleGetStructure.d.ts.map +0 -1
- package/dist/handlers/structure/readonly/handleGetStructure.js +0 -139
- package/dist/handlers/system/handleDescribeByList.d.ts +0 -36
- package/dist/handlers/system/handleDescribeByList.d.ts.map +0 -1
- package/dist/handlers/system/handleDescribeByList.js +0 -121
- package/dist/handlers/system/handleGetAbapAST.d.ts +0 -26
- package/dist/handlers/system/handleGetAbapAST.d.ts.map +0 -1
- package/dist/handlers/system/handleGetAbapAST.js +0 -172
- package/dist/handlers/system/handleGetAbapSemanticAnalysis.d.ts +0 -26
- package/dist/handlers/system/handleGetAbapSemanticAnalysis.d.ts.map +0 -1
- package/dist/handlers/system/handleGetAbapSemanticAnalysis.js +0 -353
- package/dist/handlers/system/handleGetAbapSystemSymbols.d.ts +0 -26
- package/dist/handlers/system/handleGetAbapSystemSymbols.d.ts.map +0 -1
- package/dist/handlers/system/handleGetAbapSystemSymbols.js +0 -574
- package/dist/handlers/system/handleGetAllTypes.d.ts +0 -22
- package/dist/handlers/system/handleGetAllTypes.d.ts.map +0 -1
- package/dist/handlers/system/handleGetAllTypes.js +0 -102
- package/dist/handlers/system/handleGetInactiveObjects.d.ts +0 -20
- package/dist/handlers/system/handleGetInactiveObjects.d.ts.map +0 -1
- package/dist/handlers/system/handleGetInactiveObjects.js +0 -41
- package/dist/handlers/system/handleGetObjectInfo.d.ts +0 -41
- package/dist/handlers/system/handleGetObjectInfo.d.ts.map +0 -1
- package/dist/handlers/system/handleGetObjectInfo.js +0 -210
- package/dist/handlers/system/handleGetObjectNodeFromCache.d.ts +0 -40
- package/dist/handlers/system/handleGetObjectNodeFromCache.d.ts.map +0 -1
- package/dist/handlers/system/handleGetObjectNodeFromCache.js +0 -70
- package/dist/handlers/system/handleGetObjectStructure.d.ts +0 -26
- package/dist/handlers/system/handleGetObjectStructure.d.ts.map +0 -1
- package/dist/handlers/system/handleGetObjectStructure.js +0 -103
- package/dist/handlers/system/handleGetSession.d.ts +0 -33
- package/dist/handlers/system/handleGetSession.d.ts.map +0 -1
- package/dist/handlers/system/handleGetSession.js +0 -63
- package/dist/handlers/system/handleGetSqlQuery.d.ts +0 -49
- package/dist/handlers/system/handleGetSqlQuery.d.ts.map +0 -1
- package/dist/handlers/system/handleGetSqlQuery.js +0 -176
- package/dist/handlers/system/handleGetTransaction.d.ts +0 -42
- package/dist/handlers/system/handleGetTransaction.d.ts.map +0 -1
- package/dist/handlers/system/handleGetTransaction.js +0 -91
- package/dist/handlers/system/handleGetTypeInfo.d.ts +0 -69
- package/dist/handlers/system/handleGetTypeInfo.d.ts.map +0 -1
- package/dist/handlers/system/handleGetTypeInfo.js +0 -169
- package/dist/handlers/system/handleGetWhereUsed.d.ts +0 -69
- package/dist/handlers/system/handleGetWhereUsed.d.ts.map +0 -1
- package/dist/handlers/system/handleGetWhereUsed.js +0 -405
- package/dist/handlers/table/handleCheckTable.d.ts +0 -55
- package/dist/handlers/table/handleCheckTable.d.ts.map +0 -1
- package/dist/handlers/table/handleCheckTable.js +0 -138
- package/dist/handlers/table/handleCreateTable.d.ts +0 -42
- package/dist/handlers/table/handleCreateTable.d.ts.map +0 -1
- package/dist/handlers/table/handleCreateTable.js +0 -118
- package/dist/handlers/table/handleGetTable.d.ts +0 -16
- package/dist/handlers/table/handleGetTable.d.ts.map +0 -1
- package/dist/handlers/table/handleGetTable.js +0 -140
- package/dist/handlers/table/handleGetTableContents.d.ts +0 -56
- package/dist/handlers/table/handleGetTableContents.d.ts.map +0 -1
- package/dist/handlers/table/handleGetTableContents.js +0 -387
- package/dist/handlers/table/handleValidateTable.d.ts +0 -53
- package/dist/handlers/table/handleValidateTable.d.ts.map +0 -1
- package/dist/handlers/table/handleValidateTable.js +0 -125
- package/dist/handlers/table/readonly/handleGetTable.d.ts +0 -20
- package/dist/handlers/table/readonly/handleGetTable.d.ts.map +0 -1
- package/dist/handlers/table/readonly/handleGetTable.js +0 -140
- package/dist/handlers/transport/handleCreateTransport.d.ts +0 -50
- package/dist/handlers/transport/handleCreateTransport.d.ts.map +0 -1
- package/dist/handlers/transport/handleCreateTransport.js +0 -151
- package/dist/handlers/transport/handleGetTransport.d.ts +0 -44
- package/dist/handlers/transport/handleGetTransport.d.ts.map +0 -1
- package/dist/handlers/transport/handleGetTransport.js +0 -183
- package/dist/handlers/view/handleCreateView.d.ts +0 -52
- package/dist/handlers/view/handleCreateView.d.ts.map +0 -1
- package/dist/handlers/view/handleCreateView.js +0 -139
- package/dist/handlers/view/handleGetView.d.ts +0 -26
- package/dist/handlers/view/handleGetView.d.ts.map +0 -1
- package/dist/handlers/view/handleGetView.js +0 -349
- package/dist/handlers/view/handleUpdateViewSource.d.ts +0 -44
- package/dist/handlers/view/handleUpdateViewSource.d.ts.map +0 -1
- package/dist/handlers/view/handleUpdateViewSource.js +0 -136
- package/dist/handlers/view/readonly/handleGetView.d.ts +0 -26
- package/dist/handlers/view/readonly/handleGetView.d.ts.map +0 -1
- package/dist/handlers/view/readonly/handleGetView.js +0 -349
- package/dist/index.d.ts +0 -94
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -2453
- package/dist/lib/activationUtils.d.ts +0 -59
- package/dist/lib/activationUtils.d.ts.map +0 -1
- package/dist/lib/activationUtils.js +0 -168
- package/dist/lib/getFullCodeCache.d.ts +0 -3
- package/dist/lib/getFullCodeCache.d.ts.map +0 -1
- package/dist/lib/getFullCodeCache.js +0 -56
- package/dist/lib/toolsRegistry.d.ts +0 -13
- package/dist/lib/toolsRegistry.d.ts.map +0 -1
- package/dist/lib/toolsRegistry.js +0 -410
- package/dist/utils/lockStateManager.d.ts +0 -64
- package/dist/utils/lockStateManager.d.ts.map +0 -1
- package/dist/utils/lockStateManager.js +0 -173
- package/dist/utils/lockStateManager.js.map +0 -1
|
@@ -1,405 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TOOL_DEFINITION = void 0;
|
|
4
|
-
exports.handleGetWhereUsed = handleGetWhereUsed;
|
|
5
|
-
const utils_1 = require("../../lib/utils");
|
|
6
|
-
const utils_2 = require("../../lib/utils");
|
|
7
|
-
const getObjectsListCache_1 = require("../../lib/getObjectsListCache");
|
|
8
|
-
exports.TOOL_DEFINITION = {
|
|
9
|
-
"name": "GetWhereUsed",
|
|
10
|
-
"description": "Retrieve where-used references for ABAP objects via ADT usageReferences.",
|
|
11
|
-
"inputSchema": {
|
|
12
|
-
"type": "object",
|
|
13
|
-
"properties": {
|
|
14
|
-
"object_name": {
|
|
15
|
-
"type": "string",
|
|
16
|
-
"description": "Name of the ABAP object"
|
|
17
|
-
},
|
|
18
|
-
"object_type": {
|
|
19
|
-
"type": "string",
|
|
20
|
-
"description": "Type of the ABAP object"
|
|
21
|
-
},
|
|
22
|
-
"detailed": {
|
|
23
|
-
"type": "boolean",
|
|
24
|
-
"description": "If true, returns all references including packages and internal components.",
|
|
25
|
-
"default": false
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"required": [
|
|
29
|
-
"object_name",
|
|
30
|
-
"object_type"
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* Builds the URI for the object based on its type and name.
|
|
36
|
-
*
|
|
37
|
-
* Supported object_type values:
|
|
38
|
-
* - 'class' → ABAP class
|
|
39
|
-
* - 'program' → ABAP program
|
|
40
|
-
* - 'include' → ABAP include
|
|
41
|
-
* - 'function' → ABAP function group
|
|
42
|
-
* - 'interface' → ABAP interface
|
|
43
|
-
* - 'package' → ABAP package
|
|
44
|
-
* - 'table'/'TABL' → ABAP table (DDIC)
|
|
45
|
-
* - 'bdef'/'BDEF' → ABAP Behavior Definition
|
|
46
|
-
*
|
|
47
|
-
* You can extend this list by adding new cases for other ADT object types (e.g. CDS, DT, etc.).
|
|
48
|
-
*
|
|
49
|
-
* If an unsupported object_type is provided, an error will be thrown.
|
|
50
|
-
*/
|
|
51
|
-
function buildObjectUri(objectName, objectType) {
|
|
52
|
-
const encodedName = (0, utils_2.encodeSapObjectName)(objectName);
|
|
53
|
-
switch (objectType) {
|
|
54
|
-
case 'class':
|
|
55
|
-
return `/sap/bc/adt/oo/classes/${encodedName}`;
|
|
56
|
-
case 'program':
|
|
57
|
-
return `/sap/bc/adt/programs/programs/${encodedName}`;
|
|
58
|
-
case 'include':
|
|
59
|
-
return `/sap/bc/adt/programs/includes/${encodedName}`;
|
|
60
|
-
case 'function':
|
|
61
|
-
return `/sap/bc/adt/functions/groups/${encodedName}`;
|
|
62
|
-
case 'functionmodule':
|
|
63
|
-
case 'function_module':
|
|
64
|
-
case 'function-module':
|
|
65
|
-
case 'fm':
|
|
66
|
-
case 'fugr/ff':
|
|
67
|
-
// objectName: GROUP|FM_NAME
|
|
68
|
-
if (objectName.includes('|')) {
|
|
69
|
-
const [group, fm] = objectName.split('|');
|
|
70
|
-
return `/sap/bc/adt/functions/groups/${(0, utils_2.encodeSapObjectName)(group)}/fmodules/${(0, utils_2.encodeSapObjectName)(fm)}`;
|
|
71
|
-
}
|
|
72
|
-
throw new utils_1.McpError(utils_1.ErrorCode.InvalidParams, 'Function module name must be in format GROUP|FM_NAME');
|
|
73
|
-
case 'interface':
|
|
74
|
-
return `/sap/bc/adt/oo/interfaces/${encodedName}`;
|
|
75
|
-
case 'badi':
|
|
76
|
-
case 'badi_class':
|
|
77
|
-
case 'badi-interface':
|
|
78
|
-
case 'badi-implementation':
|
|
79
|
-
return `/sap/bc/adt/oo/interfaces/${encodedName}`;
|
|
80
|
-
case 'badi_class_impl':
|
|
81
|
-
case 'badi-class-impl':
|
|
82
|
-
return `/sap/bc/adt/oo/classes/${encodedName}`;
|
|
83
|
-
case 'package':
|
|
84
|
-
return `/sap/bc/adt/packages/${encodedName}`;
|
|
85
|
-
case 'table':
|
|
86
|
-
case 'tabl':
|
|
87
|
-
case 'TABL':
|
|
88
|
-
return `/sap/bc/adt/ddic/tables/${encodedName}`;
|
|
89
|
-
case 'dataelement':
|
|
90
|
-
case 'data_element':
|
|
91
|
-
case 'data-element':
|
|
92
|
-
return `/sap/bc/adt/ddic/dataelements/${encodedName}`;
|
|
93
|
-
case 'domain':
|
|
94
|
-
return `/sap/bc/adt/ddic/domains/${encodedName}`;
|
|
95
|
-
case 'view':
|
|
96
|
-
case 'ddicview':
|
|
97
|
-
case 'cdsview':
|
|
98
|
-
return `/sap/bc/adt/ddic/views/${encodedName}`;
|
|
99
|
-
case 'searchhelp':
|
|
100
|
-
case 'search_help':
|
|
101
|
-
case 'search-help':
|
|
102
|
-
return `/sap/bc/adt/ddic/searchhelps/${encodedName}`;
|
|
103
|
-
case 'messageclass':
|
|
104
|
-
case 'message_class':
|
|
105
|
-
case 'message-class':
|
|
106
|
-
return `/sap/bc/adt/ddic/messageclasses/${encodedName}`;
|
|
107
|
-
case 'transaction':
|
|
108
|
-
return `/sap/bc/adt/transactions/${encodedName}`;
|
|
109
|
-
case 'bdef':
|
|
110
|
-
case 'BDEF':
|
|
111
|
-
return `/sap/bc/adt/bo/behaviordefinitions/${encodedName}`;
|
|
112
|
-
case 'enhancementspot':
|
|
113
|
-
case 'enhancement_spot':
|
|
114
|
-
case 'enhancement-spot':
|
|
115
|
-
case 'enhs':
|
|
116
|
-
case 'enho':
|
|
117
|
-
return `/sap/bc/adt/enhancements/enhsxsb/${encodedName}`;
|
|
118
|
-
case 'enhancementimpl':
|
|
119
|
-
case 'enhancement_impl':
|
|
120
|
-
case 'enhancement-impl':
|
|
121
|
-
case 'enhi':
|
|
122
|
-
return `/sap/bc/adt/enhancements/enhoxhh/${encodedName}`;
|
|
123
|
-
default:
|
|
124
|
-
throw new utils_1.McpError(utils_1.ErrorCode.InvalidParams, `Unsupported object type: ${objectType}`);
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
/**
|
|
128
|
-
* Resolves object identifier to human-readable name using quickSearch API
|
|
129
|
-
*/
|
|
130
|
-
async function resolveObjectIdentifier(objectIdentifier) {
|
|
131
|
-
try {
|
|
132
|
-
const baseUrl = await (0, utils_2.getBaseUrl)();
|
|
133
|
-
const query = encodeURIComponent(`${objectIdentifier}*`);
|
|
134
|
-
const endpoint = `${baseUrl}/sap/bc/adt/repository/informationsystem/search?operation=quickSearch&query=${query}&maxResults=1`;
|
|
135
|
-
const response = await (0, utils_2.makeAdtRequestWithTimeout)(endpoint, 'GET', 'default');
|
|
136
|
-
// Parse XML response to extract description
|
|
137
|
-
const descriptionMatch = response.data.match(/adtcore:description="([^"]*)"/);
|
|
138
|
-
if (descriptionMatch) {
|
|
139
|
-
return descriptionMatch[1];
|
|
140
|
-
}
|
|
141
|
-
return null;
|
|
142
|
-
}
|
|
143
|
-
catch (error) {
|
|
144
|
-
// If resolution fails, return null (we'll use original name)
|
|
145
|
-
return null;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
/**
|
|
149
|
-
* Checks if a reference is internal class structure (self-reference)
|
|
150
|
-
*/
|
|
151
|
-
function isInternalClassStructure(ref) {
|
|
152
|
-
// Check objectIdentifier for self-references
|
|
153
|
-
if (ref.objectIdentifier) {
|
|
154
|
-
// Pattern: CL_BUS_ABSTRACT_MAIN_SCREEN===CP means it's the class itself
|
|
155
|
-
// Pattern: CL_BUS_ABSTRACT_MAIN_SCREEN===CO means it's used somewhere else
|
|
156
|
-
if (ref.objectIdentifier.includes('===CP') || ref.objectIdentifier.includes('===CI') || ref.objectIdentifier.includes('===CU')) {
|
|
157
|
-
return true; // Internal structure
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
// Check if parentUri points to the same class as the reference
|
|
161
|
-
if (ref.parentUri && ref.uri) {
|
|
162
|
-
const parentClass = ref.parentUri.match(/\/classes\/([^\/]+)/)?.[1];
|
|
163
|
-
const refClass = ref.uri.match(/\/classes\/([^\/]+)/)?.[1];
|
|
164
|
-
if (parentClass && refClass && parentClass === refClass) {
|
|
165
|
-
// Additional check: if it's a method/attribute within the same class
|
|
166
|
-
if (ref.uri.includes('#type=CLAS%2FOM') || ref.uri.includes('#type=CLAS%2FOA')) {
|
|
167
|
-
return true; // Internal method or attribute
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
return false;
|
|
172
|
-
}
|
|
173
|
-
/**
|
|
174
|
-
* Enhances references with resolved names for better readability
|
|
175
|
-
*/
|
|
176
|
-
async function enhanceReferencesWithNames(references) {
|
|
177
|
-
const enhancedReferences = [...references];
|
|
178
|
-
// Process references that have cryptic names but objectIdentifiers
|
|
179
|
-
for (let i = 0; i < enhancedReferences.length; i++) {
|
|
180
|
-
const ref = enhancedReferences[i];
|
|
181
|
-
// If name is empty or cryptic and we have objectIdentifier, try to resolve it
|
|
182
|
-
if (ref.objectIdentifier && (!ref.name || ref.name.length === 0)) {
|
|
183
|
-
const resolvedName = await resolveObjectIdentifier(ref.objectIdentifier);
|
|
184
|
-
if (resolvedName) {
|
|
185
|
-
enhancedReferences[i] = {
|
|
186
|
-
...ref,
|
|
187
|
-
name: resolvedName,
|
|
188
|
-
originalName: ref.name // Keep original for reference
|
|
189
|
-
};
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
return enhancedReferences;
|
|
194
|
-
}
|
|
195
|
-
/**
|
|
196
|
-
* Filters references to show only the most relevant ones (excludes packages and internal components)
|
|
197
|
-
*/
|
|
198
|
-
function filterMinimalReferences(references) {
|
|
199
|
-
return references.filter(ref => {
|
|
200
|
-
// PRIORITY 1: Always show enhancement implementations (most important for developers)
|
|
201
|
-
if (ref.type === 'ENHO/XHH') {
|
|
202
|
-
return true;
|
|
203
|
-
}
|
|
204
|
-
// PRIORITY 2: Show main results that are marked as important (but not packages)
|
|
205
|
-
if (ref.isResult === true && ref.type !== 'DEVC/K') {
|
|
206
|
-
return true;
|
|
207
|
-
}
|
|
208
|
-
// PRIORITY 3: Show function modules with direct usage (real implementations)
|
|
209
|
-
if (ref.type === 'FUGR/FF' && ref.usageInformation && ref.usageInformation.includes('gradeDirect')) {
|
|
210
|
-
return true;
|
|
211
|
-
}
|
|
212
|
-
// HIDE EVERYTHING ELSE IN MINIMAL MODE:
|
|
213
|
-
// Hide ALL packages - they're organizational, not functional usage
|
|
214
|
-
if (ref.type === 'DEVC/K') {
|
|
215
|
-
return false;
|
|
216
|
-
}
|
|
217
|
-
// Hide internal class structure (self-references)
|
|
218
|
-
if (isInternalClassStructure(ref)) {
|
|
219
|
-
return false;
|
|
220
|
-
}
|
|
221
|
-
// Hide ALL class internal structure (sections, methods, attributes)
|
|
222
|
-
if (ref.name === 'Public Section' || ref.name === 'Private Section' || ref.name === 'Protected Section') {
|
|
223
|
-
return false;
|
|
224
|
-
}
|
|
225
|
-
// Hide ALL internal class components
|
|
226
|
-
if (ref.type && ref.type.startsWith('CLAS/')) {
|
|
227
|
-
return false;
|
|
228
|
-
}
|
|
229
|
-
// Hide ALL items with empty type (usually internal structure)
|
|
230
|
-
if (!ref.type) {
|
|
231
|
-
return false;
|
|
232
|
-
}
|
|
233
|
-
// Hide function groups (show only specific functions)
|
|
234
|
-
if (ref.type === 'FUGR/F') {
|
|
235
|
-
return false;
|
|
236
|
-
}
|
|
237
|
-
// Hide programs unless they're marked as main results
|
|
238
|
-
if (ref.type === 'PROG/P' && !ref.isResult) {
|
|
239
|
-
return false;
|
|
240
|
-
}
|
|
241
|
-
// Hide includes unless they're marked as main results
|
|
242
|
-
if (ref.type === 'PROG/I' && !ref.isResult) {
|
|
243
|
-
return false;
|
|
244
|
-
}
|
|
245
|
-
// Show only if it's a main result or enhancement
|
|
246
|
-
return ref.isResult === true || ref.type === 'ENHO/XHH';
|
|
247
|
-
});
|
|
248
|
-
}
|
|
249
|
-
/**
|
|
250
|
-
* Parses XML response and extracts where-used references
|
|
251
|
-
*/
|
|
252
|
-
function parseWhereUsedResponse(xmlData) {
|
|
253
|
-
const references = [];
|
|
254
|
-
try {
|
|
255
|
-
// Simple XML parsing for usageReferences response
|
|
256
|
-
// Look for referencedObject elements
|
|
257
|
-
const objectMatches = xmlData.match(/<usageReferences:referencedObject[^>]*>(.*?)<\/usageReferences:referencedObject>/gs);
|
|
258
|
-
if (objectMatches) {
|
|
259
|
-
for (const objectMatch of objectMatches) {
|
|
260
|
-
// Extract attributes from the referencedObject element
|
|
261
|
-
const uriMatch = objectMatch.match(/uri="([^"]*)"/);
|
|
262
|
-
const parentUriMatch = objectMatch.match(/parentUri="([^"]*)"/);
|
|
263
|
-
const isResultMatch = objectMatch.match(/isResult="([^"]*)"/);
|
|
264
|
-
const canHaveChildrenMatch = objectMatch.match(/canHaveChildren="([^"]*)"/);
|
|
265
|
-
const usageInformationMatch = objectMatch.match(/usageInformation="([^"]*)"/);
|
|
266
|
-
const uri = uriMatch ? uriMatch[1] : '';
|
|
267
|
-
const parentUri = parentUriMatch ? parentUriMatch[1] : undefined;
|
|
268
|
-
const isResult = isResultMatch ? isResultMatch[1] === 'true' : undefined;
|
|
269
|
-
const canHaveChildren = canHaveChildrenMatch ? canHaveChildrenMatch[1] === 'true' : undefined;
|
|
270
|
-
const usageInformation = usageInformationMatch ? usageInformationMatch[1] : undefined;
|
|
271
|
-
// Extract adtObject attributes
|
|
272
|
-
const adtObjectMatch = objectMatch.match(/<usageReferences:adtObject[^>]*>/);
|
|
273
|
-
let name = '';
|
|
274
|
-
let type = '';
|
|
275
|
-
if (adtObjectMatch) {
|
|
276
|
-
const nameMatch = adtObjectMatch[0].match(/adtcore:name="([^"]*)"/);
|
|
277
|
-
const typeMatch = adtObjectMatch[0].match(/adtcore:type="([^"]*)"/);
|
|
278
|
-
name = nameMatch ? nameMatch[1] : '';
|
|
279
|
-
type = typeMatch ? typeMatch[1] : '';
|
|
280
|
-
}
|
|
281
|
-
// Extract objectIdentifier if present
|
|
282
|
-
const objectIdentifierMatch = objectMatch.match(/<objectIdentifier>([^<]*)<\/objectIdentifier>/);
|
|
283
|
-
const objectIdentifier = objectIdentifierMatch ? objectIdentifierMatch[1] : undefined;
|
|
284
|
-
const reference = {
|
|
285
|
-
name,
|
|
286
|
-
type,
|
|
287
|
-
uri
|
|
288
|
-
};
|
|
289
|
-
if (parentUri)
|
|
290
|
-
reference.parentUri = parentUri;
|
|
291
|
-
if (isResult !== undefined)
|
|
292
|
-
reference.isResult = isResult;
|
|
293
|
-
if (canHaveChildren !== undefined)
|
|
294
|
-
reference.canHaveChildren = canHaveChildren;
|
|
295
|
-
if (usageInformation)
|
|
296
|
-
reference.usageInformation = usageInformation;
|
|
297
|
-
if (objectIdentifier)
|
|
298
|
-
reference.objectIdentifier = objectIdentifier;
|
|
299
|
-
references.push(reference);
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
catch (error) {
|
|
304
|
-
throw new utils_1.McpError(utils_1.ErrorCode.InternalError, `Failed to parse XML response: ${error instanceof Error ? error.message : String(error)}`);
|
|
305
|
-
}
|
|
306
|
-
return references;
|
|
307
|
-
}
|
|
308
|
-
/**
|
|
309
|
-
* Returns where-used references for ABAP objects.
|
|
310
|
-
*
|
|
311
|
-
* Supported object_type values:
|
|
312
|
-
* - class
|
|
313
|
-
* - program
|
|
314
|
-
* - include
|
|
315
|
-
* - function (function group)
|
|
316
|
-
* - functionmodule (function module, format: GROUP|FM_NAME)
|
|
317
|
-
* - interface
|
|
318
|
-
* - badi, badi_class, badi-implementation
|
|
319
|
-
* - package
|
|
320
|
-
* - table, tabl, TABL
|
|
321
|
-
* - dataelement
|
|
322
|
-
* - domain
|
|
323
|
-
* - view, ddicview, cdsview
|
|
324
|
-
* - searchhelp
|
|
325
|
-
* - messageclass
|
|
326
|
-
* - transaction
|
|
327
|
-
* - bdef, BDEF
|
|
328
|
-
* - enhancementspot, enhs, enho
|
|
329
|
-
* - enhancementimpl, enhi
|
|
330
|
-
*/
|
|
331
|
-
async function handleGetWhereUsed(args) {
|
|
332
|
-
try {
|
|
333
|
-
// Validate required parameters
|
|
334
|
-
if (!args?.object_name) {
|
|
335
|
-
throw new utils_1.McpError(utils_1.ErrorCode.InvalidParams, 'Object name is required');
|
|
336
|
-
}
|
|
337
|
-
if (!args?.object_type) {
|
|
338
|
-
throw new utils_1.McpError(utils_1.ErrorCode.InvalidParams, 'Object type is required');
|
|
339
|
-
}
|
|
340
|
-
// Accept any object_type, validation is now handled in buildObjectUri
|
|
341
|
-
const typedArgs = args;
|
|
342
|
-
// 1. Build the object URI
|
|
343
|
-
const objectUri = buildObjectUri(typedArgs.object_name, typedArgs.object_type);
|
|
344
|
-
// 2. Prepare the usageReferences request
|
|
345
|
-
const baseUrl = await (0, utils_2.getBaseUrl)();
|
|
346
|
-
const endpoint = `${baseUrl}/sap/bc/adt/repository/informationsystem/usageReferences?uri=${encodeURIComponent(objectUri)}`;
|
|
347
|
-
const requestBody = '<?xml version="1.0" encoding="UTF-8"?><usagereferences:usageReferenceRequest xmlns:usagereferences="http://www.sap.com/adt/ris/usageReferences"><usagereferences:affectedObjects/></usagereferences:usageReferenceRequest>';
|
|
348
|
-
// 3. Make the POST request
|
|
349
|
-
const response = await (0, utils_2.makeAdtRequestWithTimeout)(endpoint, 'POST', 'default', requestBody);
|
|
350
|
-
// 5. Parse the XML response
|
|
351
|
-
const allReferences = parseWhereUsedResponse(response.data);
|
|
352
|
-
// 6. Filter references if detailed=false (default)
|
|
353
|
-
const isDetailed = typedArgs.detailed === true;
|
|
354
|
-
let references = allReferences;
|
|
355
|
-
if (!isDetailed) {
|
|
356
|
-
references = filterMinimalReferences(allReferences);
|
|
357
|
-
}
|
|
358
|
-
// 7. Format the response based on detailed mode
|
|
359
|
-
let formattedReferences;
|
|
360
|
-
if (isDetailed) {
|
|
361
|
-
// Detailed mode: show all fields
|
|
362
|
-
formattedReferences = references;
|
|
363
|
-
}
|
|
364
|
-
else {
|
|
365
|
-
// Minimal mode: show only name and type
|
|
366
|
-
formattedReferences = references.map(ref => ({
|
|
367
|
-
name: ref.name,
|
|
368
|
-
type: ref.type
|
|
369
|
-
}));
|
|
370
|
-
}
|
|
371
|
-
const formattedResponse = {
|
|
372
|
-
object_name: typedArgs.object_name,
|
|
373
|
-
object_type: typedArgs.object_type,
|
|
374
|
-
object_uri: objectUri,
|
|
375
|
-
detailed: isDetailed,
|
|
376
|
-
total_references: references.length,
|
|
377
|
-
total_found: allReferences.length,
|
|
378
|
-
filtered_out: isDetailed ? 0 : allReferences.length - references.length,
|
|
379
|
-
references: formattedReferences
|
|
380
|
-
};
|
|
381
|
-
const result = {
|
|
382
|
-
isError: false,
|
|
383
|
-
content: [
|
|
384
|
-
{
|
|
385
|
-
type: "json",
|
|
386
|
-
json: formattedResponse,
|
|
387
|
-
},
|
|
388
|
-
],
|
|
389
|
-
};
|
|
390
|
-
getObjectsListCache_1.objectsListCache.setCache(result);
|
|
391
|
-
return result;
|
|
392
|
-
}
|
|
393
|
-
catch (error) {
|
|
394
|
-
// MCP-compliant error response: always return content[] with type "text"
|
|
395
|
-
return {
|
|
396
|
-
isError: true,
|
|
397
|
-
content: [
|
|
398
|
-
{
|
|
399
|
-
type: "text",
|
|
400
|
-
text: `ADT error: ${String(error)}`
|
|
401
|
-
}
|
|
402
|
-
]
|
|
403
|
-
};
|
|
404
|
-
}
|
|
405
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CheckTable Handler - Syntax check for ABAP table via ADT API
|
|
3
|
-
*
|
|
4
|
-
* Uses runTableCheckRun from @mcp-abap-adt/adt-clients/core/table for table-specific checking.
|
|
5
|
-
* Requires session_id for stateful operations.
|
|
6
|
-
*/
|
|
7
|
-
export declare const TOOL_DEFINITION: {
|
|
8
|
-
readonly name: "CheckTable";
|
|
9
|
-
readonly description: "Perform syntax check on an ABAP table. Returns syntax errors, warnings, and messages. Requires session_id for stateful operations. Can use session_id and session_state from GetSession to maintain the same session.";
|
|
10
|
-
readonly inputSchema: {
|
|
11
|
-
readonly type: "object";
|
|
12
|
-
readonly properties: {
|
|
13
|
-
readonly table_name: {
|
|
14
|
-
readonly type: "string";
|
|
15
|
-
readonly description: "Table name (e.g., Z_MY_TABLE)";
|
|
16
|
-
};
|
|
17
|
-
readonly reporter: {
|
|
18
|
-
readonly type: "string";
|
|
19
|
-
readonly description: "Check reporter: 'tableStatusCheck' or 'abapCheckRun'. Default: abapCheckRun";
|
|
20
|
-
readonly enum: readonly ["tableStatusCheck", "abapCheckRun"];
|
|
21
|
-
};
|
|
22
|
-
readonly session_id: {
|
|
23
|
-
readonly type: "string";
|
|
24
|
-
readonly description: "Session ID from GetSession. If not provided, a new session will be created.";
|
|
25
|
-
};
|
|
26
|
-
readonly session_state: {
|
|
27
|
-
readonly type: "object";
|
|
28
|
-
readonly description: "Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.";
|
|
29
|
-
readonly properties: {
|
|
30
|
-
readonly cookies: {
|
|
31
|
-
readonly type: "string";
|
|
32
|
-
};
|
|
33
|
-
readonly csrf_token: {
|
|
34
|
-
readonly type: "string";
|
|
35
|
-
};
|
|
36
|
-
readonly cookie_store: {
|
|
37
|
-
readonly type: "object";
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
readonly required: readonly ["table_name"];
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
/**
|
|
46
|
-
* Main handler for CheckTable MCP tool
|
|
47
|
-
*/
|
|
48
|
-
export declare function handleCheckTable(args: any): Promise<{
|
|
49
|
-
isError: boolean;
|
|
50
|
-
content: {
|
|
51
|
-
type: string;
|
|
52
|
-
text: any;
|
|
53
|
-
}[];
|
|
54
|
-
}>;
|
|
55
|
-
//# sourceMappingURL=handleCheckTable.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handleCheckTable.d.ts","sourceRoot":"","sources":["../../../src/handlers/table/handleCheckTable.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAQH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BlB,CAAC;AAaX;;GAEG;AACH,wBAAsB,gBAAgB,CAAC,IAAI,EAAE,GAAG;;;;;;GAyG/C"}
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* CheckTable Handler - Syntax check for ABAP table via ADT API
|
|
4
|
-
*
|
|
5
|
-
* Uses runTableCheckRun from @mcp-abap-adt/adt-clients/core/table for table-specific checking.
|
|
6
|
-
* Requires session_id for stateful operations.
|
|
7
|
-
*/
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.TOOL_DEFINITION = void 0;
|
|
10
|
-
exports.handleCheckTable = handleCheckTable;
|
|
11
|
-
const utils_1 = require("../../lib/utils");
|
|
12
|
-
const sessionUtils_1 = require("../../lib/sessionUtils");
|
|
13
|
-
const adt_clients_1 = require("@mcp-abap-adt/adt-clients");
|
|
14
|
-
const checkRunParser_1 = require("../../lib/checkRunParser");
|
|
15
|
-
exports.TOOL_DEFINITION = {
|
|
16
|
-
name: "CheckTable",
|
|
17
|
-
description: "Perform syntax check on an ABAP table. Returns syntax errors, warnings, and messages. Requires session_id for stateful operations. Can use session_id and session_state from GetSession to maintain the same session.",
|
|
18
|
-
inputSchema: {
|
|
19
|
-
type: "object",
|
|
20
|
-
properties: {
|
|
21
|
-
table_name: {
|
|
22
|
-
type: "string",
|
|
23
|
-
description: "Table name (e.g., Z_MY_TABLE)"
|
|
24
|
-
},
|
|
25
|
-
reporter: {
|
|
26
|
-
type: "string",
|
|
27
|
-
description: "Check reporter: 'tableStatusCheck' or 'abapCheckRun'. Default: abapCheckRun",
|
|
28
|
-
enum: ["tableStatusCheck", "abapCheckRun"]
|
|
29
|
-
},
|
|
30
|
-
session_id: {
|
|
31
|
-
type: "string",
|
|
32
|
-
description: "Session ID from GetSession. If not provided, a new session will be created."
|
|
33
|
-
},
|
|
34
|
-
session_state: {
|
|
35
|
-
type: "object",
|
|
36
|
-
description: "Session state from GetSession (cookies, csrf_token, cookie_store). Required if session_id is provided.",
|
|
37
|
-
properties: {
|
|
38
|
-
cookies: { type: "string" },
|
|
39
|
-
csrf_token: { type: "string" },
|
|
40
|
-
cookie_store: { type: "object" }
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
required: ["table_name"]
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
/**
|
|
48
|
-
* Main handler for CheckTable MCP tool
|
|
49
|
-
*/
|
|
50
|
-
async function handleCheckTable(args) {
|
|
51
|
-
try {
|
|
52
|
-
const { table_name, reporter = 'abapCheckRun', session_id, session_state } = args;
|
|
53
|
-
if (!table_name) {
|
|
54
|
-
return (0, utils_1.return_error)(new Error('table_name is required'));
|
|
55
|
-
}
|
|
56
|
-
const validReporters = ['tableStatusCheck', 'abapCheckRun'];
|
|
57
|
-
const checkReporter = (reporter && validReporters.includes(reporter))
|
|
58
|
-
? reporter
|
|
59
|
-
: 'abapCheckRun';
|
|
60
|
-
const connection = (0, utils_1.getManagedConnection)();
|
|
61
|
-
// Restore session state if provided
|
|
62
|
-
if (session_id && session_state) {
|
|
63
|
-
connection.setSessionState({
|
|
64
|
-
cookies: session_state.cookies || null,
|
|
65
|
-
csrfToken: session_state.csrf_token || null,
|
|
66
|
-
cookieStore: session_state.cookie_store || {}
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
else {
|
|
70
|
-
// Ensure connection is established
|
|
71
|
-
await connection.connect();
|
|
72
|
-
}
|
|
73
|
-
// Use provided session_id or generate new one (required for table check)
|
|
74
|
-
const sessionId = session_id || (0, sessionUtils_1.generateSessionId)();
|
|
75
|
-
const tableName = table_name.toUpperCase();
|
|
76
|
-
utils_1.logger.info(`Starting table check: ${tableName} (reporter: ${checkReporter}, session: ${sessionId.substring(0, 8)}...)`);
|
|
77
|
-
try {
|
|
78
|
-
const builder = new adt_clients_1.CrudClient(connection);
|
|
79
|
-
await builder.checkTable(checkReporter);
|
|
80
|
-
const response = builder.getCheckResult();
|
|
81
|
-
if (!response) {
|
|
82
|
-
throw new Error('Table check did not return a response');
|
|
83
|
-
}
|
|
84
|
-
// Parse check results
|
|
85
|
-
const checkResult = (0, checkRunParser_1.parseCheckRunResponse)(response);
|
|
86
|
-
// Get updated session state after check
|
|
87
|
-
const updatedSessionState = connection.getSessionState();
|
|
88
|
-
utils_1.logger.info(`✅ CheckTable completed: ${tableName}`);
|
|
89
|
-
utils_1.logger.info(` Status: ${checkResult.status}`);
|
|
90
|
-
utils_1.logger.info(` Errors: ${checkResult.errors.length}, Warnings: ${checkResult.warnings.length}`);
|
|
91
|
-
return (0, utils_1.return_response)({
|
|
92
|
-
data: JSON.stringify({
|
|
93
|
-
success: checkResult.success,
|
|
94
|
-
table_name: tableName,
|
|
95
|
-
reporter: checkReporter,
|
|
96
|
-
check_result: checkResult,
|
|
97
|
-
session_id: sessionId,
|
|
98
|
-
session_state: updatedSessionState ? {
|
|
99
|
-
cookies: updatedSessionState.cookies,
|
|
100
|
-
csrf_token: updatedSessionState.csrfToken,
|
|
101
|
-
cookie_store: updatedSessionState.cookieStore
|
|
102
|
-
} : null,
|
|
103
|
-
message: checkResult.success
|
|
104
|
-
? `Table ${tableName} has no syntax errors`
|
|
105
|
-
: `Table ${tableName} has ${checkResult.errors.length} error(s) and ${checkResult.warnings.length} warning(s)`
|
|
106
|
-
}, null, 2)
|
|
107
|
-
});
|
|
108
|
-
}
|
|
109
|
-
catch (error) {
|
|
110
|
-
utils_1.logger.error(`Error checking table ${tableName}:`, error);
|
|
111
|
-
let errorMessage = `Failed to check table: ${error.message || String(error)}`;
|
|
112
|
-
if (error.response?.status === 404) {
|
|
113
|
-
errorMessage = `Table ${tableName} not found.`;
|
|
114
|
-
}
|
|
115
|
-
else if (error.response?.data && typeof error.response.data === 'string') {
|
|
116
|
-
try {
|
|
117
|
-
const { XMLParser } = require('fast-xml-parser');
|
|
118
|
-
const parser = new XMLParser({
|
|
119
|
-
ignoreAttributes: false,
|
|
120
|
-
attributeNamePrefix: '@_'
|
|
121
|
-
});
|
|
122
|
-
const errorData = parser.parse(error.response.data);
|
|
123
|
-
const errorMsg = errorData['exc:exception']?.message?.['#text'] || errorData['exc:exception']?.message;
|
|
124
|
-
if (errorMsg) {
|
|
125
|
-
errorMessage = `SAP Error: ${errorMsg}`;
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
catch (parseError) {
|
|
129
|
-
// Ignore parse errors
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
return (0, utils_1.return_error)(new Error(errorMessage));
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
catch (error) {
|
|
136
|
-
return (0, utils_1.return_error)(error);
|
|
137
|
-
}
|
|
138
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CreateTable Handler - ABAP Table Creation via ADT API
|
|
3
|
-
*
|
|
4
|
-
* Uses TableBuilder from @mcp-abap-adt/adt-clients for all operations.
|
|
5
|
-
* Session and lock management handled internally by builder.
|
|
6
|
-
*
|
|
7
|
-
* Workflow: validate -> create -> lock -> update -> check -> unlock -> (activate)
|
|
8
|
-
*/
|
|
9
|
-
export declare const TOOL_DEFINITION: {
|
|
10
|
-
readonly name: "CreateTable";
|
|
11
|
-
readonly description: "Create a new ABAP table via the ADT API using provided DDL. Mirrors Eclipse ADT behaviour with status/check runs, lock handling, activation and verification.";
|
|
12
|
-
readonly inputSchema: {
|
|
13
|
-
readonly type: "object";
|
|
14
|
-
readonly properties: {
|
|
15
|
-
readonly table_name: {
|
|
16
|
-
readonly type: "string";
|
|
17
|
-
readonly description: "Table name (e.g., ZZ_TEST_TABLE_001). Must follow SAP naming conventions.";
|
|
18
|
-
};
|
|
19
|
-
readonly ddl_code: {
|
|
20
|
-
readonly type: "string";
|
|
21
|
-
readonly description: "Complete DDL code for table creation. Example: '@EndUserText.label : \\'My Table\\' @AbapCatalog.tableCategory : #TRANSPARENT define table ztst_table { key client : abap.clnt not null; key id : abap.char(10); name : abap.char(255); }'";
|
|
22
|
-
};
|
|
23
|
-
readonly package_name: {
|
|
24
|
-
readonly type: "string";
|
|
25
|
-
readonly description: "Package name (e.g., ZOK_LOCAL, $TMP for local objects)";
|
|
26
|
-
};
|
|
27
|
-
readonly transport_request: {
|
|
28
|
-
readonly type: "string";
|
|
29
|
-
readonly description: "Transport request number (e.g., E19K905635). Required for transportable packages.";
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
readonly required: readonly ["table_name", "ddl_code", "package_name"];
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* Main handler for CreateTable MCP tool
|
|
37
|
-
*
|
|
38
|
-
* Uses TableBuilder from @mcp-abap-adt/adt-clients for all operations
|
|
39
|
-
* Session and lock management handled internally by builder
|
|
40
|
-
*/
|
|
41
|
-
export declare function handleCreateTable(args: any): Promise<any>;
|
|
42
|
-
//# sourceMappingURL=handleCreateTable.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handleCreateTable.d.ts","sourceRoot":"","sources":["../../../src/handlers/table/handleCreateTable.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAQH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;CAyBlB,CAAC;AAUX;;;;;GAKG;AACH,wBAAsB,iBAAiB,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,CA4F/D"}
|