@xopcai/xopc 0.0.441 → 0.0.442

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 (375) hide show
  1. package/README.md +2 -3
  2. package/README.zh-CN.md +1 -2
  3. package/dist/browser-ext/_locales/en/messages.json +0 -28
  4. package/dist/browser-ext/_locales/zh_CN/messages.json +0 -28
  5. package/dist/browser-ext/dist/assets/{sidepanel-CQeQB5vW.css → sidepanel-lpBGVKwZ.css} +0 -42
  6. package/dist/browser-ext/dist/background.js +247 -647
  7. package/dist/browser-ext/dist/sidepanel.html +2 -2
  8. package/dist/browser-ext/dist/sidepanel.js +105 -346
  9. package/dist/browser-ext/manifest.json +1 -1
  10. package/dist/extensions/telegram/xopc.extension.json +1 -1
  11. package/dist/gateway/static/root/assets/{activity-store-t5c6XavH.js → activity-store-CuPXAoLe.js} +1 -1
  12. package/dist/gateway/static/root/assets/{agent-avatar-dicebear-CSTtf3RI.js → agent-avatar-dicebear-D92uHOFV.js} +1 -1
  13. package/dist/gateway/static/root/assets/{agent-avatar-display-Cm0afn_O.js → agent-avatar-display-DINzeGs0.js} +2 -2
  14. package/dist/gateway/static/root/assets/{agent-defaults-settings-panel-BMbsLf16.js → agent-defaults-settings-panel-Chneosh4.js} +1 -1
  15. package/dist/gateway/static/root/assets/{agent-plugin-dialog-DofyWKnP.js → agent-plugin-dialog-B2vXlrDW.js} +1 -1
  16. package/dist/gateway/static/root/assets/{agents-CAqwtADW.js → agents-DKfOY5z9.js} +3 -3
  17. package/dist/gateway/static/root/assets/{agents-admin-api-CewiIx4v.js → agents-admin-api-DPLtjJtX.js} +1 -1
  18. package/dist/gateway/static/root/assets/{api-CE6gdBWx.js → api-CEzBruRJ.js} +1 -1
  19. package/dist/gateway/static/root/assets/{api-DRyQFk9q.js → api-ClZ7BrD4.js} +1 -1
  20. package/dist/gateway/static/root/assets/app-link-CdD448kS.js +1 -0
  21. package/dist/gateway/static/root/assets/{app-management-settings-panel-BZfs2ydm.js → app-management-settings-panel-CONwDpqL.js} +1 -1
  22. package/dist/gateway/static/root/assets/{appearance-settings-BA7spRv6.js → appearance-settings-Bu7K-_ri.js} +1 -1
  23. package/dist/gateway/static/root/assets/{apps-page-B0qorxfq.js → apps-page-CBLj-m2k.js} +1 -1
  24. package/dist/gateway/static/root/assets/{archive-plugin-CPCI6nqQ.js → archive-plugin-CfLz9o-2.js} +1 -1
  25. package/dist/gateway/static/root/assets/{automation-api-paBg5ie6.js → automation-api-Dl9fi8t0.js} +1 -1
  26. package/dist/gateway/static/root/assets/{automation-result-state-Ds-59DdX.js → automation-result-state-BjjZCxee.js} +1 -1
  27. package/dist/gateway/static/root/assets/{automation-run-list-Crw5qn_I.js → automation-run-list-9IPHu_UC.js} +1 -1
  28. package/dist/gateway/static/root/assets/automation-task-card-DLg-LYCm.js +3 -0
  29. package/dist/gateway/static/root/assets/{automations-page-D3Cb5vfR.js → automations-page-CYngiwxI.js} +1 -1
  30. package/dist/gateway/static/root/assets/automations-workspace-zyhyqSdH.js +9 -0
  31. package/dist/gateway/static/root/assets/{binary-plugins-CFJCUpWH.js → binary-plugins-Bv4ixxo4.js} +1 -1
  32. package/dist/gateway/static/root/assets/{block-editor-DbG2QKd0.js → block-editor-CtaJSB9U.js} +1 -1
  33. package/dist/gateway/static/root/assets/browser-settings-page-CmBsnx24.js +8 -0
  34. package/dist/gateway/static/root/assets/capabilities-BpYi2fQO.js +1 -0
  35. package/dist/gateway/static/root/assets/{capabilities-DG0ckPuF.js → capabilities-oWWLfwf3.js} +1 -1
  36. package/dist/gateway/static/root/assets/capabilities-page-Dlgwv1dI.js +2 -0
  37. package/dist/gateway/static/root/assets/capabilities-settings-panel-CslXPIs8.js +8 -0
  38. package/dist/gateway/static/root/assets/capability-icon-CmvCZOJX.js +1 -0
  39. package/dist/gateway/static/root/assets/{capability-links-DeO34GIF.js → capability-links-MZdYfPKx.js} +1 -1
  40. package/dist/gateway/static/root/assets/{channels-OiT-5N_6.js → channels-P-xOLYBz.js} +1 -1
  41. package/dist/gateway/static/root/assets/{chat-agents-api-CTL8cwNk.js → chat-agents-api-BOB3dILf.js} +1 -1
  42. package/dist/gateway/static/root/assets/{chat-chart-block-Z41MRuzh.js → chat-chart-block-DsaCatBN.js} +1 -1
  43. package/dist/gateway/static/root/assets/chat-page-Cen4dGHa.js +72 -0
  44. package/dist/gateway/static/root/assets/{chat-terminal-dock-CEaFlZEs.js → chat-terminal-dock-DTQL2DBu.js} +1 -1
  45. package/dist/gateway/static/root/assets/{command-palette-api-C3G6veE2.js → command-palette-api-Cj0_7g9o.js} +1 -1
  46. package/dist/gateway/static/root/assets/{composer-payload-handoff-Ccq_KF1W.js → composer-payload-handoff-B1GFVFK_.js} +1 -1
  47. package/dist/gateway/static/root/assets/{computer-settings-page-CTkICYyM.js → computer-settings-page-DJ9BIOHC.js} +1 -1
  48. package/dist/gateway/static/root/assets/connected-providers-grid-sULM6YyQ.js +1 -0
  49. package/dist/gateway/static/root/assets/connection-usage-BhdQRWgQ.js +1 -0
  50. package/dist/gateway/static/root/assets/connection-usage-guide-bD1sKiAp.js +1 -0
  51. package/dist/gateway/static/root/assets/{connector-service-page-C6yeCQWW.js → connector-service-page-BEq3i3Vi.js} +1 -1
  52. package/dist/gateway/static/root/assets/{connectors-api-HFW1Iey5.js → connectors-api-DEExP6a7.js} +1 -1
  53. package/dist/gateway/static/root/assets/connectors-page-DN9BOiFk.js +1 -0
  54. package/dist/gateway/static/root/assets/{date-picker-C_tweuM0.js → date-picker-D2whl8Ci.js} +1 -1
  55. package/dist/gateway/static/root/assets/{desktop-pet-narrative-ChwjpnsG.js → desktop-pet-narrative-C8zQtMcw.js} +1 -1
  56. package/dist/gateway/static/root/assets/{desktop-pet-BAX0ZLyq.js → desktop-pet-qnIdmNnH.js} +1 -1
  57. package/dist/gateway/static/root/assets/{desktop-pet-settings-BIIsWpW9.js → desktop-pet-settings-C54b1FY4.js} +1 -1
  58. package/dist/gateway/static/root/assets/{dev-view-store-D4C_zjRq.js → dev-view-store-bryv5YRw.js} +1 -1
  59. package/dist/gateway/static/root/assets/{device-pairing-wizard-ZUE6wZ1X.js → device-pairing-wizard-Du-yOxZv.js} +1 -1
  60. package/dist/gateway/static/root/assets/{directory-picker-path-field-CFb2VFW-.js → directory-picker-path-field-GsMkjw59.js} +1 -1
  61. package/dist/gateway/static/root/assets/{discussion-annotation-sync-Bd4r2auZ.js → discussion-annotation-sync-CrpDiC7J.js} +1 -1
  62. package/dist/gateway/static/root/assets/earth-C9Z4bTTG.js +1 -0
  63. package/dist/gateway/static/root/assets/{extension-debug-page-DXGpnxwM.js → extension-debug-page-D2Dhtu6H.js} +1 -1
  64. package/dist/gateway/static/root/assets/{extension-iframe-host-DTwDBQQ9.js → extension-iframe-host-Dra7k_6o.js} +1 -1
  65. package/dist/gateway/static/root/assets/{extension-marketplace-api-Q6E4x8gu.js → extension-marketplace-api-D7Av-sOf.js} +1 -1
  66. package/dist/gateway/static/root/assets/{extension-page-BVBxNzys.js → extension-page-Dd16lQg-.js} +1 -1
  67. package/dist/gateway/static/root/assets/{extension-provider-D-Fa5PU-.js → extension-provider-C4WwnCxf.js} +1 -1
  68. package/dist/gateway/static/root/assets/{extension-settings-page-ycMuOpv3.js → extension-settings-page-BHwQ2ipj.js} +1 -1
  69. package/dist/gateway/static/root/assets/{file-preview-surface-D62ph0m0.js → file-preview-surface-Dtla5oAW.js} +1 -1
  70. package/dist/gateway/static/root/assets/{gateway-config-swr-BW6eBLIt.js → gateway-config-swr-B5THNdYK.js} +1 -1
  71. package/dist/gateway/static/root/assets/{gateway-realtime-Bg4Mf7HA.js → gateway-realtime-hnEaDFaA.js} +1 -1
  72. package/dist/gateway/static/root/assets/gateway-realtime-store-ugwtyD4q.js +1 -0
  73. package/dist/gateway/static/root/assets/{gateway-restart-BzrJNB4Q.js → gateway-restart-kwv0njYq.js} +1 -1
  74. package/dist/gateway/static/root/assets/{gateway-settings-BOW90CER.js → gateway-settings-CxYPJTy8.js} +1 -1
  75. package/dist/gateway/static/root/assets/{gateway-startup-retry-DCjREMIO.js → gateway-startup-retry-CqtCJzWJ.js} +1 -1
  76. package/dist/gateway/static/root/assets/{global-defaults-api-myAmGZ2_.js → global-defaults-api-BQMdHLlp.js} +1 -1
  77. package/dist/gateway/static/root/assets/{home-page-eXW3llb0.js → home-page-D-gy9LlQ.js} +2 -2
  78. package/dist/gateway/static/root/assets/{image-generation-api-CLkuZdsz.js → image-generation-api-G3tQFhif.js} +1 -1
  79. package/dist/gateway/static/root/assets/{imports-page-BFsLQu7n.js → imports-page-BmEqiunH.js} +1 -1
  80. package/dist/gateway/static/root/assets/index-CqQZfWRQ.js +11 -0
  81. package/dist/gateway/static/root/assets/index-D7Noveui.css +1 -0
  82. package/dist/gateway/static/root/assets/{install-connector-dialog-CVjCFdly.js → install-connector-dialog-BU4l6KJv.js} +1 -1
  83. package/dist/gateway/static/root/assets/{keyboard-shortcuts-settings-DdZfxLQb.js → keyboard-shortcuts-settings-CtNI6i7K.js} +1 -1
  84. package/dist/gateway/static/root/assets/{local-app-workbench-page-xV9a7McI.js → local-app-workbench-page-Drbzz4Lm.js} +1 -1
  85. package/dist/gateway/static/root/assets/{local-apps-page-buwr_S_-.js → local-apps-page-DqZT5hLH.js} +1 -1
  86. package/dist/gateway/static/root/assets/{local-session-drafts-v7v7Hb6T.js → local-session-drafts-Bt_e3A8f.js} +1 -1
  87. package/dist/gateway/static/root/assets/{locale-store-DGtk-KSF.js → locale-store-Bld7_m-Q.js} +1 -1
  88. package/dist/gateway/static/root/assets/{logs-page-D_VBpYkM.js → logs-page-CzajqK40.js} +1 -1
  89. package/dist/gateway/static/root/assets/{management-settings-BlRCdUF3.js → management-settings-BgdAP0kf.js} +1 -1
  90. package/dist/gateway/static/root/assets/{markdown-view-JXJ3e1CB.js → markdown-view-B3cFKCfO.js} +1 -1
  91. package/dist/gateway/static/root/assets/markdown-view-DG8DDkEA.css +1 -0
  92. package/dist/gateway/static/root/assets/{mcp-conversation-setup-page-Vr2dpowU.js → mcp-conversation-setup-page-ZcY1nqMO.js} +1 -1
  93. package/dist/gateway/static/root/assets/{media-plugins-DcN8Y0hJ.js → media-plugins-DSOplRhW.js} +1 -1
  94. package/dist/gateway/static/root/assets/messages-CGO1P4mz.js +3 -0
  95. package/dist/gateway/static/root/assets/{model-selector-zD2x0Sn6.js → model-selector-yAKlOR3O.js} +1 -1
  96. package/dist/gateway/static/root/assets/{models-hub-cache-DtZG5bA_.js → models-hub-cache-8V-ZpAIa.js} +1 -1
  97. package/dist/gateway/static/root/assets/{note-detail-panel-CVrfF6XL.js → note-detail-panel-BQdgpm0s.js} +3 -3
  98. package/dist/gateway/static/root/assets/note-image-lightbox-BbNYW2Rw.js +1 -0
  99. package/dist/gateway/static/root/assets/notes-api-CVQqqmGI.js +1 -0
  100. package/dist/gateway/static/root/assets/{notes-page-BOCURwg6.js → notes-page-IefutMyg.js} +3 -3
  101. package/dist/gateway/static/root/assets/{oauth-api-DYNQAQBx.js → oauth-api-DGa6PTuq.js} +1 -1
  102. package/dist/gateway/static/root/assets/{oauth-provider-connect-BvV6SP0k.js → oauth-provider-connect-Bc-KLH1e.js} +1 -1
  103. package/dist/gateway/static/root/assets/{page-context-capture-button-Dor5Y5Bf.js → page-context-capture-button-DDmLslYG.js} +1 -1
  104. package/dist/gateway/static/root/assets/{page-context-draft-B8DQ5lNT.js → page-context-draft-GveHK8e2.js} +1 -1
  105. package/dist/gateway/static/root/assets/page-header-store-YZfSLNTg.js +1 -0
  106. package/dist/gateway/static/root/assets/palette-CDI0VweW.js +1 -0
  107. package/dist/gateway/static/root/assets/{personal-avatar-CF6T0aTT.js → personal-avatar-Cu8lGBXZ.js} +1 -1
  108. package/dist/gateway/static/root/assets/personal-page-DkrDSJqk.js +1 -0
  109. package/dist/gateway/static/root/assets/{personal-settings-panel-BrQ94X_A.js → personal-settings-panel-awr10jTV.js} +1 -1
  110. package/dist/gateway/static/root/assets/{phone-dependencies-card-Zvbw-N0D.js → phone-dependencies-card-CAxn3usD.js} +1 -1
  111. package/dist/gateway/static/root/assets/{phone-model-connection-CQ4PhhE5.js → phone-model-connection-BBG3LxRP.js} +1 -1
  112. package/dist/gateway/static/root/assets/{phone-model-picker-BDBtemUm.js → phone-model-picker-CfPjKpnd.js} +1 -1
  113. package/dist/gateway/static/root/assets/{phone-settings-page-D2KXWcg1.js → phone-settings-page-C4dJdwRW.js} +1 -1
  114. package/dist/gateway/static/root/assets/{phone-workspace-store-BhJAeHdQ.js → phone-workspace-store-BKltFHtG.js} +1 -1
  115. package/dist/gateway/static/root/assets/{plugin-details-dialog-DpPtI0sI.js → plugin-details-dialog-BqcFfZFH.js} +1 -1
  116. package/dist/gateway/static/root/assets/{popover-select-CEMWIrtY.js → popover-select-CLsphyzA.js} +1 -1
  117. package/dist/gateway/static/root/assets/{preference-select-fields-Bx26yGRF.js → preference-select-fields-QlyIA8ve.js} +1 -1
  118. package/dist/gateway/static/root/assets/product-automation-feedback-CRsfuAXl.js +7 -0
  119. package/dist/gateway/static/root/assets/product-navigation-Dp-adLY_.js +1 -0
  120. package/dist/gateway/static/root/assets/{product-open-page-DSWELoz0.js → product-open-page-CQ4dk-_l.js} +1 -1
  121. package/dist/gateway/static/root/assets/{product-preview-content-DJb-OtMo.js → product-preview-content-COU6H_jO.js} +1 -1
  122. package/dist/gateway/static/root/assets/{product-preview-modal-DaQhXcev.js → product-preview-modal-Ct5q4tv6.js} +2 -2
  123. package/dist/gateway/static/root/assets/{project-detail-page-BHLOHrat.js → project-detail-page-CQj7nm6I.js} +1 -1
  124. package/dist/gateway/static/root/assets/{project-understanding-CjhVk8l-.js → project-understanding-CU2af95r.js} +1 -1
  125. package/dist/gateway/static/root/assets/{projects-page-sVWDuzmC.js → projects-page-sWxQJrFS.js} +1 -1
  126. package/dist/gateway/static/root/assets/{providers-api-gWGsgOOf.js → providers-api-CspehmSU.js} +1 -1
  127. package/dist/gateway/static/root/assets/recording-upload-BOZAOdCI.js +1 -0
  128. package/dist/gateway/static/root/assets/{registry-api-CRxE9kFY.js → registry-api-Bdp3UUyz.js} +1 -1
  129. package/dist/gateway/static/root/assets/{remote-access-hub-Bw__qp-v.js → remote-access-hub-Bos3uwAT.js} +1 -1
  130. package/dist/gateway/static/root/assets/{resource-unavailable-BaczkGfK.js → resource-unavailable-DJR3SCy6.js} +1 -1
  131. package/dist/gateway/static/root/assets/route-preload-CDQtPdgq.js +2 -0
  132. package/dist/gateway/static/root/assets/{runtime-tools-api-ygfM5FCT.js → runtime-tools-api-DsbahxzE.js} +1 -1
  133. package/dist/gateway/static/root/assets/{runtime-tools-settings-panel-BWEK7BZS.js → runtime-tools-settings-panel-DW9_OFi2.js} +1 -1
  134. package/dist/gateway/static/root/assets/{schema-form-C-jw6Hid.js → schema-form-CtRM41Re.js} +1 -1
  135. package/dist/gateway/static/root/assets/{service-recommendation-list-DrgwXSEt.js → service-recommendation-list-Bd1JDO5T.js} +1 -1
  136. package/dist/gateway/static/root/assets/{session-api-CpZ24vrQ.js → session-api-DjnHJ-0n.js} +1 -1
  137. package/dist/gateway/static/root/assets/{session-manager-CZyY5Y87.js → session-manager-Czu9GpZX.js} +1 -1
  138. package/dist/gateway/static/root/assets/{sessions-page-DgXRw0_8.js → sessions-page-CGkbbrz-.js} +1 -1
  139. package/dist/gateway/static/root/assets/settings-advanced-gate-DyGT3o1e.js +1 -0
  140. package/dist/gateway/static/root/assets/{settings-advanced-section-DmCp3OWb.js → settings-advanced-section-CM44UlF8.js} +1 -1
  141. package/dist/gateway/static/root/assets/{settings-loading-skeleton-BTqvr_Fw.js → settings-loading-skeleton-CAoOV17i.js} +1 -1
  142. package/dist/gateway/static/root/assets/{settings-mode-store-fZ6mzf4A.js → settings-mode-store-Blc4C8aw.js} +1 -1
  143. package/dist/gateway/static/root/assets/{settings-page-header-4d1u-o-F.js → settings-page-header-BYFaTD8a.js} +1 -1
  144. package/dist/gateway/static/root/assets/{settings-page-layout-Cy9_VBag.js → settings-page-layout-CnUQSxT3.js} +1 -1
  145. package/dist/gateway/static/root/assets/{settings-page-SQwLKlTr.js → settings-page-zGjDXdHY.js} +1 -1
  146. package/dist/gateway/static/root/assets/{setup-interaction-page-OFU6DKgp.js → setup-interaction-page-DqaiLQ0I.js} +1 -1
  147. package/dist/gateway/static/root/assets/{setup-status-panel-KKAneNTe.js → setup-status-panel-iOYgfkoK.js} +1 -1
  148. package/dist/gateway/static/root/assets/{share-link-dialog-Apq3cegw.js → share-link-dialog-C_uYNUlp.js} +1 -1
  149. package/dist/gateway/static/root/assets/{share-preview-page-B6yMj5nG.js → share-preview-page-Bs3VjTGj.js} +1 -1
  150. package/dist/gateway/static/root/assets/{shares-api-Q5x_ty6F.js → shares-api-C2GDyqxP.js} +1 -1
  151. package/dist/gateway/static/root/assets/{shares-settings-vxTYg6Hp.js → shares-settings-BseSozxm.js} +1 -1
  152. package/dist/gateway/static/root/assets/skeleton-DzdOeGYz.js +1 -0
  153. package/dist/gateway/static/root/assets/{skill-api-CBFXDh9m.js → skill-api-BnpTSZGc.js} +1 -1
  154. package/dist/gateway/static/root/assets/{skill-list-api-C8tm-XxH.js → skill-list-api-7MY9ewiu.js} +1 -1
  155. package/dist/gateway/static/root/assets/{skill-reload-api-B-4Yj46U.js → skill-reload-api-DkDpu3Wd.js} +1 -1
  156. package/dist/gateway/static/root/assets/skills-page-sL2kGqHZ.js +2 -0
  157. package/dist/gateway/static/root/assets/{system-settings-panel-a4mBz4J2.js → system-settings-panel-BltKPJdb.js} +1 -1
  158. package/dist/gateway/static/root/assets/{task-detail-page-B9akf3i8.js → task-detail-page-CwMpmFVS.js} +1 -1
  159. package/dist/gateway/static/root/assets/{task-result-evidence-DFiu5SlL.js → task-result-evidence-BNhYqUAa.js} +1 -1
  160. package/dist/gateway/static/root/assets/{terminal-panel-store-BdOlpRkY.js → terminal-panel-store-DUEJoa1M.js} +1 -1
  161. package/dist/gateway/static/root/assets/{theme-store-D58tk8pq.js → theme-store-DsvYj7Vy.js} +1 -1
  162. package/dist/gateway/static/root/assets/tool-friendly-title-DEGpbye4.js +1 -0
  163. package/dist/gateway/static/root/assets/{tracing-settings-page-CO0-AiCl.js → tracing-settings-page-CMtFem_g.js} +1 -1
  164. package/dist/gateway/static/root/assets/{tunnel-api-DVRX9yW6.js → tunnel-api-B6BhWTh3.js} +1 -1
  165. package/dist/gateway/static/root/assets/{understanding-activity-store-B_-648uj.js → understanding-activity-store-B7rFXhDk.js} +1 -1
  166. package/dist/gateway/static/root/assets/{understanding-refresh-store-BXJ-kwzq.js → understanding-refresh-store-DCFASve5.js} +1 -1
  167. package/dist/gateway/static/root/assets/{usage-page-C76JnWR8.js → usage-page-BO2OFCoA.js} +1 -1
  168. package/dist/gateway/static/root/assets/{use-autosave-xytwr7Lc.js → use-autosave-DsqcLHV9.js} +1 -1
  169. package/dist/gateway/static/root/assets/use-composer-attachments-DA6SxZPQ.js +2 -0
  170. package/dist/gateway/static/root/assets/use-file-preview-expanded-g4SwMHbx.js +2 -0
  171. package/dist/gateway/static/root/assets/{use-personal-profile-BXHU0P8I.js → use-personal-profile-T2e6P5Ed.js} +1 -1
  172. package/dist/gateway/static/root/assets/{use-workspace-tree-CiLbOQHQ.js → use-workspace-tree-DG5ZMfaY.js} +1 -1
  173. package/dist/gateway/static/root/assets/user-model-page-B5_01fi_.js +2 -0
  174. package/dist/gateway/static/root/assets/{voice-api-key-field-Dn092u0X.js → voice-api-key-field-D7NPAc1E.js} +1 -1
  175. package/dist/gateway/static/root/assets/voice-call-context-CJ1ZiJWR.js +1 -0
  176. package/dist/gateway/static/root/assets/{voice-config-api-fqUzP-ZY.js → voice-config-api-UQDTh6hh.js} +1 -1
  177. package/dist/gateway/static/root/assets/{voice-input-shortcut-events-D7QdPeuj.js → voice-input-shortcut-events-SD2gZVg8.js} +1 -1
  178. package/dist/gateway/static/root/assets/{voice-transcribe-api-NpNY_gsE.js → voice-transcribe-api-Cc92OabY.js} +1 -1
  179. package/dist/gateway/static/root/assets/{work-discovery-overlay-BARpCMZl.js → work-discovery-overlay-B41GOFXh.js} +1 -1
  180. package/dist/gateway/static/root/assets/{work-discovery-page-p0aVb8xr.js → work-discovery-page-NNhExALx.js} +1 -1
  181. package/dist/gateway/static/root/assets/{working-directory-picker-modal-7G-6icvh.js → working-directory-picker-modal-DeNWVFFK.js} +1 -1
  182. package/dist/gateway/static/root/assets/{workspace-api-BKbezgv-.js → workspace-api-fKmmIslV.js} +2 -2
  183. package/dist/gateway/static/root/assets/workspace-editor-agent-store-CmSYxTmk.js +1 -0
  184. package/dist/gateway/static/root/assets/{workspace-file-preview-dialog-CS8-ZbVG.js → workspace-file-preview-dialog-C_0lUEsm.js} +1 -1
  185. package/dist/gateway/static/root/assets/{workspace-open-location-menu-BQrTy-8o.js → workspace-open-location-menu-BznuSmFZ.js} +1 -1
  186. package/dist/gateway/static/root/assets/{xopc-cloud-account-card-Bc5rXL-E.js → xopc-cloud-account-card-BlhFT1q9.js} +1 -1
  187. package/dist/gateway/static/root/index.html +95 -98
  188. package/dist/package.js +1 -1
  189. package/dist/packages/browser-control-contract/src/dom.js +79 -0
  190. package/dist/packages/browser-control-contract/src/index.js +2 -25
  191. package/dist/packages/gateway-contract/src/automations.js +0 -6
  192. package/dist/src/agent/agent-manager.d.ts +0 -1
  193. package/dist/src/agent/agent-manager.js +0 -1
  194. package/dist/src/agent/external-tools/index.d.ts +1 -1
  195. package/dist/src/agent/service.js +0 -1
  196. package/dist/src/agent/service.types.d.ts +0 -1
  197. package/dist/src/agent/tool-manuals/browser.d.ts +1 -1
  198. package/dist/src/agent/tool-manuals/browser.js +0 -3
  199. package/dist/src/agent/tools/factory.d.ts +0 -2
  200. package/dist/src/agent/tools/factory.js +0 -2
  201. package/dist/src/agent/tools/find.d.ts +1 -1
  202. package/dist/src/agent/tools/grep.d.ts +1 -1
  203. package/dist/src/agent/tools/index.d.ts +0 -1
  204. package/dist/src/agent/tools/index.js +1 -2
  205. package/dist/src/agent/tools/metadata.d.ts +1 -1
  206. package/dist/src/auth/oauth/anthropic.d.ts +1 -7
  207. package/dist/src/auth/oauth/anthropic.js +6 -83
  208. package/dist/src/auth/oauth/index.d.ts +0 -2
  209. package/dist/src/auth/oauth/index.js +2 -6
  210. package/dist/src/auth/oauth/kimi-coding.d.ts +1 -6
  211. package/dist/src/auth/oauth/kimi-coding.js +5 -79
  212. package/dist/src/auth/oauth/openai.js +1 -1
  213. package/dist/src/auth/oauth/pi-oauth-adapter.d.ts +4 -0
  214. package/dist/src/auth/oauth/pi-oauth-adapter.js +53 -0
  215. package/dist/src/auth/oauth/registry.js +0 -9
  216. package/dist/src/automations/capabilities/write.d.ts +0 -12
  217. package/dist/src/automations/domain/defaults.d.ts +0 -1
  218. package/dist/src/automations/domain/defaults.js +2 -3
  219. package/dist/src/automations/domain/index.js +2 -2
  220. package/dist/src/automations/domain/types.d.ts +0 -26
  221. package/dist/src/automations/domain/validation.d.ts +0 -24
  222. package/dist/src/automations/domain/validation.js +0 -7
  223. package/dist/src/automations/draft/automation-draft-validator.d.ts +0 -6
  224. package/dist/src/automations/draft/automation-draft-validator.js +0 -1
  225. package/dist/src/automations/index.js +2 -2
  226. package/dist/src/automations/service/action-executor.d.ts +0 -1
  227. package/dist/src/automations/service/action-executor.js +0 -31
  228. package/dist/src/automations/service/automation-service.d.ts +0 -1
  229. package/dist/src/automations/service/automation-service.js +1 -13
  230. package/dist/src/browser/drivers/playwright-driver.js +1 -2
  231. package/dist/src/cli/commands/extension-dev.js +1 -1
  232. package/dist/src/cli/commands/extension-marketplace.js +1 -1
  233. package/dist/src/cli/commands/extension.js +1 -1
  234. package/dist/src/cli/commands/gateway/lifecycle.js +1 -1
  235. package/dist/src/cli/commands/models.js +1 -1
  236. package/dist/src/cli/commands/onboard/model.js +3 -3
  237. package/dist/src/cli/commands/tunnel.js +1 -1
  238. package/dist/src/cli/commands/update.js +1 -1
  239. package/dist/src/config/models-json.d.ts +24 -24
  240. package/dist/src/endpoint-tools/policy.js +3 -4
  241. package/dist/src/gateway/hono/app.js +1 -1
  242. package/dist/src/gateway/hono/middleware/auth.js +1 -1
  243. package/dist/src/gateway/hono/routes/config-patch/misc.js +2 -2
  244. package/dist/src/gateway/hono/routes/desktop-host.js +1 -1
  245. package/dist/src/gateway/hono/routes/exposure.js +1 -1
  246. package/dist/src/gateway/hono/routes/files.js +2 -2
  247. package/dist/src/gateway/hono/routes/imports.js +1 -1
  248. package/dist/src/gateway/hono/routes/lazy-bundles.js +0 -16
  249. package/dist/src/gateway/hono/routes/local-apps.js +1 -1
  250. package/dist/src/gateway/hono/routes/logs.js +1 -1
  251. package/dist/src/gateway/hono/routes/models.js +5 -5
  252. package/dist/src/gateway/hono/routes/notes.js +1 -1
  253. package/dist/src/gateway/hono/routes/personal-agent.js +2 -2
  254. package/dist/src/gateway/hono/routes/phone-setup.js +1 -1
  255. package/dist/src/gateway/hono/routes/runtime-tools.js +1 -1
  256. package/dist/src/gateway/hono/routes/sessions.js +1 -1
  257. package/dist/src/gateway/hono/routes/shares.js +5 -5
  258. package/dist/src/gateway/hono/routes/status.js +1 -1
  259. package/dist/src/gateway/hono/routes/tasks.js +1 -1
  260. package/dist/src/gateway/hono/routes/tunnel.js +2 -2
  261. package/dist/src/gateway/hono/routes/update.js +2 -2
  262. package/dist/src/gateway/hono/routes/voice.js +1 -1
  263. package/dist/src/gateway/index.js +2 -2
  264. package/dist/src/gateway/provider-model-setup.js +1 -1
  265. package/dist/src/gateway/run-loop.js +2 -2
  266. package/dist/src/gateway/security/audit.js +1 -1
  267. package/dist/src/gateway/security/gateway-scopes.js +0 -2
  268. package/dist/src/gateway/security/index.js +2 -2
  269. package/dist/src/gateway/server.js +1 -1
  270. package/dist/src/gateway/service/agent-runner.js +1 -1
  271. package/dist/src/gateway/service/run-gateway-agent.js +2 -2
  272. package/dist/src/gateway/service/sessions-api.js +1 -1
  273. package/dist/src/gateway/service.d.ts +0 -3
  274. package/dist/src/gateway/service.js +31 -46
  275. package/dist/src/gateway/side-chat/run-service.js +1 -1
  276. package/dist/src/home-intelligence/host.js +2 -2
  277. package/dist/src/infra/gateway-processes.js +1 -1
  278. package/dist/src/infra/update-restart.js +1 -1
  279. package/dist/src/infra/update-runner.js +2 -2
  280. package/dist/src/infra/update-startup.js +1 -1
  281. package/dist/src/notifications/service.js +2 -2
  282. package/dist/src/personal-agent/prompts.js +1 -1
  283. package/dist/src/personal-agent/reply-style.d.ts +2 -2
  284. package/dist/src/personal-agent/reply-style.js +10 -0
  285. package/dist/src/phone/stream-gateway.js +1 -1
  286. package/dist/src/providers/domestic-presets.d.ts +2 -310
  287. package/dist/src/providers/domestic-presets.js +2 -396
  288. package/dist/src/providers/env-keys.js +2 -6
  289. package/dist/src/providers/index.js +6 -13
  290. package/dist/src/providers/presentation.js +4 -6
  291. package/dist/src/providers/setup/profiles.js +1 -2
  292. package/dist/src/providers/setup/voice.js +1 -1
  293. package/dist/src/realtime/runtime.js +1 -1
  294. package/dist/src/remote-access/exposure-manager.js +1 -1
  295. package/dist/src/share/site-share-router.js +2 -2
  296. package/dist/src/storage/sqlite/schema.sql +0 -81
  297. package/dist/src/tasks/home-query-service.js +0 -1
  298. package/dist/src/tui/backends/embedded-backend.js +3 -3
  299. package/dist/src/tunnel/gateway-lifecycle.js +1 -1
  300. package/dist/src/voice/realtime/runtime.js +1 -1
  301. package/dist/src/work-discovery/index.js +2 -2
  302. package/dist/src/work-discovery/investigator.js +1 -1
  303. package/dist/src/work-discovery/service.js +3 -3
  304. package/package.json +9 -9
  305. package/dist/gateway/static/root/assets/app-link-DRy3-k7j.js +0 -1
  306. package/dist/gateway/static/root/assets/arrow-up-right-T72JbQ1Q.js +0 -1
  307. package/dist/gateway/static/root/assets/automation-task-card-BecBULES.js +0 -3
  308. package/dist/gateway/static/root/assets/automations-workspace-BBSTBucV.js +0 -9
  309. package/dist/gateway/static/root/assets/book-open-CCGtrT3R.js +0 -1
  310. package/dist/gateway/static/root/assets/browser-automation-inputs-DADzEaqe.js +0 -1
  311. package/dist/gateway/static/root/assets/browser-automations-page-V7_ZTcyU.js +0 -3
  312. package/dist/gateway/static/root/assets/browser-control-api-Bdr2nGCE.js +0 -6
  313. package/dist/gateway/static/root/assets/browser-settings-page-irOt8KDh.js +0 -3
  314. package/dist/gateway/static/root/assets/capabilities-CrAs-oqU.js +0 -1
  315. package/dist/gateway/static/root/assets/capabilities-page-CJLVUcD4.js +0 -2
  316. package/dist/gateway/static/root/assets/capabilities-settings-panel-D8t5F998.js +0 -8
  317. package/dist/gateway/static/root/assets/capability-icon-DVoZxEgW.js +0 -1
  318. package/dist/gateway/static/root/assets/chat-page-DBAezT9u.js +0 -72
  319. package/dist/gateway/static/root/assets/connected-providers-grid-CpO98SqR.js +0 -1
  320. package/dist/gateway/static/root/assets/connection-usage-Cm_McddI.js +0 -1
  321. package/dist/gateway/static/root/assets/connection-usage-guide-DOf2VWzv.js +0 -1
  322. package/dist/gateway/static/root/assets/connectors-page-Cbn4LSpC.js +0 -1
  323. package/dist/gateway/static/root/assets/earth-BMhZtzcj.js +0 -1
  324. package/dist/gateway/static/root/assets/gateway-realtime-store-xYMxjztG.js +0 -1
  325. package/dist/gateway/static/root/assets/index-CKIirf4W.css +0 -1
  326. package/dist/gateway/static/root/assets/index-CQ570IAI.js +0 -11
  327. package/dist/gateway/static/root/assets/markdown-view-C-DHb3Io.css +0 -1
  328. package/dist/gateway/static/root/assets/messages-DYDySzn1.js +0 -3
  329. package/dist/gateway/static/root/assets/note-image-lightbox-V4rmgfLB.js +0 -1
  330. package/dist/gateway/static/root/assets/notes-api-UXC3eyeM.js +0 -1
  331. package/dist/gateway/static/root/assets/page-header-store-f8XcAs9b.js +0 -1
  332. package/dist/gateway/static/root/assets/personal-page-DUykELZZ.js +0 -1
  333. package/dist/gateway/static/root/assets/product-automation-feedback-_K6grEOt.js +0 -7
  334. package/dist/gateway/static/root/assets/product-navigation-Co8pLbDP.js +0 -1
  335. package/dist/gateway/static/root/assets/recording-upload-CBefH7C5.js +0 -1
  336. package/dist/gateway/static/root/assets/route-preload-Coy9Gjyy.js +0 -2
  337. package/dist/gateway/static/root/assets/settings-advanced-gate-Ch9MNvvk.js +0 -1
  338. package/dist/gateway/static/root/assets/skeleton-BI5TyibZ.js +0 -1
  339. package/dist/gateway/static/root/assets/skills-page-Xbnh0-6I.js +0 -2
  340. package/dist/gateway/static/root/assets/star-BUWJqJ5c.js +0 -1
  341. package/dist/gateway/static/root/assets/tool-friendly-title-DcCc6g7o.js +0 -1
  342. package/dist/gateway/static/root/assets/use-composer-attachments-fK2PUQbB.js +0 -2
  343. package/dist/gateway/static/root/assets/use-file-preview-expanded-ivMxmMu1.js +0 -2
  344. package/dist/gateway/static/root/assets/user-model-page-BzpV1hq_.js +0 -2
  345. package/dist/gateway/static/root/assets/video-B6V0GFss.js +0 -1
  346. package/dist/gateway/static/root/assets/voice-call-context-BM2A4bLz.js +0 -1
  347. package/dist/gateway/static/root/assets/workspace-editor-agent-store-CODAQqJn.js +0 -1
  348. package/dist/packages/browser-control-contract/src/automation.js +0 -213
  349. package/dist/src/agent/tools/browser-automation-tool.d.ts +0 -194
  350. package/dist/src/agent/tools/browser-automation-tool.js +0 -243
  351. package/dist/src/auth/oauth/minimax-cn.d.ts +0 -11
  352. package/dist/src/auth/oauth/minimax-cn.js +0 -95
  353. package/dist/src/auth/oauth/minimax.d.ts +0 -8
  354. package/dist/src/auth/oauth/minimax.js +0 -95
  355. package/dist/src/browser/automations/index.d.ts +0 -4
  356. package/dist/src/browser/automations/index.js +0 -4
  357. package/dist/src/browser/automations/repository.d.ts +0 -17
  358. package/dist/src/browser/automations/repository.js +0 -81
  359. package/dist/src/browser/automations/runner.d.ts +0 -17
  360. package/dist/src/browser/automations/runner.js +0 -265
  361. package/dist/src/browser/automations/runtime-service.d.ts +0 -8
  362. package/dist/src/browser/automations/runtime-service.js +0 -38
  363. package/dist/src/browser/automations/schema.d.ts +0 -227
  364. package/dist/src/browser/automations/schema.js +0 -201
  365. package/dist/src/browser/automations/service.d.ts +0 -232
  366. package/dist/src/browser/automations/service.js +0 -214
  367. package/dist/src/browser/automations/types.d.ts +0 -105
  368. package/dist/src/browser/automations/types.js +0 -1
  369. package/dist/src/browser/recordings/service.d.ts +0 -22
  370. package/dist/src/browser/recordings/service.js +0 -159
  371. package/dist/src/gateway/hono/routes/browser-automations.d.ts +0 -3
  372. package/dist/src/gateway/hono/routes/browser-automations.js +0 -93
  373. package/dist/src/gateway/hono/routes/browser-recordings.d.ts +0 -3
  374. package/dist/src/gateway/hono/routes/browser-recordings.js +0 -78
  375. package/dist/browser-ext/dist/assets/{page-context-DngcqfGf.js → auth-DAIwDtVp.js} +1368 -1368
