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

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/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0xa6a3aa=_0x1fb7;(function(_0x232dd7,_0x19e3f6){const _0x334500=_0x1fb7,_0x167f37=_0x232dd7();while(!![]){try{const _0x266667=parseInt(_0x334500(0x1aa))/0x1*(parseInt(_0x334500(0x1a8))/0x2)+parseInt(_0x334500(0x1a9))/0x3+parseInt(_0x334500(0x1b2))/0x4+-parseInt(_0x334500(0x1b0))/0x5*(-parseInt(_0x334500(0x1ac))/0x6)+parseInt(_0x334500(0x1ae))/0x7+parseInt(_0x334500(0x1a7))/0x8*(-parseInt(_0x334500(0x1b1))/0x9)+parseInt(_0x334500(0x1a4))/0xa*(-parseInt(_0x334500(0x1af))/0xb);if(_0x266667===_0x19e3f6)break;else _0x167f37['push'](_0x167f37['shift']());}catch(_0x5f567c){_0x167f37['push'](_0x167f37['shift']());}}}(_0x23fc,0x53329));function _0x23fc(){const _0x2fca49=['30YQIImo','getAllTools','extend','48MEvkwg','1692wpovwA','1255353jYRaVZ','46ZnShVe','IMCPToolRegistry','39342muQcyc','validateToolCall','2962449LANZtF','3660162WiTjWd','415jdxJwM','475272ApbfzM','924184CMmrDu','get','executeTool','FUniver','_injector'];_0x23fc=function(){return _0x2fca49;};return _0x23fc();}const t=require('@univerjs-pro/mcp'),l=require('@univerjs/core/facade');class i extends l[_0xa6a3aa(0x1b5)]{['validateMCPToolCall'](_0x405db8,_0x2c7c2d){const _0x35581e=_0xa6a3aa;return this[_0x35581e(0x1b6)][_0x35581e(0x1b3)](t[_0x35581e(0x1ab)])[_0x35581e(0x1ad)](_0x405db8,_0x2c7c2d);}['getAllMCPTools'](){const _0x186e9c=_0xa6a3aa;return this[_0x186e9c(0x1b6)][_0x186e9c(0x1b3)](t[_0x186e9c(0x1ab)])[_0x186e9c(0x1a5)]();}['callMCPTool'](_0x2fbbc5,_0x27f2b0){const _0x4f6e3e=_0xa6a3aa;return this[_0x4f6e3e(0x1b6)][_0x4f6e3e(0x1b3)](t[_0x4f6e3e(0x1ab)])[_0x4f6e3e(0x1b4)](_0x2fbbc5,_0x27f2b0);}}function _0x1fb7(_0x8420af,_0x4bb131){const _0x23fc49=_0x23fc();return _0x1fb7=function(_0x1fb7e0,_0x2461d8){_0x1fb7e0=_0x1fb7e0-0x1a4;let _0x38b497=_0x23fc49[_0x1fb7e0];return _0x38b497;},_0x1fb7(_0x8420af,_0x4bb131);}l[_0xa6a3aa(0x1b5)][_0xa6a3aa(0x1a6)](i);
1
+ 'use strict';function _0x2373(_0x2088f1,_0x45dbdb){const _0x1ecc0f=_0x1ecc();return _0x2373=function(_0x237342,_0x2111aa){_0x237342=_0x237342-0x1b3;let _0x9ec05b=_0x1ecc0f[_0x237342];return _0x9ec05b;},_0x2373(_0x2088f1,_0x45dbdb);}const _0x100124=_0x2373;(function(_0x1d6365,_0xe370ea){const _0x579d02=_0x2373,_0x5f4b07=_0x1d6365();while(!![]){try{const _0x3033e3=-parseInt(_0x579d02(0x1b3))/0x1+parseInt(_0x579d02(0x1c4))/0x2+parseInt(_0x579d02(0x1ba))/0x3*(-parseInt(_0x579d02(0x1b8))/0x4)+-parseInt(_0x579d02(0x1b4))/0x5*(-parseInt(_0x579d02(0x1c0))/0x6)+-parseInt(_0x579d02(0x1b6))/0x7+parseInt(_0x579d02(0x1c1))/0x8+parseInt(_0x579d02(0x1bd))/0x9*(parseInt(_0x579d02(0x1bc))/0xa);if(_0x3033e3===_0xe370ea)break;else _0x5f4b07['push'](_0x5f4b07['shift']());}catch(_0x35d28c){_0x5f4b07['push'](_0x5f4b07['shift']());}}}(_0x1ecc,0xc996e));const t=require('@univerjs-pro/mcp'),l=require('@univerjs/core/facade');class i extends l[_0x100124(0x1c3)]{[_0x100124(0x1bf)](_0x3e8b14,_0x3fedd8){const _0x36bffc=_0x100124;return this[_0x36bffc(0x1be)][_0x36bffc(0x1b9)](t[_0x36bffc(0x1c5)])[_0x36bffc(0x1b5)](_0x3e8b14,_0x3fedd8);}['getAllMCPTools'](){const _0x26aacb=_0x100124;return this[_0x26aacb(0x1be)][_0x26aacb(0x1b9)](t[_0x26aacb(0x1c5)])[_0x26aacb(0x1c2)]();}[_0x100124(0x1bb)](_0x1a0e5c,_0x2bbe6c){const _0xcc416a=_0x100124;return this[_0xcc416a(0x1be)][_0xcc416a(0x1b9)](t[_0xcc416a(0x1c5)])[_0xcc416a(0x1b7)](_0x1a0e5c,_0x2bbe6c);}}function _0x1ecc(){const _0x4e4fbb=['_injector','validateMCPToolCall','9649794khFlKZ','607088vTuYFc','getAllTools','FUniver','1155720tARdUf','IMCPToolRegistry','395026eVrrpF','5DtDEcv','validateToolCall','6117832XuxPQS','executeTool','31688EVopXF','get','591ZWOixH','callMCPTool','4270NFVLme','29367zJSjyx'];_0x1ecc=function(){return _0x4e4fbb;};return _0x1ecc();}l['FUniver']['extend'](i);