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

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 _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);
1
+ 'use strict';const _0x39e381=_0x5be3;function _0x1133(){const _0x495b54=['1159510hulPIV','get','_injector','152925UfHrQi','59372IhVYtH','validateMCPToolCall','callMCPTool','FUniver','IMCPToolRegistry','475541eUaBsy','907650GQayrI','500AcCyqP','2999544nTFPCQ','36dokziE','validateToolCall','16moqAuk','getAllTools','executeTool','12sxGFMr','1455902tyEcNO','extend'];_0x1133=function(){return _0x495b54;};return _0x1133();}(function(_0x1e4d9b,_0x1f48b3){const _0x5706ed=_0x5be3,_0x460e98=_0x1e4d9b();while(!![]){try{const _0x12bd96=parseInt(_0x5706ed(0x1a2))/0x1*(-parseInt(_0x5706ed(0x1b1))/0x2)+parseInt(_0x5706ed(0x1ac))/0x3*(parseInt(_0x5706ed(0x1a3))/0x4)+parseInt(_0x5706ed(0x19f))/0x5+-parseInt(_0x5706ed(0x1ab))/0x6+-parseInt(_0x5706ed(0x1b2))/0x7*(parseInt(_0x5706ed(0x1ae))/0x8)+-parseInt(_0x5706ed(0x1a9))/0x9+-parseInt(_0x5706ed(0x1aa))/0xa*(-parseInt(_0x5706ed(0x1a8))/0xb);if(_0x12bd96===_0x1f48b3)break;else _0x460e98['push'](_0x460e98['shift']());}catch(_0x34b782){_0x460e98['push'](_0x460e98['shift']());}}}(_0x1133,0x9b958));const t=require('@univerjs-pro/mcp'),l=require('@univerjs/core/facade');function _0x5be3(_0x101d5a,_0x1e8e0d){const _0x11334c=_0x1133();return _0x5be3=function(_0x5be320,_0x39f7f6){_0x5be320=_0x5be320-0x19f;let _0x274573=_0x11334c[_0x5be320];return _0x274573;},_0x5be3(_0x101d5a,_0x1e8e0d);}class i extends l['FUniver']{[_0x39e381(0x1a4)](_0x4a5f91,_0x2dcf39){const _0x3d98fc=_0x39e381;return this['_injector'][_0x3d98fc(0x1a0)](t['IMCPToolRegistry'])[_0x3d98fc(0x1ad)](_0x4a5f91,_0x2dcf39);}['getAllMCPTools'](){const _0x38460b=_0x39e381;return this[_0x38460b(0x1a1)][_0x38460b(0x1a0)](t['IMCPToolRegistry'])[_0x38460b(0x1af)]();}[_0x39e381(0x1a5)](_0xab0733,_0x1bc745){const _0x1e790a=_0x39e381;return this[_0x1e790a(0x1a1)][_0x1e790a(0x1a0)](t[_0x1e790a(0x1a7)])[_0x1e790a(0x1b0)](_0xab0733,_0x1bc745);}}l[_0x39e381(0x1a6)][_0x39e381(0x1b3)](i);