@@ -5,8 +5,8 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>xopc</title>
7
7
  <script type="module" crossorigin src="./sidepanel.js"></script>
8
- <link rel="modulepreload" crossorigin href="./assets/page-context-DngcqfGf.js">
9
- <link rel="stylesheet" crossorigin href="./assets/sidepanel-CQeQB5vW.css">
8
+ <link rel="modulepreload" crossorigin href="./assets/auth-DAIwDtVp.js">
9
+ <link rel="stylesheet" crossorigin href="./assets/sidepanel-lpBGVKwZ.css">
10
10
  </head>
11
11
  <body>
12
12
  <div id="root"></div>
@@ -1,4 +1,4 @@
1
- import { H as strictObject, c as array, K as union, s as literal, I as string, n as discriminatedUnion, u as number, d as boolean, _ as _enum, v as object, e as browserPageContextsInputSchema, A as record$1, L as unknown, J as t, q as gatewayFetch, M as MAX_BROWSER_CONTEXTS_PER_TURN, p as extensionLocale, w as openDatabase, a as RealtimeClient, R as REALTIME_PROTOCOL_VERSION, b as activeTabId, l as currentTabDescriptor, T as TAB_BINDING_PREFIX, r as getAccessProfile, z as readProfile, D as runWithTabSiteAccess, P as PENDING_CONTEXT_KEY, i as captureTabWithPermission, x as pairGateway, G as setAutoConnectEnabled, y as readPendingBrowserPairing, m as discoverLocalGateway, F as saveExtensionLocalePreference, C as revokeAndForgetProfile, f as cancelPendingBrowserPairing, t as loadExtensionLocalePreference } from './assets/page-context-DngcqfGf.js';
1
+ import { H as strictObject, c as array, K as union, s as literal, I as string, n as discriminatedUnion, u as number, d as boolean, _ as _enum, v as object, e as browserPageContextsInputSchema, A as record$1, L as unknown, J as t, M as MAX_BROWSER_CONTEXTS_PER_TURN, q as gatewayFetch, p as extensionLocale, w as openDatabase, a as RealtimeClient, R as REALTIME_PROTOCOL_VERSION, b as activeTabId, l as currentTabDescriptor, T as TAB_BINDING_PREFIX, r as getAccessProfile, z as readProfile, D as runWithTabSiteAccess, P as PENDING_CONTEXT_KEY, i as captureTabWithPermission, x as pairGateway, G as setAutoConnectEnabled, y as readPendingBrowserPairing, m as discoverLocalGateway, F as saveExtensionLocalePreference, C as revokeAndForgetProfile, f as cancelPendingBrowserPairing, t as loadExtensionLocalePreference } from './assets/auth-DAIwDtVp.js';
2
2
 
