@univerjs-pro/mcp 0.10.7 → 0.10.8-nightly.202509200616

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/es/facade.js CHANGED
@@ -1 +1 @@
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();}
1
+ function _0xe431(_0x379f78,_0x2eec30){var _0x50547c=_0x5054();return _0xe431=function(_0xe431a6,_0x276880){_0xe431a6=_0xe431a6-0xdd;var _0x279f9e=_0x50547c[_0xe431a6];return _0x279f9e;},_0xe431(_0x379f78,_0x2eec30);}var _0x40e0d0=_0xe431;(function(_0x52cab8,_0x57deb8){var _0xbf592a=_0xe431,_0xfb3cbd=_0x52cab8();while(!![]){try{var _0x3d0998=-parseInt(_0xbf592a(0xdf))/0x1*(-parseInt(_0xbf592a(0xe4))/0x2)+-parseInt(_0xbf592a(0xe6))/0x3+-parseInt(_0xbf592a(0xee))/0x4+-parseInt(_0xbf592a(0xe2))/0x5*(-parseInt(_0xbf592a(0xeb))/0x6)+parseInt(_0xbf592a(0xe0))/0x7+-parseInt(_0xbf592a(0xe1))/0x8+-parseInt(_0xbf592a(0xe8))/0x9*(parseInt(_0xbf592a(0xed))/0xa);if(_0x3d0998===_0x57deb8)break;else _0xfb3cbd['push'](_0xfb3cbd['shift']());}catch(_0x4c4a3c){_0xfb3cbd['push'](_0xfb3cbd['shift']());}}}(_0x5054,0x8cdd3));import{IMCPToolRegistry as _0x210b41}from'@univerjs-pro/mcp';import{FUniver as _0x5522e1}from'@univerjs/core/facade';class i extends _0x5522e1{[_0x40e0d0(0xec)](_0x4c4739,_0xb26ada){var _0x31f790=_0x40e0d0;return this['_injector'][_0x31f790(0xe7)](_0x210b41)[_0x31f790(0xdd)](_0x4c4739,_0xb26ada);}[_0x40e0d0(0xe9)](){var _0xf50c0=_0x40e0d0;return this['_injector'][_0xf50c0(0xe7)](_0x210b41)[_0xf50c0(0xde)]();}['callMCPTool'](_0x2dee86,_0x1d0101){var _0x5a72d6=_0x40e0d0;return this[_0x5a72d6(0xea)][_0x5a72d6(0xe7)](_0x210b41)[_0x5a72d6(0xe5)](_0x2dee86,_0x1d0101);}}_0x5522e1[_0x40e0d0(0xe3)](i);function _0x5054(){var _0x2231bb=['1UwuUyC','6214341MTGwLC','5818240GYhVVa','53870giXKSZ','extend','1176930PvfARK','executeTool','1758741VCpLSu','get','17559TAttju','getAllMCPTools','_injector','642NwdqyN','validateMCPToolCall','2530yofHfR','979748BkBEaf','validateToolCall','getAllTools'];_0x5054=function(){return _0x2231bb;};return _0x5054();}