@univerjs-pro/mcp-ui 0.10.9 → 0.10.10

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 _0x25ae9c=_0x4b41;(function(_0x420f00,_0x40c45f){const _0x1a953c=_0x4b41,_0x4fe409=_0x420f00();while(!![]){try{const _0x468c12=parseInt(_0x1a953c(0x17b))/0x1+-parseInt(_0x1a953c(0x15a))/0x2+parseInt(_0x1a953c(0x16a))/0x3*(parseInt(_0x1a953c(0x16b))/0x4)+-parseInt(_0x1a953c(0x160))/0x5+parseInt(_0x1a953c(0x164))/0x6*(-parseInt(_0x1a953c(0x175))/0x7)+-parseInt(_0x1a953c(0x15e))/0x8+-parseInt(_0x1a953c(0x177))/0x9*(-parseInt(_0x1a953c(0x181))/0xa);if(_0x468c12===_0x40c45f)break;else _0x4fe409['push'](_0x4fe409['shift']());}catch(_0x5dacab){_0x4fe409['push'](_0x4fe409['shift']());}}}(_0x457b,0x6eac6));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x25ae9c(0x158),'failed':_0x25ae9c(0x157),'retrying':'MCP\x20Retrying...','unknown':_0x25ae9c(0x15d),'missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x25ae9c(0x173),'sessionOccupied':'MCP:\x20Session\x20Occupied','networkError':_0x25ae9c(0x179),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x25ae9c(0x161),'clickToConfigure':_0x25ae9c(0x17c)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x25ae9c(0x17f),'apiKeyPlaceholder':_0x25ae9c(0x172),'apiKeyHint':_0x25ae9c(0x17e),'enableAuth':_0x25ae9c(0x180),'enableAuthHint':_0x25ae9c(0x170),'connectionInfo':_0x25ae9c(0x178),'mcpClientConfig':_0x25ae9c(0x178),'configInstructions':_0x25ae9c(0x189),'configStepTitle':_0x25ae9c(0x16e),'configStep1':_0x25ae9c(0x184),'configStep2':_0x25ae9c(0x185),'configStep3':_0x25ae9c(0x16f),'sessionId':_0x25ae9c(0x16d),'sessionIdDescription':_0x25ae9c(0x17a),'authorizationDescription':_0x25ae9c(0x187),'configParameters':_0x25ae9c(0x163),'maxRetries':_0x25ae9c(0x183),'save':_0x25ae9c(0x186),'saving':_0x25ae9c(0x169),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x25ae9c(0x167),'configError':_0x25ae9c(0x16c),'apiApplyInfo':{'title':_0x25ae9c(0x15b),'description':_0x25ae9c(0x15c),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x25ae9c(0x168)},'validation':{'apiKeyRequired':_0x25ae9c(0x171),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x25ae9c(0x15f),'invalidApiKey':_0x25ae9c(0x182)},'connectionStatus':{'disconnected':_0x25ae9c(0x176),'connecting':_0x25ae9c(0x162),'connected':'Connected','failed':_0x25ae9c(0x166),'retrying':_0x25ae9c(0x174)},'connectionError':{'missingApiKey':_0x25ae9c(0x159),'invalidApiKey':_0x25ae9c(0x165),'sessionOccupied':_0x25ae9c(0x188),'networkError':_0x25ae9c(0x17d),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},n=e;function _0x4b41(_0x5337fd,_0x19ea39){const _0x457bd0=_0x457b();return _0x4b41=function(_0x4b41d9,_0x93aec1){_0x4b41d9=_0x4b41d9-0x157;let _0x1fdbf0=_0x457bd0[_0x4b41d9];return _0x1fdbf0;},_0x4b41(_0x5337fd,_0x19ea39);}export{n as default};function _0x457b(){const _0x5e1e9c=['Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Enable\x20authentication\x20for\x20secure\x20connections','API\x20key\x20is\x20required','Enter\x20your\x20API\x20key','MCP:\x20Invalid\x20API\x20Key','Retrying...','427BeLSyR','Disconnected','9wiBXYK','MCP\x20Client\x20Configuration','MCP:\x20Network\x20Error','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','672747IJRoWw','Click\x20to\x20configure\x20MCP','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20Key','Enable\x20Authentication','3830550NyOBzw','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Max\x20Retries','Copy\x20the\x20JSON\x20configuration\x20below','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Save\x20Configuration','API\x20key\x20with\x20Bearer\x20prefix.','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP\x20Connection\x20Failed','MCP\x20Connected','API\x20key\x20is\x20required\x20to\x20connect','652604nyTFzo','What\x20is\x20API\x20Key?','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\x20Unknown\x20Status','2247584peJSmJ','Invalid\x20configuration','49235crIOYH','Click\x20to\x20connect\x20MCP','Connecting...','Configuration\x20Parameters:','1878jlYljD','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Connection\x20Failed','Configuration\x20saved\x20successfully','Get\x20your\x20API\x20key\x20in\x20seconds','Saving...','101118IJFFrP','4pCwtJl','Failed\x20to\x20save\x20configuration','Session\x20ID','Configuration\x20Steps:'];_0x457b=function(){return _0x5e1e9c;};return _0x457b();}
1
+ function _0x14dd(_0x47c0a5,_0x5c23ba){const _0x542a7c=_0x542a();return _0x14dd=function(_0x14dd85,_0x32c70b){_0x14dd85=_0x14dd85-0x1cd;let _0xc8517=_0x542a7c[_0x14dd85];return _0xc8517;},_0x14dd(_0x47c0a5,_0x5c23ba);}function _0x542a(){const _0x398747=['MCP:\x20Network\x20Error','11829zRLzOK','315585CjRBjg','1001176cFiNhl','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','10BFYZjt','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','18xjygrp','197981qoWvHf','MCP\x20Connecting...','Univer\x20AI\x20Console','Saving...','MCP:\x20Unauthorized','Get\x20your\x20API\x20key\x20in\x20seconds','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','194453nRAsXi','Configuration\x20saved\x20successfully','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','584330FAeBJr','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','API\x20key\x20with\x20Bearer\x20prefix.','Enter\x20your\x20API\x20key','Configuration\x20Parameters:','Copy\x20the\x20JSON\x20configuration\x20below','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Configuration','Click\x20to\x20connect\x20MCP','Session\x20ID','MCP\x20Retrying...','API\x20key\x20is\x20required','What\x20is\x20API\x20Key?','Connection\x20Failed','Connected','MCP\x20Client\x20Configuration','Enable\x20authentication\x20for\x20secure\x20connections','325396GDglnv','MCP\x20Unknown\x20Status','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Invalid\x20configuration','Connecting...','88mmSGCg','Click\x20to\x20configure\x20MCP','Max\x20Retries','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Save\x20Configuration','Failed\x20to\x20save\x20configuration','8ruyCZt'];_0x542a=function(){return _0x398747;};return _0x542a();}const _0x21dc94=_0x14dd;(function(_0x4ad35a,_0x427dae){const _0x1ce7e2=_0x14dd,_0x3e17ed=_0x4ad35a();while(!![]){try{const _0x39d867=parseInt(_0x1ce7e2(0x1de))/0x1+parseInt(_0x1ce7e2(0x1f4))/0x2+-parseInt(_0x1ce7e2(0x1d0))/0x3*(parseInt(_0x1ce7e2(0x1f9))/0x4)+-parseInt(_0x1ce7e2(0x1e2))/0x5+parseInt(_0x1ce7e2(0x1d6))/0x6*(-parseInt(_0x1ce7e2(0x1d7))/0x7)+-parseInt(_0x1ce7e2(0x1ce))/0x8*(parseInt(_0x1ce7e2(0x1d1))/0x9)+-parseInt(_0x1ce7e2(0x1d4))/0xa*(-parseInt(_0x1ce7e2(0x1d2))/0xb);if(_0x39d867===_0x427dae)break;else _0x3e17ed['push'](_0x3e17ed['shift']());}catch(_0x5f57d0){_0x3e17ed['push'](_0x3e17ed['shift']());}}}(_0x542a,0x1e6e1));const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x21dc94(0x1d8),'connected':'MCP\x20Connected','failed':'MCP\x20Connection\x20Failed','retrying':_0x21dc94(0x1ed),'unknown':_0x21dc94(0x1f5),'unauthorized':_0x21dc94(0x1db),'sessionOccupied':_0x21dc94(0x1e9),'networkError':_0x21dc94(0x1cf),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x21dc94(0x1eb),'clickToConfigure':_0x21dc94(0x1fa)},'mcpConfig':{'title':_0x21dc94(0x1ea),'description':_0x21dc94(0x1fc),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x21dc94(0x1e5),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x21dc94(0x1f3),'connectionInfo':_0x21dc94(0x1f2),'mcpClientConfig':_0x21dc94(0x1f2),'configInstructions':_0x21dc94(0x1e0),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x21dc94(0x1e7),'configStep2':_0x21dc94(0x1d5),'configStep3':_0x21dc94(0x1e3),'sessionId':_0x21dc94(0x1ec),'sessionIdDescription':_0x21dc94(0x1d3),'authorizationDescription':_0x21dc94(0x1e4),'configParameters':_0x21dc94(0x1e6),'maxRetries':_0x21dc94(0x1fb),'save':_0x21dc94(0x1fe),'saving':_0x21dc94(0x1da),'note1':_0x21dc94(0x1e1),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x21dc94(0x1df),'configError':_0x21dc94(0x1cd),'apiApplyInfo':{'title':_0x21dc94(0x1ef),'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':_0x21dc94(0x1d9),'getStarted':_0x21dc94(0x1dc)},'validation':{'apiKeyRequired':_0x21dc94(0x1ee),'apiKeyTooShort':_0x21dc94(0x1f6),'invalidConfig':_0x21dc94(0x1f7),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x21dc94(0x1f8),'connected':_0x21dc94(0x1f1),'failed':_0x21dc94(0x1f0),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x21dc94(0x1e8),'sessionOccupied':_0x21dc94(0x1fd),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x21dc94(0x1dd)}}},n=e;export{n as default};
@@ -1 +1 @@
1
- const _0x2b0842=_0x1df6;function _0x2728(){const _0x30becd=['Click\x20to\x20connect\x20MCP','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Disconnected','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','Max\x20Retries','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','729894WHhMAG','Univer\x20AI\x20Console','Enter\x20your\x20API\x20key','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','1518ZXrWHM','11760AWrVPQ','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20Network\x20Error','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','1584996fiNSLi','Session\x20ID','MCP\x20Retrying...','Connected','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Disconnected','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','422795NskSyU','Configuration\x20saved\x20successfully','1406NJGoCb','Copy\x20the\x20JSON\x20configuration\x20below','Saving...','1392984Zrgdwk','301HKNDGI','949080ksgFhq','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Connected','Invalid\x20configuration','MCP:\x20Invalid\x20API\x20Key','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Save\x20Configuration','MCP:\x20Session\x20Occupied','Configuration\x20Steps:','Configuration\x20Parameters:','API\x20key\x20with\x20Bearer\x20prefix.','API\x20key\x20is\x20required\x20to\x20connect','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Client\x20Configuration','API\x20key\x20is\x20required'];_0x2728=function(){return _0x30becd;};return _0x2728();}function _0x1df6(_0x117823,_0x4327ca){const _0x272850=_0x2728();return _0x1df6=function(_0x1df670,_0x1bb2d6){_0x1df670=_0x1df670-0x18c;let _0x3610be=_0x272850[_0x1df670];return _0x3610be;},_0x1df6(_0x117823,_0x4327ca);}(function(_0x2ee5f8,_0x42e4f6){const _0x430947=_0x1df6,_0x3808ee=_0x2ee5f8();while(!![]){try{const _0x3e696a=-parseInt(_0x430947(0x18d))/0x1+parseInt(_0x430947(0x18f))/0x2*(parseInt(_0x430947(0x1af))/0x3)+parseInt(_0x430947(0x1b4))/0x4+-parseInt(_0x430947(0x194))/0x5+-parseInt(_0x430947(0x1ab))/0x6+-parseInt(_0x430947(0x193))/0x7*(-parseInt(_0x430947(0x1b0))/0x8)+parseInt(_0x430947(0x192))/0x9;if(_0x3e696a===_0x42e4f6)break;else _0x3808ee['push'](_0x3808ee['shift']());}catch(_0x5b62f6){_0x3808ee['push'](_0x3808ee['shift']());}}}(_0x2728,0x398ad));const e={'mcpStatus':{'disconnected':_0x2b0842(0x1b9),'connecting':'MCP\x20Connecting...','connected':_0x2b0842(0x196),'failed':'MCP\x20Connection\x20Failed','retrying':_0x2b0842(0x1b6),'unknown':'MCP\x20Unknown\x20Status','missingApiKey':'MCP:\x20API\x20Key\x20Missing','invalidApiKey':_0x2b0842(0x198),'sessionOccupied':_0x2b0842(0x19b),'networkError':_0x2b0842(0x1b2),'maxRetriesExceeded':_0x2b0842(0x1a0),'clickToConnect':_0x2b0842(0x1a3),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x2b0842(0x1a7),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x2b0842(0x1ad),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':'Enable\x20Authentication','enableAuthHint':_0x2b0842(0x1b8),'connectionInfo':_0x2b0842(0x1a1),'mcpClientConfig':_0x2b0842(0x1a1),'configInstructions':_0x2b0842(0x1a6),'configStepTitle':_0x2b0842(0x19c),'configStep1':_0x2b0842(0x190),'configStep2':_0x2b0842(0x18c),'configStep3':_0x2b0842(0x199),'sessionId':_0x2b0842(0x1b5),'sessionIdDescription':_0x2b0842(0x1a4),'authorizationDescription':_0x2b0842(0x19e),'configParameters':_0x2b0842(0x19d),'maxRetries':_0x2b0842(0x1a9),'save':_0x2b0842(0x19a),'saving':_0x2b0842(0x191),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x2b0842(0x1b3),'configSaved':_0x2b0842(0x18e),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x2b0842(0x1ae),'univerAiLabel':_0x2b0842(0x1ac),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x2b0842(0x1a2),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x2b0842(0x197),'invalidApiKey':_0x2b0842(0x195)},'connectionStatus':{'disconnected':_0x2b0842(0x1a5),'connecting':'Connecting...','connected':_0x2b0842(0x1b7),'failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'missingApiKey':_0x2b0842(0x19f),'invalidApiKey':_0x2b0842(0x1aa),'sessionOccupied':_0x2b0842(0x1a8),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0x2b0842(0x1b1)}}},n=e;export{n as default};
1
+ const _0x3f7a88=_0x4d5d;function _0x410b(){const _0x49b1c5=['API\x20Key','Disconnected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Configuration\x20saved\x20successfully','MCP\x20Retrying...','Univer\x20AI\x20Console','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20key\x20is\x20required','Saving...','124890upWKRx','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP:\x20Session\x20ID\x20Occupied','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','293781oQrOMY','1327350qokdVR','Copy\x20the\x20JSON\x20configuration\x20below','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','2MKMqnb','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.','Enable\x20Authentication','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','1114332XJaWAo','234OuEPhj','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Retrying...','Get\x20your\x20API\x20key\x20in\x20seconds','92184gqPjfO','Configuration\x20Parameters:','MCP\x20Disconnected','Connection\x20Failed','Session\x20ID','Connected','MCP:\x20Unauthorized','554337AKEoCE','Enable\x20authentication\x20for\x20secure\x20connections','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP\x20Client\x20Configuration','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Connecting...','Max\x20Retries','MCP\x20Connected','3718424rLQdqf','Connecting...','217vOtdGM','MCP:\x20Network\x20Error','MCP\x20Connection\x20Failed','Click\x20to\x20configure\x20MCP'];_0x410b=function(){return _0x49b1c5;};return _0x410b();}function _0x4d5d(_0x1eb909,_0xf8823d){const _0x410bbb=_0x410b();return _0x4d5d=function(_0x4d5dd0,_0x519049){_0x4d5dd0=_0x4d5dd0-0x162;let _0x2ac901=_0x410bbb[_0x4d5dd0];return _0x2ac901;},_0x4d5d(_0x1eb909,_0xf8823d);}(function(_0x3bf14f,_0x439756){const _0x4dc3a5=_0x4d5d,_0x223cd1=_0x3bf14f();while(!![]){try{const _0x14edb9=parseInt(_0x4dc3a5(0x16f))/0x1+parseInt(_0x4dc3a5(0x190))/0x2*(parseInt(_0x4dc3a5(0x18c))/0x3)+-parseInt(_0x4dc3a5(0x163))/0x4+parseInt(_0x4dc3a5(0x18d))/0x5+-parseInt(_0x4dc3a5(0x168))/0x6*(parseInt(_0x4dc3a5(0x17a))/0x7)+parseInt(_0x4dc3a5(0x178))/0x8+parseInt(_0x4dc3a5(0x164))/0x9*(-parseInt(_0x4dc3a5(0x187))/0xa);if(_0x14edb9===_0x439756)break;else _0x223cd1['push'](_0x223cd1['shift']());}catch(_0x453a20){_0x223cd1['push'](_0x223cd1['shift']());}}}(_0x410b,0x49f6c));const e={'mcpStatus':{'disconnected':_0x3f7a88(0x16a),'connecting':_0x3f7a88(0x175),'connected':_0x3f7a88(0x177),'failed':_0x3f7a88(0x17c),'retrying':_0x3f7a88(0x182),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x3f7a88(0x16e),'sessionOccupied':_0x3f7a88(0x18a),'networkError':_0x3f7a88(0x17b),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x3f7a88(0x17d)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x3f7a88(0x171),'apiKey':_0x3f7a88(0x17e),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x3f7a88(0x184),'enableAuth':_0x3f7a88(0x193),'enableAuthHint':_0x3f7a88(0x170),'connectionInfo':_0x3f7a88(0x172),'mcpClientConfig':_0x3f7a88(0x172),'configInstructions':_0x3f7a88(0x189),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x3f7a88(0x18e),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x3f7a88(0x18f),'sessionId':_0x3f7a88(0x16c),'sessionIdDescription':_0x3f7a88(0x192),'authorizationDescription':_0x3f7a88(0x174),'configParameters':_0x3f7a88(0x169),'maxRetries':_0x3f7a88(0x176),'save':'Save\x20Configuration','saving':_0x3f7a88(0x186),'note1':_0x3f7a88(0x18b),'note2':_0x3f7a88(0x180),'configSaved':_0x3f7a88(0x181),'configError':_0x3f7a88(0x191),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x3f7a88(0x165),'univerAiLabel':_0x3f7a88(0x183),'getStarted':_0x3f7a88(0x167)},'validation':{'apiKeyRequired':_0x3f7a88(0x185),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x3f7a88(0x173)},'connectionStatus':{'disconnected':_0x3f7a88(0x17f),'connecting':_0x3f7a88(0x179),'connected':_0x3f7a88(0x16d),'failed':_0x3f7a88(0x16b),'retrying':_0x3f7a88(0x166)},'connectionError':{'unauthorized':_0x3f7a88(0x188),'sessionOccupied':_0x3f7a88(0x162),'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 +1 @@
1
- const _0x2e8c81=_0x3831;function _0x5f13(){const _0x53a36b=['保存中...','API\x20密钥无效,请检查密钥是否正确','1268HlJuTH','MCP\x20重连中...','11LorTmx','将以下配置添加到您的\x20MCP\x20客户端设置中:','8784PVTwRx','14377760laRuCm','MCP\x20已连接','配置参数:','API\x20密钥不能为空','保存配置','您的\x20API\x20密钥安全存储在本地存储中','MCP\x20连接失败','超出最大重试次数,请稍后再试','连接失败','MCP\x20配置','您的\x20API\x20密钥将在此浏览器中本地存储','Univer\x20AI\x20控制台','点击配置\x20MCP','几秒钟内获取您的\x20API\x20密钥','852460JtyXNu','MCP:\x20缺少\x20API\x20密钥','启用身份验证以获得安全连接','网络连接错误,请检查您的网络连接','MCP:\x20超出最大重试次数','MCP:\x20网络错误','配置步骤:','MCP:\x20无效的\x20API\x20密钥','MCP:\x20会话被占用','什么是\x20API\x20密钥?','已连接','最大重试次数','重启您的\x20MCP\x20客户端以使配置生效','51690rUEdVE','将配置添加到您的\x20MCP\x20客户端设置文件中','点击连接\x20MCP','带有\x20Bearer\x20前缀的\x20API\x20密钥。','189qmTGuc','未连接','复制以下\x20JSON\x20配置','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','启用身份验证','759082cUPQTE','MCP\x20客户端配置','1yBDRQQ','973Cxrbxa','72400188bdMvrJ','API\x20密钥','配置\x20MCP\x20使用\x20AI\x20操作电子表格','MCP\x20连接中...','4817335YGVbLx','配置无效','API\x20密钥无效,请检查您的密钥后重试'];_0x5f13=function(){return _0x53a36b;};return _0x5f13();}function _0x3831(_0x3810a3,_0x5c2b43){const _0x5f1375=_0x5f13();return _0x3831=function(_0x383193,_0x5baac2){_0x383193=_0x383193-0x1db;let _0x3706d2=_0x5f1375[_0x383193];return _0x3706d2;},_0x3831(_0x3810a3,_0x5c2b43);}(function(_0xf0a1c3,_0x3ef4d8){const _0x10ae06=_0x3831,_0x3acd0c=_0xf0a1c3();while(!![]){try{const _0x55e0cd=-parseInt(_0x10ae06(0x1db))/0x1*(parseInt(_0x10ae06(0x20f))/0x2)+-parseInt(_0x10ae06(0x1ea))/0x3*(parseInt(_0x10ae06(0x1e6))/0x4)+parseInt(_0x10ae06(0x1e1))/0x5+-parseInt(_0x10ae06(0x206))/0x6*(parseInt(_0x10ae06(0x1dc))/0x7)+-parseInt(_0x10ae06(0x1eb))/0x8+-parseInt(_0x10ae06(0x20a))/0x9*(parseInt(_0x10ae06(0x1f9))/0xa)+-parseInt(_0x10ae06(0x1e8))/0xb*(-parseInt(_0x10ae06(0x1dd))/0xc);if(_0x55e0cd===_0x3ef4d8)break;else _0x3acd0c['push'](_0x3acd0c['shift']());}catch(_0x37daac){_0x3acd0c['push'](_0x3acd0c['shift']());}}}(_0x5f13,0xdcc24));const e={'mcpStatus':{'disconnected':'MCP\x20已断开','connecting':_0x2e8c81(0x1e0),'connected':_0x2e8c81(0x1ec),'failed':_0x2e8c81(0x1f1),'retrying':_0x2e8c81(0x1e7),'unknown':'MCP\x20状态未知','missingApiKey':_0x2e8c81(0x1fa),'invalidApiKey':_0x2e8c81(0x200),'sessionOccupied':_0x2e8c81(0x201),'networkError':_0x2e8c81(0x1fe),'maxRetriesExceeded':_0x2e8c81(0x1fd),'clickToConnect':_0x2e8c81(0x208),'clickToConfigure':_0x2e8c81(0x1f7)},'mcpConfig':{'title':_0x2e8c81(0x1f4),'description':_0x2e8c81(0x1df),'apiKey':_0x2e8c81(0x1de),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x2e8c81(0x1f5),'enableAuth':_0x2e8c81(0x20e),'enableAuthHint':_0x2e8c81(0x1fb),'connectionInfo':_0x2e8c81(0x210),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x2e8c81(0x1e9),'configStepTitle':_0x2e8c81(0x1ff),'configStep1':_0x2e8c81(0x20c),'configStep2':_0x2e8c81(0x207),'configStep3':_0x2e8c81(0x205),'sessionId':'会话ID','sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x2e8c81(0x209),'configParameters':_0x2e8c81(0x1ed),'maxRetries':_0x2e8c81(0x204),'save':_0x2e8c81(0x1ef),'saving':_0x2e8c81(0x1e4),'note1':'配置更改将立即生效','note2':_0x2e8c81(0x1f0),'configSaved':'配置保存成功','configError':'配置保存失败','apiApplyInfo':{'title':_0x2e8c81(0x202),'description':_0x2e8c81(0x20d),'univerAiLabel':_0x2e8c81(0x1f6),'getStarted':_0x2e8c81(0x1f8)},'validation':{'apiKeyRequired':_0x2e8c81(0x1ee),'apiKeyTooShort':'API\x20密钥长度至少需要\x2010\x20位','invalidConfig':_0x2e8c81(0x1e2),'invalidApiKey':_0x2e8c81(0x1e5)},'connectionStatus':{'disconnected':_0x2e8c81(0x20b),'connecting':'连接中...','connected':_0x2e8c81(0x203),'failed':_0x2e8c81(0x1f3),'retrying':'重连中...'},'connectionError':{'missingApiKey':'需要\x20API\x20密钥才能连接','invalidApiKey':_0x2e8c81(0x1e3),'sessionOccupied':'会话当前被占用,请稍后再试','networkError':_0x2e8c81(0x1fc),'maxRetriesExceeded':_0x2e8c81(0x1f2)}}};export{e as default};
1
+ function _0x2365(_0x247078,_0xad2bfb){const _0x50c166=_0x50c1();return _0x2365=function(_0x23653b,_0x2ddc9d){_0x23653b=_0x23653b-0x1d3;let _0x1a9c15=_0x50c166[_0x23653b];return _0x1a9c15;},_0x2365(_0x247078,_0xad2bfb);}const _0x12541e=_0x2365;(function(_0x90cd5c,_0x37ebc1){const _0x214026=_0x2365,_0x52bcbb=_0x90cd5c();while(!![]){try{const _0x1d5598=parseInt(_0x214026(0x1fa))/0x1*(-parseInt(_0x214026(0x207))/0x2)+parseInt(_0x214026(0x1d4))/0x3*(-parseInt(_0x214026(0x1d6))/0x4)+parseInt(_0x214026(0x1db))/0x5+-parseInt(_0x214026(0x1dd))/0x6+-parseInt(_0x214026(0x1f7))/0x7*(parseInt(_0x214026(0x1e6))/0x8)+-parseInt(_0x214026(0x1f3))/0x9+parseInt(_0x214026(0x1e7))/0xa;if(_0x1d5598===_0x37ebc1)break;else _0x52bcbb['push'](_0x52bcbb['shift']());}catch(_0x1bec2c){_0x52bcbb['push'](_0x52bcbb['shift']());}}}(_0x50c1,0x2694e));const e={'mcpStatus':{'disconnected':_0x12541e(0x1de),'connecting':_0x12541e(0x1dc),'connected':_0x12541e(0x1f5),'failed':_0x12541e(0x1fe),'retrying':_0x12541e(0x1fd),'unknown':_0x12541e(0x1df),'unauthorized':_0x12541e(0x1fc),'sessionOccupied':_0x12541e(0x1f9),'networkError':_0x12541e(0x1f6),'maxRetriesExceeded':_0x12541e(0x200),'clickToConnect':_0x12541e(0x1ee),'clickToConfigure':_0x12541e(0x1ef)},'mcpConfig':{'title':'MCP\x20配置','description':_0x12541e(0x1e3),'apiKey':_0x12541e(0x1d5),'apiKeyPlaceholder':_0x12541e(0x1e5),'apiKeyHint':_0x12541e(0x1f2),'enableAuth':_0x12541e(0x204),'enableAuthHint':_0x12541e(0x1f4),'connectionInfo':_0x12541e(0x201),'mcpClientConfig':'MCP\x20客户端配置','configInstructions':_0x12541e(0x1ec),'configStepTitle':_0x12541e(0x1e8),'configStep1':'复制以下\x20JSON\x20配置','configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x12541e(0x1f0),'sessionId':_0x12541e(0x1e0),'sessionIdDescription':_0x12541e(0x1d3),'authorizationDescription':_0x12541e(0x1d7),'configParameters':_0x12541e(0x1f1),'maxRetries':_0x12541e(0x1ed),'save':'保存配置','saving':_0x12541e(0x1e2),'note1':_0x12541e(0x1e4),'note2':_0x12541e(0x1fb),'configSaved':_0x12541e(0x205),'configError':_0x12541e(0x206),'apiApplyInfo':{'title':'什么是\x20API\x20密钥?','description':_0x12541e(0x1d9),'univerAiLabel':_0x12541e(0x1ff),'getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x12541e(0x1e1),'apiKeyTooShort':_0x12541e(0x1ea),'invalidConfig':_0x12541e(0x1f8),'invalidApiKey':'API\x20密钥无效,请检查密钥是否正确'},'connectionStatus':{'disconnected':_0x12541e(0x1da),'connecting':_0x12541e(0x203),'connected':'已连接','failed':_0x12541e(0x1d8),'retrying':'重连中...'},'connectionError':{'unauthorized':_0x12541e(0x1e9),'sessionOccupied':_0x12541e(0x1eb),'networkError':_0x12541e(0x202),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};function _0x50c1(){const _0x3b0a54=['连接失败','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','未连接','708480CQsqCw','MCP\x20连接中...','73266VabjdB','MCP\x20已断开','MCP\x20状态未知','会话ID','API\x20密钥不能为空','保存中...','配置\x20MCP\x20使用\x20AI\x20操作电子表格','配置更改将立即生效','请输入您的\x20API\x20密钥','838088nzonKf','4290900dtOQuX','配置步骤:','权限验证失败,请检查您的\x20API\x20密钥','API\x20密钥长度至少需要\x2010\x20位','会话\x20ID\x20已被占用,请稍后再试','将以下配置添加到您的\x20MCP\x20客户端设置中:','最大重试次数','点击连接\x20MCP','点击配置\x20MCP','重启您的\x20MCP\x20客户端以使配置生效','配置参数:','您的\x20API\x20密钥将在此浏览器中本地存储','1567710RUvSnp','启用身份验证以获得安全连接','MCP\x20已连接','MCP:\x20网络错误','7AVLBcf','配置无效','MCP:\x20会话\x20ID\x20已被占用','1scsEmQ','您的\x20API\x20密钥安全存储在本地存储中','MCP:\x20未授权','MCP\x20重连中...','MCP\x20连接失败','Univer\x20AI\x20控制台','MCP:\x20超出最大重试次数','MCP\x20客户端配置','网络连接错误,请检查您的网络连接','连接中...','启用身份验证','配置保存成功','配置保存失败','219138NhdpmG','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','3xWFBSa','API\x20密钥','48100nHmUyE','带有\x20Bearer\x20前缀的\x20API\x20密钥。'];_0x50c1=function(){return _0x3b0a54;};return _0x50c1();}export{e as default};
@@ -1 +1 @@
1
- function _0x57bd(_0x37c6bd,_0x54c609){const _0x57d224=_0x57d2();return _0x57bd=function(_0x57bd1d,_0x42f6e1){_0x57bd1d=_0x57bd1d-0x158;let _0x3133ca=_0x57d224[_0x57bd1d];return _0x3133ca;},_0x57bd(_0x37c6bd,_0x54c609);}const _0xed6058=_0x57bd;function _0x57d2(){const _0x124ca5=['Failed\x20to\x20save\x20configuration','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','338393lWkKML','Univer\x20AI\x20Console','MCP:\x20Max\x20Retries\x20Exceeded','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Click\x20to\x20connect\x20MCP','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Unknown\x20Status','Enable\x20Authentication','Disconnected','Max\x20Retries','Configuration\x20saved\x20successfully','Configuration\x20Parameters:','Session\x20is\x20currently\x20occupied.\x20Please\x20try\x20again\x20later','15wfYBtI','27uCizoN','Save\x20Configuration','API\x20key\x20with\x20Bearer\x20prefix.','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Saving...','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','API\x20key\x20is\x20required','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Configuration\x20Steps:','MCP:\x20Network\x20Error','197528PsNvtS','MCP:\x20Session\x20Occupied','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Invalid\x20API\x20key.\x20Please\x20check\x20your\x20key\x20and\x20try\x20again','Session\x20ID','49PQKmsB','MCP\x20Client\x20Configuration','1921750mgtbXu','Get\x20your\x20API\x20key\x20in\x20seconds','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Invalid\x20API\x20Key','API\x20Key','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Invalid\x20configuration','MCP\x20Configuration','247977VLWBfv','MCP:\x20API\x20Key\x20Missing','MCP\x20Disconnected','157002ucmwUu','Connecting...','75TlOcxL','303906fyVohW','What\x20is\x20API\x20Key?','MCP\x20Connection\x20Failed','MCP\x20Connecting...','Click\x20to\x20configure\x20MCP','API\x20key\x20is\x20required\x20to\x20connect','366276AWoGgj','252FpjRWf','Enter\x20your\x20API\x20key'];_0x57d2=function(){return _0x124ca5;};return _0x57d2();}(function(_0x972e21,_0x53d19d){const _0x1f920c=_0x57bd,_0x1e473f=_0x972e21();while(!![]){try{const _0x4b2e6f=parseInt(_0x1f920c(0x191))/0x1*(parseInt(_0x1f920c(0x176))/0x2)+-parseInt(_0x1f920c(0x158))/0x3*(-parseInt(_0x1f920c(0x17f))/0x4)+parseInt(_0x1f920c(0x178))/0x5*(-parseInt(_0x1f920c(0x179))/0x6)+parseInt(_0x1f920c(0x168))/0x7*(parseInt(_0x1f920c(0x163))/0x8)+parseInt(_0x1f920c(0x173))/0x9+-parseInt(_0x1f920c(0x16a))/0xa+-parseInt(_0x1f920c(0x184))/0xb*(parseInt(_0x1f920c(0x180))/0xc);if(_0x4b2e6f===_0x53d19d)break;else _0x1e473f['push'](_0x1e473f['shift']());}catch(_0x4bb655){_0x1e473f['push'](_0x1e473f['shift']());}}}(_0x57d2,0x9379f));const e={'mcpStatus':{'disconnected':_0xed6058(0x175),'connecting':_0xed6058(0x17c),'connected':'MCP\x20Connected','failed':_0xed6058(0x17b),'retrying':'MCP\x20Retrying...','unknown':_0xed6058(0x18a),'missingApiKey':_0xed6058(0x174),'invalidApiKey':_0xed6058(0x16d),'sessionOccupied':_0xed6058(0x164),'networkError':_0xed6058(0x162),'maxRetriesExceeded':_0xed6058(0x186),'clickToConnect':_0xed6058(0x188),'clickToConfigure':_0xed6058(0x17d)},'mcpConfig':{'title':_0xed6058(0x172),'description':_0xed6058(0x160),'apiKey':_0xed6058(0x16e),'apiKeyPlaceholder':_0xed6058(0x181),'apiKeyHint':_0xed6058(0x15e),'enableAuth':_0xed6058(0x18b),'enableAuthHint':_0xed6058(0x16c),'connectionInfo':_0xed6058(0x169),'mcpClientConfig':_0xed6058(0x169),'configInstructions':_0xed6058(0x183),'configStepTitle':_0xed6058(0x161),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0xed6058(0x165),'configStep3':_0xed6058(0x170),'sessionId':_0xed6058(0x167),'sessionIdDescription':_0xed6058(0x187),'authorizationDescription':_0xed6058(0x15a),'configParameters':_0xed6058(0x18f),'maxRetries':_0xed6058(0x18d),'save':_0xed6058(0x159),'saving':_0xed6058(0x15d),'note1':_0xed6058(0x16f),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0xed6058(0x18e),'configError':_0xed6058(0x182),'apiApplyInfo':{'title':_0xed6058(0x17a),'description':_0xed6058(0x15b),'univerAiLabel':_0xed6058(0x185),'getStarted':_0xed6058(0x16b)},'validation':{'apiKeyRequired':_0xed6058(0x15f),'apiKeyTooShort':_0xed6058(0x15c),'invalidConfig':_0xed6058(0x171),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0xed6058(0x18c),'connecting':_0xed6058(0x177),'connected':'Connected','failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'missingApiKey':_0xed6058(0x17e),'invalidApiKey':_0xed6058(0x166),'sessionOccupied':_0xed6058(0x190),'networkError':'Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','maxRetriesExceeded':_0xed6058(0x189)}}},n=e;export{n as default};
1
+ function _0x19cc(){const _0x4083e5=['Connecting...','Enter\x20your\x20API\x20key','MCP\x20Disconnected','128cwAmPy','Enable\x20authentication\x20for\x20secure\x20connections','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20Key','7582jtgwKE','76734OWZZEw','API\x20key\x20with\x20Bearer\x20prefix.','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Failed\x20to\x20save\x20configuration','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Connected','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','2650696QsZelq','MCP:\x20Unauthorized','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Saving...','Connected','Max\x20Retries','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Click\x20to\x20connect\x20MCP','Session\x20ID','122274zVlWCF','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','1887095oOeygo','Connection\x20Failed','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Configuration\x20saved\x20successfully','Univer\x20AI\x20Console','Enable\x20Authentication','MCP\x20Retrying...','MCP\x20Unknown\x20Status','Configuration\x20Parameters:','MCP\x20Configuration','8054010GtwcwQ','Click\x20to\x20configure\x20MCP','MCP\x20Connecting...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP\x20Client\x20Configuration','14pXZUhi','API\x20key\x20is\x20required','MCP:\x20Network\x20Error','55572ucPWOD','MCP\x20Connection\x20Failed'];_0x19cc=function(){return _0x4083e5;};return _0x19cc();}const _0x180207=_0x1df3;(function(_0x407296,_0x12d8bb){const _0x21b7a8=_0x1df3,_0x558b98=_0x407296();while(!![]){try{const _0x3afaa9=-parseInt(_0x21b7a8(0x95))/0x1*(-parseInt(_0x21b7a8(0x91))/0x2)+-parseInt(_0x21b7a8(0x96))/0x3+parseInt(_0x21b7a8(0x8c))/0x4+parseInt(_0x21b7a8(0x7a))/0x5+parseInt(_0x21b7a8(0xa8))/0x6*(-parseInt(_0x21b7a8(0x89))/0x7)+parseInt(_0x21b7a8(0x9f))/0x8+-parseInt(_0x21b7a8(0x84))/0x9;if(_0x3afaa9===_0x12d8bb)break;else _0x558b98['push'](_0x558b98['shift']());}catch(_0x22e4cc){_0x558b98['push'](_0x558b98['shift']());}}}(_0x19cc,0x3c38f));function _0x1df3(_0x52312c,_0x5e57eb){const _0x19cc0c=_0x19cc();return _0x1df3=function(_0x1df3ac,_0x7e5790){_0x1df3ac=_0x1df3ac-0x7a;let _0x2ee0df=_0x19cc0c[_0x1df3ac];return _0x2ee0df;},_0x1df3(_0x52312c,_0x5e57eb);}const e={'mcpStatus':{'disconnected':_0x180207(0x90),'connecting':_0x180207(0x86),'connected':_0x180207(0x9b),'failed':_0x180207(0x8d),'retrying':_0x180207(0x80),'unknown':_0x180207(0x81),'unauthorized':_0x180207(0xa0),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x180207(0x8b),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x180207(0xa6),'clickToConfigure':_0x180207(0x85)},'mcpConfig':{'title':_0x180207(0x83),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x180207(0x94),'apiKeyPlaceholder':_0x180207(0x8f),'apiKeyHint':_0x180207(0xa9),'enableAuth':_0x180207(0x7f),'enableAuthHint':_0x180207(0x92),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x180207(0x88),'configInstructions':_0x180207(0xa1),'configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x180207(0xa5),'configStep3':_0x180207(0x9a),'sessionId':_0x180207(0xa7),'sessionIdDescription':_0x180207(0x7c),'authorizationDescription':_0x180207(0x97),'configParameters':_0x180207(0x82),'maxRetries':_0x180207(0xa4),'save':'Save\x20Configuration','saving':_0x180207(0xa2),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x180207(0x7d),'configError':_0x180207(0x99),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x180207(0x9c),'univerAiLabel':_0x180207(0x7e),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x180207(0x8a),'apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x180207(0x9d)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x180207(0x8e),'connected':_0x180207(0xa3),'failed':_0x180207(0x7b),'retrying':'Retrying...'},'connectionError':{'unauthorized':_0x180207(0x9e),'sessionOccupied':_0x180207(0x87),'networkError':_0x180207(0x93),'maxRetriesExceeded':_0x180207(0x98)}}},n=e;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