@univerjs-pro/mcp-ui 0.10.9 → 0.10.10-experimental.20251010-3f807c5

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 +9 -9
@@ -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
+ const _0x16d3ea=_0x146c;function _0x146c(_0x439659,_0x558863){const _0x2ff3b2=_0x2ff3();return _0x146c=function(_0x146ce5,_0x4d0d92){_0x146ce5=_0x146ce5-0x17b;let _0x8a89e1=_0x2ff3b2[_0x146ce5];return _0x8a89e1;},_0x146c(_0x439659,_0x558863);}(function(_0x1c0b70,_0xbd665f){const _0x59dce8=_0x146c,_0x5e5a7d=_0x1c0b70();while(!![]){try{const _0x146cb8=-parseInt(_0x59dce8(0x17c))/0x1*(-parseInt(_0x59dce8(0x1a6))/0x2)+parseInt(_0x59dce8(0x1a7))/0x3*(parseInt(_0x59dce8(0x186))/0x4)+-parseInt(_0x59dce8(0x180))/0x5*(parseInt(_0x59dce8(0x18d))/0x6)+-parseInt(_0x59dce8(0x17e))/0x7*(parseInt(_0x59dce8(0x18e))/0x8)+parseInt(_0x59dce8(0x1a0))/0x9*(parseInt(_0x59dce8(0x18a))/0xa)+parseInt(_0x59dce8(0x184))/0xb*(-parseInt(_0x59dce8(0x193))/0xc)+parseInt(_0x59dce8(0x19b))/0xd;if(_0x146cb8===_0xbd665f)break;else _0x5e5a7d['push'](_0x5e5a7d['shift']());}catch(_0x3056cd){_0x5e5a7d['push'](_0x5e5a7d['shift']());}}}(_0x2ff3,0x6862b));function _0x2ff3(){const _0x518664=['3717STxJNa','Configuration\x20saved\x20successfully','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Disconnected','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Configuration\x20Parameters:','1814TnBMAz','1952346AdStnm','Saving...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP:\x20Unauthorized','941CYtwvE','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','7WwoOyl','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','5cCOxvG','Get\x20your\x20API\x20key\x20in\x20seconds','MCP\x20Disconnected','Session\x20ID','55KNKlco','Connection\x20Failed','4kwApeo','API\x20key\x20with\x20Bearer\x20prefix.','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Enable\x20Authentication','3560BwVMuB','MCP:\x20Max\x20Retries\x20Exceeded','Configuration\x20Steps:','907884ZqBIgA','2897792UYTfbd','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\x20if\x20the\x20key\x20is\x20correct','MCP:\x20Network\x20Error','Retrying...','1968660GUFRTJ','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','MCP:\x20Session\x20ID\x20Occupied','MCP\x20Connecting...','MCP\x20Client\x20Configuration','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Failed\x20to\x20save\x20configuration','1431027LjGpkA','API\x20key\x20is\x20required','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','What\x20is\x20API\x20Key?','MCP\x20Connection\x20Failed'];_0x2ff3=function(){return _0x518664;};return _0x2ff3();}const e={'mcpStatus':{'disconnected':_0x16d3ea(0x182),'connecting':_0x16d3ea(0x197),'connected':'MCP\x20Connected','failed':_0x16d3ea(0x19f),'retrying':'MCP\x20Retrying...','unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x16d3ea(0x17b),'sessionOccupied':_0x16d3ea(0x196),'networkError':_0x16d3ea(0x191),'maxRetriesExceeded':_0x16d3ea(0x18b),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x16d3ea(0x189),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':_0x16d3ea(0x198),'mcpClientConfig':_0x16d3ea(0x198),'configInstructions':_0x16d3ea(0x17d),'configStepTitle':_0x16d3ea(0x18c),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x16d3ea(0x17f),'configStep3':_0x16d3ea(0x1a4),'sessionId':_0x16d3ea(0x183),'sessionIdDescription':_0x16d3ea(0x18f),'authorizationDescription':_0x16d3ea(0x187),'configParameters':_0x16d3ea(0x1a5),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':_0x16d3ea(0x1a8),'note1':_0x16d3ea(0x199),'note2':_0x16d3ea(0x194),'configSaved':_0x16d3ea(0x1a1),'configError':_0x16d3ea(0x19a),'apiApplyInfo':{'title':_0x16d3ea(0x19e),'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':_0x16d3ea(0x181)},'validation':{'apiKeyRequired':_0x16d3ea(0x19c),'apiKeyTooShort':_0x16d3ea(0x1a2),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x16d3ea(0x190)},'connectionStatus':{'disconnected':_0x16d3ea(0x1a3),'connecting':'Connecting...','connected':'Connected','failed':_0x16d3ea(0x185),'retrying':_0x16d3ea(0x192)},'connectionError':{'unauthorized':_0x16d3ea(0x1a9),'sessionOccupied':_0x16d3ea(0x195),'networkError':_0x16d3ea(0x188),'maxRetriesExceeded':_0x16d3ea(0x19d)}}},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 _0x5de3cd=_0x2546;(function(_0x53907c,_0x6f130f){const _0x2cb038=_0x2546,_0x333dd0=_0x53907c();while(!![]){try{const _0x1687e0=-parseInt(_0x2cb038(0x198))/0x1+-parseInt(_0x2cb038(0x196))/0x2*(parseInt(_0x2cb038(0x1a3))/0x3)+parseInt(_0x2cb038(0x19d))/0x4+parseInt(_0x2cb038(0x1a4))/0x5*(-parseInt(_0x2cb038(0x19a))/0x6)+-parseInt(_0x2cb038(0x188))/0x7+parseInt(_0x2cb038(0x192))/0x8*(-parseInt(_0x2cb038(0x195))/0x9)+-parseInt(_0x2cb038(0x19b))/0xa*(-parseInt(_0x2cb038(0x178))/0xb);if(_0x1687e0===_0x6f130f)break;else _0x333dd0['push'](_0x333dd0['shift']());}catch(_0x284b6d){_0x333dd0['push'](_0x333dd0['shift']());}}}(_0x39b4,0xbe369));const e={'mcpStatus':{'disconnected':_0x5de3cd(0x197),'connecting':_0x5de3cd(0x194),'connected':_0x5de3cd(0x1ac),'failed':_0x5de3cd(0x19e),'retrying':_0x5de3cd(0x177),'unknown':_0x5de3cd(0x18a),'unauthorized':_0x5de3cd(0x18b),'sessionOccupied':_0x5de3cd(0x18e),'networkError':_0x5de3cd(0x179),'maxRetriesExceeded':_0x5de3cd(0x17f),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x5de3cd(0x18f)},'mcpConfig':{'title':_0x5de3cd(0x1ae),'description':_0x5de3cd(0x1a0),'apiKey':_0x5de3cd(0x17c),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x5de3cd(0x193),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x5de3cd(0x190),'connectionInfo':_0x5de3cd(0x186),'mcpClientConfig':_0x5de3cd(0x186),'configInstructions':_0x5de3cd(0x17e),'configStepTitle':_0x5de3cd(0x17a),'configStep1':_0x5de3cd(0x187),'configStep2':_0x5de3cd(0x191),'configStep3':_0x5de3cd(0x1ad),'sessionId':_0x5de3cd(0x19f),'sessionIdDescription':_0x5de3cd(0x1a5),'authorizationDescription':_0x5de3cd(0x199),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x5de3cd(0x183),'saving':_0x5de3cd(0x180),'note1':_0x5de3cd(0x1ab),'note2':_0x5de3cd(0x181),'configSaved':_0x5de3cd(0x18d),'configError':_0x5de3cd(0x189),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x5de3cd(0x182),'univerAiLabel':_0x5de3cd(0x184),'getStarted':_0x5de3cd(0x18c)},'validation':{'apiKeyRequired':_0x5de3cd(0x185),'apiKeyTooShort':_0x5de3cd(0x1a7),'invalidConfig':_0x5de3cd(0x17b),'invalidApiKey':_0x5de3cd(0x1a9)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x5de3cd(0x1a6),'connected':_0x5de3cd(0x19c),'failed':_0x5de3cd(0x17d),'retrying':_0x5de3cd(0x1a2)},'connectionError':{'unauthorized':_0x5de3cd(0x1a1),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x5de3cd(0x1aa),'maxRetriesExceeded':_0x5de3cd(0x1a8)}}},n=e;function _0x2546(_0x4d9c4f,_0x510bec){const _0x39b442=_0x39b4();return _0x2546=function(_0x2546ae,_0x385936){_0x2546ae=_0x2546ae-0x177;let _0x27b4e9=_0x39b442[_0x2546ae];return _0x27b4e9;},_0x2546(_0x4d9c4f,_0x510bec);}function _0x39b4(){const _0x3b1b8b=['42UeAyAZ','10820gCixOz','Connected','5636028CpLirV','MCP\x20Connection\x20Failed','Session\x20ID','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Retrying...','63969xvtSEW','1095455qZYmxk','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Connecting...','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP\x20Connected','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Configuration','MCP\x20Retrying...','45551oFjyPn','MCP:\x20Network\x20Error','Configuration\x20Steps:','Invalid\x20configuration','API\x20Key','Connection\x20Failed','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP:\x20Max\x20Retries\x20Exceeded','Saving...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Save\x20Configuration','Univer\x20AI\x20Console','API\x20key\x20is\x20required','MCP\x20Client\x20Configuration','Copy\x20the\x20JSON\x20configuration\x20below','10705275nvOMIO','Failed\x20to\x20save\x20configuration','MCP\x20Unknown\x20Status','MCP:\x20Unauthorized','Get\x20your\x20API\x20key\x20in\x20seconds','Configuration\x20saved\x20successfully','MCP:\x20Session\x20ID\x20Occupied','Click\x20to\x20configure\x20MCP','Enable\x20authentication\x20for\x20secure\x20connections','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','5112Vcmbbd','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Connecting...','7038dXuhuO','40LqptgF','MCP\x20Disconnected','1121336qlUaos','API\x20key\x20with\x20Bearer\x20prefix.'];_0x39b4=function(){return _0x3b1b8b;};return _0x39b4();}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
+ const _0x29ab7a=_0x3349;function _0x3349(_0x2eaa77,_0x5789fe){const _0x1e428b=_0x1e42();return _0x3349=function(_0x3349bd,_0x1b77d0){_0x3349bd=_0x3349bd-0x170;let _0x2471d1=_0x1e428b[_0x3349bd];return _0x2471d1;},_0x3349(_0x2eaa77,_0x5789fe);}(function(_0xdffaee,_0x39ea44){const _0x22908e=_0x3349,_0x56ab02=_0xdffaee();while(!![]){try{const _0x4dc0cd=parseInt(_0x22908e(0x175))/0x1*(parseInt(_0x22908e(0x1a1))/0x2)+-parseInt(_0x22908e(0x184))/0x3*(parseInt(_0x22908e(0x18e))/0x4)+parseInt(_0x22908e(0x19f))/0x5+-parseInt(_0x22908e(0x192))/0x6*(parseInt(_0x22908e(0x178))/0x7)+-parseInt(_0x22908e(0x19c))/0x8*(-parseInt(_0x22908e(0x19d))/0x9)+-parseInt(_0x22908e(0x17f))/0xa+parseInt(_0x22908e(0x198))/0xb;if(_0x4dc0cd===_0x39ea44)break;else _0x56ab02['push'](_0x56ab02['shift']());}catch(_0x49f125){_0x56ab02['push'](_0x56ab02['shift']());}}}(_0x1e42,0xa4a8b));const e={'mcpStatus':{'disconnected':_0x29ab7a(0x18c),'connecting':_0x29ab7a(0x180),'connected':_0x29ab7a(0x183),'failed':_0x29ab7a(0x194),'retrying':'MCP\x20重连中...','unknown':'MCP\x20状态未知','unauthorized':_0x29ab7a(0x17b),'sessionOccupied':_0x29ab7a(0x17a),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':'点击连接\x20MCP','clickToConfigure':_0x29ab7a(0x185)},'mcpConfig':{'title':_0x29ab7a(0x173),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x29ab7a(0x18b),'apiKeyPlaceholder':_0x29ab7a(0x199),'apiKeyHint':_0x29ab7a(0x177),'enableAuth':_0x29ab7a(0x172),'enableAuthHint':_0x29ab7a(0x19b),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x29ab7a(0x195),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':_0x29ab7a(0x188),'configStep1':_0x29ab7a(0x179),'configStep2':_0x29ab7a(0x182),'configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0x29ab7a(0x1a0),'sessionIdDescription':_0x29ab7a(0x19a),'authorizationDescription':_0x29ab7a(0x189),'configParameters':'配置参数:','maxRetries':'最大重试次数','save':_0x29ab7a(0x181),'saving':_0x29ab7a(0x18d),'note1':_0x29ab7a(0x190),'note2':'您的\x20API\x20密钥安全存储在本地存储中','configSaved':_0x29ab7a(0x18f),'configError':_0x29ab7a(0x18a),'apiApplyInfo':{'title':_0x29ab7a(0x17d),'description':_0x29ab7a(0x19e),'univerAiLabel':_0x29ab7a(0x176),'getStarted':_0x29ab7a(0x171)},'validation':{'apiKeyRequired':_0x29ab7a(0x17c),'apiKeyTooShort':_0x29ab7a(0x186),'invalidConfig':'配置无效','invalidApiKey':_0x29ab7a(0x193)},'connectionStatus':{'disconnected':'未连接','connecting':_0x29ab7a(0x170),'connected':_0x29ab7a(0x174),'failed':_0x29ab7a(0x197),'retrying':_0x29ab7a(0x191)},'connectionError':{'unauthorized':_0x29ab7a(0x196),'sessionOccupied':_0x29ab7a(0x187),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x29ab7a(0x17e)}}};function _0x1e42(){const _0x20b2fc=['会话\x20ID\x20已被占用,请稍后再试','配置步骤:','带有\x20Bearer\x20前缀的\x20API\x20密钥。','配置保存失败','API\x20密钥','MCP\x20已断开','保存中...','16yJFiax','配置保存成功','配置更改将立即生效','重连中...','1174644GHCcxn','API\x20密钥无效,请检查密钥是否正确','MCP\x20连接失败','MCP\x20客户端配置','权限验证失败,请检查您的\x20API\x20密钥','连接失败','11648417whsUwB','请输入您的\x20API\x20密钥','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','启用身份验证以获得安全连接','1912sIiwaJ','2655ypjcIN','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','6577470FKvcke','会话ID','496810CZHrIj','连接中...','几秒钟内获取您的\x20API\x20密钥','启用身份验证','MCP\x20配置','已连接','3TfRfGe','Univer\x20AI\x20控制台','您的\x20API\x20密钥将在此浏览器中本地存储','35YFVLVz','复制以下\x20JSON\x20配置','MCP:\x20会话\x20ID\x20已被占用','MCP:\x20未授权','API\x20密钥不能为空','什么是\x20API\x20密钥?','超出最大重试次数,请稍后再试','3841320UYzuas','MCP\x20连接中...','保存配置','将配置添加到您的\x20MCP\x20客户端设置文件中','MCP\x20已连接','864537IlFUYM','点击配置\x20MCP','API\x20密钥长度至少需要\x2010\x20位'];_0x1e42=function(){return _0x20b2fc;};return _0x1e42();}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 _0x5cad(_0x832d8f,_0x1be96a){const _0x5bef85=_0x5bef();return _0x5cad=function(_0x5cad3e,_0x34b3f9){_0x5cad3e=_0x5cad3e-0x176;let _0x353408=_0x5bef85[_0x5cad3e];return _0x353408;},_0x5cad(_0x832d8f,_0x1be96a);}const _0x4dc154=_0x5cad;(function(_0x464de1,_0x41d1f6){const _0x41ffa1=_0x5cad,_0x3520e4=_0x464de1();while(!![]){try{const _0x195e79=parseInt(_0x41ffa1(0x1a1))/0x1*(-parseInt(_0x41ffa1(0x189))/0x2)+-parseInt(_0x41ffa1(0x1a5))/0x3+-parseInt(_0x41ffa1(0x182))/0x4+parseInt(_0x41ffa1(0x1a2))/0x5*(-parseInt(_0x41ffa1(0x17f))/0x6)+-parseInt(_0x41ffa1(0x199))/0x7+parseInt(_0x41ffa1(0x19d))/0x8+parseInt(_0x41ffa1(0x192))/0x9*(parseInt(_0x41ffa1(0x19e))/0xa);if(_0x195e79===_0x41d1f6)break;else _0x3520e4['push'](_0x3520e4['shift']());}catch(_0x59b3a6){_0x3520e4['push'](_0x3520e4['shift']());}}}(_0x5bef,0x74ad8));function _0x5bef(){const _0x2055ff=['Enable\x20authentication\x20for\x20secure\x20connections','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','MCP\x20Connected','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20key\x20with\x20Bearer\x20prefix.','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','108468aFZasP','MCP\x20Unknown\x20Status','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Save\x20Configuration','MCP\x20Disconnected','Connecting...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','4287948cDDwOi','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Configuration','MCP\x20Client\x20Configuration','5491792jBmtaH','1930BdTrls','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','541303lJMErN','120710jBCgje','MCP:\x20Unauthorized','Retrying...','2484624PqvKUz','Enable\x20Authentication','Configuration\x20Steps:','Get\x20your\x20API\x20key\x20in\x20seconds','Univer\x20AI\x20Console','MCP:\x20Network\x20Error','Enter\x20your\x20API\x20key','MCP\x20Retrying...','Copy\x20the\x20JSON\x20configuration\x20below','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Click\x20to\x20configure\x20MCP','12buCefO','MCP:\x20Session\x20ID\x20Occupied','Configuration\x20saved\x20successfully','2016956sWMDES','Configuration\x20Parameters:','Connected','API\x20key\x20is\x20required','Session\x20ID','Saving...','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','2SaCwtf','Disconnected','Click\x20to\x20connect\x20MCP'];_0x5bef=function(){return _0x2055ff;};return _0x5bef();}const e={'mcpStatus':{'disconnected':_0x4dc154(0x196),'connecting':'MCP\x20Connecting...','connected':_0x4dc154(0x18e),'failed':'MCP\x20Connection\x20Failed','retrying':_0x4dc154(0x17b),'unknown':_0x4dc154(0x193),'unauthorized':_0x4dc154(0x1a3),'sessionOccupied':_0x4dc154(0x180),'networkError':_0x4dc154(0x179),'maxRetriesExceeded':_0x4dc154(0x19a),'clickToConnect':_0x4dc154(0x18b),'clickToConfigure':_0x4dc154(0x17e)},'mcpConfig':{'title':_0x4dc154(0x19b),'description':_0x4dc154(0x194),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x4dc154(0x17a),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x4dc154(0x1a6),'enableAuthHint':_0x4dc154(0x18c),'connectionInfo':_0x4dc154(0x19c),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x4dc154(0x18f),'configStepTitle':_0x4dc154(0x176),'configStep1':_0x4dc154(0x17c),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x4dc154(0x18d),'sessionId':_0x4dc154(0x186),'sessionIdDescription':_0x4dc154(0x188),'authorizationDescription':_0x4dc154(0x190),'configParameters':_0x4dc154(0x183),'maxRetries':'Max\x20Retries','save':_0x4dc154(0x195),'saving':_0x4dc154(0x187),'note1':_0x4dc154(0x191),'note2':_0x4dc154(0x198),'configSaved':_0x4dc154(0x181),'configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x4dc154(0x1a0),'univerAiLabel':_0x4dc154(0x178),'getStarted':_0x4dc154(0x177)},'validation':{'apiKeyRequired':_0x4dc154(0x185),'apiKeyTooShort':_0x4dc154(0x17d),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x4dc154(0x18a),'connecting':_0x4dc154(0x197),'connected':_0x4dc154(0x184),'failed':'Connection\x20Failed','retrying':_0x4dc154(0x1a4)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x4dc154(0x19f),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}},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