@univerjs-pro/mcp 0.10.7-nightly.202509090319 → 0.10.7-nightly.202509130618

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
- function _0x29e6(){var _0x1226dd=['getAllMCPTools','2IDirxc','13935460aeYofe','12ihxibP','executeTool','802614fabTCT','get','7802456oaUMai','validateToolCall','18StudMa','931745FoKltZ','1650717PNuhKJ','3772286kUnjQD','extend','validateMCPToolCall','986880zvBTDL','callMCPTool','_injector'];_0x29e6=function(){return _0x1226dd;};return _0x29e6();}function _0x4d57(_0x4e2fa6,_0x125b38){var _0x29e6c9=_0x29e6();return _0x4d57=function(_0x4d57ff,_0xde9d71){_0x4d57ff=_0x4d57ff-0xeb;var _0x37b524=_0x29e6c9[_0x4d57ff];return _0x37b524;},_0x4d57(_0x4e2fa6,_0x125b38);}var _0x2001f2=_0x4d57;(function(_0x2919f8,_0xcfcd2c){var _0x24688d=_0x4d57,_0x544442=_0x2919f8();while(!![]){try{var _0xff1eb4=-parseInt(_0x24688d(0xef))/0x1+-parseInt(_0x24688d(0xeb))/0x2*(-parseInt(_0x24688d(0xf5))/0x3)+parseInt(_0x24688d(0xf9))/0x4+-parseInt(_0x24688d(0xf4))/0x5+parseInt(_0x24688d(0xed))/0x6*(-parseInt(_0x24688d(0xf6))/0x7)+-parseInt(_0x24688d(0xf1))/0x8+-parseInt(_0x24688d(0xf3))/0x9*(-parseInt(_0x24688d(0xec))/0xa);if(_0xff1eb4===_0xcfcd2c)break;else _0x544442['push'](_0x544442['shift']());}catch(_0x5bd464){_0x544442['push'](_0x544442['shift']());}}}(_0x29e6,0x84521));import{IMCPToolRegistry as _0x22c065}from'@univerjs-pro/mcp';import{FUniver as _0x58e6f5}from'@univerjs/core/facade';class i extends _0x58e6f5{[_0x2001f2(0xf8)](_0x3d73e9,_0x2b9f6f){var _0x48ebbd=_0x2001f2;return this[_0x48ebbd(0xfb)]['get'](_0x22c065)[_0x48ebbd(0xf2)](_0x3d73e9,_0x2b9f6f);}[_0x2001f2(0xfc)](){var _0x2d2245=_0x2001f2;return this[_0x2d2245(0xfb)][_0x2d2245(0xf0)](_0x22c065)['getAllTools']();}[_0x2001f2(0xfa)](_0x14cb50,_0x42692e){var _0x5a3a2e=_0x2001f2;return this[_0x5a3a2e(0xfb)][_0x5a3a2e(0xf0)](_0x22c065)[_0x5a3a2e(0xee)](_0x14cb50,_0x42692e);}}_0x58e6f5[_0x2001f2(0xf7)](i);
1
+ var _0x45cc6f=_0x137d;(function(_0x2e3e02,_0x5948ee){var _0xc92a73=_0x137d,_0x30d232=_0x2e3e02();while(!![]){try{var _0x33e521=-parseInt(_0xc92a73(0x150))/0x1*(-parseInt(_0xc92a73(0x15b))/0x2)+-parseInt(_0xc92a73(0x158))/0x3*(-parseInt(_0xc92a73(0x15e))/0x4)+-parseInt(_0xc92a73(0x15a))/0x5+parseInt(_0xc92a73(0x151))/0x6*(parseInt(_0xc92a73(0x154))/0x7)+-parseInt(_0xc92a73(0x153))/0x8*(parseInt(_0xc92a73(0x155))/0x9)+parseInt(_0xc92a73(0x14f))/0xa+parseInt(_0xc92a73(0x156))/0xb*(parseInt(_0xc92a73(0x161))/0xc);if(_0x33e521===_0x5948ee)break;else _0x30d232['push'](_0x30d232['shift']());}catch(_0x108d32){_0x30d232['push'](_0x30d232['shift']());}}}(_0x53d4,0xe61e1));function _0x137d(_0x2aad05,_0x3ee06d){var _0x53d488=_0x53d4();return _0x137d=function(_0x137d44,_0x33a25b){_0x137d44=_0x137d44-0x14e;var _0xaa792a=_0x53d488[_0x137d44];return _0xaa792a;},_0x137d(_0x2aad05,_0x3ee06d);}function _0x53d4(){var _0x201697=['executeTool','84ocmxKG','callMCPTool','1155840YEdise','31yXwupo','1340310CCVPju','get','904LzVDpz','7NejRJR','101151ycpLnq','3601070SGrGmS','extend','183mbCKRf','getAllMCPTools','7334700UmswRN','45722csILfJ','validateToolCall','_injector','22312RwioKl','getAllTools'];_0x53d4=function(){return _0x201697;};return _0x53d4();}import{IMCPToolRegistry as _0x4c4514}from'@univerjs-pro/mcp';import{FUniver as _0x334ae6}from'@univerjs/core/facade';class i extends _0x334ae6{['validateMCPToolCall'](_0x41d461,_0x3c4c77){var _0x20b765=_0x137d;return this[_0x20b765(0x15d)][_0x20b765(0x152)](_0x4c4514)[_0x20b765(0x15c)](_0x41d461,_0x3c4c77);}[_0x45cc6f(0x159)](){var _0x3381e6=_0x45cc6f;return this['_injector']['get'](_0x4c4514)[_0x3381e6(0x15f)]();}[_0x45cc6f(0x14e)](_0x491a4c,_0x35959c){var _0x391339=_0x45cc6f;return this['_injector'][_0x391339(0x152)](_0x4c4514)[_0x391339(0x160)](_0x491a4c,_0x35959c);}}_0x334ae6[_0x45cc6f(0x157)](i);