@univerjs-pro/mcp 0.10.6-experimental.20250904-9591d16 → 0.10.6-nightly.202509060832

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 _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);