@univerjs-pro/mcp 0.15.0-insiders.20260106-79b11f9 → 0.15.0-insiders.20260107-3441c7a
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 +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +3 -3
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x18f8(_0x4fedab,_0x22810d){_0x4fedab=_0x4fedab-0x116;const _0x6d57b8=_0x6d57();let _0x18f835=_0x6d57b8[_0x4fedab];return _0x18f835;}(function(_0x1fa421,_0x1427c8){const _0x409dc1=_0x18f8,_0x28776b=_0x1fa421();while(!![]){try{const _0x69a2b1=-parseInt(_0x409dc1(0x13d))/0x1*(parseInt(_0x409dc1(0x124))/0x2)+parseInt(_0x409dc1(0x12b))/0x3*(-parseInt(_0x409dc1(0x11c))/0x4)+parseInt(_0x409dc1(0x146))/0x5*(-parseInt(_0x409dc1(0x13b))/0x6)+-parseInt(_0x409dc1(0x137))/0x7*(parseInt(_0x409dc1(0x136))/0x8)+parseInt(_0x409dc1(0x12d))/0x9*(parseInt(_0x409dc1(0x131))/0xa)+parseInt(_0x409dc1(0x11f))/0xb*(parseInt(_0x409dc1(0x125))/0xc)+parseInt(_0x409dc1(0x11b))/0xd;if(_0x69a2b1===_0x1427c8)break;else _0x28776b['push'](_0x28776b['shift']());}catch(_0x24972d){_0x28776b['push'](_0x28776b['shift']());}}}(_0x6d57,0x75be4),function(_0x160c2e,_0x28e5d6){const _0x4b8df7=_0x18f8;typeof exports==_0x4b8df7(0x116)&&typeof module<'u'?_0x28e5d6(require('@univerjs-pro/mcp'),require('@univerjs/core/facade'),require('@univerjs/core')):typeof define==_0x4b8df7(0x133)&&define[_0x4b8df7(0x11a)]?define([_0x4b8df7(0x12a),_0x4b8df7(0x139),_0x4b8df7(0x142)],_0x28e5d6):(_0x160c2e=typeof globalThis<'u'?globalThis:_0x160c2e||self,_0x28e5d6(_0x160c2e[_0x4b8df7(0x141)],_0x160c2e[_0x4b8df7(0x12c)],_0x160c2e[_0x4b8df7(0x14a)]));}(this,function(_0xaf535e,_0x25c035,_0x2a42f7){'use strict';const _0x12874a=_0x18f8;class _0x38b7ed{get[_0x12874a(0x130)](){const _0x35a041=_0x12874a;return _0xaf535e[_0x35a041(0x120)][_0x35a041(0x130)];}get[_0x12874a(0x123)](){const _0x196895=_0x12874a;return _0xaf535e[_0x196895(0x120)][_0x196895(0x123)];}get[_0x12874a(0x147)](){const _0x48de8e=_0x12874a;return _0xaf535e[_0x48de8e(0x120)][_0x48de8e(0x147)];}get[_0x12874a(0x13f)](){const _0x482b18=_0x12874a;return _0xaf535e[_0x482b18(0x120)][_0x482b18(0x13f)];}}_0x25c035[_0x12874a(0x118)]['extend'](_0x38b7ed);class _0xbb1c6e extends _0x25c035['FUniver']{[_0x12874a(0x138)](_0x492ce2){const _0x145673=_0x12874a;this[_0x145673(0x13c)](_0x492ce2);}[_0x12874a(0x13c)](_0x15e9ba){const _0x34e57=_0x12874a,_0x3dd9f2=_0x15e9ba[_0x34e57(0x145)](_0xaf535e[_0x34e57(0x13e)]);this[_0x34e57(0x12e)](this[_0x34e57(0x119)][_0x34e57(0x130)],()=>_0x2a42f7[_0x34e57(0x148)](_0x3dd9f2[_0x34e57(0x140)][_0x34e57(0x11e)](_0x9d345e=>{const _0x42fcb3=_0x34e57;_0x9d345e[_0x42fcb3(0x13a)]===_0xaf535e[_0x42fcb3(0x120)][_0x42fcb3(0x130)]&&this['fireEvent'](this[_0x42fcb3(0x119)][_0x42fcb3(0x130)],_0x9d345e[_0x42fcb3(0x134)]);}))),this[_0x34e57(0x12e)](this[_0x34e57(0x119)][_0x34e57(0x123)],()=>_0x2a42f7['toDisposable'](_0x3dd9f2[_0x34e57(0x140)][_0x34e57(0x11e)](_0x162e70=>{const _0xb70c44=_0x34e57;_0x162e70[_0xb70c44(0x13a)]===_0xaf535e[_0xb70c44(0x120)][_0xb70c44(0x123)]&&this['fireEvent'](this['Event'][_0xb70c44(0x123)],_0x162e70[_0xb70c44(0x134)]);}))),this['registerEventHandler'](this[_0x34e57(0x119)][_0x34e57(0x147)],()=>_0x2a42f7[_0x34e57(0x148)](_0x3dd9f2[_0x34e57(0x140)][_0x34e57(0x11e)](_0x8c926f=>{const _0x58a687=_0x34e57;_0x8c926f['type']===_0xaf535e[_0x58a687(0x120)][_0x58a687(0x147)]&&this['fireEvent'](this[_0x58a687(0x119)][_0x58a687(0x147)],_0x8c926f['data']);}))),this[_0x34e57(0x12e)](this[_0x34e57(0x119)]['McpToolCallFailed'],()=>_0x2a42f7[_0x34e57(0x148)](_0x3dd9f2[_0x34e57(0x140)][_0x34e57(0x11e)](_0x129b45=>{const _0x574412=_0x34e57;_0x129b45[_0x574412(0x13a)]===_0xaf535e[_0x574412(0x120)][_0x574412(0x13f)]&&this[_0x574412(0x129)](this[_0x574412(0x119)][_0x574412(0x13f)],_0x129b45[_0x574412(0x134)]);})));}[_0x12874a(0x117)](_0x2040db,_0x161b67){const _0x357d39=_0x12874a;return this['_injector'][_0x357d39(0x145)](_0xaf535e[_0x357d39(0x122)])[_0x357d39(0x143)](_0x2040db,_0x161b67);}[_0x12874a(0x14b)](){const _0x59e5e9=_0x12874a;return this[_0x59e5e9(0x144)][_0x59e5e9(0x145)](_0xaf535e[_0x59e5e9(0x122)])['getAllTools']();}[_0x12874a(0x149)](_0x1f6154,_0x38fab6){const _0x2ed323=_0x12874a;return this['_injector'][_0x2ed323(0x145)](_0xaf535e[_0x2ed323(0x122)])[_0x2ed323(0x12f)](_0x1f6154,_0x38fab6);}[_0x12874a(0x14c)](){const _0x31faab=_0x12874a;return this[_0x31faab(0x144)][_0x31faab(0x145)](_0xaf535e[_0x31faab(0x132)])[_0x31faab(0x121)]();}[_0x12874a(0x128)](){const _0x207446=_0x12874a;this[_0x207446(0x144)][_0x207446(0x145)](_0xaf535e['MCPConnectionController'])[_0x207446(0x127)]();}['disconnectMCP'](){const _0x4b1b2d=_0x12874a;this['_injector'][_0x4b1b2d(0x145)](_0xaf535e[_0x4b1b2d(0x132)])[_0x4b1b2d(0x135)]();}}_0x25c035[_0x12874a(0x11d)][_0x12874a(0x126)](_0xbb1c6e);}));function _0x6d57(){const _0x451c34=['object','validateMCPToolCall','FEventName','Event','amd','29422731sTxczi','16jVhMqf','FUniver','subscribe','44TWRKZk','MCPEventId','getConnectionStatus','IMCPToolRegistry','McpToolCallReceived','278iaBtTa','1485504LoxYYu','extend','connect','connectMCP','fireEvent','@univerjs-pro/mcp','520683QuVame','UniverCoreFacade','27YeavqE','registerEventHandler','executeTool','McpConnectionStatusChanged','545120XyfSXu','MCPConnectionController','function','data','disconnect','28040KdPZYG','553dyrFrU','_initialize','@univerjs/core/facade','type','516bePHmV','_registerMCPFacadeEvents','5336kVLPaT','MCPEventService','McpToolCallFailed','event$','UniverProMcp','@univerjs/core','validateToolCall','_injector','get','42260Ykctsd','McpToolCallExecuted','toDisposable','callMCPTool','UniverCore','getAllMCPTools','getMCPConnectionStatus'];_0x6d57=function(){return _0x451c34;};return _0x6d57();}
|