@xopcai/xopc 0.0.431 → 0.0.433

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 (186) hide show
  1. package/dist/browser-ext/manifest.json +1 -1
  2. package/dist/extensions/telegram/xopc.extension.json +1 -1
  3. package/dist/gateway/static/root/assets/{activity-store-WqnVruhY.js → activity-store-BpYGrRXw.js} +1 -1
  4. package/dist/gateway/static/root/assets/{agent-avatar-dicebear-CSiO9c2F.js → agent-avatar-dicebear-DTgOSv6G.js} +1 -1
  5. package/dist/gateway/static/root/assets/{agent-avatar-display-D-yds6wG.js → agent-avatar-display-BUH7ljEo.js} +2 -2
  6. package/dist/gateway/static/root/assets/{agent-defaults-settings-panel-_UT9C7bg.js → agent-defaults-settings-panel-B_FAikHA.js} +1 -1
  7. package/dist/gateway/static/root/assets/{agent-plugin-dialog-DVzYXsAy.js → agent-plugin-dialog-DPabZaSE.js} +1 -1
  8. package/dist/gateway/static/root/assets/{agents-Ds7K3D7T.js → agents-BAPYP1Ka.js} +3 -3
  9. package/dist/gateway/static/root/assets/{agents-admin-api-Bgv4lJ9Y.js → agents-admin-api-CXCAHNPj.js} +1 -1
  10. package/dist/gateway/static/root/assets/{api-Dv6Cn-Rs.js → api-DMbimMEi.js} +1 -1
  11. package/dist/gateway/static/root/assets/{api-C-9J9ghT.js → api-oIK4hYkJ.js} +1 -1
  12. package/dist/gateway/static/root/assets/{app-management-settings-panel-BXJrrjH5.js → app-management-settings-panel-BZ3Fy8ZR.js} +1 -1
  13. package/dist/gateway/static/root/assets/{appearance-settings-oYjAVulT.js → appearance-settings-DsRTj1by.js} +1 -1
  14. package/dist/gateway/static/root/assets/{apps-page-D95yzj-f.js → apps-page-D-n71lO1.js} +1 -1
  15. package/dist/gateway/static/root/assets/{archive-plugin-DBPu3xCJ.js → archive-plugin-Bg1VTieK.js} +1 -1
  16. package/dist/gateway/static/root/assets/{automation-api-DAou8Kji.js → automation-api-CLPsgcQN.js} +1 -1
  17. package/dist/gateway/static/root/assets/{automation-result-state-CA7LV098.js → automation-result-state-CKVnR4KG.js} +1 -1
  18. package/dist/gateway/static/root/assets/{automation-task-card-DIjI_Y1X.js → automation-task-card-D27Mw66U.js} +1 -1
  19. package/dist/gateway/static/root/assets/{automations-page-BQwSCkmd.js → automations-page-DGNTJ8lN.js} +1 -1
  20. package/dist/gateway/static/root/assets/{automations-workspace-BUFTTjBq.js → automations-workspace-DWDWy-SG.js} +2 -2
  21. package/dist/gateway/static/root/assets/{binary-plugins-D25P9ZxQ.js → binary-plugins-CuwSdCG5.js} +1 -1
  22. package/dist/gateway/static/root/assets/{block-editor-BI105p1U.js → block-editor-Dtl2BG3t.js} +1 -1
  23. package/dist/gateway/static/root/assets/{browser-automation-inputs-DhDRvWQE.js → browser-automation-inputs-uGK086ag.js} +1 -1
  24. package/dist/gateway/static/root/assets/{browser-automations-page-CCPi1Bvy.js → browser-automations-page-Da_edNNS.js} +1 -1
  25. package/dist/gateway/static/root/assets/{browser-control-api-BN4F-bM1.js → browser-control-api-k3OOX3bS.js} +1 -1
  26. package/dist/gateway/static/root/assets/{browser-settings-page-BZXUZpjp.js → browser-settings-page-C1bSw-Jq.js} +1 -1
  27. package/dist/gateway/static/root/assets/{capabilities-LC-yEQYo.js → capabilities-CoeuLRt6.js} +1 -1
  28. package/dist/gateway/static/root/assets/{capabilities-u2z_KFRt.js → capabilities-DlHPLld_.js} +1 -1
  29. package/dist/gateway/static/root/assets/{capabilities-page-B8UgQ4dD.js → capabilities-page-IcwojmJK.js} +2 -2
  30. package/dist/gateway/static/root/assets/{capabilities-settings-panel-Bxn8HtEO.js → capabilities-settings-panel-CtY-bGIi.js} +1 -1
  31. package/dist/gateway/static/root/assets/{channels-9Uaa-IN0.js → channels-Cn1MWBL_.js} +1 -1
  32. package/dist/gateway/static/root/assets/{chat-agents-api-Cffxfzi1.js → chat-agents-api-BB0biwc7.js} +1 -1
  33. package/dist/gateway/static/root/assets/{chat-chart-block-Bbk0b3TV.js → chat-chart-block-QSvjx4w6.js} +1 -1
  34. package/dist/gateway/static/root/assets/{chat-page-e-xCsrdS.js → chat-page-CwP4OMdW.js} +16 -16
  35. package/dist/gateway/static/root/assets/{chat-terminal-dock-CQMuG-Bz.js → chat-terminal-dock-Cd51G9eG.js} +1 -1
  36. package/dist/gateway/static/root/assets/{command-palette-api-BRxfFgGA.js → command-palette-api-CEG10uE-.js} +1 -1
  37. package/dist/gateway/static/root/assets/{composer-payload-handoff-_9L2A5AZ.js → composer-payload-handoff-Bogdq9Hy.js} +1 -1
  38. package/dist/gateway/static/root/assets/{computer-settings-page-BIHbjBVt.js → computer-settings-page-DyAlOzqY.js} +1 -1
  39. package/dist/gateway/static/root/assets/{connected-providers-grid-B7ktDgqt.js → connected-providers-grid-D0lXg22c.js} +1 -1
  40. package/dist/gateway/static/root/assets/{connector-service-page-BVMEg8n-.js → connector-service-page-k2rjyjrp.js} +1 -1
  41. package/dist/gateway/static/root/assets/{connectors-api-B07yoCzk.js → connectors-api-DtvB9Cjm.js} +1 -1
  42. package/dist/gateway/static/root/assets/{connectors-page-hPKaJUWY.js → connectors-page-DI_Q0CKz.js} +1 -1
  43. package/dist/gateway/static/root/assets/{date-picker-BvEnSGZK.js → date-picker-CAankdQw.js} +1 -1
  44. package/dist/gateway/static/root/assets/{desktop-pet-C1z9YDEg.js → desktop-pet-DjM73fir.js} +1 -1
  45. package/dist/gateway/static/root/assets/{desktop-pet-settings-CbbVb8GY.js → desktop-pet-settings-Rmh-GxHl.js} +1 -1
  46. package/dist/gateway/static/root/assets/{dev-view-store-38EmUIEC.js → dev-view-store-BgW2Riyk.js} +1 -1
  47. package/dist/gateway/static/root/assets/{device-pairing-wizard-Wb1EKiXA.js → device-pairing-wizard-UdzSpNa5.js} +1 -1
  48. package/dist/gateway/static/root/assets/{directory-picker-path-field-BvKDrKc4.js → directory-picker-path-field-Rkw3f7lG.js} +1 -1
  49. package/dist/gateway/static/root/assets/{discussion-annotation-sync-BfVzIwe2.js → discussion-annotation-sync-Dudoj_Fz.js} +1 -1
  50. package/dist/gateway/static/root/assets/{extension-debug-page-CB9Lu3Sq.js → extension-debug-page-DxIGAO23.js} +1 -1
  51. package/dist/gateway/static/root/assets/{extension-iframe-host-BzjrVAUR.js → extension-iframe-host-63KpX6IP.js} +1 -1
  52. package/dist/gateway/static/root/assets/{extension-marketplace-api-DigziAgd.js → extension-marketplace-api-yXNUkQDA.js} +1 -1
  53. package/dist/gateway/static/root/assets/{extension-page-DUa9MeaZ.js → extension-page-C811A_Ww.js} +1 -1
  54. package/dist/gateway/static/root/assets/{extension-provider-301x0rh-.js → extension-provider-C4jLFIgh.js} +1 -1
  55. package/dist/gateway/static/root/assets/{extension-settings-page-CP9ciZUI.js → extension-settings-page-WJSw5MT0.js} +1 -1
  56. package/dist/gateway/static/root/assets/{file-preview-surface-BaMGmCbw.js → file-preview-surface-zE9AcaHM.js} +1 -1
  57. package/dist/gateway/static/root/assets/{gateway-config-swr-BD4Bf8uu.js → gateway-config-swr-D6cc6W6E.js} +1 -1
  58. package/dist/gateway/static/root/assets/{gateway-realtime-CSd9VB7Z.js → gateway-realtime-BSRNLciy.js} +1 -1
  59. package/dist/gateway/static/root/assets/gateway-realtime-store-BFeFfApQ.js +1 -0
  60. package/dist/gateway/static/root/assets/{gateway-restart-CIUCTKYR.js → gateway-restart-Unun5hRL.js} +1 -1
  61. package/dist/gateway/static/root/assets/{gateway-settings-CCqF1uZv.js → gateway-settings-DP-DV-e5.js} +1 -1
  62. package/dist/gateway/static/root/assets/{gateway-startup-retry-BsU5k8oi.js → gateway-startup-retry-C8g666Ja.js} +1 -1
  63. package/dist/gateway/static/root/assets/{global-defaults-api-asOZQeM8.js → global-defaults-api-BObi-1ww.js} +1 -1
  64. package/dist/gateway/static/root/assets/{home-page-Bb_RC1O9.js → home-page-CIcs7Mzy.js} +2 -2
  65. package/dist/gateway/static/root/assets/{image-generation-api-CdwYgzhU.js → image-generation-api-C2SqYNyD.js} +1 -1
  66. package/dist/gateway/static/root/assets/{imports-page-CVnoGUyp.js → imports-page-C8ezUkOJ.js} +1 -1
  67. package/dist/gateway/static/root/assets/{index-BmUSsdwn.js → index-D1_PUrJf.js} +5 -5
  68. package/dist/gateway/static/root/assets/{install-connector-dialog-DXVOHMhS.js → install-connector-dialog-Cn4nRSyt.js} +1 -1
  69. package/dist/gateway/static/root/assets/{keyboard-shortcuts-settings-BCl90SrD.js → keyboard-shortcuts-settings-BRaY4-wA.js} +1 -1
  70. package/dist/gateway/static/root/assets/{local-app-workbench-page-CcJc9xLJ.js → local-app-workbench-page-BZtVcjF3.js} +1 -1
  71. package/dist/gateway/static/root/assets/{local-apps-page-CdAKoWfg.js → local-apps-page-MqP4EnJm.js} +1 -1
  72. package/dist/gateway/static/root/assets/{local-session-drafts-nRGeybku.js → local-session-drafts-DTq9776a.js} +1 -1
  73. package/dist/gateway/static/root/assets/{locale-store-B7y-RVe8.js → locale-store-B6OrWgY1.js} +1 -1
  74. package/dist/gateway/static/root/assets/{logs-page-McbSQwJI.js → logs-page-hkHBjblX.js} +1 -1
  75. package/dist/gateway/static/root/assets/{management-settings-BIR0BwNV.js → management-settings-DoX4eTM3.js} +1 -1
  76. package/dist/gateway/static/root/assets/{markdown-view-DFHa8rUg.js → markdown-view-DrhYZSmg.js} +1 -1
  77. package/dist/gateway/static/root/assets/{mcp-conversation-setup-page-Dwx4TuIr.js → mcp-conversation-setup-page-BEp5E6TD.js} +1 -1
  78. package/dist/gateway/static/root/assets/{media-plugins-BzzLV7wW.js → media-plugins-D987i9Gc.js} +1 -1
  79. package/dist/gateway/static/root/assets/messages-jwdBhfL9.js +3 -0
  80. package/dist/gateway/static/root/assets/{model-selector-YsCHu1Gn.js → model-selector-DXm4NS1_.js} +1 -1
  81. package/dist/gateway/static/root/assets/{models-hub-cache-BUapaPTN.js → models-hub-cache-BLcha5rx.js} +1 -1
  82. package/dist/gateway/static/root/assets/{note-detail-panel-CJ-dPovd.js → note-detail-panel-Cl851ivY.js} +3 -3
  83. package/dist/gateway/static/root/assets/note-image-lightbox-DGYRJS03.js +1 -0
  84. package/dist/gateway/static/root/assets/{notes-api-ulup1oFS.js → notes-api-Ddsf7FVg.js} +1 -1
  85. package/dist/gateway/static/root/assets/{notes-page-BaFNplIr.js → notes-page-DSwA1MU1.js} +1 -1
  86. package/dist/gateway/static/root/assets/{oauth-api-DINa08-z.js → oauth-api-CMmu4DzH.js} +1 -1
  87. package/dist/gateway/static/root/assets/{oauth-provider-connect-C0PVEHC2.js → oauth-provider-connect-BkhnftBq.js} +1 -1
  88. package/dist/gateway/static/root/assets/{page-context-capture-button-CGfR0dsc.js → page-context-capture-button-urhQBRaN.js} +1 -1
  89. package/dist/gateway/static/root/assets/{page-context-draft-DhRNxc0v.js → page-context-draft-BuNUerth.js} +1 -1
  90. package/dist/gateway/static/root/assets/page-header-store-CEn_kPsn.js +1 -0
  91. package/dist/gateway/static/root/assets/{personal-avatar-DiVFO2Aw.js → personal-avatar-B49ueeZO.js} +1 -1
  92. package/dist/gateway/static/root/assets/{personal-page-Cvd-v9kT.js → personal-page-f05ceuFn.js} +1 -1
  93. package/dist/gateway/static/root/assets/{personal-settings-panel-Ds4ntiqu.js → personal-settings-panel-DLQxzPYr.js} +1 -1
  94. package/dist/gateway/static/root/assets/{phone-dependencies-card-B3R6L5Qu.js → phone-dependencies-card-DjmC1Z5j.js} +1 -1
  95. package/dist/gateway/static/root/assets/{phone-model-connection-BieYnAJ5.js → phone-model-connection-BRjHSgYn.js} +1 -1
  96. package/dist/gateway/static/root/assets/{phone-model-picker-Bkex4Sre.js → phone-model-picker-DgIiWLhR.js} +1 -1
  97. package/dist/gateway/static/root/assets/{phone-settings-page-D8PuvEuJ.js → phone-settings-page-DCZGCL_z.js} +1 -1
  98. package/dist/gateway/static/root/assets/{phone-workspace-store-Cmes9gQ4.js → phone-workspace-store-DbqktZbO.js} +1 -1
  99. package/dist/gateway/static/root/assets/{plugin-details-dialog-DblFhnuC.js → plugin-details-dialog-D4tGKip4.js} +1 -1
  100. package/dist/gateway/static/root/assets/{preference-select-fields-D2-QfMN5.js → preference-select-fields-BZWqG7pu.js} +1 -1
  101. package/dist/gateway/static/root/assets/{product-automation-feedback-BzY3z8zu.js → product-automation-feedback-DDQUsag7.js} +1 -1
  102. package/dist/gateway/static/root/assets/{product-open-page-BKw6H0Mn.js → product-open-page-BkRP_HmA.js} +1 -1
  103. package/dist/gateway/static/root/assets/{product-preview-content-VcvxaO2S.js → product-preview-content-o2Y3VNE7.js} +1 -1
  104. package/dist/gateway/static/root/assets/{product-preview-modal-Ym6bomTW.js → product-preview-modal-7Ohx-7OR.js} +2 -2
  105. package/dist/gateway/static/root/assets/{project-detail-page-CFbXWvcd.js → project-detail-page-B2RsSHya.js} +1 -1
  106. package/dist/gateway/static/root/assets/{project-understanding-CrSkrJnM.js → project-understanding-BIMouiYX.js} +1 -1
  107. package/dist/gateway/static/root/assets/{projects-page-Cp91_KzA.js → projects-page-C9R5u3tF.js} +1 -1
  108. package/dist/gateway/static/root/assets/{providers-api-CBSC3jdu.js → providers-api-BOCkRZ7X.js} +1 -1
  109. package/dist/gateway/static/root/assets/{recording-upload-DBHAGKZj.js → recording-upload-C6muEHEO.js} +1 -1
  110. package/dist/gateway/static/root/assets/{registry-api-QZEjziDq.js → registry-api-Bl2guMRg.js} +1 -1
  111. package/dist/gateway/static/root/assets/{remote-access-hub-BdXxFQfH.js → remote-access-hub-BceSMbCs.js} +1 -1
  112. package/dist/gateway/static/root/assets/{resource-unavailable-BTNhcOHF.js → resource-unavailable-CUNbPkdj.js} +1 -1
  113. package/dist/gateway/static/root/assets/{route-preload-C-VRKwB1.js → route-preload-C1BKDjnu.js} +2 -2
  114. package/dist/gateway/static/root/assets/{runtime-tools-api-BDTUD8Rj.js → runtime-tools-api-LopLjgvu.js} +1 -1
  115. package/dist/gateway/static/root/assets/{runtime-tools-settings-panel-CYEzIrDf.js → runtime-tools-settings-panel-9HIPerDP.js} +1 -1
  116. package/dist/gateway/static/root/assets/{service-recommendation-list-CfeYH6lK.js → service-recommendation-list-CoMI6MB1.js} +1 -1
  117. package/dist/gateway/static/root/assets/{session-api-DVXLCZX2.js → session-api-Bfmlmn9F.js} +1 -1
  118. package/dist/gateway/static/root/assets/session-manager-X4UHOjjO.js +25 -0
  119. package/dist/gateway/static/root/assets/{sessions-page-C2CH-55n.js → sessions-page-BT0GdXdS.js} +1 -1
  120. package/dist/gateway/static/root/assets/settings-advanced-gate-Dk9c-Z5e.js +1 -0
  121. package/dist/gateway/static/root/assets/{settings-advanced-section-BmrbHgQa.js → settings-advanced-section-CEorDLUp.js} +1 -1
  122. package/dist/gateway/static/root/assets/{settings-mode-store-Bk_hzwPK.js → settings-mode-store-C2LZqBES.js} +1 -1
  123. package/dist/gateway/static/root/assets/{settings-page-B6vrcc6f.js → settings-page-C_Np_6qZ.js} +1 -1
  124. package/dist/gateway/static/root/assets/{settings-page-header-BLKI3_9N.js → settings-page-header-BAN34UQi.js} +1 -1
  125. package/dist/gateway/static/root/assets/{settings-page-layout-BqBVrkC9.js → settings-page-layout-B5TVFBV2.js} +1 -1
  126. package/dist/gateway/static/root/assets/{setup-interaction-page-BDPte58u.js → setup-interaction-page-BYvTJW3_.js} +1 -1
  127. package/dist/gateway/static/root/assets/{setup-status-panel-DEefuWo3.js → setup-status-panel-UY2dH-sK.js} +1 -1
  128. package/dist/gateway/static/root/assets/{share-link-dialog-C2LyeNzj.js → share-link-dialog-BMcXyzr2.js} +1 -1
  129. package/dist/gateway/static/root/assets/{share-preview-page-BFwEr7Ws.js → share-preview-page-UQ6eUM2_.js} +1 -1
  130. package/dist/gateway/static/root/assets/{shares-api-CTFkLQxq.js → shares-api-DOeDN6Tm.js} +1 -1
  131. package/dist/gateway/static/root/assets/{shares-settings-CpK3yhtc.js → shares-settings-W8XhuAoL.js} +1 -1
  132. package/dist/gateway/static/root/assets/{skill-api-DpicfA6o.js → skill-api-Do_c0d9n.js} +1 -1
  133. package/dist/gateway/static/root/assets/{skill-list-api-B8fegRLZ.js → skill-list-api-DpHaXI2l.js} +1 -1
  134. package/dist/gateway/static/root/assets/{skill-reload-api-VmC8ySUy.js → skill-reload-api-DDRd9IJ2.js} +1 -1
  135. package/dist/gateway/static/root/assets/{skills-page-BIWXS6Ki.js → skills-page-CaeJVKhO.js} +1 -1
  136. package/dist/gateway/static/root/assets/{system-settings-panel-BmoA92oX.js → system-settings-panel-DYWlWPJL.js} +1 -1
  137. package/dist/gateway/static/root/assets/{task-detail-page-CC3Rzqq9.js → task-detail-page-De0qD7xw.js} +1 -1
  138. package/dist/gateway/static/root/assets/{task-result-evidence-BV-6hBVU.js → task-result-evidence-CICR5K1t.js} +1 -1
  139. package/dist/gateway/static/root/assets/{terminal-panel-store-BGdKE9hU.js → terminal-panel-store-BbWUcQe7.js} +1 -1
  140. package/dist/gateway/static/root/assets/{theme-store-Dvv79Wb2.js → theme-store-TkG5mo0p.js} +1 -1
  141. package/dist/gateway/static/root/assets/{tracing-settings-page-B4uA4Pnz.js → tracing-settings-page-CYXEy4EG.js} +1 -1
  142. package/dist/gateway/static/root/assets/{tunnel-api-BurZtvqx.js → tunnel-api-DquDm6U2.js} +1 -1
  143. package/dist/gateway/static/root/assets/{understanding-activity-store-C1cLL8zq.js → understanding-activity-store-Ot3wZ3oQ.js} +1 -1
  144. package/dist/gateway/static/root/assets/{understanding-refresh-store-C3Lr_pjY.js → understanding-refresh-store-C5KYFMaC.js} +1 -1
  145. package/dist/gateway/static/root/assets/{usage-page-C91ZzLm9.js → usage-page-1xFO4smo.js} +1 -1
  146. package/dist/gateway/static/root/assets/{use-autosave-zkzRuUtx.js → use-autosave-HL8XRNR8.js} +1 -1
  147. package/dist/gateway/static/root/assets/{use-composer-attachments-CoiQAgjo.js → use-composer-attachments-XRlQBdNF.js} +1 -1
  148. package/dist/gateway/static/root/assets/{use-file-preview-expanded-DFzy6iVy.js → use-file-preview-expanded-CW956CXS.js} +2 -2
  149. package/dist/gateway/static/root/assets/{use-personal-profile-BB10h9ED.js → use-personal-profile-202s6tJt.js} +1 -1
  150. package/dist/gateway/static/root/assets/{use-workspace-tree-sF5DcONt.js → use-workspace-tree-CjydkmH1.js} +1 -1
  151. package/dist/gateway/static/root/assets/{user-model-page-WFnD5utO.js → user-model-page-OGPXx3pe.js} +1 -1
  152. package/dist/gateway/static/root/assets/{voice-api-key-field-Bqa4PeZx.js → voice-api-key-field-CxFu4MEA.js} +1 -1
  153. package/dist/gateway/static/root/assets/{voice-config-api-LNO2xXHk.js → voice-config-api-MHe5Pn-A.js} +1 -1
  154. package/dist/gateway/static/root/assets/{voice-input-shortcut-events-AzfhxBX7.js → voice-input-shortcut-events-B9xc1oK8.js} +1 -1
  155. package/dist/gateway/static/root/assets/{voice-transcribe-api-Cb8i6dLb.js → voice-transcribe-api-CVEcB6Pe.js} +1 -1
  156. package/dist/gateway/static/root/assets/{work-discovery-overlay-CdQUiV-a.js → work-discovery-overlay-C-JoAg2D.js} +1 -1
  157. package/dist/gateway/static/root/assets/{work-discovery-page-HcUloXxf.js → work-discovery-page-B5Kx29Ru.js} +1 -1
  158. package/dist/gateway/static/root/assets/{working-directory-picker-modal-Dv1HUipe.js → working-directory-picker-modal-DGp9cNzH.js} +1 -1
  159. package/dist/gateway/static/root/assets/{workspace-api-Am2ee4R6.js → workspace-api-HBXn8pL9.js} +2 -2
  160. package/dist/gateway/static/root/assets/workspace-editor-agent-store-msZa42fU.js +1 -0
  161. package/dist/gateway/static/root/assets/{workspace-file-preview-dialog-z5Q00v92.js → workspace-file-preview-dialog-3cpwSG2w.js} +1 -1
  162. package/dist/gateway/static/root/assets/{workspace-open-location-menu-4ONYaGy0.js → workspace-open-location-menu-D0VOFvuP.js} +1 -1
  163. package/dist/gateway/static/root/assets/{xopc-cloud-account-card-DimGN59n.js → xopc-cloud-account-card-BkdW2p3v.js} +1 -1
  164. package/dist/gateway/static/root/index.html +78 -78
  165. package/dist/package.js +1 -1
  166. package/dist/src/gateway/global-defaults-admin.js +1 -1
  167. package/dist/src/gateway/service.js +4 -4
  168. package/dist/src/home-intelligence/host.js +2 -2
  169. package/dist/src/phone/adb-driver.js +2 -2
  170. package/dist/src/phone/model-adapter.d.ts +2 -0
  171. package/dist/src/phone/model-adapter.js +10 -3
  172. package/dist/src/phone/reliability.js +24 -2
  173. package/dist/src/phone/runtime.js +6 -1
  174. package/dist/src/phone/ui-dump-binary.d.ts +1 -1
  175. package/dist/src/phone/ui-dump-binary.js +1 -1
  176. package/dist/src/session/client-history.d.ts +2 -0
  177. package/dist/src/session/client-history.js +3 -0
  178. package/dist/src/session/compact-history.js +1 -0
  179. package/package.json +1 -1
  180. package/dist/gateway/static/root/assets/gateway-realtime-store-Bxkv62qs.js +0 -1
  181. package/dist/gateway/static/root/assets/messages-DYDkJvXj.js +0 -3
  182. package/dist/gateway/static/root/assets/note-image-lightbox-ClPkeHe5.js +0 -1
  183. package/dist/gateway/static/root/assets/page-header-store-CoKMiYoi.js +0 -1
  184. package/dist/gateway/static/root/assets/session-manager-DjRWxXJG.js +0 -23
  185. package/dist/gateway/static/root/assets/settings-advanced-gate-BMHe9uwy.js +0 -1
  186. package/dist/gateway/static/root/assets/workspace-editor-agent-store-CqHcVFhS.js +0 -1
