@xopcai/xopc 0.0.368 → 0.0.370

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 (516) hide show
  1. package/README.md +59 -174
  2. package/README.zh-CN.md +59 -174
  3. package/dist/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/esm/_md.js +131 -0
  4. package/dist/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/esm/_u64.js +30 -0
  5. package/dist/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/esm/sha2.js +252 -0
  6. package/dist/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/esm/sha256.js +16 -0
  7. package/dist/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/esm/utils.js +66 -0
  8. package/dist/browser-ext/_locales/en/messages.json +30 -1
  9. package/dist/browser-ext/_locales/zh_CN/messages.json +30 -1
  10. package/dist/browser-ext/dist/assets/{auth-beGtbLPS.js → page-context-BeworyNB.js} +1331 -1355
  11. package/dist/browser-ext/dist/assets/{sidepanel-BT0ojEzG.css → sidepanel-Ccl0eSa1.css} +43 -0
  12. package/dist/browser-ext/dist/background.js +680 -182
  13. package/dist/browser-ext/dist/sidepanel.html +2 -2
  14. package/dist/browser-ext/dist/sidepanel.js +393 -194
  15. package/dist/browser-ext/manifest.json +2 -8
  16. package/dist/extensions/telegram/xopc.extension.json +1 -1
  17. package/dist/gateway/static/root/assets/{activity-store-D9ZMh5ZR.js → activity-store-BQ3PMp2q.js} +1 -1
  18. package/dist/gateway/static/root/assets/{agent-avatar-dicebear-Bj3rvcTm.js → agent-avatar-dicebear-C61i1QbX.js} +1 -1
  19. package/dist/gateway/static/root/assets/agent-defaults-settings-panel-0fCR1DHx.js +1 -0
  20. package/dist/gateway/static/root/assets/agent-plugin-dialog-Di99mUTT.js +1 -0
  21. package/dist/gateway/static/root/assets/agents-BRZZmYH_.js +66 -0
  22. package/dist/gateway/static/root/assets/{agents-admin-api-B5QDepbW.js → agents-admin-api-HBZvVyzF.js} +1 -1
  23. package/dist/gateway/static/root/assets/{app-management-settings-panel-2rTEtB_X.js → app-management-settings-panel-noqqxkds.js} +1 -1
  24. package/dist/gateway/static/root/assets/{appearance-settings-BPVBS80k.js → appearance-settings-DG8QN0gR.js} +1 -1
  25. package/dist/gateway/static/root/assets/{apps-page-1FuKlZYP.js → apps-page-CgiyzFYo.js} +1 -1
  26. package/dist/gateway/static/root/assets/{archive-plugin-BbT1O7oK.js → archive-plugin-BO3I9zRP.js} +1 -1
  27. package/dist/gateway/static/root/assets/{automations-page-DjwP_h8h.js → automations-page-CgAcRFDS.js} +1 -1
  28. package/dist/gateway/static/root/assets/automations-workspace-BIkxIpab.js +6 -0
  29. package/dist/gateway/static/root/assets/{binary-plugins-gS7Wg68v.js → binary-plugins-gFD7vH9R.js} +1 -1
  30. package/dist/gateway/static/root/assets/{block-editor-DbwMaivP.js → block-editor-B1VE-jAe.js} +2 -2
  31. package/dist/gateway/static/root/assets/browser-automation-inputs-DxRoKFun.js +1 -0
  32. package/dist/gateway/static/root/assets/browser-automations-page-CIjyMS6f.js +3 -0
  33. package/dist/gateway/static/root/assets/browser-settings-page-BMAivBfp.js +3 -0
  34. package/dist/gateway/static/root/assets/{capabilities-Lswa0hv8.js → capabilities-CY4SiHcP.js} +1 -1
  35. package/dist/gateway/static/root/assets/{capabilities-Dd1PZRQw.js → capabilities-gjQtMhKu.js} +1 -1
  36. package/dist/gateway/static/root/assets/capabilities-page-DRdcfo68.js +2 -0
  37. package/dist/gateway/static/root/assets/{capabilities-settings-panel-DTHR1DrJ.js → capabilities-settings-panel-ZuL6pWjM.js} +4 -4
  38. package/dist/gateway/static/root/assets/{capability-header-actions-494dnJsj.js → capability-header-actions-D0GC1FEv.js} +1 -1
  39. package/dist/gateway/static/root/assets/channels-CgE22Pzd.js +1 -0
  40. package/dist/gateway/static/root/assets/{chat-terminal-dock-Bl7-Zk-x.js → chat-terminal-dock-CEjh1utz.js} +2 -2
  41. package/dist/gateway/static/root/assets/{computer-settings-page-ByExKr_6.js → computer-settings-page-vFHJAmQr.js} +1 -1
  42. package/dist/gateway/static/root/assets/{connector-service-page-BK_5aFxO.js → connector-service-page-DTrwZ4kV.js} +1 -1
  43. package/dist/gateway/static/root/assets/connectors-page-DRcMiTWu.js +1 -0
  44. package/dist/gateway/static/root/assets/copy-text-row-C1gaJwlZ.js +1 -0
  45. package/dist/gateway/static/root/assets/{date-picker-BXJv6472.js → date-picker-NfGIPSYY.js} +1 -1
  46. package/dist/gateway/static/root/assets/dependency-picker-CqguveUi.js +1 -0
  47. package/dist/gateway/static/root/assets/{desktop-pet-DWNEC3mk.js → desktop-pet-CTx1zkJm.js} +1 -1
  48. package/dist/gateway/static/root/assets/{desktop-pet-settings-BYwlxGiN.js → desktop-pet-settings-BRDS3EGc.js} +1 -1
  49. package/dist/gateway/static/root/assets/{device-pairing-wizard-BAc4F35b.js → device-pairing-wizard-Du4Ciuyw.js} +1 -1
  50. package/dist/gateway/static/root/assets/{directory-picker-path-field-D26tSY8Z.js → directory-picker-path-field-CjstlxFl.js} +1 -1
  51. package/dist/gateway/static/root/assets/{extension-debug-page-xYIGNegB.js → extension-debug-page-BfAtjhoK.js} +1 -1
  52. package/dist/gateway/static/root/assets/{extension-page-BoQ1-3AW.js → extension-page-BJmudejr.js} +1 -1
  53. package/dist/gateway/static/root/assets/{extension-provider-Cw_JU6RR.js → extension-provider-Br6LXyIj.js} +1 -1
  54. package/dist/gateway/static/root/assets/{extension-settings-page-BH5TFGPe.js → extension-settings-page-UvmHniyz.js} +1 -1
  55. package/dist/gateway/static/root/assets/{fallback-models-04Wqmw14.js → fallback-models-euw9MGdt.js} +1 -1
  56. package/dist/gateway/static/root/assets/{gateway-config-swr-CNf0ZeRw.js → gateway-config-swr-7RKqgU_U.js} +1 -1
  57. package/dist/gateway/static/root/assets/gateway-realtime-F6D4A7N5.js +1 -0
  58. package/dist/gateway/static/root/assets/gateway-realtime-store-BheKaO6d.js +1 -0
  59. package/dist/gateway/static/root/assets/{gateway-settings-BqvCJVUC.js → gateway-settings-C7roPHh1.js} +1 -1
  60. package/dist/gateway/static/root/assets/{gateway-startup-retry-DIxHacUw.js → gateway-startup-retry-jiV5sbEX.js} +1 -1
  61. package/dist/gateway/static/root/assets/home-page-BGNCTtM3.js +2 -0
  62. package/dist/gateway/static/root/assets/{image-generation-api-CS0q0Kto.js → image-generation-api-DO4mXb6I.js} +1 -1
  63. package/dist/gateway/static/root/assets/{imports-page-n_rSLo6b.js → imports-page-DxCoT0VV.js} +1 -1
  64. package/dist/gateway/static/root/assets/index-BGBkIIzM.css +1 -0
  65. package/dist/gateway/static/root/assets/index-FCEE325-.js +106 -0
  66. package/dist/gateway/static/root/assets/{keyboard-shortcuts-settings-tVkrHbYF.js → keyboard-shortcuts-settings-CnLln9Ds.js} +1 -1
  67. package/dist/gateway/static/root/assets/{local-app-workbench-page-L8tYuas0.js → local-app-workbench-page-yXRkSrEj.js} +1 -1
  68. package/dist/gateway/static/root/assets/{local-apps-page-SSJ9B1bH.js → local-apps-page-D46buzTk.js} +1 -1
  69. package/dist/gateway/static/root/assets/local-session-drafts-pox8evDV.js +1 -0
  70. package/dist/gateway/static/root/assets/{locale-store-D6_rF-qT.js → locale-store-COVscAqC.js} +1 -1
  71. package/dist/gateway/static/root/assets/logs-page-DmcCHnH0.js +2 -0
  72. package/dist/gateway/static/root/assets/management-settings-khN1ThNL.js +1 -0
  73. package/dist/gateway/static/root/assets/{markdown-view-_xwUuKce.js → markdown-view-B_qnAcW2.js} +1 -1
  74. package/dist/gateway/static/root/assets/{media-plugins-C631CDu4.js → media-plugins-C0Pc-wSY.js} +1 -1
  75. package/dist/gateway/static/root/assets/messages-Bb2GK-Nj.js +3 -0
  76. package/dist/gateway/static/root/assets/models-hub-cache-DyPPksMP.js +1 -0
  77. package/dist/gateway/static/root/assets/note-detail-panel-C_t58yha.js +5 -0
  78. package/dist/gateway/static/root/assets/{notes-api-vIZWQ9Yt.js → notes-api-sBgBcyLW.js} +1 -1
  79. package/dist/gateway/static/root/assets/notes-page-BJ0QS6xx.js +8 -0
  80. package/dist/gateway/static/root/assets/{page-context-capture-button-BlPDM7GM.js → page-context-capture-button-DfRODHv1.js} +1 -1
  81. package/dist/gateway/static/root/assets/personal-page-CiiXwwQE.js +1 -0
  82. package/dist/gateway/static/root/assets/{product-open-page-BJjWvoER.js → product-open-page-_Bp6HRmm.js} +1 -1
  83. package/dist/gateway/static/root/assets/{product-preview-content-CEd4E7Gf.js → product-preview-content-BUdiO0Ct.js} +1 -1
  84. package/dist/gateway/static/root/assets/project-detail-page-Clb-fXYk.js +1 -0
  85. package/dist/gateway/static/root/assets/{projects-page-lszV8HuS.js → projects-page-D9JEEqhh.js} +1 -1
  86. package/dist/gateway/static/root/assets/{registry-api-uJnjqTcn.js → registry-api-Bh9UBb-f.js} +1 -1
  87. package/dist/gateway/static/root/assets/remote-access-hub-CmyTq3_l.js +1 -0
  88. package/dist/gateway/static/root/assets/{runtime-tools-settings-panel-CjnNQYW8.js → runtime-tools-settings-panel-B1_inj8L.js} +1 -1
  89. package/dist/gateway/static/root/assets/{scenes-page-B3T3dDOR.js → scenes-page-CUNAZN2_.js} +2 -2
  90. package/dist/gateway/static/root/assets/{schema-form-DT3c4Vd_.js → schema-form-CfT-9UVw.js} +1 -1
  91. package/dist/gateway/static/root/assets/{send-session-input-CICkGwn-.js → send-session-input-BW40VHiL.js} +1 -1
  92. package/dist/gateway/static/root/assets/{session-api-BcQodoAu.js → session-api-yjpEz4pP.js} +1 -1
  93. package/dist/gateway/static/root/assets/session-manager-BqlvrjPE.js +16 -0
  94. package/dist/gateway/static/root/assets/sessions-page-CXZKScvu.js +1 -0
  95. package/dist/gateway/static/root/assets/settings-advanced-gate-B2vKXmzg.js +1 -0
  96. package/dist/gateway/static/root/assets/{settings-page-D-PZjcss.js → settings-page-1h3vyueg.js} +1 -1
  97. package/dist/gateway/static/root/assets/setup-status-panel-Cqc7UlZy.js +1 -0
  98. package/dist/gateway/static/root/assets/{share-link-dialog-CWS8EkJS.js → share-link-dialog-HCHM8qnf.js} +1 -1
  99. package/dist/gateway/static/root/assets/{share-preview-page-23NJAKiq.js → share-preview-page-Ce6FNWt1.js} +1 -1
  100. package/dist/gateway/static/root/assets/{shares-api-iKhHbvBD.js → shares-api-c0dfWz6h.js} +1 -1
  101. package/dist/gateway/static/root/assets/shares-settings-Dh5jisCK.js +1 -0
  102. package/dist/gateway/static/root/assets/{skill-api-C-MWdQwl.js → skill-api-deDZeQS8.js} +1 -1
  103. package/dist/gateway/static/root/assets/{skill-reload-api-iy02aB13.js → skill-reload-api-Ge5XymHa.js} +1 -1
  104. package/dist/gateway/static/root/assets/skills-page-DZozl9U_.js +2 -0
  105. package/dist/gateway/static/root/assets/system-settings-panel-CtzyMxqq.js +1 -0
  106. package/dist/gateway/static/root/assets/{task-detail-page-B2SIEyhZ.js → task-detail-page-5f_V0h-p.js} +2 -2
  107. package/dist/gateway/static/root/assets/{task-expandable-content-D2LRR4BC.js → task-expandable-content-hYcgCEE3.js} +1 -1
  108. package/dist/gateway/static/root/assets/{theme-store-BJfhz-Zq.js → theme-store-BOfCKgl6.js} +1 -1
  109. package/dist/gateway/static/root/assets/{tracing-settings-page-aHD56iaS.js → tracing-settings-page-DDWFXcST.js} +1 -1
  110. package/dist/gateway/static/root/assets/{tunnel-api-BCf8CfTC.js → tunnel-api-vMtlbJ-m.js} +1 -1
  111. package/dist/gateway/static/root/assets/{usage-page-B4XUkuJd.js → usage-page-B1-BCW8U.js} +1 -1
  112. package/dist/gateway/static/root/assets/{use-autosave-BnnTw9RE.js → use-autosave-CSckcjFx.js} +1 -1
  113. package/dist/gateway/static/root/assets/{use-composer-attachments-Itczg0y1.js → use-composer-attachments-DJya1hIL.js} +1 -1
  114. package/dist/gateway/static/root/assets/use-file-preview-expanded-C5ONO7sF.js +2 -0
  115. package/dist/gateway/static/root/assets/user-model-page-D4BSq9HJ.js +2 -0
  116. package/dist/gateway/static/root/assets/{voice-api-key-field-BphJku8x.js → voice-api-key-field-GEw5x2fU.js} +1 -1
  117. package/dist/gateway/static/root/assets/{voice-config-api-B4u4coFj.js → voice-config-api-3yyVwXln.js} +1 -1
  118. package/dist/gateway/static/root/assets/{work-discovery-overlay-jgOEP1xw.js → work-discovery-overlay-CjiNYJV5.js} +1 -1
  119. package/dist/gateway/static/root/assets/{workflow-run-setup-panel-N69crzRu.js → workflow-run-setup-panel-DJOetXvm.js} +2 -2
  120. package/dist/gateway/static/root/assets/workflows-page-CcAPFh2R.js +6 -0
  121. package/dist/gateway/static/root/assets/{workspace-api-Lzv6GDO8.js → workspace-api-WhbMvdBE.js} +2 -2
  122. package/dist/gateway/static/root/index.html +32 -34
  123. package/dist/package.js +1 -1
  124. package/dist/packages/browser-control-contract/src/automation.js +213 -0
  125. package/dist/packages/browser-control-contract/src/index.js +43 -12
  126. package/dist/packages/endpoint-tools-client/src/index.js +189 -0
  127. package/dist/packages/endpoint-tools-protocol/src/bridge.js +105 -0
  128. package/dist/packages/endpoint-tools-protocol/src/index.js +93 -2
  129. package/dist/packages/endpoint-tools-protocol/src/location.js +109 -0
  130. package/dist/packages/gateway-contract/src/gateway-scopes.js +3 -1
  131. package/dist/packages/gateway-contract/src/notifications.js +1 -0
  132. package/dist/packages/gateway-contract/src/session-input-command.js +30 -5
  133. package/dist/packages/realtime-protocol/src/voice.js +9 -3
  134. package/dist/src/agent/agent-manager.js +22 -26
  135. package/dist/src/agent/coding/repository-instructions.js +8 -1
  136. package/dist/src/agent/embedded/codemode-extension.d.ts +7 -0
  137. package/dist/src/agent/embedded/codemode-extension.js +232 -0
  138. package/dist/src/agent/embedded/codemode-output.d.ts +2 -0
  139. package/dist/src/agent/embedded/codemode-output.js +34 -0
  140. package/dist/src/agent/embedded/external-tool-discovery.d.ts +6 -0
  141. package/dist/src/agent/embedded/external-tool-discovery.js +60 -0
  142. package/dist/src/agent/embedded/model-runtime.js +5 -2
  143. package/dist/src/agent/embedded/run-for-session.js +10 -1
  144. package/dist/src/agent/embedded/run-turn.js +10 -3
  145. package/dist/src/agent/embedded/session-runner.d.ts +9 -1
  146. package/dist/src/agent/embedded/session-runner.js +111 -23
  147. package/dist/src/agent/embedded/session-tool-result-guard.d.ts +2 -0
  148. package/dist/src/agent/embedded/session-tool-result-guard.js +17 -0
  149. package/dist/src/agent/embedded/subscribe-session.js +14 -4
  150. package/dist/src/agent/embedded/tool-metadata.d.ts +15 -0
  151. package/dist/src/agent/embedded/tool-metadata.js +38 -0
  152. package/dist/src/agent/embedded/tool-search-extension.d.ts +5 -0
  153. package/dist/src/agent/embedded/tool-search-extension.js +31 -0
  154. package/dist/src/agent/embedded/types.d.ts +7 -0
  155. package/dist/src/agent/embedded/xopc-tools-bridge.js +6 -0
  156. package/dist/src/agent/external-tools/endpoint-provider.d.ts +1 -1
  157. package/dist/src/agent/external-tools/endpoint-provider.js +148 -56
  158. package/dist/src/agent/external-tools/extension-provider.js +8 -1
  159. package/dist/src/agent/external-tools/gateway-tools.d.ts +1 -1
  160. package/dist/src/agent/external-tools/gateway-tools.js +45 -22
  161. package/dist/src/agent/external-tools/index.js +46 -14
  162. package/dist/src/agent/external-tools/memory-provider.js +8 -1
  163. package/dist/src/agent/external-tools/read-policy.js +2 -1
  164. package/dist/src/agent/external-tools/service.d.ts +2 -0
  165. package/dist/src/agent/external-tools/service.js +25 -3
  166. package/dist/src/agent/external-tools/tool-registry.d.ts +14 -0
  167. package/dist/src/agent/external-tools/tool-registry.js +14 -0
  168. package/dist/src/agent/external-tools/types.d.ts +8 -1
  169. package/dist/src/agent/external-tools/types.js +0 -1
  170. package/dist/src/agent/mcp/config.d.ts +18 -0
  171. package/dist/src/agent/mcp/{bundle-mcp-config.js → config.js} +8 -25
  172. package/dist/src/agent/mcp/native-mcp.d.ts +6 -0
  173. package/dist/src/agent/mcp/native-mcp.js +73 -0
  174. package/dist/src/agent/service.js +2 -5
  175. package/dist/src/agent/skills/installer.js +1 -1
  176. package/dist/src/agent/skills/skill-manager.js +1 -1
  177. package/dist/src/agent/skills/skill-sources.js +1 -1
  178. package/dist/src/agent/source-context/index.d.ts +0 -1
  179. package/dist/src/agent/source-context/index.js +1 -2
  180. package/dist/src/agent/source-context/injector.js +1 -0
  181. package/dist/src/agent/source-context/types.d.ts +2 -2
  182. package/dist/src/agent/source-context/types.js +1 -1
  183. package/dist/src/agent/tool-manuals/browser.d.ts +1 -1
  184. package/dist/src/agent/tool-manuals/browser.js +3 -3
  185. package/dist/src/agent/tools/browser/tool/browser-use-tool.js +1 -1
  186. package/dist/src/agent/tools/browser/tool/schemas.d.ts +0 -13
  187. package/dist/src/agent/tools/browser/tool/schemas.js +0 -4
  188. package/dist/src/agent/tools/browser-automation-tool.d.ts +74 -1
  189. package/dist/src/agent/tools/browser-automation-tool.js +52 -6
  190. package/dist/src/agent/tools/cli-clarify.js +1 -1
  191. package/dist/src/agent/tools/codemode-permissions.d.ts +4 -0
  192. package/dist/src/agent/tools/codemode-permissions.js +23 -0
  193. package/dist/src/agent/tools/dataBatch.js +3 -1
  194. package/dist/src/agent/tools/delegation-parent-policy.js +1 -4
  195. package/dist/src/agent/tools/factory.js +4 -3
  196. package/dist/src/agent/transcript/provider-capabilities.js +0 -1
  197. package/dist/src/agent/transcript/transcript-policy.js +1 -2
  198. package/dist/src/agent-config/schema.d.ts +28 -0
  199. package/dist/src/agent-config/schema.js +7 -0
  200. package/dist/src/auth/credentials.js +7 -20
  201. package/dist/src/auth/model-credential-store.js +11 -4
  202. package/dist/src/auth/oauth/index.d.ts +1 -1
  203. package/dist/src/auth/oauth/index.js +3 -3
  204. package/dist/src/auth/oauth/openai.d.ts +2 -0
  205. package/dist/src/auth/oauth/openai.js +90 -0
  206. package/dist/src/auth/oauth/registry.js +3 -3
  207. package/dist/src/auth/oauth/types.d.ts +1 -0
  208. package/dist/src/auth/oauth/xopc-cloud.js +1 -1
  209. package/dist/src/auth/sync-provider-auth.js +5 -0
  210. package/dist/src/automations/capabilities/write.d.ts +2 -0
  211. package/dist/src/automations/domain/types.d.ts +11 -0
  212. package/dist/src/automations/domain/validation.d.ts +4 -0
  213. package/dist/src/automations/domain/validation.js +1 -0
  214. package/dist/src/automations/draft/automation-draft-validator.d.ts +1 -0
  215. package/dist/src/automations/service/action-executor.js +11 -3
  216. package/dist/src/automations/service/automation-service.d.ts +1 -0
  217. package/dist/src/automations/service/automation-service.js +13 -1
  218. package/dist/src/bootstrap/application-state.js +1 -1
  219. package/dist/src/browser/automations/repository.d.ts +4 -0
  220. package/dist/src/browser/automations/repository.js +27 -6
  221. package/dist/src/browser/automations/runner.js +101 -9
  222. package/dist/src/browser/automations/runtime-service.js +4 -3
  223. package/dist/src/browser/automations/schema.d.ts +84 -1
  224. package/dist/src/browser/automations/schema.js +68 -2
  225. package/dist/src/browser/automations/service.d.ts +78 -1
  226. package/dist/src/browser/automations/service.js +36 -4
  227. package/dist/src/browser/automations/types.d.ts +19 -4
  228. package/dist/src/browser/drivers/extension-driver.d.ts +5 -5
  229. package/dist/src/browser/drivers/extension-driver.js +10 -10
  230. package/dist/src/browser/drivers/playwright-driver.js +46 -0
  231. package/dist/src/browser/index.d.ts +1 -2
  232. package/dist/src/browser/index.js +2 -3
  233. package/dist/src/browser/policy/browser-policy.d.ts +0 -1
  234. package/dist/src/browser/policy/browser-policy.js +1 -4
  235. package/dist/src/browser/providers/index.d.ts +1 -1
  236. package/dist/src/browser/providers/index.js +2 -2
  237. package/dist/src/browser/providers/realtime-extension.d.ts +1 -1
  238. package/dist/src/browser/providers/realtime-extension.js +5 -1
  239. package/dist/src/browser/recordings/service.d.ts +22 -0
  240. package/dist/src/browser/recordings/service.js +160 -0
  241. package/dist/src/browser/runtime/browser-runtime.d.ts +1 -1
  242. package/dist/src/browser/runtime/browser-runtime.js +19 -56
  243. package/dist/src/chat-commands/builtins/model.js +2 -2
  244. package/dist/src/cli/command-manifest.js +1 -1
  245. package/dist/src/cli/commands/doctor/checks/database-schema.js +1 -1
  246. package/dist/src/cli/commands/extension-agent-plugin.js +0 -19
  247. package/dist/src/cli/commands/mcp.js +36 -2
  248. package/dist/src/cli/commands/models.js +1 -1
  249. package/dist/src/cli/utils/oauth-login.js +2 -2
  250. package/dist/src/computer/runtime.js +2 -2
  251. package/dist/src/config/index.js +3 -3
  252. package/dist/src/config/mcp-config-normalize.d.ts +0 -3
  253. package/dist/src/config/mcp-config-normalize.js +2 -22
  254. package/dist/src/config/models-json.d.ts +0 -5
  255. package/dist/src/config/models-json.js +13 -4
  256. package/dist/src/config/paths.d.ts +0 -1
  257. package/dist/src/config/paths.js +1 -4
  258. package/dist/src/config/schema.d.ts +142 -48
  259. package/dist/src/config/schema.js +64 -47
  260. package/dist/src/connectors/auth-provider-registry.d.ts +1 -1
  261. package/dist/src/connectors/auth-provider-registry.js +1 -21
  262. package/dist/src/connectors/china-catalog.js +5 -5
  263. package/dist/src/connectors/connection-recovery-service.d.ts +1 -6
  264. package/dist/src/connectors/connection-recovery-service.js +3 -105
  265. package/dist/src/connectors/health.d.ts +1 -2
  266. package/dist/src/connectors/health.js +2 -101
  267. package/dist/src/connectors/types.d.ts +1 -1
  268. package/dist/src/endpoint-tools/binding-service.d.ts +2 -0
  269. package/dist/src/endpoint-tools/binding-service.js +14 -2
  270. package/dist/src/endpoint-tools/bridge-host.d.ts +15 -0
  271. package/dist/src/endpoint-tools/bridge-host.js +166 -0
  272. package/dist/src/endpoint-tools/bridge.d.ts +27 -0
  273. package/dist/src/endpoint-tools/bridge.js +88 -0
  274. package/dist/src/endpoint-tools/capability-catalog.d.ts +2 -0
  275. package/dist/src/endpoint-tools/capability-catalog.js +8 -0
  276. package/dist/src/endpoint-tools/grant-service.d.ts +69 -0
  277. package/dist/src/endpoint-tools/grant-service.js +113 -0
  278. package/dist/src/endpoint-tools/index.js +1 -1
  279. package/dist/src/endpoint-tools/invocation-service.js +6 -2
  280. package/dist/src/endpoint-tools/location-task.d.ts +22 -0
  281. package/dist/src/endpoint-tools/location-task.js +114 -0
  282. package/dist/src/endpoint-tools/policy.js +20 -4
  283. package/dist/src/endpoint-tools/registry.d.ts +2 -0
  284. package/dist/src/endpoint-tools/registry.js +9 -0
  285. package/dist/src/endpoint-tools/result-projector.d.ts +15 -0
  286. package/dist/src/endpoint-tools/result-projector.js +31 -0
  287. package/dist/src/endpoint-tools/runtime.d.ts +2 -0
  288. package/dist/src/endpoint-tools/runtime.js +15 -2
  289. package/dist/src/endpoint-tools/target-resolver.d.ts +12 -0
  290. package/dist/src/endpoint-tools/target-resolver.js +27 -0
  291. package/dist/src/endpoint-tools/turn-context.d.ts +6 -0
  292. package/dist/src/endpoint-tools/turn-context.js +29 -0
  293. package/dist/src/extensions/agent-plugins/auth.d.ts +0 -2
  294. package/dist/src/extensions/agent-plugins/auth.js +2 -19
  295. package/dist/src/extensions/agent-plugins/credentials.js +3 -19
  296. package/dist/src/extensions/agent-plugins/inventory.d.ts +2 -2
  297. package/dist/src/extensions/agent-plugins/mcp-adapter.js +1 -5
  298. package/dist/src/extensions/agent-plugins/source-http-fetch.d.ts +2 -0
  299. package/dist/src/{agent/mcp/plugin-http-fetch.js → extensions/agent-plugins/source-http-fetch.js} +7 -7
  300. package/dist/src/extensions/agent-plugins/sources.js +2 -2
  301. package/dist/src/extensions/agent-plugins/store.js +1 -3
  302. package/dist/src/extensions/agent-plugins/validation.d.ts +0 -4
  303. package/dist/src/extensions/agent-plugins/validation.js +13 -20
  304. package/dist/src/gateway/agents-admin.d.ts +5 -0
  305. package/dist/src/gateway/agents-admin.js +56 -1
  306. package/dist/src/gateway/chat-stream/mapper.js +9 -0
  307. package/dist/src/gateway/chat-stream/protocol.d.ts +4 -4
  308. package/dist/src/gateway/hono/lib/config-payload.d.ts +9 -4
  309. package/dist/src/gateway/hono/lib/config-payload.js +2 -5
  310. package/dist/src/gateway/hono/oauth-async.js +9 -2
  311. package/dist/src/gateway/hono/routes/agent-plugins.js +4 -9
  312. package/dist/src/gateway/hono/routes/agents.js +4 -3
  313. package/dist/src/gateway/hono/routes/browser-automations.js +23 -7
  314. package/dist/src/gateway/hono/routes/browser-recordings.d.ts +3 -0
  315. package/dist/src/gateway/hono/routes/browser-recordings.js +78 -0
  316. package/dist/src/gateway/hono/routes/browser.js +1 -34
  317. package/dist/src/gateway/hono/routes/connection-waits.js +2 -5
  318. package/dist/src/gateway/hono/routes/connectors.js +5 -60
  319. package/dist/src/gateway/hono/routes/device-authorizations.d.ts +3 -0
  320. package/dist/src/gateway/hono/routes/device-authorizations.js +74 -0
  321. package/dist/src/gateway/hono/routes/device-push.js +1 -0
  322. package/dist/src/gateway/hono/routes/endpoint-compatibility.js +7 -0
  323. package/dist/src/gateway/hono/routes/endpoint-tools.d.ts +1 -0
  324. package/dist/src/gateway/hono/routes/endpoint-tools.js +53 -3
  325. package/dist/src/gateway/hono/routes/home.js +1 -1
  326. package/dist/src/gateway/hono/routes/lazy-bundles.js +25 -1
  327. package/dist/src/gateway/hono/routes/mcp.d.ts +1 -1
  328. package/dist/src/gateway/hono/routes/mcp.js +11 -237
  329. package/dist/src/gateway/hono/routes/personal-agent.js +35 -0
  330. package/dist/src/gateway/hono/routes/session-command-handler.js +11 -1
  331. package/dist/src/gateway/hono/routes/session-input-handler.d.ts +8 -2
  332. package/dist/src/gateway/hono/routes/session-input-handler.js +25 -1
  333. package/dist/src/gateway/hono/routes/voice.js +5 -2
  334. package/dist/src/gateway/security/gateway-scopes.js +3 -1
  335. package/dist/src/gateway/service/agent-runner.js +1 -0
  336. package/dist/src/gateway/service/config-coordinator.js +2 -5
  337. package/dist/src/gateway/service/marketplace-service.js +2 -2
  338. package/dist/src/gateway/service/run-gateway-agent.js +13 -5
  339. package/dist/src/gateway/service/session-input-coordinator.d.ts +1 -1
  340. package/dist/src/gateway/service/session-input-coordinator.js +29 -9
  341. package/dist/src/gateway/service/sessions-api.js +0 -6
  342. package/dist/src/gateway/service.js +3 -12
  343. package/dist/src/gateway/session-reset-service.js +0 -6
  344. package/dist/src/home-intelligence/generator.d.ts +2 -0
  345. package/dist/src/home-intelligence/generator.js +53 -4
  346. package/dist/src/home-intelligence/host.d.ts +2 -1
  347. package/dist/src/home-intelligence/host.js +23 -3
  348. package/dist/src/imports/compatibility.js +12 -10
  349. package/dist/src/mcp/channel-bridge.js +1 -1
  350. package/dist/src/migrations/cloud-public-models.js +1 -0
  351. package/dist/src/notifications/clarification.d.ts +5 -0
  352. package/dist/src/notifications/clarification.js +66 -0
  353. package/dist/src/notifications/device-store.js +1 -0
  354. package/dist/src/notifications/harmony-push.d.ts +1 -0
  355. package/dist/src/notifications/harmony-push.js +3 -1
  356. package/dist/src/notifications/planner.d.ts +1 -0
  357. package/dist/src/notifications/service.d.ts +2 -2
  358. package/dist/src/notifications/service.js +20 -4
  359. package/dist/src/notifications/store.d.ts +2 -0
  360. package/dist/src/notifications/store.js +7 -1
  361. package/dist/src/notifications/types.d.ts +1 -0
  362. package/dist/src/notifications/types.js +1 -0
  363. package/dist/src/providers/env-keys.js +1 -1
  364. package/dist/src/providers/index.js +26 -24
  365. package/dist/src/providers/model-call.d.ts +0 -2
  366. package/dist/src/providers/model-call.js +2 -6
  367. package/dist/src/providers/model-registry.js +4 -2
  368. package/dist/src/providers/model-supplements.d.ts +3 -3
  369. package/dist/src/providers/model-supplements.js +6 -27
  370. package/dist/src/providers/presentation.js +3 -8
  371. package/dist/src/providers/prompt-cache-plan.js +1 -1
  372. package/dist/src/providers/provider-auth-service.d.ts +1 -1
  373. package/dist/src/providers/provider-auth-service.js +7 -2
  374. package/dist/src/providers/provider-policy.d.ts +3 -0
  375. package/dist/src/providers/provider-policy.js +14 -0
  376. package/dist/src/providers/register-runtime-providers.js +6 -1
  377. package/dist/src/realtime/runtime.js +1 -1
  378. package/dist/src/session/store.js +7 -1
  379. package/dist/src/session/transcript-events.d.ts +5 -0
  380. package/dist/src/session/transcript-events.js +1 -0
  381. package/dist/src/session/types.d.ts +2 -0
  382. package/dist/src/storage/sqlite/clarification-wait-repository.js +1 -0
  383. package/dist/src/storage/sqlite/device-grant-audit-repository.d.ts +11 -0
  384. package/dist/src/storage/sqlite/device-grant-audit-repository.js +10 -0
  385. package/dist/src/storage/sqlite/endpoint-device-settings-repository.d.ts +7 -0
  386. package/dist/src/storage/sqlite/endpoint-device-settings-repository.js +17 -0
  387. package/dist/src/storage/sqlite/migrations/238_browser_record_replay.sql +45 -0
  388. package/dist/src/storage/sqlite/migrations/239_clarification_notifications.sql +26 -0
  389. package/dist/src/storage/sqlite/migrations/240_device_settings.sql +5 -0
  390. package/dist/src/storage/sqlite/migrations/241_device_grant_audit.sql +13 -0
  391. package/dist/src/storage/sqlite/migrations/runner.d.ts +1 -1
  392. package/dist/src/storage/sqlite/migrations/runner.js +3 -3
  393. package/dist/src/storage/sqlite/schema.js +1 -1
  394. package/dist/src/storage/sqlite/session-input-repository.d.ts +1 -0
  395. package/dist/src/storage/sqlite/session-input-repository.js +5 -1
  396. package/dist/src/tasks/home-query-service.d.ts +1 -1
  397. package/dist/src/tasks/home-query-service.js +6 -2
  398. package/dist/src/tui/backends/gateway-realtime-backend.js +1 -1
  399. package/dist/src/tui/xopc-tui-keybindings.d.ts +4 -4
  400. package/dist/src/voice/dashscope/streaming-tts-stream.d.ts +2 -1
  401. package/dist/src/voice/dashscope/streaming-tts-stream.js +135 -79
  402. package/dist/src/voice/realtime/agentEngine.js +78 -1
  403. package/dist/src/voice/realtime/speakable-segmenter.d.ts +2 -0
  404. package/dist/src/voice/realtime/speakable-segmenter.js +30 -0
  405. package/dist/src/voice/tts/providers/alibaba-speech.js +17 -1
  406. package/dist/src/voice/tts/speak-core.d.ts +3 -0
  407. package/dist/src/voice/tts/speak-core.js +21 -1
  408. package/dist/src/voice/tts/speech-provider-types.d.ts +8 -0
  409. package/package.json +18 -7
  410. package/dist/gateway/static/root/assets/agent-defaults-settings-panel-D0tD3kCe.js +0 -1
  411. package/dist/gateway/static/root/assets/agent-plugin-dialog-BjdgKCnk.js +0 -1
  412. package/dist/gateway/static/root/assets/agents-CWXKzX5L.js +0 -66
  413. package/dist/gateway/static/root/assets/automations-workspace-C9ZT6TAU.js +0 -6
  414. package/dist/gateway/static/root/assets/browser-automation-inputs-CXG_JveC.js +0 -1
  415. package/dist/gateway/static/root/assets/browser-automations-page-CJc7OKR3.js +0 -3
  416. package/dist/gateway/static/root/assets/browser-settings-page-BjaTEUR8.js +0 -3
  417. package/dist/gateway/static/root/assets/capabilities-page-djBsC_tG.js +0 -2
  418. package/dist/gateway/static/root/assets/channels-BaYRJtz3.js +0 -1
  419. package/dist/gateway/static/root/assets/connectors-page-DyqRwSH2.js +0 -2
  420. package/dist/gateway/static/root/assets/copy-text-row-BHDs3cBa.js +0 -1
  421. package/dist/gateway/static/root/assets/dependency-picker-CWbbhKZa.js +0 -1
  422. package/dist/gateway/static/root/assets/dist-Che_jiQF.js +0 -1
  423. package/dist/gateway/static/root/assets/gateway-realtime-C4KtwMY3.js +0 -1
  424. package/dist/gateway/static/root/assets/gateway-realtime-store-ChZUzVbe.js +0 -1
  425. package/dist/gateway/static/root/assets/home-page-DhPPLbdD.js +0 -2
  426. package/dist/gateway/static/root/assets/index-CK4O2xMa.css +0 -1
  427. package/dist/gateway/static/root/assets/index-DpLD-7Hc.js +0 -106
  428. package/dist/gateway/static/root/assets/link-2-D_ZKYUW7.js +0 -1
  429. package/dist/gateway/static/root/assets/local-session-drafts-B_McurIj.js +0 -1
  430. package/dist/gateway/static/root/assets/logs-page-BWD63eg1.js +0 -2
  431. package/dist/gateway/static/root/assets/management-settings-aKSibklM.js +0 -1
  432. package/dist/gateway/static/root/assets/messages-Bnx3GMDB.js +0 -3
  433. package/dist/gateway/static/root/assets/models-hub-cache-Di83uIPw.js +0 -1
  434. package/dist/gateway/static/root/assets/note-detail-panel-B_fve3_2.js +0 -5
  435. package/dist/gateway/static/root/assets/notes-page-DnChyp8S.js +0 -8
  436. package/dist/gateway/static/root/assets/personal-page-BM2qAgg_.js +0 -1
  437. package/dist/gateway/static/root/assets/project-detail-page-DM4_VLNX.js +0 -1
  438. package/dist/gateway/static/root/assets/remote-access-hub-O6j9CWX0.js +0 -1
  439. package/dist/gateway/static/root/assets/session-manager-B0tOE4qz.js +0 -16
  440. package/dist/gateway/static/root/assets/sessions-page-BIixHXlQ.js +0 -1
  441. package/dist/gateway/static/root/assets/settings-advanced-gate-49SUEWPh.js +0 -1
  442. package/dist/gateway/static/root/assets/setup-status-panel-Ce3gTbT3.js +0 -1
  443. package/dist/gateway/static/root/assets/shares-settings-CNEZjF66.js +0 -1
  444. package/dist/gateway/static/root/assets/skills-page-BndNdYsJ.js +0 -2
  445. package/dist/gateway/static/root/assets/system-settings-panel-EpZeMlvp.js +0 -1
  446. package/dist/gateway/static/root/assets/use-file-preview-expanded-DJ5vyrvM.js +0 -2
  447. package/dist/gateway/static/root/assets/user-model-page-Bz5lkFG9.js +0 -2
  448. package/dist/gateway/static/root/assets/workflows-page-CPCgOfHh.js +0 -6
  449. package/dist/src/agent/embedded/system-prompt-override.d.ts +0 -2
  450. package/dist/src/agent/embedded/system-prompt-override.js +0 -21
  451. package/dist/src/agent/external-tools/mcp-provider.d.ts +0 -32
  452. package/dist/src/agent/external-tools/mcp-provider.js +0 -208
  453. package/dist/src/agent/mcp/bundle-mcp-config.d.ts +0 -20
  454. package/dist/src/agent/mcp/bundle-mcp-gateway.d.ts +0 -79
  455. package/dist/src/agent/mcp/bundle-mcp-gateway.js +0 -93
  456. package/dist/src/agent/mcp/bundle-mcp-names.d.ts +0 -1
  457. package/dist/src/agent/mcp/bundle-mcp-names.js +0 -25
  458. package/dist/src/agent/mcp/bundle-mcp-policy.d.ts +0 -1
  459. package/dist/src/agent/mcp/bundle-mcp-policy.js +0 -6
  460. package/dist/src/agent/mcp/bundle-mcp-runtime.d.ts +0 -46
  461. package/dist/src/agent/mcp/bundle-mcp-runtime.js +0 -571
  462. package/dist/src/agent/mcp/bundle-mcp-tools.d.ts +0 -2
  463. package/dist/src/agent/mcp/bundle-mcp-tools.js +0 -2
  464. package/dist/src/agent/mcp/bundle-mcp-types.d.ts +0 -76
  465. package/dist/src/agent/mcp/bundle-mcp-types.js +0 -1
  466. package/dist/src/agent/mcp/embedded-mcp.d.ts +0 -10
  467. package/dist/src/agent/mcp/embedded-mcp.js +0 -14
  468. package/dist/src/agent/mcp/index.d.ts +0 -5
  469. package/dist/src/agent/mcp/index.js +0 -12
  470. package/dist/src/agent/mcp/mcp-config-shared.d.ts +0 -8
  471. package/dist/src/agent/mcp/mcp-config-shared.js +0 -39
  472. package/dist/src/agent/mcp/mcp-http.d.ts +0 -23
  473. package/dist/src/agent/mcp/mcp-http.js +0 -67
  474. package/dist/src/agent/mcp/mcp-resource-id.d.ts +0 -6
  475. package/dist/src/agent/mcp/mcp-resource-id.js +0 -19
  476. package/dist/src/agent/mcp/mcp-stdio-transport.d.ts +0 -26
  477. package/dist/src/agent/mcp/mcp-stdio-transport.js +0 -120
  478. package/dist/src/agent/mcp/mcp-stdio.d.ts +0 -18
  479. package/dist/src/agent/mcp/mcp-stdio.js +0 -35
  480. package/dist/src/agent/mcp/mcp-transport-config.d.ts +0 -28
  481. package/dist/src/agent/mcp/mcp-transport-config.js +0 -91
  482. package/dist/src/agent/mcp/mcp-transport.d.ts +0 -17
  483. package/dist/src/agent/mcp/mcp-transport.js +0 -141
  484. package/dist/src/agent/mcp/oauth/index.d.ts +0 -6
  485. package/dist/src/agent/mcp/oauth/index.js +0 -6
  486. package/dist/src/agent/mcp/oauth/mcp-oauth-errors.d.ts +0 -5
  487. package/dist/src/agent/mcp/oauth/mcp-oauth-errors.js +0 -14
  488. package/dist/src/agent/mcp/oauth/mcp-oauth-manager.d.ts +0 -30
  489. package/dist/src/agent/mcp/oauth/mcp-oauth-manager.js +0 -276
  490. package/dist/src/agent/mcp/oauth/mcp-oauth-provider.d.ts +0 -33
  491. package/dist/src/agent/mcp/oauth/mcp-oauth-provider.js +0 -103
  492. package/dist/src/agent/mcp/oauth/mcp-oauth-session.d.ts +0 -31
  493. package/dist/src/agent/mcp/oauth/mcp-oauth-session.js +0 -181
  494. package/dist/src/agent/mcp/oauth/mcp-oauth-store.d.ts +0 -12
  495. package/dist/src/agent/mcp/oauth/mcp-oauth-store.js +0 -91
  496. package/dist/src/agent/mcp/oauth/mcp-oauth-types.d.ts +0 -22
  497. package/dist/src/agent/mcp/oauth/mcp-oauth-types.js +0 -1
  498. package/dist/src/agent/mcp/plugin-http-fetch.d.ts +0 -2
  499. package/dist/src/agent/source-context/mcp-resource-context.d.ts +0 -8
  500. package/dist/src/agent/source-context/mcp-resource-context.js +0 -30
  501. package/dist/src/auth/oauth/openai-codex.d.ts +0 -9
  502. package/dist/src/auth/oauth/openai-codex.js +0 -414
  503. package/dist/src/browser/policy/approval-store.d.ts +0 -17
  504. package/dist/src/browser/policy/approval-store.js +0 -62
  505. package/dist/src/browser/providers/extension-ws-acquire.d.ts +0 -19
  506. package/dist/src/browser/providers/extension-ws-acquire.js +0 -78
  507. package/dist/src/browser/providers/extension.d.ts +0 -61
  508. package/dist/src/browser/providers/extension.js +0 -378
  509. package/dist/src/connectors/plugin-mcp-recovery.d.ts +0 -28
  510. package/dist/src/connectors/plugin-mcp-recovery.js +0 -90
  511. package/dist/src/extensions/agent-plugins/connection.d.ts +0 -8
  512. package/dist/src/extensions/agent-plugins/connection.js +0 -41
  513. package/dist/src/extensions/agent-plugins/health.d.ts +0 -4
  514. package/dist/src/extensions/agent-plugins/health.js +0 -48
  515. package/dist/src/extensions/agent-plugins/plugin-oauth-scope.d.ts +0 -1
  516. package/dist/src/extensions/agent-plugins/plugin-oauth-scope.js +0 -8
