@univerjs-pro/mcp-ui 0.10.8 → 0.10.9-experimental.20250925-61b61a0

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.
Files changed (50) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ca-ES.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/es-ES.js +1 -1
  5. package/lib/cjs/locale/fa-IR.js +1 -1
  6. package/lib/cjs/locale/fr-FR.js +1 -1
  7. package/lib/cjs/locale/ko-KR.js +1 -1
  8. package/lib/cjs/locale/ru-RU.js +1 -1
  9. package/lib/cjs/locale/vi-VN.js +1 -1
  10. package/lib/cjs/locale/zh-CN.js +1 -1
  11. package/lib/cjs/locale/zh-TW.js +1 -1
  12. package/lib/es/index.js +1 -1
  13. package/lib/es/locale/ca-ES.js +1 -1
  14. package/lib/es/locale/en-US.js +1 -1
  15. package/lib/es/locale/es-ES.js +1 -1
  16. package/lib/es/locale/fa-IR.js +1 -1
  17. package/lib/es/locale/fr-FR.js +1 -1
  18. package/lib/es/locale/ko-KR.js +1 -1
  19. package/lib/es/locale/ru-RU.js +1 -1
  20. package/lib/es/locale/vi-VN.js +1 -1
  21. package/lib/es/locale/zh-CN.js +1 -1
  22. package/lib/es/locale/zh-TW.js +1 -1
  23. package/lib/index.js +1 -1
  24. package/lib/locale/ca-ES.js +1 -1
  25. package/lib/locale/en-US.js +1 -1
  26. package/lib/locale/es-ES.js +1 -1
  27. package/lib/locale/fa-IR.js +1 -1
  28. package/lib/locale/fr-FR.js +1 -1
  29. package/lib/locale/ko-KR.js +1 -1
  30. package/lib/locale/ru-RU.js +1 -1
  31. package/lib/locale/vi-VN.js +1 -1
  32. package/lib/locale/zh-CN.js +1 -1
  33. package/lib/locale/zh-TW.js +1 -1
  34. package/lib/types/controllers/config.schema.d.ts +7 -0
  35. package/lib/types/controllers/mcp-connection-ui.controller.d.ts +4 -2
  36. package/lib/types/locale/en-US.d.ts +2 -4
  37. package/lib/types/locale/zh-CN.d.ts +2 -4
  38. package/lib/types/views/components/mcp-status.d.ts +2 -0
  39. package/lib/umd/index.js +1 -1
  40. package/lib/umd/locale/ca-ES.js +1 -1
  41. package/lib/umd/locale/en-US.js +1 -1
  42. package/lib/umd/locale/es-ES.js +1 -1
  43. package/lib/umd/locale/fa-IR.js +1 -1
  44. package/lib/umd/locale/fr-FR.js +1 -1
  45. package/lib/umd/locale/ko-KR.js +1 -1
  46. package/lib/umd/locale/ru-RU.js +1 -1
  47. package/lib/umd/locale/vi-VN.js +1 -1
  48. package/lib/umd/locale/zh-CN.js +1 -1
  49. package/lib/umd/locale/zh-TW.js +1 -1
  50. package/package.json +8 -8