3
3
  const id = string().regex(/^[A-Za-z0-9_-]{1,64}$/);
4
4
  const choice = strictObject({ id, label: string().trim().min(1).max(120), description: string().max(500).optional() });
@@ -17693,331 +17693,6 @@ function MicrophonePermission() {
17693
17693
  ] });
17694
17694
  }
17695
17695
 
17696
- function IconBase({ children, ...props }) {
17697
- return /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", ...props, children });
17698
- }
17699
- function ChevronDownIcon(props) {
17700
- return /* @__PURE__ */ jsxRuntimeExports.jsx(IconBase, { ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "m7 10 5 5 5-5" }) });
17701
- }
17702
- function ArrowDownIcon(props) {
17703
- return /* @__PURE__ */ jsxRuntimeExports.jsx(IconBase, { ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M12 5v14M6 13l6 6 6-6" }) });
17704
- }
17705
- function PlusIcon(props) {
17706
- return /* @__PURE__ */ jsxRuntimeExports.jsx(IconBase, { ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M12 5v14M5 12h14" }) });
17707
- }
17708
- function SearchIcon(props) {
17709
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(IconBase, { ...props, children: [
17710
- /* @__PURE__ */ jsxRuntimeExports.jsx("circle", { cx: "11", cy: "11", r: "7" }),
17711
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "m20 20-4-4" })
17712
- ] });
17713
- }
17714
- function PaperclipIcon(props) {
17715
- return /* @__PURE__ */ jsxRuntimeExports.jsx(IconBase, { ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "m20.5 11.5-8.9 8.9a6 6 0 0 1-8.5-8.5l9.5-9.5a4 4 0 0 1 5.7 5.7l-9.5 9.5A2 2 0 0 1 6 14.8l8.8-8.8" }) });
17716
- }
17717
- function PageIcon(props) {
17718
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(IconBase, { ...props, children: [
17719
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8Z" }),
17720
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M14 2v6h6M8 13h8M8 17h5" })
17721
- ] });
17722
- }
17723
- function SelectionIcon(props) {
17724
- return /* @__PURE__ */ jsxRuntimeExports.jsx(IconBase, { ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M8 4H5a1 1 0 0 0-1 1v3M16 4h3a1 1 0 0 1 1 1v3M20 16v3a1 1 0 0 1-1 1h-3M8 20H5a1 1 0 0 1-1-1v-3M8 9h8M8 13h6" }) });
17725
- }
17726
- function CameraIcon(props) {
17727
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(IconBase, { ...props, children: [
17728
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M14.5 4 16 7h3a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h3l1.5-3Z" }),
17729
- /* @__PURE__ */ jsxRuntimeExports.jsx("circle", { cx: "12", cy: "13", r: "3" })
17730
- ] });
17731
- }
17732
- function FileIcon(props) {
17733
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(IconBase, { ...props, children: [
17734
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8Z" }),
17735
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M14 2v6h6" })
17736
- ] });
17737
- }
17738
- function EyeIcon(props) {
17739
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(IconBase, { ...props, children: [
17740
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6S2 12 2 12Z" }),
17741
- /* @__PURE__ */ jsxRuntimeExports.jsx("circle", { cx: "12", cy: "12", r: "2.5" })
17742
- ] });
17743
- }
17744
- function CursorIcon(props) {
17745
- return /* @__PURE__ */ jsxRuntimeExports.jsx(IconBase, { ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "m5 3 14 9-6 2-3 6Z" }) });
17746
- }
17747
- function SendIcon(props) {
17748
- return /* @__PURE__ */ jsxRuntimeExports.jsx(IconBase, { ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "m5 12 7-7 7 7M12 19V5" }) });
17749
- }
17750
- function StopIcon(props) {
17751
- return /* @__PURE__ */ jsxRuntimeExports.jsx(IconBase, { ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx("rect", { x: "7", y: "7", width: "10", height: "10", rx: "1.5", fill: "currentColor", stroke: "none" }) });
17752
- }
17753
- function CopyIcon(props) {
17754
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(IconBase, { ...props, children: [
17755
- /* @__PURE__ */ jsxRuntimeExports.jsx("rect", { x: "9", y: "9", width: "11", height: "11", rx: "2" }),
17756
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M15 9V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h3" })
17757
- ] });
17758
- }
17759
- function CheckIcon(props) {
17760
- return /* @__PURE__ */ jsxRuntimeExports.jsx(IconBase, { ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "m5 12 4 4L19 6" }) });
17761
- }
17762
- function CloseIcon(props) {
17763
- return /* @__PURE__ */ jsxRuntimeExports.jsx(IconBase, { ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "m6 6 12 12M18 6 6 18" }) });
17764
- }
17765
- function SparkleIcon(props) {
17766
- return /* @__PURE__ */ jsxRuntimeExports.jsx(IconBase, { ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M12 3c.7 4.4 3.6 7.3 8 8-4.4.7-7.3 3.6-8 8-.7-4.4-3.6-7.3-8-8 4.4-.7 7.3-3.6 8-8Z" }) });
17767
- }
17768
- function AlertIcon(props) {
17769
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(IconBase, { ...props, children: [
17770
- /* @__PURE__ */ jsxRuntimeExports.jsx("circle", { cx: "12", cy: "12", r: "9" }),
17771
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M12 8v5M12 16.5h.01" })
17772
- ] });
17773
- }
17774
- function SettingsIcon(props) {
17775
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(IconBase, { ...props, children: [
17776
- /* @__PURE__ */ jsxRuntimeExports.jsx("circle", { cx: "12", cy: "12", r: "3" }),
17777
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M19.4 15a1.7 1.7 0 0 0 .34 1.88l.06.06-2.86 2.86-.06-.06A1.7 1.7 0 0 0 15 19.4a1.7 1.7 0 0 0-1 .6 1.7 1.7 0 0 0-.4 1.1V21H9.55v-.1A1.7 1.7 0 0 0 8.5 19.4a1.7 1.7 0 0 0-1.88.34l-.06.06-2.86-2.86.06-.06A1.7 1.7 0 0 0 4.1 15a1.7 1.7 0 0 0-.6-1 1.7 1.7 0 0 0-1.1-.4H2V9.55h.4A1.7 1.7 0 0 0 4.1 8.5a1.7 1.7 0 0 0-.34-1.88l-.06-.06L6.56 3.7l.06.06A1.7 1.7 0 0 0 8.5 4.1a1.7 1.7 0 0 0 1-.6 1.7 1.7 0 0 0 .4-1.1V2h4.05v.4A1.7 1.7 0 0 0 15 4.1a1.7 1.7 0 0 0 1.88-.34l.06-.06 2.86 2.86-.06.06A1.7 1.7 0 0 0 19.4 8.5a1.7 1.7 0 0 0 .6 1 1.7 1.7 0 0 0 1.1.4h.4v4.05h-.4A1.7 1.7 0 0 0 19.4 15Z" })
17778
- ] });
17779
- }
17780
- function SunIcon(props) {
17781
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(IconBase, { ...props, children: [
17782
- /* @__PURE__ */ jsxRuntimeExports.jsx("circle", { cx: "12", cy: "12", r: "4" }),
17783
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M12 2v2M12 20v2M4.93 4.93l1.42 1.42M17.66 17.66l1.41 1.41M2 12h2M20 12h2M4.93 19.07l1.42-1.42M17.66 6.34l1.41-1.41" })
17784
- ] });
17785
- }
17786
- function GlobeIcon(props) {
17787
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(IconBase, { ...props, children: [
17788
- /* @__PURE__ */ jsxRuntimeExports.jsx("circle", { cx: "12", cy: "12", r: "9" }),
17789
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M3 12h18M12 3a15 15 0 0 1 0 18M12 3a15 15 0 0 0 0 18" })
17790
- ] });
17791
- }
17792
- function MicrophoneIcon(props) {
17793
- return /* @__PURE__ */ jsxRuntimeExports.jsxs(IconBase, { ...props, children: [
17794
- /* @__PURE__ */ jsxRuntimeExports.jsx("rect", { x: "9", y: "2", width: "6", height: "12", rx: "3" }),
17795
- /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M5 10v2a7 7 0 0 0 14 0v-2M12 19v3M8 22h8" })
17796
- ] });
17797
- }
17798
-
17799
- function recordingErrorMessage(cause) {
17800
- const message = (cause instanceof Error ? cause.message : String(cause)).replace(/^(?:Error:\s*)+/, "");
17801
- if (message === "RECORDING_PAGE_UNAVAILABLE") return t("recordingChooseWebsite");
17802
- return message;
17803
- }
17804
- function RecordingPanel({ open = false, onClose, onRequiredChange }) {
17805
- const [session, setSession] = reactExports.useState();
17806
- const [pages, setPages] = reactExports.useState([]);
17807
- const [selectedTab, setSelectedTab] = reactExports.useState();
17808
- const [pagesLoading, setPagesLoading] = reactExports.useState(true);
17809
- const [busy, setBusy] = reactExports.useState(false);
17810
- const [error, setError] = reactExports.useState("");
17811
- const [automation, setAutomation] = reactExports.useState();
17812
- const [inputs, setInputs] = reactExports.useState({});
17813
- const [run, setRun] = reactExports.useState();
17814
- const active = !!session && ["recording", "paused"].includes(session.state);
17815
- const saved = !!session?.automationId;
17816
- const syncing = session?.state === "stopped" && !saved;
17817
- const required = active || syncing || busy || !!run && ["queued", "running"].includes(run.status);
17818
- const visible = open || required;
17819
- reactExports.useEffect(() => {
17820
- onRequiredChange?.(required);
17821
- return () => onRequiredChange?.(false);
17822
- }, [required, onRequiredChange]);
17823
- const api = async (path, init) => {
17824
- const response = await gatewayFetch(path, init);
17825
- const data = await response.json();
17826
- if (!response.ok) throw new Error(typeof data.error === "string" ? data.error : data.error?.message || t("recordingRequestFailed"));
17827
- return data;
17828
- };
17829
- const command = async (operation, tabId) => {
17830
- const response = await chrome.runtime.sendMessage({ type: "browser/recording-command", operation, ...tabId !== void 0 ? { tabId } : {} });
17831
- if (!response.ok) throw new Error(response.error);
17832
- return response.value;
17833
- };
17834
- reactExports.useEffect(() => {
17835
- let disposed = false;
17836
- if (!visible) return;
17837
- setPagesLoading(true);
17838
- const refresh = async (followActive = false) => {
17839
- try {
17840
- const tabs = (await chrome.tabs.query({ currentWindow: true })).filter((tab) => tab.id !== void 0 && /^https?:\/\//.test(tab.url ?? ""));
17841
- if (disposed) return;
17842
- setPages(tabs);
17843
- setSelectedTab((current) => followActive && tabs.find((tab) => tab.active)?.id || tabs.find((tab) => tab.id === current)?.id || tabs.find((tab) => tab.active)?.id || (tabs.length === 1 ? tabs[0].id : void 0));
17844
- } catch (cause) {
17845
- if (!disposed) setError(recordingErrorMessage(cause));
17846
- } finally {
17847
- if (!disposed) setPagesLoading(false);
17848
- }
17849
- };
17850
- const activated = () => {
17851
- void refresh(true);
17852
- };
17853
- const changed = () => {
17854
- void refresh();
17855
- };
17856
- void refresh(true);
17857
- chrome.tabs.onActivated.addListener(activated);
17858
- chrome.tabs.onUpdated.addListener(changed);
17859
- chrome.tabs.onRemoved.addListener(changed);
17860
- chrome.tabs.onCreated.addListener(changed);
17861
- return () => {
17862
- disposed = true;
17863
- chrome.tabs.onActivated.removeListener(activated);
17864
- chrome.tabs.onUpdated.removeListener(changed);
17865
- chrome.tabs.onRemoved.removeListener(changed);
17866
- chrome.tabs.onCreated.removeListener(changed);
17867
- };
17868
- }, [visible]);
17869
- reactExports.useEffect(() => {
17870
- let disposed = false;
17871
- const refresh = () => void command("status").then((sessions) => {
17872
- if (!disposed) setSession(sessions.find((item) => ["recording", "paused"].includes(item.state)) ?? sessions.at(-1));
17873
- }).catch((cause) => {
17874
- if (!disposed) setError(recordingErrorMessage(cause));
17875
- });
17876
- refresh();
17877
- const timer = window.setInterval(refresh, 1500);
17878
- return () => {
17879
- disposed = true;
17880
- window.clearInterval(timer);
17881
- };
17882
- }, []);
17883
- reactExports.useEffect(() => {
17884
- if (!visible) return;
17885
- if (!session?.automationId) {
17886
- setAutomation(void 0);
17887
- return;
17888
- }
17889
- let disposed = false;
17890
- void api(`/api/browser/automations/${encodeURIComponent(session.automationId)}`).then((data) => {
17891
- if (disposed) return;
17892
- const saved2 = data.automation;
17893
- setAutomation(saved2);
17894
- setInputs(Object.fromEntries(Object.entries(saved2.definition.inputs).map(([key, spec]) => [key, spec.default ?? ""])));
17895
- }).catch((cause) => {
17896
- if (!disposed) setError(recordingErrorMessage(cause));
17897
- });
17898
- return () => {
17899
- disposed = true;
17900
- };
17901
- }, [session?.automationId, visible]);
17902
- reactExports.useEffect(() => {
17903
- if (!run || !["queued", "running"].includes(run.status)) return;
17904
- let disposed = false;
17905
- const timer = window.setInterval(() => {
17906
- void api(`/api/browser/automation-runs/${run.id}`).then((data) => {
17907
- if (!disposed) setRun(data.run);
17908
- }).catch((cause) => {
17909
- if (!disposed) setError(recordingErrorMessage(cause));
17910
- });
17911
- }, 1e3);
17912
- return () => {
17913
- disposed = true;
17914
- window.clearInterval(timer);
17915
- };
17916
- }, [run]);
17917
- const runSaved = async () => {
17918
- if (!automation) return;
17919
- setBusy(true);
17920
- setError("");
17921
- try {
17922
- const data = await api(`/api/browser/automations/${automation.id}/run`, {
17923
- method: "POST",
17924
- headers: { "Content-Type": "application/json" },
17925
- body: JSON.stringify({ inputs, revision: automation.revision, clientRequestId: crypto.randomUUID() })
17926
- });
17927
- setRun(data.run);
17928
- } catch (cause) {
17929
- setError(recordingErrorMessage(cause));
17930
- } finally {
17931
- setBusy(false);
17932
- }
17933
- };
17934
- const act = async (operation) => {
17935
- setBusy(true);
17936
- setError("");
17937
- try {
17938
- if (operation === "start") {
17939
- if (selectedTab === void 0) return;
17940
- await chrome.tabs.update(selectedTab, { active: true });
17941
- setRun(void 0);
17942
- }
17943
- setSession(await command(operation, operation === "start" ? selectedTab : void 0));
17944
- } catch (cause) {
17945
- setError(recordingErrorMessage(cause));
17946
- } finally {
17947
- setBusy(false);
17948
- }
17949
- };
17950
- const page = pages.find((tab) => tab.id === (active || syncing ? session.tabId : selectedTab));
17951
- const status = active ? session.state === "paused" ? "recordingPaused" : "recordingActive" : saved ? "recordingSavedShort" : session?.state === "stopped" ? "recordingSaving" : session?.state === "interrupted" ? "recordingInterrupted" : "recordingReady";
17952
- const runStatus = run?.businessOutcome === "unknown" ? t("recordingUnknown") : run?.status === "succeeded" ? t("recordingCompleted") : run?.status === "cancelled" ? t("recordingStopped") : run?.status === "failed" ? recordingErrorMessage(run.error || t("recordingRequestFailed")) : t("recordingRunning");
17953
- if (!visible) return null;
17954
- return /* @__PURE__ */ jsxRuntimeExports.jsxs("section", { id: "browser-recording-panel", className: "recording-panel", "data-state": active ? session.state : syncing ? "syncing" : saved ? "saved" : "ready", "aria-label": t("recordingTitle"), "aria-busy": busy, children: [
17955
- /* @__PURE__ */ jsxRuntimeExports.jsxs("header", { className: "recording-heading", children: [
17956
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "recording-icon", children: saved ? /* @__PURE__ */ jsxRuntimeExports.jsx(CheckIcon, {}) : /* @__PURE__ */ jsxRuntimeExports.jsx(PageIcon, {}) }),
17957
- /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "recording-heading-text", children: [
17958
- /* @__PURE__ */ jsxRuntimeExports.jsx("strong", { children: saved && automation ? automation.definition.name : t("recordingTitle") }),
17959
- /* @__PURE__ */ jsxRuntimeExports.jsx("p", { children: active ? t("recordingActiveHelp") : saved ? t("recordingSaved") : t("recordingDescription") })
17960
- ] }),
17961
- (active || saved || session?.state === "stopped" || session?.state === "interrupted" || selectedTab !== void 0) && /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: `recording-status ${active && session.state === "recording" ? "is-recording" : saved ? "is-saved" : ""}`, role: "status", children: [
17962
- /* @__PURE__ */ jsxRuntimeExports.jsx("i", {}),
17963
- t(status)
17964
- ] }),
17965
- !required && onClose && /* @__PURE__ */ jsxRuntimeExports.jsx("button", { className: "header-icon-button", onClick: onClose, "aria-label": t("recordingHide"), title: t("recordingHide"), children: /* @__PURE__ */ jsxRuntimeExports.jsx(CloseIcon, {}) })
17966
- ] }),
17967
- !active && !syncing && (!saved || selectedTab === void 0) && (pagesLoading ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "recording-skeleton" }) : pages.length ? /* @__PURE__ */ jsxRuntimeExports.jsxs("label", { className: "recording-target-label", children: [
17968
- t("recordingTarget"),
17969
- /* @__PURE__ */ jsxRuntimeExports.jsxs("select", { className: "recording-page-select", value: selectedTab ?? "", disabled: busy, onChange: (event) => {
17970
- setSelectedTab(Number(event.target.value));
17971
- setError("");
17972
- }, children: [
17973
- /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: "", disabled: true, children: t("recordingChoosePage") }),
17974
- pages.map((tab) => /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: tab.id, children: tab.title || new URL(tab.url).hostname }, tab.id))
17975
- ] })
17976
- ] }) : /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "recording-hint", children: t("recordingChooseWebsite") })),
17977
- page && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "recording-page", children: [
17978
- /* @__PURE__ */ jsxRuntimeExports.jsx(GlobeIcon, {}),
17979
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: new URL(page.url).hostname }),
17980
- active && /* @__PURE__ */ jsxRuntimeExports.jsx("strong", { children: page.title })
17981
- ] }),
17982
- syncing && /* @__PURE__ */ jsxRuntimeExports.jsxs("p", { className: "recording-sync", role: "status", children: [
17983
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "recording-spinner", "aria-hidden": "true" }),
17984
- /* @__PURE__ */ jsxRuntimeExports.jsx("span", { children: t("recordingSyncing") })
17985
- ] }),
17986
- session?.state === "interrupted" && /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "recording-hint", children: t("recordingInterruptedHelp") }),
17987
- automation && Object.keys(automation.definition.inputs).length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsxs("details", { className: "recording-parameters", children: [
17988
- /* @__PURE__ */ jsxRuntimeExports.jsx("summary", { children: t("recordingParameters") }),
17989
- Object.entries(automation.definition.inputs).map(([key, spec]) => /* @__PURE__ */ jsxRuntimeExports.jsxs("label", { className: `recording-input ${spec.type === "boolean" ? "is-checkbox" : ""}`, children: [
17990
- spec.description || key,
17991
- /* @__PURE__ */ jsxRuntimeExports.jsx(
17992
- "input",
17993
- {
17994
- type: spec.type === "boolean" ? "checkbox" : spec.type === "number" ? "number" : "text",
17995
- checked: spec.type === "boolean" ? !!inputs[key] : void 0,
17996
- value: spec.type === "boolean" ? void 0 : String(inputs[key] ?? ""),
17997
- onChange: (event) => setInputs((current) => ({ ...current, [key]: spec.type === "boolean" ? event.target.checked : spec.type === "number" ? Number(event.target.value) : event.target.value }))
17998
- }
17999
- )
18000
- ] }, key))
18001
- ] }),
18002
- !syncing && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "recording-actions", children: active ? /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
18003
- /* @__PURE__ */ jsxRuntimeExports.jsx("button", { className: "recording-button", disabled: busy, onClick: () => void act(session.state === "paused" ? "resume" : "pause"), children: t(session.state === "paused" ? "recordingResume" : "recordingPause") }),
18004
- /* @__PURE__ */ jsxRuntimeExports.jsxs("button", { className: "recording-button is-primary", disabled: busy, onClick: () => void act("finish"), children: [
18005
- busy ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "recording-spinner", "aria-hidden": "true" }) : /* @__PURE__ */ jsxRuntimeExports.jsx(StopIcon, {}),
18006
- t("recordingFinish")
18007
- ] })
18008
- ] }) : /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
18009
- automation && /* @__PURE__ */ jsxRuntimeExports.jsx("button", { className: "recording-button is-primary", disabled: busy || !!run && ["queued", "running"].includes(run.status), onClick: () => void runSaved(), children: t("recordingRun") }),
18010
- /* @__PURE__ */ jsxRuntimeExports.jsxs("button", { className: `recording-button ${saved ? "" : "is-primary"}`, disabled: busy || pagesLoading || selectedTab === void 0, onClick: () => void act("start"), children: [
18011
- busy ? /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "recording-spinner", "aria-hidden": "true" }) : /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "recording-button-dot" }),
18012
- t(saved ? "recordingNew" : "recordingStart")
18013
- ] })
18014
- ] }) }),
18015
- run && /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "recording-run-status", role: "status", children: runStatus }),
18016
- run?.status === "succeeded" && /* @__PURE__ */ jsxRuntimeExports.jsx("pre", { className: "recording-result", children: typeof run.result === "object" && run.result !== null ? Object.entries(run.result).map(([key, value]) => `${key}: ${typeof value === "string" ? value : JSON.stringify(value)}`).join("\n") : String(run.result ?? "") }),
18017
- (error || session?.error) && /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "recording-error", role: "alert", children: recordingErrorMessage(error || session.error) })
18018
- ] });
18019
- }
18020
-
18021
17696
  function appendPageContext(pages, page) {
18022
17697
  const others = pages.filter((item) => item.tabId !== page.tabId || Boolean(item.context.selection) !== Boolean(page.context.selection));
18023
17698
  if (others.length >= MAX_BROWSER_CONTEXTS_PER_TURN) throw new Error(t("errorPageLimit", String(MAX_BROWSER_CONTEXTS_PER_TURN)));
@@ -18332,6 +18007,109 @@ class PcmWavRecorder {
18332
18007
  }
18333
18008
  }
