@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.
- package/README.md +59 -174
- package/README.zh-CN.md +59 -174
- package/dist/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/esm/_md.js +131 -0
- package/dist/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/esm/_u64.js +30 -0
- package/dist/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/esm/sha2.js +252 -0
- package/dist/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/esm/sha256.js +16 -0
- package/dist/.pnpm/@noble_hashes@1.8.0/node_modules/@noble/hashes/esm/utils.js +66 -0
- package/dist/browser-ext/_locales/en/messages.json +30 -1
- package/dist/browser-ext/_locales/zh_CN/messages.json +30 -1
- package/dist/browser-ext/dist/assets/{auth-beGtbLPS.js → page-context-BeworyNB.js} +1331 -1355
- package/dist/browser-ext/dist/assets/{sidepanel-BT0ojEzG.css → sidepanel-Ccl0eSa1.css} +43 -0
- package/dist/browser-ext/dist/background.js +680 -182
- package/dist/browser-ext/dist/sidepanel.html +2 -2
- package/dist/browser-ext/dist/sidepanel.js +393 -194
- package/dist/browser-ext/manifest.json +2 -8
- package/dist/extensions/telegram/xopc.extension.json +1 -1
- package/dist/gateway/static/root/assets/{activity-store-D9ZMh5ZR.js → activity-store-BQ3PMp2q.js} +1 -1
- package/dist/gateway/static/root/assets/{agent-avatar-dicebear-Bj3rvcTm.js → agent-avatar-dicebear-C61i1QbX.js} +1 -1
- package/dist/gateway/static/root/assets/agent-defaults-settings-panel-0fCR1DHx.js +1 -0
- package/dist/gateway/static/root/assets/agent-plugin-dialog-Di99mUTT.js +1 -0
- package/dist/gateway/static/root/assets/agents-BRZZmYH_.js +66 -0
- package/dist/gateway/static/root/assets/{agents-admin-api-B5QDepbW.js → agents-admin-api-HBZvVyzF.js} +1 -1
- package/dist/gateway/static/root/assets/{app-management-settings-panel-2rTEtB_X.js → app-management-settings-panel-noqqxkds.js} +1 -1
- package/dist/gateway/static/root/assets/{appearance-settings-BPVBS80k.js → appearance-settings-DG8QN0gR.js} +1 -1
- package/dist/gateway/static/root/assets/{apps-page-1FuKlZYP.js → apps-page-CgiyzFYo.js} +1 -1
- package/dist/gateway/static/root/assets/{archive-plugin-BbT1O7oK.js → archive-plugin-BO3I9zRP.js} +1 -1
- package/dist/gateway/static/root/assets/{automations-page-DjwP_h8h.js → automations-page-CgAcRFDS.js} +1 -1
- package/dist/gateway/static/root/assets/automations-workspace-BIkxIpab.js +6 -0
- package/dist/gateway/static/root/assets/{binary-plugins-gS7Wg68v.js → binary-plugins-gFD7vH9R.js} +1 -1
- package/dist/gateway/static/root/assets/{block-editor-DbwMaivP.js → block-editor-B1VE-jAe.js} +2 -2
- package/dist/gateway/static/root/assets/browser-automation-inputs-DxRoKFun.js +1 -0
- package/dist/gateway/static/root/assets/browser-automations-page-CIjyMS6f.js +3 -0
- package/dist/gateway/static/root/assets/browser-settings-page-BMAivBfp.js +3 -0
- package/dist/gateway/static/root/assets/{capabilities-Lswa0hv8.js → capabilities-CY4SiHcP.js} +1 -1
- package/dist/gateway/static/root/assets/{capabilities-Dd1PZRQw.js → capabilities-gjQtMhKu.js} +1 -1
- package/dist/gateway/static/root/assets/capabilities-page-DRdcfo68.js +2 -0
- package/dist/gateway/static/root/assets/{capabilities-settings-panel-DTHR1DrJ.js → capabilities-settings-panel-ZuL6pWjM.js} +4 -4
- package/dist/gateway/static/root/assets/{capability-header-actions-494dnJsj.js → capability-header-actions-D0GC1FEv.js} +1 -1
- package/dist/gateway/static/root/assets/channels-CgE22Pzd.js +1 -0
- package/dist/gateway/static/root/assets/{chat-terminal-dock-Bl7-Zk-x.js → chat-terminal-dock-CEjh1utz.js} +2 -2
- package/dist/gateway/static/root/assets/{computer-settings-page-ByExKr_6.js → computer-settings-page-vFHJAmQr.js} +1 -1
- package/dist/gateway/static/root/assets/{connector-service-page-BK_5aFxO.js → connector-service-page-DTrwZ4kV.js} +1 -1
- package/dist/gateway/static/root/assets/connectors-page-DRcMiTWu.js +1 -0
- package/dist/gateway/static/root/assets/copy-text-row-C1gaJwlZ.js +1 -0
- package/dist/gateway/static/root/assets/{date-picker-BXJv6472.js → date-picker-NfGIPSYY.js} +1 -1
- package/dist/gateway/static/root/assets/dependency-picker-CqguveUi.js +1 -0
- package/dist/gateway/static/root/assets/{desktop-pet-DWNEC3mk.js → desktop-pet-CTx1zkJm.js} +1 -1
- package/dist/gateway/static/root/assets/{desktop-pet-settings-BYwlxGiN.js → desktop-pet-settings-BRDS3EGc.js} +1 -1
- package/dist/gateway/static/root/assets/{device-pairing-wizard-BAc4F35b.js → device-pairing-wizard-Du4Ciuyw.js} +1 -1
- package/dist/gateway/static/root/assets/{directory-picker-path-field-D26tSY8Z.js → directory-picker-path-field-CjstlxFl.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-debug-page-xYIGNegB.js → extension-debug-page-BfAtjhoK.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-page-BoQ1-3AW.js → extension-page-BJmudejr.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-provider-Cw_JU6RR.js → extension-provider-Br6LXyIj.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-settings-page-BH5TFGPe.js → extension-settings-page-UvmHniyz.js} +1 -1
- package/dist/gateway/static/root/assets/{fallback-models-04Wqmw14.js → fallback-models-euw9MGdt.js} +1 -1
- package/dist/gateway/static/root/assets/{gateway-config-swr-CNf0ZeRw.js → gateway-config-swr-7RKqgU_U.js} +1 -1
- package/dist/gateway/static/root/assets/gateway-realtime-F6D4A7N5.js +1 -0
- package/dist/gateway/static/root/assets/gateway-realtime-store-BheKaO6d.js +1 -0
- package/dist/gateway/static/root/assets/{gateway-settings-BqvCJVUC.js → gateway-settings-C7roPHh1.js} +1 -1
- package/dist/gateway/static/root/assets/{gateway-startup-retry-DIxHacUw.js → gateway-startup-retry-jiV5sbEX.js} +1 -1
- package/dist/gateway/static/root/assets/home-page-BGNCTtM3.js +2 -0
- package/dist/gateway/static/root/assets/{image-generation-api-CS0q0Kto.js → image-generation-api-DO4mXb6I.js} +1 -1
- package/dist/gateway/static/root/assets/{imports-page-n_rSLo6b.js → imports-page-DxCoT0VV.js} +1 -1
- package/dist/gateway/static/root/assets/index-BGBkIIzM.css +1 -0
- package/dist/gateway/static/root/assets/index-FCEE325-.js +106 -0
- package/dist/gateway/static/root/assets/{keyboard-shortcuts-settings-tVkrHbYF.js → keyboard-shortcuts-settings-CnLln9Ds.js} +1 -1
- package/dist/gateway/static/root/assets/{local-app-workbench-page-L8tYuas0.js → local-app-workbench-page-yXRkSrEj.js} +1 -1
- package/dist/gateway/static/root/assets/{local-apps-page-SSJ9B1bH.js → local-apps-page-D46buzTk.js} +1 -1
- package/dist/gateway/static/root/assets/local-session-drafts-pox8evDV.js +1 -0
- package/dist/gateway/static/root/assets/{locale-store-D6_rF-qT.js → locale-store-COVscAqC.js} +1 -1
- package/dist/gateway/static/root/assets/logs-page-DmcCHnH0.js +2 -0
- package/dist/gateway/static/root/assets/management-settings-khN1ThNL.js +1 -0
- package/dist/gateway/static/root/assets/{markdown-view-_xwUuKce.js → markdown-view-B_qnAcW2.js} +1 -1
- package/dist/gateway/static/root/assets/{media-plugins-C631CDu4.js → media-plugins-C0Pc-wSY.js} +1 -1
- package/dist/gateway/static/root/assets/messages-Bb2GK-Nj.js +3 -0
- package/dist/gateway/static/root/assets/models-hub-cache-DyPPksMP.js +1 -0
- package/dist/gateway/static/root/assets/note-detail-panel-C_t58yha.js +5 -0
- package/dist/gateway/static/root/assets/{notes-api-vIZWQ9Yt.js → notes-api-sBgBcyLW.js} +1 -1
- package/dist/gateway/static/root/assets/notes-page-BJ0QS6xx.js +8 -0
- package/dist/gateway/static/root/assets/{page-context-capture-button-BlPDM7GM.js → page-context-capture-button-DfRODHv1.js} +1 -1
- package/dist/gateway/static/root/assets/personal-page-CiiXwwQE.js +1 -0
- package/dist/gateway/static/root/assets/{product-open-page-BJjWvoER.js → product-open-page-_Bp6HRmm.js} +1 -1
- package/dist/gateway/static/root/assets/{product-preview-content-CEd4E7Gf.js → product-preview-content-BUdiO0Ct.js} +1 -1
- package/dist/gateway/static/root/assets/project-detail-page-Clb-fXYk.js +1 -0
- package/dist/gateway/static/root/assets/{projects-page-lszV8HuS.js → projects-page-D9JEEqhh.js} +1 -1
- package/dist/gateway/static/root/assets/{registry-api-uJnjqTcn.js → registry-api-Bh9UBb-f.js} +1 -1
- package/dist/gateway/static/root/assets/remote-access-hub-CmyTq3_l.js +1 -0
- package/dist/gateway/static/root/assets/{runtime-tools-settings-panel-CjnNQYW8.js → runtime-tools-settings-panel-B1_inj8L.js} +1 -1
- package/dist/gateway/static/root/assets/{scenes-page-B3T3dDOR.js → scenes-page-CUNAZN2_.js} +2 -2
- package/dist/gateway/static/root/assets/{schema-form-DT3c4Vd_.js → schema-form-CfT-9UVw.js} +1 -1
- package/dist/gateway/static/root/assets/{send-session-input-CICkGwn-.js → send-session-input-BW40VHiL.js} +1 -1
- package/dist/gateway/static/root/assets/{session-api-BcQodoAu.js → session-api-yjpEz4pP.js} +1 -1
- package/dist/gateway/static/root/assets/session-manager-BqlvrjPE.js +16 -0
- package/dist/gateway/static/root/assets/sessions-page-CXZKScvu.js +1 -0
- package/dist/gateway/static/root/assets/settings-advanced-gate-B2vKXmzg.js +1 -0
- package/dist/gateway/static/root/assets/{settings-page-D-PZjcss.js → settings-page-1h3vyueg.js} +1 -1
- package/dist/gateway/static/root/assets/setup-status-panel-Cqc7UlZy.js +1 -0
- package/dist/gateway/static/root/assets/{share-link-dialog-CWS8EkJS.js → share-link-dialog-HCHM8qnf.js} +1 -1
- package/dist/gateway/static/root/assets/{share-preview-page-23NJAKiq.js → share-preview-page-Ce6FNWt1.js} +1 -1
- package/dist/gateway/static/root/assets/{shares-api-iKhHbvBD.js → shares-api-c0dfWz6h.js} +1 -1
- package/dist/gateway/static/root/assets/shares-settings-Dh5jisCK.js +1 -0
- package/dist/gateway/static/root/assets/{skill-api-C-MWdQwl.js → skill-api-deDZeQS8.js} +1 -1
- package/dist/gateway/static/root/assets/{skill-reload-api-iy02aB13.js → skill-reload-api-Ge5XymHa.js} +1 -1
- package/dist/gateway/static/root/assets/skills-page-DZozl9U_.js +2 -0
- package/dist/gateway/static/root/assets/system-settings-panel-CtzyMxqq.js +1 -0
- package/dist/gateway/static/root/assets/{task-detail-page-B2SIEyhZ.js → task-detail-page-5f_V0h-p.js} +2 -2
- package/dist/gateway/static/root/assets/{task-expandable-content-D2LRR4BC.js → task-expandable-content-hYcgCEE3.js} +1 -1
- package/dist/gateway/static/root/assets/{theme-store-BJfhz-Zq.js → theme-store-BOfCKgl6.js} +1 -1
- package/dist/gateway/static/root/assets/{tracing-settings-page-aHD56iaS.js → tracing-settings-page-DDWFXcST.js} +1 -1
- package/dist/gateway/static/root/assets/{tunnel-api-BCf8CfTC.js → tunnel-api-vMtlbJ-m.js} +1 -1
- package/dist/gateway/static/root/assets/{usage-page-B4XUkuJd.js → usage-page-B1-BCW8U.js} +1 -1
- package/dist/gateway/static/root/assets/{use-autosave-BnnTw9RE.js → use-autosave-CSckcjFx.js} +1 -1
- package/dist/gateway/static/root/assets/{use-composer-attachments-Itczg0y1.js → use-composer-attachments-DJya1hIL.js} +1 -1
- package/dist/gateway/static/root/assets/use-file-preview-expanded-C5ONO7sF.js +2 -0
- package/dist/gateway/static/root/assets/user-model-page-D4BSq9HJ.js +2 -0
- package/dist/gateway/static/root/assets/{voice-api-key-field-BphJku8x.js → voice-api-key-field-GEw5x2fU.js} +1 -1
- package/dist/gateway/static/root/assets/{voice-config-api-B4u4coFj.js → voice-config-api-3yyVwXln.js} +1 -1
- package/dist/gateway/static/root/assets/{work-discovery-overlay-jgOEP1xw.js → work-discovery-overlay-CjiNYJV5.js} +1 -1
- package/dist/gateway/static/root/assets/{workflow-run-setup-panel-N69crzRu.js → workflow-run-setup-panel-DJOetXvm.js} +2 -2
- package/dist/gateway/static/root/assets/workflows-page-CcAPFh2R.js +6 -0
- package/dist/gateway/static/root/assets/{workspace-api-Lzv6GDO8.js → workspace-api-WhbMvdBE.js} +2 -2
- package/dist/gateway/static/root/index.html +32 -34
- package/dist/package.js +1 -1
- package/dist/packages/browser-control-contract/src/automation.js +213 -0
- package/dist/packages/browser-control-contract/src/index.js +43 -12
- package/dist/packages/endpoint-tools-client/src/index.js +189 -0
- package/dist/packages/endpoint-tools-protocol/src/bridge.js +105 -0
- package/dist/packages/endpoint-tools-protocol/src/index.js +93 -2
- package/dist/packages/endpoint-tools-protocol/src/location.js +109 -0
- package/dist/packages/gateway-contract/src/gateway-scopes.js +3 -1
- package/dist/packages/gateway-contract/src/notifications.js +1 -0
- package/dist/packages/gateway-contract/src/session-input-command.js +30 -5
- package/dist/packages/realtime-protocol/src/voice.js +9 -3
- package/dist/src/agent/agent-manager.js +22 -26
- package/dist/src/agent/coding/repository-instructions.js +8 -1
- package/dist/src/agent/embedded/codemode-extension.d.ts +7 -0
- package/dist/src/agent/embedded/codemode-extension.js +232 -0
- package/dist/src/agent/embedded/codemode-output.d.ts +2 -0
- package/dist/src/agent/embedded/codemode-output.js +34 -0
- package/dist/src/agent/embedded/external-tool-discovery.d.ts +6 -0
- package/dist/src/agent/embedded/external-tool-discovery.js +60 -0
- package/dist/src/agent/embedded/model-runtime.js +5 -2
- package/dist/src/agent/embedded/run-for-session.js +10 -1
- package/dist/src/agent/embedded/run-turn.js +10 -3
- package/dist/src/agent/embedded/session-runner.d.ts +9 -1
- package/dist/src/agent/embedded/session-runner.js +111 -23
- package/dist/src/agent/embedded/session-tool-result-guard.d.ts +2 -0
- package/dist/src/agent/embedded/session-tool-result-guard.js +17 -0
- package/dist/src/agent/embedded/subscribe-session.js +14 -4
- package/dist/src/agent/embedded/tool-metadata.d.ts +15 -0
- package/dist/src/agent/embedded/tool-metadata.js +38 -0
- package/dist/src/agent/embedded/tool-search-extension.d.ts +5 -0
- package/dist/src/agent/embedded/tool-search-extension.js +31 -0
- package/dist/src/agent/embedded/types.d.ts +7 -0
- package/dist/src/agent/embedded/xopc-tools-bridge.js +6 -0
- package/dist/src/agent/external-tools/endpoint-provider.d.ts +1 -1
- package/dist/src/agent/external-tools/endpoint-provider.js +148 -56
- package/dist/src/agent/external-tools/extension-provider.js +8 -1
- package/dist/src/agent/external-tools/gateway-tools.d.ts +1 -1
- package/dist/src/agent/external-tools/gateway-tools.js +45 -22
- package/dist/src/agent/external-tools/index.js +46 -14
- package/dist/src/agent/external-tools/memory-provider.js +8 -1
- package/dist/src/agent/external-tools/read-policy.js +2 -1
- package/dist/src/agent/external-tools/service.d.ts +2 -0
- package/dist/src/agent/external-tools/service.js +25 -3
- package/dist/src/agent/external-tools/tool-registry.d.ts +14 -0
- package/dist/src/agent/external-tools/tool-registry.js +14 -0
- package/dist/src/agent/external-tools/types.d.ts +8 -1
- package/dist/src/agent/external-tools/types.js +0 -1
- package/dist/src/agent/mcp/config.d.ts +18 -0
- package/dist/src/agent/mcp/{bundle-mcp-config.js → config.js} +8 -25
- package/dist/src/agent/mcp/native-mcp.d.ts +6 -0
- package/dist/src/agent/mcp/native-mcp.js +73 -0
- package/dist/src/agent/service.js +2 -5
- package/dist/src/agent/skills/installer.js +1 -1
- package/dist/src/agent/skills/skill-manager.js +1 -1
- package/dist/src/agent/skills/skill-sources.js +1 -1
- package/dist/src/agent/source-context/index.d.ts +0 -1
- package/dist/src/agent/source-context/index.js +1 -2
- package/dist/src/agent/source-context/injector.js +1 -0
- package/dist/src/agent/source-context/types.d.ts +2 -2
- package/dist/src/agent/source-context/types.js +1 -1
- package/dist/src/agent/tool-manuals/browser.d.ts +1 -1
- package/dist/src/agent/tool-manuals/browser.js +3 -3
- package/dist/src/agent/tools/browser/tool/browser-use-tool.js +1 -1
- package/dist/src/agent/tools/browser/tool/schemas.d.ts +0 -13
- package/dist/src/agent/tools/browser/tool/schemas.js +0 -4
- package/dist/src/agent/tools/browser-automation-tool.d.ts +74 -1
- package/dist/src/agent/tools/browser-automation-tool.js +52 -6
- package/dist/src/agent/tools/cli-clarify.js +1 -1
- package/dist/src/agent/tools/codemode-permissions.d.ts +4 -0
- package/dist/src/agent/tools/codemode-permissions.js +23 -0
- package/dist/src/agent/tools/dataBatch.js +3 -1
- package/dist/src/agent/tools/delegation-parent-policy.js +1 -4
- package/dist/src/agent/tools/factory.js +4 -3
- package/dist/src/agent/transcript/provider-capabilities.js +0 -1
- package/dist/src/agent/transcript/transcript-policy.js +1 -2
- package/dist/src/agent-config/schema.d.ts +28 -0
- package/dist/src/agent-config/schema.js +7 -0
- package/dist/src/auth/credentials.js +7 -20
- package/dist/src/auth/model-credential-store.js +11 -4
- package/dist/src/auth/oauth/index.d.ts +1 -1
- package/dist/src/auth/oauth/index.js +3 -3
- package/dist/src/auth/oauth/openai.d.ts +2 -0
- package/dist/src/auth/oauth/openai.js +90 -0
- package/dist/src/auth/oauth/registry.js +3 -3
- package/dist/src/auth/oauth/types.d.ts +1 -0
- package/dist/src/auth/oauth/xopc-cloud.js +1 -1
- package/dist/src/auth/sync-provider-auth.js +5 -0
- package/dist/src/automations/capabilities/write.d.ts +2 -0
- package/dist/src/automations/domain/types.d.ts +11 -0
- package/dist/src/automations/domain/validation.d.ts +4 -0
- package/dist/src/automations/domain/validation.js +1 -0
- package/dist/src/automations/draft/automation-draft-validator.d.ts +1 -0
- package/dist/src/automations/service/action-executor.js +11 -3
- package/dist/src/automations/service/automation-service.d.ts +1 -0
- package/dist/src/automations/service/automation-service.js +13 -1
- package/dist/src/bootstrap/application-state.js +1 -1
- package/dist/src/browser/automations/repository.d.ts +4 -0
- package/dist/src/browser/automations/repository.js +27 -6
- package/dist/src/browser/automations/runner.js +101 -9
- package/dist/src/browser/automations/runtime-service.js +4 -3
- package/dist/src/browser/automations/schema.d.ts +84 -1
- package/dist/src/browser/automations/schema.js +68 -2
- package/dist/src/browser/automations/service.d.ts +78 -1
- package/dist/src/browser/automations/service.js +36 -4
- package/dist/src/browser/automations/types.d.ts +19 -4
- package/dist/src/browser/drivers/extension-driver.d.ts +5 -5
- package/dist/src/browser/drivers/extension-driver.js +10 -10
- package/dist/src/browser/drivers/playwright-driver.js +46 -0
- package/dist/src/browser/index.d.ts +1 -2
- package/dist/src/browser/index.js +2 -3
- package/dist/src/browser/policy/browser-policy.d.ts +0 -1
- package/dist/src/browser/policy/browser-policy.js +1 -4
- package/dist/src/browser/providers/index.d.ts +1 -1
- package/dist/src/browser/providers/index.js +2 -2
- package/dist/src/browser/providers/realtime-extension.d.ts +1 -1
- package/dist/src/browser/providers/realtime-extension.js +5 -1
- package/dist/src/browser/recordings/service.d.ts +22 -0
- package/dist/src/browser/recordings/service.js +160 -0
- package/dist/src/browser/runtime/browser-runtime.d.ts +1 -1
- package/dist/src/browser/runtime/browser-runtime.js +19 -56
- package/dist/src/chat-commands/builtins/model.js +2 -2
- package/dist/src/cli/command-manifest.js +1 -1
- package/dist/src/cli/commands/doctor/checks/database-schema.js +1 -1
- package/dist/src/cli/commands/extension-agent-plugin.js +0 -19
- package/dist/src/cli/commands/mcp.js +36 -2
- package/dist/src/cli/commands/models.js +1 -1
- package/dist/src/cli/utils/oauth-login.js +2 -2
- package/dist/src/computer/runtime.js +2 -2
- package/dist/src/config/index.js +3 -3
- package/dist/src/config/mcp-config-normalize.d.ts +0 -3
- package/dist/src/config/mcp-config-normalize.js +2 -22
- package/dist/src/config/models-json.d.ts +0 -5
- package/dist/src/config/models-json.js +13 -4
- package/dist/src/config/paths.d.ts +0 -1
- package/dist/src/config/paths.js +1 -4
- package/dist/src/config/schema.d.ts +142 -48
- package/dist/src/config/schema.js +64 -47
- package/dist/src/connectors/auth-provider-registry.d.ts +1 -1
- package/dist/src/connectors/auth-provider-registry.js +1 -21
- package/dist/src/connectors/china-catalog.js +5 -5
- package/dist/src/connectors/connection-recovery-service.d.ts +1 -6
- package/dist/src/connectors/connection-recovery-service.js +3 -105
- package/dist/src/connectors/health.d.ts +1 -2
- package/dist/src/connectors/health.js +2 -101
- package/dist/src/connectors/types.d.ts +1 -1
- package/dist/src/endpoint-tools/binding-service.d.ts +2 -0
- package/dist/src/endpoint-tools/binding-service.js +14 -2
- package/dist/src/endpoint-tools/bridge-host.d.ts +15 -0
- package/dist/src/endpoint-tools/bridge-host.js +166 -0
- package/dist/src/endpoint-tools/bridge.d.ts +27 -0
- package/dist/src/endpoint-tools/bridge.js +88 -0
- package/dist/src/endpoint-tools/capability-catalog.d.ts +2 -0
- package/dist/src/endpoint-tools/capability-catalog.js +8 -0
- package/dist/src/endpoint-tools/grant-service.d.ts +69 -0
- package/dist/src/endpoint-tools/grant-service.js +113 -0
- package/dist/src/endpoint-tools/index.js +1 -1
- package/dist/src/endpoint-tools/invocation-service.js +6 -2
- package/dist/src/endpoint-tools/location-task.d.ts +22 -0
- package/dist/src/endpoint-tools/location-task.js +114 -0
- package/dist/src/endpoint-tools/policy.js +20 -4
- package/dist/src/endpoint-tools/registry.d.ts +2 -0
- package/dist/src/endpoint-tools/registry.js +9 -0
- package/dist/src/endpoint-tools/result-projector.d.ts +15 -0
- package/dist/src/endpoint-tools/result-projector.js +31 -0
- package/dist/src/endpoint-tools/runtime.d.ts +2 -0
- package/dist/src/endpoint-tools/runtime.js +15 -2
- package/dist/src/endpoint-tools/target-resolver.d.ts +12 -0
- package/dist/src/endpoint-tools/target-resolver.js +27 -0
- package/dist/src/endpoint-tools/turn-context.d.ts +6 -0
- package/dist/src/endpoint-tools/turn-context.js +29 -0
- package/dist/src/extensions/agent-plugins/auth.d.ts +0 -2
- package/dist/src/extensions/agent-plugins/auth.js +2 -19
- package/dist/src/extensions/agent-plugins/credentials.js +3 -19
- package/dist/src/extensions/agent-plugins/inventory.d.ts +2 -2
- package/dist/src/extensions/agent-plugins/mcp-adapter.js +1 -5
- package/dist/src/extensions/agent-plugins/source-http-fetch.d.ts +2 -0
- package/dist/src/{agent/mcp/plugin-http-fetch.js → extensions/agent-plugins/source-http-fetch.js} +7 -7
- package/dist/src/extensions/agent-plugins/sources.js +2 -2
- package/dist/src/extensions/agent-plugins/store.js +1 -3
- package/dist/src/extensions/agent-plugins/validation.d.ts +0 -4
- package/dist/src/extensions/agent-plugins/validation.js +13 -20
- package/dist/src/gateway/agents-admin.d.ts +5 -0
- package/dist/src/gateway/agents-admin.js +56 -1
- package/dist/src/gateway/chat-stream/mapper.js +9 -0
- package/dist/src/gateway/chat-stream/protocol.d.ts +4 -4
- package/dist/src/gateway/hono/lib/config-payload.d.ts +9 -4
- package/dist/src/gateway/hono/lib/config-payload.js +2 -5
- package/dist/src/gateway/hono/oauth-async.js +9 -2
- package/dist/src/gateway/hono/routes/agent-plugins.js +4 -9
- package/dist/src/gateway/hono/routes/agents.js +4 -3
- package/dist/src/gateway/hono/routes/browser-automations.js +23 -7
- package/dist/src/gateway/hono/routes/browser-recordings.d.ts +3 -0
- package/dist/src/gateway/hono/routes/browser-recordings.js +78 -0
- package/dist/src/gateway/hono/routes/browser.js +1 -34
- package/dist/src/gateway/hono/routes/connection-waits.js +2 -5
- package/dist/src/gateway/hono/routes/connectors.js +5 -60
- package/dist/src/gateway/hono/routes/device-authorizations.d.ts +3 -0
- package/dist/src/gateway/hono/routes/device-authorizations.js +74 -0
- package/dist/src/gateway/hono/routes/device-push.js +1 -0
- package/dist/src/gateway/hono/routes/endpoint-compatibility.js +7 -0
- package/dist/src/gateway/hono/routes/endpoint-tools.d.ts +1 -0
- package/dist/src/gateway/hono/routes/endpoint-tools.js +53 -3
- package/dist/src/gateway/hono/routes/home.js +1 -1
- package/dist/src/gateway/hono/routes/lazy-bundles.js +25 -1
- package/dist/src/gateway/hono/routes/mcp.d.ts +1 -1
- package/dist/src/gateway/hono/routes/mcp.js +11 -237
- package/dist/src/gateway/hono/routes/personal-agent.js +35 -0
- package/dist/src/gateway/hono/routes/session-command-handler.js +11 -1
- package/dist/src/gateway/hono/routes/session-input-handler.d.ts +8 -2
- package/dist/src/gateway/hono/routes/session-input-handler.js +25 -1
- package/dist/src/gateway/hono/routes/voice.js +5 -2
- package/dist/src/gateway/security/gateway-scopes.js +3 -1
- package/dist/src/gateway/service/agent-runner.js +1 -0
- package/dist/src/gateway/service/config-coordinator.js +2 -5
- package/dist/src/gateway/service/marketplace-service.js +2 -2
- package/dist/src/gateway/service/run-gateway-agent.js +13 -5
- package/dist/src/gateway/service/session-input-coordinator.d.ts +1 -1
- package/dist/src/gateway/service/session-input-coordinator.js +29 -9
- package/dist/src/gateway/service/sessions-api.js +0 -6
- package/dist/src/gateway/service.js +3 -12
- package/dist/src/gateway/session-reset-service.js +0 -6
- package/dist/src/home-intelligence/generator.d.ts +2 -0
- package/dist/src/home-intelligence/generator.js +53 -4
- package/dist/src/home-intelligence/host.d.ts +2 -1
- package/dist/src/home-intelligence/host.js +23 -3
- package/dist/src/imports/compatibility.js +12 -10
- package/dist/src/mcp/channel-bridge.js +1 -1
- package/dist/src/migrations/cloud-public-models.js +1 -0
- package/dist/src/notifications/clarification.d.ts +5 -0
- package/dist/src/notifications/clarification.js +66 -0
- package/dist/src/notifications/device-store.js +1 -0
- package/dist/src/notifications/harmony-push.d.ts +1 -0
- package/dist/src/notifications/harmony-push.js +3 -1
- package/dist/src/notifications/planner.d.ts +1 -0
- package/dist/src/notifications/service.d.ts +2 -2
- package/dist/src/notifications/service.js +20 -4
- package/dist/src/notifications/store.d.ts +2 -0
- package/dist/src/notifications/store.js +7 -1
- package/dist/src/notifications/types.d.ts +1 -0
- package/dist/src/notifications/types.js +1 -0
- package/dist/src/providers/env-keys.js +1 -1
- package/dist/src/providers/index.js +26 -24
- package/dist/src/providers/model-call.d.ts +0 -2
- package/dist/src/providers/model-call.js +2 -6
- package/dist/src/providers/model-registry.js +4 -2
- package/dist/src/providers/model-supplements.d.ts +3 -3
- package/dist/src/providers/model-supplements.js +6 -27
- package/dist/src/providers/presentation.js +3 -8
- package/dist/src/providers/prompt-cache-plan.js +1 -1
- package/dist/src/providers/provider-auth-service.d.ts +1 -1
- package/dist/src/providers/provider-auth-service.js +7 -2
- package/dist/src/providers/provider-policy.d.ts +3 -0
- package/dist/src/providers/provider-policy.js +14 -0
- package/dist/src/providers/register-runtime-providers.js +6 -1
- package/dist/src/realtime/runtime.js +1 -1
- package/dist/src/session/store.js +7 -1
- package/dist/src/session/transcript-events.d.ts +5 -0
- package/dist/src/session/transcript-events.js +1 -0
- package/dist/src/session/types.d.ts +2 -0
- package/dist/src/storage/sqlite/clarification-wait-repository.js +1 -0
- package/dist/src/storage/sqlite/device-grant-audit-repository.d.ts +11 -0
- package/dist/src/storage/sqlite/device-grant-audit-repository.js +10 -0
- package/dist/src/storage/sqlite/endpoint-device-settings-repository.d.ts +7 -0
- package/dist/src/storage/sqlite/endpoint-device-settings-repository.js +17 -0
- package/dist/src/storage/sqlite/migrations/238_browser_record_replay.sql +45 -0
- package/dist/src/storage/sqlite/migrations/239_clarification_notifications.sql +26 -0
- package/dist/src/storage/sqlite/migrations/240_device_settings.sql +5 -0
- package/dist/src/storage/sqlite/migrations/241_device_grant_audit.sql +13 -0
- package/dist/src/storage/sqlite/migrations/runner.d.ts +1 -1
- package/dist/src/storage/sqlite/migrations/runner.js +3 -3
- package/dist/src/storage/sqlite/schema.js +1 -1
- package/dist/src/storage/sqlite/session-input-repository.d.ts +1 -0
- package/dist/src/storage/sqlite/session-input-repository.js +5 -1
- package/dist/src/tasks/home-query-service.d.ts +1 -1
- package/dist/src/tasks/home-query-service.js +6 -2
- package/dist/src/tui/backends/gateway-realtime-backend.js +1 -1
- package/dist/src/tui/xopc-tui-keybindings.d.ts +4 -4
- package/dist/src/voice/dashscope/streaming-tts-stream.d.ts +2 -1
- package/dist/src/voice/dashscope/streaming-tts-stream.js +135 -79
- package/dist/src/voice/realtime/agentEngine.js +78 -1
- package/dist/src/voice/realtime/speakable-segmenter.d.ts +2 -0
- package/dist/src/voice/realtime/speakable-segmenter.js +30 -0
- package/dist/src/voice/tts/providers/alibaba-speech.js +17 -1
- package/dist/src/voice/tts/speak-core.d.ts +3 -0
- package/dist/src/voice/tts/speak-core.js +21 -1
- package/dist/src/voice/tts/speech-provider-types.d.ts +8 -0
- package/package.json +18 -7
- package/dist/gateway/static/root/assets/agent-defaults-settings-panel-D0tD3kCe.js +0 -1
- package/dist/gateway/static/root/assets/agent-plugin-dialog-BjdgKCnk.js +0 -1
- package/dist/gateway/static/root/assets/agents-CWXKzX5L.js +0 -66
- package/dist/gateway/static/root/assets/automations-workspace-C9ZT6TAU.js +0 -6
- package/dist/gateway/static/root/assets/browser-automation-inputs-CXG_JveC.js +0 -1
- package/dist/gateway/static/root/assets/browser-automations-page-CJc7OKR3.js +0 -3
- package/dist/gateway/static/root/assets/browser-settings-page-BjaTEUR8.js +0 -3
- package/dist/gateway/static/root/assets/capabilities-page-djBsC_tG.js +0 -2
- package/dist/gateway/static/root/assets/channels-BaYRJtz3.js +0 -1
- package/dist/gateway/static/root/assets/connectors-page-DyqRwSH2.js +0 -2
- package/dist/gateway/static/root/assets/copy-text-row-BHDs3cBa.js +0 -1
- package/dist/gateway/static/root/assets/dependency-picker-CWbbhKZa.js +0 -1
- package/dist/gateway/static/root/assets/dist-Che_jiQF.js +0 -1
- package/dist/gateway/static/root/assets/gateway-realtime-C4KtwMY3.js +0 -1
- package/dist/gateway/static/root/assets/gateway-realtime-store-ChZUzVbe.js +0 -1
- package/dist/gateway/static/root/assets/home-page-DhPPLbdD.js +0 -2
- package/dist/gateway/static/root/assets/index-CK4O2xMa.css +0 -1
- package/dist/gateway/static/root/assets/index-DpLD-7Hc.js +0 -106
- package/dist/gateway/static/root/assets/link-2-D_ZKYUW7.js +0 -1
- package/dist/gateway/static/root/assets/local-session-drafts-B_McurIj.js +0 -1
- package/dist/gateway/static/root/assets/logs-page-BWD63eg1.js +0 -2
- package/dist/gateway/static/root/assets/management-settings-aKSibklM.js +0 -1
- package/dist/gateway/static/root/assets/messages-Bnx3GMDB.js +0 -3
- package/dist/gateway/static/root/assets/models-hub-cache-Di83uIPw.js +0 -1
- package/dist/gateway/static/root/assets/note-detail-panel-B_fve3_2.js +0 -5
- package/dist/gateway/static/root/assets/notes-page-DnChyp8S.js +0 -8
- package/dist/gateway/static/root/assets/personal-page-BM2qAgg_.js +0 -1
- package/dist/gateway/static/root/assets/project-detail-page-DM4_VLNX.js +0 -1
- package/dist/gateway/static/root/assets/remote-access-hub-O6j9CWX0.js +0 -1
- package/dist/gateway/static/root/assets/session-manager-B0tOE4qz.js +0 -16
- package/dist/gateway/static/root/assets/sessions-page-BIixHXlQ.js +0 -1
- package/dist/gateway/static/root/assets/settings-advanced-gate-49SUEWPh.js +0 -1
- package/dist/gateway/static/root/assets/setup-status-panel-Ce3gTbT3.js +0 -1
- package/dist/gateway/static/root/assets/shares-settings-CNEZjF66.js +0 -1
- package/dist/gateway/static/root/assets/skills-page-BndNdYsJ.js +0 -2
- package/dist/gateway/static/root/assets/system-settings-panel-EpZeMlvp.js +0 -1
- package/dist/gateway/static/root/assets/use-file-preview-expanded-DJ5vyrvM.js +0 -2
- package/dist/gateway/static/root/assets/user-model-page-Bz5lkFG9.js +0 -2
- package/dist/gateway/static/root/assets/workflows-page-CPCgOfHh.js +0 -6
- package/dist/src/agent/embedded/system-prompt-override.d.ts +0 -2
- package/dist/src/agent/embedded/system-prompt-override.js +0 -21
- package/dist/src/agent/external-tools/mcp-provider.d.ts +0 -32
- package/dist/src/agent/external-tools/mcp-provider.js +0 -208
- package/dist/src/agent/mcp/bundle-mcp-config.d.ts +0 -20
- package/dist/src/agent/mcp/bundle-mcp-gateway.d.ts +0 -79
- package/dist/src/agent/mcp/bundle-mcp-gateway.js +0 -93
- package/dist/src/agent/mcp/bundle-mcp-names.d.ts +0 -1
- package/dist/src/agent/mcp/bundle-mcp-names.js +0 -25
- package/dist/src/agent/mcp/bundle-mcp-policy.d.ts +0 -1
- package/dist/src/agent/mcp/bundle-mcp-policy.js +0 -6
- package/dist/src/agent/mcp/bundle-mcp-runtime.d.ts +0 -46
- package/dist/src/agent/mcp/bundle-mcp-runtime.js +0 -571
- package/dist/src/agent/mcp/bundle-mcp-tools.d.ts +0 -2
- package/dist/src/agent/mcp/bundle-mcp-tools.js +0 -2
- package/dist/src/agent/mcp/bundle-mcp-types.d.ts +0 -76
- package/dist/src/agent/mcp/bundle-mcp-types.js +0 -1
- package/dist/src/agent/mcp/embedded-mcp.d.ts +0 -10
- package/dist/src/agent/mcp/embedded-mcp.js +0 -14
- package/dist/src/agent/mcp/index.d.ts +0 -5
- package/dist/src/agent/mcp/index.js +0 -12
- package/dist/src/agent/mcp/mcp-config-shared.d.ts +0 -8
- package/dist/src/agent/mcp/mcp-config-shared.js +0 -39
- package/dist/src/agent/mcp/mcp-http.d.ts +0 -23
- package/dist/src/agent/mcp/mcp-http.js +0 -67
- package/dist/src/agent/mcp/mcp-resource-id.d.ts +0 -6
- package/dist/src/agent/mcp/mcp-resource-id.js +0 -19
- package/dist/src/agent/mcp/mcp-stdio-transport.d.ts +0 -26
- package/dist/src/agent/mcp/mcp-stdio-transport.js +0 -120
- package/dist/src/agent/mcp/mcp-stdio.d.ts +0 -18
- package/dist/src/agent/mcp/mcp-stdio.js +0 -35
- package/dist/src/agent/mcp/mcp-transport-config.d.ts +0 -28
- package/dist/src/agent/mcp/mcp-transport-config.js +0 -91
- package/dist/src/agent/mcp/mcp-transport.d.ts +0 -17
- package/dist/src/agent/mcp/mcp-transport.js +0 -141
- package/dist/src/agent/mcp/oauth/index.d.ts +0 -6
- package/dist/src/agent/mcp/oauth/index.js +0 -6
- package/dist/src/agent/mcp/oauth/mcp-oauth-errors.d.ts +0 -5
- package/dist/src/agent/mcp/oauth/mcp-oauth-errors.js +0 -14
- package/dist/src/agent/mcp/oauth/mcp-oauth-manager.d.ts +0 -30
- package/dist/src/agent/mcp/oauth/mcp-oauth-manager.js +0 -276
- package/dist/src/agent/mcp/oauth/mcp-oauth-provider.d.ts +0 -33
- package/dist/src/agent/mcp/oauth/mcp-oauth-provider.js +0 -103
- package/dist/src/agent/mcp/oauth/mcp-oauth-session.d.ts +0 -31
- package/dist/src/agent/mcp/oauth/mcp-oauth-session.js +0 -181
- package/dist/src/agent/mcp/oauth/mcp-oauth-store.d.ts +0 -12
- package/dist/src/agent/mcp/oauth/mcp-oauth-store.js +0 -91
- package/dist/src/agent/mcp/oauth/mcp-oauth-types.d.ts +0 -22
- package/dist/src/agent/mcp/oauth/mcp-oauth-types.js +0 -1
- package/dist/src/agent/mcp/plugin-http-fetch.d.ts +0 -2
- package/dist/src/agent/source-context/mcp-resource-context.d.ts +0 -8
- package/dist/src/agent/source-context/mcp-resource-context.js +0 -30
- package/dist/src/auth/oauth/openai-codex.d.ts +0 -9
- package/dist/src/auth/oauth/openai-codex.js +0 -414
- package/dist/src/browser/policy/approval-store.d.ts +0 -17
- package/dist/src/browser/policy/approval-store.js +0 -62
- package/dist/src/browser/providers/extension-ws-acquire.d.ts +0 -19
- package/dist/src/browser/providers/extension-ws-acquire.js +0 -78
- package/dist/src/browser/providers/extension.d.ts +0 -61
- package/dist/src/browser/providers/extension.js +0 -378
- package/dist/src/connectors/plugin-mcp-recovery.d.ts +0 -28
- package/dist/src/connectors/plugin-mcp-recovery.js +0 -90
- package/dist/src/extensions/agent-plugins/connection.d.ts +0 -8
- package/dist/src/extensions/agent-plugins/connection.js +0 -41
- package/dist/src/extensions/agent-plugins/health.d.ts +0 -4
- package/dist/src/extensions/agent-plugins/health.js +0 -48
- package/dist/src/extensions/agent-plugins/plugin-oauth-scope.d.ts +0 -1
- 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
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
|
17
|
-
<
|
|
18
|
-
<img src="https://img.shields.io/
|
|
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&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="
|
|
27
|
-
<a href="https://
|
|
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
|
-
|
|
32
|
+
## Two ways to start in one xopc
|
|
37
33
|
|
|
38
|
-
|
|
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
|
-
|
|
42
|
-
- [Get started](#get-started)
|
|
43
|
-
- [Where to chat](#where-to-chat)
|
|
44
|
-
- [Channels](#channels)
|
|
45
|
-
- [Extensions & 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
|
-
|
|
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
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
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
|
-
|
|
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
|
-
|
|
50
|
+
## Core capabilities
|
|
70
51
|
|
|
71
|
-
|
|
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
|
-
###
|
|
69
|
+
### Desktop app
|
|
82
70
|
|
|
83
|
-
|
|
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
|
-
|
|
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
|
-
|
|
77
|
+
### Terminal installation
|
|
90
78
|
|
|
91
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
101
|
+
## Data and control
|
|
204
102
|
|
|
205
|
-
|
|
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
|
-
|
|
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
|
-
|
|
217
|
-
|
|
218
|
-
| Guide | Description |
|
|
109
|
+
| You want to… | Read |
|
|
219
110
|
| --- | --- |
|
|
220
|
-
| [
|
|
221
|
-
|
|
|
222
|
-
|
|
|
223
|
-
| [
|
|
224
|
-
| [
|
|
225
|
-
| [
|
|
226
|
-
| [
|
|
227
|
-
| [
|
|
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 [
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
开源、本地优先的个人 AI,记住你的上下文,与你一起推进工作。<br />
|
|
10
|
+
和 Ada 理清想法、交办任务,或直接在工作空间处理文件与项目,<br />
|
|
11
|
+
查看并继续打磨成果。
|
|
13
12
|
</p>
|
|
14
13
|
|
|
15
14
|
<p align="center">
|
|
16
|
-
<a href="https://xopc
|
|
17
|
-
<
|
|
18
|
-
<img src="https://img.shields.io/
|
|
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&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="
|
|
27
|
-
<a href="https://
|
|
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
|
-
|
|
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
|
-
|
|
38
|
+
适合独立工作者、创作者、开发者,以及希望减少重复解释和执行负担的人。
|
|
54
39
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
## 为什么值得试试
|
|
40
|
+
## 先完成一件实际的事
|
|
58
41
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
**让你的上下文持续积累。** xopc 把背景、下一步、结果证据和后续跟进留在一起,让重要的事情不会随着一次对话结束而消失。为一个人而生,帮你在保留掌控的同时,获得更持续、更强大的工作能力。
|
|
42
|
+
| 你想做什么 | 可以这样开始 | 检查什么 |
|
|
43
|
+
| --- | --- | --- |
|
|
44
|
+
| 继续上次的项目 | “结合这个项目的笔记与任务,告诉我目前卡在哪里,先给出下一步建议。” | 背景来源、未决事项和下一步 |
|
|
45
|
+
| 把资料做成报告 | “把这些销售文件整理为汇总表,保留来源、计算依据和异常项。” | 保存的文件、汇总数字和异常项 |
|
|
46
|
+
| 交办后继续聊 | “把本周计划整理成一页文件,做好后告诉我;我们继续讨论下周的重点。” | 任务卡、实际文件和修改结果 |
|
|
66
47
|
|
|
67
|
-
xopc
|
|
48
|
+
资料处理需要相应文件访问权限、工具或技能;语音、图像、浏览器和外部服务也需要各自配置。[交办与接收结果](https://xopcai.github.io/xopc/zh/task-delegation) · [实战教程](https://xopc.ai/zh/learn)。
|
|
68
49
|
|
|
69
|
-
|
|
50
|
+
## 核心能力
|
|
70
51
|
|
|
71
|
-
|
|
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
|
-
|
|
71
|
+
1. [下载 xopc](https://xopc.ai/zh#download),选择 macOS、Windows 或 Linux。
|
|
72
|
+
2. 连接 XOPC Cloud、自己的模型 API Key,或本地模型服务。
|
|
73
|
+
3. 打开个人 Agent 或聊天,先发送一个小请求,再带入真实资料。
|
|
84
74
|
|
|
85
|
-
|
|
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
|
-
|
|
77
|
+
### 终端安装
|
|
90
78
|
|
|
91
|
-
|
|
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
|
-
|
|
100
|
-
|
|
101
|
-
> **提示:** 原生 Windows 无需 WSL 即可运行 xopc——CLI、网关、TUI 与工具均可在本机使用。若更习惯 WSL2,在 WSL 里执行上面的 bash 命令即可。
|
|
87
|
+
Windows PowerShell:
|
|
102
88
|
|
|
103
89
|
```powershell
|
|
104
|
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
101
|
+
## 数据与控制
|
|
204
102
|
|
|
205
|
-
|
|
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
|
-
|
|
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
|
-
| [
|
|
221
|
-
| [
|
|
222
|
-
| [
|
|
223
|
-
| [
|
|
224
|
-
| [
|
|
225
|
-
| [
|
|
226
|
-
| [
|
|
227
|
-
| [
|
|
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
|
-
**能在手机或即时通讯里用吗?** — 可以。用 [
|
|
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
|
|