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

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 _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);
1
+ var _0xefdfb1=_0x5852;(function(_0x54c779,_0x34b974){var _0xd9b9ba=_0x5852,_0x3d0388=_0x54c779();while(!![]){try{var _0xcb254e=parseInt(_0xd9b9ba(0x84))/0x1*(parseInt(_0xd9b9ba(0x79))/0x2)+parseInt(_0xd9b9ba(0x87))/0x3*(parseInt(_0xd9b9ba(0x7e))/0x4)+-parseInt(_0xd9b9ba(0x7f))/0x5*(-parseInt(_0xd9b9ba(0x81))/0x6)+parseInt(_0xd9b9ba(0x77))/0x7+-parseInt(_0xd9b9ba(0x7a))/0x8*(-parseInt(_0xd9b9ba(0x7c))/0x9)+-parseInt(_0xd9b9ba(0x82))/0xa+-parseInt(_0xd9b9ba(0x7b))/0xb;if(_0xcb254e===_0x34b974)break;else _0x3d0388['push'](_0x3d0388['shift']());}catch(_0x1ae330){_0x3d0388['push'](_0x3d0388['shift']());}}}(_0xe065,0xe4b59));import{IMCPToolRegistry as _0x1c785b}from'@univerjs-pro/mcp';function _0xe065(){var _0x452547=['243eqokZH','7388619qfVLwQ','validateToolCall','1078kmYNNZ','2525944fvpAiq','35152766tngeTL','45PrxYEI','validateMCPToolCall','6836pQFUmV','15WqOMCo','get','2764968KxEyKW','2678910JpPyMc','getAllTools','455wmIoFs','executeTool','_injector'];_0xe065=function(){return _0x452547;};return _0xe065();}import{FUniver as _0x3cdcea}from'@univerjs/core/facade';class i extends _0x3cdcea{[_0xefdfb1(0x7d)](_0x2ae7ab,_0x33c47b){var _0x14e0f0=_0xefdfb1;return this['_injector'][_0x14e0f0(0x80)](_0x1c785b)[_0x14e0f0(0x78)](_0x2ae7ab,_0x33c47b);}['getAllMCPTools'](){var _0xc44aec=_0xefdfb1;return this[_0xc44aec(0x86)]['get'](_0x1c785b)[_0xc44aec(0x83)]();}['callMCPTool'](_0x5abdcf,_0x3aac77){var _0x2c75d0=_0xefdfb1;return this[_0x2c75d0(0x86)][_0x2c75d0(0x80)](_0x1c785b)[_0x2c75d0(0x85)](_0x5abdcf,_0x3aac77);}}function _0x5852(_0x4f2504,_0x1f8e4b){var _0xe06515=_0xe065();return _0x5852=function(_0x58529c,_0x35813e){_0x58529c=_0x58529c-0x77;var _0x4e9a92=_0xe06515[_0x58529c];return _0x4e9a92;},_0x5852(_0x4f2504,_0x1f8e4b);}_0x3cdcea['extend'](i);