@univerjs-pro/mcp-ui 0.25.0 → 1.0.0-alpha.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.
Files changed (55) 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/ja-JP.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/sk-SK.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ja-JP.js +1 -1
  21. package/lib/es/locale/ko-KR.js +1 -1
  22. package/lib/es/locale/ru-RU.js +1 -1
  23. package/lib/es/locale/sk-SK.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/index.js +1 -1
  28. package/lib/locale/ca-ES.js +1 -1
  29. package/lib/locale/en-US.js +1 -1
  30. package/lib/locale/es-ES.js +1 -1
  31. package/lib/locale/fa-IR.js +1 -1
  32. package/lib/locale/fr-FR.js +1 -1
  33. package/lib/locale/ja-JP.js +1 -1
  34. package/lib/locale/ko-KR.js +1 -1
  35. package/lib/locale/ru-RU.js +1 -1
  36. package/lib/locale/sk-SK.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/types/views/components/mcp-config.d.ts +1 -1
  41. package/lib/types/views/components/mcp-status.d.ts +1 -1
  42. package/lib/umd/index.js +1 -1
  43. package/lib/umd/locale/ca-ES.js +1 -1
  44. package/lib/umd/locale/en-US.js +1 -1
  45. package/lib/umd/locale/es-ES.js +1 -1
  46. package/lib/umd/locale/fa-IR.js +1 -1
  47. package/lib/umd/locale/fr-FR.js +1 -1
  48. package/lib/umd/locale/ja-JP.js +1 -1
  49. package/lib/umd/locale/ko-KR.js +1 -1
  50. package/lib/umd/locale/ru-RU.js +1 -1
  51. package/lib/umd/locale/sk-SK.js +1 -1
  52. package/lib/umd/locale/vi-VN.js +1 -1
  53. package/lib/umd/locale/zh-CN.js +1 -1
  54. package/lib/umd/locale/zh-TW.js +1 -1
  55. package/package.json +12 -12