18334
18009
 
18010
+ function IconBase({ children, ...props }) {
18011
+ return /* @__PURE__ */ jsxRuntimeExports.jsx("svg", { "aria-hidden": "true", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", ...props, children });
18012
+ }
18013
+ function ChevronDownIcon(props) {
18014
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(IconBase, { ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "m7 10 5 5 5-5" }) });
18015
+ }
18016
+ function ArrowDownIcon(props) {
18017
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(IconBase, { ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M12 5v14M6 13l6 6 6-6" }) });
18018
+ }
18019
+ function PlusIcon(props) {
18020
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(IconBase, { ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M12 5v14M5 12h14" }) });
18021
+ }
18022
+ function SearchIcon(props) {
18023
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(IconBase, { ...props, children: [
18024
+ /* @__PURE__ */ jsxRuntimeExports.jsx("circle", { cx: "11", cy: "11", r: "7" }),
18025
+ /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "m20 20-4-4" })
18026
+ ] });
18027
+ }
18028
+ function PaperclipIcon(props) {
18029
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(IconBase, { ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "m20.5 11.5-8.9 8.9a6 6 0 0 1-8.5-8.5l9.5-9.5a4 4 0 0 1 5.7 5.7l-9.5 9.5A2 2 0 0 1 6 14.8l8.8-8.8" }) });
18030
+ }
18031
+ function PageIcon(props) {
18032
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(IconBase, { ...props, children: [
18033
+ /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8Z" }),
18034
+ /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M14 2v6h6M8 13h8M8 17h5" })
18035
+ ] });
18036
+ }
18037
+ function SelectionIcon(props) {
18038
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(IconBase, { ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M8 4H5a1 1 0 0 0-1 1v3M16 4h3a1 1 0 0 1 1 1v3M20 16v3a1 1 0 0 1-1 1h-3M8 20H5a1 1 0 0 1-1-1v-3M8 9h8M8 13h6" }) });
18039
+ }
18040
+ function CameraIcon(props) {
18041
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(IconBase, { ...props, children: [
18042
+ /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M14.5 4 16 7h3a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h3l1.5-3Z" }),
18043
+ /* @__PURE__ */ jsxRuntimeExports.jsx("circle", { cx: "12", cy: "13", r: "3" })
18044
+ ] });
18045
+ }
18046
+ function FileIcon(props) {
18047
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(IconBase, { ...props, children: [
18048
+ /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8Z" }),
18049
+ /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M14 2v6h6" })
18050
+ ] });
18051
+ }
18052
+ function EyeIcon(props) {
18053
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(IconBase, { ...props, children: [
18054
+ /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6S2 12 2 12Z" }),
18055
+ /* @__PURE__ */ jsxRuntimeExports.jsx("circle", { cx: "12", cy: "12", r: "2.5" })
18056
+ ] });
18057
+ }
18058
+ function CursorIcon(props) {
18059
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(IconBase, { ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "m5 3 14 9-6 2-3 6Z" }) });
18060
+ }
18061
+ function SendIcon(props) {
18062
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(IconBase, { ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "m5 12 7-7 7 7M12 19V5" }) });
18063
+ }
18064
+ function StopIcon(props) {
18065
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(IconBase, { ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx("rect", { x: "7", y: "7", width: "10", height: "10", rx: "1.5", fill: "currentColor", stroke: "none" }) });
18066
+ }
18067
+ function CopyIcon(props) {
18068
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(IconBase, { ...props, children: [
18069
+ /* @__PURE__ */ jsxRuntimeExports.jsx("rect", { x: "9", y: "9", width: "11", height: "11", rx: "2" }),
18070
+ /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M15 9V6a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h3" })
18071
+ ] });
18072
+ }
18073
+ function CheckIcon(props) {
18074
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(IconBase, { ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "m5 12 4 4L19 6" }) });
18075
+ }
18076
+ function CloseIcon(props) {
18077
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(IconBase, { ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "m6 6 12 12M18 6 6 18" }) });
18078
+ }
18079
+ function SparkleIcon(props) {
18080
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(IconBase, { ...props, children: /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M12 3c.7 4.4 3.6 7.3 8 8-4.4.7-7.3 3.6-8 8-.7-4.4-3.6-7.3-8-8 4.4-.7 7.3-3.6 8-8Z" }) });
18081
+ }
18082
+ function AlertIcon(props) {
18083
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(IconBase, { ...props, children: [
18084
+ /* @__PURE__ */ jsxRuntimeExports.jsx("circle", { cx: "12", cy: "12", r: "9" }),
18085
+ /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M12 8v5M12 16.5h.01" })
18086
+ ] });
18087
+ }
18088
+ function SettingsIcon(props) {
18089
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(IconBase, { ...props, children: [
18090
+ /* @__PURE__ */ jsxRuntimeExports.jsx("circle", { cx: "12", cy: "12", r: "3" }),
18091
+ /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M19.4 15a1.7 1.7 0 0 0 .34 1.88l.06.06-2.86 2.86-.06-.06A1.7 1.7 0 0 0 15 19.4a1.7 1.7 0 0 0-1 .6 1.7 1.7 0 0 0-.4 1.1V21H9.55v-.1A1.7 1.7 0 0 0 8.5 19.4a1.7 1.7 0 0 0-1.88.34l-.06.06-2.86-2.86.06-.06A1.7 1.7 0 0 0 4.1 15a1.7 1.7 0 0 0-.6-1 1.7 1.7 0 0 0-1.1-.4H2V9.55h.4A1.7 1.7 0 0 0 4.1 8.5a1.7 1.7 0 0 0-.34-1.88l-.06-.06L6.56 3.7l.06.06A1.7 1.7 0 0 0 8.5 4.1a1.7 1.7 0 0 0 1-.6 1.7 1.7 0 0 0 .4-1.1V2h4.05v.4A1.7 1.7 0 0 0 15 4.1a1.7 1.7 0 0 0 1.88-.34l.06-.06 2.86 2.86-.06.06A1.7 1.7 0 0 0 19.4 8.5a1.7 1.7 0 0 0 .6 1 1.7 1.7 0 0 0 1.1.4h.4v4.05h-.4A1.7 1.7 0 0 0 19.4 15Z" })
18092
+ ] });
18093
+ }
18094
+ function SunIcon(props) {
18095
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(IconBase, { ...props, children: [
18096
+ /* @__PURE__ */ jsxRuntimeExports.jsx("circle", { cx: "12", cy: "12", r: "4" }),
18097
+ /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M12 2v2M12 20v2M4.93 4.93l1.42 1.42M17.66 17.66l1.41 1.41M2 12h2M20 12h2M4.93 19.07l1.42-1.42M17.66 6.34l1.41-1.41" })
18098
+ ] });
18099
+ }
18100
+ function GlobeIcon(props) {
18101
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(IconBase, { ...props, children: [
18102
+ /* @__PURE__ */ jsxRuntimeExports.jsx("circle", { cx: "12", cy: "12", r: "9" }),
18103
+ /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M3 12h18M12 3a15 15 0 0 1 0 18M12 3a15 15 0 0 0 0 18" })
18104
+ ] });
18105
+ }
18106
+ function MicrophoneIcon(props) {
18107
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(IconBase, { ...props, children: [
18108
+ /* @__PURE__ */ jsxRuntimeExports.jsx("rect", { x: "9", y: "2", width: "6", height: "12", rx: "3" }),
18109
+ /* @__PURE__ */ jsxRuntimeExports.jsx("path", { d: "M5 10v2a7 7 0 0 0 14 0v-2M12 19v3M8 22h8" })
18110
+ ] });
18111
+ }
18112
+
18335
18113
  function VoiceInput({ disabled, onTranscript, onBusy }) {
18336
18114
  const [state, setState] = reactExports.useState("idle");
18337
18115
  const [error, setError] = reactExports.useState("");
@@ -46481,8 +46259,6 @@ function SidePanelApp({ initialLocale, initialTheme }) {
46481
46259
  const [nextOrigin, setNextOrigin] = reactExports.useState();
46482
46260
  const [locale, setLocale] = reactExports.useState(initialLocale);
46483
46261
  const [theme, setTheme] = reactExports.useState(initialTheme);
46484
- const [recordingOpen, setRecordingOpen] = reactExports.useState(false);
46485
- const [recordingRequired, setRecordingRequired] = reactExports.useState(false);
46486
46262
  const [settingsOpen, setSettingsOpen] = reactExports.useState(false);
46487
46263
  const initializationStarted = reactExports.useRef(false);
46488
46264
  const pairingStarted = reactExports.useRef(false);
@@ -46581,7 +46357,6 @@ function SidePanelApp({ initialLocale, initialTheme }) {
46581
46357
  async function disconnect() {
46582
46358
  await revokeAndForgetProfile();
46583
46359
  setProfile(void 0);
46584
- setRecordingOpen(false);
46585
46360
  setLocalInvitation("");
46586
46361
  setState("unpaired");
46587
46362
  }
@@ -46623,19 +46398,6 @@ function SidePanelApp({ initialLocale, initialTheme }) {
46623
46398
  state === "pairing" ? t("statusPairing") : state === "loading" ? t("statusStarting") : t("statusSetupRequired")
46624
46399
  ] }) : null,
46625
46400
  /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "header-actions", children: [
46626
- state === "online" && /* @__PURE__ */ jsxRuntimeExports.jsx(
46627
- "button",
46628
- {
46629
- className: "header-icon-button",
46630
- onClick: () => setRecordingOpen((open) => !open),
46631
- title: t("recordingTitle"),
46632
- "aria-label": t("recordingTitle"),
46633
- "aria-expanded": recordingOpen || recordingRequired,
46634
- "aria-controls": "browser-recording-panel",
46635
- disabled: recordingRequired,
46636
- children: /* @__PURE__ */ jsxRuntimeExports.jsx(PageIcon, {})
46637
- }
46638
- ),
46639
46401
  /* @__PURE__ */ jsxRuntimeExports.jsx(
46640
46402
  "button",
46641
46403
  {
@@ -46721,10 +46483,7 @@ function SidePanelApp({ initialLocale, initialTheme }) {
46721
46483
  invitation ? /* @__PURE__ */ jsxRuntimeExports.jsx("button", { onClick: () => void cancelPairing(), disabled: state === "pairing", children: t("cancelPairing") }) : null
46722
46484
  ] })
46723
46485
  ] }) : null
46724
- ] }) : /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
46725
- /* @__PURE__ */ jsxRuntimeExports.jsx(RecordingPanel, { open: recordingOpen, onClose: () => setRecordingOpen(false), onRequiredChange: setRecordingRequired }),
46726
- /* @__PURE__ */ jsxRuntimeExports.jsx(ChatPanel, { gatewayId: profile.gatewayId, deviceId: profile.deviceId }, JSON.stringify([profile.gatewayId, profile.gatewayUrl, profile.deviceId]))
46727
- ] })
46486
+ ] }) : /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, { children: /* @__PURE__ */ jsxRuntimeExports.jsx(ChatPanel, { gatewayId: profile.gatewayId, deviceId: profile.deviceId }, JSON.stringify([profile.gatewayId, profile.gatewayUrl, profile.deviceId])) })
46728
46487
  ] });