@@ -1 +1 @@
1
- import{i as e}from"./rolldown-runtime-aKtaBQYM.js";import{a as t,n,t as r}from"./vendor-react-BOUWij0V.js";import{f as i,u as a}from"./chunk-KS7C4IRE-CiwuuyV8.js";import{i as o,n as s,o as c}from"./locale-store-B7y-RVe8.js";import{t as l}from"./messages-DYDkJvXj.js";import{a as u,i as d,o as f,r as ee,s as p,t as m}from"./dist-BGTk37IG.js";import{t as h}from"./check-DUBLcKHA.js";import{t as g}from"./secret-input-Dryrns2s.js";import{t as te}from"./key-round-DWbpyU2U.js";import{t as _}from"./link-2-D_ZKYUW7.js";import{t as v}from"./loader-circle-CifKLtgG.js";import{t as y}from"./lock-keyhole-DEK5kH0u.js";import{t as b}from"./x-B_N4OPjy.js";import{t as x}from"./skeleton-BI5TyibZ.js";import{i as S}from"./vendor-swr-CdRzEUwF.js";import{t as C}from"./button-Cc4hUNTt.js";var w=n(),T=e(t(),1),E=r(),D={zh:{title:`连接服务`,secret:`访问密钥`,hint:`仅保存到凭据服务,不进入聊天或模型。`,invalidToken:`密钥未被接受,请核对后重新输入。`,submit:`保存并连接`,login:`继续登录`,waiting:`在服务页面完成授权,这里会自动继续。`,check:`重新检查`,checking:`正在验证连接`,cancel:`取消连接`,back:`返回对话`,close:`暂时关闭`,later:`稍后继续`,done:`完成`,failed:`暂时无法连接,请检查服务地址或权限后重试。`,expired:`请求已过期,请回到对话重新发起。`,cancelled:`此连接请求已取消。`,reload:`配置已保存。重启 Gateway 后,连接才能生效。`,details:`连接详情`,approve:`允许这次连接`,approval:`确认连接到这个服务`,shared:`连接将供此网关的助手使用,不会授予微信用户管理权限。`,identity:`来自微信私聊`,endpoint:`服务地址`,purpose:`要完成的事`,tokenDescription:`输入服务提供的访问密钥,即可继续原来的任务。`,accessDeniedToken:`服务拒绝了当前访问。若此服务需要 Token,请在这里输入;账号或服务权限也可能需要检查。`,connected:`已连接`,continuing:`正在原微信对话中继续处理,无需发送“继续”。`,delivered:`结果已发送到原微信对话。`,returnWeixin:`现在可以关闭此页,返回微信。`,closed:`返回微信即可继续对话`,reopen:`继续配置`,deliveryFailed:`连接已完成,结果暂未发送到微信。重发不会重新执行任务。`,retryDelivery:`重试发送结果`,secure:`安全连接`,loading:`正在准备连接`,checkingDescription:`正在检查服务和所需权限。`},en:{title:`Connect service`,secret:`Access key`,hint:`Saved to credential storage, never chat or the model.`,invalidToken:`This key was rejected. Check it and try again.`,submit:`Save and connect`,login:`Continue sign-in`,waiting:`Finish authorizing on the service page. This will continue automatically.`,check:`Check again`,checking:`Verifying connection`,cancel:`Cancel connection`,back:`Return to chat`,close:`Close for now`,later:`Continue later`,done:`Done`,failed:`Unable to connect. Check the service address or permissions and try again.`,expired:`This request expired. Return to chat to start again.`,cancelled:`This connection request was cancelled.`,reload:`Configuration is saved. Restart the Gateway to activate the connection.`,details:`Connection details`,approve:`Approve this connection`,approval:`Confirm this service connection`,shared:`The connection is shared with this Gateway’s assistants. It grants no administration rights to Weixin users.`,identity:`From a Weixin chat`,endpoint:`Service address`,purpose:`Your request`,tokenDescription:`Enter the access key from your service to continue your task.`,accessDeniedToken:`The service refused access. If it requires a Token, enter it here. Account or service permissions may also need attention.`,connected:`Connected`,continuing:`Continuing in the original Weixin chat. No follow-up message needed.`,delivered:`The result was sent to your original Weixin chat.`,returnWeixin:`You can close this page and return to Weixin.`,closed:`Return to Weixin to continue chatting`,reopen:`Continue setup`,deliveryFailed:`Connected, but the result could not be sent to Weixin. Resending will not run the task again.`,retryDelivery:`Retry result delivery`,secure:`Secure connection`,loading:`Preparing connection`,checkingDescription:`Checking the service and required permissions.`}};function O({setupId:e,onClose:t}){let n=s(e=>e.language),r=D[n],i=`/api/mcp/setup/${encodeURIComponent(e)}`,{data:a,error:_,mutate:w}=S(i,async e=>(await c(o(e))).payload,{refreshInterval:e=>e&&(e.returnChannel===`weixin`&&e.phase===`ready`&&![`delivered`,`failed`].includes(e.replyDelivery??``)||![`ready`,`cancelled`].includes(e.phase))?1e3:0}),[O,k]=(0,T.useState)(``),[A,j]=(0,T.useState)({}),[M,N]=(0,T.useState)(!1),[P,F]=(0,T.useState)(!1),I=(0,T.useRef)(``),L=(0,T.useRef)(null),R=async(e,t)=>{if(!(!a||M)){N(!0),F(!1);try{await c(o(i),{method:`POST`,body:JSON.stringify({action:e,expectedVersion:a.version,...t?{value:t}:{}})}),await w()}catch{F(!0),await w()}finally{N(!1)}}};(0,T.useEffect)(()=>{if(!a||M||a.expired||a.phase===`cancelled`)return;if(a.phase===`ready`&&!a.reloadRequired&&a.returnChannel!==`weixin`){t(a);return}if(P)return;let n=a.requiresRecheck||a.phase===`planned`||[`connected`,`error`,`cancelled`].includes(a.authState??``)?`advance`:a.phase===`oauth_required`?`authorize`:void 0,r=`${e}:${a.version}:${n}`;n&&I.current!==r&&(I.current=r,R(n))},[a,M,P,t,e]);let z=!!(a?.expired||a?.phase===`cancelled`),B=a?.secretFields?.length?a.secretFields:[{id:`token`,label:r.secret}],V=!!(O||Object.values(A).some(Boolean)),H=!!(a?.nextRetryAt&&a.nextRetryAt>Date.now()),U=B.every(e=>(e.id===`token`?O:A[e.id]??``).trim()),W=a?.phase===`ready`&&!a.reloadRequired&&!z,G=a?.phase===`approval_required`&&!z?a.approval:void 0,K=a?.phase===`approval_required`&&!z?a.planApproval:void 0,q=!!(G||K),J=a&&(a.phase===`token_required`||a.phase===`auth_unknown`&&a.canProvideToken||a.phase===`blocked`&&(a.canReplaceToken||a.canProvideToken))&&!a.requiresRecheck&&!z&&!a.reloadRequired,Y=a?.phase===`authorizing`&&!z&&!a.reloadRequired,X=W&&a?.returnChannel===`weixin`&&a.replyDelivery===`failed`,Z=(a?.phase===`blocked`||a?.phase===`auth_unknown`)&&!J&&!z,ne=a?.expired?r.expired:a?.phase===`cancelled`?r.cancelled:a?.reloadRequired?r.reload:W?X?r.deliveryFailed:a?.replyDelivery===`delivered`?r.delivered:r.continuing:q?r.approval:H?n===`zh`?`服务要求等待,将在 ${new Date(a.nextRetryAt).toLocaleTimeString()} 后有限重试。`:`Waiting until ${new Date(a.nextRetryAt).toLocaleTimeString()} before a bounded retry.`:a?.phase===`auth_unknown`?n===`zh`?`认证方式尚未确定。若服务提供 Token,可在此输入;如需 OAuth,请核实接入资料后重新检查。`:`Authentication is not yet determined. Enter a Token only if your service provides one; for OAuth, verify the integration guide and recheck.`:J?a.canProvideToken?r.accessDeniedToken:r.tokenDescription:Y?r.waiting:_||Z||P?r.failed:r.checkingDescription,Q=()=>{M||(k(``),j({}),t(a))},$=`min-h-12 w-full rounded-xl text-[15px]`,re=W?h:J?te:y;return(0,E.jsx)(m,{open:!0,onOpenChange:e=>{e||Q()},children:(0,E.jsxs)(f,{children:[(0,E.jsx)(u,{className:`fixed inset-0 z-[70] bg-scrim backdrop-blur-sm`}),(0,E.jsxs)(ee,{onOpenAutoFocus:e=>{e.preventDefault(),L.current?.focus()},onPointerDownOutside:e=>{(M||V)&&e.preventDefault()},onEscapeKeyDown:e=>{M&&e.preventDefault()},className:`fixed inset-x-0 bottom-0 z-[70] flex h-[min(36rem,calc(100dvh-1rem))] flex-col overflow-hidden rounded-t-3xl border border-edge bg-surface-overlay text-fg shadow-elevated sm:inset-x-auto sm:bottom-auto sm:left-1/2 sm:top-1/2 sm:h-[min(36rem,calc(100dvh-3rem))] sm:w-[28rem] sm:-translate-x-1/2 sm:-translate-y-1/2 sm:rounded-3xl`,children:[(0,E.jsxs)(`header`,{className:`relative shrink-0 px-6 pb-5 pt-8 text-center sm:px-8`,children:[(0,E.jsx)(C,{variant:`ghost`,className:`absolute right-2 top-2 size-11 rounded-full p-0`,"aria-label":r.close,disabled:M,onClick:Q,children:(0,E.jsx)(b,{className:`size-4`,"aria-hidden":!0})}),(0,E.jsx)(`div`,{className:`mx-auto mb-4 flex size-12 items-center justify-center rounded-2xl bg-surface-hover`,children:(0,E.jsx)(re,{className:`size-6 text-accent-fg`,strokeWidth:1.6,"aria-hidden":!0})}),(0,E.jsx)(p,{ref:L,tabIndex:-1,className:`break-words text-xl font-semibold tracking-tight focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent`,children:W?r.connected:a?.displayName||r.title}),a?(0,E.jsx)(`p`,{className:`mt-1 truncate text-[13px] text-fg-muted`,title:a.endpointOrigin,children:a.endpointOrigin}):null,(0,E.jsx)(d,{role:!J&&(_||P||Z||a?.expired||a?.reloadRequired)?`alert`:void 0,className:`mt-3 text-sm leading-relaxed text-fg-muted`,children:ne})]}),(0,E.jsxs)(`div`,{className:`min-h-0 flex-1 overflow-y-auto overscroll-contain px-6 pb-4 sm:px-8`,"aria-busy":M,children:[!a&&!_?(0,E.jsxs)(`div`,{role:`status`,"aria-label":r.loading,className:`space-y-3`,children:[(0,E.jsx)(x,{className:`h-12 w-full rounded-xl`}),(0,E.jsx)(x,{className:`h-4 w-3/4`})]}):null,G?(0,E.jsxs)(`section`,{className:`space-y-3`,children:[(0,E.jsxs)(`dl`,{className:`space-y-3 rounded-2xl bg-surface-base p-4 text-sm`,children:[(0,E.jsxs)(`div`,{children:[(0,E.jsx)(`dt`,{className:`mb-1 text-xs text-fg-muted`,children:r.identity}),(0,E.jsxs)(`dd`,{className:`break-all`,children:[G.accountId,` / `,G.peerId]})]}),(0,E.jsxs)(`div`,{children:[(0,E.jsx)(`dt`,{className:`mb-1 text-xs text-fg-muted`,children:r.endpoint}),(0,E.jsx)(`dd`,{className:`break-all`,children:G.endpoint})]}),(0,E.jsxs)(`div`,{children:[(0,E.jsx)(`dt`,{className:`mb-1 text-xs text-fg-muted`,children:r.purpose}),(0,E.jsx)(`dd`,{className:`break-words leading-relaxed`,children:G.purpose})]})]}),(0,E.jsx)(`p`,{className:`text-xs leading-relaxed text-fg-muted`,children:r.shared}),K?(0,E.jsxs)(`div`,{className:`space-y-2 rounded-xl bg-surface-base p-3 text-xs`,children:[(0,E.jsx)(`p`,{children:n===`zh`?`同时审阅本次来源与执行计划:`:`Also review this source and execution plan:`}),(0,E.jsx)(`pre`,{className:`whitespace-pre-wrap break-all`,children:JSON.stringify(K,null,2)})]}):null]}):K?(0,E.jsxs)(`section`,{className:`space-y-3 text-sm`,children:[(0,E.jsx)(`p`,{className:`break-all`,children:K.endpoint}),(0,E.jsx)(`p`,{children:K.purpose}),K.execution?(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(`p`,{children:n===`zh`?`将在 Gateway 主机运行以下程序,可能下载指定依赖,并按该主机的进程权限访问文件和网络。`:`This program runs on the Gateway host, may download the specified dependency and can access files and network with that process’s permissions.`}),(0,E.jsx)(`pre`,{className:`whitespace-pre-wrap break-all rounded-xl bg-surface-base p-3 text-xs`,children:JSON.stringify(K.execution,null,2)})]}):(0,E.jsx)(`p`,{children:n===`zh`?`来源归属尚未独立核实。请确认服务和以下资料来源后连接。`:`Publisher ownership has not been independently verified. Review the service and sources before connecting.`}),K.sources.map(e=>(0,E.jsx)(`a`,{href:e.url,target:`_blank`,rel:`noopener noreferrer`,className:`block break-all text-accent-fg`,children:e.url},e.url))]}):J?(0,E.jsxs)(`form`,{id:`mcp-setup-secret-form`,className:`space-y-3`,onSubmit:e=>{e.preventDefault();let t=a.secretFields?.length?Object.fromEntries(B.map(e=>[e.id,e.id===`token`?O:A[e.id]??``])):O;k(``),j({}),R(`token`,t)},children:[B.map(e=>(0,E.jsxs)(`div`,{className:`space-y-2`,children:[(0,E.jsx)(`label`,{htmlFor:`mcp-setup-${e.id}`,className:`block text-sm font-medium`,children:e.label}),(0,E.jsx)(g,{id:`mcp-setup-${e.id}`,value:e.id===`token`?O:A[e.id]??``,onChange:t=>{e.id===`token`?k(t):j(n=>({...n,[e.id]:t})),F(!1)},disabled:M||H,autoComplete:`off`,hideCopy:!0,className:`[&_button]:size-11 [&_button]:p-3`,ariaDescribedBy:`mcp-secret-hint`,ariaInvalid:a.errorCode===`credential_rejected`||P,inputClassName:`min-h-12 rounded-xl pr-14 text-base`,labels:l(n).connectorsSettings.secretInputLabels})]},e.id)),a.helpUrl?(0,E.jsx)(`a`,{href:a.helpUrl,target:`_blank`,rel:`noopener noreferrer`,className:`text-sm text-accent-fg`,children:n===`zh`?`获取访问密钥`:`Get an access key`}):null,(0,E.jsxs)(`p`,{id:`mcp-secret-hint`,className:`flex items-start gap-1.5 text-xs leading-relaxed text-fg-muted`,children:[(0,E.jsx)(y,{className:`mt-0.5 size-3.5 shrink-0`,"aria-hidden":!0}),r.hint]}),a.errorCode===`credential_rejected`||P||a.phase===`blocked`&&!a.canProvideToken?(0,E.jsx)(`p`,{role:`alert`,className:`text-sm text-danger`,children:a.errorCode===`credential_rejected`?r.invalidToken:r.failed}):null]}):W&&a?.returnChannel===`weixin`?(0,E.jsx)(`p`,{role:`status`,className:`py-5 text-center text-sm text-fg-muted`,children:r.returnWeixin}):_||P||Z||a?.expired||a?.reloadRequired?null:!z&&!Y?(0,E.jsxs)(`div`,{role:`status`,"aria-label":r.checking,className:`space-y-3`,children:[(0,E.jsx)(x,{className:`h-12 w-full rounded-xl`}),(0,E.jsx)(x,{className:`h-4 w-2/3`})]}):null,a&&!z&&!W?(0,E.jsxs)(`details`,{className:`mt-5 text-sm text-fg-muted`,children:[(0,E.jsx)(`summary`,{className:`min-h-11 cursor-pointer py-3 text-xs focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent`,children:r.details}),(0,E.jsxs)(`div`,{className:`space-y-2 pb-2`,children:[G?null:(0,E.jsx)(`p`,{className:`break-all text-xs`,children:a.endpointOrigin}),a.phase===`approval_required`?null:(0,E.jsx)(C,{variant:`ghost`,className:`min-h-11 w-full justify-start text-xs`,disabled:M||H,onClick:()=>{I.current=``,R(`advance`)},children:r.check}),(0,E.jsx)(C,{variant:`ghost`,className:`min-h-11 w-full justify-start text-xs`,disabled:M,onClick:()=>void R(`cancel`),children:r.cancel})]})]}):null]}),(0,E.jsxs)(`footer`,{className:`shrink-0 space-y-2 border-t border-edge/60 px-6 pt-4 pb-[max(1.25rem,env(safe-area-inset-bottom))] sm:px-8`,children:[q?(0,E.jsxs)(C,{variant:`primary`,className:$,disabled:M,onClick:()=>void R(`approve`),children:[M?(0,E.jsx)(v,{className:`size-4 animate-spin motion-reduce:animate-none`,"aria-hidden":!0}):null,r.approve]}):J?(0,E.jsxs)(C,{variant:`primary`,className:$,form:`mcp-setup-secret-form`,type:`submit`,disabled:M||!U,children:[M?(0,E.jsx)(v,{className:`size-4 animate-spin motion-reduce:animate-none`,"aria-hidden":!0}):null,M?r.checking:r.submit]}):Y&&a?.authorizationUrl?(0,E.jsx)(C,{asChild:!0,variant:`primary`,className:$,children:(0,E.jsx)(`a`,{href:a.authorizationUrl,target:`_blank`,rel:`noopener noreferrer`,children:r.login})}):X?(0,E.jsx)(C,{variant:`primary`,className:$,disabled:M,onClick:()=>void R(`retry_delivery`),children:r.retryDelivery}):Z||a?.reloadRequired||_?(0,E.jsx)(C,{variant:`primary`,className:$,disabled:M||H,onClick:()=>{I.current=``,a?R(`advance`):w()},children:r.check}):W||z?(0,E.jsx)(C,{variant:`primary`,className:$,onClick:Q,children:a?.returnChannel===`weixin`?r.done:r.back}):null,!W&&!z?(0,E.jsx)(C,{variant:`ghost`,className:`min-h-11 w-full rounded-xl text-sm`,disabled:M,onClick:Q,children:r.later}):null]})]})]})})}function k(){let e=(0,w.c)(8),{setupId:t}=i(),n=t===void 0?``:t,r=a(),o=s(A),[c,l]=(0,T.useState)(!1),u;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(u=()=>l(!1),e[0]=u):u=e[0];let d;e[1]===n?d=e[2]:(d=[n],e[1]=n,e[2]=d),(0,T.useEffect)(u,d);let f;return e[3]!==c||e[4]!==o||e[5]!==r||e[6]!==n?(f=(0,E.jsx)(`main`,{className:`flex h-full min-h-0 items-center justify-center bg-surface-base p-6`,children:c?(0,E.jsxs)(`section`,{className:`max-w-xs space-y-4 text-center`,children:[(0,E.jsx)(_,{className:`mx-auto size-6 text-fg-muted`,"aria-hidden":!0}),(0,E.jsx)(`h1`,{className:`text-lg font-medium text-fg`,children:D[o].closed}),(0,E.jsx)(C,{onClick:()=>l(!1),children:D[o].reopen})]}):(0,E.jsx)(O,{setupId:n,onClose:e=>{e?.returnChannel===`weixin`?l(!0):r(e?`/chat/${e.conversationId}`:`/chat`,{replace:!0})}})}),e[3]=c,e[4]=o,e[5]=r,e[6]=n,e[7]=f):f=e[7],f}function A(e){return e.language}export{O as McpConversationSetupDialog,k as McpConversationSetupPage};
1
+ import{i as e}from"./rolldown-runtime-aKtaBQYM.js";import{a as t,n,t as r}from"./vendor-react-BOUWij0V.js";import{f as i,u as a}from"./chunk-KS7C4IRE-CiwuuyV8.js";import{i as o,n as s,o as c}from"./locale-store-B6OrWgY1.js";import{t as l}from"./messages-jwdBhfL9.js";import{a as u,i as d,o as f,r as ee,s as p,t as m}from"./dist-BGTk37IG.js";import{t as h}from"./check-DUBLcKHA.js";import{t as g}from"./secret-input-Dryrns2s.js";import{t as te}from"./key-round-DWbpyU2U.js";import{t as _}from"./link-2-D_ZKYUW7.js";import{t as v}from"./loader-circle-CifKLtgG.js";import{t as y}from"./lock-keyhole-DEK5kH0u.js";import{t as b}from"./x-B_N4OPjy.js";import{t as x}from"./skeleton-BI5TyibZ.js";import{i as S}from"./vendor-swr-CdRzEUwF.js";import{t as C}from"./button-Cc4hUNTt.js";var w=n(),T=e(t(),1),E=r(),D={zh:{title:`连接服务`,secret:`访问密钥`,hint:`仅保存到凭据服务,不进入聊天或模型。`,invalidToken:`密钥未被接受,请核对后重新输入。`,submit:`保存并连接`,login:`继续登录`,waiting:`在服务页面完成授权,这里会自动继续。`,check:`重新检查`,checking:`正在验证连接`,cancel:`取消连接`,back:`返回对话`,close:`暂时关闭`,later:`稍后继续`,done:`完成`,failed:`暂时无法连接,请检查服务地址或权限后重试。`,expired:`请求已过期,请回到对话重新发起。`,cancelled:`此连接请求已取消。`,reload:`配置已保存。重启 Gateway 后,连接才能生效。`,details:`连接详情`,approve:`允许这次连接`,approval:`确认连接到这个服务`,shared:`连接将供此网关的助手使用,不会授予微信用户管理权限。`,identity:`来自微信私聊`,endpoint:`服务地址`,purpose:`要完成的事`,tokenDescription:`输入服务提供的访问密钥,即可继续原来的任务。`,accessDeniedToken:`服务拒绝了当前访问。若此服务需要 Token,请在这里输入;账号或服务权限也可能需要检查。`,connected:`已连接`,continuing:`正在原微信对话中继续处理,无需发送“继续”。`,delivered:`结果已发送到原微信对话。`,returnWeixin:`现在可以关闭此页,返回微信。`,closed:`返回微信即可继续对话`,reopen:`继续配置`,deliveryFailed:`连接已完成,结果暂未发送到微信。重发不会重新执行任务。`,retryDelivery:`重试发送结果`,secure:`安全连接`,loading:`正在准备连接`,checkingDescription:`正在检查服务和所需权限。`},en:{title:`Connect service`,secret:`Access key`,hint:`Saved to credential storage, never chat or the model.`,invalidToken:`This key was rejected. Check it and try again.`,submit:`Save and connect`,login:`Continue sign-in`,waiting:`Finish authorizing on the service page. This will continue automatically.`,check:`Check again`,checking:`Verifying connection`,cancel:`Cancel connection`,back:`Return to chat`,close:`Close for now`,later:`Continue later`,done:`Done`,failed:`Unable to connect. Check the service address or permissions and try again.`,expired:`This request expired. Return to chat to start again.`,cancelled:`This connection request was cancelled.`,reload:`Configuration is saved. Restart the Gateway to activate the connection.`,details:`Connection details`,approve:`Approve this connection`,approval:`Confirm this service connection`,shared:`The connection is shared with this Gateway’s assistants. It grants no administration rights to Weixin users.`,identity:`From a Weixin chat`,endpoint:`Service address`,purpose:`Your request`,tokenDescription:`Enter the access key from your service to continue your task.`,accessDeniedToken:`The service refused access. If it requires a Token, enter it here. Account or service permissions may also need attention.`,connected:`Connected`,continuing:`Continuing in the original Weixin chat. No follow-up message needed.`,delivered:`The result was sent to your original Weixin chat.`,returnWeixin:`You can close this page and return to Weixin.`,closed:`Return to Weixin to continue chatting`,reopen:`Continue setup`,deliveryFailed:`Connected, but the result could not be sent to Weixin. Resending will not run the task again.`,retryDelivery:`Retry result delivery`,secure:`Secure connection`,loading:`Preparing connection`,checkingDescription:`Checking the service and required permissions.`}};function O({setupId:e,onClose:t}){let n=s(e=>e.language),r=D[n],i=`/api/mcp/setup/${encodeURIComponent(e)}`,{data:a,error:_,mutate:w}=S(i,async e=>(await c(o(e))).payload,{refreshInterval:e=>e&&(e.returnChannel===`weixin`&&e.phase===`ready`&&![`delivered`,`failed`].includes(e.replyDelivery??``)||![`ready`,`cancelled`].includes(e.phase))?1e3:0}),[O,k]=(0,T.useState)(``),[A,j]=(0,T.useState)({}),[M,N]=(0,T.useState)(!1),[P,F]=(0,T.useState)(!1),I=(0,T.useRef)(``),L=(0,T.useRef)(null),R=async(e,t)=>{if(!(!a||M)){N(!0),F(!1);try{await c(o(i),{method:`POST`,body:JSON.stringify({action:e,expectedVersion:a.version,...t?{value:t}:{}})}),await w()}catch{F(!0),await w()}finally{N(!1)}}};(0,T.useEffect)(()=>{if(!a||M||a.expired||a.phase===`cancelled`)return;if(a.phase===`ready`&&!a.reloadRequired&&a.returnChannel!==`weixin`){t(a);return}if(P)return;let n=a.requiresRecheck||a.phase===`planned`||[`connected`,`error`,`cancelled`].includes(a.authState??``)?`advance`:a.phase===`oauth_required`?`authorize`:void 0,r=`${e}:${a.version}:${n}`;n&&I.current!==r&&(I.current=r,R(n))},[a,M,P,t,e]);let z=!!(a?.expired||a?.phase===`cancelled`),B=a?.secretFields?.length?a.secretFields:[{id:`token`,label:r.secret}],V=!!(O||Object.values(A).some(Boolean)),H=!!(a?.nextRetryAt&&a.nextRetryAt>Date.now()),U=B.every(e=>(e.id===`token`?O:A[e.id]??``).trim()),W=a?.phase===`ready`&&!a.reloadRequired&&!z,G=a?.phase===`approval_required`&&!z?a.approval:void 0,K=a?.phase===`approval_required`&&!z?a.planApproval:void 0,q=!!(G||K),J=a&&(a.phase===`token_required`||a.phase===`auth_unknown`&&a.canProvideToken||a.phase===`blocked`&&(a.canReplaceToken||a.canProvideToken))&&!a.requiresRecheck&&!z&&!a.reloadRequired,Y=a?.phase===`authorizing`&&!z&&!a.reloadRequired,X=W&&a?.returnChannel===`weixin`&&a.replyDelivery===`failed`,Z=(a?.phase===`blocked`||a?.phase===`auth_unknown`)&&!J&&!z,ne=a?.expired?r.expired:a?.phase===`cancelled`?r.cancelled:a?.reloadRequired?r.reload:W?X?r.deliveryFailed:a?.replyDelivery===`delivered`?r.delivered:r.continuing:q?r.approval:H?n===`zh`?`服务要求等待,将在 ${new Date(a.nextRetryAt).toLocaleTimeString()} 后有限重试。`:`Waiting until ${new Date(a.nextRetryAt).toLocaleTimeString()} before a bounded retry.`:a?.phase===`auth_unknown`?n===`zh`?`认证方式尚未确定。若服务提供 Token,可在此输入;如需 OAuth,请核实接入资料后重新检查。`:`Authentication is not yet determined. Enter a Token only if your service provides one; for OAuth, verify the integration guide and recheck.`:J?a.canProvideToken?r.accessDeniedToken:r.tokenDescription:Y?r.waiting:_||Z||P?r.failed:r.checkingDescription,Q=()=>{M||(k(``),j({}),t(a))},$=`min-h-12 w-full rounded-xl text-[15px]`,re=W?h:J?te:y;return(0,E.jsx)(m,{open:!0,onOpenChange:e=>{e||Q()},children:(0,E.jsxs)(f,{children:[(0,E.jsx)(u,{className:`fixed inset-0 z-[70] bg-scrim backdrop-blur-sm`}),(0,E.jsxs)(ee,{onOpenAutoFocus:e=>{e.preventDefault(),L.current?.focus()},onPointerDownOutside:e=>{(M||V)&&e.preventDefault()},onEscapeKeyDown:e=>{M&&e.preventDefault()},className:`fixed inset-x-0 bottom-0 z-[70] flex h-[min(36rem,calc(100dvh-1rem))] flex-col overflow-hidden rounded-t-3xl border border-edge bg-surface-overlay text-fg shadow-elevated sm:inset-x-auto sm:bottom-auto sm:left-1/2 sm:top-1/2 sm:h-[min(36rem,calc(100dvh-3rem))] sm:w-[28rem] sm:-translate-x-1/2 sm:-translate-y-1/2 sm:rounded-3xl`,children:[(0,E.jsxs)(`header`,{className:`relative shrink-0 px-6 pb-5 pt-8 text-center sm:px-8`,children:[(0,E.jsx)(C,{variant:`ghost`,className:`absolute right-2 top-2 size-11 rounded-full p-0`,"aria-label":r.close,disabled:M,onClick:Q,children:(0,E.jsx)(b,{className:`size-4`,"aria-hidden":!0})}),(0,E.jsx)(`div`,{className:`mx-auto mb-4 flex size-12 items-center justify-center rounded-2xl bg-surface-hover`,children:(0,E.jsx)(re,{className:`size-6 text-accent-fg`,strokeWidth:1.6,"aria-hidden":!0})}),(0,E.jsx)(p,{ref:L,tabIndex:-1,className:`break-words text-xl font-semibold tracking-tight focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent`,children:W?r.connected:a?.displayName||r.title}),a?(0,E.jsx)(`p`,{className:`mt-1 truncate text-[13px] text-fg-muted`,title:a.endpointOrigin,children:a.endpointOrigin}):null,(0,E.jsx)(d,{role:!J&&(_||P||Z||a?.expired||a?.reloadRequired)?`alert`:void 0,className:`mt-3 text-sm leading-relaxed text-fg-muted`,children:ne})]}),(0,E.jsxs)(`div`,{className:`min-h-0 flex-1 overflow-y-auto overscroll-contain px-6 pb-4 sm:px-8`,"aria-busy":M,children:[!a&&!_?(0,E.jsxs)(`div`,{role:`status`,"aria-label":r.loading,className:`space-y-3`,children:[(0,E.jsx)(x,{className:`h-12 w-full rounded-xl`}),(0,E.jsx)(x,{className:`h-4 w-3/4`})]}):null,G?(0,E.jsxs)(`section`,{className:`space-y-3`,children:[(0,E.jsxs)(`dl`,{className:`space-y-3 rounded-2xl bg-surface-base p-4 text-sm`,children:[(0,E.jsxs)(`div`,{children:[(0,E.jsx)(`dt`,{className:`mb-1 text-xs text-fg-muted`,children:r.identity}),(0,E.jsxs)(`dd`,{className:`break-all`,children:[G.accountId,` / `,G.peerId]})]}),(0,E.jsxs)(`div`,{children:[(0,E.jsx)(`dt`,{className:`mb-1 text-xs text-fg-muted`,children:r.endpoint}),(0,E.jsx)(`dd`,{className:`break-all`,children:G.endpoint})]}),(0,E.jsxs)(`div`,{children:[(0,E.jsx)(`dt`,{className:`mb-1 text-xs text-fg-muted`,children:r.purpose}),(0,E.jsx)(`dd`,{className:`break-words leading-relaxed`,children:G.purpose})]})]}),(0,E.jsx)(`p`,{className:`text-xs leading-relaxed text-fg-muted`,children:r.shared}),K?(0,E.jsxs)(`div`,{className:`space-y-2 rounded-xl bg-surface-base p-3 text-xs`,children:[(0,E.jsx)(`p`,{children:n===`zh`?`同时审阅本次来源与执行计划:`:`Also review this source and execution plan:`}),(0,E.jsx)(`pre`,{className:`whitespace-pre-wrap break-all`,children:JSON.stringify(K,null,2)})]}):null]}):K?(0,E.jsxs)(`section`,{className:`space-y-3 text-sm`,children:[(0,E.jsx)(`p`,{className:`break-all`,children:K.endpoint}),(0,E.jsx)(`p`,{children:K.purpose}),K.execution?(0,E.jsxs)(E.Fragment,{children:[(0,E.jsx)(`p`,{children:n===`zh`?`将在 Gateway 主机运行以下程序,可能下载指定依赖,并按该主机的进程权限访问文件和网络。`:`This program runs on the Gateway host, may download the specified dependency and can access files and network with that process’s permissions.`}),(0,E.jsx)(`pre`,{className:`whitespace-pre-wrap break-all rounded-xl bg-surface-base p-3 text-xs`,children:JSON.stringify(K.execution,null,2)})]}):(0,E.jsx)(`p`,{children:n===`zh`?`来源归属尚未独立核实。请确认服务和以下资料来源后连接。`:`Publisher ownership has not been independently verified. Review the service and sources before connecting.`}),K.sources.map(e=>(0,E.jsx)(`a`,{href:e.url,target:`_blank`,rel:`noopener noreferrer`,className:`block break-all text-accent-fg`,children:e.url},e.url))]}):J?(0,E.jsxs)(`form`,{id:`mcp-setup-secret-form`,className:`space-y-3`,onSubmit:e=>{e.preventDefault();let t=a.secretFields?.length?Object.fromEntries(B.map(e=>[e.id,e.id===`token`?O:A[e.id]??``])):O;k(``),j({}),R(`token`,t)},children:[B.map(e=>(0,E.jsxs)(`div`,{className:`space-y-2`,children:[(0,E.jsx)(`label`,{htmlFor:`mcp-setup-${e.id}`,className:`block text-sm font-medium`,children:e.label}),(0,E.jsx)(g,{id:`mcp-setup-${e.id}`,value:e.id===`token`?O:A[e.id]??``,onChange:t=>{e.id===`token`?k(t):j(n=>({...n,[e.id]:t})),F(!1)},disabled:M||H,autoComplete:`off`,hideCopy:!0,className:`[&_button]:size-11 [&_button]:p-3`,ariaDescribedBy:`mcp-secret-hint`,ariaInvalid:a.errorCode===`credential_rejected`||P,inputClassName:`min-h-12 rounded-xl pr-14 text-base`,labels:l(n).connectorsSettings.secretInputLabels})]},e.id)),a.helpUrl?(0,E.jsx)(`a`,{href:a.helpUrl,target:`_blank`,rel:`noopener noreferrer`,className:`text-sm text-accent-fg`,children:n===`zh`?`获取访问密钥`:`Get an access key`}):null,(0,E.jsxs)(`p`,{id:`mcp-secret-hint`,className:`flex items-start gap-1.5 text-xs leading-relaxed text-fg-muted`,children:[(0,E.jsx)(y,{className:`mt-0.5 size-3.5 shrink-0`,"aria-hidden":!0}),r.hint]}),a.errorCode===`credential_rejected`||P||a.phase===`blocked`&&!a.canProvideToken?(0,E.jsx)(`p`,{role:`alert`,className:`text-sm text-danger`,children:a.errorCode===`credential_rejected`?r.invalidToken:r.failed}):null]}):W&&a?.returnChannel===`weixin`?(0,E.jsx)(`p`,{role:`status`,className:`py-5 text-center text-sm text-fg-muted`,children:r.returnWeixin}):_||P||Z||a?.expired||a?.reloadRequired?null:!z&&!Y?(0,E.jsxs)(`div`,{role:`status`,"aria-label":r.checking,className:`space-y-3`,children:[(0,E.jsx)(x,{className:`h-12 w-full rounded-xl`}),(0,E.jsx)(x,{className:`h-4 w-2/3`})]}):null,a&&!z&&!W?(0,E.jsxs)(`details`,{className:`mt-5 text-sm text-fg-muted`,children:[(0,E.jsx)(`summary`,{className:`min-h-11 cursor-pointer py-3 text-xs focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent`,children:r.details}),(0,E.jsxs)(`div`,{className:`space-y-2 pb-2`,children:[G?null:(0,E.jsx)(`p`,{className:`break-all text-xs`,children:a.endpointOrigin}),a.phase===`approval_required`?null:(0,E.jsx)(C,{variant:`ghost`,className:`min-h-11 w-full justify-start text-xs`,disabled:M||H,onClick:()=>{I.current=``,R(`advance`)},children:r.check}),(0,E.jsx)(C,{variant:`ghost`,className:`min-h-11 w-full justify-start text-xs`,disabled:M,onClick:()=>void R(`cancel`),children:r.cancel})]})]}):null]}),(0,E.jsxs)(`footer`,{className:`shrink-0 space-y-2 border-t border-edge/60 px-6 pt-4 pb-[max(1.25rem,env(safe-area-inset-bottom))] sm:px-8`,children:[q?(0,E.jsxs)(C,{variant:`primary`,className:$,disabled:M,onClick:()=>void R(`approve`),children:[M?(0,E.jsx)(v,{className:`size-4 animate-spin motion-reduce:animate-none`,"aria-hidden":!0}):null,r.approve]}):J?(0,E.jsxs)(C,{variant:`primary`,className:$,form:`mcp-setup-secret-form`,type:`submit`,disabled:M||!U,children:[M?(0,E.jsx)(v,{className:`size-4 animate-spin motion-reduce:animate-none`,"aria-hidden":!0}):null,M?r.checking:r.submit]}):Y&&a?.authorizationUrl?(0,E.jsx)(C,{asChild:!0,variant:`primary`,className:$,children:(0,E.jsx)(`a`,{href:a.authorizationUrl,target:`_blank`,rel:`noopener noreferrer`,children:r.login})}):X?(0,E.jsx)(C,{variant:`primary`,className:$,disabled:M,onClick:()=>void R(`retry_delivery`),children:r.retryDelivery}):Z||a?.reloadRequired||_?(0,E.jsx)(C,{variant:`primary`,className:$,disabled:M||H,onClick:()=>{I.current=``,a?R(`advance`):w()},children:r.check}):W||z?(0,E.jsx)(C,{variant:`primary`,className:$,onClick:Q,children:a?.returnChannel===`weixin`?r.done:r.back}):null,!W&&!z?(0,E.jsx)(C,{variant:`ghost`,className:`min-h-11 w-full rounded-xl text-sm`,disabled:M,onClick:Q,children:r.later}):null]})]})]})})}function k(){let e=(0,w.c)(8),{setupId:t}=i(),n=t===void 0?``:t,r=a(),o=s(A),[c,l]=(0,T.useState)(!1),u;e[0]===Symbol.for(`react.memo_cache_sentinel`)?(u=()=>l(!1),e[0]=u):u=e[0];let d;e[1]===n?d=e[2]:(d=[n],e[1]=n,e[2]=d),(0,T.useEffect)(u,d);let f;return e[3]!==c||e[4]!==o||e[5]!==r||e[6]!==n?(f=(0,E.jsx)(`main`,{className:`flex h-full min-h-0 items-center justify-center bg-surface-base p-6`,children:c?(0,E.jsxs)(`section`,{className:`max-w-xs space-y-4 text-center`,children:[(0,E.jsx)(_,{className:`mx-auto size-6 text-fg-muted`,"aria-hidden":!0}),(0,E.jsx)(`h1`,{className:`text-lg font-medium text-fg`,children:D[o].closed}),(0,E.jsx)(C,{onClick:()=>l(!1),children:D[o].reopen})]}):(0,E.jsx)(O,{setupId:n,onClose:e=>{e?.returnChannel===`weixin`?l(!0):r(e?`/chat/${e.conversationId}`:`/chat`,{replace:!0})}})}),e[3]=c,e[4]=o,e[5]=r,e[6]=n,e[7]=f):f=e[7],f}function A(e){return e.language}export{O as McpConversationSetupDialog,k as McpConversationSetupPage};
@@ -1 +1 @@
1
- import"./rolldown-runtime-aKtaBQYM.js";import{a as e,n as t,t as n}from"./vendor-react-BOUWij0V.js";import{t as r}from"./messages-DYDkJvXj.js";import{a as i}from"./attachment-utils-core-BIOUBrpT.js";import{t as a}from"./preview-open-alternatives-CY_hjK4b.js";import{t as o}from"./use-blob-object-url-D4BFuzZB.js";var s=t();e();var c=n();function l(e){let t=(0,s.c)(2),n;return t[0]===e?n=t[1]:(n=(0,c.jsx)(d,{props:e,kind:`audio`}),t[0]=e,t[1]=n),n}function u(e){let t=(0,s.c)(2),n;return t[0]===e?n=t[1]:(n=(0,c.jsx)(d,{props:e,kind:`video`}),t[0]=e,t[1]=n),n}function d(e){let t=(0,s.c)(8),{props:n,kind:r}=e,a;bb0:{if(!n.binaryBuffer){a=null;break bb0}let e;if(t[0]!==r||t[1]!==n.binaryBuffer||t[2]!==n.descriptor.fileName||t[3]!==n.descriptor.mimeType){let a=i(n.descriptor.fileName)??n.descriptor.mimeType;e=new Blob([n.binaryBuffer],{type:a||`${r}/*`}),t[0]=r,t[1]=n.binaryBuffer,t[2]=n.descriptor.fileName,t[3]=n.descriptor.mimeType,t[4]=e}else e=t[4];a=e}let l=o(a);if(!l)return null;let u;return t[5]!==r||t[6]!==l?(u=(0,c.jsx)(`div`,{className:`flex min-h-0 flex-1 items-center justify-center overflow-auto bg-surface-base p-4 dark:bg-surface-hover/20`,children:r===`audio`?(0,c.jsx)(`audio`,{src:l,controls:!0,className:`w-full max-w-2xl`}):(0,c.jsx)(`video`,{src:l,controls:!0,playsInline:!0,className:`max-h-full max-w-full rounded-md bg-black`})}),t[5]=r,t[6]=l,t[7]=u):u=t[7],u}function f(e){let t=(0,s.c)(12),n;t[0]===e.language?n=t[1]:(n=r(e.language),t[0]=e.language,t[1]=n);let i=n,o=e.descriptor.context===`workspace`,l=o?`${i.workspace.cannotPreviewType} ${i.workspace.openElsewhereHint}`:i.chat.attachmentPreviewOpenElsewhereHint,u=o?i.workspace.openSystemApp:void 0,d=o?i.workspace.chooseApp:void 0,f;return t[2]!==i.chat.attachmentPreviewDownloadFull||t[3]!==e.actions.canChooseOpenWithApp||t[4]!==e.actions.canOpenWithSystemApp||t[5]!==e.actions.onChooseOpenWithApp||t[6]!==e.actions.onDownload||t[7]!==e.actions.onOpenWithSystemApp||t[8]!==l||t[9]!==u||t[10]!==d?(f=(0,c.jsx)(`div`,{className:`flex min-h-0 flex-1 flex-col gap-3 overflow-auto p-4`,children:(0,c.jsx)(a,{message:l,downloadLabel:i.chat.attachmentPreviewDownloadFull,onDownload:e.actions.onDownload,openSystemLabel:u,onOpenWithSystemApp:e.actions.onOpenWithSystemApp,canOpenWithSystemApp:e.actions.canOpenWithSystemApp,chooseAppLabel:d,onChooseOpenWithApp:e.actions.onChooseOpenWithApp,canChooseOpenWithApp:e.actions.canChooseOpenWithApp})}),t[2]=i.chat.attachmentPreviewDownloadFull,t[3]=e.actions.canChooseOpenWithApp,t[4]=e.actions.canOpenWithSystemApp,t[5]=e.actions.onChooseOpenWithApp,t[6]=e.actions.onDownload,t[7]=e.actions.onOpenWithSystemApp,t[8]=l,t[9]=u,t[10]=d,t[11]=f):f=t[11],f}export{l as AudioPreviewPluginView,f as UnsupportedPreviewPluginView,u as VideoPreviewPluginView};
1
+ import"./rolldown-runtime-aKtaBQYM.js";import{a as e,n as t,t as n}from"./vendor-react-BOUWij0V.js";import{t as r}from"./messages-jwdBhfL9.js";import{a as i}from"./attachment-utils-core-BIOUBrpT.js";import{t as a}from"./preview-open-alternatives-CY_hjK4b.js";import{t as o}from"./use-blob-object-url-D4BFuzZB.js";var s=t();e();var c=n();function l(e){let t=(0,s.c)(2),n;return t[0]===e?n=t[1]:(n=(0,c.jsx)(d,{props:e,kind:`audio`}),t[0]=e,t[1]=n),n}function u(e){let t=(0,s.c)(2),n;return t[0]===e?n=t[1]:(n=(0,c.jsx)(d,{props:e,kind:`video`}),t[0]=e,t[1]=n),n}function d(e){let t=(0,s.c)(8),{props:n,kind:r}=e,a;bb0:{if(!n.binaryBuffer){a=null;break bb0}let e;if(t[0]!==r||t[1]!==n.binaryBuffer||t[2]!==n.descriptor.fileName||t[3]!==n.descriptor.mimeType){let a=i(n.descriptor.fileName)??n.descriptor.mimeType;e=new Blob([n.binaryBuffer],{type:a||`${r}/*`}),t[0]=r,t[1]=n.binaryBuffer,t[2]=n.descriptor.fileName,t[3]=n.descriptor.mimeType,t[4]=e}else e=t[4];a=e}let l=o(a);if(!l)return null;let u;return t[5]!==r||t[6]!==l?(u=(0,c.jsx)(`div`,{className:`flex min-h-0 flex-1 items-center justify-center overflow-auto bg-surface-base p-4 dark:bg-surface-hover/20`,children:r===`audio`?(0,c.jsx)(`audio`,{src:l,controls:!0,className:`w-full max-w-2xl`}):(0,c.jsx)(`video`,{src:l,controls:!0,playsInline:!0,className:`max-h-full max-w-full rounded-md bg-black`})}),t[5]=r,t[6]=l,t[7]=u):u=t[7],u}function f(e){let t=(0,s.c)(12),n;t[0]===e.language?n=t[1]:(n=r(e.language),t[0]=e.language,t[1]=n);let i=n,o=e.descriptor.context===`workspace`,l=o?`${i.workspace.cannotPreviewType} ${i.workspace.openElsewhereHint}`:i.chat.attachmentPreviewOpenElsewhereHint,u=o?i.workspace.openSystemApp:void 0,d=o?i.workspace.chooseApp:void 0,f;return t[2]!==i.chat.attachmentPreviewDownloadFull||t[3]!==e.actions.canChooseOpenWithApp||t[4]!==e.actions.canOpenWithSystemApp||t[5]!==e.actions.onChooseOpenWithApp||t[6]!==e.actions.onDownload||t[7]!==e.actions.onOpenWithSystemApp||t[8]!==l||t[9]!==u||t[10]!==d?(f=(0,c.jsx)(`div`,{className:`flex min-h-0 flex-1 flex-col gap-3 overflow-auto p-4`,children:(0,c.jsx)(a,{message:l,downloadLabel:i.chat.attachmentPreviewDownloadFull,onDownload:e.actions.onDownload,openSystemLabel:u,onOpenWithSystemApp:e.actions.onOpenWithSystemApp,canOpenWithSystemApp:e.actions.canOpenWithSystemApp,chooseAppLabel:d,onChooseOpenWithApp:e.actions.onChooseOpenWithApp,canChooseOpenWithApp:e.actions.canChooseOpenWithApp})}),t[2]=i.chat.attachmentPreviewDownloadFull,t[3]=e.actions.canChooseOpenWithApp,t[4]=e.actions.canOpenWithSystemApp,t[5]=e.actions.onChooseOpenWithApp,t[6]=e.actions.onDownload,t[7]=e.actions.onOpenWithSystemApp,t[8]=l,t[9]=u,t[10]=d,t[11]=f):f=t[11],f}export{l as AudioPreviewPluginView,f as UnsupportedPreviewPluginView,u as VideoPreviewPluginView};