@univerjs-pro/mcp-ui 0.17.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.css +537 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/commands/mcp-config.command.d.ts +1 -1
- package/lib/types/controllers/menu.d.ts +2 -2
- package/lib/types/controllers/menu.schema.d.ts +1 -1
- package/lib/types/locale/ca-ES.d.ts +1 -1
- package/lib/types/locale/es-ES.d.ts +1 -1
- package/lib/types/locale/fa-IR.d.ts +1 -1
- package/lib/types/locale/fr-FR.d.ts +1 -1
- package/lib/types/locale/ja-JP.d.ts +1 -1
- package/lib/types/locale/ko-KR.d.ts +1 -1
- package/lib/types/locale/ru-RU.d.ts +1 -1
- package/lib/types/locale/sk-SK.d.ts +1 -1
- package/lib/types/locale/vi-VN.d.ts +1 -1
- package/lib/types/locale/zh-TW.d.ts +1 -1
- package/lib/types/plugin.d.ts +1 -1
- package/lib/types/views/components/mcp-config.d.ts +4 -3
- package/lib/types/views/components/mcp-status.d.ts +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +11 -10
package/lib/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3327a5=_0x3834;(function(_0xf8de65,_0x332a48){const _0x294ee5=_0x3834,_0xdcdaca=_0xf8de65();while(!![]){try{const _0x5a33b0=-parseInt(_0x294ee5(0x137))/0x1*(-parseInt(_0x294ee5(0x13b))/0x2)+-parseInt(_0x294ee5(0x122))/0x3+parseInt(_0x294ee5(0x14b))/0x4+parseInt(_0x294ee5(0x125))/0x5+-parseInt(_0x294ee5(0x12d))/0x6+parseInt(_0x294ee5(0x14d))/0x7*(parseInt(_0x294ee5(0x129))/0x8)+parseInt(_0x294ee5(0x120))/0x9*(-parseInt(_0x294ee5(0x136))/0xa);if(_0x5a33b0===_0x332a48)break;else _0xdcdaca['push'](_0xdcdaca['shift']());}catch(_0x11c83b){_0xdcdaca['push'](_0xdcdaca['shift']());}}}(_0x4dc7,0xbfa1e));function _0x4dc7(){const _0x5277e0=['MCP\x20Client\x20Configuration','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Session\x20ID\x20Occupied','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Save\x20Configuration','5916964MeaJAi','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','7IQUHtv','Univer\x20AI\x20Console','Configuration\x20Steps:','Invalid\x20configuration','API\x20key\x20with\x20Bearer\x20prefix.','3124593NamnJZ','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','2910420eXTbSH','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP:\x20Unauthorized','7406640GJVbSV','Enable\x20Authentication','Copy\x20the\x20JSON\x20configuration\x20below','Configuration\x20saved\x20successfully','4209904xvgyjd','Connection\x20Failed','MCP\x20Unknown\x20Status','API\x20Key','6123570WywhYt','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Connecting...','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Disconnected','MCP\x20Retrying...','Click\x20to\x20configure\x20MCP','Failed\x20to\x20save\x20configuration','50WQcHmu','1024739HMubmV','MCP\x20Connected','MCP\x20Connection\x20Failed','Session\x20ID','2OvtyWo','Connected','MCP\x20Connecting...','Disconnected','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','What\x20is\x20API\x20Key?','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Retrying...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later'];_0x4dc7=function(){return _0x5277e0;};return _0x4dc7();}const e={'mcpStatus':{'disconnected':_0x3327a5(0x132),'connecting':_0x3327a5(0x13d),'connected':_0x3327a5(0x138),'failed':_0x3327a5(0x139),'retrying':_0x3327a5(0x133),'unknown':_0x3327a5(0x12b),'unauthorized':_0x3327a5(0x124),'sessionOccupied':_0x3327a5(0x148),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x3327a5(0x131),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x3327a5(0x134)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x3327a5(0x13f),'apiKey':_0x3327a5(0x12c),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x3327a5(0x14c),'enableAuth':_0x3327a5(0x126),'enableAuthHint':_0x3327a5(0x147),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x3327a5(0x146),'configInstructions':_0x3327a5(0x130),'configStepTitle':_0x3327a5(0x14f),'configStep1':_0x3327a5(0x127),'configStep2':_0x3327a5(0x121),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x3327a5(0x13a),'sessionIdDescription':_0x3327a5(0x149),'authorizationDescription':_0x3327a5(0x11f),'configParameters':'Configuration\x20Parameters:','maxRetries':'Max\x20Retries','save':_0x3327a5(0x14a),'saving':'Saving...','note1':_0x3327a5(0x140),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x3327a5(0x128),'configError':_0x3327a5(0x135),'apiApplyInfo':{'title':_0x3327a5(0x141),'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':_0x3327a5(0x14e),'getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x3327a5(0x12e),'invalidConfig':_0x3327a5(0x150),'invalidApiKey':_0x3327a5(0x123)},'connectionStatus':{'disconnected':_0x3327a5(0x13e),'connecting':_0x3327a5(0x12f),'connected':_0x3327a5(0x13c),'failed':_0x3327a5(0x12a),'retrying':_0x3327a5(0x144)},'connectionError':{'unauthorized':_0x3327a5(0x143),'sessionOccupied':_0x3327a5(0x145),'networkError':_0x3327a5(0x142),'maxRetriesExceeded':'Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later'}}};function _0x3834(_0x482d22,_0x361664){_0x482d22=_0x482d22-0x11f;const _0x4dc7e3=_0x4dc7();let _0x3834b5=_0x4dc7e3[_0x482d22];return _0x3834b5;}export{e as default};
|
package/lib/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5e168e=_0x1642;(function(_0xc9934a,_0x11bb4a){const _0x3aaefe=_0x1642,_0x4d76be=_0xc9934a();while(!![]){try{const _0x4e6df5=-parseInt(_0x3aaefe(0x205))/0x1+-parseInt(_0x3aaefe(0x1e2))/0x2*(parseInt(_0x3aaefe(0x201))/0x3)+parseInt(_0x3aaefe(0x1ee))/0x4+parseInt(_0x3aaefe(0x1ed))/0x5+-parseInt(_0x3aaefe(0x1ec))/0x6+-parseInt(_0x3aaefe(0x1de))/0x7+parseInt(_0x3aaefe(0x1f5))/0x8*(parseInt(_0x3aaefe(0x1ea))/0x9);if(_0x4e6df5===_0x11bb4a)break;else _0x4d76be['push'](_0x4d76be['shift']());}catch(_0x33dcf1){_0x4d76be['push'](_0x4d76be['shift']());}}}(_0x50bb,0x8a5e9));const e={'mcpStatus':{'disconnected':_0x5e168e(0x204),'connecting':'MCP\x20sa\x20pripája...','connected':_0x5e168e(0x1f9),'failed':'Pripojenie\x20MCP\x20zlyhalo','retrying':_0x5e168e(0x1ff),'unknown':_0x5e168e(0x200),'unauthorized':'MCP:\x20Neautorizované','sessionOccupied':_0x5e168e(0x1e1),'networkError':_0x5e168e(0x1f6),'maxRetriesExceeded':_0x5e168e(0x208),'clickToConnect':_0x5e168e(0x1da),'clickToConfigure':'Kliknite\x20na\x20konfiguráciu\x20MCP'},'mcpConfig':{'title':'Konfigurácia\x20MCP','description':_0x5e168e(0x1df),'apiKey':_0x5e168e(0x1e3),'apiKeyPlaceholder':_0x5e168e(0x206),'apiKeyHint':_0x5e168e(0x1e5),'enableAuth':_0x5e168e(0x203),'enableAuthHint':_0x5e168e(0x207),'connectionInfo':'Konfigurácia\x20klienta\x20MCP','mcpClientConfig':_0x5e168e(0x1ef),'configInstructions':_0x5e168e(0x1fb),'configStepTitle':'Kroky\x20konfigurácie:','configStep1':_0x5e168e(0x1dc),'configStep2':_0x5e168e(0x1db),'configStep3':_0x5e168e(0x1eb),'sessionId':'ID\x20relácie','sessionIdDescription':_0x5e168e(0x202),'authorizationDescription':_0x5e168e(0x1e6),'configParameters':_0x5e168e(0x1f1),'maxRetries':_0x5e168e(0x1f0),'save':_0x5e168e(0x209),'saving':_0x5e168e(0x1d8),'note1':'Zmeny\x20konfigurácie\x20sa\x20prejavia\x20okamžite','note2':_0x5e168e(0x1f8),'configSaved':_0x5e168e(0x1e8),'configError':_0x5e168e(0x1fe),'apiApplyInfo':{'title':'Čo\x20je\x20API\x20kľúč?','description':_0x5e168e(0x1e4),'univerAiLabel':_0x5e168e(0x1fa),'getStarted':_0x5e168e(0x1dd)},'validation':{'apiKeyRequired':'API\x20kľúč\x20je\x20povinný','apiKeyTooShort':_0x5e168e(0x1fd),'invalidConfig':_0x5e168e(0x1f4),'invalidApiKey':_0x5e168e(0x1d9)},'connectionStatus':{'disconnected':_0x5e168e(0x1f7),'connecting':_0x5e168e(0x1fc),'connected':_0x5e168e(0x1f2),'failed':_0x5e168e(0x1e7),'retrying':_0x5e168e(0x1e9)},'connectionError':{'unauthorized':_0x5e168e(0x1f3),'sessionOccupied':'ID\x20relácie\x20je\x20momentálne\x20obsadené,\x20skúste\x20neskôr','networkError':_0x5e168e(0x1e0),'maxRetriesExceeded':'Maximálny\x20počet\x20pokusov\x20bol\x20prekročený.\x20Skúste\x20neskôr'}}};export{e as default};function _0x1642(_0x5d7ca4,_0x4b2de5){_0x5d7ca4=_0x5d7ca4-0x1d8;const _0x50bbbb=_0x50bb();let _0x164200=_0x50bbbb[_0x5d7ca4];return _0x164200;}function _0x50bb(){const _0x5d2195=['Ukladá\x20sa...','Neplatný\x20API\x20kľúč,\x20skontrolujte,\x20či\x20je\x20správny','Kliknite\x20na\x20pripojenie\x20MCP','Pridajte\x20konfiguráciu\x20do\x20súboru\x20nastavení\x20klienta\x20MCP','Skopírujte\x20nižšie\x20uvedenú\x20konfiguráciu\x20JSON','Získajte\x20svoj\x20API\x20kľúč\x20za\x20pár\x20sekúnd','3334338yxPVrr','Nakonfigurujte\x20MCP\x20na\x20používanie\x20AI\x20pri\x20práci\x20s\x20tabuľkami','Chyba\x20sieťového\x20pripojenia.\x20Skontrolujte\x20svoje\x20internetové\x20pripojenie','MCP:\x20ID\x20relácie\x20je\x20obsadené','2JhfDkb','API\x20kľúč','API\x20kľúč\x20vás\x20pripojí\x20k\x20serveru\x20Univer\x20MCP\x20a\x20umožní\x20používať\x20AI\x20pri\x20práci\x20s\x20tabuľkami.\x20Získajte\x20svoj\x20API\x20kľúč\x20v\x20našej\x20konzole.','Váš\x20API\x20kľúč\x20sa\x20uloží\x20lokálne\x20v\x20tomto\x20prehliadači','API\x20kľúč\x20s\x20prefixom\x20Bearer.','Pripojenie\x20zlyhalo','Konfigurácia\x20bola\x20úspešne\x20uložená','Skúša\x20sa\x20znova...','5373hnVAqw','Reštartujte\x20klienta\x20MCP,\x20aby\x20sa\x20konfigurácia\x20použila','2936274BxryqD','108120aeEQCG','1042544TpUEJQ','Konfigurácia\x20klienta\x20MCP','Maximálny\x20počet\x20pokusov','Parametre\x20konfigurácie:','Pripojené','Overenie\x20zlyhalo,\x20skontrolujte\x20svoj\x20API\x20kľúč','Neplatná\x20konfigurácia','35016oJHSdL','MCP:\x20Sieťová\x20chyba','Odpojené','Váš\x20API\x20kľúč\x20je\x20bezpečne\x20uložený\x20v\x20lokálnom\x20úložisku','MCP\x20pripojené','Univer\x20AI\x20konzola','Pridajte\x20nasledujúcu\x20konfiguráciu\x20do\x20nastavení\x20klienta\x20MCP:','Pripája\x20sa...','API\x20kľúč\x20musí\x20mať\x20aspoň\x2010\x20znakov','Nepodarilo\x20sa\x20uložiť\x20konfiguráciu','MCP\x20opakuje\x20pokus...','MCP\x20neznámy\x20stav','1325406HDPgHa','Jedinečný\x20identifikátor\x20relácie.\x20Ak\x20máte\x20otvorených\x20viac\x20inštancií\x20Univer,\x20každá\x20inštancia\x20musí\x20používať\x20iné\x20session_id,\x20aby\x20sa\x20predišlo\x20konfliktom\x20pripojenia.','Povoliť\x20overenie','MCP\x20odpojené','921053WwvUsh','Zadajte\x20svoj\x20API\x20kľúč','Povoliť\x20overenie\x20pre\x20bezpečné\x20pripojenia','MCP:\x20Prekročený\x20počet\x20pokusov','Uložiť\x20konfiguráciu'];_0x50bb=function(){return _0x5d2195;};return _0x50bb();}
|
package/lib/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x8dbdba=_0x331f;function _0x331f(_0x37ccb7,_0x5586fc){_0x37ccb7=_0x37ccb7-0x68;const _0x221603=_0x2216();let _0x331f0c=_0x221603[_0x37ccb7];return _0x331f0c;}function _0x2216(){const _0x5b49df=['Đã\x20ngắt\x20kết\x20nối','1298513VDCAUK','Lưu\x20cấu\x20hình\x20thất\x20bại','6314616bBSUvq','828EsecBZ','Đã\x20kết\x20nối','705IDGjzV','Nhập\x20khóa\x20API\x20của\x20bạn','36776JyJEmK','Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20bộ','Bảng\x20điều\x20khiển\x20Univer\x20AI','Khóa\x20API\x20là\x20gì?','Khởi\x20động\x20lại\x20máy\x20khách\x20MCP\x20của\x20bạn\x20để\x20áp\x20dụng\x20cấu\x20hình','Lưu\x20cấu\x20hình','Đang\x20lưu...','Cấu\x20hình\x20máy\x20khách\x20MCP','Cấu\x20hình\x20MCP','578090AFJMkI','Khóa\x20API','MCP:\x20Lỗi\x20mạng','Khóa\x20API\x20không\x20hợp\x20lệ,\x20vui\x20lòng\x20kiểm\x20tra\x20xem\x20khóa\x20có\x20chính\x20xác\x20không','Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây','Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','83867TpFrXc','Nhấp\x20để\x20cấu\x20hình\x20MCP','Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','MCP\x20Kết\x20nối\x20thất\x20bại','Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','Các\x20bước\x20cấu\x20hình:','3699ZWSpoL','MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','MCP\x20Đã\x20kết\x20nối','Kết\x20nối\x20thất\x20bại','Số\x20lần\x20thử\x20lại\x20tối\x20đa','32428FHWTUB','Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','MCP\x20Đang\x20thử\x20lại...','MCP:\x20Không\x20được\x20phép','Đang\x20thử\x20lại...','Yêu\x20cầu\x20khóa\x20API','Cấu\x20hình\x20không\x20hợp\x20lệ','Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau','Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này','Tham\x20số\x20cấu\x20hình:','Bật\x20xác\x20thực','Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','ID\x20phiên','Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','2rcCAJh','Đang\x20kết\x20nối...','Nhấp\x20để\x20kết\x20nối\x20MCP','545285vJJmMo','Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn'];_0x2216=function(){return _0x5b49df;};return _0x2216();}(function(_0x353965,_0x4c4c01){const _0x4b5ff4=_0x331f,_0x1e94a8=_0x353965();while(!![]){try{const _0x5cdfa2=parseInt(_0x4b5ff4(0x9b))/0x1*(-parseInt(_0x4b5ff4(0x95))/0x2)+-parseInt(_0x4b5ff4(0x69))/0x3*(parseInt(_0x4b5ff4(0x86))/0x4)+parseInt(_0x4b5ff4(0x98))/0x5+parseInt(_0x4b5ff4(0x9e))/0x6*(parseInt(_0x4b5ff4(0x7b))/0x7)+-parseInt(_0x4b5ff4(0x6b))/0x8*(-parseInt(_0x4b5ff4(0x81))/0x9)+-parseInt(_0x4b5ff4(0x75))/0xa+parseInt(_0x4b5ff4(0x9d))/0xb;if(_0x5cdfa2===_0x4c4c01)break;else _0x1e94a8['push'](_0x1e94a8['shift']());}catch(_0x3a7d70){_0x1e94a8['push'](_0x1e94a8['shift']());}}}(_0x2216,0xeb727));const e={'mcpStatus':{'disconnected':'MCP\x20Đã\x20ngắt\x20kết\x20nối','connecting':'MCP\x20Đang\x20kết\x20nối...','connected':_0x8dbdba(0x83),'failed':_0x8dbdba(0x7e),'retrying':_0x8dbdba(0x88),'unknown':'MCP\x20Trạng\x20thái\x20không\x20xác\x20định','unauthorized':_0x8dbdba(0x89),'sessionOccupied':_0x8dbdba(0x82),'networkError':_0x8dbdba(0x77),'maxRetriesExceeded':'MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','clickToConnect':_0x8dbdba(0x97),'clickToConfigure':_0x8dbdba(0x7c)},'mcpConfig':{'title':_0x8dbdba(0x74),'description':_0x8dbdba(0x7f),'apiKey':_0x8dbdba(0x76),'apiKeyPlaceholder':_0x8dbdba(0x6a),'apiKeyHint':_0x8dbdba(0x8e),'enableAuth':_0x8dbdba(0x90),'enableAuthHint':_0x8dbdba(0x92),'connectionInfo':_0x8dbdba(0x73),'mcpClientConfig':_0x8dbdba(0x73),'configInstructions':_0x8dbdba(0x7a),'configStepTitle':_0x8dbdba(0x80),'configStep1':'Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','configStep2':_0x8dbdba(0x99),'configStep3':_0x8dbdba(0x70),'sessionId':_0x8dbdba(0x93),'sessionIdDescription':'Định\x20danh\x20phiên\x20duy\x20nhất.\x20Nếu\x20bạn\x20mở\x20nhiều\x20phiên\x20bản\x20Univer,\x20mỗi\x20phiên\x20bản\x20phải\x20sử\x20dụng\x20một\x20session_id\x20khác\x20nhau\x20để\x20tránh\x20xung\x20đột\x20kết\x20nối.','authorizationDescription':_0x8dbdba(0x91),'configParameters':_0x8dbdba(0x8f),'maxRetries':_0x8dbdba(0x85),'save':_0x8dbdba(0x71),'saving':_0x8dbdba(0x72),'note1':_0x8dbdba(0x87),'note2':_0x8dbdba(0x6d),'configSaved':'Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','configError':_0x8dbdba(0x9c),'apiApplyInfo':{'title':_0x8dbdba(0x6f),'description':'Khóa\x20API\x20kết\x20nối\x20bạn\x20với\x20Máy\x20chủ\x20Univer\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính.\x20Nhận\x20khóa\x20API\x20của\x20bạn\x20từ\x20bảng\x20điều\x20khiển\x20của\x20chúng\x20tôi\x20để\x20bắt\x20đầu.','univerAiLabel':_0x8dbdba(0x6e),'getStarted':_0x8dbdba(0x79)},'validation':{'apiKeyRequired':_0x8dbdba(0x8b),'apiKeyTooShort':_0x8dbdba(0x94),'invalidConfig':_0x8dbdba(0x8c),'invalidApiKey':_0x8dbdba(0x78)},'connectionStatus':{'disconnected':_0x8dbdba(0x9a),'connecting':_0x8dbdba(0x96),'connected':_0x8dbdba(0x68),'failed':_0x8dbdba(0x84),'retrying':_0x8dbdba(0x8a)},'connectionError':{'unauthorized':'Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','sessionOccupied':_0x8dbdba(0x7d),'networkError':_0x8dbdba(0x6c),'maxRetriesExceeded':_0x8dbdba(0x8d)}}};export{e as default};
|
package/lib/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x2c8d55=_0x36fa;(function(_0x4e98de,_0x275ac4){const _0x169cb5=_0x36fa,_0x378426=_0x4e98de();while(!![]){try{const _0x19ab45=-parseInt(_0x169cb5(0x159))/0x1*(-parseInt(_0x169cb5(0x138))/0x2)+-parseInt(_0x169cb5(0x161))/0x3+-parseInt(_0x169cb5(0x14b))/0x4*(parseInt(_0x169cb5(0x150))/0x5)+-parseInt(_0x169cb5(0x143))/0x6*(parseInt(_0x169cb5(0x14d))/0x7)+parseInt(_0x169cb5(0x148))/0x8*(-parseInt(_0x169cb5(0x155))/0x9)+-parseInt(_0x169cb5(0x151))/0xa*(-parseInt(_0x169cb5(0x153))/0xb)+parseInt(_0x169cb5(0x158))/0xc;if(_0x19ab45===_0x275ac4)break;else _0x378426['push'](_0x378426['shift']());}catch(_0x36987e){_0x378426['push'](_0x378426['shift']());}}}(_0x3be4,0x3829c));function _0x36fa(_0x349f41,_0x100444){_0x349f41=_0x349f41-0x133;const _0x3be4aa=_0x3be4();let _0x36faa3=_0x3be4aa[_0x349f41];return _0x36faa3;}function _0x3be4(){const _0x1093e9=['已连接','API\x20密钥','8102676xUHEKW','708gdVveW','MCP:\x20超出最大重试次数','MCP\x20客户端配置','启用身份验证','您的\x20API\x20密钥将在此浏览器中本地存储','MCP\x20连接失败','权限验证失败,请检查您的\x20API\x20密钥','复制以下\x20JSON\x20配置','793023clEZYo','API\x20密钥不能为空','会话ID','启用身份验证以获得安全连接','连接中...','API\x20密钥长度至少需要\x2010\x20位','未连接','超出最大重试次数,请稍后再试','您的\x20API\x20密钥安全存储在本地存储中','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','保存配置','MCP\x20配置','502Sruxzi','请输入您的\x20API\x20密钥','MCP:\x20会话\x20ID\x20已被占用','配置\x20MCP\x20使用\x20AI\x20操作电子表格','配置保存成功','配置无效','配置保存失败','MCP\x20状态未知','配置更改将立即生效','网络连接错误,请检查您的网络连接','MCP\x20连接中...','30rcdkuQ','MCP\x20已断开','将以下配置添加到您的\x20MCP\x20客户端设置中:','MCP:\x20网络错误','配置参数:','64fweTcE','API\x20密钥无效,请检查密钥是否正确','将配置添加到您的\x20MCP\x20客户端设置文件中','119192qehVaU','连接失败','260393ZjuSNW','什么是\x20API\x20密钥?','会话\x20ID\x20已被占用,请稍后再试','60zUftgs','10ktkYIE','MCP\x20重连中...','3909851EYSIWD','重连中...','191718elDNFW'];_0x3be4=function(){return _0x1093e9;};return _0x3be4();}const e={'mcpStatus':{'disconnected':_0x2c8d55(0x144),'connecting':_0x2c8d55(0x142),'connected':'MCP\x20已连接','failed':_0x2c8d55(0x15e),'retrying':_0x2c8d55(0x152),'unknown':_0x2c8d55(0x13f),'unauthorized':'MCP:\x20未授权','sessionOccupied':_0x2c8d55(0x13a),'networkError':_0x2c8d55(0x146),'maxRetriesExceeded':_0x2c8d55(0x15a),'clickToConnect':'点击连接\x20MCP','clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x2c8d55(0x137),'description':_0x2c8d55(0x13b),'apiKey':_0x2c8d55(0x157),'apiKeyPlaceholder':_0x2c8d55(0x139),'apiKeyHint':_0x2c8d55(0x15d),'enableAuth':_0x2c8d55(0x15c),'enableAuthHint':_0x2c8d55(0x164),'connectionInfo':_0x2c8d55(0x15b),'mcpClientConfig':_0x2c8d55(0x15b),'configInstructions':_0x2c8d55(0x145),'configStepTitle':'配置步骤:','configStep1':_0x2c8d55(0x160),'configStep2':_0x2c8d55(0x14a),'configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0x2c8d55(0x163),'sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':'带有\x20Bearer\x20前缀的\x20API\x20密钥。','configParameters':_0x2c8d55(0x147),'maxRetries':'最大重试次数','save':_0x2c8d55(0x136),'saving':'保存中...','note1':_0x2c8d55(0x140),'note2':_0x2c8d55(0x134),'configSaved':_0x2c8d55(0x13c),'configError':_0x2c8d55(0x13e),'apiApplyInfo':{'title':_0x2c8d55(0x14e),'description':_0x2c8d55(0x135),'univerAiLabel':'Univer\x20AI\x20控制台','getStarted':'几秒钟内获取您的\x20API\x20密钥'},'validation':{'apiKeyRequired':_0x2c8d55(0x162),'apiKeyTooShort':_0x2c8d55(0x166),'invalidConfig':_0x2c8d55(0x13d),'invalidApiKey':_0x2c8d55(0x149)},'connectionStatus':{'disconnected':_0x2c8d55(0x167),'connecting':_0x2c8d55(0x165),'connected':_0x2c8d55(0x156),'failed':_0x2c8d55(0x14c),'retrying':_0x2c8d55(0x154)},'connectionError':{'unauthorized':_0x2c8d55(0x15f),'sessionOccupied':_0x2c8d55(0x14f),'networkError':_0x2c8d55(0x141),'maxRetriesExceeded':_0x2c8d55(0x133)}}};export{e as default};
|
package/lib/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x513f1a=_0x1dae;function _0xa11f(){const _0x53fa64=['MCP:\x20Network\x20Error','Session\x20ID','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Failed\x20to\x20save\x20configuration','Copy\x20the\x20JSON\x20configuration\x20below','MCP\x20Disconnected','Disconnected','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','API\x20key\x20with\x20Bearer\x20prefix.','9ZNEUCa','Get\x20your\x20API\x20key\x20in\x20seconds','Configuration\x20Parameters:','API\x20key\x20is\x20required','API\x20Key','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Retrying...','Connected','6hXMiRv','MCP\x20Connection\x20Failed','4266280DOyCyE','Enable\x20Authentication','Univer\x20AI\x20Console','3139460ZSzUpN','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Click\x20to\x20connect\x20MCP','Enable\x20authentication\x20for\x20secure\x20connections','Click\x20to\x20configure\x20MCP','240400MDMJLR','MCP\x20Retrying...','Invalid\x20configuration','4000031ldeXUp','Max\x20Retries','Saving...','15DqJgpu','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP\x20Client\x20Configuration','Enter\x20your\x20API\x20key','Connecting...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','MCP:\x20Unauthorized','MCP\x20Connected','Configuration\x20Steps:','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','MCP\x20Unknown\x20Status','Configuration\x20saved\x20successfully','433968jWkNUH','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Save\x20Configuration','What\x20is\x20API\x20Key?','668243zKBJCv','1265271gldxpp'];_0xa11f=function(){return _0x53fa64;};return _0xa11f();}(function(_0x5290b8,_0x8a729d){const _0x1ceec3=_0x1dae,_0x2164a7=_0x5290b8();while(!![]){try{const _0x1a6fbc=parseInt(_0x1ceec3(0xe3))/0x1+parseInt(_0x1ceec3(0xcd))/0x2+-parseInt(_0x1ceec3(0xe4))/0x3+-parseInt(_0x1ceec3(0xdf))/0x4*(-parseInt(_0x1ceec3(0xd3))/0x5)+-parseInt(_0x1ceec3(0xfa))/0x6*(parseInt(_0x1ceec3(0xd0))/0x7)+parseInt(_0x1ceec3(0xfc))/0x8+-parseInt(_0x1ceec3(0xf0))/0x9*(parseInt(_0x1ceec3(0xff))/0xa);if(_0x1a6fbc===_0x8a729d)break;else _0x2164a7['push'](_0x2164a7['shift']());}catch(_0x3abd3d){_0x2164a7['push'](_0x2164a7['shift']());}}}(_0xa11f,0x53064));const e={'mcpStatus':{'disconnected':_0x513f1a(0xea),'connecting':'MCP\x20Connecting...','connected':_0x513f1a(0xda),'failed':_0x513f1a(0xfb),'retrying':_0x513f1a(0xce),'unknown':_0x513f1a(0xdd),'unauthorized':_0x513f1a(0xd9),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x513f1a(0xe5),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':_0x513f1a(0x101),'clickToConfigure':_0x513f1a(0xcc)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x513f1a(0xd8),'apiKey':_0x513f1a(0xf4),'apiKeyPlaceholder':_0x513f1a(0xd6),'apiKeyHint':_0x513f1a(0xdc),'enableAuth':_0x513f1a(0xfd),'enableAuthHint':_0x513f1a(0x102),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x513f1a(0xd5),'configInstructions':_0x513f1a(0xee),'configStepTitle':_0x513f1a(0xdb),'configStep1':_0x513f1a(0xe9),'configStep2':_0x513f1a(0xf7),'configStep3':_0x513f1a(0xe0),'sessionId':_0x513f1a(0xe6),'sessionIdDescription':_0x513f1a(0xf5),'authorizationDescription':_0x513f1a(0xef),'configParameters':_0x513f1a(0xf2),'maxRetries':_0x513f1a(0xd1),'save':_0x513f1a(0xe1),'saving':_0x513f1a(0xd2),'note1':_0x513f1a(0x100),'note2':_0x513f1a(0xe7),'configSaved':_0x513f1a(0xde),'configError':_0x513f1a(0xe8),'apiApplyInfo':{'title':_0x513f1a(0xe2),'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':_0x513f1a(0xfe),'getStarted':_0x513f1a(0xf1)},'validation':{'apiKeyRequired':_0x513f1a(0xf3),'apiKeyTooShort':_0x513f1a(0xd4),'invalidConfig':_0x513f1a(0xcf),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x513f1a(0xeb),'connecting':_0x513f1a(0xd7),'connected':_0x513f1a(0xf9),'failed':'Connection\x20Failed','retrying':_0x513f1a(0xf8)},'connectionError':{'unauthorized':_0x513f1a(0xed),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x513f1a(0xec),'maxRetriesExceeded':_0x513f1a(0xf6)}}};function _0x1dae(_0x5b944c,_0x2294e2){_0x5b944c=_0x5b944c-0xcc;const _0xa11f82=_0xa11f();let _0x1dae55=_0xa11f82[_0x5b944c];return _0x1dae55;}export{e as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { MenuSchemaType } from '@univerjs/ui';
|
|
1
|
+
import type { MenuSchemaType } from '@univerjs/ui';
|
|
2
2
|
export declare const menuSchema: MenuSchemaType;
|
package/lib/types/plugin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IUniverMCPUIConfig } from './controllers/config.schema';
|
|
1
|
+
import type { IUniverMCPUIConfig } from './controllers/config.schema';
|
|
2
2
|
import { IConfigService, ILocalStorageService, Injector, LocaleService, Plugin } from '@univerjs/core';
|
|
3
3
|
import { IUIPartsService } from '@univerjs/ui';
|
|
4
4
|
export declare class UniverMCPUIPlugin extends Plugin {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { IUniverMCPConfig
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { IUniverMCPUIConfig } from '../../controllers/config.schema';
|
|
1
|
+
import type { IUniverMCPConfig } from '@univerjs-pro/mcp';
|
|
2
|
+
import type { Observable } from 'rxjs';
|
|
3
|
+
import type { IUniverMCPUIConfig } from '../../controllers/config.schema';
|
|
4
|
+
import { MCPConnectionError, MCPConnectionStatus } from '@univerjs-pro/mcp';
|
|
4
5
|
export interface IMCPConfigProps {
|
|
5
6
|
/** Current configuration */
|
|
6
7
|
mcpCoreConfig: IUniverMCPConfig;
|