@@ -1 +1 @@
1
- const _0x202277=_0x4616;(function(_0x52321c,_0x531e31){const _0x5997bb=_0x4616,_0x43dd0d=_0x52321c();while(!![]){try{const _0x19d947=parseInt(_0x5997bb(0x1aa))/0x1*(parseInt(_0x5997bb(0x1c7))/0x2)+-parseInt(_0x5997bb(0x1be))/0x3*(-parseInt(_0x5997bb(0x1a8))/0x4)+parseInt(_0x5997bb(0x1bb))/0x5+parseInt(_0x5997bb(0x1a5))/0x6+-parseInt(_0x5997bb(0x1b7))/0x7*(-parseInt(_0x5997bb(0x1b3))/0x8)+-parseInt(_0x5997bb(0x1b4))/0x9+-parseInt(_0x5997bb(0x19c))/0xa;if(_0x19d947===_0x531e31)break;else _0x43dd0d['push'](_0x43dd0d['shift']());}catch(_0x3c2b95){_0x43dd0d['push'](_0x43dd0d['shift']());}}}(_0x2216,0xc25ff));const e={'mcpStatus':{'disconnected':_0x202277(0x1b6),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0x202277(0x1c9),'retrying':_0x202277(0x19f),'unknown':_0x202277(0x1a1),'missingApiKey':_0x202277(0x1b9),'invalidApiKey':_0x202277(0x1a2),'sessionOccupied':_0x202277(0x1b1),'networkError':_0x202277(0x1ba),'maxRetriesExceeded':_0x202277(0x1ac),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x202277(0x1a7)},'mcpConfig':{'title':_0x202277(0x1b5),'description':_0x202277(0x1c2),'apiKey':_0x202277(0x1bc),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x202277(0x1b8),'enableAuthHint':_0x202277(0x1a6),'connectionInfo':_0x202277(0x1c8),'mcpClientConfig':_0x202277(0x1c8),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x202277(0x1ca),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x202277(0x1a4),'authorizationDescription':_0x202277(0x1c1),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x202277(0x1ab),'save':_0x202277(0x1bf),'saving':_0x202277(0x1a3),'note1':_0x202277(0x1b2),'note2':_0x202277(0x1af),'configSaved':_0x202277(0x1c3),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x202277(0x19d),'description':_0x202277(0x1ad),'univerAiLabel':_0x202277(0x1cb),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x202277(0x1a9),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x202277(0x1c4),'invalidApiKey':_0x202277(0x19e)},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':_0x202277(0x1c6),'failed':_0x202277(0x1a0),'retrying':_0x202277(0x1c5)},'connectionError':{'missingApiKey':_0x202277(0x1cc),'invalidApiKey':_0x202277(0x1b0),'sessionOccupied':_0x202277(0x1ae),'networkError':_0x202277(0x1c0),'maxRetriesExceeded':_0x202277(0x1bd)}}},n=e;export{n as default};function _0x4616(_0x9f1698,_0x34d276){const _0x221607=_0x2216();return _0x4616=function(_0x46162e,_0x4371bc){_0x46162e=_0x46162e-0x19c;let _0x493550=_0x221607[_0x46162e];return _0x493550;},_0x4616(_0x9f1698,_0x34d276);}function _0x2216(){const _0xbc31c6=['67112YOeRsi','1563273PyncRX','MCP\x20Configuration','MCP\x20Disconnected','700XDfxCH','Enable\x20Authentication','MCP:\x20API\x20Key\x20Missing','MCP:\x20Network\x20Error','1992825BlamVm','API\x20Key','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','78QfeLrs','Save\x20Configuration','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20key\x20with\x20Bearer\x20prefix.','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Configuration\x20saved\x20successfully','Invalid\x20configuration','Retrying...','Connected','1514MdBGaa','MCP\x20Client\x20Configuration','MCP\x20Connection\x20Failed','Configuration\x20Steps:','Univer\x20AI\x20Console','API\x20key\x20is\x20required\x20to\x20connect','28198860SIxdHI','What\x20is\x20API\x20Key?','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Retrying...','Connection\x20Failed','MCP\x20Unknown\x20Status','MCP:\x20Invalid\x20API\x20Key','Saving...','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','3437928sQpgAa','Enable\x20authentication\x20for\x20secure\x20connections','Click\x20to\x20configure\x20MCP','112228nnJoFf','API\x20key\x20is\x20required','1651xEELHM','Max\x20Retries','MCP:\x20Max\x20Retries\x20Exceeded','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','MCP:\x20Session\x20Occupied','Configuration\x20changes\x20will\x20take\x20effect\x20immediately'];_0x2216=function(){return _0xbc31c6;};return _0x2216();}
1
+ function _0x39b0(_0x5d7650,_0x479930){const _0x4de9be=_0x4de9();return _0x39b0=function(_0x39b07e,_0x17fcb2){_0x39b07e=_0x39b07e-0x179;let _0x5eb6f3=_0x4de9be[_0x39b07e];return _0x5eb6f3;},_0x39b0(_0x5d7650,_0x479930);}const _0x2e7ac9=_0x39b0;(function(_0x184769,_0x4b7053){const _0x21be8b=_0x39b0,_0x2be96c=_0x184769();while(!![]){try{const _0x3f1db0=parseInt(_0x21be8b(0x1a2))/0x1+-parseInt(_0x21be8b(0x180))/0x2+parseInt(_0x21be8b(0x195))/0x3+parseInt(_0x21be8b(0x188))/0x4*(parseInt(_0x21be8b(0x190))/0x5)+parseInt(_0x21be8b(0x18d))/0x6+parseInt(_0x21be8b(0x17e))/0x7+-parseInt(_0x21be8b(0x18a))/0x8;if(_0x3f1db0===_0x4b7053)break;else _0x2be96c['push'](_0x2be96c['shift']());}catch(_0x20cf60){_0x2be96c['push'](_0x2be96c['shift']());}}}(_0x4de9,0x7f2a3));const e={'mcpStatus':{'disconnected':_0x2e7ac9(0x199),'connecting':_0x2e7ac9(0x196),'connected':_0x2e7ac9(0x17f),'failed':_0x2e7ac9(0x17c),'retrying':'MCP\x20Retrying...','unknown':_0x2e7ac9(0x18e),'unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x2e7ac9(0x184),'networkError':_0x2e7ac9(0x17b),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x2e7ac9(0x198),'clickToConfigure':_0x2e7ac9(0x19b)},'mcpConfig':{'title':_0x2e7ac9(0x1a0),'description':_0x2e7ac9(0x186),'apiKey':_0x2e7ac9(0x1a6),'apiKeyPlaceholder':_0x2e7ac9(0x1a3),'apiKeyHint':_0x2e7ac9(0x183),'enableAuth':_0x2e7ac9(0x1a9),'enableAuthHint':_0x2e7ac9(0x18c),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x2e7ac9(0x181),'configStepTitle':_0x2e7ac9(0x194),'configStep1':_0x2e7ac9(0x191),'configStep2':_0x2e7ac9(0x1aa),'configStep3':_0x2e7ac9(0x19c),'sessionId':_0x2e7ac9(0x1a1),'sessionIdDescription':_0x2e7ac9(0x193),'authorizationDescription':_0x2e7ac9(0x19e),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x2e7ac9(0x19f),'save':_0x2e7ac9(0x187),'saving':'Saving...','note1':_0x2e7ac9(0x1a5),'note2':_0x2e7ac9(0x18f),'configSaved':_0x2e7ac9(0x182),'configError':_0x2e7ac9(0x185),'apiApplyInfo':{'title':_0x2e7ac9(0x1a4),'description':_0x2e7ac9(0x189),'univerAiLabel':_0x2e7ac9(0x192),'getStarted':_0x2e7ac9(0x1a7)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x2e7ac9(0x17d),'invalidConfig':_0x2e7ac9(0x179),'invalidApiKey':_0x2e7ac9(0x1a8)},'connectionStatus':{'disconnected':_0x2e7ac9(0x18b),'connecting':_0x2e7ac9(0x197),'connected':_0x2e7ac9(0x19d),'failed':_0x2e7ac9(0x17a),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x2e7ac9(0x19a),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;function _0x4de9(){const _0x57240a=['Invalid\x20configuration','Connection\x20Failed','MCP:\x20Network\x20Error','MCP\x20Connection\x20Failed','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','7053438vGLhhu','MCP\x20Connected','445312zjcVEE','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Configuration\x20saved\x20successfully','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20Session\x20ID\x20Occupied','Failed\x20to\x20save\x20configuration','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Save\x20Configuration','1155508AFIEfr','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','21671048GAXUZf','Disconnected','Enable\x20authentication\x20for\x20secure\x20connections','2647422nRHkMr','MCP\x20Unknown\x20Status','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','15DLTlNv','Copy\x20the\x20JSON\x20configuration\x20below','Univer\x20AI\x20Console','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Configuration\x20Steps:','2631102IxNClp','MCP\x20Connecting...','Connecting...','Click\x20to\x20connect\x20MCP','MCP\x20Disconnected','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Click\x20to\x20configure\x20MCP','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Connected','API\x20key\x20with\x20Bearer\x20prefix.','Max\x20Retries','MCP\x20Configuration','Session\x20ID','259868boksug','Enter\x20your\x20API\x20key','What\x20is\x20API\x20Key?','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20Key','Get\x20your\x20API\x20key\x20in\x20seconds','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Enable\x20Authentication','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file'];_0x4de9=function(){return _0x57240a;};return _0x4de9();}export{n as default};
@@ -1 +1 @@
1
- const _0x4a3469=_0x4484;(function(_0x3599f2,_0x4371a5){const _0x1bf9b7=_0x4484,_0x232460=_0x3599f2();while(!![]){try{const _0x2fd96d=-parseInt(_0x1bf9b7(0xb9))/0x1+-parseInt(_0x1bf9b7(0xab))/0x2*(-parseInt(_0x1bf9b7(0xb0))/0x3)+parseInt(_0x1bf9b7(0xcd))/0x4*(-parseInt(_0x1bf9b7(0xbc))/0x5)+parseInt(_0x1bf9b7(0xb8))/0x6+parseInt(_0x1bf9b7(0xc8))/0x7*(-parseInt(_0x1bf9b7(0xb2))/0x8)+-parseInt(_0x1bf9b7(0xc0))/0x9+parseInt(_0x1bf9b7(0xa2))/0xa;if(_0x2fd96d===_0x4371a5)break;else _0x232460['push'](_0x232460['shift']());}catch(_0x58a6f1){_0x232460['push'](_0x232460['shift']());}}}(_0x222f,0x2eeab));function _0x4484(_0x331525,_0x487609){const _0x222fd1=_0x222f();return _0x4484=function(_0x4484e4,_0x1aaa87){_0x4484e4=_0x4484e4-0xa2;let _0x4ec242=_0x222fd1[_0x4484e4];return _0x4ec242;},_0x4484(_0x331525,_0x487609);}const e={'mcpStatus':{'disconnected':_0x4a3469(0xcc),'connecting':_0x4a3469(0xb5),'connected':_0x4a3469(0xa3),'failed':_0x4a3469(0xba),'retrying':_0x4a3469(0xd2),'unknown':'MCP\x20Unknown\x20Status','missingApiKey':_0x4a3469(0xac),'invalidApiKey':'MCP:\x20Invalid\x20API\x20Key','sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x4a3469(0xb3),'maxRetriesExceeded':_0x4a3469(0xcb),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x4a3469(0xb6),'description':_0x4a3469(0xbf),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x4a3469(0xa5),'apiKeyHint':_0x4a3469(0xd3),'enableAuth':_0x4a3469(0xd0),'enableAuthHint':_0x4a3469(0xaf),'connectionInfo':_0x4a3469(0xca),'mcpClientConfig':_0x4a3469(0xca),'configInstructions':_0x4a3469(0xd1),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x4a3469(0xa7),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x4a3469(0xb1),'sessionId':'Session\x20ID','sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x4a3469(0xc5),'configParameters':_0x4a3469(0xaa),'maxRetries':_0x4a3469(0xb4),'save':_0x4a3469(0xc1),'saving':_0x4a3469(0xa6),'note1':_0x4a3469(0xb7),'note2':_0x4a3469(0xc6),'configSaved':_0x4a3469(0xbb),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x4a3469(0xad),'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':_0x4a3469(0xc2),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x4a3469(0xa4),'invalidConfig':_0x4a3469(0xc3),'invalidApiKey':_0x4a3469(0xc4)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x4a3469(0xc9),'connected':_0x4a3469(0xce),'failed':_0x4a3469(0xbd),'retrying':_0x4a3469(0xcf)},'connectionError':{'missingApiKey':_0x4a3469(0xae),'invalidApiKey':_0x4a3469(0xc7),'sessionOccupied':_0x4a3469(0xbe),'networkError':_0x4a3469(0xa8),'maxRetriesExceeded':_0x4a3469(0xa9)}}},n=e;function _0x222f(){const _0x4a003c=['Retrying...','Enable\x20Authentication','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Retrying...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','7098820xnMVMi','MCP\x20Connected','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Enter\x20your\x20API\x20key','Saving...','Copy\x20the\x20JSON\x20configuration\x20below','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Configuration\x20Parameters:','138kbZdkF','MCP:\x20API\x20Key\x20Missing','What\x20is\x20API\x20Key?','API\x20key\x20is\x20required\x20to\x20connect','Enable\x20authentication\x20for\x20secure\x20connections','16683HhffQc','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','417832JNXqgb','MCP:\x20Network\x20Error','Max\x20Retries','MCP\x20Connecting...','MCP\x20Configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','1072938ABGSHB','246125UHedeG','MCP\x20Connection\x20Failed','Configuration\x20saved\x20successfully','40uGNnpY','Connection\x20Failed','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','3245571buxhiU','Save\x20Configuration','Univer\x20AI\x20Console','Invalid\x20configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20key\x20with\x20Bearer\x20prefix.','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','49fmHkKi','Connecting...','MCP\x20Client\x20Configuration','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Disconnected','53948tSgrWb','Connected'];_0x222f=function(){return _0x4a003c;};return _0x222f();}export{n as default};
1
+ function _0x13e4(){const _0x17099e=['MCP\x20Retrying...','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','393828AmzYgX','Connected','627333VqaFaL','Click\x20to\x20connect\x20MCP','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','372wjFKEH','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','1682144qzouJo','MCP\x20Connecting...','1155YWotNR','Save\x20Configuration','Univer\x20AI\x20Console','MCP\x20Connected','Retrying...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20Max\x20Retries\x20Exceeded','MCP:\x20Network\x20Error','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Get\x20your\x20API\x20key\x20in\x20seconds','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP:\x20Session\x20ID\x20Occupied','2yWdYlO','2423592ceDmAF','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','API\x20Key','Saving...','MCP\x20Unknown\x20Status','9NrkYcE','80kylJJQ','Session\x20ID','MCP\x20Connection\x20Failed','Failed\x20to\x20save\x20configuration','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Configuration','Connection\x20Failed','Enable\x20authentication\x20for\x20secure\x20connections','Click\x20to\x20configure\x20MCP','369829UAGkgM','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Configuration\x20Parameters:','MCP\x20Client\x20Configuration','10230410sQtixD','Disconnected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Enable\x20Authentication','16345zZmoEJ','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP:\x20Unauthorized','Configuration\x20saved\x20successfully','Configuration\x20Steps:','Copy\x20the\x20JSON\x20configuration\x20below','Invalid\x20configuration'];_0x13e4=function(){return _0x17099e;};return _0x13e4();}function _0x3842(_0x40aa7a,_0x2218d5){const _0x13e415=_0x13e4();return _0x3842=function(_0x38429e,_0x205223){_0x38429e=_0x38429e-0x125;let _0xbf14fd=_0x13e415[_0x38429e];return _0xbf14fd;},_0x3842(_0x40aa7a,_0x2218d5);}const _0x5ef725=_0x3842;(function(_0x4efc5e,_0x53314c){const _0x33cd8e=_0x3842,_0x35fb01=_0x4efc5e();while(!![]){try{const _0x355632=parseInt(_0x33cd8e(0x13a))/0x1*(-parseInt(_0x33cd8e(0x12a))/0x2)+-parseInt(_0x33cd8e(0x12b))/0x3+parseInt(_0x33cd8e(0x153))/0x4+parseInt(_0x33cd8e(0x142))/0x5*(-parseInt(_0x33cd8e(0x151))/0x6)+-parseInt(_0x33cd8e(0x14d))/0x7*(parseInt(_0x33cd8e(0x131))/0x8)+parseInt(_0x33cd8e(0x130))/0x9*(-parseInt(_0x33cd8e(0x13e))/0xa)+parseInt(_0x33cd8e(0x155))/0xb*(parseInt(_0x33cd8e(0x14b))/0xc);if(_0x355632===_0x53314c)break;else _0x35fb01['push'](_0x35fb01['shift']());}catch(_0x284ce3){_0x35fb01['push'](_0x35fb01['shift']());}}}(_0x13e4,0x8a691));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x5ef725(0x154),'connected':_0x5ef725(0x158),'failed':_0x5ef725(0x133),'retrying':_0x5ef725(0x149),'unknown':_0x5ef725(0x12f),'unauthorized':_0x5ef725(0x144),'sessionOccupied':_0x5ef725(0x129),'networkError':_0x5ef725(0x125),'maxRetriesExceeded':_0x5ef725(0x15b),'clickToConnect':_0x5ef725(0x14e),'clickToConfigure':_0x5ef725(0x139)},'mcpConfig':{'title':_0x5ef725(0x136),'description':_0x5ef725(0x14f),'apiKey':_0x5ef725(0x12d),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x5ef725(0x15a),'enableAuth':_0x5ef725(0x141),'enableAuthHint':_0x5ef725(0x138),'connectionInfo':_0x5ef725(0x13d),'mcpClientConfig':_0x5ef725(0x13d),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x5ef725(0x146),'configStep1':_0x5ef725(0x147),'configStep2':_0x5ef725(0x14a),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x5ef725(0x132),'sessionIdDescription':_0x5ef725(0x135),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x5ef725(0x13c),'maxRetries':'Max\x20Retries','save':_0x5ef725(0x156),'saving':_0x5ef725(0x12e),'note1':_0x5ef725(0x12c),'note2':_0x5ef725(0x140),'configSaved':_0x5ef725(0x145),'configError':_0x5ef725(0x134),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x5ef725(0x150),'univerAiLabel':_0x5ef725(0x157),'getStarted':_0x5ef725(0x127)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x5ef725(0x128),'invalidConfig':_0x5ef725(0x148),'invalidApiKey':_0x5ef725(0x126)},'connectionStatus':{'disconnected':_0x5ef725(0x13f),'connecting':'Connecting...','connected':_0x5ef725(0x14c),'failed':_0x5ef725(0x137),'retrying':_0x5ef725(0x159)},'connectionError':{'unauthorized':_0x5ef725(0x152),'sessionOccupied':_0x5ef725(0x143),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x5ef725(0x13b)}}},n=e;export{n as default};
@@ -1 +1 @@
1
- function _0x35e9(_0x380b04,_0x1914e9){const _0xfd26ee=_0xfd26();return _0x35e9=function(_0x35e950,_0x1b9fee){_0x35e950=_0x35e950-0x7d;let _0x2ea801=_0xfd26ee[_0x35e950];return _0x2ea801;},_0x35e9(_0x380b04,_0x1914e9);}const _0x48e0d4=_0x35e9;(function(_0x4e9aa6,_0x5d2f7b){const _0x1a586d=_0x35e9,_0x208fe0=_0x4e9aa6();while(!![]){try{const _0x57c0c6=parseInt(_0x1a586d(0x89))/0x1+parseInt(_0x1a586d(0xa2))/0x2*(-parseInt(_0x1a586d(0x8f))/0x3)+parseInt(_0x1a586d(0x82))/0x4+-parseInt(_0x1a586d(0x95))/0x5+-parseInt(_0x1a586d(0x9d))/0x6*(parseInt(_0x1a586d(0x9a))/0x7)+-parseInt(_0x1a586d(0x9f))/0x8+parseInt(_0x1a586d(0x8d))/0x9;if(_0x57c0c6===_0x5d2f7b)break;else _0x208fe0['push'](_0x208fe0['shift']());}catch(_0x58f7fc){_0x208fe0['push'](_0x208fe0['shift']());}}}(_0xfd26,0xe369a));const e={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':_0x48e0d4(0x7e),'connected':'MCP\x20已连接','failed':_0x48e0d4(0xa0),'retrying':'MCP\x20重连中...','unknown':_0x48e0d4(0x87),'missingApiKey':'MCP:\x20缺少\x20API\x20密钥','invalidApiKey':'MCP:\x20无效的\x20API\x20密钥','sessionOccupied':_0x48e0d4(0xa3),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x48e0d4(0xa8),'clickToConnect':_0x48e0d4(0x96),'clickToConfigure':_0x48e0d4(0x93)},'mcpConfig':{'title':_0x48e0d4(0x8b),'description':_0x48e0d4(0xab),'apiKey':_0x48e0d4(0x7d),'apiKeyPlaceholder':_0x48e0d4(0xa4),'apiKeyHint':_0x48e0d4(0x97),'enableAuth':_0x48e0d4(0x81),'enableAuthHint':_0x48e0d4(0x88),'connectionInfo':_0x48e0d4(0x84),'mcpClientConfig':_0x48e0d4(0x84),'configInstructions':_0x48e0d4(0x9e),'configStepTitle':_0x48e0d4(0x9b),'configStep1':_0x48e0d4(0xa5),'configStep2':_0x48e0d4(0xaf),'configStep3':_0x48e0d4(0x8c),'sessionId':_0x48e0d4(0x80),'sessionIdDescription':_0x48e0d4(0xa9),'authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':_0x48e0d4(0xa7),'maxRetries':'最大重试次数','save':_0x48e0d4(0x8e),'saving':_0x48e0d4(0xaa),'note1':_0x48e0d4(0x9c),'note2':_0x48e0d4(0x91),'configSaved':'配置保存成功','configError':_0x48e0d4(0x92),'apiApplyInfo':{'title':_0x48e0d4(0xa6),'description':_0x48e0d4(0x99),'univerAiLabel':_0x48e0d4(0xae),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x48e0d4(0x83),'apiKeyTooShort':_0x48e0d4(0x94),'invalidConfig':_0x48e0d4(0xad),'invalidApiKey':_0x48e0d4(0x90)},'connectionStatus':{'disconnected':_0x48e0d4(0x7f),'connecting':'连接中...','connected':_0x48e0d4(0x86),'failed':_0x48e0d4(0xa1),'retrying':_0x48e0d4(0xac)},'connectionError':{'missingApiKey':_0x48e0d4(0x8a),'invalidApiKey':_0x48e0d4(0x98),'sessionOccupied':'会话当前被占用,请稍后再试','networkError':_0x48e0d4(0x85),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};function _0xfd26(){const _0x1a490d=['API\x20密钥','MCP\x20连接中...','未连接','会话ID','启用身份验证','2322224QKWblK','API\x20密钥不能为空','MCP\x20客户端配置','网络连接错误,请检查您的网络连接','已连接','MCP\x20状态未知','启用身份验证以获得安全连接','563635pRKvfj','需要\x20API\x20密钥才能连接','MCP\x20配置','重启您的\x20MCP\x20客户端以使配置生效','41870898YvoMaN','保存配置','453sHXgZf','API\x20密钥无效,请检查密钥是否正确','您的\x20API\x20密钥安全存储在本地存储中','配置保存失败','点击配置\x20MCP','API\x20密钥长度至少需要\x2010\x20位','7029550CkwlRo','点击连接\x20MCP','您的\x20API\x20密钥将在此浏览器中本地存储','API\x20密钥无效,请检查您的密钥后重试','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','290108AHZYZB','配置步骤:','配置更改将立即生效','132YSYnaS','将以下配置添加到您的\x20MCP\x20客户端设置中:','12508704tcxebc','MCP\x20连接失败','连接失败','13030NAtWpy','MCP:\x20会话被占用','请输入您的\x20API\x20密钥','复制以下\x20JSON\x20配置','什么是\x20API\x20密钥?','配置参数:','MCP:\x20超出最大重试次数','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','保存中...','配置\x20MCP\x20使用\x20AI\x20操作电子表格','重连中...','配置无效','Univer\x20AI\x20控制台','将配置添加到您的\x20MCP\x20客户端设置文件中'];_0xfd26=function(){return _0x1a490d;};return _0xfd26();}export{e as default};
1
+ const _0x2934f3=_0x12e0;(function(_0x458fb9,_0x30a9f4){const _0x1a8595=_0x12e0,_0x1c40ef=_0x458fb9();while(!![]){try{const _0x3221cd=-parseInt(_0x1a8595(0x1bc))/0x1*(parseInt(_0x1a8595(0x1a4))/0x2)+parseInt(_0x1a8595(0x1c9))/0x3*(parseInt(_0x1a8595(0x1a7))/0x4)+-parseInt(_0x1a8595(0x1aa))/0x5*(parseInt(_0x1a8595(0x1a0))/0x6)+-parseInt(_0x1a8595(0x1b2))/0x7*(parseInt(_0x1a8595(0x1a8))/0x8)+parseInt(_0x1a8595(0x1b9))/0x9+-parseInt(_0x1a8595(0x1ae))/0xa+parseInt(_0x1a8595(0x19f))/0xb;if(_0x3221cd===_0x30a9f4)break;else _0x1c40ef['push'](_0x1c40ef['shift']());}catch(_0x2a9423){_0x1c40ef['push'](_0x1c40ef['shift']());}}}(_0x36f8,0x8f4ce));function _0x36f8(){const _0x549e09=['MCP\x20重连中...','MCP:\x20超出最大重试次数','9NuQzCR','连接中...','重启您的\x20MCP\x20客户端以使配置生效','将以下配置添加到您的\x20MCP\x20客户端设置中:','9247832Lysonq','2210232YnQkzQ','最大重试次数','网络连接错误,请检查您的网络连接','会话\x20ID\x20已被占用,请稍后再试','4372oSphHq','您的\x20API\x20密钥安全存储在本地存储中','配置步骤:','755172PyEhfm','8QBjxfu','几秒钟内获取您的\x20API\x20密钥','5caKIiT','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','MCP\x20状态未知','权限验证失败,请检查您的\x20API\x20密钥','405810zRBHNC','MCP\x20客户端配置','API\x20密钥长度至少需要\x2010\x20位','MCP\x20已连接','5683153heycqm','已连接','启用身份验证以获得安全连接','Univer\x20AI\x20控制台','配置\x20MCP\x20使用\x20AI\x20操作电子表格','启用身份验证','MCP:\x20会话\x20ID\x20已被占用','8898597xAUOhQ','MCP\x20已断开','重连中...','269HNPSJD','MCP:\x20网络错误','保存配置','API\x20密钥不能为空','保存中...','MCP\x20配置','会话ID','点击配置\x20MCP','请输入您的\x20API\x20密钥','API\x20密钥','MCP\x20连接失败'];_0x36f8=function(){return _0x549e09;};return _0x36f8();}const e={'mcpStatus':{'disconnected':_0x2934f3(0x1ba),'connecting':'MCP\x20连接中...','connected':_0x2934f3(0x1b1),'failed':_0x2934f3(0x1c6),'retrying':_0x2934f3(0x1c7),'unknown':_0x2934f3(0x1ac),'unauthorized':'MCP:\x20未授权','sessionOccupied':_0x2934f3(0x1b8),'networkError':_0x2934f3(0x1bd),'maxRetriesExceeded':_0x2934f3(0x1c8),'clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x2934f3(0x1c3)},'mcpConfig':{'title':_0x2934f3(0x1c1),'description':_0x2934f3(0x1b6),'apiKey':_0x2934f3(0x1c5),'apiKeyPlaceholder':_0x2934f3(0x1c4),'apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0x2934f3(0x1b7),'enableAuthHint':_0x2934f3(0x1b4),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x2934f3(0x1af),'configInstructions':_0x2934f3(0x19e),'configStepTitle':_0x2934f3(0x1a6),'configStep1':'复制以下\x20JSON\x20配置','configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x2934f3(0x19d),'sessionId':_0x2934f3(0x1c2),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':'配置参数:','maxRetries':_0x2934f3(0x1a1),'save':_0x2934f3(0x1be),'saving':_0x2934f3(0x1c0),'note1':'配置更改将立即生效','note2':_0x2934f3(0x1a5),'configSaved':'配置保存成功','configError':'配置保存失败','apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x2934f3(0x1ab),'univerAiLabel':_0x2934f3(0x1b5),'getStarted':_0x2934f3(0x1a9)},'validation':{'apiKeyRequired':_0x2934f3(0x1bf),'apiKeyTooShort':_0x2934f3(0x1b0),'invalidConfig':'配置无效','invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':'未连接','connecting':_0x2934f3(0x19c),'connected':_0x2934f3(0x1b3),'failed':'连接失败','retrying':_0x2934f3(0x1bb)},'connectionError':{'unauthorized':_0x2934f3(0x1ad),'sessionOccupied':_0x2934f3(0x1a3),'networkError':_0x2934f3(0x1a2),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};function _0x12e0(_0x37e5fd,_0x4fc930){const _0x36f86f=_0x36f8();return _0x12e0=function(_0x12e0de,_0x4a36da){_0x12e0de=_0x12e0de-0x19c;let _0x41ef2a=_0x36f86f[_0x12e0de];return _0x41ef2a;},_0x12e0(_0x37e5fd,_0x4fc930);}export{e as default};
@@ -1 +1 @@
1
- const _0x38da15=_0x191b;function _0x191b(_0x47fd10,_0x5c1602){const _0x142b3c=_0x142b();return _0x191b=function(_0x191b99,_0x3d61ae){_0x191b99=_0x191b99-0x165;let _0x86d423=_0x142b3c[_0x191b99];return _0x86d423;},_0x191b(_0x47fd10,_0x5c1602);}(function(_0x1cd00c,_0x3cc978){const _0x41ecef=_0x191b,_0x5023cf=_0x1cd00c();while(!![]){try{const _0x5217ce=-parseInt(_0x41ecef(0x185))/0x1*(parseInt(_0x41ecef(0x18b))/0x2)+parseInt(_0x41ecef(0x167))/0x3+-parseInt(_0x41ecef(0x171))/0x4*(parseInt(_0x41ecef(0x173))/0x5)+parseInt(_0x41ecef(0x184))/0x6*(parseInt(_0x41ecef(0x16c))/0x7)+-parseInt(_0x41ecef(0x175))/0x8+-parseInt(_0x41ecef(0x168))/0x9+parseInt(_0x41ecef(0x195))/0xa*(parseInt(_0x41ecef(0x16e))/0xb);if(_0x5217ce===_0x3cc978)break;else _0x5023cf['push'](_0x5023cf['shift']());}catch(_0x1d0a34){_0x5023cf['push'](_0x5023cf['shift']());}}}(_0x142b,0xa9c40));const e={'mcpStatus':{'disconnected':_0x38da15(0x166),'connecting':_0x38da15(0x18f),'connected':'MCP\x20Connected','failed':_0x38da15(0x17d),'retrying':'MCP\x20Retrying...','unknown':_0x38da15(0x17e),'missingApiKey':_0x38da15(0x182),'invalidApiKey':_0x38da15(0x181),'sessionOccupied':_0x38da15(0x191),'networkError':_0x38da15(0x188),'maxRetriesExceeded':_0x38da15(0x187),'clickToConnect':_0x38da15(0x194),'clickToConfigure':_0x38da15(0x174)},'mcpConfig':{'title':_0x38da15(0x186),'description':_0x38da15(0x16b),'apiKey':_0x38da15(0x183),'apiKeyPlaceholder':_0x38da15(0x16d),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x38da15(0x180),'enableAuthHint':_0x38da15(0x18e),'connectionInfo':_0x38da15(0x17b),'mcpClientConfig':_0x38da15(0x17b),'configInstructions':_0x38da15(0x197),'configStepTitle':_0x38da15(0x18d),'configStep1':_0x38da15(0x179),'configStep2':_0x38da15(0x16a),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x38da15(0x178),'sessionIdDescription':_0x38da15(0x176),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x38da15(0x18a),'maxRetries':_0x38da15(0x17c),'save':_0x38da15(0x196),'saving':'Saving...','note1':_0x38da15(0x190),'note2':_0x38da15(0x165),'configSaved':_0x38da15(0x193),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x38da15(0x172),'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':_0x38da15(0x170),'getStarted':_0x38da15(0x199)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x38da15(0x17f),'invalidConfig':_0x38da15(0x169),'invalidApiKey':_0x38da15(0x192)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x38da15(0x198),'connected':'Connected','failed':_0x38da15(0x189),'retrying':_0x38da15(0x18c)},'connectionError':{'missingApiKey':_0x38da15(0x17a),'invalidApiKey':_0x38da15(0x177),'sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x38da15(0x16f)}}},n=e;function _0x142b(){const _0x2cc3da=['Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Connecting...','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20Session\x20Occupied','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Configuration\x20saved\x20successfully','Click\x20to\x20connect\x20MCP','370ypPzWG','Save\x20Configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Connecting...','Get\x20your\x20API\x20key\x20in\x20seconds','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Disconnected','2432418ADGXCm','4010544WLTjKL','Invalid\x20configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','35pzptbC','Enter\x20your\x20API\x20key','598774FPOldr','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Univer\x20AI\x20Console','108VGEmfp','What\x20is\x20API\x20Key?','236365yjRWpL','Click\x20to\x20configure\x20MCP','3751704OuPTgD','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Session\x20ID','Copy\x20the\x20JSON\x20configuration\x20below','API\x20key\x20is\x20required\x20to\x20connect','MCP\x20Client\x20Configuration','Max\x20Retries','MCP\x20Connection\x20Failed','MCP\x20Unknown\x20Status','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Enable\x20Authentication','MCP:\x20Invalid\x20API\x20Key','MCP:\x20API\x20Key\x20Missing','API\x20Key','1211214lgbCjd','41213DuuMxu','MCP\x20Configuration','MCP:\x20Max\x20Retries\x20Exceeded','MCP:\x20Network\x20Error','Connection\x20Failed','Configuration\x20Parameters:','46OZSHAW','Retrying...','Configuration\x20Steps:'];_0x142b=function(){return _0x2cc3da;};return _0x142b();}export{n as default};
1
+ const _0x47046e=_0x416b;function _0x416b(_0x503772,_0x240075){const _0x363891=_0x3638();return _0x416b=function(_0x416b43,_0x572369){_0x416b43=_0x416b43-0x1bd;let _0x4fbd38=_0x363891[_0x416b43];return _0x4fbd38;},_0x416b(_0x503772,_0x240075);}(function(_0x2d68d8,_0x517b6a){const _0x39c555=_0x416b,_0x305969=_0x2d68d8();while(!![]){try{const _0x352f4b=parseInt(_0x39c555(0x1ed))/0x1*(-parseInt(_0x39c555(0x1e9))/0x2)+parseInt(_0x39c555(0x1c7))/0x3+parseInt(_0x39c555(0x1c5))/0x4+parseInt(_0x39c555(0x1d8))/0x5*(-parseInt(_0x39c555(0x1f2))/0x6)+parseInt(_0x39c555(0x1e6))/0x7*(-parseInt(_0x39c555(0x1be))/0x8)+parseInt(_0x39c555(0x1db))/0x9+-parseInt(_0x39c555(0x1c2))/0xa*(-parseInt(_0x39c555(0x1cd))/0xb);if(_0x352f4b===_0x517b6a)break;else _0x305969['push'](_0x305969['shift']());}catch(_0x207941){_0x305969['push'](_0x305969['shift']());}}}(_0x3638,0xbc41a));const e={'mcpStatus':{'disconnected':_0x47046e(0x1ef),'connecting':_0x47046e(0x1cf),'connected':_0x47046e(0x1f1),'failed':_0x47046e(0x1ee),'retrying':_0x47046e(0x1e2),'unknown':_0x47046e(0x1ce),'unauthorized':_0x47046e(0x1e4),'sessionOccupied':_0x47046e(0x1bf),'networkError':_0x47046e(0x1e1),'maxRetriesExceeded':_0x47046e(0x1c6),'clickToConnect':_0x47046e(0x1eb),'clickToConfigure':_0x47046e(0x1e8)},'mcpConfig':{'title':_0x47046e(0x1c8),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x47046e(0x1ea),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x47046e(0x1e0),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x47046e(0x1c0),'connectionInfo':_0x47046e(0x1f4),'mcpClientConfig':_0x47046e(0x1f4),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':_0x47046e(0x1c1),'configStep1':_0x47046e(0x1d9),'configStep2':_0x47046e(0x1de),'configStep3':_0x47046e(0x1c3),'sessionId':_0x47046e(0x1d1),'sessionIdDescription':_0x47046e(0x1c4),'authorizationDescription':_0x47046e(0x1d7),'configParameters':_0x47046e(0x1c9),'maxRetries':_0x47046e(0x1d2),'save':_0x47046e(0x1f5),'saving':_0x47046e(0x1e7),'note1':_0x47046e(0x1da),'note2':_0x47046e(0x1cb),'configSaved':_0x47046e(0x1bd),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x47046e(0x1f0),'description':_0x47046e(0x1e3),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x47046e(0x1e5)},'validation':{'apiKeyRequired':_0x47046e(0x1dd),'apiKeyTooShort':_0x47046e(0x1dc),'invalidConfig':_0x47046e(0x1d3),'invalidApiKey':_0x47046e(0x1d0)},'connectionStatus':{'disconnected':_0x47046e(0x1ca),'connecting':_0x47046e(0x1d5),'connected':_0x47046e(0x1ec),'failed':_0x47046e(0x1df),'retrying':_0x47046e(0x1cc)},'connectionError':{'unauthorized':_0x47046e(0x1d4),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x47046e(0x1d6),'maxRetriesExceeded':_0x47046e(0x1f3)}}},n=e;function _0x3638(){const _0x2cfba7=['Connected','299819dJHkWQ','MCP\x20Connection\x20Failed','MCP\x20Disconnected','What\x20is\x20API\x20Key?','MCP\x20Connected','794586yotbBi','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Client\x20Configuration','Save\x20Configuration','Configuration\x20saved\x20successfully','8rsTqZc','MCP:\x20Session\x20ID\x20Occupied','Enable\x20authentication\x20for\x20secure\x20connections','Configuration\x20Steps:','20EGrnyU','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','1796508LpDWJa','MCP:\x20Max\x20Retries\x20Exceeded','2745432TThXRu','MCP\x20Configuration','Configuration\x20Parameters:','Disconnected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Retrying...','2169937HZUwfY','MCP\x20Unknown\x20Status','MCP\x20Connecting...','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Session\x20ID','Max\x20Retries','Invalid\x20configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Connecting...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20key\x20with\x20Bearer\x20prefix.','35JJoaFH','Copy\x20the\x20JSON\x20configuration\x20below','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','12625884auDScx','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','API\x20key\x20is\x20required','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Connection\x20Failed','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP:\x20Network\x20Error','MCP\x20Retrying...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','MCP:\x20Unauthorized','Get\x20your\x20API\x20key\x20in\x20seconds','1850030klFwJG','Saving...','Click\x20to\x20configure\x20MCP','8cuJKIj','API\x20Key','Click\x20to\x20connect\x20MCP'];_0x3638=function(){return _0x2cfba7;};return _0x3638();}export{n as default};
@@ -1,6 +1,13 @@
1
1
  export declare const MCP_UI_PLUGIN_CONFIG_KEY = "mcp-ui.config";
2
2
  export declare const configSymbol: unique symbol;
3
3
  export interface IUniverMCPUIConfig {
4
+ /**
5
+ * Whether to show developer tools in the UI (default: false)
6
+ */
4
7
  showDeveloperTools?: boolean;
8
+ /**
9
+ * Whether to show the MCP connection status in the header menu (default: true)
10
+ */
11
+ showStatus?: boolean;
5
12
  }
6
13
  export declare const defaultPluginConfig: Required<IUniverMCPUIConfig>;
@@ -1,5 +1,5 @@
1
1
  import { MCPConnectionController } from '@univerjs-pro/mcp';
2
- import { Disposable, Injector } from '@univerjs/core';
2
+ import { Disposable, IConfigService, Injector } from '@univerjs/core';
3
3
  import { IUIPartsService } from '@univerjs/ui';
4
4
  /**
5
5
  * MCP Connection UI Controller
@@ -13,7 +13,9 @@ export declare class MCPConnectionUIController extends Disposable {
13
13
  private readonly _injector;
14
14
  private readonly _connectionController;
15
15
  private readonly _uiPartsService;
16
- constructor(_injector: Injector, _connectionController: MCPConnectionController, _uiPartsService: IUIPartsService);
16
+ private readonly _configService;
17
+ constructor(_injector: Injector, _connectionController: MCPConnectionController, _uiPartsService: IUIPartsService, _configService: IConfigService);
18
+ private _initAutoConnect;
17
19
  /**
18
20
  * Initialize status component in the UI
19
21
  */
@@ -6,8 +6,7 @@ declare const locale: {
6
6
  failed: string;
7
7
  retrying: string;
8
8
  unknown: string;
9
- missingApiKey: string;
10
- invalidApiKey: string;
9
+ unauthorized: string;
11
10
  sessionOccupied: string;
12
11
  networkError: string;
13
12
  maxRetriesExceeded: string;
@@ -60,8 +59,7 @@ declare const locale: {
60
59
  retrying: string;
61
60
  };
62
61
  connectionError: {
63
- missingApiKey: string;
64
- invalidApiKey: string;
62
+ unauthorized: string;
65
63
  sessionOccupied: string;
66
64
  networkError: string;
67
65
  maxRetriesExceeded: string;
@@ -6,8 +6,7 @@ declare const locale: {
6
6
  failed: string;
7
7
  retrying: string;
8
8
  unknown: string;
9
- missingApiKey: string;
10
- invalidApiKey: string;
9
+ unauthorized: string;
11
10
  sessionOccupied: string;
12
11
  networkError: string;
13
12
  maxRetriesExceeded: string;
@@ -60,8 +59,7 @@ declare const locale: {
60
59
  retrying: string;
61
60
  };
62
61
  connectionError: {
63
- missingApiKey: string;
64
- invalidApiKey: string;
62
+ unauthorized: string;
65
63
  sessionOccupied: string;
66
64
  networkError: string;
67
65
  maxRetriesExceeded: string;
@@ -7,6 +7,8 @@ export interface IMCPStatusProps {
7
7
  error$: Observable<MCPConnectionError>;
8
8
  /** Callback to trigger configuration panel */
9
9
  onConfigure?: () => void;
10
+ /** Whether the status is clickable (controlled by showDeveloperTools) */
11
+ showClickable?: boolean;
10
12
  }
11
13
  /**
12
14
  * MCP Status Display Component