@xopcai/xopc 0.0.483 → 0.0.485
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/dist/browser-ext/dist/assets/{auth-tm02ZZB8.js → auth-8EjgHa-n.js} +28 -6
- package/dist/browser-ext/dist/background.js +7 -3
- package/dist/browser-ext/dist/sidepanel.html +1 -1
- package/dist/browser-ext/dist/sidepanel.js +1 -1
- package/dist/browser-ext/manifest.json +1 -1
- package/dist/extensions/telegram/src/inbound-processor.js +4 -6
- package/dist/extensions/telegram/src/plugin.js +1 -1
- package/dist/extensions/telegram/xopc.extension.json +1 -1
- package/dist/extensions/weixin/src/messaging/process-message.js +3 -2
- package/dist/gateway/server/chunks.bin +1029 -1008
- package/dist/gateway/server/chunks.json +1 -1
- package/dist/gateway/static/root/assets/{apps-page-DO5uTFRI.js → apps-page-CH9wENBj.js} +1 -1
- package/dist/gateway/static/root/assets/{automations-page-C5rp_vOE.js → automations-page-uY_wmZY1.js} +1 -1
- package/dist/gateway/static/root/assets/{automations-workspace-BxN47gkP.js → automations-workspace-DyQq55Rh.js} +2 -2
- package/dist/gateway/static/root/assets/bell-BlYch9Vg.js +1 -0
- package/dist/gateway/static/root/assets/browser-notification-delivery-DjK3F0oR.js +1 -0
- package/dist/gateway/static/root/assets/capabilities-page-WCl7Fdce.js +2 -0
- package/dist/gateway/static/root/assets/{capabilities-settings-panel-B1o8BKxy.js → capabilities-settings-panel-BOwbZn9X.js} +1 -1
- package/dist/gateway/static/root/assets/{channels-_m_FjvAY.js → channels-DlnXbcOj.js} +1 -1
- package/dist/gateway/static/root/assets/chat-page-3fVhP77N.js +74 -0
- package/dist/gateway/static/root/assets/{chat-terminal-dock-BKnlzlXT.js → chat-terminal-dock-DE8j-K9d.js} +1 -1
- package/dist/gateway/static/root/assets/command-palette-api-UrqPvWR1.js +1 -0
- package/dist/gateway/static/root/assets/{connectors-page-CXNy8Y5R.js → connectors-page-BJm1jjct.js} +1 -1
- package/dist/gateway/static/root/assets/device-connections-panel-DE01vyK_.js +1 -0
- package/dist/gateway/static/root/assets/{extension-debug-page-BcjkhaY9.js → extension-debug-page-D3X7SlzG.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-iframe-host-RWjaucjJ.js → extension-iframe-host-CIAq7PSn.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-message-router-CzVgJn5c.js → extension-message-router-B2wbucV7.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-page-DC58VBdj.js → extension-page-qwY7r1_p.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-provider-BGrqW0_n.js → extension-provider-DFcRbTHI.js} +1 -1
- package/dist/gateway/static/root/assets/{extension-settings-page-DYbal3Iq.js → extension-settings-page-Cpnh9lcZ.js} +1 -1
- package/dist/gateway/static/root/assets/file-preview-surface-Da1xZiG6.js +1 -0
- package/dist/gateway/static/root/assets/gateway-realtime-CoIFB3im.js +1 -0
- package/dist/gateway/static/root/assets/{home-page-DnjsusRG.js → home-page-BusNFHe-.js} +3 -3
- package/dist/gateway/static/root/assets/index-790PGhZb.js +11 -0
- package/dist/gateway/static/root/assets/index-B_TGvH_k.css +1 -0
- package/dist/gateway/static/root/assets/{local-app-workbench-page-DH5c5Zhv.js → local-app-workbench-page-B9uSL1Mi.js} +1 -1
- package/dist/gateway/static/root/assets/{logs-page-D2olKpTB.js → logs-page-0hkRbcUR.js} +1 -1
- package/dist/gateway/static/root/assets/map-pin-BFRLhzQ9.js +1 -0
- package/dist/gateway/static/root/assets/note-detail-panel-Bwm_aehq.js +7 -0
- package/dist/gateway/static/root/assets/{notes-page-YQAAdasN.js → notes-page-DkZWV3Ds.js} +1 -1
- package/dist/gateway/static/root/assets/{page-context-capture-button-CDSH76wA.js → page-context-capture-button-BXSBeGms.js} +1 -1
- package/dist/gateway/static/root/assets/{personal-page-Bfgb5oQI.js → personal-page-cauym9hr.js} +1 -1
- package/dist/gateway/static/root/assets/{personal-profile-settings-BvjLssF9.js → personal-profile-settings-TcI0Zfwr.js} +1 -1
- package/dist/gateway/static/root/assets/{personal-settings-panel-Ffr7gcx4.js → personal-settings-panel-BJ46T7ZO.js} +1 -1
- package/dist/gateway/static/root/assets/{preview-runtime-pNF_b2oD.js → preview-runtime-C1U57WSM.js} +1 -1
- package/dist/gateway/static/root/assets/product-automation-feedback-GA_YPLkr.js +1 -0
- package/dist/gateway/static/root/assets/{project-detail-page-DDaG-n-H.js → project-detail-page-D9WKZe3z.js} +1 -1
- package/dist/gateway/static/root/assets/route-preload-DF8LOfKW.js +2 -0
- package/dist/gateway/static/root/assets/routine-panel-Bfbiz0IN.js +2 -0
- package/dist/gateway/static/root/assets/{session-manager-CVNlrzFB.js → session-manager-DUWeBdeG.js} +1 -1
- package/dist/gateway/static/root/assets/{settings-page-DzISa84O.js → settings-page-Cd9WZ-Ac.js} +1 -1
- package/dist/gateway/static/root/assets/share-2-CnIB9PsV.js +1 -0
- package/dist/gateway/static/root/assets/{share-link-dialog-D31jDQN9.js → share-link-dialog-2JjvWs0q.js} +1 -1
- package/dist/gateway/static/root/assets/{share-preview-page-Co6GUYV5.js → share-preview-page-Di5_ukH8.js} +1 -1
- package/dist/gateway/static/root/assets/{shares-settings-C-czUl49.js → shares-settings-CirGM67m.js} +1 -1
- package/dist/gateway/static/root/assets/{skills-page-gGU0LZ5e.js → skills-page-kL8E5zgi.js} +1 -1
- package/dist/gateway/static/root/assets/space-page-DlJB7GT1.js +2 -0
- package/dist/gateway/static/root/assets/system-settings-panel-0e2zfQLt.js +1 -0
- package/dist/gateway/static/root/assets/{task-detail-page-DWoXIgp2.js → task-detail-page-BFa0Px-B.js} +1 -1
- package/dist/gateway/static/root/assets/{task-header-title-DfyaQ58P.js → task-header-title-qzNctGl5.js} +1 -1
- package/dist/gateway/static/root/assets/{task-run-issue-notice-CljFUd21.js → task-run-issue-notice-CGrUMy0s.js} +1 -1
- package/dist/gateway/static/root/assets/use-composer-attachments-DJsIzJ1c.js +2 -0
- package/dist/gateway/static/root/assets/{use-file-preview-expanded-U5rH80Jf.js → use-file-preview-expanded-BFF2vXm5.js} +1 -1
- package/dist/gateway/static/root/assets/{use-personal-work-FI9Cgyq5.js → use-personal-work-B1DWeBnm.js} +1 -1
- package/dist/gateway/static/root/assets/{use-realtime-voice-BARxeNLd.js → use-realtime-voice-9OvLwHzk.js} +1 -1
- package/dist/gateway/static/root/assets/use-share-link-WKZLlEqr.js +1 -0
- package/dist/gateway/static/root/assets/{use-workspace-tree-NEeru2fw.js → use-workspace-tree-LCIT1H-D.js} +1 -1
- package/dist/gateway/static/root/assets/{voice-settings-bAmN4bUq.js → voice-settings-j8o-hGTm.js} +1 -1
- package/dist/gateway/static/root/assets/{workspace-api-C8-p66T-.js → workspace-api-BuNWyNvA.js} +2 -2
- package/dist/gateway/static/root/assets/workspace-file-preview-dialog-DwVWTehC.js +1 -0
- package/dist/gateway/static/root/index.html +27 -24
- package/dist/package.js +1 -1
- package/dist/packages/endpoint-tools-client/src/index.js +6 -3
- package/dist/packages/endpoint-tools-protocol/src/folders.js +5 -10
- package/dist/packages/endpoint-tools-protocol/src/index.js +50 -10
- package/dist/packages/endpoint-tools-protocol/src/location.js +1 -1
- package/dist/packages/endpoint-tools-protocol/src/personal.js +2 -2
- package/dist/src/agent/agent-manager.js +14 -14
- package/dist/src/agent/background-review/prompts.js +1 -1
- package/dist/src/agent/background-review/run-background-review.js +8 -8
- package/dist/src/agent/context/coordinator.js +1 -1
- package/dist/src/agent/context/deep-recall.js +4 -4
- package/dist/src/agent/context/execution-context.js +3 -3
- package/dist/src/agent/context/project-context.js +4 -4
- package/dist/src/agent/embedded/execution-tool-policy.js +1 -1
- package/dist/src/agent/embedded/run-for-session.js +4 -4
- package/dist/src/agent/embedded/run-turn.js +1 -1
- package/dist/src/agent/embedded/session-runner.js +3 -3
- package/dist/src/agent/external-tools/cliProvider.js +4 -4
- package/dist/src/agent/external-tools/composio-provider.js +3 -3
- package/dist/src/agent/external-tools/endpoint-provider.js +24 -14
- package/dist/src/agent/image/tool-model-config.js +1 -1
- package/dist/src/agent/inbound/attachment-pipeline.js +1 -1
- package/dist/src/agent/mcp/connection-drafts.d.ts +3 -1
- package/dist/src/agent/mcp/connection-drafts.js +25 -12
- package/dist/src/agent/mcp/connection-setup.js +15 -12
- package/dist/src/agent/mcp/managed-discovery.js +1 -1
- package/dist/src/agent/mcp/native-mcp.js +1 -0
- package/dist/src/agent/mcp/network-policy.d.ts +6 -0
- package/dist/src/agent/mcp/network-policy.js +49 -0
- package/dist/src/agent/mcp/tool-catalog.js +1 -1
- package/dist/src/agent/mcp/transport.js +15 -8
- package/dist/src/agent/messaging/message-router.js +2 -2
- package/dist/src/agent/orchestration/agent-orchestrator.js +1 -1
- package/dist/src/agent/orchestration/child-run-resume.js +1 -1
- package/dist/src/agent/prompt/response-language.js +1 -1
- package/dist/src/agent/prompt/service-prompt-builder.js +1 -1
- package/dist/src/agent/prompt/system-prompt-params.js +1 -1
- package/dist/src/agent/sandbox/exec-policy.js +1 -1
- package/dist/src/agent/service/direct-turn-helpers.js +9 -24
- package/dist/src/agent/service/process-direct-streaming.js +2 -2
- package/dist/src/agent/service.js +10 -10
- package/dist/src/agent/session/session-config-service.js +1 -1
- package/dist/src/agent/session/session-inspector.js +1 -1
- package/dist/src/agent/skills/index.js +1 -1
- package/dist/src/agent/skills/managed-store.js +1 -1
- package/dist/src/agent/skills/skill-manage-ops.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/tasks/task-judge-service.js +6 -6
- package/dist/src/agent/tool-manuals/computer.d.ts +1 -1
- package/dist/src/agent/tool-manuals/computer.js +2 -2
- package/dist/src/agent/tools/factory.js +10 -10
- package/dist/src/agent/tools/fetch-text.js +1 -1
- package/dist/src/agent/tools/index.js +3 -3
- package/dist/src/agent/tools/knowledge-memory-tool.js +1 -1
- package/dist/src/agent/tools/personal-attention-tool.js +1 -1
- package/dist/src/agent/tools/personal-memory-tool.js +5 -5
- package/dist/src/agent/tools/personal-read-tool.js +1 -1
- package/dist/src/agent/tools/personal-request-result-tool.js +1 -1
- package/dist/src/agent/tools/personal-request-tool.js +2 -2
- package/dist/src/agent/tools/personal-task-tool.js +4 -4
- package/dist/src/agent/tools/session-search-tool.js +2 -2
- package/dist/src/agent/tools/user-context-tool.js +2 -2
- package/dist/src/agent/tools/xopc-use-tool.js +5 -5
- package/dist/src/ai-assist/text-assist.js +1 -1
- package/dist/src/auth/oauth/xopc-cloud.js +1 -1
- package/dist/src/auth/sync-provider-auth.js +1 -1
- package/dist/src/automations/api/routes.js +2 -2
- package/dist/src/automations/capabilities/write.js +3 -3
- package/dist/src/automations/configuration-conversation.js +1 -1
- package/dist/src/automations/domain/index.js +1 -1
- package/dist/src/automations/draft/automation-draft-service.js +1 -1
- package/dist/src/automations/index.js +2 -2
- package/dist/src/automations/service/action-executor.js +2 -2
- package/dist/src/automations/service/automation-service.js +2 -2
- package/dist/src/browser/native-messaging-host.js +1 -1
- package/dist/src/capabilities/capability-catalog.js +3 -3
- package/dist/src/capabilities/runtime/dispatcher.js +1 -1
- package/dist/src/capabilities/runtime/product.js +2 -2
- package/dist/src/capabilities/store-connector.js +1 -1
- package/dist/src/chat-commands/agent-edit.js +1 -1
- package/dist/src/chat-commands/builtins/config.js +1 -1
- package/dist/src/chat-commands/command-parse.d.ts +1 -0
- package/dist/src/chat-commands/command-parse.js +8 -10
- package/dist/src/chat-commands/registry.d.ts +5 -0
- package/dist/src/chat-commands/registry.js +8 -0
- package/dist/src/cli/commands/agent.js +1 -1
- package/dist/src/cli/commands/agents.js +1 -1
- package/dist/src/cli/commands/connectors.js +1 -1
- package/dist/src/cli/commands/doctor/checks/gateway-health.js +1 -1
- package/dist/src/cli/commands/doctor/checks/provider-auth.js +1 -1
- package/dist/src/cli/commands/extension-agent-plugin.js +1 -1
- package/dist/src/cli/commands/init.js +1 -1
- package/dist/src/cli/commands/models.js +2 -2
- package/dist/src/cli/commands/onboard/model.js +2 -2
- package/dist/src/cli/commands/onboard.js +1 -1
- package/dist/src/cli/commands/project.js +1 -1
- package/dist/src/cli/commands/tunnel.js +1 -1
- package/dist/src/cli/extension-cli-register.js +1 -1
- package/dist/src/cli/utils/gateway-client.js +1 -1
- package/dist/src/cli/utils/init-workspace-core.js +2 -2
- package/dist/src/computer/endpoint-transport.d.ts +1 -1
- package/dist/src/computer/endpoint-transport.js +3 -2
- package/dist/src/computer/errors.js +2 -1
- package/dist/src/computer/model-adapter.js +1 -0
- package/dist/src/computer/runtime.d.ts +1 -0
- package/dist/src/computer/runtime.js +15 -3
- package/dist/src/config/config-file.js +1 -1
- package/dist/src/config/index.js +4 -4
- package/dist/src/config/loader.js +1 -1
- package/dist/src/config/models-json.js +2 -2
- package/dist/src/config/schema.d.ts +54 -4
- package/dist/src/config/schema.js +3 -1
- package/dist/src/connectors/connected-source-ingestion.js +2 -2
- package/dist/src/connectors/connected-source-understanding.js +2 -2
- package/dist/src/connectors/content-enrichment.js +1 -1
- package/dist/src/connectors/health.js +1 -1
- package/dist/src/endpoint-tools/device-capability-grants.d.ts +13 -0
- package/dist/src/endpoint-tools/device-capability-grants.js +71 -0
- package/dist/src/endpoint-tools/folder-connections.d.ts +3 -1
- package/dist/src/endpoint-tools/folder-connections.js +12 -8
- package/dist/src/endpoint-tools/invocation-service.d.ts +3 -0
- package/dist/src/endpoint-tools/invocation-service.js +8 -1
- package/dist/src/endpoint-tools/policy.js +1 -1
- package/dist/src/endpoint-tools/target-resolver.js +12 -7
- package/dist/src/endpoint-tools/task-targets.d.ts +3 -2
- package/dist/src/endpoint-tools/task-targets.js +9 -4
- package/dist/src/extensions/agent-plugins/auth.js +1 -1
- package/dist/src/extensions/agent-plugins/cli-authorization.js +1 -1
- package/dist/src/extensions/agent-plugins/credentials.js +1 -1
- package/dist/src/extensions/agent-plugins/setup.js +1 -1
- package/dist/src/extensions/agent-plugins/skill-catalog.js +3 -3
- package/dist/src/extensions/agent-plugins/source-http-fetch.js +1 -1
- package/dist/src/extensions/agent-plugins/user-config.js +1 -1
- package/dist/src/extensions/agent-plugins/validation.js +2 -2
- package/dist/src/extensions/install.js +1 -1
- package/dist/src/gateway/agent-reactions/reaction.js +3 -3
- package/dist/src/gateway/agents-admin.js +2 -2
- package/dist/src/gateway/file-path-classifier.js +1 -1
- package/dist/src/gateway/global-defaults-admin.js +1 -1
- package/dist/src/gateway/hono/app.js +1 -1
- package/dist/src/gateway/hono/lib/config-payload.js +2 -2
- package/dist/src/gateway/hono/middleware/auth.js +10 -0
- package/dist/src/gateway/hono/oauth-async.js +1 -1
- package/dist/src/gateway/hono/routes/agent-plugins.js +1 -1
- package/dist/src/gateway/hono/routes/auth-registry-extensions.js +1 -1
- package/dist/src/gateway/hono/routes/commands-skills.js +3 -3
- package/dist/src/gateway/hono/routes/config-patch/misc.js +1 -1
- package/dist/src/gateway/hono/routes/device-connections.js +105 -14
- package/dist/src/gateway/hono/routes/endpoint-compatibility.js +6 -0
- package/dist/src/gateway/hono/routes/lazy-bundles.js +1 -1
- package/dist/src/gateway/hono/routes/local-app-run-streams.js +1 -1
- package/dist/src/gateway/hono/routes/mcp.js +1 -1
- package/dist/src/gateway/hono/routes/media.js +18 -32
- package/dist/src/gateway/hono/routes/memory-learning.js +2 -2
- package/dist/src/gateway/hono/routes/mobile-capability-actions.js +4 -4
- package/dist/src/gateway/hono/routes/mobile-capability-panels.d.ts +67 -0
- package/dist/src/gateway/hono/routes/mobile-capability-panels.js +25 -140
- package/dist/src/gateway/hono/routes/mobile-mcp-setup.d.ts +9 -0
- package/dist/src/gateway/hono/routes/mobile-mcp-setup.js +929 -0
- package/dist/src/gateway/hono/routes/models.js +2 -2
- package/dist/src/gateway/hono/routes/music-generation.js +1 -1
- package/dist/src/gateway/hono/routes/notes.js +2 -2
- package/dist/src/gateway/hono/routes/phone-setup.js +3 -3
- package/dist/src/gateway/hono/routes/phone.js +2 -2
- package/dist/src/gateway/hono/routes/projects.js +5 -5
- package/dist/src/gateway/hono/routes/session-command-handler.js +1 -4
- package/dist/src/gateway/hono/routes/session-input-handler.js +2 -5
- package/dist/src/gateway/hono/routes/sessions.js +1 -1
- package/dist/src/gateway/hono/routes/shares.js +96 -12
- package/dist/src/gateway/hono/routes/space.js +6 -3
- package/dist/src/gateway/hono/routes/tasks.js +2 -2
- package/dist/src/gateway/hono/routes/tui.js +1 -1
- package/dist/src/gateway/hono/routes/user-model.js +5 -5
- package/dist/src/gateway/hono/routes/video-generation.js +1 -1
- package/dist/src/gateway/image-generation-setup.js +1 -1
- package/dist/src/gateway/media-access.js +1 -1
- package/dist/src/gateway/next-turn-suggestions/generator.js +16 -2
- package/dist/src/gateway/next-turn-suggestions/service.d.ts +2 -1
- package/dist/src/gateway/next-turn-suggestions/service.js +17 -5
- package/dist/src/gateway/next-turn-suggestions/snapshot.d.ts +11 -0
- package/dist/src/gateway/next-turn-suggestions/snapshot.js +31 -2
- package/dist/src/gateway/security/gateway-scopes.d.ts +1 -0
- package/dist/src/gateway/security/gateway-scopes.js +9 -1
- package/dist/src/gateway/security/media-playback-ticket.d.ts +3 -0
- package/dist/src/gateway/security/media-playback-ticket.js +41 -0
- package/dist/src/gateway/service/agent-runner.js +2 -2
- package/dist/src/gateway/service/config-coordinator.d.ts +14 -1
- package/dist/src/gateway/service/config-coordinator.js +1 -1
- package/dist/src/gateway/service/marketplace-service.js +2 -2
- package/dist/src/gateway/service/run-gateway-agent.js +1 -1
- package/dist/src/gateway/service/session-command-service.js +2 -2
- package/dist/src/gateway/service/session-input-coordinator.js +1 -1
- package/dist/src/gateway/service.js +25 -25
- package/dist/src/gateway/session-context-summary.js +1 -1
- package/dist/src/gateway/xopc-cloud-capability-setup.js +1 -1
- package/dist/src/home-intelligence/follow-ups.js +1 -1
- package/dist/src/home-intelligence/generator.js +2 -2
- package/dist/src/home-intelligence/observation.js +1 -1
- package/dist/src/home-intelligence/routines.js +2 -2
- package/dist/src/imports/importService.js +1 -1
- package/dist/src/imports/inventory.js +2 -2
- package/dist/src/imports/productImport.js +1 -1
- package/dist/src/knowledge-memory/repository.js +1 -1
- package/dist/src/knowledge-memory/usage-policy.js +1 -1
- package/dist/src/local-apps/automation-proposals.js +2 -2
- package/dist/src/local-apps/capabilities/automation-policy.js +1 -1
- package/dist/src/local-apps/capabilities/delegate.js +4 -4
- package/dist/src/local-apps/execution-authority.js +2 -2
- package/dist/src/local-apps/p1-services.js +3 -3
- package/dist/src/local-apps/preview-worker.js +1 -1
- package/dist/src/local-apps/service.js +2 -2
- package/dist/src/mcp/gateway-http-client.js +1 -1
- package/dist/src/media/generation-changes.d.ts +4 -0
- package/dist/src/media/generation-changes.js +37 -0
- package/dist/src/media-shared/http/file-response.d.ts +3 -0
- package/dist/src/media-shared/http/file-response.js +31 -0
- package/dist/src/memory-learning/choice-observations.js +6 -6
- package/dist/src/memory-learning/source-learning.js +4 -4
- package/dist/src/memory-learning/task-receipts.js +1 -1
- package/dist/src/memory-learning/work-capture.js +1 -1
- package/dist/src/memory-learning/work-review.js +2 -2
- package/dist/src/music-generation/artifact.d.ts +1 -1
- package/dist/src/music-generation/artifact.js +4 -18
- package/dist/src/music-generation/repository.js +12 -6
- package/dist/src/notes/service.js +1 -1
- package/dist/src/personal-agent/capability-service.js +1 -1
- package/dist/src/personal-agent/proactivity/routes.js +1 -1
- package/dist/src/personal-agent/proactivity/service.js +4 -4
- package/dist/src/personal-agent/prompt-context.js +4 -4
- package/dist/src/personal-agent/reply-composer.js +4 -4
- package/dist/src/personal-agent/request-delivery.js +1 -1
- package/dist/src/personal-agent/request-service.js +4 -4
- package/dist/src/personal-agent/result-reader.js +1 -1
- package/dist/src/personal-agent/service.js +1 -1
- package/dist/src/personal-agent/task-cancel.js +1 -1
- package/dist/src/phone/cloud-adb-connection.js +1 -1
- package/dist/src/projects/capabilities/write.js +2 -2
- package/dist/src/projects/index.js +2 -2
- package/dist/src/projects/project-service.js +2 -2
- package/dist/src/projects/workspace.js +1 -1
- package/dist/src/providers/model-catalog-persistence.js +1 -1
- package/dist/src/providers/model-registry.js +1 -1
- package/dist/src/realtime/compact-run-event.js +5 -1
- package/dist/src/session/compact-history.js +6 -3
- package/dist/src/session/history-recall-policy.js +2 -2
- package/dist/src/session/index.js +1 -1
- package/dist/src/session/reset-triggers.js +1 -1
- package/dist/src/session/session-title.js +1 -1
- package/dist/src/session/store.js +1 -1
- package/dist/src/share/share-landing.d.ts +2 -0
- package/dist/src/share/share-landing.js +4 -0
- package/dist/src/share/share-store.js +3 -2
- package/dist/src/share/share-thumbnail.js +1 -1
- package/dist/src/share/share-types.d.ts +4 -0
- package/dist/src/share/site-proxy.js +1 -1
- package/dist/src/space/repository.d.ts +9 -1
- package/dist/src/space/repository.js +75 -30
- package/dist/src/storage/sqlite/device-pairing-approval.js +1 -0
- package/dist/src/tasks/capabilities/read.js +4 -4
- package/dist/src/tasks/capabilities/relations.js +1 -1
- package/dist/src/tasks/capabilities/write.js +4 -4
- package/dist/src/tasks/home-query-service.js +1 -1
- package/dist/src/tasks/index.js +2 -2
- package/dist/src/tasks/task-allocation-service.js +4 -4
- package/dist/src/tasks/task-application-service.js +2 -2
- package/dist/src/tasks/task-contract-planner.js +1 -1
- package/dist/src/tasks/task-execution-capabilities.js +1 -1
- package/dist/src/tasks/task-handoff-service.js +1 -1
- package/dist/src/tasks/task-handoff.js +6 -6
- package/dist/src/tasks/task-json-acceptance.js +1 -1
- package/dist/src/tasks/task-main-update-decision-service.js +2 -2
- package/dist/src/tasks/task-main-update-delivery.js +1 -1
- package/dist/src/tasks/task-model-call.js +1 -1
- package/dist/src/tasks/task-research-result.js +2 -2
- package/dist/src/tasks/task-result-delivery-service.js +1 -1
- package/dist/src/tasks/task-retry-service.js +1 -1
- package/dist/src/tasks/task-run-coordinator.js +4 -4
- package/dist/src/tasks/task-run-dispatcher.js +1 -1
- package/dist/src/tui/backends/embedded-backend.js +6 -6
- package/dist/src/tui/tui-capabilities.js +2 -2
- package/dist/src/tui/tui-commands.d.ts +2 -1
- package/dist/src/tui/tui-commands.js +5 -5
- package/dist/src/tui/tui-management.js +6 -6
- package/dist/src/tui/tui-skills-autocomplete.js +1 -1
- package/dist/src/tui/tui-startup-resources.js +2 -2
- package/dist/src/tui/tui-submit.d.ts +1 -1
- package/dist/src/tui/tui-submit.js +2 -4
- package/dist/src/tui/tui.js +4 -4
- package/dist/src/user-context/access-policy.js +2 -2
- package/dist/src/user-model/bootstrap.js +1 -1
- package/dist/src/user-model/capture/executor.js +2 -2
- package/dist/src/user-model/index.js +2 -2
- package/dist/src/user-model/usage-policy.js +1 -1
- package/dist/src/video-generation/artifact.d.ts +1 -1
- package/dist/src/video-generation/artifact.js +4 -28
- package/dist/src/video-generation/drafts.js +2 -0
- package/dist/src/video-generation/repository.js +13 -6
- package/dist/src/voice/realtime/conversation-context.js +1 -1
- package/dist/src/voice/realtime/memory-context.js +4 -4
- package/dist/src/voice/realtime/persona-context.js +1 -1
- package/dist/src/voice/realtime/user-context.js +1 -1
- package/dist/src/work-discovery/service.js +6 -6
- package/package.json +1 -1
- package/dist/gateway/static/root/assets/browser-notification-delivery-DmE2FgGc.js +0 -1
- package/dist/gateway/static/root/assets/capabilities-page-BFYx0xu5.js +0 -2
- package/dist/gateway/static/root/assets/chat-page-D7l_0kTV.js +0 -74
- package/dist/gateway/static/root/assets/command-palette-api-YP0zV_Ol.js +0 -1
- package/dist/gateway/static/root/assets/device-connections-panel-XtEX1NcJ.js +0 -1
- package/dist/gateway/static/root/assets/file-preview-surface-BOfJPMux.js +0 -1
- package/dist/gateway/static/root/assets/gateway-realtime-jIH8iEGO.js +0 -1
- package/dist/gateway/static/root/assets/index-Cl5ueYDl.css +0 -1
- package/dist/gateway/static/root/assets/index-DYRzuQl_.js +0 -11
- package/dist/gateway/static/root/assets/map-pin-DNclV497.js +0 -1
- package/dist/gateway/static/root/assets/note-detail-panel-lU1-3mBw.js +0 -7
- package/dist/gateway/static/root/assets/product-automation-feedback-BxA2Ype-.js +0 -1
- package/dist/gateway/static/root/assets/route-preload-B-OXsVjy.js +0 -2
- package/dist/gateway/static/root/assets/routine-panel-BWLC11Ou.js +0 -2
- package/dist/gateway/static/root/assets/space-page-DhhqkNGh.js +0 -2
- package/dist/gateway/static/root/assets/system-settings-panel-Gu0rWNOv.js +0 -1
- package/dist/gateway/static/root/assets/use-composer-attachments-Dnrs5cP1.js +0 -2
- package/dist/gateway/static/root/assets/workspace-file-preview-dialog-BlNfLhnV.js +0 -1
|
@@ -6719,6 +6719,8 @@ strictObject({
|
|
|
6719
6719
|
}
|
|
6720
6720
|
});
|
|
6721
6721
|
|
|
6722
|
+
const PERSONAL_TOOL_NAMES = ["mobile.file.pick", "mobile.media.pick", "mobile.camera.capture", "mobile.contacts.pick", "mobile.calendar.query_events", "mobile.calendar.query_free_busy", "mobile.contacts.find_by_name", "mobile.calendar.create_event", "mobile.media.list_recent", "mobile.media.read_image", "mobile.media.add_to_album"];
|
|
6723
|
+
|
|
6722
6724
|
const DESKTOP_TERMINAL_OUTPUT_BYTES = 16384;
|
|
6723
6725
|
const DESKTOP_TERMINAL_INPUT_BYTES = 4096;
|
|
6724
6726
|
const sequence = number().int().positive().max(Number.MAX_SAFE_INTEGER);
|
|
@@ -6962,13 +6964,32 @@ const endpointTaskTargetRequestSchema = strictObject({
|
|
|
6962
6964
|
endpointId: identifierSchema
|
|
6963
6965
|
});
|
|
6964
6966
|
const mobileDeviceChatToolSchema = _enum([
|
|
6965
|
-
|
|
6966
|
-
"mobile.
|
|
6967
|
-
"mobile.
|
|
6968
|
-
"mobile.
|
|
6969
|
-
|
|
6967
|
+
...PERSONAL_TOOL_NAMES,
|
|
6968
|
+
"mobile.device.get_location",
|
|
6969
|
+
"mobile.device.get_state",
|
|
6970
|
+
"mobile.device.get_power"
|
|
6971
|
+
]);
|
|
6972
|
+
const desktopDeviceChatToolSchema = _enum([
|
|
6973
|
+
"desktop.device.get_state",
|
|
6974
|
+
"desktop.file.pick",
|
|
6975
|
+
"desktop.file.save",
|
|
6976
|
+
"desktop.notification.show",
|
|
6977
|
+
"desktop.clipboard.read",
|
|
6978
|
+
"desktop.clipboard.write",
|
|
6979
|
+
"desktop.app.open_external",
|
|
6980
|
+
"desktop.computer.control"
|
|
6970
6981
|
]);
|
|
6971
|
-
|
|
6982
|
+
const deviceChatToolSchema = union([mobileDeviceChatToolSchema, desktopDeviceChatToolSchema]);
|
|
6983
|
+
endpointTaskTargetRequestSchema.extend({ toolName: deviceChatToolSchema.optional() });
|
|
6984
|
+
strictObject({ toolName: mobileDeviceChatToolSchema, allowed: boolean() });
|
|
6985
|
+
endpointTaskTargetRequestSchema.extend({
|
|
6986
|
+
toolName: desktopDeviceChatToolSchema,
|
|
6987
|
+
allowed: boolean()
|
|
6988
|
+
});
|
|
6989
|
+
strictObject({
|
|
6990
|
+
revision: number().int().nonnegative().max(Number.MAX_SAFE_INTEGER),
|
|
6991
|
+
allowed: array(desktopDeviceChatToolSchema).max(desktopDeviceChatToolSchema.options.length)
|
|
6992
|
+
});
|
|
6972
6993
|
const backgroundCapabilitySchema = string().regex(/^[a-z][a-z0-9_]*(?:\.[a-z][a-z0-9_]*)+$/).max(120);
|
|
6973
6994
|
strictObject({
|
|
6974
6995
|
jobId: uuid(),
|
|
@@ -7026,6 +7047,7 @@ const toolInvokePayloadSchema = strictObject({
|
|
|
7026
7047
|
arguments: jsonObjectSchema,
|
|
7027
7048
|
descriptorRevision: string().min(1).max(128),
|
|
7028
7049
|
confirmationRequired: boolean(),
|
|
7050
|
+
gatewayCapabilityAuthorized: literal(true).optional(),
|
|
7029
7051
|
deadlineAt: timestampSchema$1,
|
|
7030
7052
|
execution: desktopOperationIntentSchema.optional(),
|
|
7031
7053
|
operationQuery: desktopOperationIntentSchema.optional(),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { y as number, Q as string, O as strictObject, f as boolean, c as array, _ as _enum, w as literal, j as capabilityProviderSchema, D as providerEndpointDescriptor, d as assertProviderSchemaBudget, C as providerCatalogSchema, r as endpointToolContentSchema, E as ENDPOINT_PROTOCOL_VERSION, i as canonicalJson, T as TAB_BINDING_PREFIX, k as captureContextMenuSelection, P as PENDING_CONTEXT_KEY, S as t, t as gatewayFetch, G as readProfile, v as isAutoConnectEnabled, e as autoConnectLocalGateway, I as registerBrowserEndpoint, u as getAccessProfile, a as RealtimeClient, m as createBrowserEndpointHello, R as REALTIME_PROTOCOL_VERSION, n as createBrowserRequestProof } from './assets/auth-
|
|
1
|
+
import { y as number, Q as string, O as strictObject, f as boolean, c as array, _ as _enum, w as literal, j as capabilityProviderSchema, D as providerEndpointDescriptor, d as assertProviderSchemaBudget, C as providerCatalogSchema, r as endpointToolContentSchema, E as ENDPOINT_PROTOCOL_VERSION, i as canonicalJson, T as TAB_BINDING_PREFIX, k as captureContextMenuSelection, P as PENDING_CONTEXT_KEY, S as t, t as gatewayFetch, G as readProfile, v as isAutoConnectEnabled, e as autoConnectLocalGateway, I as registerBrowserEndpoint, u as getAccessProfile, a as RealtimeClient, m as createBrowserEndpointHello, R as REALTIME_PROTOCOL_VERSION, n as createBrowserRequestProof } from './assets/auth-8EjgHa-n.js';
|
|
2
2
|
|
|
3
3
|
async function browserDom(input) {
|
|
4
4
|
const root = globalThis;
|
|
@@ -818,6 +818,7 @@ class EndpointToolHostController {
|
|
|
818
818
|
arguments: args,
|
|
819
819
|
descriptorRevision,
|
|
820
820
|
confirmationRequired,
|
|
821
|
+
gatewayCapabilityAuthorized,
|
|
821
822
|
deadlineAt,
|
|
822
823
|
uploadGrant,
|
|
823
824
|
providerExecution,
|
|
@@ -877,11 +878,14 @@ class EndpointToolHostController {
|
|
|
877
878
|
descriptor,
|
|
878
879
|
arguments: args,
|
|
879
880
|
deadlineAt,
|
|
880
|
-
signal: invocation.controller.signal
|
|
881
|
+
signal: invocation.controller.signal,
|
|
882
|
+
...gatewayCapabilityAuthorized && { gatewayCapabilityAuthorized }
|
|
881
883
|
};
|
|
882
884
|
await this.options.authorize?.(authorizationRequest);
|
|
883
885
|
this.assertExecutable(invocationId, invocation, descriptor, deadlineAt);
|
|
884
|
-
|
|
886
|
+
const granted = localConfirmationRequired && await this.options.hasCapabilityGrant?.(authorizationRequest);
|
|
887
|
+
this.assertExecutable(invocationId, invocation, descriptor, deadlineAt);
|
|
888
|
+
if (localConfirmationRequired && !granted) {
|
|
885
889
|
this.send("tool.progress", { invocationId, message: "Waiting for approval" });
|
|
886
890
|
const allowed = await this.options.confirm(authorizationRequest);
|
|
887
891
|
this.assertExecutable(invocationId, invocation, descriptor, deadlineAt);
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>xopc</title>
|
|
7
7
|
<script type="module" crossorigin src="./sidepanel.js"></script>
|
|
8
|
-
<link rel="modulepreload" crossorigin href="./assets/auth-
|
|
8
|
+
<link rel="modulepreload" crossorigin href="./assets/auth-8EjgHa-n.js">
|
|
9
9
|
<link rel="stylesheet" crossorigin href="./assets/sidepanel-lpBGVKwZ.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as strictObject, c as array, U as union, w as literal, Q as string, q as discriminatedUnion, y as number, f as boolean, _ as _enum, z as object, g as browserPageContextsInputSchema, H as record$1, V as unknown, S as t, M as MAX_BROWSER_CONTEXTS_PER_TURN, t as gatewayFetch, s as extensionLocale, A as openDatabase, a as RealtimeClient, R as REALTIME_PROTOCOL_VERSION, b as activeTabId, o as currentTabDescriptor, T as TAB_BINDING_PREFIX, u as getAccessProfile, G as readProfile, K as runWithTabSiteAccess, P as PENDING_CONTEXT_KEY, l as captureTabWithPermission, B as pairGateway, N as setAutoConnectEnabled, F as readPendingBrowserPairing, p as discoverLocalGateway, L as saveExtensionLocalePreference, J as revokeAndForgetProfile, h as cancelPendingBrowserPairing, x as loadExtensionLocalePreference } from './assets/auth-
|
|
1
|
+
import { O as strictObject, c as array, U as union, w as literal, Q as string, q as discriminatedUnion, y as number, f as boolean, _ as _enum, z as object, g as browserPageContextsInputSchema, H as record$1, V as unknown, S as t, M as MAX_BROWSER_CONTEXTS_PER_TURN, t as gatewayFetch, s as extensionLocale, A as openDatabase, a as RealtimeClient, R as REALTIME_PROTOCOL_VERSION, b as activeTabId, o as currentTabDescriptor, T as TAB_BINDING_PREFIX, u as getAccessProfile, G as readProfile, K as runWithTabSiteAccess, P as PENDING_CONTEXT_KEY, l as captureTabWithPermission, B as pairGateway, N as setAutoConnectEnabled, F as readPendingBrowserPairing, p as discoverLocalGateway, L as saveExtensionLocalePreference, J as revokeAndForgetProfile, h as cancelPendingBrowserPairing, x as loadExtensionLocalePreference } from './assets/auth-8EjgHa-n.js';
|
|
2
2
|
|
|
3
3
|
const id = string().regex(/^[A-Za-z0-9_-]{1,64}$/);
|
|
4
4
|
const choice = strictObject({ id, label: string().trim().min(1).max(120), description: string().max(500).optional() });
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"minimum_chrome_version": "120",
|
|
4
4
|
"default_locale": "en",
|
|
5
5
|
"name": "__MSG_appName__",
|
|
6
|
-
"version": "0.0.
|
|
6
|
+
"version": "0.0.485",
|
|
7
7
|
"description": "__MSG_appDescription__",
|
|
8
8
|
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqnpr4vpLC/nmvy+wiOWk3SWlp2nEZkFijfk8ivGw7StNZgCK90nOMvwhdEtlkk3GOWDvdVnq8HxCsM3UNQ8FnGUyerpH1FJXqXuradxeHf8ZxFjiQU/mIWfnKbUuONWQORon3/pigyoXoK/VUXgg0Wbm/rbVwsS0bv+25R6m+mZgBspOLeKuoH7ivhL+48WV6POtMBsFPZweY26477EM7ukh+56Ff5ENevB8ymxBBn7qK5ZoeZd2a23U8ioX5TsHfe6fnrjitPWjIxD8G0NoKQxcaa/Mo+xs+T6UiLKxP0wjz5bm7jB5H+CXtkRJqzBWUB0h+RSLJckzZfA8BAJrRwIDAQAB",
|
|
9
9
|
"permissions": [
|
|
@@ -2,7 +2,7 @@ import { createLogger } from "../../../src/utils/logger/index.js";
|
|
|
2
2
|
import { init_logger } from "../../../src/utils/logger.js";
|
|
3
3
|
import { resolveRoute } from "../../../src/routing/resolve-route.js";
|
|
4
4
|
import { checkMentionInTranscription } from "../../../src/voice/stt/mention.js";
|
|
5
|
-
import {
|
|
5
|
+
import { commandRegistry } from "../../../src/chat-commands/registry.js";
|
|
6
6
|
import { answerClarificationTextFromChannel } from "../../../src/gateway/clarify-runtime.js";
|
|
7
7
|
import { telegramInboundScope } from "./update-offset-store.js";
|
|
8
8
|
import { buildTelegramUpdateKey, telegramUpdateDedupe } from "./dedupe.js";
|
|
@@ -15,9 +15,7 @@ init_logger();
|
|
|
15
15
|
const log = createLogger("TelegramInboundProcessor");
|
|
16
16
|
/** Must bypass the per-chat queue so /abort can cancel an in-flight turn. */
|
|
17
17
|
function isAbortSlashCommand(text) {
|
|
18
|
-
const
|
|
19
|
-
if (!parsed) return false;
|
|
20
|
-
const cmd = normalizeTelegramCommandName(parsed.command);
|
|
18
|
+
const cmd = commandRegistry.parseRegisteredSlashCommand(text)?.command;
|
|
21
19
|
return cmd === "abort" || cmd === "stop" || cmd === "cancel";
|
|
22
20
|
}
|
|
23
21
|
/** Maximum voice message duration for STT in seconds */
|
|
@@ -327,11 +325,11 @@ function createInboundProcessor(deps) {
|
|
|
327
325
|
attachments = mediaResult.attachments;
|
|
328
326
|
transcribedText = mediaResult.transcribedText;
|
|
329
327
|
}
|
|
330
|
-
const captionIsCommand =
|
|
328
|
+
const captionIsCommand = Boolean(commandRegistry.parseRegisteredSlashCommand(cleanContent));
|
|
331
329
|
let finalContent = transcribedText ? captionIsCommand && cleanContent ? cleanContent.trim() + (transcribedText ? `\n\n${transcribedText}` : "") : transcribedText + (cleanContent ? "\n\n" + cleanContent : "") : cleanContent;
|
|
332
330
|
const stickerItem = media.find((m) => m.type === "sticker");
|
|
333
331
|
if (stickerItem && !finalContent.trim()) finalContent = stickerItem.emoji?.trim() ? `[Sticker ${stickerItem.emoji}]` : "[Sticker]";
|
|
334
|
-
const isCommand =
|
|
332
|
+
const isCommand = captionIsCommand || Boolean(transcribedText && commandRegistry.parseRegisteredSlashCommand(finalContent));
|
|
335
333
|
log.info({
|
|
336
334
|
accountId,
|
|
337
335
|
chatId,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { createLogger } from "../../../src/utils/logger/index.js";
|
|
2
2
|
import { init_logger } from "../../../src/utils/logger.js";
|
|
3
3
|
import { TelegramConfigSchema, init_config_schema } from "./config-schema.js";
|
|
4
|
+
import { isSTTAvailable } from "../../../src/voice/stt/availability.js";
|
|
4
5
|
import { resolveStandardPairingPath } from "../../../src/channels/pairing/paths.js";
|
|
5
6
|
import { issuePairingChallenge } from "../../../src/channels/pairing/pairing-challenge.js";
|
|
6
7
|
import { createStandardPairingAdapter } from "../../../src/channels/pairing/pairing-store-adapter.js";
|
|
7
|
-
import { isSTTAvailable } from "../../../src/voice/stt/availability.js";
|
|
8
8
|
import { registerChannelExecApprovalHandler } from "../../../src/channels/exec-approval-runtime.js";
|
|
9
9
|
import { generateConversationId } from "../../../src/chat-commands/session-key.js";
|
|
10
10
|
import { handleChannelConnectionProbe } from "../../../src/channels/connection-probe.js";
|
|
@@ -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.485",
|
|
6
6
|
"kind": "channel",
|
|
7
7
|
"main": "src/index.js",
|
|
8
8
|
"channels": [
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { persistInboundAttachments } from "../../../../src/channels/attachments/inbound-persist.js";
|
|
1
2
|
import { resolveWeixinRootDir } from "../storage/state-dir.js";
|
|
2
3
|
import { logger } from "../util/logger.js";
|
|
3
4
|
import { resolveWeixinPairingPath } from "../../../../src/channels/pairing/paths.js";
|
|
4
5
|
import { issuePairingChallenge } from "../../../../src/channels/pairing/pairing-challenge.js";
|
|
5
6
|
import { evaluateAccess } from "../../../../src/channels/security.js";
|
|
6
|
-
import {
|
|
7
|
+
import { commandRegistry } from "../../../../src/chat-commands/registry.js";
|
|
7
8
|
import { handleChannelConnectionProbe } from "../../../../src/channels/connection-probe.js";
|
|
8
9
|
import { MessageItemType } from "../api/types.js";
|
|
9
10
|
import { isMediaItem, setContextToken, weixinMessageToMsgContext } from "./inbound.js";
|
|
@@ -186,7 +187,7 @@ async function processWeixinInboundMessage(full, deps) {
|
|
|
186
187
|
conversationId,
|
|
187
188
|
messageId: full.message_id != null ? String(full.message_id) : void 0,
|
|
188
189
|
isGroup: false,
|
|
189
|
-
isCommand:
|
|
190
|
+
isCommand: Boolean(commandRegistry.parseRegisteredSlashCommand(body)),
|
|
190
191
|
contextToken: ctx.context_token
|
|
191
192
|
},
|
|
192
193
|
attachments: attachments.length ? attachments : void 0
|