@univerjs-pro/mcp 0.10.8 → 0.10.9

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 _0x32ab0d=_0x3223;function _0x3223(_0x3ca190,_0x4706c1){const _0x268af8=_0x268a();return _0x3223=function(_0x322373,_0x16e36b){_0x322373=_0x322373-0x160;let _0x11ec31=_0x268af8[_0x322373];return _0x11ec31;},_0x3223(_0x3ca190,_0x4706c1);}function _0x268a(){const _0x4e6801=['1231272mjgubU','713199BjMWcm','IMCPToolRegistry','325pnCkwx','callMCPTool','268rlkXDO','714820jWfDQL','getAllMCPTools','34bLBGfO','290409WPkcXk','get','56QijYtr','validateMCPToolCall','1251261ncyBwB','extend','getAllTools','executeTool','FUniver','validateToolCall','17233ZIZSME','_injector'];_0x268a=function(){return _0x4e6801;};return _0x268a();}(function(_0x76a9fb,_0x53802a){const _0x163710=_0x3223,_0x233d57=_0x76a9fb();while(!![]){try{const _0x1d66ad=parseInt(_0x163710(0x171))/0x1*(-parseInt(_0x163710(0x166))/0x2)+parseInt(_0x163710(0x174))/0x3+-parseInt(_0x163710(0x163))/0x4*(parseInt(_0x163710(0x161))/0x5)+parseInt(_0x163710(0x173))/0x6+parseInt(_0x163710(0x167))/0x7*(parseInt(_0x163710(0x169))/0x8)+-parseInt(_0x163710(0x16b))/0x9+parseInt(_0x163710(0x164))/0xa;if(_0x1d66ad===_0x53802a)break;else _0x233d57['push'](_0x233d57['shift']());}catch(_0x2104fd){_0x233d57['push'](_0x233d57['shift']());}}}(_0x268a,0x59f6b));const t=require('@univerjs-pro/mcp'),l=require('@univerjs/core/facade');class i extends l[_0x32ab0d(0x16f)]{[_0x32ab0d(0x16a)](_0x410eaf,_0x57a1b6){const _0x3fa50a=_0x32ab0d;return this['_injector'][_0x3fa50a(0x168)](t[_0x3fa50a(0x160)])[_0x3fa50a(0x170)](_0x410eaf,_0x57a1b6);}[_0x32ab0d(0x165)](){const _0x5beb95=_0x32ab0d;return this[_0x5beb95(0x172)][_0x5beb95(0x168)](t['IMCPToolRegistry'])[_0x5beb95(0x16d)]();}[_0x32ab0d(0x162)](_0x56c657,_0x365cf4){const _0x598432=_0x32ab0d;return this[_0x598432(0x172)][_0x598432(0x168)](t[_0x598432(0x160)])[_0x598432(0x16e)](_0x56c657,_0x365cf4);}}l[_0x32ab0d(0x16f)][_0x32ab0d(0x16c)](i);
1
+ 'use strict';const _0x4cdb8d=_0x3b36;(function(_0x134aa7,_0x4e19b4){const _0x79e063=_0x3b36,_0x1e4307=_0x134aa7();while(!![]){try{const _0x1efa7b=parseInt(_0x79e063(0x1e6))/0x1+-parseInt(_0x79e063(0x1e0))/0x2+-parseInt(_0x79e063(0x1d9))/0x3+-parseInt(_0x79e063(0x1e5))/0x4+parseInt(_0x79e063(0x1dd))/0x5+-parseInt(_0x79e063(0x1e7))/0x6+parseInt(_0x79e063(0x1da))/0x7*(parseInt(_0x79e063(0x1df))/0x8);if(_0x1efa7b===_0x4e19b4)break;else _0x1e4307['push'](_0x1e4307['shift']());}catch(_0x506cad){_0x1e4307['push'](_0x1e4307['shift']());}}}(_0xbc07,0xa70da));function _0xbc07(){const _0x22c0fd=['_injector','validateToolCall','4934180BwRsNZ','1261085nzLxGM','4237398uBJTJw','getAllMCPTools','validateMCPToolCall','FUniver','3531285sYZxqg','23415287TwvECX','executeTool','callMCPTool','662440kSrQcr','getAllTools','8AawuQV','1874982fVLIJU','get','IMCPToolRegistry'];_0xbc07=function(){return _0x22c0fd;};return _0xbc07();}function _0x3b36(_0x478f41,_0x5000c1){const _0xbc07e1=_0xbc07();return _0x3b36=function(_0x3b3624,_0x3b155e){_0x3b3624=_0x3b3624-0x1d6;let _0x2eea69=_0xbc07e1[_0x3b3624];return _0x2eea69;},_0x3b36(_0x478f41,_0x5000c1);}const t=require('@univerjs-pro/mcp'),l=require('@univerjs/core/facade');class i extends l['FUniver']{[_0x4cdb8d(0x1d7)](_0x255776,_0x197b9f){const _0xedb4ff=_0x4cdb8d;return this[_0xedb4ff(0x1e3)][_0xedb4ff(0x1e1)](t[_0xedb4ff(0x1e2)])[_0xedb4ff(0x1e4)](_0x255776,_0x197b9f);}[_0x4cdb8d(0x1d6)](){const _0x2dc070=_0x4cdb8d;return this['_injector'][_0x2dc070(0x1e1)](t[_0x2dc070(0x1e2)])[_0x2dc070(0x1de)]();}[_0x4cdb8d(0x1dc)](_0x28ca4b,_0x32afbf){const _0x253d0f=_0x4cdb8d;return this['_injector']['get'](t['IMCPToolRegistry'])[_0x253d0f(0x1db)](_0x28ca4b,_0x32afbf);}}l[_0x4cdb8d(0x1d8)]['extend'](i);