@@ -1 +1 @@
1
- const _0x10bb5d=_0x2f84;(function(_0x2bd30c,_0x270b41){const _0x2289df=_0x2f84,_0x26ada9=_0x2bd30c();while(!![]){try{const _0x2fc156=parseInt(_0x2289df(0x1d1))/0x1*(parseInt(_0x2289df(0x1c1))/0x2)+-parseInt(_0x2289df(0x1cf))/0x3*(parseInt(_0x2289df(0x1c4))/0x4)+-parseInt(_0x2289df(0x1b6))/0x5*(parseInt(_0x2289df(0x1be))/0x6)+-parseInt(_0x2289df(0x1bf))/0x7*(parseInt(_0x2289df(0x1c7))/0x8)+parseInt(_0x2289df(0x1b3))/0x9*(-parseInt(_0x2289df(0x1dc))/0xa)+parseInt(_0x2289df(0x1d6))/0xb*(-parseInt(_0x2289df(0x1c8))/0xc)+-parseInt(_0x2289df(0x1b5))/0xd*(-parseInt(_0x2289df(0x1ce))/0xe);if(_0x2fc156===_0x270b41)break;else _0x26ada9['push'](_0x26ada9['shift']());}catch(_0x47431d){_0x26ada9['push'](_0x26ada9['shift']());}}}(_0x5c1a,0x5aad4));function _0x2f84(_0x55a29c,_0x4c6e1b){_0x55a29c=_0x55a29c-0x1b1;const _0x5c1ae3=_0x5c1a();let _0x2f8440=_0x5c1ae3[_0x55a29c];return _0x2f8440;}const e={'mcpStatus':{'disconnected':_0x10bb5d(0x1ca),'connecting':_0x10bb5d(0x1d2),'connected':_0x10bb5d(0x1d8),'failed':'MCP\x20Kết\x20nối\x20thất\x20bại','retrying':_0x10bb5d(0x1d5),'unknown':'MCP\x20Trạng\x20thái\x20không\x20xác\x20định','unauthorized':'MCP:\x20Không\x20được\x20phép','sessionOccupied':_0x10bb5d(0x1b7),'networkError':_0x10bb5d(0x1df),'maxRetriesExceeded':'MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','clickToConnect':_0x10bb5d(0x1e1),'clickToConfigure':_0x10bb5d(0x1c3)},'mcpConfig':{'title':'Cấu\x20hình\x20MCP','description':'Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','apiKey':_0x10bb5d(0x1db),'apiKeyPlaceholder':_0x10bb5d(0x1b4),'apiKeyHint':_0x10bb5d(0x1cd),'enableAuth':_0x10bb5d(0x1d7),'enableAuthHint':_0x10bb5d(0x1c9),'connectionInfo':_0x10bb5d(0x1d3),'mcpClientConfig':_0x10bb5d(0x1d3),'configInstructions':_0x10bb5d(0x1b8),'configStepTitle':_0x10bb5d(0x1bc),'configStep1':_0x10bb5d(0x1bb),'configStep2':_0x10bb5d(0x1b2),'configStep3':_0x10bb5d(0x1b9),'sessionId':_0x10bb5d(0x1e0),'sessionIdDescription':_0x10bb5d(0x1c5),'authorizationDescription':_0x10bb5d(0x1de),'configParameters':'Tham\x20số\x20cấu\x20hình:','maxRetries':_0x10bb5d(0x1c2),'save':'Lưu\x20cấu\x20hình','saving':_0x10bb5d(0x1d0),'note1':_0x10bb5d(0x1c6),'note2':'Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20bộ','configSaved':_0x10bb5d(0x1cc),'configError':_0x10bb5d(0x1d9),'apiApplyInfo':{'title':'Khóa\x20API\x20là\x20gì?','description':_0x10bb5d(0x1ba),'univerAiLabel':'Bảng\x20điều\x20khiển\x20Univer\x20AI','getStarted':_0x10bb5d(0x1b1)},'validation':{'apiKeyRequired':'Yêu\x20cầu\x20khóa\x20API','apiKeyTooShort':_0x10bb5d(0x1bd),'invalidConfig':_0x10bb5d(0x1d4),'invalidApiKey':_0x10bb5d(0x1dd)},'connectionStatus':{'disconnected':'Đã\x20ngắt\x20kết\x20nối','connecting':'Đang\x20kết\x20nối...','connected':'Đã\x20kết\x20nối','failed':'Kết\x20nối\x20thất\x20bại','retrying':_0x10bb5d(0x1cb)},'connectionError':{'unauthorized':'Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','sessionOccupied':_0x10bb5d(0x1c0),'networkError':'Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','maxRetriesExceeded':_0x10bb5d(0x1da)}}};function _0x5c1a(){const _0x127659=['Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','6UtxgIn','Số\x20lần\x20thử\x20lại\x20tối\x20đa','Nhấp\x20để\x20cấu\x20hình\x20MCP','162076DPVtGQ','Đị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.','Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','24RIFyDR','24DMaVDv','Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','MCP\x20Đã\x20ngắt\x20kết\x20nối','Đang\x20thử\x20lại...','Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này','488306LeADiL','9EyDqrQ','Đang\x20lưu...','14176IDsLYC','MCP\x20Đang\x20kết\x20nối...','Cấu\x20hình\x20máy\x20khách\x20MCP','Cấu\x20hình\x20không\x20hợp\x20lệ','MCP\x20Đang\x20thử\x20lại...','1284789SgiEaE','Bật\x20xác\x20thực','MCP\x20Đã\x20kết\x20nối','Lưu\x20cấu\x20hình\x20thất\x20bại','Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau','Khóa\x20API','4860eeLDto','Khóa\x20API\x20không\x20hợp\x20lệ,\x20vui\x20lòng\x20kiểm\x20tra\x20xem\x20khóa\x20có\x20chính\x20xác\x20không','Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','MCP:\x20Lỗi\x20mạng','ID\x20phiên','Nhấp\x20để\x20kết\x20nối\x20MCP','Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây','Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','10629PlaeDw','Nhập\x20khóa\x20API\x20của\x20bạn','676PeolnY','65695ApbwgF','MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','Khởi\x20động\x20lại\x20máy\x20khách\x20MCP\x20của\x20bạn\x20để\x20áp\x20dụng\x20cấu\x20hình','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.','Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','Các\x20bước\x20cấu\x20hình:','Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','12tZnVGk','1235325dzAXkW'];_0x5c1a=function(){return _0x127659;};return _0x5c1a();}export{e as default};
1
+ const _0x59a976=_0x5e95;(function(_0x10809a,_0x199886){const _0x35bbde=_0x5e95,_0x294b8e=_0x10809a();while(!![]){try{const _0x32d2c2=-parseInt(_0x35bbde(0x1ad))/0x1+-parseInt(_0x35bbde(0x19a))/0x2*(parseInt(_0x35bbde(0x198))/0x3)+parseInt(_0x35bbde(0x1b5))/0x4*(-parseInt(_0x35bbde(0x19c))/0x5)+parseInt(_0x35bbde(0x1b4))/0x6*(-parseInt(_0x35bbde(0x1b7))/0x7)+-parseInt(_0x35bbde(0x1be))/0x8*(parseInt(_0x35bbde(0x197))/0x9)+parseInt(_0x35bbde(0x1a4))/0xa*(-parseInt(_0x35bbde(0x1b0))/0xb)+parseInt(_0x35bbde(0x1a2))/0xc;if(_0x32d2c2===_0x199886)break;else _0x294b8e['push'](_0x294b8e['shift']());}catch(_0x2db0b8){_0x294b8e['push'](_0x294b8e['shift']());}}}(_0x4869,0xabcb9));function _0x4869(){const _0x3887b3=['Thêm\x20cấu\x20hình\x20sau\x20vào\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn:','Nhập\x20khóa\x20API\x20của\x20bạn','Khóa\x20API','Bật\x20xác\x20thực\x20cho\x20các\x20kết\x20nối\x20an\x20toàn','Khóa\x20API\x20không\x20hợp\x20lệ,\x20vui\x20lòng\x20kiểm\x20tra\x20xem\x20khóa\x20có\x20chính\x20xác\x20không','MCP\x20Trạng\x20thái\x20không\x20xác\x20định','489686nsspSn','Đang\x20lưu...','Cấu\x20hình\x20máy\x20khách\x20MCP','8371IeFcnq','Đã\x20ngắt\x20kết\x20nối','Cấu\x20hình\x20không\x20hợp\x20lệ','Yêu\x20cầu\x20khóa\x20API','6vtbcWD','4hhTZxF','ID\x20phiên','933961PigtMW','Lỗi\x20kết\x20nối\x20mạng.\x20Vui\x20lòng\x20kiểm\x20tra\x20kết\x20nối\x20internet\x20của\x20bạn','MCP\x20Đang\x20kết\x20nối...','Nhấp\x20để\x20kết\x20nối\x20MCP','Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa.\x20Vui\x20lòng\x20thử\x20lại\x20sau','Lưu\x20cấu\x20hình\x20thất\x20bại','Tham\x20số\x20cấu\x20hình:','48dWQsis','Khóa\x20API\x20với\x20tiền\x20tố\x20Bearer.','MCP\x20Đã\x20ngắt\x20kết\x20nối','MCP:\x20Không\x20được\x20phép','Session-id\x20hiện\x20đang\x20bị\x20chiếm\x20dụng,\x20vui\x20lòng\x20thử\x20lại\x20sau','Khóa\x20API\x20là\x20gì?','Khóa\x20API\x20phải\x20dài\x20ít\x20nhất\x2010\x20ký\x20tự','Thay\x20đổi\x20cấu\x20hình\x20sẽ\x20có\x20hiệu\x20lực\x20ngay\x20lập\x20tức','Lưu\x20cấu\x20hình','823806wCclyo','1036419fNjdNc','MCP\x20Đã\x20kết\x20nối','6LDgWcG','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.','6731885dKKPfv','Thêm\x20cấu\x20hình\x20vào\x20tệp\x20cài\x20đặt\x20máy\x20khách\x20MCP\x20của\x20bạn','Khởi\x20động\x20lại\x20máy\x20khách\x20MCP\x20của\x20bạn\x20để\x20áp\x20dụng\x20cấu\x20hình','MCP:\x20ID\x20phiên\x20đã\x20bị\x20chiếm\x20dụng','Khóa\x20API\x20của\x20bạn\x20được\x20lưu\x20trữ\x20an\x20toàn\x20trong\x20bộ\x20nhớ\x20cục\x20bộ','Các\x20bước\x20cấu\x20hình:','64657272RokhVD','MCP:\x20Vượt\x20quá\x20số\x20lần\x20thử\x20lại\x20tối\x20đa','14840IimluK','Số\x20lần\x20thử\x20lại\x20tối\x20đa','Đang\x20thử\x20lại...'];_0x4869=function(){return _0x3887b3;};return _0x4869();}function _0x5e95(_0x131774,_0x1018fd){_0x131774=_0x131774-0x192;const _0x4869e1=_0x4869();let _0x5e950d=_0x4869e1[_0x131774];return _0x5e950d;}const e={'mcpStatus':{'disconnected':_0x59a976(0x1c0),'connecting':_0x59a976(0x1b9),'connected':_0x59a976(0x199),'failed':'MCP\x20Kết\x20nối\x20thất\x20bại','retrying':'MCP\x20Đang\x20thử\x20lại...','unknown':_0x59a976(0x1ac),'unauthorized':_0x59a976(0x1c1),'sessionOccupied':_0x59a976(0x19f),'networkError':'MCP:\x20Lỗi\x20mạng','maxRetriesExceeded':_0x59a976(0x1a3),'clickToConnect':_0x59a976(0x1ba),'clickToConfigure':'Nhấp\x20để\x20cấu\x20hình\x20MCP'},'mcpConfig':{'title':'Cấu\x20hình\x20MCP','description':'Cấu\x20hình\x20MCP\x20để\x20sử\x20dụng\x20AI\x20cho\x20việc\x20vận\x20hành\x20bảng\x20tính','apiKey':_0x59a976(0x1a9),'apiKeyPlaceholder':_0x59a976(0x1a8),'apiKeyHint':'Khóa\x20API\x20của\x20bạn\x20sẽ\x20được\x20lưu\x20trữ\x20cục\x20bộ\x20trong\x20trình\x20duyệt\x20này','enableAuth':'Bật\x20xác\x20thực','enableAuthHint':_0x59a976(0x1aa),'connectionInfo':_0x59a976(0x1af),'mcpClientConfig':_0x59a976(0x1af),'configInstructions':_0x59a976(0x1a7),'configStepTitle':_0x59a976(0x1a1),'configStep1':'Sao\x20chép\x20cấu\x20hình\x20JSON\x20bên\x20dưới','configStep2':_0x59a976(0x19d),'configStep3':_0x59a976(0x19e),'sessionId':_0x59a976(0x1b6),'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':_0x59a976(0x1bf),'configParameters':_0x59a976(0x1bd),'maxRetries':_0x59a976(0x1a5),'save':_0x59a976(0x196),'saving':_0x59a976(0x1ae),'note1':_0x59a976(0x195),'note2':_0x59a976(0x1a0),'configSaved':'Cấu\x20hình\x20đã\x20được\x20lưu\x20thành\x20công','configError':_0x59a976(0x1bc),'apiApplyInfo':{'title':_0x59a976(0x193),'description':_0x59a976(0x19b),'univerAiLabel':'Bảng\x20điều\x20khiển\x20Univer\x20AI','getStarted':'Nhận\x20khóa\x20API\x20của\x20bạn\x20trong\x20vài\x20giây'},'validation':{'apiKeyRequired':_0x59a976(0x1b3),'apiKeyTooShort':_0x59a976(0x194),'invalidConfig':_0x59a976(0x1b2),'invalidApiKey':_0x59a976(0x1ab)},'connectionStatus':{'disconnected':_0x59a976(0x1b1),'connecting':'Đang\x20kết\x20nối...','connected':'Đã\x20kết\x20nối','failed':'Kết\x20nối\x20thất\x20bại','retrying':_0x59a976(0x1a6)},'connectionError':{'unauthorized':'Xác\x20thực\x20thất\x20bại,\x20vui\x20lòng\x20kiểm\x20tra\x20khóa\x20API\x20của\x20bạn','sessionOccupied':_0x59a976(0x192),'networkError':_0x59a976(0x1b8),'maxRetriesExceeded':_0x59a976(0x1bb)}}};export{e as default};
@@ -1 +1 @@
1
- const _0x4dc264=_0x4628;function _0x47c6(){const _0x475ed8=['5552635fbkqtQ','带有\x20Bearer\x20前缀的\x20API\x20密钥。','会话\x20ID\x20已被占用,请稍后再试','保存配置','3800916xwWuSY','配置更改将立即生效','API\x20密钥无效,请检查密钥是否正确','未连接','什么是\x20API\x20密钥?','会话ID','您的\x20API\x20密钥将在此浏览器中本地存储','18452640mzpNAn','MCP\x20客户端配置','您的\x20API\x20密钥安全存储在本地存储中','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','MCP\x20配置','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','4158YvCliV','MCP\x20重连中...','点击连接\x20MCP','MCP\x20状态未知','API\x20密钥长度至少需要\x2010\x20位','连接中...','12vGyZEF','3pqEKpZ','最大重试次数','283489ImNZUf','配置保存失败','超出最大重试次数,请稍后再试','MCP\x20已断开','20808dIWfTE','保存中...','API\x20密钥','MCP:\x20会话\x20ID\x20已被占用','2983964biiTgl','配置保存成功','几秒钟内获取您的\x20API\x20密钥','已连接','配置参数:','MCP\x20连接失败','1999314mMwxbU','Univer\x20AI\x20控制台','MCP\x20已连接','MCP\x20连接中...'];_0x47c6=function(){return _0x475ed8;};return _0x47c6();}function _0x4628(_0xaee31c,_0x42159f){_0xaee31c=_0xaee31c-0x73;const _0x47c6e9=_0x47c6();let _0x462862=_0x47c6e9[_0xaee31c];return _0x462862;}(function(_0x3fd819,_0xfb600c){const _0x53dd35=_0x4628,_0x1b4478=_0x3fd819();while(!![]){try{const _0x4444e4=parseInt(_0x53dd35(0x92))/0x1+-parseInt(_0x53dd35(0x74))/0x2+parseInt(_0x53dd35(0x90))/0x3*(parseInt(_0x53dd35(0x9a))/0x4)+-parseInt(_0x53dd35(0x78))/0x5+-parseInt(_0x53dd35(0x8f))/0x6*(-parseInt(_0x53dd35(0x7c))/0x7)+parseInt(_0x53dd35(0x96))/0x8*(-parseInt(_0x53dd35(0x89))/0x9)+parseInt(_0x53dd35(0x83))/0xa;if(_0x4444e4===_0xfb600c)break;else _0x1b4478['push'](_0x1b4478['shift']());}catch(_0x1f6d3f){_0x1b4478['push'](_0x1b4478['shift']());}}}(_0x47c6,0x9e6aa));const e={'mcpStatus':{'disconnected':_0x4dc264(0x95),'connecting':_0x4dc264(0x77),'connected':_0x4dc264(0x76),'failed':_0x4dc264(0x73),'retrying':_0x4dc264(0x8a),'unknown':_0x4dc264(0x8c),'unauthorized':'MCP:\x20未授权','sessionOccupied':_0x4dc264(0x99),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':'MCP:\x20超出最大重试次数','clickToConnect':_0x4dc264(0x8b),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':_0x4dc264(0x87),'description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x4dc264(0x98),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':_0x4dc264(0x82),'enableAuth':'启用身份验证','enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0x4dc264(0x84),'mcpClientConfig':_0x4dc264(0x84),'configInstructions':'将以下配置添加到您的\x20MCP\x20客户端设置中:','configStepTitle':'配置步骤:','configStep1':'复制以下\x20JSON\x20配置','configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':'重启您的\x20MCP\x20客户端以使配置生效','sessionId':_0x4dc264(0x81),'sessionIdDescription':_0x4dc264(0x86),'authorizationDescription':_0x4dc264(0x79),'configParameters':_0x4dc264(0x9e),'maxRetries':_0x4dc264(0x91),'save':_0x4dc264(0x7b),'saving':_0x4dc264(0x97),'note1':_0x4dc264(0x7d),'note2':_0x4dc264(0x85),'configSaved':_0x4dc264(0x9b),'configError':_0x4dc264(0x93),'apiApplyInfo':{'title':_0x4dc264(0x80),'description':_0x4dc264(0x88),'univerAiLabel':_0x4dc264(0x75),'getStarted':_0x4dc264(0x9c)},'validation':{'apiKeyRequired':'API\x20密钥不能为空','apiKeyTooShort':_0x4dc264(0x8d),'invalidConfig':'配置无效','invalidApiKey':_0x4dc264(0x7e)},'connectionStatus':{'disconnected':_0x4dc264(0x7f),'connecting':_0x4dc264(0x8e),'connected':_0x4dc264(0x9d),'failed':'连接失败','retrying':'重连中...'},'connectionError':{'unauthorized':'权限验证失败,请检查您的\x20API\x20密钥','sessionOccupied':_0x4dc264(0x7a),'networkError':'网络连接错误,请检查您的网络连接','maxRetriesExceeded':_0x4dc264(0x94)}}};export{e as default};
1
+ function _0x5016(_0x12a12f,_0x189b35){_0x12a12f=_0x12a12f-0x12e;const _0x586f7c=_0x586f();let _0x501638=_0x586f7c[_0x12a12f];return _0x501638;}const _0x3812f6=_0x5016;(function(_0xbd0e51,_0x497128){const _0x381885=_0x5016,_0x503520=_0xbd0e51();while(!![]){try{const _0x1e232a=-parseInt(_0x381885(0x151))/0x1*(parseInt(_0x381885(0x14e))/0x2)+-parseInt(_0x381885(0x14d))/0x3*(parseInt(_0x381885(0x13d))/0x4)+parseInt(_0x381885(0x158))/0x5+parseInt(_0x381885(0x13c))/0x6+-parseInt(_0x381885(0x155))/0x7+parseInt(_0x381885(0x132))/0x8*(-parseInt(_0x381885(0x12e))/0x9)+parseInt(_0x381885(0x133))/0xa;if(_0x1e232a===_0x497128)break;else _0x503520['push'](_0x503520['shift']());}catch(_0x1f1c96){_0x503520['push'](_0x503520['shift']());}}}(_0x586f,0x4bb0e));const e={'mcpStatus':{'disconnected':_0x3812f6(0x12f),'connecting':_0x3812f6(0x140),'connected':_0x3812f6(0x145),'failed':'MCP\x20连接失败','retrying':_0x3812f6(0x15e),'unknown':_0x3812f6(0x141),'unauthorized':_0x3812f6(0x153),'sessionOccupied':_0x3812f6(0x135),'networkError':'MCP:\x20网络错误','maxRetriesExceeded':_0x3812f6(0x144),'clickToConnect':_0x3812f6(0x15d),'clickToConfigure':'点击配置\x20MCP'},'mcpConfig':{'title':'MCP\x20配置','description':'配置\x20MCP\x20使用\x20AI\x20操作电子表格','apiKey':_0x3812f6(0x15c),'apiKeyPlaceholder':'请输入您的\x20API\x20密钥','apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':_0x3812f6(0x13b),'enableAuthHint':'启用身份验证以获得安全连接','connectionInfo':_0x3812f6(0x14a),'mcpClientConfig':_0x3812f6(0x14a),'configInstructions':_0x3812f6(0x159),'configStepTitle':_0x3812f6(0x142),'configStep1':_0x3812f6(0x13f),'configStep2':_0x3812f6(0x148),'configStep3':_0x3812f6(0x14b),'sessionId':'会话ID','sessionIdDescription':_0x3812f6(0x157),'authorizationDescription':_0x3812f6(0x152),'configParameters':_0x3812f6(0x136),'maxRetries':_0x3812f6(0x14c),'save':_0x3812f6(0x154),'saving':_0x3812f6(0x139),'note1':_0x3812f6(0x138),'note2':_0x3812f6(0x150),'configSaved':_0x3812f6(0x137),'configError':'配置保存失败','apiApplyInfo':{'title':_0x3812f6(0x15a),'description':_0x3812f6(0x156),'univerAiLabel':_0x3812f6(0x15f),'getStarted':_0x3812f6(0x146)},'validation':{'apiKeyRequired':_0x3812f6(0x13e),'apiKeyTooShort':_0x3812f6(0x14f),'invalidConfig':_0x3812f6(0x147),'invalidApiKey':_0x3812f6(0x149)},'connectionStatus':{'disconnected':'未连接','connecting':'连接中...','connected':_0x3812f6(0x134),'failed':_0x3812f6(0x13a),'retrying':_0x3812f6(0x131)},'connectionError':{'unauthorized':_0x3812f6(0x143),'sessionOccupied':_0x3812f6(0x15b),'networkError':_0x3812f6(0x130),'maxRetriesExceeded':'超出最大重试次数,请稍后再试'}}};function _0x586f(){const _0x5989d1=['保存配置','2008755lJGDJs','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','1627605myWGMU','将以下配置添加到您的\x20MCP\x20客户端设置中:','什么是\x20API\x20密钥?','会话\x20ID\x20已被占用,请稍后再试','API\x20密钥','点击连接\x20MCP','MCP\x20重连中...','Univer\x20AI\x20控制台','9fXtXJY','MCP\x20已断开','网络连接错误,请检查您的网络连接','重连中...','865576sQlyCY','3404760WttLmb','已连接','MCP:\x20会话\x20ID\x20已被占用','配置参数:','配置保存成功','配置更改将立即生效','保存中...','连接失败','启用身份验证','3636282TAzbrH','4GlbwyY','API\x20密钥不能为空','复制以下\x20JSON\x20配置','MCP\x20连接中...','MCP\x20状态未知','配置步骤:','权限验证失败,请检查您的\x20API\x20密钥','MCP:\x20超出最大重试次数','MCP\x20已连接','几秒钟内获取您的\x20API\x20密钥','配置无效','将配置添加到您的\x20MCP\x20客户端设置文件中','API\x20密钥无效,请检查密钥是否正确','MCP\x20客户端配置','重启您的\x20MCP\x20客户端以使配置生效','最大重试次数','1055733FrMYTS','143294LuHGoi','API\x20密钥长度至少需要\x2010\x20位','您的\x20API\x20密钥安全存储在本地存储中','3pEggYT','带有\x20Bearer\x20前缀的\x20API\x20密钥。','MCP:\x20未授权'];_0x586f=function(){return _0x5989d1;};return _0x586f();}export{e as default};
@@ -1 +1 @@
1
- const _0x4d379d=_0x55b6;(function(_0x376236,_0x3af88a){const _0x37e58b=_0x55b6,_0x54cc25=_0x376236();while(!![]){try{const _0x49f9b0=-parseInt(_0x37e58b(0x164))/0x1+-parseInt(_0x37e58b(0x171))/0x2+parseInt(_0x37e58b(0x161))/0x3*(parseInt(_0x37e58b(0x18e))/0x4)+parseInt(_0x37e58b(0x172))/0x5*(parseInt(_0x37e58b(0x17c))/0x6)+-parseInt(_0x37e58b(0x18b))/0x7*(parseInt(_0x37e58b(0x178))/0x8)+parseInt(_0x37e58b(0x186))/0x9+parseInt(_0x37e58b(0x179))/0xa*(parseInt(_0x37e58b(0x181))/0xb);if(_0x49f9b0===_0x3af88a)break;else _0x54cc25['push'](_0x54cc25['shift']());}catch(_0x2743fd){_0x54cc25['push'](_0x54cc25['shift']());}}}(_0x21a4,0x2b10a));function _0x21a4(){const _0x37ba55=['Connection\x20Failed','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Configuration\x20Parameters:','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Configuration\x20Steps:','Enable\x20Authentication','API\x20key\x20is\x20required','MCP\x20Disconnected','MCP\x20Connected','555762kJumqU','134715SddKIn','Max\x20Retries','MCP\x20Unknown\x20Status','Disconnected','Save\x20Configuration','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','564704UIdAxy','230WPbeiw','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','MCP:\x20Network\x20Error','12uUPHla','Configuration\x20saved\x20successfully','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP\x20Configuration','Invalid\x20configuration','80179XoxcSL','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Failed\x20to\x20save\x20configuration','MCP:\x20Max\x20Retries\x20Exceeded','Enter\x20your\x20API\x20key','1762605mEqNVV','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP\x20Client\x20Configuration','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','What\x20is\x20API\x20Key?','7BIqNsX','Univer\x20AI\x20Console','Get\x20your\x20API\x20key\x20in\x20seconds','4zuQLzu','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Retrying...','Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Unauthorized','693897rBkgmV','MCP\x20Connection\x20Failed','Saving...','123814qorauj','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','MCP:\x20Session\x20ID\x20Occupied'];_0x21a4=function(){return _0x37ba55;};return _0x21a4();}function _0x55b6(_0x3a2ced,_0x461933){_0x3a2ced=_0x3a2ced-0x15e;const _0x21a462=_0x21a4();let _0x55b6ad=_0x21a462[_0x3a2ced];return _0x55b6ad;}const e={'mcpStatus':{'disconnected':_0x4d379d(0x16f),'connecting':'MCP\x20Connecting...','connected':_0x4d379d(0x170),'failed':_0x4d379d(0x162),'retrying':'MCP\x20Retrying...','unknown':_0x4d379d(0x174),'unauthorized':_0x4d379d(0x160),'sessionOccupied':_0x4d379d(0x166),'networkError':_0x4d379d(0x17b),'maxRetriesExceeded':_0x4d379d(0x184),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x4d379d(0x17f),'description':_0x4d379d(0x182),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x4d379d(0x185),'apiKeyHint':_0x4d379d(0x169),'enableAuth':_0x4d379d(0x16d),'enableAuthHint':_0x4d379d(0x15f),'connectionInfo':_0x4d379d(0x188),'mcpClientConfig':_0x4d379d(0x188),'configInstructions':_0x4d379d(0x16b),'configStepTitle':_0x4d379d(0x16c),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x4d379d(0x177),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':_0x4d379d(0x190),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x4d379d(0x16a),'maxRetries':_0x4d379d(0x173),'save':_0x4d379d(0x176),'saving':_0x4d379d(0x163),'note1':_0x4d379d(0x17a),'note2':_0x4d379d(0x189),'configSaved':_0x4d379d(0x17d),'configError':_0x4d379d(0x183),'apiApplyInfo':{'title':_0x4d379d(0x18a),'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':_0x4d379d(0x18c),'getStarted':_0x4d379d(0x18d)},'validation':{'apiKeyRequired':_0x4d379d(0x16e),'apiKeyTooShort':_0x4d379d(0x165),'invalidConfig':_0x4d379d(0x180),'invalidApiKey':_0x4d379d(0x187)},'connectionStatus':{'disconnected':_0x4d379d(0x175),'connecting':'Connecting...','connected':'Connected','failed':_0x4d379d(0x167),'retrying':_0x4d379d(0x15e)},'connectionError':{'unauthorized':_0x4d379d(0x18f),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x4d379d(0x168),'maxRetriesExceeded':_0x4d379d(0x17e)}}};export{e as default};
1
+ function _0x466c(){const _0x2d92e8=['18oeYPgC','7965097uctfVf','21374oXKwaq','2944602LWAgvM','24291780PcQHwz','5110695GhiMSk','4764WrnydK','91byyLdy','830760EZLwiz','136AUMYth'];_0x466c=function(){return _0x2d92e8;};return _0x466c();}(function(_0x3cbea6,_0x52d9a6){const _0x34e3c2=_0x101d,_0x3f151=_0x3cbea6();while(!![]){try{const _0x34f3a0=-parseInt(_0x34e3c2(0x198))/0x1*(parseInt(_0x34e3c2(0x19d))/0x2)+parseInt(_0x34e3c2(0x197))/0x3*(-parseInt(_0x34e3c2(0x19a))/0x4)+parseInt(_0x34e3c2(0x196))/0x5+-parseInt(_0x34e3c2(0x194))/0x6+-parseInt(_0x34e3c2(0x19c))/0x7+parseInt(_0x34e3c2(0x199))/0x8*(-parseInt(_0x34e3c2(0x19b))/0x9)+parseInt(_0x34e3c2(0x195))/0xa;if(_0x34f3a0===_0x52d9a6)break;else _0x3f151['push'](_0x3f151['shift']());}catch(_0x1be2ca){_0x3f151['push'](_0x3f151['shift']());}}}(_0x466c,0x8fac0));import _0x39a7bd from'./en-US.js';function _0x101d(_0x44a892,_0x2e04fe){_0x44a892=_0x44a892-0x194;const _0x466c8b=_0x466c();let _0x101d83=_0x466c8b[_0x44a892];return _0x101d83;}const t=_0x39a7bd;export{t as default};
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x4a528e=_0x1c93;(function(_0x17a5ff,_0x11f00b){const _0xcb9cc9=_0x1c93,_0x1556b4=_0x17a5ff();while(!![]){try{const _0x107f5b=-parseInt(_0xcb9cc9(0x230))/0x1+-parseInt(_0xcb9cc9(0x156))/0x2+-parseInt(_0xcb9cc9(0x226))/0x3*(-parseInt(_0xcb9cc9(0x20e))/0x4)+parseInt(_0xcb9cc9(0x15d))/0x5*(parseInt(_0xcb9cc9(0x212))/0x6)+parseInt(_0xcb9cc9(0x245))/0x7*(parseInt(_0xcb9cc9(0x13b))/0x8)+-parseInt(_0xcb9cc9(0x16a))/0x9+parseInt(_0xcb9cc9(0x1f2))/0xa;if(_0x107f5b===_0x11f00b)break;else _0x1556b4['push'](_0x1556b4['shift']());}catch(_0x413ac2){_0x1556b4['push'](_0x1556b4['shift']());}}}(_0x4af5,0x91b74));import{CommandType as _0x24f842,DependentOn as _0x301de1,Disposable as _0x104263,ICommandService as _0x3dd060,IConfigService as _0x5c1546,ILocalStorageService as _0x51289c,ILogService as _0x5688b6,Inject as _0x520f38,Injector as _0x52d720,LocaleService as _0x1c055e,Plugin as _0x1904dc,merge as _0x30ce96}from'@univerjs/core';import{MCPConnectionController as _0x59b840,MCPConnectionError as _0x5b2f42,MCPConnectionStatus as _0x12d328,MCP_PLUGIN_CONFIG_KEY as _0x388181,UniverMCPPlugin as _0x2c3451}from'@univerjs-pro/mcp';import{Button as _0x40886f,Input as _0x1b8384,MessageType as _0x43e9d1,Tooltip as _0x17feeb,clsx as _0x4edf12}from'@univerjs/design';import{BuiltInUIPart as _0x2f6062,ComponentManager as _0x347581,IDialogService as _0xf080f,IMenuManagerService as _0x29010f,IMessageService as _0x1e86e2,IUIPartsService as _0x4b1764,MenuItemType as _0x616908,RibbonStartGroup as _0x4b7d34,connectInjector as _0x3eb632,useDependency as _0x27fbf1,useObservable as _0x4e5559}from'@univerjs/ui';import{BehaviorSubject as _0x1489c4}from'rxjs';import{CheckMarkIcon as _0x34eb61,CloseIcon as _0x520d07,HelpIcon as _0x28aa91,OffLineIcon as _0x178dec,OnLineIcon as _0xfd0da4}from'@univerjs/icons';import{useCallback as _0x2f9a45,useState as _0x4b5271}from'react';import{jsx as _0x1b0256,jsxs as _0x1a9f70}from'react/jsx-runtime';import{ISocketService as _0x255d94,WebSocketService as _0x11bb76}from'@univerjs/network';function z(_0x46eb76){const _0x2a05d1=_0x1c93;var _0x2b1d77,_0x403590;let {mcpCoreConfig:_0x1dcd88,onSave:_0x535973,loading:_0x2b8ebb=!0x1,config:_0x432097,connectionStatus$:_0x11f7e1,connectionError$:_0x425667,currentApiKey$:_0x397c46,currentSessionId$:_0x365a95}=_0x46eb76,_0x1b1753=_0x27fbf1(_0x1c055e),_0x473dc4=_0x4e5559(_0x11f7e1,_0x12d328[_0x2a05d1(0x205)]),_0x320a4c=_0x4e5559(_0x425667,_0x5b2f42[_0x2a05d1(0x215)]),_0x479a4e=_0x4e5559(_0x365a95,''),[_0x1ce765,_0xc9cb53]=_0x4b5271(_0x4e5559(_0x397c46,'')||''),_0x433cc4=_0x432097['showDeveloperTools']&&_0x1dcd88[_0x2a05d1(0x227)]&&(_0x1dcd88[_0x2a05d1(0x227)]['includes'](_0x2a05d1(0x149))||_0x1dcd88[_0x2a05d1(0x227)][_0x2a05d1(0x1f6)](_0x2a05d1(0x122))),_0x3fd400=(_0x2b1d77=_0x1dcd88[_0x2a05d1(0x227)])==null?void 0x0:_0x2b1d77['includes'](_0x2a05d1(0x149)),_0x58457c=(_0x403590=_0x1dcd88['mcpServerUrl'])==null?void 0x0:_0x403590[_0x2a05d1(0x1f6)](_0x2a05d1(0x122)),_0x48dfc0=_0x3fd400?_0x2a05d1(0x1ba):'https://console.univer.ai',_0x512318=_0x432097[_0x2a05d1(0x1d8)]&&(_0x3fd400||_0x58457c),[_0x576e05,_0xda3b36]=_0x4b5271(!_0x1ce765[_0x2a05d1(0x240)]()),_0x4c28d6=(_0x512424,_0x1ac0f1)=>{const _0x9f9a6a=_0x2a05d1;if(_0x1ac0f1===_0x5b2f42['UNAUTHORIZED'])return'univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200';switch(_0x512424){case _0x12d328[_0x9f9a6a(0x169)]:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case _0x12d328[_0x9f9a6a(0x244)]:case _0x12d328[_0x9f9a6a(0x1bb)]:return _0x9f9a6a(0x231);case _0x12d328['FAILED']:return _0x9f9a6a(0x14a);default:return _0x9f9a6a(0x150);}},_0x16c4ac=(_0x5ddacc,_0x130e65)=>{const _0x31c4d6=_0x2a05d1;if(_0x130e65===_0x5b2f42[_0x31c4d6(0x1e6)])return _0x31c4d6(0x157);switch(_0x5ddacc){case _0x12d328[_0x31c4d6(0x169)]:return _0x31c4d6(0x1ac);case _0x12d328[_0x31c4d6(0x244)]:case _0x12d328[_0x31c4d6(0x1bb)]:return'univer-bg-blue-500';case _0x12d328[_0x31c4d6(0x127)]:return _0x31c4d6(0x157);default:return _0x31c4d6(0x131);}},_0x18753d=_0x31d846=>{const _0x28e3a7=_0x2a05d1;switch(_0x31d846){case _0x12d328[_0x28e3a7(0x169)]:return _0x1b1753['t'](_0x28e3a7(0x1c1));case _0x12d328[_0x28e3a7(0x244)]:return _0x1b1753['t'](_0x28e3a7(0x165));case _0x12d328[_0x28e3a7(0x127)]:return _0x1b1753['t'](_0x28e3a7(0x1e9));case _0x12d328['RETRYING']:return _0x1b1753['t'](_0x28e3a7(0x137));default:return _0x1b1753['t'](_0x28e3a7(0x18e));}},_0x43016f=_0x43dc54=>{const _0x17a83f=_0x2a05d1;switch(_0x43dc54){case _0x5b2f42['UNAUTHORIZED']:return _0x1b1753['t'](_0x17a83f(0x163));case _0x5b2f42['SESSION_ID_OCCUPIED']:return _0x1b1753['t']('mcpConfig.connectionError.sessionOccupied');case _0x5b2f42['NETWORK_ERROR']:return _0x1b1753['t'](_0x17a83f(0x233));case _0x5b2f42['MAX_RETRIES_EXCEEDED']:return _0x1b1753['t']('mcpConfig.connectionError.maxRetriesExceeded');default:return'';}},_0x425feb=_0x2f9a45(()=>{const _0x406b31=_0x2a05d1;_0x535973({..._0x1dcd88,'apiKey':_0x1ce765[_0x406b31(0x240)](),'enableAuth':!0x0});},[_0x1dcd88,_0x1ce765,!0x0,_0x535973]),_0x135844=_0x1ce765[_0x2a05d1(0x240)]()[_0x2a05d1(0x192)]>0x0;return _0x1a9f70('div',{'className':_0x2a05d1(0x1d4),'children':[_0x1b0256(_0x2a05d1(0x12b),{'className':'univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','children':_0x1a9f70('div',{'className':_0x2a05d1(0x1a7),'children':[_0x1b0256(_0x2a05d1(0x12b),{'className':_0x2a05d1(0x13c),'children':_0x1b0256(_0x2a05d1(0x17d),{'className':'univer-text-white','children':'⚙'})}),_0x1b0256('div',{'children':_0x1b0256('p',{'className':_0x2a05d1(0x1be),'children':_0x1b1753['t'](_0x2a05d1(0x18d))})})]})}),_0x1a9f70(_0x2a05d1(0x12b),{'className':_0x2a05d1(0x186),'children':[_0x1b0256('div',{'className':_0x4edf12(_0x2a05d1(0x22e),_0x4c28d6(_0x473dc4,_0x320a4c)),'children':_0x1a9f70('div',{'className':_0x2a05d1(0x12f),'children':[_0x1b0256(_0x2a05d1(0x12b),{'className':_0x4edf12(_0x2a05d1(0x158),_0x16c4ac(_0x473dc4,_0x320a4c))}),_0x1b0256(_0x2a05d1(0x17d),{'className':_0x2a05d1(0x1df),'children':_0x18753d(_0x473dc4)})]})}),_0x320a4c!==_0x5b2f42['NONE']&&(_0x473dc4===_0x12d328[_0x2a05d1(0x127)]||_0x320a4c===_0x5b2f42[_0x2a05d1(0x1e6)])&&_0x1b0256('div',{'className':_0x2a05d1(0x18b),'children':_0x1a9f70(_0x2a05d1(0x12b),{'className':_0x2a05d1(0x13d),'children':[_0x1b0256(_0x2a05d1(0x17d),{'className':'univer-shrink-0\x20univer-text-red-500','children':'⚠️'}),_0x1b0256('p',{'className':_0x2a05d1(0x19c),'children':_0x43016f(_0x320a4c)})]})})]}),_0x1b0256(_0x2a05d1(0x12b),{'className':_0x2a05d1(0x10e),'children':_0x1a9f70('div',{'className':_0x2a05d1(0x11f),'children':[_0x1a9f70('div',{'className':_0x2a05d1(0x1d2),'children':[_0x1a9f70(_0x2a05d1(0x1a4),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','children':[_0x1b0256(_0x2a05d1(0x17d),{'children':'🔑'}),'\x20',_0x1b1753['t'](_0x2a05d1(0x203)),_0x1b0256(_0x2a05d1(0x17d),{'className':_0x2a05d1(0x216),'children':'*'}),_0x433cc4&&_0x1b0256('a',{'className':_0x2a05d1(0x1bf),'title':_0x1b1753['t'](_0x2a05d1(0x211)),'role':_0x2a05d1(0x13e),'onClick':()=>_0xda3b36(!0x0),'children':_0x1b0256(_0x28aa91,{})})]}),_0x1b0256(_0x1b8384,{'type':'text','placeholder':_0x1b1753['t'](_0x2a05d1(0x1da)),'value':_0x1ce765,'disabled':_0x2b8ebb,'autoComplete':_0x2a05d1(0x164),'onChange':_0xc9cb53}),_0x1b0256('p',{'className':'univer-text-xs\x20univer-text-gray-500','children':_0x1b1753['t'](_0x2a05d1(0x1b3))})]}),_0x433cc4&&_0x576e05&&_0x1a9f70(_0x2a05d1(0x12b),{'className':'univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','children':[_0x1b0256('a',{'className':_0x2a05d1(0x1c4),'role':_0x2a05d1(0x13e),'onClick':()=>_0xda3b36(!0x1),'children':_0x1b0256(_0x520d07,{'className':_0x2a05d1(0x15f)})}),_0x1a9f70(_0x2a05d1(0x12b),{'className':_0x2a05d1(0x10f),'children':[_0x1b0256('div',{'className':_0x2a05d1(0x1f4),'children':_0x1b0256(_0x2a05d1(0x17d),{'className':'univer-text-blue-600','children':'🚀'})}),_0x1a9f70(_0x2a05d1(0x12b),{'className':_0x2a05d1(0x148),'children':[_0x1b0256('h4',{'className':_0x2a05d1(0x1d9),'children':_0x1b1753['t'](_0x2a05d1(0x211))}),_0x1b0256('p',{'className':_0x2a05d1(0x22a),'children':_0x1b1753['t'](_0x2a05d1(0x20d))}),_0x1b0256(_0x2a05d1(0x12b),{'className':_0x2a05d1(0x132),'children':_0x512318&&_0x1a9f70('a',{'className':_0x2a05d1(0x14d),'href':_0x48dfc0,'target':_0x2a05d1(0x221),'rel':_0x2a05d1(0x1c2),'children':[_0x1b0256('span',{'children':'🤖'}),_0x1b1753['t']('mcpConfig.apiApplyInfo.univerAiLabel'),_0x1b0256(_0x2a05d1(0x17d),{'className':'univer-text-gray-400','children':'↗'})]})}),_0x1a9f70(_0x2a05d1(0x12b),{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','children':['✨','\x20',_0x1b1753['t'](_0x2a05d1(0x114))]})]})]})]}),_0x432097[_0x2a05d1(0x1d8)]&&_0x1a9f70(_0x2a05d1(0x12b),{'className':_0x2a05d1(0x179),'children':[_0x1a9f70('h4',{'className':_0x2a05d1(0x17e),'children':[_0x1b0256(_0x2a05d1(0x17d),{'children':'🔗'}),'\x20',_0x1b1753['t'](_0x2a05d1(0x1cc))]}),_0x1a9f70(_0x2a05d1(0x12b),{'className':_0x2a05d1(0x167),'children':[_0x1a9f70(_0x2a05d1(0x12b),{'className':'univer-space-y-3','children':[_0x1b0256('p',{'className':_0x2a05d1(0x206),'children':_0x1b1753['t'](_0x2a05d1(0x168))}),_0x1a9f70('div',{'className':_0x2a05d1(0x1d2),'children':[_0x1b0256('div',{'className':_0x2a05d1(0x16b),'children':_0x1b1753['t'](_0x2a05d1(0x11d))}),_0x1a9f70('div',{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','children':[_0x1a9f70(_0x2a05d1(0x12b),{'className':_0x2a05d1(0x12f),'children':[_0x1b0256(_0x2a05d1(0x17d),{'className':_0x2a05d1(0x15b),'children':'1'}),_0x1b1753['t'](_0x2a05d1(0x1cd))]}),_0x1a9f70(_0x2a05d1(0x12b),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x1b0256(_0x2a05d1(0x17d),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'2'}),_0x1b1753['t'](_0x2a05d1(0x213))]}),_0x1a9f70(_0x2a05d1(0x12b),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x1b0256(_0x2a05d1(0x17d),{'className':_0x2a05d1(0x15b),'children':'3'}),_0x1b1753['t'](_0x2a05d1(0x196))]})]})]})]}),_0x1a9f70(_0x2a05d1(0x12b),{'className':_0x2a05d1(0x1d2),'children':[_0x1b0256('div',{'className':_0x2a05d1(0x16b),'children':_0x2a05d1(0x246)}),_0x1b0256('div',{'className':'univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','children':_0x1b0256('pre',{'className':_0x2a05d1(0x237),'children':JSON['stringify']({'mcpServers':{'univer':{'url':_0x2a05d1(0x1a0)+(_0x479a4e||_0x2a05d1(0x22b)),'type':_0x2a05d1(0x198),'headers':{'Authorization':_0x2a05d1(0x1f7)+(_0x1ce765||_0x2a05d1(0x1ce))}}}},null,0x2)})})]}),_0x1a9f70(_0x2a05d1(0x12b),{'className':_0x2a05d1(0x1ca),'children':[_0x1b0256(_0x2a05d1(0x12b),{'className':_0x2a05d1(0x16b),'children':_0x1b1753['t'](_0x2a05d1(0x147))}),_0x1a9f70(_0x2a05d1(0x12b),{'className':_0x2a05d1(0x1d2),'children':[_0x1a9f70(_0x2a05d1(0x12b),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x1b0256(_0x2a05d1(0x12b),{'className':_0x2a05d1(0x208)}),_0x1a9f70('div',{'className':_0x2a05d1(0x1bc),'children':[_0x1b0256('div',{'className':_0x2a05d1(0x234),'children':_0x2a05d1(0x145)}),_0x1b0256('div',{'className':_0x2a05d1(0x249),'children':_0x1b1753['t'](_0x2a05d1(0x112))})]})]}),_0x1a9f70(_0x2a05d1(0x12b),{'className':_0x2a05d1(0x20c),'children':[_0x1b0256('div',{'className':_0x2a05d1(0x208)}),_0x1a9f70(_0x2a05d1(0x12b),{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x1b0256('div',{'className':_0x2a05d1(0x234),'children':_0x2a05d1(0x14f)}),_0x1b0256('div',{'className':_0x2a05d1(0x249),'children':_0x1b1753['t'](_0x2a05d1(0x228))})]})]})]})]})]})]}),_0x1b0256(_0x40886f,{'onClick':_0x425feb,'disabled':!_0x135844||_0x2b8ebb,'className':_0x2a05d1(0x201),'children':_0x2b8ebb?_0x1a9f70(_0x2a05d1(0x17d),{'className':_0x2a05d1(0x12f),'children':[_0x1b0256(_0x2a05d1(0x17d),{'children':'⟲'}),_0x1b1753['t'](_0x2a05d1(0x1ed))]}):_0x1a9f70('span',{'className':_0x2a05d1(0x12f),'children':[_0x1b0256(_0x34eb61,{}),_0x1b1753['t'](_0x2a05d1(0x185))]})}),_0x1b0256(_0x2a05d1(0x12b),{'className':_0x2a05d1(0x21b),'children':_0x1a9f70(_0x2a05d1(0x12b),{'className':_0x2a05d1(0x17f),'children':[_0x1b0256('span',{'className':_0x2a05d1(0x133),'children':'💡'}),_0x1a9f70('div',{'className':'univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','children':[_0x1b0256('div',{'className':_0x2a05d1(0x12c),'children':'Configuration\x20Notes:'}),_0x1a9f70(_0x2a05d1(0x12b),{'children':['•',_0x1b1753['t'](_0x2a05d1(0x243))]}),_0x1a9f70(_0x2a05d1(0x12b),{'children':['•',_0x1b1753['t'](_0x2a05d1(0x23c))]})]})]})})]})})]});}function _0x4af5(){const _0x6c020=['MCP\x20状态未知','getCurrentConfig','getConfig','validateApiKey','_initAutoConnect','mcpConfig.apiKeyHint','connectionError$','error','Enter\x20your\x20API\x20key','default','MCP:\x20Network\x20Error','已连接','https://console.univer.plus','RETRYING','univer-min-w-0\x20univer-flex-1','_injector','univer-text-sm\x20univer-text-gray-500','univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','forEach','mcpConfig.connectionStatus.connected','noopener\x20noreferrer','open','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','Configuration\x20Parameters:','MCP\x20连接中...','mcp-ui.config','Configuration\x20Steps:','配置\x20MCP\x20使用\x20AI\x20操作电子表格','univer-space-y-3','has','mcpConfig.connectionInfo','mcpConfig.configStep1','<API_KEY>','function','version','_mcpCoreConfig$','univer-space-y-2','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','API\x20key\x20with\x20Bearer\x20prefix.','mcpStatus.failed','网络连接错误,请检查您的网络连接','showDeveloperTools','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','mcpConfig.apiKeyPlaceholder','defineProperty','mcpStatus.unknown','请输入您的\x20API\x20密钥','重启您的\x20MCP\x20客户端以使配置生效','univer-text-sm\x20univer-font-medium','API\x20密钥用于连接\x20Univer\x20MCP\x20服务器,让您可以使用\x20AI\x20来操作电子表格。请前往控制台获取您的专属密钥。','getOwnPropertyDescriptor','@univerjs-pro/mcp-ui','MCP\x20已断开','mcpStatus.retrying','MAX_RETRIES_EXCEEDED','UNAUTHORIZED','_initializeMenus','_configService','mcpConfig.connectionStatus.failed','_validateConfig','value','Click\x20to\x20configure\x20MCP','mcpConfig.saving','_connectionController','复制以下\x20JSON\x20配置','连接中...','_apiKey$','6792360wcqPyp','将以下配置添加到您的\x20MCP\x20客户端设置中:','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','mcp-ui.command.openConfigPanel','includes','Bearer\x20','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','What\x20is\x20API\x20Key?','_loadStoredApiKey','mcpConfig.configError','MCP\x20Disconnected','_config','close','几秒钟内获取您的\x20API\x20密钥','subscribe','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','_registerComponent','mcpConfig.apiKey','保存配置','DISCONNECTED','univer-text-xs\x20univer-text-gray-600','配置保存成功','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','Univer\x20AI\x20控制台','MCP\x20连接失败','重连中...','univer-flex\x20univer-items-start\x20univer-gap-3','mcpConfig.apiApplyInfo.description','4ecyqJe','MCPConfigPanel','sessionId$','mcpConfig.apiApplyInfo.title','6THUfdi','mcpConfig.configStep2','toPrimitive','NONE','univer-text-red-500','univer-text-yellow-500','API\x20密钥长度至少需要\x2010\x20位','_uiPartsService','_initConfigSync','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','univer-text-gray-500','mcpStatus.clickToConfigure','_mcpConnectionController','setConfig','isValid','_blank','iterator','OTHERS','Connecting...','配置无效','514497vNHLiT','mcpServerUrl','mcpConfig.authorizationDescription','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','<SESSION_ID>','Error','errorMessage','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2','您的\x20API\x20密钥安全存储在本地存储中','194166Ggyolr','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','_componentManager','mcpConfig.connectionError.networkError','univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','MCP\x20配置','_initializeCommands','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','_localStorageService','mcp-config-dialog','removeItem','symbol','mcpConfig.note2','mcpConfig.validation.invalidApiKey','_createConfigPanelComponent','MCP\x20Client\x20Configuration','trim','Failed\x20to\x20save\x20configuration','SESSION_ID_OCCUPIED','mcpConfig.note1','CONNECTING','7564501duMupm','MCP\x20Configuration','registerComponent','Configuration\x20saved\x20successfully','univer-text-xs\x20univer-text-gray-500','univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','prototype','onStarting','mcpConfig.sessionIdDescription','_config$','mcpConfig.apiApplyInfo.getStarted','get','MCP:\x20网络错误','MCP\x20Connection\x20Failed','_messageService','_commandService','mergeMenu','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','_dialogService','mcpConfig.configStepTitle','保存中...','univer-space-y-5','object','Connection\x20Failed','univer.ai','权限验证失败,请检查您的\x20API\x20密钥','未连接','点击连接\x20MCP','mcpConfig.title','FAILED','API\x20密钥不能为空','MCP\x20Retrying...','Click\x20to\x20connect\x20MCP','div','univer-font-medium','showStatus','_loading$','univer-flex\x20univer-items-center\x20univer-gap-2','MCP_UI_PLUGIN','univer-bg-gray-500','univer-flex\x20univer-flex-wrap\x20univer-gap-2','univer-shrink-0\x20univer-text-blue-500','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','配置保存失败','超出最大重试次数,请稍后再试','mcpConfig.connectionStatus.retrying','Retrying...','最大重试次数','warn','8LVVnwZ','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','univer-flex\x20univer-items-start\x20univer-gap-2','button','启用身份验证以获得安全连接','add','mcpStatus.networkError','connectionStatus$','mcpStatus.maxRetriesExceeded','_logService','univer_session_id:','配置更改将立即生效','mcpConfig.configParameters','univer-flex-1','univer.plus','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','mcpConfig.configSaved','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','\x20-\x20','Authorization:','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','HEADER_MENU','BUTTON','string','Save\x20Configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','2267618dOuidq','univer-bg-red-500','univer-size-2\x20univer-rounded-full','__setCustomHeaders','带有\x20Bearer\x20前缀的\x20API\x20密钥。','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','show','284855XzjZbf','MCP\x20客户端配置','univer-size-4','NETWORK_ERROR','MCP:\x20会话\x20ID\x20已被占用','Enable\x20authentication\x20for\x20secure\x20connections','mcpConfig.connectionError.unauthorized','off','mcpConfig.connectionStatus.connecting','API\x20Key','univer-space-y-4','mcpConfig.configInstructions','CONNECTED','571698xpHMlT','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','API\x20密钥','_initStatusComponent','mcp.apiKey','MCP\x20Unknown\x20Status','_handleConfigSave','Get\x20your\x20API\x20key\x20in\x20seconds','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','call','0.25.0','MCP\x20已连接','Session\x20ID','MCP\x20重连中...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','点击配置\x20MCP','univer-text-green-500','span','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','univer-flex\x20univer-gap-3','showConfigPanel','apiKey','mcpStatus.unauthorized','_handleConfigure','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','mcpConfig.save','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','mcpConfig.validation.apiKeyRequired','registerCommand','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','Univer\x20AI\x20Console','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','Success','mcpConfig.description','mcpConfig.connectionStatus.disconnected','register','push','什么是\x20API\x20密钥?','length','next','MCP:\x20Max\x20Retries\x20Exceeded','MCP:\x20Session\x20ID\x20Occupied','mcpConfig.configStep3','enableAutoConnect','http','pluginName','mcpConfig.validation.apiKeyTooShort','mcpStatus.connected','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','_localeService','API\x20key\x20is\x20required','https://mcp.univer.ai/mcp/?univer_session_id=','disposeWithMe','MCP:\x20超出最大重试次数','constructor','label','Connected','setItem','univer-flex\x20univer-items-center\x20univer-gap-3','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','decorate','MCP:\x20Unauthorized','API\x20密钥无效,请检查密钥是否正确','univer-bg-green-500','MCP\x20Connecting...'];_0x4af5=function(){return _0x6c020;};return _0x4af5();}const B=_0x4a528e(0x1c7),V={'showDeveloperTools':!0x1,'showStatus':!0x0};function H(_0x22f856){'@babel/helpers - typeof';const _0x4ce639=_0x4a528e;return H=typeof Symbol==_0x4ce639(0x1cf)&&typeof Symbol[_0x4ce639(0x222)]==_0x4ce639(0x23b)?function(_0x3b3ecf){return typeof _0x3b3ecf;}:function(_0x2d4079){const _0xf5be9c=_0x4ce639;return _0x2d4079&&typeof Symbol==_0xf5be9c(0x1cf)&&_0x2d4079[_0xf5be9c(0x1a3)]===Symbol&&_0x2d4079!==Symbol[_0xf5be9c(0x110)]?_0xf5be9c(0x23b):typeof _0x2d4079;},H(_0x22f856);}function oe(_0x1b2fb7,_0x4484f1){const _0x284556=_0x4a528e;if(H(_0x1b2fb7)!=_0x284556(0x120)||!_0x1b2fb7)return _0x1b2fb7;var _0x4160db=_0x1b2fb7[Symbol[_0x284556(0x214)]];if(_0x4160db!==void 0x0){var _0x552ddf=_0x4160db[_0x284556(0x173)](_0x1b2fb7,_0x4484f1||_0x284556(0x1b7));if(H(_0x552ddf)!=_0x284556(0x120))return _0x552ddf;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x4484f1===_0x284556(0x153)?String:Number)(_0x1b2fb7);}function se(_0x43e022){const _0x4162b0=_0x4a528e;var _0x44dd41=oe(_0x43e022,_0x4162b0(0x153));return H(_0x44dd41)==_0x4162b0(0x23b)?_0x44dd41:_0x44dd41+'';}function U(_0xc6b90b,_0x5f0f60,_0x317fa5){const _0x1fbeee=_0x4a528e;return(_0x5f0f60=se(_0x5f0f60))in _0xc6b90b?Object[_0x1fbeee(0x1db)](_0xc6b90b,_0x5f0f60,{'value':_0x317fa5,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xc6b90b[_0x5f0f60]=_0x317fa5,_0xc6b90b;}function W(_0x8a53e4,_0x54bf54){return function(_0xd0b5d3,_0x20059b){_0x54bf54(_0xd0b5d3,_0x20059b,_0x8a53e4);};}function G(_0x246257,_0x10ce85,_0x3b06f0,_0x34c465){const _0x50abc4=_0x4a528e;var _0x35043f=arguments[_0x50abc4(0x192)],_0x5543aa=_0x35043f<0x3?_0x10ce85:_0x34c465===null?_0x34c465=Object[_0x50abc4(0x1e1)](_0x10ce85,_0x3b06f0):_0x34c465,_0x1c82d2;if(typeof Reflect=='object'&&typeof Reflect[_0x50abc4(0x1a9)]==_0x50abc4(0x1cf))_0x5543aa=Reflect[_0x50abc4(0x1a9)](_0x246257,_0x10ce85,_0x3b06f0,_0x34c465);else{for(var _0x566ae8=_0x246257[_0x50abc4(0x192)]-0x1;_0x566ae8>=0x0;_0x566ae8--)(_0x1c82d2=_0x246257[_0x566ae8])&&(_0x5543aa=(_0x35043f<0x3?_0x1c82d2(_0x5543aa):_0x35043f>0x3?_0x1c82d2(_0x10ce85,_0x3b06f0,_0x5543aa):_0x1c82d2(_0x10ce85,_0x3b06f0))||_0x5543aa);}return _0x35043f>0x3&&_0x5543aa&&Object['defineProperty'](_0x10ce85,_0x3b06f0,_0x5543aa),_0x5543aa;}const K=_0x4a528e(0x16e),q=_0x4a528e(0x239);let J=class extends _0x104263{constructor(_0x15fbc4,_0x17e476,_0x3e254f,_0x58855f,_0x441fcc,_0x167094,_0x28c367,_0x14fc1f,_0x1db398,_0x308981){const _0x56a2f1=_0x4a528e;super(),this[_0x56a2f1(0x1bd)]=_0x15fbc4,this[_0x56a2f1(0x219)]=_0x17e476,this[_0x56a2f1(0x1e8)]=_0x3e254f,this[_0x56a2f1(0x238)]=_0x58855f,this['_dialogService']=_0x441fcc,this[_0x56a2f1(0x118)]=_0x167094,this[_0x56a2f1(0x232)]=_0x28c367,this['_localeService']=_0x14fc1f,this[_0x56a2f1(0x144)]=_0x1db398,this[_0x56a2f1(0x21e)]=_0x308981,U(this,_0x56a2f1(0x12e),new _0x1489c4(!0x1)),U(this,_0x56a2f1(0x1d1),new _0x1489c4({})),U(this,_0x56a2f1(0x113),new _0x1489c4({})),U(this,_0x56a2f1(0x1f1),new _0x1489c4('')),U(this,'_handleConfigSave',async _0x2b067a=>{const _0x2faa4b=_0x56a2f1;this[_0x2faa4b(0x12e)][_0x2faa4b(0x193)](!0x0);try{var _0x3be551,_0x3beec7;let _0x475efd=await this[_0x2faa4b(0x1ea)](_0x2b067a);if(!_0x475efd['isValid']){this[_0x2faa4b(0x118)][_0x2faa4b(0x15c)]({'type':_0x43e9d1[_0x2faa4b(0x22c)],'content':_0x475efd[_0x2faa4b(0x22d)]||this[_0x2faa4b(0x19e)]['t']('mcpConfig.validation.invalidConfig')});return;}_0x2b067a[_0x2faa4b(0x181)]?await this[_0x2faa4b(0x238)][_0x2faa4b(0x1a6)](K,_0x2b067a[_0x2faa4b(0x181)][_0x2faa4b(0x240)]()):await this[_0x2faa4b(0x238)][_0x2faa4b(0x23a)](K),this[_0x2faa4b(0x1f1)]['next'](((_0x3be551=_0x2b067a[_0x2faa4b(0x181)])==null?void 0x0:_0x3be551['trim']())||''),this[_0x2faa4b(0x21e)][_0x2faa4b(0x159)]({'Authorization':'Bearer\x20'+((_0x3beec7=_0x2b067a['apiKey'])==null?void 0x0:_0x3beec7[_0x2faa4b(0x240)]())}),this[_0x2faa4b(0x118)]['show']({'type':_0x43e9d1[_0x2faa4b(0x18c)],'content':this[_0x2faa4b(0x19e)]['t'](_0x2faa4b(0x14b))}),setTimeout(()=>{const _0x593378=_0x2faa4b;this[_0x593378(0x11c)][_0x593378(0x1fe)](q);},0x320);}catch(_0x1d2732){this[_0x2faa4b(0x144)]['error']('[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:',_0x1d2732),this['_messageService']['show']({'type':_0x43e9d1[_0x2faa4b(0x22c)],'content':this[_0x2faa4b(0x19e)]['t'](_0x2faa4b(0x1fb))});}finally{this[_0x2faa4b(0x12e)][_0x2faa4b(0x193)](!0x1);}}),this[_0x56a2f1(0x21a)](),this['_loadStoredApiKey'](),this['_registerComponent']();}['showConfigPanel'](){const _0x59961c=_0x4a528e;let _0x4388bd=this[_0x59961c(0x1e8)][_0x59961c(0x1b0)](B);_0x4388bd!=null&&_0x4388bd[_0x59961c(0x1d8)]&&this[_0x59961c(0x11c)][_0x59961c(0x1c3)]({'id':q,'title':{'title':this['_localeService']['t'](_0x59961c(0x126))},'children':{'label':'MCPConfigPanel'},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x3f7e09=_0x59961c;this[_0x3f7e09(0x11c)][_0x3f7e09(0x1fe)](q);}});}[_0x4a528e(0x1af)](){const _0x5307c7=_0x4a528e;return this[_0x5307c7(0x1d1)][_0x5307c7(0x1eb)];}[_0x4a528e(0x202)](){const _0x2cba83=_0x4a528e;this[_0x2cba83(0x1a1)](this['_componentManager'][_0x2cba83(0x18f)](_0x2cba83(0x20f),this[_0x2cba83(0x23e)]()));}['_createConfigPanelComponent'](){const _0x35e1a8=_0x4a528e;return _0x3eb632(()=>{const _0x40a66d=_0x1c93;var _0x5d0056,_0x5a5c4e,_0x152e9d;return _0x1b0256(z,{'config':this[_0x40a66d(0x113)][_0x40a66d(0x1eb)],'mcpCoreConfig':this[_0x40a66d(0x1d1)][_0x40a66d(0x1eb)],'currentApiKey$':this['_apiKey$'],'onSave':this[_0x40a66d(0x170)],'loading':this[_0x40a66d(0x12e)][_0x40a66d(0x1eb)],'connectionStatus$':(_0x5d0056=this[_0x40a66d(0x21e)])==null?void 0x0:_0x5d0056[_0x40a66d(0x142)],'connectionError$':(_0x5a5c4e=this[_0x40a66d(0x21e)])==null?void 0x0:_0x5a5c4e[_0x40a66d(0x1b4)],'currentSessionId$':(_0x152e9d=this[_0x40a66d(0x21e)])==null?void 0x0:_0x152e9d[_0x40a66d(0x210)]});},this[_0x35e1a8(0x1bd)]);}[_0x4a528e(0x21a)](){const _0x34fb05=_0x4a528e;this['disposeWithMe'](this[_0x34fb05(0x1e8)]['subscribeConfigValue$'](_0x388181)[_0x34fb05(0x200)](_0xe4b60d=>{const _0x95e442=_0x34fb05;this[_0x95e442(0x1d1)][_0x95e442(0x193)](_0xe4b60d||{});}));let _0x5f0c04=this[_0x34fb05(0x1e8)][_0x34fb05(0x1b0)](_0x388181);this[_0x34fb05(0x1d1)][_0x34fb05(0x193)](_0x5f0c04||{}),this[_0x34fb05(0x1a1)](this[_0x34fb05(0x1e8)]['subscribeConfigValue$'](B)['subscribe'](_0x589a37=>{const _0x423bcd=_0x34fb05;this[_0x423bcd(0x113)][_0x423bcd(0x193)](_0x589a37||{});}));let _0x4234d1=this['_configService'][_0x34fb05(0x1b0)](B);this[_0x34fb05(0x113)][_0x34fb05(0x193)](_0x4234d1||{});}async[_0x4a528e(0x1fa)](){const _0x1c332e=_0x4a528e;let _0x12fa6e=this[_0x1c332e(0x1e8)][_0x1c332e(0x1b0)](B);if(!(_0x12fa6e!=null&&_0x12fa6e['showDeveloperTools']))return;let _0x1c4c6b=await this[_0x1c332e(0x238)]['getItem'](K);_0x1c4c6b&&(this['_mcpConnectionController'][_0x1c332e(0x159)]({'Authorization':_0x1c332e(0x1f7)+_0x1c4c6b}),this[_0x1c332e(0x1f1)][_0x1c332e(0x193)](_0x1c4c6b));}async[_0x4a528e(0x1ea)](_0x483b07){const _0x4b4390=_0x4a528e;if(!_0x483b07[_0x4b4390(0x181)]||_0x483b07[_0x4b4390(0x181)]['trim']()[_0x4b4390(0x192)]===0x0)return{'isValid':!0x1,'errorMessage':this[_0x4b4390(0x19e)]['t'](_0x4b4390(0x187))};if(_0x483b07[_0x4b4390(0x181)]['trim']()[_0x4b4390(0x192)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x4b4390(0x19e)]['t'](_0x4b4390(0x19a))};try{let _0x3d5fab=await this[_0x4b4390(0x1bd)][_0x4b4390(0x115)](_0x59b840)[_0x4b4390(0x1b1)](_0x483b07[_0x4b4390(0x181)][_0x4b4390(0x240)]());return _0x3d5fab[_0x4b4390(0x220)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x3d5fab[_0x4b4390(0x1b5)]||this[_0x4b4390(0x19e)]['t'](_0x4b4390(0x23d))};}catch(_0x54d875){return console[_0x4b4390(0x13a)](_0x4b4390(0x189),_0x54d875),{'isValid':!0x0};}}};J=G([W(0x0,_0x520f38(_0x52d720)),W(0x1,_0x4b1764),W(0x2,_0x5c1546),W(0x3,_0x51289c),W(0x4,_0xf080f),W(0x5,_0x1e86e2),W(0x6,_0x520f38(_0x347581)),W(0x7,_0x520f38(_0x1c055e)),W(0x8,_0x5688b6),W(0x9,_0x520f38(_0x59b840))],J);const Y={'id':_0x4a528e(0x1f5),'type':_0x24f842['COMMAND'],'handler':async(_0xf73df9,_0x3d00e1)=>(_0xf73df9[_0x4a528e(0x115)](J)[_0x4a528e(0x180)](),!0x0)};function X(_0x3d3467,_0x533f04){const _0x427283=_0x4a528e;switch(_0x3d3467){case _0x12d328['DISCONNECTED']:return'mcpStatus.disconnected';case _0x12d328['CONNECTING']:return'mcpStatus.connecting';case _0x12d328[_0x427283(0x169)]:return _0x427283(0x19b);case _0x12d328[_0x427283(0x127)]:switch(_0x533f04){case _0x5b2f42['UNAUTHORIZED']:return _0x427283(0x182);case _0x5b2f42[_0x427283(0x242)]:return'mcpStatus.sessionOccupied';case _0x5b2f42[_0x427283(0x160)]:return _0x427283(0x141);case _0x5b2f42[_0x427283(0x1e5)]:return _0x427283(0x143);default:return _0x427283(0x1d6);}case _0x12d328[_0x427283(0x1bb)]:return _0x427283(0x1e4);default:return _0x427283(0x1dc);}}function ce(_0x337b23,_0x137f2b,_0xd25106,_0x45ed3d=!0x0){const _0x362dd6=_0x4a528e;let _0x42274b=X(_0x337b23,_0x137f2b),_0x418a91=_0xd25106['t'](_0x42274b);return _0x45ed3d?_0x337b23===_0x12d328['DISCONNECTED']&&_0x137f2b===_0x5b2f42[_0x362dd6(0x1e6)]?_0x418a91+_0x362dd6(0x14e)+_0xd25106['t'](_0x362dd6(0x21d)):_0x337b23===_0x12d328[_0x362dd6(0x169)]?''+_0x418a91:_0x337b23===_0x12d328['DISCONNECTED']||_0x337b23===_0x12d328[_0x362dd6(0x127)]?_0x418a91+_0x362dd6(0x14e)+_0xd25106['t']('mcpStatus.clickToConnect'):_0x418a91:_0x418a91;}function le(_0x3ef4c5){const _0x19b306=_0x4a528e;switch(_0x3ef4c5){case _0x12d328['CONNECTED']:return _0x19b306(0x17c);case _0x12d328[_0x19b306(0x244)]:case _0x12d328[_0x19b306(0x1bb)]:return _0x19b306(0x217);case _0x12d328[_0x19b306(0x127)]:case _0x12d328[_0x19b306(0x205)]:return _0x19b306(0x216);default:return _0x19b306(0x21c);}}function ue(_0x5253fc){const _0x4c0bc2=_0x4a528e;let {status$:_0x4353c8,error$:_0x584cda,onConfigure:_0x39033b,showClickable:_0x540f86=!0x0}=_0x5253fc,_0x4e8724=_0x4e5559(_0x4353c8,_0x12d328[_0x4c0bc2(0x205)]),_0x5da686=_0x4e5559(_0x584cda,_0x5b2f42[_0x4c0bc2(0x215)]),_0x247edd=_0x27fbf1(_0x1c055e),_0x188334=_0x4e8724===_0x12d328[_0x4c0bc2(0x169)];_0x4e8724===_0x12d328[_0x4c0bc2(0x244)]||_0x12d328[_0x4c0bc2(0x1bb)];let _0x4363ad=_0x247edd['t'](X(_0x4e8724,_0x5da686)),_0x347bad=ce(_0x4e8724,_0x5da686,_0x247edd,_0x540f86),_0x4d105a=le(_0x4e8724),_0x226a8f=_0x1b0256(_0x188334?_0xfd0da4:_0x178dec,{}),_0x442286=_0x2f9a45(()=>{_0x540f86&&_0x39033b&&_0x39033b();},[_0x540f86,_0x39033b]);function _0x5c1914(){const _0x5e1478=_0x4c0bc2;return _0x1a9f70('div',{'className':_0x4edf12('univer-flex\x20univer-items-center',_0x540f86&&_0x39033b&&'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-cursor-pointer\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-opacity-80\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'),'role':'button','onClick':_0x540f86&&_0x39033b?_0x442286:void 0x0,'children':[_0x1b0256(_0x5e1478(0x12b),{'className':_0x4edf12('univer-mr-2\x20univer-flex\x20univer-text-xl',_0x4d105a),'children':_0x226a8f}),_0x1b0256(_0x5e1478(0x12b),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4363ad})]});}return _0x1b0256(_0x17feeb,{'title':_0x347bad,'placement':'bottom','children':_0x5c1914()});}let Z=class extends _0x104263{constructor(_0x31cf5c,_0x1ba9b2,_0x431bb7,_0x3d735f){const _0x3e64fc=_0x4a528e;super(),this[_0x3e64fc(0x1bd)]=_0x31cf5c,this[_0x3e64fc(0x1ee)]=_0x1ba9b2,this[_0x3e64fc(0x219)]=_0x431bb7,this[_0x3e64fc(0x1e8)]=_0x3d735f,this['_initAutoConnect'](),this[_0x3e64fc(0x16d)]();}[_0x4a528e(0x1b2)](){const _0x444319=_0x4a528e;let _0x376a0f=this['_configService'][_0x444319(0x1b0)](B);_0x376a0f!=null&&_0x376a0f['showDeveloperTools']&&(this[_0x444319(0x1ee)][_0x444319(0x197)]=!0x1);}[_0x4a528e(0x16d)](){const _0x3a35e8=_0x4a528e;let _0x16226b=this[_0x3a35e8(0x1e8)]['getConfig'](B);(_0x16226b==null?void 0x0:_0x16226b[_0x3a35e8(0x12d)])!==!0x1&&this[_0x3a35e8(0x1a1)](this[_0x3a35e8(0x219)][_0x3a35e8(0x247)](_0x2f6062[_0x3a35e8(0x151)],()=>{const _0xac0222=_0x3a35e8;var _0x3e2685;return _0x3eb632(de({'status$':this[_0xac0222(0x1ee)]['connectionStatus$'],'error$':this[_0xac0222(0x1ee)][_0xac0222(0x1b4)],'onConfigure':()=>this[_0xac0222(0x183)](),'showClickable':(_0x3e2685=_0x16226b==null?void 0x0:_0x16226b['showDeveloperTools'])==null?!0x1:_0x3e2685}),this[_0xac0222(0x1bd)]);}));}['_handleConfigure'](){const _0x54a707=_0x4a528e;this['_injector'][_0x54a707(0x115)](J)[_0x54a707(0x180)]();}};Z=G([W(0x0,_0x520f38(_0x52d720)),W(0x1,_0x520f38(_0x59b840)),W(0x2,_0x4b1764),W(0x3,_0x5c1546)],Z);function de(_0x2bf82d){let {status$:_0x14e3c4,error$:_0x2f3f89,onConfigure:_0x3ef277,showClickable:_0x3619a6}=_0x2bf82d;return function(){return _0x1b0256(ue,{'status$':_0x14e3c4,'error$':_0x2f3f89,'onConfigure':_0x3ef277,'showClickable':_0x3619a6});};}function fe(_0x2b44f0){const _0xf69c60=_0x4a528e;return{'id':Y['id'],'type':_0x616908[_0xf69c60(0x152)],'icon':'MenuIcon','title':_0xf69c60(0x126),'tooltip':_0xf69c60(0x126)};}const pe={[_0x4b7d34[_0x4a528e(0x223)]]:{[Y['id']]:{'order':0xa,'menuItemFactory':fe}}};let Q=class extends _0x104263{constructor(_0x2c0e37,_0x46ea9b){const _0x198079=_0x4a528e;super(),this[_0x198079(0x119)]=_0x2c0e37,this['_menuManagerService']=_0x46ea9b,this[_0x198079(0x236)](),this[_0x198079(0x1e7)]();}['_initializeCommands'](){const _0x232142=_0x4a528e;[Y][_0x232142(0x1c0)](_0x3efd59=>{const _0x5af946=_0x232142;this['disposeWithMe'](this[_0x5af946(0x119)][_0x5af946(0x188)](_0x3efd59));});}[_0x4a528e(0x1e7)](){const _0x419287=_0x4a528e;this['_menuManagerService'][_0x419287(0x11a)](pe);}};Q=G([W(0x0,_0x3dd060),W(0x1,_0x29010f)],Q);const me={'mcpStatus':{'disconnected':_0x4a528e(0x1fc),'connecting':_0x4a528e(0x1ad),'connected':'MCP\x20Connected','failed':_0x4a528e(0x117),'retrying':_0x4a528e(0x129),'unknown':_0x4a528e(0x16f),'unauthorized':_0x4a528e(0x1aa),'sessionOccupied':_0x4a528e(0x195),'networkError':_0x4a528e(0x1b8),'maxRetriesExceeded':_0x4a528e(0x194),'clickToConnect':_0x4a528e(0x12a),'clickToConfigure':_0x4a528e(0x1ec)},'mcpConfig':{'title':_0x4a528e(0x246),'description':_0x4a528e(0x178),'apiKey':_0x4a528e(0x166),'apiKeyPlaceholder':_0x4a528e(0x1b6),'apiKeyHint':_0x4a528e(0x1f8),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x4a528e(0x162),'connectionInfo':_0x4a528e(0x23f),'mcpClientConfig':'MCP\x20Client\x20Configuration','configInstructions':_0x4a528e(0x14c),'configStepTitle':_0x4a528e(0x1c8),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x4a528e(0x1a8),'configStep3':_0x4a528e(0x172),'sessionId':_0x4a528e(0x176),'sessionIdDescription':_0x4a528e(0x229),'authorizationDescription':_0x4a528e(0x1d5),'configParameters':_0x4a528e(0x1c5),'maxRetries':'Max\x20Retries','save':_0x4a528e(0x154),'saving':'Saving...','note1':_0x4a528e(0x184),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':_0x4a528e(0x248),'configError':_0x4a528e(0x241),'apiApplyInfo':{'title':_0x4a528e(0x1f9),'description':_0x4a528e(0x19d),'univerAiLabel':_0x4a528e(0x18a),'getStarted':_0x4a528e(0x171)},'validation':{'apiKeyRequired':_0x4a528e(0x19f),'apiKeyTooShort':_0x4a528e(0x155),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x4a528e(0x1d3)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x4a528e(0x224),'connected':_0x4a528e(0x1a5),'failed':_0x4a528e(0x121),'retrying':_0x4a528e(0x138)},'connectionError':{'unauthorized':_0x4a528e(0x11b),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x4a528e(0x17a),'maxRetriesExceeded':_0x4a528e(0x134)}}},he={'mcpStatus':{'disconnected':_0x4a528e(0x1e3),'connecting':_0x4a528e(0x1c6),'connected':_0x4a528e(0x175),'failed':_0x4a528e(0x20a),'retrying':_0x4a528e(0x177),'unknown':_0x4a528e(0x1ae),'unauthorized':'MCP:\x20未授权','sessionOccupied':_0x4a528e(0x161),'networkError':_0x4a528e(0x116),'maxRetriesExceeded':_0x4a528e(0x1a2),'clickToConnect':_0x4a528e(0x125),'clickToConfigure':_0x4a528e(0x17b)},'mcpConfig':{'title':_0x4a528e(0x235),'description':_0x4a528e(0x1c9),'apiKey':_0x4a528e(0x16c),'apiKeyPlaceholder':_0x4a528e(0x1dd),'apiKeyHint':'您的\x20API\x20密钥将在此浏览器中本地存储','enableAuth':'启用身份验证','enableAuthHint':_0x4a528e(0x13f),'connectionInfo':'MCP\x20客户端配置','mcpClientConfig':_0x4a528e(0x15e),'configInstructions':_0x4a528e(0x1f3),'configStepTitle':'配置步骤:','configStep1':_0x4a528e(0x1ef),'configStep2':'将配置添加到您的\x20MCP\x20客户端设置文件中','configStep3':_0x4a528e(0x1de),'sessionId':'会话ID','sessionIdDescription':'唯一会话标识符。如果您打开了多个\x20Univer\x20实例,每个实例必须使用不同的\x20session_id\x20以避免连接冲突。','authorizationDescription':_0x4a528e(0x15a),'configParameters':'配置参数:','maxRetries':_0x4a528e(0x139),'save':_0x4a528e(0x204),'saving':_0x4a528e(0x11e),'note1':_0x4a528e(0x146),'note2':_0x4a528e(0x22f),'configSaved':_0x4a528e(0x207),'configError':_0x4a528e(0x135),'apiApplyInfo':{'title':_0x4a528e(0x191),'description':_0x4a528e(0x1e0),'univerAiLabel':_0x4a528e(0x209),'getStarted':_0x4a528e(0x1ff)},'validation':{'apiKeyRequired':_0x4a528e(0x128),'apiKeyTooShort':_0x4a528e(0x218),'invalidConfig':_0x4a528e(0x225),'invalidApiKey':_0x4a528e(0x1ab)},'connectionStatus':{'disconnected':_0x4a528e(0x124),'connecting':_0x4a528e(0x1f0),'connected':_0x4a528e(0x1b9),'failed':'连接失败','retrying':_0x4a528e(0x20b)},'connectionError':{'unauthorized':_0x4a528e(0x123),'sessionOccupied':'会话\x20ID\x20已被占用,请稍后再试','networkError':_0x4a528e(0x1d7),'maxRetriesExceeded':_0x4a528e(0x136)}}};var ge=_0x4a528e(0x1e2),_e=_0x4a528e(0x174);function _0x1c93(_0x3dadee,_0x318707){_0x3dadee=_0x3dadee-0x10e;const _0x4af59b=_0x4af5();let _0x1c9353=_0x4af59b[_0x3dadee];return _0x1c9353;}let $=class extends _0x1904dc{constructor(_0x54da7f=V,_0x137b01,_0x5cd17f,_0x224e79,_0x26d234,_0x47adac){const _0x21c832=_0x4a528e;super(),this[_0x21c832(0x1fd)]=_0x54da7f,this[_0x21c832(0x1bd)]=_0x137b01,this[_0x21c832(0x1e8)]=_0x5cd17f,this[_0x21c832(0x219)]=_0x224e79,this[_0x21c832(0x238)]=_0x26d234,this[_0x21c832(0x19e)]=_0x47adac;let {..._0xea54e2}=_0x30ce96({},V,this['_config']);this['_configService'][_0x21c832(0x21f)](B,_0xea54e2);}async[_0x4a528e(0x111)](){const _0x5da323=_0x4a528e;let _0x467d71=[[Z],[J],[Q]];this[_0x5da323(0x1bd)][_0x5da323(0x1cb)](_0x255d94)||_0x467d71[_0x5da323(0x190)]([_0x255d94,{'useClass':_0x11bb76}]),_0x467d71['forEach'](_0x146373=>this[_0x5da323(0x1bd)][_0x5da323(0x140)](_0x146373)),this[_0x5da323(0x1bd)][_0x5da323(0x115)](Z),this['_injector'][_0x5da323(0x115)](J),this['_injector'][_0x5da323(0x115)](Q);}};U($,_0x4a528e(0x199),_0x4a528e(0x130)),U($,'packageName',ge),U($,_0x4a528e(0x1d0),_e),$=G([_0x301de1(_0x2c3451),W(0x1,_0x520f38(_0x52d720)),W(0x2,_0x5c1546),W(0x3,_0x4b1764),W(0x4,_0x51289c),W(0x5,_0x520f38(_0x1c055e))],$);export{z as MCPConfigPanel,J as MCPConfigUIController,Z as MCPConnectionUIController,ue as MCPStatusDisplay,Q as MCPUIMenuController,Y as OpenMCPConfigPanelCommand,$ as UniverMCPUIPlugin,me as enUS,he as zhCN};
1
+ const _0xfb996e=_0x5d68;(function(_0x17ba92,_0x27a8d5){const _0x1abdf9=_0x5d68,_0x6a796a=_0x17ba92();while(!![]){try{const _0x48b653=-parseInt(_0x1abdf9(0x12b))/0x1*(parseInt(_0x1abdf9(0xdf))/0x2)+parseInt(_0x1abdf9(0x14d))/0x3+parseInt(_0x1abdf9(0x12c))/0x4+-parseInt(_0x1abdf9(0x151))/0x5*(parseInt(_0x1abdf9(0x147))/0x6)+parseInt(_0x1abdf9(0xe4))/0x7*(-parseInt(_0x1abdf9(0x11e))/0x8)+-parseInt(_0x1abdf9(0xec))/0x9*(parseInt(_0x1abdf9(0x166))/0xa)+parseInt(_0x1abdf9(0x1b6))/0xb*(parseInt(_0x1abdf9(0x119))/0xc);if(_0x48b653===_0x27a8d5)break;else _0x6a796a['push'](_0x6a796a['shift']());}catch(_0xe0f589){_0x6a796a['push'](_0x6a796a['shift']());}}}(_0x1e3f,0x6b8b1));import _0x331a29 from'./locale/en-US.js';import _0x1d1e9c from'./locale/zh-CN.js';import{CommandType as _0x315ca4,DependentOn as _0xe38ea0,Disposable as _0x6a89c1,ICommandService as _0x30bcd1,IConfigService as _0xcae5bb,ILocalStorageService as _0x5b47d9,ILogService as _0x54826a,Inject as _0x59ad70,Injector as _0x37b342,LocaleService as _0x2214f6,Plugin as _0x5417cd,merge as _0x195429}from'@univerjs/core';import{MCPConnectionController as _0x4f5f2a,MCPConnectionError as _0xb4d197,MCPConnectionStatus as _0x476fe9,MCP_PLUGIN_CONFIG_KEY as _0x1ee857,UniverMCPPlugin as _0x2629f3}from'@univerjs-pro/mcp';import{Button as _0x1c7b06,Input as _0x6c4022,MessageType as _0x1aeee4,Tooltip as _0x3eb85a,clsx as _0x25d26d}from'@univerjs/design';import{BuiltInUIPart as _0xadbc61,ComponentManager as _0x2b04e5,IDialogService as _0x424255,IMenuManagerService as _0x52a5ea,IMessageService as _0x412477,IUIPartsService as _0x2785c0,MenuItemType as _0x58cdca,RibbonStartGroup as _0x26ee93,connectInjector as _0xaa714c,useDependency as _0x139827,useObservable as _0x99f738}from'@univerjs/ui';import{BehaviorSubject as _0xea1916}from'rxjs';import{CheckMarkIcon as _0x446a15,CloseIcon as _0x13e633,HelpIcon as _0x2284db,OffLineIcon as _0x314932,OnLineIcon as _0x1a0756}from'@univerjs/icons';import{useCallback as _0x5be9f2,useState as _0x2f44ff}from'react';import{jsx as _0x2dd2fc,jsxs as _0x1d64b9}from'react/jsx-runtime';import{ISocketService as _0x4e5159,WebSocketService as _0x1c3c2c}from'@univerjs/network';function R(_0x5b3e3d){const _0x366674=_0x5d68;var _0x39c577,_0x2659c8;let {mcpCoreConfig:_0xfeb426,onSave:_0xf0edda,loading:_0x4bc1f0=!0x1,config:_0x5dc5ce,connectionStatus$:_0x20a117,connectionError$:_0x377f69,currentApiKey$:_0x11b57f,currentSessionId$:_0x4bf8a1}=_0x5b3e3d,_0x59ddeb=_0x139827(_0x2214f6),_0xd39952=_0x99f738(_0x20a117,_0x476fe9[_0x366674(0x168)]),_0x45e87e=_0x99f738(_0x377f69,_0xb4d197[_0x366674(0x14c)]),_0x409abb=_0x99f738(_0x4bf8a1,''),[_0x2969cd,_0x1e6553]=_0x2f44ff(_0x99f738(_0x11b57f,'')||''),_0x1fbc2b=_0x5dc5ce[_0x366674(0x1a6)]&&_0xfeb426[_0x366674(0x179)]&&(_0xfeb426[_0x366674(0x179)]['includes'](_0x366674(0xe9))||_0xfeb426[_0x366674(0x179)][_0x366674(0x159)]('univer.ai')),_0x230e5d=(_0x39c577=_0xfeb426[_0x366674(0x179)])==null?void 0x0:_0x39c577[_0x366674(0x159)]('univer.plus'),_0x28c3bb=(_0x2659c8=_0xfeb426['mcpServerUrl'])==null?void 0x0:_0x2659c8[_0x366674(0x159)](_0x366674(0x195)),_0x249bad=_0x230e5d?_0x366674(0x1bb):'https://console.univer.ai',_0x5bbf40=_0x5dc5ce['showDeveloperTools']&&(_0x230e5d||_0x28c3bb),[_0x34a4bc,_0xea4a2e]=_0x2f44ff(!_0x2969cd[_0x366674(0x1ba)]()),_0x2730b3=(_0x3e9423,_0x467823)=>{const _0x414656=_0x366674;if(_0x467823===_0xb4d197[_0x414656(0xe0)])return _0x414656(0x105);switch(_0x3e9423){case _0x476fe9[_0x414656(0x120)]:return'univer-text-green-600\x20univer-bg-green-50\x20univer-border-green-200';case _0x476fe9['CONNECTING']:case _0x476fe9['RETRYING']:return _0x414656(0x18a);case _0x476fe9[_0x414656(0x11c)]:return _0x414656(0x105);default:return _0x414656(0x1a4);}},_0x273e46=(_0x14d667,_0x51a495)=>{const _0x1822d3=_0x366674;if(_0x51a495===_0xb4d197['UNAUTHORIZED'])return'univer-bg-red-500';switch(_0x14d667){case _0x476fe9[_0x1822d3(0x120)]:return _0x1822d3(0x164);case _0x476fe9['CONNECTING']:case _0x476fe9[_0x1822d3(0x1b4)]:return _0x1822d3(0x1a0);case _0x476fe9[_0x1822d3(0x11c)]:return _0x1822d3(0x111);default:return _0x1822d3(0x100);}},_0x577840=_0x5e052d=>{const _0x438979=_0x366674;switch(_0x5e052d){case _0x476fe9[_0x438979(0x120)]:return _0x59ddeb['t'](_0x438979(0x17d));case _0x476fe9['CONNECTING']:return _0x59ddeb['t'](_0x438979(0xf9));case _0x476fe9[_0x438979(0x11c)]:return _0x59ddeb['t']('mcpConfig.connectionStatus.failed');case _0x476fe9[_0x438979(0x1b4)]:return _0x59ddeb['t'](_0x438979(0x11f));default:return _0x59ddeb['t'](_0x438979(0x17b));}},_0x40fa62=_0x23b546=>{const _0x532db3=_0x366674;switch(_0x23b546){case _0xb4d197[_0x532db3(0xe0)]:return _0x59ddeb['t'](_0x532db3(0x137));case _0xb4d197['SESSION_ID_OCCUPIED']:return _0x59ddeb['t'](_0x532db3(0x1aa));case _0xb4d197['NETWORK_ERROR']:return _0x59ddeb['t'](_0x532db3(0x18e));case _0xb4d197[_0x532db3(0xd8)]:return _0x59ddeb['t'](_0x532db3(0x133));default:return'';}},_0x50636c=_0x5be9f2(()=>{const _0x1728bf=_0x366674;_0xf0edda({..._0xfeb426,'apiKey':_0x2969cd[_0x1728bf(0x1ba)](),'enableAuth':!0x0});},[_0xfeb426,_0x2969cd,!0x0,_0xf0edda]),_0x204809=_0x2969cd[_0x366674(0x1ba)]()[_0x366674(0x10e)]>0x0;return _0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0x112),'children':[_0x2dd2fc(_0x366674(0x13d),{'className':_0x366674(0x10a),'children':_0x1d64b9('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':[_0x2dd2fc(_0x366674(0x13d),{'className':_0x366674(0xfa),'children':_0x2dd2fc('span',{'className':'univer-text-white','children':'⚙'})}),_0x2dd2fc('div',{'children':_0x2dd2fc('p',{'className':'univer-text-sm\x20univer-text-gray-500','children':_0x59ddeb['t']('mcpConfig.description')})})]})}),_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0x116),'children':[_0x2dd2fc(_0x366674(0x13d),{'className':_0x25d26d('univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-rounded-lg\x20univer-border\x20univer-px-3\x20univer-py-2',_0x2730b3(_0xd39952,_0x45e87e)),'children':_0x1d64b9('div',{'className':_0x366674(0xea),'children':[_0x2dd2fc('div',{'className':_0x25d26d(_0x366674(0x16d),_0x273e46(_0xd39952,_0x45e87e))}),_0x2dd2fc(_0x366674(0x12d),{'className':'univer-text-sm\x20univer-font-medium','children':_0x577840(_0xd39952)})]})}),_0x45e87e!==_0xb4d197[_0x366674(0x14c)]&&(_0xd39952===_0x476fe9['FAILED']||_0x45e87e===_0xb4d197[_0x366674(0xe0)])&&_0x2dd2fc('div',{'className':_0x366674(0x18c),'children':_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0x160),'children':[_0x2dd2fc('span',{'className':_0x366674(0xde),'children':'⚠️'}),_0x2dd2fc('p',{'className':_0x366674(0x125),'children':_0x40fa62(_0x45e87e)})]})})]}),_0x2dd2fc(_0x366674(0x13d),{'className':'univer-flex-1\x20univer-overflow-auto\x20univer-px-6\x20univer-py-5','children':_0x1d64b9(_0x366674(0x13d),{'className':'univer-space-y-5','children':[_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0x17e),'children':[_0x1d64b9(_0x366674(0xf4),{'className':_0x366674(0x162),'children':[_0x2dd2fc(_0x366674(0x12d),{'children':'🔑'}),'\x20',_0x59ddeb['t']('mcpConfig.apiKey'),_0x2dd2fc(_0x366674(0x12d),{'className':_0x366674(0x15d),'children':'*'}),_0x1fbc2b&&_0x2dd2fc('a',{'className':_0x366674(0xd9),'title':_0x59ddeb['t'](_0x366674(0x10b)),'role':_0x366674(0x18f),'onClick':()=>_0xea4a2e(!0x0),'children':_0x2dd2fc(_0x2284db,{})})]}),_0x2dd2fc(_0x6c4022,{'type':_0x366674(0x149),'placeholder':_0x59ddeb['t']('mcpConfig.apiKeyPlaceholder'),'value':_0x2969cd,'disabled':_0x4bc1f0,'autoComplete':_0x366674(0xdd),'onChange':_0x1e6553}),_0x2dd2fc('p',{'className':_0x366674(0x13b),'children':_0x59ddeb['t'](_0x366674(0x188))})]}),_0x1fbc2b&&_0x34a4bc&&_0x1d64b9('div',{'className':_0x366674(0x130),'children':[_0x2dd2fc('a',{'className':_0x366674(0x134),'role':'button','onClick':()=>_0xea4a2e(!0x1),'children':_0x2dd2fc(_0x13e633,{'className':_0x366674(0x142)})}),_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0x11d),'children':[_0x2dd2fc(_0x366674(0x13d),{'className':_0x366674(0xd6),'children':_0x2dd2fc(_0x366674(0x12d),{'className':_0x366674(0x174),'children':'🚀'})}),_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0x19a),'children':[_0x2dd2fc('h4',{'className':_0x366674(0x101),'children':_0x59ddeb['t'](_0x366674(0x10b))}),_0x2dd2fc('p',{'className':'univer-mb-3\x20univer-text-xs\x20univer-text-gray-600','children':_0x59ddeb['t'](_0x366674(0xe3))}),_0x2dd2fc(_0x366674(0x13d),{'className':_0x366674(0x185),'children':_0x5bbf40&&_0x1d64b9('a',{'className':_0x366674(0x154),'href':_0x249bad,'target':'_blank','rel':_0x366674(0xed),'children':[_0x2dd2fc(_0x366674(0x12d),{'children':'🤖'}),_0x59ddeb['t']('mcpConfig.apiApplyInfo.univerAiLabel'),_0x2dd2fc('span',{'className':_0x366674(0x102),'children':'↗'})]})}),_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0x14a),'children':['✨','\x20',_0x59ddeb['t'](_0x366674(0x104))]})]})]})]}),_0x5dc5ce[_0x366674(0x1a6)]&&_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0xe5),'children':[_0x1d64b9('h4',{'className':_0x366674(0x1a2),'children':[_0x2dd2fc(_0x366674(0x12d),{'children':'🔗'}),'\x20',_0x59ddeb['t'](_0x366674(0x192))]}),_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0x1b0),'children':[_0x1d64b9('div',{'className':'univer-space-y-3','children':[_0x2dd2fc('p',{'className':'univer-text-xs\x20univer-text-gray-600','children':_0x59ddeb['t'](_0x366674(0x12f))}),_0x1d64b9('div',{'className':_0x366674(0x17e),'children':[_0x2dd2fc(_0x366674(0x13d),{'className':_0x366674(0x183),'children':_0x59ddeb['t'](_0x366674(0x176))}),_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0xf6),'children':[_0x1d64b9(_0x366674(0x13d),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x2dd2fc(_0x366674(0x12d),{'className':_0x366674(0x15c),'children':'1'}),_0x59ddeb['t'](_0x366674(0x113))]}),_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0xea),'children':[_0x2dd2fc(_0x366674(0x12d),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'2'}),_0x59ddeb['t']('mcpConfig.configStep2')]}),_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0xea),'children':[_0x2dd2fc('span',{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','children':'3'}),_0x59ddeb['t'](_0x366674(0x16a))]})]})]})]}),_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0x17e),'children':[_0x2dd2fc(_0x366674(0x13d),{'className':_0x366674(0x183),'children':_0x366674(0x141)}),_0x2dd2fc(_0x366674(0x13d),{'className':_0x366674(0x10c),'children':_0x2dd2fc(_0x366674(0x122),{'className':_0x366674(0x131),'children':JSON[_0x366674(0x146)]({'mcpServers':{'univer':{'url':_0x366674(0x13a)+(_0x409abb||_0x366674(0x156)),'type':_0x366674(0x17a),'headers':{'Authorization':_0x366674(0x145)+(_0x2969cd||_0x366674(0x1b8))}}}},null,0x2)})})]}),_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0x198),'children':[_0x2dd2fc(_0x366674(0x13d),{'className':_0x366674(0x183),'children':_0x59ddeb['t'](_0x366674(0x117))}),_0x1d64b9('div',{'className':_0x366674(0x17e),'children':[_0x1d64b9(_0x366674(0x13d),{'className':'univer-flex\x20univer-items-start\x20univer-gap-3','children':[_0x2dd2fc(_0x366674(0x13d),{'className':_0x366674(0x190)}),_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0x194),'children':[_0x2dd2fc(_0x366674(0x13d),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':'univer_session_id:'}),_0x2dd2fc(_0x366674(0x13d),{'className':_0x366674(0x13b),'children':_0x59ddeb['t']('mcpConfig.sessionIdDescription')})]})]}),_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0x196),'children':[_0x2dd2fc(_0x366674(0x13d),{'className':_0x366674(0x190)}),_0x1d64b9('div',{'className':'univer-min-w-0\x20univer-flex-1','children':[_0x2dd2fc(_0x366674(0x13d),{'className':'univer-text-xs\x20univer-font-medium\x20univer-text-gray-600','children':_0x366674(0x10d)}),_0x2dd2fc(_0x366674(0x13d),{'className':_0x366674(0x13b),'children':_0x59ddeb['t'](_0x366674(0x14f))})]})]})]})]})]})]}),_0x2dd2fc(_0x1c7b06,{'onClick':_0x50636c,'disabled':!_0x204809||_0x4bc1f0,'className':_0x366674(0xfb),'children':_0x4bc1f0?_0x1d64b9(_0x366674(0x12d),{'className':_0x366674(0xea),'children':[_0x2dd2fc(_0x366674(0x12d),{'children':'⟲'}),_0x59ddeb['t'](_0x366674(0x173))]}):_0x1d64b9('span',{'className':_0x366674(0xea),'children':[_0x2dd2fc(_0x446a15,{}),_0x59ddeb['t'](_0x366674(0x132))]})}),_0x2dd2fc(_0x366674(0x13d),{'className':_0x366674(0x14e),'children':_0x1d64b9(_0x366674(0x13d),{'className':_0x366674(0x1a3),'children':[_0x2dd2fc(_0x366674(0x12d),{'className':'univer-shrink-0\x20univer-text-blue-500','children':'💡'}),_0x1d64b9('div',{'className':_0x366674(0x11a),'children':[_0x2dd2fc(_0x366674(0x13d),{'className':_0x366674(0x180),'children':_0x366674(0xef)}),_0x1d64b9(_0x366674(0x13d),{'children':['•',_0x59ddeb['t'](_0x366674(0x1a9))]}),_0x1d64b9(_0x366674(0x13d),{'children':['•',_0x59ddeb['t']('mcpConfig.note2')]})]})]})})]})})]});}const z=_0xfb996e(0x191),B={'showDeveloperTools':!0x1,'showStatus':!0x0};function V(_0x10fe18){'@babel/helpers - typeof';const _0x61e2ea=_0xfb996e;return V=typeof Symbol==_0x61e2ea(0x1b9)&&typeof Symbol[_0x61e2ea(0x199)]=='symbol'?function(_0xbd24ce){return typeof _0xbd24ce;}:function(_0xd0346a){const _0x18f336=_0x61e2ea;return _0xd0346a&&typeof Symbol==_0x18f336(0x1b9)&&_0xd0346a['constructor']===Symbol&&_0xd0346a!==Symbol[_0x18f336(0x129)]?_0x18f336(0xf7):typeof _0xd0346a;},V(_0x10fe18);}function le(_0x136cd7,_0x49fe9d){const _0x38d66b=_0xfb996e;if(V(_0x136cd7)!=_0x38d66b(0x19d)||!_0x136cd7)return _0x136cd7;var _0x14514f=_0x136cd7[Symbol[_0x38d66b(0x1ad)]];if(_0x14514f!==void 0x0){var _0x82c877=_0x14514f[_0x38d66b(0x16e)](_0x136cd7,_0x49fe9d||_0x38d66b(0x1ae));if(V(_0x82c877)!=_0x38d66b(0x19d))return _0x82c877;throw TypeError(_0x38d66b(0x124));}return(_0x49fe9d===_0x38d66b(0x12e)?String:Number)(_0x136cd7);}function ue(_0x1f2c5d){const _0x3237e0=_0xfb996e;var _0x34e4b0=le(_0x1f2c5d,_0x3237e0(0x12e));return V(_0x34e4b0)=='symbol'?_0x34e4b0:_0x34e4b0+'';}function H(_0x29d3b2,_0x2ed627,_0x2437b3){const _0x5af7fa=_0xfb996e;return(_0x2ed627=ue(_0x2ed627))in _0x29d3b2?Object[_0x5af7fa(0xfd)](_0x29d3b2,_0x2ed627,{'value':_0x2437b3,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x29d3b2[_0x2ed627]=_0x2437b3,_0x29d3b2;}function U(_0x433d07,_0x23c76a){return function(_0x1825c6,_0x1816e4){_0x23c76a(_0x1825c6,_0x1816e4,_0x433d07);};}function W(_0x3f84e7,_0x508b19,_0x3ae4ad,_0x3c18f0){const _0x41db62=_0xfb996e;var _0x5cb6a3=arguments[_0x41db62(0x10e)],_0x2de287=_0x5cb6a3<0x3?_0x508b19:_0x3c18f0===null?_0x3c18f0=Object['getOwnPropertyDescriptor'](_0x508b19,_0x3ae4ad):_0x3c18f0,_0x4b4581;if(typeof Reflect==_0x41db62(0x19d)&&typeof Reflect[_0x41db62(0x115)]==_0x41db62(0x1b9))_0x2de287=Reflect[_0x41db62(0x115)](_0x3f84e7,_0x508b19,_0x3ae4ad,_0x3c18f0);else{for(var _0x45b2fc=_0x3f84e7['length']-0x1;_0x45b2fc>=0x0;_0x45b2fc--)(_0x4b4581=_0x3f84e7[_0x45b2fc])&&(_0x2de287=(_0x5cb6a3<0x3?_0x4b4581(_0x2de287):_0x5cb6a3>0x3?_0x4b4581(_0x508b19,_0x3ae4ad,_0x2de287):_0x4b4581(_0x508b19,_0x3ae4ad))||_0x2de287);}return _0x5cb6a3>0x3&&_0x2de287&&Object[_0x41db62(0xfd)](_0x508b19,_0x3ae4ad,_0x2de287),_0x2de287;}const G=_0xfb996e(0x157),K=_0xfb996e(0x184);let q=class extends _0x6a89c1{constructor(_0xda7d06,_0x55456d,_0x55104d,_0x29c2ca,_0x454412,_0x499f94,_0x43774d,_0x23e926,_0x44c727,_0x10787e){const _0x193a98=_0xfb996e;super(),this[_0x193a98(0xf3)]=_0xda7d06,this[_0x193a98(0x171)]=_0x55456d,this[_0x193a98(0xf8)]=_0x55104d,this[_0x193a98(0x15e)]=_0x29c2ca,this[_0x193a98(0x16c)]=_0x454412,this[_0x193a98(0x1b2)]=_0x499f94,this['_componentManager']=_0x43774d,this[_0x193a98(0x14b)]=_0x23e926,this[_0x193a98(0x170)]=_0x44c727,this[_0x193a98(0x13e)]=_0x10787e,H(this,_0x193a98(0xf0),new _0xea1916(!0x1)),H(this,_0x193a98(0x139),new _0xea1916({})),H(this,'_config$',new _0xea1916({})),H(this,_0x193a98(0x175),new _0xea1916('')),H(this,'_handleConfigSave',async _0x8cf801=>{const _0x365cf3=_0x193a98;this['_loading$'][_0x365cf3(0x123)](!0x0);try{var _0x2b57db,_0x15baa1;let _0x5ea83c=await this[_0x365cf3(0x13f)](_0x8cf801);if(!_0x5ea83c[_0x365cf3(0xff)]){this[_0x365cf3(0x1b2)]['show']({'type':_0x1aeee4['Error'],'content':_0x5ea83c['errorMessage']||this['_localeService']['t']('mcpConfig.validation.invalidConfig')});return;}_0x8cf801[_0x365cf3(0x165)]?await this[_0x365cf3(0x15e)][_0x365cf3(0x172)](G,_0x8cf801[_0x365cf3(0x165)][_0x365cf3(0x1ba)]()):await this[_0x365cf3(0x15e)][_0x365cf3(0xf1)](G),this[_0x365cf3(0x175)][_0x365cf3(0x123)](((_0x2b57db=_0x8cf801['apiKey'])==null?void 0x0:_0x2b57db[_0x365cf3(0x1ba)]())||''),this[_0x365cf3(0x13e)][_0x365cf3(0xe2)]({'Authorization':_0x365cf3(0x145)+((_0x15baa1=_0x8cf801[_0x365cf3(0x165)])==null?void 0x0:_0x15baa1[_0x365cf3(0x1ba)]())}),this[_0x365cf3(0x1b2)][_0x365cf3(0x103)]({'type':_0x1aeee4[_0x365cf3(0x178)],'content':this[_0x365cf3(0x14b)]['t'](_0x365cf3(0x1ac))}),setTimeout(()=>{const _0x4ca09d=_0x365cf3;this['_dialogService'][_0x4ca09d(0x17c)](K);},0x320);}catch(_0x23c4b7){this[_0x365cf3(0x170)]['error'](_0x365cf3(0x10f),_0x23c4b7),this[_0x365cf3(0x1b2)][_0x365cf3(0x103)]({'type':_0x1aeee4[_0x365cf3(0x150)],'content':this[_0x365cf3(0x14b)]['t'](_0x365cf3(0xd7))});}finally{this[_0x365cf3(0xf0)]['next'](!0x1);}}),this['_initConfigSync'](),this[_0x193a98(0x15f)](),this['_registerComponent']();}[_0xfb996e(0x15a)](){const _0x4ce4ae=_0xfb996e;let _0x52aba0=this[_0x4ce4ae(0xf8)][_0x4ce4ae(0x118)](z);_0x52aba0!=null&&_0x52aba0['showDeveloperTools']&&this[_0x4ce4ae(0x16c)][_0x4ce4ae(0x1ab)]({'id':K,'title':{'title':this['_localeService']['t']('mcpConfig.title')},'children':{'label':_0x4ce4ae(0x128)},'width':0x244,'draggable':!0x0,'destroyOnClose':!0x0,'onClose':()=>{const _0x186eaa=_0x4ce4ae;this[_0x186eaa(0x16c)]['close'](K);}});}[_0xfb996e(0x19e)](){const _0x5ba20b=_0xfb996e;return this[_0x5ba20b(0x139)]['value'];}[_0xfb996e(0x107)](){const _0x1bfa1d=_0xfb996e;this['disposeWithMe'](this[_0x1bfa1d(0xf5)][_0x1bfa1d(0x15b)](_0x1bfa1d(0x128),this[_0x1bfa1d(0xe8)]()));}['_createConfigPanelComponent'](){return _0xaa714c(()=>{const _0x4e3b89=_0x5d68;var _0x102599,_0x5649ee,_0x180e05;return _0x2dd2fc(R,{'config':this[_0x4e3b89(0x169)]['value'],'mcpCoreConfig':this[_0x4e3b89(0x139)][_0x4e3b89(0x108)],'currentApiKey$':this[_0x4e3b89(0x175)],'onSave':this['_handleConfigSave'],'loading':this['_loading$'][_0x4e3b89(0x108)],'connectionStatus$':(_0x102599=this[_0x4e3b89(0x13e)])==null?void 0x0:_0x102599[_0x4e3b89(0x16f)],'connectionError$':(_0x5649ee=this[_0x4e3b89(0x13e)])==null?void 0x0:_0x5649ee['connectionError$'],'currentSessionId$':(_0x180e05=this[_0x4e3b89(0x13e)])==null?void 0x0:_0x180e05['sessionId$']});},this['_injector']);}[_0xfb996e(0x109)](){const _0xd266b4=_0xfb996e;this[_0xd266b4(0x1af)](this[_0xd266b4(0xf8)][_0xd266b4(0x161)](_0x1ee857)[_0xd266b4(0x1b1)](_0x4131de=>{const _0x1e08eb=_0xd266b4;this[_0x1e08eb(0x139)][_0x1e08eb(0x123)](_0x4131de||{});}));let _0x260c9f=this['_configService'][_0xd266b4(0x118)](_0x1ee857);this[_0xd266b4(0x139)][_0xd266b4(0x123)](_0x260c9f||{}),this[_0xd266b4(0x1af)](this[_0xd266b4(0xf8)][_0xd266b4(0x161)](z)[_0xd266b4(0x1b1)](_0x21548d=>{const _0x215abf=_0xd266b4;this[_0x215abf(0x169)][_0x215abf(0x123)](_0x21548d||{});}));let _0x3a88da=this['_configService']['getConfig'](z);this[_0xd266b4(0x169)][_0xd266b4(0x123)](_0x3a88da||{});}async[_0xfb996e(0x15f)](){const _0x15551b=_0xfb996e;let _0x550e2b=this['_configService'][_0x15551b(0x118)](z);if(!(_0x550e2b!=null&&_0x550e2b[_0x15551b(0x1a6)]))return;let _0x1e6e1f=await this[_0x15551b(0x15e)][_0x15551b(0xe1)](G);_0x1e6e1f&&(this[_0x15551b(0x13e)][_0x15551b(0xe2)]({'Authorization':_0x15551b(0x145)+_0x1e6e1f}),this['_apiKey$'][_0x15551b(0x123)](_0x1e6e1f));}async[_0xfb996e(0x13f)](_0x5d86f1){const _0x4e2f38=_0xfb996e;if(!_0x5d86f1[_0x4e2f38(0x165)]||_0x5d86f1[_0x4e2f38(0x165)]['trim']()['length']===0x0)return{'isValid':!0x1,'errorMessage':this['_localeService']['t']('mcpConfig.validation.apiKeyRequired')};if(_0x5d86f1[_0x4e2f38(0x165)][_0x4e2f38(0x1ba)]()[_0x4e2f38(0x10e)]<0xa)return{'isValid':!0x1,'errorMessage':this[_0x4e2f38(0x14b)]['t'](_0x4e2f38(0x19f))};try{let _0x2a9982=await this[_0x4e2f38(0xf3)][_0x4e2f38(0x155)](_0x4f5f2a)[_0x4e2f38(0xe7)](_0x5d86f1[_0x4e2f38(0x165)][_0x4e2f38(0x1ba)]());return _0x2a9982[_0x4e2f38(0xff)]?{'isValid':!0x0}:{'isValid':!0x1,'errorMessage':_0x2a9982[_0x4e2f38(0x1a8)]||this[_0x4e2f38(0x14b)]['t'](_0x4e2f38(0x121))};}catch(_0x168158){return console[_0x4e2f38(0x138)](_0x4e2f38(0x1a7),_0x168158),{'isValid':!0x0};}}};q=W([U(0x0,_0x59ad70(_0x37b342)),U(0x1,_0x2785c0),U(0x2,_0xcae5bb),U(0x3,_0x5b47d9),U(0x4,_0x424255),U(0x5,_0x412477),U(0x6,_0x59ad70(_0x2b04e5)),U(0x7,_0x59ad70(_0x2214f6)),U(0x8,_0x54826a),U(0x9,_0x59ad70(_0x4f5f2a))],q);const J={'id':_0xfb996e(0x1a1),'type':_0x315ca4[_0xfb996e(0x1b7)],'handler':async(_0x129d53,_0x5db921)=>(_0x129d53[_0xfb996e(0x155)](q)[_0xfb996e(0x15a)](),!0x0)};function Y(_0x40b31d,_0x4907e7){const _0x2bb808=_0xfb996e;switch(_0x40b31d){case _0x476fe9[_0x2bb808(0x168)]:return'mcpStatus.disconnected';case _0x476fe9[_0x2bb808(0x153)]:return _0x2bb808(0x152);case _0x476fe9[_0x2bb808(0x120)]:return _0x2bb808(0x19b);case _0x476fe9[_0x2bb808(0x11c)]:switch(_0x4907e7){case _0xb4d197[_0x2bb808(0xe0)]:return _0x2bb808(0xee);case _0xb4d197['SESSION_ID_OCCUPIED']:return _0x2bb808(0x114);case _0xb4d197[_0x2bb808(0x144)]:return'mcpStatus.networkError';case _0xb4d197[_0x2bb808(0xd8)]:return _0x2bb808(0xda);default:return _0x2bb808(0xfe);}case _0x476fe9[_0x2bb808(0x1b4)]:return _0x2bb808(0x143);default:return _0x2bb808(0x193);}}function de(_0x59e998,_0xee92a5,_0x774e53,_0x2251fa=!0x0){const _0x54d81e=_0xfb996e;let _0x3203da=Y(_0x59e998,_0xee92a5),_0x50a45f=_0x774e53['t'](_0x3203da);return _0x2251fa?_0x59e998===_0x476fe9[_0x54d81e(0x168)]&&_0xee92a5===_0xb4d197[_0x54d81e(0xe0)]?_0x50a45f+_0x54d81e(0x189)+_0x774e53['t'](_0x54d81e(0x13c)):_0x59e998===_0x476fe9[_0x54d81e(0x120)]?''+_0x50a45f:_0x59e998===_0x476fe9[_0x54d81e(0x168)]||_0x59e998===_0x476fe9[_0x54d81e(0x11c)]?_0x50a45f+_0x54d81e(0x189)+_0x774e53['t']('mcpStatus.clickToConnect'):_0x50a45f:_0x50a45f;}function fe(_0x27edbd){const _0x2a55e4=_0xfb996e;switch(_0x27edbd){case _0x476fe9[_0x2a55e4(0x120)]:return _0x2a55e4(0x158);case _0x476fe9[_0x2a55e4(0x153)]:case _0x476fe9['RETRYING']:return _0x2a55e4(0xdc);case _0x476fe9[_0x2a55e4(0x11c)]:case _0x476fe9[_0x2a55e4(0x168)]:return'univer-text-red-500';default:return _0x2a55e4(0x18d);}}function _0x5d68(_0x1e7fa8,_0x41a2a2){_0x1e7fa8=_0x1e7fa8-0xd6;const _0x1e3f78=_0x1e3f();let _0x5d68b2=_0x1e3f78[_0x1e7fa8];return _0x5d68b2;}function X(_0x3d60b4){const _0x13136d=_0xfb996e;let {status$:_0x529fd8,error$:_0x3e78b4,onConfigure:_0x2d1618,showClickable:_0x22705c=!0x0}=_0x3d60b4,_0x43349c=_0x99f738(_0x529fd8,_0x476fe9['DISCONNECTED']),_0x5d4b4e=_0x99f738(_0x3e78b4,_0xb4d197[_0x13136d(0x14c)]),_0x2a59e1=_0x139827(_0x2214f6),_0x5e8f3a=_0x43349c===_0x476fe9[_0x13136d(0x120)];_0x43349c===_0x476fe9[_0x13136d(0x153)]||_0x476fe9[_0x13136d(0x1b4)];let _0x55f92a=_0x2a59e1['t'](Y(_0x43349c,_0x5d4b4e)),_0x1d05cc=de(_0x43349c,_0x5d4b4e,_0x2a59e1,_0x22705c),_0x24024a=fe(_0x43349c),_0x371f52=_0x2dd2fc(_0x5e8f3a?_0x1a0756:_0x314932,{}),_0x13f24d=_0x5be9f2(()=>{_0x22705c&&_0x2d1618&&_0x2d1618();},[_0x22705c,_0x2d1618]);function _0x2fddf3(){const _0x574bf3=_0x13136d;return _0x1d64b9('div',{'className':_0x25d26d(_0x574bf3(0x1b5),_0x22705c&&_0x2d1618&&_0x574bf3(0x106)),'role':_0x574bf3(0x18f),'onClick':_0x22705c&&_0x2d1618?_0x13f24d:void 0x0,'children':[_0x2dd2fc('div',{'className':_0x25d26d(_0x574bf3(0x127),_0x24024a),'children':_0x371f52}),_0x2dd2fc(_0x574bf3(0x13d),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x55f92a})]});}return _0x2dd2fc(_0x3eb85a,{'title':_0x1d05cc,'placement':_0x13136d(0x135),'children':_0x2fddf3()});}let Z=class extends _0x6a89c1{constructor(_0x561f21,_0x5246f7,_0x4530de,_0x549c96){const _0x233d0e=_0xfb996e;super(),this[_0x233d0e(0xf3)]=_0x561f21,this[_0x233d0e(0x140)]=_0x5246f7,this[_0x233d0e(0x171)]=_0x4530de,this[_0x233d0e(0xf8)]=_0x549c96,this[_0x233d0e(0x1a5)](),this[_0x233d0e(0x136)]();}[_0xfb996e(0x1a5)](){const _0x4e8c85=_0xfb996e;let _0x391951=this[_0x4e8c85(0xf8)][_0x4e8c85(0x118)](z);_0x391951!=null&&_0x391951[_0x4e8c85(0x1a6)]&&(this[_0x4e8c85(0x140)]['enableAutoConnect']=!0x1);}[_0xfb996e(0x136)](){const _0x8606ac=_0xfb996e;let _0x3d04ce=this['_configService'][_0x8606ac(0x118)](z);(_0x3d04ce==null?void 0x0:_0x3d04ce['showStatus'])!==!0x1&&this[_0x8606ac(0x1af)](this[_0x8606ac(0x171)][_0x8606ac(0x167)](_0xadbc61[_0x8606ac(0x182)],()=>{const _0xdeb53e=_0x8606ac;var _0x91ff82;return _0xaa714c(pe({'status$':this[_0xdeb53e(0x140)][_0xdeb53e(0x16f)],'error$':this[_0xdeb53e(0x140)]['connectionError$'],'onConfigure':()=>this[_0xdeb53e(0xeb)](),'showClickable':(_0x91ff82=_0x3d04ce==null?void 0x0:_0x3d04ce[_0xdeb53e(0x1a6)])==null?!0x1:_0x91ff82}),this[_0xdeb53e(0xf3)]);}));}['_handleConfigure'](){const _0x380a86=_0xfb996e;this[_0x380a86(0xf3)][_0x380a86(0x155)](q)[_0x380a86(0x15a)]();}};Z=W([U(0x0,_0x59ad70(_0x37b342)),U(0x1,_0x59ad70(_0x4f5f2a)),U(0x2,_0x2785c0),U(0x3,_0xcae5bb)],Z);function pe(_0x130bed){let {status$:_0x43dc0a,error$:_0x3924cf,onConfigure:_0x134c54,showClickable:_0x3d3b67}=_0x130bed;return function(){return _0x2dd2fc(X,{'status$':_0x43dc0a,'error$':_0x3924cf,'onConfigure':_0x134c54,'showClickable':_0x3d3b67});};}function me(_0x5dfa2c){const _0xeb4a49=_0xfb996e;return{'id':J['id'],'type':_0x58cdca[_0xeb4a49(0x1b3)],'icon':'MenuIcon','title':_0xeb4a49(0x18b),'tooltip':_0xeb4a49(0x18b)};}const he={[_0x26ee93[_0xfb996e(0x12a)]]:{[J['id']]:{'order':0xa,'menuItemFactory':me}}};let Q=class extends _0x6a89c1{constructor(_0x1688eb,_0x102ad9){const _0x1e5269=_0xfb996e;super(),this[_0x1e5269(0xf2)]=_0x1688eb,this['_menuManagerService']=_0x102ad9,this[_0x1e5269(0x177)](),this[_0x1e5269(0xfc)]();}[_0xfb996e(0x177)](){const _0x2ea97d=_0xfb996e;[J][_0x2ea97d(0x187)](_0x5a2040=>{const _0x3db437=_0x2ea97d;this[_0x3db437(0x1af)](this['_commandService'][_0x3db437(0x197)](_0x5a2040));});}[_0xfb996e(0xfc)](){const _0x20e7e6=_0xfb996e;this[_0x20e7e6(0x186)][_0x20e7e6(0x181)](he);}};Q=W([U(0x0,_0x30bcd1),U(0x1,_0x52a5ea)],Q);var ge=_0xfb996e(0x17f),_e='1.0.0-alpha.0';let $=class extends _0x5417cd{constructor(_0x42cacb=B,_0x2f8252,_0x232deb,_0x35b529,_0x1a70ed,_0x127ca3){const _0x3a4536=_0xfb996e;super(),this[_0x3a4536(0x110)]=_0x42cacb,this[_0x3a4536(0xf3)]=_0x2f8252,this[_0x3a4536(0xf8)]=_0x232deb,this[_0x3a4536(0x171)]=_0x35b529,this[_0x3a4536(0x15e)]=_0x1a70ed,this['_localeService']=_0x127ca3;let {..._0xea25f1}=_0x195429({},B,this[_0x3a4536(0x110)]);this['_configService'][_0x3a4536(0x148)](z,_0xea25f1);}async[_0xfb996e(0x163)](){const _0x2dbc91=_0xfb996e;let _0x5af662=[[Z],[q],[Q]];this['_injector'][_0x2dbc91(0x11b)](_0x4e5159)||_0x5af662['push']([_0x4e5159,{'useClass':_0x1c3c2c}]),_0x5af662[_0x2dbc91(0x187)](_0x1e1334=>this[_0x2dbc91(0xf3)][_0x2dbc91(0xdb)](_0x1e1334)),this[_0x2dbc91(0xf3)][_0x2dbc91(0x155)](Z),this[_0x2dbc91(0xf3)][_0x2dbc91(0x155)](q),this[_0x2dbc91(0xf3)][_0x2dbc91(0x155)](Q);}};H($,_0xfb996e(0x16b),_0xfb996e(0x126)),H($,_0xfb996e(0x19c),ge),H($,_0xfb996e(0xe6),_e),$=W([_0xe38ea0(_0x2629f3),U(0x1,_0x59ad70(_0x37b342)),U(0x2,_0xcae5bb),U(0x3,_0x2785c0),U(0x4,_0x5b47d9),U(0x5,_0x59ad70(_0x2214f6))],$);export{R as MCPConfigPanel,q as MCPConfigUIController,Z as MCPConnectionUIController,X as MCPStatusDisplay,Q as MCPUIMenuController,J as OpenMCPConfigPanelCommand,$ as UniverMCPUIPlugin,_0x331a29 as enUS,_0x1d1e9c as zhCN};function _0x1e3f(){const _0x9e75a5=['mcpConfig.configInstructions','univer-relative\x20univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-gradient-to-r\x20univer-from-blue-50\x20univer-to-indigo-50\x20univer-p-4','univer-overflow-hidden\x20univer-whitespace-pre-wrap\x20univer-break-all\x20univer-text-xs\x20univer-text-gray-800','mcpConfig.save','mcpConfig.connectionError.maxRetriesExceeded','univer-absolute\x20univer-right-3\x20univer-top-3\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-text-gray-500\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-gray-700','bottom','_initStatusComponent','mcpConfig.connectionError.unauthorized','warn','_mcpCoreConfig$','https://mcp.univer.ai/mcp/?univer_session_id=','univer-text-xs\x20univer-text-gray-500','mcpStatus.clickToConfigure','div','_mcpConnectionController','_validateConfig','_connectionController','MCP\x20Configuration','univer-size-4','mcpStatus.retrying','NETWORK_ERROR','Bearer\x20','stringify','142338rKgJQw','setConfig','text','univer-mt-2\x20univer-text-xs\x20univer-text-gray-500','_localeService','NONE','415530GZeywZ','univer-rounded-lg\x20univer-border\x20univer-border-blue-200\x20univer-bg-blue-50\x20univer-p-3','mcpConfig.authorizationDescription','Error','165wTzjBV','mcpStatus.connecting','CONNECTING','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border\x20univer-border-purple-300\x20univer-bg-white\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-purple-600\x20univer-shadow-sm\x20univer-transition-all\x20univer-duration-200\x20hover:univer-border-purple-400\x20hover:univer-bg-purple-50\x20hover:univer-shadow-md','get','<SESSION_ID>','mcp.apiKey','univer-text-green-500','includes','showConfigPanel','register','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100\x20univer-text-xs\x20univer-font-medium\x20univer-text-blue-600','univer-text-red-500','_localStorageService','_loadStoredApiKey','univer-flex\x20univer-items-start\x20univer-gap-2','subscribeConfigValue$','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-700','onStarting','univer-bg-green-500','apiKey','90qXRtVZ','registerComponent','DISCONNECTED','_config$','mcpConfig.configStep3','pluginName','_dialogService','univer-size-2\x20univer-rounded-full','call','connectionStatus$','_logService','_uiPartsService','setItem','mcpConfig.saving','univer-text-blue-600','_apiKey$','mcpConfig.configStepTitle','_initializeCommands','Success','mcpServerUrl','http','mcpConfig.connectionStatus.disconnected','close','mcpConfig.connectionStatus.connected','univer-space-y-2','@univerjs-pro/mcp-ui','univer-font-medium','mergeMenu','HEADER_MENU','univer-text-xs\x20univer-font-medium\x20univer-text-gray-700','mcp-config-dialog','univer-flex\x20univer-flex-wrap\x20univer-gap-2','_menuManagerService','forEach','mcpConfig.apiKeyHint','\x20-\x20','univer-text-blue-600\x20univer-bg-blue-50\x20univer-border-blue-200','mcpConfig.title','univer-mt-2\x20univer-rounded-md\x20univer-border\x20univer-border-red-200\x20univer-bg-red-50\x20univer-px-3\x20univer-py-2','univer-text-gray-500','mcpConfig.connectionError.networkError','button','univer-mt-1.5\x20univer-size-2\x20univer-shrink-0\x20univer-rounded-full\x20univer-bg-blue-500','mcp-ui.config','mcpConfig.connectionInfo','mcpStatus.unknown','univer-min-w-0\x20univer-flex-1','univer.ai','univer-flex\x20univer-items-start\x20univer-gap-3','registerCommand','univer-space-y-3','iterator','univer-flex-1','mcpStatus.connected','packageName','object','getCurrentConfig','mcpConfig.validation.apiKeyTooShort','univer-bg-blue-500','mcp-ui.command.openConfigPanel','univer-mb-3\x20univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','univer-flex\x20univer-gap-3','univer-text-gray-600\x20univer-bg-gray-50\x20univer-border-gray-200','_initAutoConnect','showDeveloperTools','[MCPConfigUI]\x20Could\x20not\x20validate\x20API\x20key\x20with\x20core\x20plugin:','error','mcpConfig.note1','mcpConfig.connectionError.sessionOccupied','open','mcpConfig.configSaved','toPrimitive','default','disposeWithMe','univer-space-y-4','subscribe','_messageService','BUTTON','RETRYING','univer-flex\x20univer-items-center','22uCmZjF','COMMAND','<API_KEY>','function','trim','https://console.univer.plus','univer-flex\x20univer-size-10\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-blue-100','mcpConfig.configError','MAX_RETRIES_EXCEEDED','univer-ml-1\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-text-blue-600\x20univer-transition-all\x20univer-duration-200\x20hover:univer-scale-110\x20hover:univer-text-blue-800','mcpStatus.maxRetriesExceeded','add','univer-text-yellow-500','off','univer-shrink-0\x20univer-text-red-500','2qbFlvk','UNAUTHORIZED','getItem','__setCustomHeaders','mcpConfig.apiApplyInfo.description','273yWRmRG','univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-50\x20univer-p-4','version','validateApiKey','_createConfigPanelComponent','univer.plus','univer-flex\x20univer-items-center\x20univer-gap-2','_handleConfigure','29979Zdspdw','noopener\x20noreferrer','mcpStatus.unauthorized','Configuration\x20Notes:','_loading$','removeItem','_commandService','_injector','label','_componentManager','univer-space-y-1\x20univer-text-xs\x20univer-text-gray-600','symbol','_configService','mcpConfig.connectionStatus.connecting','univer-flex\x20univer-size-8\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-bg-blue-500','univer-w-full\x20!univer-border-green-600\x20!univer-bg-green-600\x20!univer-text-white\x20hover:!univer-border-green-700\x20hover:!univer-bg-green-700\x20disabled:!univer-border-gray-300\x20disabled:!univer-bg-gray-300\x20disabled:!univer-text-gray-500','_initializeMenus','defineProperty','mcpStatus.failed','isValid','univer-bg-gray-500','univer-mb-2\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-800','univer-text-gray-400','show','mcpConfig.apiApplyInfo.getStarted','univer-text-red-600\x20univer-bg-red-50\x20univer-border-red-200','univer-cursor-pointer\x20hover:univer-opacity-80','_registerComponent','value','_initConfigSync','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-4','mcpConfig.apiApplyInfo.title','univer-max-w-full\x20univer-rounded\x20univer-border\x20univer-bg-white\x20univer-p-3','Authorization:','length','[MCPConfigUI]\x20Failed\x20to\x20save\x20configuration:','_config','univer-bg-red-500','univer-flex\x20univer-max-h-[80vh]\x20univer-min-h-[320px]\x20univer-flex-col','mcpConfig.configStep1','mcpStatus.sessionOccupied','decorate','univer-border-b\x20univer-border-gray-100\x20univer-px-6\x20univer-py-3','mcpConfig.configParameters','getConfig','11024904AsQlsH','univer-space-y-1\x20univer-text-xs\x20univer-text-blue-700','has','FAILED','univer-flex\x20univer-items-start\x20univer-gap-3\x20univer-pr-8','128824taQTbX','mcpConfig.connectionStatus.retrying','CONNECTED','mcpConfig.validation.invalidApiKey','pre','next','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','univer-m-0\x20univer-text-sm\x20univer-font-medium\x20univer-text-red-800','MCP_UI_PLUGIN','univer-mr-2\x20univer-flex\x20univer-text-xl','MCPConfigPanel','prototype','OTHERS','225334RaCCML','522768PyEwQq','span','string'];_0x1e3f=function(){return _0x9e75a5;};return _0x1e3f();}
@@ -1 +1 @@
1
- const _0x5116da=_0x419f;(function(_0x28884e,_0xe562e6){const _0x1ae9e5=_0x419f,_0x3b39d8=_0x28884e();while(!![]){try{const _0x303287=-parseInt(_0x1ae9e5(0x179))/0x1+parseInt(_0x1ae9e5(0x17b))/0x2+-parseInt(_0x1ae9e5(0x185))/0x3+-parseInt(_0x1ae9e5(0x169))/0x4*(-parseInt(_0x1ae9e5(0x178))/0x5)+-parseInt(_0x1ae9e5(0x180))/0x6*(parseInt(_0x1ae9e5(0x171))/0x7)+-parseInt(_0x1ae9e5(0x190))/0x8*(parseInt(_0x1ae9e5(0x16e))/0x9)+-parseInt(_0x1ae9e5(0x176))/0xa*(-parseInt(_0x1ae9e5(0x166))/0xb);if(_0x303287===_0xe562e6)break;else _0x3b39d8['push'](_0x3b39d8['shift']());}catch(_0x255d3e){_0x3b39d8['push'](_0x3b39d8['shift']());}}}(_0x32a9,0x45ea2));const e={'mcpStatus':{'disconnected':_0x5116da(0x17c),'connecting':_0x5116da(0x181),'connected':_0x5116da(0x17a),'failed':'MCP\x20Connection\x20Failed','retrying':'MCP\x20Retrying...','unknown':_0x5116da(0x16f),'unauthorized':_0x5116da(0x17f),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x5116da(0x16c),'clickToConnect':_0x5116da(0x17d),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x5116da(0x18d),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':'API\x20Key','apiKeyPlaceholder':_0x5116da(0x174),'apiKeyHint':_0x5116da(0x177),'enableAuth':_0x5116da(0x189),'enableAuthHint':'Enable\x20authentication\x20for\x20secure\x20connections','connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x5116da(0x16d),'configInstructions':_0x5116da(0x183),'configStepTitle':'Configuration\x20Steps:','configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x5116da(0x168),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x5116da(0x175),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x5116da(0x18a),'configParameters':_0x5116da(0x186),'maxRetries':_0x5116da(0x17e),'save':'Save\x20Configuration','saving':_0x5116da(0x16b),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x5116da(0x18c),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x5116da(0x173),'apiApplyInfo':{'title':_0x5116da(0x170),'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':_0x5116da(0x184),'getStarted':_0x5116da(0x18b)},'validation':{'apiKeyRequired':_0x5116da(0x182),'apiKeyTooShort':_0x5116da(0x18e),'invalidConfig':_0x5116da(0x187),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x5116da(0x188),'connecting':'Connecting...','connected':_0x5116da(0x172),'failed':_0x5116da(0x167),'retrying':_0x5116da(0x191)},'connectionError':{'unauthorized':'Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','sessionOccupied':_0x5116da(0x165),'networkError':_0x5116da(0x16a),'maxRetriesExceeded':_0x5116da(0x18f)}}};function _0x419f(_0x16a601,_0x178180){_0x16a601=_0x16a601-0x165;const _0x32a967=_0x32a9();let _0x419f93=_0x32a967[_0x16a601];return _0x419f93;}function _0x32a9(){const _0x398439=['869612fmQtqx','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Saving...','MCP:\x20Max\x20Retries\x20Exceeded','MCP\x20Client\x20Configuration','65133ThioIp','MCP\x20Unknown\x20Status','What\x20is\x20API\x20Key?','3199FuPzPu','Connected','Failed\x20to\x20save\x20configuration','Enter\x20your\x20API\x20key','Session\x20ID','10NECiXA','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','10pONHzO','155662WqKGEy','MCP\x20Connected','67128ZGXrEa','MCP\x20Disconnected','Click\x20to\x20connect\x20MCP','Max\x20Retries','MCP:\x20Unauthorized','42zVXUWW','MCP\x20Connecting...','API\x20key\x20is\x20required','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Univer\x20AI\x20Console','22506eabdId','Configuration\x20Parameters:','Invalid\x20configuration','Disconnected','Enable\x20Authentication','API\x20key\x20with\x20Bearer\x20prefix.','Get\x20your\x20API\x20key\x20in\x20seconds','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','376qGTRpH','Retrying...','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','3569522DltOFb','Connection\x20Failed','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file'];_0x32a9=function(){return _0x398439;};return _0x32a9();}export{e as default};
1
+ (function(_0x47f17d,_0x608fc7){const _0x405075=_0xae68,_0x2ab1c9=_0x47f17d();while(!![]){try{const _0x54a4df=parseInt(_0x405075(0x1ba))/0x1*(parseInt(_0x405075(0x1b8))/0x2)+parseInt(_0x405075(0x1b0))/0x3*(-parseInt(_0x405075(0x1b9))/0x4)+-parseInt(_0x405075(0x1b6))/0x5*(-parseInt(_0x405075(0x1b4))/0x6)+parseInt(_0x405075(0x1b2))/0x7+parseInt(_0x405075(0x1b7))/0x8*(parseInt(_0x405075(0x1b5))/0x9)+parseInt(_0x405075(0x1b1))/0xa*(-parseInt(_0x405075(0x1bb))/0xb)+parseInt(_0x405075(0x1b3))/0xc;if(_0x54a4df===_0x608fc7)break;else _0x2ab1c9['push'](_0x2ab1c9['shift']());}catch(_0x3e5206){_0x2ab1c9['push'](_0x2ab1c9['shift']());}}}(_0x404f,0xf1568));import _0x1ccf2d from'./en-US.js';const t=_0x1ccf2d;function _0xae68(_0x46597e,_0x153d0a){_0x46597e=_0x46597e-0x1b0;const _0x404f1e=_0x404f();let _0xae6880=_0x404f1e[_0x46597e];return _0xae6880;}function _0x404f(){const _0x2bd143=['5766474ovtfCj','2811177ynNvyE','5MCrsWi','24wfwjLy','2sRwZuJ','4xucBUZ','190345OuEOKJ','11138996kOgYYr','958731mgnbMx','10GLaruu','515095sDNJZz','1903980BRlRIq'];_0x404f=function(){return _0x2bd143;};return _0x404f();}export{t as default};
@@ -1 +1 @@
1
- const _0x2b0f6f=_0x29d7;function _0x29d7(_0x3b3f15,_0x78827){_0x3b3f15=_0x3b3f15-0x15a;const _0x3db6ff=_0x3db6();let _0x29d755=_0x3db6ff[_0x3b3f15];return _0x29d755;}(function(_0x27d1de,_0x158327){const _0x901130=_0x29d7,_0x4be49f=_0x27d1de();while(!![]){try{const _0x3c0308=parseInt(_0x901130(0x17f))/0x1*(-parseInt(_0x901130(0x179))/0x2)+parseInt(_0x901130(0x170))/0x3+-parseInt(_0x901130(0x171))/0x4+-parseInt(_0x901130(0x17e))/0x5+parseInt(_0x901130(0x182))/0x6*(-parseInt(_0x901130(0x15b))/0x7)+parseInt(_0x901130(0x16d))/0x8+parseInt(_0x901130(0x165))/0x9*(parseInt(_0x901130(0x16f))/0xa);if(_0x3c0308===_0x158327)break;else _0x4be49f['push'](_0x4be49f['shift']());}catch(_0xae627b){_0x4be49f['push'](_0x4be49f['shift']());}}}(_0x3db6,0xe6e89));function _0x3db6(){const _0x369f3e=['Connecting...','MCP\x20Disconnected','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Click\x20to\x20configure\x20MCP','18YjzVzw','Failed\x20to\x20save\x20configuration','Enable\x20Authentication','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Copy\x20the\x20JSON\x20configuration\x20below','Disconnected','API\x20key\x20is\x20required','2052832SWJDmX','Session\x20ID','22588030FPYeqI','702255ljkPlX','4410672Sjytue','MCP:\x20Network\x20Error','Enable\x20authentication\x20for\x20secure\x20connections','Saving...','MCP:\x20Session\x20ID\x20Occupied','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Enter\x20your\x20API\x20key','MCP\x20Retrying...','2ZsVqDR','Connected','API\x20Key','MCP\x20Unknown\x20Status','Configuration\x20Parameters:','4286920Ciggun','1048493VmDEOB','MCP\x20Client\x20Configuration','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','371982gBHsdn','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','119WgtKRW','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Get\x20your\x20API\x20key\x20in\x20seconds','MCP:\x20Unauthorized','Univer\x20AI\x20Console'];_0x3db6=function(){return _0x369f3e;};return _0x3db6();}const e={'mcpStatus':{'disconnected':_0x2b0f6f(0x161),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':'MCP\x20Connection\x20Failed','retrying':_0x2b0f6f(0x178),'unknown':_0x2b0f6f(0x17c),'unauthorized':_0x2b0f6f(0x15e),'sessionOccupied':_0x2b0f6f(0x175),'networkError':_0x2b0f6f(0x172),'maxRetriesExceeded':'MCP:\x20Max\x20Retries\x20Exceeded','clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x2b0f6f(0x164)},'mcpConfig':{'title':'MCP\x20Configuration','description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x2b0f6f(0x17b),'apiKeyPlaceholder':_0x2b0f6f(0x177),'apiKeyHint':_0x2b0f6f(0x169),'enableAuth':_0x2b0f6f(0x167),'enableAuthHint':_0x2b0f6f(0x173),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x2b0f6f(0x180),'configInstructions':_0x2b0f6f(0x163),'configStepTitle':'Configuration\x20Steps:','configStep1':_0x2b0f6f(0x16a),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x2b0f6f(0x176),'sessionId':_0x2b0f6f(0x16e),'sessionIdDescription':_0x2b0f6f(0x183),'authorizationDescription':'API\x20key\x20with\x20Bearer\x20prefix.','configParameters':_0x2b0f6f(0x17d),'maxRetries':'Max\x20Retries','save':'Save\x20Configuration','saving':_0x2b0f6f(0x174),'note1':'Configuration\x20changes\x20will\x20take\x20effect\x20immediately','note2':_0x2b0f6f(0x15a),'configSaved':'Configuration\x20saved\x20successfully','configError':_0x2b0f6f(0x166),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','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':_0x2b0f6f(0x15f),'getStarted':_0x2b0f6f(0x15d)},'validation':{'apiKeyRequired':_0x2b0f6f(0x16c),'apiKeyTooShort':_0x2b0f6f(0x181),'invalidConfig':'Invalid\x20configuration','invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x2b0f6f(0x16b),'connecting':_0x2b0f6f(0x160),'connected':_0x2b0f6f(0x17a),'failed':'Connection\x20Failed','retrying':'Retrying...'},'connectionError':{'unauthorized':_0x2b0f6f(0x162),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x2b0f6f(0x15c),'maxRetriesExceeded':_0x2b0f6f(0x168)}}};export{e as default};
1
+ const _0x593cc5=_0x53e4;(function(_0x1d0930,_0x464848){const _0x1914bc=_0x53e4,_0x1b058c=_0x1d0930();while(!![]){try{const _0x2ee7ab=parseInt(_0x1914bc(0x1f0))/0x1+-parseInt(_0x1914bc(0x1f4))/0x2*(parseInt(_0x1914bc(0x1fd))/0x3)+-parseInt(_0x1914bc(0x1e7))/0x4+parseInt(_0x1914bc(0x1f9))/0x5*(-parseInt(_0x1914bc(0x1ca))/0x6)+parseInt(_0x1914bc(0x1f3))/0x7*(-parseInt(_0x1914bc(0x1e1))/0x8)+parseInt(_0x1914bc(0x1d8))/0x9*(parseInt(_0x1914bc(0x1ea))/0xa)+parseInt(_0x1914bc(0x1d5))/0xb*(parseInt(_0x1914bc(0x1ed))/0xc);if(_0x2ee7ab===_0x464848)break;else _0x1b058c['push'](_0x1b058c['shift']());}catch(_0x47219a){_0x1b058c['push'](_0x1b058c['shift']());}}}(_0xfc27,0xa6723));function _0x53e4(_0x3d05e5,_0x18c5e3){_0x3d05e5=_0x3d05e5-0x1c6;const _0xfc27ad=_0xfc27();let _0x53e4dc=_0xfc27ad[_0x3d05e5];return _0x53e4dc;}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':_0x593cc5(0x1f7),'connected':_0x593cc5(0x1da),'failed':_0x593cc5(0x1db),'retrying':_0x593cc5(0x1e0),'unknown':'MCP\x20Unknown\x20Status','unauthorized':'MCP:\x20Unauthorized','sessionOccupied':_0x593cc5(0x1c8),'networkError':_0x593cc5(0x1df),'maxRetriesExceeded':_0x593cc5(0x1d1),'clickToConnect':_0x593cc5(0x1e6),'clickToConfigure':_0x593cc5(0x1d7)},'mcpConfig':{'title':'MCP\x20Configuration','description':_0x593cc5(0x1d6),'apiKey':_0x593cc5(0x1de),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x593cc5(0x1f1),'enableAuth':_0x593cc5(0x1e5),'enableAuthHint':_0x593cc5(0x1f2),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x593cc5(0x1c6),'configInstructions':_0x593cc5(0x1ce),'configStepTitle':_0x593cc5(0x1f5),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':_0x593cc5(0x1e3),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x593cc5(0x1dc),'sessionIdDescription':_0x593cc5(0x1fb),'authorizationDescription':_0x593cc5(0x1fc),'configParameters':_0x593cc5(0x1eb),'maxRetries':_0x593cc5(0x1cd),'save':_0x593cc5(0x1c7),'saving':_0x593cc5(0x1e4),'note1':_0x593cc5(0x1e8),'note2':_0x593cc5(0x1cf),'configSaved':_0x593cc5(0x1fa),'configError':_0x593cc5(0x1ec),'apiApplyInfo':{'title':_0x593cc5(0x1d4),'description':_0x593cc5(0x1cb),'univerAiLabel':_0x593cc5(0x1dd),'getStarted':_0x593cc5(0x1c9)},'validation':{'apiKeyRequired':_0x593cc5(0x1f8),'apiKeyTooShort':_0x593cc5(0x1ee),'invalidConfig':_0x593cc5(0x1d0),'invalidApiKey':_0x593cc5(0x1d2)},'connectionStatus':{'disconnected':'Disconnected','connecting':_0x593cc5(0x1d9),'connected':_0x593cc5(0x1cc),'failed':'Connection\x20Failed','retrying':_0x593cc5(0x1e2)},'connectionError':{'unauthorized':_0x593cc5(0x1e9),'sessionOccupied':_0x593cc5(0x1ef),'networkError':_0x593cc5(0x1f6),'maxRetriesExceeded':_0x593cc5(0x1d3)}}};function _0xfc27(){const _0x436451=['API\x20Key','MCP:\x20Network\x20Error','MCP\x20Retrying...','373008hgJepI','Retrying...','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','Saving...','Enable\x20Authentication','Click\x20to\x20connect\x20MCP','5032192ENtUYs','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','610zVTAfN','Configuration\x20Parameters:','Failed\x20to\x20save\x20configuration','6215688DOCbAQ','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','1228101gNXaJp','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Enable\x20authentication\x20for\x20secure\x20connections','63kNPypj','917918NXrmnR','Configuration\x20Steps:','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','MCP\x20Connecting...','API\x20key\x20is\x20required','3055180VisElm','Configuration\x20saved\x20successfully','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','API\x20key\x20with\x20Bearer\x20prefix.','3IwGNHn','MCP\x20Client\x20Configuration','Save\x20Configuration','MCP:\x20Session\x20ID\x20Occupied','Get\x20your\x20API\x20key\x20in\x20seconds','12puDIqh','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Connected','Max\x20Retries','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Invalid\x20configuration','MCP:\x20Max\x20Retries\x20Exceeded','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','What\x20is\x20API\x20Key?','44JAmsjQ','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Click\x20to\x20configure\x20MCP','109251GnFMIm','Connecting...','MCP\x20Connected','MCP\x20Connection\x20Failed','Session\x20ID','Univer\x20AI\x20Console'];_0xfc27=function(){return _0x436451;};return _0xfc27();}export{e as default};
@@ -1 +1 @@
1
- const _0x136691=_0x7c9d;(function(_0x53e46e,_0x1b0f7d){const _0x490dc2=_0x7c9d,_0x2d603b=_0x53e46e();while(!![]){try{const _0x4dbf11=-parseInt(_0x490dc2(0x19d))/0x1+parseInt(_0x490dc2(0x1a6))/0x2*(-parseInt(_0x490dc2(0x189))/0x3)+parseInt(_0x490dc2(0x1a5))/0x4+parseInt(_0x490dc2(0x1a1))/0x5*(parseInt(_0x490dc2(0x199))/0x6)+-parseInt(_0x490dc2(0x19f))/0x7+parseInt(_0x490dc2(0x191))/0x8+parseInt(_0x490dc2(0x18d))/0x9*(parseInt(_0x490dc2(0x18a))/0xa);if(_0x4dbf11===_0x1b0f7d)break;else _0x2d603b['push'](_0x2d603b['shift']());}catch(_0x5347c6){_0x2d603b['push'](_0x2d603b['shift']());}}}(_0x54e5,0xc56ac));function _0x7c9d(_0x5835d3,_0x4a03e1){_0x5835d3=_0x5835d3-0x17e;const _0x54e5dd=_0x54e5();let _0x7c9d38=_0x54e5dd[_0x5835d3];return _0x7c9d38;}function _0x54e5(){const _0xbb62f4=['21153051WymbWA','Max\x20Retries','Enable\x20authentication\x20for\x20secure\x20connections','Retrying...','2225640uQGEUj','API\x20Key','Connecting...','MCP\x20Client\x20Configuration','MCP\x20Unknown\x20Status','Enter\x20your\x20API\x20key','What\x20is\x20API\x20Key?','MCP\x20Connected','18VdqfOF','Univer\x20AI\x20Console','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Click\x20to\x20configure\x20MCP','806494dNjyeV','MCP\x20Connection\x20Failed','10520377DAlsRn','Disconnected','1098785haCZey','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','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.','4865680GOchrh','5740sLSpYt','Session\x20ID','Enable\x20Authentication','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20Unauthorized','Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','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\x20Configuration','Invalid\x20configuration','API\x20key\x20with\x20Bearer\x20prefix.','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Get\x20your\x20API\x20key\x20in\x20seconds','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Connection\x20Failed','Copy\x20the\x20JSON\x20configuration\x20below','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Retrying...','1449IYACaH','10dCFSBa','Save\x20Configuration','Failed\x20to\x20save\x20configuration'];_0x54e5=function(){return _0xbb62f4;};return _0x54e5();}const e={'mcpStatus':{'disconnected':'MCP\x20Disconnected','connecting':'MCP\x20Connecting...','connected':_0x136691(0x198),'failed':_0x136691(0x19e),'retrying':_0x136691(0x188),'unknown':_0x136691(0x195),'unauthorized':_0x136691(0x1ab),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x136691(0x1a3),'clickToConnect':'Click\x20to\x20connect\x20MCP','clickToConfigure':_0x136691(0x19c)},'mcpConfig':{'title':_0x136691(0x17f),'description':_0x136691(0x1a9),'apiKey':_0x136691(0x192),'apiKeyPlaceholder':_0x136691(0x196),'apiKeyHint':_0x136691(0x19b),'enableAuth':_0x136691(0x1a8),'enableAuthHint':_0x136691(0x18f),'connectionInfo':'MCP\x20Client\x20Configuration','mcpClientConfig':_0x136691(0x194),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':_0x136691(0x186),'configStep2':_0x136691(0x1ac),'configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':_0x136691(0x1a7),'sessionIdDescription':_0x136691(0x1a4),'authorizationDescription':_0x136691(0x181),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x136691(0x18e),'save':_0x136691(0x18b),'saving':'Saving...','note1':_0x136691(0x182),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x136691(0x18c),'apiApplyInfo':{'title':_0x136691(0x197),'description':_0x136691(0x17e),'univerAiLabel':_0x136691(0x19a),'getStarted':_0x136691(0x183)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':'API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','invalidConfig':_0x136691(0x180),'invalidApiKey':'Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct'},'connectionStatus':{'disconnected':_0x136691(0x1a0),'connecting':_0x136691(0x193),'connected':'Connected','failed':_0x136691(0x185),'retrying':_0x136691(0x190)},'connectionError':{'unauthorized':_0x136691(0x187),'sessionOccupied':_0x136691(0x184),'networkError':_0x136691(0x1a2),'maxRetriesExceeded':_0x136691(0x1aa)}}};export{e as default};
1
+ function _0x15eb(){const _0x175374=['1974vfcSGs','79048EeXafB','1510yrkkjs','15942ukEPfN','657400gFaxqj','949830DZnoUA','5927576qewbLG','1WGsFBI','1266165oOvqqf','68283QvVAhc'];_0x15eb=function(){return _0x175374;};return _0x15eb();}(function(_0x2bfc00,_0x3a4060){const _0x3296cf=_0x5297,_0x5ef203=_0x2bfc00();while(!![]){try{const _0x1b63f8=-parseInt(_0x3296cf(0xa3))/0x1*(parseInt(_0x3296cf(0xa7))/0x2)+-parseInt(_0x3296cf(0xa1))/0x3+parseInt(_0x3296cf(0xaa))/0x4+parseInt(_0x3296cf(0xa4))/0x5+-parseInt(_0x3296cf(0xa9))/0x6*(-parseInt(_0x3296cf(0xa6))/0x7)+parseInt(_0x3296cf(0xa2))/0x8+-parseInt(_0x3296cf(0xa5))/0x9*(parseInt(_0x3296cf(0xa8))/0xa);if(_0x1b63f8===_0x3a4060)break;else _0x5ef203['push'](_0x5ef203['shift']());}catch(_0x3bf84a){_0x5ef203['push'](_0x5ef203['shift']());}}}(_0x15eb,0x63211));import _0x3a9ceb from'./en-US.js';const t=_0x3a9ceb;function _0x5297(_0xecbb66,_0x401fe2){_0xecbb66=_0xecbb66-0xa1;const _0x15ebb7=_0x15eb();let _0x5297ab=_0x15ebb7[_0xecbb66];return _0x5297ab;}export{t as default};
@@ -1 +1 @@
1
- function _0x1706(_0x11756c,_0x2134e6){_0x11756c=_0x11756c-0x14f;const _0x5e6ca2=_0x5e6c();let _0x17069a=_0x5e6ca2[_0x11756c];return _0x17069a;}const _0x36cf03=_0x1706;(function(_0x5005a4,_0x4d5406){const _0x9df7a3=_0x1706,_0x28b47a=_0x5005a4();while(!![]){try{const _0x3326d8=-parseInt(_0x9df7a3(0x16c))/0x1+parseInt(_0x9df7a3(0x15b))/0x2*(-parseInt(_0x9df7a3(0x177))/0x3)+-parseInt(_0x9df7a3(0x178))/0x4+parseInt(_0x9df7a3(0x168))/0x5+parseInt(_0x9df7a3(0x158))/0x6+parseInt(_0x9df7a3(0x15f))/0x7+-parseInt(_0x9df7a3(0x16e))/0x8*(-parseInt(_0x9df7a3(0x15e))/0x9);if(_0x3326d8===_0x4d5406)break;else _0x28b47a['push'](_0x28b47a['shift']());}catch(_0x53dbdd){_0x28b47a['push'](_0x28b47a['shift']());}}}(_0x5e6c,0x591df));const e={'mcpStatus':{'disconnected':_0x36cf03(0x17b),'connecting':'MCP\x20Connecting...','connected':'MCP\x20Connected','failed':_0x36cf03(0x16b),'retrying':_0x36cf03(0x152),'unknown':_0x36cf03(0x150),'unauthorized':_0x36cf03(0x170),'sessionOccupied':_0x36cf03(0x15d),'networkError':'MCP:\x20Network\x20Error','maxRetriesExceeded':_0x36cf03(0x176),'clickToConnect':_0x36cf03(0x163),'clickToConfigure':_0x36cf03(0x164)},'mcpConfig':{'title':_0x36cf03(0x17c),'description':_0x36cf03(0x167),'apiKey':_0x36cf03(0x174),'apiKeyPlaceholder':'Enter\x20your\x20API\x20key','apiKeyHint':_0x36cf03(0x179),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x36cf03(0x16f),'connectionInfo':_0x36cf03(0x151),'mcpClientConfig':_0x36cf03(0x151),'configInstructions':_0x36cf03(0x162),'configStepTitle':_0x36cf03(0x161),'configStep1':'Copy\x20the\x20JSON\x20configuration\x20below','configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x36cf03(0x156),'sessionId':_0x36cf03(0x14f),'sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x36cf03(0x165),'configParameters':_0x36cf03(0x175),'maxRetries':'Max\x20Retries','save':_0x36cf03(0x169),'saving':_0x36cf03(0x172),'note1':_0x36cf03(0x159),'note2':_0x36cf03(0x154),'configSaved':_0x36cf03(0x17a),'configError':_0x36cf03(0x173),'apiApplyInfo':{'title':'What\x20is\x20API\x20Key?','description':_0x36cf03(0x157),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':'Get\x20your\x20API\x20key\x20in\x20seconds'},'validation':{'apiKeyRequired':_0x36cf03(0x160),'apiKeyTooShort':_0x36cf03(0x171),'invalidConfig':'Invalid\x20configuration','invalidApiKey':_0x36cf03(0x155)},'connectionStatus':{'disconnected':'Disconnected','connecting':'Connecting...','connected':'Connected','failed':_0x36cf03(0x166),'retrying':_0x36cf03(0x153)},'connectionError':{'unauthorized':_0x36cf03(0x16a),'sessionOccupied':_0x36cf03(0x16d),'networkError':_0x36cf03(0x15a),'maxRetriesExceeded':_0x36cf03(0x15c)}}};export{e as default};function _0x5e6c(){const _0x4d2b67=['Enable\x20authentication\x20for\x20secure\x20connections','MCP:\x20Unauthorized','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','Saving...','Failed\x20to\x20save\x20configuration','API\x20Key','Configuration\x20Parameters:','MCP:\x20Max\x20Retries\x20Exceeded','15yAITbj','2262868vbMoQU','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Configuration\x20saved\x20successfully','MCP\x20Disconnected','MCP\x20Configuration','Session\x20ID','MCP\x20Unknown\x20Status','MCP\x20Client\x20Configuration','MCP\x20Retrying...','Retrying...','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','3229284AcJwbF','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','259174LbzJwT','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','MCP:\x20Session\x20ID\x20Occupied','9dGCCPo','1736259MmWaNm','API\x20key\x20is\x20required','Configuration\x20Steps:','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','Click\x20to\x20connect\x20MCP','Click\x20to\x20configure\x20MCP','API\x20key\x20with\x20Bearer\x20prefix.','Connection\x20Failed','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','3371595IdGYHJ','Save\x20Configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP\x20Connection\x20Failed','727002TVeLIQ','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','6760856JWvQYZ'];_0x5e6c=function(){return _0x4d2b67;};return _0x5e6c();}
1
+ function _0x46b9(){const _0x54146c=['30qnYwFK','2oPZYvk','2752281lEkNpz','418073lrgcYy','1995637LBUSRU','14772zwXVCe','8UDsfLL','2696238qwCjOx','1488piYEhb','4448FIKPrB','4664hUyInb','3883205MSUCDJ'];_0x46b9=function(){return _0x54146c;};return _0x46b9();}(function(_0x2ca18a,_0x29b67c){const _0x46b6ae=_0x5944,_0xafc314=_0x2ca18a();while(!![]){try{const _0x131d66=-parseInt(_0x46b6ae(0xee))/0x1*(parseInt(_0x46b6ae(0xec))/0x2)+parseInt(_0x46b6ae(0xe7))/0x3*(parseInt(_0x46b6ae(0xe8))/0x4)+-parseInt(_0x46b6ae(0xea))/0x5+parseInt(_0x46b6ae(0xe6))/0x6+parseInt(_0x46b6ae(0xef))/0x7*(parseInt(_0x46b6ae(0xf1))/0x8)+-parseInt(_0x46b6ae(0xed))/0x9*(-parseInt(_0x46b6ae(0xeb))/0xa)+-parseInt(_0x46b6ae(0xe9))/0xb*(parseInt(_0x46b6ae(0xf0))/0xc);if(_0x131d66===_0x29b67c)break;else _0xafc314['push'](_0xafc314['shift']());}catch(_0x16ad64){_0xafc314['push'](_0xafc314['shift']());}}}(_0x46b9,0x76d81));import _0x590026 from'./en-US.js';function _0x5944(_0xf086e8,_0x5623b1){_0xf086e8=_0xf086e8-0xe6;const _0x46b910=_0x46b9();let _0x59444b=_0x46b910[_0xf086e8];return _0x59444b;}const t=_0x590026;export{t as default};
@@ -1 +1 @@
1
- function _0x7ffc(){const _0x295b68=['API\x20key\x20with\x20Bearer\x20prefix.','MCP\x20Client\x20Configuration','852554JhAaTK','MCP:\x20Network\x20Error','What\x20is\x20API\x20Key?','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','Max\x20Retries','Enable\x20authentication\x20for\x20secure\x20connections','Copy\x20the\x20JSON\x20configuration\x20below','Get\x20your\x20API\x20key\x20in\x20seconds','Saving...','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','3971625kEYjBi','MCP:\x20Max\x20Retries\x20Exceeded','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long','4771902klvQeY','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Connecting...','Enter\x20your\x20API\x20key','MCP\x20Connection\x20Failed','3739415SeFpHm','MCP\x20Unknown\x20Status','MCP\x20Connected','Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','MCP\x20Configuration','Invalid\x20configuration','MCP\x20Disconnected','API\x20Key','MCP\x20Connecting...','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','Enable\x20Authentication','Click\x20to\x20connect\x20MCP','Configuration\x20Parameters:','7338840EaLwfb','Retrying...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','57TAQwTD','Disconnected','484818ECaeWr','20452RsawQQ','MCP:\x20Unauthorized'];_0x7ffc=function(){return _0x295b68;};return _0x7ffc();}function _0x3b0e(_0xd13246,_0x475c80){_0xd13246=_0xd13246-0x1f2;const _0x7ffc53=_0x7ffc();let _0x3b0ea6=_0x7ffc53[_0xd13246];return _0x3b0ea6;}const _0x308101=_0x3b0e;(function(_0x1a6251,_0x3384a2){const _0x4d025b=_0x3b0e,_0x36f276=_0x1a6251();while(!![]){try{const _0x2826d6=-parseInt(_0x4d025b(0x216))/0x1+-parseInt(_0x4d025b(0x21b))/0x2+-parseInt(_0x4d025b(0x214))/0x3*(parseInt(_0x4d025b(0x217))/0x4)+parseInt(_0x4d025b(0x203))/0x5+-parseInt(_0x4d025b(0x1fe))/0x6+parseInt(_0x4d025b(0x1fb))/0x7+parseInt(_0x4d025b(0x210))/0x8;if(_0x2826d6===_0x3384a2)break;else _0x36f276['push'](_0x36f276['shift']());}catch(_0xc9175b){_0x36f276['push'](_0x36f276['shift']());}}}(_0x7ffc,0x68bfe));const e={'mcpStatus':{'disconnected':_0x308101(0x209),'connecting':_0x308101(0x20b),'connected':_0x308101(0x205),'failed':_0x308101(0x202),'retrying':'MCP\x20Retrying...','unknown':_0x308101(0x204),'unauthorized':_0x308101(0x218),'sessionOccupied':'MCP:\x20Session\x20ID\x20Occupied','networkError':_0x308101(0x1f2),'maxRetriesExceeded':_0x308101(0x1fc),'clickToConnect':_0x308101(0x20e),'clickToConfigure':'Click\x20to\x20configure\x20MCP'},'mcpConfig':{'title':_0x308101(0x207),'description':'Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','apiKey':_0x308101(0x20a),'apiKeyPlaceholder':_0x308101(0x201),'apiKeyHint':'Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','enableAuth':_0x308101(0x20d),'enableAuthHint':_0x308101(0x1f6),'connectionInfo':_0x308101(0x21a),'mcpClientConfig':_0x308101(0x21a),'configInstructions':'Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','configStepTitle':'Configuration\x20Steps:','configStep1':_0x308101(0x1f7),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':'Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','sessionId':'Session\x20ID','sessionIdDescription':'Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','authorizationDescription':_0x308101(0x219),'configParameters':_0x308101(0x20f),'maxRetries':_0x308101(0x1f5),'save':'Save\x20Configuration','saving':_0x308101(0x1f9),'note1':_0x308101(0x1ff),'note2':_0x308101(0x206),'configSaved':'Configuration\x20saved\x20successfully','configError':'Failed\x20to\x20save\x20configuration','apiApplyInfo':{'title':_0x308101(0x1f3),'description':_0x308101(0x212),'univerAiLabel':'Univer\x20AI\x20Console','getStarted':_0x308101(0x1f8)},'validation':{'apiKeyRequired':'API\x20key\x20is\x20required','apiKeyTooShort':_0x308101(0x1fd),'invalidConfig':_0x308101(0x208),'invalidApiKey':_0x308101(0x213)},'connectionStatus':{'disconnected':_0x308101(0x215),'connecting':_0x308101(0x200),'connected':'Connected','failed':'Connection\x20Failed','retrying':_0x308101(0x211)},'connectionError':{'unauthorized':_0x308101(0x1fa),'sessionOccupied':'Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','networkError':_0x308101(0x20c),'maxRetriesExceeded':_0x308101(0x1f4)}}};export{e as default};
1
+ (function(_0x29d803,_0x34df68){const _0x5d819d=_0x5eda,_0x196bcf=_0x29d803();while(!![]){try{const _0x11d916=parseInt(_0x5d819d(0xd7))/0x1+-parseInt(_0x5d819d(0xd8))/0x2*(parseInt(_0x5d819d(0xd6))/0x3)+-parseInt(_0x5d819d(0xd1))/0x4+-parseInt(_0x5d819d(0xd5))/0x5*(-parseInt(_0x5d819d(0xda))/0x6)+parseInt(_0x5d819d(0xd2))/0x7*(-parseInt(_0x5d819d(0xdb))/0x8)+parseInt(_0x5d819d(0xdc))/0x9*(parseInt(_0x5d819d(0xd4))/0xa)+parseInt(_0x5d819d(0xd3))/0xb*(parseInt(_0x5d819d(0xd9))/0xc);if(_0x11d916===_0x34df68)break;else _0x196bcf['push'](_0x196bcf['shift']());}catch(_0x3330c9){_0x196bcf['push'](_0x196bcf['shift']());}}}(_0x2b7b,0x8d01d));function _0x2b7b(){const _0x1557dc=['24984HmMclZ','28279dWCnVd','116beaEuV','29316dkSbng','60aEQvPl','16hWSOmV','33273RtZkKu','1865100LaUCUx','1936515rMhuwD','902gCjXEj','1970SbaiMS','561620JHsZvp'];_0x2b7b=function(){return _0x1557dc;};return _0x2b7b();}import _0x24b4d0 from'./en-US.js';const t=_0x24b4d0;function _0x5eda(_0x2f672f,_0x5c5ec3){_0x2f672f=_0x2f672f-0xd1;const _0x2b7b97=_0x2b7b();let _0x5eda1c=_0x2b7b97[_0x2f672f];return _0x5eda1c;}export{t as default};
@@ -1 +1 @@
1
- const _0x2147b4=_0x50d4;(function(_0x2d4a81,_0x36ccb6){const _0x3f25b0=_0x50d4,_0x58dd15=_0x2d4a81();while(!![]){try{const _0x37662f=parseInt(_0x3f25b0(0x1a6))/0x1*(-parseInt(_0x3f25b0(0x193))/0x2)+-parseInt(_0x3f25b0(0x191))/0x3+parseInt(_0x3f25b0(0x187))/0x4*(-parseInt(_0x3f25b0(0x194))/0x5)+parseInt(_0x3f25b0(0x181))/0x6*(parseInt(_0x3f25b0(0x195))/0x7)+parseInt(_0x3f25b0(0x196))/0x8*(-parseInt(_0x3f25b0(0x18d))/0x9)+parseInt(_0x3f25b0(0x1a7))/0xa*(-parseInt(_0x3f25b0(0x1ac))/0xb)+-parseInt(_0x3f25b0(0x18b))/0xc*(-parseInt(_0x3f25b0(0x19e))/0xd);if(_0x37662f===_0x36ccb6)break;else _0x58dd15['push'](_0x58dd15['shift']());}catch(_0x520473){_0x58dd15['push'](_0x58dd15['shift']());}}}(_0x1f65,0xc7332));function _0x50d4(_0x1ea481,_0x525b46){_0x1ea481=_0x1ea481-0x17f;const _0x1f6537=_0x1f65();let _0x50d4f6=_0x1f6537[_0x1ea481];return _0x50d4f6;}const e={'mcpStatus':{'disconnected':'MCP\x20未接続','connecting':_0x2147b4(0x185),'connected':'MCP\x20接続済み','failed':_0x2147b4(0x17f),'retrying':_0x2147b4(0x18a),'unknown':_0x2147b4(0x19c),'unauthorized':'MCP:\x20認証されていません','sessionOccupied':'MCP:\x20セッションIDが使用中','networkError':_0x2147b4(0x19a),'maxRetriesExceeded':'MCP:\x20最大再試行回数を超過','clickToConnect':_0x2147b4(0x1a0),'clickToConfigure':'クリックしてMCPを設定'},'mcpConfig':{'title':'MCP設定','description':_0x2147b4(0x1ab),'apiKey':_0x2147b4(0x1ad),'apiKeyPlaceholder':_0x2147b4(0x188),'apiKeyHint':'APIキーはこのブラウザのローカルに保存されます','enableAuth':_0x2147b4(0x182),'enableAuthHint':_0x2147b4(0x183),'connectionInfo':_0x2147b4(0x18e),'mcpClientConfig':_0x2147b4(0x18e),'configInstructions':'MCPクライアントの設定に次の設定を追加してください:','configStepTitle':_0x2147b4(0x1a5),'configStep1':'以下のJSON設定をコピー','configStep2':_0x2147b4(0x19d),'configStep3':'MCPクライアントを再起動して設定を適用','sessionId':_0x2147b4(0x1a3),'sessionIdDescription':_0x2147b4(0x1a2),'authorizationDescription':_0x2147b4(0x19f),'configParameters':_0x2147b4(0x18f),'maxRetries':'最大再試行回数','save':_0x2147b4(0x1a1),'saving':_0x2147b4(0x1aa),'note1':'設定の変更は直ちに有効になります','note2':_0x2147b4(0x189),'configSaved':_0x2147b4(0x198),'configError':'設定の保存に失敗しました','apiApplyInfo':{'title':_0x2147b4(0x1ae),'description':_0x2147b4(0x186),'univerAiLabel':_0x2147b4(0x1af),'getStarted':'数秒でAPIキーを取得'},'validation':{'apiKeyRequired':_0x2147b4(0x190),'apiKeyTooShort':_0x2147b4(0x197),'invalidConfig':_0x2147b4(0x199),'invalidApiKey':_0x2147b4(0x19b)},'connectionStatus':{'disconnected':'未接続','connecting':'接続中...','connected':_0x2147b4(0x180),'failed':_0x2147b4(0x18c),'retrying':_0x2147b4(0x184)},'connectionError':{'unauthorized':_0x2147b4(0x192),'sessionOccupied':_0x2147b4(0x1a4),'networkError':_0x2147b4(0x1a9),'maxRetriesExceeded':_0x2147b4(0x1a8)}}};function _0x1f65(){const _0xf5f7c2=['21364551pFOnPS','Bearerプレフィックス付きのAPIキー。','クリックしてMCPに接続','設定を保存','一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','セッションID','セッションIDが現在使用中です。後でもう一度お試しください','設定手順:','3TPTliy','270EtNPOg','最大再試行回数を超過しました。後でもう一度お試しください','ネットワーク接続エラー。インターネット接続を確認してください','保存中...','MCPを設定してAIでスプレッドシートを操作','428087cjugzR','APIキー','APIキーとは?','Univer\x20AIコンソール','MCP\x20接続失敗','接続済み','6yBCBSr','認証を有効にする','セキュアな接続のために認証を有効にする','再試行中...','MCP\x20接続中...','APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','3080696xRhPCP','APIキーを入力してください','APIキーはローカルストレージに安全に保存されます','MCP\x20再試行中...','36oPqwiV','接続失敗','207369GVzKBe','MCPクライアント設定','設定パラメータ:','APIキーは必須です','4023360QRoxyF','認証に失敗しました。APIキーを確認してください','120562uoYyOf','10gTdBPQ','3539291TcRMvD','176weARHp','APIキーは10文字以上である必要があります','設定が正常に保存されました','無効な設定','MCP:\x20ネットワークエラー','無効なAPIキーです。キーが正しいか確認してください','MCP\x20不明な状態','MCPクライアントの設定ファイルに設定を追加'];_0x1f65=function(){return _0xf5f7c2;};return _0x1f65();}export{e as default};
1
+ function _0x1ffd(_0x20e1cc,_0x59baa1){_0x20e1cc=_0x20e1cc-0x7f;const _0x555a42=_0x555a();let _0x1ffd47=_0x555a42[_0x20e1cc];return _0x1ffd47;}const _0x552c7c=_0x1ffd;(function(_0x528d2d,_0x2eaa4d){const _0x37a624=_0x1ffd,_0x3a5c09=_0x528d2d();while(!![]){try{const _0x50cc09=-parseInt(_0x37a624(0xa5))/0x1+parseInt(_0x37a624(0x9a))/0x2+parseInt(_0x37a624(0xa9))/0x3+parseInt(_0x37a624(0x91))/0x4+parseInt(_0x37a624(0x8f))/0x5*(parseInt(_0x37a624(0x96))/0x6)+parseInt(_0x37a624(0x88))/0x7*(-parseInt(_0x37a624(0xa8))/0x8)+parseInt(_0x37a624(0x9d))/0x9;if(_0x50cc09===_0x2eaa4d)break;else _0x3a5c09['push'](_0x3a5c09['shift']());}catch(_0x2fe092){_0x3a5c09['push'](_0x3a5c09['shift']());}}}(_0x555a,0x5875d));function _0x555a(){const _0x28ccd2=['MCPを設定してAIでスプレッドシートを操作','Univer\x20AIコンソール','1277546xHASxl','接続失敗','認証に失敗しました。APIキーを確認してください','1121049dnhhnB','セキュアな接続のために認証を有効にする','最大再試行回数','MCP:\x20セッションIDが使用中','APIキーは必須です','MCP\x20未接続','APIキーを入力してください','APIキーは10文字以上である必要があります','615305BFVLxr','設定の保存に失敗しました','設定の変更は直ちに有効になります','16WlyEXX','729597zKhDov','無効なAPIキーです。キーが正しいか確認してください','MCP\x20接続中...','MCP\x20接続失敗','設定が正常に保存されました','APIキーはこのブラウザのローカルに保存されます','MCP:\x20ネットワークエラー','APIキーはローカルストレージに安全に保存されます','数秒でAPIキーを取得','保存中...','1493534rqQgAc','MCP\x20接続済み','MCP:\x20最大再試行回数を超過','ネットワーク接続エラー。インターネット接続を確認してください','MCP設定','設定を保存','APIキーを使用してUniver\x20MCPサーバーに接続し、AIでスプレッドシートを操作できます。コンソールからAPIキーを取得して開始してください。','29285YiqfgV','再試行中...','1052472EVPHdk','MCP\x20再試行中...','セッションID','セッションIDが現在使用中です。後でもう一度お試しください','MCPクライアントの設定ファイルに設定を追加','138tFfwaL','接続済み'];_0x555a=function(){return _0x28ccd2;};return _0x555a();}const e={'mcpStatus':{'disconnected':_0x552c7c(0xa2),'connecting':_0x552c7c(0x80),'connected':_0x552c7c(0x89),'failed':_0x552c7c(0x81),'retrying':_0x552c7c(0x92),'unknown':'MCP\x20不明な状態','unauthorized':'MCP:\x20認証されていません','sessionOccupied':_0x552c7c(0xa0),'networkError':_0x552c7c(0x84),'maxRetriesExceeded':_0x552c7c(0x8a),'clickToConnect':'クリックしてMCPに接続','clickToConfigure':'クリックしてMCPを設定'},'mcpConfig':{'title':_0x552c7c(0x8c),'description':_0x552c7c(0x98),'apiKey':'APIキー','apiKeyPlaceholder':_0x552c7c(0xa3),'apiKeyHint':_0x552c7c(0x83),'enableAuth':'認証を有効にする','enableAuthHint':_0x552c7c(0x9e),'connectionInfo':'MCPクライアント設定','mcpClientConfig':'MCPクライアント設定','configInstructions':'MCPクライアントの設定に次の設定を追加してください:','configStepTitle':'設定手順:','configStep1':'以下のJSON設定をコピー','configStep2':_0x552c7c(0x95),'configStep3':'MCPクライアントを再起動して設定を適用','sessionId':_0x552c7c(0x93),'sessionIdDescription':'一意のセッション識別子。複数のUniverインスタンスを開いている場合、接続の競合を避けるため、各インスタンスは異なるsession_idを使用する必要があります。','authorizationDescription':'Bearerプレフィックス付きのAPIキー。','configParameters':'設定パラメータ:','maxRetries':_0x552c7c(0x9f),'save':_0x552c7c(0x8d),'saving':_0x552c7c(0x87),'note1':_0x552c7c(0xa7),'note2':_0x552c7c(0x85),'configSaved':_0x552c7c(0x82),'configError':_0x552c7c(0xa6),'apiApplyInfo':{'title':'APIキーとは?','description':_0x552c7c(0x8e),'univerAiLabel':_0x552c7c(0x99),'getStarted':_0x552c7c(0x86)},'validation':{'apiKeyRequired':_0x552c7c(0xa1),'apiKeyTooShort':_0x552c7c(0xa4),'invalidConfig':'無効な設定','invalidApiKey':_0x552c7c(0x7f)},'connectionStatus':{'disconnected':'未接続','connecting':'接続中...','connected':_0x552c7c(0x97),'failed':_0x552c7c(0x9b),'retrying':_0x552c7c(0x90)},'connectionError':{'unauthorized':_0x552c7c(0x9c),'sessionOccupied':_0x552c7c(0x94),'networkError':_0x552c7c(0x8b),'maxRetriesExceeded':'最大再試行回数を超過しました。後でもう一度お試しください'}}};export{e as default};
@@ -1 +1 @@
1
- const _0x42195b=_0x2f02;(function(_0x23ce05,_0x51dd17){const _0x46ef87=_0x2f02,_0xc46ba8=_0x23ce05();while(!![]){try{const _0xfac5fe=-parseInt(_0x46ef87(0x1bf))/0x1*(parseInt(_0x46ef87(0x1c2))/0x2)+-parseInt(_0x46ef87(0x1b2))/0x3*(-parseInt(_0x46ef87(0x1cb))/0x4)+parseInt(_0x46ef87(0x1ba))/0x5+parseInt(_0x46ef87(0x1a1))/0x6+parseInt(_0x46ef87(0x1a5))/0x7*(parseInt(_0x46ef87(0x19c))/0x8)+parseInt(_0x46ef87(0x1a7))/0x9*(parseInt(_0x46ef87(0x1c6))/0xa)+-parseInt(_0x46ef87(0x1bb))/0xb;if(_0xfac5fe===_0x51dd17)break;else _0xc46ba8['push'](_0xc46ba8['shift']());}catch(_0xbe6feb){_0xc46ba8['push'](_0xc46ba8['shift']());}}}(_0x71fa,0x5c3c2));function _0x2f02(_0x1d1b91,_0x4e7e7a){_0x1d1b91=_0x1d1b91-0x19c;const _0x71fab6=_0x71fa();let _0x2f0263=_0x71fab6[_0x1d1b91];return _0x2f0263;}function _0x71fa(){const _0x962581=['세션\x20ID','MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','설정\x20저장','네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','213YApXTs','연결됨','최대\x20재시도\x20횟수','보안\x20연결을\x20위해\x20인증\x20활성화','클릭하여\x20MCP\x20연결','고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','MCP:\x20최대\x20재시도\x20횟수\x20초과','MCP\x20연결\x20끊김','226310UFmnec','7160571XfFlmM','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','MCP\x20연결\x20실패','API\x20키란\x20무엇인가요?','4OwPnbw','MCP:\x20네트워크\x20오류','Bearer\x20접두사가\x20있는\x20API\x20키.','236090TNkwNB','연결\x20실패','유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요','API\x20키를\x20입력하세요','139020jNANRB','설정\x20단계:','API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','MCP\x20재시도\x20중...','25404CaSxKC','API\x20키는\x20필수입니다','세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','2321864DolCyR','MCP\x20설정','설정\x20매개변수:','MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','API\x20','3119346ahlXFS','저장\x20중...','인증\x20실패.\x20API\x20키를\x20확인하세요','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','7WmKoXr','MCP:\x20세션\x20ID\x20사용\x20중','126gnGPmf','인증\x20활성화','유효하지\x20않은\x20설정','설정이\x20성공적으로\x20저장되었습니다','MCP\x20클라이언트\x20설정','최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요','아래\x20JSON\x20설정\x20복사'];_0x71fa=function(){return _0x962581;};return _0x71fa();}const e={'mcpStatus':{'disconnected':_0x42195b(0x1b9),'connecting':'MCP\x20연결\x20중...','connected':'MCP\x20연결됨','failed':_0x42195b(0x1bd),'retrying':_0x42195b(0x1ca),'unknown':'MCP\x20알\x20수\x20없는\x20상태','unauthorized':'MCP:\x20인증되지\x20않음','sessionOccupied':_0x42195b(0x1a6),'networkError':_0x42195b(0x1c0),'maxRetriesExceeded':_0x42195b(0x1b8),'clickToConnect':_0x42195b(0x1b6),'clickToConfigure':'클릭하여\x20MCP\x20설정'},'mcpConfig':{'title':_0x42195b(0x19d),'description':_0x42195b(0x1c9),'apiKey':_0x42195b(0x1a0),'apiKeyPlaceholder':_0x42195b(0x1c5),'apiKeyHint':_0x42195b(0x1a4),'enableAuth':_0x42195b(0x1a8),'enableAuthHint':_0x42195b(0x1b5),'connectionInfo':'MCP\x20클라이언트\x20설정','mcpClientConfig':_0x42195b(0x1ab),'configInstructions':'MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','configStepTitle':_0x42195b(0x1c7),'configStep1':_0x42195b(0x1ad),'configStep2':_0x42195b(0x19f),'configStep3':_0x42195b(0x1af),'sessionId':_0x42195b(0x1ae),'sessionIdDescription':_0x42195b(0x1b7),'authorizationDescription':_0x42195b(0x1c1),'configParameters':_0x42195b(0x19e),'maxRetries':_0x42195b(0x1b4),'save':_0x42195b(0x1b0),'saving':_0x42195b(0x1a2),'note1':_0x42195b(0x1bc),'note2':'API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','configSaved':_0x42195b(0x1aa),'configError':'설정\x20저장\x20실패','apiApplyInfo':{'title':_0x42195b(0x1be),'description':_0x42195b(0x1c8),'univerAiLabel':'Univer\x20AI\x20콘솔','getStarted':'몇\x20초\x20만에\x20API\x20키\x20발급받기'},'validation':{'apiKeyRequired':_0x42195b(0x1cc),'apiKeyTooShort':'API\x20키는\x2010자\x20이상이어야\x20합니다','invalidConfig':_0x42195b(0x1a9),'invalidApiKey':_0x42195b(0x1c4)},'connectionStatus':{'disconnected':'연결\x20끊김','connecting':'연결\x20중...','connected':_0x42195b(0x1b3),'failed':_0x42195b(0x1c3),'retrying':'재시도\x20중...'},'connectionError':{'unauthorized':_0x42195b(0x1a3),'sessionOccupied':_0x42195b(0x1cd),'networkError':_0x42195b(0x1b1),'maxRetriesExceeded':_0x42195b(0x1ac)}}};export{e as default};
1
+ const _0xc966f7=_0x4747;function _0x4dc5(){const _0x4a55c7=['유효하지\x20않은\x20설정','MCP:\x20최대\x20재시도\x20횟수\x20초과','API\x20키는\x20이\x20브라우저의\x20로컬에\x20저장됩니다','121113UVcEKW','MCP\x20재시도\x20중...','API\x20키는\x20필수입니다','설정\x20변경\x20사항은\x20즉시\x20적용됩니다','API\x20키를\x20입력하세요','아래\x20JSON\x20설정\x20복사','7884cnPruT','MCP\x20클라이언트를\x20다시\x20시작하여\x20설정\x20적용','MCP\x20연결됨','연결\x20중...','연결\x20끊김','2930QNyZbb','1458OooQam','API\x20키는\x2010자\x20이상이어야\x20합니다','API\x20키는\x20Univer\x20MCP\x20서버에\x20연결하여\x20AI로\x20스프레드시트를\x20조작할\x20수\x20있게\x20해줍니다.\x20콘솔에서\x20API\x20키를\x20발급받아\x20시작하세요.','8852004XGYxWC','MCP\x20클라이언트\x20설정\x20파일에\x20구성\x20추가','MCP\x20연결\x20중...','API\x20키는\x20로컬\x20스토리지에\x20안전하게\x20저장됩니다','590NQcNHE','API\x20','클릭하여\x20MCP\x20연결','MCP\x20클라이언트\x20설정에\x20다음\x20구성을\x20추가하세요:','55204NovpNm','MCP\x20설정','MCP:\x20인증되지\x20않음','설정이\x20성공적으로\x20저장되었습니다','설정\x20단계:','보안\x20연결을\x20위해\x20인증\x20활성화','160140srrHdh','11929400GvIyIf','설정\x20저장\x20실패','MCP\x20클라이언트\x20설정','MCP\x20연결\x20실패','몇\x20초\x20만에\x20API\x20키\x20발급받기','저장\x20중...','세션\x20ID가\x20현재\x20사용\x20중입니다.\x20나중에\x20다시\x20시도하세요','연결\x20실패','3111073bidHLW','API\x20키란\x20무엇인가요?'];_0x4dc5=function(){return _0x4a55c7;};return _0x4dc5();}(function(_0x1af673,_0x5cfeda){const _0x49276c=_0x4747,_0x16552f=_0x1af673();while(!![]){try{const _0x3f71e4=parseInt(_0x49276c(0xf9))/0x1+parseInt(_0x49276c(0xe8))/0x2*(-parseInt(_0x49276c(0x10d))/0x3)+-parseInt(_0x49276c(0xf3))/0x4*(parseInt(_0x49276c(0xef))/0x5)+parseInt(_0x49276c(0xeb))/0x6+parseInt(_0x49276c(0x102))/0x7+-parseInt(_0x49276c(0xfa))/0x8+-parseInt(_0x49276c(0x107))/0x9*(-parseInt(_0x49276c(0xe7))/0xa);if(_0x3f71e4===_0x5cfeda)break;else _0x16552f['push'](_0x16552f['shift']());}catch(_0x4d8483){_0x16552f['push'](_0x16552f['shift']());}}}(_0x4dc5,0xf10ad));function _0x4747(_0x35d604,_0x20dc44){_0x35d604=_0x35d604-0xe6;const _0x4dc5ea=_0x4dc5();let _0x47477d=_0x4dc5ea[_0x35d604];return _0x47477d;}const e={'mcpStatus':{'disconnected':'MCP\x20연결\x20끊김','connecting':_0xc966f7(0xed),'connected':_0xc966f7(0x10f),'failed':_0xc966f7(0xfd),'retrying':_0xc966f7(0x108),'unknown':'MCP\x20알\x20수\x20없는\x20상태','unauthorized':_0xc966f7(0xf5),'sessionOccupied':'MCP:\x20세션\x20ID\x20사용\x20중','networkError':'MCP:\x20네트워크\x20오류','maxRetriesExceeded':_0xc966f7(0x105),'clickToConnect':_0xc966f7(0xf1),'clickToConfigure':'클릭하여\x20MCP\x20설정'},'mcpConfig':{'title':_0xc966f7(0xf4),'description':'AI를\x20사용하여\x20스프레드시트를\x20조작하도록\x20MCP\x20설정','apiKey':_0xc966f7(0xf0),'apiKeyPlaceholder':_0xc966f7(0x10b),'apiKeyHint':_0xc966f7(0x106),'enableAuth':'인증\x20활성화','enableAuthHint':_0xc966f7(0xf8),'connectionInfo':_0xc966f7(0xfc),'mcpClientConfig':_0xc966f7(0xfc),'configInstructions':_0xc966f7(0xf2),'configStepTitle':_0xc966f7(0xf7),'configStep1':_0xc966f7(0x10c),'configStep2':_0xc966f7(0xec),'configStep3':_0xc966f7(0x10e),'sessionId':'세션\x20ID','sessionIdDescription':'고유\x20세션\x20식별자입니다.\x20여러\x20Univer\x20인스턴스가\x20열려\x20있는\x20경우,\x20연결\x20충돌을\x20방지하기\x20위해\x20각\x20인스턴스는\x20서로\x20다른\x20session_id를\x20사용해야\x20합니다.','authorizationDescription':'Bearer\x20접두사가\x20있는\x20API\x20키.','configParameters':'설정\x20매개변수:','maxRetries':'최대\x20재시도\x20횟수','save':'설정\x20저장','saving':_0xc966f7(0xff),'note1':_0xc966f7(0x10a),'note2':_0xc966f7(0xee),'configSaved':_0xc966f7(0xf6),'configError':_0xc966f7(0xfb),'apiApplyInfo':{'title':_0xc966f7(0x103),'description':_0xc966f7(0xea),'univerAiLabel':'Univer\x20AI\x20콘솔','getStarted':_0xc966f7(0xfe)},'validation':{'apiKeyRequired':_0xc966f7(0x109),'apiKeyTooShort':_0xc966f7(0xe9),'invalidConfig':_0xc966f7(0x104),'invalidApiKey':'유효하지\x20않은\x20API\x20키입니다.\x20키가\x20올바른지\x20확인하세요'},'connectionStatus':{'disconnected':_0xc966f7(0xe6),'connecting':_0xc966f7(0x110),'connected':'연결됨','failed':_0xc966f7(0x101),'retrying':'재시도\x20중...'},'connectionError':{'unauthorized':'인증\x20실패.\x20API\x20키를\x20확인하세요','sessionOccupied':_0xc966f7(0x100),'networkError':'네트워크\x20연결\x20오류.\x20인터넷\x20연결을\x20확인하세요','maxRetriesExceeded':'최대\x20재시도\x20횟수를\x20초과했습니다.\x20나중에\x20다시\x20시도하세요'}}};export{e as default};
@@ -1 +1 @@
1
- const _0x36aa07=_0x58a4;(function(_0x4fef6d,_0x4a4b56){const _0x4686c1=_0x58a4,_0x20ec4d=_0x4fef6d();while(!![]){try{const _0x125ace=parseInt(_0x4686c1(0x17e))/0x1*(parseInt(_0x4686c1(0x16e))/0x2)+-parseInt(_0x4686c1(0x170))/0x3+parseInt(_0x4686c1(0x175))/0x4*(-parseInt(_0x4686c1(0x194))/0x5)+parseInt(_0x4686c1(0x184))/0x6+-parseInt(_0x4686c1(0x180))/0x7+-parseInt(_0x4686c1(0x19e))/0x8*(parseInt(_0x4686c1(0x17a))/0x9)+parseInt(_0x4686c1(0x16c))/0xa;if(_0x125ace===_0x4a4b56)break;else _0x20ec4d['push'](_0x20ec4d['shift']());}catch(_0x19b3d1){_0x20ec4d['push'](_0x20ec4d['shift']());}}}(_0x2e7a,0xb3fc8));function _0x58a4(_0x323090,_0x37051a){_0x323090=_0x323090-0x16b;const _0x2e7a4f=_0x2e7a();let _0x58a4ef=_0x2e7a4f[_0x323090];return _0x58a4ef;}const e={'mcpStatus':{'disconnected':_0x36aa07(0x17c),'connecting':_0x36aa07(0x1a0),'connected':_0x36aa07(0x190),'failed':_0x36aa07(0x174),'retrying':_0x36aa07(0x198),'unknown':'MCP\x20Unknown\x20Status','unauthorized':_0x36aa07(0x183),'sessionOccupied':_0x36aa07(0x188),'networkError':_0x36aa07(0x19a),'maxRetriesExceeded':_0x36aa07(0x181),'clickToConnect':_0x36aa07(0x195),'clickToConfigure':_0x36aa07(0x177)},'mcpConfig':{'title':_0x36aa07(0x176),'description':_0x36aa07(0x19d),'apiKey':'API\x20Key','apiKeyPlaceholder':_0x36aa07(0x18f),'apiKeyHint':_0x36aa07(0x18b),'enableAuth':'Enable\x20Authentication','enableAuthHint':_0x36aa07(0x17b),'connectionInfo':_0x36aa07(0x199),'mcpClientConfig':_0x36aa07(0x199),'configInstructions':_0x36aa07(0x193),'configStepTitle':_0x36aa07(0x18e),'configStep1':_0x36aa07(0x17d),'configStep2':'Add\x20the\x20configuration\x20to\x20your\x20MCP\x20client\x20settings\x20file','configStep3':_0x36aa07(0x185),'sessionId':_0x36aa07(0x171),'sessionIdDescription':_0x36aa07(0x18a),'authorizationDescription':_0x36aa07(0x191),'configParameters':'Configuration\x20Parameters:','maxRetries':_0x36aa07(0x178),'save':'Save\x20Configuration','saving':_0x36aa07(0x196),'note1':_0x36aa07(0x18d),'note2':'Your\x20API\x20key\x20is\x20stored\x20securely\x20in\x20local\x20storage','configSaved':'Configuration\x20saved\x20successfully','configError':_0x36aa07(0x186),'apiApplyInfo':{'title':_0x36aa07(0x189),'description':_0x36aa07(0x1a1),'univerAiLabel':_0x36aa07(0x179),'getStarted':_0x36aa07(0x17f)},'validation':{'apiKeyRequired':_0x36aa07(0x16d),'apiKeyTooShort':_0x36aa07(0x173),'invalidConfig':_0x36aa07(0x19b),'invalidApiKey':_0x36aa07(0x182)},'connectionStatus':{'disconnected':_0x36aa07(0x18c),'connecting':_0x36aa07(0x19c),'connected':_0x36aa07(0x19f),'failed':_0x36aa07(0x16f),'retrying':_0x36aa07(0x197)},'connectionError':{'unauthorized':_0x36aa07(0x187),'sessionOccupied':_0x36aa07(0x192),'networkError':_0x36aa07(0x16b),'maxRetriesExceeded':_0x36aa07(0x172)}}};function _0x2e7a(){const _0x28b306=['MCP\x20Connection\x20Failed','28292maOSML','MCP\x20Configuration','Click\x20to\x20configure\x20MCP','Max\x20Retries','Univer\x20AI\x20Console','6499665YyaBrP','Enable\x20authentication\x20for\x20secure\x20connections','MCP\x20Disconnected','Copy\x20the\x20JSON\x20configuration\x20below','1xNnSwY','Get\x20your\x20API\x20key\x20in\x20seconds','8322622zMtavn','MCP:\x20Max\x20Retries\x20Exceeded','Invalid\x20API\x20key,\x20please\x20check\x20if\x20the\x20key\x20is\x20correct','MCP:\x20Unauthorized','6107496vKwpeU','Restart\x20your\x20MCP\x20client\x20to\x20apply\x20the\x20configuration','Failed\x20to\x20save\x20configuration','Authorization\x20failed,\x20please\x20check\x20your\x20API\x20key','MCP:\x20Session\x20ID\x20Occupied','What\x20is\x20API\x20Key?','Unique\x20session\x20identifier.\x20If\x20you\x20have\x20multiple\x20Univer\x20instances\x20open,\x20each\x20instance\x20must\x20use\x20a\x20different\x20session_id\x20to\x20avoid\x20connection\x20conflicts.','Your\x20API\x20key\x20will\x20be\x20stored\x20locally\x20in\x20this\x20browser','Disconnected','Configuration\x20changes\x20will\x20take\x20effect\x20immediately','Configuration\x20Steps:','Enter\x20your\x20API\x20key','MCP\x20Connected','API\x20key\x20with\x20Bearer\x20prefix.','Session-id\x20is\x20currently\x20occupied,\x20please\x20try\x20again\x20later','Add\x20the\x20following\x20configuration\x20to\x20your\x20MCP\x20client\x20settings:','825pRQVdt','Click\x20to\x20connect\x20MCP','Saving...','Retrying...','MCP\x20Retrying...','MCP\x20Client\x20Configuration','MCP:\x20Network\x20Error','Invalid\x20configuration','Connecting...','Configure\x20MCP\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets','16ZYmPor','Connected','MCP\x20Connecting...','API\x20Key\x20connects\x20you\x20to\x20Univer\x20MCP\x20Server\x20to\x20use\x20AI\x20for\x20operating\x20spreadsheets.\x20Get\x20your\x20API\x20key\x20from\x20our\x20console\x20to\x20get\x20started.','Network\x20connection\x20error.\x20Please\x20check\x20your\x20internet\x20connection','23912500zwzlSc','API\x20key\x20is\x20required','2638964uAYGaC','Connection\x20Failed','573189ChwcWi','Session\x20ID','Maximum\x20retry\x20attempts\x20exceeded.\x20Please\x20try\x20again\x20later','API\x20key\x20must\x20be\x20at\x20least\x2010\x20characters\x20long'];_0x2e7a=function(){return _0x28b306;};return _0x2e7a();}export{e as default};
1
+ (function(_0x2ade19,_0x4d4234){const _0x18ec7f=_0x3337,_0x2e39ad=_0x2ade19();while(!![]){try{const _0x4c2198=-parseInt(_0x18ec7f(0x8b))/0x1+parseInt(_0x18ec7f(0x8a))/0x2+parseInt(_0x18ec7f(0x8d))/0x3+-parseInt(_0x18ec7f(0x8e))/0x4+-parseInt(_0x18ec7f(0x8f))/0x5+parseInt(_0x18ec7f(0x8c))/0x6+parseInt(_0x18ec7f(0x89))/0x7*(parseInt(_0x18ec7f(0x88))/0x8);if(_0x4c2198===_0x4d4234)break;else _0x2e39ad['push'](_0x2e39ad['shift']());}catch(_0x4e5ac9){_0x2e39ad['push'](_0x2e39ad['shift']());}}}(_0x3092,0xd0b8f));import _0x50d785 from'./en-US.js';function _0x3337(_0x5b5367,_0x234f77){_0x5b5367=_0x5b5367-0x88;const _0x3092d8=_0x3092();let _0x3337c8=_0x3092d8[_0x5b5367];return _0x3337c8;}const t=_0x50d785;function _0x3092(){const _0x764e02=['861703eiCnoB','2384574qyuDun','1228647XMUmMq','4244604Xivhrw','6582710Hnbapi','93712iAQVYv','1575oPPJGP','1303390ZpHmDs'];_0x3092=function(){return _0x764e02;};return _0x3092();}export{t as default};