package/README.md CHANGED
@@ -1,30 +1,26 @@
1
1
  <p align="center">
2
- <a href="README.md">English</a> |
3
- <a href="README.zh-CN.md">简体中文</a>
2
+ <a href="README.md">English</a> | <a href="README.zh-CN.md">简体中文</a>
4
3
  </p>
5
4
 
6
5
  <h1 align="center"><a href="https://xopc.ai">xopc</a></h1>
7
6
 
8
7
  <p align="center">
9
8
  <strong>Keep what matters moving.</strong><br />
10
- Personal AI for the one-person company.<br />
11
- Remember your goals and context, take action across your tools,<br />
12
- and pick up where you left off.
9
+ Open-source, local-first personal AI that remembers your context and helps you move work forward.<br />
10
+ Chat with Ada, delegate a task, or work directly with files and projects.<br />
11
+ Review the result and keep refining it.
13
12
  </p>
14
13
 
15
14
  <p align="center">
16
- <a href="https://xopc.ai"><img src="https://img.shields.io/badge/website-xopc.ai-0ea5e9?style=flat-square" alt="xopc.ai"></a>
17
- <a href="https://www.npmjs.com/package/@xopcai/xopc"><img src="https://img.shields.io/npm/v/@xopcai/xopc?label=npm&amp;color=teal" alt="npm version"></a>
18
- <img src="https://img.shields.io/badge/node.js-%E2%89%A522-339933?logo=nodedotjs&amp;logoColor=white" alt="Node.js">
19
- <img src="https://img.shields.io/badge/license-MIT-yellow" alt="License">
20
- <img src="https://img.shields.io/badge/LLM_providers-20%2B-5865F2" alt="LLM providers">
21
- <a href="https://github.com/xopcai/xopc/stargazers"><img src="https://img.shields.io/github/stars/xopcai/xopc?style=flat-square&amp;color=gold" alt="GitHub Stars"></a>
15
+ <a href="https://www.npmjs.com/package/@xopcai/xopc"><img src="https://img.shields.io/npm/v/@xopcai/xopc" alt="npm version"></a>
16
+ <img src="https://img.shields.io/badge/license-MIT-yellow" alt="MIT License">
17
+ <a href="https://github.com/xopcai/xopc/stargazers"><img src="https://img.shields.io/github/stars/xopcai/xopc?style=flat-square" alt="GitHub Stars"></a>
22
18
  </p>
