@univerjs-pro/mcp 0.10.6-experimental.20250904-9591d16 → 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 _0x2ddd10=_0x4362;(function(_0x4ed429,_0x11a59b){var _0x42ce19=_0x4362,_0x1e1600=_0x4ed429();while(!![]){try{var _0xc687b7=parseInt(_0x42ce19(0x16c))/0x1*(-parseInt(_0x42ce19(0x163))/0x2)+parseInt(_0x42ce19(0x169))/0x3+parseInt(_0x42ce19(0x165))/0x4*(-parseInt(_0x42ce19(0x166))/0x5)+parseInt(_0x42ce19(0x16f))/0x6+parseInt(_0x42ce19(0x162))/0x7*(-parseInt(_0x42ce19(0x167))/0x8)+parseInt(_0x42ce19(0x168))/0x9+parseInt(_0x42ce19(0x170))/0xa*(parseInt(_0x42ce19(0x16d))/0xb);if(_0xc687b7===_0x11a59b)break;else _0x1e1600['push'](_0x1e1600['shift']());}catch(_0x12ac1a){_0x1e1600['push'](_0x1e1600['shift']());}}}(_0x5070,0x7e8dc));import{IMCPToolRegistry as _0xc0b6fe}from'@univerjs-pro/mcp';function _0x5070(){var _0x46e61c=['1364820QTGDRE','3529390fhmaYd','executeTool','_injector','35jcFtwO','2dfDmEX','getAllTools','2763756LpKRxW','5VpnZQq','1302176FSXZuZ','2449134rGWxnU','2298639lAgyEO','validateMCPToolCall','extend','1007341RCSEGH','55wBqmdt','get'];_0x5070=function(){return _0x46e61c;};return _0x5070();}function _0x4362(_0x26fa91,_0xfb03c4){var _0x507098=_0x5070();return _0x4362=function(_0x43620d,_0x596614){_0x43620d=_0x43620d-0x161;var _0x3d3b96=_0x507098[_0x43620d];return _0x3d3b96;},_0x4362(_0x26fa91,_0xfb03c4);}import{FUniver as _0x101309}from'@univerjs/core/facade';class i extends _0x101309{[_0x2ddd10(0x16a)](_0xd85ff0,_0x1b1d64){var _0x474088=_0x2ddd10;return this[_0x474088(0x161)][_0x474088(0x16e)](_0xc0b6fe)['validateToolCall'](_0xd85ff0,_0x1b1d64);}['getAllMCPTools'](){var _0x41a070=_0x2ddd10;return this['_injector'][_0x41a070(0x16e)](_0xc0b6fe)[_0x41a070(0x164)]();}['callMCPTool'](_0xa9004b,_0x127043){var _0x5699be=_0x2ddd10;return this[_0x5699be(0x161)]['get'](_0xc0b6fe)[_0x5699be(0x171)](_0xa9004b,_0x127043);}}_0x101309[_0x2ddd10(0x16b)](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();}