@univerjs-pro/mcp-ui 0.10.8-nightly.202509200616 → 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 +7 -7
@@ -1 +1 @@
1
- const _0x48b1f8=_0x4ef0;function _0x4ef0(_0x52cccf,_0x2ab171){const _0x43d7cf=_0x43d7();return _0x4ef0=function(_0x4ef042,_0x9357){_0x4ef042=_0x4ef042-0xe1;let _0x343b99=_0x43d7cf[_0x4ef042];return _0x343b99;},_0x4ef0(_0x52cccf,_0x2ab171);}(function(_0x23dbf7,_0x3b80de){const _0x24f978=_0x4ef0,_0x226539=_0x23dbf7();while(!![]){try{const _0x1f53a9=parseInt(_0x24f978(0x10a))/0x1*(parseInt(_0x24f978(0xf5))/0x2)+-parseInt(_0x24f978(0xf6))/0x3+-parseInt(_0x24f978(0x109))/0x4+-parseInt(_0x24f978(0xea))/0x5+-parseInt(_0x24f978(0xe1))/0x6*(-parseInt(_0x24f978(0xe9))/0x7)+-parseInt(_0x24f978(0xf3))/0x8*(parseInt(_0x24f978(0xfd))/0x9)+parseInt(_0x24f978(0xe6))/0xa;if(_0x1f53a9===_0x3b80de)break;else _0x226539['push'](_0x226539['shift']());}catch(_0x533c7f){_0x226539['push'](_0x226539['shift']());}}}(_0x43d7,0x2a24c));function _0x43d7(){const _0x23f153=['59619LBarqA','What\x20is\x20API\x20Key?','Univer\x20AI\x20Console','MCP\x20Unknown\x20Status','MCP\x20Connected','MCP:\x20Max\x20Retries\x20Exceeded','API\x20Key','27dvRFpx','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Retrying...','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','MCP\x20Client\x20Configuration','MCP\x20Retrying...','Save\x20Configuration','Disconnected','Failed\x20to\x20save\x20configuration','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Connection\x20Failed','MCP\x20Disconnected','1221348qMiLPY','1262JBYHhQ','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Connection\x20Failed','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Click\x20to\x20connect\x20MCP','MCP\x20Connecting...','Copy\x20the\x20JSON\x20configuration\x20below','Enable\x20Authentication','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Invalid\x20API\x20Key','Connected','166830vWBdEP','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Configuration\x20saved\x20successfully','Configuration\x20Parameters:','2077490hjbRCt','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Connecting...','70ukgWfW','729275cXuWBK','MCP:\x20Network\x20Error','Click\x20to\x20configure\x20MCP','MCP:\x20Session\x20Occupied','Invalid\x20configuration','MCP\x20Configuration','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Session\x20ID','Configuration\x20Steps:','218384TTJBZp','API\x20key\x20is\x20required','380zSVGTO'];_0x43d7=function(){return _0x23f153;};return _0x43d7();}const e={'mcpStatus':{'disconnected':_0x48b1f8(0x108),'connecting':_0x48b1f8(0x10f),'connected':_0x48b1f8(0xfa),'failed':_0x48b1f8(0x10c),'retrying':_0x48b1f8(0x102),'unknown':_0x48b1f8(0xf9),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x48b1f8(0x114),'sessionOccupied':_0x48b1f8(0xed),'networkError':_0x48b1f8(0xeb),'maxRetriesExceeded':_0x48b1f8(0xfb),'clickToConnect':_0x48b1f8(0x10e),'clickToConfigure':_0x48b1f8(0xec)},'mcpConfig':{'title':_0x48b1f8(0xef),'description':_0x48b1f8(0x113),'apiKey':_0x48b1f8(0xfc),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x48b1f8(0xf0),'enableAuth':_0x48b1f8(0x111),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x48b1f8(0x101),'configInstructions':_0x48b1f8(0xe3),'configStepTitle':_0x48b1f8(0xf2),'configStep1':_0x48b1f8(0x110),'configStep2':_0x48b1f8(0x10d),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x48b1f8(0xf1),'sessionIdDescription':_0x48b1f8(0xe2),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x48b1f8(0xe5),'maxRetries':'Max\x20Retries','save':_0x48b1f8(0x103),'saving':'Saving...','note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x48b1f8(0xe4),'configError':_0x48b1f8(0x105),'apiApplyInfo':{'title':_0x48b1f8(0xf7),'description':_0x48b1f8(0x106),'univerAiLabel':_0x48b1f8(0xf8),'getStarted':_0x48b1f8(0x10b)},'validation':{'apiKeyRequired':_0x48b1f8(0xf4),'apiKeyTooShort':_0x48b1f8(0x112),'invalidConfig':_0x48b1f8(0xee),'invalidApiKey':_0x48b1f8(0xfe)},'connectionStatus':{'disconnected':_0x48b1f8(0x104),'connecting':_0x48b1f8(0xe8),'connected':_0x48b1f8(0x115),'failed':_0x48b1f8(0x107),'retrying':_0x48b1f8(0xff)},'connectionError':{'missingApiKey':'API\x20key\x20is\x20required\x20to\x20connect','invalidApiKey':_0x48b1f8(0x100),'sessionOccupied':_0x48b1f8(0xe7),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;export{n as default};
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
- function _0x3687(){const _0xca9b1a=['MCP\x20Connected','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','52254cogsHs','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','2317851QfjJKt','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','27996lUIgxw','MCP:\x20Network\x20Error','Configuration\x20Parameters:','MCP\x20Retrying...','Max\x20Retries','Saving...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','451390tPERlp','5202UDkgCs','715rqEIrI','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Get\x20your\x20API\x20key\x20in\x20seconds','345ZRMFey','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','201sYxamH','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Connected','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.','Session\x20ID','API\x20key\x20is\x20required','MCP\x20Unknown\x20Status','19UKwlWD','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Connecting...','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Connection\x20Failed','Configuration\x20saved\x20successfully','Disconnected','Click\x20to\x20connect\x20MCP','34762lQWpRO','Configuration\x20Steps:','MCP:\x20API\x20Key\x20Missing','1016ltPAHK','MCP:\x20Invalid\x20API\x20Key','Invalid\x20configuration','77dDjMQd','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20key\x20is\x20required\x20to\x20connect','Connecting...','Enable\x20authentication\x20for\x20secure\x20connections','8972irloVV','MCP\x20Client\x20Configuration','Connection\x20Failed','What\x20is\x20API\x20Key?','Retrying...','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'];_0x3687=function(){return _0xca9b1a;};return _0x3687();}const _0xe94c87=_0x42f3;function _0x42f3(_0x582bd5,_0x299d0d){const _0x368792=_0x3687();return _0x42f3=function(_0x42f3c7,_0x26c4ca){_0x42f3c7=_0x42f3c7-0xcd;let _0x3c6ec6=_0x368792[_0x42f3c7];return _0x3c6ec6;},_0x42f3(_0x582bd5,_0x299d0d);}(function(_0x51471c,_0x1afe3f){const _0x136685=_0x42f3,_0x1a7ffe=_0x51471c();while(!![]){try{const _0x2b8ee0=parseInt(_0x136685(0xfd))/0x1*(-parseInt(_0x136685(0xe2))/0x2)+-parseInt(_0x136685(0xf5))/0x3*(-parseInt(_0x136685(0xd9))/0x4)+parseInt(_0x136685(0xf2))/0x5*(-parseInt(_0x136685(0xee))/0x6)+-parseInt(_0x136685(0xce))/0x7*(-parseInt(_0x136685(0xd1))/0x8)+-parseInt(_0x136685(0xe4))/0x9+-parseInt(_0x136685(0xed))/0xa*(-parseInt(_0x136685(0xd4))/0xb)+-parseInt(_0x136685(0xe6))/0xc*(-parseInt(_0x136685(0xef))/0xd);if(_0x2b8ee0===_0x1afe3f)break;else _0x1a7ffe['push'](_0x1a7ffe['shift']());}catch(_0x39e978){_0x1a7ffe['push'](_0x1a7ffe['shift']());}}}(_0x3687,0x64754));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0xe94c87(0xff),'connected':_0xe94c87(0xe0),'failed':_0xe94c87(0x101),'retrying':_0xe94c87(0xe9),'unknown':_0xe94c87(0xfc),'missingApiKey':_0xe94c87(0xd0),'invalidApiKey':_0xe94c87(0xd2),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0xe94c87(0xe7),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0xe94c87(0xcd),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':_0xe94c87(0xfe),'apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0xe94c87(0xf0),'enableAuth':_0xe94c87(0xdf),'enableAuthHint':_0xe94c87(0xd8),'connectionInfo':_0xe94c87(0xda),'mcpClientConfig':_0xe94c87(0xda),'configInstructions':_0xe94c87(0xd5),'configStepTitle':_0xe94c87(0xcf),'configStep1':_0xe94c87(0x100),'configStep2':_0xe94c87(0xf3),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0xe94c87(0xfa),'sessionIdDescription':_0xe94c87(0xf9),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0xe94c87(0xe8),'maxRetries':_0xe94c87(0xea),'save':'Save\x20Configuration','saving':_0xe94c87(0xeb),'note1':_0xe94c87(0xe1),'note2':_0xe94c87(0xf4),'configSaved':_0xe94c87(0x102),'configError':_0xe94c87(0xf8),'apiApplyInfo':{'title':_0xe94c87(0xdc),'description':_0xe94c87(0xde),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0xe94c87(0xf1)},'validation':{'apiKeyRequired':_0xe94c87(0xfb),'apiKeyTooShort':_0xe94c87(0xf6),'invalidConfig':_0xe94c87(0xd3),'invalidApiKey':_0xe94c87(0xe5)},'connectionStatus':{'disconnected':_0xe94c87(0x103),'connecting':_0xe94c87(0xd7),'connected':_0xe94c87(0xf7),'failed':_0xe94c87(0xdb),'retrying':_0xe94c87(0xdd)},'connectionError':{'missingApiKey':_0xe94c87(0xd6),'invalidApiKey':'Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','sessionOccupied':'Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','networkError':_0xe94c87(0xec),'maxRetriesExceeded':_0xe94c87(0xe3)}}},n=e;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 _0x215e(){const _0x489017=['您的\x20API\x20密钥将在此浏览器中本地存储','747667DTcRje','最大重试次数','您的\x20API\x20密钥安全存储在本地存储中','MCP\x20已断开','55geUGzl','API\x20密钥不能为空','复制以下\x20JSON\x20配置','配置保存成功','API\x20密钥长度至少需要\x2010\x20位','已连接','将以下配置添加到您的\x20MCP\x20客户端设置中:','Univer\x20AI\x20控制台','点击配置\x20MCP','MCP:\x20缺少\x20API\x20密钥','15zUJmtw','6Ppuvuz','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','MCP\x20连接中...','2MjgoLc','MCP\x20客户端配置','7qQNZti','配置参数:','什么是\x20API\x20密钥?','配置保存失败','启用身份验证以获得安全连接','MCP:\x20会话被占用','重连中...','需要\x20API\x20密钥才能连接','MCP\x20重连中...','保存中...','将配置添加到您的\x20MCP\x20客户端设置文件中','配置\x20MCP\x20使用\x20AI\x20操作电子表格','5731864nynoYq','MCP\x20连接失败','MCP\x20已连接','连接中...','9418023wupjpE','会话ID','会话当前被占用,请稍后再试','96610PoJuGa','配置更改将立即生效','28885728lzbJPh','请输入您的\x20API\x20密钥','MCP\x20状态未知','启用身份验证','未连接','连接失败','超出最大重试次数,请稍后再试','MCP:\x20超出最大重试次数','几秒钟内获取您的\x20API\x20密钥','网络连接错误,请检查您的网络连接','2738504jfiVrc','API\x20密钥','重启您的\x20MCP\x20客户端以使配置生效','2820810jpFOiO','MCP:\x20无效的\x20API\x20密钥','点击连接\x20MCP'];_0x215e=function(){return _0x489017;};return _0x215e();}function _0x21f7(_0x3e3b5a,_0x3b1a82){const _0x215ef3=_0x215e();return _0x21f7=function(_0x21f7d2,_0xab917f){_0x21f7d2=_0x21f7d2-0x136;let _0x485f2a=_0x215ef3[_0x21f7d2];return _0x485f2a;},_0x21f7(_0x3e3b5a,_0x3b1a82);}const _0xa09c7=_0x21f7;(function(_0x4d6444,_0x49b124){const _0x3fa3b0=_0x21f7,_0x4b8204=_0x4d6444();while(!![]){try{const _0x219d87=-parseInt(_0x3fa3b0(0x13b))/0x1*(-parseInt(_0x3fa3b0(0x14d))/0x2)+-parseInt(_0x3fa3b0(0x14a))/0x3*(parseInt(_0x3fa3b0(0x16e))/0x4)+-parseInt(_0x3fa3b0(0x149))/0x5*(parseInt(_0x3fa3b0(0x137))/0x6)+-parseInt(_0x3fa3b0(0x14f))/0x7*(parseInt(_0x3fa3b0(0x15b))/0x8)+parseInt(_0x3fa3b0(0x15f))/0x9+parseInt(_0x3fa3b0(0x162))/0xa*(parseInt(_0x3fa3b0(0x13f))/0xb)+parseInt(_0x3fa3b0(0x164))/0xc;if(_0x219d87===_0x49b124)break;else _0x4b8204['push'](_0x4b8204['shift']());}catch(_0x2273c2){_0x4b8204['push'](_0x4b8204['shift']());}}}(_0x215e,0xb7f0f));const e={'mcpStatus':{'disconnected':_0xa09c7(0x13e),'connecting':_0xa09c7(0x14c),'connected':_0xa09c7(0x15d),'failed':_0xa09c7(0x15c),'retrying':_0xa09c7(0x157),'unknown':_0xa09c7(0x166),'missingApiKey':_0xa09c7(0x148),'invalidApiKey':_0xa09c7(0x138),'sessionOccupied':_0xa09c7(0x154),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0xa09c7(0x16b),'clickToConnect':_0xa09c7(0x139),'clickToConfigure':_0xa09c7(0x147)},'mcpConfig':{'title':'MCP\x20配置','description':_0xa09c7(0x15a),'apiKey':_0xa09c7(0x16f),'apiKeyPlaceholder':_0xa09c7(0x165),'apiKeyHint':_0xa09c7(0x13a),'enableAuth':_0xa09c7(0x167),'enableAuthHint':_0xa09c7(0x153),'connectionInfo':_0xa09c7(0x14e),'mcpClientConfig':_0xa09c7(0x14e),'configInstructions':_0xa09c7(0x145),'configStepTitle':'配置步骤:','configStep1':_0xa09c7(0x141),'configStep2':_0xa09c7(0x159),'configStep3':_0xa09c7(0x136),'sessionId':_0xa09c7(0x160),'sessionIdDescription':_0xa09c7(0x14b),'authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':_0xa09c7(0x150),'maxRetries':_0xa09c7(0x13c),'save':'保存配置','saving':_0xa09c7(0x158),'note1':_0xa09c7(0x163),'note2':_0xa09c7(0x13d),'configSaved':_0xa09c7(0x142),'configError':_0xa09c7(0x152),'apiApplyInfo':{'title':_0xa09c7(0x151),'description':'API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','univerAiLabel':_0xa09c7(0x146),'getStarted':_0xa09c7(0x16c)},'validation':{'apiKeyRequired':_0xa09c7(0x140),'apiKeyTooShort':_0xa09c7(0x143),'invalidConfig':'配置无效','invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0xa09c7(0x168),'connecting':_0xa09c7(0x15e),'connected':_0xa09c7(0x144),'failed':_0xa09c7(0x169),'retrying':_0xa09c7(0x155)},'connectionError':{'missingApiKey':_0xa09c7(0x156),'invalidApiKey':'API\x20密钥无效,请检查您的密钥后重试','sessionOccupied':_0xa09c7(0x161),'networkError':_0xa09c7(0x16d),'maxRetriesExceeded':_0xa09c7(0x16a)}}};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
- function _0x52ea(_0x35446c,_0x29a1f6){const _0x30dc72=_0x30dc();return _0x52ea=function(_0x52ea66,_0x2cbb39){_0x52ea66=_0x52ea66-0x8b;let _0x99ce64=_0x30dc72[_0x52ea66];return _0x99ce64;},_0x52ea(_0x35446c,_0x29a1f6);}const _0x4920dd=_0x52ea;function _0x30dc(){const _0x267487=['MCP:\x20API\x20Key\x20Missing','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Failed\x20to\x20save\x20configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','94254bOOdAz','API\x20key\x20with\x20Bearer\x20prefix.','4460BVjNZO','3496672nIKGAf','139223aexeVw','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Retrying...','Enable\x20Authentication','Enter\x20your\x20API\x20key','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','3918460KnehHL','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Connecting...','Saving...','Enable\x20authentication\x20for\x20secure\x20connections','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','261VpRzcx','Connection\x20Failed','MCP\x20Unknown\x20Status','What\x20is\x20API\x20Key?','Connected','MCP\x20Client\x20Configuration','MCP:\x20Invalid\x20API\x20Key','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','24vyQMGn','Copy\x20the\x20JSON\x20configuration\x20below','Click\x20to\x20connect\x20MCP','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Invalid\x20configuration','Save\x20Configuration','MCP:\x20Session\x20Occupied','694640jQzYXG','Click\x20to\x20configure\x20MCP','MCP\x20Connecting...','MCP:\x20Network\x20Error','Configuration\x20Parameters:','Max\x20Retries','API\x20key\x20is\x20required','API\x20key\x20is\x20required\x20to\x20connect','Get\x20your\x20API\x20key\x20in\x20seconds','618vqvjHr','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','2018205bxHLxi','MCP\x20Configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','MCP\x20Connection\x20Failed'];_0x30dc=function(){return _0x267487;};return _0x30dc();}(function(_0x3c30ff,_0x37959b){const _0x4846b6=_0x52ea,_0x4342b7=_0x3c30ff();while(!![]){try{const _0x4d6196=parseInt(_0x4846b6(0xac))/0x1+-parseInt(_0x4846b6(0xae))/0x2*(parseInt(_0x4846b6(0xa1))/0x3)+-parseInt(_0x4846b6(0xb6))/0x4+-parseInt(_0x4846b6(0xa3))/0x5+-parseInt(_0x4846b6(0x91))/0x6*(parseInt(_0x4846b6(0xb0))/0x7)+parseInt(_0x4846b6(0xaf))/0x8+-parseInt(_0x4846b6(0xbc))/0x9*(-parseInt(_0x4846b6(0x98))/0xa);if(_0x4d6196===_0x37959b)break;else _0x4342b7['push'](_0x4342b7['shift']());}catch(_0x5308b2){_0x4342b7['push'](_0x4342b7['shift']());}}}(_0x30dc,0x983f2));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x4920dd(0x9a),'connected':'MCP\x20Connected','failed':_0x4920dd(0xa7),'retrying':'MCP\x20Retrying...','unknown':_0x4920dd(0x8b),'missingApiKey':_0x4920dd(0xa8),'invalidApiKey':_0x4920dd(0x8f),'sessionOccupied':_0x4920dd(0x97),'networkError':_0x4920dd(0x9b),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x4920dd(0x93),'clickToConfigure':_0x4920dd(0x99)},'mcpConfig':{'title':_0x4920dd(0xa4),'description':_0x4920dd(0xa9),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x4920dd(0xb4),'apiKeyHint':_0x4920dd(0xb1),'enableAuth':_0x4920dd(0xb3),'enableAuthHint':_0x4920dd(0xba),'connectionInfo':_0x4920dd(0x8e),'mcpClientConfig':_0x4920dd(0x8e),'configInstructions':_0x4920dd(0xa2),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x4920dd(0x92),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x4920dd(0xa6),'authorizationDescription':_0x4920dd(0xad),'configParameters':_0x4920dd(0x9c),'maxRetries':_0x4920dd(0x9d),'save':_0x4920dd(0x96),'saving':_0x4920dd(0xb9),'note1':_0x4920dd(0xbb),'note2':_0x4920dd(0xab),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x4920dd(0xaa),'apiApplyInfo':{'title':_0x4920dd(0x8c),'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':'Univer\x20AI\x20Console','getStarted':_0x4920dd(0xa0)},'validation':{'apiKeyRequired':_0x4920dd(0x9e),'apiKeyTooShort':_0x4920dd(0xb5),'invalidConfig':_0x4920dd(0x95),'invalidApiKey':_0x4920dd(0xa5)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x4920dd(0xb8),'connected':_0x4920dd(0x8d),'failed':_0x4920dd(0xbd),'retrying':_0x4920dd(0xb2)},'connectionError':{'missingApiKey':_0x4920dd(0x9f),'invalidApiKey':_0x4920dd(0x90),'sessionOccupied':_0x4920dd(0x94),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x4920dd(0xb7)}}},n=e;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