@xopcai/xopc 0.0.211 → 0.0.214
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 +39 -60
- package/README.zh-CN.md +39 -61
- package/dist/browser-ext/manifest.json +1 -1
- package/dist/extensions/telegram/xopc.extension.json +1 -1
- package/dist/gateway/static/root/assets/{activity-store-BzjFoSr0.js → activity-store-k-mNF_Dq.js} +1 -1
- package/dist/gateway/static/root/assets/{agent-avatar-dicebear-DTfjhfVE.js → agent-avatar-dicebear-B5VyiQ_K.js} +1 -1
- package/dist/gateway/static/root/assets/agents-DM2l0hCI.js +68 -0
- package/dist/gateway/static/root/assets/{api-D269PnU9.js → api-BjN2udFQ.js} +1 -1
- package/dist/gateway/static/root/assets/{app-management-settings-panel-BFpfQDWc.js → app-management-settings-panel-Bbul18ij.js} +1 -1
- package/dist/gateway/static/root/assets/{appearance-settings-DLxFdqhY.js → appearance-settings-Bvvzgp00.js} +1 -1
- package/dist/gateway/static/root/assets/apps-page-BWd2KUkp.js +1 -0
- package/dist/gateway/static/root/assets/{archive-plugin-DPlH4dnc.js → archive-plugin-DjGVsAgd.js} +1 -1
- package/dist/gateway/static/root/assets/{attachment-load-xqfLLd0I.js → attachment-load-BCuUeuuO.js} +1 -1
- package/dist/gateway/static/root/assets/automations-page-Doof8nA6.js +1 -0
- package/dist/gateway/static/root/assets/automations-workspace-B2eTpWQN.js +6 -0
- package/dist/gateway/static/root/assets/{binary-plugins-C0tuoPXk.js → binary-plugins-B7WFf-lc.js} +1 -1
- package/dist/gateway/static/root/assets/{block-editor-Deyphj1o.js → block-editor-CVwIwyUT.js} +47 -47
- package/dist/gateway/static/root/assets/browser-settings-page-D6ua52QD.js +8 -0
- package/dist/gateway/static/root/assets/{browser-workflow-inputs-CYEbXyRF.js → browser-workflow-inputs-Coz8pWzP.js} +1 -1
- package/dist/gateway/static/root/assets/{browser-workflows-page-Bf0tPbGi.js → browser-workflows-page-8a3hnSXE.js} +2 -2
- package/dist/gateway/static/root/assets/capabilities-settings-panel-DfTpgo4L.js +7 -0
- package/dist/gateway/static/root/assets/{capability-presets-api-DPkFA_-R.js → capability-presets-api-BF3G84qe.js} +1 -1
- package/dist/gateway/static/root/assets/capability-presets-settings-panel-DkjsA_Yn.js +3 -0
- package/dist/gateway/static/root/assets/{channel-recipient-api-DqKaAcnZ.js → channel-recipient-api-8Uz95P40.js} +1 -1
- package/dist/gateway/static/root/assets/channels-settings-Cv3pT5iN.js +1 -0
- package/dist/gateway/static/root/assets/channels-status-swr-NfU9X-P5.js +1 -0
- package/dist/gateway/static/root/assets/{chat-terminal-dock-CTDRZa7e.js → chat-terminal-dock-BYds3un1.js} +2 -2
- package/dist/gateway/static/root/assets/{chunk-KS7C4IRE-BMhrPKJC.js → chunk-KS7C4IRE-BaASWQor.js} +1 -1
- package/dist/gateway/static/root/assets/{connectors-api-Buu8fif8.js → connectors-api-Cj4deNtI.js} +1 -1
- package/dist/gateway/static/root/assets/connectors-page-CL6PMerr.js +2 -0
- package/dist/gateway/static/root/assets/{cron-expression-DTLR82NB.js → cron-expression-DjBh0ZL4.js} +1 -1
- package/dist/gateway/static/root/assets/{date-picker-DyNogHQH.js → date-picker-3cIzKCZU.js} +1 -1
- package/dist/gateway/static/root/assets/{dependency-picker-BpnCuo7B.js → dependency-picker-VZFStrz_.js} +1 -1
- package/dist/gateway/static/root/assets/{desktop-pet-CDKI4gVB.js → desktop-pet-CRNQ4CKZ.js} +1 -1
- package/dist/gateway/static/root/assets/{desktop-pet-settings-DjT5C2a3.js → desktop-pet-settings-CJBeLcbV.js} +1 -1
- package/dist/gateway/static/root/assets/directory-picker-path-field-Dbq9_c33.js +1 -0
- package/dist/gateway/static/root/assets/{extension-debug-page-DWf2z7q5.js → extension-debug-page-CSFZfcz5.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-page-Dorx0kf9.js → extension-page-W8vZ3Nl0.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-settings-page-B1wU9ZOB.js → extension-settings-page-D5zYR65b.js} +1 -1
- package/dist/gateway/static/root/assets/{gateway-config-api-B1lG4dNr.js → gateway-config-api-BnA56bxn.js} +1 -1
- package/dist/gateway/static/root/assets/{gateway-config-swr-BIxuwPQi.js → gateway-config-swr-l2w9ecXl.js} +1 -1
- package/dist/gateway/static/root/assets/{gateway-settings-DqIOqJjM.js → gateway-settings-CCOOGd8A.js} +1 -1
- package/dist/gateway/static/root/assets/{gateway-startup-retry-BpZgd4U-.js → gateway-startup-retry-XUzMGmLZ.js} +1 -1
- package/dist/gateway/static/root/assets/{heartbeat-settings-DG4Kmgkc.js → heartbeat-settings-AutxO-ec.js} +1 -1
- package/dist/gateway/static/root/assets/home-page-BMpQAeHr.js +1 -0
- package/dist/gateway/static/root/assets/{image-generation-api-PkhYohDa.js → image-generation-api-CDoOrDMq.js} +1 -1
- package/dist/gateway/static/root/assets/index-BIBAmAjw.js +108 -0
- package/dist/gateway/static/root/assets/index-DQzjgIkQ.css +2 -0
- package/dist/gateway/static/root/assets/{keyboard-shortcuts-settings-6OQT3gQF.js → keyboard-shortcuts-settings-Bcc08kso.js} +1 -1
- package/dist/gateway/static/root/assets/local-app-workbench-page-ctXGGgj1.js +2 -0
- package/dist/gateway/static/root/assets/{local-apps-page-DfruRAmE.js → local-apps-page-CuwtmiCt.js} +1 -1
- package/dist/gateway/static/root/assets/{locale-store-C5MK9WcP.js → locale-store-BIOMAhmR.js} +1 -1
- package/dist/gateway/static/root/assets/logs-page-Vq-wDYVv.js +2 -0
- package/dist/gateway/static/root/assets/{management-settings-L1VYkywO.js → management-settings-gQwyJgL4.js} +1 -1
- package/dist/gateway/static/root/assets/{markdown-split-oqgHbqt-.js → markdown-split-DLSvtLDY.js} +1 -1
- package/dist/gateway/static/root/assets/{markdown-view-V4rcPPH0.js → markdown-view-BMDQYc6E.js} +1 -1
- package/dist/gateway/static/root/assets/{media-plugins-Bb6gSX2o.js → media-plugins-DFdpMglM.js} +1 -1
- package/dist/gateway/static/root/assets/messages-CbbZKEfO.js +3 -0
- package/dist/gateway/static/root/assets/notes-api-lKPk0Voa.js +1 -0
- package/dist/gateway/static/root/assets/{notes-page-B1rOXjpT.js → notes-page-BBhONbU4.js} +1 -1
- package/dist/gateway/static/root/assets/notes-workbench-CCFrzDRT.js +4 -0
- package/dist/gateway/static/root/assets/{page-tabs-CBuCKeyy.js → page-tabs-DoQq4tt6.js} +1 -1
- package/dist/gateway/static/root/assets/{preview-open-alternatives-BQ0tLfPO.js → preview-open-alternatives-BtJkAYOs.js} +1 -1
- package/dist/gateway/static/root/assets/{product-open-page-DPeFn7Hu.js → product-open-page-ClyG8t4A.js} +1 -1
- package/dist/gateway/static/root/assets/project-detail-page-CVeA23NS.js +1 -0
- package/dist/gateway/static/root/assets/projects-page-DFj-bwa5.js +1 -0
- package/dist/gateway/static/root/assets/registry-api-BFwvRxBn.js +2 -0
- package/dist/gateway/static/root/assets/remote-access-hub-BgIrBYNz.js +1 -0
- package/dist/gateway/static/root/assets/{runtime-tools-settings-panel-BCfQNzjG.js → runtime-tools-settings-panel-DdTZPRU5.js} +2 -2
- package/dist/gateway/static/root/assets/{schema-form-Bo7YbHYN.js → schema-form-C3Q03Hyv.js} +1 -1
- package/dist/gateway/static/root/assets/sessions-page-wfBSuhmo.js +1 -0
- package/dist/gateway/static/root/assets/settings-advanced-gate-4zV9nthi.js +1 -0
- package/dist/gateway/static/root/assets/{settings-form-section-B9dnKr3M.js → settings-form-section-DdrNtxul.js} +1 -1
- package/dist/gateway/static/root/assets/{settings-loading-skeleton-CYDV2JtY.js → settings-loading-skeleton-BFvEfK7v.js} +1 -1
- package/dist/gateway/static/root/assets/{settings-page-DbrIYfS9.js → settings-page-B8iNNrLN.js} +1 -1
- package/dist/gateway/static/root/assets/setup-status-panel-DEBPLh04.js +1 -0
- package/dist/gateway/static/root/assets/{share-preview-page-olgr7LLN.js → share-preview-page-CrsscJs3.js} +1 -1
- package/dist/gateway/static/root/assets/shares-settings-Cpd3s8-P.js +1 -0
- package/dist/gateway/static/root/assets/skill-reload-api-BrDL4HAN.js +1 -0
- package/dist/gateway/static/root/assets/{skills-page-PE16CNw5.js → skills-page-B1sTkjZH.js} +1 -1
- package/dist/gateway/static/root/assets/{skills-page.utils-nXmBcBxt.js → skills-page.utils-CIcb0h3E.js} +1 -1
- package/dist/gateway/static/root/assets/{system-settings-panel-C3qPwAdY.js → system-settings-panel-MAl91hH_.js} +1 -1
- package/dist/gateway/static/root/assets/task-detail-page-C5wgYuvF.js +1 -0
- package/dist/gateway/static/root/assets/{theme-store-KR5Otp5w.js → theme-store-BrbF9cgL.js} +1 -1
- package/dist/gateway/static/root/assets/{typed-models-lib-lMZodtDF.js → typed-models-lib-Peglr65V.js} +1 -1
- package/dist/gateway/static/root/assets/{use-autosave-CKpatP3S.js → use-autosave-C10PZ1OV.js} +1 -1
- package/dist/gateway/static/root/assets/user-context-page-DsAfqOJy.js +1 -0
- package/dist/gateway/static/root/assets/{voice-api-key-field-CDcv0Wbh.js → voice-api-key-field-bdYmX3ph.js} +1 -1
- package/dist/gateway/static/root/assets/work-discovery-overlay-BI4wbLTm.js +1 -0
- package/dist/gateway/static/root/assets/{workflow-run-setup-panel-BAHYNlQt.js → workflow-run-setup-panel-CfmwGYkr.js} +2 -2
- package/dist/gateway/static/root/assets/workflows-page-D7tjtD97.js +5 -0
- package/dist/gateway/static/root/index.html +12 -10
- package/dist/package.js +1 -1
- package/dist/src/agent/agent-manager.js +4 -4
- package/dist/src/agent/embedded/model-runtime.js +1 -1
- package/dist/src/agent/embedded/run-for-session.js +1 -1
- package/dist/src/agent/image/tool-model-config.js +1 -1
- package/dist/src/agent/ipc/inbox.js +1 -1
- package/dist/src/agent/memory/create-memory-manager.js +1 -1
- package/dist/src/agent/service.js +2 -2
- package/dist/src/agent/session/session-inspector.js +1 -1
- package/dist/src/agent/skills/hub-lock.js +1 -1
- package/dist/src/agent/tasks/task-judge-service.js +3 -3
- package/dist/src/agent-runtime/index.js +1 -1
- package/dist/src/agent-runtime/runtime-profile.js +1 -1
- package/dist/src/ai-assist/text-assist.js +1 -1
- package/dist/src/auth/credentials.js +2 -2
- package/dist/src/auth/oauth/xopc-cloud.js +1 -1
- package/dist/src/auth/profiles/store.js +1 -1
- package/dist/src/auth/sync-provider-auth.js +2 -2
- package/dist/src/browser/providers/browser-ext-install.js +1 -1
- package/dist/src/cli/commands/agent.js +2 -2
- package/dist/src/cli/commands/connectors.js +1 -1
- package/dist/src/cli/commands/doctor/checks/database-schema.js +1 -1
- package/dist/src/cli/commands/doctor/checks/provider-auth.js +1 -1
- package/dist/src/cli/commands/gateway/lifecycle.js +1 -1
- package/dist/src/cli/commands/models.js +2 -2
- package/dist/src/cli/commands/onboard.js +1 -1
- package/dist/src/cli/commands/profile.js +1 -1
- package/dist/src/cli/commands/tunnel.js +3 -3
- package/dist/src/cli/commands/update.js +1 -1
- package/dist/src/cli/extension-cli-register.js +1 -1
- package/dist/src/config/agent-profile.js +1 -1
- package/dist/src/config/index.js +5 -5
- package/dist/src/config/loader.js +1 -1
- package/dist/src/config/models-json.js +1 -1
- package/dist/src/connectors/composio-managed-client.d.ts +60 -0
- package/dist/src/connectors/composio-managed-client.js +135 -0
- package/dist/src/connectors/composio-managed-events.d.ts +41 -0
- package/dist/src/connectors/composio-managed-events.js +105 -0
- package/dist/src/connectors/composio-session-types.d.ts +91 -0
- package/dist/src/connectors/composio-session-types.js +1 -0
- package/dist/src/connectors/composio-sessions.d.ts +3 -91
- package/dist/src/connectors/composio-sessions.js +13 -7
- package/dist/src/connectors/composio.js +2 -1
- package/dist/src/connectors/connected-source-ingestion.js +67 -25
- package/dist/src/connectors/health.js +1 -1
- package/dist/src/connectors/learning-recipes.js +2 -0
- package/dist/src/connectors/runtime-adapter-registry.js +2 -2
- package/dist/src/discussions/sealer.js +2 -2
- package/dist/src/discussions/service.js +6 -2
- package/dist/src/discussions/transcript.d.ts +2 -0
- package/dist/src/discussions/transcript.js +16 -3
- package/dist/src/extensions/install.d.ts +10 -0
- package/dist/src/extensions/install.js +111 -14
- package/dist/src/extensions/loader.js +22 -18
- package/dist/src/extensions/lockfile.js +1 -1
- package/dist/src/gateway/agents-admin.js +2 -2
- package/dist/src/gateway/file-path-classifier.js +1 -1
- package/dist/src/gateway/hono/lib/config-payload.js +2 -2
- package/dist/src/gateway/hono/middleware/auth.js +2 -2
- package/dist/src/gateway/hono/middleware/logger.js +1 -1
- package/dist/src/gateway/hono/middleware/strict-rate-limit.js +1 -1
- package/dist/src/gateway/hono/routes/config-patch/misc.js +1 -1
- package/dist/src/gateway/hono/routes/connectors.js +11 -4
- package/dist/src/gateway/hono/routes/exposure.js +1 -1
- package/dist/src/gateway/hono/routes/home.d.ts +1 -1
- package/dist/src/gateway/hono/routes/home.js +2 -2
- package/dist/src/gateway/hono/routes/mcp.js +1 -1
- package/dist/src/gateway/hono/routes/models.js +1 -1
- package/dist/src/gateway/hono/routes/session-input-handler.d.ts +2 -2
- package/dist/src/gateway/hono/routes/shares.js +1 -1
- package/dist/src/gateway/hono/routes/tunnel.js +3 -3
- package/dist/src/gateway/hono/routes/workflows.js +69 -0
- package/dist/src/gateway/index.js +2 -2
- package/dist/src/gateway/run-loop.js +1 -1
- package/dist/src/gateway/runtime-config.js +2 -2
- package/dist/src/gateway/security/audit.js +2 -2
- package/dist/src/gateway/service/config-coordinator.js +2 -2
- package/dist/src/gateway/service.d.ts +1 -0
- package/dist/src/gateway/service.js +23 -8
- package/dist/src/notes/note-attachment-sync.js +1 -1
- package/dist/src/notes/service.d.ts +1 -0
- package/dist/src/notes/service.js +2 -1
- package/dist/src/notes/types.d.ts +2 -0
- package/dist/src/providers/auth-runtime/resolve-auth.js +1 -1
- package/dist/src/providers/index.js +2 -2
- package/dist/src/providers/model-catalog-persistence.d.ts +1 -1
- package/dist/src/providers/model-catalog-store.d.ts +2 -60
- package/dist/src/providers/model-catalog-types.d.ts +60 -0
- package/dist/src/providers/model-catalog-types.js +1 -0
- package/dist/src/providers/model-registry.js +1 -1
- package/dist/src/providers/provider-disconnect-core.d.ts +11 -0
- package/dist/src/providers/provider-disconnect-core.js +35 -0
- package/dist/src/providers/provider-disconnect.d.ts +2 -10
- package/dist/src/providers/provider-disconnect.js +4 -26
- package/dist/src/providers/register-runtime-providers.js +1 -1
- package/dist/src/providers/xopc-cloud-catalog-coordinator.js +2 -2
- package/dist/src/runtime-tools/manager.js +41 -22
- package/dist/src/storage/sqlite/migrations/124_workflow_context_snapshots.sql +15 -0
- package/dist/src/storage/sqlite/migrations/125_project_workflow_presets.sql +12 -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/migrations/runner.ts +1 -1
- package/dist/src/storage/sqlite/schema.js +1 -1
- package/dist/src/tasks/home-query-service.d.ts +12 -127
- package/dist/src/tasks/home-query-service.js +73 -271
- package/dist/src/tasks/index.js +2 -2
- package/dist/src/tui/tui-startup-resources.js +2 -2
- package/dist/src/tui/tui.js +1 -1
- package/dist/src/tui/xopc-tui-keybindings.d.ts +2 -2
- package/dist/src/tunnel/index.js +2 -2
- package/dist/src/voice/audio/normalize.d.ts +1 -0
- package/dist/src/voice/audio/normalize.js +24 -4
- package/dist/src/voice/local/wav.d.ts +3 -0
- package/dist/src/voice/local/wav.js +10 -4
- package/dist/src/work-discovery/analyzer.js +16 -4
- package/dist/src/work-discovery/service.js +6 -8
- package/dist/src/work-discovery/types.d.ts +3 -0
- package/dist/src/workflows/context/workflow-context-snapshot-repository.d.ts +21 -0
- package/dist/src/workflows/context/workflow-context-snapshot-repository.js +40 -0
- package/dist/src/workflows/context/workflow-context.d.ts +18 -0
- package/dist/src/workflows/context/workflow-context.js +159 -0
- package/dist/src/workflows/domain/run.d.ts +10 -1
- package/dist/src/workflows/engine/workflow-engine.d.ts +1 -0
- package/dist/src/workflows/engine/workflow-engine.js +2 -0
- package/dist/src/workflows/project-presets/project-workflow-preset-repository.d.ts +20 -0
- package/dist/src/workflows/project-presets/project-workflow-preset-repository.js +38 -0
- package/dist/src/workflows/service/workflow-run-service.d.ts +1 -0
- package/dist/src/workflows/service/workflow-run-service.js +108 -23
- package/dist/src/workflows/service/workflow-run-service.types.d.ts +1 -0
- package/dist/src/workflows/service/workflow-writeback-service.d.ts +9 -0
- package/dist/src/workflows/service/workflow-writeback-service.js +106 -0
- package/package.json +20 -20
- package/dist/gateway/static/root/assets/agents-CjhgfuVJ.js +0 -68
- package/dist/gateway/static/root/assets/apps-page-CjmlGB5V.js +0 -1
- package/dist/gateway/static/root/assets/automations-page-4m6Ey6wG.js +0 -6
- package/dist/gateway/static/root/assets/browser-settings-page-CAGCYx8U.js +0 -8
- package/dist/gateway/static/root/assets/capabilities-settings-panel-CKfLsxTI.js +0 -7
- package/dist/gateway/static/root/assets/capability-presets-settings-panel-CpipKNqX.js +0 -3
- package/dist/gateway/static/root/assets/channels-settings-Bvq-O4pt.js +0 -1
- package/dist/gateway/static/root/assets/channels-status-swr-CrMld2l7.js +0 -1
- package/dist/gateway/static/root/assets/connectors-page-CSQRzaVn.js +0 -2
- package/dist/gateway/static/root/assets/directory-picker-path-field-DlJY90TM.js +0 -1
- package/dist/gateway/static/root/assets/home-page-BhqItS_s.js +0 -1
- package/dist/gateway/static/root/assets/index-DLhvsU9B.css +0 -2
- package/dist/gateway/static/root/assets/index-_cuTcWjB.js +0 -107
- package/dist/gateway/static/root/assets/local-app-workbench-page-DWjTmzxw.js +0 -2
- package/dist/gateway/static/root/assets/logs-page-BA5efZ8B.js +0 -2
- package/dist/gateway/static/root/assets/messages-ctG2e-ix.js +0 -3
- package/dist/gateway/static/root/assets/notes-workbench-CkHXVmKP.js +0 -4
- package/dist/gateway/static/root/assets/project-detail-page-DCqet9-L.js +0 -1
- package/dist/gateway/static/root/assets/projects-page-D0t_AjzG.js +0 -1
- package/dist/gateway/static/root/assets/remote-access-hub-BUWPoBvw.js +0 -1
- package/dist/gateway/static/root/assets/sessions-page-vLhrrM3m.js +0 -1
- package/dist/gateway/static/root/assets/settings-advanced-gate-OP1y0Y8M.js +0 -1
- package/dist/gateway/static/root/assets/setup-status-panel-Cxc-Ejl5.js +0 -1
- package/dist/gateway/static/root/assets/shares-settings-ZOqC6-aA.js +0 -1
- package/dist/gateway/static/root/assets/skill-reload-api-DwvC3Iuf.js +0 -1
- package/dist/gateway/static/root/assets/task-detail-page-DCRB-5q-.js +0 -1
- package/dist/gateway/static/root/assets/user-context-page-CoiedRuA.js +0 -1
- package/dist/gateway/static/root/assets/work-discovery-overlay-CGdT22un.js +0 -1
- package/dist/gateway/static/root/assets/work-discovery-page-BwaU1RqI.js +0 -1
- package/dist/gateway/static/root/assets/workflows-page-DHYmh9G7.js +0 -5
package/README.md
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
<h1 align="center"><a href="https://xopc.ai">xopc</a></h1>
|
|
7
7
|
|
|
8
8
|
<p align="center">
|
|
9
|
-
<strong>
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
<strong>It lives on your computer—and gets to know you over time.</strong><br />
|
|
10
|
+
Give xopc something that matters.<br />
|
|
11
|
+
It remembers the context, finds the next step, and keeps it moving.
|
|
12
12
|
</p>
|
|
13
13
|
|
|
14
14
|
<p align="center">
|
|
@@ -21,11 +21,9 @@
|
|
|
21
21
|
</p>
|
|
22
22
|
|
|
23
23
|
<p align="center">
|
|
24
|
-
<a href="https://xopc.ai"><strong>
|
|
25
|
-
<a href="
|
|
26
|
-
<a href="https://xopcai.github.io/xopc/">
|
|
27
|
-
<a href="#get-started">Get started</a> ·
|
|
28
|
-
<a href="https://github.com/xopcai/xopc/releases">Releases</a>
|
|
24
|
+
<a href="https://xopc.ai/en#download"><strong>Download the desktop app →</strong></a> ·
|
|
25
|
+
<a href="#quick-start"><strong>Install in 30 seconds</strong></a> ·
|
|
26
|
+
<a href="https://xopcai.github.io/xopc/">Read the docs</a>
|
|
29
27
|
</p>
|
|
30
28
|
|
|
31
29
|
<p align="center">
|
|
@@ -34,62 +32,56 @@
|
|
|
34
32
|
</a>
|
|
35
33
|
</p>
|
|
36
34
|
|
|
35
|
+
> After setup, try: **“One thing I want to move forward this week is ____. Help me find the smallest credible next step.”**
|
|
36
|
+
|
|
37
37
|
<details>
|
|
38
38
|
<summary><strong>Table of Contents</strong></summary>
|
|
39
39
|
|
|
40
|
-
- [
|
|
41
|
-
- [One runtime, four layers](#one-runtime-four-layers)
|
|
40
|
+
- [Why try xopc](#why-try-xopc)
|
|
42
41
|
- [Get started](#get-started)
|
|
43
|
-
- [Why xopc](#why-xopc)
|
|
44
|
-
- [How xopc compares](#how-xopc-compares)
|
|
45
42
|
- [Where to chat](#where-to-chat)
|
|
46
43
|
- [Channels](#channels)
|
|
47
44
|
- [Extensions & skills](#extensions--skills)
|
|
48
45
|
- [Configuration](#configuration)
|
|
49
46
|
- [Documentation](#documentation)
|
|
50
47
|
- [FAQ](#faq)
|
|
51
|
-
- [
|
|
48
|
+
- [Security](#security)
|
|
52
49
|
- [Contributing](#contributing)
|
|
53
50
|
|
|
54
51
|
</details>
|
|
55
52
|
|
|
56
53
|
---
|
|
57
54
|
|
|
58
|
-
##
|
|
59
|
-
|
|
60
|
-
xopc is not a wrapper around one model, and it is more than another chat UI. It is a **self-hosted, local-first personal AI runtime** that lets models, agents, data, and triggers work together in one environment.
|
|
55
|
+
## Why try xopc
|
|
61
56
|
|
|
62
|
-
Start
|
|
57
|
+
- **Start before it is organized.** Drop in text, voice, files, links, or a thought you cannot explain clearly yet.
|
|
58
|
+
- **Stop repeating yourself.** Sessions, projects, tasks, and correctable user understanding keep the context that matters.
|
|
59
|
+
- **Move beyond advice.** xopc can use tools, run workflows, verify results, and continue the work later.
|
|
60
|
+
- **Stay in control.** It is local-first, sources are authorized separately, and high-impact actions such as sending or deleting require confirmation.
|
|
63
61
|
|
|
64
|
-
|
|
62
|
+
**Turn goals into loops.** xopc keeps context, the next action, evidence, and follow-up together, so important work does not disappear when a chat ends.
|
|
65
63
|
|
|
66
|
-
|
|
67
|
-
| --- | --- | --- |
|
|
68
|
-
| **Runtime & ownership** | Self-hosted gateway, local state, BYOK, cloud and local models | You control data, cost, deployment, and availability |
|
|
69
|
-
| **Durable state** | Persistent sessions, tasks, projects, notes, workspaces, and shared user memory | Resume work without reconstructing it every time |
|
|
70
|
-
| **Execution & initiative** | Tools, skills, subagents, observable workflows, and scheduled/manual/webhook automations | Move from advice to execution, review, and follow-up |
|
|
71
|
-
| **Access everywhere** | CLI, TUI, web, desktop, iOS/Android, Telegram, WeChat, Feishu/Lark, and HTTP/realtime APIs | Use one system wherever the work happens |
|
|
64
|
+
xopc works from desktop, web, terminal, mobile, Telegram, WeChat, and Feishu/Lark, with your choice of cloud or local models.
|
|
72
65
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
See how the pieces form a resumable, triggerable, and inspectable loop in [The Continuous Work Model](https://xopcai.github.io/xopc/concepts/loops).
|
|
66
|
+
For the full product philosophy, trust model, and roadmap, read [Product philosophy](https://xopcai.github.io/xopc/product).
|
|
76
67
|
|
|
77
68
|
---
|
|
78
69
|
|
|
70
|
+
<a id="desktop-app"></a>
|
|
79
71
|
<a id="get-started"></a>
|
|
80
72
|
<a id="quick-start"></a>
|
|
81
73
|
|
|
82
74
|
## Get started
|
|
83
75
|
|
|
84
|
-
### Easiest start:
|
|
76
|
+
### Easiest start: desktop app
|
|
85
77
|
|
|
86
|
-
For most users, the **
|
|
78
|
+
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.
|
|
87
79
|
|
|
88
|
-
1.
|
|
80
|
+
1. Open **[xopc.ai](https://xopc.ai/en#download)** and choose macOS, Windows, or Linux.
|
|
89
81
|
2. Open xopc and complete model setup.
|
|
90
82
|
3. Start chatting.
|
|
91
83
|
|
|
92
|
-
See **[
|
|
84
|
+
See **[Desktop app](https://xopcai.github.io/xopc/desktop-app)** for install notes, first-run guidance, and build-from-source commands.
|
|
93
85
|
|
|
94
86
|
### One-liner (30-second start — recommended)
|
|
95
87
|
|
|
@@ -161,35 +153,11 @@ Windows git install: `& ([scriptblock]::Create((irm https://xopc.ai/install.ps1)
|
|
|
161
153
|
|
|
162
154
|
---
|
|
163
155
|
|
|
164
|
-
## Why xopc
|
|
165
|
-
|
|
166
|
-
- 🧠 **Durable state, not one context window** — Sessions, tasks, projects, notes, workspaces, and run history have explicit ownership and can be resumed.
|
|
167
|
-
- 🏠 **Runs in your environment** — Config and local state live under **`~/.xopc/`** by default; you choose deployment, backups, and remote access.
|
|
168
|
-
- 🔑 **Bring your own keys** — OpenAI, Anthropic, Google, DeepSeek, Ollama, LM Studio, vLLM, and **20+** providers. Mix cloud and local models.
|
|
169
|
-
- ⚙️ **Executes and triggers work** — Tools and workflows perform tasks; scheduled, manual, and webhook automations run agents or workflows later.
|
|
170
|
-
- 📡 **One runtime, many surfaces** — Desktop, terminal, web, mobile, and messengers share agents, sessions, and project state.
|
|
171
|
-
- 🧩 **Explicit capability boundaries** — Each agent can have its own identity, model roles, workspace, tool policy, skills, and boundaries, while every agent shares one user understanding and memory context.
|
|
172
|
-
|
|
173
|
-
## How xopc compares
|
|
174
|
-
|
|
175
|
-
xopc is not another chat UI. It is the local-first system layer for people who want one assistant to keep durable tasks and context, run automations, and stay reachable across surfaces.
|
|
176
|
-
|
|
177
|
-
| Product | Best at | Why use xopc too |
|
|
178
|
-
| --- | --- | --- |
|
|
179
|
-
| **Codex** | Software development in terminal, IDE, and cloud tasks | xopc is broader than repo work: durable tasks and projects, BYOK/local models, scheduled loops, gateway APIs, desktop/web/mobile, and messengers share one local state. |
|
|
180
|
-
| **Claude Code** | Project-level coding: codebase navigation, edits, tests, git workflows | xopc is a personal AI runtime for coding and long-running work; it coordinates models, channels, skills, workflows, and automations outside one codebase. |
|
|
181
|
-
| **Qoder / QoderWork** | Agentic coding platform plus local-first office work companion | xopc is open-source and hackable, with explicit local state under **`~/.xopc/`**, configurable providers, self-hosted gateway, and extension points. |
|
|
182
|
-
| **WorkBuddy** | Office deliverables such as reports, decks, spreadsheets, research, and data analysis | xopc is for users who want to own the runtime: bring your own keys, mix local/cloud models, wire channels, and keep long-term project context locally. |
|
|
183
|
-
|
|
184
|
-
Choose xopc when you want a **self-hosted, long-term AI assistant** that is not locked to one vendor, one IDE, one chat surface, or one task type. See the full comparison in **[Comparison](https://xopcai.github.io/xopc/comparison)**.
|
|
185
|
-
|
|
186
|
-
---
|
|
187
|
-
|
|
188
156
|
## Where to chat
|
|
189
157
|
|
|
190
158
|
| Surface | How | Best for |
|
|
191
159
|
| --- | --- | --- |
|
|
192
|
-
| **
|
|
160
|
+
| **Desktop app** | [Download from xopc.ai](https://xopc.ai/en#download) | Easiest start: native app + embedded gateway console |
|
|
193
161
|
| **TUI** | `xopc` or `xopc tui` (remote: `xopc tui --url …`) | Full keyboard, streaming, fastest terminal path |
|
|
194
162
|
| **CLI** | `xopc agent -i` / `xopc agent -m "…"` | Scripts and minimal TTY |
|
|
195
163
|
| **Web** | `xopc gateway` → open console URL | Chat, settings, logs in the browser |
|
|
@@ -258,24 +226,35 @@ Also: [Tools](https://xopcai.github.io/xopc/tools) · [Mobile app](https://xopca
|
|
|
258
226
|
|
|
259
227
|
## FAQ
|
|
260
228
|
|
|
261
|
-
**Is xopc a hosted service?** — No.
|
|
229
|
+
**Is xopc a hosted service?** — No. xopc runs on your machine, with configuration and state stored under **`~/.xopc/`** by default. You can self-host the gateway for access from other devices.
|
|
230
|
+
|
|
231
|
+
**Does local-first mean data never leaves my computer?** — Not necessarily. If you select a cloud model, conversation content and context relevant to the request are sent to that model provider. Use a local model and review source and tool permissions for work that must remain on-device.
|
|
232
|
+
|
|
233
|
+
**Does xopc remember everything about me automatically?** — No. User understanding can be reviewed, confirmed, corrected, and deleted, and an unconfirmed inference should not become an authoritative fact. Passwords, keys, and other highly sensitive information do not belong in the memory system.
|
|
262
234
|
|
|
263
235
|
**Do I need a paid cloud model?** — No. Bring your own keys, or use local models (Ollama, LM Studio, vLLM).
|
|
264
236
|
|
|
265
237
|
**What is the fastest way to try it?** — [Desktop app](#get-started) for GUI users, or `xopc onboard --quick && xopc` for terminal.
|
|
266
238
|
|
|
267
|
-
**How is this different from another chat UI?** — Chat is only one surface. xopc
|
|
239
|
+
**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.
|
|
268
240
|
|
|
269
241
|
**Can I use it from my phone or messengers?** — Yes. Pair the [mobile app](./apps/mobile-expo) by QR code, or configure Telegram, WeChat, or Feishu/Lark via the gateway.
|
|
270
242
|
|
|
271
243
|
**Have a question?** — Ask on [GitHub Discussions](https://github.com/xopcai/xopc/discussions/categories/q-a).
|
|
272
244
|
|
|
273
245
|
---
|
|
274
|
-
<a id="desktop-app"></a>
|
|
275
246
|
|
|
276
247
|
## Security
|
|
277
248
|
|
|
278
|
-
|
|
249
|
+
xopc handles personal context and may be given execution tools, so capability boundaries matter as much as model choice:
|
|
250
|
+
|
|
251
|
+
- enable only the data sources, tools, and channels you currently need;
|
|
252
|
+
- before using a cloud model, understand what context may be sent to the provider;
|
|
253
|
+
- treat all inbound messenger content as **untrusted input** and prefer **pairing** or **allowlist** for DMs;
|
|
254
|
+
- keep gateway bind addresses, access tokens, and API keys private;
|
|
255
|
+
- preserve human confirmation for sending, deleting, purchasing, and other high-impact actions.
|
|
256
|
+
|
|
257
|
+
See [User understanding and privacy](./docs/user-understanding.md), [channel security](https://xopcai.github.io/xopc/channels), and the [configuration reference](https://xopcai.github.io/xopc/configuration).
|
|
279
258
|
|
|
280
259
|
---
|
|
281
260
|
|
package/README.zh-CN.md
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
<h1 align="center"><a href="https://xopc.ai">xopc</a></h1>
|
|
7
7
|
|
|
8
8
|
<p align="center">
|
|
9
|
-
<strong
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
<strong>它住进你的电脑,然后慢慢开始懂你。</strong><br />
|
|
10
|
+
把一件重要的事交给 xopc。<br />
|
|
11
|
+
它会记住背景、找到下一步,并陪你持续推进。
|
|
12
12
|
</p>
|
|
13
13
|
|
|
14
14
|
<p align="center">
|
|
@@ -21,11 +21,9 @@
|
|
|
21
21
|
</p>
|
|
22
22
|
|
|
23
23
|
<p align="center">
|
|
24
|
-
<a href="https://xopc.ai"><strong
|
|
25
|
-
<a href="
|
|
26
|
-
<a href="https://xopcai.github.io/xopc/zh/"
|
|
27
|
-
<a href="#get-started">快速开始</a> ·
|
|
28
|
-
<a href="https://github.com/xopcai/xopc/releases">Releases</a>
|
|
24
|
+
<a href="https://xopc.ai/zh#download"><strong>下载桌面应用 →</strong></a> ·
|
|
25
|
+
<a href="#quick-start"><strong>30 秒终端安装</strong></a> ·
|
|
26
|
+
<a href="https://xopcai.github.io/xopc/zh/">查看文档</a>
|
|
29
27
|
</p>
|
|
30
28
|
|
|
31
29
|
<p align="center">
|
|
@@ -34,62 +32,56 @@
|
|
|
34
32
|
</a>
|
|
35
33
|
</p>
|
|
36
34
|
|
|
35
|
+
> 安装后可以直接告诉它:**“这周我最想推进的一件事是 ____。帮我找到最小但可信的下一步。”**
|
|
36
|
+
|
|
37
37
|
<details>
|
|
38
38
|
<summary><strong>目录</strong></summary>
|
|
39
39
|
|
|
40
|
-
- [
|
|
41
|
-
- [一套运行时,四类能力](#一套运行时四类能力)
|
|
40
|
+
- [为什么值得试试](#为什么值得试试)
|
|
42
41
|
- [快速开始](#快速开始)
|
|
43
|
-
- [为什么选 xopc](#为什么选-xopc)
|
|
44
|
-
- [和 Codex / Claude Code / QoderWork / WorkBuddy 的区别](#和-codex--claude-code--qoderwork--workbuddy-的区别)
|
|
45
42
|
- [在哪里聊](#在哪里聊)
|
|
46
43
|
- [内置频道](#内置频道)
|
|
47
44
|
- [扩展与技能](#扩展与技能)
|
|
48
45
|
- [配置示例](#配置示例)
|
|
49
46
|
- [文档](#文档)
|
|
50
47
|
- [常见问题](#常见问题)
|
|
51
|
-
- [
|
|
48
|
+
- [安全](#安全)
|
|
52
49
|
- [参与贡献](#参与贡献)
|
|
53
50
|
|
|
54
51
|
</details>
|
|
55
52
|
|
|
56
53
|
---
|
|
57
54
|
|
|
58
|
-
##
|
|
59
|
-
|
|
60
|
-
xopc 不是某个模型的套壳,也不只是另一个聊天界面。它是一套**自托管、本地优先的个人 AI 运行时**:负责让模型、Agent、数据和触发器在同一个环境里协作。
|
|
55
|
+
## 为什么值得试试
|
|
61
56
|
|
|
62
|
-
|
|
57
|
+
- **不用先整理好。** 直接丢给它文字、语音、文件、链接,或者一句模糊的想法。
|
|
58
|
+
- **不用反复解释。** 会话、Project、Task 和可纠正的用户理解会保留真正有用的背景。
|
|
59
|
+
- **不只给建议。** 它可以调用工具、运行工作流、验证结果,并在之后继续推进。
|
|
60
|
+
- **始终由你控制。** 本地优先,数据源单独授权,发送、删除等高影响操作需要确认。
|
|
63
61
|
|
|
64
|
-
|
|
62
|
+
**把目标变成持续推进的闭环。** xopc 把背景、下一步、结果证据和后续跟进留在一起,让重要的事情不会随着一次对话结束而消失。
|
|
65
63
|
|
|
66
|
-
|
|
67
|
-
| --- | --- | --- |
|
|
68
|
-
| **运行与所有权** | 自托管 gateway、本地状态目录、自有 API Key、云端/本地模型 | 数据、成本与可用性由你掌控 |
|
|
69
|
-
| **持续状态** | 持久会话、Task、Project、笔记、工作区与 Agent 记忆策略 | 工作可以恢复,不必每次从零解释 |
|
|
70
|
-
| **执行与主动性** | 工具、技能、子 Agent、可观测工作流、定时/手动/webhook 自动化 | 从“给建议”走向“执行、检查并继续” |
|
|
71
|
-
| **随处接入** | CLI、TUI、网页、桌面、iOS/Android、Telegram、微信、飞书/Lark、HTTP/SSE API | 在工作发生的地方使用同一个系统 |
|
|
64
|
+
xopc 可以在桌面、网页、终端、手机、Telegram、微信和飞书中使用;你也可以选择自己的云端模型或本地模型。
|
|
72
65
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
了解这些部件如何形成可恢复、可触发、可检查的闭环:[持续工作模型](https://xopcai.github.io/xopc/zh/concepts/loops)。
|
|
66
|
+
想了解完整的产品理念、信任模型和下一阶段方向,请阅读[产品理念](https://xopcai.github.io/xopc/zh/product)。
|
|
76
67
|
|
|
77
68
|
---
|
|
78
69
|
|
|
70
|
+
<a id="desktop-app"></a>
|
|
79
71
|
<a id="get-started"></a>
|
|
80
72
|
<a id="quick-start"></a>
|
|
81
73
|
|
|
82
74
|
## 快速开始
|
|
83
75
|
|
|
84
|
-
###
|
|
76
|
+
### 最省心的开始方式:桌面应用
|
|
85
77
|
|
|
86
|
-
|
|
78
|
+
对大多数用户来说,**桌面应用**是最容易上手的方式:安装应用,在界面里完成模型设置,然后直接在内置控制台聊天。它会自动启动本地 gateway。
|
|
87
79
|
|
|
88
|
-
1.
|
|
80
|
+
1. 打开 **[xopc.ai](https://xopc.ai/zh#download)**,选择 macOS、Windows 或 Linux。
|
|
89
81
|
2. 打开 xopc,完成模型设置。
|
|
90
82
|
3. 开始聊天。
|
|
91
83
|
|
|
92
|
-
详见 **[
|
|
84
|
+
详见 **[桌面应用](https://xopcai.github.io/xopc/zh/desktop-app)**:安装说明、首次使用指引和源码打包命令。
|
|
93
85
|
|
|
94
86
|
### 一键安装(30 秒启动 — 推荐)
|
|
95
87
|
|
|
@@ -161,35 +153,11 @@ Windows 源码安装:`& ([scriptblock]::Create((irm https://xopc.ai/install.ps
|
|
|
161
153
|
|
|
162
154
|
---
|
|
163
155
|
|
|
164
|
-
## 为什么选 xopc
|
|
165
|
-
|
|
166
|
-
- 🧠 **有状态,不只是一轮上下文** — 会话、Task、Project、笔记、工作区和运行记录都有明确归属,长期工作可以恢复。
|
|
167
|
-
- 🏠 **运行在你的环境里** — 配置与本地状态默认在 **`~/.xopc/`**;你决定如何部署、备份和远程访问。
|
|
168
|
-
- 🔑 **使用自己的密钥** — OpenAI、Anthropic、Google、DeepSeek、Ollama、LM Studio、vLLM 等 **20+** 厂商;云端和本地模型可混用。
|
|
169
|
-
- ⚙️ **能执行,也能主动触发** — 工具和工作流负责执行;自动化用定时、手动或 webhook 触发 Agent 与工作流。
|
|
170
|
-
- 📡 **同一个运行时,多种入口** — 桌面、终端、网页、手机与 IM 共享 Agent、会话和项目状态。
|
|
171
|
-
- 🧩 **能力边界可配置** — 每个 Agent 可以拥有独立的身份、模型角色、工作区、工具策略、技能、记忆与边界,并通过扩展继续增加能力。
|
|
172
|
-
|
|
173
|
-
## 和 Codex / Claude Code / QoderWork / WorkBuddy 的区别
|
|
174
|
-
|
|
175
|
-
xopc 不是又一个聊天 UI。它更像一个本地优先的系统层:让同一个助手持续维护 Task 与上下文、运行自动化,并在多个入口中持续可用。
|
|
176
|
-
|
|
177
|
-
| 产品 | 更擅长 | 为什么还需要 xopc |
|
|
178
|
-
| --- | --- | --- |
|
|
179
|
-
| **Codex** | 终端、IDE 和云端的软件开发任务 | xopc 不只服务一个代码仓库:可持续推进的 Task 与 Project、BYOK/本地模型、定时循环、Gateway API、桌面/网页/手机和 IM 都共享同一套本地状态。 |
|
|
180
|
-
| **Claude Code** | 项目级编码:读代码、改文件、跑测试、处理 git 工作流 | xopc 是面向个人长期工作的 AI 运行时:既能服务 coding,也能协调模型、频道、技能、工作流和自动化。 |
|
|
181
|
-
| **Qoder / QoderWork** | Agentic coding 平台与本地优先办公助手 | xopc 开源、可自托管、可改造,状态明确放在 **`~/.xopc/`**,支持自选 provider、自托管 gateway 和扩展机制。 |
|
|
182
|
-
| **WorkBuddy** | 办公交付物:报告、PPT、表格、调研、数据分析 | xopc 更适合想掌控运行环境的人:使用自己的 key,混用本地/云端模型,接入 IM,并把长期项目上下文留在本地。 |
|
|
183
|
-
|
|
184
|
-
如果你想要的是一个**自托管、长期运行、不绑定单一厂商/IDE/聊天入口/任务类型**的 AI 助手,xopc 更适合。完整对比见 **[产品对比](https://xopcai.github.io/xopc/zh/comparison)**。
|
|
185
|
-
|
|
186
|
-
---
|
|
187
|
-
|
|
188
156
|
## 在哪里聊
|
|
189
157
|
|
|
190
158
|
| 方式 | 怎么用 | 适合 |
|
|
191
159
|
| --- | --- | --- |
|
|
192
|
-
|
|
|
160
|
+
| **桌面应用** | [前往 xopc.ai 下载](https://xopc.ai/zh#download) | 最省心的开始方式:原生应用 + 内嵌 gateway 控制台 |
|
|
193
161
|
| **TUI** | `xopc` 或 `xopc tui`(远程:`xopc tui --url …`) | 全键盘、流式输出,最快终端路径 |
|
|
194
162
|
| **CLI** | `xopc agent -i` / `xopc agent -m "…"` | 脚本、最小终端环境 |
|
|
195
163
|
| **网页** | `xopc gateway` → 打开控制台地址 | 聊天、设置、日志 |
|
|
@@ -258,25 +226,35 @@ xopc extensions dev ./my-extension
|
|
|
258
226
|
|
|
259
227
|
## 常见问题
|
|
260
228
|
|
|
261
|
-
**xopc 是云服务吗?** —
|
|
229
|
+
**xopc 是云服务吗?** — 不是。xopc 运行在你的机器上,配置与状态默认保存在 **`~/.xopc/`**。你也可以自行部署 gateway 供其他设备连接。
|
|
230
|
+
|
|
231
|
+
**“本地优先”是否意味着数据绝不会离开电脑?** — 不一定。如果选择云端模型,与当前请求相关的对话和上下文会发送给对应模型服务商;需要完全留在本机的工作,请使用本地模型并检查数据源和工具权限。
|
|
232
|
+
|
|
233
|
+
**xopc 会自动记住关于我的一切吗?** — 不会。用户理解可以被查看、确认、纠正和删除;未经确认的推断不应该被当作权威事实。密码、密钥和其他高度敏感信息不应交给记忆系统。
|
|
262
234
|
|
|
263
235
|
**必须使用付费云端模型吗?** — 不必须。自带 API Key 或用本地模型(Ollama、LM Studio、vLLM)。
|
|
264
236
|
|
|
265
237
|
**最快怎么试用?** — [桌面端](#快速开始) 适合 GUI 用户,终端用户执行 `xopc onboard --quick && xopc`。
|
|
266
238
|
|
|
267
|
-
**它和普通聊天 UI 有什么区别?** — 聊天只是入口。xopc
|
|
239
|
+
**它和普通聊天 UI 有什么区别?** — 聊天只是入口。xopc 会把对你的理解、长期目标、项目、Task、决定和执行记录保留下来,让同一个助手可以跨越时间和入口继续工作。
|
|
268
240
|
|
|
269
241
|
**能在手机或即时通讯里用吗?** — 可以。用 [移动端 App](./apps/mobile-expo) 扫码连接,或配置 Telegram、微信、飞书/Lark。
|
|
270
242
|
|
|
271
243
|
**还有问题?** — 去 [GitHub Discussions](https://github.com/xopcai/xopc/discussions/categories/q-a) 提问。
|
|
272
244
|
|
|
273
|
-
<a id="desktop-app"></a>
|
|
274
|
-
|
|
275
245
|
---
|
|
276
246
|
|
|
277
247
|
## 安全
|
|
278
248
|
|
|
279
|
-
|
|
249
|
+
xopc 会接触个人上下文,也可能获得执行工具,因此能力边界与模型选择同样重要:
|
|
250
|
+
|
|
251
|
+
- 只启用当前需要的数据源、工具和频道;
|
|
252
|
+
- 使用云端模型前,确认可以发送给服务商的上下文范围;
|
|
253
|
+
- 来自即时通讯的消息一律视为**不可信输入**,私聊建议使用 **pairing(配对)** 或 **allowlist(白名单)**;
|
|
254
|
+
- 保持 gateway 监听地址、访问 token 和 API Key 私密;
|
|
255
|
+
- 对发送、删除、购买以及其他高影响动作保留人工确认。
|
|
256
|
+
|
|
257
|
+
详见[用户理解与隐私](./docs/user-understanding.md)、[频道安全](https://xopcai.github.io/xopc/zh/channels)和[配置参考](https://xopcai.github.io/xopc/zh/configuration)。
|
|
280
258
|
|
|
281
259
|
---
|
|
282
260
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "telegram",
|
|
3
3
|
"name": "Telegram Channel",
|
|
4
4
|
"description": "Bundled Telegram Bot channel (private workspace sources; ships inside @xopcai/xopc dist/)",
|
|
5
|
-
"version": "0.0.
|
|
5
|
+
"version": "0.0.214",
|
|
6
6
|
"kind": "channel",
|
|
7
7
|
"main": "src/index.js",
|
|
8
8
|
"channels": [
|
package/dist/gateway/static/root/assets/{activity-store-BzjFoSr0.js → activity-store-k-mNF_Dq.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e}from"./locale-store-
|
|
1
|
+
import{p as e}from"./locale-store-BIOMAhmR.js";var t=`xopc.activity-center.v1`,n=80,r=720*60*60*1e3;function i(e){return e===`error`?`failed`:e===`warning`?`attention`:`done`}function a(){if(!(typeof window>`u`))return window.location.hash.replace(/^#/,``)||`${window.location.pathname}${window.location.search}`||void 0}function o(){try{let e=globalThis.localStorage?.getItem(t);if(!e)return[];let i=JSON.parse(e);if(!Array.isArray(i.items))return[];let a=Date.now()-r,o=i.items.filter(e=>e&&typeof e.id==`string`&&typeof e.title==`string`).filter(e=>Number.isFinite(e.updatedAt)&&e.updatedAt>=a).slice(0,n);return o.length!==i.items.length&&s(o),o}catch{return[]}}function s(e){try{globalThis.localStorage?.setItem(t,JSON.stringify({items:e}))}catch{}}function c(e){return`${e.toString(36)}-${Math.random().toString(36).slice(2,8)}`}var l=e(e=>({items:o(),add:t=>e(e=>{let r=t.title.trim();if(!r)return e;let o=Date.now(),l=t.tone??`info`,u=t.dedupeKey?e.items.findIndex(e=>e.dedupeKey===t.dedupeKey):-1,d=[{id:u>=0?e.items[u].id:c(o),tone:l,status:t.status??i(l),title:r,message:t.message?.trim()||void 0,source:t.source?.trim()||void 0,href:t.href??a(),dedupeKey:t.dedupeKey,createdAt:u>=0?e.items[u].createdAt:o,updatedAt:o,read:t.read??!1,occurrences:u>=0?e.items[u].occurrences+1:1},...u>=0?e.items.filter((e,t)=>t!==u):e.items].slice(0,n);return s(d),{items:d}}),markAllRead:()=>e(e=>{let t=e.items.map(e=>({...e,read:!0}));return s(t),{items:t}}),remove:t=>e(e=>{let n=e.items.filter(e=>e.id!==t);return s(n),{items:n}}),clearFinished:()=>e(e=>{let t=e.items.filter(e=>e.status!==`done`);return s(t),{items:t}}),clear:()=>{s([]),e({items:[]})}}));function u(e){l.getState().add(e)}export{u as t};
|