46729
46488
  }
46730
46489
 
@@ -3,7 +3,7 @@
3
3
  "minimum_chrome_version": "120",
4
4
  "default_locale": "en",
5
5
  "name": "__MSG_appName__",
6
- "version": "0.0.441",
6
+ "version": "0.0.442",
7
7
  "description": "__MSG_appDescription__",
8
8
  "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqnpr4vpLC/nmvy+wiOWk3SWlp2nEZkFijfk8ivGw7StNZgCK90nOMvwhdEtlkk3GOWDvdVnq8HxCsM3UNQ8FnGUyerpH1FJXqXuradxeHf8ZxFjiQU/mIWfnKbUuONWQORon3/pigyoXoK/VUXgg0Wbm/rbVwsS0bv+25R6m+mZgBspOLeKuoH7ivhL+48WV6POtMBsFPZweY26477EM7ukh+56Ff5ENevB8ymxBBn7qK5ZoeZd2a23U8ioX5TsHfe6fnrjitPWjIxD8G0NoKQxcaa/Mo+xs+T6UiLKxP0wjz5bm7jB5H+CXtkRJqzBWUB0h+RSLJckzZfA8BAJrRwIDAQAB",
9
9
  "permissions": [
@@ -2,7 +2,7 @@
2
2
  "id": "telegram",
3
3
  "name": "Telegram Channel",
4
4
  "description": "Bundled Telegram Bot channel (private workspace sources; ships inside @xopcai/xopc dist/)",
5
- "version": "0.0.441",
5
+ "version": "0.0.442",
6
6
  "kind": "channel",
7
7
  "main": "src/index.js",
8
8
  "channels": [
@@ -1 +1 @@
1
- import{p as e}from"./locale-store-DGtk-KSF.js";var t=`xopc.activity-center.v2`,n=80,r=720*60*60*1e3;function i(e){return e===`error`?`failed`:e===`warning`?`attention`:`done`}function a(){if(!(typeof window>`u`))return window.location.hash.replace(/^#/,``)||`${window.location.pathname}${window.location.search}`||void 0}function o(){try{let e=globalThis.localStorage?.getItem(t);if(!e)return[];let i=JSON.parse(e);if(!Array.isArray(i.items))return[];let a=Date.now()-r,o=i.items.filter(e=>e&&typeof e.id==`string`&&typeof e.title==`string`).filter(e=>Number.isFinite(e.updatedAt)&&e.updatedAt>=a).slice(0,n);return o.length!==i.items.length&&s(o),o}catch{return[]}}function s(e){try{globalThis.localStorage?.setItem(t,JSON.stringify({items:e}))}catch{}}function c(e){return`${e.toString(36)}-${Math.random().toString(36).slice(2,8)}`}var l=e(e=>({items:o(),add:t=>e(e=>{let r=t.title.trim();if(!r)return e;let o=Date.now(),l=t.tone??`info`,u=t.dedupeKey?e.items.findIndex(e=>e.dedupeKey===t.dedupeKey):-1,d=[{id:u>=0?e.items[u].id:c(o),tone:l,status:t.status??i(l),title:r,message:t.message?.trim()||void 0,source:t.source?.trim()||void 0,href:t.href??a(),dedupeKey:t.dedupeKey,createdAt:u>=0?e.items[u].createdAt:o,updatedAt:o,read:t.read??!1,occurrences:u>=0?e.items[u].occurrences+1:1},...u>=0?e.items.filter((e,t)=>t!==u):e.items].slice(0,n);return s(d),{items:d}}),markAllRead:()=>e(e=>{let t=e.items.map(e=>({...e,read:!0}));return s(t),{items:t}}),markRead:t=>e(e=>{let n=e.items.map(e=>e.id===t?{...e,read:!0}:e);return s(n),{items:n}}),remove:t=>e(e=>{let n=e.items.filter(e=>e.id!==t);return s(n),{items:n}}),clearFinished:()=>e(e=>{let t=e.items.filter(e=>e.status!==`done`);return s(t),{items:t}}),clear:()=>{s([]),e({items:[]})}}));function u(e){l.getState().add(e)}export{l as n,u as t};
1
+ import{p as e}from"./locale-store-Bld7_m-Q.js";var t=`xopc.activity-center.v2`,n=80,r=720*60*60*1e3;function i(e){return e===`error`?`failed`:e===`warning`?`attention`:`done`}function a(){if(!(typeof window>`u`))return window.location.hash.replace(/^#/,``)||`${window.location.pathname}${window.location.search}`||void 0}function o(){try{let e=globalThis.localStorage?.getItem(t);if(!e)return[];let i=JSON.parse(e);if(!Array.isArray(i.items))return[];let a=Date.now()-r,o=i.items.filter(e=>e&&typeof e.id==`string`&&typeof e.title==`string`).filter(e=>Number.isFinite(e.updatedAt)&&e.updatedAt>=a).slice(0,n);return o.length!==i.items.length&&s(o),o}catch{return[]}}function s(e){try{globalThis.localStorage?.setItem(t,JSON.stringify({items:e}))}catch{}}function c(e){return`${e.toString(36)}-${Math.random().toString(36).slice(2,8)}`}var l=e(e=>({items:o(),add:t=>e(e=>{let r=t.title.trim();if(!r)return e;let o=Date.now(),l=t.tone??`info`,u=t.dedupeKey?e.items.findIndex(e=>e.dedupeKey===t.dedupeKey):-1,d=[{id:u>=0?e.items[u].id:c(o),tone:l,status:t.status??i(l),title:r,message:t.message?.trim()||void 0,source:t.source?.trim()||void 0,href:t.href??a(),dedupeKey:t.dedupeKey,createdAt:u>=0?e.items[u].createdAt:o,updatedAt:o,read:t.read??!1,occurrences:u>=0?e.items[u].occurrences+1:1},...u>=0?e.items.filter((e,t)=>t!==u):e.items].slice(0,n);return s(d),{items:d}}),markAllRead:()=>e(e=>{let t=e.items.map(e=>({...e,read:!0}));return s(t),{items:t}}),markRead:t=>e(e=>{let n=e.items.map(e=>e.id===t?{...e,read:!0}:e);return s(n),{items:n}}),remove:t=>e(e=>{let n=e.items.filter(e=>e.id!==t);return s(n),{items:n}}),clearFinished:()=>e(e=>{let t=e.items.filter(e=>e.status!==`done`);return s(t),{items:t}}),clear:()=>{s([]),e({items:[]})}}));function u(e){l.getState().add(e)}export{l as n,u as t};