23
19
 
24
20
  <p align="center">
25
21
  <a href="https://xopc.ai/en#download"><strong>Download the desktop app →</strong></a> ·
26
- <a href="#quick-start"><strong>Install in 30 seconds</strong></a> ·
27
- <a href="https://xopcai.github.io/xopc/">Read the docs</a>
22
+ <a href="https://xopcai.github.io/xopc/">Read the docs</a> ·
23
+ <a href="https://xopc.ai/en/learn">Watch demos and tutorials</a>
28
24
  </p>
29
25
 
30
26
  <p align="center">
@@ -33,44 +29,36 @@
33
29
  </a>
34
30
  </p>
35
31
 
36
- > After setup, try: **“One thing I want to move forward this week is ____. Help me find the smallest credible next step.”**
32
+ ## Two ways to start in one xopc
37
33
 
38
- <details>
39
- <summary><strong>Table of Contents</strong></summary>
34
+ **Talk with Ada.** Ada is the personal Agent inside xopc; no separate installation is needed. Share your background, response preferences, and a goal. Delegate a task when you need a hand, keep talking, then return to the result. [Meet Ada](https://xopcai.github.io/xopc/personal-ai).
40
35
 
41
- - [Why try xopc](#why-try-xopc)
42
- - [Get started](#get-started)
43
- - [Where to chat](#where-to-chat)
44
- - [Channels](#channels)
45
- - [Extensions &amp; skills](#extensions--skills)
46
- - [Configuration](#configuration)
47
- - [Documentation](#documentation)
48
- - [Community](#community)
49
- - [FAQ](#faq)
50
- - [Security](#security)
51
- - [Contributing](#contributing)
36
+ **Open your workspace.** Bring files and a goal to organize material, analyze data, change code, or prepare a report. Keep conversations, deliverables, and project context together so you can continue later. [Workspace guide](https://xopcai.github.io/xopc/workspace-guide).
52
37
 
53
- </details>
38
+ Built for independent workers, creators, developers, and anyone who wants less repeated explanation and execution overhead.
54
39
 
55
- ---
56
-
57
- ## Why try xopc
40
+ ## Finish something real
58
41
 
59
- - **Start before it is organized.** Drop in text, voice, files, links, or a thought you cannot explain clearly yet.
60
- - **Stop repeating yourself.** Sessions, projects, tasks, and correctable user understanding keep the context that matters.
61
- - **Move beyond advice.** xopc can use tools, run workflows, verify results, and continue the work later.
62
- - **Reduce the burden, not your agency.** Let xopc carry repeatable execution while you keep intent, judgment, creativity, and final decisions.
63
- - **Stay in control.** It is local-first, sources are authorized separately, and high-impact actions such as sending or deleting require confirmation.
64
-
65
- **Your context, carried forward.** xopc keeps context, the next action, evidence, and follow-up together, so important work does not disappear when a chat ends. Built for one, it helps you operate with more continuity and capability without giving up control.
42
+ | Your goal | Try this | Check the result |
43
+ | --- | --- | --- |
44
+ | Resume a project | “Use this project's notes and tasks to explain what is blocked and suggest the next step.” | Sources, unresolved decisions, and next action |
45
+ | Turn material into a report | “Combine these sales files into a summary. Keep sources, calculations, and exceptions.” | Saved file, totals, and exceptions |
46
+ | Delegate and keep talking | “Turn this week's plan into a one-page file and tell me when it is ready. Let's keep discussing next week.” | Task card, actual file, and revisions |
66
47
 
67
- xopc works from desktop, web, terminal, mobile, Telegram, WeChat, and Feishu/Lark, with your choice of cloud or local models.
48
+ File work requires the relevant access, tools, or skills. Voice, image generation, browser access, and external services need their own setup. [Delegate and receive results](https://xopcai.github.io/xopc/task-delegation) · [Practical tutorials](https://xopc.ai/en/learn) (videos and detailed walkthroughs are currently in Chinese).
68
49
 
69
- Use xopc independently, or connect it to XOPC Cloud or a privately deployed XOPC Platform for centrally published services and runtime scheduling. Connecting is opt-in and does not upload the local database or workspace. See [XOPC Platform](https://xopcai.github.io/xopc/platform).
50
+ ## Core capabilities
70
51
 
71
- For the full product philosophy, trust model, and roadmap, read [Product philosophy](https://xopcai.github.io/xopc/product).
52
+ | Capability | What it helps you do |
53
+ | --- | --- |
54
+ | **Context and memory** | Keep conversations, project background, and understanding you can review, correct, or delete |
55
+ | **Delegation and delivery** | Delegate tasks, answer follow-up questions, receive artifacts, and check acceptance criteria |
56
+ | **Files and projects** | Work with authorized material and retain files, notes, execution records, and next actions |
57
+ | **Follow-ups** | Follow a topic, repeat a process with Workflows, or trigger work with Automations |
58
+ | **Tools and connections** | Enable skills, MCP, connectors, browser automations, images, and voice as needed |
59
+ | **Access across devices** | Desktop, web, terminal, mobile, Telegram, WeChat, and Feishu/Lark |
72
60
 
73
- ---
61
+ [Computer Use](https://xopcai.github.io/xopc/computer-use) is currently a macOS desktop preview requiring a compatible GUI model and native permissions. Mobile capabilities vary by platform and version; the Agent runs on the connected computer.
74
62
 
75
63
  <a id="desktop-app"></a>
76
64
  <a id="get-started"></a>
@@ -78,159 +66,56 @@ For the full product philosophy, trust model, and roadmap, read [Product philoso
78
66
 
79
67
  ## Get started
80
68
 
81
- ### Easiest start: desktop app
69
+ ### Desktop app
82
70
 
83
- For most users, the **desktop app** is the easiest way to start: install the app, finish model setup in the UI, then chat in the built-in console. It starts the local gateway for you.
71
+ 1. [Download xopc](https://xopc.ai/en#download) for macOS, Windows, or Linux.
72
+ 2. Connect XOPC Cloud, your own provider API key, or a local model service.
73
+ 3. Open the personal Agent or Chat. Try a small request, then bring in real material.
84
74
 
85
- 1. Open **[xopc.ai](https://xopc.ai/en#download)** and choose macOS, Windows, or Linux.
86
- 2. Open xopc and complete model setup.
87
- 3. Start chatting.
75
+ [Desktop installation](https://xopcai.github.io/xopc/desktop-app) · [Model setup](https://xopcai.github.io/xopc/how-to/configure-first-model).
88
76
 
89
- See **[Desktop app](https://xopcai.github.io/xopc/desktop-app)** for install notes, first-run guidance, and build-from-source commands.
77
+ ### Terminal installation
90
78
 
91
- ### One-liner (30-second start — recommended)
92
-
93
- **Linux, macOS, WSL2, Termux**
79
+ macOS, Linux, WSL:
94
80
 
95
81
  ```bash
96
82
  curl -fsSL https://xopc.ai/install.sh | bash
83
+ xopc onboard --quick
84
+ xopc
97
85
  ```
98
86
 
99
- **Windows (native, PowerShell)**
100
-
101
- > **Heads up:** Native Windows runs xopc without WSL — CLI, gateway, TUI, and tools all work natively. Prefer WSL2? Use the bash one-liner above there too.
87
+ Windows PowerShell:
102
88
 
103
89
  ```powershell
104
- iex (irm https://xopc.ai/install.ps1)
105
- ```
106
-
107
- The installer detects your OS, installs **Node.js ≥ 22.22.3** when needed, and installs **`@xopcai/xopc`**. China mirror: add `--cn` (bash) or `-Cn` (PowerShell), or pass `--registry https://registry.npmmirror.com`.
108
-
109
- Then chat immediately:
110
-
111
- ```bash
90
+ irm https://xopc.ai/install.ps1 | iex
112
91
  xopc onboard --quick
113
- xopc # opens the local TUI
114
- ```
115
-
116
- ### npm (already have Node.js 22.22.3+)
117
-
118
- ```bash
119
- npm install -g @xopcai/xopc
120
- ```
121
-
122
- Or with pnpm: `pnpm add -g @xopcai/xopc` · China mirror: `npm install -g @xopcai/xopc --registry=https://registry.npmmirror.com`
123
-
124
- Large optional integrations are installed only when you enable the related feature:
125
-
126
- ```bash
127
- npm install -g @composio/core@0.18.1
128
- npm install -g @larksuiteoapi/node-sdk@1.66.0 playwright-core@1.60.0
129
- ```
130
-
131
- Use the same command without `-g` when xopc is installed as a project dependency.
132
-
133
- Speech-to-text is disabled by default. xopc does not bundle a local STT engine; connect a cloud provider or install an extension that integrates your own local/OpenAI-compatible transcription service.
134
-
135
- ### More commands
136
-
137
- ```bash
138
- xopc agent -i # interactive CLI
139
- xopc agent -m "Summarize the last 5 commits" # one-shot
140
- xopc gateway # web server + React console
141
- xopc gateway service install # OS service
142
- ```
143
-
144
- **From source** (installer or pnpm workspace):
145
-
146
- ```bash
147
- # installer — clone, build, and add ~/.local/bin/xopc wrapper
148
- curl -fsSL https://xopc.ai/install.sh | bash -s -- --install-method git
149
-
150
- # or manual checkout
151
- git clone https://github.com/xopcai/xopc.git && cd xopc
152
- corepack enable && pnpm install && pnpm run build
153
- pnpm exec xopc onboard
154
- ```
155
-
156
- Windows git install: `& ([scriptblock]::Create((irm https://xopc.ai/install.ps1))) -InstallMethod git`
157
-
158
- **Requirements:** Node.js **≥ 22** (the one-liner handles this). Use **pnpm** when hacking from a git clone. More install options on **[xopc.ai](https://xopc.ai)** and **[Getting started](https://xopcai.github.io/xopc/getting-started)**.
159
-
160
- ---
161
-
162
- ## Where to chat
163
-
164
- | Surface | How | Best for |
165
- | --- | --- | --- |
166
- | **Desktop app** | [Download from xopc.ai](https://xopc.ai/en#download) | Easiest start: native app + embedded gateway console |
167
- | **TUI** | `xopc` or `xopc tui` (remote: `xopc tui --url …`) | Full keyboard, streaming, fastest terminal path |
168
- | **CLI** | `xopc agent -i` / `xopc agent -m "…"` | Scripts and minimal TTY |
169
- | **Web** | `xopc gateway` → open console URL | Chat, settings, logs in the browser |
170
- | **Mobile** | [native Android and iOS apps](./docs/design/release/mobile-build-release.md) + QR gateway pairing ([mobile app](https://xopcai.github.io/xopc/mobile-app), [remote access](https://xopcai.github.io/xopc/remote-access)) | Chat, record notes, and capture ideas from iOS/Android while the agent keeps running on your computer |
171
- | **Messengers** | `channels.*` + gateway | Telegram, WeChat, Feishu/Lark |
172
-
173
- ---
174
-
175
- ## Channels
176
-
177
- Configure under **`channels.*`** in **`~/.xopc/xopc.json`**. IM bots need a running gateway; WeChat login runs on the gateway host.
178
-
179
- | Channel | Config | Notes |
180
- | --- | --- | --- |
181
- | **Telegram** | `channels.telegram` | Multi-account, streaming, policies |
182
- | **WeChat** | `channels.weixin` | QR login on gateway host |
183
- | **Feishu / Lark** | `channels.feishu` | Bot / webhook per docs |
184
-
185
- Full reference: **[Channels](https://xopcai.github.io/xopc/channels)** · **[Configuration](https://xopcai.github.io/xopc/configuration)**.
186
-
187
- ---
188
-
189
- ## Extensions & skills
190
-
191
- ```bash
192
- xopc skills install <name> # SKILL.md domains
193
- xopc extensions install store:<id> # or npm:<package> / ./local-directory
194
- xopc extensions dev ./my-extension
92
+ xopc
195
93
  ```
196
94
 
197
- Guides: **[Extensions](https://xopcai.github.io/xopc/extensions)** · **[Skills](https://xopcai.github.io/xopc/skills)**. Gateway UI extensions: **`@xopcai/xopc/extension-ui-sdk`** (`packages/extension-ui-sdk/`).
95
+ With Node.js **22.22.3+** already installed, use `pnpm add -g @xopcai/xopc`. The [terminal quick start](https://xopcai.github.io/xopc/first-5-minutes) includes mirror and troubleshooting guidance.
198
96
 
199
- ---
97
+ ### Continue on mobile
200
98
 
201
- ## Configuration
99
+ See [distribution channels and pairing](https://xopcai.github.io/xopc/mobile-app). Scan the code and approve the connection on your computer, then review progress and send instructions. Keep the computer awake and xopc running.
202
100
 
203
- Default: **`~/.xopc/xopc.json`**. A minimal skeleton:
101
+ ## Data and control
204
102
 
205
- ```json
206
- {
207
- "providers": { "deepseek": "${DEEPSEEK_API_KEY}" },
208
- "agents": { "default": "main", "list": [{ "id": "main", "models": { "roles": { "deep": { "model": "deepseek/deepseek-v4-flash" } } } }] }
209
- }
210
- ```
103
+ Core state lives under `~/.xopc/` on your machine by default. Use cloud or local models; cloud services process the request context, images, or audio sent to them. Connecting to XOPC Cloud does not automatically upload your entire local database or workspace.
211
104
 
212
- Full reference: **[Configuration](https://xopcai.github.io/xopc/configuration)**. Add **`channels.*`** for IM, or browser tools (Playwright Chromium) when needed.
105
+ Authorize sources, tools, and channels as needed. Execution confirmation depends on tool policy and the scope you authorize; browser control does not prompt for every click. Define boundaries and ask to review before sending, deleting, purchasing, or changing an account. [Privacy and memory](https://xopcai.github.io/xopc/user-understanding) · [Browser automations](https://xopcai.github.io/xopc/browser-automations).
213
106
 
214
- ---
107
+ ## Find your guide
215
108
 
216
- ## Documentation
217
-
218
- | Guide | Description |
109
+ | You want to… | Read |
219
110
  | --- | --- |
220
- | [Getting started](https://xopcai.github.io/xopc/getting-started) | Install, onboard, first chat |
221
- | [The Continuous Work Model](https://xopcai.github.io/xopc/concepts/loops) | How state, execution, and triggers form resumable, inspectable work loops |
222
- | [Projects, Tasks, and Notes](https://xopcai.github.io/xopc/projects-tasks-notes) | Keep long-running work in one verified Task model with optional shared project context |
223
- | [Share a conversation](https://xopcai.github.io/xopc/session-sharing) | Publish a reviewed, read-only Session snapshot with expiration and view limits |
224
- | [Configuration](https://xopcai.github.io/xopc/configuration) | `xopc.json` reference |
225
- | [XOPC Platform](https://xopcai.github.io/xopc/platform) | Standalone and connected modes, discovery, and runtime registration |
226
- | [CLI](https://xopcai.github.io/xopc/cli) | Commands and flags |
227
- | [Channels](https://xopcai.github.io/xopc/channels) | Telegram, WeChat, Feishu |
228
- | [Architecture](https://xopcai.github.io/xopc/architecture) | How pieces fit together |
229
- | [Workflows](https://xopcai.github.io/xopc/workflows) | Fan-out subagents, board UI, scripts |
230
-
231
- Also: [Tools](https://xopcai.github.io/xopc/tools) · [Mobile app](https://xopcai.github.io/xopc/mobile-app) · [Voice](https://xopcai.github.io/xopc/voice) · [Remote access](https://xopcai.github.io/xopc/remote-access)
232
-
233
- ---
111
+ | Set up your personal assistant | [Meet Ada](https://xopcai.github.io/xopc/personal-ai) |
112
+ | Delegate and refine a result | [Task delivery](https://xopcai.github.io/xopc/task-delegation) |
113
+ | Work with files and projects | [Workspace](https://xopcai.github.io/xopc/workspace-guide) |
114
+ | Review results and retry | [Task acceptance](https://xopcai.github.io/xopc/task-review) |
115
+ | Save reusable website actions | [Browser recording and automations](https://xopcai.github.io/xopc/browser-automations) |
116
+ | Add services and capabilities | [Models](https://xopcai.github.io/xopc/models) · [Skills](https://xopcai.github.io/xopc/skills) · [MCP](https://xopcai.github.io/xopc/mcp) · [Connectors](https://xopcai.github.io/xopc/connectors/) |
117
+ | Configure and extend an instance | [Configuration](https://xopcai.github.io/xopc/configuration) · [Extensions](https://xopcai.github.io/xopc/extensions) · [XOPC Platform](https://xopcai.github.io/xopc/platform) |
118
+ | See recent changes | [What's new](https://xopcai.github.io/xopc/whats-new) · [GitHub Releases](https://github.com/xopcai/xopc/releases) |
234
119
 
235
120
  ## Community
236
121
 
@@ -261,7 +146,7 @@ Read the [community guide](https://xopcai.github.io/xopc/community) and [Code of
261
146
 
262
147
  **How is this different from another chat UI?** — Chat is only one surface. xopc preserves understanding, long-term goals, projects, tasks, decisions, and run history so the same assistant can continue working across time and surfaces.
263
148
 
264
- **Can I use it from my phone or messengers?** — Yes. Pair the [native mobile app](./docs/design/release/mobile-build-release.md) by QR code, or configure Telegram, WeChat, or Feishu/Lark via the gateway.
149
+ **Can I use it from my phone or messengers?** — Yes. Pair the [mobile app](https://xopcai.github.io/xopc/mobile-app) by QR code, or configure Telegram, WeChat, or Feishu/Lark via the gateway.
265
150
 
266
151
  **Have a question?** — Ask on [GitHub Discussions](https://github.com/xopcai/xopc/discussions/categories/q-a).
267
152
 
package/README.zh-CN.md CHANGED
@@ -1,30 +1,26 @@
1
1
  <p align="center">
2
- <a href="README.md">English</a> |
3
- <a href="README.zh-CN.md">简体中文</a>
2
+ <a href="README.md">English</a> | <a href="README.zh-CN.md">简体中文</a>
4
3
  </p>
5
4
 
6
5
  <h1 align="center"><a href="https://xopc.ai">xopc</a></h1>
7
6
 
8
7
  <p align="center">
9
8
  <strong>让重要的事持续向前。</strong><br />
10
- 为超级个体打造的个人 AI。<br />
11
- 记住你的目标与上下文,连接工具采取行动,<br />
12
- 并随时从上次停下的地方继续。
9
+ 开源、本地优先的个人 AI,记住你的上下文,与你一起推进工作。<br />
10
+ 和 Ada 理清想法、交办任务,或直接在工作空间处理文件与项目,<br />
11
+ 查看并继续打磨成果。
13
12
  </p>
14
13
 
15
14
  <p align="center">
16
- <a href="https://xopc.ai"><img src="https://img.shields.io/badge/官网-xopc.ai-0ea5e9?style=flat-square" alt="xopc.ai"></a>
17
- <a href="https://www.npmjs.com/package/@xopcai/xopc"><img src="https://img.shields.io/npm/v/@xopcai/xopc?label=npm&amp;color=teal" alt="npm version"></a>
18
- <img src="https://img.shields.io/badge/node.js-%E2%89%A522-339933?logo=nodedotjs&amp;logoColor=white" alt="Node.js">
19
- <img src="https://img.shields.io/badge/license-MIT-yellow" alt="License">
20
- <img src="https://img.shields.io/badge/大模型厂商-20%2B-5865F2" alt="大模型厂商">
21
- <a href="https://github.com/xopcai/xopc/stargazers"><img src="https://img.shields.io/github/stars/xopcai/xopc?style=flat-square&amp;color=gold" alt="GitHub Stars"></a>
15
+ <a href="https://www.npmjs.com/package/@xopcai/xopc"><img src="https://img.shields.io/npm/v/@xopcai/xopc" alt="npm version"></a>
16
+ <img src="https://img.shields.io/badge/license-MIT-yellow" alt="MIT License">
17
+ <a href="https://github.com/xopcai/xopc/stargazers"><img src="https://img.shields.io/github/stars/xopcai/xopc?style=flat-square" alt="GitHub Stars"></a>
22
18
  </p>
23
19
 
24
20
  <p align="center">
25
21
  <a href="https://xopc.ai/zh#download"><strong>下载桌面应用 →</strong></a> ·
26
- <a href="#quick-start"><strong>30 秒终端安装</strong></a> ·
27
- <a href="https://xopcai.github.io/xopc/zh/">查看文档</a>
22
+ <a href="https://xopcai.github.io/xopc/zh/">使用文档</a> ·
23
+ <a href="https://xopc.ai/zh/learn">观看演示与实战教程</a>
28
24
  </p>
29
25
 
30
26
  <p align="center">
@@ -33,44 +29,36 @@
33
29
  </a>
34
30
  </p>
35
31
 
36
- > 安装后可以直接告诉它:**“这周我最想推进的一件事是 ____。帮我找到最小但可信的下一步。”**
32
+ ## 两种方式,从同一个 xopc 开始
37
33
 
38
- <details>
39
- <summary><strong>目录</strong></summary>
34
+ **先和 Ada 聊聊。** Ada 是 xopc 中的个人 Agent,无需单独安装。告诉它你的背景、回复偏好和想做的事;需要时交办任务,继续对话,再回来查看结果。[认识 Ada](https://xopcai.github.io/xopc/zh/personal-ai)。
40
35
 
41
- - [为什么值得试试](#为什么值得试试)
42
- - [快速开始](#快速开始)
43
- - [在哪里聊](#在哪里聊)
44
- - [内置频道](#内置频道)
45
- - [扩展与技能](#扩展与技能)
46
- - [配置示例](#配置示例)
47
- - [文档](#文档)
48
- - [社区交流](#社区交流)
49
- - [常见问题](#常见问题)
50
- - [安全](#安全)
51
- - [参与贡献](#参与贡献)
36
+ **直接进入工作空间。** 带入文件和目标,处理资料、分析数据、修改代码或制作汇报。把对话、成果与项目留在一起,稍后接着做。[工作空间指南](https://xopcai.github.io/xopc/zh/workspace-guide)。
52
37
 
53
- </details>
38
+ 适合独立工作者、创作者、开发者,以及希望减少重复解释和执行负担的人。
54
39
 
55
- ---
56
-
57
- ## 为什么值得试试
40
+ ## 先完成一件实际的事
58
41
 
59
- - **不用先整理好。** 直接丢给它文字、语音、文件、链接,或者一句模糊的想法。
60
- - **不用反复解释。** 会话、Project、Task 和可纠正的用户理解会保留真正有用的背景。
61
- - **不只给建议。** 它可以调用工具、运行工作流、验证结果,并在之后继续推进。
62
- - **减轻负担,而不是削弱你的主体性。** 让 xopc 接住重复执行,把意图、判断、创造和最终决定留给你。
63
- - **始终由你控制。** 本地优先,数据源单独授权,发送、删除等高影响操作需要确认。
64
-
65
- **让你的上下文持续积累。** xopc 把背景、下一步、结果证据和后续跟进留在一起,让重要的事情不会随着一次对话结束而消失。为一个人而生,帮你在保留掌控的同时,获得更持续、更强大的工作能力。
42
+ | 你想做什么 | 可以这样开始 | 检查什么 |
43
+ | --- | --- | --- |
44
+ | 继续上次的项目 | “结合这个项目的笔记与任务,告诉我目前卡在哪里,先给出下一步建议。” | 背景来源、未决事项和下一步 |
45
+ | 把资料做成报告 | “把这些销售文件整理为汇总表,保留来源、计算依据和异常项。” | 保存的文件、汇总数字和异常项 |
46
+ | 交办后继续聊 | “把本周计划整理成一页文件,做好后告诉我;我们继续讨论下周的重点。” | 任务卡、实际文件和修改结果 |
66
47
 
67
- xopc 可以在桌面、网页、终端、手机、Telegram、微信和飞书中使用;你也可以选择自己的云端模型或本地模型。
48
+ 资料处理需要相应文件访问权限、工具或技能;语音、图像、浏览器和外部服务也需要各自配置。[交办与接收结果](https://xopcai.github.io/xopc/zh/task-delegation) · [实战教程](https://xopc.ai/zh/learn)。
68
49
 
69
- xopc 可以完全独立使用,也可以按需连接 XOPC Cloud 或企业独立部署的 XOPC Platform,使用平台统一发布的服务和 runtime 调度。连接是显式选择,不会自动上传本地数据库或工作区。详见 [XOPC Platform](https://xopcai.github.io/xopc/zh/platform)。
50
+ ## 核心能力
70
51
 
71
- 想了解完整的产品理念、信任模型和下一阶段方向,请阅读[产品理念](https://xopcai.github.io/xopc/zh/product)。
52
+ | 能力 | 用途 |
53
+ | --- | --- |
54
+ | **上下文与记忆** | 保存会话、项目背景和可查看、纠正、删除的用户理解 |
55
+ | **委派与交付** | 交办任务、处理补充问题、接收成果,并按验收条件检查结果 |
56
+ | **文件与项目** | 处理授权资料,保留文件、笔记、执行记录和下一步 |
57
+ | **持续跟进** | 关注指定主题;用 Workflow 重复流程,用 Automation 定时或按事件启动 |
58
+ | **工具与连接** | 技能、MCP、连接器、浏览器自动化、图像和语音;按需启用 |
59
+ | **多端访问** | 桌面、网页、终端、手机,以及 Telegram、微信、飞书/Lark |
72
60
 
73
- ---
61
+ [电脑控制](https://xopcai.github.io/xopc/zh/computer-use)目前是 macOS 桌面预览能力,需要兼容的 GUI 模型和系统权限。移动端能力随平台与版本变化,Agent 仍在连接的电脑上运行。
74
62
 
75
63
  <a id="desktop-app"></a>
76
64
  <a id="get-started"></a>
@@ -78,159 +66,56 @@ xopc 可以完全独立使用,也可以按需连接 XOPC Cloud 或企业独立
78
66
 
79
67
  ## 快速开始
80
68
 
81
- ### 最省心的开始方式:桌面应用
69
+ ### 桌面应用
82
70
 
83
- 对大多数用户来说,**桌面应用**是最容易上手的方式:安装应用,在界面里完成模型设置,然后直接在内置控制台聊天。它会自动启动本地 gateway。
71
+ 1. [下载 xopc](https://xopc.ai/zh#download),选择 macOS、Windows 或 Linux。
72
+ 2. 连接 XOPC Cloud、自己的模型 API Key,或本地模型服务。
73
+ 3. 打开个人 Agent 或聊天,先发送一个小请求,再带入真实资料。
84
74
 
85
- 1. 打开 **[xopc.ai](https://xopc.ai/zh#download)**,选择 macOS、Windows 或 Linux。
86
- 2. 打开 xopc,完成模型设置。
87
- 3. 开始聊天。
75
+ [桌面安装说明](https://xopcai.github.io/xopc/zh/desktop-app) · [模型设置](https://xopcai.github.io/xopc/zh/how-to/configure-first-model)。
88
76
 
89
- 详见 **[桌面应用](https://xopcai.github.io/xopc/zh/desktop-app)**:安装说明、首次使用指引和源码打包命令。
77
+ ### 终端安装
90
78
 
91
- ### 一键安装(30 秒启动 — 推荐)
92
-
93
- **Linux、macOS、WSL2、Termux**
79
+ macOS、Linux、WSL:
94
80
 
95
81
  ```bash
96
82
  curl -fsSL https://xopc.ai/install.sh | bash
83
+ xopc onboard --quick
84
+ xopc
97
85
  ```
98
86
 
99
- **Windows(原生 PowerShell)**
100
-
101
- > **提示:** 原生 Windows 无需 WSL 即可运行 xopc——CLI、网关、TUI 与工具均可在本机使用。若更习惯 WSL2,在 WSL 里执行上面的 bash 命令即可。
87
+ Windows PowerShell:
102
88
 
103
89
  ```powershell
104
- iex (irm https://xopc.ai/install.ps1)
105
- ```
106
-
107
- 安装脚本会自动识别系统、在需要时安装 **Node.js ≥ 22.22.3**,并安装 **`@xopcai/xopc`**。国内镜像:bash 加 `--cn`,PowerShell 加 `-Cn`,或指定 `--registry https://registry.npmmirror.com`。
108
-
109
- 然后直接开聊:
110
-
111
- ```bash
90
+ irm https://xopc.ai/install.ps1 | iex
112
91
  xopc onboard --quick
113
- xopc # 打开本地 TUI
114
- ```
115
-
116
- ### npm(已具备 Node.js 22.22.3+)
117
-
118
- ```bash
119
- npm install -g @xopcai/xopc
120
- ```
121
-
122
- 也可用 pnpm:`pnpm add -g @xopcai/xopc` · 国内:`npm install -g @xopcai/xopc --registry=https://registry.npmmirror.com`
123
-
124
- 大体积的可选集成只在启用对应功能时安装:
125
-
126
- ```bash
127
- npm install -g @composio/core@0.18.1
128
- npm install -g @larksuiteoapi/node-sdk@1.66.0 playwright-core@1.60.0
129
- ```
130
-
131
- 如果 xopc 是项目依赖,请使用不带 `-g` 的相同命令。
132
-
133
- 语音转文字(STT)默认关闭。xopc 不再内置本地 STT 引擎;你可以连接云服务商,或安装扩展来接入自己的本地/OpenAI 兼容转写服务。
134
-
135
- ### 更多命令
136
-
137
- ```bash
138
- xopc agent -i # 交互式 CLI
139
- xopc agent -m "总结最近 5 条提交" # 只问一句
140
- xopc gateway # 网页服务 + React 控制台
141
- xopc gateway service install # OS 系统服务
142
- ```
143
-
144
- **从源码**(安装脚本或 pnpm workspace):
145
-
146
- ```bash
147
- # 安装脚本 — 克隆、构建,并写入 ~/.local/bin/xopc 包装命令
148
- curl -fsSL https://xopc.ai/install.sh | bash -s -- --install-method git
149
-
150
- # 或手动克隆
151
- git clone https://github.com/xopcai/xopc.git && cd xopc
152
- corepack enable && pnpm install && pnpm run build
153
- pnpm exec xopc onboard
154
- ```
155
-
156
- Windows 源码安装:`& ([scriptblock]::Create((irm https://xopc.ai/install.ps1))) -InstallMethod git`
157
-
158
- **环境:** Node.js **≥ 22**(一键脚本会自动处理)。从源码开发本仓库时请使用 **pnpm**。更多安装方式见 **[xopc.ai](https://xopc.ai)** 与 **[快速开始](https://xopcai.github.io/xopc/zh/getting-started)**。
159
-
160
- ---
161
-
162
- ## 在哪里聊
163
-
164
- | 方式 | 怎么用 | 适合 |
165
- | --- | --- | --- |
166
- | **桌面应用** | [前往 xopc.ai 下载](https://xopc.ai/zh#download) | 最省心的开始方式:原生应用 + 内嵌 gateway 控制台 |
167
- | **TUI** | `xopc` 或 `xopc tui`(远程:`xopc tui --url …`) | 全键盘、流式输出,最快终端路径 |
168
- | **CLI** | `xopc agent -i` / `xopc agent -m "…"` | 脚本、最小终端环境 |
169
- | **网页** | `xopc gateway` → 打开控制台地址 | 聊天、设置、日志 |
170
- | **手机** | [原生 Android 与 iOS App](./docs/design/release/mobile-build-release.md) + 网关扫码配对([移动端 App](https://xopcai.github.io/xopc/zh/mobile-app)、[远程访问](https://xopcai.github.io/xopc/zh/remote-access)) | 在 iOS/Android 上继续对话,记录文字、语音、图片和附件;Agent 仍运行在你的电脑或本地环境里 |
171
- | **即时通讯** | 配置 `channels.*` 并启动网关 | Telegram、微信、飞书/Lark |
172
-
173
- ---
174
-
175
- ## 内置频道
176
-
177
- 在 **`~/.xopc/xopc.json`** 里配置 **`channels.*`**。即时通讯需要网关常驻;微信需要在**运行网关的机器**上扫码登录。
178
-
179
- | 频道 | 配置项 | 说明 |
180
- | --- | --- | --- |
181
- | **Telegram** | `channels.telegram` | 多账号、流式、访问策略 |
182
- | **微信** | `channels.weixin` | 网关主机扫码 |
183
- | **飞书 / Lark** | `channels.feishu` | 机器人 / Webhook,见文档 |
184
-
185
- 完整说明:**[频道](https://xopcai.github.io/xopc/zh/channels)** · **[配置](https://xopcai.github.io/xopc/zh/configuration)**。
186
-
187
- ---
188
-
189
- ## 扩展与技能
190
-
191
- ```bash
192
- xopc skills install <名称> # SKILL.md 领域技能
193
- xopc extensions install <包名> # 工具、频道、UI 面板
194
- xopc extensions dev ./my-extension
92
+ xopc
195
93
  ```
196
94
 
197
- 详见 **[扩展](https://xopcai.github.io/xopc/zh/extensions)** · **[技能](https://xopcai.github.io/xopc/zh/skills)**。网关 UI 扩展:**`@xopcai/xopc/extension-ui-sdk`**(`packages/extension-ui-sdk/`)。
95
+ 已具备 Node.js **22.22.3+** 时,也可执行 `pnpm add -g @xopcai/xopc`。[终端快速开始](https://xopcai.github.io/xopc/zh/first-5-minutes)包含镜像与排障说明。
198
96
 
199
- ---
97
+ ### 在手机上继续
200
98
 
201
- ## 配置示例
99
+ [下载渠道与连接步骤](https://xopcai.github.io/xopc/zh/mobile-app)。扫码并在电脑上批准配对后,查看进展、发送指令;保持电脑唤醒且 xopc 正在运行。
202
100
 
203
- 默认路径:**`~/.xopc/xopc.json`**。一个最小骨架:
101
+ ## 数据与控制
204
102
 
205
- ```json
206
- {
207
- "providers": { "deepseek": "${DEEPSEEK_API_KEY}" },
208
- "agents": { "default": "main", "list": [{ "id": "main", "models": { "roles": { "deep": { "model": "deepseek/deepseek-v4-flash" } } } }] }
209
- }
210
- ```
103
+ 核心状态默认存储在本机 `~/.xopc/`。可使用云模型或本地模型;选择云服务时,相关请求上下文、图片或音频会由对应提供商处理。连接 XOPC Cloud 不会自动上传整个本地数据库或工作空间。
211
104
 
212
- 完整参考:**[配置](https://xopcai.github.io/xopc/zh/configuration)**。需要即时通讯时再补 **`channels.*`**,可选工具(如浏览器)默认关闭。
105
+ 数据源、工具和频道按需授权。执行确认取决于工具策略和你的授权范围;浏览器控制不会为每次点击弹出确认。先明确任务范围,涉及发送、删除、购买或账号变更时,要求先展示结果并等待你确认。[隐私与记忆](https://xopcai.github.io/xopc/zh/user-understanding) · [浏览器自动化](https://xopcai.github.io/xopc/zh/browser-automations)。
213
106
 
214
- ---
107
+ ## 找到对应指南
215
108
 
216
- ## 文档
217
-
218
- | 指南 | 说明 |
109
+ | 你想做什么 | 指南 |
219
110
  | --- | --- |
220
- | [快速开始](https://xopcai.github.io/xopc/zh/getting-started) | 安装、向导、第一次对话 |
221
- | [持续工作模型](https://xopcai.github.io/xopc/zh/concepts/loops) | 状态、执行与触发如何组成可恢复、可检查的工作闭环 |
222
- | [Project、Task 与笔记](https://xopcai.github.io/xopc/zh/projects-tasks-notes) | 用唯一且可验证的 Task 模型推进长期工作,并按需增加 Project 上下文 |
223
- | [分享会话](https://xopcai.github.io/xopc/zh/session-sharing) | 发布经过检查、带有效期和访问上限的只读 Session 快照 |
224
- | [配置](https://xopcai.github.io/xopc/zh/configuration) | `xopc.json` 字段 |
225
- | [XOPC Platform](https://xopcai.github.io/xopc/zh/platform) | 独立与连接模式、Discovery 和 runtime 注册 |
226
- | [CLI](https://xopcai.github.io/xopc/zh/cli) | 命令与参数 |
227
- | [频道](https://xopcai.github.io/xopc/zh/channels) | Telegram、微信、飞书 |
228
- | [架构](https://xopcai.github.io/xopc/zh/architecture) | 整体结构 |
229
- | [工作流](https://xopcai.github.io/xopc/zh/workflows) | 扇出子 Agent、看板、脚本 |
230
-
231
- 更多:[工具](https://xopcai.github.io/xopc/zh/tools) · [移动端 App](https://xopcai.github.io/xopc/zh/mobile-app) · [语音](https://xopcai.github.io/xopc/zh/voice) · [远程访问](https://xopcai.github.io/xopc/zh/remote-access)
232
-
233
- ---
111
+ | 设置个人助手 | [认识 Ada](https://xopcai.github.io/xopc/zh/personal-ai) |
112
+ | 交办并修改成果 | [任务交付](https://xopcai.github.io/xopc/zh/task-delegation) |
113
+ | 处理文件与项目 | [工作空间](https://xopcai.github.io/xopc/zh/workspace-guide) |
114
+ | 检查结果与重试 | [任务验收](https://xopcai.github.io/xopc/zh/task-review) |
115
+ | 保存可重复的网页操作 | [浏览器录制与自动化](https://xopcai.github.io/xopc/zh/browser-automations) |
116
+ | 增加服务和能力 | [模型](https://xopcai.github.io/xopc/zh/models) · [技能](https://xopcai.github.io/xopc/zh/skills) · [MCP](https://xopcai.github.io/xopc/zh/mcp) · [连接器](https://xopcai.github.io/xopc/zh/connectors/) |
117
+ | 配置实例与扩展 | [配置](https://xopcai.github.io/xopc/zh/configuration) · [扩展](https://xopcai.github.io/xopc/zh/extensions) · [XOPC Platform](https://xopcai.github.io/xopc/zh/platform) |
118
+ | 查看更新 | [近期变化](https://xopcai.github.io/xopc/zh/whats-new) · [GitHub Releases](https://github.com/xopcai/xopc/releases) |
234
119
 
235
120
  ## 社区交流
236
121
 
@@ -261,7 +146,7 @@ xopc extensions dev ./my-extension
261
146
 
262
147
  **它和普通聊天 UI 有什么区别?** — 聊天只是入口。xopc 会把对你的理解、长期目标、项目、Task、决定和执行记录保留下来,让同一个助手可以跨越时间和入口继续工作。
263
148
 
264
- **能在手机或即时通讯里用吗?** — 可以。用 [原生移动端 App](./docs/design/release/mobile-build-release.md) 扫码连接,或配置 Telegram、微信、飞书/Lark。
149
+ **能在手机或即时通讯里用吗?** — 可以。用 [移动端 App](https://xopcai.github.io/xopc/zh/mobile-app) 扫码连接,或配置 Telegram、微信、飞书/Lark。
265
150
 
266
151
  **还有问题?** — 去 [GitHub Discussions](https://github.com/xopcai/xopc/discussions/categories/q-a) 提问。
267
152