@univerjs-pro/mcp 0.10.7-nightly.202509090319 → 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/cjs/facade.js CHANGED
@@ -1 +1 @@
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);
1
+ 'use strict';const _0x5a130d=_0x5201;function _0x300b(){const _0x3a2d82=['IMCPToolRegistry','557898zwnpmF','executeTool','875833yBhzyU','_injector','FUniver','407192DRJTel','4039QcmsbB','callMCPTool','52330FeoaEb','get','630rLlgSK','6nmbFjF','getAllMCPTools','912PONeqw','280yBqPUR','12605oRkUez','1959330fJMIbM','validateToolCall','validateMCPToolCall'];_0x300b=function(){return _0x3a2d82;};return _0x300b();}(function(_0x265517,_0x1cc2b2){const _0x32ba42=_0x5201,_0x4e5082=_0x265517();while(!![]){try{const _0x2e7e08=-parseInt(_0x32ba42(0x1e6))/0x1*(-parseInt(_0x32ba42(0x1da))/0x2)+-parseInt(_0x32ba42(0x1dc))/0x3+parseInt(_0x32ba42(0x1d9))/0x4*(parseInt(_0x32ba42(0x1db))/0x5)+-parseInt(_0x32ba42(0x1d7))/0x6*(-parseInt(_0x32ba42(0x1e2))/0x7)+parseInt(_0x32ba42(0x1e5))/0x8+-parseInt(_0x32ba42(0x1d6))/0x9*(parseInt(_0x32ba42(0x1e8))/0xa)+parseInt(_0x32ba42(0x1e0))/0xb;if(_0x2e7e08===_0x1cc2b2)break;else _0x4e5082['push'](_0x4e5082['shift']());}catch(_0x1f1e59){_0x4e5082['push'](_0x4e5082['shift']());}}}(_0x300b,0x54dac));function _0x5201(_0x2c592b,_0x5b4824){const _0x300b77=_0x300b();return _0x5201=function(_0x520180,_0x420415){_0x520180=_0x520180-0x1d6;let _0x20f957=_0x300b77[_0x520180];return _0x20f957;},_0x5201(_0x2c592b,_0x5b4824);}const t=require('@univerjs-pro/mcp'),l=require('@univerjs/core/facade');class i extends l[_0x5a130d(0x1e4)]{[_0x5a130d(0x1de)](_0x1fbcca,_0x2014e6){const _0x2ccf2f=_0x5a130d;return this[_0x2ccf2f(0x1e3)][_0x2ccf2f(0x1e9)](t[_0x2ccf2f(0x1df)])[_0x2ccf2f(0x1dd)](_0x1fbcca,_0x2014e6);}[_0x5a130d(0x1d8)](){const _0x1dfd2b=_0x5a130d;return this[_0x1dfd2b(0x1e3)][_0x1dfd2b(0x1e9)](t[_0x1dfd2b(0x1df)])['getAllTools']();}[_0x5a130d(0x1e7)](_0x5e10b6,_0x2c4f91){const _0x58fe75=_0x5a130d;return this['_injector'][_0x58fe75(0x1e9)](t[_0x58fe75(0x1df)])[_0x58fe75(0x1e1)](_0x5e10b6,_0x2c4f91);}}l[_0x5a130d(0x1e4)]['extend'](i);