@univerjs-pro/mcp 0.10.6-nightly.202509060832 → 0.10.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- var _0x4edcb4=_0x4694;function _0x4694(_0x346da4,_0x1d3334){var _0x3782b2=_0x3782();return _0x4694=function(_0x4694ec,_0x3451b5){_0x4694ec=_0x4694ec-0xe2;var _0x3eaf02=_0x3782b2[_0x4694ec];return _0x3eaf02;},_0x4694(_0x346da4,_0x1d3334);}(function(_0x21b31c,_0x5de317){var _0x2c1409=_0x4694,_0x33ff74=_0x21b31c();while(!![]){try{var _0x10beeb=-parseInt(_0x2c1409(0xe3))/0x1*(-parseInt(_0x2c1409(0xf1))/0x2)+-parseInt(_0x2c1409(0xf0))/0x3+-parseInt(_0x2c1409(0xec))/0x4+parseInt(_0x2c1409(0xe2))/0x5+parseInt(_0x2c1409(0xef))/0x6*(parseInt(_0x2c1409(0xe7))/0x7)+parseInt(_0x2c1409(0xe4))/0x8+-parseInt(_0x2c1409(0xf3))/0x9*(parseInt(_0x2c1409(0xe5))/0xa);if(_0x10beeb===_0x5de317)break;else _0x33ff74['push'](_0x33ff74['shift']());}catch(_0x2ee87b){_0x33ff74['push'](_0x33ff74['shift']());}}}(_0x3782,0x1d99f));import{IMCPToolRegistry as _0x39e7fc}from'@univerjs-pro/mcp';import{FUniver as _0x417b42}from'@univerjs/core/facade';class i extends _0x417b42{['validateMCPToolCall'](_0x4c5b38,_0x1585b9){var _0x6981a=_0x4694;return this['_injector'][_0x6981a(0xe6)](_0x39e7fc)[_0x6981a(0xea)](_0x4c5b38,_0x1585b9);}[_0x4edcb4(0xed)](){var _0x34c4e4=_0x4edcb4;return this[_0x34c4e4(0xf2)][_0x34c4e4(0xe6)](_0x39e7fc)[_0x34c4e4(0xe8)]();}[_0x4edcb4(0xee)](_0x5180ca,_0xf34b9b){var _0x4877b9=_0x4edcb4;return this[_0x4877b9(0xf2)][_0x4877b9(0xe6)](_0x39e7fc)[_0x4877b9(0xeb)](_0x5180ca,_0xf34b9b);}}function _0x3782(){var _0x3be3f8=['get','14BWEHyO','getAllTools','extend','validateToolCall','executeTool','512720dRjnff','getAllMCPTools','callMCPTool','339684WSBxgS','322191UoxfxM','16ylFVFm','_injector','2338101NXmfMC','865575vSGOQU','20192uqQCqr','1349872bTTlcQ','10MjCkcg'];_0x3782=function(){return _0x3be3f8;};return _0x3782();}_0x417b42[_0x4edcb4(0xe9)](i);
1
+ var _0x59d223=_0x1230;(function(_0x41f31f,_0x1d973f){var _0xc1ae0f=_0x1230,_0x219199=_0x41f31f();while(!![]){try{var _0x3edbf5=parseInt(_0xc1ae0f(0xe4))/0x1+-parseInt(_0xc1ae0f(0xde))/0x2+-parseInt(_0xc1ae0f(0xdf))/0x3+-parseInt(_0xc1ae0f(0xdb))/0x4*(parseInt(_0xc1ae0f(0xe0))/0x5)+-parseInt(_0xc1ae0f(0xe1))/0x6*(parseInt(_0xc1ae0f(0xe3))/0x7)+-parseInt(_0xc1ae0f(0xdd))/0x8*(-parseInt(_0xc1ae0f(0xe5))/0x9)+-parseInt(_0xc1ae0f(0xdc))/0xa*(-parseInt(_0xc1ae0f(0xd9))/0xb);if(_0x3edbf5===_0x1d973f)break;else _0x219199['push'](_0x219199['shift']());}catch(_0x40b521){_0x219199['push'](_0x219199['shift']());}}}(_0x1862,0xc669b));import{IMCPToolRegistry as _0x1af602}from'@univerjs-pro/mcp';import{FUniver as _0x19e7bc}from'@univerjs/core/facade';function _0x1230(_0x4da88a,_0x498511){var _0x186250=_0x1862();return _0x1230=function(_0x1230ec,_0x4859b3){_0x1230ec=_0x1230ec-0xd8;var _0x228538=_0x186250[_0x1230ec];return _0x228538;},_0x1230(_0x4da88a,_0x498511);}class i extends _0x19e7bc{[_0x59d223(0xda)](_0x4d1878,_0x1cb447){var _0x5410a2=_0x59d223;return this[_0x5410a2(0xe6)][_0x5410a2(0xe7)](_0x1af602)['validateToolCall'](_0x4d1878,_0x1cb447);}['getAllMCPTools'](){var _0x2bb699=_0x59d223;return this['_injector'][_0x2bb699(0xe7)](_0x1af602)[_0x2bb699(0xe2)]();}[_0x59d223(0xd8)](_0x58edc9,_0x57a022){return this['_injector']['get'](_0x1af602)['executeTool'](_0x58edc9,_0x57a022);}}_0x19e7bc['extend'](i);function _0x1862(){var _0x2040f5=['validateMCPToolCall','84zgcMyq','4270120FzdKTt','8hcgiNr','2965510LVWLCA','984234WYlott','367790rlGflj','6CVXeEB','getAllTools','3511081TXxaCS','462358cvFfwr','10965519mLaAro','_injector','get','callMCPTool','77FePjLC'];_0x1862=function(){return _0x2040f5;};return _0x1862();}