@univerjs-pro/mcp-ui 0.19.0 → 0.20.1
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/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +7 -7
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x35218a=_0x1fe8;(function(_0x22902e,_0x2348cf){const _0x40e54f=_0x1fe8,_0x56eb0b=_0x22902e();while(!![]){try{const _0x56ddaa=parseInt(_0x40e54f(0xe1))/0x1*(parseInt(_0x40e54f(0x186))/0x2)+-parseInt(_0x40e54f(0x106))/0x3+-parseInt(_0x40e54f(0xeb))/0x4*(-parseInt(_0x40e54f(0xce))/0x5)+-parseInt(_0x40e54f(0x154))/0x6+-parseInt(_0x40e54f(0x103))/0x7*(-parseInt(_0x40e54f(0xef))/0x8)+parseInt(_0x40e54f(0x184))/0x9+parseInt(_0x40e54f(0x139))/0xa;if(_0x56ddaa===_0x2348cf)break;else _0x56eb0b['push'](_0x56eb0b['shift']());}catch(_0x275823){_0x56eb0b['push'](_0x56eb0b['shift']());}}}(_0xd608,0xb546e));import{CommandType as _0x8c6f3b,DependentOn as _0x32a5f5,Disposable as _0x634fb7,ICommandService as _0x14b703,IConfigService as _0x2220a,ILocalStorageService as _0x3ab6f4,ILogService as _0x3a67db,Inject as _0x519d4f,Injector as _0x97e35a,LocaleService as _0x485d48,Plugin as _0x2c7e0b,merge as _0xd6e0f4}from'@univerjs/core';import{MCPConnectionController as _0x192377,MCPConnectionError as _0x576943,MCPConnectionStatus as _0x2cb78f,MCP_PLUGIN_CONFIG_KEY as _0x562266,UniverMCPPlugin as _0x2af01b}from'@univerjs-pro/mcp';import{Button as _0x52edc6,Input as _0x2013d7,MessageType as _0x11c1e6,Tooltip as _0x26f1ea,clsx as _0x4ba5b3}from'@univerjs/design';import{BuiltInUIPart as _0x14998e,ComponentManager as _0xcc080b,IDialogService as _0x40024d,IMenuManagerService as _0x246c7e,IMessageService as _0x4e8535,IUIPartsService as _0x1f23b3,MenuItemType as _0x347f6f,RibbonStartGroup as _0x2fd2cb,connectInjector as _0x4d5475,useDependency as _0x1cd4cf,useObservable as _0x554e27}from'@univerjs/ui';import{BehaviorSubject as _0x4bdada}from'rxjs';import{CheckMarkIcon as _0x2a0f59,CloseIcon as _0x59556c,HelpIcon as _0x40bc06,OffLineIcon as _0x5a6443,OnLineIcon as _0x4e3349}from'@univerjs/icons';import{useCallback as _0x4fd27b,useState as _0x5dba73}from'react';import{jsx as _0x288c52,jsxs as _0x410c89}from'react/jsx-runtime';import{ISocketService as _0x4e295d,WebSocketService as _0x5e9f21}from'@univerjs/network';function _0x1fe8(_0x540678,_0x328c51){_0x540678=_0x540678-0xbc;const _0xd608b8=_0xd608();let _0x1fe8f4=_0xd608b8[_0x540678];return _0x1fe8f4;}function z(_0x2bd6ae){const _0x45c13e=_0x1fe8;var _0x19726e,_0x51fa1d;let {mcpCoreConfig:_0x39cffa,onSave:_0x30c1d6,loading:_0x1635b1=!0x1,config:_0x2a4a8b,connectionStatus$:_0x16c0ba,connectionError$:_0x50ddc7,currentApiKey$:_0x536ca1,currentSessionId$:_0x5da0a4}=_0x2bd6ae,_0x5982f=_0x1cd4cf(_0x485d48),_0xb9a533=_0x554e27(_0x16c0ba,_0x2cb78f[_0x45c13e(0xbe)]),_0x10d7f3=_0x554e27(_0x50ddc7,_0x576943['NONE']),_0x3ec105=_0x554e27(_0x5da0a4,''),[_0x33dcdc,_0x223890]=_0x5dba73(_0x554e27(_0x536ca1,'')||''),_0xdab73d=_0x2a4a8b[_0x45c13e(0x18f)]&&_0x39cffa['mcpServerUrl']&&(_0x39cffa[_0x45c13e(0x11f)][_0x45c13e(0xdd)](_0x45c13e(0x104))||_0x39cffa['mcpServerUrl']['includes']('univer.ai')),_0x448d4d=(_0x19726e=_0x39cffa[_0x45c13e(0x11f)])==null?void 0x0:_0x19726e[_0x45c13e(0xdd)](_0x45c13e(0x104)),_0x481ec3=(_0x51fa1d=_0x39cffa[_0x45c13e(0x11f)])==null?void 0x0:_0x51fa1d[_0x45c13e(0xdd)]('univer.ai'),_0x2ffb3e=_0x448d4d?_0x45c13e(0x1d5):_0x45c13e(0x1c4),_0x394370=_0x2a4a8b[_0x45c13e(0x18f)]&&(_0x448d4d||_0x481ec3),[_0x128f39,_0x2bd2b4]=_0x5dba73(!_0x33dcdc[_0x45c13e(0xf5)]()),_0xa90ea4=(_0x8f20f6,_0x32e48a)=>{const _0x3baff6=_0x45c13e;if(_0x32e48a===_0x576943[_0x3baff6(0x14f)])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x8f20f6){case _0x2cb78f[_0x3baff6(0x182)]:return _0x3baff6(0x105);case _0x2cb78f[_0x3baff6(0x129)]:case _0x2cb78f['RETRYING']:return'univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200';case _0x2cb78f['FAILED']:return _0x3baff6(0x1cc);default:return _0x3baff6(0xe8);}},_0x3b0edf=(_0x10de66,_0x1f3601)=>{const _0x1457d7=_0x45c13e;if(_0x1f3601===_0x576943[_0x1457d7(0x14f)])return _0x1457d7(0x108);switch(_0x10de66){case _0x2cb78f[_0x1457d7(0x182)]:return _0x1457d7(0x15f);case _0x2cb78f[_0x1457d7(0x129)]:case _0x2cb78f['RETRYING']:return _0x1457d7(0x122);case _0x2cb78f['FAILED']:return _0x1457d7(0x108);default:return _0x1457d7(0x168);}},_0x1a4bff=_0x925b39=>{const _0x7534e=_0x45c13e;switch(_0x925b39){case _0x2cb78f[_0x7534e(0x182)]:return _0x5982f['t'](_0x7534e(0x14a));case _0x2cb78f[_0x7534e(0x129)]:return _0x5982f['t']('mcpConfig.connectionStatus.connecting');case _0x2cb78f[_0x7534e(0x175)]:return _0x5982f['t'](_0x7534e(0x19d));case _0x2cb78f[_0x7534e(0xe9)]:return _0x5982f['t'](_0x7534e(0x158));default:return _0x5982f['t']('mcpConfig.connectionStatus.disconnected');}},_0x27eb5d=_0x21328e=>{const _0x12e658=_0x45c13e;switch(_0x21328e){case _0x576943[_0x12e658(0x14f)]:return _0x5982f['t']('mcpConfig.connectionError.unauthorized');case _0x576943[_0x12e658(0x157)]:return _0x5982f['t'](_0x12e658(0x14d));case _0x576943[_0x12e658(0x101)]:return _0x5982f['t'](_0x12e658(0x172));case _0x576943[_0x12e658(0x1da)]:return _0x5982f['t'](_0x12e658(0x163));default:return'';}},_0xb7294b=_0x4fd27b(()=>{_0x30c1d6({..._0x39cffa,'apiKey':_0x33dcdc['trim'](),'enableAuth':!0x0});},[_0x39cffa,_0x33dcdc,!0x0,_0x30c1d6]),_0x2c65a6=_0x33dcdc['trim']()[_0x45c13e(0xfe)]>0x0;return _0x410c89(_0x45c13e(0x11a),{'className':_0x45c13e(0x1e5),'children':[_0x288c52(_0x45c13e(0x11a),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':_0x410c89(_0x45c13e(0x11a),{'className':_0x45c13e(0x153),'children':[_0x288c52(_0x45c13e(0x11a),{'className':_0x45c13e(0x15b),'children':_0x288c52(_0x45c13e(0x161),{'className':_0x45c13e(0x14c),'children':'⚙'})}),_0x288c52(_0x45c13e(0x11a),{'children':_0x288c52('p',{'className':_0x45c13e(0x166),'children':_0x5982f['t'](_0x45c13e(0x1c1))})})]})}),_0x410c89(_0x45c13e(0x11a),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','children':[_0x288c52(_0x45c13e(0x11a),{'className':_0x4ba5b3(_0x45c13e(0x1d2),_0xa90ea4(_0xb9a533,_0x10d7f3)),'children':_0x410c89('div',{'className':_0x45c13e(0x17c),'children':[_0x288c52(_0x45c13e(0x11a),{'className':_0x4ba5b3(_0x45c13e(0x1d8),_0x3b0edf(_0xb9a533,_0x10d7f3))}),_0x288c52('span',{'className':_0x45c13e(0x1a4),'children':_0x1a4bff(_0xb9a533)})]})}),_0x10d7f3!==_0x576943[_0x45c13e(0x1a7)]&&(_0xb9a533===_0x2cb78f[_0x45c13e(0x175)]||_0x10d7f3===_0x576943[_0x45c13e(0x14f)])&&_0x288c52(_0x45c13e(0x11a),{'className':_0x45c13e(0x16a),'children':_0x410c89(_0x45c13e(0x11a),{'className':'univer-flex\x20univer-items-start\x20univer-gap-2','children':[_0x288c52(_0x45c13e(0x161),{'className':_0x45c13e(0x1c7),'children':'⚠️'}),_0x288c52('p',{'className':'univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','children':_0x27eb5d(_0x10d7f3)})]})})]}),_0x288c52(_0x45c13e(0x11a),{'className':_0x45c13e(0x18a),'children':_0x410c89(_0x45c13e(0x11a),{'className':_0x45c13e(0x13b),'children':[_0x410c89(_0x45c13e(0x11a),{'className':_0x45c13e(0x1d1),'children':[_0x410c89(_0x45c13e(0x177),{'className':_0x45c13e(0x189),'children':[_0x288c52(_0x45c13e(0x161),{'children':'🔑'}),'\x20',_0x5982f['t'](_0x45c13e(0x1c9)),_0x288c52(_0x45c13e(0x161),{'className':_0x45c13e(0x1d6),'children':'*'}),_0xdab73d&&_0x288c52('a',{'className':_0x45c13e(0x1b3),'title':_0x5982f['t']('mcpConfig.apiApplyInfo.title'),'role':_0x45c13e(0x178),'onClick':()=>_0x2bd2b4(!0x0),'children':_0x288c52(_0x40bc06,{})})]}),_0x288c52(_0x2013d7,{'type':_0x45c13e(0x151),'placeholder':_0x5982f['t']('mcpConfig.apiKeyPlaceholder'),'value':_0x33dcdc,'disabled':_0x1635b1,'autoComplete':_0x45c13e(0x188),'onChange':_0x223890}),_0x288c52('p',{'className':_0x45c13e(0x19e),'children':_0x5982f['t'](_0x45c13e(0x1ac))})]}),_0xdab73d&&_0x128f39&&_0x410c89(_0x45c13e(0x11a),{'className':_0x45c13e(0x18b),'children':[_0x288c52('a',{'className':_0x45c13e(0x190),'role':_0x45c13e(0x178),'onClick':()=>_0x2bd2b4(!0x1),'children':_0x288c52(_0x59556c,{'className':_0x45c13e(0x196)})}),_0x410c89(_0x45c13e(0x11a),{'className':_0x45c13e(0xed),'children':[_0x288c52(_0x45c13e(0x11a),{'className':_0x45c13e(0x10b),'children':_0x288c52(_0x45c13e(0x161),{'className':'univer-text-blue-600','children':'🚀'})}),_0x410c89(_0x45c13e(0x11a),{'className':_0x45c13e(0x1bd),'children':[_0x288c52('h4',{'className':_0x45c13e(0x19c),'children':_0x5982f['t'](_0x45c13e(0xfa))}),_0x288c52('p',{'className':_0x45c13e(0x1b1),'children':_0x5982f['t'](_0x45c13e(0xee))}),_0x288c52(_0x45c13e(0x11a),{'className':_0x45c13e(0x1e1),'children':_0x394370&&_0x410c89('a',{'className':'univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','href':_0x2ffb3e,'target':'_blank','rel':'noopener\x20noreferrer','children':[_0x288c52('span',{'children':'🤖'}),_0x5982f['t'](_0x45c13e(0x128)),_0x288c52(_0x45c13e(0x161),{'className':_0x45c13e(0x13d),'children':'↗'})]})}),_0x410c89(_0x45c13e(0x11a),{'className':_0x45c13e(0xf4),'children':['✨','\x20',_0x5982f['t'](_0x45c13e(0x12f))]})]})]})]}),_0x2a4a8b['showDeveloperTools']&&_0x410c89(_0x45c13e(0x11a),{'className':_0x45c13e(0x13f),'children':[_0x410c89('h4',{'className':_0x45c13e(0x10a),'children':[_0x288c52(_0x45c13e(0x161),{'children':'🔗'}),'\x20',_0x5982f['t']('mcpConfig.connectionInfo')]}),_0x410c89('div',{'className':_0x45c13e(0xd9),'children':[_0x410c89('div',{'className':_0x45c13e(0x1b8),'children':[_0x288c52('p',{'className':_0x45c13e(0x147),'children':_0x5982f['t'](_0x45c13e(0xf1))}),_0x410c89(_0x45c13e(0x11a),{'className':_0x45c13e(0x1d1),'children':[_0x288c52(_0x45c13e(0x11a),{'className':_0x45c13e(0x1c6),'children':_0x5982f['t']('mcpConfig.configStepTitle')}),_0x410c89(_0x45c13e(0x11a),{'className':_0x45c13e(0x132),'children':[_0x410c89(_0x45c13e(0x11a),{'className':_0x45c13e(0x17c),'children':[_0x288c52(_0x45c13e(0x161),{'className':_0x45c13e(0xc6),'children':'1'}),_0x5982f['t']('mcpConfig.configStep1')]}),_0x410c89(_0x45c13e(0x11a),{'className':_0x45c13e(0x17c),'children':[_0x288c52(_0x45c13e(0x161),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'2'}),_0x5982f['t']('mcpConfig.configStep2')]}),_0x410c89(_0x45c13e(0x11a),{'className':_0x45c13e(0x17c),'children':[_0x288c52(_0x45c13e(0x161),{'className':_0x45c13e(0xc6),'children':'3'}),_0x5982f['t'](_0x45c13e(0x1b2))]})]})]})]}),_0x410c89(_0x45c13e(0x11a),{'className':_0x45c13e(0x1d1),'children':[_0x288c52(_0x45c13e(0x11a),{'className':_0x45c13e(0x1c6),'children':_0x45c13e(0x1ba)}),_0x288c52(_0x45c13e(0x11a),{'className':'univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','children':_0x288c52(_0x45c13e(0x1d4),{'className':_0x45c13e(0x1b7),'children':JSON[_0x45c13e(0x1c2)]({'mcpServers':{'univer':{'url':_0x45c13e(0x1e6)+(_0x3ec105||'<SESSION_ID>'),'type':_0x45c13e(0x12a),'headers':{'Authorization':_0x45c13e(0x1d0)+(_0x33dcdc||_0x45c13e(0x1e3))}}}},null,0x2)})})]}),_0x410c89(_0x45c13e(0x11a),{'className':'univer-space-y-3','children':[_0x288c52(_0x45c13e(0x11a),{'className':_0x45c13e(0x1c6),'children':_0x5982f['t'](_0x45c13e(0x1ca))}),_0x410c89(_0x45c13e(0x11a),{'className':'univer-space-y-2','children':[_0x410c89('div',{'className':_0x45c13e(0x165),'children':[_0x288c52(_0x45c13e(0x11a),{'className':_0x45c13e(0x16b)}),_0x410c89('div',{'className':_0x45c13e(0xf7),'children':[_0x288c52(_0x45c13e(0x11a),{'className':_0x45c13e(0x127),'children':_0x45c13e(0x1e4)}),_0x288c52(_0x45c13e(0x11a),{'className':_0x45c13e(0x19e),'children':_0x5982f['t'](_0x45c13e(0x1a9))})]})]}),_0x410c89(_0x45c13e(0x11a),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x288c52(_0x45c13e(0x11a),{'className':'univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500'}),_0x410c89(_0x45c13e(0x11a),{'className':_0x45c13e(0xf7),'children':[_0x288c52(_0x45c13e(0x11a),{'className':_0x45c13e(0x127),'children':_0x45c13e(0xbd)}),_0x288c52(_0x45c13e(0x11a),{'className':_0x45c13e(0x19e),'children':_0x5982f['t'](_0x45c13e(0x19f))})]})]})]})]})]})]}),_0x288c52(_0x52edc6,{'onClick':_0xb7294b,'disabled':!_0x2c65a6||_0x1635b1,'className':_0x45c13e(0x14b),'children':_0x1635b1?_0x410c89(_0x45c13e(0x161),{'className':_0x45c13e(0x17c),'children':[_0x288c52(_0x45c13e(0x161),{'children':'⟲'}),_0x5982f['t'](_0x45c13e(0x126))]}):_0x410c89(_0x45c13e(0x161),{'className':_0x45c13e(0x17c),'children':[_0x288c52(_0x2a0f59,{}),_0x5982f['t'](_0x45c13e(0x1ae))]})}),_0x288c52('div',{'className':_0x45c13e(0x117),'children':_0x410c89(_0x45c13e(0x11a),{'className':_0x45c13e(0x145),'children':[_0x288c52(_0x45c13e(0x161),{'className':_0x45c13e(0x1be),'children':'💡'}),_0x410c89(_0x45c13e(0x11a),{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[_0x288c52(_0x45c13e(0x11a),{'className':_0x45c13e(0x1aa),'children':_0x45c13e(0x13c)}),_0x410c89('div',{'children':['•',_0x5982f['t'](_0x45c13e(0x1a2))]}),_0x410c89(_0x45c13e(0x11a),{'children':['•',_0x5982f['t'](_0x45c13e(0xc5))]})]})]})})]})})]});}const B=_0x35218a(0xf2);Symbol(B);const V={'showDeveloperTools':!0x1,'showStatus':!0x0};function H(_0x183dbb){'@babel/helpers - typeof';const _0x59d5a5=_0x35218a;return H=typeof Symbol==_0x59d5a5(0x160)&&typeof Symbol[_0x59d5a5(0x150)]==_0x59d5a5(0xdc)?function(_0x4aec74){return typeof _0x4aec74;}:function(_0x13fddc){const _0x223719=_0x59d5a5;return _0x13fddc&&typeof Symbol==_0x223719(0x160)&&_0x13fddc[_0x223719(0x134)]===Symbol&&_0x13fddc!==Symbol[_0x223719(0x142)]?_0x223719(0xdc):typeof _0x13fddc;},H(_0x183dbb);}function oe(_0x576180,_0x1fdc64){const _0x305546=_0x35218a;if(H(_0x576180)!='object'||!_0x576180)return _0x576180;var _0x2a421f=_0x576180[Symbol['toPrimitive']];if(_0x2a421f!==void 0x0){var _0x2f0457=_0x2a421f[_0x305546(0xf9)](_0x576180,_0x1fdc64||_0x305546(0xc9));if(H(_0x2f0457)!=_0x305546(0x148))return _0x2f0457;throw TypeError(_0x305546(0x1b9));}return(_0x1fdc64==='string'?String:Number)(_0x576180);}function se(_0x4b4dd4){const _0x136df6=_0x35218a;var _0x2b9506=oe(_0x4b4dd4,'string');return H(_0x2b9506)==_0x136df6(0xdc)?_0x2b9506:_0x2b9506+'';}function _0xd608(){const _0x362e87=['univer-flex\x20univer-items-center\x20univer-gap-2','mcp-ui.command.openConfigPanel','show','MenuIcon','MCP:\x20会话\x20ID\x20已被占用','validateApiKey','CONNECTED','_createConfigPanelComponent','351873VZAaEm','MCP\x20Disconnected','69122cQvlbX','_configService','off','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','mcpConfig.title','API\x20key\x20with\x20Bearer\x20prefix.','push','showDeveloperTools','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','mcpStatus.retrying','_connectionController','Failed\x20to\x20save\x20configuration','mcpStatus.connected','配置步骤:','univer-size-4','Invalid\x20configuration','MCP:\x20网络错误','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','_config','_commandService','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','mcpConfig.connectionStatus.failed','univer-text-xs\x20univer-text-gray-500','mcpConfig.authorizationDescription','Session\x20ID','MCP:\x20超出最大重试次数','mcpConfig.note1','_validateConfig','univer-text-sm\x20univer-font-medium','next','Connected','NONE','Enable\x20Authentication','mcpConfig.sessionIdDescription','univer-font-medium','Configuration\x20Steps:','mcpConfig.apiKeyHint','sessionId$','mcpConfig.save','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','mcpConfig.configStep3','univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','API\x20密钥无效,请检查密钥是否正确','registerComponent','error','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','univer-space-y-3','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','MCP\x20Configuration','mcp-config-dialog','_initStatusComponent','univer-flex-1','univer-shrink-0\x20univer-text-blue-500','_localStorageService','mcpConfig.validation.invalidApiKey','mcpConfig.description','stringify','MCP\x20状态未知','https://console.univer.ai','_handleConfigSave','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','univer-shrink-0\x20univer-text-red-500','_registerComponent','mcpConfig.apiKey','mcpConfig.configParameters','version','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','getConfig','Success','registerCommand','Bearer\x20','univer-space-y-2','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','connectionError$','pre','https://console.univer.plus','univer-text-red-500','univer-flex\x20univer-items-center','univer-size-2\x20univer-rounded-full','您的\x20API\x20密钥将在此浏览器中本地存储','MAX_RETRIES_EXCEEDED','_mcpCoreConfig$','setConfig','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','_loadStoredApiKey','packageName','univer-mr-2\x20univer-flex\x20univer-text-xl','univer-flex\x20univer-flex-wrap\x20univer-gap-2','isValid','<API_KEY>','univer_session_id:','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','https://mcp.univer.ai/mcp/?univer_session_id=','MCPConfigPanel','Authorization:','DISCONNECTED','MCP\x20Client\x20Configuration','decorate','启用身份验证以获得安全连接','几秒钟内获取您的\x20API\x20密钥','配置保存成功','连接失败','mcpConfig.note2','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','重启您的\x20MCP\x20客户端以使配置生效','close','default','defineProperty','Click\x20to\x20configure\x20MCP','What\x20is\x20API\x20Key?','未连接','25KJSALF','API\x20密钥','_localeService','Configuration\x20Parameters:','请输入您的\x20API\x20密钥','univer-text-yellow-500','showConfigPanel','mcpStatus.connecting','Enable\x20authentication\x20for\x20secure\x20connections','mcpStatus.failed','_loading$','univer-space-y-4','has','_menuManagerService','symbol','includes','权限验证失败,请检查您的\x20API\x20密钥','Retrying...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','39MBAWmF','_initConfigSync','配置参数:','\x20-\x20','MCP\x20已连接','Save\x20Configuration','Enter\x20your\x20API\x20key','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','RETRYING','MCP\x20Connected','905628qAtFus','removeItem','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','mcpConfig.apiApplyInfo.description','26072TAbehZ','pluginName','mcpConfig.configInstructions','mcp-ui.config','配置保存失败','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','trim','onStarting','univer-min-w-0\x20univer-flex-1','_dialogService','call','mcpConfig.apiApplyInfo.title','最大重试次数','mcpConfig.configSaved','什么是\x20API\x20密钥?','length','Connecting...','Univer\x20AI\x20Console','NETWORK_ERROR','Configuration\x20saved\x20successfully','182lcYaxv','univer.plus','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','3804309KtkcQA','__setCustomHeaders','univer-bg-red-500','会话\x20ID\x20已被占用,请稍后再试','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','Error','disposeWithMe','_messageService','forEach','API\x20密钥不能为空','点击连接\x20MCP','MCP\x20连接失败','get','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','showStatus','_config$','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','启用身份验证','errorMessage','div','mergeMenu','API\x20密钥长度至少需要\x2010\x20位','MCP:\x20未授权','apiKey','mcpServerUrl','重连中...','_initializeCommands','univer-bg-blue-500','配置\x20MCP\x20使用\x20AI\x20操作电子表格','Saving...','mcpConfig.validation.apiKeyRequired','mcpConfig.saving','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','mcpConfig.apiApplyInfo.univerAiLabel','CONNECTING','http','_uiPartsService','COMMAND','保存配置','warn','mcpConfig.apiApplyInfo.getStarted','Get\x20your\x20API\x20key\x20in\x20seconds','Click\x20to\x20connect\x20MCP','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','constructor','您的\x20API\x20密钥安全存储在本地存储中','_logService','将配置添加到您的\x20MCP\x20客户端设置文件中','MCP\x20配置','2907340iAljAD','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','univer-space-y-5','Configuration\x20Notes:','univer-text-gray-400','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','网络连接错误,请检查您的网络连接','subscribe','prototype','register','_initializeMenus','univer-flex\x20univer-gap-3','mcpConfig.validation.invalidConfig','univer-text-xs\x20univer-text-gray-600','object','_injector','mcpConfig.connectionStatus.connected','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','univer-text-white','mcpConfig.connectionError.sessionOccupied','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','UNAUTHORIZED','iterator','text','value','univer-flex\x20univer-items-center\x20univer-gap-3','5303196LPLqBI','getOwnPropertyDescriptor','Disconnected','SESSION_ID_OCCUPIED','mcpConfig.connectionStatus.retrying','subscribeConfigValue$','API\x20Key','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','_apiKey$','mcpStatus.networkError','univer-bg-green-500','function','span','MCP\x20客户端配置','mcpConfig.connectionError.maxRetriesExceeded','OTHERS','univer-flex\x20univer-items-start\x20univer-gap-3','univer-text-sm\x20univer-text-gray-500','@univerjs-pro/mcp-ui','univer-bg-gray-500','add','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','connectionStatus$','_componentManager','_initAutoConnect','_mcpConnectionController','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','MCP\x20Retrying...','mcpConfig.connectionError.networkError','MCP\x20重连中...','open','FAILED','mcpStatus.sessionOccupied','label','button','mcpStatus.unauthorized','MCP\x20Unknown\x20Status','MCP\x20已断开'];_0xd608=function(){return _0x362e87;};return _0xd608();}function U(_0x4a9b8a,_0x13360d,_0x235e8e){const _0x364cf3=_0x35218a;return(_0x13360d=se(_0x13360d))in _0x4a9b8a?Object[_0x364cf3(0xca)](_0x4a9b8a,_0x13360d,{'value':_0x235e8e,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4a9b8a[_0x13360d]=_0x235e8e,_0x4a9b8a;}function W(_0x4463ac,_0x388c89){return function(_0x5cb407,_0x354f4b){_0x388c89(_0x5cb407,_0x354f4b,_0x4463ac);};}function G(_0x5e8e11,_0x53b0de,_0x1a34b2,_0x1d4a48){const _0x45ef68=_0x35218a;var _0x2e28ef=arguments[_0x45ef68(0xfe)],_0x92e26f=_0x2e28ef<0x3?_0x53b0de:_0x1d4a48===null?_0x1d4a48=Object[_0x45ef68(0x155)](_0x53b0de,_0x1a34b2):_0x1d4a48,_0x9fe07c;if(typeof Reflect==_0x45ef68(0x148)&&typeof Reflect[_0x45ef68(0xc0)]==_0x45ef68(0x160))_0x92e26f=Reflect[_0x45ef68(0xc0)](_0x5e8e11,_0x53b0de,_0x1a34b2,_0x1d4a48);else{for(var _0x684eb9=_0x5e8e11[_0x45ef68(0xfe)]-0x1;_0x684eb9>=0x0;_0x684eb9--)(_0x9fe07c=_0x5e8e11[_0x684eb9])&&(_0x92e26f=(_0x2e28ef<0x3?_0x9fe07c(_0x92e26f):_0x2e28ef>0x3?_0x9fe07c(_0x53b0de,_0x1a34b2,_0x92e26f):_0x9fe07c(_0x53b0de,_0x1a34b2))||_0x92e26f);}return _0x2e28ef>0x3&&_0x92e26f&&Object[_0x45ef68(0xca)](_0x53b0de,_0x1a34b2,_0x92e26f),_0x92e26f;}const K='mcp.apiKey',q=_0x35218a(0x1bb);let J=class extends _0x634fb7{constructor(_0x534bec,_0x43ae91,_0x265bc9,_0x21b800,_0x5db6df,_0x30df1b,_0x4e5893,_0x5db90e,_0x2dd989,_0x47e800){const _0x223c26=_0x35218a;super(),this[_0x223c26(0x149)]=_0x534bec,this['_uiPartsService']=_0x43ae91,this[_0x223c26(0x187)]=_0x265bc9,this[_0x223c26(0x1bf)]=_0x21b800,this[_0x223c26(0xf8)]=_0x5db6df,this[_0x223c26(0x10e)]=_0x30df1b,this[_0x223c26(0x16d)]=_0x4e5893,this['_localeService']=_0x5db90e,this['_logService']=_0x2dd989,this[_0x223c26(0x16f)]=_0x47e800,U(this,'_loading$',new _0x4bdada(!0x1)),U(this,'_mcpCoreConfig$',new _0x4bdada({})),U(this,_0x223c26(0x116),new _0x4bdada({})),U(this,_0x223c26(0x15d),new _0x4bdada('')),U(this,_0x223c26(0x1c5),async _0x677a5=>{const _0x1ac7ee=_0x223c26;this['_loading$'][_0x1ac7ee(0x1a5)](!0x0);try{var _0x110674,_0x3a65e6;let _0x3b63c3=await this[_0x1ac7ee(0x1a3)](_0x677a5);if(!_0x3b63c3[_0x1ac7ee(0x1e2)]){this[_0x1ac7ee(0x10e)][_0x1ac7ee(0x17e)]({'type':_0x11c1e6[_0x1ac7ee(0x10c)],'content':_0x3b63c3[_0x1ac7ee(0x119)]||this['_localeService']['t'](_0x1ac7ee(0x146))});return;}_0x677a5['apiKey']?await this['_localStorageService']['setItem'](K,_0x677a5['apiKey']['trim']()):await this['_localStorageService'][_0x1ac7ee(0xec)](K),this[_0x1ac7ee(0x15d)]['next'](((_0x110674=_0x677a5[_0x1ac7ee(0x11e)])==null?void 0x0:_0x110674[_0x1ac7ee(0xf5)]())||''),this[_0x1ac7ee(0x16f)][_0x1ac7ee(0x107)]({'Authorization':_0x1ac7ee(0x1d0)+((_0x3a65e6=_0x677a5['apiKey'])==null?void 0x0:_0x3a65e6['trim']())}),this[_0x1ac7ee(0x10e)][_0x1ac7ee(0x17e)]({'type':_0x11c1e6[_0x1ac7ee(0x1ce)],'content':this['_localeService']['t'](_0x1ac7ee(0xfc))}),setTimeout(()=>{const _0x3688ce=_0x1ac7ee;this[_0x3688ce(0xf8)][_0x3688ce(0xc8)](q);},0x320);}catch(_0x363d8f){this[_0x1ac7ee(0x136)][_0x1ac7ee(0x1b6)]('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x363d8f),this[_0x1ac7ee(0x10e)][_0x1ac7ee(0x17e)]({'type':_0x11c1e6[_0x1ac7ee(0x10c)],'content':this[_0x1ac7ee(0xd0)]['t']('mcpConfig.configError')});}finally{this[_0x1ac7ee(0xd8)][_0x1ac7ee(0x1a5)](!0x1);}}),this[_0x223c26(0xe2)](),this[_0x223c26(0x1de)](),this[_0x223c26(0x1c8)]();}[_0x35218a(0xd4)](){const _0x4d0738=_0x35218a;let _0x811683=this[_0x4d0738(0x187)][_0x4d0738(0x1cd)](B);_0x811683!=null&&_0x811683[_0x4d0738(0x18f)]&&this['_dialogService'][_0x4d0738(0x174)]({'id':q,'title':{'title':this['_localeService']['t']('mcpConfig.title')},'children':{'label':'MCPConfigPanel'},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x324d3d=_0x4d0738;this[_0x324d3d(0xf8)]['close'](q);}});}['getCurrentConfig'](){return this['_mcpCoreConfig$']['value'];}[_0x35218a(0x1c8)](){const _0x308c08=_0x35218a;this['disposeWithMe'](this[_0x308c08(0x16d)][_0x308c08(0x143)](_0x308c08(0xbc),this[_0x308c08(0x183)]()));}[_0x35218a(0x183)](){const _0x4b16a0=_0x35218a;return _0x4d5475(()=>{const _0x5f56f8=_0x1fe8;var _0x10a872,_0x10f279,_0x2033ad;return _0x288c52(z,{'config':this[_0x5f56f8(0x116)]['value'],'mcpCoreConfig':this[_0x5f56f8(0x1db)]['value'],'currentApiKey$':this['_apiKey$'],'onSave':this[_0x5f56f8(0x1c5)],'loading':this[_0x5f56f8(0xd8)][_0x5f56f8(0x152)],'connectionStatus$':(_0x10a872=this[_0x5f56f8(0x16f)])==null?void 0x0:_0x10a872[_0x5f56f8(0x16c)],'connectionError$':(_0x10f279=this[_0x5f56f8(0x16f)])==null?void 0x0:_0x10f279['connectionError$'],'currentSessionId$':(_0x2033ad=this[_0x5f56f8(0x16f)])==null?void 0x0:_0x2033ad[_0x5f56f8(0x1ad)]});},this[_0x4b16a0(0x149)]);}['_initConfigSync'](){const _0x195729=_0x35218a;this[_0x195729(0x10d)](this[_0x195729(0x187)][_0x195729(0x159)](_0x562266)[_0x195729(0x141)](_0x16a6df=>{this['_mcpCoreConfig$']['next'](_0x16a6df||{});}));let _0x4f8e64=this[_0x195729(0x187)][_0x195729(0x1cd)](_0x562266);this[_0x195729(0x1db)][_0x195729(0x1a5)](_0x4f8e64||{}),this['disposeWithMe'](this[_0x195729(0x187)][_0x195729(0x159)](B)[_0x195729(0x141)](_0x445e96=>{const _0xdbd4f5=_0x195729;this[_0xdbd4f5(0x116)][_0xdbd4f5(0x1a5)](_0x445e96||{});}));let _0x46b2b4=this[_0x195729(0x187)][_0x195729(0x1cd)](B);this[_0x195729(0x116)]['next'](_0x46b2b4||{});}async[_0x35218a(0x1de)](){const _0x284815=_0x35218a;let _0x21a905=this['_configService'][_0x284815(0x1cd)](B);if(!(_0x21a905!=null&&_0x21a905[_0x284815(0x18f)]))return;let _0x31efc1=await this[_0x284815(0x1bf)]['getItem'](K);_0x31efc1&&(this['_mcpConnectionController'][_0x284815(0x107)]({'Authorization':_0x284815(0x1d0)+_0x31efc1}),this[_0x284815(0x15d)][_0x284815(0x1a5)](_0x31efc1));}async[_0x35218a(0x1a3)](_0x2c13f6){const _0x37b91e=_0x35218a;if(!_0x2c13f6[_0x37b91e(0x11e)]||_0x2c13f6['apiKey']['trim']()[_0x37b91e(0xfe)]===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t'](_0x37b91e(0x125))};if(_0x2c13f6['apiKey']['trim']()[_0x37b91e(0xfe)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x37b91e(0xd0)]['t']('mcpConfig.validation.apiKeyTooShort')};try{let _0x29a87a=await this['_injector']['get'](_0x192377)[_0x37b91e(0x181)](_0x2c13f6[_0x37b91e(0x11e)][_0x37b91e(0xf5)]());return _0x29a87a[_0x37b91e(0x1e2)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x29a87a['error']||this['_localeService']['t'](_0x37b91e(0x1c0))};}catch(_0xa27477){return console[_0x37b91e(0x12e)](_0x37b91e(0x199),_0xa27477),{'isValid':!0x0};}}};J=G([W(0x0,_0x519d4f(_0x97e35a)),W(0x1,_0x1f23b3),W(0x2,_0x2220a),W(0x3,_0x3ab6f4),W(0x4,_0x40024d),W(0x5,_0x4e8535),W(0x6,_0x519d4f(_0xcc080b)),W(0x7,_0x519d4f(_0x485d48)),W(0x8,_0x3a67db),W(0x9,_0x519d4f(_0x192377))],J);const Y={'id':_0x35218a(0x17d),'type':_0x8c6f3b[_0x35218a(0x12c)],'handler':async(_0x1ff962,_0x1d7de8)=>(_0x1ff962[_0x35218a(0x113)](J)[_0x35218a(0xd4)](),!0x0)};function X(_0x4afa02,_0x17d825){const _0xc684c0=_0x35218a;switch(_0x4afa02){case _0x2cb78f[_0xc684c0(0xbe)]:return'mcpStatus.disconnected';case _0x2cb78f[_0xc684c0(0x129)]:return _0xc684c0(0xd5);case _0x2cb78f[_0xc684c0(0x182)]:return _0xc684c0(0x194);case _0x2cb78f[_0xc684c0(0x175)]:switch(_0x17d825){case _0x576943[_0xc684c0(0x14f)]:return _0xc684c0(0x179);case _0x576943[_0xc684c0(0x157)]:return _0xc684c0(0x176);case _0x576943[_0xc684c0(0x101)]:return _0xc684c0(0x15e);case _0x576943[_0xc684c0(0x1da)]:return'mcpStatus.maxRetriesExceeded';default:return _0xc684c0(0xd7);}case _0x2cb78f[_0xc684c0(0xe9)]:return _0xc684c0(0x191);default:return'mcpStatus.unknown';}}function ce(_0x15211c,_0x3302ac,_0x8e9a22,_0x17666b=!0x0){const _0x42429b=_0x35218a;let _0x107492=X(_0x15211c,_0x3302ac),_0x5445a8=_0x8e9a22['t'](_0x107492);return _0x17666b?_0x15211c===_0x2cb78f[_0x42429b(0xbe)]&&_0x3302ac===_0x576943[_0x42429b(0x14f)]?_0x5445a8+'\x20-\x20'+_0x8e9a22['t']('mcpStatus.clickToConfigure'):_0x15211c===_0x2cb78f[_0x42429b(0x182)]?''+_0x5445a8:_0x15211c===_0x2cb78f[_0x42429b(0xbe)]||_0x15211c===_0x2cb78f[_0x42429b(0x175)]?_0x5445a8+_0x42429b(0xe4)+_0x8e9a22['t']('mcpStatus.clickToConnect'):_0x5445a8:_0x5445a8;}function le(_0x214883){const _0x45c6ed=_0x35218a;switch(_0x214883){case _0x2cb78f['CONNECTED']:return'univer-text-green-500';case _0x2cb78f[_0x45c6ed(0x129)]:case _0x2cb78f[_0x45c6ed(0xe9)]:return _0x45c6ed(0xd3);case _0x2cb78f[_0x45c6ed(0x175)]:case _0x2cb78f[_0x45c6ed(0xbe)]:return'univer-text-red-500';default:return'univer-text-gray-500';}}function ue(_0x75eb89){const _0x56792c=_0x35218a;let {status$:_0x1c4ec8,error$:_0xc4d625,onConfigure:_0x4843bc,showClickable:_0x2ed030=!0x0}=_0x75eb89,_0x5acfa8=_0x554e27(_0x1c4ec8,_0x2cb78f[_0x56792c(0xbe)]),_0x176ab6=_0x554e27(_0xc4d625,_0x576943[_0x56792c(0x1a7)]),_0x2a8369=_0x1cd4cf(_0x485d48),_0x5720f3=_0x5acfa8===_0x2cb78f['CONNECTED'];_0x5acfa8===_0x2cb78f[_0x56792c(0x129)]||_0x2cb78f[_0x56792c(0xe9)];let _0xbcc97=_0x2a8369['t'](X(_0x5acfa8,_0x176ab6)),_0x2deedd=ce(_0x5acfa8,_0x176ab6,_0x2a8369,_0x2ed030),_0x2f84d3=le(_0x5acfa8),_0x305ab6=_0x288c52(_0x5720f3?_0x4e3349:_0x5a6443,{}),_0xc66e5b=_0x4fd27b(()=>{_0x2ed030&&_0x4843bc&&_0x4843bc();},[_0x2ed030,_0x4843bc]);function _0xe2c505(){const _0x3fb1e4=_0x56792c;return _0x410c89(_0x3fb1e4(0x11a),{'className':_0x4ba5b3(_0x3fb1e4(0x1d7),_0x2ed030&&_0x4843bc&&_0x3fb1e4(0x170)),'role':_0x3fb1e4(0x178),'onClick':_0x2ed030&&_0x4843bc?_0xc66e5b:void 0x0,'children':[_0x288c52(_0x3fb1e4(0x11a),{'className':_0x4ba5b3(_0x3fb1e4(0x1e0),_0x2f84d3),'children':_0x305ab6}),_0x288c52(_0x3fb1e4(0x11a),{'className':_0x3fb1e4(0x114),'children':_0xbcc97})]});}return _0x288c52(_0x26f1ea,{'title':_0x2deedd,'placement':'bottom','children':_0xe2c505()});}let Z=class extends _0x634fb7{constructor(_0x25ca90,_0x51df4f,_0x1b9050,_0x12e6b8){const _0x302b3f=_0x35218a;super(),this['_injector']=_0x25ca90,this[_0x302b3f(0x192)]=_0x51df4f,this[_0x302b3f(0x12b)]=_0x1b9050,this['_configService']=_0x12e6b8,this[_0x302b3f(0x16e)](),this[_0x302b3f(0x1bc)]();}[_0x35218a(0x16e)](){const _0x4b14d9=_0x35218a;let _0x1b0da6=this[_0x4b14d9(0x187)][_0x4b14d9(0x1cd)](B);_0x1b0da6!=null&&_0x1b0da6[_0x4b14d9(0x18f)]&&(this[_0x4b14d9(0x192)]['enableAutoConnect']=!0x1);}[_0x35218a(0x1bc)](){const _0x3a6d5c=_0x35218a;let _0x492c4e=this[_0x3a6d5c(0x187)][_0x3a6d5c(0x1cd)](B);(_0x492c4e==null?void 0x0:_0x492c4e[_0x3a6d5c(0x115)])!==!0x1&&this[_0x3a6d5c(0x10d)](this[_0x3a6d5c(0x12b)][_0x3a6d5c(0x1b5)](_0x14998e['HEADER_MENU'],()=>{const _0x21c077=_0x3a6d5c;var _0x4e9394;return _0x4d5475(de({'status$':this[_0x21c077(0x192)]['connectionStatus$'],'error$':this[_0x21c077(0x192)][_0x21c077(0x1d3)],'onConfigure':()=>this['_handleConfigure'](),'showClickable':(_0x4e9394=_0x492c4e==null?void 0x0:_0x492c4e[_0x21c077(0x18f)])==null?!0x1:_0x4e9394}),this[_0x21c077(0x149)]);}));}['_handleConfigure'](){const _0x1bf46a=_0x35218a;this['_injector'][_0x1bf46a(0x113)](J)['showConfigPanel']();}};Z=G([W(0x0,_0x519d4f(_0x97e35a)),W(0x1,_0x519d4f(_0x192377)),W(0x2,_0x1f23b3),W(0x3,_0x2220a)],Z);function de(_0x2414f5){let {status$:_0xf15e72,error$:_0x767cc4,onConfigure:_0x44d2c5,showClickable:_0x60d610}=_0x2414f5;return function(){return _0x288c52(ue,{'status$':_0xf15e72,'error$':_0x767cc4,'onConfigure':_0x44d2c5,'showClickable':_0x60d610});};}function fe(_0x4dad6f){const _0x9e2fc1=_0x35218a;return{'id':Y['id'],'type':_0x347f6f['BUTTON'],'icon':_0x9e2fc1(0x17f),'title':_0x9e2fc1(0x18c),'tooltip':_0x9e2fc1(0x18c)};}const pe={[_0x2fd2cb[_0x35218a(0x164)]]:{[Y['id']]:{'order':0xa,'menuItemFactory':fe}}};let Q=class extends _0x634fb7{constructor(_0xfc571f,_0xb8095d){const _0x255ebc=_0x35218a;super(),this[_0x255ebc(0x19b)]=_0xfc571f,this[_0x255ebc(0xdb)]=_0xb8095d,this[_0x255ebc(0x121)](),this[_0x255ebc(0x144)]();}[_0x35218a(0x121)](){const _0x22a53e=_0x35218a;[Y][_0x22a53e(0x10f)](_0x698b8d=>{const _0x41d2f4=_0x22a53e;this[_0x41d2f4(0x10d)](this[_0x41d2f4(0x19b)][_0x41d2f4(0x1cf)](_0x698b8d));});}['_initializeMenus'](){const _0x10b388=_0x35218a;this['_menuManagerService'][_0x10b388(0x11b)](pe);}};Q=G([W(0x0,_0x14b703),W(0x1,_0x246c7e)],Q);const me={'mcpStatus':{'disconnected':_0x35218a(0x185),'connecting':'MCP\x20Connecting...','connected':_0x35218a(0xea),'failed':'MCP\x20Connection\x20Failed','retrying':_0x35218a(0x171),'unknown':_0x35218a(0x17a),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x35218a(0x131),'clickToConfigure':_0x35218a(0xcb)},'mcpConfig':{'title':_0x35218a(0x1ba),'description':_0x35218a(0x1dd),'apiKey':_0x35218a(0x15a),'apiKeyPlaceholder':_0x35218a(0xe7),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x35218a(0x1a8),'enableAuthHint':_0x35218a(0xd6),'connectionInfo':_0x35218a(0xbf),'mcpClientConfig':_0x35218a(0xbf),'configInstructions':_0x35218a(0xe0),'configStepTitle':_0x35218a(0x1ab),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x35218a(0x133),'sessionId':_0x35218a(0x1a0),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x35218a(0x18d),'configParameters':_0x35218a(0xd1),'maxRetries':'Max\x20Retries','save':_0x35218a(0xe6),'saving':_0x35218a(0x124),'note1':_0x35218a(0x1b0),'note2':_0x35218a(0x1af),'configSaved':_0x35218a(0x102),'configError':_0x35218a(0x193),'apiApplyInfo':{'title':_0x35218a(0xcc),'description':'API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','univerAiLabel':_0x35218a(0x100),'getStarted':_0x35218a(0x130)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x35218a(0x197),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x35218a(0x156),'connecting':_0x35218a(0xff),'connected':_0x35218a(0x1a6),'failed':'Connection\x20Failed','retrying':_0x35218a(0xdf)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x35218a(0x14e),'networkError':_0x35218a(0x13e),'maxRetriesExceeded':_0x35218a(0x15c)}}},he={'mcpStatus':{'disconnected':_0x35218a(0x17b),'connecting':'MCP\x20连接中...','connected':_0x35218a(0xe5),'failed':_0x35218a(0x112),'retrying':_0x35218a(0x173),'unknown':_0x35218a(0x1c3),'unauthorized':_0x35218a(0x11d),'sessionOccupied':_0x35218a(0x180),'networkError':_0x35218a(0x198),'maxRetriesExceeded':_0x35218a(0x1a1),'clickToConnect':_0x35218a(0x111),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x35218a(0x138),'description':_0x35218a(0x123),'apiKey':_0x35218a(0xcf),'apiKeyPlaceholder':_0x35218a(0xd2),'apiKeyHint':_0x35218a(0x1d9),'enableAuth':_0x35218a(0x118),'enableAuthHint':_0x35218a(0xc1),'connectionInfo':_0x35218a(0x162),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x35218a(0x195),'configStep1':'复制以下\x20JSON\x20配置','configStep2':_0x35218a(0x137),'configStep3':_0x35218a(0xc7),'sessionId':'会话ID','sessionIdDescription':_0x35218a(0x13a),'authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':_0x35218a(0xe3),'maxRetries':_0x35218a(0xfb),'save':_0x35218a(0x12d),'saving':'保存中...','note1':'配置更改将立即生效','note2':_0x35218a(0x135),'configSaved':_0x35218a(0xc3),'configError':_0x35218a(0xf3),'apiApplyInfo':{'title':_0x35218a(0xfd),'description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':'Univer\x20AI\x20控制台','getStarted':_0x35218a(0xc2)},'validation':{'apiKeyRequired':_0x35218a(0x110),'apiKeyTooShort':_0x35218a(0x11c),'invalidConfig':'配置无效','invalidApiKey':_0x35218a(0x1b4)},'connectionStatus':{'disconnected':_0x35218a(0xcd),'connecting':'连接中...','connected':'已连接','failed':_0x35218a(0xc4),'retrying':_0x35218a(0x120)},'connectionError':{'unauthorized':_0x35218a(0xde),'sessionOccupied':_0x35218a(0x109),'networkError':_0x35218a(0x140),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var ge=_0x35218a(0x167),_e='0.19.0';let $=class extends _0x2c7e0b{constructor(_0x2bbc5a=V,_0x1e5d7a,_0x32c33f,_0x2c7022,_0x38d901,_0xbf5fd){const _0x38e2d2=_0x35218a;super(),this[_0x38e2d2(0x19a)]=_0x2bbc5a,this[_0x38e2d2(0x149)]=_0x1e5d7a,this[_0x38e2d2(0x187)]=_0x32c33f,this['_uiPartsService']=_0x2c7022,this[_0x38e2d2(0x1bf)]=_0x38d901,this[_0x38e2d2(0xd0)]=_0xbf5fd;let {..._0x272741}=_0xd6e0f4({},V,this[_0x38e2d2(0x19a)]);this[_0x38e2d2(0x187)][_0x38e2d2(0x1dc)](B,_0x272741);}async[_0x35218a(0xf6)](){const _0x4e7f13=_0x35218a;let _0x1458be=[[Z],[J],[Q]];this[_0x4e7f13(0x149)][_0x4e7f13(0xda)](_0x4e295d)||_0x1458be[_0x4e7f13(0x18e)]([_0x4e295d,{'useClass':_0x5e9f21}]),_0x1458be['forEach'](_0x11d1e7=>this[_0x4e7f13(0x149)][_0x4e7f13(0x169)](_0x11d1e7)),this['_injector']['get'](Z),this['_injector']['get'](J),this[_0x4e7f13(0x149)][_0x4e7f13(0x113)](Q);}};U($,_0x35218a(0xf0),'MCP_UI_PLUGIN'),U($,_0x35218a(0x1df),ge),U($,_0x35218a(0x1cb),_e),$=G([_0x32a5f5(_0x2af01b),W(0x1,_0x519d4f(_0x97e35a)),W(0x2,_0x2220a),W(0x3,_0x1f23b3),W(0x4,_0x3ab6f4),W(0x5,_0x519d4f(_0x485d48))],$);export{z as MCPConfigPanel,J as MCPConfigUIController,Z as MCPConnectionUIController,ue as MCPStatusDisplay,Q as MCPUIMenuController,Y as OpenMCPConfigPanelCommand,$ as UniverMCPUIPlugin,me as enUS,he as zhCN};
|
|
1
|
+
function _0x5244(_0x4a6e48,_0x4ca01c){_0x4a6e48=_0x4a6e48-0x1da;const _0x4b1ffe=_0x4b1f();let _0x524445=_0x4b1ffe[_0x4a6e48];return _0x524445;}function _0x4b1f(){const _0x5d79a6=['univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','UNAUTHORIZED','button','56PMJqtY','_uiPartsService','_apiKey$','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','_handleConfigSave','_validateConfig','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','0.20.1','decorate','mcpConfig.connectionStatus.disconnected','COMMAND','MCP_UI_PLUGIN','API\x20密钥不能为空','mcpConfig.sessionIdDescription','subscribeConfigValue$','Disconnected','会话\x20ID\x20已被占用,请稍后再试','什么是\x20API\x20密钥?','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','univer_session_id:','点击连接\x20MCP','connectionStatus$','已连接','_registerComponent','Configuration\x20saved\x20successfully','What\x20is\x20API\x20Key?','MCP\x20重连中...','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','@univerjs-pro/mcp-ui','mergeMenu','_createConfigPanelComponent','606pBHEGj','MCP\x20Configuration','Enter\x20your\x20API\x20key','mcpConfig.configStep2','启用身份验证','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','_initializeCommands','univer-bg-green-500','将以下配置添加到您的\x20MCP\x20客户端设置中:','连接失败','带有\x20Bearer\x20前缀的\x20API\x20密钥。','MCP:\x20超出最大重试次数','univer-flex\x20univer-items-center\x20univer-gap-2','Configuration\x20Parameters:','univer-flex-1','next','univer-text-yellow-500','Saving...','mcpConfig.configStep3','配置保存成功','showConfigPanel','_initConfigSync','MCP:\x20会话\x20ID\x20已被占用','length','MCP\x20Connected','HEADER_MENU','warn','mcpConfig.connectionError.maxRetriesExceeded','Retrying...','未连接','univer-flex\x20univer-gap-3','MCPConfigPanel','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','errorMessage','mcpConfig.configStepTitle','noopener\x20noreferrer','Configuration\x20Steps:','_componentManager','网络连接错误,请检查您的网络连接','您的\x20API\x20密钥将在此浏览器中本地存储','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','mcpStatus.retrying','mcpConfig.connectionStatus.connecting','bottom','https://mcp.univer.ai/mcp/?univer_session_id=','packageName','univer-space-y-5','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','121892SCvAfk','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Enable\x20authentication\x20for\x20secure\x20connections','onStarting','includes','CONNECTED','58115bEGrcM','_menuManagerService','_connectionController','univer-text-gray-400','732205DhVNvX','getItem','default','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','push','Save\x20Configuration','mcpServerUrl','univer-text-sm\x20univer-font-medium','univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','add','show','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Connection\x20Failed','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','mcp.apiKey','Success','_mcpCoreConfig$','univer-bg-red-500','constructor','权限验证失败,请检查您的\x20API\x20密钥','mcpConfig.connectionStatus.failed','span','stringify','symbol','mcpConfig.note2','_injector','_configService','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','MCP\x20Client\x20Configuration','defineProperty','mcpStatus.disconnected','Get\x20your\x20API\x20key\x20in\x20seconds','mcpConfig.connectionStatus.connected','API\x20密钥无效,请检查密钥是否正确','mcpStatus.maxRetriesExceeded','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','apiKey','mcpConfig.apiKeyHint','off','_initStatusComponent','mcpConfig.authorizationDescription','_handleConfigure','__setCustomHeaders','mcpStatus.clickToConnect','_messageService','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','14087646MjmVPb','univer-text-xs\x20univer-text-gray-500','mcp-ui.command.openConfigPanel','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','univer-text-red-500','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','最大重试次数','MCP:\x20Max\x20Retries\x20Exceeded','NONE','\x20-\x20','connectionError$','univer-size-2\x20univer-rounded-full','MAX_RETRIES_EXCEEDED','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','_initializeMenus','MCP\x20客户端配置','保存配置','MCP\x20Unknown\x20Status','mcpConfig.title','API\x20密钥长度至少需要\x2010\x20位','mcpConfig.configParameters','_loadStoredApiKey','_localeService','univer-bg-gray-500','278803weOgMY','univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200','重启您的\x20MCP\x20客户端以使配置生效','setConfig','univer-flex\x20univer-items-start\x20univer-gap-3','配置步骤:','sessionId$','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','subscribe','MCP\x20已连接','registerCommand','univer-space-y-2','mcpStatus.networkError','close','_loading$','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','mcpConfig.configSaved','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','univer-mr-2\x20univer-flex\x20univer-text-xl','univer-flex\x20univer-items-center\x20univer-gap-3','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','SESSION_ID_OCCUPIED','Connected','showDeveloperTools','配置无效','API\x20key\x20is\x20required','error','forEach','univer-shrink-0\x20univer-text-red-500','mcpConfig.connectionError.networkError','_logService','toPrimitive','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','univer.ai','mcpConfig.apiKeyPlaceholder','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Click\x20to\x20configure\x20MCP','mcpConfig.configInstructions','setItem','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20密钥','配置\x20MCP\x20使用\x20AI\x20操作电子表格','Session\x20ID','get','MCP:\x20网络错误','配置更改将立即生效','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','重连中...','getConfig','FAILED','version','RETRYING','mcpConfig.configStep1','<API_KEY>','mcpConfig.description','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','univer-flex\x20univer-flex-wrap\x20univer-gap-2','prototype','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','mcpStatus.connecting','mcpConfig.apiApplyInfo.getStarted','univer-min-w-0\x20univer-flex-1','univer-text-sm\x20univer-text-gray-500','https://console.univer.plus','string','Click\x20to\x20connect\x20MCP','http','object','OTHERS','mcpConfig.validation.invalidApiKey','univer-font-medium','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','value','会话ID','isValid','Bearer\x20','enableAutoConnect','univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','univer-flex\x20univer-items-start\x20univer-gap-2','disposeWithMe','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','mcpStatus.clickToConfigure','MCP:\x20Network\x20Error','mcpConfig.connectionError.sessionOccupied','配置参数:','univer.plus','univer-size-4','MCP:\x20Unauthorized','Authorization:','mcpConfig.validation.invalidConfig','mcpConfig.connectionInfo','_dialogService','MCP:\x20Session\x20ID\x20Occupied','BUTTON','Error','univer-space-y-3','validateApiKey','Invalid\x20configuration','MCP\x20连接失败','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','_config$','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','Configuration\x20Notes:','_blank','mcpConfig.apiApplyInfo.title','DISCONNECTED','MCP\x20Connection\x20Failed','label','配置保存失败','NETWORK_ERROR','Univer\x20AI\x20控制台','Copy\x20the\x20JSON\x20configuration\x20below','univer-text-white','div','getCurrentConfig','_commandService','call','mcpConfig.validation.apiKeyTooShort','univer-text-blue-600','2394752gPfvAr','_initAutoConnect','API\x20Key','mcp-config-dialog','CONNECTING','_mcpConnectionController','trim','_localStorageService','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','请输入您的\x20API\x20密钥','3478347uSJIsX','text'];_0x4b1f=function(){return _0x5d79a6;};return _0x4b1f();}const _0x28ce8a=_0x5244;(function(_0x3f9b30,_0xee6bae){const _0x4c8448=_0x5244,_0x2b08fd=_0x3f9b30();while(!![]){try{const _0xe89643=parseInt(_0x4c8448(0x2ef))/0x1+parseInt(_0x4c8448(0x287))/0x2+-parseInt(_0x4c8448(0x291))/0x3+parseInt(_0x4c8448(0x2e5))/0x4+parseInt(_0x4c8448(0x2eb))/0x5*(parseInt(_0x4c8448(0x2b5))/0x6)+-parseInt(_0x4c8448(0x20d))/0x7*(-parseInt(_0x4c8448(0x296))/0x8)+-parseInt(_0x4c8448(0x1f3))/0x9;if(_0xe89643===_0xee6bae)break;else _0x2b08fd['push'](_0x2b08fd['shift']());}catch(_0x130388){_0x2b08fd['push'](_0x2b08fd['shift']());}}}(_0x4b1f,0xa7fa5));import{CommandType as _0x8810a8,DependentOn as _0x5a9818,Disposable as _0x3b8284,ICommandService as _0x17d690,IConfigService as _0x23bc82,ILocalStorageService as _0x5f22c6,ILogService as _0x3bb11f,Inject as _0x53c2f0,Injector as _0x61c00e,LocaleService as _0x34569a,Plugin as _0x1be01a,merge as _0x4ed231}from'@univerjs/core';import{MCPConnectionController as _0x722788,MCPConnectionError as _0x31c95a,MCPConnectionStatus as _0x5b38e1,MCP_PLUGIN_CONFIG_KEY as _0x2da9b3,UniverMCPPlugin as _0x11a395}from'@univerjs-pro/mcp';import{Button as _0xbd5d2c,Input as _0x5dc7f1,MessageType as _0x261752,Tooltip as _0x3d1bb2,clsx as _0xf6b5fa}from'@univerjs/design';import{BuiltInUIPart as _0x3600f0,ComponentManager as _0x45d10a,IDialogService as _0x2d156b,IMenuManagerService as _0x3652e0,IMessageService as _0x28ad13,IUIPartsService as _0x2871fb,MenuItemType as _0x1d06c6,RibbonStartGroup as _0x532d5f,connectInjector as _0x3381fc,useDependency as _0xaaf771,useObservable as _0x5b245a}from'@univerjs/ui';import{BehaviorSubject as _0x6bc32f}from'rxjs';import{CheckMarkIcon as _0x25a51b,CloseIcon as _0x2df2cc,HelpIcon as _0xfc3388,OffLineIcon as _0x8d9fde,OnLineIcon as _0x3c55cc}from'@univerjs/icons';import{useCallback as _0x1eb342,useState as _0x28277a}from'react';import{jsx as _0x1add3b,jsxs as _0x520df6}from'react/jsx-runtime';import{ISocketService as _0x2abfd5,WebSocketService as _0x16689d}from'@univerjs/network';function z(_0x1322f6){const _0x27e1e0=_0x5244;var _0x1c2f28,_0x365968;let {mcpCoreConfig:_0x1b8519,onSave:_0x9204b5,loading:_0xec9afb=!0x1,config:_0x29c0d2,connectionStatus$:_0x270808,connectionError$:_0x4e55f4,currentApiKey$:_0x263088,currentSessionId$:_0x542fa3}=_0x1322f6,_0x49c05f=_0xaaf771(_0x34569a),_0x3e4f54=_0x5b245a(_0x270808,_0x5b38e1[_0x27e1e0(0x279)]),_0x5466cb=_0x5b245a(_0x4e55f4,_0x31c95a['NONE']),_0x25dd20=_0x5b245a(_0x542fa3,''),[_0x46a1cb,_0x5ab4ae]=_0x28277a(_0x5b245a(_0x263088,'')||''),_0x110b13=_0x29c0d2[_0x27e1e0(0x227)]&&_0x1b8519[_0x27e1e0(0x2f5)]&&(_0x1b8519['mcpServerUrl'][_0x27e1e0(0x2e9)](_0x27e1e0(0x265))||_0x1b8519[_0x27e1e0(0x2f5)][_0x27e1e0(0x2e9)]('univer.ai')),_0x1a7ff4=(_0x1c2f28=_0x1b8519[_0x27e1e0(0x2f5)])==null?void 0x0:_0x1c2f28['includes']('univer.plus'),_0x4321b1=(_0x365968=_0x1b8519['mcpServerUrl'])==null?void 0x0:_0x365968[_0x27e1e0(0x2e9)](_0x27e1e0(0x231)),_0x3964fa=_0x1a7ff4?_0x27e1e0(0x24f):'https://console.univer.ai',_0x1ab8a6=_0x29c0d2[_0x27e1e0(0x227)]&&(_0x1a7ff4||_0x4321b1),[_0x50554e,_0x2beb72]=_0x28277a(!_0x46a1cb[_0x27e1e0(0x28d)]()),_0x34bdb4=(_0xe9b691,_0x51f177)=>{const _0x4841f7=_0x27e1e0;if(_0x51f177===_0x31c95a[_0x4841f7(0x294)])return _0x4841f7(0x2b1);switch(_0xe9b691){case _0x5b38e1[_0x4841f7(0x2ea)]:return _0x4841f7(0x20e);case _0x5b38e1['CONNECTING']:case _0x5b38e1[_0x4841f7(0x243)]:return _0x4841f7(0x260);case _0x5b38e1[_0x4841f7(0x241)]:return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';default:return'univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200';}},_0x514455=(_0x377daa,_0xf9de09)=>{const _0x4c5132=_0x27e1e0;if(_0xf9de09===_0x31c95a['UNAUTHORIZED'])return'univer-bg-red-500';switch(_0x377daa){case _0x5b38e1['CONNECTED']:return _0x4c5132(0x2bc);case _0x5b38e1[_0x4c5132(0x28b)]:case _0x5b38e1[_0x4c5132(0x243)]:return'univer-bg-blue-500';case _0x5b38e1[_0x4c5132(0x241)]:return _0x4c5132(0x301);default:return _0x4c5132(0x20c);}},_0x3da5a6=_0x4f2b24=>{const _0x5190d1=_0x27e1e0;switch(_0x4f2b24){case _0x5b38e1['CONNECTED']:return _0x49c05f['t'](_0x5190d1(0x1e5));case _0x5b38e1[_0x5190d1(0x28b)]:return _0x49c05f['t'](_0x5190d1(0x2df));case _0x5b38e1[_0x5190d1(0x241)]:return _0x49c05f['t'](_0x5190d1(0x304));case _0x5b38e1[_0x5190d1(0x243)]:return _0x49c05f['t']('mcpConfig.connectionStatus.retrying');default:return _0x49c05f['t'](_0x5190d1(0x29f));}},_0x143172=_0x10f9a4=>{const _0x2157eb=_0x27e1e0;switch(_0x10f9a4){case _0x31c95a[_0x2157eb(0x294)]:return _0x49c05f['t']('mcpConfig.connectionError.unauthorized');case _0x31c95a[_0x2157eb(0x225)]:return _0x49c05f['t'](_0x2157eb(0x263));case _0x31c95a['NETWORK_ERROR']:return _0x49c05f['t'](_0x2157eb(0x22d));case _0x31c95a[_0x2157eb(0x201)]:return _0x49c05f['t'](_0x2157eb(0x2d0));default:return'';}},_0x243933=_0x1eb342(()=>{const _0x236fbf=_0x27e1e0;_0x9204b5({..._0x1b8519,'apiKey':_0x46a1cb[_0x236fbf(0x28d)](),'enableAuth':!0x0});},[_0x1b8519,_0x46a1cb,!0x0,_0x9204b5]),_0x1f980d=_0x46a1cb[_0x27e1e0(0x28d)]()['length']>0x0;return _0x520df6(_0x27e1e0(0x281),{'className':'univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','children':[_0x1add3b(_0x27e1e0(0x281),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':_0x520df6(_0x27e1e0(0x281),{'className':_0x27e1e0(0x222),'children':[_0x1add3b(_0x27e1e0(0x281),{'className':'univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','children':_0x1add3b(_0x27e1e0(0x1da),{'className':_0x27e1e0(0x280),'children':'⚙'})}),_0x1add3b(_0x27e1e0(0x281),{'children':_0x1add3b('p',{'className':_0x27e1e0(0x24e),'children':_0x49c05f['t'](_0x27e1e0(0x246))})})]})}),_0x520df6(_0x27e1e0(0x281),{'className':_0x27e1e0(0x2f2),'children':[_0x1add3b(_0x27e1e0(0x281),{'className':_0xf6b5fa(_0x27e1e0(0x23e),_0x34bdb4(_0x3e4f54,_0x5466cb)),'children':_0x520df6(_0x27e1e0(0x281),{'className':_0x27e1e0(0x2c1),'children':[_0x1add3b('div',{'className':_0xf6b5fa(_0x27e1e0(0x200),_0x514455(_0x3e4f54,_0x5466cb))}),_0x1add3b('span',{'className':_0x27e1e0(0x2f6),'children':_0x3da5a6(_0x3e4f54)})]})}),_0x5466cb!==_0x31c95a['NONE']&&(_0x3e4f54===_0x5b38e1[_0x27e1e0(0x241)]||_0x5466cb===_0x31c95a[_0x27e1e0(0x294)])&&_0x1add3b(_0x27e1e0(0x281),{'className':'univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','children':_0x520df6('div',{'className':_0x27e1e0(0x25e),'children':[_0x1add3b(_0x27e1e0(0x1da),{'className':_0x27e1e0(0x22c),'children':'⚠️'}),_0x1add3b('p',{'className':_0x27e1e0(0x214),'children':_0x143172(_0x5466cb)})]})})]}),_0x1add3b('div',{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':_0x520df6('div',{'className':_0x27e1e0(0x2e3),'children':[_0x520df6(_0x27e1e0(0x281),{'className':_0x27e1e0(0x21a),'children':[_0x520df6(_0x27e1e0(0x27b),{'className':_0x27e1e0(0x1fa),'children':[_0x1add3b(_0x27e1e0(0x1da),{'children':'🔑'}),'\x20',_0x49c05f['t']('mcpConfig.apiKey'),_0x1add3b(_0x27e1e0(0x1da),{'className':'univer-text-red-500','children':'*'}),_0x110b13&&_0x1add3b('a',{'className':_0x27e1e0(0x25d),'title':_0x49c05f['t'](_0x27e1e0(0x278)),'role':_0x27e1e0(0x295),'onClick':()=>_0x2beb72(!0x0),'children':_0x1add3b(_0xfc3388,{})})]}),_0x1add3b(_0x5dc7f1,{'type':_0x27e1e0(0x292),'placeholder':_0x49c05f['t'](_0x27e1e0(0x232)),'value':_0x46a1cb,'disabled':_0xec9afb,'autoComplete':_0x27e1e0(0x1eb),'onChange':_0x5ab4ae}),_0x1add3b('p',{'className':_0x27e1e0(0x1f4),'children':_0x49c05f['t'](_0x27e1e0(0x1ea))})]}),_0x110b13&&_0x50554e&&_0x520df6(_0x27e1e0(0x281),{'className':_0x27e1e0(0x2f7),'children':[_0x1add3b('a',{'className':'univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','role':_0x27e1e0(0x295),'onClick':()=>_0x2beb72(!0x1),'children':_0x1add3b(_0x2df2cc,{'className':_0x27e1e0(0x266)})}),_0x520df6(_0x27e1e0(0x281),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','children':[_0x1add3b(_0x27e1e0(0x281),{'className':_0x27e1e0(0x293),'children':_0x1add3b(_0x27e1e0(0x1da),{'className':_0x27e1e0(0x286),'children':'🚀'})}),_0x520df6('div',{'className':_0x27e1e0(0x2c3),'children':[_0x1add3b('h4',{'className':_0x27e1e0(0x215),'children':_0x49c05f['t'](_0x27e1e0(0x278))}),_0x1add3b('p',{'className':_0x27e1e0(0x28f),'children':_0x49c05f['t']('mcpConfig.apiApplyInfo.description')}),_0x1add3b(_0x27e1e0(0x281),{'className':_0x27e1e0(0x248),'children':_0x1ab8a6&&_0x520df6('a',{'className':_0x27e1e0(0x247),'href':_0x3964fa,'target':_0x27e1e0(0x277),'rel':_0x27e1e0(0x2d8),'children':[_0x1add3b(_0x27e1e0(0x1da),{'children':'🤖'}),_0x49c05f['t']('mcpConfig.apiApplyInfo.univerAiLabel'),_0x1add3b(_0x27e1e0(0x1da),{'className':_0x27e1e0(0x2ee),'children':'↗'})]})}),_0x520df6('div',{'className':_0x27e1e0(0x224),'children':['✨','\x20',_0x49c05f['t'](_0x27e1e0(0x24c))]})]})]})]}),_0x29c0d2['showDeveloperTools']&&_0x520df6('div',{'className':'univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','children':[_0x520df6('h4',{'className':_0x27e1e0(0x1f6),'children':[_0x1add3b(_0x27e1e0(0x1da),{'children':'🔗'}),'\x20',_0x49c05f['t'](_0x27e1e0(0x26a))]}),_0x520df6(_0x27e1e0(0x281),{'className':'univer-space-y-4','children':[_0x520df6(_0x27e1e0(0x281),{'className':_0x27e1e0(0x26f),'children':[_0x1add3b('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x49c05f['t'](_0x27e1e0(0x235))}),_0x520df6(_0x27e1e0(0x281),{'className':'univer-space-y-2','children':[_0x1add3b('div',{'className':_0x27e1e0(0x2e4),'children':_0x49c05f['t'](_0x27e1e0(0x2d7))}),_0x520df6('div',{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[_0x520df6(_0x27e1e0(0x281),{'className':_0x27e1e0(0x2c1),'children':[_0x1add3b(_0x27e1e0(0x1da),{'className':_0x27e1e0(0x2d5),'children':'1'}),_0x49c05f['t'](_0x27e1e0(0x244))]}),_0x520df6(_0x27e1e0(0x281),{'className':_0x27e1e0(0x2c1),'children':[_0x1add3b(_0x27e1e0(0x1da),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'2'}),_0x49c05f['t'](_0x27e1e0(0x2b8))]}),_0x520df6(_0x27e1e0(0x281),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x1add3b(_0x27e1e0(0x1da),{'className':_0x27e1e0(0x2d5),'children':'3'}),_0x49c05f['t'](_0x27e1e0(0x2c7))]})]})]})]}),_0x520df6(_0x27e1e0(0x281),{'className':_0x27e1e0(0x21a),'children':[_0x1add3b(_0x27e1e0(0x281),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','children':_0x27e1e0(0x2b6)}),_0x1add3b('div',{'className':_0x27e1e0(0x2ba),'children':_0x1add3b('pre',{'className':_0x27e1e0(0x2f8),'children':JSON[_0x27e1e0(0x1db)]({'mcpServers':{'univer':{'url':_0x27e1e0(0x2e1)+(_0x25dd20||'<SESSION_ID>'),'type':_0x27e1e0(0x252),'headers':{'Authorization':'Bearer\x20'+(_0x46a1cb||_0x27e1e0(0x245))}}}},null,0x2)})})]}),_0x520df6(_0x27e1e0(0x281),{'className':_0x27e1e0(0x26f),'children':[_0x1add3b(_0x27e1e0(0x281),{'className':_0x27e1e0(0x2e4),'children':_0x49c05f['t'](_0x27e1e0(0x209))}),_0x520df6('div',{'className':_0x27e1e0(0x21a),'children':[_0x520df6(_0x27e1e0(0x281),{'className':_0x27e1e0(0x211),'children':[_0x1add3b(_0x27e1e0(0x281),{'className':_0x27e1e0(0x1e8)}),_0x520df6(_0x27e1e0(0x281),{'className':_0x27e1e0(0x24d),'children':[_0x1add3b(_0x27e1e0(0x281),{'className':_0x27e1e0(0x1e0),'children':_0x27e1e0(0x2a9)}),_0x1add3b('div',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x49c05f['t'](_0x27e1e0(0x2a3))})]})]}),_0x520df6('div',{'className':_0x27e1e0(0x211),'children':[_0x1add3b(_0x27e1e0(0x281),{'className':_0x27e1e0(0x1e8)}),_0x520df6(_0x27e1e0(0x281),{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x1add3b('div',{'className':_0x27e1e0(0x1e0),'children':_0x27e1e0(0x268)}),_0x1add3b(_0x27e1e0(0x281),{'className':_0x27e1e0(0x1f4),'children':_0x49c05f['t'](_0x27e1e0(0x1ed))})]})]})]})]})]})]}),_0x1add3b(_0xbd5d2c,{'onClick':_0x243933,'disabled':!_0x1f980d||_0xec9afb,'className':_0x27e1e0(0x230),'children':_0xec9afb?_0x520df6(_0x27e1e0(0x1da),{'className':_0x27e1e0(0x2c1),'children':[_0x1add3b(_0x27e1e0(0x1da),{'children':'⟲'}),_0x49c05f['t']('mcpConfig.saving')]}):_0x520df6('span',{'className':_0x27e1e0(0x2c1),'children':[_0x1add3b(_0x25a51b,{}),_0x49c05f['t']('mcpConfig.save')]})}),_0x1add3b(_0x27e1e0(0x281),{'className':_0x27e1e0(0x24a),'children':_0x520df6(_0x27e1e0(0x281),{'className':_0x27e1e0(0x2d3),'children':[_0x1add3b('span',{'className':'univer-shrink-0\x20univer-text-blue-500','children':'💡'}),_0x520df6(_0x27e1e0(0x281),{'className':_0x27e1e0(0x2a8),'children':[_0x1add3b('div',{'className':_0x27e1e0(0x256),'children':_0x27e1e0(0x276)}),_0x520df6(_0x27e1e0(0x281),{'children':['•',_0x49c05f['t']('mcpConfig.note1')]}),_0x520df6(_0x27e1e0(0x281),{'children':['•',_0x49c05f['t'](_0x27e1e0(0x1dd))]})]})]})})]})})]});}const B='mcp-ui.config';Symbol(B);const V={'showDeveloperTools':!0x1,'showStatus':!0x0};function H(_0xa6699a){'@babel/helpers - typeof';const _0x179020=_0x5244;return H=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x179020(0x1dc)?function(_0x38736f){return typeof _0x38736f;}:function(_0x2d5027){const _0x5b9fad=_0x179020;return _0x2d5027&&typeof Symbol=='function'&&_0x2d5027[_0x5b9fad(0x302)]===Symbol&&_0x2d5027!==Symbol[_0x5b9fad(0x249)]?_0x5b9fad(0x1dc):typeof _0x2d5027;},H(_0xa6699a);}function oe(_0x3d6f6f,_0x30e8dd){const _0x2bd82d=_0x5244;if(H(_0x3d6f6f)!='object'||!_0x3d6f6f)return _0x3d6f6f;var _0x222ab7=_0x3d6f6f[Symbol[_0x2bd82d(0x22f)]];if(_0x222ab7!==void 0x0){var _0x12c91f=_0x222ab7[_0x2bd82d(0x284)](_0x3d6f6f,_0x30e8dd||_0x2bd82d(0x2f1));if(H(_0x12c91f)!=_0x2bd82d(0x253))return _0x12c91f;throw TypeError(_0x2bd82d(0x1f8));}return(_0x30e8dd===_0x2bd82d(0x250)?String:Number)(_0x3d6f6f);}function se(_0x4aa9d9){const _0x536b3c=_0x5244;var _0x1218cd=oe(_0x4aa9d9,_0x536b3c(0x250));return H(_0x1218cd)=='symbol'?_0x1218cd:_0x1218cd+'';}function U(_0x49f9c8,_0x5e989a,_0x35b096){const _0xc567fc=_0x5244;return(_0x5e989a=se(_0x5e989a))in _0x49f9c8?Object[_0xc567fc(0x1e2)](_0x49f9c8,_0x5e989a,{'value':_0x35b096,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x49f9c8[_0x5e989a]=_0x35b096,_0x49f9c8;}function W(_0x20d8b9,_0x51ee06){return function(_0x360189,_0x5f3cac){_0x51ee06(_0x360189,_0x5f3cac,_0x20d8b9);};}function G(_0x3835e,_0x5d50bc,_0x392679,_0x43dffc){const _0xfc10fa=_0x5244;var _0xcef57a=arguments['length'],_0x19579c=_0xcef57a<0x3?_0x5d50bc:_0x43dffc===null?_0x43dffc=Object['getOwnPropertyDescriptor'](_0x5d50bc,_0x392679):_0x43dffc,_0x3ae89e;if(typeof Reflect=='object'&&typeof Reflect[_0xfc10fa(0x29e)]=='function')_0x19579c=Reflect[_0xfc10fa(0x29e)](_0x3835e,_0x5d50bc,_0x392679,_0x43dffc);else{for(var _0x381962=_0x3835e[_0xfc10fa(0x2cc)]-0x1;_0x381962>=0x0;_0x381962--)(_0x3ae89e=_0x3835e[_0x381962])&&(_0x19579c=(_0xcef57a<0x3?_0x3ae89e(_0x19579c):_0xcef57a>0x3?_0x3ae89e(_0x5d50bc,_0x392679,_0x19579c):_0x3ae89e(_0x5d50bc,_0x392679))||_0x19579c);}return _0xcef57a>0x3&&_0x19579c&&Object['defineProperty'](_0x5d50bc,_0x392679,_0x19579c),_0x19579c;}const K=_0x28ce8a(0x2fe),q=_0x28ce8a(0x28a);let J=class extends _0x3b8284{constructor(_0x5bdc5c,_0x856972,_0x531fea,_0x32f0d5,_0x35280c,_0x487ae6,_0x395338,_0x588355,_0x51680f,_0x436620){const _0x48e56e=_0x28ce8a;super(),this[_0x48e56e(0x1de)]=_0x5bdc5c,this['_uiPartsService']=_0x856972,this['_configService']=_0x531fea,this[_0x48e56e(0x28e)]=_0x32f0d5,this['_dialogService']=_0x35280c,this[_0x48e56e(0x1f1)]=_0x487ae6,this[_0x48e56e(0x2da)]=_0x395338,this[_0x48e56e(0x20b)]=_0x588355,this['_logService']=_0x51680f,this[_0x48e56e(0x28c)]=_0x436620,U(this,_0x48e56e(0x21d),new _0x6bc32f(!0x1)),U(this,_0x48e56e(0x300),new _0x6bc32f({})),U(this,_0x48e56e(0x274),new _0x6bc32f({})),U(this,_0x48e56e(0x298),new _0x6bc32f('')),U(this,_0x48e56e(0x29a),async _0x20fec8=>{const _0x1885aa=_0x48e56e;this[_0x1885aa(0x21d)][_0x1885aa(0x2c4)](!0x0);try{var _0x1b4a6d,_0x149440;let _0x4f862a=await this['_validateConfig'](_0x20fec8);if(!_0x4f862a[_0x1885aa(0x25a)]){this[_0x1885aa(0x1f1)]['show']({'type':_0x261752[_0x1885aa(0x26e)],'content':_0x4f862a[_0x1885aa(0x2d6)]||this[_0x1885aa(0x20b)]['t'](_0x1885aa(0x269))});return;}_0x20fec8[_0x1885aa(0x1e9)]?await this[_0x1885aa(0x28e)][_0x1885aa(0x236)](K,_0x20fec8['apiKey'][_0x1885aa(0x28d)]()):await this[_0x1885aa(0x28e)]['removeItem'](K),this[_0x1885aa(0x298)][_0x1885aa(0x2c4)](((_0x1b4a6d=_0x20fec8[_0x1885aa(0x1e9)])==null?void 0x0:_0x1b4a6d[_0x1885aa(0x28d)]())||''),this[_0x1885aa(0x28c)][_0x1885aa(0x1ef)]({'Authorization':_0x1885aa(0x25b)+((_0x149440=_0x20fec8[_0x1885aa(0x1e9)])==null?void 0x0:_0x149440[_0x1885aa(0x28d)]())}),this[_0x1885aa(0x1f1)][_0x1885aa(0x2fa)]({'type':_0x261752[_0x1885aa(0x2ff)],'content':this[_0x1885aa(0x20b)]['t'](_0x1885aa(0x21f))}),setTimeout(()=>{const _0x1b9ace=_0x1885aa;this['_dialogService'][_0x1b9ace(0x21c)](q);},0x320);}catch(_0x7891a4){this[_0x1885aa(0x22e)][_0x1885aa(0x22a)](_0x1885aa(0x1f9),_0x7891a4),this[_0x1885aa(0x1f1)]['show']({'type':_0x261752[_0x1885aa(0x26e)],'content':this[_0x1885aa(0x20b)]['t']('mcpConfig.configError')});}finally{this['_loading$'][_0x1885aa(0x2c4)](!0x1);}}),this[_0x48e56e(0x2ca)](),this[_0x48e56e(0x20a)](),this[_0x48e56e(0x2ad)]();}[_0x28ce8a(0x2c9)](){const _0x3885ef=_0x28ce8a;let _0x40bcbb=this[_0x3885ef(0x1df)][_0x3885ef(0x240)](B);_0x40bcbb!=null&&_0x40bcbb[_0x3885ef(0x227)]&&this['_dialogService']['open']({'id':q,'title':{'title':this[_0x3885ef(0x20b)]['t'](_0x3885ef(0x207))},'children':{'label':_0x3885ef(0x2d4)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x517658=_0x3885ef;this[_0x517658(0x26b)][_0x517658(0x21c)](q);}});}[_0x28ce8a(0x282)](){const _0x1c8ab2=_0x28ce8a;return this['_mcpCoreConfig$'][_0x1c8ab2(0x258)];}[_0x28ce8a(0x2ad)](){const _0x4f2dcf=_0x28ce8a;this[_0x4f2dcf(0x25f)](this[_0x4f2dcf(0x2da)]['register']('MCPConfigPanel',this[_0x4f2dcf(0x2b4)]()));}[_0x28ce8a(0x2b4)](){return _0x3381fc(()=>{const _0x1a9f96=_0x5244;var _0x954773,_0x21feff,_0x27111c;return _0x1add3b(z,{'config':this['_config$']['value'],'mcpCoreConfig':this[_0x1a9f96(0x300)]['value'],'currentApiKey$':this[_0x1a9f96(0x298)],'onSave':this['_handleConfigSave'],'loading':this[_0x1a9f96(0x21d)][_0x1a9f96(0x258)],'connectionStatus$':(_0x954773=this[_0x1a9f96(0x28c)])==null?void 0x0:_0x954773['connectionStatus$'],'connectionError$':(_0x21feff=this[_0x1a9f96(0x28c)])==null?void 0x0:_0x21feff[_0x1a9f96(0x1ff)],'currentSessionId$':(_0x27111c=this[_0x1a9f96(0x28c)])==null?void 0x0:_0x27111c[_0x1a9f96(0x213)]});},this['_injector']);}[_0x28ce8a(0x2ca)](){const _0x5e4093=_0x28ce8a;this[_0x5e4093(0x25f)](this[_0x5e4093(0x1df)][_0x5e4093(0x2a4)](_0x2da9b3)[_0x5e4093(0x217)](_0x4f867c=>{const _0x105670=_0x5e4093;this[_0x105670(0x300)][_0x105670(0x2c4)](_0x4f867c||{});}));let _0x3ad8b3=this[_0x5e4093(0x1df)][_0x5e4093(0x240)](_0x2da9b3);this['_mcpCoreConfig$'][_0x5e4093(0x2c4)](_0x3ad8b3||{}),this[_0x5e4093(0x25f)](this[_0x5e4093(0x1df)][_0x5e4093(0x2a4)](B)[_0x5e4093(0x217)](_0x2aa100=>{const _0x17640f=_0x5e4093;this[_0x17640f(0x274)][_0x17640f(0x2c4)](_0x2aa100||{});}));let _0x3a3239=this[_0x5e4093(0x1df)][_0x5e4093(0x240)](B);this[_0x5e4093(0x274)]['next'](_0x3a3239||{});}async['_loadStoredApiKey'](){const _0x42100b=_0x28ce8a;let _0x33744a=this[_0x42100b(0x1df)]['getConfig'](B);if(!(_0x33744a!=null&&_0x33744a[_0x42100b(0x227)]))return;let _0x3bdc21=await this[_0x42100b(0x28e)][_0x42100b(0x2f0)](K);_0x3bdc21&&(this['_mcpConnectionController'][_0x42100b(0x1ef)]({'Authorization':_0x42100b(0x25b)+_0x3bdc21}),this[_0x42100b(0x298)][_0x42100b(0x2c4)](_0x3bdc21));}async[_0x28ce8a(0x29b)](_0x274e2a){const _0x29558a=_0x28ce8a;if(!_0x274e2a[_0x29558a(0x1e9)]||_0x274e2a[_0x29558a(0x1e9)][_0x29558a(0x28d)]()[_0x29558a(0x2cc)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x29558a(0x20b)]['t']('mcpConfig.validation.apiKeyRequired')};if(_0x274e2a[_0x29558a(0x1e9)]['trim']()[_0x29558a(0x2cc)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x29558a(0x20b)]['t'](_0x29558a(0x285))};try{let _0xf29511=await this['_injector']['get'](_0x722788)[_0x29558a(0x270)](_0x274e2a[_0x29558a(0x1e9)][_0x29558a(0x28d)]());return _0xf29511[_0x29558a(0x25a)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0xf29511['error']||this[_0x29558a(0x20b)]['t'](_0x29558a(0x255))};}catch(_0x28b0b9){return console[_0x29558a(0x2cf)](_0x29558a(0x202),_0x28b0b9),{'isValid':!0x0};}}};J=G([W(0x0,_0x53c2f0(_0x61c00e)),W(0x1,_0x2871fb),W(0x2,_0x23bc82),W(0x3,_0x5f22c6),W(0x4,_0x2d156b),W(0x5,_0x28ad13),W(0x6,_0x53c2f0(_0x45d10a)),W(0x7,_0x53c2f0(_0x34569a)),W(0x8,_0x3bb11f),W(0x9,_0x53c2f0(_0x722788))],J);const Y={'id':_0x28ce8a(0x1f5),'type':_0x8810a8[_0x28ce8a(0x2a0)],'handler':async(_0x283b03,_0x58443b)=>(_0x283b03[_0x28ce8a(0x23b)](J)[_0x28ce8a(0x2c9)](),!0x0)};function X(_0x37f489,_0x15d73c){const _0x5f325c=_0x28ce8a;switch(_0x37f489){case _0x5b38e1[_0x5f325c(0x279)]:return _0x5f325c(0x1e3);case _0x5b38e1[_0x5f325c(0x28b)]:return _0x5f325c(0x24b);case _0x5b38e1['CONNECTED']:return'mcpStatus.connected';case _0x5b38e1[_0x5f325c(0x241)]:switch(_0x15d73c){case _0x31c95a[_0x5f325c(0x294)]:return'mcpStatus.unauthorized';case _0x31c95a['SESSION_ID_OCCUPIED']:return'mcpStatus.sessionOccupied';case _0x31c95a[_0x5f325c(0x27d)]:return _0x5f325c(0x21b);case _0x31c95a[_0x5f325c(0x201)]:return _0x5f325c(0x1e7);default:return'mcpStatus.failed';}case _0x5b38e1[_0x5f325c(0x243)]:return _0x5f325c(0x2de);default:return'mcpStatus.unknown';}}function ce(_0x54b1af,_0x139d5f,_0x7dbe4c,_0xa97ba5=!0x0){const _0x37fcbb=_0x28ce8a;let _0x13702e=X(_0x54b1af,_0x139d5f),_0x97d5=_0x7dbe4c['t'](_0x13702e);return _0xa97ba5?_0x54b1af===_0x5b38e1[_0x37fcbb(0x279)]&&_0x139d5f===_0x31c95a[_0x37fcbb(0x294)]?_0x97d5+_0x37fcbb(0x1fe)+_0x7dbe4c['t'](_0x37fcbb(0x261)):_0x54b1af===_0x5b38e1[_0x37fcbb(0x2ea)]?''+_0x97d5:_0x54b1af===_0x5b38e1[_0x37fcbb(0x279)]||_0x54b1af===_0x5b38e1[_0x37fcbb(0x241)]?_0x97d5+_0x37fcbb(0x1fe)+_0x7dbe4c['t'](_0x37fcbb(0x1f0)):_0x97d5:_0x97d5;}function le(_0x2582b9){const _0x275c80=_0x28ce8a;switch(_0x2582b9){case _0x5b38e1[_0x275c80(0x2ea)]:return'univer-text-green-500';case _0x5b38e1[_0x275c80(0x28b)]:case _0x5b38e1[_0x275c80(0x243)]:return _0x275c80(0x2c5);case _0x5b38e1['FAILED']:case _0x5b38e1[_0x275c80(0x279)]:return _0x275c80(0x1f7);default:return'univer-text-gray-500';}}function ue(_0x3762dc){const _0x59741f=_0x28ce8a;let {status$:_0x2b776d,error$:_0x14268d,onConfigure:_0x4fda2d,showClickable:_0x115c49=!0x0}=_0x3762dc,_0x3b73de=_0x5b245a(_0x2b776d,_0x5b38e1[_0x59741f(0x279)]),_0x480951=_0x5b245a(_0x14268d,_0x31c95a[_0x59741f(0x1fd)]),_0x679e77=_0xaaf771(_0x34569a),_0xe80bb6=_0x3b73de===_0x5b38e1[_0x59741f(0x2ea)];_0x3b73de===_0x5b38e1['CONNECTING']||_0x5b38e1[_0x59741f(0x243)];let _0x19554e=_0x679e77['t'](X(_0x3b73de,_0x480951)),_0x495dd2=ce(_0x3b73de,_0x480951,_0x679e77,_0x115c49),_0x5dbd16=le(_0x3b73de),_0xdf70ac=_0x1add3b(_0xe80bb6?_0x3c55cc:_0x8d9fde,{}),_0x321a14=_0x1eb342(()=>{_0x115c49&&_0x4fda2d&&_0x4fda2d();},[_0x115c49,_0x4fda2d]);function _0x125415(){const _0x452b5f=_0x59741f;return _0x520df6(_0x452b5f(0x281),{'className':_0xf6b5fa('univer-flex\x20univer-items-center',_0x115c49&&_0x4fda2d&&_0x452b5f(0x2fb)),'role':_0x452b5f(0x295),'onClick':_0x115c49&&_0x4fda2d?_0x321a14:void 0x0,'children':[_0x1add3b('div',{'className':_0xf6b5fa(_0x452b5f(0x221),_0x5dbd16),'children':_0xdf70ac}),_0x1add3b('div',{'className':_0x452b5f(0x220),'children':_0x19554e})]});}return _0x1add3b(_0x3d1bb2,{'title':_0x495dd2,'placement':_0x59741f(0x2e0),'children':_0x125415()});}let Z=class extends _0x3b8284{constructor(_0x543c9f,_0x2f9d81,_0xf0268e,_0x16a194){const _0x43081a=_0x28ce8a;super(),this[_0x43081a(0x1de)]=_0x543c9f,this[_0x43081a(0x2ed)]=_0x2f9d81,this[_0x43081a(0x297)]=_0xf0268e,this['_configService']=_0x16a194,this['_initAutoConnect'](),this[_0x43081a(0x1ec)]();}[_0x28ce8a(0x288)](){const _0x4627c7=_0x28ce8a;let _0x2ed4d8=this[_0x4627c7(0x1df)][_0x4627c7(0x240)](B);_0x2ed4d8!=null&&_0x2ed4d8[_0x4627c7(0x227)]&&(this['_connectionController'][_0x4627c7(0x25c)]=!0x1);}['_initStatusComponent'](){const _0x12ee06=_0x28ce8a;let _0x232327=this['_configService'][_0x12ee06(0x240)](B);(_0x232327==null?void 0x0:_0x232327['showStatus'])!==!0x1&&this['disposeWithMe'](this[_0x12ee06(0x297)]['registerComponent'](_0x3600f0[_0x12ee06(0x2ce)],()=>{const _0x10fe15=_0x12ee06;var _0x5539bf;return _0x3381fc(de({'status$':this[_0x10fe15(0x2ed)][_0x10fe15(0x2ab)],'error$':this[_0x10fe15(0x2ed)][_0x10fe15(0x1ff)],'onConfigure':()=>this[_0x10fe15(0x1ee)](),'showClickable':(_0x5539bf=_0x232327==null?void 0x0:_0x232327[_0x10fe15(0x227)])==null?!0x1:_0x5539bf}),this[_0x10fe15(0x1de)]);}));}[_0x28ce8a(0x1ee)](){const _0x36e59c=_0x28ce8a;this[_0x36e59c(0x1de)][_0x36e59c(0x23b)](J)['showConfigPanel']();}};Z=G([W(0x0,_0x53c2f0(_0x61c00e)),W(0x1,_0x53c2f0(_0x722788)),W(0x2,_0x2871fb),W(0x3,_0x23bc82)],Z);function de(_0x37484c){let {status$:_0x310cda,error$:_0x2e3117,onConfigure:_0x3d0b39,showClickable:_0x580afc}=_0x37484c;return function(){return _0x1add3b(ue,{'status$':_0x310cda,'error$':_0x2e3117,'onConfigure':_0x3d0b39,'showClickable':_0x580afc});};}function fe(_0x56e4eb){const _0x49f778=_0x28ce8a;return{'id':Y['id'],'type':_0x1d06c6[_0x49f778(0x26d)],'icon':'MenuIcon','title':_0x49f778(0x207),'tooltip':_0x49f778(0x207)};}const pe={[_0x532d5f[_0x28ce8a(0x254)]]:{[Y['id']]:{'order':0xa,'menuItemFactory':fe}}};let Q=class extends _0x3b8284{constructor(_0x3e88bb,_0x3c7147){const _0x374214=_0x28ce8a;super(),this['_commandService']=_0x3e88bb,this[_0x374214(0x2ec)]=_0x3c7147,this[_0x374214(0x2bb)](),this[_0x374214(0x203)]();}['_initializeCommands'](){const _0xf5b13b=_0x28ce8a;[Y][_0xf5b13b(0x22b)](_0x1c4cf5=>{const _0x5a3640=_0xf5b13b;this[_0x5a3640(0x25f)](this[_0x5a3640(0x283)][_0x5a3640(0x219)](_0x1c4cf5));});}[_0x28ce8a(0x203)](){const _0x170630=_0x28ce8a;this[_0x170630(0x2ec)][_0x170630(0x2b3)](pe);}};Q=G([W(0x0,_0x17d690),W(0x1,_0x3652e0)],Q);const me={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x28ce8a(0x2cd),'failed':_0x28ce8a(0x27a),'retrying':'MCP\x20Retrying...','unknown':_0x28ce8a(0x206),'unauthorized':_0x28ce8a(0x267),'sessionOccupied':_0x28ce8a(0x26c),'networkError':_0x28ce8a(0x262),'maxRetriesExceeded':_0x28ce8a(0x1fc),'clickToConnect':_0x28ce8a(0x251),'clickToConfigure':_0x28ce8a(0x234)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x28ce8a(0x237),'apiKey':_0x28ce8a(0x289),'apiKeyPlaceholder':_0x28ce8a(0x2b7),'apiKeyHint':_0x28ce8a(0x273),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x28ce8a(0x2e7),'connectionInfo':_0x28ce8a(0x1e1),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x28ce8a(0x29c),'configStepTitle':_0x28ce8a(0x2d9),'configStep1':_0x28ce8a(0x27f),'configStep2':_0x28ce8a(0x299),'configStep3':_0x28ce8a(0x223),'sessionId':_0x28ce8a(0x23a),'sessionIdDescription':_0x28ce8a(0x233),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x28ce8a(0x2c2),'maxRetries':'Max\x20Retries','save':_0x28ce8a(0x2f4),'saving':_0x28ce8a(0x2c6),'note1':_0x28ce8a(0x2fd),'note2':_0x28ce8a(0x257),'configSaved':_0x28ce8a(0x2ae),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x28ce8a(0x2af),'description':_0x28ce8a(0x2e6),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x28ce8a(0x1e4)},'validation':{'apiKeyRequired':_0x28ce8a(0x229),'apiKeyTooShort':_0x28ce8a(0x2dd),'invalidConfig':_0x28ce8a(0x271),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x28ce8a(0x2a5),'connecting':'Connecting...','connected':_0x28ce8a(0x226),'failed':_0x28ce8a(0x2fc),'retrying':_0x28ce8a(0x2d1)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x28ce8a(0x1f2),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x28ce8a(0x21e)}}},he={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':'MCP\x20连接中...','connected':_0x28ce8a(0x218),'failed':_0x28ce8a(0x272),'retrying':_0x28ce8a(0x2b0),'unknown':'MCP\x20状态未知','unauthorized':'MCP:\x20未授权','sessionOccupied':_0x28ce8a(0x2cb),'networkError':_0x28ce8a(0x23c),'maxRetriesExceeded':_0x28ce8a(0x2c0),'clickToConnect':_0x28ce8a(0x2aa),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':'MCP\x20配置','description':_0x28ce8a(0x239),'apiKey':_0x28ce8a(0x238),'apiKeyPlaceholder':_0x28ce8a(0x290),'apiKeyHint':_0x28ce8a(0x2dc),'enableAuth':_0x28ce8a(0x2b9),'enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0x28ce8a(0x204),'mcpClientConfig':_0x28ce8a(0x204),'configInstructions':_0x28ce8a(0x2bd),'configStepTitle':_0x28ce8a(0x212),'configStep1':'复制以下\x20JSON\x20配置','configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x28ce8a(0x20f),'sessionId':_0x28ce8a(0x259),'sessionIdDescription':_0x28ce8a(0x275),'authorizationDescription':_0x28ce8a(0x2bf),'configParameters':_0x28ce8a(0x264),'maxRetries':_0x28ce8a(0x1fb),'save':_0x28ce8a(0x205),'saving':'保存中...','note1':_0x28ce8a(0x23d),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x28ce8a(0x2c8),'configError':_0x28ce8a(0x27c),'apiApplyInfo':{'title':_0x28ce8a(0x2a7),'description':_0x28ce8a(0x216),'univerAiLabel':_0x28ce8a(0x27e),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x28ce8a(0x2a2),'apiKeyTooShort':_0x28ce8a(0x208),'invalidConfig':_0x28ce8a(0x228),'invalidApiKey':_0x28ce8a(0x1e6)},'connectionStatus':{'disconnected':_0x28ce8a(0x2d2),'connecting':'连接中...','connected':_0x28ce8a(0x2ac),'failed':_0x28ce8a(0x2be),'retrying':_0x28ce8a(0x23f)},'connectionError':{'unauthorized':_0x28ce8a(0x303),'sessionOccupied':_0x28ce8a(0x2a6),'networkError':_0x28ce8a(0x2db),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};var ge=_0x28ce8a(0x2b2),_e=_0x28ce8a(0x29d);let $=class extends _0x1be01a{constructor(_0x28b939=V,_0x28c4e5,_0x50cf58,_0x552d05,_0x3abe93,_0x1e5d9a){const _0x321338=_0x28ce8a;super(),this['_config']=_0x28b939,this[_0x321338(0x1de)]=_0x28c4e5,this[_0x321338(0x1df)]=_0x50cf58,this[_0x321338(0x297)]=_0x552d05,this[_0x321338(0x28e)]=_0x3abe93,this[_0x321338(0x20b)]=_0x1e5d9a;let {..._0x4d4537}=_0x4ed231({},V,this['_config']);this[_0x321338(0x1df)][_0x321338(0x210)](B,_0x4d4537);}async[_0x28ce8a(0x2e8)](){const _0x1f28c7=_0x28ce8a;let _0x4c24e6=[[Z],[J],[Q]];this[_0x1f28c7(0x1de)]['has'](_0x2abfd5)||_0x4c24e6[_0x1f28c7(0x2f3)]([_0x2abfd5,{'useClass':_0x16689d}]),_0x4c24e6[_0x1f28c7(0x22b)](_0x2e5279=>this[_0x1f28c7(0x1de)][_0x1f28c7(0x2f9)](_0x2e5279)),this[_0x1f28c7(0x1de)][_0x1f28c7(0x23b)](Z),this[_0x1f28c7(0x1de)][_0x1f28c7(0x23b)](J),this[_0x1f28c7(0x1de)]['get'](Q);}};U($,'pluginName',_0x28ce8a(0x2a1)),U($,_0x28ce8a(0x2e2),ge),U($,_0x28ce8a(0x242),_e),$=G([_0x5a9818(_0x11a395),W(0x1,_0x53c2f0(_0x61c00e)),W(0x2,_0x23bc82),W(0x3,_0x2871fb),W(0x4,_0x5f22c6),W(0x5,_0x53c2f0(_0x34569a))],$);export{z as MCPConfigPanel,J as MCPConfigUIController,Z as MCPConnectionUIController,ue as MCPStatusDisplay,Q as MCPUIMenuController,Y as OpenMCPConfigPanelCommand,$ as UniverMCPUIPlugin,me as enUS,he as zhCN};
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x158b48=_0x5e31;(function(_0x281c77,_0x18229d){const _0xe796e1=_0x5e31,_0x19b6b=_0x281c77();while(!![]){try{const _0x14ca6e=-parseInt(_0xe796e1(0x180))/0x1*(parseInt(_0xe796e1(0x191))/0x2)+-parseInt(_0xe796e1(0x19f))/0x3+parseInt(_0xe796e1(0x17d))/0x4*(parseInt(_0xe796e1(0x195))/0x5)+parseInt(_0xe796e1(0x177))/0x6*(parseInt(_0xe796e1(0x19d))/0x7)+parseInt(_0xe796e1(0x19e))/0x8*(-parseInt(_0xe796e1(0x176))/0x9)+parseInt(_0xe796e1(0x18f))/0xa*(parseInt(_0xe796e1(0x1a0))/0xb)+parseInt(_0xe796e1(0x193))/0xc*(-parseInt(_0xe796e1(0x17a))/0xd);if(_0x14ca6e===_0x18229d)break;else _0x19b6b['push'](_0x19b6b['shift']());}catch(_0xdaa9d6){_0x19b6b['push'](_0x19b6b['shift']());}}}(_0x44df,0xde237));const e={'mcpStatus':{'disconnected':_0x158b48(0x17c),'connecting':_0x158b48(0x197),'connected':_0x158b48(0x17b),'failed':_0x158b48(0x181),'retrying':_0x158b48(0x1a5),'unknown':_0x158b48(0x1a1),'unauthorized':_0x158b48(0x19a),'sessionOccupied':_0x158b48(0x19c),'networkError':_0x158b48(0x18e),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x158b48(0x196),'clickToConfigure':_0x158b48(0x185)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x158b48(0x1a2),'apiKey':_0x158b48(0x1a8),'apiKeyPlaceholder':_0x158b48(0x184),'apiKeyHint':_0x158b48(0x1aa),'enableAuth':_0x158b48(0x199),'enableAuthHint':_0x158b48(0x18b),'connectionInfo':_0x158b48(0x1a3),'mcpClientConfig':_0x158b48(0x1a3),'configInstructions':_0x158b48(0x1a6),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x158b48(0x18a),'configStep2':_0x158b48(0x187),'configStep3':_0x158b48(0x19b),'sessionId':_0x158b48(0x186),'sessionIdDescription':_0x158b48(0x18d),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x158b48(0x17e),'maxRetries':_0x158b48(0x182),'save':_0x158b48(0x1a7),'saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x158b48(0x1a9),'configSaved':_0x158b48(0x17f),'configError':_0x158b48(0x1ad),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x158b48(0x198),'univerAiLabel':_0x158b48(0x189),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x158b48(0x1a4),'apiKeyTooShort':_0x158b48(0x18c),'invalidConfig':_0x158b48(0x179),'invalidApiKey':_0x158b48(0x190)},'connectionStatus':{'disconnected':_0x158b48(0x192),'connecting':_0x158b48(0x183),'connected':_0x158b48(0x1ab),'failed':'Connection\x20Failed','retrying':_0x158b48(0x178)},'connectionError':{'unauthorized':_0x158b48(0x188),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x158b48(0x1ac),'maxRetriesExceeded':_0x158b48(0x194)}}};function _0x5e31(_0x27a35a,_0x1c3f59){_0x27a35a=_0x27a35a-0x176;const _0x44dfb0=_0x44df();let _0x5e31c8=_0x44dfb0[_0x27a35a];return _0x5e31c8;}export{e as default};function _0x44df(){const _0x1b2882=['Configuration\x20Parameters:','Configuration\x20saved\x20successfully','2wYFGJs','MCP\x20Connection\x20Failed','Max\x20Retries','Connecting...','Enter\x20your\x20API\x20key','Click\x20to\x20configure\x20MCP','Session\x20ID','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Univer\x20AI\x20Console','Copy\x20the\x20JSON\x20configuration\x20below','Enable\x20authentication\x20for\x20secure\x20connections','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP:\x20Network\x20Error','9186830FIhJsm','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','808072zhINgk','Disconnected','8343276FDiIfD','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','9094700iUzSge','Click\x20to\x20connect\x20MCP','MCP\x20Connecting...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Enable\x20Authentication','MCP:\x20Unauthorized','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP:\x20Session\x20ID\x20Occupied','7861fOuLuo','226856IkXiUS','1146165KXPPoA','11MXOrMl','MCP\x20Unknown\x20Status','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Client\x20Configuration','API\x20key\x20is\x20required','MCP\x20Retrying...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Save\x20Configuration','API\x20Key','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Connected','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Failed\x20to\x20save\x20configuration','306egymOC','9174mZTQtv','Retrying...','Invalid\x20configuration','26oTLyNb','MCP\x20Connected','MCP\x20Disconnected','4PFeHjp'];_0x44df=function(){return _0x1b2882;};return _0x44df();}
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x1637(){const _0x289a3c=['Click\x20to\x20connect\x20MCP','24HkLgDI','MCP\x20Connection\x20Failed','Enable\x20Authentication','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Connecting...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','25027651RQbAwX','Click\x20to\x20configure\x20MCP','MCP:\x20Network\x20Error','2tVcCyV','What\x20is\x20API\x20Key?','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Configuration','Configuration\x20Steps:','841057SkGWoV','12bzhlcH','Retrying...','Connecting...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Saving...','MCP\x20Disconnected','API\x20Key','MCP\x20Client\x20Configuration','MCP:\x20Unauthorized','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Enter\x20your\x20API\x20key','Copy\x20the\x20JSON\x20configuration\x20below','Connected','132LPtnqI','112692dDblqi','Configuration\x20saved\x20successfully','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Unknown\x20Status','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','1274879anXPMF','Disconnected','Get\x20your\x20API\x20key\x20in\x20seconds','Connection\x20Failed','Configuration\x20Parameters:','15330810dBlGkP','MCP\x20Retrying...','Save\x20Configuration','Invalid\x20configuration','2564915iYCcJo','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','926244aicQAV','API\x20key\x20is\x20required'];_0x1637=function(){return _0x289a3c;};return _0x1637();}const _0x4b4e97=_0x5659;(function(_0xcd9278,_0x52f0f3){const _0x1d0cff=_0x5659,_0x1bfe56=_0xcd9278();while(!![]){try{const _0x473242=parseInt(_0x1d0cff(0x190))/0x1*(parseInt(_0x1d0cff(0x177))/0x2)+-parseInt(_0x1d0cff(0x18b))/0x3*(parseInt(_0x1d0cff(0x18a))/0x4)+parseInt(_0x1d0cff(0x167))/0x5*(parseInt(_0x1d0cff(0x17d))/0x6)+-parseInt(_0x1d0cff(0x17c))/0x7*(-parseInt(_0x1d0cff(0x16d))/0x8)+parseInt(_0x1d0cff(0x16a))/0x9+parseInt(_0x1d0cff(0x195))/0xa+-parseInt(_0x1d0cff(0x174))/0xb;if(_0x473242===_0x52f0f3)break;else _0x1bfe56['push'](_0x1bfe56['shift']());}catch(_0x4e9878){_0x1bfe56['push'](_0x1bfe56['shift']());}}}(_0x1637,0xbf06a));const e={'mcpStatus':{'disconnected':_0x4b4e97(0x182),'connecting':_0x4b4e97(0x171),'connected':'MCP\x20Connected','failed':_0x4b4e97(0x16e),'retrying':_0x4b4e97(0x196),'unknown':_0x4b4e97(0x18e),'unauthorized':_0x4b4e97(0x185),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x4b4e97(0x176),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x4b4e97(0x16c),'clickToConfigure':_0x4b4e97(0x175)},'mcpConfig':{'title':_0x4b4e97(0x17a),'description':_0x4b4e97(0x169),'apiKey':_0x4b4e97(0x183),'apiKeyPlaceholder':_0x4b4e97(0x187),'apiKeyHint':_0x4b4e97(0x173),'enableAuth':_0x4b4e97(0x16f),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x4b4e97(0x184),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x4b4e97(0x168),'configStepTitle':_0x4b4e97(0x17b),'configStep1':_0x4b4e97(0x188),'configStep2':_0x4b4e97(0x18f),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x4b4e97(0x186),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x4b4e97(0x194),'maxRetries':'Max\x20Retries','save':_0x4b4e97(0x197),'saving':_0x4b4e97(0x181),'note1':_0x4b4e97(0x170),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x4b4e97(0x18c),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x4b4e97(0x178),'description':_0x4b4e97(0x180),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x4b4e97(0x192)},'validation':{'apiKeyRequired':_0x4b4e97(0x16b),'apiKeyTooShort':_0x4b4e97(0x179),'invalidConfig':_0x4b4e97(0x198),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x4b4e97(0x191),'connecting':_0x4b4e97(0x17f),'connected':_0x4b4e97(0x189),'failed':_0x4b4e97(0x193),'retrying':_0x4b4e97(0x17e)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x4b4e97(0x172),'networkError':_0x4b4e97(0x18d),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};function _0x5659(_0x331292,_0x34204a){_0x331292=_0x331292-0x167;const _0x163751=_0x1637();let _0x56592f=_0x163751[_0x331292];return _0x56592f;}export{e as default};
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x39be38=_0x14f1;function _0x3bef(){const _0x58c96a=['6082784HSLrZk','MCP\x20Client\x20Configuration','MCP\x20Unknown\x20Status','Retrying...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','341jyETEY','Enable\x20authentication\x20for\x20secure\x20connections','Enter\x20your\x20API\x20key','Configuration\x20Parameters:','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Disconnected','API\x20key\x20with\x20Bearer\x20prefix.','API\x20key\x20is\x20required','2598337TXhCYd','Invalid\x20configuration','MCP:\x20Unauthorized','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','221934hYikRG','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Retrying...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20Session\x20ID\x20Occupied','What\x20is\x20API\x20Key?','Max\x20Retries','12917196Zwiedb','MCP\x20Connection\x20Failed','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','2fWSQXn','Univer\x20AI\x20Console','478808vjdUYv','MCP\x20Connecting...','MCP\x20Configuration','673420bzWtKh','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Get\x20your\x20API\x20key\x20in\x20seconds','175DdDpYm','Connected','Click\x20to\x20configure\x20MCP','Saving...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','1771188XtkpaI','32SqSDKP','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Save\x20Configuration','Enable\x20Authentication','Click\x20to\x20connect\x20MCP'];_0x3bef=function(){return _0x58c96a;};return _0x3bef();}(function(_0x4fe2b8,_0x87d9bb){const _0x1757e3=_0x14f1,_0x239064=_0x4fe2b8();while(!![]){try{const _0x49dd84=parseInt(_0x1757e3(0x1e1))/0x1*(-parseInt(_0x1757e3(0x1e3))/0x2)+-parseInt(_0x1757e3(0x1c0))/0x3+parseInt(_0x1757e3(0x1c6))/0x4+-parseInt(_0x1757e3(0x1ba))/0x5*(-parseInt(_0x1757e3(0x1d7))/0x6)+-parseInt(_0x1757e3(0x1d3))/0x7*(parseInt(_0x1757e3(0x1c1))/0x8)+-parseInt(_0x1757e3(0x1de))/0x9+-parseInt(_0x1757e3(0x1b7))/0xa*(-parseInt(_0x1757e3(0x1cb))/0xb);if(_0x49dd84===_0x87d9bb)break;else _0x239064['push'](_0x239064['shift']());}catch(_0x575979){_0x239064['push'](_0x239064['shift']());}}}(_0x3bef,0xdf125));function _0x14f1(_0x41f57e,_0x271ab0){_0x41f57e=_0x41f57e-0x1b7;const _0x3bef94=_0x3bef();let _0x14f1f1=_0x3bef94[_0x41f57e];return _0x14f1f1;}const e={'mcpStatus':{'disconnected':_0x39be38(0x1d0),'connecting':_0x39be38(0x1e4),'connected':'MCP\x20Connected','failed':_0x39be38(0x1df),'retrying':_0x39be38(0x1d9),'unknown':_0x39be38(0x1c8),'unauthorized':_0x39be38(0x1d5),'sessionOccupied':_0x39be38(0x1db),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x39be38(0x1c5),'clickToConfigure':_0x39be38(0x1bc)},'mcpConfig':{'title':_0x39be38(0x1e5),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0x39be38(0x1cd),'apiKeyHint':_0x39be38(0x1bf),'enableAuth':_0x39be38(0x1c4),'enableAuthHint':_0x39be38(0x1cc),'connectionInfo':_0x39be38(0x1c7),'mcpClientConfig':_0x39be38(0x1c7),'configInstructions':_0x39be38(0x1be),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x39be38(0x1cf),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x39be38(0x1c2),'authorizationDescription':_0x39be38(0x1d1),'configParameters':_0x39be38(0x1ce),'maxRetries':_0x39be38(0x1dd),'save':_0x39be38(0x1c3),'saving':_0x39be38(0x1bd),'note1':_0x39be38(0x1da),'note2':_0x39be38(0x1b8),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x39be38(0x1dc),'description':_0x39be38(0x1d6),'univerAiLabel':_0x39be38(0x1e2),'getStarted':_0x39be38(0x1b9)},'validation':{'apiKeyRequired':_0x39be38(0x1d2),'apiKeyTooShort':_0x39be38(0x1d8),'invalidConfig':_0x39be38(0x1d4),'invalidApiKey':_0x39be38(0x1e0)},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0x39be38(0x1bb),'failed':'Connection\x20Failed','retrying':_0x39be38(0x1c9)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x39be38(0x1ca),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x4cc4(){const _0x1fa16f=['6577952uEZtVS','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Failed\x20to\x20save\x20configuration','10586835iThVws','Session\x20ID','Univer\x20AI\x20Console','MCP\x20Connecting...','Disconnected','MCP:\x20Network\x20Error','Copy\x20the\x20JSON\x20configuration\x20below','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Connecting...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Save\x20Configuration','MCP\x20Client\x20Configuration','14692azYOZI','MCP\x20Connected','MCP\x20Unknown\x20Status','Configuration\x20Steps:','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Invalid\x20configuration','Configuration\x20saved\x20successfully','Saving...','MCP\x20Configuration','2241074MgXOjI','What\x20is\x20API\x20Key?','MCP:\x20Session\x20ID\x20Occupied','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Connection\x20Failed','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20Key','MCP\x20Retrying...','MCP\x20Connection\x20Failed','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','1UITMSL','1425hJJkRu','Enter\x20your\x20API\x20key','3519438ETbvJi','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','1472598elRxMn','Configuration\x20Parameters:','Enable\x20Authentication','Connected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','8152137DfiSDB','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','API\x20key\x20with\x20Bearer\x20prefix.','Max\x20Retries','Get\x20your\x20API\x20key\x20in\x20seconds','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Disconnected','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP:\x20Unauthorized'];_0x4cc4=function(){return _0x1fa16f;};return _0x4cc4();}const _0x187d4c=_0x4ffb;(function(_0xa15330,_0x2bcd7b){const _0x12e75a=_0x4ffb,_0x1ab054=_0xa15330();while(!![]){try{const _0x277acb=parseInt(_0x12e75a(0x18d))/0x1*(parseInt(_0x12e75a(0x183))/0x2)+parseInt(_0x12e75a(0x190))/0x3+-parseInt(_0x12e75a(0x1af))/0x4*(parseInt(_0x12e75a(0x18e))/0x5)+parseInt(_0x12e75a(0x192))/0x6+parseInt(_0x12e75a(0x197))/0x7+-parseInt(_0x12e75a(0x1a0))/0x8+-parseInt(_0x12e75a(0x1a3))/0x9;if(_0x277acb===_0x2bcd7b)break;else _0x1ab054['push'](_0x1ab054['shift']());}catch(_0x3b5925){_0x1ab054['push'](_0x1ab054['shift']());}}}(_0x4cc4,0xa0ba7));const e={'mcpStatus':{'disconnected':_0x187d4c(0x19d),'connecting':_0x187d4c(0x1a6),'connected':_0x187d4c(0x1b0),'failed':_0x187d4c(0x18b),'retrying':_0x187d4c(0x18a),'unknown':_0x187d4c(0x17b),'unauthorized':_0x187d4c(0x19f),'sessionOccupied':_0x187d4c(0x185),'networkError':_0x187d4c(0x1a8),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x187d4c(0x182),'description':_0x187d4c(0x188),'apiKey':_0x187d4c(0x189),'apiKeyPlaceholder':_0x187d4c(0x18f),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x187d4c(0x194),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x187d4c(0x1ae),'mcpClientConfig':_0x187d4c(0x1ae),'configInstructions':_0x187d4c(0x19e),'configStepTitle':_0x187d4c(0x17c),'configStep1':_0x187d4c(0x1a9),'configStep2':_0x187d4c(0x186),'configStep3':_0x187d4c(0x17e),'sessionId':_0x187d4c(0x1a4),'sessionIdDescription':_0x187d4c(0x198),'authorizationDescription':_0x187d4c(0x199),'configParameters':_0x187d4c(0x193),'maxRetries':_0x187d4c(0x19a),'save':_0x187d4c(0x1ad),'saving':_0x187d4c(0x181),'note1':_0x187d4c(0x17d),'note2':_0x187d4c(0x196),'configSaved':_0x187d4c(0x180),'configError':_0x187d4c(0x1a2),'apiApplyInfo':{'title':_0x187d4c(0x184),'description':_0x187d4c(0x191),'univerAiLabel':_0x187d4c(0x1a5),'getStarted':_0x187d4c(0x19b)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x187d4c(0x1ac),'invalidConfig':_0x187d4c(0x17f),'invalidApiKey':_0x187d4c(0x19c)},'connectionStatus':{'disconnected':_0x187d4c(0x1a7),'connecting':_0x187d4c(0x1ab),'connected':_0x187d4c(0x195),'failed':_0x187d4c(0x187),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x187d4c(0x18c),'sessionOccupied':_0x187d4c(0x1aa),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x187d4c(0x1a1)}}};function _0x4ffb(_0x4dc12d,_0x361d52){_0x4dc12d=_0x4dc12d-0x17b;const _0x4cc464=_0x4cc4();let _0x4ffbbb=_0x4cc464[_0x4dc12d];return _0x4ffbbb;}export{e as default};
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xb641b7=_0x12fa;function _0x42ac(){const _0x17535a=['Retrying...','Invalid\x20configuration','Max\x20Retries','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Connecting...','Connecting...','237435zRSOjz','Enter\x20your\x20API\x20key','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','144ASQBuH','MCP\x20Connection\x20Failed','What\x20is\x20API\x20Key?','Failed\x20to\x20save\x20configuration','MCP\x20Retrying...','63DltrDs','Session\x20ID','MCP:\x20Session\x20ID\x20Occupied','Click\x20to\x20configure\x20MCP','API\x20Key','20qsZxsn','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Connection\x20Failed','MCP\x20Configuration','Enable\x20Authentication','MCP\x20Client\x20Configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Univer\x20AI\x20Console','1367780pdyecH','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Unknown\x20Status','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Copy\x20the\x20JSON\x20configuration\x20below','479404PGnQIB','51245nKjcly','14TueXJK','MCP\x20Disconnected','509992aOozqP','API\x20key\x20is\x20required','1626309FUVQNb','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Configuration\x20Parameters:','6SaWWqu','Configuration\x20Steps:','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Save\x20Configuration','MCP:\x20Unauthorized','16662UzIRZQ','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Disconnected','Get\x20your\x20API\x20key\x20in\x20seconds','Connected','Configuration\x20saved\x20successfully'];_0x42ac=function(){return _0x17535a;};return _0x42ac();}(function(_0x1c4e25,_0x239beb){const _0x4b4377=_0x12fa,_0x1ca58a=_0x1c4e25();while(!![]){try{const _0x214f9e=parseInt(_0x4b4377(0x1d8))/0x1*(-parseInt(_0x4b4377(0x1d9))/0x2)+-parseInt(_0x4b4377(0x1e2))/0x3*(-parseInt(_0x4b4377(0x1d7))/0x4)+parseInt(_0x4b4377(0x1d2))/0x5+parseInt(_0x4b4377(0x1e7))/0x6*(parseInt(_0x4b4377(0x1c5))/0x7)+-parseInt(_0x4b4377(0x1db))/0x8+parseInt(_0x4b4377(0x1dd))/0x9*(parseInt(_0x4b4377(0x1ca))/0xa)+parseInt(_0x4b4377(0x1bd))/0xb*(-parseInt(_0x4b4377(0x1c0))/0xc);if(_0x214f9e===_0x239beb)break;else _0x1ca58a['push'](_0x1ca58a['shift']());}catch(_0x299186){_0x1ca58a['push'](_0x1ca58a['shift']());}}}(_0x42ac,0x35439));const e={'mcpStatus':{'disconnected':_0xb641b7(0x1da),'connecting':_0xb641b7(0x1bb),'connected':'MCP\x20Connected','failed':_0xb641b7(0x1c1),'retrying':_0xb641b7(0x1c4),'unknown':_0xb641b7(0x1d4),'unauthorized':_0xb641b7(0x1e6),'sessionOccupied':_0xb641b7(0x1c7),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0xb641b7(0x1c8)},'mcpConfig':{'title':_0xb641b7(0x1cd),'description':_0xb641b7(0x1d0),'apiKey':_0xb641b7(0x1c9),'apiKeyPlaceholder':_0xb641b7(0x1be),'apiKeyHint':_0xb641b7(0x1bf),'enableAuth':_0xb641b7(0x1ce),'enableAuthHint':_0xb641b7(0x1d3),'connectionInfo':_0xb641b7(0x1cf),'mcpClientConfig':_0xb641b7(0x1cf),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0xb641b7(0x1e3),'configStep1':_0xb641b7(0x1d6),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0xb641b7(0x1e0),'sessionId':_0xb641b7(0x1c6),'sessionIdDescription':_0xb641b7(0x1cb),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0xb641b7(0x1e1),'maxRetries':_0xb641b7(0x1b9),'save':_0xb641b7(0x1e5),'saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0xb641b7(0x1ec),'configError':_0xb641b7(0x1c3),'apiApplyInfo':{'title':_0xb641b7(0x1c2),'description':_0xb641b7(0x1e4),'univerAiLabel':_0xb641b7(0x1d1),'getStarted':_0xb641b7(0x1ea)},'validation':{'apiKeyRequired':_0xb641b7(0x1dc),'apiKeyTooShort':_0xb641b7(0x1df),'invalidConfig':_0xb641b7(0x1ee),'invalidApiKey':_0xb641b7(0x1e8)},'connectionStatus':{'disconnected':_0xb641b7(0x1e9),'connecting':_0xb641b7(0x1bc),'connected':_0xb641b7(0x1eb),'failed':_0xb641b7(0x1cc),'retrying':_0xb641b7(0x1ed)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0xb641b7(0x1de),'networkError':_0xb641b7(0x1d5),'maxRetriesExceeded':_0xb641b7(0x1ba)}}};function _0x12fa(_0xc6e726,_0x307f67){_0xc6e726=_0xc6e726-0x1b9;const _0x42acc0=_0x42ac();let _0x12faec=_0x42acc0[_0xc6e726];return _0x12faec;}export{e as default};
|
package/lib/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x5671(_0x36852b,_0x4736ae){_0x36852b=_0x36852b-0x14c;const _0x568b81=_0x568b();let _0x5671b4=_0x568b81[_0x36852b];return _0x5671b4;}const _0x10e1ab=_0x5671;(function(_0x53b994,_0x170c3b){const _0x560ef4=_0x5671,_0x1b0df6=_0x53b994();while(!![]){try{const _0x1ce24a=parseInt(_0x560ef4(0x15a))/0x1+parseInt(_0x560ef4(0x165))/0x2*(-parseInt(_0x560ef4(0x16b))/0x3)+-parseInt(_0x560ef4(0x15f))/0x4*(-parseInt(_0x560ef4(0x159))/0x5)+parseInt(_0x560ef4(0x178))/0x6+parseInt(_0x560ef4(0x14c))/0x7*(-parseInt(_0x560ef4(0x160))/0x8)+-parseInt(_0x560ef4(0x14d))/0x9*(-parseInt(_0x560ef4(0x168))/0xa)+parseInt(_0x560ef4(0x15d))/0xb;if(_0x1ce24a===_0x170c3b)break;else _0x1b0df6['push'](_0x1b0df6['shift']());}catch(_0x21095e){_0x1b0df6['push'](_0x1b0df6['shift']());}}}(_0x568b,0xd5f75));function _0x568b(){const _0x4e4195=['最大再試行回数','MCP\x20不明な状態','未接続','MCP:\x20セッションIDが使用中','ネットワーク接続エラー。インターネット接続を確認してください','接続中...','保存中...','133YtPeIg','28413zFtqho','APIキーは10文字以上である必要があります','MCP設定','無効なAPIキーです。キーが正しいか確認してください','設定の変更は直ちに有効になります','接続失敗','無効な設定','MCP\x20再試行中...','一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','MCP\x20接続中...','APIキーはこのブラウザのローカルに保存されます','Bearerプレフィックス付きのAPIキー。','328410hxhKyx','37974GsVrVn','MCP\x20接続失敗','MCP:\x20最大再試行回数を超過','6652657WPEBit','APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','4mXpfod','515024tOUMHx','設定の保存に失敗しました','APIキーとは?','数秒でAPIキーを取得','MCP\x20未接続','414006cBmtTv','認証に失敗しました。APIキーを確認してください','最大再試行回数を超過しました。後でもう一度お試しください','5020sAHOKb','セッションID','MCP:\x20ネットワークエラー','3LqjJER','MCP\x20接続済み','認証を有効にする','設定が正常に保存されました','設定を保存','設定パラメータ:','MCPクライアントを再起動して設定を適用','MCPを設定してAIでスプレッドシートを操作','APIキー','設定手順:','セキュアな接続のために認証を有効にする','MCPクライアントの設定ファイルに設定を追加','クリックしてMCPを設定','79998gUcYvA','接続済み','以下のJSON設定をコピー'];_0x568b=function(){return _0x4e4195;};return _0x568b();}const e={'mcpStatus':{'disconnected':_0x10e1ab(0x164),'connecting':_0x10e1ab(0x156),'connected':_0x10e1ab(0x16c),'failed':_0x10e1ab(0x15b),'retrying':_0x10e1ab(0x154),'unknown':_0x10e1ab(0x17c),'unauthorized':'MCP:\x20認証されていません','sessionOccupied':_0x10e1ab(0x17e),'networkError':_0x10e1ab(0x16a),'maxRetriesExceeded':_0x10e1ab(0x15c),'clickToConnect':'クリックしてMCPに接続','clickToConfigure':_0x10e1ab(0x177)},'mcpConfig':{'title':_0x10e1ab(0x14f),'description':_0x10e1ab(0x172),'apiKey':_0x10e1ab(0x173),'apiKeyPlaceholder':'APIキーを入力してください','apiKeyHint':_0x10e1ab(0x157),'enableAuth':_0x10e1ab(0x16d),'enableAuthHint':_0x10e1ab(0x175),'connectionInfo':'MCPクライアント設定','mcpClientConfig':'MCPクライアント設定','configInstructions':'MCPクライアントの設定に次の設定を追加してください:','configStepTitle':_0x10e1ab(0x174),'configStep1':_0x10e1ab(0x17a),'configStep2':_0x10e1ab(0x176),'configStep3':_0x10e1ab(0x171),'sessionId':_0x10e1ab(0x169),'sessionIdDescription':_0x10e1ab(0x155),'authorizationDescription':_0x10e1ab(0x158),'configParameters':_0x10e1ab(0x170),'maxRetries':_0x10e1ab(0x17b),'save':_0x10e1ab(0x16f),'saving':_0x10e1ab(0x181),'note1':_0x10e1ab(0x151),'note2':'APIキーはローカルストレージに安全に保存されます','configSaved':_0x10e1ab(0x16e),'configError':_0x10e1ab(0x161),'apiApplyInfo':{'title':_0x10e1ab(0x162),'description':_0x10e1ab(0x15e),'univerAiLabel':'Univer\x20AIコンソール','getStarted':_0x10e1ab(0x163)},'validation':{'apiKeyRequired':'APIキーは必須です','apiKeyTooShort':_0x10e1ab(0x14e),'invalidConfig':_0x10e1ab(0x153),'invalidApiKey':_0x10e1ab(0x150)},'connectionStatus':{'disconnected':_0x10e1ab(0x17d),'connecting':_0x10e1ab(0x180),'connected':_0x10e1ab(0x179),'failed':_0x10e1ab(0x152),'retrying':'再試行中...'},'connectionError':{'unauthorized':_0x10e1ab(0x166),'sessionOccupied':'セッションIDが現在使用中です。後でもう一度お試しください','networkError':_0x10e1ab(0x17f),'maxRetriesExceeded':_0x10e1ab(0x167)}}};export{e as default};
|
package/lib/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x5267af=_0x5a56;(function(_0x4ea664,_0x536831){const _0x117ad8=_0x5a56,_0x115e14=_0x4ea664();while(!![]){try{const _0x20ad7b=parseInt(_0x117ad8(0x1a0))/0x1+-parseInt(_0x117ad8(0x1a4))/0x2*(parseInt(_0x117ad8(0x1ad))/0x3)+parseInt(_0x117ad8(0x1aa))/0x4*(parseInt(_0x117ad8(0x194))/0x5)+parseInt(_0x117ad8(0x19c))/0x6*(parseInt(_0x117ad8(0x18f))/0x7)+-parseInt(_0x117ad8(0x18d))/0x8+-parseInt(_0x117ad8(0x197))/0x9+parseInt(_0x117ad8(0x1be))/0xa*(parseInt(_0x117ad8(0x1a3))/0xb);if(_0x20ad7b===_0x536831)break;else _0x115e14['push'](_0x115e14['shift']());}catch(_0x437cc7){_0x115e14['push'](_0x115e14['shift']());}}}(_0x2bb3,0x9f433));const e={'mcpStatus':{'disconnected':_0x5267af(0x1a6),'connecting':_0x5267af(0x1b4),'connected':_0x5267af(0x198),'failed':_0x5267af(0x1b1),'retrying':_0x5267af(0x19a),'unknown':_0x5267af(0x1b9),'unauthorized':'MCP:\x20인증되지\x20않음','sessionOccupied':_0x5267af(0x1ac),'networkError':_0x5267af(0x1a7),'maxRetriesExceeded':_0x5267af(0x19f),'clickToConnect':'클릭하여\x20MCP\x20연결','clickToConfigure':_0x5267af(0x19d)},'mcpConfig':{'title':_0x5267af(0x18c),'description':'AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','apiKey':_0x5267af(0x199),'apiKeyPlaceholder':'API\x20키를\x20입력하세요','apiKeyHint':_0x5267af(0x1a8),'enableAuth':_0x5267af(0x1ba),'enableAuthHint':_0x5267af(0x191),'connectionInfo':_0x5267af(0x1b7),'mcpClientConfig':_0x5267af(0x1b7),'configInstructions':_0x5267af(0x18e),'configStepTitle':_0x5267af(0x1b8),'configStep1':_0x5267af(0x1b3),'configStep2':'MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','configStep3':'MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','sessionId':'세션\x20ID','sessionIdDescription':_0x5267af(0x195),'authorizationDescription':_0x5267af(0x1b2),'configParameters':_0x5267af(0x1af),'maxRetries':'최대\x20재시도\x20횟수','save':_0x5267af(0x190),'saving':'저장\x20중...','note1':_0x5267af(0x1b6),'note2':_0x5267af(0x1ae),'configSaved':_0x5267af(0x19b),'configError':'설정\x20저장\x20실패','apiApplyInfo':{'title':_0x5267af(0x19e),'description':_0x5267af(0x1ab),'univerAiLabel':_0x5267af(0x196),'getStarted':_0x5267af(0x192)},'validation':{'apiKeyRequired':_0x5267af(0x1a9),'apiKeyTooShort':_0x5267af(0x1bd),'invalidConfig':_0x5267af(0x1a1),'invalidApiKey':_0x5267af(0x1b0)},'connectionStatus':{'disconnected':_0x5267af(0x193),'connecting':'연결\x20중...','connected':_0x5267af(0x1b5),'failed':_0x5267af(0x1a2),'retrying':'재시도\x20중...'},'connectionError':{'unauthorized':_0x5267af(0x1bc),'sessionOccupied':'세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','networkError':_0x5267af(0x1a5),'maxRetriesExceeded':_0x5267af(0x1bb)}}};function _0x2bb3(){const _0x1c1237=['3521988fdPOpK','MCP\x20연결됨','API\x20키','MCP\x20재시도\x20중...','설정이\x20성공적으로\x20저장되었습니다','6ZSVjUi','클릭하여\x20MCP\x20설정','API\x20키란\x20무엇인가요?','MCP:\x20최대\x20재시도\x20횟수\x20초과','668085BaKFiR','유효하지\x20않은\x20설정','연결\x20실패','7363477ihgvUZ','6918bUdEMc','네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','MCP\x20연결\x20끊김','MCP:\x20네트워크\x20오류','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','API\x20키는\x20필수입니다','7260ISkroJ','API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','MCP:\x20세션\x20ID\x20사용\x20중','291DDdtJi','API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','설정\x20매개변수:','유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요','MCP\x20연결\x20실패','Bearer\x20접두사가\x20있는\x20API\x20키.','아래\x20JSON\x20설정\x20복사','MCP\x20연결\x20중...','연결됨','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','MCP\x20클라이언트\x20설정','설정\x20단계:','MCP\x20알\x20수\x20없는\x20상태','인증\x20활성화','최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요','인증\x20실패.\x20API\x20키를\x20확인하세요','API\x20키는\x2010자\x20이상이어야\x20합니다','10RhaLHo','MCP\x20설정','5253328CZwlgG','MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','4520131pjddRh','설정\x20저장','보안\x20연결을\x20위해\x20인증\x20활성화','몇\x20초\x20만에\x20API\x20키\x20발급받기','연결\x20끊김','145TImmOS','고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','Univer\x20AI\x20콘솔'];_0x2bb3=function(){return _0x1c1237;};return _0x2bb3();}function _0x5a56(_0x38a04e,_0x2da2ec){_0x38a04e=_0x38a04e-0x18c;const _0x2bb38b=_0x2bb3();let _0x5a562a=_0x2bb38b[_0x38a04e];return _0x5a562a;}export{e as default};
|